1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3560],{54446:function(e,t,n){"use strict";var r=n(9973);t.Z=void 0;var o=r(n(59815)),i=n(57437);t.Z=(0,o.default)([(0,i.jsx)("path",{d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2M12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8"},"0"),(0,i.jsx)("path",{d:"M12.5 7H11v6l5.25 3.15.75-1.23-4.5-2.67z"},"1")],"AccessTime")},28772:function(e,t,n){"use strict";var r=n(9973);t.Z=void 0;var o=r(n(59815)),i=n(57437);t.Z=(0,o.default)((0,i.jsx)("path",{d:"M18 13h-5v5c0 .55-.45 1-1 1s-1-.45-1-1v-5H6c-.55 0-1-.45-1-1s.45-1 1-1h5V6c0-.55.45-1 1-1s1 .45 1 1v5h5c.55 0 1 .45 1 1s-.45 1-1 1"}),"AddRounded")},85347:function(e,t,n){"use strict";var r=n(9973);t.Z=void 0;var o=r(n(59815)),i=n(57437);t.Z=(0,o.default)((0,i.jsx)("path",{d:"M13 16h-2c-.55 0-1-.45-1-1H3.01v4c0 1.1.9 2 2 2H19c1.1 0 2-.9 2-2v-4h-7c0 .55-.45 1-1 1m7-9h-4c0-2.21-1.79-4-4-4S8 4.79 8 7H4c-1.1 0-2 .9-2 2v3c0 1.11.89 2 2 2h6v-1c0-.55.45-1 1-1h2c.55 0 1 .45 1 1v1h6c1.1 0 2-.9 2-2V9c0-1.1-.9-2-2-2M10 7c0-1.1.9-2 2-2s2 .9 2 2H9.99z"}),"BusinessCenterRounded")},27849:function(e,t,n){"use strict";var r=n(9973);t.Z=void 0;var o=r(n(59815)),i=n(57437);t.Z=(0,o.default)((0,i.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8m3.88-11.71L10 14.17l-1.88-1.88a.9959.9959 0 0 0-1.41 0c-.39.39-.39 1.02 0 1.41l2.59 2.59c.39.39 1.02.39 1.41 0L17.3 9.7c.39-.39.39-1.02 0-1.41-.39-.39-1.03-.39-1.42 0"}),"CheckCircleOutlineRounded")},20526:function(e,t,n){"use strict";var r=n(9973);t.Z=void 0;var o=r(n(59815)),i=n(57437);t.Z=(0,o.default)((0,i.jsx)("path",{d:"M19 4h-1V3c0-.55-.45-1-1-1s-1 .45-1 1v1H8V3c0-.55-.45-1-1-1s-1 .45-1 1v1H5c-1.11 0-1.99.9-1.99 2L3 20c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2m0 15c0 .55-.45 1-1 1H6c-.55 0-1-.45-1-1V9h14zM7 11h2v2H7zm4 0h2v2h-2zm4 0h2v2h-2z"}),"DateRangeRounded")},67567:function(e,t,n){"use strict";var r=n(9973);t.Z=void 0;var o=r(n(59815)),i=n(57437);t.Z=(0,o.default)((0,i.jsx)("path",{d:"M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V9c0-1.1-.9-2-2-2H8c-1.1 0-2 .9-2 2zM18 4h-2.5l-.71-.71c-.18-.18-.44-.29-.7-.29H9.91c-.26 0-.52.11-.7.29L8.5 4H6c-.55 0-1 .45-1 1s.45 1 1 1h12c.55 0 1-.45 1-1s-.45-1-1-1"}),"DeleteRounded")},26260:function(e,t,n){"use strict";var r=n(9973);t.Z=void 0;var o=r(n(59815)),i=n(57437);t.Z=(0,o.default)((0,i.jsx)("path",{d:"m9 16.2-3.5-3.5a.9839.9839 0 0 0-1.4 0c-.39.39-.39 1.01 0 1.4l4.19 4.19c.39.39 1.02.39 1.41 0L20.3 7.7c.39-.39.39-1.01 0-1.4a.9839.9839 0 0 0-1.4 0z"}),"DoneRounded")},1082:function(e,t,n){"use strict";var r=n(9973);t.Z=void 0;var o=r(n(59815)),i=n(57437);t.Z=(0,o.default)((0,i.jsx)("path",{d:"M3 17.46v3.04c0 .28.22.5.5.5h3.04c.13 0 .26-.05.35-.15L17.81 9.94l-3.75-3.75L3.15 17.1c-.1.1-.15.22-.15.36M20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34a.9959.9959 0 0 0-1.41 0l-1.83 1.83 3.75 3.75z"}),"EditRounded")},91094:function(e,t,n){"use strict";var r=n(9973);t.Z=void 0;var o=r(n(59815)),i=n(57437);t.Z=(0,o.default)((0,i.jsx)("path",{d:"M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2m-.4 4.25-7.07 4.42c-.32.2-.74.2-1.06 0L4.4 8.25c-.25-.16-.4-.43-.4-.72 0-.67.73-1.07 1.3-.72L12 11l6.7-4.19c.57-.35 1.3.05 1.3.72 0 .29-.15.56-.4.72"}),"EmailRounded")},13979:function(e,t,n){"use strict";var r=n(9973);t.Z=void 0;var o=r(n(59815)),i=n(57437);t.Z=(0,o.default)((0,i.jsx)("path",{d:"M12 7c.55 0 1 .45 1 1v4c0 .55-.45 1-1 1s-1-.45-1-1V8c0-.55.45-1 1-1m-.01-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2M12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8m1-3h-2v-2h2z"}),"ErrorOutlineRounded")},94727:function(e,t,n){"use strict";var r=n(9973);t.Z=void 0;var o=r(n(59815)),i=n(57437);t.Z=(0,o.default)((0,i.jsx)("path",{d:"M12 12.75c1.63 0 3.07.39 4.24.9 1.08.48 1.76 1.56 1.76 2.73V17c0 .55-.45 1-1 1H7c-.55 0-1-.45-1-1v-.61c0-1.18.68-2.26 1.76-2.73 1.17-.52 2.61-.91 4.24-.91M4 13c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2m1.13 1.1c-.37-.06-.74-.1-1.13-.1-.99 0-1.93.21-2.78.58C.48 14.9 0 15.62 0 16.43V17c0 .55.45 1 1 1h3.5v-1.61c0-.83.23-1.61.63-2.29M20 13c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2m4 3.43c0-.81-.48-1.53-1.22-1.85-.85-.37-1.79-.58-2.78-.58-.39 0-.76.04-1.13.1.4.68.63 1.46.63 2.29V18H23c.55 0 1-.45 1-1zM12 6c1.66 0 3 1.34 3 3s-1.34 3-3 3-3-1.34-3-3 1.34-3 3-3"}),"GroupsRounded")},98821:function(e,t,n){"use strict";var r=n(9973);t.Z=void 0;var o=r(n(59815)),i=n(57437);t.Z=(0,o.default)([(0,i.jsx)("path",{d:"M17.5 4.5c-1.95 0-4.05.4-5.5 1.5-1.45-1.1-3.55-1.5-5.5-1.5-1.45 0-2.99.22-4.28.79C1.49 5.62 1 6.33 1 7.14v11.28c0 1.3 1.22 2.26 2.48 1.94.98-.25 2.02-.36 3.02-.36 1.56 0 3.22.26 4.56.92.6.3 1.28.3 1.87 0 1.34-.67 3-.92 4.56-.92 1 0 2.04.11 3.02.36 1.26.33 2.48-.63 2.48-1.94V7.14c0-.81-.49-1.52-1.22-1.85-1.28-.57-2.82-.79-4.27-.79M21 17.23c0 .63-.58 1.09-1.2.98-.75-.14-1.53-.2-2.3-.2-1.7 0-4.15.65-5.5 1.5V8c1.35-.85 3.8-1.5 5.5-1.5.92 0 1.83.09 2.7.28.46.1.8.51.8.98z"}
1,"0"),(0,i.jsx)("path",{d:"M13.98 11.01c-.32 0-.61-.2-.71-.52-.13-.39.09-.82.48-.94 1.54-.5 3.53-.66 5.36-.45.41.05.71.42.66.83-.05.41-.42.71-.83.66-1.62-.19-3.39-.04-4.73.39-.08.01-.16.03-.23.03m0 2.66c-.32 0-.61-.2-.71-.52-.13-.39.09-.82.48-.94 1.53-.5 3.53-.66 5.36-.45.41.05.71.42.66.83-.05.41-.42.71-.83.66-1.62-.19-3.39-.04-4.73.39-.08.02-.16.03-.23.03m0 2.66c-.32 0-.61-.2-.71-.52-.13-.39.09-.82.48-.94 1.53-.5 3.53-.66 5.36-.45.41.05.71.42.66.83-.05.41-.42.7-.83.66-1.62-.19-3.39-.04-4.73.39-.08.02-.16.03-.23.03"},"1")],"MenuBookRounded")},27519:function(e,t,n){"use strict";var r=n(9973);t.Z=void 0;var o=r(n(59815)),i=n(57437);t.Z=(0,o.default)((0,i.jsx)("path",{d:"M12 14c1.66 0 3-1.34 3-3V5c0-1.66-1.34-3-3-3S9 3.34 9 5v6c0 1.66 1.34 3 3 3m5.91-3c-.49 0-.9.36-.98.85C16.52 14.2 14.47 16 12 16s-4.52-1.8-4.93-4.15c-.08-.49-.49-.85-.98-.85-.61 0-1.09.54-1 1.14.49 3 2.89 5.35 5.91 5.78V20c0 .55.45 1 1 1s1-.45 1-1v-2.08c3.02-.43 5.42-2.78 5.91-5.78.1-.6-.39-1.14-1-1.14"}),"MicRounded")},25440:function(e,t,n){"use strict";var r=n(9973);t.Z=void 0;var o=r(n(59815)),i=n(57437);t.Z=(0,o.default)([(0,i.jsx)("circle",{cx:"12",cy:"12",r:"3.2"},"0"),(0,i.jsx)("path",{d:"M9 2 7.17 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2h-3.17L15 2zm3 15c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5"},"1")],"PhotoCamera")},96662:function(e,t,n){"use strict";var r=n(9973);t.Z=void 0;var o=r(n(59815)),i=n(57437);t.Z=(0,o.default)((0,i.jsx)("path",{d:"M5 4v2h14V4zm0 10h4v6h6v-6h4l-7-7z"}),"Publish")},60508:function(e,t,n){"use strict";var r=n(9973);t.Z=void 0;var o=r(n(59815)),i=n(57437);t.Z=(0,o.default)((0,i.jsx)("path",{d:"M18 13H6c-.55 0-1-.45-1-1s.45-1 1-1h12c.55 0 1 .45 1 1s-.45 1-1 1"}),"RemoveRounded")},59869:function(e,t,n){"use strict";var r=n(9973);t.Z=void 0;var o=r(n(59815)),i=n(57437);t.Z=(0,o.default)((0,i.jsx)("path",{d:"M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14"}),"Search")},89847:function(e,t,n){"use strict";var r=n(9973);t.Z=void 0;var o=r(n(59815)),i=n(57437);t.Z=(0,o.default)((0,i.jsx)("path",{d:"m19.65 9.04-4.84-.42-1.89-4.45c-.34-.81-1.5-.81-1.84 0L9.19 8.63l-4.83.41c-.88.07-1.24 1.17-.57 1.75l3.67 3.18-1.1 4.72c-.2.86.73 1.54 1.49 1.08l4.15-2.5 4.15 2.51c.76.46 1.69-.22 1.49-1.08l-1.1-4.73 3.67-3.18c.67-.58.32-1.68-.56-1.75M12 15.4l-3.76 2.27 1-4.28-3.32-2.88 4.38-.38L12 6.1l1.71 4.04 4.38.38-3.32 2.88 1 4.28z"}),"StarOutlineRounded")},36764:function(e,t,n){"use strict";var r=n(9973);t.Z=void 0;var o=r(n(59815)),i=n(57437);t.Z=(0,o.default)((0,i.jsx)("path",{d:"m12 17.27 4.15 2.51c.76.46 1.69-.22 1.49-1.08l-1.1-4.72 3.67-3.18c.67-.58.31-1.68-.57-1.75l-4.83-.41-1.89-4.46c-.34-.81-1.5-.81-1.84 0L9.19 8.63l-4.83.41c-.88.07-1.24 1.17-.57 1.75l3.67 3.18-1.1 4.72c-.2.86.73 1.54 1.49 1.08z"}),"StarRounded")},33301:function(e,t,n){"use strict";var r=n(9973);t.Z=void 0;var o=r(n(59815)),i=n(57437);t.Z=(0,o.default)((0,i.jsx)("path",{d:"M17 10.5V7c0-.55-.45-1-1-1H4c-.55 0-1 .45-1 1v10c0 .55.45 1 1 1h12c.55 0 1-.45 1-1v-3.5l4 4v-11z"}),"Videocam")},89058:function(e,t,n){"use strict";var r=n(9973);t.Z=void 0;var o=r(n(59815)),i=n(57437);t.Z=(0,o.default)((0,i.jsx)("path",{d:"M12 5.99 19.53 19H4.47zM2.74 18c-.77 1.33.19 3 1.73 3h15.06c1.54 0 2.5-1.67 1.73-3L13.73 4.99c-.77-1.33-2.69-1.33-3.46 0zM11 11v2c0 .55.45 1 1 1s1-.45 1-1v-2c0-.55-.45-1-1-1s-1 .45-1 1m0 5h2v2h-2z"}),"WarningAmberRounded")},8350:function(e,t,n){"use strict";var r=n(74610),o=n(1119),i=n(2265),a=n(61994),s=n(20801),c=n(14031),l=n(16210),u=n(37053),d=n(42596),h=n(57437);const f=["absolute","children","className","component","flexItem","light","orientation","role","textAlign","variant"],v=(0,l.ZP)("div",{name:"MuiDivider",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.absolute&&t.absolute,t[n.variant],n.light&&t.light,"vertical"===n.orientation&&t.vertical,n.flexItem&&t.flexItem,n.children&&t.withChildren,n.children&&"vertical"===n.orientation&&t.withChildrenVertical,"right"===n.textAlign&&"vertical"!==n.orientation&&t.textAlignRight,"left"===n.textAlign&&"vertical"!==n.orientation&&t.textAlignLeft]}})((e=>{let{theme:t,ownerState:n}=e;return(0,o.Z)({margin:0,flexShrink:0,borderWidth:0,borderStyle:"solid",borderColor:(t.vars||t).palette.divider,borderBottomWidth:"thin"},n.absolute&&{position:"absolute",bottom:0,left:0,width:"100%"},n.light&&{borderColor:t.vars?"rgba(".concat(t.vars.palette.dividerChannel," / 0.08)"):(0,c.Fq)(t.palette.divider,.08)},"inset"===n.variant&&{marginLeft:72},"middle"===n.variant&&"horizontal"===n.orientation&&{marginLeft:t.spacing(2),marginRight:t.spacing(2)},"middle"===n.variant&&"vertical"===n.orientation&&{marginTop:t.spacing(1),marginBottom:t.spacing(1)},"vertical"===n.orientation&&{height:"100%",borderBottomWidth:0,borderRightWidth:"thin"},n.flexItem&&{alignSelf:"stretch",height:"auto"})}),(e=>{let{ownerState:t}=e;return(0,o.Z)({},t.children&&{display:"flex",whiteSpace:"nowrap",textAlign:"center",border:0,borderTopStyle:"solid",borderLeftStyle:"solid","&::before, &::after":{content:'""',alignSelf:"center"}})}),(e=>{let{theme:t,ownerState:n}=e;return(0,o.Z)({},n.children&&"vertical"!==n.orientation&&{"&::before, &::after":{width:"100%",borderTop:"thin solid ".concat((t.vars||t).palette.divider),borderTopStyle:"inherit"}})}),(e=>{let{theme:t,ownerState:n}=e;return(0,o.Z)({},n.children&&"vertical"===n.orientation&&{flexDirection:"column","&::before, &::after":{height:"100%",borderLeft:"thin solid ".concat((t.vars||t).palette.divider),borderLeftStyle:"inherit"}})}),(e=>{let{ownerState:t}=e;return(0,o.Z)({},"right"===t.textAlign&&"vertical"!==t.orientation&&{"&::before":{width:"90%"},"&::after":{width:"10%"}},"left"===t.textAlign&&"vertical"!==t.orientation&&{"&::before":{width:"10%"},"&::after":{width:"90%"}})})),p=(0,l.ZP)("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.wrapper,"vertical"===n.orientation&&t.wrapperVertical]}})((e=>{let{theme:t,ownerState:n}=e;return(0,o.Z)({display:"inline-block",paddingLeft:"calc(".concat(t.spacing(1)," * 1.2)"),paddingRight:"calc(".concat(t.spacing(1)," * 1.2)")},"vertical"===n.orientation&&{paddingTop:"calc(".concat(t.spacing(1)," * 1.2)"),paddingBottom:"calc(".concat(t.spacing(1)," * 1.2)")})})),m=i.forwardRef((function(e,t){const n=(0,u.i)({props:e,name:"MuiDivider"}),{absolute:i=!1,children:c,className:l,component:m=(c?"div":"hr"),flexItem:g=!1,light:S=!1,orientation:w="horizontal",role:M=("hr"!==m?"separator":void 0),textAlign:k="center",variant:C="fullWidth"}=n,b=(0,r.Z)(n,f),Z=(0,o.Z)({},n,{absolute:i,component:m,flexItem:g,light:S,orientation:w,role:M,textAlign:k,variant:C}),y=(e=>{const{absolute:t,children:n,classes:r,flexItem:o,light:i,orientation:a,textAlign:c,variant:l}=e,u={root:["root",t&&"absolute",l,i&&"light","vertical"===a&&"vertical",o&&"flexItem",n&&"withChildren",n&&"vertical"===a&&"withChildrenVertical","right"===c&&"vertical"!==a&&"textAlignRight","left"===c&&"vertical"!==a&&"textAlignLeft"],wrapper:["wrapper","vertical"===a&&"wrapperVertical"]};return(0,s.Z)(u,d.V,r)})(Z);return(0,h.jsx)(v,(0,o.Z)({as:m,className:(0,a.Z)(y.root,l),role:M,ref:t,ownerState:Z},b,{children:c?(0,h.jsx)(p,{className:y.wrapper,ownerState:Z,children:c}):null}))}));m.muiSkipListHighlight=!0,t.Z=m},89126:function(e,t,n){"use strict";n.d(t,{Z:function(){return S}});var r=n(74610),o=n(1119),i=n(2265),a=n(61994),s=n(20801),c=n(16210),l=n(37053),u=n(94143),d=n(50738);function h(e){return(0,d.ZP)("MuiFormGroup",e)}(0,u.Z)("MuiFormGroup",["root","row","error"]);var f=n(66515),v=n(48904),p=n(57437);const m=["className","row"],g=(0,c.ZP)("div",{name:"MuiFormGroup",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.row&&t.row]}})((e=>{let{ownerState:t}=e;return(0,o.Z)({display:"flex",flexDirection:"column",flexWrap:"wrap"},t.row&&{flexDirection:"row"})}));var S=i.forwardRef((function(e,t){const n=(0,l.i)({props:e,name:"MuiFormGroup"}),{className:i,row:c=!1}=n,u=(0,r.Z)(n,m),d=(0,f.Z)(),S=(0,v.Z)({props:n,muiFormControl:d,states:["error"]}),w=(0,o.Z)({},n,{row:c,error:S.error}),M=(e=>{const{classes:t,row:n,error:r}=e,o={root:["root",n&&"row",r&&"error"]};return(0,s.Z)(o,h,t)})(w);return(0,p.jsx)(g,(0,o.Z)({className:(0,a.Z)(M.root,i),ownerState:w,ref:t},u))}))},28181:function(e,t,n){"use strict";n.d(t,{Z:function(){return V}});var r=n(74610),o=n(1119),i=n(2265),a=n(61994),s=n(20801),c=n(14031),l=n(66183),u=n(37053),d=n(32464),h=n(57437),f=(0,d.Z)((0,h.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"RadioButtonUnchecked"),v=(0,d.Z)((0,h.jsx)("path",{d:"M8.465 8.465C9.37 7.56 10.62 7 12 7C14.76 7 17 9.24 17 12C17 13.38 16.44 14.63 15.535 15.535C14.63 16.44 13.38 17 12 17C9.24 17 7 14.76 7 12C7 10.62 7.56 9.37 8.465 8.465Z"}),"RadioButtonChecked"),p=n(16210),m=n(34765);const g=(0,p.ZP)("span",{name:"MuiRadioButtonIcon",shouldForwardProp:m.Z})({position:"relative",display:"flex"}),S=(0,p.ZP)(f,{name:"MuiRadioButtonIcon"})({transform:"scale(1)"}),w=(0,p.ZP)(v,{name:"MuiRadioButtonIcon"})((e=>{let{theme:t,ownerState:n}=e;return(0,o.Z)({left:0,position:"absolute",transform:"scale(0)",transition:t.transitions.create("transform",{easing:t.transitions.easing.easeIn,duration:t.transitions.duration.shortest})},n.checked&&{transform:"scale(1)",transition:t.transitions.create("transform",{easing:t.transitions.easing.easeOut,duration:t.transitions.duration.shortest})})}));var M=function(e){const{checked:t=!1,classes:n={},fontSize:r}=e,i=(0,o.Z)({},e,{checked:t});return(0,h.jsxs)(g,{className:n.root,ownerState:i,children:[(0,h.jsx)(S,{fontSize:r,className:n.background,ownerState:i}),(0,h.jsx)(w,{fontSize:r,className:n.dot,ownerState:i})]})}
1,k=n(85657),C=n(4027),b=n(9366);var Z=n(94143),y=n(50738);function x(e){return(0,y.ZP)("MuiRadio",e)}var O=(0,Z.Z)("MuiRadio",["root","checked","disabled","colorPrimary","colorSecondary","sizeSmall"]);const R=["checked","checkedIcon","color","icon","name","onChange","size","className"],j=(0,p.ZP)(l.Z,{shouldForwardProp:e=>(0,m.Z)(e)||"classes"===e,name:"MuiRadio",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"medium"!==n.size&&t["size".concat((0,k.Z)(n.size))],t["color".concat((0,k.Z)(n.color))]]}})((e=>{let{theme:t,ownerState:n}=e;return(0,o.Z)({color:(t.vars||t).palette.text.secondary},!n.disableRipple&&{"&:hover":{backgroundColor:t.vars?"rgba(".concat("default"===n.color?t.vars.palette.action.activeChannel:t.vars.palette[n.color].mainChannel," / ").concat(t.vars.palette.action.hoverOpacity,")"):(0,c.Fq)("default"===n.color?t.palette.action.active:t.palette[n.color].main,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"default"!==n.color&&{["&.".concat(O.checked)]:{color:(t.vars||t).palette[n.color].main}},{["&.".concat(O.disabled)]:{color:(t.vars||t).palette.action.disabled}})}));const I=(0,h.jsx)(M,{checked:!0}),P=(0,h.jsx)(M,{});var V=i.forwardRef((function(e,t){var n,c;const l=(0,u.i)({props:e,name:"MuiRadio"}),{checked:d,checkedIcon:f=I,color:v="primary",icon:p=P,name:m,onChange:g,size:S="medium",className:w}=l,M=(0,r.Z)(l,R),Z=(0,o.Z)({},l,{color:v,size:S}),y=(e=>{const{classes:t,color:n,size:r}=e,i={root:["root","color".concat((0,k.Z)(n)),"medium"!==r&&"size".concat((0,k.Z)(r))]};return(0,o.Z)({},t,(0,s.Z)(i,x,t))})(Z),O=i.useContext(b.Z);let V=d;const D=(0,C.Z)(g,O&&O.onChange);let U=m;var z,L;return O&&("undefined"===typeof V&&(z=O.value,V="object"===typeof(L=l.value)&&null!==L?z===L:String(z)===String(L)),"undefined"===typeof U&&(U=O.name)),(0,h.jsx)(j,(0,o.Z)({type:"radio",icon:i.cloneElement(p,{fontSize:null!=(n=P.props.fontSize)?n:S}),checkedIcon:i.cloneElement(f,{fontSize:null!=(c=I.props.fontSize)?c:S}),ownerState:Z,classes:y,name:U,checked:V,onChange:D,ref:t,className:(0,a.Z)(y.root,w)},M))}))},26225:function(e,t,n){"use strict";n.d(t,{Z:function(){return S}});var r=n(1119),o=n(74610),i=n(2265),a=n(61994),s=n(20801),c=n(89126),l=n(94143),u=n(50738);function d(e){return(0,u.ZP)("MuiRadioGroup",e)}(0,l.Z)("MuiRadioGroup",["root","row","error"]);var h=n(60118),f=n(67184),v=n(9366),p=n(32709),m=n(57437);const g=["actions","children","className","defaultValue","name","onChange","value"];var S=i.forwardRef((function(e,t){const{actions:n,children:l,className:u,defaultValue:S,name:w,onChange:M,value:k}=e,C=(0,o.Z)(e,g),b=i.useRef(null),Z=(e=>{const{classes:t,row:n,error:r}=e,o={root:["root",n&&"row",r&&"error"]};return(0,s.Z)(o,d,t)})(e),[y,x]=(0,f.Z)({controlled:k,default:S,name:"RadioGroup"});i.useImperativeHandle(n,(()=>({focus:()=>{let e=b.current.querySelector("input:not(:disabled):checked");e||(e=b.current.querySelector("input:not(:disabled)")),e&&e.focus()}})),[]);const O=(0,h.Z)(t,b),R=(0,p.Z)(w),j=i.useMemo((()=>({name:R,onChange(e){x(e.target.value),M&&M(e,e.target.value)},value:y})),[R,M,x,y]);return(0,m.jsx)(v.Z.Provider,{value:j,children:(0,m.jsx)(c.Z,(0,r.Z)({role:"radiogroup",ref:O,className:(0,a.Z)(Z.root,u)},C,{children:l}))})}))},9366:function(e,t,n){"use strict";const r=n(2265).createContext(void 0);t.Z=r},22095:function(e,t,n){"use strict";n.d(t,{Z:function(){return m}});var r=n(1119),o=n(74610),i=n(2265),a=n(61994),s=n(20801),c=n(37053),l=n(16210),u=n(94143),d=n(50738);function h(e){return(0,d.ZP)("MuiTableContainer",e)}(0,u.Z)("MuiTableContainer",["root"]);var f=n(57437);const v=["className","component"],p=(0,l.ZP)("div",{name:"MuiTableContainer",slot:"Root",overridesResolver:(e,t)=>t.root})({width:"100%",overflowX:"auto"});var m=i.forwardRef((function(e,t){const n=(0,c.i)({props:e,name:"MuiTableContainer"}),{className:i,component:l="div"}=n,u=(0,o.Z)(n,v),d=(0,r.Z)({},n,{component:l}),m=(e=>{const{classes:t}=e;return(0,s.Z)({root:["root"]},h,t)})(d);return(0,f.jsx)(p,(0,r.Z)({ref:t,as:l,className:(0,a.Z)(m.root,i),ownerState:d},u))}))},16682:function(e,t,n){e.exports=n(61483)},61483:function(e,t,n){"use strict";var r,o=(r=n(2265))&&"object"==typeof r&&"default"in r?r.default:r,i=n(54887);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function s(e,t){e.prototype=Object.create(t.prototype),function(e,t){for(var n=Object.getOwnPropertyNames(t),r=0;r<n.length;r++){var o=n[r],i=Object.getOwnPropertyDescriptor(t,o);
vendor: 12,732 bytes, line 1
1i&&i.configurable&&void 0===e[o]&&Object.defineProperty(e,o,i)}}(e.prototype.constructor=e,t)}function c(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var l=function(e,t,n,r,o,i,a,s){if(!e){var c;if(void 0===t)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var l=[n,r,o,i,a,s],u=0;(c=new Error(t.replace(/%s/g,(function(){return l[u++]})))).name="Invariant Violation"}throw c.framesToPop=1,c}};function u(e,t,n){if("selectionStart"in e&&"selectionEnd"in e)e.selectionStart=t,e.selectionEnd=n;else{var r=e.createTextRange();r.collapse(!0),r.moveStart("character",t),r.moveEnd("character",n-t),r.select()}}var d={9:"[0-9]",a:"[A-Za-z]","*":"[A-Za-z0-9]"};function h(e,t,n){var r="",o="",i=null,a=[];if(void 0===t&&(t="_"),null==n&&(n=d),!e||"string"!=typeof e)return{maskChar:t,formatChars:n,mask:null,prefix:null,lastEditablePosition:null,permanents:[]};var s=!1;return e.split("").forEach((function(e){s=!s&&"\\"===e||(s||!n[e]?(a.push(r.length),r.length===a.length-1&&(o+=e)):i=r.length+1,r+=e,!1)})),{maskChar:t,formatChars:n,prefix:o,mask:r,lastEditablePosition:i,permanents:a}}function f(e,t){return-1!==e.permanents.indexOf(t)}function v(e,t,n){var r=e.mask,o=e.formatChars;if(!n)return!1;if(f(e,t))return r[t]===n;var i=o[r[t]];return new RegExp(i).test(n)}function p(e,t){return t.split("").every((function(t,n){return f(e,n)||!v(e,n,t)}))}function m(e,t){var n=e.maskChar,r=e.prefix;if(!n){for(;t.length>r.length&&f(e,t.length-1);)t=t.slice(0,t.length-1);return t.length}for(var o=r.length,i=t.length;i>=r.length;i--){var a=t[i];if(!f(e,i)&&v(e,i,a)){o=i+1;break}}return o}function g(e,t){return m(e,t)===e.mask.length}function S(e,t){var n=e.maskChar,r=e.mask,o=e.prefix;if(!n){for((t=w(e,"",t,0)).length<o.length&&(t=o);t.length<r.length&&f(e,t.length);)t+=r[t.length];return t}if(t)return w(e,S(e,""),t,0);for(var i=0;i<r.length;i++)f(e,i)?t+=r[i]:t+=n;return t}function w(e,t,n,r){var o=e.mask,i=e.maskChar,a=e.prefix,s=n.split(""),c=g(e,t);return!i&&r>t.length&&(t+=o.slice(t.length,r)),s.every((function(n){for(;u=n,f(e,l=r)&&u!==o[l];){if(r>=t.length&&(t+=o[r]),s=n,i&&f(e,r)&&s===i)return!0;if(++r>=o.length)return!1}var s,l,u;return!v(e,r,n)&&n!==i||(r<t.length?t=i||c||r<a.length?t.slice(0,r)+n+t.slice(r+1):(t=t.slice(0,r)+n+t.slice(r),S(e,t)):i||(t+=n),++r<o.length)})),t}function M(e,t){for(var n=e.mask,r=t;r<n.length;++r)if(!f(e,r))return r;return null}function k(e){return e||0===e?e+"":""}function C(e,t,n,r,o){var i=e.mask,a=e.prefix,s=e.lastEditablePosition,c=t,l="",u=0,d=0,h=Math.min(o.start,n.start);return n.end>o.start?d=(u=function(e,t,n,r){var o=e.mask,i=e.maskChar,a=n.split(""),s=r;return a.every((function(t){for(;a=t,f(e,n=r)&&a!==o[n];)if(++r>=o.length)return!1;var n,a;return(v(e,r,t)||t===i)&&r++,r<o.length})),r-s}(e,0,l=c.slice(o.start,n.end),h))?o.length:0:c.length<r.length&&(d=r.length-c.length),c=r,d&&(1!==d||o.length||(h=o.start===n.start?M(e,n.start):function(e,t){for(var n=t;0<=n;--n)if(!f(e,n))return n;return null}(e,n.start)),c=function(e,t,n,r){var o=n+r,i=e.maskChar,a=e.mask,s=e.prefix,c=t.split("");if(i)return c.map((function(t,r){return r<n||o<=r?t:f(e,r)?a[r]:i})).join("");for(var l=o;l<c.length;l++)f(e,l)&&(c[l]="");return n=Math.max(s.length,n),c.splice(n,o-n),t=c.join(""),S(e,t)}(e,c,h,d)),c=w(e,c,l,h),(h+=u)>=i.length?h=i.length:h<a.length&&!u?h=a.length:h>=a.length&&h<s&&u&&(h=M(e,h)),l||(l=null),{value:c=S(e,c),enteredString:l,selection:{start:h,end:h}}}function b(e){return"function"==typeof e}function Z(){return window.cancelAnimationFrame||window.webkitCancelRequestAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame}function y(e){return(Z()?window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame:function(){return setTimeout(e,1e3/60)})(e)}function x(e){(Z()||clearTimeout)(e)}var O=function(e){function t(t){var n=e.call(this,t)||this;n.focused=!1,n.mounted=!1,n.previousSelection=null,n.selectionDeferId=null,n.saveSelectionLoopDeferId=null,n.saveSelectionLoop=function(){n.previousSelection=n.getSelection(),n.saveSelectionLoopDeferId=y(n.saveSelectionLoop)},n.runSaveSelectionLoop=function(){null===n.saveSelectionLoopDeferId&&n.saveSelectionLoop()},n.stopSaveSelectionLoop=function(){null!==n.saveSelectionLoopDeferId&&(x(n.saveSelectionLoopDeferId),n.saveSelectionLoopDeferId=null,n.previousSelection=null)},n.getInputDOMNode=function(){if(!n.mounted)return null;var e=i.findDOMNode(c(c(n))),t="undefined"!=typeof window&&e instanceof window.Element;if(e&&!t)return null;if("INPUT"!==e.nodeName&&(e=e.querySelector("input")),!e)throw new Error("react-input-mask: inputComponent doesn't contain input node");return e},n.getInputValue=function(){var e=n.getInputDOMNode();return e?e.value:null},n.setInputValue=function(e){var t=n.getInputDOMNode();t&&(n.value=e,t.value=e)},n.setCursorToEnd=function(){var e=m(n.maskOptions,n.value),t=M(n.maskOptions,e);null!==t&&n.setCursorPosition(t)},n.setSelection=function(e,t,r){void 0===r&&(r={});var o=n.getInputDOMNode(),i=n.isFocused();o&&i&&(r.deferred||u(o,e,t),null!==n.selectionDeferId&&x(n.selectionDeferId),n.selectionDeferId=y((function(){n.selectionDeferId=null,u(o,e,t)})),n.previousSelection={start:e,end:t,length:Math.abs(t-e)})},n.getSelection=function(){return function(e){var t=0,n=0;if("selectionStart"in e&&"selectionEnd"in e)t=e.selectionStart,n=e.selectionEnd;else{var r=document.selection.createRange();r.parentElement()===e&&(t=-r.moveStart("character",-e.value.length),n=-r.moveEnd("character",-e.value.length))}return{start:t,end:n,length:n-t}}(n.getInputDOMNode())},n.getCursorPosition=function(){return n.getSelection().start},n.setCursorPosition=function(e){n.setSelection(e,e)},n.isFocused=function(){return n.focused},n.getBeforeMaskedValueChangeConfig=function(){var e=n.maskOptions,t=e.mask,r=e.maskChar,o=e.permanents,i=e.formatChars;return{mask:t,maskChar:r,permanents:o,alwaysShowMask:!!n.props.alwaysShowMask,formatChars:i}},n.isInputAutofilled=function(e,t,r,o){var i=n.getInputDOMNode();try{if(i.matches(":-webkit-autofill"))return!0}catch(l){}return!n.focused||o.end<r.length&&t.end===e.length},n.onChange=function(e){var t=c(c(n)).beforePasteState,r=c(c(n)).previousSelection,o=n.props.beforeMaskedValueChange,i=n.getInputValue(),a=n.value,s=n.getSelection();n.isInputAutofilled(i,s,a,r)&&(a=S(n.maskOptions,""),r={start:0,end:0,length:0}),t&&(r=t.selection,a=t.value,s={start:r.start+i.length,end:r.start+i.length,length:0},i=a.slice(0,r.start)+i+a.slice(r.end),n.beforePasteState=null);var l=C(n.maskOptions,i,s,a,r),u=l.enteredString,d=l.selection,h=l.value;if(b(o)){var f=o({value:h,selection:d},{value:a,selection:r},u,n.getBeforeMaskedValueChangeConfig());h=f.value,d=f.selection}n.setInputValue(h),b(n.props.onChange)&&n.props.onChange(e),n.isWindowsPhoneBrowser?n.setSelection(d.start,d.end,{deferred:!0}):n.setSelection(d.start,d.end)},n.onFocus=function(e){var t=n.props.beforeMaskedValueChange,r=n.maskOptions,o=r.mask,i=r.prefix;if(n.focused=!0,n.mounted=!0,o){if(n.value)m(n.maskOptions,n.value)<n.maskOptions.mask.length&&n.setCursorToEnd();else{var a=S(n.maskOptions,i),s=S(n.maskOptions,a),c=m(n.maskOptions,s),l=M(n.maskOptions,c),u={start:l,end:l};if(b(t)){var d=t({value:s,selection:u},{value:n.value,selection:null},null,n.getBeforeMaskedValueChangeConfig());s=d.value,u=d.selection}var h=s!==n.getInputValue();h&&n.setInputValue(s),h&&b(n.props.onChange)&&n.props.onChange(e),n.setSelection(u.start,u.end)}n.runSaveSelectionLoop()}b(n.props.onFocus)&&n.props.onFocus(e)},n.onBlur=function(e){var t=n.props.beforeMaskedValueChange,r=n.maskOptions.mask;if(n.stopSaveSelectionLoop(),n.focused=!1,r&&!n.props.alwaysShowMask&&p(n.maskOptions,n.value)){var o="";b(t)&&(o=t({value:o,selection:null},{value:n.value,selection:n.previousSelection},null,n.getBeforeMaskedValueChangeConfig()).value);var i=o!==n.getInputValue();i&&n.setInputValue(o),i&&b(n.props.onChange)&&n.props.onChange(e)}b(n.props.onBlur)&&n.props.onBlur(e)},n.onMouseDown=function(e){if(!n.focused&&document.addEventListener){n.mouseDownX=e.clientX,n.mouseDownY=e.clientY,n.mouseDownTime=(new Date).getTime();document.addEventListener("mouseup",(function e(t){if(document.removeEventListener("mouseup",e),n.focused){var r=Math.abs(t.clientX-n.mouseDownX),o=Math.abs(t.clientY-n.mouseDownY),i=Math.max(r,o),a=(new Date).getTime()-n.mouseDownTime;(i<=10&&a<=200||i<=5&&a<=300)&&n.setCursorToEnd()}}))}b(n.props.onMouseDown)&&n.props.onMouseDown(e)},n.onPaste=function(e){b(n.props.onPaste)&&n.props.onPaste(e),e.defaultPrevented||(n.beforePasteState={value:n.getInputValue(),selection:n.getSelection()},n.setInputValue(""))},n.handleRef=function(e){null==n.props.children&&b(n.props.inputRef)&&n.props.inputRef(e)};var r=t.mask,o=t.maskChar,a=t.formatChars,s=t.alwaysShowMask,l=t.beforeMaskedValueChange,d=t.defaultValue,f=t.value;n.maskOptions=h(r,o,a),null==d&&(d=""),null==f&&(f=d);var v=k(f);if(n.maskOptions.mask&&(s||v)&&(v=S(n.maskOptions,v),b(l))){var g=t.value;null==t.value&&(g=d),v=l({value:v,selection:null},{value:g=k(g),selection:null},null,n.getBeforeMaskedValueChangeConfig()).value}return n.value=v,n}s(t,e);var n=t.prototype;return n.componentDidMount=function(){this.mounted=!0,this.getInputDOMNode()&&(this.isWindowsPhoneBrowser=function(){var e=new RegExp("windows","i"),t=new RegExp("phone","i"),n=navigator.userAgent;return e.test(n)&&t.test(n)}(),this.maskOptions.mask&&this.getInputValue()!==this.value&&this.setInputValue(this.value))},n.componentDidUpdate=function(){var e=this.previousSelection,t=this.props,n=t.beforeMaskedValueChange,r=t.alwaysShowMask,o=t.mask,i=t.maskChar,a=t.formatChars,s=this.maskOptions,c=r||this.isFocused(),l=null!=this.props.value,u=l?k(this.props.value):this.value,d=e?e.start:null;if(this.maskOptions=h(o,i,a),this.maskOptions.mask){!s.mask&&this.isFocused()&&this.runSaveSelectionLoop();var f=this.maskOptions.mask&&this.maskOptions.mask!==s.mask;if(s.mask||l||(u=this.getInputValue()),(f||this.maskOptions.mask&&(u||c))&&(u=S(this.maskOptions,u)),f){var v=m(this.maskOptions,u);(null===d||v<d)&&(d=g(this.maskOptions,u)?v:M(this.maskOptions,v))}!this.maskOptions.mask||!p(this.maskOptions,u)||c||l&&this.props.value||(u="");var w={start:d,end:d};if(b(n)){var C=n({value:u,selection:w},{value:this.value,selection:this.previousSelection},null,this.getBeforeMaskedValueChangeConfig());u=C.value,w=C.selection}this.value=u;var Z=this.getInputValue()!==this.value;Z?(this.setInputValue(this.value),this.forceUpdate()):f&&this.forceUpdate();var y=!1;null!=w.start&&null!=w.end&&(y=!e||e.start!==w.start||e.end!==w.end),(y||Z)&&this.setSelection(w.start,w.end)}else s.mask&&(this.stopSaveSelectionLoop(),this.forceUpdate())},n.componentWillUnmount=function(){this.mounted=!1,null!==this.selectionDeferId&&x(this.selectionDeferId),this.stopSaveSelectionLoop()},n.render=function(){var e,t=this.props,n=(t.mask,t.alwaysShowMask,t.maskChar,t.formatChars,t.inputRef,t.beforeMaskedValueChange,t.children),r=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],0<=t.indexOf(n)||(o[n]=e[n]);return o}(t,["mask","alwaysShowMask","maskChar","formatChars","inputRef","beforeMaskedValueChange","children"]);if(n){b(n)||l(!1);var i=["onChange","onPaste","onMouseDown","onFocus","onBlur","value","disabled","readOnly"],s=a({},r);i.forEach((function(e){return delete s[e]})),e=n(s),i.filter((function(t){return null!=e.props[t]&&e.props[t]!==r[t]})).length&&l(!1)}else e=o.createElement("input",a({ref:this.handleRef},r));var c={onFocus:this.onFocus,onBlur:this.onBlur};return this.maskOptions.mask&&(r.disabled||r.readOnly||(c.onChange=this.onChange,c.onPaste=this.onPaste,c.onMouseDown=this.onMouseDown),null!=r.value&&(c.value=this.value)),e=o.cloneElement(e,c)},t}(o.Component);e.exports=O},14785:function(e,t,n){var r;r=function(e){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r}
1,n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s="./src/react-webcam.tsx")}({
vendor: 6,435 bytes, line 1
1"./src/react-webcam.tsx":function(e,t,n){"use strict";n.r(t);var r=n("react"),o=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),i=function(){return i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)},a=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};function s(){return!(!navigator.mediaDevices||!navigator.mediaDevices.getUserMedia)}"undefined"!==typeof window&&(void 0===navigator.mediaDevices&&(navigator.mediaDevices={}),void 0===navigator.mediaDevices.getUserMedia&&(navigator.mediaDevices.getUserMedia=function(e){var t=navigator.getUserMedia||navigator.webkitGetUserMedia||navigator.mozGetUserMedia||navigator.msGetUserMedia;return t?new Promise((function(n,r){t.call(navigator,e,n,r)})):Promise.reject(new Error("getUserMedia is not implemented in this browser"))}));var c=function(e){function t(t){var n=e.call(this,t)||this;return n.canvas=null,n.ctx=null,n.requestUserMediaId=0,n.unmounted=!1,n.state={hasUserMedia:!1},n}return o(t,e),t.prototype.componentDidMount=function(){var e=this.state,t=this.props;this.unmounted=!1,s()?(e.hasUserMedia||this.requestUserMedia(),t.children&&"function"!=typeof t.children&&console.warn("children must be a function")):t.onUserMediaError("getUserMedia not supported")},t.prototype.componentDidUpdate=function(e){var t=this.props;if(s()){var n=JSON.stringify(e.audioConstraints)!==JSON.stringify(t.audioConstraints),r=JSON.stringify(e.videoConstraints)!==JSON.stringify(t.videoConstraints),o=e.minScreenshotWidth!==t.minScreenshotWidth,i=e.minScreenshotHeight!==t.minScreenshotHeight;(r||o||i)&&(this.canvas=null,this.ctx=null),(n||r)&&(this.stopAndCleanup(),this.requestUserMedia())}else t.onUserMediaError("getUserMedia not supported")},t.prototype.componentWillUnmount=function(){this.unmounted=!0,this.stopAndCleanup()},t.stopMediaStream=function(e){e&&(e.getVideoTracks&&e.getAudioTracks?(e.getVideoTracks().map((function(t){e.removeTrack(t),t.stop()})),e.getAudioTracks().map((function(t){e.removeTrack(t),t.stop()}))):e.stop())},t.prototype.stopAndCleanup=function(){var e=this.state;e.hasUserMedia&&(t.stopMediaStream(this.stream),e.src&&window.URL.revokeObjectURL(e.src))},t.prototype.getScreenshot=function(e){var t=this.state,n=this.props;if(!t.hasUserMedia)return null;var r=this.getCanvas(e);return r&&r.toDataURL(n.screenshotFormat,n.screenshotQuality)},t.prototype.getCanvas=function(e){var t=this.state,n=this.props;if(!this.video)return null;if(!t.hasUserMedia||!this.video.videoHeight)return null;if(!this.ctx){var r=this.video.videoWidth,o=this.video.videoHeight;if(!this.props.forceScreenshotSourceSize){var i=r/o;o=(r=n.minScreenshotWidth||this.video.clientWidth)/i,n.minScreenshotHeight&&o<n.minScreenshotHeight&&(r=(o=n.minScreenshotHeight)*i)}this.canvas=document.createElement("canvas"),this.canvas.width=(null===e||void 0===e?void 0:e.width)||r,this.canvas.height=(null===e||void 0===e?void 0:e.height)||o,this.ctx=this.canvas.getContext("2d")}var a=this.ctx,s=this.canvas;return a&&s&&(s.width=(null===e||void 0===e?void 0:e.width)||s.width,s.height=(null===e||void 0===e?void 0:e.height)||s.height,n.mirrored&&(a.translate(s.width,0),a.scale(-1,1)),a.imageSmoothingEnabled=n.imageSmoothing,a.drawImage(this.video,0,0,(null===e||void 0===e?void 0:e.width)||s.width,(null===e||void 0===e?void 0:e.height)||s.height),n.mirrored&&(a.scale(-1,1),a.translate(-s.width,0))),s},t.prototype.requestUserMedia=function(){var e=this,n=this.props,r=function(r,o){var i={video:"undefined"===typeof o||o};n.audio&&(i.audio="undefined"===typeof r||r),e.requestUserMediaId++;var a=e.requestUserMediaId;navigator.mediaDevices.getUserMedia(i).then((function(n){e.unmounted||a!==e.requestUserMediaId?t.stopMediaStream(n):e.handleUserMedia(null,n)})).catch((function(t){e.handleUserMedia(t)}))};if("mediaDevices"in navigator)r(n.audioConstraints,n.videoConstraints);else{var o=function(e){return{optional:[{sourceId:e}]}},i=function(e){var t=e.deviceId;return"string"===typeof t?t:Array.isArray(t)&&t.length>0?t[0]:"object"===typeof t&&t.ideal?t.ideal:null};MediaStreamTrack.getSources((function(e){var t=null,a=null;e.forEach((function(e){"audio"===e.kind?t=e.id:"video"===e.kind&&(a=e.id)}));var s=i(n.audioConstraints);s&&(t=s);var c=i(n.videoConstraints);c&&(a=c),r(o(t),o(a))}))}},t.prototype.handleUserMedia=function(e,t){var n=this.props;if(e||!t)return this.setState({hasUserMedia:!1}),void n.onUserMediaError(e);this.stream=t;try{this.video&&(this.video.srcObject=t),this.setState({hasUserMedia:!0})}catch(r){this.setState({hasUserMedia:!0,src:window.URL.createObjectURL(t)})}n.onUserMedia(t)},t.prototype.render=function(){var e=this,t=this.state,n=this.props,o=n.audio,s=(n.forceScreenshotSourceSize,n.disablePictureInPicture),c=(n.onUserMedia,n.onUserMediaError,n.screenshotFormat,n.screenshotQuality,n.minScreenshotWidth,n.minScreenshotHeight,n.audioConstraints,n.videoConstraints,n.imageSmoothing,n.mirrored),l=n.style,u=void 0===l?{}:l,d=n.children,h=a(n,["audio","forceScreenshotSourceSize","disablePictureInPicture","onUserMedia","onUserMediaError","screenshotFormat","screenshotQuality","minScreenshotWidth","minScreenshotHeight","audioConstraints","videoConstraints","imageSmoothing","mirrored","style","children"]),f=c?i(i({},u),{transform:(u.transform||"")+" scaleX(-1)"}):u,v={getScreenshot:this.getScreenshot.bind(this)};return r.createElement(r.Fragment,null,r.createElement("video",i({autoPlay:!0,disablePictureInPicture:s,src:t.src,muted:!o,playsInline:!0,ref:function(t){e.video=t},style:f},h)),d&&d(v))},t.defaultProps={audio:!1,disablePictureInPicture:!1,forceScreenshotSourceSize:!1,imageSmoothing:!0,mirrored:!1,onUserMedia:function(){},onUserMediaError:function(){},screenshotFormat:"image/webp",screenshotQuality:.92},t}(r.Component);t.default=c}
1,react:function(t,n){t.exports=e}}).default},e.exports=r(n(2265))}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.