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.
1 line
22 KiB
1 line
22 KiB
(self.webpackChunk=self.webpackChunk||[]).push([[72306],{81953:function(e,t,r){"use strict";r.d(t,{Z:function(){return i}});var n=r(67711),o=r(59301),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z"}}]},name:"copy",theme:"outlined"},c=r(7657),l=function(e,t){return o.createElement(c.Z,(0,n.Z)({},e,{ref:t,icon:a}))};var i=o.forwardRef(l)},41464:function(e,t,r){"use strict";r.d(t,{Z:function(){return i}});var n=r(67711),o=r(59301),a={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"},c=r(7657),l=function(e,t){return o.createElement(c.Z,(0,n.Z)({},e,{ref:t,icon:a}))};var i=o.forwardRef(l)},87169:function(e,t,r){"use strict";r.d(t,{Z:function(){return i}});var n=r(67711),o=r(59301),a={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"},c=r(7657),l=function(e,t){return o.createElement(c.Z,(0,n.Z)({},e,{ref:t,icon:a}))};var i=o.forwardRef(l)},10906:function(e,t,r){"use strict";r.d(t,{Z:function(){return i}});var n=r(67711),o=r(59301),a={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"},c=r(7657),l=function(e,t){return o.createElement(c.Z,(0,n.Z)({},e,{ref:t,icon:a}))};var i=o.forwardRef(l)},76618:function(e,t,r){"use strict";r.d(t,{Z:function(){return i}});var n=r(67711),o=r(59301),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M705.6 124.9a8 8 0 00-11.6 7.2v64.2c0 5.5 2.9 10.6 7.5 13.6a352.2 352.2 0 0162.2 49.8c32.7 32.8 58.4 70.9 76.3 113.3a355 355 0 0127.9 138.7c0 48.1-9.4 94.8-27.9 138.7a355.92 355.92 0 01-76.3 113.3 353.06 353.06 0 01-113.2 76.4c-43.8 18.6-90.5 28-138.5 28s-94.7-9.4-138.5-28a353.06 353.06 0 01-113.2-76.4A355.92 355.92 0 01184 650.4a355 355 0 01-27.9-138.7c0-48.1 9.4-94.8 27.9-138.7 17.9-42.4 43.6-80.5 76.3-113.3 19-19 39.8-35.6 62.2-49.8 4.7-2.9 7.5-8.1 7.5-13.6V132c0-6-6.3-9.8-11.6-7.2C178.5 195.2 82 339.3 80 506.3 77.2 745.1 272.5 943.5 511.2 944c239 .5 432.8-193.3 432.8-432.4 0-169.2-97-315.7-238.4-386.7zM480 560h64c4.4 0 8-3.6 8-8V88c0-4.4-3.6-8-8-8h-64c-4.4 0-8 3.6-8 8v464c0 4.4 3.6 8 8 8z"}}]},name:"poweroff",theme:"outlined"},c=r(7657),l=function(e,t){return o.createElement(c.Z,(0,n.Z)({},e,{ref:t,icon:a}))};var i=o.forwardRef(l)},32398:function(e,t,r){"use strict";r.d(t,{Z:function(){return i}});var n=r(67711),o=r(59301),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.1 209.3l-56.4 44.1C775.8 155.1 656.2 92 521.9 92 290 92 102.3 279.5 102 511.5 101.7 743.7 289.8 932 521.9 932c181.3 0 335.8-115 394.6-276.1 1.5-4.2-.7-8.9-4.9-10.3l-56.7-19.5a8 8 0 00-10.1 4.8c-1.8 5-3.8 10-5.9 14.9-17.3 41-42.1 77.8-73.7 109.4A344.77 344.77 0 01655.9 829c-42.3 17.9-87.4 27-133.8 27-46.5 0-91.5-9.1-133.8-27A341.5 341.5 0 01279 755.2a342.16 342.16 0 01-73.7-109.4c-17.9-42.4-27-87.4-27-133.9s9.1-91.5 27-133.9c17.3-41 42.1-77.8 73.7-109.4 31.6-31.6 68.4-56.4 109.3-73.8 42.3-17.9 87.4-27 133.8-27 46.5 0 91.5 9.1 133.8 27a341.5 341.5 0 01109.3 73.8c9.9 9.9 19.2 20.4 27.8 31.4l-60.2 47a8 8 0 003 14.1l175.6 43c5 1.2 9.9-2.6 9.9-7.7l.8-180.9c-.1-6.6-7.8-10.3-13-6.2z"}}]},name:"reload",theme:"outlined"},c=r(7657),l=function(e,t){return o.createElement(c.Z,(0,n.Z)({},e,{ref:t,icon:a}))};var i=o.forwardRef(l)},31797:function(e,t,r){"use strict";r.d(t,{Z:function(){return x}});var n=r(59301),o=r(56762),a=r(92343),c=r(92310),l=r.n(c),i=r(36355),s=r(61621);var u=e=>{const{value:t,formatter:r,precision:o,decimalSeparator:a,groupSeparator:c="",prefixCls:l}=e;let i;if("function"==typeof r)i=r(t);else{const e=String(t),r=e.match(/^(-?)(\d*)(\.(\d+))?$/);if(r&&"-"!==e){const e=r[1];let t=r[2]||"0",s=r[4]||"";t=t.replace(/\B(?=(\d{3})+(?!\d))/g,c),"number"==typeof o&&(s=s.padEnd(o,"0").slice(0,o>0?o:0)),s&&(s=`${a}${s}`),i=[n.createElement("span",{key:"int",className:`${l}-content-value-int`},e,t),s&&n.createElement("span",{key:"decimal",className:`${l}-content-value-decimal`},s)]}else i=e}return n.createElement("span",{className:`${l}-content-value`},i)},f=r(17313),p=r(83116),d=r(37613);const g=e=>{const{componentCls:t,marginXXS:r,padding:n,colorTextDescription:o,titleFontSize:a,colorTextHeading:c,contentFontSize:l,fontFamily:i}=e;return{[`${t}`]:Object.assign(Object.assign({},(0,f.Wf)(e)),{[`${t}-title`]:{marginBottom:r,color:o,fontSize:a},[`${t}-skeleton`]:{paddingTop:n},[`${t}-content`]:{color:c,fontSize:l,fontFamily:i,[`${t}-content-value`]:{display:"inline-block",direction:"ltr"},[`${t}-content-prefix, ${t}-content-suffix`]:{display:"inline-block"},[`${t}-content-prefix`]:{marginInlineEnd:r},[`${t}-content-suffix`]:{marginInlineStart:r}}})}};var m=(0,p.Z)("Statistic",(e=>{const t=(0,d.TS)(e,{});return[g(t)]}),(e=>{const{fontSizeHeading3:t,fontSize:r}=e;return{titleFontSize:r,contentFontSize:t}}));var h=e=>{const{prefixCls:t,className:r,rootClassName:o,style:a,valueStyle:c,value:f=0,title:p,valueRender:d,prefix:g,suffix:h,loading:b=!1,onMouseEnter:y,onMouseLeave:v,decimalSeparator:C=".",groupSeparator:x=","}=e,{getPrefixCls:w,direction:S,statistic:O}=n.useContext(i.E_),E=w("statistic",t),[k,$]=m(E),j=n.createElement(u,Object.assign({decimalSeparator:C,groupSeparator:x,prefixCls:E},e,{value:f})),A=l()(E,{[`${E}-rtl`]:"rtl"===S},null==O?void 0:O.className,r,o,$);return k(n.createElement("div",{className:A,style:Object.assign(Object.assign({},null==O?void 0:O.style),a),onMouseEnter:y,onMouseLeave:v},p&&n.createElement("div",{className:`${E}-title`},p),n.createElement(s.Z,{paragraph:!1,loading:b,className:`${E}-skeleton`},n.createElement("div",{style:c,className:`${E}-content`},g&&n.createElement("span",{className:`${E}-content-prefix`},g),d?d(j):j,h&&n.createElement("span",{className:`${E}-content-suffix`},h)))))};const b=[["Y",31536e6],["M",2592e6],["D",864e5],["H",36e5],["m",6e4],["s",1e3],["S",1]];function y(e,t){const{format:r=""}=t,n=new Date(e).getTime(),o=Date.now();return function(e,t){let r=e;const n=/\[[^\]]*]/g,o=(t.match(n)||[]).map((e=>e.slice(1,-1))),a=t.replace(n,"[]"),c=b.reduce(((e,t)=>{let[n,o]=t;if(e.includes(n)){const t=Math.floor(r/o);return r-=t*o,e.replace(new RegExp(`${n}+`,"g"),(e=>{const r=e.length;return t.toString().padStart(r,"0")}))}return e}),a);let l=0;return c.replace(n,(()=>{const e=o[l];return l+=1,e}))}(Math.max(n-o,0),r)}const v=e=>{const{value:t,format:r="HH:mm:ss",onChange:c,onFinish:l}=e,i=(0,o.Z)(),s=n.useRef(null),u=()=>{const e=function(e){return new Date(e).getTime()}(t);e>=Date.now()&&(s.current=setInterval((()=>{i(),null==c||c(e-Date.now()),e<Date.now()&&(null==l||l(),s.current&&(clearInterval(s.current),s.current=null))}),33.333333333333336))};n.useEffect((()=>(u(),()=>{s.current&&(clearInterval(s.current),s.current=null)})),[t]);return n.createElement(h,Object.assign({},e,{valueRender:e=>(0,a.Tm)(e,{title:void 0}),formatter:(e,t)=>y(e,Object.assign(Object.assign({},t),{format:r}))}))};var C=n.memo(v);h.Countdown=C;var x=h},12563:function(e,t,r){"use strict";r.d(t,{Z:function(){return k}});var n=r(59301),o=r(99267),a=r(92310),c=r.n(a),l=r(36785),i=r(47729),s=r(14088),u=r(36355),f=r(17313),p=r(37613),d=r(83116);const g=e=>{const{lineWidth:t,fontSizeIcon:r}=e,n=e.fontSizeSM,o=e.lineHeightSM*n+"px";return(0,p.TS)(e,{tagFontSize:n,tagLineHeight:o,tagIconSize:r-2*t,tagPaddingHorizontal:8,tagBorderlessBg:e.colorFillTertiary})},m=e=>({defaultBg:e.colorFillQuaternary,defaultColor:e.colorText});var h=(0,d.Z)("Tag",(e=>(e=>{const{paddingXXS:t,lineWidth:r,tagPaddingHorizontal:n,componentCls:o}=e,a=n-r,c=t-r;return{[o]:Object.assign(Object.assign({},(0,f.Wf)(e)),{display:"inline-block",height:"auto",marginInlineEnd:e.marginXS,paddingInline:a,fontSize:e.tagFontSize,lineHeight:e.tagLineHeight,whiteSpace:"nowrap",background:e.defaultBg,border:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,opacity:1,transition:`all ${e.motionDurationMid}`,textAlign:"start",position:"relative",[`&${o}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:e.defaultColor},[`${o}-close-icon`]:{marginInlineStart:c,color:e.colorTextDescription,fontSize:e.tagIconSize,cursor:"pointer",transition:`all ${e.motionDurationMid}`,"&:hover":{color:e.colorTextHeading}},[`&${o}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${e.iconCls}-close, ${e.iconCls}-close:hover`]:{color:e.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${o}-checkable-checked):hover`]:{color:e.colorPrimary,backgroundColor:e.colorFillSecondary},"&:active, &-checked":{color:e.colorTextLightSolid},"&-checked":{backgroundColor:e.colorPrimary,"&:hover":{backgroundColor:e.colorPrimaryHover}},"&:active":{backgroundColor:e.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${e.iconCls} + span, > span + ${e.iconCls}`]:{marginInlineStart:a}}),[`${o}-borderless`]:{borderColor:"transparent",background:e.tagBorderlessBg}}})(g(e))),m),b=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r};var y=e=>{const{prefixCls:t,style:r,className:o,checked:a,onChange:l,onClick:i}=e,s=b(e,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:f,tag:p}=n.useContext(u.E_),d=f("tag",t),[g,m]=h(d),y=c()(d,`${d}-checkable`,{[`${d}-checkable-checked`]:a},null==p?void 0:p.className,o,m);return g(n.createElement("span",Object.assign({},s,{style:Object.assign(Object.assign({},r),null==p?void 0:p.style),className:y,onClick:e=>{null==l||l(!a),null==i||i(e)}})))},v=r(45157);var C=(0,d.b)(["Tag","preset"],(e=>(e=>(0,v.Z)(e,((t,r)=>{let{textColor:n,lightBorderColor:o,lightColor:a,darkColor:c}=r;return{[`${e.componentCls}-${t}`]:{color:n,background:a,borderColor:o,"&-inverse":{color:e.colorTextLightSolid,background:c,borderColor:c},[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}})))(g(e))),m);const x=(e,t,r)=>{const n="string"!=typeof(o=r)?o:o.charAt(0).toUpperCase()+o.slice(1);var o;return{[`${e.componentCls}-${t}`]:{color:e[`color${r}`],background:e[`color${n}Bg`],borderColor:e[`color${n}Border`],[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}};var w=(0,d.b)(["Tag","status"],(e=>{const t=g(e);return[x(t,"success","Success"),x(t,"processing","Info"),x(t,"error","Error"),x(t,"warning","Warning")]}),m),S=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r};const O=(e,t)=>{const{prefixCls:r,className:a,rootClassName:f,style:p,children:d,icon:g,color:m,onClose:b,closeIcon:y,closable:v,bordered:x=!0}=e,O=S(e,["prefixCls","className","rootClassName","style","children","icon","color","onClose","closeIcon","closable","bordered"]),{getPrefixCls:E,direction:k,tag:$}=n.useContext(u.E_),[j,A]=n.useState(!0);n.useEffect((()=>{"visible"in O&&A(O.visible)}),[O.visible]);const P=(0,l.o2)(m),B=(0,l.yT)(m),z=P||B,D=Object.assign(Object.assign({backgroundColor:m&&!z?m:void 0},null==$?void 0:$.style),p),T=E("tag",r),[Z,F]=h(T),M=c()(T,null==$?void 0:$.className,{[`${T}-${m}`]:z,[`${T}-has-color`]:m&&!z,[`${T}-hidden`]:!j,[`${T}-rtl`]:"rtl"===k,[`${T}-borderless`]:!x},a,f,F),N=e=>{e.stopPropagation(),null==b||b(e),e.defaultPrevented||A(!1)},[,R]=(0,i.Z)(v,y,(e=>null===e?n.createElement(o.Z,{className:`${T}-close-icon`,onClick:N}):n.createElement("span",{className:`${T}-close-icon`,onClick:N},e)),null,!1),H="function"==typeof O.onClick||d&&"a"===d.type,I=g||null,_=I?n.createElement(n.Fragment,null,I,d&&n.createElement("span",null,d)):d,U=n.createElement("span",Object.assign({},O,{ref:t,className:M,style:D}),_,R,P&&n.createElement(C,{key:"preset",prefixCls:T}),B&&n.createElement(w,{key:"status",prefixCls:T}));return Z(H?n.createElement(s.Z,{component:"Tag"},U):U)},E=n.forwardRef(O);E.CheckableTag=y;var k=E},25769:function(e,t,r){"use strict";var n=r(98040),o={"text/plain":"Text","text/html":"Url",default:"Text"};e.exports=function(e,t){var r,a,c,l,i,s,u=!1;t||(t={}),r=t.debug||!1;try{if(c=n(),l=document.createRange(),i=document.getSelection(),(s=document.createElement("span")).textContent=e,s.ariaHidden="true",s.style.all="unset",s.style.position="fixed",s.style.top=0,s.style.clip="rect(0, 0, 0, 0)",s.style.whiteSpace="pre",s.style.webkitUserSelect="text",s.style.MozUserSelect="text",s.style.msUserSelect="text",s.style.userSelect="text",s.addEventListener("copy",(function(n){if(n.stopPropagation(),t.format)if(n.preventDefault(),void 0===n.clipboardData){r&&console.warn("unable to use e.clipboardData"),r&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var a=o[t.format]||o.default;window.clipboardData.setData(a,e)}else n.clipboardData.clearData(),n.clipboardData.setData(t.format,e);t.onCopy&&(n.preventDefault(),t.onCopy(n.clipboardData))})),document.body.appendChild(s),l.selectNodeContents(s),i.addRange(l),!document.execCommand("copy"))throw new Error("copy command was unsuccessful");u=!0}catch(n){r&&console.error("unable to copy using execCommand: ",n),r&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(t.format||"text",e),t.onCopy&&t.onCopy(window.clipboardData),u=!0}catch(n){r&&console.error("unable to copy using clipboardData: ",n),r&&console.error("falling back to prompt"),a=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(a,e)}}finally{i&&("function"==typeof i.removeRange?i.removeRange(l):i.removeAllRanges()),s&&document.body.removeChild(s),c()}return u}},24334:function(e,t,r){var n,o;o="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==r.g?r.g:this,e.exports=function(r){"use strict";var o,a=(r=r||{}).Base64,c="2.6.4",l="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",i=function(e){for(var t={},r=0,n=e.length;r<n;r++)t[e.charAt(r)]=r;return t}(l),s=String.fromCharCode,u=function(e){if(e.length<2)return(t=e.charCodeAt(0))<128?e:t<2048?s(192|t>>>6)+s(128|63&t):s(224|t>>>12&15)+s(128|t>>>6&63)+s(128|63&t);var t=65536+1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320);return s(240|t>>>18&7)+s(128|t>>>12&63)+s(128|t>>>6&63)+s(128|63&t)},f=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,p=function(e){return e.replace(f,u)},d=function(e){var t=[0,2,1][e.length%3],r=e.charCodeAt(0)<<16|(e.length>1?e.charCodeAt(1):0)<<8|(e.length>2?e.charCodeAt(2):0);return[l.charAt(r>>>18),l.charAt(r>>>12&63),t>=2?"=":l.charAt(r>>>6&63),t>=1?"=":l.charAt(63&r)].join("")},g=r.btoa&&"function"==typeof r.btoa?function(e){return r.btoa(e)}:function(e){if(e.match(/[^\x00-\xFF]/))throw new RangeError("The string contains invalid characters.");return e.replace(/[\s\S]{1,3}/g,d)},m=function(e){return g(p(String(e)))},h=function(e){return e.replace(/[+\/]/g,(function(e){return"+"==e?"-":"_"})).replace(/=/g,"")},b=function(e,t){return t?h(m(e)):m(e)},y=function(e){return b(e,!0)};r.Uint8Array&&(o=function(e,t){for(var r="",n=0,o=e.length;n<o;n+=3){var a=e[n],c=e[n+1],i=e[n+2],s=a<<16|c<<8|i;r+=l.charAt(s>>>18)+l.charAt(s>>>12&63)+(void 0!==c?l.charAt(s>>>6&63):"=")+(void 0!==i?l.charAt(63&s):"=")}return t?h(r):r});var v,C=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,x=function(e){switch(e.length){case 4:var t=((7&e.charCodeAt(0))<<18|(63&e.charCodeAt(1))<<12|(63&e.charCodeAt(2))<<6|63&e.charCodeAt(3))-65536;return s(55296+(t>>>10))+s(56320+(1023&t));case 3:return s((15&e.charCodeAt(0))<<12|(63&e.charCodeAt(1))<<6|63&e.charCodeAt(2));default:return s((31&e.charCodeAt(0))<<6|63&e.charCodeAt(1))}},w=function(e){return e.replace(C,x)},S=function(e){var t=e.length,r=t%4,n=(t>0?i[e.charAt(0)]<<18:0)|(t>1?i[e.charAt(1)]<<12:0)|(t>2?i[e.charAt(2)]<<6:0)|(t>3?i[e.charAt(3)]:0),o=[s(n>>>16),s(n>>>8&255),s(255&n)];return o.length-=[0,0,2,1][r],o.join("")},O=r.atob&&"function"==typeof r.atob?function(e){return r.atob(e)}:function(e){return e.replace(/\S{1,4}/g,S)},E=function(e){return O(String(e).replace(/[^A-Za-z0-9\+\/]/g,""))},k=function(e){return w(O(e))},$=function(e){return String(e).replace(/[-_]/g,(function(e){return"-"==e?"+":"/"})).replace(/[^A-Za-z0-9\+\/]/g,"")},j=function(e){return k($(e))};r.Uint8Array&&(v=function(e){return Uint8Array.from(E($(e)),(function(e){return e.charCodeAt(0)}))});var A=function(){var e=r.Base64;return r.Base64=a,e};if(r.Base64={VERSION:c,atob:E,btoa:g,fromBase64:j,toBase64:b,utob:p,encode:b,encodeURI:y,btou:w,decode:j,noConflict:A,fromUint8Array:o,toUint8Array:v},"function"==typeof Object.defineProperty){var P=function(e){return{value:e,enumerable:!1,writable:!0,configurable:!0}};r.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",P((function(){return j(this)}))),Object.defineProperty(String.prototype,"toBase64",P((function(e){return b(this,e)}))),Object.defineProperty(String.prototype,"toBase64URI",P((function(){return b(this,!0)})))}}return r.Meteor&&(Base64=r.Base64),e.exports?e.exports.Base64=r.Base64:void 0===(n=function(){return r.Base64}.apply(t,[]))||(e.exports=n),{Base64:r.Base64}}(o)},83145:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CopyToClipboard=void 0;var n=a(r(59301)),o=a(r(25769));function a(e){return e&&e.__esModule?e:{default:e}}function c(e){return c="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},c(e)}function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function f(e,t){return!t||"object"!==c(t)&&"function"!=typeof t?d(e):t}function p(e){return p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},p(e)}function d(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function g(e,t){return g=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},g(e,t)}function m(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var h=function(e){function t(){var e,r;s(this,t);for(var a=arguments.length,c=new Array(a),l=0;l<a;l++)c[l]=arguments[l];return m(d(r=f(this,(e=p(t)).call.apply(e,[this].concat(c)))),"onClick",(function(e){var t=r.props,a=t.text,c=t.onCopy,l=t.children,i=t.options,s=n.default.Children.only(l),u=(0,o.default)(a,i);c&&c(a,u),s&&s.props&&"function"==typeof s.props.onClick&&s.props.onClick(e)})),r}var r,a,c;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&&g(e,t)}(t,e),r=t,a=[{key:"render",value:function(){var e=this.props,t=(e.text,e.onCopy,e.options,e.children),r=i(e,["text","onCopy","options","children"]),o=n.default.Children.only(t);return n.default.cloneElement(o,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?l(r,!0).forEach((function(t){m(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):l(r).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},r,{onClick:this.onClick}))}}],a&&u(r.prototype,a),c&&u(r,c),t}(n.default.PureComponent);t.CopyToClipboard=h,m(h,"defaultProps",{onCopy:void 0,options:void 0})},56102:function(e,t,r){"use strict";var n=r(83145).CopyToClipboard;n.CopyToClipboard=n,e.exports=n},98040:function(e){e.exports=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var t=document.activeElement,r=[],n=0;n<e.rangeCount;n++)r.push(e.getRangeAt(n));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||r.forEach((function(t){e.addRange(t)})),t&&t.focus()}}}}]); |