1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7329,3623,6540],{41733:function(e,t,r){"use strict";var o=r(95318);t.Z=void 0;var n=o(r(64938)),i=r(85893),a=(0,n.default)((0,i.jsx)("path",{d:"M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6v12zM19 4h-3.5l-1-1h-5l-1 1H5v2h14V4z"}),"Delete");t.Z=a},87357:function(e,t,r){"use strict";r.d(t,{Z:function(){return v}});var o=r(87462),n=r(63366),i=r(67294),a=r(86010),s=r(30561),l=r(86523),u=r(39707),c=r(96682),d=r(85893);const p=["className","component"];var h=r(49981);const f=function(e={}){const{defaultTheme:t,defaultClassName:r="MuiBox-root",generateClassName:h,styleFunctionSx:f=l.Z}=e,v=(0,s.ZP)("div")(f);return i.forwardRef((function(e,i){const s=(0,c.Z)(t),l=(0,u.Z)(e),{className:f,component:b="div"}=l,g=(0,n.Z)(l,p);return(0,d.jsx)(v,(0,o.Z)({as:b,ref:i,className:(0,a.default)(f,h?h(r):r),theme:s},g))}))}({defaultTheme:(0,r(68239).Z)(),defaultClassName:"MuiBox-root",generateClassName:h.Z.generate});var v=f},56863:function(e,t,r){"use strict";r.d(t,{Z:function(){return y}});var o=r(63366),n=r(87462),i=r(67294),a=r(86010),s=r(27192),l=r(41796),u=r(98216),c=r(90948),d=r(33616),p=r(28979);function h(e){return(0,p.Z)("MuiButtonGroup",e)}var f=(0,r(76087).Z)("MuiButtonGroup",["root","contained","outlined","text","disableElevation","disabled","fullWidth","vertical","grouped","groupedHorizontal","groupedVertical","groupedText","groupedTextHorizontal","groupedTextVertical","groupedTextPrimary","groupedTextSecondary","groupedOutlined","groupedOutlinedHorizontal","groupedOutlinedVertical","groupedOutlinedPrimary","groupedOutlinedSecondary","groupedContained","groupedContainedHorizontal","groupedContainedVertical","groupedContainedPrimary","groupedContainedSecondary"]),v=r(34510),b=r(85893);const g=["children","className","color","component","disabled","disableElevation","disableFocusRipple","disableRipple","fullWidth","orientation","size","variant"],m=(0,c.ZP)("div",{name:"MuiButtonGroup",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[{[`& .${f.grouped}`]:t.grouped},{[`& .${f.grouped}`]:t[`grouped${(0,u.Z)(r.orientation)}`]},{[`& .${f.grouped}`]:t[`grouped${(0,u.Z)(r.variant)}`]},{[`& .${f.grouped}`]:t[`grouped${(0,u.Z)(r.variant)}${(0,u.Z)(r.orientation)}`]},{[`& .${f.grouped}`]:t[`grouped${(0,u.Z)(r.variant)}${(0,u.Z)(r.color)}`]},t.root,t[r.variant],!0===r.disableElevation&&t.disableElevation,r.fullWidth&&t.fullWidth,"vertical"===r.orientation&&t.vertical]}})((({theme:e,ownerState:t})=>(0,n.Z)({display:"inline-flex",borderRadius:e.shape.borderRadius},"contained"===t.variant&&{boxShadow:e.shadows[2]},t.disableElevation&&{boxShadow:"none"},t.fullWidth&&{width:"100%"},"vertical"===t.orientation&&{flexDirection:"column"},{[`& .${f.grouped}`]:(0,n.Z)({minWidth:40,"&:not(:first-of-type)":(0,n.Z)({},"horizontal"===t.orientation&&{borderTopLeftRadius:0,borderBottomLeftRadius:0},"vertical"===t.orientation&&{borderTopRightRadius:0,borderTopLeftRadius:0},"outlined"===t.variant&&"horizontal"===t.orientation&&{marginLeft:-1},"outlined"===t.variant&&"vertical"===t.orientation&&{marginTop:-1}),"&:not(:last-of-type)":(0,n.Z)({},"horizontal"===t.orientation&&{borderTopRightRadius:0,borderBottomRightRadius:0},"vertical"===t.orientation&&{borderBottomRightRadius:0,borderBottomLeftRadius:0},"text"===t.variant&&"horizontal"===t.orientation&&{borderRight:"1px solid "+("light"===e.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)")},"text"===t.variant&&"vertical"===t.orientation&&{borderBottom:"1px solid "+("light"===e.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)")},"text"===t.variant&&"inherit"!==t.color&&{borderColor:(0,l.Fq)(e.palette[t.color].main,.5)},"outlined"===t.variant&&"horizontal"===t.orientation&&{borderRightColor:"transparent"},"outlined"===t.variant&&"vertical"===t.orientation&&{borderBottomColor:"transparent"},"contained"===t.variant&&"horizontal"===t.orientation&&{borderRight:`1px solid ${e.palette.grey[400]}`,[`&.${f.disabled}`]:{borderRight:`1px solid ${e.palette.action.disabled}`}},"contained"===t.variant&&"vertical"===t.orientation&&{borderBottom:`1px solid ${e.palette.grey[400]}`,[`&.${f.disabled}`]:{borderBottom:`1px solid ${e.palette.action.disabled}`}},"contained"===t.variant&&"inherit"!==t.color&&{borderColor:e.palette[t.color].dark},{"&:hover":(0,n.Z)({},"outlined"===t.variant&&"horizontal"===t.orientation&&{borderRightColor:"currentColor"},"outlined"===t.variant&&"vertical"===t.orientation&&{borderBottomColor:"currentColor"})}),"&:hover":(0,n.Z)({},"contained"===t.variant&&{boxShadow:"none"})},"contained"===t.variant&&{boxShadow:"none"})})));var y=i.forwardRef((function(e,t){const r=(0,d.Z)({props:e,name:"MuiButtonGroup"}),{children:l,className:c,color:p="primary",component:f="div",disabled:y=!1,disableElevation:k=!1,disableFocusRipple:S=!1,disableRipple:Z=!1,fullWidth:w=!1,orientation:R="horizontal",size:C="medium",variant:P="outlined"}=r,O=(0,o.Z)(r,g),x=(0,n.Z)({},r,{color:p,component:f,disabled:y,disableElevation:k,disableFocusRipple:S,disableRipple:Z,fullWidth:w,orientation:R,size:C,variant:P}),_=(e=>{const{classes:t,color:r,disabled:o,disableElevation:n,fullWidth:i,orientation:a,variant:l}=e,c={root:["root",l,"vertical"===a&&"vertical",i&&"fullWidth",n&&"disableElevation"],grouped:["grouped",`grouped${(0,u.Z)(a)}`,`grouped${(0,u.Z)(l)}`,`grouped${(0,u.Z)(l)}${(0,u.Z)(a)}`,`grouped${(0,u.Z)(l)}${(0,u.Z)(r)}`,o&&"disabled"]};return(0,s.Z)(c,h,t)})(x),M=i.useMemo((()=>({className:_.grouped,color:p,disabled:y,disableElevation:k,disableFocusRipple:S,disableRipple:Z,fullWidth:w,size:C,variant:P})),[p,y,k,S,Z,w,C,P,_.grouped]);return(0,b.jsx)(m,(0,n.Z)({as:f,role:"group",className:(0,a.default)(_.root,c),ref:t,ownerState:x},O,{children:(0,b.jsx)(v.Z.Provider,{value:M,children:l})}))}))},62023:function(e,t,r){"use strict";r.d(t,{Z:function(){return v}});var o=r(63366),n=r(87462),i=r(67294),a=r(86010),s=r(27192),l=r(90948),u=r(33616),c=r(28979);function d(e){return(0,c.Z)("MuiCardActions",e)}(0,r(76087).Z)("MuiCardActions",["root","spacing"]);var p=r(85893);const h=["disableSpacing","className"],f=(0,l.ZP)("div",{name:"MuiCardActions",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,!r.disableSpacing&&t.spacing]}})((({ownerState:e})=>(0,n.Z)({display:"flex",alignItems:"center",padding:8},!e.disableSpacing&&{"& > :not(:first-of-type)":{marginLeft:8}})));var v=i.forwardRef((function(e,t){const r=(0,u.Z)({props:e,name:"MuiCardActions"}),{disableSpacing:i=!1,className:l}=r,c=(0,o.Z)(r,h),v=(0,n.Z)({},r,{disableSpacing:i}),b=(e=>{const{classes:t,disableSpacing:r}=e,o={root:["root",!r&&"spacing"]};return(0,s.Z)(o,d,t)})(v);return(0,p.jsx)(f,(0,n.Z)({className:(0,a.default)(b.root,l),ownerState:v,ref:t},c))}))},98456:function(e,t,r){"use strict";r.d(t,{Z:function(){return O}});var o=r(63366),n=r(87462),i=r(67294),a=r(86010),s=r(27192),l=r(70917),u=r(98216),c=r(33616),d=r(90948),p=r(28979);function h(e){return(0,p.Z)("MuiCircularProgress",e)}(0,r(76087).Z)("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);var f=r(85893);const v=["className","color","disableShrink","size","style","thickness","value","variant"];let b,g,m,y,k=e=>e;const S=44,Z=(0,l.F4)(b||(b=k` 2 0% { 3 transform: rotate(0deg); 4 } 5 6 100% { 7 transform: rotate(360deg); 8 } 9`)),w=(0,l.F4)(g||(g=k` 10 0% { 11 stroke-dasharray: 1px, 200px; 12 stroke-dashoffset: 0; 13 } 14 15 50% { 16 stroke-dasharray: 100px, 200px; 17 stroke-dashoffset: -15px; 18 } 19 20 100% { 21 stroke-dasharray: 100px, 200px; 22 stroke-dashoffset: -125px; 23 } 24`)),R=(0,d.ZP)("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],t[`color${(0,u.Z)(r.color)}`]]}})((({ownerState:e,theme:t})=>(0,n.Z)({display:"inline-block"},"determinate"===e.variant&&{transition:t.transitions.create("transform")},"inherit"!==e.color&&{color:t.palette[e.color].main})),(({ownerState:e})=>"indeterminate"===e.variant&&(0,l.iv)(m||(m=k` 25 animation: ${0} 1.4s linear infinite;
26 `),Z))),C=(0,d.ZP)("svg",{name:"MuiCircularProgress",slot:"Svg",overridesResolver:(e,t)=>t.svg})({display:"block"}),P=(0,d.ZP)("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.circle,t[`circle${(0,u.Z)(r.variant)}`],r.disableShrink&&t.circleDisableShrink]}})((({ownerState:e,theme:t})=>(0,n.Z)({stroke:"currentColor"},"determinate"===e.variant&&{transition:t.transitions.create("stroke-dashoffset")},"indeterminate"===e.variant&&{strokeDasharray:"80px, 200px",strokeDashoffset:0})),(({ownerState:e})=>"indeterminate"===e.variant&&!e.disableShrink&&(0,l.iv)(y||(y=k` 27 animation: ${0} 1.4s ease-in-out infinite; 28 `),w)));var O=i.forwardRef((function(e,t){const r=(0,c.Z)({props:e,name:"MuiCircularProgress"}),{className:i,color:l="primary",disableShrink:d=!1,size:p=40,style:b,thickness:g=3.6,value:m=0,variant:y="indeterminate"}=r,k=(0,o.Z)(r,v),Z=(0,n.Z)({},r,{color:l,disableShrink:d,size:p,thickness:g,value:m,variant:y}),w=(e=>{const{classes:t,variant:r,color:o,disableShrink:n}=e,i={root:["root",r,`color${(0,u.Z)(o)}`],svg:["svg"],circle:["circle",`circle${(0,u.Z)(r)}`,n&&"circleDisableShrink"]};return(0,s.Z)(i,h,t)})(Z),O={},x={},_={};if("determinate"===y){const e=2*Math.PI*((S-g)/2);O.strokeDasharray=e.toFixed(3),_["aria-valuenow"]=Math.round(m),O.strokeDashoffset=`${((100-m)/100*e).toFixed(3)}px`,x.transform="rotate(-90deg)"}return(0,f.jsx)(R,(0,n.Z)({className:(0,a.default)(w.root,i),style:(0,n.Z)({width:p,height:p},x,b),ownerState:Z,ref:t,role:"progressbar"},_,k,{children:(0,f.jsx)(C,{className:w.svg,ownerState:Z,viewBox:"22 22 44 44",children:(0,f.jsx)(P,{className:w.circle,style:O,ownerState:Z,cx:S,cy:S,r:(S-g)/2,fill:"none",strokeWidth:g})})}))}))},81458:function(e,t,r){"use strict";r.d(t,{Z:function(){return D}});var o=r(63366),n=r(87462),i=r(67294),a=r(86010),s=r(27192),l=r(70917),u=r(41796),c=r(98216),d=r(2734),p=r(90948),h=r(33616),f=r(28979);function v(e){return(0,f.Z)("MuiLinearProgress",e)}(0,r(76087).Z)("MuiLinearProgress",["root","colorPrimary","colorSecondary","determinate","indeterminate","buffer","query","dashed","dashedColorPrimary","dashedColorSecondary","bar","barColorPrimary","barColorSecondary","bar1Indeterminate","bar1Determinate","bar1Buffer","bar2Indeterminate","bar2Buffer"]);var b=r(85893);const g=["className","color","value","valueBuffer","variant"];let m,y,k,S,Z,w,R=e=>e;const C=(0,l.F4)(m||(m=R` 29 0% { 30 left: -35%; 31 right: 100%; 32 } 33 34 60% { 35 left: 100%; 36 right: -90%; 37 } 38 39 100% { 40 left: 100%; 41 right: -90%; 42 } 43`)),P=(0,l.F4)(y||(y=R` 44 0% { 45 left: -200%; 46 right: 100%; 47 } 48 49 60% { 50 left: 107%; 51 right: -8%; 52 } 53 54 100% { 55 left: 107%; 56 right: -8%; 57 } 58`)),O=(0,l.F4)(k||(k=R` 59 0% { 60 opacity: 1; 61 background-position: 0 -23px; 62 } 63 64 60% { 65 opacity: 0; 66 background-position: 0 -23px; 67 } 68 69 100% { 70 opacity: 1; 71 background-position: -200px -23px; 72 } 73`)),x=(e,t)=>"inherit"===t?"currentColor":"light"===e.palette.mode?(0,u.$n)(e.palette[t].main,.62):(0,u._j)(e.palette[t].main,.5),_=(0,p.ZP)("span",{name:"MuiLinearProgress",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[`color${(0,c.Z)(r.color)}`],t[r.variant]]}})((({ownerState:e,theme:t})=>(0,n.Z)({position:"relative",overflow:"hidden",display:"block",height:4,zIndex:0,"@media print":{colorAdjust:"exact"},backgroundColor:x(t,e.color)},"inherit"===e.color&&"buffer"!==e.variant&&{backgroundColor:"none","&::before":{content:'""',position:"absolute",left:0,top:0,right:0,bottom:0,backgroundColor:"currentColor",opacity:.3}},"buffer"===e.variant&&{backgroundColor:"transparent"},"query"===e.variant&&{transform:"rotate(180deg)"}))),M=(0,p.ZP)("span",{name:"MuiLinearProgress",slot:"Dashed",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.dashed,t[`dashedColor${(0,c.Z)(r.color)}`]]}})((({ownerState:e,theme:t})=>{const r=x(t,e.color);return(0,n.Z)({position:"absolute",marginTop:0,height:"100%",width:"100%"},"inherit"===e.color&&{opacity:.3},{backgroundImage:`radial-gradient(${r} 0%, ${r} 16%, transparent 42%)`,backgroundSize:"10px 10px",backgroundPosition:"0 -23px"})}),(0,l.iv)(S||(S=R` 74 animation: ${0} 3s infinite linear; 75 `),O)),$=(0,p.ZP)("span",{name:"MuiLinearProgress",slot:"Bar1",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.bar,t[`barColor${(0,c.Z)(r.color)}`],("indeterminate"===r.variant||"query"===r.variant)&&t.bar1Indeterminate,"determinate"===r.variant&&t.bar1Determinate,"buffer"===r.variant&&t.bar1Buffer]}})((({ownerState:e,theme:t})=>(0,n.Z)({width:"100%",position:"absolute",left:0,bottom:0,top:0,transition:"transform 0.2s linear",transformOrigin:"left",backgroundColor:"inherit"===e.color?"currentColor":t.palette[e.color].main},"determinate"===e.variant&&{transition:"transform .4s linear"},"buffer"===e.variant&&{zIndex:1,transition:"transform .4s linear"})),(({ownerState:e})=>("indeterminate"===e.variant||"query"===e.variant)&&(0,l.iv)(Z||
75(Z=R` 76 width: auto; 77 animation: ${0} 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite; 78 `),C))),E=(0,p.ZP)("span",{name:"MuiLinearProgress",slot:"Bar2",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.bar,t[`barColor${(0,c.Z)(r.color)}`],("indeterminate"===r.variant||"query"===r.variant)&&t.bar2Indeterminate,"buffer"===r.variant&&t.bar2Buffer]}})((({ownerState:e,theme:t})=>(0,n.Z)({width:"100%",position:"absolute",left:0,bottom:0,top:0,transition:"transform 0.2s linear",transformOrigin:"left"},"buffer"!==e.variant&&{backgroundColor:"inherit"===e.color?"currentColor":t.palette[e.color].main},"inherit"===e.color&&{opacity:.3},"buffer"===e.variant&&{backgroundColor:x(t,e.color),transition:"transform .4s linear"})),(({ownerState:e})=>("indeterminate"===e.variant||"query"===e.variant)&&(0,l.iv)(w||(w=R` 79 width: auto; 80 animation: ${0} 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) 1.15s infinite; 81 `),P)));var D=i.forwardRef((function(e,t){const r=(0,h.Z)({props:e,name:"MuiLinearProgress"}),{className:i,color:l="primary",value:u,valueBuffer:p,variant:f="indeterminate"}=r,m=(0,o.Z)(r,g),y=(0,n.Z)({},r,{color:l,variant:f}),k=(e=>{const{classes:t,variant:r,color:o}=e,n={root:["root",`color${(0,c.Z)(o)}`,r],dashed:["dashed",`dashedColor${(0,c.Z)(o)}`],bar1:["bar",`barColor${(0,c.Z)(o)}`,("indeterminate"===r||"query"===r)&&"bar1Indeterminate","determinate"===r&&"bar1Determinate","buffer"===r&&"bar1Buffer"],bar2:["bar","buffer"!==r&&`barColor${(0,c.Z)(o)}`,"buffer"===r&&`color${(0,c.Z)(o)}`,("indeterminate"===r||"query"===r)&&"bar2Indeterminate","buffer"===r&&"bar2Buffer"]};return(0,s.Z)(n,v,t)})(y),S=(0,d.Z)(),Z={},w={bar1:{},bar2:{}};if("determinate"===f||"buffer"===f)if(void 0!==u){Z["aria-valuenow"]=Math.round(u),Z["aria-valuemin"]=0,Z["aria-valuemax"]=100;let e=u-100;"rtl"===S.direction&&(e=-e),w.bar1.transform=`translateX(${e}%)`}else 0;if("buffer"===f)if(void 0!==p){let e=(p||0)-100;"rtl"===S.direction&&(e=-e),w.bar2.transform=`translateX(${e}%)`}else 0;return(0,b.jsxs)(_,(0,n.Z)({className:(0,a.default)(k.root,i),ownerState:y,role:"progressbar"},Z,{ref:t},m,{children:["buffer"===f?(0,b.jsx)(M,{className:k.dashed,ownerState:y}):null,(0,b.jsx)($,{className:k.bar1,ownerState:y,style:w.bar1}),"determinate"===f?null:(0,b.jsx)(E,{className:k.bar2,ownerState:y,style:w.bar2})]}))}))},92703:function(e,t,r){"use strict";var o=r(50414);function n(){}function i(){}i.resetWarningCache=n,e.exports=function(){function e(e,t,r,n,i,a){if(a!==o){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var r={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:n};return r.PropTypes=r,r}},45697:function(e,t,r){e.exports=r(92703)()},50414:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},50319:function(e,t,r){"use strict";r.d(t,{D:function(){return c}});var o=r(70655),n=r(67294),i=r(14012),a=r(82152),s=r(14692),l=r(30990),u=r(66252);function c(e,t){var r=(0,u.x)(null===t||void 0===t?void 0:t.client);(0,s.Vp)(e,s.n_.Mutation);var c=(0,n.useState)({called:!1,loading:!1,client:r}),d=c[0],p=c[1],h=(0,n.useRef)({result:d,mutationId:0,isMounted:!0,client:r,mutation:e,options:t});Object.assign(h.current,{client:r,options:t,mutation:e});var f=(0,n.useCallback)((function(e){void 0===e&&(e={});var t=h.current,r=t.client,n=t.options,s=t.mutation,u=(0,o.__assign)((0,o.__assign)({},n),{mutation:s});h.current.result.loading||u.ignoreResults||p(h.current.result={loading:!0,error:void 0,data:void 0,called:!0,client:r});var c=++h.current.mutationId,d=(0,i.J)(u,e);return r.mutate(d).then((function(t){var o,n,i,s=t.data,u=t.errors,f=u&&u.length>0?new l.c({graphQLErrors:u}):void 0;if(c===h.current.mutationId&&!d.ignoreResults){var v={called:!0,loading:!1,data:s,error:f,client:r};h.current.isMounted&&!(0,a.D)(h.current.result,v)&&p(h.current.result=v)}return null===(n=null===(o=h.current.options)||void 0===o?void 0:o.onCompleted)||void 0===n||n.call(o,t.data),null===(i=e.onCompleted)||void 0===i||i.call(e,t.data),t})).catch((function(t){var o,n,i,s;
81if(c===h.current.mutationId&&h.current.isMounted){var l={loading:!1,error:t,data:void 0,called:!0,client:r};(0,a.D)(h.current.result,l)||p(h.current.result=l)}if((null===(o=h.current.options)||void 0===o?void 0:o.onError)||d.onError)return null===(i=null===(n=h.current.options)||void 0===n?void 0:n.onError)||void 0===i||i.call(n,t),null===(s=e.onError)||void 0===s||s.call(e,t),{data:void 0,errors:t};throw t}))}),[]),v=(0,n.useCallback)((function(){p({called:!1,loading:!1,client:r})}),[]);return(0,n.useEffect)((function(){return h.current.isMounted=!0,function(){h.current.isMounted=!1}}),[]),[f,(0,o.__assign)({reset:v},d)]}},37887:function(e,t,r){"use strict";r.d(t,{a:function(){return Z}});var o=r(70655),n=r(13917),i=r(67294),a=r.t(i,2),s=r(30320),l=!1,u=a.useSyncExternalStore||function(e,t,r){var o=t();__DEV__&&!l&&o!==t()&&(l=!0,__DEV__&&n.kG.error("The result of getSnapshot should be cached to avoid an infinite loop"));var a=i.useState({inst:{value:o,getSnapshot:t}}),u=a[0].inst,d=a[1];return s.JC?i.useLayoutEffect((function(){Object.assign(u,{value:o,getSnapshot:t}),c(u)&&d({inst:u})}),[e,o,t]):Object.assign(u,{value:o,getSnapshot:t}),i.useEffect((function(){return c(u)&&d({inst:u}),e((function(){c(u)&&d({inst:u})}))}),[e]),o};function c(e){var t=e.value,r=e.getSnapshot;try{return t!==r()}catch(o){return!0}}var d=r(82152),p=r(14012),h=r(85317),f=r(30990),v=r(1644),b=r(14692),g=r(66252),m=r(48702),y=r(53712),k=r(21436),S=Object.prototype.hasOwnProperty;function Z(e,t){return void 0===t&&(t=Object.create(null)),function(e,t){var r=(0,i.useRef)();r.current&&e===r.current.client&&t===r.current.query||(r.current=new w(e,t,r.current));var o=r.current,n=(0,i.useState)(0),a=(n[0],n[1]);return o.forceUpdate=function(){a((function(e){return e+1}))},o}((0,g.x)(t.client),e).useQuery(t)}var w=function(){function e(e,t,r){this.client=e,this.query=t,this.asyncResolveFns=new Set,this.optionsToIgnoreOnce=new(s.sy?WeakSet:Set),this.ssrDisabledResult=(0,m.J)({loading:!0,data:void 0,error:void 0,networkStatus:v.I.loading}),this.skipStandbyResult=(0,m.J)({loading:!1,data:void 0,error:void 0,networkStatus:v.I.ready}),this.toQueryResultCache=new(s.mr?WeakMap:Map),(0,b.Vp)(t,b.n_.Query);var o=r&&r.result,n=o&&o.data;n&&(this.previousData=n)}return e.prototype.forceUpdate=function(){__DEV__&&n.kG.warn("Calling default no-op implementation of InternalState#forceUpdate")},e.prototype.asyncUpdate=function(){var e=this;return new Promise((function(t){e.asyncResolveFns.add(t),e.optionsToIgnoreOnce.add(e.watchQueryOptions),e.forceUpdate()}))},e.prototype.useQuery=function(e){var t=this;this.renderPromises=(0,i.useContext)((0,h.K)()).renderPromises,this.useOptions(e);var r=this.useObservableQuery(),o=u((0,i.useCallback)((function(){if(t.renderPromises)return function(){};var e=function(){var e=t.result,o=r.getCurrentResult();e&&e.loading===o.loading&&e.networkStatus===o.networkStatus&&(0,d.D)(e.data,o.data)||t.setResult(o)},o=function(i){var a=r.last;n.unsubscribe();try{r.resetLastResults(),n=r.subscribe(e,o)}finally{r.last=a}if(!S.call(i,"graphQLErrors"))throw i;var s=t.result;(!s||s&&s.loading||!(0,d.D)(i,s.error))&&t.setResult({data:s&&s.data,error:i,loading:!1,networkStatus:v.I.error})},n=r.subscribe(e,o);return function(){return n.unsubscribe()}}),[r,this.renderPromises,this.client.disableNetworkFetches]),(function(){return t.getCurrentResult()}),(function(){return t.getCurrentResult()}));this.unsafeHandlePartialRefetch(o);var n=this.toQueryResult(o);return!n.loading&&this.asyncResolveFns.size&&(this.asyncResolveFns.forEach((function(e){return e(n)})),this.asyncResolveFns.clear()),n},e.prototype.useOptions=function(t){var r,o=this.createWatchQueryOptions(this.queryHookOptions=t),n=this.watchQueryOptions;!this.optionsToIgnoreOnce.has(n)&&(0,d.D)(o,n)||(this.watchQueryOptions=o,n&&this.observable&&(this.optionsToIgnoreOnce.delete(n),this.observable.reobserve(this.getObsQueryOptions()),this.previousData=(null===(r=this.result)||void 0===r?void 0:r.data)||this.previousData,this.result=void 0)),this.onCompleted=t.onCompleted||e.prototype.onCompleted,this.onError=t.onError||e.prototype.onError,!this.renderPromises&&!this.client.disableNetworkFetches||!1!==this.queryHookOptions.ssr||this.queryHookOptions.skip?this.queryHookOptions.skip||"standby"===this.watchQueryOptions.fetchPolicy?this.result=this.skipStandbyResult:this.result!==this.ssrDisabledResult&&this.result!==this.skipStandbyResult||(this.result=void 0):this.result=this.ssrDisabledResult},e.prototype.getObsQueryOptions=function(){var e=[],t=this.client.defaultOptions.watchQuery;return t&&e.push(t),this.queryHookOptions.defaultOptions&&e.push(this.queryHookOptions.defaultOptions),e.push((0,y.o)(this.observable&&this.observable.options,this.watchQueryOptions)),e.reduce(p.J)},e.prototype.createWatchQueryOptions=function(e){var t;void 0===e&&(e={});var r=e.skip,n=(e.ssr,e.onCompleted,e.onError,e.displayName,e.defaultOptions,(0,o.__rest)(e,["skip","ssr","onCompleted","onError","displayName","defaultOptions"])),i=Object.assign(n,{query:this.query});if(!this.renderPromises||"network-only"!==i.fetchPolicy&&"cache-and-network"!==i.fetchPolicy||(i.fetchPolicy="cache-first"),i.variables||(i.variables={}),r){var a=i.fetchPolicy,s=void 0===a?this.getDefaultFetchPolicy():a,l=i.initialFetchPolicy,u=void 0===l?s:l;Object.assign(i,{initialFetchPolicy:u,fetchPolicy:"standby"})}else i.fetchPolicy||(i.fetchPolicy=(null===(t=this.observable)||void 0===t?void 0:t.options.initialFetchPolicy)||this.getDefaultFetchPolicy());return i},e.prototype.getDefaultFetchPolicy=function(){var e,t;return(null===(e=this.queryHookOptions.defaultOptions)||void 0===e?void 0:e.fetchPolicy)||(null===(t=this.client.defaultOptions.watchQuery)||void 0===t?void 0:t.fetchPolicy)||"cac
81he-first"},e.prototype.onCompleted=function(e){},e.prototype.onError=function(e){},e.prototype.useObservableQuery=function(){var e=this.observable=this.renderPromises&&this.renderPromises.getSSRObservable(this.watchQueryOptions)||this.observable||this.client.watchQuery(this.getObsQueryOptions());this.obsQueryFields=(0,i.useMemo)((function(){return{refetch:e.refetch.bind(e),reobserve:e.reobserve.bind(e),fetchMore:e.fetchMore.bind(e),updateQuery:e.updateQuery.bind(e),startPolling:e.startPolling.bind(e),stopPolling:e.stopPolling.bind(e),subscribeToMore:e.subscribeToMore.bind(e)}}),[e]);var t=!(!1===this.queryHookOptions.ssr||this.queryHookOptions.skip);return this.renderPromises&&t&&(this.renderPromises.registerSSRObservable(e),e.getCurrentResult().loading&&this.renderPromises.addObservableQueryPromise(e)),e},e.prototype.setResult=function(e){var t=this.result;t&&t.data&&(this.previousData=t.data),this.result=e,this.forceUpdate(),this.handleErrorOrCompleted(e)},e.prototype.handleErrorOrCompleted=function(e){e.loading||(e.error?this.onError(e.error):e.data&&this.onCompleted(e.data))},e.prototype.getCurrentResult=function(){return this.result||this.handleErrorOrCompleted(this.result=this.observable.getCurrentResult()),this.result},e.prototype.toQueryResult=function(e){var t=this.toQueryResultCache.get(e);if(t)return t;var r=e.data,n=(e.partial,(0,o.__rest)(e,["data","partial"]));return this.toQueryResultCache.set(e,t=(0,o.__assign)((0,o.__assign)((0,o.__assign)({data:r},n),this.obsQueryFields),{client:this.client,observable:this.observable,variables:this.observable.variables,called:!this.queryHookOptions.skip,previousData:this.previousData})),!t.error&&(0,k.O)(e.errors)&&(t.error=new f.c({graphQLErrors:e.errors})),t},e.prototype.unsafeHandlePartialRefetch=function(e){!e.partial||!this.queryHookOptions.partialRefetch||e.loading||e.data&&0!==Object.keys(e.data).length||"cache-only"===this.observable.options.fetchPolicy||(Object.assign(e,{loading:!0,networkStatus:v.I.refetch}),this.observable.refetch())},e}()},14692:function(e,t,r){"use strict";r.d(t,{n_:function(){return o},Vp:function(){return s}});var o,n=r(13917);!function(e){e[e.Query=0]="Query",e[e.Mutation=1]="Mutation",e[e.Subscription=2]="Subscription"}(o||(o={}));var i=new Map;function a(e){var t;switch(e){case o.Query:t="Query";break;case o.Mutation:t="Mutation";break;case o.Subscription:t="Subscription"}return t}function s(e,t){var r=function(e){var t,r,a=i.get(e);if(a)return a;__DEV__?(0,n.kG)(!!e&&!!e.kind,"Argument of ".concat(e," passed to parser was not a valid GraphQL ")+"DocumentNode. You may need to use 'graphql-tag' or another method to convert your operation into a document"):(0,n.kG)(!!e&&!!e.kind,30);for(var s=[],l=[],u=[],c=[],d=0,p=e.definitions;d<p.length;d++){var h=p[d];if("FragmentDefinition"!==h.kind){if("OperationDefinition"===h.kind)switch(h.operation){case"query":l.push(h);break;case"mutation":u.push(h);break;case"subscription":c.push(h)}}else s.push(h)}__DEV__?(0,n.kG)(!s.length||l.length||u.length||c.length,"Passing only a fragment to 'graphql' is not yet supported. You must include a query, subscription or mutation as well"):(0,n.kG)(!s.length||l.length||u.length||c.length,31),__DEV__?(0,n.kG)(l.length+u.length+c.length<=1,"react-apollo only supports a query, subscription, or a mutation per HOC. "+"".concat(e," had ").concat(l.length," queries, ").concat(c.length," ")+"subscriptions and ".concat(u.length," mutations. ")+"You can use 'compose' to join multiple operation types to a component"):(0,n.kG)(l.length+u.length+c.length<=1,32),r=l.length?o.Query:o.Mutation,l.length||u.length||(r=o.Subscription);var f=l.length?l:u.length?u:c;__DEV__?(0,n.kG)(1===f.length,"react-apollo only supports one definition per HOC. ".concat(e," had ")+"".concat(f.length," definitions. ")+"You can use 'compose' to join multiple operation types to a component"):(0,n.kG)(1===f.length,33);var v=f[0];t=v.variableDefinitions||[];var b={name:v.name&&"Name"===v.name.kind?v.name.value:"data",type:r,variables:t};return i.set(e,b),b}(e),s=a(t),l=a(r.type);__DEV__?(0,n.kG)(r.type===t,"Running a ".concat(s," requires a graphql ")+"".concat(s,", but a ").concat(l," was used instead.")):(0,n.kG)(r.type===t,34)}}}]);
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.