"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4314],{63144:function(e){let t=self.fetch.bind(self);e.exports=t,e.exports.default=e.exports},36830:function(e,t){t.Z=function(e,t){for(var n=-1,r=null==e?0:e.length;++n0){if(++a>=800)return arguments[0]}else a=0;return g.apply(void 0,arguments)}),y=n(38070),k=n(84458),w=n(74637),x=n(63937),b=Object.prototype.hasOwnProperty,A=(c=function(e,t){if((0,w.Z)(t)||(0,k.Z)(t)){(0,u.Z)(t,(0,x.Z)(t),e);return}for(var n in t)b.call(t,n)&&(0,l.Z)(e,n,t[n])},r=function(e,t){var n=-1,r=t.length,o=r>1?t[r-1]:void 0,i=r>2?t[2]:void 0;for(o=c.length>3&&"function"==typeof o?(r--,o):void 0,i&&(0,y.Z)(t[0],t[1],i)&&(o=r<3?void 0:o,r=1),e=Object(e);++n-1:!!u&&(0,r.Z)(e,t,n)>-1}},69070:function(e,t,n){var r=n(51466),o=n(9864),i=n(39838),a=Object.prototype,s=Function.prototype.toString,c=a.hasOwnProperty,l=s.call(Object);t.Z=function(e){if(!(0,i.Z)(e)||"[object Object]"!=(0,r.Z)(e))return!1;var t=(0,o.Z)(e);if(null===t)return!0;var n=c.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&s.call(n)==l}},20089:function(e,t,n){var r=n(51466),o=n(33770),i=n(39838);t.Z=function(e){return"string"==typeof e||!(0,o.Z)(e)&&(0,i.Z)(e)&&"[object String]"==(0,r.Z)(e)}},19978:function(e,t,n){n.d(t,{Z:function(){return h}});var r,o,i=n(61486),a=function(e,t,n,r){for(var o=-1,i=null==e?0:e.length;++o"string"!=typeof e?{}:e.split(/ ?; ?/).reduce((e,t)=>{let[n,r]=t.split(/ ?: ?/).map((e,t)=>0===t?e.replace(/\s+/g,""):e.trim());if(n&&r){let t=n.replace(/(\w)-(\w)/g,(e,t,n)=>`${t}${n.toUpperCase()}`),o=r.trim();Number.isNaN(Number(r))||(o=Number(r)),e[n.startsWith("-")?n:t]=o}return e},{}),a=["br","col","colgroup","dl","hr","iframe","img","input","link","menuitem","meta","ol","param","select","table","tbody","tfoot","thead","tr","ul","wbr"],s={"accept-charset":"acceptCharset",acceptcharset:"acceptCharset",accesskey:"accessKey",allowfullscreen:"allowFullScreen",autocapitalize:"autoCapitalize",autocomplete:"autoComplete",autocorrect:"autoCorrect",autofocus:"autoFocus",autoplay:"autoPlay",autosave:"autoSave",cellpadding:"cellPadding",cellspacing:"cellSpacing",charset:"charSet",class:"className",classid:"classID",classname:"className",colspan:"colSpan",contenteditable:"contentEditable",contextmenu:"contextMenu",controlslist:"controlsList",crossorigin:"crossOrigin",dangerouslysetinnerhtml:"dangerouslySetInnerHTML",datetime:"dateTime",defaultchecked:"defaultChecked",defaultvalue:"defaultValue",enctype:"encType",for:"htmlFor",formmethod:"formMethod",formaction:"formAction",formenctype:"formEncType",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv","http-equiv":"httpEquiv",icon:"icon",innerhtml:"innerHTML",inputmode:"inputMode",itemid:"itemID",itemprop:"itemProp",itemref:"itemRef",itemscope:"itemScope",itemtype:"itemType",keyparams:"keyParams",keytype:"keyType",marginwidth:"marginWidth",marginheight:"marginHeight",maxlength:"maxLength",mediagroup:"mediaGroup",minlength:"minLength",nomodule:"noModule",novalidate:"noValidate",playsinline:"playsInline",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rowspan:"rowSpan",spellcheck:"spellCheck",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",tabindex:"tabIndex",typemustmatch:"typeMustMatch",usemap:"useMap",accentheight:"accentHeight","accent-height":"accentHeight",alignmentbaseline:"alignmentBaseline","alignment-baseline":"alignmentBaseline",allowreorder:"allowReorder",arabicform:"arabicForm","arabic-form":"arabicForm",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",basefrequency:"baseFrequency",baselineshift:"baselineShift","baseline-shift":"baselineShift",baseprofile:"baseProfile",calcmode:"calcMode",capheight:"capHeight","cap-height":"capHeight",clippath:"clipPath","clip-path":"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule","clip-rule":"clipRule",colorinterpolation:"colorInterpolation","color-interpolation":"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters","color-interpolation-filters":"colorInterpolationFilters",colorprofile:"colorProfile","color-profile":"colorProfile",colorrendering:"colorRendering","color-rendering":"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",diffuseconstant:"diffuseConstant",dominantbaseline:"dominantBaseline","dominant-baseline":"dominantBaseline",edgemode:"edgeMode",enablebackground:"enableBackground","enable-background":"enableBackground",externalresourcesrequired:"externalResourcesRequired",fillopacity:"fillOpacity","fill-opacity":"fillOpacity",fillrule:"fillRule","fill-rule":"fillRule",filterres:"filterRes",filterunits:"filterUnits",floodopacity:"floodOpacity","flood-opacity":"floodOpacity",floodcolor:"floodColor","flood-color":"floodColor",fontfamily:"fontFamily","font-family":"fontFamily",fontsize:"fontSize","font-size":"fontSize",fontsizeadjust:"fontSizeAdjust","font-size-adjust":"fontSizeAdjust",fontstretch:"fontStretch","font-stretch":"fontStretch",fontstyle:"fontStyle","font-style":"fontStyle",fontvariant:"fontVariant","font-variant":"fontVariant",fontweight:"fontWeight","font-weight":"fontWeight",glyphname:"glyphName","glyph-name":"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal","glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical","glyph-orientation-vertical":"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",horizadvx:"horizAdvX","horiz-adv-x":"horizAdvX",horizoriginx:"horizOriginX","horiz-origin-x":"horizOriginX",imagerendering:"imageRendering","image-rendering":"imageRendering",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing","letter-spacing":"letterSpacing",lightingcolor:"lightingColor","lighting-color":"lightingColor",limitingconeangle:"limitingConeAngle",markerend:"markerEnd","marker-end":"markerEnd",markerheight:"markerHeight",markermid:"markerMid","marker-mid":"markerMid",markerstart:"markerStart","marker-start":"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",numoctaves:"numOctaves",overlineposition:"overlinePosition","overline-position":"overlinePosition",overlinethickness:"overlineThickness","overline-thickness":"overlineThickness",paintorder:"paintOrder","paint-order":"paintOrder","panose-1":"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents","pointer-events":"pointerEvents",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",refx:"refX",refy:"refY",renderingintent:"renderingIntent","rendering-intent":"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",shaperendering:"shapeRendering","shape-rendering":"shapeRendering",specularconstant:"specularConstant",specularexponent:"specularExponent",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stitchtiles:"stitchTiles",stopcolor:"stopColor","stop-color":"stopColor",stopopacity:"stopOpacity","stop-opacity":"stopOpacity",strikethroughposition:"strikethroughPosition","strikethrough-position":"strikethroughPosition",strikethroughthickness:"strikethroughThickness","strikethrough-thickness":"strikethroughThickness",strokedasharray:"strokeDasharray","stroke-dasharray":"strokeDasharray",strokedashoffset:"strokeDashoffset","stroke-dashoffset":"strokeDashoffset",strokelinecap:"strokeLinecap","stroke-linecap":"strokeLinecap",strokelinejoin:"strokeLinejoin","stroke-linejoin":"strokeLinejoin",strokemiterlimit:"strokeMiterlimit","stroke-miterlimit":"strokeMiterlimit",strokewidth:"strokeWidth","stroke-width":"strokeWidth",strokeopacity:"strokeOpacity","stroke-opacity":"strokeOpacity",suppresscontenteditablewarning:"suppressContentEditableWarning",suppresshydrationwarning:"suppressHydrationWarning",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor","text-anchor":"textAnchor",textdecoration:"textDecoration","text-decoration":"textDecoration",textlength:"textLength",textrendering:"textRendering","text-rendering":"textRendering",underlineposition:"underlinePosition","underline-position":"underlinePosition",underlinethickness:"underlineThickness","underline-thickness":"underlineThickness",unicodebidi:"unicodeBidi","unicode-bidi":"unicodeBidi",unicoderange:"unicodeRange","unicode-range":"unicodeRange",unitsperem:"unitsPerEm","units-per-em":"unitsPerEm",unselectable:"unselectable",valphabetic:"vAlphabetic","v-alphabetic":"vAlphabetic",vectoreffect:"vectorEffect","vector-effect":"vectorEffect",vertadvy:"vertAdvY","vert-adv-y":"vertAdvY",vertoriginx:"vertOriginX","vert-origin-x":"vertOriginX",vertoriginy:"vertOriginY","vert-origin-y":"vertOriginY",vhanging:"vHanging","v-hanging":"vHanging",videographic:"vIdeographic","v-ideographic":"vIdeographic",viewbox:"viewBox",viewtarget:"viewTarget",vmathematical:"vMathematical","v-mathematical":"vMathematical",wordspacing:"wordSpacing","word-spacing":"wordSpacing",writingmode:"writingMode","writing-mode":"writingMode",xchannelselector:"xChannelSelector",xheight:"xHeight","x-height":"xHeight",xlinkactuate:"xlinkActuate","xlink:actuate":"xlinkActuate",xlinkarcrole:"xlinkArcrole","xlink:arcrole":"xlinkArcrole",xlinkhref:"xlinkHref","xlink:href":"xlinkHref",xlinkrole:"xlinkRole","xlink:role":"xlinkRole",xlinkshow:"xlinkShow","xlink:show":"xlinkShow",xlinktitle:"xlinkTitle","xlink:title":"xlinkTitle",xlinktype:"xlinkType","xlink:type":"xlinkType",xmlbase:"xmlBase","xml:base":"xmlBase",xmllang:"xmlLang","xml:lang":"xmlLang","xml:space":"xmlSpace",xmlnsxlink:"xmlnsXlink","xmlns:xlink":"xmlnsXlink",xmlspace:"xmlSpace",ychannelselector:"yChannelSelector",zoomandpan:"zoomAndPan",onblur:"onBlur",onchange:"onChange",onclick:"onClick",oncontextmenu:"onContextMenu",ondoubleclick:"onDoubleClick",ondrag:"onDrag",ondragend:"onDragEnd",ondragenter:"onDragEnter",ondragexit:"onDragExit",ondragleave:"onDragLeave",ondragover:"onDragOver",ondragstart:"onDragStart",ondrop:"onDrop",onerror:"onError",onfocus:"onFocus",oninput:"onInput",oninvalid:"onInvalid",onkeydown:"onKeyDown",onkeypress:"onKeyPress",onkeyup:"onKeyUp",onload:"onLoad",onmousedown:"onMouseDown",onmouseenter:"onMouseEnter",onmouseleave:"onMouseLeave",onmousemove:"onMouseMove",onmouseout:"onMouseOut",onmouseover:"onMouseOver",onmouseup:"onMouseUp",onscroll:"onScroll",onsubmit:"onSubmit",ontouchcancel:"onTouchCancel",ontouchend:"onTouchEnd",ontouchmove:"onTouchMove",ontouchstart:"onTouchStart",onwheel:"onWheel"};function c(e,t,n){let r=[...e].map((e,r)=>l(e,{...n,index:r,level:t+1})).filter(Boolean);return r.length?r:null}function l(e,t={}){if(!e||!(e instanceof Node))return null;let{actions:n=[],index:r=0,level:l=0,randomKey:u}=t,h=e,d=`${l}-${r}`,f=[];return(u&&0===l&&(d=`${function(e=6){let t="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",n="";for(let r=e;r>0;--r)n+=t[Math.round(Math.random()*(t.length-1))];return n}()}-${d}`),Array.isArray(n)&&n.forEach(t=>{t.condition(h,d,l)&&("function"!=typeof t.pre||(h=t.pre(h,d,l))instanceof Node||(h=e),"function"==typeof t.post&&f.push(t.post(h,d,l)))}),f.length)?f:function(e,t){let{key:n,level:r,...l}=t;switch(e.nodeType){case 1:var u;return o.createElement((u=e.nodeName,/[a-z]+[A-Z]+[a-z]+/.test(u)?u:u.toLowerCase()),function(e,t){let n={key:t};if(e instanceof Element){let t=e.getAttribute("class");t&&(n.className=t),[...e.attributes].forEach(e=>{switch(e.name){case"class":break;case"style":n[e.name]=i(e.value);break;case"allowfullscreen":case"allowpaymentrequest":case"async":case"autofocus":case"autoplay":case"checked":case"controls":case"default":case"defer":case"disabled":case"formnovalidate":case"hidden":case"ismap":case"itemscope":case"loop":case"multiple":case"muted":case"nomodule":case"novalidate":case"open":case"readonly":case"required":case"reversed":case"selected":case"typemustmatch":n[s[e.name]||e.name]=!0;break;default:n[s[e.name]||e.name]=e.value}})}return n}(e,n),c(e.childNodes,r,l));case 3:{let t=e.nodeValue?.toString()??"";if(!l.allowWhiteSpaces&&/^\s+$/.test(t)&&!/[\u00A0\u202F]/.test(t))return null;if(!e.parentNode)return t;let n=e.parentNode.nodeName.toLowerCase();if(a.includes(n))return/\S/.test(t)&&console.warn(`A textNode is not allowed inside '${n}'. Your text "${t}" will be ignored`),null;return t}case 8:default:return null;case 11:return c(e.childNodes,r,t)}}(h,{key:d,level:l,...t})}function u(e,t={}){return"string"==typeof e?function(e,t={}){if(!e||"string"!=typeof e)return null;let{includeAllNodes:n=!1,nodeOnly:r=!1,selector:o="body > *",type:i="text/html"}=t;try{let a=new DOMParser().parseFromString(e,i);if(n){let{childNodes:e}=a.body;if(r)return e;return[...e].map(e=>l(e,t))}let s=a.querySelector(o)||a.body.childNodes[0];if(!(s instanceof Node))throw TypeError("Error parsing input");if(r)return s;return l(s,t)}catch(e){}return null}(e,t):e instanceof Node?l(e,t):null}var h=n(85893),d=Object.defineProperty,f=(e,t,n)=>t in e?d(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,p=(e,t,n)=>(f(e,"symbol"!=typeof t?t+"":t,n),n),g="react-inlinesvg",m={IDLE:"idle",LOADING:"loading",LOADED:"loaded",FAILED:"failed",READY:"ready",UNSUPPORTED:"unsupported"};function v(){return!!("undefined"!=typeof window&&window.document&&window.document.createElement)}async function y(e,t){let n=await fetch(e,t),[r]=(n.headers.get("content-type")??"").split(/ ?; ?/);if(n.status>299)throw Error("Not found");if(!["image/svg+xml","text/plain"].some(e=>r.includes(e)))throw Error(`Content type isn't valid: ${r}`);return n.text()}var k=class{constructor(){p(this,"cacheApi"),p(this,"cacheStore"),p(this,"subscribers",[]),p(this,"isReady",!1),this.cacheStore=new Map;let e=g,t=!1;v()&&(e=window.REACT_INLINESVG_CACHE_NAME??g,t=!!window.REACT_INLINESVG_PERSISTENT_CACHE&&"caches"in window),t?caches.open(e).then(e=>{this.cacheApi=e,this.isReady=!0,this.subscribers.forEach(e=>e())}).catch(e=>{this.isReady=!0,console.error(`Failed to open cache: ${e.message}`)}):this.isReady=!0}onReady(e){this.isReady?e():this.subscribers.push(e)}async get(e,t){return await (this.cacheApi?this.fetchAndAddToPersistentCache(e,t):this.fetchAndAddToInternalCache(e,t)),this.cacheStore.get(e)?.content??""}set(e,t){this.cacheStore.set(e,t)}isCached(e){return this.cacheStore.get(e)?.status===m.LOADED}async fetchAndAddToInternalCache(e,t){let n=this.cacheStore.get(e);if(n?.status===m.LOADING){await this.handleLoading(e,async()=>{this.cacheStore.set(e,{content:"",status:m.IDLE}),await this.fetchAndAddToInternalCache(e,t)});return}if(!n?.content){this.cacheStore.set(e,{content:"",status:m.LOADING});try{let n=await y(e,t);this.cacheStore.set(e,{content:n,status:m.LOADED})}catch(t){throw this.cacheStore.set(e,{content:"",status:m.FAILED}),t}}}async fetchAndAddToPersistentCache(e,t){let n=this.cacheStore.get(e);if(n?.status===m.LOADED)return;if(n?.status===m.LOADING){await this.handleLoading(e,async()=>{this.cacheStore.set(e,{content:"",status:m.IDLE}),await this.fetchAndAddToPersistentCache(e,t)});return}this.cacheStore.set(e,{content:"",status:m.LOADING});let r=await this.cacheApi?.match(e);if(r){let t=await r.text();this.cacheStore.set(e,{content:t,status:m.LOADED});return}try{await this.cacheApi?.add(new Request(e,t));let n=await this.cacheApi?.match(e),r=await n?.text()??"";this.cacheStore.set(e,{content:r,status:m.LOADED})}catch(t){throw this.cacheStore.set(e,{content:"",status:m.FAILED}),t}}async handleLoading(e,t){let n=0;for(;this.cacheStore.get(e)?.status===m.LOADING&&n<10;)await function(e=1){return new Promise(t=>{setTimeout(t,1e3*e)})}(.1),n+=1;n>=10&&await t()}keys(){return[...this.cacheStore.keys()]}data(){return[...this.cacheStore.entries()].map(([e,t])=>({[e]:t}))}async delete(e){this.cacheApi&&await this.cacheApi.delete(e),this.cacheStore.delete(e)}async clear(){if(this.cacheApi)for(let e of(await this.cacheApi.keys()))await this.cacheApi.delete(e);this.cacheStore.clear()}};function w(e){let t=(0,o.useRef)();return(0,o.useEffect)(()=>{t.current=e}),t.current}function x(e){let{cacheRequests:t=!0,children:n=null,description:i,fetchOptions:a,innerRef:s,loader:c=null,onError:l,onLoad:h,src:d,title:f,uniqueHash:p}=e,[g,k]=(0,o.useReducer)((e,t)=>({...e,...t}),{content:"",element:null,isCached:t&&r.isCached(e.src),status:m.IDLE}),{content:x,element:b,isCached:A,status:E}=g,Z=w(e),S=w(g),O=(0,o.useRef)(p??function(e){let t="abcdefghijklmnopqrstuvwxyz",n=`${t}${t.toUpperCase()}1234567890`,r="";for(let e=0;e<8;e++)r+=n[Math.floor(Math.random()*n.length)];return r}(0)),D=(0,o.useRef)(!1),C=(0,o.useRef)(!1),L=(0,o.useCallback)(e=>{D.current&&(k({status:"Browser does not support SVG"===e.message?m.UNSUPPORTED:m.FAILED}),l?.(e))},[l]),R=(0,o.useCallback)((e,t=!1)=>{D.current&&k({content:e,isCached:t,status:m.LOADED})},[]),N=(0,o.useCallback)(async()=>{R(await y(d,a))},[a,R,d]),T=(0,o.useCallback)(()=>{try{let t=function(e){let{baseURL:t,content:n,description:r,handleError:o,hash:i,preProcessor:a,title:s,uniquifyIDs:c=!1}=e;try{let e=a?a(n):n,o=u(e,{nodeOnly:!0});if(!o||!(o instanceof SVGSVGElement))throw Error("Could not convert the src to a DOM Node");let l=function e(t,n){let{baseURL:r="",hash:o,uniquifyIDs:i}=n,a=["id","href","xlink:href","xlink:role","xlink:arcrole"],s=["href","xlink:href"],c=(e,t)=>s.includes(e)&&!!t&&!t.includes("#");return i&&[...t.children].forEach(t=>{if(t.attributes?.length){let e=Object.values(t.attributes).map(e=>{let t=/url\((.*?)\)/.exec(e.value);return t?.[1]&&(e.value=e.value.replace(t[0],`url(${r}${t[1]}__${o})`)),e});a.forEach(t=>{let n=e.find(e=>e.name===t);n&&!c(t,n.value)&&(n.value=`${n.value}__${o}`)})}return t.children.length?e(t,n):t}),t}(o,{baseURL:t,hash:i,uniquifyIDs:c});if(r){let e=l.querySelector("desc");e?.parentNode&&e.parentNode.removeChild(e);let t=document.createElementNS("http://www.w3.org/2000/svg","desc");t.innerHTML=r,l.prepend(t)}if(void 0!==s){let e=l.querySelector("title");if(e?.parentNode&&e.parentNode.removeChild(e),s){let e=document.createElementNS("http://www.w3.org/2000/svg","title");e.innerHTML=s,l.prepend(e)}}return l}catch(e){return o(e)}}({...e,handleError:L,hash:O.current,content:x}),n=u(t);if(!n||!(0,o.isValidElement)(n))throw Error("Could not convert the src to a React element");k({element:n,status:m.READY})}catch(e){L(Error(e.message))}},[x,L,e]),I=(0,o.useCallback)(async()=>{let e;let n=/^data:image\/svg[^,]*?(;base64)?,(.*)/u.exec(d);if(n?e=n[1]?window.atob(n[2]):decodeURIComponent(n[2]):d.includes("{D.current&&k({content:"",element:null,isCached:!1,status:m.LOADING})},[]);(0,o.useEffect)(()=>{if(D.current=!0,!v()||C.current)return()=>void 0;try{if(E===m.IDLE){if(!(function(){if(!document)return!1;let e=document.createElement("div");e.innerHTML="";let t=e.firstChild;return!!t&&"http://www.w3.org/2000/svg"===t.namespaceURI}()&&"undefined"!=typeof window&&null!==window))throw Error("Browser does not support SVG");if(!d)throw Error("Missing src");M()}}catch(e){L(e)}return C.current=!0,()=>{D.current=!1}},[]),(0,o.useEffect)(()=>{if(v()&&Z){if(Z.src!==d){if(!d){L(Error("Missing src"));return}M()}else(Z.title!==f||Z.description!==i)&&T()}},[i,T,L,M,Z,d,f]),(0,o.useEffect)(()=>{S&&(S.status!==m.LOADING&&E===m.LOADING&&I(),S.status!==m.LOADED&&E===m.LOADED&&T(),S.status!==m.READY&&E===m.READY&&h?.(d,A))},[I,T,A,h,S,d,E]);let P=function(e,...t){let n={};for(let r in e)({}).hasOwnProperty.call(e,r)&&!t.includes(r)&&(n[r]=e[r]);return n}(e,"baseURL","cacheRequests","children","description","fetchOptions","innerRef","loader","onError","onLoad","preProcessor","src","title","uniqueHash","uniquifyIDs");return v()?b?(0,o.cloneElement)(b,{ref:s,...P}):[m.UNSUPPORTED,m.FAILED].includes(E)?n:c:c}function b(e){r||(r=new k);let{loader:t}=e,n=(0,o.useRef)(!1),[i,a]=(0,o.useState)(r.isReady);return((0,o.useEffect)(()=>{n.current||(r.onReady(()=>{a(!0)}),n.current=!0)},[]),i)?(0,h.jsx)(x,{...e}):t}}}]);