From 23af618596c4e8c288fa863db1a9fb07fd81b84e Mon Sep 17 00:00:00 2001 From: autosubmit Date: Tue, 8 Apr 2025 18:47:36 +0800 Subject: [PATCH] Auto Submit --- index.html | 2 +- ...__OnlineLearning__index.1664c93f.chunk.css | 1 + ...s__OnlineLearning__index.6ff2ef26.async.js | 236 ------------------ ...s__OnlineLearning__index.9bb09467.async.js | 236 ++++++++++++++++++ ...__OnlineLearning__index.af0ed6a3.chunk.css | 1 - umi.c36feec1.js => umi.e3baea60.js | 4 +- 6 files changed, 240 insertions(+), 240 deletions(-) create mode 100644 p__Classrooms__Lists__OnlineLearning__index.1664c93f.chunk.css delete mode 100644 p__Classrooms__Lists__OnlineLearning__index.6ff2ef26.async.js create mode 100644 p__Classrooms__Lists__OnlineLearning__index.9bb09467.async.js delete mode 100644 p__Classrooms__Lists__OnlineLearning__index.af0ed6a3.chunk.css rename umi.c36feec1.js => umi.e3baea60.js (99%) diff --git a/index.html b/index.html index c088636376..5691de1d6f 100644 --- a/index.html +++ b/index.html @@ -172,7 +172,7 @@ display: block !important; } - + \ No newline at end of file diff --git a/p__Classrooms__Lists__OnlineLearning__index.1664c93f.chunk.css b/p__Classrooms__Lists__OnlineLearning__index.1664c93f.chunk.css new file mode 100644 index 0000000000..532847713a --- /dev/null +++ b/p__Classrooms__Lists__OnlineLearning__index.1664c93f.chunk.css @@ -0,0 +1 @@ +.flex_box_center___Eli3_{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___b9mMZ{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___HDlqC{align-items:center;box-align:center}.flex_box_center_end___wxSjo{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___riQIC{flex-direction:column;box-orient:block-axis}.icons___fU5ZJ{color:#0152d9;width:18px;height:18px;text-align:center;line-height:18px;border-radius:18px;display:inline-block}.icons___fU5ZJ img{width:14px}.shixuns___HhH4T [class~=ant-row]{min-height:40px;padding:0 20px;cursor:pointer}.shixuns___HhH4T [class~=ant-row] aside{display:none}.shixuns___HhH4T [class~=ant-row]:hover{background-color:#f2f8ff}.shixuns___HhH4T [class~=ant-row]:hover aside{display:inline}.shixuns___HhH4T [class~=ant-row]:hover [class~=experiment-number]{display:none}.buttons___Xd62N{text-align:right;padding-bottom:30px;padding-right:20px}.buttons___Xd62N button{width:130px;text-align:center;margin-left:25px}.addStage___Ap4gr{margin-top:10px;text-align:center;height:90px;line-height:90px;background-color:#fff;cursor:pointer;color:#999}.color4CA___dMAG4{color:#0152d9}.color204___ySVKY{color:#ccc}.completed___pNt1x{font-size:12px;padding:2px;color:#07b318;border:1px solid #07b318;margin-left:5px}.actionTabs___x3cPl{height:76px;display:flex;align-items:center;justify-content:flex-start;font-size:16px;background-color:#fff;border-bottom:1px solid #f5f5f5}.actionTabs___x3cPl .tab___BFnIn{margin:0 20px 0 30px}.actionTabs___x3cPl .tab___BFnIn .s1___O6K2P{cursor:pointer}.actionTabs___x3cPl .tabActive___v3_qF{margin:0 20px 0 30px;position:relative}.actionTabs___x3cPl .tabActive___v3_qF .s1___O6K2P{cursor:pointer}.actionTabs___x3cPl .tabActive___v3_qF .s1___O6K2P{color:#0152d9}.actionTabs___x3cPl .tabActive___v3_qF:after{content:"";height:3px;background-color:#0152d9;position:absolute;left:0;bottom:-25px;z-index:1;width:100%}.total___oZdqK{padding:20px 0 0 30px;font-size:14px;color:#333;background-color:#fff}.total___oZdqK>span{color:#0152d9;margin:0 4px}.introContent___dSvDD{text-align:justify}.introContentMaxHeight___NxSzO{max-height:110px;overflow:hidden}.flex_box_center___bI3gK{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___ZyemH{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___vOG6y{align-items:center;box-align:center}.flex_box_center_end___g0YQU{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___a7oLH{flex-direction:column;box-orient:block-axis}.wrp___wYwtQ{background:#fff;box-shadow:0 4px 8px #0000000a;padding-top:10px}.drawer___UVA9h [class=ant-drawer-content]{background:#f5f5f5!important}.menu___s5Hi1{padding:0;margin:15px 0;position:relative;z-index:2}.menu___s5Hi1:hover{z-index:3}.menu___s5Hi1>li{display:inline-block;position:relative;margin-right:10px;font-size:14px;font-weight:600;cursor:pointer;height:32px;line-height:32px;border-radius:32px;padding:0 18px}.menu___s5Hi1>li a{color:#4b4b4b}.menu___s5Hi1>li strong{cursor:pointer;font-size:14px}.menu___s5Hi1>li:hover{color:#fff;background:#0152d9}.actived___GavBb{background:#0152d9;color:#fff}.actived2___XNyxe{color:#0152d9!important}.listItem___OyHb7{padding:25px 30px;display:box;display:flex;background:#fff;margin-top:20px;cursor:pointer}.listItem___OyHb7>div{flex:1 1}.listItem___OyHb7:hover{box-shadow:0 0 10px #ccc}.info___UU9rA{margin-left:20px}.info___UU9rA p{margin-top:18px}.title___CmRLc{display:box;display:flex;align-items:center;box-align:center}.title___CmRLc strong{color:#333}.titleLeft___xWCXz{flex:1 1}.titleRight___PeYdC{margin-top:18px}.titleRight___PeYdC a{margin-right:20px;font-weight:700}.search___CzPOL{width:600px;margin:30px 0}.search___CzPOL input,.search___CzPOL [class=ant-input-group-addon] button{height:50px!important;line-height:50px!important;padding:0 30px!important;font-size:16px!important}.description___TEI_C{-webkit-box-orient:vertical;display:-webkit-box;-webkit-line-clamp:2;overflow:hidden}.menuCourse___Z8Z9h{color:#999}.menuCourse___Z8Z9h ul,.menuCourse___Z8Z9h li{margin:0;padding:0;list-style:none}.menuCourse___Z8Z9h li{display:inline-block;margin-right:30px}.wrap___UWG0f{background-color:#fff;padding:30px;border-bottom:1px solid #eeeeee}.name___LIQSC{height:40px;text-align:center;font-size:19px;color:#212121}.button___CSggN{height:40px}.progress___AQo_Y{width:400px}.havaLearn___fq9Cb{height:40px;font-size:19px;color:#212121}.modal___EKlPQ [class~=ant-modal-body]{padding-left:60px;padding-right:60px}.uploadWrap___YGxav{display:flex;flex-flow:row;align-items:center}.upload___ouqG9{display:flex;align-items:center;justify-content:center;margin-right:10px;height:31px;width:120px;padding:3px 11px;font-size:14px;color:#fff;background:#0152d9;border-color:#0152d9;text-align:center;cursor:pointer;border-radius:2px}.uploadLink___nuif6{color:#0152d9;background:#fff;border:1px solid #0152d9}.fileProgress___tf4qy{display:flex;flex-direction:row;justify-content:space-between;align-items:center}.fileCancel___Bh3Wh{cursor:pointer;font-size:14px;color:red}.videoName___Ra0NM{color:#0152d9}.contentItem___zMdIq [class~=ant-form-item-label] label:before{display:inline-block;margin-right:4px;color:#ff4d4f;font-size:12px;font-family:SimSun,sans-serif;line-height:1;content:"*"}.tagsList-content___sDVph{margin-left:78px}.img___BgL9D{position:relative;width:400px;height:auto;background-color:#f4f3f4;display:flex;align-items:center;justify-content:center}.img___BgL9D>div{position:absolute;right:-6px;top:-6px;cursor:pointer;background-color:#fff;width:16px;height:16px;border-radius:50%}.upload___jpwPD{display:inline-block}.upload_button{width:108px;height:40px!important;background:#f6f7f9 linear-gradient(180deg,#fff,#f6f7f9)!important;box-shadow:0 2px 4px #e0dfe1,inset 0 1px 3px #ffffff80!important;border-radius:2px;border:1px solid #BACFFE!important;font-size:14px;font-family:PingFangSC-Regular,PingFang SC;font-weight:400;color:#3061d0!important;display:inline-block;text-align:center;align-items:center;align-content:center}.upload_button .aBtn_img{width:14px;height:14px;margin-top:-3px;margin-right:8px}.upload_button:hover{width:108px;height:40px!important;background:#f6f7f9 linear-gradient(180deg,#fff,#f6f7f9);box-shadow:0 2px 4px #e0dfe1,inset 0 1px 3px #ffffff80;border-radius:2px;border:1px solid #3061D0!important;font-size:14px;font-family:PingFangSC-Regular,PingFang SC;font-weight:400;color:#3061d0!important}.upload_button:active{width:108px;height:40px!important;background:#f6f7f9 linear-gradient(180deg,#fff,#f6f7f9);box-shadow:0 2px 4px #e0dfe1,inset 0 1px 3px #ffffff80;border-radius:2px;border:1px solid #3061D0!important;font-size:14px;font-family:PingFangSC-Regular,PingFang SC;font-weight:400;color:#3061d0}.upload_text{width:129px;height:20px;font-size:14px;font-family:PingFangSC-Regular,PingFang SC;font-weight:400;color:#5f6367;line-height:20px;margin-left:16px}.tree___SHCwq [class~=ant-tree-switcher],.tree___SHCwq [class~=ant-tree-draggable-icon]{display:none}.tree___SHCwq [class~=ant-tree-indent]{line-height:0;height:0}.tree___SHCwq [class~=ant-tree-node-content-wrapper]{padding:0!important;min-height:0!important}.tree___SHCwq [class~=drag-over] *{color:#fff}.tree___SHCwq [class~=ant-tree-treenode]:empty{display:none}.tree___SHCwq [class~=ant-row]{min-height:40px;padding:0 20px;cursor:pointer}.tree___SHCwq [class~=ant-row] aside{display:none}.tree___SHCwq [class~=ant-row]:hover{background-color:#f2f8ff}.tree___SHCwq [class~=ant-row]:hover aside{display:inline}.tree___SHCwq [class~=ant-row]:hover [class~=experiment-number]{display:none}.tree___SHCwq .learn___buOG9{display:inline-flex;align-items:center}.tree___SHCwq .learn___buOG9 .name___dwQwe{display:inline-block;max-width:400px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tree___SHCwq .learn___buOG9 .sign___aQzc5{display:inline-block;width:54px;height:18px;background:#f8b023;border-radius:8px;font-size:12px;color:#fff;line-height:18px;margin-left:5px;text-align:center}.pagination-container{padding:12px 0 0}.discuss-warp-container .CodeMirror-scroll,.discuss-warp-container .CodeMirror-sizer,.discuss-warp-container .CodeMirror-gutter,.discuss-warp-container .CodeMirror-gutters,.discuss-warp-container .CodeMirror-linenumber{box-sizing:content-box!important}.ldsRing___mpBZC{position:relative;width:40px;height:40px;margin:0 auto}.idsRingWrapper___Of9_n{position:absolute;z-index:1000;width:100%;height:100%;left:0;top:0;display:flex;flex-flow:column nowrap;justify-content:center}.idsRingWrapper___Of9_n p{text-align:center;margin-top:12px}.ldsRing___mpBZC div{box-sizing:border-box;display:block;position:absolute;width:32px;height:32px;margin:4px;border:4px solid #1976d2;border-radius:50%;animation:ldsring___o0w2t 1.2s cubic-bezier(.5,0,.5,1) infinite;border-color:#1976d2 transparent transparent transparent}.ldsRing___mpBZC div:nth-child(1){animation-delay:-.45s}.ldsRing___mpBZC div:nth-child(2){animation-delay:-.3s}.ldsRing___mpBZC div:nth-child(3){animation-delay:-.15s}@keyframes ldsring___o0w2t{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.CodeMirror{font-family:monospace;height:300px;color:#000;direction:ltr}.CodeMirror-scroll{overflow:scroll!important;margin-bottom:-50px;margin-right:-50px;padding-bottom:50px;height:100%;outline:none;position:relative}.CodeMirror-sizer{position:relative;border-right:50px solid transparent}.CodeMirror-vscrollbar,.CodeMirror-hscrollbar,.CodeMirror-scrollbar-filler,.CodeMirror-gutter-filler{position:absolute;z-index:6;display:none;outline:none}.markdown-editor-wrapper{position:relative;margin-bottom:12px}.markdown-editor-body{display:flex;flex-flow:row nowrap;width:100%;height:calc(100% - 38px);align-items:center;overflow:hidden}.markdown-editor-body .codemirror-container{flex:1 0;height:100%;width:100%;overflow:hidden}.markdown-editor-body .CodeMirror-wrap{padding-bottom:15px}.markdown-editor-body .preview-container{flex:1 0;height:100%;margin:10px 0;padding:8px 8px 50px;background:#fff;overflow-y:auto;box-sizing:border-box;border-left:1px solid #ccc;word-wrap:break-word;word-break:break-word;white-space:normal;font-size:16px}.markdown-editor-container{border:1px solid #ccc;overflow:hidden;border-radius:4px;font-size:16px}.markdown-editor-container.full-screen{position:fixed;inset:0;height:100vh!important;z-index:998}.markdown-editor-container.full-screen .preview-container>div{padding-bottom:180px!important}.markdown-editor-container.full-screen .CodeMirror-sizer>div{margin-bottom:90px}.markdown-editor-container.on-preview .codemirror-container,.markdown-editor-container.on-preview .preview-container{width:50%}.mini .markdown-editor-body{height:calc(100% - 28px)}.flex-end{justify-content:flex-end}.my-codemirror-container{border:1px solid #ccc;width:100%;margin-bottom:24px}.markdown-tip{color:#cdcdcd;font-size:12px;position:absolute;right:0;bottom:-28px;margin-bottom:7px}.CodeMirror-lines{padding:4px 0}.CodeMirror pre.CodeMirror-line,.CodeMirror pre.CodeMirror-line-like{padding:0 4px}.CodeMirror-scrollbar-filler,.CodeMirror-gutter-filler{background-color:#fff}.CodeMirror-gutters{border-right:1px solid #ddd;background-color:#f7f7f7;white-space:nowrap}.CodeMirror-linenumber{padding:0 3px 0 5px;min-width:20px;text-align:right;color:#999;white-space:nowrap}.CodeMirror-guttermarker{color:#000}.CodeMirror-guttermarker-subtle{color:#999}.CodeMirror-cursor{border-left:1px solid black;border-right:none;width:0}.CodeMirror div.CodeMirror-secondarycursor{border-left:1px solid silver}.cm-fat-cursor .CodeMirror-cursor{width:auto;border:0!important;background:#7e7}.cm-fat-cursor div.CodeMirror-cursors{z-index:1}.cm-fat-cursor-mark{background-color:#14ff1480;animation:blink 1.06s steps(1) infinite}.cm-animate-fat-cursor{width:auto;border:0;animation:blink 1.06s steps(1) infinite;background-color:#7e7}@keyframes blink{50%{background-color:transparent}}.cm-tab{display:inline-block;text-decoration:inherit}.CodeMirror-rulers{position:absolute;inset:-50px 0 0;overflow:hidden}.CodeMirror-ruler{border-left:1px solid #ccc;top:0;bottom:0;position:absolute}.cm-s-default .cm-header{color:#00f}.cm-s-default .cm-quote{color:#090}.cm-negative{color:#d44}.cm-positive{color:#292}.cm-header,.cm-strong{font-weight:700}.cm-em{font-style:italic}.cm-link{text-decoration:underline}.cm-strikethrough{text-decoration:line-through}.cm-s-default .cm-keyword{color:#708}.cm-s-default .cm-atom{color:#219}.cm-s-default .cm-number{color:#164}.cm-s-default .cm-def{color:#00f}.cm-s-default .cm-variable-2{color:#05a}.cm-s-default .cm-variable-3,.cm-s-default .cm-type{color:#085}.cm-s-default .cm-comment{color:#a50}.cm-s-default .cm-string{color:#a11}.cm-s-default .cm-string-2{color:#f50}.cm-s-default .cm-meta,.cm-s-default .cm-qualifier{color:#555}.cm-s-default .cm-builtin{color:#30a}.cm-s-default .cm-bracket{color:#997}.cm-s-default .cm-tag{color:#170}.cm-s-default .cm-attribute{color:#00c}.cm-s-default .cm-hr{color:#999}.cm-s-default .cm-link{color:#00c}.cm-s-default .cm-error,.cm-invalidchar{color:red}.CodeMirror-composing{border-bottom:2px solid}div.CodeMirror span.CodeMirror-matchingbracket{color:#0b0}div.CodeMirror span.CodeMirror-nonmatchingbracket{color:#a22}.CodeMirror-matchingtag{background:#ff96004d}.CodeMirror-activeline-background{background:#e8f2ff}.CodeMirror{position:relative;overflow:hidden;background:#fff}.CodeMirror-scroll{overflow:scroll!important;margin-bottom:0;margin-right:0;padding-bottom:5px;height:100%;outline:none;position:relative}.CodeMirror-sizer{position:relative;border-right:0px}.CodeMirror-vscrollbar,.CodeMirror-hscrollbar,.CodeMirror-scrollbar-filler,.CodeMirror-gutter-filler{position:absolute;z-index:6;display:none}.CodeMirror-vscrollbar{right:0;top:0;overflow-x:hidden;overflow-y:scroll}.CodeMirror-hscrollbar{bottom:0;left:0;overflow-y:hidden;overflow-x:scroll}.CodeMirror-scrollbar-filler{right:0;bottom:0}.CodeMirror-gutter-filler{left:0;bottom:0}.CodeMirror-gutters{position:absolute;left:0;top:0;min-height:100%;z-index:3}.CodeMirror-gutter{white-space:normal;height:100%;display:inline-block;vertical-align:top;margin-bottom:-50px}.CodeMirror-gutter-wrapper{position:absolute;z-index:4;background:none!important;border:none!important}.CodeMirror-gutter-background{position:absolute;top:0;bottom:0;z-index:4}.CodeMirror-gutter-elt{position:absolute;cursor:default;z-index:4}.CodeMirror-gutter-wrapper ::selection{background-color:transparent}.CodeMirror-gutter-wrapper ::-moz-selection{background-color:transparent}.CodeMirror-lines{cursor:text;min-height:1px}.CodeMirror pre.CodeMirror-line,.CodeMirror pre.CodeMirror-line-like{border-radius:0;border-width:0;background:transparent;font-family:inherit;font-size:inherit;margin:0;white-space:pre;word-wrap:normal;line-height:inherit;color:inherit;z-index:2;position:relative;overflow:visible;-webkit-tap-highlight-color:transparent;font-variant-ligatures:contextual}.CodeMirror-wrap pre.CodeMirror-line,.CodeMirror-wrap pre.CodeMirror-line-like{word-wrap:break-word;white-space:pre-wrap;word-break:normal}.CodeMirror-linebackground{position:absolute;inset:0;z-index:0}.CodeMirror-linewidget{position:relative;z-index:2;padding:.1px}.CodeMirror-rtl pre{direction:rtl}.CodeMirror-code{outline:none}.CodeMirror-scroll,.CodeMirror-sizer,.CodeMirror-gutter,.CodeMirror-gutters,.CodeMirror-linenumber{box-sizing:content-box}.CodeMirror-measure{position:absolute;width:100%;height:0;overflow:hidden;visibility:hidden}.CodeMirror-cursor{position:absolute;pointer-events:none}.CodeMirror-measure pre{position:static}div.CodeMirror-cursors{visibility:hidden;position:relative;z-index:3}div.CodeMirror-dragcursors,.CodeMirror-focused div.CodeMirror-cursors{visibility:visible}.CodeMirror-selected{background:#d9d9d9}.CodeMirror-focused .CodeMirror-selected{background:#d7d4f0}.CodeMirror-crosshair{cursor:crosshair}.CodeMirror-line::selection,.CodeMirror-line>span::selection,.CodeMirror-line>span>span::selection{background:#d7d4f0}.CodeMirror-line::-moz-selection,.CodeMirror-line>span::-moz-selection,.CodeMirror-line>span>span::-moz-selection{background:#d7d4f0}.cm-searching{background-color:#ffa;background-color:#ff06}.cm-force-border{padding-right:.1px}@media print{.CodeMirror div.CodeMirror-cursors{visibility:hidden}}.cm-tab-wrap-hack:after{content:""}span.CodeMirror-selectedtext{background:none}.CodeMirror-sizer{padding-top:10px;padding-bottom:10px!important}.CodeMirror-empty.CodeMirror-focused{outline:none}.CodeMirror pre.CodeMirror-placeholder{color:#999}.CodeMirror{position:relative;overflow:hidden;background:#fff;word-break:break-word}.CodeMirror pre.CodeMirror-line,.CodeMirror pre.CodeMirror-line-like{word-wrap:break-word;word-break:break-word;white-space:pre-wrap;line-height:1.6}.markdown-toolbar-container{display:flex;flex-flow:row wrap;align-items:center;padding:0 28px 0 5px;margin:0;position:relative;list-style:none;background:#fff;border-bottom:1px solid #ccc;box-sizing:border-box;line-height:20px;width:100%;min-height:30px}.markdown-toolbar-container .fill-tip{cursor:pointer;font-size:12px;display:inline-block;padding:5px;border:1px solid #E99237;border-radius:5px;box-sizing:border-box;line-height:16px;height:auto;color:#a65500;background-color:#fff1e2;position:relative;margin-left:10px}.markdown-toolbar-container .fill-tip:before{content:" ";width:0;height:0;border-top:6px solid transparent;border-bottom:6px solid transparent;border-right:6px solid #FFF1E2;position:absolute;left:-6px;top:6px;z-index:10}.markdown-toolbar-container .fill-tip:after{content:" ";width:0;height:0;border-top:6px solid transparent;border-bottom:6px solid transparent;border-right:6px solid #E99237;position:absolute;left:-7px;top:6px}.markdown-toolbar-container li{color:#666;padding:0 1px;height:100%;display:flex;height:38px;flex-flow:column nowrap;justify-content:center}.markdown-toolbar-container a,.markdown-toolbar-container span{display:block}.markdown-toolbar-container a{width:28px;color:#666;cursor:pointer;text-align:center;font-size:18px}.markdown-toolbar-container a i{font-size:18px}.markdown-toolbar-container a i:before{font-size:18px}.markdown-toolbar-container .btn-null{width:auto;display:flex;flex-flow:row nowrap;align-items:center}.markdown-toolbar-container .insert-blank{color:#e99237;font-size:18px}.markdown-toolbar-container span.v-line{margin:0 5px;height:65%;border-right:1px solid #ccc}.mini .markdown-toolbar-container li{height:28px}.editor-resize{display:block;width:120px;height:4px;left:54%;border-top:1px solid #ccc;border-bottom:1px solid #ccc;cursor:row-resize;white-space:nowrap;overflow:hidden;text-transform:capitalize;box-sizing:border-box;margin:0 auto}.btn-full-screen{position:absolute;right:5px}@font-face{font-family:md-iconfont;src:url(./static/iconfont.345f94c8.eot);src:url(./static/iconfont.345f94c8.eot#iefix) format("embedded-opentype"),url(./static/iconfont.deef216b.woff) format("woff"),url(./static/iconfont.42606faf.ttf) format("truetype"),url(./static/iconfont.504b881c.svg#iconfont) format("svg")}.md-iconfont{font-family:md-iconfont!important;font-size:16px;font-style:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.icon-uniE900:before{content:"\e900";font-size:14px;margin-left:5px}.icon-shrink:before{content:"\e728"}.icon-enlarge:before{content:"\e623"}.icon-code:before{content:"\e602"}.icon-italic:before{content:"\e718"}.icon-bold:before{content:"\e644"}.icon-picture:before{content:"\e606"}.icon-minus:before{content:"\e62c"}.icon-order-list:before{content:"\e655"}.icon-link:before{content:"\e7d4"}.icon-formula:before{content:"\e633"}.icon-unorder-list:before{content:"\e668"}.icon-edit:before{content:"\e603"}.icon-table:before{content:"\e7db"}.icon-sum:before{content:"\e667"}.icon-eye:before{content:"\e69f"}.icon-eye-slash:before{content:"\e601"}.icon-eraser:before{content:"\e8cd"}.icon-file-code:before{content:"\e9ec"}.cm-s-blackboard.CodeMirror{background:#0c1021;color:#f8f8f8}.cm-s-blackboard div.CodeMirror-selected{background:#253b76}.cm-s-blackboard .CodeMirror-line::selection,.cm-s-blackboard .CodeMirror-line>span::selection,.cm-s-blackboard .CodeMirror-line>span>span::selection{background:#253b76fc}.cm-s-blackboard .CodeMirror-line::-moz-selection,.cm-s-blackboard .CodeMirror-line>span::-moz-selection,.cm-s-blackboard .CodeMirror-line>span>span::-moz-selection{background:#253b76fc}.cm-s-blackboard .CodeMirror-gutters{background:#0c1021;border-right:0}.cm-s-blackboard .CodeMirror-guttermarker{color:#fbde2d}.cm-s-blackboard .CodeMirror-guttermarker-subtle,.cm-s-blackboard .CodeMirror-linenumber{color:#888}.cm-s-blackboard .CodeMirror-cursor{border-left:1px solid #A7A7A7}.cm-s-blackboard .cm-keyword{color:#fbde2d}.cm-s-blackboard .cm-atom,.cm-s-blackboard .cm-number{color:#d8fa3c}.cm-s-blackboard .cm-def{color:#8da6ce}.cm-s-blackboard .cm-variable{color:#ff6400}.cm-s-blackboard .cm-operator{color:#fbde2d}.cm-s-blackboard .cm-comment{color:#aeaeae}.cm-s-blackboard .cm-string,.cm-s-blackboard .cm-string-2{color:#61ce3c}.cm-s-blackboard .cm-meta{color:#d8fa3c}.cm-s-blackboard .cm-builtin,.cm-s-blackboard .cm-tag,.cm-s-blackboard .cm-attribute{color:#8da6ce}.cm-s-blackboard .cm-header{color:#ff6400}.cm-s-blackboard .cm-hr{color:#aeaeae}.cm-s-blackboard .cm-link{color:#8da6ce}.cm-s-blackboard .cm-error{background:#9d1e15;color:#f8f8f8}.cm-s-blackboard .CodeMirror-activeline-background{background:#3c3636}.cm-s-blackboard .CodeMirror-matchingbracket{outline:1px solid grey;color:#fff!important}.upload-button{width:106px;height:32px;line-height:32px;font-size:12px;display:block;position:relative;color:#0152d9}.upload-button input{opacity:0;width:160px;height:32px;position:absolute;top:0;left:0;z-index:-1}.imageDimensions___a7crR{display:flex;justify-content:center;align-items:center;position:fixed;width:100%;height:100vh;left:0;top:0;z-index:1005;background:#fff;overflow:hidden}.imageDimensions___a7crR .img___Kroat{visibility:hidden;max-width:80%;min-width:500px}.imageDimensions___a7crR [class*=_toolbox_colors]{position:fixed;left:0;bottom:0}.imageDimensions___a7crR.fullWidth___c492T .img___Kroat{max-width:100%;width:100%;height:100%}.myPaletteDiv___Xjz2I{position:relative;left:-15px;width:320px}.myPaletteDiv___Xjz2I canvas{margin-top:15px}.flowChartWrp____f45r [class^=goTXarea],.flowChartWrp____f45r textarea{min-width:70px;margin-left:-15px!important}.maxH60___Pd4Re [class^=ant-modal-content]{height:57px!important;overflow:hidden}.lists___xhHyq{padding-bottom:10px}.lists___xhHyq code{background:none!important}.lists___xhHyq>div>div:first-child{background:#f6f6f6;display:flex;align-items:center;justify-content:center;flex-direction:column;padding:10px 0;font-size:12px;cursor:pointer}.lists___xhHyq>div>div:first-child [class^=katex]{font-size:22px}.item___pWJAA{position:relative}.item___pWJAA:nth-last-child(-n+3) .children___sDG61{left:initial;right:5px}.item___pWJAA:hover{z-index:2147483648}.item___pWJAA:hover .children___sDG61{display:block}.children___sDG61{display:none;position:absolute;left:6px;top:70px;width:440px;max-height:400px;overflow:auto;background:#fff;border:1px solid #ccc;border-radius:4px;box-shadow:0 0 6px #ccc;padding:15px}.children___sDG61 h1{font-size:14px;padding-top:6px}.children___sDG61 .diamond___FwgzD>div{background:#f6f6f6;display:flex;align-items:center;justify-content:center;flex-direction:column;cursor:pointer;height:50px;font-size:12px;padding:0 10px;min-width:80px}.children___sDG61 .diamond___FwgzD>div [class^=katex]{font-size:14px}.button___WPN6r{position:absolute;right:20px;bottom:20px}.mathWrap___FmnMJ{width:800px;height:550px}.mathFillWrap___PmY3H{cursor:pointer}.mathFillWrap___PmY3H ::part(menu-toggle){color:#00f;opacity:1;display:none}.mathFillWrap___PmY3H math-field{background:none}.mathFillWrap___PmY3H *{pointer-events:none}.discuss-item-editor{width:100%;overflow:hidden}.discuss-item-editor .btn-send{cursor:pointer;border:none;padding:0 12px;color:#fff;letter-spacing:1px;text-align:center;font-size:14px;height:30px;line-height:30px;border-radius:2px;font-weight:400;margin-right:22px;margin-top:6px;background:#0152d9;float:right}.discuss-item-container{display:flex;flex-flow:row nowrap;width:100%;padding:15px;border-bottom:1px solid #e3e3e3;overflow:hidden}.discuss-item-container section{margin-left:15px;flex:1 1 auto;width:100%}.discuss-item-container .grey{color:#ccc}.discuss-content{margin:4px 0;word-break:break-word;word-wrap:break-word}.discuss-content img{max-width:200px}.discuss-info{display:flex;flex-flow:row wrap;align-items:center;color:#999;line-height:16px;font-size:12px}.discuss-info .top{color:#fff;padding:0 8px;background:#ff4343;border-radius:8px;text-align:center}.discuss-info .gift{cursor:default}.discuss-info .view-code{color:#4cacff}.discuss-info a{color:#999}.discuss-info a,.discuss-info span{margin-right:15px}.hidden{display:none}.btn-group{display:flex;flex-flow:row nowrap;justify-content:flex-end;margin-bottom:8px}.btn-group .btn-top .iconfont{transform:rotate(180deg);display:inline-block}.btn-group a{width:31px;text-align:center;color:#888}.btn-group a .iconfont{font-size:14px!important}.second-level-discuss{padding:2px 8px}.second-level-discuss .btn-group{opacity:0}.second-level-discuss:hover{background:#ebebeb}.second-level-discuss:hover .btn-group{opacity:1}.discuss-info-body{display:flex;flex-flow:row wrap;align-items:center;justify-content:space-between}.reply-discuss-container{background:#f4f4f4;border-radius:4px;margin-bottom:6px;position:relative;margin-top:6px}.reply-discuss-container:before{content:" ";position:absolute;border-color:#000;width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;left:13px;top:-9px;border-bottom:10px solid #f4f4f4}.image-preview-container{display:flex;flex-flow:column nowrap;position:fixed;align-items:center;justify-content:center;inset:0;z-index:99999;background:#000c}.image-preview-container .image-preview{transition:transform .4s linear;max-width:86%}.image-preview-container .button-group{display:flex;flex-flow:row nowrap;align-items:center;justify-content:flex-end;position:absolute;z-index:101;right:10px;top:10px}.image-preview-container .button-group a,.image-preview-container .button-group button{color:#000000a6;margin-right:10px;display:flex;flex-flow:row nowrap;align-items:center}.preview-wrp-group{overflow:auto;width:100%;text-align:center} diff --git a/p__Classrooms__Lists__OnlineLearning__index.6ff2ef26.async.js b/p__Classrooms__Lists__OnlineLearning__index.6ff2ef26.async.js deleted file mode 100644 index 73006532af..0000000000 --- a/p__Classrooms__Lists__OnlineLearning__index.6ff2ef26.async.js +++ /dev/null @@ -1,236 +0,0 @@ -(self.webpackChunk=self.webpackChunk||[]).push([[8827],{26227:function(wt,Mt,oe){"use strict";oe.d(Mt,{Z:function(){return qe}});var ne=oe(72308),pe=oe(59301),Je={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"}}]},name:"delete",theme:"outlined"},Ne=Je,Oe=oe(7657),Re=function(dt,it){return pe.createElement(Oe.Z,(0,ne.Z)({},dt,{ref:it,icon:Ne}))},be=pe.forwardRef(Re),qe=be},49198:function(wt,Mt,oe){"use strict";oe.d(Mt,{Z:function(){return qe}});var ne=oe(72308),pe=oe(59301),Je={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z"}}]},name:"double-right",theme:"outlined"},Ne=Je,Oe=oe(7657),Re=function(dt,it){return pe.createElement(Oe.Z,(0,ne.Z)({},dt,{ref:it,icon:Ne}))},be=pe.forwardRef(Re),qe=be},41464:function(wt,Mt,oe){"use strict";oe.d(Mt,{Z:function(){return qe}});var ne=oe(72308),pe=oe(59301),Je={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"download",theme:"outlined"},Ne=Je,Oe=oe(7657),Re=function(dt,it){return pe.createElement(Oe.Z,(0,ne.Z)({},dt,{ref:it,icon:Ne}))},be=pe.forwardRef(Re),qe=be},87169:function(wt,Mt,oe){"use strict";oe.d(Mt,{Z:function(){return qe}});var ne=oe(72308),pe=oe(59301),Je={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z"}}]},name:"exclamation-circle",theme:"outlined"},Ne=Je,Oe=oe(7657),Re=function(dt,it){return pe.createElement(Oe.Z,(0,ne.Z)({},dt,{ref:it,icon:Ne}))},be=pe.forwardRef(Re),qe=be},52671:function(wt,Mt,oe){"use strict";oe.d(Mt,{Z:function(){return qe}});var ne=oe(72308),pe=oe(59301),Je={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z"}}]},name:"file",theme:"outlined"},Ne=Je,Oe=oe(7657),Re=function(dt,it){return pe.createElement(Oe.Z,(0,ne.Z)({},dt,{ref:it,icon:Ne}))},be=pe.forwardRef(Re),qe=be},8657:function(wt,Mt,oe){"use strict";oe.d(Mt,{Z:function(){return qe}});var ne=oe(72308),pe=oe(59301),Je={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 444H820V330.4c0-17.7-14.3-32-32-32H473L355.7 186.2a8.15 8.15 0 00-5.5-2.2H96c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h698c13 0 24.8-7.9 29.7-20l134-332c1.5-3.8 2.3-7.9 2.3-12 0-17.7-14.3-32-32-32zM136 256h188.5l119.6 114.4H748V444H238c-13 0-24.8 7.9-29.7 20L136 643.2V256zm635.3 512H159l103.3-256h612.4L771.3 768z"}}]},name:"folder-open",theme:"outlined"},Ne=Je,Oe=oe(7657),Re=function(dt,it){return pe.createElement(Oe.Z,(0,ne.Z)({},dt,{ref:it,icon:Ne}))},be=pe.forwardRef(Re),qe=be},10906:function(wt,Mt,oe){"use strict";oe.d(Mt,{Z:function(){return qe}});var ne=oe(72308),pe=oe(59301),Je={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M904 512h-56c-4.4 0-8 3.6-8 8v320H184V184h320c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V520c0-4.4-3.6-8-8-8z"}},{tag:"path",attrs:{d:"M355.9 534.9L354 653.8c-.1 8.9 7.1 16.2 16 16.2h.4l118-2.9c2-.1 4-.9 5.4-2.3l415.9-415c3.1-3.1 3.1-8.2 0-11.3L785.4 114.3c-1.6-1.6-3.6-2.3-5.7-2.3s-4.1.8-5.7 2.3l-415.8 415a8.3 8.3 0 00-2.3 5.6zm63.5 23.6L779.7 199l45.2 45.1-360.5 359.7-45.7 1.1.7-46.4z"}}]},name:"form",theme:"outlined"},Ne=Je,Oe=oe(7657),Re=function(dt,it){return pe.createElement(Oe.Z,(0,ne.Z)({},dt,{ref:it,icon:Ne}))},be=pe.forwardRef(Re),qe=be},56082:function(wt,Mt,oe){"use strict";oe.d(Mt,{Z:function(){return qe}});var ne=oe(72308),pe=oe(59301),Je={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M300 276.5a56 56 0 1056-97 56 56 0 00-56 97zm0 284a56 56 0 1056-97 56 56 0 00-56 97zM640 228a56 56 0 10112 0 56 56 0 00-112 0zm0 284a56 56 0 10112 0 56 56 0 00-112 0zM300 844.5a56 56 0 1056-97 56 56 0 00-56 97zM640 796a56 56 0 10112 0 56 56 0 00-112 0z"}}]},name:"holder",theme:"outlined"},Ne=Je,Oe=oe(7657),Re=function(dt,it){return pe.createElement(Oe.Z,(0,ne.Z)({},dt,{ref:it,icon:Ne}))},be=pe.forwardRef(Re),qe=be},61481:function(wt,Mt,oe){"use strict";oe.d(Mt,{Z:function(){return qe}});var ne=oe(72308),pe=oe(59301),Je={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M885.2 446.3l-.2-.8-112.2-285.1c-5-16.1-19.9-27.2-36.8-27.2H281.2c-17 0-32.1 11.3-36.9 27.6L139.4 443l-.3.7-.2.8c-1.3 4.9-1.7 9.9-1 14.8-.1 1.6-.2 3.2-.2 4.8V830a60.9 60.9 0 0060.8 60.8h627.2c33.5 0 60.8-27.3 60.9-60.8V464.1c0-1.3 0-2.6-.1-3.7.4-4.9 0-9.6-1.3-14.1zm-295.8-43l-.3 15.7c-.8 44.9-31.8 75.1-77.1 75.1-22.1 0-41.1-7.1-54.8-20.6S436 441.2 435.6 419l-.3-15.7H229.5L309 210h399.2l81.7 193.3H589.4zm-375 76.8h157.3c24.3 57.1 76 90.8 140.4 90.8 33.7 0 65-9.4 90.3-27.2 22.2-15.6 39.5-37.4 50.7-63.6h156.5V814H214.4V480.1z"}}]},name:"inbox",theme:"outlined"},Ne=Je,Oe=oe(7657),Re=function(dt,it){return pe.createElement(Oe.Z,(0,ne.Z)({},dt,{ref:it,icon:Ne}))},be=pe.forwardRef(Re),qe=be},33853:function(wt,Mt,oe){"use strict";oe.d(Mt,{Z:function(){return qe}});var ne=oe(72308),pe=oe(59301),Je={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"},Ne=Je,Oe=oe(7657),Re=function(dt,it){return pe.createElement(Oe.Z,(0,ne.Z)({},dt,{ref:it,icon:Ne}))},be=pe.forwardRef(Re),qe=be},15075:function(wt,Mt,oe){"use strict";oe.d(Mt,{Z:function(){return qe}});var ne=oe(72308),pe=oe(59301),Je={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"minus-square",theme:"outlined"},Ne=Je,Oe=oe(7657),Re=function(dt,it){return pe.createElement(Oe.Z,(0,ne.Z)({},dt,{ref:it,icon:Ne}))},be=pe.forwardRef(Re),qe=be},43531:function(wt,Mt,oe){"use strict";oe.d(Mt,{Z:function(){return qe}});var ne=oe(72308),pe=oe(59301),Je={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"plus-square",theme:"outlined"},Ne=Je,Oe=oe(7657),Re=function(dt,it){return pe.createElement(Oe.Z,(0,ne.Z)({},dt,{ref:it,icon:Ne}))},be=pe.forwardRef(Re),qe=be},38819:function(wt,Mt,oe){"use strict";oe.d(Mt,{Z:function(){return qe}});var ne=oe(72308),pe=oe(59301),Je={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"},Ne=Je,Oe=oe(7657),Re=function(dt,it){return pe.createElement(Oe.Z,(0,ne.Z)({},dt,{ref:it,icon:Ne}))},be=pe.forwardRef(Re),qe=be},32050:function(wt,Mt,oe){"use strict";oe.d(Mt,{Z:function(){return qe}});var ne=oe(72308),pe=oe(59301),Je={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M400 317.7h73.9V656c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V317.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 163a8 8 0 00-12.6 0l-112 141.7c-4.1 5.3-.4 13 6.3 13zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"upload",theme:"outlined"},Ne=Je,Oe=oe(7657),Re=function(dt,it){return pe.createElement(Oe.Z,(0,ne.Z)({},dt,{ref:it,icon:Ne}))},be=pe.forwardRef(Re),qe=be},88010:function(wt,Mt){"use strict";Mt.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},74413:function(){"use strict";function wt(se,y,a,E){a===void 0&&(a=0),E===void 0&&(E=1/0),this._name=se,this._defaultValue=y,this._minimum=a,this._maximum=E}Object.defineProperty(wt.prototype,"name",{get:function(){return this._name},set:function(se){if(typeof se!="string"||se==="")throw new Error("Shape name must be a valid string.");this._name=se}}),Object.defineProperty(wt.prototype,"defaultValue",{get:function(){return this._defaultValue},set:function(se){if(typeof se!="number"||isNaN(se))throw new Error("The default value must be a real number, not: "+se);this._defaultValue=se}}),Object.defineProperty(wt.prototype,"minimum",{get:function(){return this._minimum},set:function(se){if(typeof se!="number"||isNaN(se))throw new Error("Minimum must be a real number, not: "+se);this._minimum=se}}),Object.defineProperty(wt.prototype,"maximum",{get:function(){return this._maximum},set:function(se){if(typeof se!="number"||isNaN(se))throw new Error("Maximum must be a real number, not: "+se);this._maximum=se}}),go.Shape._FigureParameters={},go.Shape.getFigureParameter=function(se,y){var a=go.Shape._FigureParameters[se];return a?a[y]:null},go.Shape.setFigureParameter=function(se,y,a){if(!(a instanceof wt))throw new Error("Third argument to Shape.setFigureParameter is not FigureParameter: "+a);if(a.defaultValuea.maximum)throw new Error("defaultValue must be between minimum and maximum, not: "+a.defaultValue);var E=go.Shape._FigureParameters[se];E||(E=[],go.Shape._FigureParameters[se]=E),E[y]=a};var Mt=[];function oe(se,y){var a=Mt.pop();return a===void 0?new go.Point(se,y):(a.x=se,a.y=y,a)}function ne(){var se=Mt.pop();return se===void 0?new go.Point:se}function pe(se){Mt.push(se)}function Je(se,y,a,E,b,x,te,ae,ie){ie||(ie=new go.Point);var ue=se-a,de=b-te,fe=NaN,Be=NaN;if(ue===0)if(de===0)se===a&&(fe=se,Be=y);else{var Pe=(x-ae)/de,We=x-Pe*b;fe=se,Be=Pe*fe+We}else if(de===0){var ve=(y-E)/ue,Ue=y-ve*se;fe=b,Be=ve*fe+Ue}else{var ve=(y-E)/ue,Pe=(x-ae)/de,Ue=y-ve*se,We=x-Pe*b;fe=(We-Ue)/(ve-Pe),Be=ve*fe+Ue}return ie.x=fe,ie.y=Be,ie}function Ne(se,y,a,E,b,x,te,ae,ie,ue,de,fe,Be,Pe){var We=1-ie,ve=ie,Ue=se*We+a*ve,Bt=y*We+E*ve,Tt=a*We+b*ve,Ye=E*We+x*ve,ft=b*We+te*ve,Ft=x*We+ae*ve,Jt=Ue*We+Tt*ve,Rt=Bt*We+Ye*ve,bt=Tt*We+ft*ve,Te=Ye*We+Ft*ve,lt=Jt*We+bt*ve,Lt=Rt*We+Te*ve;ue.x=Ue,ue.y=Bt,de.x=Jt,de.y=Rt,fe.x=lt,fe.y=Lt,Be.x=bt,Be.y=Te,Pe.x=ft,Pe.y=Ft}var Oe=new go.Spot(.156,.156),Re=new go.Spot(.844,.844),be=4*((Math.sqrt(2)-1)/3);go.Shape.setFigureParameter("RoundedRectangle",0,new wt("CornerRounding",5)),go.Shape.defineFigureGenerator("RoundedRectangle",function(se,y,a){var E=se?se.parameter1:NaN;(isNaN(E)||E<0)&&(E=5),E=Math.min(E,y/3),E=Math.min(E,a/3);var b=E*be,x=new go.Geometry().add(new go.PathFigure(E,0,!0).add(new go.PathSegment(go.PathSegment.Line,y-E,0)).add(new go.PathSegment(go.PathSegment.Bezier,y,E,y-b,0,y,b)).add(new go.PathSegment(go.PathSegment.Line,y,a-E)).add(new go.PathSegment(go.PathSegment.Bezier,y-E,a,y,a-b,y-b,a)).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Bezier,0,a-E,b,a,0,a-b)).add(new go.PathSegment(go.PathSegment.Line,0,E)).add(new go.PathSegment(go.PathSegment.Bezier,E,0,0,b,b,0).close()));return b>1&&(x.spot1=new go.Spot(0,0,b,b),x.spot2=new go.Spot(1,1,-b,-b)),x}),go.Shape.defineFigureGenerator("Border","RoundedRectangle"),go.Shape.defineFigureGenerator("TriangleRight",function(se,y,a){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())).setSpots(0,.25,.5,.75)}),go.Shape.defineFigureGenerator("TriangleDown",function(se,y,a){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,.5*y,a).close())).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("TriangleLeft",function(se,y,a){return new go.Geometry().add(new go.PathFigure(y,a).add(new go.PathSegment(go.PathSegment.Line,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,y,0).close())).setSpots(.5,.25,1,.75)}),go.Shape.defineFigureGenerator("TriangleUp",function(se,y,a){return new go.Geometry().add(new go.PathFigure(y,a).add(new go.PathSegment(go.PathSegment.Line,0,a)).add(new go.PathSegment(go.PathSegment.Line,.5*y,0).close())).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("Triangle","TriangleUp"),go.Shape.defineFigureGenerator("Diamond",function(se,y,a){return new go.Geometry().add(new go.PathFigure(.5*y,0).add(new go.PathSegment(go.PathSegment.Line,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.5*y,a)).add(new go.PathSegment(go.PathSegment.Line,y,.5*a).close())).setSpots(.25,.25,.75,.75)}),go.Shape.defineFigureGenerator("LineH",function(se,y,a){var E=new go.Geometry(go.Geometry.Line);return E.startX=0,E.startY=a/2,E.endX=y,E.endY=a/2,E}),go.Shape.defineFigureGenerator("LineV",function(se,y,a){var E=new go.Geometry(go.Geometry.Line);return E.startX=y/2,E.startY=0,E.endX=y/2,E.endY=a,E}),go.Shape.defineFigureGenerator("BarH","Rectangle"),go.Shape.defineFigureGenerator("BarV","Rectangle"),go.Shape.defineFigureGenerator("MinusLine","LineH"),go.Shape.defineFigureGenerator("PlusLine",function(se,y,a){return new go.Geometry().add(new go.PathFigure(0,a/2,!1).add(new go.PathSegment(go.PathSegment.Line,y,a/2)).add(new go.PathSegment(go.PathSegment.Move,y/2,0)).add(new go.PathSegment(go.PathSegment.Line,y/2,a)))}),go.Shape.defineFigureGenerator("XLine",function(se,y,a){return new go.Geometry().add(new go.PathFigure(0,a,!1).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Move,0,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)))}),go.Shape.defineFigureGenerator("LineRight",function(se,y,a){return new go.Geometry().add(new go.PathFigure(.25*y,0,!1).add(new go.PathSegment(go.PathSegment.Line,.75*y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.25*y,a)))}),go.Shape.defineFigureGenerator("LineDown",function(se,y,a){return new go.Geometry().add(new go.PathFigure(0,.25*a,!1).add(new go.PathSegment(go.PathSegment.Line,.5*y,.75*a)).add(new go.PathSegment(go.PathSegment.Line,y,.25*a)))}),go.Shape.defineFigureGenerator("LineLeft",function(se,y,a){return new go.Geometry().add(new go.PathFigure(.75*y,0,!1).add(new go.PathSegment(go.PathSegment.Line,.25*y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.75*y,a)))}),go.Shape.defineFigureGenerator("LineUp",function(se,y,a){return new go.Geometry().add(new go.PathFigure(0,.75*a,!1).add(new go.PathSegment(go.PathSegment.Line,.5*y,.25*a)).add(new go.PathSegment(go.PathSegment.Line,y,.75*a)))}),go.Shape.defineFigureGenerator("AsteriskLine",function(se,y,a){var E=.2/Math.SQRT2;return new go.Geometry().add(new go.PathFigure(E*y,(1-E)*a,!1).add(new go.PathSegment(go.PathSegment.Line,(1-E)*y,E*a)).add(new go.PathSegment(go.PathSegment.Move,E*y,E*a)).add(new go.PathSegment(go.PathSegment.Line,(1-E)*y,(1-E)*a)).add(new go.PathSegment(go.PathSegment.Move,0,a/2)).add(new go.PathSegment(go.PathSegment.Line,y,a/2)).add(new go.PathSegment(go.PathSegment.Move,y/2,0)).add(new go.PathSegment(go.PathSegment.Line,y/2,a)))}),go.Shape.defineFigureGenerator("CircleLine",function(se,y,a){var E=y/2,b=new go.Geometry().add(new go.PathFigure(y,y/2,!1).add(new go.PathSegment(go.PathSegment.Arc,0,360,E,E,E,E).close()));return b.spot1=Oe,b.spot2=Re,b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("Line1",function(se,y,a){var E=new go.Geometry(go.Geometry.Line);return E.startX=0,E.startY=0,E.endX=y,E.endY=a,E}),go.Shape.defineFigureGenerator("Line2",function(se,y,a){var E=new go.Geometry(go.Geometry.Line);return E.startX=y,E.startY=0,E.endX=0,E.endY=a,E}),go.Shape.defineFigureGenerator("Curve1",function(se,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,y,a,be*y,0,y,(1-be)*a)))}),go.Shape.defineFigureGenerator("Curve2",function(se,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,y,a,0,be*a,(1-be)*y,a)))}),go.Shape.defineFigureGenerator("Curve3",function(se,y,a){return new go.Geometry().add(new go.PathFigure(y,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,a,y,be*a,be*y,a)))}),go.Shape.defineFigureGenerator("Curve4",function(se,y,a){return new go.Geometry().add(new go.PathFigure(y,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,a,(1-be)*y,0,0,(1-be)*a)))}),go.Shape.defineFigureGenerator("TriangleDownLeft",function(se,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())).setSpots(0,.5,.5,1)}),go.Shape.defineFigureGenerator("TriangleDownRight",function(se,y,a){return new go.Geometry().add(new go.PathFigure(y,0,!0).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())).setSpots(.5,.5,1,1)}),go.Shape.defineFigureGenerator("TriangleUpLeft",function(se,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())).setSpots(0,0,.5,.5)}),go.Shape.defineFigureGenerator("TriangleUpRight",function(se,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y,a).close())).setSpots(.5,0,1,.5)}),go.Shape.defineFigureGenerator("RightTriangle","TriangleDownLeft"),go.Shape.setFigureParameter("Parallelogram1",0,new wt("Indent",.1,-.99,.99)),go.Shape.defineFigureGenerator("Parallelogram1",function(se,y,a){var E=se?se.parameter1:NaN;isNaN(E)?E=.1:E<-1?E=-1:E>1&&(E=1);var b=Math.abs(E)*y;if(E===0){var x=new go.Geometry(go.Geometry.Rectangle);return x.startX=0,x.startY=0,x.endX=y,x.endY=a,x}else{var x=new go.Geometry;return E>0?x.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y-b,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())):x.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,y-b,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,b,a).close())),by&&(E=y);var b=Math.abs(E);if(E===0){var x=new go.Geometry(go.Geometry.Rectangle);return x.startX=0,x.startY=0,x.endX=y,x.endY=a,x}else{var x=new go.Geometry;return E>0?x.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y-b,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())):x.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,y-b,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,b,a).close())),b.5&&(E=.5);var b=Math.abs(E)*y;if(E===0){var x=new go.Geometry(go.Geometry.Rectangle);return x.startX=0,x.startY=0,x.endX=y,x.endY=a,x}else{var x=new go.Geometry;return E>0?x.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,y-b,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())):x.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y-b,a)).add(new go.PathSegment(go.PathSegment.Line,b,a).close())),by&&(E=y/2);var b=Math.abs(E);if(E===0){var x=new go.Geometry(go.Geometry.Rectangle);return x.startX=0,x.startY=0,x.endX=y,x.endY=a,x}else{var x=new go.Geometry;return E>0?x.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,y-b,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())):x.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y-b,a)).add(new go.PathSegment(go.PathSegment.Line,b,a).close())),by&&(E=y/2);var b=Math.abs(E);if(E===0){var x=new go.Geometry(go.Geometry.Rectangle);return x.startX=0,x.startY=0,x.endX=y,x.endY=a,x}else{var x=new go.Geometry;return E>0?x.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y-b,a)).add(new go.PathSegment(go.PathSegment.Line,b,a).close())):x.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,y-b,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())),b0&&(te.add(new go.PathSegment(go.PathSegment.Move,y/2+ae,y/2)),te.add(new go.PathSegment(go.PathSegment.Arc,0,-360,b,b,ae,ae).close())),x.spot1=Oe,x.spot2=Re,x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("Cloud",function(se,y,a){return new go.Geometry().add(new go.PathFigure(.08034461*y,.1944299*a,!0).add(new go.PathSegment(go.PathSegment.Bezier,.2008615*y,.05349299*a,-.09239631*y,.07836421*a,.1406031*y,-.0542823*a)).add(new go.PathSegment(go.PathSegment.Bezier,.4338609*y,.074219*a,.2450511*y,-.00697547*a,.3776197*y,-.01112067*a)).add(new go.PathSegment(go.PathSegment.Bezier,.6558228*y,.07004196*a,.4539471*y,0,.6066018*y,-.02526587*a)).add(new go.PathSegment(go.PathSegment.Bezier,.8921095*y,.08370865*a,.6914277*y,-.01904177*a,.8921095*y,-.01220843*a)).add(new go.PathSegment(go.PathSegment.Bezier,.9147671*y,.3194596*a,1.036446*y,.04105738*a,1.020377*y,.3022052*a)).add(new go.PathSegment(go.PathSegment.Bezier,.9082935*y,.562044*a,1.04448*y,.360238*a,.992256*y,.5219009*a)).add(new go.PathSegment(go.PathSegment.Bezier,.9212406*y,.8217117*a,1.032337*y,.5771781*a,1.018411*y,.8120651*a)).add(new go.PathSegment(go.PathSegment.Bezier,.7592566*y,.9156953*a,1.028411*y,.9571472*a,.8556702*y,1.052487*a)).add(new go.PathSegment(go.PathSegment.Bezier,.5101666*y,.9310455*a,.7431877*y,1.009325*a,.5624123*y,1.021761*a)).add(new go.PathSegment(go.PathSegment.Bezier,.2609328*y,.9344623*a,.4820677*y,1.031761*a,.3030112*y,1.002796*a)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*y,.870098*a,.2329994*y,1.01518*a,.03213784*y,1.01518*a)).add(new go.PathSegment(go.PathSegment.Bezier,.06829292*y,.6545475*a,-.02812061*y,.9032597*a,-.01205169*y,.6835638*a)).add(new go.PathSegment(go.PathSegment.Bezier,.06427569*y,.4265613*a,-.01812061*y,.6089503*a,-.00606892*y,.4555777*a)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*y,.1944299*a,-.01606892*y,.3892545*a,-.01205169*y,.1944299*a))).setSpots(.1,.1,.9,.9)}),go.Shape.defineFigureGenerator("StopSign",function(se,y,a){var E=1/(Math.SQRT2+2);return new go.Geometry().add(new go.PathFigure(E*y,0,!0).add(new go.PathSegment(go.PathSegment.Line,(1-E)*y,0)).add(new go.PathSegment(go.PathSegment.Line,y,E*a)).add(new go.PathSegment(go.PathSegment.Line,y,(1-E)*a)).add(new go.PathSegment(go.PathSegment.Line,(1-E)*y,a)).add(new go.PathSegment(go.PathSegment.Line,E*y,a)).add(new go.PathSegment(go.PathSegment.Line,0,(1-E)*a)).add(new go.PathSegment(go.PathSegment.Line,0,E*a).close())).setSpots(E/2,E/2,1-E/2,1-E/2)}),go.Shape.setFigureParameter("Pie",0,new wt("Start",0,-360,360)),go.Shape.setFigureParameter("Pie",1,new wt("Sweep",315,-360,360)),go.Shape.defineFigureGenerator("Pie",function(se,y,a){var E=se?se.parameter1:NaN,b=se?se.parameter2:NaN;isNaN(E)&&(E=0),isNaN(b)&&(b=315);var x=E%360;x<0&&(x+=360);var te=b%360,ae=Math.min(y,a)/2;return new go.Geometry().add(new go.PathFigure(ae,ae).add(new go.PathSegment(go.PathSegment.Arc,x,te,ae,ae,ae,ae).close()))}),go.Shape.defineFigureGenerator("PiePiece",function(se,y,a){var E=be/Math.SQRT2*.5,b=Math.SQRT2/2,x=1-Math.SQRT2/2;return new go.Geometry().add(new go.PathFigure(y,a,!0).add(new go.PathSegment(go.PathSegment.Bezier,b*y,x*a,y,(1-E)*a,(b+E)*y,(x+E)*a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close()))}),go.Shape.setFigureParameter("ThickCross",0,new wt("Thickness",30)),go.Shape.defineFigureGenerator("ThickCross",function(se,y,a){var E=se?se.parameter1:NaN;(isNaN(E)||E<0)&&(E=30);var b=Math.min(E,y)/2,x=y/2,te=a/2;return new go.Geometry().add(new go.PathFigure(x-b,0,!0).add(new go.PathSegment(go.PathSegment.Line,x+b,0)).add(new go.PathSegment(go.PathSegment.Line,x+b,te-b)).add(new go.PathSegment(go.PathSegment.Line,y,te-b)).add(new go.PathSegment(go.PathSegment.Line,y,te+b)).add(new go.PathSegment(go.PathSegment.Line,x+b,te+b)).add(new go.PathSegment(go.PathSegment.Line,x+b,a)).add(new go.PathSegment(go.PathSegment.Line,x-b,a)).add(new go.PathSegment(go.PathSegment.Line,x-b,te+b)).add(new go.PathSegment(go.PathSegment.Line,0,te+b)).add(new go.PathSegment(go.PathSegment.Line,0,te-b)).add(new go.PathSegment(go.PathSegment.Line,x-b,te-b).close()))}),go.Shape.setFigureParameter("ThinCross",0,new wt("Thickness",10)),go.Shape.defineFigureGenerator("ThinCross",function(se,y,a){var E=se?se.parameter1:NaN;(isNaN(E)||E<0)&&(E=10);var b=Math.min(E,y)/2,x=y/2,te=a/2;return new go.Geometry().add(new go.PathFigure(x-b,0,!0).add(new go.PathSegment(go.PathSegment.Line,x+b,0)).add(new go.PathSegment(go.PathSegment.Line,x+b,te-b)).add(new go.PathSegment(go.PathSegment.Line,y,te-b)).add(new go.PathSegment(go.PathSegment.Line,y,te+b)).add(new go.PathSegment(go.PathSegment.Line,x+b,te+b)).add(new go.PathSegment(go.PathSegment.Line,x+b,a)).add(new go.PathSegment(go.PathSegment.Line,x-b,a)).add(new go.PathSegment(go.PathSegment.Line,x-b,te+b)).add(new go.PathSegment(go.PathSegment.Line,0,te+b)).add(new go.PathSegment(go.PathSegment.Line,0,te-b)).add(new go.PathSegment(go.PathSegment.Line,x-b,te-b).close()))}),go.Shape.setFigureParameter("ThickX",0,new wt("Thickness",30)),go.Shape.defineFigureGenerator("ThickX",function(se,y,a){var E=se?se.parameter1:NaN;if((isNaN(E)||E<0)&&(E=30),y===0||a===0){var b=new go.Geometry(go.Geometry.Rectangle);return b.startX=0,b.startY=0,b.endX=y,b.endY=a,b}else{var x=y/2,te=a/2,ae=Math.atan2(a,y),ie=E-Math.min(Math.cos(ae)*E/2,x),ue=E-Math.min(Math.sin(ae)*E/2,te),b=new go.Geometry,de=new go.PathFigure(ie,0,!0);return b.add(de),de.add(new go.PathSegment(go.PathSegment.Line,x,.2*a)),de.add(new go.PathSegment(go.PathSegment.Line,y-ie,0)),de.add(new go.PathSegment(go.PathSegment.Line,y,ue)),de.add(new go.PathSegment(go.PathSegment.Line,.8*y,te)),de.add(new go.PathSegment(go.PathSegment.Line,y,a-ue)),de.add(new go.PathSegment(go.PathSegment.Line,y-ie,a)),de.add(new go.PathSegment(go.PathSegment.Line,x,.8*a)),de.add(new go.PathSegment(go.PathSegment.Line,ie,a)),de.add(new go.PathSegment(go.PathSegment.Line,0,a-ue)),de.add(new go.PathSegment(go.PathSegment.Line,.2*y,te)),de.add(new go.PathSegment(go.PathSegment.Line,0,ue).close()),b}}),go.Shape.setFigureParameter("ThinX",0,new wt("Thickness",10)),go.Shape.defineFigureGenerator("ThinX",function(se,y,a){var E=se?se.parameter1:NaN;(isNaN(E)||E<0)&&(E=10);var b=new go.Geometry,x=new go.PathFigure(.1*y,0,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*y,.4*a)),x.add(new go.PathSegment(go.PathSegment.Line,.9*y,0)),x.add(new go.PathSegment(go.PathSegment.Line,y,.1*a)),x.add(new go.PathSegment(go.PathSegment.Line,.6*y,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,y,.9*a)),x.add(new go.PathSegment(go.PathSegment.Line,.9*y,a)),x.add(new go.PathSegment(go.PathSegment.Line,.5*y,.6*a)),x.add(new go.PathSegment(go.PathSegment.Line,.1*y,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,.9*a)),x.add(new go.PathSegment(go.PathSegment.Line,.4*y,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,.1*a).close()),b}),go.Shape.setFigureParameter("SquareIBeam",0,new wt("BeamWidth",.2,.1,.9)),go.Shape.defineFigureGenerator("SquareIBeam",function(se,y,a){var E=se?se.parameter1:NaN;isNaN(E)&&(E=.2);var b=new go.Geometry,x=new go.PathFigure(0,0,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,0)),x.add(new go.PathSegment(go.PathSegment.Line,y,E*a)),x.add(new go.PathSegment(go.PathSegment.Line,(.5+E/2)*y,E*a)),x.add(new go.PathSegment(go.PathSegment.Line,(.5+E/2)*y,(1-E)*a)),x.add(new go.PathSegment(go.PathSegment.Line,y,(1-E)*a)),x.add(new go.PathSegment(go.PathSegment.Line,y,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,(1-E)*a)),x.add(new go.PathSegment(go.PathSegment.Line,(.5-E/2)*y,(1-E)*a)),x.add(new go.PathSegment(go.PathSegment.Line,(.5-E/2)*y,E*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,E*a).close()),b}),go.Shape.setFigureParameter("RoundedIBeam",0,new wt("Curviness",.5,.05,.65)),go.Shape.defineFigureGenerator("RoundedIBeam",function(se,y,a){var E=se?se.parameter1:NaN;isNaN(E)&&(E=.5);var b=new go.Geometry,x=new go.PathFigure(0,0,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,0)),x.add(new go.PathSegment(go.PathSegment.Bezier,y,a,Math.abs(1-E)*y,.25*a,Math.abs(1-E)*y,.75*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a)),x.add(new go.PathSegment(go.PathSegment.Bezier,0,0,E*y,.75*a,E*y,.25*a).close()),b}),go.Shape.defineFigureGenerator("HalfEllipse",function(se,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,be*y,0,y,(.5-be/2)*a)).add(new go.PathSegment(go.PathSegment.Bezier,0,a,y,(.5+be/2)*a,be*y,a).close())).setSpots(0,.156,.844,.844)}),go.Shape.defineFigureGenerator("Crescent",function(se,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,a,y,0,y,a)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.5*y,.75*a,.5*y,.25*a).close())).setSpots(.311,.266,.744,.744)}),go.Shape.defineFigureGenerator("Heart",function(se,y,a){return new go.Geometry().add(new go.PathFigure(.5*y,a,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,.3*a,.1*y,.8*a,0,.5*a)).add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.3*a,0,0,.45*y,0)).add(new go.PathSegment(go.PathSegment.Bezier,y,.3*a,.55*y,0,y,0)).add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,y,.5*a,.9*y,.8*a).close())).setSpots(.14,.29,.86,.78)}),go.Shape.defineFigureGenerator("Spade",function(se,y,a){return new go.Geometry().add(new go.PathFigure(.5*y,0,!0).add(new go.PathSegment(go.PathSegment.Line,.51*y,.01*a)).add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,.6*y,.2*a,y,.25*a)).add(new go.PathSegment(go.PathSegment.Bezier,.55*y,.7*a,y,.8*a,.6*y,.8*a)).add(new go.PathSegment(go.PathSegment.Bezier,.75*y,a,.5*y,.75*a,.55*y,.95*a)).add(new go.PathSegment(go.PathSegment.Line,.25*y,a)).add(new go.PathSegment(go.PathSegment.Bezier,.45*y,.7*a,.45*y,.95*a,.5*y,.75*a)).add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,.4*y,.8*a,0,.8*a)).add(new go.PathSegment(go.PathSegment.Bezier,.49*y,.01*a,0,.25*a,.4*y,.2*a).close())).setSpots(.14,.26,.86,.78)}),go.Shape.defineFigureGenerator("Club",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(.4*y,.6*a,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.15*y,a,.5*y,.75*a,.45*y,.95*a)),b.add(new go.PathSegment(go.PathSegment.Line,.85*y,a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.6*y,.6*a,.55*y,.95*a,.5*y,.75*a));var x=.2,te=.3,ae=0,ie=x*be;return b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*y,(.5+x+ae)*a,(.5-x+te)*y,(.5+ie+ae)*a,(.5-ie+te)*y,(.5+x+ae)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+x+te)*y,(.5+ae)*a,(.5+ie+te)*y,(.5+x+ae)*a,(.5+x+te)*y,(.5+ie+ae)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*y,(.5-x+ae)*a,(1-.5+x+te)*y,(.5-ie+ae)*a,(.5+ie+te)*y,(.5-x+ae)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.65*y,.36771243*a,(.5-ie+te)*y,(.5-x+ae)*a,(.5-x+te+.05)*y,(.5-ie+ae-.02)*a)),x=.2,te=0,ae=-.3,ie=x*be,b.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+x+te)*y,(.5+ae)*a,(.5+ie+te)*y,(.5+x+ae)*a,(.5+x+te)*y,(.5+ie+ae)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*y,(.5-x+ae)*a,(1-.5+x+te)*y,(.5-ie+ae)*a,(.5+ie+te)*y,(.5-x+ae)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-x+te)*y,(.5+ae)*a,(.5-ie+te)*y,(.5-x+ae)*a,(.5-x+te)*y,(.5-ie+ae)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-ie+te)*y,(.5+x+ae)*a,(.5-x+te)*y,(.5+ie+ae)*a,(.5-ie+te)*y,(.5+x+ae)*a)),x=.2,te=-.3,ae=0,ie=x*be,b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*y,(.5-x+ae)*a,(1-.5+x+te-.05)*y,(.5-ie+ae-.02)*a,(.5+ie+te)*y,(.5-x+ae)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-x+te)*y,(.5+ae)*a,(.5-ie+te)*y,(.5-x+ae)*a,(.5-x+te)*y,(.5-ie+ae)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*y,(.5+x+ae)*a,(.5-x+te)*y,(.5+ie+ae)*a,(.5-ie+te)*y,(.5+x+ae)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.4*y,.6*a,(.5+ie+te)*y,(.5+x+ae)*a,(.5+x+te)*y,(.5+ie+ae)*a).close()),E.setSpots(.06,.33,.93,.68),E}),go.Shape.defineFigureGenerator("YinYang",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(y*.5,0,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,270,180,y*.5,y*.5,y*.5,y*.5)),b.add(new go.PathSegment(go.PathSegment.Arc,90,-180,y*.5,y*.75,y*.25,y*.25)),b.add(new go.PathSegment(go.PathSegment.Arc,90,180,y*.5,y*.25,y*.25,y*.25));var x=.1,te=.5,ae=.25;return b.add(new go.PathSegment(go.PathSegment.Move,(te+x)*y,ae*a)),b.add(new go.PathSegment(go.PathSegment.Arc,0,-360,y*te,a*ae,x*y,x*y).close()),b=new go.PathFigure(y*.5,0,!1),E.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,270,-180,y*.5,y*.5,y*.5,y*.5)),ae=.75,b=new go.PathFigure((te+x)*y,ae*a,!0),E.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,0,360,y*te,a*ae,x*y,x*y).close()),E.defaultStretch=go.GraphObject.Uniform,E}),go.Shape.defineFigureGenerator("Peace",function(se,y,a){var E=.8535533905932737,b=.5*y,x=.5*a;return new go.Geometry().add(new go.PathFigure(b,0,!1).add(new go.PathSegment(go.PathSegment.Arc,270,360,b,x,b,x)).add(new go.PathSegment(go.PathSegment.Line,b,a)).add(new go.PathSegment(go.PathSegment.Move,b,x)).add(new go.PathSegment(go.PathSegment.Line,(1-E)*y,E*a)).add(new go.PathSegment(go.PathSegment.Move,b,x)).add(new go.PathSegment(go.PathSegment.Line,E*y,E*a)))}),go.Shape.defineFigureGenerator("NotAllowed",function(se,y,a){var E=new go.Geometry,b=be*.5,x=.5,te=.5,ae=.5,ie=new go.PathFigure(te*y,(ae-x)*a);E.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,(te-x)*y,ae*a,(te-b)*y,(ae-x)*a,(te-x)*y,(ae-b)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,te*y,(ae+x)*a,(te-x)*y,(ae+b)*a,(te-b)*y,(ae+x)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(te+x)*y,ae*a,(te+b)*y,(ae+x)*a,(te+x)*y,(ae+b)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,te*y,(ae-x)*a,(te+x)*y,(ae-b)*a,(te+b)*y,(ae-x)*a)),x=.4,b=be*.4;var ue=ne(),de=ne(),fe=ne(),Be=ne();Ne(te,ae-x,te+b,ae-x,te+x,ae-b,te+x,ae,.42,ue,de,fe,Be,Be);var Pe=ne(),We=ne(),ve=ne();Ne(te,ae-x,te+b,ae-x,te+x,ae-b,te+x,ae,.58,Be,Be,ve,Pe,We);var Ue=ne(),Bt=ne(),Tt=ne();Ne(te,ae+x,te-b,ae+x,te-x,ae+b,te-x,ae,.42,Ue,Bt,Tt,Be,Be);var Ye=ne(),ft=ne(),Ft=ne();return Ne(te,ae+x,te-b,ae+x,te-x,ae+b,te-x,ae,.58,Be,Be,Ft,Ye,ft),ie.add(new go.PathSegment(go.PathSegment.Move,Ft.x*y,Ft.y*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(te-x)*y,ae*a,Ye.x*y,Ye.y*a,ft.x*y,ft.y*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,te*y,(ae-x)*a,(te-x)*y,(ae-b)*a,(te-b)*y,(ae-x)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,fe.x*y,fe.y*a,ue.x*y,ue.y*a,de.x*y,de.y*a)),ie.add(new go.PathSegment(go.PathSegment.Line,Ft.x*y,Ft.y*a).close()),ie.add(new go.PathSegment(go.PathSegment.Move,Tt.x*y,Tt.y*a)),ie.add(new go.PathSegment(go.PathSegment.Line,ve.x*y,ve.y*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(te+x)*y,ae*a,Pe.x*y,Pe.y*a,We.x*y,We.y*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,te*y,(ae+x)*a,(te+x)*y,(ae+b)*a,(te+b)*y,(ae+x)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,Tt.x*y,Tt.y*a,Ue.x*y,Ue.y*a,Bt.x*y,Bt.y*a).close()),pe(ue),pe(de),pe(fe),pe(Be),pe(Pe),pe(We),pe(ve),pe(Ue),pe(Bt),pe(Tt),pe(Ye),pe(ft),pe(Ft),E.defaultStretch=go.GraphObject.Uniform,E}),go.Shape.defineFigureGenerator("Fragile",function(se,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.25*y,0)).add(new go.PathSegment(go.PathSegment.Line,.2*y,.15*a)).add(new go.PathSegment(go.PathSegment.Line,.3*y,.25*a)).add(new go.PathSegment(go.PathSegment.Line,.29*y,.33*a)).add(new go.PathSegment(go.PathSegment.Line,.35*y,.25*a)).add(new go.PathSegment(go.PathSegment.Line,.3*y,.15*a)).add(new go.PathSegment(go.PathSegment.Line,.4*y,0)).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Bezier,.55*y,.5*a,y,.25*a,.75*y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.55*y,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.7*y,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.7*y,a)).add(new go.PathSegment(go.PathSegment.Line,.3*y,a)).add(new go.PathSegment(go.PathSegment.Line,.3*y,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.45*y,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.45*y,.5*a)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*y,.5*a,0,.25*a).close()))}),go.Shape.setFigureParameter("HourGlass",0,new wt("Thickness",30)),go.Shape.defineFigureGenerator("HourGlass",function(se,y,a){var E=se?se.parameter1:NaN;(isNaN(E)||E<0)&&(E=30),E>y&&(E=y);var b=(y-E)/2,x=b+E;return new go.Geometry().add(new go.PathFigure(x,.5*a).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a)).add(new go.PathSegment(go.PathSegment.Line,b,.5*a)).add(new go.PathSegment(go.PathSegment.Line,0,0)).add(new go.PathSegment(go.PathSegment.Line,y,0).close()))}),go.Shape.defineFigureGenerator("Lightning",function(se,y,a){return new go.Geometry().add(new go.PathFigure(0,.55*a).add(new go.PathSegment(go.PathSegment.Line,.6*y,0)).add(new go.PathSegment(go.PathSegment.Line,.3*y,.45*a)).add(new go.PathSegment(go.PathSegment.Line,y,.45*a)).add(new go.PathSegment(go.PathSegment.Line,.4*y,a)).add(new go.PathSegment(go.PathSegment.Line,.7*y,.55*a).close()))}),go.Shape.defineFigureGenerator("GenderMale",function(se,y,a){var E=new go.Geometry,b=be*.4,x=.4,te=.5,ae=.5,ie=ne(),ue=ne(),de=ne(),fe=ne(),Be=new go.PathFigure((te-x)*y,ae*a,!1);E.add(Be),Be.add(new go.PathSegment(go.PathSegment.Bezier,te*y,(ae-x)*a,(te-x)*y,(ae-b)*a,(te-b)*y,(ae-x)*a)),Ne(te,ae-x,te+b,ae-x,te+x,ae-b,te+x,ae,.44,de,fe,ue,ie,ie),Be.add(new go.PathSegment(go.PathSegment.Bezier,ue.x*y,ue.y*a,de.x*y,de.y*a,fe.x*y,fe.y*a));var Pe=oe(ue.x,ue.y);Ne(te,ae-x,te+b,ae-x,te+x,ae-b,te+x,ae,.56,ie,ie,ue,de,fe);var We=oe(ue.x,ue.y);Be.add(new go.PathSegment(go.PathSegment.Line,(Pe.x*.1+.95*.9)*y,Pe.y*.1*a)),Be.add(new go.PathSegment(go.PathSegment.Line,.85*y,Pe.y*.1*a)),Be.add(new go.PathSegment(go.PathSegment.Line,.85*y,0)),Be.add(new go.PathSegment(go.PathSegment.Line,y,0)),Be.add(new go.PathSegment(go.PathSegment.Line,y,.15*a)),Be.add(new go.PathSegment(go.PathSegment.Line,(We.x*.1+.9)*y,.15*a)),Be.add(new go.PathSegment(go.PathSegment.Line,(We.x*.1+.9)*y,(We.y*.1+.05*.9)*a)),Be.add(new go.PathSegment(go.PathSegment.Line,We.x*y,We.y*a)),Be.add(new go.PathSegment(go.PathSegment.Bezier,(te+x)*y,ae*a,de.x*y,de.y*a,fe.x*y,fe.y*a)),Be.add(new go.PathSegment(go.PathSegment.Bezier,te*y,(ae+x)*a,(te+x)*y,(ae+b)*a,(te+b)*y,(ae+x)*a)),Be.add(new go.PathSegment(go.PathSegment.Bezier,(te-x)*y,ae*a,(te-b)*y,(ae+x)*a,(te-x)*y,(ae+b)*a)),x=.35,b=be*.35;var ve=new go.PathFigure(te*y,(ae-x)*a,!1);E.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,(te-x)*y,ae*a,(te-b)*y,(ae-x)*a,(te-x)*y,(ae-b)*a)),ve.add(new go.PathSegment(go.PathSegment.Bezier,te*y,(ae+x)*a,(te-x)*y,(ae+b)*a,(te-b)*y,(ae+x)*a)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(te+x)*y,ae*a,(te+b)*y,(ae+x)*a,(te+x)*y,(ae+b)*a)),ve.add(new go.PathSegment(go.PathSegment.Bezier,te*y,(ae-x)*a,(te+x)*y,(ae-b)*a,(te+b)*y,(ae-x)*a));var Ue=new go.PathFigure((te-x)*y,ae*a,!1);return E.add(Ue),pe(ie),pe(ue),pe(de),pe(fe),pe(Pe),pe(We),E.spot1=new go.Spot(.202,.257),E.spot2=new go.Spot(.792,.739),E.defaultStretch=go.GraphObject.Uniform,E}),go.Shape.defineFigureGenerator("GenderFemale",function(se,y,a){var E=new go.Geometry,b=.375,x=0,te=-.125,ae=b*be,ie=new go.PathFigure((.525+x)*y,(.5+b+te)*a,!1);E.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+b+x)*y,(.5+te)*a,(.5+ae+x)*y,(.5+b+te)*a,(.5+b+x)*y,(.5+ae+te)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(.5+x)*y,(.5-b+te)*a,(1-.5+b+x)*y,(.5-ae+te)*a,(.5+ae+x)*y,(.5-b+te)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+x)*y,(.5+te)*a,(.5-ae+x)*y,(.5-b+te)*a,(.5-b+x)*y,(.5-ae+te)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(.475+x)*y,(.5+b+te)*a,(.5-b+x)*y,(.5+ae+te)*a,(.5-ae+x)*y,(.5+b+te)*a)),ie.add(new go.PathSegment(go.PathSegment.Line,.475*y,.85*a)),ie.add(new go.PathSegment(go.PathSegment.Line,.425*y,.85*a)),ie.add(new go.PathSegment(go.PathSegment.Line,.425*y,.9*a)),ie.add(new go.PathSegment(go.PathSegment.Line,.475*y,.9*a)),ie.add(new go.PathSegment(go.PathSegment.Line,.475*y,a)),ie.add(new go.PathSegment(go.PathSegment.Line,.525*y,a)),ie.add(new go.PathSegment(go.PathSegment.Line,.525*y,.9*a)),ie.add(new go.PathSegment(go.PathSegment.Line,.575*y,.9*a)),ie.add(new go.PathSegment(go.PathSegment.Line,.575*y,.85*a)),ie.add(new go.PathSegment(go.PathSegment.Line,.525*y,.85*a).close()),b=.325,x=0,te=-.125,ae=b*be;var ie=new go.PathFigure((1-.5+b+x)*y,(.5+te)*a,!1);E.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,(.5+x)*y,(.5+b+te)*a,(.5+b+x)*y,(.5+ae+te)*a,(.5+ae+x)*y,(.5+b+te)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+x)*y,(.5+te)*a,(.5-ae+x)*y,(.5+b+te)*a,(.5-b+x)*y,(.5+ae+te)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(.5+x)*y,(.5-b+te)*a,(.5-b+x)*y,(.5-ae+te)*a,(.5-ae+x)*y,(.5-b+te)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+b+x)*y,(.5+te)*a,(.5+ae+x)*y,(.5-b+te)*a,(1-.5+b+x)*y,(.5-ae+te)*a));var ie=new go.PathFigure((.525+x)*y,(.5+b+te)*a,!1);return E.add(ie),E.spot1=new go.Spot(.232,.136),E.spot2=new go.Spot(.682,.611),E.defaultStretch=go.GraphObject.Uniform,E}),go.Shape.defineFigureGenerator("LogicImplies",function(se,y,a){var E=se?se.parameter1:NaN;return isNaN(E)&&(E=.2),new go.Geometry().add(new go.PathFigure((1-E)*y,0,!1).add(new go.PathSegment(go.PathSegment.Line,y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,(1-E)*y,a)).add(new go.PathSegment(go.PathSegment.Move,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,y,.5*a))).setSpots(0,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicIff",function(se,y,a){var E=se?se.parameter1:NaN;return isNaN(E)&&(E=.2),new go.Geometry().add(new go.PathFigure((1-E)*y,0,!1).add(new go.PathSegment(go.PathSegment.Line,y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,(1-E)*y,a)).add(new go.PathSegment(go.PathSegment.Move,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,y,.5*a)).add(new go.PathSegment(go.PathSegment.Move,E*y,0)).add(new go.PathSegment(go.PathSegment.Line,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,E*y,a))).setSpots(.2,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicNot",function(se,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)))}),go.Shape.defineFigureGenerator("LogicAnd",function(se,y,a){return new go.Geometry().add(new go.PathFigure(0,a,!1).add(new go.PathSegment(go.PathSegment.Line,.5*y,0)).add(new go.PathSegment(go.PathSegment.Line,y,a))).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("LogicOr",function(se,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*y,a)).add(new go.PathSegment(go.PathSegment.Line,y,0))).setSpots(.219,0,.78,.409)}),go.Shape.defineFigureGenerator("LogicXor",function(se,y,a){var E=new go.Geometry().add(new go.PathFigure(.5*y,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*y,a)).add(new go.PathSegment(go.PathSegment.Move,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,y,.5*a)).add(new go.PathSegment(go.PathSegment.Arc,0,360,.5*y,.5*a,.5*y,.5*a)));return E.defaultStretch=go.GraphObject.Uniform,E}),go.Shape.defineFigureGenerator("LogicTruth",function(se,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Move,.5*y,0)).add(new go.PathSegment(go.PathSegment.Line,.5*y,a)))}),go.Shape.defineFigureGenerator("LogicFalsity",function(se,y,a){return new go.Geometry().add(new go.PathFigure(0,a,!1).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Move,.5*y,a)).add(new go.PathSegment(go.PathSegment.Line,.5*y,0)))}),go.Shape.defineFigureGenerator("LogicThereExists",function(se,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,0,.5*a)).add(new go.PathSegment(go.PathSegment.Move,y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a)))}),go.Shape.defineFigureGenerator("LogicForAll",function(se,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*y,a)).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Move,.25*y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.75*y,.5*a))).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("LogicIsDefinedAs",function(se,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Move,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,y,.5*a)).add(new go.PathSegment(go.PathSegment.Move,0,a)).add(new go.PathSegment(go.PathSegment.Line,y,a))).setSpots(.01,.01,.99,.49)}),go.Shape.defineFigureGenerator("LogicIntersect",function(se,y,a){var E=.5;return new go.Geometry().add(new go.PathFigure(0,a,!1).add(new go.PathSegment(go.PathSegment.Line,0,E*a)).add(new go.PathSegment(go.PathSegment.Arc,180,180,E*y,E*a,E*y,E*a)).add(new go.PathSegment(go.PathSegment.Line,y,a))).setSpots(0,.5,1,1)}),go.Shape.defineFigureGenerator("LogicUnion",function(se,y,a){var E=.5;return new go.Geometry().add(new go.PathFigure(y,0,!1).add(new go.PathSegment(go.PathSegment.Line,y,E*a)).add(new go.PathSegment(go.PathSegment.Arc,0,180,E*y,E*a,E*y,E*a)).add(new go.PathSegment(go.PathSegment.Line,0,0))).setSpots(0,0,1,.5)}),go.Shape.setFigureParameter("Arrow",0,new wt("ArrowheadWidth",.3,.01,.99)),go.Shape.setFigureParameter("Arrow",1,new wt("TailHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("Arrow",function(se,y,a){var E=se?se.parameter1:NaN;isNaN(E)&&(E=.3);var b=se?se.parameter2:NaN;isNaN(b)&&(b=.3);var x=(1-E)*y,te=(.5-b/2)*a,ae=(.5+b/2)*a,ie=new go.Geometry,ue=new go.PathFigure(0,te,!0);ie.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,x,te)),ue.add(new go.PathSegment(go.PathSegment.Line,x,0)),ue.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),ue.add(new go.PathSegment(go.PathSegment.Line,x,a)),ue.add(new go.PathSegment(go.PathSegment.Line,x,ae)),ue.add(new go.PathSegment(go.PathSegment.Line,0,ae).close()),ie.spot1=new go.Spot(0,te/a);var de=Je(0,ae/a,1,ae/a,x/y,1,1,.5,ne());return ie.spot2=new go.Spot(de.x,de.y),pe(de),ie}),go.Shape.setFigureParameter("Arrow2",0,new wt("ArrowheadWidth",30)),go.Shape.setFigureParameter("Arrow2",0,new wt("TailHeight",30)),go.Shape.defineFigureGenerator("Arrow2",function(se,y,a){var E=se?se.parameter1:NaN;isNaN(E)&&(E=30),E>y&&(E=y);var b=se?se.parameter2:NaN;isNaN(b)&&(b=30),b=Math.min(b,a/2);var x=y-E,te=(a-b)/2,ae=te+b,ie=new go.Geometry,ue=new go.PathFigure(0,te,!0);ie.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,x,te)),ue.add(new go.PathSegment(go.PathSegment.Line,x,0)),ue.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),ue.add(new go.PathSegment(go.PathSegment.Line,x,a)),ue.add(new go.PathSegment(go.PathSegment.Line,x,ae)),ue.add(new go.PathSegment(go.PathSegment.Line,0,ae).close()),ie.spot1=new go.Spot(0,te/a);var de=Je(0,ae/a,1,ae/a,x/y,1,1,.5,ne());return ie.spot2=new go.Spot(de.x,de.y),pe(de),ie}),go.Shape.defineFigureGenerator("Chevron",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(0,0,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a).close()),E}),go.Shape.defineFigureGenerator("DoubleArrow",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(0,0,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.3*y,.214*a)),b.add(new go.PathSegment(go.PathSegment.Line,.3*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,1*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.3*y,1*a)),b.add(new go.PathSegment(go.PathSegment.Line,.3*y,.786*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,1*a).close()),E}),go.Shape.setFigureParameter("DoubleEndArrow",0,new wt("ConnecterHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("DoubleEndArrow",function(se,y,a){var E=se?se.parameter1:NaN;isNaN(E)&&(E=.3);var b=(.5-E/2)*a,x=(.5+E/2)*a,te=new go.Geometry,ae=new go.PathFigure(y,.5*a,!0);te.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,.7*y,a)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*y,x)),ae.add(new go.PathSegment(go.PathSegment.Line,.3*y,x)),ae.add(new go.PathSegment(go.PathSegment.Line,.3*y,a)),ae.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.3*y,0)),ae.add(new go.PathSegment(go.PathSegment.Line,.3*y,b)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*y,b)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*y,0).close());var ie=Je(0,.5,.3,0,0,b/a,.1,b/a,ne());return te.spot1=new go.Spot(ie.x,ie.y),ie=Je(.7,1,1,.5,0,x/a,1,x/a,ie),te.spot2=new go.Spot(ie.x,ie.y),pe(ie),te}),go.Shape.setFigureParameter("DoubleEndArrow2",0,new wt("ConnecterHeight",40)),go.Shape.setFigureParameter("DoubleEndArrow2",1,new wt("ArrowHeight",100)),go.Shape.defineFigureGenerator("DoubleEndArrow2",function(se,y,a){var E=se?se.parameter1:NaN;isNaN(E)&&(E=40);var b=se?se.parameter2:NaN;isNaN(b)&&(b=100);var x=(a-E)/2,te=x+E,ae=(a-b)/2,ie=ae+b;(E>a||b>a)&&(b>E?(E=E*a/b,x=(a-E)/2,te=x+E,ae=0,ie=a):(x=0,te=a,ae=0,ie=a));var ue=new go.Geometry,de=new go.PathFigure(y,.5*a,!0);ue.add(de),de.add(new go.PathSegment(go.PathSegment.Line,.7*y,ie)),de.add(new go.PathSegment(go.PathSegment.Line,.7*y,te)),de.add(new go.PathSegment(go.PathSegment.Line,.3*y,te)),de.add(new go.PathSegment(go.PathSegment.Line,.3*y,ie)),de.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),de.add(new go.PathSegment(go.PathSegment.Line,.3*y,ae)),de.add(new go.PathSegment(go.PathSegment.Line,.3*y,x)),de.add(new go.PathSegment(go.PathSegment.Line,.7*y,x)),de.add(new go.PathSegment(go.PathSegment.Line,.7*y,ae).close());var fe=Je(0,.5,.3,ae/a,0,x/a,1,x/a,ne());return ue.spot1=new go.Spot(fe.x,fe.y),fe=Je(.7,ie/a,1,.5,0,te/a,1,te/a,fe),ue.spot2=new go.Spot(fe.x,fe.y),pe(fe),ue}),go.Shape.setFigureParameter("IBeamArrow",0,new wt("ConnectorHeight",.7,.51,.97)),go.Shape.defineFigureGenerator("IBeamArrow",function(se,y,a){var E=se?se.parameter1:NaN;isNaN(E)&&(E=.3);var b=(.5-E/2)*a,x=(.5+E/2)*a,te=new go.Geometry,ae=new go.PathFigure(y,.5*a,!0);te.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,.7*y,a)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*y,x)),ae.add(new go.PathSegment(go.PathSegment.Line,.2*y,x)),ae.add(new go.PathSegment(go.PathSegment.Line,.2*y,a)),ae.add(new go.PathSegment(go.PathSegment.Line,0,a)),ae.add(new go.PathSegment(go.PathSegment.Line,0,0)),ae.add(new go.PathSegment(go.PathSegment.Line,.2*y,0)),ae.add(new go.PathSegment(go.PathSegment.Line,.2*y,b)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*y,b)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*y,0).close()),te.spot1=new go.Spot(0,b/a);var ie=Je(.7,1,1,.5,0,x/a,1,x/a,ne());return te.spot2=new go.Spot(ie.x,ie.y),pe(ie),te}),go.Shape.setFigureParameter("IBeamArrow2",0,new wt("ConnectorHeight",40)),go.Shape.setFigureParameter("IBeamArrow2",1,new wt("BeamArrowHeight",100)),go.Shape.defineFigureGenerator("IBeamArrow2",function(se,y,a){var E=se?se.parameter1:NaN;isNaN(E)&&(E=40);var b=se?se.parameter2:NaN;isNaN(b)&&(b=100);var x=(a-E)/2,te=x+E,ae=(a-b)/2,ie=ae+b;(E>a||b>a)&&(b>E?(E=E*a/b,x=(a-E)/2,te=x+E,ae=0,ie=a):(x=0,te=a,ae=0,ie=a));var ue=new go.Geometry,de=new go.PathFigure(y,.5*a,!0);ue.add(de),de.add(new go.PathSegment(go.PathSegment.Line,.7*y,ie)),de.add(new go.PathSegment(go.PathSegment.Line,.7*y,te)),de.add(new go.PathSegment(go.PathSegment.Line,.2*y,te)),de.add(new go.PathSegment(go.PathSegment.Line,.2*y,ie)),de.add(new go.PathSegment(go.PathSegment.Line,0,ie)),de.add(new go.PathSegment(go.PathSegment.Line,0,ae)),de.add(new go.PathSegment(go.PathSegment.Line,.2*y,ae)),de.add(new go.PathSegment(go.PathSegment.Line,.2*y,x)),de.add(new go.PathSegment(go.PathSegment.Line,.7*y,x)),de.add(new go.PathSegment(go.PathSegment.Line,.7*y,ae).close()),ue.spot1=new go.Spot(0,x/a);var fe=Je(.7,ie/a,1,.5,0,te/a,1,te/a,ne());return ue.spot2=new go.Spot(fe.x,fe.y),pe(fe),ue}),go.Shape.setFigureParameter("Pointer",0,new wt("BackPoint",.1,0,.2)),go.Shape.defineFigureGenerator("Pointer",function(se,y,a){var E=se?se.parameter1:NaN;isNaN(E)&&(E=.1);var b=new go.Geometry,x=new go.PathFigure(y,.5*a,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,0,a)),x.add(new go.PathSegment(go.PathSegment.Line,E*y,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,0).close()),b.spot1=new go.Spot(E,.35);var te=Je(.2,.65,1,.65,0,1,1,.5,ne());return b.spot2=new go.Spot(te.x,te.y),pe(te),b}),go.Shape.setFigureParameter("RoundedPointer",0,new wt("RoundedEdge",.3,0,.5)),go.Shape.defineFigureGenerator("RoundedPointer",function(se,y,a){var E=se?se.parameter1:NaN;isNaN(E)&&(E=.3);var b=new go.Geometry,x=new go.PathFigure(y,.5*a,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,0,a)),x.add(new go.PathSegment(go.PathSegment.Bezier,0,0,E*y,.75*a,E*y,.25*a).close()),b.spot1=new go.Spot(E,.35);var te=Je(0,.65,1,.65,0,1,1,.5,ne());return b.spot2=new go.Spot(te.x,te.y),pe(te),b}),go.Shape.setFigureParameter("SplitEndArrow",0,new wt("TailHeight",.4,.01,.99)),go.Shape.defineFigureGenerator("SplitEndArrow",function(se,y,a){var E=se?se.parameter1:NaN;isNaN(E)&&(E=.4);var b=(.5-E/2)*a,x=(.5+E/2)*a,te=new go.Geometry,ae=new go.PathFigure(y,.5*a,!0);te.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,.7*y,a)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*y,x)),ae.add(new go.PathSegment(go.PathSegment.Line,0,x)),ae.add(new go.PathSegment(go.PathSegment.Line,.2*y,.5*a)),ae.add(new go.PathSegment(go.PathSegment.Line,0,b)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*y,b)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*y,0).close()),te.spot1=new go.Spot(.2,.3);var ie=Je(.7,1,1,.5,0,x/a,1,x/a,ne());return te.spot2=new go.Spot(ie.x,ie.y),pe(ie),te}),go.Shape.setFigureParameter("SplitEndArrow2",0,new wt("TailThickness",50)),go.Shape.defineFigureGenerator("SplitEndArrow2",function(se,y,a){var E=se?se.parameter1:NaN;isNaN(E)&&(E=50);var b=(a-E)/2,x=b+E;E>a&&(b=0,x=a);var te=new go.Geometry,ae=new go.PathFigure(y,.5*a,!0);te.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,.7*y,a)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*y,x)),ae.add(new go.PathSegment(go.PathSegment.Line,0,x)),ae.add(new go.PathSegment(go.PathSegment.Line,.2*y,.5*a)),ae.add(new go.PathSegment(go.PathSegment.Line,0,b)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*y,b)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*y,0).close()),te.spot1=new go.Spot(.2,b/a);var ie=Je(.7,1,1,.5,0,x/a,1,x/a,ne());return te.spot2=new go.Spot(ie.x,ie.y),pe(ie),te}),go.Shape.setFigureParameter("SquareArrow",0,new wt("ArrowPoint",.7,.2,.9)),go.Shape.defineFigureGenerator("SquareArrow",function(se,y,a){var E=se?se.parameter1:NaN;isNaN(E)&&(E=.7);var b=new go.Geometry,x=new go.PathFigure(y,.5*a,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,E*y,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,0)),x.add(new go.PathSegment(go.PathSegment.Line,E*y,0).close()),b.spot1=go.Spot.TopLeft,b.spot2=new go.Spot(E,1),b}),go.Shape.defineFigureGenerator("Cone1",function(se,y,a){var E=new go.Geometry,b=be*.5,x=be*.1,te=new go.PathFigure(0,.9*a,!0);return E.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),te.add(new go.PathSegment(go.PathSegment.Line,y,.9*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,y,(.9+x)*a,(.5+b)*y,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,(.5-b)*y,a,0,(.9+x)*a).close()),E.spot1=new go.Spot(.25,.5),E.spot2=new go.Spot(.75,.97),E}),go.Shape.defineFigureGenerator("Cone2",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(0,.9*a,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,y,.9*a,(1-.85/.9)*y,a,.85/.9*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,.9*a).close());var x=new go.PathFigure(0,.9*a,!1);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Bezier,y,.9*a,(1-.85/.9)*y,.8*a,.85/.9*y,.8*a)),E.spot1=new go.Spot(.25,.5),E.spot2=new go.Spot(.75,.82),E}),go.Shape.defineFigureGenerator("Cube1",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(.5*y,a,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,.85*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.15*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,.15*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.85*a).close());var x=new go.PathFigure(.5*y,a,!1);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*y,.3*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,.15*a)),x.add(new go.PathSegment(go.PathSegment.Move,.5*y,.3*a)),x.add(new go.PathSegment(go.PathSegment.Line,y,.15*a)),E.spot1=new go.Spot(0,.3),E.spot2=new go.Spot(.5,.85),E}),go.Shape.defineFigureGenerator("Cube2",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(0,.3*a,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,.7*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.7*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.3*y,0).close());var x=new go.PathFigure(0,.3*a,!1);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.7*y,.3*a)),x.add(new go.PathSegment(go.PathSegment.Line,y,0)),x.add(new go.PathSegment(go.PathSegment.Move,.7*y,.3*a)),x.add(new go.PathSegment(go.PathSegment.Line,.7*y,a)),E.spot1=new go.Spot(0,.3),E.spot2=new go.Spot(.7,1),E}),go.Shape.defineFigureGenerator("Cylinder1",function(se,y,a){var E=se?se.parameter1:NaN;isNaN(E)&&(E=5),E=Math.min(E,a/3);var b=new go.Geometry,x=be*.5,te=new go.PathFigure(0,E,!0);b.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,0,be*E,(.5-x)*y,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,1*y,E,(.5+x)*y,0,1*y,be*E)),te.add(new go.PathSegment(go.PathSegment.Line,y,a-E)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,1*a,1*y,a-be*E,(.5+x)*y,1*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,a-E,(.5-x)*y,1*a,0,a-be*E)),te.add(new go.PathSegment(go.PathSegment.Line,0,E));var ae=new go.PathFigure(y,E,!1);return b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,2*E,1*y,2*E-be*E,(.5+x)*y,2*E)),ae.add(new go.PathSegment(go.PathSegment.Bezier,0,E,(.5-x)*y,2*E,0,2*E-be*E)),b.spot1=new go.Spot(0,0,0,2*E),b.spot2=new go.Spot(1,1),b}),go.Shape.defineFigureGenerator("Cylinder2",function(se,y,a){var E=se?se.parameter1:NaN;isNaN(E)&&(E=5),E=Math.min(E,a/3);var b=new go.Geometry,x=be*.5,te=new go.PathFigure(0,a-E,!0);b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,0,E)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,0,be*E,(.5-x)*y,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,y,E,(.5+x)*y,0,y,be*E)),te.add(new go.PathSegment(go.PathSegment.Line,y,a-E)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,y,a-be*E,(.5+x)*y,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,a-E,(.5-x)*y,a,0,a-be*E));var ae=new go.PathFigure(0,a-E,!1);return b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a-2*E,0,a-E-be*E,(.5-x)*y,a-2*E)),ae.add(new go.PathSegment(go.PathSegment.Bezier,y,a-E,(.5+x)*y,a-2*E,y,a-E-be*E)),b.spot1=new go.Spot(0,0),b.spot2=new go.Spot(1,1,0,-2*E),b}),go.Shape.defineFigureGenerator("Cylinder3",function(se,y,a){var E=se?se.parameter1:NaN;isNaN(E)&&(E=5),E=Math.min(E,y/3);var b=new go.Geometry,x=be*.5,te=new go.PathFigure(E,0,!0);b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y-E,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,y-be*E,0,y,(.5-x)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,y-E,a,y,(.5+x)*a,y-be*E,a)),te.add(new go.PathSegment(go.PathSegment.Line,E,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,be*E,a,0,(.5+x)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,E,0,0,(.5-x)*a,be*E,0));var ae=new go.PathFigure(E,0,!1);return b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,2*E,.5*a,E+be*E,0,2*E,(.5-x)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,E,a,2*E,(.5+x)*a,E+be*E,a)),b.spot1=new go.Spot(0,0,2*E,0),b.spot2=new go.Spot(1,1),b}),go.Shape.defineFigureGenerator("Cylinder4",function(se,y,a){var E=se?se.parameter1:NaN;isNaN(E)&&(E=5),E=Math.min(E,y/3);var b=new go.Geometry,x=be*.5,te=new go.PathFigure(y-E,0,!0);b.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,y-be*E,0,y,(.5-x)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,y-E,a,y,(.5+x)*a,y-be*E,a)),te.add(new go.PathSegment(go.PathSegment.Line,E,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,be*E,a,0,(.5+x)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,E,0,0,(.5-x)*a,be*E,0)),te.add(new go.PathSegment(go.PathSegment.Line,y-E,0));var ae=new go.PathFigure(y-E,0,!1);return b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,y-2*E,.5*a,y-E-be*E,0,y-2*E,(.5-x)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,y-E,a,y-2*E,(.5+x)*a,y-E-be*E,a)),b.spot1=new go.Spot(0,0),b.spot2=new go.Spot(1,1,-2*E,0),b}),go.Shape.defineFigureGenerator("Prism1",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(.25*y,.25*a,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var x=new go.PathFigure(.25*y,.25*a,!1);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),E.spot1=new go.Spot(.408,.172),E.spot2=new go.Spot(.833,.662),E}),go.Shape.defineFigureGenerator("Prism2",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(0,.25*a,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.25*a)),b.add(new go.PathSegment(go.PathSegment.Line,.75*y,.75*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var x=new go.PathFigure(0,a,!1);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.25*y,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,y,.25*a)),x.add(new go.PathSegment(go.PathSegment.Move,0,.25*a)),x.add(new go.PathSegment(go.PathSegment.Line,.25*y,.5*a)),E.spot1=new go.Spot(.25,.5),E.spot2=new go.Spot(.75,.75),E}),go.Shape.defineFigureGenerator("Pyramid1",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(.5*y,0,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,.75*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.75*a).close());var x=new go.PathFigure(.5*y,0,!1);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),E.spot1=new go.Spot(.25,.367),E.spot2=new go.Spot(.75,.875),E}),go.Shape.defineFigureGenerator("Pyramid2",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(.5*y,0,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,.85*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.85*a).close());var x=new go.PathFigure(.5*y,0,!1);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*y,.7*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,.85*a)),x.add(new go.PathSegment(go.PathSegment.Move,.5*y,.7*a)),x.add(new go.PathSegment(go.PathSegment.Line,y,.85*a)),E.spot1=new go.Spot(.25,.367),E.spot2=new go.Spot(.75,.875),E}),go.Shape.defineFigureGenerator("Actor",function(se,y,a){var E=new go.Geometry,b=.2,x=.1,te=be*b,ae=be*x,ie=.5,ue=.1,de=new go.PathFigure(ie*y,(ue+x)*a,!0);E.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,(ie-b)*y,ue*a,(ie-te)*y,(ue+x)*a,(ie-b)*y,(ue+ae)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,ie*y,(ue-x)*a,(ie-b)*y,(ue-ae)*a,(ie-te)*y,(ue-x)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,(ie+b)*y,ue*a,(ie+te)*y,(ue-x)*a,(ie+b)*y,(ue-ae)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,ie*y,(ue+x)*a,(ie+b)*y,(ue+ae)*a,(ie+te)*y,(ue+x)*a));var fe=.05,Be=be*fe;ie=.05,ue=.25;var Pe=new go.PathFigure(.5*y,.2*a,!0);return E.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Line,.95*y,.2*a)),ie=.95,ue=.25,Pe.add(new go.PathSegment(go.PathSegment.Bezier,(ie+fe)*y,ue*a,(ie+Be)*y,(ue-fe)*a,(ie+fe)*y,(ue-Be)*a)),Pe.add(new go.PathSegment(go.PathSegment.Line,y,.6*a)),Pe.add(new go.PathSegment(go.PathSegment.Line,.85*y,.6*a)),Pe.add(new go.PathSegment(go.PathSegment.Line,.85*y,.35*a)),fe=.025,Be=be*fe,ie=.825,ue=.35,Pe.add(new go.PathSegment(go.PathSegment.Bezier,ie*y,(ue-fe)*a,(ie+fe)*y,(ue-Be)*a,(ie+Be)*y,(ue-fe)*a)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(ie-fe)*y,ue*a,(ie-Be)*y,(ue-fe)*a,(ie-fe)*y,(ue-Be)*a)),Pe.add(new go.PathSegment(go.PathSegment.Line,.8*y,a)),Pe.add(new go.PathSegment(go.PathSegment.Line,.55*y,a)),Pe.add(new go.PathSegment(go.PathSegment.Line,.55*y,.7*a)),fe=.05,Be=be*fe,ie=.5,ue=.7,Pe.add(new go.PathSegment(go.PathSegment.Bezier,ie*y,(ue-fe)*a,(ie+fe)*y,(ue-Be)*a,(ie+Be)*y,(ue-fe)*a)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(ie-fe)*y,ue*a,(ie-Be)*y,(ue-fe)*a,(ie-fe)*y,(ue-Be)*a)),Pe.add(new go.PathSegment(go.PathSegment.Line,.45*y,a)),Pe.add(new go.PathSegment(go.PathSegment.Line,.2*y,a)),Pe.add(new go.PathSegment(go.PathSegment.Line,.2*y,.35*a)),fe=.025,Be=be*fe,ie=.175,ue=.35,Pe.add(new go.PathSegment(go.PathSegment.Bezier,ie*y,(ue-fe)*a,(ie+fe)*y,(ue-Be)*a,(ie+Be)*y,(ue-fe)*a)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(ie-fe)*y,ue*a,(ie-Be)*y,(ue-fe)*a,(ie-fe)*y,(ue-Be)*a)),Pe.add(new go.PathSegment(go.PathSegment.Line,.15*y,.6*a)),Pe.add(new go.PathSegment(go.PathSegment.Line,0,.6*a)),Pe.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),fe=.05,Be=be*fe,ie=.05,ue=.25,Pe.add(new go.PathSegment(go.PathSegment.Bezier,ie*y,(ue-fe)*a,(ie-fe)*y,(ue-Be)*a,(ie-Be)*y,(ue-fe)*a)),Pe.add(new go.PathSegment(go.PathSegment.Line,.5*y,.2*a)),E.spot1=new go.Spot(.2,.2),E.spot2=new go.Spot(.8,.65),E}),go.Shape.setFigureParameter("Card",0,new wt("CornerCutoutSize",.2,.1,.9)),go.Shape.defineFigureGenerator("Card",function(se,y,a){var E=se?se.parameter1:NaN;isNaN(E)&&(E=.2);var b=new go.Geometry,x=new go.PathFigure(y,0,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,E*a)),x.add(new go.PathSegment(go.PathSegment.Line,E*y,0).close()),b.spot1=new go.Spot(0,E),b.spot2=go.Spot.BottomRight,b}),go.Shape.defineFigureGenerator("Collate",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(.5*y,.5*a,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a));var x=new go.PathFigure(.5*y,.5*a,!0);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a)),x.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a)),E.spot1=new go.Spot(.25,0),E.spot2=new go.Spot(.75,.25),E}),go.Shape.defineFigureGenerator("CreateRequest",function(se,y,a){var E=new go.Geometry,b=se?se.parameter1:NaN;isNaN(b)&&(b=.1);var x=new go.PathFigure(0,0,!0);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,0)),x.add(new go.PathSegment(go.PathSegment.Line,y,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var te=new go.PathFigure(0,b*a,!1);return E.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y,b*a)),te.add(new go.PathSegment(go.PathSegment.Move,0,(1-b)*a)),te.add(new go.PathSegment(go.PathSegment.Line,y,(1-b)*a)),E}),go.Shape.defineFigureGenerator("Database",function(se,y,a){var E=new go.Geometry,b=be*.5,x=be*.1,te=new go.PathFigure(y,.1*a,!0);E.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y,.9*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,y,(.9+x)*a,(.5+b)*y,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,(.5-b)*y,a,0,(.9+x)*a)),te.add(new go.PathSegment(go.PathSegment.Line,0,.1*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,0,(.1-x)*a,(.5-b)*y,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,y,.1*a,(.5+b)*y,0,y,(.1-x)*a));var ae=new go.PathFigure(y,.1*a,!1);return E.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.2*a,y,(.1+x)*a,(.5+b)*y,.2*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*a,(.5-b)*y,.2*a,0,(.1+x)*a)),ae.add(new go.PathSegment(go.PathSegment.Move,y,.2*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.3*a,y,(.2+x)*a,(.5+b)*y,.3*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*a,(.5-b)*y,.3*a,0,(.2+x)*a)),ae.add(new go.PathSegment(go.PathSegment.Move,y,.3*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.4*a,y,(.3+x)*a,(.5+b)*y,.4*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,0,.3*a,(.5-b)*y,.4*a,0,(.3+x)*a)),E.spot1=new go.Spot(0,.4),E.spot2=new go.Spot(1,.9),E}),go.Shape.defineFigureGenerator("DataStorage",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(0,0,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.75*y,a,y,0,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*y,.9*a,.25*y,.1*a).close()),E.spot1=new go.Spot(.226,0),E.spot2=new go.Spot(.81,1),E}),go.Shape.defineFigureGenerator("DiskStorage",function(se,y,a){var E=new go.Geometry,b=be*.5,x=be*.1,te=new go.PathFigure(y,.1*a,!0);E.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y,.9*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,y,(.9+x)*a,(.5+b)*y,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,(.5-b)*y,a,0,(.9+x)*a)),te.add(new go.PathSegment(go.PathSegment.Line,0,.1*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,0,(.1-x)*a,(.5-b)*y,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,y,.1*a,(.5+b)*y,0,y,(.1-x)*a));var ae=new go.PathFigure(y,.1*a,!1);return E.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.2*a,y,(.1+x)*a,(.5+b)*y,.2*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*a,(.5-b)*y,.2*a,0,(.1+x)*a)),ae.add(new go.PathSegment(go.PathSegment.Move,y,.2*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.3*a,y,(.2+x)*a,(.5+b)*y,.3*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*a,(.5-b)*y,.3*a,0,(.2+x)*a)),E.spot1=new go.Spot(0,.3),E.spot2=new go.Spot(1,.9),E}),go.Shape.defineFigureGenerator("Display",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(.25*y,0,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.75*y,a,y,0,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.25*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*a).close()),E.spot1=new go.Spot(.25,0),E.spot2=new go.Spot(.75,1),E}),go.Shape.defineFigureGenerator("DividedEvent",function(se,y,a){var E=new go.Geometry,b=se?se.parameter1:NaN;isNaN(b)?b=.2:b<.15&&(b=.15);var x=be*.2,te=new go.PathFigure(0,.2*a,!0);E.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,.2*y,0,0,(.2-x)*a,(.2-x)*y,0)),te.add(new go.PathSegment(go.PathSegment.Line,.8*y,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,y,.2*a,(.8+x)*y,0,y,(.2-x)*a)),te.add(new go.PathSegment(go.PathSegment.Line,y,.8*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,a,y,(.8+x)*a,(.8+x)*y,a)),te.add(new go.PathSegment(go.PathSegment.Line,.2*y,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.8*a,(.2-x)*y,a,0,(.8+x)*a)),te.add(new go.PathSegment(go.PathSegment.Line,0,.2*a));var ae=new go.PathFigure(0,b*a,!1);return E.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,y,b*a)),E}),go.Shape.defineFigureGenerator("DividedProcess",function(se,y,a){var E=new go.Geometry,b=se?se.parameter1:NaN;(isNaN(b)||b<.1)&&(b=.1);var x=new go.PathFigure(0,0,!0);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,0)),x.add(new go.PathSegment(go.PathSegment.Line,y,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var te=new go.PathFigure(0,b*a,!1);return E.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y,b*a)),E}),go.Shape.defineFigureGenerator("Document",function(se,y,a){var E=new go.Geometry;a=a/.8;var b=new go.PathFigure(0,.7*a,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.7*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.5*y,.4*a,.5*y,a).close()),E.spot1=go.Spot.TopLeft,E.spot2=new go.Spot(1,.6),E}),go.Shape.defineFigureGenerator("ExternalOrganization",function(se,y,a){var E=new go.Geometry,b=se?se.parameter1:NaN;(isNaN(b)||b<.2)&&(b=.2);var x=new go.PathFigure(0,0,!0);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,0)),x.add(new go.PathSegment(go.PathSegment.Line,y,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var te=new go.PathFigure(b*y,0,!1);return E.add(te),te.add(new go.PathSegment(go.PathSegment.Line,0,b*a)),te.add(new go.PathSegment(go.PathSegment.Move,y,b*a)),te.add(new go.PathSegment(go.PathSegment.Line,(1-b)*y,0)),te.add(new go.PathSegment(go.PathSegment.Move,0,(1-b)*a)),te.add(new go.PathSegment(go.PathSegment.Line,b*y,a)),te.add(new go.PathSegment(go.PathSegment.Move,(1-b)*y,a)),te.add(new go.PathSegment(go.PathSegment.Line,y,(1-b)*a)),E}),go.Shape.defineFigureGenerator("ExternalProcess",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(.5*y,0,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*a).close());var x=new go.PathFigure(.1*y,.4*a,!1);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.1*y,.6*a)),x.add(new go.PathSegment(go.PathSegment.Move,.9*y,.6*a)),x.add(new go.PathSegment(go.PathSegment.Line,.9*y,.4*a)),x.add(new go.PathSegment(go.PathSegment.Move,.6*y,.1*a)),x.add(new go.PathSegment(go.PathSegment.Line,.4*y,.1*a)),x.add(new go.PathSegment(go.PathSegment.Move,.4*y,.9*a)),x.add(new go.PathSegment(go.PathSegment.Line,.6*y,.9*a)),E.spot1=new go.Spot(.25,.25),E.spot2=new go.Spot(.75,.75),E}),go.Shape.defineFigureGenerator("File",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(0,0,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.25*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var x=new go.PathFigure(.75*y,0,!1);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.75*y,.25*a)),x.add(new go.PathSegment(go.PathSegment.Line,y,.25*a)),E.spot1=new go.Spot(0,.25),E.spot2=go.Spot.BottomRight,E}),go.Shape.defineFigureGenerator("Interrupt",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(y,.5*a,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.5*a));var x=new go.PathFigure(y,.5*a,!1);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,a));var te=new go.PathFigure(y,.5*a,!1);return E.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.spot1=new go.Spot(0,.25),E.spot2=new go.Spot(.5,.75),E}),go.Shape.defineFigureGenerator("InternalStorage",function(se,y,a){var E=new go.Geometry,b=se?se.parameter1:NaN,x=se?se.parameter2:NaN;isNaN(b)&&(b=.1),isNaN(x)&&(x=.1);var te=new go.PathFigure(0,0,!0);E.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y,0)),te.add(new go.PathSegment(go.PathSegment.Line,y,a)),te.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var ae=new go.PathFigure(b*y,0,!1);return E.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,b*y,a)),ae.add(new go.PathSegment(go.PathSegment.Move,0,x*a)),ae.add(new go.PathSegment(go.PathSegment.Line,y,x*a)),E}),go.Shape.defineFigureGenerator("Junction",function(se,y,a){var E=new go.Geometry,b=1/Math.SQRT2,x=(1-1/Math.SQRT2)/2,te=be*.5,ae=.5,ie=new go.PathFigure(y,ae*a,!0);E.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,ae*y,a,y,(ae+te)*a,(ae+te)*y,a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,0,ae*a,(ae-te)*y,a,0,(ae+te)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,ae*y,0,0,(ae-te)*a,(ae-te)*y,0)),ie.add(new go.PathSegment(go.PathSegment.Bezier,y,ae*a,(ae+te)*y,0,y,(ae-te)*a));var ue=new go.PathFigure((x+b)*y,(x+b)*a,!1);return E.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,x*y,x*a)),ue.add(new go.PathSegment(go.PathSegment.Move,x*y,(x+b)*a)),ue.add(new go.PathSegment(go.PathSegment.Line,(x+b)*y,x*a)),E}),go.Shape.defineFigureGenerator("LinedDocument",function(se,y,a){var E=new go.Geometry;a=a/.8;var b=new go.PathFigure(0,.7*a,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.7*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.5*y,.4*a,.5*y,a).close());var x=new go.PathFigure(.1*y,0,!1);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.1*y,.75*a)),E.spot1=new go.Spot(.1,0),E.spot2=new go.Spot(1,.6),E}),go.Shape.defineFigureGenerator("LoopLimit",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(0,a,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),b.add(new go.PathSegment(go.PathSegment.Line,.25*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.25*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a).close()),E.spot1=new go.Spot(0,.25),E.spot2=go.Spot.BottomRight,E}),go.Shape.defineFigureGenerator("MagneticTape",function(se,y,a){var E=new go.Geometry,b=be*.5,x=.5,te=new go.PathFigure(.5*y,a,!0);return E.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,0,x*a,(x-b)*y,a,0,(x+b)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,x*y,0,0,(x-b)*a,(x-b)*y,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,y,x*a,(x+b)*y,0,y,(x-b)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,(x+.1)*y,.9*a,y,(x+b)*a,(x+b)*y,.9*a)),te.add(new go.PathSegment(go.PathSegment.Line,y,.9*a)),te.add(new go.PathSegment(go.PathSegment.Line,y,a)),te.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),E.spot1=new go.Spot(.15,.15),E.spot2=new go.Spot(.85,.8),E}),go.Shape.defineFigureGenerator("ManualInput",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(y,0,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.25*a).close()),E.spot1=new go.Spot(0,.25),E.spot2=go.Spot.BottomRight,E}),go.Shape.defineFigureGenerator("MessageFromUser",function(se,y,a){var E=new go.Geometry,b=se?se.parameter1:NaN;isNaN(b)&&(b=.7);var x=new go.PathFigure(0,0,!0);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,0)),x.add(new go.PathSegment(go.PathSegment.Line,b*y,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,y,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),E.spot1=go.Spot.TopLeft,E}),go.Shape.defineFigureGenerator("MicroformProcessing",function(se,y,a){var E=new go.Geometry,b=se?se.parameter1:NaN;isNaN(b)&&(b=.25);var x=new go.PathFigure(0,0,!0);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*y,b*a)),x.add(new go.PathSegment(go.PathSegment.Line,y,0)),x.add(new go.PathSegment(go.PathSegment.Line,y,a)),x.add(new go.PathSegment(go.PathSegment.Line,.5*y,(1-b)*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),E}),go.Shape.defineFigureGenerator("MicroformRecording",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(0,0,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*y,.25*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.15*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.85*a)),b.add(new go.PathSegment(go.PathSegment.Line,.75*y,.75*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),E.spot1=new go.Spot(0,.25),E.spot2=new go.Spot(1,.75),E}),go.Shape.defineFigureGenerator("MultiDocument",function(se,y,a){var E=new go.Geometry;a=a/.8;var b=new go.PathFigure(y,0,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*y,.44*a,.96*y,.47*a,.93*y,.45*a)),b.add(new go.PathSegment(go.PathSegment.Line,.9*y,.6*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,.54*a,.86*y,.57*a,.83*y,.55*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*y,.7*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.4*y,.4*a,.4*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,.1*y,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,.1*y,.1*a)),b.add(new go.PathSegment(go.PathSegment.Line,.2*y,.1*a)),b.add(new go.PathSegment(go.PathSegment.Line,.2*y,0).close());var x=new go.PathFigure(.1*y,.2*a,!1);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.8*y,.2*a)),x.add(new go.PathSegment(go.PathSegment.Line,.8*y,.54*a)),x.add(new go.PathSegment(go.PathSegment.Move,.2*y,.1*a)),x.add(new go.PathSegment(go.PathSegment.Line,.9*y,.1*a)),x.add(new go.PathSegment(go.PathSegment.Line,.9*y,.44*a)),E.spot1=new go.Spot(0,.25),E.spot2=new go.Spot(.8,.77),E}),go.Shape.defineFigureGenerator("MultiProcess",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(.1*y,.1*a,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.2*y,.1*a)),b.add(new go.PathSegment(go.PathSegment.Line,.2*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,.9*y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,.9*y,.9*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*y,.9*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,.1*y,.2*a).close());var x=new go.PathFigure(.2*y,.1*a,!1);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.9*y,.1*a)),x.add(new go.PathSegment(go.PathSegment.Line,.9*y,.8*a)),x.add(new go.PathSegment(go.PathSegment.Move,.1*y,.2*a)),x.add(new go.PathSegment(go.PathSegment.Line,.8*y,.2*a)),x.add(new go.PathSegment(go.PathSegment.Line,.8*y,.9*a)),E.spot1=new go.Spot(0,.2),E.spot2=new go.Spot(.8,1),E}),go.Shape.defineFigureGenerator("OfflineStorage",function(se,y,a){var E=new go.Geometry,b=se?se.parameter1:NaN;isNaN(b)&&(b=.1);var x=1-b,te=new go.PathFigure(0,0,!0);E.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y,0)),te.add(new go.PathSegment(go.PathSegment.Line,.5*y,a).close());var ae=new go.PathFigure(.5*b*y,b*a,!1);return E.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,(1-.5*b)*y,b*a)),E}),go.Shape.defineFigureGenerator("OffPageConnector",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(0,0,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.75*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),E.spot1=go.Spot.TopLeft,E.spot2=new go.Spot(.75,1),E}),go.Shape.defineFigureGenerator("Or",function(se,y,a){var E=new go.Geometry,b=be*.5,x=.5,te=new go.PathFigure(y,x*a,!0);E.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,x*y,a,y,(x+b)*a,(x+b)*y,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,x*a,(x-b)*y,a,0,(x+b)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,x*y,0,0,(x-b)*a,(x-b)*y,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,y,x*a,(x+b)*y,0,y,(x-b)*a));var ae=new go.PathFigure(y,.5*a,!1);return E.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),ae.add(new go.PathSegment(go.PathSegment.Move,.5*y,a)),ae.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),E}),go.Shape.defineFigureGenerator("PaperTape",function(se,y,a){var E=new go.Geometry;a=a/.8;var b=new go.PathFigure(0,.7*a,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.3*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,y,.3*a,.5*y,.6*a,.5*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.7*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.5*y,.4*a,.5*y,a).close()),E.spot1=new go.Spot(0,.49),E.spot2=new go.Spot(1,.75),E}),go.Shape.defineFigureGenerator("PrimitiveFromCall",function(se,y,a){var E=new go.Geometry,b=se?se.parameter1:NaN,x=se?se.parameter2:NaN;isNaN(b)&&(b=.1),isNaN(x)&&(x=.3);var te=new go.PathFigure(0,0,!0);return E.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y,0)),te.add(new go.PathSegment(go.PathSegment.Line,(1-x)*y,.5*a)),te.add(new go.PathSegment(go.PathSegment.Line,y,a)),te.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),E}),go.Shape.defineFigureGenerator("PrimitiveToCall",function(se,y,a){var E=new go.Geometry,b=se?se.parameter1:NaN,x=se?se.parameter2:NaN;isNaN(b)&&(b=.1),isNaN(x)&&(x=.3);var te=new go.PathFigure(0,0,!0);return E.add(te),te.add(new go.PathSegment(go.PathSegment.Line,(1-x)*y,0)),te.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),te.add(new go.PathSegment(go.PathSegment.Line,(1-x)*y,a)),te.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),E}),go.Shape.defineFigureGenerator("Procedure",function(se,y,a){var E=new go.Geometry,b=se?se.parameter1:NaN;isNaN(b)&&(b=.1);var x=new go.PathFigure(0,0,!0);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,0)),x.add(new go.PathSegment(go.PathSegment.Line,y,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var te=new go.PathFigure((1-b)*y,0,!1);return E.add(te),te.add(new go.PathSegment(go.PathSegment.Line,(1-b)*y,a)),te.add(new go.PathSegment(go.PathSegment.Move,b*y,0)),te.add(new go.PathSegment(go.PathSegment.Line,b*y,a)),E}),go.Shape.defineFigureGenerator("Process",function(se,y,a){var E=new go.Geometry,b=se?se.parameter1:NaN;isNaN(b)&&(b=.1);var x=new go.PathFigure(0,0,!0);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,0)),x.add(new go.PathSegment(go.PathSegment.Line,y,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var te=new go.PathFigure(b*y,0,!1);return E.add(te),te.add(new go.PathSegment(go.PathSegment.Line,b*y,a)),E.spot2=go.Spot.BottomRight,E}),go.Shape.defineFigureGenerator("Sort",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(.5*y,0,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*a).close());var x=new go.PathFigure(0,.5*a,!1);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.spot1=new go.Spot(.25,.25),E.spot2=new go.Spot(.75,.5),E}),go.Shape.defineFigureGenerator("Start",function(se,y,a){var E=new go.Geometry,b=se?se.parameter1:NaN;isNaN(b)&&(b=.25);var x=new go.PathFigure(b*y,0,!0);E.add(x),x.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*y,.5*a,.25*y,.5*a)),x.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*y,.5*a,.25*y,.5*a));var te=new go.PathFigure(b*y,0,!1);return E.add(te),te.add(new go.PathSegment(go.PathSegment.Line,b*y,a)),te.add(new go.PathSegment(go.PathSegment.Move,(1-b)*y,0)),te.add(new go.PathSegment(go.PathSegment.Line,(1-b)*y,a)),E.spot1=new go.Spot(b,0),E.spot2=new go.Spot(1-b,1),E}),go.Shape.defineFigureGenerator("Terminator",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(.25*y,0,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*y,.5*a,.25*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*y,.5*a,.25*y,.5*a)),E.spot1=new go.Spot(.23,0),E.spot2=new go.Spot(.77,1),E}),go.Shape.defineFigureGenerator("TransmittalTape",function(se,y,a){var E=new go.Geometry,b=se?se.parameter1:NaN;isNaN(b)&&(b=.1);var x=new go.PathFigure(0,0,!0);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,0)),x.add(new go.PathSegment(go.PathSegment.Line,y,a)),x.add(new go.PathSegment(go.PathSegment.Line,.75*y,(1-b)*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,(1-b)*a).close()),E.spot1=go.Spot.TopLeft,E}),go.Shape.defineFigureGenerator("AndGate",function(se,y,a){var E=new go.Geometry,b=be*.5,x=new go.PathFigure(0,0,!0);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),x.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,(.5+b)*y,0,y,(.5-b)*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,y,(.5+b)*a,(.5+b)*y,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),E.spot1=go.Spot.TopLeft,E.spot2=new go.Spot(.55,1),E}),go.Shape.defineFigureGenerator("Buffer",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(0,0,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),E.spot1=new go.Spot(0,.25),E.spot2=new go.Spot(.5,.75),E}),go.Shape.defineFigureGenerator("Clock",function(se,y,a){var E=new go.Geometry,b=be*.5,x=.5,te=new go.PathFigure(y,x*a,!0);E.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,x*y,a,y,(x+b)*a,(x+b)*y,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,x*a,(x-b)*y,a,0,(x+b)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,x*y,0,0,(x-b)*a,(x-b)*y,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,y,x*a,(x+b)*y,0,y,(x-b)*a));var ae=new go.PathFigure(y,x*a,!1);E.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,y,x*a));var ie=new go.PathFigure(.8*y,.75*a,!1);return E.add(ie),ie.add(new go.PathSegment(go.PathSegment.Line,.8*y,.25*a)),ie.add(new go.PathSegment(go.PathSegment.Line,.6*y,.25*a)),ie.add(new go.PathSegment(go.PathSegment.Line,.6*y,.75*a)),ie.add(new go.PathSegment(go.PathSegment.Line,.4*y,.75*a)),ie.add(new go.PathSegment(go.PathSegment.Line,.4*y,.25*a)),ie.add(new go.PathSegment(go.PathSegment.Line,.2*y,.25*a)),ie.add(new go.PathSegment(go.PathSegment.Line,.2*y,.75*a)),E}),go.Shape.defineFigureGenerator("Ground",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(.5*y,0,!1);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,.4*a)),b.add(new go.PathSegment(go.PathSegment.Move,.2*y,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*y,.6*a)),b.add(new go.PathSegment(go.PathSegment.Move,.3*y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,.7*y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Move,.4*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.6*y,a)),E}),go.Shape.defineFigureGenerator("Inverter",function(se,y,a){var E=new go.Geometry,b=be*.1,x=.1,te=.9,ae=.5,ie=new go.PathFigure(.8*y,.5*a,!0);E.add(ie),ie.add(new go.PathSegment(go.PathSegment.Line,0,a)),ie.add(new go.PathSegment(go.PathSegment.Line,0,0)),ie.add(new go.PathSegment(go.PathSegment.Line,.8*y,.5*a));var ue=new go.PathFigure((te+x)*y,ae*a,!0);return E.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,te*y,(ae+x)*a,(te+x)*y,(ae+b)*a,(te+b)*y,(ae+x)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(te-x)*y,ae*a,(te-b)*y,(ae+x)*a,(te-x)*y,(ae+b)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,te*y,(ae-x)*a,(te-x)*y,(ae-b)*a,(te-b)*y,(ae-x)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(te+x)*y,ae*a,(te+b)*y,(ae-x)*a,(te+x)*y,(ae-b)*a)),E.spot1=new go.Spot(0,.25),E.spot2=new go.Spot(.4,.75),E}),go.Shape.defineFigureGenerator("NandGate",function(se,y,a){var E=new go.Geometry,b=be*.5,x=be*.4,te=be*.1,ae=.1,ie=.9,ue=.5,de=new go.PathFigure(.8*y,.5*a,!0);E.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,.4*y,a,.8*y,(.5+x)*a,(.4+b)*y,a)),de.add(new go.PathSegment(go.PathSegment.Line,0,a)),de.add(new go.PathSegment(go.PathSegment.Line,0,0)),de.add(new go.PathSegment(go.PathSegment.Line,.4*y,0)),de.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,.5*a,(.4+b)*y,0,.8*y,(.5-x)*a));var fe=new go.PathFigure((ie+ae)*y,ue*a,!0);return E.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,ie*y,(ue+ae)*a,(ie+ae)*y,(ue+te)*a,(ie+te)*y,(ue+ae)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ie-ae)*y,ue*a,(ie-te)*y,(ue+ae)*a,(ie-ae)*y,(ue+te)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,ie*y,(ue-ae)*a,(ie-ae)*y,(ue-te)*a,(ie-te)*y,(ue-ae)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ie+ae)*y,ue*a,(ie+te)*y,(ue-ae)*a,(ie+ae)*y,(ue-te)*a)),E.spot1=new go.Spot(0,.05),E.spot2=new go.Spot(.55,.95),E}),go.Shape.defineFigureGenerator("NorGate",function(se,y,a){var E=new go.Geometry,b=.5,x=be*b,te=0,ae=.5,ie=new go.PathFigure(.8*y,.5*a,!0);E.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,0,a,.7*y,(ae+x)*a,(te+x)*y,(ae+b)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*y,.75*a,.25*y,.25*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,.5*a,(te+x)*y,(ae-b)*a,.7*y,(ae-x)*a)),b=.1,x=be*.1,te=.9,ae=.5;var ue=new go.PathFigure((te-b)*y,ae*a,!0);return E.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,te*y,(ae-b)*a,(te-b)*y,(ae-x)*a,(te-x)*y,(ae-b)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(te+b)*y,ae*a,(te+x)*y,(ae-b)*a,(te+b)*y,(ae-x)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,te*y,(ae+b)*a,(te+b)*y,(ae+x)*a,(te+x)*y,(ae+b)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(te-b)*y,ae*a,(te-x)*y,(ae+b)*a,(te-b)*y,(ae+x)*a)),E.spot1=new go.Spot(.2,.25),E.spot2=new go.Spot(.6,.75),E}),go.Shape.defineFigureGenerator("OrGate",function(se,y,a){var E=new go.Geometry,b=.5,x=be*b,te=0,ae=.5,ie=new go.PathFigure(0,0,!0);return E.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,(te+x+x)*y,(ae-b)*a,.8*y,(ae-x)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,0,a,.8*y,(ae+x)*a,(te+x+x)*y,(ae+b)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*y,.75*a,.25*y,.25*a).close()),E.spot1=new go.Spot(.2,.25),E.spot2=new go.Spot(.75,.75),E}),go.Shape.defineFigureGenerator("XnorGate",function(se,y,a){var E=new go.Geometry,b=.5,x=be*b,te=.2,ae=.5,ie=new go.PathFigure(.1*y,0,!1);E.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,.1*y,a,.35*y,.25*a,.35*y,.75*a));var ue=new go.PathFigure(.8*y,.5*a,!0);E.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,.2*y,a,.7*y,(ae+x)*a,(te+x)*y,(ae+b)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,.2*y,0,.45*y,.75*a,.45*y,.25*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,.5*a,(te+x)*y,(ae-b)*a,.7*y,(ae-x)*a)),b=.1,x=be*.1,te=.9,ae=.5;var de=new go.PathFigure((te-b)*y,ae*a,!0);return E.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,te*y,(ae-b)*a,(te-b)*y,(ae-x)*a,(te-x)*y,(ae-b)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,(te+b)*y,ae*a,(te+x)*y,(ae-b)*a,(te+b)*y,(ae-x)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,te*y,(ae+b)*a,(te+b)*y,(ae+x)*a,(te+x)*y,(ae+b)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,(te-b)*y,ae*a,(te-x)*y,(ae+b)*a,(te-b)*y,(ae+x)*a)),E.spot1=new go.Spot(.4,.25),E.spot2=new go.Spot(.65,.75),E}),go.Shape.defineFigureGenerator("XorGate",function(se,y,a){var E=new go.Geometry,b=.5,x=be*b,te=.2,ae=.5,ie=new go.PathFigure(.1*y,0,!1);E.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,.1*y,a,.35*y,.25*a,.35*y,.75*a));var ue=new go.PathFigure(.2*y,0,!0);return E.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,(te+x)*y,(ae-b)*a,.9*y,(ae-x)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,.2*y,a,.9*y,(ae+x)*a,(te+x)*y,(ae+b)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,.2*y,0,.45*y,.75*a,.45*y,.25*a).close()),E.spot1=new go.Spot(.4,.25),E.spot2=new go.Spot(.8,.75),E}),go.Shape.defineFigureGenerator("Capacitor",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(0,0,!1);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Move,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),E}),go.Shape.defineFigureGenerator("Resistor",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(0,.5*a,!1);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.1*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.2*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.3*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.4*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.6*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.7*y,.5*a)),E}),go.Shape.defineFigureGenerator("Inductor",function(se,y,a){var E=new go.Geometry,b=be*.1,x=.1,te=.1,ae=.5,ie=new go.PathFigure((te-b*.5)*y,a,!1);return E.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,(te+x)*y,0,(te-b)*y,a,(te-x)*y,0)),te=.3,ie.add(new go.PathSegment(go.PathSegment.Bezier,te*y,a,(te+x)*y,0,(te+b)*y,a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(te+x)*y,0,(te-b)*y,a,(te-x)*y,0)),te=.5,ie.add(new go.PathSegment(go.PathSegment.Bezier,te*y,a,(te+x)*y,0,(te+b)*y,a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(te+x)*y,0,(te-b)*y,a,(te-x)*y,0)),te=.7,ie.add(new go.PathSegment(go.PathSegment.Bezier,te*y,a,(te+x)*y,0,(te+b)*y,a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(te+x)*y,0,(te-b)*y,a,(te-x)*y,0)),te=.9,ie.add(new go.PathSegment(go.PathSegment.Bezier,(te+b*.5)*y,a,(te+x)*y,0,(te+b)*y,a)),E}),go.Shape.defineFigureGenerator("ACvoltageSource",function(se,y,a){var E=new go.Geometry,b=be*.5,x=.5,te=.5,ae=.5,ie=new go.PathFigure((te-x)*y,ae*a,!1);return E.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,te*y,(ae-x)*a,(te-x)*y,(ae-b)*a,(te-b)*y,(ae-x)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(te+x)*y,ae*a,(te+b)*y,(ae-x)*a,(te+x)*y,(ae-b)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,te*y,(ae+x)*a,(te+x)*y,(ae+b)*a,(te+b)*y,(ae+x)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(te-x)*y,ae*a,(te-b)*y,(ae+x)*a,(te-x)*y,(ae+b)*a)),ie.add(new go.PathSegment(go.PathSegment.Move,(te-x+.1)*y,ae*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(te+x-.1)*y,ae*a,te*y,(ae-x)*a,te*y,(ae+x)*a)),E}),go.Shape.defineFigureGenerator("DCvoltageSource",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(0,.75*a,!1);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),b.add(new go.PathSegment(go.PathSegment.Move,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),E}),go.Shape.defineFigureGenerator("Diode",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(y,0,!1);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.spot1=new go.Spot(0,.25),E.spot2=new go.Spot(.5,.75),E}),go.Shape.defineFigureGenerator("Wifi",function(se,y,a){var E=new go.Geometry,b=y,x=a;y=y*.38,a=a*.6;var te=be*.8,ae=.8,ie=0,ue=.5,de=(b-y)/2,fe=(x-a)/2,Be=new go.PathFigure(ie*y+de,(ue+ae)*a+fe,!0);E.add(Be),Be.add(new go.PathSegment(go.PathSegment.Bezier,(ie-ae)*y+de,ue*a+fe,(ie-te)*y+de,(ue+ae)*a+fe,(ie-ae)*y+de,(ue+te)*a+fe)),Be.add(new go.PathSegment(go.PathSegment.Bezier,ie*y+de,(ue-ae)*a+fe,(ie-ae)*y+de,(ue-te)*a+fe,(ie-te)*y+de,(ue-ae)*a+fe)),Be.add(new go.PathSegment(go.PathSegment.Bezier,(ie-ae+te*.5)*y+de,ue*a+fe,ie*y+de,(ue-ae)*a+fe,(ie-ae+te*.5)*y+de,(ue-te)*a+fe)),Be.add(new go.PathSegment(go.PathSegment.Bezier,ie*y+de,(ue+ae)*a+fe,(ie-ae+te*.5)*y+de,(ue+te)*a+fe,ie*y+de,(ue+ae)*a+fe).close()),te=be*.4,ae=.4,ie=.2,ue=.5;var Pe=new go.PathFigure(ie*y+de,(ue+ae)*a+fe,!0);E.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(ie-ae)*y+de,ue*a+fe,(ie-te)*y+de,(ue+ae)*a+fe,(ie-ae)*y+de,(ue+te)*a+fe)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,ie*y+de,(ue-ae)*a+fe,(ie-ae)*y+de,(ue-te)*a+fe,(ie-te)*y+de,(ue-ae)*a+fe)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(ie-ae+te*.5)*y+de,ue*a+fe,ie*y+de,(ue-ae)*a+fe,(ie-ae+te*.5)*y+de,(ue-te)*a+fe)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,ie*y+de,(ue+ae)*a+fe,(ie-ae+te*.5)*y+de,(ue+te)*a+fe,ie*y+de,(ue+ae)*a+fe).close()),te=be*.2,ae=.2,ie=.5,ue=.5;var We=new go.PathFigure((ie-ae)*y+de,ue*a+fe,!0);E.add(We),We.add(new go.PathSegment(go.PathSegment.Bezier,ie*y+de,(ue-ae)*a+fe,(ie-ae)*y+de,(ue-te)*a+fe,(ie-te)*y+de,(ue-ae)*a+fe)),We.add(new go.PathSegment(go.PathSegment.Bezier,(ie+ae)*y+de,ue*a+fe,(ie+te)*y+de,(ue-ae)*a+fe,(ie+ae)*y+de,(ue-te)*a+fe)),We.add(new go.PathSegment(go.PathSegment.Bezier,ie*y+de,(ue+ae)*a+fe,(ie+ae)*y+de,(ue+te)*a+fe,(ie+te)*y+de,(ue+ae)*a+fe)),We.add(new go.PathSegment(go.PathSegment.Bezier,(ie-ae)*y+de,ue*a+fe,(ie-te)*y+de,(ue+ae)*a+fe,(ie-ae)*y+de,(ue+te)*a+fe)),te=be*.4,ae=.4,ie=.8,ue=.5;var ve=new go.PathFigure(ie*y+de,(ue-ae)*a+fe,!0);E.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,(ie+ae)*y+de,ue*a+fe,(ie+te)*y+de,(ue-ae)*a+fe,(ie+ae)*y+de,(ue-te)*a+fe)),ve.add(new go.PathSegment(go.PathSegment.Bezier,ie*y+de,(ue+ae)*a+fe,(ie+ae)*y+de,(ue+te)*a+fe,(ie+te)*y+de,(ue+ae)*a+fe)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(ie+ae-te*.5)*y+de,ue*a+fe,ie*y+de,(ue+ae)*a+fe,(ie+ae-te*.5)*y+de,(ue+te)*a+fe)),ve.add(new go.PathSegment(go.PathSegment.Bezier,ie*y+de,(ue-ae)*a+fe,(ie+ae-te*.5)*y+de,(ue-te)*a+fe,ie*y+de,(ue-ae)*a+fe).close()),te=be*.8,ae=.8,ie=1,ue=.5;var Ue=new go.PathFigure(ie*y+de,(ue-ae)*a+fe,!0);return E.add(Ue),Ue.add(new go.PathSegment(go.PathSegment.Bezier,(ie+ae)*y+de,ue*a+fe,(ie+te)*y+de,(ue-ae)*a+fe,(ie+ae)*y+de,(ue-te)*a+fe)),Ue.add(new go.PathSegment(go.PathSegment.Bezier,ie*y+de,(ue+ae)*a+fe,(ie+ae)*y+de,(ue+te)*a+fe,(ie+te)*y+de,(ue+ae)*a+fe)),Ue.add(new go.PathSegment(go.PathSegment.Bezier,(ie+ae-te*.5)*y+de,ue*a+fe,ie*y+de,(ue+ae)*a+fe,(ie+ae-te*.5)*y+de,(ue+te)*a+fe)),Ue.add(new go.PathSegment(go.PathSegment.Bezier,ie*y+de,(ue-ae)*a+fe,(ie+ae-te*.5)*y+de,(ue-te)*a+fe,ie*y+de,(ue-ae)*a+fe).close()),E}),go.Shape.defineFigureGenerator("Email",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(0,0,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var x=new go.PathFigure(0,0,!1);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*y,.6*a)),x.add(new go.PathSegment(go.PathSegment.Line,y,0)),x.add(new go.PathSegment(go.PathSegment.Move,0,a)),x.add(new go.PathSegment(go.PathSegment.Line,.45*y,.54*a)),x.add(new go.PathSegment(go.PathSegment.Move,y,a)),x.add(new go.PathSegment(go.PathSegment.Line,.55*y,.54*a)),E}),go.Shape.defineFigureGenerator("Ethernet",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(.35*y,0,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.65*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.65*y,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,.35*y,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,.35*y,0).close());var x=new go.PathFigure(.1*y,a,!0,!0);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.4*y,a)),x.add(new go.PathSegment(go.PathSegment.Line,.4*y,.6*a)),x.add(new go.PathSegment(go.PathSegment.Line,.1*y,.6*a)),x.add(new go.PathSegment(go.PathSegment.Line,.1*y,a).close());var te=new go.PathFigure(.6*y,a,!0,!0);E.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.9*y,a)),te.add(new go.PathSegment(go.PathSegment.Line,.9*y,.6*a)),te.add(new go.PathSegment(go.PathSegment.Line,.6*y,.6*a)),te.add(new go.PathSegment(go.PathSegment.Line,.6*y,a).close());var ae=new go.PathFigure(0,.5*a,!1);return E.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),ae.add(new go.PathSegment(go.PathSegment.Move,.5*y,.5*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.5*y,.4*a)),ae.add(new go.PathSegment(go.PathSegment.Move,.75*y,.5*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.75*y,.6*a)),ae.add(new go.PathSegment(go.PathSegment.Move,.25*y,.5*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.25*y,.6*a)),E}),go.Shape.defineFigureGenerator("Power",function(se,y,a){var E=new go.Geometry,b=be*.4,x=.4,te=.5,ae=.5,ie=ne(),ue=ne(),de=ne(),fe=ne();Ne(te,ae-x,te+b,ae-x,te+x,ae-b,te+x,ae,.5,ie,ie,ue,de,fe);var Be=oe(ue.x,ue.y),Pe=new go.PathFigure(ue.x*y,ue.y*a,!0);E.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(te+x)*y,ae*a,de.x*y,de.y*a,fe.x*y,fe.y*a)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,te*y,(ae+x)*a,(te+x)*y,(ae+b)*a,(te+b)*y,(ae+x)*a)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(te-x)*y,ae*a,(te-b)*y,(ae+x)*a,(te-x)*y,(ae+b)*a)),Ne(te-x,ae,te-x,ae-b,te-b,ae-x,te,ae-x,.5,de,fe,ue,ie,ie),Pe.add(new go.PathSegment(go.PathSegment.Bezier,ue.x*y,ue.y*a,de.x*y,de.y*a,fe.x*y,fe.y*a)),b=be*.3,x=.3,Ne(te-x,ae,te-x,ae-b,te-b,ae-x,te,ae-x,.5,de,fe,ue,ie,ie),Pe.add(new go.PathSegment(go.PathSegment.Line,ue.x*y,ue.y*a)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(te-x)*y,ae*a,fe.x*y,fe.y*a,de.x*y,de.y*a)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,te*y,(ae+x)*a,(te-x)*y,(ae+b)*a,(te-b)*y,(ae+x)*a)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(te+x)*y,ae*a,(te+b)*y,(ae+x)*a,(te+x)*y,(ae+b)*a)),Ne(te,ae-x,te+b,ae-x,te+x,ae-b,te+x,ae,.5,ie,ie,ue,de,fe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,ue.x*y,ue.y*a,fe.x*y,fe.y*a,de.x*y,de.y*a).close());var Pe=new go.PathFigure(.45*y,0,!0);return E.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Line,.45*y,.5*a)),Pe.add(new go.PathSegment(go.PathSegment.Line,.55*y,.5*a)),Pe.add(new go.PathSegment(go.PathSegment.Line,.55*y,0).close()),pe(ie),pe(ue),pe(de),pe(fe),pe(Be),E.spot1=new go.Spot(.25,.45),E.spot2=new go.Spot(.75,.8),E}),go.Shape.defineFigureGenerator("Fallout",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(0,a/2,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,180,360,y/2,a/2,y/2,a/2));function x(te,ae,ie){te.add(new go.PathSegment(go.PathSegment.Move,(.3+ae)*y,(.8+ie)*a)),te.add(new go.PathSegment(go.PathSegment.Line,(.5+ae)*y,(.5+ie)*a)),te.add(new go.PathSegment(go.PathSegment.Line,(.1+ae)*y,(.5+ie)*a)),te.add(new go.PathSegment(go.PathSegment.Line,(.3+ae)*y,(.8+ie)*a).close())}return x(b,0,0),x(b,.4,0),x(b,.2,-.3),E}),go.Shape.defineFigureGenerator("IrritationHazard",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(.2*y,0,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,.3*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,.7*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,.7*a)),b.add(new go.PathSegment(go.PathSegment.Line,.2*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,.3*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.2*a).close()),E.spot1=new go.Spot(.3,.3),E.spot2=new go.Spot(.7,.7),E}),go.Shape.defineFigureGenerator("ElectricalHazard",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(.37*y,0,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,.11*a)),b.add(new go.PathSegment(go.PathSegment.Line,.77*y,.04*a)),b.add(new go.PathSegment(go.PathSegment.Line,.33*y,.49*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.37*a)),b.add(new go.PathSegment(go.PathSegment.Line,.63*y,.86*a)),b.add(new go.PathSegment(go.PathSegment.Line,.77*y,.91*a)),b.add(new go.PathSegment(go.PathSegment.Line,.34*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.34*y,.78*a)),b.add(new go.PathSegment(go.PathSegment.Line,.44*y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,.65*y,.56*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.68*a).close()),E}),go.Shape.defineFigureGenerator("FireHazard",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(.1*y,a,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.29*y,0,-.25*y,.63*a,.45*y,.44*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.51*y,.42*a,.48*y,.17*a,.54*y,.35*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.59*y,.18*a,.59*y,.29*a,.58*y,.28*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.75*y,.6*a,.8*y,.34*a,.88*y,.43*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.88*y,.31*a,.87*y,.48*a,.88*y,.43*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*y,a,1.17*y,.76*a,.82*y,.8*a).close()),E.spot1=new go.Spot(.07,.445),E.spot2=new go.Spot(.884,.958),E}),go.Shape.defineFigureGenerator("BpmnActivityLoop",function(se,y,a){var E=new go.Geometry,b=.5,x=0,te=0,ae=b*be,ie=.4*Math.SQRT2/2+.5,ue=.5-.5*Math.SQRT2/2,de=1,fe=.5,Be=.5,Pe=0,We=new go.PathFigure(ie*y,(1-ue)*a,!1);return E.add(We),We.add(new go.PathSegment(go.PathSegment.Bezier,de*y,fe*a,de*y,.7*a,de*y,fe*a)),We.add(new go.PathSegment(go.PathSegment.Bezier,(Be+x)*y,(Pe+x)*a,(.5+b+x)*y,(.5-ae+x)*a,(.5+ae+x)*y,(.5-b+x)*a)),We.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+x)*y,(.5+te)*a,(.5-ae+x)*y,(.5-b+te)*a,(.5-b+x)*y,(.5-ae+te)*a)),We.add(new go.PathSegment(go.PathSegment.Bezier,(.35+x)*y,.9*a,(.5-b+x)*y,(.5+ae+te)*a,(.5-ae+x)*y,.9*a)),We.add(new go.PathSegment(go.PathSegment.Move,(.25+x)*y,.8*a)),We.add(new go.PathSegment(go.PathSegment.Line,(.35+x)*y,.9*a)),We.add(new go.PathSegment(go.PathSegment.Line,(.2+x)*y,.95*a)),E}),go.Shape.defineFigureGenerator("BpmnActivityParallel",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(0,0,!1);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Move,.5*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),b.add(new go.PathSegment(go.PathSegment.Move,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),E}),go.Shape.defineFigureGenerator("BpmnActivitySequential",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(0,0,!1);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Move,0,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Move,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),E}),go.Shape.defineFigureGenerator("BpmnActivityAdHoc",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(0,0,!1);E.add(b);var x=new go.PathFigure(y,a,!1);E.add(x);var te=new go.PathFigure(0,.5*a,!1);return E.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.5*a,.2*y,.35*a,.3*y,.35*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,.7*y,.65*a,.8*y,.65*a)),E}),go.Shape.defineFigureGenerator("BpmnActivityCompensation",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(0,.5*a,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,a).close()),E}),go.Shape.defineFigureGenerator("BpmnTaskMessage",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(0,.2*a,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*a).close());var b=new go.PathFigure(0,.2*a,!1);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.2*a)),E}),go.Shape.defineFigureGenerator("BpmnTaskScript",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(.7*y,a,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.3*y,a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.3*y,0,.6*y,.5*a,0,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.7*y,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.7*y,a,.4*y,.5*a,y,.5*a).close());var x=new go.PathFigure(.45*y,.73*a,!1);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.7*y,.73*a)),x.add(new go.PathSegment(go.PathSegment.Move,.38*y,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,.63*y,.5*a)),x.add(new go.PathSegment(go.PathSegment.Move,.31*y,.27*a)),x.add(new go.PathSegment(go.PathSegment.Line,.56*y,.27*a)),E}),go.Shape.defineFigureGenerator("BpmnTaskUser",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(0,0,!1);E.add(b);var x=new go.PathFigure(.335*y,(1-.555)*a,!0);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.335*y,(1-.405)*a)),x.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*y,(1-.405)*a)),x.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*y,(1-.555)*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,y,.68*a,(1-.12)*y,.46*a,(1-.02)*y,.54*a)),x.add(new go.PathSegment(go.PathSegment.Line,y,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,.68*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,.335*y,(1-.555)*a,.02*y,.54*a,.12*y,.46*a)),x.add(new go.PathSegment(go.PathSegment.Line,.365*y,(1-.595)*a));var te=.5-.285,ae=.5,ie=te,ue=Math.PI/4,de=4*(1-Math.cos(ue))/(3*Math.sin(ue)),fe=de*.5,Be=te,Pe=te,We=de*Be,ve=de*Pe;x.add(new go.PathSegment(go.PathSegment.Bezier,(ae-Be)*y,ie*a,(ae-(We+Be)/2)*y,(ie+(Pe+ve)/2)*a,(ae-Be)*y,(ie+ve)*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,ae*y,(ie-Pe)*a,(ae-Be)*y,(ie-ve)*a,(ae-We)*y,(ie-Pe)*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,(ae+Be)*y,ie*a,(ae+We)*y,(ie-Pe)*a,(ae+Be)*y,(ie-ve)*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,(1-.365)*y,(1-.595)*a,(ae+Be)*y,(ie+ve)*a,(ae+(We+Be)/2)*y,(ie+(Pe+ve)/2)*a)),x.add(new go.PathSegment(go.PathSegment.Line,(1-.365)*y,(1-.595)*a)),x.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*y,(1-.555)*a)),x.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*y,(1-.405)*a)),x.add(new go.PathSegment(go.PathSegment.Line,.335*y,(1-.405)*a));var Ue=new go.PathFigure(.2*y,a,!1);E.add(Ue),Ue.add(new go.PathSegment(go.PathSegment.Line,.2*y,.8*a));var Bt=new go.PathFigure(.8*y,a,!1);return E.add(Bt),Bt.add(new go.PathSegment(go.PathSegment.Line,.8*y,.8*a)),E}),go.Shape.defineFigureGenerator("BpmnEventConditional",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(.1*y,0,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.9*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.9*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.1*y,a).close());var x=new go.PathFigure(.2*y,.2*a,!1);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.8*y,.2*a)),x.add(new go.PathSegment(go.PathSegment.Move,.2*y,.4*a)),x.add(new go.PathSegment(go.PathSegment.Line,.8*y,.4*a)),x.add(new go.PathSegment(go.PathSegment.Move,.2*y,.6*a)),x.add(new go.PathSegment(go.PathSegment.Line,.8*y,.6*a)),x.add(new go.PathSegment(go.PathSegment.Move,.2*y,.8*a)),x.add(new go.PathSegment(go.PathSegment.Line,.8*y,.8*a)),E}),go.Shape.defineFigureGenerator("BpmnEventError",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(0,a,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.33*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.66*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.66*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.33*y,.5*a).close()),E}),go.Shape.defineFigureGenerator("BpmnEventEscalation",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(0,0,!1);E.add(b);var x=new go.PathFigure(y,a,!1);E.add(x);var te=new go.PathFigure(.1*y,a,!0);return E.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),te.add(new go.PathSegment(go.PathSegment.Line,.9*y,a)),te.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a).close()),E}),go.Shape.defineFigureGenerator("Caution",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(.05*y,a,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.1*y,.8*a,0,a,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,.45*y,.1*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.55*y,.1*a,.5*y,0,.5*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.95*y,.9*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*y,a,y,a,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.05*y,a));var x=.05;return b.add(new go.PathSegment(go.PathSegment.Move,(.5-x)*y,.875*a)),b.add(new go.PathSegment(go.PathSegment.Arc,180,-360,.5*y,.875*a,x*y,x*a)),b.add(new go.PathSegment(go.PathSegment.Move,.5*y,.75*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.325*a,.575*y,.725*a,.625*y,.375*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.75*a,.375*y,.375*a,.425*y,.725*a)),E}),go.Shape.defineFigureGenerator("Recycle",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(.45*y,.95*a,!1);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.2*y,.95*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.185*y,.85*a,.17*y,.95*a,.15*y,.9*a)),b.add(new go.PathSegment(go.PathSegment.Line,.235*y,.75*a)),b.add(new go.PathSegment(go.PathSegment.Line,.3*y,.625*a)),b.add(new go.PathSegment(go.PathSegment.Line,.35*y,.65*a)),b.add(new go.PathSegment(go.PathSegment.Line,.275*y,.45*a)),b.add(new go.PathSegment(go.PathSegment.Line,.05*y,.45*a)),b.add(new go.PathSegment(go.PathSegment.Line,.1*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.05*y,.575*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.1875*y,.95*a,0,.675*a,0,.7*a)),b.add(new go.PathSegment(go.PathSegment.Move,.45*y,.95*a)),b.add(new go.PathSegment(go.PathSegment.Line,.45*y,.775*a)),b.add(new go.PathSegment(go.PathSegment.Line,.22*y,.775*a));var x=new go.PathFigure(.475*y,.2*a,!1);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.4*y,.4*a)),x.add(new go.PathSegment(go.PathSegment.Line,.225*y,.3*a)),x.add(new go.PathSegment(go.PathSegment.Line,.275*y,.175*a)),x.add(new go.PathSegment(go.PathSegment.Line,.325*y,.05*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,.4*y,.05*a,.35*y,0,.375*y,0)),x.add(new go.PathSegment(go.PathSegment.Line,.575*y,.375*a)),x.add(new go.PathSegment(go.PathSegment.Line,.525*y,.4*a)),x.add(new go.PathSegment(go.PathSegment.Line,.75*y,.475*a)),x.add(new go.PathSegment(go.PathSegment.Line,.85*y,.315*a)),x.add(new go.PathSegment(go.PathSegment.Line,.8*y,.32*a)),x.add(new go.PathSegment(go.PathSegment.Line,.65*y,.05*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,.575*y,0,.65*y,.05*a,.625*y,0)),x.add(new go.PathSegment(go.PathSegment.Line,.38*y,.0105*a));var te=new go.PathFigure(.675*y,.575*a,!1);return E.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.875*y,.525*a)),te.add(new go.PathSegment(go.PathSegment.Line,y,.775*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,.85*y,.95*a,y,.8*a,y,.85*a)),te.add(new go.PathSegment(go.PathSegment.Line,.65*y,.95*a)),te.add(new go.PathSegment(go.PathSegment.Line,.65*y,a)),te.add(new go.PathSegment(go.PathSegment.Line,.55*y,.85*a)),te.add(new go.PathSegment(go.PathSegment.Line,.65*y,.725*a)),te.add(new go.PathSegment(go.PathSegment.Line,.65*y,.775*a)),te.add(new go.PathSegment(go.PathSegment.Line,.7*y,.775*a)),te.add(new go.PathSegment(go.PathSegment.Line,y,.775*a)),te.add(new go.PathSegment(go.PathSegment.Move,.675*y,.575*a)),te.add(new go.PathSegment(go.PathSegment.Line,.775*y,.775*a)),E}),go.Shape.defineFigureGenerator("BpmnEventTimer",function(se,y,a){var E=new go.Geometry,b=.5,x=be*.5,te=new go.PathFigure(y,b*a,!0);E.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,b*y,a,y,(b+x)*a,(b+x)*y,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,b*a,(b-x)*y,a,0,(b+x)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,b*y,0,0,(b-x)*a,(b-x)*y,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,y,b*a,(b+x)*y,0,y,(b-x)*a));var ae=new go.PathFigure(b*y,0,!1);return E.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,b*y,.15*a)),ae.add(new go.PathSegment(go.PathSegment.Move,b*y,a)),ae.add(new go.PathSegment(go.PathSegment.Line,b*y,.85*a)),ae.add(new go.PathSegment(go.PathSegment.Move,0,b*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.15*y,b*a)),ae.add(new go.PathSegment(go.PathSegment.Move,y,b*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.85*y,b*a)),ae.add(new go.PathSegment(go.PathSegment.Move,b*y,b*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.58*y,.1*a)),ae.add(new go.PathSegment(go.PathSegment.Move,b*y,b*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.78*y,.54*a)),E}),go.Shape.defineFigureGenerator("Package",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(0,.15*a,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,.15*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var x=new go.PathFigure(0,.15*a,!0);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,0,0)),x.add(new go.PathSegment(go.PathSegment.Line,.6*y,0)),x.add(new go.PathSegment(go.PathSegment.Line,.65*y,.15*a).close()),E.spot1=new go.Spot(0,.1),E.spot2=new go.Spot(1,1),E}),go.Shape.defineFigureGenerator("Class",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(0,0,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var x=new go.PathFigure(0,.2*a,!1);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,.2*a).close());var te=new go.PathFigure(0,.5*a,!1);return E.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y,.5*a).close()),E}),go.Shape.defineFigureGenerator("Component",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(y,a,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.15*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.15*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a).close());var x=new go.PathFigure(0,.2*a,!0);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.45*y,.2*a)),x.add(new go.PathSegment(go.PathSegment.Line,.45*y,.4*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,.4*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,.2*a).close());var te=new go.PathFigure(0,.6*a,!0);return E.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.45*y,.6*a)),te.add(new go.PathSegment(go.PathSegment.Line,.45*y,.8*a)),te.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),te.add(new go.PathSegment(go.PathSegment.Line,0,.6*a).close()),E}),go.Shape.defineFigureGenerator("Boat Shipment",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(.15*y,.6*a,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.15*y,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,.15*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.85*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,.85*y,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.15*y,.6*a));var x=new go.PathFigure(.15*y,.6*a,!1);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.85*y,.6*a)),E}),go.Shape.defineFigureGenerator("Customer/Supplier",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(y,a,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.66*y,.33*a)),b.add(new go.PathSegment(go.PathSegment.Line,.66*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.33*y,.33*a)),b.add(new go.PathSegment(go.PathSegment.Line,.33*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,.33*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a).close()),E}),go.Shape.defineFigureGenerator("Workcell",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(0,a,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.65*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.65*y,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,.35*y,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,.35*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),E}),go.Shape.defineFigureGenerator("Supermarket",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(0,0,!1);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.33*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.33*a)),b.add(new go.PathSegment(go.PathSegment.Move,y,.33*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.66*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.66*a)),b.add(new go.PathSegment(go.PathSegment.Move,y,.66*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),E}),go.Shape.defineFigureGenerator("TruckShipment",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(0,0,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.6*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.6*y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var x=new go.PathFigure(y,.8*a,!0);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,.4*a)),x.add(new go.PathSegment(go.PathSegment.Line,.6*y,.4*a)),x.add(new go.PathSegment(go.PathSegment.Line,.6*y,.8*a)),x.add(new go.PathSegment(go.PathSegment.Line,y,.8*a).close());var te=.1,ae=be*.1,ie=.2,ue=.9,de=new go.PathFigure((ie-te)*y,ue*a,!0);E.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,ie*y,(ue-te)*a,(ie-te)*y,(ue-ae)*a,(ie-ae)*y,(ue-te)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,(ie+te)*y,ue*a,(ie+ae)*y,(ue-te)*a,(ie+te)*y,(ue-ae)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,ie*y,(ue+te)*a,(ie+te)*y,(ue+ae)*a,(ie+ae)*y,(ue+te)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,(ie-te)*y,ue*a,(ie-ae)*y,(ue+te)*a,(ie-te)*y,(ue+ae)*a).close()),te=.1,ae=be*.1,ie=.8,ue=.9;var fe=new go.PathFigure((ie-te)*y,ue*a,!0);return E.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,ie*y,(ue-te)*a,(ie-te)*y,(ue-ae)*a,(ie-ae)*y,(ue-te)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ie+te)*y,ue*a,(ie+ae)*y,(ue-te)*a,(ie+te)*y,(ue-ae)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,ie*y,(ue+te)*a,(ie+te)*y,(ue+ae)*a,(ie+ae)*y,(ue+te)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ie-te)*y,ue*a,(ie-ae)*y,(ue+te)*a,(ie-te)*y,(ue+ae)*a).close()),E}),go.Shape.defineFigureGenerator("KanbanPost",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(.2*y,0,!1);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.2*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*y,0)),b.add(new go.PathSegment(go.PathSegment.Move,.5*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.2*y,a)),b.add(new go.PathSegment(go.PathSegment.Move,.5*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*y,a)),E}),go.Shape.defineFigureGenerator("Forklift",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(0,0,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.4*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,0));var x=new go.PathFigure(0,.5*a,!0);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),x.add(new go.PathSegment(go.PathSegment.Line,.5*y,.8*a)),x.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,.5*a));var te=new go.PathFigure(.5*y,.8*a,!0);E.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*y,.1*a)),te.add(new go.PathSegment(go.PathSegment.Line,.55*y,.1*a)),te.add(new go.PathSegment(go.PathSegment.Line,.55*y,.8*a)),te.add(new go.PathSegment(go.PathSegment.Line,.5*y,.8*a));var ae=new go.PathFigure(.5*y,.7*a,!1);E.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,y,.7*a));var ie=.1,ue=be*.1,de=.1,fe=.9,Be=new go.PathFigure((de-ie)*y,fe*a,!0);E.add(Be),Be.add(new go.PathSegment(go.PathSegment.Bezier,de*y,(fe-ie)*a,(de-ie)*y,(fe-ue)*a,(de-ue)*y,(fe-ie)*a)),Be.add(new go.PathSegment(go.PathSegment.Bezier,(de+ie)*y,fe*a,(de+ue)*y,(fe-ie)*a,(de+ie)*y,(fe-ue)*a)),Be.add(new go.PathSegment(go.PathSegment.Bezier,de*y,(fe+ie)*a,(de+ie)*y,(fe+ue)*a,(de+ue)*y,(fe+ie)*a)),Be.add(new go.PathSegment(go.PathSegment.Bezier,(de-ie)*y,fe*a,(de-ue)*y,(fe+ie)*a,(de-ie)*y,(fe+ue)*a)),ie=.1,ue=be*.1,de=.4,fe=.9;var Pe=new go.PathFigure((de-ie)*y,fe*a,!0);return E.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,de*y,(fe-ie)*a,(de-ie)*y,(fe-ue)*a,(de-ue)*y,(fe-ie)*a)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(de+ie)*y,fe*a,(de+ue)*y,(fe-ie)*a,(de+ie)*y,(fe-ue)*a)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,de*y,(fe+ie)*a,(de+ie)*y,(fe+ue)*a,(de+ue)*y,(fe+ie)*a)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(de-ie)*y,fe*a,(de-ue)*y,(fe+ie)*a,(de-ie)*y,(fe+ue)*a)),E}),go.Shape.defineFigureGenerator("RailShipment",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(.1*y,.4*a,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.45*y,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,.45*y,.9*a)),b.add(new go.PathSegment(go.PathSegment.Line,.1*y,.9*a)),b.add(new go.PathSegment(go.PathSegment.Line,.1*y,.4*a).close());var x=new go.PathFigure(.45*y,.7*a,!1);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.55*y,.7*a));var te=new go.PathFigure(.55*y,.4*a,!0);E.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.9*y,.4*a)),te.add(new go.PathSegment(go.PathSegment.Line,.9*y,.9*a)),te.add(new go.PathSegment(go.PathSegment.Line,.55*y,.9*a)),te.add(new go.PathSegment(go.PathSegment.Line,.55*y,.4*a).close());var de=.05,fe=be*.05,Be=.175,Pe=.95,ae=new go.PathFigure((Be-de)*y,Pe*a,!0);E.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,Be*y,(Pe-de)*a,(Be-de)*y,(Pe-fe)*a,(Be-fe)*y,(Pe-de)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(Be+de)*y,Pe*a,(Be+fe)*y,(Pe-de)*a,(Be+de)*y,(Pe-fe)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,Be*y,(Pe+de)*a,(Be+de)*y,(Pe+fe)*a,(Be+fe)*y,(Pe+de)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(Be-de)*y,Pe*a,(Be-fe)*y,(Pe+de)*a,(Be-de)*y,(Pe+fe)*a));var de=.05,fe=be*.05,Be=.375,Pe=.95,ie=new go.PathFigure((Be-de)*y,Pe*a,!0);E.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,Be*y,(Pe-de)*a,(Be-de)*y,(Pe-fe)*a,(Be-fe)*y,(Pe-de)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(Be+de)*y,Pe*a,(Be+fe)*y,(Pe-de)*a,(Be+de)*y,(Pe-fe)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,Be*y,(Pe+de)*a,(Be+de)*y,(Pe+fe)*a,(Be+fe)*y,(Pe+de)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(Be-de)*y,Pe*a,(Be-fe)*y,(Pe+de)*a,(Be-de)*y,(Pe+fe)*a));var de=.05,fe=be*.05,Be=.625,Pe=.95,ue=new go.PathFigure((Be-de)*y,Pe*a,!0);E.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,Be*y,(Pe-de)*a,(Be-de)*y,(Pe-fe)*a,(Be-fe)*y,(Pe-de)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(Be+de)*y,Pe*a,(Be+fe)*y,(Pe-de)*a,(Be+de)*y,(Pe-fe)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,Be*y,(Pe+de)*a,(Be+de)*y,(Pe+fe)*a,(Be+fe)*y,(Pe+de)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(Be-de)*y,Pe*a,(Be-fe)*y,(Pe+de)*a,(Be-de)*y,(Pe+fe)*a));var de=.05,fe=be*.05,Be=.825,Pe=.95,We=new go.PathFigure((Be-de)*y,Pe*a,!0);E.add(We),We.add(new go.PathSegment(go.PathSegment.Bezier,Be*y,(Pe-de)*a,(Be-de)*y,(Pe-fe)*a,(Be-fe)*y,(Pe-de)*a)),We.add(new go.PathSegment(go.PathSegment.Bezier,(Be+de)*y,Pe*a,(Be+fe)*y,(Pe-de)*a,(Be+de)*y,(Pe-fe)*a)),We.add(new go.PathSegment(go.PathSegment.Bezier,Be*y,(Pe+de)*a,(Be+de)*y,(Pe+fe)*a,(Be+fe)*y,(Pe+de)*a)),We.add(new go.PathSegment(go.PathSegment.Bezier,(Be-de)*y,Pe*a,(Be-fe)*y,(Pe+de)*a,(Be-de)*y,(Pe+fe)*a).close());var ve=new go.PathFigure(0,a,!1);return E.add(ve),ve.add(new go.PathSegment(go.PathSegment.Line,y,a).close()),E}),go.Shape.defineFigureGenerator("Warehouse",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(0,0,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var x=new go.PathFigure(0,.2*a,!1);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,.2*a).close());var te=new go.PathFigure(.15*y,a,!0);E.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.15*y,.5*a)),te.add(new go.PathSegment(go.PathSegment.Line,.4*y,.5*a)),te.add(new go.PathSegment(go.PathSegment.Line,.4*y,a)),te.add(new go.PathSegment(go.PathSegment.Line,.15*y,a).close());var ae=.05,ie=be*.05,ue=.35,de=.775,fe=new go.PathFigure((ue-ae)*y,de*a,!0);return E.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,ue*y,(de-ae)*a,(ue-ae)*y,(de-ie)*a,(ue-ie)*y,(de-ae)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ue+ae)*y,de*a,(ue+ie)*y,(de-ae)*a,(ue+ae)*y,(de-ie)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,ue*y,(de+ae)*a,(ue+ae)*y,(de+ie)*a,(ue+ie)*y,(de+ae)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ue-ae)*y,de*a,(ue-ie)*y,(de+ae)*a,(ue-ae)*y,(de+ie)*a).close()),E}),go.Shape.defineFigureGenerator("ControlCenter",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(0,a,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,.1*y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,.1*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.9*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.9*y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Move,.1*y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,.9*y,.8*a).close()),E}),go.Shape.defineFigureGenerator("Bluetooth",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(0,.75*a,!1);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.75*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.25*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.75*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),E}),go.Shape.defineFigureGenerator("Bookmark",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(0,0,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Move,.2*y,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*y,.2*a)),b.add(new go.PathSegment(go.PathSegment.Move,.2*y,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*y,.4*a)),E}),go.Shape.defineFigureGenerator("Bookmark",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(0,0,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Move,.2*y,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*y,.2*a)),b.add(new go.PathSegment(go.PathSegment.Move,.2*y,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*y,.4*a)),E}),go.Shape.defineFigureGenerator("Globe",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(.5*y,0,!1);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),b.add(new go.PathSegment(go.PathSegment.Move,0,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Move,.5*y,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,.75*y,0,y,.25*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,y,.75*a,.75*y,a)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,.25*y,a,0,.75*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,0,.25*a,.25*y,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,.15*y,.25*a,.15*y,.75*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,.85*y,.75*a,.85*y,.25*a)),b.add(new go.PathSegment(go.PathSegment.Move,.1675*y,.15*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.8325*y,.15*a,.35*y,.3*a,.65*y,.3*a)),b.add(new go.PathSegment(go.PathSegment.Move,.1675*y,.85*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.8325*y,.85*a,.35*y,.7*a,.65*y,.7*a)),E}),go.Shape.defineFigureGenerator("Wave",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(0,.25*a,!1);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.3*y,.25*a,.1*y,0,.2*y,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.7*y,.25*a,.425*y,.5*a,.575*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,y,.25*a,.8*y,0,.9*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.75*a)),b.add(new go.PathSegment(go.PathSegment.Move,0,.25*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.75*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.3*y,.75*a,.1*y,.5*a,.2*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.7*y,.75*a,.425*y,a,.575*y,a)),b.add(new go.PathSegment(go.PathSegment.Bezier,y,.75*a,.8*y,.5*a,.9*y,.5*a)),E}),go.Shape.defineFigureGenerator("Operator",function(se,y,a){var E=new go.Geometry,b=.3,x=be*.3,te=.5,ae=.7,ie=new go.PathFigure((te-b)*y,ae*a,!0);E.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,te*y,(ae-b)*a,(te-b)*y,(ae-x)*a,(te-x)*y,(ae-b)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(te+b)*y,ae*a,(te+x)*y,(ae-b)*a,(te+b)*y,(ae-x)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,te*y,(ae+b)*a,(te+b)*y,(ae+x)*a,(te+x)*y,(ae+b)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(te-b)*y,ae*a,(te-x)*y,(ae+b)*a,(te-b)*y,(ae+x)*a));var ue=new go.PathFigure(0,.7*a,!1);return E.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,y,.7*a,0,0,y,0)),E}),go.Shape.defineFigureGenerator("TripleFanBlades",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(.5*y,0,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.65*a,.65*y,.3*a,.65*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,.35*y,.5*a,.35*y,.3*a)),b.add(new go.PathSegment(go.PathSegment.Move,.5*y,.65*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,a,.3*y,.6*a,.1*y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.65*a,.2*y,a,.35*y,.95*a)),b.add(new go.PathSegment(go.PathSegment.Move,.5*y,.65*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,y,a,.7*y,.6*a,.9*y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.65*a,.8*y,a,.65*y,.95*a)),E}),go.Shape.defineFigureGenerator("CentrifugalPump",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(y,0,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.4*y,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,0,.075*a,0,.5*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.4*y,a,0,a,.4*y,a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,.4*a,.8*y,a,.85*y,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),E}),go.Shape.defineFigureGenerator("Battery",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(0,a,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.1*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.1*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Move,.4*y,.1*a)),b.add(new go.PathSegment(go.PathSegment.Line,.4*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.6*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.6*y,.1*a));var x=new go.PathFigure(0,.6*a,!1);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Move,0,.4*a)),x.add(new go.PathSegment(go.PathSegment.Line,y,.4*a)),E}),go.Shape.defineFigureGenerator("Delete",function(se,y,a){var E=new go.Geometry,b=.5,x=be*.5,te=.5,ae=.5,ie=new go.PathFigure((te-b)*y,ae*a,!0);E.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,te*y,(ae-b)*a,(te-b)*y,(ae-x)*a,(te-x)*y,(ae-b)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(te+b)*y,ae*a,(te+x)*y,(ae-b)*a,(te+b)*y,(ae-x)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,te*y,(ae+b)*a,(te+b)*y,(ae+x)*a,(te+x)*y,(ae+b)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(te-b)*y,ae*a,(te-x)*y,(ae+b)*a,(te-b)*y,(ae+x)*a));var ue=new go.PathFigure(.15*y,.5*a,!1);return E.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,.85*y,.5*a)),E}),go.Shape.defineFigureGenerator("Flag",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(0,.1*a,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Move,0,.1*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.1*a,.15*y,0,.35*y,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,y,.1*a,.65*y,.2*a,.85*y,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.5*a,.85*y,.6*a,.65*y,.6*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,.35*y,.4*a,.15*y,.4*a).close()),E}),go.Shape.defineFigureGenerator("Help",function(se,y,a){var E=new go.Geometry,b=.5,x=be*.5,te=.5,ae=.5,ie=new go.PathFigure((te-b)*y,ae*a,!1);E.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,te*y,(ae-b)*a,(te-b)*y,(ae-x)*a,(te-x)*y,(ae-b)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(te+b)*y,ae*a,(te+x)*y,(ae-b)*a,(te+b)*y,(ae-x)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,te*y,(ae+b)*a,(te+b)*y,(ae+x)*a,(te+x)*y,(ae+b)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(te-b)*y,ae*a,(te-x)*y,(ae+b)*a,(te-b)*y,(ae+x)*a).close()),b=.05,x=be*.05,te=.5,ae=.8;var ue=new go.PathFigure((te-b)*y,ae*a,!1);return E.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,te*y,(ae-b)*a,(te-b)*y,(ae-x)*a,(te-x)*y,(ae-b)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(te+b)*y,ae*a,(te+x)*y,(ae-b)*a,(te+b)*y,(ae-x)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,te*y,(ae+b)*a,(te+b)*y,(ae+x)*a,(te+x)*y,(ae+b)*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(te-b)*y,ae*a,(te-x)*y,(ae+b)*a,(te-b)*y,(ae+x)*a).close()),ue.add(new go.PathSegment(go.PathSegment.Move,.5*y,.7*a)),ue.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.2*a,.75*y,.475*a,.75*y,.225*a)),ue.add(new go.PathSegment(go.PathSegment.Bezier,.3*y,.35*a,.4*y,.2*a,.3*y,.25*a)),E}),go.Shape.defineFigureGenerator("Location",function(se,y,a){return new go.Geometry().add(new go.PathFigure(.5*y,a,!0).add(new go.PathSegment(go.PathSegment.Line,.75*y,.5*a)).add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,.975*y,.025*a,.5*y,0)).add(new go.PathSegment(go.PathSegment.Bezier,.25*y,.5*a,.5*y,0,.025*y,.025*a).close()).add(new go.PathSegment(go.PathSegment.Move,.5*y,.2*a)).add(new go.PathSegment(go.PathSegment.Arc,270,360,.5*y,.3*a,.1*y,.1*a).close()))}),go.Shape.defineFigureGenerator("Lock",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(0,.5*a,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*a));var x=new go.PathFigure(.2*y,.5*a,!1);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Move,.2*y,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,.2*y,.3*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,.3*a,.25*y,0,.75*y,0)),x.add(new go.PathSegment(go.PathSegment.Line,.8*y,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,.8*y,.3*a)),E}),go.Shape.defineFigureGenerator("Unlocked",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(0,.5*a,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*a));var x=new go.PathFigure(.2*y,.5*a,!1);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Move,.2*y,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,.2*y,.3*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,.3*a,.25*y,0,.75*y,0)),x.add(new go.PathSegment(go.PathSegment.Line,.8*y,.35*a)),E}),go.Shape.defineFigureGenerator("Gear",function(se,y,a){return new go.Geometry().add(new go.PathFigure(.9375*y,.56246875*a,!0).add(new go.PathSegment(go.PathSegment.Line,.9375*y,.4375*a)).add(new go.PathSegment(go.PathSegment.Line,.80621875*y,.4375*a)).add(new go.PathSegment(go.PathSegment.Bezier,.763*y,.3316875*a,.79840625*y,.39915625*a,.7834375*y,.3635*a)).add(new go.PathSegment(go.PathSegment.Line,.8566875*y,.23796875*a)).add(new go.PathSegment(go.PathSegment.Line,.76825*y,.14959375*a)).add(new go.PathSegment(go.PathSegment.Line,.67596875*y,.24184375*a)).add(new go.PathSegment(go.PathSegment.Bezier,.5625*y,.19378125*a,.64228125*y,.2188125*a,.603875*y,.2021875*a)).add(new go.PathSegment(go.PathSegment.Line,.5625*y,.0625*a)).add(new go.PathSegment(go.PathSegment.Line,.4375*y,.0625*a)).add(new go.PathSegment(go.PathSegment.Line,.4375*y,.19378125*a)).add(new go.PathSegment(go.PathSegment.Bezier,.32775*y,.239375*a,.39759375*y,.20190625*a,.36053125*y,.2176875*a)).add(new go.PathSegment(go.PathSegment.Line,.2379375*y,.14959375*a)).add(new go.PathSegment(go.PathSegment.Line,.14953125*y,.2379375*a)).add(new go.PathSegment(go.PathSegment.Line,.23934375*y,.3278125*a)).add(new go.PathSegment(go.PathSegment.Bezier,.19378125*y,.4375*a,.21765625*y,.36059375*a,.201875*y,.397625*a)).add(new go.PathSegment(go.PathSegment.Line,.0625*y,.4375*a)).add(new go.PathSegment(go.PathSegment.Line,.0625*y,.5625*a)).add(new go.PathSegment(go.PathSegment.Line,.1938125*y,.5625*a)).add(new go.PathSegment(go.PathSegment.Bezier,.241875*y,.67596875*a,.20221875*y,.603875*a,.21884375*y,.64228125*a)).add(new go.PathSegment(go.PathSegment.Line,.1495625*y,.76825*a)).add(new go.PathSegment(go.PathSegment.Line,.238*y,.8566875*a)).add(new go.PathSegment(go.PathSegment.Line,.3316875*y,.76296875*a)).add(new go.PathSegment(go.PathSegment.Bezier,.43753125*y,.80621875*a,.36353125*y,.78340625*a,.3991875*y,.79840625*a)).add(new go.PathSegment(go.PathSegment.Line,.43753125*y,.9375*a)).add(new go.PathSegment(go.PathSegment.Line,.5625*y,.9375*a)).add(new go.PathSegment(go.PathSegment.Line,.5625*y,.80621875*a)).add(new go.PathSegment(go.PathSegment.Bezier,.67225*y,.760625*a,.602375*y,.79809375*a,.63946875*y,.78234375*a)).add(new go.PathSegment(go.PathSegment.Line,.76828125*y,.8566875*a)).add(new go.PathSegment(go.PathSegment.Line,.85671875*y,.76825*a)).add(new go.PathSegment(go.PathSegment.Line,.76065625*y,.67221875*a)).add(new go.PathSegment(go.PathSegment.Bezier,.80621875*y,.56246875*a,.78234375*y,.63940625*a,.798125*y,.602375*a)).add(new go.PathSegment(go.PathSegment.Line,.9375*y,.56246875*a).close()).add(new go.PathSegment(go.PathSegment.Move,.5*y,.6*a)).add(new go.PathSegment(go.PathSegment.Arc,90,360,.5*y,.5*a,.1*y,.1*a).close()))}),go.Shape.defineFigureGenerator("Hand",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(0,.5*a,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.1*y,.3*a,0,.375*a,.05*y,.325*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.45*y,.075*a,.3*y,.225*a,.4*y,.175*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.525*y,.075*a,.46*y,.05*a,.525*y,.05*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.3*y,.4*a,.525*y,.275*a,.475*y,.325*a)),b.add(new go.PathSegment(go.PathSegment.Line,.9*y,.4*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*y,.55*a,y,.4*a,y,.55*a)),b.add(new go.PathSegment(go.PathSegment.Line,.425*y,.55*a)),b.add(new go.PathSegment(go.PathSegment.Line,.6*y,.55*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.6*y,.7*a,.675*y,.55*a,.675*y,.7*a)),b.add(new go.PathSegment(go.PathSegment.Line,.4*y,.7*a)),b.add(new go.PathSegment(go.PathSegment.Line,.575*y,.7*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.575*y,.85*a,.65*y,.7*a,.65*y,.85*a)),b.add(new go.PathSegment(go.PathSegment.Line,.4*y,.85*a)),b.add(new go.PathSegment(go.PathSegment.Line,.525*y,.85*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.535*y,a,.61*y,.85*a,.61*y,a)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,.435*y,a,0,a).close()),E}),go.Shape.defineFigureGenerator("Map",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(0,.2*a,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.25*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.75*y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.25*y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),b.add(new go.PathSegment(go.PathSegment.Move,.25*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.25*y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Move,.5*y,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),b.add(new go.PathSegment(go.PathSegment.Move,.75*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.75*y,.8*a)),E}),go.Shape.defineFigureGenerator("Eject",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(0,a,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a*.7)),b.add(new go.PathSegment(go.PathSegment.Line,0,a*.7).close());var x=new go.PathFigure(0,a*.6,!0);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,.6*a)),x.add(new go.PathSegment(go.PathSegment.Line,.5*y,0).close()),E}),go.Shape.defineFigureGenerator("Pencil",function(se,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.2*y,.1*a)).add(new go.PathSegment(go.PathSegment.Line,y,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.9*y,a)).add(new go.PathSegment(go.PathSegment.Line,.1*y,.2*a).close()))}),go.Shape.defineFigureGenerator("Building",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(y*1,a*1,!1);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,0,a*.85)),b.add(new go.PathSegment(go.PathSegment.Line,.046*y,a*.85)),b.add(new go.PathSegment(go.PathSegment.Line,.046*y,a*.45)),b.add(new go.PathSegment(go.PathSegment.Line,0,a*.45)),b.add(new go.PathSegment(go.PathSegment.Line,0,a*.3)),b.add(new go.PathSegment(go.PathSegment.Line,.046*y,a*.3)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,a*0)),b.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*y,a*.3)),b.add(new go.PathSegment(go.PathSegment.Line,y,a*.3)),b.add(new go.PathSegment(go.PathSegment.Line,y,a*.45)),b.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*y,a*.45)),b.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*y,a*.85)),b.add(new go.PathSegment(go.PathSegment.Line,y,a*.85).close());var x=new go.PathFigure(.126*y,.85*a,!1);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.126*y,.45*a)),x.add(new go.PathSegment(go.PathSegment.Line,.322*y,.45*a)),x.add(new go.PathSegment(go.PathSegment.Line,.322*y,.85*a).close());var te=new go.PathFigure(.402*y,.85*a,!1);E.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.402*y,.45*a)),te.add(new go.PathSegment(go.PathSegment.Line,.598*y,.45*a)),te.add(new go.PathSegment(go.PathSegment.Line,.598*y,.85*a).close());var ae=new go.PathFigure(.678*y,.85*a,!1);E.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,.678*y,.45*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.874*y,.45*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.874*y,.85*a).close());var ie=new go.PathFigure(.5*y,.1*a,!1);return E.add(ie),ie.add(new go.PathSegment(go.PathSegment.Line,(.046+.15)*y,.3*a)),ie.add(new go.PathSegment(go.PathSegment.Line,(1-(.046+.15))*y,.3*a).close()),E}),go.Shape.defineFigureGenerator("Staircase",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(0,a*1,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y*.2,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*.2,a*.8)),b.add(new go.PathSegment(go.PathSegment.Line,y*.4,a*.8)),b.add(new go.PathSegment(go.PathSegment.Line,y*.4,a*.6)),b.add(new go.PathSegment(go.PathSegment.Line,y*.6,a*.6)),b.add(new go.PathSegment(go.PathSegment.Line,y*.6,a*.4)),b.add(new go.PathSegment(go.PathSegment.Line,y*.8,a*.4)),b.add(new go.PathSegment(go.PathSegment.Line,y*.8,a*.2)),b.add(new go.PathSegment(go.PathSegment.Line,y*1,a*.2)),b.add(new go.PathSegment(go.PathSegment.Line,y*1,a*.15)),b.add(new go.PathSegment(go.PathSegment.Line,y*.75,a*.15)),b.add(new go.PathSegment(go.PathSegment.Line,y*.75,a*.35)),b.add(new go.PathSegment(go.PathSegment.Line,y*.55,a*.35)),b.add(new go.PathSegment(go.PathSegment.Line,y*.55,a*.55)),b.add(new go.PathSegment(go.PathSegment.Line,y*.35,a*.55)),b.add(new go.PathSegment(go.PathSegment.Line,y*.35,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,y*.15,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,y*.15,a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,0,a*.95).close()),E}),go.Shape.defineFigureGenerator("5Bars",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(0,a*1,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y*.184,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*.184,a*(1-.184)).close());var x=new go.PathFigure(y*.204,a,!0);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y*.204,a*(1-.184))),x.add(new go.PathSegment(go.PathSegment.Line,y*.388,a*(1-.184*2))),x.add(new go.PathSegment(go.PathSegment.Line,y*.388,a*1).close());var te=new go.PathFigure(y*.408,a,!0);E.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y*.408,a*(1-.184*2))),te.add(new go.PathSegment(go.PathSegment.Line,y*.592,a*(1-.184*3))),te.add(new go.PathSegment(go.PathSegment.Line,y*.592,a*1).close());var ae=new go.PathFigure(y*.612,a,!0);E.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,y*.612,a*(1-.184*3))),ae.add(new go.PathSegment(go.PathSegment.Line,y*.796,a*(1-.184*4))),ae.add(new go.PathSegment(go.PathSegment.Line,y*.796,a*1).close());var ie=new go.PathFigure(y*.816,a,!0);return E.add(ie),ie.add(new go.PathSegment(go.PathSegment.Line,y*.816,a*(1-.184*4))),ie.add(new go.PathSegment(go.PathSegment.Line,y*1,a*(1-.184*5))),ie.add(new go.PathSegment(go.PathSegment.Line,y*1,a*1).close()),E}),go.Shape.defineFigureGenerator("PC",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(0,0,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*.3,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*.3,0).close());var x=new go.PathFigure(y*.055,.07*a,!0);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y*.245,a*.07)),x.add(new go.PathSegment(go.PathSegment.Line,y*.245,a*.1)),x.add(new go.PathSegment(go.PathSegment.Line,y*.055,a*.1).close());var te=new go.PathFigure(y*.055,.13*a,!0);E.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y*.245,a*.13)),te.add(new go.PathSegment(go.PathSegment.Line,y*.245,a*.16)),te.add(new go.PathSegment(go.PathSegment.Line,y*.055,a*.16).close());var ae=new go.PathFigure(y*.055,.18*a,!0);E.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,y*.245,a*.18)),ae.add(new go.PathSegment(go.PathSegment.Line,y*.245,a*.21)),ae.add(new go.PathSegment(go.PathSegment.Line,y*.055,a*.21).close());var ie=new go.PathFigure(y*1,0,!0);return E.add(ie),ie.add(new go.PathSegment(go.PathSegment.Line,y*.4,0)),ie.add(new go.PathSegment(go.PathSegment.Line,y*.4,a*.65)),ie.add(new go.PathSegment(go.PathSegment.Line,y*1,a*.65).close()),E}),go.Shape.defineFigureGenerator("Plane",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(.55*y,a,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,.4*y,.7*a)),b.add(new go.PathSegment(go.PathSegment.Line,.1*y,.475*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.35*y,.525*a,0,.4*a,.225*y,.45*a)),b.add(new go.PathSegment(go.PathSegment.Line,.4*y,.475*a)),b.add(new go.PathSegment(go.PathSegment.Line,.15*y,.35*a)),b.add(new go.PathSegment(go.PathSegment.Line,.2*y,.325*a)),b.add(new go.PathSegment(go.PathSegment.Line,.6*y,.325*a)),b.add(new go.PathSegment(go.PathSegment.Line,.85*y,.1*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*y,.2*a,.975*y,0,y,.08*a)),b.add(new go.PathSegment(go.PathSegment.Line,.7*y,.45*a)),b.add(new go.PathSegment(go.PathSegment.Line,.6*y,.95*a)),b.add(new go.PathSegment(go.PathSegment.Line,.55*y,a).close()),E}),go.Shape.defineFigureGenerator("Key",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(y*1,a*.5,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y*.9,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.5,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.5,.35*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.45,.35*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.3,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.15,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.35*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.65*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.15,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.3,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.45,.65*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.5,.65*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.5,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.6,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.65,.55*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.7,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.75,.55*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.8,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.85,.575*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.9,.6*a).close()),b.add(new go.PathSegment(go.PathSegment.Move,.17*y,.425*a)),b.add(new go.PathSegment(go.PathSegment.Arc,270,360,.17*y,.5*a,.075*y,.075*a).close()),E}),go.Shape.defineFigureGenerator("FilmTape",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(0,0,!1);E.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,270,180,y*0,y*.3,y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,0,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*.08,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*.08,a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*1),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*1),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*2),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*2),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*3),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*3),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*4),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*4),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*5),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*5),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*6),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*6),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*7),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*7),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*8),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*8),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*9),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*9),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*10),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*10),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*11),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*11),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*12),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*12),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*13),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*13),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*14),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*14),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*15),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*15),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*1,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*1,a*1));var x=new go.PathFigure(0,0,!1);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y*1,a*0)),x.add(new go.PathSegment(go.PathSegment.Arc,270,-180,y*1,y*.3,y*.055)),x.add(new go.PathSegment(go.PathSegment.Line,y*1,a*1));var te=new go.PathFigure(y*.11,a*.1,!1);E.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*1+.028*0),a*.1)),te.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*1+.028*0),a*.8)),te.add(new go.PathSegment(go.PathSegment.Line,y*.11,a*.8).close());var ae=new go.PathFigure(y*(.11+.24133333*1+.028*1),a*.1,!1);E.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*2+.028*1),a*.1)),ae.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*2+.028*1),a*.8)),ae.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*1+.028*1),a*.8).close());var ie=new go.PathFigure(y*(.11+.24133333*2+.028*2),a*.1,!1);return E.add(ie),ie.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*3+.028*2),a*.1)),ie.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*3+.028*2),a*.8)),ie.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*2+.028*2),a*.8).close()),E}),go.Shape.defineFigureGenerator("FloppyDisk",function(se,y,a){var E=new go.Geometry,b=8,x=b*be,te=new go.PathFigure(b,0,!1);E.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y*.86,0)),te.add(new go.PathSegment(go.PathSegment.Line,y*1,a*.14)),te.add(new go.PathSegment(go.PathSegment.Line,y,a-b)),te.add(new go.PathSegment(go.PathSegment.Bezier,y-b,a,y,a-x,y-x,a)),te.add(new go.PathSegment(go.PathSegment.Line,b,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,a-b,x,a,0,a-x)),te.add(new go.PathSegment(go.PathSegment.Line,0,b)),te.add(new go.PathSegment(go.PathSegment.Bezier,b,0,0,x,x,0).close());var ae=new go.PathFigure(y*.83,0,!1);E.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,y*.83,a*.3)),ae.add(new go.PathSegment(go.PathSegment.Line,y*.17,a*.3)),ae.add(new go.PathSegment(go.PathSegment.Line,y*.17,a*0).close());var ie=new go.PathFigure(y*.83,a*1,!1);E.add(ie),ie.add(new go.PathSegment(go.PathSegment.Line,y*.83,a*.5)),ie.add(new go.PathSegment(go.PathSegment.Line,y*.17,a*.5)),ie.add(new go.PathSegment(go.PathSegment.Line,y*.17,a*1).close());var ue=new go.PathFigure(y*.78,a*.05,!1);return E.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*.05)),ue.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*.25)),ue.add(new go.PathSegment(go.PathSegment.Line,y*.78,a*.25).close()),E}),go.Shape.defineFigureGenerator("SpeechBubble",function(se,y,a){var E=se?se.parameter1:NaN;(isNaN(E)||E<0)&&(E=15),E=Math.min(E,y/3),E=Math.min(E,a/3);var b=E*be,x=a*.8,te=new go.Geometry,ae=new go.PathFigure(E,0,!0);return te.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,y-E,0)),ae.add(new go.PathSegment(go.PathSegment.Bezier,y,E,y-b,0,y,b)),ae.add(new go.PathSegment(go.PathSegment.Line,y,x-E)),ae.add(new go.PathSegment(go.PathSegment.Bezier,y-E,x,y,x-b,y-b,x)),ae.add(new go.PathSegment(go.PathSegment.Line,y*.7,x)),ae.add(new go.PathSegment(go.PathSegment.Line,y*.7,a)),ae.add(new go.PathSegment(go.PathSegment.Line,y*.55,x)),ae.add(new go.PathSegment(go.PathSegment.Line,E,x)),ae.add(new go.PathSegment(go.PathSegment.Bezier,0,x-E,b,x,0,x-b)),ae.add(new go.PathSegment(go.PathSegment.Line,0,E)),ae.add(new go.PathSegment(go.PathSegment.Bezier,E,0,0,b,b,0).close()),b>1?(te.spot1=new go.Spot(0,0,b,b),te.spot2=new go.Spot(1,.8,-b,-b)):(te.spot1=go.Spot.TopLeft,te.spot2=new go.Spot(1,.8)),te}),go.Shape.defineFigureGenerator("Repeat",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(y*0,a*.45,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y*.25,a*0)),b.add(new go.PathSegment(go.PathSegment.Line,y*.5,a*.45)),b.add(new go.PathSegment(go.PathSegment.Line,y*.3,a*.45)),b.add(new go.PathSegment(go.PathSegment.Line,y*.3,a*.9)),b.add(new go.PathSegment(go.PathSegment.Line,y*.6,a*.9)),b.add(new go.PathSegment(go.PathSegment.Line,y*.65,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*.2,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*.2,a*.45).close());var x=new go.PathFigure(y*1,a*.55,!0);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y*.75,a*1)),x.add(new go.PathSegment(go.PathSegment.Line,y*.5,a*.55)),x.add(new go.PathSegment(go.PathSegment.Line,y*.7,a*.55)),x.add(new go.PathSegment(go.PathSegment.Line,y*.7,a*.1)),x.add(new go.PathSegment(go.PathSegment.Line,y*.4,a*.1)),x.add(new go.PathSegment(go.PathSegment.Line,y*.35,a*0)),x.add(new go.PathSegment(go.PathSegment.Line,y*.8,a*0)),x.add(new go.PathSegment(go.PathSegment.Line,y*.8,a*.55).close()),E}),go.Shape.defineFigureGenerator("Windows",function(se,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close()).add(new go.PathSegment(go.PathSegment.Move,.4*y,.4*a)).add(new go.PathSegment(go.PathSegment.Line,.4*y,.8*a)).add(new go.PathSegment(go.PathSegment.Line,.9*y,.8*a)).add(new go.PathSegment(go.PathSegment.Line,.9*y,.4*a).close()).add(new go.PathSegment(go.PathSegment.Move,.2*y,.1*a)).add(new go.PathSegment(go.PathSegment.Line,.2*y,.6*a)).add(new go.PathSegment(go.PathSegment.Line,.7*y,.6*a)).add(new go.PathSegment(go.PathSegment.Line,.7*y,.1*a).close()).add(new go.PathSegment(go.PathSegment.Move,.1*y,.6*a)).add(new go.PathSegment(go.PathSegment.Line,.1*y,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.5*y,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.5*y,.6*a).close()))}),go.Shape.defineFigureGenerator("Terminal",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(y*0,a*.1,!1);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y*1,a*.1)),b.add(new go.PathSegment(go.PathSegment.Line,y*1,a*.9)),b.add(new go.PathSegment(go.PathSegment.Line,y*0,a*.9).close());var x=new go.PathFigure(y*.1,a*.2,!0);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y*.1,a*.25)),x.add(new go.PathSegment(go.PathSegment.Line,y*.22,a*.285)),x.add(new go.PathSegment(go.PathSegment.Line,y*.1,a*.32)),x.add(new go.PathSegment(go.PathSegment.Line,y*.1,a*.37)),x.add(new go.PathSegment(go.PathSegment.Line,y*.275,a*.32)),x.add(new go.PathSegment(go.PathSegment.Line,y*.275,a*.25).close());var te=new go.PathFigure(y*.28,a*.37,!0);return E.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y*.45,a*.37)),te.add(new go.PathSegment(go.PathSegment.Line,y*.45,a*.41)),te.add(new go.PathSegment(go.PathSegment.Line,y*.28,a*.41).close()),E}),go.Shape.defineFigureGenerator("Beaker",function(se,y,a){var E=new go.Geometry,b=15,x=b*be,te=new go.PathFigure(y*.62,a*.475,!0);return E.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y,a-b)),te.add(new go.PathSegment(go.PathSegment.Bezier,y-b,a,y,a-x,y-x,a)),te.add(new go.PathSegment(go.PathSegment.Line,b,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,a-b,x,a,0,a-x)),te.add(new go.PathSegment(go.PathSegment.Line,y*.38,a*.475)),te.add(new go.PathSegment(go.PathSegment.Line,y*.38,a*.03)),te.add(new go.PathSegment(go.PathSegment.Line,y*.36,a*0)),te.add(new go.PathSegment(go.PathSegment.Line,y*.64,a*0)),te.add(new go.PathSegment(go.PathSegment.Line,y*.62,a*.03).close()),x>1?(E.spot1=new go.Spot(0,0,x,x),E.spot2=new go.Spot(1,1,-x,-x)):(E.spot1=go.Spot.TopLeft,E.spot2=go.Spot.BottomRight),E}),go.Shape.defineFigureGenerator("Download",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(y*0,a*1,!0);E.add(b);var x=.1/.3;b.add(new go.PathSegment(go.PathSegment.Line,y*1,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*1,a*(1-x))),b.add(new go.PathSegment(go.PathSegment.Line,y*.8,a*0)),b.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*0)),b.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,y*.755,a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,y*.93,a*(1-x))),b.add(new go.PathSegment(go.PathSegment.Line,y*.64,a*(1-x))),b.add(new go.PathSegment(go.PathSegment.Line,y*.61,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,y*.5,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,y*.39,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,y*.36,a*(1-x))),b.add(new go.PathSegment(go.PathSegment.Line,y*.07,a*(1-x))),b.add(new go.PathSegment(go.PathSegment.Line,y*(1-.755),a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,y*(1-.66),a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,y*(1-.66),a*0)),b.add(new go.PathSegment(go.PathSegment.Line,y*(1-.8),a*0)),b.add(new go.PathSegment(go.PathSegment.Line,y*0,a*(1-x)).close());var te=new go.PathFigure(y*.4,a*0,!0);return E.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y*.4,a*.44)),te.add(new go.PathSegment(go.PathSegment.Line,y*.26,a*.44)),te.add(new go.PathSegment(go.PathSegment.Line,y*.5,a*.66)),te.add(new go.PathSegment(go.PathSegment.Line,y*(1-.26),a*.44)),te.add(new go.PathSegment(go.PathSegment.Line,y*.6,a*.44)),te.add(new go.PathSegment(go.PathSegment.Line,y*.6,a*0).close()),E}),go.Shape.defineFigureGenerator("Bin",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(y*0,a*1,!0);E.add(b);var x=.1/.3;return b.add(new go.PathSegment(go.PathSegment.Line,y*1,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*1,a*(1-x))),b.add(new go.PathSegment(go.PathSegment.Line,y*.8,a*0)),b.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*0)),b.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,y*.755,a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,y*.93,a*(1-x))),b.add(new go.PathSegment(go.PathSegment.Line,y*.64,a*(1-x))),b.add(new go.PathSegment(go.PathSegment.Line,y*.61,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,y*.5,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,y*.39,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,y*.36,a*(1-x))),b.add(new go.PathSegment(go.PathSegment.Line,y*.07,a*(1-x))),b.add(new go.PathSegment(go.PathSegment.Line,y*(1-.755),a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,y*(1-.66),a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,y*(1-.66),a*0)),b.add(new go.PathSegment(go.PathSegment.Line,y*(1-.8),a*0)),b.add(new go.PathSegment(go.PathSegment.Line,y*0,a*(1-x)).close()),E}),go.Shape.defineFigureGenerator("Upload",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(y*0,a*1,!0);E.add(b);var x=.1/.3;b.add(new go.PathSegment(go.PathSegment.Line,y*1,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*1,a*(1-x))),b.add(new go.PathSegment(go.PathSegment.Line,y*.8,a*0)),b.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*0)),b.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,y*.755,a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,y*.93,a*(1-x))),b.add(new go.PathSegment(go.PathSegment.Line,y*.64,a*(1-x))),b.add(new go.PathSegment(go.PathSegment.Line,y*.61,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,y*.5,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,y*.39,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,y*.36,a*(1-x))),b.add(new go.PathSegment(go.PathSegment.Line,y*.07,a*(1-x))),b.add(new go.PathSegment(go.PathSegment.Line,y*(1-.755),a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,y*(1-.66),a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,y*(1-.66),a*0)),b.add(new go.PathSegment(go.PathSegment.Line,y*(1-.8),a*0)),b.add(new go.PathSegment(go.PathSegment.Line,y*0,a*(1-x)).close());var te=new go.PathFigure(y*.5,a*0,!0);return E.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y*.26,a*.25)),te.add(new go.PathSegment(go.PathSegment.Line,y*.4,a*.25)),te.add(new go.PathSegment(go.PathSegment.Line,y*.4,a*.63)),te.add(new go.PathSegment(go.PathSegment.Line,y*.6,a*.63)),te.add(new go.PathSegment(go.PathSegment.Line,y*.6,a*.25)),te.add(new go.PathSegment(go.PathSegment.Line,y*.74,a*.25).close()),E}),go.Shape.defineFigureGenerator("EmptyDrink",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(y*.15,a*0,!1);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y*.85,a*0)),b.add(new go.PathSegment(go.PathSegment.Line,y*.7,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*.3,a*1).close()),E}),go.Shape.defineFigureGenerator("Drink",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(y*.15,a*0,!1);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y*.85,a*0)),b.add(new go.PathSegment(go.PathSegment.Line,y*.7,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*.3,a*1).close());var x=new go.PathFigure(y*.235,a*.28,!0);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y*.765,a*.28)),x.add(new go.PathSegment(go.PathSegment.Line,y*.655,a*.97)),x.add(new go.PathSegment(go.PathSegment.Line,y*.345,a*.97).close()),E}),go.Shape.defineFigureGenerator("4Arrows",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(y*.5,a*0,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y*.65,a*.25)),b.add(new go.PathSegment(go.PathSegment.Line,y*.55,a*.25)),b.add(new go.PathSegment(go.PathSegment.Line,y*.55,a*.45)),b.add(new go.PathSegment(go.PathSegment.Line,y*.75,a*.45)),b.add(new go.PathSegment(go.PathSegment.Line,y*.75,a*.35)),b.add(new go.PathSegment(go.PathSegment.Line,y*1,a*.5)),b.add(new go.PathSegment(go.PathSegment.Line,y*.75,a*.65)),b.add(new go.PathSegment(go.PathSegment.Line,y*.75,a*.55)),b.add(new go.PathSegment(go.PathSegment.Line,y*.55,a*.55)),b.add(new go.PathSegment(go.PathSegment.Line,y*.55,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,y*.65,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,y*.5,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*.35,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,y*.45,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,y*.45,a*.55)),b.add(new go.PathSegment(go.PathSegment.Line,y*.25,a*.55)),b.add(new go.PathSegment(go.PathSegment.Line,y*.25,a*.65)),b.add(new go.PathSegment(go.PathSegment.Line,y*0,a*.5)),b.add(new go.PathSegment(go.PathSegment.Line,y*.25,a*.35)),b.add(new go.PathSegment(go.PathSegment.Line,y*.25,a*.45)),b.add(new go.PathSegment(go.PathSegment.Line,y*.45,a*.45)),b.add(new go.PathSegment(go.PathSegment.Line,y*.45,a*.25)),b.add(new go.PathSegment(go.PathSegment.Line,y*.35,a*.25).close()),E}),go.Shape.defineFigureGenerator("Connector","Ellipse"),go.Shape.defineFigureGenerator("Alternative","TriangleUp"),go.Shape.defineFigureGenerator("Merge","TriangleUp"),go.Shape.defineFigureGenerator("Decision","Diamond"),go.Shape.defineFigureGenerator("DataTransmissions","Hexagon"),go.Shape.defineFigureGenerator("Gate","Crescent"),go.Shape.defineFigureGenerator("Delay","HalfEllipse"),go.Shape.defineFigureGenerator("Input","Parallelogram1"),go.Shape.defineFigureGenerator("ManualLoop","ManualOperation"),go.Shape.defineFigureGenerator("ISOProcess","Chevron"),go.Shape.defineFigureGenerator("MessageToUser","SquareArrow"),go.Shape.defineFigureGenerator("MagneticData","Cylinder1"),go.Shape.defineFigureGenerator("DirectData","Cylinder4"),go.Shape.defineFigureGenerator("StoredData","DataStorage"),go.Shape.defineFigureGenerator("SequentialData","MagneticTape"),go.Shape.defineFigureGenerator("Subroutine","Procedure")},80727:function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;(function(){if(typeof window.GGBApplet=="function"){console.warn("deployggb.js was loaded twice");return}var isRenderGGBElementEnabled=!1,scriptLoadStarted=!1,html5AppletsToProcess=null,ggbHTML5LoadedCodebaseIsWebSimple=!1,ggbHTML5LoadedCodebaseVersion=null,ggbHTML5LoadedScript=null,GGBApplet=function(){"use strict";for(var wt={},Mt="5.0",oe={},ne=null,pe=!1,Je=!1,Ne=null,Oe=!1,Re=null,be=null,qe=0;qe4?parseFloat(De):5};wt.setHTML5Codebase=function(De,tt){be=De,Te(De,tt)},wt.setJavaCodebase=wt.setJavaCodebaseVersion=wt.isCompiledInstalled=wt.setPreCompiledScriptPath=wt.setPreCompiledResourcePath=function(){},wt.setHTML5CodebaseVersion=function(De,tt){var Dt=parseFloat(De);if(Dt!==NaN&&Dt<5){console.log("The GeoGebra HTML5 codebase version "+Dt+" is deprecated. Using version latest instead.");return}Re=De,bt(De,tt)},wt.getHTML5CodebaseVersion=function(){return se},wt.getParameters=function(){return oe},wt.setFontsCSSURL=function(De){te=De},wt.setGiacJSURL=function(De){},wt.setJNLPFile=function(De){dt=De},wt.setJNLPBaseDir=function(De){},wt.inject=function(){function De(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var tt="auto",Dt=oe.id,nn,vt=!1,Vt=0;Vt=5)return!0;var De=wt.getAppletObject();return De&&typeof De.recalculateEnvironments=="function"?(De.recalculateEnvironments(),!0):!1},wt.startAnimation=function(){var De=wt.getAppletObject();return De&&typeof De.startAnimation=="function"?(De.startAnimation(),!0):!1},wt.stopAnimation=function(){var De=wt.getAppletObject();return De&&typeof De.stopAnimation=="function"?(De.stopAnimation(),!0):!1},wt.getAppletObject=function(){var De=oe.id!==void 0?oe.id:"ggbApplet";return window[De]},wt.resize=function(){};var We=function(De,tt,Dt){var nn=document.createElement("param");nn.setAttribute("name",tt),nn.setAttribute("value",Dt),De.appendChild(nn)},ve=function(De){return De&&De!=="false"},Ue=function(De,tt,Dt){ie(se)<=4.2&&(Dt=!0);var nn=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==se||ggbHTML5LoadedCodebaseIsWebSimple&&!a)&&(nn=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var vt=document.createElement("div");vt.classList.add("appletParameters","notranslate");var Vt=tt.width,Fe=tt.height;if(tt.disableAutoScale=tt.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():tt.disableAutoScale,tt.width!==void 0)if(ie(se)<=4.4)ve(tt.showToolBar)&&(tt.height-=7),ve(tt.showAlgebraInput)&&(tt.height-=37),tt.width<605&&ve(tt.showToolBar)&&(tt.width=605,Vt=605);else{var st=100;(ve(tt.showToolBar)||ve(tt.showMenuBar))&&(tt.hasOwnProperty("customToolBar")&&(tt.customToolbar=tt.customToolBar),st=ve(tt.showMenuBar)?245:155),Vt=5?(tt.appletOnLoad=function(Ce){var ke=De.querySelector(".ggb_preview");ke&&ke.parentNode.removeChild(ke),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(Wt),window.GGBT_wsf_view&&$(window).trigger("resize"),an(Ce)},Ke||Wt.appendChild(Ve)):vt.appendChild(Ve),Wt.appendChild(vt),Ke||De.appendChild(Wt),setTimeout(function(){wt.resize()},1)}else{var we=document.createElement("div");we.className="applet_scaler",we.style.position="relative",we.style.display="block",we.appendChild(vt),De.appendChild(we),tt.appletOnLoad=function(Ce){wt.resize(),an(Ce)}}function me(Ce,ke){ke&&typeof ke.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(Ce,ke.appletOnLoad):renderGGBElement(Ce),lt("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",ke)}function Ge(Ce,ke){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:Ce,params:ke}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(xt){me(xt.article,xt.params)}),html5AppletsToProcess=null)},ie(se)<5&&(Ce.className+=" geogebraweb")):me(Ce,ke)}if(nn){scriptLoadStarted=!0;for(var ze=0;ze0?(yt.remove(),Wt.attr("id","fullscreencontent").show(),jQuery(an).append(Wt),window.dispatchEvent(new Event("resize"))):Ue(yt,tt,!1),window.GGBT_wsf_view.launchFullScreen(an)}else Xe=nn,Ue(De,tt,!1);if(!window.GGBT_wsf_view)for(Fe=0;FeDe/4*3&&(yt=De/4*3),an=yt/5.8,st.setAttribute("src",b),st.setAttribute("width",yt),st.setAttribute("height",an);var Wt=(De-yt)/2,Ke=(tt-an)/2;st.style.left=Wt+"px",st.style.top=Ke+"px",vt.appendChild(st)}}return vt.appendChild(Fe),vt},Jt=function(De){return De=De.toLowerCase(),De==="html5"||De==="screenshot"?De:"html5"},Rt=["web","webSimple","web3d","tablet","tablet3d","phone"],bt=function(De,tt){if(se=De,tt){Te(se,!0);return}var Dt=!pe;if(Dt){var nn=ie(se);!isNaN(nn)&&nn<4.4&&(Dt=!1)}var vt,Vt;window.location.protocol.substr(0,4)==="http"?vt=window.location.protocol:vt="http:";var Fe=se.indexOf("//");Fe>0?Vt=se:Fe===0?Vt=vt+se:Vt="https://www.geogebra.org/apps/5.2.814.0/";for(var st in Rt)if(se.slice(Rt[st].length*-1)===Rt[st]||se.slice((Rt[st].length+1)*-1)===Rt[st]+"/"){Te(Vt,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&Dt&&!ne.is3D&&!ne.AV&&!ne.SV&&!ne.CV&&!ne.EV2&&!ne.CP&&!ne.PC&&!ne.DA&&!ne.FI&&!ne.PV&&!ve(oe.showToolBar)&&!ve(oe.showMenuBar)&&!ve(oe.showAlgebraInput)&&!ve(oe.enableRightClick)&&(!oe.appName||oe.appName=="classic")?Vt+="webSimple/":Vt+="web3d/",Te(Vt,!1)},Te=function(De,tt){if(De.requirejs){it=De;return}De.slice(-1)!=="/"&&(De+="/"),it=De,tt===null&&(tt=De.indexOf("http")===-1),et=tt,y="web.nocache.js",a=!1;var Dt=it.split("/");Dt.length>1&&(!tt&&Dt[Dt.length-2]==="webSimple"?(y="webSimple.nocache.js",a=!0):Rt.indexOf(Dt[Dt.length-2])>=0&&(y=Dt[Dt.length-2]+".nocache.js")),Dt=De.split("/"),se=Dt[Dt.length-3],se.substr(0,4)==="test"?se=se.substr(4,1)+"."+se.substr(5,1):(se.substr(0,3)==="war"||se.substr(0,4)==="beta")&&(se="5.0");var nn=parseFloat(se);nn!==NaN&&nn<5&&De.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+nn+" is deprecated. Using version latest instead."),bt("5.0",tt))},lt=function(De,tt){window.console&&window.console.log&&(!tt||typeof tt.showLogging=="undefined"||tt.showLogging&&tt.showLogging!=="false")&&console.log(De)};oe.material_id!==void 0?fe(Lt):Lt();function Lt(){var De=Mt;Re!==null?De=Re:parseFloat(De)<5&&(De="5.0"),bt(De,!1),be!==null&&Te(be,et),Oe=!0}return wt},GGBAppletUtils=function(){"use strict";function wt(){return window.GGBT_wsf_edit!==void 0}function Mt(Oe,Re){Re!=1?(Oe.style.transformOrigin="0% 0% 0px",Oe.style.webkitTransformOrigin="0% 0% 0px",Oe.style.transform="scale("+Re+","+Re+")",Oe.style.webkitTransform="scale("+Re+","+Re+")",Oe.style.maxWidth="initial",Oe.querySelector(".ggb_preview")!==null&&(Oe.querySelector(".ggb_preview").style.maxWidth="initial"),Oe.querySelectorAll(".ggb_preview img")[0]!==void 0&&(Oe.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),Oe.querySelectorAll(".ggb_preview img")[1]!==void 0&&(Oe.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(Oe.style.transform="none",Oe.style.webkitTransform="none")}function oe(Oe,Re,be,qe,_e,dt){var it=null;if(dt!=null&&dt!="")for(var et=Oe.parentNode;et!=null;)if((" "+et.className+" ").indexOf(" "+dt+" ")>-1){it=et;break}else et=et.parentNode;var Xe=0,se=0,y=0,a=0,E=0,b=0,x=0;if(it)Xe=it.offsetWidth,se=Math.max(qe?it.offsetWidth:0,it.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(Xe=Math.min(window.innerWidth,document.documentElement.clientWidth),se=Math.min(window.innerHeight,document.documentElement.clientHeight),y=Xe):(Xe=window.innerWidth,se=window.innerHeight,y=window.innerWidth),Oe){var te=Oe.getBoundingClientRect();te.left>0&&te.left<=Xe&&(_e===void 0||!_e)&&(document.dir==="rtl"?(E=Xe-te.width-te.left,b=y<=480?10:30):(b=te.left,E=y<=480?10:30),a=b+E)}if(Oe&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var ae=Oe.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(a=40,x=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(a=0,x=40)}}return Oe&&((be===void 0||!be)&&Re>0&&Re+a1&&(dt=!0)),Re&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(dt=!0),!(Oe.hasOwnProperty("disableAutoScale")&&Oe.disableAutoScale))_e=ne(Oe,Re,dt,be,Oe.scaleContainerClass);else return qe;return dt&&(!Oe.hasOwnProperty("scale")||qe===1)?_e:Math.min(qe,_e)}function Je(Oe){var Re=Math.min(window.innerWidth,document.documentElement.clientWidth),be=Math.min(window.innerHeight,document.documentElement.clientHeight),qe=Oe.getBoundingClientRect(),_e=(Re-qe.width)/2,dt=(be-qe.height)/2;dt<0&&(dt=0),Oe.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(_e<40?Oe.style.left="40px":Oe.style.left=_e+"px",Oe.style.top=dt+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(dt<40?Oe.style.top="40px":Oe.style.top=dt+"px",Oe.style.left=_e+"px")}function Ne(Oe,Re){var be=Oe.querySelector(".appletParameters");if(be){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(Re.id!==be.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(Oe)}if(be.parentElement&&/fullscreen/.test(be.parentElement.className))return;var qe=pe(Re,Oe);wt()&&be.setAttribute("data-param-scale",qe);for(var _e=null,dt=0;dt=O)continue;if(j==jb){if(k=i.getAttribute(kb),k){var l,m=k.indexOf(lb);m>=O?(j=k.substring(O,m),l=k.substring(m+P)):(j=k,l=W),c[j]=l}}else if(j==mb){if(k=i.getAttribute(kb),k)try{d=eval(k)}catch(wt){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(wt){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(wt){var Mt=c[wt];return Mt==null?null:Mt},r=d,webModule.__errFn=e}function B(){function wt(Oe){var Re=Oe.lastIndexOf(rb);Re==-1&&(Re=Oe.length);var be=Oe.indexOf(sb);be==-1&&(be=Oe.length);var qe=Oe.lastIndexOf(tb,Math.min(be,Re));return qe>=O?Oe.substring(O,qe+P):W}function Mt(Oe){if(!Oe.match(/^\w+:\/\//)){var Re=o.createElement(ub);Re.src=Oe+vb,Oe=wt(Re.src)}return Oe}function oe(){var Oe=__gwt_getMetaProperty(wb);return Oe!=null?Oe:W}function ne(){for(var Oe=o.getElementsByTagName(_),Re=O;ReO?Oe[Oe.length-P].href:W}function Je(){var Oe=o.location;return Oe.href==Oe.protocol+zb+Oe.host+Oe.pathname+Oe.search+Oe.hash}var Ne=oe();return Ne==W&&(Ne=ne()),Ne==W&&(Ne=pe()),Ne==W&&Je()&&(Ne=wt(o.location.href)),Ne=Mt(Ne),Ne}function C(wt){return wt.match(/^\//)||wt.match(/^[a-zA-Z]+:\/\//)?wt:webModule.__moduleBase+wt}function D(){var wt=[],Mt=O,oe=[],ne=[];function pe(Oe){var Re=ne[Oe](),be=oe[Oe];if(Re in be)return Re;var qe=[];for(var _e in be)qe[be[_e]]=_e;throw r&&r(Oe,qe,Re),null}if(__gwt_isKnownPropertyValue=function(Oe,Re){return Re in oe[Oe]},webModule.__getPropMap=function(){var Oe={};for(var Re in oe)oe.hasOwnProperty(Re)&&(Oe[Re]=pe(Re));return Oe},webModule.__computePropValue=pe,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var Je;try{Je=Cb;var Ne=Je.indexOf(Db);Ne!=-1&&(Mt=parseInt(Je.substring(Ne+P),$),Je=Je.substring(O,Ne))}catch(Oe){}return webModule.__softPermutationId=Mt,C(Je+Eb)}function F(){n.__gwt_stylesLoaded||(n.__gwt_stylesLoaded={})}A(),webModule.__moduleBase=window.ENV==="build"?"/react/build/js/mathematicalGraphics/"+name+"/":"/js/mathematicalGraphics/"+name+"/",s[L].moduleBase=webModule.__moduleBase;var G=D();return F(),w(G),!0}return webModule},typeof window.web3d!="function"&&(window.web3d=GGBAppletUtils.makeModule("web3d","A18F540516513B1292CA7CEF2F6AFC7E")),typeof window.webSimple!="function"&&(window.webSimple=GGBAppletUtils.makeModule("webSimple","96B09BF1B436BF53F0DF54116700F16A")),window.GGBApplet=GGBApplet})()},64881:function(wt,Mt,oe){"use strict";oe.d(Mt,{$Y:function(){return Vt},A0:function(){return tt},EP:function(){return Oe},F_:function(){return qe},Fk:function(){return me},G9:function(){return be},GB:function(){return Te},GR:function(){return b},GW:function(){return nn},Hh:function(){return Ge},Hp:function(){return Xe},Ir:function(){return pe},N$:function(){return lt},NZ:function(){return Tt},Nv:function(){return we},OA:function(){return Wt},OJ:function(){return Ft},QF:function(){return ke},RS:function(){return ue},RY:function(){return Me},Rj:function(){return Ye},SX:function(){return Be},Tp:function(){return Fe},Ui:function(){return De},V1:function(){return Rt},Vn:function(){return fe},dL:function(){return Ve},fo:function(){return We},gG:function(){return ve},gK:function(){return E},hK:function(){return se},i3:function(){return dt},ib:function(){return y},lS:function(){return a},m5:function(){return Re},n4:function(){return ne},n_:function(){return it},oP:function(){return st},p2:function(){return Dt},pl:function(){return Bt},rM:function(){return ae},sM:function(){return et},t2:function(){return de},tD:function(){return x},u8:function(){return te},um:function(){return Ce},vm:function(){return Ke},wQ:function(){return _e},wj:function(){return Jt},wt:function(){return Ue},yS:function(){return ie},yi:function(){return Je},ym:function(){return ft},z2:function(){return Ne}});const ne="FETCH_TASK_START",pe="FETCH_TASK_FAILURE",Je="FETCH_TASK_SUCCESS",Ne="UPDATE_TASK_DATA",Oe="HIDE_EVALUATE_RESULT",Re="SHOW_EVALUATE_RESULT",be="UPDATE_TIMESTRAP",qe="MOVE_X",_e="MOVE_Y",dt="TRIGGER_RIGHT_PANEL_MASK ",it="SET_ACTIVE_INDEX",et="GET_TASK_LIST",Xe="SHOW_TASK_LIST",se="HIDE_TASK_LIST",y="SET_TASK_STAR",a="TRIGGER_ENLARGE_UNITY3D ",E="TRIGGER_TAB_FIXED ",b="GET_DISCUSSES",x="SHOW_DISCUSSES_LOADING",te="TOP_OR_DOWN_DISCUSS",ae="PLUS_DISCUSS",ie="SET_ACTION_TYPE",ue="SHOW_REWARD_DIALOG",de="CANCEL_REWARD_DIALOG",fe="SET_REWARD",Be="ACTIVE_DISCUSS_INDEX",Pe="CREATE_DISCUSS",We="DISABLE_DISCUSS",ve="CHANGE_PAGE",Ue="SHOW_ANSWER_LOADING",Bt="FETCH_ANSWER_INFO",Tt="HIGH_TIP_MODAL",Ye="SHOW_TIP_MODAL",ft="SELECT_UNLOCK_ANSWER",Ft="SET_CHOOSE_ANSWERS",Jt="EVAL_CHOOSE_START",Rt="EVAL_CHOOSE_END",bt="SHOW_REP_loading",Te="FETCH_REP_CONTENT",lt="EDIT_REP_CONTENT",Lt="SET_REP_PATH",De="SHOW_EVALUATE_LOADING",tt="HIDE_EVALUATE_LOADING",Dt="SET_EVALUATE_MESSAGE",nn="SET_SHOW_DIR",vt="SET_EDITOR_SETTING",Vt="SET_EDITOR_THEME",Fe="SET_EDITOR_FONTSIZE",st="SET_REPOS",yt="SHOW_PATH_LIST",an="HIDE_PATH_LIST",Wt="HIDE_PICTURE_VIEW",Ke="SHOW_PICTURE_VIEW",Ve="SHOW_NOTICE",we="HIDE_NOTICE",me="SHOW_CASE_NOTICE",Ge="HIDE_CASE_NOTICE",ze="SET_TAB_INDEX",Ee="SET_SSH_TABS",Se="SET_SSH_CONFIGDATA",nt="SET_SSH_CONFIGDATAARR",Me="SET_VNC_LOADING ",Ce="ON_TAB_TO_SPACE ",ke="ON_AUTO_FORMAT "},77903:function(wt,Mt,oe){"use strict";oe.d(Mt,{Ax:function(){return Ne},Ds:function(){return Oe},KI:function(){return be},SI:function(){return Je},f1:function(){return pe}});var ne=oe(3294);function pe(qe){let _e=!0;if(qe.length>0){for(let dt=0;dta in y?Je(y,a,{enumerable:!0,configurable:!0,writable:!0,value:E}):y[a]=E,dt=(y,a)=>{for(var E in a||(a={}))be.call(a,E)&&_e(y,E,a[E]);if(Re)for(var E of Re(a))qe.call(a,E)&&_e(y,E,a[E]);return y},it=(y,a)=>Ne(y,Oe(a)),et=(y,a)=>{var E={};for(var b in y)be.call(y,b)&&a.indexOf(b)<0&&(E[b]=y[b]);if(y!=null&&Re)for(var b of Re(y))a.indexOf(b)<0&&qe.call(y,b)&&(E[b]=y[b]);return E},Xe=(y,a,E)=>new Promise((b,x)=>{var te=ue=>{try{ie(E.next(ue))}catch(de){x(de)}},ae=ue=>{try{ie(E.throw(ue))}catch(de){x(de)}},ie=ue=>ue.done?b(ue.value):Promise.resolve(ue.value).then(te,ae);ie((E=E.apply(y,a)).next())});const se=y=>{var a=y,{children:E}=a,b=et(a,["children"]);const[x,te]=(0,pe.useState)(!1);return pe.createElement(ne.ZP,it(dt({},b),{loading:x,onClick:ae=>Xe(void 0,null,function*(){try{te(!0),yield b.onClick(ae),te(!1)}catch(ie){console.error(ie),te(!1)}})}),E)}},8700:function(wt,Mt,oe){"use strict";oe.d(Mt,{Z:function(){return b}});var ne=oe(59301),pe=oe(99064),Je=oe(1012),Ne=oe(92310),Oe=oe.n(Ne),Re={upload:"upload___jpwPD"},be=Object.defineProperty,qe=Object.defineProperties,_e=Object.getOwnPropertyDescriptors,dt=Object.getOwnPropertySymbols,it=Object.prototype.hasOwnProperty,et=Object.prototype.propertyIsEnumerable,Xe=(x,te,ae)=>te in x?be(x,te,{enumerable:!0,configurable:!0,writable:!0,value:ae}):x[te]=ae,se=(x,te)=>{for(var ae in te||(te={}))it.call(te,ae)&&Xe(x,ae,te[ae]);if(dt)for(var ae of dt(te))et.call(te,ae)&&Xe(x,ae,te[ae]);return x},y=(x,te)=>qe(x,_e(te)),a=(x,te,ae)=>new Promise((ie,ue)=>{var de=Pe=>{try{Be(ae.next(Pe))}catch(We){ue(We)}},fe=Pe=>{try{Be(ae.throw(Pe))}catch(We){ue(We)}},Be=Pe=>Pe.done?ie(Pe.value):Promise.resolve(Pe.value).then(de,fe);Be((ae=ae.apply(x,te)).next())});const E=({chunkSize:x=1024*1024*2,options:te={},onCancel:ae,onComplete:ie,onError:ue,onProgress:de,onBefore:fe,onBeginInitFile:Be,children:Pe,accept:We,className:ve,style:Ue={},concurrency:Bt=4},Tt)=>{let[Ye,ft]=(0,ne.useState)("ready");const[Ft,Jt]=(0,ne.useState)(0),[Rt,bt]=(0,ne.useState)(""),[Te,lt]=(0,ne.useState)(null),Lt=(0,ne.useRef)(null),De=(0,ne.useRef)((0,Je.Z)()),tt=(0,ne.useRef)(!1);(0,ne.useImperativeHandle)(Tt,()=>({cancel:vt,file:Te,uploadStatus:Ye}));const Dt=()=>{const Fe=document.getElementById(De.current);Fe&&(Fe.value="")},nn=Fe=>a(void 0,null,function*(){var st;if(Ye==="uploading")return;Be&&Be(Fe);const yt=Fe.size,an=Math.ceil(yt/x);tt.current=!1,ft("uploading"),Jt(0),bt("");try{const Wt=yield(0,pe.ZP)("/api/attachments/multipart_upload_start",{method:"POST",body:se({fileName:Fe.name,chunkCount:an},te)});if(tt.current||(Wt==null?void 0:Wt.status)!==0)throw new Error;const{upload_id:Ke}=Wt;Lt.current=new AbortController;const Ve=[];let we=0;for(let Ee=0;Ee(0,pe.ZP)("/api/attachments/multipart_upload",{method:"POST",body:Ce,signal:Lt.current.signal},!0).then(ke=>{console.log(ke,444),we++;const xt=Math.round(we/an*100);Jt(xt),de&&de(y(se({},ke),{file:Fe,percent:xt}))}))}let me=0,Ge=Bt;for(console.log(Ve,"promises");meSe());if(Ee.length>0){const Se=yield Promise.all(Ee);me+=Ge}}const ze=yield(0,pe.ZP)("/api/attachments/multipart_upload_end",{method:"POST",body:se({fileName:Fe.name,chunkCount:an,uploadId:Ke},te)});ze.object?(ft("success"),Dt(),ie&&ie(y(se({},ze),{file:Fe,percent:100}))):(ft("error"),bt("\u4E0A\u4F20\u5931\u8D25\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5"),Dt(),ue&&ue(Fe.name))}catch(Wt){ft("error"),bt("\u4E0A\u4F20\u5931\u8D25\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5"),Dt(),ue&&ue(Fe.name)}}),vt=(0,ne.useCallback)(()=>{tt.current=!0,Lt.current&&(Lt.current.abort(),ae&&ae())},[ae]),Vt=Fe=>{var st,yt;const an=(yt=(st=Fe==null?void 0:Fe.target)==null?void 0:st.files)==null?void 0:yt[0];if(lt(an),Ye="ready",!!an){if(fe){fe(an)||nn(an),Dt();return}nn(an)}};return ne.createElement(ne.Fragment,null,ne.createElement("input",{type:"file",id:De.current,style:{display:"none"},onChange:Vt,accept:We}),ne.createElement("label",{className:Oe()(Re.upload,ve),htmlFor:De.current,style:Ue},Pe))};var b=(0,ne.forwardRef)(E)},5171:function(wt,Mt,oe){"use strict";oe.d(Mt,{Z:function(){return dt}});var ne=oe(59301),pe=oe(3113),Je=oe(8591),Ne=oe(54580),Oe=oe(32050),Re=oe(19248),be=oe(3294),qe={img:"img___BgL9D"},dt=({value:it,onChange:et,getFileProgress:Xe})=>{const[se,y]=(0,ne.useState)(!1),a=ne.createElement(pe.ZP,{loading:se,icon:ne.createElement(Oe.Z,null)},"\u9009\u62E9\u4E0A\u4F20\u6587\u4EF6"),E=()=>ne.createElement("div",{className:qe.img},ne.createElement("img",{src:be.Z.API_SERVER+"/api/attachments/"+it,alt:"avatar",style:{width:288}}),ne.createElement("div",null,ne.createElement(Re.Z,{onClick:()=>et(""),style:{fontSize:"16px",color:"red"}}))),b=x=>{var te,ae,ie,ue,de,fe;if(Xe&&Xe(x),x.file.status==="uploading"){y(!0);return}if(x.file.status==="done"){if(y(!1),x.file.status==="done"&&((ae=(te=x.file)==null?void 0:te.response)==null?void 0:ae.status)===-1){Je.ZP.error((ue=(ie=x.file)==null?void 0:ie.response)==null?void 0:ue.message);return}et((fe=(de=x==null?void 0:x.file)==null?void 0:de.response)==null?void 0:fe.id)}};return ne.createElement(ne.Fragment,null,it?E():ne.createElement("div",null,ne.createElement(Ne.default,{withCredentials:!0,name:"file",showUploadList:!1,action:`${be.Z.API_SERVER}/api/attachments.json`,onChange:b,accept:"image/*"},a),ne.createElement("div",{className:"mt20 c-light-black"},"\u8BF4\u660E\uFF1A\u652F\u6301\u4E0A\u4F20jpg/png\u7B49\u683C\u5F0F\u6587\u4EF6\uFF0C\u6587\u4EF6\u5927\u5C0F\u4E0D\u80FD\u8D85\u8FC72M,\u5EFA\u8BAE\u4F7F\u7528288*158\u50CF\u7D20\uFF1B"),ne.createElement("div",{className:"c-light-black"},"\u5982\u4E0D\u4E0A\u4F20\uFF0C\u9ED8\u8BA4\u4F7F\u7528\u7CFB\u7EDF\u56FE\u7247\u3002")))}},73524:function(wt,Mt,oe){"use strict";oe.d(Mt,{Z:function(){return it}});var ne=oe(59301),pe={imageDimensions:"imageDimensions___a7crR",img:"img___Kroat",fullWidth:"fullWidth___c492T"},Je=oe(92310),Ne=oe.n(Je),Oe=oe(71418),Re=oe(2859),be=oe(99064),qe=oe(955),_e=(et,Xe,se)=>new Promise((y,a)=>{var E=te=>{try{x(se.next(te))}catch(ae){a(ae)}},b=te=>{try{x(se.throw(te))}catch(ae){a(ae)}},x=te=>te.done?y(te.value):Promise.resolve(te.value).then(E,b);x((se=se.apply(et,Xe)).next())}),it=({data:et,className:Xe,fullWidth:se,style:y={},onClose:a,onOk:E,showFullTools:b,noAssociationId:x})=>{const te=(0,ne.useRef)(null),ae=(0,ne.useRef)(null),ie=(0,ne.useRef)(null),ue=(0,ne.useRef)(null),[de,fe]=(0,ne.useState)(!1),[Be,Pe]=(0,ne.useState)("\u6B63\u5728\u52A0\u8F7D\u4E2D");(0,ne.useEffect)(()=>{ie.current||(ie.current=document.createElement("style"),document.head.appendChild(ie.current)),et!=null&&et.visible?(document.body.setAttribute("data-custom","y-hidden"),ie.current.innerHTML=" html { overflow-y: hidden; }",et!=null&&et.src&&We()):(document.body.removeAttribute("data-custom"),ie.current&&(document.head.removeChild(ie.current),ie.current=null))},[et==null?void 0:et.visible]);const We=()=>_e(void 0,null,function*(){fe(!0),Pe("\u6B63\u5728\u52A0\u8F7D\u4E2D");const Ye=yield(0,qe.ZJ)(et==null?void 0:et.src);te.current.src="",te.current.src=Ye,te.current.onload=function(){Tt()},fe(!1),Pe("")}),ve=()=>{document.body.removeAttribute("data-custom"),ie.current.innerHTML=" ",a()},Ue=Ye=>_e(void 0,null,function*(){fe(!0),Pe("\u6B63\u5728\u4FDD\u5B58\u4E2D");const ft=yield(0,be.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:et.title,file:Ye.dataUrl}});ft!=null&&ft.id&&!x?(yield(0,be.ZP)(`/api/attachments/${et.id}/add_subitem.json`,{method:"post",body:{subitem_id:ft==null?void 0:ft.id,settings:JSON.stringify(Ye.state)}})).status===0&&E():ft!=null&&ft.id&&E(ft),document.body.removeAttribute("data-custom"),ie.current.innerHTML=" ",fe(!1),Pe("")}),Bt=()=>{const Ye=document.querySelector('a[href="https://markerjs.com/"]');Ye&&Ye.parentNode&&(Ye.parentNode.style.display="none"),[{name:'[data-action="select"]',title:"\u9009\u62E9"},{name:'[data-action="delete"]',title:"\u5220\u9664\u5143\u7D20"},{name:'[data-action="undo"]',title:"\u64A4\u9500"},{name:'[data-type-name="FrameMarker"]',title:"\u77E9\u5F62"},{name:'[data-type-name="FreehandMarker"]',title:"\u753B\u7EBF"},{name:'[data-type-name="ArrowMarker"]',title:"\u7BAD\u5934"},{name:'[data-type-name="TextMarker"]',title:"\u6587\u672C"},{name:'[data-type-name="EllipseMarker"]',title:"\u692D\u5706"},{name:'[data-type-name="HighlightMarker"]',title:"\u65B9\u5757"},{name:'[data-type-name="CalloutMarker"]',title:"\u6CE8\u91CA"},{name:'[data-action="render"]',title:"\u4FDD\u5B58"},{name:'[data-action="close"]',title:"\u9000\u51FA"}].forEach(Ft=>{const Jt=document.querySelector(Ft.name);Jt&&Jt.setAttribute("title",Ft.title)})},Tt=()=>{ae.current=new Re.hP(te.current),ae.current.targetRoot=ue.current,ae.current.addEventListener("render",Ue),ae.current.addEventListener("beforeclose",ve),b&&(ae.current.availableMarkerTypes=ae.current.ALL_MARKER_TYPES,ae.current.uiStyleSettings.redoButtonVisible=!0,ae.current.uiStyleSettings.notesButtonVisible=!0,ae.current.uiStyleSettings.zoomButtonVisible=!0,ae.current.uiStyleSettings.zoomOutButtonVisible=!0,ae.current.uiStyleSettings.clearButtonVisible=!0),window.markerArea=ae.current.uiStyleSettings,ae.current.show(),et!=null&&et.snapshotData&&ae.current.restoreState(et.snapshotData),setTimeout(()=>{window.scrollTo(0,0),Bt()},300)};return ne.createElement(ne.Fragment,null,(et==null?void 0:et.visible)&&ne.createElement(Oe.Z,{spinning:de,tip:Be,style:{position:"absolute"}},ne.createElement("div",{ref:ue,className:Ne()(pe.imageDimensions,Xe,se?pe.fullWidth:""),style:y},ne.createElement("img",{className:pe.img,ref:te}))))}},41588:function(wt,Mt,oe){"use strict";var ne=oe(59301),pe=oe(95237),Je=oe(43604),Ne=oe(99313),Oe=oe(3113),Re=oe(85149),be=oe(88010),qe=oe(48136),_e=oe(59301);const dt=(0,ne.forwardRef)(({callback:it,showSaveButton:et,value:Xe=""},se)=>{const y=(0,ne.useRef)(),a=[{name:"\u5206\u6570\u5F97\u5206",value:"\\frac{x}{y}",children:[{name:"\u5206\u6570 Fractions",data:[{value:"\\frac{a}{b}"},{value:"x\\tfrac{x}{a} "},{value:"\\mathrm{d}t"},{value:"\\partial t"},{value:"\\frac{\\partial y}{\\partial x}"},{value:"\\nabla\\psi"},{value:"\\frac{\\partial^2}{\\partial x_1\\partial x_2}y"},{value:"\\cfrac{1}{a + \\cfrac{7}{b + \\cfrac{2}{9}}} = c"}]},{name:"\u5BFC\u6570 Derivative",data:[{value:"\\dot{a} "},{value:"\\ddot{a}"},{value:"{f}^{\\prime}"},{value:"{f}^{\\prime\\prime}"},{value:"{f}^{(n)}"}]},{name:"\u6A21\u7B97\u672F Modular arithmetic",data:[{value:"a \\bmod b"},{value:"a \\equiv b \\pmod{m} "},{value:"\\gcd(m, n) "},{value:"\\operatorname{lcm}(m, n) "}]}]},{name:"\u6839\u5F0F\u89D2\u6807",value:"\\sqrt{x}",children:[{name:"\u6839\u5F0F Radicals",data:[{value:"\\sqrt{x}"},{value:"\\sqrt[y]{x}"}]},{name:"\u4E0A\u4E0B\u6807 Sub&Super",data:[{value:"x^{a}"},{value:"x_{a}"},{value:"x_{a}^{b} "},{value:"_{a}^{b} x"},{value:"x_{a}^{b} "}]},{name:"\u91CD\u97F3\u7B26\u53CA\u5176\u4ED6 Accents and Others",data:[{value:"\\hat{a} "},{value:"\\sqrt[y]{x}"},{value:"\\check{} "},{value:"\\grave{a} "},{value:"\\acute{a}"},{value:"\\tilde{a}"},{value:"\\breve{a}"},{value:"\\bar{a}"},{value:"\\vec{a}"},{value:"\\not{a}"},{value:"\\widetilde{abc}"},{value:"\\widehat{abc}"},{value:"\\overleftarrow{abc} "},{value:"\\overrightarrow{abc}"},{value:"\\overline{abc}"},{value:"\\underline{abc}"},{value:"\\overbrace{abc}"},{value:"\\underbrace{abc}"},{value:"\\overset{a}{abc}"},{value:"\\underset{a}{abc} \\stackrel\\frown{ab}"},{value:"\\overline{ab} "},{value:"\\overleftrightarrow{ab}"},{value:"\\overset{a}{\\leftarrow}"},{value:"\\overset{a}{\\rightarrow}"},{value:"\\xleftarrow[abc]{a}"},{value:"\\xrightarrow[abc]{a} "}]}]},{name:"\u6781\u9650\u5BF9\u6570",value:"\\lim_{x \\to 0}",children:[{name:"\u6781\u9650 Limits",data:[{value:"\\lim a"},{value:"\\lim_{x \\to 0}"},{value:"\\lim_{x \\to \\infty}"},{value:"\\max_b{a}"},{value:"\\min_a{b}"}]},{name:"\u5BF9\u6570\u6307\u6570 Logarithms and exponentials",data:[{value:"\\log_{a}{b}"},{value:"\\lg_{a}{b}"},{value:"\\ln_{a}{b}"},{value:"\\exp a"}]},{name:"\u754C\u9650 Bounds",data:[{value:"\\min x"},{value:"\\sup t"},{value:"\\inf s"},{value:"\\lim u"},{value:"\\limsup w"},{value:"\\dim p"},{value:"\\ker\\phi "}]}]},{name:"\u4E09\u89D2\u51FD\u6570",value:"\\sin a",children:[{name:"\u4E09\u89D2\u51FD\u6570 Trigonometric functions",data:[{value:"\\sin a"},{value:"\\cos a"},{value:"\\tan a"},{value:"\\cot a "},{value:"\\sec a "},{value:"\\csc a "}]},{name:"\u53CD\u4E09\u89D2\u51FD\u6570 Inverse trigonometric functions",data:[{value:"\\sin^{-1}"},{value:"\\cos^{-1}"},{value:"\\tan^{-1}"},{value:"\\cot^{-1}"},{value:"\\sec^{-1}"},{value:"\\csc^{-1}"},{value:"\\arcsin a"},{value:"\\arccos a"},{value:"\\arctan a"},{value:"\\operatorname{arccot} a"},{value:"\\operatorname{arcsec} a"},{value:"\\operatorname{arccsc} a"}]},{name:"\u53CC\u66F2\u51FD\u6570 Hyperblic functions",data:[{value:"\\sinh a"},{value:"\\cosh a"},{value:"\\tanh a"},{value:"\\coth a"},{value:"\\operatorname{sech} a"},{value:"\\operatorname{csch} a"}]},{name:"\u53CD\u53CC\u66F2\u51FD\u6570 Inverse hyperbolic functions",data:[{value:"\\sinh^{-1}"},{value:"a\\cosh^{-1} a"},{value:"\\tanh^{-1} a"},{value:"\\coth^{-1} a"},{value:"\\operatorname{sech}^{-1} a"},{value:"\\operatorname{csch}^{-1} a"}]}]},{name:"\u79EF\u5206\u8FD0\u7B97",value:"\\int_{a}^{b}",children:[{name:"\u79EF\u5206 Integral",data:[{value:"\\int"},{value:"\\int_{a}^{b}"},{value:"\\int\\limits_{a}^{b}"}]},{name:"\u53CC\u91CD\u79EF\u5206 Double integral",data:[{value:"\\iint"},{value:"\\iint_{a}^{b} "},{value:"\\iint\\limits_{a}^{b} "}]},{name:"\u4E09\u91CD\u79EF\u5206 Triple integral",data:[{value:"\\iiint"},{value:"\\iiint_{a}^{b}"},{value:"\\iiint\\limits_{a}^{b} "}]},{name:"\u66F2\u7EBF\u79EF\u5206 Closed line or path integral",data:[{value:"\\oint"},{value:"\\oint_{a}^{b} "}]}]},{name:"\u5927\u578B\u8FD0\u7B97",value:"\\sum_{a}^{b}",children:[{name:"\u6C42\u548C Summation",data:[{value:"\\sum"},{value:"\\sum_{a}^{b}"},{value:"{\\textstyle \\sum_{a}^{b}} "}]},{name:"\u4E58\u79EF\u4F59\u79EF Product and coproduct",data:[{value:"\\prod"},{value:"\\prod_{a}^{b}"},{value:"{\\textstyle \\prod_{a}^{b}}"},{value:"\\coprod"},{value:"\\coprod_{a}^{b}"},{value:"{\\textstyle \\coprod_{a}^{b}} "}]},{name:"\u5E76\u96C6\u4EA4\u96C6 Union and intersection",data:[{value:"\\bigcup"},{value:"\\bigcup_{a}^{b}"},{value:"{\\textstyle \\bigcup_{a}^{b}}"},{value:"\\bigcap"},{value:"\\bigcap_{a}^{b}"}]},{name:"\u6790\u53D6\u5408\u53D6 Disjunction and conjunction",data:[{value:"\\bigvee"},{value:"\\bigvee_{a}^{b}"},{value:"\\bigwedge"},{value:"\\bigwedge_{a}^{b}"}]}]},{name:"\u62EC\u53F7\u53D6\u6574",value:"\\left [ \\left ( \\right ) \\right ] ",children:[{name:"\u62EC\u53F7 Brackets",data:[{value:"\\left ( \\right )"},{value:"\\left [ \\right ]"},{value:"\\left \\langle \\right \\rangle "},{value:"\\left | \\right | "},{value:"\\left \\lfloor \\right \\rfloor "},{value:"\\left \\lceil \\right \\rceil "}]}]}],E=[{name:"\u4EE3\u6570",value:"\\sqrt{a^2+b^2}",children:[{data:[{value:"\\left(x-1\\right)\\left(x+3\\right) "},{value:"\\sqrt{a^2+b^2}"},{value:"\\left ( \\frac{a}{b}\\right )^{n}= \\frac{a^{n}}{b^{n}}"},{value:"\\frac{a}{b}\\pm \\frac{c}{d}= \\frac{ad \\pm bc}{bd} "},{value:"\\frac{x^{2}}{a^{2}}-\\frac{y^{2}}{b^{2}}=1 "},{value:"\\frac{1}{\\sqrt{a}}=\\frac{\\sqrt{a}}{a},a\\ge 0\\frac{1}{\\sqrt{a}}=\\frac{\\sqrt{a}}{a},a\\ge 0 "},{value:"\\sqrt[n]{a^{n}}=\\left ( \\sqrt[n]{a}\\right )^{n} "},{value:"x ={-b \\pm \\sqrt{b^2-4ac}\\over 2a} "},{value:"y-y_{1}=k \\left( x-x_{1}\\right) "},{value:`\\left\\{\\begin{matrix} \r - x=a + r\\text{cos}\\theta \\ \r - y=b + r\\text{sin}\\theta \r -\\end{matrix}\\right. `},{value:`\\begin{array}{l} \r - \\text{\u5BF9\u4E8E\u65B9\u7A0B\u5F62\u5982\uFF1A}x^{3}-1=0 \\ \r - \\text{\u8BBE}\\text{:}\\omega =\\frac{-1+\\sqrt{3}i}{2} \\ \r - x_{1}=1,x_{2}= \\omega =\\frac{-1+\\sqrt{3}i}{2} \\ \r - x_{3}= \\omega ^{2}=\\frac{-1-\\sqrt{3}i}{2} \r -\\end{array} `},{value:`\\begin{array}{l} \r - a\\mathop{{x}}\\nolimits^{{2}}+bx+c=0 \\ \r - \\Delta =\\mathop{{b}}\\nolimits^{{2}}-4ac \\ \r - \\left\\{\\begin{matrix} \r - \\Delta \\gt 0\\text{\u65B9\u7A0B\u6709\u4E24\u4E2A\u4E0D\u76F8\u7B49\u7684\u5B9E\u6839} \\ \r - \\Delta = 0\\text{\u65B9\u7A0B\u6709\u4E24\u4E2A\u76F8\u7B49\u7684\u5B9E\u6839} \\ \r - \\Delta \\lt 0\\text{\u65B9\u7A0B\u65E0\u5B9E\u6839} \r -\\end{matrix}\\right. \r -\\end{array} `},{value:`\\begin{array}{l} \r - a\\mathop{{x}}\\nolimits^{{2}}+bx+c=0 \\ \r - \\Delta =\\mathop{{b}}\\nolimits^{{2}}-4ac \\ \r - \\mathop{{x}}\\nolimits_{{1,2}}=\\frac{{-b \\pm \r - \\sqrt{{\\mathop{{b}}\\nolimits^{{2}}-4ac}}}}{{2a}} \\ \r - \\mathop{{x}}\\nolimits_{{1}}+\\mathop{{x}}\\nolimits_{{2}}=-\\frac{{b}}{{a}} \\ \r - \\mathop{{x}}\\nolimits_{{1}}\\mathop{{x}}\\nolimits_{{2}}=\\frac{{c}}{{a}} \r -\\end{array} `}]}]},{name:"\u51E0\u4F55",value:"\\Delta A B C ",children:[{data:[{value:"\\Delta A B C "},{value:"a \\parallel c,b \\parallel c \\Rightarrow a \\parallel b "},{value:"l \\perp \\beta ,l \\subset \\alpha \\Rightarrow \\alpha \\perp \\beta"},{value:`\\left.\\begin{matrix} \r - a \\perp \\alpha \\ \r - b \\perp \\alpha \r -\\end{matrix}\\right\\}\\Rightarrow a \\parallel b`},{value:"P \\in \\alpha ,P \\in \\beta , \\alpha \\cap \\beta =l \\Rightarrow P \\in l "},{value:`\\alpha \\perp \\beta , \\alpha \\cap \\beta =l,a \\subset \\alpha ,a \\perp l \r - \\Rightarrow a \\perp \\beta `},{value:`\\left.\\begin{matrix} \r - a \\subset \\beta ,b \\subset \\beta ,a \\cap b=P \\ \r - a \\parallel \\partial ,b \\parallel \\partial \r -\\end{matrix}\\right\\}\\Rightarrow \\beta \\parallel \\alpha `},{value:"\\alpha \\parallel \\beta , \\gamma \\cap \\alpha =a, \\gamma \\cap \\beta =b \\Rightarrow a \\parallel b "},{value:"A \\in l,B \\in l,A \\in \\alpha ,B \\in \\alpha \\Rightarrow l \\subset \\alpha "},{value:`\\left.\\begin{matrix} \r - m \\subset \\alpha ,n \\subset \\alpha ,m \\cap n=P \\ \r - a \\perp m,a \\perp n \r -\\end{matrix}\\right\\}\\Rightarrow a \\perp \\alpha `},{value:`\\begin{array}{c} \r - \\text{\u76F4\u89D2\u4E09\u89D2\u5F62\u4E2D,\u76F4\u89D2\u8FB9\u957Fa,b,\u659C\u8FB9\u8FB9\u957Fc} \\ \r - a^{2}+b^{2}=c^{2} \r -\\end{array}`}]}]},{name:"\u4E0D\u7B49\u5F0F",value:"a > b",children:[{data:[{value:"a > b,b > c \\Rightarrow a > c "},{value:"a > b,c > d \\Rightarrow a+c > b+d "},{value:"a > b > 0,c > d > 0 \\Rightarrow ac bd "},{value:`\\begin{array}{c} \r - a \\gt b,c \\gt 0 \\Rightarrow ac \\gt bc \\ \r - a \\gt b,c \\lt 0 \\Rightarrow ac \\lt bc \r -\\end{array}`},{value:"\\left | a-b \\right | \\geqslant \\left | a \\right | -\\left | b \\right | "},{value:"-\\left | a \\right |\\leq a\\leqslant \\left | a \\right | "},{value:"\\left | a \\right |\\leqslant b \\Rightarrow -b \\leqslant a \\leqslant \\left | b \\right | "},{value:"\\left | a+b \\right | \\leqslant \\left | a \\right | + \\left | b \\right | "},{value:`\\begin{array}{c} \r - a \\gt b \\gt 0,n \\in N^{\\ast},n \\gt 1 \\ \r - \\Rightarrow a^{n}\\gt b^{n}, \\sqrt[n]{a}\\gt \\sqrt[n]{b} \r -\\end{array}`},{value:`\\left( \\sum_{k=1}^n a_k b_k \\right)^{\\!\\!2}\\leq \r -\\left( \\sum_{k=1}^n a_k^2 \\right) \\left( \\sum_{k=1}^n b_k^2 \\right) `},{value:`\\begin{array}{c} \r - a,b \\in R^{+} \\ \r - \\Rightarrow \\frac{a+b}{{2}}\\ge \\sqrt{ab} \\ \r - \\left( \\text{\u5F53\u4E14\u4EC5\u5F53}a=b\\text{\u65F6\u53D6\u201C}=\\text{\u201D\u53F7}\\right) \r -\\end{array}`},{value:`\\begin{array}{c} \r - a,b \\in R \\ \r - \\Rightarrow a^{2}+b^{2}\\gt 2ab \\ \r - \\left( \\text{\u5F53\u4E14\u4EC5\u5F53}a=b\\text{\u65F6\u53D6\u201C}=\\text{\u201D\u53F7}\\right) \r -\\end{array}`},{value:`\\begin{array}{c} \r - H_{n}=\\frac{n}{\\sum \\limits_{i=1}^{n}\\frac{1}{x_{i}}}= \\frac{n}{\\frac{1}{x_{1}}+ \\frac{1}{x_{2}}+ \\cdots + \\frac{1}{x_{n}}} \\ G_{n}=\\sqrt[n]{\\prod \\limits_{i=1}^{n}x_{i}}= \\sqrt[n]{x_{1}x_{2}\\cdots x_{n}} \\ A_{n}=\\frac{1}{n}\\sum \\limits_{i=1}^{n}x_{i}=\\frac{x_{1}+ x_{2}+ \\cdots + x_{n}}{n} \\ Q_{n}=\\sqrt{\\sum \\limits_{i=1}^{n}x_{i}^{2}}= \\sqrt{\\frac{x_{1}^{2}+ x_{2}^{2}+ \\cdots + x_{n}^{2}}{n}} \\ H_{n}\\leq G_{n}\\leq A_{n}\\leq Q_{n} \r -\\end{array}`}]}]},{name:"\u79EF\u5206",value:"\\frac{\\mathrm{d}\\partial}{\\partial x}",children:[{data:[{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}x^n=nx^{n-1} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}e^{ax}=a\\,e^{ax} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\ln(x)=\\frac{1}{x} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\sin x=\\cos x "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\cos x=-\\sin x "},{value:"\\int k\\mathrm{d}x = kx+C "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\tan x=\\sec^2 x "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\cot x=-\\csc^2 x "},{value:"\\int \\frac{1}{x}\\mathrm{d}x= \\ln \\left| x \\right| +C "},{value:"\\int \\frac{1}{\\sqrt{1-x^{2}}}\\mathrm{d}x= \\arcsin x +C "},{value:"\\int \\frac{1}{1+x^{2}}\\mathrm{d}x= \\arctan x +C "},{value:"\\int u \\frac{\\mathrm{d}v}{\\mathrm{d}x}\\,\\mathrm{d}x=uv-\\int \\frac{\\mathrm{d}u}{\\mathrm{d}x}v\\,\\mathrm{d}x "},{value:"f(x) = \\int_{-\\infty}^\\infty \\hat f(x)\\xi\\,e^{2 \\pi i \\xi x} \\,\\mathrm{d}\\xi "},{value:"\\int x^{\\mu}\\mathrm{d}x=\\frac{x^{\\mu +1}}{\\mu +1}+C, \\left({\\mu \\neq -1}\\right) "}]}]},{name:"\u4E09\u89D2",value:"e^{i \\theta}",children:[{name:"\u6C42\u548C Summation",data:[{value:"e^{i \\theta} "},{value:"\\left(\\frac{\\pi}{2}-\\theta \\right ) "},{value:"\\text{sin}^{2}\\frac{\\alpha}{2}=\\frac{1- \\text{cos}\\alpha}{2} "},{value:"\\text{cos}^{2}\\frac{\\alpha}{2}=\\frac{1+ \\text{cos}\\alpha}{2} "},{value:"\\text{tan}\\frac{\\alpha}{2}=\\frac{\\text{sin}\\alpha}{1+ \\text{cos}\\alpha} "},{value:"\\sin \\alpha + \\sin \\beta =2 \\sin \\frac{\\alpha + \\beta}{2}\\cos \\frac{\\alpha - \\beta}{2} "},{value:"\\sin \\alpha - \\sin \\beta =2 \\cos \\frac{\\alpha + \\beta}{2}\\sin \\frac{\\alpha - \\beta}{2} "},{value:"\\cos \\alpha + \\cos \\beta =2 \\cos \\frac{\\alpha + \\beta}{2}\\cos \\frac{\\alpha - \\beta}{2} "},{value:"\\cos \\alpha - \\cos \\beta =-2\\sin \\frac{\\alpha + \\beta}{2}\\sin \\frac{\\alpha - \\beta}{2} "},{value:"a^{2}=b^{2}+c^{2}-2bc\\cos A "},{value:"\\frac{\\sin A}{a}=\\frac{\\sin B}{b}=\\frac{\\sin C}{c}=\\frac{1}{2R} "},{value:"\\sin \\left ( \\frac{\\pi}{2}-\\alpha \\right ) = \\cos \\alpha "},{value:"\\sin \\left ( \\frac{\\pi}{2}+\\alpha \\right ) = \\cos \\alpha "}]}]},{name:"\u7EDF\u8BA1",value:"C_{r}^{n}",children:[{data:[{value:"C_{r}^{n} "},{value:"\\frac{n!}{r!(n-r)!} "},{value:"\\sum_{i=1}^{n}{X_i} "},{value:"\\sum_{i=1}^{n}{X_i^2} "},{value:"X_1, \\cdots,X_n "},{value:"\\frac{x-\\mu}{\\sigma} "},{value:"\\sum_{i=1}^{n}{(X_i - \\overline{X})^2} "},{value:`\\begin{array}{c} \r - \\text{\u82E5}P \\left( AB \\right) =P \\left( A \\right) P \\left( B \\right) \\\\ \r - \\text{\u5219}P \\left( A \\left| B\\right. \\right) =P \\left({B}\\right) \r -\\end{array}`},{value:"P(E) ={n \\choose k}p^k (1-p)^{n-k} "},{value:"P \\left( A \\right) = \\lim \\limits_{n \\to \\infty}f_{n}\\left ( A \\right ) "},{value:"P \\left( \\bigcup \\limits_{i=1}^{+ \\infty}A_{i}\\right) = \\prod \\limits_{i=1}^{+ \\infty}P{\\left( A_{i}\\right)} "},{value:`\\begin{array}{c} \r - P \\left( \\emptyset \\right) =0 \\\\ \r - P \\left( S \\right) =1 \r -\\end{array}`},{value:`\\begin{array}{c} \r - \\forall A \\in S \\\\ \r - P \\left( A \\right) \\ge 0 \r -\\end{array}`},{value:"P \\left( \\bigcup \\limits_{i=1}^{n}A_{i}\\right) = \\prod \\limits_{i=1}^{n}P \\left( A_{i}\\right) "},{value:`\\begin{array}{c} \r - S= \\binom{N}{n},A_{k}=\\binom{M}{k}\\cdot \\binom{N-M}{n-k} \\\\ \r - P\\left ( A_{k}\\right ) = \\frac{\\binom{M}{k}\\cdot \\binom{N-M}{n-k}}{\\binom{N}{n}} \r -\\end{array}`},{value:`\\begin{array}{c} \r - P_{n}=n! \\\\ \r - A_{n}^{k}=\\frac{n!}{\\left( n-k \\left) !\\right. \\right.} \r -\\end{array}`}]}]}],b=ae=>{y.current.setValue(y.current.getValue()+" "+ae.value+" ")},x=[{key:"1",label:"\u5FEB\u6377\u6A21\u677F",children:_e.createElement(pe.Z,{className:be.Z.lists,gutter:[10,10]},a.map((ae,ie)=>_e.createElement(Je.Z,{flex:"110px",className:be.Z.item},_e.createElement("div",null,_e.createElement(Re.Z,{value:`$$${ae.value}$$`}),ae.name),_e.createElement("div",{className:be.Z.children},ae.children.map((ue,de)=>_e.createElement("div",{key:de},_e.createElement("h1",null,ue.name),_e.createElement(pe.Z,{gutter:[10,10]},ue.data.map((fe,Be)=>_e.createElement(Je.Z,{key:Be,onClick:()=>b(fe),className:be.Z.diamond},_e.createElement(Re.Z,{value:"`$$"+fe.value+"$$`"}))))))))))},{key:"2",label:"\u516C\u5F0F\u6A21\u677F",children:_e.createElement(pe.Z,{className:be.Z.lists,gutter:[10,10]},E.map((ae,ie)=>_e.createElement(Je.Z,{flex:"110px",className:be.Z.item},_e.createElement("div",null,_e.createElement(Re.Z,{value:"`$$"+ae.value+"$$`"}),ae.name),_e.createElement("div",{className:be.Z.children},ae.children.map((ue,de)=>_e.createElement("div",{key:de},ue.name&&_e.createElement("h1",null,ue.name),_e.createElement(pe.Z,{gutter:[10,10]},ue.data.map((fe,Be)=>_e.createElement(Je.Z,{key:Be,onClick:()=>b(fe),className:be.Z.diamond},_e.createElement(Re.Z,{value:"`$$"+fe.value+"$$`"}))))))))))}],te=()=>{var ae=document.createElement("div");ae.innerHTML=y.current.getValue();var ie=ae.innerText;return it&&it(ie),ie};return(0,ne.useImperativeHandle)(se,()=>({getData:te})),_e.createElement("div",{className:be.Z.mathWrap},_e.createElement(Ne.default,{defaultActiveKey:"1",items:x}),_e.createElement("math-field",{locale:"zh_cn",className:be.Z.mathField,placeholder:"\u8BF7\u6253\u5F00\u952E\u76D8\uFF0C\u8F93\u5165\u516C\u5F0F",ref:y,style:{width:800,marginTop:30,fontSize:18}},Xe||""),et&&_e.createElement("div",{className:be.Z.button},_e.createElement(Oe.ZP,{size:"large",onClick:te,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))});Mt.Z=dt},57490:function(wt,Mt,oe){"use strict";oe.d(Mt,{z:function(){return Jt},Z:function(){return Rt}});var ne=oe(59301),pe=oe(54580),Je=oe(8591),Ne=oe(43418),Oe=oe(3113),Re=oe(3294),be=oe(23538),qe=Object.defineProperty,_e=Object.getOwnPropertySymbols,dt=Object.prototype.hasOwnProperty,it=Object.prototype.propertyIsEnumerable,et=(bt,Te,lt)=>Te in bt?qe(bt,Te,{enumerable:!0,configurable:!0,writable:!0,value:lt}):bt[Te]=lt,Xe=(bt,Te)=>{for(var lt in Te||(Te={}))dt.call(Te,lt)&&et(bt,lt,Te[lt]);if(_e)for(var lt of _e(Te))it.call(Te,lt)&&et(bt,lt,Te[lt]);return bt},se=(bt,Te,lt)=>new Promise((Lt,De)=>{var tt=vt=>{try{nn(lt.next(vt))}catch(Vt){De(Vt)}},Dt=vt=>{try{nn(lt.throw(vt))}catch(Vt){De(Vt)}},nn=vt=>vt.done?Lt(vt.value):Promise.resolve(vt.value).then(tt,Dt);nn((lt=lt.apply(bt,Te)).next())});const y="\u3000\u3000";function a(bt){var Te=["Bytes","KB","MB","GB","TB"];if(bt==0)return"0 Byte";var lt=parseInt(""+Math.floor(Math.log(bt)/Math.log(1024)),10);return(bt/Math.pow(1024,lt)).toFixed(1)+" "+Te[lt]}var E=({value:bt=[],action:Te,onChange:lt,className:Lt,maxSize:De=150,title:tt="\u6587\u4EF6\u4E0A\u4F20",accept:Dt=null})=>{const nn={multiple:!1,fileList:bt,accept:Dt,withCredentials:!0,beforeUpload:Vt=>Vt.size/1024/1024(Ke.name.indexOf(y)===-1&&(Ke.name=`${Ke.name}${y}${a(Ke.size)}`),Xe({},Ke))),Vt.file.status==="done"&&((st=(Fe=Vt.file)==null?void 0:Fe.response)==null?void 0:st.status)===-1){message.error((an=(yt=Vt.file)==null?void 0:yt.response)==null?void 0:an.message),lt([]);return}lt(Wt)},onRemove:Vt=>se(void 0,null,function*(){const Fe=Vt.size/1024/1024;return Vt.status==="uploading"?!0:Fe0?"\u6BCF\u6B21\u53EA\u80FD\u4E0A\u4F20\u4E00\u4E2A\u8D44\u6E90\uFF0C \u5220\u9664\u4E0B\u9762\u8D44\u6E90\u53EF\u91CD\u65B0\u4E0A\u4F20 ":"",disabled:bt.length>0,ghost:!0},tt),React.createElement("span",{onClick:vt,style:{marginLeft:10}},"(\u5355\u4E2A\u6587\u4EF6\u6700\u5927",De,"M)"," ")))},b=oe(61481),x=oe(89392),te=Object.defineProperty,ae=Object.getOwnPropertySymbols,ie=Object.prototype.hasOwnProperty,ue=Object.prototype.propertyIsEnumerable,de=(bt,Te,lt)=>Te in bt?te(bt,Te,{enumerable:!0,configurable:!0,writable:!0,value:lt}):bt[Te]=lt,fe=(bt,Te)=>{for(var lt in Te||(Te={}))ie.call(Te,lt)&&de(bt,lt,Te[lt]);if(ae)for(var lt of ae(Te))ue.call(Te,lt)&&de(bt,lt,Te[lt]);return bt};const Be=bt=>React.createElement("svg",fe({width:14,height:14,xmlns:"http://www.w3.org/2000/svg"},bt),React.createElement("title",null,"\u5F62\u72B6"),React.createElement("path",{d:"M10.354 3.5h-2.77v8.167H6.416V3.5H3.646L7 0l3.354 3.5ZM14 7h-1.167v5.833H1.167V7H0v7h14V7Z",fill:"#3061D0",fillRule:"nonzero"}));var Pe="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTEwLjM1NCAzLjVoLTIuNzd2OC4xNjdINi40MTZWMy41SDMuNjQ2TDcgMGwzLjM1NCAzLjVaTTE0IDdoLTEuMTY3djUuODMzSDEuMTY3VjdIMHY3aDE0VjdaIiBmaWxsPSIjMzA2MUQwIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4=",We=Object.defineProperty,ve=Object.getOwnPropertySymbols,Ue=Object.prototype.hasOwnProperty,Bt=Object.prototype.propertyIsEnumerable,Tt=(bt,Te,lt)=>Te in bt?We(bt,Te,{enumerable:!0,configurable:!0,writable:!0,value:lt}):bt[Te]=lt,Ye=(bt,Te)=>{for(var lt in Te||(Te={}))Ue.call(Te,lt)&&Tt(bt,lt,Te[lt]);if(ve)for(var lt of ve(Te))Bt.call(Te,lt)&&Tt(bt,lt,Te[lt]);return bt},ft=(bt,Te,lt)=>new Promise((Lt,De)=>{var tt=vt=>{try{nn(lt.next(vt))}catch(Vt){De(Vt)}},Dt=vt=>{try{nn(lt.throw(vt))}catch(Vt){De(Vt)}},nn=vt=>vt.done?Lt(vt.value):Promise.resolve(vt.value).then(tt,Dt);nn((lt=lt.apply(bt,Te)).next())});const{Dragger:Ft}=pe.default;function Jt(bt){let Te=[];return bt&&bt.length>0&&(Te=bt.map(lt=>({uid:lt.id,id:lt.id,name:lt.title+y+lt.filesize,url:lt.url,filesize:lt.filesize,status:"done",response:{id:lt.id}}))),Te}var Rt=({value:bt,onChange:Te,action:lt,data:Lt,className:De,maxSize:tt=150,title:Dt="\u4E0A\u4F20\u9644\u4EF6",showRemoveModal:nn=!1,accept:vt="",additionalText:Vt,isDragger:Fe,number:st=1e3,aloneClear:yt=!1,realTimeRemove:an=!0,uploadText:Wt,setFileProgress:Ke,showFileProgress:Ve})=>{const[we,me]=(0,ne.useState)(!1);let[Ge,ze]=(0,ne.useState)(bt||[]),[Ee,Se]=(0,ne.useState)(1);(0,ne.useEffect)(()=>{bt&&(Ee===1&&ze([...bt]),Se(2),st===(bt==null?void 0:bt.length)&&me(!0))},[bt]);const nt=()=>{setTimeout(()=>{Ge.pop(),ze([...Ge])},500)};Ve&&Ke(Ge.some(ke=>ke.status==="uploading"));const Me={multiple:!0,disabled:we,accept:vt,withCredentials:!0,fileList:Ge,beforeUpload:(ke,xt)=>{const ht=ke.size/1024/1024;return Ge.concat(xt).length>st?(Ge.pop(),ze([...Ge]),Je.ZP.error(`\u6700\u591A\u53EA\u80FD\u4E0A\u4F20${st}\u4E2A\u6587\u4EF6`),yt?Promise.reject():(nt(),!1)):ht=st?me(!0):me(!1),ze([...Ge]),Ge=Ge.map(Ot=>{var Le,rt;return(Le=Ot==null?void 0:Ot.response)!=null&&Le.id&&(Ot.url=(rt=Ot==null?void 0:Ot.response)==null?void 0:rt.url),Ot.name.indexOf(y)===-1&&(Ot.name=`${Ot.name}${y}${a(Ot.size)}`),Ye({},Ot)}),console.log("info:",ke,Ge),Te(Ge)},onRemove:ke=>ft(void 0,null,function*(){if(!an)return!0;const xt=()=>ft(void 0,null,function*(){if(ke.response?ke.response.id:ke.id){let zt=yield(0,be.JZ)(ke.response?ke.response.id:ke.uid);return Promise.resolve(zt)}else return!0});return nn?new Promise((ht,zt)=>{Ne.default.confirm({centered:!0,width:530,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:ne.createElement("div",{className:"tc font16"},"\u662F\u5426\u786E\u8BA4\u5220\u9664?"),onOk:()=>ft(void 0,null,function*(){const kt=yield xt();Je.ZP.success("\u5220\u9664\u6210\u529F"),ht(!0)}),onCancel:()=>ht(!1)})}):yield xt()})};function Ce(ke){ke.preventDefault(),ke.stopPropagation()}return ne.createElement("div",{className:`multi-upload ${De||""}`},Fe&&ne.createElement(Ft,Ye({},Me),ne.createElement("p",{className:"ant-upload-drag-icon"},ne.createElement(b.Z,null)),ne.createElement("p",{className:"ant-upload-text"},"\u70B9\u51FB\u4E0A\u4F20\u56FE\u6807\uFF0C\u9009\u62E9\u8981\u4E0A\u4F20\u7684\u6587\u4EF6\u6216\u5C06\u6587\u4EF6\u62D6\u62FD\u5230\u6B64",ne.createElement("br",null),"(\u5355\u4E2A\u6587\u4EF6\u6700\u5927\u9650\u5236\u4E3A",tt,"MB)"," "),Vt),!Fe&&ne.createElement(pe.default,Ye({},Me),ne.createElement(Oe.ZP,{disabled:we,className:"upload_button"},ne.createElement("img",{className:"aBtn_img",src:Pe}),Dt),ne.createElement("span",{onClick:Ce,className:"upload_text"},Wt||`(\u5355\u4E2A\u6587\u4EF6\u6700\u5927${tt}MB)`)))}},33538:function(wt,Mt,oe){"use strict";oe.d(Mt,{Z:function(){return Ne}});var ne=oe(89070),pe={ldsRing:"ldsRing___mpBZC",idsRingWrapper:"idsRingWrapper___Of9_n",ldsring:"ldsring___o0w2t"},Je=oe(59301),Ne=({message:Oe,className:Re,children:be,style:qe={}})=>Je.createElement("div",{className:`custom-spinner ${pe.idsRingWrapper} ${Re}`},Je.createElement("div",{className:pe.ldsRing},Je.createElement("div",null),Je.createElement("div",null),Je.createElement("div",null),Je.createElement("div",null)),Oe?Je.createElement("p",{style:qe},Oe):null,be,Je.createElement(ne.Outlet,null))},70714:function(wt,Mt,oe){"use strict";oe.d(Mt,{Z:function(){return Vn}});var ne=oe(59301),pe=oe(34604),Je=oe(15277),Ne=oe(92310),Oe=oe.n(Ne),Re=oe(72308),be=oe(77321),qe=oe(49618),_e=oe(52487),dt=oe(62853),it=oe(74416),et=oe(55468),Xe=oe(18929),se=["crossOrigin","decoding","draggable","loading","referrerPolicy","sizes","srcSet","useMap","alt"],y=ne.createContext(null),a=0;function E(_t,ye){var qt=ne.useState(function(){return a+=1,String(a)}),yn=(0,_e.Z)(qt,1),hn=yn[0],Cn=ne.useContext(y),xe={data:ye,canPreview:_t};return ne.useEffect(function(){if(Cn)return Cn.register(hn,xe)},[]),ne.useEffect(function(){Cn&&Cn.register(hn,xe)},[_t,ye]),hn}function b(_t){return new Promise(function(ye){var qt=document.createElement("img");qt.onerror=function(){return ye(!1)},qt.onload=function(){return ye(!0)},qt.src=_t})}function x(_t){var ye=_t.src,qt=_t.isCustomPlaceholder,yn=_t.fallback,hn=(0,ne.useState)(qt?"loading":"normal"),Cn=(0,_e.Z)(hn,2),xe=Cn[0],pt=Cn[1],Ct=(0,ne.useRef)(!1),Et=xe==="error";(0,ne.useEffect)(function(){b(ye).then(function(Kt){Kt||pt("error")})},[ye]),(0,ne.useEffect)(function(){qt&&!Ct.current?pt("loading"):Et&&pt("normal")},[ye]);var Qt=function(){pt("normal")},jt=function(Gn){Ct.current=!1,xe==="loading"&&Gn!=null&&Gn.complete&&(Gn.naturalWidth||Gn.naturalHeight)&&(Ct.current=!0,Qt())},Gt=Et&&yn?{src:yn}:{onLoad:Qt,src:ye};return[jt,Gt,xe]}var te=oe(86923),ae=oe(8224),ie=oe(10228),ue=oe(48736);function de(_t,ye,qt,yn){var hn=ye+qt,Cn=(qt-yn)/2;if(qt>yn){if(ye>0)return(0,qe.Z)({},_t,Cn);if(ye<0&&hnyn)return(0,qe.Z)({},_t,ye<0?Cn:-Cn);return{}}function fe(_t,ye,qt,yn){var hn=(0,et.g1)(),Cn=hn.width,xe=hn.height,pt=null;return _t<=Cn&&ye<=xe?pt={x:0,y:0}:(_t>Cn||ye>xe)&&(pt=(0,be.Z)((0,be.Z)({},de("x",qt,_t,Cn)),de("y",yn,ye,xe))),pt}var Be=oe(13697),Pe=oe(16089),We={x:0,y:0,rotate:0,scale:1,flipX:!1,flipY:!1};function ve(_t,ye,qt,yn){var hn=(0,ne.useRef)(null),Cn=(0,ne.useRef)([]),xe=(0,ne.useState)(We),pt=(0,_e.Z)(xe,2),Ct=pt[0],Et=pt[1],Qt=function(Gn){Et(We),yn&&!(0,Be.Z)(We,Ct)&&yn({transform:We,action:Gn})},jt=function(Gn,ot){hn.current===null&&(Cn.current=[],hn.current=(0,Pe.Z)(function(){Et(function(Ie){var Pt=Ie;return Cn.current.forEach(function(tn){Pt=(0,be.Z)((0,be.Z)({},Pt),tn)}),hn.current=null,yn==null||yn({transform:Pt,action:ot}),Pt})})),Cn.current.push((0,be.Z)((0,be.Z)({},Ct),Gn))},Gt=function(Gn,ot,Ie,Pt){var tn=_t.current,Dn=tn.width,jn=tn.height,Nt=tn.offsetWidth,Xt=tn.offsetHeight,Ut=tn.offsetLeft,It=tn.offsetTop,En=Gn,sn=Ct.scale*Gn;sn>qt?(En=qt/Ct.scale,sn=qt):sn1,ka=Ea&&tn>=1,ea=ve(Pa,Ut,En,Na),ra=ea.transform,na=ea.resetTransform,za=ea.updateTransform,Ma=ea.dispatchZoomChange,Ya=(0,ne.useState)(!0),xa=(0,_e.Z)(Ya,2),Xa=xa[0],oa=xa[1],Un=ra.rotate,ma=ra.scale,Zt=ra.x,ia=ra.y,ha=Oe()((0,qe.Z)({},"".concat(qt,"-moving"),Ra));(0,ne.useEffect)(function(){Xa||oa(!0)},[Xa]);var Pn=function(){na("close")},cn=function(){Ma(ft+Nt,"zoomIn")},Bn=function(){Ma(ft/(ft+Nt),"zoomOut")},xn=function(){za({rotate:Un+90},"rotateRight")},ba=function(){za({rotate:Un-90},"rotateLeft")},$t=function(){za({flipX:!ra.flipX},"flipX")},La=function(){za({flipY:!ra.flipY},"flipY")},Aa=function(ga){ga==null||ga.preventDefault(),ga==null||ga.stopPropagation(),Ie>0&&(oa(!1),na("prev"),On==null||On(Ie-1,Ie))},wa=function(ga){ga==null||ga.preventDefault(),ga==null||ga.stopPropagation(),Ie0&&(Ja=ft/Ja),Ma(Ja,"wheel",ga.clientX,ga.clientY)}},la=function(ga){!Et||!Da||(ga.keyCode===ie.Z.LEFT?Aa():ga.keyCode===ie.Z.RIGHT&&wa())},Za=function(ga){Et&&(ma!==1?za({x:0,y:0,scale:1},"doubleClick"):Ma(ft+Nt,"doubleClick",ga.clientX,ga.clientY))};(0,ne.useEffect)(function(){var pa,ga,ja,_a;if(pt){ja=(0,ae.Z)(window,"mouseup",Ia,!1),_a=(0,ae.Z)(window,"mousemove",Va,!1);try{window.top!==window.self&&(pa=(0,ae.Z)(window.top,"mouseup",Ia,!1),ga=(0,ae.Z)(window.top,"mousemove",Va,!1))}catch(Ja){(0,ue.Kp)(!1,"[rc-image] ".concat(Ja))}}return function(){var Ja,ir,sr,nr;(Ja=ja)===null||Ja===void 0||Ja.remove(),(ir=_a)===null||ir===void 0||ir.remove(),(sr=pa)===null||sr===void 0||sr.remove(),(nr=ga)===null||nr===void 0||nr.remove()}},[Et,Ra,Zt,ia,Un,pt]),(0,ne.useEffect)(function(){var pa=(0,ae.Z)(window,"keydown",la,!1);return function(){pa.remove()}},[Et,Da,Ie]);var Ta=ne.createElement(bt,(0,Re.Z)({},va,{width:ye.width,height:ye.height,imgRef:Pa,className:"".concat(qt,"-img"),alt:hn,style:{transform:"translate3d(".concat(ra.x,"px, ").concat(ra.y,"px, 0) scale3d(").concat(ra.flipX?"-":"").concat(ma,", ").concat(ra.flipY?"-":"").concat(ma,", 1) rotate(").concat(Un,"deg)"),transitionDuration:!Xa&&"0s"},fallback:Cn,src:yn,onWheel:fa,onMouseDown:Fa,onDoubleClick:Za}));return ne.createElement(ne.Fragment,null,ne.createElement(te.Z,(0,Re.Z)({transitionName:In,maskTransitionName:bn,closable:!1,keyboard:!0,prefixCls:qt,onClose:Ct,visible:Et,wrapClassName:ha,rootClassName:Gt,getContainer:Gn},ya,{afterClose:Pn}),ne.createElement("div",{className:"".concat(qt,"-img-wrapper")},wn?wn(Ta,(0,be.Z)({transform:ra},Ea?{current:Ie}:{})):Ta)),ne.createElement(Ye,{visible:Et,transform:ra,maskTransitionName:bn,closeIcon:Kt,getContainer:Gn,prefixCls:qt,rootClassName:Gt,icons:jt,countRender:Dn,showSwitch:Da,showProgress:ka,current:Ie,count:tn,scale:ma,minScale:Ut,maxScale:En,toolbarRender:Sa,onSwitchLeft:Aa,onSwitchRight:wa,onZoomIn:cn,onZoomOut:Bn,onRotateRight:xn,onRotateLeft:ba,onFlipX:$t,onFlipY:La,onClose:Ct}))},lt=Te,Lt=oe(80702);function De(_t){var ye=ne.useState({}),qt=(0,_e.Z)(ye,2),yn=qt[0],hn=qt[1],Cn=ne.useCallback(function(pt,Ct){return hn(function(Et){return(0,be.Z)((0,be.Z)({},Et),{},(0,qe.Z)({},pt,Ct))}),function(){hn(function(Et){var Qt=(0,be.Z)({},Et);return delete Qt[pt],Qt})}},[]),xe=ne.useMemo(function(){return _t?_t.map(function(pt){if(typeof pt=="string")return{data:{src:pt}};var Ct={};return Object.keys(pt).forEach(function(Et){["src"].concat((0,Lt.Z)(se)).includes(Et)&&(Ct[Et]=pt[Et])}),{data:Ct}}):Object.keys(yn).reduce(function(pt,Ct){var Et=yn[Ct],Qt=Et.canPreview,jt=Et.data;return Qt&&pt.push({data:jt,id:Ct}),pt},[])},[_t,yn]);return[xe,Cn]}var tt=["visible","onVisibleChange","getContainer","current","movable","minScale","maxScale","countRender","closeIcon","onChange","onTransform","toolbarRender","imageRender"],Dt=["src"],nn=function(ye){var qt,yn=ye.previewPrefixCls,hn=yn===void 0?"rc-image-preview":yn,Cn=ye.children,xe=ye.icons,pt=xe===void 0?{}:xe,Ct=ye.items,Et=ye.preview,Qt=ye.fallback,jt=(0,dt.Z)(Et)==="object"?Et:{},Gt=jt.visible,Kt=jt.onVisibleChange,Gn=jt.getContainer,ot=jt.current,Ie=jt.movable,Pt=jt.minScale,tn=jt.maxScale,Dn=jt.countRender,jn=jt.closeIcon,Nt=jt.onChange,Xt=jt.onTransform,Ut=jt.toolbarRender,It=jt.imageRender,En=(0,it.Z)(jt,tt),sn=De(Ct),In=(0,_e.Z)(sn,2),Hn=In[0],bn=In[1],wn=(0,Xe.Z)(0,{value:ot}),va=(0,_e.Z)(wn,2),Sa=va[0],Na=va[1],On=(0,ne.useState)(!1),ya=(0,_e.Z)(On,2),Pa=ya[0],qn=ya[1],aa=((qt=Hn[Sa])===null||qt===void 0?void 0:qt.data)||{},Ka=aa.src,Ra=(0,it.Z)(aa,Dt),Wa=(0,Xe.Z)(!!Gt,{value:Gt,onChange:function(Un,ma){Kt==null||Kt(Un,ma,Sa)}}),Ea=(0,_e.Z)(Wa,2),Da=Ea[0],ka=Ea[1],ea=(0,ne.useState)(null),ra=(0,_e.Z)(ea,2),na=ra[0],za=ra[1],Ma=ne.useCallback(function(oa,Un,ma){var Zt=Hn.findIndex(function(ia){return ia.id===oa});ka(!0),za({x:Un,y:ma}),Na(Zt<0?0:Zt),qn(!0)},[Hn]);ne.useEffect(function(){Da?Pa||Na(0):qn(!1)},[Da]);var Ya=function(Un,ma){Na(Un),Nt==null||Nt(Un,ma)},xa=function(){ka(!1),za(null)},Xa=ne.useMemo(function(){return{register:bn,onPreview:Ma}},[bn,Ma]);return ne.createElement(y.Provider,{value:Xa},Cn,ne.createElement(lt,(0,Re.Z)({"aria-hidden":!Da,movable:Ie,visible:Da,prefixCls:hn,closeIcon:jn,onClose:xa,mousePosition:na,imgCommonProps:Ra,src:Ka,fallback:Qt,icons:pt,minScale:Pt,maxScale:tn,getContainer:Gn,current:Sa,count:Hn.length,countRender:Dn,onTransform:Xt,toolbarRender:Ut,imageRender:It,onChange:Ya},En)))},vt=nn,Vt=["src","alt","onPreviewClose","prefixCls","previewPrefixCls","placeholder","fallback","width","height","style","preview","className","onClick","onError","wrapperClassName","wrapperStyle","rootClassName"],Fe=["src","visible","onVisibleChange","getContainer","mask","maskClassName","movable","icons","scaleStep","minScale","maxScale","imageRender","toolbarRender"],st=function(ye){var qt=ye.src,yn=ye.alt,hn=ye.onPreviewClose,Cn=ye.prefixCls,xe=Cn===void 0?"rc-image":Cn,pt=ye.previewPrefixCls,Ct=pt===void 0?"".concat(xe,"-preview"):pt,Et=ye.placeholder,Qt=ye.fallback,jt=ye.width,Gt=ye.height,Kt=ye.style,Gn=ye.preview,ot=Gn===void 0?!0:Gn,Ie=ye.className,Pt=ye.onClick,tn=ye.onError,Dn=ye.wrapperClassName,jn=ye.wrapperStyle,Nt=ye.rootClassName,Xt=(0,it.Z)(ye,Vt),Ut=Et&&Et!==!0,It=(0,dt.Z)(ot)==="object"?ot:{},En=It.src,sn=It.visible,In=sn===void 0?void 0:sn,Hn=It.onVisibleChange,bn=Hn===void 0?hn:Hn,wn=It.getContainer,va=wn===void 0?void 0:wn,Sa=It.mask,Na=It.maskClassName,On=It.movable,ya=It.icons,Pa=It.scaleStep,qn=It.minScale,aa=It.maxScale,Ka=It.imageRender,Ra=It.toolbarRender,Wa=(0,it.Z)(It,Fe),Ea=En!=null?En:qt,Da=(0,Xe.Z)(!!In,{value:In,onChange:bn}),ka=(0,_e.Z)(Da,2),ea=ka[0],ra=ka[1],na=x({src:qt,isCustomPlaceholder:Ut,fallback:Qt}),za=(0,_e.Z)(na,3),Ma=za[0],Ya=za[1],xa=za[2],Xa=(0,ne.useState)(null),oa=(0,_e.Z)(Xa,2),Un=oa[0],ma=oa[1],Zt=(0,ne.useContext)(y),ia=!!ot,ha=function(){ra(!1),ma(null)},Pn=Oe()(xe,Dn,Nt,(0,qe.Z)({},"".concat(xe,"-error"),xa==="error")),cn=(0,ne.useMemo)(function(){var $t={};return se.forEach(function(La){ye[La]!==void 0&&($t[La]=ye[La])}),$t},se.map(function($t){return ye[$t]})),Bn=(0,ne.useMemo)(function(){return(0,be.Z)((0,be.Z)({},cn),{},{src:Ea})},[Ea,cn]),xn=E(ia,Bn),ba=function(La){var Aa=(0,et.os)(La.target),wa=Aa.left,Ia=Aa.top;Zt?Zt.onPreview(xn,wa,Ia):(ma({x:wa,y:Ia}),ra(!0)),Pt==null||Pt(La)};return ne.createElement(ne.Fragment,null,ne.createElement("div",(0,Re.Z)({},Xt,{className:Pn,onClick:ia?ba:Pt,style:(0,be.Z)({width:jt,height:Gt},jn)}),ne.createElement("img",(0,Re.Z)({},cn,{className:Oe()("".concat(xe,"-img"),(0,qe.Z)({},"".concat(xe,"-img-placeholder"),Et===!0),Ie),style:(0,be.Z)({height:Gt},Kt),ref:Ma},Ya,{width:jt,height:Gt,onError:tn})),xa==="loading"&&ne.createElement("div",{"aria-hidden":"true",className:"".concat(xe,"-placeholder")},Et),Sa&&ia&&ne.createElement("div",{className:Oe()("".concat(xe,"-mask"),Na),style:{display:(Kt==null?void 0:Kt.display)==="none"?"none":void 0}},Sa)),!Zt&&ia&&ne.createElement(lt,(0,Re.Z)({"aria-hidden":!ea,visible:ea,prefixCls:Ct,onClose:ha,mousePosition:Un,src:Ea,alt:yn,fallback:Qt,getContainer:va,icons:ya,movable:On,scaleStep:Pa,minScale:qn,maxScale:aa,rootClassName:Nt,imageRender:Ka,imgCommonProps:cn,toolbarRender:Ra},Wa)))};st.PreviewGroup=vt,st.displayName="Image";var yt=st,an=yt,Wt=oe(62892),Ke=oe(36355),Ve=oe(31724),we=oe(99267),me=oe(33853),Ge=oe(38819),ze={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M672 418H144c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H188V494h440v326z"}},{tag:"path",attrs:{d:"M819.3 328.5c-78.8-100.7-196-153.6-314.6-154.2l-.2-64c0-6.5-7.6-10.1-12.6-6.1l-128 101c-4 3.1-3.9 9.1 0 12.3L492 318.6c5.1 4 12.7.4 12.6-6.1v-63.9c12.9.1 25.9.9 38.8 2.5 42.1 5.2 82.1 18.2 119 38.7 38.1 21.2 71.2 49.7 98.4 84.3 27.1 34.7 46.7 73.7 58.1 115.8a325.95 325.95 0 016.5 140.9h74.9c14.8-103.6-11.3-213-81-302.3z"}}]},name:"rotate-left",theme:"outlined"},Ee=ze,Se=oe(7657),nt=function(ye,qt){return ne.createElement(Se.Z,(0,Re.Z)({},ye,{ref:qt,icon:Ee}))},Me=ne.forwardRef(nt),Ce=Me,ke={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M480.5 251.2c13-1.6 25.9-2.4 38.8-2.5v63.9c0 6.5 7.5 10.1 12.6 6.1L660 217.6c4-3.2 4-9.2 0-12.3l-128-101c-5.1-4-12.6-.4-12.6 6.1l-.2 64c-118.6.5-235.8 53.4-314.6 154.2A399.75 399.75 0 00123.5 631h74.9c-.9-5.3-1.7-10.7-2.4-16.1-5.1-42.1-2.1-84.1 8.9-124.8 11.4-42.2 31-81.1 58.1-115.8 27.2-34.7 60.3-63.2 98.4-84.3 37-20.6 76.9-33.6 119.1-38.8z"}},{tag:"path",attrs:{d:"M880 418H352c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H396V494h440v326z"}}]},name:"rotate-right",theme:"outlined"},xt=ke,ht=function(ye,qt){return ne.createElement(Se.Z,(0,Re.Z)({},ye,{ref:qt,icon:xt}))},zt=ne.forwardRef(ht),kt=zt,Ot={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M847.9 592H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h605.2L612.9 851c-4.1 5.2-.4 13 6.3 13h72.5c4.9 0 9.5-2.2 12.6-6.1l168.8-214.1c16.5-21 1.6-51.8-25.2-51.8zM872 356H266.8l144.3-183c4.1-5.2.4-13-6.3-13h-72.5c-4.9 0-9.5 2.2-12.6 6.1L150.9 380.2c-16.5 21-1.6 51.8 25.1 51.8h696c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"swap",theme:"outlined"},Le=Ot,rt=function(ye,qt){return ne.createElement(Se.Z,(0,Re.Z)({},ye,{ref:qt,icon:Le}))},At=ne.forwardRef(rt),gt=At,St={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M637 443H519V309c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v134H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h118v134c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V519h118c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z"}}]},name:"zoom-in",theme:"outlined"},on=St,mn=function(ye,qt){return ne.createElement(Se.Z,(0,Re.Z)({},ye,{ref:qt,icon:on}))},dn=ne.forwardRef(mn),vn=dn,Wn={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M637 443H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h312c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z"}}]},name:"zoom-out",theme:"outlined"},fn=Wn,Zn=function(ye,qt){return ne.createElement(Se.Z,(0,Re.Z)({},ye,{ref:qt,icon:fn}))},$n=ne.forwardRef(Zn),ta=$n,Mn=oe(64993),ua=oe(73819),Qn=oe(17313),Yn=oe(29878),ca=oe(1950),Ca=oe(83116),ln=oe(37613);const gn=_t=>({position:_t||"absolute",inset:0}),An=_t=>{const{iconCls:ye,motionDurationSlow:qt,paddingXXS:yn,marginXXS:hn,prefixCls:Cn,colorTextLightSolid:xe}=_t;return{position:"absolute",inset:0,display:"flex",alignItems:"center",justifyContent:"center",color:xe,background:new Mn.C("#000").setAlpha(.5).toRgbString(),cursor:"pointer",opacity:0,transition:`opacity ${qt}`,[`.${Cn}-mask-info`]:Object.assign(Object.assign({},Qn.vS),{padding:`0 ${yn}px`,[ye]:{marginInlineEnd:hn,svg:{verticalAlign:"baseline"}}})}},Sn=_t=>{const{previewCls:ye,modalMaskBg:qt,paddingSM:yn,marginXL:hn,margin:Cn,paddingLG:xe,previewOperationColorDisabled:pt,previewOperationHoverColor:Ct,motionDurationSlow:Et,iconCls:Qt,colorTextLightSolid:jt}=_t,Gt=new Mn.C(qt).setAlpha(.1),Kt=Gt.clone().setAlpha(.2);return{[`${ye}-footer`]:{position:"fixed",bottom:hn,left:{_skip_check_:!0,value:0},width:"100%",display:"flex",flexDirection:"column",alignItems:"center",color:_t.previewOperationColor},[`${ye}-progress`]:{marginBottom:Cn},[`${ye}-close`]:{position:"fixed",top:hn,right:{_skip_check_:!0,value:hn},display:"flex",color:jt,backgroundColor:Gt.toRgbString(),borderRadius:"50%",padding:yn,outline:0,border:0,cursor:"pointer",transition:`all ${Et}`,"&:hover":{backgroundColor:Kt.toRgbString()},[`& > ${Qt}`]:{fontSize:_t.previewOperationSize}},[`${ye}-operations`]:{display:"flex",alignItems:"center",padding:`0 ${xe}px`,backgroundColor:Gt.toRgbString(),borderRadius:100,"&-operation":{marginInlineStart:yn,padding:yn,cursor:"pointer",transition:`all ${Et}`,userSelect:"none",[`&:not(${ye}-operations-operation-disabled):hover > ${Qt}`]:{color:Ct},"&-disabled":{color:pt,cursor:"not-allowed"},"&:first-of-type":{marginInlineStart:0},[`& > ${Qt}`]:{fontSize:_t.previewOperationSize}}}}},Fn=_t=>{const{modalMaskBg:ye,iconCls:qt,previewOperationColorDisabled:yn,previewCls:hn,zIndexPopup:Cn,motionDurationSlow:xe}=_t,pt=new Mn.C(ye).setAlpha(.1),Ct=pt.clone().setAlpha(.2);return{[`${hn}-switch-left, ${hn}-switch-right`]:{position:"fixed",insetBlockStart:"50%",zIndex:Cn+1,display:"flex",alignItems:"center",justifyContent:"center",width:_t.imagePreviewSwitchSize,height:_t.imagePreviewSwitchSize,marginTop:-_t.imagePreviewSwitchSize/2,color:_t.previewOperationColor,background:pt.toRgbString(),borderRadius:"50%",transform:"translateY(-50%)",cursor:"pointer",transition:`all ${xe}`,userSelect:"none","&:hover":{background:Ct.toRgbString()},"&-disabled":{"&, &:hover":{color:yn,background:"transparent",cursor:"not-allowed",[`> ${qt}`]:{cursor:"not-allowed"}}},[`> ${qt}`]:{fontSize:_t.previewOperationSize}},[`${hn}-switch-left`]:{insetInlineStart:_t.marginSM},[`${hn}-switch-right`]:{insetInlineEnd:_t.marginSM}}},Kn=_t=>{const{motionEaseOut:ye,previewCls:qt,motionDurationSlow:yn,componentCls:hn}=_t;return[{[`${hn}-preview-root`]:{[qt]:{height:"100%",textAlign:"center",pointerEvents:"none"},[`${qt}-body`]:Object.assign(Object.assign({},gn()),{overflow:"hidden"}),[`${qt}-img`]:{maxWidth:"100%",maxHeight:"70%",verticalAlign:"middle",transform:"scale3d(1, 1, 1)",cursor:"grab",transition:`transform ${yn} ${ye} 0s`,userSelect:"none","&-wrapper":Object.assign(Object.assign({},gn()),{transition:`transform ${yn} ${ye} 0s`,display:"flex",justifyContent:"center",alignItems:"center","& > *":{pointerEvents:"auto"},"&::before":{display:"inline-block",width:1,height:"50%",marginInlineEnd:-1,content:'""'}})},[`${qt}-moving`]:{[`${qt}-preview-img`]:{cursor:"grabbing","&-wrapper":{transitionDuration:"0s"}}}}},{[`${hn}-preview-root`]:{[`${qt}-wrap`]:{zIndex:_t.zIndexPopup}}},{[`${hn}-preview-operations-wrapper`]:{position:"fixed",zIndex:_t.zIndexPopup+1},"&":[Sn(_t),Fn(_t)]}]},Rn=_t=>{const{componentCls:ye}=_t;return{[ye]:{position:"relative",display:"inline-block",[`${ye}-img`]:{width:"100%",height:"auto",verticalAlign:"middle"},[`${ye}-img-placeholder`]:{backgroundColor:_t.colorBgContainerDisabled,backgroundImage:"url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMTQuNSAyLjVoLTEzQS41LjUgMCAwIDAgMSAzdjEwYS41LjUgMCAwIDAgLjUuNWgxM2EuNS41IDAgMCAwIC41LS41VjNhLjUuNSAwIDAgMC0uNS0uNXpNNS4yODEgNC43NWExIDEgMCAwIDEgMCAyIDEgMSAwIDAgMSAwLTJ6bTguMDMgNi44M2EuMTI3LjEyNyAwIDAgMS0uMDgxLjAzSDIuNzY5YS4xMjUuMTI1IDAgMCAxLS4wOTYtLjIwN2wyLjY2MS0zLjE1NmEuMTI2LjEyNiAwIDAgMSAuMTc3LS4wMTZsLjAxNi4wMTZMNy4wOCAxMC4wOWwyLjQ3LTIuOTNhLjEyNi4xMjYgMCAwIDEgLjE3Ny0uMDE2bC4wMTUuMDE2IDMuNTg4IDQuMjQ0YS4xMjcuMTI3IDAgMCAxLS4wMi4xNzV6IiBmaWxsPSIjOEM4QzhDIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4=')",backgroundRepeat:"no-repeat",backgroundPosition:"center center",backgroundSize:"30%"},[`${ye}-mask`]:Object.assign({},An(_t)),[`${ye}-mask:hover`]:{opacity:1},[`${ye}-placeholder`]:Object.assign({},gn())}}},at=_t=>{const{previewCls:ye}=_t;return{[`${ye}-root`]:(0,Yn._y)(_t,"zoom"),"&":(0,ca.J$)(_t,!0)}};var mt=(0,Ca.Z)("Image",_t=>{const ye=`${_t.componentCls}-preview`,qt=(0,ln.TS)(_t,{previewCls:ye,modalMaskBg:new Mn.C("#000").setAlpha(.45).toRgbString(),imagePreviewSwitchSize:_t.controlHeightLG});return[Rn(qt),Kn(qt),(0,ua.QA)((0,ln.TS)(qt,{componentCls:ye})),at(qt)]},_t=>({zIndexPopup:_t.zIndexPopupBase+80,previewOperationColor:new Mn.C(_t.colorTextLightSolid).setAlpha(.65).toRgbString(),previewOperationHoverColor:new Mn.C(_t.colorTextLightSolid).setAlpha(.85).toRgbString(),previewOperationColorDisabled:new Mn.C(_t.colorTextLightSolid).setAlpha(.25).toRgbString(),previewOperationSize:_t.fontSizeIcon*1.5})),ut=function(_t,ye){var qt={};for(var yn in _t)Object.prototype.hasOwnProperty.call(_t,yn)&&ye.indexOf(yn)<0&&(qt[yn]=_t[yn]);if(_t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var hn=0,yn=Object.getOwnPropertySymbols(_t);hn{var{previewPrefixCls:ye,preview:qt}=_t,yn=ut(_t,["previewPrefixCls","preview"]);const{getPrefixCls:hn}=ne.useContext(Ke.E_),Cn=hn("image",ye),xe=`${Cn}-preview`,pt=hn(),[Ct,Et]=mt(Cn),Qt=ne.useMemo(()=>{var jt;if(qt===!1)return qt;const Gt=typeof qt=="object"?qt:{},Kt=Oe()(Et,(jt=Gt.rootClassName)!==null&&jt!==void 0?jt:"");return Object.assign(Object.assign({},Gt),{transitionName:(0,Wt.m)(pt,"zoom",Gt.transitionName),maskTransitionName:(0,Wt.m)(pt,"fade",Gt.maskTransitionName),rootClassName:Kt})},[qt]);return Ct(ne.createElement(an.PreviewGroup,Object.assign({preview:Qt,previewPrefixCls:xe,icons:Yt},yn)))},Xn=function(_t,ye){var qt={};for(var yn in _t)Object.prototype.hasOwnProperty.call(_t,yn)&&ye.indexOf(yn)<0&&(qt[yn]=_t[yn]);if(_t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var hn=0,yn=Object.getOwnPropertySymbols(_t);hn{const{prefixCls:ye,preview:qt,className:yn,rootClassName:hn,style:Cn}=_t,xe=Xn(_t,["prefixCls","preview","className","rootClassName","style"]),{getPrefixCls:pt,locale:Ct=Ve.Z,getPopupContainer:Et,image:Qt}=ne.useContext(Ke.E_),jt=pt("image",ye),Gt=pt(),Kt=Ct.Image||Ve.Z.Image,[Gn,ot]=mt(jt),Ie=Oe()(hn,ot),Pt=Oe()(yn,ot,Qt==null?void 0:Qt.className),tn=ne.useMemo(()=>{if(qt===!1)return qt;const jn=typeof qt=="object"?qt:{},{getContainer:Nt}=jn,Xt=Xn(jn,["getContainer"]);return Object.assign(Object.assign({mask:ne.createElement("div",{className:`${jt}-mask-info`},ne.createElement(Je.Z,null),Kt==null?void 0:Kt.preview),icons:Yt},Xt),{getContainer:Nt||Et,transitionName:(0,Wt.m)(Gt,"zoom",jn.transitionName),maskTransitionName:(0,Wt.m)(Gt,"fade",jn.maskTransitionName)})},[qt,Kt]),Dn=Object.assign(Object.assign({},Qt==null?void 0:Qt.style),Cn);return Gn(ne.createElement(an,Object.assign({prefixCls:jt,preview:tn,rootClassName:Ie,className:Pt,style:Dn},xe)))};kn.PreviewGroup=rn;var pn=kn,Vn=()=>{const[_t,ye]=(0,ne.useState)(""),[qt,yn]=(0,ne.useState)(0);let[hn,Cn]=(0,ne.useState)(),[xe,pt]=(0,ne.useState)();const[Ct,Et]=(0,ne.useState)(!1),Qt=(0,ne.useRef)("");(0,ne.useEffect)(()=>pe.Z.subscribe("preview-image",Nt=>{ye(Nt),console.log(tn.current),document.body.style.overflow="hidden"}),[]),(0,ne.useEffect)(()=>(document.addEventListener("keydown",jt),()=>{document.removeEventListener("keydown",jt)}),[]),(0,ne.useEffect)(()=>{Qt.current=_t},[_t]);function jt(jn){jn.keyCode==27&&Qt.current&&Gt()}function Gt(){document.body.style.overflow="auto",Cn(void 0),pt(void 0),yn(0),ye("")}function Kt(){yn(qt+90)}function Gn(){hn=tn.current.width*1.1,xe=tn.current.height*1.1,pt(xe),Cn(hn)}function ot(){hn=tn.current.width/1.1,xe=tn.current.height/1.1,pt(xe),Cn(hn)}const Ie=(0,ne.useRef)(),Pt=(0,ne.useRef)(),tn=(0,ne.useRef)(),Dn=jn=>{(jn.nativeEvent.target===Ie.current||jn.nativeEvent.target===Pt.current)&&Gt()};return ne.createElement(ne.Fragment,null,_t?ne.createElement("div",null,ne.createElement("div",{className:"preview-wrp-group",ref:Pt},ne.createElement(pn,{className:"image-preview",src:_t,style:{display:"none"},preview:{visible:!0,src:_t,movable:!1,onVisibleChange:jn=>{ye("")}},alt:"\u9884\u89C8\u5927\u56FE"}))):null)}},97692:function(wt,Mt,oe){"use strict";oe.d(Mt,{h:function(){return ae}});var ne=oe(59301),pe=oe(57809),Je=oe(78241),Ne=oe(3113),Oe=oe(89780),Re=oe.n(Oe),be=oe(37036),qe=oe(95625),_e=Object.defineProperty,dt=Object.defineProperties,it=Object.getOwnPropertyDescriptors,et=Object.getOwnPropertySymbols,Xe=Object.prototype.hasOwnProperty,se=Object.prototype.propertyIsEnumerable,y=(ie,ue,de)=>ue in ie?_e(ie,ue,{enumerable:!0,configurable:!0,writable:!0,value:de}):ie[ue]=de,a=(ie,ue)=>{for(var de in ue||(ue={}))Xe.call(ue,de)&&y(ie,de,ue[de]);if(et)for(var de of et(ue))se.call(ue,de)&&y(ie,de,ue[de]);return ie},E=(ie,ue)=>dt(ie,it(ue));const b=pe.default.Option,x={labelCol:{span:4},wrapperCol:{span:20}},te={asp:["ASP","vbscript"],actionscript:["ActionScript(3.0)/Flash/Flex","clike"],bash:["Bash/Bat","shell"],css:["CSS","css"],c:["C","clike"],cpp:["C++","clike"],csharp:["C#","clike"],coffeescript:["CoffeeScript","coffeescript"],d:["D","d"],dart:["Dart","dart"],delphi:["Delphi/Pascal","pascal"],erlang:["Erlang","erlang"],go:["Golang","go"],groovy:["Groovy","groovy"],html:["HTML","text/html"],java:["Java","clike"],json:["JSON","text/json"],javascript:["Javascript","javascript"],lua:["Lua","lua"],less:["LESS","css"],markdown:["Markdown","gfm"],"objective-c":["Objective-C","clike"],php:["PHP","php"],perl:["Perl","perl"],python:["Python","python"],r:["R","r"],rst:["reStructedText","rst"],ruby:["Ruby","ruby"],sql:["SQL","sql"],sass:["SASS/SCSS","sass"],shell:["Shell","shell"],scala:["Scala","clike"],swift:["Swift","clike"],vb:["VB/VBScript","vb"],xml:["XML","text/xml"],yaml:["YAML","yaml"]};Mt.Z=({callback:ie,onCancel:ue})=>{const[de,fe]=(0,ne.useState)("python");function Be(We){fe(te[We][1])}function Pe(We){ie(We)}return ne.createElement(Je.default,E(a({},x),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:Pe,style:{width:500}}),ne.createElement(Je.default.Item,{label:"\u4EE3\u7801\u8BED\u8A00",name:"language"},ne.createElement(pe.default,{getPopupContainer:We=>We.parentNode,onChange:Be},Object.keys(te).map(We=>ne.createElement(b,{key:We,value:We},te[We][0])))),ne.createElement(Je.default.Item,{label:"\u4EE3\u7801\u5185\u5BB9",name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EE3\u7801\u5185\u5BB9"}]},ne.createElement(ae,{mode:de})),ne.createElement("div",{className:"flex-container flex-end"},ne.createElement(Ne.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),ne.createElement(Ne.ZP,{type:"ghost",onClick:ue},"\u53D6\u6D88")))};function ae({value:ie,onChange:ue,mode:de,options:fe={}}){const Be=(0,ne.useRef)(),[Pe,We]=(0,ne.useState)();return(0,ne.useEffect)(()=>{if(Pe){let ve=function(Ue){const Bt=Ue.getValue();ue&&ue(Bt)};return Pe.on("change",ve),()=>{Pe.off("change",ve)}}},[Pe,ue]),(0,ne.useEffect)(()=>{Pe&&Pe.setOption("mode",de)},[Pe,de]),(0,ne.useEffect)(()=>{Pe&&(ie!==Pe.getValue()||ie==="")&&setTimeout(()=>{Pe.setValue(ie||"")},300)},[Pe,ie]),(0,ne.useEffect)(()=>{if(Be.current&&!Pe){const ve=Re().fromTextArea(Be.current,a({mode:de,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},fe));We(ve)}},[Be.current,Pe]),ne.createElement("div",{className:"my-codemirror-container"},ne.createElement("textarea",{ref:Be}))}},12290:function(wt,Mt,oe){"use strict";oe.d(Mt,{Z:function(){return Rn}});var ne=oe(59301),pe=oe(89780),Je=oe.n(pe),Ne=oe(76374),Oe=oe(37036),Re=oe(6313),be=oe(25717),qe=oe(99498),_e=oe(25419),dt=oe(67549),it=oe(85149),et=({value:at="",className:mt,showTextOnly:ut,showLines:Yt,style:un={}})=>{const rn=(0,ne.useMemo)(()=>"",[at]);return ne.createElement(ne.Fragment,null,ne.createElement("div",{dangerouslySetInnerHTML:{__html:rn}}))},Xe=oe(59301),se=Object.defineProperty,y=Object.defineProperties,a=Object.getOwnPropertyDescriptors,E=Object.getOwnPropertySymbols,b=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable,te=(at,mt,ut)=>mt in at?se(at,mt,{enumerable:!0,configurable:!0,writable:!0,value:ut}):at[mt]=ut,ae=(at,mt)=>{for(var ut in mt||(mt={}))b.call(mt,ut)&&te(at,ut,mt[ut]);if(E)for(var ut of E(mt))x.call(mt,ut)&&te(at,ut,mt[ut]);return at},ie=(at,mt)=>y(at,a(mt));let ue=[{title:"\u7C97\u4F53",icon:"md-iconfont icon-bold",actionName:"bold"},{title:"\u659C\u4F53",icon:"md-iconfont icon-italic",actionName:"italic"},"|",{title:"\u65E0\u5E8F\u5217\u8868",icon:"md-iconfont icon-unorder-list",actionName:"list-ul"},{title:"\u6709\u5E8F\u5217\u8868",icon:"md-iconfont icon-order-list",actionName:"list-ol"},"|",{title:"\u884C\u5185\u4EE3\u7801",icon:"md-iconfont icon-code",actionName:"code"},{title:"\u4EE3\u7801\u5757\uFF08\u591A\u8BED\u8A00\u98CE\u683C\uFF09",icon:"md-iconfont icon-file-code",actionName:"code-block"},{title:"\u94FE\u63A5",icon:"md-iconfont icon-link",actionName:"link"},"|",{title:"\u884C\u5185\u516C\u5F0F",icon:"md-iconfont icon-sum",actionName:"inline-latex"},{title:"\u6570\u5B66\u56FE\u50CF",icon:"iconfont icon-shuxuetuxiang2",actionName:"maths-latex"},{title:"\u591A\u884C\u516C\u5F0F",icon:"iconfont icon-jisuan1",actionName:"latex"},"|",{title:"\u6DFB\u52A0\u56FE\u7247",icon:"md-iconfont icon-picture",actionName:"upload-image"},{title:"\u63D2\u5165\u753B\u56FE",icon:"iconfont icon-sheji",actionName:"draw-image"},{title:"\u63D2\u5165\u6D41\u7A0B\u56FE",icon:"iconfont icon-liucheng",actionName:"add-flowchart"},{title:"\u8868\u683C",icon:"md-iconfont icon-table",actionName:"add-table"},"|",{title:"\u6362\u884C",icon:"md-iconfont icon-minus",actionName:"line-break"},{title:"\u6E05\u7A7A",icon:"md-iconfont icon-eraser",actionName:"eraser"}];function de({onActionCallback:at,title:mt,icon:ut,actionName:Yt,className:un="",children:rn}){function Xn(){at(Yt)}return Xe.createElement("a",{title:mt,className:un,onClick:Xn},Xe.createElement("i",{className:`${ut}`}),rn)}var fe=({watch:at,showNullButton:mt,showNullProgramButton:ut,onActionCallback:Yt,fullScreen:un,insertTemp:rn,hidetoolBar:Xn,extraUse:kn})=>{const pn=[...ue,{title:`${at?"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8":"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"}`,icon:`${at?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return Xe.createElement("ul",{className:"markdown-toolbar-container"},!Xn&&pn.map((Vn,_t)=>Xe.createElement("li",{key:_t},Vn.actionName?Xe.createElement(de,ie(ae({},Vn),{onActionCallback:Yt})):Xe.createElement("span",{className:"v-line"}))),mt?Xe.createElement("li",null,Xe.createElement(de,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-null-ch",onActionCallback:Yt},Xe.createElement("span",{className:"fill-tip"},"\u70B9\u51FB\u63D2\u5165\b\u586B\u7A7A\u9879"))):null,ut?Xe.createElement(Xe.Fragment,null,Xe.createElement("li",null,Xe.createElement(de,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-signal",onActionCallback:Yt},Xe.createElement("span",{className:"fill-tip"},"+\u5355\u884C\u586B\u7A7A\u9879"))),Xe.createElement("li",null,Xe.createElement(de,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-multiple",onActionCallback:Yt},Xe.createElement("span",{className:"fill-tip"},"+\u591A\u884C\u586B\u7A7A\u9879")))):null,rn&&Xe.createElement("li",null,Xe.createElement(de,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${rn}`,onActionCallback:Yt},Xe.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),kn&&Xe.createElement("li",null,kn),Xe.createElement("li",{className:"btn-full-screen"},Xe.createElement(de,{icon:`${un?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:un?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:Yt})))},Be=oe(79346),Pe=oe(78241),We=oe(92832),ve=oe(3113),Ue=Object.defineProperty,Bt=Object.defineProperties,Tt=Object.getOwnPropertyDescriptors,Ye=Object.getOwnPropertySymbols,ft=Object.prototype.hasOwnProperty,Ft=Object.prototype.propertyIsEnumerable,Jt=(at,mt,ut)=>mt in at?Ue(at,mt,{enumerable:!0,configurable:!0,writable:!0,value:ut}):at[mt]=ut,Rt=(at,mt)=>{for(var ut in mt||(mt={}))ft.call(mt,ut)&&Jt(at,ut,mt[ut]);if(Ye)for(var ut of Ye(mt))Ft.call(mt,ut)&&Jt(at,ut,mt[ut]);return at},bt=(at,mt)=>Bt(at,Tt(mt));const Te={labelCol:{span:4},wrapperCol:{span:20}};var lt=({callback:at,onCancel:mt})=>{function ut(Yt){at(Yt)}return ne.createElement(Pe.default,bt(Rt({},Te),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:ut,style:{width:500}}),ne.createElement(Pe.default.Item,{label:"\u94FE\u63A5\u5730\u5740",name:"link",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u5730\u5740"}]},ne.createElement(We.default,null)),ne.createElement(Pe.default.Item,{label:"\u94FE\u63A5\u6807\u9898",name:"title",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u6807\u9898"}]},ne.createElement(We.default,null)),ne.createElement("div",{className:"flex-container flex-end"},ne.createElement(ve.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),ne.createElement(ve.ZP,{type:"ghost",onClick:mt},"\u53D6\u6D88")))},Lt=oe(97692),De=oe(28451),tt=oe(43418),Dt=oe(95237),nn=oe(73524),vt=oe(59301),Vt=({callback:at,onCancel:mt})=>{const ut=document.createElement("canvas"),Yt=ut.getContext("2d");ut.width=1e3,ut.height=800,Yt.fillStyle="#ffffff",Yt.fillRect(0,0,ut.width,ut.height);const un=ut.toDataURL("image/png");return vt.createElement(tt.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},vt.createElement(Dt.Z,{style:{height:"100vh"}},vt.createElement(nn.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:un,visible:!0,title:String(Date.now())},onOk:rn=>{at({src:rn.url})},onClose:mt})))},Fe=oe(12378);function st(){go.CommandHandler.call(this),this._arrowKeyBehavior="move",this._pasteOffset=new go.Point(10,10),this._lastPasteOffset=new go.Point(0,0)}go.Diagram.inherit(st,go.CommandHandler),st.prototype.canAlignSelection=function(){var at=this.diagram;return!(at===null||at.isReadOnly||at.isModelReadOnly||at.selection.count<2)},st.prototype.alignLeft=function(){var at=this.diagram;at.startTransaction("aligning left");var mt=1/0;at.selection.each(function(ut){ut instanceof go.Link||(mt=Math.min(ut.position.x,mt))}),at.selection.each(function(ut){ut instanceof go.Link||ut.move(new go.Point(mt,ut.position.y))}),at.commitTransaction("aligning left")},st.prototype.alignRight=function(){var at=this.diagram;at.startTransaction("aligning right");var mt=-1/0;at.selection.each(function(ut){if(!(ut instanceof go.Link)){var Yt=ut.actualBounds.x+ut.actualBounds.width;mt=Math.max(Yt,mt)}}),at.selection.each(function(ut){ut instanceof go.Link||ut.move(new go.Point(mt-ut.actualBounds.width,ut.position.y))}),at.commitTransaction("aligning right")},st.prototype.alignTop=function(){var at=this.diagram;at.startTransaction("alignTop");var mt=1/0;at.selection.each(function(ut){ut instanceof go.Link||(mt=Math.min(ut.position.y,mt))}),at.selection.each(function(ut){ut instanceof go.Link||ut.move(new go.Point(ut.position.x,mt))}),at.commitTransaction("alignTop")},st.prototype.alignBottom=function(){var at=this.diagram;at.startTransaction("aligning bottom");var mt=-1/0;at.selection.each(function(ut){if(!(ut instanceof go.Link)){var Yt=ut.actualBounds.y+ut.actualBounds.height;mt=Math.max(Yt,mt)}}),at.selection.each(function(ut){ut instanceof go.Link||ut.move(new go.Point(ut.actualBounds.x,mt-ut.actualBounds.height))}),at.commitTransaction("aligning bottom")},st.prototype.alignCenterX=function(){var at=this.diagram,mt=at.selection.first();if(mt){at.startTransaction("aligning Center X");var ut=mt.actualBounds.x+mt.actualBounds.width/2;at.selection.each(function(Yt){Yt instanceof go.Link||Yt.move(new go.Point(ut-Yt.actualBounds.width/2,Yt.actualBounds.y))}),at.commitTransaction("aligning Center X")}},st.prototype.alignCenterY=function(){var at=this.diagram,mt=at.selection.first();if(mt){at.startTransaction("aligning Center Y");var ut=mt.actualBounds.y+mt.actualBounds.height/2;at.selection.each(function(Yt){Yt instanceof go.Link||Yt.move(new go.Point(Yt.actualBounds.x,ut-Yt.actualBounds.height/2))}),at.commitTransaction("aligning Center Y")}},st.prototype.alignColumn=function(at){var mt=this.diagram;mt.startTransaction("align Column"),at===void 0&&(at=0),at=parseFloat(at);var ut=new Array;mt.selection.each(function(kn){kn instanceof go.Link||ut.push(kn)});for(var Yt=0;Yt0){for(var kn=rn.elt(Xn-1);kn!==null&&kn.isTreeExpanded&&!kn.isTreeLeaf;){var pn=this._sortTreeChildrenByY(kn);kn=pn.last()}kn!==null&&at.select(kn)}else at.select(un)}}else if(ut.key==="Down")if(mt.isTreeExpanded&&!mt.isTreeLeaf){var Yt=this._sortTreeChildrenByY(mt).first();Yt!==null&&at.select(Yt)}else for(;mt!==null;){var un=mt.findTreeParentNode();if(un===null)break;var rn=this._sortTreeChildrenByY(un),Xn=rn.indexOf(mt);if(Xnrn.y?1:un.xrn.x?1:0}),mt},st.prototype.copyToClipboard=function(at){go.CommandHandler.prototype.copyToClipboard.call(this,at),this._lastPasteOffset.set(this.pasteOffset)},st.prototype.pasteFromClipboard=function(){var at=go.CommandHandler.prototype.pasteFromClipboard.call(this);return this.diagram.moveParts(at,this._lastPasteOffset),this._lastPasteOffset.add(this.pasteOffset),at},Object.defineProperty(st.prototype,"arrowKeyBehavior",{get:function(){return this._arrowKeyBehavior},set:function(at){if(at!=="move"&&at!=="select"&&at!=="scroll"&&at!=="tree"&&at!=="none")throw new Error('DrawCommandHandler.arrowKeyBehavior must be either "move", "select", "scroll", "tree", or "none", not: '+at);this._arrowKeyBehavior=at}}),Object.defineProperty(st.prototype,"pasteOffset",{get:function(){return this._pasteOffset},set:function(at){if(!(at instanceof go.Point))throw new Error("DrawCommandHandler.pasteOffset must be a Point, not: "+at);this._pasteOffset.set(at)}});var yt=st,an=oe(74413),Wt=oe(43604),Ke=oe(99064),Ve={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re"},we=oe(59301),me=(at,mt,ut)=>new Promise((Yt,un)=>{var rn=pn=>{try{kn(ut.next(pn))}catch(Vn){un(Vn)}},Xn=pn=>{try{kn(ut.throw(pn))}catch(Vn){un(Vn)}},kn=pn=>pn.done?Yt(pn.value):Promise.resolve(pn.value).then(rn,Xn);kn((ut=ut.apply(at,mt)).next())});function Ge({onCancel:at,callback:mt}){let ut=(0,ne.useRef)(),Yt=(0,ne.useRef)(),un=(0,ne.useRef)(),rn=(0,ne.useRef)(!1);const Xn=(0,ne.useRef)(!1),[kn,pn]=(0,ne.useState)(0);function Vn(){const ye=Fe.bx.make,qt={red:"#ff3333",blue:"#3358ff",green:"#25ad23",magenta:"#d533ff",purple:"#7d33ff",orange:"#ff6233",brown:"#8e571e",white:"#ffffff",black:"#000000",beige:"#fffcd5",extralightblue:"#d5ebff",extralightred:"#f2dfe0",lightblue:"#a5d2fa",lightgray:"#cccccc",lightgreen:"#b3e6b3",lightred:"#fcbbbd"};ut.current=new Fe.S0(Yt.current,{padding:20,grid:ye(Fe.s_,"Grid",ye(Fe.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),ye(Fe.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),"draggingTool.isGridSnapEnabled":!0,handlesDragDropForTopLevelParts:!0,mouseDrop:Nt=>{var Xt=Nt.diagram.commandHandler.addTopLevelParts(Nt.diagram.selection,!0);Xt||Nt.diagram.currentTool.doCancel()},commandHandler:ye(yt),"clickCreatingTool.archetypeNodeData":{text:"\u672A\u547D\u540D",fill:null,stroke:null,borderColor:"rgba(0,0,0,0)"},PartCreated:Nt=>{var Xt=Nt.subject;Xt.location=Xt.location.copy().snapToGridPoint(Nt.diagram.grid.gridOrigin,Nt.diagram.grid.gridCellSize),setTimeout(()=>{Nt.diagram.commandHandler.editTextBlock()},20)},"commandHandler.archetypeGroupData":{isGroup:!0,text:"NEW GROUP"},SelectionGrouped:Nt=>{var Xt=Nt.subject;setTimeout(()=>{Nt.diagram.commandHandler.editTextBlock()})},LinkRelinked:Nt=>{var Xt=Nt.parameter.part;Xt.invalidateConnectedLinks();var Ut=Nt.subject;Nt.diagram.toolManager.linkingTool.isForwards?Ut.toNode.invalidateConnectedLinks():Ut.fromNode.invalidateConnectedLinks()},"undoManager.isEnabled":!0}),ut.current.nodeTemplate=ye(Fe.NB,"Auto",{locationSpot:Fe.z6.Center,locationObjectName:"SHAPE",desiredSize:new Fe.$u(120,60),minSize:new Fe.$u(40,40),resizable:!0,resizeCellSize:new Fe.$u(10,10),rotatable:!0},new Fe.KX("location","loc",Fe.E9.parse).makeTwoWay(Fe.E9.stringify),new Fe.KX("desiredSize","size",Fe.$u.parse).makeTwoWay(Fe.$u.stringify),ye(Fe.bn,{name:"SHAPE",fill:qt.white,cursor:"pointer",portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:Fe.z6.AllSides,toSpot:Fe.z6.AllSides},new Fe.KX("figure"),new Fe.KX("fill"),new Fe.KX("stroke","borderColor"),new Fe.KX("strokeWidth","thickness"),new Fe.KX("strokeDashArray","dash")),ye(Fe.bn,{width:100,height:20,strokeWidth:0,fill:"transparent"}),ye(Fe.al,{margin:1,textAlign:"center",overflow:Fe.al.OverflowEllipsis,editable:!0},new Fe.KX("text").makeTwoWay(),new Fe.KX("stroke","color"))),ut.current.nodeTemplate.toolTip=ye("ToolTip",ye(Fe.s_,"Vertical",{maxSize:new Fe.$u(200,NaN)},ye(Fe.al,{font:"bold 10pt sans-serif",textAlign:"center"},new Fe.KX("text")),ye(Fe.al,{font:"10pt sans-serif",textAlign:"center"},new Fe.KX("text","details"))));function yn(Nt,Xt){var Ut=(It,En)=>{It.handled=!0,It.diagram.model.commit(sn=>{var In=En.part.adornedPart,Hn=new Fe.E9().setRectSpot(In.actualBounds,Nt);Hn.subtract(In.location),Hn.scale(2,2),Hn.x+=Math.sign(Hn.x)*130,Hn.y+=Math.sign(Hn.y)*130,Hn.add(In.location),Hn.snapToGridPoint(It.diagram.grid.gridOrigin,It.diagram.grid.gridCellSize);var bn=sn.copyNodeData(In.data);sn.setGroupKeyForNodeData(bn,sn.getGroupKeyForNodeData(In.data)),sn.addNodeData(bn);var wn={from:In.key,to:sn.getKeyForNodeData(bn)};sn.addLinkData(wn);var va=It.diagram.findNodeForData(bn);va.location=Hn,It.diagram.select(va),setTimeout(()=>{It.diagram.commandHandler.editTextBlock()},20)})};return ye(Fe.bn,{figure:Xt,alignment:Nt,alignmentFocus:Nt.opposite(),width:Nt.equals(Fe.z6.Top)||Nt.equals(Fe.z6.Bottom)?25:18,height:Nt.equals(Fe.z6.Top)||Nt.equals(Fe.z6.Bottom)?18:25,fill:"orange",stroke:qt.white,strokeWidth:4,mouseEnter:(It,En)=>En.fill="dodgerblue",mouseLeave:(It,En)=>En.fill="orange",isActionable:!0,click:Ut,contextClick:Ut})}function hn(Nt){return ye(Fe.bn,{fill:"orange",stroke:"rgba(0, 0, 0, 0)",strokeWidth:15,background:"transparent",geometryString:"F1 M0 0 b 0 360 -4 0 4 z M10 0 b 0 360 -4 0 4 z M20 0 b 0 360 -4 0 4",isActionable:!0,cursor:"context-menu",mouseEnter:(Xt,Ut)=>Ut.fill="dodgerblue",mouseLeave:(Xt,Ut)=>Ut.fill="orange",click:(Xt,Ut)=>{Xt.diagram.commandHandler.showContextMenu(Ut.part.adornedPart)}},Nt||{})}ut.current.nodeTemplate.selectionAdornmentTemplate=ye(Fe.uz,"Spot",ye(Fe.Vm,{padding:10}),yn(Fe.z6.Top,"TriangleUp"),yn(Fe.z6.Left,"TriangleLeft"),yn(Fe.z6.Right,"TriangleRight"),yn(Fe.z6.Bottom,"TriangleDown"),hn({alignment:new Fe.z6(.75,0)}));function Cn(Nt,Xt){return(Ut,It)=>{Ut.handled=!0,Ut.diagram.model.commit(En=>{En.set(It.part.adornedPart.data,Nt,Xt)})}}function xe(Nt,Xt){return Xt||(Xt="color"),ye(Fe.bn,{width:16,height:16,stroke:"lightgray",fill:Nt,margin:1,background:"transparent",mouseEnter:(Ut,It)=>It.stroke="dodgerblue",mouseLeave:(Ut,It)=>It.stroke="lightgray",click:Cn(Xt,Nt),contextClick:Cn(Xt,Nt)})}function pt(){return[ye("ContextMenuButton",ye(Fe.s_,"Horizontal",xe(qt.white,"fill"),xe(qt.beige,"fill"),xe(qt.extralightblue,"fill"),xe(qt.extralightred,"fill"))),ye("ContextMenuButton",ye(Fe.s_,"Horizontal",xe(qt.lightgray,"fill"),xe(qt.lightgreen,"fill"),xe(qt.lightblue,"fill"),xe(qt.lightred,"fill")))]}function Ct(){return[ye("ContextMenuButton",ye(Fe.s_,"Horizontal",xe(qt.black),xe(qt.green),xe(qt.blue),xe(qt.red))),ye("ContextMenuButton",ye(Fe.s_,"Horizontal",xe(qt.white),xe(qt.magenta),xe(qt.purple),xe(qt.orange)))]}function Et(Nt,Xt){return Xt||(Xt="thickness"),ye(Fe.bn,"LineH",{width:16,height:16,strokeWidth:Nt,margin:1,background:"transparent",mouseEnter:(Ut,It)=>It.background="dodgerblue",mouseLeave:(Ut,It)=>It.background="transparent",click:Cn(Xt,Nt),contextClick:Cn(Xt,Nt)})}function Qt(Nt,Xt){return Xt||(Xt="dash"),ye(Fe.bn,"LineH",{width:24,height:16,strokeWidth:2,strokeDashArray:Nt,margin:1,background:"transparent",mouseEnter:(Ut,It)=>It.background="dodgerblue",mouseLeave:(Ut,It)=>It.background="transparent",click:Cn(Xt,Nt),contextClick:Cn(Xt,Nt)})}function jt(){return[ye("ContextMenuButton",ye(Fe.s_,"Horizontal",Et(1),Et(2),Et(3),Et(4))),ye("ContextMenuButton",ye(Fe.s_,"Horizontal",Qt(null),Qt([2,4]),Qt([4,4])))]}function Gt(Nt,Xt){return Xt||(Xt="figure"),ye(Fe.bn,{width:32,height:32,scale:.5,fill:"lightgray",figure:Nt,margin:1,background:"transparent",mouseEnter:(Ut,It)=>It.fill="dodgerblue",mouseLeave:(Ut,It)=>It.fill="lightgray",click:Cn(Xt,Nt),contextClick:Cn(Xt,Nt)})}ut.current.nodeTemplate.contextMenu=ye("ContextMenu",ye("ContextMenuButton",ye(Fe.s_,"Horizontal",Gt("Rectangle"),Gt("RoundedRectangle"),Gt("Ellipse"),Gt("Diamond"))),ye("ContextMenuButton",ye(Fe.s_,"Horizontal",Gt("Parallelogram2"),Gt("ManualOperation"),Gt("Procedure"),Gt("Cylinder1"))),ye("ContextMenuButton",ye(Fe.s_,"Horizontal",Gt("Terminator"),Gt("CreateRequest"),Gt("Document"),Gt("TriangleDown"))),pt(),Ct(),jt()),ut.current.groupTemplate=ye(Fe.ZA,"Spot",{layerName:"Background",ungroupable:!0,locationSpot:Fe.z6.Center,selectionObjectName:"BODY",computesBoundsAfterDrag:!0,handlesDragDropForMembers:!0,mouseDrop:(Nt,Xt)=>{var Ut=Xt.addMembers(Xt.diagram.selection,!0);Ut||Xt.diagram.currentTool.doCancel()},avoidable:!1},new Fe.KX("location","loc",Fe.E9.parse).makeTwoWay(Fe.E9.stringify),ye(Fe.s_,"Auto",{name:"BODY"},ye(Fe.bn,{parameter1:10,fill:qt.white,strokeWidth:2,cursor:"pointer",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:Fe.z6.AllSides,toSpot:Fe.z6.AllSides},new Fe.KX("fill"),new Fe.KX("stroke","color"),new Fe.KX("strokeWidth","thickness"),new Fe.KX("strokeDashArray","dash")),ye(Fe.Vm,{background:"transparent",margin:20})),ye(Fe.al,{alignment:Fe.z6.Top,alignmentFocus:Fe.z6.Bottom,font:"bold 12pt sans-serif",editable:!0},new Fe.KX("text"),new Fe.KX("stroke","color"))),ut.current.groupTemplate.selectionAdornmentTemplate=ye(Fe.uz,"Spot",ye(Fe.s_,"Auto",ye(Fe.bn,{fill:null,stroke:"dodgerblue",strokeWidth:3}),ye(Fe.Vm,{margin:1.5})),hn({alignment:Fe.z6.TopRight,alignmentFocus:Fe.z6.BottomRight})),ut.current.groupTemplate.contextMenu=ye("ContextMenu",pt(),Ct(),jt()),ut.current.linkTemplate=ye(Fe.rU,{layerName:"Foreground",routing:Fe.rU.AvoidsNodes,corner:10,fromShortLength:10,toShortLength:15,relinkableFrom:!0,relinkableTo:!0,reshapable:!0,resegmentable:!0},new Fe.KX("fromSpot","fromSpot",Fe.z6.parse),new Fe.KX("toSpot","toSpot",Fe.z6.parse),new Fe.KX("fromShortLength","dir",Nt=>Nt>=1?10:0),new Fe.KX("toShortLength","dir",Nt=>Nt>=1?10:0),new Fe.KX("points").makeTwoWay(),ye(Fe.bn,{strokeWidth:2},new Fe.KX("stroke","color"),new Fe.KX("strokeWidth","thickness"),new Fe.KX("strokeDashArray","dash")),ye(Fe.bn,{segmentIndex:0,segmentOffset:new Fe.E9(15,0),segmentOrientation:Fe.rU.OrientAlong,alignmentFocus:Fe.z6.Right,figure:"circle",width:10,strokeWidth:0},new Fe.KX("fill","color"),new Fe.KX("visible","dir",Nt=>Nt===1)),ye(Fe.bn,{segmentIndex:-1,segmentOffset:new Fe.E9(-10,6),segmentOrientation:Fe.rU.OrientPlus90,alignmentFocus:Fe.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new Fe.KX("fill","color"),new Fe.KX("visible","dir",Nt=>Nt>=1),new Fe.KX("width","thickness",Nt=>7+3*Nt),new Fe.KX("height","thickness",Nt=>7+3*Nt),new Fe.KX("segmentOffset","thickness",Nt=>new Fe.E9(-15,4+1.5*Nt))),ye(Fe.bn,{segmentIndex:0,segmentOffset:new Fe.E9(15,-6),segmentOrientation:Fe.rU.OrientMinus90,alignmentFocus:Fe.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new Fe.KX("fill","color"),new Fe.KX("visible","dir",Nt=>Nt===2),new Fe.KX("width","thickness",Nt=>7+3*Nt),new Fe.KX("height","thickness",Nt=>7+3*Nt),new Fe.KX("segmentOffset","thickness",Nt=>new Fe.E9(-15,4+1.5*Nt))),ye(Fe.al,{alignmentFocus:new Fe.z6(0,1,-4,0),editable:!0},new Fe.KX("text").makeTwoWay(),new Fe.KX("stroke","color"))),ut.current.linkTemplate.selectionAdornmentTemplate=ye(Fe.uz,ye(Fe.bn,{isPanelMain:!0,stroke:"transparent",strokeWidth:6,pathPattern:Kt(2)},new Fe.KX("pathPattern","thickness",Kt)),hn({alignmentFocus:new Fe.z6(0,0,-6,-4)}));function Kt(Nt){return ye(Fe.bn,{stroke:"dodgerblue",strokeWidth:2,strokeCap:"square",geometryString:"M0 0 M4 2 H3 M4 "+(Nt+4).toString()+" H3"})}function Gn(Nt){var Xt="M0 0 M8 16 M0 8 L16 8 M12 11 L16 8 L12 5";return Nt===0?Xt="M0 0 M16 16 M0 8 L16 8":Nt===2&&(Xt="M0 0 M16 16 M0 8 L16 8 M12 11 L16 8 L12 5 M4 11 L0 8 L4 5"),ye(Fe.bn,{geometryString:Xt,margin:2,background:"transparent",mouseEnter:(Ut,It)=>It.background="dodgerblue",mouseLeave:(Ut,It)=>It.background="transparent",click:Cn("dir",Nt),contextClick:Cn("dir",Nt)})}function ot(Nt){var Xt=(Ut,It)=>{Ut.handled=!0,Ut.diagram.model.commit(En=>{var sn=It.part.adornedPart;En.set(sn.data,Nt?"toSpot":"fromSpot",Fe.z6.stringify(Fe.z6.AllSides)),(Nt?sn.toNode:sn.fromNode).invalidateConnectedLinks()})};return ye(Fe.bn,{width:12,height:12,fill:"transparent",mouseEnter:(Ut,It)=>It.background="dodgerblue",mouseLeave:(Ut,It)=>It.background="transparent",click:Xt,contextClick:Xt})}function Ie(Nt,Xt){var Ut=0,It=Fe.z6.RightSide;Nt.equals(Fe.z6.Top)?(Ut=270,It=Fe.z6.TopSide):Nt.equals(Fe.z6.Left)?(Ut=180,It=Fe.z6.LeftSide):Nt.equals(Fe.z6.Bottom)&&(Ut=90,It=Fe.z6.BottomSide),Xt||(Ut-=180);var En=(sn,In)=>{sn.handled=!0,sn.diagram.model.commit(Hn=>{var bn=In.part.adornedPart;Hn.set(bn.data,Xt?"toSpot":"fromSpot",Fe.z6.stringify(It)),(Xt?bn.toNode:bn.fromNode).invalidateConnectedLinks()})};return ye(Fe.bn,{alignment:Nt,alignmentFocus:Nt.opposite(),geometryString:"M0 0 M12 12 M12 6 L1 6 L4 4 M1 6 L4 8",angle:Ut,background:"transparent",mouseEnter:(sn,In)=>In.background="dodgerblue",mouseLeave:(sn,In)=>In.background="transparent",click:En,contextClick:En})}ut.current.linkTemplate.contextMenu=ye("ContextMenu",Ct(),jt(),ye("ContextMenuButton",ye(Fe.s_,"Horizontal",Gn(0),Gn(1),Gn(2))),ye("ContextMenuButton",ye(Fe.s_,"Horizontal",ye(Fe.s_,"Spot",ot(!1),Ie(Fe.z6.Top,!1),Ie(Fe.z6.Left,!1),Ie(Fe.z6.Right,!1),Ie(Fe.z6.Bottom,!1)),ye(Fe.s_,"Spot",{margin:new Fe.Zt(0,0,0,2)},ot(!0),Ie(Fe.z6.Top,!0),Ie(Fe.z6.Left,!0),Ie(Fe.z6.Right,!0),Ie(Fe.z6.Bottom,!0)))));const Pt=`{ "class": "GraphLinksModel", - "nodeDataArray": [ -{"text":"Find Problem","key":-9,"loc":"-20 -140","color":"#3358ff","fill":"white","figure":"Procedure","thickness":3}, -{"text":"What do we want?","key":-10,"loc":"-65 -324.305","group":-16,"figure":"Ellipse","fill":"white"}, -{"text":"What do our users want?","key":-11,"loc":"105 -334.305","group":-20,"figure":"Ellipse","fill":"#ffffff","color":"black"}, -{"text":"Meetings","key":-12,"loc":"-65 -444.305","group":-16,"figure":"TriangleDown","fill":"#ffffff"}, -{"text":"Reviews","key":-13,"loc":"105 -454.305","group":-20,"figure":"TriangleDown","fill":"#ffffff","color":"black"}, -{"text":"Can we solve it?","key":-14,"loc":"190 -140","color":"#7d33ff","fill":"#ffffff","figure":"Diamond","size":"140 80","thickness":3}, -{"isGroup":true,"text":"Internal","key":-16,"loc":"-65 -384.305","fill":"#d5ebff","dash":null,"thickness":1,"group":-22}, -{"isGroup":true,"text":"External","key":-20,"loc":"105 -394.305","fill":"#d5ebff","dash":null,"thickness":1,"group":-22}, -{"isGroup":true,"text":"Sources","key":-22,"loc":"20 -400","fill":"#a5d2fa","dash":[4,4],"color":"#3358ff"} -], - "linkDataArray": [ -{"from":-12,"to":-10,"points":[-65,-414.305,-65,-404.305,-65,-384.305,-65,-384.305,-65,-364.305,-65,-354.305],"dash":null,"dir":1}, -{"from":-13,"to":-11,"points":[105,-424.305,105,-414.305,105,-394.305,105,-394.305,105,-374.305,105,-364.305],"dash":null,"color":"#000000","dir":1}, -{"from":-10,"to":-9,"points":[-65,-294.305,-65,-284.305,-65,-232.1525,-40,-232.1525,-40,-180,-40,-170],"dir":2,"dash":[4,4]}, -{"from":-11,"to":-9,"points":[105,-304.305,105,-294.305,105,-237.1525,0,-237.1525,0,-180,0,-170],"dash":[4,4],"dir":2}, -{"from":-9,"to":-14,"points":[40,-150,58,-150,80,-150,80,-153.33333333333331,102,-153.33333333333331,120,-153.33333333333331],"dir":1,"color":"#3358ff"}, -{"from":-14,"to":-9,"points":[190,-100,190,-90,-20,-90,-20,-95,-20,-100,-20,-110],"fromSpot":"BottomSide","toSpot":"BottomSide","text":"No","color":"#ff3333","thickness":2,"dir":1}, -{"from":-9,"to":-14,"points":[40,-130,58,-130,80,-130,80,-126.66666666666666,102,-126.66666666666666,120,-126.66666666666666]} -]}`;var tn=["Rectangle","Square","RoundedRectangle","Border","Ellipse","Circle","TriangleRight","TriangleDown","TriangleLeft","TriangleUp","Triangle","Diamond","LineH","LineV","None","BarH","BarV","MinusLine","PlusLine","XLine","LineRight","LineDown","LineLeft","LineUp"];function Dn(Nt){return console.log("shapeName:",Nt),tn.indexOf(Nt)>=0}var jn=new Fe.YI(un.current,{maxSelectionCount:1,linkTemplate:ye(Fe.rU,{locationSpot:Fe.z6.Center,selectionAdornmentTemplate:ye(Fe.uz,"Link",{locationSpot:Fe.z6.Center},ye(Fe.bn,{isPanelMain:!0,fill:null,stroke:"deepskyblue",strokeWidth:0}),ye(Fe.bn,{toArrow:"Standard",stroke:null}))},{routing:Fe.rU.AvoidsNodes,curve:Fe.rU.JumpOver,corner:5,toShortLength:4},new Fe.KX("points"),ye(Fe.bn,{isPanelMain:!0,strokeWidth:2}),ye(Fe.bn,{toArrow:"Standard",stroke:null})),model:new Fe.FJ([{text:"\u672A\u547D\u540D",size:"100 100",fill:null,stroke:"#000"},...Fe.bn.getFigureGenerators().toArray().map(Nt=>({text:"\u672A\u547D\u540D",size:"100 100",figure:Nt.key,fill:"white",stroke:"#666",borderColor:"#000"}))])});return ut.current.addDiagramListener("TextEdited",function(Nt){var Xt;const Ut=Nt.subject.part;var It=(Xt=document.activeElement)==null?void 0:Xt.value;typeof It=="string"&&It.trim()===""&&ut.current.model.commit(function(En){En.set(Ut.data,"text","\u672A\u547D\u540D"),ut.current.commandHandler.stopCommand()},"increment")}),jn.nodeTemplate=ye(Fe.NB,"Auto",{locationSpot:Fe.z6.Center},new Fe.KX("location","location",Fe.E9.parse).makeTwoWay(Fe.E9.stringify),ye(Fe.bn,"Circle",{fill:"white",stroke:"gray",strokeWidth:2,width:20,height:20,portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromLinkableSelfNode:!0,toLinkableSelfNode:!0},new Fe.KX("stroke").makeTwoWay(),new Fe.KX("fill").makeTwoWay(),new Fe.KX("figure")),ye(Fe.al,{margin:new Fe.Zt(5,5,3,5),font:"10pt sans-serif",minSize:new Fe.$u(16,16),maxSize:new Fe.$u(10,NaN),textAlign:"center",editable:!0},new Fe.KX("key").makeTwoWay())),setTimeout(()=>{ut.current.grid=ye(Fe.s_,"Grid",ye(Fe.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),ye(Fe.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),ut.current.grid.visible=!0,ut.current.grid.gridCellStroke="darkgray",ut.current.grid.gridCellStrokeWidth=1},300),window.myDiagrams=ut.current,ut.current}const _t=()=>me(this,null,function*(){var ye=ut.current.makeImage();const qt=yield(0,Ke.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Date.now(),file:ye.src}});mt({src:qt.url})});return(0,ne.useEffect)(()=>(setTimeout(()=>{Vn()},500),pn(kn+1),()=>{ut.current=null}),[]),we.createElement("div",{ref:Xn,className:rn.current?`${Ve.maxH60} body-overflow-initial`:"body-overflow-initial"},we.createElement(tt.default,{width:1200,icon:null,footer:null,closable:!0,visible:!!kn,destroyOnClose:!0,maskClosable:!1,rootClassName:"zIndex-9999",title:we.createElement(Dt.Z,null,we.createElement(Wt.Z,{flex:1},"\u63D2\u5165\u6D41\u7A0B\u56FE"),we.createElement(Wt.Z,{onClick:()=>{var ye,qt,yn=ut.current.selection.first();if(rn.current=!rn.current,document.activeElement&&yn){let hn=(qt=(ye=document.activeElement)==null?void 0:ye.value)==null?void 0:qt.trim();typeof hn=="string"&&ut.current.model.commit(function(Cn){Cn.set(yn.data,"text",hn||"\u672A\u547D\u540D"),ut.current.commandHandler.stopCommand()},"increment")}pn(kn+1)}},we.createElement("span",{className:"current c-blue mr30",style:{fontWeight:400}},"\u5C55\u5F00/\u6536\u8D77"))),onCancel:at},we.createElement("div",{style:{width:"100%",height:"80vh",overflow:"hidden",position:"relative"},className:Ve.flowChartWrp},we.createElement("div",{style:{display:"flex",height:"100%"}},we.createElement("div",{style:{width:"300px",height:"100%"}},we.createElement("div",{style:{background:"#fff",position:"relative",zIndex:12,fontSize:16,color:"#3061d0"}},"\u56FE\u5F62\u5E93"),we.createElement("div",{style:{height:"calc(100% - 50px)"},className:Ve.myPaletteDiv,ref:un})),we.createElement("div",{style:{flex:1,position:"relative"}},we.createElement("div",{ref:Yt,style:{height:"80vh"}}))),we.createElement("div",{className:"tr"},we.createElement(ve.ZP,{size:"large",onClick:_t,style:{position:"absolute",right:0,bottom:0,zIndex:8},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))))}var ze=Ge,Ee=oe(5112),Se=oe(5871);const nt=Ee.ZP.Group,Me={margin:"0 8px"};var Ce=({callback:at,onCancel:mt})=>{function ut(Yt){at(Yt)}return ne.createElement(Pe.default,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:ut},ne.createElement("div",{className:"flex-container",style:{alignItems:"baseline"}},ne.createElement("span",{style:Me},"\u5355\u5143\u683C\u6570\uFF1A"),ne.createElement("span",{style:Me},"\u884C\u6570"),ne.createElement(Pe.default.Item,{name:"row",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u884C\u6570"}]},ne.createElement(Se.Z,null)),ne.createElement("span",{style:Me},"\u5217\u6570"),ne.createElement(Pe.default.Item,{name:"col",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5217\u6570"}]},ne.createElement(Se.Z,null))),ne.createElement("div",{className:"flex-container",style:{marginTop:12,alignItems:"baseline"}},ne.createElement("span",{style:Me},"\u5BF9\u9F50\u65B9\u5F0F\uFF1A"),ne.createElement(Pe.default.Item,{name:"align"},ne.createElement(nt,null,ne.createElement(Ee.ZP,{value:"default"},ne.createElement("i",{className:"fa fa-align-justify"})),ne.createElement(Ee.ZP,{value:"left"},ne.createElement("i",{className:"fa fa-align-left"})),ne.createElement(Ee.ZP,{value:"center"},ne.createElement("i",{className:"fa fa-align-center"})),ne.createElement(Ee.ZP,{value:"right"},ne.createElement("i",{className:"fa fa-align-right"}))))),ne.createElement("div",{className:"flex-container flex-end"},ne.createElement(ve.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),ne.createElement(ve.ZP,{type:"ghost",onClick:mt},"\u53D6\u6D88")))},ke=oe(78673),xt=oe(80727),ht=oe.n(xt),kt=(0,ne.forwardRef)(({use3d:at,width:mt,height:ut,callback:Yt,showSaveButton:un},rn)=>{const Xn=(0,ne.useRef)(),kn=(0,ne.useRef)(),[pn,Vn]=(0,ne.useState)(!1),_t=(0,ne.useRef)({id:Xn,appName:"graphing",width:mt||1e3,height:ut||600,showToolBar:!0,showMenuBar:!0,allowStyleBar:!0,showAlgebraInput:!0,enableLabelDrags:!1,enableShiftDragZoom:!0,showToolBarHelp:!1,errorDialogsActive:!0,showTutorialLink:!0,showLogging:!0,useBrowserForJS:!1});(0,ne.useEffect)(()=>{kn.current=new(ht())(_t.current,!0),window.onload=function(){kn.current.inject("applet_container")}},[]);const ye=()=>{var qt=window.ggbApplet.getPNGBase64(1,!0,72);return Yt&&Yt(qt),qt};return(0,ne.useEffect)(()=>{_t.current.appName=pn?"3D":"graphing",kn.current.inject("applet_container")},[pn]),(0,ne.useEffect)(()=>{Vn(at)},[at]),(0,ne.useImperativeHandle)(rn,()=>({getImgData:ye})),ne.createElement(ne.Fragment,null,ne.createElement("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:Xn}),ne.createElement(Dt.Z,{align:"middle"},ne.createElement(Wt.Z,{flex:1},ne.createElement(ke.Z,{size:"default",checkedChildren:"\u5173\u95ED3D\u56FE\u50CF",unCheckedChildren:"\u5F00\u542F3D\u56FE\u50CF",checked:pn,onChange:qt=>Vn(qt)})),ne.createElement(Wt.Z,null,ne.createElement(ve.ZP,{size:"large",onClick:ye,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"))))}),Ot=oe(41588),Le=oe(1012),rt=oe(8591);const At="link",gt="upload-image",St="add-flowchart",on="draw-image",mn="add-flowchart",dn="code-block",vn="add-table",Wn="------------",fn={default:Wn,left:`:${Wn}`,center:`:${Wn}:`,right:`${Wn}:`};var Zn=oe(58856),$n=(at,mt,ut)=>new Promise((Yt,un)=>{var rn=pn=>{try{kn(ut.next(pn))}catch(Vn){un(Vn)}},Xn=pn=>{try{kn(ut.throw(pn))}catch(Vn){un(Vn)}},kn=pn=>pn.done?Yt(pn.value):Promise.resolve(pn.value).then(rn,Xn);kn((ut=ut.apply(at,mt)).next())});function ta(){}let Mn=0;const ua=1e4,Qn="\u2581",Yn="@\u2581\u2581@",ca="@\u2581@",Ca=` -**\u6A21\u677F\u6807\u9898** -\u6A21\u677F\u6B63\u6587\u5185\u5BB9\uFF0C\u53EF\u8F93\u5165\u6587\u672C\u5185\u5BB9\u548C\u7C98\u8D34\u56FE\u7247\u7B49\u64CD\u4F5C`,ln=["pptm","pptx","ppt","pot","pps","ppa","potx","ppsx","ppam","pptm","potm","ppsm","doc","docx","dot","dotx","docm","dotm","xls","xlsx","csv","xlt","xla","xltx","xlsm","xltm","xlam","xlsb"];function gn(at){return/^\d+$/.test(at)?`${at}px`:at}const Sn=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",Fn={[Sn+"-B"]:"bold",[Sn+"-I"]:"italic"},Kn={[At]:"\u6DFB\u52A0\u94FE\u63A5",[dn]:"\u6DFB\u52A0\u4EE3\u7801\u5757",[gt]:"\u6DFB\u52A0\u56FE\u7247",[on]:"\u6DFB\u52A0\u753B\u56FE",[St]:"\u63D2\u5165\u6D41\u7A0B\u56FE",[vn]:"\u6DFB\u52A0\u8868\u683C","maths-latex":"\u6570\u5B66\u56FE\u50CF","inline-latex":"LATEX\u516C\u5F0F"};var Rn=({defaultValue:at="",onChange:mt,width:ut="100%",height:Yt=400,miniToolbar:un=!1,isFocus:rn=!1,watch:Xn,insertTemp:kn,mode:pn="markdown",id:Vn="markdown-editor-id",showResizeBar:_t=!1,noStorage:ye=!1,showNullButton:qt=!1,showNullProgramButton:yn=!1,hidetoolBar:hn=!1,fullScreen:Cn=!1,onBlur:xe,onCMBeforeChange:pt,onFullScreen:Ct,className:Et="",disablePaste:Qt=!1,disabled:jt=!1,disabledFill:Gt=!1,placeholder:Kt="",values:Gn="",extraUse:ot})=>{const[Ie,Pt]=(0,ne.useState)(null),[tn,Dn]=(0,ne.useState)(at),[jn,Nt]=(0,ne.useState)(Xn),[Xt,Ut]=(0,ne.useState)(Cn),[It,En]=(0,ne.useState)(""),[sn,In]=(0,ne.useState)(0),[Hn,bn]=(0,ne.useState)(Yt),[wn,va]=(0,ne.useState)(!1),Sa=(0,ne.useRef)((0,Le.Z)()),Na=(0,ne.useRef)(!1),On=(0,ne.useRef)(),[ya,Pa]=(0,ne.useState)(0),[qn,aa]=(0,ne.useState)(0),Ka=(0,ne.useRef)(),Ra=(0,ne.useRef)(),Wa=(0,ne.useRef)(),Ea=(0,ne.useRef)(),Da=()=>$n(void 0,null,function*(){var Pn;const cn=yield Fetch("/api/attachments/distinct_hash_val.json",{method:"post",body:{hash_val:Sa.current}});(Pn=cn==null?void 0:cn.attachments)!=null&&Pn.length&&(console.log("cm:",Ie,Ka),cn.attachments.map(Bn=>{Bn.content_type.indexOf("image")>-1?Ie.replaceSelection(`![,](/api/attachments/${Bn.id}?type=${Bn.content_type})`):Bn.content_type.indexOf("video")>-1?Ie.replaceSelection(``):Bn.content_type.indexOf("pdf")>-1?Ie.replaceSelection(`${Bn.name}`):Ie.replaceSelection(`[${Bn.name}](${ENV.API_SERVER}/api/attachments/${Bn.id}?type=${Bn.content_type})`)}))});(0,ne.useEffect)(()=>{const Pn=window.scrollY||window.pageYOffset;Dn(Gn),Ie==null||Ie.setValue(Gn),window.scrollTo(0,Pn)},[Gn]),(0,ne.useEffect)(()=>{Ct==null||Ct(Xt)},[Xt]),(0,ne.useEffect)(()=>{if(Ka.current){let Pn=function(Bn,xn){var ba;if(Qt){xn.preventDefault();return}const $t=xn.clipboardData;if($t){const La=$t.types.toString(),Aa=$t.items;if(La==="Files"||$t.types.indexOf("Files")>-1){if(xn.preventDefault(),pn=="stex")return;try{let wa=Aa[1];((ba=Aa[0])==null?void 0:ba.kind)==="file"&&(wa=Aa[0]);const Ia=wa.getAsFile(),Fa=Ia.name.split(".").pop();(0,De.I)(Ia,Va=>{var fa,la,Za;Va.id?((fa=Ia==null?void 0:Ia.type)==null?void 0:fa.indexOf("image"))>-1?cn.replaceSelection(``):((la=Ia==null?void 0:Ia.type)==null?void 0:la.indexOf("video"))>-1?cn.replaceSelection(``):((Za=Ia==null?void 0:Ia.type)==null?void 0:Za.indexOf("pdf"))>-1?cn.replaceSelection(`${Ia.name}`):ln.includes(Fa)?cn.replaceSelection(`${Ia.name}`):cn.replaceSelection(`[${Ia.name}](/api/attachments/${Va.id}?type=${Va.content_type})`):(Va==null?void 0:Va.status)===401&&(rt.ZP.warning((Va==null?void 0:Va.message)||"\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),document.location.href="/user/login")})}catch(wa){rt.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};const cn=Je().fromTextArea(Ka.current,{mode:pn,lineNumbers:!un,lineWrapping:!0,value:at,autoCloseTags:!yn,autoCloseBrackets:!0});return cn.on("keyup",function(Bn,xn){xn.keyCode===8&&(Bn.getValue()==""?cn.setOption("placeholder",Kt):cn.setOption("placeholder",null))}),cn.on("keydown",function(Bn,xn){if(xn.keyCode===8){var ba=ea(Bn);ba&&xn.preventDefault()}}),rn&&cn.focus(),cn.on("paste",Pn),cn.on("dragleave",function(Bn,xn){Ra.current.classList.remove("mouse-hover-md")}),jt&&cn.on("beforeChange",function(Bn,xn){(xn.origin==="paste"||xn.origin==="+input")&&xn.cancel()}),Pt(cn),()=>{cn.off("paste",Pn)}}},[]);const ka=(0,ne.useCallback)(()=>{if(Ra.current)try{}catch(Pn){console.log(Pn,"---- to set md editor body height")}},[Hn,Ra,Xt]);(0,ne.useEffect)(()=>{function Pn(){let cn=new Ne.Z(Bn=>{for(let xn of Bn)(xn.target.offsetHeight>0||xn.target.offsetWidth>0)&&(ka(),Ie.setSize("100%","100%"),Ie.refresh())});return cn.observe(Ka.current.parentElement),cn}if(Ie){const cn=Pn();return()=>{var Bn,xn;(Bn=Ka.current)!=null&&Bn.parentElement&&cn.unobserve((xn=Ka.current)==null?void 0:xn.parentElement)}}},[Ie,ka]),(0,ne.useEffect)(()=>{if(Ie){let Pn=[];for(const[cn,Bn]of Object.entries(Fn)){let xn={[cn]:()=>{ra(Bn)}};Pn.push(xn),Ie.addKeyMap(xn)}return On.current=setInterval(()=>{Na.current&&Da()},4e3),()=>{clearInterval(On.current);for(let cn of Pn)Ie.removeKeyMap(cn)}}},[Ie]),(0,ne.useEffect)(()=>{Cn!==Xt&&Ut(Cn)},[Cn]),(0,Zn.Z)(()=>{if(!ye&&sn>0){let Pn=new Date().getTime(),cn=window.sessionStorage.getItem(Vn);Pn>=sn+ua&&(!cn||cn!==tn)&&(window.sessionStorage.setItem(Vn,tn),va(!0))}},ua),(0,ne.useEffect)(()=>{Nt(Xn)},[Ie,Xn]),(0,ne.useEffect)(()=>{Ie&&rn&&Ie.focus()},[Ie,rn]),(0,ne.useEffect)(()=>{if(jn&&Ie){let Pn=function(Bn){let xn=Bn.target;if(Ea.current){let ba=xn.scrollTop/xn.scrollHeight;Ea.current.scrollTop=Ea.current.scrollHeight*ba}};const cn=Ie.getScrollerElement();return cn.addEventListener("scroll",Pn),()=>{cn.removeEventListener("scroll",Pn)}}},[Ie,jn]),(0,ne.useEffect)(()=>{if(Ie&&pt){let Pn=function(cn,Bn){pt(cn,Bn)};return Ie.on("beforeChange",Pn),()=>{Ie.off("beforeChange",Pn)}}},[Ie,pt]),(0,ne.useEffect)(()=>{if(Ie&&xe){let Pn=function(){xe(Ie.getValue())};return Ie.on("blur",Pn),()=>{Ie.off("blur",Pn)}}},[Ie,xe]);function ea(Pn,cn){var Bn=Pn.getDoc(),xn=Bn.getCursor(),ba=Bn.getLine(xn.line),$t=ba.charAt(xn.ch-1),La=ba.lastIndexOf("@\u2581@",xn.ch),Aa=ba.lastIndexOf("@\u2581\u2581@",xn.ch),wa=La>Aa?La:Aa,Ia=La>Aa?3:4;if(Yn.indexOf($t)===-1)return null;if(console.log("change1:",cn,Pn,ba,xn,wa,La,Aa,$t),wa>=0&&xn.ch-wa<5){var Fa=wa+Ia;return Bn.replaceRange("",{line:xn.line,ch:wa},{line:xn.line,ch:Fa}),{line:xn.line,ch:Fa}}return null}(0,ne.useEffect)(()=>{if(Ie){let Pn=function(cn,Bn){const xn=cn.getValue();Dn(xn),In(new Date().getTime()),cn.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),mt&&(yn?mt(xn,Un(xn)):mt(xn))};return Ie.on("change",Pn),()=>{Ie.off("change",Pn)}}},[Ie,mt]),(0,ne.useEffect)(()=>{if(Ie)if(at==null)Ie.setValue(""),Dn("");else{const Pn=window.scrollY||window.pageYOffset;at!==Ie.getValue()&&(Ie.setValue(at),Dn(at),Ie.setCursor(jt?1:Ie.lineCount(),0),window.scrollTo(0,Pn))}},[Ie,at]);const ra=(0,ne.useCallback)(Pn=>{const cn=Ie.getCursor(),Bn=Ie.getSelection();let xn=Bn.split(` -`);switch(Pn){case"bold":return Ie.replaceSelection("**"+Bn+"**"),Bn===""&&Ie.setCursor(cn.line,cn.ch+2),Ie.focus();case"italic":return Ie.replaceSelection("*"+Bn+"*"),Bn===""&&Ie.setCursor(cn.line,cn.ch+1),Ie.focus();case"code":return Ie.replaceSelection("`"+Bn+"`"),Bn===""&&Ie.setCursor(cn.line,cn.ch+1),Ie.focus();case"inline-latex":return En("inline-latex"),Ie.focus();case"latex":return Ie.replaceSelection("```latex\n"+Bn+"\n```"),Ie.setCursor(cn.line+1,Bn.length+1),Ie.focus();case"line-break":return Ie.replaceSelection(`
-`),Ie.focus();case"list-ul":return Bn===""?Ie.replaceSelection("- "+Bn):Ie.replaceSelection(xn.map(ba=>ba===""?"":`- ${ba}`).join(` -`)),Ie.focus();case"list-ol":return Bn===""?Ie.replaceSelection("1. "+Bn):Ie.replaceSelection(xn.map((ba,$t)=>ba===""?"":`${$t+1}. ${ba}`).join(` -`)),Ie.focus();case"add-null-ch":return Bn===""&&Ie.setCursor(cn.line,cn.ch),Ie.replaceSelection(Qn),Ie.focus();case"add-signal":return Bn===""&&Ie.setCursor(cn.line,cn.ch),Ie.replaceSelection(ca),Ie.focus();case"add-multiple":return Bn===""&&Ie.setCursor(cn.line,cn.ch),Ie.replaceSelection(Yn),Ie.focus();case"inster-template-1":return Bn===""&&Ie.setCursor(cn.line,cn.ch),Ie.replaceSelection(Ca),Ie.focus();case"eraser":return Ie.setValue(""),Ie.focus();case"trigger-watch":return Nt(!jn),Ie.focus();case"trigger-full-screen":return Ut(!Xt),Ie.focus();case At:En(At);return;case dn:En(dn);return;case gt:En(gt);return;case on:En(on);return;case"maths-latex":En("maths-latex");return;case St:En(St);return;case vn:En(vn);return;default:throw new Error}},[Ie,jn,Xt]),na=(0,ne.useCallback)((Pn,cn)=>{var Bn,xn,ba,$t,La,Aa;switch(En(""),It){case At:const{title:fa,link:la}=Pn;return Ie.replaceSelection(`[${fa}](${la})`),Ie.focus();case dn:const{language:Za,content:Ta}=Pn;return Ie.replaceSelection(["```"+Za,Ta,"```"].join(` -`)),Ie.focus();case"maths-latex":for(var wa=atob(Pn),Ia=new Uint8Array(wa.length),Fa=0;Fa{ar.id?Ie.replaceSelection(`![,](/api/attachments/${ar.id}?type=${ar.content_type})`):(ar==null?void 0:ar.status)===401&&(document.location.href="/user/login")});break;case"inline-latex":Ie.replaceSelection("`$$"+Pn+"$$`");break;case gt:case on:case mn:const{src:pa,alt:ga}=Pn,ja=cn,_a=(ba=(xn=(Bn=ja==null?void 0:ja.name)==null?void 0:Bn.split("."))==null?void 0:xn.pop)==null?void 0:ba.call(xn);return(($t=ja==null?void 0:ja.type)==null?void 0:$t.indexOf("image"))>-1||!(ja!=null&&ja.type)?ja.align||ja.width?Ie.replaceSelection(`

${ga||

`):Ie.replaceSelection(`${ga||`):((La=ja==null?void 0:ja.type)==null?void 0:La.indexOf("video"))>-1?Ie.replaceSelection(``):((Aa=ja==null?void 0:ja.type)==null?void 0:Aa.indexOf("pdf"))>-1?Ie.replaceSelection(`${ja.name}`):ln.includes(_a)?Ie.replaceSelection(`${ja.name}`):Ie.replaceSelection(`[${ja.name}](${pa})`),Ie.focus();case vn:const{row:Ja,col:ir,align:sr}=Pn;let nr=` -`;for(let ar=0;ar{switch(It){case At:return ne.createElement(lt,{callback:na,onCancel:Ma});case dn:return ne.createElement(Lt.Z,{callback:na,onCancel:Ma});case gt:return ne.createElement(De.Z,{callback:na,onCancel:Ma});case St:return ne.createElement(ze,{callback:na,onCancel:Ma});case vn:return ne.createElement(Ce,{callback:na,onCancel:Ma});case"maths-latex":return ne.createElement(kt,{showSaveButton:!0,callback:na});case"inline-latex":return ne.createElement(Ot.Z,{showSaveButton:!0,callback:na});default:return null}},[It]);function Ma(){En("")}(0,ne.useEffect)(()=>{if(Wa.current){let Pn=function(La){ba=!0,$t=La.pageY},cn=function(){ba=!1},Bn=function(La){if(ba){let Aa=La.pageY-$t;Aa<0&&(Aa=0),Aa>300&&(Aa=300);let wa=Yt+Aa+"px";bn(wa)}},xn=Wa.current,ba=!1,$t=0;return xn.addEventListener("mousedown",Pn),document.addEventListener("mousemove",Bn),document.addEventListener("mouseup",cn),()=>{xn.removeEventListener("mousedown",Pn),document.removeEventListener("mousemove",Bn),document.removeEventListener("mouseup",cn)}}},[Ie,Wa]),(0,ne.useEffect)(()=>{bn(Yt)},[Yt]);const Ya=gn(ut),xa=gn(Hn),Xa={width:Ya,height:xa},oa=(0,ne.useMemo)(()=>{if(sn){let Pn=new Date(sn),cn=Pn.getHours(),Bn=Pn.getMinutes(),xn=Pn.getSeconds();return cn=cn<10?"0"+cn:cn,Bn=Bn<10?"0"+Bn:Bn,xn=xn<10?"0"+xn:xn,`${cn}:${Bn}:${xn}`}return 0},[sn]),Un=Pn=>{const cn=[];if(yn){let Bn=-1;Pn=Pn.replace(/(@▁▁@|@▁@)/g,function(xn,ba,$t){cn.push({multiLine:xn!==ca})})}return cn};function ma(){window.sessionStorage.removeItem(Vn),va(!1),In(0)}function Zt(){va(!1),In(0),Ie.setValue(window.sessionStorage.getItem(Vn))}(0,ne.useEffect)(()=>{Kn[It]&&It!==on&&It!==St&&setTimeout(()=>{const Pn=document.getElementsByClassName("markdown-popup-form")[0],cn=window.innerWidth/2-Pn.offsetWidth/2,Bn=window.innerHeight/2-Pn.offsetHeight/2;Pa(cn),aa(Bn)},0)},[It]);const ia=Pn=>{Pn.preventDefault();const cn=Pn.clientX-ya,Bn=Pn.clientY-qn;document.body.onmousemove=xn=>{let ba=xn.clientX-cn,$t=xn.clientY-Bn;const La=document.getElementsByClassName("markdown-popup-form")[0],Aa=window.innerWidth-La.offsetWidth,wa=window.innerHeight-La.offsetHeight;ba=Math.max(0,Math.min(ba,Aa)),$t=Math.max(0,Math.min($t,wa)),ha(xn.clientX,xn.clientY,cn,Bn)&&(Pa(ba),aa($t))},document.body.onmouseup=function(){document.body.onmousemove=null}},ha=(Pn,cn,Bn,xn)=>{const ba=document.body.clientHeight,$t=document.body.clientWidth;return Pn<20&&Bn>Pn||Pn>$t-20&&Bncn||cn>ba-20&&xnWe in Pe?et(Pe,We,{enumerable:!0,configurable:!0,writable:!0,value:ve}):Pe[We]=ve,x=(Pe,We)=>{for(var ve in We||(We={}))a.call(We,ve)&&b(Pe,ve,We[ve]);if(y)for(var ve of y(We))E.call(We,ve)&&b(Pe,ve,We[ve]);return Pe},te=(Pe,We)=>Xe(Pe,se(We));const{useForm:ae}=ne.default,ie={width:280,marginRight:10},ue={labelCol:{span:5},wrapperCol:{span:19}};var de=({callback:Pe,onCancel:We})=>{const[ve]=ae();let Ue=(0,_e.useRef)();function Bt(ft){Ue.current.width=ve.getFieldValue("width"),Ue.current.align=ve.getFieldValue("align"),Pe(ft,Ue.current)}function Tt(ft,Ft){if(ft.status===-1){pe.ZP.error(ft.message);return}ve.setFieldsValue({src:`/api/attachments/${ft.id}`,type:Ft.type})}function Ye(ft){let Ft=ft.target.files[0];Ue.current=Ft,Be(Ft,Tt)}return it.createElement(ne.default,te(x({form:ve},ue),{className:"upload-image-panel",onFinish:Bt,style:{width:470,overflow:"hidden"}}),it.createElement(ne.default.Item,{label:"\u56FE\u7247\u5730\u5740",required:!0},it.createElement("div",{className:"flex-container"},it.createElement(ne.default.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5730\u5740"}]},it.createElement(Je.default,{style:ie})),it.createElement(fe,{onFileChange:Ye}))),it.createElement(ne.default.Item,{label:"\u56FE\u7247\u63CF\u8FF0",name:"alt"},it.createElement(Je.default,{style:{width:264}})),it.createElement(ne.default.Item,{label:"\u56FE\u7247\u5BBD\u5EA6",name:"width"},it.createElement(Ne.Z,null,it.createElement(ne.default.Item,{name:"width",style:{margin:0}},it.createElement(Oe.Z,{style:{width:264}})),it.createElement("span",{className:"ml8"},"%"))),it.createElement(ne.default.Item,{label:"\u5BF9\u9F50\u65B9\u5F0F",name:"align"},it.createElement(Re.ZP.Group,{name:"align",defaultValue:1,options:[{value:"left",label:"\u5DE6\u5BF9\u9F50"},{value:"center",label:"\u5C45\u4E2D\u5BF9\u9F50"},{value:"right",label:"\u53F3\u5BF9\u9F50"}]})),it.createElement("aside",null,it.createElement(ne.default.Item,{style:{textAlign:"right",position:"relative",right:-98}},it.createElement(be.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),it.createElement(be.ZP,{type:"default",onClick:We},"\u53D6\u6D88"))))};function fe({onFileChange:Pe}){return it.createElement("label",{className:"upload-button",style:{cursor:"pointer"}},"\u672C\u5730\u4E0A\u4F20",it.createElement("input",{type:"file",onChange:Pe}))}function Be(Pe,We){if(!Pe)throw new String("\u6CA1\u6709\u6587\u4EF6");if(!(0,dt.bg)())throw pe.ZP.warning("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),new String("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C");let ve=new FormData;ve.append("editormd-image-file",Pe),ve.append("file_param_name","editormd-image-file"),ve.append("byxhr","true");var Ue=new window.XMLHttpRequest;Ue.withCredentials=!0,Ue.addEventListener("load",function(Bt){We(JSON.parse(Bt.target.responseText),Pe)},!1),Ue.addEventListener("error",function(Bt){console.error(Bt)},!1),Ue.open("POST",`${qe.KI}/api/attachments.json`),Ue.send(ve)}},79346:function(wt,Mt,oe){"use strict";oe.d(Mt,{Z:function(){return Je}});var ne=oe(59301),pe=oe(4676);class Je extends ne.Component{constructor(Oe){super(Oe);const Re=window.document;this.node=Re.createElement("div"),Re.body.appendChild(this.node)}render(){const{children:Oe}=this.props;return(0,pe.createPortal)(Oe,this.node)}componentWillUnmount(){window.document.body.removeChild(this.node)}}},33847:function(wt,Mt,oe){"use strict";oe.d(Mt,{i:function(){return ie},Z:function(){return de}});var ne={flex_box_center:"flex_box_center___AQ53o",flex_space_between:"flex_space_between___i2aIa",flex_box_vertical_center:"flex_box_vertical_center___sPEKB",flex_box_center_end:"flex_box_center_end___GhSSH",flex_box_column:"flex_box_column___R9_Hb",list:"list___jb2Ay",wrap:"wrap___VsQDr",lockWrap:"lockWrap___g1k1T",li:"li___IxCLC",cover:"cover___Mu8wr",img:"img___IpFLA",movebq:"movebq___mF7wt",bq:"bq___Bil0T",sign:"sign___DXJ4d",name:"name___l7FoJ",e:"e___pXQUG",unit:"unit___wCIFR",tags:"tags___w_Mil",tag1:"tag1___dxm7r",tag2:"tag2___llZkf"},pe=oe(71418),Je=oe(6848),Ne=oe(92310),Oe=oe.n(Ne),Re=oe(955),be=oe(8797),qe=oe(24065),_e="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGgAAAAgCAYAAAD+Fz2gAAAAAXNSR0IArs4c6QAAEx5JREFUaEPFWwd4FWW6fueE9NATIEAoKkWKgIKVEkBgl2LB6159EFdRwHVd9a67SC+ryFVBEDGAUq57d0WUK6DuigYSeglFMJQIhBJSIIYUQgohObPP9/1l/pmcE7h9nvCcc+bMzJn53v/9vvcrWABQfuovrf3VeMeClWhbVrwFC5Zl0Vfi1aLP/EHu976K42wAtmXBx2cCtk9ew+ZT+bsbbT4/XUWeT1cUf4Bt61faY9v8a2I/vxXn0X7+p86l/bYftu3n7/30Sof6bdAd2351LXmMOl++0nUt/hlxnrg+vVe/6xfPbRwv7oeuJ+5RfUdPz/uMe5VP5zwfkOeDf6tlhUxqPXxOtkXgVFfVHLFgNYHlcwBRIBE+cIPEexg4+hPn0K0IPCz4A4GkrH4DkCxpEDa2fCAFqzC8AsMBifYLI6p93vdkUGUwtzEtCZC4bg0bXxnRNDrdlwBIfG8eoxZP3SCJc+sEicEUhvLBLrQsXw+r5Ognn8LGk4IoPiiQhB1vzCQ+XjHNeP2/AUkZU8JpgCRWr1yxinFy9bu+IyYZrAH8sP3ECsVOBwx1nGCPGyTN8kDg/ReYxDaFf41Vkr46F0C8MLRihmCFCyT6zNDyUYI9wu8J1+cB0+XuDPemndz/GJMcZvDyq5NJjrsz2cbuTrNPuLCgTGIXLFZ6IDa5wPeCZSwUuXoMN6h8huPOfUCeVXxklc1xQxpbAENGDwSSdHcBQFJgmbGrbpAEyHVtprvjCEKuTDyZwoJdV22myIf0xCV9nAGAMiiBJK0ury9B0oDUzSSXy6sVkxw26vgp783P7tkBnRjMhqF7pEVfdHilrYSAIEMgJhmCQbmx/weQnPgjRYSOSeKhhLEFo9wxSa14wxBelggFoUESLu6/AZK8t1qxynB3LrEQUDj4YRUfWmFzdNdqzaPQNJMckBRLHHfnuMP/FXfHisvZeNUFZBKBJBWWkn9a1ZmsUmxwAr5WV6Q4vTFJqzZ37AkUk26aSVppGrGyFkiWBEhK6OAgEQBS4RlCoLz4Z+SfPY42d9yPeuGROmbRm6Lcc2gYG8/7y4ouscuMatJcSPAbxKSaqmvIyTiI2IQOiGocx1CQ2qLb5N/MOoXWne9ESGg4uyOtzNndObJbSW0d1GGjMPsMrleUodkt3ehMKZdV3FEM8oDETCKFZ6Om+jp8IfW0iiu9lI0afzUaNUtwJL6U0mSbxi3b833WxSQzbrndnQ2r8OBH7OIcN6cktbOPv9dSW2Q5tO9C+m7sXrMYo6YkIaZRnM6XKktLsP7N8bhr1DPo3H8UNsydiBYde+CeX73ExwQGyYlJZUX5+HLWOPQd+xra9xmoqUMgnT2Qih1/eQ+jZ61EdKM4zSQHJLUiAzPp74teQ3SjWPR7+nWZYymQ3PJZanwNIEnww5s+xeXs00h8ZrJwqbCxbfU8Vn0Dxr4OyyfcLP0rzD2L3WsXo8M9Q3Hb3UOcOOlVfwFcnkzs+MUqPLDMFuwgiS2N5HV3ngSVjwWQnb4Huz9bjIcmJyGqcaxWdT/t/AY/fPNnPDpjBSLrN0Z68lr8tONvePxPnwC+kFrJ7P51y5B9NE0DQW6qvPgywqPro15YhEtHVF+rxLXyUkQ1agLLCpHZEpDQ9W70Hj1RBSeDSUIyU0z6+VwGvk+ajgHPTkZ8x17Oqtbxxu3CaLfj7vwozD6NbX9+G536jkDnB0bw+QVZJ7Hr00W448HH0a5HP52Y7vrsfVReLUb/sa8bjGN+G6AbUl0qPP49KYjoaOvy/iQNkFJvygUpZmmFxpmo4+4upO/Bns8WY9SkJYhu0kxL703vT0JEdAMMHD+TQSsrKsCGuRMweOJstOzUy11xsICcEwdRkp+j40xVxVX8uOkztO+diKZtbnMBdDnrNM4e2Ioew55AWFSMfpiGzVqh1e29QfFJSditq99C3k+H9fl+fw3smhqEhIYFFY/Nb+uG+598VYOnxIZwk34c3bIOp9OSkfjsVDSIa8nH7d+4AkXZmXhwwhz44EPu6SPYv3El+jw0jl2pcrFKRQZyd2bVwQTJupyWZKtSDq1Ik0kkv10gyc8HN6xAVUUZKq4UoTA7E/Ede/BD3/XI8ygvuYzkJVMRGhGJsMhobYjykkJmE7kB2lp07Il7n3g5oLsj9mxa9Ef0Gvk0Grdqj4YtEmD5iC1A1pHdSPtiKUa8thDRDZvyvhpKzxQwOjkFNi+fjbLCi7zihWZQ4KmV7KhB2nNqzyZ2m/1+PcmViFYUF6D051w+u+Z6Fc4d3oE23e9FSGgou6HKqyXw+/2IimnIv5Oeso5LSN0HjdbVkJjGcYiIaSyVprua4Up8PUyyCvYtsS0fuSyhxEyQbKP+ZgK1b91SVJVf5RsruZiFuPa3I6ReKO7+pxew89/ncyBuf2d/RDYitwdUlBbjTFoKbukzEFHSqA2btUa73gNlkitreVKqSb2IE9s24OCGVXhszmpEyvNcS9+24ZO1OhbaUt0pF7Fl+WzU1FRjyG/mSEYYwLhqdkJYpK54A74QH/r/+nVXwCfgfty0JijrbuaLLgMeRvue/WuVozS7XMpRuD5+HgLIWwT1xiQvk5SgyD66D3vXLsHIP36A6MZxOL33exz8ahXf7+AX5qDZLV0Y+KKcTGx6/3UMe3ke4treLp5HVibIsDnH9+N46pe1nrM4Lws11VVomtChDhsIVrTt0Red+o/kWKPqXQSQ31+NB1/4k8yPZH2V1rVUFU5FwUYKAeQLQf9nSEA48ejk7k04tuUL/PLldw01JlSdqMMZhVq/X+dgZGByuZs/no3b+z2E9r36u66rXF5tkJzk2/p57wciUSWbaSapOOMIh0AgMUCff4gRf1iMeuHh+PuCV9GweQIKzp/E4AmzEXdrF3aR5Aa/WzwZQ383D7FtOxuVclGZyD+XgfNHdjm5jgVcSN+HsuICdHrgl9q9BUOJDEGxI6H7fSIPl0zavGwWivLOo3XX3qokLn2a4e7YSuJzbsYhvv8Bz0xxSfCTu7/F0c3r8PC0j3C9vBTlRQWuqrZKjmWlCfALA0fXb4zQiGh8vfBVdOlPAA2oXYhVVQd5jkiOZfWcniV/z2KXzNaSW4sBBZIFcnmmq8s+tg/7Pk/C8D8sQmh4FLavfgt3PTQOm5fNRKP4NgiNiOIbra6qRFHOOTSKb4vQSLHvzhFPI7bd7Tp3Uq0IcrbZJ9KQ+vFc9Bw5Ft0ffFyoy7o224lBspbAq3jLslkouHCK8ymBg4xBEhRd6pefL+ecRpNWt2HAs1N0VYKs9RMBlPwFHpn+Mc4d2o6DG1fejFdjIdOu+wP46r1X0KX/w4JBRsvBVXBV7RFXackP69Lu9zVATu/HrCY4Etwbk3KOpWHfF0nokvgwLhxNw6CJc1BxpRDffzAZLTvficgGjfmGrpWVIvtYGlp17YNICqSWhY73D2cBIIvmIq+wLBTnncd3709C04RbMeSluSgtuIjvF1PeEXy7Y9gTLAREkifbPbCRsnQWSLkNefEN1TrSpSBJGy3ByRWlfDSH2Zo4bqoRK/wcQytLCtEwvi273OrKCqdup4umflyvLMfptM3ISt+LhG73oFPf4QgPj+E4HR7TEGGRMbov5W1pmDVB1bviOHRp1yIdg8yE1WGSKpoKJpERr1deRX7mMWQd2YlLmcdQLywM7e5KRK8RT6P40gUkfzAFgyfMkgyxOGkj0MjgsW06Oc0/0nCqSm5ZKC3Iw5bls3D18iU8NnsVIhvFgST32YNbpftzmES50PGULxHTtDkGjJuK+nEtRdtDxRYAyctmsqwe+uKbuuLA6aVRudbqjhi3fDbHILqes9JlAhuo/UC9JACVpUU4uedbnPthB2LbdETXgY8iuknzIFLdbCh6WxpcF5F5qmgQWvk7F9m2TO0DSWoRnwSL6P21ilJ8u+j3LCNJRpPcHvrSW2jQrDUbu4QAWjIVg8bPYnVHWxEBtGQKHvztm4hr20krRgGOuG7OiQPY9deFfD3axiz8iiW46srSPsE2C+cP7UDaumVI6HEf+oye4MprTJAIoGtlV9DnsYlSOAgWqpzD6WYK93dg/QqER9VH4rhpRhvAEQL0zGaHVHRbbWRs/xpHt65Hv6deQ2ybDrXjjDxOdX7FApEdWg/wZk2QG3z5OxYyg/y0mGVPJziThDHPHkxF7K1dmbr7/2MZfvEvC7h8Qt8xQB9OQ9M2HRAeFcNmraosR8G5DAYnNErkRt2H/ApNE25jgx9NXocfv1uDpq1vRasuvfHj92sxZuFGcT8ekKrKSvD51KfQY/gY3PGLJwP7PRmTCKDcjB9uKl6ogyinG/jcdJccvpSZzmLDVGy65Q0b+aeP4WJmOu4Y8s+OCxVaX7ZFbDSIbYlmbToa/Sp351YtHF2XI9HALm77e7rd4PeIgNoxyXF3tLJJHhNAw16drwG6QgAlTUfzDt25msAAVVzljL5Fhx6IqE/7gM79RqFJ61v4PeVVPsuHPo+Ox5lDO7B37QcY+95GnNjxDXKOHxAgSe/mr6nGpVPpaNSyLaIaiESVNvp81yPPOWCQy1o6A1QaotKOUneSQkoYO/IbwI5P5qNeWDgGPi8AUs2/I5v+ijMHUt1KUP6SSl4pgaXKhntzEuPW3e5Bt4GjRZw0ZhuCVb/VfuvS9gXMIBkYaim1wCAJoLIzCKDlGPrKuy6ANi+dgcTnpksXZ6E49yySk6Zh8G/eQBytIjXPoJqEdMc+0Yc6sz8Fe9YuYYAy9yUjL/Oo88yWyOSzDu9GXPvOiIltob+jxLf7sCdc9tmSNBME6LDfzhUZvazJ6fa0WLa6QUeynGLQwPEzpAioPdsgDOcurGZs/wrHtm7AY9NWGJUCMd9g5lPa6AFACgaUdXHbfJkHOVVscne0os3uqEhmaR89lfgu98QBpK3/iAGiCoHP50PJxQvYsowAmobYdpTz+DgGbU6azgCR5HVAFzHFqWJYyNyfgr1rP8SYBRuEpKc1Ll/pfWXFFXwx9Sk88NTvuTJRlwRngPzVGPbiXEEcDYjnvWz0JS+dBV9ICDNIMa12C7329E/Gto0M0OgZK1mkOCKkrkkht0AIClDu1ndtanfrdgOZhMrmcponmHCg/Vnp+3Do69UY+rt3uJpN25X8bKQsm8myt35sPBuwvLgAx1PXo0viI4hp2oKjfUhIGNr26usoOgnUmQMCoKcWbGCDekGqulqCz2eMZYCoFaGEQ6BAQwAV5pxBfOeenBcF2sz6XN7Jw9y/GTR+hnZxOu64Zh3Mhh9wfOt6HGeAVom44ZouCs4kcWzdsw1WTuo7zCAFEq14fhbZZdWrXRnLsvDTrr+hrOhnFF7IRHV1FYa/sgCoV4/BUAAFNoezl1oJj05f4czayfh3Zn8qVyfGzF+vx7noHk7vS+YcJTfjIM7/sBODJs5Cyy69+YLBQCKAqB2gYp2Zp3pjBT1zUfYZFjeDxs/Uak31hcw5O1rtly+cYkFEP35q9ybO9Ya/tkhQ0wBJt865UuCwq7a7q93d5TwoN+VtHhoxQVKTOiZIprvLSt+D/MyjLLMTut2rXRldp7QgFzs+eRv3PfkqP6yot8p8R0t2NREkXzWDwQ25vZ8nYcx8UZtTC2bbqrdAK5zKUc1u6YqB46bCCnPaBoFASqVaXE0NBlOiqkpATtwWBUkV7KlmtlzGoOdJZgunaIoFndzaNs4f3olD3/wb76LF1qnfSLTt2dfFvP9869xhk4pdVk7K28wg7U6MCR/2PwaTTJBM8cAxiYZIiH2GuxTHKDflgKQafrVjnLxBP/VsIowYKFhNLOcFasSkQHlSneyVFXAVk7wgOXFKJowGSAH7OgFm7hSoQrGZMUkUWN1TquIY77Eqjlk5W/5VVxIUSK6YpBSe2RsSS9sI9ka1gUo2HlAdIBRIXgFijHMZosE7c+cF6WbmGwIHHtGmoM09ziVVmxYTNwmSMV3knZXj2OcadKQOb3B15y0BWdmb5+ValhWvDM6zWEwcZz5O+ikNSjAmqclULdu9DT89GBl4CIWvy0xUSlFGGGMwMhCT9P2peMS0vUEUNJjETXFS+oa7c5gkV7wuchoGl0C62g6GBA/MJHMMWVWunf6PqlZIUPOsnC3zPrV59NeR2WoA3qkocJmh1miWmxmq0h0ihx7lsHwgkHTrXAAlCGlMq3qnWlUcM2KS192p3IqhFa5AJ7dBoXKBJIN7QJCcEWPvpJDAyIhV1N81GOOIAZNJDkhmYZTdrTFUAhtrrOzUt1ujxj4C2E201JZgcZ/VNWkawOh62secBqLWufgcqCvLDs0z3+CAZIwYe9xdLVepXJScFOKWhWQOd1rVoqqDTMGnV2U85AEN2cQw5h245yd7OLo8oxt4wVyYGyQnkXUadIa6K4xARA9+HALJ8vvfsW0kKnen3JQDkptFyiUKAIUrctSaSGh56uZGIGn3ZTLJ+99dlOpz/lcFOSQxrizjSBCQboZJdYMkWxgekNxFTckgs9cTNM7IZpxqypkTriKZzoPt3xpREzYp6t7x2f8ARtZc8eay0EoAAAAASUVORK5CYII=",dt="data:image/png;base64,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",it="data:image/png;base64,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",et="data:image/png;base64,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",Xe="data:image/png;base64,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",se="data:image/png;base64,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",y="data:image/png;base64,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",a="data:image/png;base64,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",E="data:image/png;base64,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",b="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGgAAAAqCAYAAABfjB7GAAAAAXNSR0IArs4c6QAAFNBJREFUeF7tW2d4VVXWfs9NJUAMgQQCIzUhdARGQ2/SizAOAUTsNEF4BHVGBPxE2ki3jA6oKCpNNEpJjBQlCoSSUEIgECRAQnoICenlnvM9e+29T7m5CQ7wfN8friW59+y97znr3e9a71prR7kdv1lTFAVQFCiKjf9k/7DPwN7Ka/RGfO74k4/TAGiKAhvNBDSbWEOjqXTtTi+bylYR89mK/F9A0/Sf7BNNo2/jn9OvfB77nP6Tc9nnmgpNU+m6yn6yoaoGdseaKtcSY+R88ZOtq9DX8Hl8ffa7/F6VP7dpPL8fth6/R3mNPT19ZrpX8XTG8wHpNqiHFMXlH38ZsfiGkn/uSwKIA2EzAJEgsY9hBYk+ofHsXz6H3QrHQ4HqDCRp9TuApAiDkLHFA0lYueElGAZI7HNuRPmZ4+/MoNJgVmMqAiC+rp2ML41oNjq7Lw4Qv24eIzdPzSDxuTWCRGByQ9mg5SqKrbOSxwAig7NdzhjEDc7teGcm0XjJNNPP/xuQpDEFnCaQ+O4VO1YyTux+yzXGJBNrABWaylgh2WmAIcdx9lhB0lnuDLy7YBLZFOo2JS9uk3BxzNBWJllAItfHacIZJdyfZJcDmBZ3Z3JvupO7b0wymEHbr0YmGe7OzDZydzr7uAurlknkgvlOd8YmC/iOYJk2itg9JjcofYbhzm1AupJ3dpNGcYMMxgEyuzsrSMLdOQGJxywr42oGiYNc08vs7iiCMFfGn0xiQa6rKlPEQzrEJX2cCQBpUAaSsLpYX4CkA1Izkywur0pMMtiox09xbyq5ZwN0xmAyDLtHZs9bZz7XRQIngzMmmQSDdGP/DyAZ8UeICD0m8YfixuaMssYkueNNhnBkCVcQOkjcxd0DSOLeqsQqk7uziAWnwkGFknfqM42iu67WHBSaHpMMkKTCM9ydEbOcqcB7dnekuIwX7TqnTGIgCYUl5Z+u6syskmwwAr6urpjidIxJumqzxh5nMelPM0lXmqZYWQUkRQDEo3wNIHEJbpHeXLQiPfEsfP/SCrW8fXVh4QhS8rloePs3wUMBzbkEv5uYZAKJyK+rcY02PseLMcmQ3apaCUVxEZLYUXqzkVIuy7gjGeQAEjGJKTyrlOcS3EEsVHkvXbLJzVninVV5Wt2dBiU3dqNJZjsBScQkQ2rzLIeBVVFWjLDFL6L3s6/j4fYhIk/SYK+osORLPy6fjqAew9Bu4JM0hq2g2GxQ3Nz5WvL/CpCReBaZV+KdhiYDFIIBDVt1REBgRwLFAIkb8cqJg0j4bRf6v7QAXt71CSS1sgKnf/pGJlYixxLoSncJDR51fRDcY4Th7kgRVKKkIA8FNzNwK/UqcpITkZeZgoFT3kbWlXjkJF+WfldyW09xavs2RPPOvatKcwegdI1tiklKbsx/NM4OnqQKzawnpUaiaoiAa7FR8H04ELV9GiDs3RfR55nX4dO4GQ5ueAf9XpiPn9a9XnP0B9Dir/3R++l5ejIrgTod/jXi9+9E3foNa1yj4GYmOg2diM5Dn9LdH3N9QjGg4GYaojatQEVZCfpPXQSfBk1QWV6KHQsno37TQHh4edPQ7GsJ8PCqC2//xmSfwpwM2NzcMGjGEjIw29Exuz5DyoWTsFeU0xwXV1fUa9wCvk1aoXnXvrgcHYmU+OPwaxpsgMOJg1sZ11G3fiM8OmaqsSGc5lGcScRImsvjpXLz5Mc6QFK9SRckFZ2u0CgTVRC9bT38W7RD86798MOSl9Br8jy6scTDERg47W0U5eda8qh9H85Hi279ENRrOKlF9tWunl7wquNTxd2dCf8KiUd+xvgVW6sFiCWX2+ZPQLt+Y9Bp2CSTumNx3gCpsqwEh75YgVupSRgwZSF8Gj6M7QueRv+X3kKjoEdo3r6P3oR/y/b6OvEHv0NqQgwGvbyUr6sBNy6cQHH+TXj5NEDs7k1o3XM4gkIGi72gIW7fduRcu4QBLy0EJb6m6kHM7k2wV5ZzgGpQd+aqgxkk5eaJjzVewmGkcbEwiclvC0ji/aUj4bideQNdR72gA5SXdg2VFaXoMup5pMafwM3UJAEScOlwBMUp/xZtCRwGc4fB4+Hi7lklJjGALt8BIPag2/85ngB6ZNgk2Fl6JoHRk1OepNorSnDi+43oNGQi3GvXwY63nkbHwaHwbdySDHlqz2b4BDRDi679aHzyuSP0bINmLtNdErlWsev3rJmDoB5D0TpkiJ4Hxe3fjpyrDKBFhlQX40/u+ZyY99jYac4rHaL0Y+RlViYpOcc/0lg84DmMFSRNiAczSOz3nOuJOLX3Cwyc+g5+XDoVvZ6ei6sxh9CsS280e6Q3+X/mOkQtCClxx+Dt15gMIV/dx82AzcNL1P5ELU8BdICWb60xT2IAte03Bl2GTeKlNfZtQt2Z5TivwfGHtpeXYftbk+BZxxsurjz+lRTegouLO9xqedH7itJict2DZy23VAukbN+zejZa9xyGoJAhAjQVcfu2ITMpAT0nzuEMMhk97sAOev/Y36YbYsWs1pyIDHm/9DwMIMciqGNMcmSSWlmOmB8/R5cxL2D30ukEUEVJMRoFdYSXj58ex6Rr/HHJFLTuPQIdHh/HGUoBh1cmKM2UtTsFOB3xNS5G7UWvyXNrBOjw5jVoP+hJPDJ0Eq9v8QwIankZbqVd1eMtW75B00AaUckAmj8JA6YuREBgZ7qNyA/+iYat2qPz8KdpTvyBnUi9cAJDXlmhA/T7VytRdDOTxhfm5cDD0wtunl70nY9PfRvMLSbFRlXrkv2atUHIk9Or1vhMxVNr/c9IvpXsYx/yRFUoK6OaYBUOZpByU68AqkoPfPjr1egwOBT+zdvB3asOKafrpw9Xe7PmC6Pf/Ag+/g/rILG7OBPBRcKfeXUa/hQZlu1aCdKtrBTsWT7TMn3yqu8Bm41Ewvb5T6H7+Fnwa9mWEtPfNq+EX7PWaNPvCR5Hj/yErKQLGDJ7hb7jmQgoKbyN8uIC8hR+LdrCt0lLAr1t71EoK76N0qICQwRQwkupM4Hi4uYBr4d8q9bvzLJd5aDw5FhUzxkmWdEfWGS2Xuohl2cGSQFzeex6+KrZKC8urGLDRkGd0G3MFJSXFOrVbskUThRRFWeRRwEeatgUru7M1bC1xSaxV8JOUUUQTTDMGWA2mysUF1cyhoxB9soK5OdmUHBPOXsUpyO+AQOIjassL8G2NyfeEXufgKYY8sp7nN+mpPXSkQic+3k7gnsOQ4dBE3QXx3Ik8zgKWaoKmyl28RhjKks5Flxle8RSWlKhZB59XwfILKmN2poBkoxJbCcyc6YlxCB21yZ0HfMCmnbsAcXmAjcPL6RfPoPsKxd0kSBjEdlaGPyR4ZOhuLqJ9/yKDpIERZQP5JyaLMsA4Ume4e6Sjh/A0W0fYPLq76HYXGlnlhXlmXpJwIEN75B46TAoVDey4sKfQy8dCaNFrn+D8iDFpqD7uJlo3KYbyevYPV+IW5MKsuqdNu/cC+36/a1akMw1QTOQSuaR9XoMMgqlpqKp6PfIPImMKJgUtWkpclOuwLOuDx6fsRheD9WneHIuchuSTv6CgLZddUDkLRfmZpEknbBiK1zdatH4/PRrCF/3mlP7e9cPwOgFn6C8KB87Fz1XLUaj53N3ydydBOny8f2I3vYBnlkdBmb0suIi3e1IWXvgk7fh17IdOg2ZQM07msuCs2KDi7uH3kfKTIrH+QPfoSAnHQHBXZCWEIseobNQy8cPN5MT9QLr7Zx0JB6NRHDvEajN4rGQ6rV9/eHTsKnu5mQ7w9q64NUNngLxBqGSdXi9pon6izNJzZnEWSQZxkDKTbuC2LCNKLqVjWade1JWPWDqItp5cZHbkfHHWQybs4oeWM5jaF0//Tuit3+ICcu3kMxmdYW89OsIX/Mq2g0YS2pPVm5S4o6iICcDYxZ9ijIG0FuTEdRzKOo3DdKBYnMvRu3BEws/wUMMIPZ9wtAMIM6gMGiqHVv+EXpH9yYHMDc3bM5KIdXLsO/fC9B19POI3vY+WvcZCZvNBecPhmHIzCXwqltfNBftyLp6AYe3rEPf595AvYAWJqlulKB0d0ehytp3MtcEqcGX9fs6YpBKYcF53uMIkqraEbV5BZVvTn7/H3SfMBsp547BXlGKXpNfR/z+b5EYHYladX2ssQQKBeqy4kKMX7YFrmyHKgry0pIRsXYuhsxahoatOtAclUnu3V+C1fHMAPV9/g0069pPXzftYiwOfvw/OkCSPiwm/XF8P44wgNaEwabYkJp4Rs/QMxLP0drsVbueP7KvJuDRv09DLZY8s0Ta3RP1m7am30+Hf4X8zGT0fe5N7Fo+HcF9RqF1r+GIP/g92vcfi4riIoo5zNzZyZdwbOcn6DlxNnwaGYxx96zNXbCpbV5tYVXEMGJf5m9r9XYDM4pjziMluAGSgviDO3E7Jw2P/v1lhK98BSETXqGyx6+fLsagGYtxOfpnpF6IwaNPzjB1Z3mcyfgjDud/CcP4Zd+QEdiLsSBi7WsEkF/L9rrsjt3zJVLORWPsgo0oLblNDOrDAOrSVy/cOgVI+LikY/sIoGfW/IDiwnx4efvS95UX3caeVXMQEjoTcZFb0TCwI+30W+nXMHAqSzZFJ1YDbmelImL9PCr91GvSEruWTRMAjdDdYfiqOSgtzK+WnS6ubhj52nrh7v4cSBI8JfO3NcQgHtENpVadu8vPTEXUl8sw4MW3UateA1J0IeNnoXHbv9KDs3gUv28HUs4fR6ehTxlNQHH72dcvEYChS78WALEYdB0R617DkJlL4d+qPTWqWEno1B7BoAUbae1vF5oA4r4T1QLECqbH9uPo1vcxat5aHPj0XTwx/yN41qqLqC/+BXtlJfpPWYif1s5Do8CO6DB4HHa/NxvBfUaiXf+xoiIAqgKc3PU5HqM8RsWPS6chuO9IBPcaqbsvBixTj0yosELqmcgt6DryWdT1CxCMVShJ143uhEnVsUnJiFot8iB5MIS7O+YSLO0FcepHtVcgIWo3Og4aj8qyUuxdM4cACmjTDTaqSADn9+/AlZMH4dO4uV6r5vgoFEsKstMRuoQBJFxc+nUqsDJ/zhjE4h2LQ2f2bkZyXDSeWMgB2mkCiK8GpF06VdXFic0gAWJVgoDATug+fiaOffsxMpPOY8TcNajj2xAR6+ahUauO6DL6WaRePEXg8RrfRHFqBVDtlXRWg71+WDqFGNSmNwfIKNHwclDOlfOI+noV+r/wFnybsBhklepWkIz51QKUdmiVxnarHsjZY9sEk6qNSbzzWlFaivC1ryIkdBYC2nbjECgKzu//Fkz1DJ65zDgpJNZKPnMYx3b+G6HvfsVFggLkZSQTQKwA61G7rsQSeenJ9NBjF2xASXEBvls4GQ2aBqGWT33dnZQW5CH76kVrDBJXf9+8Etdif0P7gU8i6LHH8eumFVS4ZG7Y268JjQpfOxeNAjuhyyimEFXcuBBDyWuTtt2odMNKQuYjXAygNn1HI7j3KGj2SpSVFOkgsF2Vc/0Sond8iF6T5sI3oLnRR9I0KifxJNTo3MojXTrQDqArqb+uJAZJkOTulV1WI7k04pOMS4xB7AFDxs3kAAmgJUCsIizleUl+DrKvXcTlo5Gk/MYu+Aw2F97iyGcArWcAtYVHHd4GYPxgsYk90ZgFG1DGGLToGQKIVZUpJwNQdjsPWVcTnAKU8OsPVJIJ7DGU+kwxYZ9i8IzF8PTmWT1bQgdo9PPCHanEpNN7v8KgmUvg7lGb50cikQxb8hIB1KbPE8jPTkHkujeqjT2OF0bNWwdXD0+HGl/V41xmNilpv7xHh0bMIIlEhx90M1W0JUMkaPZyBtA8hIx7mZI2niMpSPg1DFlJ5zFg2juivWRDaWEeDn22hNoMrNDY8tGBOuOK8rKpjM+SVyZvZbnpSswvuHntEh4LnQXWOji8ZQ3aDxwH/5bteGnHpiD3xh84G7GV3JdXPb8ajaVVlMPFxY0Hd5Hv7PtoPhq16kDtBqPIqkK126mpyI0ldj007F39Klr3GIrA7kNJkfKisNnI4hZMvR2Z8Po1C+bu26GKYHRleYnHAlDqL+8Rg6gNYALqz4Kkqzt2iIR9ucldciDFulTekTLe6MpK0GXLw7Fwy6/zmCR7SfQdIgbJ06syJpnKF87B0jRegjGBJM87kOHogii98jc6SDKp5EOsByf5NfOhRlHZsLgs3ja3nlLl7o5LcGtMIpanHvyXXkmQIFlikpOzCrL0YpSG5GFH3rYgozn2koSh+eeOAoTnYHQIRT++JUxuOorsCNLdnm9ghpAgWY9zCcP/tyCZThc5npUz95I4M6jmXgWM6s43KDcOrDCdzWZM4n0hAyRe2JRS3CimVo1J8mSqLturgGSIEWeHUAgcAolZiIF4Z5DkEMkc8/mGmv2dGSSe5etnyh3aztYip9G8k2zTXZJ+VMt8+seRSeZjyLJybWrSibqfYFM6AWR1M7xoSVwwHWJ0BpIhwzmIfLyLUG7isLwzkETrnI83uTt5WtXp0WM5zrm745uCQ0LsYG5b+q7qkPqvmCTijMNxLou7oyEOlW3huqxMMkAyg08uzdTAg4ZtSsr+5UY/yOTOZBPNDBK7LIWAnshyZEx/BcFBMup2ojlnERsKVYS5GHCSb5GVq7o764ao2vCThVwJkqy+18Sk6k+vioBNBzRkTDLOOzCcVNHDkZVog0nVuTAT++RfXDi0IUx5Uq4nPDsryfuWiXYDdydGYZMb3mCS1dVZY4ycK4UAd0+cTWInV8ckPcaYmSTcnP7nLqLgavqrCuaQ+HFla1fWEaQ/w6SaQTIq3PLUqmQNT2rMgsHIcaqPM6IZJ5ty5hOuXLikQ1MPedrd/+HVfeoN5eiGFzcAmFbdLus5fdOdHEWNrv7BxXuzgHL+23fc82+lHAK0Hs6WegDQvRn4XmcTO2I2TAsohz0W0AIcF3wA0L2a+N7m6+7r+Ocv9lDtOKRp4OeRxOsBQPdm4HudbYkvxz6dMk1VVRaTHgB0r5a9T/OrCABH0fCAQffJ0ne5TBWAHEXDA4Du0rL3aZpTCW0WDQ8Auk+Wvstlqs1xpGjoMW2Tx12u/WDafbBAjUkoEw3dp3628T58z4Ml7tIC/wuyLDr7JEtoSQAAAABJRU5ErkJggg==",x="data:image/png;base64,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",te="data:image/png;base64,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",ae=oe(59301);const ie=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:_e,swimg:dt},{name:"101\u8BA1\u5212",ptimg:it,swimg:et},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:Xe,swimg:se},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:y,swimg:a},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:E,swimg:b},{name:"\u519B\u961F\u4E00\u6D41",ptimg:x,swimg:te}];var de=({className:fe,dataSource:Be=[],col:Pe=4,right:We,bottom:ve=23,precision:Ue=0,wrapWidth:Bt=1200,trackEventItems:Tt,loading:Ye,onRemove:ft=()=>{},isCurrent:Ft=!0,showAlias:Jt=!1})=>{const Rt=Math.floor((Bt-(Pe-1)*We)/Pe),bt=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:"/images/tjzx.png",swimg:"/images/sw_tjzx.png"},{name:"101\u8BA1\u5212",ptimg:"/images/jh.png",swimg:"/images/sw_jh.png"},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:"/images/gjyl.png",swimg:"/images/sw_gjyl.png"},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:"/images/sjyl.png",swimg:"/images/sw_sjyl.png"},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:"/images/jpkc.png",swimg:"/images/sw_jpkc.png"},{name:"\u519B\u961F\u4E00\u6D41",ptimg:"/images/jdyl.png",swimg:"/images/sw_jdyl.png"},{name:"\u65B0\u578B\u6559\u6750",ptimg:"/images/xxjc.png",swimg:"/images/sw_xxjc.png"}].map(Te=>(window.ENV==="build"&&(Te.ptimg=`/react/build${Te.ptimg}`,Te.swimg=`/react/build${Te.swimg}`),Te));return ae.createElement(pe.Z,{spinning:Ye},ae.createElement("div",{className:Oe()(ne.list,fe)},!!(Be!=null&&Be.length)&&(Be==null?void 0:Be.map((Te,lt)=>{var Lt;const{name:De,id:tt,identifier:Dt,featured:nn,school_name:vt,image_url:Vt,excellent:Fe,is_plan:st}=Te;return ae.createElement("div",{key:tt,className:ne.wrap,style:{width:Rt,marginRight:(1+lt)%Pe===0?0:We+Ue,marginBottom:ve}},ae.createElement("a",{className:ne.li,onClick:yt=>{yt.preventDefault(),yt.stopPropagation(),Tt&&(0,Re.L9)([Tt]),(0,Re.xg)(`/paths/${Dt}`)}},ae.createElement("div",{className:ne.img},ae.createElement("img",{className:ne.cover,src:`${Vt}`}),Ft&&(0,qe.bg)()&&(Te==null?void 0:Te.studying)&&ae.createElement("div",{className:`${ne.movebq} user-path-items`,onClick:yt=>{yt.stopPropagation(),ft(Te)}},ae.createElement("i",{className:"iconfont icon-yichu1 mr5 c-red"}),ae.createElement("span",{className:"c-red"},"\u79FB\u9664")),(Lt=Te==null?void 0:Te.subject_tags)==null?void 0:Lt.map((yt,an)=>{var Wt,Ke;if(an===0){const we=(Wt=bt.find(me=>me.name==yt))==null?void 0:Wt.swimg;return ae.createElement("img",{className:ne.sign,src:we,style:{left:"-4px"}})}const Ve=(Ke=bt.find(we=>we.name==yt))==null?void 0:Ke.ptimg;return ae.createElement("img",{className:ne.sign,src:Ve,style:{left:`${48+52*(an-1)+2*an}px`}})}),ae.createElement("div",{style:{position:"absolute",top:"150px",left:"4px"}},(Te==null?void 0:Te.excellent)&&ae.createElement("div",{className:ne.bq},"\u5F00\u653E\u8BFE\u7A0B"))),ae.createElement("div",{className:ne.name},ae.createElement(Je.Z,{title:Jt&&(Te!=null&&Te.excellent_alias_name)?ae.createElement("span",null,`\u8BFE\u7A0B\u539F\u540D\uFF1A${De}`,ae.createElement("br",null),ae.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${Te==null?void 0:Te.excellent_alias_name}`)):De},ae.createElement("span",{className:ne.e},Jt&&(Te==null?void 0:Te.excellent_alias_name)||De))),ae.createElement("div",{className:ne.tags},ae.createElement("div",null,ae.createElement(Je.Z,{placement:"bottom",title:"\u7AE0\u8282\u6570"},ae.createElement("span",null,ae.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),ae.createElement("span",null,Te.stages_count))),ae.createElement(Je.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},ae.createElement("span",null,ae.createElement("i",{className:"iconfont icon-chengyuan font14 mr3"}),ae.createElement("span",null,Te.members_count)))))))})),!Be.length&&ae.createElement(be.Z,null)))}},29458:function(wt,Mt,oe){"use strict";oe.d(Mt,{jL:function(){return Oe},w9:function(){return Te},QD:function(){return Ot},cQ:function(){return ft.Z},op:function(){return Ce},O5:function(){return Ca},_b:function(){return on},t7:function(){return b},Gi:function(){return nn},YG:function(){return tt},qp:function(){return it},vr:function(){return At},qE:function(){return ht},Je:function(){return ae},wb:function(){return Ye},cq:function(){return an},tp:function(){return se}});var ne=oe(59301),pe={flex_box_center:"flex_box_center___NeSU8",flex_space_between:"flex_space_between___ImTGl",flex_box_vertical_center:"flex_box_vertical_center___BtRd9",flex_box_center_end:"flex_box_center_end___qcLe3",flex_box_column:"flex_box_column___Ze_3q",banner:"banner___PoUBO",content:"content___XoDjy",btns:"btns___Pb35j"},Je="data:image/png;base64,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",Oe=({dataSource:ln=[],img:gn,imgWidth:An=346,title:Sn,sunTitle:Fn,bannerExtraContent:Kn})=>ne.createElement("div",{className:pe.banner},ne.createElement("div",{className:pe.content},ne.createElement("aside",null,ne.createElement("p",null,ne.createElement("b",null,Sn),ne.createElement("span",null,Fn)),ln.length>0&&ne.createElement("div",{className:pe.btns},ln.map((Rn,at)=>ne.createElement("div",{key:at,onClick:Rn.click},Rn.name,Rn.sign?ne.createElement("img",{src:Je,width:39}):null))),Kn),gn&&ne.createElement("img",{style:{marginTop:33,marginRight:38},src:gn,width:An}))),Re={flex_box_center:"flex_box_center___hG6RI",flex_space_between:"flex_space_between___ss3Fh",flex_box_vertical_center:"flex_box_vertical_center___K80p9",flex_box_center_end:"flex_box_center_end___qmXX3",flex_box_column:"flex_box_column___GFV8F",row:"row___aXJjm",title:"title___HUKL0",tagsWrap:"tagsWrap___XB2W3",action:"action___VdHb1",bar:"bar___t1kKC",tag:"tag___V7Eft",name:"name___Hk1Ip",num:"num___xQpcH",active:"active___XryTX",tagsBorderWrap:"tagsBorderWrap___OMxjs"},be=oe(92310),qe=oe.n(be),_e=oe(89392),it=({dataSource:ln=[],value:gn,onChange:An,onTitleChange:Sn,className:Fn,title:Kn,titleWidth:Rn=41,style:at={},fontColor:mt="#6A7283",showCount:ut})=>{const[Yt,un]=(0,ne.useState)(0),[rn,Xn]=(0,ne.useState)(!1),kn=(0,ne.useRef)(null),pn=(0,ne.useRef)(null);return(0,ne.useEffect)(()=>{var Vn;ln.length!==0&&(((Vn=kn==null?void 0:kn.current)==null?void 0:Vn.clientHeight)>97?un(1):un(0)),ln.length===0&&un(0),Xn(!1)},[ln]),ne.createElement("div",{className:qe()(Re.row,Fn),style:at},ne.createElement("div",{onClick:(0,_e.throttle)(()=>Sn==null?void 0:Sn(),2e3),style:{width:Rn,marginTop:rn?12:4},className:`${Re.title} ${Sn?"current":""}`},Kn),ne.createElement("div",{className:rn?`${Re.tagsWrap} ${Re.tagsBorderWrap}`:Re.tagsWrap},ne.createElement("div",{className:Re.bar,ref:pn,style:Yt>0?{height:Yt===1?97:"auto",overflow:Yt===1?"hidden":"auto",paddingRight:55}:{paddingRight:0}},ne.createElement("div",{className:Re.tag,ref:kn},ln==null?void 0:ln.map(Vn=>ne.createElement("span",{onClick:()=>An(Vn.id),key:Vn.id,style:{color:mt},className:gn===Vn.id?Re.active:""},ne.createElement("span",{title:Vn.name,className:Re.name},Vn.name),!!ut&&ne.createElement("span",{className:Re.num},Vn.count))))),!!Yt&&ne.createElement(ne.Fragment,null,Yt===1?ne.createElement("div",{onClick:()=>{var Vn;un(2),((Vn=kn==null?void 0:kn.current)==null?void 0:Vn.clientHeight)>245?Xn(!0):Xn(!1)},className:Re.action},"\u5C55\u5F00",ne.createElement("i",{style:{transform:"translateY(1px) scale(0.6)"},className:"iconfont icon-zhankai4"})):ne.createElement("div",{onClick:()=>{pn.current.scrollTop=0,un(1),Xn(!1)},className:Re.action},"\u6536\u8D77",ne.createElement("i",{style:{transform:"translateY(0px) scale(0.6)"},className:"iconfont icon-shouqi3"})))))},et={flex_box_center:"flex_box_center___aK2n3",flex_space_between:"flex_space_between___HX0Oh",flex_box_vertical_center:"flex_box_vertical_center___LJOJr",flex_box_center_end:"flex_box_center_end___SCakF",flex_box_column:"flex_box_column___AYv4m",tabs:"tabs___GTqPV",active:"active___F26E8"},se=({dataSource:ln=[],value:gn,onChange:An,className:Sn,style:Fn={}})=>ne.createElement("div",{style:Fn,className:qe()(et.tabs,Sn)},ln.map(Kn=>ne.createElement("span",{onClick:()=>An(Kn.id),className:gn===Kn.id?et.active:"",key:Kn.id},Kn.name))),y={flex_box_center:"flex_box_center___yX6Oa",flex_space_between:"flex_space_between___t7oqF",flex_box_vertical_center:"flex_box_vertical_center___dEIHy",flex_box_center_end:"flex_box_center_end___taQDF",flex_box_column:"flex_box_column___xY_Lr",input:"input___PW2zI",dropdown:"dropdown___vSy8B",menu:"menu___NiyBu",text:"text___Grueu",b1:"b1___ZKryM",b2:"b2___aKyGa"},a=oe(92832),b=({dataSource:ln=[],value:gn="",onChange:An,onInputChange:Sn=()=>{},className:Fn,style:Kn={},placeholder:Rn,allowClear:at=!1})=>{var mt;const[ut,Yt]=(0,ne.useState)(""),[un,rn]=(0,ne.useState)("");(0,ne.useEffect)(()=>{var pn;let Vn=gn;(pn=JSON.stringify(gn))!=null&&pn.includes("{")&&(Yt(gn.id),Vn=gn.value||"");try{rn(decodeURIComponent(Vn||""))}catch(_t){rn(decodeURIComponent(Vn||""))}},[gn]);const Xn=()=>{An(encodeURIComponent(un),ut||null)},kn=pn=>{pn!==ut&&(Yt(pn),An(encodeURIComponent(un),pn))};return ne.createElement("div",{className:qe()(y.input,Fn),style:Kn},!!ln.length&&ne.createElement("div",{className:y.dropdown},ne.createElement("div",{className:y.text},(mt=ln.find(pn=>pn.id===ut))==null?void 0:mt.name,ne.createElement("i",{className:"iconfont icon-zhankai4"}),ne.createElement("b",{className:y.b1}),ne.createElement("b",{className:y.b2})),ne.createElement("div",{className:y.menu},ln.map((pn,Vn)=>ne.createElement("div",{key:Vn,onClick:()=>kn(pn.id)},pn.name)))),ne.createElement(a.default,{onPressEnter:Xn,value:un,onChange:pn=>{rn(pn.target.value),Sn(encodeURIComponent(pn.target.value),ut||null)},bordered:!1,placeholder:Rn}),ne.createElement("i",{onClick:Xn,className:"iconfont icon-sousuo9 font14 pl10 current"}))},x={flex_box_center:"flex_box_center___tol8o",flex_space_between:"flex_space_between___Z235C",flex_box_vertical_center:"flex_box_vertical_center___Wq1sZ",flex_box_center_end:"flex_box_center_end___LLxom",flex_box_column:"flex_box_column___DbMSN",quickPager:"quickPager___GM30J",disabled:"disabled___Ozc8I"},ae=({value:ln,onChange:gn,className:An,total:Sn,pageSize:Fn,style:Kn={}})=>{const Rn=ln<2,at=ln>=Math.ceil(Sn/Fn);return Sn<=Fn?ne.createElement(ne.Fragment,null):ne.createElement("div",{className:qe()(x.quickPager,An),style:Kn},ne.createElement("div",{onClick:()=>{Rn||gn(ln-1,"prev")},className:Rn?x.disabled:""},"\u4E0A\u4E00\u9875"),ne.createElement("div",{onClick:()=>{at||gn(ln+1,"next")},className:at?x.disabled:""},"\u4E0B\u4E00\u9875"))},ie={flex_box_center:"flex_box_center___FO7TP",flex_space_between:"flex_space_between___LotYx",flex_box_vertical_center:"flex_box_vertical_center___bWdaw",flex_box_center_end:"flex_box_center_end___mVJ1o",flex_box_column:"flex_box_column___M83Mm",list:"list___oOsiS",wrap:"wrap___G6T7F",lockWrap:"lockWrap___Rl79E",li:"li___oZZ7l",cover:"cover___b2bYW",img:"img___IQX7w",sign:"sign___HkT6C",name:"name___SsJx8",e:"e___TMqq0",tags:"tags___bcjyo",rate:"rate___YACg7"},ue=oe(71418),de=oe(6848),fe=oe(13570),Be=oe(3294),Pe=oe(955),We=oe(96908),ve=oe(57177),Ue=oe(81378),Bt=oe(8797),Ye=({className:ln,dataSource:gn=[],col:An=4,right:Sn,bottom:Fn=23,precision:Kn=0,wrapWidth:Rn=1200,trackEventItems:at,loading:mt})=>{const ut=Math.floor((Rn-(An-1)*Sn)/An);return ne.createElement(ue.Z,{spinning:mt},ne.createElement("div",{className:qe()(ie.list,ln)},!!gn.length&&gn.map((Yt,un)=>{const{name:rn,id:Xn,identifier:kn,power:pn,cover_image_id:Vn,pic:_t}=Yt;return ne.createElement("div",{className:ie.wrap,key:Xn,style:{width:ut,marginRight:(1+un)%An===0?0:Sn+Kn,marginBottom:Fn}},ne.createElement("a",{target:"_blank",href:`/shixuns/${kn}/challenges`,className:ie.li,onClick:ye=>{ye.preventDefault(),at&&(0,Pe.L9)([at]),pn&&(0,Pe.xg)(`/shixuns/${kn}/challenges`)}},ne.createElement("div",{className:ie.img},ne.createElement("img",{className:ie.cover,src:`${_t}`}),Yt.is_jupyter&&ne.createElement("img",{className:ie.sign,src:We}),Yt.is_jupyter_lab&&ne.createElement("img",{className:ie.sign,src:ve}),Yt.is_unity_3d&&ne.createElement("img",{className:ie.sign,src:Ue})),ne.createElement("div",{className:ie.name},ne.createElement(de.Z,{title:rn||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},ne.createElement("span",{className:ie.e},rn||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),ne.createElement("div",{className:ie.tags},ne.createElement(de.Z,{placement:"bottom",title:"\u5173\u5361\u6570"},ne.createElement("span",null,ne.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),ne.createElement("span",null,Yt.challenges_count))),!!Yt.myshixuns_count&&ne.createElement(de.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},ne.createElement("span",null,ne.createElement("i",{className:"iconfont icon-chengyuan font14 mr2"}),ne.createElement("span",null,Yt.myshixuns_count))),ne.createElement(de.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},ne.createElement("span",null,ne.createElement("span",null,Yt.level))),ne.createElement("div",{className:ie.rate},ne.createElement(fe.Z,{allowHalf:!0,disabled:!0,defaultValue:Yt.score_info}),ne.createElement("span",null,"\xA0",Yt.score_info?`${Yt.score_info}\u5206`:"5\u5206")))),!pn&&ne.createElement("div",{className:ie.lockWrap},ne.createElement("img",{src:`${Be.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),ne.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!gn.length&&ne.createElement(Bt.Z,null)))},ft=oe(33847),Ft={flex_box_center:"flex_box_center___eMcr7",flex_space_between:"flex_space_between___HcNca",flex_box_vertical_center:"flex_box_vertical_center___ZnvVN",flex_box_center_end:"flex_box_center_end___fdgDf",flex_box_column:"flex_box_column___SEKvd",list:"list___L1hmU",wrap:"wrap___pKgcW",lockWrap:"lockWrap___SMhkK",top:"top___udHSB",sign:"sign___uwRpq",name:"name___Fpf90",img:"img___AMLhL",text:"text___KiTb7",btns:"btns___i6IuZ",bottom:"bottom____k2sh"},Jt="data:image/png;base64,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",Rt=oe(59301),Te=({className:ln,dataSource:gn=[],col:An=4,right:Sn,bottom:Fn=23,precision:Kn=0,wrapWidth:Rn=1200,trackEventItems:at,loading:mt})=>{const ut=Math.floor((Rn-(An-1)*Sn)/An);return Rt.createElement(ue.Z,{spinning:mt},Rt.createElement("div",{className:qe()(Ft.list,ln)},!!gn.length&&gn.map((Yt,un)=>{const{subject_identifier:rn,id:Xn,identifier:kn,power:pn}=Yt,Vn=Yt.is_public!=0&&Yt.is_public;return Rt.createElement("div",{className:Ft.wrap,key:Xn,style:{width:ut,marginRight:(1+un)%An===0?0:Sn+Kn,marginBottom:Fn}},Rt.createElement("a",{className:Ft.li,onClick:_t=>{_t.preventDefault(),at&&(0,Pe.L9)([at]),(0,Pe.xg)(Yt.first_category_url)}},Rt.createElement("div",{className:Ft.top},Rt.createElement(de.Z,{title:Yt.name},Rt.createElement("div",{className:Ft.name},Yt.name)),Rt.createElement("img",{className:Ft.img,src:Be.Z.IMG_SERVER+"/images/"+Yt.avatar_url}),Rt.createElement("div",{className:Ft.text,title:Yt.creator},Yt.creator),rn&&Rt.createElement("div",{className:Ft.btns},Rt.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),Rt.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802")),Vn&&Rt.createElement("div",{className:Ft.sign},"\u516C\u5F00")),Rt.createElement("div",{className:Ft.bottom},Yt.visits>0&&Rt.createElement(de.Z,{title:"\u8BBF\u95EE\u91CF",placement:"bottom"},Rt.createElement("span",null,Rt.createElement("i",{className:"iconfont icon-liulanyan"}),Rt.createElement("span",null,Yt.visits))),Yt.course_members_count>0&&Rt.createElement(de.Z,{title:"\u6210\u5458",placement:"bottom"},Rt.createElement("span",null,Rt.createElement("i",{className:"iconfont icon-chengyuan"}),Yt.course_members_count)),Yt.tasks_count>0&&Rt.createElement(de.Z,{title:"\u4F5C\u4E1A",placement:"bottom"},Rt.createElement("span",null,Rt.createElement("i",{className:"iconfont icon-zuoye"}),Yt.tasks_count)),Yt.is_end?Rt.createElement("div",{style:{color:"#6B758B"}},"\u5DF2\u7ED3\u675F"):Rt.createElement("div",{style:{color:"#00B187"}},"\u8FDB\u884C\u4E2D"))),!Yt.is_accessible&&Rt.createElement("div",{className:Ft.lockWrap},Rt.createElement("img",{src:`${Be.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),Rt.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!gn.length&&Rt.createElement(Bt.Z,null)))},lt={flex_box_center:"flex_box_center___d27mZ",flex_space_between:"flex_space_between___qfRU9",flex_box_vertical_center:"flex_box_vertical_center___fCRld",flex_box_center_end:"flex_box_center_end___ORMV8",flex_box_column:"flex_box_column___PNKtZ",tabs:"tabs___alpa7",tabsWrap:"tabsWrap___aCQjw",tab:"tab___MKLr4",active:"active___nl_4v"},Lt=oe(89070),tt=({dataSource:ln=[],value:gn,onChange:An,className:Sn,style:Fn={},tabBarExtraContent:Kn})=>ne.createElement("div",{className:qe()(lt.tabs,Sn),style:Fn},ne.createElement("div",{className:lt.tabsWrap},ln.map((Rn,at)=>ne.createElement("aside",{className:lt.tab,onClick:()=>{An(Rn.id),Rn.link&&Lt.history.push(Rn.link)},key:at},ne.createElement("div",{className:gn===Rn.id?lt.active:""},Rn.name),(Rn==null?void 0:Rn.resetCount)==null&&(Rn==null?void 0:Rn.total)!==void 0&&ne.createElement("span",null,"\uFF08",Rn==null?void 0:Rn.total,"\uFF09"),(Rn==null?void 0:Rn.resetCount)!==void 0&&(Rn==null?void 0:Rn.total)!==void 0&&ne.createElement(de.Z,{title:(Rn==null?void 0:Rn.tip)!=null?Rn==null?void 0:Rn.tip:""},ne.createElement("span",{style:{color:"#9096A3"}},"\uFF08",ne.createElement("span",{style:{color:"#000"}},Rn==null?void 0:Rn.resetCount),"/",ne.createElement("span",null,Rn==null?void 0:Rn.total),"\uFF09"))))),ne.createElement("div",{className:lt.tabBar},Kn)),nn=({className:ln,style:gn={},children:An})=>ne.createElement("div",{className:qe()(ln),style:gn},An),vt={flex_box_center:"flex_box_center___e6HxQ",flex_space_between:"flex_space_between___RnXYe",flex_box_vertical_center:"flex_box_vertical_center___lVxPk",flex_box_center_end:"flex_box_center_end___bu8yv",flex_box_column:"flex_box_column___JczGj",orderWrap:"orderWrap___ZfyGX",orderIconWrap:"orderIconWrap___XTB_O",orderAsc:"orderAsc___KWHmA",orderDesc:"orderDesc___rHdbB",active:"active___a7eSP",cursorPointer:"cursorPointer___gs9kL",orderTextWrap:"orderTextWrap___teAKn"},Vt=oe(38854),Fe=oe(20834);const st=[{id:"updated_at",name:"\u6700\u65B0\u52A8\u6001"},{id:"created_at",name:"\u6700\u65B0\u521B\u5EFA"},{id:"name",name:"\u540D\u79F0\u6392\u5E8F"}];var an=({sortValue:ln,dropValue:gn,className:An,onSort:Sn,onDrop:Fn,dataSource:Kn=st})=>{var Rn;return ne.createElement("div",{className:qe()(vt.orderWrap,An)},ne.createElement(Vt.Z,{dropdownRender:()=>ne.createElement(Fe.default,null,Kn.map((at,mt)=>ne.createElement(Fe.default.Item,{key:mt,onClick:()=>Fn(at.id)},at.name)))},ne.createElement("span",{className:vt.orderTextWrap},(Rn=Kn.find(at=>gn===at.id))==null?void 0:Rn.name)),ne.createElement("span",{className:vt.orderIconWrap},ne.createElement("span",{className:vt.orderAsc},ne.createElement("i",{className:ln==="asc"?`iconfont icon-sanjiaoxing-up font12 ${vt.cursorPointer} ${vt.active}`:`iconfont icon-sanjiaoxing-up font12 ${vt.cursorPointer}`,onClick:()=>Sn(ln==="asc"?"desc":"asc")})),ne.createElement("span",{className:vt.orderDesc},ne.createElement("i",{className:ln==="desc"?`iconfont icon-sanjiaoxing-down font12 ${vt.cursorPointer} ${vt.active}`:`iconfont icon-sanjiaoxing-down font12 ${vt.cursorPointer}`,onClick:()=>Sn(ln==="asc"?"desc":"asc")}))))},Wt={flex_box_center:"flex_box_center___LCi0B",flex_space_between:"flex_space_between___hzONe",flex_box_vertical_center:"flex_box_vertical_center___ZyQRE",flex_box_center_end:"flex_box_center_end___XKM74",flex_box_column:"flex_box_column___p8LCU",btn:"btn___In02G","mediacy-round":"mediacy-round___uveEv","mediacy-default":"mediacy-default___dDxsd",default:"default___K791v"},Ke=oe(3113),Ve=Object.defineProperty,we=Object.getOwnPropertySymbols,me=Object.prototype.hasOwnProperty,Ge=Object.prototype.propertyIsEnumerable,ze=(ln,gn,An)=>gn in ln?Ve(ln,gn,{enumerable:!0,configurable:!0,writable:!0,value:An}):ln[gn]=An,Ee=(ln,gn)=>{for(var An in gn||(gn={}))me.call(gn,An)&&ze(ln,An,gn[An]);if(we)for(var An of we(gn))Ge.call(gn,An)&&ze(ln,An,gn[An]);return ln},Se=(ln,gn)=>{var An={};for(var Sn in ln)me.call(ln,Sn)&&gn.indexOf(Sn)<0&&(An[Sn]=ln[Sn]);if(ln!=null&&we)for(var Sn of we(ln))gn.indexOf(Sn)<0&&Ge.call(ln,Sn)&&(An[Sn]=ln[Sn]);return An},nt=(ln,gn,An)=>new Promise((Sn,Fn)=>{var Kn=mt=>{try{at(An.next(mt))}catch(ut){Fn(ut)}},Rn=mt=>{try{at(An.throw(mt))}catch(ut){Fn(ut)}},at=mt=>mt.done?Sn(mt.value):Promise.resolve(mt.value).then(Kn,Rn);at((An=An.apply(ln,gn)).next())}),Ce=ln=>{var gn=ln,{className:An,style:Sn,children:Fn,loading:Kn=!1,openLoading:Rn,onClick:at=()=>{},size:mt="middle",shape:ut="round"}=gn,Yt=Se(gn,["className","style","children","loading","openLoading","onClick","size","shape"]);const[un,rn]=(0,ne.useState)(!1);return ne.createElement(Ke.ZP,Ee({onClick:(0,_e.throttle)(Xn=>nt(void 0,null,function*(){Rn&&rn(!0);try{yield at(Xn)}catch(kn){console.log("error",kn)}Rn&&rn(!1)}),2e3,{leading:!0,trailing:!1}),className:qe()(Wt.btn,Wt[`${mt}-${ut}`],An),style:Sn,size:mt,shape:ut,loading:un||Kn},Yt),Fn)},ke={flex_box_center:"flex_box_center___TB7bQ",flex_space_between:"flex_space_between___oBlTb",flex_box_vertical_center:"flex_box_vertical_center___b5XbB",flex_box_center_end:"flex_box_center_end___CNhe7",flex_box_column:"flex_box_column___yHXKW",head:"head___ghH72",node:"node___mjPEy"},ht=({className:ln,style:gn,children:An=null,onClick:Sn,title:Fn})=>ne.createElement("div",{className:qe()(ke.head,ln),style:gn},ne.createElement("span",{className:"primary-hover",onClick:Sn},ne.createElement("i",{className:"iconfont icon-fanhui2 font12"}),"\u8FD4\u56DE"),ne.createElement("b",{title:Fn},Fn),ne.createElement("div",{className:ke.node},An)),zt={flex_box_center:"flex_box_center___AlHuF",flex_space_between:"flex_space_between___vN2LW",flex_box_vertical_center:"flex_box_vertical_center___Ac7D2",flex_box_center_end:"flex_box_center_end___y38I7",flex_box_column:"flex_box_column___iQE6P",btns:"btns___sNgTb",confirm:"confirm___Ozirl",cancel:"cancel___aiq1I"},Ot=({confirmShow:ln=!0,confirmTitle:gn,confirmClick:An,cancelShow:Sn=!0,cancelTitle:Fn,cancelClick:Kn,className:Rn,style:at,confirmLoading:mt=!1})=>ne.createElement("div",{className:qe()(zt.btns,Rn),style:at},ln&&ne.createElement(Ke.ZP,{loading:mt,onClick:An,type:"primary",className:zt.confirm},gn),Sn&&ne.createElement(Ke.ZP,{onClick:Kn,className:zt.cancel},Fn)),Le={flex_box_center:"flex_box_center___jkpdr",flex_space_between:"flex_space_between___OtsL8",flex_box_vertical_center:"flex_box_vertical_center___rbcb_",flex_box_center_end:"flex_box_center_end___zBR21",flex_box_column:"flex_box_column___nS_eP",fixedBottom:"fixedBottom___oJl7m",wrap:"wrap___A3Oq1",center:"center____VL1y"},At=({className:ln,style:gn={},LeftContent:An,children:Sn,RightContent:Fn})=>ne.createElement("div",{className:qe()(Le.fixedBottom,ln),style:gn},ne.createElement("div",{className:Le.wrap},ne.createElement("div",{className:Le.left},An),ne.createElement("div",{className:Le.center},Sn),ne.createElement("div",{className:Le.right},Fn))),gt={flex_box_center:"flex_box_center___tY8Yn",flex_space_between:"flex_space_between___vHdYA",flex_box_vertical_center:"flex_box_vertical_center___pa61F",flex_box_center_end:"flex_box_center_end___HyDXt",flex_box_column:"flex_box_column___UjZek",crumbs:"crumbs___V41Oe",hover:"hover___bEIVd"},on=({className:ln,style:gn={},dataSource:An=[]})=>ne.createElement("div",{className:qe()(gt.crumbs,ln),style:gn},An.map((Sn,Fn)=>FnLt.history.push(Sn.path)},Sn.name):ne.createElement("span",null,Sn.name),ne.createElement("span",null,"\xA0",">","\xA0")):ne.createElement("span",{key:Fn,style:{color:"#5F6368"}},Sn.name))),mn=oe(31797),dn=Object.defineProperty,vn=Object.defineProperties,Wn=Object.getOwnPropertyDescriptors,fn=Object.getOwnPropertySymbols,Zn=Object.prototype.hasOwnProperty,$n=Object.prototype.propertyIsEnumerable,ta=(ln,gn,An)=>gn in ln?dn(ln,gn,{enumerable:!0,configurable:!0,writable:!0,value:An}):ln[gn]=An,Mn=(ln,gn)=>{for(var An in gn||(gn={}))Zn.call(gn,An)&&ta(ln,An,gn[An]);if(fn)for(var An of fn(gn))$n.call(gn,An)&&ta(ln,An,gn[An]);return ln},ua=(ln,gn)=>vn(ln,Wn(gn)),Qn=(ln,gn)=>{var An={};for(var Sn in ln)Zn.call(ln,Sn)&&gn.indexOf(Sn)<0&&(An[Sn]=ln[Sn]);if(ln!=null&&fn)for(var Sn of fn(ln))gn.indexOf(Sn)<0&&$n.call(ln,Sn)&&(An[Sn]=ln[Sn]);return An};const{Countdown:Yn}=mn.default;var Ca=ln=>{var gn=ln,{onChange:An}=gn,Sn=Qn(gn,["onChange"]);const[Fn,Kn]=(0,ne.useState)(null);(0,ne.useEffect)(()=>{typeof Fn=="number"&&Fn>=0&&An(Fn)},[Fn]);const Rn=at=>{const mt=Math.floor(at/1e3);Kn(mt)};return ne.createElement(Yn,ua(Mn({},Sn),{onChange:Rn}))}},58856:function(wt,Mt,oe){"use strict";oe.d(Mt,{Z:function(){return pe}});var ne=oe(59301);function pe(Je,Ne){const Oe=(0,ne.useRef)();(0,ne.useEffect)(()=>{Oe.current=Je}),(0,ne.useEffect)(()=>{function Re(){Oe.current()}if(Ne!==null){let be=setInterval(Re,Ne);return()=>clearInterval(be)}},[Ne])}},27515:function(wt,Mt,oe){"use strict";oe.r(Mt),oe.d(Mt,{default:function(){return Gn}});var ne=oe(59301),pe=oe(89070),Je=oe(78241),Ne=oe(8591),Oe=oe(43418),Re=oe(95237),be=oe(43604),qe=oe(6848),_e=oe(3113),dt=oe(28103),it=oe(92832),et=oe(61621),Xe=oe(5112),se=oe(12921),y=oe(49692),a=oe(955),E=oe(61186),b=oe.n(E),x={flex_box_center:"flex_box_center___Eli3_",flex_space_between:"flex_space_between___b9mMZ",flex_box_vertical_center:"flex_box_vertical_center___HDlqC",flex_box_center_end:"flex_box_center_end___wxSjo",flex_box_column:"flex_box_column___riQIC",icons:"icons___fU5ZJ",shixuns:"shixuns___HhH4T",buttons:"buttons___Xd62N",addStage:"addStage___Ap4gr",color4CA:"color4CA___dMAG4",color204:"color204___ySVKY",completed:"completed___pNt1x",actionTabs:"actionTabs___x3cPl",tab:"tab___BFnIn",s1:"s1___O6K2P",tabActive:"tabActive___v3_qF",total:"total___oZdqK",introContent:"introContent___dSvDD",introContentMaxHeight:"introContentMaxHeight___NxSzO"},te=oe(43428),ae=oe(24905),ie=oe(58421),ue=oe(99064),de=oe(34640),fe=oe(24065),Be={flex_box_center:"flex_box_center___bI3gK",flex_space_between:"flex_space_between___ZyemH",flex_box_vertical_center:"flex_box_vertical_center___vOG6y",flex_box_center_end:"flex_box_center_end___g0YQU",flex_box_column:"flex_box_column___a7oLH",wrp:"wrp___wYwtQ",drawer:"drawer___UVA9h",menu:"menu___s5Hi1",actived:"actived___GavBb",actived2:"actived2___XNyxe",listItem:"listItem___OyHb7",info:"info___UU9rA",title:"title___CmRLc",titleLeft:"titleLeft___xWCXz",titleRight:"titleRight___PeYdC",search:"search___CzPOL",description:"description___TEI_C",menuCourse:"menuCourse___Z8Z9h"},Pe=oe(59301),We=Object.defineProperty,ve=Object.getOwnPropertySymbols,Ue=Object.prototype.hasOwnProperty,Bt=Object.prototype.propertyIsEnumerable,Tt=(ot,Ie,Pt)=>Ie in ot?We(ot,Ie,{enumerable:!0,configurable:!0,writable:!0,value:Pt}):ot[Ie]=Pt,Ye=(ot,Ie)=>{for(var Pt in Ie||(Ie={}))Ue.call(Ie,Pt)&&Tt(ot,Pt,Ie[Pt]);if(ve)for(var Pt of ve(Ie))Bt.call(Ie,Pt)&&Tt(ot,Pt,Ie[Pt]);return ot},ft=(ot,Ie,Pt)=>new Promise((tn,Dn)=>{var jn=Ut=>{try{Xt(Pt.next(Ut))}catch(It){Dn(It)}},Nt=Ut=>{try{Xt(Pt.throw(Ut))}catch(It){Dn(It)}},Xt=Ut=>Ut.done?tn(Ut.value):Promise.resolve(Ut.value).then(jn,Nt);Xt((Pt=Pt.apply(ot,Ie)).next())});const{Search:Ft}=it.default,Jt=[{id:"type",name:"\u7B5B\u9009",children:[{name:"\u5168\u90E8\u5B9E\u8BAD",id:"all",type:"type"},{name:"\u6211\u7684\u5B9E\u8BAD",id:"mine",type:"type"}]},{id:"diff",name:"\u96BE\u5EA6",children:[{name:"\u5168\u90E8",id:"",type:"diff"},{name:"\u521D\u7EA7",id:1,type:"diff"},{name:"\u4E2D\u7EA7",id:2,type:"diff"},{name:"\u4E2D\u9AD8\u7EA7",id:3,type:"diff"},{name:"\u9AD8\u7EA7",id:4,type:"diff"}]}],Rt=({classroomList:ot,loading:Ie,dispatch:Pt,cb:tn,shixunIds:Dn=[]})=>{var jn;const Nt=(0,pe.useParams)(),Xt=(0,pe.useLocation)(),{actionTabs:Ut}=ot,[It]=Je.default.useForm(),{shixunLists:En}=ot,[sn,In]=(0,ne.useState)([]),[Hn,bn]=(0,ne.useState)([]),[wn,va]=(0,ne.useState)({page:1,type:"all",diff:0,status:"all",order:"desc",limit:20,sort:"myshixuns_count",load_jupyter_evaluate:!0,group_id:null});(0,ne.useEffect)(()=>{ot.actionTabs.key==="\u9009\u7528\u5B9E\u8DF5\u9879\u76EE"&&(wn.page=1,Pt({type:"classroomList/getShixunLists",payload:Ye({},wn)}))},[ot.actionTabs.key]),(0,ne.useEffect)(()=>{Sa()},[Nt]);const Sa=()=>ft(void 0,null,function*(){const On=yield(0,ue.ZP)("/api/users/user_setting_groups.json",{method:"get",params:{type:"Shixun"}});In([{id:null,name:"\u5168\u90E8"},{id:-1,name:"\u672A\u52A0\u5165\u76EE\u5F55"},...(On==null?void 0:On.groups)||[]])}),Na=()=>{Pt({type:"classroomList/setActionTabs",payload:{}}),va({page:1,type:"all",diff:0,status:"all",order:"desc",limit:20,sort:"myshixuns_count",load_jupyter_evaluate:!0,group_id:null})};return ot.actionTabs.key!=="\u9009\u7528\u5B9E\u8DF5\u9879\u76EE"?null:Pe.createElement(te.Z,{placement:"bottom",height:"100%",closable:!1,open:ot.actionTabs.key==="\u9009\u7528\u5B9E\u8DF5\u9879\u76EE",key:"bottom",rootClassName:Be.drawer,footer:Pe.createElement("div",{className:"tc"},Pe.createElement(_e.ZP,{size:"middle",onClick:()=>{Na(),bn([]),tn("\u53D6\u6D88")},style:{marginRight:8}},"\u53D6\u6D88"),Pe.createElement(_e.ZP,{size:"middle",onClick:()=>ft(void 0,null,function*(){var On,ya;for(let qn=0;qn<(Hn==null?void 0:Hn.length);qn++){const aa=Hn[qn];if(Dn.includes(aa)){Ne.ZP.info(`\u8BF7\u52FF\u91CD\u590D\u9009\u62E9\uFF1A${(ya=(On=En==null?void 0:En.shixun_list)==null?void 0:On.find(Ka=>Ka.id===aa))==null?void 0:ya.title}`);return}}const Pa=yield(0,de.Ep)({id:ot.actionTabs.id,course_id:ot.actionTabs.course_id,shixun_ids:[...Hn]});bn([]),Pa!=null&&Pa.shixuns_list&&(Na(),tn(Pa.shixuns_list))}),type:"primary"},"\u786E\u5B9A"))},Pe.createElement("section",{className:"tc"},Pe.createElement(Ft,{placeholder:"\u5B9E\u8BAD\u4FE1\u606F/\u9662\u6821\u540D\u79F0/\u521B\u5EFA\u8005",enterButton:"\u641C\u7D22",size:"middle",className:Be.search,onSearch:On=>{wn.keyword=On,wn.page=1,Pt({type:"classroomList/getShixunLists",payload:Ye({},wn)})}})),Pe.createElement("section",{className:"edu-container"},Jt.map(function(On,ya){var Pa;return Pe.createElement("ul",{className:Be.menu,key:ya},Pe.createElement("li",null,On.name),(Pa=On==null?void 0:On.children)==null?void 0:Pa.map(function(qn,aa){return Pe.createElement("li",{className:wn[On.id]==qn.id?Be.actived:"",onClick:()=>{wn[On.id]=qn.id,wn.page=1,va(Ye({},wn)),Pt({type:"classroomList/getShixunLists",payload:Ye({},wn)})}},Pe.createElement("strong",null,qn.name))}))}),wn.type==="mine"&&Pe.createElement("ul",{className:Be.menu},Pe.createElement("li",null,"\u76EE\u5F55"),sn==null?void 0:sn.map((On,ya)=>Pe.createElement("li",{className:wn.group_id==On.id?Be.actived:"",key:On.name,onClick:()=>{wn.group_id=On.id,wn.page=1,va(Ye({},wn)),Pt({type:"classroomList/getShixunLists",payload:Ye({},wn)})}},Pe.createElement("strong",null,On.name)))),(jn=En==null?void 0:En.shixun_list)==null?void 0:jn.map(function(On,ya){return Pe.createElement("div",{className:Be.listItem,key:ya},Pe.createElement(ae.default,{checked:Hn.includes(On.id),value:On.id,onChange:Pa=>{let qn=Hn.indexOf(On.id);Hn.indexOf(On.id)>-1?bn(Hn.filter(aa=>aa!==On.id)):bn(Hn.concat(On.id))}}),Pe.createElement("div",{className:Be.info},Pe.createElement("div",{className:Be.title},Pe.createElement("div",{className:Be.titleLeft},Pe.createElement("a",{className:"c-black",href:`/shixuns/${On==null?void 0:On.identifier}/challenges`,target:"_blank"},Pe.createElement("strong",{className:"font16",dangerouslySetInnerHTML:{__html:On.title}})),(0,fe.Ny)()&&(On==null?void 0:On.mark_status)===1&&Pe.createElement(qe.Z,{title:On==null?void 0:On.mark_content},Pe.createElement("span",{style:{marginRight:"auto",background:"#2FA34F"},className:"tag-style current ml10"},"\u6B63\u5E38")),(0,fe.Ny)()&&(On==null?void 0:On.mark_status)===2&&Pe.createElement(qe.Z,{title:On==null?void 0:On.mark_content},Pe.createElement("span",{style:{marginRight:"auto",background:"#FF8C29"},className:"tag-style current ml10"},"\u9700\u5B8C\u5584")),(0,fe.Ny)()&&(On==null?void 0:On.mark_status)===3&&Pe.createElement(qe.Z,{title:On==null?void 0:On.mark_content},Pe.createElement("span",{style:{marginRight:"auto",background:"#E53333"},className:"tag-style current ml10"},"\u65E0\u6CD5\u4F7F\u7528")))),Pe.createElement("div",{className:"flex-wrp mt10 font14 c-light-black"},Pe.createElement("span",{className:Be.description,dangerouslySetInnerHTML:{__html:On.description}})),Pe.createElement("div",{className:"flex-wrp mt15"},On.challenge_names.map(function(Pa,qn){return Pe.createElement("span",{key:qn,className:"mr30 font12"},"\u7B2C",qn+1,"\u5173 ",Pa," ")})),Pe.createElement(dt.Z,{dashed:!0}),Pe.createElement("div",{className:"c-light-black mt20 font12"},Pe.createElement("span",null,On.author_name),Pe.createElement("span",{className:"ml15 mr15"},"|"),Pe.createElement("span",null,On.author_school_name),Pe.createElement("span",{className:"ml15 mr15"},"|"),Pe.createElement("span",null,"\u96BE\u5EA6\u7CFB\u6570:",On.level),Pe.createElement("span",{className:"ml15 mr15"},"|"),Pe.createElement("span",null,"\u5B66\u4E60\u4EBA\u6570:"),Pe.createElement("span",null,On.study_count))))}),Pe.createElement("p",null)),Pe.createElement("div",{className:"tc"},Pe.createElement(ie.Z,{current:wn.page||1,hideOnSinglePage:!0,showSizeChanger:!1,defaultPageSize:20,showQuickJumper:!0,total:En==null?void 0:En.shixuns_count,onChange:On=>{wn.page=On,Pt({type:"classroomList/getShixunLists",payload:Ye({},wn)})}})))};var bt=(0,pe.connect)(({classroomList:ot,loading:Ie})=>({classroomList:ot,loading:Ie}))(Rt),Te=oe(46474),lt=oe(93948),Lt={wrap:"wrap___UWG0f",name:"name___LIQSC",button:"button___CSggN",progress:"progress___AQo_Y",havaLearn:"havaLearn___fq9Cb"},De=(ot,Ie,Pt)=>new Promise((tn,Dn)=>{var jn=Ut=>{try{Xt(Pt.next(Ut))}catch(It){Dn(It)}},Nt=Ut=>{try{Xt(Pt.throw(Ut))}catch(It){Dn(It)}},Xt=Ut=>Ut.done?tn(Ut.value):Promise.resolve(Ut.value).then(jn,Nt);Xt((Pt=Pt.apply(ot,Ie)).next())}),Dt=({data:ot={},dispatch:Ie=()=>{},onReloadData:Pt=()=>{}})=>{const tn=()=>{var Xt,Ut,It;if(!(0,Te.tJ)(Ie)||(0,fe.Jd)())return;let En;for(let sn=0;sn<((Xt=ot==null?void 0:ot.stages)==null?void 0:Xt.length);sn++){const In=(Ut=ot==null?void 0:ot.stages)==null?void 0:Ut[sn],Hn=(It=In==null?void 0:In.shixuns_list)==null?void 0:It.find(bn=>(bn==null?void 0:bn.shixun_status)!=="\u6682\u672A\u516C\u5F00");if(Hn){En=Hn.identifier;break}}En?Nt(En):Ne.ZP.info("\u5B9E\u8BAD\u6682\u672A\u516C\u5F00!")},Dn=Xt=>{Xt=Xt!=null&&Xt.includes(".json")?Xt:`${Xt}.json`,Oe.default.confirm({centered:!0,title:"\u63D0\u793A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",content:ne.createElement("div",{className:"tc font16"},"\u5B9E\u8BAD\u5DF2\u7ECF\u66F4\u65B0\u4E86\uFF0C\u6B63\u5728\u4E3A\u60A8\u91CD\u7F6E!"),onOk:()=>De(void 0,null,function*(){const Ut=yield(0,y.$Q)({url:Xt});if(!Ut)return;Ne.ZP.success("\u91CD\u7F6E\u6210\u529F\uFF0C\u6B63\u5728\u8FDB\u5165\u5B9E\u8DF5\u9879\u76EE\uFF01");const It=yield(0,y.Ir)({id:Ut.shixun_identifier});if(It!=null&&It.game_identifier){(0,a.xg)(`/tasks/${It.game_identifier}`),Pt();return}(It==null?void 0:It.status)===2?Dn(It==null?void 0:It.message):(It==null?void 0:It.status)===3&&jn(It==null?void 0:It.message)})})},jn=Xt=>{Oe.default.confirm({centered:!0,title:"\u63D0\u793A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",content:ne.createElement("div",{className:"tc font16"},"\u76EE\u524D\u8BE5\u5B9E\u8DF5\u9879\u76EE\u5C1A\u5728\u5185\u6D4B\u4E2D\uFF0C\u5C06\u4E8E",Xt,"\u4E4B\u540E\u5F00\u653E\uFF0C\u8C22\u8C22\uFF01")})},Nt=Xt=>De(void 0,null,function*(){const Ut=yield(0,y.Ir)({id:Xt});if(Ut!=null&&Ut.game_identifier){(0,a.xg)(`/tasks/${Ut.game_identifier}`),Pt();return}(Ut==null?void 0:Ut.status)===2?Dn(Ut==null?void 0:Ut.message):(Ut==null?void 0:Ut.status)===3&&jn(Ut==null?void 0:Ut.message)});return ne.createElement("section",null,!(0,fe.GJ)()&&ne.createElement(ne.Fragment,null,ot!=null&&ot.start_learning?ne.createElement(Re.Z,{className:Lt.wrap,align:"middle"},ne.createElement(be.Z,{flex:"1"},ne.createElement("div",{className:`mt5 ${Lt.havaLearn}`},ne.createElement("span",null,"\u5DF2\u5B66",ot==null?void 0:ot.learned,"%")),ne.createElement("div",{className:`mt5 ${Lt.progress}`},ne.createElement(lt.Z,{percent:ot==null?void 0:ot.learned,showInfo:!1})),ne.createElement("div",{className:"mt5"},ne.createElement("span",{className:"font16"},"\u4E0A\u6B21\u5B66\u4E60\u5185\u5BB9"),ne.createElement("span",{className:"ml20 c-blue-4ca"},ot==null?void 0:ot.last_shixun))),ne.createElement(be.Z,null,ne.createElement(_e.ZP,{className:Lt.button,type:"primary",onClick:()=>Nt(ot==null?void 0:ot.last_shixun_identifier)},"\u5F00\u59CB\u5B66\u4E60"))):ne.createElement(Re.Z,{className:Lt.wrap,align:"middle"},ne.createElement(be.Z,{flex:"1"},ne.createElement("span",{className:Lt.name},"\u8FD8\u672A\u5F00\u59CB\u5B66\u4E60")),ne.createElement(be.Z,null,ne.createElement(_e.ZP,{className:Lt.button,type:"primary",onClick:tn},"\u5F00\u59CB\u5B66\u4E60")))))},nn=oe(94941),vt=oe(15022),Vt=oe(57490),Fe=oe(17574),st=oe(10906),yt=oe(86248),an=oe(75730),Wt={tree:"tree___SHCwq",learn:"learn___buOG9",name:"name___dwQwe",sign:"sign___aQzc5",pdf_name:"pdf_name___m1wEX",name_style:"name_style___CnJ7d",color333:"color333___TbHdH"},Ke=oe(89392),Ve=oe(84105),we=oe(38819),me=oe(3294),Ge=oe(6021),ze=oe(59301),Ee=Object.defineProperty,Se=Object.getOwnPropertySymbols,nt=Object.prototype.hasOwnProperty,Me=Object.prototype.propertyIsEnumerable,Ce=(ot,Ie,Pt)=>Ie in ot?Ee(ot,Ie,{enumerable:!0,configurable:!0,writable:!0,value:Pt}):ot[Ie]=Pt,ke=(ot,Ie)=>{for(var Pt in Ie||(Ie={}))nt.call(Ie,Pt)&&Ce(ot,Pt,Ie[Pt]);if(Se)for(var Pt of Se(Ie))Me.call(Ie,Pt)&&Ce(ot,Pt,Ie[Pt]);return ot},xt=(ot,Ie)=>{var Pt={};for(var tn in ot)nt.call(ot,tn)&&Ie.indexOf(tn)<0&&(Pt[tn]=ot[tn]);if(ot!=null&&Se)for(var tn of Se(ot))Ie.indexOf(tn)<0&&Me.call(ot,tn)&&(Pt[tn]=ot[tn]);return Pt},ht=(ot,Ie,Pt)=>new Promise((tn,Dn)=>{var jn=Ut=>{try{Xt(Pt.next(Ut))}catch(It){Dn(It)}},Nt=Ut=>{try{Xt(Pt.throw(Ut))}catch(It){Dn(It)}},Xt=Ut=>Ut.done?tn(Ut.value):Promise.resolve(Ut.value).then(jn,Nt);Xt((Pt=Pt.apply(ot,Ie)).next())});const zt=(ot={})=>{var Ie,Pt;switch(ot==null?void 0:ot.item_type){case"Challenge":return ze.createElement(qe.Z,{title:"\u5B9E\u6218\u5F62\u5F0F\uFF1A\u4EFB\u52A1\u5173\u5361"},ze.createElement("i",{className:"iconfont icon-renwuguanka1 font20",style:{color:"#39B97E"}}));case"VideoItem":return ze.createElement(qe.Z,{title:"\u6559\u5B66\u89C6\u9891"},ze.createElement("i",{className:"iconfont icon-shipin2 c-purple-8C1 font20"}));case"StageCatalog":return ze.createElement("i",{className:"iconfont icon-kongbai c-brilliant-blue font20"});case"SubjectHomework":if((ot==null?void 0:ot.homework_type)==="group")return ze.createElement(qe.Z,{title:"\u4F5C\u4E1A\u5F62\u5F0F\uFF1A\u5206\u7EC4\u4F5C\u4E1A"},ze.createElement("i",{className:"iconfont icon-fenzuzuoye3 font20",style:{color:"#acc218"}}));if((ot==null?void 0:ot.homework_type)==="normal")return ze.createElement(qe.Z,{title:"\u4F5C\u4E1A\u5F62\u5F0F\uFF1A\u56FE\u6587\u4F5C\u4E1A"},ze.createElement("i",{className:"iconfont icon-tuwenzuoye font20",style:{color:"#1db37f"}}));break;case"ExaminationBank":return ze.createElement(qe.Z,{title:"\u6D4B\u9A8C\u5F62\u5F0F\uFF1A\u5728\u7EBF\u8003\u8BD5"},ze.createElement("i",{className:"iconfont icon-zhangjieceshibeifen font20",style:{color:"#e9a318"}}));case"HomeworkCommon":if((ot==null?void 0:ot.homework_type)==="hack")return ze.createElement(qe.Z,{title:"\u4F5C\u4E1A\u5F62\u5F0F\uFF1A\u7F16\u7A0B\u4F5C\u4E1A"},ze.createElement("i",{className:"iconfont icon-bianchengzuoye1 font20",style:{color:"#E99237"}}));break;case"Shixun":return ot!=null&&ot.is_all_choice?ze.createElement(qe.Z,{title:"\u5B9E\u6218\u5F62\u5F0F\uFF1A\u9009\u62E9\u9898"},ze.createElement("i",{className:"iconfont icon-xuanzeti4 c-lake-blue font20"})):ot!=null&&ot.is_unity_3d?((Ie=ot==null?void 0:ot.challenge_types)==null?void 0:Ie.length)<=1?ze.createElement(qe.Z,{title:"\u5B9E\u6218\u5F62\u5F0F\uFF1A\u865A\u62DF\u4EFF\u771F"},ze.createElement("i",{className:"iconfont icon-xunifangzhenti1 font20",style:{color:"#A504D8"}})):ze.createElement(qe.Z,{title:"\u5B9E\u6218\u5F62\u5F0F\uFF1A\u9009\u62E9\u9898\uFF0B\u865A\u62DF\u4EFF\u771F"},ze.createElement("i",{className:"iconfont icon-rongheti1 font20",style:{color:"#44B7D7"}})):((Pt=ot==null?void 0:ot.challenge_types)==null?void 0:Pt.length)>1?ze.createElement(qe.Z,{title:"\u5B9E\u6218\u5F62\u5F0F\uFF1A\u9009\u62E9\u9898\uFF0B\u7F16\u7A0B\u5F00\u53D1"},ze.createElement("i",{className:"iconfont icon-rongheti1 font20",style:{color:"#44B7D7"}})):ze.createElement(qe.Z,{title:"\u5B9E\u6218\u5F62\u5F0F\uFF1A\u7F16\u7A0B\u5F00\u53D1"},ze.createElement("i",{className:"iconfont icon-shixunti2 c-light-primary font20"}));default:return ze.createElement(qe.Z,{title:"\u6559\u5B66\u8BFE\u4EF6"},ze.createElement("i",{className:"iconfont icon-kejian1 c-cyan-blue font20"}))}},kt=ot=>{var Ie=ot,{pathsDetail:Pt,globalSetting:tn,user:Dn,loading:jn,visibleType:Nt,subjectHomeworkType:Xt,updateSort:Ut,isPaths:It,dispatch:En,keywords:sn,isShowSchedule:In,getData:Hn}=Ie,bn=xt(Ie,["pathsDetail","globalSetting","user","loading","visibleType","subjectHomeworkType","updateSort","isPaths","dispatch","keywords","isShowSchedule","getData"]);let[wn,va]=(0,ne.useState)([]),[Sa,Na]=(0,ne.useState)([]);const On=(0,pe.useParams)(),[ya,Pa]=(0,ne.useState)([]),[qn,aa]=(0,ne.useState)({}),[Ka,Ra]=(0,ne.useState)({name:"",filename:"",type:"",className:"",data:"",close:!0,style:{position:"fixed",zIndex:9999,background:"rgba(0,0,0,.7)"},monacoEditor:{value:"",language:"",theme:"vs",options:{readOnly:!0}}});(0,ne.useEffect)(()=>{if(bn.data&&!(0,Ke.isEqual)(bn.data,ya)){Sa=[];const Zt=JSON.parse(JSON.stringify(bn.data));ra(Zt,0),Pa([...Zt]),bn!=null&&bn.expandAll||Nt!="All"?va([...Sa]):va([])}},[bn.data,Nt,bn==null?void 0:bn.expandAll]),(0,ne.useEffect)(()=>{var Zt,ia,ha,Pn,cn,Bn,xn,ba,$t,La;let Aa;if((Zt=Pt.detail)!=null&&Zt.has_start){const wa=(ha=(ia=Pt.detail)==null?void 0:ia.courses)==null?void 0:ha.findIndex(Ia=>{var Fa;return parseInt((Fa=Ia.course_status)==null?void 0:Fa.status)===1});Aa=wa>-1?wa:0}else{let wa=(Bn=(cn=(Pn=Pt.detail)==null?void 0:Pn.courses)==null?void 0:cn.map(Ia=>{var Fa;return parseInt((Fa=Ia.course_status)==null?void 0:Fa.status)}))==null?void 0:Bn.lastIndexOf(2);Aa=wa>-1?wa:0,wa=(ba=(xn=Pt.detail)==null?void 0:xn.courses)==null?void 0:ba.findIndex(Ia=>{var Fa;return parseInt((Fa=Ia.course_status)==null?void 0:Fa.status)===0}),Aa=wa>-1?wa:Aa}($t=Pt.detail)!=null&&$t.courses&&aa(((La=Pt.detail)==null?void 0:La.courses[Aa])||{})},[Pt.detail]);const Wa=(Zt,ia,...ha)=>ht(void 0,[Zt,ia,...ha],function*(Pn,cn,Bn={}){const xn=cn?yield(0,y.BK)({id:Pn,challenge_id:Bn==null?void 0:Bn.challenge_id,subject_id:On.pathId}):yield(0,y.Ir)({id:Pn,challenge_id:Bn==null?void 0:Bn.challenge_id,subject_id:On.pathId});if(xn!=null&&xn.game_identifier||xn!=null&&xn.identifier){(0,a.xg)(cn?`/tasks/${xn==null?void 0:xn.identifier}/jupyter`:`/tasks/${xn.game_identifier}?subject_id=${On.pathId||""}`);return}(xn==null?void 0:xn.status)===-3?(0,a.eF)():(xn==null?void 0:xn.status)===2?Ea(xn==null?void 0:xn.message):(xn==null?void 0:xn.status)===3&&Da(xn==null?void 0:xn.message)}),Ea=Zt=>{Zt=Zt!=null&&Zt.includes(".json")?Zt:`${Zt}.json`,Oe.default.confirm({centered:!0,title:"\u63D0\u793A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",content:ze.createElement("div",{className:"tc font16"},"\u5B9E\u8BAD\u5DF2\u7ECF\u66F4\u65B0\u4E86\uFF0C\u6B63\u5728\u4E3A\u60A8\u91CD\u7F6E!"),onOk:()=>ht(void 0,null,function*(){const ia=yield(0,nn.L8)({url:Zt});if(!ia)return;Ne.ZP.success("\u91CD\u7F6E\u6210\u529F\uFF0C\u6B63\u5728\u8FDB\u5165\u5B9E\u8DF5\u9879\u76EE\uFF01");const ha=yield(0,y.Ir)({id:ia.shixun_identifier});if(ha!=null&&ha.game_identifier){(0,a.xg)(`/tasks/${ha.game_identifier}`);return}(ha==null?void 0:ha.status)===2?Ea(ha==null?void 0:ha.message):(ha==null?void 0:ha.status)===3&&Da(ha==null?void 0:ha.message)})})},Da=Zt=>{Oe.default.confirm({centered:!0,title:"\u63D0\u793A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",content:ze.createElement("div",{className:"tc font16"},"\u76EE\u524D\u8BE5\u5B9E\u8DF5\u9879\u76EE\u5C1A\u5728\u5185\u6D4B\u4E2D\uFF0C\u5C06\u4E8E",Zt,"\u4E4B\u540E\u5F00\u653E\uFF0C\u8C22\u8C22\uFF01")})},ka=Zt=>{console.log("onDragEnter:",Zt)},ea=Zt=>ht(void 0,null,function*(){var ia,ha,Pn,cn;console.log("onDrop:",Zt);const Bn=Zt.node.props.eventKey,xn=Zt.dragNode.props.eventKey,ba=Zt.node.props.pos.split("-"),$t=Zt.dropPosition-Number(ba[ba.length-1]);if(ba.length>3&&!Zt.node.dragOverGapBottom&&!Zt.node.dragOverGapTop||Zt.node.dragOver&&Zt.dragNodesKeys.length>1||ba.length>2&&Zt.dragNodesKeys.length>1)return!1;let La=["Attachment","Hack","Shixun","SubjectHomework","Videoltem"];if(La.includes((ia=Zt.dragNode)==null?void 0:ia.item_type)&&((ha=Zt.node)==null?void 0:ha.item_type)!="StageCatalog"&&$t===0||((Pn=Zt.dragNode)==null?void 0:Pn.item_type)==="StageCatalog"&&La.includes((cn=Zt.node)==null?void 0:cn.item_type)&&$t===0)return!1;const Aa=(Fa,Va,fa)=>{for(let la=0;la{fa.splice(Va,1),Ia=Fa}),!Zt.dropToGap)Aa(wa,Bn,Fa=>{Fa.children=Fa.children||[],Fa.children.unshift(Ia)});else if((Zt.node.props.children||[]).length>0&&Zt.node.props.expanded&&$t===1)Aa(wa,Bn,Fa=>{Fa.children=Fa.children||[],Fa.children.unshift(Ia)});else{let Fa,Va;Aa(wa,Bn,(fa,la,Za)=>{Fa=Za,Va=la}),$t===-1?Fa.splice(Va,0,Ia):Fa.splice(Va+1,0,Ia)}yield Ut({stage_id:bn.stage_id,list:wa}),ra(wa,0,0,!0),console.log("data:",wa),Pa([...wa]),va([...wn,Zt.node.key])}),ra=(Zt,ia,ha,Pn)=>{ia=ia||0,Zt.map((cn,Bn)=>{var xn;try{return cn.key2=ia+1+"-"+(Bn+1),cn.key3=bn.index+1+"-"+(Bn+1),cn.title="",Pn||(cn.key=ia+1+"-"+(Bn+1)),ia?cn.index=ha+"-"+(Bn+1):cn.index=cn.key3,(xn=cn.children)!=null&&xn.length&&(Sa.push(cn.key2),ra(cn.children,cn.key2,cn.index,Pn)),cn}catch(ba){}})},na=Zt=>{Zt=Zt||"";let ia=new RegExp(sn,"ig");const ha=Zt.replace(ia,'$&');return sn?ze.createElement("span",{dangerouslySetInnerHTML:{__html:ha}}):Zt},za=(Zt,ia)=>{const{learning_status:ha,name:Pn}=Zt;return(ha==null?void 0:ha[0])==="can"&&(ha==null?void 0:ha[1])==="try"?ze.createElement("div",{className:Wt.learn},ze.createElement("span",{className:Wt.name},ia?Pn:na(Pn)),ze.createElement("span",{className:Wt.sign},"\u514D\u8D39\u8BD5\u5B66")):ia?Pn:na(Pn)},Ma=Zt=>{Nt==="All"&&(wn.includes(Zt)?va(wn.filter(ia=>ia!=Zt)):va(wn.concat(Zt)))},Ya=(Zt,ia)=>ht(void 0,null,function*(){if((0,Te.tJ)(En,!0)){if(Zt!=null&&Zt.need_authorize){(0,Te.rX)(!1);return}yield Wa(Zt.identifier,Zt.is_jupyter||Zt.is_jupyter_lab,Zt),ia(),qn!=null&&qn.course_id&&(0,yt.JS)({id:qn==null?void 0:qn.course_id})}}),xa=Zt=>ht(void 0,null,function*(){var ia,ha,Pn,cn,Bn;if(!(0,Te.tJ)(En))return;if(!((ia=Dn.userInfo)!=null&&ia.admin)&&!((ha=Dn.userInfo)!=null&&ha.business)&&!Zt.can_view&&Zt.item_type!=="Attachment")return Oe.default.info({centered:!0,width:400,okText:"\u77E5\u9053\u5566",icon:null,content:ze.createElement("div",{className:"tc font14"},"\u5F53\u524D\u89C6\u9891\u4E3A\u521B\u5EFA\u8005\u6240\u5C5E\u5355\u4F4D\u5185\u90E8\u6559\u5B66\u8D44\u6599\uFF0C\u5916\u5355\u4F4D\u7528\u6237\u65E0\u89C2\u770B\u6743\u9650")});Zt.link&&(0,an.DH)({is_f:1,id:Zt.id,point:0,total:0});const xn=bn!=null&&bn.course_id?`course_id=${bn==null?void 0:bn.course_id}`:`subject_id=${On.pathId||bn.subject_id}`;if(((cn=Zt==null?void 0:Zt.name)==null?void 0:cn.substr((Pn=Zt==null?void 0:Zt.name)==null?void 0:Pn.lastIndexOf("."))).toUpperCase()===".ZIP"){if(!((Bn=Pt.detail)!=null&&Bn.allow_download)){Ne.ZP.info("\u6559\u5B66\u8BFE\u4EF6\u4E0D\u652F\u6301\u4E0B\u8F7D");return}(0,a.FH)(Zt.name,me.Z.API_SERVER+Zt.url)}else(0,a.xg)(Zt.link||`/video/${Zt.id}?${xn}`);if(Zt.item_type==="Attachment"&&Zt.complete_status!=2){const $t=yield(0,yt.rS)({attachment_id:Zt.id,status:2})}(Zt.item_type==="Attachment"||Zt.item_type==="VideoItem")&&Hn()}),[Xa,oa]=(0,ne.useState)(!1),Un=Zt=>{Xa||oa(!0)},ma=(0,ne.useMemo)(()=>(console.log("doms:"),ze.createElement(Fe.default,{className:Wt.tree,disabled:bn.disabled,expandedKeys:[...wn],draggable:!0,onDragEnter:ka,onDrop:ea,onExpand:Ma,blockNode:!0,titleRender:Zt=>{var ia,ha,Pn,cn,Bn,xn,ba;let $t=Zt;if(Nt=="SubjectHomework"){if(Xt=="group_count"&&($t==null?void 0:$t.homework_type)!="group"||Xt=="normal_count"&&($t==null?void 0:$t.homework_type)!="normal")return null}else if($t.item_type!==Nt&&Nt!=="All")return null;const La=((ia=Zt==null?void 0:Zt.learning_status)==null?void 0:ia[0])==="can";return ze.createElement(Re.Z,{align:"middle",className:"font14",onClick:()=>Ma($t.key),style:{flexWrap:"nowrap",whiteSpace:"nowrap"},onMouseOver:()=>Un($t.key)},ze.createElement(be.Z,{flex:"30px",style:{display:"flex",alignItems:"center"}},zt(Zt)),ze.createElement(be.Z,{flex:"1",className:Wt.color333,style:{display:"flex",alignItems:"center",width:300}},bn.cust_seq&&ze.createElement("span",{className:`${Wt.color333} mr10`},Zt.index),Zt.item_type!=="Attachment"&&ze.createElement("div",{className:Wt.name_style},ze.createElement(qe.Z,{placement:"topLeft",title:Zt.name},za(Zt,!1))),Zt.item_type==="Attachment"&&ze.createElement("a",{target:"_blank",className:Wt.pdf_name,title:Zt.name,onClick:()=>ht(void 0,null,function*(){if((0,Te.tJ)(En)){if(qn!=null&&qn.course_id){const Aa=yield(0,yt.JS)({id:qn==null?void 0:qn.course_id})}switch(Zt.item_type){case"Attachment":xa($t);break;case"VideoItem":xa(Zt);break;case"ExaminationBank":xa(Zt);break;case"HomeworkCommon":xa(Zt);break;case"SubjectHomework":(Zt.homework_type=="group"||Zt.homework_type=="normal")&&xa(Zt);break;case"Shixun":Ya(Zt);break}}})},Zt.name),(Zt.item_type==="Shixun"||Zt.item_type==="Challenge")&&Zt.is_unity_3d&&ze.createElement("span",{style:{background:"#a300d8",color:"#fff",borderRadius:"13px",marginLeft:"5px",width:"68px",height:"20px",display:"inline-flex",alignItems:"center",justifyContent:"center",fontSize:"12px"}},"\u865A\u62DF\u4EFF\u771F"),(Zt.item_type==="Shixun"||Zt.item_type==="Challenge")&&Zt.is_jupyter_lab&&ze.createElement("span",{style:{background:"#ff6802",color:"#fff",borderRadius:"13px",marginLeft:"5px",width:"76px",height:"20px",display:"inline-flex",alignItems:"center",justifyContent:"center",fontSize:"12px"}},"JupyterLab"),(Zt.item_type==="Shixun"||Zt.item_type==="Challenge")&&Zt.is_jupyter&&ze.createElement("span",{style:{background:"#ff6802",color:"#fff",borderRadius:"13px",marginLeft:"5px",width:"112px",height:"20px",display:"inline-flex",alignItems:"center",justifyContent:"center",fontSize:"12px"}},"Jupyter Notebook"),(Zt.item_type==="Shixun"||Zt.item_type==="Challenge")&&((ha=Zt==null?void 0:Zt.shixun_marks)==null?void 0:ha.length)>0&&(((Pn=Dn==null?void 0:Dn.userInfo)==null?void 0:Pn.role)==1||((cn=Dn==null?void 0:Dn.userInfo)==null?void 0:cn.role)==2)&&(Zt==null?void 0:Zt.shixun_marks.map((Aa,wa)=>ze.createElement(qe.Z,{title:`${Aa}`,key:wa},ze.createElement("span",{style:{background:"#43a2ff",color:"#fff",borderRadius:"13px",marginLeft:"5px",height:"20px",textAlign:"center",fontSize:"12px",maxWidth:"70px",padding:"0px 13px",overflow:"hidden",whiteSpace:"nowrap",display:"inline-flex",alignItems:"center",justifyContent:"center",textOverflow:"ellipsis"}},Aa)))),!!((Bn=Zt.schools)!=null&&Bn.length)&&ze.createElement(qe.Z,{title:"\u8BE5\u5B9E\u8DF5\u9879\u76EE\u9762\u5411\u6307\u5B9A\u5355\u4F4D\u5F00\u653E"},ze.createElement("i",{className:"iconfont icon-zhidinggongkai1 ml10 c-orange",style:{transform:"translateY(1px)",display:"inline-block"}})),(Zt.item_type==="Shixun"||Zt.item_type==="Challenge")&&!!(Zt!=null&&Zt.finished_challenges_count)&&ze.createElement(qe.Z,{title:`\u5B8C\u6210\u5EA6:${Math.round((Zt==null?void 0:Zt.finished_challenges_count)/(Zt==null?void 0:Zt.challenges_count)*100)}%`},ze.createElement("i",{className:`iconfont icon-a-wanchengdu100 ml10 ${(Zt==null?void 0:Zt.finished_challenges_count)-(Zt==null?void 0:Zt.challenges_count)===0?"c-light-green":"c-grey-333"}`,style:{transform:"translateY(1px)",display:"inline-block"}}))),!bn.disabled&&ze.createElement("aside",{style:{color:"#0152d9",fontSize:"14px",marginRight:"20px"}},"\u62D6\u52A8\u53EF\u4EE5\u6539\u53D8\u9879\u76EE\u663E\u793A\u987A\u5E8F"),Xa&&ze.createElement(be.Z,{className:"tr"},($t.item_type==="VideoItem"||($t==null?void 0:$t.item_type)==="Attachment"||($t==null?void 0:$t.item_type)==="StageCatalog"||($t==null?void 0:$t.item_type)==="SubjectHomework"||($t==null?void 0:$t.item_type)==="ExaminationBank"||($t==null?void 0:$t.item_type)==="HomeworkCommon")&&!bn.disabled&&!bn.hiddenEditBtn&&ze.createElement(qe.Z,{title:"\u7F16\u8F91"},ze.createElement("span",{onClick:()=>{bn.editVidoItem(ke({stage_id:bn.stage_id},$t))},style:{color:"#ccc",marginRight:"10px"}},ze.createElement(st.Z,null))),!bn.disabled&&ze.createElement(ze.Fragment,null,ze.createElement(qe.Z,{title:"\u5220\u9664"},ze.createElement("span",{onClick:()=>{bn.deleteStages({id:$t.stage_item_id,stage_id:bn.stage_id})},className:"iconfont icon-shanchu c-grey-c"}))),bn.showVideoPlay&&bn.disabled&&$t.item_type==="SubjectHomework"&&La&&ze.createElement("aside",null,!(0,fe.JA)()&&It&&((0,fe.Ny)()||($t==null?void 0:$t.is_free)||!($t!=null&&$t.is_free)&&($t==null?void 0:$t.is_trial_study))&&ze.createElement(_e.ZP,{className:"mr10",type:"primary",onClick:()=>ht(void 0,null,function*(){(0,Te.tJ)(En)&&En({type:"shixunsDetail/setActionTabs",payload:{key:"Stage-SendModal",params:{id:$t.stage_item_id,title:($t==null?void 0:$t.homework_type)=="group"?"\u5206\u7EC4\u4F5C\u4E1A":"\u56FE\u6587\u4F5C\u4E1A"}}})})},"\u53D1\u9001"),!(0,fe.JA)()&&It&&ze.createElement(_e.ZP,{type:"primary",onClick:()=>ht(void 0,null,function*(){(0,Te.tJ)(En)&&bn.showInfoModal(ke({stage_id:bn.stage_id},$t))})},"\u67E5\u770B\u8BE6\u60C5")),bn.showVideoPlay&&bn.disabled&&$t.item_type==="ExaminationBank"&&La&&ze.createElement("aside",null,!(0,fe.JA)()&&It&&((0,fe.Ny)()||($t==null?void 0:$t.is_free)||!($t!=null&&$t.is_free)&&($t==null?void 0:$t.is_trial_study))&&ze.createElement(_e.ZP,{className:"mr10",type:"primary",onClick:()=>ht(void 0,null,function*(){(0,Te.tJ)(En)&&En({type:"shixunsDetail/setActionTabs",payload:{key:"Stage-SendModal",params:{id:$t.stage_item_id,title:"\u6D4B\u9A8C",examinationid:$t.id}}})})},"\u53D1\u9001"),!(0,fe.JA)()&&It&&ze.createElement(_e.ZP,{type:"primary",onClick:()=>ht(void 0,null,function*(){(0,Te.tJ)(En)&&window.open(`/paperlibrary/see/${$t.id}?defaultActiveKey=1`)})},"\u67E5\u770B\u8BE6\u60C5")),bn.showVideoPlay&&bn.disabled&&$t.item_type==="HomeworkCommon"&&La&&ze.createElement("aside",null,!(0,fe.JA)()&&It&&((0,fe.Ny)()||($t==null?void 0:$t.is_free)||!($t!=null&&$t.is_free)&&($t==null?void 0:$t.is_trial_study))&&ze.createElement(_e.ZP,{className:"mr10",type:"primary",onClick:()=>ht(void 0,null,function*(){(0,Te.tJ)(En)&&En({type:"shixunsDetail/setActionTabs",payload:{key:"Stage-SendModal",params:{id:$t.stage_item_id,title:"\u7F16\u7A0B\u4F5C\u4E1A",examinationid:$t.id}}})})},"\u53D1\u9001"),!(0,fe.JA)()&&It&&ze.createElement(_e.ZP,{type:"primary",onClick:()=>ht(void 0,null,function*(){(0,Te.tJ)(En)&&bn.showInfoModal(ke({stage_id:bn.stage_id},$t))})},"\u67E5\u770B\u8BE6\u60C5")),bn.showVideoPlay&&bn.disabled&&$t.item_type==="VideoItem"&&La&&ze.createElement("aside",null,!(0,fe.JA)()&&It&&((0,fe.Ny)()||($t==null?void 0:$t.is_free)||!($t!=null&&$t.is_free)&&($t==null?void 0:$t.is_trial_study))&&ze.createElement(_e.ZP,{className:"mr10",type:"primary",onClick:()=>ht(void 0,null,function*(){(0,Te.tJ)(En)&&En({type:"shixunsDetail/setActionTabs",payload:{key:"Stage-SendModal",params:{id:$t.stage_item_id,title:"\u89C6\u9891"}}})})},"\u53D1\u9001"),ze.createElement(_e.ZP,{type:"primary",className:"mr10",onClick:()=>ht(void 0,null,function*(){xa($t)})},$t.last_point>0?"\u7EE7\u7EED\u5B66\u4E60":"\u5F00\u59CB\u5B66\u4E60")),($t.allow_visit||$t.to_be_built||!$t.shixun_status)&&bn.disabled&&($t.item_type==="Shixun"||$t.item_type==="Challenge")&&La&&ze.createElement("aside",null,!(0,fe.JA)()&&It&&!$t.shixun_status&&((0,fe.Ny)()||($t==null?void 0:$t.is_free)||!($t!=null&&$t.is_free)&&($t==null?void 0:$t.is_trial_study))&&ze.createElement(_e.ZP,{className:"ml10",type:"primary",onClick:()=>ht(void 0,null,function*(){(0,Te.tJ)(En)&&En({type:"shixunsDetail/setActionTabs",payload:{key:"Stage-SendModal",params:{id:$t.stage_item_id,title:"\u5B9E\u8BAD",is_jupyter:$t==null?void 0:$t.is_jupyter,identifier:$t==null?void 0:$t.identifier}}})})},"\u53D1\u9001"),ze.createElement(_e.ZP,{className:"ml10",type:"primary",onClick:()=>ht(void 0,null,function*(){(0,Te.tJ)(En)&&(qn!=null&&qn.course_id&&(yield(0,yt.JS)({id:qn==null?void 0:qn.course_id})),window.open(`/shixuns/${$t.identifier}/challenges`))})},"\u67E5\u770B\u8BE6\u60C5"),!$t.shixun_status&&ze.createElement(Ge.Z,{className:"ml10",type:"primary",onClick:()=>ht(void 0,null,function*(){return new Promise(Aa=>ht(void 0,null,function*(){Ya($t,Aa)}))})},$t!=null&&$t.need_authorize?"\u9700\u6388\u6743":Zt!=null&&Zt.finished_challenges_count?(Zt==null?void 0:Zt.finished_challenges_count)-(Zt==null?void 0:Zt.challenges_count)===0?"\u518D\u6B21\u5B9E\u6218":"\u7EE7\u7EED\u5B9E\u6218":"\u5F00\u59CB\u5B9E\u6218")),bn.showVideoPlay&&bn.disabled&&$t.item_type==="Attachment"&&La&&ze.createElement("aside",null,((xn=Pt.detail)==null?void 0:xn.allow_download)&&ze.createElement(_e.ZP,{className:"mr10",type:"primary",onClick:()=>ht(void 0,null,function*(){var Aa;(0,Te.tJ)(En)&&(0,a.Nd)("",`${me.Z.API_SERVER}${(Aa=$t.url)==null?void 0:Aa.replace("disposition=inline","")}`)})},"\u4E0B\u8F7D\u8D44\u6E90"),ze.createElement(_e.ZP,{type:"primary",className:"mr10",onClick:()=>ht(void 0,null,function*(){(0,Te.tJ)(En)&&(0,a.xg)(`/video/${$t.id}?subject_id=${On.pathId||""}`)})},"\u5F00\u59CB\u5B66\u4E60"))),ze.createElement(be.Z,null,bn.disabled&&$t.shixun_status==="\u6682\u672A\u516C\u5F00"&&ze.createElement("span",{className:`${Wt.color204} ml5`},"\u6682\u672A\u53D1\u5E03"),$t.shixun_status==="\u5DF2\u5220\u9664"&&ze.createElement("span",{className:`${Wt.color204} ml5`},"\u5DF2\u5220\u9664"),bn.disabled&&!In&&($t.item_type==="Shixun"||$t.item_type==="Challenge")&&!!$t.challenges_count&&ze.createElement("span",{className:"exper\u02C6iment-number ml5 c-grey-999"},"\u5B9E\u9A8C\u6570 ",$t.challenges_count),bn.disabled&&In&&($t.item_type==="Shixun"||$t.item_type==="Challenge")&&!!$t.challenges_count&&$t.shixun_status!=="\u6682\u672A\u516C\u5F00"&&$t.shixun_status!=="\u5DF2\u5220\u9664"&&ze.createElement(ze.Fragment,null,ze.createElement("i",{className:"iconfont icon-wanchenggouxuan font14",style:{marginLeft:"5px",color:$t.finished_challenges_count===$t.challenges_count?"#50DAAE":"#DEDEDE"}}),ze.createElement("span",{style:{marginLeft:"4px"}},ze.createElement("span",{style:{color:"#165DFF",fontSize:"14px"}},$t.finished_challenges_count),ze.createElement("span",{style:{color:"#DEDEDE",fontSize:"14px"}},"/",$t.challenges_count))),bn.disabled&&In&&($t.item_type==="VideoItem"||$t.item_type==="Attachment")&&($t.complete_status==0?ze.createElement("i",{className:"iconfont icon-weidianjixuexi font14",style:{color:"#DEDEDE"}}):$t.complete_status==1?ze.createElement("i",{className:"iconfont icon-yidianjixuexiweiwancheng font14",style:{color:"#50DAAE"}}):ze.createElement("i",{className:"iconfont icon-xuexiwancheng font14",style:{color:"#50DAAE"}})),Nt==="All"&&!!((ba=Zt.children)!=null&&ba.length)&&ze.createElement("span",{className:"ml10"},wn.includes(Zt.key)?ze.createElement(Ve.Z,null):ze.createElement(we.Z,null))))},treeData:ya})),[ya,Sa,wn,Nt,Xa]);return ze.createElement(ze.Fragment,null,ma)};var Ot=(0,pe.connect)(({pathsDetail:ot,loading:Ie,user:Pt,globalSetting:tn})=>({pathsDetail:ot,globalSetting:tn,user:Pt,loading:Ie.effects}))(kt),Le=oe(33538),rt=oe(79346),At=oe(8797),gt=oe(5871),St=oe(12290);const on=({user:ot,onReplyDiscuss:Ie,dispatch:Pt,id:tn,activeDiscussIndex:Dn,params:jn})=>{const[Nt,Xt]=(0,ne.useState)("");function Ut(En){Xt(En)}console.log(jn,"params33");function It(){if(!Nt){Ne.ZP.info("\u56DE\u590D\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A!");return}Ie(tn,Nt),Xt("")}return ne.createElement("div",{key:tn,className:"discuss-item-editor",style:{display:Dn===tn?"block":"none",width:"100%"}},ne.createElement(St.Z,{miniToolbar:!0,startInit:Dn===tn,defaultValue:Nt,id:tn,noStorage:!0,watch:!1,height:155,placeholder:"\u6211\u8981\u56DE\u590D",showResizeBar:!0,onChange:Ut}),ne.createElement("a",{onClick:It,className:"btn-send"},"\u53D1\u9001"))};var mn=(0,pe.connect)(({shixunsDetail:ot,loading:Ie,globalSetting:Pt})=>({shixunsDetail:ot,globalSetting:Pt,loading:Ie.models.index}))(on),dn=(ot,Ie,Pt)=>new Promise((tn,Dn)=>{var jn=Ut=>{try{Xt(Pt.next(Ut))}catch(It){Dn(It)}},Nt=Ut=>{try{Xt(Pt.throw(Ut))}catch(It){Dn(It)}},Xt=Ut=>Ut.done?tn(Ut.value):Promise.resolve(Ut.value).then(jn,Nt);Xt((Pt=Pt.apply(ot,Ie)).next())});const vn=({user:ot,upDataList:Ie,params:Pt,page:tn,getTypeNumber:Dn,dispatch:jn,keywords:Nt})=>{const Xt=(Ut,It)=>dn(void 0,null,function*(){const En=yield(0,yt.ke)({id:Ut,content:It});(En==null?void 0:En.status)===0&&Ie(1,Nt)});return ne.createElement("div",{className:"discuss-item-container bg-white"},ne.createElement("a",{href:`/users/${ot.login}`,target:"_blank"},ne.createElement("img",{alt:"\u7528\u6237\u5934\u50CF",height:"50",src:`${me.Z.IMG_SERVER}/images/${ot.image_url}`,width:"50"})),ne.createElement("section",null,ne.createElement(mn,{id:Pt.pathId,params:Pt,activeDiscussIndex:Pt.pathId,onReplyDiscuss:Xt})))};var Wn=(0,pe.connect)(({shixunsDetail:ot,loading:Ie,globalSetting:Pt})=>({shixunsDetail:ot,globalSetting:Pt,loading:Ie.models.index}))(vn),fn=oe(64881);function Zn(ot,Ie=1){return get("/discusses.json",{page:Ie-1,container_identifier:ot,container_type:"Shixun"})}function $n(ot,Ie){return(0,ue.v_)(`/discusses/${ot}/top_or_down_discuss.json`,{top:Ie})}function ta(ot,Ie){return(0,ue.v_)(`/discusses/${ot}/plus.json`,{container_type:"Discuss",type:Ie?1:0})}function Mn(ot,Ie){return(0,ue.v_)(`/discusses/${ot}/hidden.json`,Ie)}function ua(ot,Ie){return(0,ue.v_)(`/discusses/${ot}/reward_code.json`,Ie)}function Qn(ot){return(0,ue.ZP)(`/api/discusses/${ot}.json`,{method:"delete"})}function Yn(ot,Ie){return(0,ue.v_)(`/discusses/${ot}/reply.json`,{container_type:"Shixun",content:Ie})}function ca(ot){return post("/discusses.json",ot)}var Ca=oe(85149),ln=oe(70714),gn=oe(34604);function An({data:ot,index:Ie,adminOrOperator:Pt,parentDiscussIndex:tn,shixunIdentifier:Dn,isDelete:jn,user:Nt,onSetRewardData:Xt,onSetActionType:Ut,params:It,deleteCommentAlert:En,shixunName:sn,keywords:In}){const{author:Hn,can_delete:bn,manage:wn,content:va,hidden:Sa,id:Na,reward:On,time:ya}=ot;function Pa(){Xt({id:Na,index:Ie,user_id:Hn.user_id,parentDiscussIndex:tn})}function qn(){Ut({id:Na,index:Ie,params:{hidden:Sa?"0":"1",container_identifier:Dn},type:"hidden-discuss",parentDiscussIndex:tn,message:Sa?"\u786E\u5B9A\u8981\u53D6\u6D88\u9690\u85CF\u8BE5\u6761\u56DE\u590D\u5417":"\u786E\u5B9A\u8981\u9690\u85CF\u8BE5\u6761\u56DE\u590D\u5417"})}function aa(){if(En){Oe.default.info({title:"\u63D0\u793A",content:ne.createElement("div",{className:"tc"}," ","\u8BE5\u6761\u8BC4\u8BBA\u6765\u81EA\u300A",sn,"\u300B\u5B9E\u8DF5\u9879\u76EE\uFF0C\u60A8\u4E0D\u662F\u8BE5\u5B9E\u8DF5\u9879\u76EE\u7684\u7BA1\u7406\u8005\uFF0C\u4E0D\u80FD\u5220\u9664\u8BC4\u8BBA\uFF01"),onOk(){}});return}Ut({id:Na,index:Ie,type:"delete-discuss",parentDiscussIndex:tn,message:"\u786E\u5B9A\u8981\u5220\u9664\u8BE5\u6761\u56DE\u590D\u5417"})}return ne.createElement("div",{className:"second-level-discuss"},ne.createElement("div",{className:"discuss-info-body"},ne.createElement("div",{className:"discuss-info"},ne.createElement("a",{href:`/users/${Hn.login}`,target:"_blank"},Hn.name),ne.createElement("span",{className:"grey"},ya),On?ne.createElement("a",{className:"c-orange gift",title:`\u5DF2\u5956\u52B1\u91D1\u5E01${On}`},ne.createElement("i",{className:"iconfont icon-gift c-orange "}),ne.createElement("span",null,On)):null),ne.createElement("div",{className:In?"hidden":"btn-group"},Pt?ne.createElement("a",{onClick:Pa,title:"\u7ED9TA\u5956\u52B1\u91D1\u5E01"},ne.createElement("i",{className:"iconfont icon-jiangli"})):null,Pt?ne.createElement("a",{onClick:qn,title:Sa?"\u53D6\u6D88\u9690\u85CF":"\u9690\u85CF\u8BC4\u8BBA"},ne.createElement("i",{className:Sa?"iconfont icon-yincangbiyan":"fa fa-eye"})):null,wn?ne.createElement("a",{onClick:aa,title:"\u5220\u9664"},ne.createElement("i",{className:"iconfont icon-shanchu"})):null)),ne.createElement(Ca.Z,{className:"discuss-content",value:va,highlightKeywords:In}))}var Sn=({data:ot,index:Ie,shixunIdentifier:Pt,adminOrOperator:tn,identity:Dn,onTopOrDownDiscuss:jn,onPlusDiscuss:Nt,onSetActionType:Xt,onSetRewardData:Ut,user:It,isDelete:En,activeDiscussIndex:sn,onReplyDiscuss:In,onSetActiveDiscussIndex:Hn,params:bn,keywords:wn})=>{const{content:va,children:Sa,game_url:Na,hidden:On,id:ya,position:Pa,praise_count:qn,reward:aa,sticky:Ka,time:Ra,user_praise:Wa,game_passed:Ea,delete_comment_alert:Da,author:ka,shixun_name:ea,manage:ra}=ot;function na(){Hn(ya)}function za(){jn(ya,!Ka,Ie)}function Ma(){Nt(ya,!Wa,Ie)}function Ya(){Ut({id:ya,index:Ie,user_id:ka.user_id})}function xa(){if(Da){Oe.default.info({title:"\u63D0\u793A",content:ne.createElement("div",{className:"tc"}," ","\u8BE5\u6761\u8BC4\u8BBA\u6765\u81EA\u300A",ea,"\u300B\u5B9E\u8DF5\u9879\u76EE\uFF0C\u60A8\u4E0D\u662F\u8BE5\u5B9E\u8DF5\u9879\u76EE\u7684\u7BA1\u7406\u8005\uFF0C\u4E0D\u80FD\u5220\u9664\u8BC4\u8BBA\uFF01"),onOk(){}});return}Xt({id:ya,index:Ie,type:"delete-discuss",message:"\u786E\u5B9A\u8981\u5220\u9664\u8BE5\u6761\u56DE\u590D\u5417"})}function Xa(){Xt({id:ya,index:Ie,params:{hidden:On?"0":"1",container_identifier:Pt},type:"hidden-discuss",message:On?"\u786E\u5B9A\u8981\u53D6\u6D88\u9690\u85CF\u8BE5\u6761\u56DE\u590D\u5417":"\u786E\u5B9A\u8981\u9690\u85CF\u8BE5\u6761\u56DE\u590D\u5417"})}const oa=Un=>{let{nodeName:ma,src:Zt}=Un.target;ma==="IMG"&&(gn.Z.publish("preview-image",Zt),console.log("src:",Zt))};return ne.createElement("div",{className:"discuss-item-container",key:ya},ne.createElement("a",{href:`/users/${ka.login}`,target:"_blank"},ne.createElement("img",{alt:"\u7528\u6237\u5934\u50CF",height:"50",src:`${me.Z.IMG_SERVER}/images/${ka.image_url}`,width:"50"})),ne.createElement("section",null,ne.createElement("div",{className:"discuss-info"},ne.createElement("a",{href:`/users/${ka.login}`,target:"_blank"},ka.name),ne.createElement("span",{className:"grey"},Ra),Pa?ne.createElement("span",{className:"c-green"}," [\u7B2C",Pa,"\u5173] "):null,Na?ne.createElement("a",{href:Na,target:"_blank",className:"view-code",title:"\u70B9\u51FB\u67E5\u770BTA\u7684\u4EE3\u7801\u9875\u9762"},"\u67E5\u770B"):null,aa?ne.createElement("a",{className:"c-orange gift",title:`\u5DF2\u5956\u52B1\u91D1\u5E01${aa}`},ne.createElement("i",{className:"iconfont icon-gift c-orange "}),ne.createElement("span",null,aa)):null,Dn<=5?ne.createElement("span",{style:{flex:"1",textAlign:"right",color:Ea===1?"#29bd8b":""}},Ea||Ea===0?Ea===1?"\u5DF2\u901A\u5173":"\u672A\u901A\u5173":""):null),ne.createElement("div",{onClick:oa},ne.createElement(Ca.Z,{className:"discuss-content",value:va,highlightKeywords:wn})),Sa&&Sa.length>0?ne.createElement("div",{className:"reply-discuss-container",onClick:oa},Sa.map((Un,ma)=>ne.createElement(An,{key:Un.id,data:Un,index:ma,deleteCommentAlert:Da,shixunName:ea,shixunIdentifier:Pt,adminOrOperator:tn,user:It,isDelete:En,onSetRewardData:Ut,onSetActionType:Xt,parentDiscussIndex:Ie,keywords:wn}))):null,ne.createElement("div",{className:wn?"hidden":"btn-group"},tn?ne.createElement("a",{onClick:Ya,title:"\u7ED9TA\u5956\u52B1\u91D1\u5E01"},ne.createElement("i",{className:"iconfont icon-jiangli"})):null,tn?ne.createElement("a",{onClick:Xa,title:On?"\u53D6\u6D88\u9690\u85CF":"\u9690\u85CF\u8BC4\u8BBA"},ne.createElement("i",{className:On?"iconfont icon-yincangbiyan":"fa fa-eye"})):null,ra&&(!Sa||Sa.length==0)&&ne.createElement("a",{onClick:xa,title:"\u5220\u9664"},ne.createElement("i",{className:"iconfont icon-shanchu"})),ne.createElement("a",{onClick:na,title:"\u56DE\u590D"},ne.createElement("i",{className:"iconfont icon-huifu1"})),ne.createElement("a",{onClick:Ma,className:Wa?"c-orange":""},ne.createElement("i",{className:Wa?"iconfont icon-dianzan mr3":"iconfont icon-dianzan-xian mr3 "}),ne.createElement("span",null,qn||""))),ne.createElement(mn,{id:ya,params:bn,activeDiscussIndex:sn,onReplyDiscuss:In})))},Fn=Object.defineProperty,Kn=Object.defineProperties,Rn=Object.getOwnPropertyDescriptors,at=Object.getOwnPropertySymbols,mt=Object.prototype.hasOwnProperty,ut=Object.prototype.propertyIsEnumerable,Yt=(ot,Ie,Pt)=>Ie in ot?Fn(ot,Ie,{enumerable:!0,configurable:!0,writable:!0,value:Pt}):ot[Ie]=Pt,un=(ot,Ie)=>{for(var Pt in Ie||(Ie={}))mt.call(Ie,Pt)&&Yt(ot,Pt,Ie[Pt]);if(at)for(var Pt of at(Ie))ut.call(Ie,Pt)&&Yt(ot,Pt,Ie[Pt]);return ot},rn=(ot,Ie)=>Kn(ot,Rn(Ie)),Xn=(ot,Ie,Pt)=>new Promise((tn,Dn)=>{var jn=Ut=>{try{Xt(Pt.next(Ut))}catch(It){Dn(It)}},Nt=Ut=>{try{Xt(Pt.throw(Ut))}catch(It){Dn(It)}},Xt=Ut=>Ut.done?tn(Ut.value):Promise.resolve(Ut.value).then(jn,Nt);Xt((Pt=Pt.apply(ot,Ie)).next())});const kn={showRewardDialog:!1,data:null,page:1,loading:!1,actionType:null,activeDiscussIndex:null};function pn(ot,Ie){switch(Ie.type){case fn.tD:return rn(un({},ot),{loading:!0});case fn.RS:return rn(un({},ot),{showRewardDialog:!0});case fn.t2:return rn(un({},ot),{showRewardDialog:!1});case fn.GR:return un(un({},ot),Ie.payload);case fn.u8:return un(un({},ot),Ie.payload);case fn.rM:return un(un({},ot),Ie.payload);case fn.yS:return un(un({},ot),Ie.payload);case fn.Vn:return un(un({},ot),Ie.payload);case fn.SX:return un(un({},ot),Ie.payload);default:throw new Error}}var Vn=({shixunIdentifier:ot,identity:Ie,activeIndex:Pt,user:tn,isShixunDetail:Dn=!1,isDelete:jn,getTypeNumber:Nt,params:Xt,getData:Ut,isNotDiscuss:It,keywords:En,setTypeCount:sn})=>{const[In,Hn]=(0,ne.useReducer)(pn,kn),{page:bn,loading:wn,data:va,actionType:Sa,showRewardDialog:Na,activeDiscussIndex:On}=In,ya=(0,ne.useRef)(),Pa=(0,ne.useRef)();function qn(Un){return Xn(this,null,function*(){if(!wn)try{Hn({type:fn.tD});const ma=yield(0,yt.Mu)({coursesId:Xt==null?void 0:Xt.pathId,page:Un,keywords:En});sn(ma==null?void 0:ma.disscuss_count),Hn({type:fn.GR,payload:{activeDiscussIndex:null,page:Un,data:ma,loading:!1}})}catch(ma){console.log(ma)}})}function aa(Un){document.body.scrollIntoView(),qn(Un)}function Ka(Un,ma,Zt){return Xn(this,null,function*(){try{const ia=yield ta(Un,ma);xa[Zt].user_praise=ma,xa[Zt].praise_count=ia.praise_count,Hn({type:fn.rM,payload:{data:rn(un({},va),{comments:xa})}})}catch(ia){console.log(ia)}})}function Ra(Un,ma,Zt){return Xn(this,null,function*(){try{yield $n(Un,ma),xa[Zt].sticky=ma,Hn({type:fn.u8,payload:{data:rn(un({},va),{comments:xa})}})}catch(ia){console.log(ia)}})}function Wa(){Hn({type:fn.yS,payload:{actionType:null}})}function Ea(){return Xn(this,null,function*(){const{id:Un,params:ma,type:Zt,index:ia,parentDiscussIndex:ha}=Sa;if(Zt==="hidden-discuss"&&(yield Mn(Un,ma),ha?xa[ha].children[ia].hidden=ma.hidden==1:xa[ia].hidden=ma.hidden==1,Hn({type:fn.yS,payload:{actionType:null,data:rn(un({},va),{comments:xa})}})),Zt==="delete-discuss"){if(yield Qn(Un),ha||ha===0){let Pn=xa[ha].children;for(let cn=Pn.length-1;cn>=0;cn--)if(Pn[cn].id===Un){Pn.splice(cn,1);break}xa[ha].children=Pn}else for(let Pn=xa.length-1;Pn>=0;Pn--)if(xa[Pn].id===Un){xa.splice(Pn,1);break}Hn({type:fn.yS,payload:{actionType:null,data:rn(un({},va),{comments:xa})}})}})}function Da(Un){Hn({type:fn.yS,payload:{actionType:Un}})}function ka(){Hn({type:fn.t2})}function ea(){return Xn(this,null,function*(){const{id:Un,index:ma,score:Zt,user_id:ia,parentDiscussIndex:ha}=ya.current,Pn=yield ua(Un,{container_type:"Discusses",score:Zt,user_id:ia});ha?xa[ha].children[ma].reward=Pn.code:xa[ma].reward=Pn.code,Hn({type:fn.Vn,payload:{showRewardDialog:!1,data:rn(un({},va),{comments:xa})}}),ya.current=null})}function ra(Un){ya.current=Un,Hn({type:fn.RS})}function na(Un){ya.current.score=Un}function za(Un,ma){return Xn(this,null,function*(){try{yield Yn(Un,ma),qn(bn),Ut()}catch(Zt){console.log(Zt)}})}function Ma(Un){Hn(On===Un?{type:fn.SX,payload:{activeDiscussIndex:null}}:{type:fn.SX,payload:{activeDiscussIndex:Un}})}if((0,ne.useEffect)(()=>{function Un(){return Xn(this,null,function*(){Pt===3&&!va&&ot&&(yield qn(bn))})}Un()},[Xt.pathId,En]),(0,ne.useEffect)(()=>{qn()},[En]),!va)return!Dn&&ne.createElement(Le.Z,null);const{disscuss_count:Ya,comments:xa,all:Xa,can_hidden:oa}=va;return ne.createElement(ne.Fragment,null,ne.createElement("div",{className:"discuss-container discuss-warp-container",ref:Pa},!Dn&&wn?ne.createElement(Le.Z,null):null,Ya===0?ne.createElement("div",{style:{display:"flex"}},ne.createElement(At.Z,null)):null,(0,fe.bg)()&&!It&&!En&&ne.createElement(Wn,{getTypeNumber:Nt,upDataList:qn,page:bn,user:tn,params:Xt,keywords:En}),ne.createElement("aside",{className:"bg-white"},xa==null?void 0:xa.map((Un,ma)=>ne.createElement(Sn,{user:tn,key:Un.id,data:Un,index:ma,identity:Ie,onPaginationChange:aa,shixunIdentifier:ot,isDelete:jn,onSetActionType:Da,onTopOrDownDiscuss:Ra,adminOrOperator:oa,onPlusDiscuss:Ka,onSetRewardData:ra,activeDiscussIndex:On,onSetActiveDiscussIndex:Ma,onReplyDiscuss:za,keywords:En}))),Ya>10?ne.createElement("div",{className:"pagination-container tc"},ne.createElement(ie.Z,{showQuickJumper:!0,showSizeChanger:!1,onChange:aa,current:bn,total:Ya})):null),ne.createElement(rt.Z,null,ne.createElement(Oe.default,{centered:!0,title:"\u63D0\u793A",open:!!Sa,onOk:Ea,onCancel:Wa},ne.createElement("p",null,Sa?Sa.message:"")),ne.createElement(Oe.default,{centered:!0,width:400,title:"\u5956\u52B1\u8BBE\u7F6E",open:Na,onCancel:ka,onOk:ea},ne.createElement(gt.Z,{placeholder:"\u8BF7\u8F93\u5165\u5956\u52B1\u7684\u91D1\u5E01\u6570\u91CF",min:1,onChange:na,style:{width:"228px"}}))))},_t=oe(29458),ye=oe(59301),qt=Object.defineProperty,yn=Object.defineProperties,hn=Object.getOwnPropertyDescriptors,Cn=Object.getOwnPropertySymbols,xe=Object.prototype.hasOwnProperty,pt=Object.prototype.propertyIsEnumerable,Ct=(ot,Ie,Pt)=>Ie in ot?qt(ot,Ie,{enumerable:!0,configurable:!0,writable:!0,value:Pt}):ot[Ie]=Pt,Et=(ot,Ie)=>{for(var Pt in Ie||(Ie={}))xe.call(Ie,Pt)&&Ct(ot,Pt,Ie[Pt]);if(Cn)for(var Pt of Cn(Ie))pt.call(Ie,Pt)&&Ct(ot,Pt,Ie[Pt]);return ot},Qt=(ot,Ie)=>yn(ot,hn(Ie)),jt=(ot,Ie)=>{var Pt={};for(var tn in ot)xe.call(ot,tn)&&Ie.indexOf(tn)<0&&(Pt[tn]=ot[tn]);if(ot!=null&&Cn)for(var tn of Cn(ot))Ie.indexOf(tn)<0&&pt.call(ot,tn)&&(Pt[tn]=ot[tn]);return Pt},Gt=(ot,Ie,Pt)=>new Promise((tn,Dn)=>{var jn=Ut=>{try{Xt(Pt.next(Ut))}catch(It){Dn(It)}},Nt=Ut=>{try{Xt(Pt.throw(Ut))}catch(It){Dn(It)}},Xt=Ut=>Ut.done?tn(Ut.value):Promise.resolve(Ut.value).then(jn,Nt);Xt((Pt=Pt.apply(ot,Ie)).next())});const Kt=ot=>{var Ie=ot,{classroomList:Pt,user:tn,globalSetting:Dn,loading:jn,dispatch:Nt}=Ie,Xt=jt(Ie,["classroomList","user","globalSetting","loading","dispatch"]),Ut;const It=(0,pe.useParams)(),{detailTopBanner:En}=Pt,[sn,In]=(0,ne.useState)([]),[Hn,bn]=(0,ne.useState)({}),[wn,va]=(0,ne.useState)(-1),[Sa,Na]=(0,ne.useState)(!1),[On,ya]=(0,ne.useState)({name:"",is_jupyter:!1}),[Pa]=Je.default.useForm(),[qn]=Je.default.useForm(),[aa]=Je.default.useForm(),[Ka,Ra]=(0,ne.useState)(!1),[Wa,Ea]=(0,ne.useState)(),[Da,ka]=(0,ne.useState)([]),[ea,ra]=(0,ne.useState)(),[na,za]=(0,ne.useState)("All"),[Ma,Ya]=(0,ne.useState)(!0),[xa,Xa]=(0,ne.useState)(0),[oa,Un]=(0,ne.useState)(""),[ma,Zt]=(0,ne.useState)(0),[ia,ha]=(0,ne.useState)([{name:"\u5168\u90E8",totalName:"\u8BFE\u7A0B\u5B66\u4E60",type:"All",number:0},{name:"\u5B9E\u8DF5\u9879\u76EE",totalName:"\u5B9E\u8DF5\u9879\u76EE",type:"Shixun",number:0},{name:"\u89C6\u9891\u9879\u76EE",totalName:"\u89C6\u9891\u9879\u76EE",type:"VideoItem",number:0},{name:"\u6559\u5B66\u8BFE\u4EF6",totalName:"\u6559\u5B66\u8BFE\u4EF6",type:"Attachment",number:0},{name:"\u8BA8\u8BBA",totalName:"\u8BA8\u8BBA",type:"Discusses",number:0},{name:"\u5173\u5361",totalName:"\u5173\u5361",type:"challenges_count",number:0}]),Pn=(0,ne.useRef)();(0,ne.useEffect)(()=>{la()},[It==null?void 0:It.coursesId]),(0,ne.useEffect)(()=>{Pt.actionTabs.key==="\u76EE\u5F55\u91CD\u547D\u540D\u6210\u529F"&&la()},[Pt.actionTabs.key]),(0,ne.useEffect)(()=>{Bn()},[Hn]),(0,ne.useEffect)(()=>{const en=sn.map(sa=>sa.items);let Nn=0;en.map(sa=>{sa.map(Ga=>{new RegExp(oa,"ig").test(Ga.name)&&(Ga.item_type===na||na==="All")&&Nn++})}),Nn>ia.find(sa=>sa.type===na).number&&(Nn=ia.find(sa=>sa.type===na).number),Zt(Nn)},[sn,na,oa]),(0,ne.useEffect)(()=>{if(!Pn.current)return;function en(){var sa;let Ga=new ResizeObserver(er=>{for(let pr of er);});return Ga.observe((sa=Pn.current)==null?void 0:sa.firstElementChild),Ga}const Nn=en();return()=>{var sa,Ga;(sa=Pn.current)!=null&&sa.firstElementChild&&Nn.unobserve((Ga=Pn.current)==null?void 0:Ga.firstElementChild)}},[Pn.current,sn]);const cn=en=>Gt(void 0,null,function*(){const Nn=yield(0,de.Ex)(Et({},en));return sn[wn].items=en.list,Nn}),Bn=()=>{const{shixuns_count:en=0,videos_count:Nn=0,pdf_attachments_count:sa=0,disscuss_count:Ga=0,challenges_count:er=0}=Hn,pr={All:en+Nn+sa+er,Shixun:en,VideoItem:Nn,Attachment:sa,Discusses:Ga,challenges_count:er},Er=ia.map(Qa=>Qt(Et({},Qa),{number:pr[Qa.type]}));ha(Er)},xn=en=>{var Nn;wn===-1?(Un((Nn=decodeURIComponent(en))==null?void 0:Nn.trim()),va(-1)):Ne.ZP.warning("\u8BF7\u5148\u53D6\u6D88\u7F16\u8F91\u72B6\u6001")},ba=en=>Gt(void 0,null,function*(){Nt({type:"globalSetting/setGlobalLoading",payload:{show:!0,text:"\u6B63\u5728\u8FDB\u5165\u5B9E\u8DF5\u9879\u76EE\uFF0C\u8BF7\u7A0D\u540E..."}});const Nn=yield(0,y.Ir)({id:en});if(Nt({type:"globalSetting/setGlobalLoading",payload:{show:!1,text:""}}),Nn!=null&&Nn.game_identifier){(0,a.xg)(`/tasks/${Nn.game_identifier}`);return}(Nn==null?void 0:Nn.status)===2?$t(Nn==null?void 0:Nn.message):(Nn==null?void 0:Nn.status)===3&&La(Nn==null?void 0:Nn.message)}),$t=en=>{en=en!=null&&en.includes(".json")?en:`${en}.json`,Oe.default.confirm({centered:!0,title:"\u63D0\u793A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",content:ye.createElement("div",{className:"tc font16"},"\u5B9E\u8BAD\u5DF2\u7ECF\u66F4\u65B0\u4E86\uFF0C\u6B63\u5728\u4E3A\u60A8\u91CD\u7F6E!"),onOk:()=>Gt(void 0,null,function*(){const Nn=yield(0,nn.L8)({url:en});if(!Nn)return;Ne.ZP.success("\u91CD\u7F6E\u6210\u529F\uFF0C\u6B63\u5728\u8FDB\u5165\u5B9E\u8DF5\u9879\u76EE\uFF01");const sa=yield(0,y.Ir)({id:Nn.shixun_identifier});if(sa!=null&&sa.game_identifier){(0,a.xg)(`/tasks/${sa.game_identifier}`);return}(sa==null?void 0:sa.status)===2?$t(sa==null?void 0:sa.message):(sa==null?void 0:sa.status)===3&&La(sa==null?void 0:sa.message)})})},La=en=>{Oe.default.confirm({centered:!0,title:"\u63D0\u793A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",content:ye.createElement("div",{className:"tc font16"},"\u76EE\u524D\u8BE5\u5B9E\u8DF5\u9879\u76EE\u5C1A\u5728\u5185\u6D4B\u4E2D\uFF0C\u5C06\u4E8E",en,"\u4E4B\u540E\u5F00\u653E\uFF0C\u8C22\u8C22\uFF01")})},Aa=()=>{const en={shixuns_list:[],items:[]};Ia(sn.length,en),In([...sn,en]),Ea(!0)},wa=()=>{wn===sn.length-1&&Wa&&(fr(),In(sn.filter((en,Nn)=>Nn!==sn.length-1))),la(),va(-1)},Ia=(en,Nn)=>{nr()&&(va(en),Pa.setFieldsValue({name:Nn.stage_name,description:Nn.stage_description}))},Fa=en=>{var Nn;setTimeout(()=>{document.documentElement.scrollTop=xa},300),en!=="\u53D6\u6D88"&&(sn[wn].items=(Nn=sn[wn].items)==null?void 0:Nn.concat(en),In([...sn]))},Va=en=>{var Nn;en.map(sa=>(sa.type="Attachment",sa.id=sa.id||sa.response.id,sa.url=`/api/attachments/${sa.id||sa.response.id}`,sa)),sn[wn].items=(Nn=sn[wn].items)==null?void 0:Nn.concat(en),In([...sn])},fa=en=>Gt(void 0,null,function*(){const Nn=yield(0,de.A2)(Et({id:sn[wn].stage_id,course_id:It.coursesId},en));if(Nn.id){ra(!1);const sa=[Et({},Nn)];sn[wn].items=sn[wn].items.concat(sa),In([...sn])}return Nn}),la=()=>Gt(void 0,null,function*(){Ya(!0);const en=yield(0,de.R7)({coursesId:It==null?void 0:It.coursesId});en!=null&&en.stages&&In(en!=null&&en.stages?[...en==null?void 0:en.stages]:[]),bn(en?Et({},en):{}),Ya(!1),fr(),va(-1)}),Za=(en,Nn)=>Gt(void 0,null,function*(){var sa;if(!(en!=null&&en.name))return Ne.ZP.info("\u8BF7\u5148\u8F93\u5165\u7AE0\u8282\u540D\u79F0\uFF01");fr();const Ga=[];if((sa=sn[wn][Nn||"shixuns_list"])==null||sa.map(er=>{Ga.push({type:er.item_type,id:er.id})}),Wa){const er=yield(0,de.CI)(Qt(Et({},en),{coursesId:It.coursesId,list:Ga}));er&&(sn[wn]=Et(Et({},sn[wn]),er))}else{const er=yield(0,de.xn)(Qt(Et({},en),{id:sn[wn].stage_id,type:Array.from(new Set(Ga.map(pr=>pr.type))),list:Ga}));er&&(sn[wn]=Et(Et({},sn[wn]),er))}}),Ta=(en,Nn,sa)=>{const Ga=Array.from(en),[er]=Ga.splice(Nn,1);return Ga.splice(sa,0,er),Ga},pa=(en,Nn)=>{Oe.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u786E\u5B9A\u5220\u9664\u8BE5\u5B9E\u8BAD\u5417\uFF1F",onOk:()=>{sn[wn][Nn||"shixuns_list"].splice(en,1),Ne.ZP.success("\u5220\u9664\u6210\u529F"),In([...sn]),Za(Pa.getFieldsValue(),Nn)}})},ga=en=>{Oe.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u786E\u5B9A\u5220\u9664\u8BE5\u7AE0\u8282\u5417\uFF1F",onOk:()=>Gt(void 0,null,function*(){(yield(0,de._V)({id:en})).status===0&&(va(-1),Ne.ZP.success("\u5220\u9664\u6210\u529F"),la())})})},ja=en=>{Oe.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u786E\u5B9A\u5220\u9664\u8BE5\u7AE0\u8282\u5417\uFF1F",onOk:()=>Gt(void 0,null,function*(){(yield(0,de.WW)(Et({},en))).status===0&&(va(-1),Ne.ZP.success("\u5220\u9664\u6210\u529F"),la())})})},_a=()=>{ya({name:"",is_jupyter:!1}),qn.setFieldsValue({name:"",is_jupyter:!1}),Na(!1)},Ja=(en,Nn)=>{if(!en.destination)return;const sa=Ta(sn[wn][Nn||"shixuns_list"],en.source.index,en.destination.index);sn[wn][Nn||"shixuns_list"]=sa,In([...sn]),Za(Pa.getFieldsValue(),Nn)},ir=en=>Gt(void 0,null,function*(){if(!nr())return;(yield(0,de.ms)({id:en})).status===0&&la()}),sr=en=>Gt(void 0,null,function*(){if(!nr())return;(yield(0,de.yy)({id:en})).status===0&&la()}),nr=()=>wn!==-1?(Oe.default.info({centered:!0,width:400,okText:"\u77E5\u9053\u5566",icon:null,title:"\u63D0\u793A",content:ye.createElement("div",{className:"tc font14"},"\u5F53\u524D\u5355\u5143\u6709\u672A\u4FDD\u5B58\u7684\u4FEE\u6539\u8BB0\u5F55\uFF0C\u8BF7\u5148\u4FDD\u5B58\uFF01"),onOk:()=>{const en=`Edit_${wn}`;let Nn=document.getElementById(en);Nn&&setTimeout(()=>Nn.scrollIntoView({block:"start",behavior:"smooth"}))}}),!1):!0,ar=()=>{Za(Pa.getFieldsValue())},fr=()=>{Ea(!1)},vr=(en,Nn,sa)=>ye.createElement(Re.Z,{className:"list-item-row",align:"middle",key:Nn,gutter:[5,10]},ye.createElement(be.Z,null,en.item_type==="Shixun"?ye.createElement("i",{className:"iconfont c-green-shixun c-light-primary font20"}):ye.createElement("i",{className:"iconfont icon-shipin2 c-purple-8C1 font20"})),ye.createElement(be.Z,{flex:1,className:!en.allow_visit&&!en.to_be_built&&(en.shixun_status==="\u6682\u672A\u516C\u5F00"||en.shixun_status==="\u5DF2\u5220\u9664")?x.color204:""},sa+1,"-",Nn+1,"\xA0\xA0",en.name,wn===-1&&en.complete_status===1&&ye.createElement("span",{className:x.completed},ye.createElement("i",{className:"iconfont icon-duigou1 mr5 font12"}),"\u5DF2\u5B8C\u6210")),ye.createElement(be.Z,null,wn===sa&&ye.createElement("div",null,ye.createElement(qe.Z,{title:"\u5220\u9664"},ye.createElement("span",{onClick:()=>{pa(Nn,"shixuns_list")},className:"iconfont icon-shanchu c-grey-c"}))),wn!==sa&&en.item_type==="VideoItem"&&ye.createElement("aside",null,ye.createElement(_e.ZP,{type:"primary",href:en.link||`/video/${en.id}?course_id=${It==null?void 0:It.coursesId}`,target:"_blank"},en.last_point>0?"\u7EE7\u7EED\u5B66\u4E60":"\u5F00\u59CB\u5B66\u4E60")),(en.allow_visit||en.to_be_built||en.shixun_status!=="\u6682\u672A\u516C\u5F00"&&en.shixun_status!=="\u5DF2\u5220\u9664")&&wn!==sa&&en.item_type==="Shixun"&&ye.createElement("aside",null,ye.createElement(pe.Link,{to:`/shixuns/${en.identifier}/challenges`,target:"_blank"},"\u67E5\u770B\u8BE6\u60C5"),en.shixun_status!=="\u6682\u672A\u516C\u5F00"&&ye.createElement(_e.ZP,{className:"ml20",type:"primary",onClick:()=>{(0,Te.tJ)(Nt)&&ba(en.identifier)}},"\u5F00\u59CB\u5B9E\u6218")),wn===-1&&!en.allow_visit&&en.shixun_status==="\u6682\u672A\u516C\u5F00"&&ye.createElement("span",{className:x.color204},"\u6682\u672A\u516C\u5F00"),wn===-1&&!en.allow_visit&&en.shixun_status==="\u5DF2\u5220\u9664"&&ye.createElement("span",{className:x.color204},"\u5DF2\u5220\u9664"),wn===-1&&en.allow_visit&&en.item_type==="Shixun"&&ye.createElement("span",{className:`${x.color204} ml5 experiment-number`},"\u5B9E\u9A8C\u6570 ",en.challenges_count))),Ar=(en,Nn)=>{var sa,Ga,er,pr;if(na!=="All"&&!((sa=en.stage_tag)!=null&&sa.includes(na)))return null;const Er=en.items.filter(Qa=>{var lr,Fr;return new RegExp(oa,"ig").test(Qa.name)&&(Qa.item_type===na||na==="All"||((Fr=(lr=Qa==null?void 0:Qa.children)==null?void 0:lr.filter(gr=>{var xr,Gr;return gr.item_type===na||na==="All"||((Gr=(xr=gr==null?void 0:gr.children)==null?void 0:xr.filter(yo=>yo.item_type===na||na==="All"))==null?void 0:Gr.length)>0}))==null?void 0:Fr.length)>0)});return oa&&(Er!=null&&Er.length)||!oa?ye.createElement("section",{key:Nn,className:"bg-white pt30 mb20 pb20 pl10 pr10"},ye.createElement("aside",{className:"pl20 pr20"},ye.createElement(Re.Z,{gutter:[5,20],align:"middle",style:{lineHeight:"16px"}},ye.createElement(be.Z,{flex:"22px"},ye.createElement("span",{className:x.icons},ye.createElement("i",{className:"iconfont icon-zhangjie2 font18"}))),ye.createElement(be.Z,{flex:1,className:"tl font18 bold c-grey-333"},en.stage_name||`\u7B2C${sn==null?void 0:sn.length}\u90E8\u5206`),ye.createElement(be.Z,null,(0,fe.GJ)()&&wn===Nn&&!Wa&&ye.createElement(qe.Z,{title:"\u5220\u9664"},ye.createElement("span",{onClick:()=>{ga(en.stage_id)},className:"iconfont icon-shanchu c-grey-c"})),(0,fe.GJ)()&&wn!==Nn&&na==="All"&&!oa&&ye.createElement("div",null,Nn>0&&ye.createElement(qe.Z,{title:"\u5411\u4E0A\u79FB\u52A8"},ye.createElement("span",{onClick:()=>ir(en.stage_id),className:"iconfont icon-xiangshangyi c-light-green font18 current"})),Nnsr(en.stage_id),className:"iconfont icon-xiangxiayi c-light-green font18 current ml5"})),!Wa&&ye.createElement(qe.Z,{title:"\u7F16\u8F91"},ye.createElement("span",{onClick:()=>Ia(Nn,en),className:"iconfont icon-bianjidaibeijing c-light-green font20 current ml5"}))))),!!en.stage_description&&ye.createElement("div",{style:{marginTop:12}},ye.createElement("div",{ref:Pn,className:`${x.introContent} ${en!=null&&en.showReadFull?"":x.introContentMaxHeight}`},ye.createElement(Ca.Z,{value:en==null?void 0:en.stage_description})),(en==null?void 0:en.showExpansion)&&ye.createElement("div",{onClick:Qa=>{sn[Nn].showReadFull=!(en!=null&&en.showReadFull),In([...sn])}},ye.createElement(dt.Z,{dashed:!1,className:"",style:{cursor:"pointer"}},ye.createElement("a",{className:`font14 ${x.color999}`},en!=null&&en.showReadFull?"\u6536\u8D77\u5168\u6587 ":"\u9605\u8BFB\u5168\u6587 ",ye.createElement("i",{className:`iconfont font14 ${en!=null&&en.showReadFull?"icon-changyongtubiao-xianxingdaochu-zhuanqu-":"icon-jiantou9"}`})))))),wn===Nn&&ye.createElement("div",{className:"pl20 pr20 pt20"},ye.createElement("aside",null,ye.createElement(Je.default.Item,{name:"name",label:"\u540D\u79F0",rules:[{required:!0,message:"\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A"}]},ye.createElement(it.default,{size:"middle",maxLength:60,placeholder:`\u8BF7\u8F93\u5165\u7B2C${sn==null?void 0:sn.length}\u9636\u6BB5\u540D\u79F0,\u6700\u5927\u9650\u523660\u4E2A\u5B57\u7B26`,onBlur:ar})),ye.createElement(Je.default.Item,{name:"description",label:"\u63CF\u8FF0",rules:[{required:!0,message:"\u63CF\u8FF0\u4E0D\u80FD\u4E3A\u7A7A"}]},ye.createElement(it.default.TextArea,{rows:5,maxLength:300,placeholder:`\u8BF7\u8F93\u5165\u7B2C${sn==null?void 0:sn.length}\u9636\u6BB5\u63CF\u8FF0`,onBlur:ar}))),ye.createElement("aside",{style:{display:"flex",justifyContent:"space-evenly"}},ye.createElement(_e.ZP,{size:"middle",className:"mt10",onClick:()=>{if(!sn[wn].stage_id)return Ne.ZP.info("\u8BF7\u5148\u8F93\u5165\u7AE0\u8282\u540D\u79F0\uFF01");(0,Te.tJ)(Nt)&&(0,Te.xY)()&&(Na(!0),qn.setFieldsValue({name:"",is_jupyter:!1}))}},ye.createElement("span",{className:"iconfont icon-tianjiafangda mr5 "}),"\u65B0\u5EFA\u5B9E\u8DF5\u9879\u76EE"),ye.createElement("br",null),ye.createElement(_e.ZP,{size:"middle",className:"mt10",onClick:()=>{var Qa;if(!sn[wn].stage_id)return Ne.ZP.info("\u8BF7\u5148\u8F93\u5165\u7AE0\u8282\u540D\u79F0\uFF01");Xa(document.documentElement.scrollTop),Nt({type:"classroomList/setActionTabs",payload:{key:"\u9009\u7528\u5B9E\u8DF5\u9879\u76EE",id:sn[wn].stage_id,course_id:It.coursesId}}),ka((Qa=en==null?void 0:en.shixuns_list)==null?void 0:Qa.map(lr=>lr.id))}},ye.createElement("span",{className:"iconfont icon-tianjiafangda mr5"}),"\u9009\u7528\u5B9E\u8DF5\u9879\u76EE"),ye.createElement("br",null),!((Ga=Dn==null?void 0:Dn.setting)!=null&&Ga.is_local)&&ye.createElement(ye.Fragment,null,ye.createElement(_e.ZP,{size:"middle",className:"mt10",onClick:()=>{var Qa,lr;if(!sn[wn].stage_id)return Ne.ZP.info("\u8BF7\u5148\u8F93\u5165\u7AE0\u8282\u540D\u79F0\uFF01");((Qa=tn.userInfo)!=null&&Qa.admin||(lr=tn.userInfo)!=null&&lr.is_teacher&&(0,Te.O5)())&&ra(!0)}},ye.createElement("span",{className:"iconfont icon-tianjiafangda mr5 "}),"\u65B0\u5EFA\u89C6\u9891\u9879\u76EE"),ye.createElement("br",null)),ye.createElement(_e.ZP,{size:"middle",className:"mt10",onClick:()=>{if(!sn[wn].stage_id)return Ne.ZP.info("\u8BF7\u5148\u8F93\u5165\u7AE0\u8282\u540D\u79F0\uFF01");(0,Te.tJ)(Nt)&&(0,Te.xY)()&&(Ra(!0),aa.resetFields())}},ye.createElement("span",{className:"iconfont icon-tianjiafangda mr5 "}),"\u65B0\u5EFA\u6559\u5B66\u8BFE\u4EF6"),ye.createElement("br",null)),ye.createElement("aside",{className:"c-light-black mt10 pb20",id:`Edit_${Nn}`},"\u4E0B\u9762\u5B9E\u8BAD\u53EF\u4EE5\u901A\u8FC7\u62D6\u62FD\u8FDB\u884C\u6392\u5E8F\u8C03\u6574")),!!((er=en.attachments_list)!=null&&er.length)&&ye.createElement(dt.Z,null),ye.createElement("aside",{className:x.shixuns},wn===Nn?ye.createElement(se.Z5,{onDragEnd:Qa=>Ja(Qa,"attachments_list")},ye.createElement(se.bK,{droppableId:"droppable-id2"},(Qa,lr)=>{var Fr;return ye.createElement("div",Qt(Et({className:"mt20",ref:Qa.innerRef},Qa.droppableProps),{onScroll:()=>{}}),(Fr=en.attachments_list)==null?void 0:Fr.map(function(Cr,gr){return ye.createElement(se._l,{draggableId:`${Cr.id.toString()}-${Nn}-${gr}`,index:gr,key:Cr.id},(xr,Gr)=>ye.createElement("div",Et(Et({ref:xr.innerRef},xr.draggableProps),xr.dragHandleProps),ye.createElement(Re.Z,{className:"list-item-row",align:"middle",key:gr,gutter:[5,10]},ye.createElement(be.Z,null,ye.createElement("i",{className:"iconfont icon-kejian1 c-cyan-blue font20"})),ye.createElement(be.Z,{flex:"1"},ye.createElement("a",{className:"c-grey-333",href:me.Z.IMG_SERVER+Cr.url,target:"_blank"},Cr.name)),ye.createElement(be.Z,null,wn===Nn&&ye.createElement("div",null,ye.createElement(qe.Z,{title:"\u5220\u9664"},ye.createElement("span",{onClick:()=>{pa(gr,"attachments_list")},className:"iconfont icon-shanchu c-grey-c"})))))))}))})):ye.createElement("div",{className:"mt20"},(pr=en.attachments_list)==null?void 0:pr.map(function(Qa,lr){return ye.createElement("div",null,ye.createElement(Re.Z,{className:"list-item-row",align:"middle",key:lr,gutter:[5,10]},ye.createElement(be.Z,null,ye.createElement("i",{className:"iconfont icon-kejian1 c-cyan-blue font20"})),ye.createElement(be.Z,null,ye.createElement("a",{className:"c-grey-333",href:me.Z.IMG_SERVER+Qa.url,target:"_blank"},Qa.name))))}))),!!(Er!=null&&Er.length)&&ye.createElement(Ot,{visibleType:na,data:[...Er],stage_id:en.stage_id,disabled:wn!==Nn,deleteStages:ja,updateSort:cn,subject_id:Hn==null?void 0:Hn.subject_id,course_id:It==null?void 0:It.coursesId,index:Nn,cust_seq:!0,hiddenEditBtn:!0,keywords:oa,isShowSchedule:Hn==null?void 0:Hn.is_show_schedule,getData:la,showVideoPlay:!0}),wn===Nn&&ye.createElement("aside",{className:x.buttons},ye.createElement(_e.ZP,{onClick:wa,type:"primary",size:"middle",ghost:!0},"\u53D6\u6D88"),ye.createElement(_e.ZP,{onClick:wa,size:"middle",type:"primary"},"\u4FDD\u5B58"))):null},Mr=en=>{if(en){let sa=0;for(var Nn=0;Nn127||en.charCodeAt(Nn)==94?sa+=2:sa++;return sa}else return 0},eo=()=>{var en;for(let Nn in sn)Mr((en=sn[Nn])==null?void 0:en.stage_description)>424?sn[Nn].showExpansion=!0:sn[Nn].showExpansion=!1;return sn==null?void 0:sn.map(function(Nn,sa){return ye.createElement("div",{key:sa},Ar(Nn,sa))})},{start_date:to,course_end:ho}=En,So=ho||b()(b()().format("L")).valueOf(){};return ye.createElement("section",{className:"mb50"},ye.createElement(Dt,{data:Hn,dispatch:Nt,onReloadData:la}),ye.createElement("aside",{style:{justifyContent:"space-between",display:"flex",background:"#fff",alignItems:"center",paddingRight:"20px"}},ye.createElement("div",{className:x.actionTabs},ia.map(function(en,Nn){if(sn!=null&&sn.some(sa=>{var Ga;return(Ga=sa.stage_tag)==null?void 0:Ga.includes(en.type)})||en.type=="All"||en.type==="Discusses")return ye.createElement("div",{key:Nn,className:en.type===na?x.tabActive:x.tab,onClick:()=>{wn===-1?(za(en.type),va(-1)):Ne.ZP.warning("\u8BF7\u5148\u53D6\u6D88\u7F16\u8F91\u72B6\u6001")}},ye.createElement("div",{className:x.s1},en.name))})),ye.createElement("div",{style:{display:"flex",justifyContent:"center"}},ye.createElement(_t.t7,{style:{width:222,marginTop:"-3px"},className:(0,fe.G5)()?"mr20":"",placeholder:"\u8BF7\u8F93\u5165\u540D\u79F0\u8FDB\u884C\u641C\u7D22",onChange:xn}),(0,fe.G5)()&&ye.createElement(_e.ZP,{type:"primary",onClick:()=>Gt(void 0,null,function*(){Oe.default.confirm({title:"\u63D0\u793A",content:"\u540C\u6B65\u5F00\u653E\u8BFE\u7A0B\u8D44\u6E90\u540E\uFF0C\u4F1A\u9020\u6210\u5728\u7EBF\u5B66\u4E60\u5185\u6240\u6709\u8D44\u6E90\u5F3A\u5236\u540C\u6B65\u4E3A\u6700\u65B0\u5F00\u653E\u8BFE\u7A0B\u5185\u5BB9\uFF0C\u662F\u5426\u7EE7\u7EED\u540C\u6B65\uFF1F",okText:"\u540C\u6B65",cancelText:"\u53D6\u6D88",onOk:()=>Gt(void 0,null,function*(){(yield(0,ue.ZP)("/api/courses/sync_stages.json",{method:"post",body:{classroom_identifier:It==null?void 0:It.coursesId}})).status===0&&la()})})})},"\u66F4\u65B0"))),ye.createElement("div",{className:x.total},"\u5171",ye.createElement("span",null,oa?ma:ia.find(en=>en.type===na).number),"\u4E2A",ia.find(en=>en.type===na).totalName),oa&&ma===0&&na!=="Discusses"&&ye.createElement(At.Z,{styles:{margin:"0 auto",padding:"100px 0",backgroundColor:"#fff"}}),ye.createElement(et.Z,{loading:Ma,active:!0,avatar:{size:40},paragraph:{rows:5},className:"mt30"},na!=="Discusses"&&ye.createElement(ye.Fragment,null,ye.createElement(Je.default,{form:Pa,onFinish:Za},eo),(0,fe.GJ)()&&!Wa&&na==="All"&&wn===-1&&!oa&&ye.createElement("div",{className:x.addStage,onClick:Aa},ye.createElement("span",{className:x.color4CA},"+\u70B9\u51FB\u65B0\u5EFA\u9636\u6BB5"),"\uFF08\u6DFB\u52A0\u4E00\u4E2A\u6216\u591A\u4E2A\u5B9E\u8BAD/\u89C6\u9891\u9879\u76EE\uFF0C\u7EC4\u6210\u4E00\u4E2A\u9636\u6BB5\uFF09"))),na==="Discusses"&&ye.createElement("aside",{style:{paddingTop:25,background:"#fff"}},ye.createElement(Vn,{activeIndex:3,isNotDiscuss:So,getData:la,shixunIdentifier:11,coursesId:It==null?void 0:It.coursesId,params:{pathId:It==null?void 0:It.coursesId},identity:(Ut=tn.userInfo)==null?void 0:Ut.role,getTypeNumber:Bn,user:tn.userInfo,isShixunDetail:!0,keywords:oa,setTypeCount:Zt})),ye.createElement(Oe.default,{centered:!0,title:"\u65B0\u5EFA\u5B9E\u8DF5\u9879\u76EE",open:Sa,onOk:()=>Gt(void 0,null,function*(){yield qn.validateFields();const en=yield(0,de.vf)(Et({id:sn[wn].stage_id,course_id:It.coursesId},On));_a(),en.id&&(Ne.ZP.success("\u6DFB\u52A0\u6210\u529F"),Fa([en]))}),onCancel:_a},ye.createElement(Je.default,{form:qn,onValuesChange:en=>{ya(Et(Et({},On),en))}},ye.createElement(Je.default.Item,{label:"\u5B9E\u8BAD\u7C7B\u578B",name:"is_jupyter",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u5B9E\u8BAD\u7C7B\u578B"}]},ye.createElement(Xe.ZP.Group,null,ye.createElement(Xe.ZP,{defaultChecked:!0,value:!1},"\u666E\u901A\u5B9E\u8BAD"),ye.createElement(Xe.ZP,{value:!0},"jupyter\u5B9E\u8BAD"))),ye.createElement(Je.default.Item,{label:"\u5B9E\u8BAD\u540D\u79F0",name:"name",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5B9E\u8BAD\u540D\u79F0"}]},ye.createElement(it.default,{maxLength:60,suffix:ye.createElement("span",null,On.name.length,"/60")})))),ye.createElement(Oe.default,{centered:!0,title:"\u65B0\u5EFA\u6559\u5B66\u8BFE\u4EF6",open:Ka,onOk:()=>Gt(void 0,null,function*(){yield aa.validateFields();const en=yield aa.getFieldsValue();(yield(0,de.s0)({id:sn[wn].stage_id,course_id:It.coursesId,attachment_ids:en.files.map(sa=>sa.response.id)})).status===0&&(Ne.ZP.success("\u6DFB\u52A0\u6210\u529F"),Ra(!1),Va([...en.files]))}),onCancel:()=>Ra(!1)},ye.createElement(Je.default,{form:aa},ye.createElement(Je.default.Item,{label:"\u8BFE\u4EF6\u5185\u5BB9",name:"files",rules:[{required:!0,message:"\u8BF7\u4E0A\u4F20\u8BFE\u4EF6\u5185\u5BB9"}]},ye.createElement(Vt.Z,{maxSize:100,accept:"application/pdf",number:10})),ye.createElement(Je.default.Item,{label:"\u77E5\u8BC6\u6807\u7B7E",name:"test_lyl"},ye.createElement(it.default,{onClick:()=>Po})),ye.createElement("div",null,ye.createElement("span",{className:"c-red"},"\u6CE8\u610F\uFF1A"),ye.createElement("br",null),"1\u3001\u4E0A\u4F20\u8BFE\u4EF6\uFF0C\u5373\u8868\u793A\u60A8\u5DF2\u540C\u610F",ye.createElement(pe.Link,{target:"_blank",to:"/users/mmipb3zhj/videos/protocol"},"\u4E0A\u4F20\u5185\u5BB9\u534F\u8BAE"),"\uFF0C\u4E0D\u5F97\u4E0A\u4F20\u672A\u7ECF\u4ED6\u4EBA\u6388\u6743\u7684\u4F5C\u54C1\uFF1B",ye.createElement("br",null),"2\u3001\u4E0D\u652F\u6301\u65AD\u70B9\u7EED\u4F20\uFF0C\u5355\u4E2A\u6587\u4EF6\u5927\u5C0F\u8BF7\u52FF\u8D85\u8FC7100M\uFF1B",ye.createElement("br",null),"3\u3001\u5F53\u524D\u4EC5\u9650\u652F\u6301pdf\u6587\u4EF6\uFF1B",ye.createElement("br",null),"4\u3001\u6587\u4EF6\u540D\u5C06\u88AB\u81EA\u52A8\u8BFB\u53D6\u4E3A\u7CFB\u7EDF\u5185\u8BE5\u8BFE\u4EF6\u7684\u540D\u79F0\uFF0C\u4E0A\u4F20\u524D\u8BF7\u6CE8\u610F\u8FD9\u4E00\u70B9\uFF1B",ye.createElement("br",null),"5\u3001\u4E00\u6B21\u6700\u591A\u4E0A\u4F2010\u4E2A\u6587\u4EF6\u3002"))),ye.createElement(bt,{shixunIds:Da,cb:Fa}),ye.createElement(vt.Z,{visible:ea,onCancel:()=>ra(!1),onOk:fa}))};var Gn=(0,pe.connect)(({classroomList:ot,user:Ie,loading:Pt,globalSetting:tn})=>({classroomList:ot,user:Ie,globalSetting:tn,loading:Pt.models.index}))(Kt)},23538:function(wt,Mt,oe){"use strict";oe.d(Mt,{$J:function(){return Je},JZ:function(){return Oe},bN:function(){return be},jP:function(){return Re},rO:function(){return Ne}});var ne=oe(99064),pe=(qe,_e,dt)=>new Promise((it,et)=>{var Xe=a=>{try{y(dt.next(a))}catch(E){et(E)}},se=a=>{try{y(dt.throw(a))}catch(E){et(E)}},y=a=>a.done?it(a.value):Promise.resolve(a.value).then(Xe,se);y((dt=dt.apply(qe,_e)).next())});function Je(qe){return(0,ne.U2)(`libraries/${qe}.json`)}function Ne(qe){return(0,ne.U2)("library_tags.json",qe)}function Oe(qe){return pe(this,null,function*(){return(yield(0,ne.IV)(`attachments/${qe}.json`)).status===0})}function Re(qe){return(0,ne.v_)("libraries.json",qe)}function be(qe,_e){return(0,ne.gz)(`libraries/${qe}.json`,_e)}},15022:function(wt,Mt,oe){"use strict";oe.d(Mt,{Z:function(){return Pe}});var ne=oe(59301),pe=oe(89070),Je=oe(92832),Ne=oe(78241),Oe=oe(8591),Re=oe(43418),be=oe(93948),qe=oe(12563),_e=oe(24905),dt={modal:"modal___EKlPQ",uploadWrap:"uploadWrap___YGxav",upload:"upload___ouqG9",uploadLink:"uploadLink___nuif6",fileProgress:"fileProgress___tf4qy",fileCancel:"fileCancel___Bh3Wh",videoName:"videoName___Ra0NM",contentItem:"contentItem___zMdIq","tagsList-content":"tagsList-content___sDVph"},it=oe(5171),et=oe(24065),Xe=oe(8700),se=Object.defineProperty,y=Object.defineProperties,a=Object.getOwnPropertyDescriptors,E=Object.getOwnPropertySymbols,b=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable,te=(We,ve,Ue)=>ve in We?se(We,ve,{enumerable:!0,configurable:!0,writable:!0,value:Ue}):We[ve]=Ue,ae=(We,ve)=>{for(var Ue in ve||(ve={}))b.call(ve,Ue)&&te(We,Ue,ve[Ue]);if(E)for(var Ue of E(ve))x.call(ve,Ue)&&te(We,Ue,ve[Ue]);return We},ie=(We,ve)=>y(We,a(ve)),ue=(We,ve,Ue)=>new Promise((Bt,Tt)=>{var Ye=Jt=>{try{Ft(Ue.next(Jt))}catch(Rt){Tt(Rt)}},ft=Jt=>{try{Ft(Ue.throw(Jt))}catch(Rt){Tt(Rt)}},Ft=Jt=>Jt.done?Bt(Jt.value):Promise.resolve(Jt.value).then(Ye,ft);Ft((Ue=Ue.apply(We,ve)).next())});const{TextArea:de}=Je.default,fe=1024,Be=({user:We,globalSetting:ve,loading:Ue,dispatch:Bt,visible:Tt,editData:Ye,onCancel:ft=()=>{},onOk:Ft=()=>{},queryParams:Jt={}})=>{var Rt,bt;const Te=(0,pe.useParams)(),[lt]=Ne.default.useForm(),[Lt,De]=(0,ne.useState)([]),[tt,Dt]=(0,ne.useState)(!1),nn=(0,ne.useRef)(),[vt,Vt]=(0,ne.useState)(),[Fe,st]=(0,ne.useState)(!1),[yt,an]=(0,ne.useState)(!1),Wt=(0,et.Ny)()?3:1;(0,ne.useEffect)(()=>{var ke,xt,ht,zt,kt;Tt&&Ye&&(st(Ye.is_link),Vt(Ye.link),!Ye.is_link&&De([{name:(ke=Ye==null?void 0:Ye.video_item)==null?void 0:ke.file_name,loaded:100,videoId:(xt=Ye==null?void 0:Ye.video_item)==null?void 0:xt.video_id}]),Se(((ht=Ye==null?void 0:Ye.tags)==null?void 0:ht.map(Ot=>Ot==null?void 0:Ot.name))||[]),lt.setFieldsValue({name:Ye.name,description:Ye.description,attachment_id:(zt=Ye==null?void 0:Ye.video_item)==null?void 0:zt.attachment_id,allow_skip:(kt=Ye==null?void 0:Ye.video_item)==null?void 0:kt.allow_skip}))},[Ye,Tt]);const Ke=ke=>{st(!1);const xt=ke.name.toLowerCase();return xt&&xt.indexOf(".avi")==-1&&xt.indexOf(".flv")==-1&&xt.indexOf(".f4v")==-1&&xt.indexOf(".m4v")==-1&&xt.indexOf(".mov")==-1&&xt.indexOf(".mp4")==-1&&xt.indexOf(".rmvb")==-1&&xt.indexOf(".swf")==-1&&xt.indexOf(".webm")==-1&&xt.indexOf(".wmv")==-1?(Oe.ZP.info("\u4E0D\u652F\u6301\u7684\u89C6\u9891\u683C\u5F0F"),!0):ke.size>fe*Wt*1024*1024?(Oe.ZP.info(`\u89C6\u9891\u5927\u5C0F\u8D85\u8FC7${Wt}G`),!0):Lt!=null&&Lt.find(ht=>ht.name===ke.name)?(Oe.ZP.info("\u4F60\u4E0D\u80FD\u4E0A\u4F20\u540C\u4E00\u4E2A\u89C6\u9891\u6587\u4EF6\u540D\u79F0\uFF0C\u8BF7\u91CD\u65B0\u9009\u62E9\u3002"),!0):!1},Ve=(ke,xt)=>{Re.default.confirm({title:"\u63D0\u793A",centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",content:ne.createElement("div",{className:"tc"},"\u60A8\u786E\u8BA4\u8981",xt?"\u5220\u9664":"\u53D6\u6D88\u4E0A\u4F20","\u8BE5\u89C6\u9891\u5417\uFF1F"),onOk:()=>{xt?De([]):(nn.current.cancel(),De([]))}})},we=()=>ue(void 0,null,function*(){if(yield lt.validateFields(),!Fe&&!(Lt!=null&&Lt.length)||Fe&&!vt){Oe.ZP.info("\u8BF7\u5148\u4E0A\u4F20\u89C6\u9891\u6216\u8005\u6DFB\u52A0\u5916\u94FE");return}an(!0);const ke=Fe?{link:vt}:{video_id:Lt==null?void 0:Lt[0].videoId},xt=yield Ft(ae(ae(ae({},ke),Jt),{name:lt.getFieldValue("name"),attachment_id:lt.getFieldValue("attachment_id"),description:lt.getFieldValue("description"),tags:Ee,allow_skip:lt.getFieldValue("allow_skip")}));an(!1),console.log("res"),console.log(xt),xt!=null&&xt.id&&me()}),me=()=>{lt.resetFields(),De([]),Vt(null),Se([]),st(null)},Ge=()=>{ft(),me()},ze=()=>{var ke,xt,ht,zt,kt;return ne.createElement(ne.Fragment,null,!Fe&&!!(Lt!=null&&Lt.length)&&ne.createElement("div",{className:dt.fileProgress},((ke=Lt==null?void 0:Lt[0])==null?void 0:ke.loaded)==100?ne.createElement("div",{className:`${dt.videoName} font14`},(xt=Lt==null?void 0:Lt[0])==null?void 0:xt.name):ne.createElement(be.Z,{style:{width:"80%"},percent:(ht=Lt==null?void 0:Lt[0])==null?void 0:ht.loaded,status:((zt=Lt==null?void 0:Lt[0])==null?void 0:zt.loaded)==100?"normal":"active"}),ne.createElement("div",{className:dt.fileCancel,onClick:()=>{var Ot,Le;return Ve((Ot=Lt==null?void 0:Lt[0])==null?void 0:Ot.name,((Le=Lt==null?void 0:Lt[0])==null?void 0:Le.loaded)==100)}},((kt=Lt==null?void 0:Lt[0])==null?void 0:kt.loaded)===100?"\u5220\u9664":"\u53D6\u6D88\u4E0A\u4F20")),ne.createElement("div",{className:dt.uploadWrap,style:{display:Lt!=null&&Lt.length?"none":"flex"}},ne.createElement(Xe.Z,ie(ae({},Ce),{ref:nn}),ne.createElement("div",{className:dt.upload},ne.createElement("i",{className:"iconfont icon-shangchuanshipin1 mr5"}),"\u4E0A\u4F20\u89C6\u9891")),ne.createElement("label",{className:`${dt.upload} ${dt.uploadLink}`,onClick:()=>st(!0)},ne.createElement("i",{className:"iconfont icon-lianjie1 mr5"}),"\u6DFB\u52A0\u5916\u94FE")),Fe&&ne.createElement(Je.default,{className:"mt5",placeholder:"\u8BF7\u8F93\u5165\u89C6\u9891\u94FE\u63A5",value:vt,onChange:Ot=>Vt(Ot.target.value)}))},[Ee,Se]=(0,ne.useState)([]),nt=ke=>{if(ke.key=="Enter"){const xt=lt.getFieldValue("tag");if(lt.setFieldsValue({tag:""}),!xt){Oe.ZP.info("\u6807\u7B7E\u4E0D\u80FD\u4E3A\u7A7A");return}if(Ee.filter(ht=>ht===xt).length>0){Oe.ZP.info("\u5DF2\u6709\u76F8\u540C\u540D\u79F0\u6807\u7B7E");return}Ee.push(xt),Se([...Ee])}},Me=(ke,xt)=>{ke.preventDefault(),Se([...Ee.filter(ht=>ht!=xt)])},Ce={accept:".mkv, .flv, .f4v, .rmvb, .swf, video/mp4,video/x-m4v,video/flv,video/f4v,video/rmvb,video/swf,video/*",onBefore:Ke,onBeginInitFile:ke=>{De([{name:ke.filename,loaded:0}])},onComplete:ke=>{De([{name:ke.filename,loaded:ke.percent,videoId:ke.id}])},onError:()=>{De([])},onProgress:ke=>{De([{name:ke.filename,loaded:ke.percent}])},chunkSize:1024*1024*2,options:{user_id:(Rt=We==null?void 0:We.userInfo)==null?void 0:Rt.user_id}};return ne.createElement(Re.default,{centered:!0,maskClosable:!1,title:Ye?"\u7F16\u8F91\u89C6\u9891\u9879\u76EE":"\u65B0\u5EFA\u89C6\u9891\u9879\u76EE",width:740,className:dt.modal,open:Tt,confirmLoading:yt,onOk:we,onCancel:Ge},ne.createElement(Ne.default,{form:lt},ne.createElement(Ne.default.Item,{label:"\u9879\u76EE\u540D\u79F0",name:"name",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u9879\u76EE\u540D\u79F0"}]},ne.createElement(Je.default,{maxLength:40,placeholder:"\u8BF7\u8F93\u5165\u4E0D\u8D85\u8FC740\u5B57\u7684\u9879\u76EE\u540D\u79F0"})),ne.createElement(Ne.default.Item,{label:"\u9879\u76EE\u5185\u5BB9",name:"content",className:dt.contentItem},ze()),ne.createElement(Ne.default.Item,{name:"attachment_id",label:"\u4E0A\u4F20\u5C01\u9762\u56FE:"},ne.createElement(it.Z,{getFileProgress:ke=>{if(ke.file.status==="uploading"){an(!0);return}ke.file.status==="done"&&an(!1)}})),ne.createElement(Ne.default.Item,{label:"\u9879\u76EE\u7B80\u4ECB",name:"description",className:"ml8"},ne.createElement(de,{rows:5,maxLength:800,placeholder:"\u8BF7\u8F93\u5165\u672C\u89C6\u9891\u7B80\u4ECB\uFF0C\u6700\u591A\u4E0D\u8D85\u8FC7800\u5B57"})),ne.createElement(Ne.default.Item,{label:"\u77E5\u8BC6\u6807\u7B7E",name:"tag",className:"ml8"},ne.createElement(Je.default,{onKeyUp:nt})),ne.createElement("div",{className:dt["tagsList-content"]},Ee.map((ke,xt)=>ne.createElement(qe.default,{key:xt+ke,closable:!0,onClose:ht=>{Me(ht,ke)}},ke))),ne.createElement(Ne.default.Item,{label:"\u64AD\u653E\u8BBE\u7F6E",name:"allow_skip",valuePropName:"checked",className:"ml8",initialValue:!0},ne.createElement(_e.default,null,"\u5141\u8BB8\u5FEB\u8FDB\u64AD\u653E")),ne.createElement("div",{className:"c-grey-999"},ne.createElement("div",null,"\u6CE8\u610F\uFF1A"),ne.createElement("div",null,"1\u3001\u4E0A\u4F20\u89C6\u9891\uFF0C\u5373\u8868\u793A\u60A8\u5DF2\u540C\u610F",ne.createElement(pe.Link,{to:`/users/${(bt=We.userInfo)==null?void 0:bt.login}/videos/protocol`,target:"_blank",className:dt.colorBlue},"\u4E0A\u4F20\u5185\u5BB9\u534F\u8BAE"),"\uFF0C\u4E0D\u5F97\u4E0A\u4F20\u672A\u7ECF\u4ED6\u4EBA\u6388\u6743\u7684\u4F5C\u54C1\uFF1B"),ne.createElement("div",null,"2\u3001\u4E0D\u652F\u6301\u65AD\u70B9\u7EED\u4F20\uFF0C\u6587\u4EF6\u5927\u5C0F\u8BF7\u52FF\u8D85\u8FC7",Wt,"G\uFF1B"),ne.createElement("div",null,"3\u3001\u652F\u6301\u6587\u4EF6\u683C\u5F0F\uFF1Aavi\u3001flv\u3001f4v\u3001m4v\u3001mov\u3001mp4\u3001rmvb\u3001swf\u3001webm\u3001wmv\uFF1B"),ne.createElement("div",null,"4\u3001\u5982\u679C\u89C6\u9891\u6765\u81EA\u4E8E\u5916\u90E8\u94FE\u63A5\uFF0C\u672C\u7F51\u7AD9\u4E0D\u63D0\u4F9B\u64AD\u653E\u9875\u9762\uFF0C\u65E0\u6CD5\u63D0\u4F9B\u7EDF\u8BA1\u6570\u636E\u3002"))))};var Pe=(0,pe.connect)(({user:We,loading:ve,globalSetting:Ue})=>({user:We,globalSetting:Ue,loading:ve}))(Be)},46474:function(wt,Mt,oe){"use strict";oe.d(Mt,{rX:function(){return ae},pW:function(){return ie},gy:function(){return ue},xY:function(){return te},O5:function(){return x},tJ:function(){return se},o1:function(){return y},Rd:function(){return b}});var ne=oe(89070),pe=oe(43418),Je=oe(28103),Ne=oe(8591),Oe=oe(24065),Re=oe(955),be=oe(87169),qe=oe(25510),_e="data:image/png;base64,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",dt=oe.p+"static/newqrcode.a8740efb.png",it=oe(32637),et=oe(59301),Xe=(de,fe,Be)=>new Promise((Pe,We)=>{var ve=Tt=>{try{Bt(Be.next(Tt))}catch(Ye){We(Ye)}},Ue=Tt=>{try{Bt(Be.throw(Tt))}catch(Ye){We(Ye)}},Bt=Tt=>Tt.done?Pe(Tt.value):Promise.resolve(Tt.value).then(ve,Ue);Bt((Be=Be.apply(de,fe)).next())});const se=(de,fe=!1)=>!!(y(de)&&a(fe)),y=de=>(0,Oe.bg)()?!0:(de({type:"user/showPopLogin",payload:{showPopLogin:!0,showClosable:!0}}),!1),a=(de=!1)=>{var fe;const{user:Be}=(0,ne.getDvaApp)()._store.getState();return(fe=Be.userInfo)!=null&&fe.profile_completed?!0:(pe.default.confirm({title:"\u63D0\u793A",width:530,centered:!0,content:"\u60A8\u9700\u8981\u53BB\u5B8C\u5584\u60A8\u7684\u4E2A\u4EBA\u8D44\u6599\uFF0C\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD",okText:"\u7ACB\u5373\u5B8C\u5584",cancelText:"\u7A0D\u540E\u5B8C\u5584",onOk:()=>{(0,Re.xg)("/account/profile/edit"),E()}}),!1)},E=()=>{pe.default.success({title:"\u63D0\u793A",width:430,closable:!0,centered:!0,content:"\u5DF2\u5B8C\u5584\u4E2A\u4EBA\u8D44\u6599\uFF1F\u8BF7\u5237\u65B0\u9875\u9762",okText:"\u7ACB\u5373\u5237\u65B0",icon:null,onOk:()=>{location.reload()}})},b=()=>{pe.default.warning({title:"\u63D0\u793A",icon:null,width:400,content:et.createElement("div",{style:{textAlign:"center"}},et.createElement("div",{style:{color:"#191919",fontSize:14,marginBottom:15,textAlign:"left"}},"\u8001\u5E08\u60A8\u597D\uFF0C\u60A8\u7684\u8BFE\u5802\u8BD5\u7528\u671F\u5DF2\u7ED3\u675F\uFF0C\u76F8\u5173\u529F\u80FD\u88AB\u9650\u5236\u3002 \u5982\u9700\u7EE7\u7EED\u4F7F\u7528\uFF0C\u8BF7\u5C3D\u5FEB\u5BF9\u63A5\u4EBA\u5DE5\u652F\u6301\uFF01"),et.createElement("img",{style:{border:"1px solid #D8E3E9",width:190,height:180},src:it}),et.createElement("div",{style:{color:"#666666",fontSize:14,marginTop:15}},"\u6DFB\u52A0\u5BA2\u670D\u4EBA\u5458\u5FAE\u4FE1\uFF0C\u83B7\u5F97\u66F4\u591A\u652F\u6301"))})},x=()=>{var de;const{user:fe}=(0,ne.getDvaApp)()._store.getState();return(de=fe.userInfo)!=null&&de.professional_certification?!0:(pe.default.confirm({title:"\u63D0\u793A",centered:!0,content:et.createElement("div",{className:"tc"},"\u60A8\u9700\u8981\u53BB\u5B8C\u6210\u60A8\u7684\u804C\u4E1A\u8BA4\u8BC1\uFF0C\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD"),okText:"\u7ACB\u5373\u5B8C\u5584",cancelText:"\u7A0D\u540E\u5B8C\u5584",onOk:()=>{(0,Re.xg)("/account/certification")}}),!1)},te=()=>(0,Oe.V9)()?!0:(pe.default.warning({centered:!0,width:530,title:"\u63D0\u793A",content:et.createElement("div",{className:"tc",style:{marginLeft:-38}},et.createElement("p",null,"\u626B\u7801\u52A0\u52A9\u6559\uFF0C\u7533\u8BF7\u64CD\u4F5C\u6743\u9650"),et.createElement("img",{src:dt,width:200})),okText:"\u6211\u77E5\u9053\u4E86",maskClosable:!0}),!1),ae=(de,fe)=>de?!0:(pe.default.confirm({centered:!0,zIndex:1e4,width:530,title:"\u63D0\u793A",content:et.createElement("div",null,et.createElement("p",null,fe||"\u8BE5\u5B9E\u8DF5\u8D44\u6E90\u9700\u6388\u6743\u540E\u624D\u53EF\u4F7F\u7528\u3002 \u60A8\u53EF\u4EE5\u5728QQ\u670D\u52A1\u7FA4\u5411\u7BA1\u7406\u5458\u7533\u8BF7\uFF0C\u83B7\u5F97\u7EE7\u7EED\u64CD\u4F5C\u7684\u6743\u9650\u3002"),et.createElement("div",{style:{marginLeft:"110px"}},et.createElement("img",{src:_e,width:200}),et.createElement("div",{style:{marginLeft:"35px"}},"\u7FA4\u53F7\uFF1A","714336072"))),okText:"\u7ACB\u5373\u8054\u7CFB",cancelText:"\u53D6\u6D88",onOk:()=>{(0,Re.xg)("https://qm.qq.com/cgi-bin/qm/qr?k=tIyDPXUtE0yEk-MOJxhH55lTUJS-nYAM&jump_from=webapi")}}),!1),ie=de=>{pe.default.info({title:"\u8054\u7CFB\u5E73\u53F0\u8FD0\u8425",icon:null,width:615,centered:!0,content:et.createElement("div",null,et.createElement("div",null,et.createElement("p",{style:{color:"#191919",fontWeight:400,fontSize:14}},"\u201C\u4FDD\u5B58\u5B9E\u9A8C\u4E34\u65F6\u6570\u636E\u201D\u529F\u80FD\u4E3A\u4ED8\u8D39\u529F\u80FD\uFF0C\u8BF7\u8054\u7CFB\u5E73\u53F0\u8FD0\u8425\u8FDB\u884C\u5F00\u901A\u3002"),et.createElement(Je.Z,null),et.createElement("p",{style:{color:"#666666",fontSize:12}}," ",et.createElement("span",{style:{display:"inline-flex",width:14,height:14,borderRadius:2,background:"#F3F3F3",justifyContent:"center",color:"#666666",fontSize:12,lineHeight:"14px",marginRight:8}},"1")," \u56E0\u5E73\u53F0\u7684\u5B9E\u9A8C\u6570\u636E\u50A8\u5B58\u5BB9\u91CF\u548C\u6210\u672C\u6D88\u8017\u8F83\u5927\uFF0C\u5B9E\u8DF5\u9879\u76EE\u9ED8\u8BA4\u4FDD\u5B58\u5B9E\u9A8C\u73AF\u5883\u4E2D\u4E34\u65F6\u6570\u636E ",et.createElement("a",null,de),"\u5929\u3002"),et.createElement("p",{style:{color:"#666666",fontSize:12}}," ",et.createElement("span",{style:{display:"inline-flex",width:14,height:14,borderRadius:2,background:"#F3F3F3",justifyContent:"center",color:"#666666",fontSize:12,lineHeight:"14px",marginRight:8}},"2"),"\u82E5\u60A8\u9700\u8981\u4E2A\u6027\u5316\u7684\u6570\u636E\u4FDD\u5B58\u5468\u671F\u670D\u52A1\uFF0C\u6211\u4EEC\u53EF\u4EE5\u63D0\u4F9B\u76F8\u5173\u6280\u672F\u652F\u6301\uFF0C\u5E76\u6839\u636E\u60A8\u7684\u9700\u6C42\u6536\u53D6\u5B9A\u5236\u8D39\u7528\u3002")),et.createElement("div",{style:{textAlign:"center",marginTop:30}},et.createElement("img",{style:{border:"4px solid #0152d9",borderRadius:"4px"},src:qe,alt:"\u4E8C\u7EF4\u7801",width:160})))})},ue=(de,fe="")=>{const{shixunsDetail:{detail:Be}}=(0,ne.getDvaApp)()._store.getState();if((Be==null?void 0:Be.public)===2||(Be==null?void 0:Be.public)===1||(Be==null?void 0:Be.shixun_status)===3){let Pe="";return(Be==null?void 0:Be.public)===2&&(Pe="\u5DF2\u516C\u5F00"),(Be==null?void 0:Be.public)===1&&(Pe="\u5F85\u5BA1\u6838"),(Be==null?void 0:Be.shixun_status)===3&&(Pe="\u5DF2\u5173\u95ED"),pe.default.info({centered:!0,icon:et.createElement(be.Z,{style:{color:"#faad14"}}),width:460,title:"\u63D0\u793A",content:et.createElement("div",{className:"tc",style:{marginLeft:-38}},et.createElement("div",{style:{display:"flex",flexDirection:"column",alignItems:"flex-start",paddingLeft:38,margin:"12px 0"}},et.createElement("span",null,"\u8BE5\u5B9E\u8DF5\u9879\u76EE\u7684\u72B6\u6001\u4E3A",Pe,"\uFF0C",fe,"\u3002"),et.createElement("p",null,"\u5982\u6709\u9700\u8981\uFF0C\u8BF7\u8054\u7CFB\u5E73\u53F0\u7BA1\u7406\u5458\u8FDB\u884C\u6280\u672F\u652F\u6301\u3002")),et.createElement("img",{style:{border:"4px solid #0152d9",borderRadius:"4px"},src:qe,alt:"\u4E8C\u7EF4\u7801",width:160})),okText:"\u6211\u77E5\u9053\u4E86"}),!0}return(Be==null?void 0:Be.shixun_status)===2?(pe.default.confirm({centered:!0,icon:et.createElement(be.Z,null),title:"\u63D0\u793A",content:et.createElement("div",null,et.createElement("span",null,"\u8BE5\u5B9E\u8DF5\u9879\u76EE\u5DF2\u53D1\u5E03\uFF0C",fe,"\u3002"),et.createElement("br",null),et.createElement("span",null,"\u5982\u6709\u9700\u8981\uFF0C\u60A8\u53EF\u4EE5\u64A4\u9500\u53D1\u5E03\u540E\uFF0C\u518D\u8FDB\u884C\u64CD\u4F5C\u3002")),okText:"\u64A4\u9500\u53D1\u5E03",cancelText:"\u53D6\u6D88",onOk:()=>{pe.default.confirm({width:440,centered:!0,icon:et.createElement(be.Z,{style:{color:"#faad14"}}),title:"\u63D0\u793A",content:"\u64A4\u9500\u53D1\u5E03\u540E\uFF0C\u5B66\u5458\u5C06\u65E0\u6CD5\u8FDB\u884C\u7EC3\u4E60\u3002\u662F\u5426\u786E\u8BA4\u64A4\u9500\u53D1\u5E03\uFF1F",okText:"\u786E\u5B9A\u64A4\u9500\u53D1\u5E03",cancelText:"\u53D6\u6D88",onOk:()=>Xe(void 0,null,function*(){(yield de({type:"shixunsDetail/cancelRelease",payload:{id:Be==null?void 0:Be.identifier}})).status!==401&&(Ne.ZP.success("\u64A4\u9500\u53D1\u5E03\u6210\u529F\u3002\u5B9E\u8BAD\u56DE\u5230\u672A\u53D1\u5E03\u7684\u72B6\u6001\u3002"),de({type:"shixunsDetail/getShixunsDetail",payload:{id:Be==null?void 0:Be.identifier}}),de({type:"practiceSetting/getCommonData",payload:{id:Be==null?void 0:Be.identifier}}))})})}}),!0):!1}},56762:function(wt,Mt,oe){"use strict";oe.d(Mt,{Z:function(){return pe}});var ne=oe(59301);function pe(){const[,Je]=ne.useReducer(Ne=>Ne+1,0);return Je}},24905:function(wt,Mt,oe){"use strict";oe.d(Mt,{default:function(){return de}});var ne=oe(92310),pe=oe.n(ne),Je=oe(5630),Ne=oe(59301),Oe=oe(36355),Re=oe(1684),be=oe(32441),_e=Ne.createContext(null),dt=oe(98447),it=oe(14088),et=oe(4572),Xe=function(fe,Be){var Pe={};for(var We in fe)Object.prototype.hasOwnProperty.call(fe,We)&&Be.indexOf(We)<0&&(Pe[We]=fe[We]);if(fe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ve=0,We=Object.getOwnPropertySymbols(fe);ve{var Pe;const{prefixCls:We,className:ve,rootClassName:Ue,children:Bt,indeterminate:Tt=!1,style:Ye,onMouseEnter:ft,onMouseLeave:Ft,skipGroup:Jt=!1,disabled:Rt}=fe,bt=Xe(fe,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:Te,direction:lt,checkbox:Lt}=Ne.useContext(Oe.E_),De=Ne.useContext(_e),{isFormItemInput:tt}=Ne.useContext(be.aM),Dt=Ne.useContext(Re.Z),nn=(Pe=(De==null?void 0:De.disabled)||Rt)!==null&&Pe!==void 0?Pe:Dt,vt=Ne.useRef(bt.value);Ne.useEffect(()=>{De==null||De.registerValue(bt.value)},[]),Ne.useEffect(()=>{if(!Jt)return bt.value!==vt.current&&(De==null||De.cancelValue(vt.current),De==null||De.registerValue(bt.value),vt.current=bt.value),()=>De==null?void 0:De.cancelValue(bt.value)},[bt.value]);const Vt=Te("checkbox",We),[Fe,st]=(0,dt.ZP)(Vt),yt=Object.assign({},bt);De&&!Jt&&(yt.onChange=function(){bt.onChange&&bt.onChange.apply(bt,arguments),De.toggleOption&&De.toggleOption({label:Bt,value:bt.value})},yt.name=De.name,yt.checked=De.value.includes(bt.value));const an=pe()(`${Vt}-wrapper`,{[`${Vt}-rtl`]:lt==="rtl",[`${Vt}-wrapper-checked`]:yt.checked,[`${Vt}-wrapper-disabled`]:nn,[`${Vt}-wrapper-in-form-item`]:tt},Lt==null?void 0:Lt.className,ve,Ue,st),Wt=pe()({[`${Vt}-indeterminate`]:Tt},et.A,st),Ke=Tt?"mixed":void 0;return Fe(Ne.createElement(it.Z,{component:"Checkbox",disabled:nn},Ne.createElement("label",{className:an,style:Object.assign(Object.assign({},Lt==null?void 0:Lt.style),Ye),onMouseEnter:ft,onMouseLeave:Ft},Ne.createElement(Je.Z,Object.assign({"aria-checked":Ke},yt,{prefixCls:Vt,className:Wt,disabled:nn,ref:Be})),Bt!==void 0&&Ne.createElement("span",null,Bt))))};var a=Ne.forwardRef(se),E=oe(80702),b=oe(2738),x=function(fe,Be){var Pe={};for(var We in fe)Object.prototype.hasOwnProperty.call(fe,We)&&Be.indexOf(We)<0&&(Pe[We]=fe[We]);if(fe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ve=0,We=Object.getOwnPropertySymbols(fe);ve{const{defaultValue:Pe,children:We,options:ve=[],prefixCls:Ue,className:Bt,rootClassName:Tt,style:Ye,onChange:ft}=fe,Ft=x(fe,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:Jt,direction:Rt}=Ne.useContext(Oe.E_),[bt,Te]=Ne.useState(Ft.value||Pe||[]),[lt,Lt]=Ne.useState([]);Ne.useEffect(()=>{"value"in Ft&&Te(Ft.value||[])},[Ft.value]);const De=Ne.useMemo(()=>ve.map(Ve=>typeof Ve=="string"||typeof Ve=="number"?{label:Ve,value:Ve}:Ve),[ve]),tt=Ve=>{Lt(we=>we.filter(me=>me!==Ve))},Dt=Ve=>{Lt(we=>[].concat((0,E.Z)(we),[Ve]))},nn=Ve=>{const we=bt.indexOf(Ve.value),me=(0,E.Z)(bt);we===-1?me.push(Ve.value):me.splice(we,1),"value"in Ft||Te(me),ft==null||ft(me.filter(Ge=>lt.includes(Ge)).sort((Ge,ze)=>{const Ee=De.findIndex(nt=>nt.value===Ge),Se=De.findIndex(nt=>nt.value===ze);return Ee-Se}))},vt=Jt("checkbox",Ue),Vt=`${vt}-group`,[Fe,st]=(0,dt.ZP)(vt),yt=(0,b.Z)(Ft,["value","disabled"]),an=ve.length?De.map(Ve=>Ne.createElement(a,{prefixCls:vt,key:Ve.value.toString(),disabled:"disabled"in Ve?Ve.disabled:Ft.disabled,value:Ve.value,checked:bt.includes(Ve.value),onChange:Ve.onChange,className:`${Vt}-item`,style:Ve.style,title:Ve.title},Ve.label)):We,Wt={toggleOption:nn,value:bt,disabled:Ft.disabled,name:Ft.name,registerValue:Dt,cancelValue:tt},Ke=pe()(Vt,{[`${Vt}-rtl`]:Rt==="rtl"},Bt,Tt,st);return Fe(Ne.createElement("div",Object.assign({className:Ke,style:Ye},yt,{ref:Be}),Ne.createElement(_e.Provider,{value:Wt},an)))},ae=Ne.forwardRef(te);var ie=Ne.memo(ae);const ue=a;ue.Group=ie,ue.__ANT_CHECKBOX=!0;var de=ue},98447:function(wt,Mt,oe){"use strict";oe.d(Mt,{C2:function(){return Oe}});var ne=oe(17313),pe=oe(37613),Je=oe(83116);const Ne=Re=>{const{checkboxCls:be}=Re,qe=`${be}-wrapper`;return[{[`${be}-group`]:Object.assign(Object.assign({},(0,ne.Wf)(Re)),{display:"inline-flex",flexWrap:"wrap",columnGap:Re.marginXS,[`> ${Re.antCls}-row`]:{flex:1}}),[qe]:Object.assign(Object.assign({},(0,ne.Wf)(Re)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${qe}`]:{marginInlineStart:0},[`&${qe}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[be]:Object.assign(Object.assign({},(0,ne.Wf)(Re)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:Re.borderRadiusSM,alignSelf:"center",[`${be}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${be}-inner`]:Object.assign({},(0,ne.oN)(Re))},[`${be}-inner`]:{boxSizing:"border-box",position:"relative",top:0,insetInlineStart:0,display:"block",width:Re.checkboxSize,height:Re.checkboxSize,direction:"ltr",backgroundColor:Re.colorBgContainer,border:`${Re.lineWidth}px ${Re.lineType} ${Re.colorBorder}`,borderRadius:Re.borderRadiusSM,borderCollapse:"separate",transition:`all ${Re.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"21.5%",display:"table",width:Re.checkboxSize/14*5,height:Re.checkboxSize/14*8,border:`${Re.lineWidthBold}px solid ${Re.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${Re.motionDurationFast} ${Re.motionEaseInBack}, opacity ${Re.motionDurationFast}`}},"& + span":{paddingInlineStart:Re.paddingXS,paddingInlineEnd:Re.paddingXS}})},{[` - ${qe}:not(${qe}-disabled), - ${be}:not(${be}-disabled) - `]:{[`&:hover ${be}-inner`]:{borderColor:Re.colorPrimary}},[`${qe}:not(${qe}-disabled)`]:{[`&:hover ${be}-checked:not(${be}-disabled) ${be}-inner`]:{backgroundColor:Re.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${be}-checked:not(${be}-disabled):after`]:{borderColor:Re.colorPrimaryHover}}},{[`${be}-checked`]:{[`${be}-inner`]:{backgroundColor:Re.colorPrimary,borderColor:Re.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${Re.motionDurationMid} ${Re.motionEaseOutBack} ${Re.motionDurationFast}`}}},[` - ${qe}-checked:not(${qe}-disabled), - ${be}-checked:not(${be}-disabled) - `]:{[`&:hover ${be}-inner`]:{backgroundColor:Re.colorPrimaryHover,borderColor:"transparent"}}},{[be]:{"&-indeterminate":{[`${be}-inner`]:{backgroundColor:Re.colorBgContainer,borderColor:Re.colorBorder,"&:after":{top:"50%",insetInlineStart:"50%",width:Re.fontSizeLG/2,height:Re.fontSizeLG/2,backgroundColor:Re.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}}}}},{[`${qe}-disabled`]:{cursor:"not-allowed"},[`${be}-disabled`]:{[`&, ${be}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${be}-inner`]:{background:Re.colorBgContainerDisabled,borderColor:Re.colorBorder,"&:after":{borderColor:Re.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:Re.colorTextDisabled},[`&${be}-indeterminate ${be}-inner::after`]:{background:Re.colorTextDisabled}}}]};function Oe(Re,be){const qe=(0,pe.TS)(be,{checkboxCls:`.${Re}`,checkboxSize:be.controlInteractiveSize});return[Ne(qe)]}Mt.ZP=(0,Je.Z)("Checkbox",(Re,be)=>{let{prefixCls:qe}=be;return[Oe(qe,Re)]})},28103:function(wt,Mt,oe){"use strict";oe.d(Mt,{Z:function(){return et}});var ne=oe(92310),pe=oe.n(ne),Je=oe(59301),Ne=oe(36355),Oe=oe(17313),Re=oe(83116),be=oe(37613);const qe=Xe=>{const{componentCls:se,sizePaddingEdgeHorizontal:y,colorSplit:a,lineWidth:E,textPaddingInline:b,orientationMargin:x,verticalMarginInline:te}=Xe;return{[se]:Object.assign(Object.assign({},(0,Oe.Wf)(Xe)),{borderBlockStart:`${E}px solid ${a}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:te,marginBlock:0,verticalAlign:"middle",borderTop:0,borderInlineStart:`${E}px solid ${a}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${Xe.dividerHorizontalGutterMargin}px 0`},[`&-horizontal${se}-with-text`]:{display:"flex",alignItems:"center",margin:`${Xe.dividerHorizontalWithTextGutterMargin}px 0`,color:Xe.colorTextHeading,fontWeight:500,fontSize:Xe.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${a}`,"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:`${E}px solid transparent`,borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},[`&-horizontal${se}-with-text-left`]:{"&::before":{width:`${x*100}%`},"&::after":{width:`${100-x*100}%`}},[`&-horizontal${se}-with-text-right`]:{"&::before":{width:`${100-x*100}%`},"&::after":{width:`${x*100}%`}},[`${se}-inner-text`]:{display:"inline-block",paddingBlock:0,paddingInline:b},"&-dashed":{background:"none",borderColor:a,borderStyle:"dashed",borderWidth:`${E}px 0 0`},[`&-horizontal${se}-with-text${se}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${se}-dashed`]:{borderInlineStartWidth:E,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${se}-with-text`]:{color:Xe.colorText,fontWeight:"normal",fontSize:Xe.fontSize},[`&-horizontal${se}-with-text-left${se}-no-default-orientation-margin-left`]:{"&::before":{width:0},"&::after":{width:"100%"},[`${se}-inner-text`]:{paddingInlineStart:y}},[`&-horizontal${se}-with-text-right${se}-no-default-orientation-margin-right`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${se}-inner-text`]:{paddingInlineEnd:y}}})}};var _e=(0,Re.Z)("Divider",Xe=>{const se=(0,be.TS)(Xe,{dividerHorizontalWithTextGutterMargin:Xe.margin,dividerHorizontalGutterMargin:Xe.marginLG,sizePaddingEdgeHorizontal:0});return[qe(se)]},Xe=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:Xe.marginXS})),dt=function(Xe,se){var y={};for(var a in Xe)Object.prototype.hasOwnProperty.call(Xe,a)&&se.indexOf(a)<0&&(y[a]=Xe[a]);if(Xe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var E=0,a=Object.getOwnPropertySymbols(Xe);E{const{getPrefixCls:se,direction:y,divider:a}=Je.useContext(Ne.E_),{prefixCls:E,type:b="horizontal",orientation:x="center",orientationMargin:te,className:ae,rootClassName:ie,children:ue,dashed:de,plain:fe,style:Be}=Xe,Pe=dt(Xe,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","plain","style"]),We=se("divider",E),[ve,Ue]=_e(We),Bt=x.length>0?`-${x}`:x,Tt=!!ue,Ye=x==="left"&&te!=null,ft=x==="right"&&te!=null,Ft=pe()(We,a==null?void 0:a.className,Ue,`${We}-${b}`,{[`${We}-with-text`]:Tt,[`${We}-with-text${Bt}`]:Tt,[`${We}-dashed`]:!!de,[`${We}-plain`]:!!fe,[`${We}-rtl`]:y==="rtl",[`${We}-no-default-orientation-margin-left`]:Ye,[`${We}-no-default-orientation-margin-right`]:ft},ae,ie),Jt=Je.useMemo(()=>typeof te=="number"?te:/^\d+$/.test(te)?Number(te):te,[te]),Rt=Object.assign(Object.assign({},Ye&&{marginLeft:Jt}),ft&&{marginRight:Jt});return ve(Je.createElement("div",Object.assign({className:Ft,style:Object.assign(Object.assign({},a==null?void 0:a.style),Be)},Pe,{role:"separator"}),ue&&b!=="vertical"&&Je.createElement("span",{className:`${We}-inner-text`,style:Rt},ue)))}},43428:function(wt,Mt,oe){"use strict";oe.d(Mt,{Z:function(){return Fe}});var ne=oe(92310),pe=oe.n(ne),Je=oe(77321),Ne=oe(52487),Oe=oe(43403),Re=oe(34280),be=oe(59301),qe=be.createContext(null),_e=be.createContext({}),dt=qe,it=oe(49618),et=oe(72308),Xe=oe(77900),se=oe(10228),y=oe(26112),a=oe(70425),E=function(yt){var an=yt.prefixCls,Wt=yt.className,Ke=yt.style,Ve=yt.children,we=yt.containerRef,me=yt.id,Ge=yt.onMouseEnter,ze=yt.onMouseOver,Ee=yt.onMouseLeave,Se=yt.onClick,nt=yt.onKeyDown,Me=yt.onKeyUp,Ce={onMouseEnter:Ge,onMouseOver:ze,onMouseLeave:Ee,onClick:Se,onKeyDown:nt,onKeyUp:Me},ke=be.useContext(_e),xt=ke.panel,ht=(0,a.useComposeRef)(xt,we);return be.createElement(be.Fragment,null,be.createElement("div",(0,et.Z)({id:me,className:pe()("".concat(an,"-content"),Wt),style:(0,Je.Z)({},Ke),"aria-modal":"true",role:"dialog",ref:ht},Ce),Ve))},b=E,x=oe(48736);function te(st){return typeof st=="string"&&String(Number(st))===st?((0,x.ZP)(!1,"Invalid value type of `width` or `height` which should be number type instead."),Number(st)):st}function ae(st){warning(!("wrapperClassName"in st),"'wrapperClassName' is removed. Please use 'rootClassName' instead."),warning(canUseDom()||!st.open,"Drawer with 'open' in SSR is not work since no place to createPortal. Please move to 'useEffect' instead.")}var ie={width:0,height:0,overflow:"hidden",outline:"none",position:"absolute"};function ue(st,yt){var an,Wt,Ke,Ve,we=st.prefixCls,me=st.open,Ge=st.placement,ze=st.inline,Ee=st.push,Se=st.forceRender,nt=st.autoFocus,Me=st.keyboard,Ce=st.rootClassName,ke=st.rootStyle,xt=st.zIndex,ht=st.className,zt=st.id,kt=st.style,Ot=st.motion,Le=st.width,rt=st.height,At=st.children,gt=st.contentWrapperStyle,St=st.mask,on=st.maskClosable,mn=st.maskMotion,dn=st.maskClassName,vn=st.maskStyle,Wn=st.afterOpenChange,fn=st.onClose,Zn=st.onMouseEnter,$n=st.onMouseOver,ta=st.onMouseLeave,Mn=st.onClick,ua=st.onKeyDown,Qn=st.onKeyUp,Yn=be.useRef(),ca=be.useRef(),Ca=be.useRef();be.useImperativeHandle(yt,function(){return Yn.current});var ln=function(Vn){var _t=Vn.keyCode,ye=Vn.shiftKey;switch(_t){case se.Z.TAB:{if(_t===se.Z.TAB){if(!ye&&document.activeElement===Ca.current){var qt;(qt=ca.current)===null||qt===void 0||qt.focus({preventScroll:!0})}else if(ye&&document.activeElement===ca.current){var yn;(yn=Ca.current)===null||yn===void 0||yn.focus({preventScroll:!0})}}break}case se.Z.ESC:{fn&&Me&&(Vn.stopPropagation(),fn(Vn));break}}};be.useEffect(function(){if(me&&nt){var pn;(pn=Yn.current)===null||pn===void 0||pn.focus({preventScroll:!0})}},[me]);var gn=be.useState(!1),An=(0,Ne.Z)(gn,2),Sn=An[0],Fn=An[1],Kn=be.useContext(dt),Rn;Ee===!1?Rn={distance:0}:Ee===!0?Rn={}:Rn=Ee||{};var at=(an=(Wt=(Ke=Rn)===null||Ke===void 0?void 0:Ke.distance)!==null&&Wt!==void 0?Wt:Kn==null?void 0:Kn.pushDistance)!==null&&an!==void 0?an:180,mt=be.useMemo(function(){return{pushDistance:at,push:function(){Fn(!0)},pull:function(){Fn(!1)}}},[at]);be.useEffect(function(){if(me){var pn;Kn==null||(pn=Kn.push)===null||pn===void 0||pn.call(Kn)}else{var Vn;Kn==null||(Vn=Kn.pull)===null||Vn===void 0||Vn.call(Kn)}},[me]),be.useEffect(function(){return function(){var pn;Kn==null||(pn=Kn.pull)===null||pn===void 0||pn.call(Kn)}},[]);var ut=St&&be.createElement(Xe.default,(0,et.Z)({key:"mask"},mn,{visible:me}),function(pn,Vn){var _t=pn.className,ye=pn.style;return be.createElement("div",{className:pe()("".concat(we,"-mask"),_t,dn),style:(0,Je.Z)((0,Je.Z)({},ye),vn),onClick:on&&me?fn:void 0,ref:Vn})}),Yt=typeof Ot=="function"?Ot(Ge):Ot,un={};if(Sn&&at)switch(Ge){case"top":un.transform="translateY(".concat(at,"px)");break;case"bottom":un.transform="translateY(".concat(-at,"px)");break;case"left":un.transform="translateX(".concat(at,"px)");break;default:un.transform="translateX(".concat(-at,"px)");break}Ge==="left"||Ge==="right"?un.width=te(Le):un.height=te(rt);var rn={onMouseEnter:Zn,onMouseOver:$n,onMouseLeave:ta,onClick:Mn,onKeyDown:ua,onKeyUp:Qn},Xn=be.createElement(Xe.default,(0,et.Z)({key:"panel"},Yt,{visible:me,forceRender:Se,onVisibleChanged:function(Vn){Wn==null||Wn(Vn)},removeOnLeave:!1,leavedClassName:"".concat(we,"-content-wrapper-hidden")}),function(pn,Vn){var _t=pn.className,ye=pn.style;return be.createElement("div",(0,et.Z)({className:pe()("".concat(we,"-content-wrapper"),_t),style:(0,Je.Z)((0,Je.Z)((0,Je.Z)({},un),ye),gt)},(0,y.Z)(st,{data:!0})),be.createElement(b,(0,et.Z)({id:zt,containerRef:Vn,prefixCls:we,className:ht,style:kt},rn),At))}),kn=(0,Je.Z)({},ke);return xt&&(kn.zIndex=xt),be.createElement(dt.Provider,{value:mt},be.createElement("div",{className:pe()(we,"".concat(we,"-").concat(Ge),Ce,(Ve={},(0,it.Z)(Ve,"".concat(we,"-open"),me),(0,it.Z)(Ve,"".concat(we,"-inline"),ze),Ve)),style:kn,tabIndex:-1,ref:Yn,onKeyDown:ln},ut,be.createElement("div",{tabIndex:0,ref:ca,style:ie,"aria-hidden":"true","data-sentinel":"start"}),Xn,be.createElement("div",{tabIndex:0,ref:Ca,style:ie,"aria-hidden":"true","data-sentinel":"end"})))}var de=be.forwardRef(ue),fe=de,Be=function(yt){var an=yt.open,Wt=an===void 0?!1:an,Ke=yt.prefixCls,Ve=Ke===void 0?"rc-drawer":Ke,we=yt.placement,me=we===void 0?"right":we,Ge=yt.autoFocus,ze=Ge===void 0?!0:Ge,Ee=yt.keyboard,Se=Ee===void 0?!0:Ee,nt=yt.width,Me=nt===void 0?378:nt,Ce=yt.mask,ke=Ce===void 0?!0:Ce,xt=yt.maskClosable,ht=xt===void 0?!0:xt,zt=yt.getContainer,kt=yt.forceRender,Ot=yt.afterOpenChange,Le=yt.destroyOnClose,rt=yt.onMouseEnter,At=yt.onMouseOver,gt=yt.onMouseLeave,St=yt.onClick,on=yt.onKeyDown,mn=yt.onKeyUp,dn=yt.panelRef,vn=be.useState(!1),Wn=(0,Ne.Z)(vn,2),fn=Wn[0],Zn=Wn[1],$n=be.useState(!1),ta=(0,Ne.Z)($n,2),Mn=ta[0],ua=ta[1];(0,Re.Z)(function(){ua(!0)},[]);var Qn=Mn?Wt:!1,Yn=be.useRef(),ca=be.useRef();(0,Re.Z)(function(){Qn&&(ca.current=document.activeElement)},[Qn]);var Ca=function(Fn){var Kn;if(Zn(Fn),Ot==null||Ot(Fn),!Fn&&ca.current&&!((Kn=Yn.current)!==null&&Kn!==void 0&&Kn.contains(ca.current))){var Rn;(Rn=ca.current)===null||Rn===void 0||Rn.focus({preventScroll:!0})}},ln=be.useMemo(function(){return{panel:dn}},[dn]);if(!kt&&!fn&&!Qn&&Le)return null;var gn={onMouseEnter:rt,onMouseOver:At,onMouseLeave:gt,onClick:St,onKeyDown:on,onKeyUp:mn},An=(0,Je.Z)((0,Je.Z)({},yt),{},{open:Qn,prefixCls:Ve,placement:me,autoFocus:ze,keyboard:Se,width:Me,mask:ke,maskClosable:ht,inline:zt===!1,afterOpenChange:Ca,ref:Yn},gn);return be.createElement(_e.Provider,{value:ln},be.createElement(Oe.Z,{open:Qn||kt||fn,autoDestroy:!1,getContainer:zt,autoLock:ke&&(Qn||fn)},be.createElement(fe,An)))},Pe=Be,We=Pe,ve=oe(62892),Ue=oe(36355),Bt=oe(32441),Tt=oe(47729),ft=st=>{const{prefixCls:yt,title:an,footer:Wt,extra:Ke,closeIcon:Ve,closable:we,onClose:me,headerStyle:Ge,drawerStyle:ze,bodyStyle:Ee,footerStyle:Se,children:nt}=st,Me=be.useCallback(zt=>be.createElement("button",{type:"button",onClick:me,"aria-label":"Close",className:`${yt}-close`},zt),[me]),[Ce,ke]=(0,Tt.Z)(we,Ve,Me,void 0,!0),xt=be.useMemo(()=>!an&&!Ce?null:be.createElement("div",{style:Ge,className:pe()(`${yt}-header`,{[`${yt}-header-close-only`]:Ce&&!an&&!Ke})},be.createElement("div",{className:`${yt}-header-title`},ke,an&&be.createElement("div",{className:`${yt}-title`},an)),Ke&&be.createElement("div",{className:`${yt}-extra`},Ke)),[Ce,ke,Ke,Ge,yt,an]),ht=be.useMemo(()=>{if(!Wt)return null;const zt=`${yt}-footer`;return be.createElement("div",{className:zt,style:Se},Wt)},[Wt,Se,yt]);return be.createElement("div",{className:`${yt}-wrapper-body`,style:ze},xt,be.createElement("div",{className:`${yt}-body`,style:Ee},nt),ht)},Ft=oe(33234),Jt=oe(83116),Rt=oe(37613),Te=st=>{const{componentCls:yt,motionDurationSlow:an}=st,Wt={"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:`all ${an}`}}};return{[yt]:{[`${yt}-mask-motion`]:{"&-enter, &-appear, &-leave":{"&-active":{transition:`all ${an}`}},"&-enter, &-appear":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}}},[`${yt}-panel-motion`]:{"&-left":[Wt,{"&-enter, &-appear":{"&-start":{transform:"translateX(-100%) !important"},"&-active":{transform:"translateX(0)"}},"&-leave":{transform:"translateX(0)","&-active":{transform:"translateX(-100%)"}}}],"&-right":[Wt,{"&-enter, &-appear":{"&-start":{transform:"translateX(100%) !important"},"&-active":{transform:"translateX(0)"}},"&-leave":{transform:"translateX(0)","&-active":{transform:"translateX(100%)"}}}],"&-top":[Wt,{"&-enter, &-appear":{"&-start":{transform:"translateY(-100%) !important"},"&-active":{transform:"translateY(0)"}},"&-leave":{transform:"translateY(0)","&-active":{transform:"translateY(-100%)"}}}],"&-bottom":[Wt,{"&-enter, &-appear":{"&-start":{transform:"translateY(100%) !important"},"&-active":{transform:"translateY(0)"}},"&-leave":{transform:"translateY(0)","&-active":{transform:"translateY(100%)"}}}]}}}};const lt=st=>{const{componentCls:yt,zIndexPopup:an,colorBgMask:Wt,colorBgElevated:Ke,motionDurationSlow:Ve,motionDurationMid:we,padding:me,paddingLG:Ge,fontSizeLG:ze,lineHeightLG:Ee,lineWidth:Se,lineType:nt,colorSplit:Me,marginSM:Ce,colorIcon:ke,colorIconHover:xt,colorText:ht,fontWeightStrong:zt,footerPaddingBlock:kt,footerPaddingInline:Ot}=st,Le=`${yt}-content-wrapper`;return{[yt]:{position:"fixed",inset:0,zIndex:an,pointerEvents:"none","&-pure":{position:"relative",background:Ke,[`&${yt}-left`]:{boxShadow:st.boxShadowDrawerLeft},[`&${yt}-right`]:{boxShadow:st.boxShadowDrawerRight},[`&${yt}-top`]:{boxShadow:st.boxShadowDrawerUp},[`&${yt}-bottom`]:{boxShadow:st.boxShadowDrawerDown}},"&-inline":{position:"absolute"},[`${yt}-mask`]:{position:"absolute",inset:0,zIndex:an,background:Wt,pointerEvents:"auto"},[Le]:{position:"absolute",zIndex:an,maxWidth:"100vw",transition:`all ${Ve}`,"&-hidden":{display:"none"}},[`&-left > ${Le}`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:st.boxShadowDrawerLeft},[`&-right > ${Le}`]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:st.boxShadowDrawerRight},[`&-top > ${Le}`]:{top:0,insetInline:0,boxShadow:st.boxShadowDrawerUp},[`&-bottom > ${Le}`]:{bottom:0,insetInline:0,boxShadow:st.boxShadowDrawerDown},[`${yt}-content`]:{width:"100%",height:"100%",overflow:"auto",background:Ke,pointerEvents:"auto"},[`${yt}-wrapper-body`]:{display:"flex",flexDirection:"column",width:"100%",height:"100%"},[`${yt}-header`]:{display:"flex",flex:0,alignItems:"center",padding:`${me}px ${Ge}px`,fontSize:ze,lineHeight:Ee,borderBottom:`${Se}px ${nt} ${Me}`,"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},[`${yt}-extra`]:{flex:"none"},[`${yt}-close`]:{display:"inline-block",marginInlineEnd:Ce,color:ke,fontWeight:zt,fontSize:ze,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,outline:0,cursor:"pointer",transition:`color ${we}`,textRendering:"auto","&:focus, &:hover":{color:xt,textDecoration:"none"}},[`${yt}-title`]:{flex:1,margin:0,color:ht,fontWeight:st.fontWeightStrong,fontSize:ze,lineHeight:Ee},[`${yt}-body`]:{flex:1,minWidth:0,minHeight:0,padding:Ge,overflow:"auto"},[`${yt}-footer`]:{flexShrink:0,padding:`${kt}px ${Ot}px`,borderTop:`${Se}px ${nt} ${Me}`},"&-rtl":{direction:"rtl"}}}};var Lt=(0,Jt.Z)("Drawer",st=>{const yt=(0,Rt.TS)(st,{});return[lt(yt),Te(yt)]},st=>({zIndexPopup:st.zIndexPopupBase,footerPaddingBlock:st.paddingXS,footerPaddingInline:st.padding})),De=oe(11575),tt=function(st,yt){var an={};for(var Wt in st)Object.prototype.hasOwnProperty.call(st,Wt)&&yt.indexOf(Wt)<0&&(an[Wt]=st[Wt]);if(st!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ke=0,Wt=Object.getOwnPropertySymbols(st);Ke{var yt;const{rootClassName:an,width:Wt,height:Ke,size:Ve="default",mask:we=!0,push:me=nn,open:Ge,afterOpenChange:ze,onClose:Ee,prefixCls:Se,getContainer:nt,style:Me,className:Ce,visible:ke,afterVisibleChange:xt}=st,ht=tt(st,["rootClassName","width","height","size","mask","push","open","afterOpenChange","onClose","prefixCls","getContainer","style","className","visible","afterVisibleChange"]),{getPopupContainer:zt,getPrefixCls:kt,direction:Ot,drawer:Le}=be.useContext(Ue.E_),rt=kt("drawer",Se),[At,gt]=Lt(rt),St=nt===void 0&&zt?()=>zt(document.body):nt,on=pe()({"no-mask":!we,[`${rt}-rtl`]:Ot==="rtl"},an,gt),mn=be.useMemo(()=>Wt!=null?Wt:Ve==="large"?736:378,[Wt,Ve]),dn=be.useMemo(()=>Ke!=null?Ke:Ve==="large"?736:378,[Ke,Ve]),vn={motionName:(0,ve.m)(rt,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500},Wn=Zn=>({motionName:(0,ve.m)(rt,`panel-motion-${Zn}`),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500}),fn=(0,De.H)();return At(be.createElement(Ft.BR,null,be.createElement(Bt.Ux,{status:!0,override:!0},be.createElement(We,Object.assign({prefixCls:rt,onClose:Ee,maskMotion:vn,motion:Wn},ht,{open:Ge!=null?Ge:ke,mask:we,push:me,width:mn,height:dn,style:Object.assign(Object.assign({},Le==null?void 0:Le.style),Me),className:pe()(Le==null?void 0:Le.className,Ce),rootClassName:on,getContainer:St,afterOpenChange:ze!=null?ze:xt,panelRef:fn}),be.createElement(ft,Object.assign({prefixCls:rt},ht,{onClose:Ee}))))))},Vt=st=>{const{prefixCls:yt,style:an,className:Wt,placement:Ke="right"}=st,Ve=tt(st,["prefixCls","style","className","placement"]),{getPrefixCls:we}=be.useContext(Ue.E_),me=we("drawer",yt),[Ge,ze]=Lt(me),Ee=pe()(me,`${me}-pure`,`${me}-${Ke}`,ze,Wt);return Ge(be.createElement("div",{className:Ee,style:an},be.createElement(ft,Object.assign({prefixCls:me},Ve))))};vt._InternalPanelDoNotUseOrYouWillBeFired=Vt;var Fe=vt},91857:function(wt,Mt,oe){"use strict";var ne=oe(59301),pe=oe(38819),Je=oe(92310),Ne=oe.n(Je),Oe=oe(31561),Re=oe(70425),be=oe(18929),qe=oe(2738),_e=oe(79676),dt=oe(53487),it=oe(92343),et=oe(36355),Xe=oe(20834),se=oe(40875),y=oe(88088),a=oe(47211);const E=null,b=ie=>{const{menu:ue,arrow:de,prefixCls:fe,children:Be,trigger:Pe,disabled:We,dropdownRender:ve,getPopupContainer:Ue,overlayClassName:Bt,rootClassName:Tt,open:Ye,onOpenChange:ft,visible:Ft,onVisibleChange:Jt,mouseEnterDelay:Rt=.15,mouseLeaveDelay:bt=.1,autoAdjustOverflow:Te=!0,placement:lt="",overlay:Lt,transitionName:De}=ie,{getPopupContainer:tt,getPrefixCls:Dt,direction:nn}=ne.useContext(et.E_),vt=ne.useMemo(()=>{const Ce=Dt();return De!==void 0?De:lt.includes("top")?`${Ce}-slide-down`:`${Ce}-slide-up`},[Dt,lt,De]),Vt=ne.useMemo(()=>lt?lt.includes("Center")?lt.slice(0,lt.indexOf("Center")):lt:nn==="rtl"?"bottomRight":"bottomLeft",[lt,nn]),Fe=Dt("dropdown",fe),[st,yt]=(0,a.Z)(Fe),[,an]=(0,y.Z)(),Wt=ne.Children.only(Be),Ke=(0,it.Tm)(Wt,{className:Ne()(`${Fe}-trigger`,{[`${Fe}-rtl`]:nn==="rtl"},Wt.props.className),disabled:We}),Ve=We?[]:Pe;let we;Ve&&Ve.includes("contextMenu")&&(we=!0);const[me,Ge]=(0,be.Z)(!1,{value:Ye!=null?Ye:Ft}),ze=(0,Re.useEvent)(Ce=>{ft==null||ft(Ce),Jt==null||Jt(Ce),Ge(Ce)}),Ee=Ne()(Bt,Tt,yt,{[`${Fe}-rtl`]:nn==="rtl"}),Se=(0,_e.Z)({arrowPointAtCenter:typeof de=="object"&&de.pointAtCenter,autoAdjustOverflow:Te,offset:an.marginXXS,arrowWidth:de?an.sizePopupArrow:0,borderRadius:an.borderRadius}),nt=ne.useCallback(()=>{Ge(!1)},[]),Me=()=>{let Ce;return ue!=null&&ue.items?Ce=ne.createElement(Xe.default,Object.assign({},ue)):typeof Lt=="function"?Ce=Lt():Ce=Lt,ve&&(Ce=ve(Ce)),Ce=ne.Children.only(typeof Ce=="string"?ne.createElement("span",null,Ce):Ce),ne.createElement(se.J,{prefixCls:`${Fe}-menu`,expandIcon:ne.createElement("span",{className:`${Fe}-menu-submenu-arrow`},ne.createElement(pe.Z,{className:`${Fe}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:nt,validator:ke=>{let{mode:xt}=ke}},Ce)};return st(ne.createElement(Oe.Z,Object.assign({alignPoint:we},(0,qe.Z)(ie,["rootClassName"]),{mouseEnterDelay:Rt,mouseLeaveDelay:bt,visible:me,builtinPlacements:Se,arrow:!!de,overlayClassName:Ee,prefixCls:Fe,getPopupContainer:Ue||tt,transitionName:vt,trigger:Ve,overlay:Me,placement:Vt,onVisibleChange:ze}),Ke))};function x(ie){return Object.assign(Object.assign({},ie),{align:{overflow:{adjustX:!1,adjustY:!1}}})}const te=(0,dt.Z)(b,"dropdown",ie=>ie,x),ae=ie=>ne.createElement(te,Object.assign({},ie),ne.createElement("span",null));b._InternalPanelDoNotUseOrYouWillBeFired=ae,Mt.Z=b},38854:function(wt,Mt,oe){"use strict";oe.d(Mt,{Z:function(){return y}});var ne=oe(91857),pe=oe(92310),Je=oe.n(pe),Ne=oe(59301),Oe=oe(18785),Re=oe(3113),be=oe(36355),qe=oe(81327),_e=oe(33234),dt=oe(47211),it=function(a,E){var b={};for(var x in a)Object.prototype.hasOwnProperty.call(a,x)&&E.indexOf(x)<0&&(b[x]=a[x]);if(a!=null&&typeof Object.getOwnPropertySymbols=="function")for(var te=0,x=Object.getOwnPropertySymbols(a);te{const{getPopupContainer:E,getPrefixCls:b,direction:x}=Ne.useContext(be.E_),{prefixCls:te,type:ae="default",danger:ie,disabled:ue,loading:de,onClick:fe,htmlType:Be,children:Pe,className:We,menu:ve,arrow:Ue,autoFocus:Bt,overlay:Tt,trigger:Ye,align:ft,open:Ft,onOpenChange:Jt,placement:Rt,getPopupContainer:bt,href:Te,icon:lt=Ne.createElement(Oe.Z,null),title:Lt,buttonsRender:De=Me=>Me,mouseEnterDelay:tt,mouseLeaveDelay:Dt,overlayClassName:nn,overlayStyle:vt,destroyPopupOnHide:Vt,dropdownRender:Fe}=a,st=it(a,["prefixCls","type","danger","disabled","loading","onClick","htmlType","children","className","menu","arrow","autoFocus","overlay","trigger","align","open","onOpenChange","placement","getPopupContainer","href","icon","title","buttonsRender","mouseEnterDelay","mouseLeaveDelay","overlayClassName","overlayStyle","destroyPopupOnHide","dropdownRender"]),yt=b("dropdown",te),an=`${yt}-button`,[Wt,Ke]=(0,dt.Z)(yt),Ve={menu:ve,arrow:Ue,autoFocus:Bt,align:ft,disabled:ue,trigger:ue?[]:Ye,onOpenChange:Jt,getPopupContainer:bt||E,mouseEnterDelay:tt,mouseLeaveDelay:Dt,overlayClassName:nn,overlayStyle:vt,destroyPopupOnHide:Vt,dropdownRender:Fe},{compactSize:we,compactItemClassnames:me}=(0,_e.ri)(yt,x),Ge=Je()(an,me,We,Ke);"overlay"in a&&(Ve.overlay=Tt),"open"in a&&(Ve.open=Ft),"placement"in a?Ve.placement=Rt:Ve.placement=x==="rtl"?"bottomLeft":"bottomRight";const ze=Ne.createElement(Re.ZP,{type:ae,danger:ie,disabled:ue,loading:de,onClick:fe,htmlType:Be,href:Te,title:Lt},Pe),Ee=Ne.createElement(Re.ZP,{type:ae,danger:ie,icon:lt}),[Se,nt]=De([ze,Ee]);return Wt(Ne.createElement(qe.Z.Compact,Object.assign({className:Ge,size:we,block:!0},st),Se,Ne.createElement(ne.Z,Object.assign({},Ve),nt)))};et.__ANT_BUTTON=!0;var Xe=et;const se=ne.Z;se.Button=Xe;var y=se},47211:function(wt,Mt,oe){"use strict";oe.d(Mt,{Z:function(){return it}});var ne=oe(17313),pe=oe(13826),Je=oe(92899),Ne=oe(29878),Oe=oe(19447),Re=oe(83116),be=oe(37613),_e=et=>{const{componentCls:Xe,menuCls:se,colorError:y,colorTextLightSolid:a}=et,E=`${se}-item`;return{[`${Xe}, ${Xe}-menu-submenu`]:{[`${se} ${E}`]:{[`&${E}-danger:not(${E}-disabled)`]:{color:y,"&:hover":{color:a,backgroundColor:y}}}}}};const dt=et=>{const{componentCls:Xe,menuCls:se,zIndexPopup:y,dropdownArrowDistance:a,sizePopupArrow:E,antCls:b,iconCls:x,motionDurationMid:te,dropdownPaddingVertical:ae,fontSize:ie,dropdownEdgeChildPadding:ue,colorTextDisabled:de,fontSizeIcon:fe,controlPaddingHorizontal:Be,colorBgElevated:Pe}=et;return[{[Xe]:Object.assign(Object.assign({},(0,ne.Wf)(et)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:y,display:"block","&::before":{position:"absolute",insetBlock:-a+E/2,zIndex:-9999,opacity:1e-4,content:'""'},[`&-trigger${b}-btn`]:{[`& > ${x}-down, & > ${b}-btn-icon > ${x}-down`]:{fontSize:fe}},[`${Xe}-wrap`]:{position:"relative",[`${b}-btn > ${x}-down`]:{fontSize:fe},[`${x}-down::before`]:{transition:`transform ${te}`}},[`${Xe}-wrap-open`]:{[`${x}-down::before`]:{transform:"rotate(180deg)"}},"\n &-hidden,\n &-menu-hidden,\n &-menu-submenu-hidden\n ":{display:"none"},[`&${b}-slide-down-enter${b}-slide-down-enter-active${Xe}-placement-bottomLeft, - &${b}-slide-down-appear${b}-slide-down-appear-active${Xe}-placement-bottomLeft, - &${b}-slide-down-enter${b}-slide-down-enter-active${Xe}-placement-bottom, - &${b}-slide-down-appear${b}-slide-down-appear-active${Xe}-placement-bottom, - &${b}-slide-down-enter${b}-slide-down-enter-active${Xe}-placement-bottomRight, - &${b}-slide-down-appear${b}-slide-down-appear-active${Xe}-placement-bottomRight`]:{animationName:pe.fJ},[`&${b}-slide-up-enter${b}-slide-up-enter-active${Xe}-placement-topLeft, - &${b}-slide-up-appear${b}-slide-up-appear-active${Xe}-placement-topLeft, - &${b}-slide-up-enter${b}-slide-up-enter-active${Xe}-placement-top, - &${b}-slide-up-appear${b}-slide-up-appear-active${Xe}-placement-top, - &${b}-slide-up-enter${b}-slide-up-enter-active${Xe}-placement-topRight, - &${b}-slide-up-appear${b}-slide-up-appear-active${Xe}-placement-topRight`]:{animationName:pe.Qt},[`&${b}-slide-down-leave${b}-slide-down-leave-active${Xe}-placement-bottomLeft, - &${b}-slide-down-leave${b}-slide-down-leave-active${Xe}-placement-bottom, - &${b}-slide-down-leave${b}-slide-down-leave-active${Xe}-placement-bottomRight`]:{animationName:pe.Uw},[`&${b}-slide-up-leave${b}-slide-up-leave-active${Xe}-placement-topLeft, - &${b}-slide-up-leave${b}-slide-up-leave-active${Xe}-placement-top, - &${b}-slide-up-leave${b}-slide-up-leave-active${Xe}-placement-topRight`]:{animationName:pe.ly}})},(0,Oe.ZP)(et,{colorBg:Pe,limitVerticalRadius:!0,arrowPlacement:{top:!0,bottom:!0}}),{[`${Xe} ${se}`]:{position:"relative",margin:0},[`${se}-submenu-popup`]:{position:"absolute",zIndex:y,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${Xe}, ${Xe}-menu-submenu`]:{[se]:Object.assign(Object.assign({padding:ue,listStyleType:"none",backgroundColor:Pe,backgroundClip:"padding-box",borderRadius:et.borderRadiusLG,outline:"none",boxShadow:et.boxShadowSecondary},(0,ne.Qy)(et)),{[`${se}-item-group-title`]:{padding:`${ae}px ${Be}px`,color:et.colorTextDescription,transition:`all ${te}`},[`${se}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${se}-item-icon`]:{minWidth:ie,marginInlineEnd:et.marginXS,fontSize:et.fontSizeSM},[`${se}-title-content`]:{flex:"auto","> a":{color:"inherit",transition:`all ${te}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}}},[`${se}-item, ${se}-submenu-title`]:Object.assign(Object.assign({clear:"both",margin:0,padding:`${ae}px ${Be}px`,color:et.colorText,fontWeight:"normal",fontSize:ie,lineHeight:et.lineHeight,cursor:"pointer",transition:`all ${te}`,borderRadius:et.borderRadiusSM,"&:hover, &-active":{backgroundColor:et.controlItemBgHover}},(0,ne.Qy)(et)),{"&-selected":{color:et.colorPrimary,backgroundColor:et.controlItemBgActive,"&:hover, &-active":{backgroundColor:et.controlItemBgActiveHover}},"&-disabled":{color:de,cursor:"not-allowed","&:hover":{color:de,backgroundColor:Pe,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${et.marginXXS}px 0`,overflow:"hidden",lineHeight:0,backgroundColor:et.colorSplit},[`${Xe}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:et.paddingXS,[`${Xe}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:et.colorTextDescription,fontSize:fe,fontStyle:"normal"}}}),[`${se}-item-group-list`]:{margin:`0 ${et.marginXS}px`,padding:0,listStyle:"none"},[`${se}-submenu-title`]:{paddingInlineEnd:Be+et.fontSizeSM},[`${se}-submenu-vertical`]:{position:"relative"},[`${se}-submenu${se}-submenu-disabled ${Xe}-menu-submenu-title`]:{[`&, ${Xe}-menu-submenu-arrow-icon`]:{color:de,backgroundColor:Pe,cursor:"not-allowed"}},[`${se}-submenu-selected ${Xe}-menu-submenu-title`]:{color:et.colorPrimary}})}},[(0,pe.oN)(et,"slide-up"),(0,pe.oN)(et,"slide-down"),(0,Je.Fm)(et,"move-up"),(0,Je.Fm)(et,"move-down"),(0,Ne._y)(et,"zoom-big")]]};var it=(0,Re.Z)("Dropdown",(et,Xe)=>{let{rootPrefixCls:se}=Xe;const{marginXXS:y,sizePopupArrow:a,controlHeight:E,fontSize:b,lineHeight:x,paddingXXS:te,componentCls:ae,borderRadiusLG:ie}=et,ue=(E-b*x)/2,{dropdownArrowOffset:de}=(0,Oe.fS)({contentRadius:ie}),fe=(0,be.TS)(et,{menuCls:`${ae}-menu`,rootPrefixCls:se,dropdownArrowDistance:a/2+y,dropdownArrowOffset:de,dropdownPaddingVertical:ue,dropdownEdgeChildPadding:te});return[dt(fe),_e(fe)]},et=>({zIndexPopup:et.zIndexPopupBase+50}))},8628:function(wt,Mt,oe){"use strict";var ne=oe(59301),pe=oe(34280),Je=oe(56762),Ne=oe(69507);function Oe(){let Re=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;const be=(0,ne.useRef)({}),qe=(0,Je.Z)(),_e=(0,Ne.ZP)();return(0,pe.Z)(()=>{const dt=_e.subscribe(it=>{be.current=it,Re&&qe()});return()=>_e.unsubscribe(dt)},[]),be.current}Mt.Z=Oe},45818:function(wt,Mt,oe){"use strict";oe.d(Mt,{D:function(){return te},Z:function(){return ue}});var ne=oe(72308),pe=oe(59301),Je={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"bars",theme:"outlined"},Ne=Je,Oe=oe(7657),Re=function(fe,Be){return pe.createElement(Oe.Z,(0,ne.Z)({},fe,{ref:Be,icon:Ne}))},be=pe.forwardRef(Re),qe=be,_e=oe(33853),dt=oe(38819),it=oe(92310),et=oe.n(it),Xe=oe(2738),y=de=>!isNaN(parseFloat(de))&&isFinite(de),a=oe(36355),E=oe(84966),b=function(de,fe){var Be={};for(var Pe in de)Object.prototype.hasOwnProperty.call(de,Pe)&&fe.indexOf(Pe)<0&&(Be[Pe]=de[Pe]);if(de!=null&&typeof Object.getOwnPropertySymbols=="function")for(var We=0,Pe=Object.getOwnPropertySymbols(de);We{let de=0;return function(){let fe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return de+=1,`${fe}${de}`}})();var ue=pe.forwardRef((de,fe)=>{const{prefixCls:Be,className:Pe,trigger:We,children:ve,defaultCollapsed:Ue=!1,theme:Bt="dark",style:Tt={},collapsible:Ye=!1,reverseArrow:ft=!1,width:Ft=200,collapsedWidth:Jt=80,zeroWidthTriggerStyle:Rt,breakpoint:bt,onCollapse:Te,onBreakpoint:lt}=de,Lt=b(de,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:De}=(0,pe.useContext)(E.Gs),[tt,Dt]=(0,pe.useState)("collapsed"in de?de.collapsed:Ue),[nn,vt]=(0,pe.useState)(!1);(0,pe.useEffect)(()=>{"collapsed"in de&&Dt(de.collapsed)},[de.collapsed]);const Vt=(Ke,Ve)=>{"collapsed"in de||Dt(Ke),Te==null||Te(Ke,Ve)},Fe=(0,pe.useRef)();Fe.current=Ke=>{vt(Ke.matches),lt==null||lt(Ke.matches),tt!==Ke.matches&&Vt(Ke.matches,"responsive")},(0,pe.useEffect)(()=>{function Ke(we){return Fe.current(we)}let Ve;if(typeof window!="undefined"){const{matchMedia:we}=window;if(we&&bt&&bt in x){Ve=we(`(max-width: ${x[bt]})`);try{Ve.addEventListener("change",Ke)}catch(me){Ve.addListener(Ke)}Ke(Ve)}}return()=>{try{Ve==null||Ve.removeEventListener("change",Ke)}catch(we){Ve==null||Ve.removeListener(Ke)}}},[bt]),(0,pe.useEffect)(()=>{const Ke=ae("ant-sider-");return De.addSider(Ke),()=>De.removeSider(Ke)},[]);const st=()=>{Vt(!tt,"clickTrigger")},{getPrefixCls:yt}=(0,pe.useContext)(a.E_),an=()=>{const Ke=yt("layout-sider",Be),Ve=(0,Xe.Z)(Lt,["collapsed"]),we=tt?Jt:Ft,me=y(we)?`${we}px`:String(we),Ge=parseFloat(String(Jt||0))===0?pe.createElement("span",{onClick:st,className:et()(`${Ke}-zero-width-trigger`,`${Ke}-zero-width-trigger-${ft?"right":"left"}`),style:Rt},We||pe.createElement(qe,null)):null,Se={expanded:ft?pe.createElement(dt.Z,null):pe.createElement(_e.Z,null),collapsed:ft?pe.createElement(_e.Z,null):pe.createElement(dt.Z,null)}[tt?"collapsed":"expanded"],nt=We!==null?Ge||pe.createElement("div",{className:`${Ke}-trigger`,onClick:st,style:{width:me}},We||Se):null,Me=Object.assign(Object.assign({},Tt),{flex:`0 0 ${me}`,maxWidth:me,minWidth:me,width:me}),Ce=et()(Ke,`${Ke}-${Bt}`,{[`${Ke}-collapsed`]:!!tt,[`${Ke}-has-trigger`]:Ye&&We!==null&&!Ge,[`${Ke}-below`]:!!nn,[`${Ke}-zero-width`]:parseFloat(me)===0},Pe);return pe.createElement("aside",Object.assign({className:Ce},Ve,{style:Me,ref:fe}),pe.createElement("div",{className:`${Ke}-children`},ve),Ye||nn&&Ge?nt:null)},Wt=pe.useMemo(()=>({siderCollapsed:tt}),[tt]);return pe.createElement(te.Provider,{value:Wt},an())})},84966:function(wt,Mt,oe){"use strict";oe.d(Mt,{VY:function(){return te},$_:function(){return x},h4:function(){return b},Gs:function(){return Xe},ZP:function(){return ae}});var ne=oe(80702),pe=oe(92310),Je=oe.n(pe),Ne=oe(2738),Oe=oe(59301),Re=oe(36355),be=oe(83116),_e=ie=>{const{componentCls:ue,bodyBg:de,lightSiderBg:fe,lightTriggerBg:Be,lightTriggerColor:Pe}=ie;return{[`${ue}-sider-light`]:{background:fe,[`${ue}-sider-trigger`]:{color:Pe,background:Be},[`${ue}-sider-zero-width-trigger`]:{color:Pe,background:Be,border:`1px solid ${de}`,borderInlineStart:0}}}};const dt=ie=>{const{antCls:ue,componentCls:de,colorText:fe,triggerColor:Be,footerBg:Pe,triggerBg:We,headerHeight:ve,headerPadding:Ue,headerColor:Bt,footerPadding:Tt,triggerHeight:Ye,zeroTriggerHeight:ft,zeroTriggerWidth:Ft,motionDurationMid:Jt,motionDurationSlow:Rt,fontSize:bt,borderRadius:Te,bodyBg:lt,headerBg:Lt,siderBg:De}=ie;return{[de]:Object.assign(Object.assign({display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:lt,"&, *":{boxSizing:"border-box"},[`&${de}-has-sider`]:{flexDirection:"row",[`> ${de}, > ${de}-content`]:{width:0}},[`${de}-header, &${de}-footer`]:{flex:"0 0 auto"},[`${de}-sider`]:{position:"relative",minWidth:0,background:De,transition:`all ${Jt}, background 0s`,"&-children":{height:"100%",marginTop:-.1,paddingTop:.1,[`${ue}-menu${ue}-menu-inline-collapsed`]:{width:"auto"}},"&-has-trigger":{paddingBottom:Ye},"&-right":{order:1},"&-trigger":{position:"fixed",bottom:0,zIndex:1,height:Ye,color:Be,lineHeight:`${Ye}px`,textAlign:"center",background:We,cursor:"pointer",transition:`all ${Jt}`},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:ve,insetInlineEnd:-Ft,zIndex:1,width:Ft,height:ft,color:Be,fontSize:ie.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:De,borderStartStartRadius:0,borderStartEndRadius:Te,borderEndEndRadius:Te,borderEndStartRadius:0,cursor:"pointer",transition:`background ${Rt} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${Rt}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:-Ft,borderStartStartRadius:Te,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:Te}}}}},_e(ie)),{"&-rtl":{direction:"rtl"}}),[`${de}-header`]:{height:ve,padding:Ue,color:Bt,lineHeight:`${ve}px`,background:Lt,[`${ue}-menu`]:{lineHeight:"inherit"}},[`${de}-footer`]:{padding:Tt,color:fe,fontSize:bt,background:Pe},[`${de}-content`]:{flex:"auto",minHeight:0}}};var it=(0,be.Z)("Layout",ie=>[dt(ie)],ie=>{const{colorBgLayout:ue,controlHeight:de,controlHeightLG:fe,colorText:Be,controlHeightSM:Pe,marginXXS:We,colorTextLightSolid:ve,colorBgContainer:Ue}=ie,Bt=fe*1.25;return{colorBgHeader:"#001529",colorBgBody:ue,colorBgTrigger:"#002140",bodyBg:ue,headerBg:"#001529",headerHeight:de*2,headerPadding:`0 ${Bt}px`,headerColor:Be,footerPadding:`${Pe}px ${Bt}px`,footerBg:ue,siderBg:"#001529",triggerHeight:fe+We*2,triggerBg:"#002140",triggerColor:ve,zeroTriggerWidth:fe,zeroTriggerHeight:fe,lightSiderBg:Ue,lightTriggerBg:Ue,lightTriggerColor:Be}},{deprecatedTokens:[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]]}),et=function(ie,ue){var de={};for(var fe in ie)Object.prototype.hasOwnProperty.call(ie,fe)&&ue.indexOf(fe)<0&&(de[fe]=ie[fe]);if(ie!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Be=0,fe=Object.getOwnPropertySymbols(ie);Benull,removeSider:()=>null}});function se(ie){let{suffixCls:ue,tagName:de,displayName:fe}=ie;return Be=>Oe.forwardRef((We,ve)=>Oe.createElement(Be,Object.assign({ref:ve,suffixCls:ue,tagName:de},We)))}const y=Oe.forwardRef((ie,ue)=>{const{prefixCls:de,suffixCls:fe,className:Be,tagName:Pe}=ie,We=et(ie,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:ve}=Oe.useContext(Re.E_),Ue=ve("layout",de),[Bt,Tt]=it(Ue),Ye=fe?`${Ue}-${fe}`:Ue;return Bt(Oe.createElement(Pe,Object.assign({className:Je()(de||Ye,Be,Tt),ref:ue},We)))}),a=Oe.forwardRef((ie,ue)=>{const{direction:de}=Oe.useContext(Re.E_),[fe,Be]=Oe.useState([]),{prefixCls:Pe,className:We,rootClassName:ve,children:Ue,hasSider:Bt,tagName:Tt,style:Ye}=ie,ft=et(ie,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),Ft=(0,Ne.Z)(ft,["suffixCls"]),{getPrefixCls:Jt,layout:Rt}=Oe.useContext(Re.E_),bt=Jt("layout",Pe),[Te,lt]=it(bt),Lt=Je()(bt,{[`${bt}-has-sider`]:typeof Bt=="boolean"?Bt:fe.length>0,[`${bt}-rtl`]:de==="rtl"},Rt==null?void 0:Rt.className,We,ve,lt),De=Oe.useMemo(()=>({siderHook:{addSider:tt=>{Be(Dt=>[].concat((0,ne.Z)(Dt),[tt]))},removeSider:tt=>{Be(Dt=>Dt.filter(nn=>nn!==tt))}}}),[]);return Te(Oe.createElement(Xe.Provider,{value:De},Oe.createElement(Tt,Object.assign({ref:ue,className:Lt,style:Object.assign(Object.assign({},Rt==null?void 0:Rt.style),Ye)},Ft),Ue)))}),E=se({tagName:"div",displayName:"Layout"})(a),b=se({suffixCls:"header",tagName:"header",displayName:"Header"})(y),x=se({suffixCls:"footer",tagName:"footer",displayName:"Footer"})(y),te=se({suffixCls:"content",tagName:"main",displayName:"Content"})(y);var ae=E},40875:function(wt,Mt,oe){"use strict";oe.d(Mt,{J:function(){return Re}});var ne=oe(59301),pe=oe(33234),Je=oe(70425),Ne=function(be,qe){var _e={};for(var dt in be)Object.prototype.hasOwnProperty.call(be,dt)&&qe.indexOf(dt)<0&&(_e[dt]=be[dt]);if(be!=null&&typeof Object.getOwnPropertySymbols=="function")for(var it=0,dt=Object.getOwnPropertySymbols(be);it{const{children:_e}=be,dt=Ne(be,["children"]),it=ne.useContext(Oe),et=ne.useMemo(()=>Object.assign(Object.assign({},it),dt),[it,dt.prefixCls,dt.mode,dt.selectable]);return ne.createElement(Oe.Provider,{value:et},ne.createElement(pe.BR,null,(0,Je.supportNodeRef)(_e)?ne.cloneElement(_e,{ref:qe}):_e))});Mt.Z=Oe},20834:function(wt,Mt,oe){"use strict";oe.d(Mt,{default:function(){return Wt}});var ne=oe(15285),pe=oe(59301),Je=oe(45818),Ne=oe(92310),Oe=oe.n(Ne),Re=oe(36355),be=function(Ke,Ve){var we={};for(var me in Ke)Object.prototype.hasOwnProperty.call(Ke,me)&&Ve.indexOf(me)<0&&(we[me]=Ke[me]);if(Ke!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ge=0,me=Object.getOwnPropertySymbols(Ke);Ge{const{prefixCls:Ve,className:we,dashed:me}=Ke,Ge=be(Ke,["prefixCls","className","dashed"]),{getPrefixCls:ze}=pe.useContext(Re.E_),Ee=ze("menu",Ve),Se=Oe()({[`${Ee}-item-divider-dashed`]:!!me},we);return pe.createElement(ne.iz,Object.assign({className:Se},Ge))},dt=oe(11592),it=oe(2738),et=oe(6848),Xe=oe(92343),y=(0,pe.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),E=Ke=>{var Ve;const{className:we,children:me,icon:Ge,title:ze,danger:Ee}=Ke,{prefixCls:Se,firstLevel:nt,direction:Me,disableMenuItemTitleTooltip:Ce,inlineCollapsed:ke}=pe.useContext(y),xt=rt=>{const At=pe.createElement("span",{className:`${Se}-title-content`},me);return(!Ge||(0,Xe.l$)(me)&&me.type==="span")&&me&&rt&&nt&&typeof me=="string"?pe.createElement("div",{className:`${Se}-inline-collapsed-noicon`},me.charAt(0)):At},{siderCollapsed:ht}=pe.useContext(Je.D);let zt=ze;typeof ze=="undefined"?zt=nt?me:"":ze===!1&&(zt="");const kt={title:zt};!ht&&!ke&&(kt.title=null,kt.open=!1);const Ot=(0,dt.Z)(me).length;let Le=pe.createElement(ne.ck,Object.assign({},(0,it.Z)(Ke,["title","icon","danger"]),{className:Oe()({[`${Se}-item-danger`]:Ee,[`${Se}-item-only-child`]:(Ge?Ot+1:Ot)===1},we),title:typeof ze=="string"?ze:void 0}),(0,Xe.Tm)(Ge,{className:Oe()((0,Xe.l$)(Ge)?(Ve=Ge.props)===null||Ve===void 0?void 0:Ve.className:"",`${Se}-item-icon`)}),xt(ke));return Ce||(Le=pe.createElement(et.Z,Object.assign({},kt,{placement:Me==="rtl"?"left":"right",overlayClassName:`${Se}-inline-collapsed-tooltip`}),Le)),Le},x=Ke=>{var Ve;const{popupClassName:we,icon:me,title:Ge,theme:ze}=Ke,Ee=pe.useContext(y),{prefixCls:Se,inlineCollapsed:nt,theme:Me}=Ee,Ce=(0,ne.Xl)();let ke;if(!me)ke=nt&&!Ce.length&&Ge&&typeof Ge=="string"?pe.createElement("div",{className:`${Se}-inline-collapsed-noicon`},Ge.charAt(0)):pe.createElement("span",{className:`${Se}-title-content`},Ge);else{const ht=(0,Xe.l$)(Ge)&&Ge.type==="span";ke=pe.createElement(pe.Fragment,null,(0,Xe.Tm)(me,{className:Oe()((0,Xe.l$)(me)?(Ve=me.props)===null||Ve===void 0?void 0:Ve.className:"",`${Se}-item-icon`)}),ht?Ge:pe.createElement("span",{className:`${Se}-title-content`},Ge))}const xt=pe.useMemo(()=>Object.assign(Object.assign({},Ee),{firstLevel:!1}),[Ee]);return pe.createElement(y.Provider,{value:xt},pe.createElement(ne.Wd,Object.assign({},(0,it.Z)(Ke,["icon"]),{title:ke,popupClassName:Oe()(Se,we,`${Se}-${ze||Me}`)})))},te=oe(18785),ae=oe(70425),ie=oe(62892),ue=oe(40875),de=function(Ke,Ve){var we={};for(var me in Ke)Object.prototype.hasOwnProperty.call(Ke,me)&&Ve.indexOf(me)<0&&(we[me]=Ke[me]);if(Ke!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ge=0,me=Object.getOwnPropertySymbols(Ke);Ge{if(Ve&&typeof Ve=="object"){const me=Ve,{label:Ge,children:ze,key:Ee,type:Se}=me,nt=de(me,["label","children","key","type"]),Me=Ee!=null?Ee:`tmp-${we}`;return ze||Se==="group"?Se==="group"?pe.createElement(ne.BW,Object.assign({key:Me},nt,{title:Ge}),fe(ze)):pe.createElement(x,Object.assign({key:Me},nt,{title:Ge}),fe(ze)):Se==="divider"?pe.createElement(_e,Object.assign({key:Me},nt)):pe.createElement(E,Object.assign({key:Me},nt),Ge)}return null}).filter(Ve=>Ve)}function Be(Ke){return pe.useMemo(()=>Ke&&fe(Ke),[Ke])}var Pe=oe(64993),We=oe(17313),ve=oe(8378),Ue=oe(13826),Bt=oe(29878),Tt=oe(83116),Ye=oe(37613),Ft=Ke=>{const{componentCls:Ve,motionDurationSlow:we,horizontalLineHeight:me,colorSplit:Ge,lineWidth:ze,lineType:Ee,itemPaddingInline:Se}=Ke;return{[`${Ve}-horizontal`]:{lineHeight:me,border:0,borderBottom:`${ze}px ${Ee} ${Ge}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${Ve}-item, ${Ve}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:Se},[`> ${Ve}-item:hover, - > ${Ve}-item-active, - > ${Ve}-submenu ${Ve}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${Ve}-item, ${Ve}-submenu-title`]:{transition:[`border-color ${we}`,`background ${we}`].join(",")},[`${Ve}-submenu-arrow`]:{display:"none"}}}},Rt=Ke=>{let{componentCls:Ve,menuArrowOffset:we}=Ke;return{[`${Ve}-rtl`]:{direction:"rtl"},[`${Ve}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${Ve}-rtl${Ve}-vertical, - ${Ve}-submenu-rtl ${Ve}-vertical`]:{[`${Ve}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(-${we})`},"&::after":{transform:`rotate(45deg) translateY(${we})`}}}}};const bt=Ke=>Object.assign({},(0,We.oN)(Ke));var lt=(Ke,Ve)=>{const{componentCls:we,itemColor:me,itemSelectedColor:Ge,groupTitleColor:ze,itemBg:Ee,subMenuItemBg:Se,itemSelectedBg:nt,activeBarHeight:Me,activeBarWidth:Ce,activeBarBorderWidth:ke,motionDurationSlow:xt,motionEaseInOut:ht,motionEaseOut:zt,itemPaddingInline:kt,motionDurationMid:Ot,itemHoverColor:Le,lineType:rt,colorSplit:At,itemDisabledColor:gt,dangerItemColor:St,dangerItemHoverColor:on,dangerItemSelectedColor:mn,dangerItemActiveBg:dn,dangerItemSelectedBg:vn,itemHoverBg:Wn,itemActiveBg:fn,menuSubMenuBg:Zn,horizontalItemSelectedColor:$n,horizontalItemSelectedBg:ta,horizontalItemBorderRadius:Mn,horizontalItemHoverBg:ua,popupBg:Qn}=Ke;return{[`${we}-${Ve}, ${we}-${Ve} > ${we}`]:{color:me,background:Ee,[`&${we}-root:focus-visible`]:Object.assign({},bt(Ke)),[`${we}-item-group-title`]:{color:ze},[`${we}-submenu-selected`]:{[`> ${we}-submenu-title`]:{color:Ge}},[`${we}-item-disabled, ${we}-submenu-disabled`]:{color:`${gt} !important`},[`${we}-item:not(${we}-item-selected):not(${we}-submenu-selected)`]:{[`&:hover, > ${we}-submenu-title:hover`]:{color:Le}},[`&:not(${we}-horizontal)`]:{[`${we}-item:not(${we}-item-selected)`]:{"&:hover":{backgroundColor:Wn},"&:active":{backgroundColor:fn}},[`${we}-submenu-title`]:{"&:hover":{backgroundColor:Wn},"&:active":{backgroundColor:fn}}},[`${we}-item-danger`]:{color:St,[`&${we}-item:hover`]:{[`&:not(${we}-item-selected):not(${we}-submenu-selected)`]:{color:on}},[`&${we}-item:active`]:{background:dn}},[`${we}-item a`]:{"&, &:hover":{color:"inherit"}},[`${we}-item-selected`]:{color:Ge,[`&${we}-item-danger`]:{color:mn},"a, a:hover":{color:"inherit"}},[`& ${we}-item-selected`]:{backgroundColor:nt,[`&${we}-item-danger`]:{backgroundColor:vn}},[`${we}-item, ${we}-submenu-title`]:{[`&:not(${we}-item-disabled):focus-visible`]:Object.assign({},bt(Ke))},[`&${we}-submenu > ${we}`]:{backgroundColor:Zn},[`&${we}-popup > ${we}`]:{backgroundColor:Qn},[`&${we}-horizontal`]:Object.assign(Object.assign({},Ve==="dark"?{borderBottom:0}:{}),{[`> ${we}-item, > ${we}-submenu`]:{top:ke,marginTop:-ke,marginBottom:0,borderRadius:Mn,"&::after":{position:"absolute",insetInline:kt,bottom:0,borderBottom:`${Me}px solid transparent`,transition:`border-color ${xt} ${ht}`,content:'""'},"&:hover, &-active, &-open":{background:ua,"&::after":{borderBottomWidth:Me,borderBottomColor:$n}},"&-selected":{color:$n,backgroundColor:ta,"&:hover":{backgroundColor:ta},"&::after":{borderBottomWidth:Me,borderBottomColor:$n}}}}),[`&${we}-root`]:{[`&${we}-inline, &${we}-vertical`]:{borderInlineEnd:`${ke}px ${rt} ${At}`}},[`&${we}-inline`]:{[`${we}-sub${we}-inline`]:{background:Se},[`${we}-item, ${we}-submenu-title`]:ke&&Ce?{width:`calc(100% + ${ke}px)`}:{},[`${we}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${Ce}px solid ${Ge}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${Ot} ${zt}`,`opacity ${Ot} ${zt}`].join(","),content:'""'},[`&${we}-item-danger`]:{"&::after":{borderInlineEndColor:mn}}},[`${we}-selected, ${we}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${Ot} ${ht}`,`opacity ${Ot} ${ht}`].join(",")}}}}}};const Lt=Ke=>{const{componentCls:Ve,itemHeight:we,itemMarginInline:me,padding:Ge,menuArrowSize:ze,marginXS:Ee,itemMarginBlock:Se}=Ke,nt=Ge+ze+Ee;return{[`${Ve}-item`]:{position:"relative",overflow:"hidden"},[`${Ve}-item, ${Ve}-submenu-title`]:{height:we,lineHeight:`${we}px`,paddingInline:Ge,overflow:"hidden",textOverflow:"ellipsis",marginInline:me,marginBlock:Se,width:`calc(100% - ${me*2}px)`},[`> ${Ve}-item, - > ${Ve}-submenu > ${Ve}-submenu-title`]:{height:we,lineHeight:`${we}px`},[`${Ve}-item-group-list ${Ve}-submenu-title, - ${Ve}-submenu-title`]:{paddingInlineEnd:nt}}};var tt=Ke=>{const{componentCls:Ve,iconCls:we,itemHeight:me,colorTextLightSolid:Ge,dropdownWidth:ze,controlHeightLG:Ee,motionDurationMid:Se,motionEaseOut:nt,paddingXL:Me,itemMarginInline:Ce,fontSizeLG:ke,motionDurationSlow:xt,paddingXS:ht,boxShadowSecondary:zt,collapsedWidth:kt,collapsedIconSize:Ot}=Ke,Le={height:me,lineHeight:`${me}px`,listStylePosition:"inside",listStyleType:"disc"};return[{[Ve]:{"&-inline, &-vertical":Object.assign({[`&${Ve}-root`]:{boxShadow:"none"}},Lt(Ke))},[`${Ve}-submenu-popup`]:{[`${Ve}-vertical`]:Object.assign(Object.assign({},Lt(Ke)),{boxShadow:zt})}},{[`${Ve}-submenu-popup ${Ve}-vertical${Ve}-sub`]:{minWidth:ze,maxHeight:`calc(100vh - ${Ee*2.5}px)`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${Ve}-inline`]:{width:"100%",[`&${Ve}-root`]:{[`${Ve}-item, ${Ve}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${xt}`,`background ${xt}`,`padding ${Se} ${nt}`].join(","),[`> ${Ve}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${Ve}-sub${Ve}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${Ve}-submenu > ${Ve}-submenu-title`]:Le,[`& ${Ve}-item-group-title`]:{paddingInlineStart:Me}},[`${Ve}-item`]:Le}},{[`${Ve}-inline-collapsed`]:{width:kt,[`&${Ve}-root`]:{[`${Ve}-item, ${Ve}-submenu ${Ve}-submenu-title`]:{[`> ${Ve}-inline-collapsed-noicon`]:{fontSize:ke,textAlign:"center"}}},[`> ${Ve}-item, - > ${Ve}-item-group > ${Ve}-item-group-list > ${Ve}-item, - > ${Ve}-item-group > ${Ve}-item-group-list > ${Ve}-submenu > ${Ve}-submenu-title, - > ${Ve}-submenu > ${Ve}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${ke/2}px - ${Ce}px)`,textOverflow:"clip",[` - ${Ve}-submenu-arrow, - ${Ve}-submenu-expand-icon - `]:{opacity:0},[`${Ve}-item-icon, ${we}`]:{margin:0,fontSize:Ot,lineHeight:`${me}px`,"+ span":{display:"inline-block",opacity:0}}},[`${Ve}-item-icon, ${we}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${Ve}-item-icon, ${we}`]:{display:"none"},"a, a:hover":{color:Ge}},[`${Ve}-item-group-title`]:Object.assign(Object.assign({},We.vS),{paddingInline:ht})}}]};const Dt=Ke=>{const{componentCls:Ve,motionDurationSlow:we,motionDurationMid:me,motionEaseInOut:Ge,motionEaseOut:ze,iconCls:Ee,iconSize:Se,iconMarginInlineEnd:nt}=Ke;return{[`${Ve}-item, ${Ve}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${we}`,`background ${we}`,`padding ${we} ${Ge}`].join(","),[`${Ve}-item-icon, ${Ee}`]:{minWidth:Se,fontSize:Se,transition:[`font-size ${me} ${ze}`,`margin ${we} ${Ge}`,`color ${we}`].join(","),"+ span":{marginInlineStart:nt,opacity:1,transition:[`opacity ${we} ${Ge}`,`margin ${we}`,`color ${we}`].join(",")}},[`${Ve}-item-icon`]:Object.assign({},(0,We.Ro)()),[`&${Ve}-item-only-child`]:{[`> ${Ee}, > ${Ve}-item-icon`]:{marginInlineEnd:0}}},[`${Ve}-item-disabled, ${Ve}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important"},[`> ${Ve}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},nn=Ke=>{const{componentCls:Ve,motionDurationSlow:we,motionEaseInOut:me,borderRadius:Ge,menuArrowSize:ze,menuArrowOffset:Ee}=Ke;return{[`${Ve}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:Ke.margin,width:ze,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${we} ${me}, opacity ${we}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:ze*.6,height:ze*.15,backgroundColor:"currentcolor",borderRadius:Ge,transition:[`background ${we} ${me}`,`transform ${we} ${me}`,`top ${we} ${me}`,`color ${we} ${me}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(-${Ee})`},"&::after":{transform:`rotate(-45deg) translateY(${Ee})`}}}}},vt=Ke=>{const{antCls:Ve,componentCls:we,fontSize:me,motionDurationSlow:Ge,motionDurationMid:ze,motionEaseInOut:Ee,paddingXS:Se,padding:nt,colorSplit:Me,lineWidth:Ce,zIndexPopup:ke,borderRadiusLG:xt,subMenuItemBorderRadius:ht,menuArrowSize:zt,menuArrowOffset:kt,lineType:Ot,menuPanelMaskInset:Le,groupTitleLineHeight:rt,groupTitleFontSize:At}=Ke;return[{"":{[`${we}`]:Object.assign(Object.assign({},(0,We.dF)()),{"&-hidden":{display:"none"}})},[`${we}-submenu-hidden`]:{display:"none"}},{[we]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,We.Wf)(Ke)),(0,We.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:me,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${Ge} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${we}-item`]:{flex:"none"}},[`${we}-item, ${we}-submenu, ${we}-submenu-title`]:{borderRadius:Ke.itemBorderRadius},[`${we}-item-group-title`]:{padding:`${Se}px ${nt}px`,fontSize:At,lineHeight:rt,transition:`all ${Ge}`},[`&-horizontal ${we}-submenu`]:{transition:[`border-color ${Ge} ${Ee}`,`background ${Ge} ${Ee}`].join(",")},[`${we}-submenu, ${we}-submenu-inline`]:{transition:[`border-color ${Ge} ${Ee}`,`background ${Ge} ${Ee}`,`padding ${ze} ${Ee}`].join(",")},[`${we}-submenu ${we}-sub`]:{cursor:"initial",transition:[`background ${Ge} ${Ee}`,`padding ${Ge} ${Ee}`].join(",")},[`${we}-title-content`]:{transition:`color ${Ge}`},[`${we}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${we}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:Me,borderStyle:Ot,borderWidth:0,borderTopWidth:Ce,marginBlock:Ce,padding:0,"&-dashed":{borderStyle:"dashed"}}}),Dt(Ke)),{[`${we}-item-group`]:{[`${we}-item-group-list`]:{margin:0,padding:0,[`${we}-item, ${we}-submenu-title`]:{paddingInline:`${me*2}px ${nt}px`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:ke,borderRadius:xt,boxShadow:"none",transformOrigin:"0 0",[`&${we}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:`${Le}px 0 0`,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'}},"&-placement-rightTop::before":{top:0,insetInlineStart:Le},"\n &-placement-leftTop,\n &-placement-bottomRight,\n ":{transformOrigin:"100% 0"},"\n &-placement-leftBottom,\n &-placement-topRight,\n ":{transformOrigin:"100% 100%"},"\n &-placement-rightBottom,\n &-placement-topLeft,\n ":{transformOrigin:"0 100%"},"\n &-placement-bottomLeft,\n &-placement-rightTop,\n ":{transformOrigin:"0 0"},"\n &-placement-leftTop,\n &-placement-leftBottom\n ":{paddingInlineEnd:Ke.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:Ke.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:Ke.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:Ke.paddingXS},[`> ${we}`]:Object.assign(Object.assign(Object.assign({borderRadius:xt},Dt(Ke)),nn(Ke)),{[`${we}-item, ${we}-submenu > ${we}-submenu-title`]:{borderRadius:ht},[`${we}-submenu-title::after`]:{transition:`transform ${Ge} ${Ee}`}})}}),nn(Ke)),{[`&-inline-collapsed ${we}-submenu-arrow, - &-inline ${we}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${kt})`},"&::after":{transform:`rotate(45deg) translateX(-${kt})`}},[`${we}-submenu-open${we}-submenu-inline > ${we}-submenu-title > ${we}-submenu-arrow`]:{transform:`translateY(-${zt*.2}px)`,"&::after":{transform:`rotate(-45deg) translateX(-${kt})`},"&::before":{transform:`rotate(45deg) translateX(${kt})`}}})},{[`${Ve}-layout-header`]:{[we]:{lineHeight:"inherit"}}}]};var Vt=(Ke,Ve)=>(0,Tt.Z)("Menu",me=>{if(Ve===!1)return[];const{colorBgElevated:Ge,colorPrimary:ze,colorTextLightSolid:Ee,controlHeightLG:Se,fontSize:nt,darkItemColor:Me,darkDangerItemColor:Ce,darkItemBg:ke,darkSubMenuItemBg:xt,darkItemSelectedColor:ht,darkItemSelectedBg:zt,darkDangerItemSelectedBg:kt,darkItemHoverBg:Ot,darkGroupTitleColor:Le,darkItemHoverColor:rt,darkItemDisabledColor:At,darkDangerItemHoverColor:gt,darkDangerItemSelectedColor:St,darkDangerItemActiveBg:on}=me,mn=nt/7*5,dn=(0,Ye.TS)(me,{menuArrowSize:mn,menuHorizontalHeight:Se*1.15,menuArrowOffset:`${mn*.25}px`,menuPanelMaskInset:-7,menuSubMenuBg:Ge}),vn=(0,Ye.TS)(dn,{itemColor:Me,itemHoverColor:rt,groupTitleColor:Le,itemSelectedColor:ht,itemBg:ke,popupBg:ke,subMenuItemBg:xt,itemActiveBg:"transparent",itemSelectedBg:zt,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:Ot,itemDisabledColor:At,dangerItemColor:Ce,dangerItemHoverColor:gt,dangerItemSelectedColor:St,dangerItemActiveBg:on,dangerItemSelectedBg:kt,menuSubMenuBg:xt,horizontalItemSelectedColor:Ee,horizontalItemSelectedBg:ze});return[vt(dn),Ft(dn),tt(dn),lt(dn,"light"),lt(vn,"dark"),Rt(dn),(0,ve.Z)(dn),(0,Ue.oN)(dn,"slide-up"),(0,Ue.oN)(dn,"slide-down"),(0,Bt._y)(dn,"zoom-big")]},me=>{const{colorPrimary:Ge,colorError:ze,colorTextDisabled:Ee,colorErrorBg:Se,colorText:nt,colorTextDescription:Me,colorBgContainer:Ce,colorFillAlter:ke,colorFillContent:xt,lineWidth:ht,lineWidthBold:zt,controlItemBgActive:kt,colorBgTextHover:Ot,controlHeightLG:Le,lineHeight:rt,colorBgElevated:At,marginXXS:gt,padding:St,fontSize:on,controlHeightSM:mn,fontSizeLG:dn,colorTextLightSolid:vn,colorErrorHover:Wn}=me,fn=new Pe.C(vn).setAlpha(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:me.zIndexPopupBase+50,radiusItem:me.borderRadiusLG,itemBorderRadius:me.borderRadiusLG,radiusSubMenuItem:me.borderRadiusSM,subMenuItemBorderRadius:me.borderRadiusSM,colorItemText:nt,itemColor:nt,colorItemTextHover:nt,itemHoverColor:nt,colorItemTextHoverHorizontal:Ge,horizontalItemHoverColor:Ge,colorGroupTitle:Me,groupTitleColor:Me,colorItemTextSelected:Ge,itemSelectedColor:Ge,colorItemTextSelectedHorizontal:Ge,horizontalItemSelectedColor:Ge,colorItemBg:Ce,itemBg:Ce,colorItemBgHover:Ot,itemHoverBg:Ot,colorItemBgActive:xt,itemActiveBg:kt,colorSubItemBg:ke,subMenuItemBg:ke,colorItemBgSelected:kt,itemSelectedBg:kt,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:0,colorActiveBarHeight:zt,activeBarHeight:zt,colorActiveBarBorderSize:ht,activeBarBorderWidth:ht,colorItemTextDisabled:Ee,itemDisabledColor:Ee,colorDangerItemText:ze,dangerItemColor:ze,colorDangerItemTextHover:ze,dangerItemHoverColor:ze,colorDangerItemTextSelected:ze,dangerItemSelectedColor:ze,colorDangerItemBgActive:Se,dangerItemActiveBg:Se,colorDangerItemBgSelected:Se,dangerItemSelectedBg:Se,itemMarginInline:me.marginXXS,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:Le,groupTitleLineHeight:rt,collapsedWidth:Le*2,popupBg:At,itemMarginBlock:gt,itemPaddingInline:St,horizontalLineHeight:`${Le*1.15}px`,iconSize:on,iconMarginInlineEnd:mn-on,collapsedIconSize:dn,groupTitleFontSize:on,darkItemDisabledColor:new Pe.C(vn).setAlpha(.25).toRgbString(),darkItemColor:fn,darkDangerItemColor:ze,darkItemBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:vn,darkItemSelectedBg:Ge,darkDangerItemSelectedBg:ze,darkItemHoverBg:"transparent",darkGroupTitleColor:fn,darkItemHoverColor:vn,darkDangerItemHoverColor:Wn,darkDangerItemSelectedColor:vn,darkDangerItemActiveBg:ze}},{deprecatedTokens:[["colorGroupTitle","groupTitleColor"],["radiusItem","itemBorderRadius"],["radiusSubMenuItem","subMenuItemBorderRadius"],["colorItemText","itemColor"],["colorItemTextHover","itemHoverColor"],["colorItemTextHoverHorizontal","horizontalItemHoverColor"],["colorItemTextSelected","itemSelectedColor"],["colorItemTextSelectedHorizontal","horizontalItemSelectedColor"],["colorItemTextDisabled","itemDisabledColor"],["colorDangerItemText","dangerItemColor"],["colorDangerItemTextHover","dangerItemHoverColor"],["colorDangerItemTextSelected","dangerItemSelectedColor"],["colorDangerItemBgActive","dangerItemActiveBg"],["colorDangerItemBgSelected","dangerItemSelectedBg"],["colorItemBg","itemBg"],["colorItemBgHover","itemHoverBg"],["colorSubItemBg","subMenuItemBg"],["colorItemBgActive","itemActiveBg"],["colorItemBgSelectedHorizontal","horizontalItemSelectedBg"],["colorActiveBarWidth","activeBarWidth"],["colorActiveBarHeight","activeBarHeight"],["colorActiveBarBorderSize","activeBarBorderWidth"],["colorItemBgSelected","itemSelectedBg"]]})(Ke),Fe=function(Ke,Ve){var we={};for(var me in Ke)Object.prototype.hasOwnProperty.call(Ke,me)&&Ve.indexOf(me)<0&&(we[me]=Ke[me]);if(Ke!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ge=0,me=Object.getOwnPropertySymbols(Ke);Ge{var we,me;const Ge=pe.useContext(ue.Z),ze=Ge||{},{getPrefixCls:Ee,getPopupContainer:Se,direction:nt,menu:Me}=pe.useContext(Re.E_),Ce=Ee(),{prefixCls:ke,className:xt,style:ht,theme:zt="light",expandIcon:kt,_internalDisableMenuItemTitleTooltip:Ot,inlineCollapsed:Le,siderCollapsed:rt,items:At,children:gt,rootClassName:St,mode:on,selectable:mn,onClick:dn,overflowedIndicatorPopupClassName:vn}=Ke,Wn=Fe(Ke,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","items","children","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),fn=(0,it.Z)(Wn,["collapsedWidth"]),Zn=Be(At)||gt;(we=ze.validator)===null||we===void 0||we.call(ze,{mode:on});const $n=(0,ae.useEvent)(function(){var Sn;dn==null||dn.apply(void 0,arguments),(Sn=ze.onClick)===null||Sn===void 0||Sn.call(ze)}),ta=ze.mode||on,Mn=mn!=null?mn:ze.selectable,ua=pe.useMemo(()=>rt!==void 0?rt:Le,[Le,rt]),Qn={horizontal:{motionName:`${Ce}-slide-up`},inline:(0,ie.Z)(Ce),other:{motionName:`${Ce}-zoom-big`}},Yn=Ee("menu",ke||ze.prefixCls),[ca,Ca]=Vt(Yn,!Ge),ln=Oe()(`${Yn}-${zt}`,Me==null?void 0:Me.className,xt);let gn;if(typeof kt=="function")gn=kt;else if(kt===null||kt===!1)gn=null;else if(ze.expandIcon===null||ze.expandIcon===!1)gn=null;else{const Sn=kt!=null?kt:ze.expandIcon;gn=(0,Xe.Tm)(Sn,{className:Oe()(`${Yn}-submenu-expand-icon`,(0,Xe.l$)(Sn)?(me=Sn.props)===null||me===void 0?void 0:me.className:"")})}const An=pe.useMemo(()=>({prefixCls:Yn,inlineCollapsed:ua||!1,direction:nt,firstLevel:!0,theme:zt,mode:ta,disableMenuItemTitleTooltip:Ot}),[Yn,ua,nt,Ot,zt]);return ca(pe.createElement(ue.Z.Provider,{value:null},pe.createElement(y.Provider,{value:An},pe.createElement(ne.ZP,Object.assign({getPopupContainer:Se,overflowedIndicator:pe.createElement(te.Z,null),overflowedIndicatorPopupClassName:Oe()(Yn,`${Yn}-${zt}`,vn),mode:ta,selectable:Mn,onClick:$n},fn,{inlineCollapsed:ua,style:Object.assign(Object.assign({},Me==null?void 0:Me.style),ht),className:ln,prefixCls:Yn,direction:nt,defaultMotions:Qn,expandIcon:gn,ref:Ve,rootClassName:Oe()(St,Ca)}),Zn))))});const an=(0,pe.forwardRef)((Ke,Ve)=>{const we=(0,pe.useRef)(null),me=pe.useContext(Je.D);return(0,pe.useImperativeHandle)(Ve,()=>({menu:we.current,focus:Ge=>{var ze;(ze=we.current)===null||ze===void 0||ze.focus(Ge)}})),pe.createElement(yt,Object.assign({ref:we},Ke,me))});an.Item=E,an.SubMenu=x,an.Divider=_e,an.ItemGroup=ne.BW;var Wt=an},58421:function(wt,Mt,oe){"use strict";oe.d(Mt,{Z:function(){return ze}});var ne=oe(72308),pe=oe(59301),Je={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M272.9 512l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L186.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H532c6.7 0 10.4-7.7 6.3-12.9L272.9 512zm304 0l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L490.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H836c6.7 0 10.4-7.7 6.3-12.9L576.9 512z"}}]},name:"double-left",theme:"outlined"},Ne=Je,Oe=oe(7657),Re=function(Se,nt){return pe.createElement(Oe.Z,(0,ne.Z)({},Se,{ref:nt,icon:Ne}))},be=pe.forwardRef(Re),qe=be,_e=oe(49198),dt=oe(33853),it=oe(38819),et=oe(92310),Xe=oe.n(et),se=oe(49618),y=oe(77321),a=oe(96949),E=oe(55090),b=oe(77205),x=oe(38793),te=oe(26112),ae={ZERO:48,NINE:57,NUMPAD_ZERO:96,NUMPAD_NINE:105,BACKSPACE:8,DELETE:46,ENTER:13,ARROW_UP:38,ARROW_DOWN:40},ie=ae,ue=oe(91735),de=function(Ee){(0,b.Z)(nt,Ee);var Se=(0,x.Z)(nt);function nt(){var Me;(0,a.Z)(this,nt);for(var Ce=arguments.length,ke=new Array(Ce),xt=0;xt=0||ht.relatedTarget.className.indexOf("".concat(Le,"-item"))>=0))&&Ot(Me.getValidValue()))},Me.go=function(ht){var zt=Me.state.goInputText;zt!==""&&(ht.keyCode===ie.ENTER||ht.type==="click")&&(Me.setState({goInputText:""}),Me.props.quickGo(Me.getValidValue()))},Me}return(0,E.Z)(nt,[{key:"getPageSizeOptions",value:function(){var Ce=this.props,ke=Ce.pageSize,xt=Ce.pageSizeOptions;return xt.some(function(ht){return ht.toString()===ke.toString()})?xt:xt.concat([ke.toString()]).sort(function(ht,zt){var kt=Number.isNaN(Number(ht))?0:Number(ht),Ot=Number.isNaN(Number(zt))?0:Number(zt);return kt-Ot})}},{key:"render",value:function(){var Ce=this,ke=this.props,xt=ke.pageSize,ht=ke.locale,zt=ke.rootPrefixCls,kt=ke.changeSize,Ot=ke.quickGo,Le=ke.goButton,rt=ke.selectComponentClass,At=ke.buildOptionText,gt=ke.selectPrefixCls,St=ke.disabled,on=this.state.goInputText,mn="".concat(zt,"-options"),dn=rt,vn=null,Wn=null,fn=null;if(!kt&&!Ot)return null;var Zn=this.getPageSizeOptions();if(kt&&dn){var $n=Zn.map(function(ta,Mn){return pe.createElement(dn.Option,{key:Mn,value:ta.toString()},(At||Ce.buildOptionText)(ta))});vn=pe.createElement(dn,{disabled:St,prefixCls:gt,showSearch:!1,className:"".concat(mn,"-size-changer"),optionLabelProp:"children",popupMatchSelectWidth:!1,value:(xt||Zn[0]).toString(),onChange:this.changeSize,getPopupContainer:function(Mn){return Mn.parentNode},"aria-label":ht.page_size,defaultOpen:!1},$n)}return Ot&&(Le&&(fn=typeof Le=="boolean"?pe.createElement("button",{type:"button",onClick:this.go,onKeyUp:this.go,disabled:St,className:"".concat(mn,"-quick-jumper-button")},ht.jump_to_confirm):pe.createElement("span",{onClick:this.go,onKeyUp:this.go},Le)),Wn=pe.createElement("div",{className:"".concat(mn,"-quick-jumper")},ht.jump_to,pe.createElement("input",{disabled:St,type:"text",value:on,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur,"aria-label":ht.page}),ht.page,fn)),pe.createElement("li",{className:"".concat(mn)},vn,Wn)}}]),nt}(pe.Component);de.defaultProps={pageSizeOptions:["10","20","50","100"]};var fe=de,Be=function(Se){var nt,Me=Se.rootPrefixCls,Ce=Se.page,ke=Se.active,xt=Se.className,ht=Se.showTitle,zt=Se.onClick,kt=Se.onKeyPress,Ot=Se.itemRender,Le="".concat(Me,"-item"),rt=Xe()(Le,"".concat(Le,"-").concat(Ce),(nt={},(0,se.Z)(nt,"".concat(Le,"-active"),ke),(0,se.Z)(nt,"".concat(Le,"-disabled"),!Ce),(0,se.Z)(nt,Se.className,xt),nt)),At=function(){zt(Ce)},gt=function(mn){kt(mn,zt,Ce)},St=Ot(Ce,"page",pe.createElement("a",{rel:"nofollow"},Ce));return St?pe.createElement("li",{title:ht?Ce.toString():null,className:rt,onClick:At,onKeyPress:gt,tabIndex:0},St):null},Pe=Be;function We(){}function ve(Ee){var Se=Number(Ee);return typeof Se=="number"&&!Number.isNaN(Se)&&isFinite(Se)&&Math.floor(Se)===Se}var Ue=function(Se,nt,Me){return Me};function Bt(Ee,Se,nt){var Me=typeof Ee=="undefined"?Se.pageSize:Ee;return Math.floor((nt.total-1)/Me)+1}var Tt=function(Ee){(0,b.Z)(nt,Ee);var Se=(0,x.Z)(nt);function nt(Me){var Ce;(0,a.Z)(this,nt),Ce=Se.call(this,Me),Ce.paginationNode=pe.createRef(),Ce.getJumpPrevPage=function(){return Math.max(1,Ce.state.current-(Ce.props.showLessItems?3:5))},Ce.getJumpNextPage=function(){return Math.min(Bt(void 0,Ce.state,Ce.props),Ce.state.current+(Ce.props.showLessItems?3:5))},Ce.getItemIcon=function(kt,Ot){var Le=Ce.props.prefixCls,rt=kt||pe.createElement("button",{type:"button","aria-label":Ot,className:"".concat(Le,"-item-link")});return typeof kt=="function"&&(rt=pe.createElement(kt,(0,y.Z)({},Ce.props))),rt},Ce.isValid=function(kt){var Ot=Ce.props.total;return ve(kt)&&kt!==Ce.state.current&&ve(Ot)&&Ot>0},Ce.shouldDisplayQuickJumper=function(){var kt=Ce.props,Ot=kt.showQuickJumper,Le=kt.total,rt=Ce.state.pageSize;return Le<=rt?!1:Ot},Ce.handleKeyDown=function(kt){(kt.keyCode===ie.ARROW_UP||kt.keyCode===ie.ARROW_DOWN)&&kt.preventDefault()},Ce.handleKeyUp=function(kt){var Ot=Ce.getValidValue(kt),Le=Ce.state.currentInputValue;Ot!==Le&&Ce.setState({currentInputValue:Ot}),kt.keyCode===ie.ENTER?Ce.handleChange(Ot):kt.keyCode===ie.ARROW_UP?Ce.handleChange(Ot-1):kt.keyCode===ie.ARROW_DOWN&&Ce.handleChange(Ot+1)},Ce.handleBlur=function(kt){var Ot=Ce.getValidValue(kt);Ce.handleChange(Ot)},Ce.changePageSize=function(kt){var Ot=Ce.state.current,Le=Bt(kt,Ce.state,Ce.props);Ot=Ot>Le?Le:Ot,Le===0&&(Ot=Ce.state.current),typeof kt=="number"&&("pageSize"in Ce.props||Ce.setState({pageSize:kt}),"current"in Ce.props||Ce.setState({current:Ot,currentInputValue:Ot})),Ce.props.onShowSizeChange(Ot,kt),"onChange"in Ce.props&&Ce.props.onChange&&Ce.props.onChange(Ot,kt)},Ce.handleChange=function(kt){var Ot=Ce.props,Le=Ot.disabled,rt=Ot.onChange,At=Ce.state,gt=At.pageSize,St=At.current,on=At.currentInputValue;if(Ce.isValid(kt)&&!Le){var mn=Bt(void 0,Ce.state,Ce.props),dn=kt;return kt>mn?dn=mn:kt<1&&(dn=1),"current"in Ce.props||Ce.setState({current:dn}),dn!==on&&Ce.setState({currentInputValue:dn}),rt(dn,gt),dn}return St},Ce.prev=function(){Ce.hasPrev()&&Ce.handleChange(Ce.state.current-1)},Ce.next=function(){Ce.hasNext()&&Ce.handleChange(Ce.state.current+1)},Ce.jumpPrev=function(){Ce.handleChange(Ce.getJumpPrevPage())},Ce.jumpNext=function(){Ce.handleChange(Ce.getJumpNextPage())},Ce.hasPrev=function(){return Ce.state.current>1},Ce.hasNext=function(){return Ce.state.current2?Le-2:0),At=2;At=xt?zt=xt:zt=Number(ke),zt}},{key:"getShowSizeChanger",value:function(){var Ce=this.props,ke=Ce.showSizeChanger,xt=Ce.total,ht=Ce.totalBoundaryShowSizeChanger;return typeof ke!="undefined"?ke:xt>ht}},{key:"render",value:function(){var Ce=this.props,ke=Ce.prefixCls,xt=Ce.className,ht=Ce.style,zt=Ce.disabled,kt=Ce.hideOnSinglePage,Ot=Ce.total,Le=Ce.locale,rt=Ce.showQuickJumper,At=Ce.showLessItems,gt=Ce.showTitle,St=Ce.showTotal,on=Ce.simple,mn=Ce.itemRender,dn=Ce.showPrevNextJumpers,vn=Ce.jumpPrevIcon,Wn=Ce.jumpNextIcon,fn=Ce.selectComponentClass,Zn=Ce.selectPrefixCls,$n=Ce.pageSizeOptions,ta=this.state,Mn=ta.current,ua=ta.pageSize,Qn=ta.currentInputValue;if(kt===!0&&Ot<=ua)return null;var Yn=Bt(void 0,this.state,this.props),ca=[],Ca=null,ln=null,gn=null,An=null,Sn=null,Fn=rt&&rt.goButton,Kn=At?1:2,Rn=Mn-1>0?Mn-1:0,at=Mn+1Ot?Ot:Mn*ua]));if(on){Fn&&(typeof Fn=="boolean"?Sn=pe.createElement("button",{type:"button",onClick:this.handleGoTO,onKeyUp:this.handleGoTO},Le.jump_to_confirm):Sn=pe.createElement("span",{onClick:this.handleGoTO,onKeyUp:this.handleGoTO},Fn),Sn=pe.createElement("li",{title:gt?"".concat(Le.jump_to).concat(Mn,"/").concat(Yn):null,className:"".concat(ke,"-simple-pager")},Sn));var Yt=this.renderPrev(Rn);return pe.createElement("ul",(0,ne.Z)({className:Xe()(ke,"".concat(ke,"-simple"),(0,se.Z)({},"".concat(ke,"-disabled"),zt),xt),style:ht,ref:this.paginationNode},mt),ut,Yt?pe.createElement("li",{title:gt?Le.prev_page:null,onClick:this.prev,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterPrev,className:Xe()("".concat(ke,"-prev"),(0,se.Z)({},"".concat(ke,"-disabled"),!this.hasPrev())),"aria-disabled":!this.hasPrev()},Yt):null,pe.createElement("li",{title:gt?"".concat(Mn,"/").concat(Yn):null,className:"".concat(ke,"-simple-pager")},pe.createElement("input",{type:"text",value:Qn,disabled:zt,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onChange:this.handleKeyUp,onBlur:this.handleBlur,size:3}),pe.createElement("span",{className:"".concat(ke,"-slash")},"/"),Yn),pe.createElement("li",{title:gt?Le.next_page:null,onClick:this.next,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterNext,className:Xe()("".concat(ke,"-next"),(0,se.Z)({},"".concat(ke,"-disabled"),!this.hasNext())),"aria-disabled":!this.hasNext()},this.renderNext(at)),Sn)}if(Yn<=3+Kn*2){var un={locale:Le,rootPrefixCls:ke,onClick:this.handleChange,onKeyPress:this.runIfEnter,showTitle:gt,itemRender:mn};Yn||ca.push(pe.createElement(Pe,(0,ne.Z)({},un,{key:"noPager",page:1,className:"".concat(ke,"-item-disabled")})));for(var rn=1;rn<=Yn;rn+=1){var Xn=Mn===rn;ca.push(pe.createElement(Pe,(0,ne.Z)({},un,{key:rn,page:rn,active:Xn})))}}else{var kn=At?Le.prev_3:Le.prev_5,pn=At?Le.next_3:Le.next_5,Vn=mn(this.getJumpPrevPage(),"jump-prev",this.getItemIcon(vn,"prev page")),_t=mn(this.getJumpNextPage(),"jump-next",this.getItemIcon(Wn,"next page"));dn&&(Ca=Vn?pe.createElement("li",{title:gt?kn:null,key:"prev",onClick:this.jumpPrev,tabIndex:0,onKeyPress:this.runIfEnterJumpPrev,className:Xe()("".concat(ke,"-jump-prev"),(0,se.Z)({},"".concat(ke,"-jump-prev-custom-icon"),!!vn))},Vn):null,ln=_t?pe.createElement("li",{title:gt?pn:null,key:"next",tabIndex:0,onClick:this.jumpNext,onKeyPress:this.runIfEnterJumpNext,className:Xe()("".concat(ke,"-jump-next"),(0,se.Z)({},"".concat(ke,"-jump-next-custom-icon"),!!Wn))},_t):null),An=pe.createElement(Pe,{locale:Le,last:!0,rootPrefixCls:ke,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:Yn,page:Yn,active:!1,showTitle:gt,itemRender:mn}),gn=pe.createElement(Pe,{locale:Le,rootPrefixCls:ke,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:1,page:1,active:!1,showTitle:gt,itemRender:mn});var ye=Math.max(1,Mn-Kn),qt=Math.min(Mn+Kn,Yn);Mn-1<=Kn&&(qt=1+Kn*2),Yn-Mn<=Kn&&(ye=Yn-Kn*2);for(var yn=ye;yn<=qt;yn+=1){var hn=Mn===yn;ca.push(pe.createElement(Pe,{locale:Le,rootPrefixCls:ke,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:yn,page:yn,active:hn,showTitle:gt,itemRender:mn}))}Mn-1>=Kn*2&&Mn!==3&&(ca[0]=(0,pe.cloneElement)(ca[0],{className:"".concat(ke,"-item-after-jump-prev")}),ca.unshift(Ca)),Yn-Mn>=Kn*2&&Mn!==Yn-2&&(ca[ca.length-1]=(0,pe.cloneElement)(ca[ca.length-1],{className:"".concat(ke,"-item-before-jump-next")}),ca.push(ln)),ye!==1&&ca.unshift(gn),qt!==Yn&&ca.push(An)}var Cn=!this.hasPrev()||!Yn,xe=!this.hasNext()||!Yn,pt=this.renderPrev(Rn),Ct=this.renderNext(at);return pe.createElement("ul",(0,ne.Z)({className:Xe()(ke,xt,(0,se.Z)({},"".concat(ke,"-disabled"),zt)),style:ht,ref:this.paginationNode},mt),ut,pt?pe.createElement("li",{title:gt?Le.prev_page:null,onClick:this.prev,tabIndex:Cn?null:0,onKeyPress:this.runIfEnterPrev,className:Xe()("".concat(ke,"-prev"),(0,se.Z)({},"".concat(ke,"-disabled"),Cn)),"aria-disabled":Cn},pt):null,ca,Ct?pe.createElement("li",{title:gt?Le.next_page:null,onClick:this.next,tabIndex:xe?null:0,onKeyPress:this.runIfEnterNext,className:Xe()("".concat(ke,"-next"),(0,se.Z)({},"".concat(ke,"-disabled"),xe)),"aria-disabled":xe},Ct):null,pe.createElement(fe,{disabled:zt,locale:Le,rootPrefixCls:ke,selectComponentClass:fn,selectPrefixCls:Zn,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:Mn,pageSize:ua,pageSizeOptions:$n,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:Fn}))}}],[{key:"getDerivedStateFromProps",value:function(Ce,ke){var xt={};if("current"in Ce&&(xt.current=Ce.current,Ce.current!==ke.current&&(xt.currentInputValue=xt.current)),"pageSize"in Ce&&Ce.pageSize!==ke.pageSize){var ht=ke.current,zt=Bt(Ce.pageSize,ke,Ce);ht=ht>zt?zt:ht,"current"in Ce||(xt.current=ht,xt.currentInputValue=ht),xt.pageSize=Ce.pageSize}return xt}}]),nt}(pe.Component);Tt.defaultProps={defaultCurrent:1,total:0,defaultPageSize:10,onChange:We,className:"",selectPrefixCls:"rc-select",prefixCls:"rc-pagination",selectComponentClass:null,hideOnSinglePage:!1,showPrevNextJumpers:!0,showQuickJumper:!1,showLessItems:!1,showTitle:!0,onShowSizeChange:We,locale:ue.Z,style:{},itemRender:Ue,totalBoundaryShowSizeChanger:50};var Ye=Tt,ft=oe(22075),Ft=oe(36355),Jt=oe(19716),Rt=oe(8628),bt=oe(9763),Te=oe(57809);const lt=Ee=>pe.createElement(Te.default,Object.assign({},Ee,{showSearch:!0,size:"small"})),Lt=Ee=>pe.createElement(Te.default,Object.assign({},Ee,{showSearch:!0,size:"middle"}));lt.Option=Te.default.Option,Lt.Option=Te.default.Option;var De=oe(9937),tt=oe(17313),Dt=oe(83116),nn=oe(37613);const vt=Ee=>{const{componentCls:Se}=Ee;return{[`${Se}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${Se}-item-link`]:{color:Ee.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${Se}-item-link`]:{color:Ee.colorTextDisabled,cursor:"not-allowed"}}},[`&${Se}-disabled`]:{cursor:"not-allowed",[`${Se}-item`]:{cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},a:{color:Ee.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:Ee.colorBorder,backgroundColor:Ee.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:Ee.itemActiveBgDisabled},a:{color:Ee.itemActiveColorDisabled}}},[`${Se}-item-link`]:{color:Ee.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${Se}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${Se}-simple-pager`]:{color:Ee.colorTextDisabled},[`${Se}-jump-prev, ${Se}-jump-next`]:{[`${Se}-item-link-icon`]:{opacity:0},[`${Se}-item-ellipsis`]:{opacity:1}}},[`&${Se}-simple`]:{[`${Se}-prev, ${Se}-next`]:{[`&${Se}-disabled ${Se}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},Vt=Ee=>{const{componentCls:Se}=Ee;return{[`&${Se}-mini ${Se}-total-text, &${Se}-mini ${Se}-simple-pager`]:{height:Ee.itemSizeSM,lineHeight:`${Ee.itemSizeSM}px`},[`&${Se}-mini ${Se}-item`]:{minWidth:Ee.itemSizeSM,height:Ee.itemSizeSM,margin:0,lineHeight:`${Ee.itemSizeSM-2}px`},[`&${Se}-mini:not(${Se}-disabled) ${Se}-item:not(${Se}-item-active)`]:{backgroundColor:"transparent",borderColor:"transparent","&:hover":{backgroundColor:Ee.colorBgTextHover},"&:active":{backgroundColor:Ee.colorBgTextActive}},[`&${Se}-mini ${Se}-prev, &${Se}-mini ${Se}-next`]:{minWidth:Ee.itemSizeSM,height:Ee.itemSizeSM,margin:0,lineHeight:`${Ee.itemSizeSM}px`},[`&${Se}-mini:not(${Se}-disabled)`]:{[`${Se}-prev, ${Se}-next`]:{[`&:hover ${Se}-item-link`]:{backgroundColor:Ee.colorBgTextHover},[`&:active ${Se}-item-link`]:{backgroundColor:Ee.colorBgTextActive},[`&${Se}-disabled:hover ${Se}-item-link`]:{backgroundColor:"transparent"}}},[` - &${Se}-mini ${Se}-prev ${Se}-item-link, - &${Se}-mini ${Se}-next ${Se}-item-link - `]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:Ee.itemSizeSM,lineHeight:`${Ee.itemSizeSM}px`}},[`&${Se}-mini ${Se}-jump-prev, &${Se}-mini ${Se}-jump-next`]:{height:Ee.itemSizeSM,marginInlineEnd:0,lineHeight:`${Ee.itemSizeSM}px`},[`&${Se}-mini ${Se}-options`]:{marginInlineStart:Ee.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:Ee.miniOptionsSizeChangerTop},"&-quick-jumper":{height:Ee.itemSizeSM,lineHeight:`${Ee.itemSizeSM}px`,input:Object.assign(Object.assign({},(0,De.x0)(Ee)),{width:Ee.paginationMiniQuickJumperInputWidth,height:Ee.controlHeightSM})}}}},Fe=Ee=>{const{componentCls:Se}=Ee;return{[` - &${Se}-simple ${Se}-prev, - &${Se}-simple ${Se}-next - `]:{height:Ee.itemSizeSM,lineHeight:`${Ee.itemSizeSM}px`,verticalAlign:"top",[`${Se}-item-link`]:{height:Ee.itemSizeSM,backgroundColor:"transparent",border:0,"&:hover":{backgroundColor:Ee.colorBgTextHover},"&:active":{backgroundColor:Ee.colorBgTextActive},"&::after":{height:Ee.itemSizeSM,lineHeight:`${Ee.itemSizeSM}px`}}},[`&${Se}-simple ${Se}-simple-pager`]:{display:"inline-block",height:Ee.itemSizeSM,marginInlineEnd:Ee.marginXS,input:{boxSizing:"border-box",height:"100%",marginInlineEnd:Ee.marginXS,padding:`0 ${Ee.paginationItemPaddingInline}px`,textAlign:"center",backgroundColor:Ee.itemInputBg,border:`${Ee.lineWidth}px ${Ee.lineType} ${Ee.colorBorder}`,borderRadius:Ee.borderRadius,outline:"none",transition:`border-color ${Ee.motionDurationMid}`,color:"inherit","&:hover":{borderColor:Ee.colorPrimary},"&:focus":{borderColor:Ee.colorPrimaryHover,boxShadow:`${Ee.inputOutlineOffset}px 0 ${Ee.controlOutlineWidth}px ${Ee.controlOutline}`},"&[disabled]":{color:Ee.colorTextDisabled,backgroundColor:Ee.colorBgContainerDisabled,borderColor:Ee.colorBorder,cursor:"not-allowed"}}}}},st=Ee=>{const{componentCls:Se}=Ee;return{[`${Se}-jump-prev, ${Se}-jump-next`]:{outline:0,[`${Se}-item-container`]:{position:"relative",[`${Se}-item-link-icon`]:{color:Ee.colorPrimary,fontSize:Ee.fontSizeSM,opacity:0,transition:`all ${Ee.motionDurationMid}`,"&-svg":{top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,margin:"auto"}},[`${Se}-item-ellipsis`]:{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,display:"block",margin:"auto",color:Ee.colorTextDisabled,fontFamily:"Arial, Helvetica, sans-serif",letterSpacing:Ee.paginationEllipsisLetterSpacing,textAlign:"center",textIndent:Ee.paginationEllipsisTextIndent,opacity:1,transition:`all ${Ee.motionDurationMid}`}},"&:hover":{[`${Se}-item-link-icon`]:{opacity:1},[`${Se}-item-ellipsis`]:{opacity:0}}},[` - ${Se}-prev, - ${Se}-jump-prev, - ${Se}-jump-next - `]:{marginInlineEnd:Ee.marginXS},[` - ${Se}-prev, - ${Se}-next, - ${Se}-jump-prev, - ${Se}-jump-next - `]:{display:"inline-block",minWidth:Ee.itemSize,height:Ee.itemSize,color:Ee.colorText,fontFamily:Ee.fontFamily,lineHeight:`${Ee.itemSize}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:Ee.borderRadius,cursor:"pointer",transition:`all ${Ee.motionDurationMid}`},[`${Se}-prev, ${Se}-next`]:{fontFamily:"Arial, Helvetica, sans-serif",outline:0,button:{color:Ee.colorText,cursor:"pointer",userSelect:"none"},[`${Se}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:Ee.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${Ee.lineWidth}px ${Ee.lineType} transparent`,borderRadius:Ee.borderRadius,outline:"none",transition:`all ${Ee.motionDurationMid}`},[`&:hover ${Se}-item-link`]:{backgroundColor:Ee.colorBgTextHover},[`&:active ${Se}-item-link`]:{backgroundColor:Ee.colorBgTextActive},[`&${Se}-disabled:hover`]:{[`${Se}-item-link`]:{backgroundColor:"transparent"}}},[`${Se}-slash`]:{marginInlineEnd:Ee.paginationSlashMarginInlineEnd,marginInlineStart:Ee.paginationSlashMarginInlineStart},[`${Se}-options`]:{display:"inline-block",marginInlineStart:Ee.margin,verticalAlign:"middle","&-size-changer.-select":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:Ee.controlHeight,marginInlineStart:Ee.marginXS,lineHeight:`${Ee.controlHeight}px`,verticalAlign:"top",input:Object.assign(Object.assign({},(0,De.ik)(Ee)),{width:Ee.controlHeightLG*1.25,height:Ee.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:Ee.marginXS,marginInlineEnd:Ee.marginXS})}}}},yt=Ee=>{const{componentCls:Se}=Ee;return{[`${Se}-item`]:{display:"inline-block",minWidth:Ee.itemSize,height:Ee.itemSize,marginInlineEnd:Ee.marginXS,fontFamily:Ee.fontFamily,lineHeight:`${Ee.itemSize-2}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:"transparent",border:`${Ee.lineWidth}px ${Ee.lineType} transparent`,borderRadius:Ee.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${Ee.paginationItemPaddingInline}px`,color:Ee.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${Se}-item-active)`]:{"&:hover":{transition:`all ${Ee.motionDurationMid}`,backgroundColor:Ee.colorBgTextHover},"&:active":{backgroundColor:Ee.colorBgTextActive}},"&-active":{fontWeight:Ee.fontWeightStrong,backgroundColor:Ee.itemActiveBg,borderColor:Ee.colorPrimary,a:{color:Ee.colorPrimary},"&:hover":{borderColor:Ee.colorPrimaryHover},"&:hover a":{color:Ee.colorPrimaryHover}}}}},an=Ee=>{const{componentCls:Se}=Ee;return{[Se]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,tt.Wf)(Ee)),{"ul, ol":{margin:0,padding:0,listStyle:"none"},"&::after":{display:"block",clear:"both",height:0,overflow:"hidden",visibility:"hidden",content:'""'},[`${Se}-total-text`]:{display:"inline-block",height:Ee.itemSize,marginInlineEnd:Ee.marginXS,lineHeight:`${Ee.itemSize-2}px`,verticalAlign:"middle"}}),yt(Ee)),st(Ee)),Fe(Ee)),Vt(Ee)),vt(Ee)),{[`@media only screen and (max-width: ${Ee.screenLG}px)`]:{[`${Se}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${Ee.screenSM}px)`]:{[`${Se}-options`]:{display:"none"}}}),[`&${Ee.componentCls}-rtl`]:{direction:"rtl"}}},Wt=Ee=>{const{componentCls:Se}=Ee;return{[`${Se}${Se}-disabled:not(${Se}-mini)`]:{"&, &:hover":{[`${Se}-item-link`]:{borderColor:Ee.colorBorder}},"&:focus-visible":{[`${Se}-item-link`]:{borderColor:Ee.colorBorder}},[`${Se}-item, ${Se}-item-link`]:{backgroundColor:Ee.colorBgContainerDisabled,borderColor:Ee.colorBorder,[`&:hover:not(${Se}-item-active)`]:{backgroundColor:Ee.colorBgContainerDisabled,borderColor:Ee.colorBorder,a:{color:Ee.colorTextDisabled}},[`&${Se}-item-active`]:{backgroundColor:Ee.itemActiveBgDisabled}},[`${Se}-prev, ${Se}-next`]:{"&:hover button":{backgroundColor:Ee.colorBgContainerDisabled,borderColor:Ee.colorBorder,color:Ee.colorTextDisabled},[`${Se}-item-link`]:{backgroundColor:Ee.colorBgContainerDisabled,borderColor:Ee.colorBorder}}},[`${Se}:not(${Se}-mini)`]:{[`${Se}-prev, ${Se}-next`]:{"&:hover button":{borderColor:Ee.colorPrimaryHover,backgroundColor:Ee.itemBg},[`${Se}-item-link`]:{backgroundColor:Ee.itemLinkBg,borderColor:Ee.colorBorder},[`&:hover ${Se}-item-link`]:{borderColor:Ee.colorPrimary,backgroundColor:Ee.itemBg,color:Ee.colorPrimary},[`&${Se}-disabled`]:{[`${Se}-item-link`]:{borderColor:Ee.colorBorder,color:Ee.colorTextDisabled}}},[`${Se}-item`]:{backgroundColor:Ee.itemBg,border:`${Ee.lineWidth}px ${Ee.lineType} ${Ee.colorBorder}`,[`&:hover:not(${Se}-item-active)`]:{borderColor:Ee.colorPrimary,backgroundColor:Ee.itemBg,a:{color:Ee.colorPrimary}},"&-active":{borderColor:Ee.colorPrimary}}}}},Ke=Ee=>{const{componentCls:Se}=Ee;return{[`${Se}:not(${Se}-disabled)`]:{[`${Se}-item`]:Object.assign({},(0,tt.Qy)(Ee)),[`${Se}-jump-prev, ${Se}-jump-next`]:{"&:focus-visible":Object.assign({[`${Se}-item-link-icon`]:{opacity:1},[`${Se}-item-ellipsis`]:{opacity:0}},(0,tt.oN)(Ee))},[`${Se}-prev, ${Se}-next`]:{[`&:focus-visible ${Se}-item-link`]:Object.assign({},(0,tt.oN)(Ee))}}}};var Ve=(0,Dt.Z)("Pagination",Ee=>{const Se=(0,nn.TS)(Ee,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:Ee.marginXXS/2,paginationMiniQuickJumperInputWidth:Ee.controlHeightLG*1.1,paginationItemPaddingInline:Ee.marginXXS*1.5,paginationEllipsisLetterSpacing:Ee.marginXXS/2,paginationSlashMarginInlineStart:Ee.marginXXS,paginationSlashMarginInlineEnd:Ee.marginSM,paginationEllipsisTextIndent:"0.13em"},(0,De.e5)(Ee),(0,De.TM)(Ee));return[an(Se),Ke(Se),Ee.wireframe&&Wt(Se)]},Ee=>({itemBg:Ee.colorBgContainer,itemSize:Ee.controlHeight,itemSizeSM:Ee.controlHeightSM,itemActiveBg:Ee.colorBgContainer,itemLinkBg:Ee.colorBgContainer,itemActiveColorDisabled:Ee.colorTextDisabled,itemActiveBgDisabled:Ee.controlItemBgActiveDisabled,itemInputBg:Ee.colorBgContainer,miniOptionsSizeChangerTop:0})),we=function(Ee,Se){var nt={};for(var Me in Ee)Object.prototype.hasOwnProperty.call(Ee,Me)&&Se.indexOf(Me)<0&&(nt[Me]=Ee[Me]);if(Ee!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ce=0,Me=Object.getOwnPropertySymbols(Ee);Ce{const{prefixCls:Se,selectPrefixCls:nt,className:Me,rootClassName:Ce,style:ke,size:xt,locale:ht,selectComponentClass:zt,responsive:kt,showSizeChanger:Ot}=Ee,Le=we(Ee,["prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","selectComponentClass","responsive","showSizeChanger"]),{xs:rt}=(0,Rt.Z)(kt),{getPrefixCls:At,direction:gt,pagination:St={}}=pe.useContext(Ft.E_),on=At("pagination",Se),[mn,dn]=Ve(on),vn=Ot!=null?Ot:St.showSizeChanger,Wn=pe.useMemo(()=>{const Yn=pe.createElement("span",{className:`${on}-item-ellipsis`},"\u2022\u2022\u2022"),ca=pe.createElement("button",{className:`${on}-item-link`,type:"button",tabIndex:-1},gt==="rtl"?pe.createElement(it.Z,null):pe.createElement(dt.Z,null)),Ca=pe.createElement("button",{className:`${on}-item-link`,type:"button",tabIndex:-1},gt==="rtl"?pe.createElement(dt.Z,null):pe.createElement(it.Z,null)),ln=pe.createElement("a",{className:`${on}-item-link`},pe.createElement("div",{className:`${on}-item-container`},gt==="rtl"?pe.createElement(_e.Z,{className:`${on}-item-link-icon`}):pe.createElement(qe,{className:`${on}-item-link-icon`}),Yn)),gn=pe.createElement("a",{className:`${on}-item-link`},pe.createElement("div",{className:`${on}-item-container`},gt==="rtl"?pe.createElement(qe,{className:`${on}-item-link-icon`}):pe.createElement(_e.Z,{className:`${on}-item-link-icon`}),Yn));return{prevIcon:ca,nextIcon:Ca,jumpPrevIcon:ln,jumpNextIcon:gn}},[gt,on]),[fn]=(0,bt.Z)("Pagination",ft.Z),Zn=Object.assign(Object.assign({},fn),ht),$n=(0,Jt.Z)(xt),ta=$n==="small"||!!(rt&&!$n&&kt),Mn=At("select",nt),ua=Xe()({[`${on}-mini`]:ta,[`${on}-rtl`]:gt==="rtl"},St==null?void 0:St.className,Me,Ce,dn),Qn=Object.assign(Object.assign({},St==null?void 0:St.style),ke);return mn(pe.createElement(Ye,Object.assign({},Wn,Le,{style:Qn,prefixCls:on,selectPrefixCls:Mn,className:ua,selectComponentClass:zt||(ta?lt:Lt),locale:Zn,showSizeChanger:vn})))},ze=Ge},93948:function(wt,Mt,oe){"use strict";oe.d(Mt,{Z:function(){return Ot}});var ne=oe(59301),pe=oe(29679),Je=oe(40001),Ne=oe(19248),Oe=oe(99267),Re=oe(92310),be=oe.n(Re),qe=oe(2738),_e=oe(36355),dt=oe(72308),it=oe(77321),et=oe(74416),Xe={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},se=function(){var rt=(0,ne.useRef)([]),At=(0,ne.useRef)(null);return(0,ne.useEffect)(function(){var gt=Date.now(),St=!1;rt.current.forEach(function(on){if(on){St=!0;var mn=on.style;mn.transitionDuration=".3s, .3s, .3s, .06s",At.current&>-At.current<100&&(mn.transitionDuration="0s, 0s")}}),St&&(At.current=Date.now())}),rt.current},y=["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"],a=function(rt){var At=(0,it.Z)((0,it.Z)({},Xe),rt),gt=At.className,St=At.percent,on=At.prefixCls,mn=At.strokeColor,dn=At.strokeLinecap,vn=At.strokeWidth,Wn=At.style,fn=At.trailColor,Zn=At.trailWidth,$n=At.transition,ta=(0,et.Z)(At,y);delete ta.gapPosition;var Mn=Array.isArray(St)?St:[St],ua=Array.isArray(mn)?mn:[mn],Qn=se(),Yn=vn/2,ca=100-vn/2,Ca="M ".concat(dn==="round"?Yn:0,",").concat(Yn,` - L `).concat(dn==="round"?ca:100,",").concat(Yn),ln="0 0 100 ".concat(vn),gn=0;return ne.createElement("svg",(0,dt.Z)({className:be()("".concat(on,"-line"),gt),viewBox:ln,preserveAspectRatio:"none",style:Wn},ta),ne.createElement("path",{className:"".concat(on,"-line-trail"),d:Ca,strokeLinecap:dn,stroke:fn,strokeWidth:Zn||vn,fillOpacity:"0"}),Mn.map(function(An,Sn){var Fn=1;switch(dn){case"round":Fn=1-vn/100;break;case"square":Fn=1-vn/2/100;break;default:Fn=1;break}var Kn={strokeDasharray:"".concat(An*Fn,"px, 100px"),strokeDashoffset:"-".concat(gn,"px"),transition:$n||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},Rn=ua[Sn]||ua[ua.length-1];return gn+=An,ne.createElement("path",{key:Sn,className:"".concat(on,"-line-path"),d:Ca,strokeLinecap:dn,stroke:Rn,strokeWidth:vn,fillOpacity:"0",ref:function(mt){Qn[Sn]=mt},style:Kn})}))},E=a,b=oe(62853),x=oe(52487),te=oe(47273),ae=0,ie=(0,te.Z)();function ue(){var Le;return ie?(Le=ae,ae+=1):Le="TEST_OR_SSR",Le}var de=function(Le){var rt=ne.useState(),At=(0,x.Z)(rt,2),gt=At[0],St=At[1];return ne.useEffect(function(){St("rc_progress_".concat(ue()))},[]),Le||gt},fe=function(rt){var At=rt.bg,gt=rt.children;return ne.createElement("div",{style:{width:"100%",height:"100%",background:At}},gt)};function Be(Le,rt){return Object.keys(Le).map(function(At){var gt=parseFloat(At),St="".concat(Math.floor(gt*rt),"%");return"".concat(Le[At]," ").concat(St)})}var Pe=ne.forwardRef(function(Le,rt){var At=Le.prefixCls,gt=Le.color,St=Le.gradientId,on=Le.radius,mn=Le.style,dn=Le.ptg,vn=Le.strokeLinecap,Wn=Le.strokeWidth,fn=Le.size,Zn=Le.gapDegree,$n=gt&&(0,b.Z)(gt)==="object",ta=$n?"#FFF":void 0,Mn=fn/2,ua=ne.createElement("circle",{className:"".concat(At,"-circle-path"),r:on,cx:Mn,cy:Mn,stroke:ta,strokeLinecap:vn,strokeWidth:Wn,opacity:dn===0?0:1,style:mn,ref:rt});if(!$n)return ua;var Qn="".concat(St,"-conic"),Yn=Zn?"".concat(180+Zn/2,"deg"):"0deg",ca=Be(gt,(360-Zn)/360),Ca=Be(gt,1),ln="conic-gradient(from ".concat(Yn,", ").concat(ca.join(", "),")"),gn="linear-gradient(to ".concat(Zn?"bottom":"top",", ").concat(Ca.join(", "),")");return ne.createElement(ne.Fragment,null,ne.createElement("mask",{id:Qn},ua),ne.createElement("foreignObject",{x:0,y:0,width:fn,height:fn,mask:"url(#".concat(Qn,")")},ne.createElement(fe,{bg:gn},ne.createElement(fe,{bg:ln}))))}),We=Pe,ve=100,Ue=function(rt,At,gt,St,on,mn,dn,vn,Wn,fn){var Zn=arguments.length>10&&arguments[10]!==void 0?arguments[10]:0,$n=gt/100*360*((360-mn)/360),ta=mn===0?0:{bottom:0,top:180,left:90,right:-90}[dn],Mn=(100-St)/100*At;Wn==="round"&&St!==100&&(Mn+=fn/2,Mn>=At&&(Mn=At-.01));var ua=ve/2;return{stroke:typeof vn=="string"?vn:void 0,strokeDasharray:"".concat(At,"px ").concat(rt),strokeDashoffset:Mn+Zn,transform:"rotate(".concat(on+$n+ta,"deg)"),transformOrigin:"".concat(ua,"px ").concat(ua,"px"),transition:"stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s",fillOpacity:0}},Bt=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function Tt(Le){var rt=Le!=null?Le:[];return Array.isArray(rt)?rt:[rt]}var Ye=function(rt){var At=(0,it.Z)((0,it.Z)({},Xe),rt),gt=At.id,St=At.prefixCls,on=At.steps,mn=At.strokeWidth,dn=At.trailWidth,vn=At.gapDegree,Wn=vn===void 0?0:vn,fn=At.gapPosition,Zn=At.trailColor,$n=At.strokeLinecap,ta=At.style,Mn=At.className,ua=At.strokeColor,Qn=At.percent,Yn=(0,et.Z)(At,Bt),ca=ve/2,Ca=de(gt),ln="".concat(Ca,"-gradient"),gn=ca-mn/2,An=Math.PI*2*gn,Sn=Wn>0?90+Wn/2:-90,Fn=An*((360-Wn)/360),Kn=(0,b.Z)(on)==="object"?on:{count:on,space:2},Rn=Kn.count,at=Kn.space,mt=Tt(Qn),ut=Tt(ua),Yt=ut.find(function(_t){return _t&&(0,b.Z)(_t)==="object"}),un=Yt&&(0,b.Z)(Yt)==="object",rn=un?"butt":$n,Xn=Ue(An,Fn,0,100,Sn,Wn,fn,Zn,rn,mn),kn=se(),pn=function(){var ye=0;return mt.map(function(qt,yn){var hn=ut[yn]||ut[ut.length-1],Cn=Ue(An,Fn,ye,qt,Sn,Wn,fn,hn,rn,mn);return ye+=qt,ne.createElement(We,{key:yn,color:hn,ptg:qt,radius:gn,prefixCls:St,gradientId:ln,style:Cn,strokeLinecap:rn,strokeWidth:mn,gapDegree:Wn,ref:function(pt){kn[yn]=pt},size:ve})}).reverse()},Vn=function(){var ye=Math.round(Rn*(mt[0]/100)),qt=100/Rn,yn=0;return new Array(Rn).fill(null).map(function(hn,Cn){var xe=Cn<=ye-1?ut[0]:Zn,pt=xe&&(0,b.Z)(xe)==="object"?"url(#".concat(ln,")"):void 0,Ct=Ue(An,Fn,yn,qt,Sn,Wn,fn,xe,"butt",mn,at);return yn+=(Fn-Ct.strokeDashoffset+at)*100/Fn,ne.createElement("circle",{key:Cn,className:"".concat(St,"-circle-path"),r:gn,cx:ca,cy:ca,stroke:pt,strokeWidth:mn,opacity:1,style:Ct,ref:function(Qt){kn[Cn]=Qt}})})};return ne.createElement("svg",(0,dt.Z)({className:be()("".concat(St,"-circle"),Mn),viewBox:"0 0 ".concat(ve," ").concat(ve),style:ta,id:gt,role:"presentation"},Yn),!Rn&&ne.createElement("circle",{className:"".concat(St,"-circle-trail"),r:gn,cx:ca,cy:ca,stroke:Zn,strokeLinecap:rn,strokeWidth:dn||mn,style:Xn}),Rn?Vn():pn())},ft=Ye,Ft={Line:E,Circle:ft},Jt=oe(6848),Rt=oe(93398);function bt(Le){return!Le||Le<0?0:Le>100?100:Le}function Te(Le){let{success:rt,successPercent:At}=Le,gt=At;return rt&&"progress"in rt&&(gt=rt.progress),rt&&"percent"in rt&&(gt=rt.percent),gt}const lt=Le=>{let{percent:rt,success:At,successPercent:gt}=Le;const St=bt(Te({success:At,successPercent:gt}));return[St,bt(bt(rt)-St)]},Lt=Le=>{let{success:rt={},strokeColor:At}=Le;const{strokeColor:gt}=rt;return[gt||Rt.presetPrimaryColors.green,At||null]},De=(Le,rt,At)=>{var gt,St,on,mn;let dn=-1,vn=-1;if(rt==="step"){const Wn=At.steps,fn=At.strokeWidth;typeof Le=="string"||typeof Le=="undefined"?(dn=Le==="small"?2:14,vn=fn!=null?fn:8):typeof Le=="number"?[dn,vn]=[Le,Le]:[dn=14,vn=8]=Le,dn*=Wn}else if(rt==="line"){const Wn=At==null?void 0:At.strokeWidth;typeof Le=="string"||typeof Le=="undefined"?vn=Wn||(Le==="small"?6:8):typeof Le=="number"?[dn,vn]=[Le,Le]:[dn=-1,vn=8]=Le}else(rt==="circle"||rt==="dashboard")&&(typeof Le=="string"||typeof Le=="undefined"?[dn,vn]=Le==="small"?[60,60]:[120,120]:typeof Le=="number"?[dn,vn]=[Le,Le]:(dn=(St=(gt=Le[0])!==null&>!==void 0?gt:Le[1])!==null&&St!==void 0?St:120,vn=(mn=(on=Le[0])!==null&&on!==void 0?on:Le[1])!==null&&mn!==void 0?mn:120));return[dn,vn]},tt=3,Dt=Le=>tt/Le*100;var vt=Le=>{const{prefixCls:rt,trailColor:At=null,strokeLinecap:gt="round",gapPosition:St,gapDegree:on,width:mn=120,type:dn,children:vn,success:Wn,size:fn=mn}=Le,[Zn,$n]=De(fn,"circle");let{strokeWidth:ta}=Le;ta===void 0&&(ta=Math.max(Dt(Zn),6));const Mn={width:Zn,height:$n,fontSize:Zn*.15+6},ua=ne.useMemo(()=>{if(on||on===0)return on;if(dn==="dashboard")return 75},[on,dn]),Qn=St||dn==="dashboard"&&"bottom"||void 0,Yn=Object.prototype.toString.call(Le.strokeColor)==="[object Object]",ca=Lt({success:Wn,strokeColor:Le.strokeColor}),Ca=be()(`${rt}-inner`,{[`${rt}-circle-gradient`]:Yn}),ln=ne.createElement(ft,{percent:lt(Le),strokeWidth:ta,trailWidth:ta,strokeColor:ca,strokeLinecap:gt,trailColor:At,prefixCls:rt,gapDegree:ua,gapPosition:Qn});return ne.createElement("div",{className:Ca,style:Mn},Zn<=20?ne.createElement(Jt.Z,{title:vn},ne.createElement("span",null,ln)):ne.createElement(ne.Fragment,null,ln,vn))},Vt=function(Le,rt){var At={};for(var gt in Le)Object.prototype.hasOwnProperty.call(Le,gt)&&rt.indexOf(gt)<0&&(At[gt]=Le[gt]);if(Le!=null&&typeof Object.getOwnPropertySymbols=="function")for(var St=0,gt=Object.getOwnPropertySymbols(Le);St{let rt=[];return Object.keys(Le).forEach(At=>{const gt=parseFloat(At.replace(/%/g,""));isNaN(gt)||rt.push({key:gt,value:Le[At]})}),rt=rt.sort((At,gt)=>At.key-gt.key),rt.map(At=>{let{key:gt,value:St}=At;return`${St} ${gt}%`}).join(", ")},st=(Le,rt)=>{const{from:At=Rt.presetPrimaryColors.blue,to:gt=Rt.presetPrimaryColors.blue,direction:St=rt==="rtl"?"to left":"to right"}=Le,on=Vt(Le,["from","to","direction"]);if(Object.keys(on).length!==0){const mn=Fe(on);return{backgroundImage:`linear-gradient(${St}, ${mn})`}}return{backgroundImage:`linear-gradient(${St}, ${At}, ${gt})`}};var an=Le=>{const{prefixCls:rt,direction:At,percent:gt,size:St,strokeWidth:on,strokeColor:mn,strokeLinecap:dn="round",children:vn,trailColor:Wn=null,success:fn}=Le,Zn=mn&&typeof mn!="string"?st(mn,At):{backgroundColor:mn},$n=dn==="square"||dn==="butt"?0:void 0,ta={backgroundColor:Wn||void 0,borderRadius:$n},Mn=St!=null?St:[-1,on||(St==="small"?6:8)],[ua,Qn]=De(Mn,"line",{strokeWidth:on}),Yn=Object.assign({width:`${bt(gt)}%`,height:Qn,borderRadius:$n},Zn),ca=Te(Le),Ca={width:`${bt(ca)}%`,height:Qn,borderRadius:$n,backgroundColor:fn==null?void 0:fn.strokeColor},ln={width:ua<0?"100%":ua,height:Qn};return ne.createElement(ne.Fragment,null,ne.createElement("div",{className:`${rt}-outer`,style:ln},ne.createElement("div",{className:`${rt}-inner`,style:ta},ne.createElement("div",{className:`${rt}-bg`,style:Yn}),ca!==void 0?ne.createElement("div",{className:`${rt}-success-bg`,style:Ca}):null)),vn)},Ke=Le=>{const{size:rt,steps:At,percent:gt=0,strokeWidth:St=8,strokeColor:on,trailColor:mn=null,prefixCls:dn,children:vn}=Le,Wn=Math.round(At*(gt/100)),fn=rt==="small"?2:14,Zn=rt!=null?rt:[fn,St],[$n,ta]=De(Zn,"step",{steps:At,strokeWidth:St}),Mn=$n/At,ua=new Array(At);for(let Qn=0;Qn{const rt=Le?"100%":"-100%";return new Ve.Keyframes(`antProgress${Le?"RTL":"LTR"}Active`,{"0%":{transform:`translateX(${rt}) scaleX(0)`,opacity:.1},"20%":{transform:`translateX(${rt}) scaleX(0)`,opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}})},Ee=Le=>{const{componentCls:rt,iconCls:At}=Le;return{[rt]:Object.assign(Object.assign({},(0,we.Wf)(Le)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:Le.fontSize,marginInlineEnd:Le.marginXS,marginBottom:Le.marginXS},[`${rt}-outer`]:{display:"inline-block",width:"100%"},[`&${rt}-show-info`]:{[`${rt}-outer`]:{marginInlineEnd:`calc(-2em - ${Le.marginXS}px)`,paddingInlineEnd:`calc(2em + ${Le.paddingXS}px)`}},[`${rt}-inner`]:{position:"relative",display:"inline-block",width:"100%",overflow:"hidden",verticalAlign:"middle",backgroundColor:Le.remainingColor,borderRadius:Le.lineBorderRadius},[`${rt}-inner:not(${rt}-circle-gradient)`]:{[`${rt}-circle-path`]:{stroke:Le.defaultColor}},[`${rt}-success-bg, ${rt}-bg`]:{position:"relative",backgroundColor:Le.defaultColor,borderRadius:Le.lineBorderRadius,transition:`all ${Le.motionDurationSlow} ${Le.motionEaseInOutCirc}`},[`${rt}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:Le.colorSuccess},[`${rt}-text`]:{display:"inline-block",width:"2em",marginInlineStart:Le.marginXS,color:Le.colorText,lineHeight:1,whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[At]:{fontSize:Le.fontSize}},[`&${rt}-status-active`]:{[`${rt}-bg::before`]:{position:"absolute",inset:0,backgroundColor:Le.colorBgContainer,borderRadius:Le.lineBorderRadius,opacity:0,animationName:ze(),animationDuration:Le.progressActiveMotionDuration,animationTimingFunction:Le.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${rt}-rtl${rt}-status-active`]:{[`${rt}-bg::before`]:{animationName:ze(!0)}},[`&${rt}-status-exception`]:{[`${rt}-bg`]:{backgroundColor:Le.colorError},[`${rt}-text`]:{color:Le.colorError}},[`&${rt}-status-exception ${rt}-inner:not(${rt}-circle-gradient)`]:{[`${rt}-circle-path`]:{stroke:Le.colorError}},[`&${rt}-status-success`]:{[`${rt}-bg`]:{backgroundColor:Le.colorSuccess},[`${rt}-text`]:{color:Le.colorSuccess}},[`&${rt}-status-success ${rt}-inner:not(${rt}-circle-gradient)`]:{[`${rt}-circle-path`]:{stroke:Le.colorSuccess}}})}},Se=Le=>{const{componentCls:rt,iconCls:At}=Le;return{[rt]:{[`${rt}-circle-trail`]:{stroke:Le.remainingColor},[`&${rt}-circle ${rt}-inner`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`&${rt}-circle ${rt}-text`]:{position:"absolute",insetBlockStart:"50%",insetInlineStart:0,width:"100%",margin:0,padding:0,color:Le.circleTextColor,fontSize:Le.circleTextFontSize,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[At]:{fontSize:`${Le.fontSize/Le.fontSizeSM}em`}},[`${rt}-circle&-status-exception`]:{[`${rt}-text`]:{color:Le.colorError}},[`${rt}-circle&-status-success`]:{[`${rt}-text`]:{color:Le.colorSuccess}}},[`${rt}-inline-circle`]:{lineHeight:1,[`${rt}-inner`]:{verticalAlign:"bottom"}}}},nt=Le=>{const{componentCls:rt}=Le;return{[rt]:{[`${rt}-steps`]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:Le.progressStepMinWidth,marginInlineEnd:Le.progressStepMarginInlineEnd,backgroundColor:Le.remainingColor,transition:`all ${Le.motionDurationSlow}`,"&-active":{backgroundColor:Le.defaultColor}}}}}},Me=Le=>{const{componentCls:rt,iconCls:At}=Le;return{[rt]:{[`${rt}-small&-line, ${rt}-small&-line ${rt}-text ${At}`]:{fontSize:Le.fontSizeSM}}}};var Ce=(0,me.Z)("Progress",Le=>{const rt=Le.marginXXS/2,At=(0,Ge.TS)(Le,{progressStepMarginInlineEnd:rt,progressStepMinWidth:rt,progressActiveMotionDuration:"2.4s"});return[Ee(At),Se(At),nt(At),Me(At)]},Le=>({circleTextColor:Le.colorText,defaultColor:Le.colorInfo,remainingColor:Le.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:"1em"})),ke=function(Le,rt){var At={};for(var gt in Le)Object.prototype.hasOwnProperty.call(Le,gt)&&rt.indexOf(gt)<0&&(At[gt]=Le[gt]);if(Le!=null&&typeof Object.getOwnPropertySymbols=="function")for(var St=0,gt=Object.getOwnPropertySymbols(Le);St{const{prefixCls:At,className:gt,rootClassName:St,steps:on,strokeColor:mn,percent:dn=0,size:vn="default",showInfo:Wn=!0,type:fn="line",status:Zn,format:$n,style:ta}=Le,Mn=ke(Le,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style"]),ua=ne.useMemo(()=>{var mt,ut;const Yt=Te(Le);return parseInt(Yt!==void 0?(mt=Yt!=null?Yt:0)===null||mt===void 0?void 0:mt.toString():(ut=dn!=null?dn:0)===null||ut===void 0?void 0:ut.toString(),10)},[dn,Le.success,Le.successPercent]),Qn=ne.useMemo(()=>!ht.includes(Zn)&&ua>=100?"success":Zn||"normal",[Zn,ua]),{getPrefixCls:Yn,direction:ca,progress:Ca}=ne.useContext(_e.E_),ln=Yn("progress",At),[gn,An]=Ce(ln),Sn=ne.useMemo(()=>{if(!Wn)return null;const mt=Te(Le);let ut;const Yt=$n||(rn=>`${rn}%`),un=fn==="line";return $n||Qn!=="exception"&&Qn!=="success"?ut=Yt(bt(dn),bt(mt)):Qn==="exception"?ut=un?ne.createElement(Ne.Z,null):ne.createElement(Oe.Z,null):Qn==="success"&&(ut=un?ne.createElement(pe.Z,null):ne.createElement(Je.Z,null)),ne.createElement("span",{className:`${ln}-text`,title:typeof ut=="string"?ut:void 0},ut)},[Wn,dn,ua,Qn,fn,ln,$n]),Fn=Array.isArray(mn)?mn[0]:mn,Kn=typeof mn=="string"||Array.isArray(mn)?mn:void 0;let Rn;fn==="line"?Rn=on?ne.createElement(Ke,Object.assign({},Le,{strokeColor:Kn,prefixCls:ln,steps:on}),Sn):ne.createElement(an,Object.assign({},Le,{strokeColor:Fn,prefixCls:ln,direction:ca}),Sn):(fn==="circle"||fn==="dashboard")&&(Rn=ne.createElement(vt,Object.assign({},Le,{strokeColor:Fn,prefixCls:ln,progressStatus:Qn}),Sn));const at=be()(ln,`${ln}-status-${Qn}`,`${ln}-${fn==="dashboard"&&"circle"||on&&"steps"||fn}`,{[`${ln}-inline-circle`]:fn==="circle"&&De(vn,"circle")[0]<=20,[`${ln}-show-info`]:Wn,[`${ln}-${vn}`]:typeof vn=="string",[`${ln}-rtl`]:ca==="rtl"},Ca==null?void 0:Ca.className,gt,St,An);return gn(ne.createElement("div",Object.assign({ref:rt,style:Object.assign(Object.assign({},Ca==null?void 0:Ca.style),ta),className:at,role:"progressbar","aria-valuenow":ua},(0,qe.Z)(Mn,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),Rn))}),Ot=kt},13570:function(wt,Mt,oe){"use strict";oe.d(Mt,{Z:function(){return bt}});var ne=oe(72308),pe=oe(59301),Je={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"}}]},name:"star",theme:"filled"},Ne=Je,Oe=oe(7657),Re=function(lt,Lt){return pe.createElement(Oe.Z,(0,ne.Z)({},lt,{ref:Lt,icon:Ne}))},be=pe.forwardRef(Re),qe=be,_e=oe(92310),dt=oe.n(_e),it=oe(49618),et=oe(52487),Xe=oe(74416),se=oe(18929),y=oe(10228),a=oe(26112);function E(Te,lt){var Lt=Te.disabled,De=Te.prefixCls,tt=Te.character,Dt=Te.characterRender,nn=Te.index,vt=Te.count,Vt=Te.value,Fe=Te.allowHalf,st=Te.focused,yt=Te.onHover,an=Te.onClick,Wt=function(Se){yt(Se,nn)},Ke=function(Se){an(Se,nn)},Ve=function(Se){Se.keyCode===y.Z.ENTER&&an(Se,nn)},we=nn+1,me=new Set([De]);Vt===0&&nn===0&&st?me.add("".concat(De,"-focused")):Fe&&Vt+.5>=we&&Vtnn?"true":"false","aria-posinset":nn+1,"aria-setsize":vt,tabIndex:Lt?-1:0},pe.createElement("div",{className:"".concat(De,"-first")},Ge),pe.createElement("div",{className:"".concat(De,"-second")},Ge)));return Dt&&(ze=Dt(ze,Te)),ze}var b=pe.forwardRef(E);function x(){var Te=pe.useRef({});function lt(De){return Te.current[De]}function Lt(De){return function(tt){Te.current[De]=tt}}return[lt,Lt]}function te(Te){var lt=Te.pageXOffset,Lt="scrollLeft";if(typeof lt!="number"){var De=Te.document;lt=De.documentElement[Lt],typeof lt!="number"&&(lt=De.body[Lt])}return lt}function ae(Te){var lt,Lt,De=Te.ownerDocument,tt=De.body,Dt=De&&De.documentElement,nn=Te.getBoundingClientRect();return lt=nn.left,Lt=nn.top,lt-=Dt.clientLeft||tt.clientLeft||0,Lt-=Dt.clientTop||tt.clientTop||0,{left:lt,top:Lt}}function ie(Te){var lt=ae(Te),Lt=Te.ownerDocument,De=Lt.defaultView||Lt.parentWindow;return lt.left+=te(De),lt.left}var ue=["prefixCls","className","defaultValue","value","count","allowHalf","allowClear","character","characterRender","disabled","direction","tabIndex","autoFocus","onHoverChange","onChange","onFocus","onBlur","onKeyDown","onMouseLeave"];function de(Te,lt){var Lt,De=Te.prefixCls,tt=De===void 0?"rc-rate":De,Dt=Te.className,nn=Te.defaultValue,vt=Te.value,Vt=Te.count,Fe=Vt===void 0?5:Vt,st=Te.allowHalf,yt=st===void 0?!1:st,an=Te.allowClear,Wt=an===void 0?!0:an,Ke=Te.character,Ve=Ke===void 0?"\u2605":Ke,we=Te.characterRender,me=Te.disabled,Ge=Te.direction,ze=Ge===void 0?"ltr":Ge,Ee=Te.tabIndex,Se=Ee===void 0?0:Ee,nt=Te.autoFocus,Me=Te.onHoverChange,Ce=Te.onChange,ke=Te.onFocus,xt=Te.onBlur,ht=Te.onKeyDown,zt=Te.onMouseLeave,kt=(0,Xe.Z)(Te,ue),Ot=x(),Le=(0,et.Z)(Ot,2),rt=Le[0],At=Le[1],gt=pe.useRef(null),St=function(){if(!me){var rn;(rn=gt.current)===null||rn===void 0||rn.focus()}};pe.useImperativeHandle(lt,function(){return{focus:St,blur:function(){if(!me){var rn;(rn=gt.current)===null||rn===void 0||rn.blur()}}}});var on=(0,se.Z)(nn||0,{value:vt}),mn=(0,et.Z)(on,2),dn=mn[0],vn=mn[1],Wn=(0,se.Z)(null),fn=(0,et.Z)(Wn,2),Zn=fn[0],$n=fn[1],ta=function(rn,Xn){var kn=ze==="rtl",pn=rn+1;if(yt){var Vn=rt(rn),_t=ie(Vn),ye=Vn.clientWidth;(kn&&Xn-_t>ye/2||!kn&&Xn-_t0&&!kn||Xn===y.Z.RIGHT&&pn>0&&kn?(yt?pn-=.5:pn-=1,Mn(pn),rn.preventDefault()):Xn===y.Z.LEFT&&pn{const{componentCls:lt}=Te;return{[`${lt}-star`]:{position:"relative",display:"inline-block",color:"inherit",cursor:"pointer","&:not(:last-child)":{marginInlineEnd:Te.marginXS},"> div":{transition:`all ${Te.motionDurationMid}, outline 0s`,"&:hover":{transform:Te.starHoverScale},"&:focus":{outline:0},"&:focus-visible":{outline:`${Te.lineWidth}px dashed ${Te.starColor}`,transform:Te.starHoverScale}},"&-first, &-second":{color:Te.starBg,transition:`all ${Te.motionDurationMid}`,userSelect:"none",[Te.iconCls]:{verticalAlign:"middle"}},"&-first":{position:"absolute",top:0,insetInlineStart:0,width:"50%",height:"100%",overflow:"hidden",opacity:0},[`&-half ${lt}-star-first, &-half ${lt}-star-second`]:{opacity:1},[`&-half ${lt}-star-first, &-full ${lt}-star-second`]:{color:"inherit"}}}},Ye=Te=>({[`&-rtl${Te.componentCls}`]:{direction:"rtl"}}),ft=Te=>{const{componentCls:lt}=Te;return{[lt]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,ve.Wf)(Te)),{display:"inline-block",margin:0,padding:0,color:Te.starColor,fontSize:Te.starSize,lineHeight:"unset",listStyle:"none",outline:"none",[`&-disabled${lt} ${lt}-star`]:{cursor:"default","> div:hover":{transform:"scale(1)"}}}),Tt(Te)),{[`+ ${lt}-text`]:{display:"inline-block",marginInlineStart:Te.marginXS,fontSize:Te.fontSize}}),Ye(Te))}};var Ft=(0,Ue.Z)("Rate",Te=>{const lt=(0,Bt.TS)(Te,{});return[ft(lt)]},Te=>({starColor:Te.yellow6,starSize:Te.controlHeightLG*.5,starHoverScale:"scale(1.1)",starBg:Te.colorFillContent})),Jt=function(Te,lt){var Lt={};for(var De in Te)Object.prototype.hasOwnProperty.call(Te,De)&<.indexOf(De)<0&&(Lt[De]=Te[De]);if(Te!=null&&typeof Object.getOwnPropertySymbols=="function")for(var tt=0,De=Object.getOwnPropertySymbols(Te);tt{const{prefixCls:Lt,className:De,rootClassName:tt,style:Dt,tooltips:nn,character:vt=pe.createElement(qe,null)}=Te,Vt=Jt(Te,["prefixCls","className","rootClassName","style","tooltips","character"]),Fe=(me,Ge)=>{let{index:ze}=Ge;return nn?pe.createElement(We.Z,{title:nn[ze]},me):me},{getPrefixCls:st,direction:yt,rate:an}=pe.useContext(Pe.E_),Wt=st("rate",Lt),[Ke,Ve]=Ft(Wt),we=Object.assign(Object.assign({},an==null?void 0:an.style),Dt);return Ke(pe.createElement(Be,Object.assign({ref:lt,character:vt,characterRender:Fe},Vt,{className:dt()(De,tt,Ve,an==null?void 0:an.className),style:we,prefixCls:Wt,direction:yt})))})},61621:function(wt,Mt,oe){"use strict";oe.d(Mt,{Z:function(){return Ve}});var ne=oe(92310),pe=oe.n(ne),Je=oe(59301),Ne=oe(36355),Oe=oe(2738),be=we=>{const{prefixCls:me,className:Ge,style:ze,size:Ee,shape:Se}=we,nt=pe()({[`${me}-lg`]:Ee==="large",[`${me}-sm`]:Ee==="small"}),Me=pe()({[`${me}-circle`]:Se==="circle",[`${me}-square`]:Se==="square",[`${me}-round`]:Se==="round"}),Ce=Je.useMemo(()=>typeof Ee=="number"?{width:Ee,height:Ee,lineHeight:`${Ee}px`}:{},[Ee]);return Je.createElement("span",{className:pe()(me,nt,Me,Ge),style:Object.assign(Object.assign({},Ce),ze)})},qe=oe(93083),_e=oe(83116),dt=oe(37613);const it=new qe.Keyframes("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),et=we=>({height:we,lineHeight:`${we}px`}),Xe=we=>Object.assign({width:we},et(we)),se=we=>({background:we.skeletonLoadingBackground,backgroundSize:"400% 100%",animationName:it,animationDuration:we.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite"}),y=we=>Object.assign({width:we*5,minWidth:we*5},et(we)),a=we=>{const{skeletonAvatarCls:me,gradientFromColor:Ge,controlHeight:ze,controlHeightLG:Ee,controlHeightSM:Se}=we;return{[`${me}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:Ge},Xe(ze)),[`${me}${me}-circle`]:{borderRadius:"50%"},[`${me}${me}-lg`]:Object.assign({},Xe(Ee)),[`${me}${me}-sm`]:Object.assign({},Xe(Se))}},E=we=>{const{controlHeight:me,borderRadiusSM:Ge,skeletonInputCls:ze,controlHeightLG:Ee,controlHeightSM:Se,gradientFromColor:nt}=we;return{[`${ze}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:nt,borderRadius:Ge},y(me)),[`${ze}-lg`]:Object.assign({},y(Ee)),[`${ze}-sm`]:Object.assign({},y(Se))}},b=we=>Object.assign({width:we},et(we)),x=we=>{const{skeletonImageCls:me,imageSizeBase:Ge,gradientFromColor:ze,borderRadiusSM:Ee}=we;return{[`${me}`]:Object.assign(Object.assign({display:"flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",background:ze,borderRadius:Ee},b(Ge*2)),{[`${me}-path`]:{fill:"#bfbfbf"},[`${me}-svg`]:Object.assign(Object.assign({},b(Ge)),{maxWidth:Ge*4,maxHeight:Ge*4}),[`${me}-svg${me}-svg-circle`]:{borderRadius:"50%"}}),[`${me}${me}-circle`]:{borderRadius:"50%"}}},te=(we,me,Ge)=>{const{skeletonButtonCls:ze}=we;return{[`${Ge}${ze}-circle`]:{width:me,minWidth:me,borderRadius:"50%"},[`${Ge}${ze}-round`]:{borderRadius:me}}},ae=we=>Object.assign({width:we*2,minWidth:we*2},et(we)),ie=we=>{const{borderRadiusSM:me,skeletonButtonCls:Ge,controlHeight:ze,controlHeightLG:Ee,controlHeightSM:Se,gradientFromColor:nt}=we;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[`${Ge}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:nt,borderRadius:me,width:ze*2,minWidth:ze*2},ae(ze))},te(we,ze,Ge)),{[`${Ge}-lg`]:Object.assign({},ae(Ee))}),te(we,Ee,`${Ge}-lg`)),{[`${Ge}-sm`]:Object.assign({},ae(Se))}),te(we,Se,`${Ge}-sm`))},ue=we=>{const{componentCls:me,skeletonAvatarCls:Ge,skeletonTitleCls:ze,skeletonParagraphCls:Ee,skeletonButtonCls:Se,skeletonInputCls:nt,skeletonImageCls:Me,controlHeight:Ce,controlHeightLG:ke,controlHeightSM:xt,gradientFromColor:ht,padding:zt,marginSM:kt,borderRadius:Ot,titleHeight:Le,blockRadius:rt,paragraphLiHeight:At,controlHeightXS:gt,paragraphMarginTop:St}=we;return{[`${me}`]:{display:"table",width:"100%",[`${me}-header`]:{display:"table-cell",paddingInlineEnd:zt,verticalAlign:"top",[`${Ge}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:ht},Xe(Ce)),[`${Ge}-circle`]:{borderRadius:"50%"},[`${Ge}-lg`]:Object.assign({},Xe(ke)),[`${Ge}-sm`]:Object.assign({},Xe(xt))},[`${me}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[`${ze}`]:{width:"100%",height:Le,background:ht,borderRadius:rt,[`+ ${Ee}`]:{marginBlockStart:xt}},[`${Ee}`]:{padding:0,"> li":{width:"100%",height:At,listStyle:"none",background:ht,borderRadius:rt,"+ li":{marginBlockStart:gt}}},[`${Ee}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${me}-content`]:{[`${ze}, ${Ee} > li`]:{borderRadius:Ot}}},[`${me}-with-avatar ${me}-content`]:{[`${ze}`]:{marginBlockStart:kt,[`+ ${Ee}`]:{marginBlockStart:St}}},[`${me}${me}-element`]:Object.assign(Object.assign(Object.assign(Object.assign({display:"inline-block",width:"auto"},ie(we)),a(we)),E(we)),x(we)),[`${me}${me}-block`]:{width:"100%",[`${Se}`]:{width:"100%"},[`${nt}`]:{width:"100%"}},[`${me}${me}-active`]:{[` - ${ze}, - ${Ee} > li, - ${Ge}, - ${Se}, - ${nt}, - ${Me} - `]:Object.assign({},se(we))}}};var de=(0,_e.Z)("Skeleton",we=>{const{componentCls:me}=we,Ge=(0,dt.TS)(we,{skeletonAvatarCls:`${me}-avatar`,skeletonTitleCls:`${me}-title`,skeletonParagraphCls:`${me}-paragraph`,skeletonButtonCls:`${me}-button`,skeletonInputCls:`${me}-input`,skeletonImageCls:`${me}-image`,imageSizeBase:we.controlHeight*1.5,borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${we.gradientFromColor} 25%, ${we.gradientToColor} 37%, ${we.gradientFromColor} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return[ue(Ge)]},we=>{const{colorFillContent:me,colorFill:Ge}=we,ze=me,Ee=Ge;return{color:ze,colorGradientEnd:Ee,gradientFromColor:ze,gradientToColor:Ee,titleHeight:we.controlHeight/2,blockRadius:we.borderRadiusSM,paragraphMarginTop:we.marginLG+we.marginXXS,paragraphLiHeight:we.controlHeight/2}},{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]}),Be=we=>{const{prefixCls:me,className:Ge,rootClassName:ze,active:Ee,shape:Se="circle",size:nt="default"}=we,{getPrefixCls:Me}=Je.useContext(Ne.E_),Ce=Me("skeleton",me),[ke,xt]=de(Ce),ht=(0,Oe.Z)(we,["prefixCls","className"]),zt=pe()(Ce,`${Ce}-element`,{[`${Ce}-active`]:Ee},Ge,ze,xt);return ke(Je.createElement("div",{className:zt},Je.createElement(be,Object.assign({prefixCls:`${Ce}-avatar`,shape:Se,size:nt},ht))))},We=we=>{const{prefixCls:me,className:Ge,rootClassName:ze,active:Ee,block:Se=!1,size:nt="default"}=we,{getPrefixCls:Me}=Je.useContext(Ne.E_),Ce=Me("skeleton",me),[ke,xt]=de(Ce),ht=(0,Oe.Z)(we,["prefixCls"]),zt=pe()(Ce,`${Ce}-element`,{[`${Ce}-active`]:Ee,[`${Ce}-block`]:Se},Ge,ze,xt);return ke(Je.createElement("div",{className:zt},Je.createElement(be,Object.assign({prefixCls:`${Ce}-button`,size:nt},ht))))};const ve="M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z";var Bt=we=>{const{prefixCls:me,className:Ge,rootClassName:ze,style:Ee,active:Se}=we,{getPrefixCls:nt}=Je.useContext(Ne.E_),Me=nt("skeleton",me),[Ce,ke]=de(Me),xt=pe()(Me,`${Me}-element`,{[`${Me}-active`]:Se},Ge,ze,ke);return Ce(Je.createElement("div",{className:xt},Je.createElement("div",{className:pe()(`${Me}-image`,Ge),style:Ee},Je.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${Me}-image-svg`},Je.createElement("path",{d:ve,className:`${Me}-image-path`})))))},Ye=we=>{const{prefixCls:me,className:Ge,rootClassName:ze,active:Ee,block:Se,size:nt="default"}=we,{getPrefixCls:Me}=Je.useContext(Ne.E_),Ce=Me("skeleton",me),[ke,xt]=de(Ce),ht=(0,Oe.Z)(we,["prefixCls"]),zt=pe()(Ce,`${Ce}-element`,{[`${Ce}-active`]:Ee,[`${Ce}-block`]:Se},Ge,ze,xt);return ke(Je.createElement("div",{className:zt},Je.createElement(be,Object.assign({prefixCls:`${Ce}-input`,size:nt},ht))))},ft=oe(72308),Ft={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M888 792H200V168c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h752c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM288 604a64 64 0 10128 0 64 64 0 10-128 0zm118-224a48 48 0 1096 0 48 48 0 10-96 0zm158 228a96 96 0 10192 0 96 96 0 10-192 0zm148-314a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"dot-chart",theme:"outlined"},Jt=Ft,Rt=oe(7657),bt=function(me,Ge){return Je.createElement(Rt.Z,(0,ft.Z)({},me,{ref:Ge,icon:Jt}))},Te=Je.forwardRef(bt),lt=Te,De=we=>{const{prefixCls:me,className:Ge,rootClassName:ze,style:Ee,active:Se,children:nt}=we,{getPrefixCls:Me}=Je.useContext(Ne.E_),Ce=Me("skeleton",me),[ke,xt]=de(Ce),ht=pe()(Ce,`${Ce}-element`,{[`${Ce}-active`]:Se},xt,Ge,ze),zt=nt!=null?nt:Je.createElement(lt,null);return ke(Je.createElement("div",{className:ht},Je.createElement("div",{className:pe()(`${Ce}-image`,Ge),style:Ee},zt)))},tt=oe(80702),nn=we=>{const me=Me=>{const{width:Ce,rows:ke=2}=we;if(Array.isArray(Ce))return Ce[Me];if(ke-1===Me)return Ce},{prefixCls:Ge,className:ze,style:Ee,rows:Se}=we,nt=(0,tt.Z)(Array(Se)).map((Me,Ce)=>Je.createElement("li",{key:Ce,style:{width:me(Ce)}}));return Je.createElement("ul",{className:pe()(Ge,ze),style:Ee},nt)},Vt=we=>{let{prefixCls:me,className:Ge,width:ze,style:Ee}=we;return Je.createElement("h3",{className:pe()(me,Ge),style:Object.assign({width:ze},Ee)})};function Fe(we){return we&&typeof we=="object"?we:{}}function st(we,me){return we&&!me?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function yt(we,me){return!we&&me?{width:"38%"}:we&&me?{width:"50%"}:{}}function an(we,me){const Ge={};return(!we||!me)&&(Ge.width="61%"),!we&&me?Ge.rows=3:Ge.rows=2,Ge}const Wt=we=>{const{prefixCls:me,loading:Ge,className:ze,rootClassName:Ee,style:Se,children:nt,avatar:Me=!1,title:Ce=!0,paragraph:ke=!0,active:xt,round:ht}=we,{getPrefixCls:zt,direction:kt,skeleton:Ot}=Je.useContext(Ne.E_),Le=zt("skeleton",me),[rt,At]=de(Le);if(Ge||!("loading"in we)){const gt=!!Me,St=!!Ce,on=!!ke;let mn;if(gt){const Wn=Object.assign(Object.assign({prefixCls:`${Le}-avatar`},st(St,on)),Fe(Me));mn=Je.createElement("div",{className:`${Le}-header`},Je.createElement(be,Object.assign({},Wn)))}let dn;if(St||on){let Wn;if(St){const Zn=Object.assign(Object.assign({prefixCls:`${Le}-title`},yt(gt,on)),Fe(Ce));Wn=Je.createElement(Vt,Object.assign({},Zn))}let fn;if(on){const Zn=Object.assign(Object.assign({prefixCls:`${Le}-paragraph`},an(gt,St)),Fe(ke));fn=Je.createElement(nn,Object.assign({},Zn))}dn=Je.createElement("div",{className:`${Le}-content`},Wn,fn)}const vn=pe()(Le,{[`${Le}-with-avatar`]:gt,[`${Le}-active`]:xt,[`${Le}-rtl`]:kt==="rtl",[`${Le}-round`]:ht},Ot==null?void 0:Ot.className,ze,Ee,At);return rt(Je.createElement("div",{className:vn,style:Object.assign(Object.assign({},Ot==null?void 0:Ot.style),Se)},mn,dn))}return typeof nt!="undefined"?nt:null};Wt.Button=We,Wt.Avatar=Be,Wt.Input=Ye,Wt.Image=Bt,Wt.Node=De;var Ke=Wt,Ve=Ke},31797:function(wt,Mt,oe){"use strict";oe.d(Mt,{default:function(){return de}});var ne=oe(59301),pe=oe(56762),Je=oe(92343),Ne=oe(92310),Oe=oe.n(Ne),Re=oe(36355),be=oe(61621),_e=fe=>{const{value:Be,formatter:Pe,precision:We,decimalSeparator:ve,groupSeparator:Ue="",prefixCls:Bt}=fe;let Tt;if(typeof Pe=="function")Tt=Pe(Be);else{const Ye=String(Be),ft=Ye.match(/^(-?)(\d*)(\.(\d+))?$/);if(!ft||Ye==="-")Tt=Ye;else{const Ft=ft[1];let Jt=ft[2]||"0",Rt=ft[4]||"";Jt=Jt.replace(/\B(?=(\d{3})+(?!\d))/g,Ue),typeof We=="number"&&(Rt=Rt.padEnd(We,"0").slice(0,We>0?We:0)),Rt&&(Rt=`${ve}${Rt}`),Tt=[ne.createElement("span",{key:"int",className:`${Bt}-content-value-int`},Ft,Jt),Rt&&ne.createElement("span",{key:"decimal",className:`${Bt}-content-value-decimal`},Rt)]}}return ne.createElement("span",{className:`${Bt}-content-value`},Tt)},dt=oe(17313),it=oe(83116),et=oe(37613);const Xe=fe=>{const{componentCls:Be,marginXXS:Pe,padding:We,colorTextDescription:ve,titleFontSize:Ue,colorTextHeading:Bt,contentFontSize:Tt,fontFamily:Ye}=fe;return{[`${Be}`]:Object.assign(Object.assign({},(0,dt.Wf)(fe)),{[`${Be}-title`]:{marginBottom:Pe,color:ve,fontSize:Ue},[`${Be}-skeleton`]:{paddingTop:We},[`${Be}-content`]:{color:Bt,fontSize:Tt,fontFamily:Ye,[`${Be}-content-value`]:{display:"inline-block",direction:"ltr"},[`${Be}-content-prefix, ${Be}-content-suffix`]:{display:"inline-block"},[`${Be}-content-prefix`]:{marginInlineEnd:Pe},[`${Be}-content-suffix`]:{marginInlineStart:Pe}}})}};var se=(0,it.Z)("Statistic",fe=>{const Be=(0,et.TS)(fe,{});return[Xe(Be)]},fe=>{const{fontSizeHeading3:Be,fontSize:Pe}=fe;return{titleFontSize:Pe,contentFontSize:Be}}),a=fe=>{const{prefixCls:Be,className:Pe,rootClassName:We,style:ve,valueStyle:Ue,value:Bt=0,title:Tt,valueRender:Ye,prefix:ft,suffix:Ft,loading:Jt=!1,onMouseEnter:Rt,onMouseLeave:bt,decimalSeparator:Te=".",groupSeparator:lt=","}=fe,{getPrefixCls:Lt,direction:De,statistic:tt}=ne.useContext(Re.E_),Dt=Lt("statistic",Be),[nn,vt]=se(Dt),Vt=ne.createElement(_e,Object.assign({decimalSeparator:Te,groupSeparator:lt,prefixCls:Dt},fe,{value:Bt})),Fe=Oe()(Dt,{[`${Dt}-rtl`]:De==="rtl"},tt==null?void 0:tt.className,Pe,We,vt);return nn(ne.createElement("div",{className:Fe,style:Object.assign(Object.assign({},tt==null?void 0:tt.style),ve),onMouseEnter:Rt,onMouseLeave:bt},Tt&&ne.createElement("div",{className:`${Dt}-title`},Tt),ne.createElement(be.Z,{paragraph:!1,loading:Jt,className:`${Dt}-skeleton`},ne.createElement("div",{style:Ue,className:`${Dt}-content`},ft&&ne.createElement("span",{className:`${Dt}-content-prefix`},ft),Ye?Ye(Vt):Vt,Ft&&ne.createElement("span",{className:`${Dt}-content-suffix`},Ft)))))};const E=[["Y",1e3*60*60*24*365],["M",1e3*60*60*24*30],["D",1e3*60*60*24],["H",1e3*60*60],["m",1e3*60],["s",1e3],["S",1]];function b(fe,Be){let Pe=fe;const We=/\[[^\]]*]/g,ve=(Be.match(We)||[]).map(Ye=>Ye.slice(1,-1)),Ue=Be.replace(We,"[]"),Bt=E.reduce((Ye,ft)=>{let[Ft,Jt]=ft;if(Ye.includes(Ft)){const Rt=Math.floor(Pe/Jt);return Pe-=Rt*Jt,Ye.replace(new RegExp(`${Ft}+`,"g"),bt=>{const Te=bt.length;return Rt.toString().padStart(Te,"0")})}return Ye},Ue);let Tt=0;return Bt.replace(We,()=>{const Ye=ve[Tt];return Tt+=1,Ye})}function x(fe,Be){const{format:Pe=""}=Be,We=new Date(fe).getTime(),ve=Date.now(),Ue=Math.max(We-ve,0);return b(Ue,Pe)}const te=1e3/30;function ae(fe){return new Date(fe).getTime()}const ie=fe=>{const{value:Be,format:Pe="HH:mm:ss",onChange:We,onFinish:ve}=fe,Ue=(0,pe.Z)(),Bt=ne.useRef(null),Tt=()=>{ve==null||ve(),Bt.current&&(clearInterval(Bt.current),Bt.current=null)},Ye=()=>{const Jt=ae(Be);Jt>=Date.now()&&(Bt.current=setInterval(()=>{Ue(),We==null||We(Jt-Date.now()),Jt(Ye(),()=>{Bt.current&&(clearInterval(Bt.current),Bt.current=null)}),[Be]);const ft=(Jt,Rt)=>x(Jt,Object.assign(Object.assign({},Rt),{format:Pe})),Ft=Jt=>(0,Je.Tm)(Jt,{title:void 0});return ne.createElement(a,Object.assign({},fe,{valueRender:Ft,formatter:ft}))};var ue=ne.memo(ie);a.Countdown=ue;var de=a},12563:function(wt,Mt,oe){"use strict";oe.d(Mt,{default:function(){return We}});var ne=oe(59301),pe=oe(99267),Je=oe(92310),Ne=oe.n(Je),Oe=oe(36785),Re=oe(47729),be=oe(14088),qe=oe(36355),_e=oe(17313),dt=oe(37613),it=oe(83116);const et=ve=>{const{paddingXXS:Ue,lineWidth:Bt,tagPaddingHorizontal:Tt,componentCls:Ye}=ve,ft=Tt-Bt,Ft=Ue-Bt;return{[Ye]:Object.assign(Object.assign({},(0,_e.Wf)(ve)),{display:"inline-block",height:"auto",marginInlineEnd:ve.marginXS,paddingInline:ft,fontSize:ve.tagFontSize,lineHeight:ve.tagLineHeight,whiteSpace:"nowrap",background:ve.defaultBg,border:`${ve.lineWidth}px ${ve.lineType} ${ve.colorBorder}`,borderRadius:ve.borderRadiusSM,opacity:1,transition:`all ${ve.motionDurationMid}`,textAlign:"start",position:"relative",[`&${Ye}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:ve.defaultColor},[`${Ye}-close-icon`]:{marginInlineStart:Ft,color:ve.colorTextDescription,fontSize:ve.tagIconSize,cursor:"pointer",transition:`all ${ve.motionDurationMid}`,"&:hover":{color:ve.colorTextHeading}},[`&${Ye}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${ve.iconCls}-close, ${ve.iconCls}-close:hover`]:{color:ve.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${Ye}-checkable-checked):hover`]:{color:ve.colorPrimary,backgroundColor:ve.colorFillSecondary},"&:active, &-checked":{color:ve.colorTextLightSolid},"&-checked":{backgroundColor:ve.colorPrimary,"&:hover":{backgroundColor:ve.colorPrimaryHover}},"&:active":{backgroundColor:ve.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${ve.iconCls} + span, > span + ${ve.iconCls}`]:{marginInlineStart:ft}}),[`${Ye}-borderless`]:{borderColor:"transparent",background:ve.tagBorderlessBg}}},Xe=ve=>{const{lineWidth:Ue,fontSizeIcon:Bt}=ve,Tt=ve.fontSizeSM,Ye=`${ve.lineHeightSM*Tt}px`;return(0,dt.TS)(ve,{tagFontSize:Tt,tagLineHeight:Ye,tagIconSize:Bt-2*Ue,tagPaddingHorizontal:8,tagBorderlessBg:ve.colorFillTertiary})},se=ve=>({defaultBg:ve.colorFillQuaternary,defaultColor:ve.colorText});var y=(0,it.Z)("Tag",ve=>{const Ue=Xe(ve);return et(Ue)},se),a=function(ve,Ue){var Bt={};for(var Tt in ve)Object.prototype.hasOwnProperty.call(ve,Tt)&&Ue.indexOf(Tt)<0&&(Bt[Tt]=ve[Tt]);if(ve!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ye=0,Tt=Object.getOwnPropertySymbols(ve);Ye{const{prefixCls:Ue,style:Bt,className:Tt,checked:Ye,onChange:ft,onClick:Ft}=ve,Jt=a(ve,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:Rt,tag:bt}=ne.useContext(qe.E_),Te=Dt=>{ft==null||ft(!Ye),Ft==null||Ft(Dt)},lt=Rt("tag",Ue),[Lt,De]=y(lt),tt=Ne()(lt,`${lt}-checkable`,{[`${lt}-checkable-checked`]:Ye},bt==null?void 0:bt.className,Tt,De);return Lt(ne.createElement("span",Object.assign({},Jt,{style:Object.assign(Object.assign({},Bt),bt==null?void 0:bt.style),className:tt,onClick:Te})))},x=oe(45157);const te=ve=>(0,x.Z)(ve,(Ue,Bt)=>{let{textColor:Tt,lightBorderColor:Ye,lightColor:ft,darkColor:Ft}=Bt;return{[`${ve.componentCls}-${Ue}`]:{color:Tt,background:ft,borderColor:Ye,"&-inverse":{color:ve.colorTextLightSolid,background:Ft,borderColor:Ft},[`&${ve.componentCls}-borderless`]:{borderColor:"transparent"}}}});var ae=(0,it.b)(["Tag","preset"],ve=>{const Ue=Xe(ve);return te(Ue)},se);function ie(ve){return typeof ve!="string"?ve:ve.charAt(0).toUpperCase()+ve.slice(1)}const ue=(ve,Ue,Bt)=>{const Tt=ie(Bt);return{[`${ve.componentCls}-${Ue}`]:{color:ve[`color${Bt}`],background:ve[`color${Tt}Bg`],borderColor:ve[`color${Tt}Border`],[`&${ve.componentCls}-borderless`]:{borderColor:"transparent"}}}};var de=(0,it.b)(["Tag","status"],ve=>{const Ue=Xe(ve);return[ue(Ue,"success","Success"),ue(Ue,"processing","Info"),ue(Ue,"error","Error"),ue(Ue,"warning","Warning")]},se),fe=function(ve,Ue){var Bt={};for(var Tt in ve)Object.prototype.hasOwnProperty.call(ve,Tt)&&Ue.indexOf(Tt)<0&&(Bt[Tt]=ve[Tt]);if(ve!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ye=0,Tt=Object.getOwnPropertySymbols(ve);Ye{const{prefixCls:Bt,className:Tt,rootClassName:Ye,style:ft,children:Ft,icon:Jt,color:Rt,onClose:bt,closeIcon:Te,closable:lt,bordered:Lt=!0}=ve,De=fe(ve,["prefixCls","className","rootClassName","style","children","icon","color","onClose","closeIcon","closable","bordered"]),{getPrefixCls:tt,direction:Dt,tag:nn}=ne.useContext(qe.E_),[vt,Vt]=ne.useState(!0);ne.useEffect(()=>{"visible"in De&&Vt(De.visible)},[De.visible]);const Fe=(0,Oe.o2)(Rt),st=(0,Oe.yT)(Rt),yt=Fe||st,an=Object.assign(Object.assign({backgroundColor:Rt&&!yt?Rt:void 0},nn==null?void 0:nn.style),ft),Wt=tt("tag",Bt),[Ke,Ve]=y(Wt),we=Ne()(Wt,nn==null?void 0:nn.className,{[`${Wt}-${Rt}`]:yt,[`${Wt}-has-color`]:Rt&&!yt,[`${Wt}-hidden`]:!vt,[`${Wt}-rtl`]:Dt==="rtl",[`${Wt}-borderless`]:!Lt},Tt,Ye,Ve),me=Me=>{Me.stopPropagation(),bt==null||bt(Me),!Me.defaultPrevented&&Vt(!1)},[,Ge]=(0,Re.Z)(lt,Te,Me=>Me===null?ne.createElement(pe.Z,{className:`${Wt}-close-icon`,onClick:me}):ne.createElement("span",{className:`${Wt}-close-icon`,onClick:me},Me),null,!1),ze=typeof De.onClick=="function"||Ft&&Ft.type==="a",Ee=Jt||null,Se=Ee?ne.createElement(ne.Fragment,null,Ee,Ft&&ne.createElement("span",null,Ft)):Ft,nt=ne.createElement("span",Object.assign({},De,{ref:Ue,className:we,style:an}),Se,Ge,Fe&&ne.createElement(ae,{key:"preset",prefixCls:Wt}),st&&ne.createElement(de,{key:"status",prefixCls:Wt}));return Ke(ze?ne.createElement(be.Z,{component:"Tag"},nt):nt)},Pe=ne.forwardRef(Be);Pe.CheckableTag=b;var We=Pe},17574:function(wt,Mt,oe){"use strict";oe.d(Mt,{default:function(){return Rt}});var ne=oe(54844),pe=oe(80702),Je=oe(52671),Ne=oe(8657),Oe=oe(72308),Re=oe(59301),be={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 298.4H521L403.7 186.2a8.15 8.15 0 00-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32zM840 768H184V256h188.5l119.6 114.4H840V768z"}}]},name:"folder",theme:"outlined"},qe=be,_e=oe(7657),dt=function(Te,lt){return Re.createElement(_e.Z,(0,Oe.Z)({},Te,{ref:lt,icon:qe}))},it=Re.forwardRef(dt),et=it,Xe=oe(92310),se=oe.n(Xe),y=oe(35654),a=oe(71430),E=oe(36355),b=oe(56082),x=oe(62892),te=oe(20648);const ae=4;function ie(bt){const{dropPosition:Te,dropLevelOffset:lt,prefixCls:Lt,indent:De,direction:tt="ltr"}=bt,Dt=tt==="ltr"?"left":"right",nn=tt==="ltr"?"right":"left",vt={[Dt]:-lt*De+ae,[nn]:0};switch(Te){case-1:vt.top=-3;break;case 1:vt.bottom=-3;break;default:vt.bottom=-3,vt[Dt]=De+ae;break}return Re.createElement("div",{style:vt,className:`${Lt}-drop-indicator`})}var ue=oe(71997),fe=Re.forwardRef((bt,Te)=>{const{getPrefixCls:lt,direction:Lt,virtual:De,tree:tt}=Re.useContext(E.E_),{prefixCls:Dt,className:nn,showIcon:vt=!1,showLine:Vt,switcherIcon:Fe,blockNode:st=!1,children:yt,checkable:an=!1,selectable:Wt=!0,draggable:Ke,motion:Ve,style:we}=bt,me=lt("tree",Dt),Ge=lt(),ze=Ve!=null?Ve:Object.assign(Object.assign({},(0,x.Z)(Ge)),{motionAppear:!1}),Ee=Object.assign(Object.assign({},bt),{checkable:an,selectable:Wt,showIcon:vt,motion:ze,blockNode:st,showLine:!!Vt,dropIndicatorRender:ie}),[Se,nt]=(0,te.ZP)(me),Me=Re.useMemo(()=>{if(!Ke)return!1;let ke={};switch(typeof Ke){case"function":ke.nodeDraggable=Ke;break;case"object":ke=Object.assign({},Ke);break;default:break}return ke.icon!==!1&&(ke.icon=ke.icon||Re.createElement(b.Z,null)),ke},[Ke]),Ce=ke=>Re.createElement(ue.Z,{prefixCls:me,switcherIcon:Fe,treeNodeProps:ke,showLine:Vt});return Se(Re.createElement(ne.Z,Object.assign({itemHeight:20,ref:Te,virtual:De},Ee,{style:Object.assign(Object.assign({},tt==null?void 0:tt.style),we),prefixCls:me,className:se()({[`${me}-icon-hide`]:!vt,[`${me}-block-node`]:st,[`${me}-unselectable`]:!Wt,[`${me}-rtl`]:Lt==="rtl"},tt==null?void 0:tt.className,nn,nt),direction:Lt,checkable:an&&Re.createElement("span",{className:`${me}-checkbox-inner`}),selectable:Wt,switcherIcon:Ce,draggable:Me}),yt))}),Be;(function(bt){bt[bt.None=0]="None",bt[bt.Start=1]="Start",bt[bt.End=2]="End"})(Be||(Be={}));function Pe(bt,Te){function lt(Lt){const{key:De,children:tt}=Lt;Te(De,Lt)!==!1&&Pe(tt||[],Te)}bt.forEach(lt)}function We(bt){let{treeData:Te,expandedKeys:lt,startKey:Lt,endKey:De}=bt;const tt=[];let Dt=Be.None;if(Lt&&Lt===De)return[Lt];if(!Lt||!De)return[];function nn(vt){return vt===Lt||vt===De}return Pe(Te,vt=>{if(Dt===Be.End)return!1;if(nn(vt)){if(tt.push(vt),Dt===Be.None)Dt=Be.Start;else if(Dt===Be.Start)return Dt=Be.End,!1}else Dt===Be.Start&&tt.push(vt);return lt.includes(vt)}),tt}function ve(bt,Te){const lt=(0,pe.Z)(Te),Lt=[];return Pe(bt,(De,tt)=>{const Dt=lt.indexOf(De);return Dt!==-1&&(Lt.push(tt),lt.splice(Dt,1)),!!lt.length}),Lt}var Ue=function(bt,Te){var lt={};for(var Lt in bt)Object.prototype.hasOwnProperty.call(bt,Lt)&&Te.indexOf(Lt)<0&&(lt[Lt]=bt[Lt]);if(bt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var De=0,Lt=Object.getOwnPropertySymbols(bt);De{var{defaultExpandAll:lt,defaultExpandParent:Lt,defaultExpandedKeys:De}=bt,tt=Ue(bt,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);const Dt=Re.useRef(),nn=Re.useRef(),vt=()=>{const{keyEntities:Me}=(0,a.I8)(Tt(tt));let Ce;return lt?Ce=Object.keys(Me):Lt?Ce=(0,y.r7)(tt.expandedKeys||De||[],Me):Ce=tt.expandedKeys||De,Ce},[Vt,Fe]=Re.useState(tt.selectedKeys||tt.defaultSelectedKeys||[]),[st,yt]=Re.useState(()=>vt());Re.useEffect(()=>{"selectedKeys"in tt&&Fe(tt.selectedKeys)},[tt.selectedKeys]),Re.useEffect(()=>{"expandedKeys"in tt&&yt(tt.expandedKeys)},[tt.expandedKeys]);const an=(Me,Ce)=>{var ke;return"expandedKeys"in tt||yt(Me),(ke=tt.onExpand)===null||ke===void 0?void 0:ke.call(tt,Me,Ce)},Wt=(Me,Ce)=>{var ke;const{multiple:xt}=tt,{node:ht,nativeEvent:zt}=Ce,{key:kt=""}=ht,Ot=Tt(tt),Le=Object.assign(Object.assign({},Ce),{selected:!0}),rt=(zt==null?void 0:zt.ctrlKey)||(zt==null?void 0:zt.metaKey),At=zt==null?void 0:zt.shiftKey;let gt;xt&&rt?(gt=Me,Dt.current=kt,nn.current=gt,Le.selectedNodes=ve(Ot,gt)):xt&&At?(gt=Array.from(new Set([].concat((0,pe.Z)(nn.current||[]),(0,pe.Z)(We({treeData:Ot,expandedKeys:st,startKey:kt,endKey:Dt.current}))))),Le.selectedNodes=ve(Ot,gt)):(gt=[kt],Dt.current=kt,nn.current=gt,Le.selectedNodes=ve(Ot,gt)),(ke=tt.onSelect)===null||ke===void 0||ke.call(tt,gt,Le),"selectedKeys"in tt||Fe(gt)},{getPrefixCls:Ke,direction:Ve}=Re.useContext(E.E_),{prefixCls:we,className:me,showIcon:Ge=!0,expandAction:ze="click"}=tt,Ee=Ue(tt,["prefixCls","className","showIcon","expandAction"]),Se=Ke("tree",we),nt=se()(`${Se}-directory`,{[`${Se}-directory-rtl`]:Ve==="rtl"},me);return Re.createElement(fe,Object.assign({icon:Bt,ref:Te,blockNode:!0},Ee,{showIcon:Ge,expandAction:ze,prefixCls:Se,className:nt,expandedKeys:st,selectedKeys:Vt,onSelect:Wt,onExpand:an}))};var Ft=Re.forwardRef(Ye);const Jt=fe;Jt.DirectoryTree=Ft,Jt.TreeNode=ne.O;var Rt=Jt},20648:function(wt,Mt,oe){"use strict";oe.d(Mt,{TM:function(){return Xe},Yk:function(){return et}});var ne=oe(93083),pe=oe(98447),Je=oe(17313),Ne=oe(8378),Oe=oe(37613),Re=oe(83116);const be=new ne.Keyframes("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),qe=(se,y)=>({[`.${se}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${y.motionDurationSlow}`}}}),_e=(se,y)=>({[`.${se}-drop-indicator`]:{position:"absolute",zIndex:1,height:2,backgroundColor:y.colorPrimary,borderRadius:1,pointerEvents:"none","&:after":{position:"absolute",top:-3,insetInlineStart:-6,width:8,height:8,backgroundColor:"transparent",border:`${y.lineWidthBold}px solid ${y.colorPrimary}`,borderRadius:"50%",content:'""'}}}),dt=(se,y)=>{const{treeCls:a,treeNodeCls:E,treeNodePadding:b,titleHeight:x,nodeSelectedBg:te,nodeHoverBg:ae}=y,ie=y.paddingXS;return{[a]:Object.assign(Object.assign({},(0,Je.Wf)(y)),{background:y.colorBgContainer,borderRadius:y.borderRadius,transition:`background-color ${y.motionDurationSlow}`,[`&${a}-rtl`]:{[`${a}-switcher`]:{"&_close":{[`${a}-switcher-icon`]:{svg:{transform:"rotate(90deg)"}}}}},[`&-focused:not(:hover):not(${a}-active-focused)`]:Object.assign({},(0,Je.oN)(y)),[`${a}-list-holder-inner`]:{alignItems:"flex-start"},[`&${a}-block-node`]:{[`${a}-list-holder-inner`]:{alignItems:"stretch",[`${a}-node-content-wrapper`]:{flex:"auto"},[`${E}.dragging`]:{position:"relative","&:after":{position:"absolute",top:0,insetInlineEnd:0,bottom:b,insetInlineStart:0,border:`1px solid ${y.colorPrimary}`,opacity:0,animationName:be,animationDuration:y.motionDurationSlow,animationPlayState:"running",animationFillMode:"forwards",content:'""',pointerEvents:"none"}}}},[`${E}`]:{display:"flex",alignItems:"flex-start",padding:`0 0 ${b}px 0`,outline:"none","&-rtl":{direction:"rtl"},"&-disabled":{[`${a}-node-content-wrapper`]:{color:y.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"}}},[`&-active ${a}-node-content-wrapper`]:Object.assign({},(0,Je.oN)(y)),[`&:not(${E}-disabled).filter-node ${a}-title`]:{color:"inherit",fontWeight:500},"&-draggable":{[`${a}-draggable-icon`]:{flexShrink:0,width:x,lineHeight:`${x}px`,textAlign:"center",visibility:"visible",opacity:.2,transition:`opacity ${y.motionDurationSlow}`,[`${E}:hover &`]:{opacity:.45}},[`&${E}-disabled`]:{[`${a}-draggable-icon`]:{visibility:"hidden"}}}},[`${a}-indent`]:{alignSelf:"stretch",whiteSpace:"nowrap",userSelect:"none","&-unit":{display:"inline-block",width:x}},[`${a}-draggable-icon`]:{visibility:"hidden"},[`${a}-switcher`]:Object.assign(Object.assign({},qe(se,y)),{position:"relative",flex:"none",alignSelf:"stretch",width:x,margin:0,lineHeight:`${x}px`,textAlign:"center",cursor:"pointer",userSelect:"none","&-noop":{cursor:"default"},"&_close":{[`${a}-switcher-icon`]:{svg:{transform:"rotate(-90deg)"}}},"&-loading-icon":{color:y.colorPrimary},"&-leaf-line":{position:"relative",zIndex:1,display:"inline-block",width:"100%",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:x/2,bottom:-b,marginInlineStart:-1,borderInlineEnd:`1px solid ${y.colorBorder}`,content:'""'},"&:after":{position:"absolute",width:x/2*.8,height:x/2,borderBottom:`1px solid ${y.colorBorder}`,content:'""'}}}),[`${a}-checkbox`]:{top:"initial",marginInlineEnd:ie},[`${a}-node-content-wrapper, ${a}-checkbox + span`]:{position:"relative",zIndex:"auto",minHeight:x,margin:0,padding:`0 ${y.paddingXS/2}px`,color:"inherit",lineHeight:`${x}px`,background:"transparent",borderRadius:y.borderRadius,cursor:"pointer",transition:`all ${y.motionDurationMid}, border 0s, line-height 0s, box-shadow 0s`,"&:hover":{backgroundColor:ae},[`&${a}-node-selected`]:{backgroundColor:te},[`${a}-iconEle`]:{display:"inline-block",width:x,height:x,lineHeight:`${x}px`,textAlign:"center",verticalAlign:"top","&:empty":{display:"none"}}},[`${a}-unselectable ${a}-node-content-wrapper:hover`]:{backgroundColor:"transparent"},[`${a}-node-content-wrapper`]:Object.assign({lineHeight:`${x}px`,userSelect:"none"},_e(se,y)),[`${E}.drop-container`]:{"> [draggable]":{boxShadow:`0 0 0 2px ${y.colorPrimary}`}},"&-show-line":{[`${a}-indent`]:{"&-unit":{position:"relative",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:x/2,bottom:-b,borderInlineEnd:`1px solid ${y.colorBorder}`,content:'""'},"&-end":{"&:before":{display:"none"}}}},[`${a}-switcher`]:{background:"transparent","&-line-icon":{verticalAlign:"-0.15em"}}},[`${E}-leaf-last`]:{[`${a}-switcher`]:{"&-leaf-line":{"&:before":{top:"auto !important",bottom:"auto !important",height:`${x/2}px !important`}}}}})}},it=se=>{const{treeCls:y,treeNodeCls:a,treeNodePadding:E,directoryNodeSelectedBg:b,directoryNodeSelectedColor:x}=se;return{[`${y}${y}-directory`]:{[a]:{position:"relative","&:before":{position:"absolute",top:0,insetInlineEnd:0,bottom:E,insetInlineStart:0,transition:`background-color ${se.motionDurationMid}`,content:'""',pointerEvents:"none"},"&:hover":{"&:before":{background:se.controlItemBgHover}},"> *":{zIndex:1},[`${y}-switcher`]:{transition:`color ${se.motionDurationMid}`},[`${y}-node-content-wrapper`]:{borderRadius:0,userSelect:"none","&:hover":{background:"transparent"},[`&${y}-node-selected`]:{color:x,background:"transparent"}},"&-selected":{"\n &:hover::before,\n &::before\n ":{background:b},[`${y}-switcher`]:{color:x},[`${y}-node-content-wrapper`]:{color:x,background:"transparent"}}}}}},et=(se,y)=>{const a=`.${se}`,E=`${a}-treenode`,b=y.paddingXS/2,x=(0,Oe.TS)(y,{treeCls:a,treeNodeCls:E,treeNodePadding:b});return[dt(se,x),it(x)]},Xe=se=>{const{controlHeightSM:y}=se;return{titleHeight:y,nodeHoverBg:se.controlItemBgHover,nodeSelectedBg:se.controlItemBgActive}};Mt.ZP=(0,Re.Z)("Tree",(se,y)=>{let{prefixCls:a}=y;return[{[se.componentCls]:(0,pe.C2)(`${a}-checkbox`,se)},et(a,se),(0,Ne.Z)(se)]},se=>{const{colorTextLightSolid:y,colorPrimary:a}=se;return Object.assign(Object.assign({},Xe(se)),{directoryNodeSelectedColor:y,directoryNodeSelectedBg:a})})},71997:function(wt,Mt,oe){"use strict";oe.d(Mt,{Z:function(){return E}});var ne=oe(72308),pe=oe(59301),Je={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"filled"},Ne=Je,Oe=oe(7657),Re=function(x,te){return pe.createElement(Oe.Z,(0,ne.Z)({},x,{ref:te,icon:Ne}))},be=pe.forwardRef(Re),qe=be,_e=oe(52671),dt=oe(58617),it=oe(15075),et=oe(43531),Xe=oe(92310),se=oe.n(Xe),y=oe(92343),E=b=>{const{prefixCls:x,switcherIcon:te,treeNodeProps:ae,showLine:ie}=b,{isLeaf:ue,expanded:de,loading:fe}=ae;if(fe)return pe.createElement(dt.Z,{className:`${x}-switcher-loading-icon`});let Be;if(ie&&typeof ie=="object"&&(Be=ie.showLeafIcon),ue){if(!ie)return null;if(typeof Be!="boolean"&&Be){const ve=typeof Be=="function"?Be(ae):Be,Ue=`${x}-switcher-line-custom-icon`;return(0,y.l$)(ve)?(0,y.Tm)(ve,{className:se()(ve.props.className||"",Ue)}):ve}return Be?pe.createElement(_e.Z,{className:`${x}-switcher-line-icon`}):pe.createElement("span",{className:`${x}-switcher-leaf-line`})}const Pe=`${x}-switcher-icon`,We=typeof te=="function"?te(ae):te;return(0,y.l$)(We)?(0,y.Tm)(We,{className:se()(We.props.className||"",Pe)}):We!==void 0?We:ie?de?pe.createElement(it.Z,{className:`${x}-switcher-line-icon`}):pe.createElement(et.Z,{className:`${x}-switcher-line-icon`}):pe.createElement(qe,{className:Pe})}},54580:function(wt,Mt,oe){"use strict";oe.d(Mt,{default:function(){return Cn}});var ne=oe(59301),pe=oe(80702),Je=oe(92310),Ne=oe.n(Je),Oe=oe(72308),Re=oe(96949),be=oe(55090),qe=oe(77205),_e=oe(38793),dt=oe(49618),it=oe(74416),et=oe(65736),Xe=oe(62853),se=oe(72633),y=oe(26112);function a(xe,pt){var Ct="cannot ".concat(xe.method," ").concat(xe.action," ").concat(pt.status,"'"),Et=new Error(Ct);return Et.status=pt.status,Et.method=xe.method,Et.url=xe.action,Et}function E(xe){var pt=xe.responseText||xe.response;if(!pt)return pt;try{return JSON.parse(pt)}catch(Ct){return pt}}function b(xe){var pt=new XMLHttpRequest;xe.onProgress&&pt.upload&&(pt.upload.onprogress=function(jt){jt.total>0&&(jt.percent=jt.loaded/jt.total*100),xe.onProgress(jt)});var Ct=new FormData;xe.data&&Object.keys(xe.data).forEach(function(Qt){var jt=xe.data[Qt];if(Array.isArray(jt)){jt.forEach(function(Gt){Ct.append("".concat(Qt,"[]"),Gt)});return}Ct.append(Qt,jt)}),xe.file instanceof Blob?Ct.append(xe.filename,xe.file,xe.file.name):Ct.append(xe.filename,xe.file),pt.onerror=function(jt){xe.onError(jt)},pt.onload=function(){return pt.status<200||pt.status>=300?xe.onError(a(xe,pt),E(pt)):xe.onSuccess(E(pt),pt)},pt.open(xe.method,xe.action,!0),xe.withCredentials&&"withCredentials"in pt&&(pt.withCredentials=!0);var Et=xe.headers||{};return Et["X-Requested-With"]!==null&&pt.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(Et).forEach(function(Qt){Et[Qt]!==null&&pt.setRequestHeader(Qt,Et[Qt])}),pt.send(Ct),{abort:function(){pt.abort()}}}var x=+new Date,te=0;function ae(){return"rc-upload-".concat(x,"-").concat(++te)}var ie=oe(48736),ue=function(xe,pt){if(xe&&pt){var Ct=Array.isArray(pt)?pt:pt.split(","),Et=xe.name||"",Qt=xe.type||"",jt=Qt.replace(/\/.*$/,"");return Ct.some(function(Gt){var Kt=Gt.trim();if(/^\*(\/\*)?$/.test(Gt))return!0;if(Kt.charAt(0)==="."){var Gn=Et.toLowerCase(),ot=Kt.toLowerCase(),Ie=[ot];return(ot===".jpg"||ot===".jpeg")&&(Ie=[".jpg",".jpeg"]),Ie.some(function(Pt){return Gn.endsWith(Pt)})}return/\/\*$/.test(Kt)?jt===Kt.replace(/\/.*$/,""):Qt===Kt?!0:/^\w+$/.test(Kt)?((0,ie.ZP)(!1,"Upload takes an invalidate 'accept' type '".concat(Kt,"'.Skip for check.")),!0):!1})}return!0};function de(xe,pt){var Ct=xe.createReader(),Et=[];function Qt(){Ct.readEntries(function(jt){var Gt=Array.prototype.slice.apply(jt);Et=Et.concat(Gt);var Kt=!Gt.length;Kt?pt(Et):Qt()})}Qt()}var fe=function(pt,Ct,Et){var Qt=function jt(Gt,Kt){Gt&&(Gt.path=Kt||"",Gt.isFile?Gt.file(function(Gn){Et(Gn)&&(Gt.fullPath&&!Gn.webkitRelativePath&&(Object.defineProperties(Gn,{webkitRelativePath:{writable:!0}}),Gn.webkitRelativePath=Gt.fullPath.replace(/^\//,""),Object.defineProperties(Gn,{webkitRelativePath:{writable:!1}})),Ct([Gn]))}):Gt.isDirectory&&de(Gt,function(Gn){Gn.forEach(function(ot){jt(ot,"".concat(Kt).concat(Gt.name,"/"))})}))};pt.forEach(function(jt){Qt(jt.webkitGetAsEntry())})},Be=fe,Pe=["component","prefixCls","className","disabled","id","style","multiple","accept","capture","children","directory","openFileDialogOnClick","onMouseEnter","onMouseLeave"],We=function(xe){(0,qe.Z)(Ct,xe);var pt=(0,_e.Z)(Ct);function Ct(){var Et;(0,Re.Z)(this,Ct);for(var Qt=arguments.length,jt=new Array(Qt),Gt=0;Gt{let{uid:jt}=Qt;return jt===xe.uid});return Et===-1?Ct.push(xe):Ct[Et]=xe,Ct}function ke(xe,pt){const Ct=xe.uid!==void 0?"uid":"name";return pt.filter(Et=>Et[Ct]===xe[Ct])[0]}function xt(xe,pt){const Ct=xe.uid!==void 0?"uid":"name",Et=pt.filter(Qt=>Qt[Ct]!==xe[Ct]);return Et.length===pt.length?null:Et}const ht=function(){const pt=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:"").split("/"),Et=pt[pt.length-1].split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(Et)||[""])[0]},zt=xe=>xe.indexOf("image/")===0,kt=xe=>{if(xe.type&&!xe.thumbUrl)return zt(xe.type);const pt=xe.thumbUrl||xe.url||"",Ct=ht(pt);return/^data:image\//.test(pt)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico|heic|heif)$/i.test(Ct)?!0:!(/^data:/.test(pt)||Ct)},Ot=200;function Le(xe){return new Promise(pt=>{if(!xe.type||!zt(xe.type)){pt("");return}const Ct=document.createElement("canvas");Ct.width=Ot,Ct.height=Ot,Ct.style.cssText=`position: fixed; left: 0; top: 0; width: ${Ot}px; height: ${Ot}px; z-index: 9999; display: none;`,document.body.appendChild(Ct);const Et=Ct.getContext("2d"),Qt=new Image;if(Qt.onload=()=>{const{width:jt,height:Gt}=Qt;let Kt=Ot,Gn=Ot,ot=0,Ie=0;jt>Gt?(Gn=Gt*(Ot/jt),Ie=-(Gn-Kt)/2):(Kt=jt*(Ot/Gt),ot=-(Kt-Gn)/2),Et.drawImage(Qt,ot,Ie,Kt,Gn);const Pt=Ct.toDataURL();document.body.removeChild(Ct),window.URL.revokeObjectURL(Qt.src),pt(Pt)},Qt.crossOrigin="anonymous",xe.type.startsWith("image/svg+xml")){const jt=new FileReader;jt.onload=()=>{jt.result&&(Qt.src=jt.result)},jt.readAsDataURL(xe)}else if(xe.type.startsWith("image/gif")){const jt=new FileReader;jt.onload=()=>{jt.result&&pt(jt.result)},jt.readAsDataURL(xe)}else Qt.src=window.URL.createObjectURL(xe)})}var rt=oe(26227),At=oe(41464),gt=oe(15277),St=oe(93948),on=oe(6848),dn=ne.forwardRef((xe,pt)=>{let{prefixCls:Ct,className:Et,style:Qt,locale:jt,listType:Gt,file:Kt,items:Gn,progress:ot,iconRender:Ie,actionIconRender:Pt,itemRender:tn,isImgUrl:Dn,showPreviewIcon:jn,showRemoveIcon:Nt,showDownloadIcon:Xt,previewIcon:Ut,removeIcon:It,downloadIcon:En,onPreview:sn,onDownload:In,onClose:Hn}=xe;var bn,wn;const{status:va}=Kt,[Sa,Na]=ne.useState(va);ne.useEffect(()=>{va!=="removed"&&Na(va)},[va]);const[On,ya]=ne.useState(!1);ne.useEffect(()=>{const oa=setTimeout(()=>{ya(!0)},300);return()=>{clearTimeout(oa)}},[]);const Pa=Ie(Kt);let qn=ne.createElement("div",{className:`${Ct}-icon`},Pa);if(Gt==="picture"||Gt==="picture-card"||Gt==="picture-circle")if(Sa==="uploading"||!Kt.thumbUrl&&!Kt.url){const oa=Ne()(`${Ct}-list-item-thumbnail`,{[`${Ct}-list-item-file`]:Sa!=="uploading"});qn=ne.createElement("div",{className:oa},Pa)}else{const oa=Dn!=null&&Dn(Kt)?ne.createElement("img",{src:Kt.thumbUrl||Kt.url,alt:Kt.name,className:`${Ct}-list-item-image`,crossOrigin:Kt.crossOrigin}):Pa,Un=Ne()(`${Ct}-list-item-thumbnail`,{[`${Ct}-list-item-file`]:Dn&&!Dn(Kt)});qn=ne.createElement("a",{className:Un,onClick:ma=>sn(Kt,ma),href:Kt.url||Kt.thumbUrl,target:"_blank",rel:"noopener noreferrer"},oa)}const aa=Ne()(`${Ct}-list-item`,`${Ct}-list-item-${Sa}`),Ka=typeof Kt.linkProps=="string"?JSON.parse(Kt.linkProps):Kt.linkProps,Ra=Nt?Pt((typeof It=="function"?It(Kt):It)||ne.createElement(rt.Z,null),()=>Hn(Kt),Ct,jt.removeFile):null,Wa=Xt&&Sa==="done"?Pt((typeof En=="function"?En(Kt):En)||ne.createElement(At.Z,null),()=>In(Kt),Ct,jt.downloadFile):null,Ea=Gt!=="picture-card"&&Gt!=="picture-circle"&&ne.createElement("span",{key:"download-delete",className:Ne()(`${Ct}-list-item-actions`,{picture:Gt==="picture"})},Wa,Ra),Da=Ne()(`${Ct}-list-item-name`),ka=Kt.url?[ne.createElement("a",Object.assign({key:"view",target:"_blank",rel:"noopener noreferrer",className:Da,title:Kt.name},Ka,{href:Kt.url,onClick:oa=>sn(Kt,oa)}),Kt.name),Ea]:[ne.createElement("span",{key:"view",className:Da,onClick:oa=>sn(Kt,oa),title:Kt.name},Kt.name),Ea],ea={pointerEvents:"none",opacity:.5},ra=jn?ne.createElement("a",{href:Kt.url||Kt.thumbUrl,target:"_blank",rel:"noopener noreferrer",style:Kt.url||Kt.thumbUrl?void 0:ea,onClick:oa=>sn(Kt,oa),title:jt.previewFile},typeof Ut=="function"?Ut(Kt):Ut||ne.createElement(gt.Z,null)):null,na=(Gt==="picture-card"||Gt==="picture-circle")&&Sa!=="uploading"&&ne.createElement("span",{className:`${Ct}-list-item-actions`},ra,Sa==="done"&&Wa,Ra),{getPrefixCls:za}=ne.useContext(Jt.E_),Ma=za(),Ya=ne.createElement("div",{className:aa},qn,ka,na,On&&ne.createElement(Ge.default,{motionName:`${Ma}-fade`,visible:Sa==="uploading",motionDeadline:2e3},oa=>{let{className:Un}=oa;const ma="percent"in Kt?ne.createElement(St.Z,Object.assign({},ot,{type:"line",percent:Kt.percent,"aria-label":Kt["aria-label"],"aria-labelledby":Kt["aria-labelledby"]})):null;return ne.createElement("div",{className:Ne()(`${Ct}-list-item-progress`,Un)},ma)})),xa=Kt.response&&typeof Kt.response=="string"?Kt.response:((bn=Kt.error)===null||bn===void 0?void 0:bn.statusText)||((wn=Kt.error)===null||wn===void 0?void 0:wn.message)||jt.uploadError,Xa=Sa==="error"?ne.createElement(on.Z,{title:xa,getPopupContainer:oa=>oa.parentNode},Ya):Ya;return ne.createElement("div",{className:Ne()(`${Ct}-list-item-container`,Et),style:Qt,ref:pt},tn?tn(Xa,Kt,Gn,{download:In.bind(null,Kt),preview:sn.bind(null,Kt),remove:Hn.bind(null,Kt)}):Xa)});const vn=(xe,pt)=>{const{listType:Ct="text",previewFile:Et=Le,onPreview:Qt,onDownload:jt,onRemove:Gt,locale:Kt,iconRender:Gn,isImageUrl:ot=kt,prefixCls:Ie,items:Pt=[],showPreviewIcon:tn=!0,showRemoveIcon:Dn=!0,showDownloadIcon:jn=!1,removeIcon:Nt,previewIcon:Xt,downloadIcon:Ut,progress:It={size:[-1,2],showInfo:!1},appendAction:En,appendActionVisible:sn=!0,itemRender:In,disabled:Hn}=xe,bn=(0,ze.Z)(),[wn,va]=ne.useState(!1);ne.useEffect(()=>{Ct!=="picture"&&Ct!=="picture-card"&&Ct!=="picture-circle"||(Pt||[]).forEach(ea=>{typeof document=="undefined"||typeof window=="undefined"||!window.FileReader||!window.File||!(ea.originFileObj instanceof File||ea.originFileObj instanceof Blob)||ea.thumbUrl!==void 0||(ea.thumbUrl="",Et&&Et(ea.originFileObj).then(ra=>{ea.thumbUrl=ra||"",bn()}))})},[Ct,Pt,Et]),ne.useEffect(()=>{va(!0)},[]);const Sa=(ea,ra)=>{if(Qt)return ra==null||ra.preventDefault(),Qt(ea)},Na=ea=>{typeof jt=="function"?jt(ea):ea.url&&window.open(ea.url)},On=ea=>{Gt==null||Gt(ea)},ya=ea=>{if(Gn)return Gn(ea,Ct);const ra=ea.status==="uploading",na=ot&&ot(ea)?ne.createElement(me,null):ne.createElement(nn,null);let za=ra?ne.createElement(vt.Z,null):ne.createElement(an,null);return Ct==="picture"?za=ra?ne.createElement(vt.Z,null):na:(Ct==="picture-card"||Ct==="picture-circle")&&(za=ra?Kt.uploading:na),za},Pa=(ea,ra,na,za)=>{const Ma={type:"text",size:"small",title:za,onClick:Ya=>{ra(),(0,Se.l$)(ea)&&ea.props.onClick&&ea.props.onClick(Ya)},className:`${na}-list-item-action`,disabled:Hn};if((0,Se.l$)(ea)){const Ya=(0,Se.Tm)(ea,Object.assign(Object.assign({},ea.props),{onClick:()=>{}}));return ne.createElement(nt.ZP,Object.assign({},Ma,{icon:Ya}))}return ne.createElement(nt.ZP,Object.assign({},Ma),ne.createElement("span",null,ea))};ne.useImperativeHandle(pt,()=>({handlePreview:Sa,handleDownload:Na}));const{getPrefixCls:qn}=ne.useContext(Jt.E_),aa=qn("upload",Ie),Ka=qn(),Ra=Ne()(`${aa}-list`,`${aa}-list-${Ct}`),Wa=(0,pe.Z)(Pt.map(ea=>({key:ea.uid,file:ea})));let Da={motionDeadline:2e3,motionName:`${aa}-${Ct==="picture-card"||Ct==="picture-circle"?"animate-inline":"animate"}`,keys:Wa,motionAppear:wn};const ka=ne.useMemo(()=>{const ea=Object.assign({},(0,Ee.Z)(Ka));return delete ea.onAppearEnd,delete ea.onEnterEnd,delete ea.onLeaveEnd,ea},[Ka]);return Ct!=="picture-card"&&Ct!=="picture-circle"&&(Da=Object.assign(Object.assign({},ka),Da)),ne.createElement("div",{className:Ra},ne.createElement(Ge.CSSMotionList,Object.assign({},Da,{component:!1}),ea=>{let{key:ra,file:na,className:za,style:Ma}=ea;return ne.createElement(dn,{key:ra,locale:Kt,prefixCls:aa,className:za,style:Ma,file:na,items:Pt,progress:It,listType:Ct,isImgUrl:ot,showPreviewIcon:tn,showRemoveIcon:Dn,showDownloadIcon:jn,removeIcon:Nt,previewIcon:Xt,downloadIcon:Ut,iconRender:ya,actionIconRender:Pa,itemRender:In,onPreview:Sa,onDownload:Na,onClose:On})}),En&&ne.createElement(Ge.default,Object.assign({},Da,{visible:sn,forceRender:!0}),ea=>{let{className:ra,style:na}=ea;return(0,Se.Tm)(En,za=>({className:Ne()(za.className,ra),style:Object.assign(Object.assign(Object.assign({},na),{pointerEvents:ra?"none":void 0}),za.style)}))}))};var fn=ne.forwardRef(vn),Zn=oe(17313),$n=oe(8378),ta=oe(83116),Mn=oe(37613),Qn=xe=>{const{componentCls:pt,iconCls:Ct}=xe;return{[`${pt}-wrapper`]:{[`${pt}-drag`]:{position:"relative",width:"100%",height:"100%",textAlign:"center",background:xe.colorFillAlter,border:`${xe.lineWidth}px dashed ${xe.colorBorder}`,borderRadius:xe.borderRadiusLG,cursor:"pointer",transition:`border-color ${xe.motionDurationSlow}`,[pt]:{padding:`${xe.padding}px 0`},[`${pt}-btn`]:{display:"table",width:"100%",height:"100%",outline:"none"},[`${pt}-drag-container`]:{display:"table-cell",verticalAlign:"middle"},[`&:not(${pt}-disabled):hover`]:{borderColor:xe.colorPrimaryHover},[`p${pt}-drag-icon`]:{marginBottom:xe.margin,[Ct]:{color:xe.colorPrimary,fontSize:xe.uploadThumbnailSize}},[`p${pt}-text`]:{margin:`0 0 ${xe.marginXXS}px`,color:xe.colorTextHeading,fontSize:xe.fontSizeLG},[`p${pt}-hint`]:{color:xe.colorTextDescription,fontSize:xe.fontSize},[`&${pt}-disabled`]:{cursor:"not-allowed",[`p${pt}-drag-icon ${Ct}, - p${pt}-text, - p${pt}-hint - `]:{color:xe.colorTextDisabled}}}}}},ca=xe=>{const{componentCls:pt,antCls:Ct,iconCls:Et,fontSize:Qt,lineHeight:jt}=xe,Gt=`${pt}-list-item`,Kt=`${Gt}-actions`,Gn=`${Gt}-action`,ot=Math.round(Qt*jt);return{[`${pt}-wrapper`]:{[`${pt}-list`]:Object.assign(Object.assign({},(0,Zn.dF)()),{lineHeight:xe.lineHeight,[Gt]:{position:"relative",height:xe.lineHeight*Qt,marginTop:xe.marginXS,fontSize:Qt,display:"flex",alignItems:"center",transition:`background-color ${xe.motionDurationSlow}`,"&:hover":{backgroundColor:xe.controlItemBgHover},[`${Gt}-name`]:Object.assign(Object.assign({},Zn.vS),{padding:`0 ${xe.paddingXS}px`,lineHeight:jt,flex:"auto",transition:`all ${xe.motionDurationSlow}`}),[Kt]:{[Gn]:{opacity:0},[`${Gn}${Ct}-btn-sm`]:{height:ot,border:0,lineHeight:1,"> span":{transform:"scale(1)"}},[` - ${Gn}:focus-visible, - &.picture ${Gn} - `]:{opacity:1},[Et]:{color:xe.actionsColor,transition:`all ${xe.motionDurationSlow}`},[`&:hover ${Et}`]:{color:xe.colorText}},[`${pt}-icon ${Et}`]:{color:xe.colorTextDescription,fontSize:Qt},[`${Gt}-progress`]:{position:"absolute",bottom:-xe.uploadProgressOffset,width:"100%",paddingInlineStart:Qt+xe.paddingXS,fontSize:Qt,lineHeight:0,pointerEvents:"none","> div":{margin:0}}},[`${Gt}:hover ${Gn}`]:{opacity:1,color:xe.colorText},[`${Gt}-error`]:{color:xe.colorError,[`${Gt}-name, ${pt}-icon ${Et}`]:{color:xe.colorError},[Kt]:{[`${Et}, ${Et}:hover`]:{color:xe.colorError},[Gn]:{opacity:1}}},[`${pt}-list-item-container`]:{transition:`opacity ${xe.motionDurationSlow}, height ${xe.motionDurationSlow}`,"&::before":{display:"table",width:0,height:0,content:'""'}}})}}},Ca=oe(93083),ln=oe(1950);const gn=new Ca.Keyframes("uploadAnimateInlineIn",{from:{width:0,height:0,margin:0,padding:0,opacity:0}}),An=new Ca.Keyframes("uploadAnimateInlineOut",{to:{width:0,height:0,margin:0,padding:0,opacity:0}});var Fn=xe=>{const{componentCls:pt}=xe,Ct=`${pt}-animate-inline`;return[{[`${pt}-wrapper`]:{[`${Ct}-appear, ${Ct}-enter, ${Ct}-leave`]:{animationDuration:xe.motionDurationSlow,animationTimingFunction:xe.motionEaseInOutCirc,animationFillMode:"forwards"},[`${Ct}-appear, ${Ct}-enter`]:{animationName:gn},[`${Ct}-leave`]:{animationName:An}}},{[`${pt}-wrapper`]:(0,ln.J$)(xe)},gn,An]},Kn=oe(93398),Rn=oe(64993);const at=xe=>{const{componentCls:pt,iconCls:Ct,uploadThumbnailSize:Et,uploadProgressOffset:Qt}=xe,jt=`${pt}-list`,Gt=`${jt}-item`;return{[`${pt}-wrapper`]:{[` - ${jt}${jt}-picture, - ${jt}${jt}-picture-card, - ${jt}${jt}-picture-circle - `]:{[Gt]:{position:"relative",height:Et+xe.lineWidth*2+xe.paddingXS*2,padding:xe.paddingXS,border:`${xe.lineWidth}px ${xe.lineType} ${xe.colorBorder}`,borderRadius:xe.borderRadiusLG,"&:hover":{background:"transparent"},[`${Gt}-thumbnail`]:Object.assign(Object.assign({},Zn.vS),{width:Et,height:Et,lineHeight:`${Et+xe.paddingSM}px`,textAlign:"center",flex:"none",[Ct]:{fontSize:xe.fontSizeHeading2,color:xe.colorPrimary},img:{display:"block",width:"100%",height:"100%",overflow:"hidden"}}),[`${Gt}-progress`]:{bottom:Qt,width:`calc(100% - ${xe.paddingSM*2}px)`,marginTop:0,paddingInlineStart:Et+xe.paddingXS}},[`${Gt}-error`]:{borderColor:xe.colorError,[`${Gt}-thumbnail ${Ct}`]:{[`svg path[fill='${Kn.blue[0]}']`]:{fill:xe.colorErrorBg},[`svg path[fill='${Kn.blue.primary}']`]:{fill:xe.colorError}}},[`${Gt}-uploading`]:{borderStyle:"dashed",[`${Gt}-name`]:{marginBottom:Qt}}},[`${jt}${jt}-picture-circle ${Gt}`]:{[`&, &::before, ${Gt}-thumbnail`]:{borderRadius:"50%"}}}}},mt=xe=>{const{componentCls:pt,iconCls:Ct,fontSizeLG:Et,colorTextLightSolid:Qt}=xe,jt=`${pt}-list`,Gt=`${jt}-item`,Kt=xe.uploadPicCardSize;return{[` - ${pt}-wrapper${pt}-picture-card-wrapper, - ${pt}-wrapper${pt}-picture-circle-wrapper - `]:Object.assign(Object.assign({},(0,Zn.dF)()),{display:"inline-block",width:"100%",[`${pt}${pt}-select`]:{width:Kt,height:Kt,marginInlineEnd:xe.marginXS,marginBottom:xe.marginXS,textAlign:"center",verticalAlign:"top",backgroundColor:xe.colorFillAlter,border:`${xe.lineWidth}px dashed ${xe.colorBorder}`,borderRadius:xe.borderRadiusLG,cursor:"pointer",transition:`border-color ${xe.motionDurationSlow}`,[`> ${pt}`]:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%",textAlign:"center"},[`&:not(${pt}-disabled):hover`]:{borderColor:xe.colorPrimary}},[`${jt}${jt}-picture-card, ${jt}${jt}-picture-circle`]:{[`${jt}-item-container`]:{display:"inline-block",width:Kt,height:Kt,marginBlock:`0 ${xe.marginXS}px`,marginInline:`0 ${xe.marginXS}px`,verticalAlign:"top"},"&::after":{display:"none"},[Gt]:{height:"100%",margin:0,"&::before":{position:"absolute",zIndex:1,width:`calc(100% - ${xe.paddingXS*2}px)`,height:`calc(100% - ${xe.paddingXS*2}px)`,backgroundColor:xe.colorBgMask,opacity:0,transition:`all ${xe.motionDurationSlow}`,content:'" "'}},[`${Gt}:hover`]:{[`&::before, ${Gt}-actions`]:{opacity:1}},[`${Gt}-actions`]:{position:"absolute",insetInlineStart:0,zIndex:10,width:"100%",whiteSpace:"nowrap",textAlign:"center",opacity:0,transition:`all ${xe.motionDurationSlow}`,[`${Ct}-eye, ${Ct}-download, ${Ct}-delete`]:{zIndex:10,width:Et,margin:`0 ${xe.marginXXS}px`,fontSize:Et,cursor:"pointer",transition:`all ${xe.motionDurationSlow}`,svg:{verticalAlign:"baseline"}}},[`${Gt}-actions, ${Gt}-actions:hover`]:{[`${Ct}-eye, ${Ct}-download, ${Ct}-delete`]:{color:new Rn.C(Qt).setAlpha(.65).toRgbString(),"&:hover":{color:Qt}}},[`${Gt}-thumbnail, ${Gt}-thumbnail img`]:{position:"static",display:"block",width:"100%",height:"100%",objectFit:"contain"},[`${Gt}-name`]:{display:"none",textAlign:"center"},[`${Gt}-file + ${Gt}-name`]:{position:"absolute",bottom:xe.margin,display:"block",width:`calc(100% - ${xe.paddingXS*2}px)`},[`${Gt}-uploading`]:{[`&${Gt}`]:{backgroundColor:xe.colorFillAlter},[`&::before, ${Ct}-eye, ${Ct}-download, ${Ct}-delete`]:{display:"none"}},[`${Gt}-progress`]:{bottom:xe.marginXL,width:`calc(100% - ${xe.paddingXS*2}px)`,paddingInlineStart:0}}}),[`${pt}-wrapper${pt}-picture-circle-wrapper`]:{[`${pt}${pt}-select`]:{borderRadius:"50%"}}}};var Yt=xe=>{const{componentCls:pt}=xe;return{[`${pt}-rtl`]:{direction:"rtl"}}};const un=xe=>{const{componentCls:pt,colorTextDisabled:Ct}=xe;return{[`${pt}-wrapper`]:Object.assign(Object.assign({},(0,Zn.Wf)(xe)),{[pt]:{outline:0,"input[type='file']":{cursor:"pointer"}},[`${pt}-select`]:{display:"inline-block"},[`${pt}-disabled`]:{color:Ct,cursor:"not-allowed"}})}};var rn=(0,ta.Z)("Upload",xe=>{const{fontSizeHeading3:pt,fontSize:Ct,lineHeight:Et,lineWidth:Qt,controlHeightLG:jt}=xe,Gt=Math.round(Ct*Et),Kt=(0,Mn.TS)(xe,{uploadThumbnailSize:pt*2,uploadProgressOffset:Gt/2+Qt,uploadPicCardSize:jt*2.55});return[un(Kt),Qn(Kt),at(Kt),mt(Kt),ca(Kt),Fn(Kt),Yt(Kt),(0,$n.Z)(Kt)]},xe=>({actionsColor:xe.colorTextDescription})),Xn=function(xe,pt,Ct,Et){function Qt(jt){return jt instanceof Ct?jt:new Ct(function(Gt){Gt(jt)})}return new(Ct||(Ct=Promise))(function(jt,Gt){function Kt(Ie){try{ot(Et.next(Ie))}catch(Pt){Gt(Pt)}}function Gn(Ie){try{ot(Et.throw(Ie))}catch(Pt){Gt(Pt)}}function ot(Ie){Ie.done?jt(Ie.value):Qt(Ie.value).then(Kt,Gn)}ot((Et=Et.apply(xe,pt||[])).next())})};const kn=`__LIST_IGNORE_${Date.now()}__`,pn=(xe,pt)=>{const{fileList:Ct,defaultFileList:Et,onRemove:Qt,showUploadList:jt=!0,listType:Gt="text",onPreview:Kt,onDownload:Gn,onChange:ot,onDrop:Ie,previewFile:Pt,disabled:tn,locale:Dn,iconRender:jn,isImageUrl:Nt,progress:Xt,prefixCls:Ut,className:It,type:En="select",children:sn,style:In,itemRender:Hn,maxCount:bn,data:wn={},multiple:va=!1,action:Sa="",accept:Na="",supportServerRender:On=!0,rootClassName:ya}=xe,Pa=ne.useContext(Rt.Z),qn=tn!=null?tn:Pa,[aa,Ka]=(0,ft.Z)(Et||[],{value:Ct,postState:fa=>fa!=null?fa:[]}),[Ra,Wa]=ne.useState("drop"),Ea=ne.useRef(null);ne.useMemo(()=>{const fa=Date.now();(Ct||[]).forEach((la,Za)=>{!la.uid&&!Object.isFrozen(la)&&(la.uid=`__AUTO__${fa}_${Za}__`)})},[Ct]);const Da=(fa,la,Za)=>{let Ta=(0,pe.Z)(la),pa=!1;bn===1?Ta=Ta.slice(-1):bn&&(pa=Ta.length>bn,Ta=Ta.slice(0,bn)),(0,Ft.flushSync)(()=>{Ka(Ta)});const ga={file:fa,fileList:Ta};Za&&(ga.event=Za),(!pa||Ta.some(ja=>ja.uid===fa.uid))&&(0,Ft.flushSync)(()=>{ot==null||ot(ga)})},ka=(fa,la)=>Xn(void 0,void 0,void 0,function*(){const{beforeUpload:Za,transformFile:Ta}=xe;let pa=fa;if(Za){const ga=yield Za(fa,la);if(ga===!1)return!1;if(delete fa[kn],ga===kn)return Object.defineProperty(fa,kn,{value:!0,configurable:!0}),!1;typeof ga=="object"&&ga&&(pa=ga)}return Ta&&(pa=yield Ta(pa)),pa}),ea=fa=>{const la=fa.filter(pa=>!pa.file[kn]);if(!la.length)return;const Za=la.map(pa=>Me(pa.file));let Ta=(0,pe.Z)(aa);Za.forEach(pa=>{Ta=Ce(pa,Ta)}),Za.forEach((pa,ga)=>{let ja=pa;if(la[ga].parsedFile)pa.status="uploading";else{const{originFileObj:_a}=pa;let Ja;try{Ja=new File([_a],_a.name,{type:_a.type})}catch(ir){Ja=new Blob([_a],{type:_a.type}),Ja.name=_a.name,Ja.lastModifiedDate=new Date,Ja.lastModified=new Date().getTime()}Ja.uid=pa.uid,ja=Ja}Da(ja,Ta)})},ra=(fa,la,Za)=>{try{typeof fa=="string"&&(fa=JSON.parse(fa))}catch(ga){}if(!ke(la,aa))return;const Ta=Me(la);Ta.status="done",Ta.percent=100,Ta.response=fa,Ta.xhr=Za;const pa=Ce(Ta,aa);Da(Ta,pa)},na=(fa,la)=>{if(!ke(la,aa))return;const Za=Me(la);Za.status="uploading",Za.percent=fa.percent;const Ta=Ce(Za,aa);Da(Za,Ta,fa)},za=(fa,la,Za)=>{if(!ke(Za,aa))return;const Ta=Me(Za);Ta.error=fa,Ta.response=la,Ta.status="error";const pa=Ce(Ta,aa);Da(Ta,pa)},Ma=fa=>{let la;Promise.resolve(typeof Qt=="function"?Qt(fa):Qt).then(Za=>{var Ta;if(Za===!1)return;const pa=xt(fa,aa);pa&&(la=Object.assign(Object.assign({},fa),{status:"removed"}),aa==null||aa.forEach(ga=>{const ja=la.uid!==void 0?"uid":"name";ga[ja]===la[ja]&&!Object.isFrozen(ga)&&(ga.status="removed")}),(Ta=Ea.current)===null||Ta===void 0||Ta.abort(la),Da(la,pa))})},Ya=fa=>{Wa(fa.type),fa.type==="drop"&&(Ie==null||Ie(fa))};ne.useImperativeHandle(pt,()=>({onBatchStart:ea,onSuccess:ra,onProgress:na,onError:za,fileList:aa,upload:Ea.current}));const{getPrefixCls:xa,direction:Xa,upload:oa}=ne.useContext(Jt.E_),Un=xa("upload",Ut),ma=Object.assign(Object.assign({onBatchStart:ea,onError:za,onProgress:na,onSuccess:ra},xe),{data:wn,multiple:va,action:Sa,accept:Na,supportServerRender:On,prefixCls:Un,disabled:qn,beforeUpload:ka,onChange:void 0});delete ma.className,delete ma.style,(!sn||qn)&&delete ma.id;const[Zt,ia]=rn(Un),[ha]=(0,bt.Z)("Upload",Te.Z.Upload),{showRemoveIcon:Pn,showPreviewIcon:cn,showDownloadIcon:Bn,removeIcon:xn,previewIcon:ba,downloadIcon:$t}=typeof jt=="boolean"?{}:jt,La=(fa,la)=>jt?ne.createElement(fn,{prefixCls:Un,listType:Gt,items:aa,previewFile:Pt,onPreview:Kt,onDownload:Gn,onRemove:Ma,showRemoveIcon:!qn&&Pn,showPreviewIcon:cn,showDownloadIcon:Bn,removeIcon:xn,previewIcon:ba,downloadIcon:$t,iconRender:jn,locale:Object.assign(Object.assign({},ha),Dn),isImageUrl:Nt,progress:Xt,appendAction:fa,appendActionVisible:la,itemRender:Hn,disabled:qn}):fa,Aa=Ne()(`${Un}-wrapper`,It,ya,ia,oa==null?void 0:oa.className,{[`${Un}-rtl`]:Xa==="rtl",[`${Un}-picture-card-wrapper`]:Gt==="picture-card",[`${Un}-picture-circle-wrapper`]:Gt==="picture-circle"}),wa=Object.assign(Object.assign({},oa==null?void 0:oa.style),In);if(En==="drag"){const fa=Ne()(ia,Un,`${Un}-drag`,{[`${Un}-drag-uploading`]:aa.some(la=>la.status==="uploading"),[`${Un}-drag-hover`]:Ra==="dragover",[`${Un}-disabled`]:qn,[`${Un}-rtl`]:Xa==="rtl"});return Zt(ne.createElement("span",{className:Aa},ne.createElement("div",{className:fa,style:wa,onDrop:Ya,onDragOver:Ya,onDragLeave:Ya},ne.createElement(Ye,Object.assign({},ma,{ref:Ea,className:`${Un}-btn`}),ne.createElement("div",{className:`${Un}-drag-container`},sn))),La()))}const Ia=Ne()(Un,`${Un}-select`,{[`${Un}-disabled`]:qn}),Va=(fa=>ne.createElement("div",{className:Ia,style:fa},ne.createElement(Ye,Object.assign({},ma,{ref:Ea}))))(sn?void 0:{display:"none"});return Zt(Gt==="picture-card"||Gt==="picture-circle"?ne.createElement("span",{className:Aa},La(Va,!!sn)):ne.createElement("span",{className:Aa},Va,La()))};var _t=ne.forwardRef(pn),ye=function(xe,pt){var Ct={};for(var Et in xe)Object.prototype.hasOwnProperty.call(xe,Et)&&pt.indexOf(Et)<0&&(Ct[Et]=xe[Et]);if(xe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Qt=0,Et=Object.getOwnPropertySymbols(xe);Qt{var{style:Ct,height:Et}=xe,Qt=ye(xe,["style","height"]);return ne.createElement(_t,Object.assign({ref:pt},Qt,{type:"drag",style:Object.assign(Object.assign({},Ct),{height:Et})}))});const hn=_t;hn.Dragger=yn,hn.LIST_IGNORE=kn;var Cn=hn},39417:function(wt,Mt,oe){"use strict";oe.d(Mt,{Z:function(){return fe}});var ne=oe(72308),pe=oe(49618),Je=oe(74416),Ne=oe(77321),Oe=oe(96949),Re=oe(55090),be=oe(80237),qe=oe(77205),_e=oe(38793),dt=oe(92310),it=oe.n(dt),et=oe(26112),Xe=oe(59301),se=oe(39378),y=function(Pe){for(var We=Pe.prefixCls,ve=Pe.level,Ue=Pe.isStart,Bt=Pe.isEnd,Tt="".concat(We,"-indent-unit"),Ye=[],ft=0;ft0&&arguments[0]!==void 0?arguments[0]:[],Ve=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],we=Ke.length,me=Ve.length;if(Math.abs(we-me)!==1)return{add:!1,key:null};function Ge(ze,Ee){var Se=new Map;ze.forEach(function(Me){Se.set(Me,!0)});var nt=Ee.filter(function(Me){return!Se.has(Me)});return nt.length===1?nt[0]:null}return we ").concat(Ve);return Ve}var Dt=a.forwardRef(function(Ke,Ve){var we=Ke.prefixCls,me=Ke.data,Ge=Ke.selectable,ze=Ke.checkable,Ee=Ke.expandedKeys,Se=Ke.selectedKeys,nt=Ke.checkedKeys,Me=Ke.loadedKeys,Ce=Ke.loadingKeys,ke=Ke.halfCheckedKeys,xt=Ke.keyEntities,ht=Ke.disabled,zt=Ke.dragging,kt=Ke.dragOverNodeKey,Ot=Ke.dropPosition,Le=Ke.motion,rt=Ke.height,At=Ke.itemHeight,gt=Ke.virtual,St=Ke.focusable,on=Ke.activeItem,mn=Ke.focused,dn=Ke.tabIndex,vn=Ke.onKeyDown,Wn=Ke.onFocus,fn=Ke.onBlur,Zn=Ke.onActiveChange,$n=Ke.onListChangeStart,ta=Ke.onListChangeEnd,Mn=(0,ae.Z)(Ke,ft),ua=a.useRef(null),Qn=a.useRef(null);a.useImperativeHandle(Ve,function(){return{scrollTo:function(Cn){ua.current.scrollTo(Cn)},getIndentWidth:function(){return Qn.current.offsetWidth}}});var Yn=a.useState(Ee),ca=(0,te.Z)(Yn,2),Ca=ca[0],ln=ca[1],gn=a.useState(me),An=(0,te.Z)(gn,2),Sn=An[0],Fn=An[1],Kn=a.useState(me),Rn=(0,te.Z)(Kn,2),at=Rn[0],mt=Rn[1],ut=a.useState([]),Yt=(0,te.Z)(ut,2),un=Yt[0],rn=Yt[1],Xn=a.useState(null),kn=(0,te.Z)(Xn,2),pn=kn[0],Vn=kn[1],_t=a.useRef(me);_t.current=me;function ye(){var hn=_t.current;Fn(hn),mt(hn),rn([]),Vn(null),ta()}(0,ie.Z)(function(){ln(Ee);var hn=Tt(Ca,Ee);if(hn.key!==null)if(hn.add){var Cn=Sn.findIndex(function(jt){var Gt=jt.key;return Gt===hn.key}),xe=Lt(Ye(Sn,me,hn.key),gt,rt,At),pt=Sn.slice();pt.splice(Cn+1,0,lt),mt(pt),rn(xe),Vn("show")}else{var Ct=me.findIndex(function(jt){var Gt=jt.key;return Gt===hn.key}),Et=Lt(Ye(me,Sn,hn.key),gt,rt,At),Qt=me.slice();Qt.splice(Ct+1,0,lt),mt(Qt),rn(Et),Vn("hide")}else Sn!==me&&(Fn(me),mt(me))},[Ee,me]),a.useEffect(function(){zt||ye()},[zt]);var qt=Le?at:me,yn={expandedKeys:Ee,selectedKeys:Se,loadedKeys:Me,loadingKeys:Ce,checkedKeys:nt,halfCheckedKeys:ke,dragOverNodeKey:kt,dropPosition:Ot,keyEntities:xt};return a.createElement(a.Fragment,null,mn&&on&&a.createElement("span",{style:Ft,"aria-live":"assertive"},tt(on)),a.createElement("div",null,a.createElement("input",{style:Ft,disabled:St===!1||ht,tabIndex:St!==!1?dn:null,onKeyDown:vn,onFocus:Wn,onBlur:fn,value:"",onChange:Jt,"aria-label":"for screen reader"})),a.createElement("div",{className:"".concat(we,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},a.createElement("div",{className:"".concat(we,"-indent")},a.createElement("div",{ref:Qn,className:"".concat(we,"-indent-unit")}))),a.createElement(ue.Z,(0,ne.Z)({},Mn,{data:qt,itemKey:De,height:rt,fullHeight:!1,virtual:gt,itemHeight:At,prefixCls:"".concat(we,"-list"),ref:ua,onVisibleChange:function(Cn,xe){var pt=new Set(Cn),Ct=xe.filter(function(Et){return!pt.has(Et)});Ct.some(function(Et){return De(Et)===Rt})&&ye()}}),function(hn){var Cn=hn.pos,xe=(0,ne.Z)({},(x(hn.data),hn.data)),pt=hn.title,Ct=hn.key,Et=hn.isStart,Qt=hn.isEnd,jt=(0,Pe.km)(Ct,Cn);delete xe.key,delete xe.children;var Gt=(0,Pe.H8)(jt,yn);return a.createElement(Bt,(0,ne.Z)({},xe,Gt,{title:pt,active:!!on&&Ct===on.key,pos:Cn,data:hn.data,isStart:Et,isEnd:Qt,motion:Le,motionNodes:Ct===Rt?un:null,motionType:pn,onMotionStart:$n,onMotionEnd:ye,treeNodeRequiredProps:yn,onMouseMove:function(){Zn(null)}}))}))});Dt.displayName="NodeList";var nn=Dt,vt=oe(35654),Vt=oe(90782),Fe=oe(67841),st=10,yt=function(Ke){(0,_e.Z)(we,Ke);var Ve=(0,dt.Z)(we);function we(){var me;(0,Re.Z)(this,we);for(var Ge=arguments.length,ze=new Array(Ge),Ee=0;Ee2&&arguments[2]!==void 0?arguments[2]:!1,ke=me.state,xt=ke.dragChildrenKeys,ht=ke.dropPosition,zt=ke.dropTargetKey,kt=ke.dropTargetPos,Ot=ke.dropAllowed;if(Ot){var Le=me.props.onDrop;if(me.setState({dragOverNodeKey:null}),me.cleanDragState(),zt!==null){var rt=(0,Ne.Z)((0,Ne.Z)({},(0,Pe.H8)(zt,me.getTreeNodeRequiredProps())),{},{active:((Me=me.getActiveItem())===null||Me===void 0?void 0:Me.key)===zt,data:(0,Fe.Z)(me.state.keyEntities,zt).node}),At=xt.indexOf(zt)!==-1;(0,y.ZP)(!At,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var gt=(0,vt.yx)(kt),St={event:Se,node:(0,Pe.F)(rt),dragNode:me.dragNode?(0,Pe.F)(me.dragNode.props):null,dragNodesKeys:[me.dragNode.props.eventKey].concat(xt),dropToGap:ht!==0,dropPosition:ht+Number(gt[gt.length-1])};Ce||Le==null||Le(St),me.dragNode=null}}},me.cleanDragState=function(){var Se=me.state.draggingNodeKey;Se!==null&&me.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),me.dragStartMousePosition=null,me.currentMouseOverDroppableNodeKey=null},me.triggerExpandActionExpand=function(Se,nt){var Me=me.state,Ce=Me.expandedKeys,ke=Me.flattenNodes,xt=nt.expanded,ht=nt.key,zt=nt.isLeaf;if(!(zt||Se.shiftKey||Se.metaKey||Se.ctrlKey)){var kt=ke.filter(function(Le){return Le.key===ht})[0],Ot=(0,Pe.F)((0,Ne.Z)((0,Ne.Z)({},(0,Pe.H8)(ht,me.getTreeNodeRequiredProps())),{},{data:kt.data}));me.setExpandedKeys(xt?(0,vt._5)(Ce,ht):(0,vt.L0)(Ce,ht)),me.onNodeExpand(Se,Ot)}},me.onNodeClick=function(Se,nt){var Me=me.props,Ce=Me.onClick,ke=Me.expandAction;ke==="click"&&me.triggerExpandActionExpand(Se,nt),Ce==null||Ce(Se,nt)},me.onNodeDoubleClick=function(Se,nt){var Me=me.props,Ce=Me.onDoubleClick,ke=Me.expandAction;ke==="doubleClick"&&me.triggerExpandActionExpand(Se,nt),Ce==null||Ce(Se,nt)},me.onNodeSelect=function(Se,nt){var Me=me.state.selectedKeys,Ce=me.state,ke=Ce.keyEntities,xt=Ce.fieldNames,ht=me.props,zt=ht.onSelect,kt=ht.multiple,Ot=nt.selected,Le=nt[xt.key],rt=!Ot;rt?kt?Me=(0,vt.L0)(Me,Le):Me=[Le]:Me=(0,vt._5)(Me,Le);var At=Me.map(function(gt){var St=(0,Fe.Z)(ke,gt);return St?St.node:null}).filter(function(gt){return gt});me.setUncontrolledState({selectedKeys:Me}),zt==null||zt(Me,{event:"select",selected:rt,node:nt,selectedNodes:At,nativeEvent:Se.nativeEvent})},me.onNodeCheck=function(Se,nt,Me){var Ce=me.state,ke=Ce.keyEntities,xt=Ce.checkedKeys,ht=Ce.halfCheckedKeys,zt=me.props,kt=zt.checkStrictly,Ot=zt.onCheck,Le=nt.key,rt,At={event:"check",node:nt,checked:Me,nativeEvent:Se.nativeEvent};if(kt){var gt=Me?(0,vt.L0)(xt,Le):(0,vt._5)(xt,Le),St=(0,vt._5)(ht,Le);rt={checked:gt,halfChecked:St},At.checkedNodes=gt.map(function(fn){return(0,Fe.Z)(ke,fn)}).filter(function(fn){return fn}).map(function(fn){return fn.node}),me.setUncontrolledState({checkedKeys:gt})}else{var on=(0,Vt.S)([].concat((0,Oe.Z)(xt),[Le]),!0,ke),mn=on.checkedKeys,dn=on.halfCheckedKeys;if(!Me){var vn=new Set(mn);vn.delete(Le);var Wn=(0,Vt.S)(Array.from(vn),{checked:!1,halfCheckedKeys:dn},ke);mn=Wn.checkedKeys,dn=Wn.halfCheckedKeys}rt=mn,At.checkedNodes=[],At.checkedNodesPositions=[],At.halfCheckedKeys=dn,mn.forEach(function(fn){var Zn=(0,Fe.Z)(ke,fn);if(Zn){var $n=Zn.node,ta=Zn.pos;At.checkedNodes.push($n),At.checkedNodesPositions.push({node:$n,pos:ta})}}),me.setUncontrolledState({checkedKeys:mn},!1,{halfCheckedKeys:dn})}Ot==null||Ot(rt,At)},me.onNodeLoad=function(Se){var nt=Se.key,Me=new Promise(function(Ce,ke){me.setState(function(xt){var ht=xt.loadedKeys,zt=ht===void 0?[]:ht,kt=xt.loadingKeys,Ot=kt===void 0?[]:kt,Le=me.props,rt=Le.loadData,At=Le.onLoad;if(!rt||zt.indexOf(nt)!==-1||Ot.indexOf(nt)!==-1)return null;var gt=rt(Se);return gt.then(function(){var St=me.state.loadedKeys,on=(0,vt.L0)(St,nt);At==null||At(on,{event:"load",node:Se}),me.setUncontrolledState({loadedKeys:on}),me.setState(function(mn){return{loadingKeys:(0,vt._5)(mn.loadingKeys,nt)}}),Ce()}).catch(function(St){if(me.setState(function(mn){return{loadingKeys:(0,vt._5)(mn.loadingKeys,nt)}}),me.loadingRetryTimes[nt]=(me.loadingRetryTimes[nt]||0)+1,me.loadingRetryTimes[nt]>=st){var on=me.state.loadedKeys;(0,y.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),me.setUncontrolledState({loadedKeys:(0,vt.L0)(on,nt)}),Ce()}ke(St)}),{loadingKeys:(0,vt.L0)(Ot,nt)}})});return Me.catch(function(){}),Me},me.onNodeMouseEnter=function(Se,nt){var Me=me.props.onMouseEnter;Me==null||Me({event:Se,node:nt})},me.onNodeMouseLeave=function(Se,nt){var Me=me.props.onMouseLeave;Me==null||Me({event:Se,node:nt})},me.onNodeContextMenu=function(Se,nt){var Me=me.props.onRightClick;Me&&(Se.preventDefault(),Me({event:Se,node:nt}))},me.onFocus=function(){var Se=me.props.onFocus;me.setState({focused:!0});for(var nt=arguments.length,Me=new Array(nt),Ce=0;Ce1&&arguments[1]!==void 0?arguments[1]:!1,Me=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!me.destroyed){var Ce=!1,ke=!0,xt={};Object.keys(Se).forEach(function(ht){if(ht in me.props){ke=!1;return}Ce=!0,xt[ht]=Se[ht]}),Ce&&(!nt||ke)&&me.setState((0,Ne.Z)((0,Ne.Z)({},xt),Me))}},me.scrollTo=function(Se){me.listRef.current.scrollTo(Se)},me}return(0,be.Z)(we,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var Ge=this.props.activeKey;Ge!==void 0&&Ge!==this.state.activeKey&&(this.setState({activeKey:Ge}),Ge!==null&&this.scrollTo({key:Ge}))}},{key:"componentWillUnmount",value:function(){window.removeEventListener("dragend",this.onWindowDragEnd),this.destroyed=!0}},{key:"resetDragState",value:function(){this.setState({dragOverNodeKey:null,dropPosition:null,dropLevelOffset:null,dropTargetKey:null,dropContainerKey:null,dropTargetPos:null,dropAllowed:!1})}},{key:"render",value:function(){var Ge,ze=this.state,Ee=ze.focused,Se=ze.flattenNodes,nt=ze.keyEntities,Me=ze.draggingNodeKey,Ce=ze.activeKey,ke=ze.dropLevelOffset,xt=ze.dropContainerKey,ht=ze.dropTargetKey,zt=ze.dropPosition,kt=ze.dragOverNodeKey,Ot=ze.indent,Le=this.props,rt=Le.prefixCls,At=Le.className,gt=Le.style,St=Le.showLine,on=Le.focusable,mn=Le.tabIndex,dn=mn===void 0?0:mn,vn=Le.selectable,Wn=Le.showIcon,fn=Le.icon,Zn=Le.switcherIcon,$n=Le.draggable,ta=Le.checkable,Mn=Le.checkStrictly,ua=Le.disabled,Qn=Le.motion,Yn=Le.loadData,ca=Le.filterTreeNode,Ca=Le.height,ln=Le.itemHeight,gn=Le.virtual,An=Le.titleRender,Sn=Le.dropIndicatorRender,Fn=Le.onContextMenu,Kn=Le.onScroll,Rn=Le.direction,at=Le.rootClassName,mt=Le.rootStyle,ut=(0,se.Z)(this.props,{aria:!0,data:!0}),Yt;return $n&&((0,Je.Z)($n)==="object"?Yt=$n:typeof $n=="function"?Yt={nodeDraggable:$n}:Yt={}),a.createElement(E.k.Provider,{value:{prefixCls:rt,selectable:vn,showIcon:Wn,icon:fn,switcherIcon:Zn,draggable:Yt,draggingNodeKey:Me,checkable:ta,checkStrictly:Mn,disabled:ua,keyEntities:nt,dropLevelOffset:ke,dropContainerKey:xt,dropTargetKey:ht,dropPosition:zt,dragOverNodeKey:kt,indent:Ot,direction:Rn,dropIndicatorRender:Sn,loadData:Yn,filterTreeNode:ca,titleRender:An,onNodeClick:this.onNodeClick,onNodeDoubleClick:this.onNodeDoubleClick,onNodeExpand:this.onNodeExpand,onNodeSelect:this.onNodeSelect,onNodeCheck:this.onNodeCheck,onNodeLoad:this.onNodeLoad,onNodeMouseEnter:this.onNodeMouseEnter,onNodeMouseLeave:this.onNodeMouseLeave,onNodeContextMenu:this.onNodeContextMenu,onNodeDragStart:this.onNodeDragStart,onNodeDragEnter:this.onNodeDragEnter,onNodeDragOver:this.onNodeDragOver,onNodeDragLeave:this.onNodeDragLeave,onNodeDragEnd:this.onNodeDragEnd,onNodeDrop:this.onNodeDrop}},a.createElement("div",{role:"tree",className:et()(rt,At,at,(Ge={},(0,pe.Z)(Ge,"".concat(rt,"-show-line"),St),(0,pe.Z)(Ge,"".concat(rt,"-focused"),Ee),(0,pe.Z)(Ge,"".concat(rt,"-active-focused"),Ce!==null),Ge)),style:mt},a.createElement(nn,(0,ne.Z)({ref:this.listRef,prefixCls:rt,style:gt,data:Se,disabled:ua,selectable:vn,checkable:!!ta,motion:Qn,dragging:Me!==null,height:Ca,itemHeight:ln,virtual:gn,focusable:on,focused:Ee,tabIndex:dn,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:Fn,onScroll:Kn},this.getTreeNodeRequiredProps(),ut))))}}],[{key:"getDerivedStateFromProps",value:function(Ge,ze){var Ee=ze.prevProps,Se={prevProps:Ge};function nt(on){return!Ee&&on in Ge||Ee&&Ee[on]!==Ge[on]}var Me,Ce=ze.fieldNames;if(nt("fieldNames")&&(Ce=(0,Pe.w$)(Ge.fieldNames),Se.fieldNames=Ce),nt("treeData")?Me=Ge.treeData:nt("children")&&((0,y.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),Me=(0,Pe.zn)(Ge.children)),Me){Se.treeData=Me;var ke=(0,Pe.I8)(Me,{fieldNames:Ce});Se.keyEntities=(0,Ne.Z)((0,pe.Z)({},Rt,Te),ke.keyEntities)}var xt=Se.keyEntities||ze.keyEntities;if(nt("expandedKeys")||Ee&&nt("autoExpandParent"))Se.expandedKeys=Ge.autoExpandParent||!Ee&&Ge.defaultExpandParent?(0,vt.r7)(Ge.expandedKeys,xt):Ge.expandedKeys;else if(!Ee&&Ge.defaultExpandAll){var ht=(0,Ne.Z)({},xt);delete ht[Rt],Se.expandedKeys=Object.keys(ht).map(function(on){return ht[on].key})}else!Ee&&Ge.defaultExpandedKeys&&(Se.expandedKeys=Ge.autoExpandParent||Ge.defaultExpandParent?(0,vt.r7)(Ge.defaultExpandedKeys,xt):Ge.defaultExpandedKeys);if(Se.expandedKeys||delete Se.expandedKeys,Me||Se.expandedKeys){var zt=(0,Pe.oH)(Me||ze.treeData,Se.expandedKeys||ze.expandedKeys,Ce);Se.flattenNodes=zt}if(Ge.selectable&&(nt("selectedKeys")?Se.selectedKeys=(0,vt.BT)(Ge.selectedKeys,Ge):!Ee&&Ge.defaultSelectedKeys&&(Se.selectedKeys=(0,vt.BT)(Ge.defaultSelectedKeys,Ge))),Ge.checkable){var kt;if(nt("checkedKeys")?kt=(0,vt.E6)(Ge.checkedKeys)||{}:!Ee&&Ge.defaultCheckedKeys?kt=(0,vt.E6)(Ge.defaultCheckedKeys)||{}:Me&&(kt=(0,vt.E6)(Ge.checkedKeys)||{checkedKeys:ze.checkedKeys,halfCheckedKeys:ze.halfCheckedKeys}),kt){var Ot=kt,Le=Ot.checkedKeys,rt=Le===void 0?[]:Le,At=Ot.halfCheckedKeys,gt=At===void 0?[]:At;if(!Ge.checkStrictly){var St=(0,Vt.S)(rt,!0,xt);rt=St.checkedKeys,gt=St.halfCheckedKeys}Se.checkedKeys=rt,Se.halfCheckedKeys=gt}}return nt("loadedKeys")&&(Se.loadedKeys=Ge.loadedKeys),Se}}]),we}(a.Component);yt.defaultProps={prefixCls:"rc-tree",showLine:!1,showIcon:!0,selectable:!0,multiple:!1,checkable:!1,disabled:!1,checkStrictly:!1,draggable:!1,defaultExpandParent:!0,autoExpandParent:!1,defaultExpandAll:!1,defaultExpandedKeys:[],defaultCheckedKeys:[],defaultSelectedKeys:[],dropIndicatorRender:b,allowDrop:function(){return!0},expandAction:!1},yt.TreeNode=fe.Z;var an=yt,Wt=an},35654:function(wt,Mt,oe){"use strict";oe.d(Mt,{BT:function(){return a},E6:function(){return x},L0:function(){return dt},OM:function(){return y},_5:function(){return _e},r7:function(){return te},wA:function(){return et},yx:function(){return it}});var ne=oe(80702),pe=oe(62853),Je=oe(48736),Ne=oe(59301),Oe=oe(39417),Re=oe(67841),be=oe(71430),qe=null;function _e(ae,ie){if(!ae)return[];var ue=ae.slice(),de=ue.indexOf(ie);return de>=0&&ue.splice(de,1),ue}function dt(ae,ie){var ue=(ae||[]).slice();return ue.indexOf(ie)===-1&&ue.push(ie),ue}function it(ae){return ae.split("-")}function et(ae,ie){var ue=[],de=(0,Re.Z)(ie,ae);function fe(){var Be=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];Be.forEach(function(Pe){var We=Pe.key,ve=Pe.children;ue.push(We),fe(ve)})}return fe(de.children),ue}function Xe(ae){if(ae.parent){var ie=it(ae.pos);return Number(ie[ie.length-1])===ae.parent.children.length-1}return!1}function se(ae){var ie=it(ae.pos);return Number(ie[ie.length-1])===0}function y(ae,ie,ue,de,fe,Be,Pe,We,ve,Ue){var Bt,Tt=ae.clientX,Ye=ae.clientY,ft=ae.target.getBoundingClientRect(),Ft=ft.top,Jt=ft.height,Rt=(Ue==="rtl"?-1:1)*(((fe==null?void 0:fe.x)||0)-Tt),bt=(Rt-12)/de,Te=(0,Re.Z)(We,ue.props.eventKey);if(Ye-1.5?Be({dragNode:st,dropNode:yt,dropPosition:1})?vt=1:an=!1:Be({dragNode:st,dropNode:yt,dropPosition:0})?vt=0:Be({dragNode:st,dropNode:yt,dropPosition:1})?vt=1:an=!1:Be({dragNode:st,dropNode:yt,dropPosition:1})?vt=1:an=!1,{dropPosition:vt,dropLevelOffset:Vt,dropTargetKey:Te.key,dropTargetPos:Te.pos,dragOverNodeKey:nn,dropContainerKey:vt===0?null:((Bt=Te.parent)===null||Bt===void 0?void 0:Bt.key)||null,dropAllowed:an}}function a(ae,ie){if(ae){var ue=ie.multiple;return ue?ae.slice():ae.length?[ae[0]]:ae}}var E=function(ie){return ie};function b(ae,ie){if(!ae)return[];var ue=ie||{},de=ue.processProps,fe=de===void 0?E:de,Be=Array.isArray(ae)?ae:[ae];return Be.map(function(Pe){var We=Pe.children,ve=_objectWithoutProperties(Pe,qe),Ue=b(We,ie);return React.createElement(TreeNode,_extends({key:ve.key},fe(ve)),Ue)})}function x(ae){if(!ae)return null;var ie;if(Array.isArray(ae))ie={checkedKeys:ae,halfCheckedKeys:void 0};else if((0,pe.Z)(ae)==="object")ie={checkedKeys:ae.checked||void 0,halfCheckedKeys:ae.halfChecked||void 0};else return(0,Je.ZP)(!1,"`checkedKeys` is not an array or an object"),null;return ie}function te(ae,ie){var ue=new Set;function de(fe){if(!ue.has(fe)){var Be=(0,Re.Z)(ie,fe);if(Be){ue.add(fe);var Pe=Be.parent,We=Be.node;We.disabled||Pe&&de(Pe.key)}}}return(ae||[]).forEach(function(fe){de(fe)}),(0,ne.Z)(ue)}},90782:function(wt,Mt,oe){"use strict";oe.d(Mt,{S:function(){return be}});var ne=oe(48736),pe=oe(67841);function Je(qe,_e){var dt=new Set;return qe.forEach(function(it){_e.has(it)||dt.add(it)}),dt}function Ne(qe){var _e=qe||{},dt=_e.disabled,it=_e.disableCheckbox,et=_e.checkable;return!!(dt||it)||et===!1}function Oe(qe,_e,dt,it){for(var et=new Set(qe),Xe=new Set,se=0;se<=dt;se+=1){var y=_e.get(se)||new Set;y.forEach(function(x){var te=x.key,ae=x.node,ie=x.children,ue=ie===void 0?[]:ie;et.has(te)&&!it(ae)&&ue.filter(function(de){return!it(de.node)}).forEach(function(de){et.add(de.key)})})}for(var a=new Set,E=dt;E>=0;E-=1){var b=_e.get(E)||new Set;b.forEach(function(x){var te=x.parent,ae=x.node;if(!(it(ae)||!x.parent||a.has(x.parent.key))){if(it(x.parent.node)){a.add(te.key);return}var ie=!0,ue=!1;(te.children||[]).filter(function(de){return!it(de.node)}).forEach(function(de){var fe=de.key,Be=et.has(fe);ie&&!Be&&(ie=!1),!ue&&(Be||Xe.has(fe))&&(ue=!0)}),ie&&et.add(te.key),ue&&Xe.add(te.key),a.add(te.key)}})}return{checkedKeys:Array.from(et),halfCheckedKeys:Array.from(Je(Xe,et))}}function Re(qe,_e,dt,it,et){for(var Xe=new Set(qe),se=new Set(_e),y=0;y<=it;y+=1){var a=dt.get(y)||new Set;a.forEach(function(te){var ae=te.key,ie=te.node,ue=te.children,de=ue===void 0?[]:ue;!Xe.has(ae)&&!se.has(ae)&&!et(ie)&&de.filter(function(fe){return!et(fe.node)}).forEach(function(fe){Xe.delete(fe.key)})})}se=new Set;for(var E=new Set,b=it;b>=0;b-=1){var x=dt.get(b)||new Set;x.forEach(function(te){var ae=te.parent,ie=te.node;if(!(et(ie)||!te.parent||E.has(te.parent.key))){if(et(te.parent.node)){E.add(ae.key);return}var ue=!0,de=!1;(ae.children||[]).filter(function(fe){return!et(fe.node)}).forEach(function(fe){var Be=fe.key,Pe=Xe.has(Be);ue&&!Pe&&(ue=!1),!de&&(Pe||se.has(Be))&&(de=!0)}),ue||Xe.delete(ae.key),de&&se.add(ae.key),E.add(ae.key)}})}return{checkedKeys:Array.from(Xe),halfCheckedKeys:Array.from(Je(se,Xe))}}function be(qe,_e,dt,it){var et=[],Xe;it?Xe=it:Xe=Ne;var se=new Set(qe.filter(function(b){var x=!!(0,pe.Z)(dt,b);return x||et.push(b),x})),y=new Map,a=0;Object.keys(dt).forEach(function(b){var x=dt[b],te=x.level,ae=y.get(te);ae||(ae=new Set,y.set(te,ae)),ae.add(x),a=Math.max(a,te)}),(0,ne.ZP)(!et.length,"Tree missing follow keys: ".concat(et.slice(0,100).map(function(b){return"'".concat(b,"'")}).join(", ")));var E;return _e===!0?E=Oe(se,y,a,Xe):E=Re(se,_e.halfCheckedKeys,y,a,Xe),E}},67841:function(wt,Mt,oe){"use strict";oe.d(Mt,{Z:function(){return ne}});function ne(pe,Je){return pe[Je]}},71430:function(wt,Mt,oe){"use strict";oe.d(Mt,{F:function(){return te},H8:function(){return x},I8:function(){return b},km:function(){return et},oH:function(){return a},w$:function(){return Xe},zn:function(){return y}});var ne=oe(62853),pe=oe(80702),Je=oe(77321),Ne=oe(74416),Oe=oe(11592),Re=oe(2738),be=oe(48736),qe=oe(67841),_e=["children"];function dt(ae,ie){return"".concat(ae,"-").concat(ie)}function it(ae){return ae&&ae.type&&ae.type.isTreeNode}function et(ae,ie){return ae!=null?ae:ie}function Xe(ae){var ie=ae||{},ue=ie.title,de=ie._title,fe=ie.key,Be=ie.children,Pe=ue||"title";return{title:Pe,_title:de||[Pe],key:fe||"key",children:Be||"children"}}function se(ae,ie){var ue=new Map;function de(fe){var Be=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(fe||[]).forEach(function(Pe){var We=Pe[ie.key],ve=Pe[ie.children];warning(We!=null,"Tree node must have a certain key: [".concat(Be).concat(We,"]"));var Ue=String(We);warning(!ue.has(Ue)||We===null||We===void 0,"Same 'key' exist in the Tree: ".concat(Ue)),ue.set(Ue,!0),de(ve,"".concat(Be).concat(Ue," > "))})}de(ae)}function y(ae){function ie(ue){var de=(0,Oe.Z)(ue);return de.map(function(fe){if(!it(fe))return(0,be.ZP)(!fe,"Tree/TreeNode can only accept TreeNode as children."),null;var Be=fe.key,Pe=fe.props,We=Pe.children,ve=(0,Ne.Z)(Pe,_e),Ue=(0,Je.Z)({key:Be},ve),Bt=ie(We);return Bt.length&&(Ue.children=Bt),Ue}).filter(function(fe){return fe})}return ie(ae)}function a(ae,ie,ue){var de=Xe(ue),fe=de._title,Be=de.key,Pe=de.children,We=new Set(ie===!0?[]:ie),ve=[];function Ue(Bt){var Tt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return Bt.map(function(Ye,ft){for(var Ft=dt(Tt?Tt.pos:"0",ft),Jt=et(Ye[Be],Ft),Rt,bt=0;bt1&&arguments[1]!==void 0?arguments[1]:{},ue=ie.initWrapper,de=ie.processEntity,fe=ie.onProcessFinished,Be=ie.externalGetKey,Pe=ie.childrenPropName,We=ie.fieldNames,ve=arguments.length>2?arguments[2]:void 0,Ue=Be||ve,Bt={},Tt={},Ye={posEntities:Bt,keyEntities:Tt};return ue&&(Ye=ue(Ye)||Ye),E(ae,function(ft){var Ft=ft.node,Jt=ft.index,Rt=ft.pos,bt=ft.key,Te=ft.parentPos,lt=ft.level,Lt=ft.nodes,De={node:Ft,nodes:Lt,index:Jt,key:bt,pos:Rt,level:lt},tt=et(bt,Rt);Bt[Rt]=De,Tt[tt]=De,De.parent=Bt[Te],De.parent&&(De.parent.children=De.parent.children||[],De.parent.children.push(De)),de&&de(De,Ye)},{externalGetKey:Ue,childrenPropName:Pe,fieldNames:We}),fe&&fe(Ye),Ye}function x(ae,ie){var ue=ie.expandedKeys,de=ie.selectedKeys,fe=ie.loadedKeys,Be=ie.loadingKeys,Pe=ie.checkedKeys,We=ie.halfCheckedKeys,ve=ie.dragOverNodeKey,Ue=ie.dropPosition,Bt=ie.keyEntities,Tt=(0,qe.Z)(Bt,ae),Ye={eventKey:ae,expanded:ue.indexOf(ae)!==-1,selected:de.indexOf(ae)!==-1,loaded:fe.indexOf(ae)!==-1,loading:Be.indexOf(ae)!==-1,checked:Pe.indexOf(ae)!==-1,halfChecked:We.indexOf(ae)!==-1,pos:String(Tt?Tt.pos:""),dragOver:ve===ae&&Ue===0,dragOverGapTop:ve===ae&&Ue===-1,dragOverGapBottom:ve===ae&&Ue===1};return Ye}function te(ae){var ie=ae.data,ue=ae.expanded,de=ae.selected,fe=ae.checked,Be=ae.loaded,Pe=ae.loading,We=ae.halfChecked,ve=ae.dragOver,Ue=ae.dragOverGapTop,Bt=ae.dragOverGapBottom,Tt=ae.pos,Ye=ae.active,ft=ae.eventKey,Ft=(0,Je.Z)((0,Je.Z)({},ie),{},{expanded:ue,selected:de,checked:fe,loaded:Be,loading:Pe,halfChecked:We,dragOver:ve,dragOverGapTop:Ue,dragOverGapBottom:Bt,pos:Tt,active:Ye,key:ft});return"props"in Ft||Object.defineProperty(Ft,"props",{get:function(){return(0,be.ZP)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),ae}}),Ft}},8224:function(wt,Mt,oe){"use strict";oe.d(Mt,{Z:function(){return pe}});var ne=oe(4676);function pe(Je,Ne,Oe,Re){var be=ne.unstable_batchedUpdates?function(_e){ne.unstable_batchedUpdates(Oe,_e)}:Oe;return Je!=null&&Je.addEventListener&&Je.addEventListener(Ne,be,Re),{remove:function(){Je!=null&&Je.removeEventListener&&Je.removeEventListener(Ne,be,Re)}}}},55468:function(wt,Mt,oe){"use strict";oe.d(Mt,{g1:function(){return it},os:function(){return Xe}});var ne=/margin|padding|width|height|max|min|offset/,pe={left:!0,top:!0},Je={cssFloat:1,styleFloat:1,float:1};function Ne(se){return se.nodeType===1?se.ownerDocument.defaultView.getComputedStyle(se,null):{}}function Oe(se,y,a){if(y=y.toLowerCase(),a==="auto"){if(y==="height")return se.offsetHeight;if(y==="width")return se.offsetWidth}return y in pe||(pe[y]=ne.test(y)),pe[y]?parseFloat(a)||0:a}function Re(se,y){var a=arguments.length,E=Ne(se);return y=Je[y]?"cssFloat"in se.style?"cssFloat":"styleFloat":y,a===1?E:Oe(se,y,E[y]||se.style[y])}function be(se,y,a){var E=arguments.length;if(y=Je[y]?"cssFloat"in se.style?"cssFloat":"styleFloat":y,E===3)return typeof a=="number"&&ne.test(y)&&(a="".concat(a,"px")),se.style[y]=a,a;for(var b in y)y.hasOwnProperty(b)&&be(se,b,y[b]);return Ne(se)}function qe(se){return se===document.body?document.documentElement.clientWidth:se.offsetWidth}function _e(se){return se===document.body?window.innerHeight||document.documentElement.clientHeight:se.offsetHeight}function dt(){var se=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth),y=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight);return{width:se,height:y}}function it(){var se=document.documentElement.clientWidth,y=window.innerHeight||document.documentElement.clientHeight;return{width:se,height:y}}function et(){return{scrollLeft:Math.max(document.documentElement.scrollLeft,document.body.scrollLeft),scrollTop:Math.max(document.documentElement.scrollTop,document.body.scrollTop)}}function Xe(se){var y=se.getBoundingClientRect(),a=document.documentElement;return{left:y.left+(window.pageXOffset||a.scrollLeft)-(a.clientLeft||document.body.clientLeft||0),top:y.top+(window.pageYOffset||a.scrollTop)-(a.clientTop||document.body.clientTop||0)}}},12921:function(wt,Mt,oe){"use strict";oe.d(Mt,{Z5:function(){return Jd},_l:function(){return zu},bK:function(){return al}});var ne=oe(59301),pe=oe(60039);function Je(z,ee){z.prototype=Object.create(ee.prototype),z.prototype.constructor=z,(0,pe.Z)(z,ee)}var Ne=oe(72308),Oe=oe(59781),Re=ne.createContext(null),be=null;function qe(z){z()}var _e=qe,dt=function(ee){return _e=ee},it=function(){return _e};function et(){var z=it(),ee=null,re=null;return{clear:function(){ee=null,re=null},notify:function(){z(function(){for(var ce=ee;ce;)ce.callback(),ce=ce.next})},get:function(){for(var ce=[],ge=ee;ge;)ce.push(ge),ge=ge.next;return ce},subscribe:function(ce){var ge=!0,he=re={callback:ce,next:null,prev:re};return he.prev?he.prev.next=he:ee=he,function(){!ge||ee===null||(ge=!1,he.next?he.next.prev=he.prev:re=he.prev,he.prev?he.prev.next=he.next:ee=he.next)}}}}var Xe={notify:function(){},get:function(){return[]}};function se(z,ee){var re,le=Xe;function ce(Ze){return He(),le.subscribe(Ze)}function ge(){le.notify()}function he(){Qe.onStateChange&&Qe.onStateChange()}function Ae(){return!!re}function He(){re||(re=ee?ee.addNestedSub(he):z.subscribe(he),le=et())}function $e(){re&&(re(),re=void 0,le.clear(),le=Xe)}var Qe={addNestedSub:ce,notifyNestedSubs:ge,handleChangeWrapper:he,isSubscribed:Ae,trySubscribe:He,tryUnsubscribe:$e,getListeners:function(){return le}};return Qe}var y=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined"?ne.useLayoutEffect:ne.useEffect;function a(z){var ee=z.store,re=z.context,le=z.children,ce=(0,ne.useMemo)(function(){var Ae=se(ee);return{store:ee,subscription:Ae}},[ee]),ge=(0,ne.useMemo)(function(){return ee.getState()},[ee]);y(function(){var Ae=ce.subscription;return Ae.onStateChange=Ae.notifyNestedSubs,Ae.trySubscribe(),ge!==ee.getState()&&Ae.notifyNestedSubs(),function(){Ae.tryUnsubscribe(),Ae.onStateChange=null}},[ce,ge]);var he=re||Re;return ne.createElement(he.Provider,{value:ce},le)}var E=a,b=oe(87488),x=oe(94266),te=oe.n(x),ae=oe(53410),ie=["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef","forwardRef","context"],ue=["reactReduxForwardedRef"],de=[],fe=[null,null],Be=function(ee){try{return JSON.stringify(ee)}catch(re){return String(ee)}};function Pe(z,ee){var re=z[1];return[ee.payload,re+1]}function We(z,ee,re){y(function(){return z.apply(void 0,ee)},re)}function ve(z,ee,re,le,ce,ge,he){z.current=le,ee.current=ce,re.current=!1,ge.current&&(ge.current=null,he())}function Ue(z,ee,re,le,ce,ge,he,Ae,He,$e){if(z){var Qe=!1,Ze=null,je=function(){if(!Qe){var Ln=ee.getState(),Tn,zn;try{Tn=le(Ln,ce.current)}catch(Jn){zn=Jn,Ze=Jn}zn||(Ze=null),Tn===ge.current?he.current||He():(ge.current=Tn,Ae.current=Tn,he.current=!0,$e({type:"STORE_UPDATED",payload:{error:zn}}))}};re.onStateChange=je,re.trySubscribe(),je();var ct=function(){if(Qe=!0,re.tryUnsubscribe(),re.onStateChange=null,Ze)throw Ze};return ct}}var Bt=function(){return[null,0]};function Tt(z,ee){ee===void 0&&(ee={});var re=ee,le=re.getDisplayName,ce=le===void 0?function(Ba){return"ConnectAdvanced("+Ba+")"}:le,ge=re.methodName,he=ge===void 0?"connectAdvanced":ge,Ae=re.renderCountProp,He=Ae===void 0?void 0:Ae,$e=re.shouldHandleStateChanges,Qe=$e===void 0?!0:$e,Ze=re.storeKey,je=Ze===void 0?"store":Ze,ct=re.withRef,Ht=ct===void 0?!1:ct,Ln=re.forwardRef,Tn=Ln===void 0?!1:Ln,zn=re.context,Jn=zn===void 0?Re:zn,_n=(0,b.Z)(re,ie);if(0)var da;var Oa=Jn;return function(Ha){var qa=Ha.displayName||Ha.name||"Component",Ua=ce(qa),$a=(0,Ne.Z)({},_n,{getDisplayName:ce,methodName:he,renderCountProp:He,shouldHandleStateChanges:Qe,storeKey:je,displayName:Ua,wrappedComponentName:qa,WrappedComponent:Ha}),tr=_n.pure;function rr(or){return z(or.dispatch,$a)}var hr=tr?ne.useMemo:function(or){return or()};function mr(or){var Br=(0,ne.useMemo)(function(){var _r=or.reactReduxForwardedRef,ei=(0,b.Z)(or,ue);return[or.context,_r,ei]},[or]),Pr=Br[0],qr=Br[1],Or=Br[2],Lr=(0,ne.useMemo)(function(){return Pr&&Pr.Consumer&&(0,ae.isContextConsumer)(ne.createElement(Pr.Consumer,null))?Pr:Oa},[Pr,Oa]),yr=(0,ne.useContext)(Lr),Nr=!!or.store&&!!or.store.getState&&!!or.store.dispatch,uo=!!yr&&!!yr.store,br=Nr?or.store:yr.store,$r=(0,ne.useMemo)(function(){return rr(br)},[br]),co=(0,ne.useMemo)(function(){if(!Qe)return fe;var _r=se(br,Nr?null:yr.subscription),ei=_r.notifyNestedSubs.bind(_r);return[_r,ei]},[br,Nr,yr]),zr=co[0],mo=co[1],fo=(0,ne.useMemo)(function(){return Nr?yr:(0,Ne.Z)({},yr,{subscription:zr})},[Nr,yr,zr]),rl=(0,ne.useReducer)(Pe,de,Bt),Ku=rl[0],vo=Ku[0],Uu=rl[1];if(vo&&vo.error)throw vo.error;var ol=(0,ne.useRef)(),qo=(0,ne.useRef)(Or),po=(0,ne.useRef)(),il=(0,ne.useRef)(!1),$o=hr(function(){return po.current&&Or===qo.current?po.current:$r(br.getState(),Or)},[br,vo,Or]);We(ve,[qo,ol,il,Or,$o,po,mo]),We(Ue,[Qe,br,zr,$r,qo,ol,il,po,mo,Uu],[br,zr,$r]);var _o=(0,ne.useMemo)(function(){return ne.createElement(Ha,(0,Ne.Z)({},$o,{ref:qr}))},[qr,Ha,$o]),Vu=(0,ne.useMemo)(function(){return Qe?ne.createElement(Lr.Provider,{value:fo},_o):_o},[Lr,_o,fo]);return Vu}var cr=tr?ne.memo(mr):mr;if(cr.WrappedComponent=Ha,cr.displayName=mr.displayName=Ua,Tn){var Sr=ne.forwardRef(function(Br,Pr){return ne.createElement(cr,(0,Ne.Z)({},Br,{reactReduxForwardedRef:Pr}))});return Sr.displayName=Ua,Sr.WrappedComponent=Ha,te()(Sr,Ha)}return te()(cr,Ha)}}function Ye(z,ee){return z===ee?z!==0||ee!==0||1/z===1/ee:z!==z&&ee!==ee}function ft(z,ee){if(Ye(z,ee))return!0;if(typeof z!="object"||z===null||typeof ee!="object"||ee===null)return!1;var re=Object.keys(z),le=Object.keys(ee);if(re.length!==le.length)return!1;for(var ce=0;ce=0;le--){var ce=ee[le](z);if(ce)return ce}return function(ge,he){throw new Error("Invalid value of type "+typeof z+" for "+re+" argument when connecting component "+he.wrappedComponentName+".")}}function Ge(z,ee){return z===ee}function ze(z){var ee=z===void 0?{}:z,re=ee.connectHOC,le=re===void 0?Tt:re,ce=ee.mapStateToPropsFactories,ge=ce===void 0?nn:ce,he=ee.mapDispatchToPropsFactories,Ae=he===void 0?De:he,He=ee.mergePropsFactories,$e=He===void 0?yt:He,Qe=ee.selectorFactory,Ze=Qe===void 0?Ve:Qe;return function(ct,Ht,Ln,Tn){Tn===void 0&&(Tn={});var zn=Tn,Jn=zn.pure,_n=Jn===void 0?!0:Jn,da=zn.areStatesEqual,Oa=da===void 0?Ge:da,Ba=zn.areOwnPropsEqual,Ha=Ba===void 0?ft:Ba,qa=zn.areStatePropsEqual,Ua=qa===void 0?ft:qa,$a=zn.areMergedPropsEqual,tr=$a===void 0?ft:$a,rr=(0,b.Z)(zn,we),hr=me(ct,ge,"mapStateToProps"),mr=me(Ht,Ae,"mapDispatchToProps"),cr=me(Ln,$e,"mergeProps");return le(Ze,(0,Ne.Z)({methodName:"connect",getDisplayName:function(or){return"Connect("+or+")"},shouldHandleStateChanges:!!ct,initMapStateToProps:hr,initMapDispatchToProps:mr,initMergeProps:cr,pure:_n,areStatesEqual:Oa,areOwnPropsEqual:Ha,areStatePropsEqual:Ua,areMergedPropsEqual:tr},rr))}}var Ee=ze();function Se(){var z=useContext(ReactReduxContext);return z}function nt(z){z===void 0&&(z=ReactReduxContext);var ee=z===ReactReduxContext?useDefaultReduxContext:function(){return useContext(z)};return function(){var le=ee(),ce=le.store;return ce}}var Me=null;function Ce(z){z===void 0&&(z=ReactReduxContext);var ee=z===ReactReduxContext?useDefaultStore:createStoreHook(z);return function(){var le=ee();return le.dispatch}}var ke=null,xt=function(ee,re){return ee===re};function ht(z,ee,re,le){var ce=useReducer(function(Ht){return Ht+1},0),ge=ce[1],he=useMemo(function(){return createSubscription(re,le)},[re,le]),Ae=useRef(),He=useRef(),$e=useRef(),Qe=useRef(),Ze=re.getState(),je;try{if(z!==He.current||Ze!==$e.current||Ae.current){var ct=z(Ze);Qe.current===void 0||!ee(ct,Qe.current)?je=ct:je=Qe.current}else je=Qe.current}catch(Ht){throw Ae.current&&(Ht.message+=` -The error may be correlated with this previous error: -`+Ae.current.stack+` - -`),Ht}return useIsomorphicLayoutEffect(function(){He.current=z,$e.current=Ze,Qe.current=je,Ae.current=void 0}),useIsomorphicLayoutEffect(function(){function Ht(){try{var Ln=re.getState();if(Ln===$e.current)return;var Tn=He.current(Ln);if(ee(Tn,Qe.current))return;Qe.current=Tn,$e.current=Ln}catch(zn){Ae.current=zn}ge()}return he.onStateChange=Ht,he.trySubscribe(),Ht(),function(){return he.tryUnsubscribe()}},[re,he]),je}function zt(z){z===void 0&&(z=ReactReduxContext);var ee=z===ReactReduxContext?useDefaultReduxContext:function(){return useContext(z)};return function(le,ce){ce===void 0&&(ce=xt);var ge=ee(),he=ge.store,Ae=ge.subscription,He=ht(le,ce,he,Ae);return useDebugValue(He),He}}var kt=null,Ot=oe(4676);dt(Ot.unstable_batchedUpdates);function Le(z,ee){if(z.length!==ee.length)return!1;for(var re=0;re");return le.callbacks},le.setCallbacks=function(Ae){le.callbacks=Ae},le}var re=ee.prototype;return re.componentDidMount=function(){this.unbind=qt(window,[{eventName:"error",fn:this.onWindowError}])},re.componentWillUnmount=function(){this.unbind()},re.componentDidCatch=function(ce){if(ce instanceof Cn){this.setState({});return}throw ce},re.render=function(){return this.props.children(this.setCallbacks)},ee}(ne.Component),Ct=` - Press space bar to start a drag. - When dragging you can use the arrow keys to move the item around and escape to cancel. - Some screen readers may require you to be in focus mode or to use your pass through key -`,Et=function(ee){return ee+1},Qt=function(ee){return` - You have lifted an item in position `+Et(ee.source.index)+` -`},jt=function(ee,re){var le=ee.droppableId===re.droppableId,ce=Et(ee.index),ge=Et(re.index);return le?` - You have moved the item from position `+ce+` - to position `+ge+` - `:` - You have moved the item from position `+ce+` - in list `+ee.droppableId+` - to list `+re.droppableId+` - in position `+ge+` - `},Gt=function(ee,re,le){var ce=re.droppableId===le.droppableId;return ce?` - The item `+ee+` - has been combined with `+le.draggableId:` - The item `+ee+` - in list `+re.droppableId+` - has been combined with `+le.draggableId+` - in list `+le.droppableId+` - `},Kt=function(ee){var re=ee.destination;if(re)return jt(ee.source,re);var le=ee.combine;return le?Gt(ee.draggableId,ee.source,le):"You are over an area that cannot be dropped on"},Gn=function(ee){return` - The item has returned to its starting position - of `+Et(ee.index)+` -`},ot=function(ee){if(ee.reason==="CANCEL")return` - Movement cancelled. - `+Gn(ee.source)+` - `;var re=ee.destination,le=ee.combine;return re?` - You have dropped the item. - `+jt(ee.source,re)+` - `:le?` - You have dropped the item. - `+Gt(ee.draggableId,ee.source,le)+` - `:` - The item has been dropped while not over a drop area. - `+Gn(ee.source)+` - `},Ie={dragHandleUsageInstructions:Ct,onDragStart:Qt,onDragUpdate:Kt,onDragEnd:ot},Pt={x:0,y:0},tn=function(ee,re){return{x:ee.x+re.x,y:ee.y+re.y}},Dn=function(ee,re){return{x:ee.x-re.x,y:ee.y-re.y}},jn=function(ee,re){return ee.x===re.x&&ee.y===re.y},Nt=function(ee){return{x:ee.x!==0?-ee.x:0,y:ee.y!==0?-ee.y:0}},Xt=function(ee,re,le){var ce;return le===void 0&&(le=0),ce={},ce[ee]=re,ce[ee==="x"?"y":"x"]=le,ce},Ut=function(ee,re){return Math.sqrt(Math.pow(re.x-ee.x,2)+Math.pow(re.y-ee.y,2))},It=function(ee,re){return Math.min.apply(Math,re.map(function(le){return Ut(ee,le)}))},En=function(ee){return function(re){return{x:ee(re.x),y:ee(re.y)}}},sn=function(z,ee){var re=vn({top:Math.max(ee.top,z.top),right:Math.min(ee.right,z.right),bottom:Math.min(ee.bottom,z.bottom),left:Math.max(ee.left,z.left)});return re.width<=0||re.height<=0?null:re},In=function(ee,re){return{top:ee.top+re.y,left:ee.left+re.x,bottom:ee.bottom+re.y,right:ee.right+re.x}},Hn=function(ee){return[{x:ee.left,y:ee.top},{x:ee.right,y:ee.top},{x:ee.left,y:ee.bottom},{x:ee.right,y:ee.bottom}]},bn={top:0,right:0,bottom:0,left:0},wn=function(ee,re){return re?In(ee,re.scroll.diff.displacement):ee},va=function(ee,re,le){if(le&&le.increasedBy){var ce;return(0,Ne.Z)({},ee,(ce={},ce[re.end]=ee[re.end]+le.increasedBy[re.line],ce))}return ee},Sa=function(ee,re){return re&&re.shouldClipSubject?sn(re.pageMarginBox,ee):vn(ee)},Na=function(z){var ee=z.page,re=z.withPlaceholder,le=z.axis,ce=z.frame,ge=wn(ee.marginBox,ce),he=va(ge,le,re),Ae=Sa(he,ce);return{page:ee,withPlaceholder:re,active:Ae}},On=function(z,ee){z.frame||xe(!1);var re=z.frame,le=Dn(ee,re.scroll.initial),ce=Nt(le),ge=(0,Ne.Z)({},re,{scroll:{initial:re.scroll.initial,current:ee,diff:{value:le,displacement:ce},max:re.scroll.max}}),he=Na({page:z.subject.page,withPlaceholder:z.subject.withPlaceholder,axis:z.axis,frame:ge}),Ae=(0,Ne.Z)({},z,{frame:ge,subject:he});return Ae};function ya(z){return Number.isInteger?Number.isInteger(z):typeof z=="number"&&isFinite(z)&&Math.floor(z)===z}function Pa(z){return Object.values?Object.values(z):Object.keys(z).map(function(ee){return z[ee]})}function qn(z,ee){if(z.findIndex)return z.findIndex(ee);for(var re=0;rez.bottom,$e=le.leftz.right,Qe=He&&$e;if(Qe)return!0;var Ze=He&&he||$e&≥return Ze}},ma=function(z){var ee=oa(z.top,z.bottom),re=oa(z.left,z.right);return function(le){var ce=ee(le.top)&&ee(le.bottom)&&re(le.left)&&re(le.right);return ce}},Zt={direction:"vertical",line:"y",crossAxisLine:"x",start:"top",end:"bottom",size:"height",crossAxisStart:"left",crossAxisEnd:"right",crossAxisSize:"width"},ia={direction:"horizontal",line:"x",crossAxisLine:"y",start:"left",end:"right",size:"width",crossAxisStart:"top",crossAxisEnd:"bottom",crossAxisSize:"height"},ha=function(z){return function(ee){var re=oa(ee.top,ee.bottom),le=oa(ee.left,ee.right);return function(ce){return z===Zt?re(ce.top)&&re(ce.bottom):le(ce.left)&&le(ce.right)}}},Pn=function(ee,re){var le=re.frame?re.frame.scroll.diff.displacement:Pt;return In(ee,le)},cn=function(ee,re,le){return re.subject.active?le(re.subject.active)(ee):!1},Bn=function(ee,re,le){return le(re)(ee)},xn=function(ee){var re=ee.target,le=ee.destination,ce=ee.viewport,ge=ee.withDroppableDisplacement,he=ee.isVisibleThroughFrameFn,Ae=ge?Pn(re,le):re;return cn(Ae,le,he)&&Bn(Ae,ce,he)},ba=function(ee){return xn((0,Ne.Z)({},ee,{isVisibleThroughFrameFn:Un}))},$t=function(ee){return xn((0,Ne.Z)({},ee,{isVisibleThroughFrameFn:ma}))},La=function(ee){return xn((0,Ne.Z)({},ee,{isVisibleThroughFrameFn:ha(ee.destination.axis)}))},Aa=function(ee,re,le){if(typeof le=="boolean")return le;if(!re)return!0;var ce=re.invisible,ge=re.visible;if(ce[ee])return!1;var he=ge[ee];return he?he.shouldAnimate:!0};function wa(z,ee){var re=z.page.marginBox,le={top:ee.point.y,right:0,bottom:0,left:ee.point.x};return vn(Wn(re,le))}function Ia(z){var ee=z.afterDragging,re=z.destination,le=z.displacedBy,ce=z.viewport,ge=z.forceShouldAnimate,he=z.last;return ee.reduce(function(He,$e){var Qe=wa($e,le),Ze=$e.descriptor.id;He.all.push(Ze);var je=ba({target:Qe,destination:re,viewport:ce,withDroppableDisplacement:!0});if(!je)return He.invisible[$e.descriptor.id]=!0,He;var ct=Aa(Ze,he,ge),Ht={draggableId:Ze,shouldAnimate:ct};return He.visible[Ze]=Ht,He},{all:[],visible:{},invisible:{}})}function Fa(z,ee){if(!z.length)return 0;var re=z[z.length-1].descriptor.index;return ee.inHomeList?re:re+1}function Va(z){var ee=z.insideDestination,re=z.inHomeList,le=z.displacedBy,ce=z.destination,ge=Fa(ee,{inHomeList:re});return{displaced:xa,displacedBy:le,at:{type:"REORDER",destination:{droppableId:ce.descriptor.id,index:ge}}}}function fa(z){var ee=z.draggable,re=z.insideDestination,le=z.destination,ce=z.viewport,ge=z.displacedBy,he=z.last,Ae=z.index,He=z.forceShouldAnimate,$e=Ma(ee,le);if(Ae==null)return Va({insideDestination:re,inHomeList:$e,displacedBy:ge,destination:le});var Qe=aa(re,function(Ln){return Ln.descriptor.index===Ae});if(!Qe)return Va({insideDestination:re,inHomeList:$e,displacedBy:ge,destination:le});var Ze=na(ee,re),je=re.indexOf(Qe),ct=Ze.slice(je),Ht=Ia({afterDragging:ct,destination:le,displacedBy:ge,last:he,viewport:ce.frame,forceShouldAnimate:He});return{displaced:Ht,displacedBy:ge,at:{type:"REORDER",destination:{droppableId:le.descriptor.id,index:Ae}}}}function la(z,ee){return!!ee.effected[z]}var Za=function(z){var ee=z.isMovingForward,re=z.destination,le=z.draggables,ce=z.combine,ge=z.afterCritical;if(!re.isCombineEnabled)return null;var he=ce.draggableId,Ae=le[he],He=Ae.descriptor.index,$e=la(he,ge);return $e?ee?He:He-1:ee?He+1:He},Ta=function(z){var ee=z.isMovingForward,re=z.isInHomeList,le=z.insideDestination,ce=z.location;if(!le.length)return null;var ge=ce.index,he=ee?ge+1:ge-1,Ae=le[0].descriptor.index,He=le[le.length-1].descriptor.index,$e=re?He:He+1;return he$e?null:he},pa=function(z){var ee=z.isMovingForward,re=z.isInHomeList,le=z.draggable,ce=z.draggables,ge=z.destination,he=z.insideDestination,Ae=z.previousImpact,He=z.viewport,$e=z.afterCritical,Qe=Ae.at;if(Qe||xe(!1),Qe.type==="REORDER"){var Ze=Ta({isMovingForward:ee,isInHomeList:re,location:Qe.destination,insideDestination:he});return Ze==null?null:fa({draggable:le,insideDestination:he,destination:ge,viewport:He,last:Ae.displaced,displacedBy:Ae.displacedBy,index:Ze})}var je=Za({isMovingForward:ee,destination:ge,displaced:Ae.displaced,draggables:ce,combine:Qe.combine,afterCritical:$e});return je==null?null:fa({draggable:le,insideDestination:he,destination:ge,viewport:He,last:Ae.displaced,displacedBy:Ae.displacedBy,index:je})},ga=function(z){var ee=z.displaced,re=z.afterCritical,le=z.combineWith,ce=z.displacedBy,ge=!!(ee.visible[le]||ee.invisible[le]);return la(le,re)?ge?Pt:Nt(ce.point):ge?ce.point:Pt},ja=function(z){var ee=z.afterCritical,re=z.impact,le=z.draggables,ce=ra(re);ce||xe(!1);var ge=ce.draggableId,he=le[ge].page.borderBox.center,Ae=ga({displaced:re.displaced,afterCritical:ee,combineWith:ge,displacedBy:re.displacedBy});return tn(he,Ae)},_a=function(ee,re){return re.margin[ee.start]+re.borderBox[ee.size]/2},Ja=function(ee,re){return re.margin[ee.end]+re.borderBox[ee.size]/2},ir=function(ee,re,le){return re[ee.crossAxisStart]+le.margin[ee.crossAxisStart]+le.borderBox[ee.crossAxisSize]/2},sr=function(ee){var re=ee.axis,le=ee.moveRelativeTo,ce=ee.isMoving;return Xt(re.line,le.marginBox[re.end]+_a(re,ce),ir(re,le.marginBox,ce))},nr=function(ee){var re=ee.axis,le=ee.moveRelativeTo,ce=ee.isMoving;return Xt(re.line,le.marginBox[re.start]-Ja(re,ce),ir(re,le.marginBox,ce))},ar=function(ee){var re=ee.axis,le=ee.moveInto,ce=ee.isMoving;return Xt(re.line,le.contentBox[re.start]+_a(re,ce),ir(re,le.contentBox,ce))},fr=function(z){var ee=z.impact,re=z.draggable,le=z.draggables,ce=z.droppable,ge=z.afterCritical,he=ka(ce.descriptor.id,le),Ae=re.page,He=ce.axis;if(!he.length)return ar({axis:He,moveInto:ce.page,isMoving:Ae});var $e=ee.displaced,Qe=ee.displacedBy,Ze=$e.all[0];if(Ze){var je=le[Ze];if(la(Ze,ge))return nr({axis:He,moveRelativeTo:je.page,isMoving:Ae});var ct=Qn(je.page,Qe.point);return nr({axis:He,moveRelativeTo:ct,isMoving:Ae})}var Ht=he[he.length-1];if(Ht.descriptor.id===re.descriptor.id)return Ae.borderBox.center;if(la(Ht.descriptor.id,ge)){var Ln=Qn(Ht.page,Nt(ge.displacedBy.point));return sr({axis:He,moveRelativeTo:Ln,isMoving:Ae})}return sr({axis:He,moveRelativeTo:Ht.page,isMoving:Ae})},vr=function(z,ee){var re=z.frame;return re?tn(ee,re.scroll.diff.displacement):ee},Ar=function(ee){var re=ee.impact,le=ee.draggable,ce=ee.droppable,ge=ee.draggables,he=ee.afterCritical,Ae=le.page.borderBox.center,He=re.at;return!ce||!He?Ae:He.type==="REORDER"?fr({impact:re,draggable:le,draggables:ge,droppable:ce,afterCritical:he}):ja({impact:re,draggables:ge,afterCritical:he})},Mr=function(z){var ee=Ar(z),re=z.droppable,le=re?vr(re,ee):ee;return le},eo=function(z,ee){var re=Dn(ee,z.scroll.initial),le=Nt(re),ce=vn({top:ee.y,bottom:ee.y+z.frame.height,left:ee.x,right:ee.x+z.frame.width}),ge={frame:ce,scroll:{initial:z.scroll.initial,max:z.scroll.max,current:ee,diff:{value:re,displacement:le}}};return ge};function to(z,ee){return z.map(function(re){return ee[re]})}function ho(z,ee){for(var re=0;re1?Qe.sort(function(Ze,je){return Ga(Ze)[Ae.start]-Ga(je)[Ae.start]})[0]:$e.sort(function(Ze,je){var ct=It(re,Hn(Ga(Ze))),Ht=It(re,Hn(Ga(je)));return ct!==Ht?ct-Ht:Ga(Ze)[Ae.start]-Ga(je)[Ae.start]})[0]},pr=function(ee,re){var le=ee.page.borderBox.center;return la(ee.descriptor.id,re)?Dn(le,re.displacedBy.point):le},Er=function(ee,re){var le=ee.page.borderBox;return la(ee.descriptor.id,re)?In(le,Nt(re.displacedBy.point)):le},Qa=function(z){var ee=z.pageBorderBoxCenter,re=z.viewport,le=z.destination,ce=z.insideDestination,ge=z.afterCritical,he=ce.filter(function(Ae){return $t({target:Er(Ae,ge),destination:le,viewport:re.frame,withDroppableDisplacement:!0})}).sort(function(Ae,He){var $e=Ut(ee,vr(le,pr(Ae,ge))),Qe=Ut(ee,vr(le,pr(He,ge)));return $eee.left&&z.topee.top}function ul(z){var ee=z.pageBorderBox,re=z.draggable,le=z.candidates,ce=re.page.borderBox.center,ge=le.map(function(he){var Ae=he.axis,He=Xt(he.axis.line,ee.center[Ae.line],he.page.borderBox.center[Ae.crossAxisLine]);return{id:he.descriptor.id,distance:Ut(ce,He)}}).sort(function(he,Ae){return Ae.distance-he.distance});return ge[0]?ge[0].id:null}function cl(z){var ee=z.pageBorderBox,re=z.draggable,le=z.droppables,ce=Ea(le).filter(function(ge){if(!ge.isEnabled)return!1;var he=ge.subject.active;if(!he||!dl(ee,he))return!1;if(ti(he)(ee.center))return!0;var Ae=ge.axis,He=he.center[Ae.crossAxisLine],$e=ee[Ae.crossAxisStart],Qe=ee[Ae.crossAxisEnd],Ze=oa(he[Ae.crossAxisStart],he[Ae.crossAxisEnd]),je=Ze($e),ct=Ze(Qe);return!je&&!ct?!0:je?$eHe});return ce.length?ce.length===1?ce[0].descriptor.id:ul({pageBorderBox:ee,draggable:re,candidates:ce}):null}var ni=function(ee,re){return vn(In(ee,re))},gl=function(z,ee){var re=z.frame;return re?ni(ee,re.scroll.diff.value):ee};function ai(z){var ee=z.displaced,re=z.id;return!!(ee.visible[re]||ee.invisible[re])}function ml(z){var ee=z.draggable,re=z.closest,le=z.inHomeList;return re?le&&re.descriptor.index>ee.descriptor.index?re.descriptor.index-1:re.descriptor.index:null}var fl=function(z){var ee=z.pageBorderBoxWithDroppableScroll,re=z.draggable,le=z.destination,ce=z.insideDestination,ge=z.last,he=z.viewport,Ae=z.afterCritical,He=le.axis,$e=lr(le.axis,re.displaceBy),Qe=$e.value,Ze=ee[He.start],je=ee[He.end],ct=na(re,ce),Ht=aa(ct,function(Tn){var zn=Tn.descriptor.id,Jn=Tn.page.borderBox.center[He.line],_n=la(zn,Ae),da=ai({displaced:ge,id:zn});return _n?da?je<=Jn:Zezn[Ae.start]+_n&&Zezn[Ae.start]-$e+_n&&Qezn[Ae.start]+$e+_n&&Zezn[Ae.start]+_n&&Qe=vi)return fi;var ge=ce/vi,he=Do+Vl*ge,Ae=le==="CANCEL"?he*Yl:he;return Number(Ae.toFixed(2))},Jl=function(z){var ee=z.impact,re=z.draggable,le=z.dimensions,ce=z.viewport,ge=z.afterCritical,he=le.draggables,Ae=le.droppables,He=dr(ee),$e=He?Ae[He]:null,Qe=Ae[re.descriptor.droppableId],Ze=ii({impact:ee,draggable:re,draggables:he,afterCritical:ge,droppable:$e||Qe,viewport:ce}),je=Dn(Ze,re.client.borderBox.center);return je},Ql=function(z){var ee=z.draggables,re=z.reason,le=z.lastImpact,ce=z.home,ge=z.viewport,he=z.onLiftImpact;if(!le.at||re!=="DROP"){var Ae=oi({draggables:ee,impact:he,destination:ce,viewport:ge,forceShouldAnimate:!0});return{impact:Ae,didDropInsideDroppable:!1}}if(le.at.type==="REORDER")return{impact:le,didDropInsideDroppable:!0};var He=(0,Ne.Z)({},le,{displaced:xa});return{impact:He,didDropInsideDroppable:!0}},ql=function(z){var ee=z.getState,re=z.dispatch;return function(le){return function(ce){if(ce.type!=="DROP"){le(ce);return}var ge=ee(),he=ce.payload.reason;if(ge.phase==="COLLECTING"){re(Zl({reason:he}));return}if(ge.phase!=="IDLE"){var Ae=ge.phase==="DROP_PENDING"&&ge.isWaiting;Ae&&xe(!1),ge.phase==="DRAGGING"||ge.phase==="DROP_PENDING"||xe(!1);var He=ge.critical,$e=ge.dimensions,Qe=$e.draggables[ge.critical.draggable.id],Ze=Ql({reason:he,lastImpact:ge.impact,afterCritical:ge.afterCritical,onLiftImpact:ge.onLiftImpact,home:ge.dimensions.droppables[ge.critical.droppable.id],viewport:ge.viewport,draggables:ge.dimensions.draggables}),je=Ze.impact,ct=Ze.didDropInsideDroppable,Ht=ct?ea(je):null,Ln=ct?ra(je):null,Tn={index:He.draggable.index,droppableId:He.droppable.id},zn={draggableId:Qe.descriptor.id,type:Qe.descriptor.type,source:Tn,reason:he,mode:ge.movementMode,destination:Ht,combine:Ln},Jn=Jl({impact:je,draggable:Qe,dimensions:$e,viewport:ge.viewport,afterCritical:ge.afterCritical}),_n={critical:ge.critical,afterCritical:ge.afterCritical,result:zn,impact:je},da=!jn(ge.current.client.offset,Jn)||!!zn.combine;if(!da){re(wo({completed:_n}));return}var Oa=Xl({current:ge.current.client.offset,destination:Jn,reason:he}),Ba={newHomeClientOffset:Jn,dropDuration:Oa,completed:_n};re(Wl(Ba))}}}},pi=function(){return{x:window.pageXOffset,y:window.pageYOffset}};function $l(z){return{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(re){re.target!==window&&re.target!==window.document||z()}}}function _l(z){var ee=z.onWindowScroll;function re(){ee(pi())}var le=Rn(re),ce=$l(le),ge=_t;function he(){return ge!==_t}function Ae(){he()&&xe(!1),ge=qt(window,[ce])}function He(){he()||xe(!1),le.cancel(),ge(),ge=_t}return{start:Ae,stop:He,isActive:he}}var es=function(ee){return ee.type==="DROP_COMPLETE"||ee.type==="DROP_ANIMATE"||ee.type==="FLUSH"},ts=function(z){var ee=_l({onWindowScroll:function(le){z.dispatch(Tl({newScroll:le}))}});return function(re){return function(le){!ee.isActive()&&le.type==="INITIAL_PUBLISH"&&ee.start(),ee.isActive()&&es(le)&&ee.stop(),re(le)}}},ns=function(z){var ee=!1,re=!1,le=setTimeout(function(){re=!0}),ce=function(he){ee||re||(ee=!0,z(he),clearTimeout(le))};return ce.wasCalled=function(){return ee},ce},as=function(){var z=[],ee=function(ge){var he=qn(z,function($e){return $e.timerId===ge});he===-1&&xe(!1);var Ae=z.splice(he,1),He=Ae[0];He.callback()},re=function(ge){var he=setTimeout(function(){return ee(he)}),Ae={timerId:he,callback:ge};z.push(Ae)},le=function(){if(z.length){var ge=[].concat(z);z.length=0,ge.forEach(function(he){clearTimeout(he.timerId),he.callback()})}};return{add:re,flush:le}},rs=function(ee,re){return ee==null&&re==null?!0:ee==null||re==null?!1:ee.droppableId===re.droppableId&&ee.index===re.index},os=function(ee,re){return ee==null&&re==null?!0:ee==null||re==null?!1:ee.draggableId===re.draggableId&&ee.droppableId===re.droppableId},is=function(ee,re){if(ee===re)return!0;var le=ee.draggable.id===re.draggable.id&&ee.draggable.droppableId===re.draggable.droppableId&&ee.draggable.type===re.draggable.type&&ee.draggable.index===re.draggable.index,ce=ee.droppable.id===re.droppable.id&&ee.droppable.type===re.droppable.type;return le&&ce},Ur=function(ee,re){Wr(),re(),Zr()},no=function(ee,re){return{draggableId:ee.draggable.id,type:ee.droppable.type,source:{droppableId:ee.droppable.id,index:ee.draggable.index},mode:re}},Io=function(ee,re,le,ce){if(!ee){le(ce(re));return}var ge=ns(le),he={announce:ge};ee(re,he),ge.wasCalled()||le(ce(re))},ls=function(z,ee){var re=as(),le=null,ce=function(je,ct){le&&xe(!1),Ur("onBeforeCapture",function(){var Ht=z().onBeforeCapture;if(Ht){var Ln={draggableId:je,mode:ct};Ht(Ln)}})},ge=function(je,ct){le&&xe(!1),Ur("onBeforeDragStart",function(){var Ht=z().onBeforeDragStart;Ht&&Ht(no(je,ct))})},he=function(je,ct){le&&xe(!1);var Ht=no(je,ct);le={mode:ct,lastCritical:je,lastLocation:Ht.source,lastCombine:null},re.add(function(){Ur("onDragStart",function(){return Io(z().onDragStart,Ht,ee,Ie.onDragStart)})})},Ae=function(je,ct){var Ht=ea(ct),Ln=ra(ct);le||xe(!1);var Tn=!is(je,le.lastCritical);Tn&&(le.lastCritical=je);var zn=!rs(le.lastLocation,Ht);zn&&(le.lastLocation=Ht);var Jn=!os(le.lastCombine,Ln);if(Jn&&(le.lastCombine=Ln),!(!Tn&&!zn&&!Jn)){var _n=(0,Ne.Z)({},no(je,le.mode),{combine:Ln,destination:Ht});re.add(function(){Ur("onDragUpdate",function(){return Io(z().onDragUpdate,_n,ee,Ie.onDragUpdate)})})}},He=function(){le||xe(!1),re.flush()},$e=function(je){le||xe(!1),le=null,Ur("onDragEnd",function(){return Io(z().onDragEnd,je,ee,Ie.onDragEnd)})},Qe=function(){if(le){var je=(0,Ne.Z)({},no(le.lastCritical,le.mode),{combine:null,destination:null,reason:"CANCEL"});$e(je)}};return{beforeCapture:ce,beforeStart:ge,start:he,update:Ae,flush:He,drop:$e,abort:Qe}},ss=function(z,ee){var re=ls(z,ee);return function(le){return function(ce){return function(ge){if(ge.type==="BEFORE_INITIAL_CAPTURE"){re.beforeCapture(ge.payload.draggableId,ge.payload.movementMode);return}if(ge.type==="INITIAL_PUBLISH"){var he=ge.payload.critical;re.beforeStart(he,ge.payload.movementMode),ce(ge),re.start(he,ge.payload.movementMode);return}if(ge.type==="DROP_COMPLETE"){var Ae=ge.payload.completed.result;re.flush(),ce(ge),re.drop(Ae);return}if(ce(ge),ge.type==="FLUSH"){re.abort();return}var He=le.getState();He.phase==="DRAGGING"&&re.update(He.critical,He.impact)}}}},ds=function(z){return function(ee){return function(re){if(re.type!=="DROP_ANIMATION_FINISHED"){ee(re);return}var le=z.getState();le.phase!=="DROP_ANIMATING"&&xe(!1),z.dispatch(wo({completed:le.completed}))}}},us=function(z){var ee=null,re=null;function le(){re&&(cancelAnimationFrame(re),re=null),ee&&(ee(),ee=null)}return function(ce){return function(ge){if((ge.type==="FLUSH"||ge.type==="DROP_COMPLETE"||ge.type==="DROP_ANIMATION_FINISHED")&&le(),ce(ge),ge.type==="DROP_ANIMATE"){var he={eventName:"scroll",options:{capture:!0,passive:!1,once:!0},fn:function(){var He=z.getState();He.phase==="DROP_ANIMATING"&&z.dispatch(gi())}};re=requestAnimationFrame(function(){re=null,ee=qt(window,[he])})}}}},cs=function(z){return function(){return function(ee){return function(re){(re.type==="DROP_COMPLETE"||re.type==="FLUSH"||re.type==="DROP_ANIMATE")&&z.stopPublishing(),ee(re)}}}},gs=function(z){var ee=!1;return function(){return function(re){return function(le){if(le.type==="INITIAL_PUBLISH"){ee=!0,z.tryRecordFocus(le.payload.critical.draggable.id),re(le),z.tryRestoreFocusRecorded();return}if(re(le),!!ee){if(le.type==="FLUSH"){ee=!1,z.tryRestoreFocusRecorded();return}if(le.type==="DROP_COMPLETE"){ee=!1;var ce=le.payload.completed.result;ce.combine&&z.tryShiftRecord(ce.draggableId,ce.combine.draggableId),z.tryRestoreFocusRecorded()}}}}}},ms=function(ee){return ee.type==="DROP_COMPLETE"||ee.type==="DROP_ANIMATE"||ee.type==="FLUSH"},fs=function(z){return function(ee){return function(re){return function(le){if(ms(le)){z.stop(),re(le);return}if(le.type==="INITIAL_PUBLISH"){re(le);var ce=ee.getState();ce.phase!=="DRAGGING"&&xe(!1),z.start(ce);return}re(le),z.scroll(ee.getState())}}}},vs=function(z){return function(ee){return function(re){if(ee(re),re.type==="PUBLISH_WHILE_DRAGGING"){var le=z.getState();le.phase==="DROP_PENDING"&&(le.isWaiting||z.dispatch(ci({reason:le.reason})))}}}},ps=Oe.qC,hs=function(z){var ee=z.dimensionMarshal,re=z.focusMarshal,le=z.styleMarshal,ce=z.getResponders,ge=z.announce,he=z.autoScroller;return(0,Oe.MT)(wl,ps((0,Oe.md)(Ul(le),cs(ee),Kl(ee),ql,ds,us,vs,fs(he),ts,gs(re),ss(ce,ge))))},Oo=function(){return{additions:{},removals:{},modified:{}}};function Ss(z){var ee=z.registry,re=z.callbacks,le=Oo(),ce=null,ge=function(){ce||(re.collectionStarting(),ce=requestAnimationFrame(function(){ce=null,Wr();var Qe=le,Ze=Qe.additions,je=Qe.removals,ct=Qe.modified,Ht=Object.keys(Ze).map(function(zn){return ee.draggable.getById(zn).getDimension(Pt)}).sort(function(zn,Jn){return zn.descriptor.index-Jn.descriptor.index}),Ln=Object.keys(ct).map(function(zn){var Jn=ee.droppable.getById(zn),_n=Jn.callbacks.getScrollWhileDragging();return{droppableId:zn,scroll:_n}}),Tn={additions:Ht,removals:Object.keys(je),modified:Ln};le=Oo(),Zr(),re.publish(Tn)}))},he=function(Qe){var Ze=Qe.descriptor.id;le.additions[Ze]=Qe,le.modified[Qe.descriptor.droppableId]=!0,le.removals[Ze]&&delete le.removals[Ze],ge()},Ae=function(Qe){var Ze=Qe.descriptor;le.removals[Ze.id]=!0,le.modified[Ze.droppableId]=!0,le.additions[Ze.id]&&delete le.additions[Ze.id],ge()},He=function(){ce&&(cancelAnimationFrame(ce),ce=null,le=Oo())};return{add:he,remove:Ae,stop:He}}var hi=function(z){var ee=z.scrollHeight,re=z.scrollWidth,le=z.height,ce=z.width,ge=Dn({x:re,y:ee},{x:ce,y:le}),he={x:Math.max(0,ge.x),y:Math.max(0,ge.y)};return he},Si=function(){var z=document.documentElement;return z||xe(!1),z},Pi=function(){var z=Si(),ee=hi({scrollHeight:z.scrollHeight,scrollWidth:z.scrollWidth,width:z.clientWidth,height:z.clientHeight});return ee},Ps=function(){var z=pi(),ee=Pi(),re=z.y,le=z.x,ce=Si(),ge=ce.clientWidth,he=ce.clientHeight,Ae=le+ge,He=re+he,$e=vn({top:re,left:le,right:Ae,bottom:He}),Qe={frame:$e,scroll:{initial:z,current:z,max:ee,diff:{value:Pt,displacement:Pt}}};return Qe},ys=function(z){var ee=z.critical,re=z.scrollOptions,le=z.registry;Wr();var ce=Ps(),ge=ce.scroll.current,he=ee.droppable,Ae=le.droppable.getAllByType(he.type).map(function(Ze){return Ze.callbacks.getDimensionAndWatchScroll(ge,re)}),He=le.draggable.getAllByType(ee.draggable.type).map(function(Ze){return Ze.getDimension(ge)}),$e={draggables:Wa(He),droppables:Ra(Ae)};Zr();var Qe={dimensions:$e,critical:ee,viewport:ce};return Qe};function yi(z,ee,re){if(re.descriptor.id===ee.id||re.descriptor.type!==ee.type)return!1;var le=z.droppable.getById(re.descriptor.droppableId);return le.descriptor.mode==="virtual"}var bs=function(z,ee){var re=null,le=Ss({callbacks:{publish:ee.publishWhileDragging,collectionStarting:ee.collectionStarting},registry:z}),ce=function(ct,Ht){z.droppable.exists(ct)||xe(!1),re&&ee.updateDroppableIsEnabled({id:ct,isEnabled:Ht})},ge=function(ct,Ht){re&&(z.droppable.exists(ct)||xe(!1),ee.updateDroppableIsCombineEnabled({id:ct,isCombineEnabled:Ht}))},he=function(ct,Ht){re&&(z.droppable.exists(ct)||xe(!1),ee.updateDroppableScroll({id:ct,newScroll:Ht}))},Ae=function(ct,Ht){re&&z.droppable.getById(ct).callbacks.scroll(Ht)},He=function(){if(re){le.stop();var ct=re.critical.droppable;z.droppable.getAllByType(ct.type).forEach(function(Ht){return Ht.callbacks.dragStopped()}),re.unsubscribe(),re=null}},$e=function(ct){re||xe(!1);var Ht=re.critical.draggable;ct.type==="ADDITION"&&yi(z,Ht,ct.value)&&le.add(ct.value),ct.type==="REMOVAL"&&yi(z,Ht,ct.value)&&le.remove(ct.value)},Qe=function(ct){re&&xe(!1);var Ht=z.draggable.getById(ct.draggableId),Ln=z.droppable.getById(Ht.descriptor.droppableId),Tn={draggable:Ht.descriptor,droppable:Ln.descriptor},zn=z.subscribe($e);return re={critical:Tn,unsubscribe:zn},ys({critical:Tn,registry:z,scrollOptions:ct.scrollOptions})},Ze={updateDroppableIsEnabled:ce,updateDroppableIsCombineEnabled:ge,scrollDroppable:Ae,updateDroppableScroll:he,startPublishing:Qe,stopPublishing:He};return Ze},bi=function(z,ee){return z.phase==="IDLE"?!0:z.phase!=="DROP_ANIMATING"||z.completed.result.draggableId===ee?!1:z.completed.result.reason==="DROP"},As=function(z){window.scrollBy(z.x,z.y)},Es=Fn(function(z){return Ea(z).filter(function(ee){return!(!ee.isEnabled||!ee.frame)})}),Cs=function(ee,re){var le=aa(Es(re),function(ce){return ce.frame||xe(!1),ti(ce.frame.pageMarginBox)(ee)});return le},xs=function(z){var ee=z.center,re=z.destination,le=z.droppables;if(re){var ce=le[re];return ce.frame?ce:null}var ge=Cs(ee,le);return ge},wr={startFromPercentage:.25,maxScrollAtPercentage:.05,maxPixelScroll:28,ease:function(ee){return Math.pow(ee,2)},durationDampening:{stopDampeningAt:1200,accelerateAt:360}},ws=function(z,ee){var re=z[ee.size]*wr.startFromPercentage,le=z[ee.size]*wr.maxScrollAtPercentage,ce={startScrollingFrom:re,maxScrollValueAt:le};return ce},Ai=function(z){var ee=z.startOfRange,re=z.endOfRange,le=z.current,ce=re-ee;if(ce===0)return 0;var ge=le-ee,he=ge/ce;return he},No=1,Bs=function(z,ee){if(z>ee.startScrollingFrom)return 0;if(z<=ee.maxScrollValueAt)return wr.maxPixelScroll;if(z===ee.startScrollingFrom)return No;var re=Ai({startOfRange:ee.maxScrollValueAt,endOfRange:ee.startScrollingFrom,current:z}),le=1-re,ce=wr.maxPixelScroll*wr.ease(le);return Math.ceil(ce)},Ei=wr.durationDampening.accelerateAt,Ci=wr.durationDampening.stopDampeningAt,Ls=function(z,ee){var re=ee,le=Ci,ce=Date.now(),ge=ce-re;if(ge>=Ci)return z;if(geee.height,ge=re.width>ee.width;return!ge&&!ce?le:ge&&ce?null:{x:ge?0:le.x,y:ce?0:le.y}},Ds=En(function(z){return z===0?0:z}),Bi=function(z){var ee=z.dragStartTime,re=z.container,le=z.subject,ce=z.center,ge=z.shouldUseTimeDampening,he={top:ce.y-re.top,right:re.right-ce.x,bottom:re.bottom-ce.y,left:ce.x-re.left},Ae=wi({container:re,distanceToEdges:he,dragStartTime:ee,axis:Zt,shouldUseTimeDampening:ge}),He=wi({container:re,distanceToEdges:he,dragStartTime:ee,axis:ia,shouldUseTimeDampening:ge}),$e=Ds({x:He,y:Ae});if(jn($e,Pt))return null;var Qe=Fs({container:re,subject:le,proposedScroll:$e});return Qe?jn(Qe,Pt)?null:Qe:null},Is=En(function(z){return z===0?0:z>0?1:-1}),Mo=function(){var z=function(re,le){return re<0?re:re>le?re-le:0};return function(ee){var re=ee.current,le=ee.max,ce=ee.change,ge=tn(re,ce),he={x:z(ge.x,le.x),y:z(ge.y,le.y)};return jn(he,Pt)?null:he}}(),Li=function(ee){var re=ee.max,le=ee.current,ce=ee.change,ge={x:Math.max(le.x,re.x),y:Math.max(le.y,re.y)},he=Is(ce),Ae=Mo({max:ge,current:le,change:he});return!Ae||he.x!==0&&Ae.x===0||he.y!==0&&Ae.y===0},To=function(ee,re){return Li({current:ee.scroll.current,max:ee.scroll.max,change:re})},Os=function(ee,re){if(!To(ee,re))return null;var le=ee.scroll.max,ce=ee.scroll.current;return Mo({current:ce,max:le,change:re})},Ro=function(ee,re){var le=ee.frame;return le?Li({current:le.scroll.current,max:le.scroll.max,change:re}):!1},Ns=function(ee,re){var le=ee.frame;return!le||!Ro(ee,re)?null:Mo({current:le.scroll.current,max:le.scroll.max,change:re})},Ms=function(z){var ee=z.viewport,re=z.subject,le=z.center,ce=z.dragStartTime,ge=z.shouldUseTimeDampening,he=Bi({dragStartTime:ce,container:ee.frame,subject:re,center:le,shouldUseTimeDampening:ge});return he&&To(ee,he)?he:null},Ts=function(z){var ee=z.droppable,re=z.subject,le=z.center,ce=z.dragStartTime,ge=z.shouldUseTimeDampening,he=ee.frame;if(!he)return null;var Ae=Bi({dragStartTime:ce,container:he.pageMarginBox,subject:re,center:le,shouldUseTimeDampening:ge});return Ae&&Ro(ee,Ae)?Ae:null},Fi=function(z){var ee=z.state,re=z.dragStartTime,le=z.shouldUseTimeDampening,ce=z.scrollWindow,ge=z.scrollDroppable,he=ee.current.page.borderBoxCenter,Ae=ee.dimensions.draggables[ee.critical.draggable.id],He=Ae.page.marginBox;if(ee.isWindowScrollAllowed){var $e=ee.viewport,Qe=Ms({dragStartTime:re,viewport:$e,subject:He,center:he,shouldUseTimeDampening:le});if(Qe){ce(Qe);return}}var Ze=xs({center:he,destination:dr(ee.impact),droppables:ee.dimensions.droppables});if(Ze){var je=Ts({dragStartTime:re,droppable:Ze,subject:He,center:he,shouldUseTimeDampening:le});je&&ge(Ze.descriptor.id,je)}},Rs=function(z){var ee=z.scrollWindow,re=z.scrollDroppable,le=Rn(ee),ce=Rn(re),ge=null,he=function(Qe){ge||xe(!1);var Ze=ge,je=Ze.shouldUseTimeDampening,ct=Ze.dragStartTime;Fi({state:Qe,scrollWindow:le,scrollDroppable:ce,dragStartTime:ct,shouldUseTimeDampening:je})},Ae=function(Qe){Wr(),ge&&xe(!1);var Ze=Date.now(),je=!1,ct=function(){je=!0};Fi({state:Qe,dragStartTime:0,shouldUseTimeDampening:!1,scrollWindow:ct,scrollDroppable:ct}),ge={dragStartTime:Ze,shouldUseTimeDampening:je},Zr(),je&&he(Qe)},He=function(){ge&&(le.cancel(),ce.cancel(),ge=null)};return{start:Ae,stop:He,scroll:he}},ks=function(z){var ee=z.move,re=z.scrollDroppable,le=z.scrollWindow,ce=function($e,Qe){var Ze=tn($e.current.client.selection,Qe);ee({client:Ze})},ge=function($e,Qe){if(!Ro($e,Qe))return Qe;var Ze=Ns($e,Qe);if(!Ze)return re($e.descriptor.id,Qe),null;var je=Dn(Qe,Ze);re($e.descriptor.id,je);var ct=Dn(Qe,je);return ct},he=function($e,Qe,Ze){if(!$e||!To(Qe,Ze))return Ze;var je=Os(Qe,Ze);if(!je)return le(Ze),null;var ct=Dn(Ze,je);le(ct);var Ht=Dn(Ze,ct);return Ht},Ae=function($e){var Qe=$e.scrollJumpRequest;if(Qe){var Ze=dr($e.impact);Ze||xe(!1);var je=ge($e.dimensions.droppables[Ze],Qe);if(je){var ct=$e.viewport,Ht=he($e.isWindowScrollAllowed,ct,je);Ht&&ce($e,Ht)}}};return Ae},zs=function(z){var ee=z.scrollDroppable,re=z.scrollWindow,le=z.move,ce=Rs({scrollWindow:re,scrollDroppable:ee}),ge=ks({move:le,scrollWindow:re,scrollDroppable:ee}),he=function($e){if($e.phase==="DRAGGING"){if($e.movementMode==="FLUID"){ce.scroll($e);return}$e.scrollJumpRequest&&ge($e)}},Ae={scroll:he,start:ce.start,stop:ce.stop};return Ae},Tr="data-rbd",Rr=function(){var z=Tr+"-drag-handle";return{base:z,draggableId:z+"-draggable-id",contextId:z+"-context-id"}}(),ko=function(){var z=Tr+"-draggable";return{base:z,contextId:z+"-context-id",id:z+"-id"}}(),Gs=function(){var z=Tr+"-droppable";return{base:z,contextId:z+"-context-id",id:z+"-id"}}(),Di={contextId:Tr+"-scroll-container-context-id"},Hs=function(ee){return function(re){return"["+re+'="'+ee+'"]'}},Vr=function(ee,re){return ee.map(function(le){var ce=le.styles[re];return ce?le.selector+" { "+ce+" }":""}).join(" ")},Ws="pointer-events: none;",Zs=function(z){var ee=Hs(z),re=function(){var Ae=` - cursor: -webkit-grab; - cursor: grab; - `;return{selector:ee(Rr.contextId),styles:{always:` - -webkit-touch-callout: none; - -webkit-tap-highlight-color: rgba(0,0,0,0); - touch-action: manipulation; - `,resting:Ae,dragging:Ws,dropAnimating:Ae}}}(),le=function(){var Ae=` - transition: `+Kr.outOfTheWay+`; - `;return{selector:ee(ko.contextId),styles:{dragging:Ae,dropAnimating:Ae,userCancel:Ae}}}(),ce={selector:ee(Gs.contextId),styles:{always:"overflow-anchor: none;"}},ge={selector:"body",styles:{dragging:` - cursor: grabbing; - cursor: -webkit-grabbing; - user-select: none; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - overflow-anchor: none; - `}},he=[le,re,ce,ge];return{always:Vr(he,"always"),resting:Vr(he,"resting"),dragging:Vr(he,"dragging"),dropAnimating:Vr(he,"dropAnimating"),userCancel:Vr(he,"userCancel")}},ur=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined"?ne.useLayoutEffect:ne.useEffect,zo=function(){var ee=document.querySelector("head");return ee||xe(!1),ee},Ii=function(ee){var re=document.createElement("style");return ee&&re.setAttribute("nonce",ee),re.type="text/css",re};function js(z,ee){var re=gt(function(){return Zs(z)},[z]),le=(0,ne.useRef)(null),ce=(0,ne.useRef)(null),ge=St(Fn(function(Ze){var je=ce.current;je||xe(!1),je.textContent=Ze}),[]),he=St(function(Ze){var je=le.current;je||xe(!1),je.textContent=Ze},[]);ur(function(){!le.current&&!ce.current||xe(!1);var Ze=Ii(ee),je=Ii(ee);return le.current=Ze,ce.current=je,Ze.setAttribute(Tr+"-always",z),je.setAttribute(Tr+"-dynamic",z),zo().appendChild(Ze),zo().appendChild(je),he(re.always),ge(re.resting),function(){var ct=function(Ln){var Tn=Ln.current;Tn||xe(!1),zo().removeChild(Tn),Ln.current=null};ct(le),ct(ce)}},[ee,he,ge,re.always,re.resting,z]);var Ae=St(function(){return ge(re.dragging)},[ge,re.dragging]),He=St(function(Ze){if(Ze==="DROP"){ge(re.dropAnimating);return}ge(re.userCancel)},[ge,re.dropAnimating,re.userCancel]),$e=St(function(){ce.current&&ge(re.resting)},[ge,re.resting]),Qe=gt(function(){return{dragging:Ae,dropping:He,resting:$e}},[Ae,He,$e]);return Qe}var Oi=function(z){return z&&z.ownerDocument?z.ownerDocument.defaultView:window};function Yr(z){return z instanceof Oi(z).HTMLElement}function Ni(z,ee){var re="["+Rr.contextId+'="'+z+'"]',le=Ka(document.querySelectorAll(re));if(!le.length)return null;var ce=aa(le,function(ge){return ge.getAttribute(Rr.draggableId)===ee});return!ce||!Yr(ce)?null:ce}function Ks(z){var ee=(0,ne.useRef)({}),re=(0,ne.useRef)(null),le=(0,ne.useRef)(null),ce=(0,ne.useRef)(!1),ge=St(function(je,ct){var Ht={id:je,focus:ct};return ee.current[je]=Ht,function(){var Tn=ee.current,zn=Tn[je];zn!==Ht&&delete Tn[je]}},[]),he=St(function(je){var ct=Ni(z,je);ct&&ct!==document.activeElement&&ct.focus()},[z]),Ae=St(function(je,ct){re.current===je&&(re.current=ct)},[]),He=St(function(){le.current||ce.current&&(le.current=requestAnimationFrame(function(){le.current=null;var je=re.current;je&&he(je)}))},[he]),$e=St(function(je){re.current=null;var ct=document.activeElement;ct&&ct.getAttribute(Rr.draggableId)===je&&(re.current=je)},[]);ur(function(){return ce.current=!0,function(){ce.current=!1;var je=le.current;je&&cancelAnimationFrame(je)}},[]);var Qe=gt(function(){return{register:ge,tryRecordFocus:$e,tryRestoreFocusRecorded:He,tryShiftRecord:Ae}},[ge,$e,He,Ae]);return Qe}function Us(){var z={draggables:{},droppables:{}},ee=[];function re(Ze){return ee.push(Ze),function(){var ct=ee.indexOf(Ze);ct!==-1&&ee.splice(ct,1)}}function le(Ze){ee.length&&ee.forEach(function(je){return je(Ze)})}function ce(Ze){return z.draggables[Ze]||null}function ge(Ze){var je=ce(Ze);return je||xe(!1),je}var he={register:function(je){z.draggables[je.descriptor.id]=je,le({type:"ADDITION",value:je})},update:function(je,ct){var Ht=z.draggables[ct.descriptor.id];Ht&&Ht.uniqueId===je.uniqueId&&(delete z.draggables[ct.descriptor.id],z.draggables[je.descriptor.id]=je)},unregister:function(je){var ct=je.descriptor.id,Ht=ce(ct);Ht&&je.uniqueId===Ht.uniqueId&&(delete z.draggables[ct],le({type:"REMOVAL",value:je}))},getById:ge,findById:ce,exists:function(je){return!!ce(je)},getAllByType:function(je){return Pa(z.draggables).filter(function(ct){return ct.descriptor.type===je})}};function Ae(Ze){return z.droppables[Ze]||null}function He(Ze){var je=Ae(Ze);return je||xe(!1),je}var $e={register:function(je){z.droppables[je.descriptor.id]=je},unregister:function(je){var ct=Ae(je.descriptor.id);ct&&je.uniqueId===ct.uniqueId&&delete z.droppables[je.descriptor.id]},getById:He,findById:Ae,exists:function(je){return!!Ae(je)},getAllByType:function(je){return Pa(z.droppables).filter(function(ct){return ct.descriptor.type===je})}};function Qe(){z.draggables={},z.droppables={},ee.length=0}return{draggable:he,droppable:$e,subscribe:re,clean:Qe}}function Vs(){var z=gt(Us,[]);return(0,ne.useEffect)(function(){return function(){requestAnimationFrame(z.clean)}},[z]),z}var Go=ne.createContext(null),Xr=function(){var z=document.body;return z||xe(!1),z},Ys={position:"absolute",width:"1px",height:"1px",margin:"-1px",border:"0",padding:"0",overflow:"hidden",clip:"rect(0 0 0 0)","clip-path":"inset(100%)"},Xs=function(ee){return"rbd-announcement-"+ee};function Js(z){var ee=gt(function(){return Xs(z)},[z]),re=(0,ne.useRef)(null);(0,ne.useEffect)(function(){var ge=document.createElement("div");return re.current=ge,ge.id=ee,ge.setAttribute("aria-live","assertive"),ge.setAttribute("aria-atomic","true"),(0,Ne.Z)(ge.style,Ys),Xr().appendChild(ge),function(){setTimeout(function(){var He=Xr();He.contains(ge)&&He.removeChild(ge),ge===re.current&&(re.current=null)})}},[ee]);var le=St(function(ce){var ge=re.current;if(ge){ge.textContent=ce;return}},[]);return le}var Mi=0,Qs={separator:"::"};function qs(){Mi=0}function Ho(z,ee){return ee===void 0&&(ee=Qs),gt(function(){return""+z+ee.separator+Mi++},[ee.separator,z])}function $s(z){var ee=z.contextId,re=z.uniqueId;return"rbd-hidden-text-"+ee+"-"+re}function _s(z){var ee=z.contextId,re=z.text,le=Ho("hidden-text",{separator:"-"}),ce=gt(function(){return $s({contextId:ee,uniqueId:le})},[le,ee]);return(0,ne.useEffect)(function(){var he=document.createElement("div");return he.id=ce,he.textContent=re,he.style.display="none",Xr().appendChild(he),function(){var He=Xr();He.contains(he)&&He.removeChild(he)}},[ce,re]),ce}var ao=ne.createContext(null),ed={react:"^16.8.5","react-dom":"^16.8.5"},td=/(\d+)\.(\d+)\.(\d+)/,Ti=function(ee){var re=td.exec(ee);re==null&&xe(!1);var le=Number(re[1]),ce=Number(re[2]),ge=Number(re[3]);return{major:le,minor:ce,patch:ge,raw:ee}},nd=function(ee,re){return re.major>ee.major?!0:re.majoree.minor?!0:re.minor=ee.patch},ad=function(z,ee){var re=Ti(z),le=Ti(ee);nd(re,le)},Xu=` - We expect a html5 doctype: - This is to ensure consistent browser layout and measurement - - More information: https://github.com/atlassian/react-beautiful-dnd/blob/master/docs/guides/doctype.md -`,rd=function(z){var ee=z.doctype;ee&&(ee.name.toLowerCase(),ee.publicId)};function Ju(z){}function Jr(z,ee){}function od(){Jr(function(){ad(ed.react,ne.version),rd(document)},[])}function Wo(z){var ee=(0,ne.useRef)(z);return(0,ne.useEffect)(function(){ee.current=z}),ee}function id(){var z=null;function ee(){return!!z}function re(he){return he===z}function le(he){z&&xe(!1);var Ae={abandon:he};return z=Ae,Ae}function ce(){z||xe(!1),z=null}function ge(){z&&(z.abandon(),ce())}return{isClaimed:ee,isActive:re,claim:le,release:ce,tryAbandon:ge}}var ld=9,sd=13,Zo=27,Ri=32,dd=33,ud=34,cd=35,gd=36,md=37,fd=38,vd=39,pd=40,ro,hd=(ro={},ro[sd]=!0,ro[ld]=!0,ro),ki=function(z){hd[z.keyCode]&&z.preventDefault()},oo=function(){var z="visibilitychange";if(typeof document=="undefined")return z;var ee=[z,"ms"+z,"webkit"+z,"moz"+z,"o"+z],re=aa(ee,function(le){return"on"+le in document});return re||z}(),zi=0,Gi=5;function Sd(z,ee){return Math.abs(ee.x-z.x)>=Gi||Math.abs(ee.y-z.y)>=Gi}var Hi={type:"IDLE"};function Pd(z){var ee=z.cancel,re=z.completed,le=z.getPhase,ce=z.setPhase;return[{eventName:"mousemove",fn:function(he){var Ae=he.button,He=he.clientX,$e=he.clientY;if(Ae===zi){var Qe={x:He,y:$e},Ze=le();if(Ze.type==="DRAGGING"){he.preventDefault(),Ze.actions.move(Qe);return}Ze.type!=="PENDING"&&xe(!1);var je=Ze.point;if(Sd(je,Qe)){he.preventDefault();var ct=Ze.actions.fluidLift(Qe);ce({type:"DRAGGING",actions:ct})}}}},{eventName:"mouseup",fn:function(he){var Ae=le();if(Ae.type!=="DRAGGING"){ee();return}he.preventDefault(),Ae.actions.drop({shouldBlockNextClick:!0}),re()}},{eventName:"mousedown",fn:function(he){le().type==="DRAGGING"&&he.preventDefault(),ee()}},{eventName:"keydown",fn:function(he){var Ae=le();if(Ae.type==="PENDING"){ee();return}if(he.keyCode===Zo){he.preventDefault(),ee();return}ki(he)}},{eventName:"resize",fn:ee},{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(){le().type==="PENDING"&&ee()}},{eventName:"webkitmouseforcedown",fn:function(he){var Ae=le();if(Ae.type==="IDLE"&&xe(!1),Ae.actions.shouldRespectForcePress()){ee();return}he.preventDefault()}},{eventName:oo,fn:ee}]}function yd(z){var ee=(0,ne.useRef)(Hi),re=(0,ne.useRef)(_t),le=gt(function(){return{eventName:"mousedown",fn:function(Ze){if(!Ze.defaultPrevented&&Ze.button===zi&&!(Ze.ctrlKey||Ze.metaKey||Ze.shiftKey||Ze.altKey)){var je=z.findClosestDraggableId(Ze);if(je){var ct=z.tryGetLock(je,he,{sourceEvent:Ze});if(ct){Ze.preventDefault();var Ht={x:Ze.clientX,y:Ze.clientY};re.current(),$e(ct,Ht)}}}}}},[z]),ce=gt(function(){return{eventName:"webkitmouseforcewillbegin",fn:function(Ze){if(!Ze.defaultPrevented){var je=z.findClosestDraggableId(Ze);if(je){var ct=z.findOptionsForDraggable(je);ct&&(ct.shouldRespectForcePress||z.canGetLock(je)&&Ze.preventDefault())}}}}},[z]),ge=St(function(){var Ze={passive:!1,capture:!0};re.current=qt(window,[ce,le],Ze)},[ce,le]),he=St(function(){var Qe=ee.current;Qe.type!=="IDLE"&&(ee.current=Hi,re.current(),ge())},[ge]),Ae=St(function(){var Qe=ee.current;he(),Qe.type==="DRAGGING"&&Qe.actions.cancel({shouldBlockNextClick:!0}),Qe.type==="PENDING"&&Qe.actions.abort()},[he]),He=St(function(){var Ze={capture:!0,passive:!1},je=Pd({cancel:Ae,completed:he,getPhase:function(){return ee.current},setPhase:function(Ht){ee.current=Ht}});re.current=qt(window,je,Ze)},[Ae,he]),$e=St(function(Ze,je){ee.current.type!=="IDLE"&&xe(!1),ee.current={type:"PENDING",point:je,actions:Ze},He()},[He]);ur(function(){return ge(),function(){re.current()}},[ge])}var kr;function bd(){}var Ad=(kr={},kr[ud]=!0,kr[dd]=!0,kr[gd]=!0,kr[cd]=!0,kr);function Ed(z,ee){function re(){ee(),z.cancel()}function le(){ee(),z.drop()}return[{eventName:"keydown",fn:function(ge){if(ge.keyCode===Zo){ge.preventDefault(),re();return}if(ge.keyCode===Ri){ge.preventDefault(),le();return}if(ge.keyCode===pd){ge.preventDefault(),z.moveDown();return}if(ge.keyCode===fd){ge.preventDefault(),z.moveUp();return}if(ge.keyCode===vd){ge.preventDefault(),z.moveRight();return}if(ge.keyCode===md){ge.preventDefault(),z.moveLeft();return}if(Ad[ge.keyCode]){ge.preventDefault();return}ki(ge)}},{eventName:"mousedown",fn:re},{eventName:"mouseup",fn:re},{eventName:"click",fn:re},{eventName:"touchstart",fn:re},{eventName:"resize",fn:re},{eventName:"wheel",fn:re,options:{passive:!0}},{eventName:oo,fn:re}]}function Cd(z){var ee=(0,ne.useRef)(bd),re=gt(function(){return{eventName:"keydown",fn:function(ge){if(ge.defaultPrevented||ge.keyCode!==Ri)return;var he=z.findClosestDraggableId(ge);if(!he)return;var Ae=z.tryGetLock(he,Qe,{sourceEvent:ge});if(!Ae)return;ge.preventDefault();var He=!0,$e=Ae.snapLift();ee.current();function Qe(){He||xe(!1),He=!1,ee.current(),le()}ee.current=qt(window,Ed($e,Qe),{capture:!0,passive:!1})}}},[z]),le=St(function(){var ge={passive:!1,capture:!0};ee.current=qt(window,[re],ge)},[re]);ur(function(){return le(),function(){ee.current()}},[le])}var jo={type:"IDLE"},xd=120,wd=.15;function Bd(z){var ee=z.cancel,re=z.getPhase;return[{eventName:"orientationchange",fn:ee},{eventName:"resize",fn:ee},{eventName:"contextmenu",fn:function(ce){ce.preventDefault()}},{eventName:"keydown",fn:function(ce){if(re().type!=="DRAGGING"){ee();return}ce.keyCode===Zo&&ce.preventDefault(),ee()}},{eventName:oo,fn:ee}]}function Ld(z){var ee=z.cancel,re=z.completed,le=z.getPhase;return[{eventName:"touchmove",options:{capture:!1},fn:function(ge){var he=le();if(he.type!=="DRAGGING"){ee();return}he.hasMoved=!0;var Ae=ge.touches[0],He=Ae.clientX,$e=Ae.clientY,Qe={x:He,y:$e};ge.preventDefault(),he.actions.move(Qe)}},{eventName:"touchend",fn:function(ge){var he=le();if(he.type!=="DRAGGING"){ee();return}ge.preventDefault(),he.actions.drop({shouldBlockNextClick:!0}),re()}},{eventName:"touchcancel",fn:function(ge){if(le().type!=="DRAGGING"){ee();return}ge.preventDefault(),ee()}},{eventName:"touchforcechange",fn:function(ge){var he=le();he.type==="IDLE"&&xe(!1);var Ae=ge.touches[0];if(Ae){var He=Ae.force>=wd;if(He){var $e=he.actions.shouldRespectForcePress();if(he.type==="PENDING"){$e&&ee();return}if($e){if(he.hasMoved){ge.preventDefault();return}ee();return}ge.preventDefault()}}}},{eventName:oo,fn:ee}]}function Fd(z){var ee=(0,ne.useRef)(jo),re=(0,ne.useRef)(_t),le=St(function(){return ee.current},[]),ce=St(function(ct){ee.current=ct},[]),ge=gt(function(){return{eventName:"touchstart",fn:function(ct){if(!ct.defaultPrevented){var Ht=z.findClosestDraggableId(ct);if(Ht){var Ln=z.tryGetLock(Ht,Ae,{sourceEvent:ct});if(Ln){var Tn=ct.touches[0],zn=Tn.clientX,Jn=Tn.clientY,_n={x:zn,y:Jn};re.current(),Ze(Ln,_n)}}}}}},[z]),he=St(function(){var ct={capture:!0,passive:!1};re.current=qt(window,[ge],ct)},[ge]),Ae=St(function(){var je=ee.current;je.type!=="IDLE"&&(je.type==="PENDING"&&clearTimeout(je.longPressTimerId),ce(jo),re.current(),he())},[he,ce]),He=St(function(){var je=ee.current;Ae(),je.type==="DRAGGING"&&je.actions.cancel({shouldBlockNextClick:!0}),je.type==="PENDING"&&je.actions.abort()},[Ae]),$e=St(function(){var ct={capture:!0,passive:!1},Ht={cancel:He,completed:Ae,getPhase:le},Ln=qt(window,Ld(Ht),ct),Tn=qt(window,Bd(Ht),ct);re.current=function(){Ln(),Tn()}},[He,le,Ae]),Qe=St(function(){var ct=le();ct.type!=="PENDING"&&xe(!1);var Ht=ct.actions.fluidLift(ct.point);ce({type:"DRAGGING",actions:Ht,hasMoved:!1})},[le,ce]),Ze=St(function(ct,Ht){le().type!=="IDLE"&&xe(!1);var Ln=setTimeout(Qe,xd);ce({type:"PENDING",point:Ht,actions:ct,longPressTimerId:Ln}),$e()},[$e,le,ce,Qe]);ur(function(){return he(),function(){re.current();var Ht=le();Ht.type==="PENDING"&&(clearTimeout(Ht.longPressTimerId),ce(jo))}},[le,he,ce]),ur(function(){var ct=qt(window,[{eventName:"touchmove",fn:function(){},options:{capture:!1,passive:!1}}]);return ct},[])}function Dd(z){}var Id={input:!0,button:!0,textarea:!0,select:!0,option:!0,optgroup:!0,video:!0,audio:!0};function Wi(z,ee){if(ee==null)return!1;var re=!!Id[ee.tagName.toLowerCase()];if(re)return!0;var le=ee.getAttribute("contenteditable");return le==="true"||le===""?!0:ee===z?!1:Wi(z,ee.parentElement)}function Od(z,ee){var re=ee.target;return Yr(re)?Wi(z,re):!1}var Nd=function(z){return vn(z.getBoundingClientRect()).center};function Md(z){return z instanceof Oi(z).Element}var Td=function(){var z="matches";if(typeof document=="undefined")return z;var ee=[z,"msMatchesSelector","webkitMatchesSelector"],re=aa(ee,function(le){return le in Element.prototype});return re||z}();function Zi(z,ee){return z==null?null:z[Td](ee)?z:Zi(z.parentElement,ee)}function Rd(z,ee){return z.closest?z.closest(ee):Zi(z,ee)}function kd(z){return"["+Rr.contextId+'="'+z+'"]'}function zd(z,ee){var re=ee.target;if(!Md(re))return null;var le=kd(z),ce=Rd(re,le);return!ce||!Yr(ce)?null:ce}function Gd(z,ee){var re=zd(z,ee);return re?re.getAttribute(Rr.draggableId):null}function Hd(z,ee){var re="["+ko.contextId+'="'+z+'"]',le=Ka(document.querySelectorAll(re)),ce=aa(le,function(ge){return ge.getAttribute(ko.id)===ee});return!ce||!Yr(ce)?null:ce}function Wd(z){z.preventDefault()}function io(z){var ee=z.expected,re=z.phase,le=z.isLockActive,ce=z.shouldWarn;return!(!le()||ee!==re)}function ji(z){var ee=z.lockAPI,re=z.store,le=z.registry,ce=z.draggableId;if(ee.isClaimed())return!1;var ge=le.draggable.findById(ce);return!(!ge||!ge.options.isEnabled||!bi(re.getState(),ce))}function Zd(z){var ee=z.lockAPI,re=z.contextId,le=z.store,ce=z.registry,ge=z.draggableId,he=z.forceSensorStop,Ae=z.sourceEvent,He=ji({lockAPI:ee,store:le,registry:ce,draggableId:ge});if(!He)return null;var $e=ce.draggable.getById(ge),Qe=Hd(re,$e.descriptor.id);if(!Qe||Ae&&!$e.options.canDragInteractiveElements&&Od(Qe,Ae))return null;var Ze=ee.claim(he||_t),je="PRE_DRAG";function ct(){return $e.options.shouldRespectForcePress}function Ht(){return ee.isActive(Ze)}function Ln(Ba,Ha){io({expected:Ba,phase:je,isLockActive:Ht,shouldWarn:!0})&&le.dispatch(Ha())}var Tn=Ln.bind(null,"DRAGGING");function zn(Ba){function Ha(){ee.release(),je="COMPLETED"}je!=="PRE_DRAG"&&(Ha(),je!=="PRE_DRAG"&&xe(!1)),le.dispatch(Ll(Ba.liftActionArgs)),je="DRAGGING";function qa(Ua,$a){if($a===void 0&&($a={shouldBlockNextClick:!1}),Ba.cleanup(),$a.shouldBlockNextClick){var tr=qt(window,[{eventName:"click",fn:Wd,options:{once:!0,passive:!1,capture:!0}}]);setTimeout(tr)}Ha(),le.dispatch(ci({reason:Ua}))}return(0,Ne.Z)({isActive:function(){return io({expected:"DRAGGING",phase:je,isLockActive:Ht,shouldWarn:!1})},shouldRespectForcePress:ct,drop:function($a){return qa("DROP",$a)},cancel:function($a){return qa("CANCEL",$a)}},Ba.actions)}function Jn(Ba){var Ha=Rn(function(Ua){Tn(function(){return ui({client:Ua})})}),qa=zn({liftActionArgs:{id:ge,clientSelection:Ba,movementMode:"FLUID"},cleanup:function(){return Ha.cancel()},actions:{move:Ha}});return(0,Ne.Z)({},qa,{move:Ha})}function _n(){var Ba={moveUp:function(){return Tn(kl)},moveRight:function(){return Tn(Gl)},moveDown:function(){return Tn(zl)},moveLeft:function(){return Tn(Hl)}};return zn({liftActionArgs:{id:ge,clientSelection:Nd(Qe),movementMode:"SNAP"},cleanup:_t,actions:Ba})}function da(){var Ba=io({expected:"PRE_DRAG",phase:je,isLockActive:Ht,shouldWarn:!0});Ba&&ee.release()}var Oa={isActive:function(){return io({expected:"PRE_DRAG",phase:je,isLockActive:Ht,shouldWarn:!1})},shouldRespectForcePress:ct,fluidLift:Jn,snapLift:_n,abort:da};return Oa}var jd=[yd,Cd,Fd];function Kd(z){var ee=z.contextId,re=z.store,le=z.registry,ce=z.customSensors,ge=z.enableDefaultSensors,he=[].concat(ge?jd:[],ce||[]),Ae=(0,ne.useState)(function(){return id()})[0],He=St(function(Jn,_n){Jn.isDragging&&!_n.isDragging&&Ae.tryAbandon()},[Ae]);ur(function(){var Jn=re.getState(),_n=re.subscribe(function(){var da=re.getState();He(Jn,da),Jn=da});return _n},[Ae,re,He]),ur(function(){return Ae.tryAbandon},[Ae.tryAbandon]);var $e=St(function(zn){return ji({lockAPI:Ae,registry:le,store:re,draggableId:zn})},[Ae,le,re]),Qe=St(function(zn,Jn,_n){return Zd({lockAPI:Ae,registry:le,contextId:ee,store:re,draggableId:zn,forceSensorStop:Jn,sourceEvent:_n&&_n.sourceEvent?_n.sourceEvent:null})},[ee,Ae,le,re]),Ze=St(function(zn){return Gd(ee,zn)},[ee]),je=St(function(zn){var Jn=le.draggable.findById(zn);return Jn?Jn.options:null},[le.draggable]),ct=St(function(){Ae.isClaimed()&&(Ae.tryAbandon(),re.getState().phase!=="IDLE"&&re.dispatch(xo()))},[Ae,re]),Ht=St(Ae.isClaimed,[Ae]),Ln=gt(function(){return{canGetLock:$e,tryGetLock:Qe,findClosestDraggableId:Ze,findOptionsForDraggable:je,tryReleaseLock:ct,isLockClaimed:Ht}},[$e,Qe,Ze,je,ct,Ht]);Dd(he);for(var Tn=0;Tna.maximum)throw new Error("defaultValue must be between minimum and maximum, not: "+a.defaultValue);var E=go.Shape._FigureParameters[se];E||(E=[],go.Shape._FigureParameters[se]=E),E[y]=a};var Tt=[];function oe(se,y){var a=Tt.pop();return a===void 0?new go.Point(se,y):(a.x=se,a.y=y,a)}function ne(){var se=Tt.pop();return se===void 0?new go.Point:se}function Pe(se){Tt.push(se)}function Ye(se,y,a,E,b,x,te,ae,ie){ie||(ie=new go.Point);var ce=se-a,ge=b-te,fe=NaN,Le=NaN;if(ce===0)if(ge===0)se===a&&(fe=se,Le=y);else{var Ae=(x-ae)/ge,Ie=x-Ae*b;fe=se,Le=Ae*fe+Ie}else if(ge===0){var ve=(y-E)/ce,Xe=y-ve*se;fe=b,Le=ve*fe+Xe}else{var ve=(y-E)/ce,Ae=(x-ae)/ge,Xe=y-ve*se,Ie=x-Ae*b;fe=(Ie-Xe)/(ve-Ae),Le=ve*fe+Xe}return ie.x=fe,ie.y=Le,ie}function Oe(se,y,a,E,b,x,te,ae,ie,ce,ge,fe,Le,Ae){var Ie=1-ie,ve=ie,Xe=se*Ie+a*ve,Rt=y*Ie+E*ve,Yt=a*Ie+b*ve,qe=E*Ie+x*ve,ct=b*Ie+te*ve,Zt=x*Ie+ae*ve,qt=Xe*Ie+Yt*ve,an=Rt*Ie+qe*ve,Pt=Yt*Ie+ct*ve,Ot=qe*Ie+Zt*ve,mt=qt*Ie+Pt*ve,Qt=an*Ie+Ot*ve;ce.x=Xe,ce.y=Rt,ge.x=qt,ge.y=an,fe.x=mt,fe.y=Qt,Le.x=Pt,Le.y=Ot,Ae.x=ct,Ae.y=Zt}var De=new go.Spot(.156,.156),ke=new go.Spot(.844,.844),be=4*((Math.sqrt(2)-1)/3);go.Shape.setFigureParameter("RoundedRectangle",0,new Ft("CornerRounding",5)),go.Shape.defineFigureGenerator("RoundedRectangle",function(se,y,a){var E=se?se.parameter1:NaN;(isNaN(E)||E<0)&&(E=5),E=Math.min(E,y/3),E=Math.min(E,a/3);var b=E*be,x=new go.Geometry().add(new go.PathFigure(E,0,!0).add(new go.PathSegment(go.PathSegment.Line,y-E,0)).add(new go.PathSegment(go.PathSegment.Bezier,y,E,y-b,0,y,b)).add(new go.PathSegment(go.PathSegment.Line,y,a-E)).add(new go.PathSegment(go.PathSegment.Bezier,y-E,a,y,a-b,y-b,a)).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Bezier,0,a-E,b,a,0,a-b)).add(new go.PathSegment(go.PathSegment.Line,0,E)).add(new go.PathSegment(go.PathSegment.Bezier,E,0,0,b,b,0).close()));return b>1&&(x.spot1=new go.Spot(0,0,b,b),x.spot2=new go.Spot(1,1,-b,-b)),x}),go.Shape.defineFigureGenerator("Border","RoundedRectangle"),go.Shape.defineFigureGenerator("TriangleRight",function(se,y,a){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())).setSpots(0,.25,.5,.75)}),go.Shape.defineFigureGenerator("TriangleDown",function(se,y,a){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,.5*y,a).close())).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("TriangleLeft",function(se,y,a){return new go.Geometry().add(new go.PathFigure(y,a).add(new go.PathSegment(go.PathSegment.Line,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,y,0).close())).setSpots(.5,.25,1,.75)}),go.Shape.defineFigureGenerator("TriangleUp",function(se,y,a){return new go.Geometry().add(new go.PathFigure(y,a).add(new go.PathSegment(go.PathSegment.Line,0,a)).add(new go.PathSegment(go.PathSegment.Line,.5*y,0).close())).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("Triangle","TriangleUp"),go.Shape.defineFigureGenerator("Diamond",function(se,y,a){return new go.Geometry().add(new go.PathFigure(.5*y,0).add(new go.PathSegment(go.PathSegment.Line,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.5*y,a)).add(new go.PathSegment(go.PathSegment.Line,y,.5*a).close())).setSpots(.25,.25,.75,.75)}),go.Shape.defineFigureGenerator("LineH",function(se,y,a){var E=new go.Geometry(go.Geometry.Line);return E.startX=0,E.startY=a/2,E.endX=y,E.endY=a/2,E}),go.Shape.defineFigureGenerator("LineV",function(se,y,a){var E=new go.Geometry(go.Geometry.Line);return E.startX=y/2,E.startY=0,E.endX=y/2,E.endY=a,E}),go.Shape.defineFigureGenerator("BarH","Rectangle"),go.Shape.defineFigureGenerator("BarV","Rectangle"),go.Shape.defineFigureGenerator("MinusLine","LineH"),go.Shape.defineFigureGenerator("PlusLine",function(se,y,a){return new go.Geometry().add(new go.PathFigure(0,a/2,!1).add(new go.PathSegment(go.PathSegment.Line,y,a/2)).add(new go.PathSegment(go.PathSegment.Move,y/2,0)).add(new go.PathSegment(go.PathSegment.Line,y/2,a)))}),go.Shape.defineFigureGenerator("XLine",function(se,y,a){return new go.Geometry().add(new go.PathFigure(0,a,!1).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Move,0,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)))}),go.Shape.defineFigureGenerator("LineRight",function(se,y,a){return new go.Geometry().add(new go.PathFigure(.25*y,0,!1).add(new go.PathSegment(go.PathSegment.Line,.75*y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.25*y,a)))}),go.Shape.defineFigureGenerator("LineDown",function(se,y,a){return new go.Geometry().add(new go.PathFigure(0,.25*a,!1).add(new go.PathSegment(go.PathSegment.Line,.5*y,.75*a)).add(new go.PathSegment(go.PathSegment.Line,y,.25*a)))}),go.Shape.defineFigureGenerator("LineLeft",function(se,y,a){return new go.Geometry().add(new go.PathFigure(.75*y,0,!1).add(new go.PathSegment(go.PathSegment.Line,.25*y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.75*y,a)))}),go.Shape.defineFigureGenerator("LineUp",function(se,y,a){return new go.Geometry().add(new go.PathFigure(0,.75*a,!1).add(new go.PathSegment(go.PathSegment.Line,.5*y,.25*a)).add(new go.PathSegment(go.PathSegment.Line,y,.75*a)))}),go.Shape.defineFigureGenerator("AsteriskLine",function(se,y,a){var E=.2/Math.SQRT2;return new go.Geometry().add(new go.PathFigure(E*y,(1-E)*a,!1).add(new go.PathSegment(go.PathSegment.Line,(1-E)*y,E*a)).add(new go.PathSegment(go.PathSegment.Move,E*y,E*a)).add(new go.PathSegment(go.PathSegment.Line,(1-E)*y,(1-E)*a)).add(new go.PathSegment(go.PathSegment.Move,0,a/2)).add(new go.PathSegment(go.PathSegment.Line,y,a/2)).add(new go.PathSegment(go.PathSegment.Move,y/2,0)).add(new go.PathSegment(go.PathSegment.Line,y/2,a)))}),go.Shape.defineFigureGenerator("CircleLine",function(se,y,a){var E=y/2,b=new go.Geometry().add(new go.PathFigure(y,y/2,!1).add(new go.PathSegment(go.PathSegment.Arc,0,360,E,E,E,E).close()));return b.spot1=De,b.spot2=ke,b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("Line1",function(se,y,a){var E=new go.Geometry(go.Geometry.Line);return E.startX=0,E.startY=0,E.endX=y,E.endY=a,E}),go.Shape.defineFigureGenerator("Line2",function(se,y,a){var E=new go.Geometry(go.Geometry.Line);return E.startX=y,E.startY=0,E.endX=0,E.endY=a,E}),go.Shape.defineFigureGenerator("Curve1",function(se,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,y,a,be*y,0,y,(1-be)*a)))}),go.Shape.defineFigureGenerator("Curve2",function(se,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,y,a,0,be*a,(1-be)*y,a)))}),go.Shape.defineFigureGenerator("Curve3",function(se,y,a){return new go.Geometry().add(new go.PathFigure(y,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,a,y,be*a,be*y,a)))}),go.Shape.defineFigureGenerator("Curve4",function(se,y,a){return new go.Geometry().add(new go.PathFigure(y,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,a,(1-be)*y,0,0,(1-be)*a)))}),go.Shape.defineFigureGenerator("TriangleDownLeft",function(se,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())).setSpots(0,.5,.5,1)}),go.Shape.defineFigureGenerator("TriangleDownRight",function(se,y,a){return new go.Geometry().add(new go.PathFigure(y,0,!0).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())).setSpots(.5,.5,1,1)}),go.Shape.defineFigureGenerator("TriangleUpLeft",function(se,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())).setSpots(0,0,.5,.5)}),go.Shape.defineFigureGenerator("TriangleUpRight",function(se,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y,a).close())).setSpots(.5,0,1,.5)}),go.Shape.defineFigureGenerator("RightTriangle","TriangleDownLeft"),go.Shape.setFigureParameter("Parallelogram1",0,new Ft("Indent",.1,-.99,.99)),go.Shape.defineFigureGenerator("Parallelogram1",function(se,y,a){var E=se?se.parameter1:NaN;isNaN(E)?E=.1:E<-1?E=-1:E>1&&(E=1);var b=Math.abs(E)*y;if(E===0){var x=new go.Geometry(go.Geometry.Rectangle);return x.startX=0,x.startY=0,x.endX=y,x.endY=a,x}else{var x=new go.Geometry;return E>0?x.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y-b,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())):x.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,y-b,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,b,a).close())),by&&(E=y);var b=Math.abs(E);if(E===0){var x=new go.Geometry(go.Geometry.Rectangle);return x.startX=0,x.startY=0,x.endX=y,x.endY=a,x}else{var x=new go.Geometry;return E>0?x.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y-b,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())):x.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,y-b,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,b,a).close())),b.5&&(E=.5);var b=Math.abs(E)*y;if(E===0){var x=new go.Geometry(go.Geometry.Rectangle);return x.startX=0,x.startY=0,x.endX=y,x.endY=a,x}else{var x=new go.Geometry;return E>0?x.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,y-b,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())):x.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y-b,a)).add(new go.PathSegment(go.PathSegment.Line,b,a).close())),by&&(E=y/2);var b=Math.abs(E);if(E===0){var x=new go.Geometry(go.Geometry.Rectangle);return x.startX=0,x.startY=0,x.endX=y,x.endY=a,x}else{var x=new go.Geometry;return E>0?x.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,y-b,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())):x.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y-b,a)).add(new go.PathSegment(go.PathSegment.Line,b,a).close())),by&&(E=y/2);var b=Math.abs(E);if(E===0){var x=new go.Geometry(go.Geometry.Rectangle);return x.startX=0,x.startY=0,x.endX=y,x.endY=a,x}else{var x=new go.Geometry;return E>0?x.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y-b,a)).add(new go.PathSegment(go.PathSegment.Line,b,a).close())):x.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,y-b,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())),b0&&(te.add(new go.PathSegment(go.PathSegment.Move,y/2+ae,y/2)),te.add(new go.PathSegment(go.PathSegment.Arc,0,-360,b,b,ae,ae).close())),x.spot1=De,x.spot2=ke,x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("Cloud",function(se,y,a){return new go.Geometry().add(new go.PathFigure(.08034461*y,.1944299*a,!0).add(new go.PathSegment(go.PathSegment.Bezier,.2008615*y,.05349299*a,-.09239631*y,.07836421*a,.1406031*y,-.0542823*a)).add(new go.PathSegment(go.PathSegment.Bezier,.4338609*y,.074219*a,.2450511*y,-.00697547*a,.3776197*y,-.01112067*a)).add(new go.PathSegment(go.PathSegment.Bezier,.6558228*y,.07004196*a,.4539471*y,0,.6066018*y,-.02526587*a)).add(new go.PathSegment(go.PathSegment.Bezier,.8921095*y,.08370865*a,.6914277*y,-.01904177*a,.8921095*y,-.01220843*a)).add(new go.PathSegment(go.PathSegment.Bezier,.9147671*y,.3194596*a,1.036446*y,.04105738*a,1.020377*y,.3022052*a)).add(new go.PathSegment(go.PathSegment.Bezier,.9082935*y,.562044*a,1.04448*y,.360238*a,.992256*y,.5219009*a)).add(new go.PathSegment(go.PathSegment.Bezier,.9212406*y,.8217117*a,1.032337*y,.5771781*a,1.018411*y,.8120651*a)).add(new go.PathSegment(go.PathSegment.Bezier,.7592566*y,.9156953*a,1.028411*y,.9571472*a,.8556702*y,1.052487*a)).add(new go.PathSegment(go.PathSegment.Bezier,.5101666*y,.9310455*a,.7431877*y,1.009325*a,.5624123*y,1.021761*a)).add(new go.PathSegment(go.PathSegment.Bezier,.2609328*y,.9344623*a,.4820677*y,1.031761*a,.3030112*y,1.002796*a)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*y,.870098*a,.2329994*y,1.01518*a,.03213784*y,1.01518*a)).add(new go.PathSegment(go.PathSegment.Bezier,.06829292*y,.6545475*a,-.02812061*y,.9032597*a,-.01205169*y,.6835638*a)).add(new go.PathSegment(go.PathSegment.Bezier,.06427569*y,.4265613*a,-.01812061*y,.6089503*a,-.00606892*y,.4555777*a)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*y,.1944299*a,-.01606892*y,.3892545*a,-.01205169*y,.1944299*a))).setSpots(.1,.1,.9,.9)}),go.Shape.defineFigureGenerator("StopSign",function(se,y,a){var E=1/(Math.SQRT2+2);return new go.Geometry().add(new go.PathFigure(E*y,0,!0).add(new go.PathSegment(go.PathSegment.Line,(1-E)*y,0)).add(new go.PathSegment(go.PathSegment.Line,y,E*a)).add(new go.PathSegment(go.PathSegment.Line,y,(1-E)*a)).add(new go.PathSegment(go.PathSegment.Line,(1-E)*y,a)).add(new go.PathSegment(go.PathSegment.Line,E*y,a)).add(new go.PathSegment(go.PathSegment.Line,0,(1-E)*a)).add(new go.PathSegment(go.PathSegment.Line,0,E*a).close())).setSpots(E/2,E/2,1-E/2,1-E/2)}),go.Shape.setFigureParameter("Pie",0,new Ft("Start",0,-360,360)),go.Shape.setFigureParameter("Pie",1,new Ft("Sweep",315,-360,360)),go.Shape.defineFigureGenerator("Pie",function(se,y,a){var E=se?se.parameter1:NaN,b=se?se.parameter2:NaN;isNaN(E)&&(E=0),isNaN(b)&&(b=315);var x=E%360;x<0&&(x+=360);var te=b%360,ae=Math.min(y,a)/2;return new go.Geometry().add(new go.PathFigure(ae,ae).add(new go.PathSegment(go.PathSegment.Arc,x,te,ae,ae,ae,ae).close()))}),go.Shape.defineFigureGenerator("PiePiece",function(se,y,a){var E=be/Math.SQRT2*.5,b=Math.SQRT2/2,x=1-Math.SQRT2/2;return new go.Geometry().add(new go.PathFigure(y,a,!0).add(new go.PathSegment(go.PathSegment.Bezier,b*y,x*a,y,(1-E)*a,(b+E)*y,(x+E)*a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close()))}),go.Shape.setFigureParameter("ThickCross",0,new Ft("Thickness",30)),go.Shape.defineFigureGenerator("ThickCross",function(se,y,a){var E=se?se.parameter1:NaN;(isNaN(E)||E<0)&&(E=30);var b=Math.min(E,y)/2,x=y/2,te=a/2;return new go.Geometry().add(new go.PathFigure(x-b,0,!0).add(new go.PathSegment(go.PathSegment.Line,x+b,0)).add(new go.PathSegment(go.PathSegment.Line,x+b,te-b)).add(new go.PathSegment(go.PathSegment.Line,y,te-b)).add(new go.PathSegment(go.PathSegment.Line,y,te+b)).add(new go.PathSegment(go.PathSegment.Line,x+b,te+b)).add(new go.PathSegment(go.PathSegment.Line,x+b,a)).add(new go.PathSegment(go.PathSegment.Line,x-b,a)).add(new go.PathSegment(go.PathSegment.Line,x-b,te+b)).add(new go.PathSegment(go.PathSegment.Line,0,te+b)).add(new go.PathSegment(go.PathSegment.Line,0,te-b)).add(new go.PathSegment(go.PathSegment.Line,x-b,te-b).close()))}),go.Shape.setFigureParameter("ThinCross",0,new Ft("Thickness",10)),go.Shape.defineFigureGenerator("ThinCross",function(se,y,a){var E=se?se.parameter1:NaN;(isNaN(E)||E<0)&&(E=10);var b=Math.min(E,y)/2,x=y/2,te=a/2;return new go.Geometry().add(new go.PathFigure(x-b,0,!0).add(new go.PathSegment(go.PathSegment.Line,x+b,0)).add(new go.PathSegment(go.PathSegment.Line,x+b,te-b)).add(new go.PathSegment(go.PathSegment.Line,y,te-b)).add(new go.PathSegment(go.PathSegment.Line,y,te+b)).add(new go.PathSegment(go.PathSegment.Line,x+b,te+b)).add(new go.PathSegment(go.PathSegment.Line,x+b,a)).add(new go.PathSegment(go.PathSegment.Line,x-b,a)).add(new go.PathSegment(go.PathSegment.Line,x-b,te+b)).add(new go.PathSegment(go.PathSegment.Line,0,te+b)).add(new go.PathSegment(go.PathSegment.Line,0,te-b)).add(new go.PathSegment(go.PathSegment.Line,x-b,te-b).close()))}),go.Shape.setFigureParameter("ThickX",0,new Ft("Thickness",30)),go.Shape.defineFigureGenerator("ThickX",function(se,y,a){var E=se?se.parameter1:NaN;if((isNaN(E)||E<0)&&(E=30),y===0||a===0){var b=new go.Geometry(go.Geometry.Rectangle);return b.startX=0,b.startY=0,b.endX=y,b.endY=a,b}else{var x=y/2,te=a/2,ae=Math.atan2(a,y),ie=E-Math.min(Math.cos(ae)*E/2,x),ce=E-Math.min(Math.sin(ae)*E/2,te),b=new go.Geometry,ge=new go.PathFigure(ie,0,!0);return b.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,x,.2*a)),ge.add(new go.PathSegment(go.PathSegment.Line,y-ie,0)),ge.add(new go.PathSegment(go.PathSegment.Line,y,ce)),ge.add(new go.PathSegment(go.PathSegment.Line,.8*y,te)),ge.add(new go.PathSegment(go.PathSegment.Line,y,a-ce)),ge.add(new go.PathSegment(go.PathSegment.Line,y-ie,a)),ge.add(new go.PathSegment(go.PathSegment.Line,x,.8*a)),ge.add(new go.PathSegment(go.PathSegment.Line,ie,a)),ge.add(new go.PathSegment(go.PathSegment.Line,0,a-ce)),ge.add(new go.PathSegment(go.PathSegment.Line,.2*y,te)),ge.add(new go.PathSegment(go.PathSegment.Line,0,ce).close()),b}}),go.Shape.setFigureParameter("ThinX",0,new Ft("Thickness",10)),go.Shape.defineFigureGenerator("ThinX",function(se,y,a){var E=se?se.parameter1:NaN;(isNaN(E)||E<0)&&(E=10);var b=new go.Geometry,x=new go.PathFigure(.1*y,0,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*y,.4*a)),x.add(new go.PathSegment(go.PathSegment.Line,.9*y,0)),x.add(new go.PathSegment(go.PathSegment.Line,y,.1*a)),x.add(new go.PathSegment(go.PathSegment.Line,.6*y,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,y,.9*a)),x.add(new go.PathSegment(go.PathSegment.Line,.9*y,a)),x.add(new go.PathSegment(go.PathSegment.Line,.5*y,.6*a)),x.add(new go.PathSegment(go.PathSegment.Line,.1*y,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,.9*a)),x.add(new go.PathSegment(go.PathSegment.Line,.4*y,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,.1*a).close()),b}),go.Shape.setFigureParameter("SquareIBeam",0,new Ft("BeamWidth",.2,.1,.9)),go.Shape.defineFigureGenerator("SquareIBeam",function(se,y,a){var E=se?se.parameter1:NaN;isNaN(E)&&(E=.2);var b=new go.Geometry,x=new go.PathFigure(0,0,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,0)),x.add(new go.PathSegment(go.PathSegment.Line,y,E*a)),x.add(new go.PathSegment(go.PathSegment.Line,(.5+E/2)*y,E*a)),x.add(new go.PathSegment(go.PathSegment.Line,(.5+E/2)*y,(1-E)*a)),x.add(new go.PathSegment(go.PathSegment.Line,y,(1-E)*a)),x.add(new go.PathSegment(go.PathSegment.Line,y,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,(1-E)*a)),x.add(new go.PathSegment(go.PathSegment.Line,(.5-E/2)*y,(1-E)*a)),x.add(new go.PathSegment(go.PathSegment.Line,(.5-E/2)*y,E*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,E*a).close()),b}),go.Shape.setFigureParameter("RoundedIBeam",0,new Ft("Curviness",.5,.05,.65)),go.Shape.defineFigureGenerator("RoundedIBeam",function(se,y,a){var E=se?se.parameter1:NaN;isNaN(E)&&(E=.5);var b=new go.Geometry,x=new go.PathFigure(0,0,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,0)),x.add(new go.PathSegment(go.PathSegment.Bezier,y,a,Math.abs(1-E)*y,.25*a,Math.abs(1-E)*y,.75*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a)),x.add(new go.PathSegment(go.PathSegment.Bezier,0,0,E*y,.75*a,E*y,.25*a).close()),b}),go.Shape.defineFigureGenerator("HalfEllipse",function(se,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,be*y,0,y,(.5-be/2)*a)).add(new go.PathSegment(go.PathSegment.Bezier,0,a,y,(.5+be/2)*a,be*y,a).close())).setSpots(0,.156,.844,.844)}),go.Shape.defineFigureGenerator("Crescent",function(se,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,a,y,0,y,a)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.5*y,.75*a,.5*y,.25*a).close())).setSpots(.311,.266,.744,.744)}),go.Shape.defineFigureGenerator("Heart",function(se,y,a){return new go.Geometry().add(new go.PathFigure(.5*y,a,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,.3*a,.1*y,.8*a,0,.5*a)).add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.3*a,0,0,.45*y,0)).add(new go.PathSegment(go.PathSegment.Bezier,y,.3*a,.55*y,0,y,0)).add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,y,.5*a,.9*y,.8*a).close())).setSpots(.14,.29,.86,.78)}),go.Shape.defineFigureGenerator("Spade",function(se,y,a){return new go.Geometry().add(new go.PathFigure(.5*y,0,!0).add(new go.PathSegment(go.PathSegment.Line,.51*y,.01*a)).add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,.6*y,.2*a,y,.25*a)).add(new go.PathSegment(go.PathSegment.Bezier,.55*y,.7*a,y,.8*a,.6*y,.8*a)).add(new go.PathSegment(go.PathSegment.Bezier,.75*y,a,.5*y,.75*a,.55*y,.95*a)).add(new go.PathSegment(go.PathSegment.Line,.25*y,a)).add(new go.PathSegment(go.PathSegment.Bezier,.45*y,.7*a,.45*y,.95*a,.5*y,.75*a)).add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,.4*y,.8*a,0,.8*a)).add(new go.PathSegment(go.PathSegment.Bezier,.49*y,.01*a,0,.25*a,.4*y,.2*a).close())).setSpots(.14,.26,.86,.78)}),go.Shape.defineFigureGenerator("Club",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(.4*y,.6*a,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.15*y,a,.5*y,.75*a,.45*y,.95*a)),b.add(new go.PathSegment(go.PathSegment.Line,.85*y,a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.6*y,.6*a,.55*y,.95*a,.5*y,.75*a));var x=.2,te=.3,ae=0,ie=x*be;return b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*y,(.5+x+ae)*a,(.5-x+te)*y,(.5+ie+ae)*a,(.5-ie+te)*y,(.5+x+ae)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+x+te)*y,(.5+ae)*a,(.5+ie+te)*y,(.5+x+ae)*a,(.5+x+te)*y,(.5+ie+ae)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*y,(.5-x+ae)*a,(1-.5+x+te)*y,(.5-ie+ae)*a,(.5+ie+te)*y,(.5-x+ae)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.65*y,.36771243*a,(.5-ie+te)*y,(.5-x+ae)*a,(.5-x+te+.05)*y,(.5-ie+ae-.02)*a)),x=.2,te=0,ae=-.3,ie=x*be,b.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+x+te)*y,(.5+ae)*a,(.5+ie+te)*y,(.5+x+ae)*a,(.5+x+te)*y,(.5+ie+ae)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*y,(.5-x+ae)*a,(1-.5+x+te)*y,(.5-ie+ae)*a,(.5+ie+te)*y,(.5-x+ae)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-x+te)*y,(.5+ae)*a,(.5-ie+te)*y,(.5-x+ae)*a,(.5-x+te)*y,(.5-ie+ae)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-ie+te)*y,(.5+x+ae)*a,(.5-x+te)*y,(.5+ie+ae)*a,(.5-ie+te)*y,(.5+x+ae)*a)),x=.2,te=-.3,ae=0,ie=x*be,b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*y,(.5-x+ae)*a,(1-.5+x+te-.05)*y,(.5-ie+ae-.02)*a,(.5+ie+te)*y,(.5-x+ae)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-x+te)*y,(.5+ae)*a,(.5-ie+te)*y,(.5-x+ae)*a,(.5-x+te)*y,(.5-ie+ae)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*y,(.5+x+ae)*a,(.5-x+te)*y,(.5+ie+ae)*a,(.5-ie+te)*y,(.5+x+ae)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.4*y,.6*a,(.5+ie+te)*y,(.5+x+ae)*a,(.5+x+te)*y,(.5+ie+ae)*a).close()),E.setSpots(.06,.33,.93,.68),E}),go.Shape.defineFigureGenerator("YinYang",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(y*.5,0,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,270,180,y*.5,y*.5,y*.5,y*.5)),b.add(new go.PathSegment(go.PathSegment.Arc,90,-180,y*.5,y*.75,y*.25,y*.25)),b.add(new go.PathSegment(go.PathSegment.Arc,90,180,y*.5,y*.25,y*.25,y*.25));var x=.1,te=.5,ae=.25;return b.add(new go.PathSegment(go.PathSegment.Move,(te+x)*y,ae*a)),b.add(new go.PathSegment(go.PathSegment.Arc,0,-360,y*te,a*ae,x*y,x*y).close()),b=new go.PathFigure(y*.5,0,!1),E.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,270,-180,y*.5,y*.5,y*.5,y*.5)),ae=.75,b=new go.PathFigure((te+x)*y,ae*a,!0),E.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,0,360,y*te,a*ae,x*y,x*y).close()),E.defaultStretch=go.GraphObject.Uniform,E}),go.Shape.defineFigureGenerator("Peace",function(se,y,a){var E=.8535533905932737,b=.5*y,x=.5*a;return new go.Geometry().add(new go.PathFigure(b,0,!1).add(new go.PathSegment(go.PathSegment.Arc,270,360,b,x,b,x)).add(new go.PathSegment(go.PathSegment.Line,b,a)).add(new go.PathSegment(go.PathSegment.Move,b,x)).add(new go.PathSegment(go.PathSegment.Line,(1-E)*y,E*a)).add(new go.PathSegment(go.PathSegment.Move,b,x)).add(new go.PathSegment(go.PathSegment.Line,E*y,E*a)))}),go.Shape.defineFigureGenerator("NotAllowed",function(se,y,a){var E=new go.Geometry,b=be*.5,x=.5,te=.5,ae=.5,ie=new go.PathFigure(te*y,(ae-x)*a);E.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,(te-x)*y,ae*a,(te-b)*y,(ae-x)*a,(te-x)*y,(ae-b)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,te*y,(ae+x)*a,(te-x)*y,(ae+b)*a,(te-b)*y,(ae+x)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(te+x)*y,ae*a,(te+b)*y,(ae+x)*a,(te+x)*y,(ae+b)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,te*y,(ae-x)*a,(te+x)*y,(ae-b)*a,(te+b)*y,(ae-x)*a)),x=.4,b=be*.4;var ce=ne(),ge=ne(),fe=ne(),Le=ne();Oe(te,ae-x,te+b,ae-x,te+x,ae-b,te+x,ae,.42,ce,ge,fe,Le,Le);var Ae=ne(),Ie=ne(),ve=ne();Oe(te,ae-x,te+b,ae-x,te+x,ae-b,te+x,ae,.58,Le,Le,ve,Ae,Ie);var Xe=ne(),Rt=ne(),Yt=ne();Oe(te,ae+x,te-b,ae+x,te-x,ae+b,te-x,ae,.42,Xe,Rt,Yt,Le,Le);var qe=ne(),ct=ne(),Zt=ne();return Oe(te,ae+x,te-b,ae+x,te-x,ae+b,te-x,ae,.58,Le,Le,Zt,qe,ct),ie.add(new go.PathSegment(go.PathSegment.Move,Zt.x*y,Zt.y*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(te-x)*y,ae*a,qe.x*y,qe.y*a,ct.x*y,ct.y*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,te*y,(ae-x)*a,(te-x)*y,(ae-b)*a,(te-b)*y,(ae-x)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,fe.x*y,fe.y*a,ce.x*y,ce.y*a,ge.x*y,ge.y*a)),ie.add(new go.PathSegment(go.PathSegment.Line,Zt.x*y,Zt.y*a).close()),ie.add(new go.PathSegment(go.PathSegment.Move,Yt.x*y,Yt.y*a)),ie.add(new go.PathSegment(go.PathSegment.Line,ve.x*y,ve.y*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(te+x)*y,ae*a,Ae.x*y,Ae.y*a,Ie.x*y,Ie.y*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,te*y,(ae+x)*a,(te+x)*y,(ae+b)*a,(te+b)*y,(ae+x)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,Yt.x*y,Yt.y*a,Xe.x*y,Xe.y*a,Rt.x*y,Rt.y*a).close()),Pe(ce),Pe(ge),Pe(fe),Pe(Le),Pe(Ae),Pe(Ie),Pe(ve),Pe(Xe),Pe(Rt),Pe(Yt),Pe(qe),Pe(ct),Pe(Zt),E.defaultStretch=go.GraphObject.Uniform,E}),go.Shape.defineFigureGenerator("Fragile",function(se,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.25*y,0)).add(new go.PathSegment(go.PathSegment.Line,.2*y,.15*a)).add(new go.PathSegment(go.PathSegment.Line,.3*y,.25*a)).add(new go.PathSegment(go.PathSegment.Line,.29*y,.33*a)).add(new go.PathSegment(go.PathSegment.Line,.35*y,.25*a)).add(new go.PathSegment(go.PathSegment.Line,.3*y,.15*a)).add(new go.PathSegment(go.PathSegment.Line,.4*y,0)).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Bezier,.55*y,.5*a,y,.25*a,.75*y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.55*y,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.7*y,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.7*y,a)).add(new go.PathSegment(go.PathSegment.Line,.3*y,a)).add(new go.PathSegment(go.PathSegment.Line,.3*y,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.45*y,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.45*y,.5*a)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*y,.5*a,0,.25*a).close()))}),go.Shape.setFigureParameter("HourGlass",0,new Ft("Thickness",30)),go.Shape.defineFigureGenerator("HourGlass",function(se,y,a){var E=se?se.parameter1:NaN;(isNaN(E)||E<0)&&(E=30),E>y&&(E=y);var b=(y-E)/2,x=b+E;return new go.Geometry().add(new go.PathFigure(x,.5*a).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a)).add(new go.PathSegment(go.PathSegment.Line,b,.5*a)).add(new go.PathSegment(go.PathSegment.Line,0,0)).add(new go.PathSegment(go.PathSegment.Line,y,0).close()))}),go.Shape.defineFigureGenerator("Lightning",function(se,y,a){return new go.Geometry().add(new go.PathFigure(0,.55*a).add(new go.PathSegment(go.PathSegment.Line,.6*y,0)).add(new go.PathSegment(go.PathSegment.Line,.3*y,.45*a)).add(new go.PathSegment(go.PathSegment.Line,y,.45*a)).add(new go.PathSegment(go.PathSegment.Line,.4*y,a)).add(new go.PathSegment(go.PathSegment.Line,.7*y,.55*a).close()))}),go.Shape.defineFigureGenerator("GenderMale",function(se,y,a){var E=new go.Geometry,b=be*.4,x=.4,te=.5,ae=.5,ie=ne(),ce=ne(),ge=ne(),fe=ne(),Le=new go.PathFigure((te-x)*y,ae*a,!1);E.add(Le),Le.add(new go.PathSegment(go.PathSegment.Bezier,te*y,(ae-x)*a,(te-x)*y,(ae-b)*a,(te-b)*y,(ae-x)*a)),Oe(te,ae-x,te+b,ae-x,te+x,ae-b,te+x,ae,.44,ge,fe,ce,ie,ie),Le.add(new go.PathSegment(go.PathSegment.Bezier,ce.x*y,ce.y*a,ge.x*y,ge.y*a,fe.x*y,fe.y*a));var Ae=oe(ce.x,ce.y);Oe(te,ae-x,te+b,ae-x,te+x,ae-b,te+x,ae,.56,ie,ie,ce,ge,fe);var Ie=oe(ce.x,ce.y);Le.add(new go.PathSegment(go.PathSegment.Line,(Ae.x*.1+.95*.9)*y,Ae.y*.1*a)),Le.add(new go.PathSegment(go.PathSegment.Line,.85*y,Ae.y*.1*a)),Le.add(new go.PathSegment(go.PathSegment.Line,.85*y,0)),Le.add(new go.PathSegment(go.PathSegment.Line,y,0)),Le.add(new go.PathSegment(go.PathSegment.Line,y,.15*a)),Le.add(new go.PathSegment(go.PathSegment.Line,(Ie.x*.1+.9)*y,.15*a)),Le.add(new go.PathSegment(go.PathSegment.Line,(Ie.x*.1+.9)*y,(Ie.y*.1+.05*.9)*a)),Le.add(new go.PathSegment(go.PathSegment.Line,Ie.x*y,Ie.y*a)),Le.add(new go.PathSegment(go.PathSegment.Bezier,(te+x)*y,ae*a,ge.x*y,ge.y*a,fe.x*y,fe.y*a)),Le.add(new go.PathSegment(go.PathSegment.Bezier,te*y,(ae+x)*a,(te+x)*y,(ae+b)*a,(te+b)*y,(ae+x)*a)),Le.add(new go.PathSegment(go.PathSegment.Bezier,(te-x)*y,ae*a,(te-b)*y,(ae+x)*a,(te-x)*y,(ae+b)*a)),x=.35,b=be*.35;var ve=new go.PathFigure(te*y,(ae-x)*a,!1);E.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,(te-x)*y,ae*a,(te-b)*y,(ae-x)*a,(te-x)*y,(ae-b)*a)),ve.add(new go.PathSegment(go.PathSegment.Bezier,te*y,(ae+x)*a,(te-x)*y,(ae+b)*a,(te-b)*y,(ae+x)*a)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(te+x)*y,ae*a,(te+b)*y,(ae+x)*a,(te+x)*y,(ae+b)*a)),ve.add(new go.PathSegment(go.PathSegment.Bezier,te*y,(ae-x)*a,(te+x)*y,(ae-b)*a,(te+b)*y,(ae-x)*a));var Xe=new go.PathFigure((te-x)*y,ae*a,!1);return E.add(Xe),Pe(ie),Pe(ce),Pe(ge),Pe(fe),Pe(Ae),Pe(Ie),E.spot1=new go.Spot(.202,.257),E.spot2=new go.Spot(.792,.739),E.defaultStretch=go.GraphObject.Uniform,E}),go.Shape.defineFigureGenerator("GenderFemale",function(se,y,a){var E=new go.Geometry,b=.375,x=0,te=-.125,ae=b*be,ie=new go.PathFigure((.525+x)*y,(.5+b+te)*a,!1);E.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+b+x)*y,(.5+te)*a,(.5+ae+x)*y,(.5+b+te)*a,(.5+b+x)*y,(.5+ae+te)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(.5+x)*y,(.5-b+te)*a,(1-.5+b+x)*y,(.5-ae+te)*a,(.5+ae+x)*y,(.5-b+te)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+x)*y,(.5+te)*a,(.5-ae+x)*y,(.5-b+te)*a,(.5-b+x)*y,(.5-ae+te)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(.475+x)*y,(.5+b+te)*a,(.5-b+x)*y,(.5+ae+te)*a,(.5-ae+x)*y,(.5+b+te)*a)),ie.add(new go.PathSegment(go.PathSegment.Line,.475*y,.85*a)),ie.add(new go.PathSegment(go.PathSegment.Line,.425*y,.85*a)),ie.add(new go.PathSegment(go.PathSegment.Line,.425*y,.9*a)),ie.add(new go.PathSegment(go.PathSegment.Line,.475*y,.9*a)),ie.add(new go.PathSegment(go.PathSegment.Line,.475*y,a)),ie.add(new go.PathSegment(go.PathSegment.Line,.525*y,a)),ie.add(new go.PathSegment(go.PathSegment.Line,.525*y,.9*a)),ie.add(new go.PathSegment(go.PathSegment.Line,.575*y,.9*a)),ie.add(new go.PathSegment(go.PathSegment.Line,.575*y,.85*a)),ie.add(new go.PathSegment(go.PathSegment.Line,.525*y,.85*a).close()),b=.325,x=0,te=-.125,ae=b*be;var ie=new go.PathFigure((1-.5+b+x)*y,(.5+te)*a,!1);E.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,(.5+x)*y,(.5+b+te)*a,(.5+b+x)*y,(.5+ae+te)*a,(.5+ae+x)*y,(.5+b+te)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+x)*y,(.5+te)*a,(.5-ae+x)*y,(.5+b+te)*a,(.5-b+x)*y,(.5+ae+te)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(.5+x)*y,(.5-b+te)*a,(.5-b+x)*y,(.5-ae+te)*a,(.5-ae+x)*y,(.5-b+te)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+b+x)*y,(.5+te)*a,(.5+ae+x)*y,(.5-b+te)*a,(1-.5+b+x)*y,(.5-ae+te)*a));var ie=new go.PathFigure((.525+x)*y,(.5+b+te)*a,!1);return E.add(ie),E.spot1=new go.Spot(.232,.136),E.spot2=new go.Spot(.682,.611),E.defaultStretch=go.GraphObject.Uniform,E}),go.Shape.defineFigureGenerator("LogicImplies",function(se,y,a){var E=se?se.parameter1:NaN;return isNaN(E)&&(E=.2),new go.Geometry().add(new go.PathFigure((1-E)*y,0,!1).add(new go.PathSegment(go.PathSegment.Line,y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,(1-E)*y,a)).add(new go.PathSegment(go.PathSegment.Move,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,y,.5*a))).setSpots(0,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicIff",function(se,y,a){var E=se?se.parameter1:NaN;return isNaN(E)&&(E=.2),new go.Geometry().add(new go.PathFigure((1-E)*y,0,!1).add(new go.PathSegment(go.PathSegment.Line,y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,(1-E)*y,a)).add(new go.PathSegment(go.PathSegment.Move,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,y,.5*a)).add(new go.PathSegment(go.PathSegment.Move,E*y,0)).add(new go.PathSegment(go.PathSegment.Line,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,E*y,a))).setSpots(.2,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicNot",function(se,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)))}),go.Shape.defineFigureGenerator("LogicAnd",function(se,y,a){return new go.Geometry().add(new go.PathFigure(0,a,!1).add(new go.PathSegment(go.PathSegment.Line,.5*y,0)).add(new go.PathSegment(go.PathSegment.Line,y,a))).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("LogicOr",function(se,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*y,a)).add(new go.PathSegment(go.PathSegment.Line,y,0))).setSpots(.219,0,.78,.409)}),go.Shape.defineFigureGenerator("LogicXor",function(se,y,a){var E=new go.Geometry().add(new go.PathFigure(.5*y,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*y,a)).add(new go.PathSegment(go.PathSegment.Move,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,y,.5*a)).add(new go.PathSegment(go.PathSegment.Arc,0,360,.5*y,.5*a,.5*y,.5*a)));return E.defaultStretch=go.GraphObject.Uniform,E}),go.Shape.defineFigureGenerator("LogicTruth",function(se,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Move,.5*y,0)).add(new go.PathSegment(go.PathSegment.Line,.5*y,a)))}),go.Shape.defineFigureGenerator("LogicFalsity",function(se,y,a){return new go.Geometry().add(new go.PathFigure(0,a,!1).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Move,.5*y,a)).add(new go.PathSegment(go.PathSegment.Line,.5*y,0)))}),go.Shape.defineFigureGenerator("LogicThereExists",function(se,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,0,.5*a)).add(new go.PathSegment(go.PathSegment.Move,y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a)))}),go.Shape.defineFigureGenerator("LogicForAll",function(se,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*y,a)).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Move,.25*y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.75*y,.5*a))).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("LogicIsDefinedAs",function(se,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Move,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,y,.5*a)).add(new go.PathSegment(go.PathSegment.Move,0,a)).add(new go.PathSegment(go.PathSegment.Line,y,a))).setSpots(.01,.01,.99,.49)}),go.Shape.defineFigureGenerator("LogicIntersect",function(se,y,a){var E=.5;return new go.Geometry().add(new go.PathFigure(0,a,!1).add(new go.PathSegment(go.PathSegment.Line,0,E*a)).add(new go.PathSegment(go.PathSegment.Arc,180,180,E*y,E*a,E*y,E*a)).add(new go.PathSegment(go.PathSegment.Line,y,a))).setSpots(0,.5,1,1)}),go.Shape.defineFigureGenerator("LogicUnion",function(se,y,a){var E=.5;return new go.Geometry().add(new go.PathFigure(y,0,!1).add(new go.PathSegment(go.PathSegment.Line,y,E*a)).add(new go.PathSegment(go.PathSegment.Arc,0,180,E*y,E*a,E*y,E*a)).add(new go.PathSegment(go.PathSegment.Line,0,0))).setSpots(0,0,1,.5)}),go.Shape.setFigureParameter("Arrow",0,new Ft("ArrowheadWidth",.3,.01,.99)),go.Shape.setFigureParameter("Arrow",1,new Ft("TailHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("Arrow",function(se,y,a){var E=se?se.parameter1:NaN;isNaN(E)&&(E=.3);var b=se?se.parameter2:NaN;isNaN(b)&&(b=.3);var x=(1-E)*y,te=(.5-b/2)*a,ae=(.5+b/2)*a,ie=new go.Geometry,ce=new go.PathFigure(0,te,!0);ie.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,x,te)),ce.add(new go.PathSegment(go.PathSegment.Line,x,0)),ce.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),ce.add(new go.PathSegment(go.PathSegment.Line,x,a)),ce.add(new go.PathSegment(go.PathSegment.Line,x,ae)),ce.add(new go.PathSegment(go.PathSegment.Line,0,ae).close()),ie.spot1=new go.Spot(0,te/a);var ge=Ye(0,ae/a,1,ae/a,x/y,1,1,.5,ne());return ie.spot2=new go.Spot(ge.x,ge.y),Pe(ge),ie}),go.Shape.setFigureParameter("Arrow2",0,new Ft("ArrowheadWidth",30)),go.Shape.setFigureParameter("Arrow2",0,new Ft("TailHeight",30)),go.Shape.defineFigureGenerator("Arrow2",function(se,y,a){var E=se?se.parameter1:NaN;isNaN(E)&&(E=30),E>y&&(E=y);var b=se?se.parameter2:NaN;isNaN(b)&&(b=30),b=Math.min(b,a/2);var x=y-E,te=(a-b)/2,ae=te+b,ie=new go.Geometry,ce=new go.PathFigure(0,te,!0);ie.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,x,te)),ce.add(new go.PathSegment(go.PathSegment.Line,x,0)),ce.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),ce.add(new go.PathSegment(go.PathSegment.Line,x,a)),ce.add(new go.PathSegment(go.PathSegment.Line,x,ae)),ce.add(new go.PathSegment(go.PathSegment.Line,0,ae).close()),ie.spot1=new go.Spot(0,te/a);var ge=Ye(0,ae/a,1,ae/a,x/y,1,1,.5,ne());return ie.spot2=new go.Spot(ge.x,ge.y),Pe(ge),ie}),go.Shape.defineFigureGenerator("Chevron",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(0,0,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a).close()),E}),go.Shape.defineFigureGenerator("DoubleArrow",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(0,0,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.3*y,.214*a)),b.add(new go.PathSegment(go.PathSegment.Line,.3*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,1*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.3*y,1*a)),b.add(new go.PathSegment(go.PathSegment.Line,.3*y,.786*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,1*a).close()),E}),go.Shape.setFigureParameter("DoubleEndArrow",0,new Ft("ConnecterHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("DoubleEndArrow",function(se,y,a){var E=se?se.parameter1:NaN;isNaN(E)&&(E=.3);var b=(.5-E/2)*a,x=(.5+E/2)*a,te=new go.Geometry,ae=new go.PathFigure(y,.5*a,!0);te.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,.7*y,a)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*y,x)),ae.add(new go.PathSegment(go.PathSegment.Line,.3*y,x)),ae.add(new go.PathSegment(go.PathSegment.Line,.3*y,a)),ae.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.3*y,0)),ae.add(new go.PathSegment(go.PathSegment.Line,.3*y,b)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*y,b)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*y,0).close());var ie=Ye(0,.5,.3,0,0,b/a,.1,b/a,ne());return te.spot1=new go.Spot(ie.x,ie.y),ie=Ye(.7,1,1,.5,0,x/a,1,x/a,ie),te.spot2=new go.Spot(ie.x,ie.y),Pe(ie),te}),go.Shape.setFigureParameter("DoubleEndArrow2",0,new Ft("ConnecterHeight",40)),go.Shape.setFigureParameter("DoubleEndArrow2",1,new Ft("ArrowHeight",100)),go.Shape.defineFigureGenerator("DoubleEndArrow2",function(se,y,a){var E=se?se.parameter1:NaN;isNaN(E)&&(E=40);var b=se?se.parameter2:NaN;isNaN(b)&&(b=100);var x=(a-E)/2,te=x+E,ae=(a-b)/2,ie=ae+b;(E>a||b>a)&&(b>E?(E=E*a/b,x=(a-E)/2,te=x+E,ae=0,ie=a):(x=0,te=a,ae=0,ie=a));var ce=new go.Geometry,ge=new go.PathFigure(y,.5*a,!0);ce.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,.7*y,ie)),ge.add(new go.PathSegment(go.PathSegment.Line,.7*y,te)),ge.add(new go.PathSegment(go.PathSegment.Line,.3*y,te)),ge.add(new go.PathSegment(go.PathSegment.Line,.3*y,ie)),ge.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),ge.add(new go.PathSegment(go.PathSegment.Line,.3*y,ae)),ge.add(new go.PathSegment(go.PathSegment.Line,.3*y,x)),ge.add(new go.PathSegment(go.PathSegment.Line,.7*y,x)),ge.add(new go.PathSegment(go.PathSegment.Line,.7*y,ae).close());var fe=Ye(0,.5,.3,ae/a,0,x/a,1,x/a,ne());return ce.spot1=new go.Spot(fe.x,fe.y),fe=Ye(.7,ie/a,1,.5,0,te/a,1,te/a,fe),ce.spot2=new go.Spot(fe.x,fe.y),Pe(fe),ce}),go.Shape.setFigureParameter("IBeamArrow",0,new Ft("ConnectorHeight",.7,.51,.97)),go.Shape.defineFigureGenerator("IBeamArrow",function(se,y,a){var E=se?se.parameter1:NaN;isNaN(E)&&(E=.3);var b=(.5-E/2)*a,x=(.5+E/2)*a,te=new go.Geometry,ae=new go.PathFigure(y,.5*a,!0);te.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,.7*y,a)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*y,x)),ae.add(new go.PathSegment(go.PathSegment.Line,.2*y,x)),ae.add(new go.PathSegment(go.PathSegment.Line,.2*y,a)),ae.add(new go.PathSegment(go.PathSegment.Line,0,a)),ae.add(new go.PathSegment(go.PathSegment.Line,0,0)),ae.add(new go.PathSegment(go.PathSegment.Line,.2*y,0)),ae.add(new go.PathSegment(go.PathSegment.Line,.2*y,b)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*y,b)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*y,0).close()),te.spot1=new go.Spot(0,b/a);var ie=Ye(.7,1,1,.5,0,x/a,1,x/a,ne());return te.spot2=new go.Spot(ie.x,ie.y),Pe(ie),te}),go.Shape.setFigureParameter("IBeamArrow2",0,new Ft("ConnectorHeight",40)),go.Shape.setFigureParameter("IBeamArrow2",1,new Ft("BeamArrowHeight",100)),go.Shape.defineFigureGenerator("IBeamArrow2",function(se,y,a){var E=se?se.parameter1:NaN;isNaN(E)&&(E=40);var b=se?se.parameter2:NaN;isNaN(b)&&(b=100);var x=(a-E)/2,te=x+E,ae=(a-b)/2,ie=ae+b;(E>a||b>a)&&(b>E?(E=E*a/b,x=(a-E)/2,te=x+E,ae=0,ie=a):(x=0,te=a,ae=0,ie=a));var ce=new go.Geometry,ge=new go.PathFigure(y,.5*a,!0);ce.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,.7*y,ie)),ge.add(new go.PathSegment(go.PathSegment.Line,.7*y,te)),ge.add(new go.PathSegment(go.PathSegment.Line,.2*y,te)),ge.add(new go.PathSegment(go.PathSegment.Line,.2*y,ie)),ge.add(new go.PathSegment(go.PathSegment.Line,0,ie)),ge.add(new go.PathSegment(go.PathSegment.Line,0,ae)),ge.add(new go.PathSegment(go.PathSegment.Line,.2*y,ae)),ge.add(new go.PathSegment(go.PathSegment.Line,.2*y,x)),ge.add(new go.PathSegment(go.PathSegment.Line,.7*y,x)),ge.add(new go.PathSegment(go.PathSegment.Line,.7*y,ae).close()),ce.spot1=new go.Spot(0,x/a);var fe=Ye(.7,ie/a,1,.5,0,te/a,1,te/a,ne());return ce.spot2=new go.Spot(fe.x,fe.y),Pe(fe),ce}),go.Shape.setFigureParameter("Pointer",0,new Ft("BackPoint",.1,0,.2)),go.Shape.defineFigureGenerator("Pointer",function(se,y,a){var E=se?se.parameter1:NaN;isNaN(E)&&(E=.1);var b=new go.Geometry,x=new go.PathFigure(y,.5*a,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,0,a)),x.add(new go.PathSegment(go.PathSegment.Line,E*y,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,0).close()),b.spot1=new go.Spot(E,.35);var te=Ye(.2,.65,1,.65,0,1,1,.5,ne());return b.spot2=new go.Spot(te.x,te.y),Pe(te),b}),go.Shape.setFigureParameter("RoundedPointer",0,new Ft("RoundedEdge",.3,0,.5)),go.Shape.defineFigureGenerator("RoundedPointer",function(se,y,a){var E=se?se.parameter1:NaN;isNaN(E)&&(E=.3);var b=new go.Geometry,x=new go.PathFigure(y,.5*a,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,0,a)),x.add(new go.PathSegment(go.PathSegment.Bezier,0,0,E*y,.75*a,E*y,.25*a).close()),b.spot1=new go.Spot(E,.35);var te=Ye(0,.65,1,.65,0,1,1,.5,ne());return b.spot2=new go.Spot(te.x,te.y),Pe(te),b}),go.Shape.setFigureParameter("SplitEndArrow",0,new Ft("TailHeight",.4,.01,.99)),go.Shape.defineFigureGenerator("SplitEndArrow",function(se,y,a){var E=se?se.parameter1:NaN;isNaN(E)&&(E=.4);var b=(.5-E/2)*a,x=(.5+E/2)*a,te=new go.Geometry,ae=new go.PathFigure(y,.5*a,!0);te.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,.7*y,a)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*y,x)),ae.add(new go.PathSegment(go.PathSegment.Line,0,x)),ae.add(new go.PathSegment(go.PathSegment.Line,.2*y,.5*a)),ae.add(new go.PathSegment(go.PathSegment.Line,0,b)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*y,b)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*y,0).close()),te.spot1=new go.Spot(.2,.3);var ie=Ye(.7,1,1,.5,0,x/a,1,x/a,ne());return te.spot2=new go.Spot(ie.x,ie.y),Pe(ie),te}),go.Shape.setFigureParameter("SplitEndArrow2",0,new Ft("TailThickness",50)),go.Shape.defineFigureGenerator("SplitEndArrow2",function(se,y,a){var E=se?se.parameter1:NaN;isNaN(E)&&(E=50);var b=(a-E)/2,x=b+E;E>a&&(b=0,x=a);var te=new go.Geometry,ae=new go.PathFigure(y,.5*a,!0);te.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,.7*y,a)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*y,x)),ae.add(new go.PathSegment(go.PathSegment.Line,0,x)),ae.add(new go.PathSegment(go.PathSegment.Line,.2*y,.5*a)),ae.add(new go.PathSegment(go.PathSegment.Line,0,b)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*y,b)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*y,0).close()),te.spot1=new go.Spot(.2,b/a);var ie=Ye(.7,1,1,.5,0,x/a,1,x/a,ne());return te.spot2=new go.Spot(ie.x,ie.y),Pe(ie),te}),go.Shape.setFigureParameter("SquareArrow",0,new Ft("ArrowPoint",.7,.2,.9)),go.Shape.defineFigureGenerator("SquareArrow",function(se,y,a){var E=se?se.parameter1:NaN;isNaN(E)&&(E=.7);var b=new go.Geometry,x=new go.PathFigure(y,.5*a,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,E*y,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,0)),x.add(new go.PathSegment(go.PathSegment.Line,E*y,0).close()),b.spot1=go.Spot.TopLeft,b.spot2=new go.Spot(E,1),b}),go.Shape.defineFigureGenerator("Cone1",function(se,y,a){var E=new go.Geometry,b=be*.5,x=be*.1,te=new go.PathFigure(0,.9*a,!0);return E.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),te.add(new go.PathSegment(go.PathSegment.Line,y,.9*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,y,(.9+x)*a,(.5+b)*y,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,(.5-b)*y,a,0,(.9+x)*a).close()),E.spot1=new go.Spot(.25,.5),E.spot2=new go.Spot(.75,.97),E}),go.Shape.defineFigureGenerator("Cone2",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(0,.9*a,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,y,.9*a,(1-.85/.9)*y,a,.85/.9*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,.9*a).close());var x=new go.PathFigure(0,.9*a,!1);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Bezier,y,.9*a,(1-.85/.9)*y,.8*a,.85/.9*y,.8*a)),E.spot1=new go.Spot(.25,.5),E.spot2=new go.Spot(.75,.82),E}),go.Shape.defineFigureGenerator("Cube1",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(.5*y,a,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,.85*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.15*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,.15*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.85*a).close());var x=new go.PathFigure(.5*y,a,!1);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*y,.3*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,.15*a)),x.add(new go.PathSegment(go.PathSegment.Move,.5*y,.3*a)),x.add(new go.PathSegment(go.PathSegment.Line,y,.15*a)),E.spot1=new go.Spot(0,.3),E.spot2=new go.Spot(.5,.85),E}),go.Shape.defineFigureGenerator("Cube2",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(0,.3*a,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,.7*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.7*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.3*y,0).close());var x=new go.PathFigure(0,.3*a,!1);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.7*y,.3*a)),x.add(new go.PathSegment(go.PathSegment.Line,y,0)),x.add(new go.PathSegment(go.PathSegment.Move,.7*y,.3*a)),x.add(new go.PathSegment(go.PathSegment.Line,.7*y,a)),E.spot1=new go.Spot(0,.3),E.spot2=new go.Spot(.7,1),E}),go.Shape.defineFigureGenerator("Cylinder1",function(se,y,a){var E=se?se.parameter1:NaN;isNaN(E)&&(E=5),E=Math.min(E,a/3);var b=new go.Geometry,x=be*.5,te=new go.PathFigure(0,E,!0);b.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,0,be*E,(.5-x)*y,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,1*y,E,(.5+x)*y,0,1*y,be*E)),te.add(new go.PathSegment(go.PathSegment.Line,y,a-E)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,1*a,1*y,a-be*E,(.5+x)*y,1*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,a-E,(.5-x)*y,1*a,0,a-be*E)),te.add(new go.PathSegment(go.PathSegment.Line,0,E));var ae=new go.PathFigure(y,E,!1);return b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,2*E,1*y,2*E-be*E,(.5+x)*y,2*E)),ae.add(new go.PathSegment(go.PathSegment.Bezier,0,E,(.5-x)*y,2*E,0,2*E-be*E)),b.spot1=new go.Spot(0,0,0,2*E),b.spot2=new go.Spot(1,1),b}),go.Shape.defineFigureGenerator("Cylinder2",function(se,y,a){var E=se?se.parameter1:NaN;isNaN(E)&&(E=5),E=Math.min(E,a/3);var b=new go.Geometry,x=be*.5,te=new go.PathFigure(0,a-E,!0);b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,0,E)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,0,be*E,(.5-x)*y,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,y,E,(.5+x)*y,0,y,be*E)),te.add(new go.PathSegment(go.PathSegment.Line,y,a-E)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,y,a-be*E,(.5+x)*y,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,a-E,(.5-x)*y,a,0,a-be*E));var ae=new go.PathFigure(0,a-E,!1);return b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a-2*E,0,a-E-be*E,(.5-x)*y,a-2*E)),ae.add(new go.PathSegment(go.PathSegment.Bezier,y,a-E,(.5+x)*y,a-2*E,y,a-E-be*E)),b.spot1=new go.Spot(0,0),b.spot2=new go.Spot(1,1,0,-2*E),b}),go.Shape.defineFigureGenerator("Cylinder3",function(se,y,a){var E=se?se.parameter1:NaN;isNaN(E)&&(E=5),E=Math.min(E,y/3);var b=new go.Geometry,x=be*.5,te=new go.PathFigure(E,0,!0);b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y-E,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,y-be*E,0,y,(.5-x)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,y-E,a,y,(.5+x)*a,y-be*E,a)),te.add(new go.PathSegment(go.PathSegment.Line,E,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,be*E,a,0,(.5+x)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,E,0,0,(.5-x)*a,be*E,0));var ae=new go.PathFigure(E,0,!1);return b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,2*E,.5*a,E+be*E,0,2*E,(.5-x)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,E,a,2*E,(.5+x)*a,E+be*E,a)),b.spot1=new go.Spot(0,0,2*E,0),b.spot2=new go.Spot(1,1),b}),go.Shape.defineFigureGenerator("Cylinder4",function(se,y,a){var E=se?se.parameter1:NaN;isNaN(E)&&(E=5),E=Math.min(E,y/3);var b=new go.Geometry,x=be*.5,te=new go.PathFigure(y-E,0,!0);b.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,y-be*E,0,y,(.5-x)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,y-E,a,y,(.5+x)*a,y-be*E,a)),te.add(new go.PathSegment(go.PathSegment.Line,E,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,be*E,a,0,(.5+x)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,E,0,0,(.5-x)*a,be*E,0)),te.add(new go.PathSegment(go.PathSegment.Line,y-E,0));var ae=new go.PathFigure(y-E,0,!1);return b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,y-2*E,.5*a,y-E-be*E,0,y-2*E,(.5-x)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,y-E,a,y-2*E,(.5+x)*a,y-E-be*E,a)),b.spot1=new go.Spot(0,0),b.spot2=new go.Spot(1,1,-2*E,0),b}),go.Shape.defineFigureGenerator("Prism1",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(.25*y,.25*a,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var x=new go.PathFigure(.25*y,.25*a,!1);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),E.spot1=new go.Spot(.408,.172),E.spot2=new go.Spot(.833,.662),E}),go.Shape.defineFigureGenerator("Prism2",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(0,.25*a,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.25*a)),b.add(new go.PathSegment(go.PathSegment.Line,.75*y,.75*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var x=new go.PathFigure(0,a,!1);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.25*y,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,y,.25*a)),x.add(new go.PathSegment(go.PathSegment.Move,0,.25*a)),x.add(new go.PathSegment(go.PathSegment.Line,.25*y,.5*a)),E.spot1=new go.Spot(.25,.5),E.spot2=new go.Spot(.75,.75),E}),go.Shape.defineFigureGenerator("Pyramid1",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(.5*y,0,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,.75*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.75*a).close());var x=new go.PathFigure(.5*y,0,!1);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),E.spot1=new go.Spot(.25,.367),E.spot2=new go.Spot(.75,.875),E}),go.Shape.defineFigureGenerator("Pyramid2",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(.5*y,0,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,.85*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.85*a).close());var x=new go.PathFigure(.5*y,0,!1);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*y,.7*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,.85*a)),x.add(new go.PathSegment(go.PathSegment.Move,.5*y,.7*a)),x.add(new go.PathSegment(go.PathSegment.Line,y,.85*a)),E.spot1=new go.Spot(.25,.367),E.spot2=new go.Spot(.75,.875),E}),go.Shape.defineFigureGenerator("Actor",function(se,y,a){var E=new go.Geometry,b=.2,x=.1,te=be*b,ae=be*x,ie=.5,ce=.1,ge=new go.PathFigure(ie*y,(ce+x)*a,!0);E.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,(ie-b)*y,ce*a,(ie-te)*y,(ce+x)*a,(ie-b)*y,(ce+ae)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,ie*y,(ce-x)*a,(ie-b)*y,(ce-ae)*a,(ie-te)*y,(ce-x)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(ie+b)*y,ce*a,(ie+te)*y,(ce-x)*a,(ie+b)*y,(ce-ae)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,ie*y,(ce+x)*a,(ie+b)*y,(ce+ae)*a,(ie+te)*y,(ce+x)*a));var fe=.05,Le=be*fe;ie=.05,ce=.25;var Ae=new go.PathFigure(.5*y,.2*a,!0);return E.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Line,.95*y,.2*a)),ie=.95,ce=.25,Ae.add(new go.PathSegment(go.PathSegment.Bezier,(ie+fe)*y,ce*a,(ie+Le)*y,(ce-fe)*a,(ie+fe)*y,(ce-Le)*a)),Ae.add(new go.PathSegment(go.PathSegment.Line,y,.6*a)),Ae.add(new go.PathSegment(go.PathSegment.Line,.85*y,.6*a)),Ae.add(new go.PathSegment(go.PathSegment.Line,.85*y,.35*a)),fe=.025,Le=be*fe,ie=.825,ce=.35,Ae.add(new go.PathSegment(go.PathSegment.Bezier,ie*y,(ce-fe)*a,(ie+fe)*y,(ce-Le)*a,(ie+Le)*y,(ce-fe)*a)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(ie-fe)*y,ce*a,(ie-Le)*y,(ce-fe)*a,(ie-fe)*y,(ce-Le)*a)),Ae.add(new go.PathSegment(go.PathSegment.Line,.8*y,a)),Ae.add(new go.PathSegment(go.PathSegment.Line,.55*y,a)),Ae.add(new go.PathSegment(go.PathSegment.Line,.55*y,.7*a)),fe=.05,Le=be*fe,ie=.5,ce=.7,Ae.add(new go.PathSegment(go.PathSegment.Bezier,ie*y,(ce-fe)*a,(ie+fe)*y,(ce-Le)*a,(ie+Le)*y,(ce-fe)*a)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(ie-fe)*y,ce*a,(ie-Le)*y,(ce-fe)*a,(ie-fe)*y,(ce-Le)*a)),Ae.add(new go.PathSegment(go.PathSegment.Line,.45*y,a)),Ae.add(new go.PathSegment(go.PathSegment.Line,.2*y,a)),Ae.add(new go.PathSegment(go.PathSegment.Line,.2*y,.35*a)),fe=.025,Le=be*fe,ie=.175,ce=.35,Ae.add(new go.PathSegment(go.PathSegment.Bezier,ie*y,(ce-fe)*a,(ie+fe)*y,(ce-Le)*a,(ie+Le)*y,(ce-fe)*a)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(ie-fe)*y,ce*a,(ie-Le)*y,(ce-fe)*a,(ie-fe)*y,(ce-Le)*a)),Ae.add(new go.PathSegment(go.PathSegment.Line,.15*y,.6*a)),Ae.add(new go.PathSegment(go.PathSegment.Line,0,.6*a)),Ae.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),fe=.05,Le=be*fe,ie=.05,ce=.25,Ae.add(new go.PathSegment(go.PathSegment.Bezier,ie*y,(ce-fe)*a,(ie-fe)*y,(ce-Le)*a,(ie-Le)*y,(ce-fe)*a)),Ae.add(new go.PathSegment(go.PathSegment.Line,.5*y,.2*a)),E.spot1=new go.Spot(.2,.2),E.spot2=new go.Spot(.8,.65),E}),go.Shape.setFigureParameter("Card",0,new Ft("CornerCutoutSize",.2,.1,.9)),go.Shape.defineFigureGenerator("Card",function(se,y,a){var E=se?se.parameter1:NaN;isNaN(E)&&(E=.2);var b=new go.Geometry,x=new go.PathFigure(y,0,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,E*a)),x.add(new go.PathSegment(go.PathSegment.Line,E*y,0).close()),b.spot1=new go.Spot(0,E),b.spot2=go.Spot.BottomRight,b}),go.Shape.defineFigureGenerator("Collate",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(.5*y,.5*a,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a));var x=new go.PathFigure(.5*y,.5*a,!0);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a)),x.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a)),E.spot1=new go.Spot(.25,0),E.spot2=new go.Spot(.75,.25),E}),go.Shape.defineFigureGenerator("CreateRequest",function(se,y,a){var E=new go.Geometry,b=se?se.parameter1:NaN;isNaN(b)&&(b=.1);var x=new go.PathFigure(0,0,!0);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,0)),x.add(new go.PathSegment(go.PathSegment.Line,y,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var te=new go.PathFigure(0,b*a,!1);return E.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y,b*a)),te.add(new go.PathSegment(go.PathSegment.Move,0,(1-b)*a)),te.add(new go.PathSegment(go.PathSegment.Line,y,(1-b)*a)),E}),go.Shape.defineFigureGenerator("Database",function(se,y,a){var E=new go.Geometry,b=be*.5,x=be*.1,te=new go.PathFigure(y,.1*a,!0);E.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y,.9*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,y,(.9+x)*a,(.5+b)*y,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,(.5-b)*y,a,0,(.9+x)*a)),te.add(new go.PathSegment(go.PathSegment.Line,0,.1*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,0,(.1-x)*a,(.5-b)*y,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,y,.1*a,(.5+b)*y,0,y,(.1-x)*a));var ae=new go.PathFigure(y,.1*a,!1);return E.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.2*a,y,(.1+x)*a,(.5+b)*y,.2*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*a,(.5-b)*y,.2*a,0,(.1+x)*a)),ae.add(new go.PathSegment(go.PathSegment.Move,y,.2*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.3*a,y,(.2+x)*a,(.5+b)*y,.3*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*a,(.5-b)*y,.3*a,0,(.2+x)*a)),ae.add(new go.PathSegment(go.PathSegment.Move,y,.3*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.4*a,y,(.3+x)*a,(.5+b)*y,.4*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,0,.3*a,(.5-b)*y,.4*a,0,(.3+x)*a)),E.spot1=new go.Spot(0,.4),E.spot2=new go.Spot(1,.9),E}),go.Shape.defineFigureGenerator("DataStorage",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(0,0,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.75*y,a,y,0,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*y,.9*a,.25*y,.1*a).close()),E.spot1=new go.Spot(.226,0),E.spot2=new go.Spot(.81,1),E}),go.Shape.defineFigureGenerator("DiskStorage",function(se,y,a){var E=new go.Geometry,b=be*.5,x=be*.1,te=new go.PathFigure(y,.1*a,!0);E.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y,.9*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,y,(.9+x)*a,(.5+b)*y,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,(.5-b)*y,a,0,(.9+x)*a)),te.add(new go.PathSegment(go.PathSegment.Line,0,.1*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,0,(.1-x)*a,(.5-b)*y,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,y,.1*a,(.5+b)*y,0,y,(.1-x)*a));var ae=new go.PathFigure(y,.1*a,!1);return E.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.2*a,y,(.1+x)*a,(.5+b)*y,.2*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*a,(.5-b)*y,.2*a,0,(.1+x)*a)),ae.add(new go.PathSegment(go.PathSegment.Move,y,.2*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.3*a,y,(.2+x)*a,(.5+b)*y,.3*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*a,(.5-b)*y,.3*a,0,(.2+x)*a)),E.spot1=new go.Spot(0,.3),E.spot2=new go.Spot(1,.9),E}),go.Shape.defineFigureGenerator("Display",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(.25*y,0,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.75*y,a,y,0,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.25*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*a).close()),E.spot1=new go.Spot(.25,0),E.spot2=new go.Spot(.75,1),E}),go.Shape.defineFigureGenerator("DividedEvent",function(se,y,a){var E=new go.Geometry,b=se?se.parameter1:NaN;isNaN(b)?b=.2:b<.15&&(b=.15);var x=be*.2,te=new go.PathFigure(0,.2*a,!0);E.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,.2*y,0,0,(.2-x)*a,(.2-x)*y,0)),te.add(new go.PathSegment(go.PathSegment.Line,.8*y,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,y,.2*a,(.8+x)*y,0,y,(.2-x)*a)),te.add(new go.PathSegment(go.PathSegment.Line,y,.8*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,a,y,(.8+x)*a,(.8+x)*y,a)),te.add(new go.PathSegment(go.PathSegment.Line,.2*y,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.8*a,(.2-x)*y,a,0,(.8+x)*a)),te.add(new go.PathSegment(go.PathSegment.Line,0,.2*a));var ae=new go.PathFigure(0,b*a,!1);return E.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,y,b*a)),E}),go.Shape.defineFigureGenerator("DividedProcess",function(se,y,a){var E=new go.Geometry,b=se?se.parameter1:NaN;(isNaN(b)||b<.1)&&(b=.1);var x=new go.PathFigure(0,0,!0);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,0)),x.add(new go.PathSegment(go.PathSegment.Line,y,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var te=new go.PathFigure(0,b*a,!1);return E.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y,b*a)),E}),go.Shape.defineFigureGenerator("Document",function(se,y,a){var E=new go.Geometry;a=a/.8;var b=new go.PathFigure(0,.7*a,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.7*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.5*y,.4*a,.5*y,a).close()),E.spot1=go.Spot.TopLeft,E.spot2=new go.Spot(1,.6),E}),go.Shape.defineFigureGenerator("ExternalOrganization",function(se,y,a){var E=new go.Geometry,b=se?se.parameter1:NaN;(isNaN(b)||b<.2)&&(b=.2);var x=new go.PathFigure(0,0,!0);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,0)),x.add(new go.PathSegment(go.PathSegment.Line,y,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var te=new go.PathFigure(b*y,0,!1);return E.add(te),te.add(new go.PathSegment(go.PathSegment.Line,0,b*a)),te.add(new go.PathSegment(go.PathSegment.Move,y,b*a)),te.add(new go.PathSegment(go.PathSegment.Line,(1-b)*y,0)),te.add(new go.PathSegment(go.PathSegment.Move,0,(1-b)*a)),te.add(new go.PathSegment(go.PathSegment.Line,b*y,a)),te.add(new go.PathSegment(go.PathSegment.Move,(1-b)*y,a)),te.add(new go.PathSegment(go.PathSegment.Line,y,(1-b)*a)),E}),go.Shape.defineFigureGenerator("ExternalProcess",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(.5*y,0,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*a).close());var x=new go.PathFigure(.1*y,.4*a,!1);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.1*y,.6*a)),x.add(new go.PathSegment(go.PathSegment.Move,.9*y,.6*a)),x.add(new go.PathSegment(go.PathSegment.Line,.9*y,.4*a)),x.add(new go.PathSegment(go.PathSegment.Move,.6*y,.1*a)),x.add(new go.PathSegment(go.PathSegment.Line,.4*y,.1*a)),x.add(new go.PathSegment(go.PathSegment.Move,.4*y,.9*a)),x.add(new go.PathSegment(go.PathSegment.Line,.6*y,.9*a)),E.spot1=new go.Spot(.25,.25),E.spot2=new go.Spot(.75,.75),E}),go.Shape.defineFigureGenerator("File",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(0,0,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.25*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var x=new go.PathFigure(.75*y,0,!1);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.75*y,.25*a)),x.add(new go.PathSegment(go.PathSegment.Line,y,.25*a)),E.spot1=new go.Spot(0,.25),E.spot2=go.Spot.BottomRight,E}),go.Shape.defineFigureGenerator("Interrupt",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(y,.5*a,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.5*a));var x=new go.PathFigure(y,.5*a,!1);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,a));var te=new go.PathFigure(y,.5*a,!1);return E.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.spot1=new go.Spot(0,.25),E.spot2=new go.Spot(.5,.75),E}),go.Shape.defineFigureGenerator("InternalStorage",function(se,y,a){var E=new go.Geometry,b=se?se.parameter1:NaN,x=se?se.parameter2:NaN;isNaN(b)&&(b=.1),isNaN(x)&&(x=.1);var te=new go.PathFigure(0,0,!0);E.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y,0)),te.add(new go.PathSegment(go.PathSegment.Line,y,a)),te.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var ae=new go.PathFigure(b*y,0,!1);return E.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,b*y,a)),ae.add(new go.PathSegment(go.PathSegment.Move,0,x*a)),ae.add(new go.PathSegment(go.PathSegment.Line,y,x*a)),E}),go.Shape.defineFigureGenerator("Junction",function(se,y,a){var E=new go.Geometry,b=1/Math.SQRT2,x=(1-1/Math.SQRT2)/2,te=be*.5,ae=.5,ie=new go.PathFigure(y,ae*a,!0);E.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,ae*y,a,y,(ae+te)*a,(ae+te)*y,a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,0,ae*a,(ae-te)*y,a,0,(ae+te)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,ae*y,0,0,(ae-te)*a,(ae-te)*y,0)),ie.add(new go.PathSegment(go.PathSegment.Bezier,y,ae*a,(ae+te)*y,0,y,(ae-te)*a));var ce=new go.PathFigure((x+b)*y,(x+b)*a,!1);return E.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,x*y,x*a)),ce.add(new go.PathSegment(go.PathSegment.Move,x*y,(x+b)*a)),ce.add(new go.PathSegment(go.PathSegment.Line,(x+b)*y,x*a)),E}),go.Shape.defineFigureGenerator("LinedDocument",function(se,y,a){var E=new go.Geometry;a=a/.8;var b=new go.PathFigure(0,.7*a,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.7*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.5*y,.4*a,.5*y,a).close());var x=new go.PathFigure(.1*y,0,!1);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.1*y,.75*a)),E.spot1=new go.Spot(.1,0),E.spot2=new go.Spot(1,.6),E}),go.Shape.defineFigureGenerator("LoopLimit",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(0,a,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),b.add(new go.PathSegment(go.PathSegment.Line,.25*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.25*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a).close()),E.spot1=new go.Spot(0,.25),E.spot2=go.Spot.BottomRight,E}),go.Shape.defineFigureGenerator("MagneticTape",function(se,y,a){var E=new go.Geometry,b=be*.5,x=.5,te=new go.PathFigure(.5*y,a,!0);return E.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,0,x*a,(x-b)*y,a,0,(x+b)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,x*y,0,0,(x-b)*a,(x-b)*y,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,y,x*a,(x+b)*y,0,y,(x-b)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,(x+.1)*y,.9*a,y,(x+b)*a,(x+b)*y,.9*a)),te.add(new go.PathSegment(go.PathSegment.Line,y,.9*a)),te.add(new go.PathSegment(go.PathSegment.Line,y,a)),te.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),E.spot1=new go.Spot(.15,.15),E.spot2=new go.Spot(.85,.8),E}),go.Shape.defineFigureGenerator("ManualInput",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(y,0,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.25*a).close()),E.spot1=new go.Spot(0,.25),E.spot2=go.Spot.BottomRight,E}),go.Shape.defineFigureGenerator("MessageFromUser",function(se,y,a){var E=new go.Geometry,b=se?se.parameter1:NaN;isNaN(b)&&(b=.7);var x=new go.PathFigure(0,0,!0);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,0)),x.add(new go.PathSegment(go.PathSegment.Line,b*y,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,y,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),E.spot1=go.Spot.TopLeft,E}),go.Shape.defineFigureGenerator("MicroformProcessing",function(se,y,a){var E=new go.Geometry,b=se?se.parameter1:NaN;isNaN(b)&&(b=.25);var x=new go.PathFigure(0,0,!0);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*y,b*a)),x.add(new go.PathSegment(go.PathSegment.Line,y,0)),x.add(new go.PathSegment(go.PathSegment.Line,y,a)),x.add(new go.PathSegment(go.PathSegment.Line,.5*y,(1-b)*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),E}),go.Shape.defineFigureGenerator("MicroformRecording",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(0,0,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*y,.25*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.15*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.85*a)),b.add(new go.PathSegment(go.PathSegment.Line,.75*y,.75*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),E.spot1=new go.Spot(0,.25),E.spot2=new go.Spot(1,.75),E}),go.Shape.defineFigureGenerator("MultiDocument",function(se,y,a){var E=new go.Geometry;a=a/.8;var b=new go.PathFigure(y,0,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*y,.44*a,.96*y,.47*a,.93*y,.45*a)),b.add(new go.PathSegment(go.PathSegment.Line,.9*y,.6*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,.54*a,.86*y,.57*a,.83*y,.55*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*y,.7*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.4*y,.4*a,.4*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,.1*y,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,.1*y,.1*a)),b.add(new go.PathSegment(go.PathSegment.Line,.2*y,.1*a)),b.add(new go.PathSegment(go.PathSegment.Line,.2*y,0).close());var x=new go.PathFigure(.1*y,.2*a,!1);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.8*y,.2*a)),x.add(new go.PathSegment(go.PathSegment.Line,.8*y,.54*a)),x.add(new go.PathSegment(go.PathSegment.Move,.2*y,.1*a)),x.add(new go.PathSegment(go.PathSegment.Line,.9*y,.1*a)),x.add(new go.PathSegment(go.PathSegment.Line,.9*y,.44*a)),E.spot1=new go.Spot(0,.25),E.spot2=new go.Spot(.8,.77),E}),go.Shape.defineFigureGenerator("MultiProcess",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(.1*y,.1*a,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.2*y,.1*a)),b.add(new go.PathSegment(go.PathSegment.Line,.2*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,.9*y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,.9*y,.9*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*y,.9*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,.1*y,.2*a).close());var x=new go.PathFigure(.2*y,.1*a,!1);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.9*y,.1*a)),x.add(new go.PathSegment(go.PathSegment.Line,.9*y,.8*a)),x.add(new go.PathSegment(go.PathSegment.Move,.1*y,.2*a)),x.add(new go.PathSegment(go.PathSegment.Line,.8*y,.2*a)),x.add(new go.PathSegment(go.PathSegment.Line,.8*y,.9*a)),E.spot1=new go.Spot(0,.2),E.spot2=new go.Spot(.8,1),E}),go.Shape.defineFigureGenerator("OfflineStorage",function(se,y,a){var E=new go.Geometry,b=se?se.parameter1:NaN;isNaN(b)&&(b=.1);var x=1-b,te=new go.PathFigure(0,0,!0);E.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y,0)),te.add(new go.PathSegment(go.PathSegment.Line,.5*y,a).close());var ae=new go.PathFigure(.5*b*y,b*a,!1);return E.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,(1-.5*b)*y,b*a)),E}),go.Shape.defineFigureGenerator("OffPageConnector",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(0,0,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.75*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),E.spot1=go.Spot.TopLeft,E.spot2=new go.Spot(.75,1),E}),go.Shape.defineFigureGenerator("Or",function(se,y,a){var E=new go.Geometry,b=be*.5,x=.5,te=new go.PathFigure(y,x*a,!0);E.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,x*y,a,y,(x+b)*a,(x+b)*y,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,x*a,(x-b)*y,a,0,(x+b)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,x*y,0,0,(x-b)*a,(x-b)*y,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,y,x*a,(x+b)*y,0,y,(x-b)*a));var ae=new go.PathFigure(y,.5*a,!1);return E.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),ae.add(new go.PathSegment(go.PathSegment.Move,.5*y,a)),ae.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),E}),go.Shape.defineFigureGenerator("PaperTape",function(se,y,a){var E=new go.Geometry;a=a/.8;var b=new go.PathFigure(0,.7*a,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.3*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,y,.3*a,.5*y,.6*a,.5*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.7*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.5*y,.4*a,.5*y,a).close()),E.spot1=new go.Spot(0,.49),E.spot2=new go.Spot(1,.75),E}),go.Shape.defineFigureGenerator("PrimitiveFromCall",function(se,y,a){var E=new go.Geometry,b=se?se.parameter1:NaN,x=se?se.parameter2:NaN;isNaN(b)&&(b=.1),isNaN(x)&&(x=.3);var te=new go.PathFigure(0,0,!0);return E.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y,0)),te.add(new go.PathSegment(go.PathSegment.Line,(1-x)*y,.5*a)),te.add(new go.PathSegment(go.PathSegment.Line,y,a)),te.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),E}),go.Shape.defineFigureGenerator("PrimitiveToCall",function(se,y,a){var E=new go.Geometry,b=se?se.parameter1:NaN,x=se?se.parameter2:NaN;isNaN(b)&&(b=.1),isNaN(x)&&(x=.3);var te=new go.PathFigure(0,0,!0);return E.add(te),te.add(new go.PathSegment(go.PathSegment.Line,(1-x)*y,0)),te.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),te.add(new go.PathSegment(go.PathSegment.Line,(1-x)*y,a)),te.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),E}),go.Shape.defineFigureGenerator("Procedure",function(se,y,a){var E=new go.Geometry,b=se?se.parameter1:NaN;isNaN(b)&&(b=.1);var x=new go.PathFigure(0,0,!0);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,0)),x.add(new go.PathSegment(go.PathSegment.Line,y,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var te=new go.PathFigure((1-b)*y,0,!1);return E.add(te),te.add(new go.PathSegment(go.PathSegment.Line,(1-b)*y,a)),te.add(new go.PathSegment(go.PathSegment.Move,b*y,0)),te.add(new go.PathSegment(go.PathSegment.Line,b*y,a)),E}),go.Shape.defineFigureGenerator("Process",function(se,y,a){var E=new go.Geometry,b=se?se.parameter1:NaN;isNaN(b)&&(b=.1);var x=new go.PathFigure(0,0,!0);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,0)),x.add(new go.PathSegment(go.PathSegment.Line,y,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var te=new go.PathFigure(b*y,0,!1);return E.add(te),te.add(new go.PathSegment(go.PathSegment.Line,b*y,a)),E.spot2=go.Spot.BottomRight,E}),go.Shape.defineFigureGenerator("Sort",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(.5*y,0,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*a).close());var x=new go.PathFigure(0,.5*a,!1);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.spot1=new go.Spot(.25,.25),E.spot2=new go.Spot(.75,.5),E}),go.Shape.defineFigureGenerator("Start",function(se,y,a){var E=new go.Geometry,b=se?se.parameter1:NaN;isNaN(b)&&(b=.25);var x=new go.PathFigure(b*y,0,!0);E.add(x),x.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*y,.5*a,.25*y,.5*a)),x.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*y,.5*a,.25*y,.5*a));var te=new go.PathFigure(b*y,0,!1);return E.add(te),te.add(new go.PathSegment(go.PathSegment.Line,b*y,a)),te.add(new go.PathSegment(go.PathSegment.Move,(1-b)*y,0)),te.add(new go.PathSegment(go.PathSegment.Line,(1-b)*y,a)),E.spot1=new go.Spot(b,0),E.spot2=new go.Spot(1-b,1),E}),go.Shape.defineFigureGenerator("Terminator",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(.25*y,0,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*y,.5*a,.25*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*y,.5*a,.25*y,.5*a)),E.spot1=new go.Spot(.23,0),E.spot2=new go.Spot(.77,1),E}),go.Shape.defineFigureGenerator("TransmittalTape",function(se,y,a){var E=new go.Geometry,b=se?se.parameter1:NaN;isNaN(b)&&(b=.1);var x=new go.PathFigure(0,0,!0);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,0)),x.add(new go.PathSegment(go.PathSegment.Line,y,a)),x.add(new go.PathSegment(go.PathSegment.Line,.75*y,(1-b)*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,(1-b)*a).close()),E.spot1=go.Spot.TopLeft,E}),go.Shape.defineFigureGenerator("AndGate",function(se,y,a){var E=new go.Geometry,b=be*.5,x=new go.PathFigure(0,0,!0);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),x.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,(.5+b)*y,0,y,(.5-b)*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,y,(.5+b)*a,(.5+b)*y,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),E.spot1=go.Spot.TopLeft,E.spot2=new go.Spot(.55,1),E}),go.Shape.defineFigureGenerator("Buffer",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(0,0,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),E.spot1=new go.Spot(0,.25),E.spot2=new go.Spot(.5,.75),E}),go.Shape.defineFigureGenerator("Clock",function(se,y,a){var E=new go.Geometry,b=be*.5,x=.5,te=new go.PathFigure(y,x*a,!0);E.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,x*y,a,y,(x+b)*a,(x+b)*y,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,x*a,(x-b)*y,a,0,(x+b)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,x*y,0,0,(x-b)*a,(x-b)*y,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,y,x*a,(x+b)*y,0,y,(x-b)*a));var ae=new go.PathFigure(y,x*a,!1);E.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,y,x*a));var ie=new go.PathFigure(.8*y,.75*a,!1);return E.add(ie),ie.add(new go.PathSegment(go.PathSegment.Line,.8*y,.25*a)),ie.add(new go.PathSegment(go.PathSegment.Line,.6*y,.25*a)),ie.add(new go.PathSegment(go.PathSegment.Line,.6*y,.75*a)),ie.add(new go.PathSegment(go.PathSegment.Line,.4*y,.75*a)),ie.add(new go.PathSegment(go.PathSegment.Line,.4*y,.25*a)),ie.add(new go.PathSegment(go.PathSegment.Line,.2*y,.25*a)),ie.add(new go.PathSegment(go.PathSegment.Line,.2*y,.75*a)),E}),go.Shape.defineFigureGenerator("Ground",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(.5*y,0,!1);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,.4*a)),b.add(new go.PathSegment(go.PathSegment.Move,.2*y,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*y,.6*a)),b.add(new go.PathSegment(go.PathSegment.Move,.3*y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,.7*y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Move,.4*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.6*y,a)),E}),go.Shape.defineFigureGenerator("Inverter",function(se,y,a){var E=new go.Geometry,b=be*.1,x=.1,te=.9,ae=.5,ie=new go.PathFigure(.8*y,.5*a,!0);E.add(ie),ie.add(new go.PathSegment(go.PathSegment.Line,0,a)),ie.add(new go.PathSegment(go.PathSegment.Line,0,0)),ie.add(new go.PathSegment(go.PathSegment.Line,.8*y,.5*a));var ce=new go.PathFigure((te+x)*y,ae*a,!0);return E.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,te*y,(ae+x)*a,(te+x)*y,(ae+b)*a,(te+b)*y,(ae+x)*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(te-x)*y,ae*a,(te-b)*y,(ae+x)*a,(te-x)*y,(ae+b)*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,te*y,(ae-x)*a,(te-x)*y,(ae-b)*a,(te-b)*y,(ae-x)*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(te+x)*y,ae*a,(te+b)*y,(ae-x)*a,(te+x)*y,(ae-b)*a)),E.spot1=new go.Spot(0,.25),E.spot2=new go.Spot(.4,.75),E}),go.Shape.defineFigureGenerator("NandGate",function(se,y,a){var E=new go.Geometry,b=be*.5,x=be*.4,te=be*.1,ae=.1,ie=.9,ce=.5,ge=new go.PathFigure(.8*y,.5*a,!0);E.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,.4*y,a,.8*y,(.5+x)*a,(.4+b)*y,a)),ge.add(new go.PathSegment(go.PathSegment.Line,0,a)),ge.add(new go.PathSegment(go.PathSegment.Line,0,0)),ge.add(new go.PathSegment(go.PathSegment.Line,.4*y,0)),ge.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,.5*a,(.4+b)*y,0,.8*y,(.5-x)*a));var fe=new go.PathFigure((ie+ae)*y,ce*a,!0);return E.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,ie*y,(ce+ae)*a,(ie+ae)*y,(ce+te)*a,(ie+te)*y,(ce+ae)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ie-ae)*y,ce*a,(ie-te)*y,(ce+ae)*a,(ie-ae)*y,(ce+te)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,ie*y,(ce-ae)*a,(ie-ae)*y,(ce-te)*a,(ie-te)*y,(ce-ae)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ie+ae)*y,ce*a,(ie+te)*y,(ce-ae)*a,(ie+ae)*y,(ce-te)*a)),E.spot1=new go.Spot(0,.05),E.spot2=new go.Spot(.55,.95),E}),go.Shape.defineFigureGenerator("NorGate",function(se,y,a){var E=new go.Geometry,b=.5,x=be*b,te=0,ae=.5,ie=new go.PathFigure(.8*y,.5*a,!0);E.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,0,a,.7*y,(ae+x)*a,(te+x)*y,(ae+b)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*y,.75*a,.25*y,.25*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,.5*a,(te+x)*y,(ae-b)*a,.7*y,(ae-x)*a)),b=.1,x=be*.1,te=.9,ae=.5;var ce=new go.PathFigure((te-b)*y,ae*a,!0);return E.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,te*y,(ae-b)*a,(te-b)*y,(ae-x)*a,(te-x)*y,(ae-b)*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(te+b)*y,ae*a,(te+x)*y,(ae-b)*a,(te+b)*y,(ae-x)*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,te*y,(ae+b)*a,(te+b)*y,(ae+x)*a,(te+x)*y,(ae+b)*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(te-b)*y,ae*a,(te-x)*y,(ae+b)*a,(te-b)*y,(ae+x)*a)),E.spot1=new go.Spot(.2,.25),E.spot2=new go.Spot(.6,.75),E}),go.Shape.defineFigureGenerator("OrGate",function(se,y,a){var E=new go.Geometry,b=.5,x=be*b,te=0,ae=.5,ie=new go.PathFigure(0,0,!0);return E.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,(te+x+x)*y,(ae-b)*a,.8*y,(ae-x)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,0,a,.8*y,(ae+x)*a,(te+x+x)*y,(ae+b)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*y,.75*a,.25*y,.25*a).close()),E.spot1=new go.Spot(.2,.25),E.spot2=new go.Spot(.75,.75),E}),go.Shape.defineFigureGenerator("XnorGate",function(se,y,a){var E=new go.Geometry,b=.5,x=be*b,te=.2,ae=.5,ie=new go.PathFigure(.1*y,0,!1);E.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,.1*y,a,.35*y,.25*a,.35*y,.75*a));var ce=new go.PathFigure(.8*y,.5*a,!0);E.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,.2*y,a,.7*y,(ae+x)*a,(te+x)*y,(ae+b)*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,.2*y,0,.45*y,.75*a,.45*y,.25*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,.5*a,(te+x)*y,(ae-b)*a,.7*y,(ae-x)*a)),b=.1,x=be*.1,te=.9,ae=.5;var ge=new go.PathFigure((te-b)*y,ae*a,!0);return E.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,te*y,(ae-b)*a,(te-b)*y,(ae-x)*a,(te-x)*y,(ae-b)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(te+b)*y,ae*a,(te+x)*y,(ae-b)*a,(te+b)*y,(ae-x)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,te*y,(ae+b)*a,(te+b)*y,(ae+x)*a,(te+x)*y,(ae+b)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(te-b)*y,ae*a,(te-x)*y,(ae+b)*a,(te-b)*y,(ae+x)*a)),E.spot1=new go.Spot(.4,.25),E.spot2=new go.Spot(.65,.75),E}),go.Shape.defineFigureGenerator("XorGate",function(se,y,a){var E=new go.Geometry,b=.5,x=be*b,te=.2,ae=.5,ie=new go.PathFigure(.1*y,0,!1);E.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,.1*y,a,.35*y,.25*a,.35*y,.75*a));var ce=new go.PathFigure(.2*y,0,!0);return E.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,(te+x)*y,(ae-b)*a,.9*y,(ae-x)*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,.2*y,a,.9*y,(ae+x)*a,(te+x)*y,(ae+b)*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,.2*y,0,.45*y,.75*a,.45*y,.25*a).close()),E.spot1=new go.Spot(.4,.25),E.spot2=new go.Spot(.8,.75),E}),go.Shape.defineFigureGenerator("Capacitor",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(0,0,!1);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Move,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),E}),go.Shape.defineFigureGenerator("Resistor",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(0,.5*a,!1);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.1*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.2*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.3*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.4*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.6*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.7*y,.5*a)),E}),go.Shape.defineFigureGenerator("Inductor",function(se,y,a){var E=new go.Geometry,b=be*.1,x=.1,te=.1,ae=.5,ie=new go.PathFigure((te-b*.5)*y,a,!1);return E.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,(te+x)*y,0,(te-b)*y,a,(te-x)*y,0)),te=.3,ie.add(new go.PathSegment(go.PathSegment.Bezier,te*y,a,(te+x)*y,0,(te+b)*y,a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(te+x)*y,0,(te-b)*y,a,(te-x)*y,0)),te=.5,ie.add(new go.PathSegment(go.PathSegment.Bezier,te*y,a,(te+x)*y,0,(te+b)*y,a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(te+x)*y,0,(te-b)*y,a,(te-x)*y,0)),te=.7,ie.add(new go.PathSegment(go.PathSegment.Bezier,te*y,a,(te+x)*y,0,(te+b)*y,a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(te+x)*y,0,(te-b)*y,a,(te-x)*y,0)),te=.9,ie.add(new go.PathSegment(go.PathSegment.Bezier,(te+b*.5)*y,a,(te+x)*y,0,(te+b)*y,a)),E}),go.Shape.defineFigureGenerator("ACvoltageSource",function(se,y,a){var E=new go.Geometry,b=be*.5,x=.5,te=.5,ae=.5,ie=new go.PathFigure((te-x)*y,ae*a,!1);return E.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,te*y,(ae-x)*a,(te-x)*y,(ae-b)*a,(te-b)*y,(ae-x)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(te+x)*y,ae*a,(te+b)*y,(ae-x)*a,(te+x)*y,(ae-b)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,te*y,(ae+x)*a,(te+x)*y,(ae+b)*a,(te+b)*y,(ae+x)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(te-x)*y,ae*a,(te-b)*y,(ae+x)*a,(te-x)*y,(ae+b)*a)),ie.add(new go.PathSegment(go.PathSegment.Move,(te-x+.1)*y,ae*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(te+x-.1)*y,ae*a,te*y,(ae-x)*a,te*y,(ae+x)*a)),E}),go.Shape.defineFigureGenerator("DCvoltageSource",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(0,.75*a,!1);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),b.add(new go.PathSegment(go.PathSegment.Move,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),E}),go.Shape.defineFigureGenerator("Diode",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(y,0,!1);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.spot1=new go.Spot(0,.25),E.spot2=new go.Spot(.5,.75),E}),go.Shape.defineFigureGenerator("Wifi",function(se,y,a){var E=new go.Geometry,b=y,x=a;y=y*.38,a=a*.6;var te=be*.8,ae=.8,ie=0,ce=.5,ge=(b-y)/2,fe=(x-a)/2,Le=new go.PathFigure(ie*y+ge,(ce+ae)*a+fe,!0);E.add(Le),Le.add(new go.PathSegment(go.PathSegment.Bezier,(ie-ae)*y+ge,ce*a+fe,(ie-te)*y+ge,(ce+ae)*a+fe,(ie-ae)*y+ge,(ce+te)*a+fe)),Le.add(new go.PathSegment(go.PathSegment.Bezier,ie*y+ge,(ce-ae)*a+fe,(ie-ae)*y+ge,(ce-te)*a+fe,(ie-te)*y+ge,(ce-ae)*a+fe)),Le.add(new go.PathSegment(go.PathSegment.Bezier,(ie-ae+te*.5)*y+ge,ce*a+fe,ie*y+ge,(ce-ae)*a+fe,(ie-ae+te*.5)*y+ge,(ce-te)*a+fe)),Le.add(new go.PathSegment(go.PathSegment.Bezier,ie*y+ge,(ce+ae)*a+fe,(ie-ae+te*.5)*y+ge,(ce+te)*a+fe,ie*y+ge,(ce+ae)*a+fe).close()),te=be*.4,ae=.4,ie=.2,ce=.5;var Ae=new go.PathFigure(ie*y+ge,(ce+ae)*a+fe,!0);E.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(ie-ae)*y+ge,ce*a+fe,(ie-te)*y+ge,(ce+ae)*a+fe,(ie-ae)*y+ge,(ce+te)*a+fe)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,ie*y+ge,(ce-ae)*a+fe,(ie-ae)*y+ge,(ce-te)*a+fe,(ie-te)*y+ge,(ce-ae)*a+fe)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(ie-ae+te*.5)*y+ge,ce*a+fe,ie*y+ge,(ce-ae)*a+fe,(ie-ae+te*.5)*y+ge,(ce-te)*a+fe)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,ie*y+ge,(ce+ae)*a+fe,(ie-ae+te*.5)*y+ge,(ce+te)*a+fe,ie*y+ge,(ce+ae)*a+fe).close()),te=be*.2,ae=.2,ie=.5,ce=.5;var Ie=new go.PathFigure((ie-ae)*y+ge,ce*a+fe,!0);E.add(Ie),Ie.add(new go.PathSegment(go.PathSegment.Bezier,ie*y+ge,(ce-ae)*a+fe,(ie-ae)*y+ge,(ce-te)*a+fe,(ie-te)*y+ge,(ce-ae)*a+fe)),Ie.add(new go.PathSegment(go.PathSegment.Bezier,(ie+ae)*y+ge,ce*a+fe,(ie+te)*y+ge,(ce-ae)*a+fe,(ie+ae)*y+ge,(ce-te)*a+fe)),Ie.add(new go.PathSegment(go.PathSegment.Bezier,ie*y+ge,(ce+ae)*a+fe,(ie+ae)*y+ge,(ce+te)*a+fe,(ie+te)*y+ge,(ce+ae)*a+fe)),Ie.add(new go.PathSegment(go.PathSegment.Bezier,(ie-ae)*y+ge,ce*a+fe,(ie-te)*y+ge,(ce+ae)*a+fe,(ie-ae)*y+ge,(ce+te)*a+fe)),te=be*.4,ae=.4,ie=.8,ce=.5;var ve=new go.PathFigure(ie*y+ge,(ce-ae)*a+fe,!0);E.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,(ie+ae)*y+ge,ce*a+fe,(ie+te)*y+ge,(ce-ae)*a+fe,(ie+ae)*y+ge,(ce-te)*a+fe)),ve.add(new go.PathSegment(go.PathSegment.Bezier,ie*y+ge,(ce+ae)*a+fe,(ie+ae)*y+ge,(ce+te)*a+fe,(ie+te)*y+ge,(ce+ae)*a+fe)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(ie+ae-te*.5)*y+ge,ce*a+fe,ie*y+ge,(ce+ae)*a+fe,(ie+ae-te*.5)*y+ge,(ce+te)*a+fe)),ve.add(new go.PathSegment(go.PathSegment.Bezier,ie*y+ge,(ce-ae)*a+fe,(ie+ae-te*.5)*y+ge,(ce-te)*a+fe,ie*y+ge,(ce-ae)*a+fe).close()),te=be*.8,ae=.8,ie=1,ce=.5;var Xe=new go.PathFigure(ie*y+ge,(ce-ae)*a+fe,!0);return E.add(Xe),Xe.add(new go.PathSegment(go.PathSegment.Bezier,(ie+ae)*y+ge,ce*a+fe,(ie+te)*y+ge,(ce-ae)*a+fe,(ie+ae)*y+ge,(ce-te)*a+fe)),Xe.add(new go.PathSegment(go.PathSegment.Bezier,ie*y+ge,(ce+ae)*a+fe,(ie+ae)*y+ge,(ce+te)*a+fe,(ie+te)*y+ge,(ce+ae)*a+fe)),Xe.add(new go.PathSegment(go.PathSegment.Bezier,(ie+ae-te*.5)*y+ge,ce*a+fe,ie*y+ge,(ce+ae)*a+fe,(ie+ae-te*.5)*y+ge,(ce+te)*a+fe)),Xe.add(new go.PathSegment(go.PathSegment.Bezier,ie*y+ge,(ce-ae)*a+fe,(ie+ae-te*.5)*y+ge,(ce-te)*a+fe,ie*y+ge,(ce-ae)*a+fe).close()),E}),go.Shape.defineFigureGenerator("Email",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(0,0,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var x=new go.PathFigure(0,0,!1);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*y,.6*a)),x.add(new go.PathSegment(go.PathSegment.Line,y,0)),x.add(new go.PathSegment(go.PathSegment.Move,0,a)),x.add(new go.PathSegment(go.PathSegment.Line,.45*y,.54*a)),x.add(new go.PathSegment(go.PathSegment.Move,y,a)),x.add(new go.PathSegment(go.PathSegment.Line,.55*y,.54*a)),E}),go.Shape.defineFigureGenerator("Ethernet",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(.35*y,0,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.65*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.65*y,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,.35*y,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,.35*y,0).close());var x=new go.PathFigure(.1*y,a,!0,!0);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.4*y,a)),x.add(new go.PathSegment(go.PathSegment.Line,.4*y,.6*a)),x.add(new go.PathSegment(go.PathSegment.Line,.1*y,.6*a)),x.add(new go.PathSegment(go.PathSegment.Line,.1*y,a).close());var te=new go.PathFigure(.6*y,a,!0,!0);E.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.9*y,a)),te.add(new go.PathSegment(go.PathSegment.Line,.9*y,.6*a)),te.add(new go.PathSegment(go.PathSegment.Line,.6*y,.6*a)),te.add(new go.PathSegment(go.PathSegment.Line,.6*y,a).close());var ae=new go.PathFigure(0,.5*a,!1);return E.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),ae.add(new go.PathSegment(go.PathSegment.Move,.5*y,.5*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.5*y,.4*a)),ae.add(new go.PathSegment(go.PathSegment.Move,.75*y,.5*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.75*y,.6*a)),ae.add(new go.PathSegment(go.PathSegment.Move,.25*y,.5*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.25*y,.6*a)),E}),go.Shape.defineFigureGenerator("Power",function(se,y,a){var E=new go.Geometry,b=be*.4,x=.4,te=.5,ae=.5,ie=ne(),ce=ne(),ge=ne(),fe=ne();Oe(te,ae-x,te+b,ae-x,te+x,ae-b,te+x,ae,.5,ie,ie,ce,ge,fe);var Le=oe(ce.x,ce.y),Ae=new go.PathFigure(ce.x*y,ce.y*a,!0);E.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(te+x)*y,ae*a,ge.x*y,ge.y*a,fe.x*y,fe.y*a)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,te*y,(ae+x)*a,(te+x)*y,(ae+b)*a,(te+b)*y,(ae+x)*a)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(te-x)*y,ae*a,(te-b)*y,(ae+x)*a,(te-x)*y,(ae+b)*a)),Oe(te-x,ae,te-x,ae-b,te-b,ae-x,te,ae-x,.5,ge,fe,ce,ie,ie),Ae.add(new go.PathSegment(go.PathSegment.Bezier,ce.x*y,ce.y*a,ge.x*y,ge.y*a,fe.x*y,fe.y*a)),b=be*.3,x=.3,Oe(te-x,ae,te-x,ae-b,te-b,ae-x,te,ae-x,.5,ge,fe,ce,ie,ie),Ae.add(new go.PathSegment(go.PathSegment.Line,ce.x*y,ce.y*a)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(te-x)*y,ae*a,fe.x*y,fe.y*a,ge.x*y,ge.y*a)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,te*y,(ae+x)*a,(te-x)*y,(ae+b)*a,(te-b)*y,(ae+x)*a)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(te+x)*y,ae*a,(te+b)*y,(ae+x)*a,(te+x)*y,(ae+b)*a)),Oe(te,ae-x,te+b,ae-x,te+x,ae-b,te+x,ae,.5,ie,ie,ce,ge,fe),Ae.add(new go.PathSegment(go.PathSegment.Bezier,ce.x*y,ce.y*a,fe.x*y,fe.y*a,ge.x*y,ge.y*a).close());var Ae=new go.PathFigure(.45*y,0,!0);return E.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Line,.45*y,.5*a)),Ae.add(new go.PathSegment(go.PathSegment.Line,.55*y,.5*a)),Ae.add(new go.PathSegment(go.PathSegment.Line,.55*y,0).close()),Pe(ie),Pe(ce),Pe(ge),Pe(fe),Pe(Le),E.spot1=new go.Spot(.25,.45),E.spot2=new go.Spot(.75,.8),E}),go.Shape.defineFigureGenerator("Fallout",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(0,a/2,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,180,360,y/2,a/2,y/2,a/2));function x(te,ae,ie){te.add(new go.PathSegment(go.PathSegment.Move,(.3+ae)*y,(.8+ie)*a)),te.add(new go.PathSegment(go.PathSegment.Line,(.5+ae)*y,(.5+ie)*a)),te.add(new go.PathSegment(go.PathSegment.Line,(.1+ae)*y,(.5+ie)*a)),te.add(new go.PathSegment(go.PathSegment.Line,(.3+ae)*y,(.8+ie)*a).close())}return x(b,0,0),x(b,.4,0),x(b,.2,-.3),E}),go.Shape.defineFigureGenerator("IrritationHazard",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(.2*y,0,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,.3*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,.7*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,.7*a)),b.add(new go.PathSegment(go.PathSegment.Line,.2*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,.3*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.2*a).close()),E.spot1=new go.Spot(.3,.3),E.spot2=new go.Spot(.7,.7),E}),go.Shape.defineFigureGenerator("ElectricalHazard",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(.37*y,0,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,.11*a)),b.add(new go.PathSegment(go.PathSegment.Line,.77*y,.04*a)),b.add(new go.PathSegment(go.PathSegment.Line,.33*y,.49*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.37*a)),b.add(new go.PathSegment(go.PathSegment.Line,.63*y,.86*a)),b.add(new go.PathSegment(go.PathSegment.Line,.77*y,.91*a)),b.add(new go.PathSegment(go.PathSegment.Line,.34*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.34*y,.78*a)),b.add(new go.PathSegment(go.PathSegment.Line,.44*y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,.65*y,.56*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.68*a).close()),E}),go.Shape.defineFigureGenerator("FireHazard",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(.1*y,a,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.29*y,0,-.25*y,.63*a,.45*y,.44*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.51*y,.42*a,.48*y,.17*a,.54*y,.35*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.59*y,.18*a,.59*y,.29*a,.58*y,.28*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.75*y,.6*a,.8*y,.34*a,.88*y,.43*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.88*y,.31*a,.87*y,.48*a,.88*y,.43*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*y,a,1.17*y,.76*a,.82*y,.8*a).close()),E.spot1=new go.Spot(.07,.445),E.spot2=new go.Spot(.884,.958),E}),go.Shape.defineFigureGenerator("BpmnActivityLoop",function(se,y,a){var E=new go.Geometry,b=.5,x=0,te=0,ae=b*be,ie=.4*Math.SQRT2/2+.5,ce=.5-.5*Math.SQRT2/2,ge=1,fe=.5,Le=.5,Ae=0,Ie=new go.PathFigure(ie*y,(1-ce)*a,!1);return E.add(Ie),Ie.add(new go.PathSegment(go.PathSegment.Bezier,ge*y,fe*a,ge*y,.7*a,ge*y,fe*a)),Ie.add(new go.PathSegment(go.PathSegment.Bezier,(Le+x)*y,(Ae+x)*a,(.5+b+x)*y,(.5-ae+x)*a,(.5+ae+x)*y,(.5-b+x)*a)),Ie.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+x)*y,(.5+te)*a,(.5-ae+x)*y,(.5-b+te)*a,(.5-b+x)*y,(.5-ae+te)*a)),Ie.add(new go.PathSegment(go.PathSegment.Bezier,(.35+x)*y,.9*a,(.5-b+x)*y,(.5+ae+te)*a,(.5-ae+x)*y,.9*a)),Ie.add(new go.PathSegment(go.PathSegment.Move,(.25+x)*y,.8*a)),Ie.add(new go.PathSegment(go.PathSegment.Line,(.35+x)*y,.9*a)),Ie.add(new go.PathSegment(go.PathSegment.Line,(.2+x)*y,.95*a)),E}),go.Shape.defineFigureGenerator("BpmnActivityParallel",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(0,0,!1);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Move,.5*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),b.add(new go.PathSegment(go.PathSegment.Move,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),E}),go.Shape.defineFigureGenerator("BpmnActivitySequential",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(0,0,!1);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Move,0,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Move,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),E}),go.Shape.defineFigureGenerator("BpmnActivityAdHoc",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(0,0,!1);E.add(b);var x=new go.PathFigure(y,a,!1);E.add(x);var te=new go.PathFigure(0,.5*a,!1);return E.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.5*a,.2*y,.35*a,.3*y,.35*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,.7*y,.65*a,.8*y,.65*a)),E}),go.Shape.defineFigureGenerator("BpmnActivityCompensation",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(0,.5*a,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,a).close()),E}),go.Shape.defineFigureGenerator("BpmnTaskMessage",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(0,.2*a,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*a).close());var b=new go.PathFigure(0,.2*a,!1);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.2*a)),E}),go.Shape.defineFigureGenerator("BpmnTaskScript",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(.7*y,a,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.3*y,a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.3*y,0,.6*y,.5*a,0,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.7*y,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.7*y,a,.4*y,.5*a,y,.5*a).close());var x=new go.PathFigure(.45*y,.73*a,!1);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.7*y,.73*a)),x.add(new go.PathSegment(go.PathSegment.Move,.38*y,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,.63*y,.5*a)),x.add(new go.PathSegment(go.PathSegment.Move,.31*y,.27*a)),x.add(new go.PathSegment(go.PathSegment.Line,.56*y,.27*a)),E}),go.Shape.defineFigureGenerator("BpmnTaskUser",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(0,0,!1);E.add(b);var x=new go.PathFigure(.335*y,(1-.555)*a,!0);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.335*y,(1-.405)*a)),x.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*y,(1-.405)*a)),x.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*y,(1-.555)*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,y,.68*a,(1-.12)*y,.46*a,(1-.02)*y,.54*a)),x.add(new go.PathSegment(go.PathSegment.Line,y,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,.68*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,.335*y,(1-.555)*a,.02*y,.54*a,.12*y,.46*a)),x.add(new go.PathSegment(go.PathSegment.Line,.365*y,(1-.595)*a));var te=.5-.285,ae=.5,ie=te,ce=Math.PI/4,ge=4*(1-Math.cos(ce))/(3*Math.sin(ce)),fe=ge*.5,Le=te,Ae=te,Ie=ge*Le,ve=ge*Ae;x.add(new go.PathSegment(go.PathSegment.Bezier,(ae-Le)*y,ie*a,(ae-(Ie+Le)/2)*y,(ie+(Ae+ve)/2)*a,(ae-Le)*y,(ie+ve)*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,ae*y,(ie-Ae)*a,(ae-Le)*y,(ie-ve)*a,(ae-Ie)*y,(ie-Ae)*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,(ae+Le)*y,ie*a,(ae+Ie)*y,(ie-Ae)*a,(ae+Le)*y,(ie-ve)*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,(1-.365)*y,(1-.595)*a,(ae+Le)*y,(ie+ve)*a,(ae+(Ie+Le)/2)*y,(ie+(Ae+ve)/2)*a)),x.add(new go.PathSegment(go.PathSegment.Line,(1-.365)*y,(1-.595)*a)),x.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*y,(1-.555)*a)),x.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*y,(1-.405)*a)),x.add(new go.PathSegment(go.PathSegment.Line,.335*y,(1-.405)*a));var Xe=new go.PathFigure(.2*y,a,!1);E.add(Xe),Xe.add(new go.PathSegment(go.PathSegment.Line,.2*y,.8*a));var Rt=new go.PathFigure(.8*y,a,!1);return E.add(Rt),Rt.add(new go.PathSegment(go.PathSegment.Line,.8*y,.8*a)),E}),go.Shape.defineFigureGenerator("BpmnEventConditional",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(.1*y,0,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.9*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.9*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.1*y,a).close());var x=new go.PathFigure(.2*y,.2*a,!1);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.8*y,.2*a)),x.add(new go.PathSegment(go.PathSegment.Move,.2*y,.4*a)),x.add(new go.PathSegment(go.PathSegment.Line,.8*y,.4*a)),x.add(new go.PathSegment(go.PathSegment.Move,.2*y,.6*a)),x.add(new go.PathSegment(go.PathSegment.Line,.8*y,.6*a)),x.add(new go.PathSegment(go.PathSegment.Move,.2*y,.8*a)),x.add(new go.PathSegment(go.PathSegment.Line,.8*y,.8*a)),E}),go.Shape.defineFigureGenerator("BpmnEventError",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(0,a,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.33*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.66*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.66*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.33*y,.5*a).close()),E}),go.Shape.defineFigureGenerator("BpmnEventEscalation",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(0,0,!1);E.add(b);var x=new go.PathFigure(y,a,!1);E.add(x);var te=new go.PathFigure(.1*y,a,!0);return E.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),te.add(new go.PathSegment(go.PathSegment.Line,.9*y,a)),te.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a).close()),E}),go.Shape.defineFigureGenerator("Caution",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(.05*y,a,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.1*y,.8*a,0,a,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,.45*y,.1*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.55*y,.1*a,.5*y,0,.5*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.95*y,.9*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*y,a,y,a,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.05*y,a));var x=.05;return b.add(new go.PathSegment(go.PathSegment.Move,(.5-x)*y,.875*a)),b.add(new go.PathSegment(go.PathSegment.Arc,180,-360,.5*y,.875*a,x*y,x*a)),b.add(new go.PathSegment(go.PathSegment.Move,.5*y,.75*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.325*a,.575*y,.725*a,.625*y,.375*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.75*a,.375*y,.375*a,.425*y,.725*a)),E}),go.Shape.defineFigureGenerator("Recycle",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(.45*y,.95*a,!1);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.2*y,.95*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.185*y,.85*a,.17*y,.95*a,.15*y,.9*a)),b.add(new go.PathSegment(go.PathSegment.Line,.235*y,.75*a)),b.add(new go.PathSegment(go.PathSegment.Line,.3*y,.625*a)),b.add(new go.PathSegment(go.PathSegment.Line,.35*y,.65*a)),b.add(new go.PathSegment(go.PathSegment.Line,.275*y,.45*a)),b.add(new go.PathSegment(go.PathSegment.Line,.05*y,.45*a)),b.add(new go.PathSegment(go.PathSegment.Line,.1*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.05*y,.575*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.1875*y,.95*a,0,.675*a,0,.7*a)),b.add(new go.PathSegment(go.PathSegment.Move,.45*y,.95*a)),b.add(new go.PathSegment(go.PathSegment.Line,.45*y,.775*a)),b.add(new go.PathSegment(go.PathSegment.Line,.22*y,.775*a));var x=new go.PathFigure(.475*y,.2*a,!1);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.4*y,.4*a)),x.add(new go.PathSegment(go.PathSegment.Line,.225*y,.3*a)),x.add(new go.PathSegment(go.PathSegment.Line,.275*y,.175*a)),x.add(new go.PathSegment(go.PathSegment.Line,.325*y,.05*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,.4*y,.05*a,.35*y,0,.375*y,0)),x.add(new go.PathSegment(go.PathSegment.Line,.575*y,.375*a)),x.add(new go.PathSegment(go.PathSegment.Line,.525*y,.4*a)),x.add(new go.PathSegment(go.PathSegment.Line,.75*y,.475*a)),x.add(new go.PathSegment(go.PathSegment.Line,.85*y,.315*a)),x.add(new go.PathSegment(go.PathSegment.Line,.8*y,.32*a)),x.add(new go.PathSegment(go.PathSegment.Line,.65*y,.05*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,.575*y,0,.65*y,.05*a,.625*y,0)),x.add(new go.PathSegment(go.PathSegment.Line,.38*y,.0105*a));var te=new go.PathFigure(.675*y,.575*a,!1);return E.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.875*y,.525*a)),te.add(new go.PathSegment(go.PathSegment.Line,y,.775*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,.85*y,.95*a,y,.8*a,y,.85*a)),te.add(new go.PathSegment(go.PathSegment.Line,.65*y,.95*a)),te.add(new go.PathSegment(go.PathSegment.Line,.65*y,a)),te.add(new go.PathSegment(go.PathSegment.Line,.55*y,.85*a)),te.add(new go.PathSegment(go.PathSegment.Line,.65*y,.725*a)),te.add(new go.PathSegment(go.PathSegment.Line,.65*y,.775*a)),te.add(new go.PathSegment(go.PathSegment.Line,.7*y,.775*a)),te.add(new go.PathSegment(go.PathSegment.Line,y,.775*a)),te.add(new go.PathSegment(go.PathSegment.Move,.675*y,.575*a)),te.add(new go.PathSegment(go.PathSegment.Line,.775*y,.775*a)),E}),go.Shape.defineFigureGenerator("BpmnEventTimer",function(se,y,a){var E=new go.Geometry,b=.5,x=be*.5,te=new go.PathFigure(y,b*a,!0);E.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,b*y,a,y,(b+x)*a,(b+x)*y,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,b*a,(b-x)*y,a,0,(b+x)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,b*y,0,0,(b-x)*a,(b-x)*y,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,y,b*a,(b+x)*y,0,y,(b-x)*a));var ae=new go.PathFigure(b*y,0,!1);return E.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,b*y,.15*a)),ae.add(new go.PathSegment(go.PathSegment.Move,b*y,a)),ae.add(new go.PathSegment(go.PathSegment.Line,b*y,.85*a)),ae.add(new go.PathSegment(go.PathSegment.Move,0,b*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.15*y,b*a)),ae.add(new go.PathSegment(go.PathSegment.Move,y,b*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.85*y,b*a)),ae.add(new go.PathSegment(go.PathSegment.Move,b*y,b*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.58*y,.1*a)),ae.add(new go.PathSegment(go.PathSegment.Move,b*y,b*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.78*y,.54*a)),E}),go.Shape.defineFigureGenerator("Package",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(0,.15*a,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,.15*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var x=new go.PathFigure(0,.15*a,!0);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,0,0)),x.add(new go.PathSegment(go.PathSegment.Line,.6*y,0)),x.add(new go.PathSegment(go.PathSegment.Line,.65*y,.15*a).close()),E.spot1=new go.Spot(0,.1),E.spot2=new go.Spot(1,1),E}),go.Shape.defineFigureGenerator("Class",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(0,0,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var x=new go.PathFigure(0,.2*a,!1);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,.2*a).close());var te=new go.PathFigure(0,.5*a,!1);return E.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y,.5*a).close()),E}),go.Shape.defineFigureGenerator("Component",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(y,a,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.15*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.15*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a).close());var x=new go.PathFigure(0,.2*a,!0);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.45*y,.2*a)),x.add(new go.PathSegment(go.PathSegment.Line,.45*y,.4*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,.4*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,.2*a).close());var te=new go.PathFigure(0,.6*a,!0);return E.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.45*y,.6*a)),te.add(new go.PathSegment(go.PathSegment.Line,.45*y,.8*a)),te.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),te.add(new go.PathSegment(go.PathSegment.Line,0,.6*a).close()),E}),go.Shape.defineFigureGenerator("Boat Shipment",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(.15*y,.6*a,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.15*y,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,.15*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.85*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,.85*y,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.15*y,.6*a));var x=new go.PathFigure(.15*y,.6*a,!1);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.85*y,.6*a)),E}),go.Shape.defineFigureGenerator("Customer/Supplier",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(y,a,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.66*y,.33*a)),b.add(new go.PathSegment(go.PathSegment.Line,.66*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.33*y,.33*a)),b.add(new go.PathSegment(go.PathSegment.Line,.33*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,.33*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a).close()),E}),go.Shape.defineFigureGenerator("Workcell",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(0,a,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.65*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.65*y,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,.35*y,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,.35*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),E}),go.Shape.defineFigureGenerator("Supermarket",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(0,0,!1);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.33*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.33*a)),b.add(new go.PathSegment(go.PathSegment.Move,y,.33*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.66*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.66*a)),b.add(new go.PathSegment(go.PathSegment.Move,y,.66*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),E}),go.Shape.defineFigureGenerator("TruckShipment",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(0,0,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.6*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.6*y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var x=new go.PathFigure(y,.8*a,!0);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,.4*a)),x.add(new go.PathSegment(go.PathSegment.Line,.6*y,.4*a)),x.add(new go.PathSegment(go.PathSegment.Line,.6*y,.8*a)),x.add(new go.PathSegment(go.PathSegment.Line,y,.8*a).close());var te=.1,ae=be*.1,ie=.2,ce=.9,ge=new go.PathFigure((ie-te)*y,ce*a,!0);E.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,ie*y,(ce-te)*a,(ie-te)*y,(ce-ae)*a,(ie-ae)*y,(ce-te)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(ie+te)*y,ce*a,(ie+ae)*y,(ce-te)*a,(ie+te)*y,(ce-ae)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,ie*y,(ce+te)*a,(ie+te)*y,(ce+ae)*a,(ie+ae)*y,(ce+te)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(ie-te)*y,ce*a,(ie-ae)*y,(ce+te)*a,(ie-te)*y,(ce+ae)*a).close()),te=.1,ae=be*.1,ie=.8,ce=.9;var fe=new go.PathFigure((ie-te)*y,ce*a,!0);return E.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,ie*y,(ce-te)*a,(ie-te)*y,(ce-ae)*a,(ie-ae)*y,(ce-te)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ie+te)*y,ce*a,(ie+ae)*y,(ce-te)*a,(ie+te)*y,(ce-ae)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,ie*y,(ce+te)*a,(ie+te)*y,(ce+ae)*a,(ie+ae)*y,(ce+te)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ie-te)*y,ce*a,(ie-ae)*y,(ce+te)*a,(ie-te)*y,(ce+ae)*a).close()),E}),go.Shape.defineFigureGenerator("KanbanPost",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(.2*y,0,!1);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.2*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*y,0)),b.add(new go.PathSegment(go.PathSegment.Move,.5*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.2*y,a)),b.add(new go.PathSegment(go.PathSegment.Move,.5*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*y,a)),E}),go.Shape.defineFigureGenerator("Forklift",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(0,0,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.4*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,0));var x=new go.PathFigure(0,.5*a,!0);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),x.add(new go.PathSegment(go.PathSegment.Line,.5*y,.8*a)),x.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,.5*a));var te=new go.PathFigure(.5*y,.8*a,!0);E.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*y,.1*a)),te.add(new go.PathSegment(go.PathSegment.Line,.55*y,.1*a)),te.add(new go.PathSegment(go.PathSegment.Line,.55*y,.8*a)),te.add(new go.PathSegment(go.PathSegment.Line,.5*y,.8*a));var ae=new go.PathFigure(.5*y,.7*a,!1);E.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,y,.7*a));var ie=.1,ce=be*.1,ge=.1,fe=.9,Le=new go.PathFigure((ge-ie)*y,fe*a,!0);E.add(Le),Le.add(new go.PathSegment(go.PathSegment.Bezier,ge*y,(fe-ie)*a,(ge-ie)*y,(fe-ce)*a,(ge-ce)*y,(fe-ie)*a)),Le.add(new go.PathSegment(go.PathSegment.Bezier,(ge+ie)*y,fe*a,(ge+ce)*y,(fe-ie)*a,(ge+ie)*y,(fe-ce)*a)),Le.add(new go.PathSegment(go.PathSegment.Bezier,ge*y,(fe+ie)*a,(ge+ie)*y,(fe+ce)*a,(ge+ce)*y,(fe+ie)*a)),Le.add(new go.PathSegment(go.PathSegment.Bezier,(ge-ie)*y,fe*a,(ge-ce)*y,(fe+ie)*a,(ge-ie)*y,(fe+ce)*a)),ie=.1,ce=be*.1,ge=.4,fe=.9;var Ae=new go.PathFigure((ge-ie)*y,fe*a,!0);return E.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Bezier,ge*y,(fe-ie)*a,(ge-ie)*y,(fe-ce)*a,(ge-ce)*y,(fe-ie)*a)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(ge+ie)*y,fe*a,(ge+ce)*y,(fe-ie)*a,(ge+ie)*y,(fe-ce)*a)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,ge*y,(fe+ie)*a,(ge+ie)*y,(fe+ce)*a,(ge+ce)*y,(fe+ie)*a)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(ge-ie)*y,fe*a,(ge-ce)*y,(fe+ie)*a,(ge-ie)*y,(fe+ce)*a)),E}),go.Shape.defineFigureGenerator("RailShipment",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(.1*y,.4*a,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.45*y,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,.45*y,.9*a)),b.add(new go.PathSegment(go.PathSegment.Line,.1*y,.9*a)),b.add(new go.PathSegment(go.PathSegment.Line,.1*y,.4*a).close());var x=new go.PathFigure(.45*y,.7*a,!1);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.55*y,.7*a));var te=new go.PathFigure(.55*y,.4*a,!0);E.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.9*y,.4*a)),te.add(new go.PathSegment(go.PathSegment.Line,.9*y,.9*a)),te.add(new go.PathSegment(go.PathSegment.Line,.55*y,.9*a)),te.add(new go.PathSegment(go.PathSegment.Line,.55*y,.4*a).close());var ge=.05,fe=be*.05,Le=.175,Ae=.95,ae=new go.PathFigure((Le-ge)*y,Ae*a,!0);E.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,Le*y,(Ae-ge)*a,(Le-ge)*y,(Ae-fe)*a,(Le-fe)*y,(Ae-ge)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(Le+ge)*y,Ae*a,(Le+fe)*y,(Ae-ge)*a,(Le+ge)*y,(Ae-fe)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,Le*y,(Ae+ge)*a,(Le+ge)*y,(Ae+fe)*a,(Le+fe)*y,(Ae+ge)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(Le-ge)*y,Ae*a,(Le-fe)*y,(Ae+ge)*a,(Le-ge)*y,(Ae+fe)*a));var ge=.05,fe=be*.05,Le=.375,Ae=.95,ie=new go.PathFigure((Le-ge)*y,Ae*a,!0);E.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,Le*y,(Ae-ge)*a,(Le-ge)*y,(Ae-fe)*a,(Le-fe)*y,(Ae-ge)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(Le+ge)*y,Ae*a,(Le+fe)*y,(Ae-ge)*a,(Le+ge)*y,(Ae-fe)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,Le*y,(Ae+ge)*a,(Le+ge)*y,(Ae+fe)*a,(Le+fe)*y,(Ae+ge)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(Le-ge)*y,Ae*a,(Le-fe)*y,(Ae+ge)*a,(Le-ge)*y,(Ae+fe)*a));var ge=.05,fe=be*.05,Le=.625,Ae=.95,ce=new go.PathFigure((Le-ge)*y,Ae*a,!0);E.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,Le*y,(Ae-ge)*a,(Le-ge)*y,(Ae-fe)*a,(Le-fe)*y,(Ae-ge)*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(Le+ge)*y,Ae*a,(Le+fe)*y,(Ae-ge)*a,(Le+ge)*y,(Ae-fe)*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,Le*y,(Ae+ge)*a,(Le+ge)*y,(Ae+fe)*a,(Le+fe)*y,(Ae+ge)*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(Le-ge)*y,Ae*a,(Le-fe)*y,(Ae+ge)*a,(Le-ge)*y,(Ae+fe)*a));var ge=.05,fe=be*.05,Le=.825,Ae=.95,Ie=new go.PathFigure((Le-ge)*y,Ae*a,!0);E.add(Ie),Ie.add(new go.PathSegment(go.PathSegment.Bezier,Le*y,(Ae-ge)*a,(Le-ge)*y,(Ae-fe)*a,(Le-fe)*y,(Ae-ge)*a)),Ie.add(new go.PathSegment(go.PathSegment.Bezier,(Le+ge)*y,Ae*a,(Le+fe)*y,(Ae-ge)*a,(Le+ge)*y,(Ae-fe)*a)),Ie.add(new go.PathSegment(go.PathSegment.Bezier,Le*y,(Ae+ge)*a,(Le+ge)*y,(Ae+fe)*a,(Le+fe)*y,(Ae+ge)*a)),Ie.add(new go.PathSegment(go.PathSegment.Bezier,(Le-ge)*y,Ae*a,(Le-fe)*y,(Ae+ge)*a,(Le-ge)*y,(Ae+fe)*a).close());var ve=new go.PathFigure(0,a,!1);return E.add(ve),ve.add(new go.PathSegment(go.PathSegment.Line,y,a).close()),E}),go.Shape.defineFigureGenerator("Warehouse",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(0,0,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var x=new go.PathFigure(0,.2*a,!1);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,.2*a).close());var te=new go.PathFigure(.15*y,a,!0);E.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.15*y,.5*a)),te.add(new go.PathSegment(go.PathSegment.Line,.4*y,.5*a)),te.add(new go.PathSegment(go.PathSegment.Line,.4*y,a)),te.add(new go.PathSegment(go.PathSegment.Line,.15*y,a).close());var ae=.05,ie=be*.05,ce=.35,ge=.775,fe=new go.PathFigure((ce-ae)*y,ge*a,!0);return E.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,ce*y,(ge-ae)*a,(ce-ae)*y,(ge-ie)*a,(ce-ie)*y,(ge-ae)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ce+ae)*y,ge*a,(ce+ie)*y,(ge-ae)*a,(ce+ae)*y,(ge-ie)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,ce*y,(ge+ae)*a,(ce+ae)*y,(ge+ie)*a,(ce+ie)*y,(ge+ae)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ce-ae)*y,ge*a,(ce-ie)*y,(ge+ae)*a,(ce-ae)*y,(ge+ie)*a).close()),E}),go.Shape.defineFigureGenerator("ControlCenter",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(0,a,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,.1*y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,.1*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.9*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.9*y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Move,.1*y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,.9*y,.8*a).close()),E}),go.Shape.defineFigureGenerator("Bluetooth",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(0,.75*a,!1);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.75*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.25*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.75*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),E}),go.Shape.defineFigureGenerator("Bookmark",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(0,0,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Move,.2*y,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*y,.2*a)),b.add(new go.PathSegment(go.PathSegment.Move,.2*y,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*y,.4*a)),E}),go.Shape.defineFigureGenerator("Bookmark",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(0,0,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Move,.2*y,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*y,.2*a)),b.add(new go.PathSegment(go.PathSegment.Move,.2*y,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*y,.4*a)),E}),go.Shape.defineFigureGenerator("Globe",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(.5*y,0,!1);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),b.add(new go.PathSegment(go.PathSegment.Move,0,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Move,.5*y,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,.75*y,0,y,.25*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,y,.75*a,.75*y,a)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,.25*y,a,0,.75*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,0,.25*a,.25*y,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,.15*y,.25*a,.15*y,.75*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,.85*y,.75*a,.85*y,.25*a)),b.add(new go.PathSegment(go.PathSegment.Move,.1675*y,.15*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.8325*y,.15*a,.35*y,.3*a,.65*y,.3*a)),b.add(new go.PathSegment(go.PathSegment.Move,.1675*y,.85*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.8325*y,.85*a,.35*y,.7*a,.65*y,.7*a)),E}),go.Shape.defineFigureGenerator("Wave",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(0,.25*a,!1);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.3*y,.25*a,.1*y,0,.2*y,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.7*y,.25*a,.425*y,.5*a,.575*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,y,.25*a,.8*y,0,.9*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.75*a)),b.add(new go.PathSegment(go.PathSegment.Move,0,.25*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.75*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.3*y,.75*a,.1*y,.5*a,.2*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.7*y,.75*a,.425*y,a,.575*y,a)),b.add(new go.PathSegment(go.PathSegment.Bezier,y,.75*a,.8*y,.5*a,.9*y,.5*a)),E}),go.Shape.defineFigureGenerator("Operator",function(se,y,a){var E=new go.Geometry,b=.3,x=be*.3,te=.5,ae=.7,ie=new go.PathFigure((te-b)*y,ae*a,!0);E.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,te*y,(ae-b)*a,(te-b)*y,(ae-x)*a,(te-x)*y,(ae-b)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(te+b)*y,ae*a,(te+x)*y,(ae-b)*a,(te+b)*y,(ae-x)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,te*y,(ae+b)*a,(te+b)*y,(ae+x)*a,(te+x)*y,(ae+b)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(te-b)*y,ae*a,(te-x)*y,(ae+b)*a,(te-b)*y,(ae+x)*a));var ce=new go.PathFigure(0,.7*a,!1);return E.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,y,.7*a,0,0,y,0)),E}),go.Shape.defineFigureGenerator("TripleFanBlades",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(.5*y,0,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.65*a,.65*y,.3*a,.65*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,.35*y,.5*a,.35*y,.3*a)),b.add(new go.PathSegment(go.PathSegment.Move,.5*y,.65*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,a,.3*y,.6*a,.1*y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.65*a,.2*y,a,.35*y,.95*a)),b.add(new go.PathSegment(go.PathSegment.Move,.5*y,.65*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,y,a,.7*y,.6*a,.9*y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.65*a,.8*y,a,.65*y,.95*a)),E}),go.Shape.defineFigureGenerator("CentrifugalPump",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(y,0,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.4*y,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,0,.075*a,0,.5*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.4*y,a,0,a,.4*y,a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,.4*a,.8*y,a,.85*y,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),E}),go.Shape.defineFigureGenerator("Battery",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(0,a,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.1*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.1*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Move,.4*y,.1*a)),b.add(new go.PathSegment(go.PathSegment.Line,.4*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.6*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.6*y,.1*a));var x=new go.PathFigure(0,.6*a,!1);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Move,0,.4*a)),x.add(new go.PathSegment(go.PathSegment.Line,y,.4*a)),E}),go.Shape.defineFigureGenerator("Delete",function(se,y,a){var E=new go.Geometry,b=.5,x=be*.5,te=.5,ae=.5,ie=new go.PathFigure((te-b)*y,ae*a,!0);E.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,te*y,(ae-b)*a,(te-b)*y,(ae-x)*a,(te-x)*y,(ae-b)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(te+b)*y,ae*a,(te+x)*y,(ae-b)*a,(te+b)*y,(ae-x)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,te*y,(ae+b)*a,(te+b)*y,(ae+x)*a,(te+x)*y,(ae+b)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(te-b)*y,ae*a,(te-x)*y,(ae+b)*a,(te-b)*y,(ae+x)*a));var ce=new go.PathFigure(.15*y,.5*a,!1);return E.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,.85*y,.5*a)),E}),go.Shape.defineFigureGenerator("Flag",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(0,.1*a,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Move,0,.1*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.1*a,.15*y,0,.35*y,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,y,.1*a,.65*y,.2*a,.85*y,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.5*a,.85*y,.6*a,.65*y,.6*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,.35*y,.4*a,.15*y,.4*a).close()),E}),go.Shape.defineFigureGenerator("Help",function(se,y,a){var E=new go.Geometry,b=.5,x=be*.5,te=.5,ae=.5,ie=new go.PathFigure((te-b)*y,ae*a,!1);E.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,te*y,(ae-b)*a,(te-b)*y,(ae-x)*a,(te-x)*y,(ae-b)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(te+b)*y,ae*a,(te+x)*y,(ae-b)*a,(te+b)*y,(ae-x)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,te*y,(ae+b)*a,(te+b)*y,(ae+x)*a,(te+x)*y,(ae+b)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(te-b)*y,ae*a,(te-x)*y,(ae+b)*a,(te-b)*y,(ae+x)*a).close()),b=.05,x=be*.05,te=.5,ae=.8;var ce=new go.PathFigure((te-b)*y,ae*a,!1);return E.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,te*y,(ae-b)*a,(te-b)*y,(ae-x)*a,(te-x)*y,(ae-b)*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(te+b)*y,ae*a,(te+x)*y,(ae-b)*a,(te+b)*y,(ae-x)*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,te*y,(ae+b)*a,(te+b)*y,(ae+x)*a,(te+x)*y,(ae+b)*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(te-b)*y,ae*a,(te-x)*y,(ae+b)*a,(te-b)*y,(ae+x)*a).close()),ce.add(new go.PathSegment(go.PathSegment.Move,.5*y,.7*a)),ce.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.2*a,.75*y,.475*a,.75*y,.225*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,.3*y,.35*a,.4*y,.2*a,.3*y,.25*a)),E}),go.Shape.defineFigureGenerator("Location",function(se,y,a){return new go.Geometry().add(new go.PathFigure(.5*y,a,!0).add(new go.PathSegment(go.PathSegment.Line,.75*y,.5*a)).add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,.975*y,.025*a,.5*y,0)).add(new go.PathSegment(go.PathSegment.Bezier,.25*y,.5*a,.5*y,0,.025*y,.025*a).close()).add(new go.PathSegment(go.PathSegment.Move,.5*y,.2*a)).add(new go.PathSegment(go.PathSegment.Arc,270,360,.5*y,.3*a,.1*y,.1*a).close()))}),go.Shape.defineFigureGenerator("Lock",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(0,.5*a,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*a));var x=new go.PathFigure(.2*y,.5*a,!1);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Move,.2*y,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,.2*y,.3*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,.3*a,.25*y,0,.75*y,0)),x.add(new go.PathSegment(go.PathSegment.Line,.8*y,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,.8*y,.3*a)),E}),go.Shape.defineFigureGenerator("Unlocked",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(0,.5*a,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*a));var x=new go.PathFigure(.2*y,.5*a,!1);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Move,.2*y,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,.2*y,.3*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,.3*a,.25*y,0,.75*y,0)),x.add(new go.PathSegment(go.PathSegment.Line,.8*y,.35*a)),E}),go.Shape.defineFigureGenerator("Gear",function(se,y,a){return new go.Geometry().add(new go.PathFigure(.9375*y,.56246875*a,!0).add(new go.PathSegment(go.PathSegment.Line,.9375*y,.4375*a)).add(new go.PathSegment(go.PathSegment.Line,.80621875*y,.4375*a)).add(new go.PathSegment(go.PathSegment.Bezier,.763*y,.3316875*a,.79840625*y,.39915625*a,.7834375*y,.3635*a)).add(new go.PathSegment(go.PathSegment.Line,.8566875*y,.23796875*a)).add(new go.PathSegment(go.PathSegment.Line,.76825*y,.14959375*a)).add(new go.PathSegment(go.PathSegment.Line,.67596875*y,.24184375*a)).add(new go.PathSegment(go.PathSegment.Bezier,.5625*y,.19378125*a,.64228125*y,.2188125*a,.603875*y,.2021875*a)).add(new go.PathSegment(go.PathSegment.Line,.5625*y,.0625*a)).add(new go.PathSegment(go.PathSegment.Line,.4375*y,.0625*a)).add(new go.PathSegment(go.PathSegment.Line,.4375*y,.19378125*a)).add(new go.PathSegment(go.PathSegment.Bezier,.32775*y,.239375*a,.39759375*y,.20190625*a,.36053125*y,.2176875*a)).add(new go.PathSegment(go.PathSegment.Line,.2379375*y,.14959375*a)).add(new go.PathSegment(go.PathSegment.Line,.14953125*y,.2379375*a)).add(new go.PathSegment(go.PathSegment.Line,.23934375*y,.3278125*a)).add(new go.PathSegment(go.PathSegment.Bezier,.19378125*y,.4375*a,.21765625*y,.36059375*a,.201875*y,.397625*a)).add(new go.PathSegment(go.PathSegment.Line,.0625*y,.4375*a)).add(new go.PathSegment(go.PathSegment.Line,.0625*y,.5625*a)).add(new go.PathSegment(go.PathSegment.Line,.1938125*y,.5625*a)).add(new go.PathSegment(go.PathSegment.Bezier,.241875*y,.67596875*a,.20221875*y,.603875*a,.21884375*y,.64228125*a)).add(new go.PathSegment(go.PathSegment.Line,.1495625*y,.76825*a)).add(new go.PathSegment(go.PathSegment.Line,.238*y,.8566875*a)).add(new go.PathSegment(go.PathSegment.Line,.3316875*y,.76296875*a)).add(new go.PathSegment(go.PathSegment.Bezier,.43753125*y,.80621875*a,.36353125*y,.78340625*a,.3991875*y,.79840625*a)).add(new go.PathSegment(go.PathSegment.Line,.43753125*y,.9375*a)).add(new go.PathSegment(go.PathSegment.Line,.5625*y,.9375*a)).add(new go.PathSegment(go.PathSegment.Line,.5625*y,.80621875*a)).add(new go.PathSegment(go.PathSegment.Bezier,.67225*y,.760625*a,.602375*y,.79809375*a,.63946875*y,.78234375*a)).add(new go.PathSegment(go.PathSegment.Line,.76828125*y,.8566875*a)).add(new go.PathSegment(go.PathSegment.Line,.85671875*y,.76825*a)).add(new go.PathSegment(go.PathSegment.Line,.76065625*y,.67221875*a)).add(new go.PathSegment(go.PathSegment.Bezier,.80621875*y,.56246875*a,.78234375*y,.63940625*a,.798125*y,.602375*a)).add(new go.PathSegment(go.PathSegment.Line,.9375*y,.56246875*a).close()).add(new go.PathSegment(go.PathSegment.Move,.5*y,.6*a)).add(new go.PathSegment(go.PathSegment.Arc,90,360,.5*y,.5*a,.1*y,.1*a).close()))}),go.Shape.defineFigureGenerator("Hand",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(0,.5*a,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.1*y,.3*a,0,.375*a,.05*y,.325*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.45*y,.075*a,.3*y,.225*a,.4*y,.175*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.525*y,.075*a,.46*y,.05*a,.525*y,.05*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.3*y,.4*a,.525*y,.275*a,.475*y,.325*a)),b.add(new go.PathSegment(go.PathSegment.Line,.9*y,.4*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*y,.55*a,y,.4*a,y,.55*a)),b.add(new go.PathSegment(go.PathSegment.Line,.425*y,.55*a)),b.add(new go.PathSegment(go.PathSegment.Line,.6*y,.55*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.6*y,.7*a,.675*y,.55*a,.675*y,.7*a)),b.add(new go.PathSegment(go.PathSegment.Line,.4*y,.7*a)),b.add(new go.PathSegment(go.PathSegment.Line,.575*y,.7*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.575*y,.85*a,.65*y,.7*a,.65*y,.85*a)),b.add(new go.PathSegment(go.PathSegment.Line,.4*y,.85*a)),b.add(new go.PathSegment(go.PathSegment.Line,.525*y,.85*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.535*y,a,.61*y,.85*a,.61*y,a)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,.435*y,a,0,a).close()),E}),go.Shape.defineFigureGenerator("Map",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(0,.2*a,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.25*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.75*y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.25*y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),b.add(new go.PathSegment(go.PathSegment.Move,.25*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.25*y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Move,.5*y,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),b.add(new go.PathSegment(go.PathSegment.Move,.75*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.75*y,.8*a)),E}),go.Shape.defineFigureGenerator("Eject",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(0,a,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a*.7)),b.add(new go.PathSegment(go.PathSegment.Line,0,a*.7).close());var x=new go.PathFigure(0,a*.6,!0);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,.6*a)),x.add(new go.PathSegment(go.PathSegment.Line,.5*y,0).close()),E}),go.Shape.defineFigureGenerator("Pencil",function(se,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.2*y,.1*a)).add(new go.PathSegment(go.PathSegment.Line,y,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.9*y,a)).add(new go.PathSegment(go.PathSegment.Line,.1*y,.2*a).close()))}),go.Shape.defineFigureGenerator("Building",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(y*1,a*1,!1);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,0,a*.85)),b.add(new go.PathSegment(go.PathSegment.Line,.046*y,a*.85)),b.add(new go.PathSegment(go.PathSegment.Line,.046*y,a*.45)),b.add(new go.PathSegment(go.PathSegment.Line,0,a*.45)),b.add(new go.PathSegment(go.PathSegment.Line,0,a*.3)),b.add(new go.PathSegment(go.PathSegment.Line,.046*y,a*.3)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,a*0)),b.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*y,a*.3)),b.add(new go.PathSegment(go.PathSegment.Line,y,a*.3)),b.add(new go.PathSegment(go.PathSegment.Line,y,a*.45)),b.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*y,a*.45)),b.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*y,a*.85)),b.add(new go.PathSegment(go.PathSegment.Line,y,a*.85).close());var x=new go.PathFigure(.126*y,.85*a,!1);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.126*y,.45*a)),x.add(new go.PathSegment(go.PathSegment.Line,.322*y,.45*a)),x.add(new go.PathSegment(go.PathSegment.Line,.322*y,.85*a).close());var te=new go.PathFigure(.402*y,.85*a,!1);E.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.402*y,.45*a)),te.add(new go.PathSegment(go.PathSegment.Line,.598*y,.45*a)),te.add(new go.PathSegment(go.PathSegment.Line,.598*y,.85*a).close());var ae=new go.PathFigure(.678*y,.85*a,!1);E.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,.678*y,.45*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.874*y,.45*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.874*y,.85*a).close());var ie=new go.PathFigure(.5*y,.1*a,!1);return E.add(ie),ie.add(new go.PathSegment(go.PathSegment.Line,(.046+.15)*y,.3*a)),ie.add(new go.PathSegment(go.PathSegment.Line,(1-(.046+.15))*y,.3*a).close()),E}),go.Shape.defineFigureGenerator("Staircase",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(0,a*1,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y*.2,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*.2,a*.8)),b.add(new go.PathSegment(go.PathSegment.Line,y*.4,a*.8)),b.add(new go.PathSegment(go.PathSegment.Line,y*.4,a*.6)),b.add(new go.PathSegment(go.PathSegment.Line,y*.6,a*.6)),b.add(new go.PathSegment(go.PathSegment.Line,y*.6,a*.4)),b.add(new go.PathSegment(go.PathSegment.Line,y*.8,a*.4)),b.add(new go.PathSegment(go.PathSegment.Line,y*.8,a*.2)),b.add(new go.PathSegment(go.PathSegment.Line,y*1,a*.2)),b.add(new go.PathSegment(go.PathSegment.Line,y*1,a*.15)),b.add(new go.PathSegment(go.PathSegment.Line,y*.75,a*.15)),b.add(new go.PathSegment(go.PathSegment.Line,y*.75,a*.35)),b.add(new go.PathSegment(go.PathSegment.Line,y*.55,a*.35)),b.add(new go.PathSegment(go.PathSegment.Line,y*.55,a*.55)),b.add(new go.PathSegment(go.PathSegment.Line,y*.35,a*.55)),b.add(new go.PathSegment(go.PathSegment.Line,y*.35,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,y*.15,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,y*.15,a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,0,a*.95).close()),E}),go.Shape.defineFigureGenerator("5Bars",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(0,a*1,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y*.184,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*.184,a*(1-.184)).close());var x=new go.PathFigure(y*.204,a,!0);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y*.204,a*(1-.184))),x.add(new go.PathSegment(go.PathSegment.Line,y*.388,a*(1-.184*2))),x.add(new go.PathSegment(go.PathSegment.Line,y*.388,a*1).close());var te=new go.PathFigure(y*.408,a,!0);E.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y*.408,a*(1-.184*2))),te.add(new go.PathSegment(go.PathSegment.Line,y*.592,a*(1-.184*3))),te.add(new go.PathSegment(go.PathSegment.Line,y*.592,a*1).close());var ae=new go.PathFigure(y*.612,a,!0);E.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,y*.612,a*(1-.184*3))),ae.add(new go.PathSegment(go.PathSegment.Line,y*.796,a*(1-.184*4))),ae.add(new go.PathSegment(go.PathSegment.Line,y*.796,a*1).close());var ie=new go.PathFigure(y*.816,a,!0);return E.add(ie),ie.add(new go.PathSegment(go.PathSegment.Line,y*.816,a*(1-.184*4))),ie.add(new go.PathSegment(go.PathSegment.Line,y*1,a*(1-.184*5))),ie.add(new go.PathSegment(go.PathSegment.Line,y*1,a*1).close()),E}),go.Shape.defineFigureGenerator("PC",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(0,0,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*.3,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*.3,0).close());var x=new go.PathFigure(y*.055,.07*a,!0);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y*.245,a*.07)),x.add(new go.PathSegment(go.PathSegment.Line,y*.245,a*.1)),x.add(new go.PathSegment(go.PathSegment.Line,y*.055,a*.1).close());var te=new go.PathFigure(y*.055,.13*a,!0);E.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y*.245,a*.13)),te.add(new go.PathSegment(go.PathSegment.Line,y*.245,a*.16)),te.add(new go.PathSegment(go.PathSegment.Line,y*.055,a*.16).close());var ae=new go.PathFigure(y*.055,.18*a,!0);E.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,y*.245,a*.18)),ae.add(new go.PathSegment(go.PathSegment.Line,y*.245,a*.21)),ae.add(new go.PathSegment(go.PathSegment.Line,y*.055,a*.21).close());var ie=new go.PathFigure(y*1,0,!0);return E.add(ie),ie.add(new go.PathSegment(go.PathSegment.Line,y*.4,0)),ie.add(new go.PathSegment(go.PathSegment.Line,y*.4,a*.65)),ie.add(new go.PathSegment(go.PathSegment.Line,y*1,a*.65).close()),E}),go.Shape.defineFigureGenerator("Plane",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(.55*y,a,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,.4*y,.7*a)),b.add(new go.PathSegment(go.PathSegment.Line,.1*y,.475*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.35*y,.525*a,0,.4*a,.225*y,.45*a)),b.add(new go.PathSegment(go.PathSegment.Line,.4*y,.475*a)),b.add(new go.PathSegment(go.PathSegment.Line,.15*y,.35*a)),b.add(new go.PathSegment(go.PathSegment.Line,.2*y,.325*a)),b.add(new go.PathSegment(go.PathSegment.Line,.6*y,.325*a)),b.add(new go.PathSegment(go.PathSegment.Line,.85*y,.1*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*y,.2*a,.975*y,0,y,.08*a)),b.add(new go.PathSegment(go.PathSegment.Line,.7*y,.45*a)),b.add(new go.PathSegment(go.PathSegment.Line,.6*y,.95*a)),b.add(new go.PathSegment(go.PathSegment.Line,.55*y,a).close()),E}),go.Shape.defineFigureGenerator("Key",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(y*1,a*.5,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y*.9,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.5,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.5,.35*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.45,.35*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.3,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.15,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.35*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.65*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.15,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.3,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.45,.65*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.5,.65*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.5,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.6,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.65,.55*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.7,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.75,.55*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.8,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.85,.575*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.9,.6*a).close()),b.add(new go.PathSegment(go.PathSegment.Move,.17*y,.425*a)),b.add(new go.PathSegment(go.PathSegment.Arc,270,360,.17*y,.5*a,.075*y,.075*a).close()),E}),go.Shape.defineFigureGenerator("FilmTape",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(0,0,!1);E.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,270,180,y*0,y*.3,y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,0,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*.08,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*.08,a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*1),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*1),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*2),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*2),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*3),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*3),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*4),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*4),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*5),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*5),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*6),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*6),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*7),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*7),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*8),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*8),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*9),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*9),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*10),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*10),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*11),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*11),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*12),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*12),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*13),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*13),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*14),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*14),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*15),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*15),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*1,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*1,a*1));var x=new go.PathFigure(0,0,!1);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y*1,a*0)),x.add(new go.PathSegment(go.PathSegment.Arc,270,-180,y*1,y*.3,y*.055)),x.add(new go.PathSegment(go.PathSegment.Line,y*1,a*1));var te=new go.PathFigure(y*.11,a*.1,!1);E.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*1+.028*0),a*.1)),te.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*1+.028*0),a*.8)),te.add(new go.PathSegment(go.PathSegment.Line,y*.11,a*.8).close());var ae=new go.PathFigure(y*(.11+.24133333*1+.028*1),a*.1,!1);E.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*2+.028*1),a*.1)),ae.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*2+.028*1),a*.8)),ae.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*1+.028*1),a*.8).close());var ie=new go.PathFigure(y*(.11+.24133333*2+.028*2),a*.1,!1);return E.add(ie),ie.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*3+.028*2),a*.1)),ie.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*3+.028*2),a*.8)),ie.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*2+.028*2),a*.8).close()),E}),go.Shape.defineFigureGenerator("FloppyDisk",function(se,y,a){var E=new go.Geometry,b=8,x=b*be,te=new go.PathFigure(b,0,!1);E.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y*.86,0)),te.add(new go.PathSegment(go.PathSegment.Line,y*1,a*.14)),te.add(new go.PathSegment(go.PathSegment.Line,y,a-b)),te.add(new go.PathSegment(go.PathSegment.Bezier,y-b,a,y,a-x,y-x,a)),te.add(new go.PathSegment(go.PathSegment.Line,b,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,a-b,x,a,0,a-x)),te.add(new go.PathSegment(go.PathSegment.Line,0,b)),te.add(new go.PathSegment(go.PathSegment.Bezier,b,0,0,x,x,0).close());var ae=new go.PathFigure(y*.83,0,!1);E.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,y*.83,a*.3)),ae.add(new go.PathSegment(go.PathSegment.Line,y*.17,a*.3)),ae.add(new go.PathSegment(go.PathSegment.Line,y*.17,a*0).close());var ie=new go.PathFigure(y*.83,a*1,!1);E.add(ie),ie.add(new go.PathSegment(go.PathSegment.Line,y*.83,a*.5)),ie.add(new go.PathSegment(go.PathSegment.Line,y*.17,a*.5)),ie.add(new go.PathSegment(go.PathSegment.Line,y*.17,a*1).close());var ce=new go.PathFigure(y*.78,a*.05,!1);return E.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*.05)),ce.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*.25)),ce.add(new go.PathSegment(go.PathSegment.Line,y*.78,a*.25).close()),E}),go.Shape.defineFigureGenerator("SpeechBubble",function(se,y,a){var E=se?se.parameter1:NaN;(isNaN(E)||E<0)&&(E=15),E=Math.min(E,y/3),E=Math.min(E,a/3);var b=E*be,x=a*.8,te=new go.Geometry,ae=new go.PathFigure(E,0,!0);return te.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,y-E,0)),ae.add(new go.PathSegment(go.PathSegment.Bezier,y,E,y-b,0,y,b)),ae.add(new go.PathSegment(go.PathSegment.Line,y,x-E)),ae.add(new go.PathSegment(go.PathSegment.Bezier,y-E,x,y,x-b,y-b,x)),ae.add(new go.PathSegment(go.PathSegment.Line,y*.7,x)),ae.add(new go.PathSegment(go.PathSegment.Line,y*.7,a)),ae.add(new go.PathSegment(go.PathSegment.Line,y*.55,x)),ae.add(new go.PathSegment(go.PathSegment.Line,E,x)),ae.add(new go.PathSegment(go.PathSegment.Bezier,0,x-E,b,x,0,x-b)),ae.add(new go.PathSegment(go.PathSegment.Line,0,E)),ae.add(new go.PathSegment(go.PathSegment.Bezier,E,0,0,b,b,0).close()),b>1?(te.spot1=new go.Spot(0,0,b,b),te.spot2=new go.Spot(1,.8,-b,-b)):(te.spot1=go.Spot.TopLeft,te.spot2=new go.Spot(1,.8)),te}),go.Shape.defineFigureGenerator("Repeat",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(y*0,a*.45,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y*.25,a*0)),b.add(new go.PathSegment(go.PathSegment.Line,y*.5,a*.45)),b.add(new go.PathSegment(go.PathSegment.Line,y*.3,a*.45)),b.add(new go.PathSegment(go.PathSegment.Line,y*.3,a*.9)),b.add(new go.PathSegment(go.PathSegment.Line,y*.6,a*.9)),b.add(new go.PathSegment(go.PathSegment.Line,y*.65,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*.2,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*.2,a*.45).close());var x=new go.PathFigure(y*1,a*.55,!0);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y*.75,a*1)),x.add(new go.PathSegment(go.PathSegment.Line,y*.5,a*.55)),x.add(new go.PathSegment(go.PathSegment.Line,y*.7,a*.55)),x.add(new go.PathSegment(go.PathSegment.Line,y*.7,a*.1)),x.add(new go.PathSegment(go.PathSegment.Line,y*.4,a*.1)),x.add(new go.PathSegment(go.PathSegment.Line,y*.35,a*0)),x.add(new go.PathSegment(go.PathSegment.Line,y*.8,a*0)),x.add(new go.PathSegment(go.PathSegment.Line,y*.8,a*.55).close()),E}),go.Shape.defineFigureGenerator("Windows",function(se,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close()).add(new go.PathSegment(go.PathSegment.Move,.4*y,.4*a)).add(new go.PathSegment(go.PathSegment.Line,.4*y,.8*a)).add(new go.PathSegment(go.PathSegment.Line,.9*y,.8*a)).add(new go.PathSegment(go.PathSegment.Line,.9*y,.4*a).close()).add(new go.PathSegment(go.PathSegment.Move,.2*y,.1*a)).add(new go.PathSegment(go.PathSegment.Line,.2*y,.6*a)).add(new go.PathSegment(go.PathSegment.Line,.7*y,.6*a)).add(new go.PathSegment(go.PathSegment.Line,.7*y,.1*a).close()).add(new go.PathSegment(go.PathSegment.Move,.1*y,.6*a)).add(new go.PathSegment(go.PathSegment.Line,.1*y,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.5*y,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.5*y,.6*a).close()))}),go.Shape.defineFigureGenerator("Terminal",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(y*0,a*.1,!1);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y*1,a*.1)),b.add(new go.PathSegment(go.PathSegment.Line,y*1,a*.9)),b.add(new go.PathSegment(go.PathSegment.Line,y*0,a*.9).close());var x=new go.PathFigure(y*.1,a*.2,!0);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y*.1,a*.25)),x.add(new go.PathSegment(go.PathSegment.Line,y*.22,a*.285)),x.add(new go.PathSegment(go.PathSegment.Line,y*.1,a*.32)),x.add(new go.PathSegment(go.PathSegment.Line,y*.1,a*.37)),x.add(new go.PathSegment(go.PathSegment.Line,y*.275,a*.32)),x.add(new go.PathSegment(go.PathSegment.Line,y*.275,a*.25).close());var te=new go.PathFigure(y*.28,a*.37,!0);return E.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y*.45,a*.37)),te.add(new go.PathSegment(go.PathSegment.Line,y*.45,a*.41)),te.add(new go.PathSegment(go.PathSegment.Line,y*.28,a*.41).close()),E}),go.Shape.defineFigureGenerator("Beaker",function(se,y,a){var E=new go.Geometry,b=15,x=b*be,te=new go.PathFigure(y*.62,a*.475,!0);return E.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y,a-b)),te.add(new go.PathSegment(go.PathSegment.Bezier,y-b,a,y,a-x,y-x,a)),te.add(new go.PathSegment(go.PathSegment.Line,b,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,a-b,x,a,0,a-x)),te.add(new go.PathSegment(go.PathSegment.Line,y*.38,a*.475)),te.add(new go.PathSegment(go.PathSegment.Line,y*.38,a*.03)),te.add(new go.PathSegment(go.PathSegment.Line,y*.36,a*0)),te.add(new go.PathSegment(go.PathSegment.Line,y*.64,a*0)),te.add(new go.PathSegment(go.PathSegment.Line,y*.62,a*.03).close()),x>1?(E.spot1=new go.Spot(0,0,x,x),E.spot2=new go.Spot(1,1,-x,-x)):(E.spot1=go.Spot.TopLeft,E.spot2=go.Spot.BottomRight),E}),go.Shape.defineFigureGenerator("Download",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(y*0,a*1,!0);E.add(b);var x=.1/.3;b.add(new go.PathSegment(go.PathSegment.Line,y*1,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*1,a*(1-x))),b.add(new go.PathSegment(go.PathSegment.Line,y*.8,a*0)),b.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*0)),b.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,y*.755,a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,y*.93,a*(1-x))),b.add(new go.PathSegment(go.PathSegment.Line,y*.64,a*(1-x))),b.add(new go.PathSegment(go.PathSegment.Line,y*.61,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,y*.5,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,y*.39,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,y*.36,a*(1-x))),b.add(new go.PathSegment(go.PathSegment.Line,y*.07,a*(1-x))),b.add(new go.PathSegment(go.PathSegment.Line,y*(1-.755),a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,y*(1-.66),a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,y*(1-.66),a*0)),b.add(new go.PathSegment(go.PathSegment.Line,y*(1-.8),a*0)),b.add(new go.PathSegment(go.PathSegment.Line,y*0,a*(1-x)).close());var te=new go.PathFigure(y*.4,a*0,!0);return E.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y*.4,a*.44)),te.add(new go.PathSegment(go.PathSegment.Line,y*.26,a*.44)),te.add(new go.PathSegment(go.PathSegment.Line,y*.5,a*.66)),te.add(new go.PathSegment(go.PathSegment.Line,y*(1-.26),a*.44)),te.add(new go.PathSegment(go.PathSegment.Line,y*.6,a*.44)),te.add(new go.PathSegment(go.PathSegment.Line,y*.6,a*0).close()),E}),go.Shape.defineFigureGenerator("Bin",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(y*0,a*1,!0);E.add(b);var x=.1/.3;return b.add(new go.PathSegment(go.PathSegment.Line,y*1,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*1,a*(1-x))),b.add(new go.PathSegment(go.PathSegment.Line,y*.8,a*0)),b.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*0)),b.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,y*.755,a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,y*.93,a*(1-x))),b.add(new go.PathSegment(go.PathSegment.Line,y*.64,a*(1-x))),b.add(new go.PathSegment(go.PathSegment.Line,y*.61,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,y*.5,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,y*.39,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,y*.36,a*(1-x))),b.add(new go.PathSegment(go.PathSegment.Line,y*.07,a*(1-x))),b.add(new go.PathSegment(go.PathSegment.Line,y*(1-.755),a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,y*(1-.66),a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,y*(1-.66),a*0)),b.add(new go.PathSegment(go.PathSegment.Line,y*(1-.8),a*0)),b.add(new go.PathSegment(go.PathSegment.Line,y*0,a*(1-x)).close()),E}),go.Shape.defineFigureGenerator("Upload",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(y*0,a*1,!0);E.add(b);var x=.1/.3;b.add(new go.PathSegment(go.PathSegment.Line,y*1,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*1,a*(1-x))),b.add(new go.PathSegment(go.PathSegment.Line,y*.8,a*0)),b.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*0)),b.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,y*.755,a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,y*.93,a*(1-x))),b.add(new go.PathSegment(go.PathSegment.Line,y*.64,a*(1-x))),b.add(new go.PathSegment(go.PathSegment.Line,y*.61,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,y*.5,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,y*.39,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,y*.36,a*(1-x))),b.add(new go.PathSegment(go.PathSegment.Line,y*.07,a*(1-x))),b.add(new go.PathSegment(go.PathSegment.Line,y*(1-.755),a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,y*(1-.66),a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,y*(1-.66),a*0)),b.add(new go.PathSegment(go.PathSegment.Line,y*(1-.8),a*0)),b.add(new go.PathSegment(go.PathSegment.Line,y*0,a*(1-x)).close());var te=new go.PathFigure(y*.5,a*0,!0);return E.add(te),te.add(new go.PathSegment(go.PathSegment.Line,y*.26,a*.25)),te.add(new go.PathSegment(go.PathSegment.Line,y*.4,a*.25)),te.add(new go.PathSegment(go.PathSegment.Line,y*.4,a*.63)),te.add(new go.PathSegment(go.PathSegment.Line,y*.6,a*.63)),te.add(new go.PathSegment(go.PathSegment.Line,y*.6,a*.25)),te.add(new go.PathSegment(go.PathSegment.Line,y*.74,a*.25).close()),E}),go.Shape.defineFigureGenerator("EmptyDrink",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(y*.15,a*0,!1);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y*.85,a*0)),b.add(new go.PathSegment(go.PathSegment.Line,y*.7,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*.3,a*1).close()),E}),go.Shape.defineFigureGenerator("Drink",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(y*.15,a*0,!1);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y*.85,a*0)),b.add(new go.PathSegment(go.PathSegment.Line,y*.7,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*.3,a*1).close());var x=new go.PathFigure(y*.235,a*.28,!0);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y*.765,a*.28)),x.add(new go.PathSegment(go.PathSegment.Line,y*.655,a*.97)),x.add(new go.PathSegment(go.PathSegment.Line,y*.345,a*.97).close()),E}),go.Shape.defineFigureGenerator("4Arrows",function(se,y,a){var E=new go.Geometry,b=new go.PathFigure(y*.5,a*0,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y*.65,a*.25)),b.add(new go.PathSegment(go.PathSegment.Line,y*.55,a*.25)),b.add(new go.PathSegment(go.PathSegment.Line,y*.55,a*.45)),b.add(new go.PathSegment(go.PathSegment.Line,y*.75,a*.45)),b.add(new go.PathSegment(go.PathSegment.Line,y*.75,a*.35)),b.add(new go.PathSegment(go.PathSegment.Line,y*1,a*.5)),b.add(new go.PathSegment(go.PathSegment.Line,y*.75,a*.65)),b.add(new go.PathSegment(go.PathSegment.Line,y*.75,a*.55)),b.add(new go.PathSegment(go.PathSegment.Line,y*.55,a*.55)),b.add(new go.PathSegment(go.PathSegment.Line,y*.55,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,y*.65,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,y*.5,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*.35,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,y*.45,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,y*.45,a*.55)),b.add(new go.PathSegment(go.PathSegment.Line,y*.25,a*.55)),b.add(new go.PathSegment(go.PathSegment.Line,y*.25,a*.65)),b.add(new go.PathSegment(go.PathSegment.Line,y*0,a*.5)),b.add(new go.PathSegment(go.PathSegment.Line,y*.25,a*.35)),b.add(new go.PathSegment(go.PathSegment.Line,y*.25,a*.45)),b.add(new go.PathSegment(go.PathSegment.Line,y*.45,a*.45)),b.add(new go.PathSegment(go.PathSegment.Line,y*.45,a*.25)),b.add(new go.PathSegment(go.PathSegment.Line,y*.35,a*.25).close()),E}),go.Shape.defineFigureGenerator("Connector","Ellipse"),go.Shape.defineFigureGenerator("Alternative","TriangleUp"),go.Shape.defineFigureGenerator("Merge","TriangleUp"),go.Shape.defineFigureGenerator("Decision","Diamond"),go.Shape.defineFigureGenerator("DataTransmissions","Hexagon"),go.Shape.defineFigureGenerator("Gate","Crescent"),go.Shape.defineFigureGenerator("Delay","HalfEllipse"),go.Shape.defineFigureGenerator("Input","Parallelogram1"),go.Shape.defineFigureGenerator("ManualLoop","ManualOperation"),go.Shape.defineFigureGenerator("ISOProcess","Chevron"),go.Shape.defineFigureGenerator("MessageToUser","SquareArrow"),go.Shape.defineFigureGenerator("MagneticData","Cylinder1"),go.Shape.defineFigureGenerator("DirectData","Cylinder4"),go.Shape.defineFigureGenerator("StoredData","DataStorage"),go.Shape.defineFigureGenerator("SequentialData","MagneticTape"),go.Shape.defineFigureGenerator("Subroutine","Procedure")},80727:function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;(function(){if(typeof window.GGBApplet=="function"){console.warn("deployggb.js was loaded twice");return}var isRenderGGBElementEnabled=!1,scriptLoadStarted=!1,html5AppletsToProcess=null,ggbHTML5LoadedCodebaseIsWebSimple=!1,ggbHTML5LoadedCodebaseVersion=null,ggbHTML5LoadedScript=null,GGBApplet=function(){"use strict";for(var Ft={},Tt="5.0",oe={},ne=null,Pe=!1,Ye=!1,Oe=null,De=!1,ke=null,be=null,et=0;et4?parseFloat(Ze):5};Ft.setHTML5Codebase=function(Ze,lt){be=Ze,Ot(Ze,lt)},Ft.setJavaCodebase=Ft.setJavaCodebaseVersion=Ft.isCompiledInstalled=Ft.setPreCompiledScriptPath=Ft.setPreCompiledResourcePath=function(){},Ft.setHTML5CodebaseVersion=function(Ze,lt){var Ht=parseFloat(Ze);if(Ht!==NaN&&Ht<5){console.log("The GeoGebra HTML5 codebase version "+Ht+" is deprecated. Using version latest instead.");return}ke=Ze,Pt(Ze,lt)},Ft.getHTML5CodebaseVersion=function(){return se},Ft.getParameters=function(){return oe},Ft.setFontsCSSURL=function(Ze){te=Ze},Ft.setGiacJSURL=function(Ze){},Ft.setJNLPFile=function(Ze){$e=Ze},Ft.setJNLPBaseDir=function(Ze){},Ft.inject=function(){function Ze(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var lt="auto",Ht=oe.id,rn,ht=!1,$t=0;$t=5)return!0;var Ze=Ft.getAppletObject();return Ze&&typeof Ze.recalculateEnvironments=="function"?(Ze.recalculateEnvironments(),!0):!1},Ft.startAnimation=function(){var Ze=Ft.getAppletObject();return Ze&&typeof Ze.startAnimation=="function"?(Ze.startAnimation(),!0):!1},Ft.stopAnimation=function(){var Ze=Ft.getAppletObject();return Ze&&typeof Ze.stopAnimation=="function"?(Ze.stopAnimation(),!0):!1},Ft.getAppletObject=function(){var Ze=oe.id!==void 0?oe.id:"ggbApplet";return window[Ze]},Ft.resize=function(){};var Ie=function(Ze,lt,Ht){var rn=document.createElement("param");rn.setAttribute("name",lt),rn.setAttribute("value",Ht),Ze.appendChild(rn)},ve=function(Ze){return Ze&&Ze!=="false"},Xe=function(Ze,lt,Ht){ie(se)<=4.2&&(Ht=!0);var rn=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==se||ggbHTML5LoadedCodebaseIsWebSimple&&!a)&&(rn=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var ht=document.createElement("div");ht.classList.add("appletParameters","notranslate");var $t=lt.width,Fe=lt.height;if(lt.disableAutoScale=lt.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():lt.disableAutoScale,lt.width!==void 0)if(ie(se)<=4.4)ve(lt.showToolBar)&&(lt.height-=7),ve(lt.showAlgebraInput)&&(lt.height-=37),lt.width<605&&ve(lt.showToolBar)&&(lt.width=605,$t=605);else{var rt=100;(ve(lt.showToolBar)||ve(lt.showMenuBar))&&(lt.hasOwnProperty("customToolBar")&&(lt.customToolbar=lt.customToolBar),rt=ve(lt.showMenuBar)?245:155),$t=5?(lt.appletOnLoad=function(Ee){var Me=Ze.querySelector(".ggb_preview");Me&&Me.parentNode.removeChild(Me),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(Jt),window.GGBT_wsf_view&&$(window).trigger("resize"),nn(Ee)},Ue||Jt.appendChild(je)):ht.appendChild(je),Jt.appendChild(ht),Ue||Ze.appendChild(Jt),setTimeout(function(){Ft.resize()},1)}else{var we=document.createElement("div");we.className="applet_scaler",we.style.position="relative",we.style.display="block",we.appendChild(ht),Ze.appendChild(we),lt.appletOnLoad=function(Ee){Ft.resize(),nn(Ee)}}function me(Ee,Me){Me&&typeof Me.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(Ee,Me.appletOnLoad):renderGGBElement(Ee),mt("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",Me)}function Re(Ee,Me){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:Ee,params:Me}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(bt){me(bt.article,bt.params)}),html5AppletsToProcess=null)},ie(se)<5&&(Ee.className+=" geogebraweb")):me(Ee,Me)}if(rn){scriptLoadStarted=!0;for(var yt=0;yt0?(wt.remove(),Jt.attr("id","fullscreencontent").show(),jQuery(nn).append(Jt),window.dispatchEvent(new Event("resize"))):Xe(wt,lt,!1),window.GGBT_wsf_view.launchFullScreen(nn)}else Ke=rn,Xe(Ze,lt,!1);if(!window.GGBT_wsf_view)for(Fe=0;FeZe/4*3&&(wt=Ze/4*3),nn=wt/5.8,rt.setAttribute("src",b),rt.setAttribute("width",wt),rt.setAttribute("height",nn);var Jt=(Ze-wt)/2,Ue=(lt-nn)/2;rt.style.left=Jt+"px",rt.style.top=Ue+"px",ht.appendChild(rt)}}return ht.appendChild(Fe),ht},qt=function(Ze){return Ze=Ze.toLowerCase(),Ze==="html5"||Ze==="screenshot"?Ze:"html5"},an=["web","webSimple","web3d","tablet","tablet3d","phone"],Pt=function(Ze,lt){if(se=Ze,lt){Ot(se,!0);return}var Ht=!Pe;if(Ht){var rn=ie(se);!isNaN(rn)&&rn<4.4&&(Ht=!1)}var ht,$t;window.location.protocol.substr(0,4)==="http"?ht=window.location.protocol:ht="http:";var Fe=se.indexOf("//");Fe>0?$t=se:Fe===0?$t=ht+se:$t="https://www.geogebra.org/apps/5.2.814.0/";for(var rt in an)if(se.slice(an[rt].length*-1)===an[rt]||se.slice((an[rt].length+1)*-1)===an[rt]+"/"){Ot($t,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&Ht&&!ne.is3D&&!ne.AV&&!ne.SV&&!ne.CV&&!ne.EV2&&!ne.CP&&!ne.PC&&!ne.DA&&!ne.FI&&!ne.PV&&!ve(oe.showToolBar)&&!ve(oe.showMenuBar)&&!ve(oe.showAlgebraInput)&&!ve(oe.enableRightClick)&&(!oe.appName||oe.appName=="classic")?$t+="webSimple/":$t+="web3d/",Ot($t,!1)},Ot=function(Ze,lt){if(Ze.requirejs){ot=Ze;return}Ze.slice(-1)!=="/"&&(Ze+="/"),ot=Ze,lt===null&&(lt=Ze.indexOf("http")===-1),_e=lt,y="web.nocache.js",a=!1;var Ht=ot.split("/");Ht.length>1&&(!lt&&Ht[Ht.length-2]==="webSimple"?(y="webSimple.nocache.js",a=!0):an.indexOf(Ht[Ht.length-2])>=0&&(y=Ht[Ht.length-2]+".nocache.js")),Ht=Ze.split("/"),se=Ht[Ht.length-3],se.substr(0,4)==="test"?se=se.substr(4,1)+"."+se.substr(5,1):(se.substr(0,3)==="war"||se.substr(0,4)==="beta")&&(se="5.0");var rn=parseFloat(se);rn!==NaN&&rn<5&&Ze.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+rn+" is deprecated. Using version latest instead."),Pt("5.0",lt))},mt=function(Ze,lt){window.console&&window.console.log&&(!lt||typeof lt.showLogging=="undefined"||lt.showLogging&<.showLogging!=="false")&&console.log(Ze)};oe.material_id!==void 0?fe(Qt):Qt();function Qt(){var Ze=Tt;ke!==null?Ze=ke:parseFloat(Ze)<5&&(Ze="5.0"),Pt(Ze,!1),be!==null&&Ot(be,_e),De=!0}return Ft},GGBAppletUtils=function(){"use strict";function Ft(){return window.GGBT_wsf_edit!==void 0}function Tt(De,ke){ke!=1?(De.style.transformOrigin="0% 0% 0px",De.style.webkitTransformOrigin="0% 0% 0px",De.style.transform="scale("+ke+","+ke+")",De.style.webkitTransform="scale("+ke+","+ke+")",De.style.maxWidth="initial",De.querySelector(".ggb_preview")!==null&&(De.querySelector(".ggb_preview").style.maxWidth="initial"),De.querySelectorAll(".ggb_preview img")[0]!==void 0&&(De.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),De.querySelectorAll(".ggb_preview img")[1]!==void 0&&(De.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(De.style.transform="none",De.style.webkitTransform="none")}function oe(De,ke,be,et,Qe,$e){var ot=null;if($e!=null&&$e!="")for(var _e=De.parentNode;_e!=null;)if((" "+_e.className+" ").indexOf(" "+$e+" ")>-1){ot=_e;break}else _e=_e.parentNode;var Ke=0,se=0,y=0,a=0,E=0,b=0,x=0;if(ot)Ke=ot.offsetWidth,se=Math.max(et?ot.offsetWidth:0,ot.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(Ke=Math.min(window.innerWidth,document.documentElement.clientWidth),se=Math.min(window.innerHeight,document.documentElement.clientHeight),y=Ke):(Ke=window.innerWidth,se=window.innerHeight,y=window.innerWidth),De){var te=De.getBoundingClientRect();te.left>0&&te.left<=Ke&&(Qe===void 0||!Qe)&&(document.dir==="rtl"?(E=Ke-te.width-te.left,b=y<=480?10:30):(b=te.left,E=y<=480?10:30),a=b+E)}if(De&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var ae=De.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(a=40,x=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(a=0,x=40)}}return De&&((be===void 0||!be)&&ke>0&&ke+a1&&($e=!0)),ke&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&($e=!0),!(De.hasOwnProperty("disableAutoScale")&&De.disableAutoScale))Qe=ne(De,ke,$e,be,De.scaleContainerClass);else return et;return $e&&(!De.hasOwnProperty("scale")||et===1)?Qe:Math.min(et,Qe)}function Ye(De){var ke=Math.min(window.innerWidth,document.documentElement.clientWidth),be=Math.min(window.innerHeight,document.documentElement.clientHeight),et=De.getBoundingClientRect(),Qe=(ke-et.width)/2,$e=(be-et.height)/2;$e<0&&($e=0),De.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(Qe<40?De.style.left="40px":De.style.left=Qe+"px",De.style.top=$e+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&($e<40?De.style.top="40px":De.style.top=$e+"px",De.style.left=Qe+"px")}function Oe(De,ke){var be=De.querySelector(".appletParameters");if(be){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(ke.id!==be.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(De)}if(be.parentElement&&/fullscreen/.test(be.parentElement.className))return;var et=Pe(ke,De);Ft()&&be.setAttribute("data-param-scale",et);for(var Qe=null,$e=0;$e=O)continue;if(j==jb){if(k=i.getAttribute(kb),k){var l,m=k.indexOf(lb);m>=O?(j=k.substring(O,m),l=k.substring(m+P)):(j=k,l=W),c[j]=l}}else if(j==mb){if(k=i.getAttribute(kb),k)try{d=eval(k)}catch(Ft){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(Ft){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(Ft){var Tt=c[Ft];return Tt==null?null:Tt},r=d,webModule.__errFn=e}function B(){function Ft(De){var ke=De.lastIndexOf(rb);ke==-1&&(ke=De.length);var be=De.indexOf(sb);be==-1&&(be=De.length);var et=De.lastIndexOf(tb,Math.min(be,ke));return et>=O?De.substring(O,et+P):W}function Tt(De){if(!De.match(/^\w+:\/\//)){var ke=o.createElement(ub);ke.src=De+vb,De=Ft(ke.src)}return De}function oe(){var De=__gwt_getMetaProperty(wb);return De!=null?De:W}function ne(){for(var De=o.getElementsByTagName(_),ke=O;keO?De[De.length-P].href:W}function Ye(){var De=o.location;return De.href==De.protocol+zb+De.host+De.pathname+De.search+De.hash}var Oe=oe();return Oe==W&&(Oe=ne()),Oe==W&&(Oe=Pe()),Oe==W&&Ye()&&(Oe=Ft(o.location.href)),Oe=Tt(Oe),Oe}function C(Ft){return Ft.match(/^\//)||Ft.match(/^[a-zA-Z]+:\/\//)?Ft:webModule.__moduleBase+Ft}function D(){var Ft=[],Tt=O,oe=[],ne=[];function Pe(De){var ke=ne[De](),be=oe[De];if(ke in be)return ke;var et=[];for(var Qe in be)et[be[Qe]]=Qe;throw r&&r(De,et,ke),null}if(__gwt_isKnownPropertyValue=function(De,ke){return ke in oe[De]},webModule.__getPropMap=function(){var De={};for(var ke in oe)oe.hasOwnProperty(ke)&&(De[ke]=Pe(ke));return De},webModule.__computePropValue=Pe,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var Ye;try{Ye=Cb;var Oe=Ye.indexOf(Db);Oe!=-1&&(Tt=parseInt(Ye.substring(Oe+P),$),Ye=Ye.substring(O,Oe))}catch(De){}return webModule.__softPermutationId=Tt,C(Ye+Eb)}function F(){n.__gwt_stylesLoaded||(n.__gwt_stylesLoaded={})}A(),webModule.__moduleBase=window.ENV==="build"?"/react/build/js/mathematicalGraphics/"+name+"/":"/js/mathematicalGraphics/"+name+"/",s[L].moduleBase=webModule.__moduleBase;var G=D();return F(),w(G),!0}return webModule},typeof window.web3d!="function"&&(window.web3d=GGBAppletUtils.makeModule("web3d","A18F540516513B1292CA7CEF2F6AFC7E")),typeof window.webSimple!="function"&&(window.webSimple=GGBAppletUtils.makeModule("webSimple","96B09BF1B436BF53F0DF54116700F16A")),window.GGBApplet=GGBApplet})()},64881:function(Ft,Tt,oe){"use strict";oe.d(Tt,{$Y:function(){return $t},A0:function(){return lt},EP:function(){return De},F_:function(){return et},Fk:function(){return me},G9:function(){return be},GB:function(){return Ot},GR:function(){return b},GW:function(){return rn},Hh:function(){return Re},Hp:function(){return Ke},Ir:function(){return Pe},N$:function(){return mt},NZ:function(){return Yt},Nv:function(){return we},OA:function(){return Jt},OJ:function(){return Zt},QF:function(){return Me},RS:function(){return ce},RY:function(){return Ne},Rj:function(){return qe},SX:function(){return Le},Tp:function(){return Fe},Ui:function(){return Ze},V1:function(){return an},Vn:function(){return fe},dL:function(){return je},fo:function(){return Ie},gG:function(){return ve},gK:function(){return E},hK:function(){return se},i3:function(){return $e},ib:function(){return y},lS:function(){return a},m5:function(){return ke},n4:function(){return ne},n_:function(){return ot},oP:function(){return rt},p2:function(){return Ht},pl:function(){return Rt},rM:function(){return ae},sM:function(){return _e},t2:function(){return ge},tD:function(){return x},u8:function(){return te},um:function(){return Ee},vm:function(){return Ue},wQ:function(){return Qe},wj:function(){return qt},wt:function(){return Xe},yS:function(){return ie},yi:function(){return Ye},ym:function(){return ct},z2:function(){return Oe}});const ne="FETCH_TASK_START",Pe="FETCH_TASK_FAILURE",Ye="FETCH_TASK_SUCCESS",Oe="UPDATE_TASK_DATA",De="HIDE_EVALUATE_RESULT",ke="SHOW_EVALUATE_RESULT",be="UPDATE_TIMESTRAP",et="MOVE_X",Qe="MOVE_Y",$e="TRIGGER_RIGHT_PANEL_MASK ",ot="SET_ACTIVE_INDEX",_e="GET_TASK_LIST",Ke="SHOW_TASK_LIST",se="HIDE_TASK_LIST",y="SET_TASK_STAR",a="TRIGGER_ENLARGE_UNITY3D ",E="TRIGGER_TAB_FIXED ",b="GET_DISCUSSES",x="SHOW_DISCUSSES_LOADING",te="TOP_OR_DOWN_DISCUSS",ae="PLUS_DISCUSS",ie="SET_ACTION_TYPE",ce="SHOW_REWARD_DIALOG",ge="CANCEL_REWARD_DIALOG",fe="SET_REWARD",Le="ACTIVE_DISCUSS_INDEX",Ae="CREATE_DISCUSS",Ie="DISABLE_DISCUSS",ve="CHANGE_PAGE",Xe="SHOW_ANSWER_LOADING",Rt="FETCH_ANSWER_INFO",Yt="HIGH_TIP_MODAL",qe="SHOW_TIP_MODAL",ct="SELECT_UNLOCK_ANSWER",Zt="SET_CHOOSE_ANSWERS",qt="EVAL_CHOOSE_START",an="EVAL_CHOOSE_END",Pt="SHOW_REP_loading",Ot="FETCH_REP_CONTENT",mt="EDIT_REP_CONTENT",Qt="SET_REP_PATH",Ze="SHOW_EVALUATE_LOADING",lt="HIDE_EVALUATE_LOADING",Ht="SET_EVALUATE_MESSAGE",rn="SET_SHOW_DIR",ht="SET_EDITOR_SETTING",$t="SET_EDITOR_THEME",Fe="SET_EDITOR_FONTSIZE",rt="SET_REPOS",wt="SHOW_PATH_LIST",nn="HIDE_PATH_LIST",Jt="HIDE_PICTURE_VIEW",Ue="SHOW_PICTURE_VIEW",je="SHOW_NOTICE",we="HIDE_NOTICE",me="SHOW_CASE_NOTICE",Re="HIDE_CASE_NOTICE",yt="SET_TAB_INDEX",ye="SET_SSH_TABS",he="SET_SSH_CONFIGDATA",Be="SET_SSH_CONFIGDATAARR",Ne="SET_VNC_LOADING ",Ee="ON_TAB_TO_SPACE ",Me="ON_AUTO_FORMAT "},77903:function(Ft,Tt,oe){"use strict";oe.d(Tt,{Ax:function(){return Oe},Ds:function(){return De},KI:function(){return be},SI:function(){return Ye},f1:function(){return Pe}});var ne=oe(3294);function Pe(et){let Qe=!0;if(et.length>0){for(let $e=0;$ea in y?Ye(y,a,{enumerable:!0,configurable:!0,writable:!0,value:E}):y[a]=E,$e=(y,a)=>{for(var E in a||(a={}))be.call(a,E)&&Qe(y,E,a[E]);if(ke)for(var E of ke(a))et.call(a,E)&&Qe(y,E,a[E]);return y},ot=(y,a)=>Oe(y,De(a)),_e=(y,a)=>{var E={};for(var b in y)be.call(y,b)&&a.indexOf(b)<0&&(E[b]=y[b]);if(y!=null&&ke)for(var b of ke(y))a.indexOf(b)<0&&et.call(y,b)&&(E[b]=y[b]);return E},Ke=(y,a,E)=>new Promise((b,x)=>{var te=ce=>{try{ie(E.next(ce))}catch(ge){x(ge)}},ae=ce=>{try{ie(E.throw(ce))}catch(ge){x(ge)}},ie=ce=>ce.done?b(ce.value):Promise.resolve(ce.value).then(te,ae);ie((E=E.apply(y,a)).next())});const se=y=>{var a=y,{children:E}=a,b=_e(a,["children"]);const[x,te]=(0,Pe.useState)(!1);return Pe.createElement(ne.ZP,ot($e({},b),{loading:x,onClick:ae=>Ke(void 0,null,function*(){try{te(!0),yield b.onClick(ae),te(!1)}catch(ie){console.error(ie),te(!1)}})}),E)}},8700:function(Ft,Tt,oe){"use strict";oe.d(Tt,{Z:function(){return b}});var ne=oe(59301),Pe=oe(99064),Ye=oe(1012),Oe=oe(92310),De=oe.n(Oe),ke={upload:"upload___jpwPD"},be=Object.defineProperty,et=Object.defineProperties,Qe=Object.getOwnPropertyDescriptors,$e=Object.getOwnPropertySymbols,ot=Object.prototype.hasOwnProperty,_e=Object.prototype.propertyIsEnumerable,Ke=(x,te,ae)=>te in x?be(x,te,{enumerable:!0,configurable:!0,writable:!0,value:ae}):x[te]=ae,se=(x,te)=>{for(var ae in te||(te={}))ot.call(te,ae)&&Ke(x,ae,te[ae]);if($e)for(var ae of $e(te))_e.call(te,ae)&&Ke(x,ae,te[ae]);return x},y=(x,te)=>et(x,Qe(te)),a=(x,te,ae)=>new Promise((ie,ce)=>{var ge=Ae=>{try{Le(ae.next(Ae))}catch(Ie){ce(Ie)}},fe=Ae=>{try{Le(ae.throw(Ae))}catch(Ie){ce(Ie)}},Le=Ae=>Ae.done?ie(Ae.value):Promise.resolve(Ae.value).then(ge,fe);Le((ae=ae.apply(x,te)).next())});const E=({chunkSize:x=1024*1024*2,options:te={},onCancel:ae,onComplete:ie,onError:ce,onProgress:ge,onBefore:fe,onBeginInitFile:Le,children:Ae,accept:Ie,className:ve,style:Xe={},concurrency:Rt=4},Yt)=>{let[qe,ct]=(0,ne.useState)("ready");const[Zt,qt]=(0,ne.useState)(0),[an,Pt]=(0,ne.useState)(""),[Ot,mt]=(0,ne.useState)(null),Qt=(0,ne.useRef)(null),Ze=(0,ne.useRef)((0,Ye.Z)()),lt=(0,ne.useRef)(!1);(0,ne.useImperativeHandle)(Yt,()=>({cancel:ht,file:Ot,uploadStatus:qe}));const Ht=()=>{const Fe=document.getElementById(Ze.current);Fe&&(Fe.value="")},rn=Fe=>a(void 0,null,function*(){var rt;if(qe==="uploading")return;Le&&Le(Fe);const wt=Fe.size,nn=Math.ceil(wt/x);lt.current=!1,ct("uploading"),qt(0),Pt("");try{const Jt=yield(0,Pe.ZP)("/api/attachments/multipart_upload_start",{method:"POST",body:se({fileName:Fe.name,chunkCount:nn},te)});if(lt.current||(Jt==null?void 0:Jt.status)!==0)throw new Error;const{upload_id:Ue}=Jt;Qt.current=new AbortController;const je=[];let we=0;for(let ye=0;ye(0,Pe.ZP)("/api/attachments/multipart_upload",{method:"POST",body:Ee,signal:Qt.current.signal},!0).then(Me=>{console.log(Me,444),we++;const bt=Math.round(we/nn*100);qt(bt),ge&&ge(y(se({},Me),{file:Fe,percent:bt}))}))}let me=0,Re=Rt;for(console.log(je,"promises");mehe());if(ye.length>0){const he=yield Promise.all(ye);me+=Re}}const yt=yield(0,Pe.ZP)("/api/attachments/multipart_upload_end",{method:"POST",body:se({fileName:Fe.name,chunkCount:nn,uploadId:Ue},te)});yt.object?(ct("success"),Ht(),ie&&ie(y(se({},yt),{file:Fe,percent:100}))):(ct("error"),Pt("\u4E0A\u4F20\u5931\u8D25\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5"),Ht(),ce&&ce(Fe.name))}catch(Jt){ct("error"),Pt("\u4E0A\u4F20\u5931\u8D25\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5"),Ht(),ce&&ce(Fe.name)}}),ht=(0,ne.useCallback)(()=>{lt.current=!0,Qt.current&&(Qt.current.abort(),ae&&ae())},[ae]),$t=Fe=>{var rt,wt;const nn=(wt=(rt=Fe==null?void 0:Fe.target)==null?void 0:rt.files)==null?void 0:wt[0];if(mt(nn),qe="ready",!!nn){if(fe){fe(nn)||rn(nn),Ht();return}rn(nn)}};return ne.createElement(ne.Fragment,null,ne.createElement("input",{type:"file",id:Ze.current,style:{display:"none"},onChange:$t,accept:Ie}),ne.createElement("label",{className:De()(ke.upload,ve),htmlFor:Ze.current,style:Xe},Ae))};var b=(0,ne.forwardRef)(E)},5171:function(Ft,Tt,oe){"use strict";oe.d(Tt,{Z:function(){return $e}});var ne=oe(59301),Pe=oe(3113),Ye=oe(8591),Oe=oe(54580),De=oe(32050),ke=oe(19248),be=oe(3294),et={img:"img___BgL9D"},$e=({value:ot,onChange:_e,getFileProgress:Ke})=>{const[se,y]=(0,ne.useState)(!1),a=ne.createElement(Pe.ZP,{loading:se,icon:ne.createElement(De.Z,null)},"\u9009\u62E9\u4E0A\u4F20\u6587\u4EF6"),E=()=>ne.createElement("div",{className:et.img},ne.createElement("img",{src:be.Z.API_SERVER+"/api/attachments/"+ot,alt:"avatar",style:{width:288}}),ne.createElement("div",null,ne.createElement(ke.Z,{onClick:()=>_e(""),style:{fontSize:"16px",color:"red"}}))),b=x=>{var te,ae,ie,ce,ge,fe;if(Ke&&Ke(x),x.file.status==="uploading"){y(!0);return}if(x.file.status==="done"){if(y(!1),x.file.status==="done"&&((ae=(te=x.file)==null?void 0:te.response)==null?void 0:ae.status)===-1){Ye.ZP.error((ce=(ie=x.file)==null?void 0:ie.response)==null?void 0:ce.message);return}_e((fe=(ge=x==null?void 0:x.file)==null?void 0:ge.response)==null?void 0:fe.id)}};return ne.createElement(ne.Fragment,null,ot?E():ne.createElement("div",null,ne.createElement(Oe.default,{withCredentials:!0,name:"file",showUploadList:!1,action:`${be.Z.API_SERVER}/api/attachments.json`,onChange:b,accept:"image/*"},a),ne.createElement("div",{className:"mt20 c-light-black"},"\u8BF4\u660E\uFF1A\u652F\u6301\u4E0A\u4F20jpg/png\u7B49\u683C\u5F0F\u6587\u4EF6\uFF0C\u6587\u4EF6\u5927\u5C0F\u4E0D\u80FD\u8D85\u8FC72M,\u5EFA\u8BAE\u4F7F\u7528288*158\u50CF\u7D20\uFF1B"),ne.createElement("div",{className:"c-light-black"},"\u5982\u4E0D\u4E0A\u4F20\uFF0C\u9ED8\u8BA4\u4F7F\u7528\u7CFB\u7EDF\u56FE\u7247\u3002")))}},73524:function(Ft,Tt,oe){"use strict";oe.d(Tt,{Z:function(){return ot}});var ne=oe(59301),Pe={imageDimensions:"imageDimensions___a7crR",img:"img___Kroat",fullWidth:"fullWidth___c492T"},Ye=oe(92310),Oe=oe.n(Ye),De=oe(71418),ke=oe(2859),be=oe(99064),et=oe(955),Qe=(_e,Ke,se)=>new Promise((y,a)=>{var E=te=>{try{x(se.next(te))}catch(ae){a(ae)}},b=te=>{try{x(se.throw(te))}catch(ae){a(ae)}},x=te=>te.done?y(te.value):Promise.resolve(te.value).then(E,b);x((se=se.apply(_e,Ke)).next())}),ot=({data:_e,className:Ke,fullWidth:se,style:y={},onClose:a,onOk:E,showFullTools:b,noAssociationId:x})=>{const te=(0,ne.useRef)(null),ae=(0,ne.useRef)(null),ie=(0,ne.useRef)(null),ce=(0,ne.useRef)(null),[ge,fe]=(0,ne.useState)(!1),[Le,Ae]=(0,ne.useState)("\u6B63\u5728\u52A0\u8F7D\u4E2D");(0,ne.useEffect)(()=>{ie.current||(ie.current=document.createElement("style"),document.head.appendChild(ie.current)),_e!=null&&_e.visible?(document.body.setAttribute("data-custom","y-hidden"),ie.current.innerHTML=" html { overflow-y: hidden; }",_e!=null&&_e.src&&Ie()):(document.body.removeAttribute("data-custom"),ie.current&&(document.head.removeChild(ie.current),ie.current=null))},[_e==null?void 0:_e.visible]);const Ie=()=>Qe(void 0,null,function*(){fe(!0),Ae("\u6B63\u5728\u52A0\u8F7D\u4E2D");const qe=yield(0,et.ZJ)(_e==null?void 0:_e.src);te.current.src="",te.current.src=qe,te.current.onload=function(){Yt()},fe(!1),Ae("")}),ve=()=>{document.body.removeAttribute("data-custom"),ie.current.innerHTML=" ",a()},Xe=qe=>Qe(void 0,null,function*(){fe(!0),Ae("\u6B63\u5728\u4FDD\u5B58\u4E2D");const ct=yield(0,be.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:_e.title,file:qe.dataUrl}});ct!=null&&ct.id&&!x?(yield(0,be.ZP)(`/api/attachments/${_e.id}/add_subitem.json`,{method:"post",body:{subitem_id:ct==null?void 0:ct.id,settings:JSON.stringify(qe.state)}})).status===0&&E():ct!=null&&ct.id&&E(ct),document.body.removeAttribute("data-custom"),ie.current.innerHTML=" ",fe(!1),Ae("")}),Rt=()=>{const qe=document.querySelector('a[href="https://markerjs.com/"]');qe&&qe.parentNode&&(qe.parentNode.style.display="none"),[{name:'[data-action="select"]',title:"\u9009\u62E9"},{name:'[data-action="delete"]',title:"\u5220\u9664\u5143\u7D20"},{name:'[data-action="undo"]',title:"\u64A4\u9500"},{name:'[data-type-name="FrameMarker"]',title:"\u77E9\u5F62"},{name:'[data-type-name="FreehandMarker"]',title:"\u753B\u7EBF"},{name:'[data-type-name="ArrowMarker"]',title:"\u7BAD\u5934"},{name:'[data-type-name="TextMarker"]',title:"\u6587\u672C"},{name:'[data-type-name="EllipseMarker"]',title:"\u692D\u5706"},{name:'[data-type-name="HighlightMarker"]',title:"\u65B9\u5757"},{name:'[data-type-name="CalloutMarker"]',title:"\u6CE8\u91CA"},{name:'[data-action="render"]',title:"\u4FDD\u5B58"},{name:'[data-action="close"]',title:"\u9000\u51FA"}].forEach(Zt=>{const qt=document.querySelector(Zt.name);qt&&qt.setAttribute("title",Zt.title)})},Yt=()=>{ae.current=new ke.hP(te.current),ae.current.targetRoot=ce.current,ae.current.addEventListener("render",Xe),ae.current.addEventListener("beforeclose",ve),b&&(ae.current.availableMarkerTypes=ae.current.ALL_MARKER_TYPES,ae.current.uiStyleSettings.redoButtonVisible=!0,ae.current.uiStyleSettings.notesButtonVisible=!0,ae.current.uiStyleSettings.zoomButtonVisible=!0,ae.current.uiStyleSettings.zoomOutButtonVisible=!0,ae.current.uiStyleSettings.clearButtonVisible=!0),window.markerArea=ae.current.uiStyleSettings,ae.current.show(),_e!=null&&_e.snapshotData&&ae.current.restoreState(_e.snapshotData),setTimeout(()=>{window.scrollTo(0,0),Rt()},300)};return ne.createElement(ne.Fragment,null,(_e==null?void 0:_e.visible)&&ne.createElement(De.Z,{spinning:ge,tip:Le,style:{position:"absolute"}},ne.createElement("div",{ref:ce,className:Oe()(Pe.imageDimensions,Ke,se?Pe.fullWidth:""),style:y},ne.createElement("img",{className:Pe.img,ref:te}))))}},41588:function(Ft,Tt,oe){"use strict";var ne=oe(59301),Pe=oe(95237),Ye=oe(43604),Oe=oe(99313),De=oe(3113),ke=oe(85149),be=oe(88010),et=oe(48136),Qe=oe(59301);const $e=(0,ne.forwardRef)(({callback:ot,showSaveButton:_e,value:Ke=""},se)=>{const y=(0,ne.useRef)(),a=[{name:"\u5206\u6570\u5F97\u5206",value:"\\frac{x}{y}",children:[{name:"\u5206\u6570 Fractions",data:[{value:"\\frac{a}{b}"},{value:"x\\tfrac{x}{a} "},{value:"\\mathrm{d}t"},{value:"\\partial t"},{value:"\\frac{\\partial y}{\\partial x}"},{value:"\\nabla\\psi"},{value:"\\frac{\\partial^2}{\\partial x_1\\partial x_2}y"},{value:"\\cfrac{1}{a + \\cfrac{7}{b + \\cfrac{2}{9}}} = c"}]},{name:"\u5BFC\u6570 Derivative",data:[{value:"\\dot{a} "},{value:"\\ddot{a}"},{value:"{f}^{\\prime}"},{value:"{f}^{\\prime\\prime}"},{value:"{f}^{(n)}"}]},{name:"\u6A21\u7B97\u672F Modular arithmetic",data:[{value:"a \\bmod b"},{value:"a \\equiv b \\pmod{m} "},{value:"\\gcd(m, n) "},{value:"\\operatorname{lcm}(m, n) "}]}]},{name:"\u6839\u5F0F\u89D2\u6807",value:"\\sqrt{x}",children:[{name:"\u6839\u5F0F Radicals",data:[{value:"\\sqrt{x}"},{value:"\\sqrt[y]{x}"}]},{name:"\u4E0A\u4E0B\u6807 Sub&Super",data:[{value:"x^{a}"},{value:"x_{a}"},{value:"x_{a}^{b} "},{value:"_{a}^{b} x"},{value:"x_{a}^{b} "}]},{name:"\u91CD\u97F3\u7B26\u53CA\u5176\u4ED6 Accents and Others",data:[{value:"\\hat{a} "},{value:"\\sqrt[y]{x}"},{value:"\\check{} "},{value:"\\grave{a} "},{value:"\\acute{a}"},{value:"\\tilde{a}"},{value:"\\breve{a}"},{value:"\\bar{a}"},{value:"\\vec{a}"},{value:"\\not{a}"},{value:"\\widetilde{abc}"},{value:"\\widehat{abc}"},{value:"\\overleftarrow{abc} "},{value:"\\overrightarrow{abc}"},{value:"\\overline{abc}"},{value:"\\underline{abc}"},{value:"\\overbrace{abc}"},{value:"\\underbrace{abc}"},{value:"\\overset{a}{abc}"},{value:"\\underset{a}{abc} \\stackrel\\frown{ab}"},{value:"\\overline{ab} "},{value:"\\overleftrightarrow{ab}"},{value:"\\overset{a}{\\leftarrow}"},{value:"\\overset{a}{\\rightarrow}"},{value:"\\xleftarrow[abc]{a}"},{value:"\\xrightarrow[abc]{a} "}]}]},{name:"\u6781\u9650\u5BF9\u6570",value:"\\lim_{x \\to 0}",children:[{name:"\u6781\u9650 Limits",data:[{value:"\\lim a"},{value:"\\lim_{x \\to 0}"},{value:"\\lim_{x \\to \\infty}"},{value:"\\max_b{a}"},{value:"\\min_a{b}"}]},{name:"\u5BF9\u6570\u6307\u6570 Logarithms and exponentials",data:[{value:"\\log_{a}{b}"},{value:"\\lg_{a}{b}"},{value:"\\ln_{a}{b}"},{value:"\\exp a"}]},{name:"\u754C\u9650 Bounds",data:[{value:"\\min x"},{value:"\\sup t"},{value:"\\inf s"},{value:"\\lim u"},{value:"\\limsup w"},{value:"\\dim p"},{value:"\\ker\\phi "}]}]},{name:"\u4E09\u89D2\u51FD\u6570",value:"\\sin a",children:[{name:"\u4E09\u89D2\u51FD\u6570 Trigonometric functions",data:[{value:"\\sin a"},{value:"\\cos a"},{value:"\\tan a"},{value:"\\cot a "},{value:"\\sec a "},{value:"\\csc a "}]},{name:"\u53CD\u4E09\u89D2\u51FD\u6570 Inverse trigonometric functions",data:[{value:"\\sin^{-1}"},{value:"\\cos^{-1}"},{value:"\\tan^{-1}"},{value:"\\cot^{-1}"},{value:"\\sec^{-1}"},{value:"\\csc^{-1}"},{value:"\\arcsin a"},{value:"\\arccos a"},{value:"\\arctan a"},{value:"\\operatorname{arccot} a"},{value:"\\operatorname{arcsec} a"},{value:"\\operatorname{arccsc} a"}]},{name:"\u53CC\u66F2\u51FD\u6570 Hyperblic functions",data:[{value:"\\sinh a"},{value:"\\cosh a"},{value:"\\tanh a"},{value:"\\coth a"},{value:"\\operatorname{sech} a"},{value:"\\operatorname{csch} a"}]},{name:"\u53CD\u53CC\u66F2\u51FD\u6570 Inverse hyperbolic functions",data:[{value:"\\sinh^{-1}"},{value:"a\\cosh^{-1} a"},{value:"\\tanh^{-1} a"},{value:"\\coth^{-1} a"},{value:"\\operatorname{sech}^{-1} a"},{value:"\\operatorname{csch}^{-1} a"}]}]},{name:"\u79EF\u5206\u8FD0\u7B97",value:"\\int_{a}^{b}",children:[{name:"\u79EF\u5206 Integral",data:[{value:"\\int"},{value:"\\int_{a}^{b}"},{value:"\\int\\limits_{a}^{b}"}]},{name:"\u53CC\u91CD\u79EF\u5206 Double integral",data:[{value:"\\iint"},{value:"\\iint_{a}^{b} "},{value:"\\iint\\limits_{a}^{b} "}]},{name:"\u4E09\u91CD\u79EF\u5206 Triple integral",data:[{value:"\\iiint"},{value:"\\iiint_{a}^{b}"},{value:"\\iiint\\limits_{a}^{b} "}]},{name:"\u66F2\u7EBF\u79EF\u5206 Closed line or path integral",data:[{value:"\\oint"},{value:"\\oint_{a}^{b} "}]}]},{name:"\u5927\u578B\u8FD0\u7B97",value:"\\sum_{a}^{b}",children:[{name:"\u6C42\u548C Summation",data:[{value:"\\sum"},{value:"\\sum_{a}^{b}"},{value:"{\\textstyle \\sum_{a}^{b}} "}]},{name:"\u4E58\u79EF\u4F59\u79EF Product and coproduct",data:[{value:"\\prod"},{value:"\\prod_{a}^{b}"},{value:"{\\textstyle \\prod_{a}^{b}}"},{value:"\\coprod"},{value:"\\coprod_{a}^{b}"},{value:"{\\textstyle \\coprod_{a}^{b}} "}]},{name:"\u5E76\u96C6\u4EA4\u96C6 Union and intersection",data:[{value:"\\bigcup"},{value:"\\bigcup_{a}^{b}"},{value:"{\\textstyle \\bigcup_{a}^{b}}"},{value:"\\bigcap"},{value:"\\bigcap_{a}^{b}"}]},{name:"\u6790\u53D6\u5408\u53D6 Disjunction and conjunction",data:[{value:"\\bigvee"},{value:"\\bigvee_{a}^{b}"},{value:"\\bigwedge"},{value:"\\bigwedge_{a}^{b}"}]}]},{name:"\u62EC\u53F7\u53D6\u6574",value:"\\left [ \\left ( \\right ) \\right ] ",children:[{name:"\u62EC\u53F7 Brackets",data:[{value:"\\left ( \\right )"},{value:"\\left [ \\right ]"},{value:"\\left \\langle \\right \\rangle "},{value:"\\left | \\right | "},{value:"\\left \\lfloor \\right \\rfloor "},{value:"\\left \\lceil \\right \\rceil "}]}]}],E=[{name:"\u4EE3\u6570",value:"\\sqrt{a^2+b^2}",children:[{data:[{value:"\\left(x-1\\right)\\left(x+3\\right) "},{value:"\\sqrt{a^2+b^2}"},{value:"\\left ( \\frac{a}{b}\\right )^{n}= \\frac{a^{n}}{b^{n}}"},{value:"\\frac{a}{b}\\pm \\frac{c}{d}= \\frac{ad \\pm bc}{bd} "},{value:"\\frac{x^{2}}{a^{2}}-\\frac{y^{2}}{b^{2}}=1 "},{value:"\\frac{1}{\\sqrt{a}}=\\frac{\\sqrt{a}}{a},a\\ge 0\\frac{1}{\\sqrt{a}}=\\frac{\\sqrt{a}}{a},a\\ge 0 "},{value:"\\sqrt[n]{a^{n}}=\\left ( \\sqrt[n]{a}\\right )^{n} "},{value:"x ={-b \\pm \\sqrt{b^2-4ac}\\over 2a} "},{value:"y-y_{1}=k \\left( x-x_{1}\\right) "},{value:`\\left\\{\\begin{matrix} \r + x=a + r\\text{cos}\\theta \\ \r + y=b + r\\text{sin}\\theta \r +\\end{matrix}\\right. `},{value:`\\begin{array}{l} \r + \\text{\u5BF9\u4E8E\u65B9\u7A0B\u5F62\u5982\uFF1A}x^{3}-1=0 \\ \r + \\text{\u8BBE}\\text{:}\\omega =\\frac{-1+\\sqrt{3}i}{2} \\ \r + x_{1}=1,x_{2}= \\omega =\\frac{-1+\\sqrt{3}i}{2} \\ \r + x_{3}= \\omega ^{2}=\\frac{-1-\\sqrt{3}i}{2} \r +\\end{array} `},{value:`\\begin{array}{l} \r + a\\mathop{{x}}\\nolimits^{{2}}+bx+c=0 \\ \r + \\Delta =\\mathop{{b}}\\nolimits^{{2}}-4ac \\ \r + \\left\\{\\begin{matrix} \r + \\Delta \\gt 0\\text{\u65B9\u7A0B\u6709\u4E24\u4E2A\u4E0D\u76F8\u7B49\u7684\u5B9E\u6839} \\ \r + \\Delta = 0\\text{\u65B9\u7A0B\u6709\u4E24\u4E2A\u76F8\u7B49\u7684\u5B9E\u6839} \\ \r + \\Delta \\lt 0\\text{\u65B9\u7A0B\u65E0\u5B9E\u6839} \r +\\end{matrix}\\right. \r +\\end{array} `},{value:`\\begin{array}{l} \r + a\\mathop{{x}}\\nolimits^{{2}}+bx+c=0 \\ \r + \\Delta =\\mathop{{b}}\\nolimits^{{2}}-4ac \\ \r + \\mathop{{x}}\\nolimits_{{1,2}}=\\frac{{-b \\pm \r + \\sqrt{{\\mathop{{b}}\\nolimits^{{2}}-4ac}}}}{{2a}} \\ \r + \\mathop{{x}}\\nolimits_{{1}}+\\mathop{{x}}\\nolimits_{{2}}=-\\frac{{b}}{{a}} \\ \r + \\mathop{{x}}\\nolimits_{{1}}\\mathop{{x}}\\nolimits_{{2}}=\\frac{{c}}{{a}} \r +\\end{array} `}]}]},{name:"\u51E0\u4F55",value:"\\Delta A B C ",children:[{data:[{value:"\\Delta A B C "},{value:"a \\parallel c,b \\parallel c \\Rightarrow a \\parallel b "},{value:"l \\perp \\beta ,l \\subset \\alpha \\Rightarrow \\alpha \\perp \\beta"},{value:`\\left.\\begin{matrix} \r + a \\perp \\alpha \\ \r + b \\perp \\alpha \r +\\end{matrix}\\right\\}\\Rightarrow a \\parallel b`},{value:"P \\in \\alpha ,P \\in \\beta , \\alpha \\cap \\beta =l \\Rightarrow P \\in l "},{value:`\\alpha \\perp \\beta , \\alpha \\cap \\beta =l,a \\subset \\alpha ,a \\perp l \r + \\Rightarrow a \\perp \\beta `},{value:`\\left.\\begin{matrix} \r + a \\subset \\beta ,b \\subset \\beta ,a \\cap b=P \\ \r + a \\parallel \\partial ,b \\parallel \\partial \r +\\end{matrix}\\right\\}\\Rightarrow \\beta \\parallel \\alpha `},{value:"\\alpha \\parallel \\beta , \\gamma \\cap \\alpha =a, \\gamma \\cap \\beta =b \\Rightarrow a \\parallel b "},{value:"A \\in l,B \\in l,A \\in \\alpha ,B \\in \\alpha \\Rightarrow l \\subset \\alpha "},{value:`\\left.\\begin{matrix} \r + m \\subset \\alpha ,n \\subset \\alpha ,m \\cap n=P \\ \r + a \\perp m,a \\perp n \r +\\end{matrix}\\right\\}\\Rightarrow a \\perp \\alpha `},{value:`\\begin{array}{c} \r + \\text{\u76F4\u89D2\u4E09\u89D2\u5F62\u4E2D,\u76F4\u89D2\u8FB9\u957Fa,b,\u659C\u8FB9\u8FB9\u957Fc} \\ \r + a^{2}+b^{2}=c^{2} \r +\\end{array}`}]}]},{name:"\u4E0D\u7B49\u5F0F",value:"a > b",children:[{data:[{value:"a > b,b > c \\Rightarrow a > c "},{value:"a > b,c > d \\Rightarrow a+c > b+d "},{value:"a > b > 0,c > d > 0 \\Rightarrow ac bd "},{value:`\\begin{array}{c} \r + a \\gt b,c \\gt 0 \\Rightarrow ac \\gt bc \\ \r + a \\gt b,c \\lt 0 \\Rightarrow ac \\lt bc \r +\\end{array}`},{value:"\\left | a-b \\right | \\geqslant \\left | a \\right | -\\left | b \\right | "},{value:"-\\left | a \\right |\\leq a\\leqslant \\left | a \\right | "},{value:"\\left | a \\right |\\leqslant b \\Rightarrow -b \\leqslant a \\leqslant \\left | b \\right | "},{value:"\\left | a+b \\right | \\leqslant \\left | a \\right | + \\left | b \\right | "},{value:`\\begin{array}{c} \r + a \\gt b \\gt 0,n \\in N^{\\ast},n \\gt 1 \\ \r + \\Rightarrow a^{n}\\gt b^{n}, \\sqrt[n]{a}\\gt \\sqrt[n]{b} \r +\\end{array}`},{value:`\\left( \\sum_{k=1}^n a_k b_k \\right)^{\\!\\!2}\\leq \r +\\left( \\sum_{k=1}^n a_k^2 \\right) \\left( \\sum_{k=1}^n b_k^2 \\right) `},{value:`\\begin{array}{c} \r + a,b \\in R^{+} \\ \r + \\Rightarrow \\frac{a+b}{{2}}\\ge \\sqrt{ab} \\ \r + \\left( \\text{\u5F53\u4E14\u4EC5\u5F53}a=b\\text{\u65F6\u53D6\u201C}=\\text{\u201D\u53F7}\\right) \r +\\end{array}`},{value:`\\begin{array}{c} \r + a,b \\in R \\ \r + \\Rightarrow a^{2}+b^{2}\\gt 2ab \\ \r + \\left( \\text{\u5F53\u4E14\u4EC5\u5F53}a=b\\text{\u65F6\u53D6\u201C}=\\text{\u201D\u53F7}\\right) \r +\\end{array}`},{value:`\\begin{array}{c} \r + H_{n}=\\frac{n}{\\sum \\limits_{i=1}^{n}\\frac{1}{x_{i}}}= \\frac{n}{\\frac{1}{x_{1}}+ \\frac{1}{x_{2}}+ \\cdots + \\frac{1}{x_{n}}} \\ G_{n}=\\sqrt[n]{\\prod \\limits_{i=1}^{n}x_{i}}= \\sqrt[n]{x_{1}x_{2}\\cdots x_{n}} \\ A_{n}=\\frac{1}{n}\\sum \\limits_{i=1}^{n}x_{i}=\\frac{x_{1}+ x_{2}+ \\cdots + x_{n}}{n} \\ Q_{n}=\\sqrt{\\sum \\limits_{i=1}^{n}x_{i}^{2}}= \\sqrt{\\frac{x_{1}^{2}+ x_{2}^{2}+ \\cdots + x_{n}^{2}}{n}} \\ H_{n}\\leq G_{n}\\leq A_{n}\\leq Q_{n} \r +\\end{array}`}]}]},{name:"\u79EF\u5206",value:"\\frac{\\mathrm{d}\\partial}{\\partial x}",children:[{data:[{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}x^n=nx^{n-1} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}e^{ax}=a\\,e^{ax} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\ln(x)=\\frac{1}{x} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\sin x=\\cos x "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\cos x=-\\sin x "},{value:"\\int k\\mathrm{d}x = kx+C "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\tan x=\\sec^2 x "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\cot x=-\\csc^2 x "},{value:"\\int \\frac{1}{x}\\mathrm{d}x= \\ln \\left| x \\right| +C "},{value:"\\int \\frac{1}{\\sqrt{1-x^{2}}}\\mathrm{d}x= \\arcsin x +C "},{value:"\\int \\frac{1}{1+x^{2}}\\mathrm{d}x= \\arctan x +C "},{value:"\\int u \\frac{\\mathrm{d}v}{\\mathrm{d}x}\\,\\mathrm{d}x=uv-\\int \\frac{\\mathrm{d}u}{\\mathrm{d}x}v\\,\\mathrm{d}x "},{value:"f(x) = \\int_{-\\infty}^\\infty \\hat f(x)\\xi\\,e^{2 \\pi i \\xi x} \\,\\mathrm{d}\\xi "},{value:"\\int x^{\\mu}\\mathrm{d}x=\\frac{x^{\\mu +1}}{\\mu +1}+C, \\left({\\mu \\neq -1}\\right) "}]}]},{name:"\u4E09\u89D2",value:"e^{i \\theta}",children:[{name:"\u6C42\u548C Summation",data:[{value:"e^{i \\theta} "},{value:"\\left(\\frac{\\pi}{2}-\\theta \\right ) "},{value:"\\text{sin}^{2}\\frac{\\alpha}{2}=\\frac{1- \\text{cos}\\alpha}{2} "},{value:"\\text{cos}^{2}\\frac{\\alpha}{2}=\\frac{1+ \\text{cos}\\alpha}{2} "},{value:"\\text{tan}\\frac{\\alpha}{2}=\\frac{\\text{sin}\\alpha}{1+ \\text{cos}\\alpha} "},{value:"\\sin \\alpha + \\sin \\beta =2 \\sin \\frac{\\alpha + \\beta}{2}\\cos \\frac{\\alpha - \\beta}{2} "},{value:"\\sin \\alpha - \\sin \\beta =2 \\cos \\frac{\\alpha + \\beta}{2}\\sin \\frac{\\alpha - \\beta}{2} "},{value:"\\cos \\alpha + \\cos \\beta =2 \\cos \\frac{\\alpha + \\beta}{2}\\cos \\frac{\\alpha - \\beta}{2} "},{value:"\\cos \\alpha - \\cos \\beta =-2\\sin \\frac{\\alpha + \\beta}{2}\\sin \\frac{\\alpha - \\beta}{2} "},{value:"a^{2}=b^{2}+c^{2}-2bc\\cos A "},{value:"\\frac{\\sin A}{a}=\\frac{\\sin B}{b}=\\frac{\\sin C}{c}=\\frac{1}{2R} "},{value:"\\sin \\left ( \\frac{\\pi}{2}-\\alpha \\right ) = \\cos \\alpha "},{value:"\\sin \\left ( \\frac{\\pi}{2}+\\alpha \\right ) = \\cos \\alpha "}]}]},{name:"\u7EDF\u8BA1",value:"C_{r}^{n}",children:[{data:[{value:"C_{r}^{n} "},{value:"\\frac{n!}{r!(n-r)!} "},{value:"\\sum_{i=1}^{n}{X_i} "},{value:"\\sum_{i=1}^{n}{X_i^2} "},{value:"X_1, \\cdots,X_n "},{value:"\\frac{x-\\mu}{\\sigma} "},{value:"\\sum_{i=1}^{n}{(X_i - \\overline{X})^2} "},{value:`\\begin{array}{c} \r + \\text{\u82E5}P \\left( AB \\right) =P \\left( A \\right) P \\left( B \\right) \\\\ \r + \\text{\u5219}P \\left( A \\left| B\\right. \\right) =P \\left({B}\\right) \r +\\end{array}`},{value:"P(E) ={n \\choose k}p^k (1-p)^{n-k} "},{value:"P \\left( A \\right) = \\lim \\limits_{n \\to \\infty}f_{n}\\left ( A \\right ) "},{value:"P \\left( \\bigcup \\limits_{i=1}^{+ \\infty}A_{i}\\right) = \\prod \\limits_{i=1}^{+ \\infty}P{\\left( A_{i}\\right)} "},{value:`\\begin{array}{c} \r + P \\left( \\emptyset \\right) =0 \\\\ \r + P \\left( S \\right) =1 \r +\\end{array}`},{value:`\\begin{array}{c} \r + \\forall A \\in S \\\\ \r + P \\left( A \\right) \\ge 0 \r +\\end{array}`},{value:"P \\left( \\bigcup \\limits_{i=1}^{n}A_{i}\\right) = \\prod \\limits_{i=1}^{n}P \\left( A_{i}\\right) "},{value:`\\begin{array}{c} \r + S= \\binom{N}{n},A_{k}=\\binom{M}{k}\\cdot \\binom{N-M}{n-k} \\\\ \r + P\\left ( A_{k}\\right ) = \\frac{\\binom{M}{k}\\cdot \\binom{N-M}{n-k}}{\\binom{N}{n}} \r +\\end{array}`},{value:`\\begin{array}{c} \r + P_{n}=n! \\\\ \r + A_{n}^{k}=\\frac{n!}{\\left( n-k \\left) !\\right. \\right.} \r +\\end{array}`}]}]}],b=ae=>{y.current.setValue(y.current.getValue()+" "+ae.value+" ")},x=[{key:"1",label:"\u5FEB\u6377\u6A21\u677F",children:Qe.createElement(Pe.Z,{className:be.Z.lists,gutter:[10,10]},a.map((ae,ie)=>Qe.createElement(Ye.Z,{flex:"110px",className:be.Z.item},Qe.createElement("div",null,Qe.createElement(ke.Z,{value:`$$${ae.value}$$`}),ae.name),Qe.createElement("div",{className:be.Z.children},ae.children.map((ce,ge)=>Qe.createElement("div",{key:ge},Qe.createElement("h1",null,ce.name),Qe.createElement(Pe.Z,{gutter:[10,10]},ce.data.map((fe,Le)=>Qe.createElement(Ye.Z,{key:Le,onClick:()=>b(fe),className:be.Z.diamond},Qe.createElement(ke.Z,{value:"`$$"+fe.value+"$$`"}))))))))))},{key:"2",label:"\u516C\u5F0F\u6A21\u677F",children:Qe.createElement(Pe.Z,{className:be.Z.lists,gutter:[10,10]},E.map((ae,ie)=>Qe.createElement(Ye.Z,{flex:"110px",className:be.Z.item},Qe.createElement("div",null,Qe.createElement(ke.Z,{value:"`$$"+ae.value+"$$`"}),ae.name),Qe.createElement("div",{className:be.Z.children},ae.children.map((ce,ge)=>Qe.createElement("div",{key:ge},ce.name&&Qe.createElement("h1",null,ce.name),Qe.createElement(Pe.Z,{gutter:[10,10]},ce.data.map((fe,Le)=>Qe.createElement(Ye.Z,{key:Le,onClick:()=>b(fe),className:be.Z.diamond},Qe.createElement(ke.Z,{value:"`$$"+fe.value+"$$`"}))))))))))}],te=()=>{var ae=document.createElement("div");ae.innerHTML=y.current.getValue();var ie=ae.innerText;return ot&&ot(ie),ie};return(0,ne.useImperativeHandle)(se,()=>({getData:te})),Qe.createElement("div",{className:be.Z.mathWrap},Qe.createElement(Oe.default,{defaultActiveKey:"1",items:x}),Qe.createElement("math-field",{locale:"zh_cn",className:be.Z.mathField,placeholder:"\u8BF7\u6253\u5F00\u952E\u76D8\uFF0C\u8F93\u5165\u516C\u5F0F",ref:y,style:{width:800,marginTop:30,fontSize:18}},Ke||""),_e&&Qe.createElement("div",{className:be.Z.button},Qe.createElement(De.ZP,{size:"large",onClick:te,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))});Tt.Z=$e},57490:function(Ft,Tt,oe){"use strict";oe.d(Tt,{z:function(){return qt},Z:function(){return an}});var ne=oe(59301),Pe=oe(54580),Ye=oe(8591),Oe=oe(43418),De=oe(3113),ke=oe(3294),be=oe(23538),et=Object.defineProperty,Qe=Object.getOwnPropertySymbols,$e=Object.prototype.hasOwnProperty,ot=Object.prototype.propertyIsEnumerable,_e=(Pt,Ot,mt)=>Ot in Pt?et(Pt,Ot,{enumerable:!0,configurable:!0,writable:!0,value:mt}):Pt[Ot]=mt,Ke=(Pt,Ot)=>{for(var mt in Ot||(Ot={}))$e.call(Ot,mt)&&_e(Pt,mt,Ot[mt]);if(Qe)for(var mt of Qe(Ot))ot.call(Ot,mt)&&_e(Pt,mt,Ot[mt]);return Pt},se=(Pt,Ot,mt)=>new Promise((Qt,Ze)=>{var lt=ht=>{try{rn(mt.next(ht))}catch($t){Ze($t)}},Ht=ht=>{try{rn(mt.throw(ht))}catch($t){Ze($t)}},rn=ht=>ht.done?Qt(ht.value):Promise.resolve(ht.value).then(lt,Ht);rn((mt=mt.apply(Pt,Ot)).next())});const y="\u3000\u3000";function a(Pt){var Ot=["Bytes","KB","MB","GB","TB"];if(Pt==0)return"0 Byte";var mt=parseInt(""+Math.floor(Math.log(Pt)/Math.log(1024)),10);return(Pt/Math.pow(1024,mt)).toFixed(1)+" "+Ot[mt]}var E=({value:Pt=[],action:Ot,onChange:mt,className:Qt,maxSize:Ze=150,title:lt="\u6587\u4EF6\u4E0A\u4F20",accept:Ht=null})=>{const rn={multiple:!1,fileList:Pt,accept:Ht,withCredentials:!0,beforeUpload:$t=>$t.size/1024/1024(Ue.name.indexOf(y)===-1&&(Ue.name=`${Ue.name}${y}${a(Ue.size)}`),Ke({},Ue))),$t.file.status==="done"&&((rt=(Fe=$t.file)==null?void 0:Fe.response)==null?void 0:rt.status)===-1){message.error((nn=(wt=$t.file)==null?void 0:wt.response)==null?void 0:nn.message),mt([]);return}mt(Jt)},onRemove:$t=>se(void 0,null,function*(){const Fe=$t.size/1024/1024;return $t.status==="uploading"?!0:Fe0?"\u6BCF\u6B21\u53EA\u80FD\u4E0A\u4F20\u4E00\u4E2A\u8D44\u6E90\uFF0C \u5220\u9664\u4E0B\u9762\u8D44\u6E90\u53EF\u91CD\u65B0\u4E0A\u4F20 ":"",disabled:Pt.length>0,ghost:!0},lt),React.createElement("span",{onClick:ht,style:{marginLeft:10}},"(\u5355\u4E2A\u6587\u4EF6\u6700\u5927",Ze,"M)"," ")))},b=oe(61481),x=oe(89392),te=Object.defineProperty,ae=Object.getOwnPropertySymbols,ie=Object.prototype.hasOwnProperty,ce=Object.prototype.propertyIsEnumerable,ge=(Pt,Ot,mt)=>Ot in Pt?te(Pt,Ot,{enumerable:!0,configurable:!0,writable:!0,value:mt}):Pt[Ot]=mt,fe=(Pt,Ot)=>{for(var mt in Ot||(Ot={}))ie.call(Ot,mt)&&ge(Pt,mt,Ot[mt]);if(ae)for(var mt of ae(Ot))ce.call(Ot,mt)&&ge(Pt,mt,Ot[mt]);return Pt};const Le=Pt=>React.createElement("svg",fe({width:14,height:14,xmlns:"http://www.w3.org/2000/svg"},Pt),React.createElement("title",null,"\u5F62\u72B6"),React.createElement("path",{d:"M10.354 3.5h-2.77v8.167H6.416V3.5H3.646L7 0l3.354 3.5ZM14 7h-1.167v5.833H1.167V7H0v7h14V7Z",fill:"#3061D0",fillRule:"nonzero"}));var Ae="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTEwLjM1NCAzLjVoLTIuNzd2OC4xNjdINi40MTZWMy41SDMuNjQ2TDcgMGwzLjM1NCAzLjVaTTE0IDdoLTEuMTY3djUuODMzSDEuMTY3VjdIMHY3aDE0VjdaIiBmaWxsPSIjMzA2MUQwIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4=",Ie=Object.defineProperty,ve=Object.getOwnPropertySymbols,Xe=Object.prototype.hasOwnProperty,Rt=Object.prototype.propertyIsEnumerable,Yt=(Pt,Ot,mt)=>Ot in Pt?Ie(Pt,Ot,{enumerable:!0,configurable:!0,writable:!0,value:mt}):Pt[Ot]=mt,qe=(Pt,Ot)=>{for(var mt in Ot||(Ot={}))Xe.call(Ot,mt)&&Yt(Pt,mt,Ot[mt]);if(ve)for(var mt of ve(Ot))Rt.call(Ot,mt)&&Yt(Pt,mt,Ot[mt]);return Pt},ct=(Pt,Ot,mt)=>new Promise((Qt,Ze)=>{var lt=ht=>{try{rn(mt.next(ht))}catch($t){Ze($t)}},Ht=ht=>{try{rn(mt.throw(ht))}catch($t){Ze($t)}},rn=ht=>ht.done?Qt(ht.value):Promise.resolve(ht.value).then(lt,Ht);rn((mt=mt.apply(Pt,Ot)).next())});const{Dragger:Zt}=Pe.default;function qt(Pt){let Ot=[];return Pt&&Pt.length>0&&(Ot=Pt.map(mt=>({uid:mt.id,id:mt.id,name:mt.title+y+mt.filesize,url:mt.url,filesize:mt.filesize,status:"done",response:{id:mt.id}}))),Ot}var an=({value:Pt,onChange:Ot,action:mt,data:Qt,className:Ze,maxSize:lt=150,title:Ht="\u4E0A\u4F20\u9644\u4EF6",showRemoveModal:rn=!1,accept:ht="",additionalText:$t,isDragger:Fe,number:rt=1e3,aloneClear:wt=!1,realTimeRemove:nn=!0,uploadText:Jt,setFileProgress:Ue,showFileProgress:je})=>{const[we,me]=(0,ne.useState)(!1);let[Re,yt]=(0,ne.useState)(Pt||[]),[ye,he]=(0,ne.useState)(1);(0,ne.useEffect)(()=>{Pt&&(ye===1&&yt([...Pt]),he(2),rt===(Pt==null?void 0:Pt.length)&&me(!0))},[Pt]);const Be=()=>{setTimeout(()=>{Re.pop(),yt([...Re])},500)};je&&Ue(Re.some(Me=>Me.status==="uploading"));const Ne={multiple:!0,disabled:we,accept:ht,withCredentials:!0,fileList:Re,beforeUpload:(Me,bt)=>{const Ct=Me.size/1024/1024;return Re.concat(bt).length>rt?(Re.pop(),yt([...Re]),Ye.ZP.error(`\u6700\u591A\u53EA\u80FD\u4E0A\u4F20${rt}\u4E2A\u6587\u4EF6`),wt?Promise.reject():(Be(),!1)):Ct=rt?me(!0):me(!1),yt([...Re]),Re=Re.map(Dt=>{var xe,tt;return(xe=Dt==null?void 0:Dt.response)!=null&&xe.id&&(Dt.url=(tt=Dt==null?void 0:Dt.response)==null?void 0:tt.url),Dt.name.indexOf(y)===-1&&(Dt.name=`${Dt.name}${y}${a(Dt.size)}`),qe({},Dt)}),console.log("info:",Me,Re),Ot(Re)},onRemove:Me=>ct(void 0,null,function*(){if(!nn)return!0;const bt=()=>ct(void 0,null,function*(){if(Me.response?Me.response.id:Me.id){let kt=yield(0,be.JZ)(Me.response?Me.response.id:Me.uid);return Promise.resolve(kt)}else return!0});return rn?new Promise((Ct,kt)=>{Oe.default.confirm({centered:!0,width:530,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:ne.createElement("div",{className:"tc font16"},"\u662F\u5426\u786E\u8BA4\u5220\u9664?"),onOk:()=>ct(void 0,null,function*(){const It=yield bt();Ye.ZP.success("\u5220\u9664\u6210\u529F"),Ct(!0)}),onCancel:()=>Ct(!1)})}):yield bt()})};function Ee(Me){Me.preventDefault(),Me.stopPropagation()}return ne.createElement("div",{className:`multi-upload ${Ze||""}`},Fe&&ne.createElement(Zt,qe({},Ne),ne.createElement("p",{className:"ant-upload-drag-icon"},ne.createElement(b.Z,null)),ne.createElement("p",{className:"ant-upload-text"},"\u70B9\u51FB\u4E0A\u4F20\u56FE\u6807\uFF0C\u9009\u62E9\u8981\u4E0A\u4F20\u7684\u6587\u4EF6\u6216\u5C06\u6587\u4EF6\u62D6\u62FD\u5230\u6B64",ne.createElement("br",null),"(\u5355\u4E2A\u6587\u4EF6\u6700\u5927\u9650\u5236\u4E3A",lt,"MB)"," "),$t),!Fe&&ne.createElement(Pe.default,qe({},Ne),ne.createElement(De.ZP,{disabled:we,className:"upload_button"},ne.createElement("img",{className:"aBtn_img",src:Ae}),Ht),ne.createElement("span",{onClick:Ee,className:"upload_text"},Jt||`(\u5355\u4E2A\u6587\u4EF6\u6700\u5927${lt}MB)`)))}},33538:function(Ft,Tt,oe){"use strict";oe.d(Tt,{Z:function(){return Oe}});var ne=oe(89070),Pe={ldsRing:"ldsRing___mpBZC",idsRingWrapper:"idsRingWrapper___Of9_n",ldsring:"ldsring___o0w2t"},Ye=oe(59301),Oe=({message:De,className:ke,children:be,style:et={}})=>Ye.createElement("div",{className:`custom-spinner ${Pe.idsRingWrapper} ${ke}`},Ye.createElement("div",{className:Pe.ldsRing},Ye.createElement("div",null),Ye.createElement("div",null),Ye.createElement("div",null),Ye.createElement("div",null)),De?Ye.createElement("p",{style:et},De):null,be,Ye.createElement(ne.Outlet,null))},70714:function(Ft,Tt,oe){"use strict";oe.d(Tt,{Z:function(){return ga}});var ne=oe(59301),Pe=oe(34604),Ye=oe(15277),Oe=oe(92310),De=oe.n(Oe),ke=oe(72308),be=oe(77321),et=oe(49618),Qe=oe(52487),$e=oe(62853),ot=oe(74416),_e=oe(55468),Ke=oe(18929),se=["crossOrigin","decoding","draggable","loading","referrerPolicy","sizes","srcSet","useMap","alt"],y=ne.createContext(null),a=0;function E(Gt,ze){var Wt=ne.useState(function(){return a+=1,String(a)}),fn=(0,Qe.Z)(Wt,1),un=fn[0],vn=ne.useContext(y),Ce={data:ze,canPreview:Gt};return ne.useEffect(function(){if(vn)return vn.register(un,Ce)},[]),ne.useEffect(function(){vn&&vn.register(un,Ce)},[Gt,ze]),un}function b(Gt){return new Promise(function(ze){var Wt=document.createElement("img");Wt.onerror=function(){return ze(!1)},Wt.onload=function(){return ze(!0)},Wt.src=Gt})}function x(Gt){var ze=Gt.src,Wt=Gt.isCustomPlaceholder,fn=Gt.fallback,un=(0,ne.useState)(Wt?"loading":"normal"),vn=(0,Qe.Z)(un,2),Ce=vn[0],st=vn[1],vt=(0,ne.useRef)(!1),At=Ce==="error";(0,ne.useEffect)(function(){b(ze).then(function(Bt){Bt||st("error")})},[ze]),(0,ne.useEffect)(function(){Wt&&!vt.current?st("loading"):At&&st("normal")},[ze]);var Vt=function(){st("normal")},Mt=function(Pn){vt.current=!1,Ce==="loading"&&Pn!=null&&Pn.complete&&(Pn.naturalWidth||Pn.naturalHeight)&&(vt.current=!0,Vt())},jt=At&&fn?{src:fn}:{onLoad:Vt,src:ze};return[Mt,jt,Ce]}var te=oe(86923),ae=oe(8224),ie=oe(10228),ce=oe(48736);function ge(Gt,ze,Wt,fn){var un=ze+Wt,vn=(Wt-fn)/2;if(Wt>fn){if(ze>0)return(0,et.Z)({},Gt,vn);if(ze<0&&unfn)return(0,et.Z)({},Gt,ze<0?vn:-vn);return{}}function fe(Gt,ze,Wt,fn){var un=(0,_e.g1)(),vn=un.width,Ce=un.height,st=null;return Gt<=vn&&ze<=Ce?st={x:0,y:0}:(Gt>vn||ze>Ce)&&(st=(0,be.Z)((0,be.Z)({},ge("x",Wt,Gt,vn)),ge("y",fn,ze,Ce))),st}var Le=oe(13697),Ae=oe(16089),Ie={x:0,y:0,rotate:0,scale:1,flipX:!1,flipY:!1};function ve(Gt,ze,Wt,fn){var un=(0,ne.useRef)(null),vn=(0,ne.useRef)([]),Ce=(0,ne.useState)(Ie),st=(0,Qe.Z)(Ce,2),vt=st[0],At=st[1],Vt=function(Pn){At(Ie),fn&&!(0,Le.Z)(Ie,vt)&&fn({transform:Ie,action:Pn})},Mt=function(Pn,Rn){un.current===null&&(vn.current=[],un.current=(0,Ae.Z)(function(){At(function(pt){var Nn=pt;return vn.current.forEach(function(On){Nn=(0,be.Z)((0,be.Z)({},Nn),On)}),un.current=null,fn==null||fn({transform:Nn,action:Rn}),Nn})})),vn.current.push((0,be.Z)((0,be.Z)({},vt),Pn))},jt=function(Pn,Rn,pt,Nn){var On=Gt.current,ut=On.width,Lt=On.height,Ve=On.offsetWidth,zt=On.offsetHeight,ln=On.offsetLeft,_t=On.offsetTop,Sn=Pn,sn=vt.scale*Pn;sn>Wt?(Sn=Wt/vt.scale,sn=Wt):sn1,ka=la&&On>=1,Hn=ve(Ea,ln,Sn,Fa),kn=Hn.transform,Da=Hn.resetTransform,Na=Hn.updateTransform,Ga=Hn.dispatchZoomChange,Va=(0,ne.useState)(!0),Za=(0,Qe.Z)(Va,2),_a=Za[0],ua=Za[1],Pa=kn.rotate,ya=kn.scale,$a=kn.x,Ya=kn.y,va=De()((0,et.Z)({},"".concat(Wt,"-moving"),ia));(0,ne.useEffect)(function(){_a||ua(!0)},[_a]);var bn=function(){Da("close")},cn=function(){Ga(ct+Ve,"zoomIn")},Cn=function(){Ga(ct/(ct+Ve),"zoomOut")},xn=function(){Na({rotate:Pa+90},"rotateRight")},ma=function(){Na({rotate:Pa-90},"rotateLeft")},xt=function(){Na({flipX:!kn.flipX},"flipX")},Jn=function(){Na({flipY:!kn.flipY},"flipY")},Qn=function(Wn){Wn==null||Wn.preventDefault(),Wn==null||Wn.stopPropagation(),pt>0&&(ua(!1),Da("prev"),pn==null||pn(pt-1,pt))},fa=function(Wn){Wn==null||Wn.preventDefault(),Wn==null||Wn.stopPropagation(),pt0&&(Xa=ct/Xa),Ga(Xa,"wheel",Wn.clientX,Wn.clientY)}},Et=function(Wn){!At||!Aa||(Wn.keyCode===ie.Z.LEFT?Qn():Wn.keyCode===ie.Z.RIGHT&&fa())},Ra=function(Wn){At&&(ya!==1?Na({x:0,y:0,scale:1},"doubleClick"):Ga(ct+Ve,"doubleClick",Wn.clientX,Wn.clientY))};(0,ne.useEffect)(function(){var Gn,Wn,Vn,Ja;if(st){Vn=(0,ae.Z)(window,"mouseup",aa,!1),Ja=(0,ae.Z)(window,"mousemove",ha,!1);try{window.top!==window.self&&(Gn=(0,ae.Z)(window.top,"mouseup",aa,!1),Wn=(0,ae.Z)(window.top,"mousemove",ha,!1))}catch(Xa){(0,ce.Kp)(!1,"[rc-image] ".concat(Xa))}}return function(){var Xa,qa,sr,dr;(Xa=Vn)===null||Xa===void 0||Xa.remove(),(qa=Ja)===null||qa===void 0||qa.remove(),(sr=Gn)===null||sr===void 0||sr.remove(),(dr=Wn)===null||dr===void 0||dr.remove()}},[At,ia,$a,Ya,Pa,st]),(0,ne.useEffect)(function(){var Gn=(0,ae.Z)(window,"keydown",Et,!1);return function(){Gn.remove()}},[At,Aa,pt]);var $n=ne.createElement(Pt,(0,ke.Z)({},La,{width:ze.width,height:ze.height,imgRef:Ea,className:"".concat(Wt,"-img"),alt:un,style:{transform:"translate3d(".concat(kn.x,"px, ").concat(kn.y,"px, 0) scale3d(").concat(kn.flipX?"-":"").concat(ya,", ").concat(kn.flipY?"-":"").concat(ya,", 1) rotate(").concat(Pa,"deg)"),transitionDuration:!_a&&"0s"},fallback:vn,src:fn,onWheel:jn,onMouseDown:Ma,onDoubleClick:Ra}));return ne.createElement(ne.Fragment,null,ne.createElement(te.Z,(0,ke.Z)({transitionName:Kt,maskTransitionName:zn,closable:!1,keyboard:!0,prefixCls:Wt,onClose:vt,visible:At,wrapClassName:va,rootClassName:jt,getContainer:Pn},wa,{afterClose:bn}),ne.createElement("div",{className:"".concat(Wt,"-img-wrapper")},Bn?Bn($n,(0,be.Z)({transform:kn},la?{current:pt}:{})):$n)),ne.createElement(qe,{visible:At,transform:kn,maskTransitionName:zn,closeIcon:Bt,getContainer:Pn,prefixCls:Wt,rootClassName:jt,icons:Mt,countRender:ut,showSwitch:Aa,showProgress:ka,current:pt,count:On,scale:ya,minScale:ln,maxScale:Sn,toolbarRender:Un,onSwitchLeft:Qn,onSwitchRight:fa,onZoomIn:cn,onZoomOut:Cn,onRotateRight:xn,onRotateLeft:ma,onFlipX:xt,onFlipY:Jn,onClose:vt}))},mt=Ot,Qt=oe(80702);function Ze(Gt){var ze=ne.useState({}),Wt=(0,Qe.Z)(ze,2),fn=Wt[0],un=Wt[1],vn=ne.useCallback(function(st,vt){return un(function(At){return(0,be.Z)((0,be.Z)({},At),{},(0,et.Z)({},st,vt))}),function(){un(function(At){var Vt=(0,be.Z)({},At);return delete Vt[st],Vt})}},[]),Ce=ne.useMemo(function(){return Gt?Gt.map(function(st){if(typeof st=="string")return{data:{src:st}};var vt={};return Object.keys(st).forEach(function(At){["src"].concat((0,Qt.Z)(se)).includes(At)&&(vt[At]=st[At])}),{data:vt}}):Object.keys(fn).reduce(function(st,vt){var At=fn[vt],Vt=At.canPreview,Mt=At.data;return Vt&&st.push({data:Mt,id:vt}),st},[])},[Gt,fn]);return[Ce,vn]}var lt=["visible","onVisibleChange","getContainer","current","movable","minScale","maxScale","countRender","closeIcon","onChange","onTransform","toolbarRender","imageRender"],Ht=["src"],rn=function(ze){var Wt,fn=ze.previewPrefixCls,un=fn===void 0?"rc-image-preview":fn,vn=ze.children,Ce=ze.icons,st=Ce===void 0?{}:Ce,vt=ze.items,At=ze.preview,Vt=ze.fallback,Mt=(0,$e.Z)(At)==="object"?At:{},jt=Mt.visible,Bt=Mt.onVisibleChange,Pn=Mt.getContainer,Rn=Mt.current,pt=Mt.movable,Nn=Mt.minScale,On=Mt.maxScale,ut=Mt.countRender,Lt=Mt.closeIcon,Ve=Mt.onChange,zt=Mt.onTransform,ln=Mt.toolbarRender,_t=Mt.imageRender,Sn=(0,ot.Z)(Mt,lt),sn=Ze(vt),Kt=(0,Qe.Z)(sn,2),tn=Kt[0],zn=Kt[1],Bn=(0,Ke.Z)(0,{value:Rn}),La=(0,Qe.Z)(Bn,2),Un=La[0],Fa=La[1],pn=(0,ne.useState)(!1),wa=(0,Qe.Z)(pn,2),Ea=wa[0],Ca=wa[1],Xt=((Wt=tn[Un])===null||Wt===void 0?void 0:Wt.data)||{},na=Xt.src,ia=(0,ot.Z)(Xt,Ht),ca=(0,Ke.Z)(!!jt,{value:jt,onChange:function(Pa,ya){Bt==null||Bt(Pa,ya,Un)}}),la=(0,Qe.Z)(ca,2),Aa=la[0],ka=la[1],Hn=(0,ne.useState)(null),kn=(0,Qe.Z)(Hn,2),Da=kn[0],Na=kn[1],Ga=ne.useCallback(function(ua,Pa,ya){var $a=tn.findIndex(function(Ya){return Ya.id===ua});ka(!0),Na({x:Pa,y:ya}),Fa($a<0?0:$a),Ca(!0)},[tn]);ne.useEffect(function(){Aa?Ea||Fa(0):Ca(!1)},[Aa]);var Va=function(Pa,ya){Fa(Pa),Ve==null||Ve(Pa,ya)},Za=function(){ka(!1),Na(null)},_a=ne.useMemo(function(){return{register:zn,onPreview:Ga}},[zn,Ga]);return ne.createElement(y.Provider,{value:_a},vn,ne.createElement(mt,(0,ke.Z)({"aria-hidden":!Aa,movable:pt,visible:Aa,prefixCls:un,closeIcon:Lt,onClose:Za,mousePosition:Da,imgCommonProps:ia,src:na,fallback:Vt,icons:st,minScale:Nn,maxScale:On,getContainer:Pn,current:Un,count:tn.length,countRender:ut,onTransform:zt,toolbarRender:ln,imageRender:_t,onChange:Va},Sn)))},ht=rn,$t=["src","alt","onPreviewClose","prefixCls","previewPrefixCls","placeholder","fallback","width","height","style","preview","className","onClick","onError","wrapperClassName","wrapperStyle","rootClassName"],Fe=["src","visible","onVisibleChange","getContainer","mask","maskClassName","movable","icons","scaleStep","minScale","maxScale","imageRender","toolbarRender"],rt=function(ze){var Wt=ze.src,fn=ze.alt,un=ze.onPreviewClose,vn=ze.prefixCls,Ce=vn===void 0?"rc-image":vn,st=ze.previewPrefixCls,vt=st===void 0?"".concat(Ce,"-preview"):st,At=ze.placeholder,Vt=ze.fallback,Mt=ze.width,jt=ze.height,Bt=ze.style,Pn=ze.preview,Rn=Pn===void 0?!0:Pn,pt=ze.className,Nn=ze.onClick,On=ze.onError,ut=ze.wrapperClassName,Lt=ze.wrapperStyle,Ve=ze.rootClassName,zt=(0,ot.Z)(ze,$t),ln=At&&At!==!0,_t=(0,$e.Z)(Rn)==="object"?Rn:{},Sn=_t.src,sn=_t.visible,Kt=sn===void 0?void 0:sn,tn=_t.onVisibleChange,zn=tn===void 0?un:tn,Bn=_t.getContainer,La=Bn===void 0?void 0:Bn,Un=_t.mask,Fa=_t.maskClassName,pn=_t.movable,wa=_t.icons,Ea=_t.scaleStep,Ca=_t.minScale,Xt=_t.maxScale,na=_t.imageRender,ia=_t.toolbarRender,ca=(0,ot.Z)(_t,Fe),la=Sn!=null?Sn:Wt,Aa=(0,Ke.Z)(!!Kt,{value:Kt,onChange:zn}),ka=(0,Qe.Z)(Aa,2),Hn=ka[0],kn=ka[1],Da=x({src:Wt,isCustomPlaceholder:ln,fallback:Vt}),Na=(0,Qe.Z)(Da,3),Ga=Na[0],Va=Na[1],Za=Na[2],_a=(0,ne.useState)(null),ua=(0,Qe.Z)(_a,2),Pa=ua[0],ya=ua[1],$a=(0,ne.useContext)(y),Ya=!!Rn,va=function(){kn(!1),ya(null)},bn=De()(Ce,ut,Ve,(0,et.Z)({},"".concat(Ce,"-error"),Za==="error")),cn=(0,ne.useMemo)(function(){var xt={};return se.forEach(function(Jn){ze[Jn]!==void 0&&(xt[Jn]=ze[Jn])}),xt},se.map(function(xt){return ze[xt]})),Cn=(0,ne.useMemo)(function(){return(0,be.Z)((0,be.Z)({},cn),{},{src:la})},[la,cn]),xn=E(Ya,Cn),ma=function(Jn){var Qn=(0,_e.os)(Jn.target),fa=Qn.left,aa=Qn.top;$a?$a.onPreview(xn,fa,aa):(ya({x:fa,y:aa}),kn(!0)),Nn==null||Nn(Jn)};return ne.createElement(ne.Fragment,null,ne.createElement("div",(0,ke.Z)({},zt,{className:bn,onClick:Ya?ma:Nn,style:(0,be.Z)({width:Mt,height:jt},Lt)}),ne.createElement("img",(0,ke.Z)({},cn,{className:De()("".concat(Ce,"-img"),(0,et.Z)({},"".concat(Ce,"-img-placeholder"),At===!0),pt),style:(0,be.Z)({height:jt},Bt),ref:Ga},Va,{width:Mt,height:jt,onError:On})),Za==="loading"&&ne.createElement("div",{"aria-hidden":"true",className:"".concat(Ce,"-placeholder")},At),Un&&Ya&&ne.createElement("div",{className:De()("".concat(Ce,"-mask"),Fa),style:{display:(Bt==null?void 0:Bt.display)==="none"?"none":void 0}},Un)),!$a&&Ya&&ne.createElement(mt,(0,ke.Z)({"aria-hidden":!Hn,visible:Hn,prefixCls:vt,onClose:va,mousePosition:Pa,src:la,alt:fn,fallback:Vt,getContainer:La,icons:wa,movable:pn,scaleStep:Ea,minScale:Ca,maxScale:Xt,rootClassName:Ve,imageRender:na,imgCommonProps:cn,toolbarRender:ia},ca)))};rt.PreviewGroup=ht,rt.displayName="Image";var wt=rt,nn=wt,Jt=oe(62892),Ue=oe(36355),je=oe(31724),we=oe(99267),me=oe(33853),Re=oe(38819),yt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M672 418H144c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H188V494h440v326z"}},{tag:"path",attrs:{d:"M819.3 328.5c-78.8-100.7-196-153.6-314.6-154.2l-.2-64c0-6.5-7.6-10.1-12.6-6.1l-128 101c-4 3.1-3.9 9.1 0 12.3L492 318.6c5.1 4 12.7.4 12.6-6.1v-63.9c12.9.1 25.9.9 38.8 2.5 42.1 5.2 82.1 18.2 119 38.7 38.1 21.2 71.2 49.7 98.4 84.3 27.1 34.7 46.7 73.7 58.1 115.8a325.95 325.95 0 016.5 140.9h74.9c14.8-103.6-11.3-213-81-302.3z"}}]},name:"rotate-left",theme:"outlined"},ye=yt,he=oe(7657),Be=function(ze,Wt){return ne.createElement(he.Z,(0,ke.Z)({},ze,{ref:Wt,icon:ye}))},Ne=ne.forwardRef(Be),Ee=Ne,Me={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M480.5 251.2c13-1.6 25.9-2.4 38.8-2.5v63.9c0 6.5 7.5 10.1 12.6 6.1L660 217.6c4-3.2 4-9.2 0-12.3l-128-101c-5.1-4-12.6-.4-12.6 6.1l-.2 64c-118.6.5-235.8 53.4-314.6 154.2A399.75 399.75 0 00123.5 631h74.9c-.9-5.3-1.7-10.7-2.4-16.1-5.1-42.1-2.1-84.1 8.9-124.8 11.4-42.2 31-81.1 58.1-115.8 27.2-34.7 60.3-63.2 98.4-84.3 37-20.6 76.9-33.6 119.1-38.8z"}},{tag:"path",attrs:{d:"M880 418H352c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H396V494h440v326z"}}]},name:"rotate-right",theme:"outlined"},bt=Me,Ct=function(ze,Wt){return ne.createElement(he.Z,(0,ke.Z)({},ze,{ref:Wt,icon:bt}))},kt=ne.forwardRef(Ct),It=kt,Dt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M847.9 592H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h605.2L612.9 851c-4.1 5.2-.4 13 6.3 13h72.5c4.9 0 9.5-2.2 12.6-6.1l168.8-214.1c16.5-21 1.6-51.8-25.2-51.8zM872 356H266.8l144.3-183c4.1-5.2.4-13-6.3-13h-72.5c-4.9 0-9.5 2.2-12.6 6.1L150.9 380.2c-16.5 21-1.6 51.8 25.1 51.8h696c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"swap",theme:"outlined"},xe=Dt,tt=function(ze,Wt){return ne.createElement(he.Z,(0,ke.Z)({},ze,{ref:Wt,icon:xe}))},at=ne.forwardRef(tt),it=at,ft={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M637 443H519V309c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v134H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h118v134c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V519h118c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z"}}]},name:"zoom-in",theme:"outlined"},en=ft,dn=function(ze,Wt){return ne.createElement(he.Z,(0,ke.Z)({},ze,{ref:Wt,icon:en}))},on=ne.forwardRef(dn),mn=on,In={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M637 443H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h312c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z"}}]},name:"zoom-out",theme:"outlined"},Ln=In,Tn=function(ze,Wt){return ne.createElement(he.Z,(0,ke.Z)({},ze,{ref:Wt,icon:Ln}))},_n=ne.forwardRef(Tn),ta=_n,Fn=oe(64993),ra=oe(73819),wn=oe(17313),Kn=oe(29878),oa=oe(1950),Ia=oe(83116),ba=oe(37613);const za=Gt=>({position:Gt||"absolute",inset:0}),Ua=Gt=>{const{iconCls:ze,motionDurationSlow:Wt,paddingXXS:fn,marginXXS:un,prefixCls:vn,colorTextLightSolid:Ce}=Gt;return{position:"absolute",inset:0,display:"flex",alignItems:"center",justifyContent:"center",color:Ce,background:new Fn.C("#000").setAlpha(.5).toRgbString(),cursor:"pointer",opacity:0,transition:`opacity ${Wt}`,[`.${vn}-mask-info`]:Object.assign(Object.assign({},wn.vS),{padding:`0 ${fn}px`,[ze]:{marginInlineEnd:un,svg:{verticalAlign:"baseline"}}})}},Oa=Gt=>{const{previewCls:ze,modalMaskBg:Wt,paddingSM:fn,marginXL:un,margin:vn,paddingLG:Ce,previewOperationColorDisabled:st,previewOperationHoverColor:vt,motionDurationSlow:At,iconCls:Vt,colorTextLightSolid:Mt}=Gt,jt=new Fn.C(Wt).setAlpha(.1),Bt=jt.clone().setAlpha(.2);return{[`${ze}-footer`]:{position:"fixed",bottom:un,left:{_skip_check_:!0,value:0},width:"100%",display:"flex",flexDirection:"column",alignItems:"center",color:Gt.previewOperationColor},[`${ze}-progress`]:{marginBottom:vn},[`${ze}-close`]:{position:"fixed",top:un,right:{_skip_check_:!0,value:un},display:"flex",color:Mt,backgroundColor:jt.toRgbString(),borderRadius:"50%",padding:fn,outline:0,border:0,cursor:"pointer",transition:`all ${At}`,"&:hover":{backgroundColor:Bt.toRgbString()},[`& > ${Vt}`]:{fontSize:Gt.previewOperationSize}},[`${ze}-operations`]:{display:"flex",alignItems:"center",padding:`0 ${Ce}px`,backgroundColor:jt.toRgbString(),borderRadius:100,"&-operation":{marginInlineStart:fn,padding:fn,cursor:"pointer",transition:`all ${At}`,userSelect:"none",[`&:not(${ze}-operations-operation-disabled):hover > ${Vt}`]:{color:vt},"&-disabled":{color:st,cursor:"not-allowed"},"&:first-of-type":{marginInlineStart:0},[`& > ${Vt}`]:{fontSize:Gt.previewOperationSize}}}}},pa=Gt=>{const{modalMaskBg:ze,iconCls:Wt,previewOperationColorDisabled:fn,previewCls:un,zIndexPopup:vn,motionDurationSlow:Ce}=Gt,st=new Fn.C(ze).setAlpha(.1),vt=st.clone().setAlpha(.2);return{[`${un}-switch-left, ${un}-switch-right`]:{position:"fixed",insetBlockStart:"50%",zIndex:vn+1,display:"flex",alignItems:"center",justifyContent:"center",width:Gt.imagePreviewSwitchSize,height:Gt.imagePreviewSwitchSize,marginTop:-Gt.imagePreviewSwitchSize/2,color:Gt.previewOperationColor,background:st.toRgbString(),borderRadius:"50%",transform:"translateY(-50%)",cursor:"pointer",transition:`all ${Ce}`,userSelect:"none","&:hover":{background:vt.toRgbString()},"&-disabled":{"&, &:hover":{color:fn,background:"transparent",cursor:"not-allowed",[`> ${Wt}`]:{cursor:"not-allowed"}}},[`> ${Wt}`]:{fontSize:Gt.previewOperationSize}},[`${un}-switch-left`]:{insetInlineStart:Gt.marginSM},[`${un}-switch-right`]:{insetInlineEnd:Gt.marginSM}}},Sa=Gt=>{const{motionEaseOut:ze,previewCls:Wt,motionDurationSlow:fn,componentCls:un}=Gt;return[{[`${un}-preview-root`]:{[Wt]:{height:"100%",textAlign:"center",pointerEvents:"none"},[`${Wt}-body`]:Object.assign(Object.assign({},za()),{overflow:"hidden"}),[`${Wt}-img`]:{maxWidth:"100%",maxHeight:"70%",verticalAlign:"middle",transform:"scale3d(1, 1, 1)",cursor:"grab",transition:`transform ${fn} ${ze} 0s`,userSelect:"none","&-wrapper":Object.assign(Object.assign({},za()),{transition:`transform ${fn} ${ze} 0s`,display:"flex",justifyContent:"center",alignItems:"center","& > *":{pointerEvents:"auto"},"&::before":{display:"inline-block",width:1,height:"50%",marginInlineEnd:-1,content:'""'}})},[`${Wt}-moving`]:{[`${Wt}-preview-img`]:{cursor:"grabbing","&-wrapper":{transitionDuration:"0s"}}}}},{[`${un}-preview-root`]:{[`${Wt}-wrap`]:{zIndex:Gt.zIndexPopup}}},{[`${un}-preview-operations-wrapper`]:{position:"fixed",zIndex:Gt.zIndexPopup+1},"&":[Oa(Gt),pa(Gt)]}]},Wa=Gt=>{const{componentCls:ze}=Gt;return{[ze]:{position:"relative",display:"inline-block",[`${ze}-img`]:{width:"100%",height:"auto",verticalAlign:"middle"},[`${ze}-img-placeholder`]:{backgroundColor:Gt.colorBgContainerDisabled,backgroundImage:"url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMTQuNSAyLjVoLTEzQS41LjUgMCAwIDAgMSAzdjEwYS41LjUgMCAwIDAgLjUuNWgxM2EuNS41IDAgMCAwIC41LS41VjNhLjUuNSAwIDAgMC0uNS0uNXpNNS4yODEgNC43NWExIDEgMCAwIDEgMCAyIDEgMSAwIDAgMSAwLTJ6bTguMDMgNi44M2EuMTI3LjEyNyAwIDAgMS0uMDgxLjAzSDIuNzY5YS4xMjUuMTI1IDAgMCAxLS4wOTYtLjIwN2wyLjY2MS0zLjE1NmEuMTI2LjEyNiAwIDAgMSAuMTc3LS4wMTZsLjAxNi4wMTZMNy4wOCAxMC4wOWwyLjQ3LTIuOTNhLjEyNi4xMjYgMCAwIDEgLjE3Ny0uMDE2bC4wMTUuMDE2IDMuNTg4IDQuMjQ0YS4xMjcuMTI3IDAgMCAxLS4wMi4xNzV6IiBmaWxsPSIjOEM4QzhDIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4=')",backgroundRepeat:"no-repeat",backgroundPosition:"center center",backgroundSize:"30%"},[`${ze}-mask`]:Object.assign({},Ua(Gt)),[`${ze}-mask:hover`]:{opacity:1},[`${ze}-placeholder`]:Object.assign({},za())}}},gt=Gt=>{const{previewCls:ze}=Gt;return{[`${ze}-root`]:(0,Kn._y)(Gt,"zoom"),"&":(0,oa.J$)(Gt,!0)}};var St=(0,Ia.Z)("Image",Gt=>{const ze=`${Gt.componentCls}-preview`,Wt=(0,ba.TS)(Gt,{previewCls:ze,modalMaskBg:new Fn.C("#000").setAlpha(.45).toRgbString(),imagePreviewSwitchSize:Gt.controlHeightLG});return[Wa(Wt),Sa(Wt),(0,ra.QA)((0,ba.TS)(Wt,{componentCls:ze})),gt(Wt)]},Gt=>({zIndexPopup:Gt.zIndexPopupBase+80,previewOperationColor:new Fn.C(Gt.colorTextLightSolid).setAlpha(.65).toRgbString(),previewOperationHoverColor:new Fn.C(Gt.colorTextLightSolid).setAlpha(.85).toRgbString(),previewOperationColorDisabled:new Fn.C(Gt.colorTextLightSolid).setAlpha(.25).toRgbString(),previewOperationSize:Gt.fontSizeIcon*1.5})),dt=function(Gt,ze){var Wt={};for(var fn in Gt)Object.prototype.hasOwnProperty.call(Gt,fn)&&ze.indexOf(fn)<0&&(Wt[fn]=Gt[fn]);if(Gt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var un=0,fn=Object.getOwnPropertySymbols(Gt);un{var{previewPrefixCls:ze,preview:Wt}=Gt,fn=dt(Gt,["previewPrefixCls","preview"]);const{getPrefixCls:un}=ne.useContext(Ue.E_),vn=un("image",ze),Ce=`${vn}-preview`,st=un(),[vt,At]=St(vn),Vt=ne.useMemo(()=>{var Mt;if(Wt===!1)return Wt;const jt=typeof Wt=="object"?Wt:{},Bt=De()(At,(Mt=jt.rootClassName)!==null&&Mt!==void 0?Mt:"");return Object.assign(Object.assign({},jt),{transitionName:(0,Jt.m)(st,"zoom",jt.transitionName),maskTransitionName:(0,Jt.m)(st,"fade",jt.maskTransitionName),rootClassName:Bt})},[Wt]);return vt(ne.createElement(nn.PreviewGroup,Object.assign({preview:Vt,previewPrefixCls:Ce,icons:gn},fn)))},xa=function(Gt,ze){var Wt={};for(var fn in Gt)Object.prototype.hasOwnProperty.call(Gt,fn)&&ze.indexOf(fn)<0&&(Wt[fn]=Gt[fn]);if(Gt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var un=0,fn=Object.getOwnPropertySymbols(Gt);un{const{prefixCls:ze,preview:Wt,className:fn,rootClassName:un,style:vn}=Gt,Ce=xa(Gt,["prefixCls","preview","className","rootClassName","style"]),{getPrefixCls:st,locale:vt=je.Z,getPopupContainer:At,image:Vt}=ne.useContext(Ue.E_),Mt=st("image",ze),jt=st(),Bt=vt.Image||je.Z.Image,[Pn,Rn]=St(Mt),pt=De()(un,Rn),Nn=De()(fn,Rn,Vt==null?void 0:Vt.className),On=ne.useMemo(()=>{if(Wt===!1)return Wt;const Lt=typeof Wt=="object"?Wt:{},{getContainer:Ve}=Lt,zt=xa(Lt,["getContainer"]);return Object.assign(Object.assign({mask:ne.createElement("div",{className:`${Mt}-mask-info`},ne.createElement(Ye.Z,null),Bt==null?void 0:Bt.preview),icons:gn},zt),{getContainer:Ve||At,transitionName:(0,Jt.m)(jt,"zoom",Lt.transitionName),maskTransitionName:(0,Jt.m)(jt,"fade",Lt.maskTransitionName)})},[Wt,Bt]),ut=Object.assign(Object.assign({},Vt==null?void 0:Vt.style),vn);return Pn(ne.createElement(nn,Object.assign({prefixCls:Mt,preview:On,rootClassName:pt,className:Nn,style:ut},Ce)))};ea.PreviewGroup=Dn;var Yn=ea,ga=()=>{const[Gt,ze]=(0,ne.useState)(""),[Wt,fn]=(0,ne.useState)(0);let[un,vn]=(0,ne.useState)(),[Ce,st]=(0,ne.useState)();const[vt,At]=(0,ne.useState)(!1),Vt=(0,ne.useRef)("");(0,ne.useEffect)(()=>Pe.Z.subscribe("preview-image",Ve=>{ze(Ve),console.log(On.current),document.body.style.overflow="hidden"}),[]),(0,ne.useEffect)(()=>(document.addEventListener("keydown",Mt),()=>{document.removeEventListener("keydown",Mt)}),[]),(0,ne.useEffect)(()=>{Vt.current=Gt},[Gt]);function Mt(Lt){Lt.keyCode==27&&Vt.current&&jt()}function jt(){document.body.style.overflow="auto",vn(void 0),st(void 0),fn(0),ze("")}function Bt(){fn(Wt+90)}function Pn(){un=On.current.width*1.1,Ce=On.current.height*1.1,st(Ce),vn(un)}function Rn(){un=On.current.width/1.1,Ce=On.current.height/1.1,st(Ce),vn(un)}const pt=(0,ne.useRef)(),Nn=(0,ne.useRef)(),On=(0,ne.useRef)(),ut=Lt=>{(Lt.nativeEvent.target===pt.current||Lt.nativeEvent.target===Nn.current)&&jt()};return ne.createElement(ne.Fragment,null,Gt?ne.createElement("div",null,ne.createElement("div",{className:"preview-wrp-group",ref:Nn},ne.createElement(Yn,{className:"image-preview",src:Gt,style:{display:"none"},preview:{visible:!0,src:Gt,movable:!1,onVisibleChange:Lt=>{ze("")}},alt:"\u9884\u89C8\u5927\u56FE"}))):null)}},97692:function(Ft,Tt,oe){"use strict";oe.d(Tt,{h:function(){return ae}});var ne=oe(59301),Pe=oe(57809),Ye=oe(78241),Oe=oe(3113),De=oe(89780),ke=oe.n(De),be=oe(37036),et=oe(95625),Qe=Object.defineProperty,$e=Object.defineProperties,ot=Object.getOwnPropertyDescriptors,_e=Object.getOwnPropertySymbols,Ke=Object.prototype.hasOwnProperty,se=Object.prototype.propertyIsEnumerable,y=(ie,ce,ge)=>ce in ie?Qe(ie,ce,{enumerable:!0,configurable:!0,writable:!0,value:ge}):ie[ce]=ge,a=(ie,ce)=>{for(var ge in ce||(ce={}))Ke.call(ce,ge)&&y(ie,ge,ce[ge]);if(_e)for(var ge of _e(ce))se.call(ce,ge)&&y(ie,ge,ce[ge]);return ie},E=(ie,ce)=>$e(ie,ot(ce));const b=Pe.default.Option,x={labelCol:{span:4},wrapperCol:{span:20}},te={asp:["ASP","vbscript"],actionscript:["ActionScript(3.0)/Flash/Flex","clike"],bash:["Bash/Bat","shell"],css:["CSS","css"],c:["C","clike"],cpp:["C++","clike"],csharp:["C#","clike"],coffeescript:["CoffeeScript","coffeescript"],d:["D","d"],dart:["Dart","dart"],delphi:["Delphi/Pascal","pascal"],erlang:["Erlang","erlang"],go:["Golang","go"],groovy:["Groovy","groovy"],html:["HTML","text/html"],java:["Java","clike"],json:["JSON","text/json"],javascript:["Javascript","javascript"],lua:["Lua","lua"],less:["LESS","css"],markdown:["Markdown","gfm"],"objective-c":["Objective-C","clike"],php:["PHP","php"],perl:["Perl","perl"],python:["Python","python"],r:["R","r"],rst:["reStructedText","rst"],ruby:["Ruby","ruby"],sql:["SQL","sql"],sass:["SASS/SCSS","sass"],shell:["Shell","shell"],scala:["Scala","clike"],swift:["Swift","clike"],vb:["VB/VBScript","vb"],xml:["XML","text/xml"],yaml:["YAML","yaml"]};Tt.Z=({callback:ie,onCancel:ce})=>{const[ge,fe]=(0,ne.useState)("python");function Le(Ie){fe(te[Ie][1])}function Ae(Ie){ie(Ie)}return ne.createElement(Ye.default,E(a({},x),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:Ae,style:{width:500}}),ne.createElement(Ye.default.Item,{label:"\u4EE3\u7801\u8BED\u8A00",name:"language"},ne.createElement(Pe.default,{getPopupContainer:Ie=>Ie.parentNode,onChange:Le},Object.keys(te).map(Ie=>ne.createElement(b,{key:Ie,value:Ie},te[Ie][0])))),ne.createElement(Ye.default.Item,{label:"\u4EE3\u7801\u5185\u5BB9",name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EE3\u7801\u5185\u5BB9"}]},ne.createElement(ae,{mode:ge})),ne.createElement("div",{className:"flex-container flex-end"},ne.createElement(Oe.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),ne.createElement(Oe.ZP,{type:"ghost",onClick:ce},"\u53D6\u6D88")))};function ae({value:ie,onChange:ce,mode:ge,options:fe={}}){const Le=(0,ne.useRef)(),[Ae,Ie]=(0,ne.useState)();return(0,ne.useEffect)(()=>{if(Ae){let ve=function(Xe){const Rt=Xe.getValue();ce&&ce(Rt)};return Ae.on("change",ve),()=>{Ae.off("change",ve)}}},[Ae,ce]),(0,ne.useEffect)(()=>{Ae&&Ae.setOption("mode",ge)},[Ae,ge]),(0,ne.useEffect)(()=>{Ae&&(ie!==Ae.getValue()||ie==="")&&setTimeout(()=>{Ae.setValue(ie||"")},300)},[Ae,ie]),(0,ne.useEffect)(()=>{if(Le.current&&!Ae){const ve=ke().fromTextArea(Le.current,a({mode:ge,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},fe));Ie(ve)}},[Le.current,Ae]),ne.createElement("div",{className:"my-codemirror-container"},ne.createElement("textarea",{ref:Le}))}},12290:function(Ft,Tt,oe){"use strict";oe.d(Tt,{Z:function(){return Wa}});var ne=oe(59301),Pe=oe(89780),Ye=oe.n(Pe),Oe=oe(76374),De=oe(37036),ke=oe(6313),be=oe(25717),et=oe(99498),Qe=oe(25419),$e=oe(67549),ot=oe(85149),_e=({value:gt="",className:St,showTextOnly:dt,showLines:gn,style:Mn={}})=>{const Dn=(0,ne.useMemo)(()=>"",[gt]);return ne.createElement(ne.Fragment,null,ne.createElement("div",{dangerouslySetInnerHTML:{__html:Dn}}))},Ke=oe(59301),se=Object.defineProperty,y=Object.defineProperties,a=Object.getOwnPropertyDescriptors,E=Object.getOwnPropertySymbols,b=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable,te=(gt,St,dt)=>St in gt?se(gt,St,{enumerable:!0,configurable:!0,writable:!0,value:dt}):gt[St]=dt,ae=(gt,St)=>{for(var dt in St||(St={}))b.call(St,dt)&&te(gt,dt,St[dt]);if(E)for(var dt of E(St))x.call(St,dt)&&te(gt,dt,St[dt]);return gt},ie=(gt,St)=>y(gt,a(St));let ce=[{title:"\u7C97\u4F53",icon:"md-iconfont icon-bold",actionName:"bold"},{title:"\u659C\u4F53",icon:"md-iconfont icon-italic",actionName:"italic"},"|",{title:"\u65E0\u5E8F\u5217\u8868",icon:"md-iconfont icon-unorder-list",actionName:"list-ul"},{title:"\u6709\u5E8F\u5217\u8868",icon:"md-iconfont icon-order-list",actionName:"list-ol"},"|",{title:"\u884C\u5185\u4EE3\u7801",icon:"md-iconfont icon-code",actionName:"code"},{title:"\u4EE3\u7801\u5757\uFF08\u591A\u8BED\u8A00\u98CE\u683C\uFF09",icon:"md-iconfont icon-file-code",actionName:"code-block"},{title:"\u94FE\u63A5",icon:"md-iconfont icon-link",actionName:"link"},"|",{title:"\u884C\u5185\u516C\u5F0F",icon:"md-iconfont icon-sum",actionName:"inline-latex"},{title:"\u6570\u5B66\u56FE\u50CF",icon:"iconfont icon-shuxuetuxiang2",actionName:"maths-latex"},{title:"\u591A\u884C\u516C\u5F0F",icon:"iconfont icon-jisuan1",actionName:"latex"},"|",{title:"\u6DFB\u52A0\u56FE\u7247",icon:"md-iconfont icon-picture",actionName:"upload-image"},{title:"\u63D2\u5165\u753B\u56FE",icon:"iconfont icon-sheji",actionName:"draw-image"},{title:"\u63D2\u5165\u6D41\u7A0B\u56FE",icon:"iconfont icon-liucheng",actionName:"add-flowchart"},{title:"\u8868\u683C",icon:"md-iconfont icon-table",actionName:"add-table"},"|",{title:"\u6362\u884C",icon:"md-iconfont icon-minus",actionName:"line-break"},{title:"\u6E05\u7A7A",icon:"md-iconfont icon-eraser",actionName:"eraser"}];function ge({onActionCallback:gt,title:St,icon:dt,actionName:gn,className:Mn="",children:Dn}){function xa(){gt(gn)}return Ke.createElement("a",{title:St,className:Mn,onClick:xa},Ke.createElement("i",{className:`${dt}`}),Dn)}var fe=({watch:gt,showNullButton:St,showNullProgramButton:dt,onActionCallback:gn,fullScreen:Mn,insertTemp:Dn,hidetoolBar:xa,extraUse:ea})=>{const Yn=[...ce,{title:`${gt?"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8":"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"}`,icon:`${gt?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return Ke.createElement("ul",{className:"markdown-toolbar-container"},!xa&&Yn.map((ga,Gt)=>Ke.createElement("li",{key:Gt},ga.actionName?Ke.createElement(ge,ie(ae({},ga),{onActionCallback:gn})):Ke.createElement("span",{className:"v-line"}))),St?Ke.createElement("li",null,Ke.createElement(ge,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-null-ch",onActionCallback:gn},Ke.createElement("span",{className:"fill-tip"},"\u70B9\u51FB\u63D2\u5165\b\u586B\u7A7A\u9879"))):null,dt?Ke.createElement(Ke.Fragment,null,Ke.createElement("li",null,Ke.createElement(ge,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-signal",onActionCallback:gn},Ke.createElement("span",{className:"fill-tip"},"+\u5355\u884C\u586B\u7A7A\u9879"))),Ke.createElement("li",null,Ke.createElement(ge,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-multiple",onActionCallback:gn},Ke.createElement("span",{className:"fill-tip"},"+\u591A\u884C\u586B\u7A7A\u9879")))):null,Dn&&Ke.createElement("li",null,Ke.createElement(ge,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${Dn}`,onActionCallback:gn},Ke.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),ea&&Ke.createElement("li",null,ea),Ke.createElement("li",{className:"btn-full-screen"},Ke.createElement(ge,{icon:`${Mn?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:Mn?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:gn})))},Le=oe(79346),Ae=oe(78241),Ie=oe(92832),ve=oe(3113),Xe=Object.defineProperty,Rt=Object.defineProperties,Yt=Object.getOwnPropertyDescriptors,qe=Object.getOwnPropertySymbols,ct=Object.prototype.hasOwnProperty,Zt=Object.prototype.propertyIsEnumerable,qt=(gt,St,dt)=>St in gt?Xe(gt,St,{enumerable:!0,configurable:!0,writable:!0,value:dt}):gt[St]=dt,an=(gt,St)=>{for(var dt in St||(St={}))ct.call(St,dt)&&qt(gt,dt,St[dt]);if(qe)for(var dt of qe(St))Zt.call(St,dt)&&qt(gt,dt,St[dt]);return gt},Pt=(gt,St)=>Rt(gt,Yt(St));const Ot={labelCol:{span:4},wrapperCol:{span:20}};var mt=({callback:gt,onCancel:St})=>{function dt(gn){gt(gn)}return ne.createElement(Ae.default,Pt(an({},Ot),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:dt,style:{width:500}}),ne.createElement(Ae.default.Item,{label:"\u94FE\u63A5\u5730\u5740",name:"link",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u5730\u5740"}]},ne.createElement(Ie.default,null)),ne.createElement(Ae.default.Item,{label:"\u94FE\u63A5\u6807\u9898",name:"title",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u6807\u9898"}]},ne.createElement(Ie.default,null)),ne.createElement("div",{className:"flex-container flex-end"},ne.createElement(ve.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),ne.createElement(ve.ZP,{type:"ghost",onClick:St},"\u53D6\u6D88")))},Qt=oe(97692),Ze=oe(28451),lt=oe(43418),Ht=oe(95237),rn=oe(73524),ht=oe(59301),$t=({callback:gt,onCancel:St})=>{const dt=document.createElement("canvas"),gn=dt.getContext("2d");dt.width=1e3,dt.height=800,gn.fillStyle="#ffffff",gn.fillRect(0,0,dt.width,dt.height);const Mn=dt.toDataURL("image/png");return ht.createElement(lt.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},ht.createElement(Ht.Z,{style:{height:"100vh"}},ht.createElement(rn.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:Mn,visible:!0,title:String(Date.now())},onOk:Dn=>{gt({src:Dn.url})},onClose:St})))},Fe=oe(12378);function rt(){go.CommandHandler.call(this),this._arrowKeyBehavior="move",this._pasteOffset=new go.Point(10,10),this._lastPasteOffset=new go.Point(0,0)}go.Diagram.inherit(rt,go.CommandHandler),rt.prototype.canAlignSelection=function(){var gt=this.diagram;return!(gt===null||gt.isReadOnly||gt.isModelReadOnly||gt.selection.count<2)},rt.prototype.alignLeft=function(){var gt=this.diagram;gt.startTransaction("aligning left");var St=1/0;gt.selection.each(function(dt){dt instanceof go.Link||(St=Math.min(dt.position.x,St))}),gt.selection.each(function(dt){dt instanceof go.Link||dt.move(new go.Point(St,dt.position.y))}),gt.commitTransaction("aligning left")},rt.prototype.alignRight=function(){var gt=this.diagram;gt.startTransaction("aligning right");var St=-1/0;gt.selection.each(function(dt){if(!(dt instanceof go.Link)){var gn=dt.actualBounds.x+dt.actualBounds.width;St=Math.max(gn,St)}}),gt.selection.each(function(dt){dt instanceof go.Link||dt.move(new go.Point(St-dt.actualBounds.width,dt.position.y))}),gt.commitTransaction("aligning right")},rt.prototype.alignTop=function(){var gt=this.diagram;gt.startTransaction("alignTop");var St=1/0;gt.selection.each(function(dt){dt instanceof go.Link||(St=Math.min(dt.position.y,St))}),gt.selection.each(function(dt){dt instanceof go.Link||dt.move(new go.Point(dt.position.x,St))}),gt.commitTransaction("alignTop")},rt.prototype.alignBottom=function(){var gt=this.diagram;gt.startTransaction("aligning bottom");var St=-1/0;gt.selection.each(function(dt){if(!(dt instanceof go.Link)){var gn=dt.actualBounds.y+dt.actualBounds.height;St=Math.max(gn,St)}}),gt.selection.each(function(dt){dt instanceof go.Link||dt.move(new go.Point(dt.actualBounds.x,St-dt.actualBounds.height))}),gt.commitTransaction("aligning bottom")},rt.prototype.alignCenterX=function(){var gt=this.diagram,St=gt.selection.first();if(St){gt.startTransaction("aligning Center X");var dt=St.actualBounds.x+St.actualBounds.width/2;gt.selection.each(function(gn){gn instanceof go.Link||gn.move(new go.Point(dt-gn.actualBounds.width/2,gn.actualBounds.y))}),gt.commitTransaction("aligning Center X")}},rt.prototype.alignCenterY=function(){var gt=this.diagram,St=gt.selection.first();if(St){gt.startTransaction("aligning Center Y");var dt=St.actualBounds.y+St.actualBounds.height/2;gt.selection.each(function(gn){gn instanceof go.Link||gn.move(new go.Point(gn.actualBounds.x,dt-gn.actualBounds.height/2))}),gt.commitTransaction("aligning Center Y")}},rt.prototype.alignColumn=function(gt){var St=this.diagram;St.startTransaction("align Column"),gt===void 0&&(gt=0),gt=parseFloat(gt);var dt=new Array;St.selection.each(function(ea){ea instanceof go.Link||dt.push(ea)});for(var gn=0;gn0){for(var ea=Dn.elt(xa-1);ea!==null&&ea.isTreeExpanded&&!ea.isTreeLeaf;){var Yn=this._sortTreeChildrenByY(ea);ea=Yn.last()}ea!==null&>.select(ea)}else gt.select(Mn)}}else if(dt.key==="Down")if(St.isTreeExpanded&&!St.isTreeLeaf){var gn=this._sortTreeChildrenByY(St).first();gn!==null&>.select(gn)}else for(;St!==null;){var Mn=St.findTreeParentNode();if(Mn===null)break;var Dn=this._sortTreeChildrenByY(Mn),xa=Dn.indexOf(St);if(xaDn.y?1:Mn.xDn.x?1:0}),St},rt.prototype.copyToClipboard=function(gt){go.CommandHandler.prototype.copyToClipboard.call(this,gt),this._lastPasteOffset.set(this.pasteOffset)},rt.prototype.pasteFromClipboard=function(){var gt=go.CommandHandler.prototype.pasteFromClipboard.call(this);return this.diagram.moveParts(gt,this._lastPasteOffset),this._lastPasteOffset.add(this.pasteOffset),gt},Object.defineProperty(rt.prototype,"arrowKeyBehavior",{get:function(){return this._arrowKeyBehavior},set:function(gt){if(gt!=="move"&>!=="select"&>!=="scroll"&>!=="tree"&>!=="none")throw new Error('DrawCommandHandler.arrowKeyBehavior must be either "move", "select", "scroll", "tree", or "none", not: '+gt);this._arrowKeyBehavior=gt}}),Object.defineProperty(rt.prototype,"pasteOffset",{get:function(){return this._pasteOffset},set:function(gt){if(!(gt instanceof go.Point))throw new Error("DrawCommandHandler.pasteOffset must be a Point, not: "+gt);this._pasteOffset.set(gt)}});var wt=rt,nn=oe(74413),Jt=oe(43604),Ue=oe(99064),je={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re"},we=oe(59301),me=(gt,St,dt)=>new Promise((gn,Mn)=>{var Dn=Yn=>{try{ea(dt.next(Yn))}catch(ga){Mn(ga)}},xa=Yn=>{try{ea(dt.throw(Yn))}catch(ga){Mn(ga)}},ea=Yn=>Yn.done?gn(Yn.value):Promise.resolve(Yn.value).then(Dn,xa);ea((dt=dt.apply(gt,St)).next())});function Re({onCancel:gt,callback:St}){let dt=(0,ne.useRef)(),gn=(0,ne.useRef)(),Mn=(0,ne.useRef)(),Dn=(0,ne.useRef)(!1);const xa=(0,ne.useRef)(!1),[ea,Yn]=(0,ne.useState)(0);function ga(){const ze=Fe.bx.make,Wt={red:"#ff3333",blue:"#3358ff",green:"#25ad23",magenta:"#d533ff",purple:"#7d33ff",orange:"#ff6233",brown:"#8e571e",white:"#ffffff",black:"#000000",beige:"#fffcd5",extralightblue:"#d5ebff",extralightred:"#f2dfe0",lightblue:"#a5d2fa",lightgray:"#cccccc",lightgreen:"#b3e6b3",lightred:"#fcbbbd"};dt.current=new Fe.S0(gn.current,{padding:20,grid:ze(Fe.s_,"Grid",ze(Fe.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),ze(Fe.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),"draggingTool.isGridSnapEnabled":!0,handlesDragDropForTopLevelParts:!0,mouseDrop:Ve=>{var zt=Ve.diagram.commandHandler.addTopLevelParts(Ve.diagram.selection,!0);zt||Ve.diagram.currentTool.doCancel()},commandHandler:ze(wt),"clickCreatingTool.archetypeNodeData":{text:"\u672A\u547D\u540D",fill:null,stroke:null,borderColor:"rgba(0,0,0,0)"},PartCreated:Ve=>{var zt=Ve.subject;zt.location=zt.location.copy().snapToGridPoint(Ve.diagram.grid.gridOrigin,Ve.diagram.grid.gridCellSize),setTimeout(()=>{Ve.diagram.commandHandler.editTextBlock()},20)},"commandHandler.archetypeGroupData":{isGroup:!0,text:"NEW GROUP"},SelectionGrouped:Ve=>{var zt=Ve.subject;setTimeout(()=>{Ve.diagram.commandHandler.editTextBlock()})},LinkRelinked:Ve=>{var zt=Ve.parameter.part;zt.invalidateConnectedLinks();var ln=Ve.subject;Ve.diagram.toolManager.linkingTool.isForwards?ln.toNode.invalidateConnectedLinks():ln.fromNode.invalidateConnectedLinks()},"undoManager.isEnabled":!0}),dt.current.nodeTemplate=ze(Fe.NB,"Auto",{locationSpot:Fe.z6.Center,locationObjectName:"SHAPE",desiredSize:new Fe.$u(120,60),minSize:new Fe.$u(40,40),resizable:!0,resizeCellSize:new Fe.$u(10,10),rotatable:!0},new Fe.KX("location","loc",Fe.E9.parse).makeTwoWay(Fe.E9.stringify),new Fe.KX("desiredSize","size",Fe.$u.parse).makeTwoWay(Fe.$u.stringify),ze(Fe.bn,{name:"SHAPE",fill:Wt.white,cursor:"pointer",portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:Fe.z6.AllSides,toSpot:Fe.z6.AllSides},new Fe.KX("figure"),new Fe.KX("fill"),new Fe.KX("stroke","borderColor"),new Fe.KX("strokeWidth","thickness"),new Fe.KX("strokeDashArray","dash")),ze(Fe.bn,{width:100,height:20,strokeWidth:0,fill:"transparent"}),ze(Fe.al,{margin:1,textAlign:"center",overflow:Fe.al.OverflowEllipsis,editable:!0},new Fe.KX("text").makeTwoWay(),new Fe.KX("stroke","color"))),dt.current.nodeTemplate.toolTip=ze("ToolTip",ze(Fe.s_,"Vertical",{maxSize:new Fe.$u(200,NaN)},ze(Fe.al,{font:"bold 10pt sans-serif",textAlign:"center"},new Fe.KX("text")),ze(Fe.al,{font:"10pt sans-serif",textAlign:"center"},new Fe.KX("text","details"))));function fn(Ve,zt){var ln=(_t,Sn)=>{_t.handled=!0,_t.diagram.model.commit(sn=>{var Kt=Sn.part.adornedPart,tn=new Fe.E9().setRectSpot(Kt.actualBounds,Ve);tn.subtract(Kt.location),tn.scale(2,2),tn.x+=Math.sign(tn.x)*130,tn.y+=Math.sign(tn.y)*130,tn.add(Kt.location),tn.snapToGridPoint(_t.diagram.grid.gridOrigin,_t.diagram.grid.gridCellSize);var zn=sn.copyNodeData(Kt.data);sn.setGroupKeyForNodeData(zn,sn.getGroupKeyForNodeData(Kt.data)),sn.addNodeData(zn);var Bn={from:Kt.key,to:sn.getKeyForNodeData(zn)};sn.addLinkData(Bn);var La=_t.diagram.findNodeForData(zn);La.location=tn,_t.diagram.select(La),setTimeout(()=>{_t.diagram.commandHandler.editTextBlock()},20)})};return ze(Fe.bn,{figure:zt,alignment:Ve,alignmentFocus:Ve.opposite(),width:Ve.equals(Fe.z6.Top)||Ve.equals(Fe.z6.Bottom)?25:18,height:Ve.equals(Fe.z6.Top)||Ve.equals(Fe.z6.Bottom)?18:25,fill:"orange",stroke:Wt.white,strokeWidth:4,mouseEnter:(_t,Sn)=>Sn.fill="dodgerblue",mouseLeave:(_t,Sn)=>Sn.fill="orange",isActionable:!0,click:ln,contextClick:ln})}function un(Ve){return ze(Fe.bn,{fill:"orange",stroke:"rgba(0, 0, 0, 0)",strokeWidth:15,background:"transparent",geometryString:"F1 M0 0 b 0 360 -4 0 4 z M10 0 b 0 360 -4 0 4 z M20 0 b 0 360 -4 0 4",isActionable:!0,cursor:"context-menu",mouseEnter:(zt,ln)=>ln.fill="dodgerblue",mouseLeave:(zt,ln)=>ln.fill="orange",click:(zt,ln)=>{zt.diagram.commandHandler.showContextMenu(ln.part.adornedPart)}},Ve||{})}dt.current.nodeTemplate.selectionAdornmentTemplate=ze(Fe.uz,"Spot",ze(Fe.Vm,{padding:10}),fn(Fe.z6.Top,"TriangleUp"),fn(Fe.z6.Left,"TriangleLeft"),fn(Fe.z6.Right,"TriangleRight"),fn(Fe.z6.Bottom,"TriangleDown"),un({alignment:new Fe.z6(.75,0)}));function vn(Ve,zt){return(ln,_t)=>{ln.handled=!0,ln.diagram.model.commit(Sn=>{Sn.set(_t.part.adornedPart.data,Ve,zt)})}}function Ce(Ve,zt){return zt||(zt="color"),ze(Fe.bn,{width:16,height:16,stroke:"lightgray",fill:Ve,margin:1,background:"transparent",mouseEnter:(ln,_t)=>_t.stroke="dodgerblue",mouseLeave:(ln,_t)=>_t.stroke="lightgray",click:vn(zt,Ve),contextClick:vn(zt,Ve)})}function st(){return[ze("ContextMenuButton",ze(Fe.s_,"Horizontal",Ce(Wt.white,"fill"),Ce(Wt.beige,"fill"),Ce(Wt.extralightblue,"fill"),Ce(Wt.extralightred,"fill"))),ze("ContextMenuButton",ze(Fe.s_,"Horizontal",Ce(Wt.lightgray,"fill"),Ce(Wt.lightgreen,"fill"),Ce(Wt.lightblue,"fill"),Ce(Wt.lightred,"fill")))]}function vt(){return[ze("ContextMenuButton",ze(Fe.s_,"Horizontal",Ce(Wt.black),Ce(Wt.green),Ce(Wt.blue),Ce(Wt.red))),ze("ContextMenuButton",ze(Fe.s_,"Horizontal",Ce(Wt.white),Ce(Wt.magenta),Ce(Wt.purple),Ce(Wt.orange)))]}function At(Ve,zt){return zt||(zt="thickness"),ze(Fe.bn,"LineH",{width:16,height:16,strokeWidth:Ve,margin:1,background:"transparent",mouseEnter:(ln,_t)=>_t.background="dodgerblue",mouseLeave:(ln,_t)=>_t.background="transparent",click:vn(zt,Ve),contextClick:vn(zt,Ve)})}function Vt(Ve,zt){return zt||(zt="dash"),ze(Fe.bn,"LineH",{width:24,height:16,strokeWidth:2,strokeDashArray:Ve,margin:1,background:"transparent",mouseEnter:(ln,_t)=>_t.background="dodgerblue",mouseLeave:(ln,_t)=>_t.background="transparent",click:vn(zt,Ve),contextClick:vn(zt,Ve)})}function Mt(){return[ze("ContextMenuButton",ze(Fe.s_,"Horizontal",At(1),At(2),At(3),At(4))),ze("ContextMenuButton",ze(Fe.s_,"Horizontal",Vt(null),Vt([2,4]),Vt([4,4])))]}function jt(Ve,zt){return zt||(zt="figure"),ze(Fe.bn,{width:32,height:32,scale:.5,fill:"lightgray",figure:Ve,margin:1,background:"transparent",mouseEnter:(ln,_t)=>_t.fill="dodgerblue",mouseLeave:(ln,_t)=>_t.fill="lightgray",click:vn(zt,Ve),contextClick:vn(zt,Ve)})}dt.current.nodeTemplate.contextMenu=ze("ContextMenu",ze("ContextMenuButton",ze(Fe.s_,"Horizontal",jt("Rectangle"),jt("RoundedRectangle"),jt("Ellipse"),jt("Diamond"))),ze("ContextMenuButton",ze(Fe.s_,"Horizontal",jt("Parallelogram2"),jt("ManualOperation"),jt("Procedure"),jt("Cylinder1"))),ze("ContextMenuButton",ze(Fe.s_,"Horizontal",jt("Terminator"),jt("CreateRequest"),jt("Document"),jt("TriangleDown"))),st(),vt(),Mt()),dt.current.groupTemplate=ze(Fe.ZA,"Spot",{layerName:"Background",ungroupable:!0,locationSpot:Fe.z6.Center,selectionObjectName:"BODY",computesBoundsAfterDrag:!0,handlesDragDropForMembers:!0,mouseDrop:(Ve,zt)=>{var ln=zt.addMembers(zt.diagram.selection,!0);ln||zt.diagram.currentTool.doCancel()},avoidable:!1},new Fe.KX("location","loc",Fe.E9.parse).makeTwoWay(Fe.E9.stringify),ze(Fe.s_,"Auto",{name:"BODY"},ze(Fe.bn,{parameter1:10,fill:Wt.white,strokeWidth:2,cursor:"pointer",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:Fe.z6.AllSides,toSpot:Fe.z6.AllSides},new Fe.KX("fill"),new Fe.KX("stroke","color"),new Fe.KX("strokeWidth","thickness"),new Fe.KX("strokeDashArray","dash")),ze(Fe.Vm,{background:"transparent",margin:20})),ze(Fe.al,{alignment:Fe.z6.Top,alignmentFocus:Fe.z6.Bottom,font:"bold 12pt sans-serif",editable:!0},new Fe.KX("text"),new Fe.KX("stroke","color"))),dt.current.groupTemplate.selectionAdornmentTemplate=ze(Fe.uz,"Spot",ze(Fe.s_,"Auto",ze(Fe.bn,{fill:null,stroke:"dodgerblue",strokeWidth:3}),ze(Fe.Vm,{margin:1.5})),un({alignment:Fe.z6.TopRight,alignmentFocus:Fe.z6.BottomRight})),dt.current.groupTemplate.contextMenu=ze("ContextMenu",st(),vt(),Mt()),dt.current.linkTemplate=ze(Fe.rU,{layerName:"Foreground",routing:Fe.rU.AvoidsNodes,corner:10,fromShortLength:10,toShortLength:15,relinkableFrom:!0,relinkableTo:!0,reshapable:!0,resegmentable:!0},new Fe.KX("fromSpot","fromSpot",Fe.z6.parse),new Fe.KX("toSpot","toSpot",Fe.z6.parse),new Fe.KX("fromShortLength","dir",Ve=>Ve>=1?10:0),new Fe.KX("toShortLength","dir",Ve=>Ve>=1?10:0),new Fe.KX("points").makeTwoWay(),ze(Fe.bn,{strokeWidth:2},new Fe.KX("stroke","color"),new Fe.KX("strokeWidth","thickness"),new Fe.KX("strokeDashArray","dash")),ze(Fe.bn,{segmentIndex:0,segmentOffset:new Fe.E9(15,0),segmentOrientation:Fe.rU.OrientAlong,alignmentFocus:Fe.z6.Right,figure:"circle",width:10,strokeWidth:0},new Fe.KX("fill","color"),new Fe.KX("visible","dir",Ve=>Ve===1)),ze(Fe.bn,{segmentIndex:-1,segmentOffset:new Fe.E9(-10,6),segmentOrientation:Fe.rU.OrientPlus90,alignmentFocus:Fe.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new Fe.KX("fill","color"),new Fe.KX("visible","dir",Ve=>Ve>=1),new Fe.KX("width","thickness",Ve=>7+3*Ve),new Fe.KX("height","thickness",Ve=>7+3*Ve),new Fe.KX("segmentOffset","thickness",Ve=>new Fe.E9(-15,4+1.5*Ve))),ze(Fe.bn,{segmentIndex:0,segmentOffset:new Fe.E9(15,-6),segmentOrientation:Fe.rU.OrientMinus90,alignmentFocus:Fe.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new Fe.KX("fill","color"),new Fe.KX("visible","dir",Ve=>Ve===2),new Fe.KX("width","thickness",Ve=>7+3*Ve),new Fe.KX("height","thickness",Ve=>7+3*Ve),new Fe.KX("segmentOffset","thickness",Ve=>new Fe.E9(-15,4+1.5*Ve))),ze(Fe.al,{alignmentFocus:new Fe.z6(0,1,-4,0),editable:!0},new Fe.KX("text").makeTwoWay(),new Fe.KX("stroke","color"))),dt.current.linkTemplate.selectionAdornmentTemplate=ze(Fe.uz,ze(Fe.bn,{isPanelMain:!0,stroke:"transparent",strokeWidth:6,pathPattern:Bt(2)},new Fe.KX("pathPattern","thickness",Bt)),un({alignmentFocus:new Fe.z6(0,0,-6,-4)}));function Bt(Ve){return ze(Fe.bn,{stroke:"dodgerblue",strokeWidth:2,strokeCap:"square",geometryString:"M0 0 M4 2 H3 M4 "+(Ve+4).toString()+" H3"})}function Pn(Ve){var zt="M0 0 M8 16 M0 8 L16 8 M12 11 L16 8 L12 5";return Ve===0?zt="M0 0 M16 16 M0 8 L16 8":Ve===2&&(zt="M0 0 M16 16 M0 8 L16 8 M12 11 L16 8 L12 5 M4 11 L0 8 L4 5"),ze(Fe.bn,{geometryString:zt,margin:2,background:"transparent",mouseEnter:(ln,_t)=>_t.background="dodgerblue",mouseLeave:(ln,_t)=>_t.background="transparent",click:vn("dir",Ve),contextClick:vn("dir",Ve)})}function Rn(Ve){var zt=(ln,_t)=>{ln.handled=!0,ln.diagram.model.commit(Sn=>{var sn=_t.part.adornedPart;Sn.set(sn.data,Ve?"toSpot":"fromSpot",Fe.z6.stringify(Fe.z6.AllSides)),(Ve?sn.toNode:sn.fromNode).invalidateConnectedLinks()})};return ze(Fe.bn,{width:12,height:12,fill:"transparent",mouseEnter:(ln,_t)=>_t.background="dodgerblue",mouseLeave:(ln,_t)=>_t.background="transparent",click:zt,contextClick:zt})}function pt(Ve,zt){var ln=0,_t=Fe.z6.RightSide;Ve.equals(Fe.z6.Top)?(ln=270,_t=Fe.z6.TopSide):Ve.equals(Fe.z6.Left)?(ln=180,_t=Fe.z6.LeftSide):Ve.equals(Fe.z6.Bottom)&&(ln=90,_t=Fe.z6.BottomSide),zt||(ln-=180);var Sn=(sn,Kt)=>{sn.handled=!0,sn.diagram.model.commit(tn=>{var zn=Kt.part.adornedPart;tn.set(zn.data,zt?"toSpot":"fromSpot",Fe.z6.stringify(_t)),(zt?zn.toNode:zn.fromNode).invalidateConnectedLinks()})};return ze(Fe.bn,{alignment:Ve,alignmentFocus:Ve.opposite(),geometryString:"M0 0 M12 12 M12 6 L1 6 L4 4 M1 6 L4 8",angle:ln,background:"transparent",mouseEnter:(sn,Kt)=>Kt.background="dodgerblue",mouseLeave:(sn,Kt)=>Kt.background="transparent",click:Sn,contextClick:Sn})}dt.current.linkTemplate.contextMenu=ze("ContextMenu",vt(),Mt(),ze("ContextMenuButton",ze(Fe.s_,"Horizontal",Pn(0),Pn(1),Pn(2))),ze("ContextMenuButton",ze(Fe.s_,"Horizontal",ze(Fe.s_,"Spot",Rn(!1),pt(Fe.z6.Top,!1),pt(Fe.z6.Left,!1),pt(Fe.z6.Right,!1),pt(Fe.z6.Bottom,!1)),ze(Fe.s_,"Spot",{margin:new Fe.Zt(0,0,0,2)},Rn(!0),pt(Fe.z6.Top,!0),pt(Fe.z6.Left,!0),pt(Fe.z6.Right,!0),pt(Fe.z6.Bottom,!0)))));const Nn=`{ "class": "GraphLinksModel", + "nodeDataArray": [ +{"text":"Find Problem","key":-9,"loc":"-20 -140","color":"#3358ff","fill":"white","figure":"Procedure","thickness":3}, +{"text":"What do we want?","key":-10,"loc":"-65 -324.305","group":-16,"figure":"Ellipse","fill":"white"}, +{"text":"What do our users want?","key":-11,"loc":"105 -334.305","group":-20,"figure":"Ellipse","fill":"#ffffff","color":"black"}, +{"text":"Meetings","key":-12,"loc":"-65 -444.305","group":-16,"figure":"TriangleDown","fill":"#ffffff"}, +{"text":"Reviews","key":-13,"loc":"105 -454.305","group":-20,"figure":"TriangleDown","fill":"#ffffff","color":"black"}, +{"text":"Can we solve it?","key":-14,"loc":"190 -140","color":"#7d33ff","fill":"#ffffff","figure":"Diamond","size":"140 80","thickness":3}, +{"isGroup":true,"text":"Internal","key":-16,"loc":"-65 -384.305","fill":"#d5ebff","dash":null,"thickness":1,"group":-22}, +{"isGroup":true,"text":"External","key":-20,"loc":"105 -394.305","fill":"#d5ebff","dash":null,"thickness":1,"group":-22}, +{"isGroup":true,"text":"Sources","key":-22,"loc":"20 -400","fill":"#a5d2fa","dash":[4,4],"color":"#3358ff"} +], + "linkDataArray": [ +{"from":-12,"to":-10,"points":[-65,-414.305,-65,-404.305,-65,-384.305,-65,-384.305,-65,-364.305,-65,-354.305],"dash":null,"dir":1}, +{"from":-13,"to":-11,"points":[105,-424.305,105,-414.305,105,-394.305,105,-394.305,105,-374.305,105,-364.305],"dash":null,"color":"#000000","dir":1}, +{"from":-10,"to":-9,"points":[-65,-294.305,-65,-284.305,-65,-232.1525,-40,-232.1525,-40,-180,-40,-170],"dir":2,"dash":[4,4]}, +{"from":-11,"to":-9,"points":[105,-304.305,105,-294.305,105,-237.1525,0,-237.1525,0,-180,0,-170],"dash":[4,4],"dir":2}, +{"from":-9,"to":-14,"points":[40,-150,58,-150,80,-150,80,-153.33333333333331,102,-153.33333333333331,120,-153.33333333333331],"dir":1,"color":"#3358ff"}, +{"from":-14,"to":-9,"points":[190,-100,190,-90,-20,-90,-20,-95,-20,-100,-20,-110],"fromSpot":"BottomSide","toSpot":"BottomSide","text":"No","color":"#ff3333","thickness":2,"dir":1}, +{"from":-9,"to":-14,"points":[40,-130,58,-130,80,-130,80,-126.66666666666666,102,-126.66666666666666,120,-126.66666666666666]} +]}`;var On=["Rectangle","Square","RoundedRectangle","Border","Ellipse","Circle","TriangleRight","TriangleDown","TriangleLeft","TriangleUp","Triangle","Diamond","LineH","LineV","None","BarH","BarV","MinusLine","PlusLine","XLine","LineRight","LineDown","LineLeft","LineUp"];function ut(Ve){return console.log("shapeName:",Ve),On.indexOf(Ve)>=0}var Lt=new Fe.YI(Mn.current,{maxSelectionCount:1,linkTemplate:ze(Fe.rU,{locationSpot:Fe.z6.Center,selectionAdornmentTemplate:ze(Fe.uz,"Link",{locationSpot:Fe.z6.Center},ze(Fe.bn,{isPanelMain:!0,fill:null,stroke:"deepskyblue",strokeWidth:0}),ze(Fe.bn,{toArrow:"Standard",stroke:null}))},{routing:Fe.rU.AvoidsNodes,curve:Fe.rU.JumpOver,corner:5,toShortLength:4},new Fe.KX("points"),ze(Fe.bn,{isPanelMain:!0,strokeWidth:2}),ze(Fe.bn,{toArrow:"Standard",stroke:null})),model:new Fe.FJ([{text:"\u672A\u547D\u540D",size:"100 100",fill:null,stroke:"#000"},...Fe.bn.getFigureGenerators().toArray().map(Ve=>({text:"\u672A\u547D\u540D",size:"100 100",figure:Ve.key,fill:"white",stroke:"#666",borderColor:"#000"}))])});return dt.current.addDiagramListener("TextEdited",function(Ve){var zt;const ln=Ve.subject.part;var _t=(zt=document.activeElement)==null?void 0:zt.value;typeof _t=="string"&&_t.trim()===""&&dt.current.model.commit(function(Sn){Sn.set(ln.data,"text","\u672A\u547D\u540D"),dt.current.commandHandler.stopCommand()},"increment")}),Lt.nodeTemplate=ze(Fe.NB,"Auto",{locationSpot:Fe.z6.Center},new Fe.KX("location","location",Fe.E9.parse).makeTwoWay(Fe.E9.stringify),ze(Fe.bn,"Circle",{fill:"white",stroke:"gray",strokeWidth:2,width:20,height:20,portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromLinkableSelfNode:!0,toLinkableSelfNode:!0},new Fe.KX("stroke").makeTwoWay(),new Fe.KX("fill").makeTwoWay(),new Fe.KX("figure")),ze(Fe.al,{margin:new Fe.Zt(5,5,3,5),font:"10pt sans-serif",minSize:new Fe.$u(16,16),maxSize:new Fe.$u(10,NaN),textAlign:"center",editable:!0},new Fe.KX("key").makeTwoWay())),setTimeout(()=>{dt.current.grid=ze(Fe.s_,"Grid",ze(Fe.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),ze(Fe.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),dt.current.grid.visible=!0,dt.current.grid.gridCellStroke="darkgray",dt.current.grid.gridCellStrokeWidth=1},300),window.myDiagrams=dt.current,dt.current}const Gt=()=>me(this,null,function*(){var ze=dt.current.makeImage();const Wt=yield(0,Ue.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Date.now(),file:ze.src}});St({src:Wt.url})});return(0,ne.useEffect)(()=>(setTimeout(()=>{ga()},500),Yn(ea+1),()=>{dt.current=null}),[]),we.createElement("div",{ref:xa,className:Dn.current?`${je.maxH60} body-overflow-initial`:"body-overflow-initial"},we.createElement(lt.default,{width:1200,icon:null,footer:null,closable:!0,visible:!!ea,destroyOnClose:!0,maskClosable:!1,rootClassName:"zIndex-9999",title:we.createElement(Ht.Z,null,we.createElement(Jt.Z,{flex:1},"\u63D2\u5165\u6D41\u7A0B\u56FE"),we.createElement(Jt.Z,{onClick:()=>{var ze,Wt,fn=dt.current.selection.first();if(Dn.current=!Dn.current,document.activeElement&&fn){let un=(Wt=(ze=document.activeElement)==null?void 0:ze.value)==null?void 0:Wt.trim();typeof un=="string"&&dt.current.model.commit(function(vn){vn.set(fn.data,"text",un||"\u672A\u547D\u540D"),dt.current.commandHandler.stopCommand()},"increment")}Yn(ea+1)}},we.createElement("span",{className:"current c-blue mr30",style:{fontWeight:400}},"\u5C55\u5F00/\u6536\u8D77"))),onCancel:gt},we.createElement("div",{style:{width:"100%",height:"80vh",overflow:"hidden",position:"relative"},className:je.flowChartWrp},we.createElement("div",{style:{display:"flex",height:"100%"}},we.createElement("div",{style:{width:"300px",height:"100%"}},we.createElement("div",{style:{background:"#fff",position:"relative",zIndex:12,fontSize:16,color:"#3061d0"}},"\u56FE\u5F62\u5E93"),we.createElement("div",{style:{height:"calc(100% - 50px)"},className:je.myPaletteDiv,ref:Mn})),we.createElement("div",{style:{flex:1,position:"relative"}},we.createElement("div",{ref:gn,style:{height:"80vh"}}))),we.createElement("div",{className:"tr"},we.createElement(ve.ZP,{size:"large",onClick:Gt,style:{position:"absolute",right:0,bottom:0,zIndex:8},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))))}var yt=Re,ye=oe(5112),he=oe(5871);const Be=ye.ZP.Group,Ne={margin:"0 8px"};var Ee=({callback:gt,onCancel:St})=>{function dt(gn){gt(gn)}return ne.createElement(Ae.default,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:dt},ne.createElement("div",{className:"flex-container",style:{alignItems:"baseline"}},ne.createElement("span",{style:Ne},"\u5355\u5143\u683C\u6570\uFF1A"),ne.createElement("span",{style:Ne},"\u884C\u6570"),ne.createElement(Ae.default.Item,{name:"row",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u884C\u6570"}]},ne.createElement(he.Z,null)),ne.createElement("span",{style:Ne},"\u5217\u6570"),ne.createElement(Ae.default.Item,{name:"col",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5217\u6570"}]},ne.createElement(he.Z,null))),ne.createElement("div",{className:"flex-container",style:{marginTop:12,alignItems:"baseline"}},ne.createElement("span",{style:Ne},"\u5BF9\u9F50\u65B9\u5F0F\uFF1A"),ne.createElement(Ae.default.Item,{name:"align"},ne.createElement(Be,null,ne.createElement(ye.ZP,{value:"default"},ne.createElement("i",{className:"fa fa-align-justify"})),ne.createElement(ye.ZP,{value:"left"},ne.createElement("i",{className:"fa fa-align-left"})),ne.createElement(ye.ZP,{value:"center"},ne.createElement("i",{className:"fa fa-align-center"})),ne.createElement(ye.ZP,{value:"right"},ne.createElement("i",{className:"fa fa-align-right"}))))),ne.createElement("div",{className:"flex-container flex-end"},ne.createElement(ve.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),ne.createElement(ve.ZP,{type:"ghost",onClick:St},"\u53D6\u6D88")))},Me=oe(78673),bt=oe(80727),Ct=oe.n(bt),It=(0,ne.forwardRef)(({use3d:gt,width:St,height:dt,callback:gn,showSaveButton:Mn},Dn)=>{const xa=(0,ne.useRef)(),ea=(0,ne.useRef)(),[Yn,ga]=(0,ne.useState)(!1),Gt=(0,ne.useRef)({id:xa,appName:"graphing",width:St||1e3,height:dt||600,showToolBar:!0,showMenuBar:!0,allowStyleBar:!0,showAlgebraInput:!0,enableLabelDrags:!1,enableShiftDragZoom:!0,showToolBarHelp:!1,errorDialogsActive:!0,showTutorialLink:!0,showLogging:!0,useBrowserForJS:!1});(0,ne.useEffect)(()=>{ea.current=new(Ct())(Gt.current,!0),window.onload=function(){ea.current.inject("applet_container")}},[]);const ze=()=>{var Wt=window.ggbApplet.getPNGBase64(1,!0,72);return gn&&gn(Wt),Wt};return(0,ne.useEffect)(()=>{Gt.current.appName=Yn?"3D":"graphing",ea.current.inject("applet_container")},[Yn]),(0,ne.useEffect)(()=>{ga(gt)},[gt]),(0,ne.useImperativeHandle)(Dn,()=>({getImgData:ze})),ne.createElement(ne.Fragment,null,ne.createElement("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:xa}),ne.createElement(Ht.Z,{align:"middle"},ne.createElement(Jt.Z,{flex:1},ne.createElement(Me.Z,{size:"default",checkedChildren:"\u5173\u95ED3D\u56FE\u50CF",unCheckedChildren:"\u5F00\u542F3D\u56FE\u50CF",checked:Yn,onChange:Wt=>ga(Wt)})),ne.createElement(Jt.Z,null,ne.createElement(ve.ZP,{size:"large",onClick:ze,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"))))}),Dt=oe(41588),xe=oe(1012),tt=oe(8591);const at="link",it="upload-image",ft="add-flowchart",en="draw-image",dn="add-flowchart",on="code-block",mn="add-table",In="------------",Ln={default:In,left:`:${In}`,center:`:${In}:`,right:`${In}:`};var Tn=oe(58856),_n=(gt,St,dt)=>new Promise((gn,Mn)=>{var Dn=Yn=>{try{ea(dt.next(Yn))}catch(ga){Mn(ga)}},xa=Yn=>{try{ea(dt.throw(Yn))}catch(ga){Mn(ga)}},ea=Yn=>Yn.done?gn(Yn.value):Promise.resolve(Yn.value).then(Dn,xa);ea((dt=dt.apply(gt,St)).next())});function ta(){}let Fn=0;const ra=1e4,wn="\u2581",Kn="@\u2581\u2581@",oa="@\u2581@",Ia=` +**\u6A21\u677F\u6807\u9898** +\u6A21\u677F\u6B63\u6587\u5185\u5BB9\uFF0C\u53EF\u8F93\u5165\u6587\u672C\u5185\u5BB9\u548C\u7C98\u8D34\u56FE\u7247\u7B49\u64CD\u4F5C`,ba=["pptm","pptx","ppt","pot","pps","ppa","potx","ppsx","ppam","pptm","potm","ppsm","doc","docx","dot","dotx","docm","dotm","xls","xlsx","csv","xlt","xla","xltx","xlsm","xltm","xlam","xlsb"];function za(gt){return/^\d+$/.test(gt)?`${gt}px`:gt}const Oa=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",pa={[Oa+"-B"]:"bold",[Oa+"-I"]:"italic"},Sa={[at]:"\u6DFB\u52A0\u94FE\u63A5",[on]:"\u6DFB\u52A0\u4EE3\u7801\u5757",[it]:"\u6DFB\u52A0\u56FE\u7247",[en]:"\u6DFB\u52A0\u753B\u56FE",[ft]:"\u63D2\u5165\u6D41\u7A0B\u56FE",[mn]:"\u6DFB\u52A0\u8868\u683C","maths-latex":"\u6570\u5B66\u56FE\u50CF","inline-latex":"LATEX\u516C\u5F0F"};var Wa=({defaultValue:gt="",onChange:St,width:dt="100%",height:gn=400,miniToolbar:Mn=!1,isFocus:Dn=!1,watch:xa,insertTemp:ea,mode:Yn="markdown",id:ga="markdown-editor-id",showResizeBar:Gt=!1,noStorage:ze=!1,showNullButton:Wt=!1,showNullProgramButton:fn=!1,hidetoolBar:un=!1,fullScreen:vn=!1,onBlur:Ce,onCMBeforeChange:st,onFullScreen:vt,className:At="",disablePaste:Vt=!1,disabled:Mt=!1,disabledFill:jt=!1,placeholder:Bt="",values:Pn="",extraUse:Rn})=>{const[pt,Nn]=(0,ne.useState)(null),[On,ut]=(0,ne.useState)(gt),[Lt,Ve]=(0,ne.useState)(xa),[zt,ln]=(0,ne.useState)(vn),[_t,Sn]=(0,ne.useState)(""),[sn,Kt]=(0,ne.useState)(0),[tn,zn]=(0,ne.useState)(gn),[Bn,La]=(0,ne.useState)(!1),Un=(0,ne.useRef)((0,xe.Z)()),Fa=(0,ne.useRef)(!1),pn=(0,ne.useRef)(),[wa,Ea]=(0,ne.useState)(0),[Ca,Xt]=(0,ne.useState)(0),na=(0,ne.useRef)(),ia=(0,ne.useRef)(),ca=(0,ne.useRef)(),la=(0,ne.useRef)(),Aa=()=>_n(void 0,null,function*(){var bn;const cn=yield Fetch("/api/attachments/distinct_hash_val.json",{method:"post",body:{hash_val:Un.current}});(bn=cn==null?void 0:cn.attachments)!=null&&bn.length&&(console.log("cm:",pt,na),cn.attachments.map(Cn=>{Cn.content_type.indexOf("image")>-1?pt.replaceSelection(`![,](/api/attachments/${Cn.id}?type=${Cn.content_type})`):Cn.content_type.indexOf("video")>-1?pt.replaceSelection(``):Cn.content_type.indexOf("pdf")>-1?pt.replaceSelection(`${Cn.name}`):pt.replaceSelection(`[${Cn.name}](${ENV.API_SERVER}/api/attachments/${Cn.id}?type=${Cn.content_type})`)}))});(0,ne.useEffect)(()=>{const bn=window.scrollY||window.pageYOffset;ut(Pn),pt==null||pt.setValue(Pn),window.scrollTo(0,bn)},[Pn]),(0,ne.useEffect)(()=>{vt==null||vt(zt)},[zt]),(0,ne.useEffect)(()=>{if(na.current){let bn=function(Cn,xn){var ma;if(Vt){xn.preventDefault();return}const xt=xn.clipboardData;if(xt){const Jn=xt.types.toString(),Qn=xt.items;if(Jn==="Files"||xt.types.indexOf("Files")>-1){if(xn.preventDefault(),Yn=="stex")return;try{let fa=Qn[1];((ma=Qn[0])==null?void 0:ma.kind)==="file"&&(fa=Qn[0]);const aa=fa.getAsFile(),Ma=aa.name.split(".").pop();(0,Ze.I)(aa,ha=>{var jn,Et,Ra;ha.id?((jn=aa==null?void 0:aa.type)==null?void 0:jn.indexOf("image"))>-1?cn.replaceSelection(``):((Et=aa==null?void 0:aa.type)==null?void 0:Et.indexOf("video"))>-1?cn.replaceSelection(``):((Ra=aa==null?void 0:aa.type)==null?void 0:Ra.indexOf("pdf"))>-1?cn.replaceSelection(`${aa.name}`):ba.includes(Ma)?cn.replaceSelection(`${aa.name}`):cn.replaceSelection(`[${aa.name}](/api/attachments/${ha.id}?type=${ha.content_type})`):(ha==null?void 0:ha.status)===401&&(tt.ZP.warning((ha==null?void 0:ha.message)||"\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),document.location.href="/user/login")})}catch(fa){tt.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};const cn=Ye().fromTextArea(na.current,{mode:Yn,lineNumbers:!Mn,lineWrapping:!0,value:gt,autoCloseTags:!fn,autoCloseBrackets:!0});return cn.on("keyup",function(Cn,xn){xn.keyCode===8&&(Cn.getValue()==""?cn.setOption("placeholder",Bt):cn.setOption("placeholder",null))}),cn.on("keydown",function(Cn,xn){if(xn.keyCode===8){var ma=Hn(Cn);ma&&xn.preventDefault()}}),Dn&&cn.focus(),cn.on("paste",bn),cn.on("dragleave",function(Cn,xn){ia.current.classList.remove("mouse-hover-md")}),Mt&&cn.on("beforeChange",function(Cn,xn){(xn.origin==="paste"||xn.origin==="+input")&&xn.cancel()}),Nn(cn),()=>{cn.off("paste",bn)}}},[]);const ka=(0,ne.useCallback)(()=>{if(ia.current)try{}catch(bn){console.log(bn,"---- to set md editor body height")}},[tn,ia,zt]);(0,ne.useEffect)(()=>{function bn(){let cn=new Oe.Z(Cn=>{for(let xn of Cn)(xn.target.offsetHeight>0||xn.target.offsetWidth>0)&&(ka(),pt.setSize("100%","100%"),pt.refresh())});return cn.observe(na.current.parentElement),cn}if(pt){const cn=bn();return()=>{var Cn,xn;(Cn=na.current)!=null&&Cn.parentElement&&cn.unobserve((xn=na.current)==null?void 0:xn.parentElement)}}},[pt,ka]),(0,ne.useEffect)(()=>{if(pt){let bn=[];for(const[cn,Cn]of Object.entries(pa)){let xn={[cn]:()=>{kn(Cn)}};bn.push(xn),pt.addKeyMap(xn)}return pn.current=setInterval(()=>{Fa.current&&Aa()},4e3),()=>{clearInterval(pn.current);for(let cn of bn)pt.removeKeyMap(cn)}}},[pt]),(0,ne.useEffect)(()=>{vn!==zt&&ln(vn)},[vn]),(0,Tn.Z)(()=>{if(!ze&&sn>0){let bn=new Date().getTime(),cn=window.sessionStorage.getItem(ga);bn>=sn+ra&&(!cn||cn!==On)&&(window.sessionStorage.setItem(ga,On),La(!0))}},ra),(0,ne.useEffect)(()=>{Ve(xa)},[pt,xa]),(0,ne.useEffect)(()=>{pt&&Dn&&pt.focus()},[pt,Dn]),(0,ne.useEffect)(()=>{if(Lt&&pt){let bn=function(Cn){let xn=Cn.target;if(la.current){let ma=xn.scrollTop/xn.scrollHeight;la.current.scrollTop=la.current.scrollHeight*ma}};const cn=pt.getScrollerElement();return cn.addEventListener("scroll",bn),()=>{cn.removeEventListener("scroll",bn)}}},[pt,Lt]),(0,ne.useEffect)(()=>{if(pt&&st){let bn=function(cn,Cn){st(cn,Cn)};return pt.on("beforeChange",bn),()=>{pt.off("beforeChange",bn)}}},[pt,st]),(0,ne.useEffect)(()=>{if(pt&&Ce){let bn=function(){Ce(pt.getValue())};return pt.on("blur",bn),()=>{pt.off("blur",bn)}}},[pt,Ce]);function Hn(bn,cn){var Cn=bn.getDoc(),xn=Cn.getCursor(),ma=Cn.getLine(xn.line),xt=ma.charAt(xn.ch-1),Jn=ma.lastIndexOf("@\u2581@",xn.ch),Qn=ma.lastIndexOf("@\u2581\u2581@",xn.ch),fa=Jn>Qn?Jn:Qn,aa=Jn>Qn?3:4;if(Kn.indexOf(xt)===-1)return null;if(console.log("change1:",cn,bn,ma,xn,fa,Jn,Qn,xt),fa>=0&&xn.ch-fa<5){var Ma=fa+aa;return Cn.replaceRange("",{line:xn.line,ch:fa},{line:xn.line,ch:Ma}),{line:xn.line,ch:Ma}}return null}(0,ne.useEffect)(()=>{if(pt){let bn=function(cn,Cn){const xn=cn.getValue();ut(xn),Kt(new Date().getTime()),cn.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),St&&(fn?St(xn,Pa(xn)):St(xn))};return pt.on("change",bn),()=>{pt.off("change",bn)}}},[pt,St]),(0,ne.useEffect)(()=>{if(pt)if(gt==null)pt.setValue(""),ut("");else{const bn=window.scrollY||window.pageYOffset;gt!==pt.getValue()&&(pt.setValue(gt),ut(gt),pt.setCursor(Mt?1:pt.lineCount(),0),window.scrollTo(0,bn))}},[pt,gt]);const kn=(0,ne.useCallback)(bn=>{const cn=pt.getCursor(),Cn=pt.getSelection();let xn=Cn.split(` +`);switch(bn){case"bold":return pt.replaceSelection("**"+Cn+"**"),Cn===""&&pt.setCursor(cn.line,cn.ch+2),pt.focus();case"italic":return pt.replaceSelection("*"+Cn+"*"),Cn===""&&pt.setCursor(cn.line,cn.ch+1),pt.focus();case"code":return pt.replaceSelection("`"+Cn+"`"),Cn===""&&pt.setCursor(cn.line,cn.ch+1),pt.focus();case"inline-latex":return Sn("inline-latex"),pt.focus();case"latex":return pt.replaceSelection("```latex\n"+Cn+"\n```"),pt.setCursor(cn.line+1,Cn.length+1),pt.focus();case"line-break":return pt.replaceSelection(`
+`),pt.focus();case"list-ul":return Cn===""?pt.replaceSelection("- "+Cn):pt.replaceSelection(xn.map(ma=>ma===""?"":`- ${ma}`).join(` +`)),pt.focus();case"list-ol":return Cn===""?pt.replaceSelection("1. "+Cn):pt.replaceSelection(xn.map((ma,xt)=>ma===""?"":`${xt+1}. ${ma}`).join(` +`)),pt.focus();case"add-null-ch":return Cn===""&&pt.setCursor(cn.line,cn.ch),pt.replaceSelection(wn),pt.focus();case"add-signal":return Cn===""&&pt.setCursor(cn.line,cn.ch),pt.replaceSelection(oa),pt.focus();case"add-multiple":return Cn===""&&pt.setCursor(cn.line,cn.ch),pt.replaceSelection(Kn),pt.focus();case"inster-template-1":return Cn===""&&pt.setCursor(cn.line,cn.ch),pt.replaceSelection(Ia),pt.focus();case"eraser":return pt.setValue(""),pt.focus();case"trigger-watch":return Ve(!Lt),pt.focus();case"trigger-full-screen":return ln(!zt),pt.focus();case at:Sn(at);return;case on:Sn(on);return;case it:Sn(it);return;case en:Sn(en);return;case"maths-latex":Sn("maths-latex");return;case ft:Sn(ft);return;case mn:Sn(mn);return;default:throw new Error}},[pt,Lt,zt]),Da=(0,ne.useCallback)((bn,cn)=>{var Cn,xn,ma,xt,Jn,Qn;switch(Sn(""),_t){case at:const{title:jn,link:Et}=bn;return pt.replaceSelection(`[${jn}](${Et})`),pt.focus();case on:const{language:Ra,content:$n}=bn;return pt.replaceSelection(["```"+Ra,$n,"```"].join(` +`)),pt.focus();case"maths-latex":for(var fa=atob(bn),aa=new Uint8Array(fa.length),Ma=0;Ma{rr.id?pt.replaceSelection(`![,](/api/attachments/${rr.id}?type=${rr.content_type})`):(rr==null?void 0:rr.status)===401&&(document.location.href="/user/login")});break;case"inline-latex":pt.replaceSelection("`$$"+bn+"$$`");break;case it:case en:case dn:const{src:Gn,alt:Wn}=bn,Vn=cn,Ja=(ma=(xn=(Cn=Vn==null?void 0:Vn.name)==null?void 0:Cn.split("."))==null?void 0:xn.pop)==null?void 0:ma.call(xn);return((xt=Vn==null?void 0:Vn.type)==null?void 0:xt.indexOf("image"))>-1||!(Vn!=null&&Vn.type)?Vn.align||Vn.width?pt.replaceSelection(`

${Wn||

`):pt.replaceSelection(`${Wn||`):((Jn=Vn==null?void 0:Vn.type)==null?void 0:Jn.indexOf("video"))>-1?pt.replaceSelection(``):((Qn=Vn==null?void 0:Vn.type)==null?void 0:Qn.indexOf("pdf"))>-1?pt.replaceSelection(`${Vn.name}`):ba.includes(Ja)?pt.replaceSelection(`${Vn.name}`):pt.replaceSelection(`[${Vn.name}](${Gn})`),pt.focus();case mn:const{row:Xa,col:qa,align:sr}=bn;let dr=` +`;for(let rr=0;rr{switch(_t){case at:return ne.createElement(mt,{callback:Da,onCancel:Ga});case on:return ne.createElement(Qt.Z,{callback:Da,onCancel:Ga});case it:return ne.createElement(Ze.Z,{callback:Da,onCancel:Ga});case ft:return ne.createElement(yt,{callback:Da,onCancel:Ga});case mn:return ne.createElement(Ee,{callback:Da,onCancel:Ga});case"maths-latex":return ne.createElement(It,{showSaveButton:!0,callback:Da});case"inline-latex":return ne.createElement(Dt.Z,{showSaveButton:!0,callback:Da});default:return null}},[_t]);function Ga(){Sn("")}(0,ne.useEffect)(()=>{if(ca.current){let bn=function(Jn){ma=!0,xt=Jn.pageY},cn=function(){ma=!1},Cn=function(Jn){if(ma){let Qn=Jn.pageY-xt;Qn<0&&(Qn=0),Qn>300&&(Qn=300);let fa=gn+Qn+"px";zn(fa)}},xn=ca.current,ma=!1,xt=0;return xn.addEventListener("mousedown",bn),document.addEventListener("mousemove",Cn),document.addEventListener("mouseup",cn),()=>{xn.removeEventListener("mousedown",bn),document.removeEventListener("mousemove",Cn),document.removeEventListener("mouseup",cn)}}},[pt,ca]),(0,ne.useEffect)(()=>{zn(gn)},[gn]);const Va=za(dt),Za=za(tn),_a={width:Va,height:Za},ua=(0,ne.useMemo)(()=>{if(sn){let bn=new Date(sn),cn=bn.getHours(),Cn=bn.getMinutes(),xn=bn.getSeconds();return cn=cn<10?"0"+cn:cn,Cn=Cn<10?"0"+Cn:Cn,xn=xn<10?"0"+xn:xn,`${cn}:${Cn}:${xn}`}return 0},[sn]),Pa=bn=>{const cn=[];if(fn){let Cn=-1;bn=bn.replace(/(@▁▁@|@▁@)/g,function(xn,ma,xt){cn.push({multiLine:xn!==oa})})}return cn};function ya(){window.sessionStorage.removeItem(ga),La(!1),Kt(0)}function $a(){La(!1),Kt(0),pt.setValue(window.sessionStorage.getItem(ga))}(0,ne.useEffect)(()=>{Sa[_t]&&_t!==en&&_t!==ft&&setTimeout(()=>{const bn=document.getElementsByClassName("markdown-popup-form")[0],cn=window.innerWidth/2-bn.offsetWidth/2,Cn=window.innerHeight/2-bn.offsetHeight/2;Ea(cn),Xt(Cn)},0)},[_t]);const Ya=bn=>{bn.preventDefault();const cn=bn.clientX-wa,Cn=bn.clientY-Ca;document.body.onmousemove=xn=>{let ma=xn.clientX-cn,xt=xn.clientY-Cn;const Jn=document.getElementsByClassName("markdown-popup-form")[0],Qn=window.innerWidth-Jn.offsetWidth,fa=window.innerHeight-Jn.offsetHeight;ma=Math.max(0,Math.min(ma,Qn)),xt=Math.max(0,Math.min(xt,fa)),va(xn.clientX,xn.clientY,cn,Cn)&&(Ea(ma),Xt(xt))},document.body.onmouseup=function(){document.body.onmousemove=null}},va=(bn,cn,Cn,xn)=>{const ma=document.body.clientHeight,xt=document.body.clientWidth;return bn<20&&Cn>bn||bn>xt-20&&Cncn||cn>ma-20&&xnIe in Ae?_e(Ae,Ie,{enumerable:!0,configurable:!0,writable:!0,value:ve}):Ae[Ie]=ve,x=(Ae,Ie)=>{for(var ve in Ie||(Ie={}))a.call(Ie,ve)&&b(Ae,ve,Ie[ve]);if(y)for(var ve of y(Ie))E.call(Ie,ve)&&b(Ae,ve,Ie[ve]);return Ae},te=(Ae,Ie)=>Ke(Ae,se(Ie));const{useForm:ae}=ne.default,ie={width:280,marginRight:10},ce={labelCol:{span:5},wrapperCol:{span:19}};var ge=({callback:Ae,onCancel:Ie})=>{const[ve]=ae();let Xe=(0,Qe.useRef)();function Rt(ct){Xe.current.width=ve.getFieldValue("width"),Xe.current.align=ve.getFieldValue("align"),Ae(ct,Xe.current)}function Yt(ct,Zt){if(ct.status===-1){Pe.ZP.error(ct.message);return}ve.setFieldsValue({src:`/api/attachments/${ct.id}`,type:Zt.type})}function qe(ct){let Zt=ct.target.files[0];Xe.current=Zt,Le(Zt,Yt)}return ot.createElement(ne.default,te(x({form:ve},ce),{className:"upload-image-panel",onFinish:Rt,style:{width:470,overflow:"hidden"}}),ot.createElement(ne.default.Item,{label:"\u56FE\u7247\u5730\u5740",required:!0},ot.createElement("div",{className:"flex-container"},ot.createElement(ne.default.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5730\u5740"}]},ot.createElement(Ye.default,{style:ie})),ot.createElement(fe,{onFileChange:qe}))),ot.createElement(ne.default.Item,{label:"\u56FE\u7247\u63CF\u8FF0",name:"alt"},ot.createElement(Ye.default,{style:{width:264}})),ot.createElement(ne.default.Item,{label:"\u56FE\u7247\u5BBD\u5EA6",name:"width"},ot.createElement(Oe.Z,null,ot.createElement(ne.default.Item,{name:"width",style:{margin:0}},ot.createElement(De.Z,{style:{width:264}})),ot.createElement("span",{className:"ml8"},"%"))),ot.createElement(ne.default.Item,{label:"\u5BF9\u9F50\u65B9\u5F0F",name:"align"},ot.createElement(ke.ZP.Group,{name:"align",defaultValue:1,options:[{value:"left",label:"\u5DE6\u5BF9\u9F50"},{value:"center",label:"\u5C45\u4E2D\u5BF9\u9F50"},{value:"right",label:"\u53F3\u5BF9\u9F50"}]})),ot.createElement("aside",null,ot.createElement(ne.default.Item,{style:{textAlign:"right",position:"relative",right:-98}},ot.createElement(be.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),ot.createElement(be.ZP,{type:"default",onClick:Ie},"\u53D6\u6D88"))))};function fe({onFileChange:Ae}){return ot.createElement("label",{className:"upload-button",style:{cursor:"pointer"}},"\u672C\u5730\u4E0A\u4F20",ot.createElement("input",{type:"file",onChange:Ae}))}function Le(Ae,Ie){if(!Ae)throw new String("\u6CA1\u6709\u6587\u4EF6");if(!(0,$e.bg)())throw Pe.ZP.warning("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),new String("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C");let ve=new FormData;ve.append("editormd-image-file",Ae),ve.append("file_param_name","editormd-image-file"),ve.append("byxhr","true");var Xe=new window.XMLHttpRequest;Xe.withCredentials=!0,Xe.addEventListener("load",function(Rt){Ie(JSON.parse(Rt.target.responseText),Ae)},!1),Xe.addEventListener("error",function(Rt){console.error(Rt)},!1),Xe.open("POST",`${et.KI}/api/attachments.json`),Xe.send(ve)}},79346:function(Ft,Tt,oe){"use strict";oe.d(Tt,{Z:function(){return Ye}});var ne=oe(59301),Pe=oe(4676);class Ye extends ne.Component{constructor(De){super(De);const ke=window.document;this.node=ke.createElement("div"),ke.body.appendChild(this.node)}render(){const{children:De}=this.props;return(0,Pe.createPortal)(De,this.node)}componentWillUnmount(){window.document.body.removeChild(this.node)}}},58856:function(Ft,Tt,oe){"use strict";oe.d(Tt,{Z:function(){return Pe}});var ne=oe(59301);function Pe(Ye,Oe){const De=(0,ne.useRef)();(0,ne.useEffect)(()=>{De.current=Ye}),(0,ne.useEffect)(()=>{function ke(){De.current()}if(Oe!==null){let be=setInterval(ke,Oe);return()=>clearInterval(be)}},[Oe])}},27515:function(Ft,Tt,oe){"use strict";oe.r(Tt),oe.d(Tt,{default:function(){return On}});var ne=oe(59301),Pe=oe(89070),Ye=oe(78241),Oe=oe(43418),De=oe(8591),ke=oe(92832),be=oe(95237),et=oe(43604),Qe=oe(6848),$e=oe(3113),ot=oe(28103),_e=oe(61621),Ke=oe(5112),se=oe(81327),y=oe(12921),a=oe(49692),E=oe(955),b=oe(61186),x=oe.n(b),te={flex_box_center:"flex_box_center___Eli3_",flex_space_between:"flex_space_between___b9mMZ",flex_box_vertical_center:"flex_box_vertical_center___HDlqC",flex_box_center_end:"flex_box_center_end___wxSjo",flex_box_column:"flex_box_column___riQIC",icons:"icons___fU5ZJ",shixuns:"shixuns___HhH4T",buttons:"buttons___Xd62N",addStage:"addStage___Ap4gr",color4CA:"color4CA___dMAG4",color204:"color204___ySVKY",completed:"completed___pNt1x",actionTabs:"actionTabs___x3cPl",tab:"tab___BFnIn",s1:"s1___O6K2P",tabActive:"tabActive___v3_qF",total:"total___oZdqK",introContent:"introContent___dSvDD",introContentMaxHeight:"introContentMaxHeight___NxSzO"},ae=oe(43428),ie=oe(24905),ce=oe(58421),ge=oe(99064),fe=oe(34640),Le=oe(24065),Ae={flex_box_center:"flex_box_center___bI3gK",flex_space_between:"flex_space_between___ZyemH",flex_box_vertical_center:"flex_box_vertical_center___vOG6y",flex_box_center_end:"flex_box_center_end___g0YQU",flex_box_column:"flex_box_column___a7oLH",wrp:"wrp___wYwtQ",drawer:"drawer___UVA9h",menu:"menu___s5Hi1",actived:"actived___GavBb",actived2:"actived2___XNyxe",listItem:"listItem___OyHb7",info:"info___UU9rA",title:"title___CmRLc",titleLeft:"titleLeft___xWCXz",titleRight:"titleRight___PeYdC",search:"search___CzPOL",description:"description___TEI_C",menuCourse:"menuCourse___Z8Z9h"},Ie=oe(59301),ve=Object.defineProperty,Xe=Object.getOwnPropertySymbols,Rt=Object.prototype.hasOwnProperty,Yt=Object.prototype.propertyIsEnumerable,qe=(ut,Lt,Ve)=>Lt in ut?ve(ut,Lt,{enumerable:!0,configurable:!0,writable:!0,value:Ve}):ut[Lt]=Ve,ct=(ut,Lt)=>{for(var Ve in Lt||(Lt={}))Rt.call(Lt,Ve)&&qe(ut,Ve,Lt[Ve]);if(Xe)for(var Ve of Xe(Lt))Yt.call(Lt,Ve)&&qe(ut,Ve,Lt[Ve]);return ut},Zt=(ut,Lt,Ve)=>new Promise((zt,ln)=>{var _t=Kt=>{try{sn(Ve.next(Kt))}catch(tn){ln(tn)}},Sn=Kt=>{try{sn(Ve.throw(Kt))}catch(tn){ln(tn)}},sn=Kt=>Kt.done?zt(Kt.value):Promise.resolve(Kt.value).then(_t,Sn);sn((Ve=Ve.apply(ut,Lt)).next())});const{Search:qt}=ke.default,an=[{id:"type",name:"\u7B5B\u9009",children:[{name:"\u5168\u90E8\u5B9E\u8BAD",id:"all",type:"type"},{name:"\u6211\u7684\u5B9E\u8BAD",id:"mine",type:"type"}]},{id:"diff",name:"\u96BE\u5EA6",children:[{name:"\u5168\u90E8",id:"",type:"diff"},{name:"\u521D\u7EA7",id:1,type:"diff"},{name:"\u4E2D\u7EA7",id:2,type:"diff"},{name:"\u4E2D\u9AD8\u7EA7",id:3,type:"diff"},{name:"\u9AD8\u7EA7",id:4,type:"diff"}]}],Pt=({classroomList:ut,loading:Lt,dispatch:Ve,cb:zt,shixunIds:ln=[]})=>{var _t;const Sn=(0,Pe.useParams)(),sn=(0,Pe.useLocation)(),{actionTabs:Kt}=ut,[tn]=Ye.default.useForm(),{shixunLists:zn}=ut,[Bn,La]=(0,ne.useState)([]),[Un,Fa]=(0,ne.useState)([]),[pn,wa]=(0,ne.useState)({page:1,type:"all",diff:0,status:"all",order:"desc",limit:20,sort:"myshixuns_count",load_jupyter_evaluate:!0,group_id:null});(0,ne.useEffect)(()=>{ut.actionTabs.key==="\u9009\u7528\u5B9E\u8DF5\u9879\u76EE"&&(pn.page=1,Ve({type:"classroomList/getShixunLists",payload:ct({},pn)}))},[ut.actionTabs.key]),(0,ne.useEffect)(()=>{Ea()},[Sn]);const Ea=()=>Zt(void 0,null,function*(){const Xt=yield(0,ge.ZP)("/api/users/user_setting_groups.json",{method:"get",params:{type:"Shixun"}});La([{id:null,name:"\u5168\u90E8"},{id:-1,name:"\u672A\u52A0\u5165\u76EE\u5F55"},...(Xt==null?void 0:Xt.groups)||[]])}),Ca=()=>{Ve({type:"classroomList/setActionTabs",payload:{}}),wa({page:1,type:"all",diff:0,status:"all",order:"desc",limit:20,sort:"myshixuns_count",load_jupyter_evaluate:!0,group_id:null})};return ut.actionTabs.key!=="\u9009\u7528\u5B9E\u8DF5\u9879\u76EE"?null:Ie.createElement(ae.Z,{placement:"bottom",height:"100%",closable:!1,open:ut.actionTabs.key==="\u9009\u7528\u5B9E\u8DF5\u9879\u76EE",key:"bottom",rootClassName:Ae.drawer,footer:Ie.createElement("div",{className:"tc"},Ie.createElement($e.ZP,{size:"middle",onClick:()=>{Ca(),Fa([]),zt("\u53D6\u6D88")},style:{marginRight:8}},"\u53D6\u6D88"),Ie.createElement($e.ZP,{size:"middle",onClick:()=>Zt(void 0,null,function*(){var Xt,na;for(let ca=0;ca<(Un==null?void 0:Un.length);ca++){const la=Un[ca];if(ln.includes(la)){De.ZP.info(`\u8BF7\u52FF\u91CD\u590D\u9009\u62E9\uFF1A${(na=(Xt=zn==null?void 0:zn.shixun_list)==null?void 0:Xt.find(Aa=>Aa.id===la))==null?void 0:na.title}`);return}}const ia=yield(0,fe.Ep)({id:ut.actionTabs.id,course_id:ut.actionTabs.course_id,shixun_ids:[...Un]});Fa([]),ia!=null&&ia.shixuns_list&&(Ca(),zt(ia.shixuns_list))}),type:"primary"},"\u786E\u5B9A"))},Ie.createElement("section",{className:"tc"},Ie.createElement(qt,{placeholder:"\u5B9E\u8BAD\u4FE1\u606F/\u9662\u6821\u540D\u79F0/\u521B\u5EFA\u8005",enterButton:"\u641C\u7D22",size:"middle",className:Ae.search,onSearch:Xt=>{pn.keyword=Xt,pn.page=1,Ve({type:"classroomList/getShixunLists",payload:ct({},pn)})}})),Ie.createElement("section",{className:"edu-container"},an.map(function(Xt,na){var ia;return Ie.createElement("ul",{className:Ae.menu,key:na},Ie.createElement("li",null,Xt.name),(ia=Xt==null?void 0:Xt.children)==null?void 0:ia.map(function(ca,la){return Ie.createElement("li",{className:pn[Xt.id]==ca.id?Ae.actived:"",onClick:()=>{pn[Xt.id]=ca.id,pn.page=1,wa(ct({},pn)),Ve({type:"classroomList/getShixunLists",payload:ct({},pn)})}},Ie.createElement("strong",null,ca.name))}))}),pn.type==="mine"&&Ie.createElement("ul",{className:Ae.menu},Ie.createElement("li",null,"\u76EE\u5F55"),Bn==null?void 0:Bn.map((Xt,na)=>Ie.createElement("li",{className:pn.group_id==Xt.id?Ae.actived:"",key:Xt.name,onClick:()=>{pn.group_id=Xt.id,pn.page=1,wa(ct({},pn)),Ve({type:"classroomList/getShixunLists",payload:ct({},pn)})}},Ie.createElement("strong",null,Xt.name)))),(_t=zn==null?void 0:zn.shixun_list)==null?void 0:_t.map(function(Xt,na){return Ie.createElement("div",{className:Ae.listItem,key:na},Ie.createElement(ie.default,{checked:Un.includes(Xt.id),value:Xt.id,onChange:ia=>{let ca=Un.indexOf(Xt.id);Un.indexOf(Xt.id)>-1?Fa(Un.filter(la=>la!==Xt.id)):Fa(Un.concat(Xt.id))}}),Ie.createElement("div",{className:Ae.info},Ie.createElement("div",{className:Ae.title},Ie.createElement("div",{className:Ae.titleLeft},Ie.createElement("a",{className:"c-black",href:`/shixuns/${Xt==null?void 0:Xt.identifier}/challenges`,target:"_blank"},Ie.createElement("strong",{className:"font16",dangerouslySetInnerHTML:{__html:Xt.title}})),(0,Le.Ny)()&&(Xt==null?void 0:Xt.mark_status)===1&&Ie.createElement(Qe.Z,{title:Xt==null?void 0:Xt.mark_content},Ie.createElement("span",{style:{marginRight:"auto",background:"#2FA34F"},className:"tag-style current ml10"},"\u6B63\u5E38")),(0,Le.Ny)()&&(Xt==null?void 0:Xt.mark_status)===2&&Ie.createElement(Qe.Z,{title:Xt==null?void 0:Xt.mark_content},Ie.createElement("span",{style:{marginRight:"auto",background:"#FF8C29"},className:"tag-style current ml10"},"\u9700\u5B8C\u5584")),(0,Le.Ny)()&&(Xt==null?void 0:Xt.mark_status)===3&&Ie.createElement(Qe.Z,{title:Xt==null?void 0:Xt.mark_content},Ie.createElement("span",{style:{marginRight:"auto",background:"#E53333"},className:"tag-style current ml10"},"\u65E0\u6CD5\u4F7F\u7528")))),Ie.createElement("div",{className:"flex-wrp mt10 font14 c-light-black"},Ie.createElement("span",{className:Ae.description,dangerouslySetInnerHTML:{__html:Xt.description}})),Ie.createElement("div",{className:"flex-wrp mt15"},Xt.challenge_names.map(function(ia,ca){return Ie.createElement("span",{key:ca,className:"mr30 font12"},"\u7B2C",ca+1,"\u5173 ",ia," ")})),Ie.createElement(ot.Z,{dashed:!0}),Ie.createElement("div",{className:"c-light-black mt20 font12"},Ie.createElement("span",null,Xt.author_name),Ie.createElement("span",{className:"ml15 mr15"},"|"),Ie.createElement("span",null,Xt.author_school_name),Ie.createElement("span",{className:"ml15 mr15"},"|"),Ie.createElement("span",null,"\u96BE\u5EA6\u7CFB\u6570:",Xt.level),Ie.createElement("span",{className:"ml15 mr15"},"|"),Ie.createElement("span",null,"\u5B66\u4E60\u4EBA\u6570:"),Ie.createElement("span",null,Xt.study_count))))}),Ie.createElement("p",null)),Ie.createElement("div",{className:"tc"},Ie.createElement(ce.Z,{current:pn.page||1,hideOnSinglePage:!0,showSizeChanger:!1,defaultPageSize:20,showQuickJumper:!0,total:zn==null?void 0:zn.shixuns_count,onChange:Xt=>{pn.page=Xt,Ve({type:"classroomList/getShixunLists",payload:ct({},pn)})}})))};var Ot=(0,Pe.connect)(({classroomList:ut,loading:Lt})=>({classroomList:ut,loading:Lt}))(Pt),mt=oe(46474),Qt=oe(93948),Ze={wrap:"wrap___UWG0f",name:"name___LIQSC",button:"button___CSggN",progress:"progress___AQo_Y",havaLearn:"havaLearn___fq9Cb"},lt=(ut,Lt,Ve)=>new Promise((zt,ln)=>{var _t=Kt=>{try{sn(Ve.next(Kt))}catch(tn){ln(tn)}},Sn=Kt=>{try{sn(Ve.throw(Kt))}catch(tn){ln(tn)}},sn=Kt=>Kt.done?zt(Kt.value):Promise.resolve(Kt.value).then(_t,Sn);sn((Ve=Ve.apply(ut,Lt)).next())}),rn=({data:ut={},dispatch:Lt=()=>{},onReloadData:Ve=()=>{}})=>{const zt=()=>{var sn,Kt,tn;if(!(0,mt.tJ)(Lt)||(0,Le.Jd)())return;let zn;for(let Bn=0;Bn<((sn=ut==null?void 0:ut.stages)==null?void 0:sn.length);Bn++){const La=(Kt=ut==null?void 0:ut.stages)==null?void 0:Kt[Bn],Un=(tn=La==null?void 0:La.shixuns_list)==null?void 0:tn.find(Fa=>(Fa==null?void 0:Fa.shixun_status)!=="\u6682\u672A\u516C\u5F00");if(Un){zn=Un.identifier;break}}zn?Sn(zn):De.ZP.info("\u5B9E\u8BAD\u6682\u672A\u516C\u5F00!")},ln=sn=>{sn=sn!=null&&sn.includes(".json")?sn:`${sn}.json`,Oe.default.confirm({centered:!0,title:"\u63D0\u793A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",content:ne.createElement("div",{className:"tc font16"},"\u5B9E\u8BAD\u5DF2\u7ECF\u66F4\u65B0\u4E86\uFF0C\u6B63\u5728\u4E3A\u60A8\u91CD\u7F6E!"),onOk:()=>lt(void 0,null,function*(){const Kt=yield(0,a.$Q)({url:sn});if(!Kt)return;De.ZP.success("\u91CD\u7F6E\u6210\u529F\uFF0C\u6B63\u5728\u8FDB\u5165\u5B9E\u8DF5\u9879\u76EE\uFF01");const tn=yield(0,a.Ir)({id:Kt.shixun_identifier});if(tn!=null&&tn.game_identifier){(0,E.xg)(`/tasks/${tn.game_identifier}`),Ve();return}(tn==null?void 0:tn.status)===2?ln(tn==null?void 0:tn.message):(tn==null?void 0:tn.status)===3&&_t(tn==null?void 0:tn.message)})})},_t=sn=>{Oe.default.confirm({centered:!0,title:"\u63D0\u793A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",content:ne.createElement("div",{className:"tc font16"},"\u76EE\u524D\u8BE5\u5B9E\u8DF5\u9879\u76EE\u5C1A\u5728\u5185\u6D4B\u4E2D\uFF0C\u5C06\u4E8E",sn,"\u4E4B\u540E\u5F00\u653E\uFF0C\u8C22\u8C22\uFF01")})},Sn=sn=>lt(void 0,null,function*(){const Kt=yield(0,a.Ir)({id:sn});if(Kt!=null&&Kt.game_identifier){(0,E.xg)(`/tasks/${Kt.game_identifier}`),Ve();return}(Kt==null?void 0:Kt.status)===2?ln(Kt==null?void 0:Kt.message):(Kt==null?void 0:Kt.status)===3&&_t(Kt==null?void 0:Kt.message)});return ne.createElement("section",null,!(0,Le.GJ)()&&ne.createElement(ne.Fragment,null,ut!=null&&ut.start_learning?ne.createElement(be.Z,{className:Ze.wrap,align:"middle"},ne.createElement(et.Z,{flex:"1"},ne.createElement("div",{className:`mt5 ${Ze.havaLearn}`},ne.createElement("span",null,"\u5DF2\u5B66",ut==null?void 0:ut.learned,"%")),ne.createElement("div",{className:`mt5 ${Ze.progress}`},ne.createElement(Qt.Z,{percent:ut==null?void 0:ut.learned,showInfo:!1})),ne.createElement("div",{className:"mt5"},ne.createElement("span",{className:"font16"},"\u4E0A\u6B21\u5B66\u4E60\u5185\u5BB9"),ne.createElement("span",{className:"ml20 c-blue-4ca"},ut==null?void 0:ut.last_shixun))),ne.createElement(et.Z,null,ne.createElement($e.ZP,{className:Ze.button,type:"primary",onClick:()=>Sn(ut==null?void 0:ut.last_shixun_identifier)},"\u5F00\u59CB\u5B66\u4E60"))):ne.createElement(be.Z,{className:Ze.wrap,align:"middle"},ne.createElement(et.Z,{flex:"1"},ne.createElement("span",{className:Ze.name},"\u8FD8\u672A\u5F00\u59CB\u5B66\u4E60")),ne.createElement(et.Z,null,ne.createElement($e.ZP,{className:Ze.button,type:"primary",onClick:zt},"\u5F00\u59CB\u5B66\u4E60")))))},ht=oe(94941),$t=oe(15022),Fe=oe(57490),rt=oe(75730),wt=oe(86248),nn=oe(20834),Jt=oe(17574),Ue=oe(38854),je=oe(10906),we={tree:"tree___SHCwq",learn:"learn___buOG9",name:"name___dwQwe",sign:"sign___aQzc5"},me=oe(89392),Re=oe(84105),yt=oe(38819),ye=oe(3294),he=oe(6021),Be=oe(59301),Ne=Object.defineProperty,Ee=Object.defineProperties,Me=Object.getOwnPropertyDescriptors,bt=Object.getOwnPropertySymbols,Ct=Object.prototype.hasOwnProperty,kt=Object.prototype.propertyIsEnumerable,It=(ut,Lt,Ve)=>Lt in ut?Ne(ut,Lt,{enumerable:!0,configurable:!0,writable:!0,value:Ve}):ut[Lt]=Ve,Dt=(ut,Lt)=>{for(var Ve in Lt||(Lt={}))Ct.call(Lt,Ve)&&It(ut,Ve,Lt[Ve]);if(bt)for(var Ve of bt(Lt))kt.call(Lt,Ve)&&It(ut,Ve,Lt[Ve]);return ut},xe=(ut,Lt)=>Ee(ut,Me(Lt)),tt=(ut,Lt)=>{var Ve={};for(var zt in ut)Ct.call(ut,zt)&&Lt.indexOf(zt)<0&&(Ve[zt]=ut[zt]);if(ut!=null&&bt)for(var zt of bt(ut))Lt.indexOf(zt)<0&&kt.call(ut,zt)&&(Ve[zt]=ut[zt]);return Ve},at=(ut,Lt,Ve)=>new Promise((zt,ln)=>{var _t=Kt=>{try{sn(Ve.next(Kt))}catch(tn){ln(tn)}},Sn=Kt=>{try{sn(Ve.throw(Kt))}catch(tn){ln(tn)}},sn=Kt=>Kt.done?zt(Kt.value):Promise.resolve(Kt.value).then(_t,Sn);sn((Ve=Ve.apply(ut,Lt)).next())});const it=(ut={})=>{var Lt,Ve;switch(ut==null?void 0:ut.item_type){case"Challenge":return Be.createElement(Qe.Z,{title:"\u5B9E\u6218\u5F62\u5F0F\uFF1A\u4EFB\u52A1\u5173\u5361"},Be.createElement("i",{className:"iconfont icon-renwuguanka1 font20",style:{color:"#39B97E"}}));case"VideoItem":return Be.createElement(Qe.Z,{title:"\u6559\u5B66\u89C6\u9891"},Be.createElement("i",{className:"iconfont icon-shipin2 c-purple-8C1 font20"}));case"StageCatalog":return Be.createElement("i",{className:"iconfont icon-kongbai c-brilliant-blue font20"});case"SubjectHomework":if((ut==null?void 0:ut.homework_type)==="group")return Be.createElement(Qe.Z,{title:"\u4F5C\u4E1A\u5F62\u5F0F\uFF1A\u5206\u7EC4\u4F5C\u4E1A"},Be.createElement("i",{className:"iconfont icon-fenzuzuoye3 font20",style:{color:"#acc218"}}));if((ut==null?void 0:ut.homework_type)==="normal")return Be.createElement(Qe.Z,{title:"\u4F5C\u4E1A\u5F62\u5F0F\uFF1A\u56FE\u6587\u4F5C\u4E1A"},Be.createElement("i",{className:"iconfont icon-tuwenzuoye font20",style:{color:"#1db37f"}}));break;case"ExaminationBank":return Be.createElement(Qe.Z,{title:"\u6D4B\u9A8C\u5F62\u5F0F\uFF1A\u5728\u7EBF\u8003\u8BD5"},Be.createElement("i",{className:"iconfont icon-zhangjieceshibeifen font20",style:{color:"#e9a318"}}));case"HomeworkCommon":if((ut==null?void 0:ut.homework_type)==="hack")return Be.createElement(Qe.Z,{title:"\u4F5C\u4E1A\u5F62\u5F0F\uFF1A\u7F16\u7A0B\u4F5C\u4E1A"},Be.createElement("i",{className:"iconfont icon-bianchengzuoye1 font20",style:{color:"#E99237"}}));break;case"Shixun":return ut!=null&&ut.is_all_choice?Be.createElement(Qe.Z,{title:"\u5B9E\u6218\u5F62\u5F0F\uFF1A\u9009\u62E9\u9898"},Be.createElement("i",{className:"iconfont icon-xuanzeti4 c-lake-blue font20"})):ut!=null&&ut.is_unity_3d?((Lt=ut==null?void 0:ut.challenge_types)==null?void 0:Lt.length)<=1?Be.createElement(Qe.Z,{title:"\u5B9E\u6218\u5F62\u5F0F\uFF1A\u865A\u62DF\u4EFF\u771F"},Be.createElement("i",{className:"iconfont icon-xunifangzhenti1 font20",style:{color:"#A504D8"}})):Be.createElement(Qe.Z,{title:"\u5B9E\u6218\u5F62\u5F0F\uFF1A\u9009\u62E9\u9898\uFF0B\u865A\u62DF\u4EFF\u771F"},Be.createElement("i",{className:"iconfont icon-rongheti1 font20",style:{color:"#44B7D7"}})):((Ve=ut==null?void 0:ut.challenge_types)==null?void 0:Ve.length)>1?Be.createElement(Qe.Z,{title:"\u5B9E\u6218\u5F62\u5F0F\uFF1A\u9009\u62E9\u9898\uFF0B\u7F16\u7A0B\u5F00\u53D1"},Be.createElement("i",{className:"iconfont icon-rongheti1 font20",style:{color:"#44B7D7"}})):Be.createElement(Qe.Z,{title:"\u5B9E\u6218\u5F62\u5F0F\uFF1A\u7F16\u7A0B\u5F00\u53D1"},Be.createElement("i",{className:"iconfont icon-shixunti2 c-light-primary font20"}));default:return Be.createElement(Qe.Z,{title:"\u6559\u5B66\u8BFE\u4EF6"},Be.createElement("i",{className:"iconfont icon-kejian1 c-cyan-blue font20"}))}},ft=ut=>{var Lt=ut,{pathsDetail:Ve,globalSetting:zt,user:ln,loading:_t,visibleType:Sn,subjectHomeworkType:sn,updateSort:Kt,isPaths:tn,handleNewProject:zn,handleSelectionProject:Bn,handleNewVideo:La,handleNewCourseWare:Un,handleNewFolder:Fa,dispatch:pn,keywords:wa,isShowSchedule:Ea,getData:Ca}=Lt,Xt=tt(Lt,["pathsDetail","globalSetting","user","loading","visibleType","subjectHomeworkType","updateSort","isPaths","handleNewProject","handleSelectionProject","handleNewVideo","handleNewCourseWare","handleNewFolder","dispatch","keywords","isShowSchedule","getData"]);let[na,ia]=(0,ne.useState)([]),[ca,la]=(0,ne.useState)([]);const Aa=(0,Pe.useParams)(),[ka,Hn]=(0,ne.useState)([]),[kn,Da]=(0,ne.useState)({});(0,ne.useEffect)(()=>{if(Xt.data&&!(0,me.isEqual)(Xt.data,ka)){ca=[];const xt=JSON.parse(JSON.stringify(Xt.data));ua(xt,0),Hn([...xt]),Sn!="All"?ia([...ca]):ia([])}},[Xt.data,Sn,Xt==null?void 0:Xt.expandAll]),(0,ne.useEffect)(()=>{var xt,Jn,Qn,fa,aa,Ma,ha,jn,Et,Ra;let $n;if((xt=Ve.detail)!=null&&xt.has_start){const Gn=(Qn=(Jn=Ve.detail)==null?void 0:Jn.courses)==null?void 0:Qn.findIndex(Wn=>{var Vn;return parseInt((Vn=Wn.course_status)==null?void 0:Vn.status)===1});$n=Gn>-1?Gn:0}else{let Gn=(Ma=(aa=(fa=Ve.detail)==null?void 0:fa.courses)==null?void 0:aa.map(Wn=>{var Vn;return parseInt((Vn=Wn.course_status)==null?void 0:Vn.status)}))==null?void 0:Ma.lastIndexOf(2);$n=Gn>-1?Gn:0,Gn=(jn=(ha=Ve.detail)==null?void 0:ha.courses)==null?void 0:jn.findIndex(Wn=>{var Vn;return parseInt((Vn=Wn.course_status)==null?void 0:Vn.status)===0}),$n=Gn>-1?Gn:$n}(Et=Ve.detail)!=null&&Et.courses&&Da(((Ra=Ve.detail)==null?void 0:Ra.courses[$n])||{})},[Ve.detail]);const Na=(xt,Jn,...Qn)=>at(void 0,[xt,Jn,...Qn],function*(fa,aa,Ma={}){pn({type:"globalSetting/setGlobalLoading",payload:{show:!0,text:"\u6B63\u5728\u8FDB\u5165\u5B9E\u8BAD\uFF0C\u8BF7\u7A0D\u540E..."}});const ha=aa?yield(0,a.BK)({id:fa,challenge_id:Ma==null?void 0:Ma.challenge_id,subject_id:Aa.pathId}):yield(0,a.Ir)({id:fa,challenge_id:Ma==null?void 0:Ma.challenge_id,subject_id:Aa.pathId});if(ha!=null&&ha.game_identifier||ha!=null&&ha.identifier){(0,E.xg)(aa?`/tasks/${ha==null?void 0:ha.identifier}/jupyter`:`/tasks/${ha.game_identifier}?subject_id=${Aa.pathId||""}`);return}(ha==null?void 0:ha.status)===-3?(0,E.eF)():(ha==null?void 0:ha.status)===2?Ga(ha==null?void 0:ha.message):(ha==null?void 0:ha.status)===3&&Va(ha==null?void 0:ha.message)}),Ga=xt=>{xt=xt!=null&&xt.includes(".json")?xt:`${xt}.json`,Oe.default.confirm({centered:!0,title:"\u63D0\u793A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",content:Be.createElement("div",{className:"tc font16"},"\u5B9E\u8BAD\u5DF2\u7ECF\u66F4\u65B0\u4E86\uFF0C\u6B63\u5728\u4E3A\u60A8\u91CD\u7F6E!"),onOk:()=>at(void 0,null,function*(){const Jn=yield(0,ht.L8)({url:xt});if(!Jn)return;De.ZP.success("\u91CD\u7F6E\u6210\u529F\uFF0C\u6B63\u5728\u8FDB\u5165\u5B9E\u8BAD\uFF01");const Qn=yield(0,a.Ir)({id:Jn.shixun_identifier});if(Qn!=null&&Qn.game_identifier){(0,E.xg)(`/tasks/${Qn.game_identifier}`);return}(Qn==null?void 0:Qn.status)===2?Ga(Qn==null?void 0:Qn.message):(Qn==null?void 0:Qn.status)===3&&Va(Qn==null?void 0:Qn.message)})})},Va=xt=>{Oe.default.confirm({centered:!0,title:"\u63D0\u793A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",content:Be.createElement("div",{className:"tc font16"},"\u76EE\u524D\u8BE5\u5B9E\u8DF5\u9879\u76EE\u5C1A\u5728\u5185\u6D4B\u4E2D\uFF0C\u5C06\u4E8E",xt,"\u4E4B\u540E\u5F00\u653E\uFF0C\u8C22\u8C22\uFF01")})},Za=xt=>{console.log("onDragEnter:",xt)},_a=xt=>at(void 0,null,function*(){var Jn,Qn,fa,aa;console.log("onDrop:",xt);const Ma=xt.node.props.eventKey,ha=xt.dragNode.props.eventKey,jn=xt.node.props.pos.split("-"),Et=xt.dropPosition-Number(jn[jn.length-1]);if(jn.length>3&&!xt.node.dragOverGapBottom&&!xt.node.dragOverGapTop||xt.node.dragOver&&xt.dragNodesKeys.length>1||jn.length>2&&xt.dragNodesKeys.length>1)return!1;let Ra=["Attachment","Hack","Shixun","SubjectHomework","Videoltem"];if(Ra.includes((Jn=xt.dragNode)==null?void 0:Jn.item_type)&&((Qn=xt.node)==null?void 0:Qn.item_type)!="StageCatalog"&&Et===0||((fa=xt.dragNode)==null?void 0:fa.item_type)==="StageCatalog"&&Ra.includes((aa=xt.node)==null?void 0:aa.item_type)&&Et===0)return!1;const $n=(Vn,Ja,Xa)=>{for(let qa=0;qa{Xa.splice(Ja,1),Wn=Vn}),!xt.dropToGap)$n(Gn,Ma,Vn=>{Vn.children=Vn.children||[],Vn.children.unshift(Wn)});else if((xt.node.props.children||[]).length>0&&xt.node.props.expanded&&Et===1)$n(Gn,Ma,Vn=>{Vn.children=Vn.children||[],Vn.children.unshift(Wn)});else{let Vn,Ja;$n(Gn,Ma,(Xa,qa,sr)=>{Vn=sr,Ja=qa}),Et===-1?Vn.splice(Ja,0,Wn):Vn.splice(Ja+1,0,Wn)}yield Kt({stage_id:Xt.stage_id,list:Gn}),ua(Gn,0,0,!0),console.log("data:",Gn),Hn([...Gn]),ia([...na,xt.node.key])}),ua=(xt,Jn,Qn,fa)=>{Jn=Jn||0,xt.map((aa,Ma)=>{var ha;try{return aa.key2=Jn+1+"-"+(Ma+1),aa.key3=Xt.index+1+"-"+(Ma+1),aa.title="",fa||(aa.key=Jn+1+"-"+(Ma+1)),Jn?aa.index=Qn+"-"+(Ma+1):aa.index=aa.key3,(ha=aa.children)!=null&&ha.length&&(ca.push(aa.key2),ua(aa.children,aa.key2,aa.index,fa)),aa}catch(jn){}})},Pa=xt=>{xt=xt||"";let Jn=new RegExp(wa,"ig");const Qn=xt.replace(Jn,'$&');return wa?Be.createElement("span",{dangerouslySetInnerHTML:{__html:Qn}}):xt},ya=(xt,Jn)=>{const{learning_status:Qn,name:fa}=xt;return(Qn==null?void 0:Qn[0])==="can"&&(Qn==null?void 0:Qn[1])==="try"?Be.createElement("div",{className:we.learn},Be.createElement("span",{className:we.name},Jn?fa:Pa(fa)),Be.createElement("span",{className:we.sign},"\u514D\u8D39\u8BD5\u5B66")):Jn?fa:Pa(fa)},$a=xt=>{Sn==="All"&&(na.includes(xt)?ia(na.filter(Jn=>Jn!=xt)):ia(na.concat(xt)))},Ya=(xt,Jn)=>at(void 0,null,function*(){if((0,mt.tJ)(pn,!0)){if(xt!=null&&xt.need_authorize){(0,mt.rX)(!1);return}yield Na(xt.identifier,xt.is_jupyter||xt.is_jupyter_lab,xt),Jn(),kn!=null&&kn.course_id&&(yield(0,wt.JS)({id:kn==null?void 0:kn.course_id}))}}),va=xt=>at(void 0,null,function*(){var Jn,Qn,fa,aa;if(!(0,mt.tJ)(pn))return;if(!((Jn=ln.userInfo)!=null&&Jn.admin)&&!((Qn=ln.userInfo)!=null&&Qn.business)&&!xt.can_view&&xt.item_type!=="Attachment")return Oe.default.info({centered:!0,width:400,okText:"\u77E5\u9053\u5566",icon:null,content:Be.createElement("div",{className:"tc font14"},"\u5F53\u524D\u89C6\u9891\u4E3A\u521B\u5EFA\u8005\u6240\u5C5E\u5355\u4F4D\u5185\u90E8\u6559\u5B66\u8D44\u6599\uFF0C\u5916\u5355\u4F4D\u7528\u6237\u65E0\u89C2\u770B\u6743\u9650")});xt.link&&(0,rt.DH)({is_f:1,id:xt.id,point:0,total:0});const Ma=Xt!=null&&Xt.course_id?`course_id=${Xt==null?void 0:Xt.course_id}`:`subject_id=${Aa.pathId||Xt.subject_id}`;if(((aa=xt==null?void 0:xt.name)==null?void 0:aa.substr((fa=xt==null?void 0:xt.name)==null?void 0:fa.lastIndexOf("."))).toUpperCase()===".ZIP"?(0,E.FH)(xt.name,ye.Z.API_SERVER+xt.url):(0,E.xg)(xt.link||`/video/${xt.id}?${Ma}`),xt.item_type==="Attachment"&&xt.complete_status!=2){const jn=yield(0,wt.rS)({attachment_id:xt.id,status:2})}(xt.item_type==="Attachment"||xt.item_type==="VideoItem")&&Ca()}),bn=xt=>Be.createElement(nn.default,{onClick:Jn=>{switch(Jn.key){case"1":zn(xe(Dt({},xt),{isAddxiaojie:!0}));break;case"2":Bn(xe(Dt({},xt),{isAddxiaojie:!0}));break;case"3":La(xe(Dt({},xt),{isAddxiaojie:!0}));break;case"4":Un(xe(Dt({},xt),{isAddxiaojie:!0}));break;case"5":Fa(xe(Dt({},xt),{isAddxiaojie:!0}));break;default:console.log("\u5F53\u524D\u9009\u62E9",Jn)}}},Be.createElement(nn.default.Item,{key:"1"},"\u65B0\u5EFA\u5B9E\u8DF5\u9879\u76EE"),Be.createElement(nn.default.Item,{key:"2"},"\u9009\u7528\u5B9E\u8DF5\u9879\u76EE"),Be.createElement(nn.default.Item,{key:"3"},"\u65B0\u5EFA\u89C6\u9891\u9879\u76EE"),Be.createElement(nn.default.Item,{key:"4"},"\u65B0\u5EFA\u6559\u5B66\u8BFE\u4EF6"),Be.createElement(nn.default.Item,{key:"5"},"\u65B0\u5EFA\u6587\u4EF6\u5939")),[cn,Cn]=(0,ne.useState)(!1),xn=xt=>{cn||Cn(!0)},ma=(0,ne.useMemo)(()=>Be.createElement(Jt.default,{className:we.tree,disabled:Xt.disabled,expandedKeys:[...na],draggable:!0,onDragEnter:Za,onDrop:_a,onExpand:$a,blockNode:!0,titleRender:xt=>{var Jn,Qn,fa,aa,Ma,ha,jn;let Et=xt;if(Sn=="SubjectHomework"){if(sn=="group_count"&&(Et==null?void 0:Et.homework_type)!="group"||sn=="normal_count"&&(Et==null?void 0:Et.homework_type)!="normal")return null}else if(Et.item_type!==Sn&&Sn!=="All")return null;const Ra=xt.index.slice(0,1)==="1",$n=((Jn=xt==null?void 0:xt.learning_status)==null?void 0:Jn[0])==="can";return Be.createElement(be.Z,{align:"middle",className:"font14",onClick:()=>$a(Et.key),style:{flexWrap:"nowrap",whiteSpace:"nowrap"},onMouseOver:()=>xn(Et.key)},Be.createElement(et.Z,{flex:"30px",style:{display:"flex",alignItems:"center"}},it(xt)),Be.createElement(et.Z,{flex:"1",className:"flex item-center c-grey-333",style:{width:300}},Xt.cust_seq&&Be.createElement("span",{className:" mr10"},xt.index),xt.item_type!=="Attachment"&&Be.createElement("div",{className:we.name_style},Be.createElement(Qe.Z,{placement:"topLeft",title:xt.name},ya(xt,!1))),xt.item_type==="Attachment"&&Be.createElement("a",{target:"_blank",className:we.pdf_name,title:xt.name,onClick:()=>at(void 0,null,function*(){if((0,mt.tJ)(pn)){if(kn!=null&&kn.course_id){const Gn=yield(0,wt.JS)({id:kn==null?void 0:kn.course_id})}switch(xt.item_type){case"Attachment":va(Et);break;case"VideoItem":va(xt);break;case"ExaminationBank":va(xt);break;case"HomeworkCommon":va(xt);break;case"SubjectHomework":(xt.homework_type=="group"||xt.homework_type=="normal")&&va(xt);break;case"Shixun":Ya(xt);break}}})},xt.name),(xt.item_type==="Shixun"||xt.item_type==="Challenge")&&xt.is_unity_3d&&Be.createElement("span",{style:{background:"#a300d8",color:"#fff",borderRadius:"13px",marginLeft:"5px",width:"68px",height:"20px",display:"inline-flex",alignItems:"center",justifyContent:"center",fontSize:"12px"}},"\u865A\u62DF\u4EFF\u771F"),(xt.item_type==="Shixun"||xt.item_type==="Challenge")&&xt.is_jupyter_lab&&Be.createElement("span",{style:{background:"#ff6802",color:"#fff",borderRadius:"13px",marginLeft:"5px",width:"76px",height:"20px",display:"inline-flex",alignItems:"center",justifyContent:"center",fontSize:"12px"}},"JupyterLab"),(xt.item_type==="Shixun"||xt.item_type==="Challenge")&&xt.is_jupyter&&Be.createElement("span",{style:{background:"#ff6802",color:"#fff",borderRadius:"13px",marginLeft:"5px",width:"112px",height:"20px",display:"inline-flex",alignItems:"center",justifyContent:"center",fontSize:"12px"}},"Jupyter Notebook"),(xt.item_type==="Shixun"||xt.item_type==="Challenge")&&((Qn=xt==null?void 0:xt.shixun_marks)==null?void 0:Qn.length)>0&&(((fa=ln==null?void 0:ln.userInfo)==null?void 0:fa.role)==1||((aa=ln==null?void 0:ln.userInfo)==null?void 0:aa.role)==2)&&(xt==null?void 0:xt.shixun_marks.map((Gn,Wn)=>Be.createElement(Qe.Z,{title:`${Gn}`,key:Wn},Be.createElement("span",{style:{background:"#43a2ff",color:"#fff",borderRadius:"13px",marginLeft:"5px",height:"20px",textAlign:"center",fontSize:"12px",maxWidth:"70px",padding:"0px 13px",overflow:"hidden",whiteSpace:"nowrap",display:"inline-flex",alignItems:"center",justifyContent:"center",textOverflow:"ellipsis"}},Gn)))),!!((Ma=xt.schools)!=null&&Ma.length)&&Be.createElement(Qe.Z,{title:"\u8BE5\u5B9E\u8DF5\u9879\u76EE\u9762\u5411\u6307\u5B9A\u5355\u4F4D\u5F00\u653E"},Be.createElement("i",{className:"iconfont icon-zhidinggongkai1 ml10 c-orange",style:{transform:"translateY(1px)",display:"inline-block"}})),(xt.item_type==="Shixun"||xt.item_type==="Challenge")&&!!(xt!=null&&xt.finished_challenges_count)&&Be.createElement(Qe.Z,{title:`\u5B8C\u6210\u5EA6:${Math.round((xt==null?void 0:xt.finished_challenges_count)/(xt==null?void 0:xt.challenges_count)*100)}%`},Be.createElement("i",{className:`iconfont icon-a-wanchengdu100 ml10 ${(xt==null?void 0:xt.finished_challenges_count)-(xt==null?void 0:xt.challenges_count)===0?"c-light-green":"c-grey-333"}`,style:{transform:"translateY(1px)",display:"inline-block"}}))),!Xt.disabled&&Be.createElement("aside",{className:"text-14px ml-20px",style:{color:"#0152d9"}},"\u62D6\u52A8\u53EF\u4EE5\u6539\u53D8\u9879\u76EE\u663E\u793A\u987A\u5E8F"),cn&&Be.createElement(et.Z,{className:"tr"},(Et.item_type==="VideoItem"||(Et==null?void 0:Et.item_type)==="Attachment"||(Et==null?void 0:Et.item_type)==="StageCatalog"||(Et==null?void 0:Et.item_type)==="SubjectHomework"||(Et==null?void 0:Et.item_type)==="ExaminationBank"||(Et==null?void 0:Et.item_type)==="HomeworkCommon")&&!Xt.disabled&&!Xt.hiddenEditBtn&&Be.createElement(Qe.Z,{title:"\u7F16\u8F91"},Be.createElement("span",{onClick:()=>{Xt.editVidoItem(Dt({stage_id:Xt.stage_id},Et))},style:{color:"#ccc",marginRight:"10px"}},Be.createElement(je.Z,{rev:void 0}))),!Xt.disabled&&Be.createElement(Qe.Z,{title:"\u5220\u9664"},Be.createElement("span",{onClick:()=>{Xt.deleteStages({id:Et.stage_item_id,stage_id:Xt.stage_id})},className:"iconfont icon-shanchu c-grey-c"})),Xt.showVideoPlay&&Xt.disabled&&Et.item_type==="SubjectHomework"&&$n&&Be.createElement("aside",null,!(0,Le.JA)()&&tn&&((0,Le.Ny)()||(Et==null?void 0:Et.is_free)||!(Et!=null&&Et.is_free)&&(Et==null?void 0:Et.is_trial_study))&&Be.createElement($e.ZP,{className:"mr10",type:"primary",onClick:()=>at(void 0,null,function*(){(0,mt.tJ)(pn)&&pn({type:"shixunsDetail/setActionTabs",payload:{key:"Stage-SendModal",params:{id:Et.stage_item_id,title:(Et==null?void 0:Et.homework_type)=="group"?"\u5206\u7EC4\u4F5C\u4E1A":"\u56FE\u6587\u4F5C\u4E1A"}}})})},"\u53D1\u9001"),!(0,Le.JA)()&&tn&&Be.createElement($e.ZP,{type:"primary",onClick:()=>at(void 0,null,function*(){(0,mt.tJ)(pn)&&Xt.showInfoModal(Dt({stage_id:Xt.stage_id},Et))})},"\u67E5\u770B\u8BE6\u60C5")),Xt.showVideoPlay&&Xt.disabled&&Et.item_type==="ExaminationBank"&&$n&&Be.createElement("aside",null,!(0,Le.JA)()&&tn&&((0,Le.Ny)()||(Et==null?void 0:Et.is_free)||!(Et!=null&&Et.is_free)&&(Et==null?void 0:Et.is_trial_study))&&Be.createElement($e.ZP,{className:"mr10",type:"primary",onClick:()=>at(void 0,null,function*(){(0,mt.tJ)(pn)&&pn({type:"shixunsDetail/setActionTabs",payload:{key:"Stage-SendModal",params:{id:Et.stage_item_id,title:"\u6D4B\u9A8C",examinationid:Et.id}}})})},"\u53D1\u9001"),!(0,Le.JA)()&&tn&&Be.createElement($e.ZP,{type:"primary",onClick:()=>at(void 0,null,function*(){(0,mt.tJ)(pn)&&window.open(`/paperlibrary/see/${Et.id}?defaultActiveKey=1`)})},"\u67E5\u770B\u8BE6\u60C5")),Xt.showVideoPlay&&Xt.disabled&&Et.item_type==="HomeworkCommon"&&$n&&Be.createElement("aside",null,!(0,Le.JA)()&&tn&&((0,Le.Ny)()||(Et==null?void 0:Et.is_free)||!(Et!=null&&Et.is_free)&&(Et==null?void 0:Et.is_trial_study))&&Be.createElement($e.ZP,{className:"mr10",type:"primary",onClick:()=>at(void 0,null,function*(){(0,mt.tJ)(pn)&&pn({type:"shixunsDetail/setActionTabs",payload:{key:"Stage-SendModal",params:{id:Et.stage_item_id,title:"\u7F16\u7A0B\u4F5C\u4E1A",examinationid:Et.id}}})})},"\u53D1\u9001"),!(0,Le.JA)()&&tn&&Be.createElement($e.ZP,{type:"primary",onClick:()=>at(void 0,null,function*(){(0,mt.tJ)(pn)&&Xt.showInfoModal(Dt({stage_id:Xt.stage_id},Et))})},"\u67E5\u770B\u8BE6\u60C5")),Xt.showVideoPlay&&Xt.disabled&&Et.item_type==="VideoItem"&&$n&&Be.createElement("aside",null,!(0,Le.JA)()&&tn&&((0,Le.Ny)()||(Et==null?void 0:Et.is_free)||!(Et!=null&&Et.is_free)&&(Et==null?void 0:Et.is_trial_study))&&Be.createElement($e.ZP,{className:"mr10",type:"primary",onClick:()=>at(void 0,null,function*(){(0,mt.tJ)(pn)&&pn({type:"shixunsDetail/setActionTabs",payload:{key:"Stage-SendModal",params:{id:Et.stage_item_id,title:"\u89C6\u9891"}}})})},"\u53D1\u9001"),Be.createElement($e.ZP,{type:"primary",className:"mr10",onClick:()=>at(void 0,null,function*(){va(Et)})},Et.last_point>0?"\u7EE7\u7EED\u5B66\u4E60":"\u5F00\u59CB\u5B66\u4E60")),(Et.allow_visit||Et.to_be_built||!Et.shixun_status)&&Xt.disabled&&(Et.item_type==="Shixun"||Et.item_type==="Challenge")&&$n&&Be.createElement("aside",null,!(0,Le.JA)()&&tn&&!Et.shixun_status&&((0,Le.Ny)()||(Et==null?void 0:Et.is_free)||!(Et!=null&&Et.is_free)&&(Et==null?void 0:Et.is_trial_study))&&Be.createElement($e.ZP,{className:"ml10",type:"primary",onClick:()=>at(void 0,null,function*(){(0,mt.tJ)(pn)&&pn({type:"shixunsDetail/setActionTabs",payload:{key:"Stage-SendModal",params:{id:Et.stage_item_id,title:"\u5B9E\u8BAD",is_jupyter:Et==null?void 0:Et.is_jupyter,identifier:Et==null?void 0:Et.identifier}}})})},"\u53D1\u9001"),Be.createElement($e.ZP,{className:"ml10",type:"primary",onClick:()=>at(void 0,null,function*(){(0,mt.tJ)(pn)&&(kn!=null&&kn.course_id&&(yield(0,wt.JS)({id:kn==null?void 0:kn.course_id})),window.open(`/shixuns/${Et.identifier}/challenges`))})},"\u67E5\u770B\u8BE6\u60C5"),!Et.shixun_status&&Be.createElement(he.Z,{className:"ml10",type:"primary",onClick:()=>at(void 0,null,function*(){return new Promise(Gn=>at(void 0,null,function*(){Ya(Et,Gn)}))})},Et!=null&&Et.need_authorize?"\u9700\u6388\u6743":xt!=null&&xt.finished_challenges_count?(xt==null?void 0:xt.finished_challenges_count)-(xt==null?void 0:xt.challenges_count)===0?"\u518D\u6B21\u5B9E\u6218":"\u7EE7\u7EED\u5B9E\u6218":"\u5F00\u59CB\u5B9E\u6218")),Xt.showVideoPlay&&Xt.disabled&&Et.item_type==="Attachment"&&$n&&Be.createElement("aside",null,((ha=Ve.detail)==null?void 0:ha.allow_download)&&Be.createElement($e.ZP,{className:"mr10",type:"primary",onClick:()=>at(void 0,null,function*(){var Gn;(0,mt.tJ)(pn)&&(0,E.Nd)("",`${ye.Z.API_SERVER}${(Gn=Et.url)==null?void 0:Gn.replace("disposition=inline","")}`)})},"\u4E0B\u8F7D\u8D44\u6E90"),Be.createElement($e.ZP,{type:"primary",className:"mr10",onClick:()=>at(void 0,null,function*(){(0,mt.tJ)(pn)&&(0,E.xg)(`/video/${Et.id}?subject_id=${Aa.pathId||""}`)})},"\u5F00\u59CB\u5B66\u4E60")),(Et.allow_visit||Et.to_be_built||!Et.shixun_status)&&Xt.disabled&&(Et.item_type==="Shixun"||Et.item_type==="CourseStage")&&$n&&Be.createElement("aside",null,Et.item_type!=="CourseStage"&&tn&&!Et.shixun_status&&Be.createElement($e.ZP,{className:"ml10",type:"primary",onClick:()=>at(void 0,null,function*(){(0,mt.tJ)(pn)&&pn({type:"shixunsDetail/setActionTabs",payload:{key:"Stage-SendModal",params:{id:Et.stage_item_id,title:"\u5B9E\u8BAD",is_jupyter:Et==null?void 0:Et.is_jupyter,identifier:Et==null?void 0:Et.identifier}}})})},"\u53D1\u9001"),Et.item_type!=="CourseStage"&&Be.createElement($e.ZP,{className:"ml10",type:"primary",onClick:()=>at(void 0,null,function*(){(0,mt.tJ)(pn)&&(kn!=null&&kn.course_id&&(yield(0,wt.JS)({id:kn==null?void 0:kn.course_id})),window.open(`/shixuns/${Et.identifier}/challenges`))})},"\u67E5\u770B\u8BE6\u60C5"),Et.item_type!=="CourseStage"&&!Et.shixun_status&&Be.createElement($e.ZP,{className:"ml10",type:"primary",onClick:()=>at(void 0,null,function*(){Ya(Et)})},Et!=null&&Et.need_authorize?"\u9700\u6388\u6743":xt!=null&&xt.finished_challenges_count?(xt==null?void 0:xt.finished_challenges_count)-(xt==null?void 0:xt.challenges_count)===0?"\u518D\u6B21\u5B9E\u6218":"\u7EE7\u7EED\u5B9E\u6218":"\u5F00\u59CB\u5B9E\u6218"),Et.item_type==="CourseStage"&&!(0,Le.dE)()&&Be.createElement(Ue.Z,{className:"ml10",overlay:bn(Et)},Be.createElement($e.ZP,{type:"primary"},Be.createElement(se.Z,null,"\u65B0\u589E\u5C0F\u8282",Be.createElement(Re.Z,{rev:void 0})))))),Be.createElement(et.Z,null,Xt.disabled&&Et.shixun_status==="\u6682\u672A\u516C\u5F00"&&Be.createElement("span",{className:`${we.color204} ml5`},"\u6682\u672A\u53D1\u5E03"),Et.shixun_status==="\u5DF2\u5220\u9664"&&Be.createElement("span",{className:`${we.color204} ml5`},"\u5DF2\u5220\u9664"),Xt.disabled&&!Ea&&(Et.item_type==="Shixun"||Et.item_type==="Challenge")&&!!Et.challenges_count&&Be.createElement("span",{className:"exper\u02C6iment-number ml5 c-grey-999"},"\u5B9E\u9A8C\u6570 ",Et.challenges_count),Xt.disabled&&Ea&&(Et.item_type==="Shixun"||Et.item_type==="Challenge")&&!!Et.challenges_count&&Et.shixun_status!=="\u6682\u672A\u516C\u5F00"&&Et.shixun_status!=="\u5DF2\u5220\u9664"&&Be.createElement(Be.Fragment,null,Be.createElement("i",{className:"iconfont icon-wanchenggouxuan font14",style:{marginLeft:"5px",color:Et.finished_challenges_count===Et.challenges_count?"#50DAAE":"#DEDEDE"}}),Be.createElement("span",{style:{marginLeft:"4px"}},Be.createElement("span",{style:{color:"#165DFF",fontSize:"14px"}},Et.finished_challenges_count),Be.createElement("span",{style:{color:"#DEDEDE",fontSize:"14px"}},"/",Et.challenges_count))),Xt.disabled&&Ea&&(Et.item_type==="VideoItem"||Et.item_type==="Attachment")&&(Et.complete_status==0?Be.createElement("i",{className:"iconfont icon-weidianjixuexi font14",style:{color:"#DEDEDE"}}):Et.complete_status==1?Be.createElement("i",{className:"iconfont icon-yidianjixuexiweiwancheng font14",style:{color:"#50DAAE"}}):Be.createElement("i",{className:"iconfont icon-xuexiwancheng font14",style:{color:"#50DAAE"}})),Sn==="All"&&!!((jn=xt.children)!=null&&jn.length)&&Be.createElement("span",{className:"ml10"},na.includes(xt.key)?Be.createElement(Re.Z,{rev:void 0}):Be.createElement(yt.Z,{rev:void 0}))))},treeData:ka}),[ka,ca,na,Sn,cn]);return Be.createElement(Be.Fragment,null,ma)};var en=(0,Pe.connect)(({pathsDetail:ut,loading:Lt,user:Ve,globalSetting:zt})=>({pathsDetail:ut,globalSetting:zt,user:Ve,loading:Lt.effects}))(ft),dn=oe(33538),on=oe(79346),mn=oe(8797),In=oe(5871),Ln=oe(12290);const Tn=({user:ut,onReplyDiscuss:Lt,dispatch:Ve,id:zt,activeDiscussIndex:ln,params:_t})=>{const[Sn,sn]=(0,ne.useState)("");function Kt(zn){sn(zn)}console.log(_t,"params33");function tn(){if(!Sn){De.ZP.info("\u56DE\u590D\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A!");return}Lt(zt,Sn),sn("")}return ne.createElement("div",{key:zt,className:"discuss-item-editor",style:{display:ln===zt?"block":"none",width:"100%"}},ne.createElement(Ln.Z,{miniToolbar:!0,startInit:ln===zt,defaultValue:Sn,id:zt,noStorage:!0,watch:!1,height:155,placeholder:"\u6211\u8981\u56DE\u590D",showResizeBar:!0,onChange:Kt}),ne.createElement("a",{onClick:tn,className:"btn-send"},"\u53D1\u9001"))};var _n=(0,Pe.connect)(({shixunsDetail:ut,loading:Lt,globalSetting:Ve})=>({shixunsDetail:ut,globalSetting:Ve,loading:Lt.models.index}))(Tn),ta=(ut,Lt,Ve)=>new Promise((zt,ln)=>{var _t=Kt=>{try{sn(Ve.next(Kt))}catch(tn){ln(tn)}},Sn=Kt=>{try{sn(Ve.throw(Kt))}catch(tn){ln(tn)}},sn=Kt=>Kt.done?zt(Kt.value):Promise.resolve(Kt.value).then(_t,Sn);sn((Ve=Ve.apply(ut,Lt)).next())});const Fn=({user:ut,upDataList:Lt,params:Ve,page:zt,getTypeNumber:ln,dispatch:_t,keywords:Sn})=>{const sn=(Kt,tn)=>ta(void 0,null,function*(){const zn=yield(0,wt.ke)({id:Kt,content:tn});(zn==null?void 0:zn.status)===0&&Lt(1,Sn)});return ne.createElement("div",{className:"discuss-item-container bg-white"},ne.createElement("a",{href:`/users/${ut.login}`,target:"_blank"},ne.createElement("img",{alt:"\u7528\u6237\u5934\u50CF",height:"50",src:`${ye.Z.IMG_SERVER}/images/${ut.image_url}`,width:"50"})),ne.createElement("section",null,ne.createElement(_n,{id:Ve.pathId,params:Ve,activeDiscussIndex:Ve.pathId,onReplyDiscuss:sn})))};var ra=(0,Pe.connect)(({shixunsDetail:ut,loading:Lt,globalSetting:Ve})=>({shixunsDetail:ut,globalSetting:Ve,loading:Lt.models.index}))(Fn),wn=oe(64881);function Kn(ut,Lt=1){return get("/discusses.json",{page:Lt-1,container_identifier:ut,container_type:"Shixun"})}function oa(ut,Lt){return(0,ge.v_)(`/discusses/${ut}/top_or_down_discuss.json`,{top:Lt})}function Ia(ut,Lt){return(0,ge.v_)(`/discusses/${ut}/plus.json`,{container_type:"Discuss",type:Lt?1:0})}function ba(ut,Lt){return(0,ge.v_)(`/discusses/${ut}/hidden.json`,Lt)}function za(ut,Lt){return(0,ge.v_)(`/discusses/${ut}/reward_code.json`,Lt)}function Ua(ut){return(0,ge.ZP)(`/api/discusses/${ut}.json`,{method:"delete"})}function Oa(ut,Lt){return(0,ge.v_)(`/discusses/${ut}/reply.json`,{container_type:"Shixun",content:Lt})}function pa(ut){return post("/discusses.json",ut)}var Sa=oe(85149),Wa=oe(70714),gt=oe(34604);function St({data:ut,index:Lt,adminOrOperator:Ve,parentDiscussIndex:zt,shixunIdentifier:ln,isDelete:_t,user:Sn,onSetRewardData:sn,onSetActionType:Kt,params:tn,deleteCommentAlert:zn,shixunName:Bn,keywords:La}){const{author:Un,can_delete:Fa,manage:pn,content:wa,hidden:Ea,id:Ca,reward:Xt,time:na}=ut;function ia(){sn({id:Ca,index:Lt,user_id:Un.user_id,parentDiscussIndex:zt})}function ca(){Kt({id:Ca,index:Lt,params:{hidden:Ea?"0":"1",container_identifier:ln},type:"hidden-discuss",parentDiscussIndex:zt,message:Ea?"\u786E\u5B9A\u8981\u53D6\u6D88\u9690\u85CF\u8BE5\u6761\u56DE\u590D\u5417":"\u786E\u5B9A\u8981\u9690\u85CF\u8BE5\u6761\u56DE\u590D\u5417"})}function la(){if(zn){Oe.default.info({title:"\u63D0\u793A",content:ne.createElement("div",{className:"tc"}," ","\u8BE5\u6761\u8BC4\u8BBA\u6765\u81EA\u300A",Bn,"\u300B\u5B9E\u8DF5\u9879\u76EE\uFF0C\u60A8\u4E0D\u662F\u8BE5\u5B9E\u8DF5\u9879\u76EE\u7684\u7BA1\u7406\u8005\uFF0C\u4E0D\u80FD\u5220\u9664\u8BC4\u8BBA\uFF01"),onOk(){}});return}Kt({id:Ca,index:Lt,type:"delete-discuss",parentDiscussIndex:zt,message:"\u786E\u5B9A\u8981\u5220\u9664\u8BE5\u6761\u56DE\u590D\u5417"})}return ne.createElement("div",{className:"second-level-discuss"},ne.createElement("div",{className:"discuss-info-body"},ne.createElement("div",{className:"discuss-info"},ne.createElement("a",{href:`/users/${Un.login}`,target:"_blank"},Un.name),ne.createElement("span",{className:"grey"},na),Xt?ne.createElement("a",{className:"c-orange gift",title:`\u5DF2\u5956\u52B1\u91D1\u5E01${Xt}`},ne.createElement("i",{className:"iconfont icon-gift c-orange "}),ne.createElement("span",null,Xt)):null),ne.createElement("div",{className:La?"hidden":"btn-group"},Ve?ne.createElement("a",{onClick:ia,title:"\u7ED9TA\u5956\u52B1\u91D1\u5E01"},ne.createElement("i",{className:"iconfont icon-jiangli"})):null,Ve?ne.createElement("a",{onClick:ca,title:Ea?"\u53D6\u6D88\u9690\u85CF":"\u9690\u85CF\u8BC4\u8BBA"},ne.createElement("i",{className:Ea?"iconfont icon-yincangbiyan":"fa fa-eye"})):null,pn?ne.createElement("a",{onClick:la,title:"\u5220\u9664"},ne.createElement("i",{className:"iconfont icon-shanchu"})):null)),ne.createElement(Sa.Z,{className:"discuss-content",value:wa,highlightKeywords:La}))}var dt=({data:ut,index:Lt,shixunIdentifier:Ve,adminOrOperator:zt,identity:ln,onTopOrDownDiscuss:_t,onPlusDiscuss:Sn,onSetActionType:sn,onSetRewardData:Kt,user:tn,isDelete:zn,activeDiscussIndex:Bn,onReplyDiscuss:La,onSetActiveDiscussIndex:Un,params:Fa,keywords:pn})=>{const{content:wa,children:Ea,game_url:Ca,hidden:Xt,id:na,position:ia,praise_count:ca,reward:la,sticky:Aa,time:ka,user_praise:Hn,game_passed:kn,delete_comment_alert:Da,author:Na,shixun_name:Ga,manage:Va}=ut;function Za(){Un(na)}function _a(){_t(na,!Aa,Lt)}function ua(){Sn(na,!Hn,Lt)}function Pa(){Kt({id:na,index:Lt,user_id:Na.user_id})}function ya(){if(Da){Oe.default.info({title:"\u63D0\u793A",content:ne.createElement("div",{className:"tc"}," ","\u8BE5\u6761\u8BC4\u8BBA\u6765\u81EA\u300A",Ga,"\u300B\u5B9E\u8DF5\u9879\u76EE\uFF0C\u60A8\u4E0D\u662F\u8BE5\u5B9E\u8DF5\u9879\u76EE\u7684\u7BA1\u7406\u8005\uFF0C\u4E0D\u80FD\u5220\u9664\u8BC4\u8BBA\uFF01"),onOk(){}});return}sn({id:na,index:Lt,type:"delete-discuss",message:"\u786E\u5B9A\u8981\u5220\u9664\u8BE5\u6761\u56DE\u590D\u5417"})}function $a(){sn({id:na,index:Lt,params:{hidden:Xt?"0":"1",container_identifier:Ve},type:"hidden-discuss",message:Xt?"\u786E\u5B9A\u8981\u53D6\u6D88\u9690\u85CF\u8BE5\u6761\u56DE\u590D\u5417":"\u786E\u5B9A\u8981\u9690\u85CF\u8BE5\u6761\u56DE\u590D\u5417"})}const Ya=va=>{let{nodeName:bn,src:cn}=va.target;bn==="IMG"&&(gt.Z.publish("preview-image",cn),console.log("src:",cn))};return ne.createElement("div",{className:"discuss-item-container",key:na},ne.createElement("a",{href:`/users/${Na.login}`,target:"_blank"},ne.createElement("img",{alt:"\u7528\u6237\u5934\u50CF",height:"50",src:`${ye.Z.IMG_SERVER}/images/${Na.image_url}`,width:"50"})),ne.createElement("section",null,ne.createElement("div",{className:"discuss-info"},ne.createElement("a",{href:`/users/${Na.login}`,target:"_blank"},Na.name),ne.createElement("span",{className:"grey"},ka),ia?ne.createElement("span",{className:"c-green"}," [\u7B2C",ia,"\u5173] "):null,Ca?ne.createElement("a",{href:Ca,target:"_blank",className:"view-code",title:"\u70B9\u51FB\u67E5\u770BTA\u7684\u4EE3\u7801\u9875\u9762"},"\u67E5\u770B"):null,la?ne.createElement("a",{className:"c-orange gift",title:`\u5DF2\u5956\u52B1\u91D1\u5E01${la}`},ne.createElement("i",{className:"iconfont icon-gift c-orange "}),ne.createElement("span",null,la)):null,ln<=5?ne.createElement("span",{style:{flex:"1",textAlign:"right",color:kn===1?"#29bd8b":""}},kn||kn===0?kn===1?"\u5DF2\u901A\u5173":"\u672A\u901A\u5173":""):null),ne.createElement("div",{onClick:Ya},ne.createElement(Sa.Z,{className:"discuss-content",value:wa,highlightKeywords:pn})),Ea&&Ea.length>0?ne.createElement("div",{className:"reply-discuss-container",onClick:Ya},Ea.map((va,bn)=>ne.createElement(St,{key:va.id,data:va,index:bn,deleteCommentAlert:Da,shixunName:Ga,shixunIdentifier:Ve,adminOrOperator:zt,user:tn,isDelete:zn,onSetRewardData:Kt,onSetActionType:sn,parentDiscussIndex:Lt,keywords:pn}))):null,ne.createElement("div",{className:pn?"hidden":"btn-group"},zt?ne.createElement("a",{onClick:Pa,title:"\u7ED9TA\u5956\u52B1\u91D1\u5E01"},ne.createElement("i",{className:"iconfont icon-jiangli"})):null,zt?ne.createElement("a",{onClick:$a,title:Xt?"\u53D6\u6D88\u9690\u85CF":"\u9690\u85CF\u8BC4\u8BBA"},ne.createElement("i",{className:Xt?"iconfont icon-yincangbiyan":"fa fa-eye"})):null,Va&&(!Ea||Ea.length==0)&&ne.createElement("a",{onClick:ya,title:"\u5220\u9664"},ne.createElement("i",{className:"iconfont icon-shanchu"})),ne.createElement("a",{onClick:Za,title:"\u56DE\u590D"},ne.createElement("i",{className:"iconfont icon-huifu1"})),ne.createElement("a",{onClick:ua,className:Hn?"c-orange":""},ne.createElement("i",{className:Hn?"iconfont icon-dianzan mr3":"iconfont icon-dianzan-xian mr3 "}),ne.createElement("span",null,ca||""))),ne.createElement(_n,{id:na,params:Fa,activeDiscussIndex:Bn,onReplyDiscuss:La})))},gn=Object.defineProperty,Mn=Object.defineProperties,Dn=Object.getOwnPropertyDescriptors,xa=Object.getOwnPropertySymbols,ea=Object.prototype.hasOwnProperty,Yn=Object.prototype.propertyIsEnumerable,ga=(ut,Lt,Ve)=>Lt in ut?gn(ut,Lt,{enumerable:!0,configurable:!0,writable:!0,value:Ve}):ut[Lt]=Ve,Gt=(ut,Lt)=>{for(var Ve in Lt||(Lt={}))ea.call(Lt,Ve)&&ga(ut,Ve,Lt[Ve]);if(xa)for(var Ve of xa(Lt))Yn.call(Lt,Ve)&&ga(ut,Ve,Lt[Ve]);return ut},ze=(ut,Lt)=>Mn(ut,Dn(Lt)),Wt=(ut,Lt,Ve)=>new Promise((zt,ln)=>{var _t=Kt=>{try{sn(Ve.next(Kt))}catch(tn){ln(tn)}},Sn=Kt=>{try{sn(Ve.throw(Kt))}catch(tn){ln(tn)}},sn=Kt=>Kt.done?zt(Kt.value):Promise.resolve(Kt.value).then(_t,Sn);sn((Ve=Ve.apply(ut,Lt)).next())});const fn={showRewardDialog:!1,data:null,page:1,loading:!1,actionType:null,activeDiscussIndex:null};function un(ut,Lt){switch(Lt.type){case wn.tD:return ze(Gt({},ut),{loading:!0});case wn.RS:return ze(Gt({},ut),{showRewardDialog:!0});case wn.t2:return ze(Gt({},ut),{showRewardDialog:!1});case wn.GR:return Gt(Gt({},ut),Lt.payload);case wn.u8:return Gt(Gt({},ut),Lt.payload);case wn.rM:return Gt(Gt({},ut),Lt.payload);case wn.yS:return Gt(Gt({},ut),Lt.payload);case wn.Vn:return Gt(Gt({},ut),Lt.payload);case wn.SX:return Gt(Gt({},ut),Lt.payload);default:throw new Error}}var vn=({shixunIdentifier:ut,identity:Lt,activeIndex:Ve,user:zt,isShixunDetail:ln=!1,isDelete:_t,getTypeNumber:Sn,params:sn,getData:Kt,isNotDiscuss:tn,keywords:zn,setTypeCount:Bn})=>{const[La,Un]=(0,ne.useReducer)(un,fn),{page:Fa,loading:pn,data:wa,actionType:Ea,showRewardDialog:Ca,activeDiscussIndex:Xt}=La,na=(0,ne.useRef)(),ia=(0,ne.useRef)();function ca(va){return Wt(this,null,function*(){if(!pn)try{Un({type:wn.tD});const bn=yield(0,wt.Mu)({coursesId:sn==null?void 0:sn.pathId,page:va,keywords:zn});Bn(bn==null?void 0:bn.disscuss_count),Un({type:wn.GR,payload:{activeDiscussIndex:null,page:va,data:bn,loading:!1}})}catch(bn){console.log(bn)}})}function la(va){document.body.scrollIntoView(),ca(va)}function Aa(va,bn,cn){return Wt(this,null,function*(){try{const Cn=yield Ia(va,bn);ya[cn].user_praise=bn,ya[cn].praise_count=Cn.praise_count,Un({type:wn.rM,payload:{data:ze(Gt({},wa),{comments:ya})}})}catch(Cn){console.log(Cn)}})}function ka(va,bn,cn){return Wt(this,null,function*(){try{yield oa(va,bn),ya[cn].sticky=bn,Un({type:wn.u8,payload:{data:ze(Gt({},wa),{comments:ya})}})}catch(Cn){console.log(Cn)}})}function Hn(){Un({type:wn.yS,payload:{actionType:null}})}function kn(){return Wt(this,null,function*(){const{id:va,params:bn,type:cn,index:Cn,parentDiscussIndex:xn}=Ea;if(cn==="hidden-discuss"&&(yield ba(va,bn),xn?ya[xn].children[Cn].hidden=bn.hidden==1:ya[Cn].hidden=bn.hidden==1,Un({type:wn.yS,payload:{actionType:null,data:ze(Gt({},wa),{comments:ya})}})),cn==="delete-discuss"){if(yield Ua(va),xn||xn===0){let ma=ya[xn].children;for(let xt=ma.length-1;xt>=0;xt--)if(ma[xt].id===va){ma.splice(xt,1);break}ya[xn].children=ma}else for(let ma=ya.length-1;ma>=0;ma--)if(ya[ma].id===va){ya.splice(ma,1);break}Un({type:wn.yS,payload:{actionType:null,data:ze(Gt({},wa),{comments:ya})}})}})}function Da(va){Un({type:wn.yS,payload:{actionType:va}})}function Na(){Un({type:wn.t2})}function Ga(){return Wt(this,null,function*(){const{id:va,index:bn,score:cn,user_id:Cn,parentDiscussIndex:xn}=na.current,ma=yield za(va,{container_type:"Discusses",score:cn,user_id:Cn});xn?ya[xn].children[bn].reward=ma.code:ya[bn].reward=ma.code,Un({type:wn.Vn,payload:{showRewardDialog:!1,data:ze(Gt({},wa),{comments:ya})}}),na.current=null})}function Va(va){na.current=va,Un({type:wn.RS})}function Za(va){na.current.score=va}function _a(va,bn){return Wt(this,null,function*(){try{yield Oa(va,bn),ca(Fa),Kt()}catch(cn){console.log(cn)}})}function ua(va){Un(Xt===va?{type:wn.SX,payload:{activeDiscussIndex:null}}:{type:wn.SX,payload:{activeDiscussIndex:va}})}if((0,ne.useEffect)(()=>{function va(){return Wt(this,null,function*(){Ve===3&&!wa&&ut&&(yield ca(Fa))})}va()},[sn.pathId,zn]),(0,ne.useEffect)(()=>{ca()},[zn]),!wa)return!ln&&ne.createElement(dn.Z,null);const{disscuss_count:Pa,comments:ya,all:$a,can_hidden:Ya}=wa;return ne.createElement(ne.Fragment,null,ne.createElement("div",{className:"discuss-container discuss-warp-container",ref:ia},!ln&&pn?ne.createElement(dn.Z,null):null,Pa===0?ne.createElement("div",{style:{display:"flex"}},ne.createElement(mn.Z,null)):null,(0,Le.bg)()&&!tn&&!zn&&ne.createElement(ra,{getTypeNumber:Sn,upDataList:ca,page:Fa,user:zt,params:sn,keywords:zn}),ne.createElement("aside",{className:"bg-white"},ya==null?void 0:ya.map((va,bn)=>ne.createElement(dt,{user:zt,key:va.id,data:va,index:bn,identity:Lt,onPaginationChange:la,shixunIdentifier:ut,isDelete:_t,onSetActionType:Da,onTopOrDownDiscuss:ka,adminOrOperator:Ya,onPlusDiscuss:Aa,onSetRewardData:Va,activeDiscussIndex:Xt,onSetActiveDiscussIndex:ua,onReplyDiscuss:_a,keywords:zn}))),Pa>10?ne.createElement("div",{className:"pagination-container tc"},ne.createElement(ce.Z,{showQuickJumper:!0,showSizeChanger:!1,onChange:la,current:Fa,total:Pa})):null),ne.createElement(on.Z,null,ne.createElement(Oe.default,{centered:!0,title:"\u63D0\u793A",open:!!Ea,onOk:kn,onCancel:Hn},ne.createElement("p",null,Ea?Ea.message:"")),ne.createElement(Oe.default,{centered:!0,width:400,title:"\u5956\u52B1\u8BBE\u7F6E",open:Ca,onCancel:Na,onOk:Ga},ne.createElement(In.Z,{placeholder:"\u8BF7\u8F93\u5165\u5956\u52B1\u7684\u91D1\u5E01\u6570\u91CF",min:1,onChange:Za,style:{width:"228px"}}))))},Ce=Object.defineProperty,st=Object.defineProperties,vt=Object.getOwnPropertyDescriptors,At=Object.getOwnPropertySymbols,Vt=Object.prototype.hasOwnProperty,Mt=Object.prototype.propertyIsEnumerable,jt=(ut,Lt,Ve)=>Lt in ut?Ce(ut,Lt,{enumerable:!0,configurable:!0,writable:!0,value:Ve}):ut[Lt]=Ve,Bt=(ut,Lt)=>{for(var Ve in Lt||(Lt={}))Vt.call(Lt,Ve)&&jt(ut,Ve,Lt[Ve]);if(At)for(var Ve of At(Lt))Mt.call(Lt,Ve)&&jt(ut,Ve,Lt[Ve]);return ut},Pn=(ut,Lt)=>st(ut,vt(Lt)),Rn=(ut,Lt)=>{var Ve={};for(var zt in ut)Vt.call(ut,zt)&&Lt.indexOf(zt)<0&&(Ve[zt]=ut[zt]);if(ut!=null&&At)for(var zt of At(ut))Lt.indexOf(zt)<0&&Mt.call(ut,zt)&&(Ve[zt]=ut[zt]);return Ve},pt=(ut,Lt,Ve)=>new Promise((zt,ln)=>{var _t=Kt=>{try{sn(Ve.next(Kt))}catch(tn){ln(tn)}},Sn=Kt=>{try{sn(Ve.throw(Kt))}catch(tn){ln(tn)}},sn=Kt=>Kt.done?zt(Kt.value):Promise.resolve(Kt.value).then(_t,Sn);sn((Ve=Ve.apply(ut,Lt)).next())});const Nn=ut=>{var Lt=ut,{classroomList:Ve,user:zt,globalSetting:ln,loading:_t,dispatch:Sn}=Lt,sn=Rn(Lt,["classroomList","user","globalSetting","loading","dispatch"]),Kt;const tn=(0,Pe.useParams)(),{detailTopBanner:zn}=Ve,[Bn,La]=(0,ne.useState)([]),[Un,Fa]=(0,ne.useState)({}),[pn,wa]=(0,ne.useState)(-1),[Ea,Ca]=(0,ne.useState)(!1),[Xt,na]=(0,ne.useState)({name:"",is_jupyter:!1}),[ia]=Ye.default.useForm(),[ca]=Ye.default.useForm(),[la]=Ye.default.useForm(),[Aa,ka]=(0,ne.useState)(!1),[Hn,kn]=(0,ne.useState)(),[Da,Na]=(0,ne.useState)([]),[Ga,Va]=(0,ne.useState)(),[Za,_a]=(0,ne.useState)("All"),[ua,Pa]=(0,ne.useState)(!0),[ya,$a]=(0,ne.useState)(0),[Ya,va]=(0,ne.useState)(""),[bn,cn]=(0,ne.useState)(0),[Cn,xn]=(0,ne.useState)(!1),[ma,xt]=(0,ne.useState)(""),[Jn,Qn]=(0,ne.useState)([]),[fa,aa]=(0,ne.useState)([{name:"\u5168\u90E8",totalName:"\u8BFE\u7A0B\u5B66\u4E60",type:"All",number:0},{name:"\u5B9E\u8DF5\u9879\u76EE",totalName:"\u5B9E\u8DF5\u9879\u76EE",type:"Shixun",number:0},{name:"\u89C6\u9891\u9879\u76EE",totalName:"\u89C6\u9891\u9879\u76EE",type:"VideoItem",number:0},{name:"\u6559\u5B66\u8BFE\u4EF6",totalName:"\u6559\u5B66\u8BFE\u4EF6",type:"Attachment",number:0},{name:"\u8BA8\u8BBA",totalName:"\u8BA8\u8BBA",type:"Discusses",number:0}]),[Ma,ha]=(0,ne.useState)(),[jn,Et]=(0,ne.useState)({}),[Ra,$n]=(0,ne.useState)({}),[Gn,Wn]=(0,ne.useState)(!1),Vn=(0,ne.useRef)();(0,ne.useEffect)(()=>{er()},[tn==null?void 0:tn.coursesId]),(0,ne.useEffect)(()=>{Ve.actionTabs.key==="\u76EE\u5F55\u91CD\u547D\u540D\u6210\u529F"&&er()},[Ve.actionTabs.key]),(0,ne.useEffect)(()=>{Xa()},[Un]),(0,ne.useEffect)(()=>{const Ut=Bn.map(sa=>sa.items);let yn=0;Ut.map(sa=>{sa.map(da=>{new RegExp(Ya,"ig").test(da.name)&&(da.item_type===Za||Za==="All")&&yn++})}),yn>fa.find(sa=>sa.type===Za).number&&(yn=fa.find(sa=>sa.type===Za).number),cn(yn)},[Bn,Za,Ya]),(0,ne.useEffect)(()=>{if(!Vn.current)return;function Ut(){var sa;let da=new ResizeObserver(Ka=>{for(let fr of Ka);});return da.observe((sa=Vn.current)==null?void 0:sa.firstElementChild),da}const yn=Ut();return()=>{var sa,da;(sa=Vn.current)!=null&&sa.firstElementChild&&yn.unobserve((da=Vn.current)==null?void 0:da.firstElementChild)}},[Vn.current,Bn]);const Ja=Ut=>pt(void 0,null,function*(){const yn=yield(0,fe.Ex)(Bt({},Ut));return Bn[pn].items=Ut.list,yn}),Xa=()=>{const{shixuns_count:Ut=0,videos_count:yn=0,pdf_attachments_count:sa=0,disscuss_count:da=0,challenges_count:Ka=0}=Un,fr={All:Ut+yn+sa+Ka,Shixun:Ut,VideoItem:yn,Attachment:sa,Discusses:da,challenges_count:Ka},Gr=fa.map(xr=>Pn(Bt({},xr),{number:fr[xr.type]}));aa(Gr)},qa=Ut=>{Ut=Ut!=null&&Ut.includes(".json")?Ut:`${Ut}.json`,Oe.default.confirm({centered:!0,title:"\u63D0\u793A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",content:ne.createElement("div",{className:"tc font16"},"\u5B9E\u8BAD\u5DF2\u7ECF\u66F4\u65B0\u4E86\uFF0C\u6B63\u5728\u4E3A\u60A8\u91CD\u7F6E!"),onOk:()=>pt(void 0,null,function*(){const yn=yield(0,ht.L8)({url:Ut});if(!yn)return;De.ZP.success("\u91CD\u7F6E\u6210\u529F\uFF0C\u6B63\u5728\u8FDB\u5165\u5B9E\u8BAD\uFF01");const sa=yield(0,a.Ir)({id:yn.shixun_identifier});if(sa!=null&&sa.game_identifier){(0,E.xg)(`/tasks/${sa.game_identifier}`);return}(sa==null?void 0:sa.status)===2?qa(sa==null?void 0:sa.message):(sa==null?void 0:sa.status)===3&&sr(sa==null?void 0:sa.message)})})},sr=Ut=>{Oe.default.confirm({centered:!0,title:"\u63D0\u793A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",content:ne.createElement("div",{className:"tc font16"},"\u76EE\u524D\u8BE5\u5B9E\u8DF5\u9879\u76EE\u5C1A\u5728\u5185\u6D4B\u4E2D\uFF0C\u5C06\u4E8E",Ut,"\u4E4B\u540E\u5F00\u653E\uFF0C\u8C22\u8C22\uFF01")})},dr=()=>{const Ut={shixuns_list:[],items:[]};Cr(Bn.length,Ut),La([...Bn,Ut]),kn(!0)},rr=()=>{pn===Bn.length-1&&Hn&&(Ur(),La(Bn.filter((Ut,yn)=>yn!==Bn.length-1))),er(),wa(-1)},Cr=(Ut,yn)=>{console.log("handleEdit============",Ut,yn),zr()&&(wa(Ut),ia.setFieldsValue({name:yn.stage_name,description:yn.stage_description}))},mr=Ut=>{setTimeout(()=>{document.documentElement.scrollTop=ya},300),Ut!=="\u53D6\u6D88"&&er()},Ar=Ut=>{Ut.map(yn=>(yn.type="Attachment",yn.id=yn.id||yn.response.id,yn.url=`/api/attachments/${yn.id||yn.response.id}`,yn)),er()},Rr=Ut=>pt(void 0,null,function*(){var yn,sa;if(Ma){const da=yield(0,wt.M2)(Pn(Bt({id:Ma==null?void 0:Ma.id,course_id:tn.coursesId},Ut),{video_id:(Ut==null?void 0:Ut.video_id)||((yn=Ma==null?void 0:Ma.video_item)==null?void 0:yn.video_id),link:(Ut==null?void 0:Ut.link)||((sa=Ma==null?void 0:Ma.video_item)==null?void 0:sa.link)}));return De.ZP.success(da.message||"\u4FEE\u6539\u6210\u529F"),Va(!1),er(),Et({}),da}else{const da=Bt({course_id:tn.coursesId},Ut);jn.isAddxiaojie?(da.parent_id=jn.stage_item_id,da.id=jn.stage_id):da.id=Bn[pn].stage_id;const Ka=yield(0,fe.A2)(da);return Ka.id&&(Va(!1),er()),Et({}),Ka}}),er=(Ut=!0)=>pt(void 0,null,function*(){Pa(!0);const yn=yield(0,fe.R7)({coursesId:tn==null?void 0:tn.coursesId});yn!=null&&yn.stages&&La(yn!=null&&yn.stages?[...yn==null?void 0:yn.stages]:[]),Fa(yn?Bt({},yn):{}),Pa(!1),Ur(),Ut&&wa(-1)}),Ir=(Ut,yn)=>pt(void 0,null,function*(){var sa;if(!(Ut!=null&&Ut.name))return De.ZP.info("\u8BF7\u5148\u8F93\u5165\u7AE0\u8282\u540D\u79F0\uFF01");Ur();const da=[];if((sa=Bn[pn][yn||"shixuns_list"])==null||sa.map(Ka=>{da.push({type:Ka.item_type,id:Ka.id})}),Hn){const Ka=yield(0,fe.CI)(Pn(Bt({},Ut),{coursesId:tn.coursesId,list:da}));Ka&&(Bn[pn]=Bt(Bt({},Bn[pn]),Ka))}else{const Ka=yield(0,fe.xn)(Pn(Bt({},Ut),{id:Bn[pn].stage_id,type:Array.from(new Set(da.map(fr=>fr.type))),list:da}));Ka&&(Bn[pn]=Bt(Bt({},Bn[pn]),Ka))}}),Bo=(Ut,yn,sa)=>{const da=Array.from(Ut),[Ka]=da.splice(yn,1);return da.splice(sa,0,Ka),da},Fo=(Ut,yn)=>{Oe.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u786E\u5B9A\u5220\u9664\u8BE5\u5B9E\u8BAD\u5417\uFF1F",onOk:()=>{Bn[pn][yn||"shixuns_list"].splice(Ut,1),De.ZP.success("\u5220\u9664\u6210\u529F"),La([...Bn]),Ir(ia.getFieldsValue(),yn)}})},Do=Ut=>{Oe.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u786E\u5B9A\u5220\u9664\u8BE5\u7AE0\u8282\u5417\uFF1F",onOk:()=>pt(void 0,null,function*(){(yield(0,fe._V)({id:Ut})).status===0&&(wa(-1),De.ZP.success("\u5220\u9664\u6210\u529F"),er())})})},jr=Ut=>{Oe.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u786E\u5B9A\u5220\u9664\u8BE5\u7AE0\u8282\u5417\uFF1F",onOk:()=>pt(void 0,null,function*(){(yield(0,fe.WW)(Bt({},Ut))).status===0&&(wa(-1),De.ZP.success("\u5220\u9664\u6210\u529F"),er())})})},Kr=()=>{na({name:"",is_jupyter:!1}),ca.setFieldsValue({name:"",is_jupyter:!1}),Ca(!1),Et({})},Io=(Ut,yn)=>{if(!Ut.destination)return;const sa=Bo(Bn[pn][yn||"shixuns_list"],Ut.source.index,Ut.destination.index);Bn[pn][yn||"shixuns_list"]=sa,La([...Bn]),Ir(ia.getFieldsValue(),yn)},or=Ut=>pt(void 0,null,function*(){if(!zr())return;(yield(0,fe.ms)({id:Ut})).status===0&&er()}),Oo=Ut=>pt(void 0,null,function*(){if(!zr())return;(yield(0,fe.yy)({id:Ut})).status===0&&er()}),zr=()=>pn!==-1?(Oe.default.info({centered:!0,width:400,okText:"\u77E5\u9053\u5566",icon:null,title:"\u63D0\u793A",content:ne.createElement("div",{className:"tc font14"},"\u5F53\u524D\u5355\u5143\u6709\u672A\u4FDD\u5B58\u7684\u4FEE\u6539\u8BB0\u5F55\uFF0C\u8BF7\u5148\u4FDD\u5B58\uFF01"),onOk:()=>{const Ut=`Edit_${pn}`;let yn=document.getElementById(Ut);yn&&setTimeout(()=>yn.scrollIntoView({block:"start",behavior:"smooth"}))}}),!1):!0,so=()=>{Ir(ia.getFieldsValue())},Ur=()=>{kn(!1)},Or=Ut=>pt(void 0,null,function*(){var yn,sa;if((Ut==null?void 0:Ut.item_type)==="VideoItem"){const da=yield(0,rt.TJ)({id:Ut==null?void 0:Ut.stage_item_id,course_id:tn.coursesId});ha(da),(Ut==null?void 0:Ut.item_type)==="VideoItem"?Va(!0):(la.setFieldsValue({files:[{uid:(yn=da==null?void 0:da.attachment)==null?void 0:yn.id,name:da==null?void 0:da.name,response:{id:(sa=da==null?void 0:da.attachment)==null?void 0:sa.id}}]}),ka(!0))}else if((Ut==null?void 0:Ut.item_type)==="Attachment"){let da;Oe.default.confirm({title:"\u4FEE\u6539\u8BFE\u4EF6\u540D\u79F0",icon:null,centered:!0,okText:"\u786E\u8BA4\u4FEE\u6539",cancelText:"\u53D6\u6D88",content:ne.createElement(ke.default,{value:da,onChange:Ka=>{da=Ka.target.value},placeholder:"\u8BF7\u8F93\u5165\u8BFE\u4EF6\u540D\u79F0"}),onOk:()=>pt(void 0,null,function*(){var Ka,fr;if(!da)return De.ZP.info("\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A"),Promise.reject();yield(0,ge.ZP)(`/api/attachments/${Ut==null?void 0:Ut.id}.json`,{method:"put",body:{name:da+((fr=Ut==null?void 0:Ut.name)==null?void 0:fr.substr((Ka=Ut==null?void 0:Ut.name)==null?void 0:Ka.lastIndexOf(".")))}}),da="",er(!1)})})}else{let da;Oe.default.confirm({title:"\u4FEE\u6539\u5C0F\u8282\u540D\u79F0",icon:null,centered:!0,okText:"\u786E\u8BA4\u4FEE\u6539",cancelText:"\u53D6\u6D88",content:ne.createElement(ke.default,{value:da,defaultValue:Ut==null?void 0:Ut.name,maxLength:40,onChange:Ka=>{da=Ka.target.value},placeholder:"\u8BF7\u8F93\u5165\u5C0F\u8282\u540D\u79F0"}),onOk:()=>pt(void 0,null,function*(){if(!da.replaceAll(" ",""))return De.ZP.info("\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A"),Promise.reject();let Ka=null;(Ut==null?void 0:Ut.item_type)==="CourseStage"?Ka=yield(0,ge.ZP)(`/api/course_stages/${Ut==null?void 0:Ut.id}.json`,{method:"put",body:{name:da,id:Ut==null?void 0:Ut.id}}):Ka=yield(0,ge.ZP)(`/api/stages/${Ut==null?void 0:Ut.stage_id}/update_item_name.json`,{method:"put",body:{name:da,item_id:Ut==null?void 0:Ut.id,source:"CourseStage"}}),(Ka==null?void 0:Ka.status)===0&&De.ZP.success("\u4FEE\u6539\u6210\u529F\uFF01"),da="",er(!1)})})}}),uo=(Ut,yn)=>{var sa,da,Ka,fr,Gr;if(Za!=="All"&&!((sa=Ut.stage_tag)!=null&&sa.includes(Za)))return null;const xr=Qa=>{if(console.log("\u65B0\u5EFA\u5B9E\u8DF5\u9879\u76EE",Qa,Bn),Qa.isAddxiaojie)Et(Pn(Bt({},Qa),{stage_id:Ut.stage_id}));else if(!Bn[pn].stage_id)return Et({}),De.ZP.info("\u8BF7\u5148\u8F93\u5165\u7AE0\u8282\u540D\u79F0\uFF01");(0,mt.tJ)(Sn)&&(0,mt.xY)()&&(Ca(!0),ca.setFieldsValue({name:"",is_jupyter:!1}))},mo=Qa=>{var vr,hr;if(console.log("\u9009\u7528\u5B9E\u8DF5\u9879\u76EE",Qa,Bn),Qa.isAddxiaojie)Et(Pn(Bt({},Qa),{stage_id:Ut.stage_id}));else if(!Bn[pn].stage_id)return De.ZP.info("\u8BF7\u5148\u8F93\u5165\u7AE0\u8282\u540D\u79F0\uFF01");$a(document.documentElement.scrollTop),Sn({type:"classroomList/setActionTabs",payload:{key:"\u9009\u7528\u5B9E\u8DF5\u9879\u76EE",id:((vr=Bn[pn])==null?void 0:vr.stage_id)||Ut.stage_id,parent_id:Qa.stage_item_id,course_id:tn.coursesId}}),Na((hr=Ut==null?void 0:Ut.shixuns_list)==null?void 0:hr.map(wr=>wr.id))},Vr=Qa=>{var vr,hr;if(console.log("\u65B0\u5EFA\u89C6\u9891\u9879\u76EE",Qa,Bn),Qa.isAddxiaojie)Et(Pn(Bt({},Qa),{stage_id:Ut.stage_id}));else if(!Bn[pn].stage_id)return De.ZP.info("\u8BF7\u5148\u8F93\u5165\u7AE0\u8282\u540D\u79F0\uFF01");((vr=zt.userInfo)!=null&&vr.admin||(hr=zt.userInfo)!=null&&hr.is_teacher&&(0,mt.O5)())&&Va(!0)},fo=Qa=>{if(console.log("\u65B0\u5EFA\u6559\u5B66\u8BFE\u4EF6",Qa,Bn),Qa.isAddxiaojie)Et(Pn(Bt({},Qa),{stage_id:Ut.stage_id}));else if(!Bn[pn].stage_id)return De.ZP.info("\u8BF7\u5148\u8F93\u5165\u7AE0\u8282\u540D\u79F0\uFF01");(0,mt.tJ)(Sn)&&(0,mt.xY)()&&(ka(!0),la.resetFields())};return ne.createElement("section",{key:yn,className:"bg-white pt30 mb20 pb20 pl10 pr10"},ne.createElement("aside",{className:"pl20 pr20"},ne.createElement(be.Z,{gutter:[5,20],align:"middle",style:{lineHeight:"16px"}},ne.createElement(et.Z,{flex:"22px"},ne.createElement("span",{className:te.icons},ne.createElement("i",{className:"iconfont icon-zhangjie2 font18"}))),ne.createElement(et.Z,{flex:1,className:"tl font18 bold c-grey-333"},Ut.stage_name||`\u7B2C${Bn==null?void 0:Bn.length}\u90E8\u5206`),ne.createElement(et.Z,null,(0,Le.GJ)()&&pn===yn&&!Hn&&ne.createElement(Qe.Z,{title:"\u5220\u9664"},ne.createElement("span",{onClick:()=>{Do(Ut.stage_id)},className:"iconfont icon-shanchu c-grey-c"})),(0,Le.GJ)()&&pn!==yn&&Za==="All"&&ne.createElement(be.Z,{wrap:!1,align:"middle",gutter:5},(0,Le.GJ)()&&ne.createElement(et.Z,null,ne.createElement(Qe.Z,{title:"\u65B0\u5EFA\u6587\u4EF6\u5939"},ne.createElement("i",{className:"iconfont icon-tianjia c-light-green font20 current",onClick:()=>{Wn(!0),$n({val:Ut.stage_id,list:[]})}})," ")),yn>0&&ne.createElement(et.Z,null,ne.createElement(Qe.Z,{title:"\u5411\u4E0A\u79FB\u52A8"},ne.createElement("i",{className:"iconfont icon-xiangshangyi c-light-green font17 current",onClick:()=>or(Ut.stage_id)}))),ynOo(Ut.stage_id)}))),!Hn&&ne.createElement(et.Z,null,ne.createElement(Qe.Z,{title:"\u7F16\u8F91"},ne.createElement("i",{className:"iconfont icon-bianjidaibeijing c-light-green font17 current",onClick:()=>Cr(yn,Ut)})))))),ne.createElement(be.Z,{gutter:[5,20]},ne.createElement(et.Z,{span:24},ne.createElement("div",{className:"pt10 pb10",dangerouslySetInnerHTML:{__html:(da=Ut.stage_description)==null?void 0:da.replace(/[\r|\n]/gi,"
")}})))),pn===yn&&ne.createElement("div",{className:"pl20 pr20"},ne.createElement("aside",null,ne.createElement(Ye.default.Item,{name:"name",label:"\u540D\u79F0",rules:[{required:!0,message:"\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A"}]},ne.createElement(ke.default,{size:"large",maxLength:60,placeholder:`\u8BF7\u8F93\u5165\u7B2C${Bn==null?void 0:Bn.length}\u9636\u6BB5\u540D\u79F0,\u6700\u5927\u9650\u523660\u4E2A\u5B57\u7B26`,onBlur:so})),ne.createElement(Ye.default.Item,{name:"description",label:"\u63CF\u8FF0",rules:[{required:!0,message:"\u63CF\u8FF0\u4E0D\u80FD\u4E3A\u7A7A"}]},ne.createElement(ke.default.TextArea,{rows:5,maxLength:300,placeholder:`\u8BF7\u8F93\u5165\u7B2C${Bn==null?void 0:Bn.length}\u9636\u6BB5\u63CF\u8FF0`,onBlur:so}))),ne.createElement("aside",{style:{display:"flex",justifyContent:"space-evenly"}},ne.createElement($e.ZP,{size:"large",className:"mt10",onClick:xr},ne.createElement("span",{className:"iconfont icon-tianjiafangda mr5 "}),"\u65B0\u5EFA\u5B9E\u8DF5\u9879\u76EE"),ne.createElement("br",null),ne.createElement($e.ZP,{size:"large",className:"mt10",onClick:mo},ne.createElement("span",{className:"iconfont icon-tianjiafangda mr5"}),"\u9009\u7528\u5B9E\u8DF5\u9879\u76EE"),ne.createElement("br",null),ne.createElement(ne.Fragment,null,ne.createElement($e.ZP,{size:"large",className:"mt10",onClick:Vr},ne.createElement("span",{className:"iconfont icon-tianjiafangda mr5 "}),"\u65B0\u5EFA\u89C6\u9891\u9879\u76EE"),ne.createElement("br",null)),ne.createElement($e.ZP,{size:"large",className:"mt10",onClick:fo},ne.createElement("span",{className:"iconfont icon-tianjiafangda mr5 "}),"\u65B0\u5EFA\u6559\u5B66\u8BFE\u4EF6"),ne.createElement("br",null)),ne.createElement("aside",{className:"c-light-black mt10 pb20",id:`Edit_${yn}`},"\u4E0B\u9762\u5B9E\u8BAD\u53EF\u4EE5\u901A\u8FC7\u62D6\u62FD\u8FDB\u884C\u6392\u5E8F\u8C03\u6574")),!!((Ka=Ut.attachments_list)!=null&&Ka.length)&&ne.createElement(ot.Z,null),ne.createElement("aside",{className:te.shixuns},pn===yn?ne.createElement(y.Z5,{onDragEnd:Qa=>Io(Qa,"attachments_list")},ne.createElement(y.bK,{droppableId:"droppable-id2"},(Qa,vr)=>{var hr;return ne.createElement("div",Pn(Bt({className:"mt20",ref:Qa.innerRef},Qa.droppableProps),{onScroll:()=>{}}),(hr=Ut.attachments_list)==null?void 0:hr.map(function(wr,Lr){return ne.createElement(y._l,{draggableId:`${wr.id.toString()}-${yn}-${Lr}`,index:Lr,key:wr.id},(Xr,vi)=>ne.createElement("div",Bt(Bt({ref:Xr.innerRef},Xr.draggableProps),Xr.dragHandleProps),ne.createElement(be.Z,{className:"list-item-row",align:"middle",key:Lr,gutter:[5,10]},ne.createElement(et.Z,null,ne.createElement("i",{className:"iconfont icon-kejian1 c-cyan-blue font20"})),ne.createElement(et.Z,{flex:"1"},ne.createElement("a",{className:"c-grey-333",href:ye.Z.IMG_SERVER+wr.url,target:"_blank"},wr.name)),ne.createElement(et.Z,null,pn===yn&&ne.createElement("div",null,ne.createElement(Qe.Z,{title:"\u5220\u9664"},ne.createElement("span",{onClick:()=>{Fo(Lr,"attachments_list")},className:"iconfont icon-shanchu c-grey-c"})))))))}))})):ne.createElement("div",{className:"mt20"},(fr=Ut.attachments_list)==null?void 0:fr.map(function(Qa,vr){return ne.createElement("div",null,ne.createElement(be.Z,{className:"list-item-row",align:"middle",key:vr,gutter:[5,10]},ne.createElement(et.Z,null,ne.createElement("i",{className:"iconfont icon-kejian1 c-cyan-blue font20"})),ne.createElement(et.Z,null,ne.createElement("a",{className:"c-grey-333",href:ye.Z.IMG_SERVER+Qa.url,target:"_blank"},Qa.name))))}))),!!((Gr=Ut.items)!=null&&Gr.length)&&ne.createElement(en,{visibleType:Za,data:[...Ut.items],stage_id:Ut.stage_id,disabled:pn!==yn,deleteStages:jr,editVidoItem:Or,updateSort:Ja,subject_id:Un==null?void 0:Un.subject_id,course_id:tn==null?void 0:tn.coursesId,index:yn,cust_seq:!0,isShowSchedule:Un==null?void 0:Un.is_show_schedule,getData:er,showVideoPlay:!0,handleNewProject:xr,handleSelectionProject:mo,handleNewVideo:Vr,handleNewCourseWare:fo,handleNewFolder:Qa=>{Wn(!0),$n(Pn(Bt({},Qa),{val:Ut.stage_id,list:[]}))}}),pn===yn&&ne.createElement("aside",{className:te.buttons},ne.createElement($e.ZP,{onClick:rr,type:"primary",size:"large",ghost:!0},"\u53D6\u6D88"),ne.createElement($e.ZP,{onClick:rr,size:"large",type:"primary"},"\u4FDD\u5B58")))},co=Ut=>{if(Ut){let sa=0;for(var yn=0;yn127||Ut.charCodeAt(yn)==94?sa+=2:sa++;return sa}else return 0},No=()=>{var Ut;for(let yn in Bn)co((Ut=Bn[yn])==null?void 0:Ut.stage_description)>424?Bn[yn].showExpansion=!0:Bn[yn].showExpansion=!1;return Bn==null?void 0:Bn.map(function(yn,sa){return ne.createElement("div",{key:sa},uo(yn,sa))})},{start_date:To,course_end:Mo}=zn,Ro=Mo||x()(x()().format("L")).valueOf(){};return ne.createElement("section",{className:"mb50"},ne.createElement(rn,{data:Un,dispatch:Sn,onReloadData:er}),ne.createElement("aside",{style:{justifyContent:"space-between",display:"flex",background:"#fff",alignItems:"center",paddingRight:"20px"}},ne.createElement("div",{className:te.actionTabs},fa.map(function(Ut,yn){if(Bn!=null&&Bn.some(sa=>{var da;return(da=sa.stage_tag)==null?void 0:da.includes(Ut.type)})||Ut.type=="All"||Ut.type==="Discusses")return ne.createElement("div",{key:yn,className:Ut.type===Za?te.tabActive:te.tab,onClick:()=>{pn===-1?(_a(Ut.type),wa(-1)):De.ZP.warning("\u8BF7\u5148\u53D6\u6D88\u7F16\u8F91\u72B6\u6001")}},ne.createElement("div",{className:te.s1},Ut.name))})),(0,Le.Rb)()&&ne.createElement($e.ZP,{type:"primary",onClick:()=>pt(void 0,null,function*(){if((zn==null?void 0:zn.subject_id)===0){xn(!0);let Ut=yield(0,ge.ZP)(`/api/users/${zt.userInfo.login}/subjects.json`,{method:"get",params:{category:"manage",page:1,per_page:1e3,username:zt.userInfo.login}});Qn(Ut.subjects);return}Oe.default.confirm({title:"\u63D0\u793A",content:"\u540C\u6B65\u5F00\u653E\u8BFE\u7A0B\u8D44\u6E90\u540E\uFF0C\u4F1A\u9020\u6210\u5728\u7EBF\u5B66\u4E60\u5185\u6240\u6709\u8D44\u6E90\u5F3A\u5236\u540C\u6B65\u4E3A\u6700\u65B0\u5F00\u653E\u8BFE\u7A0B\u5185\u5BB9\uFF0C\u662F\u5426\u7EE7\u7EED\u540C\u6B65\uFF1F",okText:"\u540C\u6B65",cancelText:"\u53D6\u6D88",onOk:()=>pt(void 0,null,function*(){(yield(0,ge.ZP)("/api/courses/sync_stages.json",{method:"post",body:{classroom_identifier:tn==null?void 0:tn.coursesId}})).status===0&&er()})})})},(zn==null?void 0:zn.subject_id)===0?"\u5173\u8054\u8BFE\u7A0B":"\u66F4\u65B0")),ne.createElement("div",{className:te.total},"\u5171",ne.createElement("span",null,fa.find(Ut=>Ut.type===Za).number),"\u4E2A",fa.find(Ut=>Ut.type===Za).totalName),ne.createElement(_e.Z,{loading:ua,active:!0,avatar:{size:40},paragraph:{rows:5},className:"mt30"},Za!=="Discusses"&&ne.createElement(ne.Fragment,null,ne.createElement(Ye.default,{form:ia,onFinish:Ir},Bn==null?void 0:Bn.map(function(Ut,yn){return ne.createElement("div",{key:yn},uo(Ut,yn))})),(0,Le.GJ)()&&!Hn&&Za==="All"&&pn===-1&&ne.createElement("div",{className:te.addStage,onClick:dr},ne.createElement("span",{className:te.color4CA},"+\u70B9\u51FB\u65B0\u5EFA\u9636\u6BB5"),"\uFF08\u6DFB\u52A0\u4E00\u4E2A\u6216\u591A\u4E2A\u5B9E\u8BAD/\u89C6\u9891\u9879\u76EE\uFF0C\u7EC4\u6210\u4E00\u4E2A\u9636\u6BB5\uFF09"))),Za==="Discusses"&&ne.createElement("aside",{style:{paddingTop:25,background:"#fff"}},ne.createElement(vn,{activeIndex:3,isNotDiscuss:Ro,getData:er,shixunIdentifier:11,coursesId:tn==null?void 0:tn.coursesId,params:{pathId:tn==null?void 0:tn.coursesId},identity:(Kt=zt.userInfo)==null?void 0:Kt.role,getTypeNumber:Xa,user:zt.userInfo,isShixunDetail:!0})),ne.createElement(Oe.default,{destroyOnClose:!0,centered:!0,title:"\u65B0\u5EFA\u5B9E\u8DF5\u9879\u76EE",open:Ea,onOk:()=>pt(void 0,null,function*(){yield ca.validateFields();const Ut=Bt({course_id:tn.coursesId},Xt);jn.isAddxiaojie?(Ut.parent_id=jn.stage_item_id,Ut.id=jn.stage_id):Ut.id=Bn[pn].stage_id;const yn=yield(0,fe.vf)(Ut);Kr(),yn.id&&(De.ZP.success("\u6DFB\u52A0\u6210\u529F"),mr([yn])),Et({}),er()}),onCancel:Kr},ne.createElement(Ye.default,{form:ca,onValuesChange:Ut=>{na(Bt(Bt({},Xt),Ut))}},ne.createElement(Ye.default.Item,{label:"\u5B9E\u8BAD\u7C7B\u578B",name:"is_jupyter",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u5B9E\u8BAD\u7C7B\u578B"}]},ne.createElement(Ke.ZP.Group,null,ne.createElement(Ke.ZP,{defaultChecked:!0,value:!1},"\u666E\u901A\u5B9E\u8BAD"),ne.createElement(Ke.ZP,{value:!0},"jupyter\u5B9E\u8BAD"))),ne.createElement(Ye.default.Item,{label:"\u5B9E\u8BAD\u540D\u79F0",name:"name",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5B9E\u8BAD\u540D\u79F0"}]},ne.createElement(ke.default,{maxLength:60,suffix:ne.createElement("span",null,Xt.name.length,"/60")})))),ne.createElement(Oe.default,{destroyOnClose:!0,open:Cn,title:"\u5173\u8054\u8BFE\u7A0B",onOk:()=>pt(void 0,null,function*(){if(!ma){De.ZP.info("\u8BF7\u9009\u62E9\u4E00\u95E8\u8BFE\u7A0B\u8FDB\u884C\u5173\u8054");return}(yield(0,ge.ZP)(`/api/courses/${tn.coursesId}/associated_course.json`,{method:"post",body:{subject_id:ma}})).status===0&&(xn(!1),er(),Sn({type:"classroomList/getClassroomTopBanner",payload:{id:tn.coursesId}}),De.ZP.info("\u5173\u8054\u6210\u529F"))}),onCancel:()=>{xn(!1)}},ne.createElement("p",{style:{color:"orange"}},"\u5F53\u5173\u8054\u8BFE\u7A0B\u540E\uFF0C\u5728\u7EBF\u5B66\u4E60\u91CC\u6240\u6709\u7684\u8D44\u6E90\u5F3A\u5236\u540C\u6B65\u4E3A\u8BFE\u7A0B\u5185\u5BB9"),ne.createElement("div",{style:{overflow:"auto",height:300}},ne.createElement(Ke.ZP.Group,{onChange:Ut=>{console.log(Ut),xt(Ut.target.value)}},ne.createElement(se.Z,{direction:"vertical"},Jn.map(Ut=>ne.createElement(Ke.ZP,{value:Ut.id},Ut.name)))))),ne.createElement(Oe.default,{centered:!0,destroyOnClose:!0,title:"\u65B0\u5EFA\u6559\u5B66\u8BFE\u4EF6",open:Aa,onOk:()=>pt(void 0,null,function*(){yield la.validateFields();const Ut=yield la.getFieldsValue(),yn={course_id:tn.coursesId,attachment_ids:Ut.files.map(da=>da.response.id)};jn.isAddxiaojie?(yn.parent_id=jn.stage_item_id,yn.id=jn.stage_id):yn.id=Bn[pn].stage_id,(yield(0,fe.s0)(yn)).status===0&&(De.ZP.success("\u6DFB\u52A0\u6210\u529F"),ka(!1),Ar([...Ut.files])),Et({}),er()}),onCancel:()=>{ka(!1),Et({})}},ne.createElement(Ye.default,{form:la},ne.createElement(Ye.default.Item,{label:"\u8BFE\u4EF6\u5185\u5BB9",name:"files",rules:[{required:!0,message:"\u8BF7\u4E0A\u4F20\u8BFE\u4EF6\u5185\u5BB9"}]},ne.createElement(Fe.Z,{maxSize:100,accept:"application/pdf, .zip, .ppt, .pptx, .png, .jpg, .jpeg, .xlsx, .xls, .doc, .docx",number:10})),ne.createElement(Ye.default.Item,{label:"\u77E5\u8BC6\u6807\u7B7E",name:"test_lyl"},ne.createElement(ke.default,{onClick:()=>ur})),ne.createElement("div",null,ne.createElement("span",{className:"c-red"},"\u6CE8\u610F\uFF1A"),ne.createElement("br",null),"1\u3001\u4E0A\u4F20\u8BFE\u4EF6\uFF0C\u5373\u8868\u793A\u60A8\u5DF2\u540C\u610F",ne.createElement(Pe.Link,{target:"_blank",to:"/users/mmipb3zhj/videos/protocol"},"\u4E0A\u4F20\u5185\u5BB9\u534F\u8BAE"),"\uFF0C\u4E0D\u5F97\u4E0A\u4F20\u672A\u7ECF\u4ED6\u4EBA\u6388\u6743\u7684\u4F5C\u54C1\uFF1B",ne.createElement("br",null),"2\u3001\u4E0D\u652F\u6301\u65AD\u70B9\u7EED\u4F20\uFF0C\u5355\u4E2A\u6587\u4EF6\u5927\u5C0F\u8BF7\u52FF\u8D85\u8FC7100M\uFF1B",ne.createElement("br",null),"3\u3001\u5F53\u524D\u4EC5\u9650\u652F\u6301pdf\u3001word\u3001execl\u3001ppt\u3001zip\u3001png\u3001jpg\u3001jpeg\u6587\u4EF6\uFF1B",ne.createElement("br",null),"4\u3001\u6587\u4EF6\u540D\u5C06\u88AB\u81EA\u52A8\u8BFB\u53D6\u4E3A\u7CFB\u7EDF\u5185\u8BE5\u8BFE\u4EF6\u7684\u540D\u79F0\uFF0C\u4E0A\u4F20\u524D\u8BF7\u6CE8\u610F\u8FD9\u4E00\u70B9\uFF1B",ne.createElement("br",null),"5\u3001\u4E00\u6B21\u6700\u591A\u4E0A\u4F2010\u4E2A\u6587\u4EF6\u3002"))),ne.createElement(Oe.default,{centered:!0,destroyOnClose:!0,title:"\u65B0\u5EFA\u6587\u4EF6\u5939",open:Gn,onOk:()=>pt(void 0,null,function*(){if(!Ra.name){De.ZP.error("\u8BF7\u8F93\u5165\u6587\u4EF6\u5939\u540D\u79F0");return}yield(0,fe.CI)({stage_item_id:Ra==null?void 0:Ra.stage_item_id,coursesId:tn.coursesId,list:[],name:Ra.name,parent_id:Ra.val}),Wn(!1),$n({}),yield er()}),onCancel:()=>{Wn(!1),$n({})}},ne.createElement("span",null,"\u540D\u79F0",ne.createElement(ke.default,{onChange:Ut=>{$n(Pn(Bt({},Ra),{name:Ut.target.value}))}}))),ne.createElement(Ot,{shixunIds:Da,cb:mr}),ne.createElement($t.Z,{visible:Ga,editData:Ma,onCancel:()=>{Va(!1),Et({})},onOk:Rr}))};var On=(0,Pe.connect)(({classroomList:ut,user:Lt,loading:Ve,globalSetting:zt})=>({classroomList:ut,user:Lt,globalSetting:zt,loading:Ve.models.index}))(Nn)},23538:function(Ft,Tt,oe){"use strict";oe.d(Tt,{$J:function(){return Ye},JZ:function(){return De},bN:function(){return be},jP:function(){return ke},rO:function(){return Oe}});var ne=oe(99064),Pe=(et,Qe,$e)=>new Promise((ot,_e)=>{var Ke=a=>{try{y($e.next(a))}catch(E){_e(E)}},se=a=>{try{y($e.throw(a))}catch(E){_e(E)}},y=a=>a.done?ot(a.value):Promise.resolve(a.value).then(Ke,se);y(($e=$e.apply(et,Qe)).next())});function Ye(et){return(0,ne.U2)(`libraries/${et}.json`)}function Oe(et){return(0,ne.U2)("library_tags.json",et)}function De(et){return Pe(this,null,function*(){return(yield(0,ne.IV)(`attachments/${et}.json`)).status===0})}function ke(et){return(0,ne.v_)("libraries.json",et)}function be(et,Qe){return(0,ne.gz)(`libraries/${et}.json`,Qe)}},15022:function(Ft,Tt,oe){"use strict";oe.d(Tt,{Z:function(){return Ae}});var ne=oe(59301),Pe=oe(89070),Ye=oe(92832),Oe=oe(78241),De=oe(8591),ke=oe(43418),be=oe(93948),et=oe(12563),Qe=oe(24905),$e={modal:"modal___EKlPQ",uploadWrap:"uploadWrap___YGxav",upload:"upload___ouqG9",uploadLink:"uploadLink___nuif6",fileProgress:"fileProgress___tf4qy",fileCancel:"fileCancel___Bh3Wh",videoName:"videoName___Ra0NM",contentItem:"contentItem___zMdIq","tagsList-content":"tagsList-content___sDVph"},ot=oe(5171),_e=oe(24065),Ke=oe(8700),se=Object.defineProperty,y=Object.defineProperties,a=Object.getOwnPropertyDescriptors,E=Object.getOwnPropertySymbols,b=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable,te=(Ie,ve,Xe)=>ve in Ie?se(Ie,ve,{enumerable:!0,configurable:!0,writable:!0,value:Xe}):Ie[ve]=Xe,ae=(Ie,ve)=>{for(var Xe in ve||(ve={}))b.call(ve,Xe)&&te(Ie,Xe,ve[Xe]);if(E)for(var Xe of E(ve))x.call(ve,Xe)&&te(Ie,Xe,ve[Xe]);return Ie},ie=(Ie,ve)=>y(Ie,a(ve)),ce=(Ie,ve,Xe)=>new Promise((Rt,Yt)=>{var qe=qt=>{try{Zt(Xe.next(qt))}catch(an){Yt(an)}},ct=qt=>{try{Zt(Xe.throw(qt))}catch(an){Yt(an)}},Zt=qt=>qt.done?Rt(qt.value):Promise.resolve(qt.value).then(qe,ct);Zt((Xe=Xe.apply(Ie,ve)).next())});const{TextArea:ge}=Ye.default,fe=1024,Le=({user:Ie,globalSetting:ve,loading:Xe,dispatch:Rt,visible:Yt,editData:qe,onCancel:ct=()=>{},onOk:Zt=()=>{},queryParams:qt={}})=>{var an,Pt;const Ot=(0,Pe.useParams)(),[mt]=Oe.default.useForm(),[Qt,Ze]=(0,ne.useState)([]),[lt,Ht]=(0,ne.useState)(!1),rn=(0,ne.useRef)(),[ht,$t]=(0,ne.useState)(),[Fe,rt]=(0,ne.useState)(!1),[wt,nn]=(0,ne.useState)(!1),Jt=(0,_e.Ny)()?3:1;(0,ne.useEffect)(()=>{var Me,bt,Ct,kt,It;Yt&&qe&&(rt(qe.is_link),$t(qe.link),!qe.is_link&&Ze([{name:(Me=qe==null?void 0:qe.video_item)==null?void 0:Me.file_name,loaded:100,videoId:(bt=qe==null?void 0:qe.video_item)==null?void 0:bt.video_id}]),he(((Ct=qe==null?void 0:qe.tags)==null?void 0:Ct.map(Dt=>Dt==null?void 0:Dt.name))||[]),mt.setFieldsValue({name:qe.name,description:qe.description,attachment_id:(kt=qe==null?void 0:qe.video_item)==null?void 0:kt.attachment_id,allow_skip:(It=qe==null?void 0:qe.video_item)==null?void 0:It.allow_skip}))},[qe,Yt]);const Ue=Me=>{rt(!1);const bt=Me.name.toLowerCase();return bt&&bt.indexOf(".avi")==-1&&bt.indexOf(".flv")==-1&&bt.indexOf(".f4v")==-1&&bt.indexOf(".m4v")==-1&&bt.indexOf(".mov")==-1&&bt.indexOf(".mp4")==-1&&bt.indexOf(".rmvb")==-1&&bt.indexOf(".swf")==-1&&bt.indexOf(".webm")==-1&&bt.indexOf(".wmv")==-1?(De.ZP.info("\u4E0D\u652F\u6301\u7684\u89C6\u9891\u683C\u5F0F"),!0):Me.size>fe*Jt*1024*1024?(De.ZP.info(`\u89C6\u9891\u5927\u5C0F\u8D85\u8FC7${Jt}G`),!0):Qt!=null&&Qt.find(Ct=>Ct.name===Me.name)?(De.ZP.info("\u4F60\u4E0D\u80FD\u4E0A\u4F20\u540C\u4E00\u4E2A\u89C6\u9891\u6587\u4EF6\u540D\u79F0\uFF0C\u8BF7\u91CD\u65B0\u9009\u62E9\u3002"),!0):!1},je=(Me,bt)=>{ke.default.confirm({title:"\u63D0\u793A",centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",content:ne.createElement("div",{className:"tc"},"\u60A8\u786E\u8BA4\u8981",bt?"\u5220\u9664":"\u53D6\u6D88\u4E0A\u4F20","\u8BE5\u89C6\u9891\u5417\uFF1F"),onOk:()=>{bt?Ze([]):(rn.current.cancel(),Ze([]))}})},we=()=>ce(void 0,null,function*(){if(yield mt.validateFields(),!Fe&&!(Qt!=null&&Qt.length)||Fe&&!ht){De.ZP.info("\u8BF7\u5148\u4E0A\u4F20\u89C6\u9891\u6216\u8005\u6DFB\u52A0\u5916\u94FE");return}nn(!0);const Me=Fe?{link:ht}:{video_id:Qt==null?void 0:Qt[0].videoId},bt=yield Zt(ae(ae(ae({},Me),qt),{name:mt.getFieldValue("name"),attachment_id:mt.getFieldValue("attachment_id"),description:mt.getFieldValue("description"),tags:ye,allow_skip:mt.getFieldValue("allow_skip")}));nn(!1),console.log("res"),console.log(bt),bt!=null&&bt.id&&me()}),me=()=>{mt.resetFields(),Ze([]),$t(null),he([]),rt(null)},Re=()=>{ct(),me()},yt=()=>{var Me,bt,Ct,kt,It;return ne.createElement(ne.Fragment,null,!Fe&&!!(Qt!=null&&Qt.length)&&ne.createElement("div",{className:$e.fileProgress},((Me=Qt==null?void 0:Qt[0])==null?void 0:Me.loaded)==100?ne.createElement("div",{className:`${$e.videoName} font14`},(bt=Qt==null?void 0:Qt[0])==null?void 0:bt.name):ne.createElement(be.Z,{style:{width:"80%"},percent:(Ct=Qt==null?void 0:Qt[0])==null?void 0:Ct.loaded,status:((kt=Qt==null?void 0:Qt[0])==null?void 0:kt.loaded)==100?"normal":"active"}),ne.createElement("div",{className:$e.fileCancel,onClick:()=>{var Dt,xe;return je((Dt=Qt==null?void 0:Qt[0])==null?void 0:Dt.name,((xe=Qt==null?void 0:Qt[0])==null?void 0:xe.loaded)==100)}},((It=Qt==null?void 0:Qt[0])==null?void 0:It.loaded)===100?"\u5220\u9664":"\u53D6\u6D88\u4E0A\u4F20")),ne.createElement("div",{className:$e.uploadWrap,style:{display:Qt!=null&&Qt.length?"none":"flex"}},ne.createElement(Ke.Z,ie(ae({},Ee),{ref:rn}),ne.createElement("div",{className:$e.upload},ne.createElement("i",{className:"iconfont icon-shangchuanshipin1 mr5"}),"\u4E0A\u4F20\u89C6\u9891")),ne.createElement("label",{className:`${$e.upload} ${$e.uploadLink}`,onClick:()=>rt(!0)},ne.createElement("i",{className:"iconfont icon-lianjie1 mr5"}),"\u6DFB\u52A0\u5916\u94FE")),Fe&&ne.createElement(Ye.default,{className:"mt5",placeholder:"\u8BF7\u8F93\u5165\u89C6\u9891\u94FE\u63A5",value:ht,onChange:Dt=>$t(Dt.target.value)}))},[ye,he]=(0,ne.useState)([]),Be=Me=>{if(Me.key=="Enter"){const bt=mt.getFieldValue("tag");if(mt.setFieldsValue({tag:""}),!bt){De.ZP.info("\u6807\u7B7E\u4E0D\u80FD\u4E3A\u7A7A");return}if(ye.filter(Ct=>Ct===bt).length>0){De.ZP.info("\u5DF2\u6709\u76F8\u540C\u540D\u79F0\u6807\u7B7E");return}ye.push(bt),he([...ye])}},Ne=(Me,bt)=>{Me.preventDefault(),he([...ye.filter(Ct=>Ct!=bt)])},Ee={accept:".mkv, .flv, .f4v, .rmvb, .swf, video/mp4,video/x-m4v,video/flv,video/f4v,video/rmvb,video/swf,video/*",onBefore:Ue,onBeginInitFile:Me=>{Ze([{name:Me.filename,loaded:0}])},onComplete:Me=>{Ze([{name:Me.filename,loaded:Me.percent,videoId:Me.id}])},onError:()=>{Ze([])},onProgress:Me=>{Ze([{name:Me.filename,loaded:Me.percent}])},chunkSize:1024*1024*2,options:{user_id:(an=Ie==null?void 0:Ie.userInfo)==null?void 0:an.user_id}};return ne.createElement(ke.default,{centered:!0,maskClosable:!1,title:qe?"\u7F16\u8F91\u89C6\u9891\u9879\u76EE":"\u65B0\u5EFA\u89C6\u9891\u9879\u76EE",width:740,className:$e.modal,open:Yt,confirmLoading:wt,onOk:we,onCancel:Re},ne.createElement(Oe.default,{form:mt},ne.createElement(Oe.default.Item,{label:"\u9879\u76EE\u540D\u79F0",name:"name",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u9879\u76EE\u540D\u79F0"}]},ne.createElement(Ye.default,{maxLength:40,placeholder:"\u8BF7\u8F93\u5165\u4E0D\u8D85\u8FC740\u5B57\u7684\u9879\u76EE\u540D\u79F0"})),ne.createElement(Oe.default.Item,{label:"\u9879\u76EE\u5185\u5BB9",name:"content",className:$e.contentItem},yt()),ne.createElement(Oe.default.Item,{name:"attachment_id",label:"\u4E0A\u4F20\u5C01\u9762\u56FE:"},ne.createElement(ot.Z,{getFileProgress:Me=>{if(Me.file.status==="uploading"){nn(!0);return}Me.file.status==="done"&&nn(!1)}})),ne.createElement(Oe.default.Item,{label:"\u9879\u76EE\u7B80\u4ECB",name:"description",className:"ml8"},ne.createElement(ge,{rows:5,maxLength:800,placeholder:"\u8BF7\u8F93\u5165\u672C\u89C6\u9891\u7B80\u4ECB\uFF0C\u6700\u591A\u4E0D\u8D85\u8FC7800\u5B57"})),ne.createElement(Oe.default.Item,{label:"\u77E5\u8BC6\u6807\u7B7E",name:"tag",className:"ml8"},ne.createElement(Ye.default,{onKeyUp:Be})),ne.createElement("div",{className:$e["tagsList-content"]},ye.map((Me,bt)=>ne.createElement(et.default,{key:bt+Me,closable:!0,onClose:Ct=>{Ne(Ct,Me)}},Me))),ne.createElement(Oe.default.Item,{label:"\u64AD\u653E\u8BBE\u7F6E",name:"allow_skip",valuePropName:"checked",className:"ml8",initialValue:!0},ne.createElement(Qe.default,null,"\u5141\u8BB8\u5FEB\u8FDB\u64AD\u653E")),ne.createElement("div",{className:"c-grey-999"},ne.createElement("div",null,"\u6CE8\u610F\uFF1A"),ne.createElement("div",null,"1\u3001\u4E0A\u4F20\u89C6\u9891\uFF0C\u5373\u8868\u793A\u60A8\u5DF2\u540C\u610F",ne.createElement(Pe.Link,{to:`/users/${(Pt=Ie.userInfo)==null?void 0:Pt.login}/videos/protocol`,target:"_blank",className:$e.colorBlue},"\u4E0A\u4F20\u5185\u5BB9\u534F\u8BAE"),"\uFF0C\u4E0D\u5F97\u4E0A\u4F20\u672A\u7ECF\u4ED6\u4EBA\u6388\u6743\u7684\u4F5C\u54C1\uFF1B"),ne.createElement("div",null,"2\u3001\u4E0D\u652F\u6301\u65AD\u70B9\u7EED\u4F20\uFF0C\u6587\u4EF6\u5927\u5C0F\u8BF7\u52FF\u8D85\u8FC7",Jt,"G\uFF1B"),ne.createElement("div",null,"3\u3001\u652F\u6301\u6587\u4EF6\u683C\u5F0F\uFF1Aavi\u3001flv\u3001f4v\u3001m4v\u3001mov\u3001mp4\u3001rmvb\u3001swf\u3001webm\u3001wmv\uFF1B"),ne.createElement("div",null,"4\u3001\u5982\u679C\u89C6\u9891\u6765\u81EA\u4E8E\u5916\u90E8\u94FE\u63A5\uFF0C\u672C\u7F51\u7AD9\u4E0D\u63D0\u4F9B\u64AD\u653E\u9875\u9762\uFF0C\u65E0\u6CD5\u63D0\u4F9B\u7EDF\u8BA1\u6570\u636E\u3002"))))};var Ae=(0,Pe.connect)(({user:Ie,loading:ve,globalSetting:Xe})=>({user:Ie,globalSetting:Xe,loading:ve}))(Le)},46474:function(Ft,Tt,oe){"use strict";oe.d(Tt,{rX:function(){return ae},pW:function(){return ie},gy:function(){return ce},xY:function(){return te},O5:function(){return x},tJ:function(){return se},o1:function(){return y},Rd:function(){return b}});var ne=oe(89070),Pe=oe(43418),Ye=oe(28103),Oe=oe(8591),De=oe(24065),ke=oe(955),be=oe(87169),et=oe(25510),Qe="data:image/png;base64,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",$e=oe.p+"static/newqrcode.a8740efb.png",ot=oe(32637),_e=oe(59301),Ke=(ge,fe,Le)=>new Promise((Ae,Ie)=>{var ve=Yt=>{try{Rt(Le.next(Yt))}catch(qe){Ie(qe)}},Xe=Yt=>{try{Rt(Le.throw(Yt))}catch(qe){Ie(qe)}},Rt=Yt=>Yt.done?Ae(Yt.value):Promise.resolve(Yt.value).then(ve,Xe);Rt((Le=Le.apply(ge,fe)).next())});const se=(ge,fe=!1)=>!!(y(ge)&&a(fe)),y=ge=>(0,De.bg)()?!0:(ge({type:"user/showPopLogin",payload:{showPopLogin:!0,showClosable:!0}}),!1),a=(ge=!1)=>{var fe;const{user:Le}=(0,ne.getDvaApp)()._store.getState();return(fe=Le.userInfo)!=null&&fe.profile_completed?!0:(Pe.default.confirm({title:"\u63D0\u793A",width:530,centered:!0,content:"\u60A8\u9700\u8981\u53BB\u5B8C\u5584\u60A8\u7684\u4E2A\u4EBA\u8D44\u6599\uFF0C\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD",okText:"\u7ACB\u5373\u5B8C\u5584",cancelText:"\u7A0D\u540E\u5B8C\u5584",onOk:()=>{(0,ke.xg)("/account/profile/edit"),E()}}),!1)},E=()=>{Pe.default.success({title:"\u63D0\u793A",width:430,closable:!0,centered:!0,content:"\u5DF2\u5B8C\u5584\u4E2A\u4EBA\u8D44\u6599\uFF1F\u8BF7\u5237\u65B0\u9875\u9762",okText:"\u7ACB\u5373\u5237\u65B0",icon:null,onOk:()=>{location.reload()}})},b=()=>{Pe.default.warning({title:"\u63D0\u793A",icon:null,width:400,content:_e.createElement("div",{style:{textAlign:"center"}},_e.createElement("div",{style:{color:"#191919",fontSize:14,marginBottom:15,textAlign:"left"}},"\u8001\u5E08\u60A8\u597D\uFF0C\u60A8\u7684\u8BFE\u5802\u8BD5\u7528\u671F\u5DF2\u7ED3\u675F\uFF0C\u76F8\u5173\u529F\u80FD\u88AB\u9650\u5236\u3002 \u5982\u9700\u7EE7\u7EED\u4F7F\u7528\uFF0C\u8BF7\u5C3D\u5FEB\u5BF9\u63A5\u4EBA\u5DE5\u652F\u6301\uFF01"),_e.createElement("img",{style:{border:"1px solid #D8E3E9",width:190,height:180},src:ot}),_e.createElement("div",{style:{color:"#666666",fontSize:14,marginTop:15}},"\u6DFB\u52A0\u5BA2\u670D\u4EBA\u5458\u5FAE\u4FE1\uFF0C\u83B7\u5F97\u66F4\u591A\u652F\u6301"))})},x=()=>{var ge;const{user:fe}=(0,ne.getDvaApp)()._store.getState();return(ge=fe.userInfo)!=null&&ge.professional_certification?!0:(Pe.default.confirm({title:"\u63D0\u793A",centered:!0,content:_e.createElement("div",{className:"tc"},"\u60A8\u9700\u8981\u53BB\u5B8C\u6210\u60A8\u7684\u804C\u4E1A\u8BA4\u8BC1\uFF0C\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD"),okText:"\u7ACB\u5373\u5B8C\u5584",cancelText:"\u7A0D\u540E\u5B8C\u5584",onOk:()=>{(0,ke.xg)("/account/certification")}}),!1)},te=()=>(0,De.V9)()?!0:(Pe.default.warning({centered:!0,width:530,title:"\u63D0\u793A",content:_e.createElement("div",{className:"tc",style:{marginLeft:-38}},_e.createElement("p",null,"\u626B\u7801\u52A0\u52A9\u6559\uFF0C\u7533\u8BF7\u64CD\u4F5C\u6743\u9650"),_e.createElement("img",{src:$e,width:200})),okText:"\u6211\u77E5\u9053\u4E86",maskClosable:!0}),!1),ae=(ge,fe)=>ge?!0:(Pe.default.confirm({centered:!0,zIndex:1e4,width:530,title:"\u63D0\u793A",content:_e.createElement("div",null,_e.createElement("p",null,fe||"\u8BE5\u5B9E\u8DF5\u8D44\u6E90\u9700\u6388\u6743\u540E\u624D\u53EF\u4F7F\u7528\u3002 \u60A8\u53EF\u4EE5\u5728QQ\u670D\u52A1\u7FA4\u5411\u7BA1\u7406\u5458\u7533\u8BF7\uFF0C\u83B7\u5F97\u7EE7\u7EED\u64CD\u4F5C\u7684\u6743\u9650\u3002"),_e.createElement("div",{style:{marginLeft:"110px"}},_e.createElement("img",{src:Qe,width:200}),_e.createElement("div",{style:{marginLeft:"35px"}},"\u7FA4\u53F7\uFF1A","714336072"))),okText:"\u7ACB\u5373\u8054\u7CFB",cancelText:"\u53D6\u6D88",onOk:()=>{(0,ke.xg)("https://qm.qq.com/cgi-bin/qm/qr?k=tIyDPXUtE0yEk-MOJxhH55lTUJS-nYAM&jump_from=webapi")}}),!1),ie=ge=>{Pe.default.info({title:"\u8054\u7CFB\u5E73\u53F0\u8FD0\u8425",icon:null,width:615,centered:!0,content:_e.createElement("div",null,_e.createElement("div",null,_e.createElement("p",{style:{color:"#191919",fontWeight:400,fontSize:14}},"\u201C\u4FDD\u5B58\u5B9E\u9A8C\u4E34\u65F6\u6570\u636E\u201D\u529F\u80FD\u4E3A\u4ED8\u8D39\u529F\u80FD\uFF0C\u8BF7\u8054\u7CFB\u5E73\u53F0\u8FD0\u8425\u8FDB\u884C\u5F00\u901A\u3002"),_e.createElement(Ye.Z,null),_e.createElement("p",{style:{color:"#666666",fontSize:12}}," ",_e.createElement("span",{style:{display:"inline-flex",width:14,height:14,borderRadius:2,background:"#F3F3F3",justifyContent:"center",color:"#666666",fontSize:12,lineHeight:"14px",marginRight:8}},"1")," \u56E0\u5E73\u53F0\u7684\u5B9E\u9A8C\u6570\u636E\u50A8\u5B58\u5BB9\u91CF\u548C\u6210\u672C\u6D88\u8017\u8F83\u5927\uFF0C\u5B9E\u8DF5\u9879\u76EE\u9ED8\u8BA4\u4FDD\u5B58\u5B9E\u9A8C\u73AF\u5883\u4E2D\u4E34\u65F6\u6570\u636E ",_e.createElement("a",null,ge),"\u5929\u3002"),_e.createElement("p",{style:{color:"#666666",fontSize:12}}," ",_e.createElement("span",{style:{display:"inline-flex",width:14,height:14,borderRadius:2,background:"#F3F3F3",justifyContent:"center",color:"#666666",fontSize:12,lineHeight:"14px",marginRight:8}},"2"),"\u82E5\u60A8\u9700\u8981\u4E2A\u6027\u5316\u7684\u6570\u636E\u4FDD\u5B58\u5468\u671F\u670D\u52A1\uFF0C\u6211\u4EEC\u53EF\u4EE5\u63D0\u4F9B\u76F8\u5173\u6280\u672F\u652F\u6301\uFF0C\u5E76\u6839\u636E\u60A8\u7684\u9700\u6C42\u6536\u53D6\u5B9A\u5236\u8D39\u7528\u3002")),_e.createElement("div",{style:{textAlign:"center",marginTop:30}},_e.createElement("img",{style:{border:"4px solid #0152d9",borderRadius:"4px"},src:et,alt:"\u4E8C\u7EF4\u7801",width:160})))})},ce=(ge,fe="")=>{const{shixunsDetail:{detail:Le}}=(0,ne.getDvaApp)()._store.getState();if((Le==null?void 0:Le.public)===2||(Le==null?void 0:Le.public)===1||(Le==null?void 0:Le.shixun_status)===3){let Ae="";return(Le==null?void 0:Le.public)===2&&(Ae="\u5DF2\u516C\u5F00"),(Le==null?void 0:Le.public)===1&&(Ae="\u5F85\u5BA1\u6838"),(Le==null?void 0:Le.shixun_status)===3&&(Ae="\u5DF2\u5173\u95ED"),Pe.default.info({centered:!0,icon:_e.createElement(be.Z,{style:{color:"#faad14"}}),width:460,title:"\u63D0\u793A",content:_e.createElement("div",{className:"tc",style:{marginLeft:-38}},_e.createElement("div",{style:{display:"flex",flexDirection:"column",alignItems:"flex-start",paddingLeft:38,margin:"12px 0"}},_e.createElement("span",null,"\u8BE5\u5B9E\u8DF5\u9879\u76EE\u7684\u72B6\u6001\u4E3A",Ae,"\uFF0C",fe,"\u3002"),_e.createElement("p",null,"\u5982\u6709\u9700\u8981\uFF0C\u8BF7\u8054\u7CFB\u5E73\u53F0\u7BA1\u7406\u5458\u8FDB\u884C\u6280\u672F\u652F\u6301\u3002")),_e.createElement("img",{style:{border:"4px solid #0152d9",borderRadius:"4px"},src:et,alt:"\u4E8C\u7EF4\u7801",width:160})),okText:"\u6211\u77E5\u9053\u4E86"}),!0}return(Le==null?void 0:Le.shixun_status)===2?(Pe.default.confirm({centered:!0,icon:_e.createElement(be.Z,null),title:"\u63D0\u793A",content:_e.createElement("div",null,_e.createElement("span",null,"\u8BE5\u5B9E\u8DF5\u9879\u76EE\u5DF2\u53D1\u5E03\uFF0C",fe,"\u3002"),_e.createElement("br",null),_e.createElement("span",null,"\u5982\u6709\u9700\u8981\uFF0C\u60A8\u53EF\u4EE5\u64A4\u9500\u53D1\u5E03\u540E\uFF0C\u518D\u8FDB\u884C\u64CD\u4F5C\u3002")),okText:"\u64A4\u9500\u53D1\u5E03",cancelText:"\u53D6\u6D88",onOk:()=>{Pe.default.confirm({width:440,centered:!0,icon:_e.createElement(be.Z,{style:{color:"#faad14"}}),title:"\u63D0\u793A",content:"\u64A4\u9500\u53D1\u5E03\u540E\uFF0C\u5B66\u5458\u5C06\u65E0\u6CD5\u8FDB\u884C\u7EC3\u4E60\u3002\u662F\u5426\u786E\u8BA4\u64A4\u9500\u53D1\u5E03\uFF1F",okText:"\u786E\u5B9A\u64A4\u9500\u53D1\u5E03",cancelText:"\u53D6\u6D88",onOk:()=>Ke(void 0,null,function*(){(yield ge({type:"shixunsDetail/cancelRelease",payload:{id:Le==null?void 0:Le.identifier}})).status!==401&&(Oe.ZP.success("\u64A4\u9500\u53D1\u5E03\u6210\u529F\u3002\u5B9E\u8BAD\u56DE\u5230\u672A\u53D1\u5E03\u7684\u72B6\u6001\u3002"),ge({type:"shixunsDetail/getShixunsDetail",payload:{id:Le==null?void 0:Le.identifier}}),ge({type:"practiceSetting/getCommonData",payload:{id:Le==null?void 0:Le.identifier}}))})})}}),!0):!1}},56762:function(Ft,Tt,oe){"use strict";oe.d(Tt,{Z:function(){return Pe}});var ne=oe(59301);function Pe(){const[,Ye]=ne.useReducer(Oe=>Oe+1,0);return Ye}},24905:function(Ft,Tt,oe){"use strict";oe.d(Tt,{default:function(){return ge}});var ne=oe(92310),Pe=oe.n(ne),Ye=oe(5630),Oe=oe(59301),De=oe(36355),ke=oe(1684),be=oe(32441),Qe=Oe.createContext(null),$e=oe(98447),ot=oe(14088),_e=oe(4572),Ke=function(fe,Le){var Ae={};for(var Ie in fe)Object.prototype.hasOwnProperty.call(fe,Ie)&&Le.indexOf(Ie)<0&&(Ae[Ie]=fe[Ie]);if(fe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ve=0,Ie=Object.getOwnPropertySymbols(fe);ve{var Ae;const{prefixCls:Ie,className:ve,rootClassName:Xe,children:Rt,indeterminate:Yt=!1,style:qe,onMouseEnter:ct,onMouseLeave:Zt,skipGroup:qt=!1,disabled:an}=fe,Pt=Ke(fe,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:Ot,direction:mt,checkbox:Qt}=Oe.useContext(De.E_),Ze=Oe.useContext(Qe),{isFormItemInput:lt}=Oe.useContext(be.aM),Ht=Oe.useContext(ke.Z),rn=(Ae=(Ze==null?void 0:Ze.disabled)||an)!==null&&Ae!==void 0?Ae:Ht,ht=Oe.useRef(Pt.value);Oe.useEffect(()=>{Ze==null||Ze.registerValue(Pt.value)},[]),Oe.useEffect(()=>{if(!qt)return Pt.value!==ht.current&&(Ze==null||Ze.cancelValue(ht.current),Ze==null||Ze.registerValue(Pt.value),ht.current=Pt.value),()=>Ze==null?void 0:Ze.cancelValue(Pt.value)},[Pt.value]);const $t=Ot("checkbox",Ie),[Fe,rt]=(0,$e.ZP)($t),wt=Object.assign({},Pt);Ze&&!qt&&(wt.onChange=function(){Pt.onChange&&Pt.onChange.apply(Pt,arguments),Ze.toggleOption&&Ze.toggleOption({label:Rt,value:Pt.value})},wt.name=Ze.name,wt.checked=Ze.value.includes(Pt.value));const nn=Pe()(`${$t}-wrapper`,{[`${$t}-rtl`]:mt==="rtl",[`${$t}-wrapper-checked`]:wt.checked,[`${$t}-wrapper-disabled`]:rn,[`${$t}-wrapper-in-form-item`]:lt},Qt==null?void 0:Qt.className,ve,Xe,rt),Jt=Pe()({[`${$t}-indeterminate`]:Yt},_e.A,rt),Ue=Yt?"mixed":void 0;return Fe(Oe.createElement(ot.Z,{component:"Checkbox",disabled:rn},Oe.createElement("label",{className:nn,style:Object.assign(Object.assign({},Qt==null?void 0:Qt.style),qe),onMouseEnter:ct,onMouseLeave:Zt},Oe.createElement(Ye.Z,Object.assign({"aria-checked":Ue},wt,{prefixCls:$t,className:Jt,disabled:rn,ref:Le})),Rt!==void 0&&Oe.createElement("span",null,Rt))))};var a=Oe.forwardRef(se),E=oe(80702),b=oe(2738),x=function(fe,Le){var Ae={};for(var Ie in fe)Object.prototype.hasOwnProperty.call(fe,Ie)&&Le.indexOf(Ie)<0&&(Ae[Ie]=fe[Ie]);if(fe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ve=0,Ie=Object.getOwnPropertySymbols(fe);ve{const{defaultValue:Ae,children:Ie,options:ve=[],prefixCls:Xe,className:Rt,rootClassName:Yt,style:qe,onChange:ct}=fe,Zt=x(fe,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:qt,direction:an}=Oe.useContext(De.E_),[Pt,Ot]=Oe.useState(Zt.value||Ae||[]),[mt,Qt]=Oe.useState([]);Oe.useEffect(()=>{"value"in Zt&&Ot(Zt.value||[])},[Zt.value]);const Ze=Oe.useMemo(()=>ve.map(je=>typeof je=="string"||typeof je=="number"?{label:je,value:je}:je),[ve]),lt=je=>{Qt(we=>we.filter(me=>me!==je))},Ht=je=>{Qt(we=>[].concat((0,E.Z)(we),[je]))},rn=je=>{const we=Pt.indexOf(je.value),me=(0,E.Z)(Pt);we===-1?me.push(je.value):me.splice(we,1),"value"in Zt||Ot(me),ct==null||ct(me.filter(Re=>mt.includes(Re)).sort((Re,yt)=>{const ye=Ze.findIndex(Be=>Be.value===Re),he=Ze.findIndex(Be=>Be.value===yt);return ye-he}))},ht=qt("checkbox",Xe),$t=`${ht}-group`,[Fe,rt]=(0,$e.ZP)(ht),wt=(0,b.Z)(Zt,["value","disabled"]),nn=ve.length?Ze.map(je=>Oe.createElement(a,{prefixCls:ht,key:je.value.toString(),disabled:"disabled"in je?je.disabled:Zt.disabled,value:je.value,checked:Pt.includes(je.value),onChange:je.onChange,className:`${$t}-item`,style:je.style,title:je.title},je.label)):Ie,Jt={toggleOption:rn,value:Pt,disabled:Zt.disabled,name:Zt.name,registerValue:Ht,cancelValue:lt},Ue=Pe()($t,{[`${$t}-rtl`]:an==="rtl"},Rt,Yt,rt);return Fe(Oe.createElement("div",Object.assign({className:Ue,style:qe},wt,{ref:Le}),Oe.createElement(Qe.Provider,{value:Jt},nn)))},ae=Oe.forwardRef(te);var ie=Oe.memo(ae);const ce=a;ce.Group=ie,ce.__ANT_CHECKBOX=!0;var ge=ce},98447:function(Ft,Tt,oe){"use strict";oe.d(Tt,{C2:function(){return De}});var ne=oe(17313),Pe=oe(37613),Ye=oe(83116);const Oe=ke=>{const{checkboxCls:be}=ke,et=`${be}-wrapper`;return[{[`${be}-group`]:Object.assign(Object.assign({},(0,ne.Wf)(ke)),{display:"inline-flex",flexWrap:"wrap",columnGap:ke.marginXS,[`> ${ke.antCls}-row`]:{flex:1}}),[et]:Object.assign(Object.assign({},(0,ne.Wf)(ke)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${et}`]:{marginInlineStart:0},[`&${et}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[be]:Object.assign(Object.assign({},(0,ne.Wf)(ke)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:ke.borderRadiusSM,alignSelf:"center",[`${be}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${be}-inner`]:Object.assign({},(0,ne.oN)(ke))},[`${be}-inner`]:{boxSizing:"border-box",position:"relative",top:0,insetInlineStart:0,display:"block",width:ke.checkboxSize,height:ke.checkboxSize,direction:"ltr",backgroundColor:ke.colorBgContainer,border:`${ke.lineWidth}px ${ke.lineType} ${ke.colorBorder}`,borderRadius:ke.borderRadiusSM,borderCollapse:"separate",transition:`all ${ke.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"21.5%",display:"table",width:ke.checkboxSize/14*5,height:ke.checkboxSize/14*8,border:`${ke.lineWidthBold}px solid ${ke.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${ke.motionDurationFast} ${ke.motionEaseInBack}, opacity ${ke.motionDurationFast}`}},"& + span":{paddingInlineStart:ke.paddingXS,paddingInlineEnd:ke.paddingXS}})},{[` + ${et}:not(${et}-disabled), + ${be}:not(${be}-disabled) + `]:{[`&:hover ${be}-inner`]:{borderColor:ke.colorPrimary}},[`${et}:not(${et}-disabled)`]:{[`&:hover ${be}-checked:not(${be}-disabled) ${be}-inner`]:{backgroundColor:ke.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${be}-checked:not(${be}-disabled):after`]:{borderColor:ke.colorPrimaryHover}}},{[`${be}-checked`]:{[`${be}-inner`]:{backgroundColor:ke.colorPrimary,borderColor:ke.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${ke.motionDurationMid} ${ke.motionEaseOutBack} ${ke.motionDurationFast}`}}},[` + ${et}-checked:not(${et}-disabled), + ${be}-checked:not(${be}-disabled) + `]:{[`&:hover ${be}-inner`]:{backgroundColor:ke.colorPrimaryHover,borderColor:"transparent"}}},{[be]:{"&-indeterminate":{[`${be}-inner`]:{backgroundColor:ke.colorBgContainer,borderColor:ke.colorBorder,"&:after":{top:"50%",insetInlineStart:"50%",width:ke.fontSizeLG/2,height:ke.fontSizeLG/2,backgroundColor:ke.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}}}}},{[`${et}-disabled`]:{cursor:"not-allowed"},[`${be}-disabled`]:{[`&, ${be}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${be}-inner`]:{background:ke.colorBgContainerDisabled,borderColor:ke.colorBorder,"&:after":{borderColor:ke.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:ke.colorTextDisabled},[`&${be}-indeterminate ${be}-inner::after`]:{background:ke.colorTextDisabled}}}]};function De(ke,be){const et=(0,Pe.TS)(be,{checkboxCls:`.${ke}`,checkboxSize:be.controlInteractiveSize});return[Oe(et)]}Tt.ZP=(0,Ye.Z)("Checkbox",(ke,be)=>{let{prefixCls:et}=be;return[De(et,ke)]})},28103:function(Ft,Tt,oe){"use strict";oe.d(Tt,{Z:function(){return _e}});var ne=oe(92310),Pe=oe.n(ne),Ye=oe(59301),Oe=oe(36355),De=oe(17313),ke=oe(83116),be=oe(37613);const et=Ke=>{const{componentCls:se,sizePaddingEdgeHorizontal:y,colorSplit:a,lineWidth:E,textPaddingInline:b,orientationMargin:x,verticalMarginInline:te}=Ke;return{[se]:Object.assign(Object.assign({},(0,De.Wf)(Ke)),{borderBlockStart:`${E}px solid ${a}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:te,marginBlock:0,verticalAlign:"middle",borderTop:0,borderInlineStart:`${E}px solid ${a}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${Ke.dividerHorizontalGutterMargin}px 0`},[`&-horizontal${se}-with-text`]:{display:"flex",alignItems:"center",margin:`${Ke.dividerHorizontalWithTextGutterMargin}px 0`,color:Ke.colorTextHeading,fontWeight:500,fontSize:Ke.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${a}`,"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:`${E}px solid transparent`,borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},[`&-horizontal${se}-with-text-left`]:{"&::before":{width:`${x*100}%`},"&::after":{width:`${100-x*100}%`}},[`&-horizontal${se}-with-text-right`]:{"&::before":{width:`${100-x*100}%`},"&::after":{width:`${x*100}%`}},[`${se}-inner-text`]:{display:"inline-block",paddingBlock:0,paddingInline:b},"&-dashed":{background:"none",borderColor:a,borderStyle:"dashed",borderWidth:`${E}px 0 0`},[`&-horizontal${se}-with-text${se}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${se}-dashed`]:{borderInlineStartWidth:E,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${se}-with-text`]:{color:Ke.colorText,fontWeight:"normal",fontSize:Ke.fontSize},[`&-horizontal${se}-with-text-left${se}-no-default-orientation-margin-left`]:{"&::before":{width:0},"&::after":{width:"100%"},[`${se}-inner-text`]:{paddingInlineStart:y}},[`&-horizontal${se}-with-text-right${se}-no-default-orientation-margin-right`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${se}-inner-text`]:{paddingInlineEnd:y}}})}};var Qe=(0,ke.Z)("Divider",Ke=>{const se=(0,be.TS)(Ke,{dividerHorizontalWithTextGutterMargin:Ke.margin,dividerHorizontalGutterMargin:Ke.marginLG,sizePaddingEdgeHorizontal:0});return[et(se)]},Ke=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:Ke.marginXS})),$e=function(Ke,se){var y={};for(var a in Ke)Object.prototype.hasOwnProperty.call(Ke,a)&&se.indexOf(a)<0&&(y[a]=Ke[a]);if(Ke!=null&&typeof Object.getOwnPropertySymbols=="function")for(var E=0,a=Object.getOwnPropertySymbols(Ke);E{const{getPrefixCls:se,direction:y,divider:a}=Ye.useContext(Oe.E_),{prefixCls:E,type:b="horizontal",orientation:x="center",orientationMargin:te,className:ae,rootClassName:ie,children:ce,dashed:ge,plain:fe,style:Le}=Ke,Ae=$e(Ke,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","plain","style"]),Ie=se("divider",E),[ve,Xe]=Qe(Ie),Rt=x.length>0?`-${x}`:x,Yt=!!ce,qe=x==="left"&&te!=null,ct=x==="right"&&te!=null,Zt=Pe()(Ie,a==null?void 0:a.className,Xe,`${Ie}-${b}`,{[`${Ie}-with-text`]:Yt,[`${Ie}-with-text${Rt}`]:Yt,[`${Ie}-dashed`]:!!ge,[`${Ie}-plain`]:!!fe,[`${Ie}-rtl`]:y==="rtl",[`${Ie}-no-default-orientation-margin-left`]:qe,[`${Ie}-no-default-orientation-margin-right`]:ct},ae,ie),qt=Ye.useMemo(()=>typeof te=="number"?te:/^\d+$/.test(te)?Number(te):te,[te]),an=Object.assign(Object.assign({},qe&&{marginLeft:qt}),ct&&{marginRight:qt});return ve(Ye.createElement("div",Object.assign({className:Zt,style:Object.assign(Object.assign({},a==null?void 0:a.style),Le)},Ae,{role:"separator"}),ce&&b!=="vertical"&&Ye.createElement("span",{className:`${Ie}-inner-text`,style:an},ce)))}},43428:function(Ft,Tt,oe){"use strict";oe.d(Tt,{Z:function(){return Fe}});var ne=oe(92310),Pe=oe.n(ne),Ye=oe(77321),Oe=oe(52487),De=oe(43403),ke=oe(34280),be=oe(59301),et=be.createContext(null),Qe=be.createContext({}),$e=et,ot=oe(49618),_e=oe(72308),Ke=oe(77900),se=oe(10228),y=oe(26112),a=oe(70425),E=function(wt){var nn=wt.prefixCls,Jt=wt.className,Ue=wt.style,je=wt.children,we=wt.containerRef,me=wt.id,Re=wt.onMouseEnter,yt=wt.onMouseOver,ye=wt.onMouseLeave,he=wt.onClick,Be=wt.onKeyDown,Ne=wt.onKeyUp,Ee={onMouseEnter:Re,onMouseOver:yt,onMouseLeave:ye,onClick:he,onKeyDown:Be,onKeyUp:Ne},Me=be.useContext(Qe),bt=Me.panel,Ct=(0,a.useComposeRef)(bt,we);return be.createElement(be.Fragment,null,be.createElement("div",(0,_e.Z)({id:me,className:Pe()("".concat(nn,"-content"),Jt),style:(0,Ye.Z)({},Ue),"aria-modal":"true",role:"dialog",ref:Ct},Ee),je))},b=E,x=oe(48736);function te(rt){return typeof rt=="string"&&String(Number(rt))===rt?((0,x.ZP)(!1,"Invalid value type of `width` or `height` which should be number type instead."),Number(rt)):rt}function ae(rt){warning(!("wrapperClassName"in rt),"'wrapperClassName' is removed. Please use 'rootClassName' instead."),warning(canUseDom()||!rt.open,"Drawer with 'open' in SSR is not work since no place to createPortal. Please move to 'useEffect' instead.")}var ie={width:0,height:0,overflow:"hidden",outline:"none",position:"absolute"};function ce(rt,wt){var nn,Jt,Ue,je,we=rt.prefixCls,me=rt.open,Re=rt.placement,yt=rt.inline,ye=rt.push,he=rt.forceRender,Be=rt.autoFocus,Ne=rt.keyboard,Ee=rt.rootClassName,Me=rt.rootStyle,bt=rt.zIndex,Ct=rt.className,kt=rt.id,It=rt.style,Dt=rt.motion,xe=rt.width,tt=rt.height,at=rt.children,it=rt.contentWrapperStyle,ft=rt.mask,en=rt.maskClosable,dn=rt.maskMotion,on=rt.maskClassName,mn=rt.maskStyle,In=rt.afterOpenChange,Ln=rt.onClose,Tn=rt.onMouseEnter,_n=rt.onMouseOver,ta=rt.onMouseLeave,Fn=rt.onClick,ra=rt.onKeyDown,wn=rt.onKeyUp,Kn=be.useRef(),oa=be.useRef(),Ia=be.useRef();be.useImperativeHandle(wt,function(){return Kn.current});var ba=function(ga){var Gt=ga.keyCode,ze=ga.shiftKey;switch(Gt){case se.Z.TAB:{if(Gt===se.Z.TAB){if(!ze&&document.activeElement===Ia.current){var Wt;(Wt=oa.current)===null||Wt===void 0||Wt.focus({preventScroll:!0})}else if(ze&&document.activeElement===oa.current){var fn;(fn=Ia.current)===null||fn===void 0||fn.focus({preventScroll:!0})}}break}case se.Z.ESC:{Ln&&Ne&&(ga.stopPropagation(),Ln(ga));break}}};be.useEffect(function(){if(me&&Be){var Yn;(Yn=Kn.current)===null||Yn===void 0||Yn.focus({preventScroll:!0})}},[me]);var za=be.useState(!1),Ua=(0,Oe.Z)(za,2),Oa=Ua[0],pa=Ua[1],Sa=be.useContext($e),Wa;ye===!1?Wa={distance:0}:ye===!0?Wa={}:Wa=ye||{};var gt=(nn=(Jt=(Ue=Wa)===null||Ue===void 0?void 0:Ue.distance)!==null&&Jt!==void 0?Jt:Sa==null?void 0:Sa.pushDistance)!==null&&nn!==void 0?nn:180,St=be.useMemo(function(){return{pushDistance:gt,push:function(){pa(!0)},pull:function(){pa(!1)}}},[gt]);be.useEffect(function(){if(me){var Yn;Sa==null||(Yn=Sa.push)===null||Yn===void 0||Yn.call(Sa)}else{var ga;Sa==null||(ga=Sa.pull)===null||ga===void 0||ga.call(Sa)}},[me]),be.useEffect(function(){return function(){var Yn;Sa==null||(Yn=Sa.pull)===null||Yn===void 0||Yn.call(Sa)}},[]);var dt=ft&&be.createElement(Ke.default,(0,_e.Z)({key:"mask"},dn,{visible:me}),function(Yn,ga){var Gt=Yn.className,ze=Yn.style;return be.createElement("div",{className:Pe()("".concat(we,"-mask"),Gt,on),style:(0,Ye.Z)((0,Ye.Z)({},ze),mn),onClick:en&&me?Ln:void 0,ref:ga})}),gn=typeof Dt=="function"?Dt(Re):Dt,Mn={};if(Oa&>)switch(Re){case"top":Mn.transform="translateY(".concat(gt,"px)");break;case"bottom":Mn.transform="translateY(".concat(-gt,"px)");break;case"left":Mn.transform="translateX(".concat(gt,"px)");break;default:Mn.transform="translateX(".concat(-gt,"px)");break}Re==="left"||Re==="right"?Mn.width=te(xe):Mn.height=te(tt);var Dn={onMouseEnter:Tn,onMouseOver:_n,onMouseLeave:ta,onClick:Fn,onKeyDown:ra,onKeyUp:wn},xa=be.createElement(Ke.default,(0,_e.Z)({key:"panel"},gn,{visible:me,forceRender:he,onVisibleChanged:function(ga){In==null||In(ga)},removeOnLeave:!1,leavedClassName:"".concat(we,"-content-wrapper-hidden")}),function(Yn,ga){var Gt=Yn.className,ze=Yn.style;return be.createElement("div",(0,_e.Z)({className:Pe()("".concat(we,"-content-wrapper"),Gt),style:(0,Ye.Z)((0,Ye.Z)((0,Ye.Z)({},Mn),ze),it)},(0,y.Z)(rt,{data:!0})),be.createElement(b,(0,_e.Z)({id:kt,containerRef:ga,prefixCls:we,className:Ct,style:It},Dn),at))}),ea=(0,Ye.Z)({},Me);return bt&&(ea.zIndex=bt),be.createElement($e.Provider,{value:St},be.createElement("div",{className:Pe()(we,"".concat(we,"-").concat(Re),Ee,(je={},(0,ot.Z)(je,"".concat(we,"-open"),me),(0,ot.Z)(je,"".concat(we,"-inline"),yt),je)),style:ea,tabIndex:-1,ref:Kn,onKeyDown:ba},dt,be.createElement("div",{tabIndex:0,ref:oa,style:ie,"aria-hidden":"true","data-sentinel":"start"}),xa,be.createElement("div",{tabIndex:0,ref:Ia,style:ie,"aria-hidden":"true","data-sentinel":"end"})))}var ge=be.forwardRef(ce),fe=ge,Le=function(wt){var nn=wt.open,Jt=nn===void 0?!1:nn,Ue=wt.prefixCls,je=Ue===void 0?"rc-drawer":Ue,we=wt.placement,me=we===void 0?"right":we,Re=wt.autoFocus,yt=Re===void 0?!0:Re,ye=wt.keyboard,he=ye===void 0?!0:ye,Be=wt.width,Ne=Be===void 0?378:Be,Ee=wt.mask,Me=Ee===void 0?!0:Ee,bt=wt.maskClosable,Ct=bt===void 0?!0:bt,kt=wt.getContainer,It=wt.forceRender,Dt=wt.afterOpenChange,xe=wt.destroyOnClose,tt=wt.onMouseEnter,at=wt.onMouseOver,it=wt.onMouseLeave,ft=wt.onClick,en=wt.onKeyDown,dn=wt.onKeyUp,on=wt.panelRef,mn=be.useState(!1),In=(0,Oe.Z)(mn,2),Ln=In[0],Tn=In[1],_n=be.useState(!1),ta=(0,Oe.Z)(_n,2),Fn=ta[0],ra=ta[1];(0,ke.Z)(function(){ra(!0)},[]);var wn=Fn?Jt:!1,Kn=be.useRef(),oa=be.useRef();(0,ke.Z)(function(){wn&&(oa.current=document.activeElement)},[wn]);var Ia=function(pa){var Sa;if(Tn(pa),Dt==null||Dt(pa),!pa&&oa.current&&!((Sa=Kn.current)!==null&&Sa!==void 0&&Sa.contains(oa.current))){var Wa;(Wa=oa.current)===null||Wa===void 0||Wa.focus({preventScroll:!0})}},ba=be.useMemo(function(){return{panel:on}},[on]);if(!It&&!Ln&&!wn&&xe)return null;var za={onMouseEnter:tt,onMouseOver:at,onMouseLeave:it,onClick:ft,onKeyDown:en,onKeyUp:dn},Ua=(0,Ye.Z)((0,Ye.Z)({},wt),{},{open:wn,prefixCls:je,placement:me,autoFocus:yt,keyboard:he,width:Ne,mask:Me,maskClosable:Ct,inline:kt===!1,afterOpenChange:Ia,ref:Kn},za);return be.createElement(Qe.Provider,{value:ba},be.createElement(De.Z,{open:wn||It||Ln,autoDestroy:!1,getContainer:kt,autoLock:Me&&(wn||Ln)},be.createElement(fe,Ua)))},Ae=Le,Ie=Ae,ve=oe(62892),Xe=oe(36355),Rt=oe(32441),Yt=oe(47729),ct=rt=>{const{prefixCls:wt,title:nn,footer:Jt,extra:Ue,closeIcon:je,closable:we,onClose:me,headerStyle:Re,drawerStyle:yt,bodyStyle:ye,footerStyle:he,children:Be}=rt,Ne=be.useCallback(kt=>be.createElement("button",{type:"button",onClick:me,"aria-label":"Close",className:`${wt}-close`},kt),[me]),[Ee,Me]=(0,Yt.Z)(we,je,Ne,void 0,!0),bt=be.useMemo(()=>!nn&&!Ee?null:be.createElement("div",{style:Re,className:Pe()(`${wt}-header`,{[`${wt}-header-close-only`]:Ee&&!nn&&!Ue})},be.createElement("div",{className:`${wt}-header-title`},Me,nn&&be.createElement("div",{className:`${wt}-title`},nn)),Ue&&be.createElement("div",{className:`${wt}-extra`},Ue)),[Ee,Me,Ue,Re,wt,nn]),Ct=be.useMemo(()=>{if(!Jt)return null;const kt=`${wt}-footer`;return be.createElement("div",{className:kt,style:he},Jt)},[Jt,he,wt]);return be.createElement("div",{className:`${wt}-wrapper-body`,style:yt},bt,be.createElement("div",{className:`${wt}-body`,style:ye},Be),Ct)},Zt=oe(33234),qt=oe(83116),an=oe(37613),Ot=rt=>{const{componentCls:wt,motionDurationSlow:nn}=rt,Jt={"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:`all ${nn}`}}};return{[wt]:{[`${wt}-mask-motion`]:{"&-enter, &-appear, &-leave":{"&-active":{transition:`all ${nn}`}},"&-enter, &-appear":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}}},[`${wt}-panel-motion`]:{"&-left":[Jt,{"&-enter, &-appear":{"&-start":{transform:"translateX(-100%) !important"},"&-active":{transform:"translateX(0)"}},"&-leave":{transform:"translateX(0)","&-active":{transform:"translateX(-100%)"}}}],"&-right":[Jt,{"&-enter, &-appear":{"&-start":{transform:"translateX(100%) !important"},"&-active":{transform:"translateX(0)"}},"&-leave":{transform:"translateX(0)","&-active":{transform:"translateX(100%)"}}}],"&-top":[Jt,{"&-enter, &-appear":{"&-start":{transform:"translateY(-100%) !important"},"&-active":{transform:"translateY(0)"}},"&-leave":{transform:"translateY(0)","&-active":{transform:"translateY(-100%)"}}}],"&-bottom":[Jt,{"&-enter, &-appear":{"&-start":{transform:"translateY(100%) !important"},"&-active":{transform:"translateY(0)"}},"&-leave":{transform:"translateY(0)","&-active":{transform:"translateY(100%)"}}}]}}}};const mt=rt=>{const{componentCls:wt,zIndexPopup:nn,colorBgMask:Jt,colorBgElevated:Ue,motionDurationSlow:je,motionDurationMid:we,padding:me,paddingLG:Re,fontSizeLG:yt,lineHeightLG:ye,lineWidth:he,lineType:Be,colorSplit:Ne,marginSM:Ee,colorIcon:Me,colorIconHover:bt,colorText:Ct,fontWeightStrong:kt,footerPaddingBlock:It,footerPaddingInline:Dt}=rt,xe=`${wt}-content-wrapper`;return{[wt]:{position:"fixed",inset:0,zIndex:nn,pointerEvents:"none","&-pure":{position:"relative",background:Ue,[`&${wt}-left`]:{boxShadow:rt.boxShadowDrawerLeft},[`&${wt}-right`]:{boxShadow:rt.boxShadowDrawerRight},[`&${wt}-top`]:{boxShadow:rt.boxShadowDrawerUp},[`&${wt}-bottom`]:{boxShadow:rt.boxShadowDrawerDown}},"&-inline":{position:"absolute"},[`${wt}-mask`]:{position:"absolute",inset:0,zIndex:nn,background:Jt,pointerEvents:"auto"},[xe]:{position:"absolute",zIndex:nn,maxWidth:"100vw",transition:`all ${je}`,"&-hidden":{display:"none"}},[`&-left > ${xe}`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:rt.boxShadowDrawerLeft},[`&-right > ${xe}`]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:rt.boxShadowDrawerRight},[`&-top > ${xe}`]:{top:0,insetInline:0,boxShadow:rt.boxShadowDrawerUp},[`&-bottom > ${xe}`]:{bottom:0,insetInline:0,boxShadow:rt.boxShadowDrawerDown},[`${wt}-content`]:{width:"100%",height:"100%",overflow:"auto",background:Ue,pointerEvents:"auto"},[`${wt}-wrapper-body`]:{display:"flex",flexDirection:"column",width:"100%",height:"100%"},[`${wt}-header`]:{display:"flex",flex:0,alignItems:"center",padding:`${me}px ${Re}px`,fontSize:yt,lineHeight:ye,borderBottom:`${he}px ${Be} ${Ne}`,"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},[`${wt}-extra`]:{flex:"none"},[`${wt}-close`]:{display:"inline-block",marginInlineEnd:Ee,color:Me,fontWeight:kt,fontSize:yt,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,outline:0,cursor:"pointer",transition:`color ${we}`,textRendering:"auto","&:focus, &:hover":{color:bt,textDecoration:"none"}},[`${wt}-title`]:{flex:1,margin:0,color:Ct,fontWeight:rt.fontWeightStrong,fontSize:yt,lineHeight:ye},[`${wt}-body`]:{flex:1,minWidth:0,minHeight:0,padding:Re,overflow:"auto"},[`${wt}-footer`]:{flexShrink:0,padding:`${It}px ${Dt}px`,borderTop:`${he}px ${Be} ${Ne}`},"&-rtl":{direction:"rtl"}}}};var Qt=(0,qt.Z)("Drawer",rt=>{const wt=(0,an.TS)(rt,{});return[mt(wt),Ot(wt)]},rt=>({zIndexPopup:rt.zIndexPopupBase,footerPaddingBlock:rt.paddingXS,footerPaddingInline:rt.padding})),Ze=oe(11575),lt=function(rt,wt){var nn={};for(var Jt in rt)Object.prototype.hasOwnProperty.call(rt,Jt)&&wt.indexOf(Jt)<0&&(nn[Jt]=rt[Jt]);if(rt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ue=0,Jt=Object.getOwnPropertySymbols(rt);Ue{var wt;const{rootClassName:nn,width:Jt,height:Ue,size:je="default",mask:we=!0,push:me=rn,open:Re,afterOpenChange:yt,onClose:ye,prefixCls:he,getContainer:Be,style:Ne,className:Ee,visible:Me,afterVisibleChange:bt}=rt,Ct=lt(rt,["rootClassName","width","height","size","mask","push","open","afterOpenChange","onClose","prefixCls","getContainer","style","className","visible","afterVisibleChange"]),{getPopupContainer:kt,getPrefixCls:It,direction:Dt,drawer:xe}=be.useContext(Xe.E_),tt=It("drawer",he),[at,it]=Qt(tt),ft=Be===void 0&&kt?()=>kt(document.body):Be,en=Pe()({"no-mask":!we,[`${tt}-rtl`]:Dt==="rtl"},nn,it),dn=be.useMemo(()=>Jt!=null?Jt:je==="large"?736:378,[Jt,je]),on=be.useMemo(()=>Ue!=null?Ue:je==="large"?736:378,[Ue,je]),mn={motionName:(0,ve.m)(tt,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500},In=Tn=>({motionName:(0,ve.m)(tt,`panel-motion-${Tn}`),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500}),Ln=(0,Ze.H)();return at(be.createElement(Zt.BR,null,be.createElement(Rt.Ux,{status:!0,override:!0},be.createElement(Ie,Object.assign({prefixCls:tt,onClose:ye,maskMotion:mn,motion:In},Ct,{open:Re!=null?Re:Me,mask:we,push:me,width:dn,height:on,style:Object.assign(Object.assign({},xe==null?void 0:xe.style),Ne),className:Pe()(xe==null?void 0:xe.className,Ee),rootClassName:en,getContainer:ft,afterOpenChange:yt!=null?yt:bt,panelRef:Ln}),be.createElement(ct,Object.assign({prefixCls:tt},Ct,{onClose:ye}))))))},$t=rt=>{const{prefixCls:wt,style:nn,className:Jt,placement:Ue="right"}=rt,je=lt(rt,["prefixCls","style","className","placement"]),{getPrefixCls:we}=be.useContext(Xe.E_),me=we("drawer",wt),[Re,yt]=Qt(me),ye=Pe()(me,`${me}-pure`,`${me}-${Ue}`,yt,Jt);return Re(be.createElement("div",{className:ye,style:nn},be.createElement(ct,Object.assign({prefixCls:me},je))))};ht._InternalPanelDoNotUseOrYouWillBeFired=$t;var Fe=ht},91857:function(Ft,Tt,oe){"use strict";var ne=oe(59301),Pe=oe(38819),Ye=oe(92310),Oe=oe.n(Ye),De=oe(31561),ke=oe(70425),be=oe(18929),et=oe(2738),Qe=oe(79676),$e=oe(53487),ot=oe(92343),_e=oe(36355),Ke=oe(20834),se=oe(40875),y=oe(88088),a=oe(47211);const E=null,b=ie=>{const{menu:ce,arrow:ge,prefixCls:fe,children:Le,trigger:Ae,disabled:Ie,dropdownRender:ve,getPopupContainer:Xe,overlayClassName:Rt,rootClassName:Yt,open:qe,onOpenChange:ct,visible:Zt,onVisibleChange:qt,mouseEnterDelay:an=.15,mouseLeaveDelay:Pt=.1,autoAdjustOverflow:Ot=!0,placement:mt="",overlay:Qt,transitionName:Ze}=ie,{getPopupContainer:lt,getPrefixCls:Ht,direction:rn}=ne.useContext(_e.E_),ht=ne.useMemo(()=>{const Ee=Ht();return Ze!==void 0?Ze:mt.includes("top")?`${Ee}-slide-down`:`${Ee}-slide-up`},[Ht,mt,Ze]),$t=ne.useMemo(()=>mt?mt.includes("Center")?mt.slice(0,mt.indexOf("Center")):mt:rn==="rtl"?"bottomRight":"bottomLeft",[mt,rn]),Fe=Ht("dropdown",fe),[rt,wt]=(0,a.Z)(Fe),[,nn]=(0,y.Z)(),Jt=ne.Children.only(Le),Ue=(0,ot.Tm)(Jt,{className:Oe()(`${Fe}-trigger`,{[`${Fe}-rtl`]:rn==="rtl"},Jt.props.className),disabled:Ie}),je=Ie?[]:Ae;let we;je&&je.includes("contextMenu")&&(we=!0);const[me,Re]=(0,be.Z)(!1,{value:qe!=null?qe:Zt}),yt=(0,ke.useEvent)(Ee=>{ct==null||ct(Ee),qt==null||qt(Ee),Re(Ee)}),ye=Oe()(Rt,Yt,wt,{[`${Fe}-rtl`]:rn==="rtl"}),he=(0,Qe.Z)({arrowPointAtCenter:typeof ge=="object"&&ge.pointAtCenter,autoAdjustOverflow:Ot,offset:nn.marginXXS,arrowWidth:ge?nn.sizePopupArrow:0,borderRadius:nn.borderRadius}),Be=ne.useCallback(()=>{Re(!1)},[]),Ne=()=>{let Ee;return ce!=null&&ce.items?Ee=ne.createElement(Ke.default,Object.assign({},ce)):typeof Qt=="function"?Ee=Qt():Ee=Qt,ve&&(Ee=ve(Ee)),Ee=ne.Children.only(typeof Ee=="string"?ne.createElement("span",null,Ee):Ee),ne.createElement(se.J,{prefixCls:`${Fe}-menu`,expandIcon:ne.createElement("span",{className:`${Fe}-menu-submenu-arrow`},ne.createElement(Pe.Z,{className:`${Fe}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:Be,validator:Me=>{let{mode:bt}=Me}},Ee)};return rt(ne.createElement(De.Z,Object.assign({alignPoint:we},(0,et.Z)(ie,["rootClassName"]),{mouseEnterDelay:an,mouseLeaveDelay:Pt,visible:me,builtinPlacements:he,arrow:!!ge,overlayClassName:ye,prefixCls:Fe,getPopupContainer:Xe||lt,transitionName:ht,trigger:je,overlay:Ne,placement:$t,onVisibleChange:yt}),Ue))};function x(ie){return Object.assign(Object.assign({},ie),{align:{overflow:{adjustX:!1,adjustY:!1}}})}const te=(0,$e.Z)(b,"dropdown",ie=>ie,x),ae=ie=>ne.createElement(te,Object.assign({},ie),ne.createElement("span",null));b._InternalPanelDoNotUseOrYouWillBeFired=ae,Tt.Z=b},38854:function(Ft,Tt,oe){"use strict";oe.d(Tt,{Z:function(){return y}});var ne=oe(91857),Pe=oe(92310),Ye=oe.n(Pe),Oe=oe(59301),De=oe(18785),ke=oe(3113),be=oe(36355),et=oe(81327),Qe=oe(33234),$e=oe(47211),ot=function(a,E){var b={};for(var x in a)Object.prototype.hasOwnProperty.call(a,x)&&E.indexOf(x)<0&&(b[x]=a[x]);if(a!=null&&typeof Object.getOwnPropertySymbols=="function")for(var te=0,x=Object.getOwnPropertySymbols(a);te{const{getPopupContainer:E,getPrefixCls:b,direction:x}=Oe.useContext(be.E_),{prefixCls:te,type:ae="default",danger:ie,disabled:ce,loading:ge,onClick:fe,htmlType:Le,children:Ae,className:Ie,menu:ve,arrow:Xe,autoFocus:Rt,overlay:Yt,trigger:qe,align:ct,open:Zt,onOpenChange:qt,placement:an,getPopupContainer:Pt,href:Ot,icon:mt=Oe.createElement(De.Z,null),title:Qt,buttonsRender:Ze=Ne=>Ne,mouseEnterDelay:lt,mouseLeaveDelay:Ht,overlayClassName:rn,overlayStyle:ht,destroyPopupOnHide:$t,dropdownRender:Fe}=a,rt=ot(a,["prefixCls","type","danger","disabled","loading","onClick","htmlType","children","className","menu","arrow","autoFocus","overlay","trigger","align","open","onOpenChange","placement","getPopupContainer","href","icon","title","buttonsRender","mouseEnterDelay","mouseLeaveDelay","overlayClassName","overlayStyle","destroyPopupOnHide","dropdownRender"]),wt=b("dropdown",te),nn=`${wt}-button`,[Jt,Ue]=(0,$e.Z)(wt),je={menu:ve,arrow:Xe,autoFocus:Rt,align:ct,disabled:ce,trigger:ce?[]:qe,onOpenChange:qt,getPopupContainer:Pt||E,mouseEnterDelay:lt,mouseLeaveDelay:Ht,overlayClassName:rn,overlayStyle:ht,destroyPopupOnHide:$t,dropdownRender:Fe},{compactSize:we,compactItemClassnames:me}=(0,Qe.ri)(wt,x),Re=Ye()(nn,me,Ie,Ue);"overlay"in a&&(je.overlay=Yt),"open"in a&&(je.open=Zt),"placement"in a?je.placement=an:je.placement=x==="rtl"?"bottomLeft":"bottomRight";const yt=Oe.createElement(ke.ZP,{type:ae,danger:ie,disabled:ce,loading:ge,onClick:fe,htmlType:Le,href:Ot,title:Qt},Ae),ye=Oe.createElement(ke.ZP,{type:ae,danger:ie,icon:mt}),[he,Be]=Ze([yt,ye]);return Jt(Oe.createElement(et.Z.Compact,Object.assign({className:Re,size:we,block:!0},rt),he,Oe.createElement(ne.Z,Object.assign({},je),Be)))};_e.__ANT_BUTTON=!0;var Ke=_e;const se=ne.Z;se.Button=Ke;var y=se},47211:function(Ft,Tt,oe){"use strict";oe.d(Tt,{Z:function(){return ot}});var ne=oe(17313),Pe=oe(13826),Ye=oe(92899),Oe=oe(29878),De=oe(19447),ke=oe(83116),be=oe(37613),Qe=_e=>{const{componentCls:Ke,menuCls:se,colorError:y,colorTextLightSolid:a}=_e,E=`${se}-item`;return{[`${Ke}, ${Ke}-menu-submenu`]:{[`${se} ${E}`]:{[`&${E}-danger:not(${E}-disabled)`]:{color:y,"&:hover":{color:a,backgroundColor:y}}}}}};const $e=_e=>{const{componentCls:Ke,menuCls:se,zIndexPopup:y,dropdownArrowDistance:a,sizePopupArrow:E,antCls:b,iconCls:x,motionDurationMid:te,dropdownPaddingVertical:ae,fontSize:ie,dropdownEdgeChildPadding:ce,colorTextDisabled:ge,fontSizeIcon:fe,controlPaddingHorizontal:Le,colorBgElevated:Ae}=_e;return[{[Ke]:Object.assign(Object.assign({},(0,ne.Wf)(_e)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:y,display:"block","&::before":{position:"absolute",insetBlock:-a+E/2,zIndex:-9999,opacity:1e-4,content:'""'},[`&-trigger${b}-btn`]:{[`& > ${x}-down, & > ${b}-btn-icon > ${x}-down`]:{fontSize:fe}},[`${Ke}-wrap`]:{position:"relative",[`${b}-btn > ${x}-down`]:{fontSize:fe},[`${x}-down::before`]:{transition:`transform ${te}`}},[`${Ke}-wrap-open`]:{[`${x}-down::before`]:{transform:"rotate(180deg)"}},"\n &-hidden,\n &-menu-hidden,\n &-menu-submenu-hidden\n ":{display:"none"},[`&${b}-slide-down-enter${b}-slide-down-enter-active${Ke}-placement-bottomLeft, + &${b}-slide-down-appear${b}-slide-down-appear-active${Ke}-placement-bottomLeft, + &${b}-slide-down-enter${b}-slide-down-enter-active${Ke}-placement-bottom, + &${b}-slide-down-appear${b}-slide-down-appear-active${Ke}-placement-bottom, + &${b}-slide-down-enter${b}-slide-down-enter-active${Ke}-placement-bottomRight, + &${b}-slide-down-appear${b}-slide-down-appear-active${Ke}-placement-bottomRight`]:{animationName:Pe.fJ},[`&${b}-slide-up-enter${b}-slide-up-enter-active${Ke}-placement-topLeft, + &${b}-slide-up-appear${b}-slide-up-appear-active${Ke}-placement-topLeft, + &${b}-slide-up-enter${b}-slide-up-enter-active${Ke}-placement-top, + &${b}-slide-up-appear${b}-slide-up-appear-active${Ke}-placement-top, + &${b}-slide-up-enter${b}-slide-up-enter-active${Ke}-placement-topRight, + &${b}-slide-up-appear${b}-slide-up-appear-active${Ke}-placement-topRight`]:{animationName:Pe.Qt},[`&${b}-slide-down-leave${b}-slide-down-leave-active${Ke}-placement-bottomLeft, + &${b}-slide-down-leave${b}-slide-down-leave-active${Ke}-placement-bottom, + &${b}-slide-down-leave${b}-slide-down-leave-active${Ke}-placement-bottomRight`]:{animationName:Pe.Uw},[`&${b}-slide-up-leave${b}-slide-up-leave-active${Ke}-placement-topLeft, + &${b}-slide-up-leave${b}-slide-up-leave-active${Ke}-placement-top, + &${b}-slide-up-leave${b}-slide-up-leave-active${Ke}-placement-topRight`]:{animationName:Pe.ly}})},(0,De.ZP)(_e,{colorBg:Ae,limitVerticalRadius:!0,arrowPlacement:{top:!0,bottom:!0}}),{[`${Ke} ${se}`]:{position:"relative",margin:0},[`${se}-submenu-popup`]:{position:"absolute",zIndex:y,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${Ke}, ${Ke}-menu-submenu`]:{[se]:Object.assign(Object.assign({padding:ce,listStyleType:"none",backgroundColor:Ae,backgroundClip:"padding-box",borderRadius:_e.borderRadiusLG,outline:"none",boxShadow:_e.boxShadowSecondary},(0,ne.Qy)(_e)),{[`${se}-item-group-title`]:{padding:`${ae}px ${Le}px`,color:_e.colorTextDescription,transition:`all ${te}`},[`${se}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${se}-item-icon`]:{minWidth:ie,marginInlineEnd:_e.marginXS,fontSize:_e.fontSizeSM},[`${se}-title-content`]:{flex:"auto","> a":{color:"inherit",transition:`all ${te}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}}},[`${se}-item, ${se}-submenu-title`]:Object.assign(Object.assign({clear:"both",margin:0,padding:`${ae}px ${Le}px`,color:_e.colorText,fontWeight:"normal",fontSize:ie,lineHeight:_e.lineHeight,cursor:"pointer",transition:`all ${te}`,borderRadius:_e.borderRadiusSM,"&:hover, &-active":{backgroundColor:_e.controlItemBgHover}},(0,ne.Qy)(_e)),{"&-selected":{color:_e.colorPrimary,backgroundColor:_e.controlItemBgActive,"&:hover, &-active":{backgroundColor:_e.controlItemBgActiveHover}},"&-disabled":{color:ge,cursor:"not-allowed","&:hover":{color:ge,backgroundColor:Ae,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${_e.marginXXS}px 0`,overflow:"hidden",lineHeight:0,backgroundColor:_e.colorSplit},[`${Ke}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:_e.paddingXS,[`${Ke}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:_e.colorTextDescription,fontSize:fe,fontStyle:"normal"}}}),[`${se}-item-group-list`]:{margin:`0 ${_e.marginXS}px`,padding:0,listStyle:"none"},[`${se}-submenu-title`]:{paddingInlineEnd:Le+_e.fontSizeSM},[`${se}-submenu-vertical`]:{position:"relative"},[`${se}-submenu${se}-submenu-disabled ${Ke}-menu-submenu-title`]:{[`&, ${Ke}-menu-submenu-arrow-icon`]:{color:ge,backgroundColor:Ae,cursor:"not-allowed"}},[`${se}-submenu-selected ${Ke}-menu-submenu-title`]:{color:_e.colorPrimary}})}},[(0,Pe.oN)(_e,"slide-up"),(0,Pe.oN)(_e,"slide-down"),(0,Ye.Fm)(_e,"move-up"),(0,Ye.Fm)(_e,"move-down"),(0,Oe._y)(_e,"zoom-big")]]};var ot=(0,ke.Z)("Dropdown",(_e,Ke)=>{let{rootPrefixCls:se}=Ke;const{marginXXS:y,sizePopupArrow:a,controlHeight:E,fontSize:b,lineHeight:x,paddingXXS:te,componentCls:ae,borderRadiusLG:ie}=_e,ce=(E-b*x)/2,{dropdownArrowOffset:ge}=(0,De.fS)({contentRadius:ie}),fe=(0,be.TS)(_e,{menuCls:`${ae}-menu`,rootPrefixCls:se,dropdownArrowDistance:a/2+y,dropdownArrowOffset:ge,dropdownPaddingVertical:ce,dropdownEdgeChildPadding:te});return[$e(fe),Qe(fe)]},_e=>({zIndexPopup:_e.zIndexPopupBase+50}))},8628:function(Ft,Tt,oe){"use strict";var ne=oe(59301),Pe=oe(34280),Ye=oe(56762),Oe=oe(69507);function De(){let ke=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;const be=(0,ne.useRef)({}),et=(0,Ye.Z)(),Qe=(0,Oe.ZP)();return(0,Pe.Z)(()=>{const $e=Qe.subscribe(ot=>{be.current=ot,ke&&et()});return()=>Qe.unsubscribe($e)},[]),be.current}Tt.Z=De},45818:function(Ft,Tt,oe){"use strict";oe.d(Tt,{D:function(){return te},Z:function(){return ce}});var ne=oe(72308),Pe=oe(59301),Ye={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"bars",theme:"outlined"},Oe=Ye,De=oe(7657),ke=function(fe,Le){return Pe.createElement(De.Z,(0,ne.Z)({},fe,{ref:Le,icon:Oe}))},be=Pe.forwardRef(ke),et=be,Qe=oe(33853),$e=oe(38819),ot=oe(92310),_e=oe.n(ot),Ke=oe(2738),y=ge=>!isNaN(parseFloat(ge))&&isFinite(ge),a=oe(36355),E=oe(84966),b=function(ge,fe){var Le={};for(var Ae in ge)Object.prototype.hasOwnProperty.call(ge,Ae)&&fe.indexOf(Ae)<0&&(Le[Ae]=ge[Ae]);if(ge!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ie=0,Ae=Object.getOwnPropertySymbols(ge);Ie{let ge=0;return function(){let fe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return ge+=1,`${fe}${ge}`}})();var ce=Pe.forwardRef((ge,fe)=>{const{prefixCls:Le,className:Ae,trigger:Ie,children:ve,defaultCollapsed:Xe=!1,theme:Rt="dark",style:Yt={},collapsible:qe=!1,reverseArrow:ct=!1,width:Zt=200,collapsedWidth:qt=80,zeroWidthTriggerStyle:an,breakpoint:Pt,onCollapse:Ot,onBreakpoint:mt}=ge,Qt=b(ge,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:Ze}=(0,Pe.useContext)(E.Gs),[lt,Ht]=(0,Pe.useState)("collapsed"in ge?ge.collapsed:Xe),[rn,ht]=(0,Pe.useState)(!1);(0,Pe.useEffect)(()=>{"collapsed"in ge&&Ht(ge.collapsed)},[ge.collapsed]);const $t=(Ue,je)=>{"collapsed"in ge||Ht(Ue),Ot==null||Ot(Ue,je)},Fe=(0,Pe.useRef)();Fe.current=Ue=>{ht(Ue.matches),mt==null||mt(Ue.matches),lt!==Ue.matches&&$t(Ue.matches,"responsive")},(0,Pe.useEffect)(()=>{function Ue(we){return Fe.current(we)}let je;if(typeof window!="undefined"){const{matchMedia:we}=window;if(we&&Pt&&Pt in x){je=we(`(max-width: ${x[Pt]})`);try{je.addEventListener("change",Ue)}catch(me){je.addListener(Ue)}Ue(je)}}return()=>{try{je==null||je.removeEventListener("change",Ue)}catch(we){je==null||je.removeListener(Ue)}}},[Pt]),(0,Pe.useEffect)(()=>{const Ue=ae("ant-sider-");return Ze.addSider(Ue),()=>Ze.removeSider(Ue)},[]);const rt=()=>{$t(!lt,"clickTrigger")},{getPrefixCls:wt}=(0,Pe.useContext)(a.E_),nn=()=>{const Ue=wt("layout-sider",Le),je=(0,Ke.Z)(Qt,["collapsed"]),we=lt?qt:Zt,me=y(we)?`${we}px`:String(we),Re=parseFloat(String(qt||0))===0?Pe.createElement("span",{onClick:rt,className:_e()(`${Ue}-zero-width-trigger`,`${Ue}-zero-width-trigger-${ct?"right":"left"}`),style:an},Ie||Pe.createElement(et,null)):null,he={expanded:ct?Pe.createElement($e.Z,null):Pe.createElement(Qe.Z,null),collapsed:ct?Pe.createElement(Qe.Z,null):Pe.createElement($e.Z,null)}[lt?"collapsed":"expanded"],Be=Ie!==null?Re||Pe.createElement("div",{className:`${Ue}-trigger`,onClick:rt,style:{width:me}},Ie||he):null,Ne=Object.assign(Object.assign({},Yt),{flex:`0 0 ${me}`,maxWidth:me,minWidth:me,width:me}),Ee=_e()(Ue,`${Ue}-${Rt}`,{[`${Ue}-collapsed`]:!!lt,[`${Ue}-has-trigger`]:qe&&Ie!==null&&!Re,[`${Ue}-below`]:!!rn,[`${Ue}-zero-width`]:parseFloat(me)===0},Ae);return Pe.createElement("aside",Object.assign({className:Ee},je,{style:Ne,ref:fe}),Pe.createElement("div",{className:`${Ue}-children`},ve),qe||rn&&Re?Be:null)},Jt=Pe.useMemo(()=>({siderCollapsed:lt}),[lt]);return Pe.createElement(te.Provider,{value:Jt},nn())})},84966:function(Ft,Tt,oe){"use strict";oe.d(Tt,{VY:function(){return te},$_:function(){return x},h4:function(){return b},Gs:function(){return Ke},ZP:function(){return ae}});var ne=oe(80702),Pe=oe(92310),Ye=oe.n(Pe),Oe=oe(2738),De=oe(59301),ke=oe(36355),be=oe(83116),Qe=ie=>{const{componentCls:ce,bodyBg:ge,lightSiderBg:fe,lightTriggerBg:Le,lightTriggerColor:Ae}=ie;return{[`${ce}-sider-light`]:{background:fe,[`${ce}-sider-trigger`]:{color:Ae,background:Le},[`${ce}-sider-zero-width-trigger`]:{color:Ae,background:Le,border:`1px solid ${ge}`,borderInlineStart:0}}}};const $e=ie=>{const{antCls:ce,componentCls:ge,colorText:fe,triggerColor:Le,footerBg:Ae,triggerBg:Ie,headerHeight:ve,headerPadding:Xe,headerColor:Rt,footerPadding:Yt,triggerHeight:qe,zeroTriggerHeight:ct,zeroTriggerWidth:Zt,motionDurationMid:qt,motionDurationSlow:an,fontSize:Pt,borderRadius:Ot,bodyBg:mt,headerBg:Qt,siderBg:Ze}=ie;return{[ge]:Object.assign(Object.assign({display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:mt,"&, *":{boxSizing:"border-box"},[`&${ge}-has-sider`]:{flexDirection:"row",[`> ${ge}, > ${ge}-content`]:{width:0}},[`${ge}-header, &${ge}-footer`]:{flex:"0 0 auto"},[`${ge}-sider`]:{position:"relative",minWidth:0,background:Ze,transition:`all ${qt}, background 0s`,"&-children":{height:"100%",marginTop:-.1,paddingTop:.1,[`${ce}-menu${ce}-menu-inline-collapsed`]:{width:"auto"}},"&-has-trigger":{paddingBottom:qe},"&-right":{order:1},"&-trigger":{position:"fixed",bottom:0,zIndex:1,height:qe,color:Le,lineHeight:`${qe}px`,textAlign:"center",background:Ie,cursor:"pointer",transition:`all ${qt}`},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:ve,insetInlineEnd:-Zt,zIndex:1,width:Zt,height:ct,color:Le,fontSize:ie.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:Ze,borderStartStartRadius:0,borderStartEndRadius:Ot,borderEndEndRadius:Ot,borderEndStartRadius:0,cursor:"pointer",transition:`background ${an} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${an}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:-Zt,borderStartStartRadius:Ot,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:Ot}}}}},Qe(ie)),{"&-rtl":{direction:"rtl"}}),[`${ge}-header`]:{height:ve,padding:Xe,color:Rt,lineHeight:`${ve}px`,background:Qt,[`${ce}-menu`]:{lineHeight:"inherit"}},[`${ge}-footer`]:{padding:Yt,color:fe,fontSize:Pt,background:Ae},[`${ge}-content`]:{flex:"auto",minHeight:0}}};var ot=(0,be.Z)("Layout",ie=>[$e(ie)],ie=>{const{colorBgLayout:ce,controlHeight:ge,controlHeightLG:fe,colorText:Le,controlHeightSM:Ae,marginXXS:Ie,colorTextLightSolid:ve,colorBgContainer:Xe}=ie,Rt=fe*1.25;return{colorBgHeader:"#001529",colorBgBody:ce,colorBgTrigger:"#002140",bodyBg:ce,headerBg:"#001529",headerHeight:ge*2,headerPadding:`0 ${Rt}px`,headerColor:Le,footerPadding:`${Ae}px ${Rt}px`,footerBg:ce,siderBg:"#001529",triggerHeight:fe+Ie*2,triggerBg:"#002140",triggerColor:ve,zeroTriggerWidth:fe,zeroTriggerHeight:fe,lightSiderBg:Xe,lightTriggerBg:Xe,lightTriggerColor:Le}},{deprecatedTokens:[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]]}),_e=function(ie,ce){var ge={};for(var fe in ie)Object.prototype.hasOwnProperty.call(ie,fe)&&ce.indexOf(fe)<0&&(ge[fe]=ie[fe]);if(ie!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Le=0,fe=Object.getOwnPropertySymbols(ie);Lenull,removeSider:()=>null}});function se(ie){let{suffixCls:ce,tagName:ge,displayName:fe}=ie;return Le=>De.forwardRef((Ie,ve)=>De.createElement(Le,Object.assign({ref:ve,suffixCls:ce,tagName:ge},Ie)))}const y=De.forwardRef((ie,ce)=>{const{prefixCls:ge,suffixCls:fe,className:Le,tagName:Ae}=ie,Ie=_e(ie,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:ve}=De.useContext(ke.E_),Xe=ve("layout",ge),[Rt,Yt]=ot(Xe),qe=fe?`${Xe}-${fe}`:Xe;return Rt(De.createElement(Ae,Object.assign({className:Ye()(ge||qe,Le,Yt),ref:ce},Ie)))}),a=De.forwardRef((ie,ce)=>{const{direction:ge}=De.useContext(ke.E_),[fe,Le]=De.useState([]),{prefixCls:Ae,className:Ie,rootClassName:ve,children:Xe,hasSider:Rt,tagName:Yt,style:qe}=ie,ct=_e(ie,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),Zt=(0,Oe.Z)(ct,["suffixCls"]),{getPrefixCls:qt,layout:an}=De.useContext(ke.E_),Pt=qt("layout",Ae),[Ot,mt]=ot(Pt),Qt=Ye()(Pt,{[`${Pt}-has-sider`]:typeof Rt=="boolean"?Rt:fe.length>0,[`${Pt}-rtl`]:ge==="rtl"},an==null?void 0:an.className,Ie,ve,mt),Ze=De.useMemo(()=>({siderHook:{addSider:lt=>{Le(Ht=>[].concat((0,ne.Z)(Ht),[lt]))},removeSider:lt=>{Le(Ht=>Ht.filter(rn=>rn!==lt))}}}),[]);return Ot(De.createElement(Ke.Provider,{value:Ze},De.createElement(Yt,Object.assign({ref:ce,className:Qt,style:Object.assign(Object.assign({},an==null?void 0:an.style),qe)},Zt),Xe)))}),E=se({tagName:"div",displayName:"Layout"})(a),b=se({suffixCls:"header",tagName:"header",displayName:"Header"})(y),x=se({suffixCls:"footer",tagName:"footer",displayName:"Footer"})(y),te=se({suffixCls:"content",tagName:"main",displayName:"Content"})(y);var ae=E},40875:function(Ft,Tt,oe){"use strict";oe.d(Tt,{J:function(){return ke}});var ne=oe(59301),Pe=oe(33234),Ye=oe(70425),Oe=function(be,et){var Qe={};for(var $e in be)Object.prototype.hasOwnProperty.call(be,$e)&&et.indexOf($e)<0&&(Qe[$e]=be[$e]);if(be!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ot=0,$e=Object.getOwnPropertySymbols(be);ot<$e.length;ot++)et.indexOf($e[ot])<0&&Object.prototype.propertyIsEnumerable.call(be,$e[ot])&&(Qe[$e[ot]]=be[$e[ot]]);return Qe};const De=ne.createContext(null),ke=ne.forwardRef((be,et)=>{const{children:Qe}=be,$e=Oe(be,["children"]),ot=ne.useContext(De),_e=ne.useMemo(()=>Object.assign(Object.assign({},ot),$e),[ot,$e.prefixCls,$e.mode,$e.selectable]);return ne.createElement(De.Provider,{value:_e},ne.createElement(Pe.BR,null,(0,Ye.supportNodeRef)(Qe)?ne.cloneElement(Qe,{ref:et}):Qe))});Tt.Z=De},20834:function(Ft,Tt,oe){"use strict";oe.d(Tt,{default:function(){return Jt}});var ne=oe(15285),Pe=oe(59301),Ye=oe(45818),Oe=oe(92310),De=oe.n(Oe),ke=oe(36355),be=function(Ue,je){var we={};for(var me in Ue)Object.prototype.hasOwnProperty.call(Ue,me)&&je.indexOf(me)<0&&(we[me]=Ue[me]);if(Ue!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Re=0,me=Object.getOwnPropertySymbols(Ue);Re{const{prefixCls:je,className:we,dashed:me}=Ue,Re=be(Ue,["prefixCls","className","dashed"]),{getPrefixCls:yt}=Pe.useContext(ke.E_),ye=yt("menu",je),he=De()({[`${ye}-item-divider-dashed`]:!!me},we);return Pe.createElement(ne.iz,Object.assign({className:he},Re))},$e=oe(11592),ot=oe(2738),_e=oe(6848),Ke=oe(92343),y=(0,Pe.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),E=Ue=>{var je;const{className:we,children:me,icon:Re,title:yt,danger:ye}=Ue,{prefixCls:he,firstLevel:Be,direction:Ne,disableMenuItemTitleTooltip:Ee,inlineCollapsed:Me}=Pe.useContext(y),bt=tt=>{const at=Pe.createElement("span",{className:`${he}-title-content`},me);return(!Re||(0,Ke.l$)(me)&&me.type==="span")&&me&&tt&&Be&&typeof me=="string"?Pe.createElement("div",{className:`${he}-inline-collapsed-noicon`},me.charAt(0)):at},{siderCollapsed:Ct}=Pe.useContext(Ye.D);let kt=yt;typeof yt=="undefined"?kt=Be?me:"":yt===!1&&(kt="");const It={title:kt};!Ct&&!Me&&(It.title=null,It.open=!1);const Dt=(0,$e.Z)(me).length;let xe=Pe.createElement(ne.ck,Object.assign({},(0,ot.Z)(Ue,["title","icon","danger"]),{className:De()({[`${he}-item-danger`]:ye,[`${he}-item-only-child`]:(Re?Dt+1:Dt)===1},we),title:typeof yt=="string"?yt:void 0}),(0,Ke.Tm)(Re,{className:De()((0,Ke.l$)(Re)?(je=Re.props)===null||je===void 0?void 0:je.className:"",`${he}-item-icon`)}),bt(Me));return Ee||(xe=Pe.createElement(_e.Z,Object.assign({},It,{placement:Ne==="rtl"?"left":"right",overlayClassName:`${he}-inline-collapsed-tooltip`}),xe)),xe},x=Ue=>{var je;const{popupClassName:we,icon:me,title:Re,theme:yt}=Ue,ye=Pe.useContext(y),{prefixCls:he,inlineCollapsed:Be,theme:Ne}=ye,Ee=(0,ne.Xl)();let Me;if(!me)Me=Be&&!Ee.length&&Re&&typeof Re=="string"?Pe.createElement("div",{className:`${he}-inline-collapsed-noicon`},Re.charAt(0)):Pe.createElement("span",{className:`${he}-title-content`},Re);else{const Ct=(0,Ke.l$)(Re)&&Re.type==="span";Me=Pe.createElement(Pe.Fragment,null,(0,Ke.Tm)(me,{className:De()((0,Ke.l$)(me)?(je=me.props)===null||je===void 0?void 0:je.className:"",`${he}-item-icon`)}),Ct?Re:Pe.createElement("span",{className:`${he}-title-content`},Re))}const bt=Pe.useMemo(()=>Object.assign(Object.assign({},ye),{firstLevel:!1}),[ye]);return Pe.createElement(y.Provider,{value:bt},Pe.createElement(ne.Wd,Object.assign({},(0,ot.Z)(Ue,["icon"]),{title:Me,popupClassName:De()(he,we,`${he}-${yt||Ne}`)})))},te=oe(18785),ae=oe(70425),ie=oe(62892),ce=oe(40875),ge=function(Ue,je){var we={};for(var me in Ue)Object.prototype.hasOwnProperty.call(Ue,me)&&je.indexOf(me)<0&&(we[me]=Ue[me]);if(Ue!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Re=0,me=Object.getOwnPropertySymbols(Ue);Re{if(je&&typeof je=="object"){const me=je,{label:Re,children:yt,key:ye,type:he}=me,Be=ge(me,["label","children","key","type"]),Ne=ye!=null?ye:`tmp-${we}`;return yt||he==="group"?he==="group"?Pe.createElement(ne.BW,Object.assign({key:Ne},Be,{title:Re}),fe(yt)):Pe.createElement(x,Object.assign({key:Ne},Be,{title:Re}),fe(yt)):he==="divider"?Pe.createElement(Qe,Object.assign({key:Ne},Be)):Pe.createElement(E,Object.assign({key:Ne},Be),Re)}return null}).filter(je=>je)}function Le(Ue){return Pe.useMemo(()=>Ue&&fe(Ue),[Ue])}var Ae=oe(64993),Ie=oe(17313),ve=oe(8378),Xe=oe(13826),Rt=oe(29878),Yt=oe(83116),qe=oe(37613),Zt=Ue=>{const{componentCls:je,motionDurationSlow:we,horizontalLineHeight:me,colorSplit:Re,lineWidth:yt,lineType:ye,itemPaddingInline:he}=Ue;return{[`${je}-horizontal`]:{lineHeight:me,border:0,borderBottom:`${yt}px ${ye} ${Re}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${je}-item, ${je}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:he},[`> ${je}-item:hover, + > ${je}-item-active, + > ${je}-submenu ${je}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${je}-item, ${je}-submenu-title`]:{transition:[`border-color ${we}`,`background ${we}`].join(",")},[`${je}-submenu-arrow`]:{display:"none"}}}},an=Ue=>{let{componentCls:je,menuArrowOffset:we}=Ue;return{[`${je}-rtl`]:{direction:"rtl"},[`${je}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${je}-rtl${je}-vertical, + ${je}-submenu-rtl ${je}-vertical`]:{[`${je}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(-${we})`},"&::after":{transform:`rotate(45deg) translateY(${we})`}}}}};const Pt=Ue=>Object.assign({},(0,Ie.oN)(Ue));var mt=(Ue,je)=>{const{componentCls:we,itemColor:me,itemSelectedColor:Re,groupTitleColor:yt,itemBg:ye,subMenuItemBg:he,itemSelectedBg:Be,activeBarHeight:Ne,activeBarWidth:Ee,activeBarBorderWidth:Me,motionDurationSlow:bt,motionEaseInOut:Ct,motionEaseOut:kt,itemPaddingInline:It,motionDurationMid:Dt,itemHoverColor:xe,lineType:tt,colorSplit:at,itemDisabledColor:it,dangerItemColor:ft,dangerItemHoverColor:en,dangerItemSelectedColor:dn,dangerItemActiveBg:on,dangerItemSelectedBg:mn,itemHoverBg:In,itemActiveBg:Ln,menuSubMenuBg:Tn,horizontalItemSelectedColor:_n,horizontalItemSelectedBg:ta,horizontalItemBorderRadius:Fn,horizontalItemHoverBg:ra,popupBg:wn}=Ue;return{[`${we}-${je}, ${we}-${je} > ${we}`]:{color:me,background:ye,[`&${we}-root:focus-visible`]:Object.assign({},Pt(Ue)),[`${we}-item-group-title`]:{color:yt},[`${we}-submenu-selected`]:{[`> ${we}-submenu-title`]:{color:Re}},[`${we}-item-disabled, ${we}-submenu-disabled`]:{color:`${it} !important`},[`${we}-item:not(${we}-item-selected):not(${we}-submenu-selected)`]:{[`&:hover, > ${we}-submenu-title:hover`]:{color:xe}},[`&:not(${we}-horizontal)`]:{[`${we}-item:not(${we}-item-selected)`]:{"&:hover":{backgroundColor:In},"&:active":{backgroundColor:Ln}},[`${we}-submenu-title`]:{"&:hover":{backgroundColor:In},"&:active":{backgroundColor:Ln}}},[`${we}-item-danger`]:{color:ft,[`&${we}-item:hover`]:{[`&:not(${we}-item-selected):not(${we}-submenu-selected)`]:{color:en}},[`&${we}-item:active`]:{background:on}},[`${we}-item a`]:{"&, &:hover":{color:"inherit"}},[`${we}-item-selected`]:{color:Re,[`&${we}-item-danger`]:{color:dn},"a, a:hover":{color:"inherit"}},[`& ${we}-item-selected`]:{backgroundColor:Be,[`&${we}-item-danger`]:{backgroundColor:mn}},[`${we}-item, ${we}-submenu-title`]:{[`&:not(${we}-item-disabled):focus-visible`]:Object.assign({},Pt(Ue))},[`&${we}-submenu > ${we}`]:{backgroundColor:Tn},[`&${we}-popup > ${we}`]:{backgroundColor:wn},[`&${we}-horizontal`]:Object.assign(Object.assign({},je==="dark"?{borderBottom:0}:{}),{[`> ${we}-item, > ${we}-submenu`]:{top:Me,marginTop:-Me,marginBottom:0,borderRadius:Fn,"&::after":{position:"absolute",insetInline:It,bottom:0,borderBottom:`${Ne}px solid transparent`,transition:`border-color ${bt} ${Ct}`,content:'""'},"&:hover, &-active, &-open":{background:ra,"&::after":{borderBottomWidth:Ne,borderBottomColor:_n}},"&-selected":{color:_n,backgroundColor:ta,"&:hover":{backgroundColor:ta},"&::after":{borderBottomWidth:Ne,borderBottomColor:_n}}}}),[`&${we}-root`]:{[`&${we}-inline, &${we}-vertical`]:{borderInlineEnd:`${Me}px ${tt} ${at}`}},[`&${we}-inline`]:{[`${we}-sub${we}-inline`]:{background:he},[`${we}-item, ${we}-submenu-title`]:Me&&Ee?{width:`calc(100% + ${Me}px)`}:{},[`${we}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${Ee}px solid ${Re}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${Dt} ${kt}`,`opacity ${Dt} ${kt}`].join(","),content:'""'},[`&${we}-item-danger`]:{"&::after":{borderInlineEndColor:dn}}},[`${we}-selected, ${we}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${Dt} ${Ct}`,`opacity ${Dt} ${Ct}`].join(",")}}}}}};const Qt=Ue=>{const{componentCls:je,itemHeight:we,itemMarginInline:me,padding:Re,menuArrowSize:yt,marginXS:ye,itemMarginBlock:he}=Ue,Be=Re+yt+ye;return{[`${je}-item`]:{position:"relative",overflow:"hidden"},[`${je}-item, ${je}-submenu-title`]:{height:we,lineHeight:`${we}px`,paddingInline:Re,overflow:"hidden",textOverflow:"ellipsis",marginInline:me,marginBlock:he,width:`calc(100% - ${me*2}px)`},[`> ${je}-item, + > ${je}-submenu > ${je}-submenu-title`]:{height:we,lineHeight:`${we}px`},[`${je}-item-group-list ${je}-submenu-title, + ${je}-submenu-title`]:{paddingInlineEnd:Be}}};var lt=Ue=>{const{componentCls:je,iconCls:we,itemHeight:me,colorTextLightSolid:Re,dropdownWidth:yt,controlHeightLG:ye,motionDurationMid:he,motionEaseOut:Be,paddingXL:Ne,itemMarginInline:Ee,fontSizeLG:Me,motionDurationSlow:bt,paddingXS:Ct,boxShadowSecondary:kt,collapsedWidth:It,collapsedIconSize:Dt}=Ue,xe={height:me,lineHeight:`${me}px`,listStylePosition:"inside",listStyleType:"disc"};return[{[je]:{"&-inline, &-vertical":Object.assign({[`&${je}-root`]:{boxShadow:"none"}},Qt(Ue))},[`${je}-submenu-popup`]:{[`${je}-vertical`]:Object.assign(Object.assign({},Qt(Ue)),{boxShadow:kt})}},{[`${je}-submenu-popup ${je}-vertical${je}-sub`]:{minWidth:yt,maxHeight:`calc(100vh - ${ye*2.5}px)`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${je}-inline`]:{width:"100%",[`&${je}-root`]:{[`${je}-item, ${je}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${bt}`,`background ${bt}`,`padding ${he} ${Be}`].join(","),[`> ${je}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${je}-sub${je}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${je}-submenu > ${je}-submenu-title`]:xe,[`& ${je}-item-group-title`]:{paddingInlineStart:Ne}},[`${je}-item`]:xe}},{[`${je}-inline-collapsed`]:{width:It,[`&${je}-root`]:{[`${je}-item, ${je}-submenu ${je}-submenu-title`]:{[`> ${je}-inline-collapsed-noicon`]:{fontSize:Me,textAlign:"center"}}},[`> ${je}-item, + > ${je}-item-group > ${je}-item-group-list > ${je}-item, + > ${je}-item-group > ${je}-item-group-list > ${je}-submenu > ${je}-submenu-title, + > ${je}-submenu > ${je}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${Me/2}px - ${Ee}px)`,textOverflow:"clip",[` + ${je}-submenu-arrow, + ${je}-submenu-expand-icon + `]:{opacity:0},[`${je}-item-icon, ${we}`]:{margin:0,fontSize:Dt,lineHeight:`${me}px`,"+ span":{display:"inline-block",opacity:0}}},[`${je}-item-icon, ${we}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${je}-item-icon, ${we}`]:{display:"none"},"a, a:hover":{color:Re}},[`${je}-item-group-title`]:Object.assign(Object.assign({},Ie.vS),{paddingInline:Ct})}}]};const Ht=Ue=>{const{componentCls:je,motionDurationSlow:we,motionDurationMid:me,motionEaseInOut:Re,motionEaseOut:yt,iconCls:ye,iconSize:he,iconMarginInlineEnd:Be}=Ue;return{[`${je}-item, ${je}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${we}`,`background ${we}`,`padding ${we} ${Re}`].join(","),[`${je}-item-icon, ${ye}`]:{minWidth:he,fontSize:he,transition:[`font-size ${me} ${yt}`,`margin ${we} ${Re}`,`color ${we}`].join(","),"+ span":{marginInlineStart:Be,opacity:1,transition:[`opacity ${we} ${Re}`,`margin ${we}`,`color ${we}`].join(",")}},[`${je}-item-icon`]:Object.assign({},(0,Ie.Ro)()),[`&${je}-item-only-child`]:{[`> ${ye}, > ${je}-item-icon`]:{marginInlineEnd:0}}},[`${je}-item-disabled, ${je}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important"},[`> ${je}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},rn=Ue=>{const{componentCls:je,motionDurationSlow:we,motionEaseInOut:me,borderRadius:Re,menuArrowSize:yt,menuArrowOffset:ye}=Ue;return{[`${je}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:Ue.margin,width:yt,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${we} ${me}, opacity ${we}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:yt*.6,height:yt*.15,backgroundColor:"currentcolor",borderRadius:Re,transition:[`background ${we} ${me}`,`transform ${we} ${me}`,`top ${we} ${me}`,`color ${we} ${me}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(-${ye})`},"&::after":{transform:`rotate(-45deg) translateY(${ye})`}}}}},ht=Ue=>{const{antCls:je,componentCls:we,fontSize:me,motionDurationSlow:Re,motionDurationMid:yt,motionEaseInOut:ye,paddingXS:he,padding:Be,colorSplit:Ne,lineWidth:Ee,zIndexPopup:Me,borderRadiusLG:bt,subMenuItemBorderRadius:Ct,menuArrowSize:kt,menuArrowOffset:It,lineType:Dt,menuPanelMaskInset:xe,groupTitleLineHeight:tt,groupTitleFontSize:at}=Ue;return[{"":{[`${we}`]:Object.assign(Object.assign({},(0,Ie.dF)()),{"&-hidden":{display:"none"}})},[`${we}-submenu-hidden`]:{display:"none"}},{[we]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Ie.Wf)(Ue)),(0,Ie.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:me,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${Re} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${we}-item`]:{flex:"none"}},[`${we}-item, ${we}-submenu, ${we}-submenu-title`]:{borderRadius:Ue.itemBorderRadius},[`${we}-item-group-title`]:{padding:`${he}px ${Be}px`,fontSize:at,lineHeight:tt,transition:`all ${Re}`},[`&-horizontal ${we}-submenu`]:{transition:[`border-color ${Re} ${ye}`,`background ${Re} ${ye}`].join(",")},[`${we}-submenu, ${we}-submenu-inline`]:{transition:[`border-color ${Re} ${ye}`,`background ${Re} ${ye}`,`padding ${yt} ${ye}`].join(",")},[`${we}-submenu ${we}-sub`]:{cursor:"initial",transition:[`background ${Re} ${ye}`,`padding ${Re} ${ye}`].join(",")},[`${we}-title-content`]:{transition:`color ${Re}`},[`${we}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${we}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:Ne,borderStyle:Dt,borderWidth:0,borderTopWidth:Ee,marginBlock:Ee,padding:0,"&-dashed":{borderStyle:"dashed"}}}),Ht(Ue)),{[`${we}-item-group`]:{[`${we}-item-group-list`]:{margin:0,padding:0,[`${we}-item, ${we}-submenu-title`]:{paddingInline:`${me*2}px ${Be}px`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:Me,borderRadius:bt,boxShadow:"none",transformOrigin:"0 0",[`&${we}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:`${xe}px 0 0`,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'}},"&-placement-rightTop::before":{top:0,insetInlineStart:xe},"\n &-placement-leftTop,\n &-placement-bottomRight,\n ":{transformOrigin:"100% 0"},"\n &-placement-leftBottom,\n &-placement-topRight,\n ":{transformOrigin:"100% 100%"},"\n &-placement-rightBottom,\n &-placement-topLeft,\n ":{transformOrigin:"0 100%"},"\n &-placement-bottomLeft,\n &-placement-rightTop,\n ":{transformOrigin:"0 0"},"\n &-placement-leftTop,\n &-placement-leftBottom\n ":{paddingInlineEnd:Ue.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:Ue.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:Ue.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:Ue.paddingXS},[`> ${we}`]:Object.assign(Object.assign(Object.assign({borderRadius:bt},Ht(Ue)),rn(Ue)),{[`${we}-item, ${we}-submenu > ${we}-submenu-title`]:{borderRadius:Ct},[`${we}-submenu-title::after`]:{transition:`transform ${Re} ${ye}`}})}}),rn(Ue)),{[`&-inline-collapsed ${we}-submenu-arrow, + &-inline ${we}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${It})`},"&::after":{transform:`rotate(45deg) translateX(-${It})`}},[`${we}-submenu-open${we}-submenu-inline > ${we}-submenu-title > ${we}-submenu-arrow`]:{transform:`translateY(-${kt*.2}px)`,"&::after":{transform:`rotate(-45deg) translateX(-${It})`},"&::before":{transform:`rotate(45deg) translateX(${It})`}}})},{[`${je}-layout-header`]:{[we]:{lineHeight:"inherit"}}}]};var $t=(Ue,je)=>(0,Yt.Z)("Menu",me=>{if(je===!1)return[];const{colorBgElevated:Re,colorPrimary:yt,colorTextLightSolid:ye,controlHeightLG:he,fontSize:Be,darkItemColor:Ne,darkDangerItemColor:Ee,darkItemBg:Me,darkSubMenuItemBg:bt,darkItemSelectedColor:Ct,darkItemSelectedBg:kt,darkDangerItemSelectedBg:It,darkItemHoverBg:Dt,darkGroupTitleColor:xe,darkItemHoverColor:tt,darkItemDisabledColor:at,darkDangerItemHoverColor:it,darkDangerItemSelectedColor:ft,darkDangerItemActiveBg:en}=me,dn=Be/7*5,on=(0,qe.TS)(me,{menuArrowSize:dn,menuHorizontalHeight:he*1.15,menuArrowOffset:`${dn*.25}px`,menuPanelMaskInset:-7,menuSubMenuBg:Re}),mn=(0,qe.TS)(on,{itemColor:Ne,itemHoverColor:tt,groupTitleColor:xe,itemSelectedColor:Ct,itemBg:Me,popupBg:Me,subMenuItemBg:bt,itemActiveBg:"transparent",itemSelectedBg:kt,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:Dt,itemDisabledColor:at,dangerItemColor:Ee,dangerItemHoverColor:it,dangerItemSelectedColor:ft,dangerItemActiveBg:en,dangerItemSelectedBg:It,menuSubMenuBg:bt,horizontalItemSelectedColor:ye,horizontalItemSelectedBg:yt});return[ht(on),Zt(on),lt(on),mt(on,"light"),mt(mn,"dark"),an(on),(0,ve.Z)(on),(0,Xe.oN)(on,"slide-up"),(0,Xe.oN)(on,"slide-down"),(0,Rt._y)(on,"zoom-big")]},me=>{const{colorPrimary:Re,colorError:yt,colorTextDisabled:ye,colorErrorBg:he,colorText:Be,colorTextDescription:Ne,colorBgContainer:Ee,colorFillAlter:Me,colorFillContent:bt,lineWidth:Ct,lineWidthBold:kt,controlItemBgActive:It,colorBgTextHover:Dt,controlHeightLG:xe,lineHeight:tt,colorBgElevated:at,marginXXS:it,padding:ft,fontSize:en,controlHeightSM:dn,fontSizeLG:on,colorTextLightSolid:mn,colorErrorHover:In}=me,Ln=new Ae.C(mn).setAlpha(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:me.zIndexPopupBase+50,radiusItem:me.borderRadiusLG,itemBorderRadius:me.borderRadiusLG,radiusSubMenuItem:me.borderRadiusSM,subMenuItemBorderRadius:me.borderRadiusSM,colorItemText:Be,itemColor:Be,colorItemTextHover:Be,itemHoverColor:Be,colorItemTextHoverHorizontal:Re,horizontalItemHoverColor:Re,colorGroupTitle:Ne,groupTitleColor:Ne,colorItemTextSelected:Re,itemSelectedColor:Re,colorItemTextSelectedHorizontal:Re,horizontalItemSelectedColor:Re,colorItemBg:Ee,itemBg:Ee,colorItemBgHover:Dt,itemHoverBg:Dt,colorItemBgActive:bt,itemActiveBg:It,colorSubItemBg:Me,subMenuItemBg:Me,colorItemBgSelected:It,itemSelectedBg:It,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:0,colorActiveBarHeight:kt,activeBarHeight:kt,colorActiveBarBorderSize:Ct,activeBarBorderWidth:Ct,colorItemTextDisabled:ye,itemDisabledColor:ye,colorDangerItemText:yt,dangerItemColor:yt,colorDangerItemTextHover:yt,dangerItemHoverColor:yt,colorDangerItemTextSelected:yt,dangerItemSelectedColor:yt,colorDangerItemBgActive:he,dangerItemActiveBg:he,colorDangerItemBgSelected:he,dangerItemSelectedBg:he,itemMarginInline:me.marginXXS,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:xe,groupTitleLineHeight:tt,collapsedWidth:xe*2,popupBg:at,itemMarginBlock:it,itemPaddingInline:ft,horizontalLineHeight:`${xe*1.15}px`,iconSize:en,iconMarginInlineEnd:dn-en,collapsedIconSize:on,groupTitleFontSize:en,darkItemDisabledColor:new Ae.C(mn).setAlpha(.25).toRgbString(),darkItemColor:Ln,darkDangerItemColor:yt,darkItemBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:mn,darkItemSelectedBg:Re,darkDangerItemSelectedBg:yt,darkItemHoverBg:"transparent",darkGroupTitleColor:Ln,darkItemHoverColor:mn,darkDangerItemHoverColor:In,darkDangerItemSelectedColor:mn,darkDangerItemActiveBg:yt}},{deprecatedTokens:[["colorGroupTitle","groupTitleColor"],["radiusItem","itemBorderRadius"],["radiusSubMenuItem","subMenuItemBorderRadius"],["colorItemText","itemColor"],["colorItemTextHover","itemHoverColor"],["colorItemTextHoverHorizontal","horizontalItemHoverColor"],["colorItemTextSelected","itemSelectedColor"],["colorItemTextSelectedHorizontal","horizontalItemSelectedColor"],["colorItemTextDisabled","itemDisabledColor"],["colorDangerItemText","dangerItemColor"],["colorDangerItemTextHover","dangerItemHoverColor"],["colorDangerItemTextSelected","dangerItemSelectedColor"],["colorDangerItemBgActive","dangerItemActiveBg"],["colorDangerItemBgSelected","dangerItemSelectedBg"],["colorItemBg","itemBg"],["colorItemBgHover","itemHoverBg"],["colorSubItemBg","subMenuItemBg"],["colorItemBgActive","itemActiveBg"],["colorItemBgSelectedHorizontal","horizontalItemSelectedBg"],["colorActiveBarWidth","activeBarWidth"],["colorActiveBarHeight","activeBarHeight"],["colorActiveBarBorderSize","activeBarBorderWidth"],["colorItemBgSelected","itemSelectedBg"]]})(Ue),Fe=function(Ue,je){var we={};for(var me in Ue)Object.prototype.hasOwnProperty.call(Ue,me)&&je.indexOf(me)<0&&(we[me]=Ue[me]);if(Ue!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Re=0,me=Object.getOwnPropertySymbols(Ue);Re{var we,me;const Re=Pe.useContext(ce.Z),yt=Re||{},{getPrefixCls:ye,getPopupContainer:he,direction:Be,menu:Ne}=Pe.useContext(ke.E_),Ee=ye(),{prefixCls:Me,className:bt,style:Ct,theme:kt="light",expandIcon:It,_internalDisableMenuItemTitleTooltip:Dt,inlineCollapsed:xe,siderCollapsed:tt,items:at,children:it,rootClassName:ft,mode:en,selectable:dn,onClick:on,overflowedIndicatorPopupClassName:mn}=Ue,In=Fe(Ue,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","items","children","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),Ln=(0,ot.Z)(In,["collapsedWidth"]),Tn=Le(at)||it;(we=yt.validator)===null||we===void 0||we.call(yt,{mode:en});const _n=(0,ae.useEvent)(function(){var Oa;on==null||on.apply(void 0,arguments),(Oa=yt.onClick)===null||Oa===void 0||Oa.call(yt)}),ta=yt.mode||en,Fn=dn!=null?dn:yt.selectable,ra=Pe.useMemo(()=>tt!==void 0?tt:xe,[xe,tt]),wn={horizontal:{motionName:`${Ee}-slide-up`},inline:(0,ie.Z)(Ee),other:{motionName:`${Ee}-zoom-big`}},Kn=ye("menu",Me||yt.prefixCls),[oa,Ia]=$t(Kn,!Re),ba=De()(`${Kn}-${kt}`,Ne==null?void 0:Ne.className,bt);let za;if(typeof It=="function")za=It;else if(It===null||It===!1)za=null;else if(yt.expandIcon===null||yt.expandIcon===!1)za=null;else{const Oa=It!=null?It:yt.expandIcon;za=(0,Ke.Tm)(Oa,{className:De()(`${Kn}-submenu-expand-icon`,(0,Ke.l$)(Oa)?(me=Oa.props)===null||me===void 0?void 0:me.className:"")})}const Ua=Pe.useMemo(()=>({prefixCls:Kn,inlineCollapsed:ra||!1,direction:Be,firstLevel:!0,theme:kt,mode:ta,disableMenuItemTitleTooltip:Dt}),[Kn,ra,Be,Dt,kt]);return oa(Pe.createElement(ce.Z.Provider,{value:null},Pe.createElement(y.Provider,{value:Ua},Pe.createElement(ne.ZP,Object.assign({getPopupContainer:he,overflowedIndicator:Pe.createElement(te.Z,null),overflowedIndicatorPopupClassName:De()(Kn,`${Kn}-${kt}`,mn),mode:ta,selectable:Fn,onClick:_n},Ln,{inlineCollapsed:ra,style:Object.assign(Object.assign({},Ne==null?void 0:Ne.style),Ct),className:ba,prefixCls:Kn,direction:Be,defaultMotions:wn,expandIcon:za,ref:je,rootClassName:De()(ft,Ia)}),Tn))))});const nn=(0,Pe.forwardRef)((Ue,je)=>{const we=(0,Pe.useRef)(null),me=Pe.useContext(Ye.D);return(0,Pe.useImperativeHandle)(je,()=>({menu:we.current,focus:Re=>{var yt;(yt=we.current)===null||yt===void 0||yt.focus(Re)}})),Pe.createElement(wt,Object.assign({ref:we},Ue,me))});nn.Item=E,nn.SubMenu=x,nn.Divider=Qe,nn.ItemGroup=ne.BW;var Jt=nn},58421:function(Ft,Tt,oe){"use strict";oe.d(Tt,{Z:function(){return yt}});var ne=oe(72308),Pe=oe(59301),Ye={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M272.9 512l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L186.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H532c6.7 0 10.4-7.7 6.3-12.9L272.9 512zm304 0l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L490.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H836c6.7 0 10.4-7.7 6.3-12.9L576.9 512z"}}]},name:"double-left",theme:"outlined"},Oe=Ye,De=oe(7657),ke=function(he,Be){return Pe.createElement(De.Z,(0,ne.Z)({},he,{ref:Be,icon:Oe}))},be=Pe.forwardRef(ke),et=be,Qe=oe(49198),$e=oe(33853),ot=oe(38819),_e=oe(92310),Ke=oe.n(_e),se=oe(49618),y=oe(77321),a=oe(96949),E=oe(55090),b=oe(77205),x=oe(38793),te=oe(26112),ae={ZERO:48,NINE:57,NUMPAD_ZERO:96,NUMPAD_NINE:105,BACKSPACE:8,DELETE:46,ENTER:13,ARROW_UP:38,ARROW_DOWN:40},ie=ae,ce=oe(91735),ge=function(ye){(0,b.Z)(Be,ye);var he=(0,x.Z)(Be);function Be(){var Ne;(0,a.Z)(this,Be);for(var Ee=arguments.length,Me=new Array(Ee),bt=0;bt=0||Ct.relatedTarget.className.indexOf("".concat(xe,"-item"))>=0))&&Dt(Ne.getValidValue()))},Ne.go=function(Ct){var kt=Ne.state.goInputText;kt!==""&&(Ct.keyCode===ie.ENTER||Ct.type==="click")&&(Ne.setState({goInputText:""}),Ne.props.quickGo(Ne.getValidValue()))},Ne}return(0,E.Z)(Be,[{key:"getPageSizeOptions",value:function(){var Ee=this.props,Me=Ee.pageSize,bt=Ee.pageSizeOptions;return bt.some(function(Ct){return Ct.toString()===Me.toString()})?bt:bt.concat([Me.toString()]).sort(function(Ct,kt){var It=Number.isNaN(Number(Ct))?0:Number(Ct),Dt=Number.isNaN(Number(kt))?0:Number(kt);return It-Dt})}},{key:"render",value:function(){var Ee=this,Me=this.props,bt=Me.pageSize,Ct=Me.locale,kt=Me.rootPrefixCls,It=Me.changeSize,Dt=Me.quickGo,xe=Me.goButton,tt=Me.selectComponentClass,at=Me.buildOptionText,it=Me.selectPrefixCls,ft=Me.disabled,en=this.state.goInputText,dn="".concat(kt,"-options"),on=tt,mn=null,In=null,Ln=null;if(!It&&!Dt)return null;var Tn=this.getPageSizeOptions();if(It&&on){var _n=Tn.map(function(ta,Fn){return Pe.createElement(on.Option,{key:Fn,value:ta.toString()},(at||Ee.buildOptionText)(ta))});mn=Pe.createElement(on,{disabled:ft,prefixCls:it,showSearch:!1,className:"".concat(dn,"-size-changer"),optionLabelProp:"children",popupMatchSelectWidth:!1,value:(bt||Tn[0]).toString(),onChange:this.changeSize,getPopupContainer:function(Fn){return Fn.parentNode},"aria-label":Ct.page_size,defaultOpen:!1},_n)}return Dt&&(xe&&(Ln=typeof xe=="boolean"?Pe.createElement("button",{type:"button",onClick:this.go,onKeyUp:this.go,disabled:ft,className:"".concat(dn,"-quick-jumper-button")},Ct.jump_to_confirm):Pe.createElement("span",{onClick:this.go,onKeyUp:this.go},xe)),In=Pe.createElement("div",{className:"".concat(dn,"-quick-jumper")},Ct.jump_to,Pe.createElement("input",{disabled:ft,type:"text",value:en,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur,"aria-label":Ct.page}),Ct.page,Ln)),Pe.createElement("li",{className:"".concat(dn)},mn,In)}}]),Be}(Pe.Component);ge.defaultProps={pageSizeOptions:["10","20","50","100"]};var fe=ge,Le=function(he){var Be,Ne=he.rootPrefixCls,Ee=he.page,Me=he.active,bt=he.className,Ct=he.showTitle,kt=he.onClick,It=he.onKeyPress,Dt=he.itemRender,xe="".concat(Ne,"-item"),tt=Ke()(xe,"".concat(xe,"-").concat(Ee),(Be={},(0,se.Z)(Be,"".concat(xe,"-active"),Me),(0,se.Z)(Be,"".concat(xe,"-disabled"),!Ee),(0,se.Z)(Be,he.className,bt),Be)),at=function(){kt(Ee)},it=function(dn){It(dn,kt,Ee)},ft=Dt(Ee,"page",Pe.createElement("a",{rel:"nofollow"},Ee));return ft?Pe.createElement("li",{title:Ct?Ee.toString():null,className:tt,onClick:at,onKeyPress:it,tabIndex:0},ft):null},Ae=Le;function Ie(){}function ve(ye){var he=Number(ye);return typeof he=="number"&&!Number.isNaN(he)&&isFinite(he)&&Math.floor(he)===he}var Xe=function(he,Be,Ne){return Ne};function Rt(ye,he,Be){var Ne=typeof ye=="undefined"?he.pageSize:ye;return Math.floor((Be.total-1)/Ne)+1}var Yt=function(ye){(0,b.Z)(Be,ye);var he=(0,x.Z)(Be);function Be(Ne){var Ee;(0,a.Z)(this,Be),Ee=he.call(this,Ne),Ee.paginationNode=Pe.createRef(),Ee.getJumpPrevPage=function(){return Math.max(1,Ee.state.current-(Ee.props.showLessItems?3:5))},Ee.getJumpNextPage=function(){return Math.min(Rt(void 0,Ee.state,Ee.props),Ee.state.current+(Ee.props.showLessItems?3:5))},Ee.getItemIcon=function(It,Dt){var xe=Ee.props.prefixCls,tt=It||Pe.createElement("button",{type:"button","aria-label":Dt,className:"".concat(xe,"-item-link")});return typeof It=="function"&&(tt=Pe.createElement(It,(0,y.Z)({},Ee.props))),tt},Ee.isValid=function(It){var Dt=Ee.props.total;return ve(It)&&It!==Ee.state.current&&ve(Dt)&&Dt>0},Ee.shouldDisplayQuickJumper=function(){var It=Ee.props,Dt=It.showQuickJumper,xe=It.total,tt=Ee.state.pageSize;return xe<=tt?!1:Dt},Ee.handleKeyDown=function(It){(It.keyCode===ie.ARROW_UP||It.keyCode===ie.ARROW_DOWN)&&It.preventDefault()},Ee.handleKeyUp=function(It){var Dt=Ee.getValidValue(It),xe=Ee.state.currentInputValue;Dt!==xe&&Ee.setState({currentInputValue:Dt}),It.keyCode===ie.ENTER?Ee.handleChange(Dt):It.keyCode===ie.ARROW_UP?Ee.handleChange(Dt-1):It.keyCode===ie.ARROW_DOWN&&Ee.handleChange(Dt+1)},Ee.handleBlur=function(It){var Dt=Ee.getValidValue(It);Ee.handleChange(Dt)},Ee.changePageSize=function(It){var Dt=Ee.state.current,xe=Rt(It,Ee.state,Ee.props);Dt=Dt>xe?xe:Dt,xe===0&&(Dt=Ee.state.current),typeof It=="number"&&("pageSize"in Ee.props||Ee.setState({pageSize:It}),"current"in Ee.props||Ee.setState({current:Dt,currentInputValue:Dt})),Ee.props.onShowSizeChange(Dt,It),"onChange"in Ee.props&&Ee.props.onChange&&Ee.props.onChange(Dt,It)},Ee.handleChange=function(It){var Dt=Ee.props,xe=Dt.disabled,tt=Dt.onChange,at=Ee.state,it=at.pageSize,ft=at.current,en=at.currentInputValue;if(Ee.isValid(It)&&!xe){var dn=Rt(void 0,Ee.state,Ee.props),on=It;return It>dn?on=dn:It<1&&(on=1),"current"in Ee.props||Ee.setState({current:on}),on!==en&&Ee.setState({currentInputValue:on}),tt(on,it),on}return ft},Ee.prev=function(){Ee.hasPrev()&&Ee.handleChange(Ee.state.current-1)},Ee.next=function(){Ee.hasNext()&&Ee.handleChange(Ee.state.current+1)},Ee.jumpPrev=function(){Ee.handleChange(Ee.getJumpPrevPage())},Ee.jumpNext=function(){Ee.handleChange(Ee.getJumpNextPage())},Ee.hasPrev=function(){return Ee.state.current>1},Ee.hasNext=function(){return Ee.state.current2?xe-2:0),at=2;at=bt?kt=bt:kt=Number(Me),kt}},{key:"getShowSizeChanger",value:function(){var Ee=this.props,Me=Ee.showSizeChanger,bt=Ee.total,Ct=Ee.totalBoundaryShowSizeChanger;return typeof Me!="undefined"?Me:bt>Ct}},{key:"render",value:function(){var Ee=this.props,Me=Ee.prefixCls,bt=Ee.className,Ct=Ee.style,kt=Ee.disabled,It=Ee.hideOnSinglePage,Dt=Ee.total,xe=Ee.locale,tt=Ee.showQuickJumper,at=Ee.showLessItems,it=Ee.showTitle,ft=Ee.showTotal,en=Ee.simple,dn=Ee.itemRender,on=Ee.showPrevNextJumpers,mn=Ee.jumpPrevIcon,In=Ee.jumpNextIcon,Ln=Ee.selectComponentClass,Tn=Ee.selectPrefixCls,_n=Ee.pageSizeOptions,ta=this.state,Fn=ta.current,ra=ta.pageSize,wn=ta.currentInputValue;if(It===!0&&Dt<=ra)return null;var Kn=Rt(void 0,this.state,this.props),oa=[],Ia=null,ba=null,za=null,Ua=null,Oa=null,pa=tt&&tt.goButton,Sa=at?1:2,Wa=Fn-1>0?Fn-1:0,gt=Fn+1Dt?Dt:Fn*ra]));if(en){pa&&(typeof pa=="boolean"?Oa=Pe.createElement("button",{type:"button",onClick:this.handleGoTO,onKeyUp:this.handleGoTO},xe.jump_to_confirm):Oa=Pe.createElement("span",{onClick:this.handleGoTO,onKeyUp:this.handleGoTO},pa),Oa=Pe.createElement("li",{title:it?"".concat(xe.jump_to).concat(Fn,"/").concat(Kn):null,className:"".concat(Me,"-simple-pager")},Oa));var gn=this.renderPrev(Wa);return Pe.createElement("ul",(0,ne.Z)({className:Ke()(Me,"".concat(Me,"-simple"),(0,se.Z)({},"".concat(Me,"-disabled"),kt),bt),style:Ct,ref:this.paginationNode},St),dt,gn?Pe.createElement("li",{title:it?xe.prev_page:null,onClick:this.prev,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterPrev,className:Ke()("".concat(Me,"-prev"),(0,se.Z)({},"".concat(Me,"-disabled"),!this.hasPrev())),"aria-disabled":!this.hasPrev()},gn):null,Pe.createElement("li",{title:it?"".concat(Fn,"/").concat(Kn):null,className:"".concat(Me,"-simple-pager")},Pe.createElement("input",{type:"text",value:wn,disabled:kt,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onChange:this.handleKeyUp,onBlur:this.handleBlur,size:3}),Pe.createElement("span",{className:"".concat(Me,"-slash")},"/"),Kn),Pe.createElement("li",{title:it?xe.next_page:null,onClick:this.next,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterNext,className:Ke()("".concat(Me,"-next"),(0,se.Z)({},"".concat(Me,"-disabled"),!this.hasNext())),"aria-disabled":!this.hasNext()},this.renderNext(gt)),Oa)}if(Kn<=3+Sa*2){var Mn={locale:xe,rootPrefixCls:Me,onClick:this.handleChange,onKeyPress:this.runIfEnter,showTitle:it,itemRender:dn};Kn||oa.push(Pe.createElement(Ae,(0,ne.Z)({},Mn,{key:"noPager",page:1,className:"".concat(Me,"-item-disabled")})));for(var Dn=1;Dn<=Kn;Dn+=1){var xa=Fn===Dn;oa.push(Pe.createElement(Ae,(0,ne.Z)({},Mn,{key:Dn,page:Dn,active:xa})))}}else{var ea=at?xe.prev_3:xe.prev_5,Yn=at?xe.next_3:xe.next_5,ga=dn(this.getJumpPrevPage(),"jump-prev",this.getItemIcon(mn,"prev page")),Gt=dn(this.getJumpNextPage(),"jump-next",this.getItemIcon(In,"next page"));on&&(Ia=ga?Pe.createElement("li",{title:it?ea:null,key:"prev",onClick:this.jumpPrev,tabIndex:0,onKeyPress:this.runIfEnterJumpPrev,className:Ke()("".concat(Me,"-jump-prev"),(0,se.Z)({},"".concat(Me,"-jump-prev-custom-icon"),!!mn))},ga):null,ba=Gt?Pe.createElement("li",{title:it?Yn:null,key:"next",tabIndex:0,onClick:this.jumpNext,onKeyPress:this.runIfEnterJumpNext,className:Ke()("".concat(Me,"-jump-next"),(0,se.Z)({},"".concat(Me,"-jump-next-custom-icon"),!!In))},Gt):null),Ua=Pe.createElement(Ae,{locale:xe,last:!0,rootPrefixCls:Me,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:Kn,page:Kn,active:!1,showTitle:it,itemRender:dn}),za=Pe.createElement(Ae,{locale:xe,rootPrefixCls:Me,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:1,page:1,active:!1,showTitle:it,itemRender:dn});var ze=Math.max(1,Fn-Sa),Wt=Math.min(Fn+Sa,Kn);Fn-1<=Sa&&(Wt=1+Sa*2),Kn-Fn<=Sa&&(ze=Kn-Sa*2);for(var fn=ze;fn<=Wt;fn+=1){var un=Fn===fn;oa.push(Pe.createElement(Ae,{locale:xe,rootPrefixCls:Me,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:fn,page:fn,active:un,showTitle:it,itemRender:dn}))}Fn-1>=Sa*2&&Fn!==3&&(oa[0]=(0,Pe.cloneElement)(oa[0],{className:"".concat(Me,"-item-after-jump-prev")}),oa.unshift(Ia)),Kn-Fn>=Sa*2&&Fn!==Kn-2&&(oa[oa.length-1]=(0,Pe.cloneElement)(oa[oa.length-1],{className:"".concat(Me,"-item-before-jump-next")}),oa.push(ba)),ze!==1&&oa.unshift(za),Wt!==Kn&&oa.push(Ua)}var vn=!this.hasPrev()||!Kn,Ce=!this.hasNext()||!Kn,st=this.renderPrev(Wa),vt=this.renderNext(gt);return Pe.createElement("ul",(0,ne.Z)({className:Ke()(Me,bt,(0,se.Z)({},"".concat(Me,"-disabled"),kt)),style:Ct,ref:this.paginationNode},St),dt,st?Pe.createElement("li",{title:it?xe.prev_page:null,onClick:this.prev,tabIndex:vn?null:0,onKeyPress:this.runIfEnterPrev,className:Ke()("".concat(Me,"-prev"),(0,se.Z)({},"".concat(Me,"-disabled"),vn)),"aria-disabled":vn},st):null,oa,vt?Pe.createElement("li",{title:it?xe.next_page:null,onClick:this.next,tabIndex:Ce?null:0,onKeyPress:this.runIfEnterNext,className:Ke()("".concat(Me,"-next"),(0,se.Z)({},"".concat(Me,"-disabled"),Ce)),"aria-disabled":Ce},vt):null,Pe.createElement(fe,{disabled:kt,locale:xe,rootPrefixCls:Me,selectComponentClass:Ln,selectPrefixCls:Tn,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:Fn,pageSize:ra,pageSizeOptions:_n,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:pa}))}}],[{key:"getDerivedStateFromProps",value:function(Ee,Me){var bt={};if("current"in Ee&&(bt.current=Ee.current,Ee.current!==Me.current&&(bt.currentInputValue=bt.current)),"pageSize"in Ee&&Ee.pageSize!==Me.pageSize){var Ct=Me.current,kt=Rt(Ee.pageSize,Me,Ee);Ct=Ct>kt?kt:Ct,"current"in Ee||(bt.current=Ct,bt.currentInputValue=Ct),bt.pageSize=Ee.pageSize}return bt}}]),Be}(Pe.Component);Yt.defaultProps={defaultCurrent:1,total:0,defaultPageSize:10,onChange:Ie,className:"",selectPrefixCls:"rc-select",prefixCls:"rc-pagination",selectComponentClass:null,hideOnSinglePage:!1,showPrevNextJumpers:!0,showQuickJumper:!1,showLessItems:!1,showTitle:!0,onShowSizeChange:Ie,locale:ce.Z,style:{},itemRender:Xe,totalBoundaryShowSizeChanger:50};var qe=Yt,ct=oe(22075),Zt=oe(36355),qt=oe(19716),an=oe(8628),Pt=oe(9763),Ot=oe(57809);const mt=ye=>Pe.createElement(Ot.default,Object.assign({},ye,{showSearch:!0,size:"small"})),Qt=ye=>Pe.createElement(Ot.default,Object.assign({},ye,{showSearch:!0,size:"middle"}));mt.Option=Ot.default.Option,Qt.Option=Ot.default.Option;var Ze=oe(9937),lt=oe(17313),Ht=oe(83116),rn=oe(37613);const ht=ye=>{const{componentCls:he}=ye;return{[`${he}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${he}-item-link`]:{color:ye.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${he}-item-link`]:{color:ye.colorTextDisabled,cursor:"not-allowed"}}},[`&${he}-disabled`]:{cursor:"not-allowed",[`${he}-item`]:{cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},a:{color:ye.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:ye.colorBorder,backgroundColor:ye.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:ye.itemActiveBgDisabled},a:{color:ye.itemActiveColorDisabled}}},[`${he}-item-link`]:{color:ye.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${he}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${he}-simple-pager`]:{color:ye.colorTextDisabled},[`${he}-jump-prev, ${he}-jump-next`]:{[`${he}-item-link-icon`]:{opacity:0},[`${he}-item-ellipsis`]:{opacity:1}}},[`&${he}-simple`]:{[`${he}-prev, ${he}-next`]:{[`&${he}-disabled ${he}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},$t=ye=>{const{componentCls:he}=ye;return{[`&${he}-mini ${he}-total-text, &${he}-mini ${he}-simple-pager`]:{height:ye.itemSizeSM,lineHeight:`${ye.itemSizeSM}px`},[`&${he}-mini ${he}-item`]:{minWidth:ye.itemSizeSM,height:ye.itemSizeSM,margin:0,lineHeight:`${ye.itemSizeSM-2}px`},[`&${he}-mini:not(${he}-disabled) ${he}-item:not(${he}-item-active)`]:{backgroundColor:"transparent",borderColor:"transparent","&:hover":{backgroundColor:ye.colorBgTextHover},"&:active":{backgroundColor:ye.colorBgTextActive}},[`&${he}-mini ${he}-prev, &${he}-mini ${he}-next`]:{minWidth:ye.itemSizeSM,height:ye.itemSizeSM,margin:0,lineHeight:`${ye.itemSizeSM}px`},[`&${he}-mini:not(${he}-disabled)`]:{[`${he}-prev, ${he}-next`]:{[`&:hover ${he}-item-link`]:{backgroundColor:ye.colorBgTextHover},[`&:active ${he}-item-link`]:{backgroundColor:ye.colorBgTextActive},[`&${he}-disabled:hover ${he}-item-link`]:{backgroundColor:"transparent"}}},[` + &${he}-mini ${he}-prev ${he}-item-link, + &${he}-mini ${he}-next ${he}-item-link + `]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:ye.itemSizeSM,lineHeight:`${ye.itemSizeSM}px`}},[`&${he}-mini ${he}-jump-prev, &${he}-mini ${he}-jump-next`]:{height:ye.itemSizeSM,marginInlineEnd:0,lineHeight:`${ye.itemSizeSM}px`},[`&${he}-mini ${he}-options`]:{marginInlineStart:ye.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:ye.miniOptionsSizeChangerTop},"&-quick-jumper":{height:ye.itemSizeSM,lineHeight:`${ye.itemSizeSM}px`,input:Object.assign(Object.assign({},(0,Ze.x0)(ye)),{width:ye.paginationMiniQuickJumperInputWidth,height:ye.controlHeightSM})}}}},Fe=ye=>{const{componentCls:he}=ye;return{[` + &${he}-simple ${he}-prev, + &${he}-simple ${he}-next + `]:{height:ye.itemSizeSM,lineHeight:`${ye.itemSizeSM}px`,verticalAlign:"top",[`${he}-item-link`]:{height:ye.itemSizeSM,backgroundColor:"transparent",border:0,"&:hover":{backgroundColor:ye.colorBgTextHover},"&:active":{backgroundColor:ye.colorBgTextActive},"&::after":{height:ye.itemSizeSM,lineHeight:`${ye.itemSizeSM}px`}}},[`&${he}-simple ${he}-simple-pager`]:{display:"inline-block",height:ye.itemSizeSM,marginInlineEnd:ye.marginXS,input:{boxSizing:"border-box",height:"100%",marginInlineEnd:ye.marginXS,padding:`0 ${ye.paginationItemPaddingInline}px`,textAlign:"center",backgroundColor:ye.itemInputBg,border:`${ye.lineWidth}px ${ye.lineType} ${ye.colorBorder}`,borderRadius:ye.borderRadius,outline:"none",transition:`border-color ${ye.motionDurationMid}`,color:"inherit","&:hover":{borderColor:ye.colorPrimary},"&:focus":{borderColor:ye.colorPrimaryHover,boxShadow:`${ye.inputOutlineOffset}px 0 ${ye.controlOutlineWidth}px ${ye.controlOutline}`},"&[disabled]":{color:ye.colorTextDisabled,backgroundColor:ye.colorBgContainerDisabled,borderColor:ye.colorBorder,cursor:"not-allowed"}}}}},rt=ye=>{const{componentCls:he}=ye;return{[`${he}-jump-prev, ${he}-jump-next`]:{outline:0,[`${he}-item-container`]:{position:"relative",[`${he}-item-link-icon`]:{color:ye.colorPrimary,fontSize:ye.fontSizeSM,opacity:0,transition:`all ${ye.motionDurationMid}`,"&-svg":{top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,margin:"auto"}},[`${he}-item-ellipsis`]:{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,display:"block",margin:"auto",color:ye.colorTextDisabled,fontFamily:"Arial, Helvetica, sans-serif",letterSpacing:ye.paginationEllipsisLetterSpacing,textAlign:"center",textIndent:ye.paginationEllipsisTextIndent,opacity:1,transition:`all ${ye.motionDurationMid}`}},"&:hover":{[`${he}-item-link-icon`]:{opacity:1},[`${he}-item-ellipsis`]:{opacity:0}}},[` + ${he}-prev, + ${he}-jump-prev, + ${he}-jump-next + `]:{marginInlineEnd:ye.marginXS},[` + ${he}-prev, + ${he}-next, + ${he}-jump-prev, + ${he}-jump-next + `]:{display:"inline-block",minWidth:ye.itemSize,height:ye.itemSize,color:ye.colorText,fontFamily:ye.fontFamily,lineHeight:`${ye.itemSize}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:ye.borderRadius,cursor:"pointer",transition:`all ${ye.motionDurationMid}`},[`${he}-prev, ${he}-next`]:{fontFamily:"Arial, Helvetica, sans-serif",outline:0,button:{color:ye.colorText,cursor:"pointer",userSelect:"none"},[`${he}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:ye.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${ye.lineWidth}px ${ye.lineType} transparent`,borderRadius:ye.borderRadius,outline:"none",transition:`all ${ye.motionDurationMid}`},[`&:hover ${he}-item-link`]:{backgroundColor:ye.colorBgTextHover},[`&:active ${he}-item-link`]:{backgroundColor:ye.colorBgTextActive},[`&${he}-disabled:hover`]:{[`${he}-item-link`]:{backgroundColor:"transparent"}}},[`${he}-slash`]:{marginInlineEnd:ye.paginationSlashMarginInlineEnd,marginInlineStart:ye.paginationSlashMarginInlineStart},[`${he}-options`]:{display:"inline-block",marginInlineStart:ye.margin,verticalAlign:"middle","&-size-changer.-select":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:ye.controlHeight,marginInlineStart:ye.marginXS,lineHeight:`${ye.controlHeight}px`,verticalAlign:"top",input:Object.assign(Object.assign({},(0,Ze.ik)(ye)),{width:ye.controlHeightLG*1.25,height:ye.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:ye.marginXS,marginInlineEnd:ye.marginXS})}}}},wt=ye=>{const{componentCls:he}=ye;return{[`${he}-item`]:{display:"inline-block",minWidth:ye.itemSize,height:ye.itemSize,marginInlineEnd:ye.marginXS,fontFamily:ye.fontFamily,lineHeight:`${ye.itemSize-2}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:"transparent",border:`${ye.lineWidth}px ${ye.lineType} transparent`,borderRadius:ye.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${ye.paginationItemPaddingInline}px`,color:ye.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${he}-item-active)`]:{"&:hover":{transition:`all ${ye.motionDurationMid}`,backgroundColor:ye.colorBgTextHover},"&:active":{backgroundColor:ye.colorBgTextActive}},"&-active":{fontWeight:ye.fontWeightStrong,backgroundColor:ye.itemActiveBg,borderColor:ye.colorPrimary,a:{color:ye.colorPrimary},"&:hover":{borderColor:ye.colorPrimaryHover},"&:hover a":{color:ye.colorPrimaryHover}}}}},nn=ye=>{const{componentCls:he}=ye;return{[he]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,lt.Wf)(ye)),{"ul, ol":{margin:0,padding:0,listStyle:"none"},"&::after":{display:"block",clear:"both",height:0,overflow:"hidden",visibility:"hidden",content:'""'},[`${he}-total-text`]:{display:"inline-block",height:ye.itemSize,marginInlineEnd:ye.marginXS,lineHeight:`${ye.itemSize-2}px`,verticalAlign:"middle"}}),wt(ye)),rt(ye)),Fe(ye)),$t(ye)),ht(ye)),{[`@media only screen and (max-width: ${ye.screenLG}px)`]:{[`${he}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${ye.screenSM}px)`]:{[`${he}-options`]:{display:"none"}}}),[`&${ye.componentCls}-rtl`]:{direction:"rtl"}}},Jt=ye=>{const{componentCls:he}=ye;return{[`${he}${he}-disabled:not(${he}-mini)`]:{"&, &:hover":{[`${he}-item-link`]:{borderColor:ye.colorBorder}},"&:focus-visible":{[`${he}-item-link`]:{borderColor:ye.colorBorder}},[`${he}-item, ${he}-item-link`]:{backgroundColor:ye.colorBgContainerDisabled,borderColor:ye.colorBorder,[`&:hover:not(${he}-item-active)`]:{backgroundColor:ye.colorBgContainerDisabled,borderColor:ye.colorBorder,a:{color:ye.colorTextDisabled}},[`&${he}-item-active`]:{backgroundColor:ye.itemActiveBgDisabled}},[`${he}-prev, ${he}-next`]:{"&:hover button":{backgroundColor:ye.colorBgContainerDisabled,borderColor:ye.colorBorder,color:ye.colorTextDisabled},[`${he}-item-link`]:{backgroundColor:ye.colorBgContainerDisabled,borderColor:ye.colorBorder}}},[`${he}:not(${he}-mini)`]:{[`${he}-prev, ${he}-next`]:{"&:hover button":{borderColor:ye.colorPrimaryHover,backgroundColor:ye.itemBg},[`${he}-item-link`]:{backgroundColor:ye.itemLinkBg,borderColor:ye.colorBorder},[`&:hover ${he}-item-link`]:{borderColor:ye.colorPrimary,backgroundColor:ye.itemBg,color:ye.colorPrimary},[`&${he}-disabled`]:{[`${he}-item-link`]:{borderColor:ye.colorBorder,color:ye.colorTextDisabled}}},[`${he}-item`]:{backgroundColor:ye.itemBg,border:`${ye.lineWidth}px ${ye.lineType} ${ye.colorBorder}`,[`&:hover:not(${he}-item-active)`]:{borderColor:ye.colorPrimary,backgroundColor:ye.itemBg,a:{color:ye.colorPrimary}},"&-active":{borderColor:ye.colorPrimary}}}}},Ue=ye=>{const{componentCls:he}=ye;return{[`${he}:not(${he}-disabled)`]:{[`${he}-item`]:Object.assign({},(0,lt.Qy)(ye)),[`${he}-jump-prev, ${he}-jump-next`]:{"&:focus-visible":Object.assign({[`${he}-item-link-icon`]:{opacity:1},[`${he}-item-ellipsis`]:{opacity:0}},(0,lt.oN)(ye))},[`${he}-prev, ${he}-next`]:{[`&:focus-visible ${he}-item-link`]:Object.assign({},(0,lt.oN)(ye))}}}};var je=(0,Ht.Z)("Pagination",ye=>{const he=(0,rn.TS)(ye,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:ye.marginXXS/2,paginationMiniQuickJumperInputWidth:ye.controlHeightLG*1.1,paginationItemPaddingInline:ye.marginXXS*1.5,paginationEllipsisLetterSpacing:ye.marginXXS/2,paginationSlashMarginInlineStart:ye.marginXXS,paginationSlashMarginInlineEnd:ye.marginSM,paginationEllipsisTextIndent:"0.13em"},(0,Ze.e5)(ye),(0,Ze.TM)(ye));return[nn(he),Ue(he),ye.wireframe&&Jt(he)]},ye=>({itemBg:ye.colorBgContainer,itemSize:ye.controlHeight,itemSizeSM:ye.controlHeightSM,itemActiveBg:ye.colorBgContainer,itemLinkBg:ye.colorBgContainer,itemActiveColorDisabled:ye.colorTextDisabled,itemActiveBgDisabled:ye.controlItemBgActiveDisabled,itemInputBg:ye.colorBgContainer,miniOptionsSizeChangerTop:0})),we=function(ye,he){var Be={};for(var Ne in ye)Object.prototype.hasOwnProperty.call(ye,Ne)&&he.indexOf(Ne)<0&&(Be[Ne]=ye[Ne]);if(ye!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ee=0,Ne=Object.getOwnPropertySymbols(ye);Ee{const{prefixCls:he,selectPrefixCls:Be,className:Ne,rootClassName:Ee,style:Me,size:bt,locale:Ct,selectComponentClass:kt,responsive:It,showSizeChanger:Dt}=ye,xe=we(ye,["prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","selectComponentClass","responsive","showSizeChanger"]),{xs:tt}=(0,an.Z)(It),{getPrefixCls:at,direction:it,pagination:ft={}}=Pe.useContext(Zt.E_),en=at("pagination",he),[dn,on]=je(en),mn=Dt!=null?Dt:ft.showSizeChanger,In=Pe.useMemo(()=>{const Kn=Pe.createElement("span",{className:`${en}-item-ellipsis`},"\u2022\u2022\u2022"),oa=Pe.createElement("button",{className:`${en}-item-link`,type:"button",tabIndex:-1},it==="rtl"?Pe.createElement(ot.Z,null):Pe.createElement($e.Z,null)),Ia=Pe.createElement("button",{className:`${en}-item-link`,type:"button",tabIndex:-1},it==="rtl"?Pe.createElement($e.Z,null):Pe.createElement(ot.Z,null)),ba=Pe.createElement("a",{className:`${en}-item-link`},Pe.createElement("div",{className:`${en}-item-container`},it==="rtl"?Pe.createElement(Qe.Z,{className:`${en}-item-link-icon`}):Pe.createElement(et,{className:`${en}-item-link-icon`}),Kn)),za=Pe.createElement("a",{className:`${en}-item-link`},Pe.createElement("div",{className:`${en}-item-container`},it==="rtl"?Pe.createElement(et,{className:`${en}-item-link-icon`}):Pe.createElement(Qe.Z,{className:`${en}-item-link-icon`}),Kn));return{prevIcon:oa,nextIcon:Ia,jumpPrevIcon:ba,jumpNextIcon:za}},[it,en]),[Ln]=(0,Pt.Z)("Pagination",ct.Z),Tn=Object.assign(Object.assign({},Ln),Ct),_n=(0,qt.Z)(bt),ta=_n==="small"||!!(tt&&!_n&&It),Fn=at("select",Be),ra=Ke()({[`${en}-mini`]:ta,[`${en}-rtl`]:it==="rtl"},ft==null?void 0:ft.className,Ne,Ee,on),wn=Object.assign(Object.assign({},ft==null?void 0:ft.style),Me);return dn(Pe.createElement(qe,Object.assign({},In,xe,{style:wn,prefixCls:en,selectPrefixCls:Fn,className:ra,selectComponentClass:kt||(ta?mt:Qt),locale:Tn,showSizeChanger:mn})))},yt=Re},93948:function(Ft,Tt,oe){"use strict";oe.d(Tt,{Z:function(){return Dt}});var ne=oe(59301),Pe=oe(29679),Ye=oe(40001),Oe=oe(19248),De=oe(99267),ke=oe(92310),be=oe.n(ke),et=oe(2738),Qe=oe(36355),$e=oe(72308),ot=oe(77321),_e=oe(74416),Ke={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},se=function(){var tt=(0,ne.useRef)([]),at=(0,ne.useRef)(null);return(0,ne.useEffect)(function(){var it=Date.now(),ft=!1;tt.current.forEach(function(en){if(en){ft=!0;var dn=en.style;dn.transitionDuration=".3s, .3s, .3s, .06s",at.current&&it-at.current<100&&(dn.transitionDuration="0s, 0s")}}),ft&&(at.current=Date.now())}),tt.current},y=["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"],a=function(tt){var at=(0,ot.Z)((0,ot.Z)({},Ke),tt),it=at.className,ft=at.percent,en=at.prefixCls,dn=at.strokeColor,on=at.strokeLinecap,mn=at.strokeWidth,In=at.style,Ln=at.trailColor,Tn=at.trailWidth,_n=at.transition,ta=(0,_e.Z)(at,y);delete ta.gapPosition;var Fn=Array.isArray(ft)?ft:[ft],ra=Array.isArray(dn)?dn:[dn],wn=se(),Kn=mn/2,oa=100-mn/2,Ia="M ".concat(on==="round"?Kn:0,",").concat(Kn,` + L `).concat(on==="round"?oa:100,",").concat(Kn),ba="0 0 100 ".concat(mn),za=0;return ne.createElement("svg",(0,$e.Z)({className:be()("".concat(en,"-line"),it),viewBox:ba,preserveAspectRatio:"none",style:In},ta),ne.createElement("path",{className:"".concat(en,"-line-trail"),d:Ia,strokeLinecap:on,stroke:Ln,strokeWidth:Tn||mn,fillOpacity:"0"}),Fn.map(function(Ua,Oa){var pa=1;switch(on){case"round":pa=1-mn/100;break;case"square":pa=1-mn/2/100;break;default:pa=1;break}var Sa={strokeDasharray:"".concat(Ua*pa,"px, 100px"),strokeDashoffset:"-".concat(za,"px"),transition:_n||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},Wa=ra[Oa]||ra[ra.length-1];return za+=Ua,ne.createElement("path",{key:Oa,className:"".concat(en,"-line-path"),d:Ia,strokeLinecap:on,stroke:Wa,strokeWidth:mn,fillOpacity:"0",ref:function(St){wn[Oa]=St},style:Sa})}))},E=a,b=oe(62853),x=oe(52487),te=oe(47273),ae=0,ie=(0,te.Z)();function ce(){var xe;return ie?(xe=ae,ae+=1):xe="TEST_OR_SSR",xe}var ge=function(xe){var tt=ne.useState(),at=(0,x.Z)(tt,2),it=at[0],ft=at[1];return ne.useEffect(function(){ft("rc_progress_".concat(ce()))},[]),xe||it},fe=function(tt){var at=tt.bg,it=tt.children;return ne.createElement("div",{style:{width:"100%",height:"100%",background:at}},it)};function Le(xe,tt){return Object.keys(xe).map(function(at){var it=parseFloat(at),ft="".concat(Math.floor(it*tt),"%");return"".concat(xe[at]," ").concat(ft)})}var Ae=ne.forwardRef(function(xe,tt){var at=xe.prefixCls,it=xe.color,ft=xe.gradientId,en=xe.radius,dn=xe.style,on=xe.ptg,mn=xe.strokeLinecap,In=xe.strokeWidth,Ln=xe.size,Tn=xe.gapDegree,_n=it&&(0,b.Z)(it)==="object",ta=_n?"#FFF":void 0,Fn=Ln/2,ra=ne.createElement("circle",{className:"".concat(at,"-circle-path"),r:en,cx:Fn,cy:Fn,stroke:ta,strokeLinecap:mn,strokeWidth:In,opacity:on===0?0:1,style:dn,ref:tt});if(!_n)return ra;var wn="".concat(ft,"-conic"),Kn=Tn?"".concat(180+Tn/2,"deg"):"0deg",oa=Le(it,(360-Tn)/360),Ia=Le(it,1),ba="conic-gradient(from ".concat(Kn,", ").concat(oa.join(", "),")"),za="linear-gradient(to ".concat(Tn?"bottom":"top",", ").concat(Ia.join(", "),")");return ne.createElement(ne.Fragment,null,ne.createElement("mask",{id:wn},ra),ne.createElement("foreignObject",{x:0,y:0,width:Ln,height:Ln,mask:"url(#".concat(wn,")")},ne.createElement(fe,{bg:za},ne.createElement(fe,{bg:ba}))))}),Ie=Ae,ve=100,Xe=function(tt,at,it,ft,en,dn,on,mn,In,Ln){var Tn=arguments.length>10&&arguments[10]!==void 0?arguments[10]:0,_n=it/100*360*((360-dn)/360),ta=dn===0?0:{bottom:0,top:180,left:90,right:-90}[on],Fn=(100-ft)/100*at;In==="round"&&ft!==100&&(Fn+=Ln/2,Fn>=at&&(Fn=at-.01));var ra=ve/2;return{stroke:typeof mn=="string"?mn:void 0,strokeDasharray:"".concat(at,"px ").concat(tt),strokeDashoffset:Fn+Tn,transform:"rotate(".concat(en+_n+ta,"deg)"),transformOrigin:"".concat(ra,"px ").concat(ra,"px"),transition:"stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s",fillOpacity:0}},Rt=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function Yt(xe){var tt=xe!=null?xe:[];return Array.isArray(tt)?tt:[tt]}var qe=function(tt){var at=(0,ot.Z)((0,ot.Z)({},Ke),tt),it=at.id,ft=at.prefixCls,en=at.steps,dn=at.strokeWidth,on=at.trailWidth,mn=at.gapDegree,In=mn===void 0?0:mn,Ln=at.gapPosition,Tn=at.trailColor,_n=at.strokeLinecap,ta=at.style,Fn=at.className,ra=at.strokeColor,wn=at.percent,Kn=(0,_e.Z)(at,Rt),oa=ve/2,Ia=ge(it),ba="".concat(Ia,"-gradient"),za=oa-dn/2,Ua=Math.PI*2*za,Oa=In>0?90+In/2:-90,pa=Ua*((360-In)/360),Sa=(0,b.Z)(en)==="object"?en:{count:en,space:2},Wa=Sa.count,gt=Sa.space,St=Yt(wn),dt=Yt(ra),gn=dt.find(function(Gt){return Gt&&(0,b.Z)(Gt)==="object"}),Mn=gn&&(0,b.Z)(gn)==="object",Dn=Mn?"butt":_n,xa=Xe(Ua,pa,0,100,Oa,In,Ln,Tn,Dn,dn),ea=se(),Yn=function(){var ze=0;return St.map(function(Wt,fn){var un=dt[fn]||dt[dt.length-1],vn=Xe(Ua,pa,ze,Wt,Oa,In,Ln,un,Dn,dn);return ze+=Wt,ne.createElement(Ie,{key:fn,color:un,ptg:Wt,radius:za,prefixCls:ft,gradientId:ba,style:vn,strokeLinecap:Dn,strokeWidth:dn,gapDegree:In,ref:function(st){ea[fn]=st},size:ve})}).reverse()},ga=function(){var ze=Math.round(Wa*(St[0]/100)),Wt=100/Wa,fn=0;return new Array(Wa).fill(null).map(function(un,vn){var Ce=vn<=ze-1?dt[0]:Tn,st=Ce&&(0,b.Z)(Ce)==="object"?"url(#".concat(ba,")"):void 0,vt=Xe(Ua,pa,fn,Wt,Oa,In,Ln,Ce,"butt",dn,gt);return fn+=(pa-vt.strokeDashoffset+gt)*100/pa,ne.createElement("circle",{key:vn,className:"".concat(ft,"-circle-path"),r:za,cx:oa,cy:oa,stroke:st,strokeWidth:dn,opacity:1,style:vt,ref:function(Vt){ea[vn]=Vt}})})};return ne.createElement("svg",(0,$e.Z)({className:be()("".concat(ft,"-circle"),Fn),viewBox:"0 0 ".concat(ve," ").concat(ve),style:ta,id:it,role:"presentation"},Kn),!Wa&&ne.createElement("circle",{className:"".concat(ft,"-circle-trail"),r:za,cx:oa,cy:oa,stroke:Tn,strokeLinecap:Dn,strokeWidth:on||dn,style:xa}),Wa?ga():Yn())},ct=qe,Zt={Line:E,Circle:ct},qt=oe(6848),an=oe(93398);function Pt(xe){return!xe||xe<0?0:xe>100?100:xe}function Ot(xe){let{success:tt,successPercent:at}=xe,it=at;return tt&&"progress"in tt&&(it=tt.progress),tt&&"percent"in tt&&(it=tt.percent),it}const mt=xe=>{let{percent:tt,success:at,successPercent:it}=xe;const ft=Pt(Ot({success:at,successPercent:it}));return[ft,Pt(Pt(tt)-ft)]},Qt=xe=>{let{success:tt={},strokeColor:at}=xe;const{strokeColor:it}=tt;return[it||an.presetPrimaryColors.green,at||null]},Ze=(xe,tt,at)=>{var it,ft,en,dn;let on=-1,mn=-1;if(tt==="step"){const In=at.steps,Ln=at.strokeWidth;typeof xe=="string"||typeof xe=="undefined"?(on=xe==="small"?2:14,mn=Ln!=null?Ln:8):typeof xe=="number"?[on,mn]=[xe,xe]:[on=14,mn=8]=xe,on*=In}else if(tt==="line"){const In=at==null?void 0:at.strokeWidth;typeof xe=="string"||typeof xe=="undefined"?mn=In||(xe==="small"?6:8):typeof xe=="number"?[on,mn]=[xe,xe]:[on=-1,mn=8]=xe}else(tt==="circle"||tt==="dashboard")&&(typeof xe=="string"||typeof xe=="undefined"?[on,mn]=xe==="small"?[60,60]:[120,120]:typeof xe=="number"?[on,mn]=[xe,xe]:(on=(ft=(it=xe[0])!==null&&it!==void 0?it:xe[1])!==null&&ft!==void 0?ft:120,mn=(dn=(en=xe[0])!==null&&en!==void 0?en:xe[1])!==null&&dn!==void 0?dn:120));return[on,mn]},lt=3,Ht=xe=>lt/xe*100;var ht=xe=>{const{prefixCls:tt,trailColor:at=null,strokeLinecap:it="round",gapPosition:ft,gapDegree:en,width:dn=120,type:on,children:mn,success:In,size:Ln=dn}=xe,[Tn,_n]=Ze(Ln,"circle");let{strokeWidth:ta}=xe;ta===void 0&&(ta=Math.max(Ht(Tn),6));const Fn={width:Tn,height:_n,fontSize:Tn*.15+6},ra=ne.useMemo(()=>{if(en||en===0)return en;if(on==="dashboard")return 75},[en,on]),wn=ft||on==="dashboard"&&"bottom"||void 0,Kn=Object.prototype.toString.call(xe.strokeColor)==="[object Object]",oa=Qt({success:In,strokeColor:xe.strokeColor}),Ia=be()(`${tt}-inner`,{[`${tt}-circle-gradient`]:Kn}),ba=ne.createElement(ct,{percent:mt(xe),strokeWidth:ta,trailWidth:ta,strokeColor:oa,strokeLinecap:it,trailColor:at,prefixCls:tt,gapDegree:ra,gapPosition:wn});return ne.createElement("div",{className:Ia,style:Fn},Tn<=20?ne.createElement(qt.Z,{title:mn},ne.createElement("span",null,ba)):ne.createElement(ne.Fragment,null,ba,mn))},$t=function(xe,tt){var at={};for(var it in xe)Object.prototype.hasOwnProperty.call(xe,it)&&tt.indexOf(it)<0&&(at[it]=xe[it]);if(xe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ft=0,it=Object.getOwnPropertySymbols(xe);ft{let tt=[];return Object.keys(xe).forEach(at=>{const it=parseFloat(at.replace(/%/g,""));isNaN(it)||tt.push({key:it,value:xe[at]})}),tt=tt.sort((at,it)=>at.key-it.key),tt.map(at=>{let{key:it,value:ft}=at;return`${ft} ${it}%`}).join(", ")},rt=(xe,tt)=>{const{from:at=an.presetPrimaryColors.blue,to:it=an.presetPrimaryColors.blue,direction:ft=tt==="rtl"?"to left":"to right"}=xe,en=$t(xe,["from","to","direction"]);if(Object.keys(en).length!==0){const dn=Fe(en);return{backgroundImage:`linear-gradient(${ft}, ${dn})`}}return{backgroundImage:`linear-gradient(${ft}, ${at}, ${it})`}};var nn=xe=>{const{prefixCls:tt,direction:at,percent:it,size:ft,strokeWidth:en,strokeColor:dn,strokeLinecap:on="round",children:mn,trailColor:In=null,success:Ln}=xe,Tn=dn&&typeof dn!="string"?rt(dn,at):{backgroundColor:dn},_n=on==="square"||on==="butt"?0:void 0,ta={backgroundColor:In||void 0,borderRadius:_n},Fn=ft!=null?ft:[-1,en||(ft==="small"?6:8)],[ra,wn]=Ze(Fn,"line",{strokeWidth:en}),Kn=Object.assign({width:`${Pt(it)}%`,height:wn,borderRadius:_n},Tn),oa=Ot(xe),Ia={width:`${Pt(oa)}%`,height:wn,borderRadius:_n,backgroundColor:Ln==null?void 0:Ln.strokeColor},ba={width:ra<0?"100%":ra,height:wn};return ne.createElement(ne.Fragment,null,ne.createElement("div",{className:`${tt}-outer`,style:ba},ne.createElement("div",{className:`${tt}-inner`,style:ta},ne.createElement("div",{className:`${tt}-bg`,style:Kn}),oa!==void 0?ne.createElement("div",{className:`${tt}-success-bg`,style:Ia}):null)),mn)},Ue=xe=>{const{size:tt,steps:at,percent:it=0,strokeWidth:ft=8,strokeColor:en,trailColor:dn=null,prefixCls:on,children:mn}=xe,In=Math.round(at*(it/100)),Ln=tt==="small"?2:14,Tn=tt!=null?tt:[Ln,ft],[_n,ta]=Ze(Tn,"step",{steps:at,strokeWidth:ft}),Fn=_n/at,ra=new Array(at);for(let wn=0;wn{const tt=xe?"100%":"-100%";return new je.Keyframes(`antProgress${xe?"RTL":"LTR"}Active`,{"0%":{transform:`translateX(${tt}) scaleX(0)`,opacity:.1},"20%":{transform:`translateX(${tt}) scaleX(0)`,opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}})},ye=xe=>{const{componentCls:tt,iconCls:at}=xe;return{[tt]:Object.assign(Object.assign({},(0,we.Wf)(xe)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:xe.fontSize,marginInlineEnd:xe.marginXS,marginBottom:xe.marginXS},[`${tt}-outer`]:{display:"inline-block",width:"100%"},[`&${tt}-show-info`]:{[`${tt}-outer`]:{marginInlineEnd:`calc(-2em - ${xe.marginXS}px)`,paddingInlineEnd:`calc(2em + ${xe.paddingXS}px)`}},[`${tt}-inner`]:{position:"relative",display:"inline-block",width:"100%",overflow:"hidden",verticalAlign:"middle",backgroundColor:xe.remainingColor,borderRadius:xe.lineBorderRadius},[`${tt}-inner:not(${tt}-circle-gradient)`]:{[`${tt}-circle-path`]:{stroke:xe.defaultColor}},[`${tt}-success-bg, ${tt}-bg`]:{position:"relative",backgroundColor:xe.defaultColor,borderRadius:xe.lineBorderRadius,transition:`all ${xe.motionDurationSlow} ${xe.motionEaseInOutCirc}`},[`${tt}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:xe.colorSuccess},[`${tt}-text`]:{display:"inline-block",width:"2em",marginInlineStart:xe.marginXS,color:xe.colorText,lineHeight:1,whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[at]:{fontSize:xe.fontSize}},[`&${tt}-status-active`]:{[`${tt}-bg::before`]:{position:"absolute",inset:0,backgroundColor:xe.colorBgContainer,borderRadius:xe.lineBorderRadius,opacity:0,animationName:yt(),animationDuration:xe.progressActiveMotionDuration,animationTimingFunction:xe.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${tt}-rtl${tt}-status-active`]:{[`${tt}-bg::before`]:{animationName:yt(!0)}},[`&${tt}-status-exception`]:{[`${tt}-bg`]:{backgroundColor:xe.colorError},[`${tt}-text`]:{color:xe.colorError}},[`&${tt}-status-exception ${tt}-inner:not(${tt}-circle-gradient)`]:{[`${tt}-circle-path`]:{stroke:xe.colorError}},[`&${tt}-status-success`]:{[`${tt}-bg`]:{backgroundColor:xe.colorSuccess},[`${tt}-text`]:{color:xe.colorSuccess}},[`&${tt}-status-success ${tt}-inner:not(${tt}-circle-gradient)`]:{[`${tt}-circle-path`]:{stroke:xe.colorSuccess}}})}},he=xe=>{const{componentCls:tt,iconCls:at}=xe;return{[tt]:{[`${tt}-circle-trail`]:{stroke:xe.remainingColor},[`&${tt}-circle ${tt}-inner`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`&${tt}-circle ${tt}-text`]:{position:"absolute",insetBlockStart:"50%",insetInlineStart:0,width:"100%",margin:0,padding:0,color:xe.circleTextColor,fontSize:xe.circleTextFontSize,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[at]:{fontSize:`${xe.fontSize/xe.fontSizeSM}em`}},[`${tt}-circle&-status-exception`]:{[`${tt}-text`]:{color:xe.colorError}},[`${tt}-circle&-status-success`]:{[`${tt}-text`]:{color:xe.colorSuccess}}},[`${tt}-inline-circle`]:{lineHeight:1,[`${tt}-inner`]:{verticalAlign:"bottom"}}}},Be=xe=>{const{componentCls:tt}=xe;return{[tt]:{[`${tt}-steps`]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:xe.progressStepMinWidth,marginInlineEnd:xe.progressStepMarginInlineEnd,backgroundColor:xe.remainingColor,transition:`all ${xe.motionDurationSlow}`,"&-active":{backgroundColor:xe.defaultColor}}}}}},Ne=xe=>{const{componentCls:tt,iconCls:at}=xe;return{[tt]:{[`${tt}-small&-line, ${tt}-small&-line ${tt}-text ${at}`]:{fontSize:xe.fontSizeSM}}}};var Ee=(0,me.Z)("Progress",xe=>{const tt=xe.marginXXS/2,at=(0,Re.TS)(xe,{progressStepMarginInlineEnd:tt,progressStepMinWidth:tt,progressActiveMotionDuration:"2.4s"});return[ye(at),he(at),Be(at),Ne(at)]},xe=>({circleTextColor:xe.colorText,defaultColor:xe.colorInfo,remainingColor:xe.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:"1em"})),Me=function(xe,tt){var at={};for(var it in xe)Object.prototype.hasOwnProperty.call(xe,it)&&tt.indexOf(it)<0&&(at[it]=xe[it]);if(xe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ft=0,it=Object.getOwnPropertySymbols(xe);ft{const{prefixCls:at,className:it,rootClassName:ft,steps:en,strokeColor:dn,percent:on=0,size:mn="default",showInfo:In=!0,type:Ln="line",status:Tn,format:_n,style:ta}=xe,Fn=Me(xe,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style"]),ra=ne.useMemo(()=>{var St,dt;const gn=Ot(xe);return parseInt(gn!==void 0?(St=gn!=null?gn:0)===null||St===void 0?void 0:St.toString():(dt=on!=null?on:0)===null||dt===void 0?void 0:dt.toString(),10)},[on,xe.success,xe.successPercent]),wn=ne.useMemo(()=>!Ct.includes(Tn)&&ra>=100?"success":Tn||"normal",[Tn,ra]),{getPrefixCls:Kn,direction:oa,progress:Ia}=ne.useContext(Qe.E_),ba=Kn("progress",at),[za,Ua]=Ee(ba),Oa=ne.useMemo(()=>{if(!In)return null;const St=Ot(xe);let dt;const gn=_n||(Dn=>`${Dn}%`),Mn=Ln==="line";return _n||wn!=="exception"&&wn!=="success"?dt=gn(Pt(on),Pt(St)):wn==="exception"?dt=Mn?ne.createElement(Oe.Z,null):ne.createElement(De.Z,null):wn==="success"&&(dt=Mn?ne.createElement(Pe.Z,null):ne.createElement(Ye.Z,null)),ne.createElement("span",{className:`${ba}-text`,title:typeof dt=="string"?dt:void 0},dt)},[In,on,ra,wn,Ln,ba,_n]),pa=Array.isArray(dn)?dn[0]:dn,Sa=typeof dn=="string"||Array.isArray(dn)?dn:void 0;let Wa;Ln==="line"?Wa=en?ne.createElement(Ue,Object.assign({},xe,{strokeColor:Sa,prefixCls:ba,steps:en}),Oa):ne.createElement(nn,Object.assign({},xe,{strokeColor:pa,prefixCls:ba,direction:oa}),Oa):(Ln==="circle"||Ln==="dashboard")&&(Wa=ne.createElement(ht,Object.assign({},xe,{strokeColor:pa,prefixCls:ba,progressStatus:wn}),Oa));const gt=be()(ba,`${ba}-status-${wn}`,`${ba}-${Ln==="dashboard"&&"circle"||en&&"steps"||Ln}`,{[`${ba}-inline-circle`]:Ln==="circle"&&Ze(mn,"circle")[0]<=20,[`${ba}-show-info`]:In,[`${ba}-${mn}`]:typeof mn=="string",[`${ba}-rtl`]:oa==="rtl"},Ia==null?void 0:Ia.className,it,ft,Ua);return za(ne.createElement("div",Object.assign({ref:tt,style:Object.assign(Object.assign({},Ia==null?void 0:Ia.style),ta),className:gt,role:"progressbar","aria-valuenow":ra},(0,et.Z)(Fn,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),Wa))}),Dt=It},61621:function(Ft,Tt,oe){"use strict";oe.d(Tt,{Z:function(){return je}});var ne=oe(92310),Pe=oe.n(ne),Ye=oe(59301),Oe=oe(36355),De=oe(2738),be=we=>{const{prefixCls:me,className:Re,style:yt,size:ye,shape:he}=we,Be=Pe()({[`${me}-lg`]:ye==="large",[`${me}-sm`]:ye==="small"}),Ne=Pe()({[`${me}-circle`]:he==="circle",[`${me}-square`]:he==="square",[`${me}-round`]:he==="round"}),Ee=Ye.useMemo(()=>typeof ye=="number"?{width:ye,height:ye,lineHeight:`${ye}px`}:{},[ye]);return Ye.createElement("span",{className:Pe()(me,Be,Ne,Re),style:Object.assign(Object.assign({},Ee),yt)})},et=oe(93083),Qe=oe(83116),$e=oe(37613);const ot=new et.Keyframes("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),_e=we=>({height:we,lineHeight:`${we}px`}),Ke=we=>Object.assign({width:we},_e(we)),se=we=>({background:we.skeletonLoadingBackground,backgroundSize:"400% 100%",animationName:ot,animationDuration:we.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite"}),y=we=>Object.assign({width:we*5,minWidth:we*5},_e(we)),a=we=>{const{skeletonAvatarCls:me,gradientFromColor:Re,controlHeight:yt,controlHeightLG:ye,controlHeightSM:he}=we;return{[`${me}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:Re},Ke(yt)),[`${me}${me}-circle`]:{borderRadius:"50%"},[`${me}${me}-lg`]:Object.assign({},Ke(ye)),[`${me}${me}-sm`]:Object.assign({},Ke(he))}},E=we=>{const{controlHeight:me,borderRadiusSM:Re,skeletonInputCls:yt,controlHeightLG:ye,controlHeightSM:he,gradientFromColor:Be}=we;return{[`${yt}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:Be,borderRadius:Re},y(me)),[`${yt}-lg`]:Object.assign({},y(ye)),[`${yt}-sm`]:Object.assign({},y(he))}},b=we=>Object.assign({width:we},_e(we)),x=we=>{const{skeletonImageCls:me,imageSizeBase:Re,gradientFromColor:yt,borderRadiusSM:ye}=we;return{[`${me}`]:Object.assign(Object.assign({display:"flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",background:yt,borderRadius:ye},b(Re*2)),{[`${me}-path`]:{fill:"#bfbfbf"},[`${me}-svg`]:Object.assign(Object.assign({},b(Re)),{maxWidth:Re*4,maxHeight:Re*4}),[`${me}-svg${me}-svg-circle`]:{borderRadius:"50%"}}),[`${me}${me}-circle`]:{borderRadius:"50%"}}},te=(we,me,Re)=>{const{skeletonButtonCls:yt}=we;return{[`${Re}${yt}-circle`]:{width:me,minWidth:me,borderRadius:"50%"},[`${Re}${yt}-round`]:{borderRadius:me}}},ae=we=>Object.assign({width:we*2,minWidth:we*2},_e(we)),ie=we=>{const{borderRadiusSM:me,skeletonButtonCls:Re,controlHeight:yt,controlHeightLG:ye,controlHeightSM:he,gradientFromColor:Be}=we;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[`${Re}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:Be,borderRadius:me,width:yt*2,minWidth:yt*2},ae(yt))},te(we,yt,Re)),{[`${Re}-lg`]:Object.assign({},ae(ye))}),te(we,ye,`${Re}-lg`)),{[`${Re}-sm`]:Object.assign({},ae(he))}),te(we,he,`${Re}-sm`))},ce=we=>{const{componentCls:me,skeletonAvatarCls:Re,skeletonTitleCls:yt,skeletonParagraphCls:ye,skeletonButtonCls:he,skeletonInputCls:Be,skeletonImageCls:Ne,controlHeight:Ee,controlHeightLG:Me,controlHeightSM:bt,gradientFromColor:Ct,padding:kt,marginSM:It,borderRadius:Dt,titleHeight:xe,blockRadius:tt,paragraphLiHeight:at,controlHeightXS:it,paragraphMarginTop:ft}=we;return{[`${me}`]:{display:"table",width:"100%",[`${me}-header`]:{display:"table-cell",paddingInlineEnd:kt,verticalAlign:"top",[`${Re}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:Ct},Ke(Ee)),[`${Re}-circle`]:{borderRadius:"50%"},[`${Re}-lg`]:Object.assign({},Ke(Me)),[`${Re}-sm`]:Object.assign({},Ke(bt))},[`${me}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[`${yt}`]:{width:"100%",height:xe,background:Ct,borderRadius:tt,[`+ ${ye}`]:{marginBlockStart:bt}},[`${ye}`]:{padding:0,"> li":{width:"100%",height:at,listStyle:"none",background:Ct,borderRadius:tt,"+ li":{marginBlockStart:it}}},[`${ye}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${me}-content`]:{[`${yt}, ${ye} > li`]:{borderRadius:Dt}}},[`${me}-with-avatar ${me}-content`]:{[`${yt}`]:{marginBlockStart:It,[`+ ${ye}`]:{marginBlockStart:ft}}},[`${me}${me}-element`]:Object.assign(Object.assign(Object.assign(Object.assign({display:"inline-block",width:"auto"},ie(we)),a(we)),E(we)),x(we)),[`${me}${me}-block`]:{width:"100%",[`${he}`]:{width:"100%"},[`${Be}`]:{width:"100%"}},[`${me}${me}-active`]:{[` + ${yt}, + ${ye} > li, + ${Re}, + ${he}, + ${Be}, + ${Ne} + `]:Object.assign({},se(we))}}};var ge=(0,Qe.Z)("Skeleton",we=>{const{componentCls:me}=we,Re=(0,$e.TS)(we,{skeletonAvatarCls:`${me}-avatar`,skeletonTitleCls:`${me}-title`,skeletonParagraphCls:`${me}-paragraph`,skeletonButtonCls:`${me}-button`,skeletonInputCls:`${me}-input`,skeletonImageCls:`${me}-image`,imageSizeBase:we.controlHeight*1.5,borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${we.gradientFromColor} 25%, ${we.gradientToColor} 37%, ${we.gradientFromColor} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return[ce(Re)]},we=>{const{colorFillContent:me,colorFill:Re}=we,yt=me,ye=Re;return{color:yt,colorGradientEnd:ye,gradientFromColor:yt,gradientToColor:ye,titleHeight:we.controlHeight/2,blockRadius:we.borderRadiusSM,paragraphMarginTop:we.marginLG+we.marginXXS,paragraphLiHeight:we.controlHeight/2}},{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]}),Le=we=>{const{prefixCls:me,className:Re,rootClassName:yt,active:ye,shape:he="circle",size:Be="default"}=we,{getPrefixCls:Ne}=Ye.useContext(Oe.E_),Ee=Ne("skeleton",me),[Me,bt]=ge(Ee),Ct=(0,De.Z)(we,["prefixCls","className"]),kt=Pe()(Ee,`${Ee}-element`,{[`${Ee}-active`]:ye},Re,yt,bt);return Me(Ye.createElement("div",{className:kt},Ye.createElement(be,Object.assign({prefixCls:`${Ee}-avatar`,shape:he,size:Be},Ct))))},Ie=we=>{const{prefixCls:me,className:Re,rootClassName:yt,active:ye,block:he=!1,size:Be="default"}=we,{getPrefixCls:Ne}=Ye.useContext(Oe.E_),Ee=Ne("skeleton",me),[Me,bt]=ge(Ee),Ct=(0,De.Z)(we,["prefixCls"]),kt=Pe()(Ee,`${Ee}-element`,{[`${Ee}-active`]:ye,[`${Ee}-block`]:he},Re,yt,bt);return Me(Ye.createElement("div",{className:kt},Ye.createElement(be,Object.assign({prefixCls:`${Ee}-button`,size:Be},Ct))))};const ve="M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z";var Rt=we=>{const{prefixCls:me,className:Re,rootClassName:yt,style:ye,active:he}=we,{getPrefixCls:Be}=Ye.useContext(Oe.E_),Ne=Be("skeleton",me),[Ee,Me]=ge(Ne),bt=Pe()(Ne,`${Ne}-element`,{[`${Ne}-active`]:he},Re,yt,Me);return Ee(Ye.createElement("div",{className:bt},Ye.createElement("div",{className:Pe()(`${Ne}-image`,Re),style:ye},Ye.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${Ne}-image-svg`},Ye.createElement("path",{d:ve,className:`${Ne}-image-path`})))))},qe=we=>{const{prefixCls:me,className:Re,rootClassName:yt,active:ye,block:he,size:Be="default"}=we,{getPrefixCls:Ne}=Ye.useContext(Oe.E_),Ee=Ne("skeleton",me),[Me,bt]=ge(Ee),Ct=(0,De.Z)(we,["prefixCls"]),kt=Pe()(Ee,`${Ee}-element`,{[`${Ee}-active`]:ye,[`${Ee}-block`]:he},Re,yt,bt);return Me(Ye.createElement("div",{className:kt},Ye.createElement(be,Object.assign({prefixCls:`${Ee}-input`,size:Be},Ct))))},ct=oe(72308),Zt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M888 792H200V168c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h752c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM288 604a64 64 0 10128 0 64 64 0 10-128 0zm118-224a48 48 0 1096 0 48 48 0 10-96 0zm158 228a96 96 0 10192 0 96 96 0 10-192 0zm148-314a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"dot-chart",theme:"outlined"},qt=Zt,an=oe(7657),Pt=function(me,Re){return Ye.createElement(an.Z,(0,ct.Z)({},me,{ref:Re,icon:qt}))},Ot=Ye.forwardRef(Pt),mt=Ot,Ze=we=>{const{prefixCls:me,className:Re,rootClassName:yt,style:ye,active:he,children:Be}=we,{getPrefixCls:Ne}=Ye.useContext(Oe.E_),Ee=Ne("skeleton",me),[Me,bt]=ge(Ee),Ct=Pe()(Ee,`${Ee}-element`,{[`${Ee}-active`]:he},bt,Re,yt),kt=Be!=null?Be:Ye.createElement(mt,null);return Me(Ye.createElement("div",{className:Ct},Ye.createElement("div",{className:Pe()(`${Ee}-image`,Re),style:ye},kt)))},lt=oe(80702),rn=we=>{const me=Ne=>{const{width:Ee,rows:Me=2}=we;if(Array.isArray(Ee))return Ee[Ne];if(Me-1===Ne)return Ee},{prefixCls:Re,className:yt,style:ye,rows:he}=we,Be=(0,lt.Z)(Array(he)).map((Ne,Ee)=>Ye.createElement("li",{key:Ee,style:{width:me(Ee)}}));return Ye.createElement("ul",{className:Pe()(Re,yt),style:ye},Be)},$t=we=>{let{prefixCls:me,className:Re,width:yt,style:ye}=we;return Ye.createElement("h3",{className:Pe()(me,Re),style:Object.assign({width:yt},ye)})};function Fe(we){return we&&typeof we=="object"?we:{}}function rt(we,me){return we&&!me?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function wt(we,me){return!we&&me?{width:"38%"}:we&&me?{width:"50%"}:{}}function nn(we,me){const Re={};return(!we||!me)&&(Re.width="61%"),!we&&me?Re.rows=3:Re.rows=2,Re}const Jt=we=>{const{prefixCls:me,loading:Re,className:yt,rootClassName:ye,style:he,children:Be,avatar:Ne=!1,title:Ee=!0,paragraph:Me=!0,active:bt,round:Ct}=we,{getPrefixCls:kt,direction:It,skeleton:Dt}=Ye.useContext(Oe.E_),xe=kt("skeleton",me),[tt,at]=ge(xe);if(Re||!("loading"in we)){const it=!!Ne,ft=!!Ee,en=!!Me;let dn;if(it){const In=Object.assign(Object.assign({prefixCls:`${xe}-avatar`},rt(ft,en)),Fe(Ne));dn=Ye.createElement("div",{className:`${xe}-header`},Ye.createElement(be,Object.assign({},In)))}let on;if(ft||en){let In;if(ft){const Tn=Object.assign(Object.assign({prefixCls:`${xe}-title`},wt(it,en)),Fe(Ee));In=Ye.createElement($t,Object.assign({},Tn))}let Ln;if(en){const Tn=Object.assign(Object.assign({prefixCls:`${xe}-paragraph`},nn(it,ft)),Fe(Me));Ln=Ye.createElement(rn,Object.assign({},Tn))}on=Ye.createElement("div",{className:`${xe}-content`},In,Ln)}const mn=Pe()(xe,{[`${xe}-with-avatar`]:it,[`${xe}-active`]:bt,[`${xe}-rtl`]:It==="rtl",[`${xe}-round`]:Ct},Dt==null?void 0:Dt.className,yt,ye,at);return tt(Ye.createElement("div",{className:mn,style:Object.assign(Object.assign({},Dt==null?void 0:Dt.style),he)},dn,on))}return typeof Be!="undefined"?Be:null};Jt.Button=Ie,Jt.Avatar=Le,Jt.Input=qe,Jt.Image=Rt,Jt.Node=Ze;var Ue=Jt,je=Ue},12563:function(Ft,Tt,oe){"use strict";oe.d(Tt,{default:function(){return Ie}});var ne=oe(59301),Pe=oe(99267),Ye=oe(92310),Oe=oe.n(Ye),De=oe(36785),ke=oe(47729),be=oe(14088),et=oe(36355),Qe=oe(17313),$e=oe(37613),ot=oe(83116);const _e=ve=>{const{paddingXXS:Xe,lineWidth:Rt,tagPaddingHorizontal:Yt,componentCls:qe}=ve,ct=Yt-Rt,Zt=Xe-Rt;return{[qe]:Object.assign(Object.assign({},(0,Qe.Wf)(ve)),{display:"inline-block",height:"auto",marginInlineEnd:ve.marginXS,paddingInline:ct,fontSize:ve.tagFontSize,lineHeight:ve.tagLineHeight,whiteSpace:"nowrap",background:ve.defaultBg,border:`${ve.lineWidth}px ${ve.lineType} ${ve.colorBorder}`,borderRadius:ve.borderRadiusSM,opacity:1,transition:`all ${ve.motionDurationMid}`,textAlign:"start",position:"relative",[`&${qe}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:ve.defaultColor},[`${qe}-close-icon`]:{marginInlineStart:Zt,color:ve.colorTextDescription,fontSize:ve.tagIconSize,cursor:"pointer",transition:`all ${ve.motionDurationMid}`,"&:hover":{color:ve.colorTextHeading}},[`&${qe}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${ve.iconCls}-close, ${ve.iconCls}-close:hover`]:{color:ve.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${qe}-checkable-checked):hover`]:{color:ve.colorPrimary,backgroundColor:ve.colorFillSecondary},"&:active, &-checked":{color:ve.colorTextLightSolid},"&-checked":{backgroundColor:ve.colorPrimary,"&:hover":{backgroundColor:ve.colorPrimaryHover}},"&:active":{backgroundColor:ve.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${ve.iconCls} + span, > span + ${ve.iconCls}`]:{marginInlineStart:ct}}),[`${qe}-borderless`]:{borderColor:"transparent",background:ve.tagBorderlessBg}}},Ke=ve=>{const{lineWidth:Xe,fontSizeIcon:Rt}=ve,Yt=ve.fontSizeSM,qe=`${ve.lineHeightSM*Yt}px`;return(0,$e.TS)(ve,{tagFontSize:Yt,tagLineHeight:qe,tagIconSize:Rt-2*Xe,tagPaddingHorizontal:8,tagBorderlessBg:ve.colorFillTertiary})},se=ve=>({defaultBg:ve.colorFillQuaternary,defaultColor:ve.colorText});var y=(0,ot.Z)("Tag",ve=>{const Xe=Ke(ve);return _e(Xe)},se),a=function(ve,Xe){var Rt={};for(var Yt in ve)Object.prototype.hasOwnProperty.call(ve,Yt)&&Xe.indexOf(Yt)<0&&(Rt[Yt]=ve[Yt]);if(ve!=null&&typeof Object.getOwnPropertySymbols=="function")for(var qe=0,Yt=Object.getOwnPropertySymbols(ve);qe{const{prefixCls:Xe,style:Rt,className:Yt,checked:qe,onChange:ct,onClick:Zt}=ve,qt=a(ve,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:an,tag:Pt}=ne.useContext(et.E_),Ot=Ht=>{ct==null||ct(!qe),Zt==null||Zt(Ht)},mt=an("tag",Xe),[Qt,Ze]=y(mt),lt=Oe()(mt,`${mt}-checkable`,{[`${mt}-checkable-checked`]:qe},Pt==null?void 0:Pt.className,Yt,Ze);return Qt(ne.createElement("span",Object.assign({},qt,{style:Object.assign(Object.assign({},Rt),Pt==null?void 0:Pt.style),className:lt,onClick:Ot})))},x=oe(45157);const te=ve=>(0,x.Z)(ve,(Xe,Rt)=>{let{textColor:Yt,lightBorderColor:qe,lightColor:ct,darkColor:Zt}=Rt;return{[`${ve.componentCls}-${Xe}`]:{color:Yt,background:ct,borderColor:qe,"&-inverse":{color:ve.colorTextLightSolid,background:Zt,borderColor:Zt},[`&${ve.componentCls}-borderless`]:{borderColor:"transparent"}}}});var ae=(0,ot.b)(["Tag","preset"],ve=>{const Xe=Ke(ve);return te(Xe)},se);function ie(ve){return typeof ve!="string"?ve:ve.charAt(0).toUpperCase()+ve.slice(1)}const ce=(ve,Xe,Rt)=>{const Yt=ie(Rt);return{[`${ve.componentCls}-${Xe}`]:{color:ve[`color${Rt}`],background:ve[`color${Yt}Bg`],borderColor:ve[`color${Yt}Border`],[`&${ve.componentCls}-borderless`]:{borderColor:"transparent"}}}};var ge=(0,ot.b)(["Tag","status"],ve=>{const Xe=Ke(ve);return[ce(Xe,"success","Success"),ce(Xe,"processing","Info"),ce(Xe,"error","Error"),ce(Xe,"warning","Warning")]},se),fe=function(ve,Xe){var Rt={};for(var Yt in ve)Object.prototype.hasOwnProperty.call(ve,Yt)&&Xe.indexOf(Yt)<0&&(Rt[Yt]=ve[Yt]);if(ve!=null&&typeof Object.getOwnPropertySymbols=="function")for(var qe=0,Yt=Object.getOwnPropertySymbols(ve);qe{const{prefixCls:Rt,className:Yt,rootClassName:qe,style:ct,children:Zt,icon:qt,color:an,onClose:Pt,closeIcon:Ot,closable:mt,bordered:Qt=!0}=ve,Ze=fe(ve,["prefixCls","className","rootClassName","style","children","icon","color","onClose","closeIcon","closable","bordered"]),{getPrefixCls:lt,direction:Ht,tag:rn}=ne.useContext(et.E_),[ht,$t]=ne.useState(!0);ne.useEffect(()=>{"visible"in Ze&&$t(Ze.visible)},[Ze.visible]);const Fe=(0,De.o2)(an),rt=(0,De.yT)(an),wt=Fe||rt,nn=Object.assign(Object.assign({backgroundColor:an&&!wt?an:void 0},rn==null?void 0:rn.style),ct),Jt=lt("tag",Rt),[Ue,je]=y(Jt),we=Oe()(Jt,rn==null?void 0:rn.className,{[`${Jt}-${an}`]:wt,[`${Jt}-has-color`]:an&&!wt,[`${Jt}-hidden`]:!ht,[`${Jt}-rtl`]:Ht==="rtl",[`${Jt}-borderless`]:!Qt},Yt,qe,je),me=Ne=>{Ne.stopPropagation(),Pt==null||Pt(Ne),!Ne.defaultPrevented&&$t(!1)},[,Re]=(0,ke.Z)(mt,Ot,Ne=>Ne===null?ne.createElement(Pe.Z,{className:`${Jt}-close-icon`,onClick:me}):ne.createElement("span",{className:`${Jt}-close-icon`,onClick:me},Ne),null,!1),yt=typeof Ze.onClick=="function"||Zt&&Zt.type==="a",ye=qt||null,he=ye?ne.createElement(ne.Fragment,null,ye,Zt&&ne.createElement("span",null,Zt)):Zt,Be=ne.createElement("span",Object.assign({},Ze,{ref:Xe,className:we,style:nn}),he,Re,Fe&&ne.createElement(ae,{key:"preset",prefixCls:Jt}),rt&&ne.createElement(ge,{key:"status",prefixCls:Jt}));return Ue(yt?ne.createElement(be.Z,{component:"Tag"},Be):Be)},Ae=ne.forwardRef(Le);Ae.CheckableTag=b;var Ie=Ae},17574:function(Ft,Tt,oe){"use strict";oe.d(Tt,{default:function(){return an}});var ne=oe(54844),Pe=oe(80702),Ye=oe(52671),Oe=oe(8657),De=oe(72308),ke=oe(59301),be={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 298.4H521L403.7 186.2a8.15 8.15 0 00-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32zM840 768H184V256h188.5l119.6 114.4H840V768z"}}]},name:"folder",theme:"outlined"},et=be,Qe=oe(7657),$e=function(Ot,mt){return ke.createElement(Qe.Z,(0,De.Z)({},Ot,{ref:mt,icon:et}))},ot=ke.forwardRef($e),_e=ot,Ke=oe(92310),se=oe.n(Ke),y=oe(35654),a=oe(71430),E=oe(36355),b=oe(56082),x=oe(62892),te=oe(20648);const ae=4;function ie(Pt){const{dropPosition:Ot,dropLevelOffset:mt,prefixCls:Qt,indent:Ze,direction:lt="ltr"}=Pt,Ht=lt==="ltr"?"left":"right",rn=lt==="ltr"?"right":"left",ht={[Ht]:-mt*Ze+ae,[rn]:0};switch(Ot){case-1:ht.top=-3;break;case 1:ht.bottom=-3;break;default:ht.bottom=-3,ht[Ht]=Ze+ae;break}return ke.createElement("div",{style:ht,className:`${Qt}-drop-indicator`})}var ce=oe(71997),fe=ke.forwardRef((Pt,Ot)=>{const{getPrefixCls:mt,direction:Qt,virtual:Ze,tree:lt}=ke.useContext(E.E_),{prefixCls:Ht,className:rn,showIcon:ht=!1,showLine:$t,switcherIcon:Fe,blockNode:rt=!1,children:wt,checkable:nn=!1,selectable:Jt=!0,draggable:Ue,motion:je,style:we}=Pt,me=mt("tree",Ht),Re=mt(),yt=je!=null?je:Object.assign(Object.assign({},(0,x.Z)(Re)),{motionAppear:!1}),ye=Object.assign(Object.assign({},Pt),{checkable:nn,selectable:Jt,showIcon:ht,motion:yt,blockNode:rt,showLine:!!$t,dropIndicatorRender:ie}),[he,Be]=(0,te.ZP)(me),Ne=ke.useMemo(()=>{if(!Ue)return!1;let Me={};switch(typeof Ue){case"function":Me.nodeDraggable=Ue;break;case"object":Me=Object.assign({},Ue);break;default:break}return Me.icon!==!1&&(Me.icon=Me.icon||ke.createElement(b.Z,null)),Me},[Ue]),Ee=Me=>ke.createElement(ce.Z,{prefixCls:me,switcherIcon:Fe,treeNodeProps:Me,showLine:$t});return he(ke.createElement(ne.Z,Object.assign({itemHeight:20,ref:Ot,virtual:Ze},ye,{style:Object.assign(Object.assign({},lt==null?void 0:lt.style),we),prefixCls:me,className:se()({[`${me}-icon-hide`]:!ht,[`${me}-block-node`]:rt,[`${me}-unselectable`]:!Jt,[`${me}-rtl`]:Qt==="rtl"},lt==null?void 0:lt.className,rn,Be),direction:Qt,checkable:nn&&ke.createElement("span",{className:`${me}-checkbox-inner`}),selectable:Jt,switcherIcon:Ee,draggable:Ne}),wt))}),Le;(function(Pt){Pt[Pt.None=0]="None",Pt[Pt.Start=1]="Start",Pt[Pt.End=2]="End"})(Le||(Le={}));function Ae(Pt,Ot){function mt(Qt){const{key:Ze,children:lt}=Qt;Ot(Ze,Qt)!==!1&&Ae(lt||[],Ot)}Pt.forEach(mt)}function Ie(Pt){let{treeData:Ot,expandedKeys:mt,startKey:Qt,endKey:Ze}=Pt;const lt=[];let Ht=Le.None;if(Qt&&Qt===Ze)return[Qt];if(!Qt||!Ze)return[];function rn(ht){return ht===Qt||ht===Ze}return Ae(Ot,ht=>{if(Ht===Le.End)return!1;if(rn(ht)){if(lt.push(ht),Ht===Le.None)Ht=Le.Start;else if(Ht===Le.Start)return Ht=Le.End,!1}else Ht===Le.Start&<.push(ht);return mt.includes(ht)}),lt}function ve(Pt,Ot){const mt=(0,Pe.Z)(Ot),Qt=[];return Ae(Pt,(Ze,lt)=>{const Ht=mt.indexOf(Ze);return Ht!==-1&&(Qt.push(lt),mt.splice(Ht,1)),!!mt.length}),Qt}var Xe=function(Pt,Ot){var mt={};for(var Qt in Pt)Object.prototype.hasOwnProperty.call(Pt,Qt)&&Ot.indexOf(Qt)<0&&(mt[Qt]=Pt[Qt]);if(Pt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ze=0,Qt=Object.getOwnPropertySymbols(Pt);Ze{var{defaultExpandAll:mt,defaultExpandParent:Qt,defaultExpandedKeys:Ze}=Pt,lt=Xe(Pt,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);const Ht=ke.useRef(),rn=ke.useRef(),ht=()=>{const{keyEntities:Ne}=(0,a.I8)(Yt(lt));let Ee;return mt?Ee=Object.keys(Ne):Qt?Ee=(0,y.r7)(lt.expandedKeys||Ze||[],Ne):Ee=lt.expandedKeys||Ze,Ee},[$t,Fe]=ke.useState(lt.selectedKeys||lt.defaultSelectedKeys||[]),[rt,wt]=ke.useState(()=>ht());ke.useEffect(()=>{"selectedKeys"in lt&&Fe(lt.selectedKeys)},[lt.selectedKeys]),ke.useEffect(()=>{"expandedKeys"in lt&&wt(lt.expandedKeys)},[lt.expandedKeys]);const nn=(Ne,Ee)=>{var Me;return"expandedKeys"in lt||wt(Ne),(Me=lt.onExpand)===null||Me===void 0?void 0:Me.call(lt,Ne,Ee)},Jt=(Ne,Ee)=>{var Me;const{multiple:bt}=lt,{node:Ct,nativeEvent:kt}=Ee,{key:It=""}=Ct,Dt=Yt(lt),xe=Object.assign(Object.assign({},Ee),{selected:!0}),tt=(kt==null?void 0:kt.ctrlKey)||(kt==null?void 0:kt.metaKey),at=kt==null?void 0:kt.shiftKey;let it;bt&&tt?(it=Ne,Ht.current=It,rn.current=it,xe.selectedNodes=ve(Dt,it)):bt&&at?(it=Array.from(new Set([].concat((0,Pe.Z)(rn.current||[]),(0,Pe.Z)(Ie({treeData:Dt,expandedKeys:rt,startKey:It,endKey:Ht.current}))))),xe.selectedNodes=ve(Dt,it)):(it=[It],Ht.current=It,rn.current=it,xe.selectedNodes=ve(Dt,it)),(Me=lt.onSelect)===null||Me===void 0||Me.call(lt,it,xe),"selectedKeys"in lt||Fe(it)},{getPrefixCls:Ue,direction:je}=ke.useContext(E.E_),{prefixCls:we,className:me,showIcon:Re=!0,expandAction:yt="click"}=lt,ye=Xe(lt,["prefixCls","className","showIcon","expandAction"]),he=Ue("tree",we),Be=se()(`${he}-directory`,{[`${he}-directory-rtl`]:je==="rtl"},me);return ke.createElement(fe,Object.assign({icon:Rt,ref:Ot,blockNode:!0},ye,{showIcon:Re,expandAction:yt,prefixCls:he,className:Be,expandedKeys:rt,selectedKeys:$t,onSelect:Jt,onExpand:nn}))};var Zt=ke.forwardRef(qe);const qt=fe;qt.DirectoryTree=Zt,qt.TreeNode=ne.O;var an=qt},20648:function(Ft,Tt,oe){"use strict";oe.d(Tt,{TM:function(){return Ke},Yk:function(){return _e}});var ne=oe(93083),Pe=oe(98447),Ye=oe(17313),Oe=oe(8378),De=oe(37613),ke=oe(83116);const be=new ne.Keyframes("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),et=(se,y)=>({[`.${se}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${y.motionDurationSlow}`}}}),Qe=(se,y)=>({[`.${se}-drop-indicator`]:{position:"absolute",zIndex:1,height:2,backgroundColor:y.colorPrimary,borderRadius:1,pointerEvents:"none","&:after":{position:"absolute",top:-3,insetInlineStart:-6,width:8,height:8,backgroundColor:"transparent",border:`${y.lineWidthBold}px solid ${y.colorPrimary}`,borderRadius:"50%",content:'""'}}}),$e=(se,y)=>{const{treeCls:a,treeNodeCls:E,treeNodePadding:b,titleHeight:x,nodeSelectedBg:te,nodeHoverBg:ae}=y,ie=y.paddingXS;return{[a]:Object.assign(Object.assign({},(0,Ye.Wf)(y)),{background:y.colorBgContainer,borderRadius:y.borderRadius,transition:`background-color ${y.motionDurationSlow}`,[`&${a}-rtl`]:{[`${a}-switcher`]:{"&_close":{[`${a}-switcher-icon`]:{svg:{transform:"rotate(90deg)"}}}}},[`&-focused:not(:hover):not(${a}-active-focused)`]:Object.assign({},(0,Ye.oN)(y)),[`${a}-list-holder-inner`]:{alignItems:"flex-start"},[`&${a}-block-node`]:{[`${a}-list-holder-inner`]:{alignItems:"stretch",[`${a}-node-content-wrapper`]:{flex:"auto"},[`${E}.dragging`]:{position:"relative","&:after":{position:"absolute",top:0,insetInlineEnd:0,bottom:b,insetInlineStart:0,border:`1px solid ${y.colorPrimary}`,opacity:0,animationName:be,animationDuration:y.motionDurationSlow,animationPlayState:"running",animationFillMode:"forwards",content:'""',pointerEvents:"none"}}}},[`${E}`]:{display:"flex",alignItems:"flex-start",padding:`0 0 ${b}px 0`,outline:"none","&-rtl":{direction:"rtl"},"&-disabled":{[`${a}-node-content-wrapper`]:{color:y.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"}}},[`&-active ${a}-node-content-wrapper`]:Object.assign({},(0,Ye.oN)(y)),[`&:not(${E}-disabled).filter-node ${a}-title`]:{color:"inherit",fontWeight:500},"&-draggable":{[`${a}-draggable-icon`]:{flexShrink:0,width:x,lineHeight:`${x}px`,textAlign:"center",visibility:"visible",opacity:.2,transition:`opacity ${y.motionDurationSlow}`,[`${E}:hover &`]:{opacity:.45}},[`&${E}-disabled`]:{[`${a}-draggable-icon`]:{visibility:"hidden"}}}},[`${a}-indent`]:{alignSelf:"stretch",whiteSpace:"nowrap",userSelect:"none","&-unit":{display:"inline-block",width:x}},[`${a}-draggable-icon`]:{visibility:"hidden"},[`${a}-switcher`]:Object.assign(Object.assign({},et(se,y)),{position:"relative",flex:"none",alignSelf:"stretch",width:x,margin:0,lineHeight:`${x}px`,textAlign:"center",cursor:"pointer",userSelect:"none","&-noop":{cursor:"default"},"&_close":{[`${a}-switcher-icon`]:{svg:{transform:"rotate(-90deg)"}}},"&-loading-icon":{color:y.colorPrimary},"&-leaf-line":{position:"relative",zIndex:1,display:"inline-block",width:"100%",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:x/2,bottom:-b,marginInlineStart:-1,borderInlineEnd:`1px solid ${y.colorBorder}`,content:'""'},"&:after":{position:"absolute",width:x/2*.8,height:x/2,borderBottom:`1px solid ${y.colorBorder}`,content:'""'}}}),[`${a}-checkbox`]:{top:"initial",marginInlineEnd:ie},[`${a}-node-content-wrapper, ${a}-checkbox + span`]:{position:"relative",zIndex:"auto",minHeight:x,margin:0,padding:`0 ${y.paddingXS/2}px`,color:"inherit",lineHeight:`${x}px`,background:"transparent",borderRadius:y.borderRadius,cursor:"pointer",transition:`all ${y.motionDurationMid}, border 0s, line-height 0s, box-shadow 0s`,"&:hover":{backgroundColor:ae},[`&${a}-node-selected`]:{backgroundColor:te},[`${a}-iconEle`]:{display:"inline-block",width:x,height:x,lineHeight:`${x}px`,textAlign:"center",verticalAlign:"top","&:empty":{display:"none"}}},[`${a}-unselectable ${a}-node-content-wrapper:hover`]:{backgroundColor:"transparent"},[`${a}-node-content-wrapper`]:Object.assign({lineHeight:`${x}px`,userSelect:"none"},Qe(se,y)),[`${E}.drop-container`]:{"> [draggable]":{boxShadow:`0 0 0 2px ${y.colorPrimary}`}},"&-show-line":{[`${a}-indent`]:{"&-unit":{position:"relative",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:x/2,bottom:-b,borderInlineEnd:`1px solid ${y.colorBorder}`,content:'""'},"&-end":{"&:before":{display:"none"}}}},[`${a}-switcher`]:{background:"transparent","&-line-icon":{verticalAlign:"-0.15em"}}},[`${E}-leaf-last`]:{[`${a}-switcher`]:{"&-leaf-line":{"&:before":{top:"auto !important",bottom:"auto !important",height:`${x/2}px !important`}}}}})}},ot=se=>{const{treeCls:y,treeNodeCls:a,treeNodePadding:E,directoryNodeSelectedBg:b,directoryNodeSelectedColor:x}=se;return{[`${y}${y}-directory`]:{[a]:{position:"relative","&:before":{position:"absolute",top:0,insetInlineEnd:0,bottom:E,insetInlineStart:0,transition:`background-color ${se.motionDurationMid}`,content:'""',pointerEvents:"none"},"&:hover":{"&:before":{background:se.controlItemBgHover}},"> *":{zIndex:1},[`${y}-switcher`]:{transition:`color ${se.motionDurationMid}`},[`${y}-node-content-wrapper`]:{borderRadius:0,userSelect:"none","&:hover":{background:"transparent"},[`&${y}-node-selected`]:{color:x,background:"transparent"}},"&-selected":{"\n &:hover::before,\n &::before\n ":{background:b},[`${y}-switcher`]:{color:x},[`${y}-node-content-wrapper`]:{color:x,background:"transparent"}}}}}},_e=(se,y)=>{const a=`.${se}`,E=`${a}-treenode`,b=y.paddingXS/2,x=(0,De.TS)(y,{treeCls:a,treeNodeCls:E,treeNodePadding:b});return[$e(se,x),ot(x)]},Ke=se=>{const{controlHeightSM:y}=se;return{titleHeight:y,nodeHoverBg:se.controlItemBgHover,nodeSelectedBg:se.controlItemBgActive}};Tt.ZP=(0,ke.Z)("Tree",(se,y)=>{let{prefixCls:a}=y;return[{[se.componentCls]:(0,Pe.C2)(`${a}-checkbox`,se)},_e(a,se),(0,Oe.Z)(se)]},se=>{const{colorTextLightSolid:y,colorPrimary:a}=se;return Object.assign(Object.assign({},Ke(se)),{directoryNodeSelectedColor:y,directoryNodeSelectedBg:a})})},71997:function(Ft,Tt,oe){"use strict";oe.d(Tt,{Z:function(){return E}});var ne=oe(72308),Pe=oe(59301),Ye={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"filled"},Oe=Ye,De=oe(7657),ke=function(x,te){return Pe.createElement(De.Z,(0,ne.Z)({},x,{ref:te,icon:Oe}))},be=Pe.forwardRef(ke),et=be,Qe=oe(52671),$e=oe(58617),ot=oe(15075),_e=oe(43531),Ke=oe(92310),se=oe.n(Ke),y=oe(92343),E=b=>{const{prefixCls:x,switcherIcon:te,treeNodeProps:ae,showLine:ie}=b,{isLeaf:ce,expanded:ge,loading:fe}=ae;if(fe)return Pe.createElement($e.Z,{className:`${x}-switcher-loading-icon`});let Le;if(ie&&typeof ie=="object"&&(Le=ie.showLeafIcon),ce){if(!ie)return null;if(typeof Le!="boolean"&&Le){const ve=typeof Le=="function"?Le(ae):Le,Xe=`${x}-switcher-line-custom-icon`;return(0,y.l$)(ve)?(0,y.Tm)(ve,{className:se()(ve.props.className||"",Xe)}):ve}return Le?Pe.createElement(Qe.Z,{className:`${x}-switcher-line-icon`}):Pe.createElement("span",{className:`${x}-switcher-leaf-line`})}const Ae=`${x}-switcher-icon`,Ie=typeof te=="function"?te(ae):te;return(0,y.l$)(Ie)?(0,y.Tm)(Ie,{className:se()(Ie.props.className||"",Ae)}):Ie!==void 0?Ie:ie?ge?Pe.createElement(ot.Z,{className:`${x}-switcher-line-icon`}):Pe.createElement(_e.Z,{className:`${x}-switcher-line-icon`}):Pe.createElement(et,{className:Ae})}},54580:function(Ft,Tt,oe){"use strict";oe.d(Tt,{default:function(){return vn}});var ne=oe(59301),Pe=oe(80702),Ye=oe(92310),Oe=oe.n(Ye),De=oe(72308),ke=oe(96949),be=oe(55090),et=oe(77205),Qe=oe(38793),$e=oe(49618),ot=oe(74416),_e=oe(65736),Ke=oe(62853),se=oe(72633),y=oe(26112);function a(Ce,st){var vt="cannot ".concat(Ce.method," ").concat(Ce.action," ").concat(st.status,"'"),At=new Error(vt);return At.status=st.status,At.method=Ce.method,At.url=Ce.action,At}function E(Ce){var st=Ce.responseText||Ce.response;if(!st)return st;try{return JSON.parse(st)}catch(vt){return st}}function b(Ce){var st=new XMLHttpRequest;Ce.onProgress&&st.upload&&(st.upload.onprogress=function(Mt){Mt.total>0&&(Mt.percent=Mt.loaded/Mt.total*100),Ce.onProgress(Mt)});var vt=new FormData;Ce.data&&Object.keys(Ce.data).forEach(function(Vt){var Mt=Ce.data[Vt];if(Array.isArray(Mt)){Mt.forEach(function(jt){vt.append("".concat(Vt,"[]"),jt)});return}vt.append(Vt,Mt)}),Ce.file instanceof Blob?vt.append(Ce.filename,Ce.file,Ce.file.name):vt.append(Ce.filename,Ce.file),st.onerror=function(Mt){Ce.onError(Mt)},st.onload=function(){return st.status<200||st.status>=300?Ce.onError(a(Ce,st),E(st)):Ce.onSuccess(E(st),st)},st.open(Ce.method,Ce.action,!0),Ce.withCredentials&&"withCredentials"in st&&(st.withCredentials=!0);var At=Ce.headers||{};return At["X-Requested-With"]!==null&&st.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(At).forEach(function(Vt){At[Vt]!==null&&st.setRequestHeader(Vt,At[Vt])}),st.send(vt),{abort:function(){st.abort()}}}var x=+new Date,te=0;function ae(){return"rc-upload-".concat(x,"-").concat(++te)}var ie=oe(48736),ce=function(Ce,st){if(Ce&&st){var vt=Array.isArray(st)?st:st.split(","),At=Ce.name||"",Vt=Ce.type||"",Mt=Vt.replace(/\/.*$/,"");return vt.some(function(jt){var Bt=jt.trim();if(/^\*(\/\*)?$/.test(jt))return!0;if(Bt.charAt(0)==="."){var Pn=At.toLowerCase(),Rn=Bt.toLowerCase(),pt=[Rn];return(Rn===".jpg"||Rn===".jpeg")&&(pt=[".jpg",".jpeg"]),pt.some(function(Nn){return Pn.endsWith(Nn)})}return/\/\*$/.test(Bt)?Mt===Bt.replace(/\/.*$/,""):Vt===Bt?!0:/^\w+$/.test(Bt)?((0,ie.ZP)(!1,"Upload takes an invalidate 'accept' type '".concat(Bt,"'.Skip for check.")),!0):!1})}return!0};function ge(Ce,st){var vt=Ce.createReader(),At=[];function Vt(){vt.readEntries(function(Mt){var jt=Array.prototype.slice.apply(Mt);At=At.concat(jt);var Bt=!jt.length;Bt?st(At):Vt()})}Vt()}var fe=function(st,vt,At){var Vt=function Mt(jt,Bt){jt&&(jt.path=Bt||"",jt.isFile?jt.file(function(Pn){At(Pn)&&(jt.fullPath&&!Pn.webkitRelativePath&&(Object.defineProperties(Pn,{webkitRelativePath:{writable:!0}}),Pn.webkitRelativePath=jt.fullPath.replace(/^\//,""),Object.defineProperties(Pn,{webkitRelativePath:{writable:!1}})),vt([Pn]))}):jt.isDirectory&&ge(jt,function(Pn){Pn.forEach(function(Rn){Mt(Rn,"".concat(Bt).concat(jt.name,"/"))})}))};st.forEach(function(Mt){Vt(Mt.webkitGetAsEntry())})},Le=fe,Ae=["component","prefixCls","className","disabled","id","style","multiple","accept","capture","children","directory","openFileDialogOnClick","onMouseEnter","onMouseLeave"],Ie=function(Ce){(0,et.Z)(vt,Ce);var st=(0,Qe.Z)(vt);function vt(){var At;(0,ke.Z)(this,vt);for(var Vt=arguments.length,Mt=new Array(Vt),jt=0;jt{let{uid:Mt}=Vt;return Mt===Ce.uid});return At===-1?vt.push(Ce):vt[At]=Ce,vt}function Me(Ce,st){const vt=Ce.uid!==void 0?"uid":"name";return st.filter(At=>At[vt]===Ce[vt])[0]}function bt(Ce,st){const vt=Ce.uid!==void 0?"uid":"name",At=st.filter(Vt=>Vt[vt]!==Ce[vt]);return At.length===st.length?null:At}const Ct=function(){const st=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:"").split("/"),At=st[st.length-1].split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(At)||[""])[0]},kt=Ce=>Ce.indexOf("image/")===0,It=Ce=>{if(Ce.type&&!Ce.thumbUrl)return kt(Ce.type);const st=Ce.thumbUrl||Ce.url||"",vt=Ct(st);return/^data:image\//.test(st)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico|heic|heif)$/i.test(vt)?!0:!(/^data:/.test(st)||vt)},Dt=200;function xe(Ce){return new Promise(st=>{if(!Ce.type||!kt(Ce.type)){st("");return}const vt=document.createElement("canvas");vt.width=Dt,vt.height=Dt,vt.style.cssText=`position: fixed; left: 0; top: 0; width: ${Dt}px; height: ${Dt}px; z-index: 9999; display: none;`,document.body.appendChild(vt);const At=vt.getContext("2d"),Vt=new Image;if(Vt.onload=()=>{const{width:Mt,height:jt}=Vt;let Bt=Dt,Pn=Dt,Rn=0,pt=0;Mt>jt?(Pn=jt*(Dt/Mt),pt=-(Pn-Bt)/2):(Bt=Mt*(Dt/jt),Rn=-(Bt-Pn)/2),At.drawImage(Vt,Rn,pt,Bt,Pn);const Nn=vt.toDataURL();document.body.removeChild(vt),window.URL.revokeObjectURL(Vt.src),st(Nn)},Vt.crossOrigin="anonymous",Ce.type.startsWith("image/svg+xml")){const Mt=new FileReader;Mt.onload=()=>{Mt.result&&(Vt.src=Mt.result)},Mt.readAsDataURL(Ce)}else if(Ce.type.startsWith("image/gif")){const Mt=new FileReader;Mt.onload=()=>{Mt.result&&st(Mt.result)},Mt.readAsDataURL(Ce)}else Vt.src=window.URL.createObjectURL(Ce)})}var tt=oe(26227),at=oe(41464),it=oe(15277),ft=oe(93948),en=oe(6848),on=ne.forwardRef((Ce,st)=>{let{prefixCls:vt,className:At,style:Vt,locale:Mt,listType:jt,file:Bt,items:Pn,progress:Rn,iconRender:pt,actionIconRender:Nn,itemRender:On,isImgUrl:ut,showPreviewIcon:Lt,showRemoveIcon:Ve,showDownloadIcon:zt,previewIcon:ln,removeIcon:_t,downloadIcon:Sn,onPreview:sn,onDownload:Kt,onClose:tn}=Ce;var zn,Bn;const{status:La}=Bt,[Un,Fa]=ne.useState(La);ne.useEffect(()=>{La!=="removed"&&Fa(La)},[La]);const[pn,wa]=ne.useState(!1);ne.useEffect(()=>{const ua=setTimeout(()=>{wa(!0)},300);return()=>{clearTimeout(ua)}},[]);const Ea=pt(Bt);let Ca=ne.createElement("div",{className:`${vt}-icon`},Ea);if(jt==="picture"||jt==="picture-card"||jt==="picture-circle")if(Un==="uploading"||!Bt.thumbUrl&&!Bt.url){const ua=Oe()(`${vt}-list-item-thumbnail`,{[`${vt}-list-item-file`]:Un!=="uploading"});Ca=ne.createElement("div",{className:ua},Ea)}else{const ua=ut!=null&&ut(Bt)?ne.createElement("img",{src:Bt.thumbUrl||Bt.url,alt:Bt.name,className:`${vt}-list-item-image`,crossOrigin:Bt.crossOrigin}):Ea,Pa=Oe()(`${vt}-list-item-thumbnail`,{[`${vt}-list-item-file`]:ut&&!ut(Bt)});Ca=ne.createElement("a",{className:Pa,onClick:ya=>sn(Bt,ya),href:Bt.url||Bt.thumbUrl,target:"_blank",rel:"noopener noreferrer"},ua)}const Xt=Oe()(`${vt}-list-item`,`${vt}-list-item-${Un}`),na=typeof Bt.linkProps=="string"?JSON.parse(Bt.linkProps):Bt.linkProps,ia=Ve?Nn((typeof _t=="function"?_t(Bt):_t)||ne.createElement(tt.Z,null),()=>tn(Bt),vt,Mt.removeFile):null,ca=zt&&Un==="done"?Nn((typeof Sn=="function"?Sn(Bt):Sn)||ne.createElement(at.Z,null),()=>Kt(Bt),vt,Mt.downloadFile):null,la=jt!=="picture-card"&&jt!=="picture-circle"&&ne.createElement("span",{key:"download-delete",className:Oe()(`${vt}-list-item-actions`,{picture:jt==="picture"})},ca,ia),Aa=Oe()(`${vt}-list-item-name`),ka=Bt.url?[ne.createElement("a",Object.assign({key:"view",target:"_blank",rel:"noopener noreferrer",className:Aa,title:Bt.name},na,{href:Bt.url,onClick:ua=>sn(Bt,ua)}),Bt.name),la]:[ne.createElement("span",{key:"view",className:Aa,onClick:ua=>sn(Bt,ua),title:Bt.name},Bt.name),la],Hn={pointerEvents:"none",opacity:.5},kn=Lt?ne.createElement("a",{href:Bt.url||Bt.thumbUrl,target:"_blank",rel:"noopener noreferrer",style:Bt.url||Bt.thumbUrl?void 0:Hn,onClick:ua=>sn(Bt,ua),title:Mt.previewFile},typeof ln=="function"?ln(Bt):ln||ne.createElement(it.Z,null)):null,Da=(jt==="picture-card"||jt==="picture-circle")&&Un!=="uploading"&&ne.createElement("span",{className:`${vt}-list-item-actions`},kn,Un==="done"&&ca,ia),{getPrefixCls:Na}=ne.useContext(qt.E_),Ga=Na(),Va=ne.createElement("div",{className:Xt},Ca,ka,Da,pn&&ne.createElement(Re.default,{motionName:`${Ga}-fade`,visible:Un==="uploading",motionDeadline:2e3},ua=>{let{className:Pa}=ua;const ya="percent"in Bt?ne.createElement(ft.Z,Object.assign({},Rn,{type:"line",percent:Bt.percent,"aria-label":Bt["aria-label"],"aria-labelledby":Bt["aria-labelledby"]})):null;return ne.createElement("div",{className:Oe()(`${vt}-list-item-progress`,Pa)},ya)})),Za=Bt.response&&typeof Bt.response=="string"?Bt.response:((zn=Bt.error)===null||zn===void 0?void 0:zn.statusText)||((Bn=Bt.error)===null||Bn===void 0?void 0:Bn.message)||Mt.uploadError,_a=Un==="error"?ne.createElement(en.Z,{title:Za,getPopupContainer:ua=>ua.parentNode},Va):Va;return ne.createElement("div",{className:Oe()(`${vt}-list-item-container`,At),style:Vt,ref:st},On?On(_a,Bt,Pn,{download:Kt.bind(null,Bt),preview:sn.bind(null,Bt),remove:tn.bind(null,Bt)}):_a)});const mn=(Ce,st)=>{const{listType:vt="text",previewFile:At=xe,onPreview:Vt,onDownload:Mt,onRemove:jt,locale:Bt,iconRender:Pn,isImageUrl:Rn=It,prefixCls:pt,items:Nn=[],showPreviewIcon:On=!0,showRemoveIcon:ut=!0,showDownloadIcon:Lt=!1,removeIcon:Ve,previewIcon:zt,downloadIcon:ln,progress:_t={size:[-1,2],showInfo:!1},appendAction:Sn,appendActionVisible:sn=!0,itemRender:Kt,disabled:tn}=Ce,zn=(0,yt.Z)(),[Bn,La]=ne.useState(!1);ne.useEffect(()=>{vt!=="picture"&&vt!=="picture-card"&&vt!=="picture-circle"||(Nn||[]).forEach(Hn=>{typeof document=="undefined"||typeof window=="undefined"||!window.FileReader||!window.File||!(Hn.originFileObj instanceof File||Hn.originFileObj instanceof Blob)||Hn.thumbUrl!==void 0||(Hn.thumbUrl="",At&&At(Hn.originFileObj).then(kn=>{Hn.thumbUrl=kn||"",zn()}))})},[vt,Nn,At]),ne.useEffect(()=>{La(!0)},[]);const Un=(Hn,kn)=>{if(Vt)return kn==null||kn.preventDefault(),Vt(Hn)},Fa=Hn=>{typeof Mt=="function"?Mt(Hn):Hn.url&&window.open(Hn.url)},pn=Hn=>{jt==null||jt(Hn)},wa=Hn=>{if(Pn)return Pn(Hn,vt);const kn=Hn.status==="uploading",Da=Rn&&Rn(Hn)?ne.createElement(me,null):ne.createElement(rn,null);let Na=kn?ne.createElement(ht.Z,null):ne.createElement(nn,null);return vt==="picture"?Na=kn?ne.createElement(ht.Z,null):Da:(vt==="picture-card"||vt==="picture-circle")&&(Na=kn?Bt.uploading:Da),Na},Ea=(Hn,kn,Da,Na)=>{const Ga={type:"text",size:"small",title:Na,onClick:Va=>{kn(),(0,he.l$)(Hn)&&Hn.props.onClick&&Hn.props.onClick(Va)},className:`${Da}-list-item-action`,disabled:tn};if((0,he.l$)(Hn)){const Va=(0,he.Tm)(Hn,Object.assign(Object.assign({},Hn.props),{onClick:()=>{}}));return ne.createElement(Be.ZP,Object.assign({},Ga,{icon:Va}))}return ne.createElement(Be.ZP,Object.assign({},Ga),ne.createElement("span",null,Hn))};ne.useImperativeHandle(st,()=>({handlePreview:Un,handleDownload:Fa}));const{getPrefixCls:Ca}=ne.useContext(qt.E_),Xt=Ca("upload",pt),na=Ca(),ia=Oe()(`${Xt}-list`,`${Xt}-list-${vt}`),ca=(0,Pe.Z)(Nn.map(Hn=>({key:Hn.uid,file:Hn})));let Aa={motionDeadline:2e3,motionName:`${Xt}-${vt==="picture-card"||vt==="picture-circle"?"animate-inline":"animate"}`,keys:ca,motionAppear:Bn};const ka=ne.useMemo(()=>{const Hn=Object.assign({},(0,ye.Z)(na));return delete Hn.onAppearEnd,delete Hn.onEnterEnd,delete Hn.onLeaveEnd,Hn},[na]);return vt!=="picture-card"&&vt!=="picture-circle"&&(Aa=Object.assign(Object.assign({},ka),Aa)),ne.createElement("div",{className:ia},ne.createElement(Re.CSSMotionList,Object.assign({},Aa,{component:!1}),Hn=>{let{key:kn,file:Da,className:Na,style:Ga}=Hn;return ne.createElement(on,{key:kn,locale:Bt,prefixCls:Xt,className:Na,style:Ga,file:Da,items:Nn,progress:_t,listType:vt,isImgUrl:Rn,showPreviewIcon:On,showRemoveIcon:ut,showDownloadIcon:Lt,removeIcon:Ve,previewIcon:zt,downloadIcon:ln,iconRender:wa,actionIconRender:Ea,itemRender:Kt,onPreview:Un,onDownload:Fa,onClose:pn})}),Sn&&ne.createElement(Re.default,Object.assign({},Aa,{visible:sn,forceRender:!0}),Hn=>{let{className:kn,style:Da}=Hn;return(0,he.Tm)(Sn,Na=>({className:Oe()(Na.className,kn),style:Object.assign(Object.assign(Object.assign({},Da),{pointerEvents:kn?"none":void 0}),Na.style)}))}))};var Ln=ne.forwardRef(mn),Tn=oe(17313),_n=oe(8378),ta=oe(83116),Fn=oe(37613),wn=Ce=>{const{componentCls:st,iconCls:vt}=Ce;return{[`${st}-wrapper`]:{[`${st}-drag`]:{position:"relative",width:"100%",height:"100%",textAlign:"center",background:Ce.colorFillAlter,border:`${Ce.lineWidth}px dashed ${Ce.colorBorder}`,borderRadius:Ce.borderRadiusLG,cursor:"pointer",transition:`border-color ${Ce.motionDurationSlow}`,[st]:{padding:`${Ce.padding}px 0`},[`${st}-btn`]:{display:"table",width:"100%",height:"100%",outline:"none"},[`${st}-drag-container`]:{display:"table-cell",verticalAlign:"middle"},[`&:not(${st}-disabled):hover`]:{borderColor:Ce.colorPrimaryHover},[`p${st}-drag-icon`]:{marginBottom:Ce.margin,[vt]:{color:Ce.colorPrimary,fontSize:Ce.uploadThumbnailSize}},[`p${st}-text`]:{margin:`0 0 ${Ce.marginXXS}px`,color:Ce.colorTextHeading,fontSize:Ce.fontSizeLG},[`p${st}-hint`]:{color:Ce.colorTextDescription,fontSize:Ce.fontSize},[`&${st}-disabled`]:{cursor:"not-allowed",[`p${st}-drag-icon ${vt}, + p${st}-text, + p${st}-hint + `]:{color:Ce.colorTextDisabled}}}}}},oa=Ce=>{const{componentCls:st,antCls:vt,iconCls:At,fontSize:Vt,lineHeight:Mt}=Ce,jt=`${st}-list-item`,Bt=`${jt}-actions`,Pn=`${jt}-action`,Rn=Math.round(Vt*Mt);return{[`${st}-wrapper`]:{[`${st}-list`]:Object.assign(Object.assign({},(0,Tn.dF)()),{lineHeight:Ce.lineHeight,[jt]:{position:"relative",height:Ce.lineHeight*Vt,marginTop:Ce.marginXS,fontSize:Vt,display:"flex",alignItems:"center",transition:`background-color ${Ce.motionDurationSlow}`,"&:hover":{backgroundColor:Ce.controlItemBgHover},[`${jt}-name`]:Object.assign(Object.assign({},Tn.vS),{padding:`0 ${Ce.paddingXS}px`,lineHeight:Mt,flex:"auto",transition:`all ${Ce.motionDurationSlow}`}),[Bt]:{[Pn]:{opacity:0},[`${Pn}${vt}-btn-sm`]:{height:Rn,border:0,lineHeight:1,"> span":{transform:"scale(1)"}},[` + ${Pn}:focus-visible, + &.picture ${Pn} + `]:{opacity:1},[At]:{color:Ce.actionsColor,transition:`all ${Ce.motionDurationSlow}`},[`&:hover ${At}`]:{color:Ce.colorText}},[`${st}-icon ${At}`]:{color:Ce.colorTextDescription,fontSize:Vt},[`${jt}-progress`]:{position:"absolute",bottom:-Ce.uploadProgressOffset,width:"100%",paddingInlineStart:Vt+Ce.paddingXS,fontSize:Vt,lineHeight:0,pointerEvents:"none","> div":{margin:0}}},[`${jt}:hover ${Pn}`]:{opacity:1,color:Ce.colorText},[`${jt}-error`]:{color:Ce.colorError,[`${jt}-name, ${st}-icon ${At}`]:{color:Ce.colorError},[Bt]:{[`${At}, ${At}:hover`]:{color:Ce.colorError},[Pn]:{opacity:1}}},[`${st}-list-item-container`]:{transition:`opacity ${Ce.motionDurationSlow}, height ${Ce.motionDurationSlow}`,"&::before":{display:"table",width:0,height:0,content:'""'}}})}}},Ia=oe(93083),ba=oe(1950);const za=new Ia.Keyframes("uploadAnimateInlineIn",{from:{width:0,height:0,margin:0,padding:0,opacity:0}}),Ua=new Ia.Keyframes("uploadAnimateInlineOut",{to:{width:0,height:0,margin:0,padding:0,opacity:0}});var pa=Ce=>{const{componentCls:st}=Ce,vt=`${st}-animate-inline`;return[{[`${st}-wrapper`]:{[`${vt}-appear, ${vt}-enter, ${vt}-leave`]:{animationDuration:Ce.motionDurationSlow,animationTimingFunction:Ce.motionEaseInOutCirc,animationFillMode:"forwards"},[`${vt}-appear, ${vt}-enter`]:{animationName:za},[`${vt}-leave`]:{animationName:Ua}}},{[`${st}-wrapper`]:(0,ba.J$)(Ce)},za,Ua]},Sa=oe(93398),Wa=oe(64993);const gt=Ce=>{const{componentCls:st,iconCls:vt,uploadThumbnailSize:At,uploadProgressOffset:Vt}=Ce,Mt=`${st}-list`,jt=`${Mt}-item`;return{[`${st}-wrapper`]:{[` + ${Mt}${Mt}-picture, + ${Mt}${Mt}-picture-card, + ${Mt}${Mt}-picture-circle + `]:{[jt]:{position:"relative",height:At+Ce.lineWidth*2+Ce.paddingXS*2,padding:Ce.paddingXS,border:`${Ce.lineWidth}px ${Ce.lineType} ${Ce.colorBorder}`,borderRadius:Ce.borderRadiusLG,"&:hover":{background:"transparent"},[`${jt}-thumbnail`]:Object.assign(Object.assign({},Tn.vS),{width:At,height:At,lineHeight:`${At+Ce.paddingSM}px`,textAlign:"center",flex:"none",[vt]:{fontSize:Ce.fontSizeHeading2,color:Ce.colorPrimary},img:{display:"block",width:"100%",height:"100%",overflow:"hidden"}}),[`${jt}-progress`]:{bottom:Vt,width:`calc(100% - ${Ce.paddingSM*2}px)`,marginTop:0,paddingInlineStart:At+Ce.paddingXS}},[`${jt}-error`]:{borderColor:Ce.colorError,[`${jt}-thumbnail ${vt}`]:{[`svg path[fill='${Sa.blue[0]}']`]:{fill:Ce.colorErrorBg},[`svg path[fill='${Sa.blue.primary}']`]:{fill:Ce.colorError}}},[`${jt}-uploading`]:{borderStyle:"dashed",[`${jt}-name`]:{marginBottom:Vt}}},[`${Mt}${Mt}-picture-circle ${jt}`]:{[`&, &::before, ${jt}-thumbnail`]:{borderRadius:"50%"}}}}},St=Ce=>{const{componentCls:st,iconCls:vt,fontSizeLG:At,colorTextLightSolid:Vt}=Ce,Mt=`${st}-list`,jt=`${Mt}-item`,Bt=Ce.uploadPicCardSize;return{[` + ${st}-wrapper${st}-picture-card-wrapper, + ${st}-wrapper${st}-picture-circle-wrapper + `]:Object.assign(Object.assign({},(0,Tn.dF)()),{display:"inline-block",width:"100%",[`${st}${st}-select`]:{width:Bt,height:Bt,marginInlineEnd:Ce.marginXS,marginBottom:Ce.marginXS,textAlign:"center",verticalAlign:"top",backgroundColor:Ce.colorFillAlter,border:`${Ce.lineWidth}px dashed ${Ce.colorBorder}`,borderRadius:Ce.borderRadiusLG,cursor:"pointer",transition:`border-color ${Ce.motionDurationSlow}`,[`> ${st}`]:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%",textAlign:"center"},[`&:not(${st}-disabled):hover`]:{borderColor:Ce.colorPrimary}},[`${Mt}${Mt}-picture-card, ${Mt}${Mt}-picture-circle`]:{[`${Mt}-item-container`]:{display:"inline-block",width:Bt,height:Bt,marginBlock:`0 ${Ce.marginXS}px`,marginInline:`0 ${Ce.marginXS}px`,verticalAlign:"top"},"&::after":{display:"none"},[jt]:{height:"100%",margin:0,"&::before":{position:"absolute",zIndex:1,width:`calc(100% - ${Ce.paddingXS*2}px)`,height:`calc(100% - ${Ce.paddingXS*2}px)`,backgroundColor:Ce.colorBgMask,opacity:0,transition:`all ${Ce.motionDurationSlow}`,content:'" "'}},[`${jt}:hover`]:{[`&::before, ${jt}-actions`]:{opacity:1}},[`${jt}-actions`]:{position:"absolute",insetInlineStart:0,zIndex:10,width:"100%",whiteSpace:"nowrap",textAlign:"center",opacity:0,transition:`all ${Ce.motionDurationSlow}`,[`${vt}-eye, ${vt}-download, ${vt}-delete`]:{zIndex:10,width:At,margin:`0 ${Ce.marginXXS}px`,fontSize:At,cursor:"pointer",transition:`all ${Ce.motionDurationSlow}`,svg:{verticalAlign:"baseline"}}},[`${jt}-actions, ${jt}-actions:hover`]:{[`${vt}-eye, ${vt}-download, ${vt}-delete`]:{color:new Wa.C(Vt).setAlpha(.65).toRgbString(),"&:hover":{color:Vt}}},[`${jt}-thumbnail, ${jt}-thumbnail img`]:{position:"static",display:"block",width:"100%",height:"100%",objectFit:"contain"},[`${jt}-name`]:{display:"none",textAlign:"center"},[`${jt}-file + ${jt}-name`]:{position:"absolute",bottom:Ce.margin,display:"block",width:`calc(100% - ${Ce.paddingXS*2}px)`},[`${jt}-uploading`]:{[`&${jt}`]:{backgroundColor:Ce.colorFillAlter},[`&::before, ${vt}-eye, ${vt}-download, ${vt}-delete`]:{display:"none"}},[`${jt}-progress`]:{bottom:Ce.marginXL,width:`calc(100% - ${Ce.paddingXS*2}px)`,paddingInlineStart:0}}}),[`${st}-wrapper${st}-picture-circle-wrapper`]:{[`${st}${st}-select`]:{borderRadius:"50%"}}}};var gn=Ce=>{const{componentCls:st}=Ce;return{[`${st}-rtl`]:{direction:"rtl"}}};const Mn=Ce=>{const{componentCls:st,colorTextDisabled:vt}=Ce;return{[`${st}-wrapper`]:Object.assign(Object.assign({},(0,Tn.Wf)(Ce)),{[st]:{outline:0,"input[type='file']":{cursor:"pointer"}},[`${st}-select`]:{display:"inline-block"},[`${st}-disabled`]:{color:vt,cursor:"not-allowed"}})}};var Dn=(0,ta.Z)("Upload",Ce=>{const{fontSizeHeading3:st,fontSize:vt,lineHeight:At,lineWidth:Vt,controlHeightLG:Mt}=Ce,jt=Math.round(vt*At),Bt=(0,Fn.TS)(Ce,{uploadThumbnailSize:st*2,uploadProgressOffset:jt/2+Vt,uploadPicCardSize:Mt*2.55});return[Mn(Bt),wn(Bt),gt(Bt),St(Bt),oa(Bt),pa(Bt),gn(Bt),(0,_n.Z)(Bt)]},Ce=>({actionsColor:Ce.colorTextDescription})),xa=function(Ce,st,vt,At){function Vt(Mt){return Mt instanceof vt?Mt:new vt(function(jt){jt(Mt)})}return new(vt||(vt=Promise))(function(Mt,jt){function Bt(pt){try{Rn(At.next(pt))}catch(Nn){jt(Nn)}}function Pn(pt){try{Rn(At.throw(pt))}catch(Nn){jt(Nn)}}function Rn(pt){pt.done?Mt(pt.value):Vt(pt.value).then(Bt,Pn)}Rn((At=At.apply(Ce,st||[])).next())})};const ea=`__LIST_IGNORE_${Date.now()}__`,Yn=(Ce,st)=>{const{fileList:vt,defaultFileList:At,onRemove:Vt,showUploadList:Mt=!0,listType:jt="text",onPreview:Bt,onDownload:Pn,onChange:Rn,onDrop:pt,previewFile:Nn,disabled:On,locale:ut,iconRender:Lt,isImageUrl:Ve,progress:zt,prefixCls:ln,className:_t,type:Sn="select",children:sn,style:Kt,itemRender:tn,maxCount:zn,data:Bn={},multiple:La=!1,action:Un="",accept:Fa="",supportServerRender:pn=!0,rootClassName:wa}=Ce,Ea=ne.useContext(an.Z),Ca=On!=null?On:Ea,[Xt,na]=(0,ct.Z)(At||[],{value:vt,postState:jn=>jn!=null?jn:[]}),[ia,ca]=ne.useState("drop"),la=ne.useRef(null);ne.useMemo(()=>{const jn=Date.now();(vt||[]).forEach((Et,Ra)=>{!Et.uid&&!Object.isFrozen(Et)&&(Et.uid=`__AUTO__${jn}_${Ra}__`)})},[vt]);const Aa=(jn,Et,Ra)=>{let $n=(0,Pe.Z)(Et),Gn=!1;zn===1?$n=$n.slice(-1):zn&&(Gn=$n.length>zn,$n=$n.slice(0,zn)),(0,Zt.flushSync)(()=>{na($n)});const Wn={file:jn,fileList:$n};Ra&&(Wn.event=Ra),(!Gn||$n.some(Vn=>Vn.uid===jn.uid))&&(0,Zt.flushSync)(()=>{Rn==null||Rn(Wn)})},ka=(jn,Et)=>xa(void 0,void 0,void 0,function*(){const{beforeUpload:Ra,transformFile:$n}=Ce;let Gn=jn;if(Ra){const Wn=yield Ra(jn,Et);if(Wn===!1)return!1;if(delete jn[ea],Wn===ea)return Object.defineProperty(jn,ea,{value:!0,configurable:!0}),!1;typeof Wn=="object"&&Wn&&(Gn=Wn)}return $n&&(Gn=yield $n(Gn)),Gn}),Hn=jn=>{const Et=jn.filter(Gn=>!Gn.file[ea]);if(!Et.length)return;const Ra=Et.map(Gn=>Ne(Gn.file));let $n=(0,Pe.Z)(Xt);Ra.forEach(Gn=>{$n=Ee(Gn,$n)}),Ra.forEach((Gn,Wn)=>{let Vn=Gn;if(Et[Wn].parsedFile)Gn.status="uploading";else{const{originFileObj:Ja}=Gn;let Xa;try{Xa=new File([Ja],Ja.name,{type:Ja.type})}catch(qa){Xa=new Blob([Ja],{type:Ja.type}),Xa.name=Ja.name,Xa.lastModifiedDate=new Date,Xa.lastModified=new Date().getTime()}Xa.uid=Gn.uid,Vn=Xa}Aa(Vn,$n)})},kn=(jn,Et,Ra)=>{try{typeof jn=="string"&&(jn=JSON.parse(jn))}catch(Wn){}if(!Me(Et,Xt))return;const $n=Ne(Et);$n.status="done",$n.percent=100,$n.response=jn,$n.xhr=Ra;const Gn=Ee($n,Xt);Aa($n,Gn)},Da=(jn,Et)=>{if(!Me(Et,Xt))return;const Ra=Ne(Et);Ra.status="uploading",Ra.percent=jn.percent;const $n=Ee(Ra,Xt);Aa(Ra,$n,jn)},Na=(jn,Et,Ra)=>{if(!Me(Ra,Xt))return;const $n=Ne(Ra);$n.error=jn,$n.response=Et,$n.status="error";const Gn=Ee($n,Xt);Aa($n,Gn)},Ga=jn=>{let Et;Promise.resolve(typeof Vt=="function"?Vt(jn):Vt).then(Ra=>{var $n;if(Ra===!1)return;const Gn=bt(jn,Xt);Gn&&(Et=Object.assign(Object.assign({},jn),{status:"removed"}),Xt==null||Xt.forEach(Wn=>{const Vn=Et.uid!==void 0?"uid":"name";Wn[Vn]===Et[Vn]&&!Object.isFrozen(Wn)&&(Wn.status="removed")}),($n=la.current)===null||$n===void 0||$n.abort(Et),Aa(Et,Gn))})},Va=jn=>{ca(jn.type),jn.type==="drop"&&(pt==null||pt(jn))};ne.useImperativeHandle(st,()=>({onBatchStart:Hn,onSuccess:kn,onProgress:Da,onError:Na,fileList:Xt,upload:la.current}));const{getPrefixCls:Za,direction:_a,upload:ua}=ne.useContext(qt.E_),Pa=Za("upload",ln),ya=Object.assign(Object.assign({onBatchStart:Hn,onError:Na,onProgress:Da,onSuccess:kn},Ce),{data:Bn,multiple:La,action:Un,accept:Fa,supportServerRender:pn,prefixCls:Pa,disabled:Ca,beforeUpload:ka,onChange:void 0});delete ya.className,delete ya.style,(!sn||Ca)&&delete ya.id;const[$a,Ya]=Dn(Pa),[va]=(0,Pt.Z)("Upload",Ot.Z.Upload),{showRemoveIcon:bn,showPreviewIcon:cn,showDownloadIcon:Cn,removeIcon:xn,previewIcon:ma,downloadIcon:xt}=typeof Mt=="boolean"?{}:Mt,Jn=(jn,Et)=>Mt?ne.createElement(Ln,{prefixCls:Pa,listType:jt,items:Xt,previewFile:Nn,onPreview:Bt,onDownload:Pn,onRemove:Ga,showRemoveIcon:!Ca&&bn,showPreviewIcon:cn,showDownloadIcon:Cn,removeIcon:xn,previewIcon:ma,downloadIcon:xt,iconRender:Lt,locale:Object.assign(Object.assign({},va),ut),isImageUrl:Ve,progress:zt,appendAction:jn,appendActionVisible:Et,itemRender:tn,disabled:Ca}):jn,Qn=Oe()(`${Pa}-wrapper`,_t,wa,Ya,ua==null?void 0:ua.className,{[`${Pa}-rtl`]:_a==="rtl",[`${Pa}-picture-card-wrapper`]:jt==="picture-card",[`${Pa}-picture-circle-wrapper`]:jt==="picture-circle"}),fa=Object.assign(Object.assign({},ua==null?void 0:ua.style),Kt);if(Sn==="drag"){const jn=Oe()(Ya,Pa,`${Pa}-drag`,{[`${Pa}-drag-uploading`]:Xt.some(Et=>Et.status==="uploading"),[`${Pa}-drag-hover`]:ia==="dragover",[`${Pa}-disabled`]:Ca,[`${Pa}-rtl`]:_a==="rtl"});return $a(ne.createElement("span",{className:Qn},ne.createElement("div",{className:jn,style:fa,onDrop:Va,onDragOver:Va,onDragLeave:Va},ne.createElement(qe,Object.assign({},ya,{ref:la,className:`${Pa}-btn`}),ne.createElement("div",{className:`${Pa}-drag-container`},sn))),Jn()))}const aa=Oe()(Pa,`${Pa}-select`,{[`${Pa}-disabled`]:Ca}),ha=(jn=>ne.createElement("div",{className:aa,style:jn},ne.createElement(qe,Object.assign({},ya,{ref:la}))))(sn?void 0:{display:"none"});return $a(jt==="picture-card"||jt==="picture-circle"?ne.createElement("span",{className:Qn},Jn(ha,!!sn)):ne.createElement("span",{className:Qn},ha,Jn()))};var Gt=ne.forwardRef(Yn),ze=function(Ce,st){var vt={};for(var At in Ce)Object.prototype.hasOwnProperty.call(Ce,At)&&st.indexOf(At)<0&&(vt[At]=Ce[At]);if(Ce!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Vt=0,At=Object.getOwnPropertySymbols(Ce);Vt{var{style:vt,height:At}=Ce,Vt=ze(Ce,["style","height"]);return ne.createElement(Gt,Object.assign({ref:st},Vt,{type:"drag",style:Object.assign(Object.assign({},vt),{height:At})}))});const un=Gt;un.Dragger=fn,un.LIST_IGNORE=ea;var vn=un},39417:function(Ft,Tt,oe){"use strict";oe.d(Tt,{Z:function(){return fe}});var ne=oe(72308),Pe=oe(49618),Ye=oe(74416),Oe=oe(77321),De=oe(96949),ke=oe(55090),be=oe(80237),et=oe(77205),Qe=oe(38793),$e=oe(92310),ot=oe.n($e),_e=oe(26112),Ke=oe(59301),se=oe(39378),y=function(Ae){for(var Ie=Ae.prefixCls,ve=Ae.level,Xe=Ae.isStart,Rt=Ae.isEnd,Yt="".concat(Ie,"-indent-unit"),qe=[],ct=0;ct0&&arguments[0]!==void 0?arguments[0]:[],je=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],we=Ue.length,me=je.length;if(Math.abs(we-me)!==1)return{add:!1,key:null};function Re(yt,ye){var he=new Map;yt.forEach(function(Ne){he.set(Ne,!0)});var Be=ye.filter(function(Ne){return!he.has(Ne)});return Be.length===1?Be[0]:null}return we ").concat(je);return je}var Ht=a.forwardRef(function(Ue,je){var we=Ue.prefixCls,me=Ue.data,Re=Ue.selectable,yt=Ue.checkable,ye=Ue.expandedKeys,he=Ue.selectedKeys,Be=Ue.checkedKeys,Ne=Ue.loadedKeys,Ee=Ue.loadingKeys,Me=Ue.halfCheckedKeys,bt=Ue.keyEntities,Ct=Ue.disabled,kt=Ue.dragging,It=Ue.dragOverNodeKey,Dt=Ue.dropPosition,xe=Ue.motion,tt=Ue.height,at=Ue.itemHeight,it=Ue.virtual,ft=Ue.focusable,en=Ue.activeItem,dn=Ue.focused,on=Ue.tabIndex,mn=Ue.onKeyDown,In=Ue.onFocus,Ln=Ue.onBlur,Tn=Ue.onActiveChange,_n=Ue.onListChangeStart,ta=Ue.onListChangeEnd,Fn=(0,ae.Z)(Ue,ct),ra=a.useRef(null),wn=a.useRef(null);a.useImperativeHandle(je,function(){return{scrollTo:function(vn){ra.current.scrollTo(vn)},getIndentWidth:function(){return wn.current.offsetWidth}}});var Kn=a.useState(ye),oa=(0,te.Z)(Kn,2),Ia=oa[0],ba=oa[1],za=a.useState(me),Ua=(0,te.Z)(za,2),Oa=Ua[0],pa=Ua[1],Sa=a.useState(me),Wa=(0,te.Z)(Sa,2),gt=Wa[0],St=Wa[1],dt=a.useState([]),gn=(0,te.Z)(dt,2),Mn=gn[0],Dn=gn[1],xa=a.useState(null),ea=(0,te.Z)(xa,2),Yn=ea[0],ga=ea[1],Gt=a.useRef(me);Gt.current=me;function ze(){var un=Gt.current;pa(un),St(un),Dn([]),ga(null),ta()}(0,ie.Z)(function(){ba(ye);var un=Yt(Ia,ye);if(un.key!==null)if(un.add){var vn=Oa.findIndex(function(Mt){var jt=Mt.key;return jt===un.key}),Ce=Qt(qe(Oa,me,un.key),it,tt,at),st=Oa.slice();st.splice(vn+1,0,mt),St(st),Dn(Ce),ga("show")}else{var vt=me.findIndex(function(Mt){var jt=Mt.key;return jt===un.key}),At=Qt(qe(me,Oa,un.key),it,tt,at),Vt=me.slice();Vt.splice(vt+1,0,mt),St(Vt),Dn(At),ga("hide")}else Oa!==me&&(pa(me),St(me))},[ye,me]),a.useEffect(function(){kt||ze()},[kt]);var Wt=xe?gt:me,fn={expandedKeys:ye,selectedKeys:he,loadedKeys:Ne,loadingKeys:Ee,checkedKeys:Be,halfCheckedKeys:Me,dragOverNodeKey:It,dropPosition:Dt,keyEntities:bt};return a.createElement(a.Fragment,null,dn&&en&&a.createElement("span",{style:Zt,"aria-live":"assertive"},lt(en)),a.createElement("div",null,a.createElement("input",{style:Zt,disabled:ft===!1||Ct,tabIndex:ft!==!1?on:null,onKeyDown:mn,onFocus:In,onBlur:Ln,value:"",onChange:qt,"aria-label":"for screen reader"})),a.createElement("div",{className:"".concat(we,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},a.createElement("div",{className:"".concat(we,"-indent")},a.createElement("div",{ref:wn,className:"".concat(we,"-indent-unit")}))),a.createElement(ce.Z,(0,ne.Z)({},Fn,{data:Wt,itemKey:Ze,height:tt,fullHeight:!1,virtual:it,itemHeight:at,prefixCls:"".concat(we,"-list"),ref:ra,onVisibleChange:function(vn,Ce){var st=new Set(vn),vt=Ce.filter(function(At){return!st.has(At)});vt.some(function(At){return Ze(At)===an})&&ze()}}),function(un){var vn=un.pos,Ce=(0,ne.Z)({},(x(un.data),un.data)),st=un.title,vt=un.key,At=un.isStart,Vt=un.isEnd,Mt=(0,Ae.km)(vt,vn);delete Ce.key,delete Ce.children;var jt=(0,Ae.H8)(Mt,fn);return a.createElement(Rt,(0,ne.Z)({},Ce,jt,{title:st,active:!!en&&vt===en.key,pos:vn,data:un.data,isStart:At,isEnd:Vt,motion:xe,motionNodes:vt===an?Mn:null,motionType:Yn,onMotionStart:_n,onMotionEnd:ze,treeNodeRequiredProps:fn,onMouseMove:function(){Tn(null)}}))}))});Ht.displayName="NodeList";var rn=Ht,ht=oe(35654),$t=oe(90782),Fe=oe(67841),rt=10,wt=function(Ue){(0,Qe.Z)(we,Ue);var je=(0,$e.Z)(we);function we(){var me;(0,ke.Z)(this,we);for(var Re=arguments.length,yt=new Array(Re),ye=0;ye2&&arguments[2]!==void 0?arguments[2]:!1,Me=me.state,bt=Me.dragChildrenKeys,Ct=Me.dropPosition,kt=Me.dropTargetKey,It=Me.dropTargetPos,Dt=Me.dropAllowed;if(Dt){var xe=me.props.onDrop;if(me.setState({dragOverNodeKey:null}),me.cleanDragState(),kt!==null){var tt=(0,Oe.Z)((0,Oe.Z)({},(0,Ae.H8)(kt,me.getTreeNodeRequiredProps())),{},{active:((Ne=me.getActiveItem())===null||Ne===void 0?void 0:Ne.key)===kt,data:(0,Fe.Z)(me.state.keyEntities,kt).node}),at=bt.indexOf(kt)!==-1;(0,y.ZP)(!at,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var it=(0,ht.yx)(It),ft={event:he,node:(0,Ae.F)(tt),dragNode:me.dragNode?(0,Ae.F)(me.dragNode.props):null,dragNodesKeys:[me.dragNode.props.eventKey].concat(bt),dropToGap:Ct!==0,dropPosition:Ct+Number(it[it.length-1])};Ee||xe==null||xe(ft),me.dragNode=null}}},me.cleanDragState=function(){var he=me.state.draggingNodeKey;he!==null&&me.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),me.dragStartMousePosition=null,me.currentMouseOverDroppableNodeKey=null},me.triggerExpandActionExpand=function(he,Be){var Ne=me.state,Ee=Ne.expandedKeys,Me=Ne.flattenNodes,bt=Be.expanded,Ct=Be.key,kt=Be.isLeaf;if(!(kt||he.shiftKey||he.metaKey||he.ctrlKey)){var It=Me.filter(function(xe){return xe.key===Ct})[0],Dt=(0,Ae.F)((0,Oe.Z)((0,Oe.Z)({},(0,Ae.H8)(Ct,me.getTreeNodeRequiredProps())),{},{data:It.data}));me.setExpandedKeys(bt?(0,ht._5)(Ee,Ct):(0,ht.L0)(Ee,Ct)),me.onNodeExpand(he,Dt)}},me.onNodeClick=function(he,Be){var Ne=me.props,Ee=Ne.onClick,Me=Ne.expandAction;Me==="click"&&me.triggerExpandActionExpand(he,Be),Ee==null||Ee(he,Be)},me.onNodeDoubleClick=function(he,Be){var Ne=me.props,Ee=Ne.onDoubleClick,Me=Ne.expandAction;Me==="doubleClick"&&me.triggerExpandActionExpand(he,Be),Ee==null||Ee(he,Be)},me.onNodeSelect=function(he,Be){var Ne=me.state.selectedKeys,Ee=me.state,Me=Ee.keyEntities,bt=Ee.fieldNames,Ct=me.props,kt=Ct.onSelect,It=Ct.multiple,Dt=Be.selected,xe=Be[bt.key],tt=!Dt;tt?It?Ne=(0,ht.L0)(Ne,xe):Ne=[xe]:Ne=(0,ht._5)(Ne,xe);var at=Ne.map(function(it){var ft=(0,Fe.Z)(Me,it);return ft?ft.node:null}).filter(function(it){return it});me.setUncontrolledState({selectedKeys:Ne}),kt==null||kt(Ne,{event:"select",selected:tt,node:Be,selectedNodes:at,nativeEvent:he.nativeEvent})},me.onNodeCheck=function(he,Be,Ne){var Ee=me.state,Me=Ee.keyEntities,bt=Ee.checkedKeys,Ct=Ee.halfCheckedKeys,kt=me.props,It=kt.checkStrictly,Dt=kt.onCheck,xe=Be.key,tt,at={event:"check",node:Be,checked:Ne,nativeEvent:he.nativeEvent};if(It){var it=Ne?(0,ht.L0)(bt,xe):(0,ht._5)(bt,xe),ft=(0,ht._5)(Ct,xe);tt={checked:it,halfChecked:ft},at.checkedNodes=it.map(function(Ln){return(0,Fe.Z)(Me,Ln)}).filter(function(Ln){return Ln}).map(function(Ln){return Ln.node}),me.setUncontrolledState({checkedKeys:it})}else{var en=(0,$t.S)([].concat((0,De.Z)(bt),[xe]),!0,Me),dn=en.checkedKeys,on=en.halfCheckedKeys;if(!Ne){var mn=new Set(dn);mn.delete(xe);var In=(0,$t.S)(Array.from(mn),{checked:!1,halfCheckedKeys:on},Me);dn=In.checkedKeys,on=In.halfCheckedKeys}tt=dn,at.checkedNodes=[],at.checkedNodesPositions=[],at.halfCheckedKeys=on,dn.forEach(function(Ln){var Tn=(0,Fe.Z)(Me,Ln);if(Tn){var _n=Tn.node,ta=Tn.pos;at.checkedNodes.push(_n),at.checkedNodesPositions.push({node:_n,pos:ta})}}),me.setUncontrolledState({checkedKeys:dn},!1,{halfCheckedKeys:on})}Dt==null||Dt(tt,at)},me.onNodeLoad=function(he){var Be=he.key,Ne=new Promise(function(Ee,Me){me.setState(function(bt){var Ct=bt.loadedKeys,kt=Ct===void 0?[]:Ct,It=bt.loadingKeys,Dt=It===void 0?[]:It,xe=me.props,tt=xe.loadData,at=xe.onLoad;if(!tt||kt.indexOf(Be)!==-1||Dt.indexOf(Be)!==-1)return null;var it=tt(he);return it.then(function(){var ft=me.state.loadedKeys,en=(0,ht.L0)(ft,Be);at==null||at(en,{event:"load",node:he}),me.setUncontrolledState({loadedKeys:en}),me.setState(function(dn){return{loadingKeys:(0,ht._5)(dn.loadingKeys,Be)}}),Ee()}).catch(function(ft){if(me.setState(function(dn){return{loadingKeys:(0,ht._5)(dn.loadingKeys,Be)}}),me.loadingRetryTimes[Be]=(me.loadingRetryTimes[Be]||0)+1,me.loadingRetryTimes[Be]>=rt){var en=me.state.loadedKeys;(0,y.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),me.setUncontrolledState({loadedKeys:(0,ht.L0)(en,Be)}),Ee()}Me(ft)}),{loadingKeys:(0,ht.L0)(Dt,Be)}})});return Ne.catch(function(){}),Ne},me.onNodeMouseEnter=function(he,Be){var Ne=me.props.onMouseEnter;Ne==null||Ne({event:he,node:Be})},me.onNodeMouseLeave=function(he,Be){var Ne=me.props.onMouseLeave;Ne==null||Ne({event:he,node:Be})},me.onNodeContextMenu=function(he,Be){var Ne=me.props.onRightClick;Ne&&(he.preventDefault(),Ne({event:he,node:Be}))},me.onFocus=function(){var he=me.props.onFocus;me.setState({focused:!0});for(var Be=arguments.length,Ne=new Array(Be),Ee=0;Ee1&&arguments[1]!==void 0?arguments[1]:!1,Ne=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!me.destroyed){var Ee=!1,Me=!0,bt={};Object.keys(he).forEach(function(Ct){if(Ct in me.props){Me=!1;return}Ee=!0,bt[Ct]=he[Ct]}),Ee&&(!Be||Me)&&me.setState((0,Oe.Z)((0,Oe.Z)({},bt),Ne))}},me.scrollTo=function(he){me.listRef.current.scrollTo(he)},me}return(0,be.Z)(we,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var Re=this.props.activeKey;Re!==void 0&&Re!==this.state.activeKey&&(this.setState({activeKey:Re}),Re!==null&&this.scrollTo({key:Re}))}},{key:"componentWillUnmount",value:function(){window.removeEventListener("dragend",this.onWindowDragEnd),this.destroyed=!0}},{key:"resetDragState",value:function(){this.setState({dragOverNodeKey:null,dropPosition:null,dropLevelOffset:null,dropTargetKey:null,dropContainerKey:null,dropTargetPos:null,dropAllowed:!1})}},{key:"render",value:function(){var Re,yt=this.state,ye=yt.focused,he=yt.flattenNodes,Be=yt.keyEntities,Ne=yt.draggingNodeKey,Ee=yt.activeKey,Me=yt.dropLevelOffset,bt=yt.dropContainerKey,Ct=yt.dropTargetKey,kt=yt.dropPosition,It=yt.dragOverNodeKey,Dt=yt.indent,xe=this.props,tt=xe.prefixCls,at=xe.className,it=xe.style,ft=xe.showLine,en=xe.focusable,dn=xe.tabIndex,on=dn===void 0?0:dn,mn=xe.selectable,In=xe.showIcon,Ln=xe.icon,Tn=xe.switcherIcon,_n=xe.draggable,ta=xe.checkable,Fn=xe.checkStrictly,ra=xe.disabled,wn=xe.motion,Kn=xe.loadData,oa=xe.filterTreeNode,Ia=xe.height,ba=xe.itemHeight,za=xe.virtual,Ua=xe.titleRender,Oa=xe.dropIndicatorRender,pa=xe.onContextMenu,Sa=xe.onScroll,Wa=xe.direction,gt=xe.rootClassName,St=xe.rootStyle,dt=(0,se.Z)(this.props,{aria:!0,data:!0}),gn;return _n&&((0,Ye.Z)(_n)==="object"?gn=_n:typeof _n=="function"?gn={nodeDraggable:_n}:gn={}),a.createElement(E.k.Provider,{value:{prefixCls:tt,selectable:mn,showIcon:In,icon:Ln,switcherIcon:Tn,draggable:gn,draggingNodeKey:Ne,checkable:ta,checkStrictly:Fn,disabled:ra,keyEntities:Be,dropLevelOffset:Me,dropContainerKey:bt,dropTargetKey:Ct,dropPosition:kt,dragOverNodeKey:It,indent:Dt,direction:Wa,dropIndicatorRender:Oa,loadData:Kn,filterTreeNode:oa,titleRender:Ua,onNodeClick:this.onNodeClick,onNodeDoubleClick:this.onNodeDoubleClick,onNodeExpand:this.onNodeExpand,onNodeSelect:this.onNodeSelect,onNodeCheck:this.onNodeCheck,onNodeLoad:this.onNodeLoad,onNodeMouseEnter:this.onNodeMouseEnter,onNodeMouseLeave:this.onNodeMouseLeave,onNodeContextMenu:this.onNodeContextMenu,onNodeDragStart:this.onNodeDragStart,onNodeDragEnter:this.onNodeDragEnter,onNodeDragOver:this.onNodeDragOver,onNodeDragLeave:this.onNodeDragLeave,onNodeDragEnd:this.onNodeDragEnd,onNodeDrop:this.onNodeDrop}},a.createElement("div",{role:"tree",className:_e()(tt,at,gt,(Re={},(0,Pe.Z)(Re,"".concat(tt,"-show-line"),ft),(0,Pe.Z)(Re,"".concat(tt,"-focused"),ye),(0,Pe.Z)(Re,"".concat(tt,"-active-focused"),Ee!==null),Re)),style:St},a.createElement(rn,(0,ne.Z)({ref:this.listRef,prefixCls:tt,style:it,data:he,disabled:ra,selectable:mn,checkable:!!ta,motion:wn,dragging:Ne!==null,height:Ia,itemHeight:ba,virtual:za,focusable:en,focused:ye,tabIndex:on,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:pa,onScroll:Sa},this.getTreeNodeRequiredProps(),dt))))}}],[{key:"getDerivedStateFromProps",value:function(Re,yt){var ye=yt.prevProps,he={prevProps:Re};function Be(en){return!ye&&en in Re||ye&&ye[en]!==Re[en]}var Ne,Ee=yt.fieldNames;if(Be("fieldNames")&&(Ee=(0,Ae.w$)(Re.fieldNames),he.fieldNames=Ee),Be("treeData")?Ne=Re.treeData:Be("children")&&((0,y.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),Ne=(0,Ae.zn)(Re.children)),Ne){he.treeData=Ne;var Me=(0,Ae.I8)(Ne,{fieldNames:Ee});he.keyEntities=(0,Oe.Z)((0,Pe.Z)({},an,Ot),Me.keyEntities)}var bt=he.keyEntities||yt.keyEntities;if(Be("expandedKeys")||ye&&Be("autoExpandParent"))he.expandedKeys=Re.autoExpandParent||!ye&&Re.defaultExpandParent?(0,ht.r7)(Re.expandedKeys,bt):Re.expandedKeys;else if(!ye&&Re.defaultExpandAll){var Ct=(0,Oe.Z)({},bt);delete Ct[an],he.expandedKeys=Object.keys(Ct).map(function(en){return Ct[en].key})}else!ye&&Re.defaultExpandedKeys&&(he.expandedKeys=Re.autoExpandParent||Re.defaultExpandParent?(0,ht.r7)(Re.defaultExpandedKeys,bt):Re.defaultExpandedKeys);if(he.expandedKeys||delete he.expandedKeys,Ne||he.expandedKeys){var kt=(0,Ae.oH)(Ne||yt.treeData,he.expandedKeys||yt.expandedKeys,Ee);he.flattenNodes=kt}if(Re.selectable&&(Be("selectedKeys")?he.selectedKeys=(0,ht.BT)(Re.selectedKeys,Re):!ye&&Re.defaultSelectedKeys&&(he.selectedKeys=(0,ht.BT)(Re.defaultSelectedKeys,Re))),Re.checkable){var It;if(Be("checkedKeys")?It=(0,ht.E6)(Re.checkedKeys)||{}:!ye&&Re.defaultCheckedKeys?It=(0,ht.E6)(Re.defaultCheckedKeys)||{}:Ne&&(It=(0,ht.E6)(Re.checkedKeys)||{checkedKeys:yt.checkedKeys,halfCheckedKeys:yt.halfCheckedKeys}),It){var Dt=It,xe=Dt.checkedKeys,tt=xe===void 0?[]:xe,at=Dt.halfCheckedKeys,it=at===void 0?[]:at;if(!Re.checkStrictly){var ft=(0,$t.S)(tt,!0,bt);tt=ft.checkedKeys,it=ft.halfCheckedKeys}he.checkedKeys=tt,he.halfCheckedKeys=it}}return Be("loadedKeys")&&(he.loadedKeys=Re.loadedKeys),he}}]),we}(a.Component);wt.defaultProps={prefixCls:"rc-tree",showLine:!1,showIcon:!0,selectable:!0,multiple:!1,checkable:!1,disabled:!1,checkStrictly:!1,draggable:!1,defaultExpandParent:!0,autoExpandParent:!1,defaultExpandAll:!1,defaultExpandedKeys:[],defaultCheckedKeys:[],defaultSelectedKeys:[],dropIndicatorRender:b,allowDrop:function(){return!0},expandAction:!1},wt.TreeNode=fe.Z;var nn=wt,Jt=nn},35654:function(Ft,Tt,oe){"use strict";oe.d(Tt,{BT:function(){return a},E6:function(){return x},L0:function(){return $e},OM:function(){return y},_5:function(){return Qe},r7:function(){return te},wA:function(){return _e},yx:function(){return ot}});var ne=oe(80702),Pe=oe(62853),Ye=oe(48736),Oe=oe(59301),De=oe(39417),ke=oe(67841),be=oe(71430),et=null;function Qe(ae,ie){if(!ae)return[];var ce=ae.slice(),ge=ce.indexOf(ie);return ge>=0&&ce.splice(ge,1),ce}function $e(ae,ie){var ce=(ae||[]).slice();return ce.indexOf(ie)===-1&&ce.push(ie),ce}function ot(ae){return ae.split("-")}function _e(ae,ie){var ce=[],ge=(0,ke.Z)(ie,ae);function fe(){var Le=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];Le.forEach(function(Ae){var Ie=Ae.key,ve=Ae.children;ce.push(Ie),fe(ve)})}return fe(ge.children),ce}function Ke(ae){if(ae.parent){var ie=ot(ae.pos);return Number(ie[ie.length-1])===ae.parent.children.length-1}return!1}function se(ae){var ie=ot(ae.pos);return Number(ie[ie.length-1])===0}function y(ae,ie,ce,ge,fe,Le,Ae,Ie,ve,Xe){var Rt,Yt=ae.clientX,qe=ae.clientY,ct=ae.target.getBoundingClientRect(),Zt=ct.top,qt=ct.height,an=(Xe==="rtl"?-1:1)*(((fe==null?void 0:fe.x)||0)-Yt),Pt=(an-12)/ge,Ot=(0,ke.Z)(Ie,ce.props.eventKey);if(qe-1.5?Le({dragNode:rt,dropNode:wt,dropPosition:1})?ht=1:nn=!1:Le({dragNode:rt,dropNode:wt,dropPosition:0})?ht=0:Le({dragNode:rt,dropNode:wt,dropPosition:1})?ht=1:nn=!1:Le({dragNode:rt,dropNode:wt,dropPosition:1})?ht=1:nn=!1,{dropPosition:ht,dropLevelOffset:$t,dropTargetKey:Ot.key,dropTargetPos:Ot.pos,dragOverNodeKey:rn,dropContainerKey:ht===0?null:((Rt=Ot.parent)===null||Rt===void 0?void 0:Rt.key)||null,dropAllowed:nn}}function a(ae,ie){if(ae){var ce=ie.multiple;return ce?ae.slice():ae.length?[ae[0]]:ae}}var E=function(ie){return ie};function b(ae,ie){if(!ae)return[];var ce=ie||{},ge=ce.processProps,fe=ge===void 0?E:ge,Le=Array.isArray(ae)?ae:[ae];return Le.map(function(Ae){var Ie=Ae.children,ve=_objectWithoutProperties(Ae,et),Xe=b(Ie,ie);return React.createElement(TreeNode,_extends({key:ve.key},fe(ve)),Xe)})}function x(ae){if(!ae)return null;var ie;if(Array.isArray(ae))ie={checkedKeys:ae,halfCheckedKeys:void 0};else if((0,Pe.Z)(ae)==="object")ie={checkedKeys:ae.checked||void 0,halfCheckedKeys:ae.halfChecked||void 0};else return(0,Ye.ZP)(!1,"`checkedKeys` is not an array or an object"),null;return ie}function te(ae,ie){var ce=new Set;function ge(fe){if(!ce.has(fe)){var Le=(0,ke.Z)(ie,fe);if(Le){ce.add(fe);var Ae=Le.parent,Ie=Le.node;Ie.disabled||Ae&&ge(Ae.key)}}}return(ae||[]).forEach(function(fe){ge(fe)}),(0,ne.Z)(ce)}},90782:function(Ft,Tt,oe){"use strict";oe.d(Tt,{S:function(){return be}});var ne=oe(48736),Pe=oe(67841);function Ye(et,Qe){var $e=new Set;return et.forEach(function(ot){Qe.has(ot)||$e.add(ot)}),$e}function Oe(et){var Qe=et||{},$e=Qe.disabled,ot=Qe.disableCheckbox,_e=Qe.checkable;return!!($e||ot)||_e===!1}function De(et,Qe,$e,ot){for(var _e=new Set(et),Ke=new Set,se=0;se<=$e;se+=1){var y=Qe.get(se)||new Set;y.forEach(function(x){var te=x.key,ae=x.node,ie=x.children,ce=ie===void 0?[]:ie;_e.has(te)&&!ot(ae)&&ce.filter(function(ge){return!ot(ge.node)}).forEach(function(ge){_e.add(ge.key)})})}for(var a=new Set,E=$e;E>=0;E-=1){var b=Qe.get(E)||new Set;b.forEach(function(x){var te=x.parent,ae=x.node;if(!(ot(ae)||!x.parent||a.has(x.parent.key))){if(ot(x.parent.node)){a.add(te.key);return}var ie=!0,ce=!1;(te.children||[]).filter(function(ge){return!ot(ge.node)}).forEach(function(ge){var fe=ge.key,Le=_e.has(fe);ie&&!Le&&(ie=!1),!ce&&(Le||Ke.has(fe))&&(ce=!0)}),ie&&_e.add(te.key),ce&&Ke.add(te.key),a.add(te.key)}})}return{checkedKeys:Array.from(_e),halfCheckedKeys:Array.from(Ye(Ke,_e))}}function ke(et,Qe,$e,ot,_e){for(var Ke=new Set(et),se=new Set(Qe),y=0;y<=ot;y+=1){var a=$e.get(y)||new Set;a.forEach(function(te){var ae=te.key,ie=te.node,ce=te.children,ge=ce===void 0?[]:ce;!Ke.has(ae)&&!se.has(ae)&&!_e(ie)&&ge.filter(function(fe){return!_e(fe.node)}).forEach(function(fe){Ke.delete(fe.key)})})}se=new Set;for(var E=new Set,b=ot;b>=0;b-=1){var x=$e.get(b)||new Set;x.forEach(function(te){var ae=te.parent,ie=te.node;if(!(_e(ie)||!te.parent||E.has(te.parent.key))){if(_e(te.parent.node)){E.add(ae.key);return}var ce=!0,ge=!1;(ae.children||[]).filter(function(fe){return!_e(fe.node)}).forEach(function(fe){var Le=fe.key,Ae=Ke.has(Le);ce&&!Ae&&(ce=!1),!ge&&(Ae||se.has(Le))&&(ge=!0)}),ce||Ke.delete(ae.key),ge&&se.add(ae.key),E.add(ae.key)}})}return{checkedKeys:Array.from(Ke),halfCheckedKeys:Array.from(Ye(se,Ke))}}function be(et,Qe,$e,ot){var _e=[],Ke;ot?Ke=ot:Ke=Oe;var se=new Set(et.filter(function(b){var x=!!(0,Pe.Z)($e,b);return x||_e.push(b),x})),y=new Map,a=0;Object.keys($e).forEach(function(b){var x=$e[b],te=x.level,ae=y.get(te);ae||(ae=new Set,y.set(te,ae)),ae.add(x),a=Math.max(a,te)}),(0,ne.ZP)(!_e.length,"Tree missing follow keys: ".concat(_e.slice(0,100).map(function(b){return"'".concat(b,"'")}).join(", ")));var E;return Qe===!0?E=De(se,y,a,Ke):E=ke(se,Qe.halfCheckedKeys,y,a,Ke),E}},67841:function(Ft,Tt,oe){"use strict";oe.d(Tt,{Z:function(){return ne}});function ne(Pe,Ye){return Pe[Ye]}},71430:function(Ft,Tt,oe){"use strict";oe.d(Tt,{F:function(){return te},H8:function(){return x},I8:function(){return b},km:function(){return _e},oH:function(){return a},w$:function(){return Ke},zn:function(){return y}});var ne=oe(62853),Pe=oe(80702),Ye=oe(77321),Oe=oe(74416),De=oe(11592),ke=oe(2738),be=oe(48736),et=oe(67841),Qe=["children"];function $e(ae,ie){return"".concat(ae,"-").concat(ie)}function ot(ae){return ae&&ae.type&&ae.type.isTreeNode}function _e(ae,ie){return ae!=null?ae:ie}function Ke(ae){var ie=ae||{},ce=ie.title,ge=ie._title,fe=ie.key,Le=ie.children,Ae=ce||"title";return{title:Ae,_title:ge||[Ae],key:fe||"key",children:Le||"children"}}function se(ae,ie){var ce=new Map;function ge(fe){var Le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(fe||[]).forEach(function(Ae){var Ie=Ae[ie.key],ve=Ae[ie.children];warning(Ie!=null,"Tree node must have a certain key: [".concat(Le).concat(Ie,"]"));var Xe=String(Ie);warning(!ce.has(Xe)||Ie===null||Ie===void 0,"Same 'key' exist in the Tree: ".concat(Xe)),ce.set(Xe,!0),ge(ve,"".concat(Le).concat(Xe," > "))})}ge(ae)}function y(ae){function ie(ce){var ge=(0,De.Z)(ce);return ge.map(function(fe){if(!ot(fe))return(0,be.ZP)(!fe,"Tree/TreeNode can only accept TreeNode as children."),null;var Le=fe.key,Ae=fe.props,Ie=Ae.children,ve=(0,Oe.Z)(Ae,Qe),Xe=(0,Ye.Z)({key:Le},ve),Rt=ie(Ie);return Rt.length&&(Xe.children=Rt),Xe}).filter(function(fe){return fe})}return ie(ae)}function a(ae,ie,ce){var ge=Ke(ce),fe=ge._title,Le=ge.key,Ae=ge.children,Ie=new Set(ie===!0?[]:ie),ve=[];function Xe(Rt){var Yt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return Rt.map(function(qe,ct){for(var Zt=$e(Yt?Yt.pos:"0",ct),qt=_e(qe[Le],Zt),an,Pt=0;Pt1&&arguments[1]!==void 0?arguments[1]:{},ce=ie.initWrapper,ge=ie.processEntity,fe=ie.onProcessFinished,Le=ie.externalGetKey,Ae=ie.childrenPropName,Ie=ie.fieldNames,ve=arguments.length>2?arguments[2]:void 0,Xe=Le||ve,Rt={},Yt={},qe={posEntities:Rt,keyEntities:Yt};return ce&&(qe=ce(qe)||qe),E(ae,function(ct){var Zt=ct.node,qt=ct.index,an=ct.pos,Pt=ct.key,Ot=ct.parentPos,mt=ct.level,Qt=ct.nodes,Ze={node:Zt,nodes:Qt,index:qt,key:Pt,pos:an,level:mt},lt=_e(Pt,an);Rt[an]=Ze,Yt[lt]=Ze,Ze.parent=Rt[Ot],Ze.parent&&(Ze.parent.children=Ze.parent.children||[],Ze.parent.children.push(Ze)),ge&&ge(Ze,qe)},{externalGetKey:Xe,childrenPropName:Ae,fieldNames:Ie}),fe&&fe(qe),qe}function x(ae,ie){var ce=ie.expandedKeys,ge=ie.selectedKeys,fe=ie.loadedKeys,Le=ie.loadingKeys,Ae=ie.checkedKeys,Ie=ie.halfCheckedKeys,ve=ie.dragOverNodeKey,Xe=ie.dropPosition,Rt=ie.keyEntities,Yt=(0,et.Z)(Rt,ae),qe={eventKey:ae,expanded:ce.indexOf(ae)!==-1,selected:ge.indexOf(ae)!==-1,loaded:fe.indexOf(ae)!==-1,loading:Le.indexOf(ae)!==-1,checked:Ae.indexOf(ae)!==-1,halfChecked:Ie.indexOf(ae)!==-1,pos:String(Yt?Yt.pos:""),dragOver:ve===ae&&Xe===0,dragOverGapTop:ve===ae&&Xe===-1,dragOverGapBottom:ve===ae&&Xe===1};return qe}function te(ae){var ie=ae.data,ce=ae.expanded,ge=ae.selected,fe=ae.checked,Le=ae.loaded,Ae=ae.loading,Ie=ae.halfChecked,ve=ae.dragOver,Xe=ae.dragOverGapTop,Rt=ae.dragOverGapBottom,Yt=ae.pos,qe=ae.active,ct=ae.eventKey,Zt=(0,Ye.Z)((0,Ye.Z)({},ie),{},{expanded:ce,selected:ge,checked:fe,loaded:Le,loading:Ae,halfChecked:Ie,dragOver:ve,dragOverGapTop:Xe,dragOverGapBottom:Rt,pos:Yt,active:qe,key:ct});return"props"in Zt||Object.defineProperty(Zt,"props",{get:function(){return(0,be.ZP)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),ae}}),Zt}},8224:function(Ft,Tt,oe){"use strict";oe.d(Tt,{Z:function(){return Pe}});var ne=oe(4676);function Pe(Ye,Oe,De,ke){var be=ne.unstable_batchedUpdates?function(Qe){ne.unstable_batchedUpdates(De,Qe)}:De;return Ye!=null&&Ye.addEventListener&&Ye.addEventListener(Oe,be,ke),{remove:function(){Ye!=null&&Ye.removeEventListener&&Ye.removeEventListener(Oe,be,ke)}}}},55468:function(Ft,Tt,oe){"use strict";oe.d(Tt,{g1:function(){return ot},os:function(){return Ke}});var ne=/margin|padding|width|height|max|min|offset/,Pe={left:!0,top:!0},Ye={cssFloat:1,styleFloat:1,float:1};function Oe(se){return se.nodeType===1?se.ownerDocument.defaultView.getComputedStyle(se,null):{}}function De(se,y,a){if(y=y.toLowerCase(),a==="auto"){if(y==="height")return se.offsetHeight;if(y==="width")return se.offsetWidth}return y in Pe||(Pe[y]=ne.test(y)),Pe[y]?parseFloat(a)||0:a}function ke(se,y){var a=arguments.length,E=Oe(se);return y=Ye[y]?"cssFloat"in se.style?"cssFloat":"styleFloat":y,a===1?E:De(se,y,E[y]||se.style[y])}function be(se,y,a){var E=arguments.length;if(y=Ye[y]?"cssFloat"in se.style?"cssFloat":"styleFloat":y,E===3)return typeof a=="number"&&ne.test(y)&&(a="".concat(a,"px")),se.style[y]=a,a;for(var b in y)y.hasOwnProperty(b)&&be(se,b,y[b]);return Oe(se)}function et(se){return se===document.body?document.documentElement.clientWidth:se.offsetWidth}function Qe(se){return se===document.body?window.innerHeight||document.documentElement.clientHeight:se.offsetHeight}function $e(){var se=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth),y=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight);return{width:se,height:y}}function ot(){var se=document.documentElement.clientWidth,y=window.innerHeight||document.documentElement.clientHeight;return{width:se,height:y}}function _e(){return{scrollLeft:Math.max(document.documentElement.scrollLeft,document.body.scrollLeft),scrollTop:Math.max(document.documentElement.scrollTop,document.body.scrollTop)}}function Ke(se){var y=se.getBoundingClientRect(),a=document.documentElement;return{left:y.left+(window.pageXOffset||a.scrollLeft)-(a.clientLeft||document.body.clientLeft||0),top:y.top+(window.pageYOffset||a.scrollTop)-(a.clientTop||document.body.clientTop||0)}}},12921:function(Ft,Tt,oe){"use strict";oe.d(Tt,{Z5:function(){return Jd},_l:function(){return Gu},bK:function(){return pl}});var ne=oe(59301),Pe=oe(60039);function Ye(z,ee){z.prototype=Object.create(ee.prototype),z.prototype.constructor=z,(0,Pe.Z)(z,ee)}var Oe=oe(72308),De=oe(59781),ke=ne.createContext(null),be=null;function et(z){z()}var Qe=et,$e=function(ee){return Qe=ee},ot=function(){return Qe};function _e(){var z=ot(),ee=null,re=null;return{clear:function(){ee=null,re=null},notify:function(){z(function(){for(var de=ee;de;)de.callback(),de=de.next})},get:function(){for(var de=[],ue=ee;ue;)de.push(ue),ue=ue.next;return de},subscribe:function(de){var ue=!0,pe=re={callback:de,next:null,prev:re};return pe.prev?pe.prev.next=pe:ee=pe,function(){!ue||ee===null||(ue=!1,pe.next?pe.next.prev=pe.prev:re=pe.prev,pe.prev?pe.prev.next=pe.next:ee=pe.next)}}}}var Ke={notify:function(){},get:function(){return[]}};function se(z,ee){var re,le=Ke;function de(Ge){return Te(),le.subscribe(Ge)}function ue(){le.notify()}function pe(){He.onStateChange&&He.onStateChange()}function Se(){return!!re}function Te(){re||(re=ee?ee.addNestedSub(pe):z.subscribe(pe),le=_e())}function Je(){re&&(re(),re=void 0,le.clear(),le=Ke)}var He={addNestedSub:de,notifyNestedSubs:ue,handleChangeWrapper:pe,isSubscribed:Se,trySubscribe:Te,tryUnsubscribe:Je,getListeners:function(){return le}};return He}var y=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined"?ne.useLayoutEffect:ne.useEffect;function a(z){var ee=z.store,re=z.context,le=z.children,de=(0,ne.useMemo)(function(){var Se=se(ee);return{store:ee,subscription:Se}},[ee]),ue=(0,ne.useMemo)(function(){return ee.getState()},[ee]);y(function(){var Se=de.subscription;return Se.onStateChange=Se.notifyNestedSubs,Se.trySubscribe(),ue!==ee.getState()&&Se.notifyNestedSubs(),function(){Se.tryUnsubscribe(),Se.onStateChange=null}},[de,ue]);var pe=re||ke;return ne.createElement(pe.Provider,{value:de},le)}var E=a,b=oe(87488),x=oe(94266),te=oe.n(x),ae=oe(53410),ie=["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef","forwardRef","context"],ce=["reactReduxForwardedRef"],ge=[],fe=[null,null],Le=function(ee){try{return JSON.stringify(ee)}catch(re){return String(ee)}};function Ae(z,ee){var re=z[1];return[ee.payload,re+1]}function Ie(z,ee,re){y(function(){return z.apply(void 0,ee)},re)}function ve(z,ee,re,le,de,ue,pe){z.current=le,ee.current=de,re.current=!1,ue.current&&(ue.current=null,pe())}function Xe(z,ee,re,le,de,ue,pe,Se,Te,Je){if(z){var He=!1,Ge=null,We=function(){if(!He){var hn=ee.getState(),En,An;try{En=le(hn,de.current)}catch(Zn){An=Zn,Ge=Zn}An||(Ge=null),En===ue.current?pe.current||Te():(ue.current=En,Se.current=En,pe.current=!0,Je({type:"STORE_UPDATED",payload:{error:An}}))}};re.onStateChange=We,re.trySubscribe(),We();var nt=function(){if(He=!0,re.tryUnsubscribe(),re.onStateChange=null,Ge)throw Ge};return nt}}var Rt=function(){return[null,0]};function Yt(z,ee){ee===void 0&&(ee={});var re=ee,le=re.getDisplayName,de=le===void 0?function(Ba){return"ConnectAdvanced("+Ba+")"}:le,ue=re.methodName,pe=ue===void 0?"connectAdvanced":ue,Se=re.renderCountProp,Te=Se===void 0?void 0:Se,Je=re.shouldHandleStateChanges,He=Je===void 0?!0:Je,Ge=re.storeKey,We=Ge===void 0?"store":Ge,nt=re.withRef,Nt=nt===void 0?!1:nt,hn=re.forwardRef,En=hn===void 0?!1:hn,An=re.context,Zn=An===void 0?ke:An,Xn=(0,b.Z)(re,ie);if(0)var qn;var Ta=Zn;return function(Ha){var tr=Ha.displayName||Ha.name||"Component",ja=de(tr),nr=(0,Oe.Z)({},Xn,{getDisplayName:de,methodName:pe,renderCountProp:Te,shouldHandleStateChanges:He,storeKey:We,displayName:ja,wrappedComponentName:tr,WrappedComponent:Ha}),ar=Xn.pure;function ir(lr){return z(lr.dispatch,nr)}var Sr=ar?ne.useMemo:function(lr){return lr()};function pr(lr){var Fr=(0,ne.useMemo)(function(){var lo=lr.reactReduxForwardedRef,pi=(0,b.Z)(lr,ce);return[lr.context,lo,pi]},[lr]),yr=Fr[0],oo=Fr[1],Tr=Fr[2],Dr=(0,ne.useMemo)(function(){return yr&&yr.Consumer&&(0,ae.isContextConsumer)(ne.createElement(yr.Consumer,null))?yr:Ta},[yr,Ta]),br=(0,ne.useContext)(Dr),Mr=!!lr.store&&!!lr.store.getState&&!!lr.store.dispatch,Eo=!!br&&!!br.store,Er=Mr?lr.store:br.store,io=(0,ne.useMemo)(function(){return ir(Er)},[Er]),Co=(0,ne.useMemo)(function(){if(!He)return fe;var lo=se(Er,Mr?null:br.subscription),pi=lo.notifyNestedSubs.bind(lo);return[lo,pi]},[Er,Mr,br]),Hr=Co[0],Ao=Co[1],wo=(0,ne.useMemo)(function(){return Mr?br:(0,Oe.Z)({},br,{subscription:Hr})},[Mr,br,Hr]),vl=(0,ne.useReducer)(Ae,ge,Rt),Ku=vl[0],xo=Ku[0],Uu=vl[1];if(xo&&xo.error)throw xo.error;var hl=(0,ne.useRef)(),ci=(0,ne.useRef)(Tr),Lo=(0,ne.useRef)(),Sl=(0,ne.useRef)(!1),mi=Sr(function(){return Lo.current&&Tr===ci.current?Lo.current:io(Er.getState(),Tr)},[Er,xo,Tr]);Ie(ve,[ci,hl,Sl,Tr,mi,Lo,Ao]),Ie(Xe,[He,Er,Hr,io,ci,hl,Sl,Lo,Ao,Uu],[Er,Hr,io]);var fi=(0,ne.useMemo)(function(){return ne.createElement(Ha,(0,Oe.Z)({},mi,{ref:oo}))},[oo,Ha,mi]),Vu=(0,ne.useMemo)(function(){return He?ne.createElement(Dr.Provider,{value:wo},fi):fi},[Dr,fi,wo]);return Vu}var cr=ar?ne.memo(pr):pr;if(cr.WrappedComponent=Ha,cr.displayName=pr.displayName=ja,En){var Pr=ne.forwardRef(function(Fr,yr){return ne.createElement(cr,(0,Oe.Z)({},Fr,{reactReduxForwardedRef:yr}))});return Pr.displayName=ja,Pr.WrappedComponent=Ha,te()(Pr,Ha)}return te()(cr,Ha)}}function qe(z,ee){return z===ee?z!==0||ee!==0||1/z===1/ee:z!==z&&ee!==ee}function ct(z,ee){if(qe(z,ee))return!0;if(typeof z!="object"||z===null||typeof ee!="object"||ee===null)return!1;var re=Object.keys(z),le=Object.keys(ee);if(re.length!==le.length)return!1;for(var de=0;de=0;le--){var de=ee[le](z);if(de)return de}return function(ue,pe){throw new Error("Invalid value of type "+typeof z+" for "+re+" argument when connecting component "+pe.wrappedComponentName+".")}}function Re(z,ee){return z===ee}function yt(z){var ee=z===void 0?{}:z,re=ee.connectHOC,le=re===void 0?Yt:re,de=ee.mapStateToPropsFactories,ue=de===void 0?rn:de,pe=ee.mapDispatchToPropsFactories,Se=pe===void 0?Ze:pe,Te=ee.mergePropsFactories,Je=Te===void 0?wt:Te,He=ee.selectorFactory,Ge=He===void 0?je:He;return function(nt,Nt,hn,En){En===void 0&&(En={});var An=En,Zn=An.pure,Xn=Zn===void 0?!0:Zn,qn=An.areStatesEqual,Ta=qn===void 0?Re:qn,Ba=An.areOwnPropsEqual,Ha=Ba===void 0?ct:Ba,tr=An.areStatePropsEqual,ja=tr===void 0?ct:tr,nr=An.areMergedPropsEqual,ar=nr===void 0?ct:nr,ir=(0,b.Z)(An,we),Sr=me(nt,ue,"mapStateToProps"),pr=me(Nt,Se,"mapDispatchToProps"),cr=me(hn,Je,"mergeProps");return le(Ge,(0,Oe.Z)({methodName:"connect",getDisplayName:function(lr){return"Connect("+lr+")"},shouldHandleStateChanges:!!nt,initMapStateToProps:Sr,initMapDispatchToProps:pr,initMergeProps:cr,pure:Xn,areStatesEqual:Ta,areOwnPropsEqual:Ha,areStatePropsEqual:ja,areMergedPropsEqual:ar},ir))}}var ye=yt();function he(){var z=useContext(ReactReduxContext);return z}function Be(z){z===void 0&&(z=ReactReduxContext);var ee=z===ReactReduxContext?useDefaultReduxContext:function(){return useContext(z)};return function(){var le=ee(),de=le.store;return de}}var Ne=null;function Ee(z){z===void 0&&(z=ReactReduxContext);var ee=z===ReactReduxContext?useDefaultStore:createStoreHook(z);return function(){var le=ee();return le.dispatch}}var Me=null,bt=function(ee,re){return ee===re};function Ct(z,ee,re,le){var de=useReducer(function(Nt){return Nt+1},0),ue=de[1],pe=useMemo(function(){return createSubscription(re,le)},[re,le]),Se=useRef(),Te=useRef(),Je=useRef(),He=useRef(),Ge=re.getState(),We;try{if(z!==Te.current||Ge!==Je.current||Se.current){var nt=z(Ge);He.current===void 0||!ee(nt,He.current)?We=nt:We=He.current}else We=He.current}catch(Nt){throw Se.current&&(Nt.message+=` +The error may be correlated with this previous error: +`+Se.current.stack+` + +`),Nt}return useIsomorphicLayoutEffect(function(){Te.current=z,Je.current=Ge,He.current=We,Se.current=void 0}),useIsomorphicLayoutEffect(function(){function Nt(){try{var hn=re.getState();if(hn===Je.current)return;var En=Te.current(hn);if(ee(En,He.current))return;He.current=En,Je.current=hn}catch(An){Se.current=An}ue()}return pe.onStateChange=Nt,pe.trySubscribe(),Nt(),function(){return pe.tryUnsubscribe()}},[re,pe]),We}function kt(z){z===void 0&&(z=ReactReduxContext);var ee=z===ReactReduxContext?useDefaultReduxContext:function(){return useContext(z)};return function(le,de){de===void 0&&(de=bt);var ue=ee(),pe=ue.store,Se=ue.subscription,Te=Ct(le,de,pe,Se);return useDebugValue(Te),Te}}var It=null,Dt=oe(4676);$e(Dt.unstable_batchedUpdates);function xe(z,ee){if(z.length!==ee.length)return!1;for(var re=0;re");return le.callbacks},le.setCallbacks=function(Se){le.callbacks=Se},le}var re=ee.prototype;return re.componentDidMount=function(){this.unbind=Wt(window,[{eventName:"error",fn:this.onWindowError}])},re.componentWillUnmount=function(){this.unbind()},re.componentDidCatch=function(de){if(de instanceof vn){this.setState({});return}throw de},re.render=function(){return this.props.children(this.setCallbacks)},ee}(ne.Component),vt=` + Press space bar to start a drag. + When dragging you can use the arrow keys to move the item around and escape to cancel. + Some screen readers may require you to be in focus mode or to use your pass through key +`,At=function(ee){return ee+1},Vt=function(ee){return` + You have lifted an item in position `+At(ee.source.index)+` +`},Mt=function(ee,re){var le=ee.droppableId===re.droppableId,de=At(ee.index),ue=At(re.index);return le?` + You have moved the item from position `+de+` + to position `+ue+` + `:` + You have moved the item from position `+de+` + in list `+ee.droppableId+` + to list `+re.droppableId+` + in position `+ue+` + `},jt=function(ee,re,le){var de=re.droppableId===le.droppableId;return de?` + The item `+ee+` + has been combined with `+le.draggableId:` + The item `+ee+` + in list `+re.droppableId+` + has been combined with `+le.draggableId+` + in list `+le.droppableId+` + `},Bt=function(ee){var re=ee.destination;if(re)return Mt(ee.source,re);var le=ee.combine;return le?jt(ee.draggableId,ee.source,le):"You are over an area that cannot be dropped on"},Pn=function(ee){return` + The item has returned to its starting position + of `+At(ee.index)+` +`},Rn=function(ee){if(ee.reason==="CANCEL")return` + Movement cancelled. + `+Pn(ee.source)+` + `;var re=ee.destination,le=ee.combine;return re?` + You have dropped the item. + `+Mt(ee.source,re)+` + `:le?` + You have dropped the item. + `+jt(ee.draggableId,ee.source,le)+` + `:` + The item has been dropped while not over a drop area. + `+Pn(ee.source)+` + `},pt={dragHandleUsageInstructions:vt,onDragStart:Vt,onDragUpdate:Bt,onDragEnd:Rn},Nn={x:0,y:0},On=function(ee,re){return{x:ee.x+re.x,y:ee.y+re.y}},ut=function(ee,re){return{x:ee.x-re.x,y:ee.y-re.y}},Lt=function(ee,re){return ee.x===re.x&&ee.y===re.y},Ve=function(ee){return{x:ee.x!==0?-ee.x:0,y:ee.y!==0?-ee.y:0}},zt=function(ee,re,le){var de;return le===void 0&&(le=0),de={},de[ee]=re,de[ee==="x"?"y":"x"]=le,de},ln=function(ee,re){return Math.sqrt(Math.pow(re.x-ee.x,2)+Math.pow(re.y-ee.y,2))},_t=function(ee,re){return Math.min.apply(Math,re.map(function(le){return ln(ee,le)}))},Sn=function(ee){return function(re){return{x:ee(re.x),y:ee(re.y)}}},sn=function(z,ee){var re=mn({top:Math.max(ee.top,z.top),right:Math.min(ee.right,z.right),bottom:Math.min(ee.bottom,z.bottom),left:Math.max(ee.left,z.left)});return re.width<=0||re.height<=0?null:re},Kt=function(ee,re){return{top:ee.top+re.y,left:ee.left+re.x,bottom:ee.bottom+re.y,right:ee.right+re.x}},tn=function(ee){return[{x:ee.left,y:ee.top},{x:ee.right,y:ee.top},{x:ee.left,y:ee.bottom},{x:ee.right,y:ee.bottom}]},zn={top:0,right:0,bottom:0,left:0},Bn=function(ee,re){return re?Kt(ee,re.scroll.diff.displacement):ee},La=function(ee,re,le){if(le&&le.increasedBy){var de;return(0,Oe.Z)({},ee,(de={},de[re.end]=ee[re.end]+le.increasedBy[re.line],de))}return ee},Un=function(ee,re){return re&&re.shouldClipSubject?sn(re.pageMarginBox,ee):mn(ee)},Fa=function(z){var ee=z.page,re=z.withPlaceholder,le=z.axis,de=z.frame,ue=Bn(ee.marginBox,de),pe=La(ue,le,re),Se=Un(pe,de);return{page:ee,withPlaceholder:re,active:Se}},pn=function(z,ee){z.frame||Ce(!1);var re=z.frame,le=ut(ee,re.scroll.initial),de=Ve(le),ue=(0,Oe.Z)({},re,{scroll:{initial:re.scroll.initial,current:ee,diff:{value:le,displacement:de},max:re.scroll.max}}),pe=Fa({page:z.subject.page,withPlaceholder:z.subject.withPlaceholder,axis:z.axis,frame:ue}),Se=(0,Oe.Z)({},z,{frame:ue,subject:pe});return Se};function wa(z){return Number.isInteger?Number.isInteger(z):typeof z=="number"&&isFinite(z)&&Math.floor(z)===z}function Ea(z){return Object.values?Object.values(z):Object.keys(z).map(function(ee){return z[ee]})}function Ca(z,ee){if(z.findIndex)return z.findIndex(ee);for(var re=0;rez.bottom,Je=le.leftz.right,He=Te&&Je;if(He)return!0;var Ge=Te&&pe||Je&&ue;return Ge}},ya=function(z){var ee=ua(z.top,z.bottom),re=ua(z.left,z.right);return function(le){var de=ee(le.top)&&ee(le.bottom)&&re(le.left)&&re(le.right);return de}},$a={direction:"vertical",line:"y",crossAxisLine:"x",start:"top",end:"bottom",size:"height",crossAxisStart:"left",crossAxisEnd:"right",crossAxisSize:"width"},Ya={direction:"horizontal",line:"x",crossAxisLine:"y",start:"left",end:"right",size:"width",crossAxisStart:"top",crossAxisEnd:"bottom",crossAxisSize:"height"},va=function(z){return function(ee){var re=ua(ee.top,ee.bottom),le=ua(ee.left,ee.right);return function(de){return z===$a?re(de.top)&&re(de.bottom):le(de.left)&&le(de.right)}}},bn=function(ee,re){var le=re.frame?re.frame.scroll.diff.displacement:Nn;return Kt(ee,le)},cn=function(ee,re,le){return re.subject.active?le(re.subject.active)(ee):!1},Cn=function(ee,re,le){return le(re)(ee)},xn=function(ee){var re=ee.target,le=ee.destination,de=ee.viewport,ue=ee.withDroppableDisplacement,pe=ee.isVisibleThroughFrameFn,Se=ue?bn(re,le):re;return cn(Se,le,pe)&&Cn(Se,de,pe)},ma=function(ee){return xn((0,Oe.Z)({},ee,{isVisibleThroughFrameFn:Pa}))},xt=function(ee){return xn((0,Oe.Z)({},ee,{isVisibleThroughFrameFn:ya}))},Jn=function(ee){return xn((0,Oe.Z)({},ee,{isVisibleThroughFrameFn:va(ee.destination.axis)}))},Qn=function(ee,re,le){if(typeof le=="boolean")return le;if(!re)return!0;var de=re.invisible,ue=re.visible;if(de[ee])return!1;var pe=ue[ee];return pe?pe.shouldAnimate:!0};function fa(z,ee){var re=z.page.marginBox,le={top:ee.point.y,right:0,bottom:0,left:ee.point.x};return mn(In(re,le))}function aa(z){var ee=z.afterDragging,re=z.destination,le=z.displacedBy,de=z.viewport,ue=z.forceShouldAnimate,pe=z.last;return ee.reduce(function(Te,Je){var He=fa(Je,le),Ge=Je.descriptor.id;Te.all.push(Ge);var We=ma({target:He,destination:re,viewport:de,withDroppableDisplacement:!0});if(!We)return Te.invisible[Je.descriptor.id]=!0,Te;var nt=Qn(Ge,pe,ue),Nt={draggableId:Ge,shouldAnimate:nt};return Te.visible[Ge]=Nt,Te},{all:[],visible:{},invisible:{}})}function Ma(z,ee){if(!z.length)return 0;var re=z[z.length-1].descriptor.index;return ee.inHomeList?re:re+1}function ha(z){var ee=z.insideDestination,re=z.inHomeList,le=z.displacedBy,de=z.destination,ue=Ma(ee,{inHomeList:re});return{displaced:Za,displacedBy:le,at:{type:"REORDER",destination:{droppableId:de.descriptor.id,index:ue}}}}function jn(z){var ee=z.draggable,re=z.insideDestination,le=z.destination,de=z.viewport,ue=z.displacedBy,pe=z.last,Se=z.index,Te=z.forceShouldAnimate,Je=Ga(ee,le);if(Se==null)return ha({insideDestination:re,inHomeList:Je,displacedBy:ue,destination:le});var He=Xt(re,function(hn){return hn.descriptor.index===Se});if(!He)return ha({insideDestination:re,inHomeList:Je,displacedBy:ue,destination:le});var Ge=Da(ee,re),We=re.indexOf(He),nt=Ge.slice(We),Nt=aa({afterDragging:nt,destination:le,displacedBy:ue,last:pe,viewport:de.frame,forceShouldAnimate:Te});return{displaced:Nt,displacedBy:ue,at:{type:"REORDER",destination:{droppableId:le.descriptor.id,index:Se}}}}function Et(z,ee){return!!ee.effected[z]}var Ra=function(z){var ee=z.isMovingForward,re=z.destination,le=z.draggables,de=z.combine,ue=z.afterCritical;if(!re.isCombineEnabled)return null;var pe=de.draggableId,Se=le[pe],Te=Se.descriptor.index,Je=Et(pe,ue);return Je?ee?Te:Te-1:ee?Te+1:Te},$n=function(z){var ee=z.isMovingForward,re=z.isInHomeList,le=z.insideDestination,de=z.location;if(!le.length)return null;var ue=de.index,pe=ee?ue+1:ue-1,Se=le[0].descriptor.index,Te=le[le.length-1].descriptor.index,Je=re?Te:Te+1;return peJe?null:pe},Gn=function(z){var ee=z.isMovingForward,re=z.isInHomeList,le=z.draggable,de=z.draggables,ue=z.destination,pe=z.insideDestination,Se=z.previousImpact,Te=z.viewport,Je=z.afterCritical,He=Se.at;if(He||Ce(!1),He.type==="REORDER"){var Ge=$n({isMovingForward:ee,isInHomeList:re,location:He.destination,insideDestination:pe});return Ge==null?null:jn({draggable:le,insideDestination:pe,destination:ue,viewport:Te,last:Se.displaced,displacedBy:Se.displacedBy,index:Ge})}var We=Ra({isMovingForward:ee,destination:ue,displaced:Se.displaced,draggables:de,combine:He.combine,afterCritical:Je});return We==null?null:jn({draggable:le,insideDestination:pe,destination:ue,viewport:Te,last:Se.displaced,displacedBy:Se.displacedBy,index:We})},Wn=function(z){var ee=z.displaced,re=z.afterCritical,le=z.combineWith,de=z.displacedBy,ue=!!(ee.visible[le]||ee.invisible[le]);return Et(le,re)?ue?Nn:Ve(de.point):ue?de.point:Nn},Vn=function(z){var ee=z.afterCritical,re=z.impact,le=z.draggables,de=kn(re);de||Ce(!1);var ue=de.draggableId,pe=le[ue].page.borderBox.center,Se=Wn({displaced:re.displaced,afterCritical:ee,combineWith:ue,displacedBy:re.displacedBy});return On(pe,Se)},Ja=function(ee,re){return re.margin[ee.start]+re.borderBox[ee.size]/2},Xa=function(ee,re){return re.margin[ee.end]+re.borderBox[ee.size]/2},qa=function(ee,re,le){return re[ee.crossAxisStart]+le.margin[ee.crossAxisStart]+le.borderBox[ee.crossAxisSize]/2},sr=function(ee){var re=ee.axis,le=ee.moveRelativeTo,de=ee.isMoving;return zt(re.line,le.marginBox[re.end]+Ja(re,de),qa(re,le.marginBox,de))},dr=function(ee){var re=ee.axis,le=ee.moveRelativeTo,de=ee.isMoving;return zt(re.line,le.marginBox[re.start]-Xa(re,de),qa(re,le.marginBox,de))},rr=function(ee){var re=ee.axis,le=ee.moveInto,de=ee.isMoving;return zt(re.line,le.contentBox[re.start]+Ja(re,de),qa(re,le.contentBox,de))},Cr=function(z){var ee=z.impact,re=z.draggable,le=z.draggables,de=z.droppable,ue=z.afterCritical,pe=ka(de.descriptor.id,le),Se=re.page,Te=de.axis;if(!pe.length)return rr({axis:Te,moveInto:de.page,isMoving:Se});var Je=ee.displaced,He=ee.displacedBy,Ge=Je.all[0];if(Ge){var We=le[Ge];if(Et(Ge,ue))return dr({axis:Te,moveRelativeTo:We.page,isMoving:Se});var nt=wn(We.page,He.point);return dr({axis:Te,moveRelativeTo:nt,isMoving:Se})}var Nt=pe[pe.length-1];if(Nt.descriptor.id===re.descriptor.id)return Se.borderBox.center;if(Et(Nt.descriptor.id,ue)){var hn=wn(Nt.page,Ve(ue.displacedBy.point));return sr({axis:Te,moveRelativeTo:hn,isMoving:Se})}return sr({axis:Te,moveRelativeTo:Nt.page,isMoving:Se})},mr=function(z,ee){var re=z.frame;return re?On(ee,re.scroll.diff.displacement):ee},Ar=function(ee){var re=ee.impact,le=ee.draggable,de=ee.droppable,ue=ee.draggables,pe=ee.afterCritical,Se=le.page.borderBox.center,Te=re.at;return!de||!Te?Se:Te.type==="REORDER"?Cr({impact:re,draggable:le,draggables:ue,droppable:de,afterCritical:pe}):Vn({impact:re,draggables:ue,afterCritical:pe})},Rr=function(z){var ee=Ar(z),re=z.droppable,le=re?mr(re,ee):ee;return le},er=function(z,ee){var re=ut(ee,z.scroll.initial),le=Ve(re),de=mn({top:ee.y,bottom:ee.y+z.frame.height,left:ee.x,right:ee.x+z.frame.width}),ue={frame:de,scroll:{initial:z.scroll.initial,max:z.scroll.max,current:ee,diff:{value:re,displacement:le}}};return ue};function Ir(z,ee){return z.map(function(re){return ee[re]})}function Bo(z,ee){for(var re=0;re1?He.sort(function(Ge,We){return or(Ge)[Se.start]-or(We)[Se.start]})[0]:Je.sort(function(Ge,We){var nt=_t(re,tn(or(Ge))),Nt=_t(re,tn(or(We)));return nt!==Nt?nt-Nt:or(Ge)[Se.start]-or(We)[Se.start]})[0]},zr=function(ee,re){var le=ee.page.borderBox.center;return Et(ee.descriptor.id,re)?ut(le,re.displacedBy.point):le},so=function(ee,re){var le=ee.page.borderBox;return Et(ee.descriptor.id,re)?Kt(le,Ve(re.displacedBy.point)):le},Ur=function(z){var ee=z.pageBorderBoxCenter,re=z.viewport,le=z.destination,de=z.insideDestination,ue=z.afterCritical,pe=de.filter(function(Se){return xt({target:so(Se,ue),destination:le,viewport:re.frame,withDroppableDisplacement:!0})}).sort(function(Se,Te){var Je=ln(ee,mr(le,zr(Se,ue))),He=ln(ee,mr(le,zr(Te,ue)));return Jeee.left&&z.topee.top}function fr(z){var ee=z.pageBorderBox,re=z.draggable,le=z.candidates,de=re.page.borderBox.center,ue=le.map(function(pe){var Se=pe.axis,Te=zt(pe.axis.line,ee.center[Se.line],pe.page.borderBox.center[Se.crossAxisLine]);return{id:pe.descriptor.id,distance:ln(de,Te)}}).sort(function(pe,Se){return Se.distance-pe.distance});return ue[0]?ue[0].id:null}function Gr(z){var ee=z.pageBorderBox,re=z.draggable,le=z.droppables,de=la(le).filter(function(ue){if(!ue.isEnabled)return!1;var pe=ue.subject.active;if(!pe||!Ka(ee,pe))return!1;if(da(pe)(ee.center))return!0;var Se=ue.axis,Te=pe.center[Se.crossAxisLine],Je=ee[Se.crossAxisStart],He=ee[Se.crossAxisEnd],Ge=ua(pe[Se.crossAxisStart],pe[Se.crossAxisEnd]),We=Ge(Je),nt=Ge(He);return!We&&!nt?!0:We?JeTe});return de.length?de.length===1?de[0].descriptor.id:fr({pageBorderBox:ee,draggable:re,candidates:de}):null}var xr=function(ee,re){return mn(Kt(ee,re))},mo=function(z,ee){var re=z.frame;return re?xr(ee,re.scroll.diff.value):ee};function Vr(z){var ee=z.displaced,re=z.id;return!!(ee.visible[re]||ee.invisible[re])}function fo(z){var ee=z.draggable,re=z.closest,le=z.inHomeList;return re?le&&re.descriptor.index>ee.descriptor.index?re.descriptor.index-1:re.descriptor.index:null}var Qa=function(z){var ee=z.pageBorderBoxWithDroppableScroll,re=z.draggable,le=z.destination,de=z.insideDestination,ue=z.last,pe=z.viewport,Se=z.afterCritical,Te=le.axis,Je=Or(le.axis,re.displaceBy),He=Je.value,Ge=ee[Te.start],We=ee[Te.end],nt=Da(re,de),Nt=Xt(nt,function(En){var An=En.descriptor.id,Zn=En.page.borderBox.center[Te.line],Xn=Et(An,Se),qn=Vr({displaced:ue,id:An});return Xn?qn?We<=Zn:GeAn[Se.start]+Xn&&GeAn[Se.start]-Je+Xn&&HeAn[Se.start]+Je+Xn&&GeAn[Se.start]+Xn&&He=Li)return xi;var ue=de/Li,pe=Uo+Vl*ue,Se=le==="CANCEL"?pe*Xl:pe;return Number(Se.toFixed(2))},Jl=function(z){var ee=z.impact,re=z.draggable,le=z.dimensions,de=z.viewport,ue=z.afterCritical,pe=le.draggables,Se=le.droppables,Te=ur(ee),Je=Te?Se[Te]:null,He=Se[re.descriptor.droppableId],Ge=Si({impact:ee,draggable:re,draggables:pe,afterCritical:ue,droppable:Je||He,viewport:de}),We=ut(Ge,re.client.borderBox.center);return We},Ql=function(z){var ee=z.draggables,re=z.reason,le=z.lastImpact,de=z.home,ue=z.viewport,pe=z.onLiftImpact;if(!le.at||re!=="DROP"){var Se=hi({draggables:ee,impact:pe,destination:de,viewport:ue,forceShouldAnimate:!0});return{impact:Se,didDropInsideDroppable:!1}}if(le.at.type==="REORDER")return{impact:le,didDropInsideDroppable:!0};var Te=(0,Oe.Z)({},le,{displaced:Za});return{impact:Te,didDropInsideDroppable:!0}},$l=function(z){var ee=z.getState,re=z.dispatch;return function(le){return function(de){if(de.type!=="DROP"){le(de);return}var ue=ee(),pe=de.payload.reason;if(ue.phase==="COLLECTING"){re(Hl({reason:pe}));return}if(ue.phase!=="IDLE"){var Se=ue.phase==="DROP_PENDING"&&ue.isWaiting;Se&&Ce(!1),ue.phase==="DRAGGING"||ue.phase==="DROP_PENDING"||Ce(!1);var Te=ue.critical,Je=ue.dimensions,He=Je.draggables[ue.critical.draggable.id],Ge=Ql({reason:pe,lastImpact:ue.impact,afterCritical:ue.afterCritical,onLiftImpact:ue.onLiftImpact,home:ue.dimensions.droppables[ue.critical.droppable.id],viewport:ue.viewport,draggables:ue.dimensions.draggables}),We=Ge.impact,nt=Ge.didDropInsideDroppable,Nt=nt?Hn(We):null,hn=nt?kn(We):null,En={index:Te.draggable.index,droppableId:Te.droppable.id},An={draggableId:He.descriptor.id,type:He.descriptor.type,source:En,reason:pe,mode:ue.movementMode,destination:Nt,combine:hn},Zn=Jl({impact:We,draggable:He,dimensions:Je,viewport:ue.viewport,afterCritical:ue.afterCritical}),Xn={critical:ue.critical,afterCritical:ue.afterCritical,result:An,impact:We},qn=!Lt(ue.current.client.offset,Zn)||!!An.combine;if(!qn){re(Zo({completed:Xn}));return}var Ta=Yl({current:ue.current.client.offset,destination:Zn,reason:pe}),Ba={newHomeClientOffset:Zn,dropDuration:Ta,completed:Xn};re(Zl(Ba))}}}},Bi=function(){return{x:window.pageXOffset,y:window.pageYOffset}};function ql(z){return{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(re){re.target!==window&&re.target!==window.document||z()}}}function _l(z){var ee=z.onWindowScroll;function re(){ee(Bi())}var le=Wa(re),de=ql(le),ue=Gt;function pe(){return ue!==Gt}function Se(){pe()&&Ce(!1),ue=Wt(window,[de])}function Te(){pe()||Ce(!1),le.cancel(),ue(),ue=Gt}return{start:Se,stop:Te,isActive:pe}}var es=function(ee){return ee.type==="DROP_COMPLETE"||ee.type==="DROP_ANIMATE"||ee.type==="FLUSH"},ts=function(z){var ee=_l({onWindowScroll:function(le){z.dispatch(Ml({newScroll:le}))}});return function(re){return function(le){!ee.isActive()&&le.type==="INITIAL_PUBLISH"&&ee.start(),ee.isActive()&&es(le)&&ee.stop(),re(le)}}},ns=function(z){var ee=!1,re=!1,le=setTimeout(function(){re=!0}),de=function(pe){ee||re||(ee=!0,z(pe),clearTimeout(le))};return de.wasCalled=function(){return ee},de},as=function(){var z=[],ee=function(ue){var pe=Ca(z,function(Je){return Je.timerId===ue});pe===-1&&Ce(!1);var Se=z.splice(pe,1),Te=Se[0];Te.callback()},re=function(ue){var pe=setTimeout(function(){return ee(pe)}),Se={timerId:pe,callback:ue};z.push(Se)},le=function(){if(z.length){var ue=[].concat(z);z.length=0,ue.forEach(function(pe){clearTimeout(pe.timerId),pe.callback()})}};return{add:re,flush:le}},rs=function(ee,re){return ee==null&&re==null?!0:ee==null||re==null?!1:ee.droppableId===re.droppableId&&ee.index===re.index},os=function(ee,re){return ee==null&&re==null?!0:ee==null||re==null?!1:ee.draggableId===re.draggableId&&ee.droppableId===re.droppableId},is=function(ee,re){if(ee===re)return!0;var le=ee.draggable.id===re.draggable.id&&ee.draggable.droppableId===re.draggable.droppableId&&ee.draggable.type===re.draggable.type&&ee.draggable.index===re.draggable.index,de=ee.droppable.id===re.droppable.id&&ee.droppable.type===re.droppable.type;return le&&de},_r=function(ee,re){Jr(),re(),Qr()},po=function(ee,re){return{draggableId:ee.draggable.id,type:ee.droppable.type,source:{droppableId:ee.droppable.id,index:ee.draggable.index},mode:re}},Vo=function(ee,re,le,de){if(!ee){le(de(re));return}var ue=ns(le),pe={announce:ue};ee(re,pe),ue.wasCalled()||le(de(re))},ls=function(z,ee){var re=as(),le=null,de=function(We,nt){le&&Ce(!1),_r("onBeforeCapture",function(){var Nt=z().onBeforeCapture;if(Nt){var hn={draggableId:We,mode:nt};Nt(hn)}})},ue=function(We,nt){le&&Ce(!1),_r("onBeforeDragStart",function(){var Nt=z().onBeforeDragStart;Nt&&Nt(po(We,nt))})},pe=function(We,nt){le&&Ce(!1);var Nt=po(We,nt);le={mode:nt,lastCritical:We,lastLocation:Nt.source,lastCombine:null},re.add(function(){_r("onDragStart",function(){return Vo(z().onDragStart,Nt,ee,pt.onDragStart)})})},Se=function(We,nt){var Nt=Hn(nt),hn=kn(nt);le||Ce(!1);var En=!is(We,le.lastCritical);En&&(le.lastCritical=We);var An=!rs(le.lastLocation,Nt);An&&(le.lastLocation=Nt);var Zn=!os(le.lastCombine,hn);if(Zn&&(le.lastCombine=hn),!(!En&&!An&&!Zn)){var Xn=(0,Oe.Z)({},po(We,le.mode),{combine:hn,destination:Nt});re.add(function(){_r("onDragUpdate",function(){return Vo(z().onDragUpdate,Xn,ee,pt.onDragUpdate)})})}},Te=function(){le||Ce(!1),re.flush()},Je=function(We){le||Ce(!1),le=null,_r("onDragEnd",function(){return Vo(z().onDragEnd,We,ee,pt.onDragEnd)})},He=function(){if(le){var We=(0,Oe.Z)({},po(le.lastCritical,le.mode),{combine:null,destination:null,reason:"CANCEL"});Je(We)}};return{beforeCapture:de,beforeStart:ue,start:pe,update:Se,flush:Te,drop:Je,abort:He}},ss=function(z,ee){var re=ls(z,ee);return function(le){return function(de){return function(ue){if(ue.type==="BEFORE_INITIAL_CAPTURE"){re.beforeCapture(ue.payload.draggableId,ue.payload.movementMode);return}if(ue.type==="INITIAL_PUBLISH"){var pe=ue.payload.critical;re.beforeStart(pe,ue.payload.movementMode),de(ue),re.start(pe,ue.payload.movementMode);return}if(ue.type==="DROP_COMPLETE"){var Se=ue.payload.completed.result;re.flush(),de(ue),re.drop(Se);return}if(de(ue),ue.type==="FLUSH"){re.abort();return}var Te=le.getState();Te.phase==="DRAGGING"&&re.update(Te.critical,Te.impact)}}}},ds=function(z){return function(ee){return function(re){if(re.type!=="DROP_ANIMATION_FINISHED"){ee(re);return}var le=z.getState();le.phase!=="DROP_ANIMATING"&&Ce(!1),z.dispatch(Zo({completed:le.completed}))}}},us=function(z){var ee=null,re=null;function le(){re&&(cancelAnimationFrame(re),re=null),ee&&(ee(),ee=null)}return function(de){return function(ue){if((ue.type==="FLUSH"||ue.type==="DROP_COMPLETE"||ue.type==="DROP_ANIMATION_FINISHED")&&le(),de(ue),ue.type==="DROP_ANIMATE"){var pe={eventName:"scroll",options:{capture:!0,passive:!1,once:!0},fn:function(){var Te=z.getState();Te.phase==="DROP_ANIMATING"&&z.dispatch(Ai())}};re=requestAnimationFrame(function(){re=null,ee=Wt(window,[pe])})}}}},gs=function(z){return function(){return function(ee){return function(re){(re.type==="DROP_COMPLETE"||re.type==="FLUSH"||re.type==="DROP_ANIMATE")&&z.stopPublishing(),ee(re)}}}},cs=function(z){var ee=!1;return function(){return function(re){return function(le){if(le.type==="INITIAL_PUBLISH"){ee=!0,z.tryRecordFocus(le.payload.critical.draggable.id),re(le),z.tryRestoreFocusRecorded();return}if(re(le),!!ee){if(le.type==="FLUSH"){ee=!1,z.tryRestoreFocusRecorded();return}if(le.type==="DROP_COMPLETE"){ee=!1;var de=le.payload.completed.result;de.combine&&z.tryShiftRecord(de.draggableId,de.combine.draggableId),z.tryRestoreFocusRecorded()}}}}}},ms=function(ee){return ee.type==="DROP_COMPLETE"||ee.type==="DROP_ANIMATE"||ee.type==="FLUSH"},fs=function(z){return function(ee){return function(re){return function(le){if(ms(le)){z.stop(),re(le);return}if(le.type==="INITIAL_PUBLISH"){re(le);var de=ee.getState();de.phase!=="DRAGGING"&&Ce(!1),z.start(de);return}re(le),z.scroll(ee.getState())}}}},ps=function(z){return function(ee){return function(re){if(ee(re),re.type==="PUBLISH_WHILE_DRAGGING"){var le=z.getState();le.phase==="DROP_PENDING"&&(le.isWaiting||z.dispatch(Ci({reason:le.reason})))}}}},vs=De.qC,hs=function(z){var ee=z.dimensionMarshal,re=z.focusMarshal,le=z.styleMarshal,de=z.getResponders,ue=z.announce,pe=z.autoScroller;return(0,De.MT)(xl,vs((0,De.md)(Ul(le),gs(ee),Kl(ee),$l,ds,us,ps,fs(pe),ts,cs(re),ss(de,ue))))},Xo=function(){return{additions:{},removals:{},modified:{}}};function Ss(z){var ee=z.registry,re=z.callbacks,le=Xo(),de=null,ue=function(){de||(re.collectionStarting(),de=requestAnimationFrame(function(){de=null,Jr();var He=le,Ge=He.additions,We=He.removals,nt=He.modified,Nt=Object.keys(Ge).map(function(An){return ee.draggable.getById(An).getDimension(Nn)}).sort(function(An,Zn){return An.descriptor.index-Zn.descriptor.index}),hn=Object.keys(nt).map(function(An){var Zn=ee.droppable.getById(An),Xn=Zn.callbacks.getScrollWhileDragging();return{droppableId:An,scroll:Xn}}),En={additions:Nt,removals:Object.keys(We),modified:hn};le=Xo(),Qr(),re.publish(En)}))},pe=function(He){var Ge=He.descriptor.id;le.additions[Ge]=He,le.modified[He.descriptor.droppableId]=!0,le.removals[Ge]&&delete le.removals[Ge],ue()},Se=function(He){var Ge=He.descriptor;le.removals[Ge.id]=!0,le.modified[Ge.droppableId]=!0,le.additions[Ge.id]&&delete le.additions[Ge.id],ue()},Te=function(){de&&(cancelAnimationFrame(de),de=null,le=Xo())};return{add:pe,remove:Se,stop:Te}}var Fi=function(z){var ee=z.scrollHeight,re=z.scrollWidth,le=z.height,de=z.width,ue=ut({x:re,y:ee},{x:de,y:le}),pe={x:Math.max(0,ue.x),y:Math.max(0,ue.y)};return pe},Di=function(){var z=document.documentElement;return z||Ce(!1),z},Ii=function(){var z=Di(),ee=Fi({scrollHeight:z.scrollHeight,scrollWidth:z.scrollWidth,width:z.clientWidth,height:z.clientHeight});return ee},Ps=function(){var z=Bi(),ee=Ii(),re=z.y,le=z.x,de=Di(),ue=de.clientWidth,pe=de.clientHeight,Se=le+ue,Te=re+pe,Je=mn({top:re,left:le,right:Se,bottom:Te}),He={frame:Je,scroll:{initial:z,current:z,max:ee,diff:{value:Nn,displacement:Nn}}};return He},ys=function(z){var ee=z.critical,re=z.scrollOptions,le=z.registry;Jr();var de=Ps(),ue=de.scroll.current,pe=ee.droppable,Se=le.droppable.getAllByType(pe.type).map(function(Ge){return Ge.callbacks.getDimensionAndWatchScroll(ue,re)}),Te=le.draggable.getAllByType(ee.draggable.type).map(function(Ge){return Ge.getDimension(ue)}),Je={draggables:ca(Te),droppables:ia(Se)};Qr();var He={dimensions:Je,critical:ee,viewport:de};return He};function Oi(z,ee,re){if(re.descriptor.id===ee.id||re.descriptor.type!==ee.type)return!1;var le=z.droppable.getById(re.descriptor.droppableId);return le.descriptor.mode==="virtual"}var bs=function(z,ee){var re=null,le=Ss({callbacks:{publish:ee.publishWhileDragging,collectionStarting:ee.collectionStarting},registry:z}),de=function(nt,Nt){z.droppable.exists(nt)||Ce(!1),re&&ee.updateDroppableIsEnabled({id:nt,isEnabled:Nt})},ue=function(nt,Nt){re&&(z.droppable.exists(nt)||Ce(!1),ee.updateDroppableIsCombineEnabled({id:nt,isCombineEnabled:Nt}))},pe=function(nt,Nt){re&&(z.droppable.exists(nt)||Ce(!1),ee.updateDroppableScroll({id:nt,newScroll:Nt}))},Se=function(nt,Nt){re&&z.droppable.getById(nt).callbacks.scroll(Nt)},Te=function(){if(re){le.stop();var nt=re.critical.droppable;z.droppable.getAllByType(nt.type).forEach(function(Nt){return Nt.callbacks.dragStopped()}),re.unsubscribe(),re=null}},Je=function(nt){re||Ce(!1);var Nt=re.critical.draggable;nt.type==="ADDITION"&&Oi(z,Nt,nt.value)&&le.add(nt.value),nt.type==="REMOVAL"&&Oi(z,Nt,nt.value)&&le.remove(nt.value)},He=function(nt){re&&Ce(!1);var Nt=z.draggable.getById(nt.draggableId),hn=z.droppable.getById(Nt.descriptor.droppableId),En={draggable:Nt.descriptor,droppable:hn.descriptor},An=z.subscribe(Je);return re={critical:En,unsubscribe:An},ys({critical:En,registry:z,scrollOptions:nt.scrollOptions})},Ge={updateDroppableIsEnabled:de,updateDroppableIsCombineEnabled:ue,scrollDroppable:Se,updateDroppableScroll:pe,startPublishing:He,stopPublishing:Te};return Ge},Ni=function(z,ee){return z.phase==="IDLE"?!0:z.phase!=="DROP_ANIMATING"||z.completed.result.draggableId===ee?!1:z.completed.result.reason==="DROP"},Es=function(z){window.scrollBy(z.x,z.y)},Cs=pa(function(z){return la(z).filter(function(ee){return!(!ee.isEnabled||!ee.frame)})}),As=function(ee,re){var le=Xt(Cs(re),function(de){return de.frame||Ce(!1),da(de.frame.pageMarginBox)(ee)});return le},ws=function(z){var ee=z.center,re=z.destination,le=z.droppables;if(re){var de=le[re];return de.frame?de:null}var ue=As(ee,le);return ue},Br={startFromPercentage:.25,maxScrollAtPercentage:.05,maxPixelScroll:28,ease:function(ee){return Math.pow(ee,2)},durationDampening:{stopDampeningAt:1200,accelerateAt:360}},xs=function(z,ee){var re=z[ee.size]*Br.startFromPercentage,le=z[ee.size]*Br.maxScrollAtPercentage,de={startScrollingFrom:re,maxScrollValueAt:le};return de},Ti=function(z){var ee=z.startOfRange,re=z.endOfRange,le=z.current,de=re-ee;if(de===0)return 0;var ue=le-ee,pe=ue/de;return pe},Yo=1,Ls=function(z,ee){if(z>ee.startScrollingFrom)return 0;if(z<=ee.maxScrollValueAt)return Br.maxPixelScroll;if(z===ee.startScrollingFrom)return Yo;var re=Ti({startOfRange:ee.maxScrollValueAt,endOfRange:ee.startScrollingFrom,current:z}),le=1-re,de=Br.maxPixelScroll*Br.ease(le);return Math.ceil(de)},Mi=Br.durationDampening.accelerateAt,Ri=Br.durationDampening.stopDampeningAt,Bs=function(z,ee){var re=ee,le=Ri,de=Date.now(),ue=de-re;if(ue>=Ri)return z;if(ueee.height,ue=re.width>ee.width;return!ue&&!de?le:ue&&de?null:{x:ue?0:le.x,y:de?0:le.y}},Ds=Sn(function(z){return z===0?0:z}),ki=function(z){var ee=z.dragStartTime,re=z.container,le=z.subject,de=z.center,ue=z.shouldUseTimeDampening,pe={top:de.y-re.top,right:re.right-de.x,bottom:re.bottom-de.y,left:de.x-re.left},Se=Gi({container:re,distanceToEdges:pe,dragStartTime:ee,axis:$a,shouldUseTimeDampening:ue}),Te=Gi({container:re,distanceToEdges:pe,dragStartTime:ee,axis:Ya,shouldUseTimeDampening:ue}),Je=Ds({x:Te,y:Se});if(Lt(Je,Nn))return null;var He=Fs({container:re,subject:le,proposedScroll:Je});return He?Lt(He,Nn)?null:He:null},Is=Sn(function(z){return z===0?0:z>0?1:-1}),Jo=function(){var z=function(re,le){return re<0?re:re>le?re-le:0};return function(ee){var re=ee.current,le=ee.max,de=ee.change,ue=On(re,de),pe={x:z(ue.x,le.x),y:z(ue.y,le.y)};return Lt(pe,Nn)?null:pe}}(),Wi=function(ee){var re=ee.max,le=ee.current,de=ee.change,ue={x:Math.max(le.x,re.x),y:Math.max(le.y,re.y)},pe=Is(de),Se=Jo({max:ue,current:le,change:pe});return!Se||pe.x!==0&&Se.x===0||pe.y!==0&&Se.y===0},Qo=function(ee,re){return Wi({current:ee.scroll.current,max:ee.scroll.max,change:re})},Os=function(ee,re){if(!Qo(ee,re))return null;var le=ee.scroll.max,de=ee.scroll.current;return Jo({current:de,max:le,change:re})},$o=function(ee,re){var le=ee.frame;return le?Wi({current:le.scroll.current,max:le.scroll.max,change:re}):!1},Ns=function(ee,re){var le=ee.frame;return!le||!$o(ee,re)?null:Jo({current:le.scroll.current,max:le.scroll.max,change:re})},Ts=function(z){var ee=z.viewport,re=z.subject,le=z.center,de=z.dragStartTime,ue=z.shouldUseTimeDampening,pe=ki({dragStartTime:de,container:ee.frame,subject:re,center:le,shouldUseTimeDampening:ue});return pe&&Qo(ee,pe)?pe:null},Ms=function(z){var ee=z.droppable,re=z.subject,le=z.center,de=z.dragStartTime,ue=z.shouldUseTimeDampening,pe=ee.frame;if(!pe)return null;var Se=ki({dragStartTime:de,container:pe.pageMarginBox,subject:re,center:le,shouldUseTimeDampening:ue});return Se&&$o(ee,Se)?Se:null},Zi=function(z){var ee=z.state,re=z.dragStartTime,le=z.shouldUseTimeDampening,de=z.scrollWindow,ue=z.scrollDroppable,pe=ee.current.page.borderBoxCenter,Se=ee.dimensions.draggables[ee.critical.draggable.id],Te=Se.page.marginBox;if(ee.isWindowScrollAllowed){var Je=ee.viewport,He=Ts({dragStartTime:re,viewport:Je,subject:Te,center:pe,shouldUseTimeDampening:le});if(He){de(He);return}}var Ge=ws({center:pe,destination:ur(ee.impact),droppables:ee.dimensions.droppables});if(Ge){var We=Ms({dragStartTime:re,droppable:Ge,subject:Te,center:pe,shouldUseTimeDampening:le});We&&ue(Ge.descriptor.id,We)}},Rs=function(z){var ee=z.scrollWindow,re=z.scrollDroppable,le=Wa(ee),de=Wa(re),ue=null,pe=function(He){ue||Ce(!1);var Ge=ue,We=Ge.shouldUseTimeDampening,nt=Ge.dragStartTime;Zi({state:He,scrollWindow:le,scrollDroppable:de,dragStartTime:nt,shouldUseTimeDampening:We})},Se=function(He){Jr(),ue&&Ce(!1);var Ge=Date.now(),We=!1,nt=function(){We=!0};Zi({state:He,dragStartTime:0,shouldUseTimeDampening:!1,scrollWindow:nt,scrollDroppable:nt}),ue={dragStartTime:Ge,shouldUseTimeDampening:We},Qr(),We&&pe(He)},Te=function(){ue&&(le.cancel(),de.cancel(),ue=null)};return{start:Se,stop:Te,scroll:pe}},zs=function(z){var ee=z.move,re=z.scrollDroppable,le=z.scrollWindow,de=function(Je,He){var Ge=On(Je.current.client.selection,He);ee({client:Ge})},ue=function(Je,He){if(!$o(Je,He))return He;var Ge=Ns(Je,He);if(!Ge)return re(Je.descriptor.id,He),null;var We=ut(He,Ge);re(Je.descriptor.id,We);var nt=ut(He,We);return nt},pe=function(Je,He,Ge){if(!Je||!Qo(He,Ge))return Ge;var We=Os(He,Ge);if(!We)return le(Ge),null;var nt=ut(Ge,We);le(nt);var Nt=ut(Ge,nt);return Nt},Se=function(Je){var He=Je.scrollJumpRequest;if(He){var Ge=ur(Je.impact);Ge||Ce(!1);var We=ue(Je.dimensions.droppables[Ge],He);if(We){var nt=Je.viewport,Nt=pe(Je.isWindowScrollAllowed,nt,We);Nt&&de(Je,Nt)}}};return Se},Gs=function(z){var ee=z.scrollDroppable,re=z.scrollWindow,le=z.move,de=Rs({scrollWindow:re,scrollDroppable:ee}),ue=zs({move:le,scrollWindow:re,scrollDroppable:ee}),pe=function(Je){if(Je.phase==="DRAGGING"){if(Je.movementMode==="FLUID"){de.scroll(Je);return}Je.scrollJumpRequest&&ue(Je)}},Se={scroll:pe,start:de.start,stop:de.stop};return Se},kr="data-rbd",Wr=function(){var z=kr+"-drag-handle";return{base:z,draggableId:z+"-draggable-id",contextId:z+"-context-id"}}(),qo=function(){var z=kr+"-draggable";return{base:z,contextId:z+"-context-id",id:z+"-id"}}(),ks=function(){var z=kr+"-droppable";return{base:z,contextId:z+"-context-id",id:z+"-id"}}(),Hi={contextId:kr+"-scroll-container-context-id"},Ws=function(ee){return function(re){return"["+re+'="'+ee+'"]'}},eo=function(ee,re){return ee.map(function(le){var de=le.styles[re];return de?le.selector+" { "+de+" }":""}).join(" ")},Zs="pointer-events: none;",Hs=function(z){var ee=Ws(z),re=function(){var Se=` + cursor: -webkit-grab; + cursor: grab; + `;return{selector:ee(Wr.contextId),styles:{always:` + -webkit-touch-callout: none; + -webkit-tap-highlight-color: rgba(0,0,0,0); + touch-action: manipulation; + `,resting:Se,dragging:Zs,dropAnimating:Se}}}(),le=function(){var Se=` + transition: `+qr.outOfTheWay+`; + `;return{selector:ee(qo.contextId),styles:{dragging:Se,dropAnimating:Se,userCancel:Se}}}(),de={selector:ee(ks.contextId),styles:{always:"overflow-anchor: none;"}},ue={selector:"body",styles:{dragging:` + cursor: grabbing; + cursor: -webkit-grabbing; + user-select: none; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + overflow-anchor: none; + `}},pe=[le,re,de,ue];return{always:eo(pe,"always"),resting:eo(pe,"resting"),dragging:eo(pe,"dragging"),dropAnimating:eo(pe,"dropAnimating"),userCancel:eo(pe,"userCancel")}},gr=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined"?ne.useLayoutEffect:ne.useEffect,_o=function(){var ee=document.querySelector("head");return ee||Ce(!1),ee},ji=function(ee){var re=document.createElement("style");return ee&&re.setAttribute("nonce",ee),re.type="text/css",re};function js(z,ee){var re=it(function(){return Hs(z)},[z]),le=(0,ne.useRef)(null),de=(0,ne.useRef)(null),ue=ft(pa(function(Ge){var We=de.current;We||Ce(!1),We.textContent=Ge}),[]),pe=ft(function(Ge){var We=le.current;We||Ce(!1),We.textContent=Ge},[]);gr(function(){!le.current&&!de.current||Ce(!1);var Ge=ji(ee),We=ji(ee);return le.current=Ge,de.current=We,Ge.setAttribute(kr+"-always",z),We.setAttribute(kr+"-dynamic",z),_o().appendChild(Ge),_o().appendChild(We),pe(re.always),ue(re.resting),function(){var nt=function(hn){var En=hn.current;En||Ce(!1),_o().removeChild(En),hn.current=null};nt(le),nt(de)}},[ee,pe,ue,re.always,re.resting,z]);var Se=ft(function(){return ue(re.dragging)},[ue,re.dragging]),Te=ft(function(Ge){if(Ge==="DROP"){ue(re.dropAnimating);return}ue(re.userCancel)},[ue,re.dropAnimating,re.userCancel]),Je=ft(function(){de.current&&ue(re.resting)},[ue,re.resting]),He=it(function(){return{dragging:Se,dropping:Te,resting:Je}},[Se,Te,Je]);return He}var Ki=function(z){return z&&z.ownerDocument?z.ownerDocument.defaultView:window};function to(z){return z instanceof Ki(z).HTMLElement}function Ui(z,ee){var re="["+Wr.contextId+'="'+z+'"]',le=na(document.querySelectorAll(re));if(!le.length)return null;var de=Xt(le,function(ue){return ue.getAttribute(Wr.draggableId)===ee});return!de||!to(de)?null:de}function Ks(z){var ee=(0,ne.useRef)({}),re=(0,ne.useRef)(null),le=(0,ne.useRef)(null),de=(0,ne.useRef)(!1),ue=ft(function(We,nt){var Nt={id:We,focus:nt};return ee.current[We]=Nt,function(){var En=ee.current,An=En[We];An!==Nt&&delete En[We]}},[]),pe=ft(function(We){var nt=Ui(z,We);nt&&nt!==document.activeElement&&nt.focus()},[z]),Se=ft(function(We,nt){re.current===We&&(re.current=nt)},[]),Te=ft(function(){le.current||de.current&&(le.current=requestAnimationFrame(function(){le.current=null;var We=re.current;We&&pe(We)}))},[pe]),Je=ft(function(We){re.current=null;var nt=document.activeElement;nt&&nt.getAttribute(Wr.draggableId)===We&&(re.current=We)},[]);gr(function(){return de.current=!0,function(){de.current=!1;var We=le.current;We&&cancelAnimationFrame(We)}},[]);var He=it(function(){return{register:ue,tryRecordFocus:Je,tryRestoreFocusRecorded:Te,tryShiftRecord:Se}},[ue,Je,Te,Se]);return He}function Us(){var z={draggables:{},droppables:{}},ee=[];function re(Ge){return ee.push(Ge),function(){var nt=ee.indexOf(Ge);nt!==-1&&ee.splice(nt,1)}}function le(Ge){ee.length&&ee.forEach(function(We){return We(Ge)})}function de(Ge){return z.draggables[Ge]||null}function ue(Ge){var We=de(Ge);return We||Ce(!1),We}var pe={register:function(We){z.draggables[We.descriptor.id]=We,le({type:"ADDITION",value:We})},update:function(We,nt){var Nt=z.draggables[nt.descriptor.id];Nt&&Nt.uniqueId===We.uniqueId&&(delete z.draggables[nt.descriptor.id],z.draggables[We.descriptor.id]=We)},unregister:function(We){var nt=We.descriptor.id,Nt=de(nt);Nt&&We.uniqueId===Nt.uniqueId&&(delete z.draggables[nt],le({type:"REMOVAL",value:We}))},getById:ue,findById:de,exists:function(We){return!!de(We)},getAllByType:function(We){return Ea(z.draggables).filter(function(nt){return nt.descriptor.type===We})}};function Se(Ge){return z.droppables[Ge]||null}function Te(Ge){var We=Se(Ge);return We||Ce(!1),We}var Je={register:function(We){z.droppables[We.descriptor.id]=We},unregister:function(We){var nt=Se(We.descriptor.id);nt&&We.uniqueId===nt.uniqueId&&delete z.droppables[We.descriptor.id]},getById:Te,findById:Se,exists:function(We){return!!Se(We)},getAllByType:function(We){return Ea(z.droppables).filter(function(nt){return nt.descriptor.type===We})}};function He(){z.draggables={},z.droppables={},ee.length=0}return{draggable:pe,droppable:Je,subscribe:re,clean:He}}function Vs(){var z=it(Us,[]);return(0,ne.useEffect)(function(){return function(){requestAnimationFrame(z.clean)}},[z]),z}var ei=ne.createContext(null),no=function(){var z=document.body;return z||Ce(!1),z},Xs={position:"absolute",width:"1px",height:"1px",margin:"-1px",border:"0",padding:"0",overflow:"hidden",clip:"rect(0 0 0 0)","clip-path":"inset(100%)"},Ys=function(ee){return"rbd-announcement-"+ee};function Js(z){var ee=it(function(){return Ys(z)},[z]),re=(0,ne.useRef)(null);(0,ne.useEffect)(function(){var ue=document.createElement("div");return re.current=ue,ue.id=ee,ue.setAttribute("aria-live","assertive"),ue.setAttribute("aria-atomic","true"),(0,Oe.Z)(ue.style,Xs),no().appendChild(ue),function(){setTimeout(function(){var Te=no();Te.contains(ue)&&Te.removeChild(ue),ue===re.current&&(re.current=null)})}},[ee]);var le=ft(function(de){var ue=re.current;if(ue){ue.textContent=de;return}},[]);return le}var Vi=0,Qs={separator:"::"};function $s(){Vi=0}function ti(z,ee){return ee===void 0&&(ee=Qs),it(function(){return""+z+ee.separator+Vi++},[ee.separator,z])}function qs(z){var ee=z.contextId,re=z.uniqueId;return"rbd-hidden-text-"+ee+"-"+re}function _s(z){var ee=z.contextId,re=z.text,le=ti("hidden-text",{separator:"-"}),de=it(function(){return qs({contextId:ee,uniqueId:le})},[le,ee]);return(0,ne.useEffect)(function(){var pe=document.createElement("div");return pe.id=de,pe.textContent=re,pe.style.display="none",no().appendChild(pe),function(){var Te=no();Te.contains(pe)&&Te.removeChild(pe)}},[de,re]),de}var vo=ne.createContext(null),ed={react:"^16.8.5","react-dom":"^16.8.5"},td=/(\d+)\.(\d+)\.(\d+)/,Xi=function(ee){var re=td.exec(ee);re==null&&Ce(!1);var le=Number(re[1]),de=Number(re[2]),ue=Number(re[3]);return{major:le,minor:de,patch:ue,raw:ee}},nd=function(ee,re){return re.major>ee.major?!0:re.majoree.minor?!0:re.minor=ee.patch},ad=function(z,ee){var re=Xi(z),le=Xi(ee);nd(re,le)},Yu=` + We expect a html5 doctype: + This is to ensure consistent browser layout and measurement + + More information: https://github.com/atlassian/react-beautiful-dnd/blob/master/docs/guides/doctype.md +`,rd=function(z){var ee=z.doctype;ee&&(ee.name.toLowerCase(),ee.publicId)};function Ju(z){}function ao(z,ee){}function od(){ao(function(){ad(ed.react,ne.version),rd(document)},[])}function ni(z){var ee=(0,ne.useRef)(z);return(0,ne.useEffect)(function(){ee.current=z}),ee}function id(){var z=null;function ee(){return!!z}function re(pe){return pe===z}function le(pe){z&&Ce(!1);var Se={abandon:pe};return z=Se,Se}function de(){z||Ce(!1),z=null}function ue(){z&&(z.abandon(),de())}return{isClaimed:ee,isActive:re,claim:le,release:de,tryAbandon:ue}}var ld=9,sd=13,ai=27,Yi=32,dd=33,ud=34,gd=35,cd=36,md=37,fd=38,pd=39,vd=40,ho,hd=(ho={},ho[sd]=!0,ho[ld]=!0,ho),Ji=function(z){hd[z.keyCode]&&z.preventDefault()},So=function(){var z="visibilitychange";if(typeof document=="undefined")return z;var ee=[z,"ms"+z,"webkit"+z,"moz"+z,"o"+z],re=Xt(ee,function(le){return"on"+le in document});return re||z}(),Qi=0,$i=5;function Sd(z,ee){return Math.abs(ee.x-z.x)>=$i||Math.abs(ee.y-z.y)>=$i}var qi={type:"IDLE"};function Pd(z){var ee=z.cancel,re=z.completed,le=z.getPhase,de=z.setPhase;return[{eventName:"mousemove",fn:function(pe){var Se=pe.button,Te=pe.clientX,Je=pe.clientY;if(Se===Qi){var He={x:Te,y:Je},Ge=le();if(Ge.type==="DRAGGING"){pe.preventDefault(),Ge.actions.move(He);return}Ge.type!=="PENDING"&&Ce(!1);var We=Ge.point;if(Sd(We,He)){pe.preventDefault();var nt=Ge.actions.fluidLift(He);de({type:"DRAGGING",actions:nt})}}}},{eventName:"mouseup",fn:function(pe){var Se=le();if(Se.type!=="DRAGGING"){ee();return}pe.preventDefault(),Se.actions.drop({shouldBlockNextClick:!0}),re()}},{eventName:"mousedown",fn:function(pe){le().type==="DRAGGING"&&pe.preventDefault(),ee()}},{eventName:"keydown",fn:function(pe){var Se=le();if(Se.type==="PENDING"){ee();return}if(pe.keyCode===ai){pe.preventDefault(),ee();return}Ji(pe)}},{eventName:"resize",fn:ee},{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(){le().type==="PENDING"&&ee()}},{eventName:"webkitmouseforcedown",fn:function(pe){var Se=le();if(Se.type==="IDLE"&&Ce(!1),Se.actions.shouldRespectForcePress()){ee();return}pe.preventDefault()}},{eventName:So,fn:ee}]}function yd(z){var ee=(0,ne.useRef)(qi),re=(0,ne.useRef)(Gt),le=it(function(){return{eventName:"mousedown",fn:function(Ge){if(!Ge.defaultPrevented&&Ge.button===Qi&&!(Ge.ctrlKey||Ge.metaKey||Ge.shiftKey||Ge.altKey)){var We=z.findClosestDraggableId(Ge);if(We){var nt=z.tryGetLock(We,pe,{sourceEvent:Ge});if(nt){Ge.preventDefault();var Nt={x:Ge.clientX,y:Ge.clientY};re.current(),Je(nt,Nt)}}}}}},[z]),de=it(function(){return{eventName:"webkitmouseforcewillbegin",fn:function(Ge){if(!Ge.defaultPrevented){var We=z.findClosestDraggableId(Ge);if(We){var nt=z.findOptionsForDraggable(We);nt&&(nt.shouldRespectForcePress||z.canGetLock(We)&&Ge.preventDefault())}}}}},[z]),ue=ft(function(){var Ge={passive:!1,capture:!0};re.current=Wt(window,[de,le],Ge)},[de,le]),pe=ft(function(){var He=ee.current;He.type!=="IDLE"&&(ee.current=qi,re.current(),ue())},[ue]),Se=ft(function(){var He=ee.current;pe(),He.type==="DRAGGING"&&He.actions.cancel({shouldBlockNextClick:!0}),He.type==="PENDING"&&He.actions.abort()},[pe]),Te=ft(function(){var Ge={capture:!0,passive:!1},We=Pd({cancel:Se,completed:pe,getPhase:function(){return ee.current},setPhase:function(Nt){ee.current=Nt}});re.current=Wt(window,We,Ge)},[Se,pe]),Je=ft(function(Ge,We){ee.current.type!=="IDLE"&&Ce(!1),ee.current={type:"PENDING",point:We,actions:Ge},Te()},[Te]);gr(function(){return ue(),function(){re.current()}},[ue])}var Zr;function bd(){}var Ed=(Zr={},Zr[ud]=!0,Zr[dd]=!0,Zr[cd]=!0,Zr[gd]=!0,Zr);function Cd(z,ee){function re(){ee(),z.cancel()}function le(){ee(),z.drop()}return[{eventName:"keydown",fn:function(ue){if(ue.keyCode===ai){ue.preventDefault(),re();return}if(ue.keyCode===Yi){ue.preventDefault(),le();return}if(ue.keyCode===vd){ue.preventDefault(),z.moveDown();return}if(ue.keyCode===fd){ue.preventDefault(),z.moveUp();return}if(ue.keyCode===pd){ue.preventDefault(),z.moveRight();return}if(ue.keyCode===md){ue.preventDefault(),z.moveLeft();return}if(Ed[ue.keyCode]){ue.preventDefault();return}Ji(ue)}},{eventName:"mousedown",fn:re},{eventName:"mouseup",fn:re},{eventName:"click",fn:re},{eventName:"touchstart",fn:re},{eventName:"resize",fn:re},{eventName:"wheel",fn:re,options:{passive:!0}},{eventName:So,fn:re}]}function Ad(z){var ee=(0,ne.useRef)(bd),re=it(function(){return{eventName:"keydown",fn:function(ue){if(ue.defaultPrevented||ue.keyCode!==Yi)return;var pe=z.findClosestDraggableId(ue);if(!pe)return;var Se=z.tryGetLock(pe,He,{sourceEvent:ue});if(!Se)return;ue.preventDefault();var Te=!0,Je=Se.snapLift();ee.current();function He(){Te||Ce(!1),Te=!1,ee.current(),le()}ee.current=Wt(window,Cd(Je,He),{capture:!0,passive:!1})}}},[z]),le=ft(function(){var ue={passive:!1,capture:!0};ee.current=Wt(window,[re],ue)},[re]);gr(function(){return le(),function(){ee.current()}},[le])}var ri={type:"IDLE"},wd=120,xd=.15;function Ld(z){var ee=z.cancel,re=z.getPhase;return[{eventName:"orientationchange",fn:ee},{eventName:"resize",fn:ee},{eventName:"contextmenu",fn:function(de){de.preventDefault()}},{eventName:"keydown",fn:function(de){if(re().type!=="DRAGGING"){ee();return}de.keyCode===ai&&de.preventDefault(),ee()}},{eventName:So,fn:ee}]}function Bd(z){var ee=z.cancel,re=z.completed,le=z.getPhase;return[{eventName:"touchmove",options:{capture:!1},fn:function(ue){var pe=le();if(pe.type!=="DRAGGING"){ee();return}pe.hasMoved=!0;var Se=ue.touches[0],Te=Se.clientX,Je=Se.clientY,He={x:Te,y:Je};ue.preventDefault(),pe.actions.move(He)}},{eventName:"touchend",fn:function(ue){var pe=le();if(pe.type!=="DRAGGING"){ee();return}ue.preventDefault(),pe.actions.drop({shouldBlockNextClick:!0}),re()}},{eventName:"touchcancel",fn:function(ue){if(le().type!=="DRAGGING"){ee();return}ue.preventDefault(),ee()}},{eventName:"touchforcechange",fn:function(ue){var pe=le();pe.type==="IDLE"&&Ce(!1);var Se=ue.touches[0];if(Se){var Te=Se.force>=xd;if(Te){var Je=pe.actions.shouldRespectForcePress();if(pe.type==="PENDING"){Je&&ee();return}if(Je){if(pe.hasMoved){ue.preventDefault();return}ee();return}ue.preventDefault()}}}},{eventName:So,fn:ee}]}function Fd(z){var ee=(0,ne.useRef)(ri),re=(0,ne.useRef)(Gt),le=ft(function(){return ee.current},[]),de=ft(function(nt){ee.current=nt},[]),ue=it(function(){return{eventName:"touchstart",fn:function(nt){if(!nt.defaultPrevented){var Nt=z.findClosestDraggableId(nt);if(Nt){var hn=z.tryGetLock(Nt,Se,{sourceEvent:nt});if(hn){var En=nt.touches[0],An=En.clientX,Zn=En.clientY,Xn={x:An,y:Zn};re.current(),Ge(hn,Xn)}}}}}},[z]),pe=ft(function(){var nt={capture:!0,passive:!1};re.current=Wt(window,[ue],nt)},[ue]),Se=ft(function(){var We=ee.current;We.type!=="IDLE"&&(We.type==="PENDING"&&clearTimeout(We.longPressTimerId),de(ri),re.current(),pe())},[pe,de]),Te=ft(function(){var We=ee.current;Se(),We.type==="DRAGGING"&&We.actions.cancel({shouldBlockNextClick:!0}),We.type==="PENDING"&&We.actions.abort()},[Se]),Je=ft(function(){var nt={capture:!0,passive:!1},Nt={cancel:Te,completed:Se,getPhase:le},hn=Wt(window,Bd(Nt),nt),En=Wt(window,Ld(Nt),nt);re.current=function(){hn(),En()}},[Te,le,Se]),He=ft(function(){var nt=le();nt.type!=="PENDING"&&Ce(!1);var Nt=nt.actions.fluidLift(nt.point);de({type:"DRAGGING",actions:Nt,hasMoved:!1})},[le,de]),Ge=ft(function(nt,Nt){le().type!=="IDLE"&&Ce(!1);var hn=setTimeout(He,wd);de({type:"PENDING",point:Nt,actions:nt,longPressTimerId:hn}),Je()},[Je,le,de,He]);gr(function(){return pe(),function(){re.current();var Nt=le();Nt.type==="PENDING"&&(clearTimeout(Nt.longPressTimerId),de(ri))}},[le,pe,de]),gr(function(){var nt=Wt(window,[{eventName:"touchmove",fn:function(){},options:{capture:!1,passive:!1}}]);return nt},[])}function Dd(z){}var Id={input:!0,button:!0,textarea:!0,select:!0,option:!0,optgroup:!0,video:!0,audio:!0};function _i(z,ee){if(ee==null)return!1;var re=!!Id[ee.tagName.toLowerCase()];if(re)return!0;var le=ee.getAttribute("contenteditable");return le==="true"||le===""?!0:ee===z?!1:_i(z,ee.parentElement)}function Od(z,ee){var re=ee.target;return to(re)?_i(z,re):!1}var Nd=function(z){return mn(z.getBoundingClientRect()).center};function Td(z){return z instanceof Ki(z).Element}var Md=function(){var z="matches";if(typeof document=="undefined")return z;var ee=[z,"msMatchesSelector","webkitMatchesSelector"],re=Xt(ee,function(le){return le in Element.prototype});return re||z}();function el(z,ee){return z==null?null:z[Md](ee)?z:el(z.parentElement,ee)}function Rd(z,ee){return z.closest?z.closest(ee):el(z,ee)}function zd(z){return"["+Wr.contextId+'="'+z+'"]'}function Gd(z,ee){var re=ee.target;if(!Td(re))return null;var le=zd(z),de=Rd(re,le);return!de||!to(de)?null:de}function kd(z,ee){var re=Gd(z,ee);return re?re.getAttribute(Wr.draggableId):null}function Wd(z,ee){var re="["+qo.contextId+'="'+z+'"]',le=na(document.querySelectorAll(re)),de=Xt(le,function(ue){return ue.getAttribute(qo.id)===ee});return!de||!to(de)?null:de}function Zd(z){z.preventDefault()}function Po(z){var ee=z.expected,re=z.phase,le=z.isLockActive,de=z.shouldWarn;return!(!le()||ee!==re)}function tl(z){var ee=z.lockAPI,re=z.store,le=z.registry,de=z.draggableId;if(ee.isClaimed())return!1;var ue=le.draggable.findById(de);return!(!ue||!ue.options.isEnabled||!Ni(re.getState(),de))}function Hd(z){var ee=z.lockAPI,re=z.contextId,le=z.store,de=z.registry,ue=z.draggableId,pe=z.forceSensorStop,Se=z.sourceEvent,Te=tl({lockAPI:ee,store:le,registry:de,draggableId:ue});if(!Te)return null;var Je=de.draggable.getById(ue),He=Wd(re,Je.descriptor.id);if(!He||Se&&!Je.options.canDragInteractiveElements&&Od(He,Se))return null;var Ge=ee.claim(pe||Gt),We="PRE_DRAG";function nt(){return Je.options.shouldRespectForcePress}function Nt(){return ee.isActive(Ge)}function hn(Ba,Ha){Po({expected:Ba,phase:We,isLockActive:Nt,shouldWarn:!0})&&le.dispatch(Ha())}var En=hn.bind(null,"DRAGGING");function An(Ba){function Ha(){ee.release(),We="COMPLETED"}We!=="PRE_DRAG"&&(Ha(),We!=="PRE_DRAG"&&Ce(!1)),le.dispatch(Bl(Ba.liftActionArgs)),We="DRAGGING";function tr(ja,nr){if(nr===void 0&&(nr={shouldBlockNextClick:!1}),Ba.cleanup(),nr.shouldBlockNextClick){var ar=Wt(window,[{eventName:"click",fn:Zd,options:{once:!0,passive:!1,capture:!0}}]);setTimeout(ar)}Ha(),le.dispatch(Ci({reason:ja}))}return(0,Oe.Z)({isActive:function(){return Po({expected:"DRAGGING",phase:We,isLockActive:Nt,shouldWarn:!1})},shouldRespectForcePress:nt,drop:function(nr){return tr("DROP",nr)},cancel:function(nr){return tr("CANCEL",nr)}},Ba.actions)}function Zn(Ba){var Ha=Wa(function(ja){En(function(){return Ei({client:ja})})}),tr=An({liftActionArgs:{id:ue,clientSelection:Ba,movementMode:"FLUID"},cleanup:function(){return Ha.cancel()},actions:{move:Ha}});return(0,Oe.Z)({},tr,{move:Ha})}function Xn(){var Ba={moveUp:function(){return En(zl)},moveRight:function(){return En(kl)},moveDown:function(){return En(Gl)},moveLeft:function(){return En(Wl)}};return An({liftActionArgs:{id:ue,clientSelection:Nd(He),movementMode:"SNAP"},cleanup:Gt,actions:Ba})}function qn(){var Ba=Po({expected:"PRE_DRAG",phase:We,isLockActive:Nt,shouldWarn:!0});Ba&&ee.release()}var Ta={isActive:function(){return Po({expected:"PRE_DRAG",phase:We,isLockActive:Nt,shouldWarn:!1})},shouldRespectForcePress:nt,fluidLift:Zn,snapLift:Xn,abort:qn};return Ta}var jd=[yd,Ad,Fd];function Kd(z){var ee=z.contextId,re=z.store,le=z.registry,de=z.customSensors,ue=z.enableDefaultSensors,pe=[].concat(ue?jd:[],de||[]),Se=(0,ne.useState)(function(){return id()})[0],Te=ft(function(Zn,Xn){Zn.isDragging&&!Xn.isDragging&&Se.tryAbandon()},[Se]);gr(function(){var Zn=re.getState(),Xn=re.subscribe(function(){var qn=re.getState();Te(Zn,qn),Zn=qn});return Xn},[Se,re,Te]),gr(function(){return Se.tryAbandon},[Se.tryAbandon]);var Je=ft(function(An){return tl({lockAPI:Se,registry:le,store:re,draggableId:An})},[Se,le,re]),He=ft(function(An,Zn,Xn){return Hd({lockAPI:Se,registry:le,contextId:ee,store:re,draggableId:An,forceSensorStop:Zn,sourceEvent:Xn&&Xn.sourceEvent?Xn.sourceEvent:null})},[ee,Se,le,re]),Ge=ft(function(An){return kd(ee,An)},[ee]),We=ft(function(An){var Zn=le.draggable.findById(An);return Zn?Zn.options:null},[le.draggable]),nt=ft(function(){Se.isClaimed()&&(Se.tryAbandon(),re.getState().phase!=="IDLE"&&re.dispatch(Wo()))},[Se,re]),Nt=ft(Se.isClaimed,[Se]),hn=it(function(){return{canGetLock:Je,tryGetLock:He,findClosestDraggableId:Ge,findOptionsForDraggable:We,tryReleaseLock:nt,isLockClaimed:Nt}},[Je,He,Ge,We,nt,Nt]);Dd(pe);for(var En=0;Enspan{color:#0152d9;margin:0 4px}.introContent___dSvDD{text-align:justify}.introContentMaxHeight___NxSzO{max-height:110px;overflow:hidden}.flex_box_center___bI3gK{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___ZyemH{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___vOG6y{align-items:center;box-align:center}.flex_box_center_end___g0YQU{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___a7oLH{flex-direction:column;box-orient:block-axis}.wrp___wYwtQ{background:#fff;box-shadow:0 4px 8px #0000000a;padding-top:10px}.drawer___UVA9h [class=ant-drawer-content]{background:#f5f5f5!important}.menu___s5Hi1{padding:0;margin:15px 0;position:relative;z-index:2}.menu___s5Hi1:hover{z-index:3}.menu___s5Hi1>li{display:inline-block;position:relative;margin-right:10px;font-size:14px;font-weight:600;cursor:pointer;height:32px;line-height:32px;border-radius:32px;padding:0 18px}.menu___s5Hi1>li a{color:#4b4b4b}.menu___s5Hi1>li strong{cursor:pointer;font-size:14px}.menu___s5Hi1>li:hover{color:#fff;background:#0152d9}.actived___GavBb{background:#0152d9;color:#fff}.actived2___XNyxe{color:#0152d9!important}.listItem___OyHb7{padding:25px 30px;display:box;display:flex;background:#fff;margin-top:20px;cursor:pointer}.listItem___OyHb7>div{flex:1 1}.listItem___OyHb7:hover{box-shadow:0 0 10px #ccc}.info___UU9rA{margin-left:20px}.info___UU9rA p{margin-top:18px}.title___CmRLc{display:box;display:flex;align-items:center;box-align:center}.title___CmRLc strong{color:#333}.titleLeft___xWCXz{flex:1 1}.titleRight___PeYdC{margin-top:18px}.titleRight___PeYdC a{margin-right:20px;font-weight:700}.search___CzPOL{width:600px;margin:30px 0}.search___CzPOL input,.search___CzPOL [class=ant-input-group-addon] button{height:50px!important;line-height:50px!important;padding:0 30px!important;font-size:16px!important}.description___TEI_C{-webkit-box-orient:vertical;display:-webkit-box;-webkit-line-clamp:2;overflow:hidden}.menuCourse___Z8Z9h{color:#999}.menuCourse___Z8Z9h ul,.menuCourse___Z8Z9h li{margin:0;padding:0;list-style:none}.menuCourse___Z8Z9h li{display:inline-block;margin-right:30px}.wrap___UWG0f{background-color:#fff;padding:30px;border-bottom:1px solid #eeeeee}.name___LIQSC{height:40px;text-align:center;font-size:19px;color:#212121}.button___CSggN{height:40px}.progress___AQo_Y{width:400px}.havaLearn___fq9Cb{height:40px;font-size:19px;color:#212121}.modal___EKlPQ [class~=ant-modal-body]{padding-left:60px;padding-right:60px}.uploadWrap___YGxav{display:flex;flex-flow:row;align-items:center}.upload___ouqG9{display:flex;align-items:center;justify-content:center;margin-right:10px;height:31px;width:120px;padding:3px 11px;font-size:14px;color:#fff;background:#0152d9;border-color:#0152d9;text-align:center;cursor:pointer;border-radius:2px}.uploadLink___nuif6{color:#0152d9;background:#fff;border:1px solid #0152d9}.fileProgress___tf4qy{display:flex;flex-direction:row;justify-content:space-between;align-items:center}.fileCancel___Bh3Wh{cursor:pointer;font-size:14px;color:red}.videoName___Ra0NM{color:#0152d9}.contentItem___zMdIq [class~=ant-form-item-label] label:before{display:inline-block;margin-right:4px;color:#ff4d4f;font-size:12px;font-family:SimSun,sans-serif;line-height:1;content:"*"}.tagsList-content___sDVph{margin-left:78px}.img___BgL9D{position:relative;width:400px;height:auto;background-color:#f4f3f4;display:flex;align-items:center;justify-content:center}.img___BgL9D>div{position:absolute;right:-6px;top:-6px;cursor:pointer;background-color:#fff;width:16px;height:16px;border-radius:50%}.upload___jpwPD{display:inline-block}.upload_button{width:108px;height:40px!important;background:#f6f7f9 linear-gradient(180deg,#fff,#f6f7f9)!important;box-shadow:0 2px 4px #e0dfe1,inset 0 1px 3px #ffffff80!important;border-radius:2px;border:1px solid #BACFFE!important;font-size:14px;font-family:PingFangSC-Regular,PingFang SC;font-weight:400;color:#3061d0!important;display:inline-block;text-align:center;align-items:center;align-content:center}.upload_button .aBtn_img{width:14px;height:14px;margin-top:-3px;margin-right:8px}.upload_button:hover{width:108px;height:40px!important;background:#f6f7f9 linear-gradient(180deg,#fff,#f6f7f9);box-shadow:0 2px 4px #e0dfe1,inset 0 1px 3px #ffffff80;border-radius:2px;border:1px solid #3061D0!important;font-size:14px;font-family:PingFangSC-Regular,PingFang SC;font-weight:400;color:#3061d0!important}.upload_button:active{width:108px;height:40px!important;background:#f6f7f9 linear-gradient(180deg,#fff,#f6f7f9);box-shadow:0 2px 4px #e0dfe1,inset 0 1px 3px #ffffff80;border-radius:2px;border:1px solid #3061D0!important;font-size:14px;font-family:PingFangSC-Regular,PingFang SC;font-weight:400;color:#3061d0}.upload_text{width:129px;height:20px;font-size:14px;font-family:PingFangSC-Regular,PingFang SC;font-weight:400;color:#5f6367;line-height:20px;margin-left:16px}#educoder .tree___SHCwq [class~=ant-tree-switcher]{display:none}#educoder .tree___SHCwq [class~=ant-tree-indent]{line-height:0;height:0}#educoder .tree___SHCwq [class~=ant-tree-node-content-wrapper]{padding:0!important;min-height:0!important}#educoder .tree___SHCwq [class~=drag-over] *{color:#fff}#educoder .tree___SHCwq [class~=ant-tree-treenode]:has([class~=ant-tree-title]:empty){display:none}#educoder .tree___SHCwq [class~=ant-tree-draggable-icon]{visibility:hidden}#educoder .tree___SHCwq [class~=ant-row]{min-height:40px;padding:0 20px 0 0;cursor:pointer}#educoder .tree___SHCwq [class~=ant-row] aside{display:none}#educoder .tree___SHCwq [class~=ant-row]:hover{background-color:#f2f8ff}#educoder .tree___SHCwq [class~=ant-row]:hover aside{display:inline}#educoder .tree___SHCwq [class~=ant-row]:hover [class~=experiment-number]{display:none}#educoder .tree___SHCwq .learn___buOG9{display:inline-flex;align-items:center}#educoder .tree___SHCwq .learn___buOG9 .name___dwQwe{display:inline-block;max-width:400px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#educoder .tree___SHCwq .learn___buOG9 .sign___aQzc5{display:inline-block;width:54px;height:18px;background:#f8b023;border-radius:8px;font-size:12px;color:#fff;line-height:18px;margin-left:5px;text-align:center}#educoder .pdf_name___m1wEX{display:inline-block;max-width:650px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#3061d0!important}#educoder .name_style___CnJ7d{display:inline-block;max-width:520px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#333!important}#educoder .color333___TbHdH{color:#333!important}.pagination-container{padding:12px 0 0}.discuss-warp-container .CodeMirror-scroll,.discuss-warp-container .CodeMirror-sizer,.discuss-warp-container .CodeMirror-gutter,.discuss-warp-container .CodeMirror-gutters,.discuss-warp-container .CodeMirror-linenumber{box-sizing:content-box!important}.ldsRing___mpBZC{position:relative;width:40px;height:40px;margin:0 auto}.idsRingWrapper___Of9_n{position:absolute;z-index:1000;width:100%;height:100%;left:0;top:0;display:flex;flex-flow:column nowrap;justify-content:center}.idsRingWrapper___Of9_n p{text-align:center;margin-top:12px}.ldsRing___mpBZC div{box-sizing:border-box;display:block;position:absolute;width:32px;height:32px;margin:4px;border:4px solid #1976d2;border-radius:50%;animation:ldsring___o0w2t 1.2s cubic-bezier(.5,0,.5,1) infinite;border-color:#1976d2 transparent transparent transparent}.ldsRing___mpBZC div:nth-child(1){animation-delay:-.45s}.ldsRing___mpBZC div:nth-child(2){animation-delay:-.3s}.ldsRing___mpBZC div:nth-child(3){animation-delay:-.15s}@keyframes ldsring___o0w2t{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.CodeMirror{font-family:monospace;height:300px;color:#000;direction:ltr}.CodeMirror-scroll{overflow:scroll!important;margin-bottom:-50px;margin-right:-50px;padding-bottom:50px;height:100%;outline:none;position:relative}.CodeMirror-sizer{position:relative;border-right:50px solid transparent}.CodeMirror-vscrollbar,.CodeMirror-hscrollbar,.CodeMirror-scrollbar-filler,.CodeMirror-gutter-filler{position:absolute;z-index:6;display:none;outline:none}.markdown-editor-wrapper{position:relative;margin-bottom:12px}.markdown-editor-body{display:flex;flex-flow:row nowrap;width:100%;height:calc(100% - 38px);align-items:center;overflow:hidden}.markdown-editor-body .codemirror-container{flex:1 0;height:100%;width:100%;overflow:hidden}.markdown-editor-body .CodeMirror-wrap{padding-bottom:15px}.markdown-editor-body .preview-container{flex:1 0;height:100%;margin:10px 0;padding:8px 8px 50px;background:#fff;overflow-y:auto;box-sizing:border-box;border-left:1px solid #ccc;word-wrap:break-word;word-break:break-word;white-space:normal;font-size:16px}.markdown-editor-container{border:1px solid #ccc;overflow:hidden;border-radius:4px;font-size:16px}.markdown-editor-container.full-screen{position:fixed;inset:0;height:100vh!important;z-index:998}.markdown-editor-container.full-screen .preview-container>div{padding-bottom:180px!important}.markdown-editor-container.full-screen .CodeMirror-sizer>div{margin-bottom:90px}.markdown-editor-container.on-preview .codemirror-container,.markdown-editor-container.on-preview .preview-container{width:50%}.mini .markdown-editor-body{height:calc(100% - 28px)}.flex-end{justify-content:flex-end}.my-codemirror-container{border:1px solid #ccc;width:100%;margin-bottom:24px}.markdown-tip{color:#cdcdcd;font-size:12px;position:absolute;right:0;bottom:-28px;margin-bottom:7px}.CodeMirror-lines{padding:4px 0}.CodeMirror pre.CodeMirror-line,.CodeMirror pre.CodeMirror-line-like{padding:0 4px}.CodeMirror-scrollbar-filler,.CodeMirror-gutter-filler{background-color:#fff}.CodeMirror-gutters{border-right:1px solid #ddd;background-color:#f7f7f7;white-space:nowrap}.CodeMirror-linenumber{padding:0 3px 0 5px;min-width:20px;text-align:right;color:#999;white-space:nowrap}.CodeMirror-guttermarker{color:#000}.CodeMirror-guttermarker-subtle{color:#999}.CodeMirror-cursor{border-left:1px solid black;border-right:none;width:0}.CodeMirror div.CodeMirror-secondarycursor{border-left:1px solid silver}.cm-fat-cursor .CodeMirror-cursor{width:auto;border:0!important;background:#7e7}.cm-fat-cursor div.CodeMirror-cursors{z-index:1}.cm-fat-cursor-mark{background-color:#14ff1480;animation:blink 1.06s steps(1) infinite}.cm-animate-fat-cursor{width:auto;border:0;animation:blink 1.06s steps(1) infinite;background-color:#7e7}@keyframes blink{50%{background-color:transparent}}.cm-tab{display:inline-block;text-decoration:inherit}.CodeMirror-rulers{position:absolute;inset:-50px 0 0;overflow:hidden}.CodeMirror-ruler{border-left:1px solid #ccc;top:0;bottom:0;position:absolute}.cm-s-default .cm-header{color:#00f}.cm-s-default .cm-quote{color:#090}.cm-negative{color:#d44}.cm-positive{color:#292}.cm-header,.cm-strong{font-weight:700}.cm-em{font-style:italic}.cm-link{text-decoration:underline}.cm-strikethrough{text-decoration:line-through}.cm-s-default .cm-keyword{color:#708}.cm-s-default .cm-atom{color:#219}.cm-s-default .cm-number{color:#164}.cm-s-default .cm-def{color:#00f}.cm-s-default .cm-variable-2{color:#05a}.cm-s-default .cm-variable-3,.cm-s-default .cm-type{color:#085}.cm-s-default .cm-comment{color:#a50}.cm-s-default .cm-string{color:#a11}.cm-s-default .cm-string-2{color:#f50}.cm-s-default .cm-meta,.cm-s-default .cm-qualifier{color:#555}.cm-s-default .cm-builtin{color:#30a}.cm-s-default .cm-bracket{color:#997}.cm-s-default .cm-tag{color:#170}.cm-s-default .cm-attribute{color:#00c}.cm-s-default .cm-hr{color:#999}.cm-s-default .cm-link{color:#00c}.cm-s-default .cm-error,.cm-invalidchar{color:red}.CodeMirror-composing{border-bottom:2px solid}div.CodeMirror span.CodeMirror-matchingbracket{color:#0b0}div.CodeMirror span.CodeMirror-nonmatchingbracket{color:#a22}.CodeMirror-matchingtag{background:#ff96004d}.CodeMirror-activeline-background{background:#e8f2ff}.CodeMirror{position:relative;overflow:hidden;background:#fff}.CodeMirror-scroll{overflow:scroll!important;margin-bottom:0;margin-right:0;padding-bottom:5px;height:100%;outline:none;position:relative}.CodeMirror-sizer{position:relative;border-right:0px}.CodeMirror-vscrollbar,.CodeMirror-hscrollbar,.CodeMirror-scrollbar-filler,.CodeMirror-gutter-filler{position:absolute;z-index:6;display:none}.CodeMirror-vscrollbar{right:0;top:0;overflow-x:hidden;overflow-y:scroll}.CodeMirror-hscrollbar{bottom:0;left:0;overflow-y:hidden;overflow-x:scroll}.CodeMirror-scrollbar-filler{right:0;bottom:0}.CodeMirror-gutter-filler{left:0;bottom:0}.CodeMirror-gutters{position:absolute;left:0;top:0;min-height:100%;z-index:3}.CodeMirror-gutter{white-space:normal;height:100%;display:inline-block;vertical-align:top;margin-bottom:-50px}.CodeMirror-gutter-wrapper{position:absolute;z-index:4;background:none!important;border:none!important}.CodeMirror-gutter-background{position:absolute;top:0;bottom:0;z-index:4}.CodeMirror-gutter-elt{position:absolute;cursor:default;z-index:4}.CodeMirror-gutter-wrapper ::selection{background-color:transparent}.CodeMirror-gutter-wrapper ::-moz-selection{background-color:transparent}.CodeMirror-lines{cursor:text;min-height:1px}.CodeMirror pre.CodeMirror-line,.CodeMirror pre.CodeMirror-line-like{border-radius:0;border-width:0;background:transparent;font-family:inherit;font-size:inherit;margin:0;white-space:pre;word-wrap:normal;line-height:inherit;color:inherit;z-index:2;position:relative;overflow:visible;-webkit-tap-highlight-color:transparent;font-variant-ligatures:contextual}.CodeMirror-wrap pre.CodeMirror-line,.CodeMirror-wrap pre.CodeMirror-line-like{word-wrap:break-word;white-space:pre-wrap;word-break:normal}.CodeMirror-linebackground{position:absolute;inset:0;z-index:0}.CodeMirror-linewidget{position:relative;z-index:2;padding:.1px}.CodeMirror-rtl pre{direction:rtl}.CodeMirror-code{outline:none}.CodeMirror-scroll,.CodeMirror-sizer,.CodeMirror-gutter,.CodeMirror-gutters,.CodeMirror-linenumber{box-sizing:content-box}.CodeMirror-measure{position:absolute;width:100%;height:0;overflow:hidden;visibility:hidden}.CodeMirror-cursor{position:absolute;pointer-events:none}.CodeMirror-measure pre{position:static}div.CodeMirror-cursors{visibility:hidden;position:relative;z-index:3}div.CodeMirror-dragcursors,.CodeMirror-focused div.CodeMirror-cursors{visibility:visible}.CodeMirror-selected{background:#d9d9d9}.CodeMirror-focused .CodeMirror-selected{background:#d7d4f0}.CodeMirror-crosshair{cursor:crosshair}.CodeMirror-line::selection,.CodeMirror-line>span::selection,.CodeMirror-line>span>span::selection{background:#d7d4f0}.CodeMirror-line::-moz-selection,.CodeMirror-line>span::-moz-selection,.CodeMirror-line>span>span::-moz-selection{background:#d7d4f0}.cm-searching{background-color:#ffa;background-color:#ff06}.cm-force-border{padding-right:.1px}@media print{.CodeMirror div.CodeMirror-cursors{visibility:hidden}}.cm-tab-wrap-hack:after{content:""}span.CodeMirror-selectedtext{background:none}.CodeMirror-sizer{padding-top:10px;padding-bottom:10px!important}.CodeMirror-empty.CodeMirror-focused{outline:none}.CodeMirror pre.CodeMirror-placeholder{color:#999}.CodeMirror{position:relative;overflow:hidden;background:#fff;word-break:break-word}.CodeMirror pre.CodeMirror-line,.CodeMirror pre.CodeMirror-line-like{word-wrap:break-word;word-break:break-word;white-space:pre-wrap;line-height:1.6}.markdown-toolbar-container{display:flex;flex-flow:row wrap;align-items:center;padding:0 28px 0 5px;margin:0;position:relative;list-style:none;background:#fff;border-bottom:1px solid #ccc;box-sizing:border-box;line-height:20px;width:100%;min-height:30px}.markdown-toolbar-container .fill-tip{cursor:pointer;font-size:12px;display:inline-block;padding:5px;border:1px solid #E99237;border-radius:5px;box-sizing:border-box;line-height:16px;height:auto;color:#a65500;background-color:#fff1e2;position:relative;margin-left:10px}.markdown-toolbar-container .fill-tip:before{content:" ";width:0;height:0;border-top:6px solid transparent;border-bottom:6px solid transparent;border-right:6px solid #FFF1E2;position:absolute;left:-6px;top:6px;z-index:10}.markdown-toolbar-container .fill-tip:after{content:" ";width:0;height:0;border-top:6px solid transparent;border-bottom:6px solid transparent;border-right:6px solid #E99237;position:absolute;left:-7px;top:6px}.markdown-toolbar-container li{color:#666;padding:0 1px;height:100%;display:flex;height:38px;flex-flow:column nowrap;justify-content:center}.markdown-toolbar-container a,.markdown-toolbar-container span{display:block}.markdown-toolbar-container a{width:28px;color:#666;cursor:pointer;text-align:center;font-size:18px}.markdown-toolbar-container a i{font-size:18px}.markdown-toolbar-container a i:before{font-size:18px}.markdown-toolbar-container .btn-null{width:auto;display:flex;flex-flow:row nowrap;align-items:center}.markdown-toolbar-container .insert-blank{color:#e99237;font-size:18px}.markdown-toolbar-container span.v-line{margin:0 5px;height:65%;border-right:1px solid #ccc}.mini .markdown-toolbar-container li{height:28px}.editor-resize{display:block;width:120px;height:4px;left:54%;border-top:1px solid #ccc;border-bottom:1px solid #ccc;cursor:row-resize;white-space:nowrap;overflow:hidden;text-transform:capitalize;box-sizing:border-box;margin:0 auto}.btn-full-screen{position:absolute;right:5px}@font-face{font-family:md-iconfont;src:url(./static/iconfont.345f94c8.eot);src:url(./static/iconfont.345f94c8.eot#iefix) format("embedded-opentype"),url(./static/iconfont.deef216b.woff) format("woff"),url(./static/iconfont.42606faf.ttf) format("truetype"),url(./static/iconfont.504b881c.svg#iconfont) format("svg")}.md-iconfont{font-family:md-iconfont!important;font-size:16px;font-style:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.icon-uniE900:before{content:"\e900";font-size:14px;margin-left:5px}.icon-shrink:before{content:"\e728"}.icon-enlarge:before{content:"\e623"}.icon-code:before{content:"\e602"}.icon-italic:before{content:"\e718"}.icon-bold:before{content:"\e644"}.icon-picture:before{content:"\e606"}.icon-minus:before{content:"\e62c"}.icon-order-list:before{content:"\e655"}.icon-link:before{content:"\e7d4"}.icon-formula:before{content:"\e633"}.icon-unorder-list:before{content:"\e668"}.icon-edit:before{content:"\e603"}.icon-table:before{content:"\e7db"}.icon-sum:before{content:"\e667"}.icon-eye:before{content:"\e69f"}.icon-eye-slash:before{content:"\e601"}.icon-eraser:before{content:"\e8cd"}.icon-file-code:before{content:"\e9ec"}.cm-s-blackboard.CodeMirror{background:#0c1021;color:#f8f8f8}.cm-s-blackboard div.CodeMirror-selected{background:#253b76}.cm-s-blackboard .CodeMirror-line::selection,.cm-s-blackboard .CodeMirror-line>span::selection,.cm-s-blackboard .CodeMirror-line>span>span::selection{background:#253b76fc}.cm-s-blackboard .CodeMirror-line::-moz-selection,.cm-s-blackboard .CodeMirror-line>span::-moz-selection,.cm-s-blackboard .CodeMirror-line>span>span::-moz-selection{background:#253b76fc}.cm-s-blackboard .CodeMirror-gutters{background:#0c1021;border-right:0}.cm-s-blackboard .CodeMirror-guttermarker{color:#fbde2d}.cm-s-blackboard .CodeMirror-guttermarker-subtle,.cm-s-blackboard .CodeMirror-linenumber{color:#888}.cm-s-blackboard .CodeMirror-cursor{border-left:1px solid #A7A7A7}.cm-s-blackboard .cm-keyword{color:#fbde2d}.cm-s-blackboard .cm-atom,.cm-s-blackboard .cm-number{color:#d8fa3c}.cm-s-blackboard .cm-def{color:#8da6ce}.cm-s-blackboard .cm-variable{color:#ff6400}.cm-s-blackboard .cm-operator{color:#fbde2d}.cm-s-blackboard .cm-comment{color:#aeaeae}.cm-s-blackboard .cm-string,.cm-s-blackboard .cm-string-2{color:#61ce3c}.cm-s-blackboard .cm-meta{color:#d8fa3c}.cm-s-blackboard .cm-builtin,.cm-s-blackboard .cm-tag,.cm-s-blackboard .cm-attribute{color:#8da6ce}.cm-s-blackboard .cm-header{color:#ff6400}.cm-s-blackboard .cm-hr{color:#aeaeae}.cm-s-blackboard .cm-link{color:#8da6ce}.cm-s-blackboard .cm-error{background:#9d1e15;color:#f8f8f8}.cm-s-blackboard .CodeMirror-activeline-background{background:#3c3636}.cm-s-blackboard .CodeMirror-matchingbracket{outline:1px solid grey;color:#fff!important}.upload-button{width:106px;height:32px;line-height:32px;font-size:12px;display:block;position:relative;color:#0152d9}.upload-button input{opacity:0;width:160px;height:32px;position:absolute;top:0;left:0;z-index:-1}.imageDimensions___a7crR{display:flex;justify-content:center;align-items:center;position:fixed;width:100%;height:100vh;left:0;top:0;z-index:1005;background:#fff;overflow:hidden}.imageDimensions___a7crR .img___Kroat{visibility:hidden;max-width:80%;min-width:500px}.imageDimensions___a7crR [class*=_toolbox_colors]{position:fixed;left:0;bottom:0}.imageDimensions___a7crR.fullWidth___c492T .img___Kroat{max-width:100%;width:100%;height:100%}.myPaletteDiv___Xjz2I{position:relative;left:-15px;width:320px}.myPaletteDiv___Xjz2I canvas{margin-top:15px}.flowChartWrp____f45r [class^=goTXarea],.flowChartWrp____f45r textarea{min-width:70px;margin-left:-15px!important}.maxH60___Pd4Re [class^=ant-modal-content]{height:57px!important;overflow:hidden}.lists___xhHyq{padding-bottom:10px}.lists___xhHyq code{background:none!important}.lists___xhHyq>div>div:first-child{background:#f6f6f6;display:flex;align-items:center;justify-content:center;flex-direction:column;padding:10px 0;font-size:12px;cursor:pointer}.lists___xhHyq>div>div:first-child [class^=katex]{font-size:22px}.item___pWJAA{position:relative}.item___pWJAA:nth-last-child(-n+3) .children___sDG61{left:initial;right:5px}.item___pWJAA:hover{z-index:2147483648}.item___pWJAA:hover .children___sDG61{display:block}.children___sDG61{display:none;position:absolute;left:6px;top:70px;width:440px;max-height:400px;overflow:auto;background:#fff;border:1px solid #ccc;border-radius:4px;box-shadow:0 0 6px #ccc;padding:15px}.children___sDG61 h1{font-size:14px;padding-top:6px}.children___sDG61 .diamond___FwgzD>div{background:#f6f6f6;display:flex;align-items:center;justify-content:center;flex-direction:column;cursor:pointer;height:50px;font-size:12px;padding:0 10px;min-width:80px}.children___sDG61 .diamond___FwgzD>div [class^=katex]{font-size:14px}.button___WPN6r{position:absolute;right:20px;bottom:20px}.mathWrap___FmnMJ{width:800px;height:550px}.mathFillWrap___PmY3H{cursor:pointer}.mathFillWrap___PmY3H ::part(menu-toggle){color:#00f;opacity:1;display:none}.mathFillWrap___PmY3H math-field{background:none}.mathFillWrap___PmY3H *{pointer-events:none}.discuss-item-editor{width:100%;overflow:hidden}.discuss-item-editor .btn-send{cursor:pointer;border:none;padding:0 12px;color:#fff;letter-spacing:1px;text-align:center;font-size:14px;height:30px;line-height:30px;border-radius:2px;font-weight:400;margin-right:22px;margin-top:6px;background:#0152d9;float:right}.discuss-item-container{display:flex;flex-flow:row nowrap;width:100%;padding:15px;border-bottom:1px solid #e3e3e3;overflow:hidden}.discuss-item-container section{margin-left:15px;flex:1 1 auto;width:100%}.discuss-item-container .grey{color:#ccc}.discuss-content{margin:4px 0;word-break:break-word;word-wrap:break-word}.discuss-content img{max-width:200px}.discuss-info{display:flex;flex-flow:row wrap;align-items:center;color:#999;line-height:16px;font-size:12px}.discuss-info .top{color:#fff;padding:0 8px;background:#ff4343;border-radius:8px;text-align:center}.discuss-info .gift{cursor:default}.discuss-info .view-code{color:#4cacff}.discuss-info a{color:#999}.discuss-info a,.discuss-info span{margin-right:15px}.hidden{display:none}.btn-group{display:flex;flex-flow:row nowrap;justify-content:flex-end;margin-bottom:8px}.btn-group .btn-top .iconfont{transform:rotate(180deg);display:inline-block}.btn-group a{width:31px;text-align:center;color:#888}.btn-group a .iconfont{font-size:14px!important}.second-level-discuss{padding:2px 8px}.second-level-discuss .btn-group{opacity:0}.second-level-discuss:hover{background:#ebebeb}.second-level-discuss:hover .btn-group{opacity:1}.discuss-info-body{display:flex;flex-flow:row wrap;align-items:center;justify-content:space-between}.reply-discuss-container{background:#f4f4f4;border-radius:4px;margin-bottom:6px;position:relative;margin-top:6px}.reply-discuss-container:before{content:" ";position:absolute;border-color:#000;width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;left:13px;top:-9px;border-bottom:10px solid #f4f4f4}.image-preview-container{display:flex;flex-flow:column nowrap;position:fixed;align-items:center;justify-content:center;inset:0;z-index:99999;background:#000c}.image-preview-container .image-preview{transition:transform .4s linear;max-width:86%}.image-preview-container .button-group{display:flex;flex-flow:row nowrap;align-items:center;justify-content:flex-end;position:absolute;z-index:101;right:10px;top:10px}.image-preview-container .button-group a,.image-preview-container .button-group button{color:#000000a6;margin-right:10px;display:flex;flex-flow:row nowrap;align-items:center}.preview-wrp-group{overflow:auto;width:100%;text-align:center}.flex_box_center___NeSU8{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___ImTGl{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___BtRd9{align-items:center;box-align:center}.flex_box_center_end___qcLe3{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___Ze_3q{flex-direction:column;box-orient:block-axis}.banner___PoUBO{display:flex;align-items:center;justify-content:center}.banner___PoUBO .content___XoDjy{width:1200px;height:212px;display:flex;align-items:flex-start;justify-content:space-between}.banner___PoUBO .content___XoDjy aside{margin-top:56px}.banner___PoUBO .content___XoDjy aside p{display:flex;align-items:center}.banner___PoUBO .content___XoDjy aside p b{font-size:30px;font-weight:500;color:#000;letter-spacing:4px;margin-right:20px}.banner___PoUBO .content___XoDjy aside p span{font-size:16px;color:#000;letter-spacing:4px}.banner___PoUBO .content___XoDjy aside .btns___Pb35j{margin-top:35px}.banner___PoUBO .content___XoDjy aside .btns___Pb35j>div{display:inline-block;height:32px;background:#f6f7f9;box-shadow:0 2px 4px #e0dfe1,inset 0 1px 3px #ffffff80;border-radius:4px;border:1px solid #dadbde;font-size:14px;color:#3b3e47;line-height:30px;margin-right:23px;padding:0 16px;position:relative;cursor:pointer}.banner___PoUBO .content___XoDjy aside .btns___Pb35j>div:hover{color:#165dff;border:1px solid #bacffe}.banner___PoUBO .content___XoDjy aside .btns___Pb35j>div img{position:absolute;z-index:1;top:-21px;right:22px}.flex_box_center___hG6RI{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___ss3Fh{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___K80p9{align-items:center;box-align:center}.flex_box_center_end___qmXX3{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___GFV8F{flex-direction:column;box-orient:block-axis}.row___aXJjm{display:flex;align-items:flex-start;justify-content:flex-start}.row___aXJjm .title___HUKL0{font-size:14px;color:#9096a3;flex-shrink:0;width:41px;text-align-last:justify;margin-top:4px;margin-right:12px}.row___aXJjm .tagsWrap___XB2W3{flex:1 1;position:relative}.row___aXJjm .tagsWrap___XB2W3 .action___VdHb1{font-size:14px;color:#82a8ff;width:55px;position:absolute;z-index:2;bottom:20px;right:0;cursor:pointer}.row___aXJjm .tagsWrap___XB2W3 .action___VdHb1 i{display:inline-block;font-size:12px}.row___aXJjm .tagsWrap___XB2W3 .bar___t1kKC{max-height:245px;overflow:hidden}.row___aXJjm .tagsWrap___XB2W3 .bar___t1kKC .tag___V7Eft>span{display:inline-flex;align-items:center;margin-left:8px;margin-bottom:17px;font-size:14px;cursor:pointer;padding:4px 12px}.row___aXJjm .tagsWrap___XB2W3 .bar___t1kKC .tag___V7Eft>span .name___Hk1Ip{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;max-width:600px;display:inline-block}.row___aXJjm .tagsWrap___XB2W3 .bar___t1kKC .tag___V7Eft>span .num___xQpcH{margin-left:3px}.row___aXJjm .tagsWrap___XB2W3 .bar___t1kKC .tag___V7Eft>span:hover{color:#165dff!important}.row___aXJjm .tagsWrap___XB2W3 .bar___t1kKC .tag___V7Eft .active___XryTX{color:#165dff!important;border-radius:2px;background:#f6f7f9}.row___aXJjm .tagsWrap___XB2W3 .bar___t1kKC::-webkit-scrollbar-thumb{background:#0000000d!important;border-radius:3px}.row___aXJjm .tagsWrap___XB2W3 .bar___t1kKC::-webkit-scrollbar-track{background-color:#f6f7f9!important;box-shadow:initial!important}.row___aXJjm .tagsBorderWrap___OMxjs .bar___t1kKC{padding-top:8px;border-radius:4px;border:1px solid rgba(219,220,224,.5)}.flex_box_center___aK2n3{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___HX0Oh{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___LJOJr{align-items:center;box-align:center}.flex_box_center_end___SCakF{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___AYv4m{flex-direction:column;box-orient:block-axis}.tabs___GTqPV{height:32px;background:#f6f7f9;box-shadow:inset 0 1px 3px #d7d8d9;border-radius:16px;display:inline-block}.tabs___GTqPV span{display:inline-block;padding:0 20px;line-height:32px;font-size:14px;font-weight:400;color:#9096a3;position:relative;cursor:pointer}.tabs___GTqPV span:hover{color:#165dff}.tabs___GTqPV span:after{content:"";position:absolute;width:1px;height:calc(100% - 2px);background:#e2e2e2;border-radius:4px;z-index:1;left:0;top:1px;background:linear-gradient(180deg,#fff0,#e2e2e2,#fff0)}.tabs___GTqPV span:first-child:after,.tabs___GTqPV .active___F26E8+span:after{display:none}.tabs___GTqPV .active___F26E8{background:linear-gradient(180deg,#fff,#f6f7f9);box-shadow:0 0 2px #e8effb;border-radius:16px;border:1px solid #c8d2ea;color:#165dff;line-height:30px}.tabs___GTqPV .active___F26E8:after{display:none}.flex_box_center___yX6Oa{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___t7oqF{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___dEIHy{align-items:center;box-align:center}.flex_box_center_end___taQDF{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___xY_Lr{flex-direction:column;box-orient:block-axis}.input___PW2zI{width:507px;height:38px;background:#f6f7f9;border-radius:19px;display:flex;align-items:center;padding:0 20px}.input___PW2zI .dropdown___vSy8B{position:relative;flex-shrink:0}.input___PW2zI .dropdown___vSy8B:hover .menu___NiyBu{display:block}.input___PW2zI .dropdown___vSy8B .text___Grueu{color:#000;font-size:14px;cursor:default;height:38px;display:flex;align-items:center}.input___PW2zI .dropdown___vSy8B .text___Grueu i{font-size:12px;display:inline-block;transform:translateY(1px) scale(.6);color:#979797}.input___PW2zI .dropdown___vSy8B .text___Grueu .b1___ZKryM{display:inline-block;width:1px;height:38px;margin-left:15px;margin-right:0;background:linear-gradient(180deg,#fff0,#fff,#fff0)}.input___PW2zI .dropdown___vSy8B .text___Grueu .b2___aKyGa{display:inline-block;width:1px;height:38px;margin-left:0;margin-right:8px;background:linear-gradient(180deg,#fff0,#e2e2e2,#fff0)}.input___PW2zI .dropdown___vSy8B .menu___NiyBu{display:none;position:absolute;z-index:999;width:auto;left:-16px;top:35px;padding:4px;background-color:#fff;border-radius:8px;box-shadow:0 10px 16px #cecece}.input___PW2zI .dropdown___vSy8B .menu___NiyBu div{clear:both;margin:0;padding:5px 12px;color:#000000e0;font-weight:400;font-size:14px;text-align:left;line-height:1.57142857;cursor:pointer;transition:all .2s;white-space:nowrap}.input___PW2zI .dropdown___vSy8B .menu___NiyBu div:hover{background-color:#f5f5f5}.input___PW2zI>input{flex:1 1;padding:4px 0}.flex_box_center___tol8o{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___Z235C{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___Wq1sZ{align-items:center;box-align:center}.flex_box_center_end___LLxom{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___DbMSN{flex-direction:column;box-orient:block-axis}.quickPager___GM30J{display:flex;align-items:center;justify-content:center}.quickPager___GM30J>div{width:60px;height:28px;line-height:26px;text-align:center;background:#f8f9fc;border-radius:2px;border:1px solid rgba(195,207,224,.5);font-size:12px;color:#464f66;margin:0 10px;user-select:none;cursor:pointer}.quickPager___GM30J>div:hover{color:#165dff}.quickPager___GM30J .disabled___Ozc8I{background:#f3f3f5;border:0;line-height:28px;cursor:not-allowed;color:#cecece}.flex_box_center___FO7TP{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___LotYx{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___bWdaw{align-items:center;box-align:center}.flex_box_center_end___mVJ1o{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___M83Mm{flex-direction:column;box-orient:block-axis}.list___oOsiS{display:flex;justify-content:flex-start;align-items:center;flex-wrap:wrap;padding:0}.list___oOsiS .wrap___G6T7F{height:277px;background:#fff;box-shadow:0 2px 4px #d6dae1;border-radius:8px;position:relative}.list___oOsiS .wrap___G6T7F .lockWrap___Rl79E{position:absolute;width:100%;left:0;top:0;background-color:#00000080;height:100%;z-index:10;display:flex;cursor:default;justify-content:center;align-items:center;flex-direction:column;border-radius:8px}.list___oOsiS .wrap___G6T7F .li___oZZ7l:hover .cover___b2bYW{transform:scale(1.1)}.list___oOsiS .wrap___G6T7F .li___oZZ7l .img___IQX7w{overflow:hidden;height:calc(100% - 100px);border-radius:8px 8px 0 0;position:relative}.list___oOsiS .wrap___G6T7F .li___oZZ7l .img___IQX7w .cover___b2bYW{width:100%;transition:all .5s}.list___oOsiS .wrap___G6T7F .li___oZZ7l .img___IQX7w .sign___HkT6C{position:absolute;z-index:1;left:0;bottom:0;height:30px}.list___oOsiS .wrap___G6T7F .li___oZZ7l .name___SsJx8{height:52px;font-size:16px;font-weight:600;color:#000;padding:30px 12px 0;width:100%;display:flex;align-items:center}.list___oOsiS .wrap___G6T7F .li___oZZ7l .name___SsJx8 .e___TMqq0{display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}.list___oOsiS .wrap___G6T7F .li___oZZ7l .tags___bcjyo{height:45px;display:flex;align-items:center;color:#000f37;padding:0 12px}.list___oOsiS .wrap___G6T7F .li___oZZ7l .tags___bcjyo i{color:#7d8592}.list___oOsiS .wrap___G6T7F .li___oZZ7l .tags___bcjyo>span{margin-right:5px;font-size:12px}.list___oOsiS .wrap___G6T7F .li___oZZ7l .tags___bcjyo .rate___YACg7{display:flex;align-items:center;margin-left:auto}.list___oOsiS .wrap___G6T7F .li___oZZ7l .tags___bcjyo .rate___YACg7 [class~=ant-rate-star]{font-size:13px}.list___oOsiS .wrap___G6T7F .li___oZZ7l .tags___bcjyo .rate___YACg7 [class~=ant-rate]{font-size:12px;margin-top:-3px;color:#ffa100}.list___oOsiS .wrap___G6T7F .li___oZZ7l .tags___bcjyo .rate___YACg7 [class~=ant-rate-star]:not(:last-child){margin-right:2px}.flex_box_center___AQ53o{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___i2aIa{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___sPEKB{align-items:center;box-align:center}.flex_box_center_end___GhSSH{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___R9_Hb{flex-direction:column;box-orient:block-axis}.list___jb2Ay{display:flex;justify-content:flex-start;align-items:center;flex-wrap:wrap;padding:0}.list___jb2Ay .wrap___VsQDr{height:308px;background:#fff;box-shadow:0 2px 4px #d6dae1;border-radius:8px;position:relative}.list___jb2Ay .wrap___VsQDr:hover [class~=user-path-items]{display:block!important}.list___jb2Ay .wrap___VsQDr .lockWrap___g1k1T{position:absolute;width:100%;left:0;top:0;background-color:#00000080;height:100%;z-index:10;display:flex;cursor:default;justify-content:center;align-items:center;border-radius:8px}.list___jb2Ay .wrap___VsQDr .li___IxCLC:hover .cover___Mu8wr{transform:scale(1.1)}.list___jb2Ay .wrap___VsQDr .li___IxCLC .img___IpFLA{overflow:hidden;height:calc(100% - 131px);border-radius:8px 8px 0 0}.list___jb2Ay .wrap___VsQDr .li___IxCLC .img___IpFLA .cover___Mu8wr{width:100%;transition:all .5s}.list___jb2Ay .wrap___VsQDr .li___IxCLC .img___IpFLA .movebq___mF7wt{display:none;position:absolute;top:0;right:0;width:70px;height:32px;background:#0000004d;color:#d9c7ab;padding:0 8px;font-size:16px;line-height:32px;border-top-right-radius:8px;border-bottom-left-radius:8px}.list___jb2Ay .wrap___VsQDr .li___IxCLC .img___IpFLA .bq___Bil0T{margin-right:10px;width:64px;height:22px;background:#0000004d;color:#d9c7ab;border-radius:2px;padding:0 8px;font-size:12px;line-height:22px}.list___jb2Ay .wrap___VsQDr .li___IxCLC .img___IpFLA .sign___DXJ4d{width:52px;text-align:center;position:absolute;z-index:2;left:0;top:7px;color:#fff}.list___jb2Ay .wrap___VsQDr .li___IxCLC .name___l7FoJ{height:52px;font-size:16px;font-weight:600;color:#000;padding:30px 12px 0;width:100%;display:flex;align-items:center}.list___jb2Ay .wrap___VsQDr .li___IxCLC .name___l7FoJ .e___pXQUG{display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}.list___jb2Ay .wrap___VsQDr .li___IxCLC .unit___wCIFR{font-size:14px;color:#000f37;padding:0 12px;margin-top:8px;display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}.list___jb2Ay .wrap___VsQDr .li___IxCLC .unit___wCIFR i{color:#7d8592}.list___jb2Ay .wrap___VsQDr .li___IxCLC .tags___w_Mil{height:34px;display:flex;align-items:center;justify-content:space-between;color:#000f37;padding:0 12px}.list___jb2Ay .wrap___VsQDr .li___IxCLC .tags___w_Mil div{display:flex;align-items:center}.list___jb2Ay .wrap___VsQDr .li___IxCLC .tags___w_Mil div>span{margin-right:12px;font-size:12px}.list___jb2Ay .wrap___VsQDr .li___IxCLC .tags___w_Mil div i{color:#7d8592}.list___jb2Ay .wrap___VsQDr .li___IxCLC .tags___w_Mil .tag1___dxm7r,.list___jb2Ay .wrap___VsQDr .li___IxCLC .tags___w_Mil .tag2___llZkf{height:18px;padding:3px 6px;font-size:12px;border-radius:2px;border:1px solid #FFE6AB;color:#ca7720;display:flex;align-items:center;justify-content:center;font-weight:400}.list___jb2Ay .wrap___VsQDr .li___IxCLC .tags___w_Mil .tag2___llZkf{border:1px solid #D6F7EF;color:#01795d;margin-left:6px}.flex_box_center___eMcr7{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___HcNca{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___ZnvVN{align-items:center;box-align:center}.flex_box_center_end___fdgDf{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___SEKvd{flex-direction:column;box-orient:block-axis}.list___L1hmU{display:flex;justify-content:flex-start;align-items:center;flex-wrap:wrap;padding:0}.list___L1hmU .wrap___pKgcW{height:270px;background:#fff;box-shadow:0 1px 4px #d6dae1;border-radius:8px;position:relative}.list___L1hmU .wrap___pKgcW:hover .lockWrap___SMhkK{display:flex}.list___L1hmU .wrap___pKgcW .lockWrap___SMhkK{position:absolute;z-index:10;left:0;top:0;width:100%;height:100%;background:#0009;box-shadow:0 2px 5px #0000000d;border-radius:8px;display:none;flex-direction:column;justify-content:center;align-items:center}.list___L1hmU .wrap___pKgcW .lockWrap___SMhkK div{width:116px;height:36px;border-radius:18px;border:1px solid #ffffff;font-size:14px;font-weight:600;color:#fff;line-height:34px;text-align:center;margin:10px 0;cursor:pointer}.list___L1hmU .wrap___pKgcW .lockWrap___SMhkK div:hover{box-shadow:0 0 4px #4f85ff;border:1px solid #c2d3f8}.list___L1hmU .wrap___pKgcW .top___udHSB{height:calc(100% - 50px);display:flex;flex-direction:column;align-items:center;justify-content:flex-start;padding:0 24px;position:relative}.list___L1hmU .wrap___pKgcW .top___udHSB .sign___uwRpq{position:absolute;z-index:1;width:44px;height:22px;background:#ffe9c1;border-radius:8px 0 13px;left:0;top:0;color:#a45204;text-align:center;line-height:22px}.list___L1hmU .wrap___pKgcW .top___udHSB .name___Fpf90{font-weight:600;color:#333;margin-top:25px;font-size:16px;white-space:normal;text-align:center;-webkit-box-orient:vertical;display:-webkit-box;-webkit-line-clamp:2;overflow:hidden;line-height:26px;height:48px}.list___L1hmU .wrap___pKgcW .top___udHSB .img___AMLhL{width:60px;height:60px;border-radius:30px;margin-top:14px}.list___L1hmU .wrap___pKgcW .top___udHSB .text___KiTb7{font-size:14px;color:#333;margin-top:8px;width:98%;text-align:center;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.list___L1hmU .wrap___pKgcW .top___udHSB .btns___i6IuZ{display:flex;align-items:center;margin-top:12px}.list___L1hmU .wrap___pKgcW .top___udHSB .btns___i6IuZ div{width:76px;background:#fff;height:26px;border-radius:13px;border:1px solid #d6f7ef;font-size:14px;color:#01795d;line-height:24px;text-align:center;margin:0 10px}.list___L1hmU .wrap___pKgcW .top___udHSB .btns___i6IuZ aside{width:76px;background:#fff;height:26px;border-radius:13px;border:1px solid #ffe9c1;font-size:14px;color:#a45204;line-height:24px;text-align:center;margin:0 10px}.list___L1hmU .wrap___pKgcW .bottom____k2sh{height:50px;border-top:1px solid #f5f5f5;display:flex;align-items:center;padding:0 12px}.list___L1hmU .wrap___pKgcW .bottom____k2sh>div{margin-left:auto}.list___L1hmU .wrap___pKgcW .bottom____k2sh>span{display:flex;align-items:center;margin-right:12px;color:#999}.list___L1hmU .wrap___pKgcW .bottom____k2sh>span i{font-size:14px;font-size:12px;color:#999;margin-right:6px}.flex_box_center___d27mZ{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___qfRU9{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___fCRld{align-items:center;box-align:center}.flex_box_center_end___ORMV8{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___PNKtZ{flex-direction:column;box-orient:block-axis}.tabs___alpa7{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #dbdce0;height:54px}.tabs___alpa7 .tabsWrap___aCQjw{display:flex;align-items:center;height:100%}.tabs___alpa7 .tabsWrap___aCQjw .tab___MKLr4{display:flex;align-items:center;margin-right:40px;height:100%;cursor:pointer}.tabs___alpa7 .tabsWrap___aCQjw .tab___MKLr4>div{position:relative;font-size:14px;font-weight:400;color:#5f6368;display:flex;align-items:center;height:100%}.tabs___alpa7 .tabsWrap___aCQjw .tab___MKLr4 .active___nl_4v{font-weight:500;color:#202124}.tabs___alpa7 .tabsWrap___aCQjw .tab___MKLr4 .active___nl_4v:after{position:absolute;content:"";width:100%;z-index:4;left:0;bottom:0;height:3px;background:#202124;border-radius:100px 100px 0 0}.flex_box_center___e6HxQ{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___RnXYe{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___lVxPk{align-items:center;box-align:center}.flex_box_center_end___bu8yv{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___JczGj{flex-direction:column;box-orient:block-axis}.orderWrap___ZfyGX{display:box;display:flex;align-items:center}.orderIconWrap___XTB_O{display:box;display:flex;flex-direction:column;height:40px;line-height:40px;color:#999}.orderAsc___KWHmA{flex-direction:column;text-align:center;height:10px;line-height:10px;display:inline-block;margin-top:9px;transform:translateY(2px)}.orderDesc___rHdbB{flex-direction:column;text-align:center;height:10px;line-height:10px;display:table}.active___a7eSP{color:#232b40!important}.cursorPointer___gs9kL{cursor:pointer;color:#d8d8d8;height:10px}.orderTextWrap___teAKn{font-size:14px;color:#3b3e47;cursor:pointer;margin-right:5px}.flex_box_center___LCi0B{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___hzONe{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___ZyQRE{align-items:center;box-align:center}.flex_box_center_end___XKM74{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___p8LCU{flex-direction:column;box-orient:block-axis}.btn___In02G.mediacy-round___uveEv{height:36px;border-radius:36px}.btn___In02G.mediacy-default___dDxsd{height:36px;border-radius:4px}.btn___In02G .default___K791v{background:#f6f7f9 linear-gradient(180deg,#fff,#f6f7f9);box-shadow:0 2px 4px #e0dfe1,inset 0 1px 3px #ffffff80;border:1px solid #bacffe;font-size:14px;padding:0 15px;color:#3061d0;text-align:center;cursor:pointer;user-select:none}button[class~=ant-btn-default]:not(:disabled).btn___In02G{background:#f6f7f9 linear-gradient(180deg,#fff,#f6f7f9);box-shadow:0 2px 4px #e0dfe1,inset 0 1px 3px #ffffff80;border:1px solid #bacffe;font-size:14px;padding:0 15px;color:#3061d0;text-align:center;cursor:pointer;user-select:none}button[class~=ant-btn-default]:not(:disabled).btn___In02G:hover{color:#165dff;border:1px solid #165dff}button[class~=ant-btn-default]:disabled.btn___In02G{background:#f6f7f9 linear-gradient(180deg,#fff,#f6f7f9);box-shadow:0 2px 4px #e0dfe1,inset 0 1px 3px #ffffff80;border:1px solid #bacffe;font-size:14px;padding:0 15px;color:#3061d0;text-align:center;cursor:pointer;user-select:none;opacity:50%;cursor:not-allowed}.flex_box_center___TB7bQ{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___oBlTb{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___b5XbB{align-items:center;box-align:center}.flex_box_center_end___CNhe7{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___yHXKW{flex-direction:column;box-orient:block-axis}.head___ghH72{height:54px;border-bottom:1px solid #DBDCE0;display:flex;align-items:center}.head___ghH72>span{color:#999;font-size:12px;cursor:pointer;flex-shrink:0}.head___ghH72>b{font-weight:500;color:#232b40;margin-left:30px;font-size:14px;flex:1 1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.head___ghH72 .node___mjPEy{margin-left:auto;flex-shrink:0}.flex_box_center___AlHuF{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___vN2LW{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___Ac7D2{align-items:center;box-align:center}.flex_box_center_end___y38I7{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___iQE6P{flex-direction:column;box-orient:block-axis}.btns___sNgTb{display:flex;align-items:center}.btns___sNgTb .confirm___Ozirl{height:38px;background:#3061d0;border-radius:2px;color:#fff;padding:0 34px}.btns___sNgTb .cancel___aiq1I{height:38px;background:#f8f9fc;border-radius:2px;opacity:.5;border:1px solid #C3CFE0;font-size:14px;color:#464f66;margin-left:20px}.flex_box_center___jkpdr{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___OtsL8{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___rbcb_{align-items:center;box-align:center}.flex_box_center_end___zBR21{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___nS_eP{flex-direction:column;box-orient:block-axis}.fixedBottom___oJl7m{width:100%;height:70px;background:#fff;box-shadow:0 -3px 16px #dbdbdb80;position:fixed;z-index:1000;bottom:0;left:0}.fixedBottom___oJl7m .wrap___A3Oq1{width:1200px;height:100%;margin:auto;display:flex;align-items:center;justify-content:space-between}.fixedBottom___oJl7m .wrap___A3Oq1 .center____VL1y{flex:1 1}.flex_box_center___tY8Yn{justify-content:center;align-items:center;-webkit-justify-content:center;box-align:center}.flex_space_between___vHdYA{justify-content:space-between;-webkit-box-pack:justify}.flex_box_vertical_center___pa61F{align-items:center;box-align:center}.flex_box_center_end___HyDXt{justify-content:flex-end;align-items:center;-webkit-justify-content:flex-end;-webkit-align-items:center;-webkit-box-align:center;-webkit-box-pack:end;box-align:center;box-pack:end}.flex_box_column___UjZek{flex-direction:column;box-orient:block-axis}.crumbs___V41Oe{margin:15px auto 25px;width:1200px;cursor:default}.crumbs___V41Oe span{font-size:12px;color:#c5c5c5}.crumbs___V41Oe .hover___bEIVd{cursor:pointer}.crumbs___V41Oe .hover___bEIVd:hover{color:#5f6368} diff --git a/umi.c36feec1.js b/umi.e3baea60.js similarity index 99% rename from umi.c36feec1.js rename to umi.e3baea60.js index 1649d3b990..3f6e2bb2bf 100644 --- a/umi.c36feec1.js +++ b/umi.e3baea60.js @@ -964,7 +964,7 @@ http://j.mp/37Fkd5Q `)},{label:"include ",content:["#include "].join(` `)}]},o={keywords:["and","as","assert","break","class","continue","def","del","elif","else","except","exec","finally","for","from","global","if","import","in","is","lambda","None","not","or","pass","raise","return","self","try","while","with","yield","int","float","long","complex","hex","abs","all","any","apply","basestring","bin","bool","buffer","bytearray","callable","chr","classmethod","cmp","coerce","compile","complex","delattr","dict","dir","divmod","enumerate","eval","execfile","file","filter","format","frozenset","getattr","globals","hasattr","hash","help","id","input","intern","isinstance","issubclass","iter","len","locals","list","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","reversed","range","raw_input","reduce","reload","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","unichr","unicode","vars","xrange","zip","True","False","__dict__","__methods__","__members__","__class__","__bases__","__name__","__mro__","__subclasses__","__init__","__import__"],quickKey:[{label:"print",content:["print($0)"].join(` `)}]},h={keywords:["asInstanceOf","catch","class","classOf","def","do","else","extends","finally","for","foreach","forSome","if","import","isInstanceOf","macro","match","new","object","package","return","throw","trait","try","type","until","val","var","while","with","yield","given","enum","then"],quickKey:[{label:"println",content:["println($0)"].join(` -`)}]};var u=e(53184),a=e.n(u),x=Object.defineProperty,p=Object.defineProperties,y=Object.getOwnPropertyDescriptors,_=Object.getOwnPropertySymbols,b=Object.prototype.hasOwnProperty,S=Object.prototype.propertyIsEnumerable,R=(ge,Ce,Me)=>Ce in ge?x(ge,Ce,{enumerable:!0,configurable:!0,writable:!0,value:Me}):ge[Ce]=Me,L=(ge,Ce)=>{for(var Me in Ce||(Ce={}))b.call(Ce,Me)&&R(ge,Me,Ce[Me]);if(_)for(var Me of _(Ce))S.call(Ce,Me)&&R(ge,Me,Ce[Me]);return ge},P=(ge,Ce)=>p(ge,y(Ce)),D=(ge,Ce,Me)=>new Promise(($e,He)=>{var it=Wt=>{try{Vt(Me.next(Wt))}catch(De){He(De)}},ct=Wt=>{try{Vt(Me.throw(Wt))}catch(De){He(De)}},Vt=Wt=>Wt.done?$e(Wt.value):Promise.resolve(Wt.value).then(it,ct);Vt((Me=Me.apply(ge,Ce)).next())});const B={languages:["c","abap","apex","azcli","bat","cameligo","clojure","coffee","cpp","csharp","csp","css","dockerfile","fsharp","go","graphql","handlebars","html","ini","java","javascript","json","kotlin","less","lua","markdown","mips","msdax","mysql","objective-c","pascal","pascaligo","perl","pgsql","php","postiats","powerquery","powershell","pug","python","r","razor","redis","redshift","restructuredtext","ruby","rust","sb","scheme","scss","shell","solidity","sophia","sql","st","swift","tcl","twig","vb","xml","yaml'"],tables:{users:["name","id","email","phone","password"],roles:["id","name","order","created_at","updated_at","deleted_at"]}},$=(ge,Ce)=>Ce.map(Me=>({label:Me,kind:ge.languages.CompletionItemKind.Keyword,insertText:Me})),j=ge=>Object.keys(B.tables).map(Ce=>({label:Ce,kind:ge.languages.CompletionItemKind.Variable,insertText:Ce})),K=(ge,Ce)=>{const Me=B.tables[ge];return Me?Me.map($e=>({label:$e,kind:Ce.languages.CompletionItemKind.Field,insertText:$e})):[]};function V(ge,Ce,Me,$e,He){let it=Ce.getWordUntilPosition(Me),ct={startLineNumber:Me.lineNumber,endLineNumber:Me.lineNumber,startColumn:it.startColumn,endColumn:it.endColumn},Vt=$e.map(Wt=>({label:Wt,kind:ge.languages.CompletionItemKind.Keyword,insertText:Wt,insertTextRules:ge.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:ct}));return He.map(Wt=>{Vt.push(P(L({},Wt),{range:ct}))}),Vt}var W=ge=>{B.languages.map(He=>(ge.languages.registerDocumentFormattingEditProvider(He,{provideDocumentFormattingEdits(it,ct,Vt){return D(this,null,function*(){const Wt=a()(it.getValue(),{indent_size:"2",indent_char:" ",max_preserve_newlines:"2",preserve_newlines:!0,keep_array_indentation:!0,break_chained_methods:!1,indent_scripts:"normal",brace_style:"collapse",space_before_conditional:!0,unescape_strings:!1,jslint_happy:!1,end_with_newline:!0,wrap_line_length:"0",indent_inner_html:!1,comma_first:!1,e4x:!1,indent_empty_lines:!1});return[{range:it.getFullModelRange(),text:Wt}]})}}),He));const Ce=f.quickKey.map(He=>({label:He.label,kind:ge.languages.CompletionItemKind.Method,insertText:He.content,insertTextRules:ge.languages.CompletionItemInsertTextRule.InsertAsSnippet})),Me=o.quickKey.map(He=>({label:He.label,kind:ge.languages.CompletionItemKind.Method,insertText:He.content,insertTextRules:ge.languages.CompletionItemInsertTextRule.InsertAsSnippet})),$e=c.quickKey.map(He=>({label:He.label,kind:ge.languages.CompletionItemKind.Method,insertText:He.content,insertTextRules:ge.languages.CompletionItemInsertTextRule.InsertAsSnippet}));ge.languages.registerCompletionItemProvider("cpp",{provideCompletionItems:function(He,it){var ct=He.getWordUntilPosition(it),Vt={startLineNumber:it.lineNumber,endLineNumber:it.lineNumber,startColumn:ct.startColumn,endColumn:ct.endColumn},Wt=He.getLineContent(it.lineNumber).substring(ct.startColumn-2,ct.endColumn);return{suggestions:[...f.keywords.map(De=>({label:De,kind:ge.languages.CompletionItemKind.Function,documentation:De,insertText:De,insertTextRules:ge.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Vt})),...f.quickKey.map(De=>({label:De.label,kind:ge.languages.CompletionItemKind.Function,documentation:De.content,insertText:Wt.startsWith("#")?De.content.replace(/#/,""):De.content,insertTextRules:ge.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Vt}))]}}}),ge.languages.registerCompletionItemProvider("c",{provideCompletionItems:function(He,it){var ct=He.getWordUntilPosition(it),Vt={startLineNumber:it.lineNumber,endLineNumber:it.lineNumber,startColumn:ct.startColumn,endColumn:ct.endColumn};return{suggestions:[...l.keywords.map(Wt=>({label:Wt,kind:ge.languages.CompletionItemKind.Function,documentation:Wt,insertText:Wt,insertTextRules:ge.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Vt}))]}}}),ge.languages.registerCompletionItemProvider("java",{provideCompletionItems:function(He,it){var ct=He.getWordUntilPosition(it),Vt={startLineNumber:it.lineNumber,endLineNumber:it.lineNumber,startColumn:ct.startColumn,endColumn:ct.endColumn},Wt=He.getLineContent(it.lineNumber).substring(ct.startColumn-2,ct.endColumn);return{suggestions:[...c.keywords.map(De=>({label:De,kind:ge.languages.CompletionItemKind.Function,documentation:De,insertText:De,insertTextRules:ge.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Vt})),...c.quickKey.map(De=>({label:De.label,kind:ge.languages.CompletionItemKind.Function,documentation:De.content,insertText:Wt.startsWith("#")?De.content.replace(/#/,""):De.content,insertTextRules:ge.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Vt}))]}}}),ge.languages.registerCompletionItemProvider("scala",{provideCompletionItems:function(He,it){var ct=He.getWordUntilPosition(it),Vt={startLineNumber:it.lineNumber,endLineNumber:it.lineNumber,startColumn:ct.startColumn,endColumn:ct.endColumn},Wt=He.getLineContent(it.lineNumber).substring(ct.startColumn-2,ct.endColumn);return{suggestions:[...h.keywords.map(De=>({label:De,kind:ge.languages.CompletionItemKind.Function,documentation:De,insertText:De,insertTextRules:ge.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Vt})),...h.quickKey.map(De=>({label:De.label,kind:ge.languages.CompletionItemKind.Function,documentation:De.content,insertText:Wt.startsWith("#")?De.content.replace(/#/,""):De.content,insertTextRules:ge.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Vt}))]}}}),ge.languages.registerCompletionItemProvider("python",{provideCompletionItems:function(He,it){var ct=He.getWordUntilPosition(it),Vt={startLineNumber:it.lineNumber,endLineNumber:it.lineNumber,startColumn:ct.startColumn,endColumn:ct.endColumn},Wt=He.getLineContent(it.lineNumber).substring(ct.startColumn-2,ct.endColumn);return{suggestions:[...o.keywords.map(De=>({label:De,kind:ge.languages.CompletionItemKind.Function,documentation:De,insertText:De,insertTextRules:ge.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Vt})),...o.quickKey.map(De=>({label:De.label,kind:ge.languages.CompletionItemKind.Function,documentation:De.content,insertText:Wt.startsWith("#")?De.content.replace(/#/,""):De.content,insertTextRules:ge.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Vt}))]}}})};const oe="\u8BE5\u4EFB\u52A1\u5173\u5361\u8BBE\u7F6E\u4E86\u7981\u6B62\u590D\u5236\u7C98\u8D34\uFF0C\u8BF7\u624B\u52A8\u8F93\u5165\u4EE3\u7801\u3002";var se=Object.defineProperty,le=(ge,Ce,Me)=>Ce in ge?se(ge,Ce,{enumerable:!0,configurable:!0,writable:!0,value:Me}):ge[Ce]=Me,q=(ge,Ce,Me)=>le(ge,typeof Ce!="symbol"?Ce+"":Ce,Me);const J=class kd{constructor(Ce,Me,$e){this.placeholder=Ce,this.editor=Me,this.monaco=$e,Me.onDidChangeModelContent(()=>this.onDidChangeModelContent()),this.onDidChangeModelContent()}onDidChangeModelContent(){this.editor.getValue()===""?this.editor.addContentWidget(this):this.editor.removeContentWidget(this)}getId(){return kd.ID}getDomNode(){return this.domNode||(this.domNode=document.createElement("div"),this.domNode.style.width="max-content",this.domNode.textContent=this.placeholder,this.domNode.style.fontStyle="initial",this.domNode.style.color="#D7D7D7",this.domNode.style.pointerEvents="none",this.editor.applyFontInfo(this.domNode)),this.domNode}getPosition(){return{position:{lineNumber:1,column:1},preference:[this.monaco.editor.ContentWidgetPositionPreference.EXACT]}}dispose(){this.editor.removeContentWidget(this)}};q(J,"ID","editor.widget.placeholderHint");var ue=J,ne=e(96236),te=e(8591),ae=e(6848),F=e(89392),M=e(34604),Q=e(56102),de=Object.defineProperty,we=Object.defineProperties,Te=Object.getOwnPropertyDescriptors,je=Object.getOwnPropertySymbols,Fe=Object.prototype.hasOwnProperty,Ft=Object.prototype.propertyIsEnumerable,_t=(ge,Ce,Me)=>Ce in ge?de(ge,Ce,{enumerable:!0,configurable:!0,writable:!0,value:Me}):ge[Ce]=Me,Pt=(ge,Ce)=>{for(var Me in Ce||(Ce={}))Fe.call(Ce,Me)&&_t(ge,Me,Ce[Me]);if(je)for(var Me of je(Ce))Ft.call(Ce,Me)&&_t(ge,Me,Ce[Me]);return ge},qt=(ge,Ce)=>we(ge,Te(Ce)),er=(ge,Ce)=>{var Me={};for(var $e in ge)Fe.call(ge,$e)&&Ce.indexOf($e)<0&&(Me[$e]=ge[$e]);if(ge!=null&&je)for(var $e of je(ge))Ce.indexOf($e)<0&&Ft.call(ge,$e)&&(Me[$e]=ge[$e]);return Me},Jt=(ge,Ce,Me)=>new Promise(($e,He)=>{var it=Wt=>{try{Vt(Me.next(Wt))}catch(De){He(De)}},ct=Wt=>{try{Vt(Me.throw(Wt))}catch(De){He(De)}},Vt=Wt=>Wt.done?$e(Wt.value):Promise.resolve(Wt.value).then(it,ct);Vt((Me=Me.apply(ge,Ce)).next())});function Xe(ge){return/^\d+$/.test(ge)?`${ge}px`:ge}function It(){}let zt=!1;const st={"Python3.6":"python","Python2.7":"python",Dynamips:"cpp",Java:"java",Web:"php",Html:"html",Hive:"sql",Hadoop:"java",SDL:"cpp",PHP:"php",Matlab:"python",Git:"python",Python:"python","C/C++":"cpp","C++":"cpp",C:"cpp",Ruby:"ruby",Shell:"shell",JavaScript:"javascript",Perl6:"perl",Kotlin:"kotlin",Elixir:"elixir",Android:"java",JavaWeb:"java",Go:"go",Spark:"sql",MachineLearning:"python",Verilog:"xml","Verilog/VNC":"xml",Docker:"dockerfile","C#":"csharp",SQLite3:"sql",Oracle:"sql",Vhdl:"vhdl",R:"r",Swift:"swift",SQLServer:"mysql",MySQL:"mysql",Mongo:"sql",PostgreSql:"pgsql",Hbase:"powershell",Sqoop:"sql",Nasm:"cpp",Kafka:"java",Flink:"java",Sml:"javascript",OpenGL:"cpp",Perl5:"perl",Orange:"python",Scala:"scale",solidity:"sol"};function bt(ge=[]){let Ce=ge;if(Array.isArray(ge)){for(let Me=0;Me{var Ce=ge,{width:Me="100%",height:$e="100%",value:He,language:it="javascript",style:ct={},options:Vt={},overrideServices:Wt={},theme:De="vs-dark",onEditBlur:Je,isCopy:Gt=!1,onSave:kt,autoHeight:Ht=!1,forbidCopy:jt=!1,onChange:At=It,editorDidMount:Yt=It,onFocus:Ge=It,onBreakPoint:fe=It,breakPointValue:_e=[],filename:Ot="educoder.txt",errorLine:Ie,errorContent:dt="",highlightLine:Zt,openBreakPoint:Ct=!1,placeholder:Oe=""}=Ce,wt=er(Ce,["width","height","value","language","style","options","overrideServices","theme","onEditBlur","isCopy","onSave","autoHeight","forbidCopy","onChange","editorDidMount","onFocus","onBreakPoint","breakPointValue","filename","errorLine","errorContent","highlightLine","openBreakPoint","placeholder"]);const be=(0,r.useRef)(),Ke=(0,r.useRef)({}),gt=(0,r.useRef)(),Rt=(0,r.useRef)(),Be=(0,r.useRef)([]),Or=(0,r.useRef)(!1),St=(0,r.useRef)(),Gr=(0,r.useRef)(),Qr=(0,r.useRef)(!1),[Ar,Fr]=(0,r.useState)(!1);function _r(){let mr;return be.current&&(mr=new i.Z(Jr=>{for(let dn of Jr)(dn.target.offsetHeight>0||dn.target.offsetWidth>0)&&Ke.current.instance.layout()}),mr.observe(be.current)),mr}function jr(){te.ZP.warning({content:decodeURIComponent(oe),key:"monaco-editor-tip"})}const an=()=>{let mr=Ke.current.instance;if(He!=null&&mr&&Ar){const Jr=mr.getModel();Jr&&He!==Jr.getValue()&&(zt=!0,Jr.setValue(He),mr.layout(),zt=!1)}};(0,r.useEffect)(()=>{const mr=M.Z.subscribe("formatDocument",Jr=>{var dn;let Fn=Ke.current.instance;(dn=Fn==null?void 0:Fn.getAction)==null||dn.call(Fn,"editor.action.formatDocument").run()});return window.updateMonacoValue=Jr=>{At(Jr)},mr},[]),(0,r.useEffect)(()=>{var mr;let Jr=Ke.current.instance;Rt.current&&clearTimeout(Rt.current),Rt.current=setTimeout(()=>{an()},500),He&&(He!=null&&He.length)&&((mr=Jr==null?void 0:Jr.updateOptions)==null||mr.call(Jr,{lineNumbersMinChars:Math.max(Math.floor(Math.log10(He.split(/\r\n|\r|\n/g).length))+3,5)}))},[He,Ar,Ke.current]),(0,r.useEffect)(()=>{if(Ie&&Ke.current&&Ke.current.instance){let Jr=Ke.current.instance;Jr.changeViewZones(function(dn){var Fn=document.createElement("div");Fn.style.padding="10px 20px",Fn.style.width="calc(100% - 20px)",Fn.className="my-error-line-wrp",Fn.innerHTML=dt,dn.addZone({afterLineNumber:Ie||11,heightInLines:3,domNode:Fn})});var mr={domNode:null,getId:function(){return"my.overlay.widget"},getDomNode:function(){return this.domNode||(this.domNode=document.createElement("div"),this.domNode.innerHTML="",this.domNode.style.width="100%",this.domNode.style.padding="20px 100px",this.domNode.style.right="0px",this.domNode.style.top="50px",this.domNode.style.position="relative",this.domNode.style.color="#333"),this.domNode},getPosition:function(){return null}};Jr.addOverlayWidget(mr),Jr.revealPositionInCenter({lineNumber:20,column:1})}},[Ie,Ke.current,Ar]);const un=(mr="",Jr)=>{if(!mr||mr.trim()==="")return!0;const Fn=Ke.current.instance.getModel().getLineTokens(Jr);let ri=!1;for(let Nn=0;Nn<2;Nn++)Fn.getStandardTokenType(Nn)===1&&(ri=!0);return ri};(0,r.useEffect)(()=>{var mr;const Jr=(mr=Ke.current)==null?void 0:mr.instance;if(Jr&&Ar&&jt){const dn=Jr.onDidBlurEditorWidget(()=>{Qr.current=!1}),Fn=Jr.onDidFocusEditorText(()=>{Qr.current=!0});return()=>{dn.dispose(),Fn.dispose()}}},[Ke.current,Ar,jt]),(0,r.useEffect)(()=>{var mr;if((mr=Ke.current)!=null&&mr.instance&&Ar&&Ct){let Jr=Ke.current.instance,dn=Jr.getModel();if(!dn)return;(()=>{var Et;let ut=[],qn=[];const Ei=dn.getAllDecorations();for(let Gi of Ei)Gi.options.className==="highlighted-line"&&(ut.push((Et=Gi==null?void 0:Gi.range)==null?void 0:Et.startLineNumber),qn.push(Gi==null?void 0:Gi.id));if(Zt===ut[0])return;dn.deltaDecorations(qn,[]);const Jn=dn.getLineCount();Zt&&Zt<=Jn&&(Jr.deltaDecorations([],[{range:new ht.Range(Zt,1,Zt,dn.getLineMaxColumn(Zt)),options:{isWholeLine:!0,className:"highlighted-line"}}]),Jr.revealLineInCenter(Zt))})();const ri=(Et=!1)=>{var ut;let qn=[],Ei=[];const Jn=dn.getAllDecorations();for(let Gi of Jn)Gi.options.linesDecorationsClassName==="breakpoints-select"&&(qn.push((ut=Gi==null?void 0:Gi.range)==null?void 0:ut.startLineNumber),Ei.push(Gi==null?void 0:Gi.id));if(Et)return{lines:qn,ids:Ei};fe(qn)},Nn=Et=>Jt(void 0,null,function*(){let ut={range:new ht.Range(Et,1,Et,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}};yield dn.deltaDecorations([],[ut]),ri()}),Zi=Et=>Jt(void 0,null,function*(){let ut=[];const qn=Jr.getLineDecorations(Et);for(let Ei of qn)Ei.options.linesDecorationsClassName==="breakpoints-select"&&ut.push(Ei.id);yield dn.deltaDecorations(ut,[]),ri()}),gi=Et=>{let ut=Jr.getLineDecorations(Et);for(let qn of ut)if(qn.options.linesDecorationsClassName==="breakpoints-select")return!0;return!1};if(!(0,F.isEqual)(_e,ri(!0).lines)){dn.deltaDecorations(ri(!0).ids,[]);const Et=_e.map(ut=>({range:new ht.Range(ut,1,ut,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}}));dn.deltaDecorations([],Et)}const xi=Jr.onDidChangeModelContent(Et=>{let ut=Jr.getPosition();if(ut){let qn=ut.lineNumber;clearTimeout(Gr.current),Gr.current=setTimeout(()=>{un(dn.getLineContent(qn),qn)?Zi(qn):gi(qn)?(Zi(qn),Nn(qn)):ri()},100)}}),yi=Jr.onMouseDown(Et=>{var ut,qn,Ei;if(Et.target.detail&&((Ei=(qn=(ut=Et.target)==null?void 0:ut.element)==null?void 0:qn.className)!=null&&Ei.includes("line-numbers"))){let Jn=Et.target.position.lineNumber;if(un(dn.getLineContent(Jn),Jn))return;gi(Jn)?Zi(Jn):Nn(Jn)}}),_i=Et=>{let ut={range:new ht.Range(Et,1,Et,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-fake"}};Be.current=Jr.deltaDecorations(Be.current,[ut])},Yi=()=>{Be.current=Jr.deltaDecorations(Be.current,[])},Qn=Jr.onMouseMove(Et=>{var ut,qn,Ei;if(Yi(),Et.target.detail&&((Ei=(qn=(ut=Et.target)==null?void 0:ut.element)==null?void 0:qn.className)!=null&&Ei.includes("line-numbers"))){let Jn=Et.target.position.lineNumber;if(un(dn.getLineContent(Jn),Jn))return;_i(Jn)}}),Vi=Jr.onMouseLeave(()=>{Yi()});return()=>{xi.dispose(),yi.dispose(),Qn.dispose(),Vi.dispose()}}},[Ke.current,Ar,_e,Zt,Ct,it]),(0,r.useEffect)(()=>{var mr;(mr=Ke.current)!=null&&mr.instance&&Ct&&Ke.current.instance.setPosition({lineNumber:0,column:0})},[Zt]);function or(){let mr=Ke.current.instance;if(mr){const Jr=mr.getSelection(),dn=Ke.current.pastePos||{},Fn=new ht.Range(dn.startLineNumber||Jr.endLineNumber,dn.startColumn||Jr.endColumn,dn.endLineNumber||Jr.endLineNumber,dn.endColumn||Jr.endColumn);setTimeout(()=>{mr.executeEdits("",[{range:Fn,text:""}])},300)}}function Lt(mr){(window.navigator.platform.match("Mac")?mr.metaKey:mr.ctrlKey)&&mr.keyCode==83&&(mr.preventDefault(),kt())}const vt=()=>{if(Ht&&Ke.current.instance){const mr=Ke.current.instance.getContentHeight();gn(mr<$e?$e:mr)}else gn($e)};function yt(mr){var Jr=document.createEvent("MouseEvents");Jr.initMouseEvent("click",!0,!1,window,0,0,0,0,0,!1,!1,!1,!1,0,null),mr.dispatchEvent(Jr)}const Ut=mr=>{if(!Qr.current)return;const{keyCode:Jr,ctrlKey:dn,metaKey:Fn,target:ri,type:Nn}=mr;return(Nn==="paste"||(Jr===67||Jr===86)&&(Fn||dn))&&ri.nodeName==="TEXTAREA"&&(jr(),mr.preventDefault()),!1};function Cr(mr,Jr){var dn=window.URL||window.webkitURL||window,Fn=new Blob([Jr]),ri=document.createElementNS("http://www.w3.org/1999/xhtml","a");ri.href=dn.createObjectURL(Fn),ri.download=mr,yt(ri)}(0,r.useEffect)(()=>{vt()},[vt]),(0,r.useEffect)(()=>{be.current&&!Ar&&Promise.all([e.e(8909),e.e(3267)]).then(e.bind(e,71448)).then(mr=>{try{ht=mr,Ke.current.instance=ht.editor.create(be.current,{value:He,language:bt(it),theme:De,requireConfig:{"vs/nls":{availableLanguages:{"*":"zh-cn"}}},wordWrap:!0,autoIndent:!0,contextmenu:!0,formatOnType:!0},Wt);const Jr=Ke.current.instance;let ri=[...ne.BH._menuItems].find(xi=>xi[0]._debugName=="EditorContext")[1],Nn=["editor.action.clipboardCopyWithSyntaxHighlightingAction","editor.action.quickCommand","editor.action.clipboardCopyAction","editor.action.clipboardPasteAction","editor.action.clipboardCutAction"],Zi=(xi,yi)=>{var _i,Yi;let Qn=xi._first;do yi.includes((Yi=(_i=Qn.element)==null?void 0:_i.command)==null?void 0:Yi.id)&&xi._remove(Qn);while(Qn=Qn.next)};if(Yt(Jr,ht),setTimeout(()=>{vt(),Ke.current.instance.addAction({id:"d123123",label:"Download File",contextMenuGroupId:"9_cutcopypaste",run:()=>{Cr(Ot||"educoder.txt",Jr.getValue())}})},500),Ke.current.subscription=Jr.onDidChangeModelContent(xi=>{Or.current?clearTimeout(St.current):(vt(),At(Jr.getValue(),xi)),St.current=setTimeout(()=>{Or.current=!1},500)}),window.Monaco||W(ht,bt(it)),jt&&(Zi(ri,Nn),be.current.classList.add("noCopyPaste"),window.removeEventListener("keydown",Ut),window.removeEventListener("paste",Ut),window.addEventListener("keydown",Ut),window.addEventListener("paste",Ut)),window.Monaco=ht,Je&&Jr.onDidBlurEditorWidget(()=>{Je(Jr.getValue())}),Ge&&Jr.onDidFocusEditorText(()=>{Ge(Jr.getValue())}),jt)try{Jr.onDidPaste(xi=>{const yi=Jr.getSelection(),_i=Ke.current.pastePos||{},Yi=new ht.Range(_i.startLineNumber||yi.endLineNumber,_i.startColumn||yi.endColumn,_i.endLineNumber||yi.endLineNumber,_i.endColumn||yi.endColumn);Jr.executeEdits("",[{range:xi.range,text:""}])})}catch(xi){}let gi=_r();return Oe&&typeof Oe=="string"&&new ue(Oe,Jr,ht),Fr(!0),()=>{const xi=Ke.current.instance;xi.dispose();const yi=xi.getModel();yi&&yi.dispose(),Ke.current.subscription&&Ke.current.subscription.dispose(),gi.unobserve(be.current)}}catch(Jr){}})},[]),(0,r.useEffect)(()=>{if(Ke.current.instance&&Ar)return document.addEventListener("keydown",Lt,!1),()=>{document.removeEventListener("keydown",Lt)}},[kt,Ar]),(0,r.useEffect)(()=>{let mr=Ke.current.instance;if(mr&&Ar){let Jr=bt(it);ht.editor.setModelLanguage(mr.getModel(),Jr)}},[it,Ar]),(0,r.useEffect)(()=>{Ke.current.instance&&Ar&&ht.editor.setTheme(De)},[De,Ar]),(0,r.useEffect)(()=>{let mr=Ke.current.instance;gt.current=Vt,mr&&Ar&&(mr.updateOptions(Pt({},Vt)),setTimeout(()=>{mr.getModel().updateOptions(Pt({},Vt))},200))},[JSON.stringify(Vt),Ar]),(0,r.useEffect)(()=>{let mr=Ke.current.instance;mr&&Ar&&mr.layout()},[Me,$e,Ar]);const[gr,ot]=(0,r.useState)(Xe(Me)),[Lr,gn]=(0,r.useState)(Xe($e)),Hn=qt(Pt({},ct),{width:gr,height:Lr,position:"relative"});return r.createElement("div",{className:"my-monaco-editor",ref:be,style:Hn},Gt&&r.createElement(Q.CopyToClipboard,{text:He,onCopy:()=>te.ZP.success("\u590D\u5236\u6210\u529F")},r.createElement(ae.Z,{title:"\u590D\u5236\u4EE3\u7801"},r.createElement("div",{style:{position:"absolute",top:0,right:10,cursor:"pointer",zIndex:10,color:"#165DFF"}},r.createElement("i",{className:"iconfont icon-fuzhi8",style:{fontSize:14}})," \u590D\u5236\u4EE3\u7801"))))};function Ue({width:ge="100%",height:Ce="100%",original:Me,modified:$e,language:He,options:it={}}){const ct=(0,r.useRef)(),[Vt,Wt]=(0,r.useState)(null);function De(Ht){let jt;return ct.current&&(jt=new i.Z(At=>{for(let Yt of At)(Yt.target.offsetHeight>0||Yt.target.offsetWidth>0)&&Ht.layout()}),jt.observe(ct.current)),jt}(0,r.useEffect)(()=>(ct.current&&Promise.all([e.e(8909),e.e(9404)]).then(e.bind(e,2550)).then(Ht=>{ht=Ht;const jt=ht.editor.createDiffEditor(ct.current,qt(Pt({enableSplitViewResizing:!1,scrollBeyondLastLine:!1,roundedSelection:!1,renderIndicators:!1,useShadows:!1,horizontal:"hidden",lineNumbers:"off",wordWrap:"off",ignoreTrimWhitespace:!1,"semanticHighlighting.enabled":!0,followsCaret:!0,ignoreCharChanges:!0,minimap:{enabled:!1},readOnly:!0},it),{wordWrap:!0}));Wt(jt);let At=De(jt);return()=>{jt.dispose();const Yt=jt.getModel();Yt&&Yt.dispose(),At.unobserve(ct.current)}}),()=>{window.removeEventListener("keydown",checkPaste),window.removeEventListener("paste",checkPaste)}),[]),(0,r.useEffect)(()=>{Vt&&Vt.setModel({original:ht.editor.createModel(Me,He),modified:ht.editor.createModel($e,He)})},[Me,$e,He,Vt]);const Je=Xe(ge),Gt=Xe(Ce),kt={width:Je,height:Gt};return r.createElement("div",{className:"my-diff-editor",ref:ct,style:kt})}},52743:function(d,g,e){"use strict";e.d(g,{k:function(){return b}});var r=e(38650),i=e(8591),l=e(99309),c=Object.defineProperty,f=Object.defineProperties,o=Object.getOwnPropertyDescriptors,h=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable,x=(R,L,P)=>L in R?c(R,L,{enumerable:!0,configurable:!0,writable:!0,value:P}):R[L]=P,p=(R,L)=>{for(var P in L||(L={}))u.call(L,P)&&x(R,P,L[P]);if(h)for(var P of h(L))a.call(L,P)&&x(R,P,L[P]);return R},y=(R,L)=>f(R,o(L)),_=(R,L)=>{var P={};for(var D in R)u.call(R,D)&&L.indexOf(D)<0&&(P[D]=R[D]);if(R!=null&&h)for(var D of h(R))L.indexOf(D)<0&&a.call(R,D)&&(P[D]=R[D]);return P};const b=["\u8BA4\u8BC1\u4E13\u4E1A","\u8BA4\u8BC1\u5C4A\u522B"],S={namespace:"engineeringEvaluteList",state:{actionTabs:{key:"",params:{}},headerData:{dataSource:{[b[0]]:{width:235,placeholder:`\u8BF7\u9009\u62E9${b[0]}`,loading:"engineeringEvaluteList/getMajorList",dataList:[]},[b[1]]:{width:138,placeholder:`\u8BF7\u9009\u62E9${b[1]}`,loading:"engineeringEvaluteList/getYearList",dataList:[]}},active:{}},tabListData:{total:0,pageNo:1,pageSize:20,dataSource:[]}},effects:{*setActionTabs({payload:R},{call:L,put:P}){yield P({type:"save",payload:{actionTabs:p({},R)}})},*getMajorList({payload:R},{call:L,put:P,select:D}){const{userInfo:B}=yield D($=>$.user);if(B!=null&&B.school_id){const $=yield L(r.BA,B.school_id);if($&&$.data){const j=l.U.getItem(B==null?void 0:B.login);yield P({type:"setMajorOrYearDataSource",payload:{key:b[0],value:$.data.map(K=>({label:K.name,value:K.ec_major_school_id})),active:$.data.length>0?j[0]||$.data[0].ec_major_school_id:void 0}})}}},*getYearList({payload:R},{call:L,put:P,select:D}){const B=yield L(r.Nx,R.id),{userInfo:$}=yield D(j=>j.user);if(B&&B.data){const j=l.U.getItem($==null?void 0:$.login);yield P({type:"setMajorOrYearDataSource",payload:{key:b[1],value:B.data.map(K=>({label:K.year,value:K.ec_year_id})),active:B.data.length>0?R.firstEnter?j[1]:B.data[0].ec_year_id:void 0}})}},*getCourseResults({payload:R={}},{call:L,put:P,select:D}){const{calc:B,page:$,per_page:j}=R,{headerData:K,tabListData:V}=yield D(se=>se.engineeringEvaluteList),{userInfo:W}=yield D(se=>se.user);let oe=K.active[b[1]];if(oe){let se={id:oe,page:$||1,per_page:j||V.pageSize};B&&(se=y(p({},se),{page:V.pageNo}));const le=yield L(r._y,se),q=[K.active[b[0]],K.active[b[1]]];l.U.setItem(W==null?void 0:W.login,q),le&&le.ec_courses&&(yield P({type:"setCourseResults",payload:y(p({},V),{pageNo:se.page,total:le.count,pageSize:se.per_page||V.pageSize,dataSource:le.ec_courses.map((J,Y)=>y(p({},J),{key:se.page>1?(se.page-1)*se.per_page+Y+1:Y+1}))})}))}else yield P({type:"setCourseResults",payload:y(p({},V),{pageNo:1,total:0,dataSource:[]})})},*exportCourse({payload:R},{call:L,select:P}){const{headerData:D}=yield P(B=>B.engineeringEvaluteList);D.active[b[1]]&&(yield L(r.F,D.active[b[1]]))},*compute({payload:R},{call:L,put:P}){const D=R,{all:B}=D,$=_(D,["all"]),j=yield L(B?r.At:r.PX,$);j&&j.status===0?(i.ZP.success("\u8BA1\u7B97\u5B8C\u6210"),yield P({type:"getCourseResults",payload:{calc:!0}})):i.ZP.error(j.message)}},reducers:{save(R,L){return p(p({},R),L.payload)},setMajorOrYearDataSource(R,{payload:L}){let P=R.headerData.active;return L.active&&(P=y(p({},P),{[L.key]:L.active})),y(p({},R),{headerData:y(p({},R.headerData),{dataSource:y(p({},R.headerData.dataSource),{[L.key]:y(p({},R.headerData.dataSource[L.key]),{dataList:L.value})}),active:P})})},setMajorOrYearActive(R,{payload:L}){return y(p({},R),{headerData:y(p({},R.headerData),{active:y(p({},R.headerData.active),{[L.key]:L.value})})})},setCourseResults(R,{payload:L}){return y(p({},R),{tabListData:p(p({},R.tabListData),L)})}},subscriptions:{setup({dispatch:R,history:L}){return L.listen(({pathname:P})=>{P==="/"&&R({type:"query"})})}}};g.Z=S},26422:function(d,g,e){"use strict";e.d(g,{L:function(){return h},r:function(){return a}});var r=Object.defineProperty,i=Object.getOwnPropertySymbols,l=Object.prototype.hasOwnProperty,c=Object.prototype.propertyIsEnumerable,f=(x,p,y)=>p in x?r(x,p,{enumerable:!0,configurable:!0,writable:!0,value:y}):x[p]=y,o=(x,p)=>{for(var y in p||(p={}))l.call(p,y)&&f(x,y,p[y]);if(i)for(var y of i(p))c.call(p,y)&&f(x,y,p[y]);return x};const h=x=>x==null?void 0:x.map(p=>{const y=(p.sub_disciplines||[]).map(_=>({value:_.id,label:_.name}));return{value:p.id,label:p.name,children:y}}),u={1:"\u4E00",2:"\u4E8C",3:"\u4E09",4:"\u56DB",5:"\u4E94",6:"\u516D",7:"\u4E03",8:"\u516B"},a=x=>{if(!x)return;const{all_questions_count:p,all_score:y,single_questions:_,multiple_questions:b,judgement_questions:S,program_questions:R,completion_questions:L,subjective_questions:P,practical_questions:D,combination_questions:B}=x||{},j=[o({type:"SINGLE",name:"\u5355\u9009\u9898"},_),o({type:"MULTIPLE",name:"\u591A\u9009\u9898"},b),o({type:"COMPLETION",name:"\u586B\u7A7A\u9898"},L),o({type:"JUDGMENT",name:"\u5224\u65AD\u9898"},S),o({type:"SUBJECTIVE",name:"\u7B80\u7B54\u9898"},P),o({type:"PROGRAM",name:"\u7F16\u7A0B\u9898"},R),o({type:"PRACTICAL",name:"\u5B9E\u8BAD\u9898"},D),o({type:"COMBINATION",name:"\u7EC4\u5408\u9898"},B)].filter(K=>K.questions_count>0).map((K,V)=>o(o({},K),{number:u[V+1]}));return{all_questions_count:p,all_score:y,questionList:j}}},99309:function(d,g,e){"use strict";e.d(g,{U:function(){return c},t:function(){return l}});var r=e(43418),i=e(24065);const l=(f,o="")=>{r.default.confirm({centered:!0,width:520,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:o,onOk:f})},c={setItem:(f,o)=>{var h;const u=f+"-engineering"+((h=(0,i.eY)())==null?void 0:h.school_id),a=JSON.stringify(o);localStorage.setItem(u,a)},getItem:f=>{var o;const h=f+"-engineering"+((o=(0,i.eY)())==null?void 0:o.school_id),u=localStorage.getItem(h);return u!==null&&u!=="[object Object]"?JSON.parse(u):[]},clear:f=>{var o;const h=f+"-engineering"+((o=(0,i.eY)())==null?void 0:o.school_id);localStorage.removeItem(h)}}},35390:function(d,g,e){"use strict";e.d(g,{$f:function(){return p},Cq:function(){return b},GY:function(){return o},I8:function(){return R},Ow:function(){return y},P:function(){return x},Ql:function(){return h},RA:function(){return D},Zm:function(){return u},bz:function(){return f},eF:function(){return S},gQ:function(){return L},ht:function(){return _},kN:function(){return B},n1:function(){return l},nI:function(){return $},o9:function(){return c},sG:function(){return a},wi:function(){return P}});var r=e(99064),i=(j,K,V)=>new Promise((W,oe)=>{var se=J=>{try{q(V.next(J))}catch(Y){oe(Y)}},le=J=>{try{q(V.throw(J))}catch(Y){oe(Y)}},q=J=>J.done?W(J.value):Promise.resolve(J.value).then(se,le);q((V=V.apply(j,K)).next())});function l(j){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${j.login}/avatar.json`,{method:"put",body:j})})}function c(j){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${j.login}.json`,{method:"get"})})}function f(j){return i(this,null,function*(){return(0,r.ZP)("/api/add_school_applies.json",{method:"post",body:j})})}function o(j){return i(this,null,function*(){return(0,r.ZP)("/api/schools/limit_list.json",{method:"get",params:j})})}function h(j){return i(this,null,function*(){return(0,r.ZP)(`/api/schools/${j.id}/departments/for_option.json`,{method:"get",params:j})})}function u(j){return i(this,null,function*(){return(0,r.ZP)("/api/add_department_applies.json",{method:"post",body:j})})}function a(j){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${j.id}.json`,{method:"put",body:j})})}function x(j){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${j.login}/authentication_apply.json`,{method:"delete"})})}function p(j){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${j.login}/professional_auth_apply.json`,{method:"delete"})})}function y(j){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${j.id}/professional_auth_apply.json`,{method:"post",body:j})})}function _(j){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${j.id}/authentication_apply.json`,{method:"post",body:j})})}function b(j){return i(this,null,function*(){return(0,r.ZP)("/api/accounts/get_verification_code.json",{method:"get",params:j})})}function S(j){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${j.login}/phone_bind.json`,{method:"post",body:j})})}function R(j){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${j.login}/email_bind.json`,{method:"post",body:j})})}function L(j){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${j.login}/password.json`,{method:"put",body:j})})}function P(j){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${j.basicInfoId}/open_users/${j.id}.json`,{method:"delete"})})}function D(j){return i(this,null,function*(){return(0,r.ZP)(`/api/users/${j.login}/cancel_authentication.json`,{method:"post",body:j})})}function B(j){return i(this,null,function*(){return(0,r.ZP)(`/api/users/${j.login}/cancel_professional_certification.json`,{method:"post",body:j})})}function $(j,K){return i(this,null,function*(){return(0,r.ZP)(`/api/users/${j.login}/videos/${j.id}/create_subject_video.json`,{method:"post",body:K})})}},13112:function(d,g,e){"use strict";e.d(g,{An:function(){return y},TO:function(){return a},my:function(){return p},nZ:function(){return x}});var r=e(99064),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(_,b,S)=>b in _?i(_,b,{enumerable:!0,configurable:!0,writable:!0,value:S}):_[b]=S,h=(_,b)=>{for(var S in b||(b={}))c.call(b,S)&&o(_,S,b[S]);if(l)for(var S of l(b))f.call(b,S)&&o(_,S,b[S]);return _},u=(_,b,S)=>new Promise((R,L)=>{var P=$=>{try{B(S.next($))}catch(j){L(j)}},D=$=>{try{B(S.throw($))}catch(j){L(j)}},B=$=>$.done?R($.value):Promise.resolve($.value).then(P,D);B((S=S.apply(_,b)).next())});function a(_){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${_.coursesId}/inform_up.json`,{method:"post",body:h({},_)})})}function x(_){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${_.coursesId}/inform_down.json`,{method:"post",body:h({},_)})})}function p(_){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${_.coursesId}/update_informs.json`,{method:"post",body:h({},_)})})}function y(_){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${_.coursesId}/new_informs.json`,{method:"post",body:h({},_)})})}},19381:function(d,g,e){"use strict";e.d(g,{$n:function(){return S},H:function(){return b},Nm:function(){return y},Ot:function(){return _},SV:function(){return a},fc:function(){return L},mn:function(){return R},tO:function(){return p},zI:function(){return x}});var r=e(99064),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(P,D,B)=>D in P?i(P,D,{enumerable:!0,configurable:!0,writable:!0,value:B}):P[D]=B,h=(P,D)=>{for(var B in D||(D={}))c.call(D,B)&&o(P,B,D[B]);if(l)for(var B of l(D))f.call(D,B)&&o(P,B,D[B]);return P},u=(P,D,B)=>new Promise(($,j)=>{var K=oe=>{try{W(B.next(oe))}catch(se){j(se)}},V=oe=>{try{W(B.throw(oe))}catch(se){j(se)}},W=oe=>oe.done?$(oe.value):Promise.resolve(oe.value).then(K,V);W((B=B.apply(P,D)).next())});function a(P){return u(this,null,function*(){return(0,r.ZP)("/api/files/public_with_course_and_project",{method:"get",params:h({},P)})})}function x(P){return u(this,null,function*(){return(0,r.ZP)("/api/files/mine_with_course_and_project.json",{method:"get",params:h({},P)})})}function p(P){return u(this,null,function*(){return(0,r.ZP)("/api/files/import.json",{method:"post",body:h({},P)})})}function y(P){return u(this,null,function*(){return(0,r.ZP)(`/api/files/${P.id}.json`,{method:"get",params:h({},P)})})}function _(P){return u(this,null,function*(){const{id:D}=P;return delete P.id,(0,r.ZP)(`/api/files/${D}.json`,{method:"put",body:h({},P)})})}function b(P){return u(this,null,function*(){return(0,r.ZP)(`/api/files/${P.id}/update_visits.json`,{method:"post"})})}function S(P){return u(this,null,function*(){return(0,r.ZP)(`/api/files/${P==null?void 0:P.id}/watch_list.json`,{method:"get",params:h({},P)})})}function R(P){return u(this,null,function*(){return(0,r.ZP)("/api/files/get_batches_publish_info.json",{method:"get",params:h({},P)})})}function L(P){return u(this,null,function*(){return(0,r.ZP)(`/api/files/${P==null?void 0:P.id}/add_file_quantity.json`,{method:"post",body:h({},P)})})}},10813:function(d,g,e){"use strict";e.d(g,{CJ:function(){return y},Mf:function(){return L},NA:function(){return S},PC:function(){return _},PP:function(){return b},YQ:function(){return R},cc:function(){return p},dI:function(){return x},yq:function(){return a}});var r=e(99064),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(P,D,B)=>D in P?i(P,D,{enumerable:!0,configurable:!0,writable:!0,value:B}):P[D]=B,h=(P,D)=>{for(var B in D||(D={}))c.call(D,B)&&o(P,B,D[B]);if(l)for(var B of l(D))f.call(D,B)&&o(P,B,D[B]);return P},u=(P,D,B)=>new Promise(($,j)=>{var K=oe=>{try{W(B.next(oe))}catch(se){j(se)}},V=oe=>{try{W(B.throw(oe))}catch(se){j(se)}},W=oe=>oe.done?$(oe.value):Promise.resolve(oe.value).then(K,V);W((B=B.apply(P,D)).next())});function a(P){return u(this,null,function*(){return(0,r.ZP)("/api/courses/board_list.json",{method:"get",params:h({},P)})})}function x(P){return u(this,null,function*(){return(0,r.ZP)(`/api/messages/${P.boardId}.json`,{method:"get",params:h({},P)})})}function p(P){return u(this,null,function*(){return(0,r.ZP)(`/api/messages/${P.id}/sticky_top.json`,{method:"put",body:{course_id:P.coursesId}})})}function y(P){return u(this,null,function*(){return(0,r.ZP)(`/api/messages/${P.id}/sticky_top.json`,{method:"put",body:{course_id:P.coursesId}})})}function _(P){return u(this,null,function*(){return(0,r.ZP)(`/api/messages/${P.boardId}/reply_list.json`,{method:"get",params:h({},P)})})}function b(P){return u(this,null,function*(){return(0,r.ZP)(`/api/messages/${P.boardId}/reply.json`,{method:"post",body:h({},P)})})}function S(P){return u(this,null,function*(){return(0,r.ZP)("/api/praise_tread/like.json",{method:"post",body:h({},P)})})}function R(P){return u(this,null,function*(){return(0,r.ZP)("/api/praise_tread/unlike.json",{method:"delete",body:h({},P)})})}function L(P){return u(this,null,function*(){return(0,r.ZP)("/api/commons/delete.json",{method:"delete",body:h({},P)})})}},92365:function(d,g,e){"use strict";e.d(g,{$T:function(){return gr},A:function(){return jt},Ab:function(){return gi},Al:function(){return te},BQ:function(){return ht},BR:function(){return ne},Bn:function(){return Me},Cq:function(){return Ut},DJ:function(){return Fe},Dd:function(){return _},Ds:function(){return Ue},EO:function(){return At},Ed:function(){return Ft},F9:function(){return it},FU:function(){return Vt},Fg:function(){return b},GV:function(){return Jt},Gk:function(){return q},Gm:function(){return zt},Gz:function(){return S},Hl:function(){return R},Hn:function(){return V},ID:function(){return an},IU:function(){return Ie},J2:function(){return qt},K$:function(){return ge},KP:function(){return _t},KT:function(){return Te},L$:function(){return Gt},LH:function(){return D},Lk:function(){return Vi},Ls:function(){return Q},MA:function(){return Hn},Mc:function(){return Qn},N7:function(){return ue},Nd:function(){return le},Nl:function(){return Ot},Ns:function(){return un},O3:function(){return je},Pj:function(){return It},QX:function(){return _e},QZ:function(){return we},R2:function(){return Y},Rk:function(){return Cr},S9:function(){return kt},U8:function(){return Lt},UD:function(){return Ar},U_:function(){return oe},Uy:function(){return _r},V8:function(){return K},Vw:function(){return M},W0:function(){return Zt},W7:function(){return et},WK:function(){return mr},Wr:function(){return Zi},YR:function(){return Ge},Z0:function(){return gt},ZL:function(){return wt},ZT:function(){return xi},ZX:function(){return dn},Z_:function(){return B},_0:function(){return $},_9:function(){return st},_B:function(){return _i},aP:function(){return Ct},aQ:function(){return bt},aZ:function(){return De},al:function(){return Ht},bm:function(){return Qr},bz:function(){return $e},c_:function(){return yt},ds:function(){return Gr},fN:function(){return Jr},fr:function(){return Yt},g4:function(){return er},gq:function(){return L},hf:function(){return F},i:function(){return Rt},i6:function(){return Lr},i7:function(){return jr},iE:function(){return a},ih:function(){return Fn},kW:function(){return Pt},km:function(){return or},nP:function(){return p},nQ:function(){return He},nX:function(){return Or},oM:function(){return Ce},oR:function(){return Yi},o_:function(){return Oe},pf:function(){return St},pr:function(){return yi},pv:function(){return ot},qB:function(){return ae},r2:function(){return j},rS:function(){return P},s:function(){return ri},sb:function(){return Je},sm:function(){return y},t1:function(){return Xe},tB:function(){return Nn},tR:function(){return ct},td:function(){return dt},uh:function(){return Wt},up:function(){return vt},v2:function(){return x},vV:function(){return be},w9:function(){return se},wR:function(){return gn},yS:function(){return fe},yV:function(){return J},yd:function(){return Be},zg:function(){return de}});var r=e(99064),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(Et,ut,qn)=>ut in Et?i(Et,ut,{enumerable:!0,configurable:!0,writable:!0,value:qn}):Et[ut]=qn,h=(Et,ut)=>{for(var qn in ut||(ut={}))c.call(ut,qn)&&o(Et,qn,ut[qn]);if(l)for(var qn of l(ut))f.call(ut,qn)&&o(Et,qn,ut[qn]);return Et},u=(Et,ut,qn)=>new Promise((Ei,Jn)=>{var Gi=En=>{try{ai(qn.next(En))}catch(tr){Jn(tr)}},mi=En=>{try{ai(qn.throw(En))}catch(tr){Jn(tr)}},ai=En=>En.done?Ei(En.value):Promise.resolve(En.value).then(Gi,mi);ai((qn=qn.apply(Et,ut)).next())});const a=Et=>u(void 0,null,function*(){return(0,r.ZP)(`/api/courses/${Et==null?void 0:Et.course_id}/course_videos/configs.json`,{method:"put",body:Et})}),x=Et=>u(void 0,null,function*(){return(0,r.ZP)(`/api/courses/${Et==null?void 0:Et.course_id}/course_videos/list_for_config.json`,{method:"Get",params:Et})}),p=Et=>u(void 0,null,function*(){return(0,r.ZP)(`/api/courses/${Et==null?void 0:Et.course_id}/homework_commons/max_late_time.json`,{method:"Get",params:Et})}),y=Et=>u(void 0,null,function*(){return(0,r.ZP)(`/api/courses/${Et==null?void 0:Et.course_id}/homework_commons/batch_late_setting`,{method:"post",body:Et})}),_=Et=>u(void 0,null,function*(){return(0,r.ZP)("/api/course_statistics/course_use_infos.json",{method:"Get",params:Et})}),b=Et=>u(void 0,null,function*(){return(0,r.ZP)("/api/course_statistics/rank_list.json",{method:"Get",params:Et})}),S=Et=>u(void 0,null,function*(){return(0,r.ZP)("/api/course_statistics/statistics_body.json",{method:"Get",params:Et})}),R=Et=>u(void 0,null,function*(){return(0,r.ZP)("/api/course_statistics/statistics_header.json",{method:"Get",params:Et})});function L(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.course_id}/set_assistant_permissions.json`,{method:"post",body:h({},Et.permissions)})})}function P(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.course_id}/assistant_permissions.json`,{method:"Get",params:h({},Et)})})}function D(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.id}/ai_status_query.json`,{method:"Get",params:Et})})}function B(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/update_course_portrait_data.json`,{method:"post",body:h({},Et)})})}function $(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.id}/get_user_portrait_config.json`,{method:"Get",params:Et})})}function j(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/update_user_portrait_config.json?id=${Et.coursesId}`,{method:"put",body:h({},Et)})})}function K(Et){return u(this,null,function*(){return(0,r.ZP)("/api/courses.json",{method:"Get",params:h({},Et)})})}function V(Et){return u(this,null,function*(){return(0,r.ZP)("/api/intelligent_recommendations/according_course_recommend_shixuns.json",{method:"Get",params:h({},Et)})})}function W(Et){return u(this,null,function*(){return Fetch("/api/disciplines.json",{method:"Get",params:h({},Et)})})}function oe(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.id}/top_banner.json`,{method:"get",params:h({},Et)})})}function se(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.id||Et.coursesId}/left_banner.json`,{method:"get",params:h({},Et)})})}function le(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.id}/homework_commons.json`,{method:"get",params:h({},Et)})})}function q(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.id}/homework_commons/list.json`,{method:"get",params:h({},Et)})})}function J(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.id}/graduation_topics.json`,{method:"get",params:h({},Et)})})}function Y(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.id}/graduation_tasks.json`,{method:"get",params:h({},Et)})})}function ue(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/v2/courses/${Et.id}/exercises.json`,{method:"get",params:h({},Et)})})}function ne(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.id}/polls.json`,{method:"get",params:h({},Et)})})}function te(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.id}/homework_commons.json`,{method:"get",params:h({},Et)})})}function ae(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.id}/course_groups.json`,{method:"get",params:h({},Et)})})}function F(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.id}/all_course_groups.json`,{method:"get",params:h({},Et)})})}function M(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.id}/attendances.json`,{method:"get",params:h({},Et)})})}function Q(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/weapps/courses/${Et.coursesId}/attendances.json`,{method:"get",params:h({},Et)})})}function de(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/attendances/${Et.id}/edit.json`,{method:"get",params:h({},Et)})})}function we(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.id}/informs.json`,{method:"get",params:h({},Et)})})}function Te(Et){return u(this,null,function*(){return(0,r.ZP)("/api/files.json",{method:"get",params:h({},Et)})})}function je(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.id}/course_videos.json`,{method:"get",params:h({},Et)})})}function Fe(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.id}/live_links.json`,{method:"get",params:h({},Et)})})}function Ft(Et){return u(this,null,function*(){return(0,r.ZP)("/api/courses/mine.json",{method:"get",params:h({},Et)})})}function _t(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/boards/${Et.categoryId}/messages.json`,{method:"get",params:h({},Et)})})}function Pt(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.id}/course_groups.json`,{method:"get",params:h({},Et)})})}function qt(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.id}/students.json`,{method:"get",params:h({},Et)})})}function er(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/statistics.json`,{method:"get",params:h({},Et)})})}function Jt(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/work_score.json`,{method:"get",params:h({},Et)})})}function Xe(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/act_score.json`,{method:"get",params:h({},Et)})})}function It(Et){return u(this,null,function*(){return(0,r.ZP)("/api/shixun_lists.json",{method:"get",params:h({},Et)})})}function zt(Et){return u(this,null,function*(){return(0,r.ZP)("/api/item_banks.json",{method:"get",params:h({},Et)})})}function st(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et==null?void 0:Et.course_id}/homework_commons/impersonal_list.json`,{method:"get",params:h({},Et)})})}function bt(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/homework_commons/create_shixun_homework.json`,{method:"post",body:h({},Et)})})}function ht(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et==null?void 0:Et.course_id}/homework_commons/create_collaborators.json`,{method:"post",body:h({},Et)})})}function et(Et){return u(this,null,function*(){return(0,r.ZP)("/api/subject_lists.json",{method:"get",params:h({},Et)})})}function Ue(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/homework_commons/create_subject_homework.json`,{method:"post",body:h({},Et)})})}function ge(Et){return u(this,null,function*(){return(0,r.ZP)("/api/schools/school_list.json",{method:"get",params:Et})})}function Ce(Et){return u(this,null,function*(){return(0,r.ZP)("/api/courses/search_course_list.json",{method:"post",body:Et})})}function Me(Et){return u(this,null,function*(){return(0,r.ZP)("/api/courses.json",{method:"post",body:Et})})}function $e(Et){return u(this,null,function*(){return(0,r.ZP)("/api/add_school_applies.json",{method:"post",body:Et})})}function He(Et){return u(this,null,function*(){return(0,r.ZP)("/api/users/member_search.json",{method:"get",params:Et})})}function it(Et){return u(this,null,function*(){return(0,r.ZP)("/api/student_groups.json",{method:"get",params:h({page:1,limit:1e3},Et)})})}function ct(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.identifier}/add_student_groups.json`,{method:"post",body:Et})})}function Vt(Et){return u(this,null,function*(){return(0,r.ZP)("/api/courses/search_all.json",{method:"get",params:Et})})}function Wt(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/add_teacher.json`,{method:"post",body:Et})})}function De(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/add_students_by_search.json`,{method:"post",body:Et})})}function Je(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/set_public_or_private.json`,{method:"post",body:Et})})}function Gt(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/set_invite_code_halt.json`,{method:"post",body:Et})})}function kt(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/duplicate_course.json`,{method:"post",body:Et})})}function Ht(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/update_end_date.json`,{method:"put",body:Et})})}function jt(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}.json`,{method:"delete",body:Et})})}function At(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/settings.json`,{method:"get",params:h({},Et)})})}function Yt(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}.json`,{method:"put",body:Et})})}function Ge(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/export_couser_info.json`,{method:"get",params:{export:!0}})})}function fe(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/export_member_act_score_async.json`,{method:"get",params:h({export:!0},Et)})})}function _e(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/export_total_homework_commons_score.json`,{method:"get",params:h({export:!0},Et)})})}function Ot(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/export_total_exercises_and_other_score.json`,{method:"get",params:h({export:!0},Et)})})}function Ie(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/export_star_user.json`,{method:"get",params:h({export:!0},Et)})})}function dt(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/export_mooc_records.json`,{method:"get",params:h({export:!0},Et)})})}function Zt(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/export_total_course_score.json`,{method:"get",params:h({export:!0},Et)})})}function Ct(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Et.categoryId}/export_scores.json`,{method:"get",params:h({export:!0},Et)})})}function Oe(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Et.categoryId}/export_shixun_report.json`,{method:"get",params:h({export:!0},Et)})})}function wt(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/exercises/${Et.categoryId}/export_exercise_users.json`,{method:"get",params:h({export:!0},Et)})})}function be(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/exercises/${Et.categoryId}/export_exercise_word.json`,{method:"get",params:h({export:!0},Et)})})}function Ke(Et){return u(this,null,function*(){return Fetch(`/api/homework_commons/${Et.categoryId}/works_list.zip`,{method:"get",params:h({export:!0},Et)})})}function gt(Et){return u(this,null,function*(){return(0,r.ZP)(`/api//course_second_categories/${Et.id}.json`,{method:"delete",params:{export:!0}})})}function Rt(Et){return u(this,null,function*(){return(0,r.ZP)(`/api//boards/${Et.id}.json`,{method:"delete",params:{export:!0}})})}function Be(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/course_modules/${Et.id}/sticky_module.json`,{method:"get"})})}function Or(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/course_modules/${Et.id}/hidden_module.json`,{method:"get"})})}function St(Et){return u(this,null,function*(){return(0,r.ZP)("/api/courses/new.json",{method:"get",params:Et})})}function Gr(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/weapps/attendances/${Et.id}.json`,{method:"get",params:Et})})}function Qr(Et){return u(this,null,function*(){return(0,r.ZP)("/api/weapps/course_member_attendances.json",{method:"get",params:Et})})}function Ar(Et){return u(this,null,function*(){return(0,r.ZP)("/api/weapps/course_member_attendances/update_status.json",{method:"post",body:Et})})}function Fr(Et){return u(this,null,function*(){return Fetch(`/api/polls/${Et.categoryId}/commit_result.xlsx`,{method:"get",params:h({export:!0},Et)})})}function _r(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/exercises/${Et.categoryId}/export_scores.json`,{method:"get",params:h({export:!0},Et)})})}function jr(Et){return(0,r.ZP)(`/api/polls/${Et.categoryId}/start_answer.json`,{method:"get",params:h({},Et)})}function an(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/poll_questions/${Et.questionId}/poll_votes.json`,{method:"post",body:Et})})}function un(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${Et.categoryId}/commit_poll.json`,{method:"post",body:Et})})}function or(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.courseId}/tasks_list.json`,{method:"get",params:Et})})}function Lt(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.courseId}/update_task_position.json`,{method:"post",body:Et})})}function vt(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/calculate_all_shixun_scores.json`,{method:"get",params:Et})})}function yt(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/all_course_groups.json`,{method:"get",params:Et})})}function Ut(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/polls/all_course_groups.json`,{method:"get",params:Et})})}function Cr(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/students.json`,{method:"get",params:Et})})}function gr(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/course_groups/${Et.categoryId}/rename_group.json`,{method:"POST",body:Et})})}function ot(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/course_groups/${Et.categoryId}.json`,{method:"delete",body:Et})})}function Lr(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/join_course_group.json`,{method:"POST",body:Et})})}function gn(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/transfer_to_course_group.json`,{method:"post",body:Et})})}function Hn(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/delete_from_course.json`,{method:"post",body:Et})})}function mr(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/join_course_group.json`,{method:"post",body:Et})})}function Jr(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/exit_course.json`,{method:"post"})})}function dn(Et){return u(this,null,function*(){return(0,r.ZP)("/api/weapps/course_member_attendances.json",{method:"post",body:h({},Et)})})}function Fn(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/mooc_users/${Et.user_id}/edit.json`,{method:"get",params:Et})})}function ri(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/mooc_users.json`,{method:"post",body:Et})})}function Nn(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/mooc_users/${Et.user_id}.json`,{method:"put",body:Et})})}function Zi(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/course_second_categories/${Et.id}/move_category.json`,{method:"post",body:Et})})}function gi(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/boards/${Et.id}/move_category.json`,{method:"post",body:Et})})}function xi(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.id}/courseware.json`,{method:"get",params:Et})})}function yi(Et,ut){return u(this,null,function*(){return(0,r.ZP)(`/api/exercises/${Et}/mark_wrong_topic.json`,{method:"get",params:ut})})}function _i(Et,ut){return u(this,null,function*(){return(0,r.ZP)(`/api/exercises/${Et}/cancel_wrong_topic.json`,{method:"get",params:ut})})}function Yi(Et,ut){return u(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Et}/allow_end_group.json`,{method:"get",params:ut})})}function Qn(Et,ut){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et}/homework_commons/end_with_homework_list_position.json`,{method:"post",body:ut})})}function Vi(Et,ut){return u(this,null,function*(){return(0,r.ZP)(`/api/tasks/${Et}/get_content_for_commit_id.json`,{method:"get",params:ut})})}},52721:function(d,g,e){"use strict";e.d(g,{$M:function(){return er},$P:function(){return Vt},Ax:function(){return x},Dh:function(){return R},FU:function(){return W},GQ:function(){return ne},IN:function(){return Ue},JM:function(){return $e},Ju:function(){return qt},Mn:function(){return et},Ni:function(){return Q},Pg:function(){return L},Pt:function(){return S},Qp:function(){return Y},R9:function(){return oe},Ux:function(){return ue},Vy:function(){return je},XJ:function(){return M},XR:function(){return _t},Ze:function(){return $},aq:function(){return B},bQ:function(){return _},bu:function(){return p},cC:function(){return a},jS:function(){return le},lm:function(){return ge},ml:function(){return ae},o3:function(){return Xe},pA:function(){return zt},pS:function(){return Me},pU:function(){return F},ps:function(){return V},q0:function(){return bt},qN:function(){return ht},qS:function(){return b},qj:function(){return Ft},qt:function(){return it},rV:function(){return P},rZ:function(){return He},rk:function(){return we},rm:function(){return J},sK:function(){return q},sL:function(){return st},su:function(){return Ce},tC:function(){return Te},tO:function(){return Fe},u9:function(){return te},uZ:function(){return de},vV:function(){return K},xx:function(){return Wt},y8:function(){return Pt},yS:function(){return j},zF:function(){return y},zc:function(){return se},zj:function(){return D},zz:function(){return ct}});var r=e(99064),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(De,Je,Gt)=>Je in De?i(De,Je,{enumerable:!0,configurable:!0,writable:!0,value:Gt}):De[Je]=Gt,h=(De,Je)=>{for(var Gt in Je||(Je={}))c.call(Je,Gt)&&o(De,Gt,Je[Gt]);if(l)for(var Gt of l(Je))f.call(Je,Gt)&&o(De,Gt,Je[Gt]);return De},u=(De,Je,Gt)=>new Promise((kt,Ht)=>{var jt=Ge=>{try{Yt(Gt.next(Ge))}catch(fe){Ht(fe)}},At=Ge=>{try{Yt(Gt.throw(Ge))}catch(fe){Ht(fe)}},Yt=Ge=>Ge.done?kt(Ge.value):Promise.resolve(Ge.value).then(jt,At);Yt((Gt=Gt.apply(De,Je)).next())});const a=De=>(0,r.ZP)(`/api/competitions/${De.identifier}/create_guide.json`,{method:"post",body:De}),x=De=>(0,r.ZP)(`/api/competitions/${De.identifier}/guides.json`,{method:"get",params:De}),p=De=>(0,r.ZP)(`/api/competitions/${De.identifier}/competition_teams/${De.competition_team_id}/edit_info.json`,{method:"put",body:De});function y(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.identifier}/update_result.json`,{method:"post",body:De})})}function _(De){return u(this,null,function*(){return(0,r.ZP)("/api/competitions.json",{method:"Get",params:h({},De)})})}function b(De){return u(this,null,function*(){return(0,r.ZP)("/api/courses/apply_to_join_course.json",{method:"post",body:De})})}function S(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.identifier}/competition_teams.json`,{method:"post"})})}function R(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.identifier}/competition_staff.json`,{method:"get"})})}function L(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.identifier}/common_header.json`,{method:"get"})})}function P(De){return u(this,null,function*(){return(0,r.ZP)(`/api/${De.url}`,{method:"get",params:h({},De)})})}function D(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.identifier}/update_md_content.json`,{method:"post",body:De})})}function B(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.identifier}/competition_teams.json`,{method:"get",params:De})})}function $(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.identifier}/competition_teams/${De.Teannameid}/edit.json`,{method:"get",params:De})})}function j(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.identifier}/competition_teams/${De.Teannameid}.json`,{method:"put",body:De})})}function K(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.identifier}/competition_teams/${De.id}/leave.json`,{method:"post",body:De})})}function V(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.identifier}/competition_teams/${De.id}.json`,{method:"delete"})})}function W(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.identifier}/competition_teams.json`,{method:"post",body:De})})}function oe(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.id}/add_managers.json`,{method:"post",body:De})})}function se(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.identifier}/competition_teams/join.json`,{method:"post",body:De})})}function le(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.identifier}/teachers.json`,{method:"get",params:De})})}function q(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.identifier}/students.json`,{method:"get",params:De})})}function J(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.identifier}/competition_teams/${De.teamid}/crud_team_members.json`,{method:"post",body:De})})}function Y(De){return u(this,null,function*(){return(0,r.ZP)("/api/users/competition_reward.json",{method:"post",body:De})})}function ue(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.identifier}/chart_rules.json`,{method:"get"})})}function ne(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.identifier}/charts.json`,{method:"get",params:De})})}function te(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.identifier}/results.json`,{method:"get",params:De})})}function ae(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.identifier}/md_tab_rules.json`,{method:"get",params:De})})}function F(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.identifier}/prize.json`,{method:"get",params:De})})}function M(De){return u(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${De.id}.json`,{method:"get",params:De})})}function Q(De){return u(this,null,function*(){return(0,r.ZP)("/api/accounts/get_verification_code.json",{method:"get",params:De})})}function de(De){return u(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${De.userid}/phone_bind.json`,{method:"post",body:De})})}function we(De){return u(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${De.userid}/email_bind.json`,{method:"post",body:De})})}function Te(De){return u(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${De.userid}/professional_auth_apply.json`,{method:"delete"})})}function je(De){return u(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${De.userid}/authentication_apply.json`,{method:"delete"})})}function Fe(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.identifier}/prize_leader_account.json`,{method:"put",body:De})})}function Ft(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.identifier}/competition_teams/${De.teamid}/shixun_detail.json`,{method:"get"})})}function _t(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.identifier}/competition_teams/${De.teamid}/course_detail.json`,{method:"get"})})}function Pt(De){return u(this,null,function*(){return(0,r.ZP)(`/api/attachments/${De.id}.json`,{method:"delete"})})}function qt(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.id}/get_certificate_info.json`,{method:"get",params:De})})}function er(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.id}/basic_setting.json`,{method:"post",body:De})})}function Jt(){return u(this,null,function*(){return Fetch("/api/competitions/download_template",{method:"get",responseType:"arraybuffer"})})}function Xe(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De}/common_header.json`,{method:"get"})})}function It(De){return u(this,null,function*(){return Fetch("/api/competitions.json",{method:"post",body:De})})}function zt(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De==null?void 0:De.id}/search_managers.json`,{method:"get",params:De})})}function st(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De}/get_managers.json`,{method:"get"})})}function bt(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De==null?void 0:De.id}/add_managers.json`,{method:"post",body:De})})}function ht(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De==null?void 0:De.id}/delete_managers.json`,{method:"delete",body:De})})}function et(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De}/get_picture.json`,{method:"get"})})}function Ue(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De==null?void 0:De.id}/identifier_exist.json`,{method:"post",body:De})})}function ge(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De}/get_shixun_settings.json`,{method:"get"})})}function Ce(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De==null?void 0:De.id}/shixun_add.json`,{method:"post",body:De})})}function Me(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De==null?void 0:De.id}/shixun_delete.json`,{method:"delete",body:De})})}function $e(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De==null?void 0:De.id}/shixun_select.json`,{method:"post",body:De})})}function He(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De}/info_finish.json`,{method:"get"})})}function it(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De==null?void 0:De.id}/competition_review.json`,{method:"post",body:h({},De)})})}function ct(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.identifier}/competition_teams.json`,{method:"get",params:De})})}function Vt(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.identifier}/all_team_members.json`,{method:"get",params:De})})}function Wt(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.identifier}/competition_commit_records/member_works.json`,{method:"get",params:De})})}},38650:function(d,g,e){"use strict";e.d(g,{F:function(){return b},OE:function(){return D},ff:function(){return S},p1:function(){return R},_y:function(){return _},mK:function(){return K},gq:function(){return W},eM:function(){return j},BA:function(){return le},bA:function(){return J},Nx:function(){return q},Qx:function(){return B},At:function(){return L},PX:function(){return P},Xl:function(){return $},y9:function(){return V},No:function(){return oe},ay:function(){return Y}});var r=e(99064),i=Object.defineProperty,l=Object.defineProperties,c=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,u=(ue,ne,te)=>ne in ue?i(ue,ne,{enumerable:!0,configurable:!0,writable:!0,value:te}):ue[ne]=te,a=(ue,ne)=>{for(var te in ne||(ne={}))o.call(ne,te)&&u(ue,te,ne[te]);if(f)for(var te of f(ne))h.call(ne,te)&&u(ue,te,ne[te]);return ue},x=(ue,ne)=>l(ue,c(ne)),p=(ue,ne)=>{var te={};for(var ae in ue)o.call(ue,ae)&&ne.indexOf(ae)<0&&(te[ae]=ue[ae]);if(ue!=null&&f)for(var ae of f(ue))ne.indexOf(ae)<0&&h.call(ue,ae)&&(te[ae]=ue[ae]);return te},y=(ue,ne,te)=>new Promise((ae,F)=>{var M=we=>{try{de(te.next(we))}catch(Te){F(Te)}},Q=we=>{try{de(te.throw(we))}catch(Te){F(Te)}},de=we=>we.done?ae(we.value):Promise.resolve(we.value).then(M,Q);de((te=te.apply(ue,ne)).next())});const _=ue=>y(void 0,null,function*(){var ne=ue,{id:te}=ne,ae=p(ne,["id"]);return(0,r.ZP)(`/api/ec_years/${te}/course_results.json`,{method:"get",params:ae})}),b=ue=>{let ne=document.createElement("iframe");ne.src=`/api/ec_years/${ue}/course_results.xlsx`,ne.style.display="none",document.body.appendChild(ne)},S=({ec_year_id:ue})=>(0,r.ZP)(`/api/ec_years/${ue}/course_results/get_class.json`,{method:"get"}),R=({ec_year_id:ue,id:ne,class_name:te=null})=>(0,r.ZP)(`/api/ec_years/${ue}/course_results/${ne}.json`,{method:"get",params:{class_name:te}}),L=({ec_year_id:ue})=>(0,r.ZP)("/api/ec_courses/1/evaluations/compute_all_courses_data",{method:"post",body:{ec_year_id:ue}}),P=({ec_course_id:ue})=>(0,r.ZP)(`/api/ec_courses/${ue}/evaluations/evaluation_data`,{method:"POST"}),D=ue=>{let ne=document.createElement("iframe");ne.src=`/api/ec_years/${ue}/ec_graduation_results.xlsx`,ne.style.display="none",document.body.appendChild(ne)},B=({ec_year_id:ue})=>(0,r.ZP)(`/api/ec_years/${ue}/ec_graduation_results/compute_all`,{method:"post"}),$=({ec_year_id:ue,id:ne})=>(0,r.ZP)(`/api/ec_years/${ue}/ec_graduation_results/compute_single?id=${ne}`,{method:"POST"}),j=ue=>(0,r.ZP)(`/api/ec_years/${ue}/ec_graduation_results.json`,{method:"get"}),K=ue=>(0,r.ZP)(`/api/ec_years/${ue}/ec_graduation_results/get_formulas.json`,{method:"get"}),V=({ec_year_id:ue,formula_one:ne,formula_two:te,formula_three:ae})=>(0,r.ZP)(`/api/ec_years/${ue}/ec_graduation_results/set_formulas.json`,{method:"PUT",body:{formula_one_id:ne,formula_two_id:te,formula_three_id:ae}}),W=({ec_year_id:ue,id:ne})=>(0,r.ZP)(`/api/ec_years/${ue}/ec_graduation_results/${ne}.json`,{method:"get"}),oe=ue=>{var ne=ue,{ec_year_id:te,type:ae,goal_value:F}=ne,M=p(ne,["ec_year_id","type","goal_value"]);let Q=`?type=${ae}`,de={method:"PUT"};return ae==="all"&&(Q+=`&goal_value=${F}`),ae==="each"&&(de=x(a({},de),{body:M})),(0,r.ZP)(`/api/ec_years/${te}/ec_graduation_results/set_goal_value${Q}`,de)};var se=(ue,ne,te)=>new Promise((ae,F)=>{var M=we=>{try{de(te.next(we))}catch(Te){F(Te)}},Q=we=>{try{de(te.throw(we))}catch(Te){F(Te)}},de=we=>we.done?ae(we.value):Promise.resolve(we.value).then(M,Q);de((te=te.apply(ue,ne)).next())});const le=ue=>se(void 0,null,function*(){return(0,r.ZP)(`/api/schools/${ue}/ec_majors/get_major_list.json`,{method:"get"})}),q=ue=>se(void 0,null,function*(){return(0,r.ZP)(`/api/ec_major_schools/${ue}/ec_years/get_year_list.json`,{method:"get"})}),J=({ec_year_id:ue,school_id:ne})=>(0,r.ZP)(`/api/ec_years/${ue}/top_pages.json`,{method:"get",params:{school_id:ne}}),Y=({id:ue,name:ne})=>(0,r.ZP)(`/api/ec_years/1/top_pages/${ue}?name=${ne}`,{method:"PUT"})},94941:function(d,g,e){"use strict";e.d(g,{$Q:function(){return D},$l:function(){return gr},BJ:function(){return ht},CD:function(){return Je},Cd:function(){return it},Cl:function(){return Be},Di:function(){return Jt},Fl:function(){return zt},G$:function(){return ae},GK:function(){return It},Ip:function(){return ge},J:function(){return F},KE:function(){return st},L8:function(){return Yt},LP:function(){return Ce},MK:function(){return Xe},Mb:function(){return Ar},N0:function(){return V},N3:function(){return Fe},OO:function(){return L},P8:function(){return un},PJ:function(){return Q},PT:function(){return _r},Qc:function(){return oe},RK:function(){return te},Ty:function(){return Ke},UH:function(){return dt},UK:function(){return Ft},Uj:function(){return Wt},Ul:function(){return He},VL:function(){return Ht},Vj:function(){return fe},W4:function(){return Vt},WL:function(){return _e},Wj:function(){return ne},X4:function(){return Ue},Xn:function(){return Gr},Xo:function(){return le},YY:function(){return er},Ym:function(){return j},Yu:function(){return or},ZD:function(){return an},Zg:function(){return Or},_B:function(){return De},_F:function(){return Fr},_U:function(){return J},_u:function(){return de},aU:function(){return K},ab:function(){return Rt},cC:function(){return be},cV:function(){return Y},ck:function(){return jr},dp:function(){return W},eA:function(){return Ut},fG:function(){return S},gA:function(){return ue},gG:function(){return Qr},gJ:function(){return Lt},hk:function(){return y},hv:function(){return _},iB:function(){return b},iU:function(){return R},iw:function(){return wt},kp:function(){return jt},lL:function(){return P},lf:function(){return je},n$:function(){return Te},n7:function(){return q},nF:function(){return Ge},o3:function(){return vt},oS:function(){return Me},oX:function(){return kt},oy:function(){return gt},p7:function(){return $},pL:function(){return Gt},pu:function(){return et},q6:function(){return At},qf:function(){return qt},qz:function(){return $e},s:function(){return Ct},sA:function(){return Ot},sS:function(){return yt},tX:function(){return Zt},uR:function(){return _t},ux:function(){return bt},wy:function(){return Pt},xA:function(){return Oe},yE:function(){return se},yu:function(){return Ie},zP:function(){return B},zR:function(){return Cr}});var r=e(99064),i=Object.defineProperty,l=Object.defineProperties,c=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,u=(ot,Lr,gn)=>Lr in ot?i(ot,Lr,{enumerable:!0,configurable:!0,writable:!0,value:gn}):ot[Lr]=gn,a=(ot,Lr)=>{for(var gn in Lr||(Lr={}))o.call(Lr,gn)&&u(ot,gn,Lr[gn]);if(f)for(var gn of f(Lr))h.call(Lr,gn)&&u(ot,gn,Lr[gn]);return ot},x=(ot,Lr)=>l(ot,c(Lr)),p=(ot,Lr,gn)=>new Promise((Hn,mr)=>{var Jr=ri=>{try{Fn(gn.next(ri))}catch(Nn){mr(Nn)}},dn=ri=>{try{Fn(gn.throw(ri))}catch(Nn){mr(Nn)}},Fn=ri=>ri.done?Hn(ri.value):Promise.resolve(ri.value).then(Jr,dn);Fn((gn=gn.apply(ot,Lr)).next())});const y=ot=>(0,r.ZP)(`/api/exercises/${ot==null?void 0:ot.exercise_id}/statistics/list_student_score_by_question_type.json`,{method:"get",params:ot}),_=ot=>(0,r.ZP)(`/api/exercises/${ot==null?void 0:ot.exercise_id}/statistics/list_student_score_by_question.json`,{method:"get",params:ot}),b=ot=>(0,r.ZP)(`/api/exercises/${ot.exercise_id}/statistics/export_class_compare.xlsl`,{method:"get",params:ot}),S=ot=>(0,r.ZP)(`/api/exercises/${ot.exercise_id}/statistics/class_question_compare.json`,{method:"get",params:ot}),R=ot=>(0,r.ZP)(`/api/exercises/${ot==null?void 0:ot.exercise_id}/statistics/class_score_distribution.json`,{method:"get",params:ot}),L=ot=>(0,r.ZP)(`/api/exercises/${ot==null?void 0:ot.exercise_id}/statistics/list_student_score.json`,{method:"get",params:ot}),P=ot=>(0,r.ZP)(`/api/exercises/${ot==null?void 0:ot.exercise_id}/statistics/set_score_ranges.json`,{method:"put",body:ot}),D=ot=>(0,r.ZP)(`/api/exercises/${ot==null?void 0:ot.exercise_id}/statistics/score_ranges.json`,{method:"get",params:ot}),B=ot=>(0,r.ZP)(`/api/exercises/${ot.id}/sava_exam_summary.json`,{method:"post",body:ot}),$=ot=>(0,r.ZP)("/api/intelligent_reviews/exam_summary.json",{method:"post",body:ot}),j=ot=>(0,r.ZP)(`/api/exercises/${ot.id}/generate_exam_summary.json`,{method:"post",body:ot}),K=ot=>(0,r.ZP)(`/api/exercises/${ot.id}/exam_summary_settings.json`,{method:"post",body:ot}),V=ot=>p(void 0,null,function*(){return(0,r.ZP)(`/api/exercises/${ot==null?void 0:ot.exercise_id}/review_exercise_user.json`,{method:"post",body:ot})}),W=ot=>(0,r.ZP)(`/api/exercises/${ot==null?void 0:ot.id}/code_check.json`,{method:"get",params:ot}),oe=ot=>(0,r.ZP)(`/api/exercises/${ot.id}/reset_pwd.json`,{method:"post",body:ot}),se=ot=>(0,r.ZP)(`/api/exercises/${ot.id}/encrypt_or_decrypt.json`,{method:"post",body:ot}),le=ot=>p(void 0,null,function*(){return(0,r.ZP)(`/api/exercises/${ot.id}/delayed_time_or_force.json`,{method:"post",body:ot})}),q=ot=>p(void 0,null,function*(){return(0,r.ZP)(`/api/exercises/${ot==null?void 0:ot.id}/exercise_time.json`,{method:"Get",params:ot})}),J=ot=>(0,r.ZP)(`/api/exercises/${ot==null?void 0:ot.id}/exercise_question_result.json`,{method:"get",params:ot}),Y=ot=>(0,r.ZP)(`/api/exercises/${ot.id}/get_question_type_alias.json`,{method:"get",params:ot});function ue(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${ot==null?void 0:ot.id}/teacher_update.json`,{method:"post",body:a({},ot)})})}function ne(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${ot==null?void 0:ot.id}/adjust_comment.json`,{method:"post",body:a({},ot)})})}function te(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ot.id}/edit_question_type_alias.json`,{method:"POST",body:ot})})}function ae(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ot.categoryId}/exercise_lists.json`,{method:"get",params:a({},ot)})})}function F(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ot.categoryId}/exercise_identity_photos.json`,{method:"get",params:a({},ot)})})}function M(ot){return p(this,null,function*(){return Fetch(`/api/exercises/${ot.categoryId}/video_push_url.json`,{method:"get",params:a({},ot)})})}function Q(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ot.categoryId}/query_identity_photo_state.json`,{method:"get",params:a({},ot)})})}function de(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ot.categoryId}/exercise_result.json`,{method:"get",params:a({},ot)})})}function we(ot){return p(this,null,function*(){return Fetch(`/api/exercises/${ot.categoryId}/exercise_score_area_setting.json`,{method:"post",body:a({},ot)})})}function Te(ot){return p(this,null,function*(){return(0,r.ZP)("/api/question_banks/bank_list.json",{method:"get",params:a({},ot)})})}function je(ot){return p(this,null,function*(){return(0,r.ZP)("/api/question_banks/save_banks.json",{method:"POST",body:a({},ot)})})}function Fe(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${ot.coursesId}/exercises/publish_modal.json`,{method:"get",params:a({},ot)})})}function Ft(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ot.categoryId}/common_header.json`,{method:"get",params:a({},ot)})})}function _t(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${ot.coursesId}/exercises.json`,{method:"post",body:a({},ot)})})}function Pt(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ot.exerciseId}.json`,{method:"put",body:a({},ot)})})}function qt(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ot.categoryId}.json`,{method:"get",params:a({},ot)})})}function er(ot){return p(this,null,function*(){return(0,r.ZP)("/api/tag_disciplines.json",{method:"get",params:a({},ot)})})}function Jt(ot){return p(this,null,function*(){const{id:Lr}=ot;return delete ot.id,(0,r.ZP)(`/api/exercise_questions/${Lr}.json`,{method:"put",body:a({},ot)})})}function Xe(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ot.categoryId}/exercise_questions.json`,{method:"post",body:a({},ot)})})}function It(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${ot.id}/up_down.json`,{method:"post",body:a({},ot)})})}function zt(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${ot.id}.json`,{method:"delete"})})}function st(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${ot.coursesId}/exercises/end_modal.json`,{method:"get",params:a({},ot)})})}function bt(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ot.categoryId}/publish_groups.json`,{method:"get",params:a({},ot)})})}function ht(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ot.exerciseId}/user_exercise_detail.json`,{method:"get",params:a({},ot)})})}function et(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ot.exerciseId}/consult_exercise.json`,{method:"post",body:a({},ot)})})}function Ue(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ot.exerciseId}/teacher_appraise.json`,{method:"get",params:a({},ot)})})}function ge(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${ot.id}/adjust_score.json`,{method:"post",body:a({},ot)})})}function Ce(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${ot.id}/batch_adjust_score.json`,{method:"post",body:a({},ot)})})}function Me(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ot.id}/adjust_score.json`,{method:"post",body:a({},ot)})})}function $e(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ot.id}/delayed_time.json`,{method:"post",body:a({},ot)})})}function He(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ot.categoryId}/exercise_setting.json`,{method:"get",params:a({},ot)})})}function it(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/v2/exercises/${ot.categoryId}/exercise_setting.json`,{method:"get",params:a({},ot)})})}function ct(ot){return p(this,null,function*(){return Fetch(`/api/exercises/${ot.categoryId}/commit_setting.json`,{method:"post",body:a({},ot)})})}function Vt(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ot.exerciseId}/review_exercises_by_students.json`,{method:"post",body:a({},ot)})})}function Wt(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ot.categoryId}/exercise_lists.xlsx`,{method:"get",params:x(a({},ot),{export:!0})})})}function De(ot){return(0,r.ZP)(`/api/exercises/${ot.categoryId}/user_exercise_detail.json`,{method:"get",params:x(a({},ot),{login:null})})}function Je(ot){return(0,r.ZP)(`/api/exercises/${ot.categoryId}/start.json`,{method:"get",params:a({},ot)})}function Gt(ot){return(0,r.ZP)(`/api/exercises/${ot.categoryId}/start_unlock.json`,{method:"post",body:a({},ot)})}function kt(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${ot.questionId}/exercise_answers.json`,{method:"post",body:ot})})}function Ht(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ot.categoryId}/commit_exercise.json`,{method:"post",body:ot})})}function jt(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ot.categoryId}/simulate_commit_exercise.json`,{method:"post",body:ot})})}function At(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ot.categoryId}/redo_exercise.json`,{method:"post",body:ot})})}function Yt(ot){return(0,r.ZP)(`/api/${ot.url}`,{method:"get",params:a({},ot)})}function Ge(ot){return(0,r.ZP)(`/api/problems/${ot.id}/start.json`,{method:"get",params:a({},ot)})}function fe(ot){return(0,r.ZP)(`/api/exercises/${ot.id}/begin_commit.json`,{method:"get",params:a({},ot)})}function _e(ot){return(0,r.ZP)(`/api/exercises/${ot.id}/simulate_begin_commit.json`,{method:"get",params:a({},ot)})}function Ot(ot){return(0,r.ZP)("/api/examination_intelligent_settings/optional_items.json",{method:"post",body:a({},ot)})}function Ie(ot){return console.log("params:",ot),(0,r.ZP)(`/api/exercises/${ot.categoryId}/edit.json`,{method:"get",params:a({},ot)})}function dt(ot){return(0,r.ZP)(`/api/exercises/${ot.id}/get_objective_scores.json`,{method:"get",params:a({},ot)})}function Zt(ot){return(0,r.ZP)(`/api/exercises/${ot.categoryId}/redo_modal.json`,{method:"get",params:a({},ot)})}function Ct(ot){return(0,r.ZP)(`/api/exercises/${ot.categoryId}/student_redo_lists.json`,{method:"get",params:a({},ot)})}function Oe(ot){return(0,r.ZP)("/api/exercises/get_user_exercises.json",{method:"get",params:ot})}function wt(ot){return(0,r.ZP)(`/api/exercises/${ot.id}/exercise_header.json`,{method:"get",params:a({},ot)})}function be(ot){return(0,r.ZP)(`/api/exercises/${ot.categoryId}/allow_close_camera.json`,{method:"post",body:a({},ot)})}function Ke(ot){return(0,r.ZP)(`/api/exercises/${ot.categoryId}/get_exercise_user_info.json`,{method:"get",params:a({},ot)})}function gt(ot){return(0,r.ZP)(`/api/exercises/${ot.id}/record_screen`,{method:"post",params:a({},ot)})}function Rt(ot){return(0,r.ZP)(`/api/exercises/${ot.id}/unbind_ip.json`,{method:"post",body:a({},ot)})}function Be(ot){return(0,r.ZP)(`/api/exercises/${ot.id}/check_ip.json`,{method:"get",params:a({},ot)})}function Or(ot){return(0,r.ZP)(`/api/exercises/${ot==null?void 0:ot.id}/check_user_exercise.json`,{method:"get",params:a({},ot)})}function St(ot){return Fetch(`/api/exercises/${ot.id}/make_up_students.json`,{method:"get",params:a({},ot)})}function Gr(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${ot.coursesId}/exercises/code_review_detail.json`,{method:"get",params:a({},ot)})})}function Qr(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${ot.question_id}/adjust_score.json`,{method:"post",body:a({},ot)})})}function Ar(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${ot.categoryId}/simulate_exercise.json`,{method:"post",body:a({},ot)})})}function Fr(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ot.categoryId}/simulate_start_answer.json`,{method:"get",params:a({},ot)})})}function _r(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ot.categoryId}/exercise_time.json`,{method:"get",params:a({},ot)})})}function jr(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ot.categoryId}/commit_screen_at.json`,{method:"post",body:a({},ot)})})}function an(ot,Lr){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ot}/unlock_user`,{method:"post",body:Lr})})}function un(ot,Lr){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ot}/save_screen_record.json`,{method:"post",body:Lr})})}function or(ot,Lr){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ot}/screen_record_list.json`,{method:"get",params:Lr})})}function Lt(ot){return p(this,null,function*(){return(0,r.ZP)("/api/attachments/set_ecs_attachment.json",{method:"get",params:a({},ot)})})}function vt(ot){return p(this,null,function*(){return(0,r.ZP)("/api/exercises/need_redo.json",{method:"get",params:ot})})}function yt(ot,Lr){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ot}/mark.json`,{method:"post",body:Lr})})}function Ut(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/myshixuns/${ot}/exit_delete_pod.json`,{method:"post",body:ot})})}function Cr(ot){return p(this,null,function*(){return(0,r.ZP)("/api/users/change_exercise_score.json",{method:"put",body:ot})})}function gr(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${ot==null?void 0:ot.id}/send_to_item_bank.json`,{method:"post",body:a({},ot)})})}},67508:function(d,g,e){"use strict";e.d(g,{B0:function(){return p},Si:function(){return L},Sr:function(){return D},YP:function(){return P},b4:function(){return R},bc:function(){return a},dX:function(){return S},eh:function(){return B},iI:function(){return _},kd:function(){return x},qR:function(){return b},sW:function(){return y},ts:function(){return j},vL:function(){return $},z5:function(){return K}});var r=e(99064),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(V,W,oe)=>W in V?i(V,W,{enumerable:!0,configurable:!0,writable:!0,value:oe}):V[W]=oe,h=(V,W)=>{for(var oe in W||(W={}))c.call(W,oe)&&o(V,oe,W[oe]);if(l)for(var oe of l(W))f.call(W,oe)&&o(V,oe,W[oe]);return V},u=(V,W,oe)=>new Promise((se,le)=>{var q=ue=>{try{Y(oe.next(ue))}catch(ne){le(ne)}},J=ue=>{try{Y(oe.throw(ue))}catch(ne){le(ne)}},Y=ue=>ue.done?se(ue.value):Promise.resolve(ue.value).then(q,J);Y((oe=oe.apply(V,W)).next())});function a(V){return u(this,null,function*(){return(0,r.ZP)("/api/memos.json",{method:"get",params:V})})}function x(V){return u(this,null,function*(){return(0,r.ZP)("/api/discusses/forum_discusses.json",{method:"get",params:V})})}function p(V){return u(this,null,function*(){return(0,r.ZP)(`/api/memos/${V.id}/sticky_or_cancel.json`,{method:"post",body:V})})}function y(V){return u(this,null,function*(){return(0,r.ZP)(`/api/memos/${V.id}.json`,{method:"delete",body:V})})}function _(V){return u(this,null,function*(){return(0,r.ZP)("/api/memos/new.json",{method:"get",params:V})})}function b(V){return u(this,null,function*(){return(0,r.ZP)(`/api/memos/${V.id}/edit.json`,{method:"get",params:V})})}function S(V){return u(this,null,function*(){return(0,r.ZP)("/api/memos.json",{method:"post",body:h({},V)})})}function R(V){return u(this,null,function*(){return(0,r.ZP)(`/api/memos/${V.id}.json`,{method:"put",body:h({},V)})})}function L(V){return u(this,null,function*(){return(0,r.ZP)(`/api/memos/${V.id}.json`,{method:"get",params:V})})}function P(V){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${V.user_id}/watch.json`,{method:"post",body:V})})}function D(V){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${V.user_id}/watch.json`,{method:"delete",body:h({},V)})})}function B(V){return u(this,null,function*(){return(0,r.ZP)(`/api/discusses/${V.id}/reward_code.json`,{method:"post",body:V})})}function $(V){return u(this,null,function*(){return(0,r.ZP)(`/api/discusses/${V.id}/plus.json`,{method:"post",body:V})})}function j(V){return u(this,null,function*(){return(0,r.ZP)("/api/memos/reply.json",{method:"post",body:V})})}function K(V){return u(this,null,function*(){return(0,r.ZP)(`/api/memos/${V.id}/more_reply.json`,{method:"get",params:V})})}},30534:function(d,g,e){"use strict";e.d(g,{D2:function(){return a},n0:function(){return x},tk:function(){return p}});var r=e(99064),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(y,_,b)=>_ in y?i(y,_,{enumerable:!0,configurable:!0,writable:!0,value:b}):y[_]=b,h=(y,_)=>{for(var b in _||(_={}))c.call(_,b)&&o(y,b,_[b]);if(l)for(var b of l(_))f.call(_,b)&&o(y,b,_[b]);return y},u=(y,_,b)=>new Promise((S,R)=>{var L=B=>{try{D(b.next(B))}catch($){R($)}},P=B=>{try{D(b.throw(B))}catch($){R($)}},D=B=>B.done?S(B.value):Promise.resolve(B.value).then(L,P);D((b=b.apply(y,_)).next())});function a(y){return u(this,null,function*(){return(0,r.ZP)("/api/setting.json",{method:"Get",params:h({},y)})})}function x(){return u(this,null,function*(){return(0,r.ZP)("/api/users/system_update.json",{method:"Get"})})}function p(y){return u(this,null,function*(){return(0,r.ZP)("/api/search_records",{method:"post",body:y})})}},89887:function(d,g,e){"use strict";e.d(g,{B6:function(){return p},Gr:function(){return j},Mf:function(){return D},NA:function(){return L},PC:function(){return S},PP:function(){return R},QA:function(){return x},RP:function(){return W},Sv:function(){return V},YQ:function(){return P},_n:function(){return oe},hL:function(){return $},je:function(){return b},mM:function(){return _},wA:function(){return K},x_:function(){return y},y0:function(){return B},y3:function(){return a}});var r=e(99064),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(se,le,q)=>le in se?i(se,le,{enumerable:!0,configurable:!0,writable:!0,value:q}):se[le]=q,h=(se,le)=>{for(var q in le||(le={}))c.call(le,q)&&o(se,q,le[q]);if(l)for(var q of l(le))f.call(le,q)&&o(se,q,le[q]);return se},u=(se,le,q)=>new Promise((J,Y)=>{var ue=ae=>{try{te(q.next(ae))}catch(F){Y(F)}},ne=ae=>{try{te(q.throw(ae))}catch(F){Y(F)}},te=ae=>ae.done?J(ae.value):Promise.resolve(ae.value).then(ue,ne);te((q=q.apply(se,le)).next())});function a(se){return u(this,null,function*(){return(0,r.ZP)(`/api/graduation_tasks/${se.categoryId}.json`,{method:"get",params:h({},se)})})}function x(se){return u(this,null,function*(){return(0,r.ZP)(`/api/graduation_tasks/${se.categoryId}/tasks_list.json`,{method:"get",params:h({},se)})})}function p(se){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${se.coursesId}/graduation_topics/${se.categoryId}/show_detail.json`,{method:"get",params:h({},se)})})}function y(se){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${se.coursesId}/graduation_topics/${se.categoryId}.json`,{method:"get",params:h({},se)})})}function _(se){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${se.coursesId}/graduation_topics/${se.categoryId}/refuse_student_topic.json`,{method:"post",body:h({},se)})})}function b(se){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${se.coursesId}/graduation_topics/${se.categoryId}/accept_student_topic.json`,{method:"post",body:h({},se)})})}function S(se){return u(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${se.categoryId}/show_comment.json`,{method:"get",params:h({},se)})})}function R(se){return u(this,null,function*(){return(0,r.ZP)("/api/users/reply_message.json",{method:"post",body:h({},se)})})}function L(se){return u(this,null,function*(){return(0,r.ZP)("/api/praise_tread/like.json",{method:"post",body:h({},se)})})}function P(se){return u(this,null,function*(){return(0,r.ZP)("/api/praise_tread/unlike.json",{method:"delete",body:h({},se)})})}function D(se){return u(this,null,function*(){return(0,r.ZP)("/api/commons/delete.json",{method:"delete",body:h({},se)})})}function B(se){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${se.coursesId}/graduation_topics/new.json`,{method:"get",params:h({},se)})})}function $(se){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${se.coursesId}/graduation_topics/${se.categoryId}/edit.json`,{method:"get",params:h({},se)})})}function j(se){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${se.coursesId}/graduation_topics`,{method:"post",body:h({},se)})})}function K(se){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${se.coursesId}/graduation_topics/${se.categoryId}`,{method:"put",body:h({},se)})})}function V(se){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${se.coursesId}/graduation_tasks`,{method:"post",body:h({},se)})})}function W(se){return u(this,null,function*(){return(0,r.ZP)(`/api/graduation_tasks/${se.categoryId}.json`,{method:"put",body:h({},se)})})}function oe(se){return u(this,null,function*(){return(0,r.ZP)(`/api/graduation_tasks/${se.categoryId}/edit.json`,{method:"get",params:h({},se)})})}},2742:function(d,g,e){"use strict";e.d(g,{AA:function(){return K},Db:function(){return x},Dd:function(){return b},F7:function(){return q},Fi:function(){return ae},H3:function(){return _},HF:function(){return R},HH:function(){return y},Ib:function(){return ue},J3:function(){return o},NT:function(){return l},NX:function(){return P},Ot:function(){return L},Ou:function(){return J},Ps:function(){return c},Rk:function(){return le},Tz:function(){return a},V1:function(){return ne},Wz:function(){return f},Xh:function(){return p},Xw:function(){return se},YS:function(){return W},Zd:function(){return te},bS:function(){return D},ck:function(){return S},eh:function(){return j},il:function(){return h},j7:function(){return u},jW:function(){return V},km:function(){return oe},l5:function(){return $},rU:function(){return F},xF:function(){return B},zC:function(){return Y},zT:function(){return M}});var r=e(99064),i=(Q,de,we)=>new Promise((Te,je)=>{var Fe=Pt=>{try{_t(we.next(Pt))}catch(qt){je(qt)}},Ft=Pt=>{try{_t(we.throw(Pt))}catch(qt){je(qt)}},_t=Pt=>Pt.done?Te(Pt.value):Promise.resolve(Pt.value).then(Fe,Ft);_t((we=we.apply(Q,de)).next())});function l(Q){return(0,r.ZP)("/api/schools/search.json",{method:"get",params:Q})}function c(Q){return(0,r.ZP)(`/api/schools/${Q.id}/departments/for_option.json`,{method:"get",params:Q})}function f(Q){return(0,r.ZP)("/api/graduations.json",{method:"POST",body:Q})}function o(Q){return(0,r.ZP)("/api/graduations.json",{method:"get",params:Q})}function h(Q){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${Q.identifier}/graduation_stages/${Q.stageid}/authorized_redelivery.json`,{method:"POST",body:Q})})}function u(Q){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${Q.identifier}/graduation_stages/${Q.stageid}/submit.json`,{method:"POST",body:Q})})}function a(Q){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${Q.id}/student_tasks/export_status.json`,{method:"get",params:Q})})}function x(Q){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${Q.id}/student_tasks/export_all_attachments.json`,{method:"get",params:Q})})}function p(Q){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${Q.identifier}/graduation_stages/${Q.id}.json`,{method:"get",params:Q})})}function y(Q){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${Q.id}/student_tasks/set_final_score.json`,{method:"POST",body:Q})})}function _(Q){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${Q.id}/student_tasks/final_score.json`,{method:"get",params:Q})})}function b(Q){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${Q.id}/set_novice_guide.json`,{method:"POST",body:Q})})}function S(Q){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${Q.id}/graduation_notices/${Q.doid}/set_do.json`,{method:"POST",body:Q})})}function R(Q){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${Q.id}/graduation_teachers.json`,{method:"POST",body:Q})})}function L(Q){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${Q.identifier}/graduation_students/${Q.id}/update_major.json`,{method:"PUT",body:Q})})}function P(Q){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${Q.id}/graduation_students.json`,{method:"POST",body:Q})})}function D(Q){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${Q.id}/graduation_teachers/search.json`,{method:"get",params:Q})})}function B(Q){return i(this,null,function*(){return(0,r.ZP)("/api/schools/search.json",{method:"get",params:Q})})}function $(Q){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${Q.id}/graduation_students/search.json`,{method:"get",params:Q})})}function j(Q){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${Q.id}/graduation_students.json`,{method:"get",params:Q})})}function K(Q){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${Q.id}/graduation_teachers.json`,{method:"get",params:Q})})}function V(Q){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${Q.graduation_id}/graduation_tasks.json`,{method:"POST",body:Q})})}function W(Q){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${Q.graduation_id}/graduation_tasks/${Q.id}.json`,{method:"PUT",body:Q})})}function oe(Q){return i(this,null,function*(){var de;return(0,r.ZP)(`/api/graduations/${Q.id}/graduation_tasks/${(de=Q.ids)==null?void 0:de[0]}`,{method:"DELETE",body:{ids:Q.ids}})})}function se(Q){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${Q.id}/graduation_tasks.json`,{method:"get",params:Q})})}function le(Q){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${Q.id}/graduation_notices.json`,{method:"get",params:Q})})}function q(Q){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${Q.id}.json`,{method:"get"})})}function J(Q){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${Q==null?void 0:Q.id}/common_header.json`,{method:"get"})})}function Y(Q,de){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${Q}/preview.json`,{method:"get"})})}function ue(Q,de){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${Q}/graduation_teachers/not_pass.json`,{method:"post",body:de})})}function ne(Q,de){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${Q}/graduation_teachers/pass.json`,{method:"post",body:de})})}function te(Q,de){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${Q}/graduation_students/not_pass.json`,{method:"post",body:de})})}function ae(Q,de){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${Q}/graduation_students/pass.json`,{method:"post",body:de})})}function F(Q,de){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${Q}/graduation_students/batch_delete`,{method:"delete",body:de})})}function M(Q,de){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${Q}/graduation_teachers/batch_delete`,{method:"delete",body:de})})}},1:function(d,g,e){"use strict";e.d(g,{LA:function(){return a},Rm:function(){return c},S_:function(){return x},Tt:function(){return o},cR:function(){return h},eX:function(){return l},h$:function(){return f},vm:function(){return u}});var r=e(99064),i=(p,y,_)=>new Promise((b,S)=>{var R=D=>{try{P(_.next(D))}catch(B){S(B)}},L=D=>{try{P(_.throw(D))}catch(B){S(B)}},P=D=>D.done?b(D.value):Promise.resolve(D.value).then(R,L);P((_=_.apply(p,y)).next())});const l=p=>i(void 0,null,function*(){return(0,r.ZP)("/api/home/env_detail.json",{method:"Get",params:p})}),c=p=>i(void 0,null,function*(){return(0,r.ZP)("/api/home/env_list.json",{method:"Get",params:p})}),f=p=>i(void 0,null,function*(){return(0,r.ZP)("/api/home/online_list.json",{method:"Get",params:p})});function o(){return i(this,null,function*(){return(0,r.ZP)("/api/home/index.json",{method:"Get"})})}function h(p){return i(this,null,function*(){return(0,r.ZP)("/api/courses/apply_to_join_course.json",{method:"post",body:p})})}function u(p){return i(this,null,function*(){return(0,r.ZP)("/api/project_applies.json",{method:"post",body:p})})}function a(p){return i(this,null,function*(){return(0,r.ZP)("/api/users/home_notice.json",{method:"Get"})})}function x(p){return i(this,null,function*(){return(0,r.ZP)("/api/users/view_notice.json",{method:"post",body:p})})}},10656:function(d,g,e){"use strict";e.d(g,{AD:function(){return a},Ig:function(){return x},Ko:function(){return _},QJ:function(){return b},Ub:function(){return S},V8:function(){return p},dl:function(){return R},w0:function(){return y}});var r=e(99064),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(L,P,D)=>P in L?i(L,P,{enumerable:!0,configurable:!0,writable:!0,value:D}):L[P]=D,h=(L,P)=>{for(var D in P||(P={}))c.call(P,D)&&o(L,D,P[D]);if(l)for(var D of l(P))f.call(P,D)&&o(L,D,P[D]);return L},u=(L,P,D)=>new Promise((B,$)=>{var j=W=>{try{V(D.next(W))}catch(oe){$(oe)}},K=W=>{try{V(D.throw(W))}catch(oe){$(oe)}},V=W=>W.done?B(W.value):Promise.resolve(W.value).then(j,K);V((D=D.apply(L,P)).next())});function a(L){return u(this,null,function*(){return(0,r.ZP)("/api/users/tidings.json",{method:"get",params:h({},L)})})}function x(L){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${L.userId}/unread_message_info.json`,{method:"get",params:h({},L)})})}function p(L){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${L.userId}/private_messages.json`,{method:"get",params:h({},L)})})}function y(L){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${L.userId}/private_messages.json`,{method:"post",body:h({},L)})})}function _(L){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${L.id}/recent_contacts.json`,{method:"get",params:h({},L)})})}function b(L){return u(this,null,function*(){return(0,r.ZP)("/api/users_for_private_messages.json",{method:"get",params:h({},L)})})}function S(L){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${L.userId}/private_message_details.json`,{method:"get",params:h({},L)})})}function R(L){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${L.userId}/private_messages/${L.id}.json`,{method:"delete"})})}},34640:function(d,g,e){"use strict";e.d(g,{A2:function(){return b},CI:function(){return p},Ep:function(){return _},Ex:function(){return B},R7:function(){return a},WW:function(){return $},_V:function(){return D},ms:function(){return L},s0:function(){return S},vf:function(){return y},xn:function(){return x},yy:function(){return P}});var r=e(99064),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(j,K,V)=>K in j?i(j,K,{enumerable:!0,configurable:!0,writable:!0,value:V}):j[K]=V,h=(j,K)=>{for(var V in K||(K={}))c.call(K,V)&&o(j,V,K[V]);if(l)for(var V of l(K))f.call(K,V)&&o(j,V,K[V]);return j},u=(j,K,V)=>new Promise((W,oe)=>{var se=J=>{try{q(V.next(J))}catch(Y){oe(Y)}},le=J=>{try{q(V.throw(J))}catch(Y){oe(Y)}},q=J=>J.done?W(J.value):Promise.resolve(J.value).then(se,le);q((V=V.apply(j,K)).next())});function a(j){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${j.coursesId}/online_learning.json`,{method:"get"})})}function x(j){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${j.id}.json`,{method:"put",body:j})})}function p(j){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${j.coursesId}/course_stages.json`,{method:"post",body:j})})}function y(j){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${j.id}/add_shixun_to_stage.json`,{method:"post",body:j})})}function _(j){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${j.id}/select_shixun_to_stage.json`,{method:"post",body:j})})}function b(j){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${j.id}/add_video_to_stage.json`,{method:"post",body:j})})}function S(j){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${j.id}/add_attachment_to_stage.json`,{method:"post",body:j})})}function R(j){return u(this,null,function*(){return Fetch("/api/paths/add_shixun_to_stage.json",{method:"post",body:j})})}function L(j){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${j.id}/up_position.json`,{method:"post"})})}function P(j){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${j.id}/down_position.json`,{method:"post"})})}function D(j){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${j.id}.json`,{method:"delete"})})}function B(j){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${j.stage_id}/items/move_position.json`,{method:"post",body:h({},j)})})}function $(j){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${j.stage_id}/items/${j.id}`,{method:"delete"})})}},80401:function(d,g,e){"use strict";e.d(g,{DF:function(){return b},Di:function(){return ne},Dm:function(){return le},Dq:function(){return we},Gd:function(){return _},Hb:function(){return Te},Hm:function(){return W},ID:function(){return u},JP:function(){return de},NC:function(){return K},Pl:function(){return S},Qc:function(){return c},Qp:function(){return q},RK:function(){return x},YP:function(){return V},a2:function(){return o},ar:function(){return y},cV:function(){return a},d1:function(){return p},dp:function(){return l},fn:function(){return R},iT:function(){return B},jK:function(){return se},kF:function(){return je},kp:function(){return D},lc:function(){return P},oF:function(){return ae},q$:function(){return h},qN:function(){return oe},tS:function(){return L},ts:function(){return $},un:function(){return Y},w0:function(){return ue},wX:function(){return J},yE:function(){return f}});var r=e(99064),i=(Fe,Ft,_t)=>new Promise((Pt,qt)=>{var er=It=>{try{Xe(_t.next(It))}catch(zt){qt(zt)}},Jt=It=>{try{Xe(_t.throw(It))}catch(zt){qt(zt)}},Xe=It=>It.done?Pt(It.value):Promise.resolve(It.value).then(er,Jt);Xe((_t=_t.apply(Fe,Ft)).next())});const l=Fe=>(0,r.ZP)(`/api/examination_banks/${Fe==null?void 0:Fe.id}/code_check.json`,{method:"get",params:Fe}),c=Fe=>(0,r.ZP)(`/api/examination_banks/${Fe.id}/reset_pwd.json`,{method:"post",body:Fe}),f=Fe=>(0,r.ZP)(`/api/examination_banks/${Fe.id}/encrypt_or_decrypt.json`,{method:"post",body:Fe}),o=Fe=>(0,r.ZP)("/api/examination_banks/exist_course.json",{method:"post",body:Fe}),h=Fe=>(0,r.ZP)("/api/examination_banks/check_examination_banks.json",{method:"post",body:Fe}),u=Fe=>(0,r.ZP)(`/api/examination_banks/${Fe.id}/copy.json`,{method:"post",body:Fe}),a=Fe=>(0,r.ZP)(`/api/examination_banks/${Fe.id}/get_question_type_alias.json`,{method:"get",params:Fe});function x(Fe){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Fe.id}/edit_question_type_alias.json`,{method:"POST",body:Fe})})}function p(Fe){return i(this,null,function*(){return(0,r.ZP)("/api/disciplines.json",{method:"get",params:Fe})})}function y(Fe){return i(this,null,function*(){return(0,r.ZP)("/api/disciplines/by_examination_banks.json",{method:"get",params:Fe})})}function _(Fe){return i(this,null,function*(){return(0,r.ZP)("/api/examination_banks.json",{method:"get",params:Fe})})}function b(Fe){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Fe.id}/set_public.json`,{method:"post"})})}function S(Fe){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Fe.id}/set_private.json`,{method:"post"})})}function R(Fe){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Fe.id}.json`,{method:"delete"})})}function L(Fe){return i(this,null,function*(){return(0,r.ZP)("/api/question_banks/my_courses.json",{method:"get",params:Fe})})}const P=Fe=>(0,r.ZP)("/api/examination_banks/batch_send_to_course.json",{method:"post",body:Fe});function D(Fe){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Fe.id}/send_to_course.json`,{method:"post",body:Fe})})}function B(Fe){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Fe.id}.json`,{method:"get",params:Fe})})}function $(Fe){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Fe.id}/examination_banks_item_banks/${Fe.itemId}/set_score`,{method:"post",body:Fe})})}function j(Fe){return i(this,null,function*(){return Fetch(`/api/examination_banks/${Fe.id}/examination_banks_item_banks/${Fe.itemId}/set_shixun_score.json`,{method:"post",body:Fe})})}function K(Fe){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Fe.id}/examination_banks_item_banks/${Fe.itemId}.json`,{method:"delete"})})}function V(Fe){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Fe.id}/examination_banks_item_banks/batch_set_score.json`,{method:"post",body:Fe})})}function W(Fe){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Fe.id}/examination_banks_item_banks/destroy_by_item_type.json`,{method:"delete",body:Fe})})}function oe(Fe){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Fe.id}/examination_banks_item_banks/${Fe.itemId}/adjust_position.json`,{method:"post",body:Fe})})}function se(Fe){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Fe.id}.json`,{method:"put",body:Fe})})}function le(Fe){return i(this,null,function*(){return(0,r.ZP)("/api/teach_group_shares.json",{method:"get",params:Fe})})}function q(Fe){return i(this,null,function*(){return(0,r.ZP)("/api/examination_banks/set_batch_public.json",{method:"post",body:Fe})})}function J(Fe){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Fe==null?void 0:Fe.id}/set_public.json`,{method:"post",body:Fe})})}function Y(Fe){return i(this,null,function*(){return(0,r.ZP)("/api/examination_banks/create_exam.json",{method:"post",body:Fe})})}function ue(Fe){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Fe.id}/update_exam.json`,{method:"put",body:Fe})})}function ne(Fe){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Fe.id}/edit_exam.json`,{method:"get"})})}function te(Fe,Ft){return i(this,null,function*(){return Fetch(`/api/examination_banks/${Fe}/examination_banks_item_banks.json`,{method:"post",body:Ft})})}function ae(Fe){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Fe.id}/examination_banks_item_banks/create_item_bank.json`,{method:"post",body:Fe})})}function F(Fe,Ft){return i(this,null,function*(){return Fetch(`/api/examination_banks/${Fe}/sort_question_type.json`,{method:"post",body:Ft})})}function M(Fe){return i(this,null,function*(){return Fetch(`/api/examination_banks/${Fe.exam_id}/examination_banks_item_banks/${Fe.question_id}.json`,{method:"delete"})})}function Q(Fe,Ft){return i(this,null,function*(){return Fetch(`/api/examination_banks/${Fe}/batch_set_score.json`,{method:"post",body:Ft})})}function de(Fe){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Fe}/simulate_exercise.json`,{method:"post"})})}function we(Fe){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Fe}/exercise_header.json`,{method:"get"})})}function Te(Fe,Ft,_t){return i(this,null,function*(){const Pt=new FormData;return Pt.append("file",Ft),Pt.append("sub_discipline_id",_t),(0,r.ZP)(`/api/examination_banks/${Fe}/import_item_banks.json`,{method:"post",body:Pt},!0)})}function je(Fe){return i(this,null,function*(){return(0,r.ZP)("/api/users/change_exam_score.json",{method:"put",body:Fe})})}},86248:function(d,g,e){"use strict";e.d(g,{$D:function(){return q},A2:function(){return ge},A7:function(){return Zt},AQ:function(){return j},Ax:function(){return De},Bn:function(){return wt},CI:function(){return He},DQ:function(){return _e},DU:function(){return zt},EP:function(){return le},Ep:function(){return Ue},Er:function(){return Q},Ex:function(){return kt},FD:function(){return Ot},F_:function(){return It},Fg:function(){return x},GY:function(){return Yt},Go:function(){return ae},Gz:function(){return p},Hl:function(){return y},JS:function(){return _t},KM:function(){return ue},M2:function(){return Me},MO:function(){return de},Mt:function(){return $e},Mu:function(){return Je},NV:function(){return Oe},Q:function(){return we},Sp:function(){return $},VO:function(){return Ie},WD:function(){return At},WO:function(){return M},WW:function(){return Ht},_C:function(){return Ct},_V:function(){return Wt},bw:function(){return se},bz:function(){return fe},c3:function(){return Ft},eJ:function(){return te},ef:function(){return Xe},fh:function(){return R},fj:function(){return F},hS:function(){return _},jT:function(){return dt},ke:function(){return jt},lk:function(){return B},mQ:function(){return D},ms:function(){return ct},mx:function(){return je},nq:function(){return a},ol:function(){return Ge},p:function(){return V},p4:function(){return Te},pU:function(){return P},rS:function(){return Pt},rs:function(){return ne},s0:function(){return Ce},sm:function(){return Fe},tS:function(){return b},tu:function(){return L},ue:function(){return K},vf:function(){return ht},w4:function(){return W},xG:function(){return et},xn:function(){return bt},yN:function(){return oe},yy:function(){return Vt}});var r=e(99064),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(be,Ke,gt)=>Ke in be?i(be,Ke,{enumerable:!0,configurable:!0,writable:!0,value:gt}):be[Ke]=gt,h=(be,Ke)=>{for(var gt in Ke||(Ke={}))c.call(Ke,gt)&&o(be,gt,Ke[gt]);if(l)for(var gt of l(Ke))f.call(Ke,gt)&&o(be,gt,Ke[gt]);return be},u=(be,Ke,gt)=>new Promise((Rt,Be)=>{var Or=Qr=>{try{Gr(gt.next(Qr))}catch(Ar){Be(Ar)}},St=Qr=>{try{Gr(gt.throw(Qr))}catch(Ar){Be(Ar)}},Gr=Qr=>Qr.done?Rt(Qr.value):Promise.resolve(Qr.value).then(Or,St);Gr((gt=gt.apply(be,Ke)).next())});const a=be=>u(void 0,null,function*(){return(0,r.ZP)("/api/subject_statistics/subject_use_infos.json",{method:"Get",params:be})}),x=be=>u(void 0,null,function*(){return(0,r.ZP)("/api/subject_statistics/rank_list.json",{method:"Get",params:be})}),p=be=>u(void 0,null,function*(){return(0,r.ZP)("/api/subject_statistics/statistics_body.json",{method:"Get",params:be})}),y=be=>u(void 0,null,function*(){return(0,r.ZP)("/api/subject_statistics/statistics_header.json",{method:"Get",params:be})}),_=be=>u(void 0,null,function*(){return(0,r.ZP)("/api/subject_statistics/online_count.json",{method:"Get",params:be})});function b(be){return u(this,null,function*(){return(0,r.ZP)("/api/paths.json",{method:"Get",params:h({},be)})})}function S(be){return u(this,null,function*(){return Fetch("/api/intelligent_recommendations/subject_lists.json",{method:"Get",params:h({},be)})})}function R(be){return u(this,null,function*(){return(0,r.ZP)("/api/disciplines.json",{method:"Get",params:h({},be)})})}function L(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}.json`,{method:"PUT",body:be})})}function P(be){return u(this,null,function*(){return(0,r.ZP)("/api/paths.json",{method:"post",body:be})})}function D(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}/edit.json`,{method:"get"})})}function B(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}.json`,{method:"get",params:h({identifier:be.id},be)})})}function $(be){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${be.id}.json`,{method:"get",params:h({identifier:be.id},be)})})}function j(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}/right_banner.json`,{method:"get",params:be})})}function K(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}/spoc_courses.json`,{method:"get",params:be})})}const V=be=>u(void 0,null,function*(){return(0,r.ZP)("/api/v2/stages.json",{method:"Get",params:be})}),W=be=>u(void 0,null,function*(){return(0,r.ZP)(`/api/v2/stage_shixuns/${be.id}/children.json`,{method:"Get",params:be})});function oe(be){return u(this,null,function*(){return(0,r.ZP)("/api/stages.json",{method:"get",params:be})})}function se(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}/update_team_title.json`,{method:"post",body:be})})}function le(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}/delete_member.json`,{method:"Delete",body:be})})}function q(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}/spoc_courses/${be==null?void 0:be.courseid}.json`,{method:"Delete"})})}function J(be){return u(this,null,function*(){return Fetch(`/api/paths/${be.id}/up_member_position.json`,{method:"post",body:be})})}function Y(be){return u(this,null,function*(){return Fetch(`/api/paths/${be.id}/down_member_position.json`,{method:"post",body:be})})}function ue(be){return u(this,null,function*(){return(0,r.ZP)("/api/collections.json",{method:"post",body:be})})}function ne(be){return u(this,null,function*(){return(0,r.ZP)("/api/collections/cancel.json",{method:"Delete",body:be})})}function te(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}.json`,{method:"Delete",body:be})})}function ae(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}/publish.json`,{method:"post",body:be})})}function F(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}/cancel_publish.json`,{method:"post",body:be})})}function M(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}/apply_public.json`,{method:"post",body:be})})}function Q(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}/cancel_public.json`,{method:"post",body:be})})}function de(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}/choose_course.json`,{method:"get",params:be})})}function we(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}/send_to_course.json`,{method:"post",body:be})})}function Te(be){return u(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${be.id}/send_to_course.json`,{method:"post",body:be})})}function je(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}/add_subject_members.json`,{method:"post",body:be})})}function Fe(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}/spoc_courses.json`,{method:"post",body:be})})}function Ft(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}/appointment.json`,{method:"post",body:be})})}function _t(be){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${be.id}/join_excellent_course.json`,{method:"post",body:be})})}function Pt(be){return u(this,null,function*(){return(0,r.ZP)("/api/watch_attachment_histories.json",{method:"post",body:be})})}function qt(be){return u(this,null,function*(){return Fetch(`/api/paths/${be.id}/statistics_info.json`,{method:"get",params:be})})}function er(be){return u(this,null,function*(){return Fetch(`/api/paths/${be.id}/shixun_analyze.json`,{method:"get",params:be})})}function Jt(be){return u(this,null,function*(){return Fetch(`/api/paths/${be.id}/learning_analyze.json`,{method:"get",params:be})})}function Xe(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}/learning_statistics.json`,{method:"get",params:be})})}function It(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}/shixun_statistics.json`,{method:"get",params:be})})}function zt(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}/study_analyze/${be.type}.json`,{method:"get",params:be})})}function st(be){return u(this,null,function*(){return Fetch("/api/paths/append_to_stage.json",{method:"post",body:be})})}function bt(be){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${be.id}.json`,{method:"put",body:be})})}function ht(be){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${be.id}/add_shixun_to_stage.json`,{method:"post",body:be})})}const et=be=>u(void 0,null,function*(){return(0,r.ZP)(`/api/stages/${be==null?void 0:be.stage_id}/select_challenge_to_stage.json`,{method:"post",body:be})});function Ue(be){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${be.id}/select_shixun_to_stage.json`,{method:"post",body:be})})}function ge(be){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${be.id}/add_video_to_stage.json`,{method:"post",body:be})})}function Ce(be){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${be.id}/add_attachment_to_stage.json`,{method:"post",body:be})})}function Me(be){return u(this,null,function*(){return(0,r.ZP)(`/api/stage_shixuns/${be.id}.json`,{method:"put",body:be})})}function $e(be){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${be.id}/add_blank_to_stage.json`,{method:"post",body:be})})}function He(be){return u(this,null,function*(){return(0,r.ZP)("/api/stages.json",{method:"post",body:be})})}function it(be){return u(this,null,function*(){return Fetch("/api/paths/add_shixun_to_stage.json",{method:"post",body:be})})}function ct(be){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${be.id}/up_position.json`,{method:"get"})})}function Vt(be){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${be.id}/down_position.json`,{method:"get"})})}function Wt(be){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${be.id}.json`,{method:"delete"})})}function De(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.pathId}/discusses.json`,{method:"get",params:h({},be)})})}function Je(be){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${be.coursesId}/excellent_discusses.json`,{method:"get",params:h({},be)})})}function Gt(be){return u(this,null,function*(){return Fetch("/api/discusses.json",{method:"post",body:h({},be)})})}function kt(be){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${be.stage_id}/items/move_position`,{method:"post",body:h({},be)})})}function Ht(be){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${be.stage_id}/items/${be.id}`,{method:"delete"})})}function jt(be){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${be.id}/excellent_discuss`,{method:"post",body:h({},be)})})}function At(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}/post_discuss`,{method:"post",body:h({},be)})})}function Yt(be){return u(this,null,function*(){return(0,r.ZP)("/api/schools/for_option.json",{method:"get",params:be})})}function Ge(be){return u(this,null,function*(){return(0,r.ZP)("/api/schools/province_data.json",{method:"get",params:be})})}function fe(be){return u(this,null,function*(){return(0,r.ZP)("/api/add_school_applies.json",{method:"post",body:be})})}function _e(be){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${be==null?void 0:be.id}/add_homework_to_stage.json`,{method:"post",body:be})})}function Ot(be){return u(this,null,function*(){return(0,r.ZP)(`/api/stage_shixuns/${be==null?void 0:be.id}/edit.json`,{method:"get",params:be})})}function Ie(be){return u(this,null,function*(){return(0,r.ZP)(`/api/stage_shixuns/${be==null?void 0:be.id}.json`,{method:"put",body:be})})}function dt(be){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${be==null?void 0:be.user_id}/subjects/subject_homework.json`,{method:"get",params:be})})}function Zt(be){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${be==null?void 0:be.user_id}/courses/course_homework.json`,{method:"get",params:be})})}function Ct(be){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${be==null?void 0:be.id}/batch_add_homework_to_stage.json`,{method:"post",body:be})})}function Oe(be){return u(this,null,function*(){return(0,r.ZP)("/api/paths/get_homework_detail.json",{method:"get",params:be})})}function wt(be){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${be==null?void 0:be.user_login}/subjects/cancel.json`,{method:"get",params:be})})}},31417:function(d,g,e){"use strict";e.d(g,{Fd:function(){return ue},Hi:function(){return y},IU:function(){return K},KE:function(){return b},Kc:function(){return te},MK:function(){return V},Q9:function(){return D},Qg:function(){return j},Qn:function(){return R},UK:function(){return p},W:function(){return F},Ye:function(){return $},_c:function(){return a},hO:function(){return le},iV:function(){return ae},jy:function(){return W},kp:function(){return se},lf:function(){return P},m7:function(){return _},n$:function(){return L},rJ:function(){return B},s3:function(){return x},ux:function(){return S},vf:function(){return Y},wh:function(){return oe},wo:function(){return ne},x$:function(){return J}});var r=e(99064),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(M,Q,de)=>Q in M?i(M,Q,{enumerable:!0,configurable:!0,writable:!0,value:de}):M[Q]=de,h=(M,Q)=>{for(var de in Q||(Q={}))c.call(Q,de)&&o(M,de,Q[de]);if(l)for(var de of l(Q))f.call(Q,de)&&o(M,de,Q[de]);return M},u=(M,Q,de)=>new Promise((we,Te)=>{var je=_t=>{try{Ft(de.next(_t))}catch(Pt){Te(Pt)}},Fe=_t=>{try{Ft(de.throw(_t))}catch(Pt){Te(Pt)}},Ft=_t=>_t.done?we(_t.value):Promise.resolve(_t.value).then(je,Fe);Ft((de=de.apply(M,Q)).next())});const a=M=>u(void 0,null,function*(){return(0,r.ZP)(`/api/poll_questions/${M==null?void 0:M.id}/commit_word_cloud.json`,{method:"Get",params:M})});function x(M){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${M.categoryId}/poll_lists.json`,{method:"get",params:h({},M)})})}function p(M){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${M.categoryId}/common_header.json`,{method:"get"})})}function y(M){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${M.categoryId}/poll_setting.json`,{method:"get"})})}function _(M){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${M.categoryId}/commit_setting.json`,{method:"post",body:h({},M)})})}function b(M){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${M.coursesId}/polls/end_poll_modal.json`,{method:"get",params:h({},M)})})}function S(M){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${M.categoryId}/publish_groups.json`,{method:"get",params:h({},M)})})}function R(M){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${M.categoryId}/commit_result.json`,{method:"get",params:h({},M)})})}function L(M){return u(this,null,function*(){return(0,r.ZP)("/api/question_banks/bank_list.json",{method:"get",params:h({},M)})})}function P(M){return u(this,null,function*(){return(0,r.ZP)("/api/question_banks/save_banks.json",{method:"POST",body:h({},M)})})}function D(M){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${M.coursesId}/polls/publish_modal.json`,{method:"get",params:h({},M)})})}function B(M){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${M.coursesId}/polls.json`,{method:"POST",body:h({},M)})})}function $(M){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${M.categoryId}/edit.json`,{method:"get"})})}function j(M){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${M.pollsId}.json`,{method:"put",body:h({},M)})})}function K(M){return u(this,null,function*(){return(0,r.ZP)(`/api/poll_questions/${M.pollsId}.json`,{method:"put",body:h({},M)})})}function V(M){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${M.pollsId}/poll_questions.json`,{method:"post",body:h({},M)})})}function W(M){return u(this,null,function*(){return(0,r.ZP)(`/api/poll_questions/${M.pollsId}.json`,{method:"delete",body:h({},M)})})}function oe(M){return u(this,null,function*(){return(0,r.ZP)(`/api/poll_questions/${M.pollsId}/up_down.json`,{method:"post",body:h({},M)})})}function se(M){return u(this,null,function*(){return(0,r.ZP)(`/api/exercise_banks/${M.topicId}.json`,{method:"get"})})}function le(M){return u(this,null,function*(){return(0,r.ZP)(`/api/exercise_banks/${M.topicId}.json`,{method:"put",body:h({},M)})})}function q(M){return u(this,null,function*(){return Fetch(`/api/exercise_banks/${M.topicId}.json`,{method:"put",body:h({},M)})})}function J(M){return u(this,null,function*(){return(0,r.ZP)(`/api/exercise_bank_questions/${M.pollsId}.json`,{method:"delete",body:h({},M)})})}function Y(M){return u(this,null,function*(){return(0,r.ZP)(`/api/poll_questions/${M.pollsId}/up_down.json`,{method:"post",body:h({},M)})})}function ue(M){return u(this,null,function*(){return(0,r.ZP)("/api/poll_bank_questions.json",{method:"post",body:h({},M)})})}function ne(M){return u(this,null,function*(){return(0,r.ZP)(`/api/poll_bank_questions/${M.pollsId}.json`,{method:"put",body:h({},M)})})}function te(M){return u(this,null,function*(){return(0,r.ZP)(`/api/exercise_bank_questions/${M.id}.json`,{method:"put",body:h({},M)})})}function ae(M){return u(this,null,function*(){return(0,r.ZP)("/api/exercise_bank_questions.json",{method:"post",body:h({},M)})})}function F(M){return u(this,null,function*(){return(0,r.ZP)(`/api/exercise_bank_questions/${M.exerciseId}/up_down.json`,{method:"post",body:h({},M)})})}},16149:function(d,g,e){"use strict";e.d(g,{$c:function(){return it},A1:function(){return $e},Bd:function(){return D},Bo:function(){return q},Cc:function(){return ue},Cn:function(){return ae},DF:function(){return L},Dm:function(){return Xe},FG:function(){return le},GW:function(){return It},HF:function(){return V},Hm:function(){return M},IJ:function(){return Me},L5:function(){return Jt},LS:function(){return st},MZ:function(){return ge},Mr:function(){return se},NZ:function(){return Ft},Of:function(){return S},Pl:function(){return R},Qj:function(){return _},Qp:function(){return ht},RT:function(){return De},Rp:function(){return bt},U6:function(){return W},Vl:function(){return ne},Wk:function(){return oe},YP:function(){return F},Ys:function(){return $},al:function(){return B},bF:function(){return ct},d1:function(){return y},dt:function(){return Vt},et:function(){return de},ex:function(){return b},fY:function(){return we},fn:function(){return P},hI:function(){return _t},hg:function(){return Ue},iT:function(){return J},lS:function(){return Fe},nD:function(){return zt},qN:function(){return Q},rV:function(){return j},s:function(){return je},sD:function(){return Ce},sS:function(){return er},ts:function(){return Y},vi:function(){return He},wX:function(){return et},x5:function(){return K},zh:function(){return Te}});var r=e(99064),i=Object.defineProperty,l=Object.defineProperties,c=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,u=(Je,Gt,kt)=>Gt in Je?i(Je,Gt,{enumerable:!0,configurable:!0,writable:!0,value:kt}):Je[Gt]=kt,a=(Je,Gt)=>{for(var kt in Gt||(Gt={}))o.call(Gt,kt)&&u(Je,kt,Gt[kt]);if(f)for(var kt of f(Gt))h.call(Gt,kt)&&u(Je,kt,Gt[kt]);return Je},x=(Je,Gt)=>l(Je,c(Gt)),p=(Je,Gt,kt)=>new Promise((Ht,jt)=>{var At=fe=>{try{Ge(kt.next(fe))}catch(_e){jt(_e)}},Yt=fe=>{try{Ge(kt.throw(fe))}catch(_e){jt(_e)}},Ge=fe=>fe.done?Ht(fe.value):Promise.resolve(fe.value).then(At,Yt);Ge((kt=kt.apply(Je,Gt)).next())});function y(Je){return p(this,null,function*(){return(0,r.ZP)("/api/disciplines.json",{method:"get",params:x(a({},Je),{clazz:"ItemBanksGroup"})})})}function _(Je){return p(this,null,function*(){return(0,r.ZP)("/api/item_baskets/basket_list.json",{method:"get",params:Je})})}function b(Je){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks_groups/for_problemset.json",{method:"post",body:Je})})}function S(Je){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks/list.json",{method:"post",body:Je})})}function R(Je){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${Je.id}/set_private.json`,{method:"post"})})}function L(Je){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${Je.id}/set_public.json`,{method:"post"})})}function P(Je){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${Je.id}.json`,{method:"delete"})})}function D(Je){return p(this,null,function*(){return(0,r.ZP)(`/api/problems/${Je.id}/start.json`,{method:"get"})})}function B(Je){return p(this,null,function*(){return(0,r.ZP)(`/api/item_baskets/${Je.id}.json`,{method:"delete",body:a({},Je)})})}function $(Je){return p(this,null,function*(){return(0,r.ZP)("/api/item_baskets.json",{method:"post",body:Je})})}function j(Je){return p(this,null,function*(){return(0,r.ZP)("/api/examination_banks/cancel_items.json",{method:"post",body:Je})})}function K(Je){return p(this,null,function*(){return(0,r.ZP)("/api/item_baskets/delete_item_type.json",{method:"delete",body:{item_type:Je.type}})})}function V(Je){return p(this,null,function*(){return(0,r.ZP)("/api/examination_banks/cancel_items.json",{method:"post",body:Je})})}function W(Je){return p(this,null,function*(){return(0,r.ZP)("/api/tag_disciplines.json",{method:"post",body:Je})})}function oe(Je){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${Je.id}.json`,{method:"put",body:Je})})}function se(Je){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks.json",{method:"post",body:Je})})}function le(Je){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${Je.id}/edit.json`,{method:"get"})})}function q(Je){return p(this,null,function*(){return(0,r.ZP)(`/api/problems/${Je.id}/edit.json`,{method:"get"})})}function J(Je){return p(this,null,function*(){return(0,r.ZP)("/api/item_baskets.json",{method:"get",params:Je})})}function Y(Je){return p(this,null,function*(){return(0,r.ZP)(`/api/item_baskets/${Je.id}/set_score.json`,{method:"post",body:Je})})}function ue(Je){return p(this,null,function*(){return(0,r.ZP)(`/api/item_baskets/${Je.id}/set_challenge_score.json`,{method:"post",body:Je})})}function ne(Je){return p(this,null,function*(){return(0,r.ZP)(`/api/item_baskets/${Je.id}/combination_set_score.json`,{method:"post",body:Je})})}function te(Je){return p(this,null,function*(){return Fetch(`/api/examination_banks//${Je.exerid}/examination_banks_item_banks/${Je.id}/combination_set_score.json`,{method:"post",body:Je})})}function ae(Je){return p(this,null,function*(){return(0,r.ZP)(`/api/item_baskets/${Je.id}.json`,{method:"delete"})})}function F(Je){return p(this,null,function*(){return(0,r.ZP)("/api/item_baskets/batch_set_score.json",{method:"post",body:Je})})}function M(Je){return p(this,null,function*(){return(0,r.ZP)("/api/item_baskets/delete_item_type.json",{method:"delete",body:Je})})}function Q(Je){return p(this,null,function*(){return(0,r.ZP)(`/api/item_baskets/${Je.id}/adjust_position.json`,{method:"post",body:Je})})}function de(Je){return p(this,null,function*(){return(0,r.ZP)("/api/examination_banks.json",{method:"post",body:Je})})}function we(Je){return p(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Je.id}/revoke_item.json`,{method:"delete",body:Je})})}function Te(Je){return p(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Je.exam_id}/examination_banks_item_banks.json`,{method:"post",body:Je})})}function je(Je){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${Je.id}/join_to_collection.json`,{method:"post",params:Je})})}function Fe(Je){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${Je.id}/cancel_collection.json`,{method:"post",params:Je})})}function Ft(Je){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks_groups.json",{method:"get",params:Je})})}function _t(Je){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks_groups/mine.json",{method:"get",params:Je})})}function Pt(Je){return p(this,null,function*(){return Fetch(`/api/item_banks/${Je.id}/join_to_group.json`,{method:"post",body:Je})})}function qt(Je){return p(this,null,function*(){return Fetch(`/api/item_banks_groups/${Je.id}.json`,{method:"put",body:Je})})}function er(Je){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks_groups.json",{method:"post",body:Je})})}function Jt(Je){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${Je.id}/feedback.json`,{method:"post",body:Je})})}function Xe(Je){return p(this,null,function*(){return(0,r.ZP)("/api/teach_group_shares.json",{method:"get",params:Je})})}function It(Je){return p(this,null,function*(){return(0,r.ZP)("/api/teach_group_shares.json",{method:"post",body:Je})})}function zt(Je){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks/batch_delete.json",{method:"post",body:Je})})}function st(Je){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks/batch_to_group.json",{method:"post",body:Je})})}function bt(Je){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks/add_to_mine.json",{method:"post",body:Je})})}function ht(Je){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks/set_batch_public.json",{method:"post",body:Je})})}function et(Je){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${Je==null?void 0:Je.id}/set_public.json`,{method:"post",body:Je})})}function Ue(Je){return p(this,null,function*(){return(0,r.ZP)("/api/teach_group_shares/show_groups.json",{method:"get",params:Je})})}function ge(Je){return(0,r.ZP)(`/api/problems/${Je.identifier}/publish.json`,{method:"post",body:Je})}function Ce(Je){return(0,r.ZP)(`/api/problems/${Je.identifier}/cancel_publish.json`,{method:"post",body:Je})}function Me(Je){return(0,r.ZP)("/api/item_banks/cancel_public.json",{method:"post",body:{ids:[...Je.id]}})}function $e(Je){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks_groups/${Je.id}/up_position.json`,{method:"get",params:Je})})}function He(Je){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks_groups/${Je.id}/down_position.json`,{method:"get",params:Je})})}function it(Je){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Je.id}/edit_hack.json`,{method:"get",params:Je})})}function ct(Je){return p(this,null,function*(){return(0,r.ZP)("/api/problems/batch_publish_condition.json",{method:"post",body:Je})})}function Vt(Je){return p(this,null,function*(){return(0,r.ZP)("/api/problems/batch_publish.json",{method:"post",body:Je})})}function Wt(Je){return p(this,null,function*(){return Fetch("/api/item_banks/get_groups.json",{method:"get",params:Je})})}function De(){return p(this,null,function*(){return(0,r.ZP)("/api/item_baskets/delete_all_items.json",{method:"delete"})})}},52403:function(d,g,e){"use strict";e.d(g,{E1:function(){return f},Go:function(){return l},H5:function(){return c}});var r=e(99064),i=(o,h,u)=>new Promise((a,x)=>{var p=b=>{try{_(u.next(b))}catch(S){x(S)}},y=b=>{try{_(u.throw(b))}catch(S){x(S)}},_=b=>b.done?a(b.value):Promise.resolve(b.value).then(p,y);_((u=u.apply(o,h)).next())});function l(o){return i(this,null,function*(){return(0,r.ZP)("/api/restfuls.json",{method:"get",params:o})})}function c(o){return i(this,null,function*(){return(0,r.ZP)(`/api/restfuls/${o.id}.json`,{method:"get",params:o})})}function f(o){return i(this,null,function*(){return(0,r.ZP)(`/api/restfuls/${o.id}.json`,{method:"delete",params:o})})}},36708:function(d,g,e){"use strict";e.d(g,{Am:function(){return _},Ar:function(){return Xe},BD:function(){return He},Be:function(){return et},Dx:function(){return ne},Fr:function(){return _e},G$:function(){return R},GS:function(){return W},Gw:function(){return S},H:function(){return er},H1:function(){return Jt},Hj:function(){return ct},JA:function(){return Wt},JG:function(){return ue},KE:function(){return F},Lz:function(){return Me},Mf:function(){return qt},NA:function(){return _t},PC:function(){return Fe},PP:function(){return Ft},PW:function(){return st},Q3:function(){return te},QC:function(){return De},Qt:function(){return $e},Qz:function(){return D},R$:function(){return Ge},RP:function(){return le},Ti:function(){return Ct},Uc:function(){return Ht},Ul:function(){return J},VB:function(){return dt},Vs:function(){return jt},Wr:function(){return L},Xn:function(){return q},YQ:function(){return Pt},Yn:function(){return b},Z8:function(){return K},ak:function(){return zt},cN:function(){return $},co:function(){return Ue},cz:function(){return Te},fK:function(){return V},gG:function(){return je},gZ:function(){return kt},h$:function(){return j},ku:function(){return Ce},lf:function(){return Q},m7:function(){return Y},mQ:function(){return B},mz:function(){return ht},n$:function(){return M},oK:function(){return y},oN:function(){return Zt},pH:function(){return it},pb:function(){return Ie},qP:function(){return Je},ql:function(){return Gt},rN:function(){return ge},sw:function(){return de},t1:function(){return we},to:function(){return se},ub:function(){return Vt},ux:function(){return ae},wS:function(){return Ot},wT:function(){return P},yT:function(){return It},yy:function(){return At},z2:function(){return bt}});var r=e(99064),i=Object.defineProperty,l=Object.defineProperties,c=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,u=(Oe,wt,be)=>wt in Oe?i(Oe,wt,{enumerable:!0,configurable:!0,writable:!0,value:be}):Oe[wt]=be,a=(Oe,wt)=>{for(var be in wt||(wt={}))o.call(wt,be)&&u(Oe,be,wt[be]);if(f)for(var be of f(wt))h.call(wt,be)&&u(Oe,be,wt[be]);return Oe},x=(Oe,wt)=>l(Oe,c(wt)),p=(Oe,wt,be)=>new Promise((Ke,gt)=>{var Rt=St=>{try{Or(be.next(St))}catch(Gr){gt(Gr)}},Be=St=>{try{Or(be.throw(St))}catch(Gr){gt(Gr)}},Or=St=>St.done?Ke(St.value):Promise.resolve(St.value).then(Rt,Be);Or((be=be.apply(Oe,wt)).next())});const y=Oe=>p(void 0,null,function*(){return(0,r.ZP)(`/api/student_works/${Oe.id}/update_journals.json`,{method:"post",body:Oe})}),_=Oe=>p(void 0,null,function*(){return(0,r.ZP)(`/api/student_works/${Oe==null?void 0:Oe.homeworkId}/change_score.json`,{method:"post",body:Oe})}),b=Oe=>p(void 0,null,function*(){return(0,r.ZP)(`/api/student_works/${Oe==null?void 0:Oe.homeworkId}/history_comment`,{method:"Get",params:Oe})}),S=Oe=>p(void 0,null,function*(){return(0,r.ZP)(`/api/student_works/${Oe==null?void 0:Oe.homeworkId}/feedback_know`,{method:"Get",params:Oe})}),R=Oe=>p(void 0,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe==null?void 0:Oe.userId}/student_work_feedbacks.json`,{method:"POST",body:Oe})}),L=Oe=>p(void 0,null,function*(){return(0,r.ZP)(`/api/student_works/${Oe==null?void 0:Oe.userId}/feedback_list.json`,{method:"Get",params:Oe})}),P=Oe=>p(void 0,null,function*(){return(0,r.ZP)(`/api/student_works/${Oe==null?void 0:Oe.userId}/histories.json`,{method:"Get",params:Oe})}),D=Oe=>p(void 0,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe==null?void 0:Oe.homeworkId}/feedback_list`,{method:"Get",params:Oe})}),B=Oe=>p(void 0,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe==null?void 0:Oe.homeworkId}/anonymous_exception_list.json`,{method:"Get",params:Oe})}),$=Oe=>p(void 0,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe==null?void 0:Oe.homeworkId}/appeal_list`,{method:"Get",params:Oe})});function j(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe.categoryId}/works_list.json`,{method:"post",body:a({},Oe)})})}function K(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/shixun_homeworks/${Oe.categoryId}/student_works.json`,{method:"get",params:a({},Oe)})})}function V(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/shixun_homeworks/${Oe.categoryId}/header_info.json`,{method:"get",params:a({},Oe)})})}function W(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Oe}/query_game_url.json`,{method:"get"})})}function oe(Oe){return p(this,null,function*(){return Fetch(`/api/student_works/${Oe}/get_newest_shixun_work_comments.json`,{method:"get"})})}function se(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe.categoryId}.json`,{method:"get"})})}function le(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe.categoryId}/code_review_results.json`,{method:"get",params:a({},Oe)})})}function q(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe.categoryId}/code_review_detail.json`,{method:"get",params:a({},Oe)})})}function J(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe.categoryId}/settings.json`,{method:"get",params:a({},Oe)})})}function Y(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe.categoryId}/update_settings.json`,{method:"post",body:a({},Oe)})})}function ue(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe.categoryId}/group_list.json`,{method:"get",params:a({},Oe)})})}function ne(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe.categoryId}/works_list.xlsx`,{method:"get",params:a({},Oe)})})}function te(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe.coursesId}/reference_answer.json`,{method:"get",params:a({},Oe)})})}function ae(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe.categoryId}/publish_groups.json`,{method:"get",params:a({},Oe)})})}function F(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe.categoryId}/end_groups.json`,{method:"get",params:a({},Oe)})})}function M(Oe){return p(this,null,function*(){return(0,r.ZP)("/api/question_banks/bank_list.json",{method:"get",params:a({},Oe)})})}function Q(Oe){return p(this,null,function*(){return(0,r.ZP)("/api/question_banks/save_banks.json",{method:"post",body:a({},Oe)})})}function de(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Oe.homeworkId}/shixun_work_report.json`,{method:"get",params:Oe})})}function we(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Oe.homeworkId}/shixun_work_report_echart_data.json`,{method:"get",params:Oe})})}function Te(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${Oe.coursesId}/homework_commons/user_hack_detail.json`,{method:"get",params:x(a({},Oe),{id:Oe.categoryId})})})}function je(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Oe.categoryId}/adjust_review_score.json`,{method:"post",body:a({},Oe)})})}function Fe(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe.categoryId}/show_comment.json`,{method:"get",params:a({},Oe)})})}function Ft(Oe){return p(this,null,function*(){return(0,r.ZP)("/api/users/reply_message.json",{method:"post",body:a({},Oe)})})}function _t(Oe){return p(this,null,function*(){return(0,r.ZP)("/api/praise_tread/like.json",{method:"post",body:a({},Oe)})})}function Pt(Oe){return p(this,null,function*(){return(0,r.ZP)("/api/praise_tread/unlike.json",{method:"delete",body:a({},Oe)})})}function qt(Oe){return p(this,null,function*(){return(0,r.ZP)("/api/commons/delete.json",{method:"delete",body:a({},Oe)})})}function er(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe.categoryId}/update_explanation.json`,{method:"post",body:a({},Oe)})})}function Jt(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${Oe.coursesId}/homework_commons.json`,{method:"post",body:a({},Oe)})})}function Xe(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe.categoryId}.json`,{method:"put",body:a({},Oe)})})}function It(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_banks/${Oe.id}.json`,{method:"put",body:a({},Oe)})})}function zt(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe.commonHomeworkId}/student_works/new.json`,{method:"get",params:a({},Oe)})})}function st(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Oe.homeworkId}/edit.json`,{method:"get",params:a({},Oe)})})}function bt(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Oe.homeworkId}.json`,{method:"put",body:a({},Oe)})})}function ht(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Oe.homeworkId}/revise_attachment.json`,{method:"post",body:a({},Oe)})})}function et(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe.commonHomeworkId}/student_works.json`,{method:"post",body:a({},Oe)})})}function Ue(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe.homeworkId}/student_works/relate_project.json`,{method:"post",body:a({},Oe)})})}function ge(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe.homeworkId}/student_works/cancel_relate_project.json`,{method:"get"})})}function Ce(Oe){return p(this,null,function*(){return(0,r.ZP)("/api/users/projects/search.json",{method:"get",params:a({},Oe)})})}function Me(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe.commonHomeworkId}/student_works/search_member_list.json`,{method:"get",params:a({},Oe)})})}function $e(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${Oe.coursesId}/homework_commons/new.json`,{method:"get",params:a({},Oe)})})}function He(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe.categoryId}/edit.json`,{method:"get",params:a({},Oe)})})}function it(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_banks/${Oe.id}.json`,{method:"get",params:a({},Oe)})})}function ct(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Oe.userId}.json`,{method:"get",params:a({},Oe)})})}function Vt(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Oe.userId}/supply_attachments.json`,{method:"get",params:a({},Oe)})})}function Wt(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Oe.userId}/comment_list.json`,{method:"get",params:a({},Oe)})})}function De(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Oe.userId}/destroy_score.json`,{method:"delete",body:a({},Oe)})})}function Je(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Oe.userId}/add_score_reply.json`,{method:"post",body:a({},Oe)})})}function Gt(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe.categoryId}/all_student_works.json`,{method:"get",params:a({},Oe)})})}function kt(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Oe.homeworkId}/destroy_work_comment.json`,{method:"delete",body:a({},Oe)})})}function Ht(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe.categoryId}/score_status.json`,{method:"get",params:a({},Oe)})})}function jt(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe.categoryId}/update_score.json`,{method:"get",params:a({},Oe)})})}function At(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Oe.userId}/add_score.json`,{method:"post",body:a({},Oe)})})}function Yt(Oe){return p(this,null,function*(){return Fetch(`/api/student_works/${Oe.userId}/cancel_appeal.json`,{method:"post",body:a({},Oe)})})}function Ge(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Oe.userId}/appeal_anonymous_score.json`,{method:"post",body:a({},Oe)})})}function fe(Oe){return p(this,null,function*(){return Fetch(`/api/student_works/${Oe.userId}/deal_appeal_score.json`,{method:"post",body:a({},Oe)})})}function _e(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/myshixuns/${Oe.id}/reset_my_game.json`,{method:"get",params:a({},Oe)})})}function Ot(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Oe.homeworkId}/commit_des.json`,{method:"get",params:a({},Oe)})})}function Ie(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Oe.homeworkId}/update_des.json`,{method:"post",body:a({},Oe)})})}function dt(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${Oe.coursesId}/homework_commons/file_repeat_list.json`,{method:"get",params:a({},Oe)})})}function Zt(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${Oe.coursesId}/homework_commons/file_repeat_result.json`,{method:"get",params:a({},Oe)})})}function Ct(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${Oe.course_id}/homework_commons/file_repeat_detail.json`,{method:"get",params:a({},Oe)})})}},49692:function(d,g,e){"use strict";e.d(g,{$Q:function(){return Fr},AE:function(){return jt},AQ:function(){return B},Ag:function(){return wt},Ar:function(){return ae},At:function(){return Lt},BK:function(){return K},Bj:function(){return zt},DC:function(){return Xe},Dz:function(){return vt},E4:function(){return Jt},EH:function(){return Q},Ee:function(){return gn},Er:function(){return ne},FB:function(){return j},Fg:function(){return S},GI:function(){return Te},Gr:function(){return ht},Gu:function(){return we},Gz:function(){return b},HS:function(){return Et},Hl:function(){return y},IT:function(){return Ct},I_:function(){return P},Ir:function(){return V},Je:function(){return Be},K:function(){return Ut},K0:function(){return Lr},KM:function(){return q},K_:function(){return jr},LK:function(){return Or},LP:function(){return je},Ne:function(){return ue},OV:function(){return Ft},OW:function(){return M},Op:function(){return Ar},P2:function(){return Pt},Po:function(){return D},Ps:function(){return et},Q:function(){return Y},Q1:function(){return Cr},QA:function(){return yi},Ql:function(){return ge},Rs:function(){return De},SG:function(){return Vi},Tn:function(){return Yt},Tr:function(){return _i},U0:function(){return He},U9:function(){return Ue},UQ:function(){return Ie},Ui:function(){return _r},Vx:function(){return ot},WO:function(){return te},WT:function(){return Yi},Wi:function(){return st},Wl:function(){return be},X$:function(){return qt},Yn:function(){return fe},Z2:function(){return It},ZO:function(){return bt},Zt:function(){return yt},_7:function(){return J},_9:function(){return _e},aH:function(){return Ce},al:function(){return Vt},b8:function(){return F},bq:function(){return Ge},dK:function(){return W},e:function(){return R},eX:function(){return de},eb:function(){return Je},fL:function(){return Rt},h4:function(){return gr},hS:function(){return _},he:function(){return L},hn:function(){return se},ii:function(){return Wt},im:function(){return Ot},j8:function(){return Fe},jq:function(){return Qr},kF:function(){return Gr},km:function(){return ct},l3:function(){return _t},m7:function(){return $e},mI:function(){return xi},n5:function(){return $},nu:function(){return St},p0:function(){return Zt},q0:function(){return Ht},q9:function(){return or},qA:function(){return un},rO:function(){return kt},rs:function(){return le},sr:function(){return dt},t2:function(){return Oe},tX:function(){return Hn},uo:function(){return it},v3:function(){return gt},w:function(){return Ke},xK:function(){return At},xg:function(){return Gt},xk:function(){return er},yE:function(){return Me},yx:function(){return gi},zD:function(){return oe},zH:function(){return an}});var r=e(99064),i=Object.defineProperty,l=Object.defineProperties,c=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,u=(ut,qn,Ei)=>qn in ut?i(ut,qn,{enumerable:!0,configurable:!0,writable:!0,value:Ei}):ut[qn]=Ei,a=(ut,qn)=>{for(var Ei in qn||(qn={}))o.call(qn,Ei)&&u(ut,Ei,qn[Ei]);if(f)for(var Ei of f(qn))h.call(qn,Ei)&&u(ut,Ei,qn[Ei]);return ut},x=(ut,qn)=>l(ut,c(qn)),p=(ut,qn,Ei)=>new Promise((Jn,Gi)=>{var mi=tr=>{try{En(Ei.next(tr))}catch(mt){Gi(mt)}},ai=tr=>{try{En(Ei.throw(tr))}catch(mt){Gi(mt)}},En=tr=>tr.done?Jn(tr.value):Promise.resolve(tr.value).then(mi,ai);En((Ei=Ei.apply(ut,qn)).next())});const y=ut=>p(void 0,null,function*(){return(0,r.ZP)("/api/shixun_statistics/statistics_header.json",{method:"Get",params:ut})}),_=ut=>p(void 0,null,function*(){return(0,r.ZP)("/api/shixun_statistics/online_count.json",{method:"Get",params:ut})}),b=ut=>p(void 0,null,function*(){return(0,r.ZP)("/api/shixun_statistics/statistics_body.json",{method:"Get",params:ut})}),S=ut=>p(void 0,null,function*(){return(0,r.ZP)("/api/shixun_statistics/rank_list.json",{method:"Get",params:ut})}),R=ut=>p(void 0,null,function*(){return(0,r.ZP)("/api/shixun_statistics/shixun_use_infos.json",{method:"Get",params:ut})});function L(ut){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns.json",{method:"Get",params:a({},ut)})})}function P(ut){return p(this,null,function*(){return(0,r.ZP)("/api/disciplines.json",{method:"Get",params:a({source:"shixun"},ut||{})})})}function D(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}.json`,{method:"Get",params:ut})})}function B(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/show_right.json`,{method:"Get"})})}function $(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/challenges.json`,{method:"Get"})})}function j(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/save_copy_for_exercise.json`,{method:"post",body:{save_type:ut.save_type}})})}function K(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/jupyter_exec.json${ut.reset?`?reset=${ut.reset}`:""}`,{method:"Get",params:ut})})}function V(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/shixun_exec.json${ut.reset?`?reset=${ut.reset}`:""}`,{method:"Get",params:ut})})}function W(ut){return p(this,null,function*(){return(0,r.ZP)(ut.url,{method:"Get"})})}function oe(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.shixun_identifier}/challenges/${ut.challenge_id}/index_up.json`,{method:"Get"})})}function se(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.shixun_identifier}/challenges/${ut.challenge_id}/index_down.json`,{method:"Get"})})}function le(ut){return p(this,null,function*(){return(0,r.ZP)("/api/collections/cancel.json",{method:"Delete",body:{container_id:ut.container_id,container_type:ut.container_type}})})}function q(ut){return p(this,null,function*(){return(0,r.ZP)("/api/collections.json",{method:"Post",body:{container_id:ut.container_id,container_type:ut.container_type}})})}function J(ut){return p(this,null,function*(){const{id:qn}=ut||{};return(0,r.ZP)(`/api/shixuns/${qn}/search_user_courses.json`,{method:"Get",params:ut})})}function Y(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut==null?void 0:ut.id}/send_to_course.json`,{method:"Post",body:a({},ut)})})}function ue(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/cancel_publish.json`,{method:"Get"})})}function ne(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/cancel_apply_public.json`,{method:"Get"})})}function te(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/apply_public.json`,{method:"post",body:a({},ut)})})}function ae(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/publish.json`,{method:"Get"})})}function F(ut){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/jupyter_new.json",{method:"Get"})})}function M(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/attachments/${ut.id}.json`,{method:"delete"})})}function Q(ut){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/apply_shixun_mirror.json",{method:"post",body:ut})})}function de(ut){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns.json",{method:"post",body:ut})})}function we(ut){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/jupyter_lab_new.json",{method:"get",params:ut})})}function Te(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/review_newest_record.json`,{method:"Get"})})}function je(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/review_shixun.json`,{method:"post",body:ut})})}function Fe(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/collaborators.json`,{method:"Get",params:ut})})}function Ft(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/shixun_members_added.json`,{method:"post",body:ut})})}function _t(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.identifier}/add_members_group.json`,{method:"post",body:ut})})}function Pt(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/change_manager.json`,{method:"Get",params:ut})})}function qt(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/change_manager.json`,{method:"post",body:ut})})}function er(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/collaborators_delete.json`,{method:"delete",body:{user_id:ut.userId}})})}function Jt(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/ranking_list.json`,{method:"Get"})})}function Xe(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/settings.json`,{method:"Get"})})}function It(ut){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/get_mirror_script.json",{method:"Get",params:{mirror_id:ut.mirror_id}})})}function zt(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/get_script_contents.json`,{method:"Get",params:ut})})}function st(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/get_custom_script.json`,{method:"Get",params:ut})})}function bt(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/update_for_jupyter.json`,{method:"put",body:ut})})}function ht(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/shixun_quotes.json`,{method:"Get"})})}function et(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}.json`,{method:"delete"})})}function Ue(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/close.json`,{method:"post",body:ut})})}function ge(ut){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/departments.json",{method:"Get",params:ut})})}function Ce(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/update_permission_setting.json`,{method:"post",body:ut})})}function Me(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/update_learn_setting.json`,{method:"post",body:ut})})}function $e(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/update_setting`,{method:"post",body:ut})})}function He(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/get_data_sets.json`,{method:"Get",params:ut})})}function it(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/destroy_data_sets.json`,{method:"Delete",body:{id:ut.deleteId}})})}function ct(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/challenges/new.json`,{method:"get"})})}function Vt(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.identifier}/challenges.json`,{method:"post",body:a({},ut)})})}function Wt(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/challenges/${ut.challengeId}/edit.json`,{method:"get",params:{tab:ut.tab}})})}function De(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/challenges/${ut.challengesId}.json`,{method:"put",body:a({},ut)})})}function Je(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/challenges/${ut.challengesId}/choose_questions.json`,{method:"get"})})}function Gt(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/challenges/move_position.json`,{method:"post",body:a({},ut)})})}function kt(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/challenges/${ut.challengesId}.json`,{method:"delete",body:a({},ut)})})}function Ht(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/challenges/${ut.challengesId}/edit.json`,{method:"get",params:a({},ut)})})}function jt(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/challenges/${ut.challengeId}/answer.json`,{method:"get",params:a({},ut)})})}function At(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/challenges/${ut.challengeId}/crud_answer.json`,{method:"post",body:a({},ut)})})}function Yt(ut){return p(this,null,function*(){if(ut.type===1)return(0,r.ZP)(`/api/shixuns/${ut.id}/challenges/${ut.challengesId}/create_choose_question.json`,{method:"post",body:a({},ut)});if(ut.type===2)return(0,r.ZP)(`/api/shixuns/${ut.id}/challenges/${ut.challengesId}/create_blank_question.json`,{method:"post",body:a({},ut)});if(ut.type===3)return(0,r.ZP)(`/api/shixuns/${ut.id}/challenges/${ut.challengesId}/create_judge_question.json`,{method:"post",body:a({},ut)})})}function Ge(ut){return p(this,null,function*(){if(ut.type===1)return(0,r.ZP)(`/api/shixuns/${ut.id}/challenges/${ut.challengesId}/update_choose_question.json`,{method:"post",body:x(a({},ut),{choose_id:ut.questionId})});if(ut.type===2)return(0,r.ZP)(`/api/shixuns/${ut.id}/challenges/${ut.challengesId}/update_blank_question.json`,{method:"put",body:x(a({},ut),{choose_id:ut.questionId})});if(ut.type===3)return(0,r.ZP)(`/api/shixuns/${ut.id}/challenges/${ut.challengesId}/update_judge_question.json`,{method:"put",body:x(a({},ut),{choose_id:ut.questionId})})})}function fe(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/challenges/${ut.challengesId}/destroy_challenge_choose.json`,{method:"Delete",body:{choose_id:ut.questionId}})})}function _e(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/challenges/${ut.challengesId}/choose_question_up_position.json`,{method:"post",body:{challenge_choose_id:ut.questionId}})})}function Ot(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/challenges/${ut.challengesId}/choose_question_down_position.json`,{method:"post",body:{challenge_choose_id:ut.questionId}})})}function Ie(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/challenges/${ut.challengesId}/edit_choose_question.json`,{method:"get",params:x(a({},ut),{choose_id:ut.questionId})})})}function dt(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/delete_git_file.json`,{method:"Delete",body:ut})})}function Zt(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/sci/projects/${ut.id}/delete_git_file.json`,{method:"Delete",body:ut})})}function Ct(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/mv_file.json`,{method:"post",body:ut})})}function Oe(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/sci/projects/${ut.id}/mv_file.json`,{method:"post",body:ut})})}function wt(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/repository.json`,{method:"post",body:ut})})}function be(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/sci/projects/${ut.id}/repository.json`,{method:"post",body:ut})})}function Ke(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/secret_repository.json`,{method:"post",body:ut})})}function gt(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/add_file.json`,{method:"post",body:ut})})}function Rt(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/sci/projects/${ut.id}/add_file.json`,{method:"post",body:ut})})}function Be(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/commits.json`,{method:"post",body:ut})})}function Or(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/file_content.json`,{method:"post",body:ut})})}function St(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/sci/projects/${ut.id}/file_content.json`,{method:"post",body:ut})})}function Gr(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/update_file.json`,{method:"post",body:ut})})}function Qr(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/sci/projects/${ut.id}/update_file.json`,{method:"post",body:ut})})}function Ar(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/upload_git_folder.json`,{method:"post",body:{path:ut.path,secret_repository:ut.secret_repository}})})}function Fr(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/${ut.url}`,{method:"Get"})})}function _r(ut){return p(this,null,function*(){return(0,r.ZP)("/api/jupyters/get_info_with_tpm.json",{method:"Get",params:ut})})}function jr(ut){return p(this,null,function*(){return(0,r.ZP)("/api/jupyters/timeinfo_with_tpm.json",{method:"Get",params:ut})})}function an(ut){return p(this,null,function*(){return(0,r.ZP)("/api/jupyters/reset_with_tpm.json",{method:"Get",params:ut})})}function un(ut){return p(this,null,function*(){return(0,r.ZP)("/api/jupyters/save_with_tpm.json",{method:"Get",params:ut})})}function or(ut){return p(this,null,function*(){return(0,r.ZP)("/api/jupyters/active_with_tpm.json",{method:"Get",params:ut})})}function Lt(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/fork_list.json`,{method:"Get",params:ut})})}function vt(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.identifier}/change_editable.json`,{method:"put",body:a({},ut)})})}function yt(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/set_secret_dir.json`,{method:"post",body:a({},ut)})})}function Ut(ut){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/new.json",{method:"Get",params:ut})})}function Cr(ut){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/environment_info",{method:"Get",params:ut})})}function gr(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/init_repository.json`,{method:"post",body:a({},ut)})})}function ot(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/sci/projects/${ut.id}/init_repository.json`,{method:"post",body:a({},ut)})})}function Lr(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/update_secret_repository.json`,{method:"post",body:a({},ut)})})}function gn(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/exist_exercise.json`,{method:"get",params:a({},ut)})})}function Hn(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/mirror_applies/${ut.id}.json`,{method:"get",params:a({},ut)})})}function mr(ut){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${ut.id}/publish.json`,{method:"post",body:a({},ut)})})}function Jr(ut){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${ut.id}/open_vnc.json`,{method:"post",params:a({},ut)})})}function dn(ut){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${ut.id}/open_webssh.json`,{method:"post",params:a({},ut)})})}function Fn(ut){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${ut.id}/save_image.json`,{method:"post",body:a({},ut)})})}function ri(ut){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${ut.id}/delete_image.json`,{method:"post",body:a({},ut)})})}function Nn(ut){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${ut.id}/extend_vnc.json`,{method:"post",body:a({},ut)})})}function Zi(ut){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${ut.id}/reset_vnc_link.json`,{method:"post",body:a({},ut)})})}function gi(ut){return p(this,null,function*(){return(0,r.ZP)("/api/paths/get_task_pass.json",{method:"get",params:a({},ut)})})}function xi(ut){return p(this,null,function*(){return(0,r.ZP)("/api/jupyters/get_info_with_jupyter_lab.json",{method:"get",params:a({},ut)})})}function yi(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/update_jupyter_lab_setting.json`,{method:"post",body:a({},ut)})})}function _i(ut){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/check_shixun_copy.json",{method:"post",body:ut})})}function Yi(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/progress_homeworks/${ut}`,{method:"get",params:{is_initiative_study:1}})})}function Qn(ut){return p(this,null,function*(){return Fetch(`/api/shixuns/${ut.id}/update_shixun_study_num.json`,{method:"post",body:a({},ut)})})}function Vi(ut){return p(this,null,function*(){return(0,r.ZP)("/api/jupyters/preview.json",{method:"get",params:ut})})}function Et(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut}/recommend_config.json`,{method:"get"})})}},43859:function(d,g,e){"use strict";e.d(g,{Bg:function(){return p},FO:function(){return B},eJ:function(){return b},eZ:function(){return S},fd:function(){return V},gp:function(){return a},iU:function(){return j},l3:function(){return L},mw:function(){return P},oZ:function(){return _},rM:function(){return D},r_:function(){return K},s:function(){return x},ur:function(){return $},xV:function(){return y},yb:function(){return R}});var r=e(99064),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(W,oe,se)=>oe in W?i(W,oe,{enumerable:!0,configurable:!0,writable:!0,value:se}):W[oe]=se,h=(W,oe)=>{for(var se in oe||(oe={}))c.call(oe,se)&&o(W,se,oe[se]);if(l)for(var se of l(oe))f.call(oe,se)&&o(W,se,oe[se]);return W},u=(W,oe,se)=>new Promise((le,q)=>{var J=ne=>{try{ue(se.next(ne))}catch(te){q(te)}},Y=ne=>{try{ue(se.throw(ne))}catch(te){q(te)}},ue=ne=>ne.done?le(ne.value):Promise.resolve(ne.value).then(J,Y);ue((se=se.apply(W,oe)).next())});function a(W){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${W.coursesId}/teachers.json`,{method:"get",params:h({},W)})})}function x(W){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${W.coursesId}/apply_teachers.json`,{method:"get",params:h({},W)})})}function p(W){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${W.coursesId}/graduation_group_list.json`,{method:"get",params:h({},W)})})}function y(W){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${W.coursesId}/all_course_groups.json`,{method:"get",params:h({},W)})})}function _(W){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${W.coursesId}/set_course_group.json`,{method:"post",body:h({},W)})})}function b(W){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${W.coursesId}/join_graduation_group.json`,{method:"post",body:h({},W)})})}function S(W){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${W.coursesId}/create_graduation_group.json`,{method:"post",body:h({},W)})})}function R(W){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${W.coursesId}/delete_course_teacher.json`,{method:"post",body:h({},W)})})}function L(W){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${W.coursesId}/delete_from_course.json`,{method:"post",body:h({},W)})})}function P(W){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${W.coursesId}/change_member_role.json`,{method:"post",body:h({},W)})})}function D(W){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${W.coursesId}/change_course_admin.json`,{method:"post",body:h({},W)})})}function B(W){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${W.coursesId}/teacher_application_review.json`,{method:"post",body:h({},W)})})}function $(W){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${W.coursesId}/students.json`,{method:"get",params:h({},W)})})}function j(W,oe){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${W}/apply_students.json`,{method:"get",params:oe})})}function K(W,oe){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${W}/join_student_checkout.json`,{method:"get",params:oe})})}function V(W,oe){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${W}/student_application_review.json`,{method:"post",body:oe})})}},24780:function(d,g,e){"use strict";e.d(g,{B$:function(){return y},Cx:function(){return J},DA:function(){return D},DH:function(){return p},Ef:function(){return ne},Es:function(){return b},Ex:function(){return qt},FM:function(){return se},Fn:function(){return te},Gq:function(){return Jt},Ho:function(){return $},IU:function(){return de},JJ:function(){return ae},Ol:function(){return Fe},Qx:function(){return oe},Tv:function(){return F},V8:function(){return x},WS:function(){return Y},WY:function(){return W},ai:function(){return q},bG:function(){return R},bJ:function(){return a},c0:function(){return er},dE:function(){return Q},dt:function(){return M},gI:function(){return ue},lO:function(){return le},mW:function(){return V},n0:function(){return P},nV:function(){return je},o1:function(){return Ft},qE:function(){return _},qN:function(){return B},rV:function(){return j},sh:function(){return Te},vR:function(){return S},w3:function(){return K},x4:function(){return L},z2:function(){return _t}});var r=e(99064),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(Xe,It,zt)=>It in Xe?i(Xe,It,{enumerable:!0,configurable:!0,writable:!0,value:zt}):Xe[It]=zt,h=(Xe,It)=>{for(var zt in It||(It={}))c.call(It,zt)&&o(Xe,zt,It[zt]);if(l)for(var zt of l(It))f.call(It,zt)&&o(Xe,zt,It[zt]);return Xe},u=(Xe,It,zt)=>new Promise((st,bt)=>{var ht=ge=>{try{Ue(zt.next(ge))}catch(Ce){bt(Ce)}},et=ge=>{try{Ue(zt.throw(ge))}catch(Ce){bt(Ce)}},Ue=ge=>ge.done?st(ge.value):Promise.resolve(ge.value).then(ht,et);Ue((zt=zt.apply(Xe,It)).next())});const a=Xe=>u(void 0,null,function*(){return(0,r.ZP)(`/api/common_comments/${Xe.id}/move.json`,{method:"post",body:Xe})}),x=Xe=>u(void 0,null,function*(){return(0,r.ZP)(`/api/common_comments/${Xe.id}.json`,{method:"delete",body:Xe})}),p=Xe=>u(void 0,null,function*(){return(0,r.ZP)(`/api/common_comments/${Xe.id}.json`,{method:"put",body:Xe})}),y=Xe=>u(void 0,null,function*(){return(0,r.ZP)("/api/common_comments.json",{method:"post",body:Xe})}),_=Xe=>u(void 0,null,function*(){return(0,r.ZP)("/api/common_comments.json",{method:"Get",params:Xe})});function b(Xe){return u(this,null,function*(){return(0,r.ZP)("/api/accounts/login.json",{method:"post",body:h({},Xe)})})}function S(Xe){return u(this,null,function*(){return(0,r.ZP)("/api/accounts/logout.json",{method:"get"})})}function R(Xe){return u(this,null,function*(){return(0,r.ZP)("/api/users/get_user_info.json",{method:"get",params:h({},Xe)})})}function L(Xe){return u(this,null,function*(){return(0,r.ZP)("/api/users/get_notice.json",{method:"get",params:h({},Xe)})})}function P(){return u(this,null,function*(){return(0,r.ZP)("/api/users/system_update.json",{method:"get"})})}function D(Xe){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${Xe.username}/homepage_info.json`,{method:"get"})})}function B(Xe){return u(this,null,function*(){return(0,r.ZP)("/api/users/attendance.json",{method:"post"})})}function $(Xe){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${Xe.username}/courses.json`,{method:"get",params:Xe})})}function j(Xe){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${Xe.username}/shixuns.json`,{method:"get",params:Xe})})}function K(Xe){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${Xe.username}/subjects.json`,{method:"get",params:Xe})})}function V(Xe){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${Xe.username}/projects.json`,{method:"get",params:Xe})})}function W(Xe){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${Xe.username}/videos.json`,{method:"get",params:Xe})})}function oe(Xe){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${Xe.username}/videos/review.json`,{method:"get",params:Xe})})}function se(Xe){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${Xe.username}/videos/${Xe.id}.json`,{method:"delete"})})}function le(Xe){return u(this,null,function*(){return(0,r.ZP)("/api/watch_video_histories.json",{method:"post",body:Xe})})}function q(Xe){return u(this,null,function*(){return(0,r.ZP)("/api/users/question_banks.json",{method:"get",params:Xe})})}function J(Xe){return u(this,null,function*(){return(0,r.ZP)("/api/question_banks/multi_public.json",{method:"post",body:Xe})})}function Y(Xe){return u(this,null,function*(){return(0,r.ZP)("/api/question_banks/multi_delete.json",{method:"delete",body:Xe})})}function ue(Xe){return u(this,null,function*(){return(0,r.ZP)("/api/question_banks/my_courses.json",{method:"get",params:Xe})})}function ne(Xe){return u(this,null,function*(){return(0,r.ZP)("/api/question_banks/send_to_course.json",{method:"post",body:Xe})})}function te(Xe){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${Xe.username}/videos/${Xe.object_id}/create_course_video.json`,{method:"post",body:Xe})})}function ae(Xe){return u(this,null,function*(){return(0,r.ZP)(`/api/homework_banks/${Xe.topicId}.json`,{method:"get",params:Xe})})}function F(Xe){return u(this,null,function*(){return(0,r.ZP)("/api/question_banks/multi_delete.json",{method:"delete",body:h({},Xe)})})}function M(Xe){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${Xe.username}/videos/batch_publish.json`,{method:"post",body:Xe})})}function Q(Xe){return u(this,null,function*(){return(0,r.ZP)(`/api/myshixuns/${Xe.identifier}/cancel.json`,{method:"delete",body:h({},Xe)})})}function de(Xe){return u(this,null,function*(){return(0,r.ZP)("/api/users/get_engineer_url.json",{method:"get",params:h({},Xe)})})}function we(Xe){return u(this,null,function*(){return Fetch("/api/intelligent_recommendations/user_choice_learn_path.json",{method:"post",body:h({},Xe)})})}function Te(){return u(this,null,function*(){return(0,r.ZP)("/api/intelligent_recommendations/persona.json",{method:"get"})})}function je(){return u(this,null,function*(){return(0,r.ZP)("/api/intelligent_recommendations/user_learn_path.json",{method:"get"})})}function Fe(Xe){return(0,r.ZP)("/api/accounts/valid_email_and_phone.json",{method:"get",params:Xe})}function Ft(Xe){return(0,r.ZP)("/api/accounts/get_verification_code.json",{method:"get",params:Xe})}function _t(Xe){return(0,r.ZP)("/api/accounts/register.json",{method:"post",body:h({},Xe)})}function Pt(Xe){return Fetch("/api/weapps/register.json",{method:"post",body:h({},Xe)})}function qt(Xe){return(0,r.ZP)(`/api/users/accounts/${Xe.login}/password.json`,{method:"put",body:h({},Xe)})}function er(Xe){return(0,r.ZP)("/api/accounts/reset_password.json",{method:"post",body:h({},Xe)})}function Jt(Xe){return(0,r.ZP)("/api/accounts/login_for_phone.json",{method:"get",params:h({},Xe)})}},75730:function(d,g,e){"use strict";e.d(g,{BQ:function(){return a},DH:function(){return $},Db:function(){return le},Ju:function(){return se},Mz:function(){return V},O2:function(){return _},TJ:function(){return R},Vg:function(){return y},ZY:function(){return x},Zx:function(){return K},cU:function(){return p},fn:function(){return oe},jK:function(){return L},yN:function(){return W}});var r=e(99064),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(q,J,Y)=>J in q?i(q,J,{enumerable:!0,configurable:!0,writable:!0,value:Y}):q[J]=Y,h=(q,J)=>{for(var Y in J||(J={}))c.call(J,Y)&&o(q,Y,J[Y]);if(l)for(var Y of l(J))f.call(J,Y)&&o(q,Y,J[Y]);return q},u=(q,J,Y)=>new Promise((ue,ne)=>{var te=M=>{try{F(Y.next(M))}catch(Q){ne(Q)}},ae=M=>{try{F(Y.throw(M))}catch(Q){ne(Q)}},F=M=>M.done?ue(M.value):Promise.resolve(M.value).then(te,ae);F((Y=Y.apply(q,J)).next())});function a(q){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${q.coursesId}/watch_video_histories.json`,{method:"Get",params:h({},q)})})}function x(q){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${q.coursesId}/watch_statics.json`,{method:"Get",params:h({},q)})})}function p(q){return u(this,null,function*(){return(0,r.ZP)(`/api/course_videos/${q.videoId}/watch_histories.json`,{method:"Get",params:h({},q)})})}function y(q){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${q.coursesId}/own_watch_histories.json`,{method:"Get",params:h({},q)})})}function _(q){return u(this,null,function*(){return(0,r.ZP)(`/api/video_items/${q.id}.json`,{method:"Get",params:h({},q)})})}function b(q){return u(this,null,function*(){return Fetch("/api/video_items.json",{method:"post",body:q})})}function S(q){return u(this,null,function*(){return Fetch(`/api/video_items/${q.id}/edit.json`,{method:"Get",params:h({},q)})})}function R(q){return u(this,null,function*(){return(0,r.ZP)(`/api/stage_shixuns/${q.id}/edit.json`,{method:"Get",params:h({},q)})})}function L(q){return u(this,null,function*(){return(0,r.ZP)(`/api/video_items/${q.id}/star.json`,{method:"post",body:q})})}function P(q){return u(this,null,function*(){return Fetch(`/api/video_items/${q.id}.json`,{method:"put",body:q})})}function D(q){return u(this,null,function*(){return Fetch(`/api/video_items/${q.id}/send_to_course.json`,{method:"post",body:q})})}function B(q){return u(this,null,function*(){return Fetch("/api/users/my_courses.json",{method:"Get",params:h({},q)})})}function $(q){return u(this,null,function*(){return(0,r.ZP)(`/api/video_items/${q.id}/view_video.json`,{method:"post",body:q})})}function j(q){return u(this,null,function*(){return Fetch(`/api/video_items/${q.id}/add_school.json`,{method:"post",body:q})})}function K(q){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${q.course_id}/video_people_statics.json`,{method:"get",params:q})})}function V(q){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${q.course_id}/video_duration_statics.json`,{method:"get",params:q})})}function W(q){return u(this,null,function*(){return(0,r.ZP)("/api/stages.json",{method:"get",params:q})})}function oe(q){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${q==null?void 0:q.id}/course_videos_tree.json`,{method:"get",params:q})})}function se(q){return u(this,null,function*(){return(0,r.ZP)("/api/study_action_analyses.json",{method:"post",body:q})})}function le(q){return u(this,null,function*(){return(0,r.ZP)("/api/study_action_analyses/detail.json",{method:"post",body:q})})}},62406:function(d,g,e){"use strict";e.d(g,{A:function(){return V},CH:function(){return c},EA:function(){return h},FU:function(){return x},G_:function(){return _},LY:function(){return B},Ll:function(){return o},MM:function(){return L},Ps:function(){return $},Sl:function(){return S},To:function(){return p},Vf:function(){return y},XQ:function(){return f},b:function(){return a},bq:function(){return K},cZ:function(){return u},rV:function(){return D},sT:function(){return b},tS:function(){return j},xt:function(){return P},y2:function(){return l}});var r=e(99064),i=(W,oe,se)=>new Promise((le,q)=>{var J=ne=>{try{ue(se.next(ne))}catch(te){q(te)}},Y=ne=>{try{ue(se.throw(ne))}catch(te){q(te)}},ue=ne=>ne.done?le(ne.value):Promise.resolve(ne.value).then(J,Y);ue((se=se.apply(W,oe)).next())});const l=W=>i(void 0,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${W.virtual_spacesId}/base_statistic_data.json`,{method:"Get",params:W})});function c(W){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${W.virtual_spacesId}/discussions/${W.id}.json`,{method:"put",body:W})})}function f(W){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${W.virtual_spacesId}/discussions/${W.id}.json`,{method:"get",params:W})})}function o(W){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${W.virtual_spacesId}/discussions.json`,{method:"post",body:W})})}function h(W){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${W.virtual_spacesId}/discussions.json`,{method:"get",params:W})})}function u(W){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${W.virtual_spacesId}/good_lessons/${W.id}/add_resources.json`,{method:"post",body:W})})}function a(W){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${W.virtual_spacesId}/good_lessons/${W.id}/lesson_resources_list.json`,{method:"get",params:W})})}function x(W){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${W.virtual_spacesId}/good_lessons/${W.id}.json`,{method:"get",params:W})})}function p(W){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${W.virtual_spacesId}/good_lessons/${W.id}.json`,{method:"put",body:W})})}function y(W){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${W.virtual_spacesId}/good_lessons.json`,{method:"post",body:W})})}function _(W){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${W.virtual_spacesId}/good_lessons.json`,{method:"get",params:W})})}function b(W){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${W==null?void 0:W.id}.json`,{method:"get"})})}function S(W){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${W==null?void 0:W.id}/modules.json`,{method:"get"})})}function R(W){return i(this,null,function*(){return Fetch(`/api/virtual_classrooms/${W.id}/videos/batch_publish.json`,{method:"post",body:W})})}function L(W){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${W.virtual_spacesId}/members.json`,{method:"post",body:W})})}function P(W){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${W.virtual_spacesId}/members/${W.id}/change_creator.json`,{method:"post",body:W})})}function D(W,oe){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${W}/shixuns.json`,{method:"get",params:oe})})}function B(W,oe){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${W}/shixuns`,{method:"post",body:oe})})}function $(W){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${W.virtual_classroom_id}/shixuns/${W.shixun_id}.json`,{method:"delete"})})}function j(W,oe){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${W}/subjects.json`,{method:"get",params:oe})})}function K(W,oe){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${W}/subjects.json`,{method:"post",body:oe})})}function V(W){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${W.virtual_classroom_id}/subjects/${W.subject_id}.json`,{method:"delete"})})}},24065:function(d,g,e){"use strict";e.d(g,{$O:function(){return J},EO:function(){return it},G5:function(){return K},GD:function(){return i},GJ:function(){return x},Gg:function(){return p},I2:function(){return f},IR:function(){return W},JA:function(){return He},JL:function(){return P},Jd:function(){return q},Ny:function(){return R},RV:function(){return se},Rb:function(){return j},Rm:function(){return V},V9:function(){return M},Yh:function(){return te},aN:function(){return b},aQ:function(){return u},ag:function(){return $e},bg:function(){return Vt},d8:function(){return $},dE:function(){return oe},eB:function(){return le},eY:function(){return Wt},fn:function(){return Me},h:function(){return jt},j5:function(){return _},m$:function(){return De},oF:function(){return y},qz:function(){return h},t_:function(){return S},tu:function(){return Gt},y8:function(){return ct}});var r=e(89070),i=(At=>(At[At.SuperAdmin=1]="SuperAdmin",At[At.Operation=2]="Operation",At[At.CertifiedTeacher=5]="CertifiedTeacher",At[At.TrainingProduction=8]="TrainingProduction",At[At.UncertifiedTeacher=12]="UncertifiedTeacher",At[At.Student=15]="Student",At))(i||{}),l=(At=>(At[At.SuperAdmin=1]="SuperAdmin",At[At.Operation=2]="Operation",At[At.Admin=5]="Admin",At[At.Teacher=8]="Teacher",At[At.Assistant=12]="Assistant",At[At.Student=15]="Student",At))(l||{}),c=(At=>(At[At.SuperAdmin=0]="SuperAdmin",At[At.Teacher=1]="Teacher",At[At.Student=2]="Student",At))(c||{});const f=At=>{const{user:Yt}=(0,r.getDvaApp)()._store.getState(),{userInfo:Ge}=Yt;return At.some(fe=>fe==(Ge==null?void 0:Ge.role))},o=At=>{const{user:Yt}=(0,r.getDvaApp)()._store.getState(),{userInfo:Ge}=Yt;return Ge!=null&&Ge.own?!0:At.some(fe=>{var _e;return fe==((_e=Ge==null?void 0:Ge.course)==null?void 0:_e.course_role)})},h=()=>{const{user:At}=(0,r.getDvaApp)()._store.getState(),{userInfo:Yt}=At;return Yt.main_site},u=()=>{var At;const{user:Yt}=(0,r.getDvaApp)()._store.getState(),{userInfo:Ge}=Yt;return(At=Ge==null?void 0:Ge.course)==null?void 0:At.course_is_end},a=()=>{const{user:At}=getDvaApp()._store.getState(),{userInfo:Yt}=At;return Yt.authentication},x=()=>o([1,2,5,8,12]),p=()=>o([1,8,5,12,2]),y=()=>o([1,8,5]),_=()=>o([1]),b=()=>o([1,2,5]),S=()=>o([1,2]),R=()=>f([1,2]),L=()=>f([1]),P=()=>f([1,2,5]),D=()=>o([1,5]),B=()=>o([5,8]),$=()=>o([5]),j=()=>o([1,5,2]),K=()=>o([1,2,5,8]),V=()=>o([12]),W=()=>o([8]),oe=()=>o([15]),se=()=>o([1,2,5,8,12,15]),le=()=>o([1,2,5,8,12]),q=()=>{var At;const{user:Yt}=(0,r.getDvaApp)()._store.getState(),{userInfo:Ge}=Yt;return((At=Ge==null?void 0:Ge.course)==null?void 0:At.course_role)===null},J=()=>{var At;const{user:Yt,globalSetting:Ge}=(0,r.getDvaApp)()._store.getState(),{userInfo:fe}=Yt,_e=((At=Ge==null?void 0:Ge.setting)==null?void 0:At.big_model_users)||[];return _e==null?void 0:_e.includes(fe==null?void 0:fe.login)},Y=(At=!0,Yt=!1)=>f([1,2,5,8,12,15]),ue=(At=!0,Yt=!1)=>Yt||!Yt&&f([1]),ne=(At=!0,Yt=!1)=>Yt||!Yt&&f([1,2]),te=()=>f([15]),ae=(At=!0,Yt=!1)=>At?f([1,2,5,8,12,15]):Yt||!Yt&&f([1,2]),F=(At=!0,Yt=!1)=>At?f([1,2,5,8,12,15]):Yt||!Yt&&f([1,2]),M=(At=!0,Yt=!1)=>{const{user:Ge}=(0,r.getDvaApp)()._store.getState(),{userInfo:fe}=Ge;return fe!=null&&fe.is_shixun_marker?!0:f([1,2,5,8])},Q=(At=!0,Yt=!1)=>At?f([1]):Yt||!Yt&&f([1]),de=(At=!0,Yt=!1)=>At?f([1,2]):Yt||!Yt&&f([1,2]),we=(At=!0,Yt=!1)=>At?f([1,2,5,8,12,15]):Yt||!Yt&&f([1,2]),Te=(At=!0,Yt=!1)=>At?f([1,2,5,8,12]):Yt||!Yt&&f([1,2]),je=(At=!0,Yt=!1)=>At?f([1,2,5]):Yt||!Yt&&f([1,2]),Fe=(At=!0,Yt=!1)=>At?f([1]):!1,Ft=(At=!0,Yt=!1)=>f([1,2,5,8,12,15]),_t=(At=!0,Yt=!1)=>At?f([1]):Yt||!Yt&&f([1]),Pt=(At=!0,Yt=!1)=>At?f([1,2]):Yt||!Yt&&f([1,2]),qt=(At=!0,Yt=!1)=>At?f([1,2,5,8,12,15]):Yt||!Yt&&f([1,2]),er=(At=!0,Yt=!1)=>At?!1:Yt||!Yt&&f([1,2]),Jt=(At=!0,Yt=!1)=>At?Yt||!Yt&&f([1,2]):!1,Xe=(At=!0,Yt=!1)=>At?f([1,2,5,8,12]):!1,It=(At=!0,Yt=!1)=>At?!Yt&&f([1,2,5,8,12]):!1,zt=(At=!0,Yt=!1)=>At?f([1,2,5]):Yt||!Yt&&f([1,2]),st=(At=!0,Yt=!1)=>f([1,2,5,8,12]),bt=(At=!0,Yt=!1)=>At?f([1]):Yt||!Yt&&f([1]),ht=(At=!0,Yt=!1)=>At?f([1,2]):Yt||!Yt&&f([1,2]),et=(At=!0,Yt=!1)=>At?f([1,2,5,8,12]):Yt||!Yt&&f([1,2]),Ue=(At=!0,Yt=!1)=>At?Yt||!Yt&&f([1,2]):!1,ge=(At=!0,Yt=!1)=>At?f([1,2,5,8,12]):Yt||!Yt&&f([1,2]),Ce=(At=!0,Yt=!1)=>o([8]),Me=()=>f([1]),$e=()=>f([1,2]),He=()=>f([15]),it=()=>f([1,2,5]),ct=()=>f([1,2,5,12]),Vt=()=>{var At;const{user:Yt}=(0,r.getDvaApp)()._store.getState();return!!((At=Yt.userInfo)!=null&&At.login)},Wt=()=>{const{user:At}=(0,r.getDvaApp)()._store.getState();return At.userInfo},De=()=>{var At,Yt;const{user:Ge}=(0,r.getDvaApp)()._store.getState();return!!((Yt=(At=Ge.userInfo)==null?void 0:At.path)!=null&&Yt.own)},Je=At=>{const{graduations:Yt}=(0,r.getDvaApp)()._store.getState(),{details:Ge}=Yt;return At.some(fe=>fe===(Ge==null?void 0:Ge.user_identity))},Gt=()=>Je([0,1]),kt=()=>Je([0]),Ht=()=>Je([1]),jt=()=>Je([2])},14165:function(d,g,e){"use strict";e.d(g,{a2:function(){return c},fw:function(){return r},gW:function(){return l},k:function(){return f},k4:function(){return i}});const r=[{id:0,name:"\u5355\u9009\u9898",nameType:"SINGLE"},{id:1,name:"\u591A\u9009\u9898",nameType:"MULTIPLE"},{id:2,name:"\u5224\u65AD\u9898",nameType:"JUDGMENT"},{id:3,name:"\u586B\u7A7A\u9898",nameType:"COMPLETION"},{id:4,name:"\u7B80\u7B54\u9898",nameType:"SUBJECTIVE"},{id:5,name:"\u5B9E\u8BAD\u9898",nameType:"PRACTICAL"},{id:6,name:"\u7F16\u7A0B\u9898",nameType:"PROGRAM"},{id:7,name:"\u7EC4\u5408\u9898",nameType:"COMBINATION"},{id:8,name:"\u7A0B\u5E8F\u586B\u7A7A\u9898",nameType:"BPROGRAM"}],i=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"];var l=(o=>(o.PROBLEM="problem",o.PAPER="paper",o.OTHER="other",o))(l||{}),c=(o=>(o.SINGLE="single",o.MULTIPLEFLOW="multiple_flow",o.MULTIPLEFIXED="multiple_fixed",o.OTHER="other",o))(c||{}),f=(o=>(o[o.BISHI=1]="BISHI",o[o.JISHI=2]="JISHI",o[o.KOUSHI=3]="KOUSHI",o[o.OTHER=4]="OTHER",o))(f||{})},33466:function(d,g,e){"use strict";e.d(g,{F:function(){return r}});const r={load:"text/html",123:"application/vndlotus-1-2-3","3ds":"image/x-3ds","3g2":"video/3gpp","3ga":"video/3gpp","3gp":"video/3gpp","3gpp":"video/3gpp",602:"application/x-t602",669:"audio/x-mod","7z":"application/x-7z-compressed",a:"application/x-archive",aac:"audio/mp4",abw:"application/x-abiword",abwcrashed:"application/x-abiword",abwgz:"application/x-abiword",ac3:"audio/ac3",ace:"application/x-ace",adb:"text/x-adasrc",ads:"text/x-adasrc",afm:"application/x-font-afm",ag:"image/x-applix-graphics",ai:"application/illustrator",aif:"audio/x-aiff",aifc:"audio/x-aiff",aiff:"audio/x-aiff",al:"application/x-perl",alz:"application/x-alz",amr:"audio/amr",ani:"application/x-navi-animation","anim[1-9j]":"video/x-anim",anx:"application/annodex",ape:"audio/x-ape",arj:"application/x-arj",arw:"image/x-sony-arw",as:"application/x-applix-spreadsheet",asc:"text/plain",asf:"video/x-ms-asf",asp:"application/x-asp",ass:"text/x-ssa",asx:"audio/x-ms-asx",atom:"application/atom+xml",au:"audio/basic",avi:"video/x-msvideo",aw:"application/x-applix-word",awb:"audio/amr-wb",awk:"application/x-awk",axa:"audio/annodex",axv:"video/annodex",bak:"application/x-trash",bcpio:"application/x-bcpio",bdf:"application/x-font-bdf",bib:"text/x-bibtex",bin:"application/octet-stream",blend:"application/x-blender",blender:"application/x-blender",bmp:"image/bmp",bz:"application/x-bzip",bz2:"application/x-bzip",c:"text/x-csrc","c++":"text/x-c++src",cab:"application/vndms-cab-compressed",cb7:"application/x-cb7",cbr:"application/x-cbr",cbt:"application/x-cbt",cbz:"application/x-cbz",cc:"text/x-c++src",cdf:"application/x-netcdf",cdr:"application/vndcorel-draw",cer:"application/x-x509-ca-cert",cert:"application/x-x509-ca-cert",cgm:"image/cgm",chm:"application/x-chm",chrt:"application/x-kchart",class:"application/x-java",cls:"text/x-tex",cmake:"text/x-cmake",cpio:"application/x-cpio",cpiogz:"application/x-cpio-compressed",cpp:"text/x-c++src",cr2:"image/x-canon-cr2",crt:"application/x-x509-ca-cert",crw:"image/x-canon-crw",cs:"text/x-csharp",csh:"application/x-csh",css:"text/css",cssl:"text/css",csv:"text/csv",cue:"application/x-cue",cur:"image/x-win-bitmap",cxx:"text/x-c++src",d:"text/x-dsrc",dar:"application/x-dar",dbf:"application/x-dbf",dc:"application/x-dc-rom",dcl:"text/x-dcl",dcm:"application/dicom",dcr:"image/x-kodak-dcr",dds:"image/x-dds",deb:"application/x-deb",der:"application/x-x509-ca-cert",desktop:"application/x-desktop",dia:"application/x-dia-diagram",diff:"text/x-patch",divx:"video/x-msvideo",djv:"image/vnddjvu",djvu:"image/vnddjvu",dng:"image/x-adobe-dng",doc:"application/msword",docbook:"application/docbook+xml",docm:"application/vndopenxmlformats-officedocumentwordprocessingmldocument",docx:"application/vndopenxmlformats-officedocumentwordprocessingmldocument",dot:"text/vndgraphviz",dsl:"text/x-dsl",dtd:"application/xml-dtd",dtx:"text/x-tex",dv:"video/dv",dvi:"application/x-dvi",dvibz2:"application/x-bzdvi",dvigz:"application/x-gzdvi",dwg:"image/vnddwg",dxf:"image/vnddxf",e:"text/x-eiffel",egon:"application/x-egon",eif:"text/x-eiffel",el:"text/x-emacs-lisp",emf:"image/x-emf",emp:"application/vndemusic-emusic_package",ent:"application/xml-external-parsed-entity",eps:"image/x-eps",epsbz2:"image/x-bzeps",epsgz:"image/x-gzeps",epsf:"image/x-eps",epsfbz2:"image/x-bzeps",epsfgz:"image/x-gzeps",epsi:"image/x-eps",epsibz2:"image/x-bzeps",epsigz:"image/x-gzeps",epub:"application/epub+zip",erl:"text/x-erlang",es:"application/ecmascript",etheme:"application/x-e-theme",etx:"text/x-setext",exe:"application/x-ms-dos-executable",exr:"image/x-exr",ez:"application/andrew-inset",f:"text/x-fortran",f90:"text/x-fortran",f95:"text/x-fortran",fb2:"application/x-fictionbook+xml",fig:"image/x-xfig",fits:"image/fits",fl:"application/x-fluid",flac:"audio/x-flac",flc:"video/x-flic",fli:"video/x-flic",flv:"video/x-flv",flw:"application/x-kivio",fo:"text/x-xslfo",for:"text/x-fortran",g3:"image/fax-g3",gb:"application/x-gameboy-rom",gba:"application/x-gba-rom",gcrd:"text/directory",ged:"application/x-gedcom",gedcom:"application/x-gedcom",gen:"application/x-genesis-rom",gf:"application/x-tex-gf",gg:"application/x-sms-rom",gif:"image/gif",glade:"application/x-glade",gmo:"application/x-gettext-translation",gnc:"application/x-gnucash",gnd:"application/gnunet-directory",gnucash:"application/x-gnucash",gnumeric:"application/x-gnumeric",gnuplot:"application/x-gnuplot",gp:"application/x-gnuplot",gpg:"application/pgp-encrypted",gplt:"application/x-gnuplot",gra:"application/x-graphite",gsf:"application/x-font-type1",gsm:"audio/x-gsm",gtar:"application/x-tar",gv:"text/vndgraphviz",gvp:"text/x-google-video-pointer",gz:"application/x-gzip",h:"text/x-chdr","h++":"text/x-c++hdr",hdf:"application/x-hdf",hh:"text/x-c++hdr",hp:"text/x-c++hdr",hpgl:"application/vndhp-hpgl",hpp:"text/x-c++hdr",hs:"text/x-haskell",htm:"text/html",html:"text/html",hwp:"application/x-hwp",hwt:"application/x-hwt",hxx:"text/x-c++hdr",ica:"application/x-ica",icb:"image/x-tga",icns:"image/x-icns",ico:"image/vndmicrosofticon",ics:"text/calendar",idl:"text/x-idl",ief:"image/ief",iff:"image/x-iff",ilbm:"image/x-ilbm",ime:"text/x-imelody",imy:"text/x-imelody",ins:"text/x-tex",iptables:"text/x-iptables",iso:"application/x-cd-image",iso9660:"application/x-cd-image",it:"audio/x-it",j2k:"image/jp2",jad:"text/vndsunj2meapp-descriptor",jar:"application/x-java-archive",java:"text/x-java",jng:"image/x-jng",jnlp:"application/x-java-jnlp-file",jp2:"image/jp2",jpc:"image/jp2",jpe:"image/jpeg",jpeg:"image/jpeg",jpf:"image/jp2",jpg:"image/jpeg",jpr:"application/x-jbuilder-project",jpx:"image/jp2",js:"application/javascript",json:"application/json",jsonp:"application/jsonp",k25:"image/x-kodak-k25",kar:"audio/midi",karbon:"application/x-karbon",kdc:"image/x-kodak-kdc",kdelnk:"application/x-desktop",kexi:"application/x-kexiproject-sqlite3",kexic:"application/x-kexi-connectiondata",kexis:"application/x-kexiproject-shortcut",kfo:"application/x-kformula",kil:"application/x-killustrator",kino:"application/smil",kml:"application/vndgoogle-earthkml+xml",kmz:"application/vndgoogle-earthkmz",kon:"application/x-kontour",kpm:"application/x-kpovmodeler",kpr:"application/x-kpresenter",kpt:"application/x-kpresenter",kra:"application/x-krita",ksp:"application/x-kspread",kud:"application/x-kugar",kwd:"application/x-kword",kwt:"application/x-kword",la:"application/x-shared-library-la",latex:"text/x-tex",ldif:"text/x-ldif",lha:"application/x-lha",lhs:"text/x-literate-haskell",lhz:"application/x-lhz",log:"text/x-log",ltx:"text/x-tex",lua:"text/x-lua",lwo:"image/x-lwo",lwob:"image/x-lwo",lws:"image/x-lws",ly:"text/x-lilypond",lyx:"application/x-lyx",lz:"application/x-lzip",lzh:"application/x-lha",lzma:"application/x-lzma",lzo:"application/x-lzop",m:"text/x-matlab",m15:"audio/x-mod",m2t:"video/mpeg",m3u:"audio/x-mpegurl",m3u8:"audio/x-mpegurl",m4:"application/x-m4",m4a:"audio/mp4",m4b:"audio/x-m4b",m4v:"video/mp4",mab:"application/x-markaby",man:"application/x-troff-man",mbox:"application/mbox",md:"application/x-genesis-rom",mdb:"application/vndms-access",mdi:"image/vndms-modi",me:"text/x-troff-me",med:"audio/x-mod",metalink:"application/metalink+xml",mgp:"application/x-magicpoint",mid:"audio/midi",midi:"audio/midi",mif:"application/x-mif",minipsf:"audio/x-minipsf",mka:"audio/x-matroska",mkv:"video/x-matroska",ml:"text/x-ocaml",mli:"text/x-ocaml",mm:"text/x-troff-mm",mmf:"application/x-smaf",mml:"text/mathml",mng:"video/x-mng",mo:"application/x-gettext-translation",mo3:"audio/x-mo3",moc:"text/x-moc",mod:"audio/x-mod",mof:"text/x-mof",moov:"video/quicktime",mov:"video/quicktime",movie:"video/x-sgi-movie","mp+":"audio/x-musepack",mp2:"video/mpeg",mp3:"audio/mpeg",mp4:"video/mp4",mpc:"audio/x-musepack",mpe:"video/mpeg",mpeg:"video/mpeg",mpg:"video/mpeg",mpga:"audio/mpeg",mpp:"audio/x-musepack",mrl:"text/x-mrml",mrml:"text/x-mrml",mrw:"image/x-minolta-mrw",ms:"text/x-troff-ms",msi:"application/x-msi",msod:"image/x-msod",msx:"application/x-msx-rom",mtm:"audio/x-mod",mup:"text/x-mup",mxf:"application/mxf",n64:"application/x-n64-rom",nb:"application/mathematica",nc:"application/x-netcdf",nds:"application/x-nintendo-ds-rom",nef:"image/x-nikon-nef",nes:"application/x-nes-rom",nfo:"text/x-nfo",not:"text/x-mup",nsc:"application/x-netshow-channel",nsv:"video/x-nsv",o:"application/x-object",obj:"application/x-tgif",ocl:"text/x-ocl",oda:"application/oda",odb:"application/vndoasisopendocumentdatabase",odc:"application/vndoasisopendocumentchart",odf:"application/vndoasisopendocumentformula",odg:"application/vndoasisopendocumentgraphics",odi:"application/vndoasisopendocumentimage",odm:"application/vndoasisopendocumenttext-master",odp:"application/vndoasisopendocumentpresentation",ods:"application/vndoasisopendocumentspreadsheet",odt:"application/vndoasisopendocumenttext",oga:"audio/ogg",ogg:"video/x-theora+ogg",ogm:"video/x-ogm+ogg",ogv:"video/ogg",ogx:"application/ogg",old:"application/x-trash",oleo:"application/x-oleo",opml:"text/x-opml+xml",ora:"image/openraster",orf:"image/x-olympus-orf",otc:"application/vndoasisopendocumentchart-template",otf:"application/x-font-otf",otg:"application/vndoasisopendocumentgraphics-template",oth:"application/vndoasisopendocumenttext-web",otp:"application/vndoasisopendocumentpresentation-template",ots:"application/vndoasisopendocumentspreadsheet-template",ott:"application/vndoasisopendocumenttext-template",owl:"application/rdf+xml",oxt:"application/vndopenofficeorgextension",p:"text/x-pascal",p10:"application/pkcs10",p12:"application/x-pkcs12",p7b:"application/x-pkcs7-certificates",p7s:"application/pkcs7-signature",pack:"application/x-java-pack200",pak:"application/x-pak",par2:"application/x-par2",pas:"text/x-pascal",patch:"text/x-patch",pbm:"image/x-portable-bitmap",pcd:"image/x-photo-cd",pcf:"application/x-cisco-vpn-settings",pcfgz:"application/x-font-pcf",pcfz:"application/x-font-pcf",pcl:"application/vndhp-pcl",pcx:"image/x-pcx",pdb:"chemical/x-pdb",pdc:"application/x-aportisdoc",pdf:"application/pdf",pdfbz2:"application/x-bzpdf",pdfgz:"application/x-gzpdf",pef:"image/x-pentax-pef",pem:"application/x-x509-ca-cert",perl:"application/x-perl",pfa:"application/x-font-type1",pfb:"application/x-font-type1",pfx:"application/x-pkcs12",pgm:"image/x-portable-graymap",pgn:"application/x-chess-pgn",pgp:"application/pgp-encrypted",php:"application/x-php",php3:"application/x-php",php4:"application/x-php",pict:"image/x-pict",pict1:"image/x-pict",pict2:"image/x-pict",pickle:"application/python-pickle",pk:"application/x-tex-pk",pkipath:"application/pkix-pkipath",pkr:"application/pgp-keys",pl:"application/x-perl",pla:"audio/x-iriver-pla",pln:"application/x-planperfect",pls:"audio/x-scpls",pm:"application/x-perl",png:"image/png",pnm:"image/x-portable-anymap",pntg:"image/x-macpaint",po:"text/x-gettext-translation",por:"application/x-spss-por",pot:"text/x-gettext-translation-template",ppm:"image/x-portable-pixmap",pps:"application/vndms-powerpoint",ppt:"application/vndms-powerpoint",pptm:"application/vndopenxmlformats-officedocumentpresentationmlpresentation",pptx:"application/vndopenxmlformats-officedocumentpresentationmlpresentation",ppz:"application/vndms-powerpoint",prc:"application/x-palm-database",ps:"application/postscript",psbz2:"application/x-bzpostscript",psgz:"application/x-gzpostscript",psd:"image/vndadobephotoshop",psf:"audio/x-psf",psfgz:"application/x-gz-font-linux-psf",psflib:"audio/x-psflib",psid:"audio/prssid",psw:"application/x-pocket-word",pw:"application/x-pw",py:"text/x-python",pyc:"application/x-python-bytecode",pyo:"application/x-python-bytecode",qif:"image/x-quicktime",qt:"video/quicktime",qtif:"image/x-quicktime",qtl:"application/x-quicktime-media-link",qtvr:"video/quicktime",ra:"audio/vndrn-realaudio",raf:"image/x-fuji-raf",ram:"application/ram",rar:"application/x-rar",ras:"image/x-cmu-raster",raw:"image/x-panasonic-raw",rax:"audio/vndrn-realaudio",rb:"application/x-ruby",rdf:"application/rdf+xml",rdfs:"application/rdf+xml",reg:"text/x-ms-regedit",rej:"application/x-reject",rgb:"image/x-rgb",rle:"image/rle",rm:"application/vndrn-realmedia",rmj:"application/vndrn-realmedia",rmm:"application/vndrn-realmedia",rms:"application/vndrn-realmedia",rmvb:"application/vndrn-realmedia",rmx:"application/vndrn-realmedia",roff:"text/troff",rp:"image/vndrn-realpix",rpm:"application/x-rpm",rss:"application/rss+xml",rt:"text/vndrn-realtext",rtf:"application/rtf",rtx:"text/richtext",rv:"video/vndrn-realvideo",rvx:"video/vndrn-realvideo",s3m:"audio/x-s3m",sam:"application/x-amipro",sami:"application/x-sami",sav:"application/x-spss-sav",scm:"text/x-scheme",sda:"application/vndstardivisiondraw",sdc:"application/vndstardivisioncalc",sdd:"application/vndstardivisionimpress",sdp:"application/sdp",sds:"application/vndstardivisionchart",sdw:"application/vndstardivisionwriter",sgf:"application/x-go-sgf",sgi:"image/x-sgi",sgl:"application/vndstardivisionwriter",sgm:"text/sgml",sgml:"text/sgml",sh:"application/x-shellscript",shar:"application/x-shar",shn:"application/x-shorten",siag:"application/x-siag",sid:"audio/prssid",sik:"application/x-trash",sis:"application/vndsymbianinstall",sisx:"x-epoc/x-sisx-app",sit:"application/x-stuffit",siv:"application/sieve",sk:"image/x-skencil",sk1:"image/x-skencil",skr:"application/pgp-keys",slk:"text/spreadsheet",smaf:"application/x-smaf",smc:"application/x-snes-rom",smd:"application/vndstardivisionmail",smf:"application/vndstardivisionmath",smi:"application/x-sami",smil:"application/smil",sml:"application/smil",sms:"application/x-sms-rom",snd:"audio/basic",so:"application/x-sharedlib",spc:"application/x-pkcs7-certificates",spd:"application/x-font-speedo",spec:"text/x-rpm-spec",spl:"application/x-shockwave-flash",spx:"audio/x-speex",sql:"text/x-sql",sr2:"image/x-sony-sr2",src:"application/x-wais-source",srf:"image/x-sony-srf",srt:"application/x-subrip",ssa:"text/x-ssa",stc:"application/vndsunxmlcalctemplate",std:"application/vndsunxmldrawtemplate",sti:"application/vndsunxmlimpresstemplate",stm:"audio/x-stm",stw:"application/vndsunxmlwritertemplate",sty:"text/x-tex",sub:"text/x-subviewer",sun:"image/x-sun-raster",sv4cpio:"application/x-sv4cpio",sv4crc:"application/x-sv4crc",svg:"image/svg+xml",svgz:"image/svg+xml-compressed",swf:"application/x-shockwave-flash",sxc:"application/vndsunxmlcalc",sxd:"application/vndsunxmldraw",sxg:"application/vndsunxmlwriterglobal",sxi:"application/vndsunxmlimpress",sxm:"application/vndsunxmlmath",sxw:"application/vndsunxmlwriter",sylk:"text/spreadsheet",t:"text/troff",t2t:"text/x-txt2tags",tar:"application/x-tar",tarbz:"application/x-bzip-compressed-tar",tarbz2:"application/x-bzip-compressed-tar",targz:"application/x-compressed-tar",tarlzma:"application/x-lzma-compressed-tar",tarlzo:"application/x-tzo",tarxz:"application/x-xz-compressed-tar",tarz:"application/x-tarz",tbz:"application/x-bzip-compressed-tar",tbz2:"application/x-bzip-compressed-tar",tcl:"text/x-tcl",tex:"text/x-tex",texi:"text/x-texinfo",texinfo:"text/x-texinfo",tga:"image/x-tga",tgz:"application/x-compressed-tar",theme:"application/x-theme",themepack:"application/x-windows-themepack",tif:"image/tiff",tiff:"image/tiff",tk:"text/x-tcl",tlz:"application/x-lzma-compressed-tar",tnef:"application/vndms-tnef",tnf:"application/vndms-tnef",toc:"application/x-cdrdao-toc",torrent:"application/x-bittorrent",tpic:"image/x-tga",tr:"text/troff",ts:"application/x-linguist",tsv:"text/tab-separated-values",tta:"audio/x-tta",ttc:"application/x-font-ttf",ttf:"application/x-font-ttf",ttx:"application/x-font-ttx",txt:"text/plain",txz:"application/x-xz-compressed-tar",tzo:"application/x-tzo",ufraw:"application/x-ufraw",ui:"application/x-designer",uil:"text/x-uil",ult:"audio/x-mod",uni:"audio/x-mod",uri:"text/x-uri",url:"text/x-uri",ustar:"application/x-ustar",vala:"text/x-vala",vapi:"text/x-vala",vcf:"text/directory",vcs:"text/calendar",vct:"text/directory",vda:"image/x-tga",vhd:"text/x-vhdl",vhdl:"text/x-vhdl",viv:"video/vivo",vivo:"video/vivo",vlc:"audio/x-mpegurl",vob:"video/mpeg",voc:"audio/x-voc",vor:"application/vndstardivisionwriter",vst:"image/x-tga",wav:"audio/x-wav",wax:"audio/x-ms-asx",wb1:"application/x-quattropro",wb2:"application/x-quattropro",wb3:"application/x-quattropro",wbmp:"image/vndwapwbmp",wcm:"application/vndms-works",wdb:"application/vndms-works",webm:"video/webm",wk1:"application/vndlotus-1-2-3",wk3:"application/vndlotus-1-2-3",wk4:"application/vndlotus-1-2-3",wks:"application/vndms-works",wma:"audio/x-ms-wma",wmf:"image/x-wmf",wml:"text/vndwapwml",wmls:"text/vndwapwmlscript",wmv:"video/x-ms-wmv",wmx:"audio/x-ms-asx",wp:"application/vndwordperfect",wp4:"application/vndwordperfect",wp5:"application/vndwordperfect",wp6:"application/vndwordperfect",wpd:"application/vndwordperfect",wpg:"application/x-wpg",wpl:"application/vndms-wpl",wpp:"application/vndwordperfect",wps:"application/vndms-works",wri:"application/x-mswrite",wrl:"model/vrml",wv:"audio/x-wavpack",wvc:"audio/x-wavpack-correction",wvp:"audio/x-wavpack",wvx:"audio/x-ms-asx",x3f:"image/x-sigma-x3f",xac:"application/x-gnucash",xbel:"application/x-xbel",xbl:"application/xml",xbm:"image/x-xbitmap",xcf:"image/x-xcf",xcfbz2:"image/x-compressed-xcf",xcfgz:"image/x-compressed-xcf",xhtml:"application/xhtml+xml",xi:"audio/x-xi",xla:"application/vndms-excel",xlc:"application/vndms-excel",xld:"application/vndms-excel",xlf:"application/x-xliff",xliff:"application/x-xliff",xll:"application/vndms-excel",xlm:"application/vndms-excel",xls:"application/vndms-excel",xlsm:"application/vndopenxmlformats-officedocumentspreadsheetmlsheet",xlsx:"application/vndopenxmlformats-officedocumentspreadsheetmlsheet",xlt:"application/vndms-excel",xlw:"application/vndms-excel",xm:"audio/x-xm",xmf:"audio/x-xmf",xmi:"text/x-xmi",xml:"application/xml",xpm:"image/x-xpixmap",xps:"application/vndms-xpsdocument",xsl:"application/xml",xslfo:"text/x-xslfo",xslt:"application/xml",xspf:"application/xspf+xml",xul:"application/vndmozillaxul+xml",xwd:"image/x-xwindowdump",xyz:"chemical/x-pdb",xz:"application/x-xz",w2p:"application/w2p",z:"application/x-compress",zabw:"application/x-abiword",zip:"application/zip"}},3294:function(d,g,e){"use strict";e.d(g,{Z:function(){return c}});const r={PROXY_SERVER:"http://172.16.100.111",API_SERVER:"",REPORT_SERVER:"http://192.168.1.57:3001",IMG_SERVER:"http://172.16.100.111",FORGE:"https://code.educoder.net/",SSH_SERVER:"wss://webssh.educoder.net",SSH_Slice:"https://testfu.educoder.net",OFFICE_SERVER:"https://testoffice.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",TERMINAL_URL:"testsvc1.vnc.educoder.net",QQLoginCB:encodeURIComponent("https://test-newweb.educoder.net")};var i=null,c={local:{API_SERVER:"http://localhost:3000",IMG_SERVER:"https://testali-cdn.educoder.net/",REPORT_SERVER:"http://192.168.1.57:3001",FORGE:"https://test-oldweb.educoder.net/",SSH_SERVER:"wss://pre-webssh.educoder.net",SSH_Slice:"https://testfu.educoder.net",OFFICE_SERVER:"https://testoffice.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",QQLoginCB:encodeURIComponent("https://test-newweb.educoder.net")},dev:r,newReactTest:{API_SERVER:(()=>{let f;switch(location.host){case"test4.educoder.net":f="https://test4-data.educoder.net";break;case"test3.educoder.net":f="https://test3-data.educoder.net";break;case"test2.educoder.net":f="https://test2-data.educoder.net";break;default:f="https://test-data.educoder.net";break}return f})(),SSH_SERVER:"wss://pre-webssh.educoder.net",SSH_Slice:"https://testfu.educoder.net",IMG_SERVER:(()=>{let f="https://new-testali-cdn.educoder.net";const o=location.host;return o==="test3.educoder.net"&&(f="https://test3-data.educoder.net"),o==="test4.educoder.net"&&(f="https://test4-data.educoder.net"),f})(),OFFICE_SERVER:"https://testoffice.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",REPORT_SERVER:"http://192.168.1.57:3001",FORGE:"https://test-oldweb.educoder.net/",QQLoginCB:encodeURIComponent("https://test-data.educoder.net"),TERMINAL_URL:"testsvc1.vnc.educoder.net"},preNewBuild:{API_SERVER:(()=>{let f="https://pre-data.educoder.net";return location.host==="pre2.educoder.net"&&(f="https://pre-data2.educoder.net"),f})(),IMG_SERVER:"https://preali-cdn.educoder.net",SSH_SERVER:"wss://pre-webssh.educoder.net",SSH_Slice:"https://testfu.educoder.net",REPORT_SERVER:"http://192.168.1.57:3001",OFFICE_SERVER:"https://testoffice.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",FORGE:"https://forge.educoder.net/",QQLoginCB:encodeURIComponent("https://pre.educoder.net")},newBuild:{API_SERVER:(()=>{let f="https://data.educoder.net";return document.domain==="kepukehuan.educoder.net"?f="https://kepukehuan-data.educoder.net":(document.domain==="www.tokcoder.com"||document.domain==="tokcoder.com")&&(f="https://data.tokcoder.com"),f})(),SSH_SERVER:"wss://webssh.educoder.net",REPORT_SERVER:"http://192.168.1.57:3001",SSH_Slice:"https://fu.educoder.net",IMG_SERVER:"https://ali-cdn.educoder.net",OFFICE_SERVER:"https://officeserver.educoder.net",ONLYOFFICE:"https://office.educoder.net",OFFICE_IP:"https://officedata.educoder.net",FORGE:"https://code.educoder.net/",QQLoginCB:encodeURIComponent("https://www.educoder.net"),TERMINAL_URL:".jupyter.educoder.net"},newTest:{API_SERVER:"https://test-data.educoder.net",IMG_SERVER:"https://test-data.educoder.net",REPORT_SERVER:"http://192.168.1.57:3001",SSH_SERVER:"wss://pre-webssh.educoder.net",SSH_Slice:"https://testfu.educoder.net",OFFICE_SERVER:"https://testoffice.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",FORGE:"http://test-oldweb.educoder.net/",QQLoginCB:encodeURIComponent("https://test-data.educoder.net")},test:{API_SERVER:"",IMG_SERVER:"",REPORT_SERVER:"http://192.168.1.57:3001",FORGE:"http://test-oldweb.educoder.net/",SSH_Slice:"https://testfu.educoder.net",OFFICE_SERVER:"https://testoffice.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",SSH_SERVER:"wss://pre-webssh.educoder.net",QQLoginCB:encodeURIComponent("https://test-newweb.educoder.net")},preBuild:{API_SERVER:"",IMG_SERVER:"https://preali-cdn.educoder.net",REPORT_SERVER:"http://192.168.1.57:3001",FORGE:"https://forge.educoder.net/",SSH_Slice:"https://testfu.educoder.net",OFFICE_SERVER:"https://testoffice.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",SSH_SERVER:"wss://pre-webssh.educoder.net",QQLoginCB:encodeURIComponent("https://test-newweb.educoder.net")},newWeb:{API_SERVER:"https://test-newweb.educoder.net",IMG_SERVER:"https://test-newweb.educoder.net/",REPORT_SERVER:"http://192.168.1.57:3001",FORGE:"http://test-oldweb.educoder.net/",SSH_Slice:"https://testfu.educoder.net",OFFICE_SERVER:"https://testoffice.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",SSH_SERVER:"wss://pre-webssh.educoder.net",QQLoginCB:encodeURIComponent("https://test-newweb.educoder.net")},build:{API_SERVER:"",IMG_SERVER:"",REPORT_SERVER:"http://192.168.1.57:3001",FORGE:"https://forge.educoder.net/",SSH_SERVER:"wss://webssh.educoder.net",SSH_Slice:"https://fu.educoder.net",OFFICE_SERVER:"https://officeserver.educoder.net",ONLYOFFICE:"",OFFICE_IP:"https://officedata.educoder.net",QQLoginCB:encodeURIComponent("https://www.educoder.net"),TERMINAL_URL:".jupyter.educoder.net"}}[window.ENV||"dev"]},99064:function(d,g,e){"use strict";e.d(g,{IV:function(){return F},U2:function(){return ue},ZP:function(){return le},d4:function(){return ne},gz:function(){return ae},rz:function(){return se},v_:function(){return te}});var r=e(3294),i=e(28909),l=e(43418),c=e(8591),f=e(85582),o=e.n(f),h=e(59301),u=e(89070),a=e(955),x=e(89392),p=e.n(x),y=Object.defineProperty,_=Object.defineProperties,b=Object.getOwnPropertyDescriptors,S=Object.getOwnPropertySymbols,R=Object.prototype.hasOwnProperty,L=Object.prototype.propertyIsEnumerable,P=(M,Q,de)=>Q in M?y(M,Q,{enumerable:!0,configurable:!0,writable:!0,value:de}):M[Q]=de,D=(M,Q)=>{for(var de in Q||(Q={}))R.call(Q,de)&&P(M,de,Q[de]);if(S)for(var de of S(Q))L.call(Q,de)&&P(M,de,Q[de]);return M},B=(M,Q)=>_(M,b(Q)),$=(M,Q,de)=>new Promise((we,Te)=>{var je=_t=>{try{Ft(de.next(_t))}catch(Pt){Te(Pt)}},Fe=_t=>{try{Ft(de.throw(_t))}catch(Pt){Te(Pt)}},Ft=_t=>_t.done?we(_t.value):Promise.resolve(_t.value).then(je,Fe);Ft((de=de.apply(M,Q)).next())});let j;const K={200:"\u670D\u52A1\u5668\u6210\u529F\u8FD4\u56DE\u8BF7\u6C42\u7684\u6570\u636E\u3002",201:"\u65B0\u5EFA\u6216\u4FEE\u6539\u6570\u636E\u6210\u529F\u3002",202:"\u4E00\u4E2A\u8BF7\u6C42\u5DF2\u7ECF\u8FDB\u5165\u540E\u53F0\u6392\u961F\uFF08\u5F02\u6B65\u4EFB\u52A1\uFF09\u3002",204:"\u5220\u9664\u6570\u636E\u6210\u529F\u3002",400:"\u53D1\u51FA\u7684\u8BF7\u6C42\u6709\u9519\u8BEF\uFF0C\u670D\u52A1\u5668\u6CA1\u6709\u8FDB\u884C\u65B0\u5EFA\u6216\u4FEE\u6539\u6570\u636E\u7684\u64CD\u4F5C\u3002",401:"\u7528\u6237\u6CA1\u6709\u6743\u9650\uFF08\u4EE4\u724C\u3001\u7528\u6237\u540D\u3001\u5BC6\u7801\u9519\u8BEF\uFF09\u3002",403:"\u7528\u6237\u5F97\u5230\u6388\u6743\uFF0C\u4F46\u662F\u8BBF\u95EE\u662F\u88AB\u7981\u6B62\u7684\u3002",404:"\u53D1\u51FA\u7684\u8BF7\u6C42\u9488\u5BF9\u7684\u662F\u4E0D\u5B58\u5728\u7684\u8BB0\u5F55\uFF0C\u670D\u52A1\u5668\u6CA1\u6709\u8FDB\u884C\u64CD\u4F5C\u3002",406:"\u8BF7\u6C42\u7684\u683C\u5F0F\u4E0D\u53EF\u5F97\u3002",410:"\u8BF7\u6C42\u7684\u8D44\u6E90\u88AB\u6C38\u4E45\u5220\u9664\uFF0C\u4E14\u4E0D\u4F1A\u518D\u5F97\u5230\u7684\u3002",422:"\u5F53\u521B\u5EFA\u4E00\u4E2A\u5BF9\u8C61\u65F6\uFF0C\u53D1\u751F\u4E00\u4E2A\u9A8C\u8BC1\u9519\u8BEF\u3002",500:"\u670D\u52A1\u5668\u53D1\u751F\u9519\u8BEF\uFF0C\u8BF7\u68C0\u67E5\u670D\u52A1\u5668\u3002",502:"\u7F51\u5173\u9519\u8BEF\u3002",503:"\u670D\u52A1\u4E0D\u53EF\u7528\uFF0C\u670D\u52A1\u5668\u6682\u65F6\u8FC7\u8F7D\u6216\u7EF4\u62A4\u3002",504:"\u7F51\u5173\u8D85\u65F6\u3002"},V=(M,Q)=>$(void 0,null,function*(){if(M.status>=200&&M.status<300)return M;const de=K[M.status]||M.statusText;let we;var Te=M.json();yield Te.then((Fe,Ft)=>{setTimeout(()=>{let _t=(0,u.getDvaApp)()},400),we=Fe.message,window.showNetworkErrorTip(Fe.message||`\u8BF7\u6C42\u9519\u8BEF ${M.status}: ${M.message}`),i.Z.error({style:{wordBreak:"break-all"},message:Fe.message||`\u8BF7\u6C42\u9519\u8BEF ${M.status}: ${M.message}`,description:Fe.message?"":de})});const je=new Error(de);throw je.name=M.status,je.response=M,{data:M,code:M.status,message:we||de}}),W=(M,Q)=>{const de=M.headers.get("Content-Type");return de&&de.match(/application\/json/i)&&M.clone().text().then(()=>{}),M};function oe(M){try{return decodeURIComponent(M),decodeURIComponent(encodeURIComponent(M))===M}catch(Q){return!1}}const se=M=>{M=M||{};let Q="";for(let de in M)typeof M[de]=="object"?Array.isArray(M[de])&&M[de].forEach((we,Te)=>{Q+="&"+de+"[]="+we}):M[de]!==void 0&&(Q+="&"+de+"="+(oe(M[de])?M[de]:encodeURIComponent(M[de])));return Q.substr(1)};function le(M,Q,de,we){Q.method||(Q.method="get"),Q.method=Q.method.toUpperCase(),Q.mode="cors";const Te=D({},Q),{user:je}=(0,u.getDvaApp)()._store.getState(),{userInfo:Fe}=je,Ft=M+(Te.body?JSON.stringify(Te.body):""),_t=o().sha256().update(Ft).digest("hex"),Pt={credentials:"include",withCredentials:!0},qt={};Fe!=null&&Fe.login&&(qt.zzud=Fe==null?void 0:Fe.login,Fe!=null&&Fe.school_id&&(qt.zzsud=Fe==null?void 0:Fe.school_id),Te.params=D(D({},Te.params||{}),qt));let er=D(D({},Pt),(0,x.cloneDeep)(Te));(er.method==="POST"||er.method==="PUT"||er.method==="PATCH"||er.method==="DELETE")&&(de?(er.headers=B(D({_method:Q.method.toUpperCase()},er.headers),{"Pc-Authorization":(0,a.ej)("_educoder_session"),"X-Original-Protocol":location.protocol,"X-Original-Host":location.host}),er.body=Te.body):(er.headers=D({Accept:"application/json",_method:Q.method.toUpperCase(),"Content-Type":"application/json; charset=utf-8","Pc-Authorization":(0,a.ej)("_educoder_session"),"X-Original-Protocol":location.protocol,"X-Original-Host":location.host},er.headers),er.body=JSON.stringify(Te.body))),er.method=="GET"?(er.headers=B(D({Accept:"application/json","Content-Type":"application/json; charset=utf-8",_method:Q.method.toUpperCase()},er.headers),{"Pc-Authorization":(0,a.ej)("_educoder_session"),"X-Original-Protocol":location.protocol,"X-Original-Host":location.host}),Te.params&&se(Te.params)&&(M+="?"+se(Te.params))):qt.zzud&&(M+="?"+se(D({},qt)));const Jt=Te.expirys&&60;let Xe;(bt=>{bt.json="application/json;charset=UTF-8",bt.form="application/x-www-form-urlencoded; charset=UTF-8"})(Xe||(Xe={}));let It;(bt=>{bt.get="GET",bt.post="POST"})(It||(It={}));const zt=bt=>$(this,null,function*(){const ht=yield bt.arrayBuffer();let et;const Ue=new Blob([ht]);try{et=bt.headers.get("Content-Disposition").split(";")[1].replace("filename=","").replace(/[\s+,\',\",\‘,\’,\“,\”,\<,\>,\《,\》]/g,"")}catch($e){et="userfiles.zip"}const ge=document.createElement("a"),Ce=window.URL.createObjectURL(Ue),Me=et;return ge.href=Ce,ge.download=Me,ge.click(),window.URL.revokeObjectURL(Ce),ht});let st=r.Z.API_SERVER;return(window.ENV==="dev"||M.startsWith("http"))&&(st=""),er.method=="GET"&&er.params&&Object.keys(er.params).map(bt=>{if(er.params[bt]&&!Array.isArray(er.params[bt]))try{er.params[bt]=encodeURIComponent(decodeURIComponent(er.params[bt]))}catch(ht){er.params[bt]=encodeURIComponent(er.params[bt])}}),(0,a.Ec)(er,M),we&&(st=""),er.headers._method=er.method,er.headers["X-HTTP-Method-Override"]=er.method,er.method!=="GET"&&(er.method="POST"),fetch(st+M,er).then(bt=>V(bt,D({url:r.Z.API_SERVER+M},er))).then(bt=>W(bt,_t)).then(bt=>$(this,null,function*(){var ht,et,Ue,ge;try{const Me=bt.headers.get("cs");Me&&(0,a.d8)("_educoder_session",Me,1)}catch(Me){}if(bt.status===204)return bt.text();let Ce;if(bt.headers.get("content-type").indexOf("application/json")>-1){Ce=yield bt.json();try{const Me=/\(\s+\/api\/attachments\/(\d+)|\(\/api\/attachments\/(\d+)\//g,$e=/\"\/api\/attachments\/(\d+)\//g,He=/\(\s+\/files\/uploads\/(\d+)|\"\/files\/uploads\/(\d+)\//g,it=/\/api\/attachments\/(\d+)/g,ct=/\/attachments\/download\/(\d+)/g;let Vt=JSON.stringify(Ce).replace(it,(Wt,De,Je,Gt)=>{const kt=De||Je||Gt;return"/api/attachments/"+(0,a.Jn)(kt)}).replace(ct,(Wt,De,Je)=>{const Gt=De||Je;return"/attachments/download/"+(0,a.Jn)(Gt)}).replace(Me,(Wt,De,Je,Gt)=>{const kt=De||Je||Gt;return"(/api/attachments/"+(0,a.Jn)(kt)}).replace($e,(Wt,De,Je)=>{const Gt=De||Je;return'"/api/attachments/'+(0,a.Jn)(Gt)}).replace(He,(Wt,De,Je)=>{const Gt=De||Je;return"(/files/uploads/"+(0,a.Jn)(Gt)}).replace(/\r\n/g,` +`)}]};var u=e(53184),a=e.n(u),x=Object.defineProperty,p=Object.defineProperties,y=Object.getOwnPropertyDescriptors,_=Object.getOwnPropertySymbols,b=Object.prototype.hasOwnProperty,S=Object.prototype.propertyIsEnumerable,R=(ge,Ce,Me)=>Ce in ge?x(ge,Ce,{enumerable:!0,configurable:!0,writable:!0,value:Me}):ge[Ce]=Me,L=(ge,Ce)=>{for(var Me in Ce||(Ce={}))b.call(Ce,Me)&&R(ge,Me,Ce[Me]);if(_)for(var Me of _(Ce))S.call(Ce,Me)&&R(ge,Me,Ce[Me]);return ge},P=(ge,Ce)=>p(ge,y(Ce)),D=(ge,Ce,Me)=>new Promise(($e,He)=>{var it=Wt=>{try{Vt(Me.next(Wt))}catch(De){He(De)}},ct=Wt=>{try{Vt(Me.throw(Wt))}catch(De){He(De)}},Vt=Wt=>Wt.done?$e(Wt.value):Promise.resolve(Wt.value).then(it,ct);Vt((Me=Me.apply(ge,Ce)).next())});const B={languages:["c","abap","apex","azcli","bat","cameligo","clojure","coffee","cpp","csharp","csp","css","dockerfile","fsharp","go","graphql","handlebars","html","ini","java","javascript","json","kotlin","less","lua","markdown","mips","msdax","mysql","objective-c","pascal","pascaligo","perl","pgsql","php","postiats","powerquery","powershell","pug","python","r","razor","redis","redshift","restructuredtext","ruby","rust","sb","scheme","scss","shell","solidity","sophia","sql","st","swift","tcl","twig","vb","xml","yaml'"],tables:{users:["name","id","email","phone","password"],roles:["id","name","order","created_at","updated_at","deleted_at"]}},$=(ge,Ce)=>Ce.map(Me=>({label:Me,kind:ge.languages.CompletionItemKind.Keyword,insertText:Me})),j=ge=>Object.keys(B.tables).map(Ce=>({label:Ce,kind:ge.languages.CompletionItemKind.Variable,insertText:Ce})),K=(ge,Ce)=>{const Me=B.tables[ge];return Me?Me.map($e=>({label:$e,kind:Ce.languages.CompletionItemKind.Field,insertText:$e})):[]};function V(ge,Ce,Me,$e,He){let it=Ce.getWordUntilPosition(Me),ct={startLineNumber:Me.lineNumber,endLineNumber:Me.lineNumber,startColumn:it.startColumn,endColumn:it.endColumn},Vt=$e.map(Wt=>({label:Wt,kind:ge.languages.CompletionItemKind.Keyword,insertText:Wt,insertTextRules:ge.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:ct}));return He.map(Wt=>{Vt.push(P(L({},Wt),{range:ct}))}),Vt}var W=ge=>{B.languages.map(He=>(ge.languages.registerDocumentFormattingEditProvider(He,{provideDocumentFormattingEdits(it,ct,Vt){return D(this,null,function*(){const Wt=a()(it.getValue(),{indent_size:"2",indent_char:" ",max_preserve_newlines:"2",preserve_newlines:!0,keep_array_indentation:!0,break_chained_methods:!1,indent_scripts:"normal",brace_style:"collapse",space_before_conditional:!0,unescape_strings:!1,jslint_happy:!1,end_with_newline:!0,wrap_line_length:"0",indent_inner_html:!1,comma_first:!1,e4x:!1,indent_empty_lines:!1});return[{range:it.getFullModelRange(),text:Wt}]})}}),He));const Ce=f.quickKey.map(He=>({label:He.label,kind:ge.languages.CompletionItemKind.Method,insertText:He.content,insertTextRules:ge.languages.CompletionItemInsertTextRule.InsertAsSnippet})),Me=o.quickKey.map(He=>({label:He.label,kind:ge.languages.CompletionItemKind.Method,insertText:He.content,insertTextRules:ge.languages.CompletionItemInsertTextRule.InsertAsSnippet})),$e=c.quickKey.map(He=>({label:He.label,kind:ge.languages.CompletionItemKind.Method,insertText:He.content,insertTextRules:ge.languages.CompletionItemInsertTextRule.InsertAsSnippet}));ge.languages.registerCompletionItemProvider("cpp",{provideCompletionItems:function(He,it){var ct=He.getWordUntilPosition(it),Vt={startLineNumber:it.lineNumber,endLineNumber:it.lineNumber,startColumn:ct.startColumn,endColumn:ct.endColumn},Wt=He.getLineContent(it.lineNumber).substring(ct.startColumn-2,ct.endColumn);return{suggestions:[...f.keywords.map(De=>({label:De,kind:ge.languages.CompletionItemKind.Function,documentation:De,insertText:De,insertTextRules:ge.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Vt})),...f.quickKey.map(De=>({label:De.label,kind:ge.languages.CompletionItemKind.Function,documentation:De.content,insertText:Wt.startsWith("#")?De.content.replace(/#/,""):De.content,insertTextRules:ge.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Vt}))]}}}),ge.languages.registerCompletionItemProvider("c",{provideCompletionItems:function(He,it){var ct=He.getWordUntilPosition(it),Vt={startLineNumber:it.lineNumber,endLineNumber:it.lineNumber,startColumn:ct.startColumn,endColumn:ct.endColumn};return{suggestions:[...l.keywords.map(Wt=>({label:Wt,kind:ge.languages.CompletionItemKind.Function,documentation:Wt,insertText:Wt,insertTextRules:ge.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Vt}))]}}}),ge.languages.registerCompletionItemProvider("java",{provideCompletionItems:function(He,it){var ct=He.getWordUntilPosition(it),Vt={startLineNumber:it.lineNumber,endLineNumber:it.lineNumber,startColumn:ct.startColumn,endColumn:ct.endColumn},Wt=He.getLineContent(it.lineNumber).substring(ct.startColumn-2,ct.endColumn);return{suggestions:[...c.keywords.map(De=>({label:De,kind:ge.languages.CompletionItemKind.Function,documentation:De,insertText:De,insertTextRules:ge.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Vt})),...c.quickKey.map(De=>({label:De.label,kind:ge.languages.CompletionItemKind.Function,documentation:De.content,insertText:Wt.startsWith("#")?De.content.replace(/#/,""):De.content,insertTextRules:ge.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Vt}))]}}}),ge.languages.registerCompletionItemProvider("scala",{provideCompletionItems:function(He,it){var ct=He.getWordUntilPosition(it),Vt={startLineNumber:it.lineNumber,endLineNumber:it.lineNumber,startColumn:ct.startColumn,endColumn:ct.endColumn},Wt=He.getLineContent(it.lineNumber).substring(ct.startColumn-2,ct.endColumn);return{suggestions:[...h.keywords.map(De=>({label:De,kind:ge.languages.CompletionItemKind.Function,documentation:De,insertText:De,insertTextRules:ge.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Vt})),...h.quickKey.map(De=>({label:De.label,kind:ge.languages.CompletionItemKind.Function,documentation:De.content,insertText:Wt.startsWith("#")?De.content.replace(/#/,""):De.content,insertTextRules:ge.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Vt}))]}}}),ge.languages.registerCompletionItemProvider("python",{provideCompletionItems:function(He,it){var ct=He.getWordUntilPosition(it),Vt={startLineNumber:it.lineNumber,endLineNumber:it.lineNumber,startColumn:ct.startColumn,endColumn:ct.endColumn},Wt=He.getLineContent(it.lineNumber).substring(ct.startColumn-2,ct.endColumn);return{suggestions:[...o.keywords.map(De=>({label:De,kind:ge.languages.CompletionItemKind.Function,documentation:De,insertText:De,insertTextRules:ge.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Vt})),...o.quickKey.map(De=>({label:De.label,kind:ge.languages.CompletionItemKind.Function,documentation:De.content,insertText:Wt.startsWith("#")?De.content.replace(/#/,""):De.content,insertTextRules:ge.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Vt}))]}}})};const oe="\u8BE5\u4EFB\u52A1\u5173\u5361\u8BBE\u7F6E\u4E86\u7981\u6B62\u590D\u5236\u7C98\u8D34\uFF0C\u8BF7\u624B\u52A8\u8F93\u5165\u4EE3\u7801\u3002";var se=Object.defineProperty,le=(ge,Ce,Me)=>Ce in ge?se(ge,Ce,{enumerable:!0,configurable:!0,writable:!0,value:Me}):ge[Ce]=Me,q=(ge,Ce,Me)=>le(ge,typeof Ce!="symbol"?Ce+"":Ce,Me);const J=class kd{constructor(Ce,Me,$e){this.placeholder=Ce,this.editor=Me,this.monaco=$e,Me.onDidChangeModelContent(()=>this.onDidChangeModelContent()),this.onDidChangeModelContent()}onDidChangeModelContent(){this.editor.getValue()===""?this.editor.addContentWidget(this):this.editor.removeContentWidget(this)}getId(){return kd.ID}getDomNode(){return this.domNode||(this.domNode=document.createElement("div"),this.domNode.style.width="max-content",this.domNode.textContent=this.placeholder,this.domNode.style.fontStyle="initial",this.domNode.style.color="#D7D7D7",this.domNode.style.pointerEvents="none",this.editor.applyFontInfo(this.domNode)),this.domNode}getPosition(){return{position:{lineNumber:1,column:1},preference:[this.monaco.editor.ContentWidgetPositionPreference.EXACT]}}dispose(){this.editor.removeContentWidget(this)}};q(J,"ID","editor.widget.placeholderHint");var ue=J,ne=e(96236),te=e(8591),ae=e(6848),F=e(89392),M=e(34604),Q=e(56102),de=Object.defineProperty,we=Object.defineProperties,Te=Object.getOwnPropertyDescriptors,je=Object.getOwnPropertySymbols,Fe=Object.prototype.hasOwnProperty,Ft=Object.prototype.propertyIsEnumerable,_t=(ge,Ce,Me)=>Ce in ge?de(ge,Ce,{enumerable:!0,configurable:!0,writable:!0,value:Me}):ge[Ce]=Me,Pt=(ge,Ce)=>{for(var Me in Ce||(Ce={}))Fe.call(Ce,Me)&&_t(ge,Me,Ce[Me]);if(je)for(var Me of je(Ce))Ft.call(Ce,Me)&&_t(ge,Me,Ce[Me]);return ge},qt=(ge,Ce)=>we(ge,Te(Ce)),er=(ge,Ce)=>{var Me={};for(var $e in ge)Fe.call(ge,$e)&&Ce.indexOf($e)<0&&(Me[$e]=ge[$e]);if(ge!=null&&je)for(var $e of je(ge))Ce.indexOf($e)<0&&Ft.call(ge,$e)&&(Me[$e]=ge[$e]);return Me},Jt=(ge,Ce,Me)=>new Promise(($e,He)=>{var it=Wt=>{try{Vt(Me.next(Wt))}catch(De){He(De)}},ct=Wt=>{try{Vt(Me.throw(Wt))}catch(De){He(De)}},Vt=Wt=>Wt.done?$e(Wt.value):Promise.resolve(Wt.value).then(it,ct);Vt((Me=Me.apply(ge,Ce)).next())});function Xe(ge){return/^\d+$/.test(ge)?`${ge}px`:ge}function It(){}let zt=!1;const st={"Python3.6":"python","Python2.7":"python",Dynamips:"cpp",Java:"java",Web:"php",Html:"html",Hive:"sql",Hadoop:"java",SDL:"cpp",PHP:"php",Matlab:"python",Git:"python",Python:"python","C/C++":"cpp","C++":"cpp",C:"cpp",Ruby:"ruby",Shell:"shell",JavaScript:"javascript",Perl6:"perl",Kotlin:"kotlin",Elixir:"elixir",Android:"java",JavaWeb:"java",Go:"go",Spark:"sql",MachineLearning:"python",Verilog:"xml","Verilog/VNC":"xml",Docker:"dockerfile","C#":"csharp",SQLite3:"sql",Oracle:"sql",Vhdl:"vhdl",R:"r",Swift:"swift",SQLServer:"mysql",MySQL:"mysql",Mongo:"sql",PostgreSql:"pgsql",Hbase:"powershell",Sqoop:"sql",Nasm:"cpp",Kafka:"java",Flink:"java",Sml:"javascript",OpenGL:"cpp",Perl5:"perl",Orange:"python",Scala:"scale",solidity:"sol"};function bt(ge=[]){let Ce=ge;if(Array.isArray(ge)){for(let Me=0;Me{var Ce=ge,{width:Me="100%",height:$e="100%",value:He,language:it="javascript",style:ct={},options:Vt={},overrideServices:Wt={},theme:De="vs-dark",onEditBlur:Je,isCopy:Gt=!1,onSave:kt,autoHeight:Ht=!1,forbidCopy:jt=!1,onChange:At=It,editorDidMount:Yt=It,onFocus:Ge=It,onBreakPoint:fe=It,breakPointValue:_e=[],filename:Ot="educoder.txt",errorLine:Ie,errorContent:dt="",highlightLine:Zt,openBreakPoint:Ct=!1,placeholder:Oe=""}=Ce,wt=er(Ce,["width","height","value","language","style","options","overrideServices","theme","onEditBlur","isCopy","onSave","autoHeight","forbidCopy","onChange","editorDidMount","onFocus","onBreakPoint","breakPointValue","filename","errorLine","errorContent","highlightLine","openBreakPoint","placeholder"]);const be=(0,r.useRef)(),Ke=(0,r.useRef)({}),gt=(0,r.useRef)(),Rt=(0,r.useRef)(),Be=(0,r.useRef)([]),Or=(0,r.useRef)(!1),St=(0,r.useRef)(),Gr=(0,r.useRef)(),Qr=(0,r.useRef)(!1),[Ar,Fr]=(0,r.useState)(!1);function _r(){let mr;return be.current&&(mr=new i.Z(Jr=>{for(let dn of Jr)(dn.target.offsetHeight>0||dn.target.offsetWidth>0)&&Ke.current.instance.layout()}),mr.observe(be.current)),mr}function jr(){te.ZP.warning({content:decodeURIComponent(oe),key:"monaco-editor-tip"})}const an=()=>{let mr=Ke.current.instance;if(He!=null&&mr&&Ar){const Jr=mr.getModel();Jr&&He!==Jr.getValue()&&(zt=!0,Jr.setValue(He),mr.layout(),zt=!1)}};(0,r.useEffect)(()=>{const mr=M.Z.subscribe("formatDocument",Jr=>{var dn;let Fn=Ke.current.instance;(dn=Fn==null?void 0:Fn.getAction)==null||dn.call(Fn,"editor.action.formatDocument").run()});return window.updateMonacoValue=Jr=>{At(Jr)},mr},[]),(0,r.useEffect)(()=>{var mr;let Jr=Ke.current.instance;Rt.current&&clearTimeout(Rt.current),Rt.current=setTimeout(()=>{an()},500),He&&(He!=null&&He.length)&&((mr=Jr==null?void 0:Jr.updateOptions)==null||mr.call(Jr,{lineNumbersMinChars:Math.max(Math.floor(Math.log10(He.split(/\r\n|\r|\n/g).length))+3,5)}))},[He,Ar,Ke.current]),(0,r.useEffect)(()=>{if(Ie&&Ke.current&&Ke.current.instance){let Jr=Ke.current.instance;Jr.changeViewZones(function(dn){var Fn=document.createElement("div");Fn.style.padding="10px 20px",Fn.style.width="calc(100% - 20px)",Fn.className="my-error-line-wrp",Fn.innerHTML=dt,dn.addZone({afterLineNumber:Ie||11,heightInLines:3,domNode:Fn})});var mr={domNode:null,getId:function(){return"my.overlay.widget"},getDomNode:function(){return this.domNode||(this.domNode=document.createElement("div"),this.domNode.innerHTML="",this.domNode.style.width="100%",this.domNode.style.padding="20px 100px",this.domNode.style.right="0px",this.domNode.style.top="50px",this.domNode.style.position="relative",this.domNode.style.color="#333"),this.domNode},getPosition:function(){return null}};Jr.addOverlayWidget(mr),Jr.revealPositionInCenter({lineNumber:20,column:1})}},[Ie,Ke.current,Ar]);const un=(mr="",Jr)=>{if(!mr||mr.trim()==="")return!0;const Fn=Ke.current.instance.getModel().getLineTokens(Jr);let ri=!1;for(let Nn=0;Nn<2;Nn++)Fn.getStandardTokenType(Nn)===1&&(ri=!0);return ri};(0,r.useEffect)(()=>{var mr;const Jr=(mr=Ke.current)==null?void 0:mr.instance;if(Jr&&Ar&&jt){const dn=Jr.onDidBlurEditorWidget(()=>{Qr.current=!1}),Fn=Jr.onDidFocusEditorText(()=>{Qr.current=!0});return()=>{dn.dispose(),Fn.dispose()}}},[Ke.current,Ar,jt]),(0,r.useEffect)(()=>{var mr;if((mr=Ke.current)!=null&&mr.instance&&Ar&&Ct){let Jr=Ke.current.instance,dn=Jr.getModel();if(!dn)return;(()=>{var Et;let ut=[],qn=[];const Ei=dn.getAllDecorations();for(let Gi of Ei)Gi.options.className==="highlighted-line"&&(ut.push((Et=Gi==null?void 0:Gi.range)==null?void 0:Et.startLineNumber),qn.push(Gi==null?void 0:Gi.id));if(Zt===ut[0])return;dn.deltaDecorations(qn,[]);const Jn=dn.getLineCount();Zt&&Zt<=Jn&&(Jr.deltaDecorations([],[{range:new ht.Range(Zt,1,Zt,dn.getLineMaxColumn(Zt)),options:{isWholeLine:!0,className:"highlighted-line"}}]),Jr.revealLineInCenter(Zt))})();const ri=(Et=!1)=>{var ut;let qn=[],Ei=[];const Jn=dn.getAllDecorations();for(let Gi of Jn)Gi.options.linesDecorationsClassName==="breakpoints-select"&&(qn.push((ut=Gi==null?void 0:Gi.range)==null?void 0:ut.startLineNumber),Ei.push(Gi==null?void 0:Gi.id));if(Et)return{lines:qn,ids:Ei};fe(qn)},Nn=Et=>Jt(void 0,null,function*(){let ut={range:new ht.Range(Et,1,Et,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}};yield dn.deltaDecorations([],[ut]),ri()}),Zi=Et=>Jt(void 0,null,function*(){let ut=[];const qn=Jr.getLineDecorations(Et);for(let Ei of qn)Ei.options.linesDecorationsClassName==="breakpoints-select"&&ut.push(Ei.id);yield dn.deltaDecorations(ut,[]),ri()}),gi=Et=>{let ut=Jr.getLineDecorations(Et);for(let qn of ut)if(qn.options.linesDecorationsClassName==="breakpoints-select")return!0;return!1};if(!(0,F.isEqual)(_e,ri(!0).lines)){dn.deltaDecorations(ri(!0).ids,[]);const Et=_e.map(ut=>({range:new ht.Range(ut,1,ut,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}}));dn.deltaDecorations([],Et)}const xi=Jr.onDidChangeModelContent(Et=>{let ut=Jr.getPosition();if(ut){let qn=ut.lineNumber;clearTimeout(Gr.current),Gr.current=setTimeout(()=>{un(dn.getLineContent(qn),qn)?Zi(qn):gi(qn)?(Zi(qn),Nn(qn)):ri()},100)}}),yi=Jr.onMouseDown(Et=>{var ut,qn,Ei;if(Et.target.detail&&((Ei=(qn=(ut=Et.target)==null?void 0:ut.element)==null?void 0:qn.className)!=null&&Ei.includes("line-numbers"))){let Jn=Et.target.position.lineNumber;if(un(dn.getLineContent(Jn),Jn))return;gi(Jn)?Zi(Jn):Nn(Jn)}}),_i=Et=>{let ut={range:new ht.Range(Et,1,Et,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-fake"}};Be.current=Jr.deltaDecorations(Be.current,[ut])},Yi=()=>{Be.current=Jr.deltaDecorations(Be.current,[])},Qn=Jr.onMouseMove(Et=>{var ut,qn,Ei;if(Yi(),Et.target.detail&&((Ei=(qn=(ut=Et.target)==null?void 0:ut.element)==null?void 0:qn.className)!=null&&Ei.includes("line-numbers"))){let Jn=Et.target.position.lineNumber;if(un(dn.getLineContent(Jn),Jn))return;_i(Jn)}}),Vi=Jr.onMouseLeave(()=>{Yi()});return()=>{xi.dispose(),yi.dispose(),Qn.dispose(),Vi.dispose()}}},[Ke.current,Ar,_e,Zt,Ct,it]),(0,r.useEffect)(()=>{var mr;(mr=Ke.current)!=null&&mr.instance&&Ct&&Ke.current.instance.setPosition({lineNumber:0,column:0})},[Zt]);function or(){let mr=Ke.current.instance;if(mr){const Jr=mr.getSelection(),dn=Ke.current.pastePos||{},Fn=new ht.Range(dn.startLineNumber||Jr.endLineNumber,dn.startColumn||Jr.endColumn,dn.endLineNumber||Jr.endLineNumber,dn.endColumn||Jr.endColumn);setTimeout(()=>{mr.executeEdits("",[{range:Fn,text:""}])},300)}}function Lt(mr){(window.navigator.platform.match("Mac")?mr.metaKey:mr.ctrlKey)&&mr.keyCode==83&&(mr.preventDefault(),kt())}const vt=()=>{if(Ht&&Ke.current.instance){const mr=Ke.current.instance.getContentHeight();gn(mr<$e?$e:mr)}else gn($e)};function yt(mr){var Jr=document.createEvent("MouseEvents");Jr.initMouseEvent("click",!0,!1,window,0,0,0,0,0,!1,!1,!1,!1,0,null),mr.dispatchEvent(Jr)}const Ut=mr=>{if(!Qr.current)return;const{keyCode:Jr,ctrlKey:dn,metaKey:Fn,target:ri,type:Nn}=mr;return(Nn==="paste"||(Jr===67||Jr===86)&&(Fn||dn))&&ri.nodeName==="TEXTAREA"&&(jr(),mr.preventDefault()),!1};function Cr(mr,Jr){var dn=window.URL||window.webkitURL||window,Fn=new Blob([Jr]),ri=document.createElementNS("http://www.w3.org/1999/xhtml","a");ri.href=dn.createObjectURL(Fn),ri.download=mr,yt(ri)}(0,r.useEffect)(()=>{vt()},[vt]),(0,r.useEffect)(()=>{be.current&&!Ar&&Promise.all([e.e(8909),e.e(3267)]).then(e.bind(e,71448)).then(mr=>{try{ht=mr,Ke.current.instance=ht.editor.create(be.current,{value:He,language:bt(it),theme:De,requireConfig:{"vs/nls":{availableLanguages:{"*":"zh-cn"}}},wordWrap:!0,autoIndent:!0,contextmenu:!0,formatOnType:!0},Wt);const Jr=Ke.current.instance;let ri=[...ne.BH._menuItems].find(xi=>xi[0]._debugName=="EditorContext")[1],Nn=["editor.action.clipboardCopyWithSyntaxHighlightingAction","editor.action.quickCommand","editor.action.clipboardCopyAction","editor.action.clipboardPasteAction","editor.action.clipboardCutAction"],Zi=(xi,yi)=>{var _i,Yi;let Qn=xi._first;do yi.includes((Yi=(_i=Qn.element)==null?void 0:_i.command)==null?void 0:Yi.id)&&xi._remove(Qn);while(Qn=Qn.next)};if(Yt(Jr,ht),setTimeout(()=>{vt(),Ke.current.instance.addAction({id:"d123123",label:"Download File",contextMenuGroupId:"9_cutcopypaste",run:()=>{Cr(Ot||"educoder.txt",Jr.getValue())}})},500),Ke.current.subscription=Jr.onDidChangeModelContent(xi=>{Or.current?clearTimeout(St.current):(vt(),At(Jr.getValue(),xi)),St.current=setTimeout(()=>{Or.current=!1},500)}),window.Monaco||W(ht,bt(it)),jt&&(Zi(ri,Nn),be.current.classList.add("noCopyPaste"),window.removeEventListener("keydown",Ut),window.removeEventListener("paste",Ut),window.addEventListener("keydown",Ut),window.addEventListener("paste",Ut)),window.Monaco=ht,Je&&Jr.onDidBlurEditorWidget(()=>{Je(Jr.getValue())}),Ge&&Jr.onDidFocusEditorText(()=>{Ge(Jr.getValue())}),jt)try{Jr.onDidPaste(xi=>{const yi=Jr.getSelection(),_i=Ke.current.pastePos||{},Yi=new ht.Range(_i.startLineNumber||yi.endLineNumber,_i.startColumn||yi.endColumn,_i.endLineNumber||yi.endLineNumber,_i.endColumn||yi.endColumn);Jr.executeEdits("",[{range:xi.range,text:""}])})}catch(xi){}let gi=_r();return Oe&&typeof Oe=="string"&&new ue(Oe,Jr,ht),Fr(!0),()=>{const xi=Ke.current.instance;xi.dispose();const yi=xi.getModel();yi&&yi.dispose(),Ke.current.subscription&&Ke.current.subscription.dispose(),gi.unobserve(be.current)}}catch(Jr){}})},[]),(0,r.useEffect)(()=>{if(Ke.current.instance&&Ar)return document.addEventListener("keydown",Lt,!1),()=>{document.removeEventListener("keydown",Lt)}},[kt,Ar]),(0,r.useEffect)(()=>{let mr=Ke.current.instance;if(mr&&Ar){let Jr=bt(it);ht.editor.setModelLanguage(mr.getModel(),Jr)}},[it,Ar]),(0,r.useEffect)(()=>{Ke.current.instance&&Ar&&ht.editor.setTheme(De)},[De,Ar]),(0,r.useEffect)(()=>{let mr=Ke.current.instance;gt.current=Vt,mr&&Ar&&(mr.updateOptions(Pt({},Vt)),setTimeout(()=>{mr.getModel().updateOptions(Pt({},Vt))},200))},[JSON.stringify(Vt),Ar]),(0,r.useEffect)(()=>{let mr=Ke.current.instance;mr&&Ar&&mr.layout()},[Me,$e,Ar]);const[gr,ot]=(0,r.useState)(Xe(Me)),[Lr,gn]=(0,r.useState)(Xe($e)),Hn=qt(Pt({},ct),{width:gr,height:Lr,position:"relative"});return r.createElement("div",{className:"my-monaco-editor",ref:be,style:Hn},Gt&&r.createElement(Q.CopyToClipboard,{text:He,onCopy:()=>te.ZP.success("\u590D\u5236\u6210\u529F")},r.createElement(ae.Z,{title:"\u590D\u5236\u4EE3\u7801"},r.createElement("div",{style:{position:"absolute",top:0,right:10,cursor:"pointer",zIndex:10,color:"#165DFF"}},r.createElement("i",{className:"iconfont icon-fuzhi8",style:{fontSize:14}})," \u590D\u5236\u4EE3\u7801"))))};function Ue({width:ge="100%",height:Ce="100%",original:Me,modified:$e,language:He,options:it={}}){const ct=(0,r.useRef)(),[Vt,Wt]=(0,r.useState)(null);function De(Ht){let jt;return ct.current&&(jt=new i.Z(At=>{for(let Yt of At)(Yt.target.offsetHeight>0||Yt.target.offsetWidth>0)&&Ht.layout()}),jt.observe(ct.current)),jt}(0,r.useEffect)(()=>(ct.current&&Promise.all([e.e(8909),e.e(9404)]).then(e.bind(e,2550)).then(Ht=>{ht=Ht;const jt=ht.editor.createDiffEditor(ct.current,qt(Pt({enableSplitViewResizing:!1,scrollBeyondLastLine:!1,roundedSelection:!1,renderIndicators:!1,useShadows:!1,horizontal:"hidden",lineNumbers:"off",wordWrap:"off",ignoreTrimWhitespace:!1,"semanticHighlighting.enabled":!0,followsCaret:!0,ignoreCharChanges:!0,minimap:{enabled:!1},readOnly:!0},it),{wordWrap:!0}));Wt(jt);let At=De(jt);return()=>{jt.dispose();const Yt=jt.getModel();Yt&&Yt.dispose(),At.unobserve(ct.current)}}),()=>{window.removeEventListener("keydown",checkPaste),window.removeEventListener("paste",checkPaste)}),[]),(0,r.useEffect)(()=>{Vt&&Vt.setModel({original:ht.editor.createModel(Me,He),modified:ht.editor.createModel($e,He)})},[Me,$e,He,Vt]);const Je=Xe(ge),Gt=Xe(Ce),kt={width:Je,height:Gt};return r.createElement("div",{className:"my-diff-editor",ref:ct,style:kt})}},52743:function(d,g,e){"use strict";e.d(g,{k:function(){return b}});var r=e(38650),i=e(8591),l=e(99309),c=Object.defineProperty,f=Object.defineProperties,o=Object.getOwnPropertyDescriptors,h=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable,x=(R,L,P)=>L in R?c(R,L,{enumerable:!0,configurable:!0,writable:!0,value:P}):R[L]=P,p=(R,L)=>{for(var P in L||(L={}))u.call(L,P)&&x(R,P,L[P]);if(h)for(var P of h(L))a.call(L,P)&&x(R,P,L[P]);return R},y=(R,L)=>f(R,o(L)),_=(R,L)=>{var P={};for(var D in R)u.call(R,D)&&L.indexOf(D)<0&&(P[D]=R[D]);if(R!=null&&h)for(var D of h(R))L.indexOf(D)<0&&a.call(R,D)&&(P[D]=R[D]);return P};const b=["\u8BA4\u8BC1\u4E13\u4E1A","\u8BA4\u8BC1\u5C4A\u522B"],S={namespace:"engineeringEvaluteList",state:{actionTabs:{key:"",params:{}},headerData:{dataSource:{[b[0]]:{width:235,placeholder:`\u8BF7\u9009\u62E9${b[0]}`,loading:"engineeringEvaluteList/getMajorList",dataList:[]},[b[1]]:{width:138,placeholder:`\u8BF7\u9009\u62E9${b[1]}`,loading:"engineeringEvaluteList/getYearList",dataList:[]}},active:{}},tabListData:{total:0,pageNo:1,pageSize:20,dataSource:[]}},effects:{*setActionTabs({payload:R},{call:L,put:P}){yield P({type:"save",payload:{actionTabs:p({},R)}})},*getMajorList({payload:R},{call:L,put:P,select:D}){const{userInfo:B}=yield D($=>$.user);if(B!=null&&B.school_id){const $=yield L(r.BA,B.school_id);if($&&$.data){const j=l.U.getItem(B==null?void 0:B.login);yield P({type:"setMajorOrYearDataSource",payload:{key:b[0],value:$.data.map(K=>({label:K.name,value:K.ec_major_school_id})),active:$.data.length>0?j[0]||$.data[0].ec_major_school_id:void 0}})}}},*getYearList({payload:R},{call:L,put:P,select:D}){const B=yield L(r.Nx,R.id),{userInfo:$}=yield D(j=>j.user);if(B&&B.data){const j=l.U.getItem($==null?void 0:$.login);yield P({type:"setMajorOrYearDataSource",payload:{key:b[1],value:B.data.map(K=>({label:K.year,value:K.ec_year_id})),active:B.data.length>0?R.firstEnter?j[1]:B.data[0].ec_year_id:void 0}})}},*getCourseResults({payload:R={}},{call:L,put:P,select:D}){const{calc:B,page:$,per_page:j}=R,{headerData:K,tabListData:V}=yield D(se=>se.engineeringEvaluteList),{userInfo:W}=yield D(se=>se.user);let oe=K.active[b[1]];if(oe){let se={id:oe,page:$||1,per_page:j||V.pageSize};B&&(se=y(p({},se),{page:V.pageNo}));const le=yield L(r._y,se),q=[K.active[b[0]],K.active[b[1]]];l.U.setItem(W==null?void 0:W.login,q),le&&le.ec_courses&&(yield P({type:"setCourseResults",payload:y(p({},V),{pageNo:se.page,total:le.count,pageSize:se.per_page||V.pageSize,dataSource:le.ec_courses.map((J,Y)=>y(p({},J),{key:se.page>1?(se.page-1)*se.per_page+Y+1:Y+1}))})}))}else yield P({type:"setCourseResults",payload:y(p({},V),{pageNo:1,total:0,dataSource:[]})})},*exportCourse({payload:R},{call:L,select:P}){const{headerData:D}=yield P(B=>B.engineeringEvaluteList);D.active[b[1]]&&(yield L(r.F,D.active[b[1]]))},*compute({payload:R},{call:L,put:P}){const D=R,{all:B}=D,$=_(D,["all"]),j=yield L(B?r.At:r.PX,$);j&&j.status===0?(i.ZP.success("\u8BA1\u7B97\u5B8C\u6210"),yield P({type:"getCourseResults",payload:{calc:!0}})):i.ZP.error(j.message)}},reducers:{save(R,L){return p(p({},R),L.payload)},setMajorOrYearDataSource(R,{payload:L}){let P=R.headerData.active;return L.active&&(P=y(p({},P),{[L.key]:L.active})),y(p({},R),{headerData:y(p({},R.headerData),{dataSource:y(p({},R.headerData.dataSource),{[L.key]:y(p({},R.headerData.dataSource[L.key]),{dataList:L.value})}),active:P})})},setMajorOrYearActive(R,{payload:L}){return y(p({},R),{headerData:y(p({},R.headerData),{active:y(p({},R.headerData.active),{[L.key]:L.value})})})},setCourseResults(R,{payload:L}){return y(p({},R),{tabListData:p(p({},R.tabListData),L)})}},subscriptions:{setup({dispatch:R,history:L}){return L.listen(({pathname:P})=>{P==="/"&&R({type:"query"})})}}};g.Z=S},26422:function(d,g,e){"use strict";e.d(g,{L:function(){return h},r:function(){return a}});var r=Object.defineProperty,i=Object.getOwnPropertySymbols,l=Object.prototype.hasOwnProperty,c=Object.prototype.propertyIsEnumerable,f=(x,p,y)=>p in x?r(x,p,{enumerable:!0,configurable:!0,writable:!0,value:y}):x[p]=y,o=(x,p)=>{for(var y in p||(p={}))l.call(p,y)&&f(x,y,p[y]);if(i)for(var y of i(p))c.call(p,y)&&f(x,y,p[y]);return x};const h=x=>x==null?void 0:x.map(p=>{const y=(p.sub_disciplines||[]).map(_=>({value:_.id,label:_.name}));return{value:p.id,label:p.name,children:y}}),u={1:"\u4E00",2:"\u4E8C",3:"\u4E09",4:"\u56DB",5:"\u4E94",6:"\u516D",7:"\u4E03",8:"\u516B"},a=x=>{if(!x)return;const{all_questions_count:p,all_score:y,single_questions:_,multiple_questions:b,judgement_questions:S,program_questions:R,completion_questions:L,subjective_questions:P,practical_questions:D,combination_questions:B}=x||{},j=[o({type:"SINGLE",name:"\u5355\u9009\u9898"},_),o({type:"MULTIPLE",name:"\u591A\u9009\u9898"},b),o({type:"COMPLETION",name:"\u586B\u7A7A\u9898"},L),o({type:"JUDGMENT",name:"\u5224\u65AD\u9898"},S),o({type:"SUBJECTIVE",name:"\u7B80\u7B54\u9898"},P),o({type:"PROGRAM",name:"\u7F16\u7A0B\u9898"},R),o({type:"PRACTICAL",name:"\u5B9E\u8BAD\u9898"},D),o({type:"COMBINATION",name:"\u7EC4\u5408\u9898"},B)].filter(K=>K.questions_count>0).map((K,V)=>o(o({},K),{number:u[V+1]}));return{all_questions_count:p,all_score:y,questionList:j}}},99309:function(d,g,e){"use strict";e.d(g,{U:function(){return c},t:function(){return l}});var r=e(43418),i=e(24065);const l=(f,o="")=>{r.default.confirm({centered:!0,width:520,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:o,onOk:f})},c={setItem:(f,o)=>{var h;const u=f+"-engineering"+((h=(0,i.eY)())==null?void 0:h.school_id),a=JSON.stringify(o);localStorage.setItem(u,a)},getItem:f=>{var o;const h=f+"-engineering"+((o=(0,i.eY)())==null?void 0:o.school_id),u=localStorage.getItem(h);return u!==null&&u!=="[object Object]"?JSON.parse(u):[]},clear:f=>{var o;const h=f+"-engineering"+((o=(0,i.eY)())==null?void 0:o.school_id);localStorage.removeItem(h)}}},35390:function(d,g,e){"use strict";e.d(g,{$f:function(){return p},Cq:function(){return b},GY:function(){return o},I8:function(){return R},Ow:function(){return y},P:function(){return x},Ql:function(){return h},RA:function(){return D},Zm:function(){return u},bz:function(){return f},eF:function(){return S},gQ:function(){return L},ht:function(){return _},kN:function(){return B},n1:function(){return l},nI:function(){return $},o9:function(){return c},sG:function(){return a},wi:function(){return P}});var r=e(99064),i=(j,K,V)=>new Promise((W,oe)=>{var se=J=>{try{q(V.next(J))}catch(Y){oe(Y)}},le=J=>{try{q(V.throw(J))}catch(Y){oe(Y)}},q=J=>J.done?W(J.value):Promise.resolve(J.value).then(se,le);q((V=V.apply(j,K)).next())});function l(j){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${j.login}/avatar.json`,{method:"put",body:j})})}function c(j){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${j.login}.json`,{method:"get"})})}function f(j){return i(this,null,function*(){return(0,r.ZP)("/api/add_school_applies.json",{method:"post",body:j})})}function o(j){return i(this,null,function*(){return(0,r.ZP)("/api/schools/limit_list.json",{method:"get",params:j})})}function h(j){return i(this,null,function*(){return(0,r.ZP)(`/api/schools/${j.id}/departments/for_option.json`,{method:"get",params:j})})}function u(j){return i(this,null,function*(){return(0,r.ZP)("/api/add_department_applies.json",{method:"post",body:j})})}function a(j){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${j.id}.json`,{method:"put",body:j})})}function x(j){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${j.login}/authentication_apply.json`,{method:"delete"})})}function p(j){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${j.login}/professional_auth_apply.json`,{method:"delete"})})}function y(j){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${j.id}/professional_auth_apply.json`,{method:"post",body:j})})}function _(j){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${j.id}/authentication_apply.json`,{method:"post",body:j})})}function b(j){return i(this,null,function*(){return(0,r.ZP)("/api/accounts/get_verification_code.json",{method:"get",params:j})})}function S(j){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${j.login}/phone_bind.json`,{method:"post",body:j})})}function R(j){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${j.login}/email_bind.json`,{method:"post",body:j})})}function L(j){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${j.login}/password.json`,{method:"put",body:j})})}function P(j){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${j.basicInfoId}/open_users/${j.id}.json`,{method:"delete"})})}function D(j){return i(this,null,function*(){return(0,r.ZP)(`/api/users/${j.login}/cancel_authentication.json`,{method:"post",body:j})})}function B(j){return i(this,null,function*(){return(0,r.ZP)(`/api/users/${j.login}/cancel_professional_certification.json`,{method:"post",body:j})})}function $(j,K){return i(this,null,function*(){return(0,r.ZP)(`/api/users/${j.login}/videos/${j.id}/create_subject_video.json`,{method:"post",body:K})})}},13112:function(d,g,e){"use strict";e.d(g,{An:function(){return y},TO:function(){return a},my:function(){return p},nZ:function(){return x}});var r=e(99064),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(_,b,S)=>b in _?i(_,b,{enumerable:!0,configurable:!0,writable:!0,value:S}):_[b]=S,h=(_,b)=>{for(var S in b||(b={}))c.call(b,S)&&o(_,S,b[S]);if(l)for(var S of l(b))f.call(b,S)&&o(_,S,b[S]);return _},u=(_,b,S)=>new Promise((R,L)=>{var P=$=>{try{B(S.next($))}catch(j){L(j)}},D=$=>{try{B(S.throw($))}catch(j){L(j)}},B=$=>$.done?R($.value):Promise.resolve($.value).then(P,D);B((S=S.apply(_,b)).next())});function a(_){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${_.coursesId}/inform_up.json`,{method:"post",body:h({},_)})})}function x(_){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${_.coursesId}/inform_down.json`,{method:"post",body:h({},_)})})}function p(_){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${_.coursesId}/update_informs.json`,{method:"post",body:h({},_)})})}function y(_){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${_.coursesId}/new_informs.json`,{method:"post",body:h({},_)})})}},19381:function(d,g,e){"use strict";e.d(g,{$n:function(){return S},H:function(){return b},Nm:function(){return y},Ot:function(){return _},SV:function(){return a},fc:function(){return L},mn:function(){return R},tO:function(){return p},zI:function(){return x}});var r=e(99064),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(P,D,B)=>D in P?i(P,D,{enumerable:!0,configurable:!0,writable:!0,value:B}):P[D]=B,h=(P,D)=>{for(var B in D||(D={}))c.call(D,B)&&o(P,B,D[B]);if(l)for(var B of l(D))f.call(D,B)&&o(P,B,D[B]);return P},u=(P,D,B)=>new Promise(($,j)=>{var K=oe=>{try{W(B.next(oe))}catch(se){j(se)}},V=oe=>{try{W(B.throw(oe))}catch(se){j(se)}},W=oe=>oe.done?$(oe.value):Promise.resolve(oe.value).then(K,V);W((B=B.apply(P,D)).next())});function a(P){return u(this,null,function*(){return(0,r.ZP)("/api/files/public_with_course_and_project",{method:"get",params:h({},P)})})}function x(P){return u(this,null,function*(){return(0,r.ZP)("/api/files/mine_with_course_and_project.json",{method:"get",params:h({},P)})})}function p(P){return u(this,null,function*(){return(0,r.ZP)("/api/files/import.json",{method:"post",body:h({},P)})})}function y(P){return u(this,null,function*(){return(0,r.ZP)(`/api/files/${P.id}.json`,{method:"get",params:h({},P)})})}function _(P){return u(this,null,function*(){const{id:D}=P;return delete P.id,(0,r.ZP)(`/api/files/${D}.json`,{method:"put",body:h({},P)})})}function b(P){return u(this,null,function*(){return(0,r.ZP)(`/api/files/${P.id}/update_visits.json`,{method:"post"})})}function S(P){return u(this,null,function*(){return(0,r.ZP)(`/api/files/${P==null?void 0:P.id}/watch_list.json`,{method:"get",params:h({},P)})})}function R(P){return u(this,null,function*(){return(0,r.ZP)("/api/files/get_batches_publish_info.json",{method:"get",params:h({},P)})})}function L(P){return u(this,null,function*(){return(0,r.ZP)(`/api/files/${P==null?void 0:P.id}/add_file_quantity.json`,{method:"post",body:h({},P)})})}},10813:function(d,g,e){"use strict";e.d(g,{CJ:function(){return y},Mf:function(){return L},NA:function(){return S},PC:function(){return _},PP:function(){return b},YQ:function(){return R},cc:function(){return p},dI:function(){return x},yq:function(){return a}});var r=e(99064),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(P,D,B)=>D in P?i(P,D,{enumerable:!0,configurable:!0,writable:!0,value:B}):P[D]=B,h=(P,D)=>{for(var B in D||(D={}))c.call(D,B)&&o(P,B,D[B]);if(l)for(var B of l(D))f.call(D,B)&&o(P,B,D[B]);return P},u=(P,D,B)=>new Promise(($,j)=>{var K=oe=>{try{W(B.next(oe))}catch(se){j(se)}},V=oe=>{try{W(B.throw(oe))}catch(se){j(se)}},W=oe=>oe.done?$(oe.value):Promise.resolve(oe.value).then(K,V);W((B=B.apply(P,D)).next())});function a(P){return u(this,null,function*(){return(0,r.ZP)("/api/courses/board_list.json",{method:"get",params:h({},P)})})}function x(P){return u(this,null,function*(){return(0,r.ZP)(`/api/messages/${P.boardId}.json`,{method:"get",params:h({},P)})})}function p(P){return u(this,null,function*(){return(0,r.ZP)(`/api/messages/${P.id}/sticky_top.json`,{method:"put",body:{course_id:P.coursesId}})})}function y(P){return u(this,null,function*(){return(0,r.ZP)(`/api/messages/${P.id}/sticky_top.json`,{method:"put",body:{course_id:P.coursesId}})})}function _(P){return u(this,null,function*(){return(0,r.ZP)(`/api/messages/${P.boardId}/reply_list.json`,{method:"get",params:h({},P)})})}function b(P){return u(this,null,function*(){return(0,r.ZP)(`/api/messages/${P.boardId}/reply.json`,{method:"post",body:h({},P)})})}function S(P){return u(this,null,function*(){return(0,r.ZP)("/api/praise_tread/like.json",{method:"post",body:h({},P)})})}function R(P){return u(this,null,function*(){return(0,r.ZP)("/api/praise_tread/unlike.json",{method:"delete",body:h({},P)})})}function L(P){return u(this,null,function*(){return(0,r.ZP)("/api/commons/delete.json",{method:"delete",body:h({},P)})})}},92365:function(d,g,e){"use strict";e.d(g,{$T:function(){return gr},A:function(){return jt},Ab:function(){return gi},Al:function(){return te},BQ:function(){return ht},BR:function(){return ne},Bn:function(){return Me},Cq:function(){return Ut},DJ:function(){return Fe},Dd:function(){return _},Ds:function(){return Ue},EO:function(){return At},Ed:function(){return Ft},F9:function(){return it},FU:function(){return Vt},Fg:function(){return b},GV:function(){return Jt},Gk:function(){return q},Gm:function(){return zt},Gz:function(){return S},Hl:function(){return R},Hn:function(){return V},ID:function(){return an},IU:function(){return Ie},J2:function(){return qt},K$:function(){return ge},KP:function(){return _t},KT:function(){return Te},L$:function(){return Gt},LH:function(){return D},Lk:function(){return Vi},Ls:function(){return Q},MA:function(){return Hn},Mc:function(){return Qn},N7:function(){return ue},Nd:function(){return le},Nl:function(){return Ot},Ns:function(){return un},O3:function(){return je},Pj:function(){return It},QX:function(){return _e},QZ:function(){return we},R2:function(){return Y},Rk:function(){return Cr},S9:function(){return kt},U8:function(){return Lt},UD:function(){return Ar},U_:function(){return oe},Uy:function(){return _r},V8:function(){return K},Vw:function(){return M},W0:function(){return Zt},W7:function(){return et},WK:function(){return mr},Wr:function(){return Zi},YR:function(){return Ge},Z0:function(){return gt},ZL:function(){return wt},ZT:function(){return xi},ZX:function(){return dn},Z_:function(){return B},_0:function(){return $},_9:function(){return st},_B:function(){return _i},aP:function(){return Ct},aQ:function(){return bt},aZ:function(){return De},al:function(){return Ht},bm:function(){return Qr},bz:function(){return $e},c_:function(){return yt},ds:function(){return Gr},fN:function(){return Jr},fr:function(){return Yt},g4:function(){return er},gq:function(){return L},hf:function(){return F},i:function(){return Rt},i6:function(){return Lr},i7:function(){return jr},iE:function(){return a},ih:function(){return Fn},kW:function(){return Pt},km:function(){return or},nP:function(){return p},nQ:function(){return He},nX:function(){return Or},oM:function(){return Ce},oR:function(){return Yi},o_:function(){return Oe},pf:function(){return St},pr:function(){return yi},pv:function(){return ot},qB:function(){return ae},r2:function(){return j},rS:function(){return P},s:function(){return ri},sb:function(){return Je},sm:function(){return y},t1:function(){return Xe},tB:function(){return Nn},tR:function(){return ct},td:function(){return dt},uh:function(){return Wt},up:function(){return vt},v2:function(){return x},vV:function(){return be},w9:function(){return se},wR:function(){return gn},yS:function(){return fe},yV:function(){return J},yd:function(){return Be},zg:function(){return de}});var r=e(99064),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(Et,ut,qn)=>ut in Et?i(Et,ut,{enumerable:!0,configurable:!0,writable:!0,value:qn}):Et[ut]=qn,h=(Et,ut)=>{for(var qn in ut||(ut={}))c.call(ut,qn)&&o(Et,qn,ut[qn]);if(l)for(var qn of l(ut))f.call(ut,qn)&&o(Et,qn,ut[qn]);return Et},u=(Et,ut,qn)=>new Promise((Ei,Jn)=>{var Gi=En=>{try{ai(qn.next(En))}catch(tr){Jn(tr)}},mi=En=>{try{ai(qn.throw(En))}catch(tr){Jn(tr)}},ai=En=>En.done?Ei(En.value):Promise.resolve(En.value).then(Gi,mi);ai((qn=qn.apply(Et,ut)).next())});const a=Et=>u(void 0,null,function*(){return(0,r.ZP)(`/api/courses/${Et==null?void 0:Et.course_id}/course_videos/configs.json`,{method:"put",body:Et})}),x=Et=>u(void 0,null,function*(){return(0,r.ZP)(`/api/courses/${Et==null?void 0:Et.course_id}/course_videos/list_for_config.json`,{method:"Get",params:Et})}),p=Et=>u(void 0,null,function*(){return(0,r.ZP)(`/api/courses/${Et==null?void 0:Et.course_id}/homework_commons/max_late_time.json`,{method:"Get",params:Et})}),y=Et=>u(void 0,null,function*(){return(0,r.ZP)(`/api/courses/${Et==null?void 0:Et.course_id}/homework_commons/batch_late_setting`,{method:"post",body:Et})}),_=Et=>u(void 0,null,function*(){return(0,r.ZP)("/api/course_statistics/course_use_infos.json",{method:"Get",params:Et})}),b=Et=>u(void 0,null,function*(){return(0,r.ZP)("/api/course_statistics/rank_list.json",{method:"Get",params:Et})}),S=Et=>u(void 0,null,function*(){return(0,r.ZP)("/api/course_statistics/statistics_body.json",{method:"Get",params:Et})}),R=Et=>u(void 0,null,function*(){return(0,r.ZP)("/api/course_statistics/statistics_header.json",{method:"Get",params:Et})});function L(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.course_id}/set_assistant_permissions.json`,{method:"post",body:h({},Et.permissions)})})}function P(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.course_id}/assistant_permissions.json`,{method:"Get",params:h({},Et)})})}function D(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.id}/ai_status_query.json`,{method:"Get",params:Et})})}function B(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/update_course_portrait_data.json`,{method:"post",body:h({},Et)})})}function $(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.id}/get_user_portrait_config.json`,{method:"Get",params:Et})})}function j(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/update_user_portrait_config.json?id=${Et.coursesId}`,{method:"put",body:h({},Et)})})}function K(Et){return u(this,null,function*(){return(0,r.ZP)("/api/courses.json",{method:"Get",params:h({},Et)})})}function V(Et){return u(this,null,function*(){return(0,r.ZP)("/api/intelligent_recommendations/according_course_recommend_shixuns.json",{method:"Get",params:h({},Et)})})}function W(Et){return u(this,null,function*(){return Fetch("/api/disciplines.json",{method:"Get",params:h({},Et)})})}function oe(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.id}/top_banner.json`,{method:"get",params:h({},Et)})})}function se(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.id||Et.coursesId}/left_banner.json`,{method:"get",params:h({},Et)})})}function le(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.id}/homework_commons.json`,{method:"get",params:h({},Et)})})}function q(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.id}/homework_commons/list.json`,{method:"get",params:h({},Et)})})}function J(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.id}/graduation_topics.json`,{method:"get",params:h({},Et)})})}function Y(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.id}/graduation_tasks.json`,{method:"get",params:h({},Et)})})}function ue(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/v2/courses/${Et.id}/exercises.json`,{method:"get",params:h({},Et)})})}function ne(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.id}/polls.json`,{method:"get",params:h({},Et)})})}function te(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.id}/homework_commons.json`,{method:"get",params:h({},Et)})})}function ae(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.id}/course_groups.json`,{method:"get",params:h({},Et)})})}function F(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.id}/all_course_groups.json`,{method:"get",params:h({},Et)})})}function M(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.id}/attendances.json`,{method:"get",params:h({},Et)})})}function Q(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/weapps/courses/${Et.coursesId}/attendances.json`,{method:"get",params:h({},Et)})})}function de(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/attendances/${Et.id}/edit.json`,{method:"get",params:h({},Et)})})}function we(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.id}/informs.json`,{method:"get",params:h({},Et)})})}function Te(Et){return u(this,null,function*(){return(0,r.ZP)("/api/files.json",{method:"get",params:h({},Et)})})}function je(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.id}/course_videos.json`,{method:"get",params:h({},Et)})})}function Fe(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.id}/live_links.json`,{method:"get",params:h({},Et)})})}function Ft(Et){return u(this,null,function*(){return(0,r.ZP)("/api/courses/mine.json",{method:"get",params:h({},Et)})})}function _t(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/boards/${Et.categoryId}/messages.json`,{method:"get",params:h({},Et)})})}function Pt(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.id}/course_groups.json`,{method:"get",params:h({},Et)})})}function qt(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.id}/students.json`,{method:"get",params:h({},Et)})})}function er(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/statistics.json`,{method:"get",params:h({},Et)})})}function Jt(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/work_score.json`,{method:"get",params:h({},Et)})})}function Xe(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/act_score.json`,{method:"get",params:h({},Et)})})}function It(Et){return u(this,null,function*(){return(0,r.ZP)("/api/shixun_lists.json",{method:"get",params:h({},Et)})})}function zt(Et){return u(this,null,function*(){return(0,r.ZP)("/api/item_banks.json",{method:"get",params:h({},Et)})})}function st(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et==null?void 0:Et.course_id}/homework_commons/impersonal_list.json`,{method:"get",params:h({},Et)})})}function bt(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/homework_commons/create_shixun_homework.json`,{method:"post",body:h({},Et)})})}function ht(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et==null?void 0:Et.course_id}/homework_commons/create_collaborators.json`,{method:"post",body:h({},Et)})})}function et(Et){return u(this,null,function*(){return(0,r.ZP)("/api/subject_lists.json",{method:"get",params:h({},Et)})})}function Ue(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/homework_commons/create_subject_homework.json`,{method:"post",body:h({},Et)})})}function ge(Et){return u(this,null,function*(){return(0,r.ZP)("/api/schools/school_list.json",{method:"get",params:Et})})}function Ce(Et){return u(this,null,function*(){return(0,r.ZP)("/api/courses/search_course_list.json",{method:"post",body:Et})})}function Me(Et){return u(this,null,function*(){return(0,r.ZP)("/api/courses.json",{method:"post",body:Et})})}function $e(Et){return u(this,null,function*(){return(0,r.ZP)("/api/add_school_applies.json",{method:"post",body:Et})})}function He(Et){return u(this,null,function*(){return(0,r.ZP)("/api/users/member_search.json",{method:"get",params:Et})})}function it(Et){return u(this,null,function*(){return(0,r.ZP)("/api/student_groups.json",{method:"get",params:h({page:1,limit:1e3},Et)})})}function ct(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.identifier}/add_student_groups.json`,{method:"post",body:Et})})}function Vt(Et){return u(this,null,function*(){return(0,r.ZP)("/api/courses/search_all.json",{method:"get",params:Et})})}function Wt(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/add_teacher.json`,{method:"post",body:Et})})}function De(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/add_students_by_search.json`,{method:"post",body:Et})})}function Je(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/set_public_or_private.json`,{method:"post",body:Et})})}function Gt(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/set_invite_code_halt.json`,{method:"post",body:Et})})}function kt(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/duplicate_course.json`,{method:"post",body:Et})})}function Ht(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/update_end_date.json`,{method:"put",body:Et})})}function jt(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}.json`,{method:"delete",body:Et})})}function At(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/settings.json`,{method:"get",params:h({},Et)})})}function Yt(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}.json`,{method:"put",body:Et})})}function Ge(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/export_couser_info.json`,{method:"get",params:{export:!0}})})}function fe(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/export_member_act_score_async.json`,{method:"get",params:h({export:!0},Et)})})}function _e(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/export_total_homework_commons_score.json`,{method:"get",params:h({export:!0},Et)})})}function Ot(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/export_total_exercises_and_other_score.json`,{method:"get",params:h({export:!0},Et)})})}function Ie(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/export_star_user.json`,{method:"get",params:h({export:!0},Et)})})}function dt(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/export_mooc_records.json`,{method:"get",params:h({export:!0},Et)})})}function Zt(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/export_total_course_score.json`,{method:"get",params:h({export:!0},Et)})})}function Ct(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Et.categoryId}/export_scores.json`,{method:"get",params:h({export:!0},Et)})})}function Oe(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Et.categoryId}/export_shixun_report.json`,{method:"get",params:h({export:!0},Et)})})}function wt(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/exercises/${Et.categoryId}/export_exercise_users.json`,{method:"get",params:h({export:!0},Et)})})}function be(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/exercises/${Et.categoryId}/export_exercise_word.json`,{method:"get",params:h({export:!0},Et)})})}function Ke(Et){return u(this,null,function*(){return Fetch(`/api/homework_commons/${Et.categoryId}/works_list.zip`,{method:"get",params:h({export:!0},Et)})})}function gt(Et){return u(this,null,function*(){return(0,r.ZP)(`/api//course_second_categories/${Et.id}.json`,{method:"delete",params:{export:!0}})})}function Rt(Et){return u(this,null,function*(){return(0,r.ZP)(`/api//boards/${Et.id}.json`,{method:"delete",params:{export:!0}})})}function Be(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/course_modules/${Et.id}/sticky_module.json`,{method:"get"})})}function Or(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/course_modules/${Et.id}/hidden_module.json`,{method:"get"})})}function St(Et){return u(this,null,function*(){return(0,r.ZP)("/api/courses/new.json",{method:"get",params:Et})})}function Gr(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/weapps/attendances/${Et.id}.json`,{method:"get",params:Et})})}function Qr(Et){return u(this,null,function*(){return(0,r.ZP)("/api/weapps/course_member_attendances.json",{method:"get",params:Et})})}function Ar(Et){return u(this,null,function*(){return(0,r.ZP)("/api/weapps/course_member_attendances/update_status.json",{method:"post",body:Et})})}function Fr(Et){return u(this,null,function*(){return Fetch(`/api/polls/${Et.categoryId}/commit_result.xlsx`,{method:"get",params:h({export:!0},Et)})})}function _r(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/exercises/${Et.categoryId}/export_scores.json`,{method:"get",params:h({export:!0},Et)})})}function jr(Et){return(0,r.ZP)(`/api/polls/${Et.categoryId}/start_answer.json`,{method:"get",params:h({},Et)})}function an(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/poll_questions/${Et.questionId}/poll_votes.json`,{method:"post",body:Et})})}function un(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${Et.categoryId}/commit_poll.json`,{method:"post",body:Et})})}function or(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.courseId}/tasks_list.json`,{method:"get",params:Et})})}function Lt(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.courseId}/update_task_position.json`,{method:"post",body:Et})})}function vt(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/calculate_all_shixun_scores.json`,{method:"get",params:Et})})}function yt(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/all_course_groups.json`,{method:"get",params:Et})})}function Ut(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/polls/all_course_groups.json`,{method:"get",params:Et})})}function Cr(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/students.json`,{method:"get",params:Et})})}function gr(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/course_groups/${Et.categoryId}/rename_group.json`,{method:"POST",body:Et})})}function ot(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/course_groups/${Et.categoryId}.json`,{method:"delete",body:Et})})}function Lr(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/join_course_group.json`,{method:"POST",body:Et})})}function gn(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/transfer_to_course_group.json`,{method:"post",body:Et})})}function Hn(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/delete_from_course.json`,{method:"post",body:Et})})}function mr(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/join_course_group.json`,{method:"post",body:Et})})}function Jr(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/exit_course.json`,{method:"post"})})}function dn(Et){return u(this,null,function*(){return(0,r.ZP)("/api/weapps/course_member_attendances.json",{method:"post",body:h({},Et)})})}function Fn(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/mooc_users/${Et.user_id}/edit.json`,{method:"get",params:Et})})}function ri(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/mooc_users.json`,{method:"post",body:Et})})}function Nn(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.coursesId}/mooc_users/${Et.user_id}.json`,{method:"put",body:Et})})}function Zi(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/course_second_categories/${Et.id}/move_category.json`,{method:"post",body:Et})})}function gi(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/boards/${Et.id}/move_category.json`,{method:"post",body:Et})})}function xi(Et){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et.id}/courseware.json`,{method:"get",params:Et})})}function yi(Et,ut){return u(this,null,function*(){return(0,r.ZP)(`/api/exercises/${Et}/mark_wrong_topic.json`,{method:"get",params:ut})})}function _i(Et,ut){return u(this,null,function*(){return(0,r.ZP)(`/api/exercises/${Et}/cancel_wrong_topic.json`,{method:"get",params:ut})})}function Yi(Et,ut){return u(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Et}/allow_end_group.json`,{method:"get",params:ut})})}function Qn(Et,ut){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${Et}/homework_commons/end_with_homework_list_position.json`,{method:"post",body:ut})})}function Vi(Et,ut){return u(this,null,function*(){return(0,r.ZP)(`/api/tasks/${Et}/get_content_for_commit_id.json`,{method:"get",params:ut})})}},52721:function(d,g,e){"use strict";e.d(g,{$M:function(){return er},$P:function(){return Vt},Ax:function(){return x},Dh:function(){return R},FU:function(){return W},GQ:function(){return ne},IN:function(){return Ue},JM:function(){return $e},Ju:function(){return qt},Mn:function(){return et},Ni:function(){return Q},Pg:function(){return L},Pt:function(){return S},Qp:function(){return Y},R9:function(){return oe},Ux:function(){return ue},Vy:function(){return je},XJ:function(){return M},XR:function(){return _t},Ze:function(){return $},aq:function(){return B},bQ:function(){return _},bu:function(){return p},cC:function(){return a},jS:function(){return le},lm:function(){return ge},ml:function(){return ae},o3:function(){return Xe},pA:function(){return zt},pS:function(){return Me},pU:function(){return F},ps:function(){return V},q0:function(){return bt},qN:function(){return ht},qS:function(){return b},qj:function(){return Ft},qt:function(){return it},rV:function(){return P},rZ:function(){return He},rk:function(){return we},rm:function(){return J},sK:function(){return q},sL:function(){return st},su:function(){return Ce},tC:function(){return Te},tO:function(){return Fe},u9:function(){return te},uZ:function(){return de},vV:function(){return K},xx:function(){return Wt},y8:function(){return Pt},yS:function(){return j},zF:function(){return y},zc:function(){return se},zj:function(){return D},zz:function(){return ct}});var r=e(99064),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(De,Je,Gt)=>Je in De?i(De,Je,{enumerable:!0,configurable:!0,writable:!0,value:Gt}):De[Je]=Gt,h=(De,Je)=>{for(var Gt in Je||(Je={}))c.call(Je,Gt)&&o(De,Gt,Je[Gt]);if(l)for(var Gt of l(Je))f.call(Je,Gt)&&o(De,Gt,Je[Gt]);return De},u=(De,Je,Gt)=>new Promise((kt,Ht)=>{var jt=Ge=>{try{Yt(Gt.next(Ge))}catch(fe){Ht(fe)}},At=Ge=>{try{Yt(Gt.throw(Ge))}catch(fe){Ht(fe)}},Yt=Ge=>Ge.done?kt(Ge.value):Promise.resolve(Ge.value).then(jt,At);Yt((Gt=Gt.apply(De,Je)).next())});const a=De=>(0,r.ZP)(`/api/competitions/${De.identifier}/create_guide.json`,{method:"post",body:De}),x=De=>(0,r.ZP)(`/api/competitions/${De.identifier}/guides.json`,{method:"get",params:De}),p=De=>(0,r.ZP)(`/api/competitions/${De.identifier}/competition_teams/${De.competition_team_id}/edit_info.json`,{method:"put",body:De});function y(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.identifier}/update_result.json`,{method:"post",body:De})})}function _(De){return u(this,null,function*(){return(0,r.ZP)("/api/competitions.json",{method:"Get",params:h({},De)})})}function b(De){return u(this,null,function*(){return(0,r.ZP)("/api/courses/apply_to_join_course.json",{method:"post",body:De})})}function S(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.identifier}/competition_teams.json`,{method:"post"})})}function R(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.identifier}/competition_staff.json`,{method:"get"})})}function L(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.identifier}/common_header.json`,{method:"get"})})}function P(De){return u(this,null,function*(){return(0,r.ZP)(`/api/${De.url}`,{method:"get",params:h({},De)})})}function D(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.identifier}/update_md_content.json`,{method:"post",body:De})})}function B(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.identifier}/competition_teams.json`,{method:"get",params:De})})}function $(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.identifier}/competition_teams/${De.Teannameid}/edit.json`,{method:"get",params:De})})}function j(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.identifier}/competition_teams/${De.Teannameid}.json`,{method:"put",body:De})})}function K(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.identifier}/competition_teams/${De.id}/leave.json`,{method:"post",body:De})})}function V(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.identifier}/competition_teams/${De.id}.json`,{method:"delete"})})}function W(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.identifier}/competition_teams.json`,{method:"post",body:De})})}function oe(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.id}/add_managers.json`,{method:"post",body:De})})}function se(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.identifier}/competition_teams/join.json`,{method:"post",body:De})})}function le(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.identifier}/teachers.json`,{method:"get",params:De})})}function q(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.identifier}/students.json`,{method:"get",params:De})})}function J(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.identifier}/competition_teams/${De.teamid}/crud_team_members.json`,{method:"post",body:De})})}function Y(De){return u(this,null,function*(){return(0,r.ZP)("/api/users/competition_reward.json",{method:"post",body:De})})}function ue(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.identifier}/chart_rules.json`,{method:"get"})})}function ne(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.identifier}/charts.json`,{method:"get",params:De})})}function te(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.identifier}/results.json`,{method:"get",params:De})})}function ae(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.identifier}/md_tab_rules.json`,{method:"get",params:De})})}function F(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.identifier}/prize.json`,{method:"get",params:De})})}function M(De){return u(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${De.id}.json`,{method:"get",params:De})})}function Q(De){return u(this,null,function*(){return(0,r.ZP)("/api/accounts/get_verification_code.json",{method:"get",params:De})})}function de(De){return u(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${De.userid}/phone_bind.json`,{method:"post",body:De})})}function we(De){return u(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${De.userid}/email_bind.json`,{method:"post",body:De})})}function Te(De){return u(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${De.userid}/professional_auth_apply.json`,{method:"delete"})})}function je(De){return u(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${De.userid}/authentication_apply.json`,{method:"delete"})})}function Fe(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.identifier}/prize_leader_account.json`,{method:"put",body:De})})}function Ft(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.identifier}/competition_teams/${De.teamid}/shixun_detail.json`,{method:"get"})})}function _t(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.identifier}/competition_teams/${De.teamid}/course_detail.json`,{method:"get"})})}function Pt(De){return u(this,null,function*(){return(0,r.ZP)(`/api/attachments/${De.id}.json`,{method:"delete"})})}function qt(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.id}/get_certificate_info.json`,{method:"get",params:De})})}function er(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.id}/basic_setting.json`,{method:"post",body:De})})}function Jt(){return u(this,null,function*(){return Fetch("/api/competitions/download_template",{method:"get",responseType:"arraybuffer"})})}function Xe(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De}/common_header.json`,{method:"get"})})}function It(De){return u(this,null,function*(){return Fetch("/api/competitions.json",{method:"post",body:De})})}function zt(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De==null?void 0:De.id}/search_managers.json`,{method:"get",params:De})})}function st(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De}/get_managers.json`,{method:"get"})})}function bt(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De==null?void 0:De.id}/add_managers.json`,{method:"post",body:De})})}function ht(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De==null?void 0:De.id}/delete_managers.json`,{method:"delete",body:De})})}function et(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De}/get_picture.json`,{method:"get"})})}function Ue(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De==null?void 0:De.id}/identifier_exist.json`,{method:"post",body:De})})}function ge(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De}/get_shixun_settings.json`,{method:"get"})})}function Ce(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De==null?void 0:De.id}/shixun_add.json`,{method:"post",body:De})})}function Me(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De==null?void 0:De.id}/shixun_delete.json`,{method:"delete",body:De})})}function $e(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De==null?void 0:De.id}/shixun_select.json`,{method:"post",body:De})})}function He(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De}/info_finish.json`,{method:"get"})})}function it(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De==null?void 0:De.id}/competition_review.json`,{method:"post",body:h({},De)})})}function ct(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.identifier}/competition_teams.json`,{method:"get",params:De})})}function Vt(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.identifier}/all_team_members.json`,{method:"get",params:De})})}function Wt(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.identifier}/competition_commit_records/member_works.json`,{method:"get",params:De})})}},38650:function(d,g,e){"use strict";e.d(g,{F:function(){return b},OE:function(){return D},ff:function(){return S},p1:function(){return R},_y:function(){return _},mK:function(){return K},gq:function(){return W},eM:function(){return j},BA:function(){return le},bA:function(){return J},Nx:function(){return q},Qx:function(){return B},At:function(){return L},PX:function(){return P},Xl:function(){return $},y9:function(){return V},No:function(){return oe},ay:function(){return Y}});var r=e(99064),i=Object.defineProperty,l=Object.defineProperties,c=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,u=(ue,ne,te)=>ne in ue?i(ue,ne,{enumerable:!0,configurable:!0,writable:!0,value:te}):ue[ne]=te,a=(ue,ne)=>{for(var te in ne||(ne={}))o.call(ne,te)&&u(ue,te,ne[te]);if(f)for(var te of f(ne))h.call(ne,te)&&u(ue,te,ne[te]);return ue},x=(ue,ne)=>l(ue,c(ne)),p=(ue,ne)=>{var te={};for(var ae in ue)o.call(ue,ae)&&ne.indexOf(ae)<0&&(te[ae]=ue[ae]);if(ue!=null&&f)for(var ae of f(ue))ne.indexOf(ae)<0&&h.call(ue,ae)&&(te[ae]=ue[ae]);return te},y=(ue,ne,te)=>new Promise((ae,F)=>{var M=we=>{try{de(te.next(we))}catch(Te){F(Te)}},Q=we=>{try{de(te.throw(we))}catch(Te){F(Te)}},de=we=>we.done?ae(we.value):Promise.resolve(we.value).then(M,Q);de((te=te.apply(ue,ne)).next())});const _=ue=>y(void 0,null,function*(){var ne=ue,{id:te}=ne,ae=p(ne,["id"]);return(0,r.ZP)(`/api/ec_years/${te}/course_results.json`,{method:"get",params:ae})}),b=ue=>{let ne=document.createElement("iframe");ne.src=`/api/ec_years/${ue}/course_results.xlsx`,ne.style.display="none",document.body.appendChild(ne)},S=({ec_year_id:ue})=>(0,r.ZP)(`/api/ec_years/${ue}/course_results/get_class.json`,{method:"get"}),R=({ec_year_id:ue,id:ne,class_name:te=null})=>(0,r.ZP)(`/api/ec_years/${ue}/course_results/${ne}.json`,{method:"get",params:{class_name:te}}),L=({ec_year_id:ue})=>(0,r.ZP)("/api/ec_courses/1/evaluations/compute_all_courses_data",{method:"post",body:{ec_year_id:ue}}),P=({ec_course_id:ue})=>(0,r.ZP)(`/api/ec_courses/${ue}/evaluations/evaluation_data`,{method:"POST"}),D=ue=>{let ne=document.createElement("iframe");ne.src=`/api/ec_years/${ue}/ec_graduation_results.xlsx`,ne.style.display="none",document.body.appendChild(ne)},B=({ec_year_id:ue})=>(0,r.ZP)(`/api/ec_years/${ue}/ec_graduation_results/compute_all`,{method:"post"}),$=({ec_year_id:ue,id:ne})=>(0,r.ZP)(`/api/ec_years/${ue}/ec_graduation_results/compute_single?id=${ne}`,{method:"POST"}),j=ue=>(0,r.ZP)(`/api/ec_years/${ue}/ec_graduation_results.json`,{method:"get"}),K=ue=>(0,r.ZP)(`/api/ec_years/${ue}/ec_graduation_results/get_formulas.json`,{method:"get"}),V=({ec_year_id:ue,formula_one:ne,formula_two:te,formula_three:ae})=>(0,r.ZP)(`/api/ec_years/${ue}/ec_graduation_results/set_formulas.json`,{method:"PUT",body:{formula_one_id:ne,formula_two_id:te,formula_three_id:ae}}),W=({ec_year_id:ue,id:ne})=>(0,r.ZP)(`/api/ec_years/${ue}/ec_graduation_results/${ne}.json`,{method:"get"}),oe=ue=>{var ne=ue,{ec_year_id:te,type:ae,goal_value:F}=ne,M=p(ne,["ec_year_id","type","goal_value"]);let Q=`?type=${ae}`,de={method:"PUT"};return ae==="all"&&(Q+=`&goal_value=${F}`),ae==="each"&&(de=x(a({},de),{body:M})),(0,r.ZP)(`/api/ec_years/${te}/ec_graduation_results/set_goal_value${Q}`,de)};var se=(ue,ne,te)=>new Promise((ae,F)=>{var M=we=>{try{de(te.next(we))}catch(Te){F(Te)}},Q=we=>{try{de(te.throw(we))}catch(Te){F(Te)}},de=we=>we.done?ae(we.value):Promise.resolve(we.value).then(M,Q);de((te=te.apply(ue,ne)).next())});const le=ue=>se(void 0,null,function*(){return(0,r.ZP)(`/api/schools/${ue}/ec_majors/get_major_list.json`,{method:"get"})}),q=ue=>se(void 0,null,function*(){return(0,r.ZP)(`/api/ec_major_schools/${ue}/ec_years/get_year_list.json`,{method:"get"})}),J=({ec_year_id:ue,school_id:ne})=>(0,r.ZP)(`/api/ec_years/${ue}/top_pages.json`,{method:"get",params:{school_id:ne}}),Y=({id:ue,name:ne})=>(0,r.ZP)(`/api/ec_years/1/top_pages/${ue}?name=${ne}`,{method:"PUT"})},94941:function(d,g,e){"use strict";e.d(g,{$Q:function(){return D},$l:function(){return gr},BJ:function(){return ht},CD:function(){return Je},Cd:function(){return it},Cl:function(){return Be},Di:function(){return Jt},Fl:function(){return zt},G$:function(){return ae},GK:function(){return It},Ip:function(){return ge},J:function(){return F},KE:function(){return st},L8:function(){return Yt},LP:function(){return Ce},MK:function(){return Xe},Mb:function(){return Ar},N0:function(){return V},N3:function(){return Fe},OO:function(){return L},P8:function(){return un},PJ:function(){return Q},PT:function(){return _r},Qc:function(){return oe},RK:function(){return te},Ty:function(){return Ke},UH:function(){return dt},UK:function(){return Ft},Uj:function(){return Wt},Ul:function(){return He},VL:function(){return Ht},Vj:function(){return fe},W4:function(){return Vt},WL:function(){return _e},Wj:function(){return ne},X4:function(){return Ue},Xn:function(){return Gr},Xo:function(){return le},YY:function(){return er},Ym:function(){return j},Yu:function(){return or},ZD:function(){return an},Zg:function(){return Or},_B:function(){return De},_F:function(){return Fr},_U:function(){return J},_u:function(){return de},aU:function(){return K},ab:function(){return Rt},cC:function(){return be},cV:function(){return Y},ck:function(){return jr},dp:function(){return W},eA:function(){return Ut},fG:function(){return S},gA:function(){return ue},gG:function(){return Qr},gJ:function(){return Lt},hk:function(){return y},hv:function(){return _},iB:function(){return b},iU:function(){return R},iw:function(){return wt},kp:function(){return jt},lL:function(){return P},lf:function(){return je},n$:function(){return Te},n7:function(){return q},nF:function(){return Ge},o3:function(){return vt},oS:function(){return Me},oX:function(){return kt},oy:function(){return gt},p7:function(){return $},pL:function(){return Gt},pu:function(){return et},q6:function(){return At},qf:function(){return qt},qz:function(){return $e},s:function(){return Ct},sA:function(){return Ot},sS:function(){return yt},tX:function(){return Zt},uR:function(){return _t},ux:function(){return bt},wy:function(){return Pt},xA:function(){return Oe},yE:function(){return se},yu:function(){return Ie},zP:function(){return B},zR:function(){return Cr}});var r=e(99064),i=Object.defineProperty,l=Object.defineProperties,c=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,u=(ot,Lr,gn)=>Lr in ot?i(ot,Lr,{enumerable:!0,configurable:!0,writable:!0,value:gn}):ot[Lr]=gn,a=(ot,Lr)=>{for(var gn in Lr||(Lr={}))o.call(Lr,gn)&&u(ot,gn,Lr[gn]);if(f)for(var gn of f(Lr))h.call(Lr,gn)&&u(ot,gn,Lr[gn]);return ot},x=(ot,Lr)=>l(ot,c(Lr)),p=(ot,Lr,gn)=>new Promise((Hn,mr)=>{var Jr=ri=>{try{Fn(gn.next(ri))}catch(Nn){mr(Nn)}},dn=ri=>{try{Fn(gn.throw(ri))}catch(Nn){mr(Nn)}},Fn=ri=>ri.done?Hn(ri.value):Promise.resolve(ri.value).then(Jr,dn);Fn((gn=gn.apply(ot,Lr)).next())});const y=ot=>(0,r.ZP)(`/api/exercises/${ot==null?void 0:ot.exercise_id}/statistics/list_student_score_by_question_type.json`,{method:"get",params:ot}),_=ot=>(0,r.ZP)(`/api/exercises/${ot==null?void 0:ot.exercise_id}/statistics/list_student_score_by_question.json`,{method:"get",params:ot}),b=ot=>(0,r.ZP)(`/api/exercises/${ot.exercise_id}/statistics/export_class_compare.xlsl`,{method:"get",params:ot}),S=ot=>(0,r.ZP)(`/api/exercises/${ot.exercise_id}/statistics/class_question_compare.json`,{method:"get",params:ot}),R=ot=>(0,r.ZP)(`/api/exercises/${ot==null?void 0:ot.exercise_id}/statistics/class_score_distribution.json`,{method:"get",params:ot}),L=ot=>(0,r.ZP)(`/api/exercises/${ot==null?void 0:ot.exercise_id}/statistics/list_student_score.json`,{method:"get",params:ot}),P=ot=>(0,r.ZP)(`/api/exercises/${ot==null?void 0:ot.exercise_id}/statistics/set_score_ranges.json`,{method:"put",body:ot}),D=ot=>(0,r.ZP)(`/api/exercises/${ot==null?void 0:ot.exercise_id}/statistics/score_ranges.json`,{method:"get",params:ot}),B=ot=>(0,r.ZP)(`/api/exercises/${ot.id}/sava_exam_summary.json`,{method:"post",body:ot}),$=ot=>(0,r.ZP)("/api/intelligent_reviews/exam_summary.json",{method:"post",body:ot}),j=ot=>(0,r.ZP)(`/api/exercises/${ot.id}/generate_exam_summary.json`,{method:"post",body:ot}),K=ot=>(0,r.ZP)(`/api/exercises/${ot.id}/exam_summary_settings.json`,{method:"post",body:ot}),V=ot=>p(void 0,null,function*(){return(0,r.ZP)(`/api/exercises/${ot==null?void 0:ot.exercise_id}/review_exercise_user.json`,{method:"post",body:ot})}),W=ot=>(0,r.ZP)(`/api/exercises/${ot==null?void 0:ot.id}/code_check.json`,{method:"get",params:ot}),oe=ot=>(0,r.ZP)(`/api/exercises/${ot.id}/reset_pwd.json`,{method:"post",body:ot}),se=ot=>(0,r.ZP)(`/api/exercises/${ot.id}/encrypt_or_decrypt.json`,{method:"post",body:ot}),le=ot=>p(void 0,null,function*(){return(0,r.ZP)(`/api/exercises/${ot.id}/delayed_time_or_force.json`,{method:"post",body:ot})}),q=ot=>p(void 0,null,function*(){return(0,r.ZP)(`/api/exercises/${ot==null?void 0:ot.id}/exercise_time.json`,{method:"Get",params:ot})}),J=ot=>(0,r.ZP)(`/api/exercises/${ot==null?void 0:ot.id}/exercise_question_result.json`,{method:"get",params:ot}),Y=ot=>(0,r.ZP)(`/api/exercises/${ot.id}/get_question_type_alias.json`,{method:"get",params:ot});function ue(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${ot==null?void 0:ot.id}/teacher_update.json`,{method:"post",body:a({},ot)})})}function ne(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${ot==null?void 0:ot.id}/adjust_comment.json`,{method:"post",body:a({},ot)})})}function te(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ot.id}/edit_question_type_alias.json`,{method:"POST",body:ot})})}function ae(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ot.categoryId}/exercise_lists.json`,{method:"get",params:a({},ot)})})}function F(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ot.categoryId}/exercise_identity_photos.json`,{method:"get",params:a({},ot)})})}function M(ot){return p(this,null,function*(){return Fetch(`/api/exercises/${ot.categoryId}/video_push_url.json`,{method:"get",params:a({},ot)})})}function Q(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ot.categoryId}/query_identity_photo_state.json`,{method:"get",params:a({},ot)})})}function de(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ot.categoryId}/exercise_result.json`,{method:"get",params:a({},ot)})})}function we(ot){return p(this,null,function*(){return Fetch(`/api/exercises/${ot.categoryId}/exercise_score_area_setting.json`,{method:"post",body:a({},ot)})})}function Te(ot){return p(this,null,function*(){return(0,r.ZP)("/api/question_banks/bank_list.json",{method:"get",params:a({},ot)})})}function je(ot){return p(this,null,function*(){return(0,r.ZP)("/api/question_banks/save_banks.json",{method:"POST",body:a({},ot)})})}function Fe(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${ot.coursesId}/exercises/publish_modal.json`,{method:"get",params:a({},ot)})})}function Ft(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ot.categoryId}/common_header.json`,{method:"get",params:a({},ot)})})}function _t(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${ot.coursesId}/exercises.json`,{method:"post",body:a({},ot)})})}function Pt(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ot.exerciseId}.json`,{method:"put",body:a({},ot)})})}function qt(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ot.categoryId}.json`,{method:"get",params:a({},ot)})})}function er(ot){return p(this,null,function*(){return(0,r.ZP)("/api/tag_disciplines.json",{method:"get",params:a({},ot)})})}function Jt(ot){return p(this,null,function*(){const{id:Lr}=ot;return delete ot.id,(0,r.ZP)(`/api/exercise_questions/${Lr}.json`,{method:"put",body:a({},ot)})})}function Xe(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ot.categoryId}/exercise_questions.json`,{method:"post",body:a({},ot)})})}function It(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${ot.id}/up_down.json`,{method:"post",body:a({},ot)})})}function zt(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${ot.id}.json`,{method:"delete"})})}function st(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${ot.coursesId}/exercises/end_modal.json`,{method:"get",params:a({},ot)})})}function bt(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ot.categoryId}/publish_groups.json`,{method:"get",params:a({},ot)})})}function ht(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ot.exerciseId}/user_exercise_detail.json`,{method:"get",params:a({},ot)})})}function et(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ot.exerciseId}/consult_exercise.json`,{method:"post",body:a({},ot)})})}function Ue(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ot.exerciseId}/teacher_appraise.json`,{method:"get",params:a({},ot)})})}function ge(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${ot.id}/adjust_score.json`,{method:"post",body:a({},ot)})})}function Ce(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${ot.id}/batch_adjust_score.json`,{method:"post",body:a({},ot)})})}function Me(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ot.id}/adjust_score.json`,{method:"post",body:a({},ot)})})}function $e(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ot.id}/delayed_time.json`,{method:"post",body:a({},ot)})})}function He(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ot.categoryId}/exercise_setting.json`,{method:"get",params:a({},ot)})})}function it(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/v2/exercises/${ot.categoryId}/exercise_setting.json`,{method:"get",params:a({},ot)})})}function ct(ot){return p(this,null,function*(){return Fetch(`/api/exercises/${ot.categoryId}/commit_setting.json`,{method:"post",body:a({},ot)})})}function Vt(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ot.exerciseId}/review_exercises_by_students.json`,{method:"post",body:a({},ot)})})}function Wt(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ot.categoryId}/exercise_lists.xlsx`,{method:"get",params:x(a({},ot),{export:!0})})})}function De(ot){return(0,r.ZP)(`/api/exercises/${ot.categoryId}/user_exercise_detail.json`,{method:"get",params:x(a({},ot),{login:null})})}function Je(ot){return(0,r.ZP)(`/api/exercises/${ot.categoryId}/start.json`,{method:"get",params:a({},ot)})}function Gt(ot){return(0,r.ZP)(`/api/exercises/${ot.categoryId}/start_unlock.json`,{method:"post",body:a({},ot)})}function kt(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${ot.questionId}/exercise_answers.json`,{method:"post",body:ot})})}function Ht(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ot.categoryId}/commit_exercise.json`,{method:"post",body:ot})})}function jt(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ot.categoryId}/simulate_commit_exercise.json`,{method:"post",body:ot})})}function At(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ot.categoryId}/redo_exercise.json`,{method:"post",body:ot})})}function Yt(ot){return(0,r.ZP)(`/api/${ot.url}`,{method:"get",params:a({},ot)})}function Ge(ot){return(0,r.ZP)(`/api/problems/${ot.id}/start.json`,{method:"get",params:a({},ot)})}function fe(ot){return(0,r.ZP)(`/api/exercises/${ot.id}/begin_commit.json`,{method:"get",params:a({},ot)})}function _e(ot){return(0,r.ZP)(`/api/exercises/${ot.id}/simulate_begin_commit.json`,{method:"get",params:a({},ot)})}function Ot(ot){return(0,r.ZP)("/api/examination_intelligent_settings/optional_items.json",{method:"post",body:a({},ot)})}function Ie(ot){return console.log("params:",ot),(0,r.ZP)(`/api/exercises/${ot.categoryId}/edit.json`,{method:"get",params:a({},ot)})}function dt(ot){return(0,r.ZP)(`/api/exercises/${ot.id}/get_objective_scores.json`,{method:"get",params:a({},ot)})}function Zt(ot){return(0,r.ZP)(`/api/exercises/${ot.categoryId}/redo_modal.json`,{method:"get",params:a({},ot)})}function Ct(ot){return(0,r.ZP)(`/api/exercises/${ot.categoryId}/student_redo_lists.json`,{method:"get",params:a({},ot)})}function Oe(ot){return(0,r.ZP)("/api/exercises/get_user_exercises.json",{method:"get",params:ot})}function wt(ot){return(0,r.ZP)(`/api/exercises/${ot.id}/exercise_header.json`,{method:"get",params:a({},ot)})}function be(ot){return(0,r.ZP)(`/api/exercises/${ot.categoryId}/allow_close_camera.json`,{method:"post",body:a({},ot)})}function Ke(ot){return(0,r.ZP)(`/api/exercises/${ot.categoryId}/get_exercise_user_info.json`,{method:"get",params:a({},ot)})}function gt(ot){return(0,r.ZP)(`/api/exercises/${ot.id}/record_screen`,{method:"post",params:a({},ot)})}function Rt(ot){return(0,r.ZP)(`/api/exercises/${ot.id}/unbind_ip.json`,{method:"post",body:a({},ot)})}function Be(ot){return(0,r.ZP)(`/api/exercises/${ot.id}/check_ip.json`,{method:"get",params:a({},ot)})}function Or(ot){return(0,r.ZP)(`/api/exercises/${ot==null?void 0:ot.id}/check_user_exercise.json`,{method:"get",params:a({},ot)})}function St(ot){return Fetch(`/api/exercises/${ot.id}/make_up_students.json`,{method:"get",params:a({},ot)})}function Gr(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${ot.coursesId}/exercises/code_review_detail.json`,{method:"get",params:a({},ot)})})}function Qr(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${ot.question_id}/adjust_score.json`,{method:"post",body:a({},ot)})})}function Ar(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${ot.categoryId}/simulate_exercise.json`,{method:"post",body:a({},ot)})})}function Fr(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ot.categoryId}/simulate_start_answer.json`,{method:"get",params:a({},ot)})})}function _r(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ot.categoryId}/exercise_time.json`,{method:"get",params:a({},ot)})})}function jr(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ot.categoryId}/commit_screen_at.json`,{method:"post",body:a({},ot)})})}function an(ot,Lr){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ot}/unlock_user`,{method:"post",body:Lr})})}function un(ot,Lr){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ot}/save_screen_record.json`,{method:"post",body:Lr})})}function or(ot,Lr){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ot}/screen_record_list.json`,{method:"get",params:Lr})})}function Lt(ot){return p(this,null,function*(){return(0,r.ZP)("/api/attachments/set_ecs_attachment.json",{method:"get",params:a({},ot)})})}function vt(ot){return p(this,null,function*(){return(0,r.ZP)("/api/exercises/need_redo.json",{method:"get",params:ot})})}function yt(ot,Lr){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${ot}/mark.json`,{method:"post",body:Lr})})}function Ut(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/myshixuns/${ot}/exit_delete_pod.json`,{method:"post",body:ot})})}function Cr(ot){return p(this,null,function*(){return(0,r.ZP)("/api/users/change_exercise_score.json",{method:"put",body:ot})})}function gr(ot){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${ot==null?void 0:ot.id}/send_to_item_bank.json`,{method:"post",body:a({},ot)})})}},67508:function(d,g,e){"use strict";e.d(g,{B0:function(){return p},Si:function(){return L},Sr:function(){return D},YP:function(){return P},b4:function(){return R},bc:function(){return a},dX:function(){return S},eh:function(){return B},iI:function(){return _},kd:function(){return x},qR:function(){return b},sW:function(){return y},ts:function(){return j},vL:function(){return $},z5:function(){return K}});var r=e(99064),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(V,W,oe)=>W in V?i(V,W,{enumerable:!0,configurable:!0,writable:!0,value:oe}):V[W]=oe,h=(V,W)=>{for(var oe in W||(W={}))c.call(W,oe)&&o(V,oe,W[oe]);if(l)for(var oe of l(W))f.call(W,oe)&&o(V,oe,W[oe]);return V},u=(V,W,oe)=>new Promise((se,le)=>{var q=ue=>{try{Y(oe.next(ue))}catch(ne){le(ne)}},J=ue=>{try{Y(oe.throw(ue))}catch(ne){le(ne)}},Y=ue=>ue.done?se(ue.value):Promise.resolve(ue.value).then(q,J);Y((oe=oe.apply(V,W)).next())});function a(V){return u(this,null,function*(){return(0,r.ZP)("/api/memos.json",{method:"get",params:V})})}function x(V){return u(this,null,function*(){return(0,r.ZP)("/api/discusses/forum_discusses.json",{method:"get",params:V})})}function p(V){return u(this,null,function*(){return(0,r.ZP)(`/api/memos/${V.id}/sticky_or_cancel.json`,{method:"post",body:V})})}function y(V){return u(this,null,function*(){return(0,r.ZP)(`/api/memos/${V.id}.json`,{method:"delete",body:V})})}function _(V){return u(this,null,function*(){return(0,r.ZP)("/api/memos/new.json",{method:"get",params:V})})}function b(V){return u(this,null,function*(){return(0,r.ZP)(`/api/memos/${V.id}/edit.json`,{method:"get",params:V})})}function S(V){return u(this,null,function*(){return(0,r.ZP)("/api/memos.json",{method:"post",body:h({},V)})})}function R(V){return u(this,null,function*(){return(0,r.ZP)(`/api/memos/${V.id}.json`,{method:"put",body:h({},V)})})}function L(V){return u(this,null,function*(){return(0,r.ZP)(`/api/memos/${V.id}.json`,{method:"get",params:V})})}function P(V){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${V.user_id}/watch.json`,{method:"post",body:V})})}function D(V){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${V.user_id}/watch.json`,{method:"delete",body:h({},V)})})}function B(V){return u(this,null,function*(){return(0,r.ZP)(`/api/discusses/${V.id}/reward_code.json`,{method:"post",body:V})})}function $(V){return u(this,null,function*(){return(0,r.ZP)(`/api/discusses/${V.id}/plus.json`,{method:"post",body:V})})}function j(V){return u(this,null,function*(){return(0,r.ZP)("/api/memos/reply.json",{method:"post",body:V})})}function K(V){return u(this,null,function*(){return(0,r.ZP)(`/api/memos/${V.id}/more_reply.json`,{method:"get",params:V})})}},30534:function(d,g,e){"use strict";e.d(g,{D2:function(){return a},n0:function(){return x},tk:function(){return p}});var r=e(99064),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(y,_,b)=>_ in y?i(y,_,{enumerable:!0,configurable:!0,writable:!0,value:b}):y[_]=b,h=(y,_)=>{for(var b in _||(_={}))c.call(_,b)&&o(y,b,_[b]);if(l)for(var b of l(_))f.call(_,b)&&o(y,b,_[b]);return y},u=(y,_,b)=>new Promise((S,R)=>{var L=B=>{try{D(b.next(B))}catch($){R($)}},P=B=>{try{D(b.throw(B))}catch($){R($)}},D=B=>B.done?S(B.value):Promise.resolve(B.value).then(L,P);D((b=b.apply(y,_)).next())});function a(y){return u(this,null,function*(){return(0,r.ZP)("/api/setting.json",{method:"Get",params:h({},y)})})}function x(){return u(this,null,function*(){return(0,r.ZP)("/api/users/system_update.json",{method:"Get"})})}function p(y){return u(this,null,function*(){return(0,r.ZP)("/api/search_records",{method:"post",body:y})})}},89887:function(d,g,e){"use strict";e.d(g,{B6:function(){return p},Gr:function(){return j},Mf:function(){return D},NA:function(){return L},PC:function(){return S},PP:function(){return R},QA:function(){return x},RP:function(){return W},Sv:function(){return V},YQ:function(){return P},_n:function(){return oe},hL:function(){return $},je:function(){return b},mM:function(){return _},wA:function(){return K},x_:function(){return y},y0:function(){return B},y3:function(){return a}});var r=e(99064),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(se,le,q)=>le in se?i(se,le,{enumerable:!0,configurable:!0,writable:!0,value:q}):se[le]=q,h=(se,le)=>{for(var q in le||(le={}))c.call(le,q)&&o(se,q,le[q]);if(l)for(var q of l(le))f.call(le,q)&&o(se,q,le[q]);return se},u=(se,le,q)=>new Promise((J,Y)=>{var ue=ae=>{try{te(q.next(ae))}catch(F){Y(F)}},ne=ae=>{try{te(q.throw(ae))}catch(F){Y(F)}},te=ae=>ae.done?J(ae.value):Promise.resolve(ae.value).then(ue,ne);te((q=q.apply(se,le)).next())});function a(se){return u(this,null,function*(){return(0,r.ZP)(`/api/graduation_tasks/${se.categoryId}.json`,{method:"get",params:h({},se)})})}function x(se){return u(this,null,function*(){return(0,r.ZP)(`/api/graduation_tasks/${se.categoryId}/tasks_list.json`,{method:"get",params:h({},se)})})}function p(se){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${se.coursesId}/graduation_topics/${se.categoryId}/show_detail.json`,{method:"get",params:h({},se)})})}function y(se){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${se.coursesId}/graduation_topics/${se.categoryId}.json`,{method:"get",params:h({},se)})})}function _(se){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${se.coursesId}/graduation_topics/${se.categoryId}/refuse_student_topic.json`,{method:"post",body:h({},se)})})}function b(se){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${se.coursesId}/graduation_topics/${se.categoryId}/accept_student_topic.json`,{method:"post",body:h({},se)})})}function S(se){return u(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${se.categoryId}/show_comment.json`,{method:"get",params:h({},se)})})}function R(se){return u(this,null,function*(){return(0,r.ZP)("/api/users/reply_message.json",{method:"post",body:h({},se)})})}function L(se){return u(this,null,function*(){return(0,r.ZP)("/api/praise_tread/like.json",{method:"post",body:h({},se)})})}function P(se){return u(this,null,function*(){return(0,r.ZP)("/api/praise_tread/unlike.json",{method:"delete",body:h({},se)})})}function D(se){return u(this,null,function*(){return(0,r.ZP)("/api/commons/delete.json",{method:"delete",body:h({},se)})})}function B(se){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${se.coursesId}/graduation_topics/new.json`,{method:"get",params:h({},se)})})}function $(se){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${se.coursesId}/graduation_topics/${se.categoryId}/edit.json`,{method:"get",params:h({},se)})})}function j(se){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${se.coursesId}/graduation_topics`,{method:"post",body:h({},se)})})}function K(se){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${se.coursesId}/graduation_topics/${se.categoryId}`,{method:"put",body:h({},se)})})}function V(se){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${se.coursesId}/graduation_tasks`,{method:"post",body:h({},se)})})}function W(se){return u(this,null,function*(){return(0,r.ZP)(`/api/graduation_tasks/${se.categoryId}.json`,{method:"put",body:h({},se)})})}function oe(se){return u(this,null,function*(){return(0,r.ZP)(`/api/graduation_tasks/${se.categoryId}/edit.json`,{method:"get",params:h({},se)})})}},2742:function(d,g,e){"use strict";e.d(g,{AA:function(){return K},Db:function(){return x},Dd:function(){return b},F7:function(){return q},Fi:function(){return ae},H3:function(){return _},HF:function(){return R},HH:function(){return y},Ib:function(){return ue},J3:function(){return o},NT:function(){return l},NX:function(){return P},Ot:function(){return L},Ou:function(){return J},Ps:function(){return c},Rk:function(){return le},Tz:function(){return a},V1:function(){return ne},Wz:function(){return f},Xh:function(){return p},Xw:function(){return se},YS:function(){return W},Zd:function(){return te},bS:function(){return D},ck:function(){return S},eh:function(){return j},il:function(){return h},j7:function(){return u},jW:function(){return V},km:function(){return oe},l5:function(){return $},rU:function(){return F},xF:function(){return B},zC:function(){return Y},zT:function(){return M}});var r=e(99064),i=(Q,de,we)=>new Promise((Te,je)=>{var Fe=Pt=>{try{_t(we.next(Pt))}catch(qt){je(qt)}},Ft=Pt=>{try{_t(we.throw(Pt))}catch(qt){je(qt)}},_t=Pt=>Pt.done?Te(Pt.value):Promise.resolve(Pt.value).then(Fe,Ft);_t((we=we.apply(Q,de)).next())});function l(Q){return(0,r.ZP)("/api/schools/search.json",{method:"get",params:Q})}function c(Q){return(0,r.ZP)(`/api/schools/${Q.id}/departments/for_option.json`,{method:"get",params:Q})}function f(Q){return(0,r.ZP)("/api/graduations.json",{method:"POST",body:Q})}function o(Q){return(0,r.ZP)("/api/graduations.json",{method:"get",params:Q})}function h(Q){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${Q.identifier}/graduation_stages/${Q.stageid}/authorized_redelivery.json`,{method:"POST",body:Q})})}function u(Q){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${Q.identifier}/graduation_stages/${Q.stageid}/submit.json`,{method:"POST",body:Q})})}function a(Q){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${Q.id}/student_tasks/export_status.json`,{method:"get",params:Q})})}function x(Q){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${Q.id}/student_tasks/export_all_attachments.json`,{method:"get",params:Q})})}function p(Q){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${Q.identifier}/graduation_stages/${Q.id}.json`,{method:"get",params:Q})})}function y(Q){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${Q.id}/student_tasks/set_final_score.json`,{method:"POST",body:Q})})}function _(Q){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${Q.id}/student_tasks/final_score.json`,{method:"get",params:Q})})}function b(Q){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${Q.id}/set_novice_guide.json`,{method:"POST",body:Q})})}function S(Q){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${Q.id}/graduation_notices/${Q.doid}/set_do.json`,{method:"POST",body:Q})})}function R(Q){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${Q.id}/graduation_teachers.json`,{method:"POST",body:Q})})}function L(Q){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${Q.identifier}/graduation_students/${Q.id}/update_major.json`,{method:"PUT",body:Q})})}function P(Q){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${Q.id}/graduation_students.json`,{method:"POST",body:Q})})}function D(Q){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${Q.id}/graduation_teachers/search.json`,{method:"get",params:Q})})}function B(Q){return i(this,null,function*(){return(0,r.ZP)("/api/schools/search.json",{method:"get",params:Q})})}function $(Q){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${Q.id}/graduation_students/search.json`,{method:"get",params:Q})})}function j(Q){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${Q.id}/graduation_students.json`,{method:"get",params:Q})})}function K(Q){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${Q.id}/graduation_teachers.json`,{method:"get",params:Q})})}function V(Q){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${Q.graduation_id}/graduation_tasks.json`,{method:"POST",body:Q})})}function W(Q){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${Q.graduation_id}/graduation_tasks/${Q.id}.json`,{method:"PUT",body:Q})})}function oe(Q){return i(this,null,function*(){var de;return(0,r.ZP)(`/api/graduations/${Q.id}/graduation_tasks/${(de=Q.ids)==null?void 0:de[0]}`,{method:"DELETE",body:{ids:Q.ids}})})}function se(Q){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${Q.id}/graduation_tasks.json`,{method:"get",params:Q})})}function le(Q){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${Q.id}/graduation_notices.json`,{method:"get",params:Q})})}function q(Q){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${Q.id}.json`,{method:"get"})})}function J(Q){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${Q==null?void 0:Q.id}/common_header.json`,{method:"get"})})}function Y(Q,de){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${Q}/preview.json`,{method:"get"})})}function ue(Q,de){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${Q}/graduation_teachers/not_pass.json`,{method:"post",body:de})})}function ne(Q,de){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${Q}/graduation_teachers/pass.json`,{method:"post",body:de})})}function te(Q,de){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${Q}/graduation_students/not_pass.json`,{method:"post",body:de})})}function ae(Q,de){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${Q}/graduation_students/pass.json`,{method:"post",body:de})})}function F(Q,de){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${Q}/graduation_students/batch_delete`,{method:"delete",body:de})})}function M(Q,de){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${Q}/graduation_teachers/batch_delete`,{method:"delete",body:de})})}},1:function(d,g,e){"use strict";e.d(g,{LA:function(){return a},Rm:function(){return c},S_:function(){return x},Tt:function(){return o},cR:function(){return h},eX:function(){return l},h$:function(){return f},vm:function(){return u}});var r=e(99064),i=(p,y,_)=>new Promise((b,S)=>{var R=D=>{try{P(_.next(D))}catch(B){S(B)}},L=D=>{try{P(_.throw(D))}catch(B){S(B)}},P=D=>D.done?b(D.value):Promise.resolve(D.value).then(R,L);P((_=_.apply(p,y)).next())});const l=p=>i(void 0,null,function*(){return(0,r.ZP)("/api/home/env_detail.json",{method:"Get",params:p})}),c=p=>i(void 0,null,function*(){return(0,r.ZP)("/api/home/env_list.json",{method:"Get",params:p})}),f=p=>i(void 0,null,function*(){return(0,r.ZP)("/api/home/online_list.json",{method:"Get",params:p})});function o(){return i(this,null,function*(){return(0,r.ZP)("/api/home/index.json",{method:"Get"})})}function h(p){return i(this,null,function*(){return(0,r.ZP)("/api/courses/apply_to_join_course.json",{method:"post",body:p})})}function u(p){return i(this,null,function*(){return(0,r.ZP)("/api/project_applies.json",{method:"post",body:p})})}function a(p){return i(this,null,function*(){return(0,r.ZP)("/api/users/home_notice.json",{method:"Get"})})}function x(p){return i(this,null,function*(){return(0,r.ZP)("/api/users/view_notice.json",{method:"post",body:p})})}},10656:function(d,g,e){"use strict";e.d(g,{AD:function(){return a},Ig:function(){return x},Ko:function(){return _},QJ:function(){return b},Ub:function(){return S},V8:function(){return p},dl:function(){return R},w0:function(){return y}});var r=e(99064),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(L,P,D)=>P in L?i(L,P,{enumerable:!0,configurable:!0,writable:!0,value:D}):L[P]=D,h=(L,P)=>{for(var D in P||(P={}))c.call(P,D)&&o(L,D,P[D]);if(l)for(var D of l(P))f.call(P,D)&&o(L,D,P[D]);return L},u=(L,P,D)=>new Promise((B,$)=>{var j=W=>{try{V(D.next(W))}catch(oe){$(oe)}},K=W=>{try{V(D.throw(W))}catch(oe){$(oe)}},V=W=>W.done?B(W.value):Promise.resolve(W.value).then(j,K);V((D=D.apply(L,P)).next())});function a(L){return u(this,null,function*(){return(0,r.ZP)("/api/users/tidings.json",{method:"get",params:h({},L)})})}function x(L){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${L.userId}/unread_message_info.json`,{method:"get",params:h({},L)})})}function p(L){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${L.userId}/private_messages.json`,{method:"get",params:h({},L)})})}function y(L){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${L.userId}/private_messages.json`,{method:"post",body:h({},L)})})}function _(L){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${L.id}/recent_contacts.json`,{method:"get",params:h({},L)})})}function b(L){return u(this,null,function*(){return(0,r.ZP)("/api/users_for_private_messages.json",{method:"get",params:h({},L)})})}function S(L){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${L.userId}/private_message_details.json`,{method:"get",params:h({},L)})})}function R(L){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${L.userId}/private_messages/${L.id}.json`,{method:"delete"})})}},34640:function(d,g,e){"use strict";e.d(g,{A2:function(){return b},CI:function(){return p},Ep:function(){return _},Ex:function(){return B},R7:function(){return a},WW:function(){return $},_V:function(){return D},ms:function(){return L},s0:function(){return S},vf:function(){return y},xn:function(){return x},yy:function(){return P}});var r=e(99064),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(j,K,V)=>K in j?i(j,K,{enumerable:!0,configurable:!0,writable:!0,value:V}):j[K]=V,h=(j,K)=>{for(var V in K||(K={}))c.call(K,V)&&o(j,V,K[V]);if(l)for(var V of l(K))f.call(K,V)&&o(j,V,K[V]);return j},u=(j,K,V)=>new Promise((W,oe)=>{var se=J=>{try{q(V.next(J))}catch(Y){oe(Y)}},le=J=>{try{q(V.throw(J))}catch(Y){oe(Y)}},q=J=>J.done?W(J.value):Promise.resolve(J.value).then(se,le);q((V=V.apply(j,K)).next())});function a(j){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${j.coursesId}/online_learning.json`,{method:"get"})})}function x(j){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${j.id}.json`,{method:"put",body:j})})}function p(j){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${j.coursesId}/course_stages.json`,{method:"post",body:j})})}function y(j){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${j.id}/add_shixun_to_stage.json`,{method:"post",body:j})})}function _(j){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${j.id}/select_shixun_to_stage.json`,{method:"post",body:j})})}function b(j){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${j.id}/add_video_to_stage.json`,{method:"post",body:j})})}function S(j){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${j.id}/add_attachment_to_stage.json`,{method:"post",body:j})})}function R(j){return u(this,null,function*(){return Fetch("/api/paths/add_shixun_to_stage.json",{method:"post",body:j})})}function L(j){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${j.id}/up_position.json`,{method:"post"})})}function P(j){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${j.id}/down_position.json`,{method:"post"})})}function D(j){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${j.id}.json`,{method:"delete"})})}function B(j){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${j.stage_id}/items/move_position.json`,{method:"post",body:h({},j)})})}function $(j){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${j.stage_id}/items/${j.id}`,{method:"delete"})})}},80401:function(d,g,e){"use strict";e.d(g,{DF:function(){return b},Di:function(){return ne},Dm:function(){return le},Dq:function(){return we},Gd:function(){return _},Hb:function(){return Te},Hm:function(){return W},ID:function(){return u},JP:function(){return de},NC:function(){return K},Pl:function(){return S},Qc:function(){return c},Qp:function(){return q},RK:function(){return x},YP:function(){return V},a2:function(){return o},ar:function(){return y},cV:function(){return a},d1:function(){return p},dp:function(){return l},fn:function(){return R},iT:function(){return B},jK:function(){return se},kF:function(){return je},kp:function(){return D},lc:function(){return P},oF:function(){return ae},q$:function(){return h},qN:function(){return oe},tS:function(){return L},ts:function(){return $},un:function(){return Y},w0:function(){return ue},wX:function(){return J},yE:function(){return f}});var r=e(99064),i=(Fe,Ft,_t)=>new Promise((Pt,qt)=>{var er=It=>{try{Xe(_t.next(It))}catch(zt){qt(zt)}},Jt=It=>{try{Xe(_t.throw(It))}catch(zt){qt(zt)}},Xe=It=>It.done?Pt(It.value):Promise.resolve(It.value).then(er,Jt);Xe((_t=_t.apply(Fe,Ft)).next())});const l=Fe=>(0,r.ZP)(`/api/examination_banks/${Fe==null?void 0:Fe.id}/code_check.json`,{method:"get",params:Fe}),c=Fe=>(0,r.ZP)(`/api/examination_banks/${Fe.id}/reset_pwd.json`,{method:"post",body:Fe}),f=Fe=>(0,r.ZP)(`/api/examination_banks/${Fe.id}/encrypt_or_decrypt.json`,{method:"post",body:Fe}),o=Fe=>(0,r.ZP)("/api/examination_banks/exist_course.json",{method:"post",body:Fe}),h=Fe=>(0,r.ZP)("/api/examination_banks/check_examination_banks.json",{method:"post",body:Fe}),u=Fe=>(0,r.ZP)(`/api/examination_banks/${Fe.id}/copy.json`,{method:"post",body:Fe}),a=Fe=>(0,r.ZP)(`/api/examination_banks/${Fe.id}/get_question_type_alias.json`,{method:"get",params:Fe});function x(Fe){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Fe.id}/edit_question_type_alias.json`,{method:"POST",body:Fe})})}function p(Fe){return i(this,null,function*(){return(0,r.ZP)("/api/disciplines.json",{method:"get",params:Fe})})}function y(Fe){return i(this,null,function*(){return(0,r.ZP)("/api/disciplines/by_examination_banks.json",{method:"get",params:Fe})})}function _(Fe){return i(this,null,function*(){return(0,r.ZP)("/api/examination_banks.json",{method:"get",params:Fe})})}function b(Fe){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Fe.id}/set_public.json`,{method:"post"})})}function S(Fe){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Fe.id}/set_private.json`,{method:"post"})})}function R(Fe){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Fe.id}.json`,{method:"delete"})})}function L(Fe){return i(this,null,function*(){return(0,r.ZP)("/api/question_banks/my_courses.json",{method:"get",params:Fe})})}const P=Fe=>(0,r.ZP)("/api/examination_banks/batch_send_to_course.json",{method:"post",body:Fe});function D(Fe){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Fe.id}/send_to_course.json`,{method:"post",body:Fe})})}function B(Fe){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Fe.id}.json`,{method:"get",params:Fe})})}function $(Fe){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Fe.id}/examination_banks_item_banks/${Fe.itemId}/set_score`,{method:"post",body:Fe})})}function j(Fe){return i(this,null,function*(){return Fetch(`/api/examination_banks/${Fe.id}/examination_banks_item_banks/${Fe.itemId}/set_shixun_score.json`,{method:"post",body:Fe})})}function K(Fe){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Fe.id}/examination_banks_item_banks/${Fe.itemId}.json`,{method:"delete"})})}function V(Fe){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Fe.id}/examination_banks_item_banks/batch_set_score.json`,{method:"post",body:Fe})})}function W(Fe){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Fe.id}/examination_banks_item_banks/destroy_by_item_type.json`,{method:"delete",body:Fe})})}function oe(Fe){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Fe.id}/examination_banks_item_banks/${Fe.itemId}/adjust_position.json`,{method:"post",body:Fe})})}function se(Fe){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Fe.id}.json`,{method:"put",body:Fe})})}function le(Fe){return i(this,null,function*(){return(0,r.ZP)("/api/teach_group_shares.json",{method:"get",params:Fe})})}function q(Fe){return i(this,null,function*(){return(0,r.ZP)("/api/examination_banks/set_batch_public.json",{method:"post",body:Fe})})}function J(Fe){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Fe==null?void 0:Fe.id}/set_public.json`,{method:"post",body:Fe})})}function Y(Fe){return i(this,null,function*(){return(0,r.ZP)("/api/examination_banks/create_exam.json",{method:"post",body:Fe})})}function ue(Fe){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Fe.id}/update_exam.json`,{method:"put",body:Fe})})}function ne(Fe){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Fe.id}/edit_exam.json`,{method:"get"})})}function te(Fe,Ft){return i(this,null,function*(){return Fetch(`/api/examination_banks/${Fe}/examination_banks_item_banks.json`,{method:"post",body:Ft})})}function ae(Fe){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Fe.id}/examination_banks_item_banks/create_item_bank.json`,{method:"post",body:Fe})})}function F(Fe,Ft){return i(this,null,function*(){return Fetch(`/api/examination_banks/${Fe}/sort_question_type.json`,{method:"post",body:Ft})})}function M(Fe){return i(this,null,function*(){return Fetch(`/api/examination_banks/${Fe.exam_id}/examination_banks_item_banks/${Fe.question_id}.json`,{method:"delete"})})}function Q(Fe,Ft){return i(this,null,function*(){return Fetch(`/api/examination_banks/${Fe}/batch_set_score.json`,{method:"post",body:Ft})})}function de(Fe){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Fe}/simulate_exercise.json`,{method:"post"})})}function we(Fe){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Fe}/exercise_header.json`,{method:"get"})})}function Te(Fe,Ft,_t){return i(this,null,function*(){const Pt=new FormData;return Pt.append("file",Ft),Pt.append("sub_discipline_id",_t),(0,r.ZP)(`/api/examination_banks/${Fe}/import_item_banks.json`,{method:"post",body:Pt},!0)})}function je(Fe){return i(this,null,function*(){return(0,r.ZP)("/api/users/change_exam_score.json",{method:"put",body:Fe})})}},86248:function(d,g,e){"use strict";e.d(g,{$D:function(){return q},A2:function(){return ge},A7:function(){return Zt},AQ:function(){return j},Ax:function(){return De},Bn:function(){return wt},CI:function(){return He},DQ:function(){return _e},DU:function(){return zt},EP:function(){return le},Ep:function(){return Ue},Er:function(){return Q},Ex:function(){return kt},FD:function(){return Ot},F_:function(){return It},Fg:function(){return x},GY:function(){return Yt},Go:function(){return ae},Gz:function(){return p},Hl:function(){return y},JS:function(){return _t},KM:function(){return ue},M2:function(){return Me},MO:function(){return de},Mt:function(){return $e},Mu:function(){return Je},NV:function(){return Oe},Q:function(){return we},Sp:function(){return $},VO:function(){return Ie},WD:function(){return At},WO:function(){return M},WW:function(){return Ht},_C:function(){return Ct},_V:function(){return Wt},bw:function(){return se},bz:function(){return fe},c3:function(){return Ft},eJ:function(){return te},ef:function(){return Xe},fh:function(){return R},fj:function(){return F},hS:function(){return _},jT:function(){return dt},ke:function(){return jt},lk:function(){return B},mQ:function(){return D},ms:function(){return ct},mx:function(){return je},nq:function(){return a},ol:function(){return Ge},p:function(){return V},p4:function(){return Te},pU:function(){return P},rS:function(){return Pt},rs:function(){return ne},s0:function(){return Ce},sm:function(){return Fe},tS:function(){return b},tu:function(){return L},ue:function(){return K},vf:function(){return ht},w4:function(){return W},xG:function(){return et},xn:function(){return bt},yN:function(){return oe},yy:function(){return Vt}});var r=e(99064),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(be,Ke,gt)=>Ke in be?i(be,Ke,{enumerable:!0,configurable:!0,writable:!0,value:gt}):be[Ke]=gt,h=(be,Ke)=>{for(var gt in Ke||(Ke={}))c.call(Ke,gt)&&o(be,gt,Ke[gt]);if(l)for(var gt of l(Ke))f.call(Ke,gt)&&o(be,gt,Ke[gt]);return be},u=(be,Ke,gt)=>new Promise((Rt,Be)=>{var Or=Qr=>{try{Gr(gt.next(Qr))}catch(Ar){Be(Ar)}},St=Qr=>{try{Gr(gt.throw(Qr))}catch(Ar){Be(Ar)}},Gr=Qr=>Qr.done?Rt(Qr.value):Promise.resolve(Qr.value).then(Or,St);Gr((gt=gt.apply(be,Ke)).next())});const a=be=>u(void 0,null,function*(){return(0,r.ZP)("/api/subject_statistics/subject_use_infos.json",{method:"Get",params:be})}),x=be=>u(void 0,null,function*(){return(0,r.ZP)("/api/subject_statistics/rank_list.json",{method:"Get",params:be})}),p=be=>u(void 0,null,function*(){return(0,r.ZP)("/api/subject_statistics/statistics_body.json",{method:"Get",params:be})}),y=be=>u(void 0,null,function*(){return(0,r.ZP)("/api/subject_statistics/statistics_header.json",{method:"Get",params:be})}),_=be=>u(void 0,null,function*(){return(0,r.ZP)("/api/subject_statistics/online_count.json",{method:"Get",params:be})});function b(be){return u(this,null,function*(){return(0,r.ZP)("/api/paths.json",{method:"Get",params:h({},be)})})}function S(be){return u(this,null,function*(){return Fetch("/api/intelligent_recommendations/subject_lists.json",{method:"Get",params:h({},be)})})}function R(be){return u(this,null,function*(){return(0,r.ZP)("/api/disciplines.json",{method:"Get",params:h({},be)})})}function L(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}.json`,{method:"PUT",body:be})})}function P(be){return u(this,null,function*(){return(0,r.ZP)("/api/paths.json",{method:"post",body:be})})}function D(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}/edit.json`,{method:"get"})})}function B(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}.json`,{method:"get",params:h({identifier:be.id},be)})})}function $(be){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${be.id}.json`,{method:"get",params:h({identifier:be.id},be)})})}function j(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}/right_banner.json`,{method:"get",params:be})})}function K(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}/spoc_courses.json`,{method:"get",params:be})})}const V=be=>u(void 0,null,function*(){return(0,r.ZP)("/api/v2/stages.json",{method:"Get",params:be})}),W=be=>u(void 0,null,function*(){return(0,r.ZP)(`/api/v2/stage_shixuns/${be.id}/children.json`,{method:"Get",params:be})});function oe(be){return u(this,null,function*(){return(0,r.ZP)("/api/stages.json",{method:"get",params:be})})}function se(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}/update_team_title.json`,{method:"post",body:be})})}function le(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}/delete_member.json`,{method:"Delete",body:be})})}function q(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}/spoc_courses/${be==null?void 0:be.courseid}.json`,{method:"Delete"})})}function J(be){return u(this,null,function*(){return Fetch(`/api/paths/${be.id}/up_member_position.json`,{method:"post",body:be})})}function Y(be){return u(this,null,function*(){return Fetch(`/api/paths/${be.id}/down_member_position.json`,{method:"post",body:be})})}function ue(be){return u(this,null,function*(){return(0,r.ZP)("/api/collections.json",{method:"post",body:be})})}function ne(be){return u(this,null,function*(){return(0,r.ZP)("/api/collections/cancel.json",{method:"Delete",body:be})})}function te(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}.json`,{method:"Delete",body:be})})}function ae(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}/publish.json`,{method:"post",body:be})})}function F(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}/cancel_publish.json`,{method:"post",body:be})})}function M(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}/apply_public.json`,{method:"post",body:be})})}function Q(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}/cancel_public.json`,{method:"post",body:be})})}function de(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}/choose_course.json`,{method:"get",params:be})})}function we(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}/send_to_course.json`,{method:"post",body:be})})}function Te(be){return u(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${be.id}/send_to_course.json`,{method:"post",body:be})})}function je(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}/add_subject_members.json`,{method:"post",body:be})})}function Fe(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}/spoc_courses.json`,{method:"post",body:be})})}function Ft(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}/appointment.json`,{method:"post",body:be})})}function _t(be){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${be.id}/join_excellent_course.json`,{method:"post",body:be})})}function Pt(be){return u(this,null,function*(){return(0,r.ZP)("/api/watch_attachment_histories.json",{method:"post",body:be})})}function qt(be){return u(this,null,function*(){return Fetch(`/api/paths/${be.id}/statistics_info.json`,{method:"get",params:be})})}function er(be){return u(this,null,function*(){return Fetch(`/api/paths/${be.id}/shixun_analyze.json`,{method:"get",params:be})})}function Jt(be){return u(this,null,function*(){return Fetch(`/api/paths/${be.id}/learning_analyze.json`,{method:"get",params:be})})}function Xe(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}/learning_statistics.json`,{method:"get",params:be})})}function It(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}/shixun_statistics.json`,{method:"get",params:be})})}function zt(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}/study_analyze/${be.type}.json`,{method:"get",params:be})})}function st(be){return u(this,null,function*(){return Fetch("/api/paths/append_to_stage.json",{method:"post",body:be})})}function bt(be){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${be.id}.json`,{method:"put",body:be})})}function ht(be){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${be.id}/add_shixun_to_stage.json`,{method:"post",body:be})})}const et=be=>u(void 0,null,function*(){return(0,r.ZP)(`/api/stages/${be==null?void 0:be.stage_id}/select_challenge_to_stage.json`,{method:"post",body:be})});function Ue(be){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${be.id}/select_shixun_to_stage.json`,{method:"post",body:be})})}function ge(be){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${be.id}/add_video_to_stage.json`,{method:"post",body:be})})}function Ce(be){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${be.id}/add_attachment_to_stage.json`,{method:"post",body:be})})}function Me(be){return u(this,null,function*(){return(0,r.ZP)(`/api/stage_shixuns/${be.id}.json`,{method:"put",body:be})})}function $e(be){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${be.id}/add_blank_to_stage.json`,{method:"post",body:be})})}function He(be){return u(this,null,function*(){return(0,r.ZP)("/api/stages.json",{method:"post",body:be})})}function it(be){return u(this,null,function*(){return Fetch("/api/paths/add_shixun_to_stage.json",{method:"post",body:be})})}function ct(be){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${be.id}/up_position.json`,{method:"get"})})}function Vt(be){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${be.id}/down_position.json`,{method:"get"})})}function Wt(be){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${be.id}.json`,{method:"delete"})})}function De(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.pathId}/discusses.json`,{method:"get",params:h({},be)})})}function Je(be){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${be.coursesId}/excellent_discusses.json`,{method:"get",params:h({},be)})})}function Gt(be){return u(this,null,function*(){return Fetch("/api/discusses.json",{method:"post",body:h({},be)})})}function kt(be){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${be.stage_id}/items/move_position`,{method:"post",body:h({},be)})})}function Ht(be){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${be.stage_id}/items/${be.id}`,{method:"delete"})})}function jt(be){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${be.id}/excellent_discuss`,{method:"post",body:h({},be)})})}function At(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}/post_discuss`,{method:"post",body:h({},be)})})}function Yt(be){return u(this,null,function*(){return(0,r.ZP)("/api/schools/for_option.json",{method:"get",params:be})})}function Ge(be){return u(this,null,function*(){return(0,r.ZP)("/api/schools/province_data.json",{method:"get",params:be})})}function fe(be){return u(this,null,function*(){return(0,r.ZP)("/api/add_school_applies.json",{method:"post",body:be})})}function _e(be){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${be==null?void 0:be.id}/add_homework_to_stage.json`,{method:"post",body:be})})}function Ot(be){return u(this,null,function*(){return(0,r.ZP)(`/api/stage_shixuns/${be==null?void 0:be.id}/edit.json`,{method:"get",params:be})})}function Ie(be){return u(this,null,function*(){return(0,r.ZP)(`/api/stage_shixuns/${be==null?void 0:be.id}.json`,{method:"put",body:be})})}function dt(be){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${be==null?void 0:be.user_id}/subjects/subject_homework.json`,{method:"get",params:be})})}function Zt(be){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${be==null?void 0:be.user_id}/courses/course_homework.json`,{method:"get",params:be})})}function Ct(be){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${be==null?void 0:be.id}/batch_add_homework_to_stage.json`,{method:"post",body:be})})}function Oe(be){return u(this,null,function*(){return(0,r.ZP)("/api/paths/get_homework_detail.json",{method:"get",params:be})})}function wt(be){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${be==null?void 0:be.user_login}/subjects/cancel.json`,{method:"get",params:be})})}},31417:function(d,g,e){"use strict";e.d(g,{Fd:function(){return ue},Hi:function(){return y},IU:function(){return K},KE:function(){return b},Kc:function(){return te},MK:function(){return V},Q9:function(){return D},Qg:function(){return j},Qn:function(){return R},UK:function(){return p},W:function(){return F},Ye:function(){return $},_c:function(){return a},hO:function(){return le},iV:function(){return ae},jy:function(){return W},kp:function(){return se},lf:function(){return P},m7:function(){return _},n$:function(){return L},rJ:function(){return B},s3:function(){return x},ux:function(){return S},vf:function(){return Y},wh:function(){return oe},wo:function(){return ne},x$:function(){return J}});var r=e(99064),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(M,Q,de)=>Q in M?i(M,Q,{enumerable:!0,configurable:!0,writable:!0,value:de}):M[Q]=de,h=(M,Q)=>{for(var de in Q||(Q={}))c.call(Q,de)&&o(M,de,Q[de]);if(l)for(var de of l(Q))f.call(Q,de)&&o(M,de,Q[de]);return M},u=(M,Q,de)=>new Promise((we,Te)=>{var je=_t=>{try{Ft(de.next(_t))}catch(Pt){Te(Pt)}},Fe=_t=>{try{Ft(de.throw(_t))}catch(Pt){Te(Pt)}},Ft=_t=>_t.done?we(_t.value):Promise.resolve(_t.value).then(je,Fe);Ft((de=de.apply(M,Q)).next())});const a=M=>u(void 0,null,function*(){return(0,r.ZP)(`/api/poll_questions/${M==null?void 0:M.id}/commit_word_cloud.json`,{method:"Get",params:M})});function x(M){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${M.categoryId}/poll_lists.json`,{method:"get",params:h({},M)})})}function p(M){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${M.categoryId}/common_header.json`,{method:"get"})})}function y(M){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${M.categoryId}/poll_setting.json`,{method:"get"})})}function _(M){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${M.categoryId}/commit_setting.json`,{method:"post",body:h({},M)})})}function b(M){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${M.coursesId}/polls/end_poll_modal.json`,{method:"get",params:h({},M)})})}function S(M){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${M.categoryId}/publish_groups.json`,{method:"get",params:h({},M)})})}function R(M){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${M.categoryId}/commit_result.json`,{method:"get",params:h({},M)})})}function L(M){return u(this,null,function*(){return(0,r.ZP)("/api/question_banks/bank_list.json",{method:"get",params:h({},M)})})}function P(M){return u(this,null,function*(){return(0,r.ZP)("/api/question_banks/save_banks.json",{method:"POST",body:h({},M)})})}function D(M){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${M.coursesId}/polls/publish_modal.json`,{method:"get",params:h({},M)})})}function B(M){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${M.coursesId}/polls.json`,{method:"POST",body:h({},M)})})}function $(M){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${M.categoryId}/edit.json`,{method:"get"})})}function j(M){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${M.pollsId}.json`,{method:"put",body:h({},M)})})}function K(M){return u(this,null,function*(){return(0,r.ZP)(`/api/poll_questions/${M.pollsId}.json`,{method:"put",body:h({},M)})})}function V(M){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${M.pollsId}/poll_questions.json`,{method:"post",body:h({},M)})})}function W(M){return u(this,null,function*(){return(0,r.ZP)(`/api/poll_questions/${M.pollsId}.json`,{method:"delete",body:h({},M)})})}function oe(M){return u(this,null,function*(){return(0,r.ZP)(`/api/poll_questions/${M.pollsId}/up_down.json`,{method:"post",body:h({},M)})})}function se(M){return u(this,null,function*(){return(0,r.ZP)(`/api/exercise_banks/${M.topicId}.json`,{method:"get"})})}function le(M){return u(this,null,function*(){return(0,r.ZP)(`/api/exercise_banks/${M.topicId}.json`,{method:"put",body:h({},M)})})}function q(M){return u(this,null,function*(){return Fetch(`/api/exercise_banks/${M.topicId}.json`,{method:"put",body:h({},M)})})}function J(M){return u(this,null,function*(){return(0,r.ZP)(`/api/exercise_bank_questions/${M.pollsId}.json`,{method:"delete",body:h({},M)})})}function Y(M){return u(this,null,function*(){return(0,r.ZP)(`/api/poll_questions/${M.pollsId}/up_down.json`,{method:"post",body:h({},M)})})}function ue(M){return u(this,null,function*(){return(0,r.ZP)("/api/poll_bank_questions.json",{method:"post",body:h({},M)})})}function ne(M){return u(this,null,function*(){return(0,r.ZP)(`/api/poll_bank_questions/${M.pollsId}.json`,{method:"put",body:h({},M)})})}function te(M){return u(this,null,function*(){return(0,r.ZP)(`/api/exercise_bank_questions/${M.id}.json`,{method:"put",body:h({},M)})})}function ae(M){return u(this,null,function*(){return(0,r.ZP)("/api/exercise_bank_questions.json",{method:"post",body:h({},M)})})}function F(M){return u(this,null,function*(){return(0,r.ZP)(`/api/exercise_bank_questions/${M.exerciseId}/up_down.json`,{method:"post",body:h({},M)})})}},16149:function(d,g,e){"use strict";e.d(g,{$c:function(){return it},A1:function(){return $e},Bd:function(){return D},Bo:function(){return q},Cc:function(){return ue},Cn:function(){return ae},DF:function(){return L},Dm:function(){return Xe},FG:function(){return le},GW:function(){return It},HF:function(){return V},Hm:function(){return M},IJ:function(){return Me},L5:function(){return Jt},LS:function(){return st},MZ:function(){return ge},Mr:function(){return se},NZ:function(){return Ft},Of:function(){return S},Pl:function(){return R},Qj:function(){return _},Qp:function(){return ht},RT:function(){return De},Rp:function(){return bt},U6:function(){return W},Vl:function(){return ne},Wk:function(){return oe},YP:function(){return F},Ys:function(){return $},al:function(){return B},bF:function(){return ct},d1:function(){return y},dt:function(){return Vt},et:function(){return de},ex:function(){return b},fY:function(){return we},fn:function(){return P},hI:function(){return _t},hg:function(){return Ue},iT:function(){return J},lS:function(){return Fe},nD:function(){return zt},qN:function(){return Q},rV:function(){return j},s:function(){return je},sD:function(){return Ce},sS:function(){return er},ts:function(){return Y},vi:function(){return He},wX:function(){return et},x5:function(){return K},zh:function(){return Te}});var r=e(99064),i=Object.defineProperty,l=Object.defineProperties,c=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,u=(Je,Gt,kt)=>Gt in Je?i(Je,Gt,{enumerable:!0,configurable:!0,writable:!0,value:kt}):Je[Gt]=kt,a=(Je,Gt)=>{for(var kt in Gt||(Gt={}))o.call(Gt,kt)&&u(Je,kt,Gt[kt]);if(f)for(var kt of f(Gt))h.call(Gt,kt)&&u(Je,kt,Gt[kt]);return Je},x=(Je,Gt)=>l(Je,c(Gt)),p=(Je,Gt,kt)=>new Promise((Ht,jt)=>{var At=fe=>{try{Ge(kt.next(fe))}catch(_e){jt(_e)}},Yt=fe=>{try{Ge(kt.throw(fe))}catch(_e){jt(_e)}},Ge=fe=>fe.done?Ht(fe.value):Promise.resolve(fe.value).then(At,Yt);Ge((kt=kt.apply(Je,Gt)).next())});function y(Je){return p(this,null,function*(){return(0,r.ZP)("/api/disciplines.json",{method:"get",params:x(a({},Je),{clazz:"ItemBanksGroup"})})})}function _(Je){return p(this,null,function*(){return(0,r.ZP)("/api/item_baskets/basket_list.json",{method:"get",params:Je})})}function b(Je){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks_groups/for_problemset.json",{method:"post",body:Je})})}function S(Je){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks/list.json",{method:"post",body:Je})})}function R(Je){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${Je.id}/set_private.json`,{method:"post"})})}function L(Je){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${Je.id}/set_public.json`,{method:"post"})})}function P(Je){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${Je.id}.json`,{method:"delete"})})}function D(Je){return p(this,null,function*(){return(0,r.ZP)(`/api/problems/${Je.id}/start.json`,{method:"get"})})}function B(Je){return p(this,null,function*(){return(0,r.ZP)(`/api/item_baskets/${Je.id}.json`,{method:"delete",body:a({},Je)})})}function $(Je){return p(this,null,function*(){return(0,r.ZP)("/api/item_baskets.json",{method:"post",body:Je})})}function j(Je){return p(this,null,function*(){return(0,r.ZP)("/api/examination_banks/cancel_items.json",{method:"post",body:Je})})}function K(Je){return p(this,null,function*(){return(0,r.ZP)("/api/item_baskets/delete_item_type.json",{method:"delete",body:{item_type:Je.type}})})}function V(Je){return p(this,null,function*(){return(0,r.ZP)("/api/examination_banks/cancel_items.json",{method:"post",body:Je})})}function W(Je){return p(this,null,function*(){return(0,r.ZP)("/api/tag_disciplines.json",{method:"post",body:Je})})}function oe(Je){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${Je.id}.json`,{method:"put",body:Je})})}function se(Je){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks.json",{method:"post",body:Je})})}function le(Je){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${Je.id}/edit.json`,{method:"get"})})}function q(Je){return p(this,null,function*(){return(0,r.ZP)(`/api/problems/${Je.id}/edit.json`,{method:"get"})})}function J(Je){return p(this,null,function*(){return(0,r.ZP)("/api/item_baskets.json",{method:"get",params:Je})})}function Y(Je){return p(this,null,function*(){return(0,r.ZP)(`/api/item_baskets/${Je.id}/set_score.json`,{method:"post",body:Je})})}function ue(Je){return p(this,null,function*(){return(0,r.ZP)(`/api/item_baskets/${Je.id}/set_challenge_score.json`,{method:"post",body:Je})})}function ne(Je){return p(this,null,function*(){return(0,r.ZP)(`/api/item_baskets/${Je.id}/combination_set_score.json`,{method:"post",body:Je})})}function te(Je){return p(this,null,function*(){return Fetch(`/api/examination_banks//${Je.exerid}/examination_banks_item_banks/${Je.id}/combination_set_score.json`,{method:"post",body:Je})})}function ae(Je){return p(this,null,function*(){return(0,r.ZP)(`/api/item_baskets/${Je.id}.json`,{method:"delete"})})}function F(Je){return p(this,null,function*(){return(0,r.ZP)("/api/item_baskets/batch_set_score.json",{method:"post",body:Je})})}function M(Je){return p(this,null,function*(){return(0,r.ZP)("/api/item_baskets/delete_item_type.json",{method:"delete",body:Je})})}function Q(Je){return p(this,null,function*(){return(0,r.ZP)(`/api/item_baskets/${Je.id}/adjust_position.json`,{method:"post",body:Je})})}function de(Je){return p(this,null,function*(){return(0,r.ZP)("/api/examination_banks.json",{method:"post",body:Je})})}function we(Je){return p(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Je.id}/revoke_item.json`,{method:"delete",body:Je})})}function Te(Je){return p(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Je.exam_id}/examination_banks_item_banks.json`,{method:"post",body:Je})})}function je(Je){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${Je.id}/join_to_collection.json`,{method:"post",params:Je})})}function Fe(Je){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${Je.id}/cancel_collection.json`,{method:"post",params:Je})})}function Ft(Je){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks_groups.json",{method:"get",params:Je})})}function _t(Je){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks_groups/mine.json",{method:"get",params:Je})})}function Pt(Je){return p(this,null,function*(){return Fetch(`/api/item_banks/${Je.id}/join_to_group.json`,{method:"post",body:Je})})}function qt(Je){return p(this,null,function*(){return Fetch(`/api/item_banks_groups/${Je.id}.json`,{method:"put",body:Je})})}function er(Je){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks_groups.json",{method:"post",body:Je})})}function Jt(Je){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${Je.id}/feedback.json`,{method:"post",body:Je})})}function Xe(Je){return p(this,null,function*(){return(0,r.ZP)("/api/teach_group_shares.json",{method:"get",params:Je})})}function It(Je){return p(this,null,function*(){return(0,r.ZP)("/api/teach_group_shares.json",{method:"post",body:Je})})}function zt(Je){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks/batch_delete.json",{method:"post",body:Je})})}function st(Je){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks/batch_to_group.json",{method:"post",body:Je})})}function bt(Je){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks/add_to_mine.json",{method:"post",body:Je})})}function ht(Je){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks/set_batch_public.json",{method:"post",body:Je})})}function et(Je){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${Je==null?void 0:Je.id}/set_public.json`,{method:"post",body:Je})})}function Ue(Je){return p(this,null,function*(){return(0,r.ZP)("/api/teach_group_shares/show_groups.json",{method:"get",params:Je})})}function ge(Je){return(0,r.ZP)(`/api/problems/${Je.identifier}/publish.json`,{method:"post",body:Je})}function Ce(Je){return(0,r.ZP)(`/api/problems/${Je.identifier}/cancel_publish.json`,{method:"post",body:Je})}function Me(Je){return(0,r.ZP)("/api/item_banks/cancel_public.json",{method:"post",body:{ids:[...Je.id]}})}function $e(Je){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks_groups/${Je.id}/up_position.json`,{method:"get",params:Je})})}function He(Je){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks_groups/${Je.id}/down_position.json`,{method:"get",params:Je})})}function it(Je){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Je.id}/edit_hack.json`,{method:"get",params:Je})})}function ct(Je){return p(this,null,function*(){return(0,r.ZP)("/api/problems/batch_publish_condition.json",{method:"post",body:Je})})}function Vt(Je){return p(this,null,function*(){return(0,r.ZP)("/api/problems/batch_publish.json",{method:"post",body:Je})})}function Wt(Je){return p(this,null,function*(){return Fetch("/api/item_banks/get_groups.json",{method:"get",params:Je})})}function De(){return p(this,null,function*(){return(0,r.ZP)("/api/item_baskets/delete_all_items.json",{method:"delete"})})}},52403:function(d,g,e){"use strict";e.d(g,{E1:function(){return f},Go:function(){return l},H5:function(){return c}});var r=e(99064),i=(o,h,u)=>new Promise((a,x)=>{var p=b=>{try{_(u.next(b))}catch(S){x(S)}},y=b=>{try{_(u.throw(b))}catch(S){x(S)}},_=b=>b.done?a(b.value):Promise.resolve(b.value).then(p,y);_((u=u.apply(o,h)).next())});function l(o){return i(this,null,function*(){return(0,r.ZP)("/api/restfuls.json",{method:"get",params:o})})}function c(o){return i(this,null,function*(){return(0,r.ZP)(`/api/restfuls/${o.id}.json`,{method:"get",params:o})})}function f(o){return i(this,null,function*(){return(0,r.ZP)(`/api/restfuls/${o.id}.json`,{method:"delete",params:o})})}},36708:function(d,g,e){"use strict";e.d(g,{Am:function(){return _},Ar:function(){return Xe},BD:function(){return He},Be:function(){return et},Dx:function(){return ne},Fr:function(){return _e},G$:function(){return R},GS:function(){return W},Gw:function(){return S},H:function(){return er},H1:function(){return Jt},Hj:function(){return ct},JA:function(){return Wt},JG:function(){return ue},KE:function(){return F},Lz:function(){return Me},Mf:function(){return qt},NA:function(){return _t},PC:function(){return Fe},PP:function(){return Ft},PW:function(){return st},Q3:function(){return te},QC:function(){return De},Qt:function(){return $e},Qz:function(){return D},R$:function(){return Ge},RP:function(){return le},Ti:function(){return Ct},Uc:function(){return Ht},Ul:function(){return J},VB:function(){return dt},Vs:function(){return jt},Wr:function(){return L},Xn:function(){return q},YQ:function(){return Pt},Yn:function(){return b},Z8:function(){return K},ak:function(){return zt},cN:function(){return $},co:function(){return Ue},cz:function(){return Te},fK:function(){return V},gG:function(){return je},gZ:function(){return kt},h$:function(){return j},ku:function(){return Ce},lf:function(){return Q},m7:function(){return Y},mQ:function(){return B},mz:function(){return ht},n$:function(){return M},oK:function(){return y},oN:function(){return Zt},pH:function(){return it},pb:function(){return Ie},qP:function(){return Je},ql:function(){return Gt},rN:function(){return ge},sw:function(){return de},t1:function(){return we},to:function(){return se},ub:function(){return Vt},ux:function(){return ae},wS:function(){return Ot},wT:function(){return P},yT:function(){return It},yy:function(){return At},z2:function(){return bt}});var r=e(99064),i=Object.defineProperty,l=Object.defineProperties,c=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,u=(Oe,wt,be)=>wt in Oe?i(Oe,wt,{enumerable:!0,configurable:!0,writable:!0,value:be}):Oe[wt]=be,a=(Oe,wt)=>{for(var be in wt||(wt={}))o.call(wt,be)&&u(Oe,be,wt[be]);if(f)for(var be of f(wt))h.call(wt,be)&&u(Oe,be,wt[be]);return Oe},x=(Oe,wt)=>l(Oe,c(wt)),p=(Oe,wt,be)=>new Promise((Ke,gt)=>{var Rt=St=>{try{Or(be.next(St))}catch(Gr){gt(Gr)}},Be=St=>{try{Or(be.throw(St))}catch(Gr){gt(Gr)}},Or=St=>St.done?Ke(St.value):Promise.resolve(St.value).then(Rt,Be);Or((be=be.apply(Oe,wt)).next())});const y=Oe=>p(void 0,null,function*(){return(0,r.ZP)(`/api/student_works/${Oe.id}/update_journals.json`,{method:"post",body:Oe})}),_=Oe=>p(void 0,null,function*(){return(0,r.ZP)(`/api/student_works/${Oe==null?void 0:Oe.homeworkId}/change_score.json`,{method:"post",body:Oe})}),b=Oe=>p(void 0,null,function*(){return(0,r.ZP)(`/api/student_works/${Oe==null?void 0:Oe.homeworkId}/history_comment`,{method:"Get",params:Oe})}),S=Oe=>p(void 0,null,function*(){return(0,r.ZP)(`/api/student_works/${Oe==null?void 0:Oe.homeworkId}/feedback_know`,{method:"Get",params:Oe})}),R=Oe=>p(void 0,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe==null?void 0:Oe.userId}/student_work_feedbacks.json`,{method:"POST",body:Oe})}),L=Oe=>p(void 0,null,function*(){return(0,r.ZP)(`/api/student_works/${Oe==null?void 0:Oe.userId}/feedback_list.json`,{method:"Get",params:Oe})}),P=Oe=>p(void 0,null,function*(){return(0,r.ZP)(`/api/student_works/${Oe==null?void 0:Oe.userId}/histories.json`,{method:"Get",params:Oe})}),D=Oe=>p(void 0,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe==null?void 0:Oe.homeworkId}/feedback_list`,{method:"Get",params:Oe})}),B=Oe=>p(void 0,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe==null?void 0:Oe.homeworkId}/anonymous_exception_list.json`,{method:"Get",params:Oe})}),$=Oe=>p(void 0,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe==null?void 0:Oe.homeworkId}/appeal_list`,{method:"Get",params:Oe})});function j(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe.categoryId}/works_list.json`,{method:"post",body:a({},Oe)})})}function K(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/shixun_homeworks/${Oe.categoryId}/student_works.json`,{method:"get",params:a({},Oe)})})}function V(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/shixun_homeworks/${Oe.categoryId}/header_info.json`,{method:"get",params:a({},Oe)})})}function W(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Oe}/query_game_url.json`,{method:"get"})})}function oe(Oe){return p(this,null,function*(){return Fetch(`/api/student_works/${Oe}/get_newest_shixun_work_comments.json`,{method:"get"})})}function se(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe.categoryId}.json`,{method:"get"})})}function le(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe.categoryId}/code_review_results.json`,{method:"get",params:a({},Oe)})})}function q(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe.categoryId}/code_review_detail.json`,{method:"get",params:a({},Oe)})})}function J(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe.categoryId}/settings.json`,{method:"get",params:a({},Oe)})})}function Y(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe.categoryId}/update_settings.json`,{method:"post",body:a({},Oe)})})}function ue(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe.categoryId}/group_list.json`,{method:"get",params:a({},Oe)})})}function ne(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe.categoryId}/works_list.xlsx`,{method:"get",params:a({},Oe)})})}function te(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe.coursesId}/reference_answer.json`,{method:"get",params:a({},Oe)})})}function ae(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe.categoryId}/publish_groups.json`,{method:"get",params:a({},Oe)})})}function F(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe.categoryId}/end_groups.json`,{method:"get",params:a({},Oe)})})}function M(Oe){return p(this,null,function*(){return(0,r.ZP)("/api/question_banks/bank_list.json",{method:"get",params:a({},Oe)})})}function Q(Oe){return p(this,null,function*(){return(0,r.ZP)("/api/question_banks/save_banks.json",{method:"post",body:a({},Oe)})})}function de(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Oe.homeworkId}/shixun_work_report.json`,{method:"get",params:Oe})})}function we(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Oe.homeworkId}/shixun_work_report_echart_data.json`,{method:"get",params:Oe})})}function Te(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${Oe.coursesId}/homework_commons/user_hack_detail.json`,{method:"get",params:x(a({},Oe),{id:Oe.categoryId})})})}function je(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Oe.categoryId}/adjust_review_score.json`,{method:"post",body:a({},Oe)})})}function Fe(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe.categoryId}/show_comment.json`,{method:"get",params:a({},Oe)})})}function Ft(Oe){return p(this,null,function*(){return(0,r.ZP)("/api/users/reply_message.json",{method:"post",body:a({},Oe)})})}function _t(Oe){return p(this,null,function*(){return(0,r.ZP)("/api/praise_tread/like.json",{method:"post",body:a({},Oe)})})}function Pt(Oe){return p(this,null,function*(){return(0,r.ZP)("/api/praise_tread/unlike.json",{method:"delete",body:a({},Oe)})})}function qt(Oe){return p(this,null,function*(){return(0,r.ZP)("/api/commons/delete.json",{method:"delete",body:a({},Oe)})})}function er(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe.categoryId}/update_explanation.json`,{method:"post",body:a({},Oe)})})}function Jt(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${Oe.coursesId}/homework_commons.json`,{method:"post",body:a({},Oe)})})}function Xe(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe.categoryId}.json`,{method:"put",body:a({},Oe)})})}function It(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_banks/${Oe.id}.json`,{method:"put",body:a({},Oe)})})}function zt(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe.commonHomeworkId}/student_works/new.json`,{method:"get",params:a({},Oe)})})}function st(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Oe.homeworkId}/edit.json`,{method:"get",params:a({},Oe)})})}function bt(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Oe.homeworkId}.json`,{method:"put",body:a({},Oe)})})}function ht(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Oe.homeworkId}/revise_attachment.json`,{method:"post",body:a({},Oe)})})}function et(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe.commonHomeworkId}/student_works.json`,{method:"post",body:a({},Oe)})})}function Ue(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe.homeworkId}/student_works/relate_project.json`,{method:"post",body:a({},Oe)})})}function ge(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe.homeworkId}/student_works/cancel_relate_project.json`,{method:"get"})})}function Ce(Oe){return p(this,null,function*(){return(0,r.ZP)("/api/users/projects/search.json",{method:"get",params:a({},Oe)})})}function Me(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe.commonHomeworkId}/student_works/search_member_list.json`,{method:"get",params:a({},Oe)})})}function $e(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${Oe.coursesId}/homework_commons/new.json`,{method:"get",params:a({},Oe)})})}function He(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe.categoryId}/edit.json`,{method:"get",params:a({},Oe)})})}function it(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_banks/${Oe.id}.json`,{method:"get",params:a({},Oe)})})}function ct(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Oe.userId}.json`,{method:"get",params:a({},Oe)})})}function Vt(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Oe.userId}/supply_attachments.json`,{method:"get",params:a({},Oe)})})}function Wt(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Oe.userId}/comment_list.json`,{method:"get",params:a({},Oe)})})}function De(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Oe.userId}/destroy_score.json`,{method:"delete",body:a({},Oe)})})}function Je(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Oe.userId}/add_score_reply.json`,{method:"post",body:a({},Oe)})})}function Gt(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe.categoryId}/all_student_works.json`,{method:"get",params:a({},Oe)})})}function kt(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Oe.homeworkId}/destroy_work_comment.json`,{method:"delete",body:a({},Oe)})})}function Ht(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe.categoryId}/score_status.json`,{method:"get",params:a({},Oe)})})}function jt(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe.categoryId}/update_score.json`,{method:"get",params:a({},Oe)})})}function At(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Oe.userId}/add_score.json`,{method:"post",body:a({},Oe)})})}function Yt(Oe){return p(this,null,function*(){return Fetch(`/api/student_works/${Oe.userId}/cancel_appeal.json`,{method:"post",body:a({},Oe)})})}function Ge(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Oe.userId}/appeal_anonymous_score.json`,{method:"post",body:a({},Oe)})})}function fe(Oe){return p(this,null,function*(){return Fetch(`/api/student_works/${Oe.userId}/deal_appeal_score.json`,{method:"post",body:a({},Oe)})})}function _e(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/myshixuns/${Oe.id}/reset_my_game.json`,{method:"get",params:a({},Oe)})})}function Ot(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Oe.homeworkId}/commit_des.json`,{method:"get",params:a({},Oe)})})}function Ie(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Oe.homeworkId}/update_des.json`,{method:"post",body:a({},Oe)})})}function dt(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${Oe.coursesId}/homework_commons/file_repeat_list.json`,{method:"get",params:a({},Oe)})})}function Zt(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${Oe.coursesId}/homework_commons/file_repeat_result.json`,{method:"get",params:a({},Oe)})})}function Ct(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${Oe.course_id}/homework_commons/file_repeat_detail.json`,{method:"get",params:a({},Oe)})})}},49692:function(d,g,e){"use strict";e.d(g,{$Q:function(){return Fr},AE:function(){return jt},AQ:function(){return B},Ag:function(){return wt},Ar:function(){return ae},At:function(){return Lt},BK:function(){return K},Bj:function(){return zt},DC:function(){return Xe},Dz:function(){return vt},E4:function(){return Jt},EH:function(){return Q},Ee:function(){return gn},Er:function(){return ne},FB:function(){return j},Fg:function(){return S},GI:function(){return Te},Gr:function(){return ht},Gu:function(){return we},Gz:function(){return b},HS:function(){return Et},Hl:function(){return y},IT:function(){return Ct},I_:function(){return P},Ir:function(){return V},Je:function(){return Be},K:function(){return Ut},K0:function(){return Lr},KM:function(){return q},K_:function(){return jr},LK:function(){return Or},LP:function(){return je},Ne:function(){return ue},OV:function(){return Ft},OW:function(){return M},Op:function(){return Ar},P2:function(){return Pt},Po:function(){return D},Ps:function(){return et},Q:function(){return Y},Q1:function(){return Cr},QA:function(){return yi},Ql:function(){return ge},Rs:function(){return De},SG:function(){return Vi},Tn:function(){return Yt},Tr:function(){return _i},U0:function(){return He},U9:function(){return Ue},UQ:function(){return Ie},Ui:function(){return _r},Vx:function(){return ot},WO:function(){return te},WT:function(){return Yi},Wi:function(){return st},Wl:function(){return be},X$:function(){return qt},Yn:function(){return fe},Z2:function(){return It},ZO:function(){return bt},Zt:function(){return yt},_7:function(){return J},_9:function(){return _e},aH:function(){return Ce},al:function(){return Vt},b8:function(){return F},bq:function(){return Ge},dK:function(){return W},e:function(){return R},eX:function(){return de},eb:function(){return Je},fL:function(){return Rt},h4:function(){return gr},hS:function(){return _},he:function(){return L},hn:function(){return se},ii:function(){return Wt},im:function(){return Ot},j8:function(){return Fe},jq:function(){return Qr},kF:function(){return Gr},km:function(){return ct},l3:function(){return _t},m7:function(){return $e},mI:function(){return xi},n5:function(){return $},nu:function(){return St},p0:function(){return Zt},q0:function(){return Ht},q9:function(){return or},qA:function(){return un},rO:function(){return kt},rs:function(){return le},sr:function(){return dt},t2:function(){return Oe},tX:function(){return Hn},uo:function(){return it},v3:function(){return gt},w:function(){return Ke},xK:function(){return At},xg:function(){return Gt},xk:function(){return er},yE:function(){return Me},yx:function(){return gi},zD:function(){return oe},zH:function(){return an}});var r=e(99064),i=Object.defineProperty,l=Object.defineProperties,c=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,u=(ut,qn,Ei)=>qn in ut?i(ut,qn,{enumerable:!0,configurable:!0,writable:!0,value:Ei}):ut[qn]=Ei,a=(ut,qn)=>{for(var Ei in qn||(qn={}))o.call(qn,Ei)&&u(ut,Ei,qn[Ei]);if(f)for(var Ei of f(qn))h.call(qn,Ei)&&u(ut,Ei,qn[Ei]);return ut},x=(ut,qn)=>l(ut,c(qn)),p=(ut,qn,Ei)=>new Promise((Jn,Gi)=>{var mi=tr=>{try{En(Ei.next(tr))}catch(mt){Gi(mt)}},ai=tr=>{try{En(Ei.throw(tr))}catch(mt){Gi(mt)}},En=tr=>tr.done?Jn(tr.value):Promise.resolve(tr.value).then(mi,ai);En((Ei=Ei.apply(ut,qn)).next())});const y=ut=>p(void 0,null,function*(){return(0,r.ZP)("/api/shixun_statistics/statistics_header.json",{method:"Get",params:ut})}),_=ut=>p(void 0,null,function*(){return(0,r.ZP)("/api/shixun_statistics/online_count.json",{method:"Get",params:ut})}),b=ut=>p(void 0,null,function*(){return(0,r.ZP)("/api/shixun_statistics/statistics_body.json",{method:"Get",params:ut})}),S=ut=>p(void 0,null,function*(){return(0,r.ZP)("/api/shixun_statistics/rank_list.json",{method:"Get",params:ut})}),R=ut=>p(void 0,null,function*(){return(0,r.ZP)("/api/shixun_statistics/shixun_use_infos.json",{method:"Get",params:ut})});function L(ut){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns.json",{method:"Get",params:a({},ut)})})}function P(ut){return p(this,null,function*(){return(0,r.ZP)("/api/disciplines.json",{method:"Get",params:a({source:"shixun"},ut||{})})})}function D(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}.json`,{method:"Get",params:ut})})}function B(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/show_right.json`,{method:"Get"})})}function $(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/challenges.json`,{method:"Get"})})}function j(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/save_copy_for_exercise.json`,{method:"post",body:{save_type:ut.save_type}})})}function K(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/jupyter_exec.json${ut.reset?`?reset=${ut.reset}`:""}`,{method:"Get",params:ut})})}function V(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/shixun_exec.json${ut.reset?`?reset=${ut.reset}`:""}`,{method:"Get",params:ut})})}function W(ut){return p(this,null,function*(){return(0,r.ZP)(ut.url,{method:"Get"})})}function oe(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.shixun_identifier}/challenges/${ut.challenge_id}/index_up.json`,{method:"Get"})})}function se(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.shixun_identifier}/challenges/${ut.challenge_id}/index_down.json`,{method:"Get"})})}function le(ut){return p(this,null,function*(){return(0,r.ZP)("/api/collections/cancel.json",{method:"Delete",body:{container_id:ut.container_id,container_type:ut.container_type}})})}function q(ut){return p(this,null,function*(){return(0,r.ZP)("/api/collections.json",{method:"Post",body:{container_id:ut.container_id,container_type:ut.container_type}})})}function J(ut){return p(this,null,function*(){const{id:qn}=ut||{};return(0,r.ZP)(`/api/shixuns/${qn}/search_user_courses.json`,{method:"Get",params:ut})})}function Y(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut==null?void 0:ut.id}/send_to_course.json`,{method:"Post",body:a({},ut)})})}function ue(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/cancel_publish.json`,{method:"Get"})})}function ne(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/cancel_apply_public.json`,{method:"Get"})})}function te(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/apply_public.json`,{method:"post",body:a({},ut)})})}function ae(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/publish.json`,{method:"Get"})})}function F(ut){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/jupyter_new.json",{method:"Get"})})}function M(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/attachments/${ut.id}.json`,{method:"delete"})})}function Q(ut){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/apply_shixun_mirror.json",{method:"post",body:ut})})}function de(ut){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns.json",{method:"post",body:ut})})}function we(ut){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/jupyter_lab_new.json",{method:"get",params:ut})})}function Te(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/review_newest_record.json`,{method:"Get"})})}function je(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/review_shixun.json`,{method:"post",body:ut})})}function Fe(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/collaborators.json`,{method:"Get",params:ut})})}function Ft(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/shixun_members_added.json`,{method:"post",body:ut})})}function _t(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.identifier}/add_members_group.json`,{method:"post",body:ut})})}function Pt(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/change_manager.json`,{method:"Get",params:ut})})}function qt(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/change_manager.json`,{method:"post",body:ut})})}function er(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/collaborators_delete.json`,{method:"delete",body:{user_id:ut.userId}})})}function Jt(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/ranking_list.json`,{method:"Get"})})}function Xe(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/settings.json`,{method:"Get"})})}function It(ut){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/get_mirror_script.json",{method:"Get",params:{mirror_id:ut.mirror_id}})})}function zt(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/get_script_contents.json`,{method:"Get",params:ut})})}function st(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/get_custom_script.json`,{method:"Get",params:ut})})}function bt(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/update_for_jupyter.json`,{method:"put",body:ut})})}function ht(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/shixun_quotes.json`,{method:"Get"})})}function et(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}.json`,{method:"delete"})})}function Ue(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/close.json`,{method:"post",body:ut})})}function ge(ut){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/departments.json",{method:"Get",params:ut})})}function Ce(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/update_permission_setting.json`,{method:"post",body:ut})})}function Me(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/update_learn_setting.json`,{method:"post",body:ut})})}function $e(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/update_setting`,{method:"post",body:ut})})}function He(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/get_data_sets.json`,{method:"Get",params:ut})})}function it(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/destroy_data_sets.json`,{method:"Delete",body:{id:ut.deleteId}})})}function ct(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/challenges/new.json`,{method:"get"})})}function Vt(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.identifier}/challenges.json`,{method:"post",body:a({},ut)})})}function Wt(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/challenges/${ut.challengeId}/edit.json`,{method:"get",params:{tab:ut.tab}})})}function De(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/challenges/${ut.challengesId}.json`,{method:"put",body:a({},ut)})})}function Je(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/challenges/${ut.challengesId}/choose_questions.json`,{method:"get"})})}function Gt(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/challenges/move_position.json`,{method:"post",body:a({},ut)})})}function kt(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/challenges/${ut.challengesId}.json`,{method:"delete",body:a({},ut)})})}function Ht(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/challenges/${ut.challengesId}/edit.json`,{method:"get",params:a({},ut)})})}function jt(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/challenges/${ut.challengeId}/answer.json`,{method:"get",params:a({},ut)})})}function At(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/challenges/${ut.challengeId}/crud_answer.json`,{method:"post",body:a({},ut)})})}function Yt(ut){return p(this,null,function*(){if(ut.type===1)return(0,r.ZP)(`/api/shixuns/${ut.id}/challenges/${ut.challengesId}/create_choose_question.json`,{method:"post",body:a({},ut)});if(ut.type===2)return(0,r.ZP)(`/api/shixuns/${ut.id}/challenges/${ut.challengesId}/create_blank_question.json`,{method:"post",body:a({},ut)});if(ut.type===3)return(0,r.ZP)(`/api/shixuns/${ut.id}/challenges/${ut.challengesId}/create_judge_question.json`,{method:"post",body:a({},ut)})})}function Ge(ut){return p(this,null,function*(){if(ut.type===1)return(0,r.ZP)(`/api/shixuns/${ut.id}/challenges/${ut.challengesId}/update_choose_question.json`,{method:"post",body:x(a({},ut),{choose_id:ut.questionId})});if(ut.type===2)return(0,r.ZP)(`/api/shixuns/${ut.id}/challenges/${ut.challengesId}/update_blank_question.json`,{method:"put",body:x(a({},ut),{choose_id:ut.questionId})});if(ut.type===3)return(0,r.ZP)(`/api/shixuns/${ut.id}/challenges/${ut.challengesId}/update_judge_question.json`,{method:"put",body:x(a({},ut),{choose_id:ut.questionId})})})}function fe(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/challenges/${ut.challengesId}/destroy_challenge_choose.json`,{method:"Delete",body:{choose_id:ut.questionId}})})}function _e(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/challenges/${ut.challengesId}/choose_question_up_position.json`,{method:"post",body:{challenge_choose_id:ut.questionId}})})}function Ot(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/challenges/${ut.challengesId}/choose_question_down_position.json`,{method:"post",body:{challenge_choose_id:ut.questionId}})})}function Ie(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/challenges/${ut.challengesId}/edit_choose_question.json`,{method:"get",params:x(a({},ut),{choose_id:ut.questionId})})})}function dt(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/delete_git_file.json`,{method:"Delete",body:ut})})}function Zt(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/sci/projects/${ut.id}/delete_git_file.json`,{method:"Delete",body:ut})})}function Ct(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/mv_file.json`,{method:"post",body:ut})})}function Oe(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/sci/projects/${ut.id}/mv_file.json`,{method:"post",body:ut})})}function wt(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/repository.json`,{method:"post",body:ut})})}function be(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/sci/projects/${ut.id}/repository.json`,{method:"post",body:ut})})}function Ke(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/secret_repository.json`,{method:"post",body:ut})})}function gt(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/add_file.json`,{method:"post",body:ut})})}function Rt(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/sci/projects/${ut.id}/add_file.json`,{method:"post",body:ut})})}function Be(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/commits.json`,{method:"post",body:ut})})}function Or(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/file_content.json`,{method:"post",body:ut})})}function St(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/sci/projects/${ut.id}/file_content.json`,{method:"post",body:ut})})}function Gr(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/update_file.json`,{method:"post",body:ut})})}function Qr(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/sci/projects/${ut.id}/update_file.json`,{method:"post",body:ut})})}function Ar(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/upload_git_folder.json`,{method:"post",body:{path:ut.path,secret_repository:ut.secret_repository}})})}function Fr(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/${ut.url}`,{method:"Get"})})}function _r(ut){return p(this,null,function*(){return(0,r.ZP)("/api/jupyters/get_info_with_tpm.json",{method:"Get",params:ut})})}function jr(ut){return p(this,null,function*(){return(0,r.ZP)("/api/jupyters/timeinfo_with_tpm.json",{method:"Get",params:ut})})}function an(ut){return p(this,null,function*(){return(0,r.ZP)("/api/jupyters/reset_with_tpm.json",{method:"Get",params:ut})})}function un(ut){return p(this,null,function*(){return(0,r.ZP)("/api/jupyters/save_with_tpm.json",{method:"Get",params:ut})})}function or(ut){return p(this,null,function*(){return(0,r.ZP)("/api/jupyters/active_with_tpm.json",{method:"Get",params:ut})})}function Lt(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/fork_list.json`,{method:"Get",params:ut})})}function vt(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.identifier}/change_editable.json`,{method:"put",body:a({},ut)})})}function yt(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/set_secret_dir.json`,{method:"post",body:a({},ut)})})}function Ut(ut){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/new.json",{method:"Get",params:ut})})}function Cr(ut){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/environment_info",{method:"Get",params:ut})})}function gr(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/init_repository.json`,{method:"post",body:a({},ut)})})}function ot(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/sci/projects/${ut.id}/init_repository.json`,{method:"post",body:a({},ut)})})}function Lr(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/update_secret_repository.json`,{method:"post",body:a({},ut)})})}function gn(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/exist_exercise.json`,{method:"get",params:a({},ut)})})}function Hn(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/mirror_applies/${ut.id}.json`,{method:"get",params:a({},ut)})})}function mr(ut){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${ut.id}/publish.json`,{method:"post",body:a({},ut)})})}function Jr(ut){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${ut.id}/open_vnc.json`,{method:"post",params:a({},ut)})})}function dn(ut){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${ut.id}/open_webssh.json`,{method:"post",params:a({},ut)})})}function Fn(ut){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${ut.id}/save_image.json`,{method:"post",body:a({},ut)})})}function ri(ut){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${ut.id}/delete_image.json`,{method:"post",body:a({},ut)})})}function Nn(ut){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${ut.id}/extend_vnc.json`,{method:"post",body:a({},ut)})})}function Zi(ut){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${ut.id}/reset_vnc_link.json`,{method:"post",body:a({},ut)})})}function gi(ut){return p(this,null,function*(){return(0,r.ZP)("/api/paths/get_task_pass.json",{method:"get",params:a({},ut)})})}function xi(ut){return p(this,null,function*(){return(0,r.ZP)("/api/jupyters/get_info_with_jupyter_lab.json",{method:"get",params:a({},ut)})})}function yi(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/update_jupyter_lab_setting.json`,{method:"post",body:a({},ut)})})}function _i(ut){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/check_shixun_copy.json",{method:"post",body:ut})})}function Yi(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/progress_homeworks/${ut}`,{method:"get",params:{is_initiative_study:1}})})}function Qn(ut){return p(this,null,function*(){return Fetch(`/api/shixuns/${ut.id}/update_shixun_study_num.json`,{method:"post",body:a({},ut)})})}function Vi(ut){return p(this,null,function*(){return(0,r.ZP)("/api/jupyters/preview.json",{method:"get",params:ut})})}function Et(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut}/recommend_config.json`,{method:"get"})})}},43859:function(d,g,e){"use strict";e.d(g,{Bg:function(){return p},FO:function(){return B},eJ:function(){return b},eZ:function(){return S},fd:function(){return V},gp:function(){return a},iU:function(){return j},l3:function(){return L},mw:function(){return P},oZ:function(){return _},rM:function(){return D},r_:function(){return K},s:function(){return x},ur:function(){return $},xV:function(){return y},yb:function(){return R}});var r=e(99064),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(W,oe,se)=>oe in W?i(W,oe,{enumerable:!0,configurable:!0,writable:!0,value:se}):W[oe]=se,h=(W,oe)=>{for(var se in oe||(oe={}))c.call(oe,se)&&o(W,se,oe[se]);if(l)for(var se of l(oe))f.call(oe,se)&&o(W,se,oe[se]);return W},u=(W,oe,se)=>new Promise((le,q)=>{var J=ne=>{try{ue(se.next(ne))}catch(te){q(te)}},Y=ne=>{try{ue(se.throw(ne))}catch(te){q(te)}},ue=ne=>ne.done?le(ne.value):Promise.resolve(ne.value).then(J,Y);ue((se=se.apply(W,oe)).next())});function a(W){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${W.coursesId}/teachers.json`,{method:"get",params:h({},W)})})}function x(W){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${W.coursesId}/apply_teachers.json`,{method:"get",params:h({},W)})})}function p(W){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${W.coursesId}/graduation_group_list.json`,{method:"get",params:h({},W)})})}function y(W){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${W.coursesId}/all_course_groups.json`,{method:"get",params:h({},W)})})}function _(W){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${W.coursesId}/set_course_group.json`,{method:"post",body:h({},W)})})}function b(W){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${W.coursesId}/join_graduation_group.json`,{method:"post",body:h({},W)})})}function S(W){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${W.coursesId}/create_graduation_group.json`,{method:"post",body:h({},W)})})}function R(W){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${W.coursesId}/delete_course_teacher.json`,{method:"post",body:h({},W)})})}function L(W){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${W.coursesId}/delete_from_course.json`,{method:"post",body:h({},W)})})}function P(W){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${W.coursesId}/change_member_role.json`,{method:"post",body:h({},W)})})}function D(W){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${W.coursesId}/change_course_admin.json`,{method:"post",body:h({},W)})})}function B(W){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${W.coursesId}/teacher_application_review.json`,{method:"post",body:h({},W)})})}function $(W){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${W.coursesId}/students.json`,{method:"get",params:h({},W)})})}function j(W,oe){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${W}/apply_students.json`,{method:"get",params:oe})})}function K(W,oe){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${W}/join_student_checkout.json`,{method:"get",params:oe})})}function V(W,oe){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${W}/student_application_review.json`,{method:"post",body:oe})})}},24780:function(d,g,e){"use strict";e.d(g,{B$:function(){return y},Cx:function(){return J},DA:function(){return D},DH:function(){return p},Ef:function(){return ne},Es:function(){return b},Ex:function(){return qt},FM:function(){return se},Fn:function(){return te},Gq:function(){return Jt},Ho:function(){return $},IU:function(){return de},JJ:function(){return ae},Ol:function(){return Fe},Qx:function(){return oe},Tv:function(){return F},V8:function(){return x},WS:function(){return Y},WY:function(){return W},ai:function(){return q},bG:function(){return R},bJ:function(){return a},c0:function(){return er},dE:function(){return Q},dt:function(){return M},gI:function(){return ue},lO:function(){return le},mW:function(){return V},n0:function(){return P},nV:function(){return je},o1:function(){return Ft},qE:function(){return _},qN:function(){return B},rV:function(){return j},sh:function(){return Te},vR:function(){return S},w3:function(){return K},x4:function(){return L},z2:function(){return _t}});var r=e(99064),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(Xe,It,zt)=>It in Xe?i(Xe,It,{enumerable:!0,configurable:!0,writable:!0,value:zt}):Xe[It]=zt,h=(Xe,It)=>{for(var zt in It||(It={}))c.call(It,zt)&&o(Xe,zt,It[zt]);if(l)for(var zt of l(It))f.call(It,zt)&&o(Xe,zt,It[zt]);return Xe},u=(Xe,It,zt)=>new Promise((st,bt)=>{var ht=ge=>{try{Ue(zt.next(ge))}catch(Ce){bt(Ce)}},et=ge=>{try{Ue(zt.throw(ge))}catch(Ce){bt(Ce)}},Ue=ge=>ge.done?st(ge.value):Promise.resolve(ge.value).then(ht,et);Ue((zt=zt.apply(Xe,It)).next())});const a=Xe=>u(void 0,null,function*(){return(0,r.ZP)(`/api/common_comments/${Xe.id}/move.json`,{method:"post",body:Xe})}),x=Xe=>u(void 0,null,function*(){return(0,r.ZP)(`/api/common_comments/${Xe.id}.json`,{method:"delete",body:Xe})}),p=Xe=>u(void 0,null,function*(){return(0,r.ZP)(`/api/common_comments/${Xe.id}.json`,{method:"put",body:Xe})}),y=Xe=>u(void 0,null,function*(){return(0,r.ZP)("/api/common_comments.json",{method:"post",body:Xe})}),_=Xe=>u(void 0,null,function*(){return(0,r.ZP)("/api/common_comments.json",{method:"Get",params:Xe})});function b(Xe){return u(this,null,function*(){return(0,r.ZP)("/api/accounts/login.json",{method:"post",body:h({},Xe)})})}function S(Xe){return u(this,null,function*(){return(0,r.ZP)("/api/accounts/logout.json",{method:"get"})})}function R(Xe){return u(this,null,function*(){return(0,r.ZP)("/api/users/get_user_info.json",{method:"get",params:h({},Xe)})})}function L(Xe){return u(this,null,function*(){return(0,r.ZP)("/api/users/get_notice.json",{method:"get",params:h({},Xe)})})}function P(){return u(this,null,function*(){return(0,r.ZP)("/api/users/system_update.json",{method:"get"})})}function D(Xe){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${Xe.username}/homepage_info.json`,{method:"get"})})}function B(Xe){return u(this,null,function*(){return(0,r.ZP)("/api/users/attendance.json",{method:"post"})})}function $(Xe){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${Xe.username}/courses.json`,{method:"get",params:Xe})})}function j(Xe){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${Xe.username}/shixuns.json`,{method:"get",params:Xe})})}function K(Xe){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${Xe.username}/subjects.json`,{method:"get",params:Xe})})}function V(Xe){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${Xe.username}/projects.json`,{method:"get",params:Xe})})}function W(Xe){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${Xe.username}/videos.json`,{method:"get",params:Xe})})}function oe(Xe){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${Xe.username}/videos/review.json`,{method:"get",params:Xe})})}function se(Xe){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${Xe.username}/videos/${Xe.id}.json`,{method:"delete"})})}function le(Xe){return u(this,null,function*(){return(0,r.ZP)("/api/watch_video_histories.json",{method:"post",body:Xe})})}function q(Xe){return u(this,null,function*(){return(0,r.ZP)("/api/users/question_banks.json",{method:"get",params:Xe})})}function J(Xe){return u(this,null,function*(){return(0,r.ZP)("/api/question_banks/multi_public.json",{method:"post",body:Xe})})}function Y(Xe){return u(this,null,function*(){return(0,r.ZP)("/api/question_banks/multi_delete.json",{method:"delete",body:Xe})})}function ue(Xe){return u(this,null,function*(){return(0,r.ZP)("/api/question_banks/my_courses.json",{method:"get",params:Xe})})}function ne(Xe){return u(this,null,function*(){return(0,r.ZP)("/api/question_banks/send_to_course.json",{method:"post",body:Xe})})}function te(Xe){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${Xe.username}/videos/${Xe.object_id}/create_course_video.json`,{method:"post",body:Xe})})}function ae(Xe){return u(this,null,function*(){return(0,r.ZP)(`/api/homework_banks/${Xe.topicId}.json`,{method:"get",params:Xe})})}function F(Xe){return u(this,null,function*(){return(0,r.ZP)("/api/question_banks/multi_delete.json",{method:"delete",body:h({},Xe)})})}function M(Xe){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${Xe.username}/videos/batch_publish.json`,{method:"post",body:Xe})})}function Q(Xe){return u(this,null,function*(){return(0,r.ZP)(`/api/myshixuns/${Xe.identifier}/cancel.json`,{method:"delete",body:h({},Xe)})})}function de(Xe){return u(this,null,function*(){return(0,r.ZP)("/api/users/get_engineer_url.json",{method:"get",params:h({},Xe)})})}function we(Xe){return u(this,null,function*(){return Fetch("/api/intelligent_recommendations/user_choice_learn_path.json",{method:"post",body:h({},Xe)})})}function Te(){return u(this,null,function*(){return(0,r.ZP)("/api/intelligent_recommendations/persona.json",{method:"get"})})}function je(){return u(this,null,function*(){return(0,r.ZP)("/api/intelligent_recommendations/user_learn_path.json",{method:"get"})})}function Fe(Xe){return(0,r.ZP)("/api/accounts/valid_email_and_phone.json",{method:"get",params:Xe})}function Ft(Xe){return(0,r.ZP)("/api/accounts/get_verification_code.json",{method:"get",params:Xe})}function _t(Xe){return(0,r.ZP)("/api/accounts/register.json",{method:"post",body:h({},Xe)})}function Pt(Xe){return Fetch("/api/weapps/register.json",{method:"post",body:h({},Xe)})}function qt(Xe){return(0,r.ZP)(`/api/users/accounts/${Xe.login}/password.json`,{method:"put",body:h({},Xe)})}function er(Xe){return(0,r.ZP)("/api/accounts/reset_password.json",{method:"post",body:h({},Xe)})}function Jt(Xe){return(0,r.ZP)("/api/accounts/login_for_phone.json",{method:"get",params:h({},Xe)})}},75730:function(d,g,e){"use strict";e.d(g,{BQ:function(){return a},DH:function(){return $},Db:function(){return le},Ju:function(){return se},Mz:function(){return V},O2:function(){return _},TJ:function(){return R},Vg:function(){return y},ZY:function(){return x},Zx:function(){return K},cU:function(){return p},fn:function(){return oe},jK:function(){return L},yN:function(){return W}});var r=e(99064),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(q,J,Y)=>J in q?i(q,J,{enumerable:!0,configurable:!0,writable:!0,value:Y}):q[J]=Y,h=(q,J)=>{for(var Y in J||(J={}))c.call(J,Y)&&o(q,Y,J[Y]);if(l)for(var Y of l(J))f.call(J,Y)&&o(q,Y,J[Y]);return q},u=(q,J,Y)=>new Promise((ue,ne)=>{var te=M=>{try{F(Y.next(M))}catch(Q){ne(Q)}},ae=M=>{try{F(Y.throw(M))}catch(Q){ne(Q)}},F=M=>M.done?ue(M.value):Promise.resolve(M.value).then(te,ae);F((Y=Y.apply(q,J)).next())});function a(q){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${q.coursesId}/watch_video_histories.json`,{method:"Get",params:h({},q)})})}function x(q){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${q.coursesId}/watch_statics.json`,{method:"Get",params:h({},q)})})}function p(q){return u(this,null,function*(){return(0,r.ZP)(`/api/course_videos/${q.videoId}/watch_histories.json`,{method:"Get",params:h({},q)})})}function y(q){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${q.coursesId}/own_watch_histories.json`,{method:"Get",params:h({},q)})})}function _(q){return u(this,null,function*(){return(0,r.ZP)(`/api/video_items/${q.id}.json`,{method:"Get",params:h({},q)})})}function b(q){return u(this,null,function*(){return Fetch("/api/video_items.json",{method:"post",body:q})})}function S(q){return u(this,null,function*(){return Fetch(`/api/video_items/${q.id}/edit.json`,{method:"Get",params:h({},q)})})}function R(q){return u(this,null,function*(){return(0,r.ZP)(`/api/stage_shixuns/${q.id}/edit.json`,{method:"Get",params:h({},q)})})}function L(q){return u(this,null,function*(){return(0,r.ZP)(`/api/video_items/${q.id}/star.json`,{method:"post",body:q})})}function P(q){return u(this,null,function*(){return Fetch(`/api/video_items/${q.id}.json`,{method:"put",body:q})})}function D(q){return u(this,null,function*(){return Fetch(`/api/video_items/${q.id}/send_to_course.json`,{method:"post",body:q})})}function B(q){return u(this,null,function*(){return Fetch("/api/users/my_courses.json",{method:"Get",params:h({},q)})})}function $(q){return u(this,null,function*(){return(0,r.ZP)(`/api/video_items/${q.id}/view_video.json`,{method:"post",body:q})})}function j(q){return u(this,null,function*(){return Fetch(`/api/video_items/${q.id}/add_school.json`,{method:"post",body:q})})}function K(q){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${q.course_id}/video_people_statics.json`,{method:"get",params:q})})}function V(q){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${q.course_id}/video_duration_statics.json`,{method:"get",params:q})})}function W(q){return u(this,null,function*(){return(0,r.ZP)("/api/stages.json",{method:"get",params:q})})}function oe(q){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${q==null?void 0:q.id}/course_videos_tree.json`,{method:"get",params:q})})}function se(q){return u(this,null,function*(){return(0,r.ZP)("/api/study_action_analyses.json",{method:"post",body:q})})}function le(q){return u(this,null,function*(){return(0,r.ZP)("/api/study_action_analyses/detail.json",{method:"post",body:q})})}},62406:function(d,g,e){"use strict";e.d(g,{A:function(){return V},CH:function(){return c},EA:function(){return h},FU:function(){return x},G_:function(){return _},LY:function(){return B},Ll:function(){return o},MM:function(){return L},Ps:function(){return $},Sl:function(){return S},To:function(){return p},Vf:function(){return y},XQ:function(){return f},b:function(){return a},bq:function(){return K},cZ:function(){return u},rV:function(){return D},sT:function(){return b},tS:function(){return j},xt:function(){return P},y2:function(){return l}});var r=e(99064),i=(W,oe,se)=>new Promise((le,q)=>{var J=ne=>{try{ue(se.next(ne))}catch(te){q(te)}},Y=ne=>{try{ue(se.throw(ne))}catch(te){q(te)}},ue=ne=>ne.done?le(ne.value):Promise.resolve(ne.value).then(J,Y);ue((se=se.apply(W,oe)).next())});const l=W=>i(void 0,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${W.virtual_spacesId}/base_statistic_data.json`,{method:"Get",params:W})});function c(W){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${W.virtual_spacesId}/discussions/${W.id}.json`,{method:"put",body:W})})}function f(W){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${W.virtual_spacesId}/discussions/${W.id}.json`,{method:"get",params:W})})}function o(W){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${W.virtual_spacesId}/discussions.json`,{method:"post",body:W})})}function h(W){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${W.virtual_spacesId}/discussions.json`,{method:"get",params:W})})}function u(W){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${W.virtual_spacesId}/good_lessons/${W.id}/add_resources.json`,{method:"post",body:W})})}function a(W){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${W.virtual_spacesId}/good_lessons/${W.id}/lesson_resources_list.json`,{method:"get",params:W})})}function x(W){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${W.virtual_spacesId}/good_lessons/${W.id}.json`,{method:"get",params:W})})}function p(W){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${W.virtual_spacesId}/good_lessons/${W.id}.json`,{method:"put",body:W})})}function y(W){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${W.virtual_spacesId}/good_lessons.json`,{method:"post",body:W})})}function _(W){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${W.virtual_spacesId}/good_lessons.json`,{method:"get",params:W})})}function b(W){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${W==null?void 0:W.id}.json`,{method:"get"})})}function S(W){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${W==null?void 0:W.id}/modules.json`,{method:"get"})})}function R(W){return i(this,null,function*(){return Fetch(`/api/virtual_classrooms/${W.id}/videos/batch_publish.json`,{method:"post",body:W})})}function L(W){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${W.virtual_spacesId}/members.json`,{method:"post",body:W})})}function P(W){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${W.virtual_spacesId}/members/${W.id}/change_creator.json`,{method:"post",body:W})})}function D(W,oe){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${W}/shixuns.json`,{method:"get",params:oe})})}function B(W,oe){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${W}/shixuns`,{method:"post",body:oe})})}function $(W){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${W.virtual_classroom_id}/shixuns/${W.shixun_id}.json`,{method:"delete"})})}function j(W,oe){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${W}/subjects.json`,{method:"get",params:oe})})}function K(W,oe){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${W}/subjects.json`,{method:"post",body:oe})})}function V(W){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${W.virtual_classroom_id}/subjects/${W.subject_id}.json`,{method:"delete"})})}},24065:function(d,g,e){"use strict";e.d(g,{$O:function(){return J},EO:function(){return it},G5:function(){return K},GD:function(){return i},GJ:function(){return x},Gg:function(){return p},I2:function(){return f},IR:function(){return W},JA:function(){return He},JL:function(){return P},Jd:function(){return q},Ny:function(){return R},RV:function(){return se},Rb:function(){return j},Rm:function(){return V},V9:function(){return M},Yh:function(){return te},aN:function(){return b},aQ:function(){return u},ag:function(){return $e},bg:function(){return Vt},d8:function(){return $},dE:function(){return oe},eB:function(){return le},eY:function(){return Wt},fn:function(){return Me},h:function(){return jt},j5:function(){return _},m$:function(){return De},oF:function(){return y},qz:function(){return h},t_:function(){return S},tu:function(){return Gt},y8:function(){return ct}});var r=e(89070),i=(At=>(At[At.SuperAdmin=1]="SuperAdmin",At[At.Operation=2]="Operation",At[At.CertifiedTeacher=5]="CertifiedTeacher",At[At.TrainingProduction=8]="TrainingProduction",At[At.UncertifiedTeacher=12]="UncertifiedTeacher",At[At.Student=15]="Student",At))(i||{}),l=(At=>(At[At.SuperAdmin=1]="SuperAdmin",At[At.Operation=2]="Operation",At[At.Admin=5]="Admin",At[At.Teacher=8]="Teacher",At[At.Assistant=12]="Assistant",At[At.Student=15]="Student",At))(l||{}),c=(At=>(At[At.SuperAdmin=0]="SuperAdmin",At[At.Teacher=1]="Teacher",At[At.Student=2]="Student",At))(c||{});const f=At=>{const{user:Yt}=(0,r.getDvaApp)()._store.getState(),{userInfo:Ge}=Yt;return At.some(fe=>fe==(Ge==null?void 0:Ge.role))},o=At=>{const{user:Yt}=(0,r.getDvaApp)()._store.getState(),{userInfo:Ge}=Yt;return Ge!=null&&Ge.own?!0:At.some(fe=>{var _e;return fe==((_e=Ge==null?void 0:Ge.course)==null?void 0:_e.course_role)})},h=()=>{const{user:At}=(0,r.getDvaApp)()._store.getState(),{userInfo:Yt}=At;return Yt.main_site},u=()=>{var At;const{user:Yt}=(0,r.getDvaApp)()._store.getState(),{userInfo:Ge}=Yt;return(At=Ge==null?void 0:Ge.course)==null?void 0:At.course_is_end},a=()=>{const{user:At}=getDvaApp()._store.getState(),{userInfo:Yt}=At;return Yt.authentication},x=()=>o([1,2,5,8,12]),p=()=>o([1,8,5,12,2]),y=()=>o([1,8,5]),_=()=>o([1]),b=()=>o([1,2,5]),S=()=>o([1,2]),R=()=>f([1,2]),L=()=>f([1]),P=()=>f([1,2,5]),D=()=>o([1,5]),B=()=>o([5,8]),$=()=>o([5]),j=()=>o([1,5,2]),K=()=>o([1,2,5,8]),V=()=>o([12]),W=()=>o([8]),oe=()=>o([15]),se=()=>o([1,2,5,8,12,15]),le=()=>o([1,2,5,8,12]),q=()=>{var At;const{user:Yt}=(0,r.getDvaApp)()._store.getState(),{userInfo:Ge}=Yt;return((At=Ge==null?void 0:Ge.course)==null?void 0:At.course_role)===null},J=()=>{var At;const{user:Yt,globalSetting:Ge}=(0,r.getDvaApp)()._store.getState(),{userInfo:fe}=Yt,_e=((At=Ge==null?void 0:Ge.setting)==null?void 0:At.big_model_users)||[];return _e==null?void 0:_e.includes(fe==null?void 0:fe.login)},Y=(At=!0,Yt=!1)=>f([1,2,5,8,12,15]),ue=(At=!0,Yt=!1)=>Yt||!Yt&&f([1]),ne=(At=!0,Yt=!1)=>Yt||!Yt&&f([1,2]),te=()=>f([15]),ae=(At=!0,Yt=!1)=>At?f([1,2,5,8,12,15]):Yt||!Yt&&f([1,2]),F=(At=!0,Yt=!1)=>At?f([1,2,5,8,12,15]):Yt||!Yt&&f([1,2]),M=(At=!0,Yt=!1)=>{const{user:Ge}=(0,r.getDvaApp)()._store.getState(),{userInfo:fe}=Ge;return fe!=null&&fe.is_shixun_marker?!0:f([1,2,5,8])},Q=(At=!0,Yt=!1)=>At?f([1]):Yt||!Yt&&f([1]),de=(At=!0,Yt=!1)=>At?f([1,2]):Yt||!Yt&&f([1,2]),we=(At=!0,Yt=!1)=>At?f([1,2,5,8,12,15]):Yt||!Yt&&f([1,2]),Te=(At=!0,Yt=!1)=>At?f([1,2,5,8,12]):Yt||!Yt&&f([1,2]),je=(At=!0,Yt=!1)=>At?f([1,2,5]):Yt||!Yt&&f([1,2]),Fe=(At=!0,Yt=!1)=>At?f([1]):!1,Ft=(At=!0,Yt=!1)=>f([1,2,5,8,12,15]),_t=(At=!0,Yt=!1)=>At?f([1]):Yt||!Yt&&f([1]),Pt=(At=!0,Yt=!1)=>At?f([1,2]):Yt||!Yt&&f([1,2]),qt=(At=!0,Yt=!1)=>At?f([1,2,5,8,12,15]):Yt||!Yt&&f([1,2]),er=(At=!0,Yt=!1)=>At?!1:Yt||!Yt&&f([1,2]),Jt=(At=!0,Yt=!1)=>At?Yt||!Yt&&f([1,2]):!1,Xe=(At=!0,Yt=!1)=>At?f([1,2,5,8,12]):!1,It=(At=!0,Yt=!1)=>At?!Yt&&f([1,2,5,8,12]):!1,zt=(At=!0,Yt=!1)=>At?f([1,2,5]):Yt||!Yt&&f([1,2]),st=(At=!0,Yt=!1)=>f([1,2,5,8,12]),bt=(At=!0,Yt=!1)=>At?f([1]):Yt||!Yt&&f([1]),ht=(At=!0,Yt=!1)=>At?f([1,2]):Yt||!Yt&&f([1,2]),et=(At=!0,Yt=!1)=>At?f([1,2,5,8,12]):Yt||!Yt&&f([1,2]),Ue=(At=!0,Yt=!1)=>At?Yt||!Yt&&f([1,2]):!1,ge=(At=!0,Yt=!1)=>At?f([1,2,5,8,12]):Yt||!Yt&&f([1,2]),Ce=(At=!0,Yt=!1)=>o([8]),Me=()=>f([1]),$e=()=>f([1,2]),He=()=>f([15]),it=()=>f([1,2,5]),ct=()=>f([1,2,5,12]),Vt=()=>{var At;const{user:Yt}=(0,r.getDvaApp)()._store.getState();return!!((At=Yt.userInfo)!=null&&At.login)},Wt=()=>{const{user:At}=(0,r.getDvaApp)()._store.getState();return At.userInfo},De=()=>{var At,Yt;const{user:Ge}=(0,r.getDvaApp)()._store.getState();return!!((Yt=(At=Ge.userInfo)==null?void 0:At.path)!=null&&Yt.own)},Je=At=>{const{graduations:Yt}=(0,r.getDvaApp)()._store.getState(),{details:Ge}=Yt;return At.some(fe=>fe===(Ge==null?void 0:Ge.user_identity))},Gt=()=>Je([0,1]),kt=()=>Je([0]),Ht=()=>Je([1]),jt=()=>Je([2])},14165:function(d,g,e){"use strict";e.d(g,{a2:function(){return c},fw:function(){return r},gW:function(){return l},k:function(){return f},k4:function(){return i}});const r=[{id:0,name:"\u5355\u9009\u9898",nameType:"SINGLE"},{id:1,name:"\u591A\u9009\u9898",nameType:"MULTIPLE"},{id:2,name:"\u5224\u65AD\u9898",nameType:"JUDGMENT"},{id:3,name:"\u586B\u7A7A\u9898",nameType:"COMPLETION"},{id:4,name:"\u7B80\u7B54\u9898",nameType:"SUBJECTIVE"},{id:5,name:"\u5B9E\u8BAD\u9898",nameType:"PRACTICAL"},{id:6,name:"\u7F16\u7A0B\u9898",nameType:"PROGRAM"},{id:7,name:"\u7EC4\u5408\u9898",nameType:"COMBINATION"},{id:8,name:"\u7A0B\u5E8F\u586B\u7A7A\u9898",nameType:"BPROGRAM"}],i=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"];var l=(o=>(o.PROBLEM="problem",o.PAPER="paper",o.OTHER="other",o))(l||{}),c=(o=>(o.SINGLE="single",o.MULTIPLEFLOW="multiple_flow",o.MULTIPLEFIXED="multiple_fixed",o.OTHER="other",o))(c||{}),f=(o=>(o[o.BISHI=1]="BISHI",o[o.JISHI=2]="JISHI",o[o.KOUSHI=3]="KOUSHI",o[o.OTHER=4]="OTHER",o))(f||{})},33466:function(d,g,e){"use strict";e.d(g,{F:function(){return r}});const r={load:"text/html",123:"application/vndlotus-1-2-3","3ds":"image/x-3ds","3g2":"video/3gpp","3ga":"video/3gpp","3gp":"video/3gpp","3gpp":"video/3gpp",602:"application/x-t602",669:"audio/x-mod","7z":"application/x-7z-compressed",a:"application/x-archive",aac:"audio/mp4",abw:"application/x-abiword",abwcrashed:"application/x-abiword",abwgz:"application/x-abiword",ac3:"audio/ac3",ace:"application/x-ace",adb:"text/x-adasrc",ads:"text/x-adasrc",afm:"application/x-font-afm",ag:"image/x-applix-graphics",ai:"application/illustrator",aif:"audio/x-aiff",aifc:"audio/x-aiff",aiff:"audio/x-aiff",al:"application/x-perl",alz:"application/x-alz",amr:"audio/amr",ani:"application/x-navi-animation","anim[1-9j]":"video/x-anim",anx:"application/annodex",ape:"audio/x-ape",arj:"application/x-arj",arw:"image/x-sony-arw",as:"application/x-applix-spreadsheet",asc:"text/plain",asf:"video/x-ms-asf",asp:"application/x-asp",ass:"text/x-ssa",asx:"audio/x-ms-asx",atom:"application/atom+xml",au:"audio/basic",avi:"video/x-msvideo",aw:"application/x-applix-word",awb:"audio/amr-wb",awk:"application/x-awk",axa:"audio/annodex",axv:"video/annodex",bak:"application/x-trash",bcpio:"application/x-bcpio",bdf:"application/x-font-bdf",bib:"text/x-bibtex",bin:"application/octet-stream",blend:"application/x-blender",blender:"application/x-blender",bmp:"image/bmp",bz:"application/x-bzip",bz2:"application/x-bzip",c:"text/x-csrc","c++":"text/x-c++src",cab:"application/vndms-cab-compressed",cb7:"application/x-cb7",cbr:"application/x-cbr",cbt:"application/x-cbt",cbz:"application/x-cbz",cc:"text/x-c++src",cdf:"application/x-netcdf",cdr:"application/vndcorel-draw",cer:"application/x-x509-ca-cert",cert:"application/x-x509-ca-cert",cgm:"image/cgm",chm:"application/x-chm",chrt:"application/x-kchart",class:"application/x-java",cls:"text/x-tex",cmake:"text/x-cmake",cpio:"application/x-cpio",cpiogz:"application/x-cpio-compressed",cpp:"text/x-c++src",cr2:"image/x-canon-cr2",crt:"application/x-x509-ca-cert",crw:"image/x-canon-crw",cs:"text/x-csharp",csh:"application/x-csh",css:"text/css",cssl:"text/css",csv:"text/csv",cue:"application/x-cue",cur:"image/x-win-bitmap",cxx:"text/x-c++src",d:"text/x-dsrc",dar:"application/x-dar",dbf:"application/x-dbf",dc:"application/x-dc-rom",dcl:"text/x-dcl",dcm:"application/dicom",dcr:"image/x-kodak-dcr",dds:"image/x-dds",deb:"application/x-deb",der:"application/x-x509-ca-cert",desktop:"application/x-desktop",dia:"application/x-dia-diagram",diff:"text/x-patch",divx:"video/x-msvideo",djv:"image/vnddjvu",djvu:"image/vnddjvu",dng:"image/x-adobe-dng",doc:"application/msword",docbook:"application/docbook+xml",docm:"application/vndopenxmlformats-officedocumentwordprocessingmldocument",docx:"application/vndopenxmlformats-officedocumentwordprocessingmldocument",dot:"text/vndgraphviz",dsl:"text/x-dsl",dtd:"application/xml-dtd",dtx:"text/x-tex",dv:"video/dv",dvi:"application/x-dvi",dvibz2:"application/x-bzdvi",dvigz:"application/x-gzdvi",dwg:"image/vnddwg",dxf:"image/vnddxf",e:"text/x-eiffel",egon:"application/x-egon",eif:"text/x-eiffel",el:"text/x-emacs-lisp",emf:"image/x-emf",emp:"application/vndemusic-emusic_package",ent:"application/xml-external-parsed-entity",eps:"image/x-eps",epsbz2:"image/x-bzeps",epsgz:"image/x-gzeps",epsf:"image/x-eps",epsfbz2:"image/x-bzeps",epsfgz:"image/x-gzeps",epsi:"image/x-eps",epsibz2:"image/x-bzeps",epsigz:"image/x-gzeps",epub:"application/epub+zip",erl:"text/x-erlang",es:"application/ecmascript",etheme:"application/x-e-theme",etx:"text/x-setext",exe:"application/x-ms-dos-executable",exr:"image/x-exr",ez:"application/andrew-inset",f:"text/x-fortran",f90:"text/x-fortran",f95:"text/x-fortran",fb2:"application/x-fictionbook+xml",fig:"image/x-xfig",fits:"image/fits",fl:"application/x-fluid",flac:"audio/x-flac",flc:"video/x-flic",fli:"video/x-flic",flv:"video/x-flv",flw:"application/x-kivio",fo:"text/x-xslfo",for:"text/x-fortran",g3:"image/fax-g3",gb:"application/x-gameboy-rom",gba:"application/x-gba-rom",gcrd:"text/directory",ged:"application/x-gedcom",gedcom:"application/x-gedcom",gen:"application/x-genesis-rom",gf:"application/x-tex-gf",gg:"application/x-sms-rom",gif:"image/gif",glade:"application/x-glade",gmo:"application/x-gettext-translation",gnc:"application/x-gnucash",gnd:"application/gnunet-directory",gnucash:"application/x-gnucash",gnumeric:"application/x-gnumeric",gnuplot:"application/x-gnuplot",gp:"application/x-gnuplot",gpg:"application/pgp-encrypted",gplt:"application/x-gnuplot",gra:"application/x-graphite",gsf:"application/x-font-type1",gsm:"audio/x-gsm",gtar:"application/x-tar",gv:"text/vndgraphviz",gvp:"text/x-google-video-pointer",gz:"application/x-gzip",h:"text/x-chdr","h++":"text/x-c++hdr",hdf:"application/x-hdf",hh:"text/x-c++hdr",hp:"text/x-c++hdr",hpgl:"application/vndhp-hpgl",hpp:"text/x-c++hdr",hs:"text/x-haskell",htm:"text/html",html:"text/html",hwp:"application/x-hwp",hwt:"application/x-hwt",hxx:"text/x-c++hdr",ica:"application/x-ica",icb:"image/x-tga",icns:"image/x-icns",ico:"image/vndmicrosofticon",ics:"text/calendar",idl:"text/x-idl",ief:"image/ief",iff:"image/x-iff",ilbm:"image/x-ilbm",ime:"text/x-imelody",imy:"text/x-imelody",ins:"text/x-tex",iptables:"text/x-iptables",iso:"application/x-cd-image",iso9660:"application/x-cd-image",it:"audio/x-it",j2k:"image/jp2",jad:"text/vndsunj2meapp-descriptor",jar:"application/x-java-archive",java:"text/x-java",jng:"image/x-jng",jnlp:"application/x-java-jnlp-file",jp2:"image/jp2",jpc:"image/jp2",jpe:"image/jpeg",jpeg:"image/jpeg",jpf:"image/jp2",jpg:"image/jpeg",jpr:"application/x-jbuilder-project",jpx:"image/jp2",js:"application/javascript",json:"application/json",jsonp:"application/jsonp",k25:"image/x-kodak-k25",kar:"audio/midi",karbon:"application/x-karbon",kdc:"image/x-kodak-kdc",kdelnk:"application/x-desktop",kexi:"application/x-kexiproject-sqlite3",kexic:"application/x-kexi-connectiondata",kexis:"application/x-kexiproject-shortcut",kfo:"application/x-kformula",kil:"application/x-killustrator",kino:"application/smil",kml:"application/vndgoogle-earthkml+xml",kmz:"application/vndgoogle-earthkmz",kon:"application/x-kontour",kpm:"application/x-kpovmodeler",kpr:"application/x-kpresenter",kpt:"application/x-kpresenter",kra:"application/x-krita",ksp:"application/x-kspread",kud:"application/x-kugar",kwd:"application/x-kword",kwt:"application/x-kword",la:"application/x-shared-library-la",latex:"text/x-tex",ldif:"text/x-ldif",lha:"application/x-lha",lhs:"text/x-literate-haskell",lhz:"application/x-lhz",log:"text/x-log",ltx:"text/x-tex",lua:"text/x-lua",lwo:"image/x-lwo",lwob:"image/x-lwo",lws:"image/x-lws",ly:"text/x-lilypond",lyx:"application/x-lyx",lz:"application/x-lzip",lzh:"application/x-lha",lzma:"application/x-lzma",lzo:"application/x-lzop",m:"text/x-matlab",m15:"audio/x-mod",m2t:"video/mpeg",m3u:"audio/x-mpegurl",m3u8:"audio/x-mpegurl",m4:"application/x-m4",m4a:"audio/mp4",m4b:"audio/x-m4b",m4v:"video/mp4",mab:"application/x-markaby",man:"application/x-troff-man",mbox:"application/mbox",md:"application/x-genesis-rom",mdb:"application/vndms-access",mdi:"image/vndms-modi",me:"text/x-troff-me",med:"audio/x-mod",metalink:"application/metalink+xml",mgp:"application/x-magicpoint",mid:"audio/midi",midi:"audio/midi",mif:"application/x-mif",minipsf:"audio/x-minipsf",mka:"audio/x-matroska",mkv:"video/x-matroska",ml:"text/x-ocaml",mli:"text/x-ocaml",mm:"text/x-troff-mm",mmf:"application/x-smaf",mml:"text/mathml",mng:"video/x-mng",mo:"application/x-gettext-translation",mo3:"audio/x-mo3",moc:"text/x-moc",mod:"audio/x-mod",mof:"text/x-mof",moov:"video/quicktime",mov:"video/quicktime",movie:"video/x-sgi-movie","mp+":"audio/x-musepack",mp2:"video/mpeg",mp3:"audio/mpeg",mp4:"video/mp4",mpc:"audio/x-musepack",mpe:"video/mpeg",mpeg:"video/mpeg",mpg:"video/mpeg",mpga:"audio/mpeg",mpp:"audio/x-musepack",mrl:"text/x-mrml",mrml:"text/x-mrml",mrw:"image/x-minolta-mrw",ms:"text/x-troff-ms",msi:"application/x-msi",msod:"image/x-msod",msx:"application/x-msx-rom",mtm:"audio/x-mod",mup:"text/x-mup",mxf:"application/mxf",n64:"application/x-n64-rom",nb:"application/mathematica",nc:"application/x-netcdf",nds:"application/x-nintendo-ds-rom",nef:"image/x-nikon-nef",nes:"application/x-nes-rom",nfo:"text/x-nfo",not:"text/x-mup",nsc:"application/x-netshow-channel",nsv:"video/x-nsv",o:"application/x-object",obj:"application/x-tgif",ocl:"text/x-ocl",oda:"application/oda",odb:"application/vndoasisopendocumentdatabase",odc:"application/vndoasisopendocumentchart",odf:"application/vndoasisopendocumentformula",odg:"application/vndoasisopendocumentgraphics",odi:"application/vndoasisopendocumentimage",odm:"application/vndoasisopendocumenttext-master",odp:"application/vndoasisopendocumentpresentation",ods:"application/vndoasisopendocumentspreadsheet",odt:"application/vndoasisopendocumenttext",oga:"audio/ogg",ogg:"video/x-theora+ogg",ogm:"video/x-ogm+ogg",ogv:"video/ogg",ogx:"application/ogg",old:"application/x-trash",oleo:"application/x-oleo",opml:"text/x-opml+xml",ora:"image/openraster",orf:"image/x-olympus-orf",otc:"application/vndoasisopendocumentchart-template",otf:"application/x-font-otf",otg:"application/vndoasisopendocumentgraphics-template",oth:"application/vndoasisopendocumenttext-web",otp:"application/vndoasisopendocumentpresentation-template",ots:"application/vndoasisopendocumentspreadsheet-template",ott:"application/vndoasisopendocumenttext-template",owl:"application/rdf+xml",oxt:"application/vndopenofficeorgextension",p:"text/x-pascal",p10:"application/pkcs10",p12:"application/x-pkcs12",p7b:"application/x-pkcs7-certificates",p7s:"application/pkcs7-signature",pack:"application/x-java-pack200",pak:"application/x-pak",par2:"application/x-par2",pas:"text/x-pascal",patch:"text/x-patch",pbm:"image/x-portable-bitmap",pcd:"image/x-photo-cd",pcf:"application/x-cisco-vpn-settings",pcfgz:"application/x-font-pcf",pcfz:"application/x-font-pcf",pcl:"application/vndhp-pcl",pcx:"image/x-pcx",pdb:"chemical/x-pdb",pdc:"application/x-aportisdoc",pdf:"application/pdf",pdfbz2:"application/x-bzpdf",pdfgz:"application/x-gzpdf",pef:"image/x-pentax-pef",pem:"application/x-x509-ca-cert",perl:"application/x-perl",pfa:"application/x-font-type1",pfb:"application/x-font-type1",pfx:"application/x-pkcs12",pgm:"image/x-portable-graymap",pgn:"application/x-chess-pgn",pgp:"application/pgp-encrypted",php:"application/x-php",php3:"application/x-php",php4:"application/x-php",pict:"image/x-pict",pict1:"image/x-pict",pict2:"image/x-pict",pickle:"application/python-pickle",pk:"application/x-tex-pk",pkipath:"application/pkix-pkipath",pkr:"application/pgp-keys",pl:"application/x-perl",pla:"audio/x-iriver-pla",pln:"application/x-planperfect",pls:"audio/x-scpls",pm:"application/x-perl",png:"image/png",pnm:"image/x-portable-anymap",pntg:"image/x-macpaint",po:"text/x-gettext-translation",por:"application/x-spss-por",pot:"text/x-gettext-translation-template",ppm:"image/x-portable-pixmap",pps:"application/vndms-powerpoint",ppt:"application/vndms-powerpoint",pptm:"application/vndopenxmlformats-officedocumentpresentationmlpresentation",pptx:"application/vndopenxmlformats-officedocumentpresentationmlpresentation",ppz:"application/vndms-powerpoint",prc:"application/x-palm-database",ps:"application/postscript",psbz2:"application/x-bzpostscript",psgz:"application/x-gzpostscript",psd:"image/vndadobephotoshop",psf:"audio/x-psf",psfgz:"application/x-gz-font-linux-psf",psflib:"audio/x-psflib",psid:"audio/prssid",psw:"application/x-pocket-word",pw:"application/x-pw",py:"text/x-python",pyc:"application/x-python-bytecode",pyo:"application/x-python-bytecode",qif:"image/x-quicktime",qt:"video/quicktime",qtif:"image/x-quicktime",qtl:"application/x-quicktime-media-link",qtvr:"video/quicktime",ra:"audio/vndrn-realaudio",raf:"image/x-fuji-raf",ram:"application/ram",rar:"application/x-rar",ras:"image/x-cmu-raster",raw:"image/x-panasonic-raw",rax:"audio/vndrn-realaudio",rb:"application/x-ruby",rdf:"application/rdf+xml",rdfs:"application/rdf+xml",reg:"text/x-ms-regedit",rej:"application/x-reject",rgb:"image/x-rgb",rle:"image/rle",rm:"application/vndrn-realmedia",rmj:"application/vndrn-realmedia",rmm:"application/vndrn-realmedia",rms:"application/vndrn-realmedia",rmvb:"application/vndrn-realmedia",rmx:"application/vndrn-realmedia",roff:"text/troff",rp:"image/vndrn-realpix",rpm:"application/x-rpm",rss:"application/rss+xml",rt:"text/vndrn-realtext",rtf:"application/rtf",rtx:"text/richtext",rv:"video/vndrn-realvideo",rvx:"video/vndrn-realvideo",s3m:"audio/x-s3m",sam:"application/x-amipro",sami:"application/x-sami",sav:"application/x-spss-sav",scm:"text/x-scheme",sda:"application/vndstardivisiondraw",sdc:"application/vndstardivisioncalc",sdd:"application/vndstardivisionimpress",sdp:"application/sdp",sds:"application/vndstardivisionchart",sdw:"application/vndstardivisionwriter",sgf:"application/x-go-sgf",sgi:"image/x-sgi",sgl:"application/vndstardivisionwriter",sgm:"text/sgml",sgml:"text/sgml",sh:"application/x-shellscript",shar:"application/x-shar",shn:"application/x-shorten",siag:"application/x-siag",sid:"audio/prssid",sik:"application/x-trash",sis:"application/vndsymbianinstall",sisx:"x-epoc/x-sisx-app",sit:"application/x-stuffit",siv:"application/sieve",sk:"image/x-skencil",sk1:"image/x-skencil",skr:"application/pgp-keys",slk:"text/spreadsheet",smaf:"application/x-smaf",smc:"application/x-snes-rom",smd:"application/vndstardivisionmail",smf:"application/vndstardivisionmath",smi:"application/x-sami",smil:"application/smil",sml:"application/smil",sms:"application/x-sms-rom",snd:"audio/basic",so:"application/x-sharedlib",spc:"application/x-pkcs7-certificates",spd:"application/x-font-speedo",spec:"text/x-rpm-spec",spl:"application/x-shockwave-flash",spx:"audio/x-speex",sql:"text/x-sql",sr2:"image/x-sony-sr2",src:"application/x-wais-source",srf:"image/x-sony-srf",srt:"application/x-subrip",ssa:"text/x-ssa",stc:"application/vndsunxmlcalctemplate",std:"application/vndsunxmldrawtemplate",sti:"application/vndsunxmlimpresstemplate",stm:"audio/x-stm",stw:"application/vndsunxmlwritertemplate",sty:"text/x-tex",sub:"text/x-subviewer",sun:"image/x-sun-raster",sv4cpio:"application/x-sv4cpio",sv4crc:"application/x-sv4crc",svg:"image/svg+xml",svgz:"image/svg+xml-compressed",swf:"application/x-shockwave-flash",sxc:"application/vndsunxmlcalc",sxd:"application/vndsunxmldraw",sxg:"application/vndsunxmlwriterglobal",sxi:"application/vndsunxmlimpress",sxm:"application/vndsunxmlmath",sxw:"application/vndsunxmlwriter",sylk:"text/spreadsheet",t:"text/troff",t2t:"text/x-txt2tags",tar:"application/x-tar",tarbz:"application/x-bzip-compressed-tar",tarbz2:"application/x-bzip-compressed-tar",targz:"application/x-compressed-tar",tarlzma:"application/x-lzma-compressed-tar",tarlzo:"application/x-tzo",tarxz:"application/x-xz-compressed-tar",tarz:"application/x-tarz",tbz:"application/x-bzip-compressed-tar",tbz2:"application/x-bzip-compressed-tar",tcl:"text/x-tcl",tex:"text/x-tex",texi:"text/x-texinfo",texinfo:"text/x-texinfo",tga:"image/x-tga",tgz:"application/x-compressed-tar",theme:"application/x-theme",themepack:"application/x-windows-themepack",tif:"image/tiff",tiff:"image/tiff",tk:"text/x-tcl",tlz:"application/x-lzma-compressed-tar",tnef:"application/vndms-tnef",tnf:"application/vndms-tnef",toc:"application/x-cdrdao-toc",torrent:"application/x-bittorrent",tpic:"image/x-tga",tr:"text/troff",ts:"application/x-linguist",tsv:"text/tab-separated-values",tta:"audio/x-tta",ttc:"application/x-font-ttf",ttf:"application/x-font-ttf",ttx:"application/x-font-ttx",txt:"text/plain",txz:"application/x-xz-compressed-tar",tzo:"application/x-tzo",ufraw:"application/x-ufraw",ui:"application/x-designer",uil:"text/x-uil",ult:"audio/x-mod",uni:"audio/x-mod",uri:"text/x-uri",url:"text/x-uri",ustar:"application/x-ustar",vala:"text/x-vala",vapi:"text/x-vala",vcf:"text/directory",vcs:"text/calendar",vct:"text/directory",vda:"image/x-tga",vhd:"text/x-vhdl",vhdl:"text/x-vhdl",viv:"video/vivo",vivo:"video/vivo",vlc:"audio/x-mpegurl",vob:"video/mpeg",voc:"audio/x-voc",vor:"application/vndstardivisionwriter",vst:"image/x-tga",wav:"audio/x-wav",wax:"audio/x-ms-asx",wb1:"application/x-quattropro",wb2:"application/x-quattropro",wb3:"application/x-quattropro",wbmp:"image/vndwapwbmp",wcm:"application/vndms-works",wdb:"application/vndms-works",webm:"video/webm",wk1:"application/vndlotus-1-2-3",wk3:"application/vndlotus-1-2-3",wk4:"application/vndlotus-1-2-3",wks:"application/vndms-works",wma:"audio/x-ms-wma",wmf:"image/x-wmf",wml:"text/vndwapwml",wmls:"text/vndwapwmlscript",wmv:"video/x-ms-wmv",wmx:"audio/x-ms-asx",wp:"application/vndwordperfect",wp4:"application/vndwordperfect",wp5:"application/vndwordperfect",wp6:"application/vndwordperfect",wpd:"application/vndwordperfect",wpg:"application/x-wpg",wpl:"application/vndms-wpl",wpp:"application/vndwordperfect",wps:"application/vndms-works",wri:"application/x-mswrite",wrl:"model/vrml",wv:"audio/x-wavpack",wvc:"audio/x-wavpack-correction",wvp:"audio/x-wavpack",wvx:"audio/x-ms-asx",x3f:"image/x-sigma-x3f",xac:"application/x-gnucash",xbel:"application/x-xbel",xbl:"application/xml",xbm:"image/x-xbitmap",xcf:"image/x-xcf",xcfbz2:"image/x-compressed-xcf",xcfgz:"image/x-compressed-xcf",xhtml:"application/xhtml+xml",xi:"audio/x-xi",xla:"application/vndms-excel",xlc:"application/vndms-excel",xld:"application/vndms-excel",xlf:"application/x-xliff",xliff:"application/x-xliff",xll:"application/vndms-excel",xlm:"application/vndms-excel",xls:"application/vndms-excel",xlsm:"application/vndopenxmlformats-officedocumentspreadsheetmlsheet",xlsx:"application/vndopenxmlformats-officedocumentspreadsheetmlsheet",xlt:"application/vndms-excel",xlw:"application/vndms-excel",xm:"audio/x-xm",xmf:"audio/x-xmf",xmi:"text/x-xmi",xml:"application/xml",xpm:"image/x-xpixmap",xps:"application/vndms-xpsdocument",xsl:"application/xml",xslfo:"text/x-xslfo",xslt:"application/xml",xspf:"application/xspf+xml",xul:"application/vndmozillaxul+xml",xwd:"image/x-xwindowdump",xyz:"chemical/x-pdb",xz:"application/x-xz",w2p:"application/w2p",z:"application/x-compress",zabw:"application/x-abiword",zip:"application/zip"}},3294:function(d,g,e){"use strict";e.d(g,{Z:function(){return c}});const r={PROXY_SERVER:"http://123.249.25.239",API_SERVER:"",REPORT_SERVER:"http://192.168.1.57:3001",IMG_SERVER:"http://123.249.25.239",FORGE:"https://code.educoder.net/",SSH_SERVER:"wss://webssh.educoder.net",SSH_Slice:"https://testfu.educoder.net",OFFICE_SERVER:"https://testoffice.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",TERMINAL_URL:"testsvc1.vnc.educoder.net",QQLoginCB:encodeURIComponent("https://test-newweb.educoder.net")};var i=null,c={local:{API_SERVER:"http://localhost:3000",IMG_SERVER:"https://testali-cdn.educoder.net/",REPORT_SERVER:"http://192.168.1.57:3001",FORGE:"https://test-oldweb.educoder.net/",SSH_SERVER:"wss://pre-webssh.educoder.net",SSH_Slice:"https://testfu.educoder.net",OFFICE_SERVER:"https://testoffice.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",QQLoginCB:encodeURIComponent("https://test-newweb.educoder.net")},dev:r,newReactTest:{API_SERVER:(()=>{let f;switch(location.host){case"test4.educoder.net":f="https://test4-data.educoder.net";break;case"test3.educoder.net":f="https://test3-data.educoder.net";break;case"test2.educoder.net":f="https://test2-data.educoder.net";break;default:f="https://test-data.educoder.net";break}return f})(),SSH_SERVER:"wss://pre-webssh.educoder.net",SSH_Slice:"https://testfu.educoder.net",IMG_SERVER:(()=>{let f="https://new-testali-cdn.educoder.net";const o=location.host;return o==="test3.educoder.net"&&(f="https://test3-data.educoder.net"),o==="test4.educoder.net"&&(f="https://test4-data.educoder.net"),f})(),OFFICE_SERVER:"https://testoffice.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",REPORT_SERVER:"http://192.168.1.57:3001",FORGE:"https://test-oldweb.educoder.net/",QQLoginCB:encodeURIComponent("https://test-data.educoder.net"),TERMINAL_URL:"testsvc1.vnc.educoder.net"},preNewBuild:{API_SERVER:(()=>{let f="https://pre-data.educoder.net";return location.host==="pre2.educoder.net"&&(f="https://pre-data2.educoder.net"),f})(),IMG_SERVER:"https://preali-cdn.educoder.net",SSH_SERVER:"wss://pre-webssh.educoder.net",SSH_Slice:"https://testfu.educoder.net",REPORT_SERVER:"http://192.168.1.57:3001",OFFICE_SERVER:"https://testoffice.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",FORGE:"https://forge.educoder.net/",QQLoginCB:encodeURIComponent("https://pre.educoder.net")},newBuild:{API_SERVER:(()=>{let f="https://data.educoder.net";return document.domain==="kepukehuan.educoder.net"?f="https://kepukehuan-data.educoder.net":(document.domain==="www.tokcoder.com"||document.domain==="tokcoder.com")&&(f="https://data.tokcoder.com"),f})(),SSH_SERVER:"wss://webssh.educoder.net",REPORT_SERVER:"http://192.168.1.57:3001",SSH_Slice:"https://fu.educoder.net",IMG_SERVER:"https://ali-cdn.educoder.net",OFFICE_SERVER:"https://officeserver.educoder.net",ONLYOFFICE:"https://office.educoder.net",OFFICE_IP:"https://officedata.educoder.net",FORGE:"https://code.educoder.net/",QQLoginCB:encodeURIComponent("https://www.educoder.net"),TERMINAL_URL:".jupyter.educoder.net"},newTest:{API_SERVER:"https://test-data.educoder.net",IMG_SERVER:"https://test-data.educoder.net",REPORT_SERVER:"http://192.168.1.57:3001",SSH_SERVER:"wss://pre-webssh.educoder.net",SSH_Slice:"https://testfu.educoder.net",OFFICE_SERVER:"https://testoffice.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",FORGE:"http://test-oldweb.educoder.net/",QQLoginCB:encodeURIComponent("https://test-data.educoder.net")},test:{API_SERVER:"",IMG_SERVER:"",REPORT_SERVER:"http://192.168.1.57:3001",FORGE:"http://test-oldweb.educoder.net/",SSH_Slice:"https://testfu.educoder.net",OFFICE_SERVER:"https://testoffice.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",SSH_SERVER:"wss://pre-webssh.educoder.net",QQLoginCB:encodeURIComponent("https://test-newweb.educoder.net")},preBuild:{API_SERVER:"",IMG_SERVER:"https://preali-cdn.educoder.net",REPORT_SERVER:"http://192.168.1.57:3001",FORGE:"https://forge.educoder.net/",SSH_Slice:"https://testfu.educoder.net",OFFICE_SERVER:"https://testoffice.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",SSH_SERVER:"wss://pre-webssh.educoder.net",QQLoginCB:encodeURIComponent("https://test-newweb.educoder.net")},newWeb:{API_SERVER:"https://test-newweb.educoder.net",IMG_SERVER:"https://test-newweb.educoder.net/",REPORT_SERVER:"http://192.168.1.57:3001",FORGE:"http://test-oldweb.educoder.net/",SSH_Slice:"https://testfu.educoder.net",OFFICE_SERVER:"https://testoffice.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",SSH_SERVER:"wss://pre-webssh.educoder.net",QQLoginCB:encodeURIComponent("https://test-newweb.educoder.net")},build:{API_SERVER:"",IMG_SERVER:"",REPORT_SERVER:"http://192.168.1.57:3001",FORGE:"https://forge.educoder.net/",SSH_SERVER:"wss://webssh.educoder.net",SSH_Slice:"https://fu.educoder.net",OFFICE_SERVER:"https://officeserver.educoder.net",ONLYOFFICE:"",OFFICE_IP:"https://officedata.educoder.net",QQLoginCB:encodeURIComponent("https://www.educoder.net"),TERMINAL_URL:".jupyter.educoder.net"}}[window.ENV||"dev"]},99064:function(d,g,e){"use strict";e.d(g,{IV:function(){return F},U2:function(){return ue},ZP:function(){return le},d4:function(){return ne},gz:function(){return ae},rz:function(){return se},v_:function(){return te}});var r=e(3294),i=e(28909),l=e(43418),c=e(8591),f=e(85582),o=e.n(f),h=e(59301),u=e(89070),a=e(955),x=e(89392),p=e.n(x),y=Object.defineProperty,_=Object.defineProperties,b=Object.getOwnPropertyDescriptors,S=Object.getOwnPropertySymbols,R=Object.prototype.hasOwnProperty,L=Object.prototype.propertyIsEnumerable,P=(M,Q,de)=>Q in M?y(M,Q,{enumerable:!0,configurable:!0,writable:!0,value:de}):M[Q]=de,D=(M,Q)=>{for(var de in Q||(Q={}))R.call(Q,de)&&P(M,de,Q[de]);if(S)for(var de of S(Q))L.call(Q,de)&&P(M,de,Q[de]);return M},B=(M,Q)=>_(M,b(Q)),$=(M,Q,de)=>new Promise((we,Te)=>{var je=_t=>{try{Ft(de.next(_t))}catch(Pt){Te(Pt)}},Fe=_t=>{try{Ft(de.throw(_t))}catch(Pt){Te(Pt)}},Ft=_t=>_t.done?we(_t.value):Promise.resolve(_t.value).then(je,Fe);Ft((de=de.apply(M,Q)).next())});let j;const K={200:"\u670D\u52A1\u5668\u6210\u529F\u8FD4\u56DE\u8BF7\u6C42\u7684\u6570\u636E\u3002",201:"\u65B0\u5EFA\u6216\u4FEE\u6539\u6570\u636E\u6210\u529F\u3002",202:"\u4E00\u4E2A\u8BF7\u6C42\u5DF2\u7ECF\u8FDB\u5165\u540E\u53F0\u6392\u961F\uFF08\u5F02\u6B65\u4EFB\u52A1\uFF09\u3002",204:"\u5220\u9664\u6570\u636E\u6210\u529F\u3002",400:"\u53D1\u51FA\u7684\u8BF7\u6C42\u6709\u9519\u8BEF\uFF0C\u670D\u52A1\u5668\u6CA1\u6709\u8FDB\u884C\u65B0\u5EFA\u6216\u4FEE\u6539\u6570\u636E\u7684\u64CD\u4F5C\u3002",401:"\u7528\u6237\u6CA1\u6709\u6743\u9650\uFF08\u4EE4\u724C\u3001\u7528\u6237\u540D\u3001\u5BC6\u7801\u9519\u8BEF\uFF09\u3002",403:"\u7528\u6237\u5F97\u5230\u6388\u6743\uFF0C\u4F46\u662F\u8BBF\u95EE\u662F\u88AB\u7981\u6B62\u7684\u3002",404:"\u53D1\u51FA\u7684\u8BF7\u6C42\u9488\u5BF9\u7684\u662F\u4E0D\u5B58\u5728\u7684\u8BB0\u5F55\uFF0C\u670D\u52A1\u5668\u6CA1\u6709\u8FDB\u884C\u64CD\u4F5C\u3002",406:"\u8BF7\u6C42\u7684\u683C\u5F0F\u4E0D\u53EF\u5F97\u3002",410:"\u8BF7\u6C42\u7684\u8D44\u6E90\u88AB\u6C38\u4E45\u5220\u9664\uFF0C\u4E14\u4E0D\u4F1A\u518D\u5F97\u5230\u7684\u3002",422:"\u5F53\u521B\u5EFA\u4E00\u4E2A\u5BF9\u8C61\u65F6\uFF0C\u53D1\u751F\u4E00\u4E2A\u9A8C\u8BC1\u9519\u8BEF\u3002",500:"\u670D\u52A1\u5668\u53D1\u751F\u9519\u8BEF\uFF0C\u8BF7\u68C0\u67E5\u670D\u52A1\u5668\u3002",502:"\u7F51\u5173\u9519\u8BEF\u3002",503:"\u670D\u52A1\u4E0D\u53EF\u7528\uFF0C\u670D\u52A1\u5668\u6682\u65F6\u8FC7\u8F7D\u6216\u7EF4\u62A4\u3002",504:"\u7F51\u5173\u8D85\u65F6\u3002"},V=(M,Q)=>$(void 0,null,function*(){if(M.status>=200&&M.status<300)return M;const de=K[M.status]||M.statusText;let we;var Te=M.json();yield Te.then((Fe,Ft)=>{setTimeout(()=>{let _t=(0,u.getDvaApp)()},400),we=Fe.message,window.showNetworkErrorTip(Fe.message||`\u8BF7\u6C42\u9519\u8BEF ${M.status}: ${M.message}`),i.Z.error({style:{wordBreak:"break-all"},message:Fe.message||`\u8BF7\u6C42\u9519\u8BEF ${M.status}: ${M.message}`,description:Fe.message?"":de})});const je=new Error(de);throw je.name=M.status,je.response=M,{data:M,code:M.status,message:we||de}}),W=(M,Q)=>{const de=M.headers.get("Content-Type");return de&&de.match(/application\/json/i)&&M.clone().text().then(()=>{}),M};function oe(M){try{return decodeURIComponent(M),decodeURIComponent(encodeURIComponent(M))===M}catch(Q){return!1}}const se=M=>{M=M||{};let Q="";for(let de in M)typeof M[de]=="object"?Array.isArray(M[de])&&M[de].forEach((we,Te)=>{Q+="&"+de+"[]="+we}):M[de]!==void 0&&(Q+="&"+de+"="+(oe(M[de])?M[de]:encodeURIComponent(M[de])));return Q.substr(1)};function le(M,Q,de,we){Q.method||(Q.method="get"),Q.method=Q.method.toUpperCase(),Q.mode="cors";const Te=D({},Q),{user:je}=(0,u.getDvaApp)()._store.getState(),{userInfo:Fe}=je,Ft=M+(Te.body?JSON.stringify(Te.body):""),_t=o().sha256().update(Ft).digest("hex"),Pt={credentials:"include",withCredentials:!0},qt={};Fe!=null&&Fe.login&&(qt.zzud=Fe==null?void 0:Fe.login,Fe!=null&&Fe.school_id&&(qt.zzsud=Fe==null?void 0:Fe.school_id),Te.params=D(D({},Te.params||{}),qt));let er=D(D({},Pt),(0,x.cloneDeep)(Te));(er.method==="POST"||er.method==="PUT"||er.method==="PATCH"||er.method==="DELETE")&&(de?(er.headers=B(D({_method:Q.method.toUpperCase()},er.headers),{"Pc-Authorization":(0,a.ej)("_educoder_session"),"X-Original-Protocol":location.protocol,"X-Original-Host":location.host}),er.body=Te.body):(er.headers=D({Accept:"application/json",_method:Q.method.toUpperCase(),"Content-Type":"application/json; charset=utf-8","Pc-Authorization":(0,a.ej)("_educoder_session"),"X-Original-Protocol":location.protocol,"X-Original-Host":location.host},er.headers),er.body=JSON.stringify(Te.body))),er.method=="GET"?(er.headers=B(D({Accept:"application/json","Content-Type":"application/json; charset=utf-8",_method:Q.method.toUpperCase()},er.headers),{"Pc-Authorization":(0,a.ej)("_educoder_session"),"X-Original-Protocol":location.protocol,"X-Original-Host":location.host}),Te.params&&se(Te.params)&&(M+="?"+se(Te.params))):qt.zzud&&(M+="?"+se(D({},qt)));const Jt=Te.expirys&&60;let Xe;(bt=>{bt.json="application/json;charset=UTF-8",bt.form="application/x-www-form-urlencoded; charset=UTF-8"})(Xe||(Xe={}));let It;(bt=>{bt.get="GET",bt.post="POST"})(It||(It={}));const zt=bt=>$(this,null,function*(){const ht=yield bt.arrayBuffer();let et;const Ue=new Blob([ht]);try{et=bt.headers.get("Content-Disposition").split(";")[1].replace("filename=","").replace(/[\s+,\',\",\‘,\’,\“,\”,\<,\>,\《,\》]/g,"")}catch($e){et="userfiles.zip"}const ge=document.createElement("a"),Ce=window.URL.createObjectURL(Ue),Me=et;return ge.href=Ce,ge.download=Me,ge.click(),window.URL.revokeObjectURL(Ce),ht});let st=r.Z.API_SERVER;return(window.ENV==="dev"||M.startsWith("http"))&&(st=""),er.method=="GET"&&er.params&&Object.keys(er.params).map(bt=>{if(er.params[bt]&&!Array.isArray(er.params[bt]))try{er.params[bt]=encodeURIComponent(decodeURIComponent(er.params[bt]))}catch(ht){er.params[bt]=encodeURIComponent(er.params[bt])}}),(0,a.Ec)(er,M),we&&(st=""),er.headers._method=er.method,er.headers["X-HTTP-Method-Override"]=er.method,er.method!=="GET"&&(er.method="POST"),fetch(st+M,er).then(bt=>V(bt,D({url:r.Z.API_SERVER+M},er))).then(bt=>W(bt,_t)).then(bt=>$(this,null,function*(){var ht,et,Ue,ge;try{const Me=bt.headers.get("cs");Me&&(0,a.d8)("_educoder_session",Me,1)}catch(Me){}if(bt.status===204)return bt.text();let Ce;if(bt.headers.get("content-type").indexOf("application/json")>-1){Ce=yield bt.json();try{const Me=/\(\s+\/api\/attachments\/(\d+)|\(\/api\/attachments\/(\d+)\//g,$e=/\"\/api\/attachments\/(\d+)\//g,He=/\(\s+\/files\/uploads\/(\d+)|\"\/files\/uploads\/(\d+)\//g,it=/\/api\/attachments\/(\d+)/g,ct=/\/attachments\/download\/(\d+)/g;let Vt=JSON.stringify(Ce).replace(it,(Wt,De,Je,Gt)=>{const kt=De||Je||Gt;return"/api/attachments/"+(0,a.Jn)(kt)}).replace(ct,(Wt,De,Je)=>{const Gt=De||Je;return"/attachments/download/"+(0,a.Jn)(Gt)}).replace(Me,(Wt,De,Je,Gt)=>{const kt=De||Je||Gt;return"(/api/attachments/"+(0,a.Jn)(kt)}).replace($e,(Wt,De,Je)=>{const Gt=De||Je;return'"/api/attachments/'+(0,a.Jn)(Gt)}).replace(He,(Wt,De,Je)=>{const Gt=De||Je;return"(/files/uploads/"+(0,a.Jn)(Gt)}).replace(/\r\n/g,` `);Ce=JSON.parse(Vt)}catch(Me){}}else er.headers["Content-Type"]==="application/xml"?Ce=yield bt.text():(ht=Te.body)!=null&&ht.autoDownload||(et=Te.params)!=null&&et.autoDownload?Ce=yield zt(bt):Ce=yield bt.arrayBuffer();try{Ce.status===401&&(!((Ue=er.params)!=null&&Ue.hidePopLogin)||!((ge=er.body)!=null&&ge.hidePopLogin))&&(0,u.getDvaApp)()._store.dispatch({type:"user/showPopLogin",payload:{showPopLogin:!0,showClosable:!0}}),Ce.status===402&&(localStorage.getItem("addinfo")==="2"?(0,u.getDvaApp)()._store.dispatch({type:"shixunHomeworks/setActionTabs",payload:{key:"\u586B\u5145\u4FE1\u606F\u5F39\u7A97"}}):(j=j||l.default.confirm({visible:!1,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88"}),j.update({centered:!0,visible:!0,title:"\u63D0\u793A",content:"\u60A8\u9700\u8981\u53BB\u5B8C\u5584\u60A8\u7684\u4E2A\u4EBA\u8D44\u6599\uFF0C\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD",okText:"\u7ACB\u5373\u5B8C\u5584",cancelText:"\u7A0D\u540E\u5B8C\u5584",onOk:()=>{u.history.push("/account/profile/edit")}})))}catch(Me){console.log("fetcherr",Me)}return Y(Ce,M),Ce})).catch(bt=>{try{const ht=bt.code;if(bt instanceof TypeError&&window.showNetworkErrorTip(`${M}${bt.message}`),ht){if(ht===401){(0,u.getDvaApp)()._store.dispatch({type:"user/showPopLogin",payload:{showPopLogin:!0,showClosable:!0}});return}Y(bt,M)}else M.includes("/file/filePatchMerge")?(0,u.getDvaApp)()._store.dispatch({type:"shixunHomeworks/setActionTabs",payload:{key:"\u5206\u7247\u4E13\u7528504",params:er.body}}):bt.message!=="403"&&window.showNetworkErrorTip(`${M}${bt.message}`);return bt}catch(ht){}})}let q=!1,J=!1;const Y=(M,Q)=>{var de,we,Te;if(M.status==-6&&!J){J=!0,(0,a.d8)("_educoder_session","logout",1),(0,a.m5)(),setTimeout(()=>J=!1,500),l.default.info({title:"\u7CFB\u7EDF\u901A\u77E5",content:M.message,okText:"\u77E5\u9053\u4E86",maskStyle:{background:"#000"},onOk:()=>{window.location.reload()}});return}if(M.status==-7){J=!0,setTimeout(()=>J=!1,500);let Fe="";(de=M==null?void 0:M.data)!=null&&de.exercise_list&&((Te=(we=M==null?void 0:M.data)==null?void 0:we.exercise_list)==null||Te.map(Ft=>{Fe+=`\u300A${Ft.exercise_name}\u300B`})),l.default.info({title:"\u63D0\u793A",content:h.createElement("div",{id:"fetchStatus7",className:"fetchStatus7"},""),maskClosable:!1,closeIcon:!1,width:550,maskStyle:{background:"#000"},okText:"\u8FD4\u56DE\u9996\u9875",onOk:()=>{window.location.href="/"}}),setTimeout(()=>{document.getElementById("fetchStatus7").innerHTML=`
\u60A8\u5F53\u524D\u6709\u6B63\u5728\u8FDB\u884C\u7684\u8003\u8BD5 ${Fe} \uFF0C\u8BF7\u5728\u8003\u8BD5\u7ED3\u675F\u540E\u8BBF\u95EE\u8BE5\u9875\u9762
`},500);return}if((M.status==-1||M.status==-2||M.status==-102||M.status>400)&&M.status!=403&&!J){J=!0,setTimeout(()=>J=!1,500),c.ZP.warning({content:M.message,key:"message-key"});return}const je={403:"/403",404:"/404",500:"/500"};if(je[M.status]&&!q){const{user:Fe}=(0,u.getDvaApp)()._store.getState(),{userInfo:Ft}=Fe;throw window.location.pathname.indexOf("/users")>-1&&document.domain==="kepukehuan.educoder.net"&&(q=!0),setTimeout(()=>q=!1,500),sessionStorage.setItem("errorStatus",JSON.stringify(M)),Object.values(je).includes(window.location.pathname)?console.log("\u5F53\u524D\u8DEF\u5F84\u5B58\u5728\u4E8E mapping \u4E2D, \u4E0D\u518D\u6267\u884C\u8DF3\u8F6C"):location.replace(je[M.status]),new Error("403")}};function ue(M,Q){return le(`/api/${M}`,{method:"Get",params:Q||{}})}function ne(M,Q){return le(`/${M}`,{method:"Get",params:Q})}function te(M,Q){return le(`/api/${M}`,{method:"Post",body:D({},Q)})}function ae(M,Q){return le(`/api/${M}`,{method:"Put",body:D({},Q)})}function F(M,Q){return le(`/api/${M}`,{method:"delete",body:D({},Q||{})})}},64892:function(d,g,e){"use strict";e.d(g,{Bn:function(){return l},hw:function(){return i},mi:function(){return r}});const r="WTJJelpXRXdaakk0Tm1SbE56UTFPRFl5TXpnNVltWmtZVE0zTVdSalltST0=",i="WVdaak1UVmhOVEF3TkRRd05qZGlZemRsTVdZeFptSTROek5rT0daak1UYz0=",l="T1RkaE1XWTRaalJoTUdaaE9HUmxaR016T0RGa05XTTNPRFkwTkdJeVpUQT0="},24768:function(d,g,e){"use strict";e.d(g,{AL:function(){return $},Iy:function(){return p},Qv:function(){return b},ez:function(){return B},jb:function(){return y}});var r=e(32834),i=e.n(r),l=e(11690),c=e.n(l);let f=1;function o(oe,se){const le=oe.match(/^(\s+)(?:```)/);if(le===null)return se;const q=le[1];return se.split(` `).map(J=>{const Y=J.match(/^\s+/);if(Y===null)return J;const[ue]=Y;return ue.length>=q.length?J.slice(q.length):J}).join(` `)}let h=[],u=["
    "];const a=new(i()).Renderer,x=/^ *(#{1,6}) *([^\n]+?) *(?:#+ *)?(?:\n+|$)/;function p(){h.length=0,u=["
      "]}const y={overflow:"hidden",WebkitBoxOrient:"vertical",display:"-webkit-box",WebkitLineClamp:2};function _(oe,se,le,q){if(se>=oe.length||oe[se].level<=le)return se;var J=oe[se];q.push("
    • "+J.text+""),se++;var Y=[];return se=_(oe,se,J.level,Y),Y.length>0&&(q.push("
        "),Y.forEach(function(ue){q.push(ue)}),q.push("
      ")),q.push("
    • "),se=_(oe,se,le,q),se}function b(){return _(h,0,0,u),u.push("
    "),u.join("")}const S={heading(oe){const se=x.exec(oe);if(f+=1,se)return{type:"heading",raw:se[0],depth:se[1].length,text:se[2]}},fences(oe){const se=this.rules.block.fences.exec(oe);if(se){const le=se[0];let q=o(le,se[3]||"");const J=se[2]?se[2].trim():se[2];if(["latex","katex","math"].indexOf(J)>=0){const Y=P(),ue=q;q=Y,D[Y]={type:"block",expression:ue}}return{type:"code",raw:le,lang:J,text:q}}}},R=/(?:\${2})([^\n`]+?)(?:\${2})/gi;let L=0;const P=()=>`__special_katext_id_${L++}__`;let D={};function B(){return D}function $(){L=0,D={}}function j(oe){return oe=oe.replace(R,(se,le)=>{const q=P();return D[q]={type:"inline",expression:le},q}),oe}const K=a.listitem;a.listitem=function(oe){return K(j(oe))};const V=a.paragraph;a.paragraph=function(oe){return V(j(oe))};const W=a.tablecell;a.tablecell=function(oe,se){return W(j(oe),se)},a.code=function(oe,se,le){const q=(se||"").match(/\S*/)[0];return q?["latex","katex","math"].indexOf(q)>=0?`

    ${oe}

    `:`
    ${le?oe:(0,l.escape)(oe,!0)}
    @@ -1480,6 +1480,6 @@ Schedule: ${G.map(Se=>zu(Se))}`),ie.length&&this.log(`Removed events ${ie}`),thi `).split(` `),U=[],ie=t?ss(t.baseTime,t.timescale):0;let ce="00:00.000",xe=0,Se=0,Re,qe=!0;z.oncue=function(rt){const $t=n[s];let rr=n.ccOffset;const ir=(xe-ie)/9e4;if($t!=null&&$t.new&&(Se!==void 0?rr=n.ccOffset=$t.start:vc(n,s,ir)),ir){if(!t){Re=new Error("Missing initPTS for VTT MPEGTS");return}rr=ir-n.presentationOffset}const $r=rt.endTime-rt.startTime,Hr=Ls((rt.startTime+rr-Se)*9e4,m*9e4)/9e4;rt.startTime=Math.max(Hr,0),rt.endTime=Math.max(Hr+$r,0);const cn=rt.text.trim();rt.text=decodeURIComponent(encodeURIComponent(cn)),rt.id||(rt.id=mc(rt.startTime,rt.endTime,cn)),rt.endTime>0&&U.push(rt)},z.onparsingerror=function(rt){Re=rt},z.onflush=function(){if(Re){T(Re);return}E(U)},G.forEach(rt=>{if(qe)if(rc(rt,"X-TIMESTAMP-MAP=")){qe=!1,rt.slice(16).split(",").forEach($t=>{rc($t,"LOCAL:")?ce=$t.slice(6):rc($t,"MPEGTS:")&&(xe=parseInt($t.slice(7)))});try{Se=xl(ce)/1e3}catch($t){Re=$t}return}else rt===""&&(qe=!1);z.parse(rt+` `)}),z.flush()}const Jo="stpp.ttml.im1t",Wu=/^(\d{2,}):(\d{2}):(\d{2}):(\d{2})\.?(\d+)?$/,El=/^(\d*(?:\.\d*)?)(h|m|s|ms|f|t)$/,gc={left:"start",center:"center",right:"end",start:"start",end:"end"};function pu(A,t,n,s){const m=bt(new Uint8Array(A),["mdat"]);if(m.length===0){s(new Error("Could not parse IMSC1 mdat"));return}const E=m.map(z=>q(z)),T=fa(t.baseTime,1,t.timescale);try{E.forEach(z=>n(yc(z,T)))}catch(z){s(z)}}function yc(A,t){const m=new DOMParser().parseFromString(A,"text/xml").getElementsByTagName("tt")[0];if(!m)throw new Error("Invalid ttml");const E={frameRate:30,subFrameRate:1,frameRateMultiplier:0,tickRate:0},T=Object.keys(E).reduce((ce,xe)=>(ce[xe]=m.getAttribute(`ttp:${xe}`)||E[xe],ce),{}),z=m.getAttribute("xml:space")!=="preserve",G=Cn(tl(m,"styling","style")),U=Cn(tl(m,"layout","region")),ie=tl(m,"body","[begin]");return[].map.call(ie,ce=>{const xe=Gn(ce,z);if(!xe||!ce.hasAttribute("begin"))return null;const Se=na(ce.getAttribute("begin"),T),Re=na(ce.getAttribute("dur"),T);let qe=na(ce.getAttribute("end"),T);if(Se===null)throw Wi(ce);if(qe===null){if(Re===null)throw Wi(ce);qe=Se+Re}const rt=new yl(Se-t,qe-t,xe);rt.id=mc(rt.startTime,rt.endTime,rt.text);const $t=U[ce.getAttribute("region")],rr=G[ce.getAttribute("style")],ir=Bi($t,rr,G),{textAlign:$r}=ir;if($r){const Hr=gc[$r];Hr&&(rt.lineAlign=Hr),rt.align=$r}return y(rt,ir),rt}).filter(ce=>ce!==null)}function tl(A,t,n){const s=A.getElementsByTagName(t)[0];return s?[].slice.call(s.querySelectorAll(n)):[]}function Cn(A){return A.reduce((t,n)=>{const s=n.getAttribute("xml:id");return s&&(t[s]=n),t},{})}function Gn(A,t){return[].slice.call(A.childNodes).reduce((n,s,m)=>{var E;return s.nodeName==="br"&&m?n+` -`:(E=s.childNodes)!=null&&E.length?Gn(s,t):t?n+s.textContent.trim().replace(/\s+/g," "):n+s.textContent},"")}function Bi(A,t,n){const s="http://www.w3.org/ns/ttml#styling";let m=null;const E=["displayAlign","textAlign","color","backgroundColor","fontSize","fontFamily"],T=A!=null&&A.hasAttribute("style")?A.getAttribute("style"):null;return T&&n.hasOwnProperty(T)&&(m=n[T]),E.reduce((z,G)=>{const U=ba(t,s,G)||ba(A,s,G)||ba(m,s,G);return U&&(z[G]=U),z},{})}function ba(A,t,n){return A&&A.hasAttributeNS(t,n)?A.getAttributeNS(t,n):null}function Wi(A){return new Error(`Could not parse ttml timestamp ${A}`)}function na(A,t){if(!A)return null;let n=Po(A);return n===null&&(Wu.test(A)?n=va(A,t):El.test(A)&&(n=ls(A,t))),n}function va(A,t){const n=Wu.exec(A),s=(n[4]|0)+(n[5]|0)/t.subFrameRate;return(n[1]|0)*3600+(n[2]|0)*60+(n[3]|0)+s/t.frameRate}function ls(A,t){const n=El.exec(A),s=Number(n[1]);switch(n[2]){case"h":return s*3600;case"m":return s*60;case"ms":return s*1e3;case"f":return s/t.frameRate;case"t":return s/t.tickRate}return s}class Ni{constructor(t,n){this.timelineController=void 0,this.cueRanges=[],this.trackName=void 0,this.startTime=null,this.endTime=null,this.screen=null,this.timelineController=t,this.trackName=n}dispatchCue(){this.startTime!==null&&(this.timelineController.addCues(this.trackName,this.startTime,this.endTime,this.screen,this.cueRanges),this.startTime=null)}newCue(t,n,s){(this.startTime===null||this.startTime>t)&&(this.startTime=t),this.endTime=n,this.screen=s,this.timelineController.createCaptionsTrack(this.trackName)}reset(){this.cueRanges=[],this.startTime=null}}class cs{constructor(t){this.hls=void 0,this.media=null,this.config=void 0,this.enabled=!0,this.Cues=void 0,this.textTracks=[],this.tracks=[],this.initPTS=[],this.unparsedVttFrags=[],this.captionsTracks={},this.nonNativeCaptionsTracks={},this.cea608Parser1=void 0,this.cea608Parser2=void 0,this.lastCc=-1,this.lastSn=-1,this.lastPartIndex=-1,this.prevCC=-1,this.vttCCs=Gu(),this.captionsProperties=void 0,this.hls=t,this.config=t.config,this.Cues=t.config.cueHandler,this.captionsProperties={textTrack1:{label:this.config.captionsTextTrack1Label,languageCode:this.config.captionsTextTrack1LanguageCode},textTrack2:{label:this.config.captionsTextTrack2Label,languageCode:this.config.captionsTextTrack2LanguageCode},textTrack3:{label:this.config.captionsTextTrack3Label,languageCode:this.config.captionsTextTrack3LanguageCode},textTrack4:{label:this.config.captionsTextTrack4Label,languageCode:this.config.captionsTextTrack4LanguageCode}},t.on(o.MEDIA_ATTACHING,this.onMediaAttaching,this),t.on(o.MEDIA_DETACHING,this.onMediaDetaching,this),t.on(o.MANIFEST_LOADING,this.onManifestLoading,this),t.on(o.MANIFEST_LOADED,this.onManifestLoaded,this),t.on(o.SUBTITLE_TRACKS_UPDATED,this.onSubtitleTracksUpdated,this),t.on(o.FRAG_LOADING,this.onFragLoading,this),t.on(o.FRAG_LOADED,this.onFragLoaded,this),t.on(o.FRAG_PARSING_USERDATA,this.onFragParsingUserdata,this),t.on(o.FRAG_DECRYPTED,this.onFragDecrypted,this),t.on(o.INIT_PTS_FOUND,this.onInitPtsFound,this),t.on(o.SUBTITLE_TRACKS_CLEARED,this.onSubtitleTracksCleared,this),t.on(o.BUFFER_FLUSHING,this.onBufferFlushing,this)}destroy(){const{hls:t}=this;t.off(o.MEDIA_ATTACHING,this.onMediaAttaching,this),t.off(o.MEDIA_DETACHING,this.onMediaDetaching,this),t.off(o.MANIFEST_LOADING,this.onManifestLoading,this),t.off(o.MANIFEST_LOADED,this.onManifestLoaded,this),t.off(o.SUBTITLE_TRACKS_UPDATED,this.onSubtitleTracksUpdated,this),t.off(o.FRAG_LOADING,this.onFragLoading,this),t.off(o.FRAG_LOADED,this.onFragLoaded,this),t.off(o.FRAG_PARSING_USERDATA,this.onFragParsingUserdata,this),t.off(o.FRAG_DECRYPTED,this.onFragDecrypted,this),t.off(o.INIT_PTS_FOUND,this.onInitPtsFound,this),t.off(o.SUBTITLE_TRACKS_CLEARED,this.onSubtitleTracksCleared,this),t.off(o.BUFFER_FLUSHING,this.onBufferFlushing,this),this.hls=this.config=this.media=null,this.cea608Parser1=this.cea608Parser2=void 0}initCea608Parsers(){const t=new Ni(this,"textTrack1"),n=new Ni(this,"textTrack2"),s=new Ni(this,"textTrack3"),m=new Ni(this,"textTrack4");this.cea608Parser1=new tc(1,t,n),this.cea608Parser2=new tc(3,s,m)}addCues(t,n,s,m,E){let T=!1;for(let z=E.length;z--;){const G=E[z],U=rl(G[0],G[1],n,s);if(U>=0&&(G[0]=Math.min(G[0],n),G[1]=Math.max(G[1],s),T=!0,U/(s-n)>.5))return}if(T||E.push([n,s]),this.config.renderTextTracksNatively){const z=this.captionsTracks[t];this.Cues.newCue(z,n,s,m)}else{const z=this.Cues.newCue(null,n,s,m);this.hls.trigger(o.CUES_PARSED,{type:"captions",cues:z,track:t})}}onInitPtsFound(t,{frag:n,id:s,initPTS:m,timescale:E}){const{unparsedVttFrags:T}=this;s===u.MAIN&&(this.initPTS[n.cc]={baseTime:m,timescale:E}),T.length&&(this.unparsedVttFrags=[],T.forEach(z=>{this.onFragLoaded(o.FRAG_LOADED,z)}))}getExistingTrack(t,n){const{media:s}=this;if(s)for(let m=0;m{qu(m[E]),delete m[E]}),this.nonNativeCaptionsTracks={}}onManifestLoading(){this.lastCc=-1,this.lastSn=-1,this.lastPartIndex=-1,this.prevCC=-1,this.vttCCs=Gu(),this._cleanTracks(),this.tracks=[],this.captionsTracks={},this.nonNativeCaptionsTracks={},this.textTracks=[],this.unparsedVttFrags=[],this.initPTS=[],this.cea608Parser1&&this.cea608Parser2&&(this.cea608Parser1.reset(),this.cea608Parser2.reset())}_cleanTracks(){const{media:t}=this;if(!t)return;const n=t.textTracks;if(n)for(let s=0;sE.textCodec===Jo);if(this.config.enableWebVTT||m&&this.config.enableIMSC1){if(_u(this.tracks,s)){this.tracks=s;return}if(this.textTracks=[],this.tracks=s,this.config.renderTextTracksNatively){const T=this.media,z=T?Qo(T.textTracks):null;if(this.tracks.forEach((G,U)=>{let ie;if(z){let ce=null;for(let xe=0;xeU!==null).map(U=>U.label);G.length&&this.hls.logger.warn(`Media element contains unused subtitle tracks: ${G.join(", ")}. Replace media element for each source to clear TextTracks and captions menu.`)}}else if(this.tracks.length){const T=this.tracks.map(z=>({label:z.name,kind:z.type.toLowerCase(),default:z.default,subtitleTrack:z}));this.hls.trigger(o.NON_NATIVE_TEXT_TRACKS_FOUND,{tracks:T})}}}onManifestLoaded(t,n){this.config.enableCEA708Captions&&n.captions&&n.captions.forEach(s=>{const m=/(?:CC|SERVICE)([1-4])/.exec(s.instreamId);if(!m)return;const E=`textTrack${m[1]}`,T=this.captionsProperties[E];T&&(T.label=s.name,s.lang&&(T.languageCode=s.lang),T.media=s)})}closedCaptionsForLevel(t){const n=this.hls.levels[t.level];return n==null?void 0:n.attrs["CLOSED-CAPTIONS"]}onFragLoading(t,n){if(this.enabled&&n.frag.type===u.MAIN){var s,m;const{cea608Parser1:E,cea608Parser2:T,lastSn:z}=this,{cc:G,sn:U}=n.frag,ie=(s=(m=n.part)==null?void 0:m.index)!=null?s:-1;E&&T&&(U!==z+1||U===z&&ie!==this.lastPartIndex+1||G!==this.lastCc)&&(E.reset(),T.reset()),this.lastCc=G,this.lastSn=U,this.lastPartIndex=ie}}onFragLoaded(t,n){const{frag:s,payload:m}=n;if(s.type===u.SUBTITLE)if(m.byteLength){const E=s.decryptdata,T="stats"in n;if(E==null||!E.encrypted||T){const z=this.tracks[s.level],G=this.vttCCs;G[s.cc]||(G[s.cc]={start:s.start,prevCC:this.prevCC,new:!0},this.prevCC=s.cc),z&&z.textCodec===Jo?this._parseIMSC1(s,m):this._parseVTTs(n)}}else this.hls.trigger(o.SUBTITLE_FRAG_PROCESSED,{success:!1,frag:s,error:new Error("Empty subtitle payload")})}_parseIMSC1(t,n){const s=this.hls;pu(n,this.initPTS[t.cc],m=>{this._appendCues(m,t.level),s.trigger(o.SUBTITLE_FRAG_PROCESSED,{success:!0,frag:t})},m=>{s.logger.log(`Failed to parse IMSC1: ${m}`),s.trigger(o.SUBTITLE_FRAG_PROCESSED,{success:!1,frag:t,error:m})})}_parseVTTs(t){var n;const{frag:s,payload:m}=t,{initPTS:E,unparsedVttFrags:T}=this,z=E.length-1;if(!E[s.cc]&&z===-1){T.push(t);return}const G=this.hls,U=(n=s.initSegment)!=null&&n.data?Gt(s.initSegment.data,new Uint8Array(m)).buffer:m;Xc(U,this.initPTS[s.cc],this.vttCCs,s.cc,s.start,ie=>{this._appendCues(ie,s.level),G.trigger(o.SUBTITLE_FRAG_PROCESSED,{success:!0,frag:s})},ie=>{const ce=ie.message==="Missing initPTS for VTT MPEGTS";ce?T.push(t):this._fallbackToIMSC1(s,m),G.logger.log(`Failed to parse VTT cue: ${ie}`),!(ce&&z>s.cc)&&G.trigger(o.SUBTITLE_FRAG_PROCESSED,{success:!1,frag:s,error:ie})})}_fallbackToIMSC1(t,n){const s=this.tracks[t.level];s.textCodec||pu(n,this.initPTS[t.cc],()=>{s.textCodec=Jo,this._parseIMSC1(t,n)},()=>{s.textCodec="wvtt"})}_appendCues(t,n){const s=this.hls;if(this.config.renderTextTracksNatively){const m=this.textTracks[n];if(!m||m.mode==="disabled")return;t.forEach(E=>bu(m,E))}else{const m=this.tracks[n];if(!m)return;const E=m.default?"default":"subtitles"+n;s.trigger(o.CUES_PARSED,{type:"subtitles",cues:t,track:E})}}onFragDecrypted(t,n){const{frag:s}=n;s.type===u.SUBTITLE&&this.onFragLoaded(o.FRAG_LOADED,n)}onSubtitleTracksCleared(){this.tracks=[],this.captionsTracks={}}onFragParsingUserdata(t,n){if(!this.enabled||!this.config.enableCEA708Captions)return;const{frag:s,samples:m}=n;if(!(s.type===u.MAIN&&this.closedCaptionsForLevel(s)==="NONE"))for(let E=0;Eml(z[G],n,s))}if(this.config.renderTextTracksNatively&&n===0&&m!==void 0){const{textTracks:z}=this;Object.keys(z).forEach(G=>ml(z[G],n,m))}}}extractCea608Data(t){const n=[[],[]],s=t[0]&31;let m=2;for(let E=0;E=16?G--:G++;const Se=el(U.trim()),Re=mc(t,n,Se);A!=null&&(ce=A.cues)!=null&&ce.getCueById(Re)||(T=new ie(t,n,Se),T.id=Re,T.line=xe+1,T.align="left",T.position=10+Math.min(80,Math.floor(G*8/32)*10),m.push(T))}return A&&m.length&&(m.sort((xe,Se)=>xe.line==="auto"||Se.line==="auto"?0:xe.line>8&&Se.line>8?Se.line-xe.line:xe.line-Se.line),m.forEach(xe=>bu(A,xe))),m}};function Ef(){if(self.fetch&&self.AbortController&&self.ReadableStream&&self.Request)try{return new self.ReadableStream({}),!0}catch(A){}return!1}const Nl=/(\d+)-(\d+)\/(\d+)/;class cf{constructor(t){this.fetchSetup=void 0,this.requestTimeout=void 0,this.request=null,this.response=null,this.controller=void 0,this.context=null,this.config=null,this.callbacks=null,this.stats=void 0,this.loader=null,this.fetchSetup=t.fetchSetup||nl,this.controller=new self.AbortController,this.stats=new F}destroy(){this.loader=this.callbacks=this.context=this.config=this.request=null,this.abortInternal(),this.response=null,this.fetchSetup=this.controller=this.stats=null}abortInternal(){this.controller&&!this.stats.loading.end&&(this.stats.aborted=!0,this.controller.abort())}abort(){var t;this.abortInternal(),(t=this.callbacks)!=null&&t.onAbort&&this.callbacks.onAbort(this.stats,this.context,this.response)}load(t,n,s){const m=this.stats;if(m.loading.start)throw new Error("Loader can only be used once.");m.loading.start=self.performance.now();const E=Lc(t,this.controller.signal),T=t.responseType==="arraybuffer",z=T?"byteLength":"length",{maxTimeToFirstByteMs:G,maxLoadTimeMs:U}=n.loadPolicy;this.context=t,this.config=n,this.callbacks=s,this.request=this.fetchSetup(t,E),self.clearTimeout(this.requestTimeout),n.timeout=G&&r(G)?G:U,this.requestTimeout=self.setTimeout(()=>{this.callbacks&&(this.abortInternal(),this.callbacks.onTimeout(m,t,this.response))},n.timeout),(Cu(this.request)?this.request.then(self.fetch):self.fetch(this.request)).then(ce=>{var xe;this.response=this.loader=ce;const Se=Math.max(self.performance.now(),m.loading.start);if(self.clearTimeout(this.requestTimeout),n.timeout=U,this.requestTimeout=self.setTimeout(()=>{this.callbacks&&(this.abortInternal(),this.callbacks.onTimeout(m,t,this.response))},U-(Se-m.loading.start)),!ce.ok){const{status:qe,statusText:rt}=ce;throw new Of(rt||"fetch, bad network response",qe,ce)}m.loading.first=Se,m.total=ff(ce.headers)||m.total;const Re=(xe=this.callbacks)==null?void 0:xe.onProgress;return Re&&r(n.highWaterMark)?this.loadProgressively(ce,m,t,n.highWaterMark,Re):T?ce.arrayBuffer():t.responseType==="json"?ce.json():ce.text()}).then(ce=>{var xe,Se;const Re=this.response;if(!Re)throw new Error("loader destroyed");self.clearTimeout(this.requestTimeout),m.loading.end=Math.max(self.performance.now(),m.loading.first);const qe=ce[z];qe&&(m.loaded=m.total=qe);const rt={url:Re.url,data:ce,code:Re.status},$t=(xe=this.callbacks)==null?void 0:xe.onProgress;$t&&!r(n.highWaterMark)&&$t(m,t,ce,Re),(Se=this.callbacks)==null||Se.onSuccess(rt,m,t,Re)}).catch(ce=>{var xe;if(self.clearTimeout(this.requestTimeout),m.aborted)return;const Se=ce&&ce.code||0,Re=ce?ce.message:null;(xe=this.callbacks)==null||xe.onError({code:Se,text:Re},t,ce?ce.details:null,m)})}getCacheAge(){let t=null;if(this.response){const n=this.response.headers.get("age");t=n?parseFloat(n):null}return t}getResponseHeader(t){return this.response?this.response.headers.get(t):null}loadProgressively(t,n,s,m=0,E){const T=new As,z=t.body.getReader(),G=()=>z.read().then(U=>{if(U.done)return T.dataLength&&E(n,s,T.flush().buffer,t),Promise.resolve(new ArrayBuffer(0));const ie=U.value,ce=ie.length;return n.loaded+=ce,ce=m&&E(n,s,T.flush().buffer,t)):E(n,s,ie.buffer,t),G()}).catch(()=>Promise.reject());return G()}}function Lc(A,t){const n={method:"GET",mode:"cors",credentials:"same-origin",signal:t,headers:new self.Headers(y({},A.headers))};return A.rangeEnd&&n.headers.set("Range","bytes="+A.rangeStart+"-"+String(A.rangeEnd-1)),n}function Qc(A){const t=Nl.exec(A);if(t)return parseInt(t[2])-parseInt(t[1])+1}function ff(A){const t=A.get("Content-Range");if(t){const s=Qc(t);if(r(s))return s}const n=A.get("Content-Length");if(n)return parseInt(n)}function nl(A,t){return new self.Request(A.url,t)}class Of extends Error{constructor(t,n,s){super(t),this.code=void 0,this.details=void 0,this.code=n,this.details=s}}const Vu=/^age:\s*[\d.]+\s*$/im;class bc{constructor(t){this.xhrSetup=void 0,this.requestTimeout=void 0,this.retryTimeout=void 0,this.retryDelay=void 0,this.config=null,this.callbacks=null,this.context=null,this.loader=null,this.stats=void 0,this.xhrSetup=t&&t.xhrSetup||null,this.stats=new F,this.retryDelay=0}destroy(){this.callbacks=null,this.abortInternal(),this.loader=null,this.config=null,this.context=null,this.xhrSetup=null}abortInternal(){const t=this.loader;self.clearTimeout(this.requestTimeout),self.clearTimeout(this.retryTimeout),t&&(t.onreadystatechange=null,t.onprogress=null,t.readyState!==4&&(this.stats.aborted=!0,t.abort()))}abort(){var t;this.abortInternal(),(t=this.callbacks)!=null&&t.onAbort&&this.callbacks.onAbort(this.stats,this.context,this.loader)}load(t,n,s){if(this.stats.loading.start)throw new Error("Loader can only be used once.");this.stats.loading.start=self.performance.now(),this.context=t,this.config=n,this.callbacks=s,this.loadInternal()}loadInternal(){const{config:t,context:n}=this;if(!t||!n)return;const s=this.loader=new self.XMLHttpRequest,m=this.stats;m.loading.first=0,m.loaded=0,m.aborted=!1;const E=this.xhrSetup;E?Promise.resolve().then(()=>{if(!(this.loader!==s||this.stats.aborted))return E(s,n.url)}).catch(T=>{if(!(this.loader!==s||this.stats.aborted))return s.open("GET",n.url,!0),E(s,n.url)}).then(()=>{this.loader!==s||this.stats.aborted||this.openAndSendXhr(s,n,t)}).catch(T=>{var z;(z=this.callbacks)==null||z.onError({code:s.status,text:T.message},n,s,m)}):this.openAndSendXhr(s,n,t)}openAndSendXhr(t,n,s){t.readyState||t.open("GET",n.url,!0);const m=n.headers,{maxTimeToFirstByteMs:E,maxLoadTimeMs:T}=s.loadPolicy;if(m)for(const z in m)t.setRequestHeader(z,m[z]);n.rangeEnd&&t.setRequestHeader("Range","bytes="+n.rangeStart+"-"+(n.rangeEnd-1)),t.onreadystatechange=this.readystatechange.bind(this),t.onprogress=this.loadprogress.bind(this),t.responseType=n.responseType,self.clearTimeout(this.requestTimeout),s.timeout=E&&r(E)?E:T,this.requestTimeout=self.setTimeout(this.loadtimeout.bind(this),s.timeout),t.send()}readystatechange(){const{context:t,loader:n,stats:s}=this;if(!t||!n)return;const m=n.readyState,E=this.config;if(!s.aborted&&m>=2&&(s.loading.first===0&&(s.loading.first=Math.max(self.performance.now(),s.loading.start),E.timeout!==E.loadPolicy.maxLoadTimeMs&&(self.clearTimeout(this.requestTimeout),E.timeout=E.loadPolicy.maxLoadTimeMs,this.requestTimeout=self.setTimeout(this.loadtimeout.bind(this),E.loadPolicy.maxLoadTimeMs-(s.loading.first-s.loading.start)))),m===4)){self.clearTimeout(this.requestTimeout),n.onreadystatechange=null,n.onprogress=null;const U=n.status,ie=n.responseType==="text"?n.responseText:null;if(U>=200&&U<300){const Re=ie!=null?ie:n.response;if(Re!=null){var T,z;s.loading.end=Math.max(self.performance.now(),s.loading.first);const qe=n.responseType==="arraybuffer"?Re.byteLength:Re.length;s.loaded=s.total=qe,s.bwEstimate=s.total*8e3/(s.loading.end-s.loading.first);const rt=(T=this.callbacks)==null?void 0:T.onProgress;rt&&rt(s,t,Re,n);const $t={url:n.responseURL,data:Re,code:U};(z=this.callbacks)==null||z.onSuccess($t,s,t,n);return}}const ce=E.loadPolicy.errorRetry,xe=s.retry,Se={url:t.url,data:void 0,code:U};if(Ze(ce,xe,!1,Se))this.retry(ce);else{var G;W.error(`${U} while loading ${t.url}`),(G=this.callbacks)==null||G.onError({code:U,text:n.statusText},t,n,s)}}}loadtimeout(){if(!this.config)return;const t=this.config.loadPolicy.timeoutRetry,n=this.stats.retry;if(Ze(t,n,!0))this.retry(t);else{var s;W.warn(`timeout while loading ${(s=this.context)==null?void 0:s.url}`);const m=this.callbacks;m&&(this.abortInternal(),m.onTimeout(this.stats,this.context,this.loader))}}retry(t){const{context:n,stats:s}=this;this.retryDelay=Pr(t,s.retry),s.retry++,W.warn(`${status?"HTTP Status "+status:"Timeout"} while loading ${n==null?void 0:n.url}, retrying ${s.retry}/${t.maxNumRetry} in ${this.retryDelay}ms`),this.abortInternal(),this.loader=null,self.clearTimeout(this.retryTimeout),this.retryTimeout=self.setTimeout(this.loadInternal.bind(this),this.retryDelay)}loadprogress(t){const n=this.stats;n.loaded=t.loaded,t.lengthComputable&&(n.total=t.total)}getCacheAge(){let t=null;if(this.loader&&Vu.test(this.loader.getAllResponseHeaders())){const n=this.loader.getResponseHeader("age");t=n?parseFloat(n):null}return t}getResponseHeader(t){return this.loader&&new RegExp(`^${t}:\\s*[\\d.]+\\s*$`,"im").test(this.loader.getAllResponseHeaders())?this.loader.getResponseHeader(t):null}}const df={maxTimeToFirstByteMs:8e3,maxLoadTimeMs:2e4,timeoutRetry:null,errorRetry:null},Ho=b(b({autoStartLoad:!0,startPosition:-1,defaultAudioCodec:void 0,debug:!1,capLevelOnFPSDrop:!1,capLevelToPlayerSize:!1,ignoreDevicePixelRatio:!1,maxDevicePixelRatio:Number.POSITIVE_INFINITY,preferManagedMediaSource:!0,initialLiveManifestSize:1,maxBufferLength:30,backBufferLength:1/0,frontBufferFlushThreshold:1/0,maxBufferSize:60*1e3*1e3,maxFragLookUpTolerance:.25,maxBufferHole:.1,detectStallWithCurrentTimeMs:1250,highBufferWatchdogPeriod:2,nudgeOffset:.1,nudgeMaxRetry:3,nudgeOnVideoHole:!0,liveSyncDurationCount:3,liveSyncOnStallIncrease:1,liveMaxLatencyDurationCount:1/0,liveSyncDuration:void 0,liveMaxLatencyDuration:void 0,maxLiveSyncPlaybackRate:1,liveDurationInfinity:!1,liveBackBufferLength:null,maxMaxBufferLength:600,enableWorker:!0,workerPath:null,enableSoftwareAES:!0,startLevel:void 0,startFragPrefetch:!1,fpsDroppedMonitoringPeriod:5e3,fpsDroppedMonitoringThreshold:.2,appendErrorMaxRetry:3,ignorePlaylistParsingErrors:!1,loader:bc,fLoader:void 0,pLoader:void 0,xhrSetup:void 0,licenseXhrSetup:void 0,licenseResponseCallback:void 0,abrController:Gi,bufferController:Qu,capLevelController:Qs,errorController:ar,fpsController:_l,stretchShortVideoTrack:!1,maxAudioFramesDrift:1,forceKeyFrameOnDiscontinuity:!0,abrEwmaFastLive:3,abrEwmaSlowLive:9,abrEwmaFastVoD:3,abrEwmaSlowVoD:9,abrEwmaDefaultEstimate:5e5,abrEwmaDefaultEstimateMax:5e6,abrBandWidthFactor:.95,abrBandWidthUpFactor:.7,abrMaxWithRealBitrate:!1,maxStarvationDelay:4,maxLoadingDelay:4,minAutoBitrate:0,emeEnabled:!1,widevineLicenseUrl:void 0,drmSystems:{},drmSystemOptions:{},requestMediaKeySystemAccessFunc:ui,testBandwidth:!0,progressive:!1,lowLatencyMode:!0,cmcd:void 0,enableDateRangeMetadataCues:!0,enableEmsgMetadataCues:!0,enableEmsgKLVMetadata:!1,enableID3MetadataCues:!0,enableInterstitialPlayback:!0,interstitialAppendInPlace:!0,interstitialLiveLookAhead:10,useMediaCapabilities:!0,certLoadPolicy:{default:df},keyLoadPolicy:{default:{maxTimeToFirstByteMs:8e3,maxLoadTimeMs:2e4,timeoutRetry:{maxNumRetry:1,retryDelayMs:1e3,maxRetryDelayMs:2e4,backoff:"linear"},errorRetry:{maxNumRetry:8,retryDelayMs:1e3,maxRetryDelayMs:2e4,backoff:"linear"}}},manifestLoadPolicy:{default:{maxTimeToFirstByteMs:1/0,maxLoadTimeMs:2e4,timeoutRetry:{maxNumRetry:2,retryDelayMs:0,maxRetryDelayMs:0},errorRetry:{maxNumRetry:1,retryDelayMs:1e3,maxRetryDelayMs:8e3}}},playlistLoadPolicy:{default:{maxTimeToFirstByteMs:1e4,maxLoadTimeMs:2e4,timeoutRetry:{maxNumRetry:2,retryDelayMs:0,maxRetryDelayMs:0},errorRetry:{maxNumRetry:2,retryDelayMs:1e3,maxRetryDelayMs:8e3}}},fragLoadPolicy:{default:{maxTimeToFirstByteMs:1e4,maxLoadTimeMs:12e4,timeoutRetry:{maxNumRetry:4,retryDelayMs:0,maxRetryDelayMs:0},errorRetry:{maxNumRetry:6,retryDelayMs:1e3,maxRetryDelayMs:8e3}}},steeringManifestLoadPolicy:{default:{maxTimeToFirstByteMs:1e4,maxLoadTimeMs:2e4,timeoutRetry:{maxNumRetry:2,retryDelayMs:0,maxRetryDelayMs:0},errorRetry:{maxNumRetry:1,retryDelayMs:1e3,maxRetryDelayMs:8e3}}},interstitialAssetListLoadPolicy:{default:{maxTimeToFirstByteMs:1e4,maxLoadTimeMs:3e4,timeoutRetry:{maxNumRetry:0,retryDelayMs:0,maxRetryDelayMs:0},errorRetry:{maxNumRetry:0,retryDelayMs:1e3,maxRetryDelayMs:8e3}}},manifestLoadingTimeOut:1e4,manifestLoadingMaxRetry:1,manifestLoadingRetryDelay:1e3,manifestLoadingMaxRetryTimeout:64e3,levelLoadingTimeOut:1e4,levelLoadingMaxRetry:4,levelLoadingRetryDelay:1e3,levelLoadingMaxRetryTimeout:64e3,fragLoadingTimeOut:2e4,fragLoadingMaxRetry:6,fragLoadingRetryDelay:1e3,fragLoadingMaxRetryTimeout:64e3},qc()),{},{subtitleStreamController:Kc,subtitleTrackController:xf,timelineController:cs,audioStreamController:Nu,audioTrackController:si,emeController:ju,cmcdController:yu,contentSteeringController:Xl,interstitialsController:Rc});function qc(){return{cueHandler:Df,enableWebVTT:!0,enableIMSC1:!0,enableCEA708Captions:!0,captionsTextTrack1Label:"English",captionsTextTrack1LanguageCode:"en",captionsTextTrack2Label:"Spanish",captionsTextTrack2LanguageCode:"es",captionsTextTrack3Label:"Unknown CC",captionsTextTrack3LanguageCode:"",captionsTextTrack4Label:"Unknown CC",captionsTextTrack4LanguageCode:"",renderTextTracksNatively:!0}}function hf(A,t,n){if((t.liveSyncDurationCount||t.liveMaxLatencyDurationCount)&&(t.liveSyncDuration||t.liveMaxLatencyDuration))throw new Error("Illegal hls.js config: don't mix up liveSyncDurationCount/liveMaxLatencyDurationCount and liveSyncDuration/liveMaxLatencyDuration");if(t.liveMaxLatencyDurationCount!==void 0&&(t.liveSyncDurationCount===void 0||t.liveMaxLatencyDurationCount<=t.liveSyncDurationCount))throw new Error('Illegal hls.js config: "liveMaxLatencyDurationCount" must be greater than "liveSyncDurationCount"');if(t.liveMaxLatencyDuration!==void 0&&(t.liveSyncDuration===void 0||t.liveMaxLatencyDuration<=t.liveSyncDuration))throw new Error('Illegal hls.js config: "liveMaxLatencyDuration" must be greater than "liveSyncDuration"');const s=ku(A),m=["manifest","level","frag"],E=["TimeOut","MaxRetry","RetryDelay","MaxRetryTimeout"];return m.forEach(T=>{const z=`${T==="level"?"playlist":T}LoadPolicy`,G=t[z]===void 0,U=[];E.forEach(ie=>{const ce=`${T}Loading${ie}`,xe=t[ce];if(xe!==void 0&&G){U.push(ce);const Se=s[z].default;switch(t[z]={default:Se},ie){case"TimeOut":Se.maxLoadTimeMs=xe,Se.maxTimeToFirstByteMs=xe;break;case"MaxRetry":Se.errorRetry.maxNumRetry=xe,Se.timeoutRetry.maxNumRetry=xe;break;case"RetryDelay":Se.errorRetry.retryDelayMs=xe,Se.timeoutRetry.retryDelayMs=xe;break;case"MaxRetryTimeout":Se.errorRetry.maxRetryDelayMs=xe,Se.timeoutRetry.maxRetryDelayMs=xe;break}}}),U.length&&n.warn(`hls.js config: "${U.join('", "')}" setting(s) are deprecated, use "${z}": ${Nn(t[z])}`)}),b(b({},s),t)}function ku(A){return A&&typeof A=="object"?Array.isArray(A)?A.map(ku):Object.keys(A).reduce((t,n)=>(t[n]=ku(A[n]),t),{}):A}function xc(A,t){const n=A.loader;n!==cf&&n!==bc?(t.log("[config]: Custom loader detected, cannot enable progressive streaming"),A.progressive=!1):Ef()&&(A.loader=cf,A.progressive=!0,A.enableSoftwareAES=!0,t.log("[config]: Progressive streaming enabled, using FetchLoader"))}const Io=2,pf=.1,_f=.05,Mc=100;class Fc extends fs{constructor(t,n){super("gap-controller",t.logger),this.hls=null,this.fragmentTracker=null,this.media=null,this.mediaSource=void 0,this.nudgeRetry=0,this.stallReported=!1,this.stalled=null,this.moved=!1,this.seeking=!1,this.buffered={},this.lastCurrentTime=0,this.ended=0,this.waiting=0,this.onMediaPlaying=()=>{this.ended=0,this.waiting=0},this.onMediaWaiting=()=>{var s;(s=this.media)!=null&&s.seeking||(this.waiting=self.performance.now(),this.tick())},this.onMediaEnded=()=>{if(this.hls){var s;this.ended=((s=this.media)==null?void 0:s.currentTime)||1,this.hls.trigger(o.MEDIA_ENDED,{stalled:!1})}},this.hls=t,this.fragmentTracker=n,this.registerListeners()}registerListeners(){const{hls:t}=this;t&&(t.on(o.MEDIA_ATTACHED,this.onMediaAttached,this),t.on(o.MEDIA_DETACHING,this.onMediaDetaching,this),t.on(o.BUFFER_APPENDED,this.onBufferAppended,this))}unregisterListeners(){const{hls:t}=this;t&&(t.off(o.MEDIA_ATTACHED,this.onMediaAttached,this),t.off(o.MEDIA_DETACHING,this.onMediaDetaching,this),t.off(o.BUFFER_APPENDED,this.onBufferAppended,this))}destroy(){super.destroy(),this.unregisterListeners(),this.media=this.hls=this.fragmentTracker=null,this.mediaSource=void 0}onMediaAttached(t,n){this.setInterval(Mc),this.mediaSource=n.mediaSource;const s=this.media=n.media;To(s,"playing",this.onMediaPlaying),To(s,"waiting",this.onMediaWaiting),To(s,"ended",this.onMediaEnded)}onMediaDetaching(t,n){this.clearInterval();const{media:s}=this;s&&(qo(s,"playing",this.onMediaPlaying),qo(s,"waiting",this.onMediaWaiting),qo(s,"ended",this.onMediaEnded),this.media=null),this.mediaSource=void 0}onBufferAppended(t,n){this.buffered=n.timeRanges}get hasBuffered(){return Object.keys(this.buffered).length>0}tick(){var t;if(!((t=this.media)!=null&&t.readyState)||!this.hasBuffered)return;const n=this.media.currentTime;this.poll(n,this.lastCurrentTime),this.lastCurrentTime=n}poll(t,n){var s,m;const E=(s=this.hls)==null?void 0:s.config;if(!E)return;const{media:T,stalled:z}=this;if(!T)return;const{seeking:G}=T,U=this.seeking&&!G,ie=!this.seeking&&G,ce=T.paused&&!G||T.ended||T.playbackRate===0;if(this.seeking=G,t!==n){n&&(this.ended=0),this.moved=!0,G||(this.nudgeRetry=0,E.nudgeOnVideoHole&&!ce&&t>n&&this.nudgeOnVideoHole(t,n)),this.waiting===0&&this.stallResolved(t);return}if(ie||U){U&&this.stallResolved(t);return}if(ce){this.nudgeRetry=0,this.stallResolved(t),!this.ended&&T.ended&&this.hls&&(this.ended=t||1,this.hls.trigger(o.MEDIA_ENDED,{stalled:!1}));return}if(!Vn.getBuffered(T).length){this.nudgeRetry=0;return}const xe=Vn.bufferInfo(T,t,0),Se=xe.nextStart||0,Re=this.fragmentTracker;if(G&&Re&&this.hls){const cn=Jc(this.hls.inFlightFragments,t),Wr=xe.len>Io,sn=!Se||cn||Se-t>Io&&!Re.getPartialFragment(t);if(Wr||sn)return;this.moved=!1}const qe=(m=this.hls)==null?void 0:m.latestLevelDetails;if(!this.moved&&this.stalled!==null&&Re){if(!(xe.len>0)&&!Se)return;const Wr=Math.max(Se,xe.start||0)-t,hn=!!(qe!=null&&qe.live)?qe.targetduration*2:Io,Kr=Re.getPartialFragment(t);if(Wr>0&&(Wr<=hn||Kr)){T.paused||this._trySkipBufferHole(Kr);return}}const rt=E.detectStallWithCurrentTimeMs,$t=self.performance.now(),rr=this.waiting;if(z===null){rr>0&&$t-rr=rt||rr)&&this.hls){var $r;if((($r=this.mediaSource)==null?void 0:$r.readyState)==="ended"&&!(qe!=null&&qe.live)&&Math.abs(t-((qe==null?void 0:qe.edge)||0))<1){if(this.ended)return;this.ended=t||1,this.hls.trigger(o.MEDIA_ENDED,{stalled:!0});return}if(this._reportStall(xe),!this.media||!this.hls)return}const Hr=Vn.bufferInfo(T,t,E.maxBufferHole);this._tryFixBufferStall(Hr,ir)}stallResolved(t){const n=this.stalled;if(n&&this.hls&&(this.stalled=null,this.stallReported)){const s=self.performance.now()-n;this.log(`playback not stuck anymore @${t}, after ${Math.round(s)}ms`),this.stallReported=!1,this.waiting=0,this.hls.trigger(o.STALL_RESOLVED,{})}}nudgeOnVideoHole(t,n){var s;const m=this.buffered.video;if(this.hls&&this.media&&this.fragmentTracker&&(s=this.buffered.audio)!=null&&s.length&&m&&m.length>1&&t>m.end(0)){const E=Vn.bufferedInfo(Vn.timeRangesToArray(this.buffered.audio),t,0);if(E.len>1&&n>=E.start){const T=Vn.timeRangesToArray(m),z=Vn.bufferedInfo(T,n,0).bufferedIndex;if(z>-1&&zz)&&ie-U<1&&t-U<2){const ce=new Error(`nudging playhead to flush pipeline after video hole. currentTime: ${t} hole: ${U} -> ${ie} buffered index: ${G}`);this.warn(ce.message),this.media.currentTime+=1e-6;const xe=this.fragmentTracker.getPartialFragment(t)||void 0,Se=Vn.bufferInfo(this.media,t,0);this.hls.trigger(o.ERROR,{type:c.MEDIA_ERROR,details:f.BUFFER_SEEK_OVER_HOLE,fatal:!1,error:ce,reason:ce.message,frag:xe,buffer:Se.len,bufferInfo:Se})}}}}}_tryFixBufferStall(t,n){var s,m;const{fragmentTracker:E,media:T}=this,z=(s=this.hls)==null?void 0:s.config;if(!T||!E||!z)return;const G=T.currentTime,U=(m=this.hls)==null?void 0:m.latestLevelDetails,ie=E.getPartialFragment(G);if((ie||U!=null&&U.live&&G1&&t.len>z.maxBufferHole||t.nextStart&&t.nextStart-Gz.highBufferWatchdogPeriod*1e3||this.waiting)&&(this.warn("Trying to nudge playhead over buffer-hole"),this._tryNudgeBuffer(t))}_reportStall(t){const{hls:n,media:s,stallReported:m,stalled:E}=this;if(!m&&E!==null&&s&&n){this.stallReported=!0;const T=new Error(`Playback stalling at @${s.currentTime} due to low buffer (${Nn(t)})`);this.warn(T.message),n.trigger(o.ERROR,{type:c.MEDIA_ERROR,details:f.BUFFER_STALLED_ERROR,fatal:!1,error:T,buffer:t.len,bufferInfo:t,stalled:{start:E}})}}_trySkipBufferHole(t){var n;const{fragmentTracker:s,media:m}=this,E=(n=this.hls)==null?void 0:n.config;if(!m||!s||!E)return 0;const T=m.currentTime,z=Vn.bufferInfo(m,T,0),G=T0&&z.len<1&&m.readyState<3,xe=G-T;if(xe>0&&(ie||ce)){if(xe>E.maxBufferHole){let Re=!1;if(T===0){const qe=s.getAppendedFrag(0,u.MAIN);qe&&G{const A=wf();try{A&&new A(0,Number.POSITIVE_INFINITY,"")}catch(t){return Number.MAX_VALUE}return Number.POSITIVE_INFINITY})();function Rf(A){return Uint8Array.from(A.replace(/^0x/,"").replace(/([\da-fA-F]{2}) ?/g,"0x$1 ").replace(/ +$/,"").split(" ")).buffer}class mf{constructor(t){this.hls=void 0,this.id3Track=null,this.media=null,this.dateRangeCuesAppended={},this.removeCues=!0,this.onEventCueEnter=()=>{this.hls&&this.hls.trigger(o.EVENT_CUE_ENTER,{})},this.hls=t,this._registerListeners()}destroy(){this._unregisterListeners(),this.id3Track=null,this.media=null,this.dateRangeCuesAppended={},this.hls=this.onEventCueEnter=null}_registerListeners(){const{hls:t}=this;t.on(o.MEDIA_ATTACHING,this.onMediaAttaching,this),t.on(o.MEDIA_ATTACHED,this.onMediaAttached,this),t.on(o.MEDIA_DETACHING,this.onMediaDetaching,this),t.on(o.MANIFEST_LOADING,this.onManifestLoading,this),t.on(o.FRAG_PARSING_METADATA,this.onFragParsingMetadata,this),t.on(o.BUFFER_FLUSHING,this.onBufferFlushing,this),t.on(o.LEVEL_UPDATED,this.onLevelUpdated,this),t.on(o.LEVEL_PTS_UPDATED,this.onLevelPtsUpdated,this)}_unregisterListeners(){const{hls:t}=this;t.off(o.MEDIA_ATTACHING,this.onMediaAttaching,this),t.off(o.MEDIA_ATTACHED,this.onMediaAttached,this),t.off(o.MEDIA_DETACHING,this.onMediaDetaching,this),t.off(o.MANIFEST_LOADING,this.onManifestLoading,this),t.off(o.FRAG_PARSING_METADATA,this.onFragParsingMetadata,this),t.off(o.BUFFER_FLUSHING,this.onBufferFlushing,this),t.off(o.LEVEL_UPDATED,this.onLevelUpdated,this),t.off(o.LEVEL_PTS_UPDATED,this.onLevelPtsUpdated,this)}onMediaAttaching(t,n){var s;this.media=n.media,((s=n.overrides)==null?void 0:s.cueRemoval)===!1&&(this.removeCues=!1)}onMediaAttached(){const t=this.hls.latestLevelDetails;t&&this.updateDateRangeCues(t)}onMediaDetaching(t,n){this.media=null,!n.transferMedia&&(this.id3Track&&(this.removeCues&&qu(this.id3Track,this.onEventCueEnter),this.id3Track=null),this.dateRangeCuesAppended={})}onManifestLoading(){this.dateRangeCuesAppended={}}createTrack(t){const n=this.getID3Track(t.textTracks);return n.mode="hidden",n}getID3Track(t){if(this.media){for(let n=0;nSf&&(ce=Sf),ce-ie<=0&&(ce=ie+kf);for(let Se=0;Seie.type===ye.audioId3&&G:m==="video"?U=ie=>ie.type===ye.emsg&&z:U=ie=>ie.type===ye.audioId3&&G||ie.type===ye.emsg&&z,ml(E,n,s,U)}}onLevelUpdated(t,{details:n}){this.updateDateRangeCues(n,!0)}onLevelPtsUpdated(t,n){Math.abs(n.drift)>.01&&this.updateDateRangeCues(n.details)}updateDateRangeCues(t,n){if(!this.media||!t.hasProgramDateTime||!this.hls.config.enableDateRangeMetadataCues)return;const{id3Track:s}=this,{dateRanges:m}=t,E=Object.keys(m);let T=this.dateRangeCuesAppended;if(s&&n){var z;if((z=s.cues)!=null&&z.length){const ie=Object.keys(T).filter(ce=>!E.includes(ce));for(let ce=ie.length;ce--;){const xe=ie[ce],Se=T[xe].cues;delete T[xe],Object.keys(Se).forEach(Re=>{try{const qe=Se[Re];qe.removeEventListener("enter",this.onEventCueEnter),s.removeCue(qe)}catch(qe){}})}}else T=this.dateRangeCuesAppended={}}const G=t.fragments[t.fragments.length-1];if(E.length===0||!r(G==null?void 0:G.programDateTime))return;this.id3Track||(this.id3Track=this.createTrack(this.media));const U=wf();for(let ie=0;ie{if(Wr!==xe.id){const sn=m[Wr];if(sn.class===xe.class&&sn.startDate>xe.startDate&&(!cn||xe.startDate.01&&(Wr.startTime=Se,Wr.endTime=$t);else if(U){let sn=xe.attr[cn];Ln(cn)&&(sn=Rf(sn));const Kr=ef(U,Se,$t,{key:cn,data:sn},ye.dateRange);Kr&&(Kr.id=ce,this.id3Track.addCue(Kr),qe[cn]=Kr,this.hls.config.interstitialsController&&(cn==="X-ASSET-LIST"||cn==="X-ASSET-URL")&&Kr.addEventListener("enter",this.onEventCueEnter))}}T[ce]={cues:qe,dateRange:xe,durationKnown:rt}}}}class zf{constructor(t){this.hls=void 0,this.config=void 0,this.media=null,this.currentTime=0,this.stallCount=0,this._latency=null,this._targetLatencyUpdated=!1,this.onTimeupdate=()=>{const{media:n}=this,s=this.levelDetails;if(!n||!s)return;this.currentTime=n.currentTime;const m=this.computeLatency();if(m===null)return;this._latency=m;const{lowLatencyMode:E,maxLiveSyncPlaybackRate:T}=this.config;if(!E||T===1||!s.live)return;const z=this.targetLatency;if(z===null)return;const G=m-z,U=Math.min(this.maxLatency,z+s.targetduration);if(G.05&&this.forwardBufferLength>1){const ce=Math.min(2,Math.max(1,T)),xe=Math.round(2/(1+Math.exp(-.75*G-this.edgeStalled))*20)/20,Se=Math.min(ce,Math.max(1,xe));this.changeMediaPlaybackRate(n,Se)}else n.playbackRate!==1&&n.playbackRate!==0&&this.changeMediaPlaybackRate(n,1)},this.hls=t,this.config=t.config,this.registerListeners()}get levelDetails(){var t;return((t=this.hls)==null?void 0:t.latestLevelDetails)||null}get latency(){return this._latency||0}get maxLatency(){const{config:t}=this;if(t.liveMaxLatencyDuration!==void 0)return t.liveMaxLatencyDuration;const n=this.levelDetails;return n?t.liveMaxLatencyDurationCount*n.targetduration:0}get targetLatency(){const t=this.levelDetails;if(t===null||this.hls===null)return null;const{holdBack:n,partHoldBack:s,targetduration:m}=t,{liveSyncDuration:E,liveSyncDurationCount:T,lowLatencyMode:z}=this.config,G=this.hls.userConfig;let U=z&&s||n;(this._targetLatencyUpdated||G.liveSyncDuration||G.liveSyncDurationCount||U===0)&&(U=E!==void 0?E:T*m);const ie=m;return U+Math.min(this.stallCount*this.config.liveSyncOnStallIncrease,ie)}set targetLatency(t){this.stallCount=0,this.config.liveSyncDuration=t,this._targetLatencyUpdated=!0}get liveSyncPosition(){const t=this.estimateLiveEdge(),n=this.targetLatency;if(t===null||n===null)return null;const s=this.levelDetails;if(s===null)return null;const m=s.edge,E=t-n-this.edgeStalled,T=m-s.totalduration,z=m-(this.config.lowLatencyMode&&s.partTarget||s.targetduration);return Math.min(Math.max(T,E),z)}get drift(){const t=this.levelDetails;return t===null?1:t.drift}get edgeStalled(){const t=this.levelDetails;if(t===null)return 0;const n=(this.config.lowLatencyMode&&t.partTarget||t.targetduration)*3;return Math.max(t.age-n,0)}get forwardBufferLength(){const{media:t}=this,n=this.levelDetails;if(!t||!n)return 0;const s=t.buffered.length;return(s?t.buffered.end(s-1):n.edge)-this.currentTime}destroy(){this.unregisterListeners(),this.onMediaDetaching(),this.hls=null}registerListeners(){const{hls:t}=this;t&&(t.on(o.MEDIA_ATTACHED,this.onMediaAttached,this),t.on(o.MEDIA_DETACHING,this.onMediaDetaching,this),t.on(o.MANIFEST_LOADING,this.onManifestLoading,this),t.on(o.LEVEL_UPDATED,this.onLevelUpdated,this),t.on(o.ERROR,this.onError,this))}unregisterListeners(){const{hls:t}=this;t&&(t.off(o.MEDIA_ATTACHED,this.onMediaAttached,this),t.off(o.MEDIA_DETACHING,this.onMediaDetaching,this),t.off(o.MANIFEST_LOADING,this.onManifestLoading,this),t.off(o.LEVEL_UPDATED,this.onLevelUpdated,this),t.off(o.ERROR,this.onError,this))}onMediaAttached(t,n){this.media=n.media,this.media.addEventListener("timeupdate",this.onTimeupdate)}onMediaDetaching(){this.media&&(this.media.removeEventListener("timeupdate",this.onTimeupdate),this.media=null)}onManifestLoading(){this._latency=null,this.stallCount=0}onLevelUpdated(t,{details:n}){n.advanced&&this.onTimeupdate(),!n.live&&this.media&&this.media.removeEventListener("timeupdate",this.onTimeupdate)}onError(t,n){var s;n.details===f.BUFFER_STALLED_ERROR&&(this.stallCount++,this.hls&&(s=this.levelDetails)!=null&&s.live&&this.hls.logger.warn("[latency-controller]: Stall detected, adjusting target latency"))}changeMediaPlaybackRate(t,n){var s,m;t.playbackRate!==n&&((s=this.hls)==null||s.logger.debug(`[latency-controller]: latency=${this.latency.toFixed(3)}, targetLatency=${(m=this.targetLatency)==null?void 0:m.toFixed(3)}, forwardBufferLength=${this.forwardBufferLength.toFixed(3)}: adjusting playback rate from ${t.playbackRate} to ${n}`),t.playbackRate=n)}estimateLiveEdge(){const t=this.levelDetails;return t===null?null:t.edge+t.age}computeLatency(){const t=this.estimateLiveEdge();return t===null?null:t-this.currentTime}}class Af extends sl{constructor(t,n){super(t,"level-controller"),this._levels=[],this._firstLevel=-1,this._maxAutoLevel=-1,this._startLevel=void 0,this.currentLevel=null,this.currentLevelIndex=-1,this.manualLevelIndex=-1,this.steering=void 0,this.onParsedComplete=void 0,this.steering=n,this._registerListeners()}_registerListeners(){const{hls:t}=this;t.on(o.MANIFEST_LOADING,this.onManifestLoading,this),t.on(o.MANIFEST_LOADED,this.onManifestLoaded,this),t.on(o.LEVEL_LOADED,this.onLevelLoaded,this),t.on(o.LEVELS_UPDATED,this.onLevelsUpdated,this),t.on(o.FRAG_BUFFERED,this.onFragBuffered,this),t.on(o.ERROR,this.onError,this)}_unregisterListeners(){const{hls:t}=this;t.off(o.MANIFEST_LOADING,this.onManifestLoading,this),t.off(o.MANIFEST_LOADED,this.onManifestLoaded,this),t.off(o.LEVEL_LOADED,this.onLevelLoaded,this),t.off(o.LEVELS_UPDATED,this.onLevelsUpdated,this),t.off(o.FRAG_BUFFERED,this.onFragBuffered,this),t.off(o.ERROR,this.onError,this)}destroy(){this._unregisterListeners(),this.steering=null,this.resetLevels(),super.destroy()}stopLoad(){this._levels.forEach(n=>{n.loadError=0,n.fragmentError=0}),super.stopLoad()}resetLevels(){this._startLevel=void 0,this.manualLevelIndex=-1,this.currentLevelIndex=-1,this.currentLevel=null,this._levels=[],this._maxAutoLevel=-1}onManifestLoading(t,n){this.resetLevels()}onManifestLoaded(t,n){const s=this.hls.config.preferManagedMediaSource,m=[],E={},T={};let z=!1,G=!1,U=!1;n.levels.forEach(ie=>{var ce;const xe=ie.attrs;let{audioCodec:Se,videoCodec:Re}=ie;Se&&(ie.audioCodec=Se=St(Se,s)||void 0),((ce=Re)==null?void 0:ce.indexOf("avc1"))===0&&(Re=ie.videoCodec=Ar(Re));const{width:qe,height:rt,unknownCodecs:$t}=ie;let rr=$t?$t.length:0;if($t)for(let Yn=rr;Yn--;){const fi=$t[Yn];this.isAudioSupported(fi)?(ie.audioCodec=Se=Se?`${Se},${fi}`:fi,rr--,Zt.audio[Se.substring(0,4)]=2):this.isVideoSupported(fi)&&(ie.videoCodec=Re=Re?`${Re},${fi}`:fi,rr--,Zt.video[Re.substring(0,4)]=2)}if(z||(z=!!(qe&&rt)),G||(G=!!Re),U||(U=!!Se),rr||Se&&!this.isAudioSupported(Se)||Re&&!this.isVideoSupported(Re)){this.log(`Some or all CODECS not supported "${xe.CODECS}"`);return}const{CODECS:ir,"FRAME-RATE":$r,"HDCP-LEVEL":Hr,"PATHWAY-ID":cn,RESOLUTION:Wr,"VIDEO-RANGE":sn}=xe,Kr=`${`${cn||"."}-`}${ie.bitrate}-${Wr}-${$r}-${ir}-${sn}-${Hr}`;if(E[Kr])if(E[Kr].uri!==ie.url&&!ie.attrs["PATHWAY-ID"]){const Yn=T[Kr]+=1;ie.attrs["PATHWAY-ID"]=new Array(Yn+1).join(".");const fi=this.createLevel(ie);E[Kr]=fi,m.push(fi)}else E[Kr].addGroupId("audio",xe.AUDIO),E[Kr].addGroupId("text",xe.SUBTITLES);else{const Yn=this.createLevel(ie);E[Kr]=Yn,T[Kr]=1,m.push(Yn)}}),this.filterAndSortMediaOptions(m,n,z,G,U)}createLevel(t){const n=new mr(t),s=t.supplemental;if(s!=null&&s.videoCodec&&!this.isVideoSupported(s.videoCodec)){const m=new Error(`SUPPLEMENTAL-CODECS not supported "${s.videoCodec}"`);this.log(m.message),n.supportedResult=un(m,[])}return n}isAudioSupported(t){return Oe(t,"audio",this.hls.config.preferManagedMediaSource)}isVideoSupported(t){return Oe(t,"video",this.hls.config.preferManagedMediaSource)}filterAndSortMediaOptions(t,n,s,m,E){let T=[],z=[],G=t;if((s||m)&&E&&(G=G.filter(({videoCodec:rt,videoRange:$t,width:rr,height:ir})=>(!!rt||!!(rr&&ir))&&ot($t))),G.length===0){Promise.resolve().then(()=>{if(this.hls){let rt="no level with compatible codecs found in manifest",$t=rt;n.levels.length&&($t=`one or more CODECS in variant not supported: ${Nn(n.levels.map(ir=>ir.attrs.CODECS).filter((ir,$r,Hr)=>Hr.indexOf(ir)===$r))}`,this.warn($t),rt+=` (${$t})`);const rr=new Error(rt);this.hls.trigger(o.ERROR,{type:c.MEDIA_ERROR,details:f.MANIFEST_INCOMPATIBLE_CODECS_ERROR,fatal:!0,url:n.url,error:rr,reason:$t})}});return}n.audioTracks&&(T=n.audioTracks.filter(rt=>!rt.audioCodec||this.isAudioSupported(rt.audioCodec)),Lf(T)),n.subtitles&&(z=n.subtitles,Lf(z));const U=G.slice(0);G.sort((rt,$t)=>{if(rt.attrs["HDCP-LEVEL"]!==$t.attrs["HDCP-LEVEL"])return(rt.attrs["HDCP-LEVEL"]||"")>($t.attrs["HDCP-LEVEL"]||"")?1:-1;if(s&&rt.height!==$t.height)return rt.height-$t.height;if(rt.frameRate!==$t.frameRate)return rt.frameRate-$t.frameRate;if(rt.videoRange!==$t.videoRange)return gr.indexOf(rt.videoRange)-gr.indexOf($t.videoRange);if(rt.videoCodec!==$t.videoCodec){const rr=Ke(rt.videoCodec),ir=Ke($t.videoCodec);if(rr!==ir)return ir-rr}if(rt.uri===$t.uri&&rt.codecSet!==$t.codecSet){const rr=gt(rt.codecSet),ir=gt($t.codecSet);if(rr!==ir)return ir-rr}return rt.averageBitrate!==$t.averageBitrate?rt.averageBitrate-$t.averageBitrate:0});let ie=U[0];if(this.steering&&(G=this.steering.filterParsedLevels(G),G.length!==U.length)){for(let rt=0;rtrr&&rr===this.hls.abrEwmaDefaultEstimate&&(this.hls.bandwidthEstimate=ir)}break}const xe=E&&!m,Se=this.hls.config,Re=!!(Se.audioStreamController&&Se.audioTrackController),qe={levels:G,audioTracks:T,subtitleTracks:z,sessionData:n.sessionData,sessionKeys:n.sessionKeys,firstLevel:this._firstLevel,stats:n.stats,audio:E,video:m,altAudio:Re&&!xe&&T.some(rt=>!!rt.url)};this.hls.trigger(o.MANIFEST_PARSED,qe)}get levels(){return this._levels.length===0?null:this._levels}get loadLevelObj(){return this.currentLevel}get level(){return this.currentLevelIndex}set level(t){const n=this._levels;if(n.length===0)return;if(t<0||t>=n.length){const ie=new Error("invalid level idx"),ce=t<0;if(this.hls.trigger(o.ERROR,{type:c.OTHER_ERROR,details:f.LEVEL_SWITCH_ERROR,level:t,fatal:ce,error:ie,reason:ie.message}),ce)return;t=Math.min(t,n.length-1)}const s=this.currentLevelIndex,m=this.currentLevel,E=m?m.attrs["PATHWAY-ID"]:void 0,T=n[t],z=T.attrs["PATHWAY-ID"];if(this.currentLevelIndex=t,this.currentLevel=T,s===t&&m&&E===z)return;this.log(`Switching to level ${t} (${T.height?T.height+"p ":""}${T.videoRange?T.videoRange+" ":""}${T.codecSet?T.codecSet+" ":""}@${T.bitrate})${z?" with Pathway "+z:""} from level ${s}${E?" with Pathway "+E:""}`);const G={level:t,attrs:T.attrs,details:T.details,bitrate:T.bitrate,averageBitrate:T.averageBitrate,maxBitrate:T.maxBitrate,realBitrate:T.realBitrate,width:T.width,height:T.height,codecSet:T.codecSet,audioCodec:T.audioCodec,videoCodec:T.videoCodec,audioGroups:T.audioGroups,subtitleGroups:T.subtitleGroups,loaded:T.loaded,loadError:T.loadError,fragmentError:T.fragmentError,name:T.name,id:T.id,uri:T.uri,url:T.url,urlId:0,audioGroupIds:T.audioGroupIds,textGroupIds:T.textGroupIds};this.hls.trigger(o.LEVEL_SWITCHING,G);const U=T.details;if(!U||U.live){const ie=this.switchParams(T.uri,m==null?void 0:m.details,U);this.loadPlaylist(ie)}}get manualLevel(){return this.manualLevelIndex}set manualLevel(t){this.manualLevelIndex=t,this._startLevel===void 0&&(this._startLevel=t),t!==-1&&(this.level=t)}get firstLevel(){return this._firstLevel}set firstLevel(t){this._firstLevel=t}get startLevel(){if(this._startLevel===void 0){const t=this.hls.config.startLevel;return t!==void 0?t:this.hls.firstAutoLevel}return this._startLevel}set startLevel(t){this._startLevel=t}get pathways(){return this.steering?this.steering.pathways():[]}get pathwayPriority(){return this.steering?this.steering.pathwayPriority:null}set pathwayPriority(t){if(this.steering){const n=this.steering.pathways(),s=t.filter(m=>n.indexOf(m)!==-1);if(t.length<1){this.warn(`pathwayPriority ${t} should contain at least one pathway from list: ${n}`);return}this.steering.pathwayPriority=s}}onError(t,n){n.fatal||!n.context||n.context.type===h.LEVEL&&n.context.level===this.level&&this.checkRetry(n)}onFragBuffered(t,{frag:n}){if(n!==void 0&&n.type===u.MAIN){const s=n.elementaryStreams;if(!Object.keys(s).some(E=>!!s[E]))return;const m=this._levels[n.level];m!=null&&m.loadError&&(this.log(`Resetting level error count of ${m.loadError} on frag buffered`),m.loadError=0)}}onLevelLoaded(t,n){var s;const{level:m,details:E}=n,T=n.levelInfo;if(!T){var z;this.warn(`Invalid level index ${m}`),(z=n.deliveryDirectives)!=null&&z.skip&&(E.deltaUpdateFailed=!0);return}if(T===this.currentLevel||n.withoutMultiVariant){T.fragmentError===0&&(T.loadError=0);let G=T.details;G===n.details&&G.advanced&&(G=void 0),this.playlistLoaded(m,n,G)}else(s=n.deliveryDirectives)!=null&&s.skip&&(E.deltaUpdateFailed=!0)}loadPlaylist(t){super.loadPlaylist(),this.shouldLoadPlaylist(this.currentLevel)&&this.scheduleLoading(this.currentLevel,t)}loadingPlaylist(t,n){super.loadingPlaylist(t,n);const s=this.getUrlWithDirectives(t.uri,n),m=this.currentLevelIndex,E=t.attrs["PATHWAY-ID"],T=t.details,z=T==null?void 0:T.age;this.log(`Loading level index ${m}${(n==null?void 0:n.msn)!==void 0?" at sn "+n.msn+" part "+n.part:""}${E?" Pathway "+E:""}${z&&T.live?" age "+z.toFixed(1)+(T.type?" "+T.type||0:""):""} ${s}`),this.hls.trigger(o.LEVEL_LOADING,{url:s,level:m,levelInfo:t,pathwayId:t.attrs["PATHWAY-ID"],id:0,deliveryDirectives:n||null})}get nextLoadLevel(){return this.manualLevelIndex!==-1?this.manualLevelIndex:this.hls.nextAutoLevel}set nextLoadLevel(t){this.level=t,this.manualLevelIndex===-1&&(this.hls.nextAutoLevel=t)}removeLevel(t){var n;if(this._levels.length===1)return;const s=this._levels.filter((E,T)=>T!==t?!0:(this.steering&&this.steering.removeLevel(E),E===this.currentLevel&&(this.currentLevel=null,this.currentLevelIndex=-1,E.details&&E.details.fragments.forEach(z=>z.level=-1)),!1));vn(s),this._levels=s,this.currentLevelIndex>-1&&(n=this.currentLevel)!=null&&n.details&&(this.currentLevelIndex=this.currentLevel.details.fragments[0].level),this.manualLevelIndex>-1&&(this.manualLevelIndex=this.currentLevelIndex);const m=s.length-1;this._firstLevel=Math.min(this._firstLevel,m),this._startLevel&&(this._startLevel=Math.min(this._startLevel,m)),this.hls.trigger(o.LEVELS_UPDATED,{levels:s})}onLevelsUpdated(t,{levels:n}){this._levels=n}checkMaxAutoUpdated(){const{autoLevelCapping:t,maxAutoLevel:n,maxHdcpLevel:s}=this.hls;this._maxAutoLevel!==n&&(this._maxAutoLevel=n,this.hls.trigger(o.MAX_AUTO_LEVEL_UPDATED,{autoLevelCapping:t,levels:this.levels,maxAutoLevel:n,minAutoLevel:this.hls.minAutoLevel,maxHdcpLevel:s}))}}function Lf(A){const t={};A.forEach(n=>{const s=n.groupId||"";n.id=t[s]=t[s]||0,t[s]++})}function Bf(){return self.SourceBuffer||self.WebKitSourceBuffer}function tf(){if(!oe())return!1;const t=Bf();return!t||t.prototype&&typeof t.prototype.appendBuffer=="function"&&typeof t.prototype.remove=="function"}function Zf(){if(!tf())return!1;const A=oe();return typeof(A==null?void 0:A.isTypeSupported)=="function"&&(["avc1.42E01E,mp4a.40.2","av01.0.01M.08","vp09.00.50.08"].some(t=>A.isTypeSupported(be(t,"video")))||["mp4a.40.2","fLaC"].some(t=>A.isTypeSupported(be(t,"audio"))))}function Cf(){var A;const t=Bf();return typeof(t==null||(A=t.prototype)==null?void 0:A.changeType)=="function"}const v=100;class C extends Si{constructor(t,n,s){super(t,n,s,"stream-controller",u.MAIN),this.audioCodecSwap=!1,this.level=-1,this._forceStartLoad=!1,this._hasEnoughToStart=!1,this.altAudio=0,this.audioOnly=!1,this.fragPlaying=null,this.fragLastKbps=0,this.couldBacktrack=!1,this.backtrackFragment=null,this.audioCodecSwitch=!1,this.videoBuffer=null,this.onMediaPlaying=()=>{this.tick()},this.onMediaSeeked=()=>{const m=this.media,E=m?m.currentTime:null;if(E===null||!r(E)||(this.log(`Media seeked to ${E.toFixed(3)}`),!this.getBufferedFrag(E)))return;const T=this.getFwdBufferInfoAtPos(m,E,u.MAIN,0);if(T===null||T.len===0){this.warn(`Main forward buffer length at ${E} on "seeked" event ${T?T.len:"empty"})`);return}this.tick()},this.registerListeners()}registerListeners(){super.registerListeners();const{hls:t}=this;t.on(o.MANIFEST_PARSED,this.onManifestParsed,this),t.on(o.LEVEL_LOADING,this.onLevelLoading,this),t.on(o.LEVEL_LOADED,this.onLevelLoaded,this),t.on(o.FRAG_LOAD_EMERGENCY_ABORTED,this.onFragLoadEmergencyAborted,this),t.on(o.AUDIO_TRACK_SWITCHING,this.onAudioTrackSwitching,this),t.on(o.AUDIO_TRACK_SWITCHED,this.onAudioTrackSwitched,this),t.on(o.BUFFER_CREATED,this.onBufferCreated,this),t.on(o.BUFFER_FLUSHED,this.onBufferFlushed,this),t.on(o.LEVELS_UPDATED,this.onLevelsUpdated,this),t.on(o.FRAG_BUFFERED,this.onFragBuffered,this)}unregisterListeners(){super.unregisterListeners();const{hls:t}=this;t.off(o.MANIFEST_PARSED,this.onManifestParsed,this),t.off(o.LEVEL_LOADED,this.onLevelLoaded,this),t.off(o.FRAG_LOAD_EMERGENCY_ABORTED,this.onFragLoadEmergencyAborted,this),t.off(o.AUDIO_TRACK_SWITCHING,this.onAudioTrackSwitching,this),t.off(o.AUDIO_TRACK_SWITCHED,this.onAudioTrackSwitched,this),t.off(o.BUFFER_CREATED,this.onBufferCreated,this),t.off(o.BUFFER_FLUSHED,this.onBufferFlushed,this),t.off(o.LEVELS_UPDATED,this.onLevelsUpdated,this),t.off(o.FRAG_BUFFERED,this.onFragBuffered,this)}onHandlerDestroying(){this.onMediaPlaying=this.onMediaSeeked=null,this.unregisterListeners(),super.onHandlerDestroying()}startLoad(t,n){if(this.levels){const{lastCurrentTime:s,hls:m}=this;if(this.stopLoad(),this.setInterval(v),this.level=-1,!this.startFragRequested){let E=m.startLevel;E===-1&&(m.config.testBandwidth&&this.levels.length>1?(E=0,this.bitrateTest=!0):E=m.firstAutoLevel),m.nextLoadLevel=E,this.level=m.loadLevel,this._hasEnoughToStart=!!n}s>0&&t===-1&&!n&&(this.log(`Override startPosition with lastCurrentTime @${s.toFixed(3)}`),t=s),this.state=Yr.IDLE,this.nextLoadPosition=this.lastCurrentTime=t+this.timelineOffset,this.startPosition=n?-1:t,this.tick()}else this._forceStartLoad=!0,this.state=Yr.STOPPED}stopLoad(){this._forceStartLoad=!1,super.stopLoad()}doTick(){switch(this.state){case Yr.WAITING_LEVEL:{const{levels:n,level:s}=this,m=n==null?void 0:n[s],E=m==null?void 0:m.details;if(E&&(!E.live||this.levelLastLoaded===m&&!this.waitForLive(m))){if(this.waitForCdnTuneIn(E))break;this.state=Yr.IDLE;break}else if(this.hls.nextLoadLevel!==this.level){this.state=Yr.IDLE;break}break}case Yr.FRAG_LOADING_WAITING_RETRY:{var t;const n=self.performance.now(),s=this.retryDate;if(!s||n>=s||(t=this.media)!=null&&t.seeking){const{levels:m,level:E}=this,T=m==null?void 0:m[E];this.resetStartWhenNotLoaded(T||null),this.state=Yr.IDLE}}break}this.state===Yr.IDLE&&this.doTickIdle(),this.onTickEnd()}onTickEnd(){var t;super.onTickEnd(),(t=this.media)!=null&&t.readyState&&this.media.seeking===!1&&(this.lastCurrentTime=this.media.currentTime),this.checkFragmentChanged()}doTickIdle(){const{hls:t,levelLastLoaded:n,levels:s,media:m}=this;if(n===null||!m&&!this.primaryPrefetch&&(this.startFragRequested||!t.config.startFragPrefetch)||this.altAudio&&this.audioOnly)return;const E=this.buffering?t.nextLoadLevel:t.loadLevel;if(!(s!=null&&s[E]))return;const T=s[E],z=this.getMainFwdBufferInfo();if(z===null)return;const G=this.getLevelDetails();if(G&&this._streamEnded(z,G)){const qe={};this.altAudio===2&&(qe.type="video"),this.hls.trigger(o.BUFFER_EOS,qe),this.state=Yr.ENDED;return}if(!this.buffering)return;t.loadLevel!==E&&t.manualLevel===-1&&this.log(`Adapting to level ${E} from level ${this.level}`),this.level=t.nextLoadLevel=E;const U=T.details;if(!U||this.state===Yr.WAITING_LEVEL||this.waitForLive(T)){this.level=E,this.state=Yr.WAITING_LEVEL,this.startFragRequested=!1;return}const ie=z.len,ce=this.getMaxBufferLength(T.maxBitrate);if(ie>=ce)return;this.backtrackFragment&&this.backtrackFragment.start>z.end&&(this.backtrackFragment=null);const xe=this.backtrackFragment?this.backtrackFragment.start:z.end;let Se=this.getNextFragment(xe,U);if(this.couldBacktrack&&!this.fragPrevious&&Se&&de(Se)&&this.fragmentTracker.getState(Se)!==xr.OK){var Re;const rt=((Re=this.backtrackFragment)!=null?Re:Se).sn-U.startSN,$t=U.fragments[rt-1];$t&&Se.cc===$t.cc&&(Se=$t,this.fragmentTracker.removeFragment($t))}else this.backtrackFragment&&z.len&&(this.backtrackFragment=null);if(Se&&this.isLoopLoading(Se,xe)){if(!Se.gap){const rt=this.audioOnly&&!this.altAudio?M.AUDIO:M.VIDEO,$t=(rt===M.VIDEO?this.videoBuffer:this.mediaBuffer)||this.media;$t&&this.afterBufferFlushed($t,rt,u.MAIN)}Se=this.getNextFragmentLoopLoading(Se,U,z,u.MAIN,ce)}Se&&(Se.initSegment&&!Se.initSegment.data&&!this.bitrateTest&&(Se=Se.initSegment),this.loadFragment(Se,T,xe))}loadFragment(t,n,s){const m=this.fragmentTracker.getState(t);m===xr.NOT_LOADED||m===xr.PARTIAL?de(t)?this.bitrateTest?(this.log(`Fragment ${t.sn} of level ${t.level} is being downloaded to test bitrate and will not be buffered`),this._loadBitrateTestFrag(t,n)):super.loadFragment(t,n,s):this._loadInitSegment(t,n):this.clearTrackerIfNeeded(t)}getBufferedFrag(t){return this.fragmentTracker.getBufferedFrag(t,u.MAIN)}followingBufferedFrag(t){return t?this.getBufferedFrag(t.end+.5):null}immediateLevelSwitch(){this.abortCurrentFrag(),this.flushMainBuffer(0,Number.POSITIVE_INFINITY)}nextLevelSwitch(){const{levels:t,media:n}=this;if(n!=null&&n.readyState){let s;const m=this.getAppendedFrag(n.currentTime);m&&m.start>1&&this.flushMainBuffer(0,m.start-1);const E=this.getLevelDetails();if(E!=null&&E.live){const z=this.getMainFwdBufferInfo();if(!z||z.len{const T=E.audioCodec;T&&(s=s||T.indexOf("mp4a.40.2")!==-1,m=m||T.indexOf("mp4a.40.5")!==-1)}),this.audioCodecSwitch=s&&m&&!Cf(),this.audioCodecSwitch&&this.log("Both AAC/HE-AAC audio found in levels; declaring level codec as HE-AAC"),this.levels=n.levels,this.startFragRequested=!1}onLevelLoading(t,n){const{levels:s}=this;if(!s||this.state!==Yr.IDLE)return;const m=n.levelInfo;(!m.details||m.details.live&&(this.levelLastLoaded!==m||m.details.expired)||this.waitForCdnTuneIn(m.details))&&(this.state=Yr.WAITING_LEVEL)}onLevelLoaded(t,n){var s;const{levels:m,startFragRequested:E}=this,T=n.level,z=n.details,G=z.totalduration;if(!m){this.warn(`Levels were reset while loading level ${T}`);return}this.log(`Level ${T} loaded [${z.startSN},${z.endSN}]${z.lastPartSn?`[part-${z.lastPartSn}-${z.lastPartIndex}]`:""}, cc [${z.startCC}, ${z.endCC}] duration:${G}`);const U=n.levelInfo,ie=this.fragCurrent;ie&&(this.state===Yr.FRAG_LOADING||this.state===Yr.FRAG_LOADING_WAITING_RETRY)&&ie.level!==n.level&&ie.loader&&this.abortCurrentFrag();let ce=0;if(z.live||(s=U.details)!=null&&s.live){var xe;if(this.checkLiveUpdate(z),z.deltaUpdateFailed)return;ce=this.alignPlaylists(z,U.details,(xe=this.levelLastLoaded)==null?void 0:xe.details)}if(U.details=z,this.levelLastLoaded=U,E||this.setStartPosition(z,ce),this.hls.trigger(o.LEVEL_UPDATED,{details:z,level:T}),this.state===Yr.WAITING_LEVEL){if(this.waitForCdnTuneIn(z))return;this.state=Yr.IDLE}E&&z.live&&this.synchronizeToLiveEdge(z),this.tick()}synchronizeToLiveEdge(t){const{config:n,media:s}=this;if(!s)return;const m=this.hls.liveSyncPosition,E=this.getLoadPosition(),T=t.fragmentStart,z=t.edge,G=E>=T-n.maxFragLookUpTolerance&&E<=z;if(m!==null&&s.duration>m&&(E{var T;(T=this.hls)==null||T.trigger(o.AUDIO_TRACK_SWITCHED,n)}),s.trigger(o.BUFFER_FLUSHING,{startOffset:0,endOffset:Number.POSITIVE_INFINITY,type:null});return}s.trigger(o.AUDIO_TRACK_SWITCHED,n)}}onAudioTrackSwitched(t,n){const s=Jn(n.url,this.hls);if(s){const m=this.videoBuffer;m&&this.mediaBuffer!==m&&(this.log("Switching on alternate audio, use video.buffered to schedule main fragment loading"),this.mediaBuffer=m)}this.altAudio=s?2:0,this.tick()}onBufferCreated(t,n){const s=n.tracks;let m,E,T=!1;for(const z in s){const G=s[z];if(G.id==="main"){if(E=z,m=G,z==="video"){const U=s[z];U&&(this.videoBuffer=U.buffer)}}else T=!0}T&&m?(this.log(`Alternate track found, use ${E}.buffered to schedule main fragment loading`),this.mediaBuffer=m.buffer):this.mediaBuffer=this.media}onFragBuffered(t,n){const{frag:s,part:m}=n,E=s.type===u.MAIN;if(E){if(this.fragContextChanged(s)){this.warn(`Fragment ${s.sn}${m?" p: "+m.index:""} of level ${s.level} finished buffering, but was aborted. state: ${this.state}`),this.state===Yr.PARSED&&(this.state=Yr.IDLE);return}const z=m?m.stats:s.stats;this.fragLastKbps=Math.round(8*z.total/(z.buffering.end-z.loading.first)),de(s)&&(this.fragPrevious=s),this.fragBufferedComplete(s,m)}const T=this.media;T&&(!this._hasEnoughToStart&&Vn.getBuffered(T).length&&(this._hasEnoughToStart=!0,this.seekToStartPos()),E&&this.tick())}get hasEnoughToStart(){return this._hasEnoughToStart}onError(t,n){var s;if(n.fatal){this.state=Yr.ERROR;return}switch(n.details){case f.FRAG_GAP:case f.FRAG_PARSING_ERROR:case f.FRAG_DECRYPT_ERROR:case f.FRAG_LOAD_ERROR:case f.FRAG_LOAD_TIMEOUT:case f.KEY_LOAD_ERROR:case f.KEY_LOAD_TIMEOUT:this.onFragmentOrKeyLoadError(u.MAIN,n);break;case f.LEVEL_LOAD_ERROR:case f.LEVEL_LOAD_TIMEOUT:case f.LEVEL_PARSING_ERROR:!n.levelRetry&&this.state===Yr.WAITING_LEVEL&&((s=n.context)==null?void 0:s.type)===h.LEVEL&&(this.state=Yr.IDLE);break;case f.BUFFER_ADD_CODEC_ERROR:case f.BUFFER_APPEND_ERROR:if(n.parent!=="main")return;this.resetLoadingState();break;case f.BUFFER_FULL_ERROR:if(n.parent!=="main")return;this.reduceLengthAndFlushBuffer(n)&&this.flushMainBuffer(0,Number.POSITIVE_INFINITY);break;case f.INTERNAL_EXCEPTION:this.recoverWorkerError(n);break}}onFragLoadEmergencyAborted(){this.state=Yr.IDLE,this._hasEnoughToStart||(this.startFragRequested=!1,this.nextLoadPosition=this.lastCurrentTime),this.tickImmediate()}onBufferFlushed(t,{type:n}){if(n!==M.AUDIO||!this.altAudio){const s=(n===M.VIDEO?this.videoBuffer:this.mediaBuffer)||this.media;s&&(this.afterBufferFlushed(s,n,u.MAIN),this.tick())}}onLevelsUpdated(t,n){this.level>-1&&this.fragCurrent&&(this.level=this.fragCurrent.level,this.level===-1&&this.resetWhenMissingContext(this.fragCurrent)),this.levels=n.levels}swapAudioCodec(){this.audioCodecSwap=!this.audioCodecSwap}seekToStartPos(){const{media:t}=this;if(!t)return;const n=t.currentTime;let s=this.startPosition;if(s>=0&&n0&&(G{const{hls:m}=this,E=s==null?void 0:s.frag;if(!E||this.fragContextChanged(E))return;n.fragmentError=0,this.state=Yr.IDLE,this.startFragRequested=!1,this.bitrateTest=!1;const T=E.stats;T.parsing.start=T.parsing.end=T.buffering.start=T.buffering.end=self.performance.now(),m.trigger(o.FRAG_LOADED,s),E.bitrateTest=!1})}_handleTransmuxComplete(t){var n;const s=this.playlistType,{hls:m}=this,{remuxResult:E,chunkMeta:T}=t,z=this.getCurrentContext(T);if(!z){this.resetWhenMissingContext(T);return}const{frag:G,part:U,level:ie}=z,{video:ce,text:xe,id3:Se,initSegment:Re}=E,{details:qe}=ie,rt=this.altAudio?void 0:E.audio;if(this.fragContextChanged(G)){this.fragmentTracker.removeFragment(G);return}if(this.state=Yr.PARSING,Re){if(Re!=null&&Re.tracks){const ir=G.initSegment||G;this._bufferInitSegment(ie,Re.tracks,ir,T),m.trigger(o.FRAG_PARSING_INIT_SEGMENT,{frag:ir,id:s,tracks:Re.tracks})}const $t=Re.initPTS,rr=Re.timescale;r($t)&&(this.initPTS[G.cc]={baseTime:$t,timescale:rr},m.trigger(o.INIT_PTS_FOUND,{frag:G,id:s,initPTS:$t,timescale:rr}))}if(ce&&qe){!rt&&ce.type==="audiovideo"&&this.logMuxedErr(G);const $t=qe.fragments[G.sn-1-qe.startSN],rr=G.sn===qe.startSN,ir=!$t||G.cc>$t.cc;if(E.independent!==!1){const{startPTS:$r,endPTS:Hr,startDTS:cn,endDTS:Wr}=ce;if(U)U.elementaryStreams[ce.type]={startPTS:$r,endPTS:Hr,startDTS:cn,endDTS:Wr};else if(ce.firstKeyFrame&&ce.independent&&T.id===1&&!ir&&(this.couldBacktrack=!0),ce.dropped&&ce.independent){const sn=this.getMainFwdBufferInfo(),hn=(sn?sn.end:this.getLoadPosition())+this.config.maxBufferHole,Kr=ce.firstKeyFramePTS?ce.firstKeyFramePTS:$r;if(!rr&&hnIo&&(G.gap=!0);G.setElementaryStreamInfo(ce.type,$r,Hr,cn,Wr),this.backtrackFragment&&(this.backtrackFragment=G),this.bufferFragmentData(ce,G,U,T,rr||ir)}else if(rr||ir)G.gap=!0;else{this.backtrack(G);return}}if(rt){const{startPTS:$t,endPTS:rr,startDTS:ir,endDTS:$r}=rt;U&&(U.elementaryStreams[M.AUDIO]={startPTS:$t,endPTS:rr,startDTS:ir,endDTS:$r}),G.setElementaryStreamInfo(M.AUDIO,$t,rr,ir,$r),this.bufferFragmentData(rt,G,U,T)}if(qe&&Se!=null&&(n=Se.samples)!=null&&n.length){const $t={id:s,frag:G,details:qe,samples:Se.samples};m.trigger(o.FRAG_PARSING_METADATA,$t)}if(qe&&xe){const $t={id:s,frag:G,details:qe,samples:xe.samples};m.trigger(o.FRAG_PARSING_USERDATA,$t)}}logMuxedErr(t){this.warn(`${de(t)?"Media":"Init"} segment with muxed audiovideo where only video expected: ${t.url}`)}_bufferInitSegment(t,n,s,m){if(this.state!==Yr.PARSING)return;this.audioOnly=!!n.audio&&!n.video,this.altAudio&&!this.audioOnly&&(delete n.audio,n.audiovideo&&this.logMuxedErr(s));const{audio:E,video:T,audiovideo:z}=n;if(E){let U=Qr(E.codec,t.audioCodec);U==="mp4a"&&(U="mp4a.40.5");const ie=navigator.userAgent.toLowerCase();if(this.audioCodecSwitch){U&&(U.indexOf("mp4a.40.5")!==-1?U="mp4a.40.2":U="mp4a.40.5");const ce=E.metadata;ce&&"channelCount"in ce&&(ce.channelCount||1)!==1&&ie.indexOf("firefox")===-1&&(U="mp4a.40.5")}U&&U.indexOf("mp4a.40.5")!==-1&&ie.indexOf("android")!==-1&&E.container!=="audio/mpeg"&&(U="mp4a.40.2",this.log(`Android: force audio codec to ${U}`)),t.audioCodec&&t.audioCodec!==U&&this.log(`Swapping manifest audio codec "${t.audioCodec}" for "${U}"`),E.levelCodec=U,E.id=u.MAIN,this.log(`Init audio buffer, container:${E.container}, codecs[selected/level/parsed]=[${U||""}/${t.audioCodec||""}/${E.codec}]`),delete n.audiovideo}if(T){T.levelCodec=t.videoCodec,T.id=u.MAIN;const U=T.codec;if((U==null?void 0:U.length)===4)switch(U){case"hvc1":case"hev1":T.codec="hvc1.1.6.L120.90";break;case"av01":T.codec="av01.0.04M.08";break;case"avc1":T.codec="avc1.42e01e";break}this.log(`Init video buffer, container:${T.container}, codecs[level/parsed]=[${t.videoCodec||""}/${U}]${T.codec!==U?" parsed-corrected="+T.codec:""}${T.supplemental?" supplemental="+T.supplemental:""}`),delete n.audiovideo}z&&(this.log(`Init audiovideo buffer, container:${z.container}, codecs[level/parsed]=[${t.codecs}/${z.codec}]`),delete n.video,delete n.audio);const G=Object.keys(n);if(G.length){if(this.hls.trigger(o.BUFFER_CODECS,n),!this.hls)return;G.forEach(U=>{const ce=n[U].initSegment;ce!=null&&ce.byteLength&&this.hls.trigger(o.BUFFER_APPENDING,{type:U,data:ce,frag:s,part:null,chunkMeta:m,parent:s.type})})}this.tickImmediate()}getMainFwdBufferInfo(){const t=this.mediaBuffer&&this.altAudio===2?this.mediaBuffer:this.media;return this.getFwdBufferInfo(t,u.MAIN)}get maxBufferLength(){const{levels:t,level:n}=this,s=t==null?void 0:t[n];return s?this.getMaxBufferLength(s.maxBitrate):this.config.maxBufferLength}backtrack(t){this.couldBacktrack=!0,this.backtrackFragment=t,this.resetTransmuxer(),this.flushBufferGap(t),this.fragmentTracker.removeFragment(t),this.fragPrevious=null,this.nextLoadPosition=t.start,this.state=Yr.IDLE}checkFragmentChanged(){const t=this.media;let n=null;if(t&&t.readyState>1&&t.seeking===!1){const s=t.currentTime;if(Vn.isBuffered(t,s)?n=this.getAppendedFrag(s):Vn.isBuffered(t,s+.1)&&(n=this.getAppendedFrag(s+.1)),n){this.backtrackFragment=null;const m=this.fragPlaying,E=n.level;(!m||n.sn!==m.sn||m.level!==E)&&(this.fragPlaying=n,this.hls.trigger(o.FRAG_CHANGED,{frag:n}),(!m||m.level!==E)&&this.hls.trigger(o.LEVEL_SWITCHED,{level:E}))}}}get nextLevel(){const t=this.nextBufferedFrag;return t?t.level:-1}get currentFrag(){var t;if(this.fragPlaying)return this.fragPlaying;const n=((t=this.media)==null?void 0:t.currentTime)||this.lastCurrentTime;return r(n)?this.getAppendedFrag(n):null}get currentProgramDateTime(){var t;const n=((t=this.media)==null?void 0:t.currentTime)||this.lastCurrentTime;if(r(n)){const s=this.getLevelDetails(),m=this.currentFrag||(s?En(null,s.fragments,n):null);if(m){const E=m.programDateTime;if(E!==null){const T=E+(n-m.start)*1e3;return new Date(T)}}}return null}get currentLevel(){const t=this.currentFrag;return t?t.level:-1}get nextBufferedFrag(){const t=this.currentFrag;return t?this.followingBufferedFrag(t):null}get forceStartLoad(){return this._forceStartLoad}}class Z{constructor(t){this.config=void 0,this.keyUriToKeyInfo={},this.emeController=null,this.config=t}abort(t){for(const s in this.keyUriToKeyInfo){const m=this.keyUriToKeyInfo[s].loader;if(m){var n;if(t&&t!==((n=m.context)==null?void 0:n.frag.type))return;m.abort()}}}detach(){for(const t in this.keyUriToKeyInfo){const n=this.keyUriToKeyInfo[t];(n.mediaKeySessionContext||n.decryptdata.isCommonEncryption)&&delete this.keyUriToKeyInfo[t]}}destroy(){this.detach();for(const t in this.keyUriToKeyInfo){const n=this.keyUriToKeyInfo[t].loader;n&&n.destroy()}this.keyUriToKeyInfo={}}createKeyLoadError(t,n=f.KEY_LOAD_ERROR,s,m,E){return new ua({type:c.NETWORK_ERROR,details:n,fatal:!1,frag:t,response:E,error:s,networkDetails:m})}loadClear(t,n){if(this.emeController&&this.config.emeEnabled){const{sn:s,cc:m}=t;for(let E=0;E{T.setKeyFormat(z)});break}}}}load(t){return!t.decryptdata&&t.encrypted&&this.emeController&&this.config.emeEnabled?this.emeController.selectKeySystemFormat(t).then(n=>this.loadInternal(t,n)):this.loadInternal(t)}loadInternal(t,n){var s,m;n&&t.setKeyFormat(n);const E=t.decryptdata;if(!E){const U=new Error(n?`Expected frag.decryptdata to be defined after setting format ${n}`:"Missing decryption data on fragment in onKeyLoading");return Promise.reject(this.createKeyLoadError(t,f.KEY_LOAD_ERROR,U))}const T=E.uri;if(!T)return Promise.reject(this.createKeyLoadError(t,f.KEY_LOAD_ERROR,new Error(`Invalid key URI: "${T}"`)));let z=this.keyUriToKeyInfo[T];if((s=z)!=null&&s.decryptdata.key)return E.key=z.decryptdata.key,Promise.resolve({frag:t,keyInfo:z});if((m=z)!=null&&m.keyLoadPromise){var G;switch((G=z.mediaKeySessionContext)==null?void 0:G.keyStatus){case void 0:case"status-pending":case"usable":case"usable-in-future":return z.keyLoadPromise.then(U=>(E.key=U.keyInfo.decryptdata.key,{frag:t,keyInfo:z}))}}switch(z=this.keyUriToKeyInfo[T]={decryptdata:E,keyLoadPromise:null,loader:null,mediaKeySessionContext:null},E.method){case"ISO-23001-7":case"SAMPLE-AES":case"SAMPLE-AES-CENC":case"SAMPLE-AES-CTR":return E.keyFormat==="identity"?this.loadKeyHTTP(z,t):this.loadKeyEME(z,t);case"AES-128":case"AES-256":case"AES-256-CTR":return this.loadKeyHTTP(z,t);default:return Promise.reject(this.createKeyLoadError(t,f.KEY_LOAD_ERROR,new Error(`Key supplied with unsupported METHOD: "${E.method}"`)))}}loadKeyEME(t,n){const s={frag:n,keyInfo:t};if(this.emeController&&this.config.emeEnabled){const m=this.emeController.loadKey(s);if(m)return(t.keyLoadPromise=m.then(E=>(t.mediaKeySessionContext=E,s))).catch(E=>{throw t.keyLoadPromise=null,E})}return Promise.resolve(s)}loadKeyHTTP(t,n){const s=this.config,m=s.loader,E=new m(s);return n.keyLoader=t.loader=E,t.keyLoadPromise=new Promise((T,z)=>{const G={keyInfo:t,frag:n,responseType:"arraybuffer",url:t.decryptdata.uri},U=s.keyLoadPolicy.default,ie={loadPolicy:U,timeout:U.maxLoadTimeMs,maxRetry:0,retryDelay:0,maxRetryDelay:0},ce={onSuccess:(xe,Se,Re,qe)=>{const{frag:rt,keyInfo:$t,url:rr}=Re;if(!rt.decryptdata||$t!==this.keyUriToKeyInfo[rr])return z(this.createKeyLoadError(rt,f.KEY_LOAD_ERROR,new Error("after key load, decryptdata unset or changed"),qe));$t.decryptdata.key=rt.decryptdata.key=new Uint8Array(xe.data),rt.keyLoader=null,$t.loader=null,T({frag:rt,keyInfo:$t})},onError:(xe,Se,Re,qe)=>{this.resetLoader(Se),z(this.createKeyLoadError(n,f.KEY_LOAD_ERROR,new Error(`HTTP Error ${xe.code} loading key ${xe.text}`),Re,b({url:G.url,data:void 0},xe)))},onTimeout:(xe,Se,Re)=>{this.resetLoader(Se),z(this.createKeyLoadError(n,f.KEY_LOAD_TIMEOUT,new Error("key loading timed out"),Re))},onAbort:(xe,Se,Re)=>{this.resetLoader(Se),z(this.createKeyLoadError(n,f.INTERNAL_ABORTED,new Error("key loading aborted"),Re))}};E.load(G,ie,ce)})}resetLoader(t){const{frag:n,keyInfo:s,url:m}=t,E=s.loader;n.keyLoader===E&&(n.keyLoader=null,s.loader=null),delete this.keyUriToKeyInfo[m],E&&E.destroy()}}function ve(A){const{type:t}=A;switch(t){case h.AUDIO_TRACK:return u.AUDIO;case h.SUBTITLE_TRACK:return u.SUBTITLE;default:return u.MAIN}}function Le(A,t){let n=A.url;return(n===void 0||n.indexOf("data:")===0)&&(n=t.url),n}class lt{constructor(t){this.hls=void 0,this.loaders=Object.create(null),this.variableList=null,this.onManifestLoaded=this.checkAutostartLoad,this.hls=t,this.registerListeners()}startLoad(t){}stopLoad(){this.destroyInternalLoaders()}registerListeners(){const{hls:t}=this;t.on(o.MANIFEST_LOADING,this.onManifestLoading,this),t.on(o.LEVEL_LOADING,this.onLevelLoading,this),t.on(o.AUDIO_TRACK_LOADING,this.onAudioTrackLoading,this),t.on(o.SUBTITLE_TRACK_LOADING,this.onSubtitleTrackLoading,this),t.on(o.LEVELS_UPDATED,this.onLevelsUpdated,this)}unregisterListeners(){const{hls:t}=this;t.off(o.MANIFEST_LOADING,this.onManifestLoading,this),t.off(o.LEVEL_LOADING,this.onLevelLoading,this),t.off(o.AUDIO_TRACK_LOADING,this.onAudioTrackLoading,this),t.off(o.SUBTITLE_TRACK_LOADING,this.onSubtitleTrackLoading,this),t.off(o.LEVELS_UPDATED,this.onLevelsUpdated,this)}createInternalLoader(t){const n=this.hls.config,s=n.pLoader,m=n.loader,E=s||m,T=new E(n);return this.loaders[t.type]=T,T}getInternalLoader(t){return this.loaders[t.type]}resetInternalLoader(t){this.loaders[t]&&delete this.loaders[t]}destroyInternalLoaders(){for(const t in this.loaders){const n=this.loaders[t];n&&n.destroy(),this.resetInternalLoader(t)}}destroy(){this.variableList=null,this.unregisterListeners(),this.destroyInternalLoaders()}onManifestLoading(t,n){const{url:s}=n;this.variableList=null,this.load({id:null,level:0,responseType:"text",type:h.MANIFEST,url:s,deliveryDirectives:null,levelOrTrack:null})}onLevelLoading(t,n){const{id:s,level:m,pathwayId:E,url:T,deliveryDirectives:z,levelInfo:G}=n;this.load({id:s,level:m,pathwayId:E,responseType:"text",type:h.LEVEL,url:T,deliveryDirectives:z,levelOrTrack:G})}onAudioTrackLoading(t,n){const{id:s,groupId:m,url:E,deliveryDirectives:T,track:z}=n;this.load({id:s,groupId:m,level:null,responseType:"text",type:h.AUDIO_TRACK,url:E,deliveryDirectives:T,levelOrTrack:z})}onSubtitleTrackLoading(t,n){const{id:s,groupId:m,url:E,deliveryDirectives:T,track:z}=n;this.load({id:s,groupId:m,level:null,responseType:"text",type:h.SUBTITLE_TRACK,url:E,deliveryDirectives:T,levelOrTrack:z})}onLevelsUpdated(t,n){const s=this.loaders[h.LEVEL];if(s){const m=s.context;m&&!n.levels.some(E=>E===m.levelOrTrack)&&(s.abort(),delete this.loaders[h.LEVEL])}}load(t){var n;const s=this.hls.config;let m=this.getInternalLoader(t);if(m){const U=this.hls.logger,ie=m.context;if(ie&&ie.levelOrTrack===t.levelOrTrack&&(ie.url===t.url||ie.deliveryDirectives&&!t.deliveryDirectives)){ie.url===t.url?U.log(`[playlist-loader]: ignore ${t.url} ongoing request`):U.log(`[playlist-loader]: ignore ${t.url} in favor of ${ie.url}`);return}U.log(`[playlist-loader]: aborting previous loader for type: ${t.type}`),m.abort()}let E;if(t.type===h.MANIFEST?E=s.manifestLoadPolicy.default:E=y({},s.playlistLoadPolicy.default,{timeoutRetry:null,errorRetry:null}),m=this.createInternalLoader(t),r((n=t.deliveryDirectives)==null?void 0:n.part)){let U;if(t.type===h.LEVEL&&t.level!==null?U=this.hls.levels[t.level].details:t.type===h.AUDIO_TRACK&&t.id!==null?U=this.hls.audioTracks[t.id].details:t.type===h.SUBTITLE_TRACK&&t.id!==null&&(U=this.hls.subtitleTracks[t.id].details),U){const ie=U.partTarget,ce=U.targetduration;if(ie&&ce){const xe=Math.max(ie*3,ce*.8)*1e3;E=y({},E,{maxTimeToFirstByteMs:Math.min(xe,E.maxTimeToFirstByteMs),maxLoadTimeMs:Math.min(xe,E.maxTimeToFirstByteMs)})}}}const T=E.errorRetry||E.timeoutRetry||{},z={loadPolicy:E,timeout:E.maxLoadTimeMs,maxRetry:T.maxNumRetry||0,retryDelay:T.retryDelayMs||0,maxRetryDelay:T.maxRetryDelayMs||0},G={onSuccess:(U,ie,ce,xe)=>{const Se=this.getInternalLoader(ce);this.resetInternalLoader(ce.type);const Re=U.data;if(Re.indexOf("#EXTM3U")!==0){this.handleManifestParsingError(U,ce,new Error("no EXTM3U delimiter"),xe||null,ie);return}ie.parsing.start=performance.now(),vs.isMediaPlaylist(Re)||ce.type!==h.MANIFEST?this.handleTrackOrLevelPlaylist(U,ie,ce,xe||null,Se):this.handleMasterPlaylist(U,ie,ce,xe)},onError:(U,ie,ce,xe)=>{this.handleNetworkError(ie,ce,!1,U,xe)},onTimeout:(U,ie,ce)=>{this.handleNetworkError(ie,ce,!0,void 0,U)}};m.load(t,z,G)}checkAutostartLoad(){if(!this.hls)return;const{config:{autoStartLoad:t,startPosition:n},forceStartLoad:s}=this.hls;(t||s)&&(this.hls.logger.log(`${t?"auto":"force"} startLoad with configured startPosition ${n}`),this.hls.startLoad(n))}handleMasterPlaylist(t,n,s,m){const E=this.hls,T=t.data,z=Le(t,s),G=vs.parseMasterPlaylist(T,z);if(G.playlistParsingError){this.handleManifestParsingError(t,s,G.playlistParsingError,m,n);return}const{contentSteering:U,levels:ie,sessionData:ce,sessionKeys:xe,startTimeOffset:Se,variableList:Re}=G;this.variableList=Re;const{AUDIO:qe=[],SUBTITLES:rt,"CLOSED-CAPTIONS":$t}=vs.parseMasterPlaylistMedia(T,z,G);qe.length&&!qe.some(ir=>!ir.url)&&ie[0].audioCodec&&!ie[0].attrs.AUDIO&&(this.hls.logger.log("[playlist-loader]: audio codec signaled in quality level, but no embedded audio track signaled, create one"),qe.unshift({type:"main",name:"main",groupId:"main",default:!1,autoselect:!1,forced:!1,id:-1,attrs:new ra({}),bitrate:0,url:""})),E.trigger(o.MANIFEST_LOADED,{levels:ie,audioTracks:qe,subtitles:rt,captions:$t,contentSteering:U,url:z,stats:n,networkDetails:m,sessionData:ce,sessionKeys:xe,startTimeOffset:Se,variableList:Re})}handleTrackOrLevelPlaylist(t,n,s,m,E){const T=this.hls,{id:z,level:G,type:U}=s,ie=Le(t,s),ce=r(G)?G:r(z)?z:0,xe=ve(s),Se=vs.parseLevelPlaylist(t.data,ie,ce,xe,0,this.variableList);if(U===h.MANIFEST){const Re={attrs:new ra({}),bitrate:0,details:Se,name:"",url:ie};Se.requestScheduled=n.loading.start+Kn(Se,0),T.trigger(o.MANIFEST_LOADED,{levels:[Re],audioTracks:[],url:ie,stats:n,networkDetails:m,sessionData:null,sessionKeys:null,contentSteering:null,startTimeOffset:null,variableList:null})}n.parsing.end=performance.now(),s.levelDetails=Se,this.handlePlaylistLoaded(Se,t,n,s,m,E)}handleManifestParsingError(t,n,s,m,E){this.hls.trigger(o.ERROR,{type:c.NETWORK_ERROR,details:f.MANIFEST_PARSING_ERROR,fatal:n.type===h.MANIFEST,url:t.url,err:s,error:s,reason:s.message,response:t,context:n,networkDetails:m,stats:E})}handleNetworkError(t,n,s=!1,m,E){let T=`A network ${s?"timeout":"error"+(m?" (status "+m.code+")":"")} occurred while loading ${t.type}`;t.type===h.LEVEL?T+=`: ${t.level} id: ${t.id}`:(t.type===h.AUDIO_TRACK||t.type===h.SUBTITLE_TRACK)&&(T+=` id: ${t.id} group-id: "${t.groupId}"`);const z=new Error(T);this.hls.logger.warn(`[playlist-loader]: ${T}`);let G=f.UNKNOWN,U=!1;const ie=this.getInternalLoader(t);switch(t.type){case h.MANIFEST:G=s?f.MANIFEST_LOAD_TIMEOUT:f.MANIFEST_LOAD_ERROR,U=!0;break;case h.LEVEL:G=s?f.LEVEL_LOAD_TIMEOUT:f.LEVEL_LOAD_ERROR,U=!1;break;case h.AUDIO_TRACK:G=s?f.AUDIO_TRACK_LOAD_TIMEOUT:f.AUDIO_TRACK_LOAD_ERROR,U=!1;break;case h.SUBTITLE_TRACK:G=s?f.SUBTITLE_TRACK_LOAD_TIMEOUT:f.SUBTITLE_LOAD_ERROR,U=!1;break}ie&&this.resetInternalLoader(t.type);const ce={type:c.NETWORK_ERROR,details:G,fatal:U,url:t.url,loader:ie,context:t,error:z,networkDetails:n,stats:E};if(m){const xe=(n==null?void 0:n.url)||t.url;ce.response=b({url:xe,data:void 0},m)}this.hls.trigger(o.ERROR,ce)}handlePlaylistLoaded(t,n,s,m,E,T){const z=this.hls,{type:G,level:U,id:ie,groupId:ce,deliveryDirectives:xe}=m,Se=Le(n,m),Re=ve(m),qe=typeof m.level=="number"&&Re===u.MAIN?U:void 0;if(!t.fragments.length){const $t=t.playlistParsingError=new Error("No Segments found in Playlist");z.trigger(o.ERROR,{type:c.NETWORK_ERROR,details:f.LEVEL_EMPTY_ERROR,fatal:!1,url:Se,error:$t,reason:$t.message,response:n,context:m,level:qe,parent:Re,networkDetails:E,stats:s});return}t.targetduration||(t.playlistParsingError=new Error("Missing Target Duration"));const rt=t.playlistParsingError;if(rt){if(this.hls.logger.warn(rt),!z.config.ignorePlaylistParsingErrors){z.trigger(o.ERROR,{type:c.NETWORK_ERROR,details:f.LEVEL_PARSING_ERROR,fatal:!1,url:Se,error:rt,reason:rt.message,response:n,context:m,level:qe,parent:Re,networkDetails:E,stats:s});return}t.playlistParsingError=null}switch(t.live&&T&&(T.getCacheAge&&(t.ageHeader=T.getCacheAge()||0),(!T.getCacheAge||isNaN(t.ageHeader))&&(t.ageHeader=0)),G){case h.MANIFEST:case h.LEVEL:z.trigger(o.LEVEL_LOADED,{details:t,levelInfo:m.levelOrTrack||z.levels[0],level:qe||0,id:ie||0,stats:s,networkDetails:E,deliveryDirectives:xe,withoutMultiVariant:G===h.MANIFEST});break;case h.AUDIO_TRACK:z.trigger(o.AUDIO_TRACK_LOADED,{details:t,track:m.levelOrTrack,id:ie||0,groupId:ce||"",stats:s,networkDetails:E,deliveryDirectives:xe});break;case h.SUBTITLE_TRACK:z.trigger(o.SUBTITLE_TRACK_LOADED,{details:t,track:m.levelOrTrack,id:ie||0,groupId:ce||"",stats:s,networkDetails:E,deliveryDirectives:xe});break}}}class Bt{static get version(){return gs}static isMSESupported(){return tf()}static isSupported(){return Zf()}static getMediaSource(){return oe()}static get Events(){return o}static get MetadataSchema(){return ye}static get ErrorTypes(){return c}static get ErrorDetails(){return f}static get DefaultConfig(){return Bt.defaultConfig?Bt.defaultConfig:Ho}static set DefaultConfig(t){Bt.defaultConfig=t}constructor(t={}){this.config=void 0,this.userConfig=void 0,this.logger=void 0,this.coreComponents=void 0,this.networkControllers=void 0,this._emitter=new Ya,this._autoLevelCapping=-1,this._maxHdcpLevel=null,this.abrController=void 0,this.bufferController=void 0,this.capLevelController=void 0,this.latencyController=void 0,this.levelController=void 0,this.streamController=void 0,this.audioStreamController=void 0,this.subtititleStreamController=void 0,this.audioTrackController=void 0,this.subtitleTrackController=void 0,this.interstitialsController=void 0,this.gapController=void 0,this.emeController=void 0,this.cmcdController=void 0,this._media=null,this._url=null,this._sessionId=void 0,this.triggeringException=void 0,this.started=!1;const n=this.logger=V(t.debug||!1,"Hls instance",t.assetPlayerId),s=this.config=hf(Bt.DefaultConfig,t,n);this.userConfig=t,s.progressive&&xc(s,n);const{abrController:m,bufferController:E,capLevelController:T,errorController:z,fpsController:G}=s,U=new z(this),ie=this.abrController=new m(this),ce=new Dr(this),xe=s.interstitialsController,Se=xe?this.interstitialsController=new xe(this,Bt):null,Re=this.bufferController=new E(this,ce),qe=this.capLevelController=new T(this),rt=new G(this),$t=new lt(this),rr=s.contentSteeringController,ir=rr?new rr(this):null,$r=this.levelController=new Af(this,ir),Hr=new mf(this),cn=new Z(this.config),Wr=this.streamController=new C(this,ce,cn),sn=this.gapController=new Fc(this,ce);qe.setStreamController(Wr),rt.setStreamController(Wr);const hn=[$t,$r,Wr];Se&&hn.splice(1,0,Se),ir&&hn.splice(1,0,ir),this.networkControllers=hn;const Kr=[ie,Re,sn,qe,rt,Hr,ce];this.audioTrackController=this.createController(s.audioTrackController,hn);const Yn=s.audioStreamController;Yn&&hn.push(this.audioStreamController=new Yn(this,ce,cn)),this.subtitleTrackController=this.createController(s.subtitleTrackController,hn);const fi=s.subtitleStreamController;fi&&hn.push(this.subtititleStreamController=new fi(this,ce,cn)),this.createController(s.timelineController,Kr),cn.emeController=this.emeController=this.createController(s.emeController,Kr),this.cmcdController=this.createController(s.cmcdController,Kr),this.latencyController=this.createController(zf,Kr),this.coreComponents=Kr,hn.push(U);const rs=U.onErrorOut;typeof rs=="function"&&this.on(o.ERROR,rs,U),this.on(o.MANIFEST_LOADED,$t.onManifestLoaded,$t)}createController(t,n){if(t){const s=new t(this);return n&&n.push(s),s}return null}on(t,n,s=this){this._emitter.on(t,n,s)}once(t,n,s=this){this._emitter.once(t,n,s)}removeAllListeners(t){this._emitter.removeAllListeners(t)}off(t,n,s=this,m){this._emitter.off(t,n,s,m)}listeners(t){return this._emitter.listeners(t)}emit(t,n,s){return this._emitter.emit(t,n,s)}trigger(t,n){if(this.config.debug)return this.emit(t,t,n);try{return this.emit(t,t,n)}catch(s){if(this.logger.error("An internal error happened while handling event "+t+'. Error message: "'+s.message+'". Here is a stacktrace:',s),!this.triggeringException){this.triggeringException=!0;const m=t===o.ERROR;this.trigger(o.ERROR,{type:c.OTHER_ERROR,details:f.INTERNAL_EXCEPTION,fatal:m,event:t,error:s}),this.triggeringException=!1}}return!1}listenerCount(t){return this._emitter.listenerCount(t)}destroy(){this.logger.log("destroy"),this.trigger(o.DESTROYING,void 0),this.detachMedia(),this.removeAllListeners(),this._autoLevelCapping=-1,this._url=null,this.networkControllers.forEach(n=>n.destroy()),this.networkControllers.length=0,this.coreComponents.forEach(n=>n.destroy()),this.coreComponents.length=0;const t=this.config;t.xhrSetup=t.fetchSetup=void 0,this.userConfig=null}attachMedia(t){if(!t||"media"in t&&!t.media){const E=new Error(`attachMedia failed: invalid argument (${t})`);this.trigger(o.ERROR,{type:c.OTHER_ERROR,details:f.ATTACH_MEDIA_ERROR,fatal:!0,error:E});return}this.logger.log("attachMedia"),this._media&&(this.logger.warn("media must be detached before attaching"),this.detachMedia());const n="media"in t,s=n?t.media:t,m=n?t:{media:s};this._media=s,this.trigger(o.MEDIA_ATTACHING,m)}detachMedia(){this.logger.log("detachMedia"),this.trigger(o.MEDIA_DETACHING,{}),this._media=null}transferMedia(){this._media=null;const t=this.bufferController.transferMedia();return this.trigger(o.MEDIA_DETACHING,{transferMedia:t}),t}loadSource(t){this.stopLoad();const n=this.media,s=this._url,m=this._url=ae.buildAbsoluteURL(self.location.href,t,{alwaysNormalize:!0});this._autoLevelCapping=-1,this._maxHdcpLevel=null,this.logger.log(`loadSource:${m}`),n&&s&&(s!==m||this.bufferController.hasSourceTypes())&&(this.detachMedia(),this.attachMedia(n)),this.trigger(o.MANIFEST_LOADING,{url:t})}get url(){return this._url}get hasEnoughToStart(){return this.streamController.hasEnoughToStart}get startPosition(){return this.streamController.startPositionValue}startLoad(t=-1,n){this.logger.log(`startLoad(${t+(n?", ":"")})`),this.started=!0,this.resumeBuffering();for(let s=0;s{t.resumeBuffering&&t.resumeBuffering()}))}pauseBuffering(){this.bufferingEnabled&&(this.logger.log("pause buffering"),this.networkControllers.forEach(t=>{t.pauseBuffering&&t.pauseBuffering()}))}get inFlightFragments(){const t={[u.MAIN]:this.streamController.inFlightFrag};return this.audioStreamController&&(t[u.AUDIO]=this.audioStreamController.inFlightFrag),this.subtititleStreamController&&(t[u.SUBTITLE]=this.subtititleStreamController.inFlightFrag),t}swapAudioCodec(){this.logger.log("swapAudioCodec"),this.streamController.swapAudioCodec()}recoverMediaError(){this.logger.log("recoverMediaError");const t=this._media,n=t==null?void 0:t.currentTime;this.detachMedia(),t&&(this.attachMedia(t),n&&this.startLoad(n))}removeLevel(t){this.levelController.removeLevel(t)}get sessionId(){let t=this._sessionId;return t||(t=this._sessionId=qi()),t}get levels(){const t=this.levelController.levels;return t||[]}get latestLevelDetails(){return this.streamController.getLevelDetails()||null}get loadLevelObj(){return this.levelController.loadLevelObj}get currentLevel(){return this.streamController.currentLevel}set currentLevel(t){this.logger.log(`set currentLevel:${t}`),this.levelController.manualLevel=t,this.streamController.immediateLevelSwitch()}get nextLevel(){return this.streamController.nextLevel}set nextLevel(t){this.logger.log(`set nextLevel:${t}`),this.levelController.manualLevel=t,this.streamController.nextLevelSwitch()}get loadLevel(){return this.levelController.level}set loadLevel(t){this.logger.log(`set loadLevel:${t}`),this.levelController.manualLevel=t}get nextLoadLevel(){return this.levelController.nextLoadLevel}set nextLoadLevel(t){this.levelController.nextLoadLevel=t}get firstLevel(){return Math.max(this.levelController.firstLevel,this.minAutoLevel)}set firstLevel(t){this.logger.log(`set firstLevel:${t}`),this.levelController.firstLevel=t}get startLevel(){const t=this.levelController.startLevel;return t===-1&&this.abrController.forcedAutoLevel>-1?this.abrController.forcedAutoLevel:t}set startLevel(t){this.logger.log(`set startLevel:${t}`),t!==-1&&(t=Math.max(t,this.minAutoLevel)),this.levelController.startLevel=t}get capLevelToPlayerSize(){return this.config.capLevelToPlayerSize}set capLevelToPlayerSize(t){const n=!!t;n!==this.config.capLevelToPlayerSize&&(n?this.capLevelController.startCapping():(this.capLevelController.stopCapping(),this.autoLevelCapping=-1,this.streamController.nextLevelSwitch()),this.config.capLevelToPlayerSize=n)}get autoLevelCapping(){return this._autoLevelCapping}get bandwidthEstimate(){const{bwEstimator:t}=this.abrController;return t?t.getEstimate():NaN}set bandwidthEstimate(t){this.abrController.resetEstimator(t)}get abrEwmaDefaultEstimate(){const{bwEstimator:t}=this.abrController;return t?t.defaultEstimate:NaN}get ttfbEstimate(){const{bwEstimator:t}=this.abrController;return t?t.getEstimateTTFB():NaN}set autoLevelCapping(t){this._autoLevelCapping!==t&&(this.logger.log(`set autoLevelCapping:${t}`),this._autoLevelCapping=t,this.levelController.checkMaxAutoUpdated())}get maxHdcpLevel(){return this._maxHdcpLevel}set maxHdcpLevel(t){Cr(t)&&this._maxHdcpLevel!==t&&(this._maxHdcpLevel=t,this.levelController.checkMaxAutoUpdated())}get autoLevelEnabled(){return this.levelController.manualLevel===-1}get manualLevel(){return this.levelController.manualLevel}get minAutoLevel(){const{levels:t,config:{minAutoBitrate:n}}=this;if(!t)return 0;const s=t.length;for(let m=0;m=n)return m;return 0}get maxAutoLevel(){const{levels:t,autoLevelCapping:n,maxHdcpLevel:s}=this;let m;if(n===-1&&t!=null&&t.length?m=t.length-1:m=n,s)for(let E=m;E--;){const T=t[E].attrs["HDCP-LEVEL"];if(T&&T<=s)return E}return m}get firstAutoLevel(){return this.abrController.firstAutoLevel}get nextAutoLevel(){return this.abrController.nextAutoLevel}set nextAutoLevel(t){this.abrController.nextAutoLevel=t}get playingDate(){return this.streamController.currentProgramDateTime}get mainForwardBufferInfo(){return this.streamController.getMainFwdBufferInfo()}get maxBufferLength(){return this.streamController.maxBufferLength}setAudioOption(t){var n;return((n=this.audioTrackController)==null?void 0:n.setAudioOption(t))||null}setSubtitleOption(t){var n;return((n=this.subtitleTrackController)==null?void 0:n.setSubtitleOption(t))||null}get allAudioTracks(){const t=this.audioTrackController;return t?t.allAudioTracks:[]}get audioTracks(){const t=this.audioTrackController;return t?t.audioTracks:[]}get audioTrack(){const t=this.audioTrackController;return t?t.audioTrack:-1}set audioTrack(t){const n=this.audioTrackController;n&&(n.audioTrack=t)}get allSubtitleTracks(){const t=this.subtitleTrackController;return t?t.allSubtitleTracks:[]}get subtitleTracks(){const t=this.subtitleTrackController;return t?t.subtitleTracks:[]}get subtitleTrack(){const t=this.subtitleTrackController;return t?t.subtitleTrack:-1}get media(){return this._media}set subtitleTrack(t){const n=this.subtitleTrackController;n&&(n.subtitleTrack=t)}get subtitleDisplay(){const t=this.subtitleTrackController;return t?t.subtitleDisplay:!1}set subtitleDisplay(t){const n=this.subtitleTrackController;n&&(n.subtitleDisplay=t)}get lowLatencyMode(){return this.config.lowLatencyMode}set lowLatencyMode(t){this.config.lowLatencyMode=t}get liveSyncPosition(){return this.latencyController.liveSyncPosition}get latency(){return this.latencyController.latency}get maxLatency(){return this.latencyController.maxLatency}get targetLatency(){return this.latencyController.targetLatency}set targetLatency(t){this.latencyController.targetLatency=t}get drift(){return this.latencyController.drift}get forceStartLoad(){return this.streamController.forceStartLoad}get pathways(){return this.levelController.pathways}get pathwayPriority(){return this.levelController.pathwayPriority}set pathwayPriority(t){this.levelController.pathwayPriority=t}get bufferedToEnd(){var t;return!!((t=this.bufferController)!=null&&t.bufferedToEnd)}get interstitialsManager(){var t;return((t=this.interstitialsController)==null?void 0:t.interstitialsManager)||null}getMediaDecodingInfo(t,n=this.allAudioTracks){const s=xi(n);return vt(t,s,navigator.mediaCapabilities)}}Bt.defaultConfig=void 0},53280:function(d,g,e){"use strict";e.d(g,{D:function(){return i}});function r(l,c,f){var o=f||{},h=o.noTrailing,u=h===void 0?!1:h,a=o.noLeading,x=a===void 0?!1:a,p=o.debounceMode,y=p===void 0?void 0:p,_,b=!1,S=0;function R(){_&&clearTimeout(_)}function L(D){var B=D||{},$=B.upcomingOnly,j=$===void 0?!1:$;R(),b=!j}function P(){for(var D=arguments.length,B=new Array(D),$=0;$l?x?(S=Date.now(),u||(_=setTimeout(y?W:V,l))):V():u!==!0&&(_=setTimeout(y?W:V,y===void 0?l-K:l))}return P.cancel=L,P}function i(l,c,f){var o=f||{},h=o.atBegin,u=h===void 0?!1:h;return r(l,c,{debounceMode:u!==!1})}}},__webpack_module_cache__={};function __webpack_require__(d){var g=__webpack_module_cache__[d];if(g!==void 0)return g.exports;var e=__webpack_module_cache__[d]={id:d,loaded:!1,exports:{}};return __webpack_modules__[d].call(e.exports,e,e.exports,__webpack_require__),e.loaded=!0,e.exports}__webpack_require__.m=__webpack_modules__,function(){__webpack_require__.amdO={}}(),function(){__webpack_require__.n=function(d){var g=d&&d.__esModule?function(){return d.default}:function(){return d};return __webpack_require__.d(g,{a:g}),g}}(),function(){var d=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},g;__webpack_require__.t=function(e,r){if(r&1&&(e=this(e)),r&8||typeof e=="object"&&e&&(r&4&&e.__esModule||r&16&&typeof e.then=="function"))return e;var i=Object.create(null);__webpack_require__.r(i);var l={};g=g||[null,d({}),d([]),d(d)];for(var c=r&2&&e;typeof c=="object"&&!~g.indexOf(c);c=d(c))Object.getOwnPropertyNames(c).forEach(function(f){l[f]=function(){return e[f]}});return l.default=function(){return e},__webpack_require__.d(i,l),i}}(),function(){__webpack_require__.d=function(d,g){for(var e in g)__webpack_require__.o(g,e)&&!__webpack_require__.o(d,e)&&Object.defineProperty(d,e,{enumerable:!0,get:g[e]})}}(),function(){__webpack_require__.f={},__webpack_require__.e=function(d){return Promise.all(Object.keys(__webpack_require__.f).reduce(function(g,e){return __webpack_require__.f[e](d,g),g},[]))}}(),function(){__webpack_require__.u=function(d){return""+({26:"p__Classrooms__Lists__Graduation__Tasks__Edit__index",67:"p__Message__index",109:"p__Classrooms__Lists__ShixunHomeworks__Detail__components__CodeReview__Detail__index",195:"p__Classrooms__Lists__GroupHomework__Detail__index",264:"p__User__Detail__Order__pages__orderPay__index",265:"p__User__Detail__Topics__index",292:"p__Classrooms__Lists__Exercise__Add__index",310:"p__User__Detail__ExperImentImg__Detail__index",337:"p__Paperlibrary__Random__PreviewEdit__index",342:"p__Classrooms__Lists__ShixunHomeworks__Comment__index",479:"p__Classrooms__Lists__GroupHomework__EditWork__index",485:"p__Question__AddOrEdit__BatchAdd__index",508:"p__Forums__Detail__id",532:"p__ExcellentCourse__index",533:"p__Classrooms__Lists__Video__Statistics__Detail__index",547:"p__Account__index",556:"p__User__Detail__Order__pages__invoice__index",559:"layouts__virtualDetail__index",570:"p__Home__Detail__OnlineNum__index",576:"p__Account__Profile__Edit__index",643:"p__Classrooms__Lists__Polls__QuestionnaireInfo__index",672:"p__Home__Detail__ShixunContext__Detail__index",680:"p__Innovation__index",700:"p__tasks__Jupyter__index",737:"p__Classrooms__Lists__CommonHomework__Detail__components__CodeReview__Detail__index",799:"p__User__Detail__Topics__Poll__Detail__index",869:"p__Guidance__index",895:"p__Classrooms__Lists__Video__Items__videoInfo__index",921:"p__Classrooms__Lists__Exercise__CodeDetails__index",928:"p__RestFul__Edit__index",1006:"p__RestFul__index",1043:"p__Classrooms__Lists__Graduation__Tasks__index",1045:"p__virtualSpaces__Lists__Knowledge__AddAndEdit__index",1048:"p__Classrooms__Lists__ProgramHomework__Detail__Ranking__index",1070:"p__Innovation__PublicMirror__index",1148:"p__Shixuns__Detail__Repository__UploadFile__index",1211:"p__Classrooms__Lists__CommonHomework__EditWork__index",1253:"p__Graduations__Lists__Gradingsummary__index",1257:"p__Classrooms__Lists__ResourceRecommend__index",1265:"p__Classrooms__Lists__Announcement__index",1276:"p__MoopCases__Success__index",1343:"p__User__Detail__ResourceAllocation__index",1416:"p__User__Detail__AccountInfo__CareerCertification__index",1423:"p__Shixuns__Edit__body__Level__Challenges__EditPracticeAnswer__index",1427:"p__Classrooms__Lists__Statistics__index",1450:"p__Classrooms__Lists__ShixunHomeworks__Commitsummary__index",1461:"p__Graduations__Lists__Topics__index",1470:"p__User__Register__index",1475:"p__Shixuns__Detail__Dataset__JupyterData__index",1482:"p__Classrooms__Lists__Graduation__Topics__Edit__index",1512:"p__Classrooms__Lists__Exercise__AnswerCheck__index",1520:"p__Engineering__Lists__StudentList__index",1545:"p__Paperlibrary__Random__ExchangeFromProblemSet__index",1578:"p__Classrooms__Lists__Graduation__Topics__Detail__index",1581:"p__Problemset__Preview__index",1582:"p__Classrooms__Lists__GroupHomework__Add__index",1657:"p__Shixuns__Edit__body__Level__Challenges__EditQuestion__index",1660:"p__User__QQLogin__index",1674:"p__Classrooms__ClassicCases__index",1702:"p__Classrooms__New__index",1713:"p__virtualSpaces__Lists__Settings__index",1717:"layouts__index",1727:"p__Classrooms__Lists__CourseGroup__NotList__index",1783:"p__virtualSpaces__Lists__Experiment__index",1799:"p__Competitions__Entered__Assembly__TeamDateil",1831:"p__Graduations__Index__index",1836:"p__Classrooms__Lists__Attendance__Webview__Teacher__index",1855:"p__MoopCases__InfoPanel__index",1880:"p__User__Detail__Order__pages__apply__index",1939:"p__User__Detail__Order__index",1953:"p__Problemset__NewItem__index",1962:"p__Classrooms__Lists__Engineering__index",2045:"p__Engineering__Lists__TeacherList__index",2076:"p__User__Detail__Competitions__index",2102:"p__Classrooms__Lists__Board__Edit__index",2141:"p__Shixuns__Detail__Split__index",2216:"p__DataSet__Index__index",2240:"p__User__Detail__Videos__Upload__index",2254:"p__Shixuns__Detail__Discuss__index",2300:"p__Api__index",2303:"p__Classrooms__Lists__CommonHomework__Comment__index",2307:"p__Report__index",2338:"p__Classrooms__Lists__CommonHomework__Review__index",2339:"p__virtualSpaces__Lists__Plan__Detail__index",2396:"p__User__Detail__ResourcesCenter__index",2404:"p__Classrooms__Lists__Template__teacher__index",2412:"p__User__Detail__Videos__index",2425:"p__Classrooms__Lists__Board__Detail__index",2443:"p__Graduations__Lists__StageModule__index",2476:"p__Colleges__index",2501:"p__Search__index",2529:"p__User__Detail__id",2539:"p__Graduations__Review__index",2548:"p__Engineering__Norm__Detail__index",2570:"p__Competitions__Detail__index",2603:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Add__index",2659:"p__User__Detail__UserPortrait__index",2707:"p__Innovation__MyDataSet__index",2806:"p__User__Detail__Topics__Exercise__Detail__index",2819:"p__Classrooms__Lists__Template__detail__index",2823:"p__Engineering__Navigation__Home__index",2826:"p__User__Detail__DataSet__index",2829:"p__Messages__Private__index",2865:"p__Innovation__MyMirror__index",2875:"p__Shixuns__Detail__id",2884:"p__Classrooms__Lists__ProgramHomework__Comment__index",2983:"p__Forums__Index__index",3006:"p__Engineering__index",3141:"p__Innovation__Detail__index",3157:"p__User__Detail__ExperImentImg__Add__index",3183:"p__Engineering__Lists__GraduationIndex__index",3212:"p__MoopCases__index",3220:"p__Classrooms__Lists__Video__Upload__index",3247:"p__Paperlibrary__See__index",3260:"p__Paperlibrary__Add__index",3276:"p__Classrooms__Lists__Statistics__UserportraitStatistics__index",3282:"layouts__ShixunDetail__index",3317:"p__Classrooms__Lists__Graduation__Topics__Add__index",3332:"p__Paths__Detail__id",3355:"p__Classrooms__Lists__Polls__index",3356:"p__Classrooms__Lists__Assistant__index",3391:"p__Classrooms__Lists__ProgramHomework__Detail__components__CodeReview__Detail__index",3433:"p__Classrooms__Lists__Exercise__Sumup__Edit__index",3442:"p__Classrooms__Lists__Board__Add__index",3447:"p__User__Detail__Order__pages__orderInformation__index",3451:"p__Classrooms__Lists__Statistics__StudentStatistics__Detail__index",3496:"p__User__Detail__OtherResources__index",3509:"p__HttpStatus__SixActivities",3581:"p__Classrooms__Lists__ShixunHomeworks__Detail__index",3585:"p__Classrooms__Lists__Statistics__StudentSituation__index",3665:"p__tasks__index",3668:"p__Classrooms__Lists__CommonHomework__Detail__index",3747:"p__virtualSpaces__Lists__Homepage__index",3784:"p__Paperlibrary__Random__Detail__index",3862:"p__HttpStatus__403",3873:"p__virtualSpaces__Lists__Lesson__index",3910:"p__HttpStatus__introduction",3935:"p__Classrooms__Lists__GroupHomework__index",3951:"p__Classrooms__Lists__ProgramHomework__Detail__index",4017:"p__Classrooms__Lists__PlaceholderPage__index",4030:"p__Classrooms__Lists__ProgramHomework__AddAndEdit__index",4056:"p__IntrainCourse__index",4058:"p__Demo__index",4078:"p__Messages__Tidings__index",4093:"p__Classrooms__Lists__Attendance__Detail__index",4105:"p__Classrooms__Lists__Exercise__Answer__index",4144:"p__Problemset__Preview__New__index",4164:"p__Classrooms__Lists__Exercise__Detail__index",4216:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Edit__index",4217:"p__Classrooms__Lists__Video__Statistics__index",4227:"p__Paths__Overview__index",4259:"p__User__Detail__Order__pages__result__index",4264:"p__Forums__New__index",4449:"p__Competitions__Exports__index",4492:"p__Graduations__Lists__StudentSelection__index",4496:"p__HttpStatus__HpcCourse",4498:"p__Shixuns__Edit__body__Level__Challenges__NewPractice__index",4504:"p__virtualSpaces__Lists__Survey__index",4514:"p__Account__Results__index",4520:"p__Account__Secure__index",4546:"p__Engineering__Lists__TrainingProgram__Add__index",4565:"p__HttpStatus__500",4572:"p__Classrooms__Lists__ExportList__index",4599:"p__Problemset__index",4601:"p__Paths__Detail__Statistics__index",4610:"p__User__Detail__LearningPath__index",4621:"p__Administration__Profession__index",4662:"p__Classrooms__Lists__GroupHomework__Review__index",4715:"p__virtualSpaces__Lists__Material__Detail__index",4736:"p__User__Detail__Projects__index",4741:"p__Problems__OjForm__NewEdit__index",4757:"p__virtualSpaces__Lists__Workplace__index",4766:"p__Administration__index",4770:"p__Classrooms__Lists__ProgramHomework__Detail__answer__index",4795:"p__Classrooms__Lists__Graduation__Tasks__Add__index",4800:"p__Engineering__Lists__GraduatedMatrix__index",4849:"p__User__Detail__ExperImentImg__index",4862:"p__Paperlibrary__index",4884:"p__Shixuns__Detail__Repository__Commit__index",4889:"p__Classrooms__Lists__Exercise__ImitateAnswer__index",4928:"p__Classrooms__Lists__LearningPath__index",4973:"p__Engineering__Evaluate__List__index",4994:"p__Problems__OjForm__index",5022:"p__Graduations__Lists__Settings__index",5043:"p__User__Detail__Topics__Poll__Edit__index",5048:"p__Classrooms__Lists__Graduation__Topics__index",5096:"p__Shixuns__Detail__AuditSituation__index",5111:"p__Terminal__index",5125:"p__Classrooms__Lists__Exercise__DetailedAnalysis__index",5148:"p__Classrooms__Lists__Polls__Answer__index",5176:"p__User__Detail__Videos__Protocol__index",5179:"p__Administration__Student__Edit__index",5186:"p__Classrooms__Overview__index",5191:"p__User__Detail__Certificate__index",5238:"p__virtualSpaces__Lists__Material__index",5297:"p__Classrooms__Lists__Exercise__Detail__components__DuplicateChecking__CheckDetail__index",5319:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Detail__index",5335:"p__Engineering__Lists__CourseMatrix__index",5357:"p__Engineering__Lists__TrainingProgram__Edit__index",5359:"p__Messages__Detail__index",5382:"p__DataSet__Detail__index",5402:"p__User__Detail__Topics__Detail__index",5470:"p__Shixuns__Detail__Collaborators__index",5518:"p__Classrooms__Lists__Template__index",5549:"p__Shixuns__New__CreateImg__index",5572:"p__Paths__HigherVocationalEducation__index",5573:"p__Shixuns__Detail__Merge__index",5599:"p__User__Detail__Paths__index",5624:"p__Graduations__Lists__Index__index",5650:"p__Competitions__Update__index",5705:"p__virtualSpaces__Lists__Construction__index",5729:"p__Help__Index",5775:"p__Engineering__Lists__Document__index",5786:"layouts__LoginAndRegister__index",5798:"p__Classrooms__Lists__Video__Statistics__UserDetail__index",5816:"p__Paperlibrary__Random__Edit__index",5825:"p__Classrooms__Lists__Exercise__index",5888:"p__Classrooms__Lists__CommonHomework__Add__index",5891:"p__virtualSpaces__Lists__Resources__index",5895:"p__User__Detail__AccountInfo__Profile__Edit__index",5902:"p__Classrooms__Lists__Exercise__Sumup__index",5915:"p__knowledgegraph__Detail__Statistics__index",5972:"layouts__user__index",5992:"p__Classrooms__Lists__Exercise__ReviewGroup__index",6029:"p__Administration__Student__index",6034:"p__HttpStatus__UserAgents",6052:"p__Paths__Index__index",6063:"p__Graduations__Lists__Personmanage__index",6069:"p__virtualSpaces__Lists__Lesson__Detail__index",6127:"p__Classrooms__Lists__ProgramHomework__Ranking__index",6170:"p__HttpStatus__downloadStudent",6265:"p__virtualSpaces__Lists__Discussion__index",6270:"p__MyProblem__index",6277:"p__Shixuns__Edit__index",6328:"p__Shixuns__Edit__body__Warehouse__index",6366:"p__Innovation__PublicProject__index",6434:"p__User__Detail__Order__pages__records__index",6444:"p__Video__Detail__id",6452:"p__Innovation__PublicDataSet__index",6531:"p__HttpStatus__404",6541:"p__Shixuns__Detail__Dataset__index",6583:"p__User__Detail__Classrooms__index",6587:"p__User__Detail__Videos__Protocol__resource",6634:"p__Innovation__Tasks__index",6651:"p__Engineering__Evaluate__Detail__index",6685:"p__Classrooms__Index__index",6729:"p__Classrooms__Lists__GroupHomework__Edit__index",6741:"p__Engineering__Norm__List__index",6758:"p__Classrooms__Lists__Attachment__index",6784:"p__Innovation__Edit__index",6788:"p__Classrooms__Lists__ProgramHomework__index",6796:"p__virtualSpaces__Lists__Announcement__Detail__index",6805:"p__User__Detail__AccountInfo__RealNameCertification__index",6820:"p__User__Detail__Topics__Normal__index",6845:"p__Shixuns__Detail__Settings__index",6882:"p__Classrooms__New__StartClass__index",6883:"p__Competitions__Index__index",6904:"p__MoopCases__FormPanel__index",6913:"p__Question__AddOrEdit__index",6963:"p__Classrooms__Lists__Engineering__Detail__index",6982:"p__User__Detail__AccountInfo__Profile__index",7008:"p__Shixuns__New__index",7043:"p__User__Detail__Topics__Exercise__Edit__index",7045:"p__Classrooms__Lists__CommonHomework__SubmitWork__index",7046:"p__Shixuns__Detail__Repository__AddFile__index",7058:"p__virtualSpaces__Lists__Survey__Detail__index",7062:"layouts__SimpleLayouts",7178:"p__User__BindAccount__index",7182:"p__User__ResetPassword__index",7242:"p__Innovation__MyProject__index",7260:"p__Account__Certification__index",7333:"p__User__WechatLogin__index",7395:"p__Classrooms__Lists__Statistics__StudentDetail__index",7460:"p__Question__OjProblem__index",7477:"p__virtualSpaces__Lists__Announcement__index",7482:"p__Classrooms__Lists__Exercise__Notice__index",7527:"p__MyProblem__RecordDetail__index",7545:"p__Graduations__Lists__Archives__index",7560:"p__Administration__College__index",7589:"p__virtualSpaces__Lists__DigitalTopics__index",7614:"p__Shixuns__Edit__body__Level__Challenges__RankingSetting__index",7622:"p__Classrooms__Lists__Polls__Detail__index",7806:"p__Classrooms__Lists__Statistics__StatisticsQuality__index",7852:"p__Classrooms__Lists__ShixunHomeworks__index",7855:"p__User__Detail__ResourcesCenter__Detail__index",7857:"p__Shixuns__Edit__body__Level__Challenges__NewQuestion__index",7878:"p__Classrooms__Lists__LiveVideo__index",7884:"p__Shixuns__Exports__index",7922:"p__Classrooms__Lists__CourseGroup__Detail__index",7948:"p__User__Detail__ClassManagement__index",8014:"p__Classrooms__Lists__Teachers__index",8062:"p__User__Detail__Topicbank__index",8072:"p__Classrooms__Lists__GroupHomework__SubmitWork__index",8077:"p__Classrooms__Lists__Students__index",8085:"p__Classrooms__Lists__Exercise__Review__index",8143:"layouts__GraduationsDetail__index",8155:"p__Shixuns__Overview__index",8237:"p__User__Detail__Order__pages__view__index",8241:"p__virtualSpaces__Lists__Plan__index",8302:"p__Classrooms__Lists__Board__index",8307:"p__User__Detail__Shixuns__index",8340:"p__Classrooms__Lists__Attendance__Webview__Student__index",8365:"p__Home__Detail__ShixunContext__index",8398:"p__virtualSpaces__Lists__Resources__Detail__index",8431:"p__Classrooms__Lists__Exercise__Export__index",8435:"p__Classrooms__Lists__Attendance__index",8447:"p__virtualSpaces__Lists__Knowledge__index",8517:"p__User__Detail__Topics__Group__index",8563:"p__virtualSpaces__Lists__Discussion__Detail__index",8634:"p__Classrooms__Lists__CourseGroup__List__index",8639:"p__Forums__Index__redirect",8665:"p__Engineering__Lists__TrainingObjectives__index",8688:"p__Shixuns__Detail__Repository__index",8689:"p__Classrooms__Lists__Statistics__VideoStatistics__index",8723:"p__Classrooms__Lists__Polls__Edit__index",8782:"p__Shixuns__Index__index",8787:"p__Competitions__Entered__index",8797:"p__Competitions__Edit__index",8823:"p__knowledgegraph__Detail__id",8827:"p__Classrooms__Lists__OnlineLearning__index",8866:"p__index",8882:"p__Classrooms__Lists__Graduation__Tasks__Detail__index",8885:"p__Classrooms__Lists__Statistics__StudentStatistics__index",8982:"p__Paths__New__index",8999:"p__Three__index",9076:"p__Account__Binding__index",9133:"p__Shixuns__Detail__Challenges__index",9205:"p__Shixuns__Edit__body__Level__Challenges__EditPracticeSetting__index",9215:"p__Shixuns__Detail__ForkList__index",9332:"p__Classrooms__Lists__Video__index",9360:"p__User__Detail__virtualSpaces__index",9366:"p__User__Login__index",9391:"p__Engineering__Lists__CurseSetting__index",9404:"monaco-editor",9408:"p__Shixuns__Detail__RankingList__index",9416:"p__Graduations__Lists__Tasks__index",9487:"p__LargeScreen__index",9489:"p__Engineering__Lists__CourseList__index",9507:"p__User__Detail__ResourceGuarantee__index",9519:"p__User__Detail__ClassManagement__Item__index",9590:"p__User__Detail__TeachGroup__index",9647:"p__Question__Index__index",9649:"p__Engineering__Lists__TrainingProgram__index",9674:"p__Shixuns__New__ImagePreview__index",9677:"p__virtualSpaces__Lists__Announcement__AddAndEdit__index",9695:"p__Classrooms__Lists__Polls__Add__index",9715:"p__Classrooms__Lists__CommonHomework__Edit__index",9716:"p__Question__OjProblem__RecordDetail__index",9785:"p__Classrooms__Lists__Template__student__index",9788:"p__Account__Profile__index",9890:"p__Classrooms__Lists__CommonHomework__index",9891:"p__User__Detail__Videos__Success__index",9921:"p__Classrooms__ExamList__index",9922:"p__Classrooms__Lists__Statistics__StudentVideo__index",9944:"p__Classrooms__Lists__Video__Statistics__StudentDetail__index"}[d]||d)+"."+{26:"5fd14d66",67:"0e613dcb",109:"41a3c364",195:"d98f97c7",264:"0e913148",265:"54eb1557",278:"cdd29237",292:"e88d20c7",310:"f405f77e",316:"1f60ada6",337:"0749d5ac",342:"697fb9a7",354:"d4d139cf",479:"cb1f173a",485:"59a48868",508:"a85742e8",532:"e141c742",533:"2870a023",547:"3b89fa9b",556:"fef8c6d1",559:"c1b5407c",570:"6e3882ff",576:"09180d50",629:"44a1d9a5",643:"92ee2d76",671:"4a609b8d",672:"37450f7c",680:"5cfeaedf",700:"06b841c5",737:"97542717",741:"ac5fd360",799:"f57283d3",869:"ebef3244",895:"fe6c2e25",921:"ea7d46fb",928:"832b16fc",981:"24da50c7",1006:"57045f9f",1043:"f9115961",1045:"9073f58d",1048:"90ae4838",1070:"2bbb6f26",1144:"c90eccaf",1148:"e123b473",1154:"8cb80842",1188:"95b9edeb",1211:"961c0c29",1253:"0d72b5c8",1257:"9bd72f7e",1265:"e00bb72f",1274:"5f6ea65a",1276:"1232c571",1343:"54552056",1416:"301e1c8a",1423:"c0dca4fb",1427:"508e2735",1450:"bba4318f",1461:"65c2ab9c",1462:"fcf08abc",1470:"7d115b0a",1475:"83fa742a",1482:"236e0393",1512:"2756fe43",1520:"f6545135",1545:"685c5411",1578:"930ae5a7",1581:"02177b5f",1582:"ea63cf3d",1646:"e6e27b60",1657:"9c90931c",1660:"65a52d93",1674:"3eb6ba9a",1702:"a5df7ded",1713:"707266bb",1717:"39c1cb01",1727:"0c1c768d",1783:"096c919b",1799:"a3991011",1831:"772232ac",1836:"c220805c",1855:"18c35631",1880:"151fc459",1939:"f9ae7b86",1953:"03671023",1962:"b40ad8da",2011:"59d51f98",2045:"7ba792fc",2076:"1e8160db",2102:"e89c60e6",2125:"0917684a",2141:"14dee967",2216:"a06f36e7",2240:"0f3cbb90",2249:"f4830452",2254:"1103017a",2300:"e1bf89cf",2303:"72077e86",2307:"94c28f7e",2338:"e38447bc",2339:"fa8f0451",2386:"192e235c",2396:"f7183971",2404:"b05421af",2412:"ec9f25ee",2413:"71d7e69d",2425:"19aba420",2443:"ee779d6e",2476:"99b8606d",2494:"68080a87",2501:"00cfd1ba",2509:"95753e21",2529:"685eec05",2538:"de4a3723",2539:"6aea888c",2548:"a8fbf09d",2570:"cd046697",2594:"e87d3761",2603:"54bfd052",2654:"f657ac1b",2659:"c0671c95",2707:"f349ea60",2806:"953dc136",2819:"04dcc35b",2823:"796b62fc",2826:"06ed085c",2829:"7f623b7e",2837:"54a82605",2865:"dc6aaae7",2875:"94795336",2884:"3981f01d",2969:"ab3357d7",2983:"91b5cf2e",3006:"0c33b4f0",3133:"9bf3f89c",3141:"5e396ebf",3157:"480edb6a",3183:"c60406fb",3198:"8e655451",3212:"57bcb6c1",3220:"31a2f900",3247:"37cfeee4",3260:"fe3916c1",3267:"7bab569a",3276:"a2f501c6",3282:"e9b14950",3317:"424d4280",3332:"f334c3c5",3355:"1999ce12",3356:"42cfad4e",3391:"00ddeb53",3433:"fca44e84",3442:"e3d2423c",3447:"1e9582ee",3451:"51fb556e",3496:"33feb152",3509:"5c270ac8",3550:"3dc83156",3581:"dbb220f3",3585:"2ce6a2ed",3665:"58db6112",3668:"38ea06e3",3697:"481a10d9",3747:"f38d2803",3754:"8a42053c",3777:"d5b0f2f1",3784:"9ae968e5",3805:"9dbcb95e",3862:"41064403",3873:"b3b23eab",3885:"f87f7f15",3910:"badbd452",3935:"8d6059c2",3951:"a1e276dd",3987:"a5fa1e4d",4014:"27a8e97c",4017:"b1859413",4030:"35f56b33",4056:"3b76996e",4058:"4b8bcbfb",4078:"185ef1bc",4088:"236723f3",4093:"a190b03b",4105:"c7ac8f4c",4144:"07e2f551",4164:"3b6b9e4f",4184:"ff08337d",4216:"1c2d22eb",4217:"47867fad",4227:"551d4e86",4259:"7527addd",4264:"1f57a794",4347:"ce21ef2e",4354:"140899b7",4360:"cf5efa52",4449:"76228b1f",4492:"609c38d2",4496:"31c1bf16",4498:"41fd7c4a",4504:"658a435c",4514:"7795d8af",4520:"78484881",4546:"afb7a70b",4565:"34ca03e6",4572:"06fb93fc",4599:"61def4cb",4601:"2b92ed20",4610:"6f1cf0cb",4621:"8bae08e1",4628:"ece2c60c",4662:"6b01a362",4685:"c33f1528",4715:"5f52e8f8",4736:"57926282",4741:"b030ec9d",4757:"ca92561b",4766:"d267690e",4770:"8dd4f97f",4790:"619413e4",4795:"4edb13ab",4797:"a24e92db",4800:"81e35ea6",4849:"d6044b36",4850:"1edda4b7",4862:"29230bf0",4884:"c0724104",4889:"1810ef3c",4928:"bf97fd4f",4973:"242caa1a",4994:"0b4b25f2",5022:"6cf35daa",5043:"ca2729ac",5048:"999dcbf8",5060:"85dafcc6",5096:"069fc2d9",5111:"9d8ae95a",5125:"edf1a30d",5148:"70aa3de0",5176:"61cb7b49",5179:"18ce2532",5186:"ad33fd4a",5191:"f0474af9",5238:"da73f66a",5290:"5dabcdc2",5297:"2bdb9fb2",5319:"e6da2aaa",5321:"1163c84e",5335:"514012f2",5354:"7ae70604",5357:"2c86df7f",5359:"4e16f788",5382:"5fa6f1ff",5402:"30d334fb",5416:"454536b7",5434:"38b302a6",5470:"e0ca69d4",5494:"d89549c4",5518:"92bb0cc5",5549:"868e0d0a",5572:"bb9daff6",5573:"3e51b2e0",5599:"ae683ffb",5624:"942456ab",5631:"e00d3d36",5650:"56f167ae",5679:"4a090bef",5705:"41d2c5f1",5729:"c00ffdae",5764:"e0d7e586",5775:"22f2e9b0",5786:"ae92d5f7",5798:"42f0887c",5816:"3e28e656",5825:"b9c3ee06",5876:"5eded409",5886:"490e40cd",5888:"dfaebb48",5891:"e7c36fdf",5895:"83ad7d29",5902:"a54b65be",5915:"be52cf50",5972:"7856c6ab",5992:"9f868259",6029:"062a3e07",6034:"fe6c7c3e",6045:"d268f87f",6047:"3ce45acd",6052:"fa0a5eeb",6063:"ae2a546c",6069:"9bde6574",6126:"99519171",6127:"c6cfdc1a",6170:"07f25c2b",6265:"eecccaf4",6270:"a6884154",6277:"e0cbb6a6",6328:"80484f26",6366:"8e178fa0",6378:"7f3a946a",6411:"7d1994e3",6434:"fe8fa5d9",6444:"e8f867ef",6452:"27483645",6531:"eac0ffe2",6541:"ad57488e",6583:"100067f0",6587:"06086327",6634:"ad77fe53",6651:"3c975bed",6675:"3fe93ad4",6685:"0ee72dcb",6729:"773bbde3",6741:"66024dc6",6758:"a6ebaec2",6774:"59d4d618",6784:"cf8d7ee4",6788:"62557ba4",6796:"2419fdc3",6805:"8ee172b8",6820:"0a3a6307",6845:"324ab553",6882:"bbc43576",6883:"6cb80143",6904:"7e5f687f",6913:"f3ae2021",6963:"4c8ec4c4",6982:"d4641a78",7008:"2656eb9c",7043:"e04a8c28",7045:"8300cac2",7046:"0b4c2083",7058:"4de3ffe8",7062:"72cec91c",7084:"46ccce72",7156:"e7466006",7178:"1e44b40f",7180:"3868c0f2",7182:"dfef85b6",7242:"a0ba8718",7260:"91559e86",7331:"2e27a23b",7333:"1a1b2321",7365:"1005464f",7395:"07d528df",7460:"4fbf5dec",7477:"c09921da",7482:"dc3069a8",7527:"a3bab0a1",7545:"0c239efa",7560:"45ff3853",7589:"aa0ce25f",7591:"8354027c",7614:"2b342611",7622:"983e055d",7686:"4fcec9f9",7706:"c2a79e40",7806:"3baa01b4",7852:"280dc0a4",7855:"ee5558ca",7857:"c83de972",7878:"a0fbd301",7884:"df8381e1",7922:"39da8180",7948:"be2cef38",7964:"29aed9a1",8014:"057f2551",8062:"93095cf4",8072:"fe9a0a02",8077:"050c8f42",8085:"dadef748",8089:"d536b13a",8143:"42341b58",8155:"e4bba52a",8161:"83c5fa9a",8237:"268c2265",8241:"e8ec7d20",8302:"1629f21b",8307:"8327d995",8340:"39c85824",8350:"07df8a75",8365:"0d4517f4",8398:"5717dd15",8431:"01e602a1",8435:"f22e3dfb",8447:"09343f96",8517:"a0029897",8561:"333e8ec9",8563:"abe387ab",8600:"f91782e7",8634:"def57886",8639:"68809bd0",8665:"88f5987a",8688:"6c381a14",8689:"586226e2",8723:"df766819",8737:"ce7dad23",8776:"0ad26240",8782:"9c564188",8787:"d34b726d",8797:"6aa0f202",8823:"7de308d3",8827:"6ff2ef26",8842:"9f25a3e2",8866:"7de8bac2",8882:"ceccc690",8885:"46b0088a",8898:"d002bcd8",8909:"82cefd99",8920:"7f82440c",8963:"790aecdd",8982:"de084765",8999:"12cf3ee7",9076:"e0aaaea3",9104:"bbcb2345",9133:"340f0468",9205:"4c7d3a16",9215:"0206d198",9252:"0d791a59",9260:"cf5f8140",9332:"c78101bd",9360:"88628e59",9366:"dd08abde",9391:"84dd65c2",9404:"9fcc3d3e",9408:"45a96c6f",9416:"2e5fd40c",9487:"bbefb860",9489:"79ad516e",9507:"6e728c3c",9519:"58bd3f88",9554:"ed358e7b",9559:"f794af19",9590:"f31c14d9",9647:"0f4af68b",9649:"cf89daca",9674:"f2fed05a",9677:"c07e6bc5",9695:"2f13e5f6",9715:"06bb626f",9716:"8cc894f5",9785:"df4b74d7",9788:"1f3da99f",9890:"a7f6301e",9891:"b033cd93",9895:"b8e31ff2",9921:"0ef4ff27",9922:"6581d79e",9928:"5989f5e0",9944:"c49bafc8",9950:"74f6dfb2",9968:"17466785"}[d]+".async.js"}}(),function(){__webpack_require__.miniCssF=function(d){return""+({26:"p__Classrooms__Lists__Graduation__Tasks__Edit__index",67:"p__Message__index",109:"p__Classrooms__Lists__ShixunHomeworks__Detail__components__CodeReview__Detail__index",195:"p__Classrooms__Lists__GroupHomework__Detail__index",264:"p__User__Detail__Order__pages__orderPay__index",265:"p__User__Detail__Topics__index",292:"p__Classrooms__Lists__Exercise__Add__index",310:"p__User__Detail__ExperImentImg__Detail__index",337:"p__Paperlibrary__Random__PreviewEdit__index",342:"p__Classrooms__Lists__ShixunHomeworks__Comment__index",479:"p__Classrooms__Lists__GroupHomework__EditWork__index",485:"p__Question__AddOrEdit__BatchAdd__index",508:"p__Forums__Detail__id",532:"p__ExcellentCourse__index",533:"p__Classrooms__Lists__Video__Statistics__Detail__index",547:"p__Account__index",556:"p__User__Detail__Order__pages__invoice__index",559:"layouts__virtualDetail__index",576:"p__Account__Profile__Edit__index",643:"p__Classrooms__Lists__Polls__QuestionnaireInfo__index",680:"p__Innovation__index",700:"p__tasks__Jupyter__index",737:"p__Classrooms__Lists__CommonHomework__Detail__components__CodeReview__Detail__index",799:"p__User__Detail__Topics__Poll__Detail__index",869:"p__Guidance__index",895:"p__Classrooms__Lists__Video__Items__videoInfo__index",921:"p__Classrooms__Lists__Exercise__CodeDetails__index",928:"p__RestFul__Edit__index",1006:"p__RestFul__index",1043:"p__Classrooms__Lists__Graduation__Tasks__index",1045:"p__virtualSpaces__Lists__Knowledge__AddAndEdit__index",1048:"p__Classrooms__Lists__ProgramHomework__Detail__Ranking__index",1070:"p__Innovation__PublicMirror__index",1148:"p__Shixuns__Detail__Repository__UploadFile__index",1211:"p__Classrooms__Lists__CommonHomework__EditWork__index",1253:"p__Graduations__Lists__Gradingsummary__index",1257:"p__Classrooms__Lists__ResourceRecommend__index",1265:"p__Classrooms__Lists__Announcement__index",1276:"p__MoopCases__Success__index",1343:"p__User__Detail__ResourceAllocation__index",1416:"p__User__Detail__AccountInfo__CareerCertification__index",1423:"p__Shixuns__Edit__body__Level__Challenges__EditPracticeAnswer__index",1427:"p__Classrooms__Lists__Statistics__index",1450:"p__Classrooms__Lists__ShixunHomeworks__Commitsummary__index",1461:"p__Graduations__Lists__Topics__index",1470:"p__User__Register__index",1475:"p__Shixuns__Detail__Dataset__JupyterData__index",1482:"p__Classrooms__Lists__Graduation__Topics__Edit__index",1512:"p__Classrooms__Lists__Exercise__AnswerCheck__index",1520:"p__Engineering__Lists__StudentList__index",1545:"p__Paperlibrary__Random__ExchangeFromProblemSet__index",1578:"p__Classrooms__Lists__Graduation__Topics__Detail__index",1581:"p__Problemset__Preview__index",1582:"p__Classrooms__Lists__GroupHomework__Add__index",1657:"p__Shixuns__Edit__body__Level__Challenges__EditQuestion__index",1674:"p__Classrooms__ClassicCases__index",1702:"p__Classrooms__New__index",1713:"p__virtualSpaces__Lists__Settings__index",1717:"layouts__index",1727:"p__Classrooms__Lists__CourseGroup__NotList__index",1783:"p__virtualSpaces__Lists__Experiment__index",1831:"p__Graduations__Index__index",1836:"p__Classrooms__Lists__Attendance__Webview__Teacher__index",1855:"p__MoopCases__InfoPanel__index",1880:"p__User__Detail__Order__pages__apply__index",1939:"p__User__Detail__Order__index",1953:"p__Problemset__NewItem__index",1962:"p__Classrooms__Lists__Engineering__index",2045:"p__Engineering__Lists__TeacherList__index",2076:"p__User__Detail__Competitions__index",2102:"p__Classrooms__Lists__Board__Edit__index",2141:"p__Shixuns__Detail__Split__index",2216:"p__DataSet__Index__index",2240:"p__User__Detail__Videos__Upload__index",2254:"p__Shixuns__Detail__Discuss__index",2303:"p__Classrooms__Lists__CommonHomework__Comment__index",2307:"p__Report__index",2338:"p__Classrooms__Lists__CommonHomework__Review__index",2339:"p__virtualSpaces__Lists__Plan__Detail__index",2396:"p__User__Detail__ResourcesCenter__index",2404:"p__Classrooms__Lists__Template__teacher__index",2412:"p__User__Detail__Videos__index",2425:"p__Classrooms__Lists__Board__Detail__index",2443:"p__Graduations__Lists__StageModule__index",2476:"p__Colleges__index",2501:"p__Search__index",2529:"p__User__Detail__id",2539:"p__Graduations__Review__index",2548:"p__Engineering__Norm__Detail__index",2570:"p__Competitions__Detail__index",2603:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Add__index",2659:"p__User__Detail__UserPortrait__index",2707:"p__Innovation__MyDataSet__index",2806:"p__User__Detail__Topics__Exercise__Detail__index",2819:"p__Classrooms__Lists__Template__detail__index",2823:"p__Engineering__Navigation__Home__index",2826:"p__User__Detail__DataSet__index",2829:"p__Messages__Private__index",2865:"p__Innovation__MyMirror__index",2875:"p__Shixuns__Detail__id",2884:"p__Classrooms__Lists__ProgramHomework__Comment__index",2983:"p__Forums__Index__index",3006:"p__Engineering__index",3141:"p__Innovation__Detail__index",3157:"p__User__Detail__ExperImentImg__Add__index",3183:"p__Engineering__Lists__GraduationIndex__index",3212:"p__MoopCases__index",3220:"p__Classrooms__Lists__Video__Upload__index",3247:"p__Paperlibrary__See__index",3260:"p__Paperlibrary__Add__index",3276:"p__Classrooms__Lists__Statistics__UserportraitStatistics__index",3282:"layouts__ShixunDetail__index",3317:"p__Classrooms__Lists__Graduation__Topics__Add__index",3332:"p__Paths__Detail__id",3355:"p__Classrooms__Lists__Polls__index",3356:"p__Classrooms__Lists__Assistant__index",3391:"p__Classrooms__Lists__ProgramHomework__Detail__components__CodeReview__Detail__index",3433:"p__Classrooms__Lists__Exercise__Sumup__Edit__index",3442:"p__Classrooms__Lists__Board__Add__index",3447:"p__User__Detail__Order__pages__orderInformation__index",3451:"p__Classrooms__Lists__Statistics__StudentStatistics__Detail__index",3496:"p__User__Detail__OtherResources__index",3509:"p__HttpStatus__SixActivities",3581:"p__Classrooms__Lists__ShixunHomeworks__Detail__index",3585:"p__Classrooms__Lists__Statistics__StudentSituation__index",3665:"p__tasks__index",3668:"p__Classrooms__Lists__CommonHomework__Detail__index",3747:"p__virtualSpaces__Lists__Homepage__index",3784:"p__Paperlibrary__Random__Detail__index",3873:"p__virtualSpaces__Lists__Lesson__index",3910:"p__HttpStatus__introduction",3935:"p__Classrooms__Lists__GroupHomework__index",3951:"p__Classrooms__Lists__ProgramHomework__Detail__index",4030:"p__Classrooms__Lists__ProgramHomework__AddAndEdit__index",4056:"p__IntrainCourse__index",4078:"p__Messages__Tidings__index",4093:"p__Classrooms__Lists__Attendance__Detail__index",4105:"p__Classrooms__Lists__Exercise__Answer__index",4144:"p__Problemset__Preview__New__index",4164:"p__Classrooms__Lists__Exercise__Detail__index",4216:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Edit__index",4217:"p__Classrooms__Lists__Video__Statistics__index",4227:"p__Paths__Overview__index",4259:"p__User__Detail__Order__pages__result__index",4264:"p__Forums__New__index",4449:"p__Competitions__Exports__index",4492:"p__Graduations__Lists__StudentSelection__index",4496:"p__HttpStatus__HpcCourse",4498:"p__Shixuns__Edit__body__Level__Challenges__NewPractice__index",4504:"p__virtualSpaces__Lists__Survey__index",4514:"p__Account__Results__index",4520:"p__Account__Secure__index",4546:"p__Engineering__Lists__TrainingProgram__Add__index",4572:"p__Classrooms__Lists__ExportList__index",4599:"p__Problemset__index",4601:"p__Paths__Detail__Statistics__index",4610:"p__User__Detail__LearningPath__index",4621:"p__Administration__Profession__index",4662:"p__Classrooms__Lists__GroupHomework__Review__index",4715:"p__virtualSpaces__Lists__Material__Detail__index",4736:"p__User__Detail__Projects__index",4741:"p__Problems__OjForm__NewEdit__index",4757:"p__virtualSpaces__Lists__Workplace__index",4766:"p__Administration__index",4770:"p__Classrooms__Lists__ProgramHomework__Detail__answer__index",4795:"p__Classrooms__Lists__Graduation__Tasks__Add__index",4800:"p__Engineering__Lists__GraduatedMatrix__index",4849:"p__User__Detail__ExperImentImg__index",4862:"p__Paperlibrary__index",4884:"p__Shixuns__Detail__Repository__Commit__index",4889:"p__Classrooms__Lists__Exercise__ImitateAnswer__index",4928:"p__Classrooms__Lists__LearningPath__index",4973:"p__Engineering__Evaluate__List__index",4994:"p__Problems__OjForm__index",5022:"p__Graduations__Lists__Settings__index",5043:"p__User__Detail__Topics__Poll__Edit__index",5048:"p__Classrooms__Lists__Graduation__Topics__index",5096:"p__Shixuns__Detail__AuditSituation__index",5111:"p__Terminal__index",5125:"p__Classrooms__Lists__Exercise__DetailedAnalysis__index",5148:"p__Classrooms__Lists__Polls__Answer__index",5176:"p__User__Detail__Videos__Protocol__index",5179:"p__Administration__Student__Edit__index",5186:"p__Classrooms__Overview__index",5191:"p__User__Detail__Certificate__index",5238:"p__virtualSpaces__Lists__Material__index",5297:"p__Classrooms__Lists__Exercise__Detail__components__DuplicateChecking__CheckDetail__index",5319:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Detail__index",5335:"p__Engineering__Lists__CourseMatrix__index",5357:"p__Engineering__Lists__TrainingProgram__Edit__index",5359:"p__Messages__Detail__index",5382:"p__DataSet__Detail__index",5402:"p__User__Detail__Topics__Detail__index",5470:"p__Shixuns__Detail__Collaborators__index",5518:"p__Classrooms__Lists__Template__index",5549:"p__Shixuns__New__CreateImg__index",5572:"p__Paths__HigherVocationalEducation__index",5573:"p__Shixuns__Detail__Merge__index",5599:"p__User__Detail__Paths__index",5624:"p__Graduations__Lists__Index__index",5650:"p__Competitions__Update__index",5705:"p__virtualSpaces__Lists__Construction__index",5729:"p__Help__Index",5775:"p__Engineering__Lists__Document__index",5786:"layouts__LoginAndRegister__index",5798:"p__Classrooms__Lists__Video__Statistics__UserDetail__index",5816:"p__Paperlibrary__Random__Edit__index",5825:"p__Classrooms__Lists__Exercise__index",5888:"p__Classrooms__Lists__CommonHomework__Add__index",5891:"p__virtualSpaces__Lists__Resources__index",5895:"p__User__Detail__AccountInfo__Profile__Edit__index",5915:"p__knowledgegraph__Detail__Statistics__index",5972:"layouts__user__index",5992:"p__Classrooms__Lists__Exercise__ReviewGroup__index",6029:"p__Administration__Student__index",6052:"p__Paths__Index__index",6063:"p__Graduations__Lists__Personmanage__index",6069:"p__virtualSpaces__Lists__Lesson__Detail__index",6127:"p__Classrooms__Lists__ProgramHomework__Ranking__index",6265:"p__virtualSpaces__Lists__Discussion__index",6270:"p__MyProblem__index",6277:"p__Shixuns__Edit__index",6328:"p__Shixuns__Edit__body__Warehouse__index",6366:"p__Innovation__PublicProject__index",6434:"p__User__Detail__Order__pages__records__index",6444:"p__Video__Detail__id",6452:"p__Innovation__PublicDataSet__index",6541:"p__Shixuns__Detail__Dataset__index",6583:"p__User__Detail__Classrooms__index",6587:"p__User__Detail__Videos__Protocol__resource",6634:"p__Innovation__Tasks__index",6651:"p__Engineering__Evaluate__Detail__index",6685:"p__Classrooms__Index__index",6729:"p__Classrooms__Lists__GroupHomework__Edit__index",6741:"p__Engineering__Norm__List__index",6758:"p__Classrooms__Lists__Attachment__index",6784:"p__Innovation__Edit__index",6788:"p__Classrooms__Lists__ProgramHomework__index",6796:"p__virtualSpaces__Lists__Announcement__Detail__index",6805:"p__User__Detail__AccountInfo__RealNameCertification__index",6820:"p__User__Detail__Topics__Normal__index",6845:"p__Shixuns__Detail__Settings__index",6882:"p__Classrooms__New__StartClass__index",6883:"p__Competitions__Index__index",6904:"p__MoopCases__FormPanel__index",6913:"p__Question__AddOrEdit__index",6963:"p__Classrooms__Lists__Engineering__Detail__index",6982:"p__User__Detail__AccountInfo__Profile__index",7008:"p__Shixuns__New__index",7043:"p__User__Detail__Topics__Exercise__Edit__index",7045:"p__Classrooms__Lists__CommonHomework__SubmitWork__index",7046:"p__Shixuns__Detail__Repository__AddFile__index",7058:"p__virtualSpaces__Lists__Survey__Detail__index",7062:"layouts__SimpleLayouts",7178:"p__User__BindAccount__index",7182:"p__User__ResetPassword__index",7242:"p__Innovation__MyProject__index",7260:"p__Account__Certification__index",7395:"p__Classrooms__Lists__Statistics__StudentDetail__index",7460:"p__Question__OjProblem__index",7477:"p__virtualSpaces__Lists__Announcement__index",7482:"p__Classrooms__Lists__Exercise__Notice__index",7527:"p__MyProblem__RecordDetail__index",7545:"p__Graduations__Lists__Archives__index",7560:"p__Administration__College__index",7589:"p__virtualSpaces__Lists__DigitalTopics__index",7614:"p__Shixuns__Edit__body__Level__Challenges__RankingSetting__index",7622:"p__Classrooms__Lists__Polls__Detail__index",7806:"p__Classrooms__Lists__Statistics__StatisticsQuality__index",7852:"p__Classrooms__Lists__ShixunHomeworks__index",7855:"p__User__Detail__ResourcesCenter__Detail__index",7857:"p__Shixuns__Edit__body__Level__Challenges__NewQuestion__index",7878:"p__Classrooms__Lists__LiveVideo__index",7884:"p__Shixuns__Exports__index",7922:"p__Classrooms__Lists__CourseGroup__Detail__index",7948:"p__User__Detail__ClassManagement__index",8014:"p__Classrooms__Lists__Teachers__index",8062:"p__User__Detail__Topicbank__index",8072:"p__Classrooms__Lists__GroupHomework__SubmitWork__index",8077:"p__Classrooms__Lists__Students__index",8085:"p__Classrooms__Lists__Exercise__Review__index",8143:"layouts__GraduationsDetail__index",8155:"p__Shixuns__Overview__index",8237:"p__User__Detail__Order__pages__view__index",8241:"p__virtualSpaces__Lists__Plan__index",8302:"p__Classrooms__Lists__Board__index",8307:"p__User__Detail__Shixuns__index",8398:"p__virtualSpaces__Lists__Resources__Detail__index",8431:"p__Classrooms__Lists__Exercise__Export__index",8435:"p__Classrooms__Lists__Attendance__index",8447:"p__virtualSpaces__Lists__Knowledge__index",8517:"p__User__Detail__Topics__Group__index",8563:"p__virtualSpaces__Lists__Discussion__Detail__index",8634:"p__Classrooms__Lists__CourseGroup__List__index",8665:"p__Engineering__Lists__TrainingObjectives__index",8688:"p__Shixuns__Detail__Repository__index",8689:"p__Classrooms__Lists__Statistics__VideoStatistics__index",8723:"p__Classrooms__Lists__Polls__Edit__index",8782:"p__Shixuns__Index__index",8787:"p__Competitions__Entered__index",8797:"p__Competitions__Edit__index",8823:"p__knowledgegraph__Detail__id",8827:"p__Classrooms__Lists__OnlineLearning__index",8866:"p__index",8882:"p__Classrooms__Lists__Graduation__Tasks__Detail__index",8885:"p__Classrooms__Lists__Statistics__StudentStatistics__index",8982:"p__Paths__New__index",8999:"p__Three__index",9076:"p__Account__Binding__index",9133:"p__Shixuns__Detail__Challenges__index",9205:"p__Shixuns__Edit__body__Level__Challenges__EditPracticeSetting__index",9215:"p__Shixuns__Detail__ForkList__index",9332:"p__Classrooms__Lists__Video__index",9360:"p__User__Detail__virtualSpaces__index",9366:"p__User__Login__index",9391:"p__Engineering__Lists__CurseSetting__index",9404:"monaco-editor",9408:"p__Shixuns__Detail__RankingList__index",9416:"p__Graduations__Lists__Tasks__index",9487:"p__LargeScreen__index",9489:"p__Engineering__Lists__CourseList__index",9507:"p__User__Detail__ResourceGuarantee__index",9519:"p__User__Detail__ClassManagement__Item__index",9590:"p__User__Detail__TeachGroup__index",9647:"p__Question__Index__index",9649:"p__Engineering__Lists__TrainingProgram__index",9674:"p__Shixuns__New__ImagePreview__index",9677:"p__virtualSpaces__Lists__Announcement__AddAndEdit__index",9695:"p__Classrooms__Lists__Polls__Add__index",9715:"p__Classrooms__Lists__CommonHomework__Edit__index",9716:"p__Question__OjProblem__RecordDetail__index",9785:"p__Classrooms__Lists__Template__student__index",9788:"p__Account__Profile__index",9890:"p__Classrooms__Lists__CommonHomework__index",9891:"p__User__Detail__Videos__Success__index",9921:"p__Classrooms__ExamList__index",9922:"p__Classrooms__Lists__Statistics__StudentVideo__index",9944:"p__Classrooms__Lists__Video__Statistics__StudentDetail__index"}[d]||d)+"."+{26:"91ed81ab",67:"1ad7d0db",109:"1a7fc455",195:"65632591",264:"5fd9b3fc",265:"d92c6f86",292:"9a0e8f6b",310:"06815302",337:"ee05039e",342:"ab091f90",479:"bba9e475",485:"d63578fe",508:"82593858",532:"c829a014",533:"5fee20bc",547:"5581debc",556:"892f4292",559:"c49aa5ba",576:"e4f97d42",643:"22ded693",680:"e67e9e01",700:"1d9948a7",737:"98eb2f74",799:"b3487c4b",869:"6740e24b",895:"ad846737",921:"30cc7e9b",928:"0277270a",1006:"2263131d",1043:"e8c0878b",1045:"0eeb3595",1048:"dafc3f4f",1070:"e67e9e01",1148:"754fff63",1211:"bdb8faab",1253:"46aca33c",1257:"156e8f74",1265:"d902bdae",1276:"bbc6eeec",1343:"b7f33c89",1416:"f1916094",1423:"5c4a76fc",1427:"f91322f7",1450:"1edcc2ed",1461:"917cbb16",1470:"183c9793",1475:"d22fbaa0",1482:"d159af07",1512:"f3653a35",1520:"f7300d0e",1545:"04d6c7d3",1578:"efcb0bdc",1581:"efffd7c0",1582:"8e45b6ff",1657:"ddd6a700",1674:"fdbc1e05",1702:"fca45632",1713:"5ed278a4",1717:"08a9e890",1727:"de83767d",1783:"47d0320e",1831:"8d05bf11",1836:"5f0d3f7f",1855:"b92cccb4",1880:"f67d7892",1939:"48e30d48",1953:"23cbc47f",1962:"84e145fa",2045:"dcfad42d",2076:"09b07fa0",2102:"ec61f9f0",2141:"5eb2f330",2216:"e3ba73cf",2240:"e7cce869",2254:"ccda836f",2303:"87592c17",2307:"b2c54321",2338:"dd6e8a16",2339:"d90c9bd2",2396:"e70f11d6",2404:"08d36549",2412:"6b6ca0ef",2425:"47b23ee4",2443:"78513f2d",2476:"cf85a190",2501:"2441982c",2529:"9d9944da",2539:"43d36117",2548:"75182034",2570:"3dbc6300",2603:"0277270a",2659:"f6071a36",2707:"cabcb16e",2806:"2c7248b3",2819:"9455b08a",2823:"a13b21fb",2826:"0b6be43b",2829:"a5909474",2865:"6ef3cf6b",2875:"d6c8355d",2884:"904823c3",2983:"c8c482f7",3006:"7fce4e74",3141:"72791f8b",3157:"2038b5dc",3183:"b2253f40",3212:"ad1521c1",3220:"a5be3990",3247:"50105eb7",3260:"49ca09b2",3267:"03cdfb68",3276:"7bbb651d",3282:"2dff97e8",3317:"137440b7",3332:"dab65052",3355:"39e3d07c",3356:"c6a4098f",3391:"f0e498fe",3433:"e6919a98",3442:"bdf7849c",3447:"1653d818",3451:"e3a31387",3496:"44bf4044",3509:"70043ca5",3581:"7630d0f9",3585:"5f288e7b",3665:"5250d444",3668:"86f20630",3747:"e06419ae",3784:"c81d4a51",3873:"bbd9808d",3910:"658d457f",3935:"cd50aa32",3951:"4a9249b1",4030:"f308ee3a",4056:"10eacfff",4078:"aa54548e",4093:"c1f29d01",4105:"e39011c7",4144:"f10aa199",4164:"0e623fec",4216:"0277270a",4217:"387bf824",4227:"79c3b323",4259:"ebd953ac",4264:"36917df0",4449:"e68d8d58",4492:"cdc29460",4496:"77babddd",4498:"b05686dd",4504:"466a61af",4514:"887bdbb6",4520:"e86d61a1",4546:"4101a1f2",4572:"70e5675d",4599:"aca6ff45",4601:"3c8ac557",4610:"687005a6",4621:"ead619d7",4662:"4e7b8c12",4715:"45efe14a",4736:"2968553b",4741:"afeb6eca",4757:"73b754d2",4766:"b5df5a8e",4770:"674b2d2a",4795:"939f9f81",4800:"f50302a4",4849:"2a1dc219",4862:"e8eacc3e",4884:"bd293d3b",4889:"db5cf2c9",4928:"a4b1a237",4973:"129c56e8",4994:"50caae56",5022:"81b1b86b",5043:"247e6954",5048:"aa08c681",5096:"4f6a4d00",5111:"5d09a39a",5125:"57501e4a",5148:"572faeac",5176:"9c49e7fa",5179:"21f01751",5186:"aeb0dc56",5191:"0af389b2",5238:"3d814a61",5297:"5426028f",5319:"34217c3f",5335:"fec6fd9f",5357:"1fbb7d24",5359:"b254a598",5382:"0c911991",5402:"60617d0d",5470:"b25021a2",5518:"9f425be3",5549:"39285664",5572:"c945fbf2",5573:"6ecf393c",5599:"2ae54005",5624:"0208754c",5650:"f8f63f4b",5705:"df6bf207",5729:"46f9b5d4",5775:"8945cad2",5786:"37a81eaa",5798:"ce1cf7da",5816:"d749b200",5825:"73177a8c",5888:"193a7f8f",5891:"3b7a128f",5895:"9ddd624a",5915:"bc9c3e69",5972:"c7a91e8e",5992:"419f5d2f",6029:"2ded5a5a",6052:"59cb6398",6063:"a5f0409a",6069:"b4a6d2ab",6127:"f31505a8",6265:"9459eb93",6270:"cc24b0fc",6277:"12e50919",6328:"de2b9d62",6366:"079fc2d8",6434:"0112f8db",6444:"fd46d237",6452:"50a6d310",6541:"d1c967cd",6583:"7d33505d",6587:"9c49e7fa",6634:"df151169",6651:"b07fe216",6685:"f5f5b969",6729:"aea3b7f5",6741:"b838eb14",6758:"558cc090",6784:"1affe817",6788:"9cd39ff5",6796:"89c76e37",6805:"5b253c81",6820:"cebdf1cf",6845:"b7aabf70",6882:"c2d2eada",6883:"7740a702",6904:"44afaa9b",6913:"739202fe",6963:"84e145fa",6982:"3043a9c3",7008:"fe74a83d",7043:"25478869",7045:"48f6fc4c",7046:"c7301ded",7058:"984a456a",7062:"fe78dd10",7178:"6e47d75d",7182:"183c9793",7242:"4f353f61",7260:"2c380d56",7395:"5c10e8d8",7460:"dedd2038",7477:"832457fc",7482:"c37a3f01",7527:"6b64ff47",7545:"1f6a7624",7560:"d82e43ca",7589:"2a3e68f3",7614:"de9ee12f",7622:"ca0e645a",7806:"80b7b1d6",7852:"fce1e197",7855:"3970a709",7857:"13a29416",7878:"8dfa25f5",7884:"1ca6cde0",7922:"c1d9e2f3",7948:"bed733e5",8014:"9ef39203",8062:"8e384b9f",8072:"540f746b",8077:"0b2c51d9",8085:"0b7f10a8",8143:"b6ca83ad",8155:"d345abd7",8237:"44654223",8241:"02a0cb2f",8302:"b4649ac5",8307:"02e15761",8398:"cf8eb735",8431:"60a111b6",8435:"21d4dff0",8447:"0875c082",8517:"cccfddad",8563:"3a763677",8634:"317d0a2b",8665:"c52575bc",8688:"c044db56",8689:"459af240",8723:"5166ac36",8782:"918afc23",8787:"121de108",8797:"13e5189e",8823:"9e7a9852",8827:"af0ed6a3",8866:"664121ad",8882:"f3e42f72",8885:"de905169",8982:"6e2e337e",8999:"448aa22f",9076:"6a501148",9133:"ab171f08",9205:"49a3e67d",9215:"f737e7e7",9332:"a627cf98",9360:"27c7d4f7",9366:"4f511490",9391:"c11edda0",9404:"d8cf04f7",9408:"d3565b1a",9416:"6ead6660",9487:"a73f5679",9489:"ee2bb5b7",9507:"396e34cd",9519:"88d248ee",9590:"29583579",9647:"452de157",9649:"00fb4211",9674:"d0f91ed7",9677:"26548cb7",9695:"bb84056a",9715:"b6c6645f",9716:"a5750e0d",9785:"08d36549",9788:"781a4d20",9890:"9ebce4ba",9891:"512a9301",9921:"e0db9101",9922:"33690872",9944:"1ba31055"}[d]+".chunk.css"}}(),function(){__webpack_require__.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch(d){if(typeof window=="object")return window}}()}(),function(){__webpack_require__.hmd=function(d){return d=Object.create(d),d.children||(d.children=[]),Object.defineProperty(d,"exports",{enumerable:!0,set:function(){throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+d.id)}}),d}}(),function(){__webpack_require__.o=function(d,g){return Object.prototype.hasOwnProperty.call(d,g)}}(),function(){var d={};__webpack_require__.l=function(g,e,r,i){if(d[g]){d[g].push(e);return}var l,c;if(r!==void 0)for(var f=document.getElementsByTagName("script"),o=0;o{const U=ba(t,s,G)||ba(A,s,G)||ba(m,s,G);return U&&(z[G]=U),z},{})}function ba(A,t,n){return A&&A.hasAttributeNS(t,n)?A.getAttributeNS(t,n):null}function Wi(A){return new Error(`Could not parse ttml timestamp ${A}`)}function na(A,t){if(!A)return null;let n=Po(A);return n===null&&(Wu.test(A)?n=va(A,t):El.test(A)&&(n=ls(A,t))),n}function va(A,t){const n=Wu.exec(A),s=(n[4]|0)+(n[5]|0)/t.subFrameRate;return(n[1]|0)*3600+(n[2]|0)*60+(n[3]|0)+s/t.frameRate}function ls(A,t){const n=El.exec(A),s=Number(n[1]);switch(n[2]){case"h":return s*3600;case"m":return s*60;case"ms":return s*1e3;case"f":return s/t.frameRate;case"t":return s/t.tickRate}return s}class Ni{constructor(t,n){this.timelineController=void 0,this.cueRanges=[],this.trackName=void 0,this.startTime=null,this.endTime=null,this.screen=null,this.timelineController=t,this.trackName=n}dispatchCue(){this.startTime!==null&&(this.timelineController.addCues(this.trackName,this.startTime,this.endTime,this.screen,this.cueRanges),this.startTime=null)}newCue(t,n,s){(this.startTime===null||this.startTime>t)&&(this.startTime=t),this.endTime=n,this.screen=s,this.timelineController.createCaptionsTrack(this.trackName)}reset(){this.cueRanges=[],this.startTime=null}}class cs{constructor(t){this.hls=void 0,this.media=null,this.config=void 0,this.enabled=!0,this.Cues=void 0,this.textTracks=[],this.tracks=[],this.initPTS=[],this.unparsedVttFrags=[],this.captionsTracks={},this.nonNativeCaptionsTracks={},this.cea608Parser1=void 0,this.cea608Parser2=void 0,this.lastCc=-1,this.lastSn=-1,this.lastPartIndex=-1,this.prevCC=-1,this.vttCCs=Gu(),this.captionsProperties=void 0,this.hls=t,this.config=t.config,this.Cues=t.config.cueHandler,this.captionsProperties={textTrack1:{label:this.config.captionsTextTrack1Label,languageCode:this.config.captionsTextTrack1LanguageCode},textTrack2:{label:this.config.captionsTextTrack2Label,languageCode:this.config.captionsTextTrack2LanguageCode},textTrack3:{label:this.config.captionsTextTrack3Label,languageCode:this.config.captionsTextTrack3LanguageCode},textTrack4:{label:this.config.captionsTextTrack4Label,languageCode:this.config.captionsTextTrack4LanguageCode}},t.on(o.MEDIA_ATTACHING,this.onMediaAttaching,this),t.on(o.MEDIA_DETACHING,this.onMediaDetaching,this),t.on(o.MANIFEST_LOADING,this.onManifestLoading,this),t.on(o.MANIFEST_LOADED,this.onManifestLoaded,this),t.on(o.SUBTITLE_TRACKS_UPDATED,this.onSubtitleTracksUpdated,this),t.on(o.FRAG_LOADING,this.onFragLoading,this),t.on(o.FRAG_LOADED,this.onFragLoaded,this),t.on(o.FRAG_PARSING_USERDATA,this.onFragParsingUserdata,this),t.on(o.FRAG_DECRYPTED,this.onFragDecrypted,this),t.on(o.INIT_PTS_FOUND,this.onInitPtsFound,this),t.on(o.SUBTITLE_TRACKS_CLEARED,this.onSubtitleTracksCleared,this),t.on(o.BUFFER_FLUSHING,this.onBufferFlushing,this)}destroy(){const{hls:t}=this;t.off(o.MEDIA_ATTACHING,this.onMediaAttaching,this),t.off(o.MEDIA_DETACHING,this.onMediaDetaching,this),t.off(o.MANIFEST_LOADING,this.onManifestLoading,this),t.off(o.MANIFEST_LOADED,this.onManifestLoaded,this),t.off(o.SUBTITLE_TRACKS_UPDATED,this.onSubtitleTracksUpdated,this),t.off(o.FRAG_LOADING,this.onFragLoading,this),t.off(o.FRAG_LOADED,this.onFragLoaded,this),t.off(o.FRAG_PARSING_USERDATA,this.onFragParsingUserdata,this),t.off(o.FRAG_DECRYPTED,this.onFragDecrypted,this),t.off(o.INIT_PTS_FOUND,this.onInitPtsFound,this),t.off(o.SUBTITLE_TRACKS_CLEARED,this.onSubtitleTracksCleared,this),t.off(o.BUFFER_FLUSHING,this.onBufferFlushing,this),this.hls=this.config=this.media=null,this.cea608Parser1=this.cea608Parser2=void 0}initCea608Parsers(){const t=new Ni(this,"textTrack1"),n=new Ni(this,"textTrack2"),s=new Ni(this,"textTrack3"),m=new Ni(this,"textTrack4");this.cea608Parser1=new tc(1,t,n),this.cea608Parser2=new tc(3,s,m)}addCues(t,n,s,m,E){let T=!1;for(let z=E.length;z--;){const G=E[z],U=rl(G[0],G[1],n,s);if(U>=0&&(G[0]=Math.min(G[0],n),G[1]=Math.max(G[1],s),T=!0,U/(s-n)>.5))return}if(T||E.push([n,s]),this.config.renderTextTracksNatively){const z=this.captionsTracks[t];this.Cues.newCue(z,n,s,m)}else{const z=this.Cues.newCue(null,n,s,m);this.hls.trigger(o.CUES_PARSED,{type:"captions",cues:z,track:t})}}onInitPtsFound(t,{frag:n,id:s,initPTS:m,timescale:E}){const{unparsedVttFrags:T}=this;s===u.MAIN&&(this.initPTS[n.cc]={baseTime:m,timescale:E}),T.length&&(this.unparsedVttFrags=[],T.forEach(z=>{this.onFragLoaded(o.FRAG_LOADED,z)}))}getExistingTrack(t,n){const{media:s}=this;if(s)for(let m=0;m{qu(m[E]),delete m[E]}),this.nonNativeCaptionsTracks={}}onManifestLoading(){this.lastCc=-1,this.lastSn=-1,this.lastPartIndex=-1,this.prevCC=-1,this.vttCCs=Gu(),this._cleanTracks(),this.tracks=[],this.captionsTracks={},this.nonNativeCaptionsTracks={},this.textTracks=[],this.unparsedVttFrags=[],this.initPTS=[],this.cea608Parser1&&this.cea608Parser2&&(this.cea608Parser1.reset(),this.cea608Parser2.reset())}_cleanTracks(){const{media:t}=this;if(!t)return;const n=t.textTracks;if(n)for(let s=0;sE.textCodec===Jo);if(this.config.enableWebVTT||m&&this.config.enableIMSC1){if(_u(this.tracks,s)){this.tracks=s;return}if(this.textTracks=[],this.tracks=s,this.config.renderTextTracksNatively){const T=this.media,z=T?Qo(T.textTracks):null;if(this.tracks.forEach((G,U)=>{let ie;if(z){let ce=null;for(let xe=0;xeU!==null).map(U=>U.label);G.length&&this.hls.logger.warn(`Media element contains unused subtitle tracks: ${G.join(", ")}. Replace media element for each source to clear TextTracks and captions menu.`)}}else if(this.tracks.length){const T=this.tracks.map(z=>({label:z.name,kind:z.type.toLowerCase(),default:z.default,subtitleTrack:z}));this.hls.trigger(o.NON_NATIVE_TEXT_TRACKS_FOUND,{tracks:T})}}}onManifestLoaded(t,n){this.config.enableCEA708Captions&&n.captions&&n.captions.forEach(s=>{const m=/(?:CC|SERVICE)([1-4])/.exec(s.instreamId);if(!m)return;const E=`textTrack${m[1]}`,T=this.captionsProperties[E];T&&(T.label=s.name,s.lang&&(T.languageCode=s.lang),T.media=s)})}closedCaptionsForLevel(t){const n=this.hls.levels[t.level];return n==null?void 0:n.attrs["CLOSED-CAPTIONS"]}onFragLoading(t,n){if(this.enabled&&n.frag.type===u.MAIN){var s,m;const{cea608Parser1:E,cea608Parser2:T,lastSn:z}=this,{cc:G,sn:U}=n.frag,ie=(s=(m=n.part)==null?void 0:m.index)!=null?s:-1;E&&T&&(U!==z+1||U===z&&ie!==this.lastPartIndex+1||G!==this.lastCc)&&(E.reset(),T.reset()),this.lastCc=G,this.lastSn=U,this.lastPartIndex=ie}}onFragLoaded(t,n){const{frag:s,payload:m}=n;if(s.type===u.SUBTITLE)if(m.byteLength){const E=s.decryptdata,T="stats"in n;if(E==null||!E.encrypted||T){const z=this.tracks[s.level],G=this.vttCCs;G[s.cc]||(G[s.cc]={start:s.start,prevCC:this.prevCC,new:!0},this.prevCC=s.cc),z&&z.textCodec===Jo?this._parseIMSC1(s,m):this._parseVTTs(n)}}else this.hls.trigger(o.SUBTITLE_FRAG_PROCESSED,{success:!1,frag:s,error:new Error("Empty subtitle payload")})}_parseIMSC1(t,n){const s=this.hls;pu(n,this.initPTS[t.cc],m=>{this._appendCues(m,t.level),s.trigger(o.SUBTITLE_FRAG_PROCESSED,{success:!0,frag:t})},m=>{s.logger.log(`Failed to parse IMSC1: ${m}`),s.trigger(o.SUBTITLE_FRAG_PROCESSED,{success:!1,frag:t,error:m})})}_parseVTTs(t){var n;const{frag:s,payload:m}=t,{initPTS:E,unparsedVttFrags:T}=this,z=E.length-1;if(!E[s.cc]&&z===-1){T.push(t);return}const G=this.hls,U=(n=s.initSegment)!=null&&n.data?Gt(s.initSegment.data,new Uint8Array(m)).buffer:m;Xc(U,this.initPTS[s.cc],this.vttCCs,s.cc,s.start,ie=>{this._appendCues(ie,s.level),G.trigger(o.SUBTITLE_FRAG_PROCESSED,{success:!0,frag:s})},ie=>{const ce=ie.message==="Missing initPTS for VTT MPEGTS";ce?T.push(t):this._fallbackToIMSC1(s,m),G.logger.log(`Failed to parse VTT cue: ${ie}`),!(ce&&z>s.cc)&&G.trigger(o.SUBTITLE_FRAG_PROCESSED,{success:!1,frag:s,error:ie})})}_fallbackToIMSC1(t,n){const s=this.tracks[t.level];s.textCodec||pu(n,this.initPTS[t.cc],()=>{s.textCodec=Jo,this._parseIMSC1(t,n)},()=>{s.textCodec="wvtt"})}_appendCues(t,n){const s=this.hls;if(this.config.renderTextTracksNatively){const m=this.textTracks[n];if(!m||m.mode==="disabled")return;t.forEach(E=>bu(m,E))}else{const m=this.tracks[n];if(!m)return;const E=m.default?"default":"subtitles"+n;s.trigger(o.CUES_PARSED,{type:"subtitles",cues:t,track:E})}}onFragDecrypted(t,n){const{frag:s}=n;s.type===u.SUBTITLE&&this.onFragLoaded(o.FRAG_LOADED,n)}onSubtitleTracksCleared(){this.tracks=[],this.captionsTracks={}}onFragParsingUserdata(t,n){if(!this.enabled||!this.config.enableCEA708Captions)return;const{frag:s,samples:m}=n;if(!(s.type===u.MAIN&&this.closedCaptionsForLevel(s)==="NONE"))for(let E=0;Eml(z[G],n,s))}if(this.config.renderTextTracksNatively&&n===0&&m!==void 0){const{textTracks:z}=this;Object.keys(z).forEach(G=>ml(z[G],n,m))}}}extractCea608Data(t){const n=[[],[]],s=t[0]&31;let m=2;for(let E=0;E=16?G--:G++;const Se=el(U.trim()),Re=mc(t,n,Se);A!=null&&(ce=A.cues)!=null&&ce.getCueById(Re)||(T=new ie(t,n,Se),T.id=Re,T.line=xe+1,T.align="left",T.position=10+Math.min(80,Math.floor(G*8/32)*10),m.push(T))}return A&&m.length&&(m.sort((xe,Se)=>xe.line==="auto"||Se.line==="auto"?0:xe.line>8&&Se.line>8?Se.line-xe.line:xe.line-Se.line),m.forEach(xe=>bu(A,xe))),m}};function Ef(){if(self.fetch&&self.AbortController&&self.ReadableStream&&self.Request)try{return new self.ReadableStream({}),!0}catch(A){}return!1}const Nl=/(\d+)-(\d+)\/(\d+)/;class cf{constructor(t){this.fetchSetup=void 0,this.requestTimeout=void 0,this.request=null,this.response=null,this.controller=void 0,this.context=null,this.config=null,this.callbacks=null,this.stats=void 0,this.loader=null,this.fetchSetup=t.fetchSetup||nl,this.controller=new self.AbortController,this.stats=new F}destroy(){this.loader=this.callbacks=this.context=this.config=this.request=null,this.abortInternal(),this.response=null,this.fetchSetup=this.controller=this.stats=null}abortInternal(){this.controller&&!this.stats.loading.end&&(this.stats.aborted=!0,this.controller.abort())}abort(){var t;this.abortInternal(),(t=this.callbacks)!=null&&t.onAbort&&this.callbacks.onAbort(this.stats,this.context,this.response)}load(t,n,s){const m=this.stats;if(m.loading.start)throw new Error("Loader can only be used once.");m.loading.start=self.performance.now();const E=Lc(t,this.controller.signal),T=t.responseType==="arraybuffer",z=T?"byteLength":"length",{maxTimeToFirstByteMs:G,maxLoadTimeMs:U}=n.loadPolicy;this.context=t,this.config=n,this.callbacks=s,this.request=this.fetchSetup(t,E),self.clearTimeout(this.requestTimeout),n.timeout=G&&r(G)?G:U,this.requestTimeout=self.setTimeout(()=>{this.callbacks&&(this.abortInternal(),this.callbacks.onTimeout(m,t,this.response))},n.timeout),(Cu(this.request)?this.request.then(self.fetch):self.fetch(this.request)).then(ce=>{var xe;this.response=this.loader=ce;const Se=Math.max(self.performance.now(),m.loading.start);if(self.clearTimeout(this.requestTimeout),n.timeout=U,this.requestTimeout=self.setTimeout(()=>{this.callbacks&&(this.abortInternal(),this.callbacks.onTimeout(m,t,this.response))},U-(Se-m.loading.start)),!ce.ok){const{status:qe,statusText:rt}=ce;throw new Of(rt||"fetch, bad network response",qe,ce)}m.loading.first=Se,m.total=ff(ce.headers)||m.total;const Re=(xe=this.callbacks)==null?void 0:xe.onProgress;return Re&&r(n.highWaterMark)?this.loadProgressively(ce,m,t,n.highWaterMark,Re):T?ce.arrayBuffer():t.responseType==="json"?ce.json():ce.text()}).then(ce=>{var xe,Se;const Re=this.response;if(!Re)throw new Error("loader destroyed");self.clearTimeout(this.requestTimeout),m.loading.end=Math.max(self.performance.now(),m.loading.first);const qe=ce[z];qe&&(m.loaded=m.total=qe);const rt={url:Re.url,data:ce,code:Re.status},$t=(xe=this.callbacks)==null?void 0:xe.onProgress;$t&&!r(n.highWaterMark)&&$t(m,t,ce,Re),(Se=this.callbacks)==null||Se.onSuccess(rt,m,t,Re)}).catch(ce=>{var xe;if(self.clearTimeout(this.requestTimeout),m.aborted)return;const Se=ce&&ce.code||0,Re=ce?ce.message:null;(xe=this.callbacks)==null||xe.onError({code:Se,text:Re},t,ce?ce.details:null,m)})}getCacheAge(){let t=null;if(this.response){const n=this.response.headers.get("age");t=n?parseFloat(n):null}return t}getResponseHeader(t){return this.response?this.response.headers.get(t):null}loadProgressively(t,n,s,m=0,E){const T=new As,z=t.body.getReader(),G=()=>z.read().then(U=>{if(U.done)return T.dataLength&&E(n,s,T.flush().buffer,t),Promise.resolve(new ArrayBuffer(0));const ie=U.value,ce=ie.length;return n.loaded+=ce,ce=m&&E(n,s,T.flush().buffer,t)):E(n,s,ie.buffer,t),G()}).catch(()=>Promise.reject());return G()}}function Lc(A,t){const n={method:"GET",mode:"cors",credentials:"same-origin",signal:t,headers:new self.Headers(y({},A.headers))};return A.rangeEnd&&n.headers.set("Range","bytes="+A.rangeStart+"-"+String(A.rangeEnd-1)),n}function Qc(A){const t=Nl.exec(A);if(t)return parseInt(t[2])-parseInt(t[1])+1}function ff(A){const t=A.get("Content-Range");if(t){const s=Qc(t);if(r(s))return s}const n=A.get("Content-Length");if(n)return parseInt(n)}function nl(A,t){return new self.Request(A.url,t)}class Of extends Error{constructor(t,n,s){super(t),this.code=void 0,this.details=void 0,this.code=n,this.details=s}}const Vu=/^age:\s*[\d.]+\s*$/im;class bc{constructor(t){this.xhrSetup=void 0,this.requestTimeout=void 0,this.retryTimeout=void 0,this.retryDelay=void 0,this.config=null,this.callbacks=null,this.context=null,this.loader=null,this.stats=void 0,this.xhrSetup=t&&t.xhrSetup||null,this.stats=new F,this.retryDelay=0}destroy(){this.callbacks=null,this.abortInternal(),this.loader=null,this.config=null,this.context=null,this.xhrSetup=null}abortInternal(){const t=this.loader;self.clearTimeout(this.requestTimeout),self.clearTimeout(this.retryTimeout),t&&(t.onreadystatechange=null,t.onprogress=null,t.readyState!==4&&(this.stats.aborted=!0,t.abort()))}abort(){var t;this.abortInternal(),(t=this.callbacks)!=null&&t.onAbort&&this.callbacks.onAbort(this.stats,this.context,this.loader)}load(t,n,s){if(this.stats.loading.start)throw new Error("Loader can only be used once.");this.stats.loading.start=self.performance.now(),this.context=t,this.config=n,this.callbacks=s,this.loadInternal()}loadInternal(){const{config:t,context:n}=this;if(!t||!n)return;const s=this.loader=new self.XMLHttpRequest,m=this.stats;m.loading.first=0,m.loaded=0,m.aborted=!1;const E=this.xhrSetup;E?Promise.resolve().then(()=>{if(!(this.loader!==s||this.stats.aborted))return E(s,n.url)}).catch(T=>{if(!(this.loader!==s||this.stats.aborted))return s.open("GET",n.url,!0),E(s,n.url)}).then(()=>{this.loader!==s||this.stats.aborted||this.openAndSendXhr(s,n,t)}).catch(T=>{var z;(z=this.callbacks)==null||z.onError({code:s.status,text:T.message},n,s,m)}):this.openAndSendXhr(s,n,t)}openAndSendXhr(t,n,s){t.readyState||t.open("GET",n.url,!0);const m=n.headers,{maxTimeToFirstByteMs:E,maxLoadTimeMs:T}=s.loadPolicy;if(m)for(const z in m)t.setRequestHeader(z,m[z]);n.rangeEnd&&t.setRequestHeader("Range","bytes="+n.rangeStart+"-"+(n.rangeEnd-1)),t.onreadystatechange=this.readystatechange.bind(this),t.onprogress=this.loadprogress.bind(this),t.responseType=n.responseType,self.clearTimeout(this.requestTimeout),s.timeout=E&&r(E)?E:T,this.requestTimeout=self.setTimeout(this.loadtimeout.bind(this),s.timeout),t.send()}readystatechange(){const{context:t,loader:n,stats:s}=this;if(!t||!n)return;const m=n.readyState,E=this.config;if(!s.aborted&&m>=2&&(s.loading.first===0&&(s.loading.first=Math.max(self.performance.now(),s.loading.start),E.timeout!==E.loadPolicy.maxLoadTimeMs&&(self.clearTimeout(this.requestTimeout),E.timeout=E.loadPolicy.maxLoadTimeMs,this.requestTimeout=self.setTimeout(this.loadtimeout.bind(this),E.loadPolicy.maxLoadTimeMs-(s.loading.first-s.loading.start)))),m===4)){self.clearTimeout(this.requestTimeout),n.onreadystatechange=null,n.onprogress=null;const U=n.status,ie=n.responseType==="text"?n.responseText:null;if(U>=200&&U<300){const Re=ie!=null?ie:n.response;if(Re!=null){var T,z;s.loading.end=Math.max(self.performance.now(),s.loading.first);const qe=n.responseType==="arraybuffer"?Re.byteLength:Re.length;s.loaded=s.total=qe,s.bwEstimate=s.total*8e3/(s.loading.end-s.loading.first);const rt=(T=this.callbacks)==null?void 0:T.onProgress;rt&&rt(s,t,Re,n);const $t={url:n.responseURL,data:Re,code:U};(z=this.callbacks)==null||z.onSuccess($t,s,t,n);return}}const ce=E.loadPolicy.errorRetry,xe=s.retry,Se={url:t.url,data:void 0,code:U};if(Ze(ce,xe,!1,Se))this.retry(ce);else{var G;W.error(`${U} while loading ${t.url}`),(G=this.callbacks)==null||G.onError({code:U,text:n.statusText},t,n,s)}}}loadtimeout(){if(!this.config)return;const t=this.config.loadPolicy.timeoutRetry,n=this.stats.retry;if(Ze(t,n,!0))this.retry(t);else{var s;W.warn(`timeout while loading ${(s=this.context)==null?void 0:s.url}`);const m=this.callbacks;m&&(this.abortInternal(),m.onTimeout(this.stats,this.context,this.loader))}}retry(t){const{context:n,stats:s}=this;this.retryDelay=Pr(t,s.retry),s.retry++,W.warn(`${status?"HTTP Status "+status:"Timeout"} while loading ${n==null?void 0:n.url}, retrying ${s.retry}/${t.maxNumRetry} in ${this.retryDelay}ms`),this.abortInternal(),this.loader=null,self.clearTimeout(this.retryTimeout),this.retryTimeout=self.setTimeout(this.loadInternal.bind(this),this.retryDelay)}loadprogress(t){const n=this.stats;n.loaded=t.loaded,t.lengthComputable&&(n.total=t.total)}getCacheAge(){let t=null;if(this.loader&&Vu.test(this.loader.getAllResponseHeaders())){const n=this.loader.getResponseHeader("age");t=n?parseFloat(n):null}return t}getResponseHeader(t){return this.loader&&new RegExp(`^${t}:\\s*[\\d.]+\\s*$`,"im").test(this.loader.getAllResponseHeaders())?this.loader.getResponseHeader(t):null}}const df={maxTimeToFirstByteMs:8e3,maxLoadTimeMs:2e4,timeoutRetry:null,errorRetry:null},Ho=b(b({autoStartLoad:!0,startPosition:-1,defaultAudioCodec:void 0,debug:!1,capLevelOnFPSDrop:!1,capLevelToPlayerSize:!1,ignoreDevicePixelRatio:!1,maxDevicePixelRatio:Number.POSITIVE_INFINITY,preferManagedMediaSource:!0,initialLiveManifestSize:1,maxBufferLength:30,backBufferLength:1/0,frontBufferFlushThreshold:1/0,maxBufferSize:60*1e3*1e3,maxFragLookUpTolerance:.25,maxBufferHole:.1,detectStallWithCurrentTimeMs:1250,highBufferWatchdogPeriod:2,nudgeOffset:.1,nudgeMaxRetry:3,nudgeOnVideoHole:!0,liveSyncDurationCount:3,liveSyncOnStallIncrease:1,liveMaxLatencyDurationCount:1/0,liveSyncDuration:void 0,liveMaxLatencyDuration:void 0,maxLiveSyncPlaybackRate:1,liveDurationInfinity:!1,liveBackBufferLength:null,maxMaxBufferLength:600,enableWorker:!0,workerPath:null,enableSoftwareAES:!0,startLevel:void 0,startFragPrefetch:!1,fpsDroppedMonitoringPeriod:5e3,fpsDroppedMonitoringThreshold:.2,appendErrorMaxRetry:3,ignorePlaylistParsingErrors:!1,loader:bc,fLoader:void 0,pLoader:void 0,xhrSetup:void 0,licenseXhrSetup:void 0,licenseResponseCallback:void 0,abrController:Gi,bufferController:Qu,capLevelController:Qs,errorController:ar,fpsController:_l,stretchShortVideoTrack:!1,maxAudioFramesDrift:1,forceKeyFrameOnDiscontinuity:!0,abrEwmaFastLive:3,abrEwmaSlowLive:9,abrEwmaFastVoD:3,abrEwmaSlowVoD:9,abrEwmaDefaultEstimate:5e5,abrEwmaDefaultEstimateMax:5e6,abrBandWidthFactor:.95,abrBandWidthUpFactor:.7,abrMaxWithRealBitrate:!1,maxStarvationDelay:4,maxLoadingDelay:4,minAutoBitrate:0,emeEnabled:!1,widevineLicenseUrl:void 0,drmSystems:{},drmSystemOptions:{},requestMediaKeySystemAccessFunc:ui,testBandwidth:!0,progressive:!1,lowLatencyMode:!0,cmcd:void 0,enableDateRangeMetadataCues:!0,enableEmsgMetadataCues:!0,enableEmsgKLVMetadata:!1,enableID3MetadataCues:!0,enableInterstitialPlayback:!0,interstitialAppendInPlace:!0,interstitialLiveLookAhead:10,useMediaCapabilities:!0,certLoadPolicy:{default:df},keyLoadPolicy:{default:{maxTimeToFirstByteMs:8e3,maxLoadTimeMs:2e4,timeoutRetry:{maxNumRetry:1,retryDelayMs:1e3,maxRetryDelayMs:2e4,backoff:"linear"},errorRetry:{maxNumRetry:8,retryDelayMs:1e3,maxRetryDelayMs:2e4,backoff:"linear"}}},manifestLoadPolicy:{default:{maxTimeToFirstByteMs:1/0,maxLoadTimeMs:2e4,timeoutRetry:{maxNumRetry:2,retryDelayMs:0,maxRetryDelayMs:0},errorRetry:{maxNumRetry:1,retryDelayMs:1e3,maxRetryDelayMs:8e3}}},playlistLoadPolicy:{default:{maxTimeToFirstByteMs:1e4,maxLoadTimeMs:2e4,timeoutRetry:{maxNumRetry:2,retryDelayMs:0,maxRetryDelayMs:0},errorRetry:{maxNumRetry:2,retryDelayMs:1e3,maxRetryDelayMs:8e3}}},fragLoadPolicy:{default:{maxTimeToFirstByteMs:1e4,maxLoadTimeMs:12e4,timeoutRetry:{maxNumRetry:4,retryDelayMs:0,maxRetryDelayMs:0},errorRetry:{maxNumRetry:6,retryDelayMs:1e3,maxRetryDelayMs:8e3}}},steeringManifestLoadPolicy:{default:{maxTimeToFirstByteMs:1e4,maxLoadTimeMs:2e4,timeoutRetry:{maxNumRetry:2,retryDelayMs:0,maxRetryDelayMs:0},errorRetry:{maxNumRetry:1,retryDelayMs:1e3,maxRetryDelayMs:8e3}}},interstitialAssetListLoadPolicy:{default:{maxTimeToFirstByteMs:1e4,maxLoadTimeMs:3e4,timeoutRetry:{maxNumRetry:0,retryDelayMs:0,maxRetryDelayMs:0},errorRetry:{maxNumRetry:0,retryDelayMs:1e3,maxRetryDelayMs:8e3}}},manifestLoadingTimeOut:1e4,manifestLoadingMaxRetry:1,manifestLoadingRetryDelay:1e3,manifestLoadingMaxRetryTimeout:64e3,levelLoadingTimeOut:1e4,levelLoadingMaxRetry:4,levelLoadingRetryDelay:1e3,levelLoadingMaxRetryTimeout:64e3,fragLoadingTimeOut:2e4,fragLoadingMaxRetry:6,fragLoadingRetryDelay:1e3,fragLoadingMaxRetryTimeout:64e3},qc()),{},{subtitleStreamController:Kc,subtitleTrackController:xf,timelineController:cs,audioStreamController:Nu,audioTrackController:si,emeController:ju,cmcdController:yu,contentSteeringController:Xl,interstitialsController:Rc});function qc(){return{cueHandler:Df,enableWebVTT:!0,enableIMSC1:!0,enableCEA708Captions:!0,captionsTextTrack1Label:"English",captionsTextTrack1LanguageCode:"en",captionsTextTrack2Label:"Spanish",captionsTextTrack2LanguageCode:"es",captionsTextTrack3Label:"Unknown CC",captionsTextTrack3LanguageCode:"",captionsTextTrack4Label:"Unknown CC",captionsTextTrack4LanguageCode:"",renderTextTracksNatively:!0}}function hf(A,t,n){if((t.liveSyncDurationCount||t.liveMaxLatencyDurationCount)&&(t.liveSyncDuration||t.liveMaxLatencyDuration))throw new Error("Illegal hls.js config: don't mix up liveSyncDurationCount/liveMaxLatencyDurationCount and liveSyncDuration/liveMaxLatencyDuration");if(t.liveMaxLatencyDurationCount!==void 0&&(t.liveSyncDurationCount===void 0||t.liveMaxLatencyDurationCount<=t.liveSyncDurationCount))throw new Error('Illegal hls.js config: "liveMaxLatencyDurationCount" must be greater than "liveSyncDurationCount"');if(t.liveMaxLatencyDuration!==void 0&&(t.liveSyncDuration===void 0||t.liveMaxLatencyDuration<=t.liveSyncDuration))throw new Error('Illegal hls.js config: "liveMaxLatencyDuration" must be greater than "liveSyncDuration"');const s=ku(A),m=["manifest","level","frag"],E=["TimeOut","MaxRetry","RetryDelay","MaxRetryTimeout"];return m.forEach(T=>{const z=`${T==="level"?"playlist":T}LoadPolicy`,G=t[z]===void 0,U=[];E.forEach(ie=>{const ce=`${T}Loading${ie}`,xe=t[ce];if(xe!==void 0&&G){U.push(ce);const Se=s[z].default;switch(t[z]={default:Se},ie){case"TimeOut":Se.maxLoadTimeMs=xe,Se.maxTimeToFirstByteMs=xe;break;case"MaxRetry":Se.errorRetry.maxNumRetry=xe,Se.timeoutRetry.maxNumRetry=xe;break;case"RetryDelay":Se.errorRetry.retryDelayMs=xe,Se.timeoutRetry.retryDelayMs=xe;break;case"MaxRetryTimeout":Se.errorRetry.maxRetryDelayMs=xe,Se.timeoutRetry.maxRetryDelayMs=xe;break}}}),U.length&&n.warn(`hls.js config: "${U.join('", "')}" setting(s) are deprecated, use "${z}": ${Nn(t[z])}`)}),b(b({},s),t)}function ku(A){return A&&typeof A=="object"?Array.isArray(A)?A.map(ku):Object.keys(A).reduce((t,n)=>(t[n]=ku(A[n]),t),{}):A}function xc(A,t){const n=A.loader;n!==cf&&n!==bc?(t.log("[config]: Custom loader detected, cannot enable progressive streaming"),A.progressive=!1):Ef()&&(A.loader=cf,A.progressive=!0,A.enableSoftwareAES=!0,t.log("[config]: Progressive streaming enabled, using FetchLoader"))}const Io=2,pf=.1,_f=.05,Mc=100;class Fc extends fs{constructor(t,n){super("gap-controller",t.logger),this.hls=null,this.fragmentTracker=null,this.media=null,this.mediaSource=void 0,this.nudgeRetry=0,this.stallReported=!1,this.stalled=null,this.moved=!1,this.seeking=!1,this.buffered={},this.lastCurrentTime=0,this.ended=0,this.waiting=0,this.onMediaPlaying=()=>{this.ended=0,this.waiting=0},this.onMediaWaiting=()=>{var s;(s=this.media)!=null&&s.seeking||(this.waiting=self.performance.now(),this.tick())},this.onMediaEnded=()=>{if(this.hls){var s;this.ended=((s=this.media)==null?void 0:s.currentTime)||1,this.hls.trigger(o.MEDIA_ENDED,{stalled:!1})}},this.hls=t,this.fragmentTracker=n,this.registerListeners()}registerListeners(){const{hls:t}=this;t&&(t.on(o.MEDIA_ATTACHED,this.onMediaAttached,this),t.on(o.MEDIA_DETACHING,this.onMediaDetaching,this),t.on(o.BUFFER_APPENDED,this.onBufferAppended,this))}unregisterListeners(){const{hls:t}=this;t&&(t.off(o.MEDIA_ATTACHED,this.onMediaAttached,this),t.off(o.MEDIA_DETACHING,this.onMediaDetaching,this),t.off(o.BUFFER_APPENDED,this.onBufferAppended,this))}destroy(){super.destroy(),this.unregisterListeners(),this.media=this.hls=this.fragmentTracker=null,this.mediaSource=void 0}onMediaAttached(t,n){this.setInterval(Mc),this.mediaSource=n.mediaSource;const s=this.media=n.media;To(s,"playing",this.onMediaPlaying),To(s,"waiting",this.onMediaWaiting),To(s,"ended",this.onMediaEnded)}onMediaDetaching(t,n){this.clearInterval();const{media:s}=this;s&&(qo(s,"playing",this.onMediaPlaying),qo(s,"waiting",this.onMediaWaiting),qo(s,"ended",this.onMediaEnded),this.media=null),this.mediaSource=void 0}onBufferAppended(t,n){this.buffered=n.timeRanges}get hasBuffered(){return Object.keys(this.buffered).length>0}tick(){var t;if(!((t=this.media)!=null&&t.readyState)||!this.hasBuffered)return;const n=this.media.currentTime;this.poll(n,this.lastCurrentTime),this.lastCurrentTime=n}poll(t,n){var s,m;const E=(s=this.hls)==null?void 0:s.config;if(!E)return;const{media:T,stalled:z}=this;if(!T)return;const{seeking:G}=T,U=this.seeking&&!G,ie=!this.seeking&&G,ce=T.paused&&!G||T.ended||T.playbackRate===0;if(this.seeking=G,t!==n){n&&(this.ended=0),this.moved=!0,G||(this.nudgeRetry=0,E.nudgeOnVideoHole&&!ce&&t>n&&this.nudgeOnVideoHole(t,n)),this.waiting===0&&this.stallResolved(t);return}if(ie||U){U&&this.stallResolved(t);return}if(ce){this.nudgeRetry=0,this.stallResolved(t),!this.ended&&T.ended&&this.hls&&(this.ended=t||1,this.hls.trigger(o.MEDIA_ENDED,{stalled:!1}));return}if(!Vn.getBuffered(T).length){this.nudgeRetry=0;return}const xe=Vn.bufferInfo(T,t,0),Se=xe.nextStart||0,Re=this.fragmentTracker;if(G&&Re&&this.hls){const cn=Jc(this.hls.inFlightFragments,t),Wr=xe.len>Io,sn=!Se||cn||Se-t>Io&&!Re.getPartialFragment(t);if(Wr||sn)return;this.moved=!1}const qe=(m=this.hls)==null?void 0:m.latestLevelDetails;if(!this.moved&&this.stalled!==null&&Re){if(!(xe.len>0)&&!Se)return;const Wr=Math.max(Se,xe.start||0)-t,hn=!!(qe!=null&&qe.live)?qe.targetduration*2:Io,Kr=Re.getPartialFragment(t);if(Wr>0&&(Wr<=hn||Kr)){T.paused||this._trySkipBufferHole(Kr);return}}const rt=E.detectStallWithCurrentTimeMs,$t=self.performance.now(),rr=this.waiting;if(z===null){rr>0&&$t-rr=rt||rr)&&this.hls){var $r;if((($r=this.mediaSource)==null?void 0:$r.readyState)==="ended"&&!(qe!=null&&qe.live)&&Math.abs(t-((qe==null?void 0:qe.edge)||0))<1){if(this.ended)return;this.ended=t||1,this.hls.trigger(o.MEDIA_ENDED,{stalled:!0});return}if(this._reportStall(xe),!this.media||!this.hls)return}const Hr=Vn.bufferInfo(T,t,E.maxBufferHole);this._tryFixBufferStall(Hr,ir)}stallResolved(t){const n=this.stalled;if(n&&this.hls&&(this.stalled=null,this.stallReported)){const s=self.performance.now()-n;this.log(`playback not stuck anymore @${t}, after ${Math.round(s)}ms`),this.stallReported=!1,this.waiting=0,this.hls.trigger(o.STALL_RESOLVED,{})}}nudgeOnVideoHole(t,n){var s;const m=this.buffered.video;if(this.hls&&this.media&&this.fragmentTracker&&(s=this.buffered.audio)!=null&&s.length&&m&&m.length>1&&t>m.end(0)){const E=Vn.bufferedInfo(Vn.timeRangesToArray(this.buffered.audio),t,0);if(E.len>1&&n>=E.start){const T=Vn.timeRangesToArray(m),z=Vn.bufferedInfo(T,n,0).bufferedIndex;if(z>-1&&zz)&&ie-U<1&&t-U<2){const ce=new Error(`nudging playhead to flush pipeline after video hole. currentTime: ${t} hole: ${U} -> ${ie} buffered index: ${G}`);this.warn(ce.message),this.media.currentTime+=1e-6;const xe=this.fragmentTracker.getPartialFragment(t)||void 0,Se=Vn.bufferInfo(this.media,t,0);this.hls.trigger(o.ERROR,{type:c.MEDIA_ERROR,details:f.BUFFER_SEEK_OVER_HOLE,fatal:!1,error:ce,reason:ce.message,frag:xe,buffer:Se.len,bufferInfo:Se})}}}}}_tryFixBufferStall(t,n){var s,m;const{fragmentTracker:E,media:T}=this,z=(s=this.hls)==null?void 0:s.config;if(!T||!E||!z)return;const G=T.currentTime,U=(m=this.hls)==null?void 0:m.latestLevelDetails,ie=E.getPartialFragment(G);if((ie||U!=null&&U.live&&G1&&t.len>z.maxBufferHole||t.nextStart&&t.nextStart-Gz.highBufferWatchdogPeriod*1e3||this.waiting)&&(this.warn("Trying to nudge playhead over buffer-hole"),this._tryNudgeBuffer(t))}_reportStall(t){const{hls:n,media:s,stallReported:m,stalled:E}=this;if(!m&&E!==null&&s&&n){this.stallReported=!0;const T=new Error(`Playback stalling at @${s.currentTime} due to low buffer (${Nn(t)})`);this.warn(T.message),n.trigger(o.ERROR,{type:c.MEDIA_ERROR,details:f.BUFFER_STALLED_ERROR,fatal:!1,error:T,buffer:t.len,bufferInfo:t,stalled:{start:E}})}}_trySkipBufferHole(t){var n;const{fragmentTracker:s,media:m}=this,E=(n=this.hls)==null?void 0:n.config;if(!m||!s||!E)return 0;const T=m.currentTime,z=Vn.bufferInfo(m,T,0),G=T0&&z.len<1&&m.readyState<3,xe=G-T;if(xe>0&&(ie||ce)){if(xe>E.maxBufferHole){let Re=!1;if(T===0){const qe=s.getAppendedFrag(0,u.MAIN);qe&&G{const A=wf();try{A&&new A(0,Number.POSITIVE_INFINITY,"")}catch(t){return Number.MAX_VALUE}return Number.POSITIVE_INFINITY})();function Rf(A){return Uint8Array.from(A.replace(/^0x/,"").replace(/([\da-fA-F]{2}) ?/g,"0x$1 ").replace(/ +$/,"").split(" ")).buffer}class mf{constructor(t){this.hls=void 0,this.id3Track=null,this.media=null,this.dateRangeCuesAppended={},this.removeCues=!0,this.onEventCueEnter=()=>{this.hls&&this.hls.trigger(o.EVENT_CUE_ENTER,{})},this.hls=t,this._registerListeners()}destroy(){this._unregisterListeners(),this.id3Track=null,this.media=null,this.dateRangeCuesAppended={},this.hls=this.onEventCueEnter=null}_registerListeners(){const{hls:t}=this;t.on(o.MEDIA_ATTACHING,this.onMediaAttaching,this),t.on(o.MEDIA_ATTACHED,this.onMediaAttached,this),t.on(o.MEDIA_DETACHING,this.onMediaDetaching,this),t.on(o.MANIFEST_LOADING,this.onManifestLoading,this),t.on(o.FRAG_PARSING_METADATA,this.onFragParsingMetadata,this),t.on(o.BUFFER_FLUSHING,this.onBufferFlushing,this),t.on(o.LEVEL_UPDATED,this.onLevelUpdated,this),t.on(o.LEVEL_PTS_UPDATED,this.onLevelPtsUpdated,this)}_unregisterListeners(){const{hls:t}=this;t.off(o.MEDIA_ATTACHING,this.onMediaAttaching,this),t.off(o.MEDIA_ATTACHED,this.onMediaAttached,this),t.off(o.MEDIA_DETACHING,this.onMediaDetaching,this),t.off(o.MANIFEST_LOADING,this.onManifestLoading,this),t.off(o.FRAG_PARSING_METADATA,this.onFragParsingMetadata,this),t.off(o.BUFFER_FLUSHING,this.onBufferFlushing,this),t.off(o.LEVEL_UPDATED,this.onLevelUpdated,this),t.off(o.LEVEL_PTS_UPDATED,this.onLevelPtsUpdated,this)}onMediaAttaching(t,n){var s;this.media=n.media,((s=n.overrides)==null?void 0:s.cueRemoval)===!1&&(this.removeCues=!1)}onMediaAttached(){const t=this.hls.latestLevelDetails;t&&this.updateDateRangeCues(t)}onMediaDetaching(t,n){this.media=null,!n.transferMedia&&(this.id3Track&&(this.removeCues&&qu(this.id3Track,this.onEventCueEnter),this.id3Track=null),this.dateRangeCuesAppended={})}onManifestLoading(){this.dateRangeCuesAppended={}}createTrack(t){const n=this.getID3Track(t.textTracks);return n.mode="hidden",n}getID3Track(t){if(this.media){for(let n=0;nSf&&(ce=Sf),ce-ie<=0&&(ce=ie+kf);for(let Se=0;Seie.type===ye.audioId3&&G:m==="video"?U=ie=>ie.type===ye.emsg&&z:U=ie=>ie.type===ye.audioId3&&G||ie.type===ye.emsg&&z,ml(E,n,s,U)}}onLevelUpdated(t,{details:n}){this.updateDateRangeCues(n,!0)}onLevelPtsUpdated(t,n){Math.abs(n.drift)>.01&&this.updateDateRangeCues(n.details)}updateDateRangeCues(t,n){if(!this.media||!t.hasProgramDateTime||!this.hls.config.enableDateRangeMetadataCues)return;const{id3Track:s}=this,{dateRanges:m}=t,E=Object.keys(m);let T=this.dateRangeCuesAppended;if(s&&n){var z;if((z=s.cues)!=null&&z.length){const ie=Object.keys(T).filter(ce=>!E.includes(ce));for(let ce=ie.length;ce--;){const xe=ie[ce],Se=T[xe].cues;delete T[xe],Object.keys(Se).forEach(Re=>{try{const qe=Se[Re];qe.removeEventListener("enter",this.onEventCueEnter),s.removeCue(qe)}catch(qe){}})}}else T=this.dateRangeCuesAppended={}}const G=t.fragments[t.fragments.length-1];if(E.length===0||!r(G==null?void 0:G.programDateTime))return;this.id3Track||(this.id3Track=this.createTrack(this.media));const U=wf();for(let ie=0;ie{if(Wr!==xe.id){const sn=m[Wr];if(sn.class===xe.class&&sn.startDate>xe.startDate&&(!cn||xe.startDate.01&&(Wr.startTime=Se,Wr.endTime=$t);else if(U){let sn=xe.attr[cn];Ln(cn)&&(sn=Rf(sn));const Kr=ef(U,Se,$t,{key:cn,data:sn},ye.dateRange);Kr&&(Kr.id=ce,this.id3Track.addCue(Kr),qe[cn]=Kr,this.hls.config.interstitialsController&&(cn==="X-ASSET-LIST"||cn==="X-ASSET-URL")&&Kr.addEventListener("enter",this.onEventCueEnter))}}T[ce]={cues:qe,dateRange:xe,durationKnown:rt}}}}class zf{constructor(t){this.hls=void 0,this.config=void 0,this.media=null,this.currentTime=0,this.stallCount=0,this._latency=null,this._targetLatencyUpdated=!1,this.onTimeupdate=()=>{const{media:n}=this,s=this.levelDetails;if(!n||!s)return;this.currentTime=n.currentTime;const m=this.computeLatency();if(m===null)return;this._latency=m;const{lowLatencyMode:E,maxLiveSyncPlaybackRate:T}=this.config;if(!E||T===1||!s.live)return;const z=this.targetLatency;if(z===null)return;const G=m-z,U=Math.min(this.maxLatency,z+s.targetduration);if(G.05&&this.forwardBufferLength>1){const ce=Math.min(2,Math.max(1,T)),xe=Math.round(2/(1+Math.exp(-.75*G-this.edgeStalled))*20)/20,Se=Math.min(ce,Math.max(1,xe));this.changeMediaPlaybackRate(n,Se)}else n.playbackRate!==1&&n.playbackRate!==0&&this.changeMediaPlaybackRate(n,1)},this.hls=t,this.config=t.config,this.registerListeners()}get levelDetails(){var t;return((t=this.hls)==null?void 0:t.latestLevelDetails)||null}get latency(){return this._latency||0}get maxLatency(){const{config:t}=this;if(t.liveMaxLatencyDuration!==void 0)return t.liveMaxLatencyDuration;const n=this.levelDetails;return n?t.liveMaxLatencyDurationCount*n.targetduration:0}get targetLatency(){const t=this.levelDetails;if(t===null||this.hls===null)return null;const{holdBack:n,partHoldBack:s,targetduration:m}=t,{liveSyncDuration:E,liveSyncDurationCount:T,lowLatencyMode:z}=this.config,G=this.hls.userConfig;let U=z&&s||n;(this._targetLatencyUpdated||G.liveSyncDuration||G.liveSyncDurationCount||U===0)&&(U=E!==void 0?E:T*m);const ie=m;return U+Math.min(this.stallCount*this.config.liveSyncOnStallIncrease,ie)}set targetLatency(t){this.stallCount=0,this.config.liveSyncDuration=t,this._targetLatencyUpdated=!0}get liveSyncPosition(){const t=this.estimateLiveEdge(),n=this.targetLatency;if(t===null||n===null)return null;const s=this.levelDetails;if(s===null)return null;const m=s.edge,E=t-n-this.edgeStalled,T=m-s.totalduration,z=m-(this.config.lowLatencyMode&&s.partTarget||s.targetduration);return Math.min(Math.max(T,E),z)}get drift(){const t=this.levelDetails;return t===null?1:t.drift}get edgeStalled(){const t=this.levelDetails;if(t===null)return 0;const n=(this.config.lowLatencyMode&&t.partTarget||t.targetduration)*3;return Math.max(t.age-n,0)}get forwardBufferLength(){const{media:t}=this,n=this.levelDetails;if(!t||!n)return 0;const s=t.buffered.length;return(s?t.buffered.end(s-1):n.edge)-this.currentTime}destroy(){this.unregisterListeners(),this.onMediaDetaching(),this.hls=null}registerListeners(){const{hls:t}=this;t&&(t.on(o.MEDIA_ATTACHED,this.onMediaAttached,this),t.on(o.MEDIA_DETACHING,this.onMediaDetaching,this),t.on(o.MANIFEST_LOADING,this.onManifestLoading,this),t.on(o.LEVEL_UPDATED,this.onLevelUpdated,this),t.on(o.ERROR,this.onError,this))}unregisterListeners(){const{hls:t}=this;t&&(t.off(o.MEDIA_ATTACHED,this.onMediaAttached,this),t.off(o.MEDIA_DETACHING,this.onMediaDetaching,this),t.off(o.MANIFEST_LOADING,this.onManifestLoading,this),t.off(o.LEVEL_UPDATED,this.onLevelUpdated,this),t.off(o.ERROR,this.onError,this))}onMediaAttached(t,n){this.media=n.media,this.media.addEventListener("timeupdate",this.onTimeupdate)}onMediaDetaching(){this.media&&(this.media.removeEventListener("timeupdate",this.onTimeupdate),this.media=null)}onManifestLoading(){this._latency=null,this.stallCount=0}onLevelUpdated(t,{details:n}){n.advanced&&this.onTimeupdate(),!n.live&&this.media&&this.media.removeEventListener("timeupdate",this.onTimeupdate)}onError(t,n){var s;n.details===f.BUFFER_STALLED_ERROR&&(this.stallCount++,this.hls&&(s=this.levelDetails)!=null&&s.live&&this.hls.logger.warn("[latency-controller]: Stall detected, adjusting target latency"))}changeMediaPlaybackRate(t,n){var s,m;t.playbackRate!==n&&((s=this.hls)==null||s.logger.debug(`[latency-controller]: latency=${this.latency.toFixed(3)}, targetLatency=${(m=this.targetLatency)==null?void 0:m.toFixed(3)}, forwardBufferLength=${this.forwardBufferLength.toFixed(3)}: adjusting playback rate from ${t.playbackRate} to ${n}`),t.playbackRate=n)}estimateLiveEdge(){const t=this.levelDetails;return t===null?null:t.edge+t.age}computeLatency(){const t=this.estimateLiveEdge();return t===null?null:t-this.currentTime}}class Af extends sl{constructor(t,n){super(t,"level-controller"),this._levels=[],this._firstLevel=-1,this._maxAutoLevel=-1,this._startLevel=void 0,this.currentLevel=null,this.currentLevelIndex=-1,this.manualLevelIndex=-1,this.steering=void 0,this.onParsedComplete=void 0,this.steering=n,this._registerListeners()}_registerListeners(){const{hls:t}=this;t.on(o.MANIFEST_LOADING,this.onManifestLoading,this),t.on(o.MANIFEST_LOADED,this.onManifestLoaded,this),t.on(o.LEVEL_LOADED,this.onLevelLoaded,this),t.on(o.LEVELS_UPDATED,this.onLevelsUpdated,this),t.on(o.FRAG_BUFFERED,this.onFragBuffered,this),t.on(o.ERROR,this.onError,this)}_unregisterListeners(){const{hls:t}=this;t.off(o.MANIFEST_LOADING,this.onManifestLoading,this),t.off(o.MANIFEST_LOADED,this.onManifestLoaded,this),t.off(o.LEVEL_LOADED,this.onLevelLoaded,this),t.off(o.LEVELS_UPDATED,this.onLevelsUpdated,this),t.off(o.FRAG_BUFFERED,this.onFragBuffered,this),t.off(o.ERROR,this.onError,this)}destroy(){this._unregisterListeners(),this.steering=null,this.resetLevels(),super.destroy()}stopLoad(){this._levels.forEach(n=>{n.loadError=0,n.fragmentError=0}),super.stopLoad()}resetLevels(){this._startLevel=void 0,this.manualLevelIndex=-1,this.currentLevelIndex=-1,this.currentLevel=null,this._levels=[],this._maxAutoLevel=-1}onManifestLoading(t,n){this.resetLevels()}onManifestLoaded(t,n){const s=this.hls.config.preferManagedMediaSource,m=[],E={},T={};let z=!1,G=!1,U=!1;n.levels.forEach(ie=>{var ce;const xe=ie.attrs;let{audioCodec:Se,videoCodec:Re}=ie;Se&&(ie.audioCodec=Se=St(Se,s)||void 0),((ce=Re)==null?void 0:ce.indexOf("avc1"))===0&&(Re=ie.videoCodec=Ar(Re));const{width:qe,height:rt,unknownCodecs:$t}=ie;let rr=$t?$t.length:0;if($t)for(let Yn=rr;Yn--;){const fi=$t[Yn];this.isAudioSupported(fi)?(ie.audioCodec=Se=Se?`${Se},${fi}`:fi,rr--,Zt.audio[Se.substring(0,4)]=2):this.isVideoSupported(fi)&&(ie.videoCodec=Re=Re?`${Re},${fi}`:fi,rr--,Zt.video[Re.substring(0,4)]=2)}if(z||(z=!!(qe&&rt)),G||(G=!!Re),U||(U=!!Se),rr||Se&&!this.isAudioSupported(Se)||Re&&!this.isVideoSupported(Re)){this.log(`Some or all CODECS not supported "${xe.CODECS}"`);return}const{CODECS:ir,"FRAME-RATE":$r,"HDCP-LEVEL":Hr,"PATHWAY-ID":cn,RESOLUTION:Wr,"VIDEO-RANGE":sn}=xe,Kr=`${`${cn||"."}-`}${ie.bitrate}-${Wr}-${$r}-${ir}-${sn}-${Hr}`;if(E[Kr])if(E[Kr].uri!==ie.url&&!ie.attrs["PATHWAY-ID"]){const Yn=T[Kr]+=1;ie.attrs["PATHWAY-ID"]=new Array(Yn+1).join(".");const fi=this.createLevel(ie);E[Kr]=fi,m.push(fi)}else E[Kr].addGroupId("audio",xe.AUDIO),E[Kr].addGroupId("text",xe.SUBTITLES);else{const Yn=this.createLevel(ie);E[Kr]=Yn,T[Kr]=1,m.push(Yn)}}),this.filterAndSortMediaOptions(m,n,z,G,U)}createLevel(t){const n=new mr(t),s=t.supplemental;if(s!=null&&s.videoCodec&&!this.isVideoSupported(s.videoCodec)){const m=new Error(`SUPPLEMENTAL-CODECS not supported "${s.videoCodec}"`);this.log(m.message),n.supportedResult=un(m,[])}return n}isAudioSupported(t){return Oe(t,"audio",this.hls.config.preferManagedMediaSource)}isVideoSupported(t){return Oe(t,"video",this.hls.config.preferManagedMediaSource)}filterAndSortMediaOptions(t,n,s,m,E){let T=[],z=[],G=t;if((s||m)&&E&&(G=G.filter(({videoCodec:rt,videoRange:$t,width:rr,height:ir})=>(!!rt||!!(rr&&ir))&&ot($t))),G.length===0){Promise.resolve().then(()=>{if(this.hls){let rt="no level with compatible codecs found in manifest",$t=rt;n.levels.length&&($t=`one or more CODECS in variant not supported: ${Nn(n.levels.map(ir=>ir.attrs.CODECS).filter((ir,$r,Hr)=>Hr.indexOf(ir)===$r))}`,this.warn($t),rt+=` (${$t})`);const rr=new Error(rt);this.hls.trigger(o.ERROR,{type:c.MEDIA_ERROR,details:f.MANIFEST_INCOMPATIBLE_CODECS_ERROR,fatal:!0,url:n.url,error:rr,reason:$t})}});return}n.audioTracks&&(T=n.audioTracks.filter(rt=>!rt.audioCodec||this.isAudioSupported(rt.audioCodec)),Lf(T)),n.subtitles&&(z=n.subtitles,Lf(z));const U=G.slice(0);G.sort((rt,$t)=>{if(rt.attrs["HDCP-LEVEL"]!==$t.attrs["HDCP-LEVEL"])return(rt.attrs["HDCP-LEVEL"]||"")>($t.attrs["HDCP-LEVEL"]||"")?1:-1;if(s&&rt.height!==$t.height)return rt.height-$t.height;if(rt.frameRate!==$t.frameRate)return rt.frameRate-$t.frameRate;if(rt.videoRange!==$t.videoRange)return gr.indexOf(rt.videoRange)-gr.indexOf($t.videoRange);if(rt.videoCodec!==$t.videoCodec){const rr=Ke(rt.videoCodec),ir=Ke($t.videoCodec);if(rr!==ir)return ir-rr}if(rt.uri===$t.uri&&rt.codecSet!==$t.codecSet){const rr=gt(rt.codecSet),ir=gt($t.codecSet);if(rr!==ir)return ir-rr}return rt.averageBitrate!==$t.averageBitrate?rt.averageBitrate-$t.averageBitrate:0});let ie=U[0];if(this.steering&&(G=this.steering.filterParsedLevels(G),G.length!==U.length)){for(let rt=0;rtrr&&rr===this.hls.abrEwmaDefaultEstimate&&(this.hls.bandwidthEstimate=ir)}break}const xe=E&&!m,Se=this.hls.config,Re=!!(Se.audioStreamController&&Se.audioTrackController),qe={levels:G,audioTracks:T,subtitleTracks:z,sessionData:n.sessionData,sessionKeys:n.sessionKeys,firstLevel:this._firstLevel,stats:n.stats,audio:E,video:m,altAudio:Re&&!xe&&T.some(rt=>!!rt.url)};this.hls.trigger(o.MANIFEST_PARSED,qe)}get levels(){return this._levels.length===0?null:this._levels}get loadLevelObj(){return this.currentLevel}get level(){return this.currentLevelIndex}set level(t){const n=this._levels;if(n.length===0)return;if(t<0||t>=n.length){const ie=new Error("invalid level idx"),ce=t<0;if(this.hls.trigger(o.ERROR,{type:c.OTHER_ERROR,details:f.LEVEL_SWITCH_ERROR,level:t,fatal:ce,error:ie,reason:ie.message}),ce)return;t=Math.min(t,n.length-1)}const s=this.currentLevelIndex,m=this.currentLevel,E=m?m.attrs["PATHWAY-ID"]:void 0,T=n[t],z=T.attrs["PATHWAY-ID"];if(this.currentLevelIndex=t,this.currentLevel=T,s===t&&m&&E===z)return;this.log(`Switching to level ${t} (${T.height?T.height+"p ":""}${T.videoRange?T.videoRange+" ":""}${T.codecSet?T.codecSet+" ":""}@${T.bitrate})${z?" with Pathway "+z:""} from level ${s}${E?" with Pathway "+E:""}`);const G={level:t,attrs:T.attrs,details:T.details,bitrate:T.bitrate,averageBitrate:T.averageBitrate,maxBitrate:T.maxBitrate,realBitrate:T.realBitrate,width:T.width,height:T.height,codecSet:T.codecSet,audioCodec:T.audioCodec,videoCodec:T.videoCodec,audioGroups:T.audioGroups,subtitleGroups:T.subtitleGroups,loaded:T.loaded,loadError:T.loadError,fragmentError:T.fragmentError,name:T.name,id:T.id,uri:T.uri,url:T.url,urlId:0,audioGroupIds:T.audioGroupIds,textGroupIds:T.textGroupIds};this.hls.trigger(o.LEVEL_SWITCHING,G);const U=T.details;if(!U||U.live){const ie=this.switchParams(T.uri,m==null?void 0:m.details,U);this.loadPlaylist(ie)}}get manualLevel(){return this.manualLevelIndex}set manualLevel(t){this.manualLevelIndex=t,this._startLevel===void 0&&(this._startLevel=t),t!==-1&&(this.level=t)}get firstLevel(){return this._firstLevel}set firstLevel(t){this._firstLevel=t}get startLevel(){if(this._startLevel===void 0){const t=this.hls.config.startLevel;return t!==void 0?t:this.hls.firstAutoLevel}return this._startLevel}set startLevel(t){this._startLevel=t}get pathways(){return this.steering?this.steering.pathways():[]}get pathwayPriority(){return this.steering?this.steering.pathwayPriority:null}set pathwayPriority(t){if(this.steering){const n=this.steering.pathways(),s=t.filter(m=>n.indexOf(m)!==-1);if(t.length<1){this.warn(`pathwayPriority ${t} should contain at least one pathway from list: ${n}`);return}this.steering.pathwayPriority=s}}onError(t,n){n.fatal||!n.context||n.context.type===h.LEVEL&&n.context.level===this.level&&this.checkRetry(n)}onFragBuffered(t,{frag:n}){if(n!==void 0&&n.type===u.MAIN){const s=n.elementaryStreams;if(!Object.keys(s).some(E=>!!s[E]))return;const m=this._levels[n.level];m!=null&&m.loadError&&(this.log(`Resetting level error count of ${m.loadError} on frag buffered`),m.loadError=0)}}onLevelLoaded(t,n){var s;const{level:m,details:E}=n,T=n.levelInfo;if(!T){var z;this.warn(`Invalid level index ${m}`),(z=n.deliveryDirectives)!=null&&z.skip&&(E.deltaUpdateFailed=!0);return}if(T===this.currentLevel||n.withoutMultiVariant){T.fragmentError===0&&(T.loadError=0);let G=T.details;G===n.details&&G.advanced&&(G=void 0),this.playlistLoaded(m,n,G)}else(s=n.deliveryDirectives)!=null&&s.skip&&(E.deltaUpdateFailed=!0)}loadPlaylist(t){super.loadPlaylist(),this.shouldLoadPlaylist(this.currentLevel)&&this.scheduleLoading(this.currentLevel,t)}loadingPlaylist(t,n){super.loadingPlaylist(t,n);const s=this.getUrlWithDirectives(t.uri,n),m=this.currentLevelIndex,E=t.attrs["PATHWAY-ID"],T=t.details,z=T==null?void 0:T.age;this.log(`Loading level index ${m}${(n==null?void 0:n.msn)!==void 0?" at sn "+n.msn+" part "+n.part:""}${E?" Pathway "+E:""}${z&&T.live?" age "+z.toFixed(1)+(T.type?" "+T.type||0:""):""} ${s}`),this.hls.trigger(o.LEVEL_LOADING,{url:s,level:m,levelInfo:t,pathwayId:t.attrs["PATHWAY-ID"],id:0,deliveryDirectives:n||null})}get nextLoadLevel(){return this.manualLevelIndex!==-1?this.manualLevelIndex:this.hls.nextAutoLevel}set nextLoadLevel(t){this.level=t,this.manualLevelIndex===-1&&(this.hls.nextAutoLevel=t)}removeLevel(t){var n;if(this._levels.length===1)return;const s=this._levels.filter((E,T)=>T!==t?!0:(this.steering&&this.steering.removeLevel(E),E===this.currentLevel&&(this.currentLevel=null,this.currentLevelIndex=-1,E.details&&E.details.fragments.forEach(z=>z.level=-1)),!1));vn(s),this._levels=s,this.currentLevelIndex>-1&&(n=this.currentLevel)!=null&&n.details&&(this.currentLevelIndex=this.currentLevel.details.fragments[0].level),this.manualLevelIndex>-1&&(this.manualLevelIndex=this.currentLevelIndex);const m=s.length-1;this._firstLevel=Math.min(this._firstLevel,m),this._startLevel&&(this._startLevel=Math.min(this._startLevel,m)),this.hls.trigger(o.LEVELS_UPDATED,{levels:s})}onLevelsUpdated(t,{levels:n}){this._levels=n}checkMaxAutoUpdated(){const{autoLevelCapping:t,maxAutoLevel:n,maxHdcpLevel:s}=this.hls;this._maxAutoLevel!==n&&(this._maxAutoLevel=n,this.hls.trigger(o.MAX_AUTO_LEVEL_UPDATED,{autoLevelCapping:t,levels:this.levels,maxAutoLevel:n,minAutoLevel:this.hls.minAutoLevel,maxHdcpLevel:s}))}}function Lf(A){const t={};A.forEach(n=>{const s=n.groupId||"";n.id=t[s]=t[s]||0,t[s]++})}function Bf(){return self.SourceBuffer||self.WebKitSourceBuffer}function tf(){if(!oe())return!1;const t=Bf();return!t||t.prototype&&typeof t.prototype.appendBuffer=="function"&&typeof t.prototype.remove=="function"}function Zf(){if(!tf())return!1;const A=oe();return typeof(A==null?void 0:A.isTypeSupported)=="function"&&(["avc1.42E01E,mp4a.40.2","av01.0.01M.08","vp09.00.50.08"].some(t=>A.isTypeSupported(be(t,"video")))||["mp4a.40.2","fLaC"].some(t=>A.isTypeSupported(be(t,"audio"))))}function Cf(){var A;const t=Bf();return typeof(t==null||(A=t.prototype)==null?void 0:A.changeType)=="function"}const v=100;class C extends Si{constructor(t,n,s){super(t,n,s,"stream-controller",u.MAIN),this.audioCodecSwap=!1,this.level=-1,this._forceStartLoad=!1,this._hasEnoughToStart=!1,this.altAudio=0,this.audioOnly=!1,this.fragPlaying=null,this.fragLastKbps=0,this.couldBacktrack=!1,this.backtrackFragment=null,this.audioCodecSwitch=!1,this.videoBuffer=null,this.onMediaPlaying=()=>{this.tick()},this.onMediaSeeked=()=>{const m=this.media,E=m?m.currentTime:null;if(E===null||!r(E)||(this.log(`Media seeked to ${E.toFixed(3)}`),!this.getBufferedFrag(E)))return;const T=this.getFwdBufferInfoAtPos(m,E,u.MAIN,0);if(T===null||T.len===0){this.warn(`Main forward buffer length at ${E} on "seeked" event ${T?T.len:"empty"})`);return}this.tick()},this.registerListeners()}registerListeners(){super.registerListeners();const{hls:t}=this;t.on(o.MANIFEST_PARSED,this.onManifestParsed,this),t.on(o.LEVEL_LOADING,this.onLevelLoading,this),t.on(o.LEVEL_LOADED,this.onLevelLoaded,this),t.on(o.FRAG_LOAD_EMERGENCY_ABORTED,this.onFragLoadEmergencyAborted,this),t.on(o.AUDIO_TRACK_SWITCHING,this.onAudioTrackSwitching,this),t.on(o.AUDIO_TRACK_SWITCHED,this.onAudioTrackSwitched,this),t.on(o.BUFFER_CREATED,this.onBufferCreated,this),t.on(o.BUFFER_FLUSHED,this.onBufferFlushed,this),t.on(o.LEVELS_UPDATED,this.onLevelsUpdated,this),t.on(o.FRAG_BUFFERED,this.onFragBuffered,this)}unregisterListeners(){super.unregisterListeners();const{hls:t}=this;t.off(o.MANIFEST_PARSED,this.onManifestParsed,this),t.off(o.LEVEL_LOADED,this.onLevelLoaded,this),t.off(o.FRAG_LOAD_EMERGENCY_ABORTED,this.onFragLoadEmergencyAborted,this),t.off(o.AUDIO_TRACK_SWITCHING,this.onAudioTrackSwitching,this),t.off(o.AUDIO_TRACK_SWITCHED,this.onAudioTrackSwitched,this),t.off(o.BUFFER_CREATED,this.onBufferCreated,this),t.off(o.BUFFER_FLUSHED,this.onBufferFlushed,this),t.off(o.LEVELS_UPDATED,this.onLevelsUpdated,this),t.off(o.FRAG_BUFFERED,this.onFragBuffered,this)}onHandlerDestroying(){this.onMediaPlaying=this.onMediaSeeked=null,this.unregisterListeners(),super.onHandlerDestroying()}startLoad(t,n){if(this.levels){const{lastCurrentTime:s,hls:m}=this;if(this.stopLoad(),this.setInterval(v),this.level=-1,!this.startFragRequested){let E=m.startLevel;E===-1&&(m.config.testBandwidth&&this.levels.length>1?(E=0,this.bitrateTest=!0):E=m.firstAutoLevel),m.nextLoadLevel=E,this.level=m.loadLevel,this._hasEnoughToStart=!!n}s>0&&t===-1&&!n&&(this.log(`Override startPosition with lastCurrentTime @${s.toFixed(3)}`),t=s),this.state=Yr.IDLE,this.nextLoadPosition=this.lastCurrentTime=t+this.timelineOffset,this.startPosition=n?-1:t,this.tick()}else this._forceStartLoad=!0,this.state=Yr.STOPPED}stopLoad(){this._forceStartLoad=!1,super.stopLoad()}doTick(){switch(this.state){case Yr.WAITING_LEVEL:{const{levels:n,level:s}=this,m=n==null?void 0:n[s],E=m==null?void 0:m.details;if(E&&(!E.live||this.levelLastLoaded===m&&!this.waitForLive(m))){if(this.waitForCdnTuneIn(E))break;this.state=Yr.IDLE;break}else if(this.hls.nextLoadLevel!==this.level){this.state=Yr.IDLE;break}break}case Yr.FRAG_LOADING_WAITING_RETRY:{var t;const n=self.performance.now(),s=this.retryDate;if(!s||n>=s||(t=this.media)!=null&&t.seeking){const{levels:m,level:E}=this,T=m==null?void 0:m[E];this.resetStartWhenNotLoaded(T||null),this.state=Yr.IDLE}}break}this.state===Yr.IDLE&&this.doTickIdle(),this.onTickEnd()}onTickEnd(){var t;super.onTickEnd(),(t=this.media)!=null&&t.readyState&&this.media.seeking===!1&&(this.lastCurrentTime=this.media.currentTime),this.checkFragmentChanged()}doTickIdle(){const{hls:t,levelLastLoaded:n,levels:s,media:m}=this;if(n===null||!m&&!this.primaryPrefetch&&(this.startFragRequested||!t.config.startFragPrefetch)||this.altAudio&&this.audioOnly)return;const E=this.buffering?t.nextLoadLevel:t.loadLevel;if(!(s!=null&&s[E]))return;const T=s[E],z=this.getMainFwdBufferInfo();if(z===null)return;const G=this.getLevelDetails();if(G&&this._streamEnded(z,G)){const qe={};this.altAudio===2&&(qe.type="video"),this.hls.trigger(o.BUFFER_EOS,qe),this.state=Yr.ENDED;return}if(!this.buffering)return;t.loadLevel!==E&&t.manualLevel===-1&&this.log(`Adapting to level ${E} from level ${this.level}`),this.level=t.nextLoadLevel=E;const U=T.details;if(!U||this.state===Yr.WAITING_LEVEL||this.waitForLive(T)){this.level=E,this.state=Yr.WAITING_LEVEL,this.startFragRequested=!1;return}const ie=z.len,ce=this.getMaxBufferLength(T.maxBitrate);if(ie>=ce)return;this.backtrackFragment&&this.backtrackFragment.start>z.end&&(this.backtrackFragment=null);const xe=this.backtrackFragment?this.backtrackFragment.start:z.end;let Se=this.getNextFragment(xe,U);if(this.couldBacktrack&&!this.fragPrevious&&Se&&de(Se)&&this.fragmentTracker.getState(Se)!==xr.OK){var Re;const rt=((Re=this.backtrackFragment)!=null?Re:Se).sn-U.startSN,$t=U.fragments[rt-1];$t&&Se.cc===$t.cc&&(Se=$t,this.fragmentTracker.removeFragment($t))}else this.backtrackFragment&&z.len&&(this.backtrackFragment=null);if(Se&&this.isLoopLoading(Se,xe)){if(!Se.gap){const rt=this.audioOnly&&!this.altAudio?M.AUDIO:M.VIDEO,$t=(rt===M.VIDEO?this.videoBuffer:this.mediaBuffer)||this.media;$t&&this.afterBufferFlushed($t,rt,u.MAIN)}Se=this.getNextFragmentLoopLoading(Se,U,z,u.MAIN,ce)}Se&&(Se.initSegment&&!Se.initSegment.data&&!this.bitrateTest&&(Se=Se.initSegment),this.loadFragment(Se,T,xe))}loadFragment(t,n,s){const m=this.fragmentTracker.getState(t);m===xr.NOT_LOADED||m===xr.PARTIAL?de(t)?this.bitrateTest?(this.log(`Fragment ${t.sn} of level ${t.level} is being downloaded to test bitrate and will not be buffered`),this._loadBitrateTestFrag(t,n)):super.loadFragment(t,n,s):this._loadInitSegment(t,n):this.clearTrackerIfNeeded(t)}getBufferedFrag(t){return this.fragmentTracker.getBufferedFrag(t,u.MAIN)}followingBufferedFrag(t){return t?this.getBufferedFrag(t.end+.5):null}immediateLevelSwitch(){this.abortCurrentFrag(),this.flushMainBuffer(0,Number.POSITIVE_INFINITY)}nextLevelSwitch(){const{levels:t,media:n}=this;if(n!=null&&n.readyState){let s;const m=this.getAppendedFrag(n.currentTime);m&&m.start>1&&this.flushMainBuffer(0,m.start-1);const E=this.getLevelDetails();if(E!=null&&E.live){const z=this.getMainFwdBufferInfo();if(!z||z.len{const T=E.audioCodec;T&&(s=s||T.indexOf("mp4a.40.2")!==-1,m=m||T.indexOf("mp4a.40.5")!==-1)}),this.audioCodecSwitch=s&&m&&!Cf(),this.audioCodecSwitch&&this.log("Both AAC/HE-AAC audio found in levels; declaring level codec as HE-AAC"),this.levels=n.levels,this.startFragRequested=!1}onLevelLoading(t,n){const{levels:s}=this;if(!s||this.state!==Yr.IDLE)return;const m=n.levelInfo;(!m.details||m.details.live&&(this.levelLastLoaded!==m||m.details.expired)||this.waitForCdnTuneIn(m.details))&&(this.state=Yr.WAITING_LEVEL)}onLevelLoaded(t,n){var s;const{levels:m,startFragRequested:E}=this,T=n.level,z=n.details,G=z.totalduration;if(!m){this.warn(`Levels were reset while loading level ${T}`);return}this.log(`Level ${T} loaded [${z.startSN},${z.endSN}]${z.lastPartSn?`[part-${z.lastPartSn}-${z.lastPartIndex}]`:""}, cc [${z.startCC}, ${z.endCC}] duration:${G}`);const U=n.levelInfo,ie=this.fragCurrent;ie&&(this.state===Yr.FRAG_LOADING||this.state===Yr.FRAG_LOADING_WAITING_RETRY)&&ie.level!==n.level&&ie.loader&&this.abortCurrentFrag();let ce=0;if(z.live||(s=U.details)!=null&&s.live){var xe;if(this.checkLiveUpdate(z),z.deltaUpdateFailed)return;ce=this.alignPlaylists(z,U.details,(xe=this.levelLastLoaded)==null?void 0:xe.details)}if(U.details=z,this.levelLastLoaded=U,E||this.setStartPosition(z,ce),this.hls.trigger(o.LEVEL_UPDATED,{details:z,level:T}),this.state===Yr.WAITING_LEVEL){if(this.waitForCdnTuneIn(z))return;this.state=Yr.IDLE}E&&z.live&&this.synchronizeToLiveEdge(z),this.tick()}synchronizeToLiveEdge(t){const{config:n,media:s}=this;if(!s)return;const m=this.hls.liveSyncPosition,E=this.getLoadPosition(),T=t.fragmentStart,z=t.edge,G=E>=T-n.maxFragLookUpTolerance&&E<=z;if(m!==null&&s.duration>m&&(E{var T;(T=this.hls)==null||T.trigger(o.AUDIO_TRACK_SWITCHED,n)}),s.trigger(o.BUFFER_FLUSHING,{startOffset:0,endOffset:Number.POSITIVE_INFINITY,type:null});return}s.trigger(o.AUDIO_TRACK_SWITCHED,n)}}onAudioTrackSwitched(t,n){const s=Jn(n.url,this.hls);if(s){const m=this.videoBuffer;m&&this.mediaBuffer!==m&&(this.log("Switching on alternate audio, use video.buffered to schedule main fragment loading"),this.mediaBuffer=m)}this.altAudio=s?2:0,this.tick()}onBufferCreated(t,n){const s=n.tracks;let m,E,T=!1;for(const z in s){const G=s[z];if(G.id==="main"){if(E=z,m=G,z==="video"){const U=s[z];U&&(this.videoBuffer=U.buffer)}}else T=!0}T&&m?(this.log(`Alternate track found, use ${E}.buffered to schedule main fragment loading`),this.mediaBuffer=m.buffer):this.mediaBuffer=this.media}onFragBuffered(t,n){const{frag:s,part:m}=n,E=s.type===u.MAIN;if(E){if(this.fragContextChanged(s)){this.warn(`Fragment ${s.sn}${m?" p: "+m.index:""} of level ${s.level} finished buffering, but was aborted. state: ${this.state}`),this.state===Yr.PARSED&&(this.state=Yr.IDLE);return}const z=m?m.stats:s.stats;this.fragLastKbps=Math.round(8*z.total/(z.buffering.end-z.loading.first)),de(s)&&(this.fragPrevious=s),this.fragBufferedComplete(s,m)}const T=this.media;T&&(!this._hasEnoughToStart&&Vn.getBuffered(T).length&&(this._hasEnoughToStart=!0,this.seekToStartPos()),E&&this.tick())}get hasEnoughToStart(){return this._hasEnoughToStart}onError(t,n){var s;if(n.fatal){this.state=Yr.ERROR;return}switch(n.details){case f.FRAG_GAP:case f.FRAG_PARSING_ERROR:case f.FRAG_DECRYPT_ERROR:case f.FRAG_LOAD_ERROR:case f.FRAG_LOAD_TIMEOUT:case f.KEY_LOAD_ERROR:case f.KEY_LOAD_TIMEOUT:this.onFragmentOrKeyLoadError(u.MAIN,n);break;case f.LEVEL_LOAD_ERROR:case f.LEVEL_LOAD_TIMEOUT:case f.LEVEL_PARSING_ERROR:!n.levelRetry&&this.state===Yr.WAITING_LEVEL&&((s=n.context)==null?void 0:s.type)===h.LEVEL&&(this.state=Yr.IDLE);break;case f.BUFFER_ADD_CODEC_ERROR:case f.BUFFER_APPEND_ERROR:if(n.parent!=="main")return;this.resetLoadingState();break;case f.BUFFER_FULL_ERROR:if(n.parent!=="main")return;this.reduceLengthAndFlushBuffer(n)&&this.flushMainBuffer(0,Number.POSITIVE_INFINITY);break;case f.INTERNAL_EXCEPTION:this.recoverWorkerError(n);break}}onFragLoadEmergencyAborted(){this.state=Yr.IDLE,this._hasEnoughToStart||(this.startFragRequested=!1,this.nextLoadPosition=this.lastCurrentTime),this.tickImmediate()}onBufferFlushed(t,{type:n}){if(n!==M.AUDIO||!this.altAudio){const s=(n===M.VIDEO?this.videoBuffer:this.mediaBuffer)||this.media;s&&(this.afterBufferFlushed(s,n,u.MAIN),this.tick())}}onLevelsUpdated(t,n){this.level>-1&&this.fragCurrent&&(this.level=this.fragCurrent.level,this.level===-1&&this.resetWhenMissingContext(this.fragCurrent)),this.levels=n.levels}swapAudioCodec(){this.audioCodecSwap=!this.audioCodecSwap}seekToStartPos(){const{media:t}=this;if(!t)return;const n=t.currentTime;let s=this.startPosition;if(s>=0&&n0&&(G{const{hls:m}=this,E=s==null?void 0:s.frag;if(!E||this.fragContextChanged(E))return;n.fragmentError=0,this.state=Yr.IDLE,this.startFragRequested=!1,this.bitrateTest=!1;const T=E.stats;T.parsing.start=T.parsing.end=T.buffering.start=T.buffering.end=self.performance.now(),m.trigger(o.FRAG_LOADED,s),E.bitrateTest=!1})}_handleTransmuxComplete(t){var n;const s=this.playlistType,{hls:m}=this,{remuxResult:E,chunkMeta:T}=t,z=this.getCurrentContext(T);if(!z){this.resetWhenMissingContext(T);return}const{frag:G,part:U,level:ie}=z,{video:ce,text:xe,id3:Se,initSegment:Re}=E,{details:qe}=ie,rt=this.altAudio?void 0:E.audio;if(this.fragContextChanged(G)){this.fragmentTracker.removeFragment(G);return}if(this.state=Yr.PARSING,Re){if(Re!=null&&Re.tracks){const ir=G.initSegment||G;this._bufferInitSegment(ie,Re.tracks,ir,T),m.trigger(o.FRAG_PARSING_INIT_SEGMENT,{frag:ir,id:s,tracks:Re.tracks})}const $t=Re.initPTS,rr=Re.timescale;r($t)&&(this.initPTS[G.cc]={baseTime:$t,timescale:rr},m.trigger(o.INIT_PTS_FOUND,{frag:G,id:s,initPTS:$t,timescale:rr}))}if(ce&&qe){!rt&&ce.type==="audiovideo"&&this.logMuxedErr(G);const $t=qe.fragments[G.sn-1-qe.startSN],rr=G.sn===qe.startSN,ir=!$t||G.cc>$t.cc;if(E.independent!==!1){const{startPTS:$r,endPTS:Hr,startDTS:cn,endDTS:Wr}=ce;if(U)U.elementaryStreams[ce.type]={startPTS:$r,endPTS:Hr,startDTS:cn,endDTS:Wr};else if(ce.firstKeyFrame&&ce.independent&&T.id===1&&!ir&&(this.couldBacktrack=!0),ce.dropped&&ce.independent){const sn=this.getMainFwdBufferInfo(),hn=(sn?sn.end:this.getLoadPosition())+this.config.maxBufferHole,Kr=ce.firstKeyFramePTS?ce.firstKeyFramePTS:$r;if(!rr&&hnIo&&(G.gap=!0);G.setElementaryStreamInfo(ce.type,$r,Hr,cn,Wr),this.backtrackFragment&&(this.backtrackFragment=G),this.bufferFragmentData(ce,G,U,T,rr||ir)}else if(rr||ir)G.gap=!0;else{this.backtrack(G);return}}if(rt){const{startPTS:$t,endPTS:rr,startDTS:ir,endDTS:$r}=rt;U&&(U.elementaryStreams[M.AUDIO]={startPTS:$t,endPTS:rr,startDTS:ir,endDTS:$r}),G.setElementaryStreamInfo(M.AUDIO,$t,rr,ir,$r),this.bufferFragmentData(rt,G,U,T)}if(qe&&Se!=null&&(n=Se.samples)!=null&&n.length){const $t={id:s,frag:G,details:qe,samples:Se.samples};m.trigger(o.FRAG_PARSING_METADATA,$t)}if(qe&&xe){const $t={id:s,frag:G,details:qe,samples:xe.samples};m.trigger(o.FRAG_PARSING_USERDATA,$t)}}logMuxedErr(t){this.warn(`${de(t)?"Media":"Init"} segment with muxed audiovideo where only video expected: ${t.url}`)}_bufferInitSegment(t,n,s,m){if(this.state!==Yr.PARSING)return;this.audioOnly=!!n.audio&&!n.video,this.altAudio&&!this.audioOnly&&(delete n.audio,n.audiovideo&&this.logMuxedErr(s));const{audio:E,video:T,audiovideo:z}=n;if(E){let U=Qr(E.codec,t.audioCodec);U==="mp4a"&&(U="mp4a.40.5");const ie=navigator.userAgent.toLowerCase();if(this.audioCodecSwitch){U&&(U.indexOf("mp4a.40.5")!==-1?U="mp4a.40.2":U="mp4a.40.5");const ce=E.metadata;ce&&"channelCount"in ce&&(ce.channelCount||1)!==1&&ie.indexOf("firefox")===-1&&(U="mp4a.40.5")}U&&U.indexOf("mp4a.40.5")!==-1&&ie.indexOf("android")!==-1&&E.container!=="audio/mpeg"&&(U="mp4a.40.2",this.log(`Android: force audio codec to ${U}`)),t.audioCodec&&t.audioCodec!==U&&this.log(`Swapping manifest audio codec "${t.audioCodec}" for "${U}"`),E.levelCodec=U,E.id=u.MAIN,this.log(`Init audio buffer, container:${E.container}, codecs[selected/level/parsed]=[${U||""}/${t.audioCodec||""}/${E.codec}]`),delete n.audiovideo}if(T){T.levelCodec=t.videoCodec,T.id=u.MAIN;const U=T.codec;if((U==null?void 0:U.length)===4)switch(U){case"hvc1":case"hev1":T.codec="hvc1.1.6.L120.90";break;case"av01":T.codec="av01.0.04M.08";break;case"avc1":T.codec="avc1.42e01e";break}this.log(`Init video buffer, container:${T.container}, codecs[level/parsed]=[${t.videoCodec||""}/${U}]${T.codec!==U?" parsed-corrected="+T.codec:""}${T.supplemental?" supplemental="+T.supplemental:""}`),delete n.audiovideo}z&&(this.log(`Init audiovideo buffer, container:${z.container}, codecs[level/parsed]=[${t.codecs}/${z.codec}]`),delete n.video,delete n.audio);const G=Object.keys(n);if(G.length){if(this.hls.trigger(o.BUFFER_CODECS,n),!this.hls)return;G.forEach(U=>{const ce=n[U].initSegment;ce!=null&&ce.byteLength&&this.hls.trigger(o.BUFFER_APPENDING,{type:U,data:ce,frag:s,part:null,chunkMeta:m,parent:s.type})})}this.tickImmediate()}getMainFwdBufferInfo(){const t=this.mediaBuffer&&this.altAudio===2?this.mediaBuffer:this.media;return this.getFwdBufferInfo(t,u.MAIN)}get maxBufferLength(){const{levels:t,level:n}=this,s=t==null?void 0:t[n];return s?this.getMaxBufferLength(s.maxBitrate):this.config.maxBufferLength}backtrack(t){this.couldBacktrack=!0,this.backtrackFragment=t,this.resetTransmuxer(),this.flushBufferGap(t),this.fragmentTracker.removeFragment(t),this.fragPrevious=null,this.nextLoadPosition=t.start,this.state=Yr.IDLE}checkFragmentChanged(){const t=this.media;let n=null;if(t&&t.readyState>1&&t.seeking===!1){const s=t.currentTime;if(Vn.isBuffered(t,s)?n=this.getAppendedFrag(s):Vn.isBuffered(t,s+.1)&&(n=this.getAppendedFrag(s+.1)),n){this.backtrackFragment=null;const m=this.fragPlaying,E=n.level;(!m||n.sn!==m.sn||m.level!==E)&&(this.fragPlaying=n,this.hls.trigger(o.FRAG_CHANGED,{frag:n}),(!m||m.level!==E)&&this.hls.trigger(o.LEVEL_SWITCHED,{level:E}))}}}get nextLevel(){const t=this.nextBufferedFrag;return t?t.level:-1}get currentFrag(){var t;if(this.fragPlaying)return this.fragPlaying;const n=((t=this.media)==null?void 0:t.currentTime)||this.lastCurrentTime;return r(n)?this.getAppendedFrag(n):null}get currentProgramDateTime(){var t;const n=((t=this.media)==null?void 0:t.currentTime)||this.lastCurrentTime;if(r(n)){const s=this.getLevelDetails(),m=this.currentFrag||(s?En(null,s.fragments,n):null);if(m){const E=m.programDateTime;if(E!==null){const T=E+(n-m.start)*1e3;return new Date(T)}}}return null}get currentLevel(){const t=this.currentFrag;return t?t.level:-1}get nextBufferedFrag(){const t=this.currentFrag;return t?this.followingBufferedFrag(t):null}get forceStartLoad(){return this._forceStartLoad}}class Z{constructor(t){this.config=void 0,this.keyUriToKeyInfo={},this.emeController=null,this.config=t}abort(t){for(const s in this.keyUriToKeyInfo){const m=this.keyUriToKeyInfo[s].loader;if(m){var n;if(t&&t!==((n=m.context)==null?void 0:n.frag.type))return;m.abort()}}}detach(){for(const t in this.keyUriToKeyInfo){const n=this.keyUriToKeyInfo[t];(n.mediaKeySessionContext||n.decryptdata.isCommonEncryption)&&delete this.keyUriToKeyInfo[t]}}destroy(){this.detach();for(const t in this.keyUriToKeyInfo){const n=this.keyUriToKeyInfo[t].loader;n&&n.destroy()}this.keyUriToKeyInfo={}}createKeyLoadError(t,n=f.KEY_LOAD_ERROR,s,m,E){return new ua({type:c.NETWORK_ERROR,details:n,fatal:!1,frag:t,response:E,error:s,networkDetails:m})}loadClear(t,n){if(this.emeController&&this.config.emeEnabled){const{sn:s,cc:m}=t;for(let E=0;E{T.setKeyFormat(z)});break}}}}load(t){return!t.decryptdata&&t.encrypted&&this.emeController&&this.config.emeEnabled?this.emeController.selectKeySystemFormat(t).then(n=>this.loadInternal(t,n)):this.loadInternal(t)}loadInternal(t,n){var s,m;n&&t.setKeyFormat(n);const E=t.decryptdata;if(!E){const U=new Error(n?`Expected frag.decryptdata to be defined after setting format ${n}`:"Missing decryption data on fragment in onKeyLoading");return Promise.reject(this.createKeyLoadError(t,f.KEY_LOAD_ERROR,U))}const T=E.uri;if(!T)return Promise.reject(this.createKeyLoadError(t,f.KEY_LOAD_ERROR,new Error(`Invalid key URI: "${T}"`)));let z=this.keyUriToKeyInfo[T];if((s=z)!=null&&s.decryptdata.key)return E.key=z.decryptdata.key,Promise.resolve({frag:t,keyInfo:z});if((m=z)!=null&&m.keyLoadPromise){var G;switch((G=z.mediaKeySessionContext)==null?void 0:G.keyStatus){case void 0:case"status-pending":case"usable":case"usable-in-future":return z.keyLoadPromise.then(U=>(E.key=U.keyInfo.decryptdata.key,{frag:t,keyInfo:z}))}}switch(z=this.keyUriToKeyInfo[T]={decryptdata:E,keyLoadPromise:null,loader:null,mediaKeySessionContext:null},E.method){case"ISO-23001-7":case"SAMPLE-AES":case"SAMPLE-AES-CENC":case"SAMPLE-AES-CTR":return E.keyFormat==="identity"?this.loadKeyHTTP(z,t):this.loadKeyEME(z,t);case"AES-128":case"AES-256":case"AES-256-CTR":return this.loadKeyHTTP(z,t);default:return Promise.reject(this.createKeyLoadError(t,f.KEY_LOAD_ERROR,new Error(`Key supplied with unsupported METHOD: "${E.method}"`)))}}loadKeyEME(t,n){const s={frag:n,keyInfo:t};if(this.emeController&&this.config.emeEnabled){const m=this.emeController.loadKey(s);if(m)return(t.keyLoadPromise=m.then(E=>(t.mediaKeySessionContext=E,s))).catch(E=>{throw t.keyLoadPromise=null,E})}return Promise.resolve(s)}loadKeyHTTP(t,n){const s=this.config,m=s.loader,E=new m(s);return n.keyLoader=t.loader=E,t.keyLoadPromise=new Promise((T,z)=>{const G={keyInfo:t,frag:n,responseType:"arraybuffer",url:t.decryptdata.uri},U=s.keyLoadPolicy.default,ie={loadPolicy:U,timeout:U.maxLoadTimeMs,maxRetry:0,retryDelay:0,maxRetryDelay:0},ce={onSuccess:(xe,Se,Re,qe)=>{const{frag:rt,keyInfo:$t,url:rr}=Re;if(!rt.decryptdata||$t!==this.keyUriToKeyInfo[rr])return z(this.createKeyLoadError(rt,f.KEY_LOAD_ERROR,new Error("after key load, decryptdata unset or changed"),qe));$t.decryptdata.key=rt.decryptdata.key=new Uint8Array(xe.data),rt.keyLoader=null,$t.loader=null,T({frag:rt,keyInfo:$t})},onError:(xe,Se,Re,qe)=>{this.resetLoader(Se),z(this.createKeyLoadError(n,f.KEY_LOAD_ERROR,new Error(`HTTP Error ${xe.code} loading key ${xe.text}`),Re,b({url:G.url,data:void 0},xe)))},onTimeout:(xe,Se,Re)=>{this.resetLoader(Se),z(this.createKeyLoadError(n,f.KEY_LOAD_TIMEOUT,new Error("key loading timed out"),Re))},onAbort:(xe,Se,Re)=>{this.resetLoader(Se),z(this.createKeyLoadError(n,f.INTERNAL_ABORTED,new Error("key loading aborted"),Re))}};E.load(G,ie,ce)})}resetLoader(t){const{frag:n,keyInfo:s,url:m}=t,E=s.loader;n.keyLoader===E&&(n.keyLoader=null,s.loader=null),delete this.keyUriToKeyInfo[m],E&&E.destroy()}}function ve(A){const{type:t}=A;switch(t){case h.AUDIO_TRACK:return u.AUDIO;case h.SUBTITLE_TRACK:return u.SUBTITLE;default:return u.MAIN}}function Le(A,t){let n=A.url;return(n===void 0||n.indexOf("data:")===0)&&(n=t.url),n}class lt{constructor(t){this.hls=void 0,this.loaders=Object.create(null),this.variableList=null,this.onManifestLoaded=this.checkAutostartLoad,this.hls=t,this.registerListeners()}startLoad(t){}stopLoad(){this.destroyInternalLoaders()}registerListeners(){const{hls:t}=this;t.on(o.MANIFEST_LOADING,this.onManifestLoading,this),t.on(o.LEVEL_LOADING,this.onLevelLoading,this),t.on(o.AUDIO_TRACK_LOADING,this.onAudioTrackLoading,this),t.on(o.SUBTITLE_TRACK_LOADING,this.onSubtitleTrackLoading,this),t.on(o.LEVELS_UPDATED,this.onLevelsUpdated,this)}unregisterListeners(){const{hls:t}=this;t.off(o.MANIFEST_LOADING,this.onManifestLoading,this),t.off(o.LEVEL_LOADING,this.onLevelLoading,this),t.off(o.AUDIO_TRACK_LOADING,this.onAudioTrackLoading,this),t.off(o.SUBTITLE_TRACK_LOADING,this.onSubtitleTrackLoading,this),t.off(o.LEVELS_UPDATED,this.onLevelsUpdated,this)}createInternalLoader(t){const n=this.hls.config,s=n.pLoader,m=n.loader,E=s||m,T=new E(n);return this.loaders[t.type]=T,T}getInternalLoader(t){return this.loaders[t.type]}resetInternalLoader(t){this.loaders[t]&&delete this.loaders[t]}destroyInternalLoaders(){for(const t in this.loaders){const n=this.loaders[t];n&&n.destroy(),this.resetInternalLoader(t)}}destroy(){this.variableList=null,this.unregisterListeners(),this.destroyInternalLoaders()}onManifestLoading(t,n){const{url:s}=n;this.variableList=null,this.load({id:null,level:0,responseType:"text",type:h.MANIFEST,url:s,deliveryDirectives:null,levelOrTrack:null})}onLevelLoading(t,n){const{id:s,level:m,pathwayId:E,url:T,deliveryDirectives:z,levelInfo:G}=n;this.load({id:s,level:m,pathwayId:E,responseType:"text",type:h.LEVEL,url:T,deliveryDirectives:z,levelOrTrack:G})}onAudioTrackLoading(t,n){const{id:s,groupId:m,url:E,deliveryDirectives:T,track:z}=n;this.load({id:s,groupId:m,level:null,responseType:"text",type:h.AUDIO_TRACK,url:E,deliveryDirectives:T,levelOrTrack:z})}onSubtitleTrackLoading(t,n){const{id:s,groupId:m,url:E,deliveryDirectives:T,track:z}=n;this.load({id:s,groupId:m,level:null,responseType:"text",type:h.SUBTITLE_TRACK,url:E,deliveryDirectives:T,levelOrTrack:z})}onLevelsUpdated(t,n){const s=this.loaders[h.LEVEL];if(s){const m=s.context;m&&!n.levels.some(E=>E===m.levelOrTrack)&&(s.abort(),delete this.loaders[h.LEVEL])}}load(t){var n;const s=this.hls.config;let m=this.getInternalLoader(t);if(m){const U=this.hls.logger,ie=m.context;if(ie&&ie.levelOrTrack===t.levelOrTrack&&(ie.url===t.url||ie.deliveryDirectives&&!t.deliveryDirectives)){ie.url===t.url?U.log(`[playlist-loader]: ignore ${t.url} ongoing request`):U.log(`[playlist-loader]: ignore ${t.url} in favor of ${ie.url}`);return}U.log(`[playlist-loader]: aborting previous loader for type: ${t.type}`),m.abort()}let E;if(t.type===h.MANIFEST?E=s.manifestLoadPolicy.default:E=y({},s.playlistLoadPolicy.default,{timeoutRetry:null,errorRetry:null}),m=this.createInternalLoader(t),r((n=t.deliveryDirectives)==null?void 0:n.part)){let U;if(t.type===h.LEVEL&&t.level!==null?U=this.hls.levels[t.level].details:t.type===h.AUDIO_TRACK&&t.id!==null?U=this.hls.audioTracks[t.id].details:t.type===h.SUBTITLE_TRACK&&t.id!==null&&(U=this.hls.subtitleTracks[t.id].details),U){const ie=U.partTarget,ce=U.targetduration;if(ie&&ce){const xe=Math.max(ie*3,ce*.8)*1e3;E=y({},E,{maxTimeToFirstByteMs:Math.min(xe,E.maxTimeToFirstByteMs),maxLoadTimeMs:Math.min(xe,E.maxTimeToFirstByteMs)})}}}const T=E.errorRetry||E.timeoutRetry||{},z={loadPolicy:E,timeout:E.maxLoadTimeMs,maxRetry:T.maxNumRetry||0,retryDelay:T.retryDelayMs||0,maxRetryDelay:T.maxRetryDelayMs||0},G={onSuccess:(U,ie,ce,xe)=>{const Se=this.getInternalLoader(ce);this.resetInternalLoader(ce.type);const Re=U.data;if(Re.indexOf("#EXTM3U")!==0){this.handleManifestParsingError(U,ce,new Error("no EXTM3U delimiter"),xe||null,ie);return}ie.parsing.start=performance.now(),vs.isMediaPlaylist(Re)||ce.type!==h.MANIFEST?this.handleTrackOrLevelPlaylist(U,ie,ce,xe||null,Se):this.handleMasterPlaylist(U,ie,ce,xe)},onError:(U,ie,ce,xe)=>{this.handleNetworkError(ie,ce,!1,U,xe)},onTimeout:(U,ie,ce)=>{this.handleNetworkError(ie,ce,!0,void 0,U)}};m.load(t,z,G)}checkAutostartLoad(){if(!this.hls)return;const{config:{autoStartLoad:t,startPosition:n},forceStartLoad:s}=this.hls;(t||s)&&(this.hls.logger.log(`${t?"auto":"force"} startLoad with configured startPosition ${n}`),this.hls.startLoad(n))}handleMasterPlaylist(t,n,s,m){const E=this.hls,T=t.data,z=Le(t,s),G=vs.parseMasterPlaylist(T,z);if(G.playlistParsingError){this.handleManifestParsingError(t,s,G.playlistParsingError,m,n);return}const{contentSteering:U,levels:ie,sessionData:ce,sessionKeys:xe,startTimeOffset:Se,variableList:Re}=G;this.variableList=Re;const{AUDIO:qe=[],SUBTITLES:rt,"CLOSED-CAPTIONS":$t}=vs.parseMasterPlaylistMedia(T,z,G);qe.length&&!qe.some(ir=>!ir.url)&&ie[0].audioCodec&&!ie[0].attrs.AUDIO&&(this.hls.logger.log("[playlist-loader]: audio codec signaled in quality level, but no embedded audio track signaled, create one"),qe.unshift({type:"main",name:"main",groupId:"main",default:!1,autoselect:!1,forced:!1,id:-1,attrs:new ra({}),bitrate:0,url:""})),E.trigger(o.MANIFEST_LOADED,{levels:ie,audioTracks:qe,subtitles:rt,captions:$t,contentSteering:U,url:z,stats:n,networkDetails:m,sessionData:ce,sessionKeys:xe,startTimeOffset:Se,variableList:Re})}handleTrackOrLevelPlaylist(t,n,s,m,E){const T=this.hls,{id:z,level:G,type:U}=s,ie=Le(t,s),ce=r(G)?G:r(z)?z:0,xe=ve(s),Se=vs.parseLevelPlaylist(t.data,ie,ce,xe,0,this.variableList);if(U===h.MANIFEST){const Re={attrs:new ra({}),bitrate:0,details:Se,name:"",url:ie};Se.requestScheduled=n.loading.start+Kn(Se,0),T.trigger(o.MANIFEST_LOADED,{levels:[Re],audioTracks:[],url:ie,stats:n,networkDetails:m,sessionData:null,sessionKeys:null,contentSteering:null,startTimeOffset:null,variableList:null})}n.parsing.end=performance.now(),s.levelDetails=Se,this.handlePlaylistLoaded(Se,t,n,s,m,E)}handleManifestParsingError(t,n,s,m,E){this.hls.trigger(o.ERROR,{type:c.NETWORK_ERROR,details:f.MANIFEST_PARSING_ERROR,fatal:n.type===h.MANIFEST,url:t.url,err:s,error:s,reason:s.message,response:t,context:n,networkDetails:m,stats:E})}handleNetworkError(t,n,s=!1,m,E){let T=`A network ${s?"timeout":"error"+(m?" (status "+m.code+")":"")} occurred while loading ${t.type}`;t.type===h.LEVEL?T+=`: ${t.level} id: ${t.id}`:(t.type===h.AUDIO_TRACK||t.type===h.SUBTITLE_TRACK)&&(T+=` id: ${t.id} group-id: "${t.groupId}"`);const z=new Error(T);this.hls.logger.warn(`[playlist-loader]: ${T}`);let G=f.UNKNOWN,U=!1;const ie=this.getInternalLoader(t);switch(t.type){case h.MANIFEST:G=s?f.MANIFEST_LOAD_TIMEOUT:f.MANIFEST_LOAD_ERROR,U=!0;break;case h.LEVEL:G=s?f.LEVEL_LOAD_TIMEOUT:f.LEVEL_LOAD_ERROR,U=!1;break;case h.AUDIO_TRACK:G=s?f.AUDIO_TRACK_LOAD_TIMEOUT:f.AUDIO_TRACK_LOAD_ERROR,U=!1;break;case h.SUBTITLE_TRACK:G=s?f.SUBTITLE_TRACK_LOAD_TIMEOUT:f.SUBTITLE_LOAD_ERROR,U=!1;break}ie&&this.resetInternalLoader(t.type);const ce={type:c.NETWORK_ERROR,details:G,fatal:U,url:t.url,loader:ie,context:t,error:z,networkDetails:n,stats:E};if(m){const xe=(n==null?void 0:n.url)||t.url;ce.response=b({url:xe,data:void 0},m)}this.hls.trigger(o.ERROR,ce)}handlePlaylistLoaded(t,n,s,m,E,T){const z=this.hls,{type:G,level:U,id:ie,groupId:ce,deliveryDirectives:xe}=m,Se=Le(n,m),Re=ve(m),qe=typeof m.level=="number"&&Re===u.MAIN?U:void 0;if(!t.fragments.length){const $t=t.playlistParsingError=new Error("No Segments found in Playlist");z.trigger(o.ERROR,{type:c.NETWORK_ERROR,details:f.LEVEL_EMPTY_ERROR,fatal:!1,url:Se,error:$t,reason:$t.message,response:n,context:m,level:qe,parent:Re,networkDetails:E,stats:s});return}t.targetduration||(t.playlistParsingError=new Error("Missing Target Duration"));const rt=t.playlistParsingError;if(rt){if(this.hls.logger.warn(rt),!z.config.ignorePlaylistParsingErrors){z.trigger(o.ERROR,{type:c.NETWORK_ERROR,details:f.LEVEL_PARSING_ERROR,fatal:!1,url:Se,error:rt,reason:rt.message,response:n,context:m,level:qe,parent:Re,networkDetails:E,stats:s});return}t.playlistParsingError=null}switch(t.live&&T&&(T.getCacheAge&&(t.ageHeader=T.getCacheAge()||0),(!T.getCacheAge||isNaN(t.ageHeader))&&(t.ageHeader=0)),G){case h.MANIFEST:case h.LEVEL:z.trigger(o.LEVEL_LOADED,{details:t,levelInfo:m.levelOrTrack||z.levels[0],level:qe||0,id:ie||0,stats:s,networkDetails:E,deliveryDirectives:xe,withoutMultiVariant:G===h.MANIFEST});break;case h.AUDIO_TRACK:z.trigger(o.AUDIO_TRACK_LOADED,{details:t,track:m.levelOrTrack,id:ie||0,groupId:ce||"",stats:s,networkDetails:E,deliveryDirectives:xe});break;case h.SUBTITLE_TRACK:z.trigger(o.SUBTITLE_TRACK_LOADED,{details:t,track:m.levelOrTrack,id:ie||0,groupId:ce||"",stats:s,networkDetails:E,deliveryDirectives:xe});break}}}class Bt{static get version(){return gs}static isMSESupported(){return tf()}static isSupported(){return Zf()}static getMediaSource(){return oe()}static get Events(){return o}static get MetadataSchema(){return ye}static get ErrorTypes(){return c}static get ErrorDetails(){return f}static get DefaultConfig(){return Bt.defaultConfig?Bt.defaultConfig:Ho}static set DefaultConfig(t){Bt.defaultConfig=t}constructor(t={}){this.config=void 0,this.userConfig=void 0,this.logger=void 0,this.coreComponents=void 0,this.networkControllers=void 0,this._emitter=new Ya,this._autoLevelCapping=-1,this._maxHdcpLevel=null,this.abrController=void 0,this.bufferController=void 0,this.capLevelController=void 0,this.latencyController=void 0,this.levelController=void 0,this.streamController=void 0,this.audioStreamController=void 0,this.subtititleStreamController=void 0,this.audioTrackController=void 0,this.subtitleTrackController=void 0,this.interstitialsController=void 0,this.gapController=void 0,this.emeController=void 0,this.cmcdController=void 0,this._media=null,this._url=null,this._sessionId=void 0,this.triggeringException=void 0,this.started=!1;const n=this.logger=V(t.debug||!1,"Hls instance",t.assetPlayerId),s=this.config=hf(Bt.DefaultConfig,t,n);this.userConfig=t,s.progressive&&xc(s,n);const{abrController:m,bufferController:E,capLevelController:T,errorController:z,fpsController:G}=s,U=new z(this),ie=this.abrController=new m(this),ce=new Dr(this),xe=s.interstitialsController,Se=xe?this.interstitialsController=new xe(this,Bt):null,Re=this.bufferController=new E(this,ce),qe=this.capLevelController=new T(this),rt=new G(this),$t=new lt(this),rr=s.contentSteeringController,ir=rr?new rr(this):null,$r=this.levelController=new Af(this,ir),Hr=new mf(this),cn=new Z(this.config),Wr=this.streamController=new C(this,ce,cn),sn=this.gapController=new Fc(this,ce);qe.setStreamController(Wr),rt.setStreamController(Wr);const hn=[$t,$r,Wr];Se&&hn.splice(1,0,Se),ir&&hn.splice(1,0,ir),this.networkControllers=hn;const Kr=[ie,Re,sn,qe,rt,Hr,ce];this.audioTrackController=this.createController(s.audioTrackController,hn);const Yn=s.audioStreamController;Yn&&hn.push(this.audioStreamController=new Yn(this,ce,cn)),this.subtitleTrackController=this.createController(s.subtitleTrackController,hn);const fi=s.subtitleStreamController;fi&&hn.push(this.subtititleStreamController=new fi(this,ce,cn)),this.createController(s.timelineController,Kr),cn.emeController=this.emeController=this.createController(s.emeController,Kr),this.cmcdController=this.createController(s.cmcdController,Kr),this.latencyController=this.createController(zf,Kr),this.coreComponents=Kr,hn.push(U);const rs=U.onErrorOut;typeof rs=="function"&&this.on(o.ERROR,rs,U),this.on(o.MANIFEST_LOADED,$t.onManifestLoaded,$t)}createController(t,n){if(t){const s=new t(this);return n&&n.push(s),s}return null}on(t,n,s=this){this._emitter.on(t,n,s)}once(t,n,s=this){this._emitter.once(t,n,s)}removeAllListeners(t){this._emitter.removeAllListeners(t)}off(t,n,s=this,m){this._emitter.off(t,n,s,m)}listeners(t){return this._emitter.listeners(t)}emit(t,n,s){return this._emitter.emit(t,n,s)}trigger(t,n){if(this.config.debug)return this.emit(t,t,n);try{return this.emit(t,t,n)}catch(s){if(this.logger.error("An internal error happened while handling event "+t+'. Error message: "'+s.message+'". Here is a stacktrace:',s),!this.triggeringException){this.triggeringException=!0;const m=t===o.ERROR;this.trigger(o.ERROR,{type:c.OTHER_ERROR,details:f.INTERNAL_EXCEPTION,fatal:m,event:t,error:s}),this.triggeringException=!1}}return!1}listenerCount(t){return this._emitter.listenerCount(t)}destroy(){this.logger.log("destroy"),this.trigger(o.DESTROYING,void 0),this.detachMedia(),this.removeAllListeners(),this._autoLevelCapping=-1,this._url=null,this.networkControllers.forEach(n=>n.destroy()),this.networkControllers.length=0,this.coreComponents.forEach(n=>n.destroy()),this.coreComponents.length=0;const t=this.config;t.xhrSetup=t.fetchSetup=void 0,this.userConfig=null}attachMedia(t){if(!t||"media"in t&&!t.media){const E=new Error(`attachMedia failed: invalid argument (${t})`);this.trigger(o.ERROR,{type:c.OTHER_ERROR,details:f.ATTACH_MEDIA_ERROR,fatal:!0,error:E});return}this.logger.log("attachMedia"),this._media&&(this.logger.warn("media must be detached before attaching"),this.detachMedia());const n="media"in t,s=n?t.media:t,m=n?t:{media:s};this._media=s,this.trigger(o.MEDIA_ATTACHING,m)}detachMedia(){this.logger.log("detachMedia"),this.trigger(o.MEDIA_DETACHING,{}),this._media=null}transferMedia(){this._media=null;const t=this.bufferController.transferMedia();return this.trigger(o.MEDIA_DETACHING,{transferMedia:t}),t}loadSource(t){this.stopLoad();const n=this.media,s=this._url,m=this._url=ae.buildAbsoluteURL(self.location.href,t,{alwaysNormalize:!0});this._autoLevelCapping=-1,this._maxHdcpLevel=null,this.logger.log(`loadSource:${m}`),n&&s&&(s!==m||this.bufferController.hasSourceTypes())&&(this.detachMedia(),this.attachMedia(n)),this.trigger(o.MANIFEST_LOADING,{url:t})}get url(){return this._url}get hasEnoughToStart(){return this.streamController.hasEnoughToStart}get startPosition(){return this.streamController.startPositionValue}startLoad(t=-1,n){this.logger.log(`startLoad(${t+(n?", ":"")})`),this.started=!0,this.resumeBuffering();for(let s=0;s{t.resumeBuffering&&t.resumeBuffering()}))}pauseBuffering(){this.bufferingEnabled&&(this.logger.log("pause buffering"),this.networkControllers.forEach(t=>{t.pauseBuffering&&t.pauseBuffering()}))}get inFlightFragments(){const t={[u.MAIN]:this.streamController.inFlightFrag};return this.audioStreamController&&(t[u.AUDIO]=this.audioStreamController.inFlightFrag),this.subtititleStreamController&&(t[u.SUBTITLE]=this.subtititleStreamController.inFlightFrag),t}swapAudioCodec(){this.logger.log("swapAudioCodec"),this.streamController.swapAudioCodec()}recoverMediaError(){this.logger.log("recoverMediaError");const t=this._media,n=t==null?void 0:t.currentTime;this.detachMedia(),t&&(this.attachMedia(t),n&&this.startLoad(n))}removeLevel(t){this.levelController.removeLevel(t)}get sessionId(){let t=this._sessionId;return t||(t=this._sessionId=qi()),t}get levels(){const t=this.levelController.levels;return t||[]}get latestLevelDetails(){return this.streamController.getLevelDetails()||null}get loadLevelObj(){return this.levelController.loadLevelObj}get currentLevel(){return this.streamController.currentLevel}set currentLevel(t){this.logger.log(`set currentLevel:${t}`),this.levelController.manualLevel=t,this.streamController.immediateLevelSwitch()}get nextLevel(){return this.streamController.nextLevel}set nextLevel(t){this.logger.log(`set nextLevel:${t}`),this.levelController.manualLevel=t,this.streamController.nextLevelSwitch()}get loadLevel(){return this.levelController.level}set loadLevel(t){this.logger.log(`set loadLevel:${t}`),this.levelController.manualLevel=t}get nextLoadLevel(){return this.levelController.nextLoadLevel}set nextLoadLevel(t){this.levelController.nextLoadLevel=t}get firstLevel(){return Math.max(this.levelController.firstLevel,this.minAutoLevel)}set firstLevel(t){this.logger.log(`set firstLevel:${t}`),this.levelController.firstLevel=t}get startLevel(){const t=this.levelController.startLevel;return t===-1&&this.abrController.forcedAutoLevel>-1?this.abrController.forcedAutoLevel:t}set startLevel(t){this.logger.log(`set startLevel:${t}`),t!==-1&&(t=Math.max(t,this.minAutoLevel)),this.levelController.startLevel=t}get capLevelToPlayerSize(){return this.config.capLevelToPlayerSize}set capLevelToPlayerSize(t){const n=!!t;n!==this.config.capLevelToPlayerSize&&(n?this.capLevelController.startCapping():(this.capLevelController.stopCapping(),this.autoLevelCapping=-1,this.streamController.nextLevelSwitch()),this.config.capLevelToPlayerSize=n)}get autoLevelCapping(){return this._autoLevelCapping}get bandwidthEstimate(){const{bwEstimator:t}=this.abrController;return t?t.getEstimate():NaN}set bandwidthEstimate(t){this.abrController.resetEstimator(t)}get abrEwmaDefaultEstimate(){const{bwEstimator:t}=this.abrController;return t?t.defaultEstimate:NaN}get ttfbEstimate(){const{bwEstimator:t}=this.abrController;return t?t.getEstimateTTFB():NaN}set autoLevelCapping(t){this._autoLevelCapping!==t&&(this.logger.log(`set autoLevelCapping:${t}`),this._autoLevelCapping=t,this.levelController.checkMaxAutoUpdated())}get maxHdcpLevel(){return this._maxHdcpLevel}set maxHdcpLevel(t){Cr(t)&&this._maxHdcpLevel!==t&&(this._maxHdcpLevel=t,this.levelController.checkMaxAutoUpdated())}get autoLevelEnabled(){return this.levelController.manualLevel===-1}get manualLevel(){return this.levelController.manualLevel}get minAutoLevel(){const{levels:t,config:{minAutoBitrate:n}}=this;if(!t)return 0;const s=t.length;for(let m=0;m=n)return m;return 0}get maxAutoLevel(){const{levels:t,autoLevelCapping:n,maxHdcpLevel:s}=this;let m;if(n===-1&&t!=null&&t.length?m=t.length-1:m=n,s)for(let E=m;E--;){const T=t[E].attrs["HDCP-LEVEL"];if(T&&T<=s)return E}return m}get firstAutoLevel(){return this.abrController.firstAutoLevel}get nextAutoLevel(){return this.abrController.nextAutoLevel}set nextAutoLevel(t){this.abrController.nextAutoLevel=t}get playingDate(){return this.streamController.currentProgramDateTime}get mainForwardBufferInfo(){return this.streamController.getMainFwdBufferInfo()}get maxBufferLength(){return this.streamController.maxBufferLength}setAudioOption(t){var n;return((n=this.audioTrackController)==null?void 0:n.setAudioOption(t))||null}setSubtitleOption(t){var n;return((n=this.subtitleTrackController)==null?void 0:n.setSubtitleOption(t))||null}get allAudioTracks(){const t=this.audioTrackController;return t?t.allAudioTracks:[]}get audioTracks(){const t=this.audioTrackController;return t?t.audioTracks:[]}get audioTrack(){const t=this.audioTrackController;return t?t.audioTrack:-1}set audioTrack(t){const n=this.audioTrackController;n&&(n.audioTrack=t)}get allSubtitleTracks(){const t=this.subtitleTrackController;return t?t.allSubtitleTracks:[]}get subtitleTracks(){const t=this.subtitleTrackController;return t?t.subtitleTracks:[]}get subtitleTrack(){const t=this.subtitleTrackController;return t?t.subtitleTrack:-1}get media(){return this._media}set subtitleTrack(t){const n=this.subtitleTrackController;n&&(n.subtitleTrack=t)}get subtitleDisplay(){const t=this.subtitleTrackController;return t?t.subtitleDisplay:!1}set subtitleDisplay(t){const n=this.subtitleTrackController;n&&(n.subtitleDisplay=t)}get lowLatencyMode(){return this.config.lowLatencyMode}set lowLatencyMode(t){this.config.lowLatencyMode=t}get liveSyncPosition(){return this.latencyController.liveSyncPosition}get latency(){return this.latencyController.latency}get maxLatency(){return this.latencyController.maxLatency}get targetLatency(){return this.latencyController.targetLatency}set targetLatency(t){this.latencyController.targetLatency=t}get drift(){return this.latencyController.drift}get forceStartLoad(){return this.streamController.forceStartLoad}get pathways(){return this.levelController.pathways}get pathwayPriority(){return this.levelController.pathwayPriority}set pathwayPriority(t){this.levelController.pathwayPriority=t}get bufferedToEnd(){var t;return!!((t=this.bufferController)!=null&&t.bufferedToEnd)}get interstitialsManager(){var t;return((t=this.interstitialsController)==null?void 0:t.interstitialsManager)||null}getMediaDecodingInfo(t,n=this.allAudioTracks){const s=xi(n);return vt(t,s,navigator.mediaCapabilities)}}Bt.defaultConfig=void 0},53280:function(d,g,e){"use strict";e.d(g,{D:function(){return i}});function r(l,c,f){var o=f||{},h=o.noTrailing,u=h===void 0?!1:h,a=o.noLeading,x=a===void 0?!1:a,p=o.debounceMode,y=p===void 0?void 0:p,_,b=!1,S=0;function R(){_&&clearTimeout(_)}function L(D){var B=D||{},$=B.upcomingOnly,j=$===void 0?!1:$;R(),b=!j}function P(){for(var D=arguments.length,B=new Array(D),$=0;$l?x?(S=Date.now(),u||(_=setTimeout(y?W:V,l))):V():u!==!0&&(_=setTimeout(y?W:V,y===void 0?l-K:l))}return P.cancel=L,P}function i(l,c,f){var o=f||{},h=o.atBegin,u=h===void 0?!1:h;return r(l,c,{debounceMode:u!==!1})}}},__webpack_module_cache__={};function __webpack_require__(d){var g=__webpack_module_cache__[d];if(g!==void 0)return g.exports;var e=__webpack_module_cache__[d]={id:d,loaded:!1,exports:{}};return __webpack_modules__[d].call(e.exports,e,e.exports,__webpack_require__),e.loaded=!0,e.exports}__webpack_require__.m=__webpack_modules__,function(){__webpack_require__.amdO={}}(),function(){__webpack_require__.n=function(d){var g=d&&d.__esModule?function(){return d.default}:function(){return d};return __webpack_require__.d(g,{a:g}),g}}(),function(){var d=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},g;__webpack_require__.t=function(e,r){if(r&1&&(e=this(e)),r&8||typeof e=="object"&&e&&(r&4&&e.__esModule||r&16&&typeof e.then=="function"))return e;var i=Object.create(null);__webpack_require__.r(i);var l={};g=g||[null,d({}),d([]),d(d)];for(var c=r&2&&e;typeof c=="object"&&!~g.indexOf(c);c=d(c))Object.getOwnPropertyNames(c).forEach(function(f){l[f]=function(){return e[f]}});return l.default=function(){return e},__webpack_require__.d(i,l),i}}(),function(){__webpack_require__.d=function(d,g){for(var e in g)__webpack_require__.o(g,e)&&!__webpack_require__.o(d,e)&&Object.defineProperty(d,e,{enumerable:!0,get:g[e]})}}(),function(){__webpack_require__.f={},__webpack_require__.e=function(d){return Promise.all(Object.keys(__webpack_require__.f).reduce(function(g,e){return __webpack_require__.f[e](d,g),g},[]))}}(),function(){__webpack_require__.u=function(d){return""+({26:"p__Classrooms__Lists__Graduation__Tasks__Edit__index",67:"p__Message__index",109:"p__Classrooms__Lists__ShixunHomeworks__Detail__components__CodeReview__Detail__index",195:"p__Classrooms__Lists__GroupHomework__Detail__index",264:"p__User__Detail__Order__pages__orderPay__index",265:"p__User__Detail__Topics__index",292:"p__Classrooms__Lists__Exercise__Add__index",310:"p__User__Detail__ExperImentImg__Detail__index",337:"p__Paperlibrary__Random__PreviewEdit__index",342:"p__Classrooms__Lists__ShixunHomeworks__Comment__index",479:"p__Classrooms__Lists__GroupHomework__EditWork__index",485:"p__Question__AddOrEdit__BatchAdd__index",508:"p__Forums__Detail__id",532:"p__ExcellentCourse__index",533:"p__Classrooms__Lists__Video__Statistics__Detail__index",547:"p__Account__index",556:"p__User__Detail__Order__pages__invoice__index",559:"layouts__virtualDetail__index",570:"p__Home__Detail__OnlineNum__index",576:"p__Account__Profile__Edit__index",643:"p__Classrooms__Lists__Polls__QuestionnaireInfo__index",672:"p__Home__Detail__ShixunContext__Detail__index",680:"p__Innovation__index",700:"p__tasks__Jupyter__index",737:"p__Classrooms__Lists__CommonHomework__Detail__components__CodeReview__Detail__index",799:"p__User__Detail__Topics__Poll__Detail__index",869:"p__Guidance__index",895:"p__Classrooms__Lists__Video__Items__videoInfo__index",921:"p__Classrooms__Lists__Exercise__CodeDetails__index",928:"p__RestFul__Edit__index",1006:"p__RestFul__index",1043:"p__Classrooms__Lists__Graduation__Tasks__index",1045:"p__virtualSpaces__Lists__Knowledge__AddAndEdit__index",1048:"p__Classrooms__Lists__ProgramHomework__Detail__Ranking__index",1070:"p__Innovation__PublicMirror__index",1148:"p__Shixuns__Detail__Repository__UploadFile__index",1211:"p__Classrooms__Lists__CommonHomework__EditWork__index",1253:"p__Graduations__Lists__Gradingsummary__index",1257:"p__Classrooms__Lists__ResourceRecommend__index",1265:"p__Classrooms__Lists__Announcement__index",1276:"p__MoopCases__Success__index",1343:"p__User__Detail__ResourceAllocation__index",1416:"p__User__Detail__AccountInfo__CareerCertification__index",1423:"p__Shixuns__Edit__body__Level__Challenges__EditPracticeAnswer__index",1427:"p__Classrooms__Lists__Statistics__index",1450:"p__Classrooms__Lists__ShixunHomeworks__Commitsummary__index",1461:"p__Graduations__Lists__Topics__index",1470:"p__User__Register__index",1475:"p__Shixuns__Detail__Dataset__JupyterData__index",1482:"p__Classrooms__Lists__Graduation__Topics__Edit__index",1512:"p__Classrooms__Lists__Exercise__AnswerCheck__index",1520:"p__Engineering__Lists__StudentList__index",1545:"p__Paperlibrary__Random__ExchangeFromProblemSet__index",1578:"p__Classrooms__Lists__Graduation__Topics__Detail__index",1581:"p__Problemset__Preview__index",1582:"p__Classrooms__Lists__GroupHomework__Add__index",1657:"p__Shixuns__Edit__body__Level__Challenges__EditQuestion__index",1660:"p__User__QQLogin__index",1674:"p__Classrooms__ClassicCases__index",1702:"p__Classrooms__New__index",1713:"p__virtualSpaces__Lists__Settings__index",1717:"layouts__index",1727:"p__Classrooms__Lists__CourseGroup__NotList__index",1783:"p__virtualSpaces__Lists__Experiment__index",1799:"p__Competitions__Entered__Assembly__TeamDateil",1831:"p__Graduations__Index__index",1836:"p__Classrooms__Lists__Attendance__Webview__Teacher__index",1855:"p__MoopCases__InfoPanel__index",1880:"p__User__Detail__Order__pages__apply__index",1939:"p__User__Detail__Order__index",1953:"p__Problemset__NewItem__index",1962:"p__Classrooms__Lists__Engineering__index",2045:"p__Engineering__Lists__TeacherList__index",2076:"p__User__Detail__Competitions__index",2102:"p__Classrooms__Lists__Board__Edit__index",2141:"p__Shixuns__Detail__Split__index",2216:"p__DataSet__Index__index",2240:"p__User__Detail__Videos__Upload__index",2254:"p__Shixuns__Detail__Discuss__index",2300:"p__Api__index",2303:"p__Classrooms__Lists__CommonHomework__Comment__index",2307:"p__Report__index",2338:"p__Classrooms__Lists__CommonHomework__Review__index",2339:"p__virtualSpaces__Lists__Plan__Detail__index",2396:"p__User__Detail__ResourcesCenter__index",2404:"p__Classrooms__Lists__Template__teacher__index",2412:"p__User__Detail__Videos__index",2425:"p__Classrooms__Lists__Board__Detail__index",2443:"p__Graduations__Lists__StageModule__index",2476:"p__Colleges__index",2501:"p__Search__index",2529:"p__User__Detail__id",2539:"p__Graduations__Review__index",2548:"p__Engineering__Norm__Detail__index",2570:"p__Competitions__Detail__index",2603:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Add__index",2659:"p__User__Detail__UserPortrait__index",2707:"p__Innovation__MyDataSet__index",2806:"p__User__Detail__Topics__Exercise__Detail__index",2819:"p__Classrooms__Lists__Template__detail__index",2823:"p__Engineering__Navigation__Home__index",2826:"p__User__Detail__DataSet__index",2829:"p__Messages__Private__index",2865:"p__Innovation__MyMirror__index",2875:"p__Shixuns__Detail__id",2884:"p__Classrooms__Lists__ProgramHomework__Comment__index",2983:"p__Forums__Index__index",3006:"p__Engineering__index",3141:"p__Innovation__Detail__index",3157:"p__User__Detail__ExperImentImg__Add__index",3183:"p__Engineering__Lists__GraduationIndex__index",3212:"p__MoopCases__index",3220:"p__Classrooms__Lists__Video__Upload__index",3247:"p__Paperlibrary__See__index",3260:"p__Paperlibrary__Add__index",3276:"p__Classrooms__Lists__Statistics__UserportraitStatistics__index",3282:"layouts__ShixunDetail__index",3317:"p__Classrooms__Lists__Graduation__Topics__Add__index",3332:"p__Paths__Detail__id",3355:"p__Classrooms__Lists__Polls__index",3356:"p__Classrooms__Lists__Assistant__index",3391:"p__Classrooms__Lists__ProgramHomework__Detail__components__CodeReview__Detail__index",3433:"p__Classrooms__Lists__Exercise__Sumup__Edit__index",3442:"p__Classrooms__Lists__Board__Add__index",3447:"p__User__Detail__Order__pages__orderInformation__index",3451:"p__Classrooms__Lists__Statistics__StudentStatistics__Detail__index",3496:"p__User__Detail__OtherResources__index",3509:"p__HttpStatus__SixActivities",3581:"p__Classrooms__Lists__ShixunHomeworks__Detail__index",3585:"p__Classrooms__Lists__Statistics__StudentSituation__index",3665:"p__tasks__index",3668:"p__Classrooms__Lists__CommonHomework__Detail__index",3747:"p__virtualSpaces__Lists__Homepage__index",3784:"p__Paperlibrary__Random__Detail__index",3862:"p__HttpStatus__403",3873:"p__virtualSpaces__Lists__Lesson__index",3910:"p__HttpStatus__introduction",3935:"p__Classrooms__Lists__GroupHomework__index",3951:"p__Classrooms__Lists__ProgramHomework__Detail__index",4017:"p__Classrooms__Lists__PlaceholderPage__index",4030:"p__Classrooms__Lists__ProgramHomework__AddAndEdit__index",4056:"p__IntrainCourse__index",4058:"p__Demo__index",4078:"p__Messages__Tidings__index",4093:"p__Classrooms__Lists__Attendance__Detail__index",4105:"p__Classrooms__Lists__Exercise__Answer__index",4144:"p__Problemset__Preview__New__index",4164:"p__Classrooms__Lists__Exercise__Detail__index",4216:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Edit__index",4217:"p__Classrooms__Lists__Video__Statistics__index",4227:"p__Paths__Overview__index",4259:"p__User__Detail__Order__pages__result__index",4264:"p__Forums__New__index",4449:"p__Competitions__Exports__index",4492:"p__Graduations__Lists__StudentSelection__index",4496:"p__HttpStatus__HpcCourse",4498:"p__Shixuns__Edit__body__Level__Challenges__NewPractice__index",4504:"p__virtualSpaces__Lists__Survey__index",4514:"p__Account__Results__index",4520:"p__Account__Secure__index",4546:"p__Engineering__Lists__TrainingProgram__Add__index",4565:"p__HttpStatus__500",4572:"p__Classrooms__Lists__ExportList__index",4599:"p__Problemset__index",4601:"p__Paths__Detail__Statistics__index",4610:"p__User__Detail__LearningPath__index",4621:"p__Administration__Profession__index",4662:"p__Classrooms__Lists__GroupHomework__Review__index",4715:"p__virtualSpaces__Lists__Material__Detail__index",4736:"p__User__Detail__Projects__index",4741:"p__Problems__OjForm__NewEdit__index",4757:"p__virtualSpaces__Lists__Workplace__index",4766:"p__Administration__index",4770:"p__Classrooms__Lists__ProgramHomework__Detail__answer__index",4795:"p__Classrooms__Lists__Graduation__Tasks__Add__index",4800:"p__Engineering__Lists__GraduatedMatrix__index",4849:"p__User__Detail__ExperImentImg__index",4862:"p__Paperlibrary__index",4884:"p__Shixuns__Detail__Repository__Commit__index",4889:"p__Classrooms__Lists__Exercise__ImitateAnswer__index",4928:"p__Classrooms__Lists__LearningPath__index",4973:"p__Engineering__Evaluate__List__index",4994:"p__Problems__OjForm__index",5022:"p__Graduations__Lists__Settings__index",5043:"p__User__Detail__Topics__Poll__Edit__index",5048:"p__Classrooms__Lists__Graduation__Topics__index",5096:"p__Shixuns__Detail__AuditSituation__index",5111:"p__Terminal__index",5125:"p__Classrooms__Lists__Exercise__DetailedAnalysis__index",5148:"p__Classrooms__Lists__Polls__Answer__index",5176:"p__User__Detail__Videos__Protocol__index",5179:"p__Administration__Student__Edit__index",5186:"p__Classrooms__Overview__index",5191:"p__User__Detail__Certificate__index",5238:"p__virtualSpaces__Lists__Material__index",5297:"p__Classrooms__Lists__Exercise__Detail__components__DuplicateChecking__CheckDetail__index",5319:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Detail__index",5335:"p__Engineering__Lists__CourseMatrix__index",5357:"p__Engineering__Lists__TrainingProgram__Edit__index",5359:"p__Messages__Detail__index",5382:"p__DataSet__Detail__index",5402:"p__User__Detail__Topics__Detail__index",5470:"p__Shixuns__Detail__Collaborators__index",5518:"p__Classrooms__Lists__Template__index",5549:"p__Shixuns__New__CreateImg__index",5572:"p__Paths__HigherVocationalEducation__index",5573:"p__Shixuns__Detail__Merge__index",5599:"p__User__Detail__Paths__index",5624:"p__Graduations__Lists__Index__index",5650:"p__Competitions__Update__index",5705:"p__virtualSpaces__Lists__Construction__index",5729:"p__Help__Index",5775:"p__Engineering__Lists__Document__index",5786:"layouts__LoginAndRegister__index",5798:"p__Classrooms__Lists__Video__Statistics__UserDetail__index",5816:"p__Paperlibrary__Random__Edit__index",5825:"p__Classrooms__Lists__Exercise__index",5888:"p__Classrooms__Lists__CommonHomework__Add__index",5891:"p__virtualSpaces__Lists__Resources__index",5895:"p__User__Detail__AccountInfo__Profile__Edit__index",5902:"p__Classrooms__Lists__Exercise__Sumup__index",5915:"p__knowledgegraph__Detail__Statistics__index",5972:"layouts__user__index",5992:"p__Classrooms__Lists__Exercise__ReviewGroup__index",6029:"p__Administration__Student__index",6034:"p__HttpStatus__UserAgents",6052:"p__Paths__Index__index",6063:"p__Graduations__Lists__Personmanage__index",6069:"p__virtualSpaces__Lists__Lesson__Detail__index",6127:"p__Classrooms__Lists__ProgramHomework__Ranking__index",6170:"p__HttpStatus__downloadStudent",6265:"p__virtualSpaces__Lists__Discussion__index",6270:"p__MyProblem__index",6277:"p__Shixuns__Edit__index",6328:"p__Shixuns__Edit__body__Warehouse__index",6366:"p__Innovation__PublicProject__index",6434:"p__User__Detail__Order__pages__records__index",6444:"p__Video__Detail__id",6452:"p__Innovation__PublicDataSet__index",6531:"p__HttpStatus__404",6541:"p__Shixuns__Detail__Dataset__index",6583:"p__User__Detail__Classrooms__index",6587:"p__User__Detail__Videos__Protocol__resource",6634:"p__Innovation__Tasks__index",6651:"p__Engineering__Evaluate__Detail__index",6685:"p__Classrooms__Index__index",6729:"p__Classrooms__Lists__GroupHomework__Edit__index",6741:"p__Engineering__Norm__List__index",6758:"p__Classrooms__Lists__Attachment__index",6784:"p__Innovation__Edit__index",6788:"p__Classrooms__Lists__ProgramHomework__index",6796:"p__virtualSpaces__Lists__Announcement__Detail__index",6805:"p__User__Detail__AccountInfo__RealNameCertification__index",6820:"p__User__Detail__Topics__Normal__index",6845:"p__Shixuns__Detail__Settings__index",6882:"p__Classrooms__New__StartClass__index",6883:"p__Competitions__Index__index",6904:"p__MoopCases__FormPanel__index",6913:"p__Question__AddOrEdit__index",6963:"p__Classrooms__Lists__Engineering__Detail__index",6982:"p__User__Detail__AccountInfo__Profile__index",7008:"p__Shixuns__New__index",7043:"p__User__Detail__Topics__Exercise__Edit__index",7045:"p__Classrooms__Lists__CommonHomework__SubmitWork__index",7046:"p__Shixuns__Detail__Repository__AddFile__index",7058:"p__virtualSpaces__Lists__Survey__Detail__index",7062:"layouts__SimpleLayouts",7178:"p__User__BindAccount__index",7182:"p__User__ResetPassword__index",7242:"p__Innovation__MyProject__index",7260:"p__Account__Certification__index",7333:"p__User__WechatLogin__index",7395:"p__Classrooms__Lists__Statistics__StudentDetail__index",7460:"p__Question__OjProblem__index",7477:"p__virtualSpaces__Lists__Announcement__index",7482:"p__Classrooms__Lists__Exercise__Notice__index",7527:"p__MyProblem__RecordDetail__index",7545:"p__Graduations__Lists__Archives__index",7560:"p__Administration__College__index",7589:"p__virtualSpaces__Lists__DigitalTopics__index",7614:"p__Shixuns__Edit__body__Level__Challenges__RankingSetting__index",7622:"p__Classrooms__Lists__Polls__Detail__index",7806:"p__Classrooms__Lists__Statistics__StatisticsQuality__index",7852:"p__Classrooms__Lists__ShixunHomeworks__index",7855:"p__User__Detail__ResourcesCenter__Detail__index",7857:"p__Shixuns__Edit__body__Level__Challenges__NewQuestion__index",7878:"p__Classrooms__Lists__LiveVideo__index",7884:"p__Shixuns__Exports__index",7922:"p__Classrooms__Lists__CourseGroup__Detail__index",7948:"p__User__Detail__ClassManagement__index",8014:"p__Classrooms__Lists__Teachers__index",8062:"p__User__Detail__Topicbank__index",8072:"p__Classrooms__Lists__GroupHomework__SubmitWork__index",8077:"p__Classrooms__Lists__Students__index",8085:"p__Classrooms__Lists__Exercise__Review__index",8143:"layouts__GraduationsDetail__index",8155:"p__Shixuns__Overview__index",8237:"p__User__Detail__Order__pages__view__index",8241:"p__virtualSpaces__Lists__Plan__index",8302:"p__Classrooms__Lists__Board__index",8307:"p__User__Detail__Shixuns__index",8340:"p__Classrooms__Lists__Attendance__Webview__Student__index",8365:"p__Home__Detail__ShixunContext__index",8398:"p__virtualSpaces__Lists__Resources__Detail__index",8431:"p__Classrooms__Lists__Exercise__Export__index",8435:"p__Classrooms__Lists__Attendance__index",8447:"p__virtualSpaces__Lists__Knowledge__index",8517:"p__User__Detail__Topics__Group__index",8563:"p__virtualSpaces__Lists__Discussion__Detail__index",8634:"p__Classrooms__Lists__CourseGroup__List__index",8639:"p__Forums__Index__redirect",8665:"p__Engineering__Lists__TrainingObjectives__index",8688:"p__Shixuns__Detail__Repository__index",8689:"p__Classrooms__Lists__Statistics__VideoStatistics__index",8723:"p__Classrooms__Lists__Polls__Edit__index",8782:"p__Shixuns__Index__index",8787:"p__Competitions__Entered__index",8797:"p__Competitions__Edit__index",8823:"p__knowledgegraph__Detail__id",8827:"p__Classrooms__Lists__OnlineLearning__index",8866:"p__index",8882:"p__Classrooms__Lists__Graduation__Tasks__Detail__index",8885:"p__Classrooms__Lists__Statistics__StudentStatistics__index",8982:"p__Paths__New__index",8999:"p__Three__index",9076:"p__Account__Binding__index",9133:"p__Shixuns__Detail__Challenges__index",9205:"p__Shixuns__Edit__body__Level__Challenges__EditPracticeSetting__index",9215:"p__Shixuns__Detail__ForkList__index",9332:"p__Classrooms__Lists__Video__index",9360:"p__User__Detail__virtualSpaces__index",9366:"p__User__Login__index",9391:"p__Engineering__Lists__CurseSetting__index",9404:"monaco-editor",9408:"p__Shixuns__Detail__RankingList__index",9416:"p__Graduations__Lists__Tasks__index",9487:"p__LargeScreen__index",9489:"p__Engineering__Lists__CourseList__index",9507:"p__User__Detail__ResourceGuarantee__index",9519:"p__User__Detail__ClassManagement__Item__index",9590:"p__User__Detail__TeachGroup__index",9647:"p__Question__Index__index",9649:"p__Engineering__Lists__TrainingProgram__index",9674:"p__Shixuns__New__ImagePreview__index",9677:"p__virtualSpaces__Lists__Announcement__AddAndEdit__index",9695:"p__Classrooms__Lists__Polls__Add__index",9715:"p__Classrooms__Lists__CommonHomework__Edit__index",9716:"p__Question__OjProblem__RecordDetail__index",9785:"p__Classrooms__Lists__Template__student__index",9788:"p__Account__Profile__index",9890:"p__Classrooms__Lists__CommonHomework__index",9891:"p__User__Detail__Videos__Success__index",9921:"p__Classrooms__ExamList__index",9922:"p__Classrooms__Lists__Statistics__StudentVideo__index",9944:"p__Classrooms__Lists__Video__Statistics__StudentDetail__index"}[d]||d)+"."+{26:"5fd14d66",67:"0e613dcb",109:"41a3c364",195:"d98f97c7",264:"0e913148",265:"54eb1557",278:"cdd29237",292:"e88d20c7",310:"f405f77e",316:"1f60ada6",337:"0749d5ac",342:"697fb9a7",354:"d4d139cf",479:"cb1f173a",485:"59a48868",508:"a85742e8",532:"e141c742",533:"2870a023",547:"3b89fa9b",556:"fef8c6d1",559:"c1b5407c",570:"6e3882ff",576:"09180d50",629:"44a1d9a5",643:"92ee2d76",671:"4a609b8d",672:"37450f7c",680:"5cfeaedf",700:"06b841c5",737:"97542717",741:"ac5fd360",799:"f57283d3",869:"ebef3244",895:"fe6c2e25",921:"ea7d46fb",928:"832b16fc",981:"24da50c7",1006:"57045f9f",1043:"f9115961",1045:"9073f58d",1048:"90ae4838",1070:"2bbb6f26",1144:"c90eccaf",1148:"e123b473",1154:"8cb80842",1188:"95b9edeb",1211:"961c0c29",1253:"0d72b5c8",1257:"9bd72f7e",1265:"e00bb72f",1274:"5f6ea65a",1276:"1232c571",1343:"54552056",1416:"301e1c8a",1423:"c0dca4fb",1427:"508e2735",1450:"bba4318f",1461:"65c2ab9c",1462:"fcf08abc",1470:"7d115b0a",1475:"83fa742a",1482:"236e0393",1512:"2756fe43",1520:"f6545135",1545:"685c5411",1578:"930ae5a7",1581:"02177b5f",1582:"ea63cf3d",1646:"e6e27b60",1657:"9c90931c",1660:"65a52d93",1674:"3eb6ba9a",1702:"a5df7ded",1713:"707266bb",1717:"39c1cb01",1727:"0c1c768d",1783:"096c919b",1799:"a3991011",1831:"772232ac",1836:"c220805c",1855:"18c35631",1880:"151fc459",1939:"f9ae7b86",1953:"03671023",1962:"b40ad8da",2011:"59d51f98",2045:"7ba792fc",2076:"1e8160db",2102:"e89c60e6",2125:"0917684a",2141:"14dee967",2216:"a06f36e7",2240:"0f3cbb90",2249:"f4830452",2254:"1103017a",2300:"e1bf89cf",2303:"72077e86",2307:"94c28f7e",2338:"e38447bc",2339:"fa8f0451",2386:"192e235c",2396:"f7183971",2404:"b05421af",2412:"ec9f25ee",2413:"71d7e69d",2425:"19aba420",2443:"ee779d6e",2476:"99b8606d",2494:"68080a87",2501:"00cfd1ba",2509:"95753e21",2529:"685eec05",2538:"de4a3723",2539:"6aea888c",2548:"a8fbf09d",2570:"cd046697",2594:"e87d3761",2603:"54bfd052",2654:"f657ac1b",2659:"c0671c95",2707:"f349ea60",2806:"953dc136",2819:"04dcc35b",2823:"796b62fc",2826:"06ed085c",2829:"7f623b7e",2837:"54a82605",2865:"dc6aaae7",2875:"94795336",2884:"3981f01d",2969:"ab3357d7",2983:"91b5cf2e",3006:"0c33b4f0",3133:"9bf3f89c",3141:"5e396ebf",3157:"480edb6a",3183:"c60406fb",3198:"8e655451",3212:"57bcb6c1",3220:"31a2f900",3247:"37cfeee4",3260:"fe3916c1",3267:"7bab569a",3276:"a2f501c6",3282:"e9b14950",3317:"424d4280",3332:"f334c3c5",3355:"1999ce12",3356:"42cfad4e",3391:"00ddeb53",3433:"fca44e84",3442:"e3d2423c",3447:"1e9582ee",3451:"51fb556e",3496:"33feb152",3509:"5c270ac8",3550:"3dc83156",3581:"dbb220f3",3585:"2ce6a2ed",3665:"58db6112",3668:"38ea06e3",3697:"481a10d9",3747:"f38d2803",3754:"8a42053c",3777:"d5b0f2f1",3784:"9ae968e5",3805:"9dbcb95e",3862:"41064403",3873:"b3b23eab",3885:"f87f7f15",3910:"badbd452",3935:"8d6059c2",3951:"a1e276dd",3987:"a5fa1e4d",4014:"27a8e97c",4017:"b1859413",4030:"35f56b33",4056:"3b76996e",4058:"4b8bcbfb",4078:"185ef1bc",4088:"236723f3",4093:"a190b03b",4105:"c7ac8f4c",4144:"07e2f551",4164:"3b6b9e4f",4184:"ff08337d",4216:"1c2d22eb",4217:"47867fad",4227:"551d4e86",4259:"7527addd",4264:"1f57a794",4347:"ce21ef2e",4354:"140899b7",4360:"cf5efa52",4449:"76228b1f",4492:"609c38d2",4496:"31c1bf16",4498:"41fd7c4a",4504:"658a435c",4514:"7795d8af",4520:"78484881",4546:"afb7a70b",4565:"34ca03e6",4572:"06fb93fc",4599:"61def4cb",4601:"2b92ed20",4610:"6f1cf0cb",4621:"8bae08e1",4628:"ece2c60c",4662:"6b01a362",4685:"c33f1528",4715:"5f52e8f8",4736:"57926282",4741:"b030ec9d",4757:"ca92561b",4766:"d267690e",4770:"8dd4f97f",4790:"619413e4",4795:"4edb13ab",4797:"a24e92db",4800:"81e35ea6",4849:"d6044b36",4850:"1edda4b7",4862:"29230bf0",4884:"c0724104",4889:"1810ef3c",4928:"bf97fd4f",4973:"242caa1a",4994:"0b4b25f2",5022:"6cf35daa",5043:"ca2729ac",5048:"999dcbf8",5060:"85dafcc6",5096:"069fc2d9",5111:"9d8ae95a",5125:"edf1a30d",5148:"70aa3de0",5176:"61cb7b49",5179:"18ce2532",5186:"ad33fd4a",5191:"f0474af9",5238:"da73f66a",5290:"5dabcdc2",5297:"2bdb9fb2",5319:"e6da2aaa",5321:"1163c84e",5335:"514012f2",5354:"7ae70604",5357:"2c86df7f",5359:"4e16f788",5382:"5fa6f1ff",5402:"30d334fb",5416:"454536b7",5434:"38b302a6",5470:"e0ca69d4",5494:"d89549c4",5518:"92bb0cc5",5549:"868e0d0a",5572:"bb9daff6",5573:"3e51b2e0",5599:"ae683ffb",5624:"942456ab",5631:"e00d3d36",5650:"56f167ae",5679:"4a090bef",5705:"41d2c5f1",5729:"c00ffdae",5764:"e0d7e586",5775:"22f2e9b0",5786:"ae92d5f7",5798:"42f0887c",5816:"3e28e656",5825:"b9c3ee06",5876:"5eded409",5886:"490e40cd",5888:"dfaebb48",5891:"e7c36fdf",5895:"83ad7d29",5902:"a54b65be",5915:"be52cf50",5972:"7856c6ab",5992:"9f868259",6029:"062a3e07",6034:"fe6c7c3e",6045:"d268f87f",6047:"3ce45acd",6052:"fa0a5eeb",6063:"ae2a546c",6069:"9bde6574",6126:"99519171",6127:"c6cfdc1a",6170:"07f25c2b",6265:"eecccaf4",6270:"a6884154",6277:"e0cbb6a6",6328:"80484f26",6366:"8e178fa0",6378:"7f3a946a",6411:"7d1994e3",6434:"fe8fa5d9",6444:"e8f867ef",6452:"27483645",6531:"eac0ffe2",6541:"ad57488e",6583:"100067f0",6587:"06086327",6634:"ad77fe53",6651:"3c975bed",6675:"3fe93ad4",6685:"0ee72dcb",6729:"773bbde3",6741:"66024dc6",6758:"a6ebaec2",6774:"59d4d618",6784:"cf8d7ee4",6788:"62557ba4",6796:"2419fdc3",6805:"8ee172b8",6820:"0a3a6307",6845:"324ab553",6882:"bbc43576",6883:"6cb80143",6904:"7e5f687f",6913:"f3ae2021",6963:"4c8ec4c4",6982:"d4641a78",7008:"2656eb9c",7043:"e04a8c28",7045:"8300cac2",7046:"0b4c2083",7058:"4de3ffe8",7062:"72cec91c",7084:"46ccce72",7156:"e7466006",7178:"1e44b40f",7180:"3868c0f2",7182:"dfef85b6",7242:"a0ba8718",7260:"91559e86",7331:"2e27a23b",7333:"1a1b2321",7365:"1005464f",7395:"07d528df",7460:"4fbf5dec",7477:"c09921da",7482:"dc3069a8",7527:"a3bab0a1",7545:"0c239efa",7560:"45ff3853",7589:"aa0ce25f",7591:"8354027c",7614:"2b342611",7622:"983e055d",7686:"4fcec9f9",7706:"c2a79e40",7806:"3baa01b4",7852:"280dc0a4",7855:"ee5558ca",7857:"c83de972",7878:"a0fbd301",7884:"df8381e1",7922:"39da8180",7948:"be2cef38",7964:"29aed9a1",8014:"057f2551",8062:"93095cf4",8072:"fe9a0a02",8077:"050c8f42",8085:"dadef748",8089:"d536b13a",8143:"42341b58",8155:"e4bba52a",8161:"83c5fa9a",8237:"268c2265",8241:"e8ec7d20",8302:"1629f21b",8307:"8327d995",8340:"39c85824",8350:"07df8a75",8365:"0d4517f4",8398:"5717dd15",8431:"01e602a1",8435:"f22e3dfb",8447:"09343f96",8517:"a0029897",8561:"333e8ec9",8563:"abe387ab",8600:"f91782e7",8634:"def57886",8639:"68809bd0",8665:"88f5987a",8688:"6c381a14",8689:"586226e2",8723:"df766819",8737:"ce7dad23",8776:"0ad26240",8782:"9c564188",8787:"d34b726d",8797:"6aa0f202",8823:"7de308d3",8827:"9bb09467",8842:"9f25a3e2",8866:"7de8bac2",8882:"ceccc690",8885:"46b0088a",8898:"d002bcd8",8909:"82cefd99",8920:"7f82440c",8963:"790aecdd",8982:"de084765",8999:"12cf3ee7",9076:"e0aaaea3",9104:"bbcb2345",9133:"340f0468",9205:"4c7d3a16",9215:"0206d198",9252:"0d791a59",9260:"cf5f8140",9332:"c78101bd",9360:"88628e59",9366:"dd08abde",9391:"84dd65c2",9404:"9fcc3d3e",9408:"45a96c6f",9416:"2e5fd40c",9487:"bbefb860",9489:"79ad516e",9507:"6e728c3c",9519:"58bd3f88",9554:"ed358e7b",9559:"f794af19",9590:"f31c14d9",9647:"0f4af68b",9649:"cf89daca",9674:"f2fed05a",9677:"c07e6bc5",9695:"2f13e5f6",9715:"06bb626f",9716:"8cc894f5",9785:"df4b74d7",9788:"1f3da99f",9890:"a7f6301e",9891:"b033cd93",9895:"b8e31ff2",9921:"0ef4ff27",9922:"6581d79e",9928:"5989f5e0",9944:"c49bafc8",9950:"74f6dfb2",9968:"17466785"}[d]+".async.js"}}(),function(){__webpack_require__.miniCssF=function(d){return""+({26:"p__Classrooms__Lists__Graduation__Tasks__Edit__index",67:"p__Message__index",109:"p__Classrooms__Lists__ShixunHomeworks__Detail__components__CodeReview__Detail__index",195:"p__Classrooms__Lists__GroupHomework__Detail__index",264:"p__User__Detail__Order__pages__orderPay__index",265:"p__User__Detail__Topics__index",292:"p__Classrooms__Lists__Exercise__Add__index",310:"p__User__Detail__ExperImentImg__Detail__index",337:"p__Paperlibrary__Random__PreviewEdit__index",342:"p__Classrooms__Lists__ShixunHomeworks__Comment__index",479:"p__Classrooms__Lists__GroupHomework__EditWork__index",485:"p__Question__AddOrEdit__BatchAdd__index",508:"p__Forums__Detail__id",532:"p__ExcellentCourse__index",533:"p__Classrooms__Lists__Video__Statistics__Detail__index",547:"p__Account__index",556:"p__User__Detail__Order__pages__invoice__index",559:"layouts__virtualDetail__index",576:"p__Account__Profile__Edit__index",643:"p__Classrooms__Lists__Polls__QuestionnaireInfo__index",680:"p__Innovation__index",700:"p__tasks__Jupyter__index",737:"p__Classrooms__Lists__CommonHomework__Detail__components__CodeReview__Detail__index",799:"p__User__Detail__Topics__Poll__Detail__index",869:"p__Guidance__index",895:"p__Classrooms__Lists__Video__Items__videoInfo__index",921:"p__Classrooms__Lists__Exercise__CodeDetails__index",928:"p__RestFul__Edit__index",1006:"p__RestFul__index",1043:"p__Classrooms__Lists__Graduation__Tasks__index",1045:"p__virtualSpaces__Lists__Knowledge__AddAndEdit__index",1048:"p__Classrooms__Lists__ProgramHomework__Detail__Ranking__index",1070:"p__Innovation__PublicMirror__index",1148:"p__Shixuns__Detail__Repository__UploadFile__index",1211:"p__Classrooms__Lists__CommonHomework__EditWork__index",1253:"p__Graduations__Lists__Gradingsummary__index",1257:"p__Classrooms__Lists__ResourceRecommend__index",1265:"p__Classrooms__Lists__Announcement__index",1276:"p__MoopCases__Success__index",1343:"p__User__Detail__ResourceAllocation__index",1416:"p__User__Detail__AccountInfo__CareerCertification__index",1423:"p__Shixuns__Edit__body__Level__Challenges__EditPracticeAnswer__index",1427:"p__Classrooms__Lists__Statistics__index",1450:"p__Classrooms__Lists__ShixunHomeworks__Commitsummary__index",1461:"p__Graduations__Lists__Topics__index",1470:"p__User__Register__index",1475:"p__Shixuns__Detail__Dataset__JupyterData__index",1482:"p__Classrooms__Lists__Graduation__Topics__Edit__index",1512:"p__Classrooms__Lists__Exercise__AnswerCheck__index",1520:"p__Engineering__Lists__StudentList__index",1545:"p__Paperlibrary__Random__ExchangeFromProblemSet__index",1578:"p__Classrooms__Lists__Graduation__Topics__Detail__index",1581:"p__Problemset__Preview__index",1582:"p__Classrooms__Lists__GroupHomework__Add__index",1657:"p__Shixuns__Edit__body__Level__Challenges__EditQuestion__index",1674:"p__Classrooms__ClassicCases__index",1702:"p__Classrooms__New__index",1713:"p__virtualSpaces__Lists__Settings__index",1717:"layouts__index",1727:"p__Classrooms__Lists__CourseGroup__NotList__index",1783:"p__virtualSpaces__Lists__Experiment__index",1831:"p__Graduations__Index__index",1836:"p__Classrooms__Lists__Attendance__Webview__Teacher__index",1855:"p__MoopCases__InfoPanel__index",1880:"p__User__Detail__Order__pages__apply__index",1939:"p__User__Detail__Order__index",1953:"p__Problemset__NewItem__index",1962:"p__Classrooms__Lists__Engineering__index",2045:"p__Engineering__Lists__TeacherList__index",2076:"p__User__Detail__Competitions__index",2102:"p__Classrooms__Lists__Board__Edit__index",2141:"p__Shixuns__Detail__Split__index",2216:"p__DataSet__Index__index",2240:"p__User__Detail__Videos__Upload__index",2254:"p__Shixuns__Detail__Discuss__index",2303:"p__Classrooms__Lists__CommonHomework__Comment__index",2307:"p__Report__index",2338:"p__Classrooms__Lists__CommonHomework__Review__index",2339:"p__virtualSpaces__Lists__Plan__Detail__index",2396:"p__User__Detail__ResourcesCenter__index",2404:"p__Classrooms__Lists__Template__teacher__index",2412:"p__User__Detail__Videos__index",2425:"p__Classrooms__Lists__Board__Detail__index",2443:"p__Graduations__Lists__StageModule__index",2476:"p__Colleges__index",2501:"p__Search__index",2529:"p__User__Detail__id",2539:"p__Graduations__Review__index",2548:"p__Engineering__Norm__Detail__index",2570:"p__Competitions__Detail__index",2603:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Add__index",2659:"p__User__Detail__UserPortrait__index",2707:"p__Innovation__MyDataSet__index",2806:"p__User__Detail__Topics__Exercise__Detail__index",2819:"p__Classrooms__Lists__Template__detail__index",2823:"p__Engineering__Navigation__Home__index",2826:"p__User__Detail__DataSet__index",2829:"p__Messages__Private__index",2865:"p__Innovation__MyMirror__index",2875:"p__Shixuns__Detail__id",2884:"p__Classrooms__Lists__ProgramHomework__Comment__index",2983:"p__Forums__Index__index",3006:"p__Engineering__index",3141:"p__Innovation__Detail__index",3157:"p__User__Detail__ExperImentImg__Add__index",3183:"p__Engineering__Lists__GraduationIndex__index",3212:"p__MoopCases__index",3220:"p__Classrooms__Lists__Video__Upload__index",3247:"p__Paperlibrary__See__index",3260:"p__Paperlibrary__Add__index",3276:"p__Classrooms__Lists__Statistics__UserportraitStatistics__index",3282:"layouts__ShixunDetail__index",3317:"p__Classrooms__Lists__Graduation__Topics__Add__index",3332:"p__Paths__Detail__id",3355:"p__Classrooms__Lists__Polls__index",3356:"p__Classrooms__Lists__Assistant__index",3391:"p__Classrooms__Lists__ProgramHomework__Detail__components__CodeReview__Detail__index",3433:"p__Classrooms__Lists__Exercise__Sumup__Edit__index",3442:"p__Classrooms__Lists__Board__Add__index",3447:"p__User__Detail__Order__pages__orderInformation__index",3451:"p__Classrooms__Lists__Statistics__StudentStatistics__Detail__index",3496:"p__User__Detail__OtherResources__index",3509:"p__HttpStatus__SixActivities",3581:"p__Classrooms__Lists__ShixunHomeworks__Detail__index",3585:"p__Classrooms__Lists__Statistics__StudentSituation__index",3665:"p__tasks__index",3668:"p__Classrooms__Lists__CommonHomework__Detail__index",3747:"p__virtualSpaces__Lists__Homepage__index",3784:"p__Paperlibrary__Random__Detail__index",3873:"p__virtualSpaces__Lists__Lesson__index",3910:"p__HttpStatus__introduction",3935:"p__Classrooms__Lists__GroupHomework__index",3951:"p__Classrooms__Lists__ProgramHomework__Detail__index",4030:"p__Classrooms__Lists__ProgramHomework__AddAndEdit__index",4056:"p__IntrainCourse__index",4078:"p__Messages__Tidings__index",4093:"p__Classrooms__Lists__Attendance__Detail__index",4105:"p__Classrooms__Lists__Exercise__Answer__index",4144:"p__Problemset__Preview__New__index",4164:"p__Classrooms__Lists__Exercise__Detail__index",4216:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Edit__index",4217:"p__Classrooms__Lists__Video__Statistics__index",4227:"p__Paths__Overview__index",4259:"p__User__Detail__Order__pages__result__index",4264:"p__Forums__New__index",4449:"p__Competitions__Exports__index",4492:"p__Graduations__Lists__StudentSelection__index",4496:"p__HttpStatus__HpcCourse",4498:"p__Shixuns__Edit__body__Level__Challenges__NewPractice__index",4504:"p__virtualSpaces__Lists__Survey__index",4514:"p__Account__Results__index",4520:"p__Account__Secure__index",4546:"p__Engineering__Lists__TrainingProgram__Add__index",4572:"p__Classrooms__Lists__ExportList__index",4599:"p__Problemset__index",4601:"p__Paths__Detail__Statistics__index",4610:"p__User__Detail__LearningPath__index",4621:"p__Administration__Profession__index",4662:"p__Classrooms__Lists__GroupHomework__Review__index",4715:"p__virtualSpaces__Lists__Material__Detail__index",4736:"p__User__Detail__Projects__index",4741:"p__Problems__OjForm__NewEdit__index",4757:"p__virtualSpaces__Lists__Workplace__index",4766:"p__Administration__index",4770:"p__Classrooms__Lists__ProgramHomework__Detail__answer__index",4795:"p__Classrooms__Lists__Graduation__Tasks__Add__index",4800:"p__Engineering__Lists__GraduatedMatrix__index",4849:"p__User__Detail__ExperImentImg__index",4862:"p__Paperlibrary__index",4884:"p__Shixuns__Detail__Repository__Commit__index",4889:"p__Classrooms__Lists__Exercise__ImitateAnswer__index",4928:"p__Classrooms__Lists__LearningPath__index",4973:"p__Engineering__Evaluate__List__index",4994:"p__Problems__OjForm__index",5022:"p__Graduations__Lists__Settings__index",5043:"p__User__Detail__Topics__Poll__Edit__index",5048:"p__Classrooms__Lists__Graduation__Topics__index",5096:"p__Shixuns__Detail__AuditSituation__index",5111:"p__Terminal__index",5125:"p__Classrooms__Lists__Exercise__DetailedAnalysis__index",5148:"p__Classrooms__Lists__Polls__Answer__index",5176:"p__User__Detail__Videos__Protocol__index",5179:"p__Administration__Student__Edit__index",5186:"p__Classrooms__Overview__index",5191:"p__User__Detail__Certificate__index",5238:"p__virtualSpaces__Lists__Material__index",5297:"p__Classrooms__Lists__Exercise__Detail__components__DuplicateChecking__CheckDetail__index",5319:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Detail__index",5335:"p__Engineering__Lists__CourseMatrix__index",5357:"p__Engineering__Lists__TrainingProgram__Edit__index",5359:"p__Messages__Detail__index",5382:"p__DataSet__Detail__index",5402:"p__User__Detail__Topics__Detail__index",5470:"p__Shixuns__Detail__Collaborators__index",5518:"p__Classrooms__Lists__Template__index",5549:"p__Shixuns__New__CreateImg__index",5572:"p__Paths__HigherVocationalEducation__index",5573:"p__Shixuns__Detail__Merge__index",5599:"p__User__Detail__Paths__index",5624:"p__Graduations__Lists__Index__index",5650:"p__Competitions__Update__index",5705:"p__virtualSpaces__Lists__Construction__index",5729:"p__Help__Index",5775:"p__Engineering__Lists__Document__index",5786:"layouts__LoginAndRegister__index",5798:"p__Classrooms__Lists__Video__Statistics__UserDetail__index",5816:"p__Paperlibrary__Random__Edit__index",5825:"p__Classrooms__Lists__Exercise__index",5888:"p__Classrooms__Lists__CommonHomework__Add__index",5891:"p__virtualSpaces__Lists__Resources__index",5895:"p__User__Detail__AccountInfo__Profile__Edit__index",5915:"p__knowledgegraph__Detail__Statistics__index",5972:"layouts__user__index",5992:"p__Classrooms__Lists__Exercise__ReviewGroup__index",6029:"p__Administration__Student__index",6052:"p__Paths__Index__index",6063:"p__Graduations__Lists__Personmanage__index",6069:"p__virtualSpaces__Lists__Lesson__Detail__index",6127:"p__Classrooms__Lists__ProgramHomework__Ranking__index",6265:"p__virtualSpaces__Lists__Discussion__index",6270:"p__MyProblem__index",6277:"p__Shixuns__Edit__index",6328:"p__Shixuns__Edit__body__Warehouse__index",6366:"p__Innovation__PublicProject__index",6434:"p__User__Detail__Order__pages__records__index",6444:"p__Video__Detail__id",6452:"p__Innovation__PublicDataSet__index",6541:"p__Shixuns__Detail__Dataset__index",6583:"p__User__Detail__Classrooms__index",6587:"p__User__Detail__Videos__Protocol__resource",6634:"p__Innovation__Tasks__index",6651:"p__Engineering__Evaluate__Detail__index",6685:"p__Classrooms__Index__index",6729:"p__Classrooms__Lists__GroupHomework__Edit__index",6741:"p__Engineering__Norm__List__index",6758:"p__Classrooms__Lists__Attachment__index",6784:"p__Innovation__Edit__index",6788:"p__Classrooms__Lists__ProgramHomework__index",6796:"p__virtualSpaces__Lists__Announcement__Detail__index",6805:"p__User__Detail__AccountInfo__RealNameCertification__index",6820:"p__User__Detail__Topics__Normal__index",6845:"p__Shixuns__Detail__Settings__index",6882:"p__Classrooms__New__StartClass__index",6883:"p__Competitions__Index__index",6904:"p__MoopCases__FormPanel__index",6913:"p__Question__AddOrEdit__index",6963:"p__Classrooms__Lists__Engineering__Detail__index",6982:"p__User__Detail__AccountInfo__Profile__index",7008:"p__Shixuns__New__index",7043:"p__User__Detail__Topics__Exercise__Edit__index",7045:"p__Classrooms__Lists__CommonHomework__SubmitWork__index",7046:"p__Shixuns__Detail__Repository__AddFile__index",7058:"p__virtualSpaces__Lists__Survey__Detail__index",7062:"layouts__SimpleLayouts",7178:"p__User__BindAccount__index",7182:"p__User__ResetPassword__index",7242:"p__Innovation__MyProject__index",7260:"p__Account__Certification__index",7395:"p__Classrooms__Lists__Statistics__StudentDetail__index",7460:"p__Question__OjProblem__index",7477:"p__virtualSpaces__Lists__Announcement__index",7482:"p__Classrooms__Lists__Exercise__Notice__index",7527:"p__MyProblem__RecordDetail__index",7545:"p__Graduations__Lists__Archives__index",7560:"p__Administration__College__index",7589:"p__virtualSpaces__Lists__DigitalTopics__index",7614:"p__Shixuns__Edit__body__Level__Challenges__RankingSetting__index",7622:"p__Classrooms__Lists__Polls__Detail__index",7806:"p__Classrooms__Lists__Statistics__StatisticsQuality__index",7852:"p__Classrooms__Lists__ShixunHomeworks__index",7855:"p__User__Detail__ResourcesCenter__Detail__index",7857:"p__Shixuns__Edit__body__Level__Challenges__NewQuestion__index",7878:"p__Classrooms__Lists__LiveVideo__index",7884:"p__Shixuns__Exports__index",7922:"p__Classrooms__Lists__CourseGroup__Detail__index",7948:"p__User__Detail__ClassManagement__index",8014:"p__Classrooms__Lists__Teachers__index",8062:"p__User__Detail__Topicbank__index",8072:"p__Classrooms__Lists__GroupHomework__SubmitWork__index",8077:"p__Classrooms__Lists__Students__index",8085:"p__Classrooms__Lists__Exercise__Review__index",8143:"layouts__GraduationsDetail__index",8155:"p__Shixuns__Overview__index",8237:"p__User__Detail__Order__pages__view__index",8241:"p__virtualSpaces__Lists__Plan__index",8302:"p__Classrooms__Lists__Board__index",8307:"p__User__Detail__Shixuns__index",8398:"p__virtualSpaces__Lists__Resources__Detail__index",8431:"p__Classrooms__Lists__Exercise__Export__index",8435:"p__Classrooms__Lists__Attendance__index",8447:"p__virtualSpaces__Lists__Knowledge__index",8517:"p__User__Detail__Topics__Group__index",8563:"p__virtualSpaces__Lists__Discussion__Detail__index",8634:"p__Classrooms__Lists__CourseGroup__List__index",8665:"p__Engineering__Lists__TrainingObjectives__index",8688:"p__Shixuns__Detail__Repository__index",8689:"p__Classrooms__Lists__Statistics__VideoStatistics__index",8723:"p__Classrooms__Lists__Polls__Edit__index",8782:"p__Shixuns__Index__index",8787:"p__Competitions__Entered__index",8797:"p__Competitions__Edit__index",8823:"p__knowledgegraph__Detail__id",8827:"p__Classrooms__Lists__OnlineLearning__index",8866:"p__index",8882:"p__Classrooms__Lists__Graduation__Tasks__Detail__index",8885:"p__Classrooms__Lists__Statistics__StudentStatistics__index",8982:"p__Paths__New__index",8999:"p__Three__index",9076:"p__Account__Binding__index",9133:"p__Shixuns__Detail__Challenges__index",9205:"p__Shixuns__Edit__body__Level__Challenges__EditPracticeSetting__index",9215:"p__Shixuns__Detail__ForkList__index",9332:"p__Classrooms__Lists__Video__index",9360:"p__User__Detail__virtualSpaces__index",9366:"p__User__Login__index",9391:"p__Engineering__Lists__CurseSetting__index",9404:"monaco-editor",9408:"p__Shixuns__Detail__RankingList__index",9416:"p__Graduations__Lists__Tasks__index",9487:"p__LargeScreen__index",9489:"p__Engineering__Lists__CourseList__index",9507:"p__User__Detail__ResourceGuarantee__index",9519:"p__User__Detail__ClassManagement__Item__index",9590:"p__User__Detail__TeachGroup__index",9647:"p__Question__Index__index",9649:"p__Engineering__Lists__TrainingProgram__index",9674:"p__Shixuns__New__ImagePreview__index",9677:"p__virtualSpaces__Lists__Announcement__AddAndEdit__index",9695:"p__Classrooms__Lists__Polls__Add__index",9715:"p__Classrooms__Lists__CommonHomework__Edit__index",9716:"p__Question__OjProblem__RecordDetail__index",9785:"p__Classrooms__Lists__Template__student__index",9788:"p__Account__Profile__index",9890:"p__Classrooms__Lists__CommonHomework__index",9891:"p__User__Detail__Videos__Success__index",9921:"p__Classrooms__ExamList__index",9922:"p__Classrooms__Lists__Statistics__StudentVideo__index",9944:"p__Classrooms__Lists__Video__Statistics__StudentDetail__index"}[d]||d)+"."+{26:"91ed81ab",67:"1ad7d0db",109:"1a7fc455",195:"65632591",264:"5fd9b3fc",265:"d92c6f86",292:"9a0e8f6b",310:"06815302",337:"ee05039e",342:"ab091f90",479:"bba9e475",485:"d63578fe",508:"82593858",532:"c829a014",533:"5fee20bc",547:"5581debc",556:"892f4292",559:"c49aa5ba",576:"e4f97d42",643:"22ded693",680:"e67e9e01",700:"1d9948a7",737:"98eb2f74",799:"b3487c4b",869:"6740e24b",895:"ad846737",921:"30cc7e9b",928:"0277270a",1006:"2263131d",1043:"e8c0878b",1045:"0eeb3595",1048:"dafc3f4f",1070:"e67e9e01",1148:"754fff63",1211:"bdb8faab",1253:"46aca33c",1257:"156e8f74",1265:"d902bdae",1276:"bbc6eeec",1343:"b7f33c89",1416:"f1916094",1423:"5c4a76fc",1427:"f91322f7",1450:"1edcc2ed",1461:"917cbb16",1470:"183c9793",1475:"d22fbaa0",1482:"d159af07",1512:"f3653a35",1520:"f7300d0e",1545:"04d6c7d3",1578:"efcb0bdc",1581:"efffd7c0",1582:"8e45b6ff",1657:"ddd6a700",1674:"fdbc1e05",1702:"fca45632",1713:"5ed278a4",1717:"08a9e890",1727:"de83767d",1783:"47d0320e",1831:"8d05bf11",1836:"5f0d3f7f",1855:"b92cccb4",1880:"f67d7892",1939:"48e30d48",1953:"23cbc47f",1962:"84e145fa",2045:"dcfad42d",2076:"09b07fa0",2102:"ec61f9f0",2141:"5eb2f330",2216:"e3ba73cf",2240:"e7cce869",2254:"ccda836f",2303:"87592c17",2307:"b2c54321",2338:"dd6e8a16",2339:"d90c9bd2",2396:"e70f11d6",2404:"08d36549",2412:"6b6ca0ef",2425:"47b23ee4",2443:"78513f2d",2476:"cf85a190",2501:"2441982c",2529:"9d9944da",2539:"43d36117",2548:"75182034",2570:"3dbc6300",2603:"0277270a",2659:"f6071a36",2707:"cabcb16e",2806:"2c7248b3",2819:"9455b08a",2823:"a13b21fb",2826:"0b6be43b",2829:"a5909474",2865:"6ef3cf6b",2875:"d6c8355d",2884:"904823c3",2983:"c8c482f7",3006:"7fce4e74",3141:"72791f8b",3157:"2038b5dc",3183:"b2253f40",3212:"ad1521c1",3220:"a5be3990",3247:"50105eb7",3260:"49ca09b2",3267:"03cdfb68",3276:"7bbb651d",3282:"2dff97e8",3317:"137440b7",3332:"dab65052",3355:"39e3d07c",3356:"c6a4098f",3391:"f0e498fe",3433:"e6919a98",3442:"bdf7849c",3447:"1653d818",3451:"e3a31387",3496:"44bf4044",3509:"70043ca5",3581:"7630d0f9",3585:"5f288e7b",3665:"5250d444",3668:"86f20630",3747:"e06419ae",3784:"c81d4a51",3873:"bbd9808d",3910:"658d457f",3935:"cd50aa32",3951:"4a9249b1",4030:"f308ee3a",4056:"10eacfff",4078:"aa54548e",4093:"c1f29d01",4105:"e39011c7",4144:"f10aa199",4164:"0e623fec",4216:"0277270a",4217:"387bf824",4227:"79c3b323",4259:"ebd953ac",4264:"36917df0",4449:"e68d8d58",4492:"cdc29460",4496:"77babddd",4498:"b05686dd",4504:"466a61af",4514:"887bdbb6",4520:"e86d61a1",4546:"4101a1f2",4572:"70e5675d",4599:"aca6ff45",4601:"3c8ac557",4610:"687005a6",4621:"ead619d7",4662:"4e7b8c12",4715:"45efe14a",4736:"2968553b",4741:"afeb6eca",4757:"73b754d2",4766:"b5df5a8e",4770:"674b2d2a",4795:"939f9f81",4800:"f50302a4",4849:"2a1dc219",4862:"e8eacc3e",4884:"bd293d3b",4889:"db5cf2c9",4928:"a4b1a237",4973:"129c56e8",4994:"50caae56",5022:"81b1b86b",5043:"247e6954",5048:"aa08c681",5096:"4f6a4d00",5111:"5d09a39a",5125:"57501e4a",5148:"572faeac",5176:"9c49e7fa",5179:"21f01751",5186:"aeb0dc56",5191:"0af389b2",5238:"3d814a61",5297:"5426028f",5319:"34217c3f",5335:"fec6fd9f",5357:"1fbb7d24",5359:"b254a598",5382:"0c911991",5402:"60617d0d",5470:"b25021a2",5518:"9f425be3",5549:"39285664",5572:"c945fbf2",5573:"6ecf393c",5599:"2ae54005",5624:"0208754c",5650:"f8f63f4b",5705:"df6bf207",5729:"46f9b5d4",5775:"8945cad2",5786:"37a81eaa",5798:"ce1cf7da",5816:"d749b200",5825:"73177a8c",5888:"193a7f8f",5891:"3b7a128f",5895:"9ddd624a",5915:"bc9c3e69",5972:"c7a91e8e",5992:"419f5d2f",6029:"2ded5a5a",6052:"59cb6398",6063:"a5f0409a",6069:"b4a6d2ab",6127:"f31505a8",6265:"9459eb93",6270:"cc24b0fc",6277:"12e50919",6328:"de2b9d62",6366:"079fc2d8",6434:"0112f8db",6444:"fd46d237",6452:"50a6d310",6541:"d1c967cd",6583:"7d33505d",6587:"9c49e7fa",6634:"df151169",6651:"b07fe216",6685:"f5f5b969",6729:"aea3b7f5",6741:"b838eb14",6758:"558cc090",6784:"1affe817",6788:"9cd39ff5",6796:"89c76e37",6805:"5b253c81",6820:"cebdf1cf",6845:"b7aabf70",6882:"c2d2eada",6883:"7740a702",6904:"44afaa9b",6913:"739202fe",6963:"84e145fa",6982:"3043a9c3",7008:"fe74a83d",7043:"25478869",7045:"48f6fc4c",7046:"c7301ded",7058:"984a456a",7062:"fe78dd10",7178:"6e47d75d",7182:"183c9793",7242:"4f353f61",7260:"2c380d56",7395:"5c10e8d8",7460:"dedd2038",7477:"832457fc",7482:"c37a3f01",7527:"6b64ff47",7545:"1f6a7624",7560:"d82e43ca",7589:"2a3e68f3",7614:"de9ee12f",7622:"ca0e645a",7806:"80b7b1d6",7852:"fce1e197",7855:"3970a709",7857:"13a29416",7878:"8dfa25f5",7884:"1ca6cde0",7922:"c1d9e2f3",7948:"bed733e5",8014:"9ef39203",8062:"8e384b9f",8072:"540f746b",8077:"0b2c51d9",8085:"0b7f10a8",8143:"b6ca83ad",8155:"d345abd7",8237:"44654223",8241:"02a0cb2f",8302:"b4649ac5",8307:"02e15761",8398:"cf8eb735",8431:"60a111b6",8435:"21d4dff0",8447:"0875c082",8517:"cccfddad",8563:"3a763677",8634:"317d0a2b",8665:"c52575bc",8688:"c044db56",8689:"459af240",8723:"5166ac36",8782:"918afc23",8787:"121de108",8797:"13e5189e",8823:"9e7a9852",8827:"1664c93f",8866:"664121ad",8882:"f3e42f72",8885:"de905169",8982:"6e2e337e",8999:"448aa22f",9076:"6a501148",9133:"ab171f08",9205:"49a3e67d",9215:"f737e7e7",9332:"a627cf98",9360:"27c7d4f7",9366:"4f511490",9391:"c11edda0",9404:"d8cf04f7",9408:"d3565b1a",9416:"6ead6660",9487:"a73f5679",9489:"ee2bb5b7",9507:"396e34cd",9519:"88d248ee",9590:"29583579",9647:"452de157",9649:"00fb4211",9674:"d0f91ed7",9677:"26548cb7",9695:"bb84056a",9715:"b6c6645f",9716:"a5750e0d",9785:"08d36549",9788:"781a4d20",9890:"9ebce4ba",9891:"512a9301",9921:"e0db9101",9922:"33690872",9944:"1ba31055"}[d]+".chunk.css"}}(),function(){__webpack_require__.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch(d){if(typeof window=="object")return window}}()}(),function(){__webpack_require__.hmd=function(d){return d=Object.create(d),d.children||(d.children=[]),Object.defineProperty(d,"exports",{enumerable:!0,set:function(){throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+d.id)}}),d}}(),function(){__webpack_require__.o=function(d,g){return Object.prototype.hasOwnProperty.call(d,g)}}(),function(){var d={};__webpack_require__.l=function(g,e,r,i){if(d[g]){d[g].push(e);return}var l,c;if(r!==void 0)for(var f=document.getElementsByTagName("script"),o=0;o0&&arguments[0]!==void 0?arguments[0]:"";return Cn.endsWith("/")?Cn:"".concat(Cn,"/")}var ju=__webpack_require__(38127),Uo=__webpack_require__(38329),_l=__webpack_require__(8616),Uu=["content"],bu=["content"],qu=/^(http:|https:)?\/\//;function ml(Cn){return qu.test(Cn)||Cn.startsWith("/")&&!Cn.startsWith("/*")||Cn.startsWith("./")||Cn.startsWith("../")}var su=function(){return ze.createElement("noscript",{dangerouslySetInnerHTML:{__html:"Enable JavaScript to run this app."}})},Ju=function(Gn){var Bi,ba=Gn.loaderData,Wi=Gn.htmlPageOpts,na=Gn.manifest,va=(na==null||(Bi=na.assets)===null||Bi===void 0?void 0:Bi["umi.css"])||"";return ze.createElement("script",{suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:"window.__UMI_LOADER_DATA__ = ".concat(JSON.stringify(ba||{}),"; window.__UMI_METADATA_LOADER_DATA__ = ").concat(JSON.stringify(Wi||{}),"; window.__UMI_BUILD_ClIENT_CSS__ = '").concat(va,"'")}})};function Qo(Cn){var Gn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(typeof Cn=="string")return ml(Cn)?(0,$o.Z)({src:Cn},Gn):{content:Cn};if((0,_l.Z)(Cn)==="object")return(0,$o.Z)((0,$o.Z)({},Cn),Gn);throw new Error("Invalid script type: ".concat((0,_l.Z)(Cn)))}function xf(Cn){return ml(Cn)?{type:"link",href:Cn}:{type:"style",content:Cn}}var kl=function(Gn){var Bi,ba,Wi,na,va,ls,Ni=Gn.htmlPageOpts;return ze.createElement(ze.Fragment,null,(Ni==null?void 0:Ni.title)&&ze.createElement("title",null,Ni.title),Ni==null||(Bi=Ni.favicons)===null||Bi===void 0?void 0:Bi.map(function(cs,Du){return ze.createElement("link",{key:Du,rel:"shortcut icon",href:cs})}),(Ni==null?void 0:Ni.description)&&ze.createElement("meta",{name:"description",content:Ni.description}),(Ni==null||(ba=Ni.keywords)===null||ba===void 0?void 0:ba.length)&&ze.createElement("meta",{name:"keywords",content:Ni.keywords.join(",")}),Ni==null||(Wi=Ni.metas)===null||Wi===void 0?void 0:Wi.map(function(cs){return ze.createElement("meta",{key:cs.name,name:cs.name,content:cs.content})}),Ni==null||(na=Ni.links)===null||na===void 0?void 0:na.map(function(cs,Du){return ze.createElement("link",(0,Uo.Z)({key:Du},cs))}),Ni==null||(va=Ni.styles)===null||va===void 0?void 0:va.map(function(cs,Du){var Ou=xf(cs),rl=Ou.type,Gu=Ou.href,wl=Ou.content;if(rl==="link")return ze.createElement("link",{key:Du,rel:"stylesheet",href:Gu});if(rl==="style")return ze.createElement("style",{key:Du},wl)}),Ni==null||(ls=Ni.headScripts)===null||ls===void 0?void 0:ls.map(function(cs,Du){var Ou=Qo(cs),rl=Ou.content,Gu=(0,ju.Z)(Ou,Uu);return ze.createElement("script",(0,Uo.Z)({dangerouslySetInnerHTML:{__html:rl},key:Du},Gu))}))};function uo(Cn){var Gn,Bi=Cn.children,ba=Cn.loaderData,Wi=Cn.manifest,na=Cn.htmlPageOpts,va=Cn.__INTERNAL_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,ls=Cn.mountElementId;if(va!=null&&va.pureHtml)return ze.createElement("html",null,ze.createElement("head",null),ze.createElement("body",null,ze.createElement(su,null),ze.createElement("div",{id:ls},Bi),ze.createElement(Ju,{manifest:Wi,loaderData:ba,htmlPageOpts:na})));if(va!=null&&va.pureApp)return ze.createElement(ze.Fragment,null,Bi);var Ni=typeof window=="undefined"?Wi==null?void 0:Wi.assets["umi.css"]:window.__UMI_BUILD_ClIENT_CSS__;return ze.createElement("html",{suppressHydrationWarning:!0,lang:(na==null?void 0:na.lang)||"en"},ze.createElement("head",null,ze.createElement("meta",{charSet:"utf-8"}),ze.createElement("meta",{name:"viewport",content:"width=device-width, initial-scale=1"}),Ni&&ze.createElement("link",{suppressHydrationWarning:!0,rel:"stylesheet",href:Ni}),ze.createElement(kl,{htmlPageOpts:na})),ze.createElement("body",null,ze.createElement(su,null),ze.createElement("div",{id:ls},Bi),ze.createElement(Ju,{manifest:Wi,loaderData:ba,htmlPageOpts:na}),na==null||(Gn=na.scripts)===null||Gn===void 0?void 0:Gn.map(function(cs,Du){var Ou=Qo(cs),rl=Ou.content,Gu=(0,ju.Z)(Ou,bu);return ze.createElement("script",(0,Uo.Z)({dangerouslySetInnerHTML:{__html:rl},key:Du},Gu))})))}var Iu=ze.createContext(void 0);function Dc(){return ze.useContext(Iu)}var Ql=["redirect"];function vl(Cn){var Gn=Cn.routesById,Bi=Cn.parentId,ba=Cn.routeComponents,Wi=Cn.useStream,na=Wi===void 0?!0:Wi;return Object.keys(Gn).filter(function(va){return Gn[va].parentId===Bi}).map(function(va){var ls=ql((0,$o.Z)((0,$o.Z)({route:Gn[va],routeComponent:ba[va],loadingComponent:Cn.loadingComponent,reactRouter5Compat:Cn.reactRouter5Compat},Cn.reactRouter5Compat&&{hasChildren:Object.keys(Gn).filter(function(cs){return Gn[cs].parentId===va}).length>0}),{},{useStream:na})),Ni=vl({routesById:Gn,routeComponents:ba,parentId:ls.id,loadingComponent:Cn.loadingComponent,reactRouter5Compat:Cn.reactRouter5Compat,useStream:na});return Ni.length>0&&(ls.children=Ni,ls.routes=Ni),ls})}function Rl(Cn){var Gn=(0,Xo.UO)(),Bi=(0,Xo.Gn)(Cn.to,Gn),ba=(0,Xl.T$)(),Wi=(0,Xo.TH)();if(ba!=null&&ba.keepQuery){var na=Wi.search+Wi.hash;Bi+=na}var va=(0,$o.Z)((0,$o.Z)({},Cn),{},{to:Bi});return ze.createElement(Xo.Fg,(0,Uo.Z)({replace:!0},va))}function ql(Cn){var Gn=Cn.route,Bi=Cn.useStream,ba=Bi===void 0?!0:Bi,Wi=Gn.redirect,na=(0,ju.Z)(Gn,Ql),va=Cn.reactRouter5Compat?dc:Ll;return(0,$o.Z)({element:Wi?ze.createElement(Rl,{to:Wi}):ze.createElement(Iu.Provider,{value:{route:Cn.route}},ze.createElement(va,{loader:ze.memo(Cn.routeComponent),loadingComponent:Cn.loadingComponent||Oc,hasChildren:Cn.hasChildren,useStream:ba}))},na)}function Oc(){return ze.createElement("div",null)}function dc(Cn){var Gn=Dc(),Bi=Gn.route,ba=(0,Xl.Ov)(),Wi=ba.history,na=ba.clientRoutes,va=(0,Xo.UO)(),ls={params:va,isExact:!0,path:Bi.path,url:Wi.location.pathname},Ni=Cn.loader,cs={location:Wi.location,match:ls,history:Wi,params:va,route:Bi,routes:na};return Cn.useStream?ze.createElement(ze.Suspense,{fallback:ze.createElement(Cn.loadingComponent,null)},ze.createElement(Ni,cs,Cn.hasChildren&&ze.createElement(Xo.j3,null))):ze.createElement(Ni,cs,Cn.hasChildren&&ze.createElement(Xo.j3,null))}function Ll(Cn){var Gn=Cn.loader;return Cn.useStream?ze.createElement(ze.Suspense,{fallback:ze.createElement(Cn.loadingComponent,null)},ze.createElement(Gn,null)):ze.createElement(Gn,null)}var Ml=null;function zu(){return Ml}function kc(Cn){var Gn=Cn.history,Bi=ze.useState({action:Gn.action,location:Gn.location}),ba=(0,pl.Z)(Bi,2),Wi=ba[0],na=ba[1];return(0,ze.useLayoutEffect)(function(){return Gn.listen(na)},[Gn]),(0,ze.useLayoutEffect)(function(){function va(ls){Cn.pluginManager.applyPlugins({key:"onRouteChange",type:"event",args:{routes:Cn.routes,clientRoutes:Cn.clientRoutes,location:ls.location,action:ls.action,basename:Cn.basename,isFirst:!!ls.isFirst}})}return va({location:Wi.location,action:Wi.action,isFirst:!0}),Gn.listen(va)},[Gn,Cn.routes,Cn.clientRoutes]),ze.createElement(Xo.F0,{navigator:Gn,location:Wi.location,basename:Cn.basename},Cn.children)}function To(){var Cn=(0,Xl.Ov)(),Gn=Cn.clientRoutes;return(0,Xo.V$)(Gn)}var qo=["innerProvider","i18nProvider","accessProvider","dataflowProvider","outerProvider","rootContainer"],Fl=function(Gn,Bi){var ba=Gn.basename||"/",Wi=vl({routesById:Gn.routes,routeComponents:Gn.routeComponents,loadingComponent:Gn.loadingComponent,reactRouter5Compat:Gn.reactRouter5Compat,useStream:Gn.useStream});Gn.pluginManager.applyPlugins({key:"patchClientRoutes",type:"event",args:{routes:Wi}});for(var na=ze.createElement(kc,{basename:ba,pluginManager:Gn.pluginManager,routes:Gn.routes,clientRoutes:Wi,history:Gn.history},Bi),va=0,ls=qo;vanew Promise((ba,Wi)=>{var na=Ni=>{try{ls(Bi.next(Ni))}catch(cs){Wi(cs)}},va=Ni=>{try{ls(Bi.throw(Ni))}catch(cs){Wi(cs)}},ls=Ni=>Ni.done?ba(Ni.value):Promise.resolve(Ni.value).then(na,va);ls((Bi=Bi.apply(Cn,Gn)).next())});function Kc(){return Jl(this,null,function*(){return{routes:{1:{path:"/",parentId:"@@/global-layout",id:"1"},2:{path:"/paperlibrary",parentId:"1",id:"2"},3:{path:"/paperlibrary",parentId:"2",id:"3"},4:{path:"/paperlibrary/add",parentId:"2",id:"4"},5:{path:"/paperlibrary/add/:id",parentId:"2",id:"5"},6:{path:"/paperlibrary/see/:id",parentId:"2",id:"6"},7:{path:"/paperlibrary/edit_select/:id",parentId:"2",id:"7"},8:{path:"/paperlibrary/exchangequestion",parentId:"2",id:"8"},9:{path:"/paths",parentId:"1",id:"9"},10:{path:"/paths",parentId:"9",id:"10"},11:{path:"/paths/higherVocationalEducation",parentId:"9",id:"11"},12:{path:"/paths/new",parentId:"9",id:"12"},13:{path:"/paths/guidance",exact:!0,parentId:"9",id:"13"},14:{path:"/paths/:pathId",parentId:"9",id:"14"},15:{path:"/paths/:pathId/statistics",parentId:"9",id:"15"},16:{path:"/paths/:pathId/edit",parentId:"9",id:"16"},17:{path:"/paths/:pathId/:stageId/program_homework/:categoryId/add",parentId:"9",id:"17"},18:{path:"/paths/:pathId/:stageId/program_homework/:categoryId/edit",parentId:"9",id:"18"},19:{path:"/classrooms",parentId:"1",id:"19"},20:{path:"/classrooms",parentId:"19",id:"20"},21:{path:"/classrooms/examList",parentId:"19",id:"21"},22:{path:"/classrooms/classicCases",parentId:"19",id:"22"},23:{path:"/classrooms/index",parentId:"19",id:"23"},24:{path:"/classrooms/new",parentId:"19",id:"24"},25:{path:"/classrooms/:coursesId/edit",parentId:"19",id:"25"},26:{path:"/classrooms/news/:subjectid/newgold/:id",parentId:"19",id:"26"},27:{path:"/classrooms/:coursesId/newgolds/settings",parentId:"19",id:"27"},28:{path:"/classrooms/:coursesId/shixun_homework/:categoryId/review_detail/:userId",parentId:"19",id:"28"},29:{path:"/classrooms/:coursesId/common_homework/:categoryId/review_detail/:userId",parentId:"19",id:"29"},30:{path:"/classrooms/:coursesId/program_homework/:categoryId/review_detail/:userId",parentId:"19",id:"30"},31:{path:"/classrooms/:coursesId/shixun_homework/:categoryId/detail",parentId:"19",id:"31"},32:{path:"/classrooms/:coursesId/shixun_homework/:categoryId/:homeworkId/comment",parentId:"19",id:"32"},33:{path:"/classrooms/:coursesId/common_homework/:categoryId/:homeworkId/comment",parentId:"19",id:"33"},34:{path:"/classrooms/:coursesId/shixun_homework/:categoryId/:homeworkId/commitsummary",parentId:"19",id:"34"},35:{path:"/classrooms/:coursesId/group_homework/:categoryId/detail",parentId:"19",id:"35"},36:{path:"/classrooms/:coursesId/common_homework/:categoryId/detail",parentId:"19",id:"36"},37:{path:"/classrooms/:coursesId/common_homework/:categoryId/review/:userId",parentId:"19",id:"37"},38:{path:"/classrooms/:coursesId/group_homework/:commonHomeworkId/review/:userId",parentId:"19",id:"38"},39:{path:"/classrooms/:coursesId/group_homework/:commonHomeworkId/post",parentId:"19",id:"39"},40:{path:"/classrooms/:coursesId/group_homework/:commonHomeworkId/:homeworkId/edit",parentId:"19",id:"40"},41:{path:"/classrooms/:coursesId/exercise/:categoryId/detail/:userId/review_detail",parentId:"19",id:"41"},42:{path:"/classrooms/:coursesId/exercise/:categoryId/detail",parentId:"19",id:"42"},43:{path:"/classrooms/:coursesId/exercise/:categoryId/preview_select",parentId:"19",id:"43"},44:{path:"/classrooms/:coursesId/exercise/:categoryId/:login/initate_answer",parentId:"19",id:"44"},45:{path:"/classrooms/:coursesId/exercise/:categoryId/users/:login",parentId:"19",id:"45"},46:{path:"/classrooms/:coursesId/exercisenotice/:categoryId/users/:login",parentId:"19",id:"46"},47:{path:"/classrooms/:coursesId/exercise/:categoryId/random/edit",parentId:"19",id:"47"},48:{path:"/classrooms/:coursesId/exercise/:categoryId/random/preview",parentId:"19",id:"48"},49:{path:"/classrooms/:coursesId/exercise/add",parentId:"19",id:"49"},50:{path:"/classrooms/:coursesId/exercise/add/:exerciseId",parentId:"19",id:"50"},51:{path:"/classrooms/:coursesId/exercise/:exerciseId/reviews/group",parentId:"19",id:"51"},52:{path:"/classrooms/:coursesId/exercise/:exerciseId/review/:userId",parentId:"19",id:"52"},53:{path:"/classrooms/:coursesId/exercise/:exerciseId/centralizeReview/:userId",parentId:"19",id:"53"},54:{path:"/classrooms/:coursesId/exercise/:exerciseId/export_blank",parentId:"19",id:"54"},55:{path:"/classrooms/:coursesId/exercise/:exerciseId/sumup",parentId:"19",id:"55"},56:{path:"/classrooms/:coursesId/exercise/:exerciseId/sumup/edit",parentId:"19",id:"56"},57:{path:"/classrooms/:coursesId/exercise/:exerciseId/analysis/:studentId",parentId:"19",id:"57"},58:{path:"/classrooms/:coursesId/shixun_homework/:exerciseId/analysis/:studentId",parentId:"19",id:"58"},59:{path:"/classrooms/:coursesId/exercise/:exerciseId/analysis/:studentId/code",parentId:"19",id:"59"},60:{path:"/classrooms/:coursesId/shixun_homework/:exerciseId/analysis/:studentId/code",parentId:"19",id:"60"},61:{path:"/classrooms/:coursesId/graduation_topics/:categoryId/detail",parentId:"19",id:"61"},62:{path:"/classrooms/:coursesId/graduation_topics/:categoryId/add",parentId:"19",id:"62"},63:{path:"/classrooms/:coursesId/graduation_topics/:categoryId/edit",parentId:"19",id:"63"},64:{path:"/classrooms/:coursesId/graduation_tasks/:categoryId/add",parentId:"19",id:"64"},65:{path:"/classrooms/:coursesId/graduation_tasks/:categoryId/edit",parentId:"19",id:"65"},66:{path:"/classrooms/:coursesId/graduation_tasks/:categoryId/detail",parentId:"19",id:"66"},67:{path:"/classrooms/:coursesId/common_homework/:categoryId/add",parentId:"19",id:"67"},68:{path:"/classrooms/:coursesId/common_homework/:categoryId/edit",parentId:"19",id:"68"},69:{path:"/classrooms/:coursesId/common_homework/:commonHomeworkId/post",parentId:"19",id:"69"},70:{path:"/classrooms/:coursesId/common_homework/:commonHomeworkId/:homeworkId/edit",parentId:"19",id:"70"},71:{path:"/classrooms/:coursesId/group_homework/:categoryId/add",parentId:"19",id:"71"},72:{path:"/classrooms/:coursesId/group_homework/:categoryId/edit",parentId:"19",id:"72"},73:{path:"/classrooms/:coursesId/poll/:categoryId/add",parentId:"19",id:"73"},74:{path:"/classrooms/:coursesId/poll/:categoryId/edit",parentId:"19",id:"74"},75:{path:"/classrooms/:coursesId/poll/:categoryId/detail",parentId:"19",id:"75"},76:{path:"/classrooms/:coursesId/poll/:categoryId/users/:login",parentId:"19",id:"76"},77:{path:"/classrooms/:coursesId/poll/:categoryId/questionnaireInfo/:login",parentId:"19",id:"77"},78:{path:"/classrooms/:coursesId/board/:categoryId/Add",parentId:"19",id:"78"},79:{path:"/classrooms/:coursesId/board/:categoryId/Edit/:boardId",parentId:"19",id:"79"},80:{path:"/classrooms/:coursesId/board/:categoryId/Detail/:boardId",parentId:"19",id:"80"},81:{path:"/classrooms/:courseId/template/:templateId",parentId:"19",id:"81"},82:{path:"/classrooms/:courseId/common_homework/:homeworkId/lab-report/:reportId",parentId:"19",id:"82"},83:{path:"/classrooms/guidance",parentId:"19",id:"83"},84:{path:"/classrooms/:courseId/common_homework/:homeworkId/lab-report-view/:workId",parentId:"19",id:"84"},85:{path:"/classrooms/:coursesId/exercise/:categoryId/users/:login/check",parentId:"19",id:"85"},86:{path:"/classrooms/:coursesId/Studentdetail/:login",parentId:"19",id:"86"},87:{path:"/classrooms/:coursesId/StudentSituation/:categoryId/:login",parentId:"19",id:"87"},88:{path:"/classrooms/:coursesId/engineering/datail",parentId:"19",id:"88"},89:{path:"/classrooms/:coursesId/program_homework/:categoryId/add",parentId:"19",id:"89"},90:{path:"/classrooms/:coursesId/program_homework/:categoryId/edit",parentId:"19",id:"90"},91:{path:"/classrooms/:coursesId/program_homework/ranking",parentId:"19",id:"91"},92:{path:"/classrooms/:coursesId/program_homework/:categoryId/detail",parentId:"19",id:"92"},93:{path:"/classrooms/:coursesId/program_homework/:categoryId/:homeworkId/ranking",parentId:"19",id:"93"},94:{path:"/classrooms/:coursesId/program_homework/:categoryId/:homeworkId/:user_id/comment",parentId:"19",id:"94"},95:{path:"/classrooms/:coursesId/program_homework/:categoryId/answer",parentId:"19",id:"95"},96:{path:"/classrooms/:coursesId/program_homework/:categoryId/answer/add",parentId:"19",id:"96"},97:{path:"/classrooms/:coursesId/program_homework/:categoryId/answer/:answerid/edit",parentId:"19",id:"97"},98:{path:"/classrooms/:coursesId/program_homework/:categoryId/answer/:answerid/detail",parentId:"19",id:"98"},99:{path:"/classrooms/:videoId/video_info",parentId:"19",id:"99"},100:{path:"/classrooms/",parentId:"19",id:"100"},101:{path:"/classrooms/:coursesId/shixun_homework/:categoryId",parentId:"100",id:"101"},102:{path:"/classrooms/:coursesId/shixun_homework",parentId:"100",id:"102"},103:{path:"/classrooms/:coursesId/graduation_topics/:categoryId",parentId:"100",id:"103"},104:{path:"/classrooms/:coursesId/graduation_tasks/:categoryId",parentId:"100",id:"104"},105:{path:"/classrooms/:coursesId/graduation_tasks/:categoryId",parentId:"100",id:"105"},106:{path:"/classrooms/:coursesId/exercise/:categoryId",parentId:"100",id:"106"},107:{path:"/classrooms/:coursesId/exercise",parentId:"100",id:"107"},108:{path:"/classrooms/:coursesId/poll/:categoryId",parentId:"100",id:"108"},109:{path:"/classrooms/:coursesId/poll",parentId:"100",id:"109"},110:{path:"/classrooms/:coursesId/common_homework/:categoryId",parentId:"100",id:"110"},111:{path:"/classrooms/:coursesId/common_homework",parentId:"100",id:"111"},112:{path:"/classrooms/:coursesId/group_homework/:categoryId",parentId:"100",id:"112"},113:{path:"/classrooms/:coursesId/group_homework",parentId:"100",id:"113"},114:{path:"/classrooms/:coursesId/teachers",parentId:"100",id:"114"},115:{path:"/classrooms/:coursesId/students",parentId:"100",id:"115"},116:{path:"/classrooms/:coursesId/assistant",parentId:"100",id:"116"},117:{path:"/classrooms/:coursesId/program_homework",parentId:"100",id:"117"},118:{path:"/classrooms/:coursesId/program_homework/:categoryId",parentId:"100",id:"118"},119:{path:"/classrooms/:coursesId/engineering",parentId:"100",id:"119"},120:{path:"/classrooms/:coursesId/learning_path",parentId:"100",id:"120"},121:{path:"/classrooms/:coursesId/resource_recommend",parentId:"100",id:"121"},122:{path:"/classrooms/:coursesId/attendance",parentId:"100",id:"122"},123:{path:"/classrooms/:coursesId/attendance/StudetnSign",parentId:"100",id:"123"},124:{path:"/classrooms/:coursesId/attendance/:categoryId/:tabId/detail",parentId:"100",id:"124"},125:{path:"/classrooms/:coursesId/announcement",parentId:"100",id:"125"},126:{path:"/classrooms/:coursesId/announcement/:categoryId",parentId:"100",id:"126"},127:{path:"/classrooms/:coursesId/online_learning",parentId:"100",id:"127"},128:{path:"/classrooms/:coursesId/online_learning/:categoryId",parentId:"100",id:"128"},129:{path:"/classrooms/:coursesId/attachment/:categoryId",parentId:"100",id:"129"},130:{path:"/classrooms/:coursesId/attachment",parentId:"100",id:"130"},131:{path:"/classrooms/:coursesId/video",parentId:"100",id:"131"},132:{path:"/classrooms/:coursesId/video/:categoryId",parentId:"100",id:"132"},133:{path:"/classrooms/:coursesId/video/:categoryId/statistics",parentId:"100",id:"133"},134:{path:"/classrooms/:coursesId/video/:username/upload",parentId:"100",id:"134"},135:{path:"/classrooms/:coursesId/video/:categoryId/statistics/:videoId",parentId:"100",id:"135"},136:{path:"/classrooms/:coursesId/video/:categoryId/statistics/:videoId/:userId",parentId:"100",id:"136"},137:{path:"/classrooms/:coursesId/live_video/:categoryId",parentId:"100",id:"137"},138:{path:"/classrooms/:coursesId/live_video",parentId:"100",id:"138"},139:{path:"/classrooms/:coursesId/video/:categoryId/studentstatistics",parentId:"100",id:"139"},140:{path:"/classrooms/:coursesId/board/:categoryId",parentId:"100",id:"140"},141:{path:"/classrooms/:coursesId/board",parentId:"100",id:"141"},142:{path:"/classrooms/:coursesId/course_group",parentId:"100",id:"142"},143:{path:"/classrooms/:coursesId/course_group/:categoryId",parentId:"100",id:"143"},144:{path:"/classrooms/:coursesId/course_group/:categoryId/detail",parentId:"100",id:"144"},145:{path:"/classrooms/:coursesId/not_course_group/:categoryId",parentId:"100",id:"145"},146:{path:"/classrooms/:coursesId/not_course_group",parentId:"100",id:"146"},147:{path:"/classrooms/:coursesId/statistics/",parentId:"100",id:"147"},148:{path:"/classrooms/:coursesId/statistics/:categoryId",parentId:"100",id:"148"},149:{path:"/classrooms/:coursesId/statistics_video/:categoryId",parentId:"100",id:"149"},150:{path:"/classrooms/:coursesId/statistics_quality/:categoryId",parentId:"100",id:"150"},151:{path:"/classrooms/:coursesId/statistics_user_portrait/:categoryId",parentId:"100",id:"151"},152:{path:"/classrooms/:coursesId/student_statistics/:categoryId",parentId:"100",id:"152"},153:{path:"/classrooms/:coursesId/student_statistics/:categoryId/:listId/:type",parentId:"100",id:"153"},154:{path:"/classrooms/:coursesId/video_statistics/:categoryId/Student/:studentid",parentId:"100",id:"154"},155:{path:"/classrooms/:coursesId/exportlist/:type",parentId:"100",id:"155"},156:{path:"/classrooms/:coursesId",parentId:"100",id:"156"},157:{path:"/classrooms/:coursesId/template",parentId:"100",id:"157"},158:{path:"/competitions",parentId:"1",id:"158"},159:{path:"/competitions/index",parentId:"158",id:"159"},160:{path:"/competitions/:identifier/list",parentId:"158",id:"160"},161:{path:"/competitions/exports",parentId:"158",id:"161"},162:{path:"/competitions",parentId:"158",id:"162"},163:{path:"/competitions/:identifier",parentId:"158",id:"163"},164:{path:"/competitions/index/:identifier",parentId:"158",id:"164"},165:{path:"/competitions/:identifier/detail/enroll",parentId:"158",id:"165"},166:{path:"/competitions/:identifier/detail/UpdateTeanname/:Teannameid",parentId:"158",id:"166"},167:{path:"/competitions/:identifier/detail/teamDetail/:Teamid",parentId:"158",id:"167"},168:{path:"/competitions/detail/:identifier",parentId:"158",id:"168"},169:{path:"/forums",parentId:"1",id:"169"},170:{path:"/forums",parentId:"169",id:"170"},171:{path:"/forums/categories/:memoType",parentId:"169",id:"171"},172:{path:"/forums/new",parentId:"169",id:"172"},173:{path:"/forums/:memoId/edit",parentId:"169",id:"173"},174:{path:"/forums/:memoId",parentId:"169",id:"174"},175:{path:"/problemset",parentId:"1",id:"175"},176:{path:"/problemset",parentId:"175",id:"176"},177:{path:"/problemset/newitem",parentId:"175",id:"177"},178:{path:"/problemset/:type/:id",parentId:"175",id:"178"},179:{path:"/problemset/preview",parentId:"175",id:"179"},180:{path:"/problemset/preview_new",parentId:"175",id:"180"},181:{path:"/problemset/preview_select",parentId:"175",id:"181"},182:{path:"/shixuns",parentId:"1",id:"182"},183:{path:"/shixuns",parentId:"182",id:"183"},184:{path:"/shixuns/exports",parentId:"182",id:"184"},185:{path:"/shixuns/new",parentId:"182",id:"185"},186:{path:"/shixuns/new/CreateImg",parentId:"182",id:"186"},187:{path:"/shixuns/new/:id/imagepreview",parentId:"182",id:"187"},188:{path:"/shixuns/:id/Merge",parentId:"182",id:"188"},189:{path:"/shixuns/:id/Split",parentId:"182",id:"189"},190:{path:"/shixuns/:id/edit",parentId:"182",id:"190"},191:{path:"shixuns/:id/edit/warehouse",parentId:"190",id:"191"},192:{path:"/shixuns/:id/edit/newquestion",parentId:"190",id:"192"},193:{path:"/shixuns/:id/edit/:challengesId/editquestion",parentId:"190",id:"193"},194:{path:"/shixuns/:id/edit/:challengesId/editquestion/:questionId",parentId:"190",id:"194"},195:{path:"/shixuns/:id/edit/new",parentId:"190",id:"195"},196:{path:"/shixuns/:id/edit/:challengesId/editcheckpoint",parentId:"190",id:"196"},197:{path:"/shixuns/:id/edit/:challengesId/tab=2",parentId:"190",id:"197"},198:{path:"/shixuns/:id/edit/:challengesId/tab=3",parentId:"190",id:"198"},199:{path:"/shixuns/:id/edit/:challengesId/tab=4",parentId:"190",id:"199"},200:{path:"/shixuns/:id",parentId:"182",id:"200"},201:{path:"/shixuns/:id/challenges",parentId:"200",id:"201"},202:{path:"/shixuns/:id/repository",parentId:"200",id:"202"},203:{path:"/shixuns/:id/secret_repository",parentId:"200",id:"203"},204:{path:"/shixuns/:id/collaborators",parentId:"200",id:"204"},205:{path:"/shixuns/:id/dataset",parentId:"200",id:"205"},206:{path:"/shixuns/:id/dataset/jupyterEdit",parentId:"200",id:"206"},207:{path:"/shixuns/:id/shixun_discuss",parentId:"200",id:"207"},208:{path:"/shixuns/:id/ranking_list",parentId:"200",id:"208"},209:{path:"/shixuns/:id/settings",parentId:"200",id:"209"},210:{path:"/shixuns/:id/repository/:repoId/commits",parentId:"200",id:"210"},211:{path:"/shixuns/:id/secret_repository/:repoId/commits",parentId:"200",id:"211"},212:{path:"/shixuns/:id/repository/upload_file",parentId:"200",id:"212"},213:{path:"/shixuns/:id/secret_repository/upload_file",parentId:"200",id:"213"},214:{path:"/shixuns/:id/repository/add_file",parentId:"200",id:"214"},215:{path:"/shixuns/:id/secret_repository/add_file",parentId:"200",id:"215"},216:{path:"/shixuns/:id/repository/master/shixun_show/:fileId",exact:!1,parentId:"200",id:"216"},217:{path:"/shixuns/:id/secret_repository/master/shixun_show/:fileId",exact:!1,parentId:"200",id:"217"},218:{path:"/shixuns/:id/audit_situation",parentId:"200",id:"218"},219:{path:"/shixuns/:id/fork_list",parentId:"200",id:"219"},220:{path:"/users",parentId:"1",id:"220"},221:{path:"/users/:username/videos/protocol",parentId:"220",id:"221"},222:{path:"/users/:username/videos/resourceProtocol",parentId:"220",id:"222"},223:{path:"/users/:username/videos/success",parentId:"220",id:"223"},224:{path:"/users/:username/topicbank/:topicstype",parentId:"220",id:"224"},225:{path:"/users/:username/topics/:topicId/:topictype/normal/detail",parentId:"220",id:"225"},226:{path:"/users/:username/topics/:topicId/:topictype/group/detail",parentId:"220",id:"226"},227:{path:"/users/:username/topics/:topicId/:topictype/normal/edit",parentId:"220",id:"227"},228:{path:"/users/:username/topics/:topicId/:topictype/group/edit",parentId:"220",id:"228"},229:{path:"/users/:username/topics/:topicId/:topictype/exercise/edit",parentId:"220",id:"229"},230:{path:"/users/:username/topics/:topicId/:topictype/exercise/detail",parentId:"220",id:"230"},231:{path:"/users/:username/topics/:topicId/:topictype/poll/edit",parentId:"220",id:"231"},232:{path:"/users/:username/topics/:topicId/:topictype/poll/detail",parentId:"220",id:"232"},233:{path:"/users/:username/experiment-img/add",parentId:"220",id:"233"},234:{path:"/users/:username",parentId:"220",id:"234"},235:{path:"/users/:username",parentId:"234",id:"235"},236:{path:"/users/:username/baseInfo/edit",parentId:"234",id:"236"},237:{path:"/users/:username/baseInfo",parentId:"234",id:"237"},238:{path:"/users/:username/realNameCertification",parentId:"234",id:"238"},239:{path:"/users/:username/careerCertification",parentId:"234",id:"239"},240:{path:"/users/:username/classrooms",parentId:"234",id:"240"},241:{path:"/users/:username/shixuns",parentId:"234",id:"241"},242:{path:"/users/:username/dataSet",parentId:"234",id:"242"},243:{path:"/users/:username/userPortrait",parentId:"234",id:"243"},244:{path:"/users/:username/learningPath",parentId:"234",id:"244"},245:{path:"/users/:username/teach-group",parentId:"234",id:"245"},246:{path:"/users/:username/competitions",parentId:"234",id:"246"},247:{path:"/users/:username/experiment-img",parentId:"234",id:"247"},248:{path:"/users/:username/experiment-img/:experid/detail",parentId:"234",id:"248"},249:{path:"/users/:username/certificate",parentId:"234",id:"249"},250:{path:"/users/:username/otherResources",parentId:"234",id:"250"},251:{path:"/users/:username/classmanagement",parentId:"234",id:"251"},252:{path:"/users/:username/classmanagement/:couserid",parentId:"234",id:"252"},253:{path:"/users/:username/paths",parentId:"234",id:"253"},254:{path:"/users/:username/projects",parentId:"234",id:"254"},255:{path:"/users/:username/videos",parentId:"234",id:"255"},256:{path:"/users/:username/videos/upload",parentId:"234",id:"256"},257:{path:"/users/:username/topics/:topicstype",parentId:"234",id:"257"},258:{path:"/users/:username/vspaces",parentId:"234",id:"258"},259:{path:"/users/:username/resourcesCenter",parentId:"234",id:"259"},260:{path:"/users/:username/resourcesCenter/:id/detail",parentId:"234",id:"260"},261:{path:"/users/:username/resourceGuarantee",parentId:"234",id:"261"},262:{path:"/users/:username/resourceAllocation",parentId:"234",id:"262"},263:{parentId:"1",id:"263"},264:{path:"/problems",parentId:"263",id:"264"},265:{path:"/problems",parentId:"264",id:"265"},266:{path:"/problems/batchAdd",parentId:"264",id:"266"},267:{path:"/problems/newcreate",parentId:"263",id:"267"},268:{path:"/problems/newedit/:id",exact:!0,parentId:"263",id:"268"},269:{path:"/problems/:id/edit",exact:!0,parentId:"263",id:"269"},270:{path:"/problems/new",exact:!0,parentId:"263",id:"270"},271:{path:"/problems/:id/oj/:save_identifier",parentId:"263",id:"271"},272:{path:"/problems/:id/record-detail/:submitId",parentId:"263",id:"272"},273:{path:"/problems/add",parentId:"263",id:"273"},274:{path:"/problems/:id/ojedit",parentId:"263",id:"274"},275:{path:"/engineering",parentId:"1",id:"275"},276:{path:"/engineering",parentId:"275",id:"276"},277:{path:"/engineering/teacherList",parentId:"276",id:"277"},278:{path:"/engineering/studentList",parentId:"276",id:"278"},279:{path:"/engineering/training/program",parentId:"276",id:"279"},280:{path:"/engineering/training/program/add",parentId:"276",id:"280"},281:{path:"/engineering/training/program/edit",parentId:"276",id:"281"},282:{path:"/engineering/training/objectives",parentId:"276",id:"282"},283:{path:"/engineering/graduated/index",parentId:"276",id:"283"},284:{path:"/engineering/graduated/matrix",parentId:"276",id:"284"},285:{path:"/engineering/course/list",parentId:"276",id:"285"},286:{path:"/engineering/course/setting",parentId:"276",id:"286"},287:{path:"/engineering/course/matrix",parentId:"276",id:"287"},288:{path:"/engineering/navigation",parentId:"276",id:"288"},289:{path:"/engineering/evaluate/course",parentId:"276",id:"289"},290:{path:"/engineering/evaluate/course/:ec_year_id/:id",parentId:"276",id:"290"},291:{path:"/engineering/evaluate/norm",parentId:"276",id:"291"},292:{path:"/engineering/evaluate/document",parentId:"276",id:"292"},293:{path:"/engineering/evaluate/norm/:ec_year_id/:id",parentId:"276",id:"293"},294:{path:"/engineering/*",redirect:"/404",parentId:"276",id:"294"},295:{path:"/innovation",parentId:"1",id:"295"},296:{path:"/innovation/tasks/:taskId",parentId:"295",id:"296"},297:{path:"/innovation",parentId:"295",id:"297"},298:{path:"/innovation/project",parentId:"297",id:"298"},299:{path:"/innovation/dataset",parentId:"297",id:"299"},300:{path:"/innovation/mirror",parentId:"297",id:"300"},301:{path:"/innovation/my-project",parentId:"297",id:"301"},302:{path:"/innovation/my-dataset",parentId:"297",id:"302"},303:{path:"/innovation/my-mirror",parentId:"297",id:"303"},304:{path:"/innovation/project/create",parentId:"297",id:"304"},305:{path:"/innovation/project/edit/:id",parentId:"297",id:"305"},306:{path:"/innovation/project/detail/:taskId",parentId:"297",id:"306"},307:{path:"/tasks",parentId:"1",id:"307"},308:{path:"/tasks/:taskId",exact:!0,parentId:"307",id:"308"},309:{path:"/tasks/:identifier/jupyter/",exact:!0,parentId:"307",id:"309"},310:{path:"/tasks/:courseId/:homeworkId/:taskId",exact:!0,parentId:"307",id:"310"},311:{path:"/tasks/jupyter/:courseId/:homeworkId/:identifier",exact:!0,parentId:"307",id:"311"},312:{path:"/tasks/:courseId/:exerciseId/:taskId/exercise",exact:!0,parentId:"307",id:"312"},313:{path:"/myproblems",parentId:"1",id:"313"},314:{path:"/myproblems/:id/record-detail/:submitId",exact:!0,parentId:"313",id:"314"},315:{path:"/myproblems/:id",exact:!0,parentId:"313",id:"315"},316:{path:"/account",parentId:"1",id:"316"},317:{path:"/account",parentId:"316",id:"317"},318:{path:"/account/profile",parentId:"317",id:"318"},319:{path:"/account/profile/edit",parentId:"317",id:"319"},320:{path:"/account/certification",parentId:"317",id:"320"},321:{path:"/account/secure",parentId:"317",id:"321"},322:{path:"/account/binding",parentId:"317",id:"322"},323:{path:"/account/Results",parentId:"317",id:"323"},324:{path:"/ch",parentId:"1",id:"324"},325:{path:"/ch/rest/edit/:categoryId/:id",exact:!0,parentId:"324",id:"325"},326:{path:"/ch/rest/",exact:!0,parentId:"324",id:"326"},327:{path:"/ch/rest/:id",exact:!0,parentId:"324",id:"327"},328:{path:"/order",parentId:"1",id:"328"},329:{path:"/order",parentId:"328",id:"329"},330:{path:"/order/invoice",parentId:"328",id:"330"},331:{path:"/order/records",parentId:"328",id:"331"},332:{path:"/order/apply",parentId:"328",id:"332"},333:{path:"/order/view",parentId:"328",id:"333"},334:{path:"/order/:courseId/information",parentId:"328",id:"334"},335:{path:"/order/:courseId/pay",parentId:"328",id:"335"},336:{path:"/order/:orderNum/result",parentId:"328",id:"336"},337:{path:"/messages",parentId:"1",id:"337"},338:{path:"/messages/:userId/user_tidings",parentId:"337",id:"338"},339:{path:"/messages/:userId/private_messages",parentId:"337",id:"339"},340:{path:"/messages/:userId/message_detail",parentId:"337",id:"340"},341:{path:"/vtrs",parentId:"1",id:"341"},342:{path:"/vtrs/:virtual_spacesId",parentId:"341",id:"342"},343:{path:"/vtrs/:virtual_spacesId",exact:!0,parentId:"342",id:"343"},344:{path:"/vtrs/:virtual_spacesId/workplace",exact:!0,parentId:"342",id:"344"},345:{path:"/vtrs/:virtual_spacesId/experiment",parentId:"342",id:"345"},346:{path:"/vtrs/:virtual_spacesId/announcement",parentId:"342",id:"346"},347:{path:"/vtrs/:virtual_spacesId/announcement/add",parentId:"342",id:"347"},348:{path:"/vtrs/:virtual_spacesId/announcement/:id/edit",parentId:"342",id:"348"},349:{path:"/vtrs/:virtual_spacesId/announcement/:id/detail",parentId:"342",id:"349"},350:{path:"/vtrs/:virtual_spacesId/survey",parentId:"342",id:"350"},351:{path:"/vtrs/:virtual_spacesId/survey/:id/detail",parentId:"342",id:"351"},352:{path:"/vtrs/:virtual_spacesId/knowledge",parentId:"342",id:"352"},353:{path:"/vtrs/:virtual_spacesId/knowledge/add",parentId:"342",id:"353"},354:{path:"/vtrs/:virtual_spacesId/knowledge/:id/edit",parentId:"342",id:"354"},355:{path:"/vtrs/:virtual_spacesId/material",parentId:"342",id:"355"},356:{path:"/vtrs/:virtual_spacesId/material/:id/detail",parentId:"342",id:"356"},357:{path:"/vtrs/:virtual_spacesId/lesson",parentId:"342",id:"357"},358:{path:"/vtrs/:virtual_spacesId/lesson/:id/detail",parentId:"342",id:"358"},359:{path:"/vtrs/:virtual_spacesId/lesson/:id/detail/:fileid",parentId:"342",id:"359"},360:{path:"/vtrs/:virtual_spacesId/discussion",parentId:"342",id:"360"},361:{path:"/vtrs/:virtual_spacesId/discussion/:id/detail",parentId:"342",id:"361"},362:{path:"/vtrs/:virtual_spacesId/discussion/:id/detail/:fileid",parentId:"342",id:"362"},363:{path:"/vtrs/:virtual_spacesId/settings",parentId:"342",id:"363"},364:{path:"/vtrs/:virtual_spacesId/resources",parentId:"342",id:"364"},365:{path:"/vtrs/:virtual_spacesId/resources/:id/detail",parentId:"342",id:"365"},366:{path:"/vtrs/:virtual_spacesId/Plan",parentId:"342",id:"366"},367:{path:"/vtrs/:virtual_spacesId/plan/:id/detail",parentId:"342",id:"367"},368:{path:"/vtrs/:virtual_spacesId/digtal",parentId:"342",id:"368"},369:{path:"/vtrs/:virtual_spacesId/homepage",parentId:"342",id:"369"},370:{path:"/vtrs/:virtual_spacesId/*",parentId:"342",id:"370"},371:{path:"/101",parentId:"1",id:"371"},372:{path:"/101/:virtual_spacesId",parentId:"371",id:"372"},373:{path:"/101/:virtual_spacesId",exact:!0,parentId:"372",id:"373"},374:{path:"/101/:virtual_spacesId/workplace",exact:!0,parentId:"372",id:"374"},375:{path:"/101/:virtual_spacesId/experiment",parentId:"372",id:"375"},376:{path:"/101/:virtual_spacesId/announcement",parentId:"372",id:"376"},377:{path:"/101/:virtual_spacesId/announcement/add",parentId:"372",id:"377"},378:{path:"/101/:virtual_spacesId/announcement/:id/edit",parentId:"372",id:"378"},379:{path:"/101/:virtual_spacesId/announcement/:id/detail",parentId:"372",id:"379"},380:{path:"/101/:virtual_spacesId/survey",parentId:"372",id:"380"},381:{path:"/101/:virtual_spacesId/survey/:id/detail",parentId:"372",id:"381"},382:{path:"/101/:virtual_spacesId/knowledge",parentId:"372",id:"382"},383:{path:"/101/:virtual_spacesId/knowledge/add",parentId:"372",id:"383"},384:{path:"/101/:virtual_spacesId/knowledge/:id/edit",parentId:"372",id:"384"},385:{path:"/101/:virtual_spacesId/material",parentId:"372",id:"385"},386:{path:"/101/:virtual_spacesId/material/:id/detail",parentId:"372",id:"386"},387:{path:"/101/:virtual_spacesId/lesson",parentId:"372",id:"387"},388:{path:"/101/:virtual_spacesId/lesson/:id/detail",parentId:"372",id:"388"},389:{path:"/101/:virtual_spacesId/lesson/:id/detail/:fileid",parentId:"372",id:"389"},390:{path:"/101/:virtual_spacesId/discussion",parentId:"372",id:"390"},391:{path:"/101/:virtual_spacesId/discussion/:id/detail",parentId:"372",id:"391"},392:{path:"/101/:virtual_spacesId/discussion/:id/detail/:fileid",parentId:"372",id:"392"},393:{path:"/101/:virtual_spacesId/settings",parentId:"372",id:"393"},394:{path:"/101/:virtual_spacesId/resources",parentId:"372",id:"394"},395:{path:"/101/:virtual_spacesId/resources/:id/detail",parentId:"372",id:"395"},396:{path:"/101/:virtual_spacesId/Plan",parentId:"372",id:"396"},397:{path:"/101/:virtual_spacesId/plan/:id/detail",parentId:"372",id:"397"},398:{path:"/101/:virtual_spacesId/digtal",parentId:"372",id:"398"},399:{path:"/101/:virtual_spacesId/homepage",parentId:"372",id:"399"},400:{path:"/101/:virtual_spacesId/*",parentId:"372",id:"400"},401:{path:"/administration",parentId:"1",id:"401"},402:{path:"/administration",parentId:"401",id:"402"},403:{path:"/administration/college",parentId:"402",id:"403"},404:{path:"/administration/student",parentId:"402",id:"404"},405:{path:"/administration/student/:studentId/edit",parentId:"402",id:"405"},406:{path:"/administration/profession",parentId:"402",id:"406"},407:{path:"/graduations",parentId:"1",id:"407"},408:{path:"/graduations",exact:!0,parentId:"407",id:"408"},409:{path:"/graduations/:id/:moduleKey/:moduleId/review/:itemId",exact:!0,parentId:"407",id:"409"},410:{path:"/graduations/:id",parentId:"407",id:"410"},411:{path:"/graduations/:id/index",parentId:"410",id:"411"},412:{path:"/graduations/:id/topics",parentId:"410",id:"412"},413:{path:"/graduations/:id/student_selection",parentId:"410",id:"413"},414:{path:"/graduations/:id/tasks",parentId:"410",id:"414"},415:{path:"/graduations/:id/opening_report",parentId:"410",id:"415"},416:{path:"/graduations/:id/midterm_report",parentId:"410",id:"416"},417:{path:"/graduations/:id/thesis",parentId:"410",id:"417"},418:{path:"/graduations/:id/final_defense",parentId:"410",id:"418"},419:{path:"/graduations/:id/final_thesis",parentId:"410",id:"419"},420:{path:"/graduations/:id/settings",parentId:"410",id:"420"},421:{path:"/graduations/:id/teachers",parentId:"410",id:"421"},422:{path:"/graduations/:id/students",parentId:"410",id:"422"},423:{path:"/graduations/:id/archives",parentId:"410",id:"423"},424:{path:"/graduations/:id/grading_summary",parentId:"410",id:"424"},425:{path:"/dataset",parentId:"1",id:"425"},426:{path:"/dataset",exact:!0,parentId:"425",id:"426"},427:{path:"/dataset/:id/detail",exact:!0,parentId:"425",id:"427"},428:{path:"/knowledgegraph",parentId:"1",id:"428"},429:{path:"/knowledgegraph/:pathId",parentId:"428",id:"429"},430:{path:"/knowledgegraph/:pathId/statistics",parentId:"428",id:"430"},431:{path:"/onlinenum",parentId:"1",id:"431"},432:{path:"/onlinenum",parentId:"431",id:"432"},433:{path:"/shixuncontext",parentId:"1",id:"433"},434:{path:"/shixuncontext",parentId:"433",id:"434"},435:{path:"/shixuncontext/:Id/detail",parentId:"433",id:"435"},436:{path:"/educoder-demo",exact:!0,parentId:"1",id:"436"},437:{path:"/training",parentId:"1",id:"437"},438:{name:"\u7CBE\u57F9\u8BFE\u7A0B",path:"/training",parentId:"437",id:"438"},439:{path:"/largeScreen",exact:!0,parentId:"1",id:"439"},440:{path:"/quality",parentId:"1",id:"440"},441:{name:"\u7CBE\u54C1\u8BFE\u7A0B",path:"/quality",parentId:"440",id:"441"},442:{path:"/otherlogin",exact:!0,parentId:"1",id:"442"},443:{path:"/otherloginqq",exact:!0,parentId:"1",id:"443"},444:{path:"/otherloginstart",exact:!0,parentId:"1",id:"444"},445:{path:"/pathsoverview",exact:!0,parentId:"1",id:"445"},446:{path:"/shixunsoverview",exact:!0,parentId:"1",id:"446"},447:{path:"/classroomsoverview",exact:!0,parentId:"1",id:"447"},448:{path:"/login",parentId:"1",id:"448"},449:{path:"/login",parentId:"448",id:"449"},450:{path:"/user",parentId:"1",id:"450"},451:{path:"/user/login",parentId:"450",id:"451"},452:{path:"/user/register",parentId:"450",id:"452"},453:{path:"/user/reset-password",parentId:"450",id:"453"},454:{path:"/colleges",parentId:"1",id:"454"},455:{path:"/colleges/:id/statistics",parentId:"454",id:"455"},456:{path:"/help",parentId:"1",id:"456"},457:{path:"/help/:id",parentId:"456",id:"457"},458:{path:"/video",parentId:"1",id:"458"},459:{path:"/video/:videoId",parentId:"458",id:"459"},460:{path:"/terminal",parentId:"1",id:"460"},461:{path:"/report/:taskId/:game_report_id",parentId:"1",id:"461"},462:{path:"/",parentId:"1",id:"462"},463:{path:"/",exact:!0,parentId:"462",id:"463"},464:{path:"/api/*",exact:!0,parentId:"462",id:"464"},465:{path:"/search",exact:!0,parentId:"462",id:"465"},466:{path:"/moop_cases",exact:!0,parentId:"462",id:"466"},467:{path:"/moop_cases/new",exact:!0,parentId:"462",id:"467"},468:{path:"/moop_cases/:caseId",exact:!0,parentId:"462",id:"468"},469:{path:"/moop_cases/:caseId/edit",exact:!0,parentId:"462",id:"469"},470:{path:"/moop_cases/:caseId/publish-success",exact:!0,parentId:"462",id:"470"},471:{path:"/randompaper",exact:!0,parentId:"462",id:"471"},472:{path:"/randompaper/edit/:id",exact:!0,parentId:"462",id:"472"},473:{path:"/randompaper/detail/:id",exact:!0,parentId:"462",id:"473"},474:{path:"/403",parentId:"462",id:"474"},475:{path:"/500",parentId:"462",id:"475"},476:{path:"/404",parentId:"462",id:"476"},477:{path:"/download",parentId:"462",id:"477"},478:{path:"/iwce",parentId:"462",id:"478"},479:{path:"/classrooms/:coursesId/attendance/TeacherSign",parentId:"462",id:"479"},480:{path:"/classrooms/:coursesId/attendance/:categoryId",parentId:"462",id:"480"},481:{path:"/Activities",parentId:"462",id:"481"},482:{path:"/iwce/:itemname",parentId:"462",id:"482"},483:{path:"/hpc-course",parentId:"462",id:"483"},484:{path:"/user_agents",parentId:"462",id:"484"},485:{path:"/three",parentId:"462",id:"485"},486:{path:"/introduction",parentId:"462",id:"486"},487:{path:"/chatgpt",parentId:"462",id:"487"},488:{path:"/*",parentId:"462",id:"488"},"@@/global-layout":{id:"@@/global-layout",path:"/",isLayout:!0}},routeComponents:{1:ze.lazy(()=>__webpack_require__.e(5886).then(__webpack_require__.bind(__webpack_require__,5886))),2:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11145))),3:ze.lazy(()=>__webpack_require__.e(4862).then(__webpack_require__.bind(__webpack_require__,63041))),4:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(3260)]).then(__webpack_require__.bind(__webpack_require__,8478))),5:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(3260)]).then(__webpack_require__.bind(__webpack_require__,8478))),6:ze.lazy(()=>__webpack_require__.e(3247).then(__webpack_require__.bind(__webpack_require__,66415))),7:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6675),__webpack_require__.e(8600),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,94794))),8:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6675),__webpack_require__.e(8600),__webpack_require__.e(1545)]).then(__webpack_require__.bind(__webpack_require__,75066))),9:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11145))),10:ze.lazy(()=>__webpack_require__.e(6052).then(__webpack_require__.bind(__webpack_require__,16568))),11:ze.lazy(()=>__webpack_require__.e(5572).then(__webpack_require__.bind(__webpack_require__,27945))),12:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(8982)]).then(__webpack_require__.bind(__webpack_require__,28054))),13:ze.lazy(()=>__webpack_require__.e(869).then(__webpack_require__.bind(__webpack_require__,98792))),14:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6411),__webpack_require__.e(3332)]).then(__webpack_require__.bind(__webpack_require__,50578))),15:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(4601)]).then(__webpack_require__.bind(__webpack_require__,38239))),16:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(8982)]).then(__webpack_require__.bind(__webpack_require__,28054))),17:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6675),__webpack_require__.e(8600),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,94794))),18:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6675),__webpack_require__.e(8600),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,94794))),19:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11145))),20:ze.lazy(()=>__webpack_require__.e(6685).then(__webpack_require__.bind(__webpack_require__,40361))),21:ze.lazy(()=>__webpack_require__.e(9921).then(__webpack_require__.bind(__webpack_require__,43276))),22:ze.lazy(()=>__webpack_require__.e(1674).then(__webpack_require__.bind(__webpack_require__,33165))),23:ze.lazy(()=>__webpack_require__.e(6685).then(__webpack_require__.bind(__webpack_require__,40361))),24:ze.lazy(()=>__webpack_require__.e(1702).then(__webpack_require__.bind(__webpack_require__,83931))),25:ze.lazy(()=>__webpack_require__.e(1702).then(__webpack_require__.bind(__webpack_require__,83931))),26:ze.lazy(()=>__webpack_require__.e(6882).then(__webpack_require__.bind(__webpack_require__,74670))),27:ze.lazy(()=>__webpack_require__.e(6882).then(__webpack_require__.bind(__webpack_require__,74670))),28:ze.lazy(()=>__webpack_require__.e(109).then(__webpack_require__.bind(__webpack_require__,74719))),29:ze.lazy(()=>__webpack_require__.e(737).then(__webpack_require__.bind(__webpack_require__,79213))),30:ze.lazy(()=>__webpack_require__.e(3391).then(__webpack_require__.bind(__webpack_require__,24997))),31:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6411),__webpack_require__.e(3581)]).then(__webpack_require__.bind(__webpack_require__,9920))),32:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6411),__webpack_require__.e(342)]).then(__webpack_require__.bind(__webpack_require__,56575))),33:ze.lazy(()=>__webpack_require__.e(2303).then(__webpack_require__.bind(__webpack_require__,67059))),34:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(1450)]).then(__webpack_require__.bind(__webpack_require__,21871))),35:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(195)]).then(__webpack_require__.bind(__webpack_require__,52784))),36:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(3668)]).then(__webpack_require__.bind(__webpack_require__,93982))),37:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(2338)]).then(__webpack_require__.bind(__webpack_require__,99061))),38:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(4662)]).then(__webpack_require__.bind(__webpack_require__,4654))),39:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(8072)]).then(__webpack_require__.bind(__webpack_require__,44180))),40:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(479)]).then(__webpack_require__.bind(__webpack_require__,69993))),41:ze.lazy(()=>__webpack_require__.e(5297).then(__webpack_require__.bind(__webpack_require__,88810))),42:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6411),__webpack_require__.e(4164)]).then(__webpack_require__.bind(__webpack_require__,42562))),43:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6675),__webpack_require__.e(8600),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,94794))),44:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6675),__webpack_require__.e(4889)]).then(__webpack_require__.bind(__webpack_require__,50357))),45:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6675),__webpack_require__.e(4105)]).then(__webpack_require__.bind(__webpack_require__,72560))),46:ze.lazy(()=>__webpack_require__.e(7482).then(__webpack_require__.bind(__webpack_require__,74139))),47:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(5816)]).then(__webpack_require__.bind(__webpack_require__,43794))),48:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(337)]).then(__webpack_require__.bind(__webpack_require__,76175))),49:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(292)]).then(__webpack_require__.bind(__webpack_require__,96716))),50:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(292)]).then(__webpack_require__.bind(__webpack_require__,96716))),51:ze.lazy(()=>__webpack_require__.e(5992).then(__webpack_require__.bind(__webpack_require__,1464))),52:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6411),__webpack_require__.e(6675),__webpack_require__.e(8085)]).then(__webpack_require__.bind(__webpack_require__,11242))),53:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6411),__webpack_require__.e(6675),__webpack_require__.e(8085)]).then(__webpack_require__.bind(__webpack_require__,11242))),54:ze.lazy(()=>__webpack_require__.e(8431).then(__webpack_require__.bind(__webpack_require__,69884))),55:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5902)]).then(__webpack_require__.bind(__webpack_require__,17950))),56:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(3433)]).then(__webpack_require__.bind(__webpack_require__,56954))),57:ze.lazy(()=>__webpack_require__.e(5125).then(__webpack_require__.bind(__webpack_require__,41228))),58:ze.lazy(()=>__webpack_require__.e(5125).then(__webpack_require__.bind(__webpack_require__,41228))),59:ze.lazy(()=>__webpack_require__.e(921).then(__webpack_require__.bind(__webpack_require__,17933))),60:ze.lazy(()=>__webpack_require__.e(921).then(__webpack_require__.bind(__webpack_require__,17933))),61:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(1578)]).then(__webpack_require__.bind(__webpack_require__,19116))),62:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(3317)]).then(__webpack_require__.bind(__webpack_require__,15732))),63:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(1482)]).then(__webpack_require__.bind(__webpack_require__,84625))),64:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(4795)]).then(__webpack_require__.bind(__webpack_require__,89859))),65:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(26)]).then(__webpack_require__.bind(__webpack_require__,427))),66:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(8882)]).then(__webpack_require__.bind(__webpack_require__,90923))),67:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(5888)]).then(__webpack_require__.bind(__webpack_require__,60884))),68:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(9715)]).then(__webpack_require__.bind(__webpack_require__,72794))),69:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7045)]).then(__webpack_require__.bind(__webpack_require__,4549))),70:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(1211)]).then(__webpack_require__.bind(__webpack_require__,75405))),71:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(1582)]).then(__webpack_require__.bind(__webpack_require__,8993))),72:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6729)]).then(__webpack_require__.bind(__webpack_require__,79131))),73:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(9695)]).then(__webpack_require__.bind(__webpack_require__,15056))),74:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(8723)]).then(__webpack_require__.bind(__webpack_require__,52796))),75:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(7622)]).then(__webpack_require__.bind(__webpack_require__,40222))),76:ze.lazy(()=>__webpack_require__.e(5148).then(__webpack_require__.bind(__webpack_require__,94453))),77:ze.lazy(()=>__webpack_require__.e(643).then(__webpack_require__.bind(__webpack_require__,59325))),78:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(3442)]).then(__webpack_require__.bind(__webpack_require__,852))),79:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(2102)]).then(__webpack_require__.bind(__webpack_require__,94884))),80:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(2425)]).then(__webpack_require__.bind(__webpack_require__,89590))),81:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(2404)]).then(__webpack_require__.bind(__webpack_require__,55964))),82:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(9785)]).then(__webpack_require__.bind(__webpack_require__,4056))),83:ze.lazy(()=>__webpack_require__.e(869).then(__webpack_require__.bind(__webpack_require__,98792))),84:ze.lazy(()=>__webpack_require__.e(2819).then(__webpack_require__.bind(__webpack_require__,43928))),85:ze.lazy(()=>__webpack_require__.e(1512).then(__webpack_require__.bind(__webpack_require__,18522))),86:ze.lazy(()=>__webpack_require__.e(7395).then(__webpack_require__.bind(__webpack_require__,39306))),87:ze.lazy(()=>__webpack_require__.e(3585).then(__webpack_require__.bind(__webpack_require__,43125))),88:ze.lazy(()=>__webpack_require__.e(6963).then(__webpack_require__.bind(__webpack_require__,17203))),89:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(4030)]).then(__webpack_require__.bind(__webpack_require__,65973))),90:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(4030)]).then(__webpack_require__.bind(__webpack_require__,65973))),91:ze.lazy(()=>__webpack_require__.e(6127).then(__webpack_require__.bind(__webpack_require__,92435))),92:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(3951)]).then(__webpack_require__.bind(__webpack_require__,74020))),93:ze.lazy(()=>__webpack_require__.e(1048).then(__webpack_require__.bind(__webpack_require__,16286))),94:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6675),__webpack_require__.e(2884)]).then(__webpack_require__.bind(__webpack_require__,11091))),95:ze.lazy(()=>__webpack_require__.e(4770).then(__webpack_require__.bind(__webpack_require__,30056))),96:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(2603)]).then(__webpack_require__.bind(__webpack_require__,37710))),97:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(4216)]).then(__webpack_require__.bind(__webpack_require__,55818))),98:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(5319)]).then(__webpack_require__.bind(__webpack_require__,24400))),99:ze.lazy(()=>__webpack_require__.e(895).then(__webpack_require__.bind(__webpack_require__,37183))),100:ze.lazy(()=>__webpack_require__.e(3282).then(__webpack_require__.bind(__webpack_require__,60917))),101:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7852)]).then(__webpack_require__.bind(__webpack_require__,3871))),102:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7852)]).then(__webpack_require__.bind(__webpack_require__,3871))),103:ze.lazy(()=>__webpack_require__.e(5048).then(__webpack_require__.bind(__webpack_require__,11790))),104:ze.lazy(()=>__webpack_require__.e(1043).then(__webpack_require__.bind(__webpack_require__,65172))),105:ze.lazy(()=>__webpack_require__.e(1043).then(__webpack_require__.bind(__webpack_require__,65172))),106:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(5825)]).then(__webpack_require__.bind(__webpack_require__,8905))),107:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(5825)]).then(__webpack_require__.bind(__webpack_require__,8905))),108:ze.lazy(()=>__webpack_require__.e(3355).then(__webpack_require__.bind(__webpack_require__,95430))),109:ze.lazy(()=>__webpack_require__.e(3355).then(__webpack_require__.bind(__webpack_require__,95430))),110:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7180),__webpack_require__.e(9890)]).then(__webpack_require__.bind(__webpack_require__,97561))),111:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7180),__webpack_require__.e(9890)]).then(__webpack_require__.bind(__webpack_require__,97561))),112:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7180),__webpack_require__.e(3935)]).then(__webpack_require__.bind(__webpack_require__,95811))),113:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7180),__webpack_require__.e(3935)]).then(__webpack_require__.bind(__webpack_require__,95811))),114:ze.lazy(()=>__webpack_require__.e(8014).then(__webpack_require__.bind(__webpack_require__,17425))),115:ze.lazy(()=>__webpack_require__.e(8077).then(__webpack_require__.bind(__webpack_require__,98247))),116:ze.lazy(()=>__webpack_require__.e(3356).then(__webpack_require__.bind(__webpack_require__,49412))),117:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6788)]).then(__webpack_require__.bind(__webpack_require__,32996))),118:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6788)]).then(__webpack_require__.bind(__webpack_require__,32996))),119:ze.lazy(()=>__webpack_require__.e(1962).then(__webpack_require__.bind(__webpack_require__,4573))),120:ze.lazy(()=>__webpack_require__.e(4928).then(__webpack_require__.bind(__webpack_require__,66676))),121:ze.lazy(()=>__webpack_require__.e(1257).then(__webpack_require__.bind(__webpack_require__,81357))),122:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8435)]).then(__webpack_require__.bind(__webpack_require__,31481))),123:ze.lazy(()=>__webpack_require__.e(8340).then(__webpack_require__.bind(__webpack_require__,17081))),124:ze.lazy(()=>__webpack_require__.e(4093).then(__webpack_require__.bind(__webpack_require__,45243))),125:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(1265)]).then(__webpack_require__.bind(__webpack_require__,12663))),126:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(1265)]).then(__webpack_require__.bind(__webpack_require__,12663))),127:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(8827)]).then(__webpack_require__.bind(__webpack_require__,27515))),128:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(8827)]).then(__webpack_require__.bind(__webpack_require__,27515))),129:ze.lazy(()=>__webpack_require__.e(6758).then(__webpack_require__.bind(__webpack_require__,30535))),130:ze.lazy(()=>__webpack_require__.e(6758).then(__webpack_require__.bind(__webpack_require__,30535))),131:ze.lazy(()=>__webpack_require__.e(9332).then(__webpack_require__.bind(__webpack_require__,59954))),132:ze.lazy(()=>__webpack_require__.e(9332).then(__webpack_require__.bind(__webpack_require__,59954))),133:ze.lazy(()=>__webpack_require__.e(4217).then(__webpack_require__.bind(__webpack_require__,49957))),134:ze.lazy(()=>__webpack_require__.e(3220).then(__webpack_require__.bind(__webpack_require__,24401))),135:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(533)]).then(__webpack_require__.bind(__webpack_require__,32365))),136:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5798)]).then(__webpack_require__.bind(__webpack_require__,49100))),137:ze.lazy(()=>__webpack_require__.e(7878).then(__webpack_require__.bind(__webpack_require__,95598))),138:ze.lazy(()=>__webpack_require__.e(7878).then(__webpack_require__.bind(__webpack_require__,95598))),139:ze.lazy(()=>__webpack_require__.e(9944).then(__webpack_require__.bind(__webpack_require__,85247))),140:ze.lazy(()=>__webpack_require__.e(8302).then(__webpack_require__.bind(__webpack_require__,17224))),141:ze.lazy(()=>__webpack_require__.e(8302).then(__webpack_require__.bind(__webpack_require__,17224))),142:ze.lazy(()=>__webpack_require__.e(8634).then(__webpack_require__.bind(__webpack_require__,45780))),143:ze.lazy(()=>__webpack_require__.e(8634).then(__webpack_require__.bind(__webpack_require__,45780))),144:ze.lazy(()=>__webpack_require__.e(7922).then(__webpack_require__.bind(__webpack_require__,72229))),145:ze.lazy(()=>__webpack_require__.e(1727).then(__webpack_require__.bind(__webpack_require__,70929))),146:ze.lazy(()=>__webpack_require__.e(1727).then(__webpack_require__.bind(__webpack_require__,70929))),147:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(1427)]).then(__webpack_require__.bind(__webpack_require__,3533))),148:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(1427)]).then(__webpack_require__.bind(__webpack_require__,3533))),149:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8689)]).then(__webpack_require__.bind(__webpack_require__,73237))),150:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(7806)]).then(__webpack_require__.bind(__webpack_require__,55003))),151:ze.lazy(()=>__webpack_require__.e(3276).then(__webpack_require__.bind(__webpack_require__,44739))),152:ze.lazy(()=>__webpack_require__.e(8885).then(__webpack_require__.bind(__webpack_require__,35297))),153:ze.lazy(()=>__webpack_require__.e(3451).then(__webpack_require__.bind(__webpack_require__,3499))),154:ze.lazy(()=>__webpack_require__.e(9922).then(__webpack_require__.bind(__webpack_require__,59353))),155:ze.lazy(()=>__webpack_require__.e(4572).then(__webpack_require__.bind(__webpack_require__,2735))),156:ze.lazy(()=>__webpack_require__.e(4017).then(__webpack_require__.bind(__webpack_require__,63557))),157:ze.lazy(()=>__webpack_require__.e(5518).then(__webpack_require__.bind(__webpack_require__,53136))),158:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11145))),159:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(2654),__webpack_require__.e(6883)]).then(__webpack_require__.bind(__webpack_require__,1866))),160:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(2654),__webpack_require__.e(6883)]).then(__webpack_require__.bind(__webpack_require__,1866))),161:ze.lazy(()=>__webpack_require__.e(4449).then(__webpack_require__.bind(__webpack_require__,33769))),162:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(2654),__webpack_require__.e(6883)]).then(__webpack_require__.bind(__webpack_require__,1866))),163:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(2413),__webpack_require__.e(2570)]).then(__webpack_require__.bind(__webpack_require__,60074))),164:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(2413),__webpack_require__.e(2570)]).then(__webpack_require__.bind(__webpack_require__,60074))),165:ze.lazy(()=>__webpack_require__.e(8787).then(__webpack_require__.bind(__webpack_require__,30968))),166:ze.lazy(()=>__webpack_require__.e(5650).then(__webpack_require__.bind(__webpack_require__,60001))),167:ze.lazy(()=>__webpack_require__.e(1799).then(__webpack_require__.bind(__webpack_require__,60433))),168:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(2413),__webpack_require__.e(8797)]).then(__webpack_require__.bind(__webpack_require__,78963))),169:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11145))),170:ze.lazy(()=>__webpack_require__.e(8639).then(__webpack_require__.bind(__webpack_require__,61612))),171:ze.lazy(()=>__webpack_require__.e(2983).then(__webpack_require__.bind(__webpack_require__,61292))),172:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(4264)]).then(__webpack_require__.bind(__webpack_require__,2782))),173:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(4264)]).then(__webpack_require__.bind(__webpack_require__,2782))),174:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(508)]).then(__webpack_require__.bind(__webpack_require__,85419))),175:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11145))),176:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6675),__webpack_require__.e(8600),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,94794))),177:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(1953)]).then(__webpack_require__.bind(__webpack_require__,82617))),178:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(1953)]).then(__webpack_require__.bind(__webpack_require__,82617))),179:ze.lazy(()=>__webpack_require__.e(1581).then(__webpack_require__.bind(__webpack_require__,71806))),180:ze.lazy(()=>__webpack_require__.e(4144).then(__webpack_require__.bind(__webpack_require__,80558))),181:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6675),__webpack_require__.e(8600),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,94794))),182:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11145))),183:ze.lazy(()=>__webpack_require__.e(8782).then(__webpack_require__.bind(__webpack_require__,34108))),184:ze.lazy(()=>__webpack_require__.e(7884).then(__webpack_require__.bind(__webpack_require__,20290))),185:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7008)]).then(__webpack_require__.bind(__webpack_require__,88394))),186:ze.lazy(()=>__webpack_require__.e(5549).then(__webpack_require__.bind(__webpack_require__,71311))),187:ze.lazy(()=>__webpack_require__.e(9674).then(__webpack_require__.bind(__webpack_require__,94282))),188:ze.lazy(()=>__webpack_require__.e(5573).then(__webpack_require__.bind(__webpack_require__,21190))),189:ze.lazy(()=>__webpack_require__.e(2141).then(__webpack_require__.bind(__webpack_require__,78234))),190:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6411),__webpack_require__.e(278),__webpack_require__.e(6277)]).then(__webpack_require__.bind(__webpack_require__,37129))),191:ze.lazy(()=>__webpack_require__.e(6328).then(__webpack_require__.bind(__webpack_require__,86566))),192:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7857)]).then(__webpack_require__.bind(__webpack_require__,48979))),193:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(1657)]).then(__webpack_require__.bind(__webpack_require__,20026))),194:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(1657)]).then(__webpack_require__.bind(__webpack_require__,20026))),195:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(4498)]).then(__webpack_require__.bind(__webpack_require__,84111))),196:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(4498)]).then(__webpack_require__.bind(__webpack_require__,84111))),197:ze.lazy(()=>__webpack_require__.e(9205).then(__webpack_require__.bind(__webpack_require__,70980))),198:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(1423)]).then(__webpack_require__.bind(__webpack_require__,98372))),199:ze.lazy(()=>__webpack_require__.e(7614).then(__webpack_require__.bind(__webpack_require__,89815))),200:ze.lazy(()=>__webpack_require__.e(2875).then(__webpack_require__.bind(__webpack_require__,13344))),201:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(9133)]).then(__webpack_require__.bind(__webpack_require__,20296))),202:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8688)]).then(__webpack_require__.bind(__webpack_require__,57546))),203:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8688)]).then(__webpack_require__.bind(__webpack_require__,57546))),204:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5470)]).then(__webpack_require__.bind(__webpack_require__,15282))),205:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(6541)]).then(__webpack_require__.bind(__webpack_require__,99192))),206:ze.lazy(()=>Promise.all([__webpack_require__.e(278),__webpack_require__.e(1475)]).then(__webpack_require__.bind(__webpack_require__,7985))),207:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6411),__webpack_require__.e(2254)]).then(__webpack_require__.bind(__webpack_require__,96418))),208:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(9408)]).then(__webpack_require__.bind(__webpack_require__,46593))),209:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6411),__webpack_require__.e(6845)]).then(__webpack_require__.bind(__webpack_require__,14959))),210:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(4884)]).then(__webpack_require__.bind(__webpack_require__,28177))),211:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(4884)]).then(__webpack_require__.bind(__webpack_require__,28177))),212:ze.lazy(()=>__webpack_require__.e(1148).then(__webpack_require__.bind(__webpack_require__,76938))),213:ze.lazy(()=>__webpack_require__.e(1148).then(__webpack_require__.bind(__webpack_require__,76938))),214:ze.lazy(()=>__webpack_require__.e(7046).then(__webpack_require__.bind(__webpack_require__,30072))),215:ze.lazy(()=>__webpack_require__.e(7046).then(__webpack_require__.bind(__webpack_require__,30072))),216:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8688)]).then(__webpack_require__.bind(__webpack_require__,57546))),217:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8688)]).then(__webpack_require__.bind(__webpack_require__,57546))),218:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5096)]).then(__webpack_require__.bind(__webpack_require__,84210))),219:ze.lazy(()=>__webpack_require__.e(9215).then(__webpack_require__.bind(__webpack_require__,43468))),220:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11145))),221:ze.lazy(()=>__webpack_require__.e(5176).then(__webpack_require__.bind(__webpack_require__,54629))),222:ze.lazy(()=>__webpack_require__.e(6587).then(__webpack_require__.bind(__webpack_require__,70982))),223:ze.lazy(()=>__webpack_require__.e(9891).then(__webpack_require__.bind(__webpack_require__,34111))),224:ze.lazy(()=>__webpack_require__.e(8062).then(__webpack_require__.bind(__webpack_require__,51751))),225:ze.lazy(()=>__webpack_require__.e(5402).then(__webpack_require__.bind(__webpack_require__,69039))),226:ze.lazy(()=>__webpack_require__.e(5402).then(__webpack_require__.bind(__webpack_require__,69039))),227:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6820)]).then(__webpack_require__.bind(__webpack_require__,74917))),228:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(8517)]).then(__webpack_require__.bind(__webpack_require__,47400))),229:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7043)]).then(__webpack_require__.bind(__webpack_require__,4359))),230:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(2806)]).then(__webpack_require__.bind(__webpack_require__,92511))),231:ze.lazy(()=>__webpack_require__.e(5043).then(__webpack_require__.bind(__webpack_require__,85597))),232:ze.lazy(()=>__webpack_require__.e(799).then(__webpack_require__.bind(__webpack_require__,8735))),233:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(3157)]).then(__webpack_require__.bind(__webpack_require__,47018))),234:ze.lazy(()=>__webpack_require__.e(2529).then(__webpack_require__.bind(__webpack_require__,65097))),235:ze.lazy(()=>__webpack_require__.e(6583).then(__webpack_require__.bind(__webpack_require__,48224))),236:ze.lazy(()=>__webpack_require__.e(5895).then(__webpack_require__.bind(__webpack_require__,12587))),237:ze.lazy(()=>__webpack_require__.e(6982).then(__webpack_require__.bind(__webpack_require__,30127))),238:ze.lazy(()=>__webpack_require__.e(6805).then(__webpack_require__.bind(__webpack_require__,57943))),239:ze.lazy(()=>__webpack_require__.e(1416).then(__webpack_require__.bind(__webpack_require__,39674))),240:ze.lazy(()=>__webpack_require__.e(6583).then(__webpack_require__.bind(__webpack_require__,48224))),241:ze.lazy(()=>__webpack_require__.e(8307).then(__webpack_require__.bind(__webpack_require__,15107))),242:ze.lazy(()=>__webpack_require__.e(2826).then(__webpack_require__.bind(__webpack_require__,50073))),243:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(2659)]).then(__webpack_require__.bind(__webpack_require__,84272))),244:ze.lazy(()=>__webpack_require__.e(4610).then(__webpack_require__.bind(__webpack_require__,55149))),245:ze.lazy(()=>__webpack_require__.e(9590).then(__webpack_require__.bind(__webpack_require__,59896))),246:ze.lazy(()=>__webpack_require__.e(2076).then(__webpack_require__.bind(__webpack_require__,73985))),247:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(4849)]).then(__webpack_require__.bind(__webpack_require__,59360))),248:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(310)]).then(__webpack_require__.bind(__webpack_require__,26098))),249:ze.lazy(()=>__webpack_require__.e(5191).then(__webpack_require__.bind(__webpack_require__,40109))),250:ze.lazy(()=>__webpack_require__.e(3496).then(__webpack_require__.bind(__webpack_require__,346))),251:ze.lazy(()=>__webpack_require__.e(7948).then(__webpack_require__.bind(__webpack_require__,56890))),252:ze.lazy(()=>__webpack_require__.e(9519).then(__webpack_require__.bind(__webpack_require__,18131))),253:ze.lazy(()=>__webpack_require__.e(5599).then(__webpack_require__.bind(__webpack_require__,5566))),254:ze.lazy(()=>__webpack_require__.e(4736).then(__webpack_require__.bind(__webpack_require__,74545))),255:ze.lazy(()=>__webpack_require__.e(2412).then(__webpack_require__.bind(__webpack_require__,56749))),256:ze.lazy(()=>__webpack_require__.e(2240).then(__webpack_require__.bind(__webpack_require__,80643))),257:ze.lazy(()=>__webpack_require__.e(265).then(__webpack_require__.bind(__webpack_require__,74930))),258:ze.lazy(()=>__webpack_require__.e(9360).then(__webpack_require__.bind(__webpack_require__,86310))),259:ze.lazy(()=>__webpack_require__.e(2396).then(__webpack_require__.bind(__webpack_require__,45956))),260:ze.lazy(()=>__webpack_require__.e(7855).then(__webpack_require__.bind(__webpack_require__,41901))),261:ze.lazy(()=>__webpack_require__.e(9507).then(__webpack_require__.bind(__webpack_require__,91370))),262:ze.lazy(()=>__webpack_require__.e(1343).then(__webpack_require__.bind(__webpack_require__,69393))),263:ze.lazy(()=>__webpack_require__.e(5886).then(__webpack_require__.bind(__webpack_require__,5886))),264:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11145))),265:ze.lazy(()=>__webpack_require__.e(9647).then(__webpack_require__.bind(__webpack_require__,58747))),266:ze.lazy(()=>__webpack_require__.e(485).then(__webpack_require__.bind(__webpack_require__,47781))),267:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(4741)]).then(__webpack_require__.bind(__webpack_require__,53320))),268:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(4741)]).then(__webpack_require__.bind(__webpack_require__,53320))),269:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(4994)]).then(__webpack_require__.bind(__webpack_require__,71547))),270:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(4994)]).then(__webpack_require__.bind(__webpack_require__,71547))),271:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7460)]).then(__webpack_require__.bind(__webpack_require__,31723))),272:ze.lazy(()=>__webpack_require__.e(9716).then(__webpack_require__.bind(__webpack_require__,45710))),273:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6913)]).then(__webpack_require__.bind(__webpack_require__,95480))),274:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6913)]).then(__webpack_require__.bind(__webpack_require__,95480))),275:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11145))),276:ze.lazy(()=>__webpack_require__.e(3006).then(__webpack_require__.bind(__webpack_require__,5226))),277:ze.lazy(()=>__webpack_require__.e(2045).then(__webpack_require__.bind(__webpack_require__,65417))),278:ze.lazy(()=>__webpack_require__.e(1520).then(__webpack_require__.bind(__webpack_require__,34897))),279:ze.lazy(()=>__webpack_require__.e(9649).then(__webpack_require__.bind(__webpack_require__,3681))),280:ze.lazy(()=>__webpack_require__.e(4546).then(__webpack_require__.bind(__webpack_require__,17249))),281:ze.lazy(()=>__webpack_require__.e(5357).then(__webpack_require__.bind(__webpack_require__,18112))),282:ze.lazy(()=>__webpack_require__.e(8665).then(__webpack_require__.bind(__webpack_require__,81654))),283:ze.lazy(()=>__webpack_require__.e(3183).then(__webpack_require__.bind(__webpack_require__,75432))),284:ze.lazy(()=>__webpack_require__.e(4800).then(__webpack_require__.bind(__webpack_require__,19893))),285:ze.lazy(()=>__webpack_require__.e(9489).then(__webpack_require__.bind(__webpack_require__,88590))),286:ze.lazy(()=>__webpack_require__.e(9391).then(__webpack_require__.bind(__webpack_require__,67112))),287:ze.lazy(()=>__webpack_require__.e(5335).then(__webpack_require__.bind(__webpack_require__,23513))),288:ze.lazy(()=>__webpack_require__.e(2823).then(__webpack_require__.bind(__webpack_require__,74565))),289:ze.lazy(()=>__webpack_require__.e(4973).then(__webpack_require__.bind(__webpack_require__,20944))),290:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(6651)]).then(__webpack_require__.bind(__webpack_require__,9986))),291:ze.lazy(()=>__webpack_require__.e(6741).then(__webpack_require__.bind(__webpack_require__,23479))),292:ze.lazy(()=>__webpack_require__.e(5775).then(__webpack_require__.bind(__webpack_require__,23921))),293:ze.lazy(()=>__webpack_require__.e(2548).then(__webpack_require__.bind(__webpack_require__,95707))),294:ze.lazy(()=>__webpack_require__.e(5886).then(__webpack_require__.bind(__webpack_require__,5886))),295:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11145))),296:ze.lazy(()=>__webpack_require__.e(6634).then(__webpack_require__.bind(__webpack_require__,84428))),297:ze.lazy(()=>__webpack_require__.e(680).then(__webpack_require__.bind(__webpack_require__,67537))),298:ze.lazy(()=>__webpack_require__.e(6366).then(__webpack_require__.bind(__webpack_require__,76342))),299:ze.lazy(()=>__webpack_require__.e(6452).then(__webpack_require__.bind(__webpack_require__,14160))),300:ze.lazy(()=>__webpack_require__.e(1070).then(__webpack_require__.bind(__webpack_require__,60971))),301:ze.lazy(()=>__webpack_require__.e(7242).then(__webpack_require__.bind(__webpack_require__,46157))),302:ze.lazy(()=>__webpack_require__.e(2707).then(__webpack_require__.bind(__webpack_require__,97236))),303:ze.lazy(()=>__webpack_require__.e(2865).then(__webpack_require__.bind(__webpack_require__,55734))),304:ze.lazy(()=>__webpack_require__.e(6784).then(__webpack_require__.bind(__webpack_require__,24096))),305:ze.lazy(()=>__webpack_require__.e(6784).then(__webpack_require__.bind(__webpack_require__,24096))),306:ze.lazy(()=>__webpack_require__.e(3141).then(__webpack_require__.bind(__webpack_require__,21618))),307:ze.lazy(()=>__webpack_require__.e(5886).then(__webpack_require__.bind(__webpack_require__,5886))),308:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6411),__webpack_require__.e(6675),__webpack_require__.e(3665)]).then(__webpack_require__.bind(__webpack_require__,47110))),309:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(700)]).then(__webpack_require__.bind(__webpack_require__,24431))),310:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6411),__webpack_require__.e(6675),__webpack_require__.e(3665)]).then(__webpack_require__.bind(__webpack_require__,47110))),311:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(700)]).then(__webpack_require__.bind(__webpack_require__,24431))),312:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6411),__webpack_require__.e(6675),__webpack_require__.e(3665)]).then(__webpack_require__.bind(__webpack_require__,47110))),313:ze.lazy(()=>__webpack_require__.e(5886).then(__webpack_require__.bind(__webpack_require__,5886))),314:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6675),__webpack_require__.e(7527)]).then(__webpack_require__.bind(__webpack_require__,92740))),315:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6675),__webpack_require__.e(6270)]).then(__webpack_require__.bind(__webpack_require__,34587))),316:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11145))),317:ze.lazy(()=>__webpack_require__.e(547).then(__webpack_require__.bind(__webpack_require__,68549))),318:ze.lazy(()=>__webpack_require__.e(9788).then(__webpack_require__.bind(__webpack_require__,32928))),319:ze.lazy(()=>__webpack_require__.e(576).then(__webpack_require__.bind(__webpack_require__,16059))),320:ze.lazy(()=>__webpack_require__.e(7260).then(__webpack_require__.bind(__webpack_require__,14200))),321:ze.lazy(()=>__webpack_require__.e(4520).then(__webpack_require__.bind(__webpack_require__,83386))),322:ze.lazy(()=>__webpack_require__.e(9076).then(__webpack_require__.bind(__webpack_require__,98065))),323:ze.lazy(()=>__webpack_require__.e(4514).then(__webpack_require__.bind(__webpack_require__,35038))),324:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11145))),325:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(928)]).then(__webpack_require__.bind(__webpack_require__,77906))),326:ze.lazy(()=>__webpack_require__.e(1006).then(__webpack_require__.bind(__webpack_require__,98537))),327:ze.lazy(()=>__webpack_require__.e(1006).then(__webpack_require__.bind(__webpack_require__,98537))),328:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11145))),329:ze.lazy(()=>__webpack_require__.e(1939).then(__webpack_require__.bind(__webpack_require__,89595))),330:ze.lazy(()=>__webpack_require__.e(556).then(__webpack_require__.bind(__webpack_require__,15612))),331:ze.lazy(()=>__webpack_require__.e(6434).then(__webpack_require__.bind(__webpack_require__,61071))),332:ze.lazy(()=>__webpack_require__.e(1880).then(__webpack_require__.bind(__webpack_require__,96965))),333:ze.lazy(()=>__webpack_require__.e(8237).then(__webpack_require__.bind(__webpack_require__,74722))),334:ze.lazy(()=>__webpack_require__.e(3447).then(__webpack_require__.bind(__webpack_require__,52935))),335:ze.lazy(()=>__webpack_require__.e(264).then(__webpack_require__.bind(__webpack_require__,38403))),336:ze.lazy(()=>__webpack_require__.e(4259).then(__webpack_require__.bind(__webpack_require__,35742))),337:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11145))),338:ze.lazy(()=>__webpack_require__.e(4078).then(__webpack_require__.bind(__webpack_require__,56764))),339:ze.lazy(()=>__webpack_require__.e(2829).then(__webpack_require__.bind(__webpack_require__,7121))),340:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(5359)]).then(__webpack_require__.bind(__webpack_require__,86529))),341:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11145))),342:ze.lazy(()=>__webpack_require__.e(559).then(__webpack_require__.bind(__webpack_require__,92108))),343:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(3747)]).then(__webpack_require__.bind(__webpack_require__,44779))),344:ze.lazy(()=>__webpack_require__.e(4757).then(__webpack_require__.bind(__webpack_require__,90702))),345:ze.lazy(()=>__webpack_require__.e(1783).then(__webpack_require__.bind(__webpack_require__,69029))),346:ze.lazy(()=>__webpack_require__.e(7477).then(__webpack_require__.bind(__webpack_require__,64739))),347:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(9677)]).then(__webpack_require__.bind(__webpack_require__,88872))),348:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(9677)]).then(__webpack_require__.bind(__webpack_require__,88872))),349:ze.lazy(()=>__webpack_require__.e(6796).then(__webpack_require__.bind(__webpack_require__,87861))),350:ze.lazy(()=>__webpack_require__.e(4504).then(__webpack_require__.bind(__webpack_require__,61084))),351:ze.lazy(()=>__webpack_require__.e(7058).then(__webpack_require__.bind(__webpack_require__,53488))),352:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(8447)]).then(__webpack_require__.bind(__webpack_require__,79803))),353:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(1045)]).then(__webpack_require__.bind(__webpack_require__,48609))),354:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(1045)]).then(__webpack_require__.bind(__webpack_require__,48609))),355:ze.lazy(()=>__webpack_require__.e(5238).then(__webpack_require__.bind(__webpack_require__,75431))),356:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(4715)]).then(__webpack_require__.bind(__webpack_require__,94521))),357:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(3873)]).then(__webpack_require__.bind(__webpack_require__,90135))),358:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6069)]).then(__webpack_require__.bind(__webpack_require__,43754))),359:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6069)]).then(__webpack_require__.bind(__webpack_require__,43754))),360:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6265)]).then(__webpack_require__.bind(__webpack_require__,12308))),361:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(8563)]).then(__webpack_require__.bind(__webpack_require__,38583))),362:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(8563)]).then(__webpack_require__.bind(__webpack_require__,38583))),363:ze.lazy(()=>__webpack_require__.e(1713).then(__webpack_require__.bind(__webpack_require__,88397))),364:ze.lazy(()=>__webpack_require__.e(5891).then(__webpack_require__.bind(__webpack_require__,5090))),365:ze.lazy(()=>__webpack_require__.e(8398).then(__webpack_require__.bind(__webpack_require__,49885))),366:ze.lazy(()=>__webpack_require__.e(8241).then(__webpack_require__.bind(__webpack_require__,91663))),367:ze.lazy(()=>__webpack_require__.e(2339).then(__webpack_require__.bind(__webpack_require__,65935))),368:ze.lazy(()=>__webpack_require__.e(7589).then(__webpack_require__.bind(__webpack_require__,38997))),369:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(3747)]).then(__webpack_require__.bind(__webpack_require__,44779))),370:ze.lazy(()=>__webpack_require__.e(5705).then(__webpack_require__.bind(__webpack_require__,93568))),371:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11145))),372:ze.lazy(()=>__webpack_require__.e(559).then(__webpack_require__.bind(__webpack_require__,92108))),373:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(3747)]).then(__webpack_require__.bind(__webpack_require__,44779))),374:ze.lazy(()=>__webpack_require__.e(4757).then(__webpack_require__.bind(__webpack_require__,90702))),375:ze.lazy(()=>__webpack_require__.e(1783).then(__webpack_require__.bind(__webpack_require__,69029))),376:ze.lazy(()=>__webpack_require__.e(7477).then(__webpack_require__.bind(__webpack_require__,64739))),377:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(9677)]).then(__webpack_require__.bind(__webpack_require__,88872))),378:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(9677)]).then(__webpack_require__.bind(__webpack_require__,88872))),379:ze.lazy(()=>__webpack_require__.e(6796).then(__webpack_require__.bind(__webpack_require__,87861))),380:ze.lazy(()=>__webpack_require__.e(4504).then(__webpack_require__.bind(__webpack_require__,61084))),381:ze.lazy(()=>__webpack_require__.e(7058).then(__webpack_require__.bind(__webpack_require__,53488))),382:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(8447)]).then(__webpack_require__.bind(__webpack_require__,79803))),383:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(1045)]).then(__webpack_require__.bind(__webpack_require__,48609))),384:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(1045)]).then(__webpack_require__.bind(__webpack_require__,48609))),385:ze.lazy(()=>__webpack_require__.e(5238).then(__webpack_require__.bind(__webpack_require__,75431))),386:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(4715)]).then(__webpack_require__.bind(__webpack_require__,94521))),387:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(3873)]).then(__webpack_require__.bind(__webpack_require__,90135))),388:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6069)]).then(__webpack_require__.bind(__webpack_require__,43754))),389:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6069)]).then(__webpack_require__.bind(__webpack_require__,43754))),390:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6265)]).then(__webpack_require__.bind(__webpack_require__,12308))),391:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(8563)]).then(__webpack_require__.bind(__webpack_require__,38583))),392:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(8563)]).then(__webpack_require__.bind(__webpack_require__,38583))),393:ze.lazy(()=>__webpack_require__.e(1713).then(__webpack_require__.bind(__webpack_require__,88397))),394:ze.lazy(()=>__webpack_require__.e(5891).then(__webpack_require__.bind(__webpack_require__,5090))),395:ze.lazy(()=>__webpack_require__.e(8398).then(__webpack_require__.bind(__webpack_require__,49885))),396:ze.lazy(()=>__webpack_require__.e(8241).then(__webpack_require__.bind(__webpack_require__,91663))),397:ze.lazy(()=>__webpack_require__.e(2339).then(__webpack_require__.bind(__webpack_require__,65935))),398:ze.lazy(()=>__webpack_require__.e(7589).then(__webpack_require__.bind(__webpack_require__,38997))),399:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(3747)]).then(__webpack_require__.bind(__webpack_require__,44779))),400:ze.lazy(()=>__webpack_require__.e(5705).then(__webpack_require__.bind(__webpack_require__,93568))),401:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11145))),402:ze.lazy(()=>__webpack_require__.e(4766).then(__webpack_require__.bind(__webpack_require__,41669))),403:ze.lazy(()=>__webpack_require__.e(7560).then(__webpack_require__.bind(__webpack_require__,44718))),404:ze.lazy(()=>__webpack_require__.e(6029).then(__webpack_require__.bind(__webpack_require__,69726))),405:ze.lazy(()=>__webpack_require__.e(5179).then(__webpack_require__.bind(__webpack_require__,92642))),406:ze.lazy(()=>__webpack_require__.e(4621).then(__webpack_require__.bind(__webpack_require__,13497))),407:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11145))),408:ze.lazy(()=>__webpack_require__.e(1831).then(__webpack_require__.bind(__webpack_require__,11181))),409:ze.lazy(()=>__webpack_require__.e(2539).then(__webpack_require__.bind(__webpack_require__,61885))),410:ze.lazy(()=>__webpack_require__.e(8143).then(__webpack_require__.bind(__webpack_require__,46780))),411:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(5624)]).then(__webpack_require__.bind(__webpack_require__,8741))),412:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(1461)]).then(__webpack_require__.bind(__webpack_require__,80096))),413:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(4492)]).then(__webpack_require__.bind(__webpack_require__,37052))),414:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(9416)]).then(__webpack_require__.bind(__webpack_require__,75098))),415:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(2443)]).then(__webpack_require__.bind(__webpack_require__,62126))),416:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(2443)]).then(__webpack_require__.bind(__webpack_require__,62126))),417:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(2443)]).then(__webpack_require__.bind(__webpack_require__,62126))),418:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(2443)]).then(__webpack_require__.bind(__webpack_require__,62126))),419:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(2443)]).then(__webpack_require__.bind(__webpack_require__,62126))),420:ze.lazy(()=>__webpack_require__.e(5022).then(__webpack_require__.bind(__webpack_require__,51514))),421:ze.lazy(()=>__webpack_require__.e(6063).then(__webpack_require__.bind(__webpack_require__,71562))),422:ze.lazy(()=>__webpack_require__.e(6063).then(__webpack_require__.bind(__webpack_require__,71562))),423:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7545)]).then(__webpack_require__.bind(__webpack_require__,52442))),424:ze.lazy(()=>__webpack_require__.e(1253).then(__webpack_require__.bind(__webpack_require__,52337))),425:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11145))),426:ze.lazy(()=>__webpack_require__.e(2216).then(__webpack_require__.bind(__webpack_require__,83252))),427:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(5382)]).then(__webpack_require__.bind(__webpack_require__,437))),428:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11145))),429:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6411),__webpack_require__.e(8823)]).then(__webpack_require__.bind(__webpack_require__,21541))),430:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5915)]).then(__webpack_require__.bind(__webpack_require__,49627))),431:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11145))),432:ze.lazy(()=>__webpack_require__.e(570).then(__webpack_require__.bind(__webpack_require__,50804))),433:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11145))),434:ze.lazy(()=>__webpack_require__.e(8365).then(__webpack_require__.bind(__webpack_require__,50212))),435:ze.lazy(()=>__webpack_require__.e(672).then(__webpack_require__.bind(__webpack_require__,49079))),436:ze.lazy(()=>__webpack_require__.e(4058).then(__webpack_require__.bind(__webpack_require__,9338))),437:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11145))),438:ze.lazy(()=>__webpack_require__.e(4056).then(__webpack_require__.bind(__webpack_require__,9330))),439:ze.lazy(()=>__webpack_require__.e(9487).then(__webpack_require__.bind(__webpack_require__,91437))),440:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11145))),441:ze.lazy(()=>__webpack_require__.e(532).then(__webpack_require__.bind(__webpack_require__,7370))),442:ze.lazy(()=>__webpack_require__.e(7178).then(__webpack_require__.bind(__webpack_require__,44876))),443:ze.lazy(()=>__webpack_require__.e(1660).then(__webpack_require__.bind(__webpack_require__,72281))),444:ze.lazy(()=>__webpack_require__.e(7333).then(__webpack_require__.bind(__webpack_require__,70806))),445:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(4227)]).then(__webpack_require__.bind(__webpack_require__,74247))),446:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8155)]).then(__webpack_require__.bind(__webpack_require__,94211))),447:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5186)]).then(__webpack_require__.bind(__webpack_require__,10257))),448:ze.lazy(()=>__webpack_require__.e(5786).then(__webpack_require__.bind(__webpack_require__,57694))),449:ze.lazy(()=>__webpack_require__.e(9366).then(__webpack_require__.bind(__webpack_require__,60490))),450:ze.lazy(()=>__webpack_require__.e(5972).then(__webpack_require__.bind(__webpack_require__,24236))),451:ze.lazy(()=>__webpack_require__.e(9366).then(__webpack_require__.bind(__webpack_require__,60490))),452:ze.lazy(()=>__webpack_require__.e(1470).then(__webpack_require__.bind(__webpack_require__,92521))),453:ze.lazy(()=>__webpack_require__.e(7182).then(__webpack_require__.bind(__webpack_require__,48412))),454:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11145))),455:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(2476)]).then(__webpack_require__.bind(__webpack_require__,37204))),456:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11145))),457:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(5729)]).then(__webpack_require__.bind(__webpack_require__,429))),458:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11145))),459:ze.lazy(()=>__webpack_require__.e(6444).then(__webpack_require__.bind(__webpack_require__,33154))),460:ze.lazy(()=>__webpack_require__.e(5111).then(__webpack_require__.bind(__webpack_require__,43254))),461:ze.lazy(()=>__webpack_require__.e(2307).then(__webpack_require__.bind(__webpack_require__,48030))),462:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,11145))),463:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(2654),__webpack_require__.e(8866)]).then(__webpack_require__.bind(__webpack_require__,92132))),464:ze.lazy(()=>__webpack_require__.e(2300).then(__webpack_require__.bind(__webpack_require__,99623))),465:ze.lazy(()=>__webpack_require__.e(2501).then(__webpack_require__.bind(__webpack_require__,21918))),466:ze.lazy(()=>__webpack_require__.e(3212).then(__webpack_require__.bind(__webpack_require__,16456))),467:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6904)]).then(__webpack_require__.bind(__webpack_require__,82154))),468:ze.lazy(()=>__webpack_require__.e(1855).then(__webpack_require__.bind(__webpack_require__,65128))),469:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(6904)]).then(__webpack_require__.bind(__webpack_require__,82154))),470:ze.lazy(()=>__webpack_require__.e(1276).then(__webpack_require__.bind(__webpack_require__,28919))),471:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(5816)]).then(__webpack_require__.bind(__webpack_require__,43794))),472:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(5816)]).then(__webpack_require__.bind(__webpack_require__,43794))),473:ze.lazy(()=>__webpack_require__.e(3784).then(__webpack_require__.bind(__webpack_require__,52900))),474:ze.lazy(()=>__webpack_require__.e(3862).then(__webpack_require__.bind(__webpack_require__,50885))),475:ze.lazy(()=>__webpack_require__.e(4565).then(__webpack_require__.bind(__webpack_require__,85039))),476:ze.lazy(()=>__webpack_require__.e(6531).then(__webpack_require__.bind(__webpack_require__,4747))),477:ze.lazy(()=>__webpack_require__.e(6170).then(__webpack_require__.bind(__webpack_require__,57849))),478:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(4496)]).then(__webpack_require__.bind(__webpack_require__,62459))),479:ze.lazy(()=>__webpack_require__.e(1836).then(__webpack_require__.bind(__webpack_require__,13893))),480:ze.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8435)]).then(__webpack_require__.bind(__webpack_require__,31481))),481:ze.lazy(()=>__webpack_require__.e(3509).then(__webpack_require__.bind(__webpack_require__,36634))),482:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(4496)]).then(__webpack_require__.bind(__webpack_require__,62459))),483:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(4496)]).then(__webpack_require__.bind(__webpack_require__,62459))),484:ze.lazy(()=>__webpack_require__.e(6034).then(__webpack_require__.bind(__webpack_require__,89693))),485:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(8999)]).then(__webpack_require__.bind(__webpack_require__,57265))),486:ze.lazy(()=>__webpack_require__.e(3910).then(__webpack_require__.bind(__webpack_require__,61516))),487:ze.lazy(()=>Promise.all([__webpack_require__.e(2509),__webpack_require__.e(67)]).then(__webpack_require__.bind(__webpack_require__,19373))),488:ze.lazy(()=>__webpack_require__.e(6531).then(__webpack_require__.bind(__webpack_require__,4747))),"@@/global-layout":ze.lazy(()=>__webpack_require__.e(1717).then(__webpack_require__.bind(__webpack_require__,2586)))}}})}var I=__webpack_require__(5085),O=__webpack_require__(37989),k=__webpack_require__(71418),me=__webpack_require__(26278),ke=()=>ze.createElement(k.Z,{size:"middle",className:me.Z.loading}),nn=__webpack_require__(89070),Bn=__webpack_require__(61186),fn=__webpack_require__.n(Bn),Ii=__webpack_require__(91392),ja=__webpack_require__.n(Ii),Ta=__webpack_require__(34749),js=__webpack_require__.n(Ta),Qa=__webpack_require__(19277),mo=__webpack_require__.n(Qa),ps=__webpack_require__(10238),ec=__webpack_require__.n(ps),hc=__webpack_require__(33656),tc=__webpack_require__.n(hc),Bl=__webpack_require__(90111),gl=__webpack_require__.n(Bl),Di=__webpack_require__(74959),yl=__webpack_require__.n(Di),pc=__webpack_require__(23250),Po=__webpack_require__.n(pc),qs=__webpack_require__(58862),Ga=__webpack_require__.n(qs),Zu=__webpack_require__(58319),Hu=__webpack_require__.n(Zu),_c=__webpack_require__(62053),el=__webpack_require__.n(_c),bl=__webpack_require__(47477),Yc=__webpack_require__.n(bl),rc=__webpack_require__(59717),xl=__webpack_require__.n(rc);fn().extend(js()),fn().extend(mo()),fn().extend(ec()),fn().extend(tc()),fn().extend(gl()),fn().extend(yl()),fn().extend(Po()),fn().extend(Ga()),fn().extend(Hu()),fn().extend(el()),fn().extend(Yc()),fn().extend(xl()),fn().extend(ja());var mc=Object.defineProperty,vc=Object.getOwnPropertySymbols,Xc=Object.prototype.hasOwnProperty,Jo=Object.prototype.propertyIsEnumerable,Wu=(Cn,Gn,Bi)=>Gn in Cn?mc(Cn,Gn,{enumerable:!0,configurable:!0,writable:!0,value:Bi}):Cn[Gn]=Bi,El=(Cn,Gn)=>{for(var Bi in Gn||(Gn={}))Xc.call(Gn,Bi)&&Wu(Cn,Bi,Gn[Bi]);if(vc)for(var Bi of vc(Gn))Jo.call(Gn,Bi)&&Wu(Cn,Bi,Gn[Bi]);return Cn},gc=(Cn,Gn,Bi)=>new Promise((ba,Wi)=>{var na=Ni=>{try{ls(Bi.next(Ni))}catch(cs){Wi(cs)}},va=Ni=>{try{ls(Bi.throw(Ni))}catch(cs){Wi(cs)}},ls=Ni=>Ni.done?ba(Ni.value):Promise.resolve(Ni.value).then(na,va);ls((Bi=Bi.apply(Cn,Gn)).next())});const pu="/react/build/",yc=!1;function tl(){return gc(this,null,function*(){const Cn=(0,I.gD)(),{routes:Gn,routeComponents:Bi}=yield Kc(Cn);yield Cn.applyPlugins({key:"patchRoutes",type:nn.ApplyPluginsType.event,args:{routes:Gn,routeComponents:Bi}});const ba=Cn.applyPlugins({key:"modifyContextOpts",type:nn.ApplyPluginsType.modify,initialValue:{}}),Wi=ba.basename||"/",na=ba.historyType||"browser",va=(0,O.fi)(El({type:na,basename:Wi},ba.historyOpts));return Cn.applyPlugins({key:"render",type:nn.ApplyPluginsType.compose,initialValue(){const ls={useStream:!0,routes:Gn,routeComponents:Bi,pluginManager:Cn,mountElementId:"root",rootElement:ba.rootElement||document.getElementById("root"),loadingComponent:ke,publicPath:pu,runtimePublicPath:yc,history:va,historyType:na,basename:Wi,__INTERNAL_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{pureApp:!1,pureHtml:!1},callback:ba.callback},Ni=Cn.applyPlugins({key:"modifyClientRenderOpts",type:nn.ApplyPluginsType.modify,initialValue:ls});return Rc(Ni)}})()})}tl(),typeof window!="undefined"&&(window.g_umi={version:"4.4.6"})})()})();