1import{a as _}from"https://build.cargo.site/u/49da0e/static/chunks/chunk-UU2F7QHL.js";import{h as f,i as y}from"https://build.cargo.site/u/49da0e/static/chunks/chunk-HCDFCMWC.js";import{e as h}from"https://build.cargo.site/u/49da0e/static/chunks/chunk-QK2OWAVC.js";f();var a=h(y()),l=h(_()),s=[];function g(t){let o=t(),e={loading:!0,loaded:null,error:null};return e.promise=o.then(r=>(e.loading=!1,e.loaded=r,r)).catch(r=>{throw e.loading=!1,e.error=r,r}),e}function E(t){return t.default??t}function T(t,o){return a.default.createElement(E(t),o)}function D(t,o){o.loading||(o.loading=()=>null);let e=Object.assign({loader:null,loading:null,delay:200,timeout:null,render:T,modules:null},o),r=null;function u(){if(!r){let p=__dynamicImportMiddleWare.trackImports(()=>{r=t(e.loader)});e.modules=p}return r.promise}return s.push({opts:e,init:u}),class extends a.default.Component{constructor(i){super(i),u(),this.state={error:r.error,pastDelay:!1,timedOut:!1,loading:r.loading,loaded:r.loaded}}static contextTypes={loadable:l.default.shape({report:l.default.func.isRequired})};static preload(){return u()}UNSAFE_componentWillMount(){this._loadModule()}componentDidMount(){this._mounted=!0}_loadModule(){if(this.context&&this.context.loadable&&Array.isArray(e.modules)&&e.modules.forEach(n=>{this.context.loadable.report(n)}),!r.loading)return;let i=n=>{this._mounted&&this.setState(n)};typeof e.delay=="number"&&(e.delay===0?this.setState({pastDelay:!0}):this._delay=setTimeout(()=>{i({pastDelay:!0})},e.delay)),typeof e.timeout=="number"&&(this._timeout=setTimeout(()=>{i({timedOut:!0})},e.timeout));let c=()=>{i({error:r.error,loaded:r.loaded,loading:r.loading}),this._clearTimeouts()};r.promise.then(()=>(c(),null)).catch(n=>(c(),null))}componentWillUnmount(){this._mounted=!1,this._clearTimeouts()}_clearTimeouts(){clearTimeout(this._delay),clearTimeout(this._timeout)}retry=()=>{this.setState({error:null,loading:!0,timedOut:!1}),r=t(e.loader),this._loadModule()};render(){return this.state.loading||this.state.error?a.default.createElement(e.loading,{isLoading:this.state.loading,pastDelay:this.state.pastDelay,timedOut:this.state.timedOut,error:this.state.error,retry:this.retry}):this.state.loaded?e.render(this.state.loaded,this.props):null}}}function d(t){return D(g,t)}var m=class extends a.default.Component{static propTypes={report:l.default.func.isRequired};static childContextTypes={loadable:l.default.shape({report:l.default.func.isRequired}).isRequired};getChildContext=()=>({loadable:{report:this.props.report}});render=()=>a.default.Children.only(this.props.children)};d.Capture=m;d.preloadAll=async()=>{for(;s.length;){let t=[];for(;s.length;){let o=s.pop().init;t.push(o())}await Promise.allSettled(t)}};d.loadSSRComponents=async()=>{await Promise.allSettled((window.__HYDRATE_DEPENDENCIES__||[]).map(t=>__mprt(t))),await Promise.allSettled(s.map(async t=>{__dynamicImportMiddleWare.trackImports(()=>{t.opts.loader()},{runDry:!0}).every(e=>window.__HYDRATE_DEPENDENCIES__.includes(e))&&await t.init()}))};var C=d;export{C as a};
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.