You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
NewEduCoderBuild/9245.5ec173d7.async.js

1 line
18 KiB

(self.webpackChunk=self.webpackChunk||[]).push([[9245],{77578:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});const o=e=>e?"function"==typeof e?e():e:null},56762:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});var o=n(59301);function r(){const[,e]=o.useReducer((e=>e+1),0);return e}},38854:function(e,t,n){"use strict";n.d(t,{Z:function(){return g}});var o=n(91857),r=n(92310),l=n.n(r),a=n(59301),i=n(94172),s=n(3113),c=n(36355),p=n(81327),u=n(33234),d=n(47211),m=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]])}return n};const f=e=>{const{getPopupContainer:t,getPrefixCls:n,direction:r}=a.useContext(c.E_),{prefixCls:f,type:y="default",danger:b,disabled:g,loading:v,onClick:C,htmlType:O,children:h,className:w,menu:x,arrow:P,autoFocus:E,overlay:S,trigger:j,align:N,open:$,onOpenChange:I,placement:k,getPopupContainer:D,href:Z,icon:_=a.createElement(i.Z,null),title:R,buttonsRender:T=(e=>e),mouseEnterDelay:W,mouseLeaveDelay:z,overlayClassName:M,overlayStyle:A,destroyPopupOnHide:B,dropdownRender:F}=e,H=m(e,["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"]),U=n("dropdown",f),L=`${U}-button`,[G,X]=(0,d.Z)(U),Y={menu:x,arrow:P,autoFocus:E,align:N,disabled:g,trigger:g?[]:j,onOpenChange:I,getPopupContainer:D||t,mouseEnterDelay:W,mouseLeaveDelay:z,overlayClassName:M,overlayStyle:A,destroyPopupOnHide:B,dropdownRender:F},{compactSize:q,compactItemClassnames:J}=(0,u.ri)(U,r),K=l()(L,J,w,X);"overlay"in e&&(Y.overlay=S),"open"in e&&(Y.open=$),Y.placement="placement"in e?k:"rtl"===r?"bottomLeft":"bottomRight";const Q=a.createElement(s.ZP,{type:y,danger:b,disabled:g,loading:v,onClick:C,htmlType:O,href:Z,title:R},h),V=a.createElement(s.ZP,{type:y,danger:b,icon:_}),[ee,te]=T([Q,V]);return G(a.createElement(p.Z.Compact,Object.assign({className:K,size:q,block:!0},H),ee,a.createElement(o.Z,Object.assign({},Y),te)))};f.__ANT_BUTTON=!0;var y=f;const b=o.Z;b.Button=y;var g=b},39722:function(e,t,n){"use strict";n.d(t,{t5:function(){return u}});var o=n(92310),r=n.n(o),l=n(55477),a=n(59301),i=n(36355),s=n(77578),c=n(17356),p=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]])}return n};const u=e=>{const{hashId:t,prefixCls:n,className:o,style:i,placement:c="top",title:p,content:u,children:d}=e;return a.createElement("div",{className:r()(t,n,`${n}-pure`,`${n}-placement-${c}`,o),style:i},a.createElement("div",{className:`${n}-arrow`}),a.createElement(l.G,Object.assign({},e,{className:t,prefixCls:n}),d||((e,t,n)=>{if(t||n)return a.createElement(a.Fragment,null,t&&a.createElement("div",{className:`${e}-title`},(0,s.Z)(t)),a.createElement("div",{className:`${e}-inner-content`},(0,s.Z)(n)))})(n,p,u)))};t.ZP=e=>{const{prefixCls:t}=e,n=p(e,["prefixCls"]),{getPrefixCls:o}=a.useContext(i.E_),r=o("popover",t),[l,s]=(0,c.Z)(r);return l(a.createElement(u,Object.assign({},n,{prefixCls:r,hashId:s})))}},60324:function(e,t,n){"use strict";var o=n(92310),r=n.n(o),l=n(59301),a=n(77578),i=n(62892),s=n(36355),c=n(6848),p=n(39722),u=n(17356),d=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]])}return n};const m=e=>{let{title:t,content:n,prefixCls:o}=e;return l.createElement(l.Fragment,null,t&&l.createElement("div",{className:`${o}-title`},(0,a.Z)(t)),l.createElement("div",{className:`${o}-inner-content`},(0,a.Z)(n)))},f=l.forwardRef(((e,t)=>{const{prefixCls:n,title:o,content:a,overlayClassName:p,placement:f="top",trigger:y="hover",mouseEnterDelay:b=.1,mouseLeaveDelay:g=.1,overlayStyle:v={}}=e,C=d(e,["prefixCls","title","content","overlayClassName","placement","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle"]),{getPrefixCls:O}=l.useContext(s.E_),h=O("popover",n),[w,x]=(0,u.Z)(h),P=O(),E=r()(p,x);return w(l.createElement(c.Z,Object.assign({placement:f,trigger:y,mouseEnterDelay:b,mouseLeaveDelay:g,overlayStyle:v},C,{prefixCls:h,overlayClassName:E,ref:t,overlay:o||a?l.createElement(m,{prefixCls:h,title:o,content:a}):null,transitionName:(0,i.m)(P,"zoom-big",C.transitionName),"data-popover-inject":!0})))}));f._InternalPanelDoNotUseOrYouWillBeFired=p.ZP,t.Z=f},17356:function(e,t,n){"use strict";var o=n(17313),r=n(29878),l=n(19447),a=n(33166),i=n(83116),s=n(37613);const c=e=>{const{componentCls:t,popoverColor:n,minWidth:r,fontWeightStrong:a,popoverPadding:i,boxShadowSecondary:s,colorTextHeading:c,borderRadiusLG:p,zIndexPopup:u,marginXS:d,colorBgElevated:m,popoverBg:f}=e;return[{[t]:Object.assign(Object.assign({},(0,o.Wf)(e)),{position:"absolute",top:0,left:{_skip_check_:!0,value:0},zIndex:u,fontWeight:"normal",whiteSpace:"normal",textAlign:"start",cursor:"auto",userSelect:"text",transformOrigin:"var(--arrow-x, 50%) var(--arrow-y, 50%)","--antd-arrow-background-color":m,"&-rtl":{direction:"rtl"},"&-hidden":{display:"none"},[`${t}-content`]:{position:"relative"},[`${t}-inner`]:{backgroundColor:f,backgroundClip:"padding-box",borderRadius:p,boxShadow:s,padding:i},[`${t}-title`]:{minWidth:r,marginBottom:d,color:c,fontWeight:a},[`${t}-inner-content`]:{color:n}})},(0,l.ZP)(e,{colorBg:"var(--antd-arrow-background-color)"}),{[`${t}-pure`]:{position:"relative",maxWidth:"none",margin:e.sizePopupArrow,display:"inline-block",[`${t}-content`]:{display:"inline-block"}}}]},p=e=>{const{componentCls:t}=e;return{[t]:a.i.map((n=>{const o=e[`${n}6`];return{[`&${t}-${n}`]:{"--antd-arrow-background-color":o,[`${t}-inner`]:{backgroundColor:o},[`${t}-arrow`]:{background:"transparent"}}}}))}},u=e=>{const{componentCls:t,lineWidth:n,lineType:o,colorSplit:r,paddingSM:l,controlHeight:a,fontSize:i,lineHeight:s,padding:c}=e,p=a-Math.round(i*s);return{[t]:{[`${t}-inner`]:{padding:0},[`${t}-title`]:{margin:0,padding:`${p/2}px ${c}px ${p/2-n}px`,borderBottom:`${n}px ${o} ${r}`},[`${t}-inner-content`]:{padding:`${l}px ${c}px`}}}};t.Z=(0,i.Z)("Popover",(e=>{const{colorBgElevated:t,colorText:n,wireframe:o}=e,l=(0,s.TS)(e,{popoverPadding:12,popoverBg:t,popoverColor:n});return[c(l),p(l),o&&u(l),(0,r._y)(l,"zoom-big")]}),(e=>({width:177,minWidth:177,zIndexPopup:e.zIndexPopupBase+30})),{resetStyle:!1,deprecatedTokens:[["width","minWidth"]]})},57809:function(e,t,n){"use strict";var o=n(92310),r=n.n(o),l=n(77861),a=n(55405),i=n(59301),s=n(53487),c=n(62892),p=n(19080),u=n(36355),d=n(1684),m=n(93891),f=n(19716),y=n(32441),b=n(33234),g=n(14154),v=n(58582),C=n(84443),O=n(66339),h=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]])}return n};const w="SECRET_COMBOBOX_MODE_DO_NOT_USE",x=(e,t)=>{var n,{prefixCls:o,bordered:s=!0,className:x,rootClassName:P,getPopupContainer:E,popupClassName:S,dropdownClassName:j,listHeight:N=256,placement:$,listItemHeight:I=24,size:k,disabled:D,notFoundContent:Z,status:_,builtinPlacements:R,dropdownMatchSelectWidth:T,popupMatchSelectWidth:W,direction:z,style:M,allowClear:A}=e,B=h(e,["prefixCls","bordered","className","rootClassName","getPopupContainer","popupClassName","dropdownClassName","listHeight","placement","listItemHeight","size","disabled","notFoundContent","status","builtinPlacements","dropdownMatchSelectWidth","popupMatchSelectWidth","direction","style","allowClear"]);const{getPopupContainer:F,getPrefixCls:H,renderEmpty:U,direction:L,virtual:G,popupMatchSelectWidth:X,popupOverflow:Y,select:q}=i.useContext(u.E_),J=H("select",o),K=H(),Q=null!=z?z:L,{compactSize:V,compactItemClassnames:ee}=(0,b.ri)(J,Q),[te,ne]=(0,g.Z)(J),oe=i.useMemo((()=>{const{mode:e}=B;if("combobox"!==e)return e===w?"combobox":e}),[B.mode]),re="multiple"===oe||"tags"===oe,le=(0,C.Z)(B.suffixIcon,B.showArrow),ae=null!==(n=null!=W?W:T)&&void 0!==n?n:X,{status:ie,hasFeedback:se,isFormItemInput:ce,feedbackIcon:pe}=i.useContext(y.aM),ue=(0,p.F)(ie,_);let de;de=void 0!==Z?Z:"combobox"===oe?null:(null==U?void 0:U("Select"))||i.createElement(m.Z,{componentName:"Select"});const{suffixIcon:me,itemIcon:fe,removeIcon:ye,clearIcon:be}=(0,O.Z)(Object.assign(Object.assign({},B),{multiple:re,hasFeedback:se,feedbackIcon:pe,showSuffixIcon:le,prefixCls:J,showArrow:B.showArrow,componentName:"Select"})),ge=!0===A?{clearIcon:be}:A,ve=(0,a.Z)(B,["suffixIcon","itemIcon"]),Ce=r()(S||j,{[`${J}-dropdown-${Q}`]:"rtl"===Q},P,ne),Oe=(0,f.Z)((e=>{var t;return null!==(t=null!=k?k:V)&&void 0!==t?t:e})),he=i.useContext(d.Z),we=null!=D?D:he,xe=r()({[`${J}-lg`]:"large"===Oe,[`${J}-sm`]:"small"===Oe,[`${J}-rtl`]:"rtl"===Q,[`${J}-borderless`]:!s,[`${J}-in-form-item`]:ce},(0,p.Z)(J,ue,se),ee,null==q?void 0:q.className,x,P,ne),Pe=i.useMemo((()=>void 0!==$?$:"rtl"===Q?"bottomRight":"bottomLeft"),[$,Q]),Ee=(0,v.Z)(R,Y);return te(i.createElement(l.ZP,Object.assign({ref:t,virtual:G,showSearch:null==q?void 0:q.showSearch},ve,{style:Object.assign(Object.assign({},null==q?void 0:q.style),M),dropdownMatchSelectWidth:ae,builtinPlacements:Ee,transitionName:(0,c.m)(K,"slide-up",B.transitionName),listHeight:N,listItemHeight:I,mode:oe,prefixCls:J,placement:Pe,direction:Q,suffixIcon:me,menuItemSelectedIcon:fe,removeIcon:ye,allowClear:ge,notFoundContent:de,className:xe,getPopupContainer:E||F,dropdownClassName:Ce,disabled:we})))};const P=i.forwardRef(x),E=(0,s.Z)(P);P.SECRET_COMBOBOX_MODE_DO_NOT_USE=w,P.Option=l.Wx,P.OptGroup=l.Xo,P._InternalPanelDoNotUseOrYouWillBeFired=E,t.default=P},81327:function(e,t,n){"use strict";n.d(t,{Z:function(){return v}});var o=n(59301),r=n(92310),l=n.n(r),a=n(75440),i=n(36355),s=n(33234);const c=o.createContext({latestIndex:0}),p=c.Provider;var u=e=>{let{className:t,index:n,children:r,split:l,style:a}=e;const{latestIndex:i}=o.useContext(c);return null==r?null:o.createElement(o.Fragment,null,o.createElement("div",{className:t,style:a},r),n<i&&l&&o.createElement("span",{className:`${t}-split`},l))},d=n(2856);function m(e){return["small","middle","large"].includes(e)}function f(e){return!!e&&("number"==typeof e&&!Number.isNaN(e))}var y=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]])}return n};const b=o.forwardRef(((e,t)=>{var n,r;const{getPrefixCls:s,space:c,direction:b}=o.useContext(i.E_),{size:g=(null==c?void 0:c.size)||"small",align:v,className:C,rootClassName:O,children:h,direction:w="horizontal",prefixCls:x,split:P,style:E,wrap:S=!1,classNames:j,styles:N}=e,$=y(e,["size","align","className","rootClassName","children","direction","prefixCls","split","style","wrap","classNames","styles"]),[I,k]=Array.isArray(g)?g:[g,g],D=m(k),Z=m(I),_=f(k),R=f(I),T=(0,a.Z)(h,{keepEmpty:!0}),W=void 0===v&&"horizontal"===w?"center":v,z=s("space",x),[M,A]=(0,d.Z)(z),B=l()(z,null==c?void 0:c.className,A,`${z}-${w}`,{[`${z}-rtl`]:"rtl"===b,[`${z}-align-${W}`]:W,[`${z}-gap-row-${k}`]:D,[`${z}-gap-col-${I}`]:Z},C,O),F=l()(`${z}-item`,null!==(n=null==j?void 0:j.item)&&void 0!==n?n:null===(r=null==c?void 0:c.classNames)||void 0===r?void 0:r.item);let H=0;const U=T.map(((e,t)=>{var n,r;null!=e&&(H=t);const l=e&&e.key||`${F}-${t}`;return o.createElement(u,{className:F,key:l,index:t,split:P,style:null!==(n=null==N?void 0:N.item)&&void 0!==n?n:null===(r=null==c?void 0:c.styles)||void 0===r?void 0:r.item},e)})),L=o.useMemo((()=>({latestIndex:H})),[H]);if(0===T.length)return null;const G={};return S&&(G.flexWrap="wrap"),!Z&&R&&(G.columnGap=I),!D&&_&&(G.rowGap=k),M(o.createElement("div",Object.assign({ref:t,className:B,style:Object.assign(Object.assign(Object.assign({},G),null==c?void 0:c.style),E)},$),o.createElement(p,{value:L},U)))}));const g=b;g.Compact=s.ZP;var v=g},25769:function(e,t,n){"use strict";var o=n(98040),r={"text/plain":"Text","text/html":"Url",default:"Text"};e.exports=function(e,t){var n,l,a,i,s,c,p=!1;t||(t={}),n=t.debug||!1;try{if(a=o(),i=document.createRange(),s=document.getSelection(),(c=document.createElement("span")).textContent=e,c.ariaHidden="true",c.style.all="unset",c.style.position="fixed",c.style.top=0,c.style.clip="rect(0, 0, 0, 0)",c.style.whiteSpace="pre",c.style.webkitUserSelect="text",c.style.MozUserSelect="text",c.style.msUserSelect="text",c.style.userSelect="text",c.addEventListener("copy",(function(o){if(o.stopPropagation(),t.format)if(o.preventDefault(),void 0===o.clipboardData){n&&console.warn("unable to use e.clipboardData"),n&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var l=r[t.format]||r.default;window.clipboardData.setData(l,e)}else o.clipboardData.clearData(),o.clipboardData.setData(t.format,e);t.onCopy&&(o.preventDefault(),t.onCopy(o.clipboardData))})),document.body.appendChild(c),i.selectNodeContents(c),s.addRange(i),!document.execCommand("copy"))throw new Error("copy command was unsuccessful");p=!0}catch(o){n&&console.error("unable to copy using execCommand: ",o),n&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(t.format||"text",e),t.onCopy&&t.onCopy(window.clipboardData),p=!0}catch(o){n&&console.error("unable to copy using clipboardData: ",o),n&&console.error("falling back to prompt"),l=function(e){var t=(/mac os x/i.test(navigator.userAgent)?"⌘":"Ctrl")+"+C";return e.replace(/#{\s*key\s*}/g,t)}("message"in t?t.message:"Copy to clipboard: #{key}, Enter"),window.prompt(l,e)}}finally{s&&("function"==typeof s.removeRange?s.removeRange(i):s.removeAllRanges()),c&&document.body.removeChild(c),a()}return p}},83145:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CopyToClipboard=void 0;var o=l(n(59301)),r=l(n(25769));function l(e){return e&&e.__esModule?e:{default:e}}function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function s(e,t){if(null==e)return{};var n,o,r=function(e,t){if(null==e)return{};var n,o,r={},l=Object.keys(e);for(o=0;o<l.length;o++)n=l[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(o=0;o<l.length;o++)n=l[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function u(e,t){return!t||"object"!==a(t)&&"function"!=typeof t?m(e):t}function d(e){return d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},d(e)}function m(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function f(e,t){return f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},f(e,t)}function y(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var b=function(e){function t(){var e,n;c(this,t);for(var l=arguments.length,a=new Array(l),i=0;i<l;i++)a[i]=arguments[i];return y(m(n=u(this,(e=d(t)).call.apply(e,[this].concat(a)))),"onClick",(function(e){var t=n.props,l=t.text,a=t.onCopy,i=t.children,s=t.options,c=o.default.Children.only(i),p=(0,r.default)(l,s);a&&a(l,p),c&&c.props&&"function"==typeof c.props.onClick&&c.props.onClick(e)})),n}var n,l,a;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&f(e,t)}(t,e),n=t,l=[{key:"render",value:function(){var e=this.props,t=(e.text,e.onCopy,e.options,e.children),n=s(e,["text","onCopy","options","children"]),r=o.default.Children.only(t);return o.default.cloneElement(r,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(n,!0).forEach((function(t){y(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},n,{onClick:this.onClick}))}}],l&&p(n.prototype,l),a&&p(n,a),t}(o.default.PureComponent);t.CopyToClipboard=b,y(b,"defaultProps",{onCopy:void 0,options:void 0})},56102:function(e,t,n){"use strict";var o=n(83145).CopyToClipboard;o.CopyToClipboard=o,e.exports=o},98040:function(e){e.exports=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var t=document.activeElement,n=[],o=0;o<e.rangeCount;o++)n.push(e.getRangeAt(o));switch(t.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":t.blur();break;default:t=null}return e.removeAllRanges(),function(){"Caret"===e.type&&e.removeAllRanges(),e.rangeCount||n.forEach((function(t){e.addRange(t)})),t&&t.focus()}}}}]);