@telia-ace/knowledge-widget-plugins 1.1.1-rc.0 → 1.1.1-rc.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +297 -537
- package/index.mjs +3753 -28689
- package/package.json +5 -5
package/index.js
CHANGED
|
@@ -1,88 +1,22 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function d7(o,i){for(var l=0;l<i.length;l++){const f=i[l];if(typeof f!="string"&&!Array.isArray(f)){for(const h in f)if(h!=="default"&&!(h in o)){const m=Object.getOwnPropertyDescriptor(f,h);m&&Object.defineProperty(o,h,m.get?m:{enumerable:!0,get:()=>f[h]})}}}return Object.freeze(Object.defineProperty(o,Symbol.toStringTag,{value:"Module"}))}const bS=(o,i,l,...f)=>{const h=`[${o.get("$environment").name||"webprovisions"}] ${l}`;switch(i){case"info":console.info(h,...f);break;case"warning":console.warn(h,...f);break;case"error":console.error(h,...f);break}},p7=o=>{const i=o.container||o;return{info:(l,...f)=>bS(i,"info",l,...f),warn:(l,...f)=>bS(i,"warning",l,...f),error:(l,...f)=>bS(i,"error",l,...f)}};var dv=(o=>(o.Implementation="implementation",o.Widget="widget",o))(dv||{}),wu=(o=>(o.Pre="pre",o.Post="post",o))(wu||{});const h7=(o,i,l,f)=>{try{const h=new i(l,f);return{name:o,invoke:(m,v)=>{let S;return h[m]&&(S=h[m].call(h,v)),Promise.resolve(S)},getInstance:()=>h}}catch(h){if(h.message&&h.message.indexOf("is not a constructor")>=0)return{name:o,invoke:m=>{let v;return m==="initialize"&&(v=i(l,f)),Promise.resolve(v)},getInstance:()=>i};throw h}};function Vx(o,i){return typeof o>"u"?i:o}let v7=class{constructor(i={}){this.part=i}createCommand(i,l,f){let h;typeof l=="function"?h={scope:dv.Widget,stage:wu.Post,defaultArgs:void 0,handlerResolver:l}:h={scope:Vx(l.scope,dv.Widget),stage:Vx(l.stage,wu.Post),defaultArgs:l.defaultArgs,handlerResolver:f};let m=this.part;const v=i.split(".");return v.forEach((S,b)=>{b===v.length-1?m[S]||(m[S]=()=>h):m=this.part[S]=this.part[S]||{}}),this}get(){return this.part}};const fT=o=>{const i=new v7({});return o(i),i.get()};fT(o=>{o.createCommand("types.register",{scope:dv.Implementation,stage:wu.Pre},i=>(l,f)=>{i.container.get("$types")[l]=f}).createCommand("type",{stage:wu.Pre},i=>l=>{i.container.register("$type",l)}).createCommand("settings",{stage:wu.Pre,defaultArgs:[null]},i=>l=>{i.events.dispatch("settings:change",l,{bubbles:!0}),i.container.register("$settings",l)}).createCommand("plugin",{stage:wu.Pre},i=>(l,f,h)=>{const{container:m}=i;let v=null,S=l,b=f;typeof l=="string"&&(v=l,S=f,b=h);const x=T=>{const{transformPluginSettings:k}=i.container.get("$environmentOptions"),L=k?k(b||{},v,i.container,S):f;try{const M=h7(v,S,m,L);m.get("$plugins").push(M),T&&M.invoke("initialize",null)}catch(M){p7(i).warn("Error when initializing plugin",M)}};i.container.get("$instance")?x(!0):i.events.subscribeOnce("widget:instance-created",()=>x(!1))}).createCommand("container.register",i=>(l,f)=>{i.container.register(l,f)}).createCommand("container.registerAsync",i=>(l,f)=>{i.container.registerAsync(l,f)}).createCommand("container.registerFactory",i=>(l,f)=>{i.container.registerFactory(l,f)}).createCommand("container.touch",i=>(l,f)=>{i.container.touch(l,f)}).createCommand("csp",{},i=>l=>{i.container.register("csp",l)})});const m7=fT(o=>{o.createCommand("ready",{scope:dv.Implementation,stage:wu.Pre},i=>l=>{const{container:f}=i,h=f.owner;f.get("bootstrapping").ready?l(h):h.events.subscribeOnce("bootstrap:ready",()=>{l(h)})})}),wS=new WeakMap;function Hd(){return o=>(wS.has(o)||wS.set(o,{}),wS.get(o))}const xS=(o,i,l,...f)=>{const h=`[${o.get("$environment").name||"webprovisions"}] ${l}`;switch(i){case"info":console.info(h,...f);break;case"warning":console.warn(h,...f);break;case"error":console.error(h,...f);break}},pa=o=>{const i=o.container||o;return{info:(l,...f)=>xS(i,"info",l,...f),warn:(l,...f)=>xS(i,"warning",l,...f),error:(l,...f)=>xS(i,"error",l,...f)}},er=Hd(),mC=(()=>{let o=0;return()=>++o})(),yC=(o,i,l)=>{const f=er(o).touchQueue.get(i);f&&f.forEach(h=>{h(l,o)})};class y7{constructor(i,l,f,h){this.key=i,this.factory=l,this.parent=f,this.container=h,this.id=mC(),this.resolved=!1,this.constructed=!1,this.async=!0}resolve(){if(!this.constructed){const i=this.factory(this.parent,this.container);return this.constructed=!0,this.value=Promise.resolve(i).then(l=>(this.resolved=!0,yC(this.container,this.key,l),l))}return this.value}}class g7{constructor(i,l,f,h){this.key=i,this.value=l,this.parent=f,this.container=h,this.id=mC(),this.async=!1,this.resolved=!1,this.constructed=!0,this.resolve=()=>(this.resolved=!0,yC(this.container,this.key,this.value),this.value)}}class E7{constructor(i,l,f,h){this.key=i,this.value=l,this.parent=f,this.container=h,this.id=mC(),this.async=!1,this.resolved=!1,this.constructed=!1,this.resolve=()=>{this.resolved=!0,this.constructed=!0;const m=this.value(this.parent,this.container);return yC(this.container,this.key,this.value),m}}}class Pg{constructor(i,l,f){this.owner=i,this.name=l,this.parent=f,er(this).resolvers=new Map,er(this).touchQueue=new Map,er(this).children=[]}delete(i){const l=er(this).resolvers,f=Array.from(l.values()).find(h=>h.id===i);return f?(er(this).touchQueue.delete(f.key),Promise.resolve(l.delete(f.key))):this.parent?this.parent.delete(i):Promise.resolve(!1)}clear(){const i=er(this).resolvers,l=Array.from(i.values());return Promise.all(l.map(f=>{if(f.constructed)return Promise.resolve(f.resolve()).then(h=>{if(h!==null&&typeof h=="object"&&typeof h.dispose=="function")return h.dispose.call(h,this,f)})})).then(()=>{l.forEach(f=>this.delete(f.id)),er(this).children.forEach(f=>f.clear())})}detach(){if(this.parent){const i=er(this.parent).children,l=i.indexOf(this);l>-1&&(i.splice(l,1),delete this.parent)}}touch(i,l){const f=er(this).resolvers.get(i);if(f&&f.constructed)Promise.resolve(f.resolve()).then(h=>{l(h,this)});else{const h=er(this).touchQueue;let m=h.get(i);m||(m=[],h.set(i,m)),m.push(l)}return this.parent&&!f?this.parent.touch(i,l):Promise.resolve()}registerAsync(i,l){const f=er(this).resolvers.get(i);f&&!f.async&&process.env.NODE_ENV!=="production"&&pa(this).warn(`Mismatching resolver type. You are registering an async resolver with a key ('${i}') previously used by a non-async resolver.`);const h=new y7(i,l,f,this);return er(this).resolvers.set(i,h),h.id}registerFactory(i,l){const f=er(this).resolvers.get(i);f&&f.async&&process.env.NODE_ENV!=="production"&&pa(this).warn(`Mismatching resolver type. You are registering a non-async resolver with a key ('${i}') previously used by an async resolver.`);const h=new E7(i,l,f,this);return er(this).resolvers.set(i,h),h.id}register(i,l){const f=er(this).resolvers.get(i);f&&f.async&&process.env.NODE_ENV!=="production"&&pa(this).warn(`Mismatching resolver type. You are registering a non-async resolver with a key ('${i}') previously used by an async resolver.`);const h=new g7(i,l,f,this);return er(this).resolvers.set(i,h),h.id}get(i){const l=er(this).resolvers.get(i);if(l)return l.async&&process.env.NODE_ENV!=="production"&&pa(this).warn(`You are retrieving an async value (with key '${i}') by the non-async function 'container.get(key)'. This will not be supported in future versions. Use 'container.getAsync(key) instead.'`),l.resolve();if(this.parent)return this.parent.get(i)}getAsync(i){const l=er(this).resolvers.get(i);if(l){if(!l.async)throw process.env.NODE_ENV!=="production"&&pa(this).warn(`You are retrieving a non-async value (with key '${i}') by the async function 'container.getAsync(key)'.Use 'container.get(key) instead.'`),"Mismatching resolver type";return l.resolve()}return this.parent?this.parent.getAsync(i):Promise.resolve(void 0)}getMany(...i){const l={};return i.forEach(f=>l[f]=this.get(f)),l}getManyAsync(...i){const l={};return Promise.all(i.map(f=>this.getAsync(f).then(h=>l[f]=h))).then(()=>l)}createChild(i,l){const f=new Pg(i,l,this);return er(this).children.push(f),f}}class Bx{constructor(i,l,f=!1,h=!1){this.type=i,this.target=l,this.cancelable=!!f,this.bubbles=!!h,this.defaultPrevented=!1}preventDefault(){this.cancelable&&(this.defaultPrevented=!0)}}const hs=Hd(),Ix=(o,i)=>[].concat(hs(o).listenerLookup.get(i.toLowerCase())||[],hs(o).listenerLookup.get("*")||[]),Yx=(o,i,l,f)=>{let h,m;return i instanceof Bx?(h=i,m=i.type):(h=new Bx(i,o.target,!!l.cancelable,!!l.bubbles),m=i),{event:h,type:m,async:f}};class gC{constructor(i,l){this.target=i,this.parent=l,hs(this).listenerLookup=new Map,hs(this).children=[]}clear(){hs(this).listenerLookup.clear(),hs(this).children.forEach(i=>i.clear())}detach(){if(this.parent){const i=hs(this.parent).children,l=i.indexOf(this);l>-1&&i.splice(l,1)}}subscribe(i,l,f){const h=hs(this).listenerLookup,m=i.toLowerCase();return h.has(m)||h.set(m,[]),h.get(m).push(l),()=>this.unsubscribe(i,l)}subscribeOnce(i,l){const f=this.subscribe(i,(h,m)=>(f(),l(h,m)))}unsubscribe(i,l){const f=hs(this).listenerLookup.get(i.toLowerCase());if(f){const h=f.indexOf(l);h>-1&&f.splice(h,1)}}dispatchAsync(i,l,f={}){const{event:h,type:m}=Yx(this,i,f,!0),v=Ix(this,m);let S=0;const b=v.length;let x=Promise.resolve();for(S=0;S<b;S++)(T=>{x=x.then(k=>k?Promise.resolve(!0):Promise.resolve(T(h,l)).then(()=>h.defaultPrevented))})(v[S]);return x.then(T=>!T&&h.bubbles&&this.parent?this.parent.dispatchAsync(h,l):T)}dispatch(i,l,f={}){const{event:h,type:m}=Yx(this,i,f,!1),v=Ix(this,m);let S=0;const b=v.length;let x=!1;for(S=0;S<b;S++)if(v[S](h,l),h.defaultPrevented){x=!0;break}return!x&&h.bubbles&&this.parent&&(x=this.parent.dispatch(h,l)),x}createChild(i){const l=new gC(i,this);return hs(this).children.push(l),l}}const lg=(o,i,l)=>{const f=o.get("$plugins").map(h=>{try{return h.invoke(i,l)}catch(m){pa(o).error("An error occured when invoking a plugin.",h,m)}});return Promise.all(f)};class S7{constructor(i){this.widget=i.get("$widget"),this.events=this.widget.events,this.container=this.widget.container,this.initialized=null,this.activated=null,this.initialize=this.initialize.bind(this),this.activate=this.activate.bind(this),this.deactivate=this.deactivate.bind(this),this.invoke=this.invoke.bind(this),this.createInstance()}createInstance(){if(!this.widget.container.get("$instance")){const i=this.widget.container.get("$types"),l=this.widget.container.get("$type");!l&&pa(this).error("Unable to create widget. No type is specified.");const f=i[l];!f&&pa(this).error(`Unable to create widget. Type '${l}' is not registered.`),this.widget.events.dispatch("widget:create-instance",{},{bubbles:!0});try{this.widget.container.register("$instance",new f(this.container))}catch(h){pa(this).error("Unable to create widget type.",h)}this.widget.events.dispatch("widget:instance-created",{},{bubbles:!0})}}initialize(i){return this.initialized=this.initialized||(()=>{const l=this.container.get("$instance"),f=l.initialize||(()=>{});return this.initialized=Promise.resolve(f.call(l,i)).then(()=>lg(this.container,"initialize",i)).then(()=>{})})()}activate(i){return(this.initialized||this.initialize()).then(()=>{this.activated=this.activated||(()=>lg(this.container,"activate").then(()=>{const l=this.container.get("$instance");return this.activated=l.activate(i)}))()})}deactivate(){const i=this.container.get("$instance"),l=i.deactivate||(()=>{});return lg(this.container,"deactivate").then(()=>Promise.resolve(l.call(i))).then(()=>{this.initialized=null,this.activated=null}).then(()=>{})}invoke(i,...l){return lg(this.container,"invoke",{command:i,args:l}).then(()=>{const f=this.container.get("$instance");if(f[i])return f[i].apply(f,l);const h=f.invoke;if(h)return h.call(f,i,...l)})}}const Dd=(o,i)=>{if(!i)return!0;if(typeof i=="string"){const l=i.split(",");for(let f=0,h=l.length;f<h;f++){const m=l[f].trim();if(m===o||m==="*")return!0}}return i instanceof Array?i.indexOf(o)>-1:!1},C7=(o,i)=>{if(typeof i=="function")return i(o);const l=typeof i=="string"?x7(i):i;return!(!Dd(o.implementation.tenant||"",l.tenant||"")||!Dd(o.implementation.name,l.implementation||"")||!Dd(o.name,l.widget||"")||!Dd(o.container.get("$type"),l.type||""))},b7=(o,i)=>{if(typeof i=="function")return i(o);const l=typeof i=="string"?T7(i):i;return!(!Dd(o.tenant||"",l.tenant||"")||!Dd(o.name,l.implementation||""))},dT=o=>i=>C7(i,o),w7=o=>i=>b7(i,o),dl=o=>o instanceof Array&&o.length===1?o[0]:o,x7=o=>{const i={},l=o.split(":");return l.length===1?i.widget=dl(l[0].split(",")):l.length===2?(i.implementation=dl(l[0].split(",")),i.widget=dl(l[1].split(","))):(i.tenant=dl(l[0].split(",")),i.implementation=dl(l[1].split(",")),i.widget=dl(l[2].split(","))),i},T7=o=>{const i={},l=o.split(":");return l.length===1?i.implementation=dl(l[0].split(",")):(i.tenant=dl(l[0].split(",")),i.implementation=dl(l[1].split(","))),i},Og=Hd(),Wx=(o,i,l)=>o.filter(f=>f.stage===i&&dT(f.selector)(l));function R7(o){const i=o.container.get("$environment");let l=Og(i).configurationCache;l&&(l=l.filter(f=>f[0]!==o),Og(i).configurationCache=l)}var Ng=(o=>(o.Implementation="implementation",o.Widget="widget",o))(Ng||{}),pl=(o=>(o.Pre="pre",o.Post="post",o))(pl||{});const pT=(o,i,l)=>(Object.keys(i).forEach(f=>{const h=i[f];if(typeof h=="function"){const m=h();typeof m.defaultArgs<"u"&&l(m,...m.defaultArgs),o[f]=(...v)=>{const S=Object.assign({},m,{handlerResolver:m.handlerResolver.bind({})});return l(S,...v),o}}else o[f]=pT({},h,l)}),o),k7=(o,i)=>{switch(i){case"implementation":return o.implementation;case"widget":return o}},qx=(o,i,l,f)=>(f.forEach(h=>{pT(o,h,(m,...v)=>{const S={selector:i,stage:m.stage,handler:b=>{const x=k7(b,m.scope),T={container:x.container,events:x.events},k=m.handlerResolver,L=k(T);let M=Og(l.environment).configurationCache;return M||(M=Og(l.environment).configurationCache=[]),M.find(P=>P.indexOf(x)>-1&&P.indexOf(k)>-1)?Promise.resolve():(M.push([x,k]),Promise.resolve(L(...v)))}};l.instructions.push(S)})}),o);function _7(o,i){function l(f){return qx({},f,o,i)}return qx(l,"*",o,i)}class O7{constructor(i,l){this.container=i,this.settings=l,this.widget=i.get("$widget"),this.events=this.widget.events}}const N7=(o,i,l,f)=>{try{const h=new i(l,f);return{name:o,invoke:(m,v)=>{let S;return h[m]&&(S=h[m].call(h,v)),Promise.resolve(S)},getInstance:()=>h}}catch(h){if(h.message&&h.message.indexOf("is not a constructor")>=0)return{name:o,invoke:m=>{let v;return m==="initialize"&&(v=i(l,f)),Promise.resolve(v)},getInstance:()=>i};throw h}};function Gx(o,i){return typeof o>"u"?i:o}class D7{constructor(i={}){this.part=i}createCommand(i,l,f){let h;typeof l=="function"?h={scope:Ng.Widget,stage:pl.Post,defaultArgs:void 0,handlerResolver:l}:h={scope:Gx(l.scope,Ng.Widget),stage:Gx(l.stage,pl.Post),defaultArgs:l.defaultArgs,handlerResolver:f};let m=this.part;const v=i.split(".");return v.forEach((S,b)=>{b===v.length-1?m[S]||(m[S]=()=>h):m=this.part[S]=this.part[S]||{}}),this}get(){return this.part}}const jg=o=>{const i=new D7({});return o(i),i.get()},L7=jg(o=>{o.createCommand("types.register",{scope:Ng.Implementation,stage:pl.Pre},i=>(l,f)=>{i.container.get("$types")[l]=f}).createCommand("type",{stage:pl.Pre},i=>l=>{i.container.register("$type",l)}).createCommand("settings",{stage:pl.Pre,defaultArgs:[null]},i=>l=>{i.events.dispatch("settings:change",l,{bubbles:!0}),i.container.register("$settings",l)}).createCommand("plugin",{stage:pl.Pre},i=>(l,f,h)=>{const{container:m}=i;let v=null,S=l,b=f;typeof l=="string"&&(v=l,S=f,b=h);const x=T=>{const{transformPluginSettings:k}=i.container.get("$environmentOptions"),L=k?k(b||{},v,i.container,S):f;try{const M=N7(v,S,m,L);m.get("$plugins").push(M),T&&M.invoke("initialize",null)}catch(M){pa(i).warn("Error when initializing plugin",M)}};i.container.get("$instance")?x(!0):i.events.subscribeOnce("widget:instance-created",()=>x(!1))}).createCommand("container.register",i=>(l,f)=>{i.container.register(l,f)}).createCommand("container.registerAsync",i=>(l,f)=>{i.container.registerAsync(l,f)}).createCommand("container.registerFactory",i=>(l,f)=>{i.container.registerFactory(l,f)}).createCommand("container.touch",i=>(l,f)=>{i.container.touch(l,f)}).createCommand("csp",{},i=>l=>{i.container.register("csp",l)})}),M7=L7;function A7(o,i,l=[]){const f=[M7].concat(l),h=_7(i,f);o(h,i)}class z7{constructor(){this.tasks=[],this.current=Promise.resolve(),this.next=this.next.bind(this)}add(i,l,f,h){this.tasks.push({task:i,resolve:l,reject:f,done:h}),this.next()}next(){this.current=this.current.then(()=>{const i=this.tasks.shift();if(i){const l=Promise.resolve(i.task());return Promise.resolve(l).then(this.next).then(()=>l.then(f=>{i.done(),i.resolve(f)})).catch(f=>(i.done(),i.reject(f),this.next()))}return Promise.resolve()})}}const ug=new WeakMap;function $7(o){return ug.has(o)||ug.set(o,new z7),i=>new Promise((l,f)=>{const h=ug.get(o);h.add(i,l,f,()=>{h.tasks.length||ug.delete(o)})})}const Qx=o=>typeof o<"u";var hT=(o=>(o.Activating="activating",o.Loading="loading",o.Activated="activated",o.Deactivating="deactivating",o.Deactivated="deactivated",o))(hT||{});const nv=(o,i)=>{o.events.dispatch("widget:state-change",{state:i},{bubbles:!0}),o.state=i,o.events.dispatch("widget:state-changed",{},{bubbles:!0})},vo=Hd(),U7=o=>{const{container:i,events:l}=o;i.get("$controller")||(i.register("$controller",new S7(i)),l.dispatch("widget:controller-created",{},{bubbles:!0}))};class P7{constructor(i,l,f){this.state="deactivated",this.name=i,this.implementation=l,this.container=l.container.createChild(this,i),this.events=l.events.createChild(this),vo(this).subscriptions=[],f&&l.configure(h=>{const m=h(i);Qx(f.type)&&m.type(f.type),Qx(f.settings)&&m.settings(f.settings),f.plugins&&Object.keys(f.plugins).forEach(v=>{var S;const b=(S=f.plugins)==null?void 0:S[v];m.plugin(v,b)})}),this.load=this.load.bind(this),this.activate=this.activate.bind(this),this.invoke=this.invoke.bind(this),this.deactivate=this.deactivate.bind(this)}load(){return $7(this)(()=>{vo(this).deactivatedPromise=null;const i=this.state==="deactivated";i&&(nv(this,"activating"),this.container.register("$widget",this),this.container.register("$controller",null),this.container.register("$plugins",[]),this.container.register("$type",null),this.container.register("$instance",null)),nv(this,"loading");const l=this.implementation.instructions,f=Wx(l,pl.Pre,this);return Promise.all(f.map(h=>h.handler(this))).then(()=>{U7(this);const h=Wx(l,pl.Post,this);return Promise.all(h.map(m=>m.handler(this))).then(()=>{i&&this.container.get("$controller").initialize()})}).then(()=>(nv(this,"activated"),this))})}activate(i){vo(this).subscriptions.push(this.implementation.events.subscribe("implementation:configured",()=>{["activated","activating","loading"].indexOf(this.state)>-1&&this.load()}));const l=vo(this).activatedPromise;return l?(process.env.NODE_ENV!=="production"&&pa(this).warn(`Widget '${this.name}' has already been activated. The passed arguments for this activation will be discarded.`,i),l):vo(this).activatedPromise=this.load().then(()=>this.container.get("$controller").activate(i))}invoke(i,...l){const f=vo(this).activatedPromise,h=(m,...v)=>f.then(this.load).then(()=>this.container.get("$controller").invoke(m,...v));return f?h(i,...l):(process.env.NODE_ENV!=="production"&&pa(this).warn("You are invoking a command on a deactivated widget. The invocation will be queued until the widget is activated.",this),new Promise(m=>{const v=this.events.subscribe("widget:state-changed",()=>{this.state==="activated"&&(v(),m(h(i,...l)))})}))}deactivate(){return vo(this).deactivatedPromise||(this.state==="deactivated"?Promise.resolve():(nv(this,"deactivating"),vo(this).deactivatedPromise=this.container.get("$controller").deactivate().then(()=>(vo(this).activatedPromise=null,vo(this).subscriptions.forEach(l=>l()),vo(this).subscriptions=[],this.container.clear().then(()=>{this.events.clear(),R7(this),nv(this,"deactivated")})))))}}const Kx=Hd();class j7{constructor(i,l,f=[]){this.instructions=[],this.widgets=new Map,this.name=i.name,this.tenant=i.tenant,this.environment=l,this.container=l.container.createChild(this,this.name),this.events=l.events.createChild(this),this.container.register("$types",{}),Kx(this).configurationApiExtensions=f}load(){const i=Array.from(this.widgets.values());return Promise.all(i.map(l=>l.load())).then(()=>i)}configure(i){return A7(i,this,Kx(this).configurationApiExtensions),this.events.dispatch("implementation:configured",{implementation:this},{bubbles:!0}),this}createWidget(i,l){const f=new P7(i,this,l);return this.widgets.set(f.name,f),f}}function H7(o,i,l){const f=new j7(o,i,l);return o.widgets&&Object.keys(o.widgets).forEach(h=>{var m;const v=(m=o.widgets)==null?void 0:m[h];f.createWidget(h,v)}),f}class Dg{constructor(i,l){this.selectorFactory=l,typeof i=="function"?this.resolver=i:this.resolver=()=>i}append(i){const l=typeof i=="function"?i:()=>i;return new Dg(()=>this.all().concat(l()),this.selectorFactory)}all(){return this.resolver().concat([])}query(i){return this.all().filter(this.selectorFactory(i))}find(i){const l=this.query(i);if(l.length)return l[0]}}const EC="#____version____#",TS=Hd(),F7=o=>o.tenant?`${o.name}:${o.tenant}`:o.name,vT=class{constructor(o,i=[],l={}){this.widgets=new Dg(()=>{let f=[];return this.implementations.all().forEach(h=>{f=f.concat(Array.from(h.widgets.values()))}),f},dT),this.implementations=new Dg([],w7),this.name=o,this.container=new Pg(this,o),this.events=new gC(this),this.container.register("$version",EC),this.container.register("$environment",this),this.container.register("$environmentOptions",l),TS(this).configurationApiExtensions=i}createImplementation(o){const i=F7(o);let l=this.implementations.find(i);if(l)return process.env.NODE_ENV!=="production"&&pa(l).warn(`Implementation "${i}" already exist on current environment.`),l;const f=TS(this).configurationApiExtensions;return l=H7(o,this,f),this.implementations=this.implementations.append([l]),this.events.dispatch("implementation:created",{implementation:l}),l}patch(o={}){const{name:i,configurationApiExtensions:l}=o;typeof i<"u"&&i!==null&&(this.name=i),l&&l.forEach(f=>{TS(this).configurationApiExtensions.push(f)})}static create(o={}){return new vT(o.name||"",o.configurationApiExtensions,o.options)}};let mT=vT;mT.version=EC;const V7=o=>{const i=[];return[(f,h)=>{i.push(o.subscribe(f,h))},()=>{i.forEach(f=>{f()})}]};class SC{constructor(i,l=[]){this.platform=i,this.rules=l}match(i){return this.rules.every(l=>!(l.id&&l.id!==i.id||l.type&&l.type!==i.type))}ofType(i){return this.rules.push({type:i}),this}withId(i){return this.rules.push({id:i}),this}select(){return new B7(this.platform,this)}}class yT{constructor(i,l,f){this.platform=i,this.node=l,this.actions=new CC(i,new SC(i).withId(l.id),f);const[h,m]=V7(this.platform.events);this.subscribe=h,this.unsubscribe=m}properties(i){return i&&this.node.touchProperties(l=>i(l)),this.node.attributes.properties}context(i){return i&&this.subscribe("components:context-changed",(l,{node:f})=>{f===this.node&&i(this.node.attributes.context)}),this.node.attributes.context}layout(i){return i&&this.subscribe("components:layout-changed",(l,{node:f})=>{f===this.node&&i(this.node.attributes.layout)}),this.node.attributes.layout}writeProperties(i,l){this.node.writeProperties(i,l)}writeContext(i,l){this.node.writeProperties(i,l)}writeLayout(i,l){this.node.writeLayout(i,l)}dispose(){this.unsubscribe(),this.actions.dispose()}}class B7{constructor(i,l,f=!0){this.platform=i,this.target=l,this.clearOnDispose=f,this.removes=[],this.actions=new CC(this.platform,this.target)}writeProperties(i,l){this.removes.push(this.platform.write({options:l,attributes:{properties:i},target:this.target,removable:this.clearOnDispose}))}writeContext(i,l){this.removes.push(this.platform.write({options:l,attributes:{context:i},target:this.target,removable:this.clearOnDispose}))}writeLayout(i,l){this.removes.push(this.platform.write({options:l,attributes:{layout:i},target:this.target,removable:this.clearOnDispose}))}dispose(){this.removes.forEach(i=>{i()}),this.actions.dispose()}}const I7=(o,i,l)=>{const f=o.concat(),h=(m,v,S)=>{let b=!0;if(f.length){const x=f.shift(),T=(k,L)=>(b=!1,h(k,Object.assign({},v,L),S));return Promise.resolve(x(m,T,S)).then(k=>({...k,cancelled:b}))}return Promise.resolve({data:m,cancelled:!1,options:v})};return h(i,{},l)};class CC{constructor(i,l,f){this.platform=i,this.target=l,this.ns=f,this.subscriptions=[],this.create=this.create.bind(this)}create(i,l=()=>{}){const f={key:i,fn:l,target:this.target,ns:this.ns};this.platform.actionsState.handlers.push(f);const h=()=>{const m=this.platform.actionsState.handlers.indexOf(f);m>-1&&this.platform.actionsState.handlers.splice(m,1)};return this.subscriptions.push(h),h}dispatch(i,l){const f=this.platform.nodes.all.concat(this.platform.nodes.detached),h={},m=this.platform.actionsState.handlers.filter(v=>v.key===i&&(!v.ns||!this.ns||v.ns===this.ns));return Promise.all(m.map(v=>{const S=f.filter(x=>v.target.match(x)&&this.target.match(x)),b=this.platform.actionsState.watchers.filter(x=>x.key===i&&(!x.ns||!this.ns||x.ns===this.ns)&&S.some(T=>x.target.match(T))).map(x=>x.fn);return Promise.all(S.map(x=>{const T=new yT(this.platform,x,this.ns);return I7(b,l,T).then(k=>{const{data:L={},options:M,cancelled:P}=k;return Promise.resolve(P?{}:v.fn(L,M,T)).then(F=>{h[x.id]=F})})}))})).then(()=>h)}watch(i,l){let f=i,h=this.ns;const m=i.split(".");m.length>1&&(h=m[0],f=m.splice(1).join("."));const v={fn:l,target:this.target,key:f,ns:h};this.platform.actionsState.watchers.push(v);const S=()=>{const b=this.platform.actionsState.watchers.indexOf(v);b>-1&&this.platform.actionsState.watchers.splice(b,1)};return this.subscriptions.push(S),S}dispose(){this.subscriptions.forEach(i=>i())}}jg(o=>{o.createCommand("components",i=>l=>{i.events.subscribeOnce("components:platform-created",(f,{platform:h})=>{l.handlers&&l.handlers.forEach(([m,v])=>{h.addComponentHandler(m,v)})})})});function Y7(o){const i=[];return o.forEach(l=>{i.indexOf(l)===-1&&i.push(l)}),i}function ZS(o="",i=""){const l=o.split(" ").concat(i.split(" "));return Y7(l).join(" ").trim()}function W7(o,i){if(o){if(typeof i=="string")return i;if(Array.isArray(i)){let l="";return i.forEach(f=>l=ZS(l,f)),l}}}function Mn(...o){let i="";return o.length&&o.forEach(l=>{typeof l=="string"?i=ZS(i,l):Array.isArray(l)?i=ZS(i,W7(...l)):typeof l<"u"&&l!==null&&process.env.NODE_ENV!=="production"&&li.warn("appendClassNames: arguments either haveto be a string or [boolean, ...string[]]. Passed args:",...o)}),i}function Lg(o){const i={};if(typeof o=="number"||typeof o=="string")return o;for(const l in o)if(o.hasOwnProperty(l)){const f=o[l],h=l.substring(0,1).toLowerCase()+l.substring(1);if(Object.prototype.toString.call(f)==="[object Array]"){i[h]=[];for(let m=0,v=f.length;m<v;m++)i[h].push(Lg(f[m]))}else f!==null&&typeof f=="object"?i[h]=Lg(f):i[h]=f}return i}const Hg=(o,i,...l)=>typeof i=="string"?o(`[humany] ${i}`,...l):o(i,...l),av=class{constructor(){this.keys=[],this.log=(o,...i)=>this.lookup(o,()=>av.log(...i)),this.warn=(o,...i)=>this.lookup(o,()=>av.warn(...i)),this.error=(o,...i)=>this.lookup(o,()=>av.error(...i)),this.info=(o,...i)=>this.lookup(o,()=>av.info(...i))}lookup(o,i){this.keys.indexOf(o)===-1&&(this.keys.push(o),i())}};let li=av;li.log=(...o)=>Hg(console.log,...o);li.warn=(...o)=>Hg(console.warn,...o);li.error=(...o)=>Hg(console.error,...o);li.info=(...o)=>Hg(console.info,...o);const bC=o=>{let i={},l,f;if(typeof o!="object"||o===null)return o;i=Array.isArray(o)?[]:{};for(f in o)l=o[f],i[f]=typeof l=="object"&&l!==null?bC(l):l;return i};function Xx(o){let i=0;if(o.length===0)return i.toString();for(let l=0;l<o.length;l++){const f=o.charCodeAt(l);i=(i<<5)-i+f,i=i&i}return i.toString()}function q7(o){return o.replace(/([a-z])([A-Z])/g,"$1-$2").replace(/\s+/g,"-").toLowerCase()}class G7{constructor(i,l){this.lockWarningTime=i,this.lockErrorTime=l,this.tasks=[],this.current=Promise.resolve(),this.next=this.next.bind(this)}add(i,l,f,h){this.tasks.push({task:i,resolve:l,reject:f,done:h}),this.next()}next(){this.current=this.current.then(()=>{const i=this.tasks.shift();if(i){let l;const f=setTimeout(()=>{process.env.NODE_ENV!=="production"&&li.warn(`A lock has exceeded ${this.lockWarningTime} ms. Waiting additional ${this.lockErrorTime} ms before rejecting the task.`,i),l=setTimeout(()=>{i.reject("lock timeout exceeded")},this.lockErrorTime)},this.lockWarningTime),h=Promise.resolve(i.task()).then(m=>(clearTimeout(f),clearTimeout(l),m));return Promise.resolve(h).then(this.next).then(()=>h.then(m=>{i.done(),i.resolve(m)})).catch(m=>(i.done(),i.reject(m),this.next()))}return Promise.resolve()})}}const cg=new WeakMap;function yv(o,i=5e3,l=1e3){return cg.has(o)||cg.set(o,new G7(i,l)),f=>new Promise((h,m)=>{const v=cg.get(o);v.add(f,h,m,()=>{v.tasks.length||cg.delete(o)})})}const Q7=(o={})=>(Object.keys(o).forEach(i=>{(o[i]===null||typeof o[i]>"u")&&delete o[i]}),o),fg=(o,i)=>{let l=!0;return Object.keys(o).length!==Object.keys(i).length||Object.keys(o).some(h=>!Object.keys(i).some(v=>h===v))?!1:(Object.keys(o).forEach(h=>{if(l){const m=typeof o[h]>"u"?"":o[h],v=typeof i[h]>"u"?"":i[h];l=m.toString()===v.toString()}}),l)},bu=()=>Math.floor((1+Math.random())*65536).toString(16).substring(1);function gv(){return bu()+bu()+"-"+bu()+"-"+bu()+"-"+bu()+"-"+bu()+bu()+bu()}class Zx{constructor(i,l){this.events=i,this.tags=[],this.children={},this.changesets=[],this.mountCount=0,this.id=gv(),this.type=l,this.attributes={context:{},properties:{},layout:{},tags:[]},this.writeLayout({size:"full",indent:0})}mount(i,l){let f=i.get("mounted-nodes");return f||(f=new Map,i.register("mounted-nodes",f)),f.has(this)?(process.env.NODE_ENV!=="production"&&li.error("Trying to mount an already mounted component node.",this),()=>{}):(this.events.dispatch("components:node-mounted",{node:this}),this.mountCount===0&&(this.mountCount=this.mountCount+1,this.events.dispatch("components:node-enter",{node:this})),()=>{f.delete(this),this.events.dispatch("components:node-unmounted",{node:this}),this.mountCount=this.mountCount-1,this.mountCount===0&&this.events.dispatch("components:node-exit",{node:this})})}appendChild(i,l="default"){if(i.parent){if(i.parent===this)return;i.parent.removeChild(i)}i.parent=this,this.children[l]||(this.children[l]=[]),this.children[l].push(i),this.events.dispatch("components:node-appended",{node:i})}prependChild(i,l="default"){if(i.parent){if(i.parent===this)return;i.parent.removeChild(i)}i.parent=this,this.children[l]||(this.children[l]=[]),this.children[l].unshift(i),this.events.dispatch("components:node-appended",{node:i})}touchProperties(i,l={},f){const m=[{properties:i},l];return this.changesets.push(m),this.events.dispatch("components:set-properties",{node:this}),()=>{if(f){const v=this.changesets.indexOf(m);v>-1&&(this.changesets.splice(v,1),this.events.dispatch("components:set-properties",{node:this}))}}}writeProperties(i,l={},f){const m=[{properties:i},l];return this.changesets.push(m),this.events.dispatch("components:set-properties",{node:this}),()=>{if(f){const v=this.changesets.indexOf(m);v>-1&&(this.changesets.splice(v,1),this.events.dispatch("components:set-properties",{node:this}))}}}writeLayout(i,l={},f){const m=[{layout:i},l];return this.changesets.push(m),this.events.dispatch("components:set-layout",{node:this}),()=>{if(!f)return;const v=this.changesets.indexOf(m);v>-1&&(this.changesets.splice(v,1),this.events.dispatch("components:set-layout",{node:this}))}}writeContext(i,l={},f){const m=[{context:i},l];return this.changesets.push(m),this.events.dispatch("components:set-context",{node:this}),()=>{if(!f)return;const v=this.changesets.indexOf(m);v>-1&&(this.changesets.splice(v,1),this.events.dispatch("components:set-context",{node:this}))}}getChildren(i="default"){const l=this.children[i]||[];return l.reduce((f,h,m)=>{const{order:v=m}=h.attributes.layout;return f[v]?f.splice(v,0,h):f[v]=h,f},Array(l.length))}remove(){this.parent&&this.parent.removeChild(this)}removeChild(i){Object.keys(this.children).forEach(l=>{const f=this.children[l],h=f.indexOf(i);h>-1&&(f.splice(h,1),this.events.dispatch("components:node-removed",{node:i,parentNode:this}))}),delete i.parent}}const gT=(o,i,l)=>{for(let f=0,h=o.length;f<h&&l(o[f])!==!0;f++){const m=i[o[f].id]||"default",v=o[f].getChildren(m);gT(v,i,l)}},wC=(o,i,l)=>{if(l(o)!==!0){const f=i[o.id]||"default",h=o.children[f];gT(h,i,l)}},RS=(o,i)=>{const l=[];return wC(o,i,f=>{l.push(f)}),l},K7=(o,i,l)=>{let f;return wC(o,i,h=>{if(l(h))return f=h,!0}),f};class X7{constructor(i,l,f){this.root=i,this.switches=l,this.all=[],this.visible=[],this.detached=[],f.subscribe("components:node-appended",(h,m)=>{this.all.push(m.node),this.visible=RS(i,l)}),f.subscribe("components:node-removed",(h,m)=>{let v=this.all.indexOf(m.node);v>-1&&this.all.splice(v,1),v=this.visible.indexOf(m.node),v>-1&&this.visible.splice(v,1),this.visible=RS(i,l)}),f.subscribe("components:node-switched",(h,m)=>{this.visible=RS(i,l)})}query(i={}){const l=[];return wC(this.root,this.switches,f=>{Object.keys(i).every(m=>i[m]===f[m])&&l.push(f)}),l}get(i){return K7(this.root,this.switches,l=>l.id===i)||this.detached.find(l=>l.id===i)}}class Z7{constructor(){this.handlers=new Map}add(i,l){this.handlers.set(i,l)}get(i){return this.handlers.get(i)}}const J7=o=>{let i=o,l=0;for(;i.parent;)l=l+1,i=i.parent;return l},e8=o=>o.map(([l,f])=>[J7(l),l,f]).sort(([l],[f])=>l-f).map(([,l,f])=>[l,f]),kS=o=>o instanceof Date?!1:o&&typeof o=="object"&&!Array.isArray(o),fl=(o,...i)=>{if(!i.length)return o;const l=i.shift();if(kS(o)&&kS(l))for(const f in l)kS(l[f])?(o[f]||Object.assign(o,{[f]:{}}),fl(o[f],l[f])):Object.assign(o,{[f]:l[f]});return fl(o,...i)},t8=(o,i)=>!o||o==="all"?!0:o.some(l=>i.indexOf(l)>-1),n8=(o,i)=>{let l=[],f=[],h;const m=()=>{process.env.NODE_ENV!=="production"&&console.time("state-processor.flush");const S=new Map,b=e8(l.map((T,k)=>[T,f[k]])),x=(T,k)=>{var ue;const L=S.get(T)||{},M=k.context&&!L.context,P=k.properties&&!L.properties,F=k.layout&&!L.layout;S.set(T,{context:L.context||M,properties:L.properties||P,layout:L.layout||F}),P&&(T.attributes.properties={}),F&&(T.attributes.layout={}),M&&(T.attributes.context=fl({},(ue=T.parent)==null?void 0:ue.attributes.context));const H=[],ce=[],ve=[];if(T.changesets.forEach(pe=>{const[W,we]=pe;t8(we.breakpoints,o.breakpoints)&&(P&&(typeof W.properties=="function"?H.push(W.properties):fl(T.attributes.properties,W.properties)),F&&(typeof W.layout=="function"?ce.push(W.layout):fl(T.attributes.layout,W.layout)),M&&(typeof W.context=="function"?ve.push(W.context):fl(T.attributes.context,W.context)))}),H.forEach(pe=>{fl(T.attributes.properties,pe(T.attributes.properties))}),ce.forEach(pe=>{fl(T.attributes.layout,pe(T.attributes.layout))}),ve.forEach(pe=>{fl(T.attributes.context,pe(T.attributes.context))}),M||k.recursive){const pe=o.getBranch(T),W=k.recursive?k:{context:!!M};T.getChildren(pe).forEach(we=>{x(we,W)})}};process.env.NODE_ENV!=="production"&&console.timeEnd("state-processor.flush"),b.forEach(([T,k])=>{x(T,k)}),l=[],f=[],i(S)},v=()=>{clearTimeout(h),h=setTimeout(m,0)};return(S,b)=>{const x=l.indexOf(S);if(x>-1){const T=f[x];return b.context&&(T.context=!0),b.properties&&(T.properties=!0),b.layout&&(T.layout=!0),b.recursive&&(T.recursive=!0),v()}return l.push(S),f.push(b),v()}};class ET{constructor(i,l={}){this.providers=l,this.breakpoints=[],this.actionsState={handlers:[],watchers:[]},this.switches={},this.changesets=[],this.subscriptions=[],this.customComponentHandler=new Z7,this.events=i.events.createChild(this);const f=new Zx(this.events,"root");f.name=`root-${i.name}`,this.nodes=new X7(f,this.switches,this.events);const h=this.processNode=n8(this,m=>{const v=Array.from(m.keys());process.env.NODE_ENV!=="production"&&console.info(`STATE PROCESSOR: ${v.length} node(s) processed:
|
|
2
|
-
${
|
|
3
|
-
`)}`),
|
|
4
|
-
Key: ${
|
|
5
|
-
Category: ${JSON.stringify(
|
|
6
|
-
Options: ${JSON.stringify(
|
|
7
|
-
Key: ${
|
|
8
|
-
Category: ${JSON.stringify(
|
|
9
|
-
Value: ${JSON.stringify(
|
|
10
|
-
Options: ${JSON.stringify(
|
|
11
|
-
Passed consent: ${JSON.stringify(
|
|
12
|
-
Passed consent: ${JSON.stringify(
|
|
13
|
-
Passed consent: ${JSON.stringify(f)}`),h.unshift(Wi.Necessary)),RC(i.container,"storagePolicy",Wi.Necessary,{medium:go.Cookie,scope:TC.Tenant,duration:{days:365}}).then(m=>m(h)).then(()=>{OC(i.container),i.events.dispatch("storage:policy-changed",h)})}})});const xT="favorites",DC=async o=>await RC(o,xT,Wi.Necessary,{medium:go.Local}),LC=async o=>await kC(o,xT,go.Local)||[],v8=async(o,i)=>{const l=await DC(i),f=await LC(i);if(f.indexOf(o)>-1)return f;const h=f.concat(o);return l(h),h},m8=async(o,i)=>{const l=await DC(i),h=(await LC(i)).filter(m=>m!==o);return l(h),h},y8=async o=>{try{return await LC(o)}catch{return[]}},g8=async o=>((await DC(o))([]),[]),DS=(o,i)=>{const{updated:l}=i,{events:f}=o.get("$widget");f.dispatch("widget:favorites-updated",{updated:l})},E8=o=>{let i=[];const l=()=>{y8(o).then(S=>{i=S})},f=()=>i,h=async S=>{const b=await v8(S,o);return i=b,DS(o,{updated:b}),b},m=async()=>{const S=await g8(o);return i=S,DS(o,{updated:S}),S},v=async S=>{const b=await m8(S,o);return i=b,DS(o,{updated:b}),b};return l(),{add:h,get:f,clear:m,remove:v}};class S8 extends xC{constructor(i,l){super(i),this.settings=l,this.handler=E8(i),i.register("favorites",this.handler)}}const e3=o=>{const i=document.createElement("a");return i.href=o,i.protocol+"//"+i.hostname+i.pathname+i.hash+i.search};class C8{constructor(i,l,f){this.url=i,this.required=l,this.type=f}getFileInfo(){let i;const f=/^([a-z][a-z0-9+\-.]*:(\/\/[^\/?#]+)?)?([a-z0-9\-._~%!$&'()*+,;=:@\/]*)/gi.exec(this.url);if(!this.type&&f&&f.length>3&&(i=f[3].split("."),i=i[i.length-1]),i==="js"||this.type==="script")return{type:"javascript",elementType:"script",sourceAttribute:"src",attributes:{src:this.url,type:"text/javascript"}};if(i==="css"||this.type==="style")return{type:"stylesheet",elementType:"link",sourceAttribute:"href",attributes:{href:this.url,rel:"stylesheet"}}}isPresent(){const i=this.getFileInfo();if(i){const f=document.getElementsByTagName("html")[0].getElementsByTagName(i.elementType);for(let h=0;h<f.length;h++)if(this.equals(f[h].getAttribute(i.sourceAttribute)||""))return!0}return!1}equals(i){return e3(this.url)===e3(i)}}const t3=(o,i,l)=>{const f=new RegExp(`([?&])${i}=.*?(&|$)`,"i"),h=o.indexOf("?")>-1?"&":"?";return o.match(f)?o.replace(f,`$1${i}:${encodeURIComponent(l)}$2`):`${o}${h}${i}=${encodeURIComponent(l)}`},TT=(...o)=>{const i=o[0],l=o[1],f=typeof o[2]>"u"?1e3:o[2],h=o[3]||function(){},m=10;for(;!l();){f<=0?h():setTimeout(()=>{TT(i,l,Math.max(f-m,0),h)},m);return}i()},n3=o=>typeof o=="function",RT=(o,i)=>{o.sheet||o.styleSheet&&o.styleSheet.cssText.length>0||o.innerHTML&&o.innerHTML.length>0?i():setTimeout(RT,10,o,i)};class b8{constructor(i){this.cacheBuster=i,this.resources=[],this.loadedResources={}}add(i,l,f,h){let m=i;if(this.cacheBuster&&(m=t3(m,"v",this.cacheBuster)),f)for(const v in f)f.hasOwnProperty(v)&&(m=t3(m,v,f[v]));this.resources.push(new C8(m,!!l,h))}load(i,l){let f=this.resources.length;if(l)(function m(v,S,b){b.insertResource(v[S],()=>{++S<v.length?m(v,S,b):n3(i)&&setTimeout(i.call(b))})})(this.resources,0,this);else for(let m=0,v=this.resources.length;m<v;m++)this.insertResource(this.resources[m],h);function h(m){--f===0&&n3(i)&&setTimeout(()=>i())}}insertResource(i,l){var h;if(i.isPresent()){this.loadedResources[i.url]===void 0?l.call(this,i):TT(()=>l.call(this,i),()=>this.loadedResources[i.url]===!0);return}this.loadedResources[i.url]=!1;const f=i.getFileInfo();if(f){const m=document.createElement(f.elementType),v=((h=window.webprovisionsEnvironmentVariables)==null?void 0:h.cspNonce)||void 0;v&&(m.nonce=v,m.setAttribute("nonce",v)),i.required&&(m.readyState?m.onreadystatechange=function(){(m.readyState==="loaded"||m.readyState==="complete")&&(this.loadedResources[i.url]=!0,m.onreadystatechange=null,l.call(this,i))}:f.type==="stylesheet"?RT(m,()=>{this.loadedResources[i.url]=!0,l.call(this,i)}):m.onload=()=>{this.loadedResources[i.url]=!0,l.call(this,i)});for(const S in f.attributes)m[S]=f.attributes[S];document.getElementsByTagName("head")[0].appendChild(m)}i.required||l.call(this,i)}}const w8=o=>{const i=document.createElement("a");return i.href=o,`//${i.hostname}/`};class x8 extends xC{constructor(i,l={}){super(i),this.widget.events.subscribeOnce("widget:attached",()=>{var m,v;const{data:{projection:f}}=this.container.get("$settings");if(f){const S=w8(f),b=new b8;b.add(`${S}ClientLibraries/Supplementary/font-awesome-4.7.0/css/font-awesome.min.css`),b.add(`${S}${(m=this.container.parent)==null?void 0:m.name}/widgets.css`),b.load()}const{initialCss:h=""}=l;if(h.length){const S=document.createElement("style"),b=((v=window.webprovisionsEnvironmentVariables)==null?void 0:v.cspNonce)||void 0;b&&(S.nonce=b,S.setAttribute("nonce",b)),S.innerHTML=h,document.head.appendChild(S)}})}}const T8=async(o,i)=>{const{denyAutoExpandContactMethods:l}=i;if(l){const f=new RegExp(l);r8(o,"contact-list",h=>{h.properties(({contactMethods:m=[]})=>{const v=m.filter(({clientName:S})=>f.test(S));if(v.length)return v.forEach(S=>{S.expanded=!1,S.inline=!1}),{contactMethods:m}})})}return[]},r3=o=>Promise.resolve().then(()=>require("./index-373df3a5.js")).then(({ServiceClient:i,ServiceProxy:l})=>o.get("settings").then(f=>{const{name:h,events:m}=o.get("$widget"),{data:{projection:v="",site:S="current",forceHttps:b=!1}}=f,x=new l(v,{credentials:"same-origin"}),T=new i(x,{funnel:h.replace("_contact-method","").replace("_contact",""),site:R8(S,b)},null,o);return m.subscribe("widget:settings-updated",(k,{data:L})=>{L&&L.projection!==v&&T.proxy.setBaseUrl(L.projection)}),T})),R8=(o,i)=>()=>{const l=h=>{const m=document.createElement("a");return m.href=h,m};let f=window.location;return o==="referrer"&&document.referrer&&(f=l(document.referrer)),[i?"https:":"","//",f.host,f.pathname].join("")};function mo(o,i){return o.hints&&o.hints.indexOf(i)>-1}function k8(o){return o.constraints&&o.constraints.verifyValue}function _8(o){return o.constraints&&o.constraints.required}function O8(o){const i=o.hints.filter(l=>l.indexOf("=")>-1&&l.split("=")[0]==="linkText")[0]||null;return i?i.split("=")[1]:null}function N8(o){const i=o.hints.filter(l=>l.indexOf("=")>-1&&l.split("=")[0]==="url")[0]||null;return i?i.split("=")[1]:null}function D8(o){const i=o.hints.filter(l=>l.indexOf("=")>-1&&l.split("=")[0]==="availableHours")[0]||null;return i?i.split("=")[1]||[]:[]}function L8(o){const i=o.hints.filter(l=>l.indexOf("=")>-1&&l.split("=")[0]==="minuteInterval")[0]||null;return i?i.split("=")[1]||[]:[]}function i3(o){return o.components?"Fieldset":mo(o,"fullname")?"Name":mo(o,"address")?"Address":mo(o,"dropdown")?"DropDownList":mo(o,"checkbox")?"CheckboxList":mo(o,"radio")?"RadioButtonList":mo(o,"email")?"Email":mo(o,"agreement")?"Agreement":mo(o,"phonenumber")?"PhoneNumber":mo(o,"date")?"Date":o.type==="text/paragraph"?"Textarea":o.type==="text/number"?"Number":o.type==="text/password"?"Password":o.type==="hidden"?"Hidden":o.type==="file"?"File":o.type==="hwebsite"?"AntiSpam":"Text"}function M8(o){if(o.hints)for(let i=0;i<o.hints.length;i++){const l=o.hints[i];if(l.substr(0,12)==="placeholder=")return l.substr(12)}}function A8(o){return o.children||o.components||o.groups?"object":"string"}class MC{constructor(i,l,f,h=f.getErrorMessage,m=f.getGeneralErrors){if(this.name=i,this.source=l,this.parent=f,this.getErrorMessage=h,this.getGeneralErrors=m,this.children=[],this.isValid=!this.getGeneralErrors(this.source)&&!this.getErrorMessage(this.source),!this.isValid){let v=this.parent;for(;v;)v.isValid=!1,v=v.parent}l.dataPath=f&&f.source?`${f.source.dataPath}.${i}`:i,this.schema={type:"object",actionKey:f?`${f.createSchema().actionKey}.${i}`:i,required:[]}}createChild(i,l){const f=new MC(i,l,this);return this.children.push(f),f}createSchema(){const i=Object.assign({},this.schema);return this.id&&(i.id=this.id),this.source&&(i.type=A8(this.source),i.title=this.source.title,i.evaluate=this.source.hasDependants,i.isValid=this.isValid,this.source.options&&(mo(this.source,"multiple")?(i.type="array",i.items={type:"string",enum:this.source.options.map(l=>l.value)}):i.enum=this.source.options.map(l=>l.value))),this.children&&this.children.length&&(i.properties={},this.children.forEach(l=>{i.properties[l.name]=l.createSchema(),_8(l.source)&&i.required.push(l.name)})),i}createLayout(){const i={};if(this.source){const f=i3(this.source)==="Fieldset";i["ui:component"]=i3(this.source),i["ui:placeholder"]=M8(this.source),i["ui:description"]=this.source.description,i["ui:tags"]=this.source.hints?this.source.hints.filter(h=>h.indexOf("=")===-1):[],i["ui:hidden"]=!this.source.visible,i["ui:error"]=this.getErrorMessage(this.source)||f&&this.getGeneralErrors(this.source),this.source.options&&(i["ui:enumNames"]=this.source.options.map(h=>h.title)),f&&this.schema.required.length&&(i["ui:hasRequiredChildren"]=!0),i["ui:component"]==="Agreement"&&(i["ui:linkText"]=O8(this.source),i["ui:link"]=N8(this.source)),i["ui:component"]==="PhoneNumber"&&(i["ui:options"]=this.source.options),i["ui:component"]==="Date"&&(i["ui:availableHours"]=D8(this.source),i["ui:minuteInterval"]=L8(this.source))}return this.children&&(i["ui:order"]=[],this.children.forEach(l=>{i["ui:order"].push(l.name),i[l.name]=l.createLayout()})),i}createData(){if(this.children.length>0){const i={};return this.children.forEach(l=>{i[l.name]=l.createData()}),i}return this.source.type==="choice"?mo(this.source,"multiple")?this.source.options.filter(i=>i.selected).map(i=>i.value):this.source.options.filter(i=>i.selected).map(i=>i.value).join(","):this.source.value}}function z8(o,i,l,f){const h=new MC(o,{title:"",groups:i.groups},null,l,f);return h.id=o,h}let $8=class{constructor(i,l,f){this.validationSource=f,this.getErrorMessage=this.getErrorMessage.bind(this),this.getGeneralErrors=this.getGeneralErrors.bind(this),this.validationSource=f,this.root=z8(i,{title:"",groups:l.groups},this.getErrorMessage,this.getGeneralErrors)}create(){return{schema:this.root.createSchema(),layout:this.root.createLayout(),data:this.root.createData()}}getGeneralErrors(i){if(this.validationSource&&this.validationSource.generalErrors&&this.validationSource.generalErrors.length>0)return this.validationSource.generalErrors[0]}getErrorMessage(i){if(this.validationSource&&i.name&&this.validationSource.errors&&this.validationSource.errors[i.name])return this.validationSource.errors[i.name]}};const U8=(o,i)=>{const l=o.hints.find(f=>f.startsWith(i+"="));if(l)return l.substr(i.length+1)};function P8(o,i,l,f){const h=Lg(i),m=l?Lg(l):void 0,v=new $8(o,h,m),S=v.root;return(h.Groups||h.groups).forEach((b,x)=>{const T=b.title||"group",k=b.name||`${T}[${x}]`,L=S.createChild(k,b),M=b.components;M&&M.forEach((P,F)=>{const H=P.name||`${P.title}[${F}]`,ce=L.createChild(H,P);if(k8(P)){const ve=U8(P,"verifyLabel")||`Confirm ${P.title}`;L.createChild(`${H}$VerifyValue`,{...P,name:`${P.name}$VerifyValue`,title:ve,value:h.extra&&h.extra[`${P.name}$VerifyValue`]||""})}P.children&&P.children.forEach((ve,ue)=>{const pe=ve.name||`${ve.title}[${ue}]`;ce.createChild(pe,ve)})})}),v.create()}const dg=(o,i)=>typeof o>"u"?i:o,j8=(o,i)=>{let l=o["ui:order"];l||(l=[],o["ui:order"]=l),l.push(i)},H8=(o,i)=>`${o.schema.id}$${i}`,F8=(o,i)=>(o.schema.properties=dg(o.schema.properties,{}),o.schema.properties[i.name]={id:i.id||H8(o,i.name),type:i.type,title:i.title,isValid:!0,required:[],evaluate:dg(i.evaluate,!1),actionKey:i.actionKey,items:i.items?{type:"string",enum:i.items.map(l=>l.value)}:void 0},i.required===!0&&o.schema.required.push(i.name),j8(o.layout,i.name),o.layout=dg(o.layout,{}),o.layout[i.name]={"ui:component":i.component,"ui:description":i.description,"ui:placeholder":i.placeholder,"ui:onClick":i.onClick||void 0,"ui:enumNames":i.items?i.items.map(l=>l.label):void 0},o.data=dg(o.data,{}),o.data[i.name]=i.type==="object"?{}:i.value,o),V8=(o,i)=>Object.assign({},{schema:o.schema.properties[i],layout:o.layout[i],data:o.data[i]}),B8=(o,i,l)=>{const f=V8(o,i),h=new xu(f);return l(h),h},kT=(o,i,l,f,h=[])=>{Object.keys(o).forEach(m=>{m===i&&h.indexOf(m)===-1&&(o[m]=l,h.push(m),f&&(o["data:options"]=o["data:options"]||{},o["data:options"][m]=f)),typeof o[m]=="object"&&kT(o[m],i,l,f,h)})},_T=(o,i,l,f)=>{o&&o["ui:component"]===i&&(o[`ui:${l}`]=f),o&&Object.keys(o).forEach(h=>{typeof o[h]=="object"&&_T(o[h],i,l,f)})},bg=(o,i,l)=>{o!==null&&typeof o=="object"&&i===null&&l(o),o!==null&&typeof o=="object"&&typeof o[i]=="object"?l(o[i]):o!==null&&typeof o=="object"&&Object.keys(o).forEach(f=>{bg(o[f],i,l)})},wg=(o,i,l)=>{o&&o.properties&&i&&typeof o.properties[i]=="object"?l(o.properties[i]):o&&o.properties&&Object.keys(o.properties).forEach(f=>{o.properties&&wg(o.properties[f],i,l)}),i===null&&l(o)};class xu{constructor(i){this.form=i}createComponent(i,l){return this.form=F8(this.form,i),l&&B8(this.form,i.name,l),new xu(this.form)}setData(i,l,f){kT(this.form.data,i,l,f)}setLayout(i,l,f){_T(this.form.layout,i,l,f)}setMeta(i){return this.form.meta=i,this.form}setValidationErrors(i){if(i){const{general:l,...f}=i;bg(this.form.layout,null,h=>h["ui:error"]=!1),wg(this.form.schema,null,h=>h.isValid=!0),this.form.schema.isValid=!1,l&&this.form.layout["group[0]"]&&(this.form.layout["group[0]"]["ui:error"]=l),Object.keys(f).forEach(h=>{bg(this.form.layout,h,m=>m["ui:error"]=f[h]),wg(this.form.schema,h,m=>m.isValid=!1)})}else bg(this.form.layout,null,l=>l["ui:error"]=!1),wg(this.form.schema,null,l=>l.isValid=!0);return new xu(this.form)}get(){return this.form}static create(i){const l={schema:{id:i,type:"object",title:"",isValid:!0,required:[]},layout:{},data:{}};return new xu(l)}static fromLegacyForm(i,l,f,h){const m=P8(i,l,f);return new xu(m)}}function mr(){return mr=Object.assign?Object.assign.bind():function(o){for(var i=1;i<arguments.length;i++){var l=arguments[i];for(var f in l)Object.prototype.hasOwnProperty.call(l,f)&&(o[f]=l[f])}return o},mr.apply(this,arguments)}var I8=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Ev(o){return o&&o.__esModule&&Object.prototype.hasOwnProperty.call(o,"default")?o.default:o}function OT(o){if(o.__esModule)return o;var i=o.default;if(typeof i=="function"){var l=function f(){if(this instanceof f){var h=[null];h.push.apply(h,arguments);var m=Function.bind.apply(i,h);return new m}return i.apply(this,arguments)};l.prototype=i.prototype}else l={};return Object.defineProperty(l,"__esModule",{value:!0}),Object.keys(o).forEach(function(f){var h=Object.getOwnPropertyDescriptor(o,f);Object.defineProperty(l,f,h.get?h:{enumerable:!0,get:function(){return o[f]}})}),l}var tC={exports:{}},Dt={};/**
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
*
|
|
19
|
-
* This source code is licensed under the MIT license found in the
|
|
20
|
-
* LICENSE file in the root directory of this source tree.
|
|
21
|
-
*/var a3;function Y8(){if(a3)return Dt;a3=1;var o=Symbol.for("react.element"),i=Symbol.for("react.portal"),l=Symbol.for("react.fragment"),f=Symbol.for("react.strict_mode"),h=Symbol.for("react.profiler"),m=Symbol.for("react.provider"),v=Symbol.for("react.context"),S=Symbol.for("react.forward_ref"),b=Symbol.for("react.suspense"),x=Symbol.for("react.memo"),T=Symbol.for("react.lazy"),k=Symbol.iterator;function L(O){return O===null||typeof O!="object"?null:(O=k&&O[k]||O["@@iterator"],typeof O=="function"?O:null)}var M={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},P=Object.assign,F={};function H(O,U,Y){this.props=O,this.context=U,this.refs=F,this.updater=Y||M}H.prototype.isReactComponent={},H.prototype.setState=function(O,U){if(typeof O!="object"&&typeof O!="function"&&O!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,O,U,"setState")},H.prototype.forceUpdate=function(O){this.updater.enqueueForceUpdate(this,O,"forceUpdate")};function ce(){}ce.prototype=H.prototype;function ve(O,U,Y){this.props=O,this.context=U,this.refs=F,this.updater=Y||M}var ue=ve.prototype=new ce;ue.constructor=ve,P(ue,H.prototype),ue.isPureReactComponent=!0;var pe=Array.isArray,W=Object.prototype.hasOwnProperty,we={current:null},se={key:!0,ref:!0,__self:!0,__source:!0};function be(O,U,Y){var ne,ie={},ke=null,Se=null;if(U!=null)for(ne in U.ref!==void 0&&(Se=U.ref),U.key!==void 0&&(ke=""+U.key),U)W.call(U,ne)&&!se.hasOwnProperty(ne)&&(ie[ne]=U[ne]);var Te=arguments.length-2;if(Te===1)ie.children=Y;else if(1<Te){for(var De=Array(Te),Ke=0;Ke<Te;Ke++)De[Ke]=arguments[Ke+2];ie.children=De}if(O&&O.defaultProps)for(ne in Te=O.defaultProps,Te)ie[ne]===void 0&&(ie[ne]=Te[ne]);return{$$typeof:o,type:O,key:ke,ref:Se,props:ie,_owner:we.current}}function Ge(O,U){return{$$typeof:o,type:O.type,key:U,ref:O.ref,props:O.props,_owner:O._owner}}function Be(O){return typeof O=="object"&&O!==null&&O.$$typeof===o}function Ue(O){var U={"=":"=0",":":"=2"};return"$"+O.replace(/[=:]/g,function(Y){return U[Y]})}var et=/\/+/g;function qe(O,U){return typeof O=="object"&&O!==null&&O.key!=null?Ue(""+O.key):U.toString(36)}function Xe(O,U,Y,ne,ie){var ke=typeof O;(ke==="undefined"||ke==="boolean")&&(O=null);var Se=!1;if(O===null)Se=!0;else switch(ke){case"string":case"number":Se=!0;break;case"object":switch(O.$$typeof){case o:case i:Se=!0}}if(Se)return Se=O,ie=ie(Se),O=ne===""?"."+qe(Se,0):ne,pe(ie)?(Y="",O!=null&&(Y=O.replace(et,"$&/")+"/"),Xe(ie,U,Y,"",function(Ke){return Ke})):ie!=null&&(Be(ie)&&(ie=Ge(ie,Y+(!ie.key||Se&&Se.key===ie.key?"":(""+ie.key).replace(et,"$&/")+"/")+O)),U.push(ie)),1;if(Se=0,ne=ne===""?".":ne+":",pe(O))for(var Te=0;Te<O.length;Te++){ke=O[Te];var De=ne+qe(ke,Te);Se+=Xe(ke,U,Y,De,ie)}else if(De=L(O),typeof De=="function")for(O=De.call(O),Te=0;!(ke=O.next()).done;)ke=ke.value,De=ne+qe(ke,Te++),Se+=Xe(ke,U,Y,De,ie);else if(ke==="object")throw U=String(O),Error("Objects are not valid as a React child (found: "+(U==="[object Object]"?"object with keys {"+Object.keys(O).join(", ")+"}":U)+"). If you meant to render a collection of children, use an array instead.");return Se}function dt(O,U,Y){if(O==null)return O;var ne=[],ie=0;return Xe(O,ne,"","",function(ke){return U.call(Y,ke,ie++)}),ne}function tt(O){if(O._status===-1){var U=O._result;U=U(),U.then(function(Y){(O._status===0||O._status===-1)&&(O._status=1,O._result=Y)},function(Y){(O._status===0||O._status===-1)&&(O._status=2,O._result=Y)}),O._status===-1&&(O._status=0,O._result=U)}if(O._status===1)return O._result.default;throw O._result}var Oe={current:null},he={transition:null},ye={ReactCurrentDispatcher:Oe,ReactCurrentBatchConfig:he,ReactCurrentOwner:we};return Dt.Children={map:dt,forEach:function(O,U,Y){dt(O,function(){U.apply(this,arguments)},Y)},count:function(O){var U=0;return dt(O,function(){U++}),U},toArray:function(O){return dt(O,function(U){return U})||[]},only:function(O){if(!Be(O))throw Error("React.Children.only expected to receive a single React element child.");return O}},Dt.Component=H,Dt.Fragment=l,Dt.Profiler=h,Dt.PureComponent=ve,Dt.StrictMode=f,Dt.Suspense=b,Dt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=ye,Dt.cloneElement=function(O,U,Y){if(O==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+O+".");var ne=P({},O.props),ie=O.key,ke=O.ref,Se=O._owner;if(U!=null){if(U.ref!==void 0&&(ke=U.ref,Se=we.current),U.key!==void 0&&(ie=""+U.key),O.type&&O.type.defaultProps)var Te=O.type.defaultProps;for(De in U)W.call(U,De)&&!se.hasOwnProperty(De)&&(ne[De]=U[De]===void 0&&Te!==void 0?Te[De]:U[De])}var De=arguments.length-2;if(De===1)ne.children=Y;else if(1<De){Te=Array(De);for(var Ke=0;Ke<De;Ke++)Te[Ke]=arguments[Ke+2];ne.children=Te}return{$$typeof:o,type:O.type,key:ie,ref:ke,props:ne,_owner:Se}},Dt.createContext=function(O){return O={$$typeof:v,_currentValue:O,_currentValue2:O,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},O.Provider={$$typeof:m,_context:O},O.Consumer=O},Dt.createElement=be,Dt.createFactory=function(O){var U=be.bind(null,O);return U.type=O,U},Dt.createRef=function(){return{current:null}},Dt.forwardRef=function(O){return{$$typeof:S,render:O}},Dt.isValidElement=Be,Dt.lazy=function(O){return{$$typeof:T,_payload:{_status:-1,_result:O},_init:tt}},Dt.memo=function(O,U){return{$$typeof:x,type:O,compare:U===void 0?null:U}},Dt.startTransition=function(O){var U=he.transition;he.transition={};try{O()}finally{he.transition=U}},Dt.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")},Dt.useCallback=function(O,U){return Oe.current.useCallback(O,U)},Dt.useContext=function(O){return Oe.current.useContext(O)},Dt.useDebugValue=function(){},Dt.useDeferredValue=function(O){return Oe.current.useDeferredValue(O)},Dt.useEffect=function(O,U){return Oe.current.useEffect(O,U)},Dt.useId=function(){return Oe.current.useId()},Dt.useImperativeHandle=function(O,U,Y){return Oe.current.useImperativeHandle(O,U,Y)},Dt.useInsertionEffect=function(O,U){return Oe.current.useInsertionEffect(O,U)},Dt.useLayoutEffect=function(O,U){return Oe.current.useLayoutEffect(O,U)},Dt.useMemo=function(O,U){return Oe.current.useMemo(O,U)},Dt.useReducer=function(O,U,Y){return Oe.current.useReducer(O,U,Y)},Dt.useRef=function(O){return Oe.current.useRef(O)},Dt.useState=function(O){return Oe.current.useState(O)},Dt.useSyncExternalStore=function(O,U,Y){return Oe.current.useSyncExternalStore(O,U,Y)},Dt.useTransition=function(){return Oe.current.useTransition()},Dt.version="18.2.0",Dt}var ov={exports:{}};/**
|
|
22
|
-
* @license React
|
|
23
|
-
* react.development.js
|
|
24
|
-
*
|
|
25
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
26
|
-
*
|
|
27
|
-
* This source code is licensed under the MIT license found in the
|
|
28
|
-
* LICENSE file in the root directory of this source tree.
|
|
29
|
-
*/ov.exports;var o3;function W8(){return o3||(o3=1,function(o,i){process.env.NODE_ENV!=="production"&&function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var l="18.2.0",f=Symbol.for("react.element"),h=Symbol.for("react.portal"),m=Symbol.for("react.fragment"),v=Symbol.for("react.strict_mode"),S=Symbol.for("react.profiler"),b=Symbol.for("react.provider"),x=Symbol.for("react.context"),T=Symbol.for("react.forward_ref"),k=Symbol.for("react.suspense"),L=Symbol.for("react.suspense_list"),M=Symbol.for("react.memo"),P=Symbol.for("react.lazy"),F=Symbol.for("react.offscreen"),H=Symbol.iterator,ce="@@iterator";function ve(R){if(R===null||typeof R!="object")return null;var $=H&&R[H]||R[ce];return typeof $=="function"?$:null}var ue={current:null},pe={transition:null},W={current:null,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1},we={current:null},se={},be=null;function Ge(R){be=R}se.setExtraStackFrame=function(R){be=R},se.getCurrentStack=null,se.getStackAddendum=function(){var R="";be&&(R+=be);var $=se.getCurrentStack;return $&&(R+=$()||""),R};var Be=!1,Ue=!1,et=!1,qe=!1,Xe=!1,dt={ReactCurrentDispatcher:ue,ReactCurrentBatchConfig:pe,ReactCurrentOwner:we};dt.ReactDebugCurrentFrame=se,dt.ReactCurrentActQueue=W;function tt(R){{for(var $=arguments.length,Z=new Array($>1?$-1:0),re=1;re<$;re++)Z[re-1]=arguments[re];he("warn",R,Z)}}function Oe(R){{for(var $=arguments.length,Z=new Array($>1?$-1:0),re=1;re<$;re++)Z[re-1]=arguments[re];he("error",R,Z)}}function he(R,$,Z){{var re=dt.ReactDebugCurrentFrame,xe=re.getStackAddendum();xe!==""&&($+="%s",Z=Z.concat([xe]));var lt=Z.map(function(ze){return String(ze)});lt.unshift("Warning: "+$),Function.prototype.apply.call(console[R],console,lt)}}var ye={};function O(R,$){{var Z=R.constructor,re=Z&&(Z.displayName||Z.name)||"ReactClass",xe=re+"."+$;if(ye[xe])return;Oe("Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.",$,re),ye[xe]=!0}}var U={isMounted:function(R){return!1},enqueueForceUpdate:function(R,$,Z){O(R,"forceUpdate")},enqueueReplaceState:function(R,$,Z,re){O(R,"replaceState")},enqueueSetState:function(R,$,Z,re){O(R,"setState")}},Y=Object.assign,ne={};Object.freeze(ne);function ie(R,$,Z){this.props=R,this.context=$,this.refs=ne,this.updater=Z||U}ie.prototype.isReactComponent={},ie.prototype.setState=function(R,$){if(typeof R!="object"&&typeof R!="function"&&R!=null)throw new Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,R,$,"setState")},ie.prototype.forceUpdate=function(R){this.updater.enqueueForceUpdate(this,R,"forceUpdate")};{var ke={isMounted:["isMounted","Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],replaceState:["replaceState","Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]},Se=function(R,$){Object.defineProperty(ie.prototype,R,{get:function(){tt("%s(...) is deprecated in plain JavaScript React classes. %s",$[0],$[1])}})};for(var Te in ke)ke.hasOwnProperty(Te)&&Se(Te,ke[Te])}function De(){}De.prototype=ie.prototype;function Ke(R,$,Z){this.props=R,this.context=$,this.refs=ne,this.updater=Z||U}var yt=Ke.prototype=new De;yt.constructor=Ke,Y(yt,ie.prototype),yt.isPureReactComponent=!0;function Bt(){var R={current:null};return Object.seal(R),R}var Ne=Array.isArray;function zt(R){return Ne(R)}function _n(R){{var $=typeof Symbol=="function"&&Symbol.toStringTag,Z=$&&R[Symbol.toStringTag]||R.constructor.name||"Object";return Z}}function nr(R){try{return jr(R),!1}catch{return!0}}function jr(R){return""+R}function Yn(R){if(nr(R))return Oe("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",_n(R)),jr(R)}function Ki(R,$,Z){var re=R.displayName;if(re)return re;var xe=$.displayName||$.name||"";return xe!==""?Z+"("+xe+")":Z}function Ua(R){return R.displayName||"Context"}function yr(R){if(R==null)return null;if(typeof R.tag=="number"&&Oe("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof R=="function")return R.displayName||R.name||null;if(typeof R=="string")return R;switch(R){case m:return"Fragment";case h:return"Portal";case S:return"Profiler";case v:return"StrictMode";case k:return"Suspense";case L:return"SuspenseList"}if(typeof R=="object")switch(R.$$typeof){case x:var $=R;return Ua($)+".Consumer";case b:var Z=R;return Ua(Z._context)+".Provider";case T:return Ki(R,R.render,"ForwardRef");case M:var re=R.displayName||null;return re!==null?re:yr(R.type)||"Memo";case P:{var xe=R,lt=xe._payload,ze=xe._init;try{return yr(ze(lt))}catch{return null}}}return null}var Hr=Object.prototype.hasOwnProperty,ma={key:!0,ref:!0,__self:!0,__source:!0},Fr,Xi,Vr;Vr={};function Zi(R){if(Hr.call(R,"ref")){var $=Object.getOwnPropertyDescriptor(R,"ref").get;if($&&$.isReactWarning)return!1}return R.ref!==void 0}function rr(R){if(Hr.call(R,"key")){var $=Object.getOwnPropertyDescriptor(R,"key").get;if($&&$.isReactWarning)return!1}return R.key!==void 0}function ui(R,$){var Z=function(){Fr||(Fr=!0,Oe("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",$))};Z.isReactWarning=!0,Object.defineProperty(R,"key",{get:Z,configurable:!0})}function gs(R,$){var Z=function(){Xi||(Xi=!0,Oe("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",$))};Z.isReactWarning=!0,Object.defineProperty(R,"ref",{get:Z,configurable:!0})}function ya(R){if(typeof R.ref=="string"&&we.current&&R.__self&&we.current.stateNode!==R.__self){var $=yr(we.current.type);Vr[$]||(Oe('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',$,R.ref),Vr[$]=!0)}}var Ae=function(R,$,Z,re,xe,lt,ze){var ot={$$typeof:f,type:R,key:$,ref:Z,props:ze,_owner:lt};return ot._store={},Object.defineProperty(ot._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(ot,"_self",{configurable:!1,enumerable:!1,writable:!1,value:re}),Object.defineProperty(ot,"_source",{configurable:!1,enumerable:!1,writable:!1,value:xe}),Object.freeze&&(Object.freeze(ot.props),Object.freeze(ot)),ot};function rt(R,$,Z){var re,xe={},lt=null,ze=null,ot=null,wt=null;if($!=null){Zi($)&&(ze=$.ref,ya($)),rr($)&&(Yn($.key),lt=""+$.key),ot=$.__self===void 0?null:$.__self,wt=$.__source===void 0?null:$.__source;for(re in $)Hr.call($,re)&&!ma.hasOwnProperty(re)&&(xe[re]=$[re])}var Mt=arguments.length-2;if(Mt===1)xe.children=Z;else if(Mt>1){for(var Jt=Array(Mt),Yt=0;Yt<Mt;Yt++)Jt[Yt]=arguments[Yt+2];Object.freeze&&Object.freeze(Jt),xe.children=Jt}if(R&&R.defaultProps){var en=R.defaultProps;for(re in en)xe[re]===void 0&&(xe[re]=en[re])}if(lt||ze){var an=typeof R=="function"?R.displayName||R.name||"Unknown":R;lt&&ui(xe,an),ze&&gs(xe,an)}return Ae(R,lt,ze,ot,wt,we.current,xe)}function Ct(R,$){var Z=Ae(R.type,$,R.ref,R._self,R._source,R._owner,R.props);return Z}function It(R,$,Z){if(R==null)throw new Error("React.cloneElement(...): The argument must be a React element, but you passed "+R+".");var re,xe=Y({},R.props),lt=R.key,ze=R.ref,ot=R._self,wt=R._source,Mt=R._owner;if($!=null){Zi($)&&(ze=$.ref,Mt=we.current),rr($)&&(Yn($.key),lt=""+$.key);var Jt;R.type&&R.type.defaultProps&&(Jt=R.type.defaultProps);for(re in $)Hr.call($,re)&&!ma.hasOwnProperty(re)&&($[re]===void 0&&Jt!==void 0?xe[re]=Jt[re]:xe[re]=$[re])}var Yt=arguments.length-2;if(Yt===1)xe.children=Z;else if(Yt>1){for(var en=Array(Yt),an=0;an<Yt;an++)en[an]=arguments[an+2];xe.children=en}return Ae(R.type,lt,ze,ot,wt,Mt,xe)}function Gt(R){return typeof R=="object"&&R!==null&&R.$$typeof===f}var Pn=".",On=":";function Br(R){var $=/[=:]/g,Z={"=":"=0",":":"=2"},re=R.replace($,function(xe){return Z[xe]});return"$"+re}var sn=!1,wi=/\/+/g;function mn(R){return R.replace(wi,"$&/")}function rn(R,$){return typeof R=="object"&&R!==null&&R.key!=null?(Yn(R.key),Br(""+R.key)):$.toString(36)}function Es(R,$,Z,re,xe){var lt=typeof R;(lt==="undefined"||lt==="boolean")&&(R=null);var ze=!1;if(R===null)ze=!0;else switch(lt){case"string":case"number":ze=!0;break;case"object":switch(R.$$typeof){case f:case h:ze=!0}}if(ze){var ot=R,wt=xe(ot),Mt=re===""?Pn+rn(ot,0):re;if(zt(wt)){var Jt="";Mt!=null&&(Jt=mn(Mt)+"/"),Es(wt,$,Jt,"",function(Kd){return Kd})}else wt!=null&&(Gt(wt)&&(wt.key&&(!ot||ot.key!==wt.key)&&Yn(wt.key),wt=Ct(wt,Z+(wt.key&&(!ot||ot.key!==wt.key)?mn(""+wt.key)+"/":"")+Mt)),$.push(wt));return 1}var Yt,en,an=0,kt=re===""?Pn:re+On;if(zt(R))for(var Fa=0;Fa<R.length;Fa++)Yt=R[Fa],en=kt+rn(Yt,Fa),an+=Es(Yt,$,Z,en,xe);else{var _l=ve(R);if(typeof _l=="function"){var Mu=R;_l===Mu.entries&&(sn||tt("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),sn=!0);for(var Qd=_l.call(Mu),ia,Au=0;!(ia=Qd.next()).done;)Yt=ia.value,en=kt+rn(Yt,Au++),an+=Es(Yt,$,Z,en,xe)}else if(lt==="object"){var zu=String(R);throw new Error("Objects are not valid as a React child (found: "+(zu==="[object Object]"?"object with keys {"+Object.keys(R).join(", ")+"}":zu)+"). If you meant to render a collection of children, use an array instead.")}}return an}function Pa(R,$,Z){if(R==null)return R;var re=[],xe=0;return Es(R,re,"","",function(lt){return $.call(Z,lt,xe++)}),re}function vl(R){var $=0;return Pa(R,function(){$++}),$}function Uc(R,$,Z){Pa(R,function(){$.apply(this,arguments)},Z)}function Pc(R){return Pa(R,function($){return $})||[]}function ml(R){if(!Gt(R))throw new Error("React.Children.only expected to receive a single React element child.");return R}function Ru(R){var $={$$typeof:x,_currentValue:R,_currentValue2:R,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null};$.Provider={$$typeof:b,_context:$};var Z=!1,re=!1,xe=!1;{var lt={$$typeof:x,_context:$};Object.defineProperties(lt,{Provider:{get:function(){return re||(re=!0,Oe("Rendering <Context.Consumer.Provider> is not supported and will be removed in a future major release. Did you mean to render <Context.Provider> instead?")),$.Provider},set:function(ze){$.Provider=ze}},_currentValue:{get:function(){return $._currentValue},set:function(ze){$._currentValue=ze}},_currentValue2:{get:function(){return $._currentValue2},set:function(ze){$._currentValue2=ze}},_threadCount:{get:function(){return $._threadCount},set:function(ze){$._threadCount=ze}},Consumer:{get:function(){return Z||(Z=!0,Oe("Rendering <Context.Consumer.Consumer> is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?")),$.Consumer}},displayName:{get:function(){return $.displayName},set:function(ze){xe||(tt("Setting `displayName` on Context.Consumer has no effect. You should set it directly on the context with Context.displayName = '%s'.",ze),xe=!0)}}}),$.Consumer=lt}return $._currentRenderer=null,$._currentRenderer2=null,$}var Ji=-1,So=0,ga=1,Co=2;function ci(R){if(R._status===Ji){var $=R._result,Z=$();if(Z.then(function(lt){if(R._status===So||R._status===Ji){var ze=R;ze._status=ga,ze._result=lt}},function(lt){if(R._status===So||R._status===Ji){var ze=R;ze._status=Co,ze._result=lt}}),R._status===Ji){var re=R;re._status=So,re._result=Z}}if(R._status===ga){var xe=R._result;return xe===void 0&&Oe(`lazy: Expected the result of a dynamic import() call. Instead received: %s
|
|
30
|
-
|
|
31
|
-
Your code should look like:
|
|
32
|
-
const MyComponent = lazy(() => import('./MyComponent'))
|
|
33
|
-
|
|
34
|
-
Did you accidentally put curly braces around the import?`,xe),"default"in xe||Oe(`lazy: Expected the result of a dynamic import() call. Instead received: %s
|
|
35
|
-
|
|
36
|
-
Your code should look like:
|
|
37
|
-
const MyComponent = lazy(() => import('./MyComponent'))`,xe),xe.default}else throw R._result}function ea(R){var $={_status:Ji,_result:R},Z={$$typeof:P,_payload:$,_init:ci};{var re,xe;Object.defineProperties(Z,{defaultProps:{configurable:!0,get:function(){return re},set:function(lt){Oe("React.lazy(...): It is not supported to assign `defaultProps` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."),re=lt,Object.defineProperty(Z,"defaultProps",{enumerable:!0})}},propTypes:{configurable:!0,get:function(){return xe},set:function(lt){Oe("React.lazy(...): It is not supported to assign `propTypes` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."),xe=lt,Object.defineProperty(Z,"propTypes",{enumerable:!0})}}})}return Z}function bo(R){R!=null&&R.$$typeof===M?Oe("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof R!="function"?Oe("forwardRef requires a render function but was given %s.",R===null?"null":typeof R):R.length!==0&&R.length!==2&&Oe("forwardRef render functions accept exactly two parameters: props and ref. %s",R.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),R!=null&&(R.defaultProps!=null||R.propTypes!=null)&&Oe("forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React component?");var $={$$typeof:T,render:R};{var Z;Object.defineProperty($,"displayName",{enumerable:!1,configurable:!0,get:function(){return Z},set:function(re){Z=re,!R.name&&!R.displayName&&(R.displayName=re)}})}return $}var wo;wo=Symbol.for("react.module.reference");function yl(R){return!!(typeof R=="string"||typeof R=="function"||R===m||R===S||Xe||R===v||R===k||R===L||qe||R===F||Be||Ue||et||typeof R=="object"&&R!==null&&(R.$$typeof===P||R.$$typeof===M||R.$$typeof===b||R.$$typeof===x||R.$$typeof===T||R.$$typeof===wo||R.getModuleId!==void 0))}function ku(R,$){yl(R)||Oe("memo: The first argument must be a component. Instead received: %s",R===null?"null":typeof R);var Z={$$typeof:M,type:R,compare:$===void 0?null:$};{var re;Object.defineProperty(Z,"displayName",{enumerable:!1,configurable:!0,get:function(){return re},set:function(xe){re=xe,!R.name&&!R.displayName&&(R.displayName=xe)}})}return Z}function bn(){var R=ue.current;return R===null&&Oe(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
|
|
38
|
-
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
39
|
-
2. You might be breaking the Rules of Hooks
|
|
40
|
-
3. You might have more than one copy of React in the same app
|
|
41
|
-
See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`),R}function xi(R){var $=bn();if(R._context!==void 0){var Z=R._context;Z.Consumer===R?Oe("Calling useContext(Context.Consumer) is not supported, may cause bugs, and will be removed in a future major release. Did you mean to call useContext(Context) instead?"):Z.Provider===R&&Oe("Calling useContext(Context.Provider) is not supported. Did you mean to call useContext(Context) instead?")}return $.useContext(R)}function Ss(R){var $=bn();return $.useState(R)}function xo(R,$,Z){var re=bn();return re.useReducer(R,$,Z)}function ir(R){var $=bn();return $.useRef(R)}function jc(R,$){var Z=bn();return Z.useEffect(R,$)}function Hc(R,$){var Z=bn();return Z.useInsertionEffect(R,$)}function _u(R,$){var Z=bn();return Z.useLayoutEffect(R,$)}function Fc(R,$){var Z=bn();return Z.useCallback(R,$)}function Yd(R,$){var Z=bn();return Z.useMemo(R,$)}function Wd(R,$,Z){var re=bn();return re.useImperativeHandle(R,$,Z)}function pn(R,$){{var Z=bn();return Z.useDebugValue(R,$)}}function qd(){var R=bn();return R.useTransition()}function ta(R){var $=bn();return $.useDeferredValue(R)}function bt(){var R=bn();return R.useId()}function Ea(R,$,Z){var re=bn();return re.useSyncExternalStore(R,$,Z)}var To=0,gl,Ro,Ir,Ou,Tr,Nu,Du;function Vc(){}Vc.__reactDisabledLog=!0;function El(){{if(To===0){gl=console.log,Ro=console.info,Ir=console.warn,Ou=console.error,Tr=console.group,Nu=console.groupCollapsed,Du=console.groupEnd;var R={configurable:!0,enumerable:!0,value:Vc,writable:!0};Object.defineProperties(console,{info:R,log:R,warn:R,error:R,group:R,groupCollapsed:R,groupEnd:R})}To++}}function ko(){{if(To--,To===0){var R={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Y({},R,{value:gl}),info:Y({},R,{value:Ro}),warn:Y({},R,{value:Ir}),error:Y({},R,{value:Ou}),group:Y({},R,{value:Tr}),groupCollapsed:Y({},R,{value:Nu}),groupEnd:Y({},R,{value:Du})})}To<0&&Oe("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var na=dt.ReactCurrentDispatcher,Rr;function _o(R,$,Z){{if(Rr===void 0)try{throw Error()}catch(xe){var re=xe.stack.trim().match(/\n( *(at )?)/);Rr=re&&re[1]||""}return`
|
|
42
|
-
`+Rr+R}}var Oo=!1,No;{var Sl=typeof WeakMap=="function"?WeakMap:Map;No=new Sl}function Cl(R,$){if(!R||Oo)return"";{var Z=No.get(R);if(Z!==void 0)return Z}var re;Oo=!0;var xe=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var lt;lt=na.current,na.current=null,El();try{if($){var ze=function(){throw Error()};if(Object.defineProperty(ze.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(ze,[])}catch(kt){re=kt}Reflect.construct(R,[],ze)}else{try{ze.call()}catch(kt){re=kt}R.call(ze.prototype)}}else{try{throw Error()}catch(kt){re=kt}R()}}catch(kt){if(kt&&re&&typeof kt.stack=="string"){for(var ot=kt.stack.split(`
|
|
43
|
-
`),wt=re.stack.split(`
|
|
44
|
-
`),Mt=ot.length-1,Jt=wt.length-1;Mt>=1&&Jt>=0&&ot[Mt]!==wt[Jt];)Jt--;for(;Mt>=1&&Jt>=0;Mt--,Jt--)if(ot[Mt]!==wt[Jt]){if(Mt!==1||Jt!==1)do if(Mt--,Jt--,Jt<0||ot[Mt]!==wt[Jt]){var Yt=`
|
|
45
|
-
`+ot[Mt].replace(" at new "," at ");return R.displayName&&Yt.includes("<anonymous>")&&(Yt=Yt.replace("<anonymous>",R.displayName)),typeof R=="function"&&No.set(R,Yt),Yt}while(Mt>=1&&Jt>=0);break}}}finally{Oo=!1,na.current=lt,ko(),Error.prepareStackTrace=xe}var en=R?R.displayName||R.name:"",an=en?_o(en):"";return typeof R=="function"&&No.set(R,an),an}function ja(R,$,Z){return Cl(R,!1)}function Gd(R){var $=R.prototype;return!!($&&$.isReactComponent)}function Sa(R,$,Z){if(R==null)return"";if(typeof R=="function")return Cl(R,Gd(R));if(typeof R=="string")return _o(R);switch(R){case k:return _o("Suspense");case L:return _o("SuspenseList")}if(typeof R=="object")switch(R.$$typeof){case T:return ja(R.render);case M:return Sa(R.type,$,Z);case P:{var re=R,xe=re._payload,lt=re._init;try{return Sa(lt(xe),$,Z)}catch{}}}return""}var $t={},bl=dt.ReactDebugCurrentFrame;function Cs(R){if(R){var $=R._owner,Z=Sa(R.type,R._source,$?$.type:null);bl.setExtraStackFrame(Z)}else bl.setExtraStackFrame(null)}function wl(R,$,Z,re,xe){{var lt=Function.call.bind(Hr);for(var ze in R)if(lt(R,ze)){var ot=void 0;try{if(typeof R[ze]!="function"){var wt=Error((re||"React class")+": "+Z+" type `"+ze+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof R[ze]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw wt.name="Invariant Violation",wt}ot=R[ze]($,ze,re,Z,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(Mt){ot=Mt}ot&&!(ot instanceof Error)&&(Cs(xe),Oe("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",re||"React class",Z,ze,typeof ot),Cs(null)),ot instanceof Error&&!(ot.message in $t)&&($t[ot.message]=!0,Cs(xe),Oe("Failed %s type: %s",Z,ot.message),Cs(null))}}}function Lt(R){if(R){var $=R._owner,Z=Sa(R.type,R._source,$?$.type:null);Ge(Z)}else Ge(null)}var xl;xl=!1;function Tl(){if(we.current){var R=yr(we.current.type);if(R)return`
|
|
46
|
-
|
|
47
|
-
Check the render method of \``+R+"`."}return""}function vt(R){if(R!==void 0){var $=R.fileName.replace(/^.*[\\\/]/,""),Z=R.lineNumber;return`
|
|
48
|
-
|
|
49
|
-
Check your code at `+$+":"+Z+"."}return""}function bs(R){return R!=null?vt(R.__source):""}var yn={};function Yr(R){var $=Tl();if(!$){var Z=typeof R=="string"?R:R.displayName||R.name;Z&&($=`
|
|
50
|
-
|
|
51
|
-
Check the top-level render call using <`+Z+">.")}return $}function kr(R,$){if(!(!R._store||R._store.validated||R.key!=null)){R._store.validated=!0;var Z=Yr($);if(!yn[Z]){yn[Z]=!0;var re="";R&&R._owner&&R._owner!==we.current&&(re=" It was passed a child from "+yr(R._owner.type)+"."),Lt(R),Oe('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',Z,re),Lt(null)}}}function Do(R,$){if(typeof R=="object"){if(zt(R))for(var Z=0;Z<R.length;Z++){var re=R[Z];Gt(re)&&kr(re,$)}else if(Gt(R))R._store&&(R._store.validated=!0);else if(R){var xe=ve(R);if(typeof xe=="function"&&xe!==R.entries)for(var lt=xe.call(R),ze;!(ze=lt.next()).done;)Gt(ze.value)&&kr(ze.value,$)}}}function wn(R){{var $=R.type;if($==null||typeof $=="string")return;var Z;if(typeof $=="function")Z=$.propTypes;else if(typeof $=="object"&&($.$$typeof===T||$.$$typeof===M))Z=$.propTypes;else return;if(Z){var re=yr($);wl(Z,R.props,"prop",re,R)}else if($.PropTypes!==void 0&&!xl){xl=!0;var xe=yr($);Oe("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",xe||"Unknown")}typeof $.getDefaultProps=="function"&&!$.getDefaultProps.isReactClassApproved&&Oe("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Ht(R){{for(var $=Object.keys(R.props),Z=0;Z<$.length;Z++){var re=$[Z];if(re!=="children"&&re!=="key"){Lt(R),Oe("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",re),Lt(null);break}}R.ref!==null&&(Lt(R),Oe("Invalid attribute `ref` supplied to `React.Fragment`."),Lt(null))}}function Bc(R,$,Z){var re=yl(R);if(!re){var xe="";(R===void 0||typeof R=="object"&&R!==null&&Object.keys(R).length===0)&&(xe+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var lt=bs($);lt?xe+=lt:xe+=Tl();var ze;R===null?ze="null":zt(R)?ze="array":R!==void 0&&R.$$typeof===f?(ze="<"+(yr(R.type)||"Unknown")+" />",xe=" Did you accidentally export a JSX literal instead of a component?"):ze=typeof R,Oe("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",ze,xe)}var ot=rt.apply(this,arguments);if(ot==null)return ot;if(re)for(var wt=2;wt<arguments.length;wt++)Do(arguments[wt],R);return R===m?Ht(ot):wn(ot),ot}var Wr=!1;function Wn(R){var $=Bc.bind(null,R);return $.type=R,Wr||(Wr=!0,tt("React.createFactory() is deprecated and will be removed in a future major release. Consider using JSX or use React.createElement() directly instead.")),Object.defineProperty($,"type",{enumerable:!1,get:function(){return tt("Factory.type is deprecated. Access the class directly before passing it to createFactory."),Object.defineProperty(this,"type",{value:R}),R}}),$}function Ca(R,$,Z){for(var re=It.apply(this,arguments),xe=2;xe<arguments.length;xe++)Do(arguments[xe],re.type);return wn(re),re}function Ic(R,$){var Z=pe.transition;pe.transition={};var re=pe.transition;pe.transition._updatedFibers=new Set;try{R()}finally{if(pe.transition=Z,Z===null&&re._updatedFibers){var xe=re._updatedFibers.size;xe>10&&tt("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."),re._updatedFibers.clear()}}}var Ha=!1,Lo=null;function Yc(R){if(Lo===null)try{var $=("require"+Math.random()).slice(0,7),Z=o&&o[$];Lo=Z.call(o,"timers").setImmediate}catch{Lo=function(xe){Ha===!1&&(Ha=!0,typeof MessageChannel>"u"&&Oe("This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning."));var lt=new MessageChannel;lt.port1.onmessage=xe,lt.port2.postMessage(void 0)}}return Lo(R)}var Ti=0,Mo=!1;function Ao(R){{var $=Ti;Ti++,W.current===null&&(W.current=[]);var Z=W.isBatchingLegacy,re;try{if(W.isBatchingLegacy=!0,re=R(),!Z&&W.didScheduleLegacyUpdate){var xe=W.current;xe!==null&&(W.didScheduleLegacyUpdate=!1,$o(xe))}}catch(en){throw Ri($),en}finally{W.isBatchingLegacy=Z}if(re!==null&&typeof re=="object"&&typeof re.then=="function"){var lt=re,ze=!1,ot={then:function(en,an){ze=!0,lt.then(function(kt){Ri($),Ti===0?Rl(kt,en,an):en(kt)},function(kt){Ri($),an(kt)})}};return!Mo&&typeof Promise<"u"&&Promise.resolve().then(function(){}).then(function(){ze||(Mo=!0,Oe("You called act(async () => ...) without await. This could lead to unexpected testing behaviour, interleaving multiple act calls and mixing their scopes. You should - await act(async () => ...);"))}),ot}else{var wt=re;if(Ri($),Ti===0){var Mt=W.current;Mt!==null&&($o(Mt),W.current=null);var Jt={then:function(en,an){W.current===null?(W.current=[],Rl(wt,en,an)):en(wt)}};return Jt}else{var Yt={then:function(en,an){en(wt)}};return Yt}}}}function Ri(R){R!==Ti-1&&Oe("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "),Ti=R}function Rl(R,$,Z){{var re=W.current;if(re!==null)try{$o(re),Yc(function(){re.length===0?(W.current=null,$(R)):Rl(R,$,Z)})}catch(xe){Z(xe)}else $(R)}}var zo=!1;function $o(R){if(!zo){zo=!0;var $=0;try{for(;$<R.length;$++){var Z=R[$];do Z=Z(!0);while(Z!==null)}R.length=0}catch(re){throw R=R.slice($+1),re}finally{zo=!1}}}var ws=Bc,kl=Ca,Lu=Wn,ra={map:Pa,forEach:Uc,count:vl,toArray:Pc,only:ml};i.Children=ra,i.Component=ie,i.Fragment=m,i.Profiler=S,i.PureComponent=Ke,i.StrictMode=v,i.Suspense=k,i.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=dt,i.cloneElement=kl,i.createContext=Ru,i.createElement=ws,i.createFactory=Lu,i.createRef=Bt,i.forwardRef=bo,i.isValidElement=Gt,i.lazy=ea,i.memo=ku,i.startTransition=Ic,i.unstable_act=Ao,i.useCallback=Fc,i.useContext=xi,i.useDebugValue=pn,i.useDeferredValue=ta,i.useEffect=jc,i.useId=bt,i.useImperativeHandle=Wd,i.useInsertionEffect=Hc,i.useLayoutEffect=_u,i.useMemo=Yd,i.useReducer=xo,i.useRef=ir,i.useState=Ss,i.useSyncExternalStore=Ea,i.useTransition=qd,i.version=l,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()}(ov,ov.exports)),ov.exports}process.env.NODE_ENV==="production"?tC.exports=Y8():tC.exports=W8();var te=tC.exports;const z=Ev(te),s3=d7({__proto__:null,default:z},[te]);function NT(o){var i=Object.create(null);return function(l){return i[l]===void 0&&(i[l]=o(l)),i[l]}}var q8=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,G8=NT(function(o){return q8.test(o)||o.charCodeAt(0)===111&&o.charCodeAt(1)===110&&o.charCodeAt(2)<91});function Q8(o){if(o.sheet)return o.sheet;for(var i=0;i<document.styleSheets.length;i++)if(document.styleSheets[i].ownerNode===o)return document.styleSheets[i]}function K8(o){var i=document.createElement("style");return i.setAttribute("data-emotion",o.key),o.nonce!==void 0&&i.setAttribute("nonce",o.nonce),i.appendChild(document.createTextNode("")),i.setAttribute("data-s",""),i}var X8=function(){function o(l){var f=this;this._insertTag=function(h){var m;f.tags.length===0?f.insertionPoint?m=f.insertionPoint.nextSibling:f.prepend?m=f.container.firstChild:m=f.before:m=f.tags[f.tags.length-1].nextSibling,f.container.insertBefore(h,m),f.tags.push(h)},this.isSpeedy=l.speedy===void 0?process.env.NODE_ENV==="production":l.speedy,this.tags=[],this.ctr=0,this.nonce=l.nonce,this.key=l.key,this.container=l.container,this.prepend=l.prepend,this.insertionPoint=l.insertionPoint,this.before=null}var i=o.prototype;return i.hydrate=function(f){f.forEach(this._insertTag)},i.insert=function(f){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(K8(this));var h=this.tags[this.tags.length-1];if(process.env.NODE_ENV!=="production"){var m=f.charCodeAt(0)===64&&f.charCodeAt(1)===105;m&&this._alreadyInsertedOrderInsensitiveRule&&console.error(`You're attempting to insert the following rule:
|
|
52
|
-
`+f+"\n\n`@import` rules must be before all other types of rules in a stylesheet but other rules have already been inserted. Please ensure that `@import` rules are before all other rules."),this._alreadyInsertedOrderInsensitiveRule=this._alreadyInsertedOrderInsensitiveRule||!m}if(this.isSpeedy){var v=Q8(h);try{v.insertRule(f,v.cssRules.length)}catch(S){process.env.NODE_ENV!=="production"&&!/:(-moz-placeholder|-moz-focus-inner|-moz-focusring|-ms-input-placeholder|-moz-read-write|-moz-read-only|-ms-clear|-ms-expand|-ms-reveal){/.test(f)&&console.error('There was a problem inserting the following rule: "'+f+'"',S)}}else h.appendChild(document.createTextNode(f));this.ctr++},i.flush=function(){this.tags.forEach(function(f){return f.parentNode&&f.parentNode.removeChild(f)}),this.tags=[],this.ctr=0,process.env.NODE_ENV!=="production"&&(this._alreadyInsertedOrderInsensitiveRule=!1)},o}(),si="-ms-",Ag="-moz-",Wt="-webkit-",AC="comm",zC="rule",$C="decl",Z8="@import",DT="@keyframes",J8="@layer",e_=Math.abs,Vg=String.fromCharCode,t_=Object.assign;function n_(o,i){return Pr(o,0)^45?(((i<<2^Pr(o,0))<<2^Pr(o,1))<<2^Pr(o,2))<<2^Pr(o,3):0}function LT(o){return o.trim()}function r_(o,i){return(o=i.exec(o))?o[0]:o}function qt(o,i,l){return o.replace(i,l)}function nC(o,i){return o.indexOf(i)}function Pr(o,i){return o.charCodeAt(i)|0}function hv(o,i,l){return o.slice(i,l)}function vs(o){return o.length}function UC(o){return o.length}function pg(o,i){return i.push(o),o}function i_(o,i){return o.map(i).join("")}var Bg=1,zd=1,MT=0,Gi=0,tr=0,Fd="";function Ig(o,i,l,f,h,m,v){return{value:o,root:i,parent:l,type:f,props:h,children:m,line:Bg,column:zd,length:v,return:""}}function rv(o,i){return t_(Ig("",null,null,"",null,null,0),o,{length:-o.length},i)}function a_(){return tr}function o_(){return tr=Gi>0?Pr(Fd,--Gi):0,zd--,tr===10&&(zd=1,Bg--),tr}function va(){return tr=Gi<MT?Pr(Fd,Gi++):0,zd++,tr===10&&(zd=1,Bg++),tr}function ms(){return Pr(Fd,Gi)}function xg(){return Gi}function Sv(o,i){return hv(Fd,o,i)}function vv(o){switch(o){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function AT(o){return Bg=zd=1,MT=vs(Fd=o),Gi=0,[]}function zT(o){return Fd="",o}function Tg(o){return LT(Sv(Gi-1,rC(o===91?o+2:o===40?o+1:o)))}function s_(o){for(;(tr=ms())&&tr<33;)va();return vv(o)>2||vv(tr)>3?"":" "}function l_(o,i){for(;--i&&va()&&!(tr<48||tr>102||tr>57&&tr<65||tr>70&&tr<97););return Sv(o,xg()+(i<6&&ms()==32&&va()==32))}function rC(o){for(;va();)switch(tr){case o:return Gi;case 34:case 39:o!==34&&o!==39&&rC(tr);break;case 40:o===41&&rC(o);break;case 92:va();break}return Gi}function u_(o,i){for(;va()&&o+tr!==47+10;)if(o+tr===42+42&&ms()===47)break;return"/*"+Sv(i,Gi-1)+"*"+Vg(o===47?o:va())}function c_(o){for(;!vv(ms());)va();return Sv(o,Gi)}function f_(o){return zT(Rg("",null,null,null,[""],o=AT(o),0,[0],o))}function Rg(o,i,l,f,h,m,v,S,b){for(var x=0,T=0,k=v,L=0,M=0,P=0,F=1,H=1,ce=1,ve=0,ue="",pe=h,W=m,we=f,se=ue;H;)switch(P=ve,ve=va()){case 40:if(P!=108&&Pr(se,k-1)==58){nC(se+=qt(Tg(ve),"&","&\f"),"&\f")!=-1&&(ce=-1);break}case 34:case 39:case 91:se+=Tg(ve);break;case 9:case 10:case 13:case 32:se+=s_(P);break;case 92:se+=l_(xg()-1,7);continue;case 47:switch(ms()){case 42:case 47:pg(d_(u_(va(),xg()),i,l),b);break;default:se+="/"}break;case 123*F:S[x++]=vs(se)*ce;case 125*F:case 59:case 0:switch(ve){case 0:case 125:H=0;case 59+T:ce==-1&&(se=qt(se,/\f/g,"")),M>0&&vs(se)-k&&pg(M>32?u3(se+";",f,l,k-1):u3(qt(se," ","")+";",f,l,k-2),b);break;case 59:se+=";";default:if(pg(we=l3(se,i,l,x,T,h,S,ue,pe=[],W=[],k),m),ve===123)if(T===0)Rg(se,i,we,we,pe,m,k,S,W);else switch(L===99&&Pr(se,3)===110?100:L){case 100:case 108:case 109:case 115:Rg(o,we,we,f&&pg(l3(o,we,we,0,0,h,S,ue,h,pe=[],k),W),h,W,k,S,f?pe:W);break;default:Rg(se,we,we,we,[""],W,0,S,W)}}x=T=M=0,F=ce=1,ue=se="",k=v;break;case 58:k=1+vs(se),M=P;default:if(F<1){if(ve==123)--F;else if(ve==125&&F++==0&&o_()==125)continue}switch(se+=Vg(ve),ve*F){case 38:ce=T>0?1:(se+="\f",-1);break;case 44:S[x++]=(vs(se)-1)*ce,ce=1;break;case 64:ms()===45&&(se+=Tg(va())),L=ms(),T=k=vs(ue=se+=c_(xg())),ve++;break;case 45:P===45&&vs(se)==2&&(F=0)}}return m}function l3(o,i,l,f,h,m,v,S,b,x,T){for(var k=h-1,L=h===0?m:[""],M=UC(L),P=0,F=0,H=0;P<f;++P)for(var ce=0,ve=hv(o,k+1,k=e_(F=v[P])),ue=o;ce<M;++ce)(ue=LT(F>0?L[ce]+" "+ve:qt(ve,/&\f/g,L[ce])))&&(b[H++]=ue);return Ig(o,i,l,h===0?zC:S,b,x,T)}function d_(o,i,l){return Ig(o,i,l,AC,Vg(a_()),hv(o,2,-2),0)}function u3(o,i,l,f){return Ig(o,i,l,$C,hv(o,0,f),hv(o,f+1,-1),f)}function Md(o,i){for(var l="",f=UC(o),h=0;h<f;h++)l+=i(o[h],h,o,i)||"";return l}function p_(o,i,l,f){switch(o.type){case J8:if(o.children.length)break;case Z8:case $C:return o.return=o.return||o.value;case AC:return"";case DT:return o.return=o.value+"{"+Md(o.children,f)+"}";case zC:o.value=o.props.join(",")}return vs(l=Md(o.children,f))?o.return=o.value+"{"+l+"}":""}function h_(o){var i=UC(o);return function(l,f,h,m){for(var v="",S=0;S<i;S++)v+=o[S](l,f,h,m)||"";return v}}function v_(o){return function(i){i.root||(i=i.return)&&o(i)}}var m_=function(i,l,f){for(var h=0,m=0;h=m,m=ms(),h===38&&m===12&&(l[f]=1),!vv(m);)va();return Sv(i,Gi)},y_=function(i,l){var f=-1,h=44;do switch(vv(h)){case 0:h===38&&ms()===12&&(l[f]=1),i[f]+=m_(Gi-1,l,f);break;case 2:i[f]+=Tg(h);break;case 4:if(h===44){i[++f]=ms()===58?"&\f":"",l[f]=i[f].length;break}default:i[f]+=Vg(h)}while(h=va());return i},g_=function(i,l){return zT(y_(AT(i),l))},c3=new WeakMap,E_=function(i){if(!(i.type!=="rule"||!i.parent||i.length<1)){for(var l=i.value,f=i.parent,h=i.column===f.column&&i.line===f.line;f.type!=="rule";)if(f=f.parent,!f)return;if(!(i.props.length===1&&l.charCodeAt(0)!==58&&!c3.get(f))&&!h){c3.set(i,!0);for(var m=[],v=g_(l,m),S=f.props,b=0,x=0;b<v.length;b++)for(var T=0;T<S.length;T++,x++)i.props[x]=m[b]?v[b].replace(/&\f/g,S[T]):S[T]+" "+v[b]}}},S_=function(i){if(i.type==="decl"){var l=i.value;l.charCodeAt(0)===108&&l.charCodeAt(2)===98&&(i.return="",i.value="")}},C_="emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason",b_=function(i){return i.type==="comm"&&i.children.indexOf(C_)>-1},w_=function(i){return function(l,f,h){if(!(l.type!=="rule"||i.compat)){var m=l.value.match(/(:first|:nth|:nth-last)-child/g);if(m){for(var v=!!l.parent,S=v?l.parent.children:h,b=S.length-1;b>=0;b--){var x=S[b];if(x.line<l.line)break;if(x.column<l.column){if(b_(x))return;break}}m.forEach(function(T){console.error('The pseudo class "'+T+'" is potentially unsafe when doing server-side rendering. Try changing it to "'+T.split("-child")[0]+'-of-type".')})}}}},$T=function(i){return i.type.charCodeAt(1)===105&&i.type.charCodeAt(0)===64},x_=function(i,l){for(var f=i-1;f>=0;f--)if(!$T(l[f]))return!0;return!1},f3=function(i){i.type="",i.value="",i.return="",i.children="",i.props=""},T_=function(i,l,f){$T(i)&&(i.parent?(console.error("`@import` rules can't be nested inside other rules. Please move it to the top level and put it before regular rules. Keep in mind that they can only be used within global styles."),f3(i)):x_(l,f)&&(console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules."),f3(i)))};function UT(o,i){switch(n_(o,i)){case 5103:return Wt+"print-"+o+o;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return Wt+o+o;case 5349:case 4246:case 4810:case 6968:case 2756:return Wt+o+Ag+o+si+o+o;case 6828:case 4268:return Wt+o+si+o+o;case 6165:return Wt+o+si+"flex-"+o+o;case 5187:return Wt+o+qt(o,/(\w+).+(:[^]+)/,Wt+"box-$1$2"+si+"flex-$1$2")+o;case 5443:return Wt+o+si+"flex-item-"+qt(o,/flex-|-self/,"")+o;case 4675:return Wt+o+si+"flex-line-pack"+qt(o,/align-content|flex-|-self/,"")+o;case 5548:return Wt+o+si+qt(o,"shrink","negative")+o;case 5292:return Wt+o+si+qt(o,"basis","preferred-size")+o;case 6060:return Wt+"box-"+qt(o,"-grow","")+Wt+o+si+qt(o,"grow","positive")+o;case 4554:return Wt+qt(o,/([^-])(transform)/g,"$1"+Wt+"$2")+o;case 6187:return qt(qt(qt(o,/(zoom-|grab)/,Wt+"$1"),/(image-set)/,Wt+"$1"),o,"")+o;case 5495:case 3959:return qt(o,/(image-set\([^]*)/,Wt+"$1$`$1");case 4968:return qt(qt(o,/(.+:)(flex-)?(.*)/,Wt+"box-pack:$3"+si+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Wt+o+o;case 4095:case 3583:case 4068:case 2532:return qt(o,/(.+)-inline(.+)/,Wt+"$1$2")+o;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(vs(o)-1-i>6)switch(Pr(o,i+1)){case 109:if(Pr(o,i+4)!==45)break;case 102:return qt(o,/(.+:)(.+)-([^]+)/,"$1"+Wt+"$2-$3$1"+Ag+(Pr(o,i+3)==108?"$3":"$2-$3"))+o;case 115:return~nC(o,"stretch")?UT(qt(o,"stretch","fill-available"),i)+o:o}break;case 4949:if(Pr(o,i+1)!==115)break;case 6444:switch(Pr(o,vs(o)-3-(~nC(o,"!important")&&10))){case 107:return qt(o,":",":"+Wt)+o;case 101:return qt(o,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Wt+(Pr(o,14)===45?"inline-":"")+"box$3$1"+Wt+"$2$3$1"+si+"$2box$3")+o}break;case 5936:switch(Pr(o,i+11)){case 114:return Wt+o+si+qt(o,/[svh]\w+-[tblr]{2}/,"tb")+o;case 108:return Wt+o+si+qt(o,/[svh]\w+-[tblr]{2}/,"tb-rl")+o;case 45:return Wt+o+si+qt(o,/[svh]\w+-[tblr]{2}/,"lr")+o}return Wt+o+si+o+o}return o}var R_=function(i,l,f,h){if(i.length>-1&&!i.return)switch(i.type){case $C:i.return=UT(i.value,i.length);break;case DT:return Md([rv(i,{value:qt(i.value,"@","@"+Wt)})],h);case zC:if(i.length)return i_(i.props,function(m){switch(r_(m,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Md([rv(i,{props:[qt(m,/:(read-\w+)/,":"+Ag+"$1")]})],h);case"::placeholder":return Md([rv(i,{props:[qt(m,/:(plac\w+)/,":"+Wt+"input-$1")]}),rv(i,{props:[qt(m,/:(plac\w+)/,":"+Ag+"$1")]}),rv(i,{props:[qt(m,/:(plac\w+)/,si+"input-$1")]})],h)}return""})}},k_=[R_],__=function(i){var l=i.key;if(process.env.NODE_ENV!=="production"&&!l)throw new Error(`You have to configure \`key\` for your cache. Please make sure it's unique (and not equal to 'css') as it's used for linking styles to your cache.
|
|
53
|
-
If multiple caches share the same key they might "fight" for each other's style elements.`);if(l==="css"){var f=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(f,function(F){var H=F.getAttribute("data-emotion");H.indexOf(" ")!==-1&&(document.head.appendChild(F),F.setAttribute("data-s",""))})}var h=i.stylisPlugins||k_;if(process.env.NODE_ENV!=="production"&&/[^a-z-]/.test(l))throw new Error('Emotion key must only contain lower case alphabetical characters and - but "'+l+'" was passed');var m={},v,S=[];v=i.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+l+' "]'),function(F){for(var H=F.getAttribute("data-emotion").split(" "),ce=1;ce<H.length;ce++)m[H[ce]]=!0;S.push(F)});var b,x=[E_,S_];process.env.NODE_ENV!=="production"&&x.push(w_({get compat(){return P.compat}}),T_);{var T,k=[p_,process.env.NODE_ENV!=="production"?function(F){F.root||(F.return?T.insert(F.return):F.value&&F.type!==AC&&T.insert(F.value+"{}"))}:v_(function(F){T.insert(F)})],L=h_(x.concat(h,k)),M=function(H){return Md(f_(H),L)};b=function(H,ce,ve,ue){T=ve,process.env.NODE_ENV!=="production"&&ce.map!==void 0&&(T={insert:function(W){ve.insert(W+ce.map)}}),M(H?H+"{"+ce.styles+"}":ce.styles),ue&&(P.inserted[ce.name]=!0)}}var P={key:l,sheet:new X8({key:l,container:v,nonce:i.nonce,speedy:i.speedy,prepend:i.prepend,insertionPoint:i.insertionPoint}),nonce:i.nonce,inserted:m,registered:{},insert:b};return P.sheet.hydrate(S),P},iC={exports:{}},Xt={};/** @license React v16.13.1
|
|
54
|
-
* react-is.production.min.js
|
|
55
|
-
*
|
|
56
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
57
|
-
*
|
|
58
|
-
* This source code is licensed under the MIT license found in the
|
|
59
|
-
* LICENSE file in the root directory of this source tree.
|
|
60
|
-
*/var d3;function O_(){if(d3)return Xt;d3=1;var o=typeof Symbol=="function"&&Symbol.for,i=o?Symbol.for("react.element"):60103,l=o?Symbol.for("react.portal"):60106,f=o?Symbol.for("react.fragment"):60107,h=o?Symbol.for("react.strict_mode"):60108,m=o?Symbol.for("react.profiler"):60114,v=o?Symbol.for("react.provider"):60109,S=o?Symbol.for("react.context"):60110,b=o?Symbol.for("react.async_mode"):60111,x=o?Symbol.for("react.concurrent_mode"):60111,T=o?Symbol.for("react.forward_ref"):60112,k=o?Symbol.for("react.suspense"):60113,L=o?Symbol.for("react.suspense_list"):60120,M=o?Symbol.for("react.memo"):60115,P=o?Symbol.for("react.lazy"):60116,F=o?Symbol.for("react.block"):60121,H=o?Symbol.for("react.fundamental"):60117,ce=o?Symbol.for("react.responder"):60118,ve=o?Symbol.for("react.scope"):60119;function ue(W){if(typeof W=="object"&&W!==null){var we=W.$$typeof;switch(we){case i:switch(W=W.type,W){case b:case x:case f:case m:case h:case k:return W;default:switch(W=W&&W.$$typeof,W){case S:case T:case P:case M:case v:return W;default:return we}}case l:return we}}}function pe(W){return ue(W)===x}return Xt.AsyncMode=b,Xt.ConcurrentMode=x,Xt.ContextConsumer=S,Xt.ContextProvider=v,Xt.Element=i,Xt.ForwardRef=T,Xt.Fragment=f,Xt.Lazy=P,Xt.Memo=M,Xt.Portal=l,Xt.Profiler=m,Xt.StrictMode=h,Xt.Suspense=k,Xt.isAsyncMode=function(W){return pe(W)||ue(W)===b},Xt.isConcurrentMode=pe,Xt.isContextConsumer=function(W){return ue(W)===S},Xt.isContextProvider=function(W){return ue(W)===v},Xt.isElement=function(W){return typeof W=="object"&&W!==null&&W.$$typeof===i},Xt.isForwardRef=function(W){return ue(W)===T},Xt.isFragment=function(W){return ue(W)===f},Xt.isLazy=function(W){return ue(W)===P},Xt.isMemo=function(W){return ue(W)===M},Xt.isPortal=function(W){return ue(W)===l},Xt.isProfiler=function(W){return ue(W)===m},Xt.isStrictMode=function(W){return ue(W)===h},Xt.isSuspense=function(W){return ue(W)===k},Xt.isValidElementType=function(W){return typeof W=="string"||typeof W=="function"||W===f||W===x||W===m||W===h||W===k||W===L||typeof W=="object"&&W!==null&&(W.$$typeof===P||W.$$typeof===M||W.$$typeof===v||W.$$typeof===S||W.$$typeof===T||W.$$typeof===H||W.$$typeof===ce||W.$$typeof===ve||W.$$typeof===F)},Xt.typeOf=ue,Xt}var Zt={};/** @license React v16.13.1
|
|
61
|
-
* react-is.development.js
|
|
62
|
-
*
|
|
63
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
64
|
-
*
|
|
65
|
-
* This source code is licensed under the MIT license found in the
|
|
66
|
-
* LICENSE file in the root directory of this source tree.
|
|
67
|
-
*/var p3;function N_(){return p3||(p3=1,process.env.NODE_ENV!=="production"&&function(){var o=typeof Symbol=="function"&&Symbol.for,i=o?Symbol.for("react.element"):60103,l=o?Symbol.for("react.portal"):60106,f=o?Symbol.for("react.fragment"):60107,h=o?Symbol.for("react.strict_mode"):60108,m=o?Symbol.for("react.profiler"):60114,v=o?Symbol.for("react.provider"):60109,S=o?Symbol.for("react.context"):60110,b=o?Symbol.for("react.async_mode"):60111,x=o?Symbol.for("react.concurrent_mode"):60111,T=o?Symbol.for("react.forward_ref"):60112,k=o?Symbol.for("react.suspense"):60113,L=o?Symbol.for("react.suspense_list"):60120,M=o?Symbol.for("react.memo"):60115,P=o?Symbol.for("react.lazy"):60116,F=o?Symbol.for("react.block"):60121,H=o?Symbol.for("react.fundamental"):60117,ce=o?Symbol.for("react.responder"):60118,ve=o?Symbol.for("react.scope"):60119;function ue(Ne){return typeof Ne=="string"||typeof Ne=="function"||Ne===f||Ne===x||Ne===m||Ne===h||Ne===k||Ne===L||typeof Ne=="object"&&Ne!==null&&(Ne.$$typeof===P||Ne.$$typeof===M||Ne.$$typeof===v||Ne.$$typeof===S||Ne.$$typeof===T||Ne.$$typeof===H||Ne.$$typeof===ce||Ne.$$typeof===ve||Ne.$$typeof===F)}function pe(Ne){if(typeof Ne=="object"&&Ne!==null){var zt=Ne.$$typeof;switch(zt){case i:var _n=Ne.type;switch(_n){case b:case x:case f:case m:case h:case k:return _n;default:var nr=_n&&_n.$$typeof;switch(nr){case S:case T:case P:case M:case v:return nr;default:return zt}}case l:return zt}}}var W=b,we=x,se=S,be=v,Ge=i,Be=T,Ue=f,et=P,qe=M,Xe=l,dt=m,tt=h,Oe=k,he=!1;function ye(Ne){return he||(he=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),O(Ne)||pe(Ne)===b}function O(Ne){return pe(Ne)===x}function U(Ne){return pe(Ne)===S}function Y(Ne){return pe(Ne)===v}function ne(Ne){return typeof Ne=="object"&&Ne!==null&&Ne.$$typeof===i}function ie(Ne){return pe(Ne)===T}function ke(Ne){return pe(Ne)===f}function Se(Ne){return pe(Ne)===P}function Te(Ne){return pe(Ne)===M}function De(Ne){return pe(Ne)===l}function Ke(Ne){return pe(Ne)===m}function yt(Ne){return pe(Ne)===h}function Bt(Ne){return pe(Ne)===k}Zt.AsyncMode=W,Zt.ConcurrentMode=we,Zt.ContextConsumer=se,Zt.ContextProvider=be,Zt.Element=Ge,Zt.ForwardRef=Be,Zt.Fragment=Ue,Zt.Lazy=et,Zt.Memo=qe,Zt.Portal=Xe,Zt.Profiler=dt,Zt.StrictMode=tt,Zt.Suspense=Oe,Zt.isAsyncMode=ye,Zt.isConcurrentMode=O,Zt.isContextConsumer=U,Zt.isContextProvider=Y,Zt.isElement=ne,Zt.isForwardRef=ie,Zt.isFragment=ke,Zt.isLazy=Se,Zt.isMemo=Te,Zt.isPortal=De,Zt.isProfiler=Ke,Zt.isStrictMode=yt,Zt.isSuspense=Bt,Zt.isValidElementType=ue,Zt.typeOf=pe}()),Zt}process.env.NODE_ENV==="production"?iC.exports=O_():iC.exports=N_();var Yg=iC.exports,PT=Yg,D_={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},L_={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},jT={};jT[PT.ForwardRef]=D_;jT[PT.Memo]=L_;var M_=!0;function PC(o,i,l){var f="";return l.split(" ").forEach(function(h){o[h]!==void 0?i.push(o[h]+";"):f+=h+" "}),f}var Wg=function(i,l,f){var h=i.key+"-"+l.name;(f===!1||M_===!1)&&i.registered[h]===void 0&&(i.registered[h]=l.styles)},qg=function(i,l,f){Wg(i,l,f);var h=i.key+"-"+l.name;if(i.inserted[l.name]===void 0){var m=l;do i.insert(l===m?"."+h:"",m,i.sheet,!0),m=m.next;while(m!==void 0)}};function A_(o){for(var i=0,l,f=0,h=o.length;h>=4;++f,h-=4)l=o.charCodeAt(f)&255|(o.charCodeAt(++f)&255)<<8|(o.charCodeAt(++f)&255)<<16|(o.charCodeAt(++f)&255)<<24,l=(l&65535)*1540483477+((l>>>16)*59797<<16),l^=l>>>24,i=(l&65535)*1540483477+((l>>>16)*59797<<16)^(i&65535)*1540483477+((i>>>16)*59797<<16);switch(h){case 3:i^=(o.charCodeAt(f+2)&255)<<16;case 2:i^=(o.charCodeAt(f+1)&255)<<8;case 1:i^=o.charCodeAt(f)&255,i=(i&65535)*1540483477+((i>>>16)*59797<<16)}return i^=i>>>13,i=(i&65535)*1540483477+((i>>>16)*59797<<16),((i^i>>>15)>>>0).toString(36)}var z_={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},h3=`You have illegal escape sequence in your template literal, most likely inside content's property value.
|
|
68
|
-
Because you write your CSS inside a JavaScript string you actually have to do double escaping, so for example "content: '\\00d7';" should become "content: '\\\\00d7';".
|
|
69
|
-
You can read more about this here:
|
|
70
|
-
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences`,$_="You have passed in falsy value as style object's key (can happen when in example you pass unexported component as computed key).",U_=/[A-Z]|^ms/g,HT=/_EMO_([^_]+?)_([^]*?)_EMO_/g,jC=function(i){return i.charCodeAt(1)===45},v3=function(i){return i!=null&&typeof i!="boolean"},LS=NT(function(o){return jC(o)?o:o.replace(U_,"-$&").toLowerCase()}),zg=function(i,l){switch(i){case"animation":case"animationName":if(typeof l=="string")return l.replace(HT,function(f,h,m){return yo={name:h,styles:m,next:yo},h})}return z_[i]!==1&&!jC(i)&&typeof l=="number"&&l!==0?l+"px":l};if(process.env.NODE_ENV!=="production"){var P_=/(var|attr|counters?|url|element|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/,j_=["normal","none","initial","inherit","unset"],H_=zg,F_=/^-ms-/,V_=/-(.)/g,m3={};zg=function(i,l){if(i==="content"&&(typeof l!="string"||j_.indexOf(l)===-1&&!P_.test(l)&&(l.charAt(0)!==l.charAt(l.length-1)||l.charAt(0)!=='"'&&l.charAt(0)!=="'")))throw new Error("You seem to be using a value for 'content' without quotes, try replacing it with `content: '\""+l+"\"'`");var f=H_(i,l);return f!==""&&!jC(i)&&i.indexOf("-")!==-1&&m3[i]===void 0&&(m3[i]=!0,console.error("Using kebab-case for css properties in objects is not supported. Did you mean "+i.replace(F_,"ms-").replace(V_,function(h,m){return m.toUpperCase()})+"?")),f}}var FT="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function mv(o,i,l){if(l==null)return"";if(l.__emotion_styles!==void 0){if(process.env.NODE_ENV!=="production"&&l.toString()==="NO_COMPONENT_SELECTOR")throw new Error(FT);return l}switch(typeof l){case"boolean":return"";case"object":{if(l.anim===1)return yo={name:l.name,styles:l.styles,next:yo},l.name;if(l.styles!==void 0){var f=l.next;if(f!==void 0)for(;f!==void 0;)yo={name:f.name,styles:f.styles,next:yo},f=f.next;var h=l.styles+";";return process.env.NODE_ENV!=="production"&&l.map!==void 0&&(h+=l.map),h}return B_(o,i,l)}case"function":{if(o!==void 0){var m=yo,v=l(o);return yo=m,mv(o,i,v)}else process.env.NODE_ENV!=="production"&&console.error("Functions that are interpolated in css calls will be stringified.\nIf you want to have a css call based on props, create a function that returns a css call like this\nlet dynamicStyle = (props) => css`color: ${props.color}`\nIt can be called directly with props or interpolated in a styled call like this\nlet SomeComponent = styled('div')`${dynamicStyle}`");break}case"string":if(process.env.NODE_ENV!=="production"){var S=[],b=l.replace(HT,function(T,k,L){var M="animation"+S.length;return S.push("const "+M+" = keyframes`"+L.replace(/^@keyframes animation-\w+/,"")+"`"),"${"+M+"}"});S.length&&console.error("`keyframes` output got interpolated into plain string, please wrap it with `css`.\n\nInstead of doing this:\n\n"+[].concat(S,["`"+b+"`"]).join(`
|
|
71
|
-
`)+`
|
|
72
|
-
|
|
73
|
-
You should wrap it with \`css\` like this:
|
|
74
|
-
|
|
75
|
-
`+("css`"+b+"`"))}break}if(i==null)return l;var x=i[l];return x!==void 0?x:l}function B_(o,i,l){var f="";if(Array.isArray(l))for(var h=0;h<l.length;h++)f+=mv(o,i,l[h])+";";else for(var m in l){var v=l[m];if(typeof v!="object")i!=null&&i[v]!==void 0?f+=m+"{"+i[v]+"}":v3(v)&&(f+=LS(m)+":"+zg(m,v)+";");else{if(m==="NO_COMPONENT_SELECTOR"&&process.env.NODE_ENV!=="production")throw new Error(FT);if(Array.isArray(v)&&typeof v[0]=="string"&&(i==null||i[v[0]]===void 0))for(var S=0;S<v.length;S++)v3(v[S])&&(f+=LS(m)+":"+zg(m,v[S])+";");else{var b=mv(o,i,v);switch(m){case"animation":case"animationName":{f+=LS(m)+":"+b+";";break}default:process.env.NODE_ENV!=="production"&&m==="undefined"&&console.error($_),f+=m+"{"+b+"}"}}}}return f}var y3=/label:\s*([^\s;\n{]+)\s*(;|$)/g,VT;process.env.NODE_ENV!=="production"&&(VT=/\/\*#\ssourceMappingURL=data:application\/json;\S+\s+\*\//g);var yo,$d=function(i,l,f){if(i.length===1&&typeof i[0]=="object"&&i[0]!==null&&i[0].styles!==void 0)return i[0];var h=!0,m="";yo=void 0;var v=i[0];v==null||v.raw===void 0?(h=!1,m+=mv(f,l,v)):(process.env.NODE_ENV!=="production"&&v[0]===void 0&&console.error(h3),m+=v[0]);for(var S=1;S<i.length;S++)m+=mv(f,l,i[S]),h&&(process.env.NODE_ENV!=="production"&&v[S]===void 0&&console.error(h3),m+=v[S]);var b;process.env.NODE_ENV!=="production"&&(m=m.replace(VT,function(L){return b=L,""})),y3.lastIndex=0;for(var x="",T;(T=y3.exec(m))!==null;)x+="-"+T[1];var k=A_(m)+x;return process.env.NODE_ENV!=="production"?{name:k,styles:m,map:b,next:yo,toString:function(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}}:{name:k,styles:m,next:yo}},I_=function(i){return i()},BT=s3["useInsertionEffect"]?s3["useInsertionEffect"]:!1,HC=BT||I_,g3=BT||te.useLayoutEffect,Y_={}.hasOwnProperty,FC=te.createContext(typeof HTMLElement<"u"?__({key:"css"}):null);process.env.NODE_ENV!=="production"&&(FC.displayName="EmotionCacheContext");FC.Provider;var Gg=function(i){return te.forwardRef(function(l,f){var h=te.useContext(FC);return i(l,h,f)})},Cv=te.createContext({});process.env.NODE_ENV!=="production"&&(Cv.displayName="EmotionThemeContext");var E3="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",S3="__EMOTION_LABEL_PLEASE_DO_NOT_USE__",W_=function(i){var l=i.cache,f=i.serialized,h=i.isStringTag;return Wg(l,f,h),HC(function(){return qg(l,f,h)}),null},q_=Gg(function(o,i,l){var f=o.css;typeof f=="string"&&i.registered[f]!==void 0&&(f=i.registered[f]);var h=o[E3],m=[f],v="";typeof o.className=="string"?v=PC(i.registered,m,o.className):o.className!=null&&(v=o.className+" ");var S=$d(m,void 0,te.useContext(Cv));if(process.env.NODE_ENV!=="production"&&S.name.indexOf("-")===-1){var b=o[S3];b&&(S=$d([S,"label:"+b+";"]))}v+=i.key+"-"+S.name;var x={};for(var T in o)Y_.call(o,T)&&T!=="css"&&T!==E3&&(process.env.NODE_ENV==="production"||T!==S3)&&(x[T]=o[T]);return x.ref=l,x.className=v,te.createElement(te.Fragment,null,te.createElement(W_,{cache:i,serialized:S,isStringTag:typeof h=="string"}),te.createElement(h,x))});process.env.NODE_ENV!=="production"&&(q_.displayName="EmotionCssPropInternal");var G_={name:"@emotion/react",version:"11.11.1",main:"dist/emotion-react.cjs.js",module:"dist/emotion-react.esm.js",browser:{"./dist/emotion-react.esm.js":"./dist/emotion-react.browser.esm.js"},exports:{".":{module:{worker:"./dist/emotion-react.worker.esm.js",browser:"./dist/emotion-react.browser.esm.js",default:"./dist/emotion-react.esm.js"},import:"./dist/emotion-react.cjs.mjs",default:"./dist/emotion-react.cjs.js"},"./jsx-runtime":{module:{worker:"./jsx-runtime/dist/emotion-react-jsx-runtime.worker.esm.js",browser:"./jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js",default:"./jsx-runtime/dist/emotion-react-jsx-runtime.esm.js"},import:"./jsx-runtime/dist/emotion-react-jsx-runtime.cjs.mjs",default:"./jsx-runtime/dist/emotion-react-jsx-runtime.cjs.js"},"./_isolated-hnrs":{module:{worker:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.worker.esm.js",browser:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.browser.esm.js",default:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.esm.js"},import:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.cjs.mjs",default:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.cjs.js"},"./jsx-dev-runtime":{module:{worker:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.worker.esm.js",browser:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.browser.esm.js",default:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.esm.js"},import:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.cjs.mjs",default:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.cjs.js"},"./package.json":"./package.json","./types/css-prop":"./types/css-prop.d.ts","./macro":{types:{import:"./macro.d.mts",default:"./macro.d.ts"},default:"./macro.js"}},types:"types/index.d.ts",files:["src","dist","jsx-runtime","jsx-dev-runtime","_isolated-hnrs","types/*.d.ts","macro.*"],sideEffects:!1,author:"Emotion Contributors",license:"MIT",scripts:{"test:typescript":"dtslint types"},dependencies:{"@babel/runtime":"^7.18.3","@emotion/babel-plugin":"^11.11.0","@emotion/cache":"^11.11.0","@emotion/serialize":"^1.1.2","@emotion/use-insertion-effect-with-fallbacks":"^1.0.1","@emotion/utils":"^1.2.1","@emotion/weak-memoize":"^0.3.1","hoist-non-react-statics":"^3.3.1"},peerDependencies:{react:">=16.8.0"},peerDependenciesMeta:{"@types/react":{optional:!0}},devDependencies:{"@definitelytyped/dtslint":"0.0.112","@emotion/css":"11.11.0","@emotion/css-prettifier":"1.1.3","@emotion/server":"11.11.0","@emotion/styled":"11.11.0","html-tag-names":"^1.1.2",react:"16.14.0","svg-tag-names":"^1.1.1",typescript:"^4.5.5"},repository:"https://github.com/emotion-js/emotion/tree/main/packages/react",publishConfig:{access:"public"},"umd:main":"dist/emotion-react.umd.min.js",preconstruct:{entrypoints:["./index.js","./jsx-runtime.js","./jsx-dev-runtime.js","./_isolated-hnrs.js"],umdName:"emotionReact",exports:{envConditions:["browser","worker"],extra:{"./types/css-prop":"./types/css-prop.d.ts","./macro":{types:{import:"./macro.d.mts",default:"./macro.d.ts"},default:"./macro.js"}}}}},C3=!1,Q_=Gg(function(o,i){process.env.NODE_ENV!=="production"&&!C3&&(o.className||o.css)&&(console.error("It looks like you're using the css prop on Global, did you mean to use the styles prop instead?"),C3=!0);var l=o.styles,f=$d([l],void 0,te.useContext(Cv)),h=te.useRef();return g3(function(){var m=i.key+"-global",v=new i.sheet.constructor({key:m,nonce:i.sheet.nonce,container:i.sheet.container,speedy:i.sheet.isSpeedy}),S=!1,b=document.querySelector('style[data-emotion="'+m+" "+f.name+'"]');return i.sheet.tags.length&&(v.before=i.sheet.tags[0]),b!==null&&(S=!0,b.setAttribute("data-emotion",m),v.hydrate([b])),h.current=[v,S],function(){v.flush()}},[i]),g3(function(){var m=h.current,v=m[0],S=m[1];if(S){m[1]=!1;return}if(f.next!==void 0&&qg(i,f.next,!0),v.tags.length){var b=v.tags[v.tags.length-1].nextElementSibling;v.before=b,v.flush()}i.insert("",f,v,!1)},[i,f.name]),null});process.env.NODE_ENV!=="production"&&(Q_.displayName="EmotionGlobal");function kn(){for(var o=arguments.length,i=new Array(o),l=0;l<o;l++)i[l]=arguments[l];return $d(i)}var IT=function(){var i=kn.apply(void 0,arguments),l="animation-"+i.name;return{name:l,styles:"@keyframes "+l+"{"+i.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}},K_=function o(i){for(var l=i.length,f=0,h="";f<l;f++){var m=i[f];if(m!=null){var v=void 0;switch(typeof m){case"boolean":break;case"object":{if(Array.isArray(m))v=o(m);else{process.env.NODE_ENV!=="production"&&m.styles!==void 0&&m.name!==void 0&&console.error("You have passed styles created with `css` from `@emotion/react` package to the `cx`.\n`cx` is meant to compose class names (strings) so you should convert those styles to a class name by passing them to the `css` received from <ClassNames/> component."),v="";for(var S in m)m[S]&&S&&(v&&(v+=" "),v+=S)}break}default:v=m}v&&(h&&(h+=" "),h+=v)}}return h};function X_(o,i,l){var f=[],h=PC(o,f,l);return f.length<2?l:h+i(f)}var Z_=function(i){var l=i.cache,f=i.serializedArr;return HC(function(){for(var h=0;h<f.length;h++)qg(l,f[h],!1)}),null},J_=Gg(function(o,i){var l=!1,f=[],h=function(){if(l&&process.env.NODE_ENV!=="production")throw new Error("css can only be used during render");for(var x=arguments.length,T=new Array(x),k=0;k<x;k++)T[k]=arguments[k];var L=$d(T,i.registered);return f.push(L),Wg(i,L,!1),i.key+"-"+L.name},m=function(){if(l&&process.env.NODE_ENV!=="production")throw new Error("cx can only be used during render");for(var x=arguments.length,T=new Array(x),k=0;k<x;k++)T[k]=arguments[k];return X_(i.registered,h,K_(T))},v={css:h,cx:m,theme:te.useContext(Cv)},S=o.children(v);return l=!0,te.createElement(te.Fragment,null,te.createElement(Z_,{cache:i,serializedArr:f}),S)});process.env.NODE_ENV!=="production"&&(J_.displayName="EmotionClassNames");if(process.env.NODE_ENV!=="production"){var b3=!0,eO=typeof jest<"u"||typeof vi<"u";if(b3&&!eO){var w3=typeof globalThis<"u"?globalThis:b3?window:global,x3="__EMOTION_REACT_"+G_.version.split(".")[0]+"__";w3[x3]&&console.warn("You are loading @emotion/react when it is already loaded. Running multiple instances may cause problems. This can happen if multiple versions are used, or if multiple builds of the same version are used."),w3[x3]=!0}}var tO=G8,nO=function(i){return i!=="theme"},T3=function(i){return typeof i=="string"&&i.charCodeAt(0)>96?tO:nO},R3=function(i,l,f){var h;if(l){var m=l.shouldForwardProp;h=i.__emotion_forwardProp&&m?function(v){return i.__emotion_forwardProp(v)&&m(v)}:m}return typeof h!="function"&&f&&(h=i.__emotion_forwardProp),h},k3=`You have illegal escape sequence in your template literal, most likely inside content's property value.
|
|
76
|
-
Because you write your CSS inside a JavaScript string you actually have to do double escaping, so for example "content: '\\00d7';" should become "content: '\\\\00d7';".
|
|
77
|
-
You can read more about this here:
|
|
78
|
-
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences`,rO=function(i){var l=i.cache,f=i.serialized,h=i.isStringTag;return Wg(l,f,h),HC(function(){return qg(l,f,h)}),null},iO=function o(i,l){if(process.env.NODE_ENV!=="production"&&i===void 0)throw new Error(`You are trying to create a styled element with an undefined component.
|
|
79
|
-
You may have forgotten to import it.`);var f=i.__emotion_real===i,h=f&&i.__emotion_base||i,m,v;l!==void 0&&(m=l.label,v=l.target);var S=R3(i,l,f),b=S||T3(h),x=!b("as");return function(){var T=arguments,k=f&&i.__emotion_styles!==void 0?i.__emotion_styles.slice(0):[];if(m!==void 0&&k.push("label:"+m+";"),T[0]==null||T[0].raw===void 0)k.push.apply(k,T);else{process.env.NODE_ENV!=="production"&&T[0][0]===void 0&&console.error(k3),k.push(T[0][0]);for(var L=T.length,M=1;M<L;M++)process.env.NODE_ENV!=="production"&&T[0][M]===void 0&&console.error(k3),k.push(T[M],T[0][M])}var P=Gg(function(F,H,ce){var ve=x&&F.as||h,ue="",pe=[],W=F;if(F.theme==null){W={};for(var we in F)W[we]=F[we];W.theme=te.useContext(Cv)}typeof F.className=="string"?ue=PC(H.registered,pe,F.className):F.className!=null&&(ue=F.className+" ");var se=$d(k.concat(pe),H.registered,W);ue+=H.key+"-"+se.name,v!==void 0&&(ue+=" "+v);var be=x&&S===void 0?T3(ve):b,Ge={};for(var Be in F)x&&Be==="as"||be(Be)&&(Ge[Be]=F[Be]);return Ge.className=ue,Ge.ref=ce,te.createElement(te.Fragment,null,te.createElement(rO,{cache:H,serialized:se,isStringTag:typeof ve=="string"}),te.createElement(ve,Ge))});return P.displayName=m!==void 0?m:"Styled("+(typeof h=="string"?h:h.displayName||h.name||"Component")+")",P.defaultProps=i.defaultProps,P.__emotion_real=P,P.__emotion_base=h,P.__emotion_styles=k,P.__emotion_forwardProp=S,Object.defineProperty(P,"toString",{value:function(){return v===void 0&&process.env.NODE_ENV!=="production"?"NO_COMPONENT_SELECTOR":"."+v}}),P.withComponent=function(F,H){return o(F,mr({},l,H,{shouldForwardProp:R3(P,H,!0)})).apply(void 0,k)},P}},aO=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],_e=iO.bind();aO.forEach(function(o){_e[o]=_e(o)});var aC=(o=>(o.Opera="opera",o.Chrome="chrome",o.Firefox="firefox",o.Safari="safari",o.Edge="edge",o.EdgeChromium="edge-chromium",o.Blink="blink",o.IE="internet-explorer",o))(aC||{});const _3=()=>{const{opr:o,opera:i,InstallTrigger:l,HTMLElement:f,safari:h,documentMode:m,StyleMedia:v,chrome:S,CSS:b}=window,x=!!o&&!!o.addons||!!i||navigator.userAgent.indexOf(" OPR/")>=0;if(x)return"opera";if(l)return"firefox";const T=(M=>M.toString()==="[object SafariRemoteNotification]")(!h||typeof h<"u"&&h.pushNotification);if(/constructor/i.test(f)||T)return"safari";const k=!!m;if(k)return"internet-explorer";if(!k&&v)return"edge";const L=!!S&&(!!S.webstore||!!S.runtime);if(L)return"chrome";if(L&&navigator.userAgent.indexOf("Edg")!==-1)return"edge-chromium";if((L||x)&&b)return"blink"},oO=["string","number"],Eo=o=>Object.keys(o).reduce((i,l)=>{const f=typeof o[l]>"u"?"":o[l],h=typeof f;if(oO.indexOf(h)>-1){const m=l.substring(0,5);m==="data-"||m==="aria-"?i[q7(l)]=f.toString():l.substring(0,4)!=="css-"&&(i[l]=f.toString())}else i[l]=f;return i},{}),sO=o=>new RegExp("^#","i").test(o),lO=o=>({children:i,...l})=>{const{implementation:f,name:h}=o.get("$widget"),{href:m=""}=l;if(sO(m))return z.createElement(vO,{smooth:!0,to:m},i);const v=f.bindings.map(x=>x.replace(/\./g,"\\.")).join("|"),b=new RegExp(`^((http[s]?:)?//)?(${v})/([^\\s]+)`).exec(m);if(b&&b.length>=4){const x=b[4];if(f.widgets.get(x)&&!x.startsWith("blob?")&&!x.startsWith(h))return z.createElement(MD,{widgetName:x},i)}return z.createElement("a",{...l},i)},YT=o=>{const i={};return Object.keys(o).forEach(l=>{l.indexOf("css-")>-1&&(i[l]=o[l])}),i},uO=o=>{let i="";return Object.keys(YT(o)).forEach(l=>{l.indexOf("css-")>-1&&(i+=`${l.replace("css-","")}:${o[l]};`)}),kn`
|
|
80
|
-
${i}
|
|
81
|
-
`},cO=(o,i)=>{let l="";const f=()=>{l=""},h=T=>{const k=document.getElementById(l);return k!==null?(T(k),f(),!0):!1},m=T=>(T.preventDefault(),f(),o.onClick&&o.onClick(T),typeof o.to=="string"&&(l=o.to.split("#").slice(1).join("#")),l!==""&&h(o.scroll||(k=>o.smooth?k.scrollIntoView({behavior:"smooth"}):k.scrollIntoView())),!1),{scroll:v,smooth:S,to:b,...x}=o;return i==="a"&&(x.href="javascript:;"),z.createElement(i,{...x,onClick:m},o.children)},VC=o=>(i,l)=>{let f=i,h="";if(["h1","h2","h3","h4","h5","h6"].includes(i))f=i;else{const S=i.match(/h1|h2|h3|h4|h5|h6/);if(S!=null&&S[0]){f=S[0];const[b]=i.split(f);h=b}}const v=((S,b,x)=>x[S]?`${b}${x[S]}`:`${b}${S}`)(f,h,o.theme.typographyVariantMapping||{});return kn`
|
|
82
|
-
${v} {
|
|
83
|
-
${l}
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const y=require("@emotion/styled"),$=require("@emotion/react"),o=require("react"),Xn=require("react-transition-group"),er=require("react-dom"),Ke=require("react-router-dom"),Ge=(t,e,n,...r)=>{const s=`[${t.get("$environment").name||"webprovisions"}] ${n}`;switch(e){case"info":console.info(s,...r);break;case"warning":console.warn(s,...r);break;case"error":console.error(s,...r);break}},tr=t=>{const e=t.container||t;return{info:(n,...r)=>Ge(e,"info",n,...r),warn:(n,...r)=>Ge(e,"warning",n,...r),error:(n,...r)=>Ge(e,"error",n,...r)}};var ve=(t=>(t.Implementation="implementation",t.Widget="widget",t))(ve||{}),te=(t=>(t.Pre="pre",t.Post="post",t))(te||{});const nr=(t,e,n,r)=>{try{const s=new e(n,r);return{name:t,invoke:(i,a)=>{let c;return s[i]&&(c=s[i].call(s,a)),Promise.resolve(c)},getInstance:()=>s}}catch(s){if(s.message&&s.message.indexOf("is not a constructor")>=0)return{name:t,invoke:i=>{let a;return i==="initialize"&&(a=e(n,r)),Promise.resolve(a)},getInstance:()=>e};throw s}};function Ut(t,e){return typeof t>"u"?e:t}let rr=class{constructor(e={}){this.part=e}createCommand(e,n,r){let s;typeof n=="function"?s={scope:ve.Widget,stage:te.Post,defaultArgs:void 0,handlerResolver:n}:s={scope:Ut(n.scope,ve.Widget),stage:Ut(n.stage,te.Post),defaultArgs:n.defaultArgs,handlerResolver:r};let i=this.part;const a=e.split(".");return a.forEach((c,l)=>{l===a.length-1?i[c]||(i[c]=()=>s):i=this.part[c]=this.part[c]||{}}),this}get(){return this.part}};const gn=t=>{const e=new rr({});return t(e),e.get()};gn(t=>{t.createCommand("types.register",{scope:ve.Implementation,stage:te.Pre},e=>(n,r)=>{e.container.get("$types")[n]=r}).createCommand("type",{stage:te.Pre},e=>n=>{e.container.register("$type",n)}).createCommand("settings",{stage:te.Pre,defaultArgs:[null]},e=>n=>{e.events.dispatch("settings:change",n,{bubbles:!0}),e.container.register("$settings",n)}).createCommand("plugin",{stage:te.Pre},e=>(n,r,s)=>{const{container:i}=e;let a=null,c=n,l=r;typeof n=="string"&&(a=n,c=r,l=s);const h=u=>{const{transformPluginSettings:d}=e.container.get("$environmentOptions"),f=d?d(l||{},a,e.container,c):r;try{const p=nr(a,c,i,f);i.get("$plugins").push(p),u&&p.invoke("initialize",null)}catch(p){tr(e).warn("Error when initializing plugin",p)}};e.container.get("$instance")?h(!0):e.events.subscribeOnce("widget:instance-created",()=>h(!1))}).createCommand("container.register",e=>(n,r)=>{e.container.register(n,r)}).createCommand("container.registerAsync",e=>(n,r)=>{e.container.registerAsync(n,r)}).createCommand("container.registerFactory",e=>(n,r)=>{e.container.registerFactory(n,r)}).createCommand("container.touch",e=>(n,r)=>{e.container.touch(n,r)}).createCommand("csp",{},e=>n=>{e.container.register("csp",n)})});const sr=gn(t=>{t.createCommand("ready",{scope:ve.Implementation,stage:te.Pre},e=>n=>{const{container:r}=e,s=r.owner;r.get("bootstrapping").ready?n(s):s.events.subscribeOnce("bootstrap:ready",()=>{n(s)})})}),Je=new WeakMap;function ue(){return t=>(Je.has(t)||Je.set(t,{}),Je.get(t))}const Qe=(t,e,n,...r)=>{const s=`[${t.get("$environment").name||"webprovisions"}] ${n}`;switch(e){case"info":console.info(s,...r);break;case"warning":console.warn(s,...r);break;case"error":console.error(s,...r);break}},H=t=>{const e=t.container||t;return{info:(n,...r)=>Qe(e,"info",n,...r),warn:(n,...r)=>Qe(e,"warning",n,...r),error:(n,...r)=>Qe(e,"error",n,...r)}},A=ue(),yt=(()=>{let t=0;return()=>++t})(),vt=(t,e,n)=>{const r=A(t).touchQueue.get(e);r&&r.forEach(s=>{s(n,t)})};class ir{constructor(e,n,r,s){this.key=e,this.factory=n,this.parent=r,this.container=s,this.id=yt(),this.resolved=!1,this.constructed=!1,this.async=!0}resolve(){if(!this.constructed){const e=this.factory(this.parent,this.container);return this.constructed=!0,this.value=Promise.resolve(e).then(n=>(this.resolved=!0,vt(this.container,this.key,n),n))}return this.value}}class or{constructor(e,n,r,s){this.key=e,this.value=n,this.parent=r,this.container=s,this.id=yt(),this.async=!1,this.resolved=!1,this.constructed=!0,this.resolve=()=>(this.resolved=!0,vt(this.container,this.key,this.value),this.value)}}class ar{constructor(e,n,r,s){this.key=e,this.value=n,this.parent=r,this.container=s,this.id=yt(),this.async=!1,this.resolved=!1,this.constructed=!1,this.resolve=()=>{this.resolved=!0,this.constructed=!0;const i=this.value(this.parent,this.container);return vt(this.container,this.key,this.value),i}}}class _e{constructor(e,n,r){this.owner=e,this.name=n,this.parent=r,A(this).resolvers=new Map,A(this).touchQueue=new Map,A(this).children=[]}delete(e){const n=A(this).resolvers,r=Array.from(n.values()).find(s=>s.id===e);return r?(A(this).touchQueue.delete(r.key),Promise.resolve(n.delete(r.key))):this.parent?this.parent.delete(e):Promise.resolve(!1)}clear(){const e=A(this).resolvers,n=Array.from(e.values());return Promise.all(n.map(r=>{if(r.constructed)return Promise.resolve(r.resolve()).then(s=>{if(s!==null&&typeof s=="object"&&typeof s.dispose=="function")return s.dispose.call(s,this,r)})})).then(()=>{n.forEach(r=>this.delete(r.id)),A(this).children.forEach(r=>r.clear())})}detach(){if(this.parent){const e=A(this.parent).children,n=e.indexOf(this);n>-1&&(e.splice(n,1),delete this.parent)}}touch(e,n){const r=A(this).resolvers.get(e);if(r&&r.constructed)Promise.resolve(r.resolve()).then(s=>{n(s,this)});else{const s=A(this).touchQueue;let i=s.get(e);i||(i=[],s.set(e,i)),i.push(n)}return this.parent&&!r?this.parent.touch(e,n):Promise.resolve()}registerAsync(e,n){const r=A(this).resolvers.get(e);r&&!r.async&&process.env.NODE_ENV!=="production"&&H(this).warn(`Mismatching resolver type. You are registering an async resolver with a key ('${e}') previously used by a non-async resolver.`);const s=new ir(e,n,r,this);return A(this).resolvers.set(e,s),s.id}registerFactory(e,n){const r=A(this).resolvers.get(e);r&&r.async&&process.env.NODE_ENV!=="production"&&H(this).warn(`Mismatching resolver type. You are registering a non-async resolver with a key ('${e}') previously used by an async resolver.`);const s=new ar(e,n,r,this);return A(this).resolvers.set(e,s),s.id}register(e,n){const r=A(this).resolvers.get(e);r&&r.async&&process.env.NODE_ENV!=="production"&&H(this).warn(`Mismatching resolver type. You are registering a non-async resolver with a key ('${e}') previously used by an async resolver.`);const s=new or(e,n,r,this);return A(this).resolvers.set(e,s),s.id}get(e){const n=A(this).resolvers.get(e);if(n)return n.async&&process.env.NODE_ENV!=="production"&&H(this).warn(`You are retrieving an async value (with key '${e}') by the non-async function 'container.get(key)'. This will not be supported in future versions. Use 'container.getAsync(key) instead.'`),n.resolve();if(this.parent)return this.parent.get(e)}getAsync(e){const n=A(this).resolvers.get(e);if(n){if(!n.async)throw process.env.NODE_ENV!=="production"&&H(this).warn(`You are retrieving a non-async value (with key '${e}') by the async function 'container.getAsync(key)'.Use 'container.get(key) instead.'`),"Mismatching resolver type";return n.resolve()}return this.parent?this.parent.getAsync(e):Promise.resolve(void 0)}getMany(...e){const n={};return e.forEach(r=>n[r]=this.get(r)),n}getManyAsync(...e){const n={};return Promise.all(e.map(r=>this.getAsync(r).then(s=>n[r]=s))).then(()=>n)}createChild(e,n){const r=new _e(e,n,this);return A(this).children.push(r),r}}class Kt{constructor(e,n,r=!1,s=!1){this.type=e,this.target=n,this.cancelable=!!r,this.bubbles=!!s,this.defaultPrevented=!1}preventDefault(){this.cancelable&&(this.defaultPrevented=!0)}}const q=ue(),Gt=(t,e)=>[].concat(q(t).listenerLookup.get(e.toLowerCase())||[],q(t).listenerLookup.get("*")||[]),Jt=(t,e,n,r)=>{let s,i;return e instanceof Kt?(s=e,i=e.type):(s=new Kt(e,t.target,!!n.cancelable,!!n.bubbles),i=e),{event:s,type:i,async:r}};class bt{constructor(e,n){this.target=e,this.parent=n,q(this).listenerLookup=new Map,q(this).children=[]}clear(){q(this).listenerLookup.clear(),q(this).children.forEach(e=>e.clear())}detach(){if(this.parent){const e=q(this.parent).children,n=e.indexOf(this);n>-1&&e.splice(n,1)}}subscribe(e,n,r){const s=q(this).listenerLookup,i=e.toLowerCase();return s.has(i)||s.set(i,[]),s.get(i).push(n),()=>this.unsubscribe(e,n)}subscribeOnce(e,n){const r=this.subscribe(e,(s,i)=>(r(),n(s,i)))}unsubscribe(e,n){const r=q(this).listenerLookup.get(e.toLowerCase());if(r){const s=r.indexOf(n);s>-1&&r.splice(s,1)}}dispatchAsync(e,n,r={}){const{event:s,type:i}=Jt(this,e,r,!0),a=Gt(this,i);let c=0;const l=a.length;let h=Promise.resolve();for(c=0;c<l;c++)(u=>{h=h.then(d=>d?Promise.resolve(!0):Promise.resolve(u(s,n)).then(()=>s.defaultPrevented))})(a[c]);return h.then(u=>!u&&s.bubbles&&this.parent?this.parent.dispatchAsync(s,n):u)}dispatch(e,n,r={}){const{event:s,type:i}=Jt(this,e,r,!1),a=Gt(this,i);let c=0;const l=a.length;let h=!1;for(c=0;c<l;c++)if(a[c](s,n),s.defaultPrevented){h=!0;break}return!h&&s.bubbles&&this.parent&&(h=this.parent.dispatch(s,n)),h}createChild(e){const n=new bt(e,this);return q(this).children.push(n),n}}const Le=(t,e,n)=>{const r=t.get("$plugins").map(s=>{try{return s.invoke(e,n)}catch(i){H(t).error("An error occured when invoking a plugin.",s,i)}});return Promise.all(r)};class cr{constructor(e){this.widget=e.get("$widget"),this.events=this.widget.events,this.container=this.widget.container,this.initialized=null,this.activated=null,this.initialize=this.initialize.bind(this),this.activate=this.activate.bind(this),this.deactivate=this.deactivate.bind(this),this.invoke=this.invoke.bind(this),this.createInstance()}createInstance(){if(!this.widget.container.get("$instance")){const e=this.widget.container.get("$types"),n=this.widget.container.get("$type");!n&&H(this).error("Unable to create widget. No type is specified.");const r=e[n];!r&&H(this).error(`Unable to create widget. Type '${n}' is not registered.`),this.widget.events.dispatch("widget:create-instance",{},{bubbles:!0});try{this.widget.container.register("$instance",new r(this.container))}catch(s){H(this).error("Unable to create widget type.",s)}this.widget.events.dispatch("widget:instance-created",{},{bubbles:!0})}}initialize(e){return this.initialized=this.initialized||(()=>{const n=this.container.get("$instance"),r=n.initialize||(()=>{});return this.initialized=Promise.resolve(r.call(n,e)).then(()=>Le(this.container,"initialize",e)).then(()=>{})})()}activate(e){return(this.initialized||this.initialize()).then(()=>{this.activated=this.activated||(()=>Le(this.container,"activate").then(()=>{const n=this.container.get("$instance");return this.activated=n.activate(e)}))()})}deactivate(){const e=this.container.get("$instance"),n=e.deactivate||(()=>{});return Le(this.container,"deactivate").then(()=>Promise.resolve(n.call(e))).then(()=>{this.initialized=null,this.activated=null}).then(()=>{})}invoke(e,...n){return Le(this.container,"invoke",{command:e,args:n}).then(()=>{const r=this.container.get("$instance");if(r[e])return r[e].apply(r,n);const s=r.invoke;if(s)return s.call(r,e,...n)})}}const ae=(t,e)=>{if(!e)return!0;if(typeof e=="string"){const n=e.split(",");for(let r=0,s=n.length;r<s;r++){const i=n[r].trim();if(i===t||i==="*")return!0}}return e instanceof Array?e.indexOf(t)>-1:!1},lr=(t,e)=>{if(typeof e=="function")return e(t);const n=typeof e=="string"?dr(e):e;return!(!ae(t.implementation.tenant||"",n.tenant||"")||!ae(t.implementation.name,n.implementation||"")||!ae(t.name,n.widget||"")||!ae(t.container.get("$type"),n.type||""))},ur=(t,e)=>{if(typeof e=="function")return e(t);const n=typeof e=="string"?fr(e):e;return!(!ae(t.tenant||"",n.tenant||"")||!ae(t.name,n.implementation||""))},yn=t=>e=>lr(e,t),hr=t=>e=>ur(e,t),J=t=>t instanceof Array&&t.length===1?t[0]:t,dr=t=>{const e={},n=t.split(":");return n.length===1?e.widget=J(n[0].split(",")):n.length===2?(e.implementation=J(n[0].split(",")),e.widget=J(n[1].split(","))):(e.tenant=J(n[0].split(",")),e.implementation=J(n[1].split(",")),e.widget=J(n[2].split(","))),e},fr=t=>{const e={},n=t.split(":");return n.length===1?e.implementation=J(n[0].split(",")):(e.tenant=J(n[0].split(",")),e.implementation=J(n[1].split(","))),e},Be=ue(),Qt=(t,e,n)=>t.filter(r=>r.stage===e&&yn(r.selector)(n));function mr(t){const e=t.container.get("$environment");let n=Be(e).configurationCache;n&&(n=n.filter(r=>r[0]!==t),Be(e).configurationCache=n)}var Ie=(t=>(t.Implementation="implementation",t.Widget="widget",t))(Ie||{}),Q=(t=>(t.Pre="pre",t.Post="post",t))(Q||{});const vn=(t,e,n)=>(Object.keys(e).forEach(r=>{const s=e[r];if(typeof s=="function"){const i=s();typeof i.defaultArgs<"u"&&n(i,...i.defaultArgs),t[r]=(...a)=>{const c=Object.assign({},i,{handlerResolver:i.handlerResolver.bind({})});return n(c,...a),t}}else t[r]=vn({},s,n)}),t),pr=(t,e)=>{switch(e){case"implementation":return t.implementation;case"widget":return t}},Yt=(t,e,n,r)=>(r.forEach(s=>{vn(t,s,(i,...a)=>{const c={selector:e,stage:i.stage,handler:l=>{const h=pr(l,i.scope),u={container:h.container,events:h.events},d=i.handlerResolver,f=d(u);let p=Be(n.environment).configurationCache;return p||(p=Be(n.environment).configurationCache=[]),p.find(g=>g.indexOf(h)>-1&&g.indexOf(d)>-1)?Promise.resolve():(p.push([h,d]),Promise.resolve(f(...a)))}};n.instructions.push(c)})}),t);function gr(t,e){function n(r){return Yt({},r,t,e)}return Yt(n,"*",t,e)}class yr{constructor(e,n){this.container=e,this.settings=n,this.widget=e.get("$widget"),this.events=this.widget.events}}const vr=(t,e,n,r)=>{try{const s=new e(n,r);return{name:t,invoke:(i,a)=>{let c;return s[i]&&(c=s[i].call(s,a)),Promise.resolve(c)},getInstance:()=>s}}catch(s){if(s.message&&s.message.indexOf("is not a constructor")>=0)return{name:t,invoke:i=>{let a;return i==="initialize"&&(a=e(n,r)),Promise.resolve(a)},getInstance:()=>e};throw s}};function Xt(t,e){return typeof t>"u"?e:t}class br{constructor(e={}){this.part=e}createCommand(e,n,r){let s;typeof n=="function"?s={scope:Ie.Widget,stage:Q.Post,defaultArgs:void 0,handlerResolver:n}:s={scope:Xt(n.scope,Ie.Widget),stage:Xt(n.stage,Q.Post),defaultArgs:n.defaultArgs,handlerResolver:r};let i=this.part;const a=e.split(".");return a.forEach((c,l)=>{l===a.length-1?i[c]||(i[c]=()=>s):i=this.part[c]=this.part[c]||{}}),this}get(){return this.part}}const je=t=>{const e=new br({});return t(e),e.get()},wr=je(t=>{t.createCommand("types.register",{scope:Ie.Implementation,stage:Q.Pre},e=>(n,r)=>{e.container.get("$types")[n]=r}).createCommand("type",{stage:Q.Pre},e=>n=>{e.container.register("$type",n)}).createCommand("settings",{stage:Q.Pre,defaultArgs:[null]},e=>n=>{e.events.dispatch("settings:change",n,{bubbles:!0}),e.container.register("$settings",n)}).createCommand("plugin",{stage:Q.Pre},e=>(n,r,s)=>{const{container:i}=e;let a=null,c=n,l=r;typeof n=="string"&&(a=n,c=r,l=s);const h=u=>{const{transformPluginSettings:d}=e.container.get("$environmentOptions"),f=d?d(l||{},a,e.container,c):r;try{const p=vr(a,c,i,f);i.get("$plugins").push(p),u&&p.invoke("initialize",null)}catch(p){H(e).warn("Error when initializing plugin",p)}};e.container.get("$instance")?h(!0):e.events.subscribeOnce("widget:instance-created",()=>h(!1))}).createCommand("container.register",e=>(n,r)=>{e.container.register(n,r)}).createCommand("container.registerAsync",e=>(n,r)=>{e.container.registerAsync(n,r)}).createCommand("container.registerFactory",e=>(n,r)=>{e.container.registerFactory(n,r)}).createCommand("container.touch",e=>(n,r)=>{e.container.touch(n,r)}).createCommand("csp",{},e=>n=>{e.container.register("csp",n)})}),Cr=wr;function xr(t,e,n=[]){const r=[Cr].concat(n),s=gr(e,r);t(s,e)}class Er{constructor(){this.tasks=[],this.current=Promise.resolve(),this.next=this.next.bind(this)}add(e,n,r,s){this.tasks.push({task:e,resolve:n,reject:r,done:s}),this.next()}next(){this.current=this.current.then(()=>{const e=this.tasks.shift();if(e){const n=Promise.resolve(e.task());return Promise.resolve(n).then(this.next).then(()=>n.then(r=>{e.done(),e.resolve(r)})).catch(r=>(e.done(),e.reject(r),this.next()))}return Promise.resolve()})}}const Ne=new WeakMap;function kr(t){return Ne.has(t)||Ne.set(t,new Er),e=>new Promise((n,r)=>{const s=Ne.get(t);s.add(e,n,r,()=>{s.tasks.length||Ne.delete(t)})})}const en=t=>typeof t<"u";var bn=(t=>(t.Activating="activating",t.Loading="loading",t.Activated="activated",t.Deactivating="deactivating",t.Deactivated="deactivated",t))(bn||{});const fe=(t,e)=>{t.events.dispatch("widget:state-change",{state:e},{bubbles:!0}),t.state=e,t.events.dispatch("widget:state-changed",{},{bubbles:!0})},V=ue(),$r=t=>{const{container:e,events:n}=t;e.get("$controller")||(e.register("$controller",new cr(e)),n.dispatch("widget:controller-created",{},{bubbles:!0}))};class Sr{constructor(e,n,r){this.state="deactivated",this.name=e,this.implementation=n,this.container=n.container.createChild(this,e),this.events=n.events.createChild(this),V(this).subscriptions=[],r&&n.configure(s=>{const i=s(e);en(r.type)&&i.type(r.type),en(r.settings)&&i.settings(r.settings),r.plugins&&Object.keys(r.plugins).forEach(a=>{var c;const l=(c=r.plugins)==null?void 0:c[a];i.plugin(a,l)})}),this.load=this.load.bind(this),this.activate=this.activate.bind(this),this.invoke=this.invoke.bind(this),this.deactivate=this.deactivate.bind(this)}load(){return kr(this)(()=>{V(this).deactivatedPromise=null;const e=this.state==="deactivated";e&&(fe(this,"activating"),this.container.register("$widget",this),this.container.register("$controller",null),this.container.register("$plugins",[]),this.container.register("$type",null),this.container.register("$instance",null)),fe(this,"loading");const n=this.implementation.instructions,r=Qt(n,Q.Pre,this);return Promise.all(r.map(s=>s.handler(this))).then(()=>{$r(this);const s=Qt(n,Q.Post,this);return Promise.all(s.map(i=>i.handler(this))).then(()=>{e&&this.container.get("$controller").initialize()})}).then(()=>(fe(this,"activated"),this))})}activate(e){V(this).subscriptions.push(this.implementation.events.subscribe("implementation:configured",()=>{["activated","activating","loading"].indexOf(this.state)>-1&&this.load()}));const n=V(this).activatedPromise;return n?(process.env.NODE_ENV!=="production"&&H(this).warn(`Widget '${this.name}' has already been activated. The passed arguments for this activation will be discarded.`,e),n):V(this).activatedPromise=this.load().then(()=>this.container.get("$controller").activate(e))}invoke(e,...n){const r=V(this).activatedPromise,s=(i,...a)=>r.then(this.load).then(()=>this.container.get("$controller").invoke(i,...a));return r?s(e,...n):(process.env.NODE_ENV!=="production"&&H(this).warn("You are invoking a command on a deactivated widget. The invocation will be queued until the widget is activated.",this),new Promise(i=>{const a=this.events.subscribe("widget:state-changed",()=>{this.state==="activated"&&(a(),i(s(e,...n)))})}))}deactivate(){return V(this).deactivatedPromise||(this.state==="deactivated"?Promise.resolve():(fe(this,"deactivating"),V(this).deactivatedPromise=this.container.get("$controller").deactivate().then(()=>(V(this).activatedPromise=null,V(this).subscriptions.forEach(n=>n()),V(this).subscriptions=[],this.container.clear().then(()=>{this.events.clear(),mr(this),fe(this,"deactivated")})))))}}const tn=ue();class Lr{constructor(e,n,r=[]){this.instructions=[],this.widgets=new Map,this.name=e.name,this.tenant=e.tenant,this.environment=n,this.container=n.container.createChild(this,this.name),this.events=n.events.createChild(this),this.container.register("$types",{}),tn(this).configurationApiExtensions=r}load(){const e=Array.from(this.widgets.values());return Promise.all(e.map(n=>n.load())).then(()=>e)}configure(e){return xr(e,this,tn(this).configurationApiExtensions),this.events.dispatch("implementation:configured",{implementation:this},{bubbles:!0}),this}createWidget(e,n){const r=new Sr(e,this,n);return this.widgets.set(r.name,r),r}}function Nr(t,e,n){const r=new Lr(t,e,n);return t.widgets&&Object.keys(t.widgets).forEach(s=>{var i;const a=(i=t.widgets)==null?void 0:i[s];r.createWidget(s,a)}),r}class Ve{constructor(e,n){this.selectorFactory=n,typeof e=="function"?this.resolver=e:this.resolver=()=>e}append(e){const n=typeof e=="function"?e:()=>e;return new Ve(()=>this.all().concat(n()),this.selectorFactory)}all(){return this.resolver().concat([])}query(e){return this.all().filter(this.selectorFactory(e))}find(e){const n=this.query(e);if(n.length)return n[0]}}const wt="#____version____#",Ye=ue(),Rr=t=>t.tenant?`${t.name}:${t.tenant}`:t.name,wn=class{constructor(t,e=[],n={}){this.widgets=new Ve(()=>{let r=[];return this.implementations.all().forEach(s=>{r=r.concat(Array.from(s.widgets.values()))}),r},yn),this.implementations=new Ve([],hr),this.name=t,this.container=new _e(this,t),this.events=new bt(this),this.container.register("$version",wt),this.container.register("$environment",this),this.container.register("$environmentOptions",n),Ye(this).configurationApiExtensions=e}createImplementation(t){const e=Rr(t);let n=this.implementations.find(e);if(n)return process.env.NODE_ENV!=="production"&&H(n).warn(`Implementation "${e}" already exist on current environment.`),n;const r=Ye(this).configurationApiExtensions;return n=Nr(t,this,r),this.implementations=this.implementations.append([n]),this.events.dispatch("implementation:created",{implementation:n}),n}patch(t={}){const{name:e,configurationApiExtensions:n}=t;typeof e<"u"&&e!==null&&(this.name=e),n&&n.forEach(r=>{Ye(this).configurationApiExtensions.push(r)})}static create(t={}){return new wn(t.name||"",t.configurationApiExtensions,t.options)}};let Cn=wn;Cn.version=wt;const Ar=t=>{const e=[];return[(r,s)=>{e.push(t.subscribe(r,s))},()=>{e.forEach(r=>{r()})}]};class Ct{constructor(e,n=[]){this.platform=e,this.rules=n}match(e){return this.rules.every(n=>!(n.id&&n.id!==e.id||n.type&&n.type!==e.type))}ofType(e){return this.rules.push({type:e}),this}withId(e){return this.rules.push({id:e}),this}select(){return new Or(this.platform,this)}}class xn{constructor(e,n,r){this.platform=e,this.node=n,this.actions=new xt(e,new Ct(e).withId(n.id),r);const[s,i]=Ar(this.platform.events);this.subscribe=s,this.unsubscribe=i}properties(e){return e&&this.node.touchProperties(n=>e(n)),this.node.attributes.properties}context(e){return e&&this.subscribe("components:context-changed",(n,{node:r})=>{r===this.node&&e(this.node.attributes.context)}),this.node.attributes.context}layout(e){return e&&this.subscribe("components:layout-changed",(n,{node:r})=>{r===this.node&&e(this.node.attributes.layout)}),this.node.attributes.layout}writeProperties(e,n){this.node.writeProperties(e,n)}writeContext(e,n){this.node.writeProperties(e,n)}writeLayout(e,n){this.node.writeLayout(e,n)}dispose(){this.unsubscribe(),this.actions.dispose()}}class Or{constructor(e,n,r=!0){this.platform=e,this.target=n,this.clearOnDispose=r,this.removes=[],this.actions=new xt(this.platform,this.target)}writeProperties(e,n){this.removes.push(this.platform.write({options:n,attributes:{properties:e},target:this.target,removable:this.clearOnDispose}))}writeContext(e,n){this.removes.push(this.platform.write({options:n,attributes:{context:e},target:this.target,removable:this.clearOnDispose}))}writeLayout(e,n){this.removes.push(this.platform.write({options:n,attributes:{layout:e},target:this.target,removable:this.clearOnDispose}))}dispose(){this.removes.forEach(e=>{e()}),this.actions.dispose()}}const Mr=(t,e,n)=>{const r=t.concat(),s=(i,a,c)=>{let l=!0;if(r.length){const h=r.shift(),u=(d,f)=>(l=!1,s(d,Object.assign({},a,f),c));return Promise.resolve(h(i,u,c)).then(d=>({...d,cancelled:l}))}return Promise.resolve({data:i,cancelled:!1,options:a})};return s(e,{},n)};class xt{constructor(e,n,r){this.platform=e,this.target=n,this.ns=r,this.subscriptions=[],this.create=this.create.bind(this)}create(e,n=()=>{}){const r={key:e,fn:n,target:this.target,ns:this.ns};this.platform.actionsState.handlers.push(r);const s=()=>{const i=this.platform.actionsState.handlers.indexOf(r);i>-1&&this.platform.actionsState.handlers.splice(i,1)};return this.subscriptions.push(s),s}dispatch(e,n){const r=this.platform.nodes.all.concat(this.platform.nodes.detached),s={},i=this.platform.actionsState.handlers.filter(a=>a.key===e&&(!a.ns||!this.ns||a.ns===this.ns));return Promise.all(i.map(a=>{const c=r.filter(h=>a.target.match(h)&&this.target.match(h)),l=this.platform.actionsState.watchers.filter(h=>h.key===e&&(!h.ns||!this.ns||h.ns===this.ns)&&c.some(u=>h.target.match(u))).map(h=>h.fn);return Promise.all(c.map(h=>{const u=new xn(this.platform,h,this.ns);return Mr(l,n,u).then(d=>{const{data:f={},options:p,cancelled:g}=d;return Promise.resolve(g?{}:a.fn(f,p,u)).then(v=>{s[h.id]=v})})}))})).then(()=>s)}watch(e,n){let r=e,s=this.ns;const i=e.split(".");i.length>1&&(s=i[0],r=i.splice(1).join("."));const a={fn:n,target:this.target,key:r,ns:s};this.platform.actionsState.watchers.push(a);const c=()=>{const l=this.platform.actionsState.watchers.indexOf(a);l>-1&&this.platform.actionsState.watchers.splice(l,1)};return this.subscriptions.push(c),c}dispose(){this.subscriptions.forEach(e=>e())}}je(t=>{t.createCommand("components",e=>n=>{e.events.subscribeOnce("components:platform-created",(r,{platform:s})=>{n.handlers&&n.handlers.forEach(([i,a])=>{s.addComponentHandler(i,a)})})})});function Pr(t){const e=[];return t.forEach(n=>{e.indexOf(n)===-1&&e.push(n)}),e}function ut(t="",e=""){const n=t.split(" ").concat(e.split(" "));return Pr(n).join(" ").trim()}function Tr(t,e){if(t){if(typeof e=="string")return e;if(Array.isArray(e)){let n="";return e.forEach(r=>n=ut(n,r)),n}}}function L(...t){let e="";return t.length&&t.forEach(n=>{typeof n=="string"?e=ut(e,n):Array.isArray(n)?e=ut(e,Tr(...n)):typeof n<"u"&&n!==null&&process.env.NODE_ENV!=="production"&&M.warn("appendClassNames: arguments either haveto be a string or [boolean, ...string[]]. Passed args:",...t)}),e}function De(t){const e={};if(typeof t=="number"||typeof t=="string")return t;for(const n in t)if(t.hasOwnProperty(n)){const r=t[n],s=n.substring(0,1).toLowerCase()+n.substring(1);if(Object.prototype.toString.call(r)==="[object Array]"){e[s]=[];for(let i=0,a=r.length;i<a;i++)e[s].push(De(r[i]))}else r!==null&&typeof r=="object"?e[s]=De(r):e[s]=r}return e}const qe=(t,e,...n)=>typeof e=="string"?t(`[humany] ${e}`,...n):t(e,...n),me=class{constructor(){this.keys=[],this.log=(t,...e)=>this.lookup(t,()=>me.log(...e)),this.warn=(t,...e)=>this.lookup(t,()=>me.warn(...e)),this.error=(t,...e)=>this.lookup(t,()=>me.error(...e)),this.info=(t,...e)=>this.lookup(t,()=>me.info(...e))}lookup(t,e){this.keys.indexOf(t)===-1&&(this.keys.push(t),e())}};let M=me;M.log=(...t)=>qe(console.log,...t);M.warn=(...t)=>qe(console.warn,...t);M.error=(...t)=>qe(console.error,...t);M.info=(...t)=>qe(console.info,...t);const Et=t=>{let e={},n,r;if(typeof t!="object"||t===null)return t;e=Array.isArray(t)?[]:{};for(r in t)n=t[r],e[r]=typeof n=="object"&&n!==null?Et(n):n;return e};function nn(t){let e=0;if(t.length===0)return e.toString();for(let n=0;n<t.length;n++){const r=t.charCodeAt(n);e=(e<<5)-e+r,e=e&e}return e.toString()}function zr(t){return t.replace(/([a-z])([A-Z])/g,"$1-$2").replace(/\s+/g,"-").toLowerCase()}class Hr{constructor(e,n){this.lockWarningTime=e,this.lockErrorTime=n,this.tasks=[],this.current=Promise.resolve(),this.next=this.next.bind(this)}add(e,n,r,s){this.tasks.push({task:e,resolve:n,reject:r,done:s}),this.next()}next(){this.current=this.current.then(()=>{const e=this.tasks.shift();if(e){let n;const r=setTimeout(()=>{process.env.NODE_ENV!=="production"&&M.warn(`A lock has exceeded ${this.lockWarningTime} ms. Waiting additional ${this.lockErrorTime} ms before rejecting the task.`,e),n=setTimeout(()=>{e.reject("lock timeout exceeded")},this.lockErrorTime)},this.lockWarningTime),s=Promise.resolve(e.task()).then(i=>(clearTimeout(r),clearTimeout(n),i));return Promise.resolve(s).then(this.next).then(()=>s.then(i=>{e.done(),e.resolve(i)})).catch(i=>(e.done(),e.reject(i),this.next()))}return Promise.resolve()})}}const Re=new WeakMap;function we(t,e=5e3,n=1e3){return Re.has(t)||Re.set(t,new Hr(e,n)),r=>new Promise((s,i)=>{const a=Re.get(t);a.add(r,s,i,()=>{a.tasks.length||Re.delete(t)})})}const Br=(t={})=>(Object.keys(t).forEach(e=>{(t[e]===null||typeof t[e]>"u")&&delete t[e]}),t),Ae=(t,e)=>{let n=!0;return Object.keys(t).length!==Object.keys(e).length||Object.keys(t).some(s=>!Object.keys(e).some(a=>s===a))?!1:(Object.keys(t).forEach(s=>{if(n){const i=typeof t[s]>"u"?"":t[s],a=typeof e[s]>"u"?"":e[s];n=i.toString()===a.toString()}}),n)},ee=()=>Math.floor((1+Math.random())*65536).toString(16).substring(1);function Ce(){return ee()+ee()+"-"+ee()+"-"+ee()+"-"+ee()+"-"+ee()+ee()+ee()}class rn{constructor(e,n){this.events=e,this.tags=[],this.children={},this.changesets=[],this.mountCount=0,this.id=Ce(),this.type=n,this.attributes={context:{},properties:{},layout:{},tags:[]},this.writeLayout({size:"full",indent:0})}mount(e,n){let r=e.get("mounted-nodes");return r||(r=new Map,e.register("mounted-nodes",r)),r.has(this)?(process.env.NODE_ENV!=="production"&&M.error("Trying to mount an already mounted component node.",this),()=>{}):(this.events.dispatch("components:node-mounted",{node:this}),this.mountCount===0&&(this.mountCount=this.mountCount+1,this.events.dispatch("components:node-enter",{node:this})),()=>{r.delete(this),this.events.dispatch("components:node-unmounted",{node:this}),this.mountCount=this.mountCount-1,this.mountCount===0&&this.events.dispatch("components:node-exit",{node:this})})}appendChild(e,n="default"){if(e.parent){if(e.parent===this)return;e.parent.removeChild(e)}e.parent=this,this.children[n]||(this.children[n]=[]),this.children[n].push(e),this.events.dispatch("components:node-appended",{node:e})}prependChild(e,n="default"){if(e.parent){if(e.parent===this)return;e.parent.removeChild(e)}e.parent=this,this.children[n]||(this.children[n]=[]),this.children[n].unshift(e),this.events.dispatch("components:node-appended",{node:e})}touchProperties(e,n={},r){const i=[{properties:e},n];return this.changesets.push(i),this.events.dispatch("components:set-properties",{node:this}),()=>{if(r){const a=this.changesets.indexOf(i);a>-1&&(this.changesets.splice(a,1),this.events.dispatch("components:set-properties",{node:this}))}}}writeProperties(e,n={},r){const i=[{properties:e},n];return this.changesets.push(i),this.events.dispatch("components:set-properties",{node:this}),()=>{if(r){const a=this.changesets.indexOf(i);a>-1&&(this.changesets.splice(a,1),this.events.dispatch("components:set-properties",{node:this}))}}}writeLayout(e,n={},r){const i=[{layout:e},n];return this.changesets.push(i),this.events.dispatch("components:set-layout",{node:this}),()=>{if(!r)return;const a=this.changesets.indexOf(i);a>-1&&(this.changesets.splice(a,1),this.events.dispatch("components:set-layout",{node:this}))}}writeContext(e,n={},r){const i=[{context:e},n];return this.changesets.push(i),this.events.dispatch("components:set-context",{node:this}),()=>{if(!r)return;const a=this.changesets.indexOf(i);a>-1&&(this.changesets.splice(a,1),this.events.dispatch("components:set-context",{node:this}))}}getChildren(e="default"){const n=this.children[e]||[];return n.reduce((r,s,i)=>{const{order:a=i}=s.attributes.layout;return r[a]?r.splice(a,0,s):r[a]=s,r},Array(n.length))}remove(){this.parent&&this.parent.removeChild(this)}removeChild(e){Object.keys(this.children).forEach(n=>{const r=this.children[n],s=r.indexOf(e);s>-1&&(r.splice(s,1),this.events.dispatch("components:node-removed",{node:e,parentNode:this}))}),delete e.parent}}const En=(t,e,n)=>{for(let r=0,s=t.length;r<s&&n(t[r])!==!0;r++){const i=e[t[r].id]||"default",a=t[r].getChildren(i);En(a,e,n)}},kt=(t,e,n)=>{if(n(t)!==!0){const r=e[t.id]||"default",s=t.children[r];En(s,e,n)}},Xe=(t,e)=>{const n=[];return kt(t,e,r=>{n.push(r)}),n},Ir=(t,e,n)=>{let r;return kt(t,e,s=>{if(n(s))return r=s,!0}),r};class Vr{constructor(e,n,r){this.root=e,this.switches=n,this.all=[],this.visible=[],this.detached=[],r.subscribe("components:node-appended",(s,i)=>{this.all.push(i.node),this.visible=Xe(e,n)}),r.subscribe("components:node-removed",(s,i)=>{let a=this.all.indexOf(i.node);a>-1&&this.all.splice(a,1),a=this.visible.indexOf(i.node),a>-1&&this.visible.splice(a,1),this.visible=Xe(e,n)}),r.subscribe("components:node-switched",(s,i)=>{this.visible=Xe(e,n)})}query(e={}){const n=[];return kt(this.root,this.switches,r=>{Object.keys(e).every(i=>e[i]===r[i])&&n.push(r)}),n}get(e){return Ir(this.root,this.switches,n=>n.id===e)||this.detached.find(n=>n.id===e)}}class Dr{constructor(){this.handlers=new Map}add(e,n){this.handlers.set(e,n)}get(e){return this.handlers.get(e)}}const Fr=t=>{let e=t,n=0;for(;e.parent;)n=n+1,e=e.parent;return n},_r=t=>t.map(([n,r])=>[Fr(n),n,r]).sort(([n],[r])=>n-r).map(([,n,r])=>[n,r]),et=t=>t instanceof Date?!1:t&&typeof t=="object"&&!Array.isArray(t),G=(t,...e)=>{if(!e.length)return t;const n=e.shift();if(et(t)&&et(n))for(const r in n)et(n[r])?(t[r]||Object.assign(t,{[r]:{}}),G(t[r],n[r])):Object.assign(t,{[r]:n[r]});return G(t,...e)},jr=(t,e)=>!t||t==="all"?!0:t.some(n=>e.indexOf(n)>-1),qr=(t,e)=>{let n=[],r=[],s;const i=()=>{process.env.NODE_ENV!=="production"&&console.time("state-processor.flush");const c=new Map,l=_r(n.map((u,d)=>[u,r[d]])),h=(u,d)=>{var E;const f=c.get(u)||{},p=d.context&&!f.context,g=d.properties&&!f.properties,v=d.layout&&!f.layout;c.set(u,{context:f.context||p,properties:f.properties||g,layout:f.layout||v}),g&&(u.attributes.properties={}),v&&(u.attributes.layout={}),p&&(u.attributes.context=G({},(E=u.parent)==null?void 0:E.attributes.context));const m=[],b=[],w=[];if(u.changesets.forEach(C=>{const[k,I]=C;jr(I.breakpoints,t.breakpoints)&&(g&&(typeof k.properties=="function"?m.push(k.properties):G(u.attributes.properties,k.properties)),v&&(typeof k.layout=="function"?b.push(k.layout):G(u.attributes.layout,k.layout)),p&&(typeof k.context=="function"?w.push(k.context):G(u.attributes.context,k.context)))}),m.forEach(C=>{G(u.attributes.properties,C(u.attributes.properties))}),b.forEach(C=>{G(u.attributes.layout,C(u.attributes.layout))}),w.forEach(C=>{G(u.attributes.context,C(u.attributes.context))}),p||d.recursive){const C=t.getBranch(u),k=d.recursive?d:{context:!!p};u.getChildren(C).forEach(I=>{h(I,k)})}};process.env.NODE_ENV!=="production"&&console.timeEnd("state-processor.flush"),l.forEach(([u,d])=>{h(u,d)}),n=[],r=[],e(c)},a=()=>{clearTimeout(s),s=setTimeout(i,0)};return(c,l)=>{const h=n.indexOf(c);if(h>-1){const u=r[h];return l.context&&(u.context=!0),l.properties&&(u.properties=!0),l.layout&&(u.layout=!0),l.recursive&&(u.recursive=!0),a()}return n.push(c),r.push(l),a()}};class kn{constructor(e,n={}){this.providers=n,this.breakpoints=[],this.actionsState={handlers:[],watchers:[]},this.switches={},this.changesets=[],this.subscriptions=[],this.customComponentHandler=new Dr,this.events=e.events.createChild(this);const r=new rn(this.events,"root");r.name=`root-${e.name}`,this.nodes=new Vr(r,this.switches,this.events);const s=this.processNode=qr(this,i=>{const a=Array.from(i.keys());process.env.NODE_ENV!=="production"&&console.info(`STATE PROCESSOR: ${a.length} node(s) processed:
|
|
2
|
+
${a.map(c=>`${c.name||"<no name>"} (${c.id})
|
|
3
|
+
`)}`),a.forEach(c=>{const l=i.get(c);c.parent&&c.parent.type==="root"&&this.events.dispatch("components:root-children-changed",{node:c}),l!=null&&l.context&&this.events.dispatch("components:context-changed",{node:c}),l!=null&&l.properties&&this.events.dispatch("components:properties-changed",{node:c}),l!=null&&l.layout&&this.events.dispatch("components:layout-changed",{node:c})}),this.events.dispatch("components:component-model-initialized",{},{bubbles:!0})});Promise.all(Object.keys(n).map(i=>n[i].load(this))),this.subscriptions.push(this.events.subscribe("components:node-appended",(i,a)=>{const{node:c}=a;this.changesets.forEach(l=>{const{changeset:h,target:u,removes:d}=l,[f,p]=h;u.match(a.node)&&(f.properties&&d.push(c.writeProperties(f.properties,p)),f.context&&d.push(c.writeContext(f.context,p)),f.layout&&d.push(c.writeLayout(f.layout,p)))})})),this.subscriptions.push(this.events.subscribe("components:node-appended",(i,a)=>{s(a.node,{properties:!0,context:!0})})),this.subscriptions.push(this.events.subscribe("components:set-properties",(i,a)=>{s(a.node,{properties:!0})})),this.subscriptions.push(this.events.subscribe("components:set-context",(i,a)=>{s(a.node,{properties:!0,context:!0})})),this.subscriptions.push(this.events.subscribe("components:set-indent",(i,a)=>{s(a.node,{layout:!0})})),this.subscriptions.push(this.events.subscribe("components:set-layout",(i,a)=>{s(a.node,{layout:!0})})),this.subscriptions.push(this.events.subscribe("components:node-switched",(i,{node:a,branch:c})=>{s(a,{layout:!0,recursive:!0,properties:!0,context:!0})})),this.subscriptions.push(this.events.subscribe("components:node-removed",(i,{parentNode:a})=>{s(a,{properties:!0})})),this.events.parent&&this.events.parent.dispatch("components:platform-created",{platform:this})}static getInstance(e){return e.getAsync("components")}addBreakpoint(e){this.breakpoints.indexOf(e)===-1&&(this.breakpoints.push(e),this.processNode(this.nodes.root,{context:!0,properties:!0,layout:!0,recursive:!0}))}removeBreakpoint(e){const n=this.breakpoints.indexOf(e);n>-1&&(this.breakpoints.splice(n,1),this.processNode(this.nodes.root,{context:!0,properties:!0,layout:!0,recursive:!0}))}setSwitch(e,n){this.switches[e.id]=n,this.events.dispatch("components:node-switched",{node:e,branch:n})}getBranch(e){return this.switches[e.id]}createNode(e,n={}){const r=new rn(this.events,e);return n.detached&&this.nodes.detached.push(r),r}components(){return new Ct(this)}actions(e,n){return new xt(this,e,n)}write(e){const{provider:n,target:r,attributes:s,options:i={},removable:a}=e,c=e.key||Ce(),h={changeset:[s,i],target:r,removes:[]};if(n){const u=this.providers[n];u.write(c,r,s,i),h.removes.push(()=>{u.remove(c)})}return this.changesets.push(h),this.nodes.all.forEach(u=>{if(r.match(u)){let d=()=>{};s.properties&&(d=u.writeProperties(s.properties,i,a)),s.context&&(d=u.writeContext(s.context,i,a)),s.layout&&(d=u.writeContext(s.layout,i,a)),h.removes.push(d)}}),()=>{if(a){h.removes.forEach(d=>d());const u=this.changesets.indexOf(h);u>-1&&this.changesets.splice(u,1)}}}addComponentHandler(e,n){this.customComponentHandler.add(e,n)}getComponentHandler(e){return this.customComponentHandler.get(e)}dispose(){this.subscriptions.forEach(e=>e())}}const Wr=(t,e,n,r=Ce(),s={})=>t.getAsync("components").then(i=>{let a;if(typeof e=="string"){const h=new Ct(i);h.ofType(e),a=h}else a=e;const c={},l=h=>{const u=c[h.id];return u?Promise.resolve(u.controller):kn.getInstance(t).then(d=>new xn(d,h,r))};i.events.subscribe("components:node-enter",(h,{node:u})=>{a.match(u)&&l(u).then(d=>{Promise.resolve(n(d)).then(f=>{c[u.id]={dispose:f,controller:d}})})}),i.events.subscribe("components:node-exit",(h,{node:u})=>{const d=c[u.id];d&&(d.dispose&&d.dispose(),s.reuseController||(d.controller.dispose(),delete c[u.id]))})}),Zr="#____version____#",$n=class extends Cn{constructor(t,e=[]){super(t,e,{transformPluginSettings:(n,r,s)=>{const i=s.get("$settings");return{...i.plugins&&r?i.plugins[r]||{}:{},...n}}})}createImplementation(t){const e=super.createImplementation(t);return e.bindings=t.bindings,e}navigate(t,e,n){this.widgets.query(t).forEach(r=>r.invoke("navigate",{route:e,params:n}))}static create(t={}){const e=[sr].concat(t.configurationApiExtensions||[]);return new $n("humany",e)}static createFromGlobal(t,e={}){if(this.isRuntime(t))return t.patch(e),t;const n=[],r=t&&t._c;r&&r.forEach(i=>n.push(i));const s=this.create(e);return s.container.register("$runtimecfg",n),s}static isRuntime(t){return!!(t&&typeof t=="object"&&t.container&&typeof t.container.get=="function"&&t.container.get("$environment")===t&&t.container.owner===t)}};let Ur=$n;Ur.version=`${Zr} (${wt})`;class $t extends yr{constructor(e,n){super(e,n)}}var be=(t=>(t.open="open",t.closed="closed",t.hidden="hidden",t))(be||{}),Pe=(t=>(t.guide="guide",t.link="link",t.default="default",t))(Pe||{}),F=(t=>(t.Cookie="cookie",t.Local="local",t.Session="session",t))(F||{}),St=(t=>(t.Tenant="tenant",t.Implementation="implementation",t.Widget="widget",t))(St||{}),z=(t=>(t.Necessary="necessary",t.Functional="functional",t.Analytical="analytical",t.Marketing="marketing",t))(z||{});const Lt=(t,e,n,r={})=>sn(t,n).then(s=>(process.env.NODE_ENV!=="production"&&s&&M.warn(`createStorageWriter: Attempted to create storage writer using unallowed category.
|
|
4
|
+
Key: ${e}
|
|
5
|
+
Category: ${JSON.stringify(n)}
|
|
6
|
+
Options: ${JSON.stringify(r)}`),i=>(At(t),sn(t,n).then(a=>{if(a){process.env.NODE_ENV!=="production"&&M.warn(`storageWriter: Attempted to write to storage using unallowed category.
|
|
7
|
+
Key: ${e}
|
|
8
|
+
Category: ${JSON.stringify(n)}
|
|
9
|
+
Value: ${JSON.stringify(i)}
|
|
10
|
+
Options: ${JSON.stringify(r)}`);return}const{scope:c=St.Widget,medium:l=F.Session,duration:h}=r,u=Gr();return u[c][e]=Nn(i,n,h),l===F.Cookie?es(t,u):ns(t,l,u)})))),Nt=(t,e,n=F.Session)=>(At(t),typeof e>"u"?(process.env.NODE_ENV!=="production"&&M.warn("readStorage: Undefined key passed when reading storage. ",e,n),Promise.resolve(void 0)):n===F.Cookie?Xr(t).then(r=>dt(r,e)):ts(t,n).then(r=>dt(r,e))),ce=t=>!!Object.entries(t).filter(([e,n])=>typeof n<"u").length,tt=t=>Object.entries(t).filter(([e,n])=>typeof n<"u").forEach(([e,{value:n}])=>{typeof n>"u"&&delete t[e]}),Sn=(t,e)=>{const n={tenant:{...t.tenant,...e.tenant},implementation:{...t.implementation,...e.implementation},widget:{...t.widget,...e.widget}};return tt(n.tenant),tt(n.implementation),tt(n.widget),n},Kr=t=>Object.entries(t).reduce((n,r)=>{const[s,i]=r;return Object.entries(i).forEach(a=>{const[c,{expiration:l}]=a;l&&n.push(l)}),n},[]).slice().sort((n,r)=>new Date(r).valueOf()-new Date(n).valueOf()).shift()||Ot(),We=t=>{const{name:e,implementation:{name:n,tenant:r}}=t.get("$widget");return[`humany_${r}`,`humany_${nn(r+n)}`,`humany_${nn(r+n+e)}`]},nt=t=>{const e=new RegExp(`(?:^|;)\\s?${t}=(.*?)(?:;|$)`,"i"),n=document.cookie.match(e);return n&&n[1]&&JSON.parse(n[1])||void 0},rt=(t,e,n)=>{const r=`${t}=${JSON.stringify(e).trim()}`,s=`expires=${new Date(n).toUTCString()}`,i="path=/",a="SameSite=None;Secure";return document.cookie=`${r}; ${s}; ${i}; ${a}`},Rt=t=>{const[e,n,r]=We(t),s=nt(e)||{},i=nt(n)||{},a=nt(r)||{};return{tenant:s,implementation:i,widget:a}},Ln=(t,e)=>{const n=Rt(t),r=Sn(n,e),[s,i,a]=We(t),{tenant:c,implementation:l,widget:h}=r,u=Kr(e),d=Ot({days:-1});rt(s,c,ce(c)?u:d),rt(i,l,ce(l)?u:d),rt(a,h,ce(h)?u:d)},Fe=(t,e)=>{const[n,r,s]=We(t),i=e.getItem(n)||"{}",a=e.getItem(r)||"{}",c=e.getItem(s)||"{}";return{tenant:JSON.parse(i),implementation:JSON.parse(a),widget:JSON.parse(c)}},ht=(t,e,n)=>{const r=Fe(t,e),s=Sn(r,n),[i,a,c]=We(t),{tenant:l,implementation:h,widget:u}=s;ce(l)?e.setItem(i,JSON.stringify(l)):e.removeItem(i),ce(h)?e.setItem(a,JSON.stringify(h)):e.removeItem(a),ce(u)?e.setItem(c,JSON.stringify(u)):e.removeItem(c)},Gr=()=>({tenant:{},implementation:{},widget:{}}),Jr=t=>t?!!t&&new Date>new Date(t):!1,dt=(t,e)=>{const n=t.widget[e]||t.implementation[e]||t.tenant[e];return n==null?void 0:n.value},Nn=(t,e,n)=>n?{value:t,category:e,expiration:typeof n=="object"?Ot(n):n}:{value:t,category:e},Qr=(t,e)=>{const n=Et(t);return Object.entries(n).forEach(([r,s])=>{Object.entries(s).forEach(([i,a])=>{const{expiration:c,category:l}=a;(Jr(c)||Yr(e,l))&&(s[i]=Nn(void 0,l,c))})}),n},sn=(t,e)=>Nt(t,"storagePolicy",F.Cookie).then((n=[z.Necessary])=>!!e&&n.indexOf(e)===-1),Yr=(t=[z.Necessary],e)=>!!e&&t.indexOf(e)===-1,At=t=>{const e=Rt(t),n=Fe(t,window.localStorage),r=Fe(t,sessionStorage),s=dt(e,"storagePolicy"),[i,a,c]=[e,n,r].map(l=>Qr(l,s));Ln(t,i),ht(t,window.localStorage,a),ht(t,window.sessionStorage,c)},Ot=(t={days:30})=>{const{days:e=0,hours:n=0,minutes:r=0,seconds:s=0}=t,i=new Date;return i.setTime(i.getTime()+n*60*60*1e3),i.setTime(i.getTime()+e*24*60*60*1e3),i.setTime(i.getTime()+r*60*1e3),i.setTime(i.getTime()+s*1e3),i.toISOString()},Xr=t=>we(document)(()=>Rt(t)),es=(t,e)=>we(document)(()=>Ln(t,e)),ts=(t,e)=>{const n=e===F.Local?window.localStorage:window.sessionStorage;return we(n)(()=>Fe(t,n))},ns=(t,e,n)=>{const r=e===F.Local?window.localStorage:window.sessionStorage;return we(r)(()=>ht(t,r,n))};je(t=>{t.createCommand("storage",e=>(n={})=>{const{consent:r}=n;if(typeof r<"u"){if(typeof r!="number"&&typeof r!="string"&&!Array.isArray(r)){process.env.NODE_ENV!=="production"&&M.warn(`storagePolicyConfigurationApi: passed consent is not valid. Consent either has to be a number, a string, an array of strings or an array of numbers.
|
|
11
|
+
Passed consent: ${JSON.stringify(r)}`);return}if(Array.isArray(r)&&!r.every(i=>typeof i=="number"||typeof i=="string")){process.env.NODE_ENV!=="production"&&M.warn(`storagePolicyConfigurationApi: passed consent is not valid. Consent either has to be a number, a string, an array of strings or an array of numbers.
|
|
12
|
+
Passed consent: ${JSON.stringify(r)}`);return}const s=[z.Necessary,z.Functional,z.Analytical,z.Marketing].filter((i,a,c)=>typeof r=="number"?r>a:typeof r=="string"?c.indexOf(r)+1>a:Array.isArray(r)?r.findIndex(l=>l===a+1||l===i)>-1:!0);return s.indexOf(z.Necessary)===-1&&(process.env.NODE_ENV!=="production"&&M.warn(`storagePolicyConfigurationApi: passed consent does not include category: '${z.Necessary}'. Consent has to atleast include the '${z.Necessary}' category.
|
|
13
|
+
Passed consent: ${JSON.stringify(r)}`),s.unshift(z.Necessary)),Lt(e.container,"storagePolicy",z.Necessary,{medium:F.Cookie,scope:St.Tenant,duration:{days:365}}).then(i=>i(s)).then(()=>{At(e.container),e.events.dispatch("storage:policy-changed",s)})}})});const Rn="favorites",Mt=async t=>await Lt(t,Rn,z.Necessary,{medium:F.Local}),Pt=async t=>await Nt(t,Rn,F.Local)||[],rs=async(t,e)=>{const n=await Mt(e),r=await Pt(e);if(r.indexOf(t)>-1)return r;const s=r.concat(t);return n(s),s},ss=async(t,e)=>{const n=await Mt(e),s=(await Pt(e)).filter(i=>i!==t);return n(s),s},is=async t=>{try{return await Pt(t)}catch{return[]}},os=async t=>((await Mt(t))([]),[]),st=(t,e)=>{const{updated:n}=e,{events:r}=t.get("$widget");r.dispatch("widget:favorites-updated",{updated:n})},as=t=>{let e=[];const n=()=>{is(t).then(c=>{e=c})},r=()=>e,s=async c=>{const l=await rs(c,t);return e=l,st(t,{updated:l}),l},i=async()=>{const c=await os(t);return e=c,st(t,{updated:c}),c},a=async c=>{const l=await ss(c,t);return e=l,st(t,{updated:l}),l};return n(),{add:s,get:r,clear:i,remove:a}};class cs extends $t{constructor(e,n){super(e),this.settings=n,this.handler=as(e),e.register("favorites",this.handler)}}const on=t=>{const e=document.createElement("a");return e.href=t,e.protocol+"//"+e.hostname+e.pathname+e.hash+e.search};class ls{constructor(e,n,r){this.url=e,this.required=n,this.type=r}getFileInfo(){let e;const r=/^([a-z][a-z0-9+\-.]*:(\/\/[^\/?#]+)?)?([a-z0-9\-._~%!$&'()*+,;=:@\/]*)/gi.exec(this.url);if(!this.type&&r&&r.length>3&&(e=r[3].split("."),e=e[e.length-1]),e==="js"||this.type==="script")return{type:"javascript",elementType:"script",sourceAttribute:"src",attributes:{src:this.url,type:"text/javascript"}};if(e==="css"||this.type==="style")return{type:"stylesheet",elementType:"link",sourceAttribute:"href",attributes:{href:this.url,rel:"stylesheet"}}}isPresent(){const e=this.getFileInfo();if(e){const r=document.getElementsByTagName("html")[0].getElementsByTagName(e.elementType);for(let s=0;s<r.length;s++)if(this.equals(r[s].getAttribute(e.sourceAttribute)||""))return!0}return!1}equals(e){return on(this.url)===on(e)}}const an=(t,e,n)=>{const r=new RegExp(`([?&])${e}=.*?(&|$)`,"i"),s=t.indexOf("?")>-1?"&":"?";return t.match(r)?t.replace(r,`$1${e}:${encodeURIComponent(n)}$2`):`${t}${s}${e}=${encodeURIComponent(n)}`},An=(...t)=>{const e=t[0],n=t[1],r=typeof t[2]>"u"?1e3:t[2],s=t[3]||function(){},i=10;for(;!n();){r<=0?s():setTimeout(()=>{An(e,n,Math.max(r-i,0),s)},i);return}e()},cn=t=>typeof t=="function",On=(t,e)=>{t.sheet||t.styleSheet&&t.styleSheet.cssText.length>0||t.innerHTML&&t.innerHTML.length>0?e():setTimeout(On,10,t,e)};class us{constructor(e){this.cacheBuster=e,this.resources=[],this.loadedResources={}}add(e,n,r,s){let i=e;if(this.cacheBuster&&(i=an(i,"v",this.cacheBuster)),r)for(const a in r)r.hasOwnProperty(a)&&(i=an(i,a,r[a]));this.resources.push(new ls(i,!!n,s))}load(e,n){let r=this.resources.length;if(n)(function i(a,c,l){l.insertResource(a[c],()=>{++c<a.length?i(a,c,l):cn(e)&&setTimeout(e.call(l))})})(this.resources,0,this);else for(let i=0,a=this.resources.length;i<a;i++)this.insertResource(this.resources[i],s);function s(i){--r===0&&cn(e)&&setTimeout(()=>e())}}insertResource(e,n){var s;if(e.isPresent()){this.loadedResources[e.url]===void 0?n.call(this,e):An(()=>n.call(this,e),()=>this.loadedResources[e.url]===!0);return}this.loadedResources[e.url]=!1;const r=e.getFileInfo();if(r){const i=document.createElement(r.elementType),a=((s=window.webprovisionsEnvironmentVariables)==null?void 0:s.cspNonce)||void 0;a&&(i.nonce=a,i.setAttribute("nonce",a)),e.required&&(i.readyState?i.onreadystatechange=function(){(i.readyState==="loaded"||i.readyState==="complete")&&(this.loadedResources[e.url]=!0,i.onreadystatechange=null,n.call(this,e))}:r.type==="stylesheet"?On(i,()=>{this.loadedResources[e.url]=!0,n.call(this,e)}):i.onload=()=>{this.loadedResources[e.url]=!0,n.call(this,e)});for(const c in r.attributes)i[c]=r.attributes[c];document.getElementsByTagName("head")[0].appendChild(i)}e.required||n.call(this,e)}}const hs=t=>{const e=document.createElement("a");return e.href=t,`//${e.hostname}/`};class ds extends $t{constructor(e,n={}){super(e),this.widget.events.subscribeOnce("widget:attached",()=>{var i,a;const{data:{projection:r}}=this.container.get("$settings");if(r){const c=hs(r),l=new us;l.add(`${c}ClientLibraries/Supplementary/font-awesome-4.7.0/css/font-awesome.min.css`),l.add(`${c}${(i=this.container.parent)==null?void 0:i.name}/widgets.css`),l.load()}const{initialCss:s=""}=n;if(s.length){const c=document.createElement("style"),l=((a=window.webprovisionsEnvironmentVariables)==null?void 0:a.cspNonce)||void 0;l&&(c.nonce=l,c.setAttribute("nonce",l)),c.innerHTML=s,document.head.appendChild(c)}})}}const fs=async(t,e)=>{const{denyAutoExpandContactMethods:n}=e;if(n){const r=new RegExp(n);Wr(t,"contact-list",s=>{s.properties(({contactMethods:i=[]})=>{const a=i.filter(({clientName:c})=>r.test(c));if(a.length)return a.forEach(c=>{c.expanded=!1,c.inline=!1}),{contactMethods:i}})})}return[]},ln=t=>Promise.resolve().then(()=>require("./index-373df3a5.js")).then(({ServiceClient:e,ServiceProxy:n})=>t.get("settings").then(r=>{const{name:s,events:i}=t.get("$widget"),{data:{projection:a="",site:c="current",forceHttps:l=!1}}=r,h=new n(a,{credentials:"same-origin"}),u=new e(h,{funnel:s.replace("_contact-method","").replace("_contact",""),site:ms(c,l)},null,t);return i.subscribe("widget:settings-updated",(d,{data:f})=>{f&&f.projection!==a&&u.proxy.setBaseUrl(f.projection)}),u})),ms=(t,e)=>()=>{const n=s=>{const i=document.createElement("a");return i.href=s,i};let r=window.location;return t==="referrer"&&document.referrer&&(r=n(document.referrer)),[e?"https:":"","//",r.host,r.pathname].join("")};function D(t,e){return t.hints&&t.hints.indexOf(e)>-1}function ps(t){return t.constraints&&t.constraints.verifyValue}function gs(t){return t.constraints&&t.constraints.required}function ys(t){const e=t.hints.filter(n=>n.indexOf("=")>-1&&n.split("=")[0]==="linkText")[0]||null;return e?e.split("=")[1]:null}function vs(t){const e=t.hints.filter(n=>n.indexOf("=")>-1&&n.split("=")[0]==="url")[0]||null;return e?e.split("=")[1]:null}function bs(t){const e=t.hints.filter(n=>n.indexOf("=")>-1&&n.split("=")[0]==="availableHours")[0]||null;return e?e.split("=")[1]||[]:[]}function ws(t){const e=t.hints.filter(n=>n.indexOf("=")>-1&&n.split("=")[0]==="minuteInterval")[0]||null;return e?e.split("=")[1]||[]:[]}function un(t){return t.components?"Fieldset":D(t,"fullname")?"Name":D(t,"address")?"Address":D(t,"dropdown")?"DropDownList":D(t,"checkbox")?"CheckboxList":D(t,"radio")?"RadioButtonList":D(t,"email")?"Email":D(t,"agreement")?"Agreement":D(t,"phonenumber")?"PhoneNumber":D(t,"date")?"Date":t.type==="text/paragraph"?"Textarea":t.type==="text/number"?"Number":t.type==="text/password"?"Password":t.type==="hidden"?"Hidden":t.type==="file"?"File":t.type==="hwebsite"?"AntiSpam":"Text"}function Cs(t){if(t.hints)for(let e=0;e<t.hints.length;e++){const n=t.hints[e];if(n.substr(0,12)==="placeholder=")return n.substr(12)}}function xs(t){return t.children||t.components||t.groups?"object":"string"}class Tt{constructor(e,n,r,s=r.getErrorMessage,i=r.getGeneralErrors){if(this.name=e,this.source=n,this.parent=r,this.getErrorMessage=s,this.getGeneralErrors=i,this.children=[],this.isValid=!this.getGeneralErrors(this.source)&&!this.getErrorMessage(this.source),!this.isValid){let a=this.parent;for(;a;)a.isValid=!1,a=a.parent}n.dataPath=r&&r.source?`${r.source.dataPath}.${e}`:e,this.schema={type:"object",actionKey:r?`${r.createSchema().actionKey}.${e}`:e,required:[]}}createChild(e,n){const r=new Tt(e,n,this);return this.children.push(r),r}createSchema(){const e=Object.assign({},this.schema);return this.id&&(e.id=this.id),this.source&&(e.type=xs(this.source),e.title=this.source.title,e.evaluate=this.source.hasDependants,e.isValid=this.isValid,this.source.options&&(D(this.source,"multiple")?(e.type="array",e.items={type:"string",enum:this.source.options.map(n=>n.value)}):e.enum=this.source.options.map(n=>n.value))),this.children&&this.children.length&&(e.properties={},this.children.forEach(n=>{e.properties[n.name]=n.createSchema(),gs(n.source)&&e.required.push(n.name)})),e}createLayout(){const e={};if(this.source){const r=un(this.source)==="Fieldset";e["ui:component"]=un(this.source),e["ui:placeholder"]=Cs(this.source),e["ui:description"]=this.source.description,e["ui:tags"]=this.source.hints?this.source.hints.filter(s=>s.indexOf("=")===-1):[],e["ui:hidden"]=!this.source.visible,e["ui:error"]=this.getErrorMessage(this.source)||r&&this.getGeneralErrors(this.source),this.source.options&&(e["ui:enumNames"]=this.source.options.map(s=>s.title)),r&&this.schema.required.length&&(e["ui:hasRequiredChildren"]=!0),e["ui:component"]==="Agreement"&&(e["ui:linkText"]=ys(this.source),e["ui:link"]=vs(this.source)),e["ui:component"]==="PhoneNumber"&&(e["ui:options"]=this.source.options),e["ui:component"]==="Date"&&(e["ui:availableHours"]=bs(this.source),e["ui:minuteInterval"]=ws(this.source))}return this.children&&(e["ui:order"]=[],this.children.forEach(n=>{e["ui:order"].push(n.name),e[n.name]=n.createLayout()})),e}createData(){if(this.children.length>0){const e={};return this.children.forEach(n=>{e[n.name]=n.createData()}),e}return this.source.type==="choice"?D(this.source,"multiple")?this.source.options.filter(e=>e.selected).map(e=>e.value):this.source.options.filter(e=>e.selected).map(e=>e.value).join(","):this.source.value}}function Es(t,e,n,r){const s=new Tt(t,{title:"",groups:e.groups},null,n,r);return s.id=t,s}let ks=class{constructor(e,n,r){this.validationSource=r,this.getErrorMessage=this.getErrorMessage.bind(this),this.getGeneralErrors=this.getGeneralErrors.bind(this),this.validationSource=r,this.root=Es(e,{title:"",groups:n.groups},this.getErrorMessage,this.getGeneralErrors)}create(){return{schema:this.root.createSchema(),layout:this.root.createLayout(),data:this.root.createData()}}getGeneralErrors(e){if(this.validationSource&&this.validationSource.generalErrors&&this.validationSource.generalErrors.length>0)return this.validationSource.generalErrors[0]}getErrorMessage(e){if(this.validationSource&&e.name&&this.validationSource.errors&&this.validationSource.errors[e.name])return this.validationSource.errors[e.name]}};const $s=(t,e)=>{const n=t.hints.find(r=>r.startsWith(e+"="));if(n)return n.substr(e.length+1)};function Ss(t,e,n,r){const s=De(e),i=n?De(n):void 0,a=new ks(t,s,i),c=a.root;return(s.Groups||s.groups).forEach((l,h)=>{const u=l.title||"group",d=l.name||`${u}[${h}]`,f=c.createChild(d,l),p=l.components;p&&p.forEach((g,v)=>{const m=g.name||`${g.title}[${v}]`,b=f.createChild(m,g);if(ps(g)){const w=$s(g,"verifyLabel")||`Confirm ${g.title}`;f.createChild(`${m}$VerifyValue`,{...g,name:`${g.name}$VerifyValue`,title:w,value:s.extra&&s.extra[`${g.name}$VerifyValue`]||""})}g.children&&g.children.forEach((w,E)=>{const C=w.name||`${w.title}[${E}]`;b.createChild(C,w)})})}),a.create()}const Oe=(t,e)=>typeof t>"u"?e:t,Ls=(t,e)=>{let n=t["ui:order"];n||(n=[],t["ui:order"]=n),n.push(e)},Ns=(t,e)=>`${t.schema.id}$${e}`,Rs=(t,e)=>(t.schema.properties=Oe(t.schema.properties,{}),t.schema.properties[e.name]={id:e.id||Ns(t,e.name),type:e.type,title:e.title,isValid:!0,required:[],evaluate:Oe(e.evaluate,!1),actionKey:e.actionKey,items:e.items?{type:"string",enum:e.items.map(n=>n.value)}:void 0},e.required===!0&&t.schema.required.push(e.name),Ls(t.layout,e.name),t.layout=Oe(t.layout,{}),t.layout[e.name]={"ui:component":e.component,"ui:description":e.description,"ui:placeholder":e.placeholder,"ui:onClick":e.onClick||void 0,"ui:enumNames":e.items?e.items.map(n=>n.label):void 0},t.data=Oe(t.data,{}),t.data[e.name]=e.type==="object"?{}:e.value,t),As=(t,e)=>Object.assign({},{schema:t.schema.properties[e],layout:t.layout[e],data:t.data[e]}),Os=(t,e,n)=>{const r=As(t,e),s=new ne(r);return n(s),s},Mn=(t,e,n,r,s=[])=>{Object.keys(t).forEach(i=>{i===e&&s.indexOf(i)===-1&&(t[i]=n,s.push(i),r&&(t["data:options"]=t["data:options"]||{},t["data:options"][i]=r)),typeof t[i]=="object"&&Mn(t[i],e,n,r,s)})},Pn=(t,e,n,r)=>{t&&t["ui:component"]===e&&(t[`ui:${n}`]=r),t&&Object.keys(t).forEach(s=>{typeof t[s]=="object"&&Pn(t[s],e,n,r)})},Te=(t,e,n)=>{t!==null&&typeof t=="object"&&e===null&&n(t),t!==null&&typeof t=="object"&&typeof t[e]=="object"?n(t[e]):t!==null&&typeof t=="object"&&Object.keys(t).forEach(r=>{Te(t[r],e,n)})},ze=(t,e,n)=>{t&&t.properties&&e&&typeof t.properties[e]=="object"?n(t.properties[e]):t&&t.properties&&Object.keys(t.properties).forEach(r=>{t.properties&&ze(t.properties[r],e,n)}),e===null&&n(t)};class ne{constructor(e){this.form=e}createComponent(e,n){return this.form=Rs(this.form,e),n&&Os(this.form,e.name,n),new ne(this.form)}setData(e,n,r){Mn(this.form.data,e,n,r)}setLayout(e,n,r){Pn(this.form.layout,e,n,r)}setMeta(e){return this.form.meta=e,this.form}setValidationErrors(e){if(e){const{general:n,...r}=e;Te(this.form.layout,null,s=>s["ui:error"]=!1),ze(this.form.schema,null,s=>s.isValid=!0),this.form.schema.isValid=!1,n&&this.form.layout["group[0]"]&&(this.form.layout["group[0]"]["ui:error"]=n),Object.keys(r).forEach(s=>{Te(this.form.layout,s,i=>i["ui:error"]=r[s]),ze(this.form.schema,s,i=>i.isValid=!1)})}else Te(this.form.layout,null,n=>n["ui:error"]=!1),ze(this.form.schema,null,n=>n.isValid=!0);return new ne(this.form)}get(){return this.form}static create(e){const n={schema:{id:e,type:"object",title:"",isValid:!0,required:[]},layout:{},data:{}};return new ne(n)}static fromLegacyForm(e,n,r,s){const i=Ss(e,n,r);return new ne(i)}}var ft=(t=>(t.Opera="opera",t.Chrome="chrome",t.Firefox="firefox",t.Safari="safari",t.Edge="edge",t.EdgeChromium="edge-chromium",t.Blink="blink",t.IE="internet-explorer",t))(ft||{});const hn=()=>{const{opr:t,opera:e,InstallTrigger:n,HTMLElement:r,safari:s,documentMode:i,StyleMedia:a,chrome:c,CSS:l}=window,h=!!t&&!!t.addons||!!e||navigator.userAgent.indexOf(" OPR/")>=0;if(h)return"opera";if(n)return"firefox";const u=(p=>p.toString()==="[object SafariRemoteNotification]")(!s||typeof s<"u"&&s.pushNotification);if(/constructor/i.test(r)||u)return"safari";const d=!!i;if(d)return"internet-explorer";if(!d&&a)return"edge";const f=!!c&&(!!c.webstore||!!c.runtime);if(f)return"chrome";if(f&&navigator.userAgent.indexOf("Edg")!==-1)return"edge-chromium";if((f||h)&&l)return"blink"},Ms=["string","number"],_=t=>Object.keys(t).reduce((e,n)=>{const r=typeof t[n]>"u"?"":t[n],s=typeof r;if(Ms.indexOf(s)>-1){const i=n.substring(0,5);i==="data-"||i==="aria-"?e[zr(n)]=r.toString():n.substring(0,4)!=="css-"&&(e[n]=r.toString())}else e[n]=r;return e},{}),Ps=t=>new RegExp("^#","i").test(t),Ts=t=>({children:e,...n})=>{const{implementation:r,name:s}=t.get("$widget"),{href:i=""}=n;if(Ps(i))return o.createElement(js,{smooth:!0,to:i},e);const a=r.bindings.map(h=>h.replace(/\./g,"\\.")).join("|"),l=new RegExp(`^((http[s]?:)?//)?(${a})/([^\\s]+)`).exec(i);if(l&&l.length>=4){const h=l[4];if(r.widgets.get(h)&&!h.startsWith("blob?")&&!h.startsWith(s))return o.createElement(eo,{widgetName:h},e)}return o.createElement("a",{...n},e)},Tn=t=>{const e={};return Object.keys(t).forEach(n=>{n.indexOf("css-")>-1&&(e[n]=t[n])}),e},zs=t=>{let e="";return Object.keys(Tn(t)).forEach(n=>{n.indexOf("css-")>-1&&(e+=`${n.replace("css-","")}:${t[n]};`)}),$.css`
|
|
14
|
+
${e}
|
|
15
|
+
`},Hs=(t,e)=>{let n="";const r=()=>{n=""},s=u=>{const d=document.getElementById(n);return d!==null?(u(d),r(),!0):!1},i=u=>(u.preventDefault(),r(),t.onClick&&t.onClick(u),typeof t.to=="string"&&(n=t.to.split("#").slice(1).join("#")),n!==""&&s(t.scroll||(d=>t.smooth?d.scrollIntoView({behavior:"smooth"}):d.scrollIntoView())),!1),{scroll:a,smooth:c,to:l,...h}=t;return e==="a"&&(h.href="javascript:;"),o.createElement(e,{...h,onClick:i},t.children)},zt=t=>(e,n)=>{let r=e,s="";if(["h1","h2","h3","h4","h5","h6"].includes(e))r=e;else{const c=e.match(/h1|h2|h3|h4|h5|h6/);if(c!=null&&c[0]){r=c[0];const[l]=e.split(r);s=l}}const a=((c,l,h)=>h[c]?`${l}${h[c]}`:`${l}${c}`)(r,s,t.theme.typographyVariantMapping||{});return $.css`
|
|
16
|
+
${a} {
|
|
17
|
+
${n}
|
|
84
18
|
}
|
|
85
|
-
`};var
|
|
19
|
+
`};var Bs=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Is(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function zn(t){if(t.__esModule)return t;var e=t.default;if(typeof e=="function"){var n=function r(){if(this instanceof r){var s=[null];s.push.apply(s,arguments);var i=Function.bind.apply(e,s);return new i}return e.apply(this,arguments)};n.prototype=e.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(t).forEach(function(r){var s=Object.getOwnPropertyDescriptor(t,r);Object.defineProperty(n,r,s.get?s:{enumerable:!0,get:function(){return t[r]}})}),n}var Hn={exports:{}};(function(t,e){(function(n,r){t.exports=r(o)})(Bs,function(n){function r(d,f,p,g){return f===void 0&&(f={}),Object.keys(f).reduce(function(v,m){if(/^on.*/.test(m))return v;var b=m;/^(data|aria)-/.test(m)||p.filter(function(P){return P instanceof RegExp?P.test(m):P===m}).length===0&&(b=s(m));var w,E,C=g(d,b);if(C.name==="style")v[C.name]=(w=f.style,E={},w.split(";").filter(function(P){return P.trim()!==""}).forEach(function(P){var S,T=P.split(":");if(T.length>1){var Z=function(R){return/^-ms-/.test(R)&&(R=R.substr(1)),R.startsWith("--")?R:s(R)}(T[0].trim()),O=(S=T.slice(1).join(":").trim(),/^\d+$/.test(S)?Number(S):S.replace(/'/g,'"'));E[Z]=O}}),E);else{var k=f[m],I=k===""||String(k).toLowerCase()===b.toLowerCase();v[C.name]=C.isBoolean?I:k}return v},{})}function s(d){return d.replace(/(-|:)(.)/g,function(f,p,g){return g.toUpperCase()})}n=n&&n.hasOwnProperty("default")?n.default:n;var i=["table","tbody","thead","tfoot","tr"],a={for:"htmlFor",class:"className",allowfullscreen:["allowFullScreen","allowFullscreen"],autocomplete:"autoComplete",autofocus:["autoFocus"],contenteditable:"contentEditable",spellcheck:"spellCheck",srcdoc:"srcDoc",srcset:"srcSet",itemscope:"itemScope",itemprop:"itemProp",itemtype:"itemType"};function c(d,f){var p=a[f],g=document.createElement(d);if(p)return{name:Array.isArray(p)?p[0]:p,isBoolean:l(g,Array.isArray(p)?p[1]||f:p)};for(var v in g)if(v.toLowerCase()===f.toLowerCase())return{name:v,isBoolean:l(g,v)};return{name:f,isBoolean:l(g,f)}}function l(d,f){return d.setAttribute(f,""),d[f]===!0||h.indexOf(f)>-1}var h=["itemScope"];function u(d,f,p,g){g===void 0&&(g=null);var v=p[d],m=p._;return v?n.createElement(v,f,g):m?m(d,f,g):n.createElement(d,f,g)}return function(d,f){if(f===void 0&&(f={}),typeof d!="string")throw new TypeError("Expected HTML string");var p=document.createElement("div");p.innerHTML=d.trim();var g=Array.from(p.childNodes).map(function(v,m){return function b(w,E,C){var k=C.transform||{},I=C.preserveAttributes||[],P=C.dangerouslySetChildren||["style"],S=k._;if(w.nodeType===8)return null;if(w.nodeType===3){var T=w.textContent;return S?S(T):T}for(var Z={},O=w.attributes,R=0;R<O.length;R++)Z[O[R].name]=O[R].value;Z.key=E.toString();var U=w.tagName.toLowerCase(),de=r(U,Z,I,c),Ee=Array.from(w.childNodes).map(function(Y,oe){return i.indexOf(U)>-1&&Y.nodeType===3&&(Y.textContent=Y.textContent.trim(),Y.textContent==="")?null:b(Y,E+"."+oe,C)}).filter(Boolean);if(P.indexOf(U)>-1){var ie=w.innerHTML;return ie&&(U!=="style"&&U!=="script"&&(ie=ie.replace(/"/g,""")),de.dangerouslySetInnerHTML={__html:ie.trim()}),u(U,de,k)}var ke=Ee.length===0?null:Ee;return u(U,de,k,ke)}(v,String(m),f)}).filter(Boolean);return g.length===1?g[0]:g}})})(Hn);var Vs=Hn.exports;const dn=Is(Vs);function Ds(t,e){return e?dn(t,e):dn(t)}const Fs=t=>e=>o.createElement(Vi,{attrs:e,htmlBody:t}),_s=(t,e)=>({transform:{a:Ts(t),img:Fs(e)}}),js=t=>Hs(t,"a"),re=o.forwardRef(({className:t,children:e,...n},r)=>o.createElement(qs,{type:"button",className:L(t,"humany-button"),..._(n),ref:r},e)),qs=y.button`
|
|
86
20
|
-webkit-appearance: button;
|
|
87
21
|
text-transform: none;
|
|
88
22
|
overflow: visible;
|
|
@@ -95,182 +29,8 @@ You may have forgotten to import it.`);var f=i.__emotion_real===i,h=f&&i.__emoti
|
|
|
95
29
|
line-height: normal;
|
|
96
30
|
margin: 0;
|
|
97
31
|
padding: 0;
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
(c) Sindre Sorhus
|
|
101
|
-
@license MIT
|
|
102
|
-
*/var MS,N3;function yO(){if(N3)return MS;N3=1;var o=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,l=Object.prototype.propertyIsEnumerable;function f(m){if(m==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(m)}function h(){try{if(!Object.assign)return!1;var m=new String("abc");if(m[5]="de",Object.getOwnPropertyNames(m)[0]==="5")return!1;for(var v={},S=0;S<10;S++)v["_"+String.fromCharCode(S)]=S;var b=Object.getOwnPropertyNames(v).map(function(T){return v[T]});if(b.join("")!=="0123456789")return!1;var x={};return"abcdefghijklmnopqrst".split("").forEach(function(T){x[T]=T}),Object.keys(Object.assign({},x)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return MS=h()?Object.assign:function(m,v){for(var S,b=f(m),x,T=1;T<arguments.length;T++){S=Object(arguments[T]);for(var k in S)i.call(S,k)&&(b[k]=S[k]);if(o){x=o(S);for(var L=0;L<x.length;L++)l.call(S,x[L])&&(b[x[L]]=S[x[L]])}}return b},MS}var AS,D3;function BC(){if(D3)return AS;D3=1;var o="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return AS=o,AS}var zS,L3;function qT(){return L3||(L3=1,zS=Function.call.bind(Object.prototype.hasOwnProperty)),zS}var $S,M3;function gO(){if(M3)return $S;M3=1;var o=function(){};if(process.env.NODE_ENV!=="production"){var i=BC(),l={},f=qT();o=function(m){var v="Warning: "+m;typeof console<"u"&&console.error(v);try{throw new Error(v)}catch{}}}function h(m,v,S,b,x){if(process.env.NODE_ENV!=="production"){for(var T in m)if(f(m,T)){var k;try{if(typeof m[T]!="function"){var L=Error((b||"React class")+": "+S+" type `"+T+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof m[T]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw L.name="Invariant Violation",L}k=m[T](v,T,b,S,null,i)}catch(P){k=P}if(k&&!(k instanceof Error)&&o((b||"React class")+": type specification of "+S+" `"+T+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof k+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),k instanceof Error&&!(k.message in l)){l[k.message]=!0;var M=x?x():"";o("Failed "+S+" type: "+k.message+(M??""))}}}}return h.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(l={})},$S=h,$S}var US,A3;function EO(){if(A3)return US;A3=1;var o=Yg,i=yO(),l=BC(),f=qT(),h=gO(),m=function(){};process.env.NODE_ENV!=="production"&&(m=function(S){var b="Warning: "+S;typeof console<"u"&&console.error(b);try{throw new Error(b)}catch{}});function v(){return null}return US=function(S,b){var x=typeof Symbol=="function"&&Symbol.iterator,T="@@iterator";function k(O){var U=O&&(x&&O[x]||O[T]);if(typeof U=="function")return U}var L="<<anonymous>>",M={array:ce("array"),bigint:ce("bigint"),bool:ce("boolean"),func:ce("function"),number:ce("number"),object:ce("object"),string:ce("string"),symbol:ce("symbol"),any:ve(),arrayOf:ue,element:pe(),elementType:W(),instanceOf:we,node:Be(),objectOf:be,oneOf:se,oneOfType:Ge,shape:et,exact:qe};function P(O,U){return O===U?O!==0||1/O===1/U:O!==O&&U!==U}function F(O,U){this.message=O,this.data=U&&typeof U=="object"?U:{},this.stack=""}F.prototype=Error.prototype;function H(O){if(process.env.NODE_ENV!=="production")var U={},Y=0;function ne(ke,Se,Te,De,Ke,yt,Bt){if(De=De||L,yt=yt||Te,Bt!==l){if(b){var Ne=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 Ne.name="Invariant Violation",Ne}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var zt=De+":"+Te;!U[zt]&&Y<3&&(m("You are manually calling a React.PropTypes validation function for the `"+yt+"` prop on `"+De+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),U[zt]=!0,Y++)}}return Se[Te]==null?ke?Se[Te]===null?new F("The "+Ke+" `"+yt+"` is marked as required "+("in `"+De+"`, but its value is `null`.")):new F("The "+Ke+" `"+yt+"` is marked as required in "+("`"+De+"`, but its value is `undefined`.")):null:O(Se,Te,De,Ke,yt)}var ie=ne.bind(null,!1);return ie.isRequired=ne.bind(null,!0),ie}function ce(O){function U(Y,ne,ie,ke,Se,Te){var De=Y[ne],Ke=tt(De);if(Ke!==O){var yt=Oe(De);return new F("Invalid "+ke+" `"+Se+"` of type "+("`"+yt+"` supplied to `"+ie+"`, expected ")+("`"+O+"`."),{expectedType:O})}return null}return H(U)}function ve(){return H(v)}function ue(O){function U(Y,ne,ie,ke,Se){if(typeof O!="function")return new F("Property `"+Se+"` of component `"+ie+"` has invalid PropType notation inside arrayOf.");var Te=Y[ne];if(!Array.isArray(Te)){var De=tt(Te);return new F("Invalid "+ke+" `"+Se+"` of type "+("`"+De+"` supplied to `"+ie+"`, expected an array."))}for(var Ke=0;Ke<Te.length;Ke++){var yt=O(Te,Ke,ie,ke,Se+"["+Ke+"]",l);if(yt instanceof Error)return yt}return null}return H(U)}function pe(){function O(U,Y,ne,ie,ke){var Se=U[Y];if(!S(Se)){var Te=tt(Se);return new F("Invalid "+ie+" `"+ke+"` of type "+("`"+Te+"` supplied to `"+ne+"`, expected a single ReactElement."))}return null}return H(O)}function W(){function O(U,Y,ne,ie,ke){var Se=U[Y];if(!o.isValidElementType(Se)){var Te=tt(Se);return new F("Invalid "+ie+" `"+ke+"` of type "+("`"+Te+"` supplied to `"+ne+"`, expected a single ReactElement type."))}return null}return H(O)}function we(O){function U(Y,ne,ie,ke,Se){if(!(Y[ne]instanceof O)){var Te=O.name||L,De=ye(Y[ne]);return new F("Invalid "+ke+" `"+Se+"` of type "+("`"+De+"` supplied to `"+ie+"`, expected ")+("instance of `"+Te+"`."))}return null}return H(U)}function se(O){if(!Array.isArray(O))return process.env.NODE_ENV!=="production"&&(arguments.length>1?m("Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."):m("Invalid argument supplied to oneOf, expected an array.")),v;function U(Y,ne,ie,ke,Se){for(var Te=Y[ne],De=0;De<O.length;De++)if(P(Te,O[De]))return null;var Ke=JSON.stringify(O,function(Bt,Ne){var zt=Oe(Ne);return zt==="symbol"?String(Ne):Ne});return new F("Invalid "+ke+" `"+Se+"` of value `"+String(Te)+"` "+("supplied to `"+ie+"`, expected one of "+Ke+"."))}return H(U)}function be(O){function U(Y,ne,ie,ke,Se){if(typeof O!="function")return new F("Property `"+Se+"` of component `"+ie+"` has invalid PropType notation inside objectOf.");var Te=Y[ne],De=tt(Te);if(De!=="object")return new F("Invalid "+ke+" `"+Se+"` of type "+("`"+De+"` supplied to `"+ie+"`, expected an object."));for(var Ke in Te)if(f(Te,Ke)){var yt=O(Te,Ke,ie,ke,Se+"."+Ke,l);if(yt instanceof Error)return yt}return null}return H(U)}function Ge(O){if(!Array.isArray(O))return process.env.NODE_ENV!=="production"&&m("Invalid argument supplied to oneOfType, expected an instance of array."),v;for(var U=0;U<O.length;U++){var Y=O[U];if(typeof Y!="function")return m("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+he(Y)+" at index "+U+"."),v}function ne(ie,ke,Se,Te,De){for(var Ke=[],yt=0;yt<O.length;yt++){var Bt=O[yt],Ne=Bt(ie,ke,Se,Te,De,l);if(Ne==null)return null;Ne.data&&f(Ne.data,"expectedType")&&Ke.push(Ne.data.expectedType)}var zt=Ke.length>0?", expected one of type ["+Ke.join(", ")+"]":"";return new F("Invalid "+Te+" `"+De+"` supplied to "+("`"+Se+"`"+zt+"."))}return H(ne)}function Be(){function O(U,Y,ne,ie,ke){return Xe(U[Y])?null:new F("Invalid "+ie+" `"+ke+"` supplied to "+("`"+ne+"`, expected a ReactNode."))}return H(O)}function Ue(O,U,Y,ne,ie){return new F((O||"React class")+": "+U+" type `"+Y+"."+ne+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+ie+"`.")}function et(O){function U(Y,ne,ie,ke,Se){var Te=Y[ne],De=tt(Te);if(De!=="object")return new F("Invalid "+ke+" `"+Se+"` of type `"+De+"` "+("supplied to `"+ie+"`, expected `object`."));for(var Ke in O){var yt=O[Ke];if(typeof yt!="function")return Ue(ie,ke,Se,Ke,Oe(yt));var Bt=yt(Te,Ke,ie,ke,Se+"."+Ke,l);if(Bt)return Bt}return null}return H(U)}function qe(O){function U(Y,ne,ie,ke,Se){var Te=Y[ne],De=tt(Te);if(De!=="object")return new F("Invalid "+ke+" `"+Se+"` of type `"+De+"` "+("supplied to `"+ie+"`, expected `object`."));var Ke=i({},Y[ne],O);for(var yt in Ke){var Bt=O[yt];if(f(O,yt)&&typeof Bt!="function")return Ue(ie,ke,Se,yt,Oe(Bt));if(!Bt)return new F("Invalid "+ke+" `"+Se+"` key `"+yt+"` supplied to `"+ie+"`.\nBad object: "+JSON.stringify(Y[ne],null," ")+`
|
|
103
|
-
Valid keys: `+JSON.stringify(Object.keys(O),null," "));var Ne=Bt(Te,yt,ie,ke,Se+"."+yt,l);if(Ne)return Ne}return null}return H(U)}function Xe(O){switch(typeof O){case"number":case"string":case"undefined":return!0;case"boolean":return!O;case"object":if(Array.isArray(O))return O.every(Xe);if(O===null||S(O))return!0;var U=k(O);if(U){var Y=U.call(O),ne;if(U!==O.entries){for(;!(ne=Y.next()).done;)if(!Xe(ne.value))return!1}else for(;!(ne=Y.next()).done;){var ie=ne.value;if(ie&&!Xe(ie[1]))return!1}}else return!1;return!0;default:return!1}}function dt(O,U){return O==="symbol"?!0:U?U["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&U instanceof Symbol:!1}function tt(O){var U=typeof O;return Array.isArray(O)?"array":O instanceof RegExp?"object":dt(U,O)?"symbol":U}function Oe(O){if(typeof O>"u"||O===null)return""+O;var U=tt(O);if(U==="object"){if(O instanceof Date)return"date";if(O instanceof RegExp)return"regexp"}return U}function he(O){var U=Oe(O);switch(U){case"array":case"object":return"an "+U;case"boolean":case"date":case"regexp":return"a "+U;default:return U}}function ye(O){return!O.constructor||!O.constructor.name?L:O.constructor.name}return M.checkPropTypes=h,M.resetWarningCache=h.resetWarningCache,M.PropTypes=M,M},US}var PS,z3;function SO(){if(z3)return PS;z3=1;var o=BC();function i(){}function l(){}return l.resetWarningCache=i,PS=function(){function f(v,S,b,x,T,k){if(k!==o){var L=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 L.name="Invariant Violation",L}}f.isRequired=f;function h(){return f}var m={array:f,bigint:f,bool:f,func:f,number:f,object:f,string:f,symbol:f,any:f,arrayOf:h,element:f,elementType:f,instanceOf:h,node:f,objectOf:h,oneOf:h,oneOfType:h,shape:h,exact:h,checkPropTypes:l,resetWarningCache:i};return m.PropTypes=m,m},PS}if(process.env.NODE_ENV!=="production"){var CO=Yg,bO=!0;sC.exports=EO()(CO.isElement,bO)}else sC.exports=SO()();var wO=sC.exports;const de=Ev(wO);function xO(o,i){return o.classList?!!i&&o.classList.contains(i):(" "+(o.className.baseVal||o.className)+" ").indexOf(" "+i+" ")!==-1}function TO(o,i){o.classList?o.classList.add(i):xO(o,i)||(typeof o.className=="string"?o.className=o.className+" "+i:o.setAttribute("class",(o.className&&o.className.baseVal||"")+" "+i))}function $3(o,i){return o.replace(new RegExp("(^|\\s)"+i+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}function RO(o,i){o.classList?o.classList.remove(i):typeof o.className=="string"?o.className=$3(o.className,i):o.setAttribute("class",$3(o.className&&o.className.baseVal||"",i))}var lC={exports:{}},Ii={},hg={exports:{}},jS={};/**
|
|
104
|
-
* @license React
|
|
105
|
-
* scheduler.production.min.js
|
|
106
|
-
*
|
|
107
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
108
|
-
*
|
|
109
|
-
* This source code is licensed under the MIT license found in the
|
|
110
|
-
* LICENSE file in the root directory of this source tree.
|
|
111
|
-
*/var U3;function kO(){return U3||(U3=1,function(o){function i(he,ye){var O=he.length;he.push(ye);e:for(;0<O;){var U=O-1>>>1,Y=he[U];if(0<h(Y,ye))he[U]=ye,he[O]=Y,O=U;else break e}}function l(he){return he.length===0?null:he[0]}function f(he){if(he.length===0)return null;var ye=he[0],O=he.pop();if(O!==ye){he[0]=O;e:for(var U=0,Y=he.length,ne=Y>>>1;U<ne;){var ie=2*(U+1)-1,ke=he[ie],Se=ie+1,Te=he[Se];if(0>h(ke,O))Se<Y&&0>h(Te,ke)?(he[U]=Te,he[Se]=O,U=Se):(he[U]=ke,he[ie]=O,U=ie);else if(Se<Y&&0>h(Te,O))he[U]=Te,he[Se]=O,U=Se;else break e}}return ye}function h(he,ye){var O=he.sortIndex-ye.sortIndex;return O!==0?O:he.id-ye.id}if(typeof performance=="object"&&typeof performance.now=="function"){var m=performance;o.unstable_now=function(){return m.now()}}else{var v=Date,S=v.now();o.unstable_now=function(){return v.now()-S}}var b=[],x=[],T=1,k=null,L=3,M=!1,P=!1,F=!1,H=typeof setTimeout=="function"?setTimeout:null,ce=typeof clearTimeout=="function"?clearTimeout:null,ve=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function ue(he){for(var ye=l(x);ye!==null;){if(ye.callback===null)f(x);else if(ye.startTime<=he)f(x),ye.sortIndex=ye.expirationTime,i(b,ye);else break;ye=l(x)}}function pe(he){if(F=!1,ue(he),!P)if(l(b)!==null)P=!0,tt(W);else{var ye=l(x);ye!==null&&Oe(pe,ye.startTime-he)}}function W(he,ye){P=!1,F&&(F=!1,ce(be),be=-1),M=!0;var O=L;try{for(ue(ye),k=l(b);k!==null&&(!(k.expirationTime>ye)||he&&!Ue());){var U=k.callback;if(typeof U=="function"){k.callback=null,L=k.priorityLevel;var Y=U(k.expirationTime<=ye);ye=o.unstable_now(),typeof Y=="function"?k.callback=Y:k===l(b)&&f(b),ue(ye)}else f(b);k=l(b)}if(k!==null)var ne=!0;else{var ie=l(x);ie!==null&&Oe(pe,ie.startTime-ye),ne=!1}return ne}finally{k=null,L=O,M=!1}}var we=!1,se=null,be=-1,Ge=5,Be=-1;function Ue(){return!(o.unstable_now()-Be<Ge)}function et(){if(se!==null){var he=o.unstable_now();Be=he;var ye=!0;try{ye=se(!0,he)}finally{ye?qe():(we=!1,se=null)}}else we=!1}var qe;if(typeof ve=="function")qe=function(){ve(et)};else if(typeof MessageChannel<"u"){var Xe=new MessageChannel,dt=Xe.port2;Xe.port1.onmessage=et,qe=function(){dt.postMessage(null)}}else qe=function(){H(et,0)};function tt(he){se=he,we||(we=!0,qe())}function Oe(he,ye){be=H(function(){he(o.unstable_now())},ye)}o.unstable_IdlePriority=5,o.unstable_ImmediatePriority=1,o.unstable_LowPriority=4,o.unstable_NormalPriority=3,o.unstable_Profiling=null,o.unstable_UserBlockingPriority=2,o.unstable_cancelCallback=function(he){he.callback=null},o.unstable_continueExecution=function(){P||M||(P=!0,tt(W))},o.unstable_forceFrameRate=function(he){0>he||125<he?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):Ge=0<he?Math.floor(1e3/he):5},o.unstable_getCurrentPriorityLevel=function(){return L},o.unstable_getFirstCallbackNode=function(){return l(b)},o.unstable_next=function(he){switch(L){case 1:case 2:case 3:var ye=3;break;default:ye=L}var O=L;L=ye;try{return he()}finally{L=O}},o.unstable_pauseExecution=function(){},o.unstable_requestPaint=function(){},o.unstable_runWithPriority=function(he,ye){switch(he){case 1:case 2:case 3:case 4:case 5:break;default:he=3}var O=L;L=he;try{return ye()}finally{L=O}},o.unstable_scheduleCallback=function(he,ye,O){var U=o.unstable_now();switch(typeof O=="object"&&O!==null?(O=O.delay,O=typeof O=="number"&&0<O?U+O:U):O=U,he){case 1:var Y=-1;break;case 2:Y=250;break;case 5:Y=1073741823;break;case 4:Y=1e4;break;default:Y=5e3}return Y=O+Y,he={id:T++,callback:ye,priorityLevel:he,startTime:O,expirationTime:Y,sortIndex:-1},O>U?(he.sortIndex=O,i(x,he),l(b)===null&&he===l(x)&&(F?(ce(be),be=-1):F=!0,Oe(pe,O-U))):(he.sortIndex=Y,i(b,he),P||M||(P=!0,tt(W))),he},o.unstable_shouldYield=Ue,o.unstable_wrapCallback=function(he){var ye=L;return function(){var O=L;L=ye;try{return he.apply(this,arguments)}finally{L=O}}}}(jS)),jS}var HS={};/**
|
|
112
|
-
* @license React
|
|
113
|
-
* scheduler.development.js
|
|
114
|
-
*
|
|
115
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
116
|
-
*
|
|
117
|
-
* This source code is licensed under the MIT license found in the
|
|
118
|
-
* LICENSE file in the root directory of this source tree.
|
|
119
|
-
*/var P3;function _O(){return P3||(P3=1,function(o){process.env.NODE_ENV!=="production"&&function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var i=!1,l=!1,f=5;function h(Ae,rt){var Ct=Ae.length;Ae.push(rt),S(Ae,rt,Ct)}function m(Ae){return Ae.length===0?null:Ae[0]}function v(Ae){if(Ae.length===0)return null;var rt=Ae[0],Ct=Ae.pop();return Ct!==rt&&(Ae[0]=Ct,b(Ae,Ct,0)),rt}function S(Ae,rt,Ct){for(var It=Ct;It>0;){var Gt=It-1>>>1,Pn=Ae[Gt];if(x(Pn,rt)>0)Ae[Gt]=rt,Ae[It]=Pn,It=Gt;else return}}function b(Ae,rt,Ct){for(var It=Ct,Gt=Ae.length,Pn=Gt>>>1;It<Pn;){var On=(It+1)*2-1,Br=Ae[On],sn=On+1,wi=Ae[sn];if(x(Br,rt)<0)sn<Gt&&x(wi,Br)<0?(Ae[It]=wi,Ae[sn]=rt,It=sn):(Ae[It]=Br,Ae[On]=rt,It=On);else if(sn<Gt&&x(wi,rt)<0)Ae[It]=wi,Ae[sn]=rt,It=sn;else return}}function x(Ae,rt){var Ct=Ae.sortIndex-rt.sortIndex;return Ct!==0?Ct:Ae.id-rt.id}var T=1,k=2,L=3,M=4,P=5;function F(Ae,rt){}var H=typeof performance=="object"&&typeof performance.now=="function";if(H){var ce=performance;o.unstable_now=function(){return ce.now()}}else{var ve=Date,ue=ve.now();o.unstable_now=function(){return ve.now()-ue}}var pe=1073741823,W=-1,we=250,se=5e3,be=1e4,Ge=pe,Be=[],Ue=[],et=1,qe=null,Xe=L,dt=!1,tt=!1,Oe=!1,he=typeof setTimeout=="function"?setTimeout:null,ye=typeof clearTimeout=="function"?clearTimeout:null,O=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function U(Ae){for(var rt=m(Ue);rt!==null;){if(rt.callback===null)v(Ue);else if(rt.startTime<=Ae)v(Ue),rt.sortIndex=rt.expirationTime,h(Be,rt);else return;rt=m(Ue)}}function Y(Ae){if(Oe=!1,U(Ae),!tt)if(m(Be)!==null)tt=!0,Zi(ne);else{var rt=m(Ue);rt!==null&&rr(Y,rt.startTime-Ae)}}function ne(Ae,rt){tt=!1,Oe&&(Oe=!1,ui()),dt=!0;var Ct=Xe;try{var It;if(!l)return ie(Ae,rt)}finally{qe=null,Xe=Ct,dt=!1}}function ie(Ae,rt){var Ct=rt;for(U(Ct),qe=m(Be);qe!==null&&!i&&!(qe.expirationTime>Ct&&(!Ae||Ua()));){var It=qe.callback;if(typeof It=="function"){qe.callback=null,Xe=qe.priorityLevel;var Gt=qe.expirationTime<=Ct,Pn=It(Gt);Ct=o.unstable_now(),typeof Pn=="function"?qe.callback=Pn:qe===m(Be)&&v(Be),U(Ct)}else v(Be);qe=m(Be)}if(qe!==null)return!0;var On=m(Ue);return On!==null&&rr(Y,On.startTime-Ct),!1}function ke(Ae,rt){switch(Ae){case T:case k:case L:case M:case P:break;default:Ae=L}var Ct=Xe;Xe=Ae;try{return rt()}finally{Xe=Ct}}function Se(Ae){var rt;switch(Xe){case T:case k:case L:rt=L;break;default:rt=Xe;break}var Ct=Xe;Xe=rt;try{return Ae()}finally{Xe=Ct}}function Te(Ae){var rt=Xe;return function(){var Ct=Xe;Xe=rt;try{return Ae.apply(this,arguments)}finally{Xe=Ct}}}function De(Ae,rt,Ct){var It=o.unstable_now(),Gt;if(typeof Ct=="object"&&Ct!==null){var Pn=Ct.delay;typeof Pn=="number"&&Pn>0?Gt=It+Pn:Gt=It}else Gt=It;var On;switch(Ae){case T:On=W;break;case k:On=we;break;case P:On=Ge;break;case M:On=be;break;case L:default:On=se;break}var Br=Gt+On,sn={id:et++,callback:rt,priorityLevel:Ae,startTime:Gt,expirationTime:Br,sortIndex:-1};return Gt>It?(sn.sortIndex=Gt,h(Ue,sn),m(Be)===null&&sn===m(Ue)&&(Oe?ui():Oe=!0,rr(Y,Gt-It))):(sn.sortIndex=Br,h(Be,sn),!tt&&!dt&&(tt=!0,Zi(ne))),sn}function Ke(){}function yt(){!tt&&!dt&&(tt=!0,Zi(ne))}function Bt(){return m(Be)}function Ne(Ae){Ae.callback=null}function zt(){return Xe}var _n=!1,nr=null,jr=-1,Yn=f,Ki=-1;function Ua(){var Ae=o.unstable_now()-Ki;return!(Ae<Yn)}function yr(){}function Hr(Ae){if(Ae<0||Ae>125){console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported");return}Ae>0?Yn=Math.floor(1e3/Ae):Yn=f}var ma=function(){if(nr!==null){var Ae=o.unstable_now();Ki=Ae;var rt=!0,Ct=!0;try{Ct=nr(rt,Ae)}finally{Ct?Fr():(_n=!1,nr=null)}}else _n=!1},Fr;if(typeof O=="function")Fr=function(){O(ma)};else if(typeof MessageChannel<"u"){var Xi=new MessageChannel,Vr=Xi.port2;Xi.port1.onmessage=ma,Fr=function(){Vr.postMessage(null)}}else Fr=function(){he(ma,0)};function Zi(Ae){nr=Ae,_n||(_n=!0,Fr())}function rr(Ae,rt){jr=he(function(){Ae(o.unstable_now())},rt)}function ui(){ye(jr),jr=-1}var gs=yr,ya=null;o.unstable_IdlePriority=P,o.unstable_ImmediatePriority=T,o.unstable_LowPriority=M,o.unstable_NormalPriority=L,o.unstable_Profiling=ya,o.unstable_UserBlockingPriority=k,o.unstable_cancelCallback=Ne,o.unstable_continueExecution=yt,o.unstable_forceFrameRate=Hr,o.unstable_getCurrentPriorityLevel=zt,o.unstable_getFirstCallbackNode=Bt,o.unstable_next=Se,o.unstable_pauseExecution=Ke,o.unstable_requestPaint=gs,o.unstable_runWithPriority=ke,o.unstable_scheduleCallback=De,o.unstable_shouldYield=Ua,o.unstable_wrapCallback=Te,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()}(HS)),HS}var j3;function GT(){return j3||(j3=1,process.env.NODE_ENV==="production"?hg.exports=kO():hg.exports=_O()),hg.exports}/**
|
|
120
|
-
* @license React
|
|
121
|
-
* react-dom.production.min.js
|
|
122
|
-
*
|
|
123
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
124
|
-
*
|
|
125
|
-
* This source code is licensed under the MIT license found in the
|
|
126
|
-
* LICENSE file in the root directory of this source tree.
|
|
127
|
-
*/var H3;function OO(){if(H3)return Ii;H3=1;var o=te,i=GT();function l(n){for(var r="https://reactjs.org/docs/error-decoder.html?invariant="+n,u=1;u<arguments.length;u++)r+="&args[]="+encodeURIComponent(arguments[u]);return"Minified React error #"+n+"; visit "+r+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var f=new Set,h={};function m(n,r){v(n,r),v(n+"Capture",r)}function v(n,r){for(h[n]=r,n=0;n<r.length;n++)f.add(r[n])}var S=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),b=Object.prototype.hasOwnProperty,x=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,T={},k={};function L(n){return b.call(k,n)?!0:b.call(T,n)?!1:x.test(n)?k[n]=!0:(T[n]=!0,!1)}function M(n,r,u,d){if(u!==null&&u.type===0)return!1;switch(typeof r){case"function":case"symbol":return!0;case"boolean":return d?!1:u!==null?!u.acceptsBooleans:(n=n.toLowerCase().slice(0,5),n!=="data-"&&n!=="aria-");default:return!1}}function P(n,r,u,d){if(r===null||typeof r>"u"||M(n,r,u,d))return!0;if(d)return!1;if(u!==null)switch(u.type){case 3:return!r;case 4:return r===!1;case 5:return isNaN(r);case 6:return isNaN(r)||1>r}return!1}function F(n,r,u,d,y,E,_){this.acceptsBooleans=r===2||r===3||r===4,this.attributeName=d,this.attributeNamespace=y,this.mustUseProperty=u,this.propertyName=n,this.type=r,this.sanitizeURL=E,this.removeEmptyString=_}var H={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(n){H[n]=new F(n,0,!1,n,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(n){var r=n[0];H[r]=new F(r,1,!1,n[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(n){H[n]=new F(n,2,!1,n.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(n){H[n]=new F(n,2,!1,n,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(n){H[n]=new F(n,3,!1,n.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(n){H[n]=new F(n,3,!0,n,null,!1,!1)}),["capture","download"].forEach(function(n){H[n]=new F(n,4,!1,n,null,!1,!1)}),["cols","rows","size","span"].forEach(function(n){H[n]=new F(n,6,!1,n,null,!1,!1)}),["rowSpan","start"].forEach(function(n){H[n]=new F(n,5,!1,n.toLowerCase(),null,!1,!1)});var ce=/[\-:]([a-z])/g;function ve(n){return n[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(n){var r=n.replace(ce,ve);H[r]=new F(r,1,!1,n,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(n){var r=n.replace(ce,ve);H[r]=new F(r,1,!1,n,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(n){var r=n.replace(ce,ve);H[r]=new F(r,1,!1,n,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(n){H[n]=new F(n,1,!1,n.toLowerCase(),null,!1,!1)}),H.xlinkHref=new F("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(n){H[n]=new F(n,1,!1,n.toLowerCase(),null,!0,!0)});function ue(n,r,u,d){var y=H.hasOwnProperty(r)?H[r]:null;(y!==null?y.type!==0:d||!(2<r.length)||r[0]!=="o"&&r[0]!=="O"||r[1]!=="n"&&r[1]!=="N")&&(P(r,u,y,d)&&(u=null),d||y===null?L(r)&&(u===null?n.removeAttribute(r):n.setAttribute(r,""+u)):y.mustUseProperty?n[y.propertyName]=u===null?y.type===3?!1:"":u:(r=y.attributeName,d=y.attributeNamespace,u===null?n.removeAttribute(r):(y=y.type,u=y===3||y===4&&u===!0?"":""+u,d?n.setAttributeNS(d,r,u):n.setAttribute(r,u))))}var pe=o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,W=Symbol.for("react.element"),we=Symbol.for("react.portal"),se=Symbol.for("react.fragment"),be=Symbol.for("react.strict_mode"),Ge=Symbol.for("react.profiler"),Be=Symbol.for("react.provider"),Ue=Symbol.for("react.context"),et=Symbol.for("react.forward_ref"),qe=Symbol.for("react.suspense"),Xe=Symbol.for("react.suspense_list"),dt=Symbol.for("react.memo"),tt=Symbol.for("react.lazy"),Oe=Symbol.for("react.offscreen"),he=Symbol.iterator;function ye(n){return n===null||typeof n!="object"?null:(n=he&&n[he]||n["@@iterator"],typeof n=="function"?n:null)}var O=Object.assign,U;function Y(n){if(U===void 0)try{throw Error()}catch(u){var r=u.stack.trim().match(/\n( *(at )?)/);U=r&&r[1]||""}return`
|
|
128
|
-
`+U+n}var ne=!1;function ie(n,r){if(!n||ne)return"";ne=!0;var u=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(r)if(r=function(){throw Error()},Object.defineProperty(r.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(r,[])}catch(ee){var d=ee}Reflect.construct(n,[],r)}else{try{r.call()}catch(ee){d=ee}n.call(r.prototype)}else{try{throw Error()}catch(ee){d=ee}n()}}catch(ee){if(ee&&d&&typeof ee.stack=="string"){for(var y=ee.stack.split(`
|
|
129
|
-
`),E=d.stack.split(`
|
|
130
|
-
`),_=y.length-1,A=E.length-1;1<=_&&0<=A&&y[_]!==E[A];)A--;for(;1<=_&&0<=A;_--,A--)if(y[_]!==E[A]){if(_!==1||A!==1)do if(_--,A--,0>A||y[_]!==E[A]){var j=`
|
|
131
|
-
`+y[_].replace(" at new "," at ");return n.displayName&&j.includes("<anonymous>")&&(j=j.replace("<anonymous>",n.displayName)),j}while(1<=_&&0<=A);break}}}finally{ne=!1,Error.prepareStackTrace=u}return(n=n?n.displayName||n.name:"")?Y(n):""}function ke(n){switch(n.tag){case 5:return Y(n.type);case 16:return Y("Lazy");case 13:return Y("Suspense");case 19:return Y("SuspenseList");case 0:case 2:case 15:return n=ie(n.type,!1),n;case 11:return n=ie(n.type.render,!1),n;case 1:return n=ie(n.type,!0),n;default:return""}}function Se(n){if(n==null)return null;if(typeof n=="function")return n.displayName||n.name||null;if(typeof n=="string")return n;switch(n){case se:return"Fragment";case we:return"Portal";case Ge:return"Profiler";case be:return"StrictMode";case qe:return"Suspense";case Xe:return"SuspenseList"}if(typeof n=="object")switch(n.$$typeof){case Ue:return(n.displayName||"Context")+".Consumer";case Be:return(n._context.displayName||"Context")+".Provider";case et:var r=n.render;return n=n.displayName,n||(n=r.displayName||r.name||"",n=n!==""?"ForwardRef("+n+")":"ForwardRef"),n;case dt:return r=n.displayName||null,r!==null?r:Se(n.type)||"Memo";case tt:r=n._payload,n=n._init;try{return Se(n(r))}catch{}}return null}function Te(n){var r=n.type;switch(n.tag){case 24:return"Cache";case 9:return(r.displayName||"Context")+".Consumer";case 10:return(r._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return n=r.render,n=n.displayName||n.name||"",r.displayName||(n!==""?"ForwardRef("+n+")":"ForwardRef");case 7:return"Fragment";case 5:return r;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Se(r);case 8:return r===be?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof r=="function")return r.displayName||r.name||null;if(typeof r=="string")return r}return null}function De(n){switch(typeof n){case"boolean":case"number":case"string":case"undefined":return n;case"object":return n;default:return""}}function Ke(n){var r=n.type;return(n=n.nodeName)&&n.toLowerCase()==="input"&&(r==="checkbox"||r==="radio")}function yt(n){var r=Ke(n)?"checked":"value",u=Object.getOwnPropertyDescriptor(n.constructor.prototype,r),d=""+n[r];if(!n.hasOwnProperty(r)&&typeof u<"u"&&typeof u.get=="function"&&typeof u.set=="function"){var y=u.get,E=u.set;return Object.defineProperty(n,r,{configurable:!0,get:function(){return y.call(this)},set:function(_){d=""+_,E.call(this,_)}}),Object.defineProperty(n,r,{enumerable:u.enumerable}),{getValue:function(){return d},setValue:function(_){d=""+_},stopTracking:function(){n._valueTracker=null,delete n[r]}}}}function Bt(n){n._valueTracker||(n._valueTracker=yt(n))}function Ne(n){if(!n)return!1;var r=n._valueTracker;if(!r)return!0;var u=r.getValue(),d="";return n&&(d=Ke(n)?n.checked?"true":"false":n.value),n=d,n!==u?(r.setValue(n),!0):!1}function zt(n){if(n=n||(typeof document<"u"?document:void 0),typeof n>"u")return null;try{return n.activeElement||n.body}catch{return n.body}}function _n(n,r){var u=r.checked;return O({},r,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:u??n._wrapperState.initialChecked})}function nr(n,r){var u=r.defaultValue==null?"":r.defaultValue,d=r.checked!=null?r.checked:r.defaultChecked;u=De(r.value!=null?r.value:u),n._wrapperState={initialChecked:d,initialValue:u,controlled:r.type==="checkbox"||r.type==="radio"?r.checked!=null:r.value!=null}}function jr(n,r){r=r.checked,r!=null&&ue(n,"checked",r,!1)}function Yn(n,r){jr(n,r);var u=De(r.value),d=r.type;if(u!=null)d==="number"?(u===0&&n.value===""||n.value!=u)&&(n.value=""+u):n.value!==""+u&&(n.value=""+u);else if(d==="submit"||d==="reset"){n.removeAttribute("value");return}r.hasOwnProperty("value")?Ua(n,r.type,u):r.hasOwnProperty("defaultValue")&&Ua(n,r.type,De(r.defaultValue)),r.checked==null&&r.defaultChecked!=null&&(n.defaultChecked=!!r.defaultChecked)}function Ki(n,r,u){if(r.hasOwnProperty("value")||r.hasOwnProperty("defaultValue")){var d=r.type;if(!(d!=="submit"&&d!=="reset"||r.value!==void 0&&r.value!==null))return;r=""+n._wrapperState.initialValue,u||r===n.value||(n.value=r),n.defaultValue=r}u=n.name,u!==""&&(n.name=""),n.defaultChecked=!!n._wrapperState.initialChecked,u!==""&&(n.name=u)}function Ua(n,r,u){(r!=="number"||zt(n.ownerDocument)!==n)&&(u==null?n.defaultValue=""+n._wrapperState.initialValue:n.defaultValue!==""+u&&(n.defaultValue=""+u))}var yr=Array.isArray;function Hr(n,r,u,d){if(n=n.options,r){r={};for(var y=0;y<u.length;y++)r["$"+u[y]]=!0;for(u=0;u<n.length;u++)y=r.hasOwnProperty("$"+n[u].value),n[u].selected!==y&&(n[u].selected=y),y&&d&&(n[u].defaultSelected=!0)}else{for(u=""+De(u),r=null,y=0;y<n.length;y++){if(n[y].value===u){n[y].selected=!0,d&&(n[y].defaultSelected=!0);return}r!==null||n[y].disabled||(r=n[y])}r!==null&&(r.selected=!0)}}function ma(n,r){if(r.dangerouslySetInnerHTML!=null)throw Error(l(91));return O({},r,{value:void 0,defaultValue:void 0,children:""+n._wrapperState.initialValue})}function Fr(n,r){var u=r.value;if(u==null){if(u=r.children,r=r.defaultValue,u!=null){if(r!=null)throw Error(l(92));if(yr(u)){if(1<u.length)throw Error(l(93));u=u[0]}r=u}r==null&&(r=""),u=r}n._wrapperState={initialValue:De(u)}}function Xi(n,r){var u=De(r.value),d=De(r.defaultValue);u!=null&&(u=""+u,u!==n.value&&(n.value=u),r.defaultValue==null&&n.defaultValue!==u&&(n.defaultValue=u)),d!=null&&(n.defaultValue=""+d)}function Vr(n){var r=n.textContent;r===n._wrapperState.initialValue&&r!==""&&r!==null&&(n.value=r)}function Zi(n){switch(n){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function rr(n,r){return n==null||n==="http://www.w3.org/1999/xhtml"?Zi(r):n==="http://www.w3.org/2000/svg"&&r==="foreignObject"?"http://www.w3.org/1999/xhtml":n}var ui,gs=function(n){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(r,u,d,y){MSApp.execUnsafeLocalFunction(function(){return n(r,u,d,y)})}:n}(function(n,r){if(n.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in n)n.innerHTML=r;else{for(ui=ui||document.createElement("div"),ui.innerHTML="<svg>"+r.valueOf().toString()+"</svg>",r=ui.firstChild;n.firstChild;)n.removeChild(n.firstChild);for(;r.firstChild;)n.appendChild(r.firstChild)}});function ya(n,r){if(r){var u=n.firstChild;if(u&&u===n.lastChild&&u.nodeType===3){u.nodeValue=r;return}}n.textContent=r}var Ae={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},rt=["Webkit","ms","Moz","O"];Object.keys(Ae).forEach(function(n){rt.forEach(function(r){r=r+n.charAt(0).toUpperCase()+n.substring(1),Ae[r]=Ae[n]})});function Ct(n,r,u){return r==null||typeof r=="boolean"||r===""?"":u||typeof r!="number"||r===0||Ae.hasOwnProperty(n)&&Ae[n]?(""+r).trim():r+"px"}function It(n,r){n=n.style;for(var u in r)if(r.hasOwnProperty(u)){var d=u.indexOf("--")===0,y=Ct(u,r[u],d);u==="float"&&(u="cssFloat"),d?n.setProperty(u,y):n[u]=y}}var Gt=O({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Pn(n,r){if(r){if(Gt[n]&&(r.children!=null||r.dangerouslySetInnerHTML!=null))throw Error(l(137,n));if(r.dangerouslySetInnerHTML!=null){if(r.children!=null)throw Error(l(60));if(typeof r.dangerouslySetInnerHTML!="object"||!("__html"in r.dangerouslySetInnerHTML))throw Error(l(61))}if(r.style!=null&&typeof r.style!="object")throw Error(l(62))}}function On(n,r){if(n.indexOf("-")===-1)return typeof r.is=="string";switch(n){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Br=null;function sn(n){return n=n.target||n.srcElement||window,n.correspondingUseElement&&(n=n.correspondingUseElement),n.nodeType===3?n.parentNode:n}var wi=null,mn=null,rn=null;function Es(n){if(n=Wu(n)){if(typeof wi!="function")throw Error(l(280));var r=n.stateNode;r&&(r=it(r),wi(n.stateNode,n.type,r))}}function Pa(n){mn?rn?rn.push(n):rn=[n]:mn=n}function vl(){if(mn){var n=mn,r=rn;if(rn=mn=null,Es(n),r)for(n=0;n<r.length;n++)Es(r[n])}}function Uc(n,r){return n(r)}function Pc(){}var ml=!1;function Ru(n,r,u){if(ml)return n(r,u);ml=!0;try{return Uc(n,r,u)}finally{ml=!1,(mn!==null||rn!==null)&&(Pc(),vl())}}function Ji(n,r){var u=n.stateNode;if(u===null)return null;var d=it(u);if(d===null)return null;u=d[r];e:switch(r){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(d=!d.disabled)||(n=n.type,d=!(n==="button"||n==="input"||n==="select"||n==="textarea")),n=!d;break e;default:n=!1}if(n)return null;if(u&&typeof u!="function")throw Error(l(231,r,typeof u));return u}var So=!1;if(S)try{var ga={};Object.defineProperty(ga,"passive",{get:function(){So=!0}}),window.addEventListener("test",ga,ga),window.removeEventListener("test",ga,ga)}catch{So=!1}function Co(n,r,u,d,y,E,_,A,j){var ee=Array.prototype.slice.call(arguments,3);try{r.apply(u,ee)}catch(ge){this.onError(ge)}}var ci=!1,ea=null,bo=!1,wo=null,yl={onError:function(n){ci=!0,ea=n}};function ku(n,r,u,d,y,E,_,A,j){ci=!1,ea=null,Co.apply(yl,arguments)}function bn(n,r,u,d,y,E,_,A,j){if(ku.apply(this,arguments),ci){if(ci){var ee=ea;ci=!1,ea=null}else throw Error(l(198));bo||(bo=!0,wo=ee)}}function xi(n){var r=n,u=n;if(n.alternate)for(;r.return;)r=r.return;else{n=r;do r=n,r.flags&4098&&(u=r.return),n=r.return;while(n)}return r.tag===3?u:null}function Ss(n){if(n.tag===13){var r=n.memoizedState;if(r===null&&(n=n.alternate,n!==null&&(r=n.memoizedState)),r!==null)return r.dehydrated}return null}function xo(n){if(xi(n)!==n)throw Error(l(188))}function ir(n){var r=n.alternate;if(!r){if(r=xi(n),r===null)throw Error(l(188));return r!==n?null:n}for(var u=n,d=r;;){var y=u.return;if(y===null)break;var E=y.alternate;if(E===null){if(d=y.return,d!==null){u=d;continue}break}if(y.child===E.child){for(E=y.child;E;){if(E===u)return xo(y),n;if(E===d)return xo(y),r;E=E.sibling}throw Error(l(188))}if(u.return!==d.return)u=y,d=E;else{for(var _=!1,A=y.child;A;){if(A===u){_=!0,u=y,d=E;break}if(A===d){_=!0,d=y,u=E;break}A=A.sibling}if(!_){for(A=E.child;A;){if(A===u){_=!0,u=E,d=y;break}if(A===d){_=!0,d=E,u=y;break}A=A.sibling}if(!_)throw Error(l(189))}}if(u.alternate!==d)throw Error(l(190))}if(u.tag!==3)throw Error(l(188));return u.stateNode.current===u?n:r}function jc(n){return n=ir(n),n!==null?Hc(n):null}function Hc(n){if(n.tag===5||n.tag===6)return n;for(n=n.child;n!==null;){var r=Hc(n);if(r!==null)return r;n=n.sibling}return null}var _u=i.unstable_scheduleCallback,Fc=i.unstable_cancelCallback,Yd=i.unstable_shouldYield,Wd=i.unstable_requestPaint,pn=i.unstable_now,qd=i.unstable_getCurrentPriorityLevel,ta=i.unstable_ImmediatePriority,bt=i.unstable_UserBlockingPriority,Ea=i.unstable_NormalPriority,To=i.unstable_LowPriority,gl=i.unstable_IdlePriority,Ro=null,Ir=null;function Ou(n){if(Ir&&typeof Ir.onCommitFiberRoot=="function")try{Ir.onCommitFiberRoot(Ro,n,void 0,(n.current.flags&128)===128)}catch{}}var Tr=Math.clz32?Math.clz32:Vc,Nu=Math.log,Du=Math.LN2;function Vc(n){return n>>>=0,n===0?32:31-(Nu(n)/Du|0)|0}var El=64,ko=4194304;function na(n){switch(n&-n){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return n&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return n&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return n}}function Rr(n,r){var u=n.pendingLanes;if(u===0)return 0;var d=0,y=n.suspendedLanes,E=n.pingedLanes,_=u&268435455;if(_!==0){var A=_&~y;A!==0?d=na(A):(E&=_,E!==0&&(d=na(E)))}else _=u&~y,_!==0?d=na(_):E!==0&&(d=na(E));if(d===0)return 0;if(r!==0&&r!==d&&!(r&y)&&(y=d&-d,E=r&-r,y>=E||y===16&&(E&4194240)!==0))return r;if(d&4&&(d|=u&16),r=n.entangledLanes,r!==0)for(n=n.entanglements,r&=d;0<r;)u=31-Tr(r),y=1<<u,d|=n[u],r&=~y;return d}function _o(n,r){switch(n){case 1:case 2:case 4:return r+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return r+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Oo(n,r){for(var u=n.suspendedLanes,d=n.pingedLanes,y=n.expirationTimes,E=n.pendingLanes;0<E;){var _=31-Tr(E),A=1<<_,j=y[_];j===-1?(!(A&u)||A&d)&&(y[_]=_o(A,r)):j<=r&&(n.expiredLanes|=A),E&=~A}}function No(n){return n=n.pendingLanes&-1073741825,n!==0?n:n&1073741824?1073741824:0}function Sl(){var n=El;return El<<=1,!(El&4194240)&&(El=64),n}function Cl(n){for(var r=[],u=0;31>u;u++)r.push(n);return r}function ja(n,r,u){n.pendingLanes|=r,r!==536870912&&(n.suspendedLanes=0,n.pingedLanes=0),n=n.eventTimes,r=31-Tr(r),n[r]=u}function Gd(n,r){var u=n.pendingLanes&~r;n.pendingLanes=r,n.suspendedLanes=0,n.pingedLanes=0,n.expiredLanes&=r,n.mutableReadLanes&=r,n.entangledLanes&=r,r=n.entanglements;var d=n.eventTimes;for(n=n.expirationTimes;0<u;){var y=31-Tr(u),E=1<<y;r[y]=0,d[y]=-1,n[y]=-1,u&=~E}}function Sa(n,r){var u=n.entangledLanes|=r;for(n=n.entanglements;u;){var d=31-Tr(u),y=1<<d;y&r|n[d]&r&&(n[d]|=r),u&=~y}}var $t=0;function bl(n){return n&=-n,1<n?4<n?n&268435455?16:536870912:4:1}var Cs,wl,Lt,xl,Tl,vt=!1,bs=[],yn=null,Yr=null,kr=null,Do=new Map,wn=new Map,Ht=[],Bc="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function Wr(n,r){switch(n){case"focusin":case"focusout":yn=null;break;case"dragenter":case"dragleave":Yr=null;break;case"mouseover":case"mouseout":kr=null;break;case"pointerover":case"pointerout":Do.delete(r.pointerId);break;case"gotpointercapture":case"lostpointercapture":wn.delete(r.pointerId)}}function Wn(n,r,u,d,y,E){return n===null||n.nativeEvent!==E?(n={blockedOn:r,domEventName:u,eventSystemFlags:d,nativeEvent:E,targetContainers:[y]},r!==null&&(r=Wu(r),r!==null&&wl(r)),n):(n.eventSystemFlags|=d,r=n.targetContainers,y!==null&&r.indexOf(y)===-1&&r.push(y),n)}function Ca(n,r,u,d,y){switch(r){case"focusin":return yn=Wn(yn,n,r,u,d,y),!0;case"dragenter":return Yr=Wn(Yr,n,r,u,d,y),!0;case"mouseover":return kr=Wn(kr,n,r,u,d,y),!0;case"pointerover":var E=y.pointerId;return Do.set(E,Wn(Do.get(E)||null,n,r,u,d,y)),!0;case"gotpointercapture":return E=y.pointerId,wn.set(E,Wn(wn.get(E)||null,n,r,u,d,y)),!0}return!1}function Ic(n){var r=_i(n.target);if(r!==null){var u=xi(r);if(u!==null){if(r=u.tag,r===13){if(r=Ss(u),r!==null){n.blockedOn=r,Tl(n.priority,function(){Lt(u)});return}}else if(r===3&&u.stateNode.current.memoizedState.isDehydrated){n.blockedOn=u.tag===3?u.stateNode.containerInfo:null;return}}}n.blockedOn=null}function Ha(n){if(n.blockedOn!==null)return!1;for(var r=n.targetContainers;0<r.length;){var u=kl(n.domEventName,n.eventSystemFlags,r[0],n.nativeEvent);if(u===null){u=n.nativeEvent;var d=new u.constructor(u.type,u);Br=d,u.target.dispatchEvent(d),Br=null}else return r=Wu(u),r!==null&&wl(r),n.blockedOn=u,!1;r.shift()}return!0}function Lo(n,r,u){Ha(n)&&u.delete(r)}function Yc(){vt=!1,yn!==null&&Ha(yn)&&(yn=null),Yr!==null&&Ha(Yr)&&(Yr=null),kr!==null&&Ha(kr)&&(kr=null),Do.forEach(Lo),wn.forEach(Lo)}function Ti(n,r){n.blockedOn===r&&(n.blockedOn=null,vt||(vt=!0,i.unstable_scheduleCallback(i.unstable_NormalPriority,Yc)))}function Mo(n){function r(y){return Ti(y,n)}if(0<bs.length){Ti(bs[0],n);for(var u=1;u<bs.length;u++){var d=bs[u];d.blockedOn===n&&(d.blockedOn=null)}}for(yn!==null&&Ti(yn,n),Yr!==null&&Ti(Yr,n),kr!==null&&Ti(kr,n),Do.forEach(r),wn.forEach(r),u=0;u<Ht.length;u++)d=Ht[u],d.blockedOn===n&&(d.blockedOn=null);for(;0<Ht.length&&(u=Ht[0],u.blockedOn===null);)Ic(u),u.blockedOn===null&&Ht.shift()}var Ao=pe.ReactCurrentBatchConfig,Ri=!0;function Rl(n,r,u,d){var y=$t,E=Ao.transition;Ao.transition=null;try{$t=1,$o(n,r,u,d)}finally{$t=y,Ao.transition=E}}function zo(n,r,u,d){var y=$t,E=Ao.transition;Ao.transition=null;try{$t=4,$o(n,r,u,d)}finally{$t=y,Ao.transition=E}}function $o(n,r,u,d){if(Ri){var y=kl(n,r,u,d);if(y===null)ef(n,r,d,ws,u),Wr(n,d);else if(Ca(y,n,r,u,d))d.stopPropagation();else if(Wr(n,d),r&4&&-1<Bc.indexOf(n)){for(;y!==null;){var E=Wu(y);if(E!==null&&Cs(E),E=kl(n,r,u,d),E===null&&ef(n,r,d,ws,u),E===y)break;y=E}y!==null&&d.stopPropagation()}else ef(n,r,d,null,u)}}var ws=null;function kl(n,r,u,d){if(ws=null,n=sn(d),n=_i(n),n!==null)if(r=xi(n),r===null)n=null;else if(u=r.tag,u===13){if(n=Ss(r),n!==null)return n;n=null}else if(u===3){if(r.stateNode.current.memoizedState.isDehydrated)return r.tag===3?r.stateNode.containerInfo:null;n=null}else r!==n&&(n=null);return ws=n,null}function Lu(n){switch(n){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(qd()){case ta:return 1;case bt:return 4;case Ea:case To:return 16;case gl:return 536870912;default:return 16}default:return 16}}var ra=null,R=null,$=null;function Z(){if($)return $;var n,r=R,u=r.length,d,y="value"in ra?ra.value:ra.textContent,E=y.length;for(n=0;n<u&&r[n]===y[n];n++);var _=u-n;for(d=1;d<=_&&r[u-d]===y[E-d];d++);return $=y.slice(n,1<d?1-d:void 0)}function re(n){var r=n.keyCode;return"charCode"in n?(n=n.charCode,n===0&&r===13&&(n=13)):n=r,n===10&&(n=13),32<=n||n===13?n:0}function xe(){return!0}function lt(){return!1}function ze(n){function r(u,d,y,E,_){this._reactName=u,this._targetInst=y,this.type=d,this.nativeEvent=E,this.target=_,this.currentTarget=null;for(var A in n)n.hasOwnProperty(A)&&(u=n[A],this[A]=u?u(E):E[A]);return this.isDefaultPrevented=(E.defaultPrevented!=null?E.defaultPrevented:E.returnValue===!1)?xe:lt,this.isPropagationStopped=lt,this}return O(r.prototype,{preventDefault:function(){this.defaultPrevented=!0;var u=this.nativeEvent;u&&(u.preventDefault?u.preventDefault():typeof u.returnValue!="unknown"&&(u.returnValue=!1),this.isDefaultPrevented=xe)},stopPropagation:function(){var u=this.nativeEvent;u&&(u.stopPropagation?u.stopPropagation():typeof u.cancelBubble!="unknown"&&(u.cancelBubble=!0),this.isPropagationStopped=xe)},persist:function(){},isPersistent:xe}),r}var ot={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(n){return n.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},wt=ze(ot),Mt=O({},ot,{view:0,detail:0}),Jt=ze(Mt),Yt,en,an,kt=O({},Mt,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Jd,button:0,buttons:0,relatedTarget:function(n){return n.relatedTarget===void 0?n.fromElement===n.srcElement?n.toElement:n.fromElement:n.relatedTarget},movementX:function(n){return"movementX"in n?n.movementX:(n!==an&&(an&&n.type==="mousemove"?(Yt=n.screenX-an.screenX,en=n.screenY-an.screenY):en=Yt=0,an=n),Yt)},movementY:function(n){return"movementY"in n?n.movementY:en}}),Fa=ze(kt),_l=O({},kt,{dataTransfer:0}),Mu=ze(_l),Qd=O({},Mt,{relatedTarget:0}),ia=ze(Qd),Au=O({},ot,{animationName:0,elapsedTime:0,pseudoElement:0}),zu=ze(Au),Kd=O({},ot,{clipboardData:function(n){return"clipboardData"in n?n.clipboardData:window.clipboardData}}),Xg=ze(Kd),Zg=O({},ot,{data:0}),Xd=ze(Zg),Zd={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},wv={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},xv={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Tv(n){var r=this.nativeEvent;return r.getModifierState?r.getModifierState(n):(n=xv[n])?!!r[n]:!1}function Jd(){return Tv}var Va=O({},Mt,{key:function(n){if(n.key){var r=Zd[n.key]||n.key;if(r!=="Unidentified")return r}return n.type==="keypress"?(n=re(n),n===13?"Enter":String.fromCharCode(n)):n.type==="keydown"||n.type==="keyup"?wv[n.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Jd,charCode:function(n){return n.type==="keypress"?re(n):0},keyCode:function(n){return n.type==="keydown"||n.type==="keyup"?n.keyCode:0},which:function(n){return n.type==="keypress"?re(n):n.type==="keydown"||n.type==="keyup"?n.keyCode:0}}),Jg=ze(Va),ep=O({},kt,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Wc=ze(ep),tp=O({},Mt,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Jd}),e1=ze(tp),qc=O({},ot,{propertyName:0,elapsedTime:0,pseudoElement:0}),Rv=ze(qc),qr=O({},kt,{deltaX:function(n){return"deltaX"in n?n.deltaX:"wheelDeltaX"in n?-n.wheelDeltaX:0},deltaY:function(n){return"deltaY"in n?n.deltaY:"wheelDeltaY"in n?-n.wheelDeltaY:"wheelDelta"in n?-n.wheelDelta:0},deltaZ:0,deltaMode:0}),Ba=ze(qr),An=[9,13,27,32],aa=S&&"CompositionEvent"in window,xs=null;S&&"documentMode"in document&&(xs=document.documentMode);var Gc=S&&"TextEvent"in window&&!xs,kv=S&&(!aa||xs&&8<xs&&11>=xs),Ol=String.fromCharCode(32),_v=!1;function Ov(n,r){switch(n){case"keyup":return An.indexOf(r.keyCode)!==-1;case"keydown":return r.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Qc(n){return n=n.detail,typeof n=="object"&&"data"in n?n.data:null}var Nl=!1;function t1(n,r){switch(n){case"compositionend":return Qc(r);case"keypress":return r.which!==32?null:(_v=!0,Ol);case"textInput":return n=r.data,n===Ol&&_v?null:n;default:return null}}function n1(n,r){if(Nl)return n==="compositionend"||!aa&&Ov(n,r)?(n=Z(),$=R=ra=null,Nl=!1,n):null;switch(n){case"paste":return null;case"keypress":if(!(r.ctrlKey||r.altKey||r.metaKey)||r.ctrlKey&&r.altKey){if(r.char&&1<r.char.length)return r.char;if(r.which)return String.fromCharCode(r.which)}return null;case"compositionend":return kv&&r.locale!=="ko"?null:r.data;default:return null}}var Nv={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Dv(n){var r=n&&n.nodeName&&n.nodeName.toLowerCase();return r==="input"?!!Nv[n.type]:r==="textarea"}function Lv(n,r,u,d){Pa(d),r=Bu(r,"onChange"),0<r.length&&(u=new wt("onChange","change",null,u,d),n.push({event:u,listeners:r}))}var $u=null,Dl=null;function Ll(n){Jc(n,0)}function Ml(n){var r=zl(n);if(Ne(r))return n}function Mv(n,r){if(n==="change")return r}var np=!1;if(S){var rp;if(S){var ip="oninput"in document;if(!ip){var Av=document.createElement("div");Av.setAttribute("oninput","return;"),ip=typeof Av.oninput=="function"}rp=ip}else rp=!1;np=rp&&(!document.documentMode||9<document.documentMode)}function zv(){$u&&($u.detachEvent("onpropertychange",$v),Dl=$u=null)}function $v(n){if(n.propertyName==="value"&&Ml(Dl)){var r=[];Lv(r,Dl,n,sn(n)),Ru(Ll,r)}}function r1(n,r,u){n==="focusin"?(zv(),$u=r,Dl=u,$u.attachEvent("onpropertychange",$v)):n==="focusout"&&zv()}function i1(n){if(n==="selectionchange"||n==="keyup"||n==="keydown")return Ml(Dl)}function a1(n,r){if(n==="click")return Ml(r)}function Uv(n,r){if(n==="input"||n==="change")return Ml(r)}function o1(n,r){return n===r&&(n!==0||1/n===1/r)||n!==n&&r!==r}var ki=typeof Object.is=="function"?Object.is:o1;function Uu(n,r){if(ki(n,r))return!0;if(typeof n!="object"||n===null||typeof r!="object"||r===null)return!1;var u=Object.keys(n),d=Object.keys(r);if(u.length!==d.length)return!1;for(d=0;d<u.length;d++){var y=u[d];if(!b.call(r,y)||!ki(n[y],r[y]))return!1}return!0}function Pv(n){for(;n&&n.firstChild;)n=n.firstChild;return n}function jv(n,r){var u=Pv(n);n=0;for(var d;u;){if(u.nodeType===3){if(d=n+u.textContent.length,n<=r&&d>=r)return{node:u,offset:r-n};n=d}e:{for(;u;){if(u.nextSibling){u=u.nextSibling;break e}u=u.parentNode}u=void 0}u=Pv(u)}}function Hv(n,r){return n&&r?n===r?!0:n&&n.nodeType===3?!1:r&&r.nodeType===3?Hv(n,r.parentNode):"contains"in n?n.contains(r):n.compareDocumentPosition?!!(n.compareDocumentPosition(r)&16):!1:!1}function Kc(){for(var n=window,r=zt();r instanceof n.HTMLIFrameElement;){try{var u=typeof r.contentWindow.location.href=="string"}catch{u=!1}if(u)n=r.contentWindow;else break;r=zt(n.document)}return r}function Ia(n){var r=n&&n.nodeName&&n.nodeName.toLowerCase();return r&&(r==="input"&&(n.type==="text"||n.type==="search"||n.type==="tel"||n.type==="url"||n.type==="password")||r==="textarea"||n.contentEditable==="true")}function Xc(n){var r=Kc(),u=n.focusedElem,d=n.selectionRange;if(r!==u&&u&&u.ownerDocument&&Hv(u.ownerDocument.documentElement,u)){if(d!==null&&Ia(u)){if(r=d.start,n=d.end,n===void 0&&(n=r),"selectionStart"in u)u.selectionStart=r,u.selectionEnd=Math.min(n,u.value.length);else if(n=(r=u.ownerDocument||document)&&r.defaultView||window,n.getSelection){n=n.getSelection();var y=u.textContent.length,E=Math.min(d.start,y);d=d.end===void 0?E:Math.min(d.end,y),!n.extend&&E>d&&(y=d,d=E,E=y),y=jv(u,E);var _=jv(u,d);y&&_&&(n.rangeCount!==1||n.anchorNode!==y.node||n.anchorOffset!==y.offset||n.focusNode!==_.node||n.focusOffset!==_.offset)&&(r=r.createRange(),r.setStart(y.node,y.offset),n.removeAllRanges(),E>d?(n.addRange(r),n.extend(_.node,_.offset)):(r.setEnd(_.node,_.offset),n.addRange(r)))}}for(r=[],n=u;n=n.parentNode;)n.nodeType===1&&r.push({element:n,left:n.scrollLeft,top:n.scrollTop});for(typeof u.focus=="function"&&u.focus(),u=0;u<r.length;u++)n=r[u],n.element.scrollLeft=n.left,n.element.scrollTop=n.top}}var Fv=S&&"documentMode"in document&&11>=document.documentMode,oa=null,ap=null,Pu=null,op=!1;function Vv(n,r,u){var d=u.window===u?u.document:u.nodeType===9?u:u.ownerDocument;op||oa==null||oa!==zt(d)||(d=oa,"selectionStart"in d&&Ia(d)?d={start:d.selectionStart,end:d.selectionEnd}:(d=(d.ownerDocument&&d.ownerDocument.defaultView||window).getSelection(),d={anchorNode:d.anchorNode,anchorOffset:d.anchorOffset,focusNode:d.focusNode,focusOffset:d.focusOffset}),Pu&&Uu(Pu,d)||(Pu=d,d=Bu(ap,"onSelect"),0<d.length&&(r=new wt("onSelect","select",null,r,u),n.push({event:r,listeners:d}),r.target=oa)))}function Zc(n,r){var u={};return u[n.toLowerCase()]=r.toLowerCase(),u["Webkit"+n]="webkit"+r,u["Moz"+n]="moz"+r,u}var Ts={animationend:Zc("Animation","AnimationEnd"),animationiteration:Zc("Animation","AnimationIteration"),animationstart:Zc("Animation","AnimationStart"),transitionend:Zc("Transition","TransitionEnd")},sp={},lp={};S&&(lp=document.createElement("div").style,"AnimationEvent"in window||(delete Ts.animationend.animation,delete Ts.animationiteration.animation,delete Ts.animationstart.animation),"TransitionEvent"in window||delete Ts.transitionend.transition);function qn(n){if(sp[n])return sp[n];if(!Ts[n])return n;var r=Ts[n],u;for(u in r)if(r.hasOwnProperty(u)&&u in lp)return sp[n]=r[u];return n}var up=qn("animationend"),Bv=qn("animationiteration"),Iv=qn("animationstart"),Yv=qn("transitionend"),Wv=new Map,qv="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Ya(n,r){Wv.set(n,r),m(r,[n])}for(var ju=0;ju<qv.length;ju++){var Rs=qv[ju],s1=Rs.toLowerCase(),Hu=Rs[0].toUpperCase()+Rs.slice(1);Ya(s1,"on"+Hu)}Ya(up,"onAnimationEnd"),Ya(Bv,"onAnimationIteration"),Ya(Iv,"onAnimationStart"),Ya("dblclick","onDoubleClick"),Ya("focusin","onFocus"),Ya("focusout","onBlur"),Ya(Yv,"onTransitionEnd"),v("onMouseEnter",["mouseout","mouseover"]),v("onMouseLeave",["mouseout","mouseover"]),v("onPointerEnter",["pointerout","pointerover"]),v("onPointerLeave",["pointerout","pointerover"]),m("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),m("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),m("onBeforeInput",["compositionend","keypress","textInput","paste"]),m("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),m("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),m("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Fu="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),l1=new Set("cancel close invalid load scroll toggle".split(" ").concat(Fu));function Gv(n,r,u){var d=n.type||"unknown-event";n.currentTarget=u,bn(d,r,void 0,n),n.currentTarget=null}function Jc(n,r){r=(r&4)!==0;for(var u=0;u<n.length;u++){var d=n[u],y=d.event;d=d.listeners;e:{var E=void 0;if(r)for(var _=d.length-1;0<=_;_--){var A=d[_],j=A.instance,ee=A.currentTarget;if(A=A.listener,j!==E&&y.isPropagationStopped())break e;Gv(y,A,ee),E=j}else for(_=0;_<d.length;_++){if(A=d[_],j=A.instance,ee=A.currentTarget,A=A.listener,j!==E&&y.isPropagationStopped())break e;Gv(y,A,ee),E=j}}}if(bo)throw n=wo,bo=!1,wo=null,n}function tn(n,r){var u=r[mp];u===void 0&&(u=r[mp]=new Set);var d=n+"__bubble";u.has(d)||(Qv(r,n,2,!1),u.add(d))}function Uo(n,r,u){var d=0;r&&(d|=4),Qv(u,n,d,r)}var Wa="_reactListening"+Math.random().toString(36).slice(2);function Al(n){if(!n[Wa]){n[Wa]=!0,f.forEach(function(u){u!=="selectionchange"&&(l1.has(u)||Uo(u,!1,n),Uo(u,!0,n))});var r=n.nodeType===9?n:n.ownerDocument;r===null||r[Wa]||(r[Wa]=!0,Uo("selectionchange",!1,r))}}function Qv(n,r,u,d){switch(Lu(r)){case 1:var y=Rl;break;case 4:y=zo;break;default:y=$o}u=y.bind(null,r,u,n),y=void 0,!So||r!=="touchstart"&&r!=="touchmove"&&r!=="wheel"||(y=!0),d?y!==void 0?n.addEventListener(r,u,{capture:!0,passive:y}):n.addEventListener(r,u,!0):y!==void 0?n.addEventListener(r,u,{passive:y}):n.addEventListener(r,u,!1)}function ef(n,r,u,d,y){var E=d;if(!(r&1)&&!(r&2)&&d!==null)e:for(;;){if(d===null)return;var _=d.tag;if(_===3||_===4){var A=d.stateNode.containerInfo;if(A===y||A.nodeType===8&&A.parentNode===y)break;if(_===4)for(_=d.return;_!==null;){var j=_.tag;if((j===3||j===4)&&(j=_.stateNode.containerInfo,j===y||j.nodeType===8&&j.parentNode===y))return;_=_.return}for(;A!==null;){if(_=_i(A),_===null)return;if(j=_.tag,j===5||j===6){d=E=_;continue e}A=A.parentNode}}d=d.return}Ru(function(){var ee=E,ge=sn(u),Ee=[];e:{var me=Wv.get(n);if(me!==void 0){var Pe=wt,Ie=n;switch(n){case"keypress":if(re(u)===0)break e;case"keydown":case"keyup":Pe=Jg;break;case"focusin":Ie="focus",Pe=ia;break;case"focusout":Ie="blur",Pe=ia;break;case"beforeblur":case"afterblur":Pe=ia;break;case"click":if(u.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":Pe=Fa;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":Pe=Mu;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":Pe=e1;break;case up:case Bv:case Iv:Pe=zu;break;case Yv:Pe=Rv;break;case"scroll":Pe=Jt;break;case"wheel":Pe=Ba;break;case"copy":case"cut":case"paste":Pe=Xg;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":Pe=Wc}var Qe=(r&4)!==0,Dn=!Qe&&n==="scroll",q=Qe?me!==null?me+"Capture":null:me;Qe=[];for(var B=ee,K;B!==null;){K=B;var Re=K.stateNode;if(K.tag===5&&Re!==null&&(K=Re,q!==null&&(Re=Ji(B,q),Re!=null&&Qe.push(Vu(B,Re,K)))),Dn)break;B=B.return}0<Qe.length&&(me=new Pe(me,Ie,null,u,ge),Ee.push({event:me,listeners:Qe}))}}if(!(r&7)){e:{if(me=n==="mouseover"||n==="pointerover",Pe=n==="mouseout"||n==="pointerout",me&&u!==Br&&(Ie=u.relatedTarget||u.fromElement)&&(_i(Ie)||Ie[qa]))break e;if((Pe||me)&&(me=ge.window===ge?ge:(me=ge.ownerDocument)?me.defaultView||me.parentWindow:window,Pe?(Ie=u.relatedTarget||u.toElement,Pe=ee,Ie=Ie?_i(Ie):null,Ie!==null&&(Dn=xi(Ie),Ie!==Dn||Ie.tag!==5&&Ie.tag!==6)&&(Ie=null)):(Pe=null,Ie=ee),Pe!==Ie)){if(Qe=Fa,Re="onMouseLeave",q="onMouseEnter",B="mouse",(n==="pointerout"||n==="pointerover")&&(Qe=Wc,Re="onPointerLeave",q="onPointerEnter",B="pointer"),Dn=Pe==null?me:zl(Pe),K=Ie==null?me:zl(Ie),me=new Qe(Re,B+"leave",Pe,u,ge),me.target=Dn,me.relatedTarget=K,Re=null,_i(ge)===ee&&(Qe=new Qe(q,B+"enter",Ie,u,ge),Qe.target=K,Qe.relatedTarget=Dn,Re=Qe),Dn=Re,Pe&&Ie)t:{for(Qe=Pe,q=Ie,B=0,K=Qe;K;K=ks(K))B++;for(K=0,Re=q;Re;Re=ks(Re))K++;for(;0<B-K;)Qe=ks(Qe),B--;for(;0<K-B;)q=ks(q),K--;for(;B--;){if(Qe===q||q!==null&&Qe===q.alternate)break t;Qe=ks(Qe),q=ks(q)}Qe=null}else Qe=null;Pe!==null&&cp(Ee,me,Pe,Qe,!1),Ie!==null&&Dn!==null&&cp(Ee,Dn,Ie,Qe,!0)}}e:{if(me=ee?zl(ee):window,Pe=me.nodeName&&me.nodeName.toLowerCase(),Pe==="select"||Pe==="input"&&me.type==="file")var Ze=Mv;else if(Dv(me))if(np)Ze=Uv;else{Ze=i1;var Ye=r1}else(Pe=me.nodeName)&&Pe.toLowerCase()==="input"&&(me.type==="checkbox"||me.type==="radio")&&(Ze=a1);if(Ze&&(Ze=Ze(n,ee))){Lv(Ee,Ze,u,ge);break e}Ye&&Ye(n,me,ee),n==="focusout"&&(Ye=me._wrapperState)&&Ye.controlled&&me.type==="number"&&Ua(me,"number",me.value)}switch(Ye=ee?zl(ee):window,n){case"focusin":(Dv(Ye)||Ye.contentEditable==="true")&&(oa=Ye,ap=ee,Pu=null);break;case"focusout":Pu=ap=oa=null;break;case"mousedown":op=!0;break;case"contextmenu":case"mouseup":case"dragend":op=!1,Vv(Ee,u,ge);break;case"selectionchange":if(Fv)break;case"keydown":case"keyup":Vv(Ee,u,ge)}var nt;if(aa)e:{switch(n){case"compositionstart":var ht="onCompositionStart";break e;case"compositionend":ht="onCompositionEnd";break e;case"compositionupdate":ht="onCompositionUpdate";break e}ht=void 0}else Nl?Ov(n,u)&&(ht="onCompositionEnd"):n==="keydown"&&u.keyCode===229&&(ht="onCompositionStart");ht&&(kv&&u.locale!=="ko"&&(Nl||ht!=="onCompositionStart"?ht==="onCompositionEnd"&&Nl&&(nt=Z()):(ra=ge,R="value"in ra?ra.value:ra.textContent,Nl=!0)),Ye=Bu(ee,ht),0<Ye.length&&(ht=new Xd(ht,n,null,u,ge),Ee.push({event:ht,listeners:Ye}),nt?ht.data=nt:(nt=Qc(u),nt!==null&&(ht.data=nt)))),(nt=Gc?t1(n,u):n1(n,u))&&(ee=Bu(ee,"onBeforeInput"),0<ee.length&&(ge=new Xd("onBeforeInput","beforeinput",null,u,ge),Ee.push({event:ge,listeners:ee}),ge.data=nt))}Jc(Ee,r)})}function Vu(n,r,u){return{instance:n,listener:r,currentTarget:u}}function Bu(n,r){for(var u=r+"Capture",d=[];n!==null;){var y=n,E=y.stateNode;y.tag===5&&E!==null&&(y=E,E=Ji(n,u),E!=null&&d.unshift(Vu(n,E,y)),E=Ji(n,r),E!=null&&d.push(Vu(n,E,y))),n=n.return}return d}function ks(n){if(n===null)return null;do n=n.return;while(n&&n.tag!==5);return n||null}function cp(n,r,u,d,y){for(var E=r._reactName,_=[];u!==null&&u!==d;){var A=u,j=A.alternate,ee=A.stateNode;if(j!==null&&j===d)break;A.tag===5&&ee!==null&&(A=ee,y?(j=Ji(u,E),j!=null&&_.unshift(Vu(u,j,A))):y||(j=Ji(u,E),j!=null&&_.push(Vu(u,j,A)))),u=u.return}_.length!==0&&n.push({event:r,listeners:_})}var fp=/\r\n?/g,u1=/\u0000|\uFFFD/g;function dp(n){return(typeof n=="string"?n:""+n).replace(fp,`
|
|
132
|
-
`).replace(u1,"")}function tf(n,r,u){if(r=dp(r),dp(n)!==r&&u)throw Error(l(425))}function nf(){}var pp=null,_s=null;function Iu(n,r){return n==="textarea"||n==="noscript"||typeof r.children=="string"||typeof r.children=="number"||typeof r.dangerouslySetInnerHTML=="object"&&r.dangerouslySetInnerHTML!==null&&r.dangerouslySetInnerHTML.__html!=null}var Os=typeof setTimeout=="function"?setTimeout:void 0,Kv=typeof clearTimeout=="function"?clearTimeout:void 0,hp=typeof Promise=="function"?Promise:void 0,vp=typeof queueMicrotask=="function"?queueMicrotask:typeof hp<"u"?function(n){return hp.resolve(null).then(n).catch(c1)}:Os;function c1(n){setTimeout(function(){throw n})}function Po(n,r){var u=r,d=0;do{var y=u.nextSibling;if(n.removeChild(u),y&&y.nodeType===8)if(u=y.data,u==="/$"){if(d===0){n.removeChild(y),Mo(r);return}d--}else u!=="$"&&u!=="$?"&&u!=="$!"||d++;u=y}while(u);Mo(r)}function sa(n){for(;n!=null;n=n.nextSibling){var r=n.nodeType;if(r===1||r===3)break;if(r===8){if(r=n.data,r==="$"||r==="$!"||r==="$?")break;if(r==="/$")return null}}return n}function Yu(n){n=n.previousSibling;for(var r=0;n;){if(n.nodeType===8){var u=n.data;if(u==="$"||u==="$!"||u==="$?"){if(r===0)return n;r--}else u==="/$"&&r++}n=n.previousSibling}return null}var jo=Math.random().toString(36).slice(2),ba="__reactFiber$"+jo,Ns="__reactProps$"+jo,qa="__reactContainer$"+jo,mp="__reactEvents$"+jo,f1="__reactListeners$"+jo,yp="__reactHandles$"+jo;function _i(n){var r=n[ba];if(r)return r;for(var u=n.parentNode;u;){if(r=u[qa]||u[ba]){if(u=r.alternate,r.child!==null||u!==null&&u.child!==null)for(n=Yu(n);n!==null;){if(u=n[ba])return u;n=Yu(n)}return r}n=u,u=n.parentNode}return null}function Wu(n){return n=n[ba]||n[qa],!n||n.tag!==5&&n.tag!==6&&n.tag!==13&&n.tag!==3?null:n}function zl(n){if(n.tag===5||n.tag===6)return n.stateNode;throw Error(l(33))}function it(n){return n[Ns]||null}var Ho=[],ln=-1;function Et(n){return{current:n}}function jt(n){0>ln||(n.current=Ho[ln],Ho[ln]=null,ln--)}function Ft(n,r){ln++,Ho[ln]=n.current,n.current=r}var wa={},pt=Et(wa),xn=Et(!1),Gr=wa;function Oi(n,r){var u=n.type.contextTypes;if(!u)return wa;var d=n.stateNode;if(d&&d.__reactInternalMemoizedUnmaskedChildContext===r)return d.__reactInternalMemoizedMaskedChildContext;var y={},E;for(E in u)y[E]=r[E];return d&&(n=n.stateNode,n.__reactInternalMemoizedUnmaskedChildContext=r,n.__reactInternalMemoizedMaskedChildContext=y),y}function hn(n){return n=n.childContextTypes,n!=null}function Ni(){jt(xn),jt(pt)}function Fo(n,r,u){if(pt.current!==wa)throw Error(l(168));Ft(pt,r),Ft(xn,u)}function qu(n,r,u){var d=n.stateNode;if(r=r.childContextTypes,typeof d.getChildContext!="function")return u;d=d.getChildContext();for(var y in d)if(!(y in r))throw Error(l(108,Te(n)||"Unknown",y));return O({},u,d)}function rf(n){return n=(n=n.stateNode)&&n.__reactInternalMemoizedMergedChildContext||wa,Gr=pt.current,Ft(pt,n),Ft(xn,xn.current),!0}function Xv(n,r,u){var d=n.stateNode;if(!d)throw Error(l(169));u?(n=qu(n,r,Gr),d.__reactInternalMemoizedMergedChildContext=n,jt(xn),jt(pt),Ft(pt,n)):jt(xn),Ft(xn,u)}var fi=null,Gn=!1,Gu=!1;function gp(n){fi===null?fi=[n]:fi.push(n)}function Ep(n){Gn=!0,gp(n)}function Qr(){if(!Gu&&fi!==null){Gu=!0;var n=0,r=$t;try{var u=fi;for($t=1;n<u.length;n++){var d=u[n];do d=d(!0);while(d!==null)}fi=null,Gn=!1}catch(y){throw fi!==null&&(fi=fi.slice(n+1)),_u(ta,Qr),y}finally{$t=r,Gu=!1}}return null}var Vo=[],Kr=0,Ds=null,$l=0,Xr=[],gr=0,Di=null,ar=1,Ga="";function di(n,r){Vo[Kr++]=$l,Vo[Kr++]=Ds,Ds=n,$l=r}function Sp(n,r,u){Xr[gr++]=ar,Xr[gr++]=Ga,Xr[gr++]=Di,Di=n;var d=ar;n=Ga;var y=32-Tr(d)-1;d&=~(1<<y),u+=1;var E=32-Tr(r)+y;if(30<E){var _=y-y%5;E=(d&(1<<_)-1).toString(32),d>>=_,y-=_,ar=1<<32-Tr(r)+y|u<<y|d,Ga=E+n}else ar=1<<E|u<<y|d,Ga=n}function af(n){n.return!==null&&(di(n,1),Sp(n,1,0))}function Cp(n){for(;n===Ds;)Ds=Vo[--Kr],Vo[Kr]=null,$l=Vo[--Kr],Vo[Kr]=null;for(;n===Di;)Di=Xr[--gr],Xr[gr]=null,Ga=Xr[--gr],Xr[gr]=null,ar=Xr[--gr],Xr[gr]=null}var pi=null,Zr=null,un=!1,Li=null;function bp(n,r){var u=Pi(5,null,null,0);u.elementType="DELETED",u.stateNode=r,u.return=n,r=n.deletions,r===null?(n.deletions=[u],n.flags|=16):r.push(u)}function Zv(n,r){switch(n.tag){case 5:var u=n.type;return r=r.nodeType!==1||u.toLowerCase()!==r.nodeName.toLowerCase()?null:r,r!==null?(n.stateNode=r,pi=n,Zr=sa(r.firstChild),!0):!1;case 6:return r=n.pendingProps===""||r.nodeType!==3?null:r,r!==null?(n.stateNode=r,pi=n,Zr=null,!0):!1;case 13:return r=r.nodeType!==8?null:r,r!==null?(u=Di!==null?{id:ar,overflow:Ga}:null,n.memoizedState={dehydrated:r,treeContext:u,retryLane:1073741824},u=Pi(18,null,null,0),u.stateNode=r,u.return=n,n.child=u,pi=n,Zr=null,!0):!1;default:return!1}}function of(n){return(n.mode&1)!==0&&(n.flags&128)===0}function sf(n){if(un){var r=Zr;if(r){var u=r;if(!Zv(n,r)){if(of(n))throw Error(l(418));r=sa(u.nextSibling);var d=pi;r&&Zv(n,r)?bp(d,u):(n.flags=n.flags&-4097|2,un=!1,pi=n)}}else{if(of(n))throw Error(l(418));n.flags=n.flags&-4097|2,un=!1,pi=n}}}function Jv(n){for(n=n.return;n!==null&&n.tag!==5&&n.tag!==3&&n.tag!==13;)n=n.return;pi=n}function lf(n){if(n!==pi)return!1;if(!un)return Jv(n),un=!0,!1;var r;if((r=n.tag!==3)&&!(r=n.tag!==5)&&(r=n.type,r=r!=="head"&&r!=="body"&&!Iu(n.type,n.memoizedProps)),r&&(r=Zr)){if(of(n))throw em(),Error(l(418));for(;r;)bp(n,r),r=sa(r.nextSibling)}if(Jv(n),n.tag===13){if(n=n.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(l(317));e:{for(n=n.nextSibling,r=0;n;){if(n.nodeType===8){var u=n.data;if(u==="/$"){if(r===0){Zr=sa(n.nextSibling);break e}r--}else u!=="$"&&u!=="$!"&&u!=="$?"||r++}n=n.nextSibling}Zr=null}}else Zr=pi?sa(n.stateNode.nextSibling):null;return!0}function em(){for(var n=Zr;n;)n=sa(n.nextSibling)}function gn(){Zr=pi=null,un=!1}function wp(n){Li===null?Li=[n]:Li.push(n)}var uf=pe.ReactCurrentBatchConfig;function hi(n,r){if(n&&n.defaultProps){r=O({},r),n=n.defaultProps;for(var u in n)r[u]===void 0&&(r[u]=n[u]);return r}return r}var xa=Et(null),cf=null,Bo=null,xp=null;function Tp(){xp=Bo=cf=null}function Io(n){var r=xa.current;jt(xa),n._currentValue=r}function Qn(n,r,u){for(;n!==null;){var d=n.alternate;if((n.childLanes&r)!==r?(n.childLanes|=r,d!==null&&(d.childLanes|=r)):d!==null&&(d.childLanes&r)!==r&&(d.childLanes|=r),n===u)break;n=n.return}}function Le(n,r){cf=n,xp=Bo=null,n=n.dependencies,n!==null&&n.firstContext!==null&&(n.lanes&r&&(zn=!0),n.firstContext=null)}function Nn(n){var r=n._currentValue;if(xp!==n)if(n={context:n,memoizedValue:r,next:null},Bo===null){if(cf===null)throw Error(l(308));Bo=n,cf.dependencies={lanes:0,firstContext:n}}else Bo=Bo.next=n;return r}var or=null;function Rp(n){or===null?or=[n]:or.push(n)}function tm(n,r,u,d){var y=r.interleaved;return y===null?(u.next=u,Rp(r)):(u.next=y.next,y.next=u),r.interleaved=u,Qa(n,d)}function Qa(n,r){n.lanes|=r;var u=n.alternate;for(u!==null&&(u.lanes|=r),u=n,n=n.return;n!==null;)n.childLanes|=r,u=n.alternate,u!==null&&(u.childLanes|=r),u=n,n=n.return;return u.tag===3?u.stateNode:null}var Yo=!1;function kp(n){n.updateQueue={baseState:n.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function jn(n,r){n=n.updateQueue,r.updateQueue===n&&(r.updateQueue={baseState:n.baseState,firstBaseUpdate:n.firstBaseUpdate,lastBaseUpdate:n.lastBaseUpdate,shared:n.shared,effects:n.effects})}function Ka(n,r){return{eventTime:n,lane:r,tag:0,payload:null,callback:null,next:null}}function Wo(n,r,u){var d=n.updateQueue;if(d===null)return null;if(d=d.shared,Tt&2){var y=d.pending;return y===null?r.next=r:(r.next=y.next,y.next=r),d.pending=r,Qa(n,u)}return y=d.interleaved,y===null?(r.next=r,Rp(d)):(r.next=y.next,y.next=r),d.interleaved=r,Qa(n,u)}function ff(n,r,u){if(r=r.updateQueue,r!==null&&(r=r.shared,(u&4194240)!==0)){var d=r.lanes;d&=n.pendingLanes,u|=d,r.lanes=u,Sa(n,u)}}function _p(n,r){var u=n.updateQueue,d=n.alternate;if(d!==null&&(d=d.updateQueue,u===d)){var y=null,E=null;if(u=u.firstBaseUpdate,u!==null){do{var _={eventTime:u.eventTime,lane:u.lane,tag:u.tag,payload:u.payload,callback:u.callback,next:null};E===null?y=E=_:E=E.next=_,u=u.next}while(u!==null);E===null?y=E=r:E=E.next=r}else y=E=r;u={baseState:d.baseState,firstBaseUpdate:y,lastBaseUpdate:E,shared:d.shared,effects:d.effects},n.updateQueue=u;return}n=u.lastBaseUpdate,n===null?u.firstBaseUpdate=r:n.next=r,u.lastBaseUpdate=r}function qo(n,r,u,d){var y=n.updateQueue;Yo=!1;var E=y.firstBaseUpdate,_=y.lastBaseUpdate,A=y.shared.pending;if(A!==null){y.shared.pending=null;var j=A,ee=j.next;j.next=null,_===null?E=ee:_.next=ee,_=j;var ge=n.alternate;ge!==null&&(ge=ge.updateQueue,A=ge.lastBaseUpdate,A!==_&&(A===null?ge.firstBaseUpdate=ee:A.next=ee,ge.lastBaseUpdate=j))}if(E!==null){var Ee=y.baseState;_=0,ge=ee=j=null,A=E;do{var me=A.lane,Pe=A.eventTime;if((d&me)===me){ge!==null&&(ge=ge.next={eventTime:Pe,lane:0,tag:A.tag,payload:A.payload,callback:A.callback,next:null});e:{var Ie=n,Qe=A;switch(me=r,Pe=u,Qe.tag){case 1:if(Ie=Qe.payload,typeof Ie=="function"){Ee=Ie.call(Pe,Ee,me);break e}Ee=Ie;break e;case 3:Ie.flags=Ie.flags&-65537|128;case 0:if(Ie=Qe.payload,me=typeof Ie=="function"?Ie.call(Pe,Ee,me):Ie,me==null)break e;Ee=O({},Ee,me);break e;case 2:Yo=!0}}A.callback!==null&&A.lane!==0&&(n.flags|=64,me=y.effects,me===null?y.effects=[A]:me.push(A))}else Pe={eventTime:Pe,lane:me,tag:A.tag,payload:A.payload,callback:A.callback,next:null},ge===null?(ee=ge=Pe,j=Ee):ge=ge.next=Pe,_|=me;if(A=A.next,A===null){if(A=y.shared.pending,A===null)break;me=A,A=me.next,me.next=null,y.lastBaseUpdate=me,y.shared.pending=null}}while(1);if(ge===null&&(j=Ee),y.baseState=j,y.firstBaseUpdate=ee,y.lastBaseUpdate=ge,r=y.shared.interleaved,r!==null){y=r;do _|=y.lane,y=y.next;while(y!==r)}else E===null&&(y.shared.lanes=0);eo|=_,n.lanes=_,n.memoizedState=Ee}}function Ls(n,r,u){if(n=r.effects,r.effects=null,n!==null)for(r=0;r<n.length;r++){var d=n[r],y=d.callback;if(y!==null){if(d.callback=null,d=u,typeof y!="function")throw Error(l(191,y));y.call(d)}}}var nm=new o.Component().refs;function Op(n,r,u,d){r=n.memoizedState,u=u(d,r),u=u==null?r:O({},r,u),n.memoizedState=u,n.lanes===0&&(n.updateQueue.baseState=u)}var df={isMounted:function(n){return(n=n._reactInternals)?xi(n)===n:!1},enqueueSetState:function(n,r,u){n=n._reactInternals;var d=br(),y=$n(n),E=Ka(d,y);E.payload=r,u!=null&&(E.callback=u),r=Wo(n,E,y),r!==null&&(wr(r,n,y,d),ff(r,n,y))},enqueueReplaceState:function(n,r,u){n=n._reactInternals;var d=br(),y=$n(n),E=Ka(d,y);E.tag=1,E.payload=r,u!=null&&(E.callback=u),r=Wo(n,E,y),r!==null&&(wr(r,n,y,d),ff(r,n,y))},enqueueForceUpdate:function(n,r){n=n._reactInternals;var u=br(),d=$n(n),y=Ka(u,d);y.tag=2,r!=null&&(y.callback=r),r=Wo(n,y,d),r!==null&&(wr(r,n,d,u),ff(r,n,d))}};function rm(n,r,u,d,y,E,_){return n=n.stateNode,typeof n.shouldComponentUpdate=="function"?n.shouldComponentUpdate(d,E,_):r.prototype&&r.prototype.isPureReactComponent?!Uu(u,d)||!Uu(y,E):!0}function im(n,r,u){var d=!1,y=wa,E=r.contextType;return typeof E=="object"&&E!==null?E=Nn(E):(y=hn(r)?Gr:pt.current,d=r.contextTypes,E=(d=d!=null)?Oi(n,y):wa),r=new r(u,E),n.memoizedState=r.state!==null&&r.state!==void 0?r.state:null,r.updater=df,n.stateNode=r,r._reactInternals=n,d&&(n=n.stateNode,n.__reactInternalMemoizedUnmaskedChildContext=y,n.__reactInternalMemoizedMaskedChildContext=E),r}function am(n,r,u,d){n=r.state,typeof r.componentWillReceiveProps=="function"&&r.componentWillReceiveProps(u,d),typeof r.UNSAFE_componentWillReceiveProps=="function"&&r.UNSAFE_componentWillReceiveProps(u,d),r.state!==n&&df.enqueueReplaceState(r,r.state,null)}function pf(n,r,u,d){var y=n.stateNode;y.props=u,y.state=n.memoizedState,y.refs=nm,kp(n);var E=r.contextType;typeof E=="object"&&E!==null?y.context=Nn(E):(E=hn(r)?Gr:pt.current,y.context=Oi(n,E)),y.state=n.memoizedState,E=r.getDerivedStateFromProps,typeof E=="function"&&(Op(n,r,E,u),y.state=n.memoizedState),typeof r.getDerivedStateFromProps=="function"||typeof y.getSnapshotBeforeUpdate=="function"||typeof y.UNSAFE_componentWillMount!="function"&&typeof y.componentWillMount!="function"||(r=y.state,typeof y.componentWillMount=="function"&&y.componentWillMount(),typeof y.UNSAFE_componentWillMount=="function"&&y.UNSAFE_componentWillMount(),r!==y.state&&df.enqueueReplaceState(y,y.state,null),qo(n,u,y,d),y.state=n.memoizedState),typeof y.componentDidMount=="function"&&(n.flags|=4194308)}function Ul(n,r,u){if(n=u.ref,n!==null&&typeof n!="function"&&typeof n!="object"){if(u._owner){if(u=u._owner,u){if(u.tag!==1)throw Error(l(309));var d=u.stateNode}if(!d)throw Error(l(147,n));var y=d,E=""+n;return r!==null&&r.ref!==null&&typeof r.ref=="function"&&r.ref._stringRef===E?r.ref:(r=function(_){var A=y.refs;A===nm&&(A=y.refs={}),_===null?delete A[E]:A[E]=_},r._stringRef=E,r)}if(typeof n!="string")throw Error(l(284));if(!u._owner)throw Error(l(290,n))}return n}function hf(n,r){throw n=Object.prototype.toString.call(r),Error(l(31,n==="[object Object]"?"object with keys {"+Object.keys(r).join(", ")+"}":n))}function om(n){var r=n._init;return r(n._payload)}function sm(n){function r(q,B){if(n){var K=q.deletions;K===null?(q.deletions=[B],q.flags|=16):K.push(B)}}function u(q,B){if(!n)return null;for(;B!==null;)r(q,B),B=B.sibling;return null}function d(q,B){for(q=new Map;B!==null;)B.key!==null?q.set(B.key,B):q.set(B.index,B),B=B.sibling;return q}function y(q,B){return q=ts(q,B),q.index=0,q.sibling=null,q}function E(q,B,K){return q.index=K,n?(K=q.alternate,K!==null?(K=K.index,K<B?(q.flags|=2,B):K):(q.flags|=2,B)):(q.flags|=1048576,B)}function _(q){return n&&q.alternate===null&&(q.flags|=2),q}function A(q,B,K,Re){return B===null||B.tag!==6?(B=pc(K,q.mode,Re),B.return=q,B):(B=y(B,K),B.return=q,B)}function j(q,B,K,Re){var Ze=K.type;return Ze===se?ge(q,B,K.props.children,Re,K.key):B!==null&&(B.elementType===Ze||typeof Ze=="object"&&Ze!==null&&Ze.$$typeof===tt&&om(Ze)===B.type)?(Re=y(B,K.props),Re.ref=Ul(q,B,K),Re.return=q,Re):(Re=Wf(K.type,K.key,K.props,null,q.mode,Re),Re.ref=Ul(q,B,K),Re.return=q,Re)}function ee(q,B,K,Re){return B===null||B.tag!==4||B.stateNode.containerInfo!==K.containerInfo||B.stateNode.implementation!==K.implementation?(B=Xs(K,q.mode,Re),B.return=q,B):(B=y(B,K.children||[]),B.return=q,B)}function ge(q,B,K,Re,Ze){return B===null||B.tag!==7?(B=Ks(K,q.mode,Re,Ze),B.return=q,B):(B=y(B,K),B.return=q,B)}function Ee(q,B,K){if(typeof B=="string"&&B!==""||typeof B=="number")return B=pc(""+B,q.mode,K),B.return=q,B;if(typeof B=="object"&&B!==null){switch(B.$$typeof){case W:return K=Wf(B.type,B.key,B.props,null,q.mode,K),K.ref=Ul(q,null,B),K.return=q,K;case we:return B=Xs(B,q.mode,K),B.return=q,B;case tt:var Re=B._init;return Ee(q,Re(B._payload),K)}if(yr(B)||ye(B))return B=Ks(B,q.mode,K,null),B.return=q,B;hf(q,B)}return null}function me(q,B,K,Re){var Ze=B!==null?B.key:null;if(typeof K=="string"&&K!==""||typeof K=="number")return Ze!==null?null:A(q,B,""+K,Re);if(typeof K=="object"&&K!==null){switch(K.$$typeof){case W:return K.key===Ze?j(q,B,K,Re):null;case we:return K.key===Ze?ee(q,B,K,Re):null;case tt:return Ze=K._init,me(q,B,Ze(K._payload),Re)}if(yr(K)||ye(K))return Ze!==null?null:ge(q,B,K,Re,null);hf(q,K)}return null}function Pe(q,B,K,Re,Ze){if(typeof Re=="string"&&Re!==""||typeof Re=="number")return q=q.get(K)||null,A(B,q,""+Re,Ze);if(typeof Re=="object"&&Re!==null){switch(Re.$$typeof){case W:return q=q.get(Re.key===null?K:Re.key)||null,j(B,q,Re,Ze);case we:return q=q.get(Re.key===null?K:Re.key)||null,ee(B,q,Re,Ze);case tt:var Ye=Re._init;return Pe(q,B,K,Ye(Re._payload),Ze)}if(yr(Re)||ye(Re))return q=q.get(K)||null,ge(B,q,Re,Ze,null);hf(B,Re)}return null}function Ie(q,B,K,Re){for(var Ze=null,Ye=null,nt=B,ht=B=0,Zn=null;nt!==null&&ht<K.length;ht++){nt.index>ht?(Zn=nt,nt=null):Zn=nt.sibling;var At=me(q,nt,K[ht],Re);if(At===null){nt===null&&(nt=Zn);break}n&&nt&&At.alternate===null&&r(q,nt),B=E(At,B,ht),Ye===null?Ze=At:Ye.sibling=At,Ye=At,nt=Zn}if(ht===K.length)return u(q,nt),un&&di(q,ht),Ze;if(nt===null){for(;ht<K.length;ht++)nt=Ee(q,K[ht],Re),nt!==null&&(B=E(nt,B,ht),Ye===null?Ze=nt:Ye.sibling=nt,Ye=nt);return un&&di(q,ht),Ze}for(nt=d(q,nt);ht<K.length;ht++)Zn=Pe(nt,q,ht,K[ht],Re),Zn!==null&&(n&&Zn.alternate!==null&&nt.delete(Zn.key===null?ht:Zn.key),B=E(Zn,B,ht),Ye===null?Ze=Zn:Ye.sibling=Zn,Ye=Zn);return n&&nt.forEach(function(ns){return r(q,ns)}),un&&di(q,ht),Ze}function Qe(q,B,K,Re){var Ze=ye(K);if(typeof Ze!="function")throw Error(l(150));if(K=Ze.call(K),K==null)throw Error(l(151));for(var Ye=Ze=null,nt=B,ht=B=0,Zn=null,At=K.next();nt!==null&&!At.done;ht++,At=K.next()){nt.index>ht?(Zn=nt,nt=null):Zn=nt.sibling;var ns=me(q,nt,At.value,Re);if(ns===null){nt===null&&(nt=Zn);break}n&&nt&&ns.alternate===null&&r(q,nt),B=E(ns,B,ht),Ye===null?Ze=ns:Ye.sibling=ns,Ye=ns,nt=Zn}if(At.done)return u(q,nt),un&&di(q,ht),Ze;if(nt===null){for(;!At.done;ht++,At=K.next())At=Ee(q,At.value,Re),At!==null&&(B=E(At,B,ht),Ye===null?Ze=At:Ye.sibling=At,Ye=At);return un&&di(q,ht),Ze}for(nt=d(q,nt);!At.done;ht++,At=K.next())At=Pe(nt,q,ht,At.value,Re),At!==null&&(n&&At.alternate!==null&&nt.delete(At.key===null?ht:At.key),B=E(At,B,ht),Ye===null?Ze=At:Ye.sibling=At,Ye=At);return n&&nt.forEach(function(D1){return r(q,D1)}),un&&di(q,ht),Ze}function Dn(q,B,K,Re){if(typeof K=="object"&&K!==null&&K.type===se&&K.key===null&&(K=K.props.children),typeof K=="object"&&K!==null){switch(K.$$typeof){case W:e:{for(var Ze=K.key,Ye=B;Ye!==null;){if(Ye.key===Ze){if(Ze=K.type,Ze===se){if(Ye.tag===7){u(q,Ye.sibling),B=y(Ye,K.props.children),B.return=q,q=B;break e}}else if(Ye.elementType===Ze||typeof Ze=="object"&&Ze!==null&&Ze.$$typeof===tt&&om(Ze)===Ye.type){u(q,Ye.sibling),B=y(Ye,K.props),B.ref=Ul(q,Ye,K),B.return=q,q=B;break e}u(q,Ye);break}else r(q,Ye);Ye=Ye.sibling}K.type===se?(B=Ks(K.props.children,q.mode,Re,K.key),B.return=q,q=B):(Re=Wf(K.type,K.key,K.props,null,q.mode,Re),Re.ref=Ul(q,B,K),Re.return=q,q=Re)}return _(q);case we:e:{for(Ye=K.key;B!==null;){if(B.key===Ye)if(B.tag===4&&B.stateNode.containerInfo===K.containerInfo&&B.stateNode.implementation===K.implementation){u(q,B.sibling),B=y(B,K.children||[]),B.return=q,q=B;break e}else{u(q,B);break}else r(q,B);B=B.sibling}B=Xs(K,q.mode,Re),B.return=q,q=B}return _(q);case tt:return Ye=K._init,Dn(q,B,Ye(K._payload),Re)}if(yr(K))return Ie(q,B,K,Re);if(ye(K))return Qe(q,B,K,Re);hf(q,K)}return typeof K=="string"&&K!==""||typeof K=="number"?(K=""+K,B!==null&&B.tag===6?(u(q,B.sibling),B=y(B,K),B.return=q,q=B):(u(q,B),B=pc(K,q.mode,Re),B.return=q,q=B),_(q)):u(q,B)}return Dn}var Pl=sm(!0),lm=sm(!1),Qu={},la=Et(Qu),Ku=Et(Qu),jl=Et(Qu);function Ms(n){if(n===Qu)throw Error(l(174));return n}function Np(n,r){switch(Ft(jl,r),Ft(Ku,n),Ft(la,Qu),n=r.nodeType,n){case 9:case 11:r=(r=r.documentElement)?r.namespaceURI:rr(null,"");break;default:n=n===8?r.parentNode:r,r=n.namespaceURI||null,n=n.tagName,r=rr(r,n)}jt(la),Ft(la,r)}function Go(){jt(la),jt(Ku),jt(jl)}function st(n){Ms(jl.current);var r=Ms(la.current),u=rr(r,n.type);r!==u&&(Ft(Ku,n),Ft(la,u))}function xt(n){Ku.current===n&&(jt(la),jt(Ku))}var ut=Et(0);function En(n){for(var r=n;r!==null;){if(r.tag===13){var u=r.memoizedState;if(u!==null&&(u=u.dehydrated,u===null||u.data==="$?"||u.data==="$!"))return r}else if(r.tag===19&&r.memoizedProps.revealOrder!==void 0){if(r.flags&128)return r}else if(r.child!==null){r.child.return=r,r=r.child;continue}if(r===n)break;for(;r.sibling===null;){if(r.return===null||r.return===n)return null;r=r.return}r.sibling.return=r.return,r=r.sibling}return null}var Mi=[];function vf(){for(var n=0;n<Mi.length;n++)Mi[n]._workInProgressVersionPrimary=null;Mi.length=0}var mf=pe.ReactCurrentDispatcher,Dp=pe.ReactCurrentBatchConfig,As=0,cn=null,le=null,_t=null,ct=!1,Ta=!1,mi=0,zs=0;function fn(){throw Error(l(321))}function $s(n,r){if(r===null)return!1;for(var u=0;u<r.length&&u<n.length;u++)if(!ki(n[u],r[u]))return!1;return!0}function Qo(n,r,u,d,y,E){if(As=E,cn=r,r.memoizedState=null,r.updateQueue=null,r.lanes=0,mf.current=n===null||n.memoizedState===null?p1:h1,n=u(d,y),Ta){E=0;do{if(Ta=!1,mi=0,25<=E)throw Error(l(301));E+=1,_t=le=null,r.updateQueue=null,mf.current=Mp,n=u(d,y)}while(Ta)}if(mf.current=Lf,r=le!==null&&le.next!==null,As=0,_t=le=cn=null,ct=!1,r)throw Error(l(300));return n}function Us(){var n=mi!==0;return mi=0,n}function Ai(){var n={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return _t===null?cn.memoizedState=_t=n:_t=_t.next=n,_t}function Jr(){if(le===null){var n=cn.alternate;n=n!==null?n.memoizedState:null}else n=le.next;var r=_t===null?cn.memoizedState:_t.next;if(r!==null)_t=r,le=n;else{if(n===null)throw Error(l(310));le=n,n={memoizedState:le.memoizedState,baseState:le.baseState,baseQueue:le.baseQueue,queue:le.queue,next:null},_t===null?cn.memoizedState=_t=n:_t=_t.next=n}return _t}function Ps(n,r){return typeof r=="function"?r(n):r}function Xu(n){var r=Jr(),u=r.queue;if(u===null)throw Error(l(311));u.lastRenderedReducer=n;var d=le,y=d.baseQueue,E=u.pending;if(E!==null){if(y!==null){var _=y.next;y.next=E.next,E.next=_}d.baseQueue=y=E,u.pending=null}if(y!==null){E=y.next,d=d.baseState;var A=_=null,j=null,ee=E;do{var ge=ee.lane;if((As&ge)===ge)j!==null&&(j=j.next={lane:0,action:ee.action,hasEagerState:ee.hasEagerState,eagerState:ee.eagerState,next:null}),d=ee.hasEagerState?ee.eagerState:n(d,ee.action);else{var Ee={lane:ge,action:ee.action,hasEagerState:ee.hasEagerState,eagerState:ee.eagerState,next:null};j===null?(A=j=Ee,_=d):j=j.next=Ee,cn.lanes|=ge,eo|=ge}ee=ee.next}while(ee!==null&&ee!==E);j===null?_=d:j.next=A,ki(d,r.memoizedState)||(zn=!0),r.memoizedState=d,r.baseState=_,r.baseQueue=j,u.lastRenderedState=d}if(n=u.interleaved,n!==null){y=n;do E=y.lane,cn.lanes|=E,eo|=E,y=y.next;while(y!==n)}else y===null&&(u.lanes=0);return[r.memoizedState,u.dispatch]}function Zu(n){var r=Jr(),u=r.queue;if(u===null)throw Error(l(311));u.lastRenderedReducer=n;var d=u.dispatch,y=u.pending,E=r.memoizedState;if(y!==null){u.pending=null;var _=y=y.next;do E=n(E,_.action),_=_.next;while(_!==y);ki(E,r.memoizedState)||(zn=!0),r.memoizedState=E,r.baseQueue===null&&(r.baseState=E),u.lastRenderedState=E}return[E,d]}function yf(){}function gf(n,r){var u=cn,d=Jr(),y=r(),E=!ki(d.memoizedState,y);if(E&&(d.memoizedState=y,zn=!0),d=d.queue,Ju(Cf.bind(null,u,d,n),[n]),d.getSnapshot!==r||E||_t!==null&&_t.memoizedState.tag&1){if(u.flags|=2048,js(9,Sf.bind(null,u,d,y,r),void 0,null),Sn===null)throw Error(l(349));As&30||Ef(u,r,y)}return y}function Ef(n,r,u){n.flags|=16384,n={getSnapshot:r,value:u},r=cn.updateQueue,r===null?(r={lastEffect:null,stores:null},cn.updateQueue=r,r.stores=[n]):(u=r.stores,u===null?r.stores=[n]:u.push(n))}function Sf(n,r,u,d){r.value=u,r.getSnapshot=d,bf(r)&&wf(n)}function Cf(n,r,u){return u(function(){bf(r)&&wf(n)})}function bf(n){var r=n.getSnapshot;n=n.value;try{var u=r();return!ki(n,u)}catch{return!0}}function wf(n){var r=Qa(n,1);r!==null&&wr(r,n,1,-1)}function xf(n){var r=Ai();return typeof n=="function"&&(n=n()),r.memoizedState=r.baseState=n,n={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Ps,lastRenderedState:n},r.queue=n,n=n.dispatch=Df.bind(null,cn,n),[r.memoizedState,n]}function js(n,r,u,d){return n={tag:n,create:r,destroy:u,deps:d,next:null},r=cn.updateQueue,r===null?(r={lastEffect:null,stores:null},cn.updateQueue=r,r.lastEffect=n.next=n):(u=r.lastEffect,u===null?r.lastEffect=n.next=n:(d=u.next,u.next=n,n.next=d,r.lastEffect=n)),n}function Tf(){return Jr().memoizedState}function Hs(n,r,u,d){var y=Ai();cn.flags|=n,y.memoizedState=js(1|r,u,void 0,d===void 0?null:d)}function Xa(n,r,u,d){var y=Jr();d=d===void 0?null:d;var E=void 0;if(le!==null){var _=le.memoizedState;if(E=_.destroy,d!==null&&$s(d,_.deps)){y.memoizedState=js(r,u,E,d);return}}cn.flags|=n,y.memoizedState=js(1|r,u,E,d)}function Rf(n,r){return Hs(8390656,8,n,r)}function Ju(n,r){return Xa(2048,8,n,r)}function kf(n,r){return Xa(4,2,n,r)}function _f(n,r){return Xa(4,4,n,r)}function Lp(n,r){if(typeof r=="function")return n=n(),r(n),function(){r(null)};if(r!=null)return n=n(),r.current=n,function(){r.current=null}}function Hl(n,r,u){return u=u!=null?u.concat([n]):null,Xa(4,4,Lp.bind(null,r,n),u)}function Of(){}function Fl(n,r){var u=Jr();r=r===void 0?null:r;var d=u.memoizedState;return d!==null&&r!==null&&$s(r,d[1])?d[0]:(u.memoizedState=[n,r],n)}function Ko(n,r){var u=Jr();r=r===void 0?null:r;var d=u.memoizedState;return d!==null&&r!==null&&$s(r,d[1])?d[0]:(n=n(),u.memoizedState=[n,r],n)}function ei(n,r,u){return As&21?(ki(u,r)||(u=Sl(),cn.lanes|=u,eo|=u,n.baseState=!0),r):(n.baseState&&(n.baseState=!1,zn=!0),n.memoizedState=u)}function d1(n,r){var u=$t;$t=u!==0&&4>u?u:4,n(!0);var d=Dp.transition;Dp.transition={};try{n(!1),r()}finally{$t=u,Dp.transition=d}}function nn(){return Jr().memoizedState}function Nf(n,r,u){var d=$n(n);if(u={lane:d,action:u,hasEagerState:!1,eagerState:null,next:null},Vl(n))ec(r,u);else if(u=tm(n,r,u,d),u!==null){var y=br();wr(u,n,d,y),um(u,r,d)}}function Df(n,r,u){var d=$n(n),y={lane:d,action:u,hasEagerState:!1,eagerState:null,next:null};if(Vl(n))ec(r,y);else{var E=n.alternate;if(n.lanes===0&&(E===null||E.lanes===0)&&(E=r.lastRenderedReducer,E!==null))try{var _=r.lastRenderedState,A=E(_,u);if(y.hasEagerState=!0,y.eagerState=A,ki(A,_)){var j=r.interleaved;j===null?(y.next=y,Rp(r)):(y.next=j.next,j.next=y),r.interleaved=y;return}}catch{}finally{}u=tm(n,r,y,d),u!==null&&(y=br(),wr(u,n,d,y),um(u,r,d))}}function Vl(n){var r=n.alternate;return n===cn||r!==null&&r===cn}function ec(n,r){Ta=ct=!0;var u=n.pending;u===null?r.next=r:(r.next=u.next,u.next=r),n.pending=r}function um(n,r,u){if(u&4194240){var d=r.lanes;d&=n.pendingLanes,u|=d,r.lanes=u,Sa(n,u)}}var Lf={readContext:Nn,useCallback:fn,useContext:fn,useEffect:fn,useImperativeHandle:fn,useInsertionEffect:fn,useLayoutEffect:fn,useMemo:fn,useReducer:fn,useRef:fn,useState:fn,useDebugValue:fn,useDeferredValue:fn,useTransition:fn,useMutableSource:fn,useSyncExternalStore:fn,useId:fn,unstable_isNewReconciler:!1},p1={readContext:Nn,useCallback:function(n,r){return Ai().memoizedState=[n,r===void 0?null:r],n},useContext:Nn,useEffect:Rf,useImperativeHandle:function(n,r,u){return u=u!=null?u.concat([n]):null,Hs(4194308,4,Lp.bind(null,r,n),u)},useLayoutEffect:function(n,r){return Hs(4194308,4,n,r)},useInsertionEffect:function(n,r){return Hs(4,2,n,r)},useMemo:function(n,r){var u=Ai();return r=r===void 0?null:r,n=n(),u.memoizedState=[n,r],n},useReducer:function(n,r,u){var d=Ai();return r=u!==void 0?u(r):r,d.memoizedState=d.baseState=r,n={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:n,lastRenderedState:r},d.queue=n,n=n.dispatch=Nf.bind(null,cn,n),[d.memoizedState,n]},useRef:function(n){var r=Ai();return n={current:n},r.memoizedState=n},useState:xf,useDebugValue:Of,useDeferredValue:function(n){return Ai().memoizedState=n},useTransition:function(){var n=xf(!1),r=n[0];return n=d1.bind(null,n[1]),Ai().memoizedState=n,[r,n]},useMutableSource:function(){},useSyncExternalStore:function(n,r,u){var d=cn,y=Ai();if(un){if(u===void 0)throw Error(l(407));u=u()}else{if(u=r(),Sn===null)throw Error(l(349));As&30||Ef(d,r,u)}y.memoizedState=u;var E={value:u,getSnapshot:r};return y.queue=E,Rf(Cf.bind(null,d,E,n),[n]),d.flags|=2048,js(9,Sf.bind(null,d,E,u,r),void 0,null),u},useId:function(){var n=Ai(),r=Sn.identifierPrefix;if(un){var u=Ga,d=ar;u=(d&~(1<<32-Tr(d)-1)).toString(32)+u,r=":"+r+"R"+u,u=mi++,0<u&&(r+="H"+u.toString(32)),r+=":"}else u=zs++,r=":"+r+"r"+u.toString(32)+":";return n.memoizedState=r},unstable_isNewReconciler:!1},h1={readContext:Nn,useCallback:Fl,useContext:Nn,useEffect:Ju,useImperativeHandle:Hl,useInsertionEffect:kf,useLayoutEffect:_f,useMemo:Ko,useReducer:Xu,useRef:Tf,useState:function(){return Xu(Ps)},useDebugValue:Of,useDeferredValue:function(n){var r=Jr();return ei(r,le.memoizedState,n)},useTransition:function(){var n=Xu(Ps)[0],r=Jr().memoizedState;return[n,r]},useMutableSource:yf,useSyncExternalStore:gf,useId:nn,unstable_isNewReconciler:!1},Mp={readContext:Nn,useCallback:Fl,useContext:Nn,useEffect:Ju,useImperativeHandle:Hl,useInsertionEffect:kf,useLayoutEffect:_f,useMemo:Ko,useReducer:Zu,useRef:Tf,useState:function(){return Zu(Ps)},useDebugValue:Of,useDeferredValue:function(n){var r=Jr();return le===null?r.memoizedState=n:ei(r,le.memoizedState,n)},useTransition:function(){var n=Zu(Ps)[0],r=Jr().memoizedState;return[n,r]},useMutableSource:yf,useSyncExternalStore:gf,useId:nn,unstable_isNewReconciler:!1};function Bl(n,r){try{var u="",d=r;do u+=ke(d),d=d.return;while(d);var y=u}catch(E){y=`
|
|
133
|
-
Error generating stack: `+E.message+`
|
|
134
|
-
`+E.stack}return{value:n,source:r,stack:y,digest:null}}function tc(n,r,u){return{value:n,source:null,stack:u??null,digest:r??null}}function Mf(n,r){try{console.error(r.value)}catch(u){setTimeout(function(){throw u})}}var v1=typeof WeakMap=="function"?WeakMap:Map;function cm(n,r,u){u=Ka(-1,u),u.tag=3,u.payload={element:null};var d=r.value;return u.callback=function(){Hf||(Hf=!0,Ys=d),Mf(n,r)},u}function nc(n,r,u){u=Ka(-1,u),u.tag=3;var d=n.type.getDerivedStateFromError;if(typeof d=="function"){var y=r.value;u.payload=function(){return d(y)},u.callback=function(){Mf(n,r)}}var E=n.stateNode;return E!==null&&typeof E.componentDidCatch=="function"&&(u.callback=function(){Mf(n,r),typeof d!="function"&&(_a===null?_a=new Set([this]):_a.add(this));var _=r.stack;this.componentDidCatch(r.value,{componentStack:_!==null?_:""})}),u}function fm(n,r,u){var d=n.pingCache;if(d===null){d=n.pingCache=new v1;var y=new Set;d.set(r,y)}else y=d.get(r),y===void 0&&(y=new Set,d.set(r,y));y.has(u)||(y.add(u),n=b1.bind(null,n,r,u),r.then(n,n))}function Ap(n){do{var r;if((r=n.tag===13)&&(r=n.memoizedState,r=r!==null?r.dehydrated!==null:!0),r)return n;n=n.return}while(n!==null);return null}function zp(n,r,u,d,y){return n.mode&1?(n.flags|=65536,n.lanes=y,n):(n===r?n.flags|=65536:(n.flags|=128,u.flags|=131072,u.flags&=-52805,u.tag===1&&(u.alternate===null?u.tag=17:(r=Ka(-1,1),r.tag=2,Wo(u,r,1))),u.lanes|=1),n)}var m1=pe.ReactCurrentOwner,zn=!1;function Hn(n,r,u,d){r.child=n===null?lm(r,null,u,d):Pl(r,n.child,u,d)}function Xo(n,r,u,d,y){u=u.render;var E=r.ref;return Le(r,y),d=Qo(n,r,u,d,E,y),u=Us(),n!==null&&!zn?(r.updateQueue=n.updateQueue,r.flags&=-2053,n.lanes&=~y,sr(n,r,y)):(un&&u&&af(r),r.flags|=1,Hn(n,r,d,y),r.child)}function Af(n,r,u,d,y){if(n===null){var E=u.type;return typeof E=="function"&&!eh(E)&&E.defaultProps===void 0&&u.compare===null&&u.defaultProps===void 0?(r.tag=15,r.type=E,ti(n,r,E,d,y)):(n=Wf(u.type,null,d,r,r.mode,y),n.ref=r.ref,n.return=r,r.child=n)}if(E=n.child,!(n.lanes&y)){var _=E.memoizedProps;if(u=u.compare,u=u!==null?u:Uu,u(_,d)&&n.ref===r.ref)return sr(n,r,y)}return r.flags|=1,n=ts(E,d),n.ref=r.ref,n.return=r,r.child=n}function ti(n,r,u,d,y){if(n!==null){var E=n.memoizedProps;if(Uu(E,d)&&n.ref===r.ref)if(zn=!1,r.pendingProps=d=E,(n.lanes&y)!==0)n.flags&131072&&(zn=!0);else return r.lanes=n.lanes,sr(n,r,y)}return Il(n,r,u,d,y)}function Fs(n,r,u){var d=r.pendingProps,y=d.children,E=n!==null?n.memoizedState:null;if(d.mode==="hidden")if(!(r.mode&1))r.memoizedState={baseLanes:0,cachePool:null,transitions:null},Ft(Kl,yi),yi|=u;else{if(!(u&1073741824))return n=E!==null?E.baseLanes|u:u,r.lanes=r.childLanes=1073741824,r.memoizedState={baseLanes:n,cachePool:null,transitions:null},r.updateQueue=null,Ft(Kl,yi),yi|=n,null;r.memoizedState={baseLanes:0,cachePool:null,transitions:null},d=E!==null?E.baseLanes:u,Ft(Kl,yi),yi|=d}else E!==null?(d=E.baseLanes|u,r.memoizedState=null):d=u,Ft(Kl,yi),yi|=d;return Hn(n,r,y,u),r.child}function St(n,r){var u=r.ref;(n===null&&u!==null||n!==null&&n.ref!==u)&&(r.flags|=512,r.flags|=2097152)}function Il(n,r,u,d,y){var E=hn(u)?Gr:pt.current;return E=Oi(r,E),Le(r,y),u=Qo(n,r,u,d,E,y),d=Us(),n!==null&&!zn?(r.updateQueue=n.updateQueue,r.flags&=-2053,n.lanes&=~y,sr(n,r,y)):(un&&d&&af(r),r.flags|=1,Hn(n,r,u,y),r.child)}function $p(n,r,u,d,y){if(hn(u)){var E=!0;rf(r)}else E=!1;if(Le(r,y),r.stateNode===null)Er(n,r),im(r,u,d),pf(r,u,d,y),d=!0;else if(n===null){var _=r.stateNode,A=r.memoizedProps;_.props=A;var j=_.context,ee=u.contextType;typeof ee=="object"&&ee!==null?ee=Nn(ee):(ee=hn(u)?Gr:pt.current,ee=Oi(r,ee));var ge=u.getDerivedStateFromProps,Ee=typeof ge=="function"||typeof _.getSnapshotBeforeUpdate=="function";Ee||typeof _.UNSAFE_componentWillReceiveProps!="function"&&typeof _.componentWillReceiveProps!="function"||(A!==d||j!==ee)&&am(r,_,d,ee),Yo=!1;var me=r.memoizedState;_.state=me,qo(r,d,_,y),j=r.memoizedState,A!==d||me!==j||xn.current||Yo?(typeof ge=="function"&&(Op(r,u,ge,d),j=r.memoizedState),(A=Yo||rm(r,u,A,d,me,j,ee))?(Ee||typeof _.UNSAFE_componentWillMount!="function"&&typeof _.componentWillMount!="function"||(typeof _.componentWillMount=="function"&&_.componentWillMount(),typeof _.UNSAFE_componentWillMount=="function"&&_.UNSAFE_componentWillMount()),typeof _.componentDidMount=="function"&&(r.flags|=4194308)):(typeof _.componentDidMount=="function"&&(r.flags|=4194308),r.memoizedProps=d,r.memoizedState=j),_.props=d,_.state=j,_.context=ee,d=A):(typeof _.componentDidMount=="function"&&(r.flags|=4194308),d=!1)}else{_=r.stateNode,jn(n,r),A=r.memoizedProps,ee=r.type===r.elementType?A:hi(r.type,A),_.props=ee,Ee=r.pendingProps,me=_.context,j=u.contextType,typeof j=="object"&&j!==null?j=Nn(j):(j=hn(u)?Gr:pt.current,j=Oi(r,j));var Pe=u.getDerivedStateFromProps;(ge=typeof Pe=="function"||typeof _.getSnapshotBeforeUpdate=="function")||typeof _.UNSAFE_componentWillReceiveProps!="function"&&typeof _.componentWillReceiveProps!="function"||(A!==Ee||me!==j)&&am(r,_,d,j),Yo=!1,me=r.memoizedState,_.state=me,qo(r,d,_,y);var Ie=r.memoizedState;A!==Ee||me!==Ie||xn.current||Yo?(typeof Pe=="function"&&(Op(r,u,Pe,d),Ie=r.memoizedState),(ee=Yo||rm(r,u,ee,d,me,Ie,j)||!1)?(ge||typeof _.UNSAFE_componentWillUpdate!="function"&&typeof _.componentWillUpdate!="function"||(typeof _.componentWillUpdate=="function"&&_.componentWillUpdate(d,Ie,j),typeof _.UNSAFE_componentWillUpdate=="function"&&_.UNSAFE_componentWillUpdate(d,Ie,j)),typeof _.componentDidUpdate=="function"&&(r.flags|=4),typeof _.getSnapshotBeforeUpdate=="function"&&(r.flags|=1024)):(typeof _.componentDidUpdate!="function"||A===n.memoizedProps&&me===n.memoizedState||(r.flags|=4),typeof _.getSnapshotBeforeUpdate!="function"||A===n.memoizedProps&&me===n.memoizedState||(r.flags|=1024),r.memoizedProps=d,r.memoizedState=Ie),_.props=d,_.state=Ie,_.context=j,d=ee):(typeof _.componentDidUpdate!="function"||A===n.memoizedProps&&me===n.memoizedState||(r.flags|=4),typeof _.getSnapshotBeforeUpdate!="function"||A===n.memoizedProps&&me===n.memoizedState||(r.flags|=1024),d=!1)}return dm(n,r,u,d,E,y)}function dm(n,r,u,d,y,E){St(n,r);var _=(r.flags&128)!==0;if(!d&&!_)return y&&Xv(r,u,!1),sr(n,r,E);d=r.stateNode,m1.current=r;var A=_&&typeof u.getDerivedStateFromError!="function"?null:d.render();return r.flags|=1,n!==null&&_?(r.child=Pl(r,n.child,null,E),r.child=Pl(r,null,A,E)):Hn(n,r,A,E),r.memoizedState=d.state,y&&Xv(r,u,!0),r.child}function pm(n){var r=n.stateNode;r.pendingContext?Fo(n,r.pendingContext,r.pendingContext!==r.context):r.context&&Fo(n,r.context,!1),Np(n,r.containerInfo)}function zf(n,r,u,d,y){return gn(),wp(y),r.flags|=256,Hn(n,r,u,d),r.child}var Vs={dehydrated:null,treeContext:null,retryLane:0};function Up(n){return{baseLanes:n,cachePool:null,transitions:null}}function Pp(n,r,u){var d=r.pendingProps,y=ut.current,E=!1,_=(r.flags&128)!==0,A;if((A=_)||(A=n!==null&&n.memoizedState===null?!1:(y&2)!==0),A?(E=!0,r.flags&=-129):(n===null||n.memoizedState!==null)&&(y|=1),Ft(ut,y&1),n===null)return sf(r),n=r.memoizedState,n!==null&&(n=n.dehydrated,n!==null)?(r.mode&1?n.data==="$!"?r.lanes=8:r.lanes=1073741824:r.lanes=1,null):(_=d.children,n=d.fallback,E?(d=r.mode,E=r.child,_={mode:"hidden",children:_},!(d&1)&&E!==null?(E.childLanes=0,E.pendingProps=_):E=dc(_,d,0,null),n=Ks(n,d,u,null),E.return=r,n.return=r,E.sibling=n,r.child=E,r.child.memoizedState=Up(u),r.memoizedState=Vs,n):jp(r,_));if(y=n.memoizedState,y!==null&&(A=y.dehydrated,A!==null))return y1(n,r,_,d,A,y,u);if(E){E=d.fallback,_=r.mode,y=n.child,A=y.sibling;var j={mode:"hidden",children:d.children};return!(_&1)&&r.child!==y?(d=r.child,d.childLanes=0,d.pendingProps=j,r.deletions=null):(d=ts(y,j),d.subtreeFlags=y.subtreeFlags&14680064),A!==null?E=ts(A,E):(E=Ks(E,_,u,null),E.flags|=2),E.return=r,d.return=r,d.sibling=E,r.child=d,d=E,E=r.child,_=n.child.memoizedState,_=_===null?Up(u):{baseLanes:_.baseLanes|u,cachePool:null,transitions:_.transitions},E.memoizedState=_,E.childLanes=n.childLanes&~u,r.memoizedState=Vs,d}return E=n.child,n=E.sibling,d=ts(E,{mode:"visible",children:d.children}),!(r.mode&1)&&(d.lanes=u),d.return=r,d.sibling=null,n!==null&&(u=r.deletions,u===null?(r.deletions=[n],r.flags|=16):u.push(n)),r.child=d,r.memoizedState=null,d}function jp(n,r){return r=dc({mode:"visible",children:r},n.mode,0,null),r.return=n,n.child=r}function Yl(n,r,u,d){return d!==null&&wp(d),Pl(r,n.child,null,u),n=jp(r,r.pendingProps.children),n.flags|=2,r.memoizedState=null,n}function y1(n,r,u,d,y,E,_){if(u)return r.flags&256?(r.flags&=-257,d=tc(Error(l(422))),Yl(n,r,_,d)):r.memoizedState!==null?(r.child=n.child,r.flags|=128,null):(E=d.fallback,y=r.mode,d=dc({mode:"visible",children:d.children},y,0,null),E=Ks(E,y,_,null),E.flags|=2,d.return=r,E.return=r,d.sibling=E,r.child=d,r.mode&1&&Pl(r,n.child,null,_),r.child.memoizedState=Up(_),r.memoizedState=Vs,E);if(!(r.mode&1))return Yl(n,r,_,null);if(y.data==="$!"){if(d=y.nextSibling&&y.nextSibling.dataset,d)var A=d.dgst;return d=A,E=Error(l(419)),d=tc(E,d,void 0),Yl(n,r,_,d)}if(A=(_&n.childLanes)!==0,zn||A){if(d=Sn,d!==null){switch(_&-_){case 4:y=2;break;case 16:y=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:y=32;break;case 536870912:y=268435456;break;default:y=0}y=y&(d.suspendedLanes|_)?0:y,y!==0&&y!==E.retryLane&&(E.retryLane=y,Qa(n,y),wr(d,n,y,-1))}return Xp(),d=tc(Error(l(421))),Yl(n,r,_,d)}return y.data==="$?"?(r.flags|=128,r.child=n.child,r=w1.bind(null,n),y._reactRetry=r,null):(n=E.treeContext,Zr=sa(y.nextSibling),pi=r,un=!0,Li=null,n!==null&&(Xr[gr++]=ar,Xr[gr++]=Ga,Xr[gr++]=Di,ar=n.id,Ga=n.overflow,Di=r),r=jp(r,d.children),r.flags|=4096,r)}function Hp(n,r,u){n.lanes|=r;var d=n.alternate;d!==null&&(d.lanes|=r),Qn(n.return,r,u)}function $f(n,r,u,d,y){var E=n.memoizedState;E===null?n.memoizedState={isBackwards:r,rendering:null,renderingStartTime:0,last:d,tail:u,tailMode:y}:(E.isBackwards=r,E.rendering=null,E.renderingStartTime=0,E.last=d,E.tail=u,E.tailMode=y)}function Fp(n,r,u){var d=r.pendingProps,y=d.revealOrder,E=d.tail;if(Hn(n,r,d.children,u),d=ut.current,d&2)d=d&1|2,r.flags|=128;else{if(n!==null&&n.flags&128)e:for(n=r.child;n!==null;){if(n.tag===13)n.memoizedState!==null&&Hp(n,u,r);else if(n.tag===19)Hp(n,u,r);else if(n.child!==null){n.child.return=n,n=n.child;continue}if(n===r)break e;for(;n.sibling===null;){if(n.return===null||n.return===r)break e;n=n.return}n.sibling.return=n.return,n=n.sibling}d&=1}if(Ft(ut,d),!(r.mode&1))r.memoizedState=null;else switch(y){case"forwards":for(u=r.child,y=null;u!==null;)n=u.alternate,n!==null&&En(n)===null&&(y=u),u=u.sibling;u=y,u===null?(y=r.child,r.child=null):(y=u.sibling,u.sibling=null),$f(r,!1,y,u,E);break;case"backwards":for(u=null,y=r.child,r.child=null;y!==null;){if(n=y.alternate,n!==null&&En(n)===null){r.child=y;break}n=y.sibling,y.sibling=u,u=y,y=n}$f(r,!0,u,null,E);break;case"together":$f(r,!1,null,null,void 0);break;default:r.memoizedState=null}return r.child}function Er(n,r){!(r.mode&1)&&n!==null&&(n.alternate=null,r.alternate=null,r.flags|=2)}function sr(n,r,u){if(n!==null&&(r.dependencies=n.dependencies),eo|=r.lanes,!(u&r.childLanes))return null;if(n!==null&&r.child!==n.child)throw Error(l(153));if(r.child!==null){for(n=r.child,u=ts(n,n.pendingProps),r.child=u,u.return=r;n.sibling!==null;)n=n.sibling,u=u.sibling=ts(n,n.pendingProps),u.return=r;u.sibling=null}return r.child}function Za(n,r,u){switch(r.tag){case 3:pm(r),gn();break;case 5:st(r);break;case 1:hn(r.type)&&rf(r);break;case 4:Np(r,r.stateNode.containerInfo);break;case 10:var d=r.type._context,y=r.memoizedProps.value;Ft(xa,d._currentValue),d._currentValue=y;break;case 13:if(d=r.memoizedState,d!==null)return d.dehydrated!==null?(Ft(ut,ut.current&1),r.flags|=128,null):u&r.child.childLanes?Pp(n,r,u):(Ft(ut,ut.current&1),n=sr(n,r,u),n!==null?n.sibling:null);Ft(ut,ut.current&1);break;case 19:if(d=(u&r.childLanes)!==0,n.flags&128){if(d)return Fp(n,r,u);r.flags|=128}if(y=r.memoizedState,y!==null&&(y.rendering=null,y.tail=null,y.lastEffect=null),Ft(ut,ut.current),d)break;return null;case 22:case 23:return r.lanes=0,Fs(n,r,u)}return sr(n,r,u)}var rc,Bs,zi,Fn;rc=function(n,r){for(var u=r.child;u!==null;){if(u.tag===5||u.tag===6)n.appendChild(u.stateNode);else if(u.tag!==4&&u.child!==null){u.child.return=u,u=u.child;continue}if(u===r)break;for(;u.sibling===null;){if(u.return===null||u.return===r)return;u=u.return}u.sibling.return=u.return,u=u.sibling}},Bs=function(){},zi=function(n,r,u,d){var y=n.memoizedProps;if(y!==d){n=r.stateNode,Ms(la.current);var E=null;switch(u){case"input":y=_n(n,y),d=_n(n,d),E=[];break;case"select":y=O({},y,{value:void 0}),d=O({},d,{value:void 0}),E=[];break;case"textarea":y=ma(n,y),d=ma(n,d),E=[];break;default:typeof y.onClick!="function"&&typeof d.onClick=="function"&&(n.onclick=nf)}Pn(u,d);var _;u=null;for(ee in y)if(!d.hasOwnProperty(ee)&&y.hasOwnProperty(ee)&&y[ee]!=null)if(ee==="style"){var A=y[ee];for(_ in A)A.hasOwnProperty(_)&&(u||(u={}),u[_]="")}else ee!=="dangerouslySetInnerHTML"&&ee!=="children"&&ee!=="suppressContentEditableWarning"&&ee!=="suppressHydrationWarning"&&ee!=="autoFocus"&&(h.hasOwnProperty(ee)?E||(E=[]):(E=E||[]).push(ee,null));for(ee in d){var j=d[ee];if(A=y!=null?y[ee]:void 0,d.hasOwnProperty(ee)&&j!==A&&(j!=null||A!=null))if(ee==="style")if(A){for(_ in A)!A.hasOwnProperty(_)||j&&j.hasOwnProperty(_)||(u||(u={}),u[_]="");for(_ in j)j.hasOwnProperty(_)&&A[_]!==j[_]&&(u||(u={}),u[_]=j[_])}else u||(E||(E=[]),E.push(ee,u)),u=j;else ee==="dangerouslySetInnerHTML"?(j=j?j.__html:void 0,A=A?A.__html:void 0,j!=null&&A!==j&&(E=E||[]).push(ee,j)):ee==="children"?typeof j!="string"&&typeof j!="number"||(E=E||[]).push(ee,""+j):ee!=="suppressContentEditableWarning"&&ee!=="suppressHydrationWarning"&&(h.hasOwnProperty(ee)?(j!=null&&ee==="onScroll"&&tn("scroll",n),E||A===j||(E=[])):(E=E||[]).push(ee,j))}u&&(E=E||[]).push("style",u);var ee=E;(r.updateQueue=ee)&&(r.flags|=4)}},Fn=function(n,r,u,d){u!==d&&(r.flags|=4)};function ic(n,r){if(!un)switch(n.tailMode){case"hidden":r=n.tail;for(var u=null;r!==null;)r.alternate!==null&&(u=r),r=r.sibling;u===null?n.tail=null:u.sibling=null;break;case"collapsed":u=n.tail;for(var d=null;u!==null;)u.alternate!==null&&(d=u),u=u.sibling;d===null?r||n.tail===null?n.tail=null:n.tail.sibling=null:d.sibling=null}}function Sr(n){var r=n.alternate!==null&&n.alternate.child===n.child,u=0,d=0;if(r)for(var y=n.child;y!==null;)u|=y.lanes|y.childLanes,d|=y.subtreeFlags&14680064,d|=y.flags&14680064,y.return=n,y=y.sibling;else for(y=n.child;y!==null;)u|=y.lanes|y.childLanes,d|=y.subtreeFlags,d|=y.flags,y.return=n,y=y.sibling;return n.subtreeFlags|=d,n.childLanes=u,r}function g1(n,r,u){var d=r.pendingProps;switch(Cp(r),r.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Sr(r),null;case 1:return hn(r.type)&&Ni(),Sr(r),null;case 3:return d=r.stateNode,Go(),jt(xn),jt(pt),vf(),d.pendingContext&&(d.context=d.pendingContext,d.pendingContext=null),(n===null||n.child===null)&&(lf(r)?r.flags|=4:n===null||n.memoizedState.isDehydrated&&!(r.flags&256)||(r.flags|=1024,Li!==null&&(fc(Li),Li=null))),Bs(n,r),Sr(r),null;case 5:xt(r);var y=Ms(jl.current);if(u=r.type,n!==null&&r.stateNode!=null)zi(n,r,u,d,y),n.ref!==r.ref&&(r.flags|=512,r.flags|=2097152);else{if(!d){if(r.stateNode===null)throw Error(l(166));return Sr(r),null}if(n=Ms(la.current),lf(r)){d=r.stateNode,u=r.type;var E=r.memoizedProps;switch(d[ba]=r,d[Ns]=E,n=(r.mode&1)!==0,u){case"dialog":tn("cancel",d),tn("close",d);break;case"iframe":case"object":case"embed":tn("load",d);break;case"video":case"audio":for(y=0;y<Fu.length;y++)tn(Fu[y],d);break;case"source":tn("error",d);break;case"img":case"image":case"link":tn("error",d),tn("load",d);break;case"details":tn("toggle",d);break;case"input":nr(d,E),tn("invalid",d);break;case"select":d._wrapperState={wasMultiple:!!E.multiple},tn("invalid",d);break;case"textarea":Fr(d,E),tn("invalid",d)}Pn(u,E),y=null;for(var _ in E)if(E.hasOwnProperty(_)){var A=E[_];_==="children"?typeof A=="string"?d.textContent!==A&&(E.suppressHydrationWarning!==!0&&tf(d.textContent,A,n),y=["children",A]):typeof A=="number"&&d.textContent!==""+A&&(E.suppressHydrationWarning!==!0&&tf(d.textContent,A,n),y=["children",""+A]):h.hasOwnProperty(_)&&A!=null&&_==="onScroll"&&tn("scroll",d)}switch(u){case"input":Bt(d),Ki(d,E,!0);break;case"textarea":Bt(d),Vr(d);break;case"select":case"option":break;default:typeof E.onClick=="function"&&(d.onclick=nf)}d=y,r.updateQueue=d,d!==null&&(r.flags|=4)}else{_=y.nodeType===9?y:y.ownerDocument,n==="http://www.w3.org/1999/xhtml"&&(n=Zi(u)),n==="http://www.w3.org/1999/xhtml"?u==="script"?(n=_.createElement("div"),n.innerHTML="<script><\/script>",n=n.removeChild(n.firstChild)):typeof d.is=="string"?n=_.createElement(u,{is:d.is}):(n=_.createElement(u),u==="select"&&(_=n,d.multiple?_.multiple=!0:d.size&&(_.size=d.size))):n=_.createElementNS(n,u),n[ba]=r,n[Ns]=d,rc(n,r,!1,!1),r.stateNode=n;e:{switch(_=On(u,d),u){case"dialog":tn("cancel",n),tn("close",n),y=d;break;case"iframe":case"object":case"embed":tn("load",n),y=d;break;case"video":case"audio":for(y=0;y<Fu.length;y++)tn(Fu[y],n);y=d;break;case"source":tn("error",n),y=d;break;case"img":case"image":case"link":tn("error",n),tn("load",n),y=d;break;case"details":tn("toggle",n),y=d;break;case"input":nr(n,d),y=_n(n,d),tn("invalid",n);break;case"option":y=d;break;case"select":n._wrapperState={wasMultiple:!!d.multiple},y=O({},d,{value:void 0}),tn("invalid",n);break;case"textarea":Fr(n,d),y=ma(n,d),tn("invalid",n);break;default:y=d}Pn(u,y),A=y;for(E in A)if(A.hasOwnProperty(E)){var j=A[E];E==="style"?It(n,j):E==="dangerouslySetInnerHTML"?(j=j?j.__html:void 0,j!=null&&gs(n,j)):E==="children"?typeof j=="string"?(u!=="textarea"||j!=="")&&ya(n,j):typeof j=="number"&&ya(n,""+j):E!=="suppressContentEditableWarning"&&E!=="suppressHydrationWarning"&&E!=="autoFocus"&&(h.hasOwnProperty(E)?j!=null&&E==="onScroll"&&tn("scroll",n):j!=null&&ue(n,E,j,_))}switch(u){case"input":Bt(n),Ki(n,d,!1);break;case"textarea":Bt(n),Vr(n);break;case"option":d.value!=null&&n.setAttribute("value",""+De(d.value));break;case"select":n.multiple=!!d.multiple,E=d.value,E!=null?Hr(n,!!d.multiple,E,!1):d.defaultValue!=null&&Hr(n,!!d.multiple,d.defaultValue,!0);break;default:typeof y.onClick=="function"&&(n.onclick=nf)}switch(u){case"button":case"input":case"select":case"textarea":d=!!d.autoFocus;break e;case"img":d=!0;break e;default:d=!1}}d&&(r.flags|=4)}r.ref!==null&&(r.flags|=512,r.flags|=2097152)}return Sr(r),null;case 6:if(n&&r.stateNode!=null)Fn(n,r,n.memoizedProps,d);else{if(typeof d!="string"&&r.stateNode===null)throw Error(l(166));if(u=Ms(jl.current),Ms(la.current),lf(r)){if(d=r.stateNode,u=r.memoizedProps,d[ba]=r,(E=d.nodeValue!==u)&&(n=pi,n!==null))switch(n.tag){case 3:tf(d.nodeValue,u,(n.mode&1)!==0);break;case 5:n.memoizedProps.suppressHydrationWarning!==!0&&tf(d.nodeValue,u,(n.mode&1)!==0)}E&&(r.flags|=4)}else d=(u.nodeType===9?u:u.ownerDocument).createTextNode(d),d[ba]=r,r.stateNode=d}return Sr(r),null;case 13:if(jt(ut),d=r.memoizedState,n===null||n.memoizedState!==null&&n.memoizedState.dehydrated!==null){if(un&&Zr!==null&&r.mode&1&&!(r.flags&128))em(),gn(),r.flags|=98560,E=!1;else if(E=lf(r),d!==null&&d.dehydrated!==null){if(n===null){if(!E)throw Error(l(318));if(E=r.memoizedState,E=E!==null?E.dehydrated:null,!E)throw Error(l(317));E[ba]=r}else gn(),!(r.flags&128)&&(r.memoizedState=null),r.flags|=4;Sr(r),E=!1}else Li!==null&&(fc(Li),Li=null),E=!0;if(!E)return r.flags&65536?r:null}return r.flags&128?(r.lanes=u,r):(d=d!==null,d!==(n!==null&&n.memoizedState!==null)&&d&&(r.child.flags|=8192,r.mode&1&&(n===null||ut.current&1?Bn===0&&(Bn=3):Xp())),r.updateQueue!==null&&(r.flags|=4),Sr(r),null);case 4:return Go(),Bs(n,r),n===null&&Al(r.stateNode.containerInfo),Sr(r),null;case 10:return Io(r.type._context),Sr(r),null;case 17:return hn(r.type)&&Ni(),Sr(r),null;case 19:if(jt(ut),E=r.memoizedState,E===null)return Sr(r),null;if(d=(r.flags&128)!==0,_=E.rendering,_===null)if(d)ic(E,!1);else{if(Bn!==0||n!==null&&n.flags&128)for(n=r.child;n!==null;){if(_=En(n),_!==null){for(r.flags|=128,ic(E,!1),d=_.updateQueue,d!==null&&(r.updateQueue=d,r.flags|=4),r.subtreeFlags=0,d=u,u=r.child;u!==null;)E=u,n=d,E.flags&=14680066,_=E.alternate,_===null?(E.childLanes=0,E.lanes=n,E.child=null,E.subtreeFlags=0,E.memoizedProps=null,E.memoizedState=null,E.updateQueue=null,E.dependencies=null,E.stateNode=null):(E.childLanes=_.childLanes,E.lanes=_.lanes,E.child=_.child,E.subtreeFlags=0,E.deletions=null,E.memoizedProps=_.memoizedProps,E.memoizedState=_.memoizedState,E.updateQueue=_.updateQueue,E.type=_.type,n=_.dependencies,E.dependencies=n===null?null:{lanes:n.lanes,firstContext:n.firstContext}),u=u.sibling;return Ft(ut,ut.current&1|2),r.child}n=n.sibling}E.tail!==null&&pn()>Zl&&(r.flags|=128,d=!0,ic(E,!1),r.lanes=4194304)}else{if(!d)if(n=En(_),n!==null){if(r.flags|=128,d=!0,u=n.updateQueue,u!==null&&(r.updateQueue=u,r.flags|=4),ic(E,!0),E.tail===null&&E.tailMode==="hidden"&&!_.alternate&&!un)return Sr(r),null}else 2*pn()-E.renderingStartTime>Zl&&u!==1073741824&&(r.flags|=128,d=!0,ic(E,!1),r.lanes=4194304);E.isBackwards?(_.sibling=r.child,r.child=_):(u=E.last,u!==null?u.sibling=_:r.child=_,E.last=_)}return E.tail!==null?(r=E.tail,E.rendering=r,E.tail=r.sibling,E.renderingStartTime=pn(),r.sibling=null,u=ut.current,Ft(ut,d?u&1|2:u&1),r):(Sr(r),null);case 22:case 23:return Kp(),d=r.memoizedState!==null,n!==null&&n.memoizedState!==null!==d&&(r.flags|=8192),d&&r.mode&1?yi&1073741824&&(Sr(r),r.subtreeFlags&6&&(r.flags|=8192)):Sr(r),null;case 24:return null;case 25:return null}throw Error(l(156,r.tag))}function Vp(n,r){switch(Cp(r),r.tag){case 1:return hn(r.type)&&Ni(),n=r.flags,n&65536?(r.flags=n&-65537|128,r):null;case 3:return Go(),jt(xn),jt(pt),vf(),n=r.flags,n&65536&&!(n&128)?(r.flags=n&-65537|128,r):null;case 5:return xt(r),null;case 13:if(jt(ut),n=r.memoizedState,n!==null&&n.dehydrated!==null){if(r.alternate===null)throw Error(l(340));gn()}return n=r.flags,n&65536?(r.flags=n&-65537|128,r):null;case 19:return jt(ut),null;case 4:return Go(),null;case 10:return Io(r.type._context),null;case 22:case 23:return Kp(),null;case 24:return null;default:return null}}var ac=!1,Vn=!1,hm=typeof WeakSet=="function"?WeakSet:Set,Ve=null;function Wl(n,r){var u=n.ref;if(u!==null)if(typeof u=="function")try{u(null)}catch(d){Rn(n,r,d)}else u.current=null}function oc(n,r,u){try{u()}catch(d){Rn(n,r,d)}}var vm=!1;function mm(n,r){if(pp=Ri,n=Kc(),Ia(n)){if("selectionStart"in n)var u={start:n.selectionStart,end:n.selectionEnd};else e:{u=(u=n.ownerDocument)&&u.defaultView||window;var d=u.getSelection&&u.getSelection();if(d&&d.rangeCount!==0){u=d.anchorNode;var y=d.anchorOffset,E=d.focusNode;d=d.focusOffset;try{u.nodeType,E.nodeType}catch{u=null;break e}var _=0,A=-1,j=-1,ee=0,ge=0,Ee=n,me=null;t:for(;;){for(var Pe;Ee!==u||y!==0&&Ee.nodeType!==3||(A=_+y),Ee!==E||d!==0&&Ee.nodeType!==3||(j=_+d),Ee.nodeType===3&&(_+=Ee.nodeValue.length),(Pe=Ee.firstChild)!==null;)me=Ee,Ee=Pe;for(;;){if(Ee===n)break t;if(me===u&&++ee===y&&(A=_),me===E&&++ge===d&&(j=_),(Pe=Ee.nextSibling)!==null)break;Ee=me,me=Ee.parentNode}Ee=Pe}u=A===-1||j===-1?null:{start:A,end:j}}else u=null}u=u||{start:0,end:0}}else u=null;for(_s={focusedElem:n,selectionRange:u},Ri=!1,Ve=r;Ve!==null;)if(r=Ve,n=r.child,(r.subtreeFlags&1028)!==0&&n!==null)n.return=r,Ve=n;else for(;Ve!==null;){r=Ve;try{var Ie=r.alternate;if(r.flags&1024)switch(r.tag){case 0:case 11:case 15:break;case 1:if(Ie!==null){var Qe=Ie.memoizedProps,Dn=Ie.memoizedState,q=r.stateNode,B=q.getSnapshotBeforeUpdate(r.elementType===r.type?Qe:hi(r.type,Qe),Dn);q.__reactInternalSnapshotBeforeUpdate=B}break;case 3:var K=r.stateNode.containerInfo;K.nodeType===1?K.textContent="":K.nodeType===9&&K.documentElement&&K.removeChild(K.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(l(163))}}catch(Re){Rn(r,r.return,Re)}if(n=r.sibling,n!==null){n.return=r.return,Ve=n;break}Ve=r.return}return Ie=vm,vm=!1,Ie}function sc(n,r,u){var d=r.updateQueue;if(d=d!==null?d.lastEffect:null,d!==null){var y=d=d.next;do{if((y.tag&n)===n){var E=y.destroy;y.destroy=void 0,E!==void 0&&oc(r,u,E)}y=y.next}while(y!==d)}}function lc(n,r){if(r=r.updateQueue,r=r!==null?r.lastEffect:null,r!==null){var u=r=r.next;do{if((u.tag&n)===n){var d=u.create;u.destroy=d()}u=u.next}while(u!==r)}}function Bp(n){var r=n.ref;if(r!==null){var u=n.stateNode;switch(n.tag){case 5:n=u;break;default:n=u}typeof r=="function"?r(n):r.current=n}}function Ip(n){var r=n.alternate;r!==null&&(n.alternate=null,Ip(r)),n.child=null,n.deletions=null,n.sibling=null,n.tag===5&&(r=n.stateNode,r!==null&&(delete r[ba],delete r[Ns],delete r[mp],delete r[f1],delete r[yp])),n.stateNode=null,n.return=null,n.dependencies=null,n.memoizedProps=null,n.memoizedState=null,n.pendingProps=null,n.stateNode=null,n.updateQueue=null}function ym(n){return n.tag===5||n.tag===3||n.tag===4}function Uf(n){e:for(;;){for(;n.sibling===null;){if(n.return===null||ym(n.return))return null;n=n.return}for(n.sibling.return=n.return,n=n.sibling;n.tag!==5&&n.tag!==6&&n.tag!==18;){if(n.flags&2||n.child===null||n.tag===4)continue e;n.child.return=n,n=n.child}if(!(n.flags&2))return n.stateNode}}function ql(n,r,u){var d=n.tag;if(d===5||d===6)n=n.stateNode,r?u.nodeType===8?u.parentNode.insertBefore(n,r):u.insertBefore(n,r):(u.nodeType===8?(r=u.parentNode,r.insertBefore(n,u)):(r=u,r.appendChild(n)),u=u._reactRootContainer,u!=null||r.onclick!==null||(r.onclick=nf));else if(d!==4&&(n=n.child,n!==null))for(ql(n,r,u),n=n.sibling;n!==null;)ql(n,r,u),n=n.sibling}function Ra(n,r,u){var d=n.tag;if(d===5||d===6)n=n.stateNode,r?u.insertBefore(n,r):u.appendChild(n);else if(d!==4&&(n=n.child,n!==null))for(Ra(n,r,u),n=n.sibling;n!==null;)Ra(n,r,u),n=n.sibling}var vn=null,Kn=!1;function $i(n,r,u){for(u=u.child;u!==null;)Gl(n,r,u),u=u.sibling}function Gl(n,r,u){if(Ir&&typeof Ir.onCommitFiberUnmount=="function")try{Ir.onCommitFiberUnmount(Ro,u)}catch{}switch(u.tag){case 5:Vn||Wl(u,r);case 6:var d=vn,y=Kn;vn=null,$i(n,r,u),vn=d,Kn=y,vn!==null&&(Kn?(n=vn,u=u.stateNode,n.nodeType===8?n.parentNode.removeChild(u):n.removeChild(u)):vn.removeChild(u.stateNode));break;case 18:vn!==null&&(Kn?(n=vn,u=u.stateNode,n.nodeType===8?Po(n.parentNode,u):n.nodeType===1&&Po(n,u),Mo(n)):Po(vn,u.stateNode));break;case 4:d=vn,y=Kn,vn=u.stateNode.containerInfo,Kn=!0,$i(n,r,u),vn=d,Kn=y;break;case 0:case 11:case 14:case 15:if(!Vn&&(d=u.updateQueue,d!==null&&(d=d.lastEffect,d!==null))){y=d=d.next;do{var E=y,_=E.destroy;E=E.tag,_!==void 0&&(E&2||E&4)&&oc(u,r,_),y=y.next}while(y!==d)}$i(n,r,u);break;case 1:if(!Vn&&(Wl(u,r),d=u.stateNode,typeof d.componentWillUnmount=="function"))try{d.props=u.memoizedProps,d.state=u.memoizedState,d.componentWillUnmount()}catch(A){Rn(u,r,A)}$i(n,r,u);break;case 21:$i(n,r,u);break;case 22:u.mode&1?(Vn=(d=Vn)||u.memoizedState!==null,$i(n,r,u),Vn=d):$i(n,r,u);break;default:$i(n,r,u)}}function Ja(n){var r=n.updateQueue;if(r!==null){n.updateQueue=null;var u=n.stateNode;u===null&&(u=n.stateNode=new hm),r.forEach(function(d){var y=x1.bind(null,n,d);u.has(d)||(u.add(d),d.then(y,y))})}}function ua(n,r){var u=r.deletions;if(u!==null)for(var d=0;d<u.length;d++){var y=u[d];try{var E=n,_=r,A=_;e:for(;A!==null;){switch(A.tag){case 5:vn=A.stateNode,Kn=!1;break e;case 3:vn=A.stateNode.containerInfo,Kn=!0;break e;case 4:vn=A.stateNode.containerInfo,Kn=!0;break e}A=A.return}if(vn===null)throw Error(l(160));Gl(E,_,y),vn=null,Kn=!1;var j=y.alternate;j!==null&&(j.return=null),y.return=null}catch(ee){Rn(y,r,ee)}}if(r.subtreeFlags&12854)for(r=r.child;r!==null;)gm(r,n),r=r.sibling}function gm(n,r){var u=n.alternate,d=n.flags;switch(n.tag){case 0:case 11:case 14:case 15:if(ua(r,n),ka(n),d&4){try{sc(3,n,n.return),lc(3,n)}catch(Qe){Rn(n,n.return,Qe)}try{sc(5,n,n.return)}catch(Qe){Rn(n,n.return,Qe)}}break;case 1:ua(r,n),ka(n),d&512&&u!==null&&Wl(u,u.return);break;case 5:if(ua(r,n),ka(n),d&512&&u!==null&&Wl(u,u.return),n.flags&32){var y=n.stateNode;try{ya(y,"")}catch(Qe){Rn(n,n.return,Qe)}}if(d&4&&(y=n.stateNode,y!=null)){var E=n.memoizedProps,_=u!==null?u.memoizedProps:E,A=n.type,j=n.updateQueue;if(n.updateQueue=null,j!==null)try{A==="input"&&E.type==="radio"&&E.name!=null&&jr(y,E),On(A,_);var ee=On(A,E);for(_=0;_<j.length;_+=2){var ge=j[_],Ee=j[_+1];ge==="style"?It(y,Ee):ge==="dangerouslySetInnerHTML"?gs(y,Ee):ge==="children"?ya(y,Ee):ue(y,ge,Ee,ee)}switch(A){case"input":Yn(y,E);break;case"textarea":Xi(y,E);break;case"select":var me=y._wrapperState.wasMultiple;y._wrapperState.wasMultiple=!!E.multiple;var Pe=E.value;Pe!=null?Hr(y,!!E.multiple,Pe,!1):me!==!!E.multiple&&(E.defaultValue!=null?Hr(y,!!E.multiple,E.defaultValue,!0):Hr(y,!!E.multiple,E.multiple?[]:"",!1))}y[Ns]=E}catch(Qe){Rn(n,n.return,Qe)}}break;case 6:if(ua(r,n),ka(n),d&4){if(n.stateNode===null)throw Error(l(162));y=n.stateNode,E=n.memoizedProps;try{y.nodeValue=E}catch(Qe){Rn(n,n.return,Qe)}}break;case 3:if(ua(r,n),ka(n),d&4&&u!==null&&u.memoizedState.isDehydrated)try{Mo(r.containerInfo)}catch(Qe){Rn(n,n.return,Qe)}break;case 4:ua(r,n),ka(n);break;case 13:ua(r,n),ka(n),y=n.child,y.flags&8192&&(E=y.memoizedState!==null,y.stateNode.isHidden=E,!E||y.alternate!==null&&y.alternate.memoizedState!==null||(qp=pn())),d&4&&Ja(n);break;case 22:if(ge=u!==null&&u.memoizedState!==null,n.mode&1?(Vn=(ee=Vn)||ge,ua(r,n),Vn=ee):ua(r,n),ka(n),d&8192){if(ee=n.memoizedState!==null,(n.stateNode.isHidden=ee)&&!ge&&n.mode&1)for(Ve=n,ge=n.child;ge!==null;){for(Ee=Ve=ge;Ve!==null;){switch(me=Ve,Pe=me.child,me.tag){case 0:case 11:case 14:case 15:sc(4,me,me.return);break;case 1:Wl(me,me.return);var Ie=me.stateNode;if(typeof Ie.componentWillUnmount=="function"){d=me,u=me.return;try{r=d,Ie.props=r.memoizedProps,Ie.state=r.memoizedState,Ie.componentWillUnmount()}catch(Qe){Rn(d,u,Qe)}}break;case 5:Wl(me,me.return);break;case 22:if(me.memoizedState!==null){Yp(Ee);continue}}Pe!==null?(Pe.return=me,Ve=Pe):Yp(Ee)}ge=ge.sibling}e:for(ge=null,Ee=n;;){if(Ee.tag===5){if(ge===null){ge=Ee;try{y=Ee.stateNode,ee?(E=y.style,typeof E.setProperty=="function"?E.setProperty("display","none","important"):E.display="none"):(A=Ee.stateNode,j=Ee.memoizedProps.style,_=j!=null&&j.hasOwnProperty("display")?j.display:null,A.style.display=Ct("display",_))}catch(Qe){Rn(n,n.return,Qe)}}}else if(Ee.tag===6){if(ge===null)try{Ee.stateNode.nodeValue=ee?"":Ee.memoizedProps}catch(Qe){Rn(n,n.return,Qe)}}else if((Ee.tag!==22&&Ee.tag!==23||Ee.memoizedState===null||Ee===n)&&Ee.child!==null){Ee.child.return=Ee,Ee=Ee.child;continue}if(Ee===n)break e;for(;Ee.sibling===null;){if(Ee.return===null||Ee.return===n)break e;ge===Ee&&(ge=null),Ee=Ee.return}ge===Ee&&(ge=null),Ee.sibling.return=Ee.return,Ee=Ee.sibling}}break;case 19:ua(r,n),ka(n),d&4&&Ja(n);break;case 21:break;default:ua(r,n),ka(n)}}function ka(n){var r=n.flags;if(r&2){try{e:{for(var u=n.return;u!==null;){if(ym(u)){var d=u;break e}u=u.return}throw Error(l(160))}switch(d.tag){case 5:var y=d.stateNode;d.flags&32&&(ya(y,""),d.flags&=-33);var E=Uf(n);Ra(n,E,y);break;case 3:case 4:var _=d.stateNode.containerInfo,A=Uf(n);ql(n,A,_);break;default:throw Error(l(161))}}catch(j){Rn(n,n.return,j)}n.flags&=-3}r&4096&&(n.flags&=-4097)}function Em(n,r,u){Ve=n,Ql(n)}function Ql(n,r,u){for(var d=(n.mode&1)!==0;Ve!==null;){var y=Ve,E=y.child;if(y.tag===22&&d){var _=y.memoizedState!==null||ac;if(!_){var A=y.alternate,j=A!==null&&A.memoizedState!==null||Vn;A=ac;var ee=Vn;if(ac=_,(Vn=j)&&!ee)for(Ve=y;Ve!==null;)_=Ve,j=_.child,_.tag===22&&_.memoizedState!==null?Cm(y):j!==null?(j.return=_,Ve=j):Cm(y);for(;E!==null;)Ve=E,Ql(E),E=E.sibling;Ve=y,ac=A,Vn=ee}Sm(n)}else y.subtreeFlags&8772&&E!==null?(E.return=y,Ve=E):Sm(n)}}function Sm(n){for(;Ve!==null;){var r=Ve;if(r.flags&8772){var u=r.alternate;try{if(r.flags&8772)switch(r.tag){case 0:case 11:case 15:Vn||lc(5,r);break;case 1:var d=r.stateNode;if(r.flags&4&&!Vn)if(u===null)d.componentDidMount();else{var y=r.elementType===r.type?u.memoizedProps:hi(r.type,u.memoizedProps);d.componentDidUpdate(y,u.memoizedState,d.__reactInternalSnapshotBeforeUpdate)}var E=r.updateQueue;E!==null&&Ls(r,E,d);break;case 3:var _=r.updateQueue;if(_!==null){if(u=null,r.child!==null)switch(r.child.tag){case 5:u=r.child.stateNode;break;case 1:u=r.child.stateNode}Ls(r,_,u)}break;case 5:var A=r.stateNode;if(u===null&&r.flags&4){u=A;var j=r.memoizedProps;switch(r.type){case"button":case"input":case"select":case"textarea":j.autoFocus&&u.focus();break;case"img":j.src&&(u.src=j.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(r.memoizedState===null){var ee=r.alternate;if(ee!==null){var ge=ee.memoizedState;if(ge!==null){var Ee=ge.dehydrated;Ee!==null&&Mo(Ee)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(l(163))}Vn||r.flags&512&&Bp(r)}catch(me){Rn(r,r.return,me)}}if(r===n){Ve=null;break}if(u=r.sibling,u!==null){u.return=r.return,Ve=u;break}Ve=r.return}}function Yp(n){for(;Ve!==null;){var r=Ve;if(r===n){Ve=null;break}var u=r.sibling;if(u!==null){u.return=r.return,Ve=u;break}Ve=r.return}}function Cm(n){for(;Ve!==null;){var r=Ve;try{switch(r.tag){case 0:case 11:case 15:var u=r.return;try{lc(4,r)}catch(j){Rn(r,u,j)}break;case 1:var d=r.stateNode;if(typeof d.componentDidMount=="function"){var y=r.return;try{d.componentDidMount()}catch(j){Rn(r,y,j)}}var E=r.return;try{Bp(r)}catch(j){Rn(r,E,j)}break;case 5:var _=r.return;try{Bp(r)}catch(j){Rn(r,_,j)}}}catch(j){Rn(r,r.return,j)}if(r===n){Ve=null;break}var A=r.sibling;if(A!==null){A.return=r.return,Ve=A;break}Ve=r.return}}var Pf=Math.ceil,uc=pe.ReactCurrentDispatcher,Wp=pe.ReactCurrentOwner,Cr=pe.ReactCurrentBatchConfig,Tt=0,Sn=null,Tn=null,Xn=0,yi=0,Kl=Et(0),Bn=0,cc=null,eo=0,jf=0,Xl=0,Is=null,_r=null,qp=0,Zl=1/0,to=null,Hf=!1,Ys=null,_a=null,Zo=!1,Jo=null,Ff=0,Jl=0,Vf=null,Ws=-1,qs=0;function br(){return Tt&6?pn():Ws!==-1?Ws:Ws=pn()}function $n(n){return n.mode&1?Tt&2&&Xn!==0?Xn&-Xn:uf.transition!==null?(qs===0&&(qs=Sl()),qs):(n=$t,n!==0||(n=window.event,n=n===void 0?16:Lu(n.type)),n):1}function wr(n,r,u,d){if(50<Jl)throw Jl=0,Vf=null,Error(l(185));ja(n,u,d),(!(Tt&2)||n!==Sn)&&(n===Sn&&(!(Tt&2)&&(jf|=u),Bn===4&&Ui(n,Xn)),xr(n,d),u===1&&Tt===0&&!(r.mode&1)&&(Zl=pn()+500,Gn&&Qr()))}function xr(n,r){var u=n.callbackNode;Oo(n,r);var d=Rr(n,n===Sn?Xn:0);if(d===0)u!==null&&Fc(u),n.callbackNode=null,n.callbackPriority=0;else if(r=d&-d,n.callbackPriority!==r){if(u!=null&&Fc(u),r===1)n.tag===0?Ep(bm.bind(null,n)):gp(bm.bind(null,n)),vp(function(){!(Tt&6)&&Qr()}),u=null;else{switch(bl(d)){case 1:u=ta;break;case 4:u=bt;break;case 16:u=Ea;break;case 536870912:u=gl;break;default:u=Ea}u=Jp(u,eu.bind(null,n))}n.callbackPriority=r,n.callbackNode=u}}function eu(n,r){if(Ws=-1,qs=0,Tt&6)throw Error(l(327));var u=n.callbackNode;if(nu()&&n.callbackNode!==u)return null;var d=Rr(n,n===Sn?Xn:0);if(d===0)return null;if(d&30||d&n.expiredLanes||r)r=If(n,d);else{r=d;var y=Tt;Tt|=2;var E=Bf();(Sn!==n||Xn!==r)&&(to=null,Zl=pn()+500,Gs(n,r));do try{S1();break}catch(A){wm(n,A)}while(1);Tp(),uc.current=E,Tt=y,Tn!==null?r=0:(Sn=null,Xn=0,r=Bn)}if(r!==0){if(r===2&&(y=No(n),y!==0&&(d=y,r=Gp(n,y))),r===1)throw u=cc,Gs(n,0),Ui(n,d),xr(n,pn()),u;if(r===6)Ui(n,d);else{if(y=n.current.alternate,!(d&30)&&!Qp(y)&&(r=If(n,d),r===2&&(E=No(n),E!==0&&(d=E,r=Gp(n,E))),r===1))throw u=cc,Gs(n,0),Ui(n,d),xr(n,pn()),u;switch(n.finishedWork=y,n.finishedLanes=d,r){case 0:case 1:throw Error(l(345));case 2:Qs(n,_r,to);break;case 3:if(Ui(n,d),(d&130023424)===d&&(r=qp+500-pn(),10<r)){if(Rr(n,0)!==0)break;if(y=n.suspendedLanes,(y&d)!==d){br(),n.pingedLanes|=n.suspendedLanes&y;break}n.timeoutHandle=Os(Qs.bind(null,n,_r,to),r);break}Qs(n,_r,to);break;case 4:if(Ui(n,d),(d&4194240)===d)break;for(r=n.eventTimes,y=-1;0<d;){var _=31-Tr(d);E=1<<_,_=r[_],_>y&&(y=_),d&=~E}if(d=y,d=pn()-d,d=(120>d?120:480>d?480:1080>d?1080:1920>d?1920:3e3>d?3e3:4320>d?4320:1960*Pf(d/1960))-d,10<d){n.timeoutHandle=Os(Qs.bind(null,n,_r,to),d);break}Qs(n,_r,to);break;case 5:Qs(n,_r,to);break;default:throw Error(l(329))}}}return xr(n,pn()),n.callbackNode===u?eu.bind(null,n):null}function Gp(n,r){var u=Is;return n.current.memoizedState.isDehydrated&&(Gs(n,r).flags|=256),n=If(n,r),n!==2&&(r=_r,_r=u,r!==null&&fc(r)),n}function fc(n){_r===null?_r=n:_r.push.apply(_r,n)}function Qp(n){for(var r=n;;){if(r.flags&16384){var u=r.updateQueue;if(u!==null&&(u=u.stores,u!==null))for(var d=0;d<u.length;d++){var y=u[d],E=y.getSnapshot;y=y.value;try{if(!ki(E(),y))return!1}catch{return!1}}}if(u=r.child,r.subtreeFlags&16384&&u!==null)u.return=r,r=u;else{if(r===n)break;for(;r.sibling===null;){if(r.return===null||r.return===n)return!0;r=r.return}r.sibling.return=r.return,r=r.sibling}}return!0}function Ui(n,r){for(r&=~Xl,r&=~jf,n.suspendedLanes|=r,n.pingedLanes&=~r,n=n.expirationTimes;0<r;){var u=31-Tr(r),d=1<<u;n[u]=-1,r&=~d}}function bm(n){if(Tt&6)throw Error(l(327));nu();var r=Rr(n,0);if(!(r&1))return xr(n,pn()),null;var u=If(n,r);if(n.tag!==0&&u===2){var d=No(n);d!==0&&(r=d,u=Gp(n,d))}if(u===1)throw u=cc,Gs(n,0),Ui(n,r),xr(n,pn()),u;if(u===6)throw Error(l(345));return n.finishedWork=n.current.alternate,n.finishedLanes=r,Qs(n,_r,to),xr(n,pn()),null}function tu(n,r){var u=Tt;Tt|=1;try{return n(r)}finally{Tt=u,Tt===0&&(Zl=pn()+500,Gn&&Qr())}}function es(n){Jo!==null&&Jo.tag===0&&!(Tt&6)&&nu();var r=Tt;Tt|=1;var u=Cr.transition,d=$t;try{if(Cr.transition=null,$t=1,n)return n()}finally{$t=d,Cr.transition=u,Tt=r,!(Tt&6)&&Qr()}}function Kp(){yi=Kl.current,jt(Kl)}function Gs(n,r){n.finishedWork=null,n.finishedLanes=0;var u=n.timeoutHandle;if(u!==-1&&(n.timeoutHandle=-1,Kv(u)),Tn!==null)for(u=Tn.return;u!==null;){var d=u;switch(Cp(d),d.tag){case 1:d=d.type.childContextTypes,d!=null&&Ni();break;case 3:Go(),jt(xn),jt(pt),vf();break;case 5:xt(d);break;case 4:Go();break;case 13:jt(ut);break;case 19:jt(ut);break;case 10:Io(d.type._context);break;case 22:case 23:Kp()}u=u.return}if(Sn=n,Tn=n=ts(n.current,null),Xn=yi=r,Bn=0,cc=null,Xl=jf=eo=0,_r=Is=null,or!==null){for(r=0;r<or.length;r++)if(u=or[r],d=u.interleaved,d!==null){u.interleaved=null;var y=d.next,E=u.pending;if(E!==null){var _=E.next;E.next=y,d.next=_}u.pending=d}or=null}return n}function wm(n,r){do{var u=Tn;try{if(Tp(),mf.current=Lf,ct){for(var d=cn.memoizedState;d!==null;){var y=d.queue;y!==null&&(y.pending=null),d=d.next}ct=!1}if(As=0,_t=le=cn=null,Ta=!1,mi=0,Wp.current=null,u===null||u.return===null){Bn=1,cc=r,Tn=null;break}e:{var E=n,_=u.return,A=u,j=r;if(r=Xn,A.flags|=32768,j!==null&&typeof j=="object"&&typeof j.then=="function"){var ee=j,ge=A,Ee=ge.tag;if(!(ge.mode&1)&&(Ee===0||Ee===11||Ee===15)){var me=ge.alternate;me?(ge.updateQueue=me.updateQueue,ge.memoizedState=me.memoizedState,ge.lanes=me.lanes):(ge.updateQueue=null,ge.memoizedState=null)}var Pe=Ap(_);if(Pe!==null){Pe.flags&=-257,zp(Pe,_,A,E,r),Pe.mode&1&&fm(E,ee,r),r=Pe,j=ee;var Ie=r.updateQueue;if(Ie===null){var Qe=new Set;Qe.add(j),r.updateQueue=Qe}else Ie.add(j);break e}else{if(!(r&1)){fm(E,ee,r),Xp();break e}j=Error(l(426))}}else if(un&&A.mode&1){var Dn=Ap(_);if(Dn!==null){!(Dn.flags&65536)&&(Dn.flags|=256),zp(Dn,_,A,E,r),wp(Bl(j,A));break e}}E=j=Bl(j,A),Bn!==4&&(Bn=2),Is===null?Is=[E]:Is.push(E),E=_;do{switch(E.tag){case 3:E.flags|=65536,r&=-r,E.lanes|=r;var q=cm(E,j,r);_p(E,q);break e;case 1:A=j;var B=E.type,K=E.stateNode;if(!(E.flags&128)&&(typeof B.getDerivedStateFromError=="function"||K!==null&&typeof K.componentDidCatch=="function"&&(_a===null||!_a.has(K)))){E.flags|=65536,r&=-r,E.lanes|=r;var Re=nc(E,A,r);_p(E,Re);break e}}E=E.return}while(E!==null)}Zp(u)}catch(Ze){r=Ze,Tn===u&&u!==null&&(Tn=u=u.return);continue}break}while(1)}function Bf(){var n=uc.current;return uc.current=Lf,n===null?Lf:n}function Xp(){(Bn===0||Bn===3||Bn===2)&&(Bn=4),Sn===null||!(eo&268435455)&&!(jf&268435455)||Ui(Sn,Xn)}function If(n,r){var u=Tt;Tt|=2;var d=Bf();(Sn!==n||Xn!==r)&&(to=null,Gs(n,r));do try{E1();break}catch(y){wm(n,y)}while(1);if(Tp(),Tt=u,uc.current=d,Tn!==null)throw Error(l(261));return Sn=null,Xn=0,Bn}function E1(){for(;Tn!==null;)xm(Tn)}function S1(){for(;Tn!==null&&!Yd();)xm(Tn)}function xm(n){var r=Rm(n.alternate,n,yi);n.memoizedProps=n.pendingProps,r===null?Zp(n):Tn=r,Wp.current=null}function Zp(n){var r=n;do{var u=r.alternate;if(n=r.return,r.flags&32768){if(u=Vp(u,r),u!==null){u.flags&=32767,Tn=u;return}if(n!==null)n.flags|=32768,n.subtreeFlags=0,n.deletions=null;else{Bn=6,Tn=null;return}}else if(u=g1(u,r,yi),u!==null){Tn=u;return}if(r=r.sibling,r!==null){Tn=r;return}Tn=r=n}while(r!==null);Bn===0&&(Bn=5)}function Qs(n,r,u){var d=$t,y=Cr.transition;try{Cr.transition=null,$t=1,C1(n,r,u,d)}finally{Cr.transition=y,$t=d}return null}function C1(n,r,u,d){do nu();while(Jo!==null);if(Tt&6)throw Error(l(327));u=n.finishedWork;var y=n.finishedLanes;if(u===null)return null;if(n.finishedWork=null,n.finishedLanes=0,u===n.current)throw Error(l(177));n.callbackNode=null,n.callbackPriority=0;var E=u.lanes|u.childLanes;if(Gd(n,E),n===Sn&&(Tn=Sn=null,Xn=0),!(u.subtreeFlags&2064)&&!(u.flags&2064)||Zo||(Zo=!0,Jp(Ea,function(){return nu(),null})),E=(u.flags&15990)!==0,u.subtreeFlags&15990||E){E=Cr.transition,Cr.transition=null;var _=$t;$t=1;var A=Tt;Tt|=4,Wp.current=null,mm(n,u),gm(u,n),Xc(_s),Ri=!!pp,_s=pp=null,n.current=u,Em(u),Wd(),Tt=A,$t=_,Cr.transition=E}else n.current=u;if(Zo&&(Zo=!1,Jo=n,Ff=y),E=n.pendingLanes,E===0&&(_a=null),Ou(u.stateNode),xr(n,pn()),r!==null)for(d=n.onRecoverableError,u=0;u<r.length;u++)y=r[u],d(y.value,{componentStack:y.stack,digest:y.digest});if(Hf)throw Hf=!1,n=Ys,Ys=null,n;return Ff&1&&n.tag!==0&&nu(),E=n.pendingLanes,E&1?n===Vf?Jl++:(Jl=0,Vf=n):Jl=0,Qr(),null}function nu(){if(Jo!==null){var n=bl(Ff),r=Cr.transition,u=$t;try{if(Cr.transition=null,$t=16>n?16:n,Jo===null)var d=!1;else{if(n=Jo,Jo=null,Ff=0,Tt&6)throw Error(l(331));var y=Tt;for(Tt|=4,Ve=n.current;Ve!==null;){var E=Ve,_=E.child;if(Ve.flags&16){var A=E.deletions;if(A!==null){for(var j=0;j<A.length;j++){var ee=A[j];for(Ve=ee;Ve!==null;){var ge=Ve;switch(ge.tag){case 0:case 11:case 15:sc(8,ge,E)}var Ee=ge.child;if(Ee!==null)Ee.return=ge,Ve=Ee;else for(;Ve!==null;){ge=Ve;var me=ge.sibling,Pe=ge.return;if(Ip(ge),ge===ee){Ve=null;break}if(me!==null){me.return=Pe,Ve=me;break}Ve=Pe}}}var Ie=E.alternate;if(Ie!==null){var Qe=Ie.child;if(Qe!==null){Ie.child=null;do{var Dn=Qe.sibling;Qe.sibling=null,Qe=Dn}while(Qe!==null)}}Ve=E}}if(E.subtreeFlags&2064&&_!==null)_.return=E,Ve=_;else e:for(;Ve!==null;){if(E=Ve,E.flags&2048)switch(E.tag){case 0:case 11:case 15:sc(9,E,E.return)}var q=E.sibling;if(q!==null){q.return=E.return,Ve=q;break e}Ve=E.return}}var B=n.current;for(Ve=B;Ve!==null;){_=Ve;var K=_.child;if(_.subtreeFlags&2064&&K!==null)K.return=_,Ve=K;else e:for(_=B;Ve!==null;){if(A=Ve,A.flags&2048)try{switch(A.tag){case 0:case 11:case 15:lc(9,A)}}catch(Ze){Rn(A,A.return,Ze)}if(A===_){Ve=null;break e}var Re=A.sibling;if(Re!==null){Re.return=A.return,Ve=Re;break e}Ve=A.return}}if(Tt=y,Qr(),Ir&&typeof Ir.onPostCommitFiberRoot=="function")try{Ir.onPostCommitFiberRoot(Ro,n)}catch{}d=!0}return d}finally{$t=u,Cr.transition=r}}return!1}function Tm(n,r,u){r=Bl(u,r),r=cm(n,r,1),n=Wo(n,r,1),r=br(),n!==null&&(ja(n,1,r),xr(n,r))}function Rn(n,r,u){if(n.tag===3)Tm(n,n,u);else for(;r!==null;){if(r.tag===3){Tm(r,n,u);break}else if(r.tag===1){var d=r.stateNode;if(typeof r.type.getDerivedStateFromError=="function"||typeof d.componentDidCatch=="function"&&(_a===null||!_a.has(d))){n=Bl(u,n),n=nc(r,n,1),r=Wo(r,n,1),n=br(),r!==null&&(ja(r,1,n),xr(r,n));break}}r=r.return}}function b1(n,r,u){var d=n.pingCache;d!==null&&d.delete(r),r=br(),n.pingedLanes|=n.suspendedLanes&u,Sn===n&&(Xn&u)===u&&(Bn===4||Bn===3&&(Xn&130023424)===Xn&&500>pn()-qp?Gs(n,0):Xl|=u),xr(n,r)}function Yf(n,r){r===0&&(n.mode&1?(r=ko,ko<<=1,!(ko&130023424)&&(ko=4194304)):r=1);var u=br();n=Qa(n,r),n!==null&&(ja(n,r,u),xr(n,u))}function w1(n){var r=n.memoizedState,u=0;r!==null&&(u=r.retryLane),Yf(n,u)}function x1(n,r){var u=0;switch(n.tag){case 13:var d=n.stateNode,y=n.memoizedState;y!==null&&(u=y.retryLane);break;case 19:d=n.stateNode;break;default:throw Error(l(314))}d!==null&&d.delete(r),Yf(n,u)}var Rm;Rm=function(n,r,u){if(n!==null)if(n.memoizedProps!==r.pendingProps||xn.current)zn=!0;else{if(!(n.lanes&u)&&!(r.flags&128))return zn=!1,Za(n,r,u);zn=!!(n.flags&131072)}else zn=!1,un&&r.flags&1048576&&Sp(r,$l,r.index);switch(r.lanes=0,r.tag){case 2:var d=r.type;Er(n,r),n=r.pendingProps;var y=Oi(r,pt.current);Le(r,u),y=Qo(null,r,d,n,y,u);var E=Us();return r.flags|=1,typeof y=="object"&&y!==null&&typeof y.render=="function"&&y.$$typeof===void 0?(r.tag=1,r.memoizedState=null,r.updateQueue=null,hn(d)?(E=!0,rf(r)):E=!1,r.memoizedState=y.state!==null&&y.state!==void 0?y.state:null,kp(r),y.updater=df,r.stateNode=y,y._reactInternals=r,pf(r,d,n,u),r=dm(null,r,d,!0,E,u)):(r.tag=0,un&&E&&af(r),Hn(null,r,y,u),r=r.child),r;case 16:d=r.elementType;e:{switch(Er(n,r),n=r.pendingProps,y=d._init,d=y(d._payload),r.type=d,y=r.tag=R1(d),n=hi(d,n),y){case 0:r=Il(null,r,d,n,u);break e;case 1:r=$p(null,r,d,n,u);break e;case 11:r=Xo(null,r,d,n,u);break e;case 14:r=Af(null,r,d,hi(d.type,n),u);break e}throw Error(l(306,d,""))}return r;case 0:return d=r.type,y=r.pendingProps,y=r.elementType===d?y:hi(d,y),Il(n,r,d,y,u);case 1:return d=r.type,y=r.pendingProps,y=r.elementType===d?y:hi(d,y),$p(n,r,d,y,u);case 3:e:{if(pm(r),n===null)throw Error(l(387));d=r.pendingProps,E=r.memoizedState,y=E.element,jn(n,r),qo(r,d,null,u);var _=r.memoizedState;if(d=_.element,E.isDehydrated)if(E={element:d,isDehydrated:!1,cache:_.cache,pendingSuspenseBoundaries:_.pendingSuspenseBoundaries,transitions:_.transitions},r.updateQueue.baseState=E,r.memoizedState=E,r.flags&256){y=Bl(Error(l(423)),r),r=zf(n,r,d,u,y);break e}else if(d!==y){y=Bl(Error(l(424)),r),r=zf(n,r,d,u,y);break e}else for(Zr=sa(r.stateNode.containerInfo.firstChild),pi=r,un=!0,Li=null,u=lm(r,null,d,u),r.child=u;u;)u.flags=u.flags&-3|4096,u=u.sibling;else{if(gn(),d===y){r=sr(n,r,u);break e}Hn(n,r,d,u)}r=r.child}return r;case 5:return st(r),n===null&&sf(r),d=r.type,y=r.pendingProps,E=n!==null?n.memoizedProps:null,_=y.children,Iu(d,y)?_=null:E!==null&&Iu(d,E)&&(r.flags|=32),St(n,r),Hn(n,r,_,u),r.child;case 6:return n===null&&sf(r),null;case 13:return Pp(n,r,u);case 4:return Np(r,r.stateNode.containerInfo),d=r.pendingProps,n===null?r.child=Pl(r,null,d,u):Hn(n,r,d,u),r.child;case 11:return d=r.type,y=r.pendingProps,y=r.elementType===d?y:hi(d,y),Xo(n,r,d,y,u);case 7:return Hn(n,r,r.pendingProps,u),r.child;case 8:return Hn(n,r,r.pendingProps.children,u),r.child;case 12:return Hn(n,r,r.pendingProps.children,u),r.child;case 10:e:{if(d=r.type._context,y=r.pendingProps,E=r.memoizedProps,_=y.value,Ft(xa,d._currentValue),d._currentValue=_,E!==null)if(ki(E.value,_)){if(E.children===y.children&&!xn.current){r=sr(n,r,u);break e}}else for(E=r.child,E!==null&&(E.return=r);E!==null;){var A=E.dependencies;if(A!==null){_=E.child;for(var j=A.firstContext;j!==null;){if(j.context===d){if(E.tag===1){j=Ka(-1,u&-u),j.tag=2;var ee=E.updateQueue;if(ee!==null){ee=ee.shared;var ge=ee.pending;ge===null?j.next=j:(j.next=ge.next,ge.next=j),ee.pending=j}}E.lanes|=u,j=E.alternate,j!==null&&(j.lanes|=u),Qn(E.return,u,r),A.lanes|=u;break}j=j.next}}else if(E.tag===10)_=E.type===r.type?null:E.child;else if(E.tag===18){if(_=E.return,_===null)throw Error(l(341));_.lanes|=u,A=_.alternate,A!==null&&(A.lanes|=u),Qn(_,u,r),_=E.sibling}else _=E.child;if(_!==null)_.return=E;else for(_=E;_!==null;){if(_===r){_=null;break}if(E=_.sibling,E!==null){E.return=_.return,_=E;break}_=_.return}E=_}Hn(n,r,y.children,u),r=r.child}return r;case 9:return y=r.type,d=r.pendingProps.children,Le(r,u),y=Nn(y),d=d(y),r.flags|=1,Hn(n,r,d,u),r.child;case 14:return d=r.type,y=hi(d,r.pendingProps),y=hi(d.type,y),Af(n,r,d,y,u);case 15:return ti(n,r,r.type,r.pendingProps,u);case 17:return d=r.type,y=r.pendingProps,y=r.elementType===d?y:hi(d,y),Er(n,r),r.tag=1,hn(d)?(n=!0,rf(r)):n=!1,Le(r,u),im(r,d,y),pf(r,d,y,u),dm(null,r,d,!0,n,u);case 19:return Fp(n,r,u);case 22:return Fs(n,r,u)}throw Error(l(156,r.tag))};function Jp(n,r){return _u(n,r)}function T1(n,r,u,d){this.tag=n,this.key=u,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=r,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=d,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Pi(n,r,u,d){return new T1(n,r,u,d)}function eh(n){return n=n.prototype,!(!n||!n.isReactComponent)}function R1(n){if(typeof n=="function")return eh(n)?1:0;if(n!=null){if(n=n.$$typeof,n===et)return 11;if(n===dt)return 14}return 2}function ts(n,r){var u=n.alternate;return u===null?(u=Pi(n.tag,r,n.key,n.mode),u.elementType=n.elementType,u.type=n.type,u.stateNode=n.stateNode,u.alternate=n,n.alternate=u):(u.pendingProps=r,u.type=n.type,u.flags=0,u.subtreeFlags=0,u.deletions=null),u.flags=n.flags&14680064,u.childLanes=n.childLanes,u.lanes=n.lanes,u.child=n.child,u.memoizedProps=n.memoizedProps,u.memoizedState=n.memoizedState,u.updateQueue=n.updateQueue,r=n.dependencies,u.dependencies=r===null?null:{lanes:r.lanes,firstContext:r.firstContext},u.sibling=n.sibling,u.index=n.index,u.ref=n.ref,u}function Wf(n,r,u,d,y,E){var _=2;if(d=n,typeof n=="function")eh(n)&&(_=1);else if(typeof n=="string")_=5;else e:switch(n){case se:return Ks(u.children,y,E,r);case be:_=8,y|=8;break;case Ge:return n=Pi(12,u,r,y|2),n.elementType=Ge,n.lanes=E,n;case qe:return n=Pi(13,u,r,y),n.elementType=qe,n.lanes=E,n;case Xe:return n=Pi(19,u,r,y),n.elementType=Xe,n.lanes=E,n;case Oe:return dc(u,y,E,r);default:if(typeof n=="object"&&n!==null)switch(n.$$typeof){case Be:_=10;break e;case Ue:_=9;break e;case et:_=11;break e;case dt:_=14;break e;case tt:_=16,d=null;break e}throw Error(l(130,n==null?n:typeof n,""))}return r=Pi(_,u,r,y),r.elementType=n,r.type=d,r.lanes=E,r}function Ks(n,r,u,d){return n=Pi(7,n,d,r),n.lanes=u,n}function dc(n,r,u,d){return n=Pi(22,n,d,r),n.elementType=Oe,n.lanes=u,n.stateNode={isHidden:!1},n}function pc(n,r,u){return n=Pi(6,n,null,r),n.lanes=u,n}function Xs(n,r,u){return r=Pi(4,n.children!==null?n.children:[],n.key,r),r.lanes=u,r.stateNode={containerInfo:n.containerInfo,pendingChildren:null,implementation:n.implementation},r}function k1(n,r,u,d,y){this.tag=r,this.containerInfo=n,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Cl(0),this.expirationTimes=Cl(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Cl(0),this.identifierPrefix=d,this.onRecoverableError=y,this.mutableSourceEagerHydrationData=null}function qf(n,r,u,d,y,E,_,A,j){return n=new k1(n,r,u,A,j),r===1?(r=1,E===!0&&(r|=8)):r=0,E=Pi(3,null,null,r),n.current=E,E.stateNode=n,E.memoizedState={element:d,isDehydrated:u,cache:null,transitions:null,pendingSuspenseBoundaries:null},kp(E),n}function km(n,r,u){var d=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:we,key:d==null?null:""+d,children:n,containerInfo:r,implementation:u}}function th(n){if(!n)return wa;n=n._reactInternals;e:{if(xi(n)!==n||n.tag!==1)throw Error(l(170));var r=n;do{switch(r.tag){case 3:r=r.stateNode.context;break e;case 1:if(hn(r.type)){r=r.stateNode.__reactInternalMemoizedMergedChildContext;break e}}r=r.return}while(r!==null);throw Error(l(171))}if(n.tag===1){var u=n.type;if(hn(u))return qu(n,u,r)}return r}function _m(n,r,u,d,y,E,_,A,j){return n=qf(u,d,!0,n,y,E,_,A,j),n.context=th(null),u=n.current,d=br(),y=$n(u),E=Ka(d,y),E.callback=r??null,Wo(u,E,y),n.current.lanes=y,ja(n,y,d),xr(n,d),n}function hc(n,r,u,d){var y=r.current,E=br(),_=$n(y);return u=th(u),r.context===null?r.context=u:r.pendingContext=u,r=Ka(E,_),r.payload={element:n},d=d===void 0?null:d,d!==null&&(r.callback=d),n=Wo(y,r,_),n!==null&&(wr(n,y,_,E),ff(n,y,_)),_}function Gf(n){if(n=n.current,!n.child)return null;switch(n.child.tag){case 5:return n.child.stateNode;default:return n.child.stateNode}}function Om(n,r){if(n=n.memoizedState,n!==null&&n.dehydrated!==null){var u=n.retryLane;n.retryLane=u!==0&&u<r?u:r}}function nh(n,r){Om(n,r),(n=n.alternate)&&Om(n,r)}function Nm(){return null}var rh=typeof reportError=="function"?reportError:function(n){console.error(n)};function Qf(n){this._internalRoot=n}no.prototype.render=Qf.prototype.render=function(n){var r=this._internalRoot;if(r===null)throw Error(l(409));hc(n,r,null,null)},no.prototype.unmount=Qf.prototype.unmount=function(){var n=this._internalRoot;if(n!==null){this._internalRoot=null;var r=n.containerInfo;es(function(){hc(null,n,null,null)}),r[qa]=null}};function no(n){this._internalRoot=n}no.prototype.unstable_scheduleHydration=function(n){if(n){var r=xl();n={blockedOn:null,target:n,priority:r};for(var u=0;u<Ht.length&&r!==0&&r<Ht[u].priority;u++);Ht.splice(u,0,n),u===0&&Ic(n)}};function ih(n){return!(!n||n.nodeType!==1&&n.nodeType!==9&&n.nodeType!==11)}function Kf(n){return!(!n||n.nodeType!==1&&n.nodeType!==9&&n.nodeType!==11&&(n.nodeType!==8||n.nodeValue!==" react-mount-point-unstable "))}function Dm(){}function _1(n,r,u,d,y){if(y){if(typeof d=="function"){var E=d;d=function(){var ee=Gf(_);E.call(ee)}}var _=_m(r,d,n,0,null,!1,!1,"",Dm);return n._reactRootContainer=_,n[qa]=_.current,Al(n.nodeType===8?n.parentNode:n),es(),_}for(;y=n.lastChild;)n.removeChild(y);if(typeof d=="function"){var A=d;d=function(){var ee=Gf(j);A.call(ee)}}var j=qf(n,0,!1,null,null,!1,!1,"",Dm);return n._reactRootContainer=j,n[qa]=j.current,Al(n.nodeType===8?n.parentNode:n),es(function(){hc(r,j,u,d)}),j}function Xf(n,r,u,d,y){var E=u._reactRootContainer;if(E){var _=E;if(typeof y=="function"){var A=y;y=function(){var j=Gf(_);A.call(j)}}hc(r,_,n,y)}else _=_1(u,r,n,y,d);return Gf(_)}Cs=function(n){switch(n.tag){case 3:var r=n.stateNode;if(r.current.memoizedState.isDehydrated){var u=na(r.pendingLanes);u!==0&&(Sa(r,u|1),xr(r,pn()),!(Tt&6)&&(Zl=pn()+500,Qr()))}break;case 13:es(function(){var d=Qa(n,1);if(d!==null){var y=br();wr(d,n,1,y)}}),nh(n,1)}},wl=function(n){if(n.tag===13){var r=Qa(n,134217728);if(r!==null){var u=br();wr(r,n,134217728,u)}nh(n,134217728)}},Lt=function(n){if(n.tag===13){var r=$n(n),u=Qa(n,r);if(u!==null){var d=br();wr(u,n,r,d)}nh(n,r)}},xl=function(){return $t},Tl=function(n,r){var u=$t;try{return $t=n,r()}finally{$t=u}},wi=function(n,r,u){switch(r){case"input":if(Yn(n,u),r=u.name,u.type==="radio"&&r!=null){for(u=n;u.parentNode;)u=u.parentNode;for(u=u.querySelectorAll("input[name="+JSON.stringify(""+r)+'][type="radio"]'),r=0;r<u.length;r++){var d=u[r];if(d!==n&&d.form===n.form){var y=it(d);if(!y)throw Error(l(90));Ne(d),Yn(d,y)}}}break;case"textarea":Xi(n,u);break;case"select":r=u.value,r!=null&&Hr(n,!!u.multiple,r,!1)}},Uc=tu,Pc=es;var O1={usingClientEntryPoint:!1,Events:[Wu,zl,it,Pa,vl,tu]},ru={findFiberByHostInstance:_i,bundleType:0,version:"18.2.0",rendererPackageName:"react-dom"},N1={bundleType:ru.bundleType,version:ru.version,rendererPackageName:ru.rendererPackageName,rendererConfig:ru.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:pe.ReactCurrentDispatcher,findHostInstanceByFiber:function(n){return n=jc(n),n===null?null:n.stateNode},findFiberByHostInstance:ru.findFiberByHostInstance||Nm,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.2.0-next-9e3b772b8-20220608"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Zf=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Zf.isDisabled&&Zf.supportsFiber)try{Ro=Zf.inject(N1),Ir=Zf}catch{}}return Ii.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=O1,Ii.createPortal=function(n,r){var u=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!ih(r))throw Error(l(200));return km(n,r,null,u)},Ii.createRoot=function(n,r){if(!ih(n))throw Error(l(299));var u=!1,d="",y=rh;return r!=null&&(r.unstable_strictMode===!0&&(u=!0),r.identifierPrefix!==void 0&&(d=r.identifierPrefix),r.onRecoverableError!==void 0&&(y=r.onRecoverableError)),r=qf(n,1,!1,null,null,u,!1,d,y),n[qa]=r.current,Al(n.nodeType===8?n.parentNode:n),new Qf(r)},Ii.findDOMNode=function(n){if(n==null)return null;if(n.nodeType===1)return n;var r=n._reactInternals;if(r===void 0)throw typeof n.render=="function"?Error(l(188)):(n=Object.keys(n).join(","),Error(l(268,n)));return n=jc(r),n=n===null?null:n.stateNode,n},Ii.flushSync=function(n){return es(n)},Ii.hydrate=function(n,r,u){if(!Kf(r))throw Error(l(200));return Xf(null,n,r,!0,u)},Ii.hydrateRoot=function(n,r,u){if(!ih(n))throw Error(l(405));var d=u!=null&&u.hydratedSources||null,y=!1,E="",_=rh;if(u!=null&&(u.unstable_strictMode===!0&&(y=!0),u.identifierPrefix!==void 0&&(E=u.identifierPrefix),u.onRecoverableError!==void 0&&(_=u.onRecoverableError)),r=_m(r,null,n,1,u??null,y,!1,E,_),n[qa]=r.current,Al(n),d)for(n=0;n<d.length;n++)u=d[n],y=u._getVersion,y=y(u._source),r.mutableSourceEagerHydrationData==null?r.mutableSourceEagerHydrationData=[u,y]:r.mutableSourceEagerHydrationData.push(u,y);return new no(r)},Ii.render=function(n,r,u){if(!Kf(r))throw Error(l(200));return Xf(null,n,r,!1,u)},Ii.unmountComponentAtNode=function(n){if(!Kf(n))throw Error(l(40));return n._reactRootContainer?(es(function(){Xf(null,null,n,!1,function(){n._reactRootContainer=null,n[qa]=null})}),!0):!1},Ii.unstable_batchedUpdates=tu,Ii.unstable_renderSubtreeIntoContainer=function(n,r,u,d){if(!Kf(u))throw Error(l(200));if(n==null||n._reactInternals===void 0)throw Error(l(38));return Xf(n,r,u,!1,d)},Ii.version="18.2.0-next-9e3b772b8-20220608",Ii}var Yi={};/**
|
|
135
|
-
* @license React
|
|
136
|
-
* react-dom.development.js
|
|
137
|
-
*
|
|
138
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
139
|
-
*
|
|
140
|
-
* This source code is licensed under the MIT license found in the
|
|
141
|
-
* LICENSE file in the root directory of this source tree.
|
|
142
|
-
*/var F3;function NO(){return F3||(F3=1,process.env.NODE_ENV!=="production"&&function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var o=te,i=GT(),l=o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,f=!1;function h(e){f=e}function m(e){if(!f){for(var t=arguments.length,a=new Array(t>1?t-1:0),s=1;s<t;s++)a[s-1]=arguments[s];S("warn",e,a)}}function v(e){if(!f){for(var t=arguments.length,a=new Array(t>1?t-1:0),s=1;s<t;s++)a[s-1]=arguments[s];S("error",e,a)}}function S(e,t,a){{var s=l.ReactDebugCurrentFrame,c=s.getStackAddendum();c!==""&&(t+="%s",a=a.concat([c]));var p=a.map(function(g){return String(g)});p.unshift("Warning: "+t),Function.prototype.apply.call(console[e],console,p)}}var b=0,x=1,T=2,k=3,L=4,M=5,P=6,F=7,H=8,ce=9,ve=10,ue=11,pe=12,W=13,we=14,se=15,be=16,Ge=17,Be=18,Ue=19,et=21,qe=22,Xe=23,dt=24,tt=25,Oe=!0,he=!1,ye=!1,O=!1,U=!1,Y=!0,ne=!1,ie=!1,ke=!0,Se=!0,Te=!0,De=new Set,Ke={},yt={};function Bt(e,t){Ne(e,t),Ne(e+"Capture",t)}function Ne(e,t){Ke[e]&&v("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",e),Ke[e]=t;{var a=e.toLowerCase();yt[a]=e,e==="onDoubleClick"&&(yt.ondblclick=e)}for(var s=0;s<t.length;s++)De.add(t[s])}var zt=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",_n=Object.prototype.hasOwnProperty;function nr(e){{var t=typeof Symbol=="function"&&Symbol.toStringTag,a=t&&e[Symbol.toStringTag]||e.constructor.name||"Object";return a}}function jr(e){try{return Yn(e),!1}catch{return!0}}function Yn(e){return""+e}function Ki(e,t){if(jr(e))return v("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before before using it here.",t,nr(e)),Yn(e)}function Ua(e){if(jr(e))return v("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",nr(e)),Yn(e)}function yr(e,t){if(jr(e))return v("The provided `%s` prop is an unsupported type %s. This value must be coerced to a string before before using it here.",t,nr(e)),Yn(e)}function Hr(e,t){if(jr(e))return v("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before before using it here.",t,nr(e)),Yn(e)}function ma(e){if(jr(e))return v("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using it here.",nr(e)),Yn(e)}function Fr(e){if(jr(e))return v("Form field values (value, checked, defaultValue, or defaultChecked props) must be strings, not %s. This value must be coerced to a string before before using it here.",nr(e)),Yn(e)}var Xi=0,Vr=1,Zi=2,rr=3,ui=4,gs=5,ya=6,Ae=":A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",rt=Ae+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",Ct=new RegExp("^["+Ae+"]["+rt+"]*$"),It={},Gt={};function Pn(e){return _n.call(Gt,e)?!0:_n.call(It,e)?!1:Ct.test(e)?(Gt[e]=!0,!0):(It[e]=!0,v("Invalid attribute name: `%s`",e),!1)}function On(e,t,a){return t!==null?t.type===Xi:a?!1:e.length>2&&(e[0]==="o"||e[0]==="O")&&(e[1]==="n"||e[1]==="N")}function Br(e,t,a,s){if(a!==null&&a.type===Xi)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":{if(s)return!1;if(a!==null)return!a.acceptsBooleans;var c=e.toLowerCase().slice(0,5);return c!=="data-"&&c!=="aria-"}default:return!1}}function sn(e,t,a,s){if(t===null||typeof t>"u"||Br(e,t,a,s))return!0;if(s)return!1;if(a!==null)switch(a.type){case rr:return!t;case ui:return t===!1;case gs:return isNaN(t);case ya:return isNaN(t)||t<1}return!1}function wi(e){return rn.hasOwnProperty(e)?rn[e]:null}function mn(e,t,a,s,c,p,g){this.acceptsBooleans=t===Zi||t===rr||t===ui,this.attributeName=s,this.attributeNamespace=c,this.mustUseProperty=a,this.propertyName=e,this.type=t,this.sanitizeURL=p,this.removeEmptyString=g}var rn={},Es=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];Es.forEach(function(e){rn[e]=new mn(e,Xi,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0],a=e[1];rn[t]=new mn(t,Vr,!1,a,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){rn[e]=new mn(e,Zi,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){rn[e]=new mn(e,Zi,!1,e,null,!1,!1)}),["allowFullScreen","async","autoFocus","autoPlay","controls","default","defer","disabled","disablePictureInPicture","disableRemotePlayback","formNoValidate","hidden","loop","noModule","noValidate","open","playsInline","readOnly","required","reversed","scoped","seamless","itemScope"].forEach(function(e){rn[e]=new mn(e,rr,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){rn[e]=new mn(e,rr,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){rn[e]=new mn(e,ui,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){rn[e]=new mn(e,ya,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){rn[e]=new mn(e,gs,!1,e.toLowerCase(),null,!1,!1)});var Pa=/[\-\:]([a-z])/g,vl=function(e){return e[1].toUpperCase()};["accent-height","alignment-baseline","arabic-form","baseline-shift","cap-height","clip-path","clip-rule","color-interpolation","color-interpolation-filters","color-profile","color-rendering","dominant-baseline","enable-background","fill-opacity","fill-rule","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","glyph-name","glyph-orientation-horizontal","glyph-orientation-vertical","horiz-adv-x","horiz-origin-x","image-rendering","letter-spacing","lighting-color","marker-end","marker-mid","marker-start","overline-position","overline-thickness","paint-order","panose-1","pointer-events","rendering-intent","shape-rendering","stop-color","stop-opacity","strikethrough-position","strikethrough-thickness","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","text-decoration","text-rendering","underline-position","underline-thickness","unicode-bidi","unicode-range","units-per-em","v-alphabetic","v-hanging","v-ideographic","v-mathematical","vector-effect","vert-adv-y","vert-origin-x","vert-origin-y","word-spacing","writing-mode","xmlns:xlink","x-height"].forEach(function(e){var t=e.replace(Pa,vl);rn[t]=new mn(t,Vr,!1,e,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(e){var t=e.replace(Pa,vl);rn[t]=new mn(t,Vr,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(Pa,vl);rn[t]=new mn(t,Vr,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){rn[e]=new mn(e,Vr,!1,e.toLowerCase(),null,!1,!1)});var Uc="xlinkHref";rn[Uc]=new mn("xlinkHref",Vr,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){rn[e]=new mn(e,Vr,!1,e.toLowerCase(),null,!0,!0)});var Pc=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*\:/i,ml=!1;function Ru(e){!ml&&Pc.test(e)&&(ml=!0,v("A future version of React will block javascript: URLs as a security precaution. Use event handlers instead if you can. If you need to generate unsafe HTML try using dangerouslySetInnerHTML instead. React was passed %s.",JSON.stringify(e)))}function Ji(e,t,a,s){if(s.mustUseProperty){var c=s.propertyName;return e[c]}else{Ki(a,t),s.sanitizeURL&&Ru(""+a);var p=s.attributeName,g=null;if(s.type===ui){if(e.hasAttribute(p)){var C=e.getAttribute(p);return C===""?!0:sn(t,a,s,!1)?C:C===""+a?a:C}}else if(e.hasAttribute(p)){if(sn(t,a,s,!1))return e.getAttribute(p);if(s.type===rr)return a;g=e.getAttribute(p)}return sn(t,a,s,!1)?g===null?a:g:g===""+a?a:g}}function So(e,t,a,s){{if(!Pn(t))return;if(!e.hasAttribute(t))return a===void 0?void 0:null;var c=e.getAttribute(t);return Ki(a,t),c===""+a?a:c}}function ga(e,t,a,s){var c=wi(t);if(!On(t,c,s)){if(sn(t,a,c,s)&&(a=null),s||c===null){if(Pn(t)){var p=t;a===null?e.removeAttribute(p):(Ki(a,t),e.setAttribute(p,""+a))}return}var g=c.mustUseProperty;if(g){var C=c.propertyName;if(a===null){var w=c.type;e[C]=w===rr?!1:""}else e[C]=a;return}var N=c.attributeName,D=c.attributeNamespace;if(a===null)e.removeAttribute(N);else{var I=c.type,V;I===rr||I===ui&&a===!0?V="":(Ki(a,N),V=""+a,c.sanitizeURL&&Ru(V.toString())),D?e.setAttributeNS(D,N,V):e.setAttribute(N,V)}}}var Co=Symbol.for("react.element"),ci=Symbol.for("react.portal"),ea=Symbol.for("react.fragment"),bo=Symbol.for("react.strict_mode"),wo=Symbol.for("react.profiler"),yl=Symbol.for("react.provider"),ku=Symbol.for("react.context"),bn=Symbol.for("react.forward_ref"),xi=Symbol.for("react.suspense"),Ss=Symbol.for("react.suspense_list"),xo=Symbol.for("react.memo"),ir=Symbol.for("react.lazy"),jc=Symbol.for("react.scope"),Hc=Symbol.for("react.debug_trace_mode"),_u=Symbol.for("react.offscreen"),Fc=Symbol.for("react.legacy_hidden"),Yd=Symbol.for("react.cache"),Wd=Symbol.for("react.tracing_marker"),pn=Symbol.iterator,qd="@@iterator";function ta(e){if(e===null||typeof e!="object")return null;var t=pn&&e[pn]||e[qd];return typeof t=="function"?t:null}var bt=Object.assign,Ea=0,To,gl,Ro,Ir,Ou,Tr,Nu;function Du(){}Du.__reactDisabledLog=!0;function Vc(){{if(Ea===0){To=console.log,gl=console.info,Ro=console.warn,Ir=console.error,Ou=console.group,Tr=console.groupCollapsed,Nu=console.groupEnd;var e={configurable:!0,enumerable:!0,value:Du,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}Ea++}}function El(){{if(Ea--,Ea===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:bt({},e,{value:To}),info:bt({},e,{value:gl}),warn:bt({},e,{value:Ro}),error:bt({},e,{value:Ir}),group:bt({},e,{value:Ou}),groupCollapsed:bt({},e,{value:Tr}),groupEnd:bt({},e,{value:Nu})})}Ea<0&&v("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var ko=l.ReactCurrentDispatcher,na;function Rr(e,t,a){{if(na===void 0)try{throw Error()}catch(c){var s=c.stack.trim().match(/\n( *(at )?)/);na=s&&s[1]||""}return`
|
|
143
|
-
`+na+e}}var _o=!1,Oo;{var No=typeof WeakMap=="function"?WeakMap:Map;Oo=new No}function Sl(e,t){if(!e||_o)return"";{var a=Oo.get(e);if(a!==void 0)return a}var s;_o=!0;var c=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var p;p=ko.current,ko.current=null,Vc();try{if(t){var g=function(){throw Error()};if(Object.defineProperty(g.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(g,[])}catch(J){s=J}Reflect.construct(e,[],g)}else{try{g.call()}catch(J){s=J}e.call(g.prototype)}}else{try{throw Error()}catch(J){s=J}e()}}catch(J){if(J&&s&&typeof J.stack=="string"){for(var C=J.stack.split(`
|
|
144
|
-
`),w=s.stack.split(`
|
|
145
|
-
`),N=C.length-1,D=w.length-1;N>=1&&D>=0&&C[N]!==w[D];)D--;for(;N>=1&&D>=0;N--,D--)if(C[N]!==w[D]){if(N!==1||D!==1)do if(N--,D--,D<0||C[N]!==w[D]){var I=`
|
|
146
|
-
`+C[N].replace(" at new "," at ");return e.displayName&&I.includes("<anonymous>")&&(I=I.replace("<anonymous>",e.displayName)),typeof e=="function"&&Oo.set(e,I),I}while(N>=1&&D>=0);break}}}finally{_o=!1,ko.current=p,El(),Error.prepareStackTrace=c}var V=e?e.displayName||e.name:"",X=V?Rr(V):"";return typeof e=="function"&&Oo.set(e,X),X}function Cl(e,t,a){return Sl(e,!0)}function ja(e,t,a){return Sl(e,!1)}function Gd(e){var t=e.prototype;return!!(t&&t.isReactComponent)}function Sa(e,t,a){if(e==null)return"";if(typeof e=="function")return Sl(e,Gd(e));if(typeof e=="string")return Rr(e);switch(e){case xi:return Rr("Suspense");case Ss:return Rr("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case bn:return ja(e.render);case xo:return Sa(e.type,t,a);case ir:{var s=e,c=s._payload,p=s._init;try{return Sa(p(c),t,a)}catch{}}}return""}function $t(e){switch(e._debugOwner&&e._debugOwner.type,e._debugSource,e.tag){case M:return Rr(e.type);case be:return Rr("Lazy");case W:return Rr("Suspense");case Ue:return Rr("SuspenseList");case b:case T:case se:return ja(e.type);case ue:return ja(e.type.render);case x:return Cl(e.type);default:return""}}function bl(e){try{var t="",a=e;do t+=$t(a),a=a.return;while(a);return t}catch(s){return`
|
|
147
|
-
Error generating stack: `+s.message+`
|
|
148
|
-
`+s.stack}}function Cs(e,t,a){var s=e.displayName;if(s)return s;var c=t.displayName||t.name||"";return c!==""?a+"("+c+")":a}function wl(e){return e.displayName||"Context"}function Lt(e){if(e==null)return null;if(typeof e.tag=="number"&&v("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case ea:return"Fragment";case ci:return"Portal";case wo:return"Profiler";case bo:return"StrictMode";case xi:return"Suspense";case Ss:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case ku:var t=e;return wl(t)+".Consumer";case yl:var a=e;return wl(a._context)+".Provider";case bn:return Cs(e,e.render,"ForwardRef");case xo:var s=e.displayName||null;return s!==null?s:Lt(e.type)||"Memo";case ir:{var c=e,p=c._payload,g=c._init;try{return Lt(g(p))}catch{return null}}}return null}function xl(e,t,a){var s=t.displayName||t.name||"";return e.displayName||(s!==""?a+"("+s+")":a)}function Tl(e){return e.displayName||"Context"}function vt(e){var t=e.tag,a=e.type;switch(t){case dt:return"Cache";case ce:var s=a;return Tl(s)+".Consumer";case ve:var c=a;return Tl(c._context)+".Provider";case Be:return"DehydratedFragment";case ue:return xl(a,a.render,"ForwardRef");case F:return"Fragment";case M:return a;case L:return"Portal";case k:return"Root";case P:return"Text";case be:return Lt(a);case H:return a===bo?"StrictMode":"Mode";case qe:return"Offscreen";case pe:return"Profiler";case et:return"Scope";case W:return"Suspense";case Ue:return"SuspenseList";case tt:return"TracingMarker";case x:case b:case Ge:case T:case we:case se:if(typeof a=="function")return a.displayName||a.name||null;if(typeof a=="string")return a;break}return null}var bs=l.ReactDebugCurrentFrame,yn=null,Yr=!1;function kr(){{if(yn===null)return null;var e=yn._debugOwner;if(e!==null&&typeof e<"u")return vt(e)}return null}function Do(){return yn===null?"":bl(yn)}function wn(){bs.getCurrentStack=null,yn=null,Yr=!1}function Ht(e){bs.getCurrentStack=e===null?null:Do,yn=e,Yr=!1}function Bc(){return yn}function Wr(e){Yr=e}function Wn(e){return""+e}function Ca(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return Fr(e),e;default:return""}}var Ic={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function Ha(e,t){Ic[t.type]||t.onChange||t.onInput||t.readOnly||t.disabled||t.value==null||v("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`."),t.onChange||t.readOnly||t.disabled||t.checked==null||v("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")}function Lo(e){var t=e.type,a=e.nodeName;return a&&a.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Yc(e){return e._valueTracker}function Ti(e){e._valueTracker=null}function Mo(e){var t="";return e&&(Lo(e)?t=e.checked?"true":"false":t=e.value),t}function Ao(e){var t=Lo(e)?"checked":"value",a=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);Fr(e[t]);var s=""+e[t];if(!(e.hasOwnProperty(t)||typeof a>"u"||typeof a.get!="function"||typeof a.set!="function")){var c=a.get,p=a.set;Object.defineProperty(e,t,{configurable:!0,get:function(){return c.call(this)},set:function(C){Fr(C),s=""+C,p.call(this,C)}}),Object.defineProperty(e,t,{enumerable:a.enumerable});var g={getValue:function(){return s},setValue:function(C){Fr(C),s=""+C},stopTracking:function(){Ti(e),delete e[t]}};return g}}function Ri(e){Yc(e)||(e._valueTracker=Ao(e))}function Rl(e){if(!e)return!1;var t=Yc(e);if(!t)return!0;var a=t.getValue(),s=Mo(e);return s!==a?(t.setValue(s),!0):!1}function zo(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}var $o=!1,ws=!1,kl=!1,Lu=!1;function ra(e){var t=e.type==="checkbox"||e.type==="radio";return t?e.checked!=null:e.value!=null}function R(e,t){var a=e,s=t.checked,c=bt({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:s??a._wrapperState.initialChecked});return c}function $(e,t){Ha("input",t),t.checked!==void 0&&t.defaultChecked!==void 0&&!ws&&(v("%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components",kr()||"A component",t.type),ws=!0),t.value!==void 0&&t.defaultValue!==void 0&&!$o&&(v("%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components",kr()||"A component",t.type),$o=!0);var a=e,s=t.defaultValue==null?"":t.defaultValue;a._wrapperState={initialChecked:t.checked!=null?t.checked:t.defaultChecked,initialValue:Ca(t.value!=null?t.value:s),controlled:ra(t)}}function Z(e,t){var a=e,s=t.checked;s!=null&&ga(a,"checked",s,!1)}function re(e,t){var a=e;{var s=ra(t);!a._wrapperState.controlled&&s&&!Lu&&(v("A component is changing an uncontrolled input to be controlled. This is likely caused by the value changing from undefined to a defined value, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://reactjs.org/link/controlled-components"),Lu=!0),a._wrapperState.controlled&&!s&&!kl&&(v("A component is changing a controlled input to be uncontrolled. This is likely caused by the value changing from a defined to undefined, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://reactjs.org/link/controlled-components"),kl=!0)}Z(e,t);var c=Ca(t.value),p=t.type;if(c!=null)p==="number"?(c===0&&a.value===""||a.value!=c)&&(a.value=Wn(c)):a.value!==Wn(c)&&(a.value=Wn(c));else if(p==="submit"||p==="reset"){a.removeAttribute("value");return}t.hasOwnProperty("value")?ot(a,t.type,c):t.hasOwnProperty("defaultValue")&&ot(a,t.type,Ca(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(a.defaultChecked=!!t.defaultChecked)}function xe(e,t,a){var s=e;if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var c=t.type,p=c==="submit"||c==="reset";if(p&&(t.value===void 0||t.value===null))return;var g=Wn(s._wrapperState.initialValue);a||g!==s.value&&(s.value=g),s.defaultValue=g}var C=s.name;C!==""&&(s.name=""),s.defaultChecked=!s.defaultChecked,s.defaultChecked=!!s._wrapperState.initialChecked,C!==""&&(s.name=C)}function lt(e,t){var a=e;re(a,t),ze(a,t)}function ze(e,t){var a=t.name;if(t.type==="radio"&&a!=null){for(var s=e;s.parentNode;)s=s.parentNode;Ki(a,"name");for(var c=s.querySelectorAll("input[name="+JSON.stringify(""+a)+'][type="radio"]'),p=0;p<c.length;p++){var g=c[p];if(!(g===e||g.form!==e.form)){var C=Gm(g);if(!C)throw new Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");Rl(g),re(g,C)}}}}function ot(e,t,a){(t!=="number"||zo(e.ownerDocument)!==e)&&(a==null?e.defaultValue=Wn(e._wrapperState.initialValue):e.defaultValue!==Wn(a)&&(e.defaultValue=Wn(a)))}var wt=!1,Mt=!1,Jt=!1;function Yt(e,t){t.value==null&&(typeof t.children=="object"&&t.children!==null?o.Children.forEach(t.children,function(a){a!=null&&(typeof a=="string"||typeof a=="number"||Mt||(Mt=!0,v("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>.")))}):t.dangerouslySetInnerHTML!=null&&(Jt||(Jt=!0,v("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected.")))),t.selected!=null&&!wt&&(v("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),wt=!0)}function en(e,t){t.value!=null&&e.setAttribute("value",Wn(Ca(t.value)))}var an=Array.isArray;function kt(e){return an(e)}var Fa;Fa=!1;function _l(){var e=kr();return e?`
|
|
149
|
-
|
|
150
|
-
Check the render method of \``+e+"`.":""}var Mu=["value","defaultValue"];function Qd(e){{Ha("select",e);for(var t=0;t<Mu.length;t++){var a=Mu[t];if(e[a]!=null){var s=kt(e[a]);e.multiple&&!s?v("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",a,_l()):!e.multiple&&s&&v("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",a,_l())}}}}function ia(e,t,a,s){var c=e.options;if(t){for(var p=a,g={},C=0;C<p.length;C++)g["$"+p[C]]=!0;for(var w=0;w<c.length;w++){var N=g.hasOwnProperty("$"+c[w].value);c[w].selected!==N&&(c[w].selected=N),N&&s&&(c[w].defaultSelected=!0)}}else{for(var D=Wn(Ca(a)),I=null,V=0;V<c.length;V++){if(c[V].value===D){c[V].selected=!0,s&&(c[V].defaultSelected=!0);return}I===null&&!c[V].disabled&&(I=c[V])}I!==null&&(I.selected=!0)}}function Au(e,t){return bt({},t,{value:void 0})}function zu(e,t){var a=e;Qd(t),a._wrapperState={wasMultiple:!!t.multiple},t.value!==void 0&&t.defaultValue!==void 0&&!Fa&&(v("Select elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled select element and remove one of these props. More info: https://reactjs.org/link/controlled-components"),Fa=!0)}function Kd(e,t){var a=e;a.multiple=!!t.multiple;var s=t.value;s!=null?ia(a,!!t.multiple,s,!1):t.defaultValue!=null&&ia(a,!!t.multiple,t.defaultValue,!0)}function Xg(e,t){var a=e,s=a._wrapperState.wasMultiple;a._wrapperState.wasMultiple=!!t.multiple;var c=t.value;c!=null?ia(a,!!t.multiple,c,!1):s!==!!t.multiple&&(t.defaultValue!=null?ia(a,!!t.multiple,t.defaultValue,!0):ia(a,!!t.multiple,t.multiple?[]:"",!1))}function Zg(e,t){var a=e,s=t.value;s!=null&&ia(a,!!t.multiple,s,!1)}var Xd=!1;function Zd(e,t){var a=e;if(t.dangerouslySetInnerHTML!=null)throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");var s=bt({},t,{value:void 0,defaultValue:void 0,children:Wn(a._wrapperState.initialValue)});return s}function wv(e,t){var a=e;Ha("textarea",t),t.value!==void 0&&t.defaultValue!==void 0&&!Xd&&(v("%s contains a textarea with both value and defaultValue props. Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://reactjs.org/link/controlled-components",kr()||"A component"),Xd=!0);var s=t.value;if(s==null){var c=t.children,p=t.defaultValue;if(c!=null){v("Use the `defaultValue` or `value` props instead of setting children on <textarea>.");{if(p!=null)throw new Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(kt(c)){if(c.length>1)throw new Error("<textarea> can only have at most one child.");c=c[0]}p=c}}p==null&&(p=""),s=p}a._wrapperState={initialValue:Ca(s)}}function xv(e,t){var a=e,s=Ca(t.value),c=Ca(t.defaultValue);if(s!=null){var p=Wn(s);p!==a.value&&(a.value=p),t.defaultValue==null&&a.defaultValue!==p&&(a.defaultValue=p)}c!=null&&(a.defaultValue=Wn(c))}function Tv(e,t){var a=e,s=a.textContent;s===a._wrapperState.initialValue&&s!==""&&s!==null&&(a.value=s)}function Jd(e,t){xv(e,t)}var Va="http://www.w3.org/1999/xhtml",Jg="http://www.w3.org/1998/Math/MathML",ep="http://www.w3.org/2000/svg";function Wc(e){switch(e){case"svg":return ep;case"math":return Jg;default:return Va}}function tp(e,t){return e==null||e===Va?Wc(t):e===ep&&t==="foreignObject"?Va:e}var e1=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,a,s,c){MSApp.execUnsafeLocalFunction(function(){return e(t,a,s,c)})}:e},qc,Rv=e1(function(e,t){if(e.namespaceURI===ep&&!("innerHTML"in e)){qc=qc||document.createElement("div"),qc.innerHTML="<svg>"+t.valueOf().toString()+"</svg>";for(var a=qc.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;a.firstChild;)e.appendChild(a.firstChild);return}e.innerHTML=t}),qr=1,Ba=3,An=8,aa=9,xs=11,Gc=function(e,t){if(t){var a=e.firstChild;if(a&&a===e.lastChild&&a.nodeType===Ba){a.nodeValue=t;return}}e.textContent=t},kv={animation:["animationDelay","animationDirection","animationDuration","animationFillMode","animationIterationCount","animationName","animationPlayState","animationTimingFunction"],background:["backgroundAttachment","backgroundClip","backgroundColor","backgroundImage","backgroundOrigin","backgroundPositionX","backgroundPositionY","backgroundRepeat","backgroundSize"],backgroundPosition:["backgroundPositionX","backgroundPositionY"],border:["borderBottomColor","borderBottomStyle","borderBottomWidth","borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth","borderLeftColor","borderLeftStyle","borderLeftWidth","borderRightColor","borderRightStyle","borderRightWidth","borderTopColor","borderTopStyle","borderTopWidth"],borderBlockEnd:["borderBlockEndColor","borderBlockEndStyle","borderBlockEndWidth"],borderBlockStart:["borderBlockStartColor","borderBlockStartStyle","borderBlockStartWidth"],borderBottom:["borderBottomColor","borderBottomStyle","borderBottomWidth"],borderColor:["borderBottomColor","borderLeftColor","borderRightColor","borderTopColor"],borderImage:["borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth"],borderInlineEnd:["borderInlineEndColor","borderInlineEndStyle","borderInlineEndWidth"],borderInlineStart:["borderInlineStartColor","borderInlineStartStyle","borderInlineStartWidth"],borderLeft:["borderLeftColor","borderLeftStyle","borderLeftWidth"],borderRadius:["borderBottomLeftRadius","borderBottomRightRadius","borderTopLeftRadius","borderTopRightRadius"],borderRight:["borderRightColor","borderRightStyle","borderRightWidth"],borderStyle:["borderBottomStyle","borderLeftStyle","borderRightStyle","borderTopStyle"],borderTop:["borderTopColor","borderTopStyle","borderTopWidth"],borderWidth:["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopWidth"],columnRule:["columnRuleColor","columnRuleStyle","columnRuleWidth"],columns:["columnCount","columnWidth"],flex:["flexBasis","flexGrow","flexShrink"],flexFlow:["flexDirection","flexWrap"],font:["fontFamily","fontFeatureSettings","fontKerning","fontLanguageOverride","fontSize","fontSizeAdjust","fontStretch","fontStyle","fontVariant","fontVariantAlternates","fontVariantCaps","fontVariantEastAsian","fontVariantLigatures","fontVariantNumeric","fontVariantPosition","fontWeight","lineHeight"],fontVariant:["fontVariantAlternates","fontVariantCaps","fontVariantEastAsian","fontVariantLigatures","fontVariantNumeric","fontVariantPosition"],gap:["columnGap","rowGap"],grid:["gridAutoColumns","gridAutoFlow","gridAutoRows","gridTemplateAreas","gridTemplateColumns","gridTemplateRows"],gridArea:["gridColumnEnd","gridColumnStart","gridRowEnd","gridRowStart"],gridColumn:["gridColumnEnd","gridColumnStart"],gridColumnGap:["columnGap"],gridGap:["columnGap","rowGap"],gridRow:["gridRowEnd","gridRowStart"],gridRowGap:["rowGap"],gridTemplate:["gridTemplateAreas","gridTemplateColumns","gridTemplateRows"],listStyle:["listStyleImage","listStylePosition","listStyleType"],margin:["marginBottom","marginLeft","marginRight","marginTop"],marker:["markerEnd","markerMid","markerStart"],mask:["maskClip","maskComposite","maskImage","maskMode","maskOrigin","maskPositionX","maskPositionY","maskRepeat","maskSize"],maskPosition:["maskPositionX","maskPositionY"],outline:["outlineColor","outlineStyle","outlineWidth"],overflow:["overflowX","overflowY"],padding:["paddingBottom","paddingLeft","paddingRight","paddingTop"],placeContent:["alignContent","justifyContent"],placeItems:["alignItems","justifyItems"],placeSelf:["alignSelf","justifySelf"],textDecoration:["textDecorationColor","textDecorationLine","textDecorationStyle"],textEmphasis:["textEmphasisColor","textEmphasisStyle"],transition:["transitionDelay","transitionDuration","transitionProperty","transitionTimingFunction"],wordWrap:["overflowWrap"]},Ol={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0};function _v(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}var Ov=["Webkit","ms","Moz","O"];Object.keys(Ol).forEach(function(e){Ov.forEach(function(t){Ol[_v(t,e)]=Ol[e]})});function Qc(e,t,a){var s=t==null||typeof t=="boolean"||t==="";return s?"":!a&&typeof t=="number"&&t!==0&&!(Ol.hasOwnProperty(e)&&Ol[e])?t+"px":(Hr(t,e),(""+t).trim())}var Nl=/([A-Z])/g,t1=/^ms-/;function n1(e){return e.replace(Nl,"-$1").toLowerCase().replace(t1,"-ms-")}var Nv=function(){};{var Dv=/^(?:webkit|moz|o)[A-Z]/,Lv=/^-ms-/,$u=/-(.)/g,Dl=/;\s*$/,Ll={},Ml={},Mv=!1,np=!1,rp=function(e){return e.replace($u,function(t,a){return a.toUpperCase()})},ip=function(e){Ll.hasOwnProperty(e)&&Ll[e]||(Ll[e]=!0,v("Unsupported style property %s. Did you mean %s?",e,rp(e.replace(Lv,"ms-"))))},Av=function(e){Ll.hasOwnProperty(e)&&Ll[e]||(Ll[e]=!0,v("Unsupported vendor-prefixed style property %s. Did you mean %s?",e,e.charAt(0).toUpperCase()+e.slice(1)))},zv=function(e,t){Ml.hasOwnProperty(t)&&Ml[t]||(Ml[t]=!0,v(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,e,t.replace(Dl,"")))},$v=function(e,t){Mv||(Mv=!0,v("`NaN` is an invalid value for the `%s` css style property.",e))},r1=function(e,t){np||(np=!0,v("`Infinity` is an invalid value for the `%s` css style property.",e))};Nv=function(e,t){e.indexOf("-")>-1?ip(e):Dv.test(e)?Av(e):Dl.test(t)&&zv(e,t),typeof t=="number"&&(isNaN(t)?$v(e,t):isFinite(t)||r1(e,t))}}var i1=Nv;function a1(e){{var t="",a="";for(var s in e)if(e.hasOwnProperty(s)){var c=e[s];if(c!=null){var p=s.indexOf("--")===0;t+=a+(p?s:n1(s))+":",t+=Qc(s,c,p),a=";"}}return t||null}}function Uv(e,t){var a=e.style;for(var s in t)if(t.hasOwnProperty(s)){var c=s.indexOf("--")===0;c||i1(s,t[s]);var p=Qc(s,t[s],c);s==="float"&&(s="cssFloat"),c?a.setProperty(s,p):a[s]=p}}function o1(e){return e==null||typeof e=="boolean"||e===""}function ki(e){var t={};for(var a in e)for(var s=kv[a]||[a],c=0;c<s.length;c++)t[s[c]]=a;return t}function Uu(e,t){{if(!t)return;var a=ki(e),s=ki(t),c={};for(var p in a){var g=a[p],C=s[p];if(C&&g!==C){var w=g+","+C;if(c[w])continue;c[w]=!0,v("%s a style property during rerender (%s) when a conflicting property is set (%s) can lead to styling bugs. To avoid this, don't mix shorthand and non-shorthand properties for the same value; instead, replace the shorthand with separate values.",o1(e[g])?"Removing":"Updating",g,C)}}}}var Pv={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},jv=bt({menuitem:!0},Pv),Hv="__html";function Kc(e,t){if(t){if(jv[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw new Error(e+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof t.dangerouslySetInnerHTML!="object"||!(Hv in t.dangerouslySetInnerHTML))throw new Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.")}if(!t.suppressContentEditableWarning&&t.contentEditable&&t.children!=null&&v("A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional."),t.style!=null&&typeof t.style!="object")throw new Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.")}}function Ia(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Xc={accept:"accept",acceptcharset:"acceptCharset","accept-charset":"acceptCharset",accesskey:"accessKey",action:"action",allowfullscreen:"allowFullScreen",alt:"alt",as:"as",async:"async",autocapitalize:"autoCapitalize",autocomplete:"autoComplete",autocorrect:"autoCorrect",autofocus:"autoFocus",autoplay:"autoPlay",autosave:"autoSave",capture:"capture",cellpadding:"cellPadding",cellspacing:"cellSpacing",challenge:"challenge",charset:"charSet",checked:"checked",children:"children",cite:"cite",class:"className",classid:"classID",classname:"className",cols:"cols",colspan:"colSpan",content:"content",contenteditable:"contentEditable",contextmenu:"contextMenu",controls:"controls",controlslist:"controlsList",coords:"coords",crossorigin:"crossOrigin",dangerouslysetinnerhtml:"dangerouslySetInnerHTML",data:"data",datetime:"dateTime",default:"default",defaultchecked:"defaultChecked",defaultvalue:"defaultValue",defer:"defer",dir:"dir",disabled:"disabled",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback",download:"download",draggable:"draggable",enctype:"encType",enterkeyhint:"enterKeyHint",for:"htmlFor",form:"form",formmethod:"formMethod",formaction:"formAction",formenctype:"formEncType",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",headers:"headers",height:"height",hidden:"hidden",high:"high",href:"href",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv","http-equiv":"httpEquiv",icon:"icon",id:"id",imagesizes:"imageSizes",imagesrcset:"imageSrcSet",innerhtml:"innerHTML",inputmode:"inputMode",integrity:"integrity",is:"is",itemid:"itemID",itemprop:"itemProp",itemref:"itemRef",itemscope:"itemScope",itemtype:"itemType",keyparams:"keyParams",keytype:"keyType",kind:"kind",label:"label",lang:"lang",list:"list",loop:"loop",low:"low",manifest:"manifest",marginwidth:"marginWidth",marginheight:"marginHeight",max:"max",maxlength:"maxLength",media:"media",mediagroup:"mediaGroup",method:"method",min:"min",minlength:"minLength",multiple:"multiple",muted:"muted",name:"name",nomodule:"noModule",nonce:"nonce",novalidate:"noValidate",open:"open",optimum:"optimum",pattern:"pattern",placeholder:"placeholder",playsinline:"playsInline",poster:"poster",preload:"preload",profile:"profile",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rel:"rel",required:"required",reversed:"reversed",role:"role",rows:"rows",rowspan:"rowSpan",sandbox:"sandbox",scope:"scope",scoped:"scoped",scrolling:"scrolling",seamless:"seamless",selected:"selected",shape:"shape",size:"size",sizes:"sizes",span:"span",spellcheck:"spellCheck",src:"src",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",start:"start",step:"step",style:"style",summary:"summary",tabindex:"tabIndex",target:"target",title:"title",type:"type",usemap:"useMap",value:"value",width:"width",wmode:"wmode",wrap:"wrap",about:"about",accentheight:"accentHeight","accent-height":"accentHeight",accumulate:"accumulate",additive:"additive",alignmentbaseline:"alignmentBaseline","alignment-baseline":"alignmentBaseline",allowreorder:"allowReorder",alphabetic:"alphabetic",amplitude:"amplitude",arabicform:"arabicForm","arabic-form":"arabicForm",ascent:"ascent",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",azimuth:"azimuth",basefrequency:"baseFrequency",baselineshift:"baselineShift","baseline-shift":"baselineShift",baseprofile:"baseProfile",bbox:"bbox",begin:"begin",bias:"bias",by:"by",calcmode:"calcMode",capheight:"capHeight","cap-height":"capHeight",clip:"clip",clippath:"clipPath","clip-path":"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule","clip-rule":"clipRule",color:"color",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",cursor:"cursor",cx:"cx",cy:"cy",d:"d",datatype:"datatype",decelerate:"decelerate",descent:"descent",diffuseconstant:"diffuseConstant",direction:"direction",display:"display",divisor:"divisor",dominantbaseline:"dominantBaseline","dominant-baseline":"dominantBaseline",dur:"dur",dx:"dx",dy:"dy",edgemode:"edgeMode",elevation:"elevation",enablebackground:"enableBackground","enable-background":"enableBackground",end:"end",exponent:"exponent",externalresourcesrequired:"externalResourcesRequired",fill:"fill",fillopacity:"fillOpacity","fill-opacity":"fillOpacity",fillrule:"fillRule","fill-rule":"fillRule",filter:"filter",filterres:"filterRes",filterunits:"filterUnits",floodopacity:"floodOpacity","flood-opacity":"floodOpacity",floodcolor:"floodColor","flood-color":"floodColor",focusable:"focusable",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",format:"format",from:"from",fx:"fx",fy:"fy",g1:"g1",g2:"g2",glyphname:"glyphName","glyph-name":"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal","glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical","glyph-orientation-vertical":"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",hanging:"hanging",horizadvx:"horizAdvX","horiz-adv-x":"horizAdvX",horizoriginx:"horizOriginX","horiz-origin-x":"horizOriginX",ideographic:"ideographic",imagerendering:"imageRendering","image-rendering":"imageRendering",in2:"in2",in:"in",inlist:"inlist",intercept:"intercept",k1:"k1",k2:"k2",k3:"k3",k4:"k4",k:"k",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",kerning:"kerning",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing","letter-spacing":"letterSpacing",lightingcolor:"lightingColor","lighting-color":"lightingColor",limitingconeangle:"limitingConeAngle",local:"local",markerend:"markerEnd","marker-end":"markerEnd",markerheight:"markerHeight",markermid:"markerMid","marker-mid":"markerMid",markerstart:"markerStart","marker-start":"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",mask:"mask",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",mathematical:"mathematical",mode:"mode",numoctaves:"numOctaves",offset:"offset",opacity:"opacity",operator:"operator",order:"order",orient:"orient",orientation:"orientation",origin:"origin",overflow:"overflow",overlineposition:"overlinePosition","overline-position":"overlinePosition",overlinethickness:"overlineThickness","overline-thickness":"overlineThickness",paintorder:"paintOrder","paint-order":"paintOrder",panose1:"panose1","panose-1":"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents","pointer-events":"pointerEvents",points:"points",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",prefix:"prefix",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",property:"property",r:"r",radius:"radius",refx:"refX",refy:"refY",renderingintent:"renderingIntent","rendering-intent":"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",resource:"resource",restart:"restart",result:"result",results:"results",rotate:"rotate",rx:"rx",ry:"ry",scale:"scale",security:"security",seed:"seed",shaperendering:"shapeRendering","shape-rendering":"shapeRendering",slope:"slope",spacing:"spacing",specularconstant:"specularConstant",specularexponent:"specularExponent",speed:"speed",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stemh:"stemh",stemv:"stemv",stitchtiles:"stitchTiles",stopcolor:"stopColor","stop-color":"stopColor",stopopacity:"stopOpacity","stop-opacity":"stopOpacity",strikethroughposition:"strikethroughPosition","strikethrough-position":"strikethroughPosition",strikethroughthickness:"strikethroughThickness","strikethrough-thickness":"strikethroughThickness",string:"string",stroke:"stroke",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",to:"to",transform:"transform",typeof:"typeof",u1:"u1",u2:"u2",underlineposition:"underlinePosition","underline-position":"underlinePosition",underlinethickness:"underlineThickness","underline-thickness":"underlineThickness",unicode:"unicode",unicodebidi:"unicodeBidi","unicode-bidi":"unicodeBidi",unicoderange:"unicodeRange","unicode-range":"unicodeRange",unitsperem:"unitsPerEm","units-per-em":"unitsPerEm",unselectable:"unselectable",valphabetic:"vAlphabetic","v-alphabetic":"vAlphabetic",values:"values",vectoreffect:"vectorEffect","vector-effect":"vectorEffect",version:"version",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",visibility:"visibility",vmathematical:"vMathematical","v-mathematical":"vMathematical",vocab:"vocab",widths:"widths",wordspacing:"wordSpacing","word-spacing":"wordSpacing",writingmode:"writingMode","writing-mode":"writingMode",x1:"x1",x2:"x2",x:"x",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",xmlns:"xmlns","xml:space":"xmlSpace",xmlnsxlink:"xmlnsXlink","xmlns:xlink":"xmlnsXlink",xmlspace:"xmlSpace",y1:"y1",y2:"y2",y:"y",ychannelselector:"yChannelSelector",z:"z",zoomandpan:"zoomAndPan"},Fv={"aria-current":0,"aria-description":0,"aria-details":0,"aria-disabled":0,"aria-hidden":0,"aria-invalid":0,"aria-keyshortcuts":0,"aria-label":0,"aria-roledescription":0,"aria-autocomplete":0,"aria-checked":0,"aria-expanded":0,"aria-haspopup":0,"aria-level":0,"aria-modal":0,"aria-multiline":0,"aria-multiselectable":0,"aria-orientation":0,"aria-placeholder":0,"aria-pressed":0,"aria-readonly":0,"aria-required":0,"aria-selected":0,"aria-sort":0,"aria-valuemax":0,"aria-valuemin":0,"aria-valuenow":0,"aria-valuetext":0,"aria-atomic":0,"aria-busy":0,"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0},oa={},ap=new RegExp("^(aria)-["+rt+"]*$"),Pu=new RegExp("^(aria)[A-Z]["+rt+"]*$");function op(e,t){{if(_n.call(oa,t)&&oa[t])return!0;if(Pu.test(t)){var a="aria-"+t.slice(4).toLowerCase(),s=Fv.hasOwnProperty(a)?a:null;if(s==null)return v("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",t),oa[t]=!0,!0;if(t!==s)return v("Invalid ARIA attribute `%s`. Did you mean `%s`?",t,s),oa[t]=!0,!0}if(ap.test(t)){var c=t.toLowerCase(),p=Fv.hasOwnProperty(c)?c:null;if(p==null)return oa[t]=!0,!1;if(t!==p)return v("Unknown ARIA attribute `%s`. Did you mean `%s`?",t,p),oa[t]=!0,!0}}return!0}function Vv(e,t){{var a=[];for(var s in t){var c=op(e,s);c||a.push(s)}var p=a.map(function(g){return"`"+g+"`"}).join(", ");a.length===1?v("Invalid aria prop %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",p,e):a.length>1&&v("Invalid aria props %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",p,e)}}function Zc(e,t){Ia(e,t)||Vv(e,t)}var Ts=!1;function sp(e,t){{if(e!=="input"&&e!=="textarea"&&e!=="select")return;t!=null&&t.value===null&&!Ts&&(Ts=!0,e==="select"&&t.multiple?v("`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.",e):v("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",e))}}var lp=function(){};{var qn={},up=/^on./,Bv=/^on[^A-Z]/,Iv=new RegExp("^(aria)-["+rt+"]*$"),Yv=new RegExp("^(aria)[A-Z]["+rt+"]*$");lp=function(e,t,a,s){if(_n.call(qn,t)&&qn[t])return!0;var c=t.toLowerCase();if(c==="onfocusin"||c==="onfocusout")return v("React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React."),qn[t]=!0,!0;if(s!=null){var p=s.registrationNameDependencies,g=s.possibleRegistrationNames;if(p.hasOwnProperty(t))return!0;var C=g.hasOwnProperty(c)?g[c]:null;if(C!=null)return v("Invalid event handler property `%s`. Did you mean `%s`?",t,C),qn[t]=!0,!0;if(up.test(t))return v("Unknown event handler property `%s`. It will be ignored.",t),qn[t]=!0,!0}else if(up.test(t))return Bv.test(t)&&v("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",t),qn[t]=!0,!0;if(Iv.test(t)||Yv.test(t))return!0;if(c==="innerhtml")return v("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),qn[t]=!0,!0;if(c==="aria")return v("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),qn[t]=!0,!0;if(c==="is"&&a!==null&&a!==void 0&&typeof a!="string")return v("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof a),qn[t]=!0,!0;if(typeof a=="number"&&isNaN(a))return v("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",t),qn[t]=!0,!0;var w=wi(t),N=w!==null&&w.type===Xi;if(Xc.hasOwnProperty(c)){var D=Xc[c];if(D!==t)return v("Invalid DOM property `%s`. Did you mean `%s`?",t,D),qn[t]=!0,!0}else if(!N&&t!==c)return v("React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.",t,c),qn[t]=!0,!0;return typeof a=="boolean"&&Br(t,a,w,!1)?(a?v('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.',a,t,t,a,t):v('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.',a,t,t,a,t,t,t),qn[t]=!0,!0):N?!0:Br(t,a,w,!1)?(qn[t]=!0,!1):((a==="false"||a==="true")&&w!==null&&w.type===rr&&(v("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",a,t,a==="false"?"The browser will interpret it as a truthy value.":'Although this works, it will not work as expected if you pass the string "false".',t,a),qn[t]=!0),!0)}}var Wv=function(e,t,a){{var s=[];for(var c in t){var p=lp(e,c,t[c],a);p||s.push(c)}var g=s.map(function(C){return"`"+C+"`"}).join(", ");s.length===1?v("Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",g,e):s.length>1&&v("Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",g,e)}};function qv(e,t,a){Ia(e,t)||Wv(e,t,a)}var Ya=1,ju=2,Rs=4,s1=Ya|ju|Rs,Hu=null;function Fu(e){Hu!==null&&v("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),Hu=e}function l1(){Hu===null&&v("Expected currently replaying event to not be null. This error is likely caused by a bug in React. Please file an issue."),Hu=null}function Gv(e){return e===Hu}function Jc(e){var t=e.target||e.srcElement||window;return t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===Ba?t.parentNode:t}var tn=null,Uo=null,Wa=null;function Al(e){var t=ou(e);if(t){if(typeof tn!="function")throw new Error("setRestoreImplementation() needs to be called to handle a target for controlled events. This error is likely caused by a bug in React. Please file an issue.");var a=t.stateNode;if(a){var s=Gm(a);tn(t.stateNode,t.type,s)}}}function Qv(e){tn=e}function ef(e){Uo?Wa?Wa.push(e):Wa=[e]:Uo=e}function Vu(){return Uo!==null||Wa!==null}function Bu(){if(Uo){var e=Uo,t=Wa;if(Uo=null,Wa=null,Al(e),t)for(var a=0;a<t.length;a++)Al(t[a])}}var ks=function(e,t){return e(t)},cp=function(){},fp=!1;function u1(){var e=Vu();e&&(cp(),Bu())}function dp(e,t,a){if(fp)return e(t,a);fp=!0;try{return ks(e,t,a)}finally{fp=!1,u1()}}function tf(e,t,a){ks=e,cp=a}function nf(e){return e==="button"||e==="input"||e==="select"||e==="textarea"}function pp(e,t,a){switch(e){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":return!!(a.disabled&&nf(t));default:return!1}}function _s(e,t){var a=e.stateNode;if(a===null)return null;var s=Gm(a);if(s===null)return null;var c=s[t];if(pp(t,e.type,s))return null;if(c&&typeof c!="function")throw new Error("Expected `"+t+"` listener to be a function, instead got a value of `"+typeof c+"` type.");return c}var Iu=!1;if(zt)try{var Os={};Object.defineProperty(Os,"passive",{get:function(){Iu=!0}}),window.addEventListener("test",Os,Os),window.removeEventListener("test",Os,Os)}catch{Iu=!1}function Kv(e,t,a,s,c,p,g,C,w){var N=Array.prototype.slice.call(arguments,3);try{t.apply(a,N)}catch(D){this.onError(D)}}var hp=Kv;if(typeof window<"u"&&typeof window.dispatchEvent=="function"&&typeof document<"u"&&typeof document.createEvent=="function"){var vp=document.createElement("react");hp=function(t,a,s,c,p,g,C,w,N){if(typeof document>"u"||document===null)throw new Error("The `document` global was defined when React was initialized, but is not defined anymore. This can happen in a test environment if a component schedules an update from an asynchronous callback, but the test has already finished running. To solve this, you can either unmount the component at the end of your test (and ensure that any asynchronous operations get canceled in `componentWillUnmount`), or you can change the test itself to be asynchronous.");var D=document.createEvent("Event"),I=!1,V=!0,X=window.event,J=Object.getOwnPropertyDescriptor(window,"event");function ae(){vp.removeEventListener(oe,at,!1),typeof window.event<"u"&&window.hasOwnProperty("event")&&(window.event=X)}var He=Array.prototype.slice.call(arguments,3);function at(){I=!0,ae(),a.apply(s,He),V=!1}var Je,Nt=!1,Rt=!1;function G(Q){if(Je=Q.error,Nt=!0,Je===null&&Q.colno===0&&Q.lineno===0&&(Rt=!0),Q.defaultPrevented&&Je!=null&&typeof Je=="object")try{Je._suppressLogging=!0}catch{}}var oe="react-"+(t||"invokeguardedcallback");if(window.addEventListener("error",G),vp.addEventListener(oe,at,!1),D.initEvent(oe,!1,!1),vp.dispatchEvent(D),J&&Object.defineProperty(window,"event",J),I&&V&&(Nt?Rt&&(Je=new Error("A cross-origin error was thrown. React doesn't have access to the actual error object in development. See https://reactjs.org/link/crossorigin-error for more information.")):Je=new Error(`An error was thrown inside one of your components, but React doesn't know what it was. This is likely due to browser flakiness. React does its best to preserve the "Pause on exceptions" behavior of the DevTools, which requires some DEV-mode only tricks. It's possible that these don't work in your browser. Try triggering the error in production mode, or switching to a modern browser. If you suspect that this is actually an issue with React, please file an issue.`),this.onError(Je)),window.removeEventListener("error",G),!I)return ae(),Kv.apply(this,arguments)}}var c1=hp,Po=!1,sa=null,Yu=!1,jo=null,ba={onError:function(e){Po=!0,sa=e}};function Ns(e,t,a,s,c,p,g,C,w){Po=!1,sa=null,c1.apply(ba,arguments)}function qa(e,t,a,s,c,p,g,C,w){if(Ns.apply(this,arguments),Po){var N=yp();Yu||(Yu=!0,jo=N)}}function mp(){if(Yu){var e=jo;throw Yu=!1,jo=null,e}}function f1(){return Po}function yp(){if(Po){var e=sa;return Po=!1,sa=null,e}else throw new Error("clearCaughtError was called but no error was captured. This error is likely caused by a bug in React. Please file an issue.")}function _i(e){return e._reactInternals}function Wu(e){return e._reactInternals!==void 0}function zl(e,t){e._reactInternals=t}var it=0,Ho=1,ln=2,Et=4,jt=16,Ft=32,wa=64,pt=128,xn=256,Gr=512,Oi=1024,hn=2048,Ni=4096,Fo=8192,qu=16384,rf=hn|Et|wa|Gr|Oi|qu,Xv=32767,fi=32768,Gn=65536,Gu=131072,gp=1048576,Ep=2097152,Qr=4194304,Vo=8388608,Kr=16777216,Ds=33554432,$l=Et|Oi|0,Xr=ln|Et|jt|Ft|Gr|Ni|Fo,gr=Et|wa|Gr|Fo,Di=hn|jt,ar=Qr|Vo|Ep,Ga=l.ReactCurrentOwner;function di(e){var t=e,a=e;if(e.alternate)for(;t.return;)t=t.return;else{var s=t;do t=s,(t.flags&(ln|Ni))!==it&&(a=t.return),s=t.return;while(s)}return t.tag===k?a:null}function Sp(e){if(e.tag===W){var t=e.memoizedState;if(t===null){var a=e.alternate;a!==null&&(t=a.memoizedState)}if(t!==null)return t.dehydrated}return null}function af(e){return e.tag===k?e.stateNode.containerInfo:null}function Cp(e){return di(e)===e}function pi(e){{var t=Ga.current;if(t!==null&&t.tag===x){var a=t,s=a.stateNode;s._warnedAboutRefsInRender||v("%s is accessing isMounted inside its render() function. render() should be a pure function of props and state. It should never access something that requires stale data from the previous render, such as refs. Move this logic to componentDidMount and componentDidUpdate instead.",vt(a)||"A component"),s._warnedAboutRefsInRender=!0}}var c=_i(e);return c?di(c)===c:!1}function Zr(e){if(di(e)!==e)throw new Error("Unable to find node on an unmounted component.")}function un(e){var t=e.alternate;if(!t){var a=di(e);if(a===null)throw new Error("Unable to find node on an unmounted component.");return a!==e?null:e}for(var s=e,c=t;;){var p=s.return;if(p===null)break;var g=p.alternate;if(g===null){var C=p.return;if(C!==null){s=c=C;continue}break}if(p.child===g.child){for(var w=p.child;w;){if(w===s)return Zr(p),e;if(w===c)return Zr(p),t;w=w.sibling}throw new Error("Unable to find node on an unmounted component.")}if(s.return!==c.return)s=p,c=g;else{for(var N=!1,D=p.child;D;){if(D===s){N=!0,s=p,c=g;break}if(D===c){N=!0,c=p,s=g;break}D=D.sibling}if(!N){for(D=g.child;D;){if(D===s){N=!0,s=g,c=p;break}if(D===c){N=!0,c=g,s=p;break}D=D.sibling}if(!N)throw new Error("Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue.")}}if(s.alternate!==c)throw new Error("Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue.")}if(s.tag!==k)throw new Error("Unable to find node on an unmounted component.");return s.stateNode.current===s?e:t}function Li(e){var t=un(e);return t!==null?bp(t):null}function bp(e){if(e.tag===M||e.tag===P)return e;for(var t=e.child;t!==null;){var a=bp(t);if(a!==null)return a;t=t.sibling}return null}function Zv(e){var t=un(e);return t!==null?of(t):null}function of(e){if(e.tag===M||e.tag===P)return e;for(var t=e.child;t!==null;){if(t.tag!==L){var a=of(t);if(a!==null)return a}t=t.sibling}return null}var sf=i.unstable_scheduleCallback,Jv=i.unstable_cancelCallback,lf=i.unstable_shouldYield,em=i.unstable_requestPaint,gn=i.unstable_now,wp=i.unstable_getCurrentPriorityLevel,uf=i.unstable_ImmediatePriority,hi=i.unstable_UserBlockingPriority,xa=i.unstable_NormalPriority,cf=i.unstable_LowPriority,Bo=i.unstable_IdlePriority,xp=i.unstable_yieldValue,Tp=i.unstable_setDisableYieldValue,Io=null,Qn=null,Le=null,Nn=!1,or=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u";function Rp(e){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u")return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled)return!0;if(!t.supportsFiber)return v("The installed version of React DevTools is too old and will not work with the current version of React. Please update React DevTools. https://reactjs.org/link/react-devtools"),!0;try{ke&&(e=bt({},e,{getLaneLabelMap:Wo,injectProfilingHooks:Ka})),Io=t.inject(e),Qn=t}catch(a){v("React instrumentation encountered an error: %s.",a)}return!!t.checkDCE}function tm(e,t){if(Qn&&typeof Qn.onScheduleFiberRoot=="function")try{Qn.onScheduleFiberRoot(Io,e,t)}catch(a){Nn||(Nn=!0,v("React instrumentation encountered an error: %s",a))}}function Qa(e,t){if(Qn&&typeof Qn.onCommitFiberRoot=="function")try{var a=(e.current.flags&pt)===pt;if(Se){var s;switch(t){case Er:s=uf;break;case sr:s=hi;break;case Za:s=xa;break;case rc:s=Bo;break;default:s=xa;break}Qn.onCommitFiberRoot(Io,e,s,a)}}catch(c){Nn||(Nn=!0,v("React instrumentation encountered an error: %s",c))}}function Yo(e){if(Qn&&typeof Qn.onPostCommitFiberRoot=="function")try{Qn.onPostCommitFiberRoot(Io,e)}catch(t){Nn||(Nn=!0,v("React instrumentation encountered an error: %s",t))}}function kp(e){if(Qn&&typeof Qn.onCommitFiberUnmount=="function")try{Qn.onCommitFiberUnmount(Io,e)}catch(t){Nn||(Nn=!0,v("React instrumentation encountered an error: %s",t))}}function jn(e){if(typeof xp=="function"&&(Tp(e),h(e)),Qn&&typeof Qn.setStrictMode=="function")try{Qn.setStrictMode(Io,e)}catch(t){Nn||(Nn=!0,v("React instrumentation encountered an error: %s",t))}}function Ka(e){Le=e}function Wo(){{for(var e=new Map,t=1,a=0;a<cn;a++){var s=d1(t);e.set(t,s),t*=2}return e}}function ff(e){Le!==null&&typeof Le.markCommitStarted=="function"&&Le.markCommitStarted(e)}function _p(){Le!==null&&typeof Le.markCommitStopped=="function"&&Le.markCommitStopped()}function qo(e){Le!==null&&typeof Le.markComponentRenderStarted=="function"&&Le.markComponentRenderStarted(e)}function Ls(){Le!==null&&typeof Le.markComponentRenderStopped=="function"&&Le.markComponentRenderStopped()}function nm(e){Le!==null&&typeof Le.markComponentPassiveEffectMountStarted=="function"&&Le.markComponentPassiveEffectMountStarted(e)}function Op(){Le!==null&&typeof Le.markComponentPassiveEffectMountStopped=="function"&&Le.markComponentPassiveEffectMountStopped()}function df(e){Le!==null&&typeof Le.markComponentPassiveEffectUnmountStarted=="function"&&Le.markComponentPassiveEffectUnmountStarted(e)}function rm(){Le!==null&&typeof Le.markComponentPassiveEffectUnmountStopped=="function"&&Le.markComponentPassiveEffectUnmountStopped()}function im(e){Le!==null&&typeof Le.markComponentLayoutEffectMountStarted=="function"&&Le.markComponentLayoutEffectMountStarted(e)}function am(){Le!==null&&typeof Le.markComponentLayoutEffectMountStopped=="function"&&Le.markComponentLayoutEffectMountStopped()}function pf(e){Le!==null&&typeof Le.markComponentLayoutEffectUnmountStarted=="function"&&Le.markComponentLayoutEffectUnmountStarted(e)}function Ul(){Le!==null&&typeof Le.markComponentLayoutEffectUnmountStopped=="function"&&Le.markComponentLayoutEffectUnmountStopped()}function hf(e,t,a){Le!==null&&typeof Le.markComponentErrored=="function"&&Le.markComponentErrored(e,t,a)}function om(e,t,a){Le!==null&&typeof Le.markComponentSuspended=="function"&&Le.markComponentSuspended(e,t,a)}function sm(e){Le!==null&&typeof Le.markLayoutEffectsStarted=="function"&&Le.markLayoutEffectsStarted(e)}function Pl(){Le!==null&&typeof Le.markLayoutEffectsStopped=="function"&&Le.markLayoutEffectsStopped()}function lm(e){Le!==null&&typeof Le.markPassiveEffectsStarted=="function"&&Le.markPassiveEffectsStarted(e)}function Qu(){Le!==null&&typeof Le.markPassiveEffectsStopped=="function"&&Le.markPassiveEffectsStopped()}function la(e){Le!==null&&typeof Le.markRenderStarted=="function"&&Le.markRenderStarted(e)}function Ku(){Le!==null&&typeof Le.markRenderYielded=="function"&&Le.markRenderYielded()}function jl(){Le!==null&&typeof Le.markRenderStopped=="function"&&Le.markRenderStopped()}function Ms(e){Le!==null&&typeof Le.markRenderScheduled=="function"&&Le.markRenderScheduled(e)}function Np(e,t){Le!==null&&typeof Le.markForceUpdateScheduled=="function"&&Le.markForceUpdateScheduled(e,t)}function Go(e,t){Le!==null&&typeof Le.markStateUpdateScheduled=="function"&&Le.markStateUpdateScheduled(e,t)}var st=0,xt=1,ut=2,En=8,Mi=16,vf=Math.clz32?Math.clz32:As,mf=Math.log,Dp=Math.LN2;function As(e){var t=e>>>0;return t===0?32:31-(mf(t)/Dp|0)|0}var cn=31,le=0,_t=0,ct=1,Ta=2,mi=4,zs=8,fn=16,$s=32,Qo=4194240,Us=64,Ai=128,Jr=256,Ps=512,Xu=1024,Zu=2048,yf=4096,gf=8192,Ef=16384,Sf=32768,Cf=65536,bf=131072,wf=262144,xf=524288,js=1048576,Tf=2097152,Hs=130023424,Xa=4194304,Rf=8388608,Ju=16777216,kf=33554432,_f=67108864,Lp=Xa,Hl=134217728,Of=268435455,Fl=268435456,Ko=536870912,ei=1073741824;function d1(e){{if(e&ct)return"Sync";if(e&Ta)return"InputContinuousHydration";if(e&mi)return"InputContinuous";if(e&zs)return"DefaultHydration";if(e&fn)return"Default";if(e&$s)return"TransitionHydration";if(e&Qo)return"Transition";if(e&Hs)return"Retry";if(e&Hl)return"SelectiveHydration";if(e&Fl)return"IdleHydration";if(e&Ko)return"Idle";if(e&ei)return"Offscreen"}}var nn=-1,Nf=Us,Df=Xa;function Vl(e){switch(zn(e)){case ct:return ct;case Ta:return Ta;case mi:return mi;case zs:return zs;case fn:return fn;case $s:return $s;case Us:case Ai:case Jr:case Ps:case Xu:case Zu:case yf:case gf:case Ef:case Sf:case Cf:case bf:case wf:case xf:case js:case Tf:return e&Qo;case Xa:case Rf:case Ju:case kf:case _f:return e&Hs;case Hl:return Hl;case Fl:return Fl;case Ko:return Ko;case ei:return ei;default:return v("Should have found matching lanes. This is a bug in React."),e}}function ec(e,t){var a=e.pendingLanes;if(a===le)return le;var s=le,c=e.suspendedLanes,p=e.pingedLanes,g=a&Of;if(g!==le){var C=g&~c;if(C!==le)s=Vl(C);else{var w=g&p;w!==le&&(s=Vl(w))}}else{var N=a&~c;N!==le?s=Vl(N):p!==le&&(s=Vl(p))}if(s===le)return le;if(t!==le&&t!==s&&(t&c)===le){var D=zn(s),I=zn(t);if(D>=I||D===fn&&(I&Qo)!==le)return t}(s&mi)!==le&&(s|=a&fn);var V=e.entangledLanes;if(V!==le)for(var X=e.entanglements,J=s&V;J>0;){var ae=Xo(J),He=1<<ae;s|=X[ae],J&=~He}return s}function um(e,t){for(var a=e.eventTimes,s=nn;t>0;){var c=Xo(t),p=1<<c,g=a[c];g>s&&(s=g),t&=~p}return s}function Lf(e,t){switch(e){case ct:case Ta:case mi:return t+250;case zs:case fn:case $s:case Us:case Ai:case Jr:case Ps:case Xu:case Zu:case yf:case gf:case Ef:case Sf:case Cf:case bf:case wf:case xf:case js:case Tf:return t+5e3;case Xa:case Rf:case Ju:case kf:case _f:return nn;case Hl:case Fl:case Ko:case ei:return nn;default:return v("Should have found matching lanes. This is a bug in React."),nn}}function p1(e,t){for(var a=e.pendingLanes,s=e.suspendedLanes,c=e.pingedLanes,p=e.expirationTimes,g=a;g>0;){var C=Xo(g),w=1<<C,N=p[C];N===nn?((w&s)===le||(w&c)!==le)&&(p[C]=Lf(w,t)):N<=t&&(e.expiredLanes|=w),g&=~w}}function h1(e){return Vl(e.pendingLanes)}function Mp(e){var t=e.pendingLanes&~ei;return t!==le?t:t&ei?ei:le}function Bl(e){return(e&ct)!==le}function tc(e){return(e&Of)!==le}function Mf(e){return(e&Hs)===e}function v1(e){var t=ct|mi|fn;return(e&t)===le}function cm(e){return(e&Qo)===e}function nc(e,t){var a=Ta|mi|zs|fn;return(t&a)!==le}function fm(e,t){return(t&e.expiredLanes)!==le}function Ap(e){return(e&Qo)!==le}function zp(){var e=Nf;return Nf<<=1,(Nf&Qo)===le&&(Nf=Us),e}function m1(){var e=Df;return Df<<=1,(Df&Hs)===le&&(Df=Xa),e}function zn(e){return e&-e}function Hn(e){return zn(e)}function Xo(e){return 31-vf(e)}function Af(e){return Xo(e)}function ti(e,t){return(e&t)!==le}function Fs(e,t){return(e&t)===t}function St(e,t){return e|t}function Il(e,t){return e&~t}function $p(e,t){return e&t}function dm(e){return e}function pm(e,t){return e!==_t&&e<t?e:t}function zf(e){for(var t=[],a=0;a<cn;a++)t.push(e);return t}function Vs(e,t,a){e.pendingLanes|=t,t!==Ko&&(e.suspendedLanes=le,e.pingedLanes=le);var s=e.eventTimes,c=Af(t);s[c]=a}function Up(e,t){e.suspendedLanes|=t,e.pingedLanes&=~t;for(var a=e.expirationTimes,s=t;s>0;){var c=Xo(s),p=1<<c;a[c]=nn,s&=~p}}function Pp(e,t,a){e.pingedLanes|=e.suspendedLanes&t}function jp(e,t){var a=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=le,e.pingedLanes=le,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t;for(var s=e.entanglements,c=e.eventTimes,p=e.expirationTimes,g=a;g>0;){var C=Xo(g),w=1<<C;s[C]=le,c[C]=nn,p[C]=nn,g&=~w}}function Yl(e,t){for(var a=e.entangledLanes|=t,s=e.entanglements,c=a;c;){var p=Xo(c),g=1<<p;g&t|s[p]&t&&(s[p]|=t),c&=~g}}function y1(e,t){var a=zn(t),s;switch(a){case mi:s=Ta;break;case fn:s=zs;break;case Us:case Ai:case Jr:case Ps:case Xu:case Zu:case yf:case gf:case Ef:case Sf:case Cf:case bf:case wf:case xf:case js:case Tf:case Xa:case Rf:case Ju:case kf:case _f:s=$s;break;case Ko:s=Fl;break;default:s=_t;break}return(s&(e.suspendedLanes|t))!==_t?_t:s}function Hp(e,t,a){if(or)for(var s=e.pendingUpdatersLaneMap;a>0;){var c=Af(a),p=1<<c,g=s[c];g.add(t),a&=~p}}function $f(e,t){if(or)for(var a=e.pendingUpdatersLaneMap,s=e.memoizedUpdaters;t>0;){var c=Af(t),p=1<<c,g=a[c];g.size>0&&(g.forEach(function(C){var w=C.alternate;(w===null||!s.has(w))&&s.add(C)}),g.clear()),t&=~p}}function Fp(e,t){return null}var Er=ct,sr=mi,Za=fn,rc=Ko,Bs=_t;function zi(){return Bs}function Fn(e){Bs=e}function ic(e,t){var a=Bs;try{return Bs=e,t()}finally{Bs=a}}function Sr(e,t){return e!==0&&e<t?e:t}function g1(e,t){return e===0||e>t?e:t}function Vp(e,t){return e!==0&&e<t}function ac(e){var t=zn(e);return Vp(Er,t)?Vp(sr,t)?tc(t)?Za:rc:sr:Er}function Vn(e){var t=e.current.memoizedState;return t.isDehydrated}var hm;function Ve(e){hm=e}function Wl(e){hm(e)}var oc;function vm(e){oc=e}var mm;function sc(e){mm=e}var lc;function Bp(e){lc=e}var Ip;function ym(e){Ip=e}var Uf=!1,ql=[],Ra=null,vn=null,Kn=null,$i=new Map,Gl=new Map,Ja=[],ua=["mousedown","mouseup","touchcancel","touchend","touchstart","auxclick","dblclick","pointercancel","pointerdown","pointerup","dragend","dragstart","drop","compositionend","compositionstart","keydown","keypress","keyup","input","textInput","copy","cut","paste","click","change","contextmenu","reset","submit"];function gm(e){return ua.indexOf(e)>-1}function ka(e,t,a,s,c){return{blockedOn:e,domEventName:t,eventSystemFlags:a,nativeEvent:c,targetContainers:[s]}}function Em(e,t){switch(e){case"focusin":case"focusout":Ra=null;break;case"dragenter":case"dragleave":vn=null;break;case"mouseover":case"mouseout":Kn=null;break;case"pointerover":case"pointerout":{var a=t.pointerId;$i.delete(a);break}case"gotpointercapture":case"lostpointercapture":{var s=t.pointerId;Gl.delete(s);break}}}function Ql(e,t,a,s,c,p){if(e===null||e.nativeEvent!==p){var g=ka(t,a,s,c,p);if(t!==null){var C=ou(t);C!==null&&oc(C)}return g}e.eventSystemFlags|=s;var w=e.targetContainers;return c!==null&&w.indexOf(c)===-1&&w.push(c),e}function Sm(e,t,a,s,c){switch(t){case"focusin":{var p=c;return Ra=Ql(Ra,e,t,a,s,p),!0}case"dragenter":{var g=c;return vn=Ql(vn,e,t,a,s,g),!0}case"mouseover":{var C=c;return Kn=Ql(Kn,e,t,a,s,C),!0}case"pointerover":{var w=c,N=w.pointerId;return $i.set(N,Ql($i.get(N)||null,e,t,a,s,w)),!0}case"gotpointercapture":{var D=c,I=D.pointerId;return Gl.set(I,Ql(Gl.get(I)||null,e,t,a,s,D)),!0}}return!1}function Yp(e){var t=yc(e.target);if(t!==null){var a=di(t);if(a!==null){var s=a.tag;if(s===W){var c=Sp(a);if(c!==null){e.blockedOn=c,Ip(e.priority,function(){mm(a)});return}}else if(s===k){var p=a.stateNode;if(Vn(p)){e.blockedOn=af(a);return}}}}e.blockedOn=null}function Cm(e){for(var t=lc(),a={blockedOn:null,target:e,priority:t},s=0;s<Ja.length&&Vp(t,Ja[s].priority);s++);Ja.splice(s,0,a),s===0&&Yp(a)}function Pf(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;t.length>0;){var a=t[0],s=Is(e.domEventName,e.eventSystemFlags,a,e.nativeEvent);if(s===null){var c=e.nativeEvent,p=new c.constructor(c.type,c);Fu(p),c.target.dispatchEvent(p),l1()}else{var g=ou(s);return g!==null&&oc(g),e.blockedOn=s,!1}t.shift()}return!0}function uc(e,t,a){Pf(e)&&a.delete(t)}function Wp(){Uf=!1,Ra!==null&&Pf(Ra)&&(Ra=null),vn!==null&&Pf(vn)&&(vn=null),Kn!==null&&Pf(Kn)&&(Kn=null),$i.forEach(uc),Gl.forEach(uc)}function Cr(e,t){e.blockedOn===t&&(e.blockedOn=null,Uf||(Uf=!0,i.unstable_scheduleCallback(i.unstable_NormalPriority,Wp)))}function Tt(e){if(ql.length>0){Cr(ql[0],e);for(var t=1;t<ql.length;t++){var a=ql[t];a.blockedOn===e&&(a.blockedOn=null)}}Ra!==null&&Cr(Ra,e),vn!==null&&Cr(vn,e),Kn!==null&&Cr(Kn,e);var s=function(C){return Cr(C,e)};$i.forEach(s),Gl.forEach(s);for(var c=0;c<Ja.length;c++){var p=Ja[c];p.blockedOn===e&&(p.blockedOn=null)}for(;Ja.length>0;){var g=Ja[0];if(g.blockedOn!==null)break;Yp(g),g.blockedOn===null&&Ja.shift()}}var Sn=l.ReactCurrentBatchConfig,Tn=!0;function Xn(e){Tn=!!e}function yi(){return Tn}function Kl(e,t,a){var s=_r(t),c;switch(s){case Er:c=Bn;break;case sr:c=cc;break;case Za:default:c=eo;break}return c.bind(null,t,a,e)}function Bn(e,t,a,s){var c=zi(),p=Sn.transition;Sn.transition=null;try{Fn(Er),eo(e,t,a,s)}finally{Fn(c),Sn.transition=p}}function cc(e,t,a,s){var c=zi(),p=Sn.transition;Sn.transition=null;try{Fn(sr),eo(e,t,a,s)}finally{Fn(c),Sn.transition=p}}function eo(e,t,a,s){Tn&&jf(e,t,a,s)}function jf(e,t,a,s){var c=Is(e,t,a,s);if(c===null){P1(e,t,s,Xl,a),Em(e,s);return}if(Sm(c,e,t,a,s)){s.stopPropagation();return}if(Em(e,s),t&Rs&&gm(e)){for(;c!==null;){var p=ou(c);p!==null&&Wl(p);var g=Is(e,t,a,s);if(g===null&&P1(e,t,s,Xl,a),g===c)break;c=g}c!==null&&s.stopPropagation();return}P1(e,t,s,null,a)}var Xl=null;function Is(e,t,a,s){Xl=null;var c=Jc(s),p=yc(c);if(p!==null){var g=di(p);if(g===null)p=null;else{var C=g.tag;if(C===W){var w=Sp(g);if(w!==null)return w;p=null}else if(C===k){var N=g.stateNode;if(Vn(N))return af(g);p=null}else g!==p&&(p=null)}}return Xl=p,null}function _r(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return Er;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return sr;case"message":{var t=wp();switch(t){case uf:return Er;case hi:return sr;case xa:case cf:return Za;case Bo:return rc;default:return Za}}default:return Za}}function qp(e,t,a){return e.addEventListener(t,a,!1),a}function Zl(e,t,a){return e.addEventListener(t,a,!0),a}function to(e,t,a,s){return e.addEventListener(t,a,{capture:!0,passive:s}),a}function Hf(e,t,a,s){return e.addEventListener(t,a,{passive:s}),a}var Ys=null,_a=null,Zo=null;function Jo(e){return Ys=e,_a=Vf(),!0}function Ff(){Ys=null,_a=null,Zo=null}function Jl(){if(Zo)return Zo;var e,t=_a,a=t.length,s,c=Vf(),p=c.length;for(e=0;e<a&&t[e]===c[e];e++);var g=a-e;for(s=1;s<=g&&t[a-s]===c[p-s];s++);var C=s>1?1-s:void 0;return Zo=c.slice(e,C),Zo}function Vf(){return"value"in Ys?Ys.value:Ys.textContent}function Ws(e){var t,a=e.keyCode;return"charCode"in e?(t=e.charCode,t===0&&a===13&&(t=13)):t=a,t===10&&(t=13),t>=32||t===13?t:0}function qs(){return!0}function br(){return!1}function $n(e){function t(a,s,c,p,g){this._reactName=a,this._targetInst=c,this.type=s,this.nativeEvent=p,this.target=g,this.currentTarget=null;for(var C in e)if(e.hasOwnProperty(C)){var w=e[C];w?this[C]=w(p):this[C]=p[C]}var N=p.defaultPrevented!=null?p.defaultPrevented:p.returnValue===!1;return N?this.isDefaultPrevented=qs:this.isDefaultPrevented=br,this.isPropagationStopped=br,this}return bt(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var a=this.nativeEvent;a&&(a.preventDefault?a.preventDefault():typeof a.returnValue!="unknown"&&(a.returnValue=!1),this.isDefaultPrevented=qs)},stopPropagation:function(){var a=this.nativeEvent;a&&(a.stopPropagation?a.stopPropagation():typeof a.cancelBubble!="unknown"&&(a.cancelBubble=!0),this.isPropagationStopped=qs)},persist:function(){},isPersistent:qs}),t}var wr={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},xr=$n(wr),eu=bt({},wr,{view:0,detail:0}),Gp=$n(eu),fc,Qp,Ui;function bm(e){e!==Ui&&(Ui&&e.type==="mousemove"?(fc=e.screenX-Ui.screenX,Qp=e.screenY-Ui.screenY):(fc=0,Qp=0),Ui=e)}var tu=bt({},eu,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Yf,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(bm(e),fc)},movementY:function(e){return"movementY"in e?e.movementY:Qp}}),es=$n(tu),Kp=bt({},tu,{dataTransfer:0}),Gs=$n(Kp),wm=bt({},eu,{relatedTarget:0}),Bf=$n(wm),Xp=bt({},wr,{animationName:0,elapsedTime:0,pseudoElement:0}),If=$n(Xp),E1=bt({},wr,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),S1=$n(E1),xm=bt({},wr,{data:0}),Zp=$n(xm),Qs=Zp,C1={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},nu={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"};function Tm(e){if(e.key){var t=C1[e.key]||e.key;if(t!=="Unidentified")return t}if(e.type==="keypress"){var a=Ws(e);return a===13?"Enter":String.fromCharCode(a)}return e.type==="keydown"||e.type==="keyup"?nu[e.keyCode]||"Unidentified":""}var Rn={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function b1(e){var t=this,a=t.nativeEvent;if(a.getModifierState)return a.getModifierState(e);var s=Rn[e];return s?!!a[s]:!1}function Yf(e){return b1}var w1=bt({},eu,{key:Tm,code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Yf,charCode:function(e){return e.type==="keypress"?Ws(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Ws(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),x1=$n(w1),Rm=bt({},tu,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Jp=$n(Rm),T1=bt({},eu,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Yf}),Pi=$n(T1),eh=bt({},wr,{propertyName:0,elapsedTime:0,pseudoElement:0}),R1=$n(eh),ts=bt({},tu,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Wf=$n(ts),Ks=[9,13,27,32],dc=229,pc=zt&&"CompositionEvent"in window,Xs=null;zt&&"documentMode"in document&&(Xs=document.documentMode);var k1=zt&&"TextEvent"in window&&!Xs,qf=zt&&(!pc||Xs&&Xs>8&&Xs<=11),km=32,th=String.fromCharCode(km);function _m(){Bt("onBeforeInput",["compositionend","keypress","textInput","paste"]),Bt("onCompositionEnd",["compositionend","focusout","keydown","keypress","keyup","mousedown"]),Bt("onCompositionStart",["compositionstart","focusout","keydown","keypress","keyup","mousedown"]),Bt("onCompositionUpdate",["compositionupdate","focusout","keydown","keypress","keyup","mousedown"])}var hc=!1;function Gf(e){return(e.ctrlKey||e.altKey||e.metaKey)&&!(e.ctrlKey&&e.altKey)}function Om(e){switch(e){case"compositionstart":return"onCompositionStart";case"compositionend":return"onCompositionEnd";case"compositionupdate":return"onCompositionUpdate"}}function nh(e,t){return e==="keydown"&&t.keyCode===dc}function Nm(e,t){switch(e){case"keyup":return Ks.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==dc;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function rh(e){var t=e.detail;return typeof t=="object"&&"data"in t?t.data:null}function Qf(e){return e.locale==="ko"}var no=!1;function ih(e,t,a,s,c){var p,g;if(pc?p=Om(t):no?Nm(t,s)&&(p="onCompositionEnd"):nh(t,s)&&(p="onCompositionStart"),!p)return null;qf&&!Qf(s)&&(!no&&p==="onCompositionStart"?no=Jo(c):p==="onCompositionEnd"&&no&&(g=Jl()));var C=zm(a,p);if(C.length>0){var w=new Zp(p,t,null,s,c);if(e.push({event:w,listeners:C}),g)w.data=g;else{var N=rh(s);N!==null&&(w.data=N)}}}function Kf(e,t){switch(e){case"compositionend":return rh(t);case"keypress":var a=t.which;return a!==km?null:(hc=!0,th);case"textInput":var s=t.data;return s===th&&hc?null:s;default:return null}}function Dm(e,t){if(no){if(e==="compositionend"||!pc&&Nm(e,t)){var a=Jl();return Ff(),no=!1,a}return null}switch(e){case"paste":return null;case"keypress":if(!Gf(t)){if(t.char&&t.char.length>1)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return qf&&!Qf(t)?null:t.data;default:return null}}function _1(e,t,a,s,c){var p;if(k1?p=Kf(t,s):p=Dm(t,s),!p)return null;var g=zm(a,"onBeforeInput");if(g.length>0){var C=new Qs("onBeforeInput","beforeinput",null,s,c);e.push({event:C,listeners:g}),C.data=p}}function Xf(e,t,a,s,c,p,g){ih(e,t,a,s,c),_1(e,t,a,s,c)}var O1={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function ru(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!O1[e.type]:t==="textarea"}/**
|
|
151
|
-
* Checks if an event is supported in the current execution environment.
|
|
152
|
-
*
|
|
153
|
-
* NOTE: This will not work correctly for non-generic events such as `change`,
|
|
154
|
-
* `reset`, `load`, `error`, and `select`.
|
|
155
|
-
*
|
|
156
|
-
* Borrows from Modernizr.
|
|
157
|
-
*
|
|
158
|
-
* @param {string} eventNameSuffix Event name, e.g. "click".
|
|
159
|
-
* @return {boolean} True if the event is supported.
|
|
160
|
-
* @internal
|
|
161
|
-
* @license Modernizr 3.0.0pre (Custom Build) | MIT
|
|
162
|
-
*/function N1(e){if(!zt)return!1;var t="on"+e,a=t in document;if(!a){var s=document.createElement("div");s.setAttribute(t,"return;"),a=typeof s[t]=="function"}return a}function Zf(){Bt("onChange",["change","click","focusin","focusout","input","keydown","keyup","selectionchange"])}function n(e,t,a,s){ef(s);var c=zm(t,"onChange");if(c.length>0){var p=new xr("onChange","change",null,a,s);e.push({event:p,listeners:c})}}var r=null,u=null;function d(e){var t=e.nodeName&&e.nodeName.toLowerCase();return t==="select"||t==="input"&&e.type==="file"}function y(e){var t=[];n(t,u,e,Jc(e)),dp(E,t)}function E(e){Sb(e,0)}function _(e){var t=id(e);if(Rl(t))return e}function A(e,t){if(e==="change")return t}var j=!1;zt&&(j=N1("input")&&(!document.documentMode||document.documentMode>9));function ee(e,t){r=e,u=t,r.attachEvent("onpropertychange",Ee)}function ge(){r&&(r.detachEvent("onpropertychange",Ee),r=null,u=null)}function Ee(e){e.propertyName==="value"&&_(u)&&y(e)}function me(e,t,a){e==="focusin"?(ge(),ee(t,a)):e==="focusout"&&ge()}function Pe(e,t){if(e==="selectionchange"||e==="keyup"||e==="keydown")return _(u)}function Ie(e){var t=e.nodeName;return t&&t.toLowerCase()==="input"&&(e.type==="checkbox"||e.type==="radio")}function Qe(e,t){if(e==="click")return _(t)}function Dn(e,t){if(e==="input"||e==="change")return _(t)}function q(e){var t=e._wrapperState;!t||!t.controlled||e.type!=="number"||ot(e,"number",e.value)}function B(e,t,a,s,c,p,g){var C=a?id(a):window,w,N;if(d(C)?w=A:ru(C)?j?w=Dn:(w=Pe,N=me):Ie(C)&&(w=Qe),w){var D=w(t,a);if(D){n(e,D,s,c);return}}N&&N(t,C,a),t==="focusout"&&q(C)}function K(){Ne("onMouseEnter",["mouseout","mouseover"]),Ne("onMouseLeave",["mouseout","mouseover"]),Ne("onPointerEnter",["pointerout","pointerover"]),Ne("onPointerLeave",["pointerout","pointerover"])}function Re(e,t,a,s,c,p,g){var C=t==="mouseover"||t==="pointerover",w=t==="mouseout"||t==="pointerout";if(C&&!Gv(s)){var N=s.relatedTarget||s.fromElement;if(N&&(yc(N)||gh(N)))return}if(!(!w&&!C)){var D;if(c.window===c)D=c;else{var I=c.ownerDocument;I?D=I.defaultView||I.parentWindow:D=window}var V,X;if(w){var J=s.relatedTarget||s.toElement;if(V=a,X=J?yc(J):null,X!==null){var ae=di(X);(X!==ae||X.tag!==M&&X.tag!==P)&&(X=null)}}else V=null,X=a;if(V!==X){var He=es,at="onMouseLeave",Je="onMouseEnter",Nt="mouse";(t==="pointerout"||t==="pointerover")&&(He=Jp,at="onPointerLeave",Je="onPointerEnter",Nt="pointer");var Rt=V==null?D:id(V),G=X==null?D:id(X),oe=new He(at,Nt+"leave",V,s,c);oe.target=Rt,oe.relatedTarget=G;var Q=null,Ce=yc(c);if(Ce===a){var Fe=new He(Je,Nt+"enter",X,s,c);Fe.target=G,Fe.relatedTarget=Rt,Q=Fe}YR(e,oe,Q,V,X)}}}function Ze(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Ye=typeof Object.is=="function"?Object.is:Ze;function nt(e,t){if(Ye(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var a=Object.keys(e),s=Object.keys(t);if(a.length!==s.length)return!1;for(var c=0;c<a.length;c++){var p=a[c];if(!_n.call(t,p)||!Ye(e[p],t[p]))return!1}return!0}function ht(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Zn(e){for(;e;){if(e.nextSibling)return e.nextSibling;e=e.parentNode}}function At(e,t){for(var a=ht(e),s=0,c=0;a;){if(a.nodeType===Ba){if(c=s+a.textContent.length,s<=t&&c>=t)return{node:a,offset:t-s};s=c}a=ht(Zn(a))}}function ns(e){var t=e.ownerDocument,a=t&&t.defaultView||window,s=a.getSelection&&a.getSelection();if(!s||s.rangeCount===0)return null;var c=s.anchorNode,p=s.anchorOffset,g=s.focusNode,C=s.focusOffset;try{c.nodeType,g.nodeType}catch{return null}return D1(e,c,p,g,C)}function D1(e,t,a,s,c){var p=0,g=-1,C=-1,w=0,N=0,D=e,I=null;e:for(;;){for(var V=null;D===t&&(a===0||D.nodeType===Ba)&&(g=p+a),D===s&&(c===0||D.nodeType===Ba)&&(C=p+c),D.nodeType===Ba&&(p+=D.nodeValue.length),(V=D.firstChild)!==null;)I=D,D=V;for(;;){if(D===e)break e;if(I===t&&++w===a&&(g=p),I===s&&++N===c&&(C=p),(V=D.nextSibling)!==null)break;D=I,I=D.parentNode}D=V}return g===-1||C===-1?null:{start:g,end:C}}function RR(e,t){var a=e.ownerDocument||document,s=a&&a.defaultView||window;if(s.getSelection){var c=s.getSelection(),p=e.textContent.length,g=Math.min(t.start,p),C=t.end===void 0?g:Math.min(t.end,p);if(!c.extend&&g>C){var w=C;C=g,g=w}var N=At(e,g),D=At(e,C);if(N&&D){if(c.rangeCount===1&&c.anchorNode===N.node&&c.anchorOffset===N.offset&&c.focusNode===D.node&&c.focusOffset===D.offset)return;var I=a.createRange();I.setStart(N.node,N.offset),c.removeAllRanges(),g>C?(c.addRange(I),c.extend(D.node,D.offset)):(I.setEnd(D.node,D.offset),c.addRange(I))}}}function lb(e){return e&&e.nodeType===Ba}function ub(e,t){return!e||!t?!1:e===t?!0:lb(e)?!1:lb(t)?ub(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1}function kR(e){return e&&e.ownerDocument&&ub(e.ownerDocument.documentElement,e)}function _R(e){try{return typeof e.contentWindow.location.href=="string"}catch{return!1}}function cb(){for(var e=window,t=zo();t instanceof e.HTMLIFrameElement;){if(_R(t))e=t.contentWindow;else return t;t=zo(e.document)}return t}function L1(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function OR(){var e=cb();return{focusedElem:e,selectionRange:L1(e)?DR(e):null}}function NR(e){var t=cb(),a=e.focusedElem,s=e.selectionRange;if(t!==a&&kR(a)){s!==null&&L1(a)&&LR(a,s);for(var c=[],p=a;p=p.parentNode;)p.nodeType===qr&&c.push({element:p,left:p.scrollLeft,top:p.scrollTop});typeof a.focus=="function"&&a.focus();for(var g=0;g<c.length;g++){var C=c[g];C.element.scrollLeft=C.left,C.element.scrollTop=C.top}}}function DR(e){var t;return"selectionStart"in e?t={start:e.selectionStart,end:e.selectionEnd}:t=ns(e),t||{start:0,end:0}}function LR(e,t){var a=t.start,s=t.end;s===void 0&&(s=a),"selectionStart"in e?(e.selectionStart=a,e.selectionEnd=Math.min(s,e.value.length)):RR(e,t)}var MR=zt&&"documentMode"in document&&document.documentMode<=11;function AR(){Bt("onSelect",["focusout","contextmenu","dragend","focusin","keydown","keyup","mousedown","mouseup","selectionchange"])}var Jf=null,M1=null,ah=null,A1=!1;function zR(e){if("selectionStart"in e&&L1(e))return{start:e.selectionStart,end:e.selectionEnd};var t=e.ownerDocument&&e.ownerDocument.defaultView||window,a=t.getSelection();return{anchorNode:a.anchorNode,anchorOffset:a.anchorOffset,focusNode:a.focusNode,focusOffset:a.focusOffset}}function $R(e){return e.window===e?e.document:e.nodeType===aa?e:e.ownerDocument}function fb(e,t,a){var s=$R(a);if(!(A1||Jf==null||Jf!==zo(s))){var c=zR(Jf);if(!ah||!nt(ah,c)){ah=c;var p=zm(M1,"onSelect");if(p.length>0){var g=new xr("onSelect","select",null,t,a);e.push({event:g,listeners:p}),g.target=Jf}}}}function UR(e,t,a,s,c,p,g){var C=a?id(a):window;switch(t){case"focusin":(ru(C)||C.contentEditable==="true")&&(Jf=C,M1=a,ah=null);break;case"focusout":Jf=null,M1=null,ah=null;break;case"mousedown":A1=!0;break;case"contextmenu":case"mouseup":case"dragend":A1=!1,fb(e,s,c);break;case"selectionchange":if(MR)break;case"keydown":case"keyup":fb(e,s,c)}}function Lm(e,t){var a={};return a[e.toLowerCase()]=t.toLowerCase(),a["Webkit"+e]="webkit"+t,a["Moz"+e]="moz"+t,a}var ed={animationend:Lm("Animation","AnimationEnd"),animationiteration:Lm("Animation","AnimationIteration"),animationstart:Lm("Animation","AnimationStart"),transitionend:Lm("Transition","TransitionEnd")},z1={},db={};zt&&(db=document.createElement("div").style,"AnimationEvent"in window||(delete ed.animationend.animation,delete ed.animationiteration.animation,delete ed.animationstart.animation),"TransitionEvent"in window||delete ed.transitionend.transition);function Mm(e){if(z1[e])return z1[e];if(!ed[e])return e;var t=ed[e];for(var a in t)if(t.hasOwnProperty(a)&&a in db)return z1[e]=t[a];return e}var pb=Mm("animationend"),hb=Mm("animationiteration"),vb=Mm("animationstart"),mb=Mm("transitionend"),yb=new Map,gb=["abort","auxClick","cancel","canPlay","canPlayThrough","click","close","contextMenu","copy","cut","drag","dragEnd","dragEnter","dragExit","dragLeave","dragOver","dragStart","drop","durationChange","emptied","encrypted","ended","error","gotPointerCapture","input","invalid","keyDown","keyPress","keyUp","load","loadedData","loadedMetadata","loadStart","lostPointerCapture","mouseDown","mouseMove","mouseOut","mouseOver","mouseUp","paste","pause","play","playing","pointerCancel","pointerDown","pointerMove","pointerOut","pointerOver","pointerUp","progress","rateChange","reset","resize","seeked","seeking","stalled","submit","suspend","timeUpdate","touchCancel","touchEnd","touchStart","volumeChange","scroll","toggle","touchMove","waiting","wheel"];function iu(e,t){yb.set(e,t),Bt(t,[e])}function PR(){for(var e=0;e<gb.length;e++){var t=gb[e],a=t.toLowerCase(),s=t[0].toUpperCase()+t.slice(1);iu(a,"on"+s)}iu(pb,"onAnimationEnd"),iu(hb,"onAnimationIteration"),iu(vb,"onAnimationStart"),iu("dblclick","onDoubleClick"),iu("focusin","onFocus"),iu("focusout","onBlur"),iu(mb,"onTransitionEnd")}function jR(e,t,a,s,c,p,g){var C=yb.get(t);if(C!==void 0){var w=xr,N=t;switch(t){case"keypress":if(Ws(s)===0)return;case"keydown":case"keyup":w=x1;break;case"focusin":N="focus",w=Bf;break;case"focusout":N="blur",w=Bf;break;case"beforeblur":case"afterblur":w=Bf;break;case"click":if(s.button===2)return;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":w=es;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":w=Gs;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":w=Pi;break;case pb:case hb:case vb:w=If;break;case mb:w=R1;break;case"scroll":w=Gp;break;case"wheel":w=Wf;break;case"copy":case"cut":case"paste":w=S1;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":w=Jp;break}var D=(p&Rs)!==0;{var I=!D&&t==="scroll",V=BR(a,C,s.type,D,I);if(V.length>0){var X=new w(C,N,null,s,c);e.push({event:X,listeners:V})}}}}PR(),K(),Zf(),AR(),_m();function HR(e,t,a,s,c,p,g){jR(e,t,a,s,c,p);var C=(p&s1)===0;C&&(Re(e,t,a,s,c),B(e,t,a,s,c),UR(e,t,a,s,c),Xf(e,t,a,s,c))}var oh=["abort","canplay","canplaythrough","durationchange","emptied","encrypted","ended","error","loadeddata","loadedmetadata","loadstart","pause","play","playing","progress","ratechange","resize","seeked","seeking","stalled","suspend","timeupdate","volumechange","waiting"],$1=new Set(["cancel","close","invalid","load","scroll","toggle"].concat(oh));function Eb(e,t,a){var s=e.type||"unknown-event";e.currentTarget=a,qa(s,t,void 0,e),e.currentTarget=null}function FR(e,t,a){var s;if(a)for(var c=t.length-1;c>=0;c--){var p=t[c],g=p.instance,C=p.currentTarget,w=p.listener;if(g!==s&&e.isPropagationStopped())return;Eb(e,w,C),s=g}else for(var N=0;N<t.length;N++){var D=t[N],I=D.instance,V=D.currentTarget,X=D.listener;if(I!==s&&e.isPropagationStopped())return;Eb(e,X,V),s=I}}function Sb(e,t){for(var a=(t&Rs)!==0,s=0;s<e.length;s++){var c=e[s],p=c.event,g=c.listeners;FR(p,g,a)}mp()}function VR(e,t,a,s,c){var p=Jc(a),g=[];HR(g,e,s,a,p,t),Sb(g,t)}function Cn(e,t){$1.has(e)||v('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',e);var a=!1,s=g5(t),c=WR(e,a);s.has(c)||(Cb(t,e,ju,a),s.add(c))}function U1(e,t,a){$1.has(e)&&!t&&v('Did not expect a listenToNativeEvent() call for "%s" in the bubble phase. This is a bug in React. Please file an issue.',e);var s=0;t&&(s|=Rs),Cb(a,e,s,t)}var Am="_reactListening"+Math.random().toString(36).slice(2);function sh(e){if(!e[Am]){e[Am]=!0,De.forEach(function(a){a!=="selectionchange"&&($1.has(a)||U1(a,!1,e),U1(a,!0,e))});var t=e.nodeType===aa?e:e.ownerDocument;t!==null&&(t[Am]||(t[Am]=!0,U1("selectionchange",!1,t)))}}function Cb(e,t,a,s,c){var p=Kl(e,t,a),g=void 0;Iu&&(t==="touchstart"||t==="touchmove"||t==="wheel")&&(g=!0),e=e,s?g!==void 0?to(e,t,p,g):Zl(e,t,p):g!==void 0?Hf(e,t,p,g):qp(e,t,p)}function bb(e,t){return e===t||e.nodeType===An&&e.parentNode===t}function P1(e,t,a,s,c){var p=s;if(!(t&Ya)&&!(t&ju)){var g=c;if(s!==null){var C=s;e:for(;;){if(C===null)return;var w=C.tag;if(w===k||w===L){var N=C.stateNode.containerInfo;if(bb(N,g))break;if(w===L)for(var D=C.return;D!==null;){var I=D.tag;if(I===k||I===L){var V=D.stateNode.containerInfo;if(bb(V,g))return}D=D.return}for(;N!==null;){var X=yc(N);if(X===null)return;var J=X.tag;if(J===M||J===P){C=p=X;continue e}N=N.parentNode}}C=C.return}}}dp(function(){return VR(e,t,a,p)})}function lh(e,t,a){return{instance:e,listener:t,currentTarget:a}}function BR(e,t,a,s,c,p){for(var g=t!==null?t+"Capture":null,C=s?g:t,w=[],N=e,D=null;N!==null;){var I=N,V=I.stateNode,X=I.tag;if(X===M&&V!==null&&(D=V,C!==null)){var J=_s(N,C);J!=null&&w.push(lh(N,J,D))}if(c)break;N=N.return}return w}function zm(e,t){for(var a=t+"Capture",s=[],c=e;c!==null;){var p=c,g=p.stateNode,C=p.tag;if(C===M&&g!==null){var w=g,N=_s(c,a);N!=null&&s.unshift(lh(c,N,w));var D=_s(c,t);D!=null&&s.push(lh(c,D,w))}c=c.return}return s}function td(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==M);return e||null}function IR(e,t){for(var a=e,s=t,c=0,p=a;p;p=td(p))c++;for(var g=0,C=s;C;C=td(C))g++;for(;c-g>0;)a=td(a),c--;for(;g-c>0;)s=td(s),g--;for(var w=c;w--;){if(a===s||s!==null&&a===s.alternate)return a;a=td(a),s=td(s)}return null}function wb(e,t,a,s,c){for(var p=t._reactName,g=[],C=a;C!==null&&C!==s;){var w=C,N=w.alternate,D=w.stateNode,I=w.tag;if(N!==null&&N===s)break;if(I===M&&D!==null){var V=D;if(c){var X=_s(C,p);X!=null&&g.unshift(lh(C,X,V))}else if(!c){var J=_s(C,p);J!=null&&g.push(lh(C,J,V))}}C=C.return}g.length!==0&&e.push({event:t,listeners:g})}function YR(e,t,a,s,c){var p=s&&c?IR(s,c):null;s!==null&&wb(e,t,s,p,!1),c!==null&&a!==null&&wb(e,a,c,p,!0)}function WR(e,t){return e+"__"+(t?"capture":"bubble")}var ji=!1,uh="dangerouslySetInnerHTML",$m="suppressContentEditableWarning",au="suppressHydrationWarning",xb="autoFocus",vc="children",mc="style",Um="__html",j1,Pm,ch,Tb,jm,Rb,kb;j1={dialog:!0,webview:!0},Pm=function(e,t){Zc(e,t),sp(e,t),qv(e,t,{registrationNameDependencies:Ke,possibleRegistrationNames:yt})},Rb=zt&&!document.documentMode,ch=function(e,t,a){if(!ji){var s=Hm(a),c=Hm(t);c!==s&&(ji=!0,v("Prop `%s` did not match. Server: %s Client: %s",e,JSON.stringify(c),JSON.stringify(s)))}},Tb=function(e){if(!ji){ji=!0;var t=[];e.forEach(function(a){t.push(a)}),v("Extra attributes from the server: %s",t)}},jm=function(e,t){t===!1?v("Expected `%s` listener to be a function, instead got `false`.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.",e,e,e):v("Expected `%s` listener to be a function, instead got a value of `%s` type.",e,typeof t)},kb=function(e,t){var a=e.namespaceURI===Va?e.ownerDocument.createElement(e.tagName):e.ownerDocument.createElementNS(e.namespaceURI,e.tagName);return a.innerHTML=t,a.innerHTML};var qR=/\r\n?/g,GR=/\u0000|\uFFFD/g;function Hm(e){ma(e);var t=typeof e=="string"?e:""+e;return t.replace(qR,`
|
|
163
|
-
`).replace(GR,"")}function Fm(e,t,a,s){var c=Hm(t),p=Hm(e);if(p!==c&&(s&&(ji||(ji=!0,v('Text content did not match. Server: "%s" Client: "%s"',p,c))),a&&Oe))throw new Error("Text content does not match server-rendered HTML.")}function _b(e){return e.nodeType===aa?e:e.ownerDocument}function QR(){}function Vm(e){e.onclick=QR}function KR(e,t,a,s,c){for(var p in s)if(s.hasOwnProperty(p)){var g=s[p];if(p===mc)g&&Object.freeze(g),Uv(t,g);else if(p===uh){var C=g?g[Um]:void 0;C!=null&&Rv(t,C)}else if(p===vc)if(typeof g=="string"){var w=e!=="textarea"||g!=="";w&&Gc(t,g)}else typeof g=="number"&&Gc(t,""+g);else p===$m||p===au||p===xb||(Ke.hasOwnProperty(p)?g!=null&&(typeof g!="function"&&jm(p,g),p==="onScroll"&&Cn("scroll",t)):g!=null&&ga(t,p,g,c))}}function XR(e,t,a,s){for(var c=0;c<t.length;c+=2){var p=t[c],g=t[c+1];p===mc?Uv(e,g):p===uh?Rv(e,g):p===vc?Gc(e,g):ga(e,p,g,s)}}function ZR(e,t,a,s){var c,p=_b(a),g,C=s;if(C===Va&&(C=Wc(e)),C===Va){if(c=Ia(e,t),!c&&e!==e.toLowerCase()&&v("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",e),e==="script"){var w=p.createElement("div");w.innerHTML="<script><\/script>";var N=w.firstChild;g=w.removeChild(N)}else if(typeof t.is=="string")g=p.createElement(e,{is:t.is});else if(g=p.createElement(e),e==="select"){var D=g;t.multiple?D.multiple=!0:t.size&&(D.size=t.size)}}else g=p.createElementNS(C,e);return C===Va&&!c&&Object.prototype.toString.call(g)==="[object HTMLUnknownElement]"&&!_n.call(j1,e)&&(j1[e]=!0,v("The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.",e)),g}function JR(e,t){return _b(t).createTextNode(e)}function e4(e,t,a,s){var c=Ia(t,a);Pm(t,a);var p;switch(t){case"dialog":Cn("cancel",e),Cn("close",e),p=a;break;case"iframe":case"object":case"embed":Cn("load",e),p=a;break;case"video":case"audio":for(var g=0;g<oh.length;g++)Cn(oh[g],e);p=a;break;case"source":Cn("error",e),p=a;break;case"img":case"image":case"link":Cn("error",e),Cn("load",e),p=a;break;case"details":Cn("toggle",e),p=a;break;case"input":$(e,a),p=R(e,a),Cn("invalid",e);break;case"option":Yt(e,a),p=a;break;case"select":zu(e,a),p=Au(e,a),Cn("invalid",e);break;case"textarea":wv(e,a),p=Zd(e,a),Cn("invalid",e);break;default:p=a}switch(Kc(t,p),KR(t,e,s,p,c),t){case"input":Ri(e),xe(e,a,!1);break;case"textarea":Ri(e),Tv(e);break;case"option":en(e,a);break;case"select":Kd(e,a);break;default:typeof p.onClick=="function"&&Vm(e);break}}function t4(e,t,a,s,c){Pm(t,s);var p=null,g,C;switch(t){case"input":g=R(e,a),C=R(e,s),p=[];break;case"select":g=Au(e,a),C=Au(e,s),p=[];break;case"textarea":g=Zd(e,a),C=Zd(e,s),p=[];break;default:g=a,C=s,typeof g.onClick!="function"&&typeof C.onClick=="function"&&Vm(e);break}Kc(t,C);var w,N,D=null;for(w in g)if(!(C.hasOwnProperty(w)||!g.hasOwnProperty(w)||g[w]==null))if(w===mc){var I=g[w];for(N in I)I.hasOwnProperty(N)&&(D||(D={}),D[N]="")}else w===uh||w===vc||w===$m||w===au||w===xb||(Ke.hasOwnProperty(w)?p||(p=[]):(p=p||[]).push(w,null));for(w in C){var V=C[w],X=g!=null?g[w]:void 0;if(!(!C.hasOwnProperty(w)||V===X||V==null&&X==null))if(w===mc)if(V&&Object.freeze(V),X){for(N in X)X.hasOwnProperty(N)&&(!V||!V.hasOwnProperty(N))&&(D||(D={}),D[N]="");for(N in V)V.hasOwnProperty(N)&&X[N]!==V[N]&&(D||(D={}),D[N]=V[N])}else D||(p||(p=[]),p.push(w,D)),D=V;else if(w===uh){var J=V?V[Um]:void 0,ae=X?X[Um]:void 0;J!=null&&ae!==J&&(p=p||[]).push(w,J)}else w===vc?(typeof V=="string"||typeof V=="number")&&(p=p||[]).push(w,""+V):w===$m||w===au||(Ke.hasOwnProperty(w)?(V!=null&&(typeof V!="function"&&jm(w,V),w==="onScroll"&&Cn("scroll",e)),!p&&X!==V&&(p=[])):(p=p||[]).push(w,V))}return D&&(Uu(D,C[mc]),(p=p||[]).push(mc,D)),p}function n4(e,t,a,s,c){a==="input"&&c.type==="radio"&&c.name!=null&&Z(e,c);var p=Ia(a,s),g=Ia(a,c);switch(XR(e,t,p,g),a){case"input":re(e,c);break;case"textarea":xv(e,c);break;case"select":Xg(e,c);break}}function r4(e){{var t=e.toLowerCase();return Xc.hasOwnProperty(t)&&Xc[t]||null}}function i4(e,t,a,s,c,p,g){var C,w;switch(C=Ia(t,a),Pm(t,a),t){case"dialog":Cn("cancel",e),Cn("close",e);break;case"iframe":case"object":case"embed":Cn("load",e);break;case"video":case"audio":for(var N=0;N<oh.length;N++)Cn(oh[N],e);break;case"source":Cn("error",e);break;case"img":case"image":case"link":Cn("error",e),Cn("load",e);break;case"details":Cn("toggle",e);break;case"input":$(e,a),Cn("invalid",e);break;case"option":Yt(e,a);break;case"select":zu(e,a),Cn("invalid",e);break;case"textarea":wv(e,a),Cn("invalid",e);break}Kc(t,a);{w=new Set;for(var D=e.attributes,I=0;I<D.length;I++){var V=D[I].name.toLowerCase();switch(V){case"value":break;case"checked":break;case"selected":break;default:w.add(D[I].name)}}}var X=null;for(var J in a)if(a.hasOwnProperty(J)){var ae=a[J];if(J===vc)typeof ae=="string"?e.textContent!==ae&&(a[au]!==!0&&Fm(e.textContent,ae,p,g),X=[vc,ae]):typeof ae=="number"&&e.textContent!==""+ae&&(a[au]!==!0&&Fm(e.textContent,ae,p,g),X=[vc,""+ae]);else if(Ke.hasOwnProperty(J))ae!=null&&(typeof ae!="function"&&jm(J,ae),J==="onScroll"&&Cn("scroll",e));else if(g&&typeof C=="boolean"){var He=void 0,at=C&&ne?null:wi(J);if(a[au]!==!0){if(!(J===$m||J===au||J==="value"||J==="checked"||J==="selected")){if(J===uh){var Je=e.innerHTML,Nt=ae?ae[Um]:void 0;if(Nt!=null){var Rt=kb(e,Nt);Rt!==Je&&ch(J,Je,Rt)}}else if(J===mc){if(w.delete(J),Rb){var G=a1(ae);He=e.getAttribute("style"),G!==He&&ch(J,He,G)}}else if(C&&!ne)w.delete(J.toLowerCase()),He=So(e,J,ae),ae!==He&&ch(J,He,ae);else if(!On(J,at,C)&&!sn(J,ae,at,C)){var oe=!1;if(at!==null)w.delete(at.attributeName),He=Ji(e,J,ae,at);else{var Q=s;if(Q===Va&&(Q=Wc(t)),Q===Va)w.delete(J.toLowerCase());else{var Ce=r4(J);Ce!==null&&Ce!==J&&(oe=!0,w.delete(Ce)),w.delete(J)}He=So(e,J,ae)}var Fe=ne;!Fe&&ae!==He&&!oe&&ch(J,He,ae)}}}}}switch(g&&w.size>0&&a[au]!==!0&&Tb(w),t){case"input":Ri(e),xe(e,a,!0);break;case"textarea":Ri(e),Tv(e);break;case"select":case"option":break;default:typeof a.onClick=="function"&&Vm(e);break}return X}function a4(e,t,a){var s=e.nodeValue!==t;return s}function H1(e,t){{if(ji)return;ji=!0,v("Did not expect server HTML to contain a <%s> in <%s>.",t.nodeName.toLowerCase(),e.nodeName.toLowerCase())}}function F1(e,t){{if(ji)return;ji=!0,v('Did not expect server HTML to contain the text node "%s" in <%s>.',t.nodeValue,e.nodeName.toLowerCase())}}function V1(e,t,a){{if(ji)return;ji=!0,v("Expected server HTML to contain a matching <%s> in <%s>.",t,e.nodeName.toLowerCase())}}function B1(e,t){{if(t===""||ji)return;ji=!0,v('Expected server HTML to contain a matching text node for "%s" in <%s>.',t,e.nodeName.toLowerCase())}}function o4(e,t,a){switch(t){case"input":lt(e,a);return;case"textarea":Jd(e,a);return;case"select":Zg(e,a);return}}var fh=function(){},dh=function(){};{var s4=["address","applet","area","article","aside","base","basefont","bgsound","blockquote","body","br","button","caption","center","col","colgroup","dd","details","dir","div","dl","dt","embed","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","iframe","img","input","isindex","li","link","listing","main","marquee","menu","menuitem","meta","nav","noembed","noframes","noscript","object","ol","p","param","plaintext","pre","script","section","select","source","style","summary","table","tbody","td","template","textarea","tfoot","th","thead","title","tr","track","ul","wbr","xmp"],Ob=["applet","caption","html","table","td","th","marquee","object","template","foreignObject","desc","title"],l4=Ob.concat(["button"]),u4=["dd","dt","li","option","optgroup","p","rp","rt"],Nb={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null};dh=function(e,t){var a=bt({},e||Nb),s={tag:t};return Ob.indexOf(t)!==-1&&(a.aTagInScope=null,a.buttonTagInScope=null,a.nobrTagInScope=null),l4.indexOf(t)!==-1&&(a.pTagInButtonScope=null),s4.indexOf(t)!==-1&&t!=="address"&&t!=="div"&&t!=="p"&&(a.listItemTagAutoclosing=null,a.dlItemTagAutoclosing=null),a.current=s,t==="form"&&(a.formTag=s),t==="a"&&(a.aTagInScope=s),t==="button"&&(a.buttonTagInScope=s),t==="nobr"&&(a.nobrTagInScope=s),t==="p"&&(a.pTagInButtonScope=s),t==="li"&&(a.listItemTagAutoclosing=s),(t==="dd"||t==="dt")&&(a.dlItemTagAutoclosing=s),a};var c4=function(e,t){switch(t){case"select":return e==="option"||e==="optgroup"||e==="#text";case"optgroup":return e==="option"||e==="#text";case"option":return e==="#text";case"tr":return e==="th"||e==="td"||e==="style"||e==="script"||e==="template";case"tbody":case"thead":case"tfoot":return e==="tr"||e==="style"||e==="script"||e==="template";case"colgroup":return e==="col"||e==="template";case"table":return e==="caption"||e==="colgroup"||e==="tbody"||e==="tfoot"||e==="thead"||e==="style"||e==="script"||e==="template";case"head":return e==="base"||e==="basefont"||e==="bgsound"||e==="link"||e==="meta"||e==="title"||e==="noscript"||e==="noframes"||e==="style"||e==="script"||e==="template";case"html":return e==="head"||e==="body"||e==="frameset";case"frameset":return e==="frame";case"#document":return e==="html"}switch(e){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return t!=="h1"&&t!=="h2"&&t!=="h3"&&t!=="h4"&&t!=="h5"&&t!=="h6";case"rp":case"rt":return u4.indexOf(t)===-1;case"body":case"caption":case"col":case"colgroup":case"frameset":case"frame":case"head":case"html":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":return t==null}return!0},f4=function(e,t){switch(e){case"address":case"article":case"aside":case"blockquote":case"center":case"details":case"dialog":case"dir":case"div":case"dl":case"fieldset":case"figcaption":case"figure":case"footer":case"header":case"hgroup":case"main":case"menu":case"nav":case"ol":case"p":case"section":case"summary":case"ul":case"pre":case"listing":case"table":case"hr":case"xmp":case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return t.pTagInButtonScope;case"form":return t.formTag||t.pTagInButtonScope;case"li":return t.listItemTagAutoclosing;case"dd":case"dt":return t.dlItemTagAutoclosing;case"button":return t.buttonTagInScope;case"a":return t.aTagInScope;case"nobr":return t.nobrTagInScope}return null},Db={};fh=function(e,t,a){a=a||Nb;var s=a.current,c=s&&s.tag;t!=null&&(e!=null&&v("validateDOMNesting: when childText is passed, childTag should be null"),e="#text");var p=c4(e,c)?null:s,g=p?null:f4(e,a),C=p||g;if(C){var w=C.tag,N=!!p+"|"+e+"|"+w;if(!Db[N]){Db[N]=!0;var D=e,I="";if(e==="#text"?/\S/.test(t)?D="Text nodes":(D="Whitespace text nodes",I=" Make sure you don't have any extra whitespace between tags on each line of your source code."):D="<"+e+">",p){var V="";w==="table"&&e==="tr"&&(V+=" Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser."),v("validateDOMNesting(...): %s cannot appear as a child of <%s>.%s%s",D,w,I,V)}else v("validateDOMNesting(...): %s cannot appear as a descendant of <%s>.",D,w)}}}}var Bm="suppressHydrationWarning",Im="$",Ym="/$",ph="$?",hh="$!",d4="style",I1=null,Y1=null;function p4(e){var t,a,s=e.nodeType;switch(s){case aa:case xs:{t=s===aa?"#document":"#fragment";var c=e.documentElement;a=c?c.namespaceURI:tp(null,"");break}default:{var p=s===An?e.parentNode:e,g=p.namespaceURI||null;t=p.tagName,a=tp(g,t);break}}{var C=t.toLowerCase(),w=dh(null,C);return{namespace:a,ancestorInfo:w}}}function h4(e,t,a){{var s=e,c=tp(s.namespace,t),p=dh(s.ancestorInfo,t);return{namespace:c,ancestorInfo:p}}}function nL(e){return e}function v4(e){I1=yi(),Y1=OR();var t=null;return Xn(!1),t}function m4(e){NR(Y1),Xn(I1),I1=null,Y1=null}function y4(e,t,a,s,c){var p;{var g=s;if(fh(e,null,g.ancestorInfo),typeof t.children=="string"||typeof t.children=="number"){var C=""+t.children,w=dh(g.ancestorInfo,e);fh(null,C,w)}p=g.namespace}var N=ZR(e,t,a,p);return yh(c,N),J1(N,t),N}function g4(e,t){e.appendChild(t)}function E4(e,t,a,s,c){switch(e4(e,t,a,s),t){case"button":case"input":case"select":case"textarea":return!!a.autoFocus;case"img":return!0;default:return!1}}function S4(e,t,a,s,c,p){{var g=p;if(typeof s.children!=typeof a.children&&(typeof s.children=="string"||typeof s.children=="number")){var C=""+s.children,w=dh(g.ancestorInfo,t);fh(null,C,w)}}return t4(e,t,a,s)}function W1(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}function C4(e,t,a,s){{var c=a;fh(null,e,c.ancestorInfo)}var p=JR(e,t);return yh(s,p),p}function b4(){var e=window.event;return e===void 0?Za:_r(e.type)}var q1=typeof setTimeout=="function"?setTimeout:void 0,w4=typeof clearTimeout=="function"?clearTimeout:void 0,G1=-1,Lb=typeof Promise=="function"?Promise:void 0,x4=typeof queueMicrotask=="function"?queueMicrotask:typeof Lb<"u"?function(e){return Lb.resolve(null).then(e).catch(T4)}:q1;function T4(e){setTimeout(function(){throw e})}function R4(e,t,a,s){switch(t){case"button":case"input":case"select":case"textarea":a.autoFocus&&e.focus();return;case"img":{a.src&&(e.src=a.src);return}}}function k4(e,t,a,s,c,p){n4(e,t,a,s,c),J1(e,c)}function Mb(e){Gc(e,"")}function _4(e,t,a){e.nodeValue=a}function O4(e,t){e.appendChild(t)}function N4(e,t){var a;e.nodeType===An?(a=e.parentNode,a.insertBefore(t,e)):(a=e,a.appendChild(t));var s=e._reactRootContainer;s==null&&a.onclick===null&&Vm(a)}function D4(e,t,a){e.insertBefore(t,a)}function L4(e,t,a){e.nodeType===An?e.parentNode.insertBefore(t,a):e.insertBefore(t,a)}function M4(e,t){e.removeChild(t)}function A4(e,t){e.nodeType===An?e.parentNode.removeChild(t):e.removeChild(t)}function Q1(e,t){var a=t,s=0;do{var c=a.nextSibling;if(e.removeChild(a),c&&c.nodeType===An){var p=c.data;if(p===Ym)if(s===0){e.removeChild(c),Tt(t);return}else s--;else(p===Im||p===ph||p===hh)&&s++}a=c}while(a);Tt(t)}function z4(e,t){e.nodeType===An?Q1(e.parentNode,t):e.nodeType===qr&&Q1(e,t),Tt(e)}function $4(e){e=e;var t=e.style;typeof t.setProperty=="function"?t.setProperty("display","none","important"):t.display="none"}function U4(e){e.nodeValue=""}function P4(e,t){e=e;var a=t[d4],s=a!=null&&a.hasOwnProperty("display")?a.display:null;e.style.display=Qc("display",s)}function j4(e,t){e.nodeValue=t}function H4(e){e.nodeType===qr?e.textContent="":e.nodeType===aa&&e.documentElement&&e.removeChild(e.documentElement)}function F4(e,t,a){return e.nodeType!==qr||t.toLowerCase()!==e.nodeName.toLowerCase()?null:e}function V4(e,t){return t===""||e.nodeType!==Ba?null:e}function B4(e){return e.nodeType!==An?null:e}function Ab(e){return e.data===ph}function K1(e){return e.data===hh}function I4(e){var t=e.nextSibling&&e.nextSibling.dataset,a,s,c;return t&&(a=t.dgst,s=t.msg,c=t.stck),{message:s,digest:a,stack:c}}function Y4(e,t){e._reactRetry=t}function Wm(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===qr||t===Ba)break;if(t===An){var a=e.data;if(a===Im||a===hh||a===ph)break;if(a===Ym)return null}}return e}function vh(e){return Wm(e.nextSibling)}function W4(e){return Wm(e.firstChild)}function q4(e){return Wm(e.firstChild)}function G4(e){return Wm(e.nextSibling)}function Q4(e,t,a,s,c,p,g){yh(p,e),J1(e,a);var C;{var w=c;C=w.namespace}var N=(p.mode&xt)!==st;return i4(e,t,a,C,s,N,g)}function K4(e,t,a,s){return yh(a,e),a.mode&xt,a4(e,t)}function X4(e,t){yh(t,e)}function Z4(e){for(var t=e.nextSibling,a=0;t;){if(t.nodeType===An){var s=t.data;if(s===Ym){if(a===0)return vh(t);a--}else(s===Im||s===hh||s===ph)&&a++}t=t.nextSibling}return null}function zb(e){for(var t=e.previousSibling,a=0;t;){if(t.nodeType===An){var s=t.data;if(s===Im||s===hh||s===ph){if(a===0)return t;a--}else s===Ym&&a++}t=t.previousSibling}return null}function J4(e){Tt(e)}function e5(e){Tt(e)}function t5(e){return e!=="head"&&e!=="body"}function n5(e,t,a,s){var c=!0;Fm(t.nodeValue,a,s,c)}function r5(e,t,a,s,c,p){if(t[Bm]!==!0){var g=!0;Fm(s.nodeValue,c,p,g)}}function i5(e,t){t.nodeType===qr?H1(e,t):t.nodeType===An||F1(e,t)}function a5(e,t){{var a=e.parentNode;a!==null&&(t.nodeType===qr?H1(a,t):t.nodeType===An||F1(a,t))}}function o5(e,t,a,s,c){(c||t[Bm]!==!0)&&(s.nodeType===qr?H1(a,s):s.nodeType===An||F1(a,s))}function s5(e,t,a){V1(e,t)}function l5(e,t){B1(e,t)}function u5(e,t,a){{var s=e.parentNode;s!==null&&V1(s,t)}}function c5(e,t){{var a=e.parentNode;a!==null&&B1(a,t)}}function f5(e,t,a,s,c,p){(p||t[Bm]!==!0)&&V1(a,s)}function d5(e,t,a,s,c){(c||t[Bm]!==!0)&&B1(a,s)}function p5(e){v("An error occurred during hydration. The server HTML was replaced with client content in <%s>.",e.nodeName.toLowerCase())}function h5(e){sh(e)}var nd=Math.random().toString(36).slice(2),rd="__reactFiber$"+nd,X1="__reactProps$"+nd,mh="__reactContainer$"+nd,Z1="__reactEvents$"+nd,v5="__reactListeners$"+nd,m5="__reactHandles$"+nd;function y5(e){delete e[rd],delete e[X1],delete e[Z1],delete e[v5],delete e[m5]}function yh(e,t){t[rd]=e}function qm(e,t){t[mh]=e}function $b(e){e[mh]=null}function gh(e){return!!e[mh]}function yc(e){var t=e[rd];if(t)return t;for(var a=e.parentNode;a;){if(t=a[mh]||a[rd],t){var s=t.alternate;if(t.child!==null||s!==null&&s.child!==null)for(var c=zb(e);c!==null;){var p=c[rd];if(p)return p;c=zb(c)}return t}e=a,a=e.parentNode}return null}function ou(e){var t=e[rd]||e[mh];return t&&(t.tag===M||t.tag===P||t.tag===W||t.tag===k)?t:null}function id(e){if(e.tag===M||e.tag===P)return e.stateNode;throw new Error("getNodeFromInstance: Invalid argument.")}function Gm(e){return e[X1]||null}function J1(e,t){e[X1]=t}function g5(e){var t=e[Z1];return t===void 0&&(t=e[Z1]=new Set),t}var Ub={},Pb=l.ReactDebugCurrentFrame;function Qm(e){if(e){var t=e._owner,a=Sa(e.type,e._source,t?t.type:null);Pb.setExtraStackFrame(a)}else Pb.setExtraStackFrame(null)}function ro(e,t,a,s,c){{var p=Function.call.bind(_n);for(var g in e)if(p(e,g)){var C=void 0;try{if(typeof e[g]!="function"){var w=Error((s||"React class")+": "+a+" type `"+g+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[g]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw w.name="Invariant Violation",w}C=e[g](t,g,s,a,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(N){C=N}C&&!(C instanceof Error)&&(Qm(c),v("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",s||"React class",a,g,typeof C),Qm(null)),C instanceof Error&&!(C.message in Ub)&&(Ub[C.message]=!0,Qm(c),v("Failed %s type: %s",a,C.message),Qm(null))}}}var e0=[],Km;Km=[];var Zs=-1;function su(e){return{current:e}}function ni(e,t){if(Zs<0){v("Unexpected pop.");return}t!==Km[Zs]&&v("Unexpected Fiber popped."),e.current=e0[Zs],e0[Zs]=null,Km[Zs]=null,Zs--}function ri(e,t,a){Zs++,e0[Zs]=e.current,Km[Zs]=a,e.current=t}var t0;t0={};var ca={};Object.freeze(ca);var Js=su(ca),rs=su(!1),n0=ca;function ad(e,t,a){return a&&is(t)?n0:Js.current}function jb(e,t,a){{var s=e.stateNode;s.__reactInternalMemoizedUnmaskedChildContext=t,s.__reactInternalMemoizedMaskedChildContext=a}}function od(e,t){{var a=e.type,s=a.contextTypes;if(!s)return ca;var c=e.stateNode;if(c&&c.__reactInternalMemoizedUnmaskedChildContext===t)return c.__reactInternalMemoizedMaskedChildContext;var p={};for(var g in s)p[g]=t[g];{var C=vt(e)||"Unknown";ro(s,p,"context",C)}return c&&jb(e,t,p),p}}function Xm(){return rs.current}function is(e){{var t=e.childContextTypes;return t!=null}}function Zm(e){ni(rs,e),ni(Js,e)}function r0(e){ni(rs,e),ni(Js,e)}function Hb(e,t,a){{if(Js.current!==ca)throw new Error("Unexpected context found on stack. This error is likely caused by a bug in React. Please file an issue.");ri(Js,t,e),ri(rs,a,e)}}function Fb(e,t,a){{var s=e.stateNode,c=t.childContextTypes;if(typeof s.getChildContext!="function"){{var p=vt(e)||"Unknown";t0[p]||(t0[p]=!0,v("%s.childContextTypes is specified but there is no getChildContext() method on the instance. You can either define getChildContext() on %s or remove childContextTypes from it.",p,p))}return a}var g=s.getChildContext();for(var C in g)if(!(C in c))throw new Error((vt(e)||"Unknown")+'.getChildContext(): key "'+C+'" is not defined in childContextTypes.');{var w=vt(e)||"Unknown";ro(c,g,"child context",w)}return bt({},a,g)}}function Jm(e){{var t=e.stateNode,a=t&&t.__reactInternalMemoizedMergedChildContext||ca;return n0=Js.current,ri(Js,a,e),ri(rs,rs.current,e),!0}}function Vb(e,t,a){{var s=e.stateNode;if(!s)throw new Error("Expected to have an instance by this point. This error is likely caused by a bug in React. Please file an issue.");if(a){var c=Fb(e,t,n0);s.__reactInternalMemoizedMergedChildContext=c,ni(rs,e),ni(Js,e),ri(Js,c,e),ri(rs,a,e)}else ni(rs,e),ri(rs,a,e)}}function E5(e){{if(!Cp(e)||e.tag!==x)throw new Error("Expected subtree parent to be a mounted class component. This error is likely caused by a bug in React. Please file an issue.");var t=e;do{switch(t.tag){case k:return t.stateNode.context;case x:{var a=t.type;if(is(a))return t.stateNode.__reactInternalMemoizedMergedChildContext;break}}t=t.return}while(t!==null);throw new Error("Found unexpected detached subtree parent. This error is likely caused by a bug in React. Please file an issue.")}}var lu=0,ey=1,el=null,i0=!1,a0=!1;function Bb(e){el===null?el=[e]:el.push(e)}function S5(e){i0=!0,Bb(e)}function Ib(){i0&&uu()}function uu(){if(!a0&&el!==null){a0=!0;var e=0,t=zi();try{var a=!0,s=el;for(Fn(Er);e<s.length;e++){var c=s[e];do c=c(a);while(c!==null)}el=null,i0=!1}catch(p){throw el!==null&&(el=el.slice(e+1)),sf(uf,uu),p}finally{Fn(t),a0=!1}}return null}var sd=[],ld=0,ty=null,ny=0,Oa=[],Na=0,gc=null,tl=1,nl="";function C5(e){return Sc(),(e.flags&gp)!==it}function b5(e){return Sc(),ny}function w5(){var e=nl,t=tl,a=t&~x5(t);return a.toString(32)+e}function Ec(e,t){Sc(),sd[ld++]=ny,sd[ld++]=ty,ty=e,ny=t}function Yb(e,t,a){Sc(),Oa[Na++]=tl,Oa[Na++]=nl,Oa[Na++]=gc,gc=e;var s=tl,c=nl,p=ry(s)-1,g=s&~(1<<p),C=a+1,w=ry(t)+p;if(w>30){var N=p-p%5,D=(1<<N)-1,I=(g&D).toString(32),V=g>>N,X=p-N,J=ry(t)+X,ae=C<<X,He=ae|V,at=I+c;tl=1<<J|He,nl=at}else{var Je=C<<p,Nt=Je|g,Rt=c;tl=1<<w|Nt,nl=Rt}}function o0(e){Sc();var t=e.return;if(t!==null){var a=1,s=0;Ec(e,a),Yb(e,a,s)}}function ry(e){return 32-vf(e)}function x5(e){return 1<<ry(e)-1}function s0(e){for(;e===ty;)ty=sd[--ld],sd[ld]=null,ny=sd[--ld],sd[ld]=null;for(;e===gc;)gc=Oa[--Na],Oa[Na]=null,nl=Oa[--Na],Oa[Na]=null,tl=Oa[--Na],Oa[Na]=null}function T5(){return Sc(),gc!==null?{id:tl,overflow:nl}:null}function R5(e,t){Sc(),Oa[Na++]=tl,Oa[Na++]=nl,Oa[Na++]=gc,tl=t.id,nl=t.overflow,gc=e}function Sc(){Nr()||v("Expected to be hydrating. This is a bug in React. Please file an issue.")}var Or=null,Da=null,io=!1,Cc=!1,cu=null;function k5(){io&&v("We should not be hydrating here. This is a bug in React. Please file a bug.")}function Wb(){Cc=!0}function _5(){return Cc}function O5(e){var t=e.stateNode.containerInfo;return Da=q4(t),Or=e,io=!0,cu=null,Cc=!1,!0}function N5(e,t,a){return Da=G4(t),Or=e,io=!0,cu=null,Cc=!1,a!==null&&R5(e,a),!0}function qb(e,t){switch(e.tag){case k:{i5(e.stateNode.containerInfo,t);break}case M:{var a=(e.mode&xt)!==st;o5(e.type,e.memoizedProps,e.stateNode,t,a);break}case W:{var s=e.memoizedState;s.dehydrated!==null&&a5(s.dehydrated,t);break}}}function Gb(e,t){qb(e,t);var a=M9();a.stateNode=t,a.return=e;var s=e.deletions;s===null?(e.deletions=[a],e.flags|=jt):s.push(a)}function l0(e,t){{if(Cc)return;switch(e.tag){case k:{var a=e.stateNode.containerInfo;switch(t.tag){case M:var s=t.type;t.pendingProps,s5(a,s);break;case P:var c=t.pendingProps;l5(a,c);break}break}case M:{var p=e.type,g=e.memoizedProps,C=e.stateNode;switch(t.tag){case M:{var w=t.type,N=t.pendingProps,D=(e.mode&xt)!==st;f5(p,g,C,w,N,D);break}case P:{var I=t.pendingProps,V=(e.mode&xt)!==st;d5(p,g,C,I,V);break}}break}case W:{var X=e.memoizedState,J=X.dehydrated;if(J!==null)switch(t.tag){case M:var ae=t.type;t.pendingProps,u5(J,ae);break;case P:var He=t.pendingProps;c5(J,He);break}break}default:return}}}function Qb(e,t){t.flags=t.flags&~Ni|ln,l0(e,t)}function Kb(e,t){switch(e.tag){case M:{var a=e.type;e.pendingProps;var s=F4(t,a);return s!==null?(e.stateNode=s,Or=e,Da=W4(s),!0):!1}case P:{var c=e.pendingProps,p=V4(t,c);return p!==null?(e.stateNode=p,Or=e,Da=null,!0):!1}case W:{var g=B4(t);if(g!==null){var C={dehydrated:g,treeContext:T5(),retryLane:ei};e.memoizedState=C;var w=A9(g);return w.return=e,e.child=w,Or=e,Da=null,!0}return!1}default:return!1}}function u0(e){return(e.mode&xt)!==st&&(e.flags&pt)===it}function c0(e){throw new Error("Hydration failed because the initial UI does not match what was rendered on the server.")}function f0(e){if(io){var t=Da;if(!t){u0(e)&&(l0(Or,e),c0()),Qb(Or,e),io=!1,Or=e;return}var a=t;if(!Kb(e,t)){u0(e)&&(l0(Or,e),c0()),t=vh(a);var s=Or;if(!t||!Kb(e,t)){Qb(Or,e),io=!1,Or=e;return}Gb(s,a)}}}function D5(e,t,a){var s=e.stateNode,c=!Cc,p=Q4(s,e.type,e.memoizedProps,t,a,e,c);return e.updateQueue=p,p!==null}function L5(e){var t=e.stateNode,a=e.memoizedProps,s=K4(t,a,e);if(s){var c=Or;if(c!==null)switch(c.tag){case k:{var p=c.stateNode.containerInfo,g=(c.mode&xt)!==st;n5(p,t,a,g);break}case M:{var C=c.type,w=c.memoizedProps,N=c.stateNode,D=(c.mode&xt)!==st;r5(C,w,N,t,a,D);break}}}return s}function M5(e){var t=e.memoizedState,a=t!==null?t.dehydrated:null;if(!a)throw new Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");X4(a,e)}function A5(e){var t=e.memoizedState,a=t!==null?t.dehydrated:null;if(!a)throw new Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");return Z4(a)}function Xb(e){for(var t=e.return;t!==null&&t.tag!==M&&t.tag!==k&&t.tag!==W;)t=t.return;Or=t}function iy(e){if(e!==Or)return!1;if(!io)return Xb(e),io=!0,!1;if(e.tag!==k&&(e.tag!==M||t5(e.type)&&!W1(e.type,e.memoizedProps))){var t=Da;if(t)if(u0(e))Zb(e),c0();else for(;t;)Gb(e,t),t=vh(t)}return Xb(e),e.tag===W?Da=A5(e):Da=Or?vh(e.stateNode):null,!0}function z5(){return io&&Da!==null}function Zb(e){for(var t=Da;t;)qb(e,t),t=vh(t)}function ud(){Or=null,Da=null,io=!1,Cc=!1}function Jb(){cu!==null&&(q2(cu),cu=null)}function Nr(){return io}function d0(e){cu===null?cu=[e]:cu.push(e)}var $5=l.ReactCurrentBatchConfig,U5=null;function P5(){return $5.transition}var ao={recordUnsafeLifecycleWarnings:function(e,t){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(e,t){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}};{var j5=function(e){for(var t=null,a=e;a!==null;)a.mode&En&&(t=a),a=a.return;return t},bc=function(e){var t=[];return e.forEach(function(a){t.push(a)}),t.sort().join(", ")},Eh=[],Sh=[],Ch=[],bh=[],wh=[],xh=[],wc=new Set;ao.recordUnsafeLifecycleWarnings=function(e,t){wc.has(e.type)||(typeof t.componentWillMount=="function"&&t.componentWillMount.__suppressDeprecationWarning!==!0&&Eh.push(e),e.mode&En&&typeof t.UNSAFE_componentWillMount=="function"&&Sh.push(e),typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&Ch.push(e),e.mode&En&&typeof t.UNSAFE_componentWillReceiveProps=="function"&&bh.push(e),typeof t.componentWillUpdate=="function"&&t.componentWillUpdate.__suppressDeprecationWarning!==!0&&wh.push(e),e.mode&En&&typeof t.UNSAFE_componentWillUpdate=="function"&&xh.push(e))},ao.flushPendingUnsafeLifecycleWarnings=function(){var e=new Set;Eh.length>0&&(Eh.forEach(function(V){e.add(vt(V)||"Component"),wc.add(V.type)}),Eh=[]);var t=new Set;Sh.length>0&&(Sh.forEach(function(V){t.add(vt(V)||"Component"),wc.add(V.type)}),Sh=[]);var a=new Set;Ch.length>0&&(Ch.forEach(function(V){a.add(vt(V)||"Component"),wc.add(V.type)}),Ch=[]);var s=new Set;bh.length>0&&(bh.forEach(function(V){s.add(vt(V)||"Component"),wc.add(V.type)}),bh=[]);var c=new Set;wh.length>0&&(wh.forEach(function(V){c.add(vt(V)||"Component"),wc.add(V.type)}),wh=[]);var p=new Set;if(xh.length>0&&(xh.forEach(function(V){p.add(vt(V)||"Component"),wc.add(V.type)}),xh=[]),t.size>0){var g=bc(t);v(`Using UNSAFE_componentWillMount in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.
|
|
164
|
-
|
|
165
|
-
* Move code with side effects to componentDidMount, and set initial state in the constructor.
|
|
166
|
-
|
|
167
|
-
Please update the following components: %s`,g)}if(s.size>0){var C=bc(s);v(`Using UNSAFE_componentWillReceiveProps in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.
|
|
168
|
-
|
|
169
|
-
* Move data fetching code or side effects to componentDidUpdate.
|
|
170
|
-
* If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://reactjs.org/link/derived-state
|
|
171
|
-
|
|
172
|
-
Please update the following components: %s`,C)}if(p.size>0){var w=bc(p);v(`Using UNSAFE_componentWillUpdate in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.
|
|
173
|
-
|
|
174
|
-
* Move data fetching code or side effects to componentDidUpdate.
|
|
175
|
-
|
|
176
|
-
Please update the following components: %s`,w)}if(e.size>0){var N=bc(e);m(`componentWillMount has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
|
|
177
|
-
|
|
178
|
-
* Move code with side effects to componentDidMount, and set initial state in the constructor.
|
|
179
|
-
* Rename componentWillMount to UNSAFE_componentWillMount to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
|
|
180
|
-
|
|
181
|
-
Please update the following components: %s`,N)}if(a.size>0){var D=bc(a);m(`componentWillReceiveProps has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
|
|
182
|
-
|
|
183
|
-
* Move data fetching code or side effects to componentDidUpdate.
|
|
184
|
-
* If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://reactjs.org/link/derived-state
|
|
185
|
-
* Rename componentWillReceiveProps to UNSAFE_componentWillReceiveProps to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
|
|
186
|
-
|
|
187
|
-
Please update the following components: %s`,D)}if(c.size>0){var I=bc(c);m(`componentWillUpdate has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
|
|
188
|
-
|
|
189
|
-
* Move data fetching code or side effects to componentDidUpdate.
|
|
190
|
-
* Rename componentWillUpdate to UNSAFE_componentWillUpdate to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
|
|
191
|
-
|
|
192
|
-
Please update the following components: %s`,I)}};var ay=new Map,ew=new Set;ao.recordLegacyContextWarning=function(e,t){var a=j5(e);if(a===null){v("Expected to find a StrictMode component in a strict mode tree. This error is likely caused by a bug in React. Please file an issue.");return}if(!ew.has(e.type)){var s=ay.get(a);(e.type.contextTypes!=null||e.type.childContextTypes!=null||t!==null&&typeof t.getChildContext=="function")&&(s===void 0&&(s=[],ay.set(a,s)),s.push(e))}},ao.flushLegacyContextWarning=function(){ay.forEach(function(e,t){if(e.length!==0){var a=e[0],s=new Set;e.forEach(function(p){s.add(vt(p)||"Component"),ew.add(p.type)});var c=bc(s);try{Ht(a),v(`Legacy context API has been detected within a strict-mode tree.
|
|
193
|
-
|
|
194
|
-
The old API will be supported in all 16.x releases, but applications using it should migrate to the new version.
|
|
195
|
-
|
|
196
|
-
Please update the following components: %s
|
|
197
|
-
|
|
198
|
-
Learn more about this warning here: https://reactjs.org/link/legacy-context`,c)}finally{wn()}}})},ao.discardPendingWarnings=function(){Eh=[],Sh=[],Ch=[],bh=[],wh=[],xh=[],ay=new Map}}function oo(e,t){if(e&&e.defaultProps){var a=bt({},t),s=e.defaultProps;for(var c in s)a[c]===void 0&&(a[c]=s[c]);return a}return t}var p0=su(null),h0;h0={};var oy=null,cd=null,v0=null,sy=!1;function ly(){oy=null,cd=null,v0=null,sy=!1}function tw(){sy=!0}function nw(){sy=!1}function rw(e,t,a){ri(p0,t._currentValue,e),t._currentValue=a,t._currentRenderer!==void 0&&t._currentRenderer!==null&&t._currentRenderer!==h0&&v("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),t._currentRenderer=h0}function m0(e,t){var a=p0.current;ni(p0,t),e._currentValue=a}function y0(e,t,a){for(var s=e;s!==null;){var c=s.alternate;if(Fs(s.childLanes,t)?c!==null&&!Fs(c.childLanes,t)&&(c.childLanes=St(c.childLanes,t)):(s.childLanes=St(s.childLanes,t),c!==null&&(c.childLanes=St(c.childLanes,t))),s===a)break;s=s.return}s!==a&&v("Expected to find the propagation root when scheduling context work. This error is likely caused by a bug in React. Please file an issue.")}function H5(e,t,a){F5(e,t,a)}function F5(e,t,a){var s=e.child;for(s!==null&&(s.return=e);s!==null;){var c=void 0,p=s.dependencies;if(p!==null){c=s.child;for(var g=p.firstContext;g!==null;){if(g.context===t){if(s.tag===x){var C=Hn(a),w=rl(nn,C);w.tag=cy;var N=s.updateQueue;if(N!==null){var D=N.shared,I=D.pending;I===null?w.next=w:(w.next=I.next,I.next=w),D.pending=w}}s.lanes=St(s.lanes,a);var V=s.alternate;V!==null&&(V.lanes=St(V.lanes,a)),y0(s.return,a,e),p.lanes=St(p.lanes,a);break}g=g.next}}else if(s.tag===ve)c=s.type===e.type?null:s.child;else if(s.tag===Be){var X=s.return;if(X===null)throw new Error("We just came from a parent so we must have had a parent. This is a bug in React.");X.lanes=St(X.lanes,a);var J=X.alternate;J!==null&&(J.lanes=St(J.lanes,a)),y0(X,a,e),c=s.sibling}else c=s.child;if(c!==null)c.return=s;else for(c=s;c!==null;){if(c===e){c=null;break}var ae=c.sibling;if(ae!==null){ae.return=c.return,c=ae;break}c=c.return}s=c}}function fd(e,t){oy=e,cd=null,v0=null;var a=e.dependencies;if(a!==null){var s=a.firstContext;s!==null&&(ti(a.lanes,t)&&Ph(),a.firstContext=null)}}function Jn(e){sy&&v("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().");var t=e._currentValue;if(v0!==e){var a={context:e,memoizedValue:t,next:null};if(cd===null){if(oy===null)throw new Error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().");cd=a,oy.dependencies={lanes:le,firstContext:a}}else cd=cd.next=a}return t}var xc=null;function g0(e){xc===null?xc=[e]:xc.push(e)}function V5(){if(xc!==null){for(var e=0;e<xc.length;e++){var t=xc[e],a=t.interleaved;if(a!==null){t.interleaved=null;var s=a.next,c=t.pending;if(c!==null){var p=c.next;c.next=s,a.next=p}t.pending=a}}xc=null}}function iw(e,t,a,s){var c=t.interleaved;return c===null?(a.next=a,g0(t)):(a.next=c.next,c.next=a),t.interleaved=a,uy(e,s)}function B5(e,t,a,s){var c=t.interleaved;c===null?(a.next=a,g0(t)):(a.next=c.next,c.next=a),t.interleaved=a}function I5(e,t,a,s){var c=t.interleaved;return c===null?(a.next=a,g0(t)):(a.next=c.next,c.next=a),t.interleaved=a,uy(e,s)}function Hi(e,t){return uy(e,t)}var Y5=uy;function uy(e,t){e.lanes=St(e.lanes,t);var a=e.alternate;a!==null&&(a.lanes=St(a.lanes,t)),a===null&&(e.flags&(ln|Ni))!==it&&ax(e);for(var s=e,c=e.return;c!==null;)c.childLanes=St(c.childLanes,t),a=c.alternate,a!==null?a.childLanes=St(a.childLanes,t):(c.flags&(ln|Ni))!==it&&ax(e),s=c,c=c.return;if(s.tag===k){var p=s.stateNode;return p}else return null}var aw=0,ow=1,cy=2,E0=3,fy=!1,S0,dy;S0=!1,dy=null;function C0(e){var t={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:le},effects:null};e.updateQueue=t}function sw(e,t){var a=t.updateQueue,s=e.updateQueue;if(a===s){var c={baseState:s.baseState,firstBaseUpdate:s.firstBaseUpdate,lastBaseUpdate:s.lastBaseUpdate,shared:s.shared,effects:s.effects};t.updateQueue=c}}function rl(e,t){var a={eventTime:e,lane:t,tag:aw,payload:null,callback:null,next:null};return a}function fu(e,t,a){var s=e.updateQueue;if(s===null)return null;var c=s.shared;if(dy===c&&!S0&&(v("An update (setState, replaceState, or forceUpdate) was scheduled from inside an update function. Update functions should be pure, with zero side-effects. Consider using componentDidUpdate or a callback."),S0=!0),Yk()){var p=c.pending;return p===null?t.next=t:(t.next=p.next,p.next=t),c.pending=t,Y5(e,a)}else return I5(e,c,t,a)}function py(e,t,a){var s=t.updateQueue;if(s!==null){var c=s.shared;if(Ap(a)){var p=c.lanes;p=$p(p,e.pendingLanes);var g=St(p,a);c.lanes=g,Yl(e,g)}}}function b0(e,t){var a=e.updateQueue,s=e.alternate;if(s!==null){var c=s.updateQueue;if(a===c){var p=null,g=null,C=a.firstBaseUpdate;if(C!==null){var w=C;do{var N={eventTime:w.eventTime,lane:w.lane,tag:w.tag,payload:w.payload,callback:w.callback,next:null};g===null?p=g=N:(g.next=N,g=N),w=w.next}while(w!==null);g===null?p=g=t:(g.next=t,g=t)}else p=g=t;a={baseState:c.baseState,firstBaseUpdate:p,lastBaseUpdate:g,shared:c.shared,effects:c.effects},e.updateQueue=a;return}}var D=a.lastBaseUpdate;D===null?a.firstBaseUpdate=t:D.next=t,a.lastBaseUpdate=t}function W5(e,t,a,s,c,p){switch(a.tag){case ow:{var g=a.payload;if(typeof g=="function"){tw();var C=g.call(p,s,c);{if(e.mode&En){jn(!0);try{g.call(p,s,c)}finally{jn(!1)}}nw()}return C}return g}case E0:e.flags=e.flags&~Gn|pt;case aw:{var w=a.payload,N;if(typeof w=="function"){tw(),N=w.call(p,s,c);{if(e.mode&En){jn(!0);try{w.call(p,s,c)}finally{jn(!1)}}nw()}}else N=w;return N==null?s:bt({},s,N)}case cy:return fy=!0,s}return s}function hy(e,t,a,s){var c=e.updateQueue;fy=!1,dy=c.shared;var p=c.firstBaseUpdate,g=c.lastBaseUpdate,C=c.shared.pending;if(C!==null){c.shared.pending=null;var w=C,N=w.next;w.next=null,g===null?p=N:g.next=N,g=w;var D=e.alternate;if(D!==null){var I=D.updateQueue,V=I.lastBaseUpdate;V!==g&&(V===null?I.firstBaseUpdate=N:V.next=N,I.lastBaseUpdate=w)}}if(p!==null){var X=c.baseState,J=le,ae=null,He=null,at=null,Je=p;do{var Nt=Je.lane,Rt=Je.eventTime;if(Fs(s,Nt)){if(at!==null){var oe={eventTime:Rt,lane:_t,tag:Je.tag,payload:Je.payload,callback:Je.callback,next:null};at=at.next=oe}X=W5(e,c,Je,X,t,a);var Q=Je.callback;if(Q!==null&&Je.lane!==_t){e.flags|=wa;var Ce=c.effects;Ce===null?c.effects=[Je]:Ce.push(Je)}}else{var G={eventTime:Rt,lane:Nt,tag:Je.tag,payload:Je.payload,callback:Je.callback,next:null};at===null?(He=at=G,ae=X):at=at.next=G,J=St(J,Nt)}if(Je=Je.next,Je===null){if(C=c.shared.pending,C===null)break;var Fe=C,$e=Fe.next;Fe.next=null,Je=$e,c.lastBaseUpdate=Fe,c.shared.pending=null}}while(!0);at===null&&(ae=X),c.baseState=ae,c.firstBaseUpdate=He,c.lastBaseUpdate=at;var ft=c.shared.interleaved;if(ft!==null){var gt=ft;do J=St(J,gt.lane),gt=gt.next;while(gt!==ft)}else p===null&&(c.shared.lanes=le);Kh(J),e.lanes=J,e.memoizedState=X}dy=null}function q5(e,t){if(typeof e!="function")throw new Error("Invalid argument passed as callback. Expected a function. Instead "+("received: "+e));e.call(t)}function lw(){fy=!1}function vy(){return fy}function uw(e,t,a){var s=t.effects;if(t.effects=null,s!==null)for(var c=0;c<s.length;c++){var p=s[c],g=p.callback;g!==null&&(p.callback=null,q5(g,a))}}var w0={},cw=new o.Component().refs,x0,T0,R0,k0,_0,fw,my,O0,N0,D0;{x0=new Set,T0=new Set,R0=new Set,k0=new Set,O0=new Set,_0=new Set,N0=new Set,D0=new Set;var dw=new Set;my=function(e,t){if(!(e===null||typeof e=="function")){var a=t+"_"+e;dw.has(a)||(dw.add(a),v("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",t,e))}},fw=function(e,t){if(t===void 0){var a=Lt(e)||"Component";_0.has(a)||(_0.add(a),v("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",a))}},Object.defineProperty(w0,"_processChildContext",{enumerable:!1,value:function(){throw new Error("_processChildContext is not available in React 16+. This likely means you have multiple copies of React and are attempting to nest a React 15 tree inside a React 16 tree using unstable_renderSubtreeIntoContainer, which isn't supported. Try to make sure you have only one copy of React (and ideally, switch to ReactDOM.createPortal).")}}),Object.freeze(w0)}function L0(e,t,a,s){var c=e.memoizedState,p=a(s,c);{if(e.mode&En){jn(!0);try{p=a(s,c)}finally{jn(!1)}}fw(t,p)}var g=p==null?c:bt({},c,p);if(e.memoizedState=g,e.lanes===le){var C=e.updateQueue;C.baseState=g}}var M0={isMounted:pi,enqueueSetState:function(e,t,a){var s=_i(e),c=Si(),p=Eu(s),g=rl(c,p);g.payload=t,a!=null&&(my(a,"setState"),g.callback=a);var C=fu(s,g,p);C!==null&&(vr(C,s,p,c),py(C,s,p)),Go(s,p)},enqueueReplaceState:function(e,t,a){var s=_i(e),c=Si(),p=Eu(s),g=rl(c,p);g.tag=ow,g.payload=t,a!=null&&(my(a,"replaceState"),g.callback=a);var C=fu(s,g,p);C!==null&&(vr(C,s,p,c),py(C,s,p)),Go(s,p)},enqueueForceUpdate:function(e,t){var a=_i(e),s=Si(),c=Eu(a),p=rl(s,c);p.tag=cy,t!=null&&(my(t,"forceUpdate"),p.callback=t);var g=fu(a,p,c);g!==null&&(vr(g,a,c,s),py(g,a,c)),Np(a,c)}};function pw(e,t,a,s,c,p,g){var C=e.stateNode;if(typeof C.shouldComponentUpdate=="function"){var w=C.shouldComponentUpdate(s,p,g);{if(e.mode&En){jn(!0);try{w=C.shouldComponentUpdate(s,p,g)}finally{jn(!1)}}w===void 0&&v("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",Lt(t)||"Component")}return w}return t.prototype&&t.prototype.isPureReactComponent?!nt(a,s)||!nt(c,p):!0}function G5(e,t,a){var s=e.stateNode;{var c=Lt(t)||"Component",p=s.render;p||(t.prototype&&typeof t.prototype.render=="function"?v("%s(...): No `render` method found on the returned component instance: did you accidentally return an object from the constructor?",c):v("%s(...): No `render` method found on the returned component instance: you may have forgotten to define `render`.",c)),s.getInitialState&&!s.getInitialState.isReactClassApproved&&!s.state&&v("getInitialState was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?",c),s.getDefaultProps&&!s.getDefaultProps.isReactClassApproved&&v("getDefaultProps was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Use a static property to define defaultProps instead.",c),s.propTypes&&v("propTypes was defined as an instance property on %s. Use a static property to define propTypes instead.",c),s.contextType&&v("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",c),s.contextTypes&&v("contextTypes was defined as an instance property on %s. Use a static property to define contextTypes instead.",c),t.contextType&&t.contextTypes&&!N0.has(t)&&(N0.add(t),v("%s declares both contextTypes and contextType static properties. The legacy contextTypes property will be ignored.",c)),typeof s.componentShouldUpdate=="function"&&v("%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.",c),t.prototype&&t.prototype.isPureReactComponent&&typeof s.shouldComponentUpdate<"u"&&v("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",Lt(t)||"A pure component"),typeof s.componentDidUnmount=="function"&&v("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",c),typeof s.componentDidReceiveProps=="function"&&v("%s has a method called componentDidReceiveProps(). But there is no such lifecycle method. If you meant to update the state in response to changing props, use componentWillReceiveProps(). If you meant to fetch data or run side-effects or mutations after React has updated the UI, use componentDidUpdate().",c),typeof s.componentWillRecieveProps=="function"&&v("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",c),typeof s.UNSAFE_componentWillRecieveProps=="function"&&v("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",c);var g=s.props!==a;s.props!==void 0&&g&&v("%s(...): When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",c,c),s.defaultProps&&v("Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.",c,c),typeof s.getSnapshotBeforeUpdate=="function"&&typeof s.componentDidUpdate!="function"&&!R0.has(t)&&(R0.add(t),v("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",Lt(t))),typeof s.getDerivedStateFromProps=="function"&&v("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",c),typeof s.getDerivedStateFromError=="function"&&v("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",c),typeof t.getSnapshotBeforeUpdate=="function"&&v("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",c);var C=s.state;C&&(typeof C!="object"||kt(C))&&v("%s.state: must be set to an object or null",c),typeof s.getChildContext=="function"&&typeof t.childContextTypes!="object"&&v("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",c)}}function hw(e,t){t.updater=M0,e.stateNode=t,zl(t,e),t._reactInternalInstance=w0}function vw(e,t,a){var s=!1,c=ca,p=ca,g=t.contextType;if("contextType"in t){var C=g===null||g!==void 0&&g.$$typeof===ku&&g._context===void 0;if(!C&&!D0.has(t)){D0.add(t);var w="";g===void 0?w=" However, it is set to undefined. This can be caused by a typo or by mixing up named and default imports. This can also happen due to a circular dependency, so try moving the createContext() call to a separate file.":typeof g!="object"?w=" However, it is set to a "+typeof g+".":g.$$typeof===yl?w=" Did you accidentally pass the Context.Provider instead?":g._context!==void 0?w=" Did you accidentally pass the Context.Consumer instead?":w=" However, it is set to an object with keys {"+Object.keys(g).join(", ")+"}.",v("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",Lt(t)||"Component",w)}}if(typeof g=="object"&&g!==null)p=Jn(g);else{c=ad(e,t,!0);var N=t.contextTypes;s=N!=null,p=s?od(e,c):ca}var D=new t(a,p);if(e.mode&En){jn(!0);try{D=new t(a,p)}finally{jn(!1)}}var I=e.memoizedState=D.state!==null&&D.state!==void 0?D.state:null;hw(e,D);{if(typeof t.getDerivedStateFromProps=="function"&&I===null){var V=Lt(t)||"Component";T0.has(V)||(T0.add(V),v("`%s` uses `getDerivedStateFromProps` but its initial state is %s. This is not recommended. Instead, define the initial state by assigning an object to `this.state` in the constructor of `%s`. This ensures that `getDerivedStateFromProps` arguments have a consistent shape.",V,D.state===null?"null":"undefined",V))}if(typeof t.getDerivedStateFromProps=="function"||typeof D.getSnapshotBeforeUpdate=="function"){var X=null,J=null,ae=null;if(typeof D.componentWillMount=="function"&&D.componentWillMount.__suppressDeprecationWarning!==!0?X="componentWillMount":typeof D.UNSAFE_componentWillMount=="function"&&(X="UNSAFE_componentWillMount"),typeof D.componentWillReceiveProps=="function"&&D.componentWillReceiveProps.__suppressDeprecationWarning!==!0?J="componentWillReceiveProps":typeof D.UNSAFE_componentWillReceiveProps=="function"&&(J="UNSAFE_componentWillReceiveProps"),typeof D.componentWillUpdate=="function"&&D.componentWillUpdate.__suppressDeprecationWarning!==!0?ae="componentWillUpdate":typeof D.UNSAFE_componentWillUpdate=="function"&&(ae="UNSAFE_componentWillUpdate"),X!==null||J!==null||ae!==null){var He=Lt(t)||"Component",at=typeof t.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";k0.has(He)||(k0.add(He),v(`Unsafe legacy lifecycles will not be called for components using new component APIs.
|
|
199
|
-
|
|
200
|
-
%s uses %s but also contains the following legacy lifecycles:%s%s%s
|
|
201
|
-
|
|
202
|
-
The above lifecycles should be removed. Learn more about this warning here:
|
|
203
|
-
https://reactjs.org/link/unsafe-component-lifecycles`,He,at,X!==null?`
|
|
204
|
-
`+X:"",J!==null?`
|
|
205
|
-
`+J:"",ae!==null?`
|
|
206
|
-
`+ae:""))}}}return s&&jb(e,c,p),D}function Q5(e,t){var a=t.state;typeof t.componentWillMount=="function"&&t.componentWillMount(),typeof t.UNSAFE_componentWillMount=="function"&&t.UNSAFE_componentWillMount(),a!==t.state&&(v("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",vt(e)||"Component"),M0.enqueueReplaceState(t,t.state,null))}function mw(e,t,a,s){var c=t.state;if(typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(a,s),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(a,s),t.state!==c){{var p=vt(e)||"Component";x0.has(p)||(x0.add(p),v("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",p))}M0.enqueueReplaceState(t,t.state,null)}}function A0(e,t,a,s){G5(e,t,a);var c=e.stateNode;c.props=a,c.state=e.memoizedState,c.refs=cw,C0(e);var p=t.contextType;if(typeof p=="object"&&p!==null)c.context=Jn(p);else{var g=ad(e,t,!0);c.context=od(e,g)}{if(c.state===a){var C=Lt(t)||"Component";O0.has(C)||(O0.add(C),v("%s: It is not recommended to assign props directly to state because updates to props won't be reflected in state. In most cases, it is better to use props directly.",C))}e.mode&En&&ao.recordLegacyContextWarning(e,c),ao.recordUnsafeLifecycleWarnings(e,c)}c.state=e.memoizedState;var w=t.getDerivedStateFromProps;if(typeof w=="function"&&(L0(e,t,w,a),c.state=e.memoizedState),typeof t.getDerivedStateFromProps!="function"&&typeof c.getSnapshotBeforeUpdate!="function"&&(typeof c.UNSAFE_componentWillMount=="function"||typeof c.componentWillMount=="function")&&(Q5(e,c),hy(e,a,c,s),c.state=e.memoizedState),typeof c.componentDidMount=="function"){var N=Et;N|=Qr,(e.mode&Mi)!==st&&(N|=Kr),e.flags|=N}}function K5(e,t,a,s){var c=e.stateNode,p=e.memoizedProps;c.props=p;var g=c.context,C=t.contextType,w=ca;if(typeof C=="object"&&C!==null)w=Jn(C);else{var N=ad(e,t,!0);w=od(e,N)}var D=t.getDerivedStateFromProps,I=typeof D=="function"||typeof c.getSnapshotBeforeUpdate=="function";!I&&(typeof c.UNSAFE_componentWillReceiveProps=="function"||typeof c.componentWillReceiveProps=="function")&&(p!==a||g!==w)&&mw(e,c,a,w),lw();var V=e.memoizedState,X=c.state=V;if(hy(e,a,c,s),X=e.memoizedState,p===a&&V===X&&!Xm()&&!vy()){if(typeof c.componentDidMount=="function"){var J=Et;J|=Qr,(e.mode&Mi)!==st&&(J|=Kr),e.flags|=J}return!1}typeof D=="function"&&(L0(e,t,D,a),X=e.memoizedState);var ae=vy()||pw(e,t,p,a,V,X,w);if(ae){if(!I&&(typeof c.UNSAFE_componentWillMount=="function"||typeof c.componentWillMount=="function")&&(typeof c.componentWillMount=="function"&&c.componentWillMount(),typeof c.UNSAFE_componentWillMount=="function"&&c.UNSAFE_componentWillMount()),typeof c.componentDidMount=="function"){var He=Et;He|=Qr,(e.mode&Mi)!==st&&(He|=Kr),e.flags|=He}}else{if(typeof c.componentDidMount=="function"){var at=Et;at|=Qr,(e.mode&Mi)!==st&&(at|=Kr),e.flags|=at}e.memoizedProps=a,e.memoizedState=X}return c.props=a,c.state=X,c.context=w,ae}function X5(e,t,a,s,c){var p=t.stateNode;sw(e,t);var g=t.memoizedProps,C=t.type===t.elementType?g:oo(t.type,g);p.props=C;var w=t.pendingProps,N=p.context,D=a.contextType,I=ca;if(typeof D=="object"&&D!==null)I=Jn(D);else{var V=ad(t,a,!0);I=od(t,V)}var X=a.getDerivedStateFromProps,J=typeof X=="function"||typeof p.getSnapshotBeforeUpdate=="function";!J&&(typeof p.UNSAFE_componentWillReceiveProps=="function"||typeof p.componentWillReceiveProps=="function")&&(g!==w||N!==I)&&mw(t,p,s,I),lw();var ae=t.memoizedState,He=p.state=ae;if(hy(t,s,p,c),He=t.memoizedState,g===w&&ae===He&&!Xm()&&!vy()&&!ye)return typeof p.componentDidUpdate=="function"&&(g!==e.memoizedProps||ae!==e.memoizedState)&&(t.flags|=Et),typeof p.getSnapshotBeforeUpdate=="function"&&(g!==e.memoizedProps||ae!==e.memoizedState)&&(t.flags|=Oi),!1;typeof X=="function"&&(L0(t,a,X,s),He=t.memoizedState);var at=vy()||pw(t,a,C,s,ae,He,I)||ye;return at?(!J&&(typeof p.UNSAFE_componentWillUpdate=="function"||typeof p.componentWillUpdate=="function")&&(typeof p.componentWillUpdate=="function"&&p.componentWillUpdate(s,He,I),typeof p.UNSAFE_componentWillUpdate=="function"&&p.UNSAFE_componentWillUpdate(s,He,I)),typeof p.componentDidUpdate=="function"&&(t.flags|=Et),typeof p.getSnapshotBeforeUpdate=="function"&&(t.flags|=Oi)):(typeof p.componentDidUpdate=="function"&&(g!==e.memoizedProps||ae!==e.memoizedState)&&(t.flags|=Et),typeof p.getSnapshotBeforeUpdate=="function"&&(g!==e.memoizedProps||ae!==e.memoizedState)&&(t.flags|=Oi),t.memoizedProps=s,t.memoizedState=He),p.props=s,p.state=He,p.context=I,at}var z0,$0,U0,P0,j0,yw=function(e,t){};z0=!1,$0=!1,U0={},P0={},j0={},yw=function(e,t){if(!(e===null||typeof e!="object")&&!(!e._store||e._store.validated||e.key!=null)){if(typeof e._store!="object")throw new Error("React Component in warnForMissingKey should have a _store. This error is likely caused by a bug in React. Please file an issue.");e._store.validated=!0;var a=vt(t)||"Component";P0[a]||(P0[a]=!0,v('Each child in a list should have a unique "key" prop. See https://reactjs.org/link/warning-keys for more information.'))}};function Th(e,t,a){var s=a.ref;if(s!==null&&typeof s!="function"&&typeof s!="object"){if((e.mode&En||ie)&&!(a._owner&&a._self&&a._owner.stateNode!==a._self)){var c=vt(e)||"Component";U0[c]||(v('A string ref, "%s", has been found within a strict mode tree. String refs are a source of potential bugs and should be avoided. We recommend using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',s),U0[c]=!0)}if(a._owner){var p=a._owner,g;if(p){var C=p;if(C.tag!==x)throw new Error("Function components cannot have string refs. We recommend using useRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref");g=C.stateNode}if(!g)throw new Error("Missing owner for string ref "+s+". This error is likely caused by a bug in React. Please file an issue.");var w=g;yr(s,"ref");var N=""+s;if(t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===N)return t.ref;var D=function(I){var V=w.refs;V===cw&&(V=w.refs={}),I===null?delete V[N]:V[N]=I};return D._stringRef=N,D}else{if(typeof s!="string")throw new Error("Expected ref to be a function, a string, an object returned by React.createRef(), or null.");if(!a._owner)throw new Error("Element ref was specified as a string ("+s+`) but no owner was set. This could happen for one of the following reasons:
|
|
207
|
-
1. You may be adding a ref to a function component
|
|
208
|
-
2. You may be adding a ref to a component that was not created inside a component's render method
|
|
209
|
-
3. You have multiple copies of React loaded
|
|
210
|
-
See https://reactjs.org/link/refs-must-have-owner for more information.`)}}return s}function yy(e,t){var a=Object.prototype.toString.call(t);throw new Error("Objects are not valid as a React child (found: "+(a==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":a)+"). If you meant to render a collection of children, use an array instead.")}function gy(e){{var t=vt(e)||"Component";if(j0[t])return;j0[t]=!0,v("Functions are not valid as a React child. This may happen if you return a Component instead of <Component /> from render. Or maybe you meant to call this function rather than return it.")}}function gw(e){var t=e._payload,a=e._init;return a(t)}function Ew(e){function t(G,oe){if(e){var Q=G.deletions;Q===null?(G.deletions=[oe],G.flags|=jt):Q.push(oe)}}function a(G,oe){if(!e)return null;for(var Q=oe;Q!==null;)t(G,Q),Q=Q.sibling;return null}function s(G,oe){for(var Q=new Map,Ce=oe;Ce!==null;)Ce.key!==null?Q.set(Ce.key,Ce):Q.set(Ce.index,Ce),Ce=Ce.sibling;return Q}function c(G,oe){var Q=Lc(G,oe);return Q.index=0,Q.sibling=null,Q}function p(G,oe,Q){if(G.index=Q,!e)return G.flags|=gp,oe;var Ce=G.alternate;if(Ce!==null){var Fe=Ce.index;return Fe<oe?(G.flags|=ln,oe):Fe}else return G.flags|=ln,oe}function g(G){return e&&G.alternate===null&&(G.flags|=ln),G}function C(G,oe,Q,Ce){if(oe===null||oe.tag!==P){var Fe=dS(Q,G.mode,Ce);return Fe.return=G,Fe}else{var $e=c(oe,Q);return $e.return=G,$e}}function w(G,oe,Q,Ce){var Fe=Q.type;if(Fe===ea)return D(G,oe,Q.props.children,Ce,Q.key);if(oe!==null&&(oe.elementType===Fe||ux(oe,Q)||typeof Fe=="object"&&Fe!==null&&Fe.$$typeof===ir&&gw(Fe)===oe.type)){var $e=c(oe,Q.props);return $e.ref=Th(G,oe,Q),$e.return=G,$e._debugSource=Q._source,$e._debugOwner=Q._owner,$e}var ft=fS(Q,G.mode,Ce);return ft.ref=Th(G,oe,Q),ft.return=G,ft}function N(G,oe,Q,Ce){if(oe===null||oe.tag!==L||oe.stateNode.containerInfo!==Q.containerInfo||oe.stateNode.implementation!==Q.implementation){var Fe=pS(Q,G.mode,Ce);return Fe.return=G,Fe}else{var $e=c(oe,Q.children||[]);return $e.return=G,$e}}function D(G,oe,Q,Ce,Fe){if(oe===null||oe.tag!==F){var $e=Cu(Q,G.mode,Ce,Fe);return $e.return=G,$e}else{var ft=c(oe,Q);return ft.return=G,ft}}function I(G,oe,Q){if(typeof oe=="string"&&oe!==""||typeof oe=="number"){var Ce=dS(""+oe,G.mode,Q);return Ce.return=G,Ce}if(typeof oe=="object"&&oe!==null){switch(oe.$$typeof){case Co:{var Fe=fS(oe,G.mode,Q);return Fe.ref=Th(G,null,oe),Fe.return=G,Fe}case ci:{var $e=pS(oe,G.mode,Q);return $e.return=G,$e}case ir:{var ft=oe._payload,gt=oe._init;return I(G,gt(ft),Q)}}if(kt(oe)||ta(oe)){var Kt=Cu(oe,G.mode,Q,null);return Kt.return=G,Kt}yy(G,oe)}return typeof oe=="function"&&gy(G),null}function V(G,oe,Q,Ce){var Fe=oe!==null?oe.key:null;if(typeof Q=="string"&&Q!==""||typeof Q=="number")return Fe!==null?null:C(G,oe,""+Q,Ce);if(typeof Q=="object"&&Q!==null){switch(Q.$$typeof){case Co:return Q.key===Fe?w(G,oe,Q,Ce):null;case ci:return Q.key===Fe?N(G,oe,Q,Ce):null;case ir:{var $e=Q._payload,ft=Q._init;return V(G,oe,ft($e),Ce)}}if(kt(Q)||ta(Q))return Fe!==null?null:D(G,oe,Q,Ce,null);yy(G,Q)}return typeof Q=="function"&&gy(G),null}function X(G,oe,Q,Ce,Fe){if(typeof Ce=="string"&&Ce!==""||typeof Ce=="number"){var $e=G.get(Q)||null;return C(oe,$e,""+Ce,Fe)}if(typeof Ce=="object"&&Ce!==null){switch(Ce.$$typeof){case Co:{var ft=G.get(Ce.key===null?Q:Ce.key)||null;return w(oe,ft,Ce,Fe)}case ci:{var gt=G.get(Ce.key===null?Q:Ce.key)||null;return N(oe,gt,Ce,Fe)}case ir:var Kt=Ce._payload,Ut=Ce._init;return X(G,oe,Q,Ut(Kt),Fe)}if(kt(Ce)||ta(Ce)){var In=G.get(Q)||null;return D(oe,In,Ce,Fe,null)}yy(oe,Ce)}return typeof Ce=="function"&&gy(oe),null}function J(G,oe,Q){{if(typeof G!="object"||G===null)return oe;switch(G.$$typeof){case Co:case ci:yw(G,Q);var Ce=G.key;if(typeof Ce!="string")break;if(oe===null){oe=new Set,oe.add(Ce);break}if(!oe.has(Ce)){oe.add(Ce);break}v("Encountered two children with the same key, `%s`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.",Ce);break;case ir:var Fe=G._payload,$e=G._init;J($e(Fe),oe,Q);break}}return oe}function ae(G,oe,Q,Ce){for(var Fe=null,$e=0;$e<Q.length;$e++){var ft=Q[$e];Fe=J(ft,Fe,G)}for(var gt=null,Kt=null,Ut=oe,In=0,Pt=0,Un=null;Ut!==null&&Pt<Q.length;Pt++){Ut.index>Pt?(Un=Ut,Ut=null):Un=Ut.sibling;var ai=V(G,Ut,Q[Pt],Ce);if(ai===null){Ut===null&&(Ut=Un);break}e&&Ut&&ai.alternate===null&&t(G,Ut),In=p(ai,In,Pt),Kt===null?gt=ai:Kt.sibling=ai,Kt=ai,Ut=Un}if(Pt===Q.length){if(a(G,Ut),Nr()){var Ur=Pt;Ec(G,Ur)}return gt}if(Ut===null){for(;Pt<Q.length;Pt++){var da=I(G,Q[Pt],Ce);da!==null&&(In=p(da,In,Pt),Kt===null?gt=da:Kt.sibling=da,Kt=da)}if(Nr()){var Ci=Pt;Ec(G,Ci)}return gt}for(var bi=s(G,Ut);Pt<Q.length;Pt++){var oi=X(bi,G,Pt,Q[Pt],Ce);oi!==null&&(e&&oi.alternate!==null&&bi.delete(oi.key===null?Pt:oi.key),In=p(oi,In,Pt),Kt===null?gt=oi:Kt.sibling=oi,Kt=oi)}if(e&&bi.forEach(function(_d){return t(G,_d)}),Nr()){var ul=Pt;Ec(G,ul)}return gt}function He(G,oe,Q,Ce){var Fe=ta(Q);if(typeof Fe!="function")throw new Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");{typeof Symbol=="function"&&Q[Symbol.toStringTag]==="Generator"&&($0||v("Using Generators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. Keep in mind you might need to polyfill these features for older browsers."),$0=!0),Q.entries===Fe&&(z0||v("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),z0=!0);var $e=Fe.call(Q);if($e)for(var ft=null,gt=$e.next();!gt.done;gt=$e.next()){var Kt=gt.value;ft=J(Kt,ft,G)}}var Ut=Fe.call(Q);if(Ut==null)throw new Error("An iterable object provided no iterator.");for(var In=null,Pt=null,Un=oe,ai=0,Ur=0,da=null,Ci=Ut.next();Un!==null&&!Ci.done;Ur++,Ci=Ut.next()){Un.index>Ur?(da=Un,Un=null):da=Un.sibling;var bi=V(G,Un,Ci.value,Ce);if(bi===null){Un===null&&(Un=da);break}e&&Un&&bi.alternate===null&&t(G,Un),ai=p(bi,ai,Ur),Pt===null?In=bi:Pt.sibling=bi,Pt=bi,Un=da}if(Ci.done){if(a(G,Un),Nr()){var oi=Ur;Ec(G,oi)}return In}if(Un===null){for(;!Ci.done;Ur++,Ci=Ut.next()){var ul=I(G,Ci.value,Ce);ul!==null&&(ai=p(ul,ai,Ur),Pt===null?In=ul:Pt.sibling=ul,Pt=ul)}if(Nr()){var _d=Ur;Ec(G,_d)}return In}for(var tv=s(G,Un);!Ci.done;Ur++,Ci=Ut.next()){var ds=X(tv,G,Ur,Ci.value,Ce);ds!==null&&(e&&ds.alternate!==null&&tv.delete(ds.key===null?Ur:ds.key),ai=p(ds,ai,Ur),Pt===null?In=ds:Pt.sibling=ds,Pt=ds)}if(e&&tv.forEach(function(f7){return t(G,f7)}),Nr()){var c7=Ur;Ec(G,c7)}return In}function at(G,oe,Q,Ce){if(oe!==null&&oe.tag===P){a(G,oe.sibling);var Fe=c(oe,Q);return Fe.return=G,Fe}a(G,oe);var $e=dS(Q,G.mode,Ce);return $e.return=G,$e}function Je(G,oe,Q,Ce){for(var Fe=Q.key,$e=oe;$e!==null;){if($e.key===Fe){var ft=Q.type;if(ft===ea){if($e.tag===F){a(G,$e.sibling);var gt=c($e,Q.props.children);return gt.return=G,gt._debugSource=Q._source,gt._debugOwner=Q._owner,gt}}else if($e.elementType===ft||ux($e,Q)||typeof ft=="object"&&ft!==null&&ft.$$typeof===ir&&gw(ft)===$e.type){a(G,$e.sibling);var Kt=c($e,Q.props);return Kt.ref=Th(G,$e,Q),Kt.return=G,Kt._debugSource=Q._source,Kt._debugOwner=Q._owner,Kt}a(G,$e);break}else t(G,$e);$e=$e.sibling}if(Q.type===ea){var Ut=Cu(Q.props.children,G.mode,Ce,Q.key);return Ut.return=G,Ut}else{var In=fS(Q,G.mode,Ce);return In.ref=Th(G,oe,Q),In.return=G,In}}function Nt(G,oe,Q,Ce){for(var Fe=Q.key,$e=oe;$e!==null;){if($e.key===Fe)if($e.tag===L&&$e.stateNode.containerInfo===Q.containerInfo&&$e.stateNode.implementation===Q.implementation){a(G,$e.sibling);var ft=c($e,Q.children||[]);return ft.return=G,ft}else{a(G,$e);break}else t(G,$e);$e=$e.sibling}var gt=pS(Q,G.mode,Ce);return gt.return=G,gt}function Rt(G,oe,Q,Ce){var Fe=typeof Q=="object"&&Q!==null&&Q.type===ea&&Q.key===null;if(Fe&&(Q=Q.props.children),typeof Q=="object"&&Q!==null){switch(Q.$$typeof){case Co:return g(Je(G,oe,Q,Ce));case ci:return g(Nt(G,oe,Q,Ce));case ir:var $e=Q._payload,ft=Q._init;return Rt(G,oe,ft($e),Ce)}if(kt(Q))return ae(G,oe,Q,Ce);if(ta(Q))return He(G,oe,Q,Ce);yy(G,Q)}return typeof Q=="string"&&Q!==""||typeof Q=="number"?g(at(G,oe,""+Q,Ce)):(typeof Q=="function"&&gy(G),a(G,oe))}return Rt}var dd=Ew(!0),Sw=Ew(!1);function Z5(e,t){if(e!==null&&t.child!==e.child)throw new Error("Resuming work not yet implemented.");if(t.child!==null){var a=t.child,s=Lc(a,a.pendingProps);for(t.child=s,s.return=t;a.sibling!==null;)a=a.sibling,s=s.sibling=Lc(a,a.pendingProps),s.return=t;s.sibling=null}}function J5(e,t){for(var a=e.child;a!==null;)_9(a,t),a=a.sibling}var Rh={},du=su(Rh),kh=su(Rh),Ey=su(Rh);function Sy(e){if(e===Rh)throw new Error("Expected host context to exist. This error is likely caused by a bug in React. Please file an issue.");return e}function Cw(){var e=Sy(Ey.current);return e}function H0(e,t){ri(Ey,t,e),ri(kh,e,e),ri(du,Rh,e);var a=p4(t);ni(du,e),ri(du,a,e)}function pd(e){ni(du,e),ni(kh,e),ni(Ey,e)}function F0(){var e=Sy(du.current);return e}function bw(e){Sy(Ey.current);var t=Sy(du.current),a=h4(t,e.type);t!==a&&(ri(kh,e,e),ri(du,a,e))}function V0(e){kh.current===e&&(ni(du,e),ni(kh,e))}var e6=0,ww=1,xw=1,_h=2,so=su(e6);function B0(e,t){return(e&t)!==0}function hd(e){return e&ww}function I0(e,t){return e&ww|t}function t6(e,t){return e|t}function pu(e,t){ri(so,t,e)}function vd(e){ni(so,e)}function n6(e,t){var a=e.memoizedState;return a!==null?a.dehydrated!==null:(e.memoizedProps,!0)}function Cy(e){for(var t=e;t!==null;){if(t.tag===W){var a=t.memoizedState;if(a!==null){var s=a.dehydrated;if(s===null||Ab(s)||K1(s))return t}}else if(t.tag===Ue&&t.memoizedProps.revealOrder!==void 0){var c=(t.flags&pt)!==it;if(c)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)return null;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Fi=0,lr=1,as=2,ur=4,Dr=8,Y0=[];function W0(){for(var e=0;e<Y0.length;e++){var t=Y0[e];t._workInProgressVersionPrimary=null}Y0.length=0}function r6(e,t){var a=t._getVersion,s=a(t._source);e.mutableSourceEagerHydrationData==null?e.mutableSourceEagerHydrationData=[t,s]:e.mutableSourceEagerHydrationData.push(t,s)}var je=l.ReactCurrentDispatcher,Oh=l.ReactCurrentBatchConfig,q0,md;q0=new Set;var Tc=le,Qt=null,cr=null,fr=null,by=!1,Nh=!1,Dh=0,i6=0,a6=25,fe=null,La=null,hu=-1,G0=!1;function Vt(){{var e=fe;La===null?La=[e]:La.push(e)}}function Me(){{var e=fe;La!==null&&(hu++,La[hu]!==e&&o6(e))}}function yd(e){e!=null&&!kt(e)&&v("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",fe,typeof e)}function o6(e){{var t=vt(Qt);if(!q0.has(t)&&(q0.add(t),La!==null)){for(var a="",s=30,c=0;c<=hu;c++){for(var p=La[c],g=c===hu?e:p,C=c+1+". "+p;C.length<s;)C+=" ";C+=g+`
|
|
211
|
-
`,a+=C}v(`React has detected a change in the order of Hooks called by %s. This will lead to bugs and errors if not fixed. For more information, read the Rules of Hooks: https://reactjs.org/link/rules-of-hooks
|
|
212
|
-
|
|
213
|
-
Previous render Next render
|
|
214
|
-
------------------------------------------------------
|
|
215
|
-
%s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
216
|
-
`,t,a)}}}function ii(){throw new Error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
|
|
217
|
-
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
218
|
-
2. You might be breaking the Rules of Hooks
|
|
219
|
-
3. You might have more than one copy of React in the same app
|
|
220
|
-
See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`)}function Q0(e,t){if(G0)return!1;if(t===null)return v("%s received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.",fe),!1;e.length!==t.length&&v(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
|
|
221
|
-
|
|
222
|
-
Previous: %s
|
|
223
|
-
Incoming: %s`,fe,"["+t.join(", ")+"]","["+e.join(", ")+"]");for(var a=0;a<t.length&&a<e.length;a++)if(!Ye(e[a],t[a]))return!1;return!0}function gd(e,t,a,s,c,p){Tc=p,Qt=t,La=e!==null?e._debugHookTypes:null,hu=-1,G0=e!==null&&e.type!==t.type,t.memoizedState=null,t.updateQueue=null,t.lanes=le,e!==null&&e.memoizedState!==null?je.current=Ww:La!==null?je.current=Yw:je.current=Iw;var g=a(s,c);if(Nh){var C=0;do{if(Nh=!1,Dh=0,C>=a6)throw new Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");C+=1,G0=!1,cr=null,fr=null,t.updateQueue=null,hu=-1,je.current=qw,g=a(s,c)}while(Nh)}je.current=zy,t._debugHookTypes=La;var w=cr!==null&&cr.next!==null;if(Tc=le,Qt=null,cr=null,fr=null,fe=null,La=null,hu=-1,e!==null&&(e.flags&ar)!==(t.flags&ar)&&(e.mode&xt)!==st&&v("Internal React error: Expected static flag was missing. Please notify the React team."),by=!1,w)throw new Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");return g}function Ed(){var e=Dh!==0;return Dh=0,e}function Tw(e,t,a){t.updateQueue=e.updateQueue,(t.mode&Mi)!==st?t.flags&=~(Ds|Kr|hn|Et):t.flags&=~(hn|Et),e.lanes=Il(e.lanes,a)}function Rw(){if(je.current=zy,by){for(var e=Qt.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}by=!1}Tc=le,Qt=null,cr=null,fr=null,La=null,hu=-1,fe=null,jw=!1,Nh=!1,Dh=0}function os(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return fr===null?Qt.memoizedState=fr=e:fr=fr.next=e,fr}function Ma(){var e;if(cr===null){var t=Qt.alternate;t!==null?e=t.memoizedState:e=null}else e=cr.next;var a;if(fr===null?a=Qt.memoizedState:a=fr.next,a!==null)fr=a,a=fr.next,cr=e;else{if(e===null)throw new Error("Rendered more hooks than during the previous render.");cr=e;var s={memoizedState:cr.memoizedState,baseState:cr.baseState,baseQueue:cr.baseQueue,queue:cr.queue,next:null};fr===null?Qt.memoizedState=fr=s:fr=fr.next=s}return fr}function kw(){return{lastEffect:null,stores:null}}function K0(e,t){return typeof t=="function"?t(e):t}function X0(e,t,a){var s=os(),c;a!==void 0?c=a(t):c=t,s.memoizedState=s.baseState=c;var p={pending:null,interleaved:null,lanes:le,dispatch:null,lastRenderedReducer:e,lastRenderedState:c};s.queue=p;var g=p.dispatch=c6.bind(null,Qt,p);return[s.memoizedState,g]}function Z0(e,t,a){var s=Ma(),c=s.queue;if(c===null)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");c.lastRenderedReducer=e;var p=cr,g=p.baseQueue,C=c.pending;if(C!==null){if(g!==null){var w=g.next,N=C.next;g.next=N,C.next=w}p.baseQueue!==g&&v("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),p.baseQueue=g=C,c.pending=null}if(g!==null){var D=g.next,I=p.baseState,V=null,X=null,J=null,ae=D;do{var He=ae.lane;if(Fs(Tc,He)){if(J!==null){var Je={lane:_t,action:ae.action,hasEagerState:ae.hasEagerState,eagerState:ae.eagerState,next:null};J=J.next=Je}if(ae.hasEagerState)I=ae.eagerState;else{var Nt=ae.action;I=e(I,Nt)}}else{var at={lane:He,action:ae.action,hasEagerState:ae.hasEagerState,eagerState:ae.eagerState,next:null};J===null?(X=J=at,V=I):J=J.next=at,Qt.lanes=St(Qt.lanes,He),Kh(He)}ae=ae.next}while(ae!==null&&ae!==D);J===null?V=I:J.next=X,Ye(I,s.memoizedState)||Ph(),s.memoizedState=I,s.baseState=V,s.baseQueue=J,c.lastRenderedState=I}var Rt=c.interleaved;if(Rt!==null){var G=Rt;do{var oe=G.lane;Qt.lanes=St(Qt.lanes,oe),Kh(oe),G=G.next}while(G!==Rt)}else g===null&&(c.lanes=le);var Q=c.dispatch;return[s.memoizedState,Q]}function J0(e,t,a){var s=Ma(),c=s.queue;if(c===null)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");c.lastRenderedReducer=e;var p=c.dispatch,g=c.pending,C=s.memoizedState;if(g!==null){c.pending=null;var w=g.next,N=w;do{var D=N.action;C=e(C,D),N=N.next}while(N!==w);Ye(C,s.memoizedState)||Ph(),s.memoizedState=C,s.baseQueue===null&&(s.baseState=C),c.lastRenderedState=C}return[C,p]}function rL(e,t,a){}function iL(e,t,a){}function eE(e,t,a){var s=Qt,c=os(),p,g=Nr();if(g){if(a===void 0)throw new Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");p=a(),md||p!==a()&&(v("The result of getServerSnapshot should be cached to avoid an infinite loop"),md=!0)}else{if(p=t(),!md){var C=t();Ye(p,C)||(v("The result of getSnapshot should be cached to avoid an infinite loop"),md=!0)}var w=Jy();if(w===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");nc(w,Tc)||_w(s,t,p)}c.memoizedState=p;var N={value:p,getSnapshot:t};return c.queue=N,ky(Nw.bind(null,s,N,e),[e]),s.flags|=hn,Lh(lr|Dr,Ow.bind(null,s,N,p,t),void 0,null),p}function wy(e,t,a){var s=Qt,c=Ma(),p=t();if(!md){var g=t();Ye(p,g)||(v("The result of getSnapshot should be cached to avoid an infinite loop"),md=!0)}var C=c.memoizedState,w=!Ye(C,p);w&&(c.memoizedState=p,Ph());var N=c.queue;if(Ah(Nw.bind(null,s,N,e),[e]),N.getSnapshot!==t||w||fr!==null&&fr.memoizedState.tag&lr){s.flags|=hn,Lh(lr|Dr,Ow.bind(null,s,N,p,t),void 0,null);var D=Jy();if(D===null)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");nc(D,Tc)||_w(s,t,p)}return p}function _w(e,t,a){e.flags|=qu;var s={getSnapshot:t,value:a},c=Qt.updateQueue;if(c===null)c=kw(),Qt.updateQueue=c,c.stores=[s];else{var p=c.stores;p===null?c.stores=[s]:p.push(s)}}function Ow(e,t,a,s){t.value=a,t.getSnapshot=s,Dw(t)&&Lw(e)}function Nw(e,t,a){var s=function(){Dw(t)&&Lw(e)};return a(s)}function Dw(e){var t=e.getSnapshot,a=e.value;try{var s=t();return!Ye(a,s)}catch{return!0}}function Lw(e){var t=Hi(e,ct);t!==null&&vr(t,e,ct,nn)}function xy(e){var t=os();typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e;var a={pending:null,interleaved:null,lanes:le,dispatch:null,lastRenderedReducer:K0,lastRenderedState:e};t.queue=a;var s=a.dispatch=f6.bind(null,Qt,a);return[t.memoizedState,s]}function tE(e){return Z0(K0)}function nE(e){return J0(K0)}function Lh(e,t,a,s){var c={tag:e,create:t,destroy:a,deps:s,next:null},p=Qt.updateQueue;if(p===null)p=kw(),Qt.updateQueue=p,p.lastEffect=c.next=c;else{var g=p.lastEffect;if(g===null)p.lastEffect=c.next=c;else{var C=g.next;g.next=c,c.next=C,p.lastEffect=c}}return c}function rE(e){var t=os();{var a={current:e};return t.memoizedState=a,a}}function Ty(e){var t=Ma();return t.memoizedState}function Mh(e,t,a,s){var c=os(),p=s===void 0?null:s;Qt.flags|=e,c.memoizedState=Lh(lr|t,a,void 0,p)}function Ry(e,t,a,s){var c=Ma(),p=s===void 0?null:s,g=void 0;if(cr!==null){var C=cr.memoizedState;if(g=C.destroy,p!==null){var w=C.deps;if(Q0(p,w)){c.memoizedState=Lh(t,a,g,p);return}}}Qt.flags|=e,c.memoizedState=Lh(lr|t,a,g,p)}function ky(e,t){return(Qt.mode&Mi)!==st?Mh(Ds|hn|Vo,Dr,e,t):Mh(hn|Vo,Dr,e,t)}function Ah(e,t){return Ry(hn,Dr,e,t)}function iE(e,t){return Mh(Et,as,e,t)}function _y(e,t){return Ry(Et,as,e,t)}function aE(e,t){var a=Et;return a|=Qr,(Qt.mode&Mi)!==st&&(a|=Kr),Mh(a,ur,e,t)}function Oy(e,t){return Ry(Et,ur,e,t)}function Mw(e,t){if(typeof t=="function"){var a=t,s=e();return a(s),function(){a(null)}}else if(t!=null){var c=t;c.hasOwnProperty("current")||v("Expected useImperativeHandle() first argument to either be a ref callback or React.createRef() object. Instead received: %s.","an object with keys {"+Object.keys(c).join(", ")+"}");var p=e();return c.current=p,function(){c.current=null}}}function oE(e,t,a){typeof t!="function"&&v("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null");var s=a!=null?a.concat([e]):null,c=Et;return c|=Qr,(Qt.mode&Mi)!==st&&(c|=Kr),Mh(c,ur,Mw.bind(null,t,e),s)}function Ny(e,t,a){typeof t!="function"&&v("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null");var s=a!=null?a.concat([e]):null;return Ry(Et,ur,Mw.bind(null,t,e),s)}function s6(e,t){}var Dy=s6;function sE(e,t){var a=os(),s=t===void 0?null:t;return a.memoizedState=[e,s],e}function Ly(e,t){var a=Ma(),s=t===void 0?null:t,c=a.memoizedState;if(c!==null&&s!==null){var p=c[1];if(Q0(s,p))return c[0]}return a.memoizedState=[e,s],e}function lE(e,t){var a=os(),s=t===void 0?null:t,c=e();return a.memoizedState=[c,s],c}function My(e,t){var a=Ma(),s=t===void 0?null:t,c=a.memoizedState;if(c!==null&&s!==null){var p=c[1];if(Q0(s,p))return c[0]}var g=e();return a.memoizedState=[g,s],g}function uE(e){var t=os();return t.memoizedState=e,e}function Aw(e){var t=Ma(),a=cr,s=a.memoizedState;return $w(t,s,e)}function zw(e){var t=Ma();if(cr===null)return t.memoizedState=e,e;var a=cr.memoizedState;return $w(t,a,e)}function $w(e,t,a){var s=!v1(Tc);if(s){if(!Ye(a,t)){var c=zp();Qt.lanes=St(Qt.lanes,c),Kh(c),e.baseState=!0}return t}else return e.baseState&&(e.baseState=!1,Ph()),e.memoizedState=a,a}function l6(e,t,a){var s=zi();Fn(Sr(s,sr)),e(!0);var c=Oh.transition;Oh.transition={};var p=Oh.transition;Oh.transition._updatedFibers=new Set;try{e(!1),t()}finally{if(Fn(s),Oh.transition=c,c===null&&p._updatedFibers){var g=p._updatedFibers.size;g>10&&m("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."),p._updatedFibers.clear()}}}function cE(){var e=xy(!1),t=e[0],a=e[1],s=l6.bind(null,a),c=os();return c.memoizedState=s,[t,s]}function Uw(){var e=tE(),t=e[0],a=Ma(),s=a.memoizedState;return[t,s]}function Pw(){var e=nE(),t=e[0],a=Ma(),s=a.memoizedState;return[t,s]}var jw=!1;function u6(){return jw}function fE(){var e=os(),t=Jy(),a=t.identifierPrefix,s;if(Nr()){var c=w5();s=":"+a+"R"+c;var p=Dh++;p>0&&(s+="H"+p.toString(32)),s+=":"}else{var g=i6++;s=":"+a+"r"+g.toString(32)+":"}return e.memoizedState=s,s}function Ay(){var e=Ma(),t=e.memoizedState;return t}function c6(e,t,a){typeof arguments[3]=="function"&&v("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect().");var s=Eu(e),c={lane:s,action:a,hasEagerState:!1,eagerState:null,next:null};if(Hw(e))Fw(t,c);else{var p=iw(e,t,c,s);if(p!==null){var g=Si();vr(p,e,s,g),Vw(p,t,s)}}Bw(e,s)}function f6(e,t,a){typeof arguments[3]=="function"&&v("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect().");var s=Eu(e),c={lane:s,action:a,hasEagerState:!1,eagerState:null,next:null};if(Hw(e))Fw(t,c);else{var p=e.alternate;if(e.lanes===le&&(p===null||p.lanes===le)){var g=t.lastRenderedReducer;if(g!==null){var C;C=je.current,je.current=lo;try{var w=t.lastRenderedState,N=g(w,a);if(c.hasEagerState=!0,c.eagerState=N,Ye(N,w)){B5(e,t,c,s);return}}catch{}finally{je.current=C}}}var D=iw(e,t,c,s);if(D!==null){var I=Si();vr(D,e,s,I),Vw(D,t,s)}}Bw(e,s)}function Hw(e){var t=e.alternate;return e===Qt||t!==null&&t===Qt}function Fw(e,t){Nh=by=!0;var a=e.pending;a===null?t.next=t:(t.next=a.next,a.next=t),e.pending=t}function Vw(e,t,a){if(Ap(a)){var s=t.lanes;s=$p(s,e.pendingLanes);var c=St(s,a);t.lanes=c,Yl(e,c)}}function Bw(e,t,a){Go(e,t)}var zy={readContext:Jn,useCallback:ii,useContext:ii,useEffect:ii,useImperativeHandle:ii,useInsertionEffect:ii,useLayoutEffect:ii,useMemo:ii,useReducer:ii,useRef:ii,useState:ii,useDebugValue:ii,useDeferredValue:ii,useTransition:ii,useMutableSource:ii,useSyncExternalStore:ii,useId:ii,unstable_isNewReconciler:he},Iw=null,Yw=null,Ww=null,qw=null,ss=null,lo=null,$y=null;{var dE=function(){v("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().")},mt=function(){v("Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. You can only call Hooks at the top level of your React function. For more information, see https://reactjs.org/link/rules-of-hooks")};Iw={readContext:function(e){return Jn(e)},useCallback:function(e,t){return fe="useCallback",Vt(),yd(t),sE(e,t)},useContext:function(e){return fe="useContext",Vt(),Jn(e)},useEffect:function(e,t){return fe="useEffect",Vt(),yd(t),ky(e,t)},useImperativeHandle:function(e,t,a){return fe="useImperativeHandle",Vt(),yd(a),oE(e,t,a)},useInsertionEffect:function(e,t){return fe="useInsertionEffect",Vt(),yd(t),iE(e,t)},useLayoutEffect:function(e,t){return fe="useLayoutEffect",Vt(),yd(t),aE(e,t)},useMemo:function(e,t){fe="useMemo",Vt(),yd(t);var a=je.current;je.current=ss;try{return lE(e,t)}finally{je.current=a}},useReducer:function(e,t,a){fe="useReducer",Vt();var s=je.current;je.current=ss;try{return X0(e,t,a)}finally{je.current=s}},useRef:function(e){return fe="useRef",Vt(),rE(e)},useState:function(e){fe="useState",Vt();var t=je.current;je.current=ss;try{return xy(e)}finally{je.current=t}},useDebugValue:function(e,t){return fe="useDebugValue",Vt(),void 0},useDeferredValue:function(e){return fe="useDeferredValue",Vt(),uE(e)},useTransition:function(){return fe="useTransition",Vt(),cE()},useMutableSource:function(e,t,a){return fe="useMutableSource",Vt(),void 0},useSyncExternalStore:function(e,t,a){return fe="useSyncExternalStore",Vt(),eE(e,t,a)},useId:function(){return fe="useId",Vt(),fE()},unstable_isNewReconciler:he},Yw={readContext:function(e){return Jn(e)},useCallback:function(e,t){return fe="useCallback",Me(),sE(e,t)},useContext:function(e){return fe="useContext",Me(),Jn(e)},useEffect:function(e,t){return fe="useEffect",Me(),ky(e,t)},useImperativeHandle:function(e,t,a){return fe="useImperativeHandle",Me(),oE(e,t,a)},useInsertionEffect:function(e,t){return fe="useInsertionEffect",Me(),iE(e,t)},useLayoutEffect:function(e,t){return fe="useLayoutEffect",Me(),aE(e,t)},useMemo:function(e,t){fe="useMemo",Me();var a=je.current;je.current=ss;try{return lE(e,t)}finally{je.current=a}},useReducer:function(e,t,a){fe="useReducer",Me();var s=je.current;je.current=ss;try{return X0(e,t,a)}finally{je.current=s}},useRef:function(e){return fe="useRef",Me(),rE(e)},useState:function(e){fe="useState",Me();var t=je.current;je.current=ss;try{return xy(e)}finally{je.current=t}},useDebugValue:function(e,t){return fe="useDebugValue",Me(),void 0},useDeferredValue:function(e){return fe="useDeferredValue",Me(),uE(e)},useTransition:function(){return fe="useTransition",Me(),cE()},useMutableSource:function(e,t,a){return fe="useMutableSource",Me(),void 0},useSyncExternalStore:function(e,t,a){return fe="useSyncExternalStore",Me(),eE(e,t,a)},useId:function(){return fe="useId",Me(),fE()},unstable_isNewReconciler:he},Ww={readContext:function(e){return Jn(e)},useCallback:function(e,t){return fe="useCallback",Me(),Ly(e,t)},useContext:function(e){return fe="useContext",Me(),Jn(e)},useEffect:function(e,t){return fe="useEffect",Me(),Ah(e,t)},useImperativeHandle:function(e,t,a){return fe="useImperativeHandle",Me(),Ny(e,t,a)},useInsertionEffect:function(e,t){return fe="useInsertionEffect",Me(),_y(e,t)},useLayoutEffect:function(e,t){return fe="useLayoutEffect",Me(),Oy(e,t)},useMemo:function(e,t){fe="useMemo",Me();var a=je.current;je.current=lo;try{return My(e,t)}finally{je.current=a}},useReducer:function(e,t,a){fe="useReducer",Me();var s=je.current;je.current=lo;try{return Z0(e,t,a)}finally{je.current=s}},useRef:function(e){return fe="useRef",Me(),Ty()},useState:function(e){fe="useState",Me();var t=je.current;je.current=lo;try{return tE(e)}finally{je.current=t}},useDebugValue:function(e,t){return fe="useDebugValue",Me(),Dy()},useDeferredValue:function(e){return fe="useDeferredValue",Me(),Aw(e)},useTransition:function(){return fe="useTransition",Me(),Uw()},useMutableSource:function(e,t,a){return fe="useMutableSource",Me(),void 0},useSyncExternalStore:function(e,t,a){return fe="useSyncExternalStore",Me(),wy(e,t)},useId:function(){return fe="useId",Me(),Ay()},unstable_isNewReconciler:he},qw={readContext:function(e){return Jn(e)},useCallback:function(e,t){return fe="useCallback",Me(),Ly(e,t)},useContext:function(e){return fe="useContext",Me(),Jn(e)},useEffect:function(e,t){return fe="useEffect",Me(),Ah(e,t)},useImperativeHandle:function(e,t,a){return fe="useImperativeHandle",Me(),Ny(e,t,a)},useInsertionEffect:function(e,t){return fe="useInsertionEffect",Me(),_y(e,t)},useLayoutEffect:function(e,t){return fe="useLayoutEffect",Me(),Oy(e,t)},useMemo:function(e,t){fe="useMemo",Me();var a=je.current;je.current=$y;try{return My(e,t)}finally{je.current=a}},useReducer:function(e,t,a){fe="useReducer",Me();var s=je.current;je.current=$y;try{return J0(e,t,a)}finally{je.current=s}},useRef:function(e){return fe="useRef",Me(),Ty()},useState:function(e){fe="useState",Me();var t=je.current;je.current=$y;try{return nE(e)}finally{je.current=t}},useDebugValue:function(e,t){return fe="useDebugValue",Me(),Dy()},useDeferredValue:function(e){return fe="useDeferredValue",Me(),zw(e)},useTransition:function(){return fe="useTransition",Me(),Pw()},useMutableSource:function(e,t,a){return fe="useMutableSource",Me(),void 0},useSyncExternalStore:function(e,t,a){return fe="useSyncExternalStore",Me(),wy(e,t)},useId:function(){return fe="useId",Me(),Ay()},unstable_isNewReconciler:he},ss={readContext:function(e){return dE(),Jn(e)},useCallback:function(e,t){return fe="useCallback",mt(),Vt(),sE(e,t)},useContext:function(e){return fe="useContext",mt(),Vt(),Jn(e)},useEffect:function(e,t){return fe="useEffect",mt(),Vt(),ky(e,t)},useImperativeHandle:function(e,t,a){return fe="useImperativeHandle",mt(),Vt(),oE(e,t,a)},useInsertionEffect:function(e,t){return fe="useInsertionEffect",mt(),Vt(),iE(e,t)},useLayoutEffect:function(e,t){return fe="useLayoutEffect",mt(),Vt(),aE(e,t)},useMemo:function(e,t){fe="useMemo",mt(),Vt();var a=je.current;je.current=ss;try{return lE(e,t)}finally{je.current=a}},useReducer:function(e,t,a){fe="useReducer",mt(),Vt();var s=je.current;je.current=ss;try{return X0(e,t,a)}finally{je.current=s}},useRef:function(e){return fe="useRef",mt(),Vt(),rE(e)},useState:function(e){fe="useState",mt(),Vt();var t=je.current;je.current=ss;try{return xy(e)}finally{je.current=t}},useDebugValue:function(e,t){return fe="useDebugValue",mt(),Vt(),void 0},useDeferredValue:function(e){return fe="useDeferredValue",mt(),Vt(),uE(e)},useTransition:function(){return fe="useTransition",mt(),Vt(),cE()},useMutableSource:function(e,t,a){return fe="useMutableSource",mt(),Vt(),void 0},useSyncExternalStore:function(e,t,a){return fe="useSyncExternalStore",mt(),Vt(),eE(e,t,a)},useId:function(){return fe="useId",mt(),Vt(),fE()},unstable_isNewReconciler:he},lo={readContext:function(e){return dE(),Jn(e)},useCallback:function(e,t){return fe="useCallback",mt(),Me(),Ly(e,t)},useContext:function(e){return fe="useContext",mt(),Me(),Jn(e)},useEffect:function(e,t){return fe="useEffect",mt(),Me(),Ah(e,t)},useImperativeHandle:function(e,t,a){return fe="useImperativeHandle",mt(),Me(),Ny(e,t,a)},useInsertionEffect:function(e,t){return fe="useInsertionEffect",mt(),Me(),_y(e,t)},useLayoutEffect:function(e,t){return fe="useLayoutEffect",mt(),Me(),Oy(e,t)},useMemo:function(e,t){fe="useMemo",mt(),Me();var a=je.current;je.current=lo;try{return My(e,t)}finally{je.current=a}},useReducer:function(e,t,a){fe="useReducer",mt(),Me();var s=je.current;je.current=lo;try{return Z0(e,t,a)}finally{je.current=s}},useRef:function(e){return fe="useRef",mt(),Me(),Ty()},useState:function(e){fe="useState",mt(),Me();var t=je.current;je.current=lo;try{return tE(e)}finally{je.current=t}},useDebugValue:function(e,t){return fe="useDebugValue",mt(),Me(),Dy()},useDeferredValue:function(e){return fe="useDeferredValue",mt(),Me(),Aw(e)},useTransition:function(){return fe="useTransition",mt(),Me(),Uw()},useMutableSource:function(e,t,a){return fe="useMutableSource",mt(),Me(),void 0},useSyncExternalStore:function(e,t,a){return fe="useSyncExternalStore",mt(),Me(),wy(e,t)},useId:function(){return fe="useId",mt(),Me(),Ay()},unstable_isNewReconciler:he},$y={readContext:function(e){return dE(),Jn(e)},useCallback:function(e,t){return fe="useCallback",mt(),Me(),Ly(e,t)},useContext:function(e){return fe="useContext",mt(),Me(),Jn(e)},useEffect:function(e,t){return fe="useEffect",mt(),Me(),Ah(e,t)},useImperativeHandle:function(e,t,a){return fe="useImperativeHandle",mt(),Me(),Ny(e,t,a)},useInsertionEffect:function(e,t){return fe="useInsertionEffect",mt(),Me(),_y(e,t)},useLayoutEffect:function(e,t){return fe="useLayoutEffect",mt(),Me(),Oy(e,t)},useMemo:function(e,t){fe="useMemo",mt(),Me();var a=je.current;je.current=lo;try{return My(e,t)}finally{je.current=a}},useReducer:function(e,t,a){fe="useReducer",mt(),Me();var s=je.current;je.current=lo;try{return J0(e,t,a)}finally{je.current=s}},useRef:function(e){return fe="useRef",mt(),Me(),Ty()},useState:function(e){fe="useState",mt(),Me();var t=je.current;je.current=lo;try{return nE(e)}finally{je.current=t}},useDebugValue:function(e,t){return fe="useDebugValue",mt(),Me(),Dy()},useDeferredValue:function(e){return fe="useDeferredValue",mt(),Me(),zw(e)},useTransition:function(){return fe="useTransition",mt(),Me(),Pw()},useMutableSource:function(e,t,a){return fe="useMutableSource",mt(),Me(),void 0},useSyncExternalStore:function(e,t,a){return fe="useSyncExternalStore",mt(),Me(),wy(e,t)},useId:function(){return fe="useId",mt(),Me(),Ay()},unstable_isNewReconciler:he}}var vu=i.unstable_now,Gw=0,Uy=-1,zh=-1,Py=-1,pE=!1,jy=!1;function Qw(){return pE}function d6(){jy=!0}function p6(){pE=!1,jy=!1}function h6(){pE=jy,jy=!1}function Kw(){return Gw}function Xw(){Gw=vu()}function hE(e){zh=vu(),e.actualStartTime<0&&(e.actualStartTime=vu())}function Zw(e){zh=-1}function Hy(e,t){if(zh>=0){var a=vu()-zh;e.actualDuration+=a,t&&(e.selfBaseDuration=a),zh=-1}}function ls(e){if(Uy>=0){var t=vu()-Uy;Uy=-1;for(var a=e.return;a!==null;){switch(a.tag){case k:var s=a.stateNode;s.effectDuration+=t;return;case pe:var c=a.stateNode;c.effectDuration+=t;return}a=a.return}}}function vE(e){if(Py>=0){var t=vu()-Py;Py=-1;for(var a=e.return;a!==null;){switch(a.tag){case k:var s=a.stateNode;s!==null&&(s.passiveEffectDuration+=t);return;case pe:var c=a.stateNode;c!==null&&(c.passiveEffectDuration+=t);return}a=a.return}}}function us(){Uy=vu()}function mE(){Py=vu()}function yE(e){for(var t=e.child;t;)e.actualDuration+=t.actualDuration,t=t.sibling}function Rc(e,t){return{value:e,source:t,stack:bl(t),digest:null}}function gE(e,t,a){return{value:e,source:null,stack:a??null,digest:t??null}}function v6(e,t){return!0}function EE(e,t){try{var a=v6(e,t);if(a===!1)return;var s=t.value,c=t.source,p=t.stack,g=p!==null?p:"";if(s!=null&&s._suppressLogging){if(e.tag===x)return;console.error(s)}var C=c?vt(c):null,w=C?"The above error occurred in the <"+C+"> component:":"The above error occurred in one of your React components:",N;if(e.tag===k)N=`Consider adding an error boundary to your tree to customize error handling behavior.
|
|
224
|
-
Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries.`;else{var D=vt(e)||"Anonymous";N="React will try to recreate this component tree from scratch "+("using the error boundary you provided, "+D+".")}var I=w+`
|
|
225
|
-
`+g+`
|
|
226
|
-
|
|
227
|
-
`+(""+N);console.error(I)}catch(V){setTimeout(function(){throw V})}}var m6=typeof WeakMap=="function"?WeakMap:Map;function Jw(e,t,a){var s=rl(nn,a);s.tag=E0,s.payload={element:null};var c=t.value;return s.callback=function(){l9(c),EE(e,t)},s}function SE(e,t,a){var s=rl(nn,a);s.tag=E0;var c=e.type.getDerivedStateFromError;if(typeof c=="function"){var p=t.value;s.payload=function(){return c(p)},s.callback=function(){cx(e),EE(e,t)}}var g=e.stateNode;return g!==null&&typeof g.componentDidCatch=="function"&&(s.callback=function(){cx(e),EE(e,t),typeof c!="function"&&o9(this);var w=t.value,N=t.stack;this.componentDidCatch(w,{componentStack:N!==null?N:""}),typeof c!="function"&&(ti(e.lanes,ct)||v("%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.",vt(e)||"Unknown"))}),s}function e2(e,t,a){var s=e.pingCache,c;if(s===null?(s=e.pingCache=new m6,c=new Set,s.set(t,c)):(c=s.get(t),c===void 0&&(c=new Set,s.set(t,c))),!c.has(a)){c.add(a);var p=u9.bind(null,e,t,a);or&&Xh(e,a),t.then(p,p)}}function y6(e,t,a,s){var c=e.updateQueue;if(c===null){var p=new Set;p.add(a),e.updateQueue=p}else c.add(a)}function g6(e,t){var a=e.tag;if((e.mode&xt)===st&&(a===b||a===ue||a===se)){var s=e.alternate;s?(e.updateQueue=s.updateQueue,e.memoizedState=s.memoizedState,e.lanes=s.lanes):(e.updateQueue=null,e.memoizedState=null)}}function t2(e){var t=e;do{if(t.tag===W&&n6(t))return t;t=t.return}while(t!==null);return null}function n2(e,t,a,s,c){if((e.mode&xt)===st){if(e===t)e.flags|=Gn;else{if(e.flags|=pt,a.flags|=Gu,a.flags&=~(rf|fi),a.tag===x){var p=a.alternate;if(p===null)a.tag=Ge;else{var g=rl(nn,ct);g.tag=cy,fu(a,g,ct)}}a.lanes=St(a.lanes,ct)}return e}return e.flags|=Gn,e.lanes=c,e}function E6(e,t,a,s,c){if(a.flags|=fi,or&&Xh(e,c),s!==null&&typeof s=="object"&&typeof s.then=="function"){var p=s;g6(a),Nr()&&a.mode&xt&&Wb();var g=t2(t);if(g!==null){g.flags&=~xn,n2(g,t,a,e,c),g.mode&xt&&e2(e,p,c),y6(g,e,p);return}else{if(!Bl(c)){e2(e,p,c),JE();return}var C=new Error("A component suspended while responding to synchronous input. This will cause the UI to be replaced with a loading indicator. To fix, updates that suspend should be wrapped with startTransition.");s=C}}else if(Nr()&&a.mode&xt){Wb();var w=t2(t);if(w!==null){(w.flags&Gn)===it&&(w.flags|=xn),n2(w,t,a,e,c),d0(Rc(s,a));return}}s=Rc(s,a),Zk(s);var N=t;do{switch(N.tag){case k:{var D=s;N.flags|=Gn;var I=Hn(c);N.lanes=St(N.lanes,I);var V=Jw(N,D,I);b0(N,V);return}case x:var X=s,J=N.type,ae=N.stateNode;if((N.flags&pt)===it&&(typeof J.getDerivedStateFromError=="function"||ae!==null&&typeof ae.componentDidCatch=="function"&&!tx(ae))){N.flags|=Gn;var He=Hn(c);N.lanes=St(N.lanes,He);var at=SE(N,X,He);b0(N,at);return}break}N=N.return}while(N!==null)}function S6(){return null}var $h=l.ReactCurrentOwner,uo=!1,CE,Uh,bE,wE,xE,kc,TE,Fy;CE={},Uh={},bE={},wE={},xE={},kc=!1,TE={},Fy={};function gi(e,t,a,s){e===null?t.child=Sw(t,null,a,s):t.child=dd(t,e.child,a,s)}function C6(e,t,a,s){t.child=dd(t,e.child,null,s),t.child=dd(t,null,a,s)}function r2(e,t,a,s,c){if(t.type!==t.elementType){var p=a.propTypes;p&&ro(p,s,"prop",Lt(a))}var g=a.render,C=t.ref,w,N;fd(t,c),qo(t);{if($h.current=t,Wr(!0),w=gd(e,t,g,s,C,c),N=Ed(),t.mode&En){jn(!0);try{w=gd(e,t,g,s,C,c),N=Ed()}finally{jn(!1)}}Wr(!1)}return Ls(),e!==null&&!uo?(Tw(e,t,c),il(e,t,c)):(Nr()&&N&&o0(t),t.flags|=Ho,gi(e,t,w,c),t.child)}function i2(e,t,a,s,c){if(e===null){var p=a.type;if(R9(p)&&a.compare===null&&a.defaultProps===void 0){var g=p;return g=kd(p),t.tag=se,t.type=g,_E(t,p),a2(e,t,g,s,c)}{var C=p.propTypes;C&&ro(C,s,"prop",Lt(p))}var w=cS(a.type,null,s,t,t.mode,c);return w.ref=t.ref,w.return=t,t.child=w,w}{var N=a.type,D=N.propTypes;D&&ro(D,s,"prop",Lt(N))}var I=e.child,V=AE(e,c);if(!V){var X=I.memoizedProps,J=a.compare;if(J=J!==null?J:nt,J(X,s)&&e.ref===t.ref)return il(e,t,c)}t.flags|=Ho;var ae=Lc(I,s);return ae.ref=t.ref,ae.return=t,t.child=ae,ae}function a2(e,t,a,s,c){if(t.type!==t.elementType){var p=t.elementType;if(p.$$typeof===ir){var g=p,C=g._payload,w=g._init;try{p=w(C)}catch{p=null}var N=p&&p.propTypes;N&&ro(N,s,"prop",Lt(p))}}if(e!==null){var D=e.memoizedProps;if(nt(D,s)&&e.ref===t.ref&&t.type===e.type)if(uo=!1,t.pendingProps=s=D,AE(e,c))(e.flags&Gu)!==it&&(uo=!0);else return t.lanes=e.lanes,il(e,t,c)}return RE(e,t,a,s,c)}function o2(e,t,a){var s=t.pendingProps,c=s.children,p=e!==null?e.memoizedState:null;if(s.mode==="hidden"||O)if((t.mode&xt)===st){var g={baseLanes:le,cachePool:null,transitions:null};t.memoizedState=g,eg(t,a)}else if(ti(a,ei)){var I={baseLanes:le,cachePool:null,transitions:null};t.memoizedState=I;var V=p!==null?p.baseLanes:a;eg(t,V)}else{var C=null,w;if(p!==null){var N=p.baseLanes;w=St(N,a)}else w=a;t.lanes=t.childLanes=ei;var D={baseLanes:w,cachePool:C,transitions:null};return t.memoizedState=D,t.updateQueue=null,eg(t,w),null}else{var X;p!==null?(X=St(p.baseLanes,a),t.memoizedState=null):X=a,eg(t,X)}return gi(e,t,c,a),t.child}function b6(e,t,a){var s=t.pendingProps;return gi(e,t,s,a),t.child}function w6(e,t,a){var s=t.pendingProps.children;return gi(e,t,s,a),t.child}function x6(e,t,a){{t.flags|=Et;{var s=t.stateNode;s.effectDuration=0,s.passiveEffectDuration=0}}var c=t.pendingProps,p=c.children;return gi(e,t,p,a),t.child}function s2(e,t){var a=t.ref;(e===null&&a!==null||e!==null&&e.ref!==a)&&(t.flags|=Gr,t.flags|=Ep)}function RE(e,t,a,s,c){if(t.type!==t.elementType){var p=a.propTypes;p&&ro(p,s,"prop",Lt(a))}var g;{var C=ad(t,a,!0);g=od(t,C)}var w,N;fd(t,c),qo(t);{if($h.current=t,Wr(!0),w=gd(e,t,a,s,g,c),N=Ed(),t.mode&En){jn(!0);try{w=gd(e,t,a,s,g,c),N=Ed()}finally{jn(!1)}}Wr(!1)}return Ls(),e!==null&&!uo?(Tw(e,t,c),il(e,t,c)):(Nr()&&N&&o0(t),t.flags|=Ho,gi(e,t,w,c),t.child)}function l2(e,t,a,s,c){{switch(F9(t)){case!1:{var p=t.stateNode,g=t.type,C=new g(t.memoizedProps,p.context),w=C.state;p.updater.enqueueSetState(p,w,null);break}case!0:{t.flags|=pt,t.flags|=Gn;var N=new Error("Simulated error coming from DevTools"),D=Hn(c);t.lanes=St(t.lanes,D);var I=SE(t,Rc(N,t),D);b0(t,I);break}}if(t.type!==t.elementType){var V=a.propTypes;V&&ro(V,s,"prop",Lt(a))}}var X;is(a)?(X=!0,Jm(t)):X=!1,fd(t,c);var J=t.stateNode,ae;J===null?(By(e,t),vw(t,a,s),A0(t,a,s,c),ae=!0):e===null?ae=K5(t,a,s,c):ae=X5(e,t,a,s,c);var He=kE(e,t,a,ae,X,c);{var at=t.stateNode;ae&&at.props!==s&&(kc||v("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",vt(t)||"a component"),kc=!0)}return He}function kE(e,t,a,s,c,p){s2(e,t);var g=(t.flags&pt)!==it;if(!s&&!g)return c&&Vb(t,a,!1),il(e,t,p);var C=t.stateNode;$h.current=t;var w;if(g&&typeof a.getDerivedStateFromError!="function")w=null,Zw();else{qo(t);{if(Wr(!0),w=C.render(),t.mode&En){jn(!0);try{C.render()}finally{jn(!1)}}Wr(!1)}Ls()}return t.flags|=Ho,e!==null&&g?C6(e,t,w,p):gi(e,t,w,p),t.memoizedState=C.state,c&&Vb(t,a,!0),t.child}function u2(e){var t=e.stateNode;t.pendingContext?Hb(e,t.pendingContext,t.pendingContext!==t.context):t.context&&Hb(e,t.context,!1),H0(e,t.containerInfo)}function T6(e,t,a){if(u2(t),e===null)throw new Error("Should have a current fiber. This is a bug in React.");var s=t.pendingProps,c=t.memoizedState,p=c.element;sw(e,t),hy(t,s,null,a);var g=t.memoizedState;t.stateNode;var C=g.element;if(c.isDehydrated){var w={element:C,isDehydrated:!1,cache:g.cache,pendingSuspenseBoundaries:g.pendingSuspenseBoundaries,transitions:g.transitions},N=t.updateQueue;if(N.baseState=w,t.memoizedState=w,t.flags&xn){var D=Rc(new Error("There was an error while hydrating. Because the error happened outside of a Suspense boundary, the entire root will switch to client rendering."),t);return c2(e,t,C,a,D)}else if(C!==p){var I=Rc(new Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),t);return c2(e,t,C,a,I)}else{O5(t);var V=Sw(t,null,C,a);t.child=V;for(var X=V;X;)X.flags=X.flags&~ln|Ni,X=X.sibling}}else{if(ud(),C===p)return il(e,t,a);gi(e,t,C,a)}return t.child}function c2(e,t,a,s,c){return ud(),d0(c),t.flags|=xn,gi(e,t,a,s),t.child}function R6(e,t,a){bw(t),e===null&&f0(t);var s=t.type,c=t.pendingProps,p=e!==null?e.memoizedProps:null,g=c.children,C=W1(s,c);return C?g=null:p!==null&&W1(s,p)&&(t.flags|=Ft),s2(e,t),gi(e,t,g,a),t.child}function k6(e,t){return e===null&&f0(t),null}function _6(e,t,a,s){By(e,t);var c=t.pendingProps,p=a,g=p._payload,C=p._init,w=C(g);t.type=w;var N=t.tag=k9(w),D=oo(w,c),I;switch(N){case b:return _E(t,w),t.type=w=kd(w),I=RE(null,t,w,D,s),I;case x:return t.type=w=iS(w),I=l2(null,t,w,D,s),I;case ue:return t.type=w=aS(w),I=r2(null,t,w,D,s),I;case we:{if(t.type!==t.elementType){var V=w.propTypes;V&&ro(V,D,"prop",Lt(w))}return I=i2(null,t,w,oo(w.type,D),s),I}}var X="";throw w!==null&&typeof w=="object"&&w.$$typeof===ir&&(X=" Did you wrap a component in React.lazy() more than once?"),new Error("Element type is invalid. Received a promise that resolves to: "+w+". "+("Lazy element type must resolve to a class or function."+X))}function O6(e,t,a,s,c){By(e,t),t.tag=x;var p;return is(a)?(p=!0,Jm(t)):p=!1,fd(t,c),vw(t,a,s),A0(t,a,s,c),kE(null,t,a,!0,p,c)}function N6(e,t,a,s){By(e,t);var c=t.pendingProps,p;{var g=ad(t,a,!1);p=od(t,g)}fd(t,s);var C,w;qo(t);{if(a.prototype&&typeof a.prototype.render=="function"){var N=Lt(a)||"Unknown";CE[N]||(v("The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.",N,N),CE[N]=!0)}t.mode&En&&ao.recordLegacyContextWarning(t,null),Wr(!0),$h.current=t,C=gd(null,t,a,c,p,s),w=Ed(),Wr(!1)}if(Ls(),t.flags|=Ho,typeof C=="object"&&C!==null&&typeof C.render=="function"&&C.$$typeof===void 0){var D=Lt(a)||"Unknown";Uh[D]||(v("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",D,D,D),Uh[D]=!0)}if(typeof C=="object"&&C!==null&&typeof C.render=="function"&&C.$$typeof===void 0){{var I=Lt(a)||"Unknown";Uh[I]||(v("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",I,I,I),Uh[I]=!0)}t.tag=x,t.memoizedState=null,t.updateQueue=null;var V=!1;return is(a)?(V=!0,Jm(t)):V=!1,t.memoizedState=C.state!==null&&C.state!==void 0?C.state:null,C0(t),hw(t,C),A0(t,a,c,s),kE(null,t,a,!0,V,s)}else{if(t.tag=b,t.mode&En){jn(!0);try{C=gd(null,t,a,c,p,s),w=Ed()}finally{jn(!1)}}return Nr()&&w&&o0(t),gi(null,t,C,s),_E(t,a),t.child}}function _E(e,t){{if(t&&t.childContextTypes&&v("%s(...): childContextTypes cannot be defined on a function component.",t.displayName||t.name||"Component"),e.ref!==null){var a="",s=kr();s&&(a+=`
|
|
228
|
-
|
|
229
|
-
Check the render method of \``+s+"`.");var c=s||"",p=e._debugSource;p&&(c=p.fileName+":"+p.lineNumber),xE[c]||(xE[c]=!0,v("Function components cannot be given refs. Attempts to access this ref will fail. Did you mean to use React.forwardRef()?%s",a))}if(typeof t.getDerivedStateFromProps=="function"){var g=Lt(t)||"Unknown";wE[g]||(v("%s: Function components do not support getDerivedStateFromProps.",g),wE[g]=!0)}if(typeof t.contextType=="object"&&t.contextType!==null){var C=Lt(t)||"Unknown";bE[C]||(v("%s: Function components do not support contextType.",C),bE[C]=!0)}}}var OE={dehydrated:null,treeContext:null,retryLane:_t};function NE(e){return{baseLanes:e,cachePool:S6(),transitions:null}}function D6(e,t){var a=null;return{baseLanes:St(e.baseLanes,t),cachePool:a,transitions:e.transitions}}function L6(e,t,a,s){if(t!==null){var c=t.memoizedState;if(c===null)return!1}return B0(e,_h)}function M6(e,t){return Il(e.childLanes,t)}function f2(e,t,a){var s=t.pendingProps;V9(t)&&(t.flags|=pt);var c=so.current,p=!1,g=(t.flags&pt)!==it;if(g||L6(c,e)?(p=!0,t.flags&=~pt):(e===null||e.memoizedState!==null)&&(c=t6(c,xw)),c=hd(c),pu(t,c),e===null){f0(t);var C=t.memoizedState;if(C!==null){var w=C.dehydrated;if(w!==null)return P6(t,w)}var N=s.children,D=s.fallback;if(p){var I=A6(t,N,D,a),V=t.child;return V.memoizedState=NE(a),t.memoizedState=OE,I}else return DE(t,N)}else{var X=e.memoizedState;if(X!==null){var J=X.dehydrated;if(J!==null)return j6(e,t,g,s,J,X,a)}if(p){var ae=s.fallback,He=s.children,at=$6(e,t,He,ae,a),Je=t.child,Nt=e.child.memoizedState;return Je.memoizedState=Nt===null?NE(a):D6(Nt,a),Je.childLanes=M6(e,a),t.memoizedState=OE,at}else{var Rt=s.children,G=z6(e,t,Rt,a);return t.memoizedState=null,G}}}function DE(e,t,a){var s=e.mode,c={mode:"visible",children:t},p=LE(c,s);return p.return=e,e.child=p,p}function A6(e,t,a,s){var c=e.mode,p=e.child,g={mode:"hidden",children:t},C,w;return(c&xt)===st&&p!==null?(C=p,C.childLanes=le,C.pendingProps=g,e.mode&ut&&(C.actualDuration=0,C.actualStartTime=-1,C.selfBaseDuration=0,C.treeBaseDuration=0),w=Cu(a,c,s,null)):(C=LE(g,c),w=Cu(a,c,s,null)),C.return=e,w.return=e,C.sibling=w,e.child=C,w}function LE(e,t,a){return dx(e,t,le,null)}function d2(e,t){return Lc(e,t)}function z6(e,t,a,s){var c=e.child,p=c.sibling,g=d2(c,{mode:"visible",children:a});if((t.mode&xt)===st&&(g.lanes=s),g.return=t,g.sibling=null,p!==null){var C=t.deletions;C===null?(t.deletions=[p],t.flags|=jt):C.push(p)}return t.child=g,g}function $6(e,t,a,s,c){var p=t.mode,g=e.child,C=g.sibling,w={mode:"hidden",children:a},N;if((p&xt)===st&&t.child!==g){var D=t.child;N=D,N.childLanes=le,N.pendingProps=w,t.mode&ut&&(N.actualDuration=0,N.actualStartTime=-1,N.selfBaseDuration=g.selfBaseDuration,N.treeBaseDuration=g.treeBaseDuration),t.deletions=null}else N=d2(g,w),N.subtreeFlags=g.subtreeFlags&ar;var I;return C!==null?I=Lc(C,s):(I=Cu(s,p,c,null),I.flags|=ln),I.return=t,N.return=t,N.sibling=I,t.child=N,I}function Vy(e,t,a,s){s!==null&&d0(s),dd(t,e.child,null,a);var c=t.pendingProps,p=c.children,g=DE(t,p);return g.flags|=ln,t.memoizedState=null,g}function U6(e,t,a,s,c){var p=t.mode,g={mode:"visible",children:a},C=LE(g,p),w=Cu(s,p,c,null);return w.flags|=ln,C.return=t,w.return=t,C.sibling=w,t.child=C,(t.mode&xt)!==st&&dd(t,e.child,null,c),w}function P6(e,t,a){return(e.mode&xt)===st?(v("Cannot hydrate Suspense in legacy mode. Switch from ReactDOM.hydrate(element, container) to ReactDOMClient.hydrateRoot(container, <App />).render(element) or remove the Suspense components from the server rendered components."),e.lanes=ct):K1(t)?e.lanes=zs:e.lanes=ei,null}function j6(e,t,a,s,c,p,g){if(a)if(t.flags&xn){t.flags&=~xn;var G=gE(new Error("There was an error while hydrating this Suspense boundary. Switched to client rendering."));return Vy(e,t,g,G)}else{if(t.memoizedState!==null)return t.child=e.child,t.flags|=pt,null;var oe=s.children,Q=s.fallback,Ce=U6(e,t,oe,Q,g),Fe=t.child;return Fe.memoizedState=NE(g),t.memoizedState=OE,Ce}else{if(k5(),(t.mode&xt)===st)return Vy(e,t,g,null);if(K1(c)){var C,w,N;{var D=I4(c);C=D.digest,w=D.message,N=D.stack}var I;w?I=new Error(w):I=new Error("The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering.");var V=gE(I,C,N);return Vy(e,t,g,V)}var X=ti(g,e.childLanes);if(uo||X){var J=Jy();if(J!==null){var ae=y1(J,g);if(ae!==_t&&ae!==p.retryLane){p.retryLane=ae;var He=nn;Hi(e,ae),vr(J,e,ae,He)}}JE();var at=gE(new Error("This Suspense boundary received an update before it finished hydrating. This caused the boundary to switch to client rendering. The usual way to fix this is to wrap the original update in startTransition."));return Vy(e,t,g,at)}else if(Ab(c)){t.flags|=pt,t.child=e.child;var Je=c9.bind(null,e);return Y4(c,Je),null}else{N5(t,c,p.treeContext);var Nt=s.children,Rt=DE(t,Nt);return Rt.flags|=Ni,Rt}}}function p2(e,t,a){e.lanes=St(e.lanes,t);var s=e.alternate;s!==null&&(s.lanes=St(s.lanes,t)),y0(e.return,t,a)}function H6(e,t,a){for(var s=t;s!==null;){if(s.tag===W){var c=s.memoizedState;c!==null&&p2(s,a,e)}else if(s.tag===Ue)p2(s,a,e);else if(s.child!==null){s.child.return=s,s=s.child;continue}if(s===e)return;for(;s.sibling===null;){if(s.return===null||s.return===e)return;s=s.return}s.sibling.return=s.return,s=s.sibling}}function F6(e){for(var t=e,a=null;t!==null;){var s=t.alternate;s!==null&&Cy(s)===null&&(a=t),t=t.sibling}return a}function V6(e){if(e!==void 0&&e!=="forwards"&&e!=="backwards"&&e!=="together"&&!TE[e])if(TE[e]=!0,typeof e=="string")switch(e.toLowerCase()){case"together":case"forwards":case"backwards":{v('"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.',e,e.toLowerCase());break}case"forward":case"backward":{v('"%s" is not a valid value for revealOrder on <SuspenseList />. React uses the -s suffix in the spelling. Use "%ss" instead.',e,e.toLowerCase());break}default:v('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',e);break}else v('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',e)}function B6(e,t){e!==void 0&&!Fy[e]&&(e!=="collapsed"&&e!=="hidden"?(Fy[e]=!0,v('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "collapsed" or "hidden"?',e)):t!=="forwards"&&t!=="backwards"&&(Fy[e]=!0,v('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',e)))}function h2(e,t){{var a=kt(e),s=!a&&typeof ta(e)=="function";if(a||s){var c=a?"array":"iterable";return v("A nested %s was passed to row #%s in <SuspenseList />. Wrap it in an additional SuspenseList to configure its revealOrder: <SuspenseList revealOrder=...> ... <SuspenseList revealOrder=...>{%s}</SuspenseList> ... </SuspenseList>",c,t,c),!1}}return!0}function I6(e,t){if((t==="forwards"||t==="backwards")&&e!==void 0&&e!==null&&e!==!1)if(kt(e)){for(var a=0;a<e.length;a++)if(!h2(e[a],a))return}else{var s=ta(e);if(typeof s=="function"){var c=s.call(e);if(c)for(var p=c.next(),g=0;!p.done;p=c.next()){if(!h2(p.value,g))return;g++}}else v('A single row was passed to a <SuspenseList revealOrder="%s" />. This is not useful since it needs multiple rows. Did you mean to pass multiple children or an array?',t)}}function ME(e,t,a,s,c){var p=e.memoizedState;p===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:s,tail:a,tailMode:c}:(p.isBackwards=t,p.rendering=null,p.renderingStartTime=0,p.last=s,p.tail=a,p.tailMode=c)}function v2(e,t,a){var s=t.pendingProps,c=s.revealOrder,p=s.tail,g=s.children;V6(c),B6(p,c),I6(g,c),gi(e,t,g,a);var C=so.current,w=B0(C,_h);if(w)C=I0(C,_h),t.flags|=pt;else{var N=e!==null&&(e.flags&pt)!==it;N&&H6(t,t.child,a),C=hd(C)}if(pu(t,C),(t.mode&xt)===st)t.memoizedState=null;else switch(c){case"forwards":{var D=F6(t.child),I;D===null?(I=t.child,t.child=null):(I=D.sibling,D.sibling=null),ME(t,!1,I,D,p);break}case"backwards":{var V=null,X=t.child;for(t.child=null;X!==null;){var J=X.alternate;if(J!==null&&Cy(J)===null){t.child=X;break}var ae=X.sibling;X.sibling=V,V=X,X=ae}ME(t,!0,V,null,p);break}case"together":{ME(t,!1,null,null,void 0);break}default:t.memoizedState=null}return t.child}function Y6(e,t,a){H0(t,t.stateNode.containerInfo);var s=t.pendingProps;return e===null?t.child=dd(t,null,s,a):gi(e,t,s,a),t.child}var m2=!1;function W6(e,t,a){var s=t.type,c=s._context,p=t.pendingProps,g=t.memoizedProps,C=p.value;{"value"in p||m2||(m2=!0,v("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?"));var w=t.type.propTypes;w&&ro(w,p,"prop","Context.Provider")}if(rw(t,c,C),g!==null){var N=g.value;if(Ye(N,C)){if(g.children===p.children&&!Xm())return il(e,t,a)}else H5(t,c,a)}var D=p.children;return gi(e,t,D,a),t.child}var y2=!1;function q6(e,t,a){var s=t.type;s._context===void 0?s!==s.Consumer&&(y2||(y2=!0,v("Rendering <Context> directly is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?"))):s=s._context;var c=t.pendingProps,p=c.children;typeof p!="function"&&v("A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it."),fd(t,a);var g=Jn(s);qo(t);var C;return $h.current=t,Wr(!0),C=p(g),Wr(!1),Ls(),t.flags|=Ho,gi(e,t,C,a),t.child}function Ph(){uo=!0}function By(e,t){(t.mode&xt)===st&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=ln)}function il(e,t,a){return e!==null&&(t.dependencies=e.dependencies),Zw(),Kh(t.lanes),ti(a,t.childLanes)?(Z5(e,t),t.child):null}function G6(e,t,a){{var s=t.return;if(s===null)throw new Error("Cannot swap the root fiber.");if(e.alternate=null,t.alternate=null,a.index=t.index,a.sibling=t.sibling,a.return=t.return,a.ref=t.ref,t===s.child)s.child=a;else{var c=s.child;if(c===null)throw new Error("Expected parent to have a child.");for(;c.sibling!==t;)if(c=c.sibling,c===null)throw new Error("Expected to find the previous sibling.");c.sibling=a}var p=s.deletions;return p===null?(s.deletions=[e],s.flags|=jt):p.push(e),a.flags|=ln,a}}function AE(e,t){var a=e.lanes;return!!ti(a,t)}function Q6(e,t,a){switch(t.tag){case k:u2(t),t.stateNode,ud();break;case M:bw(t);break;case x:{var s=t.type;is(s)&&Jm(t);break}case L:H0(t,t.stateNode.containerInfo);break;case ve:{var c=t.memoizedProps.value,p=t.type._context;rw(t,p,c);break}case pe:{var g=ti(a,t.childLanes);g&&(t.flags|=Et);{var C=t.stateNode;C.effectDuration=0,C.passiveEffectDuration=0}}break;case W:{var w=t.memoizedState;if(w!==null){if(w.dehydrated!==null)return pu(t,hd(so.current)),t.flags|=pt,null;var N=t.child,D=N.childLanes;if(ti(a,D))return f2(e,t,a);pu(t,hd(so.current));var I=il(e,t,a);return I!==null?I.sibling:null}else pu(t,hd(so.current));break}case Ue:{var V=(e.flags&pt)!==it,X=ti(a,t.childLanes);if(V){if(X)return v2(e,t,a);t.flags|=pt}var J=t.memoizedState;if(J!==null&&(J.rendering=null,J.tail=null,J.lastEffect=null),pu(t,so.current),X)break;return null}case qe:case Xe:return t.lanes=le,o2(e,t,a)}return il(e,t,a)}function g2(e,t,a){if(t._debugNeedsRemount&&e!==null)return G6(e,t,cS(t.type,t.key,t.pendingProps,t._debugOwner||null,t.mode,t.lanes));if(e!==null){var s=e.memoizedProps,c=t.pendingProps;if(s!==c||Xm()||t.type!==e.type)uo=!0;else{var p=AE(e,a);if(!p&&(t.flags&pt)===it)return uo=!1,Q6(e,t,a);(e.flags&Gu)!==it?uo=!0:uo=!1}}else if(uo=!1,Nr()&&C5(t)){var g=t.index,C=b5();Yb(t,C,g)}switch(t.lanes=le,t.tag){case T:return N6(e,t,t.type,a);case be:{var w=t.elementType;return _6(e,t,w,a)}case b:{var N=t.type,D=t.pendingProps,I=t.elementType===N?D:oo(N,D);return RE(e,t,N,I,a)}case x:{var V=t.type,X=t.pendingProps,J=t.elementType===V?X:oo(V,X);return l2(e,t,V,J,a)}case k:return T6(e,t,a);case M:return R6(e,t,a);case P:return k6(e,t);case W:return f2(e,t,a);case L:return Y6(e,t,a);case ue:{var ae=t.type,He=t.pendingProps,at=t.elementType===ae?He:oo(ae,He);return r2(e,t,ae,at,a)}case F:return b6(e,t,a);case H:return w6(e,t,a);case pe:return x6(e,t,a);case ve:return W6(e,t,a);case ce:return q6(e,t,a);case we:{var Je=t.type,Nt=t.pendingProps,Rt=oo(Je,Nt);if(t.type!==t.elementType){var G=Je.propTypes;G&&ro(G,Rt,"prop",Lt(Je))}return Rt=oo(Je.type,Rt),i2(e,t,Je,Rt,a)}case se:return a2(e,t,t.type,t.pendingProps,a);case Ge:{var oe=t.type,Q=t.pendingProps,Ce=t.elementType===oe?Q:oo(oe,Q);return O6(e,t,oe,Ce,a)}case Ue:return v2(e,t,a);case et:break;case qe:return o2(e,t,a)}throw new Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function Sd(e){e.flags|=Et}function E2(e){e.flags|=Gr,e.flags|=Ep}var S2,zE,C2,b2;S2=function(e,t,a,s){for(var c=t.child;c!==null;){if(c.tag===M||c.tag===P)g4(e,c.stateNode);else if(c.tag!==L){if(c.child!==null){c.child.return=c,c=c.child;continue}}if(c===t)return;for(;c.sibling===null;){if(c.return===null||c.return===t)return;c=c.return}c.sibling.return=c.return,c=c.sibling}},zE=function(e,t){},C2=function(e,t,a,s,c){var p=e.memoizedProps;if(p!==s){var g=t.stateNode,C=F0(),w=S4(g,a,p,s,c,C);t.updateQueue=w,w&&Sd(t)}},b2=function(e,t,a,s){a!==s&&Sd(t)};function jh(e,t){if(!Nr())switch(e.tailMode){case"hidden":{for(var a=e.tail,s=null;a!==null;)a.alternate!==null&&(s=a),a=a.sibling;s===null?e.tail=null:s.sibling=null;break}case"collapsed":{for(var c=e.tail,p=null;c!==null;)c.alternate!==null&&(p=c),c=c.sibling;p===null?!t&&e.tail!==null?e.tail.sibling=null:e.tail=null:p.sibling=null;break}}}function Lr(e){var t=e.alternate!==null&&e.alternate.child===e.child,a=le,s=it;if(t){if((e.mode&ut)!==st){for(var w=e.selfBaseDuration,N=e.child;N!==null;)a=St(a,St(N.lanes,N.childLanes)),s|=N.subtreeFlags&ar,s|=N.flags&ar,w+=N.treeBaseDuration,N=N.sibling;e.treeBaseDuration=w}else for(var D=e.child;D!==null;)a=St(a,St(D.lanes,D.childLanes)),s|=D.subtreeFlags&ar,s|=D.flags&ar,D.return=e,D=D.sibling;e.subtreeFlags|=s}else{if((e.mode&ut)!==st){for(var c=e.actualDuration,p=e.selfBaseDuration,g=e.child;g!==null;)a=St(a,St(g.lanes,g.childLanes)),s|=g.subtreeFlags,s|=g.flags,c+=g.actualDuration,p+=g.treeBaseDuration,g=g.sibling;e.actualDuration=c,e.treeBaseDuration=p}else for(var C=e.child;C!==null;)a=St(a,St(C.lanes,C.childLanes)),s|=C.subtreeFlags,s|=C.flags,C.return=e,C=C.sibling;e.subtreeFlags|=s}return e.childLanes=a,t}function K6(e,t,a){if(z5()&&(t.mode&xt)!==st&&(t.flags&pt)===it)return Zb(t),ud(),t.flags|=xn|fi|Gn,!1;var s=iy(t);if(a!==null&&a.dehydrated!==null)if(e===null){if(!s)throw new Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(M5(t),Lr(t),(t.mode&ut)!==st){var c=a!==null;if(c){var p=t.child;p!==null&&(t.treeBaseDuration-=p.treeBaseDuration)}}return!1}else{if(ud(),(t.flags&pt)===it&&(t.memoizedState=null),t.flags|=Et,Lr(t),(t.mode&ut)!==st){var g=a!==null;if(g){var C=t.child;C!==null&&(t.treeBaseDuration-=C.treeBaseDuration)}}return!1}else return Jb(),!0}function w2(e,t,a){var s=t.pendingProps;switch(s0(t),t.tag){case T:case be:case se:case b:case ue:case F:case H:case pe:case ce:case we:return Lr(t),null;case x:{var c=t.type;return is(c)&&Zm(t),Lr(t),null}case k:{var p=t.stateNode;if(pd(t),r0(t),W0(),p.pendingContext&&(p.context=p.pendingContext,p.pendingContext=null),e===null||e.child===null){var g=iy(t);if(g)Sd(t);else if(e!==null){var C=e.memoizedState;(!C.isDehydrated||(t.flags&xn)!==it)&&(t.flags|=Oi,Jb())}}return zE(e,t),Lr(t),null}case M:{V0(t);var w=Cw(),N=t.type;if(e!==null&&t.stateNode!=null)C2(e,t,N,s,w),e.ref!==t.ref&&E2(t);else{if(!s){if(t.stateNode===null)throw new Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return Lr(t),null}var D=F0(),I=iy(t);if(I)D5(t,w,D)&&Sd(t);else{var V=y4(N,s,w,D,t);S2(V,t,!1,!1),t.stateNode=V,E4(V,N,s,w)&&Sd(t)}t.ref!==null&&E2(t)}return Lr(t),null}case P:{var X=s;if(e&&t.stateNode!=null){var J=e.memoizedProps;b2(e,t,J,X)}else{if(typeof X!="string"&&t.stateNode===null)throw new Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");var ae=Cw(),He=F0(),at=iy(t);at?L5(t)&&Sd(t):t.stateNode=C4(X,ae,He,t)}return Lr(t),null}case W:{vd(t);var Je=t.memoizedState;if(e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){var Nt=K6(e,t,Je);if(!Nt)return t.flags&Gn?t:null}if((t.flags&pt)!==it)return t.lanes=a,(t.mode&ut)!==st&&yE(t),t;var Rt=Je!==null,G=e!==null&&e.memoizedState!==null;if(Rt!==G&&Rt){var oe=t.child;if(oe.flags|=Fo,(t.mode&xt)!==st){var Q=e===null&&(t.memoizedProps.unstable_avoidThisFallback!==!0||!U);Q||B0(so.current,xw)?Xk():JE()}}var Ce=t.updateQueue;if(Ce!==null&&(t.flags|=Et),Lr(t),(t.mode&ut)!==st&&Rt){var Fe=t.child;Fe!==null&&(t.treeBaseDuration-=Fe.treeBaseDuration)}return null}case L:return pd(t),zE(e,t),e===null&&h5(t.stateNode.containerInfo),Lr(t),null;case ve:var $e=t.type._context;return m0($e,t),Lr(t),null;case Ge:{var ft=t.type;return is(ft)&&Zm(t),Lr(t),null}case Ue:{vd(t);var gt=t.memoizedState;if(gt===null)return Lr(t),null;var Kt=(t.flags&pt)!==it,Ut=gt.rendering;if(Ut===null)if(Kt)jh(gt,!1);else{var In=Jk()&&(e===null||(e.flags&pt)===it);if(!In)for(var Pt=t.child;Pt!==null;){var Un=Cy(Pt);if(Un!==null){Kt=!0,t.flags|=pt,jh(gt,!1);var ai=Un.updateQueue;return ai!==null&&(t.updateQueue=ai,t.flags|=Et),t.subtreeFlags=it,J5(t,a),pu(t,I0(so.current,_h)),t.child}Pt=Pt.sibling}gt.tail!==null&&gn()>I2()&&(t.flags|=pt,Kt=!0,jh(gt,!1),t.lanes=Lp)}else{if(!Kt){var Ur=Cy(Ut);if(Ur!==null){t.flags|=pt,Kt=!0;var da=Ur.updateQueue;if(da!==null&&(t.updateQueue=da,t.flags|=Et),jh(gt,!0),gt.tail===null&>.tailMode==="hidden"&&!Ut.alternate&&!Nr())return Lr(t),null}else gn()*2-gt.renderingStartTime>I2()&&a!==ei&&(t.flags|=pt,Kt=!0,jh(gt,!1),t.lanes=Lp)}if(gt.isBackwards)Ut.sibling=t.child,t.child=Ut;else{var Ci=gt.last;Ci!==null?Ci.sibling=Ut:t.child=Ut,gt.last=Ut}}if(gt.tail!==null){var bi=gt.tail;gt.rendering=bi,gt.tail=bi.sibling,gt.renderingStartTime=gn(),bi.sibling=null;var oi=so.current;return Kt?oi=I0(oi,_h):oi=hd(oi),pu(t,oi),bi}return Lr(t),null}case et:break;case qe:case Xe:{ZE(t);var ul=t.memoizedState,_d=ul!==null;if(e!==null){var tv=e.memoizedState,ds=tv!==null;ds!==_d&&!O&&(t.flags|=Fo)}return!_d||(t.mode&xt)===st?Lr(t):ti(fs,ei)&&(Lr(t),t.subtreeFlags&(ln|Et)&&(t.flags|=Fo)),null}case dt:return null;case tt:return null}throw new Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function X6(e,t,a){switch(s0(t),t.tag){case x:{var s=t.type;is(s)&&Zm(t);var c=t.flags;return c&Gn?(t.flags=c&~Gn|pt,(t.mode&ut)!==st&&yE(t),t):null}case k:{t.stateNode,pd(t),r0(t),W0();var p=t.flags;return(p&Gn)!==it&&(p&pt)===it?(t.flags=p&~Gn|pt,t):null}case M:return V0(t),null;case W:{vd(t);var g=t.memoizedState;if(g!==null&&g.dehydrated!==null){if(t.alternate===null)throw new Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");ud()}var C=t.flags;return C&Gn?(t.flags=C&~Gn|pt,(t.mode&ut)!==st&&yE(t),t):null}case Ue:return vd(t),null;case L:return pd(t),null;case ve:var w=t.type._context;return m0(w,t),null;case qe:case Xe:return ZE(t),null;case dt:return null;default:return null}}function x2(e,t,a){switch(s0(t),t.tag){case x:{var s=t.type.childContextTypes;s!=null&&Zm(t);break}case k:{t.stateNode,pd(t),r0(t),W0();break}case M:{V0(t);break}case L:pd(t);break;case W:vd(t);break;case Ue:vd(t);break;case ve:var c=t.type._context;m0(c,t);break;case qe:case Xe:ZE(t);break}}var T2=null;T2=new Set;var Iy=!1,Mr=!1,Z6=typeof WeakSet=="function"?WeakSet:Set,We=null,Cd=null,bd=null;function J6(e){Ns(null,function(){throw e}),yp()}var ek=function(e,t){if(t.props=e.memoizedProps,t.state=e.memoizedState,e.mode&ut)try{us(),t.componentWillUnmount()}finally{ls(e)}else t.componentWillUnmount()};function R2(e,t){try{mu(ur,e)}catch(a){dn(e,t,a)}}function $E(e,t,a){try{ek(e,a)}catch(s){dn(e,t,s)}}function tk(e,t,a){try{a.componentDidMount()}catch(s){dn(e,t,s)}}function k2(e,t){try{O2(e)}catch(a){dn(e,t,a)}}function wd(e,t){var a=e.ref;if(a!==null)if(typeof a=="function"){var s;try{if(Se&&Te&&e.mode&ut)try{us(),s=a(null)}finally{ls(e)}else s=a(null)}catch(c){dn(e,t,c)}typeof s=="function"&&v("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",vt(e))}else a.current=null}function Yy(e,t,a){try{a()}catch(s){dn(e,t,s)}}var _2=!1;function nk(e,t){v4(e.containerInfo),We=t,rk();var a=_2;return _2=!1,a}function rk(){for(;We!==null;){var e=We,t=e.child;(e.subtreeFlags&$l)!==it&&t!==null?(t.return=e,We=t):ik()}}function ik(){for(;We!==null;){var e=We;Ht(e);try{ak(e)}catch(a){dn(e,e.return,a)}wn();var t=e.sibling;if(t!==null){t.return=e.return,We=t;return}We=e.return}}function ak(e){var t=e.alternate,a=e.flags;if((a&Oi)!==it){switch(Ht(e),e.tag){case b:case ue:case se:break;case x:{if(t!==null){var s=t.memoizedProps,c=t.memoizedState,p=e.stateNode;e.type===e.elementType&&!kc&&(p.props!==e.memoizedProps&&v("Expected %s props to match memoized props before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",vt(e)||"instance"),p.state!==e.memoizedState&&v("Expected %s state to match memoized state before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",vt(e)||"instance"));var g=p.getSnapshotBeforeUpdate(e.elementType===e.type?s:oo(e.type,s),c);{var C=T2;g===void 0&&!C.has(e.type)&&(C.add(e.type),v("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",vt(e)))}p.__reactInternalSnapshotBeforeUpdate=g}break}case k:{{var w=e.stateNode;H4(w.containerInfo)}break}case M:case P:case L:case Ge:break;default:throw new Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}wn()}}function co(e,t,a){var s=t.updateQueue,c=s!==null?s.lastEffect:null;if(c!==null){var p=c.next,g=p;do{if((g.tag&e)===e){var C=g.destroy;g.destroy=void 0,C!==void 0&&((e&Dr)!==Fi?df(t):(e&ur)!==Fi&&pf(t),(e&as)!==Fi&&Zh(!0),Yy(t,a,C),(e&as)!==Fi&&Zh(!1),(e&Dr)!==Fi?rm():(e&ur)!==Fi&&Ul())}g=g.next}while(g!==p)}}function mu(e,t){var a=t.updateQueue,s=a!==null?a.lastEffect:null;if(s!==null){var c=s.next,p=c;do{if((p.tag&e)===e){(e&Dr)!==Fi?nm(t):(e&ur)!==Fi&&im(t);var g=p.create;(e&as)!==Fi&&Zh(!0),p.destroy=g(),(e&as)!==Fi&&Zh(!1),(e&Dr)!==Fi?Op():(e&ur)!==Fi&&am();{var C=p.destroy;if(C!==void 0&&typeof C!="function"){var w=void 0;(p.tag&ur)!==it?w="useLayoutEffect":(p.tag&as)!==it?w="useInsertionEffect":w="useEffect";var N=void 0;C===null?N=" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof C.then=="function"?N=`
|
|
230
|
-
|
|
231
|
-
It looks like you wrote `+w+`(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:
|
|
232
|
-
|
|
233
|
-
`+w+`(() => {
|
|
234
|
-
async function fetchData() {
|
|
235
|
-
// You can await here
|
|
236
|
-
const response = await MyAPI.getData(someId);
|
|
237
|
-
// ...
|
|
238
|
-
}
|
|
239
|
-
fetchData();
|
|
240
|
-
}, [someId]); // Or [] if effect doesn't need props or state
|
|
241
|
-
|
|
242
|
-
Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-fetching`:N=" You returned: "+C,v("%s must not return anything besides a function, which is used for clean-up.%s",w,N)}}}p=p.next}while(p!==c)}}function ok(e,t){if((t.flags&Et)!==it)switch(t.tag){case pe:{var a=t.stateNode.passiveEffectDuration,s=t.memoizedProps,c=s.id,p=s.onPostCommit,g=Kw(),C=t.alternate===null?"mount":"update";Qw()&&(C="nested-update"),typeof p=="function"&&p(c,C,a,g);var w=t.return;e:for(;w!==null;){switch(w.tag){case k:var N=w.stateNode;N.passiveEffectDuration+=a;break e;case pe:var D=w.stateNode;D.passiveEffectDuration+=a;break e}w=w.return}break}}}function sk(e,t,a,s){if((a.flags&gr)!==it)switch(a.tag){case b:case ue:case se:{if(!Mr)if(a.mode&ut)try{us(),mu(ur|lr,a)}finally{ls(a)}else mu(ur|lr,a);break}case x:{var c=a.stateNode;if(a.flags&Et&&!Mr)if(t===null)if(a.type===a.elementType&&!kc&&(c.props!==a.memoizedProps&&v("Expected %s props to match memoized props before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",vt(a)||"instance"),c.state!==a.memoizedState&&v("Expected %s state to match memoized state before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",vt(a)||"instance")),a.mode&ut)try{us(),c.componentDidMount()}finally{ls(a)}else c.componentDidMount();else{var p=a.elementType===a.type?t.memoizedProps:oo(a.type,t.memoizedProps),g=t.memoizedState;if(a.type===a.elementType&&!kc&&(c.props!==a.memoizedProps&&v("Expected %s props to match memoized props before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",vt(a)||"instance"),c.state!==a.memoizedState&&v("Expected %s state to match memoized state before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",vt(a)||"instance")),a.mode&ut)try{us(),c.componentDidUpdate(p,g,c.__reactInternalSnapshotBeforeUpdate)}finally{ls(a)}else c.componentDidUpdate(p,g,c.__reactInternalSnapshotBeforeUpdate)}var C=a.updateQueue;C!==null&&(a.type===a.elementType&&!kc&&(c.props!==a.memoizedProps&&v("Expected %s props to match memoized props before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",vt(a)||"instance"),c.state!==a.memoizedState&&v("Expected %s state to match memoized state before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",vt(a)||"instance")),uw(a,C,c));break}case k:{var w=a.updateQueue;if(w!==null){var N=null;if(a.child!==null)switch(a.child.tag){case M:N=a.child.stateNode;break;case x:N=a.child.stateNode;break}uw(a,w,N)}break}case M:{var D=a.stateNode;if(t===null&&a.flags&Et){var I=a.type,V=a.memoizedProps;R4(D,I,V)}break}case P:break;case L:break;case pe:{{var X=a.memoizedProps,J=X.onCommit,ae=X.onRender,He=a.stateNode.effectDuration,at=Kw(),Je=t===null?"mount":"update";Qw()&&(Je="nested-update"),typeof ae=="function"&&ae(a.memoizedProps.id,Je,a.actualDuration,a.treeBaseDuration,a.actualStartTime,at);{typeof J=="function"&&J(a.memoizedProps.id,Je,He,at),i9(a);var Nt=a.return;e:for(;Nt!==null;){switch(Nt.tag){case k:var Rt=Nt.stateNode;Rt.effectDuration+=He;break e;case pe:var G=Nt.stateNode;G.effectDuration+=He;break e}Nt=Nt.return}}}break}case W:{vk(e,a);break}case Ue:case Ge:case et:case qe:case Xe:case tt:break;default:throw new Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}Mr||a.flags&Gr&&O2(a)}function lk(e){switch(e.tag){case b:case ue:case se:{if(e.mode&ut)try{us(),R2(e,e.return)}finally{ls(e)}else R2(e,e.return);break}case x:{var t=e.stateNode;typeof t.componentDidMount=="function"&&tk(e,e.return,t),k2(e,e.return);break}case M:{k2(e,e.return);break}}}function uk(e,t){for(var a=null,s=e;;){if(s.tag===M){if(a===null){a=s;try{var c=s.stateNode;t?$4(c):P4(s.stateNode,s.memoizedProps)}catch(g){dn(e,e.return,g)}}}else if(s.tag===P){if(a===null)try{var p=s.stateNode;t?U4(p):j4(p,s.memoizedProps)}catch(g){dn(e,e.return,g)}}else if(!((s.tag===qe||s.tag===Xe)&&s.memoizedState!==null&&s!==e)){if(s.child!==null){s.child.return=s,s=s.child;continue}}if(s===e)return;for(;s.sibling===null;){if(s.return===null||s.return===e)return;a===s&&(a=null),s=s.return}a===s&&(a=null),s.sibling.return=s.return,s=s.sibling}}function O2(e){var t=e.ref;if(t!==null){var a=e.stateNode,s;switch(e.tag){case M:s=a;break;default:s=a}if(typeof t=="function"){var c;if(e.mode&ut)try{us(),c=t(s)}finally{ls(e)}else c=t(s);typeof c=="function"&&v("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",vt(e))}else t.hasOwnProperty("current")||v("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",vt(e)),t.current=s}}function ck(e){var t=e.alternate;t!==null&&(t.return=null),e.return=null}function N2(e){var t=e.alternate;t!==null&&(e.alternate=null,N2(t));{if(e.child=null,e.deletions=null,e.sibling=null,e.tag===M){var a=e.stateNode;a!==null&&y5(a)}e.stateNode=null,e._debugOwner=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}}function fk(e){for(var t=e.return;t!==null;){if(D2(t))return t;t=t.return}throw new Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.")}function D2(e){return e.tag===M||e.tag===k||e.tag===L}function L2(e){var t=e;e:for(;;){for(;t.sibling===null;){if(t.return===null||D2(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==M&&t.tag!==P&&t.tag!==Be;){if(t.flags&ln||t.child===null||t.tag===L)continue e;t.child.return=t,t=t.child}if(!(t.flags&ln))return t.stateNode}}function dk(e){var t=fk(e);switch(t.tag){case M:{var a=t.stateNode;t.flags&Ft&&(Mb(a),t.flags&=~Ft);var s=L2(e);PE(e,s,a);break}case k:case L:{var c=t.stateNode.containerInfo,p=L2(e);UE(e,p,c);break}default:throw new Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}function UE(e,t,a){var s=e.tag,c=s===M||s===P;if(c){var p=e.stateNode;t?L4(a,p,t):N4(a,p)}else if(s!==L){var g=e.child;if(g!==null){UE(g,t,a);for(var C=g.sibling;C!==null;)UE(C,t,a),C=C.sibling}}}function PE(e,t,a){var s=e.tag,c=s===M||s===P;if(c){var p=e.stateNode;t?D4(a,p,t):O4(a,p)}else if(s!==L){var g=e.child;if(g!==null){PE(g,t,a);for(var C=g.sibling;C!==null;)PE(C,t,a),C=C.sibling}}}var Ar=null,fo=!1;function pk(e,t,a){{var s=t;e:for(;s!==null;){switch(s.tag){case M:{Ar=s.stateNode,fo=!1;break e}case k:{Ar=s.stateNode.containerInfo,fo=!0;break e}case L:{Ar=s.stateNode.containerInfo,fo=!0;break e}}s=s.return}if(Ar===null)throw new Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");M2(e,t,a),Ar=null,fo=!1}ck(a)}function yu(e,t,a){for(var s=a.child;s!==null;)M2(e,t,s),s=s.sibling}function M2(e,t,a){switch(kp(a),a.tag){case M:Mr||wd(a,t);case P:{{var s=Ar,c=fo;Ar=null,yu(e,t,a),Ar=s,fo=c,Ar!==null&&(fo?A4(Ar,a.stateNode):M4(Ar,a.stateNode))}return}case Be:{Ar!==null&&(fo?z4(Ar,a.stateNode):Q1(Ar,a.stateNode));return}case L:{{var p=Ar,g=fo;Ar=a.stateNode.containerInfo,fo=!0,yu(e,t,a),Ar=p,fo=g}return}case b:case ue:case we:case se:{if(!Mr){var C=a.updateQueue;if(C!==null){var w=C.lastEffect;if(w!==null){var N=w.next,D=N;do{var I=D,V=I.destroy,X=I.tag;V!==void 0&&((X&as)!==Fi?Yy(a,t,V):(X&ur)!==Fi&&(pf(a),a.mode&ut?(us(),Yy(a,t,V),ls(a)):Yy(a,t,V),Ul())),D=D.next}while(D!==N)}}}yu(e,t,a);return}case x:{if(!Mr){wd(a,t);var J=a.stateNode;typeof J.componentWillUnmount=="function"&&$E(a,t,J)}yu(e,t,a);return}case et:{yu(e,t,a);return}case qe:{if(a.mode&xt){var ae=Mr;Mr=ae||a.memoizedState!==null,yu(e,t,a),Mr=ae}else yu(e,t,a);break}default:{yu(e,t,a);return}}}function hk(e){e.memoizedState}function vk(e,t){var a=t.memoizedState;if(a===null){var s=t.alternate;if(s!==null){var c=s.memoizedState;if(c!==null){var p=c.dehydrated;p!==null&&e5(p)}}}}function A2(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var a=e.stateNode;a===null&&(a=e.stateNode=new Z6),t.forEach(function(s){var c=f9.bind(null,e,s);if(!a.has(s)){if(a.add(s),or)if(Cd!==null&&bd!==null)Xh(bd,Cd);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");s.then(c,c)}})}}function mk(e,t,a){Cd=a,bd=e,Ht(t),z2(t,e),Ht(t),Cd=null,bd=null}function po(e,t,a){var s=t.deletions;if(s!==null)for(var c=0;c<s.length;c++){var p=s[c];try{pk(e,t,p)}catch(w){dn(p,t,w)}}var g=Bc();if(t.subtreeFlags&Xr)for(var C=t.child;C!==null;)Ht(C),z2(C,e),C=C.sibling;Ht(g)}function z2(e,t,a){var s=e.alternate,c=e.flags;switch(e.tag){case b:case ue:case we:case se:{if(po(t,e),cs(e),c&Et){try{co(as|lr,e,e.return),mu(as|lr,e)}catch(ft){dn(e,e.return,ft)}if(e.mode&ut){try{us(),co(ur|lr,e,e.return)}catch(ft){dn(e,e.return,ft)}ls(e)}else try{co(ur|lr,e,e.return)}catch(ft){dn(e,e.return,ft)}}return}case x:{po(t,e),cs(e),c&Gr&&s!==null&&wd(s,s.return);return}case M:{po(t,e),cs(e),c&Gr&&s!==null&&wd(s,s.return);{if(e.flags&Ft){var p=e.stateNode;try{Mb(p)}catch(ft){dn(e,e.return,ft)}}if(c&Et){var g=e.stateNode;if(g!=null){var C=e.memoizedProps,w=s!==null?s.memoizedProps:C,N=e.type,D=e.updateQueue;if(e.updateQueue=null,D!==null)try{k4(g,D,N,w,C,e)}catch(ft){dn(e,e.return,ft)}}}}return}case P:{if(po(t,e),cs(e),c&Et){if(e.stateNode===null)throw new Error("This should have a text node initialized. This error is likely caused by a bug in React. Please file an issue.");var I=e.stateNode,V=e.memoizedProps,X=s!==null?s.memoizedProps:V;try{_4(I,X,V)}catch(ft){dn(e,e.return,ft)}}return}case k:{if(po(t,e),cs(e),c&Et&&s!==null){var J=s.memoizedState;if(J.isDehydrated)try{J4(t.containerInfo)}catch(ft){dn(e,e.return,ft)}}return}case L:{po(t,e),cs(e);return}case W:{po(t,e),cs(e);var ae=e.child;if(ae.flags&Fo){var He=ae.stateNode,at=ae.memoizedState,Je=at!==null;if(He.isHidden=Je,Je){var Nt=ae.alternate!==null&&ae.alternate.memoizedState!==null;Nt||Kk()}}if(c&Et){try{hk(e)}catch(ft){dn(e,e.return,ft)}A2(e)}return}case qe:{var Rt=s!==null&&s.memoizedState!==null;if(e.mode&xt){var G=Mr;Mr=G||Rt,po(t,e),Mr=G}else po(t,e);if(cs(e),c&Fo){var oe=e.stateNode,Q=e.memoizedState,Ce=Q!==null,Fe=e;if(oe.isHidden=Ce,Ce&&!Rt&&(Fe.mode&xt)!==st){We=Fe;for(var $e=Fe.child;$e!==null;)We=$e,gk($e),$e=$e.sibling}uk(Fe,Ce)}return}case Ue:{po(t,e),cs(e),c&Et&&A2(e);return}case et:return;default:{po(t,e),cs(e);return}}}function cs(e){var t=e.flags;if(t&ln){try{dk(e)}catch(a){dn(e,e.return,a)}e.flags&=~ln}t&Ni&&(e.flags&=~Ni)}function yk(e,t,a){Cd=a,bd=t,We=e,$2(e,t,a),Cd=null,bd=null}function $2(e,t,a){for(var s=(e.mode&xt)!==st;We!==null;){var c=We,p=c.child;if(c.tag===qe&&s){var g=c.memoizedState!==null,C=g||Iy;if(C){jE(e,t,a);continue}else{var w=c.alternate,N=w!==null&&w.memoizedState!==null,D=N||Mr,I=Iy,V=Mr;Iy=C,Mr=D,Mr&&!V&&(We=c,Ek(c));for(var X=p;X!==null;)We=X,$2(X,t,a),X=X.sibling;We=c,Iy=I,Mr=V,jE(e,t,a);continue}}(c.subtreeFlags&gr)!==it&&p!==null?(p.return=c,We=p):jE(e,t,a)}}function jE(e,t,a){for(;We!==null;){var s=We;if((s.flags&gr)!==it){var c=s.alternate;Ht(s);try{sk(t,c,s,a)}catch(g){dn(s,s.return,g)}wn()}if(s===e){We=null;return}var p=s.sibling;if(p!==null){p.return=s.return,We=p;return}We=s.return}}function gk(e){for(;We!==null;){var t=We,a=t.child;switch(t.tag){case b:case ue:case we:case se:{if(t.mode&ut)try{us(),co(ur,t,t.return)}finally{ls(t)}else co(ur,t,t.return);break}case x:{wd(t,t.return);var s=t.stateNode;typeof s.componentWillUnmount=="function"&&$E(t,t.return,s);break}case M:{wd(t,t.return);break}case qe:{var c=t.memoizedState!==null;if(c){U2(e);continue}break}}a!==null?(a.return=t,We=a):U2(e)}}function U2(e){for(;We!==null;){var t=We;if(t===e){We=null;return}var a=t.sibling;if(a!==null){a.return=t.return,We=a;return}We=t.return}}function Ek(e){for(;We!==null;){var t=We,a=t.child;if(t.tag===qe){var s=t.memoizedState!==null;if(s){P2(e);continue}}a!==null?(a.return=t,We=a):P2(e)}}function P2(e){for(;We!==null;){var t=We;Ht(t);try{lk(t)}catch(s){dn(t,t.return,s)}if(wn(),t===e){We=null;return}var a=t.sibling;if(a!==null){a.return=t.return,We=a;return}We=t.return}}function Sk(e,t,a,s){We=t,Ck(t,e,a,s)}function Ck(e,t,a,s){for(;We!==null;){var c=We,p=c.child;(c.subtreeFlags&Di)!==it&&p!==null?(p.return=c,We=p):bk(e,t,a,s)}}function bk(e,t,a,s){for(;We!==null;){var c=We;if((c.flags&hn)!==it){Ht(c);try{wk(t,c,a,s)}catch(g){dn(c,c.return,g)}wn()}if(c===e){We=null;return}var p=c.sibling;if(p!==null){p.return=c.return,We=p;return}We=c.return}}function wk(e,t,a,s){switch(t.tag){case b:case ue:case se:{if(t.mode&ut){mE();try{mu(Dr|lr,t)}finally{vE(t)}}else mu(Dr|lr,t);break}}}function xk(e){We=e,Tk()}function Tk(){for(;We!==null;){var e=We,t=e.child;if((We.flags&jt)!==it){var a=e.deletions;if(a!==null){for(var s=0;s<a.length;s++){var c=a[s];We=c,_k(c,e)}{var p=e.alternate;if(p!==null){var g=p.child;if(g!==null){p.child=null;do{var C=g.sibling;g.sibling=null,g=C}while(g!==null)}}}We=e}}(e.subtreeFlags&Di)!==it&&t!==null?(t.return=e,We=t):Rk()}}function Rk(){for(;We!==null;){var e=We;(e.flags&hn)!==it&&(Ht(e),kk(e),wn());var t=e.sibling;if(t!==null){t.return=e.return,We=t;return}We=e.return}}function kk(e){switch(e.tag){case b:case ue:case se:{e.mode&ut?(mE(),co(Dr|lr,e,e.return),vE(e)):co(Dr|lr,e,e.return);break}}}function _k(e,t){for(;We!==null;){var a=We;Ht(a),Nk(a,t),wn();var s=a.child;s!==null?(s.return=a,We=s):Ok(e)}}function Ok(e){for(;We!==null;){var t=We,a=t.sibling,s=t.return;if(N2(t),t===e){We=null;return}if(a!==null){a.return=s,We=a;return}We=s}}function Nk(e,t){switch(e.tag){case b:case ue:case se:{e.mode&ut?(mE(),co(Dr,e,t),vE(e)):co(Dr,e,t);break}}}function Dk(e){switch(e.tag){case b:case ue:case se:{try{mu(ur|lr,e)}catch(a){dn(e,e.return,a)}break}case x:{var t=e.stateNode;try{t.componentDidMount()}catch(a){dn(e,e.return,a)}break}}}function Lk(e){switch(e.tag){case b:case ue:case se:{try{mu(Dr|lr,e)}catch(t){dn(e,e.return,t)}break}}}function Mk(e){switch(e.tag){case b:case ue:case se:{try{co(ur|lr,e,e.return)}catch(a){dn(e,e.return,a)}break}case x:{var t=e.stateNode;typeof t.componentWillUnmount=="function"&&$E(e,e.return,t);break}}}function Ak(e){switch(e.tag){case b:case ue:case se:try{co(Dr|lr,e,e.return)}catch(t){dn(e,e.return,t)}}}if(typeof Symbol=="function"&&Symbol.for){var Hh=Symbol.for;Hh("selector.component"),Hh("selector.has_pseudo_class"),Hh("selector.role"),Hh("selector.test_id"),Hh("selector.text")}var zk=[];function $k(){zk.forEach(function(e){return e()})}var Uk=l.ReactCurrentActQueue;function Pk(e){{var t=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0,a=typeof jest<"u";return a&&t!==!1}}function j2(){{var e=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0;return!e&&Uk.current!==null&&v("The current testing environment is not configured to support act(...)"),e}}var jk=Math.ceil,HE=l.ReactCurrentDispatcher,FE=l.ReactCurrentOwner,zr=l.ReactCurrentBatchConfig,ho=l.ReactCurrentActQueue,dr=0,H2=1,$r=2,Aa=4,al=0,Fh=1,_c=2,Wy=3,Vh=4,F2=5,VE=6,Ot=dr,Ei=null,Ln=null,pr=le,fs=le,BE=su(le),hr=al,Bh=null,qy=le,Ih=le,Gy=le,Yh=null,Vi=null,IE=0,V2=500,B2=1/0,Hk=500,ol=null;function Wh(){B2=gn()+Hk}function I2(){return B2}var Qy=!1,YE=null,xd=null,Oc=!1,gu=null,qh=le,WE=[],qE=null,Fk=50,Gh=0,GE=null,QE=!1,Ky=!1,Vk=50,Td=0,Xy=null,Qh=nn,Zy=le,Y2=!1;function Jy(){return Ei}function Si(){return(Ot&($r|Aa))!==dr?gn():(Qh!==nn||(Qh=gn()),Qh)}function Eu(e){var t=e.mode;if((t&xt)===st)return ct;if((Ot&$r)!==dr&&pr!==le)return Hn(pr);var a=P5()!==U5;if(a){if(zr.transition!==null){var s=zr.transition;s._updatedFibers||(s._updatedFibers=new Set),s._updatedFibers.add(e)}return Zy===_t&&(Zy=zp()),Zy}var c=zi();if(c!==_t)return c;var p=b4();return p}function Bk(e){var t=e.mode;return(t&xt)===st?ct:m1()}function vr(e,t,a,s){p9(),Y2&&v("useInsertionEffect must not schedule updates."),QE&&(Ky=!0),Vs(e,a,s),(Ot&$r)!==le&&e===Ei?m9(t):(or&&Hp(e,t,a),y9(t),e===Ei&&((Ot&$r)===dr&&(Ih=St(Ih,a)),hr===Vh&&Su(e,pr)),Bi(e,s),a===ct&&Ot===dr&&(t.mode&xt)===st&&!ho.isBatchingLegacy&&(Wh(),Ib()))}function Ik(e,t,a){var s=e.current;s.lanes=t,Vs(e,t,a),Bi(e,a)}function Yk(e){return(Ot&$r)!==dr}function Bi(e,t){var a=e.callbackNode;p1(e,t);var s=ec(e,e===Ei?pr:le);if(s===le){a!==null&&sx(a),e.callbackNode=null,e.callbackPriority=_t;return}var c=zn(s),p=e.callbackPriority;if(p===c&&!(ho.current!==null&&a!==nS)){a==null&&p!==ct&&v("Expected scheduled callback to exist. This error is likely caused by a bug in React. Please file an issue.");return}a!=null&&sx(a);var g;if(c===ct)e.tag===lu?(ho.isBatchingLegacy!==null&&(ho.didScheduleLegacyUpdate=!0),S5(G2.bind(null,e))):Bb(G2.bind(null,e)),ho.current!==null?ho.current.push(uu):x4(function(){(Ot&($r|Aa))===dr&&uu()}),g=null;else{var C;switch(ac(s)){case Er:C=uf;break;case sr:C=hi;break;case Za:C=xa;break;case rc:C=Bo;break;default:C=xa;break}g=rS(C,W2.bind(null,e))}e.callbackPriority=c,e.callbackNode=g}function W2(e,t){if(p6(),Qh=nn,Zy=le,(Ot&($r|Aa))!==dr)throw new Error("Should not already be working.");var a=e.callbackNode,s=ll();if(s&&e.callbackNode!==a)return null;var c=ec(e,e===Ei?pr:le);if(c===le)return null;var p=!nc(e,c)&&!fm(e,c)&&!t,g=p?t9(e,c):tg(e,c);if(g!==al){if(g===_c){var C=Mp(e);C!==le&&(c=C,g=KE(e,C))}if(g===Fh){var w=Bh;throw Nc(e,le),Su(e,c),Bi(e,gn()),w}if(g===VE)Su(e,c);else{var N=!nc(e,c),D=e.current.alternate;if(N&&!qk(D)){if(g=tg(e,c),g===_c){var I=Mp(e);I!==le&&(c=I,g=KE(e,I))}if(g===Fh){var V=Bh;throw Nc(e,le),Su(e,c),Bi(e,gn()),V}}e.finishedWork=D,e.finishedLanes=c,Wk(e,g,c)}}return Bi(e,gn()),e.callbackNode===a?W2.bind(null,e):null}function KE(e,t){var a=Yh;if(Vn(e)){var s=Nc(e,t);s.flags|=xn,p5(e.containerInfo)}var c=tg(e,t);if(c!==_c){var p=Vi;Vi=a,p!==null&&q2(p)}return c}function q2(e){Vi===null?Vi=e:Vi.push.apply(Vi,e)}function Wk(e,t,a){switch(t){case al:case Fh:throw new Error("Root did not complete. This is a bug in React.");case _c:{Dc(e,Vi,ol);break}case Wy:{if(Su(e,a),Mf(a)&&!lx()){var s=IE+V2-gn();if(s>10){var c=ec(e,le);if(c!==le)break;var p=e.suspendedLanes;if(!Fs(p,a)){Si(),Pp(e,p);break}e.timeoutHandle=q1(Dc.bind(null,e,Vi,ol),s);break}}Dc(e,Vi,ol);break}case Vh:{if(Su(e,a),cm(a))break;if(!lx()){var g=um(e,a),C=g,w=gn()-C,N=d9(w)-w;if(N>10){e.timeoutHandle=q1(Dc.bind(null,e,Vi,ol),N);break}}Dc(e,Vi,ol);break}case F2:{Dc(e,Vi,ol);break}default:throw new Error("Unknown root exit status.")}}function qk(e){for(var t=e;;){if(t.flags&qu){var a=t.updateQueue;if(a!==null){var s=a.stores;if(s!==null)for(var c=0;c<s.length;c++){var p=s[c],g=p.getSnapshot,C=p.value;try{if(!Ye(g(),C))return!1}catch{return!1}}}}var w=t.child;if(t.subtreeFlags&qu&&w!==null){w.return=t,t=w;continue}if(t===e)return!0;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}return!0}function Su(e,t){t=Il(t,Gy),t=Il(t,Ih),Up(e,t)}function G2(e){if(h6(),(Ot&($r|Aa))!==dr)throw new Error("Should not already be working.");ll();var t=ec(e,le);if(!ti(t,ct))return Bi(e,gn()),null;var a=tg(e,t);if(e.tag!==lu&&a===_c){var s=Mp(e);s!==le&&(t=s,a=KE(e,s))}if(a===Fh){var c=Bh;throw Nc(e,le),Su(e,t),Bi(e,gn()),c}if(a===VE)throw new Error("Root did not complete. This is a bug in React.");var p=e.current.alternate;return e.finishedWork=p,e.finishedLanes=t,Dc(e,Vi,ol),Bi(e,gn()),null}function Gk(e,t){t!==le&&(Yl(e,St(t,ct)),Bi(e,gn()),(Ot&($r|Aa))===dr&&(Wh(),uu()))}function XE(e,t){var a=Ot;Ot|=H2;try{return e(t)}finally{Ot=a,Ot===dr&&!ho.isBatchingLegacy&&(Wh(),Ib())}}function Qk(e,t,a,s,c){var p=zi(),g=zr.transition;try{return zr.transition=null,Fn(Er),e(t,a,s,c)}finally{Fn(p),zr.transition=g,Ot===dr&&Wh()}}function sl(e){gu!==null&&gu.tag===lu&&(Ot&($r|Aa))===dr&&ll();var t=Ot;Ot|=H2;var a=zr.transition,s=zi();try{return zr.transition=null,Fn(Er),e?e():void 0}finally{Fn(s),zr.transition=a,Ot=t,(Ot&($r|Aa))===dr&&uu()}}function Q2(){return(Ot&($r|Aa))!==dr}function eg(e,t){ri(BE,fs,e),fs=St(fs,t)}function ZE(e){fs=BE.current,ni(BE,e)}function Nc(e,t){e.finishedWork=null,e.finishedLanes=le;var a=e.timeoutHandle;if(a!==G1&&(e.timeoutHandle=G1,w4(a)),Ln!==null)for(var s=Ln.return;s!==null;){var c=s.alternate;x2(c,s),s=s.return}Ei=e;var p=Lc(e.current,null);return Ln=p,pr=fs=t,hr=al,Bh=null,qy=le,Ih=le,Gy=le,Yh=null,Vi=null,V5(),ao.discardPendingWarnings(),p}function K2(e,t){do{var a=Ln;try{if(ly(),Rw(),wn(),FE.current=null,a===null||a.return===null){hr=Fh,Bh=t,Ln=null;return}if(Se&&a.mode&ut&&Hy(a,!0),ke)if(Ls(),t!==null&&typeof t=="object"&&typeof t.then=="function"){var s=t;om(a,s,pr)}else hf(a,t,pr);E6(e,a.return,a,t,pr),ex(a)}catch(c){t=c,Ln===a&&a!==null?(a=a.return,Ln=a):a=Ln;continue}return}while(!0)}function X2(){var e=HE.current;return HE.current=zy,e===null?zy:e}function Z2(e){HE.current=e}function Kk(){IE=gn()}function Kh(e){qy=St(e,qy)}function Xk(){hr===al&&(hr=Wy)}function JE(){(hr===al||hr===Wy||hr===_c)&&(hr=Vh),Ei!==null&&(tc(qy)||tc(Ih))&&Su(Ei,pr)}function Zk(e){hr!==Vh&&(hr=_c),Yh===null?Yh=[e]:Yh.push(e)}function Jk(){return hr===al}function tg(e,t){var a=Ot;Ot|=$r;var s=X2();if(Ei!==e||pr!==t){if(or){var c=e.memoizedUpdaters;c.size>0&&(Xh(e,pr),c.clear()),$f(e,t)}ol=Fp(),Nc(e,t)}la(t);do try{e9();break}catch(p){K2(e,p)}while(!0);if(ly(),Ot=a,Z2(s),Ln!==null)throw new Error("Cannot commit an incomplete root. This error is likely caused by a bug in React. Please file an issue.");return jl(),Ei=null,pr=le,hr}function e9(){for(;Ln!==null;)J2(Ln)}function t9(e,t){var a=Ot;Ot|=$r;var s=X2();if(Ei!==e||pr!==t){if(or){var c=e.memoizedUpdaters;c.size>0&&(Xh(e,pr),c.clear()),$f(e,t)}ol=Fp(),Wh(),Nc(e,t)}la(t);do try{n9();break}catch(p){K2(e,p)}while(!0);return ly(),Z2(s),Ot=a,Ln!==null?(Ku(),al):(jl(),Ei=null,pr=le,hr)}function n9(){for(;Ln!==null&&!lf();)J2(Ln)}function J2(e){var t=e.alternate;Ht(e);var a;(e.mode&ut)!==st?(hE(e),a=eS(t,e,fs),Hy(e,!0)):a=eS(t,e,fs),wn(),e.memoizedProps=e.pendingProps,a===null?ex(e):Ln=a,FE.current=null}function ex(e){var t=e;do{var a=t.alternate,s=t.return;if((t.flags&fi)===it){Ht(t);var c=void 0;if((t.mode&ut)===st?c=w2(a,t,fs):(hE(t),c=w2(a,t,fs),Hy(t,!1)),wn(),c!==null){Ln=c;return}}else{var p=X6(a,t);if(p!==null){p.flags&=Xv,Ln=p;return}if((t.mode&ut)!==st){Hy(t,!1);for(var g=t.actualDuration,C=t.child;C!==null;)g+=C.actualDuration,C=C.sibling;t.actualDuration=g}if(s!==null)s.flags|=fi,s.subtreeFlags=it,s.deletions=null;else{hr=VE,Ln=null;return}}var w=t.sibling;if(w!==null){Ln=w;return}t=s,Ln=t}while(t!==null);hr===al&&(hr=F2)}function Dc(e,t,a){var s=zi(),c=zr.transition;try{zr.transition=null,Fn(Er),r9(e,t,a,s)}finally{zr.transition=c,Fn(s)}return null}function r9(e,t,a,s){do ll();while(gu!==null);if(h9(),(Ot&($r|Aa))!==dr)throw new Error("Should not already be working.");var c=e.finishedWork,p=e.finishedLanes;if(ff(p),c===null)return _p(),null;if(p===le&&v("root.finishedLanes should not be empty during a commit. This is a bug in React."),e.finishedWork=null,e.finishedLanes=le,c===e.current)throw new Error("Cannot commit the same tree as before. This error is likely caused by a bug in React. Please file an issue.");e.callbackNode=null,e.callbackPriority=_t;var g=St(c.lanes,c.childLanes);jp(e,g),e===Ei&&(Ei=null,Ln=null,pr=le),((c.subtreeFlags&Di)!==it||(c.flags&Di)!==it)&&(Oc||(Oc=!0,qE=a,rS(xa,function(){return ll(),null})));var C=(c.subtreeFlags&($l|Xr|gr|Di))!==it,w=(c.flags&($l|Xr|gr|Di))!==it;if(C||w){var N=zr.transition;zr.transition=null;var D=zi();Fn(Er);var I=Ot;Ot|=Aa,FE.current=null,nk(e,c),Xw(),mk(e,c,p),m4(e.containerInfo),e.current=c,sm(p),yk(c,e,p),Pl(),em(),Ot=I,Fn(D),zr.transition=N}else e.current=c,Xw();var V=Oc;if(Oc?(Oc=!1,gu=e,qh=p):(Td=0,Xy=null),g=e.pendingLanes,g===le&&(xd=null),V||ix(e.current,!1),Qa(c.stateNode,s),or&&e.memoizedUpdaters.clear(),$k(),Bi(e,gn()),t!==null)for(var X=e.onRecoverableError,J=0;J<t.length;J++){var ae=t[J],He=ae.stack,at=ae.digest;X(ae.value,{componentStack:He,digest:at})}if(Qy){Qy=!1;var Je=YE;throw YE=null,Je}return ti(qh,ct)&&e.tag!==lu&&ll(),g=e.pendingLanes,ti(g,ct)?(d6(),e===GE?Gh++:(Gh=0,GE=e)):Gh=0,uu(),_p(),null}function ll(){if(gu!==null){var e=ac(qh),t=g1(Za,e),a=zr.transition,s=zi();try{return zr.transition=null,Fn(t),a9()}finally{Fn(s),zr.transition=a}}return!1}function i9(e){WE.push(e),Oc||(Oc=!0,rS(xa,function(){return ll(),null}))}function a9(){if(gu===null)return!1;var e=qE;qE=null;var t=gu,a=qh;if(gu=null,qh=le,(Ot&($r|Aa))!==dr)throw new Error("Cannot flush passive effects while already rendering.");QE=!0,Ky=!1,lm(a);var s=Ot;Ot|=Aa,xk(t.current),Sk(t,t.current,a,e);{var c=WE;WE=[];for(var p=0;p<c.length;p++){var g=c[p];ok(t,g)}}Qu(),ix(t.current,!0),Ot=s,uu(),Ky?t===Xy?Td++:(Td=0,Xy=t):Td=0,QE=!1,Ky=!1,Yo(t);{var C=t.current.stateNode;C.effectDuration=0,C.passiveEffectDuration=0}return!0}function tx(e){return xd!==null&&xd.has(e)}function o9(e){xd===null?xd=new Set([e]):xd.add(e)}function s9(e){Qy||(Qy=!0,YE=e)}var l9=s9;function nx(e,t,a){var s=Rc(a,t),c=Jw(e,s,ct),p=fu(e,c,ct),g=Si();p!==null&&(Vs(p,ct,g),Bi(p,g))}function dn(e,t,a){if(J6(a),Zh(!1),e.tag===k){nx(e,e,a);return}var s=null;for(s=t;s!==null;){if(s.tag===k){nx(s,e,a);return}else if(s.tag===x){var c=s.type,p=s.stateNode;if(typeof c.getDerivedStateFromError=="function"||typeof p.componentDidCatch=="function"&&!tx(p)){var g=Rc(a,e),C=SE(s,g,ct),w=fu(s,C,ct),N=Si();w!==null&&(Vs(w,ct,N),Bi(w,N));return}}s=s.return}v(`Internal React error: Attempted to capture a commit phase error inside a detached tree. This indicates a bug in React. Likely causes include deleting the same fiber more than once, committing an already-finished tree, or an inconsistent return pointer.
|
|
243
|
-
|
|
244
|
-
Error message:
|
|
245
|
-
|
|
246
|
-
%s`,a)}function u9(e,t,a){var s=e.pingCache;s!==null&&s.delete(t);var c=Si();Pp(e,a),g9(e),Ei===e&&Fs(pr,a)&&(hr===Vh||hr===Wy&&Mf(pr)&&gn()-IE<V2?Nc(e,le):Gy=St(Gy,a)),Bi(e,c)}function rx(e,t){t===_t&&(t=Bk(e));var a=Si(),s=Hi(e,t);s!==null&&(Vs(s,t,a),Bi(s,a))}function c9(e){var t=e.memoizedState,a=_t;t!==null&&(a=t.retryLane),rx(e,a)}function f9(e,t){var a=_t,s;switch(e.tag){case W:s=e.stateNode;var c=e.memoizedState;c!==null&&(a=c.retryLane);break;case Ue:s=e.stateNode;break;default:throw new Error("Pinged unknown suspense boundary type. This is probably a bug in React.")}s!==null&&s.delete(t),rx(e,a)}function d9(e){return e<120?120:e<480?480:e<1080?1080:e<1920?1920:e<3e3?3e3:e<4320?4320:jk(e/1960)*1960}function p9(){if(Gh>Fk)throw Gh=0,GE=null,new Error("Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.");Td>Vk&&(Td=0,Xy=null,v("Maximum update depth exceeded. This can happen when a component calls setState inside useEffect, but useEffect either doesn't have a dependency array, or one of the dependencies changes on every render."))}function h9(){ao.flushLegacyContextWarning(),ao.flushPendingUnsafeLifecycleWarnings()}function ix(e,t){Ht(e),ng(e,Kr,Mk),t&&ng(e,Ds,Ak),ng(e,Kr,Dk),t&&ng(e,Ds,Lk),wn()}function ng(e,t,a){for(var s=e,c=null;s!==null;){var p=s.subtreeFlags&t;s!==c&&s.child!==null&&p!==it?s=s.child:((s.flags&t)!==it&&a(s),s.sibling!==null?s=s.sibling:s=c=s.return)}}var rg=null;function ax(e){{if((Ot&$r)!==dr||!(e.mode&xt))return;var t=e.tag;if(t!==T&&t!==k&&t!==x&&t!==b&&t!==ue&&t!==we&&t!==se)return;var a=vt(e)||"ReactComponent";if(rg!==null){if(rg.has(a))return;rg.add(a)}else rg=new Set([a]);var s=yn;try{Ht(e),v("Can't perform a React state update on a component that hasn't mounted yet. This indicates that you have a side-effect in your render function that asynchronously later calls tries to update the component. Move this work to useEffect instead.")}finally{s?Ht(e):wn()}}}var eS;{var v9=null;eS=function(e,t,a){var s=px(v9,t);try{return g2(e,t,a)}catch(p){if(_5()||p!==null&&typeof p=="object"&&typeof p.then=="function")throw p;if(ly(),Rw(),x2(e,t),px(t,s),t.mode&ut&&hE(t),Ns(null,g2,null,e,t,a),f1()){var c=yp();typeof c=="object"&&c!==null&&c._suppressLogging&&typeof p=="object"&&p!==null&&!p._suppressLogging&&(p._suppressLogging=!0)}throw p}}}var ox=!1,tS;tS=new Set;function m9(e){if(Yr&&!u6())switch(e.tag){case b:case ue:case se:{var t=Ln&&vt(Ln)||"Unknown",a=t;if(!tS.has(a)){tS.add(a);var s=vt(e)||"Unknown";v("Cannot update a component (`%s`) while rendering a different component (`%s`). To locate the bad setState() call inside `%s`, follow the stack trace as described in https://reactjs.org/link/setstate-in-render",s,t,t)}break}case x:{ox||(v("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),ox=!0);break}}}function Xh(e,t){if(or){var a=e.memoizedUpdaters;a.forEach(function(s){Hp(e,s,t)})}}var nS={};function rS(e,t){{var a=ho.current;return a!==null?(a.push(t),nS):sf(e,t)}}function sx(e){if(e!==nS)return Jv(e)}function lx(){return ho.current!==null}function y9(e){{if(e.mode&xt){if(!j2())return}else if(!Pk()||Ot!==dr||e.tag!==b&&e.tag!==ue&&e.tag!==se)return;if(ho.current===null){var t=yn;try{Ht(e),v(`An update to %s inside a test was not wrapped in act(...).
|
|
247
|
-
|
|
248
|
-
When testing, code that causes React state updates should be wrapped into act(...):
|
|
249
|
-
|
|
250
|
-
act(() => {
|
|
251
|
-
/* fire events that update state */
|
|
252
|
-
});
|
|
253
|
-
/* assert on the output */
|
|
254
|
-
|
|
255
|
-
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act`,vt(e))}finally{t?Ht(e):wn()}}}}function g9(e){e.tag!==lu&&j2()&&ho.current===null&&v(`A suspended resource finished loading inside a test, but the event was not wrapped in act(...).
|
|
256
|
-
|
|
257
|
-
When testing, code that resolves suspended data should be wrapped into act(...):
|
|
258
|
-
|
|
259
|
-
act(() => {
|
|
260
|
-
/* finish loading suspended data */
|
|
261
|
-
});
|
|
262
|
-
/* assert on the output */
|
|
263
|
-
|
|
264
|
-
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act`)}function Zh(e){Y2=e}var za=null,Rd=null,E9=function(e){za=e};function kd(e){{if(za===null)return e;var t=za(e);return t===void 0?e:t.current}}function iS(e){return kd(e)}function aS(e){{if(za===null)return e;var t=za(e);if(t===void 0){if(e!=null&&typeof e.render=="function"){var a=kd(e.render);if(e.render!==a){var s={$$typeof:bn,render:a};return e.displayName!==void 0&&(s.displayName=e.displayName),s}}return e}return t.current}}function ux(e,t){{if(za===null)return!1;var a=e.elementType,s=t.type,c=!1,p=typeof s=="object"&&s!==null?s.$$typeof:null;switch(e.tag){case x:{typeof s=="function"&&(c=!0);break}case b:{(typeof s=="function"||p===ir)&&(c=!0);break}case ue:{(p===bn||p===ir)&&(c=!0);break}case we:case se:{(p===xo||p===ir)&&(c=!0);break}default:return!1}if(c){var g=za(a);if(g!==void 0&&g===za(s))return!0}return!1}}function cx(e){{if(za===null||typeof WeakSet!="function")return;Rd===null&&(Rd=new WeakSet),Rd.add(e)}}var S9=function(e,t){{if(za===null)return;var a=t.staleFamilies,s=t.updatedFamilies;ll(),sl(function(){oS(e.current,s,a)})}},C9=function(e,t){{if(e.context!==ca)return;ll(),sl(function(){Jh(t,e,null,null)})}};function oS(e,t,a){{var s=e.alternate,c=e.child,p=e.sibling,g=e.tag,C=e.type,w=null;switch(g){case b:case se:case x:w=C;break;case ue:w=C.render;break}if(za===null)throw new Error("Expected resolveFamily to be set during hot reload.");var N=!1,D=!1;if(w!==null){var I=za(w);I!==void 0&&(a.has(I)?D=!0:t.has(I)&&(g===x?D=!0:N=!0))}if(Rd!==null&&(Rd.has(e)||s!==null&&Rd.has(s))&&(D=!0),D&&(e._debugNeedsRemount=!0),D||N){var V=Hi(e,ct);V!==null&&vr(V,e,ct,nn)}c!==null&&!D&&oS(c,t,a),p!==null&&oS(p,t,a)}}var b9=function(e,t){{var a=new Set,s=new Set(t.map(function(c){return c.current}));return sS(e.current,s,a),a}};function sS(e,t,a){{var s=e.child,c=e.sibling,p=e.tag,g=e.type,C=null;switch(p){case b:case se:case x:C=g;break;case ue:C=g.render;break}var w=!1;C!==null&&t.has(C)&&(w=!0),w?w9(e,a):s!==null&&sS(s,t,a),c!==null&&sS(c,t,a)}}function w9(e,t){{var a=x9(e,t);if(a)return;for(var s=e;;){switch(s.tag){case M:t.add(s.stateNode);return;case L:t.add(s.stateNode.containerInfo);return;case k:t.add(s.stateNode.containerInfo);return}if(s.return===null)throw new Error("Expected to reach root first.");s=s.return}}}function x9(e,t){for(var a=e,s=!1;;){if(a.tag===M)s=!0,t.add(a.stateNode);else if(a.child!==null){a.child.return=a,a=a.child;continue}if(a===e)return s;for(;a.sibling===null;){if(a.return===null||a.return===e)return s;a=a.return}a.sibling.return=a.return,a=a.sibling}return!1}var lS;{lS=!1;try{var fx=Object.preventExtensions({})}catch{lS=!0}}function T9(e,t,a,s){this.tag=e,this.key=a,this.elementType=null,this.type=null,this.stateNode=null,this.return=null,this.child=null,this.sibling=null,this.index=0,this.ref=null,this.pendingProps=t,this.memoizedProps=null,this.updateQueue=null,this.memoizedState=null,this.dependencies=null,this.mode=s,this.flags=it,this.subtreeFlags=it,this.deletions=null,this.lanes=le,this.childLanes=le,this.alternate=null,this.actualDuration=Number.NaN,this.actualStartTime=Number.NaN,this.selfBaseDuration=Number.NaN,this.treeBaseDuration=Number.NaN,this.actualDuration=0,this.actualStartTime=-1,this.selfBaseDuration=0,this.treeBaseDuration=0,this._debugSource=null,this._debugOwner=null,this._debugNeedsRemount=!1,this._debugHookTypes=null,!lS&&typeof Object.preventExtensions=="function"&&Object.preventExtensions(this)}var fa=function(e,t,a,s){return new T9(e,t,a,s)};function uS(e){var t=e.prototype;return!!(t&&t.isReactComponent)}function R9(e){return typeof e=="function"&&!uS(e)&&e.defaultProps===void 0}function k9(e){if(typeof e=="function")return uS(e)?x:b;if(e!=null){var t=e.$$typeof;if(t===bn)return ue;if(t===xo)return we}return T}function Lc(e,t){var a=e.alternate;a===null?(a=fa(e.tag,t,e.key,e.mode),a.elementType=e.elementType,a.type=e.type,a.stateNode=e.stateNode,a._debugSource=e._debugSource,a._debugOwner=e._debugOwner,a._debugHookTypes=e._debugHookTypes,a.alternate=e,e.alternate=a):(a.pendingProps=t,a.type=e.type,a.flags=it,a.subtreeFlags=it,a.deletions=null,a.actualDuration=0,a.actualStartTime=-1),a.flags=e.flags&ar,a.childLanes=e.childLanes,a.lanes=e.lanes,a.child=e.child,a.memoizedProps=e.memoizedProps,a.memoizedState=e.memoizedState,a.updateQueue=e.updateQueue;var s=e.dependencies;switch(a.dependencies=s===null?null:{lanes:s.lanes,firstContext:s.firstContext},a.sibling=e.sibling,a.index=e.index,a.ref=e.ref,a.selfBaseDuration=e.selfBaseDuration,a.treeBaseDuration=e.treeBaseDuration,a._debugNeedsRemount=e._debugNeedsRemount,a.tag){case T:case b:case se:a.type=kd(e.type);break;case x:a.type=iS(e.type);break;case ue:a.type=aS(e.type);break}return a}function _9(e,t){e.flags&=ar|ln;var a=e.alternate;if(a===null)e.childLanes=le,e.lanes=t,e.child=null,e.subtreeFlags=it,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null,e.selfBaseDuration=0,e.treeBaseDuration=0;else{e.childLanes=a.childLanes,e.lanes=a.lanes,e.child=a.child,e.subtreeFlags=it,e.deletions=null,e.memoizedProps=a.memoizedProps,e.memoizedState=a.memoizedState,e.updateQueue=a.updateQueue,e.type=a.type;var s=a.dependencies;e.dependencies=s===null?null:{lanes:s.lanes,firstContext:s.firstContext},e.selfBaseDuration=a.selfBaseDuration,e.treeBaseDuration=a.treeBaseDuration}return e}function O9(e,t,a){var s;return e===ey?(s=xt,t===!0&&(s|=En,s|=Mi)):s=st,or&&(s|=ut),fa(k,null,null,s)}function cS(e,t,a,s,c,p){var g=T,C=e;if(typeof e=="function")uS(e)?(g=x,C=iS(C)):C=kd(C);else if(typeof e=="string")g=M;else e:switch(e){case ea:return Cu(a.children,c,p,t);case bo:g=H,c|=En,(c&xt)!==st&&(c|=Mi);break;case wo:return N9(a,c,p,t);case xi:return D9(a,c,p,t);case Ss:return L9(a,c,p,t);case _u:return dx(a,c,p,t);case Fc:case jc:case Yd:case Wd:case Hc:default:{if(typeof e=="object"&&e!==null)switch(e.$$typeof){case yl:g=ve;break e;case ku:g=ce;break e;case bn:g=ue,C=aS(C);break e;case xo:g=we;break e;case ir:g=be,C=null;break e}var w="";{(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(w+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var N=s?vt(s):null;N&&(w+=`
|
|
265
|
-
|
|
266
|
-
Check the render method of \``+N+"`.")}throw new Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) "+("but got: "+(e==null?e:typeof e)+"."+w))}}var D=fa(g,a,t,c);return D.elementType=e,D.type=C,D.lanes=p,D._debugOwner=s,D}function fS(e,t,a){var s=null;s=e._owner;var c=e.type,p=e.key,g=e.props,C=cS(c,p,g,s,t,a);return C._debugSource=e._source,C._debugOwner=e._owner,C}function Cu(e,t,a,s){var c=fa(F,e,s,t);return c.lanes=a,c}function N9(e,t,a,s){typeof e.id!="string"&&v('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof e.id);var c=fa(pe,e,s,t|ut);return c.elementType=wo,c.lanes=a,c.stateNode={effectDuration:0,passiveEffectDuration:0},c}function D9(e,t,a,s){var c=fa(W,e,s,t);return c.elementType=xi,c.lanes=a,c}function L9(e,t,a,s){var c=fa(Ue,e,s,t);return c.elementType=Ss,c.lanes=a,c}function dx(e,t,a,s){var c=fa(qe,e,s,t);c.elementType=_u,c.lanes=a;var p={isHidden:!1};return c.stateNode=p,c}function dS(e,t,a){var s=fa(P,e,null,t);return s.lanes=a,s}function M9(){var e=fa(M,null,null,st);return e.elementType="DELETED",e}function A9(e){var t=fa(Be,null,null,st);return t.stateNode=e,t}function pS(e,t,a){var s=e.children!==null?e.children:[],c=fa(L,s,e.key,t);return c.lanes=a,c.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},c}function px(e,t){return e===null&&(e=fa(T,null,null,st)),e.tag=t.tag,e.key=t.key,e.elementType=t.elementType,e.type=t.type,e.stateNode=t.stateNode,e.return=t.return,e.child=t.child,e.sibling=t.sibling,e.index=t.index,e.ref=t.ref,e.pendingProps=t.pendingProps,e.memoizedProps=t.memoizedProps,e.updateQueue=t.updateQueue,e.memoizedState=t.memoizedState,e.dependencies=t.dependencies,e.mode=t.mode,e.flags=t.flags,e.subtreeFlags=t.subtreeFlags,e.deletions=t.deletions,e.lanes=t.lanes,e.childLanes=t.childLanes,e.alternate=t.alternate,e.actualDuration=t.actualDuration,e.actualStartTime=t.actualStartTime,e.selfBaseDuration=t.selfBaseDuration,e.treeBaseDuration=t.treeBaseDuration,e._debugSource=t._debugSource,e._debugOwner=t._debugOwner,e._debugNeedsRemount=t._debugNeedsRemount,e._debugHookTypes=t._debugHookTypes,e}function z9(e,t,a,s,c){this.tag=t,this.containerInfo=e,this.pendingChildren=null,this.current=null,this.pingCache=null,this.finishedWork=null,this.timeoutHandle=G1,this.context=null,this.pendingContext=null,this.callbackNode=null,this.callbackPriority=_t,this.eventTimes=zf(le),this.expirationTimes=zf(nn),this.pendingLanes=le,this.suspendedLanes=le,this.pingedLanes=le,this.expiredLanes=le,this.mutableReadLanes=le,this.finishedLanes=le,this.entangledLanes=le,this.entanglements=zf(le),this.identifierPrefix=s,this.onRecoverableError=c,this.mutableSourceEagerHydrationData=null,this.effectDuration=0,this.passiveEffectDuration=0;{this.memoizedUpdaters=new Set;for(var p=this.pendingUpdatersLaneMap=[],g=0;g<cn;g++)p.push(new Set)}switch(t){case ey:this._debugRootType=a?"hydrateRoot()":"createRoot()";break;case lu:this._debugRootType=a?"hydrate()":"render()";break}}function hx(e,t,a,s,c,p,g,C,w,N){var D=new z9(e,t,a,C,w),I=O9(t,p);D.current=I,I.stateNode=D;{var V={element:s,isDehydrated:a,cache:null,transitions:null,pendingSuspenseBoundaries:null};I.memoizedState=V}return C0(I),D}var hS="18.2.0";function $9(e,t,a){var s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;return Ua(s),{$$typeof:ci,key:s==null?null:""+s,children:e,containerInfo:t,implementation:a}}var vS,mS;vS=!1,mS={};function vx(e){if(!e)return ca;var t=_i(e),a=E5(t);if(t.tag===x){var s=t.type;if(is(s))return Fb(t,s,a)}return a}function U9(e,t){{var a=_i(e);if(a===void 0){if(typeof e.render=="function")throw new Error("Unable to find node on an unmounted component.");var s=Object.keys(e).join(",");throw new Error("Argument appears to not be a ReactComponent. Keys: "+s)}var c=Li(a);if(c===null)return null;if(c.mode&En){var p=vt(a)||"Component";if(!mS[p]){mS[p]=!0;var g=yn;try{Ht(c),a.mode&En?v("%s is deprecated in StrictMode. %s was passed an instance of %s which is inside StrictMode. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-find-node",t,t,p):v("%s is deprecated in StrictMode. %s was passed an instance of %s which renders StrictMode children. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-find-node",t,t,p)}finally{g?Ht(g):wn()}}}return c.stateNode}}function mx(e,t,a,s,c,p,g,C){var w=!1,N=null;return hx(e,t,w,N,a,s,c,p,g)}function yx(e,t,a,s,c,p,g,C,w,N){var D=!0,I=hx(a,s,D,e,c,p,g,C,w);I.context=vx(null);var V=I.current,X=Si(),J=Eu(V),ae=rl(X,J);return ae.callback=t??null,fu(V,ae,J),Ik(I,J,X),I}function Jh(e,t,a,s){tm(t,e);var c=t.current,p=Si(),g=Eu(c);Ms(g);var C=vx(a);t.context===null?t.context=C:t.pendingContext=C,Yr&&yn!==null&&!vS&&(vS=!0,v(`Render methods should be a pure function of props and state; triggering nested component updates from render is not allowed. If necessary, trigger nested updates in componentDidUpdate.
|
|
267
|
-
|
|
268
|
-
Check the render method of %s.`,vt(yn)||"Unknown"));var w=rl(p,g);w.payload={element:e},s=s===void 0?null:s,s!==null&&(typeof s!="function"&&v("render(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",s),w.callback=s);var N=fu(c,w,g);return N!==null&&(vr(N,c,g,p),py(N,c,g)),g}function ig(e){var t=e.current;if(!t.child)return null;switch(t.child.tag){case M:return t.child.stateNode;default:return t.child.stateNode}}function P9(e){switch(e.tag){case k:{var t=e.stateNode;if(Vn(t)){var a=h1(t);Gk(t,a)}break}case W:{sl(function(){var c=Hi(e,ct);if(c!==null){var p=Si();vr(c,e,ct,p)}});var s=ct;yS(e,s);break}}}function gx(e,t){var a=e.memoizedState;a!==null&&a.dehydrated!==null&&(a.retryLane=pm(a.retryLane,t))}function yS(e,t){gx(e,t);var a=e.alternate;a&&gx(a,t)}function j9(e){if(e.tag===W){var t=Hl,a=Hi(e,t);if(a!==null){var s=Si();vr(a,e,t,s)}yS(e,t)}}function H9(e){if(e.tag===W){var t=Eu(e),a=Hi(e,t);if(a!==null){var s=Si();vr(a,e,t,s)}yS(e,t)}}function Ex(e){var t=Zv(e);return t===null?null:t.stateNode}var Sx=function(e){return null};function F9(e){return Sx(e)}var Cx=function(e){return!1};function V9(e){return Cx(e)}var bx=null,wx=null,xx=null,Tx=null,Rx=null,kx=null,_x=null,Ox=null,Nx=null;{var Dx=function(e,t,a){var s=t[a],c=kt(e)?e.slice():bt({},e);return a+1===t.length?(kt(c)?c.splice(s,1):delete c[s],c):(c[s]=Dx(e[s],t,a+1),c)},Lx=function(e,t){return Dx(e,t,0)},Mx=function(e,t,a,s){var c=t[s],p=kt(e)?e.slice():bt({},e);if(s+1===t.length){var g=a[s];p[g]=p[c],kt(p)?p.splice(c,1):delete p[c]}else p[c]=Mx(e[c],t,a,s+1);return p},Ax=function(e,t,a){if(t.length!==a.length){m("copyWithRename() expects paths of the same length");return}else for(var s=0;s<a.length-1;s++)if(t[s]!==a[s]){m("copyWithRename() expects paths to be the same except for the deepest key");return}return Mx(e,t,a,0)},zx=function(e,t,a,s){if(a>=t.length)return s;var c=t[a],p=kt(e)?e.slice():bt({},e);return p[c]=zx(e[c],t,a+1,s),p},$x=function(e,t,a){return zx(e,t,0,a)},gS=function(e,t){for(var a=e.memoizedState;a!==null&&t>0;)a=a.next,t--;return a};bx=function(e,t,a,s){var c=gS(e,t);if(c!==null){var p=$x(c.memoizedState,a,s);c.memoizedState=p,c.baseState=p,e.memoizedProps=bt({},e.memoizedProps);var g=Hi(e,ct);g!==null&&vr(g,e,ct,nn)}},wx=function(e,t,a){var s=gS(e,t);if(s!==null){var c=Lx(s.memoizedState,a);s.memoizedState=c,s.baseState=c,e.memoizedProps=bt({},e.memoizedProps);var p=Hi(e,ct);p!==null&&vr(p,e,ct,nn)}},xx=function(e,t,a,s){var c=gS(e,t);if(c!==null){var p=Ax(c.memoizedState,a,s);c.memoizedState=p,c.baseState=p,e.memoizedProps=bt({},e.memoizedProps);var g=Hi(e,ct);g!==null&&vr(g,e,ct,nn)}},Tx=function(e,t,a){e.pendingProps=$x(e.memoizedProps,t,a),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var s=Hi(e,ct);s!==null&&vr(s,e,ct,nn)},Rx=function(e,t){e.pendingProps=Lx(e.memoizedProps,t),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var a=Hi(e,ct);a!==null&&vr(a,e,ct,nn)},kx=function(e,t,a){e.pendingProps=Ax(e.memoizedProps,t,a),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var s=Hi(e,ct);s!==null&&vr(s,e,ct,nn)},_x=function(e){var t=Hi(e,ct);t!==null&&vr(t,e,ct,nn)},Ox=function(e){Sx=e},Nx=function(e){Cx=e}}function B9(e){var t=Li(e);return t===null?null:t.stateNode}function I9(e){return null}function Y9(){return yn}function W9(e){var t=e.findFiberByHostInstance,a=l.ReactCurrentDispatcher;return Rp({bundleType:e.bundleType,version:e.version,rendererPackageName:e.rendererPackageName,rendererConfig:e.rendererConfig,overrideHookState:bx,overrideHookStateDeletePath:wx,overrideHookStateRenamePath:xx,overrideProps:Tx,overridePropsDeletePath:Rx,overridePropsRenamePath:kx,setErrorHandler:Ox,setSuspenseHandler:Nx,scheduleUpdate:_x,currentDispatcherRef:a,findHostInstanceByFiber:B9,findFiberByHostInstance:t||I9,findHostInstancesForRefresh:b9,scheduleRefresh:S9,scheduleRoot:C9,setRefreshHandler:E9,getCurrentFiber:Y9,reconcilerVersion:hS})}var Ux=typeof reportError=="function"?reportError:function(e){console.error(e)};function ES(e){this._internalRoot=e}ag.prototype.render=ES.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw new Error("Cannot update an unmounted root.");{typeof arguments[1]=="function"?v("render(...): does not support the second callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."):og(arguments[1])?v("You passed a container to the second argument of root.render(...). You don't need to pass it again since you already passed it to create the root."):typeof arguments[1]<"u"&&v("You passed a second argument to root.render(...) but it only accepts one argument.");var a=t.containerInfo;if(a.nodeType!==An){var s=Ex(t.current);s&&s.parentNode!==a&&v("render(...): It looks like the React-rendered content of the root container was removed without using React. This is not supported and will cause errors. Instead, call root.unmount() to empty a root's container.")}}Jh(e,t,null,null)},ag.prototype.unmount=ES.prototype.unmount=function(){typeof arguments[0]=="function"&&v("unmount(...): does not support a callback argument. To execute a side effect after rendering, declare it in a component body with useEffect().");var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;Q2()&&v("Attempted to synchronously unmount a root while React was already rendering. React cannot finish unmounting the root until the current render has completed, which may lead to a race condition."),sl(function(){Jh(null,e,null,null)}),$b(t)}};function q9(e,t){if(!og(e))throw new Error("createRoot(...): Target container is not a DOM element.");Px(e);var a=!1,s=!1,c="",p=Ux;t!=null&&(t.hydrate?m("hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead."):typeof t=="object"&&t!==null&&t.$$typeof===Co&&v(`You passed a JSX element to createRoot. You probably meant to call root.render instead. Example usage:
|
|
269
|
-
|
|
270
|
-
let root = createRoot(domContainer);
|
|
271
|
-
root.render(<App />);`),t.unstable_strictMode===!0&&(a=!0),t.identifierPrefix!==void 0&&(c=t.identifierPrefix),t.onRecoverableError!==void 0&&(p=t.onRecoverableError),t.transitionCallbacks!==void 0&&t.transitionCallbacks);var g=mx(e,ey,null,a,s,c,p);qm(g.current,e);var C=e.nodeType===An?e.parentNode:e;return sh(C),new ES(g)}function ag(e){this._internalRoot=e}function G9(e){e&&Cm(e)}ag.prototype.unstable_scheduleHydration=G9;function Q9(e,t,a){if(!og(e))throw new Error("hydrateRoot(...): Target container is not a DOM element.");Px(e),t===void 0&&v("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var s=a??null,c=a!=null&&a.hydratedSources||null,p=!1,g=!1,C="",w=Ux;a!=null&&(a.unstable_strictMode===!0&&(p=!0),a.identifierPrefix!==void 0&&(C=a.identifierPrefix),a.onRecoverableError!==void 0&&(w=a.onRecoverableError));var N=yx(t,null,e,ey,s,p,g,C,w);if(qm(N.current,e),sh(e),c)for(var D=0;D<c.length;D++){var I=c[D];r6(N,I)}return new ag(N)}function og(e){return!!(e&&(e.nodeType===qr||e.nodeType===aa||e.nodeType===xs||!Y))}function ev(e){return!!(e&&(e.nodeType===qr||e.nodeType===aa||e.nodeType===xs||e.nodeType===An&&e.nodeValue===" react-mount-point-unstable "))}function Px(e){e.nodeType===qr&&e.tagName&&e.tagName.toUpperCase()==="BODY"&&v("createRoot(): Creating roots directly with document.body is discouraged, since its children are often manipulated by third-party scripts and browser extensions. This may lead to subtle reconciliation issues. Try using a container element created for your app."),gh(e)&&(e._reactRootContainer?v("You are calling ReactDOMClient.createRoot() on a container that was previously passed to ReactDOM.render(). This is not supported."):v("You are calling ReactDOMClient.createRoot() on a container that has already been passed to createRoot() before. Instead, call root.render() on the existing root instead if you want to update it."))}var K9=l.ReactCurrentOwner,jx;jx=function(e){if(e._reactRootContainer&&e.nodeType!==An){var t=Ex(e._reactRootContainer.current);t&&t.parentNode!==e&&v("render(...): It looks like the React-rendered content of this container was removed without using React. This is not supported and will cause errors. Instead, call ReactDOM.unmountComponentAtNode to empty a container.")}var a=!!e._reactRootContainer,s=SS(e),c=!!(s&&ou(s));c&&!a&&v("render(...): Replacing React-rendered children with a new root component. If you intended to update the children of this node, you should instead have the existing children update their state and render the new components instead of calling ReactDOM.render."),e.nodeType===qr&&e.tagName&&e.tagName.toUpperCase()==="BODY"&&v("render(): Rendering components directly into document.body is discouraged, since its children are often manipulated by third-party scripts and browser extensions. This may lead to subtle reconciliation issues. Try rendering into a container element created for your app.")};function SS(e){return e?e.nodeType===aa?e.documentElement:e.firstChild:null}function Hx(){}function X9(e,t,a,s,c){if(c){if(typeof s=="function"){var p=s;s=function(){var V=ig(g);p.call(V)}}var g=yx(t,s,e,lu,null,!1,!1,"",Hx);e._reactRootContainer=g,qm(g.current,e);var C=e.nodeType===An?e.parentNode:e;return sh(C),sl(),g}else{for(var w;w=e.lastChild;)e.removeChild(w);if(typeof s=="function"){var N=s;s=function(){var V=ig(D);N.call(V)}}var D=mx(e,lu,null,!1,!1,"",Hx);e._reactRootContainer=D,qm(D.current,e);var I=e.nodeType===An?e.parentNode:e;return sh(I),sl(function(){Jh(t,D,a,s)}),D}}function Z9(e,t){e!==null&&typeof e!="function"&&v("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",t,e)}function sg(e,t,a,s,c){jx(a),Z9(c===void 0?null:c,"render");var p=a._reactRootContainer,g;if(!p)g=X9(a,t,e,c,s);else{if(g=p,typeof c=="function"){var C=c;c=function(){var w=ig(g);C.call(w)}}Jh(t,g,e,c)}return ig(g)}function J9(e){{var t=K9.current;if(t!==null&&t.stateNode!==null){var a=t.stateNode._warnedAboutRefsInRender;a||v("%s is accessing findDOMNode inside its render(). render() should be a pure function of props and state. It should never access something that requires stale data from the previous render, such as refs. Move this logic to componentDidMount and componentDidUpdate instead.",Lt(t.type)||"A component"),t.stateNode._warnedAboutRefsInRender=!0}}return e==null?null:e.nodeType===qr?e:U9(e,"findDOMNode")}function e7(e,t,a){if(v("ReactDOM.hydrate is no longer supported in React 18. Use hydrateRoot instead. Until you switch to the new API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot"),!ev(t))throw new Error("Target container is not a DOM element.");{var s=gh(t)&&t._reactRootContainer===void 0;s&&v("You are calling ReactDOM.hydrate() on a container that was previously passed to ReactDOMClient.createRoot(). This is not supported. Did you mean to call hydrateRoot(container, element)?")}return sg(null,e,t,!0,a)}function t7(e,t,a){if(v("ReactDOM.render is no longer supported in React 18. Use createRoot instead. Until you switch to the new API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot"),!ev(t))throw new Error("Target container is not a DOM element.");{var s=gh(t)&&t._reactRootContainer===void 0;s&&v("You are calling ReactDOM.render() on a container that was previously passed to ReactDOMClient.createRoot(). This is not supported. Did you mean to call root.render(element)?")}return sg(null,e,t,!1,a)}function n7(e,t,a,s){if(v("ReactDOM.unstable_renderSubtreeIntoContainer() is no longer supported in React 18. Consider using a portal instead. Until you switch to the createRoot API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot"),!ev(a))throw new Error("Target container is not a DOM element.");if(e==null||!Wu(e))throw new Error("parentComponent must be a valid React Component");return sg(e,t,a,!1,s)}function r7(e){if(!ev(e))throw new Error("unmountComponentAtNode(...): Target container is not a DOM element.");{var t=gh(e)&&e._reactRootContainer===void 0;t&&v("You are calling ReactDOM.unmountComponentAtNode() on a container that was previously passed to ReactDOMClient.createRoot(). This is not supported. Did you mean to call root.unmount()?")}if(e._reactRootContainer){{var a=SS(e),s=a&&!ou(a);s&&v("unmountComponentAtNode(): The node you're attempting to unmount was rendered by another copy of React.")}return sl(function(){sg(null,null,e,!1,function(){e._reactRootContainer=null,$b(e)})}),!0}else{{var c=SS(e),p=!!(c&&ou(c)),g=e.nodeType===qr&&ev(e.parentNode)&&!!e.parentNode._reactRootContainer;p&&v("unmountComponentAtNode(): The node you're attempting to unmount was rendered by React and is not a top-level container. %s",g?"You may have accidentally passed in a React root node instead of its container.":"Instead, have the parent component update its state and rerender in order to remove this component.")}return!1}}Ve(P9),vm(j9),sc(H9),Bp(zi),ym(ic),(typeof Map!="function"||Map.prototype==null||typeof Map.prototype.forEach!="function"||typeof Set!="function"||Set.prototype==null||typeof Set.prototype.clear!="function"||typeof Set.prototype.forEach!="function")&&v("React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),Qv(o4),tf(XE,Qk,sl);function i7(e,t){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!og(t))throw new Error("Target container is not a DOM element.");return $9(e,t,null,a)}function a7(e,t,a,s){return n7(e,t,a,s)}var CS={usingClientEntryPoint:!1,Events:[ou,id,Gm,ef,Bu,XE]};function o7(e,t){return CS.usingClientEntryPoint||v('You are importing createRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".'),q9(e,t)}function s7(e,t,a){return CS.usingClientEntryPoint||v('You are importing hydrateRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".'),Q9(e,t,a)}function l7(e){return Q2()&&v("flushSync was called from inside a lifecycle method. React cannot flush when React is already rendering. Consider moving this call to a scheduler task or micro task."),sl(e)}var u7=W9({findFiberByHostInstance:yc,bundleType:1,version:hS,rendererPackageName:"react-dom"});if(!u7&&zt&&window.top===window.self&&(navigator.userAgent.indexOf("Chrome")>-1&&navigator.userAgent.indexOf("Edge")===-1||navigator.userAgent.indexOf("Firefox")>-1)){var Fx=window.location.protocol;/^(https?|file):$/.test(Fx)&&console.info("%cDownload the React DevTools for a better development experience: https://reactjs.org/link/react-devtools"+(Fx==="file:"?`
|
|
272
|
-
You might need to use a local HTTP server (instead of file://): https://reactjs.org/link/react-devtools-faq`:""),"font-weight:bold")}Yi.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=CS,Yi.createPortal=i7,Yi.createRoot=o7,Yi.findDOMNode=J9,Yi.flushSync=l7,Yi.hydrate=e7,Yi.hydrateRoot=s7,Yi.render=t7,Yi.unmountComponentAtNode=r7,Yi.unstable_batchedUpdates=XE,Yi.unstable_renderSubtreeIntoContainer=a7,Yi.version=hS,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()),Yi}function QT(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function")){if(process.env.NODE_ENV!=="production")throw new Error("^_^");try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(QT)}catch(o){console.error(o)}}}process.env.NODE_ENV==="production"?(QT(),lC.exports=OO()):lC.exports=NO();var KT=lC.exports;const vg=Ev(KT),V3={disabled:!1};var DO=process.env.NODE_ENV!=="production"?de.oneOfType([de.number,de.shape({enter:de.number,exit:de.number,appear:de.number}).isRequired]):null,LO=process.env.NODE_ENV!=="production"?de.oneOfType([de.string,de.shape({enter:de.string,exit:de.string,active:de.string}),de.shape({enter:de.string,enterDone:de.string,enterActive:de.string,exit:de.string,exitDone:de.string,exitActive:de.string})]):null;const XT=z.createContext(null);var ZT=function(i){return i.scrollTop},sv="unmounted",Mc="exited",Ac="entering",Nd="entered",uC="exiting",hl=function(o){$a(i,o);function i(f,h){var m;m=o.call(this,f,h)||this;var v=h,S=v&&!v.isMounting?f.enter:f.appear,b;return m.appearStatus=null,f.in?S?(b=Mc,m.appearStatus=Ac):b=Nd:f.unmountOnExit||f.mountOnEnter?b=sv:b=Mc,m.state={status:b},m.nextCallback=null,m}i.getDerivedStateFromProps=function(h,m){var v=h.in;return v&&m.status===sv?{status:Mc}:null};var l=i.prototype;return l.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},l.componentDidUpdate=function(h){var m=null;if(h!==this.props){var v=this.state.status;this.props.in?v!==Ac&&v!==Nd&&(m=Ac):(v===Ac||v===Nd)&&(m=uC)}this.updateStatus(!1,m)},l.componentWillUnmount=function(){this.cancelNextCallback()},l.getTimeouts=function(){var h=this.props.timeout,m,v,S;return m=v=S=h,h!=null&&typeof h!="number"&&(m=h.exit,v=h.enter,S=h.appear!==void 0?h.appear:v),{exit:m,enter:v,appear:S}},l.updateStatus=function(h,m){if(h===void 0&&(h=!1),m!==null)if(this.cancelNextCallback(),m===Ac){if(this.props.unmountOnExit||this.props.mountOnEnter){var v=this.props.nodeRef?this.props.nodeRef.current:vg.findDOMNode(this);v&&ZT(v)}this.performEnter(h)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Mc&&this.setState({status:sv})},l.performEnter=function(h){var m=this,v=this.props.enter,S=this.context?this.context.isMounting:h,b=this.props.nodeRef?[S]:[vg.findDOMNode(this),S],x=b[0],T=b[1],k=this.getTimeouts(),L=S?k.appear:k.enter;if(!h&&!v||V3.disabled){this.safeSetState({status:Nd},function(){m.props.onEntered(x)});return}this.props.onEnter(x,T),this.safeSetState({status:Ac},function(){m.props.onEntering(x,T),m.onTransitionEnd(L,function(){m.safeSetState({status:Nd},function(){m.props.onEntered(x,T)})})})},l.performExit=function(){var h=this,m=this.props.exit,v=this.getTimeouts(),S=this.props.nodeRef?void 0:vg.findDOMNode(this);if(!m||V3.disabled){this.safeSetState({status:Mc},function(){h.props.onExited(S)});return}this.props.onExit(S),this.safeSetState({status:uC},function(){h.props.onExiting(S),h.onTransitionEnd(v.exit,function(){h.safeSetState({status:Mc},function(){h.props.onExited(S)})})})},l.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},l.safeSetState=function(h,m){m=this.setNextCallback(m),this.setState(h,m)},l.setNextCallback=function(h){var m=this,v=!0;return this.nextCallback=function(S){v&&(v=!1,m.nextCallback=null,h(S))},this.nextCallback.cancel=function(){v=!1},this.nextCallback},l.onTransitionEnd=function(h,m){this.setNextCallback(m);var v=this.props.nodeRef?this.props.nodeRef.current:vg.findDOMNode(this),S=h==null&&!this.props.addEndListener;if(!v||S){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var b=this.props.nodeRef?[this.nextCallback]:[v,this.nextCallback],x=b[0],T=b[1];this.props.addEndListener(x,T)}h!=null&&setTimeout(this.nextCallback,h)},l.render=function(){var h=this.state.status;if(h===sv)return null;var m=this.props,v=m.children;m.in,m.mountOnEnter,m.unmountOnExit,m.appear,m.enter,m.exit,m.timeout,m.addEndListener,m.onEnter,m.onEntering,m.onEntered,m.onExit,m.onExiting,m.onExited,m.nodeRef;var S=Vd(m,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return z.createElement(XT.Provider,{value:null},typeof v=="function"?v(h,S):z.cloneElement(z.Children.only(v),S))},i}(z.Component);hl.contextType=XT;hl.propTypes=process.env.NODE_ENV!=="production"?{nodeRef:de.shape({current:typeof Element>"u"?de.any:function(o,i,l,f,h,m){var v=o[i];return de.instanceOf(v&&"ownerDocument"in v?v.ownerDocument.defaultView.Element:Element)(o,i,l,f,h,m)}}),children:de.oneOfType([de.func.isRequired,de.element.isRequired]).isRequired,in:de.bool,mountOnEnter:de.bool,unmountOnExit:de.bool,appear:de.bool,enter:de.bool,exit:de.bool,timeout:function(i){var l=DO;i.addEndListener||(l=l.isRequired);for(var f=arguments.length,h=new Array(f>1?f-1:0),m=1;m<f;m++)h[m-1]=arguments[m];return l.apply(void 0,[i].concat(h))},addEndListener:de.func,onEnter:de.func,onEntering:de.func,onEntered:de.func,onExit:de.func,onExiting:de.func,onExited:de.func}:{};function Od(){}hl.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Od,onEntering:Od,onEntered:Od,onExit:Od,onExiting:Od,onExited:Od};hl.UNMOUNTED=sv;hl.EXITED=Mc;hl.ENTERING=Ac;hl.ENTERED=Nd;hl.EXITING=uC;const JT=hl;var MO=function(i,l){return i&&l&&l.split(" ").forEach(function(f){return TO(i,f)})},FS=function(i,l){return i&&l&&l.split(" ").forEach(function(f){return RO(i,f)})},IC=function(o){$a(i,o);function i(){for(var f,h=arguments.length,m=new Array(h),v=0;v<h;v++)m[v]=arguments[v];return f=o.call.apply(o,[this].concat(m))||this,f.appliedClasses={appear:{},enter:{},exit:{}},f.onEnter=function(S,b){var x=f.resolveArguments(S,b),T=x[0],k=x[1];f.removeClasses(T,"exit"),f.addClass(T,k?"appear":"enter","base"),f.props.onEnter&&f.props.onEnter(S,b)},f.onEntering=function(S,b){var x=f.resolveArguments(S,b),T=x[0],k=x[1],L=k?"appear":"enter";f.addClass(T,L,"active"),f.props.onEntering&&f.props.onEntering(S,b)},f.onEntered=function(S,b){var x=f.resolveArguments(S,b),T=x[0],k=x[1],L=k?"appear":"enter";f.removeClasses(T,L),f.addClass(T,L,"done"),f.props.onEntered&&f.props.onEntered(S,b)},f.onExit=function(S){var b=f.resolveArguments(S),x=b[0];f.removeClasses(x,"appear"),f.removeClasses(x,"enter"),f.addClass(x,"exit","base"),f.props.onExit&&f.props.onExit(S)},f.onExiting=function(S){var b=f.resolveArguments(S),x=b[0];f.addClass(x,"exit","active"),f.props.onExiting&&f.props.onExiting(S)},f.onExited=function(S){var b=f.resolveArguments(S),x=b[0];f.removeClasses(x,"exit"),f.addClass(x,"exit","done"),f.props.onExited&&f.props.onExited(S)},f.resolveArguments=function(S,b){return f.props.nodeRef?[f.props.nodeRef.current,S]:[S,b]},f.getClassNames=function(S){var b=f.props.classNames,x=typeof b=="string",T=x&&b?b+"-":"",k=x?""+T+S:b[S],L=x?k+"-active":b[S+"Active"],M=x?k+"-done":b[S+"Done"];return{baseClassName:k,activeClassName:L,doneClassName:M}},f}var l=i.prototype;return l.addClass=function(h,m,v){var S=this.getClassNames(m)[v+"ClassName"],b=this.getClassNames("enter"),x=b.doneClassName;m==="appear"&&v==="done"&&x&&(S+=" "+x),v==="active"&&h&&ZT(h),S&&(this.appliedClasses[m][v]=S,MO(h,S))},l.removeClasses=function(h,m){var v=this.appliedClasses[m],S=v.base,b=v.active,x=v.done;this.appliedClasses[m]={},S&&FS(h,S),b&&FS(h,b),x&&FS(h,x)},l.render=function(){var h=this.props;h.classNames;var m=Vd(h,["classNames"]);return z.createElement(JT,mr({},m,{onEnter:this.onEnter,onEntered:this.onEntered,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}))},i}(z.Component);IC.defaultProps={classNames:""};IC.propTypes=process.env.NODE_ENV!=="production"?mr({},JT.propTypes,{classNames:LO,onEnter:de.func,onEntering:de.func,onEntered:de.func,onExit:de.func,onExiting:de.func,onExited:de.func}):{};const AO=IC,zO=te.createContext(new Pg);te.createContext(1);const $O=te.createContext({id:"",type:"",name:"",branch:""});te.createContext({});const UO=te.createContext(null);te.createContext(null);const Bd=()=>te.useContext(zO),PO=o=>{const i=te.useContext($O),l=tR(),[f,h]=te.useState();return te.useEffect(()=>{if((o||i.id)&&l){const m=l.nodes.get(o||i.id);h(m)}},[o,i.id,l]),f},eR=()=>{const o=te.useRef(!1);return te.useEffect(()=>(o.current=!0,()=>{o.current=!1}),[]),o},tR=o=>{const i=Bd(),[l,f]=te.useState(null),h=eR();return te.useEffect(()=>{ET.getInstance(o||i).then(m=>{h.current&&f(m)})},[h]),l},jO=o=>{const i=PO(o),l=tR(),[f,h]=te.useState({}),m=eR();return te.useEffect(()=>{i&&m.current&&h(i.attributes.context)},[m,i]),te.useEffect(()=>{if(l){const v=l.events.subscribe("components:context-changed",(S,b)=>{i===b.node&&m.current&&h(b.node.attributes.context)});return()=>{v()}}},[m,l,i]),f},Ad=(o,i,l=window,f=()=>!0)=>{const h=te.useRef(()=>{});te.useEffect(()=>{h.current=i},[i]),te.useEffect(()=>{if(!(l&&f()))return;const v=S=>h.current(S);return l.addEventListener(o,v),()=>{l.removeEventListener(o,v)}},[o,l])},HO=o=>{const i=Bd(),{events:l}=(o||i).get("$widget");return l},uv=(o,i)=>{const[l,f]=te.useState(!1),h=te.useCallback(v=>{const{key:S}=v;S===o&&(f(!0),i&&i(v))},[f,i]),m=te.useCallback(({key:v})=>{v===o&&f(!1)},[f]);return Ad("keydown",h,window),Ad("keyup",m,window),l},FO=o=>{const i=te.useRef();return te.useEffect(()=>{i.current=o}),i.current},VO=()=>te.useContext(UO),BO=o=>{const i=te.useRef(),l=te.useRef(0);let f;const h=te.useCallback(()=>{var x;(x=i.current)==null||x.classList.add("humany-scrolling"),clearTimeout(f),f=setTimeout(()=>{var T;(T=i.current)==null||T.classList.remove("humany-scrolling")},500)},[i]),m=te.useCallback(x=>{l.current=x.touches[0].clientY},[i]),v=x=>S(x)?x===i.current?x:null:x.parentElement?v(x.parentElement):null,S=x=>x.scrollWidth>x.clientWidth||x.scrollHeight>x.clientHeight,b=te.useCallback(x=>{if(!x.cancelable)return;const T=x.touches[0].clientY,k=v(x.target);if(!k)return;const L=k.scrollTop,M=l.current-T<0?"up":"down",P=L<=0&&M==="up",F=L>=k.scrollHeight-k.offsetHeight&&M==="down";(P||F)&&x.preventDefault(),l.current=T},[i,l]);return Ad("scroll",h,i.current,()=>i.current&&o),Ad("touchstart",m,i.current,()=>i.current&&o),Ad("touchmove",b,i.current,()=>i.current&&o),o?[IO,i]:["",i]},IO=`
|
|
273
|
-
overflow-y: ${_3()===aC.Chrome||_3()===aC.EdgeChromium?"overlay":"auto"};
|
|
32
|
+
`,Ws=o.createContext(new _e);o.createContext(1);const Zs=o.createContext({id:"",type:"",name:"",branch:""});o.createContext({});const Us=o.createContext(null);o.createContext(null);const he=()=>o.useContext(Ws),Ks=t=>{const e=o.useContext(Zs),n=In(),[r,s]=o.useState();return o.useEffect(()=>{if((t||e.id)&&n){const i=n.nodes.get(t||e.id);s(i)}},[t,e.id,n]),r},Bn=()=>{const t=o.useRef(!1);return o.useEffect(()=>(t.current=!0,()=>{t.current=!1}),[]),t},In=t=>{const e=he(),[n,r]=o.useState(null),s=Bn();return o.useEffect(()=>{kn.getInstance(t||e).then(i=>{s.current&&r(i)})},[s]),n},Gs=t=>{const e=Ks(t),n=In(),[r,s]=o.useState({}),i=Bn();return o.useEffect(()=>{e&&i.current&&s(e.attributes.context)},[i,e]),o.useEffect(()=>{if(n){const a=n.events.subscribe("components:context-changed",(c,l)=>{e===l.node&&i.current&&s(l.node.attributes.context)});return()=>{a()}}},[i,n,e]),r},le=(t,e,n=window,r=()=>!0)=>{const s=o.useRef(()=>{});o.useEffect(()=>{s.current=e},[e]),o.useEffect(()=>{if(!(n&&r()))return;const a=c=>s.current(c);return n.addEventListener(t,a),()=>{n.removeEventListener(t,a)}},[t,n])},Js=t=>{const e=he(),{events:n}=(t||e).get("$widget");return n},ge=(t,e)=>{const[n,r]=o.useState(!1),s=o.useCallback(a=>{const{key:c}=a;c===t&&(r(!0),e&&e(a))},[r,e]),i=o.useCallback(({key:a})=>{a===t&&r(!1)},[r]);return le("keydown",s,window),le("keyup",i,window),n},Qs=t=>{const e=o.useRef();return o.useEffect(()=>{e.current=t}),e.current},Ys=()=>o.useContext(Us),Xs=t=>{const e=o.useRef(),n=o.useRef(0);let r;const s=o.useCallback(()=>{var h;(h=e.current)==null||h.classList.add("humany-scrolling"),clearTimeout(r),r=setTimeout(()=>{var u;(u=e.current)==null||u.classList.remove("humany-scrolling")},500)},[e]),i=o.useCallback(h=>{n.current=h.touches[0].clientY},[e]),a=h=>c(h)?h===e.current?h:null:h.parentElement?a(h.parentElement):null,c=h=>h.scrollWidth>h.clientWidth||h.scrollHeight>h.clientHeight,l=o.useCallback(h=>{if(!h.cancelable)return;const u=h.touches[0].clientY,d=a(h.target);if(!d)return;const f=d.scrollTop,p=n.current-u<0?"up":"down",g=f<=0&&p==="up",v=f>=d.scrollHeight-d.offsetHeight&&p==="down";(g||v)&&h.preventDefault(),n.current=u},[e,n]);return le("scroll",s,e.current,()=>e.current&&t),le("touchstart",i,e.current,()=>e.current&&t),le("touchmove",l,e.current,()=>e.current&&t),t?[ei,e]:["",e]},ei=`
|
|
33
|
+
overflow-y: ${hn()===ft.Chrome||hn()===ft.EdgeChromium?"overlay":"auto"};
|
|
274
34
|
overflow-x: hidden;
|
|
275
35
|
-ms-overflow-style: none; /* IE 10+ */
|
|
276
36
|
scrollbar-width: thin; /* Firefox */
|
|
@@ -297,55 +57,55 @@ You might need to use a local HTTP server (instead of file://): https://reactjs.
|
|
|
297
57
|
background-color: #7F7F7F;
|
|
298
58
|
}
|
|
299
59
|
}
|
|
300
|
-
`,
|
|
60
|
+
`,ti=(t=!1)=>{const[e,n]=o.useState(t),r=o.useCallback(s=>{n(typeof s=="boolean"?s:i=>!i)},[]);return[e,r]},Ht=(t,e,n=[],r)=>{const s=Js(r);return o.useEffect(()=>{if(s){const i=s.subscribe(t,e);return()=>{i()}}},[s].concat(n)),i=>s==null?void 0:s.dispatch(t,i)},Vn=(t,e)=>{const n=Ht("widget:menu-toggled",(r,s)=>{s!==t&&e()});return()=>n(t)},Bt=o.forwardRef(({className:t,children:e,...n},r)=>o.createElement("span",{ref:r,className:L(t,"humany-text"),..._(n)},e)),Dn=t=>$.css`
|
|
301
61
|
display: flex;
|
|
302
62
|
justify-content: center;
|
|
303
63
|
flex-direction: column;
|
|
304
64
|
background: #ffffff;
|
|
305
|
-
border-radius: ${
|
|
306
|
-
border: ${
|
|
307
|
-
box-shadow: ${
|
|
308
|
-
${
|
|
309
|
-
`,
|
|
65
|
+
border-radius: ${t.theme.borderRadius};
|
|
66
|
+
border: ${t.theme.border};
|
|
67
|
+
box-shadow: ${t.theme.boxShadow||"none"};
|
|
68
|
+
${t["data-loading"]&&"min-height: 150px;"}
|
|
69
|
+
`,Fn=t=>{var e,n,r;return $.css`
|
|
310
70
|
cursor: pointer;
|
|
311
71
|
text-align: center;
|
|
312
72
|
border: none;
|
|
313
73
|
font-weight: 300;
|
|
314
|
-
padding: ${(
|
|
315
|
-
border-radius: ${
|
|
316
|
-
font-family: ${(
|
|
317
|
-
font-size: ${(
|
|
318
|
-
`},
|
|
319
|
-
outline: ${(
|
|
320
|
-
color: ${(
|
|
74
|
+
padding: ${(e=t.theme.sizes)==null?void 0:e.normal};
|
|
75
|
+
border-radius: ${t.theme.borderRadius};
|
|
76
|
+
font-family: ${(n=t.theme.fonts)==null?void 0:n.type};
|
|
77
|
+
font-size: ${(r=t.theme.fonts)==null?void 0:r.normal};
|
|
78
|
+
`},W=t=>{var e,n,r;return $.css`
|
|
79
|
+
outline: ${(e=t.theme.accessibility)==null?void 0:e.border};
|
|
80
|
+
color: ${(r=(n=t.theme.accessibility)==null?void 0:n.colors)==null?void 0:r.inactiveText};
|
|
321
81
|
border-color: transparent;
|
|
322
|
-
`},
|
|
82
|
+
`},_n=y(re)`
|
|
323
83
|
position: absolute;
|
|
324
|
-
top: ${
|
|
325
|
-
right: ${
|
|
84
|
+
top: ${t=>{var e;return(e=t.theme.sizes)==null?void 0:e.normal}};
|
|
85
|
+
right: ${t=>{var e;return(e=t.theme.sizes)==null?void 0:e.normal}};
|
|
326
86
|
z-index: 1;
|
|
327
87
|
|
|
328
88
|
svg {
|
|
329
|
-
stroke: ${
|
|
89
|
+
stroke: ${t=>{var e;return(e=t.theme.colors)==null?void 0:e.text}};
|
|
330
90
|
}
|
|
331
91
|
|
|
332
92
|
&:focus-visible {
|
|
333
|
-
${
|
|
334
|
-
padding: ${
|
|
93
|
+
${W}
|
|
94
|
+
padding: ${t=>{var e;return(e=t.theme.sizes)==null?void 0:e.small}};
|
|
335
95
|
height: 15px;
|
|
336
96
|
box-sizing: content-box;
|
|
337
97
|
}
|
|
338
|
-
`,
|
|
339
|
-
font-size: ${
|
|
98
|
+
`,It=y(Bt)`
|
|
99
|
+
font-size: ${t=>{var e;return(e=t.theme.fonts)==null?void 0:e.normal}};
|
|
340
100
|
font-weight: normal;
|
|
341
101
|
line-height: 1.2em;
|
|
342
|
-
color: ${
|
|
343
|
-
`,
|
|
102
|
+
color: ${t=>{var e;return(e=t.theme.colors)==null?void 0:e.text}};
|
|
103
|
+
`,jn=t=>{var e;return $.css`
|
|
344
104
|
padding: 0;
|
|
345
105
|
margin: 0;
|
|
346
106
|
list-style: none;
|
|
347
107
|
> li {
|
|
348
|
-
margin: 0 0 ${(
|
|
108
|
+
margin: 0 0 ${(e=t.theme.sizes)==null?void 0:e.normal};
|
|
349
109
|
white-space: nowrap;
|
|
350
110
|
text-overflow: ellipsis;
|
|
351
111
|
min-width: 0;
|
|
@@ -359,21 +119,21 @@ You might need to use a local HTTP server (instead of file://): https://reactjs.
|
|
|
359
119
|
> li:last-of-type {
|
|
360
120
|
margin: 0;
|
|
361
121
|
}
|
|
362
|
-
`},GC=({elementId:o="humany-portal-elements",parent:i=document.body,children:l})=>{const[f]=te.useState(()=>{const h=document.getElementById(o)||document.createElement("div");return h.id=o,h});return te.useEffect(()=>(i.appendChild(f),()=>{f.childElementCount<=1&&f.remove()}),[f]),KT.createPortal(l,f)},bv=({text:o="",backgroundSize:i="contain",size:l=12,symbol:f={content:"",type:""},elementStyle:h={},className:m,...v})=>{const{type:S,content:b}=f,x={"aria-label":o,role:"presentation"};switch(S){case"Uri":{const T={backgroundSize:i,backgroundImage:`url('${b}')`,backgroundRepeat:"no-repeat",backgroundPosition:"center",backgroundAttachment:"center"};return z.createElement("i",{className:Mn(m,"humany-icon","humany-custom-icon"),title:o,style:{...T,...h},...x,...v})}case"Svg":{const T={className:Mn(m,"humany-icon"),width:`${l}`,fill:"none",xmlns:"http://www.w3.org/2000/svg",...v,ref:null},k={minWidth:`${l}`};switch(b){case"search":return z.createElement("svg",{viewBox:"0 0 32 30",...T},z.createElement("circle",{cx:"14.8457",cy:"14.5175",r:"8.14359",transform:"rotate(45 14.8457 14.5175)"}),z.createElement("line",{x1:"21.1001",y1:"20.4865",x2:"26.5798",y2:"25.9661"}));case"clear":return z.createElement("svg",{viewBox:"0 0 27 27",...T},z.createElement("circle",{cx:"13.4351",cy:"13.435",r:"9",transform:"rotate(45 13.4351 13.435)",stroke:"black"}),z.createElement("line",{x1:"16.6172",y1:"10.2531",x2:"10.2533",y2:"16.6171",stroke:"black"}),z.createElement("line",{x1:"16.6171",y1:"16.617",x2:"10.2532",y2:"10.2531",stroke:"black"}));case"close":return z.createElement("svg",{viewBox:"0 0 13 13",...T},z.createElement("path",{d:"M12.3068 0.50647L1.27246 11.7273",stroke:"black"}),z.createElement("path",{d:"M12.2812 11.9473L1.24686 0.726451",stroke:"black"}));case"caret-right":return z.createElement("svg",{viewBox:"0 0 14 14",style:k,...T},z.createElement("line",{x1:"4.13",y1:"1.05",x2:"10.13",y2:"7.05",stroke:"black"}),z.createElement("line",{x1:"10.13",y1:"6.95",x2:"4.13",y2:"12.95",stroke:"black"}));case"caret-left":return z.createElement("svg",{viewBox:"0 0 14 14",style:k,...T},z.createElement("line",{x1:"10.13",y1:"12.95",x2:"4.13",y2:"6.95",stroke:"black"}),z.createElement("line",{x1:"4.13",y1:"7.05",x2:"10.13",y2:"1.05",stroke:"black"}));case"caret-up":return z.createElement(WO,{viewBox:"0 0 14 14",style:k,...T},z.createElement("line",{x1:"13.09",y1:"3.99",x2:"7.1",y2:"9.99",stroke:"black"}),z.createElement("line",{x1:"7.19",y1:"9.99",x2:"1.19",y2:"3.99",stroke:"black"}));case"caret-down":return z.createElement("svg",{viewBox:"0 0 14 14",style:k,...T},z.createElement("line",{x1:"13.09",y1:"3.99",x2:"7.1",y2:"9.99",stroke:"black"}),z.createElement("line",{x1:"7.19",y1:"9.99",x2:"1.19",y2:"3.99",stroke:"black"}));case"back":return z.createElement("svg",{viewBox:"0 0 18 18",...T},z.createElement("line",{y1:"-0.5",x2:"11.724",y2:"-0.5",transform:"matrix(-0.682355 -0.731021 0.682355 -0.731021 13 16.9999)",stroke:"white"}),z.createElement("line",{y1:"-0.5",x2:"11.724",y2:"-0.5",transform:"matrix(0.682355 -0.731021 0.682355 0.731021 5 9.5705)",stroke:"white"}));case"alert":return z.createElement("svg",{viewBox:"0 0 19 19",...T},z.createElement("circle",{cx:"9.5",cy:"9.5",r:"9.5",fill:"#CA0813"}),z.createElement("path",{d:"M10.36 4.878V8.882C10.36 9.30667 10.339 9.72433 10.297 10.135C10.255 10.541 10.199 10.9727 10.129 11.43H8.96C8.89 10.9727 8.834 10.541 8.792 10.135C8.75 9.72433 8.729 9.30667 8.729 8.882V4.878H10.36ZM8.463 14.048C8.463 13.9033 8.48867 13.7657 8.54 13.635C8.596 13.5043 8.67067 13.3923 8.764 13.299C8.862 13.2057 8.97633 13.131 9.107 13.075C9.23767 13.019 9.37767 12.991 9.527 12.991C9.67167 12.991 9.80933 13.019 9.94 13.075C10.0707 13.131 10.1827 13.2057 10.276 13.299C10.3693 13.3923 10.444 13.5043 10.5 13.635C10.556 13.7657 10.584 13.9033 10.584 14.048C10.584 14.1973 10.556 14.3373 10.5 14.468C10.444 14.594 10.3693 14.7037 10.276 14.797C10.1827 14.8903 10.0707 14.9627 9.94 15.014C9.80933 15.07 9.67167 15.098 9.527 15.098C9.37767 15.098 9.23767 15.07 9.107 15.014C8.97633 14.9627 8.862 14.8903 8.764 14.797C8.67067 14.7037 8.596 14.594 8.54 14.468C8.48867 14.3373 8.463 14.1973 8.463 14.048Z",fill:"white"}));case"send":return z.createElement("svg",{viewBox:"0 0 20 17",...T},z.createElement("path",{d:"M18.95 8.56428L0.949951 0.941406V7.02531L13.6351 8.47059L0.950001 9.92276L0.949951 15.9414L18.95 8.56428Z",fill:"#A6A6A6",stroke:"#A6A6A6",strokeWidth:"0.1"}));case"chat":return z.createElement("svg",{viewBox:"-2 -3 40 40",...T},z.createElement("path",{strokeWidth:"0",fillRule:"evenodd",clipRule:"evenodd",d:"M16.9799 34C21.2676 34 25.1841 32.4256 28.1725 29.8285L34.9534 32.1994C35.7991 32.4951 36.553 31.5778 36.0892 30.8173L32.2559 24.5317C33.3474 22.3103 33.9598 19.8153 33.9598 17.1786C33.9598 7.88838 26.3576 0.357178 16.9799 0.357178C7.60216 0.357178 0 7.88838 0 17.1786C0 26.4688 7.60216 34 16.9799 34ZM30.7031 24.565C31.9094 22.3701 32.5948 19.8536 32.5948 17.1786C32.5948 8.6352 25.6038 1.70942 16.9799 1.70942C8.35601 1.70942 1.36498 8.6352 1.36498 17.1786C1.36498 25.722 8.35601 32.6478 16.9799 32.6478C21.1946 32.6478 25.0193 30.9935 27.8285 28.3047L34.3975 30.5798L30.7031 24.565Z",fill:"currentColor"}),z.createElement("path",{strokeWidth:"0",d:"M12.9395 17.1786C12.9395 18.6079 11.7809 19.7665 10.3516 19.7665C8.92237 19.7665 7.76373 18.6079 7.76373 17.1786C7.76373 15.7493 8.92237 14.5907 10.3516 14.5907C11.7809 14.5907 12.9395 15.7493 12.9395 17.1786Z",fill:"currentColor"}),z.createElement("path",{strokeWidth:"0",d:"M19.4093 17.1786C19.4093 18.6079 18.2507 19.7665 16.8214 19.7665C15.3921 19.7665 14.2335 18.6079 14.2335 17.1786C14.2335 15.7493 15.3921 14.5907 16.8214 14.5907C18.2507 14.5907 19.4093 15.7493 19.4093 17.1786Z",fill:"currentColor"}),z.createElement("path",{strokeWidth:"0",d:"M25.8791 17.1786C25.8791 18.6079 24.7204 19.7665 23.2912 19.7665C21.8619 19.7665 20.7033 18.6079 20.7033 17.1786C20.7033 15.7493 21.8619 14.5907 23.2912 14.5907C24.7204 14.5907 25.8791 15.7493 25.8791 17.1786Z",fill:"currentColor"}));case"chat-new":return z.createElement("svg",{viewBox:"0 0 26 24",...T},z.createElement("path",{d:"M22.1109 10.3813C22.3941 10.2876 22.6674 10.1722 22.9288 10.0371C23.1902 10.9797 23.33 11.9734 23.33 13C23.33 19.0751 18.4348 24 12.3962 24C9.6352 24 7.11325 22.9705 5.18893 21.2721L0.82251 22.8226C0.277922 23.0159 -0.207515 22.4161 0.0911259 21.9188L2.55952 17.8084C1.85665 16.3558 1.46233 14.7242 1.46233 13C1.46233 6.92487 6.35758 2 12.3962 2C13.4013 2 14.3747 2.13645 15.2992 2.39193C15.1628 2.65458 15.0464 2.92925 14.9519 3.21394C14.1358 2.99881 13.2793 2.88427 12.3962 2.88427C6.84301 2.88427 2.34128 7.41324 2.34128 13C2.34128 14.7493 2.78263 16.3949 3.5594 17.8302L1.18047 21.7634L5.41046 20.2757C7.21939 22.034 9.68221 23.1157 12.3962 23.1157C17.9493 23.1157 22.451 18.5868 22.451 13C22.451 12.0944 22.3328 11.2165 22.1109 10.3813Z",fill:"currentColor"}),z.createElement("path",{d:"M25.6633 4C25.6633 6.20914 23.8724 8 21.6633 8C19.4541 8 17.6633 6.20914 17.6633 4C17.6633 1.79086 19.4541 0 21.6633 0C23.8724 0 25.6633 1.79086 25.6633 4Z",fill:"currentColor"}));case"agent":return z.createElement("svg",{viewBox:"0 0 36 30",...T},z.createElement("path",{d:"M0.900024 15.3887C0.900024 12.9034 2.91474 10.8887 5.40002 10.8887H6.28179V20.0995H5.40002C2.91474 20.0995 0.900024 18.0848 0.900024 15.5995V15.3887Z",stroke:"white"}),z.createElement("path",{d:"M34.65 15.5996C34.65 18.0849 32.6353 20.0996 30.15 20.0996L29.2683 20.0996L29.2683 10.8888L30.15 10.8888C32.6353 10.8888 34.65 12.9035 34.65 15.3888L34.65 15.5996Z",stroke:"white"}),z.createElement("path",{d:"M29.2565 20.5974C29.2565 26.341 22.8747 26.9792 19.6838 26.9792",stroke:"white"}),z.createElement("circle",{cx:"17.4074",cy:"26.9795",r:"2.05271",stroke:"white"}),z.createElement("path",{d:"M6.28467 12.9396C6.28467 11.195 6.28686 18.0452 6.28467 8.47234C6.28248 -1.10049 29.2591 -1.10047 29.259 8.47234C29.259 18.0452 29.2569 11.6631 29.259 12.9396",stroke:"white"}));case"minimize":return z.createElement("svg",{viewBox:"0 -10 22 22",...T},z.createElement("path",{d:"M0 1H22",stroke:"white"}));case"sorting":return z.createElement("svg",{viewBox:"0 0 18 14",...T},z.createElement("path",{d:"M18 1H0M8 13H0M13 7H0"}));case"copy":return z.createElement("svg",{viewBox:"0 0 19 17",...T},z.createElement("rect",{x:"0.5",y:"0.5",width:"11.6667",height:"11.6014",rx:"1.5",fill:"white"}),z.createElement("rect",{x:"6.83301",y:"4.89868",width:"11.6667",height:"11.6014",rx:"1.5",fill:"white"}));case"print":return z.createElement("svg",{viewBox:"0 0 16 17",...T},z.createElement("path",{d:"M4.31592 0.999999C4.31592 0.723857 4.53977 0.5 4.81592 0.5H11.1845C11.4606 0.5 11.6845 0.723858 11.6845 1V4.53323H4.31592V0.999999Z",fill:"white",stroke:"black"}),z.createElement("path",{d:"M0.5 4.84595C0.5 4.56981 0.723858 4.34595 1 4.34595H15C15.2761 4.34595 15.5 4.5698 15.5 4.84595V10.8399C15.5 11.116 15.2761 11.3399 15 11.3399H1C0.723858 11.3399 0.5 11.116 0.5 10.8399V4.84595Z",fill:"white",stroke:"black"}),z.createElement("path",{d:"M4.31592 10.0061C4.31592 9.72996 4.53978 9.5061 4.81592 9.5061H11.1845C11.4606 9.5061 11.6845 9.72996 11.6845 10.0061V16.0001C11.6845 16.2762 11.4606 16.5001 11.1845 16.5001H4.81592C4.53978 16.5001 4.31592 16.2762 4.31592 16.0001V10.0061Z",fill:"white",stroke:"black"}),z.createElement("line",{x1:"5.29004",y1:"10.8323",x2:"10.7101",y2:"10.8323",stroke:"black"}),z.createElement("line",{x1:"5.29004",y1:"12.5242",x2:"10.7101",y2:"12.5242",stroke:"black"}),z.createElement("line",{x1:"5.29004",y1:"14.2161",x2:"10.7101",y2:"14.2161",stroke:"black"}));case"language":return z.createElement("svg",{viewBox:"0 0 19 19",...T},z.createElement("path",{d:"M9.5 18C14.1944 18 18 14.1944 18 9.5C18 4.80558 14.1944 1 9.5 1M9.5 18C4.80558 18 1 14.1944 1 9.5C1 4.80558 4.80558 1 9.5 1M9.5 18C11.823 18 13.7062 14.1944 13.7062 9.5C13.7062 4.80558 11.823 1 9.5 1M9.5 18C7.17699 18 5.29381 14.1944 5.29381 9.5C5.29381 4.80558 7.17699 1 9.5 1M1.44333 6.78351H17.4742M1.3088 11.7784H17.6912",stroke:"black"}));case"information":return z.createElement("svg",{viewBox:"0 0 17 17",...T},z.createElement("path",{d:"M9.72182 5.99993C10.0524 5.99993 10.3203 5.73198 10.3203 5.40145C10.3203 5.07092 10.0524 4.80297 9.72182 4.80297C9.39129 4.80297 9.12335 5.07092 9.12335 5.40145C9.12335 5.73198 9.39129 5.99993 9.72182 5.99993Z",fill:"black"}),z.createElement("path",{d:"M7.21887 6.67639C6.89117 6.71981 6.66072 7.02066 6.70414 7.34836C6.74756 7.67605 7.04841 7.9065 7.3761 7.86308L8.353 7.73364L7.17405 11.3945C7.11289 11.5844 7.15164 11.7825 7.26117 11.932C7.38068 12.1287 7.60875 12.2469 7.85155 12.2147L9.40669 12.0087C9.73436 11.9653 9.96479 11.6645 9.92137 11.3368C9.87795 11.0091 9.57713 10.7787 9.24947 10.8221L8.58762 10.9098L9.76774 7.24534C9.83038 7.05084 9.78821 6.84771 9.67254 6.69702C9.55085 6.50877 9.32791 6.39694 9.09093 6.42834L7.21887 6.67639Z",fill:"black"}),z.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17 8.5C17 13.1944 13.1944 17 8.5 17C3.80558 17 0 13.1944 0 8.5C0 3.80558 3.80558 0 8.5 0C13.1944 0 17 3.80558 17 8.5ZM16 8.5C16 12.8454 12.8454 16 8.5 16C4.15461 16 1 12.8454 1 8.5C1 4.15461 4.15461 1 8.5 1C12.8454 1 16 4.15461 16 8.5Z",fill:"black"}));case"options":return z.createElement("svg",{viewBox:"0 0 16 2",...T},z.createElement("circle",{cx:"15",cy:"1",r:"1",transform:"rotate(90 15 1)",fill:"black"}),z.createElement("circle",{cx:"1",cy:"1",r:"1",transform:"rotate(90 1 1)",fill:"black"}),z.createElement("circle",{cx:"8",cy:"1",r:"1",transform:"rotate(90 8 1)",fill:"black"}));case"browse":return z.createElement("svg",{viewBox:"0 0 24 24",...T},z.createElement("circle",{cx:"12",cy:"12",r:"12",fill:"currentColor"}),z.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.16663 7.33334C6.16663 6.68901 6.68896 6.16667 7.33329 6.16667H10.25C10.8943 6.16667 11.4166 6.68901 11.4166 7.33334V10.25C11.4166 10.8943 10.8943 11.4167 10.25 11.4167H7.33329C6.68896 11.4167 6.16663 10.8943 6.16663 10.25V7.33334ZM7.33329 7.04167H10.25C10.411 7.04167 10.5416 7.17226 10.5416 7.33334V10.25C10.5416 10.4111 10.411 10.5417 10.25 10.5417H7.33329C7.17221 10.5417 7.04163 10.4111 7.04163 10.25V7.33334C7.04163 7.17226 7.17221 7.04167 7.33329 7.04167Z",fill:"white"}),z.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.16663 13.75C6.16663 13.1057 6.68896 12.5833 7.33329 12.5833H10.25C10.8943 12.5833 11.4166 13.1057 11.4166 13.75V16.6667C11.4166 17.311 10.8943 17.8333 10.25 17.8333H7.33329C6.68896 17.8333 6.16663 17.311 6.16663 16.6667V13.75ZM7.33329 13.4583H10.25C10.411 13.4583 10.5416 13.5889 10.5416 13.75V16.6667C10.5416 16.8278 10.411 16.9583 10.25 16.9583H7.33329C7.17221 16.9583 7.04163 16.8278 7.04163 16.6667V13.75C7.04163 13.5889 7.17221 13.4583 7.33329 13.4583Z",fill:"white"}),z.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.75 6.16667C13.1056 6.16667 12.5833 6.68901 12.5833 7.33334V10.25C12.5833 10.8943 13.1056 11.4167 13.75 11.4167H16.6666C17.311 11.4167 17.8333 10.8943 17.8333 10.25V7.33334C17.8333 6.68901 17.311 6.16667 16.6666 6.16667H13.75ZM16.6666 7.04167H13.75C13.5889 7.04167 13.4583 7.17226 13.4583 7.33334V10.25C13.4583 10.4111 13.5889 10.5417 13.75 10.5417H16.6666C16.8277 10.5417 16.9583 10.4111 16.9583 10.25V7.33334C16.9583 7.17226 16.8277 7.04167 16.6666 7.04167Z",fill:"white"}),z.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.8333 15.2083C17.8333 16.6581 16.658 17.8333 15.2083 17.8333C13.7585 17.8333 12.5833 16.6581 12.5833 15.2083C12.5833 13.7586 13.7585 12.5833 15.2083 12.5833C16.658 12.5833 17.8333 13.7586 17.8333 15.2083ZM16.9583 15.2083C16.9583 16.1748 16.1748 16.9583 15.2083 16.9583C14.2418 16.9583 13.4583 16.1748 13.4583 15.2083C13.4583 14.2418 14.2418 13.4583 15.2083 13.4583C16.1748 13.4583 16.9583 14.2418 16.9583 15.2083Z",fill:"white"}));case"video":return k.minWidth&&typeof k.minWidth=="number"&&(k.minWidth=`${k.minWidth}px`),z.createElement("svg",{viewBox:"0 0 25 25",...T,style:k},z.createElement("path",{d:"M16.8245 10.0758C18.7392 8.55799 21.3085 7.08973 21.7947 7.61552C22.5982 8.47863 22.5288 16.6929 21.7947 17.4766C21.3482 17.9627 18.7589 16.4945 16.8245 14.9866",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),z.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.61914 12.5385C2.61914 7.12973 4.41578 5.32715 9.80764 5.32715C15.1985 5.32715 16.9952 7.12973 16.9952 12.5385C16.9952 17.9462 15.1985 19.7497 9.80764 19.7497C4.41578 19.7497 2.61914 17.9462 2.61914 12.5385Z",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}));case"star-empty":return z.createElement("svg",{viewBox:"0 0 13 12",...T},z.createElement("path",{d:"M2 5.2767L5.11944 4.81796L6.70023 2L7.96487 4.81796L11 5.51699L8.75527 7.64684L9.18735 11L6.42623 9.40534L3.62295 10.7925L4.21311 7.64684L2 5.2767Z",stroke:"black"}));case"star-filled":return z.createElement("svg",{viewBox:"0 0 13 12",...T},z.createElement("path",{d:"M2 5.2767L5.11944 4.81796L6.70023 2L7.96487 4.81796L11 5.51699L8.75527 7.64684L9.18735 11L6.42623 9.40534L3.62295 10.7925L4.21311 7.64684L2 5.2767Z",fill:"black",stroke:"black"}));case"cog-wheel":return z.createElement("svg",{viewBox:"0 0 24 24",...T},z.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.273 2.68498V1C15.273 0.447715 14.8253 0 14.273 0H9.72754C9.17525 0 8.72754 0.447715 8.72754 1V2.6852C8.72754 3.20708 8.09656 3.46843 7.72754 3.09941L6.53588 1.90775C6.14536 1.51723 5.51219 1.51723 5.12167 1.90775L1.90755 5.12187C1.51702 5.5124 1.51702 6.14556 1.90755 6.53609L3.09865 7.72719C3.46767 8.09621 3.20632 8.72719 2.68444 8.72719H1C0.447715 8.72719 0 9.1749 0 9.72719V14.2726C0 14.8249 0.447715 15.2726 1 15.2726H2.68534C3.20722 15.2726 3.46857 15.9036 3.09955 16.2726L1.90793 17.4643C1.51741 17.8548 1.51741 18.488 1.90793 18.8785L5.12205 22.0926C5.51258 22.4831 6.14574 22.4831 6.53627 22.0926L7.72754 20.9013C8.09656 20.5323 8.72754 20.7937 8.72754 21.3155V23C8.72754 23.5523 9.17525 24 9.72754 24H14.273C14.8253 24 15.273 23.5523 15.273 23V21.3158C15.273 20.7939 15.904 20.5325 16.273 20.9015L17.4639 22.0924C17.8544 22.483 18.4876 22.483 18.8781 22.0924L22.0922 18.8783C22.4828 18.4878 22.4828 17.8546 22.0922 17.4641L20.9008 16.2726C20.5317 15.9036 20.7931 15.2726 21.315 15.2726H23C23.5523 15.2726 24 14.8249 24 14.2726V9.72719C24 9.1749 23.5523 8.72719 23 8.72719H21.3159C20.794 8.72719 20.5326 8.09621 20.9017 7.72719L22.0926 6.53625C22.4831 6.14572 22.4831 5.51256 22.0926 5.12203L18.8785 1.90791C18.488 1.51739 17.8548 1.51739 17.4643 1.90791L16.273 3.0992C15.904 3.46822 15.273 3.20686 15.273 2.68498ZM16.5792 4.20716C16.263 4.52345 15.7775 4.58532 15.3687 4.40375C15.2439 4.34832 15.1174 4.29587 14.9895 4.2465C14.5723 4.08555 14.273 3.69861 14.273 3.25149V2C14.273 1.44771 13.8253 1 13.273 1H10.7275C10.1753 1 9.72754 1.44772 9.72754 2V3.25116C9.72754 3.69832 9.42816 4.08528 9.01096 4.2462C8.88288 4.29561 8.75633 4.34809 8.6314 4.40357C8.22262 4.58511 7.73715 4.52323 7.42087 4.20695L6.53588 3.32196C6.14536 2.93144 5.51219 2.93144 5.12167 3.32196L3.32176 5.12187C2.93124 5.5124 2.93124 6.14556 3.32176 6.53609L4.20676 7.42109C4.52303 7.73736 4.58491 8.22283 4.40338 8.63161C4.34797 8.75638 4.29555 8.88276 4.2462 9.01067C4.08526 9.42784 3.69831 9.72719 3.25118 9.72719H2C1.44772 9.72719 1 10.1749 1 10.7272V13.2726C1 13.8249 1.44772 14.2726 2 14.2726H3.2511C3.69825 14.2726 4.0852 14.572 4.24614 14.9892C4.29556 15.1173 4.34807 15.2439 4.40357 15.3688C4.58513 15.7776 4.52327 16.2631 4.20698 16.5794L3.32215 17.4643C2.93162 17.8548 2.93162 18.488 3.32215 18.8785L5.12205 20.6784C5.51258 21.0689 6.14574 21.0689 6.53627 20.6784L7.42136 19.7933C7.73762 19.477 8.22305 19.4151 8.63183 19.5966C8.75662 19.6521 8.88302 19.7045 9.01096 19.7538C9.42816 19.9147 9.72754 20.3017 9.72754 20.7489V22C9.72754 22.5523 10.1753 23 10.7275 23H13.273C13.8253 23 14.273 22.5523 14.273 22V20.7485C14.273 20.3014 14.5723 19.9145 14.9895 19.7535C15.1173 19.7042 15.2436 19.6518 15.3682 19.5965C15.777 19.4149 16.2625 19.4768 16.5788 19.7931L17.4639 20.6782C17.8544 21.0687 18.4876 21.0687 18.8781 20.6782L20.678 18.8783C21.0685 18.4878 21.0685 17.8546 20.678 17.4641L19.7929 16.579C19.4766 16.2627 19.4147 15.7772 19.5963 15.3684C19.6517 15.2436 19.7042 15.1172 19.7535 14.9892C19.9145 14.572 20.3014 14.2726 20.7486 14.2726H22C22.5523 14.2726 23 13.8249 23 13.2726V10.7272C23 10.1749 22.5523 9.72719 22 9.72719H20.7485C20.3013 9.72719 19.9144 9.42784 19.7535 9.01067C19.7042 8.8829 19.6518 8.75665 19.5965 8.63201C19.415 8.22324 19.4768 7.7378 19.7931 7.42154L20.6784 6.53625C21.0689 6.14572 21.0689 5.51256 20.6784 5.12203L18.8785 3.32213C18.488 2.9316 17.8548 2.9316 17.4643 3.32213L16.5792 4.20716ZM16.5999 12.0001C16.5999 14.5406 14.5404 16.6001 11.9999 16.6001C9.45939 16.6001 7.3999 14.5406 7.3999 12.0001C7.3999 9.45958 9.45939 7.40009 11.9999 7.40009C14.5404 7.40009 16.5999 9.45958 16.5999 12.0001ZM17.5999 12.0001C17.5999 15.0929 15.0927 17.6001 11.9999 17.6001C8.90711 17.6001 6.3999 15.0929 6.3999 12.0001C6.3999 8.90729 8.90711 6.40009 11.9999 6.40009C15.0927 6.40009 17.5999 8.90729 17.5999 12.0001Z",fill:"black"}));case"zoom-in":return z.createElement("svg",{viewBox:"0 0 24 24",...T},z.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M21.9774 20.8287L17.9149 16.7662C17.8437 16.6957 17.76 16.639 17.668 16.5992C20.7612 12.9331 20.415 7.48045 16.883 4.23507C13.3509 0.989694 7.88848 1.10517 4.49673 4.49691C1.10499 7.88866 0.98951 13.3511 4.23489 16.8831C7.48027 20.4152 12.9329 20.7614 16.599 17.6682C16.6388 17.7601 16.6955 17.8439 16.766 17.9151L20.8285 21.9776C21.1457 22.2948 21.6601 22.2948 21.9774 21.9776C22.2947 21.6603 22.2947 21.1459 21.9774 20.8287ZM10.8404 18.1531C6.80186 18.1531 3.52794 14.8792 3.52794 10.8406C3.52794 6.80204 6.80186 3.52813 10.8404 3.52813C14.879 3.52813 18.1529 6.80204 18.1529 10.8406C18.1483 14.8773 14.8771 18.1484 10.8404 18.1531Z",fill:"white"}),z.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.8749 6.75003C11.2892 6.75003 11.6249 7.08581 11.6249 7.50003V14.25C11.6249 14.6642 11.2892 15 10.8749 15C10.4607 15 10.1249 14.6642 10.1249 14.25V7.50003C10.1249 7.08581 10.4607 6.75003 10.8749 6.75003Z",fill:"white"}),z.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.74994 10.875C6.74994 10.4608 7.08573 10.125 7.49994 10.125H14.2499C14.6642 10.125 14.9999 10.4608 14.9999 10.875C14.9999 11.2892 14.6642 11.625 14.2499 11.625H7.49994C7.08573 11.625 6.74994 11.2892 6.74994 10.875Z",fill:"white"}));case"zoom-out":return z.createElement("svg",{viewBox:"0 0 24 24",...T},z.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M22.1025 20.9536L18.04 16.8911C17.9688 16.8206 17.8851 16.764 17.7931 16.7241C20.8864 13.0581 20.5401 7.60539 17.0081 4.36001C13.476 1.11463 8.0136 1.23011 4.62185 4.62185C1.23011 8.0136 1.11463 13.476 4.36001 17.0081C7.60539 20.5401 13.0581 20.8864 16.7241 17.7931C16.764 17.8851 16.8206 17.9688 16.8911 18.04L20.9536 22.1025C21.2709 22.4198 21.7853 22.4198 22.1025 22.1025C22.4198 21.7853 22.4198 21.2709 22.1025 20.9536ZM10.9656 18.2781C6.92698 18.2781 3.65306 15.0041 3.65306 10.9656C3.65306 6.92698 6.92698 3.65306 10.9656 3.65306C15.0041 3.65306 18.2781 6.92698 18.2781 10.9656C18.2734 15.0022 15.0022 18.2734 10.9656 18.2781Z",fill:"white"}),z.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.87506 11C6.87506 10.5858 7.21085 10.25 7.62506 10.25H14.3751C14.7893 10.25 15.1251 10.5858 15.1251 11C15.1251 11.4142 14.7893 11.75 14.3751 11.75H7.62506C7.21085 11.75 6.87506 11.4142 6.87506 11Z",fill:"white"}));case"download":return z.createElement("svg",{viewBox:"0 0 24 24",...T},z.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M22.5 11.1346V18.4038C22.498 20.1873 21.0527 21.6326 19.2692 21.6346H4.73077C2.94731 21.6326 1.50204 20.1873 1.5 18.4038V11.1346C1.5 10.6885 1.86162 10.3269 2.30769 10.3269C2.75377 10.3269 3.11538 10.6885 3.11538 11.1346V18.4038C3.1164 19.2956 3.83904 20.0182 4.73077 20.0192H19.2692C20.161 20.0182 20.8836 19.2956 20.8846 18.4038V11.1346C20.8846 10.6885 21.2462 10.3269 21.6923 10.3269C22.1384 10.3269 22.5 10.6885 22.5 11.1346ZM11.1434 16.2663C11.6167 16.7388 12.3832 16.7388 12.8565 16.2663L17.4172 11.7057C17.7326 11.3903 17.7326 10.8789 17.4172 10.5635C17.1018 10.2481 16.5904 10.2481 16.275 10.5635L12.8076 14.0308V3.05769C12.8076 2.61162 12.446 2.25 11.9999 2.25C11.5539 2.25 11.1923 2.61162 11.1923 3.05769V14.0308L7.72485 10.5636C7.40946 10.2482 6.89812 10.2482 6.58273 10.5636C6.26734 10.8789 6.26734 11.3903 6.58273 11.7057L11.1434 16.2663Z",fill:"white"}));case"lightbox-close":return z.createElement("svg",{viewBox:"0 0 24 24",...T},z.createElement("path",{xmlns:"http://www.w3.org/2000/svg",fillRule:"evenodd",clipRule:"evenodd",d:"M19.2621 18.1129C19.4674 18.3182 19.5475 18.6173 19.4724 18.8977C19.3973 19.178 19.1783 19.397 18.8979 19.4721C18.6176 19.5472 18.3184 19.4671 18.1132 19.2619L12.1877 13.3363L6.26214 19.2619C6.0569 19.4671 5.75776 19.5472 5.47741 19.4721C5.19705 19.397 4.97807 19.178 4.90294 18.8977C4.82782 18.6173 4.90798 18.3182 5.11321 18.1129L11.0388 12.1874L5.11321 6.26186C4.90798 6.05663 4.82782 5.75749 4.90294 5.47713C4.97807 5.19678 5.19705 4.97779 5.47741 4.90267C5.75776 4.82755 6.0569 4.9077 6.26214 5.11294L12.1877 11.0385L18.1132 5.11294C18.4305 4.79567 18.9449 4.79567 19.2621 5.11294C19.5794 5.4302 19.5794 5.9446 19.2621 6.26186L13.3366 12.1874L19.2621 18.1129Z",fill:"white"}));case"pagination-left":return z.createElement("svg",{viewBox:"0 0 24 24",...T},z.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.7935 18.7087C16.0092 18.9029 16.105 19.1974 16.0447 19.4813C15.9844 19.7652 15.7772 19.9954 15.5012 20.0852C15.2251 20.1749 14.9222 20.1105 14.7065 19.9164L6.58148 12.6039C6.41027 12.4498 6.3125 12.2303 6.3125 12C6.3125 11.7697 6.41027 11.5503 6.58148 11.3962L14.7065 4.08372C15.04 3.78354 15.5536 3.81054 15.8538 4.14402C16.154 4.4775 16.127 4.99119 15.7935 5.29136L8.33939 12L15.7935 18.7087Z",fill:"#222222"}));case"pagination-right":return z.createElement("svg",{viewBox:"0 0 24 24",...T},z.createElement("path",{d:"M285.476 272.971L91.132 467.314c-9.373 9.373-24.569 9.373-33.941 0l-22.667-22.667c-9.357-9.357-9.375-24.522-.04-33.901L188.505 256 34.484 101.255c-9.335-9.379-9.317-24.544.04-33.901l22.667-22.667c9.373-9.373 24.569-9.373 33.941 0L285.475 239.03c9.373 9.372 9.373 24.568.001 33.941z"}))}return null}case"FontAwesome":return z.createElement(ZO,{className:m,faIcon:b,title:o,...v});default:case"Text":return o?z.createElement("i",{className:Mn(m,"humany-letter-symbol"),title:o,...x,...v},o.substring(0,2)):null}},WO=_e.svg`
|
|
122
|
+
`},Vt=({elementId:t="humany-portal-elements",parent:e=document.body,children:n})=>{const[r]=o.useState(()=>{const s=document.getElementById(t)||document.createElement("div");return s.id=t,s});return o.useEffect(()=>(e.appendChild(r),()=>{r.childElementCount<=1&&r.remove()}),[r]),er.createPortal(n,r)},xe=({text:t="",backgroundSize:e="contain",size:n=12,symbol:r={content:"",type:""},elementStyle:s={},className:i,...a})=>{const{type:c,content:l}=r,h={"aria-label":t,role:"presentation"};switch(c){case"Uri":{const u={backgroundSize:e,backgroundImage:`url('${l}')`,backgroundRepeat:"no-repeat",backgroundPosition:"center",backgroundAttachment:"center"};return o.createElement("i",{className:L(i,"humany-icon","humany-custom-icon"),title:t,style:{...u,...s},...h,...a})}case"Svg":{const u={className:L(i,"humany-icon"),width:`${n}`,fill:"none",xmlns:"http://www.w3.org/2000/svg",...a,ref:null},d={minWidth:`${n}`};switch(l){case"search":return o.createElement("svg",{viewBox:"0 0 32 30",...u},o.createElement("circle",{cx:"14.8457",cy:"14.5175",r:"8.14359",transform:"rotate(45 14.8457 14.5175)"}),o.createElement("line",{x1:"21.1001",y1:"20.4865",x2:"26.5798",y2:"25.9661"}));case"clear":return o.createElement("svg",{viewBox:"0 0 27 27",...u},o.createElement("circle",{cx:"13.4351",cy:"13.435",r:"9",transform:"rotate(45 13.4351 13.435)",stroke:"black"}),o.createElement("line",{x1:"16.6172",y1:"10.2531",x2:"10.2533",y2:"16.6171",stroke:"black"}),o.createElement("line",{x1:"16.6171",y1:"16.617",x2:"10.2532",y2:"10.2531",stroke:"black"}));case"close":return o.createElement("svg",{viewBox:"0 0 13 13",...u},o.createElement("path",{d:"M12.3068 0.50647L1.27246 11.7273",stroke:"black"}),o.createElement("path",{d:"M12.2812 11.9473L1.24686 0.726451",stroke:"black"}));case"caret-right":return o.createElement("svg",{viewBox:"0 0 14 14",style:d,...u},o.createElement("line",{x1:"4.13",y1:"1.05",x2:"10.13",y2:"7.05",stroke:"black"}),o.createElement("line",{x1:"10.13",y1:"6.95",x2:"4.13",y2:"12.95",stroke:"black"}));case"caret-left":return o.createElement("svg",{viewBox:"0 0 14 14",style:d,...u},o.createElement("line",{x1:"10.13",y1:"12.95",x2:"4.13",y2:"6.95",stroke:"black"}),o.createElement("line",{x1:"4.13",y1:"7.05",x2:"10.13",y2:"1.05",stroke:"black"}));case"caret-up":return o.createElement(ni,{viewBox:"0 0 14 14",style:d,...u},o.createElement("line",{x1:"13.09",y1:"3.99",x2:"7.1",y2:"9.99",stroke:"black"}),o.createElement("line",{x1:"7.19",y1:"9.99",x2:"1.19",y2:"3.99",stroke:"black"}));case"caret-down":return o.createElement("svg",{viewBox:"0 0 14 14",style:d,...u},o.createElement("line",{x1:"13.09",y1:"3.99",x2:"7.1",y2:"9.99",stroke:"black"}),o.createElement("line",{x1:"7.19",y1:"9.99",x2:"1.19",y2:"3.99",stroke:"black"}));case"back":return o.createElement("svg",{viewBox:"0 0 18 18",...u},o.createElement("line",{y1:"-0.5",x2:"11.724",y2:"-0.5",transform:"matrix(-0.682355 -0.731021 0.682355 -0.731021 13 16.9999)",stroke:"white"}),o.createElement("line",{y1:"-0.5",x2:"11.724",y2:"-0.5",transform:"matrix(0.682355 -0.731021 0.682355 0.731021 5 9.5705)",stroke:"white"}));case"alert":return o.createElement("svg",{viewBox:"0 0 19 19",...u},o.createElement("circle",{cx:"9.5",cy:"9.5",r:"9.5",fill:"#CA0813"}),o.createElement("path",{d:"M10.36 4.878V8.882C10.36 9.30667 10.339 9.72433 10.297 10.135C10.255 10.541 10.199 10.9727 10.129 11.43H8.96C8.89 10.9727 8.834 10.541 8.792 10.135C8.75 9.72433 8.729 9.30667 8.729 8.882V4.878H10.36ZM8.463 14.048C8.463 13.9033 8.48867 13.7657 8.54 13.635C8.596 13.5043 8.67067 13.3923 8.764 13.299C8.862 13.2057 8.97633 13.131 9.107 13.075C9.23767 13.019 9.37767 12.991 9.527 12.991C9.67167 12.991 9.80933 13.019 9.94 13.075C10.0707 13.131 10.1827 13.2057 10.276 13.299C10.3693 13.3923 10.444 13.5043 10.5 13.635C10.556 13.7657 10.584 13.9033 10.584 14.048C10.584 14.1973 10.556 14.3373 10.5 14.468C10.444 14.594 10.3693 14.7037 10.276 14.797C10.1827 14.8903 10.0707 14.9627 9.94 15.014C9.80933 15.07 9.67167 15.098 9.527 15.098C9.37767 15.098 9.23767 15.07 9.107 15.014C8.97633 14.9627 8.862 14.8903 8.764 14.797C8.67067 14.7037 8.596 14.594 8.54 14.468C8.48867 14.3373 8.463 14.1973 8.463 14.048Z",fill:"white"}));case"send":return o.createElement("svg",{viewBox:"0 0 20 17",...u},o.createElement("path",{d:"M18.95 8.56428L0.949951 0.941406V7.02531L13.6351 8.47059L0.950001 9.92276L0.949951 15.9414L18.95 8.56428Z",fill:"#A6A6A6",stroke:"#A6A6A6",strokeWidth:"0.1"}));case"chat":return o.createElement("svg",{viewBox:"-2 -3 40 40",...u},o.createElement("path",{strokeWidth:"0",fillRule:"evenodd",clipRule:"evenodd",d:"M16.9799 34C21.2676 34 25.1841 32.4256 28.1725 29.8285L34.9534 32.1994C35.7991 32.4951 36.553 31.5778 36.0892 30.8173L32.2559 24.5317C33.3474 22.3103 33.9598 19.8153 33.9598 17.1786C33.9598 7.88838 26.3576 0.357178 16.9799 0.357178C7.60216 0.357178 0 7.88838 0 17.1786C0 26.4688 7.60216 34 16.9799 34ZM30.7031 24.565C31.9094 22.3701 32.5948 19.8536 32.5948 17.1786C32.5948 8.6352 25.6038 1.70942 16.9799 1.70942C8.35601 1.70942 1.36498 8.6352 1.36498 17.1786C1.36498 25.722 8.35601 32.6478 16.9799 32.6478C21.1946 32.6478 25.0193 30.9935 27.8285 28.3047L34.3975 30.5798L30.7031 24.565Z",fill:"currentColor"}),o.createElement("path",{strokeWidth:"0",d:"M12.9395 17.1786C12.9395 18.6079 11.7809 19.7665 10.3516 19.7665C8.92237 19.7665 7.76373 18.6079 7.76373 17.1786C7.76373 15.7493 8.92237 14.5907 10.3516 14.5907C11.7809 14.5907 12.9395 15.7493 12.9395 17.1786Z",fill:"currentColor"}),o.createElement("path",{strokeWidth:"0",d:"M19.4093 17.1786C19.4093 18.6079 18.2507 19.7665 16.8214 19.7665C15.3921 19.7665 14.2335 18.6079 14.2335 17.1786C14.2335 15.7493 15.3921 14.5907 16.8214 14.5907C18.2507 14.5907 19.4093 15.7493 19.4093 17.1786Z",fill:"currentColor"}),o.createElement("path",{strokeWidth:"0",d:"M25.8791 17.1786C25.8791 18.6079 24.7204 19.7665 23.2912 19.7665C21.8619 19.7665 20.7033 18.6079 20.7033 17.1786C20.7033 15.7493 21.8619 14.5907 23.2912 14.5907C24.7204 14.5907 25.8791 15.7493 25.8791 17.1786Z",fill:"currentColor"}));case"chat-new":return o.createElement("svg",{viewBox:"0 0 26 24",...u},o.createElement("path",{d:"M22.1109 10.3813C22.3941 10.2876 22.6674 10.1722 22.9288 10.0371C23.1902 10.9797 23.33 11.9734 23.33 13C23.33 19.0751 18.4348 24 12.3962 24C9.6352 24 7.11325 22.9705 5.18893 21.2721L0.82251 22.8226C0.277922 23.0159 -0.207515 22.4161 0.0911259 21.9188L2.55952 17.8084C1.85665 16.3558 1.46233 14.7242 1.46233 13C1.46233 6.92487 6.35758 2 12.3962 2C13.4013 2 14.3747 2.13645 15.2992 2.39193C15.1628 2.65458 15.0464 2.92925 14.9519 3.21394C14.1358 2.99881 13.2793 2.88427 12.3962 2.88427C6.84301 2.88427 2.34128 7.41324 2.34128 13C2.34128 14.7493 2.78263 16.3949 3.5594 17.8302L1.18047 21.7634L5.41046 20.2757C7.21939 22.034 9.68221 23.1157 12.3962 23.1157C17.9493 23.1157 22.451 18.5868 22.451 13C22.451 12.0944 22.3328 11.2165 22.1109 10.3813Z",fill:"currentColor"}),o.createElement("path",{d:"M25.6633 4C25.6633 6.20914 23.8724 8 21.6633 8C19.4541 8 17.6633 6.20914 17.6633 4C17.6633 1.79086 19.4541 0 21.6633 0C23.8724 0 25.6633 1.79086 25.6633 4Z",fill:"currentColor"}));case"agent":return o.createElement("svg",{viewBox:"0 0 36 30",...u},o.createElement("path",{d:"M0.900024 15.3887C0.900024 12.9034 2.91474 10.8887 5.40002 10.8887H6.28179V20.0995H5.40002C2.91474 20.0995 0.900024 18.0848 0.900024 15.5995V15.3887Z",stroke:"white"}),o.createElement("path",{d:"M34.65 15.5996C34.65 18.0849 32.6353 20.0996 30.15 20.0996L29.2683 20.0996L29.2683 10.8888L30.15 10.8888C32.6353 10.8888 34.65 12.9035 34.65 15.3888L34.65 15.5996Z",stroke:"white"}),o.createElement("path",{d:"M29.2565 20.5974C29.2565 26.341 22.8747 26.9792 19.6838 26.9792",stroke:"white"}),o.createElement("circle",{cx:"17.4074",cy:"26.9795",r:"2.05271",stroke:"white"}),o.createElement("path",{d:"M6.28467 12.9396C6.28467 11.195 6.28686 18.0452 6.28467 8.47234C6.28248 -1.10049 29.2591 -1.10047 29.259 8.47234C29.259 18.0452 29.2569 11.6631 29.259 12.9396",stroke:"white"}));case"minimize":return o.createElement("svg",{viewBox:"0 -10 22 22",...u},o.createElement("path",{d:"M0 1H22",stroke:"white"}));case"sorting":return o.createElement("svg",{viewBox:"0 0 18 14",...u},o.createElement("path",{d:"M18 1H0M8 13H0M13 7H0"}));case"copy":return o.createElement("svg",{viewBox:"0 0 19 17",...u},o.createElement("rect",{x:"0.5",y:"0.5",width:"11.6667",height:"11.6014",rx:"1.5",fill:"white"}),o.createElement("rect",{x:"6.83301",y:"4.89868",width:"11.6667",height:"11.6014",rx:"1.5",fill:"white"}));case"print":return o.createElement("svg",{viewBox:"0 0 16 17",...u},o.createElement("path",{d:"M4.31592 0.999999C4.31592 0.723857 4.53977 0.5 4.81592 0.5H11.1845C11.4606 0.5 11.6845 0.723858 11.6845 1V4.53323H4.31592V0.999999Z",fill:"white",stroke:"black"}),o.createElement("path",{d:"M0.5 4.84595C0.5 4.56981 0.723858 4.34595 1 4.34595H15C15.2761 4.34595 15.5 4.5698 15.5 4.84595V10.8399C15.5 11.116 15.2761 11.3399 15 11.3399H1C0.723858 11.3399 0.5 11.116 0.5 10.8399V4.84595Z",fill:"white",stroke:"black"}),o.createElement("path",{d:"M4.31592 10.0061C4.31592 9.72996 4.53978 9.5061 4.81592 9.5061H11.1845C11.4606 9.5061 11.6845 9.72996 11.6845 10.0061V16.0001C11.6845 16.2762 11.4606 16.5001 11.1845 16.5001H4.81592C4.53978 16.5001 4.31592 16.2762 4.31592 16.0001V10.0061Z",fill:"white",stroke:"black"}),o.createElement("line",{x1:"5.29004",y1:"10.8323",x2:"10.7101",y2:"10.8323",stroke:"black"}),o.createElement("line",{x1:"5.29004",y1:"12.5242",x2:"10.7101",y2:"12.5242",stroke:"black"}),o.createElement("line",{x1:"5.29004",y1:"14.2161",x2:"10.7101",y2:"14.2161",stroke:"black"}));case"language":return o.createElement("svg",{viewBox:"0 0 19 19",...u},o.createElement("path",{d:"M9.5 18C14.1944 18 18 14.1944 18 9.5C18 4.80558 14.1944 1 9.5 1M9.5 18C4.80558 18 1 14.1944 1 9.5C1 4.80558 4.80558 1 9.5 1M9.5 18C11.823 18 13.7062 14.1944 13.7062 9.5C13.7062 4.80558 11.823 1 9.5 1M9.5 18C7.17699 18 5.29381 14.1944 5.29381 9.5C5.29381 4.80558 7.17699 1 9.5 1M1.44333 6.78351H17.4742M1.3088 11.7784H17.6912",stroke:"black"}));case"information":return o.createElement("svg",{viewBox:"0 0 17 17",...u},o.createElement("path",{d:"M9.72182 5.99993C10.0524 5.99993 10.3203 5.73198 10.3203 5.40145C10.3203 5.07092 10.0524 4.80297 9.72182 4.80297C9.39129 4.80297 9.12335 5.07092 9.12335 5.40145C9.12335 5.73198 9.39129 5.99993 9.72182 5.99993Z",fill:"black"}),o.createElement("path",{d:"M7.21887 6.67639C6.89117 6.71981 6.66072 7.02066 6.70414 7.34836C6.74756 7.67605 7.04841 7.9065 7.3761 7.86308L8.353 7.73364L7.17405 11.3945C7.11289 11.5844 7.15164 11.7825 7.26117 11.932C7.38068 12.1287 7.60875 12.2469 7.85155 12.2147L9.40669 12.0087C9.73436 11.9653 9.96479 11.6645 9.92137 11.3368C9.87795 11.0091 9.57713 10.7787 9.24947 10.8221L8.58762 10.9098L9.76774 7.24534C9.83038 7.05084 9.78821 6.84771 9.67254 6.69702C9.55085 6.50877 9.32791 6.39694 9.09093 6.42834L7.21887 6.67639Z",fill:"black"}),o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17 8.5C17 13.1944 13.1944 17 8.5 17C3.80558 17 0 13.1944 0 8.5C0 3.80558 3.80558 0 8.5 0C13.1944 0 17 3.80558 17 8.5ZM16 8.5C16 12.8454 12.8454 16 8.5 16C4.15461 16 1 12.8454 1 8.5C1 4.15461 4.15461 1 8.5 1C12.8454 1 16 4.15461 16 8.5Z",fill:"black"}));case"options":return o.createElement("svg",{viewBox:"0 0 16 2",...u},o.createElement("circle",{cx:"15",cy:"1",r:"1",transform:"rotate(90 15 1)",fill:"black"}),o.createElement("circle",{cx:"1",cy:"1",r:"1",transform:"rotate(90 1 1)",fill:"black"}),o.createElement("circle",{cx:"8",cy:"1",r:"1",transform:"rotate(90 8 1)",fill:"black"}));case"browse":return o.createElement("svg",{viewBox:"0 0 24 24",...u},o.createElement("circle",{cx:"12",cy:"12",r:"12",fill:"currentColor"}),o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.16663 7.33334C6.16663 6.68901 6.68896 6.16667 7.33329 6.16667H10.25C10.8943 6.16667 11.4166 6.68901 11.4166 7.33334V10.25C11.4166 10.8943 10.8943 11.4167 10.25 11.4167H7.33329C6.68896 11.4167 6.16663 10.8943 6.16663 10.25V7.33334ZM7.33329 7.04167H10.25C10.411 7.04167 10.5416 7.17226 10.5416 7.33334V10.25C10.5416 10.4111 10.411 10.5417 10.25 10.5417H7.33329C7.17221 10.5417 7.04163 10.4111 7.04163 10.25V7.33334C7.04163 7.17226 7.17221 7.04167 7.33329 7.04167Z",fill:"white"}),o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.16663 13.75C6.16663 13.1057 6.68896 12.5833 7.33329 12.5833H10.25C10.8943 12.5833 11.4166 13.1057 11.4166 13.75V16.6667C11.4166 17.311 10.8943 17.8333 10.25 17.8333H7.33329C6.68896 17.8333 6.16663 17.311 6.16663 16.6667V13.75ZM7.33329 13.4583H10.25C10.411 13.4583 10.5416 13.5889 10.5416 13.75V16.6667C10.5416 16.8278 10.411 16.9583 10.25 16.9583H7.33329C7.17221 16.9583 7.04163 16.8278 7.04163 16.6667V13.75C7.04163 13.5889 7.17221 13.4583 7.33329 13.4583Z",fill:"white"}),o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.75 6.16667C13.1056 6.16667 12.5833 6.68901 12.5833 7.33334V10.25C12.5833 10.8943 13.1056 11.4167 13.75 11.4167H16.6666C17.311 11.4167 17.8333 10.8943 17.8333 10.25V7.33334C17.8333 6.68901 17.311 6.16667 16.6666 6.16667H13.75ZM16.6666 7.04167H13.75C13.5889 7.04167 13.4583 7.17226 13.4583 7.33334V10.25C13.4583 10.4111 13.5889 10.5417 13.75 10.5417H16.6666C16.8277 10.5417 16.9583 10.4111 16.9583 10.25V7.33334C16.9583 7.17226 16.8277 7.04167 16.6666 7.04167Z",fill:"white"}),o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.8333 15.2083C17.8333 16.6581 16.658 17.8333 15.2083 17.8333C13.7585 17.8333 12.5833 16.6581 12.5833 15.2083C12.5833 13.7586 13.7585 12.5833 15.2083 12.5833C16.658 12.5833 17.8333 13.7586 17.8333 15.2083ZM16.9583 15.2083C16.9583 16.1748 16.1748 16.9583 15.2083 16.9583C14.2418 16.9583 13.4583 16.1748 13.4583 15.2083C13.4583 14.2418 14.2418 13.4583 15.2083 13.4583C16.1748 13.4583 16.9583 14.2418 16.9583 15.2083Z",fill:"white"}));case"video":return d.minWidth&&typeof d.minWidth=="number"&&(d.minWidth=`${d.minWidth}px`),o.createElement("svg",{viewBox:"0 0 25 25",...u,style:d},o.createElement("path",{d:"M16.8245 10.0758C18.7392 8.55799 21.3085 7.08973 21.7947 7.61552C22.5982 8.47863 22.5288 16.6929 21.7947 17.4766C21.3482 17.9627 18.7589 16.4945 16.8245 14.9866",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.61914 12.5385C2.61914 7.12973 4.41578 5.32715 9.80764 5.32715C15.1985 5.32715 16.9952 7.12973 16.9952 12.5385C16.9952 17.9462 15.1985 19.7497 9.80764 19.7497C4.41578 19.7497 2.61914 17.9462 2.61914 12.5385Z",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}));case"star-empty":return o.createElement("svg",{viewBox:"0 0 13 12",...u},o.createElement("path",{d:"M2 5.2767L5.11944 4.81796L6.70023 2L7.96487 4.81796L11 5.51699L8.75527 7.64684L9.18735 11L6.42623 9.40534L3.62295 10.7925L4.21311 7.64684L2 5.2767Z",stroke:"black"}));case"star-filled":return o.createElement("svg",{viewBox:"0 0 13 12",...u},o.createElement("path",{d:"M2 5.2767L5.11944 4.81796L6.70023 2L7.96487 4.81796L11 5.51699L8.75527 7.64684L9.18735 11L6.42623 9.40534L3.62295 10.7925L4.21311 7.64684L2 5.2767Z",fill:"black",stroke:"black"}));case"cog-wheel":return o.createElement("svg",{viewBox:"0 0 24 24",...u},o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.273 2.68498V1C15.273 0.447715 14.8253 0 14.273 0H9.72754C9.17525 0 8.72754 0.447715 8.72754 1V2.6852C8.72754 3.20708 8.09656 3.46843 7.72754 3.09941L6.53588 1.90775C6.14536 1.51723 5.51219 1.51723 5.12167 1.90775L1.90755 5.12187C1.51702 5.5124 1.51702 6.14556 1.90755 6.53609L3.09865 7.72719C3.46767 8.09621 3.20632 8.72719 2.68444 8.72719H1C0.447715 8.72719 0 9.1749 0 9.72719V14.2726C0 14.8249 0.447715 15.2726 1 15.2726H2.68534C3.20722 15.2726 3.46857 15.9036 3.09955 16.2726L1.90793 17.4643C1.51741 17.8548 1.51741 18.488 1.90793 18.8785L5.12205 22.0926C5.51258 22.4831 6.14574 22.4831 6.53627 22.0926L7.72754 20.9013C8.09656 20.5323 8.72754 20.7937 8.72754 21.3155V23C8.72754 23.5523 9.17525 24 9.72754 24H14.273C14.8253 24 15.273 23.5523 15.273 23V21.3158C15.273 20.7939 15.904 20.5325 16.273 20.9015L17.4639 22.0924C17.8544 22.483 18.4876 22.483 18.8781 22.0924L22.0922 18.8783C22.4828 18.4878 22.4828 17.8546 22.0922 17.4641L20.9008 16.2726C20.5317 15.9036 20.7931 15.2726 21.315 15.2726H23C23.5523 15.2726 24 14.8249 24 14.2726V9.72719C24 9.1749 23.5523 8.72719 23 8.72719H21.3159C20.794 8.72719 20.5326 8.09621 20.9017 7.72719L22.0926 6.53625C22.4831 6.14572 22.4831 5.51256 22.0926 5.12203L18.8785 1.90791C18.488 1.51739 17.8548 1.51739 17.4643 1.90791L16.273 3.0992C15.904 3.46822 15.273 3.20686 15.273 2.68498ZM16.5792 4.20716C16.263 4.52345 15.7775 4.58532 15.3687 4.40375C15.2439 4.34832 15.1174 4.29587 14.9895 4.2465C14.5723 4.08555 14.273 3.69861 14.273 3.25149V2C14.273 1.44771 13.8253 1 13.273 1H10.7275C10.1753 1 9.72754 1.44772 9.72754 2V3.25116C9.72754 3.69832 9.42816 4.08528 9.01096 4.2462C8.88288 4.29561 8.75633 4.34809 8.6314 4.40357C8.22262 4.58511 7.73715 4.52323 7.42087 4.20695L6.53588 3.32196C6.14536 2.93144 5.51219 2.93144 5.12167 3.32196L3.32176 5.12187C2.93124 5.5124 2.93124 6.14556 3.32176 6.53609L4.20676 7.42109C4.52303 7.73736 4.58491 8.22283 4.40338 8.63161C4.34797 8.75638 4.29555 8.88276 4.2462 9.01067C4.08526 9.42784 3.69831 9.72719 3.25118 9.72719H2C1.44772 9.72719 1 10.1749 1 10.7272V13.2726C1 13.8249 1.44772 14.2726 2 14.2726H3.2511C3.69825 14.2726 4.0852 14.572 4.24614 14.9892C4.29556 15.1173 4.34807 15.2439 4.40357 15.3688C4.58513 15.7776 4.52327 16.2631 4.20698 16.5794L3.32215 17.4643C2.93162 17.8548 2.93162 18.488 3.32215 18.8785L5.12205 20.6784C5.51258 21.0689 6.14574 21.0689 6.53627 20.6784L7.42136 19.7933C7.73762 19.477 8.22305 19.4151 8.63183 19.5966C8.75662 19.6521 8.88302 19.7045 9.01096 19.7538C9.42816 19.9147 9.72754 20.3017 9.72754 20.7489V22C9.72754 22.5523 10.1753 23 10.7275 23H13.273C13.8253 23 14.273 22.5523 14.273 22V20.7485C14.273 20.3014 14.5723 19.9145 14.9895 19.7535C15.1173 19.7042 15.2436 19.6518 15.3682 19.5965C15.777 19.4149 16.2625 19.4768 16.5788 19.7931L17.4639 20.6782C17.8544 21.0687 18.4876 21.0687 18.8781 20.6782L20.678 18.8783C21.0685 18.4878 21.0685 17.8546 20.678 17.4641L19.7929 16.579C19.4766 16.2627 19.4147 15.7772 19.5963 15.3684C19.6517 15.2436 19.7042 15.1172 19.7535 14.9892C19.9145 14.572 20.3014 14.2726 20.7486 14.2726H22C22.5523 14.2726 23 13.8249 23 13.2726V10.7272C23 10.1749 22.5523 9.72719 22 9.72719H20.7485C20.3013 9.72719 19.9144 9.42784 19.7535 9.01067C19.7042 8.8829 19.6518 8.75665 19.5965 8.63201C19.415 8.22324 19.4768 7.7378 19.7931 7.42154L20.6784 6.53625C21.0689 6.14572 21.0689 5.51256 20.6784 5.12203L18.8785 3.32213C18.488 2.9316 17.8548 2.9316 17.4643 3.32213L16.5792 4.20716ZM16.5999 12.0001C16.5999 14.5406 14.5404 16.6001 11.9999 16.6001C9.45939 16.6001 7.3999 14.5406 7.3999 12.0001C7.3999 9.45958 9.45939 7.40009 11.9999 7.40009C14.5404 7.40009 16.5999 9.45958 16.5999 12.0001ZM17.5999 12.0001C17.5999 15.0929 15.0927 17.6001 11.9999 17.6001C8.90711 17.6001 6.3999 15.0929 6.3999 12.0001C6.3999 8.90729 8.90711 6.40009 11.9999 6.40009C15.0927 6.40009 17.5999 8.90729 17.5999 12.0001Z",fill:"black"}));case"zoom-in":return o.createElement("svg",{viewBox:"0 0 24 24",...u},o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M21.9774 20.8287L17.9149 16.7662C17.8437 16.6957 17.76 16.639 17.668 16.5992C20.7612 12.9331 20.415 7.48045 16.883 4.23507C13.3509 0.989694 7.88848 1.10517 4.49673 4.49691C1.10499 7.88866 0.98951 13.3511 4.23489 16.8831C7.48027 20.4152 12.9329 20.7614 16.599 17.6682C16.6388 17.7601 16.6955 17.8439 16.766 17.9151L20.8285 21.9776C21.1457 22.2948 21.6601 22.2948 21.9774 21.9776C22.2947 21.6603 22.2947 21.1459 21.9774 20.8287ZM10.8404 18.1531C6.80186 18.1531 3.52794 14.8792 3.52794 10.8406C3.52794 6.80204 6.80186 3.52813 10.8404 3.52813C14.879 3.52813 18.1529 6.80204 18.1529 10.8406C18.1483 14.8773 14.8771 18.1484 10.8404 18.1531Z",fill:"white"}),o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.8749 6.75003C11.2892 6.75003 11.6249 7.08581 11.6249 7.50003V14.25C11.6249 14.6642 11.2892 15 10.8749 15C10.4607 15 10.1249 14.6642 10.1249 14.25V7.50003C10.1249 7.08581 10.4607 6.75003 10.8749 6.75003Z",fill:"white"}),o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.74994 10.875C6.74994 10.4608 7.08573 10.125 7.49994 10.125H14.2499C14.6642 10.125 14.9999 10.4608 14.9999 10.875C14.9999 11.2892 14.6642 11.625 14.2499 11.625H7.49994C7.08573 11.625 6.74994 11.2892 6.74994 10.875Z",fill:"white"}));case"zoom-out":return o.createElement("svg",{viewBox:"0 0 24 24",...u},o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M22.1025 20.9536L18.04 16.8911C17.9688 16.8206 17.8851 16.764 17.7931 16.7241C20.8864 13.0581 20.5401 7.60539 17.0081 4.36001C13.476 1.11463 8.0136 1.23011 4.62185 4.62185C1.23011 8.0136 1.11463 13.476 4.36001 17.0081C7.60539 20.5401 13.0581 20.8864 16.7241 17.7931C16.764 17.8851 16.8206 17.9688 16.8911 18.04L20.9536 22.1025C21.2709 22.4198 21.7853 22.4198 22.1025 22.1025C22.4198 21.7853 22.4198 21.2709 22.1025 20.9536ZM10.9656 18.2781C6.92698 18.2781 3.65306 15.0041 3.65306 10.9656C3.65306 6.92698 6.92698 3.65306 10.9656 3.65306C15.0041 3.65306 18.2781 6.92698 18.2781 10.9656C18.2734 15.0022 15.0022 18.2734 10.9656 18.2781Z",fill:"white"}),o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.87506 11C6.87506 10.5858 7.21085 10.25 7.62506 10.25H14.3751C14.7893 10.25 15.1251 10.5858 15.1251 11C15.1251 11.4142 14.7893 11.75 14.3751 11.75H7.62506C7.21085 11.75 6.87506 11.4142 6.87506 11Z",fill:"white"}));case"download":return o.createElement("svg",{viewBox:"0 0 24 24",...u},o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M22.5 11.1346V18.4038C22.498 20.1873 21.0527 21.6326 19.2692 21.6346H4.73077C2.94731 21.6326 1.50204 20.1873 1.5 18.4038V11.1346C1.5 10.6885 1.86162 10.3269 2.30769 10.3269C2.75377 10.3269 3.11538 10.6885 3.11538 11.1346V18.4038C3.1164 19.2956 3.83904 20.0182 4.73077 20.0192H19.2692C20.161 20.0182 20.8836 19.2956 20.8846 18.4038V11.1346C20.8846 10.6885 21.2462 10.3269 21.6923 10.3269C22.1384 10.3269 22.5 10.6885 22.5 11.1346ZM11.1434 16.2663C11.6167 16.7388 12.3832 16.7388 12.8565 16.2663L17.4172 11.7057C17.7326 11.3903 17.7326 10.8789 17.4172 10.5635C17.1018 10.2481 16.5904 10.2481 16.275 10.5635L12.8076 14.0308V3.05769C12.8076 2.61162 12.446 2.25 11.9999 2.25C11.5539 2.25 11.1923 2.61162 11.1923 3.05769V14.0308L7.72485 10.5636C7.40946 10.2482 6.89812 10.2482 6.58273 10.5636C6.26734 10.8789 6.26734 11.3903 6.58273 11.7057L11.1434 16.2663Z",fill:"white"}));case"lightbox-close":return o.createElement("svg",{viewBox:"0 0 24 24",...u},o.createElement("path",{xmlns:"http://www.w3.org/2000/svg",fillRule:"evenodd",clipRule:"evenodd",d:"M19.2621 18.1129C19.4674 18.3182 19.5475 18.6173 19.4724 18.8977C19.3973 19.178 19.1783 19.397 18.8979 19.4721C18.6176 19.5472 18.3184 19.4671 18.1132 19.2619L12.1877 13.3363L6.26214 19.2619C6.0569 19.4671 5.75776 19.5472 5.47741 19.4721C5.19705 19.397 4.97807 19.178 4.90294 18.8977C4.82782 18.6173 4.90798 18.3182 5.11321 18.1129L11.0388 12.1874L5.11321 6.26186C4.90798 6.05663 4.82782 5.75749 4.90294 5.47713C4.97807 5.19678 5.19705 4.97779 5.47741 4.90267C5.75776 4.82755 6.0569 4.9077 6.26214 5.11294L12.1877 11.0385L18.1132 5.11294C18.4305 4.79567 18.9449 4.79567 19.2621 5.11294C19.5794 5.4302 19.5794 5.9446 19.2621 6.26186L13.3366 12.1874L19.2621 18.1129Z",fill:"white"}));case"pagination-left":return o.createElement("svg",{viewBox:"0 0 24 24",...u},o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.7935 18.7087C16.0092 18.9029 16.105 19.1974 16.0447 19.4813C15.9844 19.7652 15.7772 19.9954 15.5012 20.0852C15.2251 20.1749 14.9222 20.1105 14.7065 19.9164L6.58148 12.6039C6.41027 12.4498 6.3125 12.2303 6.3125 12C6.3125 11.7697 6.41027 11.5503 6.58148 11.3962L14.7065 4.08372C15.04 3.78354 15.5536 3.81054 15.8538 4.14402C16.154 4.4775 16.127 4.99119 15.7935 5.29136L8.33939 12L15.7935 18.7087Z",fill:"#222222"}));case"pagination-right":return o.createElement("svg",{viewBox:"0 0 24 24",...u},o.createElement("path",{d:"M285.476 272.971L91.132 467.314c-9.373 9.373-24.569 9.373-33.941 0l-22.667-22.667c-9.357-9.357-9.375-24.522-.04-33.901L188.505 256 34.484 101.255c-9.335-9.379-9.317-24.544.04-33.901l22.667-22.667c9.373-9.373 24.569-9.373 33.941 0L285.475 239.03c9.373 9.372 9.373 24.568.001 33.941z"}))}return null}case"FontAwesome":return o.createElement(ci,{className:i,faIcon:l,title:t,...a});default:case"Text":return t?o.createElement("i",{className:L(i,"humany-letter-symbol"),title:t,...h,...a},t.substring(0,2)):null}},ni=y.svg`
|
|
363
123
|
transform: rotate(180deg);
|
|
364
|
-
`,
|
|
365
|
-
font-family: ${
|
|
366
|
-
font-size: ${
|
|
124
|
+
`,ri={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",p:"p",span:"span"},Dt=({variant:t,component:e,className:n,children:r})=>{const{typographyVariantMapping:s={}}=Gs(),i={...ri,...s},a=e||i[t]||"span";return o.createElement(si,{className:n,as:a},r)},si=y.span``,Ze=y.div`
|
|
125
|
+
font-family: ${t=>{var e;return(e=t.theme.fonts)==null?void 0:e.type}};
|
|
126
|
+
font-size: ${t=>{var e;return(e=t.theme.fonts)==null?void 0:e.normal}};
|
|
367
127
|
position: fixed;
|
|
368
128
|
bottom: 0;
|
|
369
129
|
left: 0;
|
|
370
|
-
border: ${
|
|
130
|
+
border: ${t=>t.theme.border};
|
|
371
131
|
width: 100%;
|
|
372
|
-
box-shadow: ${
|
|
132
|
+
box-shadow: ${t=>t.theme.boxShadow};
|
|
373
133
|
background: #ffffff;
|
|
374
|
-
${
|
|
375
|
-
`;
|
|
376
|
-
padding: ${
|
|
134
|
+
${t=>t.css&&t.css}
|
|
135
|
+
`;y(Dt)`
|
|
136
|
+
padding: ${t=>{var e;return(e=t.theme.sizes)==null?void 0:e.normal}};
|
|
377
137
|
margin: 0;
|
|
378
138
|
text-align: center;
|
|
379
139
|
border-bottom: #eeeeee 1px solid;
|
|
@@ -383,14 +143,14 @@ You might need to use a local HTTP server (instead of file://): https://reactjs.
|
|
|
383
143
|
justify-content: center;
|
|
384
144
|
align-items: center;
|
|
385
145
|
font-weight: bold;
|
|
386
|
-
color: ${
|
|
387
|
-
font-size: ${
|
|
146
|
+
color: ${t=>{var e;return(e=t.theme.colors)==null?void 0:e.text}};
|
|
147
|
+
font-size: ${t=>{var e;return(e=t.theme.fonts)==null?void 0:e.normal}};
|
|
388
148
|
line-height: 1.2em;
|
|
389
|
-
`;const
|
|
390
|
-
transition: ${
|
|
391
|
-
`;
|
|
149
|
+
`;const Ue=t=>$.css`
|
|
150
|
+
transition: ${t.duration}ms;
|
|
151
|
+
`;y(Ze)`
|
|
392
152
|
max-height: 0;
|
|
393
|
-
${
|
|
153
|
+
${Ue}
|
|
394
154
|
|
|
395
155
|
&.humany-drawer-transition-enter {
|
|
396
156
|
max-height: 0;
|
|
@@ -398,17 +158,17 @@ You might need to use a local HTTP server (instead of file://): https://reactjs.
|
|
|
398
158
|
&.humany-drawer-transition-enter-active,
|
|
399
159
|
&.humany-drawer-transition-enter-done,
|
|
400
160
|
&.humany-drawer-transition-exit {
|
|
401
|
-
max-height: ${
|
|
161
|
+
max-height: ${t=>t.fullScreen?"100%":"400px"};
|
|
402
162
|
}
|
|
403
163
|
|
|
404
164
|
&.humany-drawer-transition-exit-active,
|
|
405
165
|
&.humany-drawer-transition-exit-done {
|
|
406
166
|
max-height: 0;
|
|
407
167
|
}
|
|
408
|
-
`;
|
|
409
|
-
${
|
|
168
|
+
`;y(Ze)`
|
|
169
|
+
${Ue}
|
|
410
170
|
transform: translateX(100%);
|
|
411
|
-
height: ${
|
|
171
|
+
height: ${t=>t.fullScreen?"100%":"auto"};
|
|
412
172
|
|
|
413
173
|
&.humany-drawer-transition-enter {
|
|
414
174
|
transform: translateX(100%);
|
|
@@ -423,10 +183,10 @@ You might need to use a local HTTP server (instead of file://): https://reactjs.
|
|
|
423
183
|
&.humany-drawer-transition-exit-done {
|
|
424
184
|
transform: translateX(100%);
|
|
425
185
|
}
|
|
426
|
-
`;
|
|
427
|
-
${
|
|
186
|
+
`;y(Ze)`
|
|
187
|
+
${Ue}
|
|
428
188
|
transform: translateX(-100%);
|
|
429
|
-
height: ${
|
|
189
|
+
height: ${t=>t.fullScreen?"100%":"auto"};
|
|
430
190
|
|
|
431
191
|
&.humany-drawer-transition-enter {
|
|
432
192
|
transform: translateX(-100%);
|
|
@@ -441,8 +201,8 @@ You might need to use a local HTTP server (instead of file://): https://reactjs.
|
|
|
441
201
|
&.humany-drawer-transition-exit-done {
|
|
442
202
|
transform: translateX(-100%);
|
|
443
203
|
}
|
|
444
|
-
`;
|
|
445
|
-
${
|
|
204
|
+
`;y(Ze)`
|
|
205
|
+
${Ue}
|
|
446
206
|
bottom: unset;
|
|
447
207
|
top: 0;
|
|
448
208
|
height: 0;
|
|
@@ -453,41 +213,41 @@ You might need to use a local HTTP server (instead of file://): https://reactjs.
|
|
|
453
213
|
&.humany-drawer-transition-enter-active,
|
|
454
214
|
&.humany-drawer-transition-enter-done,
|
|
455
215
|
&.humany-drawer-transition-exit {
|
|
456
|
-
height: ${
|
|
216
|
+
height: ${t=>t.clientHeight}px;
|
|
457
217
|
}
|
|
458
218
|
|
|
459
219
|
&.humany-drawer-transition-exit-active,
|
|
460
220
|
&.humany-drawer-transition-exit-done {
|
|
461
221
|
height: 0;
|
|
462
222
|
}
|
|
463
|
-
`;const
|
|
464
|
-
${
|
|
465
|
-
padding: ${
|
|
223
|
+
`;const ii=(t,e,n)=>{const[r,s]=o.useState(0),[i,a]=o.useState(0),c=o.useCallback((l,h)=>{if(l.preventDefault(),h){const u=h.getBoundingClientRect();s(Math.max(document.body.clientWidth-u.right,1)),a(u.bottom+window.scrollY)}},[r,i,s,a]);return o.useEffect(()=>{if(!n||!t)return;const l=n.getBoundingClientRect(),h={x:r,y:i};l.left<0&&(h.x=0),l.bottom>window.innerHeight&&(h.y=0),h.x!==r&&s(h.x),h.y!==i&&a(h.y)},[n,t,e]),[{x:r,y:i},c]};o.forwardRef(({className:t="",children:e=null,trigger:n,closeButtonAriaLabel:r,...s},i)=>{const a=o.useRef(),c=o.useRef(),l=o.useRef();o.useImperativeHandle(i,()=>l.current,[l.current]);const h=o.useRef(Ce()),[u,d]=o.useState(!1),f=Qs(u),[{x:p,y:g},v]=ii(u,h.current,l.current),m=ge("Escape");o.useEffect(()=>{m&&d(!1)},[m]),o.useEffect(()=>{u&&a.current?a.current.focus():!u&&c.current&&f&&c.current.focus()},[u,a.current,c.current]),le("click",E=>{const{target:C}=E;!l.current||!C||l.current!==C&&!l.current.contains(C)&&d(!1)},window),Ht("router:changed",()=>{d(!1)});const b=Vn(h.current,()=>{d(!1)}),w=o.useCallback(E=>{E.stopPropagation(),v(E,c.current),d(!u),b()},[b,v,d]);return o.createElement(o.Fragment,null,u&&o.createElement(Vt,null,o.createElement(oi,{className:L("humany-dropdown",`humany-dropdown-${h.current}`,t),...s,x:p,y:g,ref:l},o.createElement(_n,{onClick:()=>d(!1),tabIndex:0,ref:a,"aria-label":r},o.createElement(xe,{symbol:{type:"Svg",content:"close"}})),e)),o.cloneElement(n,{onClick:w,ref:c,"aria-label":n.props.title,"aria-expanded":u}))});const oi=y.div`
|
|
224
|
+
${Dn}
|
|
225
|
+
padding: ${t=>{var e;return(e=t.theme.sizes)==null?void 0:e.medium}};
|
|
466
226
|
min-width: 150px;
|
|
467
227
|
position: absolute;
|
|
468
|
-
box-shadow: ${
|
|
228
|
+
box-shadow: ${t=>t.theme.boxShadow};
|
|
469
229
|
|
|
470
|
-
${
|
|
471
|
-
`;
|
|
230
|
+
${t=>{var n,r,s;let e="";return t.y>0?e+=`top: calc(${((n=t.theme.sizes)==null?void 0:n.small)||"0px"} + ${t.y||"0"}px);`:e+=`bottom: ${((r=t.theme.sizes)==null?void 0:r.normal)||"0px"};`,t.x>0?e+=`right: ${t.x||"0"}px;`:e+=`left: ${((s=t.theme.sizes)==null?void 0:s.normal)||"0px"};`,e}};
|
|
231
|
+
`;y.div`
|
|
472
232
|
display: none;
|
|
473
|
-
`;
|
|
233
|
+
`;o.forwardRef(({children:t,columns:e,gap:n,className:r,...s},i)=>o.createElement(ai,{className:L(r,"humany-grid"),"data-columns":e,"data-gap":n,...Tn(s),..._(s),ref:i},t));const ai=y.div`
|
|
474
234
|
display: grid;
|
|
475
|
-
grid-template-columns: repeat(${
|
|
476
|
-
grid-gap: ${
|
|
235
|
+
grid-template-columns: repeat(${t=>t["data-columns"]}, 1fr);
|
|
236
|
+
grid-gap: ${t=>t["data-gap"]};
|
|
477
237
|
justify-content: center;
|
|
478
238
|
grid-auto-rows: max-content;
|
|
479
|
-
${
|
|
480
|
-
`,sR=te.forwardRef(({htmlParseInstruction:o=null,className:i,html:l,...f},h)=>{const m=Bd(),[v,S]=te.useState();return te.useEffect(()=>{const b=hO(m,l),x={...b,...o,transform:{...b.transform,...o==null?void 0:o.transform}},T=dO(l,x);S(T)},[l,o]),z.createElement("div",{className:Mn(i,"humany-html"),...Eo(f),ref:h},v)}),ZO=({faIcon:o,title:i,className:l="",role:f="presentation",...h})=>z.createElement("i",{className:Mn(l,`fa fa-${o}`),title:i,role:f,...Eo(h)}),JO=te.forwardRef(({className:o="",autoFocus:i=!1,onFocusChange:l=()=>{},onEnter:f=()=>{},onEscape:h=()=>{},selectAllOnFocus:m,onChange:v=()=>{},disabled:S=!1,type:b,...x},T)=>{const[k,L]=te.useState(i),M=te.useRef();te.useImperativeHandle(T,()=>M.current),te.useEffect(()=>{var H;i&&((H=M==null?void 0:M.current)==null||H.focus())},[i,T,M]);const P=(H,ce)=>{L(H),l&&l(H),m&&H&&ce.target.select()},F={...Eo(x),disabled:S,autoFocus:i,type:b,onKeyDown:H=>{H.key==="Enter"&&k&&f(H),H.key==="Escape"&&k&&h(H)},onFocus:H=>P(!0,H),onBlur:H=>P(!1,H),onChange:H=>v(H.target.value||""),className:Mn(o,"humany-input"),"data-type":b};return b!=="textarea"?z.createElement("input",{...F,ref:M}):z.createElement("textarea",{...F,ref:M})}),KC=te.forwardRef(({className:o,items:i,renderItem:l,renderLi:f=!1,...h},m)=>z.createElement("ul",{className:Mn(o,"humany-list"),"data-item-count":i.length,...Eo(h),ref:m},i.map((v,S,b)=>f?z.createElement("li",{className:"humany-list-item",key:v.id||S},l(v,S,b)):l(v,S,b)))),eN=te.forwardRef(({text:o,html:i,header:l,className:f,htmlParseInstruction:h,symbol:m,...v},S)=>z.createElement("div",{className:Mn(f,"humany-paragraph"),...Eo(v),ref:S},l?z.createElement(QC,{variant:"h1"},m?z.createElement(bv,{symbol:m}):null,l):null,i?z.createElement(sR,{html:i,htmlParseInstruction:h}):null,o?z.createElement(WC,null,o):null));te.forwardRef(({header:o,customHeader:i,text:l,html:f,className:h,children:m,symbol:v,items:S,renderItem:b,renderLi:x,ulProps:T,...k},L)=>z.createElement("div",{className:Mn(h,"humany-item-list"),"data-item-count":S.length,...Eo(k),ref:L},i||(o||l||f?z.createElement(eN,{symbol:v,header:o,text:l,html:f}):null),S.length?z.createElement(KC,{items:S,renderItem:b,renderLi:x,...T}):null,m));var lR=function(){};process.env.NODE_ENV!=="production"&&(lR=function(o,i,l){var f=arguments.length;l=new Array(f>2?f-2:0);for(var h=2;h<f;h++)l[h-2]=arguments[h];if(i===void 0)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");if(i.length<10||/^[s\W]*$/.test(i))throw new Error("The warning format should be able to uniquely identify this warning. Please, use a more descriptive format than: "+i);if(!o){var m=0,v="Warning: "+i.replace(/%s/g,function(){return l[m++]});typeof console<"u"&&console.error(v);try{throw new Error(v)}catch{}}});var tN=lR,nN=tN;rN(nN);function rN(o){return o&&o.__esModule?o:{default:o}}function mg(o){return o.charAt(0)==="/"}function VS(o,i){for(var l=i,f=l+1,h=o.length;f<h;l+=1,f+=1)o[l]=o[f];o.pop()}function iN(o){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",l=o&&o.split("/")||[],f=i&&i.split("/")||[],h=o&&mg(o),m=i&&mg(i),v=h||m;if(o&&mg(o)?f=l:l.length&&(f.pop(),f=f.concat(l)),!f.length)return"/";var S=void 0;if(f.length){var b=f[f.length-1];S=b==="."||b===".."||b===""}else S=!1;for(var x=0,T=f.length;T>=0;T--){var k=f[T];k==="."?VS(f,T):k===".."?(VS(f,T),x++):x&&(VS(f,T),x--)}if(!v)for(;x--;x)f.unshift("..");v&&f[0]!==""&&(!f[0]||!mg(f[0]))&&f.unshift("");var L=f.join("/");return S&&L.substr(-1)!=="/"&&(L+="/"),L}const aN=Object.freeze(Object.defineProperty({__proto__:null,default:iN},Symbol.toStringTag,{value:"Module"})),oN=OT(aN);var B3=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(o){return typeof o}:function(o){return o&&typeof Symbol=="function"&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o};function kg(o,i){if(o===i)return!0;if(o==null||i==null)return!1;if(Array.isArray(o))return Array.isArray(i)&&o.length===i.length&&o.every(function(b,x){return kg(b,i[x])});var l=typeof o>"u"?"undefined":B3(o),f=typeof i>"u"?"undefined":B3(i);if(l!==f)return!1;if(l==="object"){var h=o.valueOf(),m=i.valueOf();if(h!==o||m!==i)return kg(h,m);var v=Object.keys(o),S=Object.keys(i);return v.length!==S.length?!1:v.every(function(b){return kg(o[b],i[b])})}return!1}const sN=Object.freeze(Object.defineProperty({__proto__:null,default:kg},Symbol.toStringTag,{value:"Module"})),lN=OT(sN);var uN=oN;uR(uN);var cN=lN;uR(cN);function uR(o){return o&&o.__esModule?o:{default:o}}var cC=(o=>(o.scopedHash="scopedHash",o.hash="hash",o.browser="browser",o.memory="memory",o))(cC||{});const fN=(o,i)=>{const l=`humany-${i}=([^&?]+)&?`,f=new RegExp(l,"i"),h=o.match(f);return h&&h[1]||"/"};jg(o=>{o.createCommand("routing",i=>l=>{const f={mode:l.mode};l.basePath&&(f.basePath=l.basePath),i.container.register("routingSettings",f)})});function yg(o){return o.charAt(0)==="/"}function BS(o,i){for(var l=i,f=l+1,h=o.length;f<h;l+=1,f+=1)o[l]=o[f];o.pop()}function dN(o,i){i===void 0&&(i="");var l=o&&o.split("/")||[],f=i&&i.split("/")||[],h=o&&yg(o),m=i&&yg(i),v=h||m;if(o&&yg(o)?f=l:l.length&&(f.pop(),f=f.concat(l)),!f.length)return"/";var S;if(f.length){var b=f[f.length-1];S=b==="."||b===".."||b===""}else S=!1;for(var x=0,T=f.length;T>=0;T--){var k=f[T];k==="."?BS(f,T):k===".."?(BS(f,T),x++):x&&(BS(f,T),x--)}if(!v)for(;x--;x)f.unshift("..");v&&f[0]!==""&&(!f[0]||!yg(f[0]))&&f.unshift("");var L=f.join("/");return S&&L.substr(-1)!=="/"&&(L+="/"),L}var pN=process.env.NODE_ENV==="production";function on(o,i){if(!pN){if(o)return;var l="Warning: "+i;typeof console<"u"&&console.warn(l);try{throw Error(l)}catch{}}}var hN=process.env.NODE_ENV==="production",IS="Invariant failed";function Qi(o,i){if(!o){if(hN)throw new Error(IS);var l=typeof i=="function"?i():i,f=l?"".concat(IS,": ").concat(l):IS;throw new Error(f)}}function cv(o){return o.charAt(0)==="/"?o:"/"+o}function I3(o){return o.charAt(0)==="/"?o.substr(1):o}function XC(o,i){return o.toLowerCase().indexOf(i.toLowerCase())===0&&"/?#".indexOf(o.charAt(i.length))!==-1}function cR(o,i){return XC(o,i)?o.substr(i.length):o}function fR(o){return o.charAt(o.length-1)==="/"?o.slice(0,-1):o}function vN(o){var i=o||"/",l="",f="",h=i.indexOf("#");h!==-1&&(f=i.substr(h),i=i.substr(0,h));var m=i.indexOf("?");return m!==-1&&(l=i.substr(m),i=i.substr(0,m)),{pathname:i,search:l==="?"?"":l,hash:f==="#"?"":f}}function qi(o){var i=o.pathname,l=o.search,f=o.hash,h=i||"/";return l&&l!=="?"&&(h+=l.charAt(0)==="?"?l:"?"+l),f&&f!=="#"&&(h+=f.charAt(0)==="#"?f:"#"+f),h}function ha(o,i,l,f){var h;typeof o=="string"?(h=vN(o),h.state=i):(h=mr({},o),h.pathname===void 0&&(h.pathname=""),h.search?h.search.charAt(0)!=="?"&&(h.search="?"+h.search):h.search="",h.hash?h.hash.charAt(0)!=="#"&&(h.hash="#"+h.hash):h.hash="",i!==void 0&&h.state===void 0&&(h.state=i));try{h.pathname=decodeURI(h.pathname)}catch(m){throw m instanceof URIError?new URIError('Pathname "'+h.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):m}return l&&(h.key=l),f?h.pathname?h.pathname.charAt(0)!=="/"&&(h.pathname=dN(h.pathname,f.pathname)):h.pathname=f.pathname:h.pathname||(h.pathname="/"),h}function ZC(){var o=null;function i(v){return process.env.NODE_ENV!=="production"&&on(o==null,"A history supports only one prompt at a time"),o=v,function(){o===v&&(o=null)}}function l(v,S,b,x){if(o!=null){var T=typeof o=="function"?o(v,S):o;typeof T=="string"?typeof b=="function"?b(T,x):(process.env.NODE_ENV!=="production"&&on(!1,"A history needs a getUserConfirmation function in order to use a prompt message"),x(!0)):x(T!==!1)}else x(!0)}var f=[];function h(v){var S=!0;function b(){S&&v.apply(void 0,arguments)}return f.push(b),function(){S=!1,f=f.filter(function(x){return x!==b})}}function m(){for(var v=arguments.length,S=new Array(v),b=0;b<v;b++)S[b]=arguments[b];f.forEach(function(x){return x.apply(void 0,S)})}return{setPrompt:i,confirmTransitionTo:l,appendListener:h,notifyListeners:m}}var dR=!!(typeof window<"u"&&window.document&&window.document.createElement);function pR(o,i){i(window.confirm(o))}function mN(){var o=window.navigator.userAgent;return(o.indexOf("Android 2.")!==-1||o.indexOf("Android 4.0")!==-1)&&o.indexOf("Mobile Safari")!==-1&&o.indexOf("Chrome")===-1&&o.indexOf("Windows Phone")===-1?!1:window.history&&"pushState"in window.history}function yN(){return window.navigator.userAgent.indexOf("Trident")===-1}function gN(){return window.navigator.userAgent.indexOf("Firefox")===-1}function EN(o){return o.state===void 0&&navigator.userAgent.indexOf("CriOS")===-1}var Y3="popstate",W3="hashchange";function q3(){try{return window.history.state||{}}catch{return{}}}function SN(o){o===void 0&&(o={}),dR||(process.env.NODE_ENV!=="production"?Qi(!1,"Browser history needs a DOM"):Qi(!1));var i=window.history,l=mN(),f=!yN(),h=o,m=h.forceRefresh,v=m===void 0?!1:m,S=h.getUserConfirmation,b=S===void 0?pR:S,x=h.keyLength,T=x===void 0?6:x,k=o.basename?fR(cv(o.basename)):"";function L(ye){var O=ye||{},U=O.key,Y=O.state,ne=window.location,ie=ne.pathname,ke=ne.search,Se=ne.hash,Te=ie+ke+Se;return process.env.NODE_ENV!=="production"&&on(!k||XC(Te,k),'You are attempting to use a basename on a page whose URL path does not begin with the basename. Expected path "'+Te+'" to begin with "'+k+'".'),k&&(Te=cR(Te,k)),ha(Te,Y,U)}function M(){return Math.random().toString(36).substr(2,T)}var P=ZC();function F(ye){mr(he,ye),he.length=i.length,P.notifyListeners(he.location,he.action)}function H(ye){EN(ye)||ue(L(ye.state))}function ce(){ue(L(q3()))}var ve=!1;function ue(ye){if(ve)ve=!1,F();else{var O="POP";P.confirmTransitionTo(ye,O,b,function(U){U?F({action:O,location:ye}):pe(ye)})}}function pe(ye){var O=he.location,U=we.indexOf(O.key);U===-1&&(U=0);var Y=we.indexOf(ye.key);Y===-1&&(Y=0);var ne=U-Y;ne&&(ve=!0,Be(ne))}var W=L(q3()),we=[W.key];function se(ye){return k+qi(ye)}function be(ye,O){process.env.NODE_ENV!=="production"&&on(!(typeof ye=="object"&&ye.state!==void 0&&O!==void 0),"You should avoid providing a 2nd state argument to push when the 1st argument is a location-like object that already has state; it is ignored");var U="PUSH",Y=ha(ye,O,M(),he.location);P.confirmTransitionTo(Y,U,b,function(ne){if(ne){var ie=se(Y),ke=Y.key,Se=Y.state;if(l)if(i.pushState({key:ke,state:Se},null,ie),v)window.location.href=ie;else{var Te=we.indexOf(he.location.key),De=we.slice(0,Te+1);De.push(Y.key),we=De,F({action:U,location:Y})}else process.env.NODE_ENV!=="production"&&on(Se===void 0,"Browser history cannot push state in browsers that do not support HTML5 history"),window.location.href=ie}})}function Ge(ye,O){process.env.NODE_ENV!=="production"&&on(!(typeof ye=="object"&&ye.state!==void 0&&O!==void 0),"You should avoid providing a 2nd state argument to replace when the 1st argument is a location-like object that already has state; it is ignored");var U="REPLACE",Y=ha(ye,O,M(),he.location);P.confirmTransitionTo(Y,U,b,function(ne){if(ne){var ie=se(Y),ke=Y.key,Se=Y.state;if(l)if(i.replaceState({key:ke,state:Se},null,ie),v)window.location.replace(ie);else{var Te=we.indexOf(he.location.key);Te!==-1&&(we[Te]=Y.key),F({action:U,location:Y})}else process.env.NODE_ENV!=="production"&&on(Se===void 0,"Browser history cannot replace state in browsers that do not support HTML5 history"),window.location.replace(ie)}})}function Be(ye){i.go(ye)}function Ue(){Be(-1)}function et(){Be(1)}var qe=0;function Xe(ye){qe+=ye,qe===1&&ye===1?(window.addEventListener(Y3,H),f&&window.addEventListener(W3,ce)):qe===0&&(window.removeEventListener(Y3,H),f&&window.removeEventListener(W3,ce))}var dt=!1;function tt(ye){ye===void 0&&(ye=!1);var O=P.setPrompt(ye);return dt||(Xe(1),dt=!0),function(){return dt&&(dt=!1,Xe(-1)),O()}}function Oe(ye){var O=P.appendListener(ye);return Xe(1),function(){Xe(-1),O()}}var he={length:i.length,action:"POP",location:W,createHref:se,push:be,replace:Ge,go:Be,goBack:Ue,goForward:et,block:tt,listen:Oe};return he}var G3="hashchange",CN={hashbang:{encodePath:function(i){return i.charAt(0)==="!"?i:"!/"+I3(i)},decodePath:function(i){return i.charAt(0)==="!"?i.substr(1):i}},noslash:{encodePath:I3,decodePath:cv},slash:{encodePath:cv,decodePath:cv}};function hR(o){var i=o.indexOf("#");return i===-1?o:o.slice(0,i)}function iv(){var o=window.location.href,i=o.indexOf("#");return i===-1?"":o.substring(i+1)}function bN(o){window.location.hash=o}function YS(o){window.location.replace(hR(window.location.href)+"#"+o)}function wN(o){o===void 0&&(o={}),dR||(process.env.NODE_ENV!=="production"?Qi(!1,"Hash history needs a DOM"):Qi(!1));var i=window.history,l=gN(),f=o,h=f.getUserConfirmation,m=h===void 0?pR:h,v=f.hashType,S=v===void 0?"slash":v,b=o.basename?fR(cv(o.basename)):"",x=CN[S],T=x.encodePath,k=x.decodePath;function L(){var U=k(iv());return process.env.NODE_ENV!=="production"&&on(!b||XC(U,b),'You are attempting to use a basename on a page whose URL path does not begin with the basename. Expected path "'+U+'" to begin with "'+b+'".'),b&&(U=cR(U,b)),ha(U)}var M=ZC();function P(U){mr(O,U),O.length=i.length,M.notifyListeners(O.location,O.action)}var F=!1,H=null;function ce(U,Y){return U.pathname===Y.pathname&&U.search===Y.search&&U.hash===Y.hash}function ve(){var U=iv(),Y=T(U);if(U!==Y)YS(Y);else{var ne=L(),ie=O.location;if(!F&&ce(ie,ne)||H===qi(ne))return;H=null,ue(ne)}}function ue(U){if(F)F=!1,P();else{var Y="POP";M.confirmTransitionTo(U,Y,m,function(ne){ne?P({action:Y,location:U}):pe(U)})}}function pe(U){var Y=O.location,ne=be.lastIndexOf(qi(Y));ne===-1&&(ne=0);var ie=be.lastIndexOf(qi(U));ie===-1&&(ie=0);var ke=ne-ie;ke&&(F=!0,et(ke))}var W=iv(),we=T(W);W!==we&&YS(we);var se=L(),be=[qi(se)];function Ge(U){var Y=document.querySelector("base"),ne="";return Y&&Y.getAttribute("href")&&(ne=hR(window.location.href)),ne+"#"+T(b+qi(U))}function Be(U,Y){process.env.NODE_ENV!=="production"&&on(Y===void 0,"Hash history cannot push state; it is ignored");var ne="PUSH",ie=ha(U,void 0,void 0,O.location);M.confirmTransitionTo(ie,ne,m,function(ke){if(ke){var Se=qi(ie),Te=T(b+Se),De=iv()!==Te;if(De){H=Se,bN(Te);var Ke=be.lastIndexOf(qi(O.location)),yt=be.slice(0,Ke+1);yt.push(Se),be=yt,P({action:ne,location:ie})}else process.env.NODE_ENV!=="production"&&on(!1,"Hash history cannot PUSH the same path; a new entry will not be added to the history stack"),P()}})}function Ue(U,Y){process.env.NODE_ENV!=="production"&&on(Y===void 0,"Hash history cannot replace state; it is ignored");var ne="REPLACE",ie=ha(U,void 0,void 0,O.location);M.confirmTransitionTo(ie,ne,m,function(ke){if(ke){var Se=qi(ie),Te=T(b+Se),De=iv()!==Te;De&&(H=Se,YS(Te));var Ke=be.indexOf(qi(O.location));Ke!==-1&&(be[Ke]=Se),P({action:ne,location:ie})}})}function et(U){process.env.NODE_ENV!=="production"&&on(l,"Hash history go(n) causes a full page reload in this browser"),i.go(U)}function qe(){et(-1)}function Xe(){et(1)}var dt=0;function tt(U){dt+=U,dt===1&&U===1?window.addEventListener(G3,ve):dt===0&&window.removeEventListener(G3,ve)}var Oe=!1;function he(U){U===void 0&&(U=!1);var Y=M.setPrompt(U);return Oe||(tt(1),Oe=!0),function(){return Oe&&(Oe=!1,tt(-1)),Y()}}function ye(U){var Y=M.appendListener(U);return tt(1),function(){tt(-1),Y()}}var O={length:i.length,action:"POP",location:se,createHref:Ge,push:Be,replace:Ue,go:et,goBack:qe,goForward:Xe,block:he,listen:ye};return O}function Q3(o,i,l){return Math.min(Math.max(o,i),l)}function xN(o){o===void 0&&(o={});var i=o,l=i.getUserConfirmation,f=i.initialEntries,h=f===void 0?["/"]:f,m=i.initialIndex,v=m===void 0?0:m,S=i.keyLength,b=S===void 0?6:S,x=ZC();function T(be){mr(se,be),se.length=se.entries.length,x.notifyListeners(se.location,se.action)}function k(){return Math.random().toString(36).substr(2,b)}var L=Q3(v,0,h.length-1),M=h.map(function(be){return typeof be=="string"?ha(be,void 0,k()):ha(be,void 0,be.key||k())}),P=qi;function F(be,Ge){process.env.NODE_ENV!=="production"&&on(!(typeof be=="object"&&be.state!==void 0&&Ge!==void 0),"You should avoid providing a 2nd state argument to push when the 1st argument is a location-like object that already has state; it is ignored");var Be="PUSH",Ue=ha(be,Ge,k(),se.location);x.confirmTransitionTo(Ue,Be,l,function(et){if(et){var qe=se.index,Xe=qe+1,dt=se.entries.slice(0);dt.length>Xe?dt.splice(Xe,dt.length-Xe,Ue):dt.push(Ue),T({action:Be,location:Ue,index:Xe,entries:dt})}})}function H(be,Ge){process.env.NODE_ENV!=="production"&&on(!(typeof be=="object"&&be.state!==void 0&&Ge!==void 0),"You should avoid providing a 2nd state argument to replace when the 1st argument is a location-like object that already has state; it is ignored");var Be="REPLACE",Ue=ha(be,Ge,k(),se.location);x.confirmTransitionTo(Ue,Be,l,function(et){et&&(se.entries[se.index]=Ue,T({action:Be,location:Ue}))})}function ce(be){var Ge=Q3(se.index+be,0,se.entries.length-1),Be="POP",Ue=se.entries[Ge];x.confirmTransitionTo(Ue,Be,l,function(et){et?T({action:Be,location:Ue,index:Ge}):T()})}function ve(){ce(-1)}function ue(){ce(1)}function pe(be){var Ge=se.index+be;return Ge>=0&&Ge<se.entries.length}function W(be){return be===void 0&&(be=!1),x.setPrompt(be)}function we(be){return x.appendListener(be)}var se={length:M.length,action:"POP",location:M[L],index:L,entries:M,createHref:P,push:F,replace:H,go:ce,goBack:ve,goForward:ue,canGo:pe,block:W,listen:we};return se}var Id={exports:{}},TN=Array.isArray||function(o){return Object.prototype.toString.call(o)=="[object Array]"},$g=TN;Id.exports=yR;Id.exports.parse=JC;Id.exports.compile=kN;Id.exports.tokensToFunction=vR;Id.exports.tokensToRegExp=mR;var RN=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function JC(o,i){for(var l=[],f=0,h=0,m="",v=i&&i.delimiter||"/",S;(S=RN.exec(o))!=null;){var b=S[0],x=S[1],T=S.index;if(m+=o.slice(h,T),h=T+b.length,x){m+=x[1];continue}var k=o[h],L=S[2],M=S[3],P=S[4],F=S[5],H=S[6],ce=S[7];m&&(l.push(m),m="");var ve=L!=null&&k!=null&&k!==L,ue=H==="+"||H==="*",pe=H==="?"||H==="*",W=S[2]||v,we=P||F;l.push({name:M||f++,prefix:L||"",delimiter:W,optional:pe,repeat:ue,partial:ve,asterisk:!!ce,pattern:we?NN(we):ce?".*":"[^"+_g(W)+"]+?"})}return h<o.length&&(m+=o.substr(h)),m&&l.push(m),l}function kN(o,i){return vR(JC(o,i),i)}function _N(o){return encodeURI(o).replace(/[\/?#]/g,function(i){return"%"+i.charCodeAt(0).toString(16).toUpperCase()})}function ON(o){return encodeURI(o).replace(/[?#]/g,function(i){return"%"+i.charCodeAt(0).toString(16).toUpperCase()})}function vR(o,i){for(var l=new Array(o.length),f=0;f<o.length;f++)typeof o[f]=="object"&&(l[f]=new RegExp("^(?:"+o[f].pattern+")$",tb(i)));return function(h,m){for(var v="",S=h||{},b=m||{},x=b.pretty?_N:encodeURIComponent,T=0;T<o.length;T++){var k=o[T];if(typeof k=="string"){v+=k;continue}var L=S[k.name],M;if(L==null)if(k.optional){k.partial&&(v+=k.prefix);continue}else throw new TypeError('Expected "'+k.name+'" to be defined');if($g(L)){if(!k.repeat)throw new TypeError('Expected "'+k.name+'" to not repeat, but received `'+JSON.stringify(L)+"`");if(L.length===0){if(k.optional)continue;throw new TypeError('Expected "'+k.name+'" to not be empty')}for(var P=0;P<L.length;P++){if(M=x(L[P]),!l[T].test(M))throw new TypeError('Expected all "'+k.name+'" to match "'+k.pattern+'", but received `'+JSON.stringify(M)+"`");v+=(P===0?k.prefix:k.delimiter)+M}continue}if(M=k.asterisk?ON(L):x(L),!l[T].test(M))throw new TypeError('Expected "'+k.name+'" to match "'+k.pattern+'", but received "'+M+'"');v+=k.prefix+M}return v}}function _g(o){return o.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function NN(o){return o.replace(/([=!:$\/()])/g,"\\$1")}function eb(o,i){return o.keys=i,o}function tb(o){return o&&o.sensitive?"":"i"}function DN(o,i){var l=o.source.match(/\((?!\?)/g);if(l)for(var f=0;f<l.length;f++)i.push({name:f,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return eb(o,i)}function LN(o,i,l){for(var f=[],h=0;h<o.length;h++)f.push(yR(o[h],i,l).source);var m=new RegExp("(?:"+f.join("|")+")",tb(l));return eb(m,i)}function MN(o,i,l){return mR(JC(o,l),i,l)}function mR(o,i,l){$g(i)||(l=i||l,i=[]),l=l||{};for(var f=l.strict,h=l.end!==!1,m="",v=0;v<o.length;v++){var S=o[v];if(typeof S=="string")m+=_g(S);else{var b=_g(S.prefix),x="(?:"+S.pattern+")";i.push(S),S.repeat&&(x+="(?:"+b+x+")*"),S.optional?S.partial?x=b+"("+x+")?":x="(?:"+b+"("+x+"))?":x=b+"("+x+")",m+=x}}var T=_g(l.delimiter||"/"),k=m.slice(-T.length)===T;return f||(m=(k?m.slice(0,-T.length):m)+"(?:"+T+"(?=$))?"),h?m+="$":m+=f&&k?"":"(?="+T+"|$)",eb(new RegExp("^"+m,tb(l)),i)}function yR(o,i,l){return $g(i)||(l=i||l,i=[]),l=l||{},o instanceof RegExp?DN(o,i):$g(o)?LN(o,i,l):MN(o,i,l)}var AN=Id.exports;const zN=Ev(AN);var gg=1073741823,K3=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:{};function $N(){var o="__global_unique_id__";return K3[o]=(K3[o]||0)+1}function UN(o,i){return o===i?o!==0||1/o===1/i:o!==o&&i!==i}function PN(o){var i=[];return{on:function(f){i.push(f)},off:function(f){i=i.filter(function(h){return h!==f})},get:function(){return o},set:function(f,h){o=f,i.forEach(function(m){return m(o,h)})}}}function jN(o){return Array.isArray(o)?o[0]:o}function HN(o,i){var l,f,h="__create-react-context-"+$N()+"__",m=function(S){$a(b,S);function b(){for(var T,k=arguments.length,L=new Array(k),M=0;M<k;M++)L[M]=arguments[M];return T=S.call.apply(S,[this].concat(L))||this,T.emitter=PN(T.props.value),T}var x=b.prototype;return x.getChildContext=function(){var k;return k={},k[h]=this.emitter,k},x.componentWillReceiveProps=function(k){if(this.props.value!==k.value){var L=this.props.value,M=k.value,P;UN(L,M)?P=0:(P=typeof i=="function"?i(L,M):gg,process.env.NODE_ENV!=="production"&&process.env.NODE_ENV!=="production"&&on((P&gg)===P,"calculateChangedBits: Expected the return value to be a 31-bit integer. Instead received: "+P),P|=0,P!==0&&this.emitter.set(k.value,P))}},x.render=function(){return this.props.children},b}(z.Component);m.childContextTypes=(l={},l[h]=de.object.isRequired,l);var v=function(S){$a(b,S);function b(){for(var T,k=arguments.length,L=new Array(k),M=0;M<k;M++)L[M]=arguments[M];return T=S.call.apply(S,[this].concat(L))||this,T.observedBits=void 0,T.state={value:T.getValue()},T.onUpdate=function(P,F){var H=T.observedBits|0;H&F&&T.setState({value:T.getValue()})},T}var x=b.prototype;return x.componentWillReceiveProps=function(k){var L=k.observedBits;this.observedBits=L??gg},x.componentDidMount=function(){this.context[h]&&this.context[h].on(this.onUpdate);var k=this.props.observedBits;this.observedBits=k??gg},x.componentWillUnmount=function(){this.context[h]&&this.context[h].off(this.onUpdate)},x.getValue=function(){return this.context[h]?this.context[h].get():o},x.render=function(){return jN(this.props.children)(this.state.value)},b}(z.Component);return v.contextTypes=(f={},f[h]=de.object,f),{Provider:m,Consumer:v}}var FN=z.createContext||HN,gR=function(i){var l=FN();return l.displayName=i,l},VN=gR("Router-History"),Ud=gR("Router"),Pd=function(o){$a(i,o),i.computeRootMatch=function(h){return{path:"/",url:"/",params:{},isExact:h==="/"}};function i(f){var h;return h=o.call(this,f)||this,h.state={location:f.history.location},h._isMounted=!1,h._pendingLocation=null,f.staticContext||(h.unlisten=f.history.listen(function(m){h._pendingLocation=m})),h}var l=i.prototype;return l.componentDidMount=function(){var h=this;this._isMounted=!0,this.unlisten&&this.unlisten(),this.props.staticContext||(this.unlisten=this.props.history.listen(function(m){h._isMounted&&h.setState({location:m})})),this._pendingLocation&&this.setState({location:this._pendingLocation})},l.componentWillUnmount=function(){this.unlisten&&(this.unlisten(),this._isMounted=!1,this._pendingLocation=null)},l.render=function(){return z.createElement(Ud.Provider,{value:{history:this.props.history,location:this.state.location,match:i.computeRootMatch(this.state.location.pathname),staticContext:this.props.staticContext}},z.createElement(VN.Provider,{children:this.props.children||null,value:this.props.history}))},i}(z.Component);process.env.NODE_ENV!=="production"&&(Pd.propTypes={children:de.node,history:de.object.isRequired,staticContext:de.object},Pd.prototype.componentDidUpdate=function(o){process.env.NODE_ENV!=="production"&&on(o.history===this.props.history,"You cannot change <Router history>")});var X3=function(o){$a(i,o);function i(){for(var f,h=arguments.length,m=new Array(h),v=0;v<h;v++)m[v]=arguments[v];return f=o.call.apply(o,[this].concat(m))||this,f.history=xN(f.props),f}var l=i.prototype;return l.render=function(){return z.createElement(Pd,{history:this.history,children:this.props.children})},i}(z.Component);process.env.NODE_ENV!=="production"&&(X3.propTypes={initialEntries:de.array,initialIndex:de.number,getUserConfirmation:de.func,keyLength:de.number,children:de.node},X3.prototype.componentDidMount=function(){process.env.NODE_ENV!=="production"&&on(!this.props.history,"<MemoryRouter> ignores the history prop. To use a custom history, use `import { Router }` instead of `import { MemoryRouter as Router }`.")});z.Component;if(process.env.NODE_ENV!=="production"){var BN=de.oneOfType([de.func,de.string]);de.bool,BN.isRequired}process.env.NODE_ENV!=="production"&&(de.bool,de.string,de.oneOfType([de.string,de.object]).isRequired);var Z3={},IN=1e4,J3=0;function YN(o,i){var l=""+i.end+i.strict+i.sensitive,f=Z3[l]||(Z3[l]={});if(f[o])return f[o];var h=[],m=zN(o,h,i),v={regexp:m,keys:h};return J3<IN&&(f[o]=v,J3++),v}function nb(o,i){i===void 0&&(i={}),(typeof i=="string"||Array.isArray(i))&&(i={path:i});var l=i,f=l.path,h=l.exact,m=h===void 0?!1:h,v=l.strict,S=v===void 0?!1:v,b=l.sensitive,x=b===void 0?!1:b,T=[].concat(f);return T.reduce(function(k,L){if(!L&&L!=="")return null;if(k)return k;var M=YN(L,{end:m,strict:S,sensitive:x}),P=M.regexp,F=M.keys,H=P.exec(o);if(!H)return null;var ce=H[0],ve=H.slice(1),ue=o===ce;return m&&!ue?null:{path:L,url:L==="/"&&ce===""?"/":ce,isExact:ue,params:F.reduce(function(pe,W,we){return pe[W.name]=ve[we],pe},{})}},null)}function fC(o){return z.Children.count(o)===0}function eT(o,i,l){var f=o(i);return process.env.NODE_ENV!=="production"&&on(f!==void 0,"You returned `undefined` from the `children` function of "+("<Route"+(l?' path="'+l+'"':"")+">, but you ")+"should have returned a React element or `null`"),f||null}var WS=function(o){$a(i,o);function i(){return o.apply(this,arguments)||this}var l=i.prototype;return l.render=function(){var h=this;return z.createElement(Ud.Consumer,null,function(m){m||(process.env.NODE_ENV!=="production"?Qi(!1,"You should not use <Route> outside a <Router>"):Qi(!1));var v=h.props.location||m.location,S=h.props.computedMatch?h.props.computedMatch:h.props.path?nb(v.pathname,h.props):m.match,b=mr({},m,{location:v,match:S}),x=h.props,T=x.children,k=x.component,L=x.render;return Array.isArray(T)&&fC(T)&&(T=null),z.createElement(Ud.Provider,{value:b},b.match?T?typeof T=="function"?process.env.NODE_ENV!=="production"?eT(T,b,h.props.path):T(b):T:k?z.createElement(k,b):L?L(b):null:typeof T=="function"?process.env.NODE_ENV!=="production"?eT(T,b,h.props.path):T(b):null)})},i}(z.Component);process.env.NODE_ENV!=="production"&&(WS.propTypes={children:de.oneOfType([de.func,de.node]),component:function(i,l){if(i[l]&&!Yg.isValidElementType(i[l]))return new Error("Invalid prop 'component' supplied to 'Route': the prop is not a valid React component")},exact:de.bool,location:de.object,path:de.oneOfType([de.string,de.arrayOf(de.string)]),render:de.func,sensitive:de.bool,strict:de.bool},WS.prototype.componentDidMount=function(){process.env.NODE_ENV!=="production"&&on(!(this.props.children&&!fC(this.props.children)&&this.props.component),"You should not use <Route component> and <Route children> in the same route; <Route component> will be ignored"),process.env.NODE_ENV!=="production"&&on(!(this.props.children&&!fC(this.props.children)&&this.props.render),"You should not use <Route render> and <Route children> in the same route; <Route render> will be ignored"),process.env.NODE_ENV!=="production"&&on(!(this.props.component&&this.props.render),"You should not use <Route component> and <Route render> in the same route; <Route render> will be ignored")},WS.prototype.componentDidUpdate=function(o){process.env.NODE_ENV!=="production"&&on(!(this.props.location&&!o.location),'<Route> elements should not change from uncontrolled to controlled (or vice versa). You initially used no "location" prop and then provided one on a subsequent render.'),process.env.NODE_ENV!=="production"&&on(!(!this.props.location&&o.location),'<Route> elements should not change from controlled to uncontrolled (or vice versa). You provided a "location" prop initially but omitted it on a subsequent render.')});function rb(o){return o.charAt(0)==="/"?o:"/"+o}function WN(o,i){return o?mr({},i,{pathname:rb(o)+i.pathname}):i}function qN(o,i){if(!o)return i;var l=rb(o);return i.pathname.indexOf(l)!==0?i:mr({},i,{pathname:i.pathname.substr(l.length)})}function tT(o){return typeof o=="string"?o:qi(o)}function qS(o){return function(){process.env.NODE_ENV!=="production"?Qi(!1,"You cannot %s with <StaticRouter>"):Qi(!1)}}function nT(){}var rT=function(o){$a(i,o);function i(){for(var f,h=arguments.length,m=new Array(h),v=0;v<h;v++)m[v]=arguments[v];return f=o.call.apply(o,[this].concat(m))||this,f.handlePush=function(S){return f.navigateTo(S,"PUSH")},f.handleReplace=function(S){return f.navigateTo(S,"REPLACE")},f.handleListen=function(){return nT},f.handleBlock=function(){return nT},f}var l=i.prototype;return l.navigateTo=function(h,m){var v=this.props,S=v.basename,b=S===void 0?"":S,x=v.context,T=x===void 0?{}:x;T.action=m,T.location=WN(b,ha(h)),T.url=tT(T.location)},l.render=function(){var h=this.props,m=h.basename,v=m===void 0?"":m,S=h.context,b=S===void 0?{}:S,x=h.location,T=x===void 0?"/":x,k=Vd(h,["basename","context","location"]),L={createHref:function(P){return rb(v+tT(P))},action:"POP",location:qN(v,ha(T)),push:this.handlePush,replace:this.handleReplace,go:qS(),goBack:qS(),goForward:qS(),listen:this.handleListen,block:this.handleBlock};return z.createElement(Pd,mr({},k,{history:L,staticContext:b}))},i}(z.Component);process.env.NODE_ENV!=="production"&&(rT.propTypes={basename:de.string,context:de.object,location:de.oneOfType([de.string,de.object])},rT.prototype.componentDidMount=function(){process.env.NODE_ENV!=="production"&&on(!this.props.history,"<StaticRouter> ignores the history prop. To use a custom history, use `import { Router }` instead of `import { StaticRouter as Router }`.")});var iT=function(o){$a(i,o);function i(){return o.apply(this,arguments)||this}var l=i.prototype;return l.render=function(){var h=this;return z.createElement(Ud.Consumer,null,function(m){m||(process.env.NODE_ENV!=="production"?Qi(!1,"You should not use <Switch> outside a <Router>"):Qi(!1));var v=h.props.location||m.location,S,b;return z.Children.forEach(h.props.children,function(x){if(b==null&&z.isValidElement(x)){S=x;var T=x.props.path||x.props.from;b=T?nb(v.pathname,mr({},x.props,{path:T})):m.match}}),b?z.cloneElement(S,{location:v,computedMatch:b}):null})},i}(z.Component);process.env.NODE_ENV!=="production"&&(iT.propTypes={children:de.node,location:de.object},iT.prototype.componentDidUpdate=function(o){process.env.NODE_ENV!=="production"&&on(!(this.props.location&&!o.location),'<Switch> elements should not change from uncontrolled to controlled (or vice versa). You initially used no "location" prop and then provided one on a subsequent render.'),process.env.NODE_ENV!=="production"&&on(!(!this.props.location&&o.location),'<Switch> elements should not change from controlled to uncontrolled (or vice versa). You provided a "location" prop initially but omitted it on a subsequent render.')});z.useContext;if(process.env.NODE_ENV!=="production"&&typeof window<"u"){var Eg=window,Sg="__react_router_build__",aT={cjs:"CommonJS",esm:"ES modules",umd:"UMD"};if(Eg[Sg]&&Eg[Sg]!=="esm"){var GN=aT[Eg[Sg]],QN=aT.esm;throw new Error("You are loading the "+QN+" build of React Router "+("on a page that is already running the "+GN+" ")+"build, so things won't work right.")}Eg[Sg]="esm"}var oT=function(o){$a(i,o);function i(){for(var f,h=arguments.length,m=new Array(h),v=0;v<h;v++)m[v]=arguments[v];return f=o.call.apply(o,[this].concat(m))||this,f.history=SN(f.props),f}var l=i.prototype;return l.render=function(){return z.createElement(Pd,{history:this.history,children:this.props.children})},i}(z.Component);process.env.NODE_ENV!=="production"&&(oT.propTypes={basename:de.string,children:de.node,forceRefresh:de.bool,getUserConfirmation:de.func,keyLength:de.number},oT.prototype.componentDidMount=function(){process.env.NODE_ENV!=="production"&&on(!this.props.history,"<BrowserRouter> ignores the history prop. To use a custom history, use `import { Router }` instead of `import { BrowserRouter as Router }`.")});var sT=function(o){$a(i,o);function i(){for(var f,h=arguments.length,m=new Array(h),v=0;v<h;v++)m[v]=arguments[v];return f=o.call.apply(o,[this].concat(m))||this,f.history=wN(f.props),f}var l=i.prototype;return l.render=function(){return z.createElement(Pd,{history:this.history,children:this.props.children})},i}(z.Component);process.env.NODE_ENV!=="production"&&(sT.propTypes={basename:de.string,children:de.node,getUserConfirmation:de.func,hashType:de.oneOf(["hashbang","noslash","slash"])},sT.prototype.componentDidMount=function(){process.env.NODE_ENV!=="production"&&on(!this.props.history,"<HashRouter> ignores the history prop. To use a custom history, use `import { Router }` instead of `import { HashRouter as Router }`.")});var dC=function(i,l){return typeof i=="function"?i(l):i},pC=function(i,l){return typeof i=="string"?ha(i,null,null,l):i},ib=function(i){return i},jd=z.forwardRef;typeof jd>"u"&&(jd=ib);function KN(o){return!!(o.metaKey||o.altKey||o.ctrlKey||o.shiftKey)}var ER=jd(function(o,i){var l=o.innerRef,f=o.navigate,h=o.onClick,m=Vd(o,["innerRef","navigate","onClick"]),v=m.target,S=mr({},m,{onClick:function(x){try{h&&h(x)}catch(T){throw x.preventDefault(),T}!x.defaultPrevented&&x.button===0&&(!v||v==="_self")&&!KN(x)&&(x.preventDefault(),f())}});return ib!==jd?S.ref=i||l:S.ref=l,z.createElement("a",S)});process.env.NODE_ENV!=="production"&&(ER.displayName="LinkAnchor");var zc=jd(function(o,i){var l=o.component,f=l===void 0?ER:l,h=o.replace,m=o.to,v=o.innerRef,S=Vd(o,["component","replace","to","innerRef"]);return z.createElement(Ud.Consumer,null,function(b){b||(process.env.NODE_ENV!=="production"?Qi(!1,"You should not use <Link> outside a <Router>"):Qi(!1));var x=b.history,T=pC(dC(m,b.location),b.location),k=T?x.createHref(T):"",L=mr({},S,{href:k,navigate:function(){var P=dC(m,b.location),F=qi(b.location)===qi(pC(P)),H=h||F?x.replace:x.push;H(P)}});return ib!==jd?L.ref=i||v:L.innerRef=v,z.createElement(f,L)})});if(process.env.NODE_ENV!=="production"){var XN=de.oneOfType([de.string,de.object,de.func]),ZN=de.oneOfType([de.string,de.func,de.shape({current:de.any})]);zc.displayName="Link",zc.propTypes={innerRef:ZN,onClick:de.func,replace:de.bool,target:de.string,to:XN.isRequired}}var SR=function(i){return i},Ug=z.forwardRef;typeof Ug>"u"&&(Ug=SR);function JN(){for(var o=arguments.length,i=new Array(o),l=0;l<o;l++)i[l]=arguments[l];return i.filter(function(f){return f}).join(" ")}var lT=Ug(function(o,i){var l=o["aria-current"],f=l===void 0?"page":l,h=o.activeClassName,m=h===void 0?"active":h,v=o.activeStyle,S=o.className,b=o.exact,x=o.isActive,T=o.location,k=o.sensitive,L=o.strict,M=o.style,P=o.to,F=o.innerRef,H=Vd(o,["aria-current","activeClassName","activeStyle","className","exact","isActive","location","sensitive","strict","style","to","innerRef"]);return z.createElement(Ud.Consumer,null,function(ce){ce||(process.env.NODE_ENV!=="production"?Qi(!1,"You should not use <NavLink> outside a <Router>"):Qi(!1));var ve=T||ce.location,ue=pC(dC(P,ve),ve),pe=ue.pathname,W=pe&&pe.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1"),we=W?nb(ve.pathname,{path:W,exact:b,sensitive:k,strict:L}):null,se=!!(x?x(we,ve):we),be=typeof S=="function"?S(se):S,Ge=typeof M=="function"?M(se):M;se&&(be=JN(be,m),Ge=mr({},Ge,v));var Be=mr({"aria-current":se&&f||null,className:be,style:Ge,to:ue},H);return SR!==Ug?Be.ref=i||F:Be.innerRef=F,z.createElement(zc,Be)})});if(process.env.NODE_ENV!=="production"){lT.displayName="NavLink";var eD=de.oneOf(["page","step","location","date","time","true","false"]);lT.propTypes=mr({},zc.propTypes,{"aria-current":eD,activeClassName:de.string,activeStyle:de.object,className:de.oneOfType([de.string,de.func]),exact:de.bool,isActive:de.func,location:de.object,sensitive:de.bool,strict:de.bool,style:de.oneOfType([de.object,de.func])})}const tD=te.forwardRef(({className:o,onClick:i=()=>{},name:l="",to:f="",params:h={},children:m,...v},S)=>{const b=VO(),x=Bd();if(!b)return null;let T="";const k={onClick:i,className:Mn(o,"humany-route-link"),to:T,innerRef:S,...v,ref:null};if(l){if(!(b.routes||[]).find(F=>F.name===l))return process.env.NODE_ENV!=="production"&&li.warn(`Unable to create route. No route named "${l}" exist.`),z.createElement(zc,{...k,onClick:F=>{i(F),F.preventDefault(),process.env.NODE_ENV!=="production"&&li.warn(`Unable to navigate. No route named "${l}" exist.`)}},m);const P=Object.keys(h).reduce((F,H)=>{const ce=h[H];if(Array.isArray(ce)){if(ce.length===0)return F;F[H]=ce.map(ve=>typeof ve=="string"?encodeURIComponent(ve):ve).join(",")}else F[H]=typeof ce=="string"?encodeURIComponent(ce):ce;return F},{});try{T=b.generate(l,P||{})}catch{return z.createElement(zc,{...k,ref:k.innerRef},m)}T&&b.settings.mode&&b.settings.mode===cC.browser&&T[0]!=="/"&&(T=`/${T}`)}else if(f&&b.history)T=b.history.createHref({hash:"",pathname:f,search:"",state:void 0});else return process.env.NODE_ENV!=="production"&&li.warn('Unable to generate path for route link. Either specify route name or use the "to" prop.'),null;if(b.settings&&b.settings.mode===cC.scopedHash){const L=x.get("$widget").name;T=fN(T,L)}return k.as?z.createElement(nD,{...k,as:k.as},m):z.createElement(zc,{...k,to:T},m)}),nD=_e.span``,ab=te.forwardRef(({className:o,disabled:i=!1,role:l="link",tabIndex:f=0,onClick:h=()=>{},onKeyDown:m=()=>{},title:v,as:S,href:b,children:x,target:T,routeName:k,params:L,...M},P)=>{const F={title:v,disabled:i,role:l,as:S,tabIndex:f,className:Mn(o,"humany-link",[!!i,"humany-disabled"]),onClick:H=>{if(H.persist(),i){H.preventDefault();return}h(H)},onKeyDown:H=>{if(H.persist(),i){H.key!=="Tab"&&H.preventDefault();return}m(H)}};return k?z.createElement(rD,{name:k,params:L,...F,...Eo(M),ref:P},x):z.createElement(iD,{href:b,target:T,...F,...Eo(M),ref:P},x)}),rD=_e(tD)`
|
|
481
|
-
${
|
|
239
|
+
${zs}
|
|
240
|
+
`,qn=o.forwardRef(({htmlParseInstruction:t=null,className:e,html:n,...r},s)=>{const i=he(),[a,c]=o.useState();return o.useEffect(()=>{const l=_s(i,n),h={...l,...t,transform:{...l.transform,...t==null?void 0:t.transform}},u=Ds(n,h);c(u)},[n,t]),o.createElement("div",{className:L(e,"humany-html"),..._(r),ref:s},a)}),ci=({faIcon:t,title:e,className:n="",role:r="presentation",...s})=>o.createElement("i",{className:L(n,`fa fa-${t}`),title:e,role:r,..._(s)}),li=o.forwardRef(({className:t="",autoFocus:e=!1,onFocusChange:n=()=>{},onEnter:r=()=>{},onEscape:s=()=>{},selectAllOnFocus:i,onChange:a=()=>{},disabled:c=!1,type:l,...h},u)=>{const[d,f]=o.useState(e),p=o.useRef();o.useImperativeHandle(u,()=>p.current),o.useEffect(()=>{var m;e&&((m=p==null?void 0:p.current)==null||m.focus())},[e,u,p]);const g=(m,b)=>{f(m),n&&n(m),i&&m&&b.target.select()},v={..._(h),disabled:c,autoFocus:e,type:l,onKeyDown:m=>{m.key==="Enter"&&d&&r(m),m.key==="Escape"&&d&&s(m)},onFocus:m=>g(!0,m),onBlur:m=>g(!1,m),onChange:m=>a(m.target.value||""),className:L(t,"humany-input"),"data-type":l};return l!=="textarea"?o.createElement("input",{...v,ref:p}):o.createElement("textarea",{...v,ref:p})}),Ft=o.forwardRef(({className:t,items:e,renderItem:n,renderLi:r=!1,...s},i)=>o.createElement("ul",{className:L(t,"humany-list"),"data-item-count":e.length,..._(s),ref:i},e.map((a,c,l)=>r?o.createElement("li",{className:"humany-list-item",key:a.id||c},n(a,c,l)):n(a,c,l)))),ui=o.forwardRef(({text:t,html:e,header:n,className:r,htmlParseInstruction:s,symbol:i,...a},c)=>o.createElement("div",{className:L(r,"humany-paragraph"),..._(a),ref:c},n?o.createElement(Dt,{variant:"h1"},i?o.createElement(xe,{symbol:i}):null,n):null,e?o.createElement(qn,{html:e,htmlParseInstruction:s}):null,t?o.createElement(Bt,null,t):null));o.forwardRef(({header:t,customHeader:e,text:n,html:r,className:s,children:i,symbol:a,items:c,renderItem:l,renderLi:h,ulProps:u,...d},f)=>o.createElement("div",{className:L(s,"humany-item-list"),"data-item-count":c.length,..._(d),ref:f},e||(t||n||r?o.createElement(ui,{symbol:a,header:t,text:n,html:r}):null),c.length?o.createElement(Ft,{items:c,renderItem:l,renderLi:h,...u}):null,i));var Wn=function(){};process.env.NODE_ENV!=="production"&&(Wn=function(t,e,n){var r=arguments.length;n=new Array(r>2?r-2:0);for(var s=2;s<r;s++)n[s-2]=arguments[s];if(e===void 0)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");if(e.length<10||/^[s\W]*$/.test(e))throw new Error("The warning format should be able to uniquely identify this warning. Please, use a more descriptive format than: "+e);if(!t){var i=0,a="Warning: "+e.replace(/%s/g,function(){return n[i++]});typeof console<"u"&&console.error(a);try{throw new Error(a)}catch{}}});var hi=Wn,di=hi;fi(di);function fi(t){return t&&t.__esModule?t:{default:t}}function Me(t){return t.charAt(0)==="/"}function it(t,e){for(var n=e,r=n+1,s=t.length;r<s;n+=1,r+=1)t[n]=t[r];t.pop()}function mi(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",n=t&&t.split("/")||[],r=e&&e.split("/")||[],s=t&&Me(t),i=e&&Me(e),a=s||i;if(t&&Me(t)?r=n:n.length&&(r.pop(),r=r.concat(n)),!r.length)return"/";var c=void 0;if(r.length){var l=r[r.length-1];c=l==="."||l===".."||l===""}else c=!1;for(var h=0,u=r.length;u>=0;u--){var d=r[u];d==="."?it(r,u):d===".."?(it(r,u),h++):h&&(it(r,u),h--)}if(!a)for(;h--;h)r.unshift("..");a&&r[0]!==""&&(!r[0]||!Me(r[0]))&&r.unshift("");var f=r.join("/");return c&&f.substr(-1)!=="/"&&(f+="/"),f}const pi=Object.freeze(Object.defineProperty({__proto__:null,default:mi},Symbol.toStringTag,{value:"Module"})),gi=zn(pi);var fn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};function He(t,e){if(t===e)return!0;if(t==null||e==null)return!1;if(Array.isArray(t))return Array.isArray(e)&&t.length===e.length&&t.every(function(l,h){return He(l,e[h])});var n=typeof t>"u"?"undefined":fn(t),r=typeof e>"u"?"undefined":fn(e);if(n!==r)return!1;if(n==="object"){var s=t.valueOf(),i=e.valueOf();if(s!==t||i!==e)return He(s,i);var a=Object.keys(t),c=Object.keys(e);return a.length!==c.length?!1:a.every(function(l){return He(t[l],e[l])})}return!1}const yi=Object.freeze(Object.defineProperty({__proto__:null,default:He},Symbol.toStringTag,{value:"Module"})),vi=zn(yi);var bi=gi;Zn(bi);var wi=vi;Zn(wi);function Zn(t){return t&&t.__esModule?t:{default:t}}var mt=(t=>(t.scopedHash="scopedHash",t.hash="hash",t.browser="browser",t.memory="memory",t))(mt||{});const Ci=(t,e)=>{const n=`humany-${e}=([^&?]+)&?`,r=new RegExp(n,"i"),s=t.match(r);return s&&s[1]||"/"};je(t=>{t.createCommand("routing",e=>n=>{const r={mode:n.mode};n.basePath&&(r.basePath=n.basePath),e.container.register("routingSettings",r)})});const xi=o.forwardRef(({className:t,onClick:e=()=>{},name:n="",to:r="",params:s={},children:i,...a},c)=>{const l=Ys(),h=he();if(!l)return null;let u="";const d={onClick:e,className:L(t,"humany-route-link"),to:u,innerRef:c,...a,ref:null};if(n){if(!(l.routes||[]).find(v=>v.name===n))return process.env.NODE_ENV!=="production"&&M.warn(`Unable to create route. No route named "${n}" exist.`),o.createElement(Ke.Link,{...d,onClick:v=>{e(v),v.preventDefault(),process.env.NODE_ENV!=="production"&&M.warn(`Unable to navigate. No route named "${n}" exist.`)}},i);const g=Object.keys(s).reduce((v,m)=>{const b=s[m];if(Array.isArray(b)){if(b.length===0)return v;v[m]=b.map(w=>typeof w=="string"?encodeURIComponent(w):w).join(",")}else v[m]=typeof b=="string"?encodeURIComponent(b):b;return v},{});try{u=l.generate(n,g||{})}catch{return o.createElement(Ke.Link,{...d,ref:d.innerRef},i)}u&&l.settings.mode&&l.settings.mode===mt.browser&&u[0]!=="/"&&(u=`/${u}`)}else if(r&&l.history)u=l.history.createHref({hash:"",pathname:r,search:"",state:void 0});else return process.env.NODE_ENV!=="production"&&M.warn('Unable to generate path for route link. Either specify route name or use the "to" prop.'),null;if(l.settings&&l.settings.mode===mt.scopedHash){const f=h.get("$widget").name;u=Ci(u,f)}return d.as?o.createElement(Ei,{...d,as:d.as},i):o.createElement(Ke.Link,{...d,to:u},i)}),Ei=y.span``,_t=o.forwardRef(({className:t,disabled:e=!1,role:n="link",tabIndex:r=0,onClick:s=()=>{},onKeyDown:i=()=>{},title:a,as:c,href:l,children:h,target:u,routeName:d,params:f,...p},g)=>{const v={title:a,disabled:e,role:n,as:c,tabIndex:r,className:L(t,"humany-link",[!!e,"humany-disabled"]),onClick:m=>{if(m.persist(),e){m.preventDefault();return}s(m)},onKeyDown:m=>{if(m.persist(),e){m.key!=="Tab"&&m.preventDefault();return}i(m)}};return d?o.createElement(ki,{name:d,params:f,...v,..._(p),ref:g},h):o.createElement($i,{href:l,target:u,...v,..._(p),ref:g},h)}),ki=y(xi)`
|
|
241
|
+
${t=>t.disabled?`
|
|
482
242
|
pointer-events: none;
|
|
483
243
|
opacity: .7;
|
|
484
244
|
`:"cursor: pointer;"}
|
|
485
|
-
|
|
486
|
-
${
|
|
245
|
+
`,$i=y.a`
|
|
246
|
+
${t=>t.disabled?`
|
|
487
247
|
pointer-events: none;
|
|
488
248
|
opacity: .7;
|
|
489
249
|
`:"cursor: pointer;"}
|
|
490
|
-
`,
|
|
250
|
+
`,Un=({visible:t,duration:e=500,children:n,onClick:r=()=>{},...s})=>{const i=o.useRef(),a=o.useCallback(c=>{c.target===i.current&&r(c)},[r]);return o.createElement(Xn.CSSTransition,{in:t,className:"humany-overlay-transition",classNames:"humany-overlay-transition",unmountOnExit:!0,timeout:e},o.createElement(Vt,null,o.createElement(Si,{className:"humany-overlay",duration:e,ref:i,onClick:a,...s},n)))},Si=y.div`
|
|
491
251
|
background: rgba(0, 0, 0, 0.6);
|
|
492
252
|
min-width: 100%;
|
|
493
253
|
min-height: 100%;
|
|
@@ -501,7 +261,7 @@ You might need to use a local HTTP server (instead of file://): https://reactjs.
|
|
|
501
261
|
align-items: center;
|
|
502
262
|
z-index: 7;
|
|
503
263
|
|
|
504
|
-
transition: ${
|
|
264
|
+
transition: ${t=>t.duration}ms;
|
|
505
265
|
opacity: 0;
|
|
506
266
|
|
|
507
267
|
&.humany-overlay-transition-enter {
|
|
@@ -517,11 +277,11 @@ You might need to use a local HTTP server (instead of file://): https://reactjs.
|
|
|
517
277
|
&.humany-overlay-transition-exit-done {
|
|
518
278
|
opacity: 0;
|
|
519
279
|
}
|
|
520
|
-
`,
|
|
280
|
+
`,Li=$.keyframes`
|
|
521
281
|
100% {
|
|
522
282
|
transform: rotate(360deg);
|
|
523
283
|
}
|
|
524
|
-
`,
|
|
284
|
+
`,Ni=$.keyframes`
|
|
525
285
|
0% {
|
|
526
286
|
stroke-dasharray: 1, 200;
|
|
527
287
|
stroke-dashoffset: 0;
|
|
@@ -534,8 +294,8 @@ You might need to use a local HTTP server (instead of file://): https://reactjs.
|
|
|
534
294
|
stroke-dasharray: 89, 200;
|
|
535
295
|
stroke-dashoffset: -124px;
|
|
536
296
|
}
|
|
537
|
-
`,
|
|
538
|
-
animation: ${
|
|
297
|
+
`,Ri=y.svg`
|
|
298
|
+
animation: ${Li} 2s linear infinite;
|
|
539
299
|
height: 100%;
|
|
540
300
|
transform-origin: center center;
|
|
541
301
|
width: 100%;
|
|
@@ -546,7 +306,7 @@ You might need to use a local HTTP server (instead of file://): https://reactjs.
|
|
|
546
306
|
right: 0;
|
|
547
307
|
margin: auto;
|
|
548
308
|
transition: 200ms ease-out opacity;
|
|
549
|
-
`,
|
|
309
|
+
`,Ai=y.div`
|
|
550
310
|
position: absolute;
|
|
551
311
|
top: 0;
|
|
552
312
|
bottom: 0;
|
|
@@ -554,7 +314,7 @@ You might need to use a local HTTP server (instead of file://): https://reactjs.
|
|
|
554
314
|
right: 0;
|
|
555
315
|
height: 100%;
|
|
556
316
|
width: 100%;
|
|
557
|
-
pointer-events: ${
|
|
317
|
+
pointer-events: ${t=>t["data-loading"]?"all":"none"};
|
|
558
318
|
display: flex;
|
|
559
319
|
flex-direction: column;
|
|
560
320
|
justify-content: center;
|
|
@@ -562,9 +322,9 @@ You might need to use a local HTTP server (instead of file://): https://reactjs.
|
|
|
562
322
|
box-sizing: border-box;
|
|
563
323
|
overflow: hidden;
|
|
564
324
|
svg {
|
|
565
|
-
opacity: ${
|
|
325
|
+
opacity: ${t=>t["data-loading"]?"1":"0"};
|
|
566
326
|
}
|
|
567
|
-
`,
|
|
327
|
+
`,Oi=y.div`
|
|
568
328
|
position: relative;
|
|
569
329
|
margin: 0 auto;
|
|
570
330
|
width: 100px;
|
|
@@ -573,76 +333,76 @@ You might need to use a local HTTP server (instead of file://): https://reactjs.
|
|
|
573
333
|
display: block;
|
|
574
334
|
padding-top: 100%;
|
|
575
335
|
}
|
|
576
|
-
`,
|
|
336
|
+
`,Mi=y.circle`
|
|
577
337
|
stroke-dasharray: 1, 200;
|
|
578
338
|
stroke-dashoffset: 0;
|
|
579
|
-
animation: ${
|
|
339
|
+
animation: ${Ni} 1.5s ease-in-out infinite;
|
|
580
340
|
stroke-linecap: round;
|
|
581
|
-
stroke: ${
|
|
341
|
+
stroke: ${t=>{var e;return(e=t.theme.colors)==null?void 0:e.primary}};
|
|
582
342
|
stroke-width: 2px;
|
|
583
|
-
`,
|
|
343
|
+
`,Pi=({className:t,loading:e=!1})=>o.createElement(Ai,{className:L("humany-loader",t),"data-loading":e},o.createElement(Oi,{className:"humany-spinner"},o.createElement(Ri,{viewBox:"25 25 50 50"},o.createElement(Mi,{cx:"50",cy:"50",r:"20",fill:"none","stroke-width":"2","stroke-miterlimit":"10"})))),Ti=({zoomState:t,image:e,changeZoom:n,...r})=>{var g;const s=o.useRef(null),[i,a]=o.useState(!1),[c,l]=o.useState(!1),{width:h,height:u,...d}=r.style||{},f=o.useCallback(()=>{const v=s.current;if(v){const m=window.innerWidth/v.naturalWidth,b=window.innerHeight/v.naturalHeight,w=Math.min(m,b);return b>=1&&m>=1?1:w}return 1},[i,e.src]),p=o.useMemo(()=>{const v=s.current;if(v&&i){if(!c){l(!0);const m=f();n(m)}return v.naturalWidth>=v.naturalHeight?[`${t*v.naturalWidth}px`,"auto"]:["auto",`${t*v.naturalHeight}px`]}return null},[t,s,i,e.src]);return o.useEffect(()=>(a(!1),function(){l(!1)}),[e.src]),o.createElement(o.Fragment,null,o.createElement(zi,{loading:!i}),o.createElement(Hi,{onLoad:()=>{a(!0)},ref:s,imageSize:p,draggable:"false",...r,alt:((g=r.alt)==null?void 0:g.toString())||"",style:d,src:e.src,loaded:i}),o.createElement(Bi,null))},zi=y(Pi)`
|
|
584
344
|
svg circle {
|
|
585
345
|
stroke: #ffffff;
|
|
586
346
|
}
|
|
587
|
-
`,
|
|
347
|
+
`,Hi=y.img`
|
|
588
348
|
transform: none;
|
|
589
349
|
|
|
590
|
-
${
|
|
591
|
-
width: ${
|
|
592
|
-
height: ${
|
|
350
|
+
${t=>t.imageSize&&$.css`
|
|
351
|
+
width: ${t.imageSize[0]};
|
|
352
|
+
height: ${t.imageSize[1]};
|
|
593
353
|
display: inline-block;
|
|
594
354
|
`}
|
|
595
355
|
vertical-align: middle;
|
|
596
356
|
position: relative;
|
|
597
|
-
${
|
|
598
|
-
`,
|
|
357
|
+
${t=>!t.loaded&&"display:none;"}
|
|
358
|
+
`,Bi=y.div`
|
|
599
359
|
height: 100%;
|
|
600
360
|
display: inline-block;
|
|
601
361
|
vertical-align: middle;
|
|
602
|
-
`,
|
|
362
|
+
`,Ii=()=>{const t=o.useRef(),[e,n]=o.useState(!0),r=o.useCallback(()=>(e||n(!0),t.current&&clearTimeout(t.current),t.current=setTimeout(()=>{n(!1)},3e3),()=>{t.current&&clearTimeout(t.current)}),[e,t]);return[e,r]},Vi=({attrs:t,htmlBody:e})=>{var Wt;const n=ge("Escape"),r=ge("ArrowLeft"),s=ge("ArrowRight"),[i,a]=o.useState(1),[c,l]=o.useState({top:0,left:0,x:0,y:0}),[h,u]=o.useState(!1),[d,f]=Ii(),[p,g]=o.useState(null),[v,m]=o.useState(null),b=o.useRef(null),w=o.useRef(null),E=o.useRef(null),C=o.useRef(null),k=o.useRef(null),[I,P]=o.useState(null);o.useEffect(()=>{n&&g(null)},[n]),o.useEffect(()=>{a(1)},[p]),o.useEffect(()=>{var X,Se;if(p===null||w.current===null)return;const x=w.current.firstElementChild,N=(X=E.current)==null?void 0:X.querySelector(".nav-left"),B=(Se=E.current)==null?void 0:Se.querySelector(".nav-right");if(v==="Right")$e&&B?B.focus():oe&&N&&N.focus();else if(v==="Left")oe&&N?N.focus():$e&&B&&B.focus();else{if(!x)return;x.focus()}},[p,w,E,v]),o.useEffect(()=>{if(r){if(oe)return ke()}else if(s&&$e)return Y()},[r,s]),o.useEffect(()=>{var N,B;const x=((B=(N=k.current)==null?void 0:N.style)==null?void 0:B.float)||"";(x==="left"||x==="right")&&P(x)},[]);const S=o.useMemo(()=>{const x=document.createElement("div");x.innerHTML=e||"";const N=x.getElementsByTagName("img");return Array.from(N).reduce((X,Se)=>{const Zt=Se.getAttribute("src");if(Zt){const Yn={src:Zt};X.push(Yn)}return X},[])},[e]),T=o.useCallback(()=>{const{src:x}=t;if(x){const N=S.findIndex((B,X)=>B.src===x);g(N)}},[S,t]),Z=o.useCallback(x=>{g(null)},[]),O=o.useCallback(x=>{a(x?i+i*.25:i-i*.25)},[a,i]),R=o.useCallback(()=>{if(p!==null){const{src:x}=S[p];x&&window.open(x,"_self")}},[S,p]),U=o.useCallback(x=>{const N=C.current;N&&(l({top:N.scrollTop,left:N.scrollLeft,x:x.clientX,y:x.clientY}),u(!0))},[C]),de=o.useCallback(x=>{const N=C.current;if(N&&h){const B=x.clientX-c.x,X=x.clientY-c.y;N.scrollTop=c.top-X,N.scrollLeft=c.left-B}},[h,c]),Ee=x=>{x.preventDefault(),u(!1)},ie=o.useMemo(()=>{if(C.current){const x=C.current.getElementsByTagName("img");if(x&&x.length){const N=x[0];return N.width>window.innerWidth||N.height>window.innerHeight}}return!1},[C,i]),ke=()=>{p!==null&&(m("Left"),g(p-1))},Y=()=>{p!==null&&(m("Right"),g(p+1))},oe=p!==null&&p>0&&S.length>1,$e=p!==null&&S.length-1>p;return o.createElement(o.Fragment,null,o.createElement(Un,{visible:p!==null,onClick:Z},o.createElement(Ui,{onMouseDown:()=>f(),onMouseMove:()=>f(),onTouchStart:()=>f(),onKeyDown:()=>f()},o.createElement(Ki,{show:d.toString()},o.createElement(ji,{ref:w,buttons:[{id:"download",onClick:R,icon:"download",ariaLabel:"Download image"},{id:"lightbox-close",onClick:()=>g(null),icon:"lightbox-close",ariaLabel:"Close"}]})),o.createElement(Ji,{scrolling:h.toString(),isDraggable:ie.toString(),ref:C,onMouseMove:de,onMouseDown:U,onMouseUp:Ee},p!==null&&o.createElement(Ti,{changeZoom:x=>{a(x)},zoomState:i,...t,style:{...t.style||{},float:"none"},image:S[p]})),o.createElement(Wi,{ref:E,show:d.toString(),buttons:[{id:"previous",onClick:ke,icon:"caret-left",circle:!0,show:oe,className:"nav-left",ariaLabel:"Navigate to previous image"},{id:"next",onClick:Y,icon:"caret-right",circle:!0,show:$e,className:"nav-right",ariaLabel:"Navigate to next image"}]}),o.createElement(Gi,{show:d.toString()},o.createElement(qi,{buttons:[{id:"zoom-out",onClick:()=>O(!1),icon:"zoom-out",ariaLabel:"Zoom out"},{id:"zoom-in",onClick:()=>O(!0),icon:"zoom-in",ariaLabel:"Zoom in"}]}),o.createElement(Zi,{variant:"span"},Math.trunc(i*100),"%")))),o.createElement(Di,{ref:b,onClick:T,onKeyDown:x=>{x.key==="Enter"&&(x.preventDefault(),T())},alignment:I,tabIndex:0},o.createElement(Qi,{...t,alt:((Wt=t.alt)==null?void 0:Wt.toString())||"",ref:k})))},jt=o.forwardRef(({show:t="true",buttons:e,className:n},r)=>o.createElement(Fi,{ref:r,show:t,className:L("humany-button-set",n)},e.map(({id:s,circle:i=!1,show:a=!0,ariaLabel:c,onClick:l,icon:h,className:u},d)=>o.createElement(_i,{key:s+d.toString(),circle:i.toString(),onClick:l,tabIndex:a?void 0:-1,show:a.toString(),icon:h,className:u,"aria-label":c},o.createElement(xe,{size:24,symbol:{type:"Svg",content:h}}))))),Kn=y.div`
|
|
603
363
|
transition: opacity 0.3s ease 0s;
|
|
604
364
|
z-index: 5;
|
|
605
|
-
${
|
|
365
|
+
${t=>t.show==="true"?"opacity: 1;":$.css`
|
|
606
366
|
opacity: 0;
|
|
607
367
|
pointer-events: none;
|
|
608
368
|
`}
|
|
609
|
-
`,
|
|
369
|
+
`,Di=y(_t)`
|
|
610
370
|
display: inline-block !important;
|
|
611
371
|
|
|
612
|
-
${
|
|
613
|
-
float: ${
|
|
372
|
+
${t=>(t.alignment==="right"||t.alignment==="left")&&$.css`
|
|
373
|
+
float: ${t.alignment};
|
|
614
374
|
`}
|
|
615
|
-
`,
|
|
375
|
+
`,Fi=y(Kn)`
|
|
616
376
|
position: fixed;
|
|
617
377
|
display: flex;
|
|
618
|
-
gap: ${
|
|
619
|
-
`,
|
|
620
|
-
width: ${
|
|
621
|
-
height: ${
|
|
378
|
+
gap: ${t=>{var e;return(e=t.theme.sizes)==null?void 0:e.normal}};
|
|
379
|
+
`,pt="39px",_i=y(re)`
|
|
380
|
+
width: ${pt};
|
|
381
|
+
height: ${pt};
|
|
622
382
|
display: flex;
|
|
623
383
|
justify-content: center;
|
|
624
384
|
align-items: center;
|
|
625
385
|
|
|
626
|
-
${
|
|
386
|
+
${t=>t.icon==="caret-left"&&$.css`
|
|
627
387
|
svg {
|
|
628
388
|
position: relative;
|
|
629
389
|
left: -2px;
|
|
630
390
|
}
|
|
631
391
|
`}
|
|
632
392
|
|
|
633
|
-
${
|
|
393
|
+
${t=>{var e;return t.circle==="true"?$.css`
|
|
634
394
|
background-color: #ffffff;
|
|
635
395
|
border-radius: 50%;
|
|
636
396
|
|
|
637
397
|
svg {
|
|
638
398
|
path,
|
|
639
399
|
line {
|
|
640
|
-
stroke: ${(
|
|
400
|
+
stroke: ${(e=t.theme.colors)==null?void 0:e.text};
|
|
641
401
|
}
|
|
642
402
|
}
|
|
643
403
|
|
|
644
404
|
&:focus-visible {
|
|
645
|
-
${
|
|
405
|
+
${W(t)}
|
|
646
406
|
outline-color: #ffffff;
|
|
647
407
|
background-color: transparent;
|
|
648
408
|
|
|
@@ -653,7 +413,7 @@ You might need to use a local HTTP server (instead of file://): https://reactjs.
|
|
|
653
413
|
}
|
|
654
414
|
}
|
|
655
415
|
}
|
|
656
|
-
|
|
416
|
+
`:$.css`
|
|
657
417
|
svg {
|
|
658
418
|
path,
|
|
659
419
|
line {
|
|
@@ -664,70 +424,70 @@ You might need to use a local HTTP server (instead of file://): https://reactjs.
|
|
|
664
424
|
outline-color: #ffffff;
|
|
665
425
|
}
|
|
666
426
|
&:focus-visible {
|
|
667
|
-
${
|
|
427
|
+
${W(t)}
|
|
668
428
|
}
|
|
669
429
|
`}}
|
|
670
430
|
|
|
671
|
-
${
|
|
431
|
+
${t=>t.show==="true"?$.css`
|
|
672
432
|
opacity: 0.8;
|
|
673
433
|
transition: opacity 0.3s ease 0s;
|
|
674
434
|
&:hover {
|
|
675
435
|
opacity: 1;
|
|
676
436
|
}
|
|
677
|
-
|
|
437
|
+
`:$.css`
|
|
678
438
|
opacity: 0;
|
|
679
439
|
pointer-events: none;
|
|
680
440
|
`}
|
|
681
|
-
`,
|
|
682
|
-
top: ${
|
|
683
|
-
right: ${
|
|
684
|
-
`,
|
|
685
|
-
bottom: ${
|
|
441
|
+
`,ji=y(jt)`
|
|
442
|
+
top: ${t=>{var e;return(e=t.theme.sizes)==null?void 0:e.large}};
|
|
443
|
+
right: ${t=>{var e;return(e=t.theme.sizes)==null?void 0:e.large}};
|
|
444
|
+
`,qi=y(jt)`
|
|
445
|
+
bottom: ${t=>{var e;return(e=t.theme.sizes)==null?void 0:e.large}};
|
|
686
446
|
width: 100%;
|
|
687
447
|
align-items: center;
|
|
688
448
|
justify-content: center;
|
|
689
|
-
`,
|
|
449
|
+
`,Wi=y(jt)`
|
|
690
450
|
display: block;
|
|
691
451
|
button {
|
|
692
452
|
position: fixed;
|
|
693
|
-
top: calc(50% - calc(${
|
|
453
|
+
top: calc(50% - calc(${pt} / 2));
|
|
694
454
|
&:first-child {
|
|
695
|
-
left: ${
|
|
455
|
+
left: ${t=>{var e;return(e=t.theme.sizes)==null?void 0:e.large}};
|
|
696
456
|
}
|
|
697
457
|
&:last-child {
|
|
698
|
-
right: ${
|
|
458
|
+
right: ${t=>{var e;return(e=t.theme.sizes)==null?void 0:e.large}};
|
|
699
459
|
}
|
|
700
460
|
}
|
|
701
|
-
`,
|
|
461
|
+
`,Zi=y(Dt)`
|
|
702
462
|
position: fixed;
|
|
703
|
-
bottom: ${
|
|
704
|
-
right: ${
|
|
463
|
+
bottom: ${t=>{var e;return(e=t.theme.sizes)==null?void 0:e.large}};
|
|
464
|
+
right: ${t=>{var e;return(e=t.theme.sizes)==null?void 0:e.large}};
|
|
705
465
|
color: #ffffff;
|
|
706
|
-
font-size: ${
|
|
707
|
-
font-family: ${
|
|
708
|
-
`,
|
|
466
|
+
font-size: ${t=>{var e;return(e=t.theme.fonts)==null?void 0:e.medium}};
|
|
467
|
+
font-family: ${t=>{var e;return(e=t.theme.fonts)==null?void 0:e.type}};
|
|
468
|
+
`,Gn=y(Kn)`
|
|
709
469
|
position: absolute;
|
|
710
470
|
width: 100vw;
|
|
711
471
|
height: 88px;
|
|
712
472
|
left: 0px;
|
|
713
473
|
z-index: 5;
|
|
714
|
-
`,
|
|
474
|
+
`,Ui=y.div`
|
|
715
475
|
width: 100%;
|
|
716
|
-
`,
|
|
476
|
+
`,Ki=y(Gn)`
|
|
717
477
|
top: 0px;
|
|
718
478
|
background-image: linear-gradient(
|
|
719
479
|
to bottom,
|
|
720
480
|
rgb(34, 34, 34, 0.8),
|
|
721
481
|
rgba(34, 34, 34, 0)
|
|
722
482
|
);
|
|
723
|
-
`,
|
|
483
|
+
`,Gi=y(Gn)`
|
|
724
484
|
bottom: 0px;
|
|
725
485
|
background-image: linear-gradient(
|
|
726
486
|
to top,
|
|
727
487
|
rgb(34, 34, 34, 0.8),
|
|
728
488
|
rgba(34, 34, 34, 0)
|
|
729
489
|
);
|
|
730
|
-
`,
|
|
490
|
+
`,Ji=y.div`
|
|
731
491
|
width: 100%;
|
|
732
492
|
height: 100vh;
|
|
733
493
|
overflow: auto;
|
|
@@ -735,115 +495,115 @@ You might need to use a local HTTP server (instead of file://): https://reactjs.
|
|
|
735
495
|
vertical-align: middle;
|
|
736
496
|
white-space: nowrap;
|
|
737
497
|
justify-content: center;
|
|
738
|
-
cursor: ${
|
|
739
|
-
`,
|
|
498
|
+
cursor: ${t=>t.isDraggable==="true"?t.scrolling==="true"?"grabbing":"grab":"auto"};
|
|
499
|
+
`,Qi=y.img`
|
|
740
500
|
cursor: pointer;
|
|
741
|
-
`,
|
|
742
|
-
font-family: ${
|
|
743
|
-
font-size: ${
|
|
501
|
+
`,Yi=o.forwardRef(({className:t,children:e,trigger:n,onOverlayClick:r=()=>{},close:s=!1,...i},a)=>{const[c,l]=ti(),[h,u]=Xs(!0),d=o.useRef(),f=o.useRef(Ce()),p=ge("Escape");o.useEffect(()=>{(p||s)&&l(!1)},[p,s]),o.useEffect(()=>{c&&d.current&&d.current.focus()},[c,d.current]),Ht("router:changed",()=>{l(!1)});const g=o.useCallback(m=>{l(!1),r(m)},[r,l]);o.useImperativeHandle(a,()=>({close(){l(!1)}}));const v=o.useCallback(()=>Vn(f.current,()=>{l(!1)}),[f.current]);return o.createElement(o.Fragment,null,o.createElement(Un,{visible:c,onClick:g},o.createElement(Xi,{className:L(t,"humany-modal",`humany-modal-${f.current}`),css:h,tabIndex:-1,...i,ref:u},o.createElement(_n,{onClick:()=>l(!1),tabIndex:0,ref:d},o.createElement(xe,{symbol:{type:"Svg",content:"close"}})),e)),o.cloneElement(n,{onClick:m=>{l(),v()}}))}),Xi=y.div`
|
|
502
|
+
font-family: ${t=>{var e;return(e=t.theme.fonts)==null?void 0:e.type}};
|
|
503
|
+
font-size: ${t=>{var e;return(e=t.theme.fonts)==null?void 0:e.normal}};
|
|
744
504
|
position: relative;
|
|
745
505
|
max-width: 50%;
|
|
746
506
|
min-width: 200px;
|
|
747
|
-
padding: ${
|
|
748
|
-
${
|
|
749
|
-
${
|
|
507
|
+
padding: ${t=>{var e;return(e=t.theme.sizes)==null?void 0:e.medium}};
|
|
508
|
+
${t=>Dn(t)}
|
|
509
|
+
${t=>t.css&&t.css}
|
|
750
510
|
outline: none;
|
|
751
|
-
`;
|
|
511
|
+
`;y(Yi)`
|
|
752
512
|
display: block;
|
|
753
513
|
|
|
754
514
|
span {
|
|
755
515
|
display: block;
|
|
756
|
-
margin: 0 0 ${
|
|
516
|
+
margin: 0 0 ${t=>{var e;return(e=t.theme.sizes)==null?void 0:e.normal}};
|
|
757
517
|
|
|
758
518
|
&:first-of-type:not(:only-of-type) {
|
|
759
519
|
font-weight: 700;
|
|
760
|
-
margin: 0 0 ${
|
|
520
|
+
margin: 0 0 ${t=>{var e;return(e=t.theme.sizes)==null?void 0:e.small}};
|
|
761
521
|
}
|
|
762
522
|
}
|
|
763
|
-
`;
|
|
523
|
+
`;y(re)`
|
|
764
524
|
display: inline-block;
|
|
765
525
|
min-width: 50px;
|
|
766
|
-
${
|
|
767
|
-
${
|
|
526
|
+
${t=>{var e,n;return`padding: ${(e=t.theme.sizes)==null?void 0:e.small} ${(n=t.theme.sizes)==null?void 0:n.normal};`}}
|
|
527
|
+
${t=>t.theme.borderRadius&&`border-radius: ${t.theme.borderRadius};`}
|
|
768
528
|
color: #FFFFFF;
|
|
769
|
-
background-color: ${
|
|
770
|
-
border: 1px solid ${
|
|
529
|
+
background-color: ${t=>{var e;return(e=t.theme.colors)==null?void 0:e.primary}};
|
|
530
|
+
border: 1px solid ${t=>{var e;return(e=t.theme.colors)==null?void 0:e.primary}};
|
|
771
531
|
|
|
772
|
-
margin: 0 ${
|
|
532
|
+
margin: 0 ${t=>{var e;return(e=t.theme.sizes)==null?void 0:e.small}} 0 0;
|
|
773
533
|
|
|
774
534
|
&:focus {
|
|
775
535
|
background-color: transparent;
|
|
776
536
|
}
|
|
777
537
|
|
|
778
538
|
&:focus-visible {
|
|
779
|
-
${
|
|
539
|
+
${W}
|
|
780
540
|
}
|
|
781
|
-
`;
|
|
541
|
+
`;y(re)`
|
|
782
542
|
display: inline-block;
|
|
783
543
|
min-width: 50px;
|
|
784
|
-
${
|
|
785
|
-
${
|
|
544
|
+
${t=>{var e,n;return`padding: ${(e=t.theme.sizes)==null?void 0:e.small} ${(n=t.theme.sizes)==null?void 0:n.normal};`}}
|
|
545
|
+
${t=>t.theme.borderRadius&&`border-radius: ${t.theme.borderRadius};`}
|
|
786
546
|
background-color: transparent;
|
|
787
|
-
color: ${
|
|
788
|
-
border: 1px solid ${
|
|
547
|
+
color: ${t=>{var e;return(e=t.theme.colors)==null?void 0:e.text}};
|
|
548
|
+
border: 1px solid ${t=>{var e;return(e=t.theme.colors)==null?void 0:e.text}};
|
|
789
549
|
|
|
790
550
|
&:focus-visible {
|
|
791
|
-
${
|
|
551
|
+
${W};
|
|
792
552
|
}
|
|
793
|
-
`;
|
|
553
|
+
`;y.div`
|
|
794
554
|
display: flex;
|
|
795
555
|
flex-wrap: wrap;
|
|
796
|
-
`;
|
|
797
|
-
${
|
|
556
|
+
`;y.div`
|
|
557
|
+
${t=>zt(t)("h2",$.css`
|
|
798
558
|
padding: 0;
|
|
799
559
|
margin: 0;
|
|
800
560
|
color: gray;
|
|
801
561
|
font-size: 7em;
|
|
802
562
|
`)}
|
|
803
|
-
`;
|
|
804
|
-
margin-left: ${
|
|
563
|
+
`;y.div`
|
|
564
|
+
margin-left: ${t=>{var e;return(e=t.theme.sizes)==null?void 0:e.medium}};
|
|
805
565
|
|
|
806
|
-
${
|
|
566
|
+
${t=>{var e;return zt(t)("h3",$.css`
|
|
807
567
|
text-transform: uppercase;
|
|
808
|
-
font-size: ${(
|
|
568
|
+
font-size: ${(e=t.theme.fonts)==null?void 0:e.normal};
|
|
809
569
|
`)}}
|
|
810
570
|
|
|
811
571
|
a {
|
|
812
|
-
color: ${
|
|
813
|
-
font-size: ${
|
|
572
|
+
color: ${t=>{var e;return(e=t.theme.colors)==null?void 0:e.link}};
|
|
573
|
+
font-size: ${t=>{var e;return(e=t.theme.fonts)==null?void 0:e.small}};
|
|
814
574
|
}
|
|
815
|
-
`;
|
|
816
|
-
margin-top: ${
|
|
575
|
+
`;y.div`
|
|
576
|
+
margin-top: ${t=>{var e;return(e=t.theme.sizes)==null?void 0:e.medium}};
|
|
817
577
|
min-width: 100%;
|
|
818
578
|
|
|
819
579
|
span {
|
|
820
580
|
font-weight: bold;
|
|
821
581
|
}
|
|
822
|
-
`;
|
|
582
|
+
`;o.forwardRef(({className:t,description:e,text:n,children:r,...s},i)=>o.createElement(_t,{className:L(t,"humany-text-link"),...s,ref:i},r,o.createElement(Bt,null,n),e?o.createElement(qn,{html:e,className:"humany-description"}):null));y.div`
|
|
823
583
|
display: flex;
|
|
824
584
|
align-items: center;
|
|
825
|
-
`;
|
|
585
|
+
`;y.div`
|
|
826
586
|
color: #ffffff;
|
|
827
587
|
background: #161616;
|
|
828
|
-
border-radius: ${
|
|
829
|
-
padding: calc(${
|
|
830
|
-
font-size: ${
|
|
831
|
-
font-family: ${
|
|
588
|
+
border-radius: ${t=>t.theme.borderRadius};
|
|
589
|
+
padding: calc(${t=>{var e;return(e=t.theme.sizes)==null?void 0:e.small}} * 2);
|
|
590
|
+
font-size: ${t=>{var e;return(e=t.theme.fonts)==null?void 0:e.normal}};
|
|
591
|
+
font-family: ${t=>{var e;return(e=t.theme.fonts)==null?void 0:e.type}};
|
|
832
592
|
position: absolute;
|
|
833
593
|
z-index: 10;
|
|
834
594
|
|
|
835
595
|
a {
|
|
836
|
-
color: ${
|
|
596
|
+
color: ${t=>t.color?t.color:"inherit"};
|
|
837
597
|
text-decoration: none;
|
|
838
598
|
}
|
|
839
599
|
|
|
840
600
|
i,
|
|
841
601
|
svg {
|
|
842
|
-
margin-right: ${
|
|
602
|
+
margin-right: ${t=>{var e;return(e=t.theme.sizes)==null?void 0:e.small}};
|
|
843
603
|
}
|
|
844
604
|
|
|
845
|
-
${
|
|
846
|
-
`;const
|
|
605
|
+
${t=>{let e="";return t.y>0?e+=`top: calc(2px + ${t.y||"0"}px);`:e+="bottom: 2px;",t.x>0?e+=`right: calc(2px + ${t.x||"0"}px);`:e+="left: 2px;",e}};
|
|
606
|
+
`;const eo=o.forwardRef(({className:t,children:e,onClick:n=()=>{},widgetName:r,activationOptions:s,...i},a)=>{const c=he(),l=()=>{const{implementation:d}=c.get("$widget");return d.widgets.get(r)};o.useEffect(()=>{const d=l();return d==null||d.activate(s).then(()=>d.invoke("attach")),()=>{d==null||d.deactivate()}},[r]);const h=d=>{const f=l(),p=d.currentTarget;if(f){const g=()=>{f.invoke("renderState").then(v=>v===be.open?f.invoke("close"):f.invoke("open")).then(()=>{f.events.subscribeOnce("widget:area-rendered",(v,m)=>{c.get("widgetDOMElement")&&f.events.dispatch("widget:modal-opened",{name:f.name,ref:p})})})};f.state===bn.Deactivated?f.activate(s).then(()=>f.invoke("attach")).then(g):g()}},u=d=>{d.key==="Enter"&&(d.preventDefault(),h(d))};return o.createElement(_t,{className:L(t,"humany-widget-link"),onKeyDown:u,onClick:d=>{n(d),h(d)},...i,ref:a},e)});o.forwardRef(({portalId:t="humany-widget-overlay-portal",className:e,children:n},r)=>{const s=he(),i=o.useMemo(()=>{if(!s)return null;const a=s.get("widgetDOMElement");return!a||!a.childElementCount?null:a.children[0]},[s]);return i?o.createElement(Vt,{elementId:t,parent:i},o.createElement(to,{className:L("humany-widget-overlay-outlet",e),ref:r},n)):null});const to=y.div`
|
|
847
607
|
background-color: #ffffff;
|
|
848
608
|
position: absolute;
|
|
849
609
|
top: 0;
|
|
@@ -853,19 +613,19 @@ You might need to use a local HTTP server (instead of file://): https://reactjs.
|
|
|
853
613
|
z-index: 10;
|
|
854
614
|
width: 100%;
|
|
855
615
|
height: 100%;
|
|
856
|
-
`;
|
|
857
|
-
background-color: ${
|
|
616
|
+
`;y.div`
|
|
617
|
+
background-color: ${t=>{var e;return(e=t.theme.colors)==null?void 0:e.warning}};
|
|
858
618
|
color: #ffffff;
|
|
859
|
-
padding: ${
|
|
860
|
-
margin: 0 0 ${
|
|
861
|
-
border-radius: ${
|
|
619
|
+
padding: ${t=>{var e;return(e=t.theme.sizes)==null?void 0:e.normal}} ${t=>{var e;return(e=t.theme.sizes)==null?void 0:e.medium}};
|
|
620
|
+
margin: 0 0 ${t=>{var e;return(e=t.theme.sizes)==null?void 0:e.normal}} 0;
|
|
621
|
+
border-radius: ${t=>t.theme.borderRadius};
|
|
862
622
|
|
|
863
|
-
${
|
|
864
|
-
margin: 0 0 ${(
|
|
865
|
-
font-size: ${(
|
|
623
|
+
${t=>{var e,n;return zt(t)("h3",$.css`
|
|
624
|
+
margin: 0 0 ${(e=t.theme.sizes)==null?void 0:e.normal} 0;
|
|
625
|
+
font-size: ${(n=t.theme.fonts)==null?void 0:n.normal};
|
|
866
626
|
`)}}
|
|
867
|
-
`;
|
|
868
|
-
${
|
|
627
|
+
`;y(Ft)`
|
|
628
|
+
${jn}
|
|
869
629
|
li {
|
|
870
630
|
font-weight: 300;
|
|
871
631
|
}
|
|
@@ -873,17 +633,17 @@ You might need to use a local HTTP server (instead of file://): https://reactjs.
|
|
|
873
633
|
> li {
|
|
874
634
|
white-space: normal;
|
|
875
635
|
}
|
|
876
|
-
`;
|
|
636
|
+
`;o.createContext(()=>{});y.div`
|
|
877
637
|
textarea:focus-visible,
|
|
878
638
|
input:focus-visible,
|
|
879
639
|
select:focus-visible {
|
|
880
|
-
${
|
|
640
|
+
${W}
|
|
881
641
|
}
|
|
882
642
|
button:focus-visible {
|
|
883
|
-
${
|
|
643
|
+
${W}
|
|
884
644
|
background-color: transparent;
|
|
885
645
|
}
|
|
886
|
-
`;
|
|
646
|
+
`;y.label`
|
|
887
647
|
display: block;
|
|
888
648
|
position: relative;
|
|
889
649
|
padding-left: 35px;
|
|
@@ -903,8 +663,8 @@ You might need to use a local HTTP server (instead of file://): https://reactjs.
|
|
|
903
663
|
|
|
904
664
|
&:checked {
|
|
905
665
|
~ .check {
|
|
906
|
-
background-color: ${
|
|
907
|
-
border: ${
|
|
666
|
+
background-color: ${t=>{var e;return(e=t.theme.colors)==null?void 0:e.primary}};
|
|
667
|
+
border: ${t=>t.theme.inputBorder};
|
|
908
668
|
|
|
909
669
|
&:after {
|
|
910
670
|
display: block;
|
|
@@ -914,7 +674,7 @@ You might need to use a local HTTP server (instead of file://): https://reactjs.
|
|
|
914
674
|
|
|
915
675
|
&:focus-visible {
|
|
916
676
|
~ .check {
|
|
917
|
-
${
|
|
677
|
+
${W}
|
|
918
678
|
}
|
|
919
679
|
}
|
|
920
680
|
}
|
|
@@ -924,14 +684,14 @@ You might need to use a local HTTP server (instead of file://): https://reactjs.
|
|
|
924
684
|
position: absolute;
|
|
925
685
|
display: none;
|
|
926
686
|
}
|
|
927
|
-
`;
|
|
687
|
+
`;y.span`
|
|
928
688
|
position: absolute;
|
|
929
689
|
top: 0;
|
|
930
690
|
left: 0;
|
|
931
691
|
height: 18px;
|
|
932
692
|
width: 18px;
|
|
933
693
|
background-color: #ffffff;
|
|
934
|
-
border: ${
|
|
694
|
+
border: ${t=>t.theme.inputBorder};
|
|
935
695
|
border-radius: 3px;
|
|
936
696
|
|
|
937
697
|
&:after {
|
|
@@ -947,56 +707,56 @@ You might need to use a local HTTP server (instead of file://): https://reactjs.
|
|
|
947
707
|
&& {
|
|
948
708
|
box-sizing: content-box;
|
|
949
709
|
}
|
|
950
|
-
`;const
|
|
951
|
-
${
|
|
710
|
+
`;const no=({isRequired:t})=>t?o.createElement(oo,null,"*"):null,Jn=({title:t,required:e,children:n,error:r,elementId:s="",description:i="",className:a="",ui:{component:c,error:l}={}})=>{const h=o.createElement(no,{isRequired:e});return o.createElement(ro,{className:L(a,"humany-form-component"),"data-type":c,"data-error":r},s.length?o.createElement("label",{htmlFor:s,className:"humany-form-component-title"},t,h):o.createElement(io,{className:"humany-form-component-title"},t,h),n,l&&o.createElement(ao,{id:`${s}_error`},o.createElement(xe,{size:19,symbol:{type:"Svg",content:"alert"}}),o.createElement("span",null,l)),i&&o.createElement(so,{className:"humany-form-component-description"},i))},ro=y.div`
|
|
711
|
+
${t=>t["data-type"]==="AntiSpam"&&"display: none;"}
|
|
952
712
|
> label {
|
|
953
713
|
display: block;
|
|
954
|
-
font-size: ${
|
|
714
|
+
font-size: ${t=>{var e;return(e=t.theme.fonts)==null?void 0:e.normal}};
|
|
955
715
|
margin: 0 0 10px 0;
|
|
956
716
|
font-weight: normal;
|
|
957
717
|
}
|
|
958
|
-
${
|
|
718
|
+
${t=>{var e;return t["data-error"]&&$.css`
|
|
959
719
|
> input,
|
|
960
720
|
> textarea,
|
|
961
721
|
> select {
|
|
962
|
-
border-color: ${(
|
|
722
|
+
border-color: ${(e=t.theme.colors)==null?void 0:e.warning};
|
|
963
723
|
}
|
|
964
724
|
`}}
|
|
965
725
|
&:not(:last-child) {
|
|
966
|
-
margin: 0 0 ${
|
|
726
|
+
margin: 0 0 ${t=>{var e;return(e=t.theme.sizes)==null?void 0:e.medium}} 0;
|
|
967
727
|
}
|
|
968
728
|
label {
|
|
969
|
-
color: ${
|
|
729
|
+
color: ${t=>{var e;return(e=t.theme.colors)==null?void 0:e.text}};
|
|
970
730
|
}
|
|
971
|
-
`,
|
|
972
|
-
margin: ${
|
|
731
|
+
`,so=y(It)`
|
|
732
|
+
margin: ${t=>{var e;return(e=t.theme.sizes)==null?void 0:e.normal}} 0 0 0;
|
|
973
733
|
display: block;
|
|
974
734
|
font-weight: 300;
|
|
975
|
-
`,
|
|
735
|
+
`,io=y(It)`
|
|
976
736
|
display: block;
|
|
977
737
|
font-size: 18px;
|
|
978
738
|
margin: 0 0 10px 0;
|
|
979
|
-
`,
|
|
739
|
+
`,oo=y.strong`
|
|
980
740
|
margin: 0 0 0 5px;
|
|
981
741
|
display: inline-block;
|
|
982
|
-
color: ${
|
|
983
|
-
`,
|
|
742
|
+
color: ${t=>{var e;return(e=t.theme.colors)==null?void 0:e.warning}};
|
|
743
|
+
`,ao=y.div`
|
|
984
744
|
&& {
|
|
985
|
-
margin: ${
|
|
745
|
+
margin: ${t=>{var e;return(e=t.theme.sizes)==null?void 0:e.normal}} 0 0 0;
|
|
986
746
|
}
|
|
987
|
-
color: ${
|
|
747
|
+
color: ${t=>{var e;return(e=t.theme.colors)==null?void 0:e.warning}};
|
|
988
748
|
display: flex;
|
|
989
749
|
align-items: center;
|
|
990
750
|
font-weight: 300;
|
|
991
751
|
|
|
992
752
|
svg {
|
|
993
|
-
margin-right: ${
|
|
753
|
+
margin-right: ${t=>{var e;return(e=t.theme.sizes)==null?void 0:e.small}};
|
|
994
754
|
|
|
995
755
|
circle {
|
|
996
|
-
color: ${
|
|
756
|
+
color: ${t=>{var e;return(e=t.theme.colors)==null?void 0:e.warning}};
|
|
997
757
|
}
|
|
998
758
|
}
|
|
999
|
-
`;
|
|
759
|
+
`;y(Jn)`
|
|
1000
760
|
font-weight: 300;
|
|
1001
761
|
|
|
1002
762
|
input {
|
|
@@ -1006,31 +766,31 @@ You might need to use a local HTTP server (instead of file://): https://reactjs.
|
|
|
1006
766
|
}
|
|
1007
767
|
a {
|
|
1008
768
|
text-decoration: none;
|
|
1009
|
-
color: ${
|
|
769
|
+
color: ${t=>{var e;return(e=t.theme.colors)==null?void 0:e.link}};
|
|
1010
770
|
}
|
|
1011
771
|
label {
|
|
1012
772
|
display: inline;
|
|
1013
|
-
margin-right: ${
|
|
773
|
+
margin-right: ${t=>{var e;return(e=t.theme.sizes)==null?void 0:e.normal}};
|
|
1014
774
|
}
|
|
1015
|
-
`;const
|
|
1016
|
-
border: ${
|
|
1017
|
-
border-radius: ${
|
|
1018
|
-
padding: ${(
|
|
775
|
+
`;const qt=t=>{var e,n,r;return $.css`
|
|
776
|
+
border: ${t.theme.inputBorder};
|
|
777
|
+
border-radius: ${t.theme.borderRadius};
|
|
778
|
+
padding: ${(e=t.theme.sizes)==null?void 0:e.normal};
|
|
1019
779
|
width: 100%;
|
|
1020
780
|
font-size: 16px;
|
|
1021
781
|
box-sizing: border-box;
|
|
1022
782
|
&:focus {
|
|
1023
|
-
border-color: ${(
|
|
783
|
+
border-color: ${(n=t.theme.colors)==null?void 0:n.primary};
|
|
1024
784
|
}
|
|
1025
|
-
${
|
|
1026
|
-
`};
|
|
1027
|
-
${
|
|
1028
|
-
${
|
|
785
|
+
${t["data-focused"]?`border-color: ${(r=t.theme.colors)==null?void 0:r.primary}`:""}
|
|
786
|
+
`};y(li)`
|
|
787
|
+
${qt}
|
|
788
|
+
${t=>t["data-type"]==="textarea"&&$.css`
|
|
1029
789
|
resize: vertical;
|
|
1030
790
|
min-height: 100px;
|
|
1031
791
|
`}
|
|
1032
|
-
`;
|
|
1033
|
-
${
|
|
792
|
+
`;y(Ft)`
|
|
793
|
+
${t=>jn(t)}
|
|
1034
794
|
li {
|
|
1035
795
|
display: flex;
|
|
1036
796
|
align-items: center;
|
|
@@ -1044,8 +804,8 @@ You might need to use a local HTTP server (instead of file://): https://reactjs.
|
|
|
1044
804
|
label {
|
|
1045
805
|
cursor: pointer;
|
|
1046
806
|
}
|
|
1047
|
-
`;
|
|
1048
|
-
margin-top: ${
|
|
807
|
+
`;y.div`
|
|
808
|
+
margin-top: ${t=>{var e;return(e=t.theme.sizes)==null?void 0:e.normal}};
|
|
1049
809
|
display: flex;
|
|
1050
810
|
flex-direction: row;
|
|
1051
811
|
span {
|
|
@@ -1054,19 +814,19 @@ You might need to use a local HTTP server (instead of file://): https://reactjs.
|
|
|
1054
814
|
margin: 0 5px;
|
|
1055
815
|
font-size: 1.5em;
|
|
1056
816
|
}
|
|
1057
|
-
`;
|
|
1058
|
-
${
|
|
1059
|
-
font-family: ${
|
|
817
|
+
`;y.select`
|
|
818
|
+
${t=>qt(t)}
|
|
819
|
+
font-family: ${t=>{var e;return(e=t.theme.fonts)==null?void 0:e.type}};
|
|
1060
820
|
|
|
1061
821
|
option {
|
|
1062
822
|
font-weight: 300;
|
|
1063
|
-
font-size: ${
|
|
823
|
+
font-size: ${t=>{var e;return(e=t.theme.fonts)==null?void 0:e.normal}};
|
|
1064
824
|
}
|
|
1065
|
-
`;
|
|
1066
|
-
padding: ${
|
|
1067
|
-
border: ${
|
|
1068
|
-
border-radius: ${
|
|
1069
|
-
`;
|
|
825
|
+
`;y.div`
|
|
826
|
+
padding: ${t=>{var e;return(e=t.theme.sizes)==null?void 0:e.normal}};
|
|
827
|
+
border: ${t=>t.theme.inputBorder};
|
|
828
|
+
border-radius: ${t=>t.theme.borderRadius};
|
|
829
|
+
`;y.div`
|
|
1070
830
|
display: flex;
|
|
1071
831
|
flex-direction: row;
|
|
1072
832
|
width: 100%;
|
|
@@ -1074,74 +834,74 @@ You might need to use a local HTTP server (instead of file://): https://reactjs.
|
|
|
1074
834
|
overflow: hidden;
|
|
1075
835
|
text-overflow: ellipsis;
|
|
1076
836
|
white-space: nowrap;
|
|
1077
|
-
margin-bottom: ${
|
|
1078
|
-
`;
|
|
837
|
+
margin-bottom: ${t=>{var e;return(e=t.theme.sizes)==null?void 0:e.normal}};
|
|
838
|
+
`;y.div`
|
|
1079
839
|
display: flex;
|
|
1080
840
|
flex-direction: row;
|
|
1081
841
|
width: 100%;
|
|
1082
842
|
justify-content: space-between;
|
|
1083
|
-
`;
|
|
843
|
+
`;y.p`
|
|
1084
844
|
margin: 0;
|
|
1085
845
|
line-height: 2em;
|
|
1086
|
-
border: ${
|
|
846
|
+
border: ${t=>t.theme.inputBorder};
|
|
1087
847
|
&:hover {
|
|
1088
848
|
background-color: rgba(0, 0, 0, 0.1);
|
|
1089
849
|
}
|
|
1090
|
-
${
|
|
1091
|
-
${
|
|
1092
|
-
background-color: ${(
|
|
850
|
+
${t=>{var e;return t["data-current"]&&`border-color: ${(e=t.theme.colors)==null?void 0:e.link};`}}
|
|
851
|
+
${t=>{var e,n;return t["data-selected"]&&`
|
|
852
|
+
background-color: ${(e=t.theme.colors)==null?void 0:e.link};
|
|
1093
853
|
color: #FFF;
|
|
1094
|
-
border-color: ${(
|
|
854
|
+
border-color: ${(n=t.theme.colors)==null?void 0:n.link}
|
|
1095
855
|
`}}
|
|
1096
|
-
`;
|
|
856
|
+
`;y(re)`
|
|
1097
857
|
flex: 1 0 0;
|
|
1098
858
|
text-align: center;
|
|
1099
859
|
margin-top: 5px;
|
|
1100
860
|
font-weight: bold;
|
|
1101
861
|
text-decoration: none;
|
|
1102
862
|
border-radius: 0;
|
|
1103
|
-
${
|
|
863
|
+
${t=>t.disabled&&`
|
|
1104
864
|
pointer-events: none;
|
|
1105
865
|
opacity: .5;
|
|
1106
866
|
`}
|
|
1107
867
|
&:first-of-type > .humany-date-picker-week-item-date {
|
|
1108
|
-
border-top-left-radius: ${
|
|
1109
|
-
border-bottom-left-radius: ${
|
|
868
|
+
border-top-left-radius: ${t=>t.theme.borderRadius};
|
|
869
|
+
border-bottom-left-radius: ${t=>t.theme.borderRadius};
|
|
1110
870
|
}
|
|
1111
871
|
&:last-of-type > .humany-date-picker-week-item-date {
|
|
1112
|
-
border-top-right-radius: ${
|
|
1113
|
-
border-bottom-right-radius: ${
|
|
872
|
+
border-top-right-radius: ${t=>t.theme.borderRadius};
|
|
873
|
+
border-bottom-right-radius: ${t=>t.theme.borderRadius};
|
|
1114
874
|
}
|
|
1115
|
-
`;
|
|
875
|
+
`;y.p`
|
|
1116
876
|
margin-bottom: 5px;
|
|
1117
|
-
`;
|
|
877
|
+
`;y(re)`
|
|
1118
878
|
flex: 1 0 auto;
|
|
1119
879
|
align-self: flex-end;
|
|
1120
880
|
text-align: right;
|
|
1121
|
-
`;
|
|
881
|
+
`;y(re)`
|
|
1122
882
|
flex: 1 0 auto;
|
|
1123
883
|
align-self: flex-start;
|
|
1124
884
|
text-align: left;
|
|
1125
|
-
`;
|
|
1126
|
-
${
|
|
1127
|
-
font-family: ${
|
|
885
|
+
`;y.select`
|
|
886
|
+
${t=>qt(t)}
|
|
887
|
+
font-family: ${t=>{var e;return(e=t.theme.fonts)==null?void 0:e.type}};
|
|
1128
888
|
|
|
1129
889
|
option {
|
|
1130
890
|
font-weight: 300;
|
|
1131
|
-
font-size: ${
|
|
891
|
+
font-size: ${t=>{var e;return(e=t.theme.fonts)==null?void 0:e.normal}};
|
|
1132
892
|
}
|
|
1133
|
-
`;
|
|
893
|
+
`;y.fieldset`
|
|
1134
894
|
border: none;
|
|
1135
895
|
margin: 0;
|
|
1136
896
|
padding: 0;
|
|
1137
897
|
white-space: normal;
|
|
1138
898
|
legend {
|
|
1139
899
|
display: block;
|
|
1140
|
-
font-size: ${
|
|
900
|
+
font-size: ${t=>{var e;return(e=t.theme.fonts)==null?void 0:e.medium}};
|
|
1141
901
|
line-height: 29px;
|
|
1142
902
|
margin: 0 0 15px 0;
|
|
1143
903
|
font-weight: normal;
|
|
1144
|
-
color: ${
|
|
904
|
+
color: ${t=>{var e;return(e=t.theme.colors)==null?void 0:e.text}};
|
|
1145
905
|
}
|
|
1146
906
|
> span {
|
|
1147
907
|
margin: 15px 0 0 0;
|
|
@@ -1150,21 +910,21 @@ You might need to use a local HTTP server (instead of file://): https://reactjs.
|
|
|
1150
910
|
&:not(:last-child) {
|
|
1151
911
|
margin: 0 0 15px 0;
|
|
1152
912
|
}
|
|
1153
|
-
${
|
|
913
|
+
${t=>{var e;return t["data-type"]==="Name"&&t["data-multiline-form"]&&$.css`
|
|
1154
914
|
> div {
|
|
1155
915
|
display: grid;
|
|
1156
916
|
grid-template-columns: repeat(2, 1fr);
|
|
1157
|
-
grid-gap: ${(
|
|
917
|
+
grid-gap: ${(e=t.theme.sizes)==null?void 0:e.medium};
|
|
1158
918
|
div {
|
|
1159
919
|
margin: 0;
|
|
1160
920
|
}
|
|
1161
921
|
}
|
|
1162
922
|
`}}
|
|
1163
|
-
${
|
|
923
|
+
${t=>{var e;return t["data-type"]==="Address"&&t["data-multiline-form"]&&$.css`
|
|
1164
924
|
> div {
|
|
1165
925
|
display: grid;
|
|
1166
926
|
grid-template-columns: repeat(8, 1fr);
|
|
1167
|
-
grid-gap: ${(
|
|
927
|
+
grid-gap: ${(e=t.theme.sizes)==null?void 0:e.medium};
|
|
1168
928
|
div {
|
|
1169
929
|
margin: 0;
|
|
1170
930
|
&:nth-child(1) {
|
|
@@ -1182,12 +942,12 @@ You might need to use a local HTTP server (instead of file://): https://reactjs.
|
|
|
1182
942
|
}
|
|
1183
943
|
}
|
|
1184
944
|
`}}
|
|
1185
|
-
`;const
|
|
945
|
+
`;const co=1e7,ot={fileName:null,fileSize:null,fileType:null,error:null},lo=t=>!(t>co);class uo extends o.Component{constructor(){super(...arguments),this.state=ot,this.handleFileLoad=e=>{const n=this.reader.result;this.props.prompt(n,{fileName:this.state.fileName})},this.handleFileChange=e=>{const n=this.input.files[0];if(n){if(!lo(n.size)){const r=this.props.componentInstanceProps?this.props.componentInstanceProps.fileSizeErrorLabel:"Attached file exceeds maximum file size.";this.setState({...ot,error:r}),this.input.value=null,this.props.prompt("",{fileName:""});return}this.setState({...ot,fileName:n.name,fileSize:n.size,fileType:n.type},()=>{this.reader.readAsDataURL(n)})}}}componentDidMount(){this.reader=new FileReader,this.reader.addEventListener("load",this.handleFileLoad,!1)}componentWillUnmount(){this.reader.removeEventListener("load",this.handleFileLoad)}render(){const{id:e,required:n,disabled:r,accessibility:s={},className:i="",title:a="",placeholder:c="",value:l="",...h}=this.props,u=this.state.fileName?o.createElement(It,null,this.state.fileName):this.props.componentInstanceProps&&this.props.componentInstanceProps.fileUploadHeader?o.createElement("em",null,this.props.componentInstanceProps.fileUploadHeader):null;return o.createElement(ho,{elementId:e,title:a,required:n,className:L(i,"humany-form-component-file"),id:e,disabled:r,value:l,...h},this.state.error&&o.createElement(mo,{className:"humany-file-error"},this.state.error),o.createElement(fo,{id:e,type:"file",placeholder:c,"aria-label":c,disabled:r,ref:d=>{this.input=d},onChange:this.handleFileChange,...s}),o.createElement(po,{htmlFor:e,role:"button"},a),u)}}uo.contextTypes={texts:()=>null};const ho=y(Jn)`
|
|
1186
946
|
font-weight: 300;
|
|
1187
947
|
em {
|
|
1188
|
-
color: ${
|
|
948
|
+
color: ${t=>{var e;return(e=t.theme.colors)==null?void 0:e.text}};
|
|
1189
949
|
}
|
|
1190
|
-
`,
|
|
950
|
+
`,fo=y.input`
|
|
1191
951
|
width: 0px;
|
|
1192
952
|
height: 0.1px;
|
|
1193
953
|
opacity: 0;
|
|
@@ -1196,22 +956,22 @@ You might need to use a local HTTP server (instead of file://): https://reactjs.
|
|
|
1196
956
|
z-index: -1;
|
|
1197
957
|
|
|
1198
958
|
&:focus-visible + label {
|
|
1199
|
-
${
|
|
959
|
+
${W}
|
|
1200
960
|
background-color: transparent;
|
|
1201
961
|
}
|
|
1202
|
-
`,
|
|
1203
|
-
color: ${
|
|
1204
|
-
padding-bottom: ${
|
|
1205
|
-
`,
|
|
1206
|
-
${
|
|
962
|
+
`,mo=y.div`
|
|
963
|
+
color: ${t=>{var e;return(e=t.theme.colors)==null?void 0:e.warning}};
|
|
964
|
+
padding-bottom: ${t=>{var e;return(e=t.theme.sizes)==null?void 0:e.normal}};
|
|
965
|
+
`,po=y.label`
|
|
966
|
+
${Fn}
|
|
1207
967
|
&& {
|
|
1208
968
|
display: inline-block;
|
|
1209
|
-
margin: 0 ${
|
|
969
|
+
margin: 0 ${t=>{var e;return(e=t.theme.sizes)==null?void 0:e.medium}} 0 0;
|
|
1210
970
|
color: #ffffff;
|
|
1211
971
|
}
|
|
1212
|
-
background-color: ${
|
|
972
|
+
background-color: ${t=>{var e;return(e=t.theme.colors)==null?void 0:e.primary}};
|
|
1213
973
|
min-width: 100px;
|
|
1214
|
-
`;
|
|
974
|
+
`;y.div`
|
|
1215
975
|
display: flex;
|
|
1216
976
|
align-items: center;
|
|
1217
977
|
flex-flow: row nowrap;
|
|
@@ -1220,7 +980,7 @@ You might need to use a local HTTP server (instead of file://): https://reactjs.
|
|
|
1220
980
|
z-index: 3;
|
|
1221
981
|
white-space: nowrap;
|
|
1222
982
|
width: 100%;
|
|
1223
|
-
padding-left: ${
|
|
983
|
+
padding-left: ${t=>{var e;return(e=t.theme.sizes)==null?void 0:e.normal}};
|
|
1224
984
|
pointer-events: none;
|
|
1225
985
|
color: rgba(0, 0, 0, 0.4);
|
|
1226
986
|
}
|
|
@@ -1230,7 +990,7 @@ You might need to use a local HTTP server (instead of file://): https://reactjs.
|
|
|
1230
990
|
margin-left: -100%;
|
|
1231
991
|
text-indent: 50px;
|
|
1232
992
|
}
|
|
1233
|
-
`;
|
|
993
|
+
`;y.label`
|
|
1234
994
|
display: block;
|
|
1235
995
|
position: relative;
|
|
1236
996
|
padding-left: 35px;
|
|
@@ -1249,7 +1009,7 @@ You might need to use a local HTTP server (instead of file://): https://reactjs.
|
|
|
1249
1009
|
&:checked {
|
|
1250
1010
|
~ .check {
|
|
1251
1011
|
background-color: #ffffff;
|
|
1252
|
-
border: 1px solid ${
|
|
1012
|
+
border: 1px solid ${t=>{var e;return(e=t.theme.colors)==null?void 0:e.primary}};
|
|
1253
1013
|
|
|
1254
1014
|
&:after {
|
|
1255
1015
|
display: block;
|
|
@@ -1259,18 +1019,18 @@ You might need to use a local HTTP server (instead of file://): https://reactjs.
|
|
|
1259
1019
|
|
|
1260
1020
|
&:focus-visible {
|
|
1261
1021
|
~ .check {
|
|
1262
|
-
${
|
|
1022
|
+
${W}
|
|
1263
1023
|
}
|
|
1264
1024
|
}
|
|
1265
1025
|
}
|
|
1266
|
-
`;
|
|
1026
|
+
`;y.span`
|
|
1267
1027
|
position: absolute;
|
|
1268
1028
|
top: 0;
|
|
1269
1029
|
left: 0;
|
|
1270
1030
|
height: 18px;
|
|
1271
1031
|
width: 18px;
|
|
1272
1032
|
border-radius: 50%;
|
|
1273
|
-
border: ${
|
|
1033
|
+
border: ${t=>t.theme.inputBorder};
|
|
1274
1034
|
|
|
1275
1035
|
&:after {
|
|
1276
1036
|
content: '';
|
|
@@ -1284,17 +1044,17 @@ You might need to use a local HTTP server (instead of file://): https://reactjs.
|
|
|
1284
1044
|
width: 8px;
|
|
1285
1045
|
height: 8px;
|
|
1286
1046
|
border-radius: 50%;
|
|
1287
|
-
background: ${
|
|
1047
|
+
background: ${t=>{var e;return(e=t.theme.colors)==null?void 0:e.primary}};
|
|
1288
1048
|
}
|
|
1289
1049
|
|
|
1290
1050
|
&& {
|
|
1291
1051
|
box-sizing: content-box;
|
|
1292
1052
|
}
|
|
1293
|
-
`;
|
|
1294
|
-
${
|
|
1053
|
+
`;y(re)`
|
|
1054
|
+
${Fn}
|
|
1295
1055
|
display: block;
|
|
1296
|
-
background-color: ${
|
|
1056
|
+
background-color: ${t=>{var e;return(e=t.theme.colors)==null?void 0:e.primary}};
|
|
1297
1057
|
color: #ffffff;
|
|
1298
1058
|
margin: 0 0 0 auto;
|
|
1299
1059
|
min-width: 100px;
|
|
1300
|
-
`;const $c=o=>{if(o){const{Type:i,Content:l}=o;if(i&&l)return{type:i,content:l}}},vC=o=>o.map(i=>{const l={id:i.Id.toString(),title:i.Name,symbol:$c(i.DefaultIcon),activeSymbol:i.ActiveIcon&&$c(i.ActiveIcon),description:i.Description||i.Attributes&&i.Attributes.description||"",matches:i.GuidesCount};return i.Children&&i.Children.length&&(l.items=vC(i.Children)),l}),cl=(o,i)=>o.filter(({Type:l})=>l===i).map(({Id:l,Title:f,Body:h})=>({id:l.toString(),title:f,body:h})),QS=o=>o.map(({Id:i,Title:l,DefaultIcon:f,ListNotices:h,Notices:m})=>({id:i.toString(),title:l,symbol:$c(f),defaultHeaderOptions:{visible:!!h.length},notifications:(h||[]).concat(m||[]).map(({Id:v,Title:S,Body:b,Type:x,Modified:T})=>({id:v.toString(),title:S,body:b,modified:T,expandable:x==="listNotice"}))})),KS=({Id:o,Title:i,DefaultIcon:l,Exits:[f],ExitType:h,ConfirmationText:m,ExpandFormAutomatically:v,Form:S,Description:b},x)=>{const{Adapter:T}=f||{Adapter:{}},{ClientName:k="",Settings:L={},CustomClientName:M=""}=T,P={id:o.toString(),title:i,description:b,symbol:$c(l),clientName:k==="custom.adapter"?M:k,expanded:!0,inline:!0,body:{}};if(k.indexOf("phone")>-1||k.indexOf("freetext")>-1){const{displayTextBeforeClick:F,textBeforeClick:H}=L;F==="true"&&(P.expanded=!1,P.title=H),k.indexOf("phone.text")>-1?P.body.phoneNumber=L.phoneNumber:P.body.freetext=L.freetext}return(k.indexOf("chat.popup")>-1||k.indexOf("link")>-1||k==="custom.adapter"&&h==="custom")&&(P.body=L,P.body.confirmationFallback=m),k.indexOf("ace")>-1&&(P.body=L),S&&S.HasValueComponents&&(x?P.body.form=xu.fromLegacyForm(o.toString(),S,x).get():P.body.form=xu.fromLegacyForm(o.toString(),S).get(),v||(P.expanded=P.inline=!1)),P},lv=(o=[])=>o.map(({Id:i,Title:l,TotalMatches:f,Symbol:h,DefaultIcon:m,ActiveIcon:v})=>({id:i.toString(),title:l,matches:f,symbol:$c(m||h),defaultIcon:$c(m),activeIcon:$c(v)})),XS=o=>o.map(({Id:i,Title:l,Tags:f,FirstPublishedDate:h,Modified:m})=>({id:i.toString(),title:l,tags:lv(f),published:h,modified:m})),GD=(o,i)=>{switch(o){case ps.MatchByCategory:case ps.Match:{const l={guides:[],matches:0,topNotifications:[],middleNotifications:[],bottomNotifications:[],notificationLists:[],tags:[],byCategory:[]},{Matches:f,TotalMatches:h,Notices:m,NoticeLists:v,Tags:S,ByCategory:b}=i;return l.guides=XS(f),l.matches=h,l.byCategory=(b||[]).map(({Id:x,Matches:T,TotalMatches:k})=>({id:x,guides:XS(T),matches:k})),l.tags=lv(S),l.notificationLists=QS(v||[]),l.topNotifications=cl(m||[],"noticeRowTop"),l.middleNotifications=cl(m||[],"noticeRowMiddle"),l.bottomNotifications=cl(m||[],"footerNotice"),l}case ps.Categories:{const{Children:l,GuidesCountTotal:f}=i;return{categories:vC(l||[]),matches:f}}case ps.Guide:{const{Id:l,Title:f,Body:h,Related:m,Options:v,ConnectionId:S,ContactMethods:b,EnableFeedback:x,HandoverExists:T,FirstPublishedDate:k,Modified:L,ModifiedByDisplayName:M,FirstPublishedByDisplayName:P,Categories:F,Tags:H,SeoMetaDescription:ce,SeoAllowIndex:ve,Perspectives:ue,PerspectiveKey:pe,Translations:W}=i,we=pe||Object.values(ue).find(be=>be===S)||ue.Default||null,se={guide:{id:l.toString(),title:f,body:h,modified:L,published:k,modifiedBy:M,publishedBy:P,connection:S,categories:F,hasHandover:T,allowFeedback:x,seoMetaDescription:ce,seoAllowIndex:ve,perspectives:ue,perspective:we,translations:Object.keys(W||{}).reduce((be,Ge)=>(be[Ge]=W[Ge].toString(),be),{})},related:XS(m||[]),dialog:[],contactMethods:(b||[]).map(be=>KS(be)),tags:lv(H)};return(v||[]).forEach(({CanAccess:be,Description:Ge,ConnectionId:Be,Properties:Ue})=>{if(!be)return;const et={id:l.toString(),title:Ge,connection:Be,connectionKey:Ue.ConnectionKey,type:Cg.default,parent:{id:l.toString(),title:f,tags:lv(H)}};if(Ue.Type==="Guide"||Ue.Type==="Link")switch(Ue.Id&&(et.id=Ue.Id.toString()),Ue.Uri&&(et.href=Ue.Uri),Ue.Target&&(et.target=Ue.Target),Ue.Type){case"Guide":et.type=Cg.guide;break;case"Link":et.type=Cg.link;break}se.dialog.push(et)}),se}case ps.Contacts:{const{Children:l,Matches:f,Notices:h,NoticeLists:m}=i;return{contactMethods:(f||[]).map(S=>KS(S)),categories:vC(l||[]),topNotifications:cl(h||[],"noticeRowTop"),middleNotifications:cl(h||[],"noticeRowMiddle"),bottomNotifications:cl(h||[],"footerNotice"),notificationLists:QS(m||[])}}case ps.ContactMethod:{const{ContactMethod:l}=i;return KS(l||{})}case ps.Tags:case ps.TagsOnGuides:return lv(i||[]);case ps.Notifications:{const{Notices:l,NoticeLists:f}=i;return{topNotifications:cl(l||[],"noticeRowTop"),middleNotifications:cl(l||[],"noticeRowMiddle"),bottomNotifications:cl(l||[],"footerNotice"),notificationLists:QS(f||[])}}default:return{}}};var TR=(o=>(o.Guide="guide",o.Guides="guides",o.GuidesByCategory="guides-by-category",o.RowNotifications="row-notices",o.NotificationLists="notification-lists",o.GuideCategories="guide-categories",o.ContactMethodCategories="contact-method-categories",o.ContactMethod="contact-method",o.ContactMethods="contact-methods",o.Tags="tags",o.TagsOnGuides="tagsonguides",o))(TR||{}),ps=(o=>(o.Match="match",o.Categories="categories",o.Guide="guide",o.Contacts="contacts",o.ContactMethod="contact-method",o.MatchByCategory="match-by-category",o.Tags="tags",o.TagsOnGuides="tagsonguides",o.Notifications="notifications",o))(ps||{});const uT=o=>{switch(o){case"guides":return"match";case"guides-by-category":return"match-by-category";case"guide":return"guide";case"guide-categories":return"categories";case"contact-method-categories":case"contact-methods":return"contacts";case"contact-method":return"contact-method";case"tags":return"tags";case"tagsonguides":return"tagsonguides";case"notification-lists":case"row-notices":return"notifications";default:throw"error"}},QD=async o=>{const{invoke:i}=o.get("$widget");return await i("renderState")===pv.hidden};class fv{constructor(i,l){this.container=i,this.matchingClient=l,this.queries=new Map,this.lastTake=0,this.getUnresolvedQueries=()=>{let f=0;return this.queries.forEach((h,m)=>{h.some(S=>!S.resolved)&&(f=1)}),f},this.events=i.get("$widget").events,this.events.subscribe("widget:settings-updated",()=>this.queries=new Map),this.events.subscribe("widget:render-state-changed",(f,{next:h,previous:m})=>{m===pv.hidden&&h===pv.open&&this.fetchAllUnresolvedQueries()})}static getInstance(i,l="dataClient"){return yv(this)(()=>i.getAsync(l).then(async f=>{let h=await i.getAsync("matchingClient");h||(h=await r3(i),i.registerAsync("matchingClient",()=>h));let m=f;return m||(m=new fv(i,h),i.registerAsync(l,()=>m)),m}))}fetch(i,l,f){return new Promise((h,m)=>{l.take&&(this.lastTake=+(l.take||0)),Q7(l);const v=uT(i);let S=this.queries.get(v)||[],b=S.find(x=>fg(x.params,l))||null;if(b&&(f!=null&&f.noCache)){const x=S.findIndex(T=>fg(T.params,l));S=[...S.slice(0,x),...S.slice(x+1)],b=null}if(b){const x=S.indexOf(b);if(b.resolved?(this.events.dispatch("data-client:fetched",{params:l,type:v,response:b.data,unresolvedQueries:this.getUnresolvedQueries()}),this.track(b.data,v,b.error),b.data&&b.error?m({error:b.error}):h(b.data)):b.resolvers.push({resolve:h,reject:m}),S.splice(x,1),S.push(b),this.queries.set(v,S),!b.loading&&!b.resolved)return this.runQuery(v,l)}else return S.push({params:l,resolved:!1,loading:!0,data:{},resolvers:[{resolve:h,reject:m}]}),this.queries.set(v,S),this.runQuery(v,l)}).then(h=>bC(h))}read(i,l){const{select:f}=l,h=uT(i);return(this.queries.get(h)||[]).reduce((S,b)=>{if(typeof f=="function"){const x=f(b.data);x&&S.push(x)}else S.push(b.data);return S},[])}feedback(i,l,f){return this.matchingClient.giveFeedback(i,l,f)}setLoadingStatus(i,l,f){const h=this.queries.get(i)||[],m=h.find(v=>fg(v.params,l));m&&(m.loading=f),this.queries.set(i,h)}async runQuery(i,l){const{searchPhrase:f="",categories:h="0",contactMethodCategoryId:m="0",contactMethodId:v="0",tagId:S=void 0,take:b=5,connection:x="",guideId:T,expandCategories:k="descendants",currentCategory:L,sorting:M="popularity-descending",guideIds:P=[]}=l,F=f.toString().trim();if(await QD(this.container))return Promise.resolve();switch(i){case"match":{const H=ce=>{const[ve,ue]=ce.split("-");return{type:new Map([["popularity","popularity"],["alphabetic","title"],["modified","lastModified"],["published","firstPublished"]]).get(ve),direction:ue}};return P.length?this.matchingClient.customRequest("guides","POST",{configuration:{ids:P,take:+b}}).then(ce=>ce&&this.handleResponse(ce,i,l)):this.matchingClient.match(F,{categories:h==="0"?[]:Array.isArray(h)?h:[+h],take:+b,tags:S,sorting:H(M),ids:P}).then(ce=>ce&&this.handleResponse(ce,i,l))}case"match-by-category":return this.matchingClient.match(F,{groupByCategory:!0,categories:h==="0"?[]:Array.isArray(h)?h:[+h],take:+b,tags:S}).then(H=>H&&this.handleResponse(H,i,l));case"guide":return this.matchingClient.getGuide(T,{connectionId:x}).then(H=>{H&&this.handleResponse(H,i,l)}).catch(H=>{const ce={message:"Something went wrong.",status:H.status||400};ce.status===404&&(ce.message="The guide could not be found."),this.handleResponse({},i,l,ce)});case"categories":return this.matchingClient.getCategories({phrase:F,expand:k,tags:S}).then(H=>H&&this.handleResponse(H,i,l));case"contacts":return T?this.matchingClient.contactMethods(+T,{phrase:F}).then(H=>H&&this.handleResponse(H,i,l)):this.matchingClient.contacts(+m,{phrase:F}).then(H=>H&&this.handleResponse(H,i,l));case"contact-method":return this.matchingClient.getContactMethod(+v,{guideId:T,currentCategory:L}).then(H=>H&&this.handleResponse(H,i,l));case"tags":return this.matchingClient.customRequest("tags","GET",{configuration:{take:999999,phrase:F,categories:h==="0"?[]:Array.isArray(h)?h:[+h]}}).then(H=>H&&this.handleResponse(H,i,l));case"tagsonguides":return this.matchingClient.customRequest("tagsonguides","GET",{configuration:{take:999999,phrase:F,categories:h==="0"?[]:Array.isArray(h)?h:[+h],tags:S}}).then(H=>H&&this.handleResponse(H,i,l));case"notifications":return this.matchingClient.customRequest("notices","GET",{configuration:{phrase:F,categories:h==="0"?[]:Array.isArray(h)?h:[+h]}}).then(H=>H&&this.handleResponse(H,i,l))}}handleResponse(i={},l,f,h){const m=this.queries.get(l)||[],v=m.find(S=>fg(S.params,f));if(v){const S=h||GD(l,i);this.track(S,l,h),v.resolvers.forEach(x=>{h?x.reject({error:S}):x.resolve(S)});const b=m.indexOf(v);b>-1&&m.splice(b,1),m.push({...v,error:h,resolvers:[],data:S,resolved:!0}),this.setLoadingStatus(l,f,!1),this.queries.set(l,m),h||this.events.dispatch("data-client:fetched",{type:l,params:f,response:S,unresolvedQueries:this.getUnresolvedQueries()})}}fetchAllUnresolvedQueries(){for(const[i,l]of this.queries)l.filter(f=>!f.resolved).forEach(f=>{this.runQuery(i,f.params)})}track(i={},l,f){const h=this.container.get("$widget");h&&!f?h.events.dispatch("tracking:service-client-response",{type:l,data:i}):h&&h.events.dispatch("tracking:service-client-error",{type:l,error:f})}static create(i){return i.getAsync("matchingClient").then(async l=>{if(l)return new fv(i,l);const f=await r3(i);return i.registerAsync("matchingClient",()=>f),new fv(i,f)})}getClient(){return this.matchingClient}}const cT="misc-behavior:hideBackValue",KD=async(o,i)=>{const l=(h,m)=>fv.getInstance(o).then(v=>v.fetch(TR.ContactMethodCategories,{}).then(S=>{if(S){const{categories:b=[],contactMethods:x=[]}=S;if(m===null)return m=b.length===0&&x.length===1,RC(h.container,cT,Wi.Functional).then(T=>T(m))}})),{events:f}=o.get("$widget");return f.subscribe("widget:render-state-changed",async(h,m)=>{if(h.target.state==="activated"&&m.next==="open"){const{hideBackOnSingleContactMethod:v}=i;let S;const b=o.get("$widget"),{name:x,implementation:T}=b;if(x.endsWith("_contact")?S=T.widgets.get(x.replace("_contact","")):x.endsWith("_contact-method")||(S=b),S){let k=null;const L=await kC(S.container,cT),P=(await S.container.getAsync("components")).components().ofType("widget-header").select();typeof L=="boolean"?k=L:v&&await l(S,k),(v||typeof k=="boolean")&&(k&&P.actions.dispatch("show-back",!1),P.actions.watch("show-back",(F,H)=>H(k&&F?!1:F)))}}}),[]},XD=o=>o.reduce((i,l)=>{if(i)return i;const[f]=Array.from((l==null?void 0:l.getElementsByClassName("humany-quick-filter-dropdown"))||[]);return!!f},!1),ZD=o=>o.reduce((i,l)=>{if(i)return i;const[f]=Array.from((l==null?void 0:l.getElementsByTagName("input"))||[]);return!!(f&&f===document.activeElement)},!1),JD=()=>Array.from(document.querySelectorAll('[data-component-type="guide-list"]')).reduce((o,i)=>(Array.from(i.getElementsByTagName("a")).forEach(f=>o.push(f)),o),[]),eL=async(o,i)=>{const{searchToGuideListArrowKeyNavigation:l=!1}=i;return l?o.getAsync("components").then(f=>{const{nodes:{all:h}}=f,m=h.filter(S=>S.type==="search").map(S=>S.id),v=[];return v.push({parent:window,type:"keydown",handler:S=>{var M,P,F,H;const b=[];m.forEach(ce=>{const ve=document.getElementById(ce);ve&&b.push(ve)});const x=XD(b),T=ZD(b),k=JD(),L=k.indexOf(document.activeElement);(S.key==="ArrowDown"||S.key==="ArrowUp")&&(T||L>-1)&&S.preventDefault(),S.key==="ArrowDown"&&T&&!x?k[0].focus():S.key==="ArrowUp"&&L===0?(P=(M=b[0])==null?void 0:M.getElementsByTagName("input")[0])==null||P.focus():S.key==="ArrowUp"&&L>-1?(F=k[L-1])==null||F.focus():S.key==="ArrowDown"&&L>-1&&((H=k[L+1])==null||H.focus())}}),v}):Promise.resolve([])};class tL extends xC{constructor(i,l={}){super(i),this.settings=l,this.listeners=[]}async initialize(){this.listeners=await Promise.all([Promise.resolve(KD(this.container,this.settings)),Promise.resolve(T8(this.container,this.settings)),Promise.resolve(eL(this.container,this.settings))]).then(i=>{const l=[];return i.forEach(f=>f.forEach(h=>l.push(h))),l.forEach(({parent:f,type:h,handler:m})=>{f.addEventListener(h,m)}),l})}deactivate(){this.listeners.forEach(i=>{const{parent:l,handler:f,type:h}=i;l.removeEventListener(h,f)})}}exports.FavoritePlugin=S8;exports.LegacyResourcesPlugin=x8;exports.MiscBehaviorPlugin=tL;
|
|
1060
|
+
`;const se=t=>{if(t){const{Type:e,Content:n}=t;if(e&&n)return{type:e,content:n}}},gt=t=>t.map(e=>{const n={id:e.Id.toString(),title:e.Name,symbol:se(e.DefaultIcon),activeSymbol:e.ActiveIcon&&se(e.ActiveIcon),description:e.Description||e.Attributes&&e.Attributes.description||"",matches:e.GuidesCount};return e.Children&&e.Children.length&&(n.items=gt(e.Children)),n}),K=(t,e)=>t.filter(({Type:n})=>n===e).map(({Id:n,Title:r,Body:s})=>({id:n.toString(),title:r,body:s})),at=t=>t.map(({Id:e,Title:n,DefaultIcon:r,ListNotices:s,Notices:i})=>({id:e.toString(),title:n,symbol:se(r),defaultHeaderOptions:{visible:!!s.length},notifications:(s||[]).concat(i||[]).map(({Id:a,Title:c,Body:l,Type:h,Modified:u})=>({id:a.toString(),title:c,body:l,modified:u,expandable:h==="listNotice"}))})),ct=({Id:t,Title:e,DefaultIcon:n,Exits:[r],ExitType:s,ConfirmationText:i,ExpandFormAutomatically:a,Form:c,Description:l},h)=>{const{Adapter:u}=r||{Adapter:{}},{ClientName:d="",Settings:f={},CustomClientName:p=""}=u,g={id:t.toString(),title:e,description:l,symbol:se(n),clientName:d==="custom.adapter"?p:d,expanded:!0,inline:!0,body:{}};if(d.indexOf("phone")>-1||d.indexOf("freetext")>-1){const{displayTextBeforeClick:v,textBeforeClick:m}=f;v==="true"&&(g.expanded=!1,g.title=m),d.indexOf("phone.text")>-1?g.body.phoneNumber=f.phoneNumber:g.body.freetext=f.freetext}return(d.indexOf("chat.popup")>-1||d.indexOf("link")>-1||d==="custom.adapter"&&s==="custom")&&(g.body=f,g.body.confirmationFallback=i),d.indexOf("ace")>-1&&(g.body=f),c&&c.HasValueComponents&&(h?g.body.form=ne.fromLegacyForm(t.toString(),c,h).get():g.body.form=ne.fromLegacyForm(t.toString(),c).get(),a||(g.expanded=g.inline=!1)),g},pe=(t=[])=>t.map(({Id:e,Title:n,TotalMatches:r,Symbol:s,DefaultIcon:i,ActiveIcon:a})=>({id:e.toString(),title:n,matches:r,symbol:se(i||s),defaultIcon:se(i),activeIcon:se(a)})),lt=t=>t.map(({Id:e,Title:n,Tags:r,FirstPublishedDate:s,Modified:i})=>({id:e.toString(),title:n,tags:pe(r),published:s,modified:i})),go=(t,e)=>{switch(t){case j.MatchByCategory:case j.Match:{const n={guides:[],matches:0,topNotifications:[],middleNotifications:[],bottomNotifications:[],notificationLists:[],tags:[],byCategory:[]},{Matches:r,TotalMatches:s,Notices:i,NoticeLists:a,Tags:c,ByCategory:l}=e;return n.guides=lt(r),n.matches=s,n.byCategory=(l||[]).map(({Id:h,Matches:u,TotalMatches:d})=>({id:h,guides:lt(u),matches:d})),n.tags=pe(c),n.notificationLists=at(a||[]),n.topNotifications=K(i||[],"noticeRowTop"),n.middleNotifications=K(i||[],"noticeRowMiddle"),n.bottomNotifications=K(i||[],"footerNotice"),n}case j.Categories:{const{Children:n,GuidesCountTotal:r}=e;return{categories:gt(n||[]),matches:r}}case j.Guide:{const{Id:n,Title:r,Body:s,Related:i,Options:a,ConnectionId:c,ContactMethods:l,EnableFeedback:h,HandoverExists:u,FirstPublishedDate:d,Modified:f,ModifiedByDisplayName:p,FirstPublishedByDisplayName:g,Categories:v,Tags:m,SeoMetaDescription:b,SeoAllowIndex:w,Perspectives:E,PerspectiveKey:C,Translations:k}=e,I=C||Object.values(E).find(S=>S===c)||E.Default||null,P={guide:{id:n.toString(),title:r,body:s,modified:f,published:d,modifiedBy:p,publishedBy:g,connection:c,categories:v,hasHandover:u,allowFeedback:h,seoMetaDescription:b,seoAllowIndex:w,perspectives:E,perspective:I,translations:Object.keys(k||{}).reduce((S,T)=>(S[T]=k[T].toString(),S),{})},related:lt(i||[]),dialog:[],contactMethods:(l||[]).map(S=>ct(S)),tags:pe(m)};return(a||[]).forEach(({CanAccess:S,Description:T,ConnectionId:Z,Properties:O})=>{if(!S)return;const R={id:n.toString(),title:T,connection:Z,connectionKey:O.ConnectionKey,type:Pe.default,parent:{id:n.toString(),title:r,tags:pe(m)}};if(O.Type==="Guide"||O.Type==="Link")switch(O.Id&&(R.id=O.Id.toString()),O.Uri&&(R.href=O.Uri),O.Target&&(R.target=O.Target),O.Type){case"Guide":R.type=Pe.guide;break;case"Link":R.type=Pe.link;break}P.dialog.push(R)}),P}case j.Contacts:{const{Children:n,Matches:r,Notices:s,NoticeLists:i}=e;return{contactMethods:(r||[]).map(c=>ct(c)),categories:gt(n||[]),topNotifications:K(s||[],"noticeRowTop"),middleNotifications:K(s||[],"noticeRowMiddle"),bottomNotifications:K(s||[],"footerNotice"),notificationLists:at(i||[])}}case j.ContactMethod:{const{ContactMethod:n}=e;return ct(n||{})}case j.Tags:case j.TagsOnGuides:return pe(e||[]);case j.Notifications:{const{Notices:n,NoticeLists:r}=e;return{topNotifications:K(n||[],"noticeRowTop"),middleNotifications:K(n||[],"noticeRowMiddle"),bottomNotifications:K(n||[],"footerNotice"),notificationLists:at(r||[])}}default:return{}}};var Qn=(t=>(t.Guide="guide",t.Guides="guides",t.GuidesByCategory="guides-by-category",t.RowNotifications="row-notices",t.NotificationLists="notification-lists",t.GuideCategories="guide-categories",t.ContactMethodCategories="contact-method-categories",t.ContactMethod="contact-method",t.ContactMethods="contact-methods",t.Tags="tags",t.TagsOnGuides="tagsonguides",t))(Qn||{}),j=(t=>(t.Match="match",t.Categories="categories",t.Guide="guide",t.Contacts="contacts",t.ContactMethod="contact-method",t.MatchByCategory="match-by-category",t.Tags="tags",t.TagsOnGuides="tagsonguides",t.Notifications="notifications",t))(j||{});const mn=t=>{switch(t){case"guides":return"match";case"guides-by-category":return"match-by-category";case"guide":return"guide";case"guide-categories":return"categories";case"contact-method-categories":case"contact-methods":return"contacts";case"contact-method":return"contact-method";case"tags":return"tags";case"tagsonguides":return"tagsonguides";case"notification-lists":case"row-notices":return"notifications";default:throw"error"}},yo=async t=>{const{invoke:e}=t.get("$widget");return await e("renderState")===be.hidden};class ye{constructor(e,n){this.container=e,this.matchingClient=n,this.queries=new Map,this.lastTake=0,this.getUnresolvedQueries=()=>{let r=0;return this.queries.forEach((s,i)=>{s.some(c=>!c.resolved)&&(r=1)}),r},this.events=e.get("$widget").events,this.events.subscribe("widget:settings-updated",()=>this.queries=new Map),this.events.subscribe("widget:render-state-changed",(r,{next:s,previous:i})=>{i===be.hidden&&s===be.open&&this.fetchAllUnresolvedQueries()})}static getInstance(e,n="dataClient"){return we(this)(()=>e.getAsync(n).then(async r=>{let s=await e.getAsync("matchingClient");s||(s=await ln(e),e.registerAsync("matchingClient",()=>s));let i=r;return i||(i=new ye(e,s),e.registerAsync(n,()=>i)),i}))}fetch(e,n,r){return new Promise((s,i)=>{n.take&&(this.lastTake=+(n.take||0)),Br(n);const a=mn(e);let c=this.queries.get(a)||[],l=c.find(h=>Ae(h.params,n))||null;if(l&&(r!=null&&r.noCache)){const h=c.findIndex(u=>Ae(u.params,n));c=[...c.slice(0,h),...c.slice(h+1)],l=null}if(l){const h=c.indexOf(l);if(l.resolved?(this.events.dispatch("data-client:fetched",{params:n,type:a,response:l.data,unresolvedQueries:this.getUnresolvedQueries()}),this.track(l.data,a,l.error),l.data&&l.error?i({error:l.error}):s(l.data)):l.resolvers.push({resolve:s,reject:i}),c.splice(h,1),c.push(l),this.queries.set(a,c),!l.loading&&!l.resolved)return this.runQuery(a,n)}else return c.push({params:n,resolved:!1,loading:!0,data:{},resolvers:[{resolve:s,reject:i}]}),this.queries.set(a,c),this.runQuery(a,n)}).then(s=>Et(s))}read(e,n){const{select:r}=n,s=mn(e);return(this.queries.get(s)||[]).reduce((c,l)=>{if(typeof r=="function"){const h=r(l.data);h&&c.push(h)}else c.push(l.data);return c},[])}feedback(e,n,r){return this.matchingClient.giveFeedback(e,n,r)}setLoadingStatus(e,n,r){const s=this.queries.get(e)||[],i=s.find(a=>Ae(a.params,n));i&&(i.loading=r),this.queries.set(e,s)}async runQuery(e,n){const{searchPhrase:r="",categories:s="0",contactMethodCategoryId:i="0",contactMethodId:a="0",tagId:c=void 0,take:l=5,connection:h="",guideId:u,expandCategories:d="descendants",currentCategory:f,sorting:p="popularity-descending",guideIds:g=[]}=n,v=r.toString().trim();if(await yo(this.container))return Promise.resolve();switch(e){case"match":{const m=b=>{const[w,E]=b.split("-");return{type:new Map([["popularity","popularity"],["alphabetic","title"],["modified","lastModified"],["published","firstPublished"]]).get(w),direction:E}};return g.length?this.matchingClient.customRequest("guides","POST",{configuration:{ids:g,take:+l}}).then(b=>b&&this.handleResponse(b,e,n)):this.matchingClient.match(v,{categories:s==="0"?[]:Array.isArray(s)?s:[+s],take:+l,tags:c,sorting:m(p),ids:g}).then(b=>b&&this.handleResponse(b,e,n))}case"match-by-category":return this.matchingClient.match(v,{groupByCategory:!0,categories:s==="0"?[]:Array.isArray(s)?s:[+s],take:+l,tags:c}).then(m=>m&&this.handleResponse(m,e,n));case"guide":return this.matchingClient.getGuide(u,{connectionId:h}).then(m=>{m&&this.handleResponse(m,e,n)}).catch(m=>{const b={message:"Something went wrong.",status:m.status||400};b.status===404&&(b.message="The guide could not be found."),this.handleResponse({},e,n,b)});case"categories":return this.matchingClient.getCategories({phrase:v,expand:d,tags:c}).then(m=>m&&this.handleResponse(m,e,n));case"contacts":return u?this.matchingClient.contactMethods(+u,{phrase:v}).then(m=>m&&this.handleResponse(m,e,n)):this.matchingClient.contacts(+i,{phrase:v}).then(m=>m&&this.handleResponse(m,e,n));case"contact-method":return this.matchingClient.getContactMethod(+a,{guideId:u,currentCategory:f}).then(m=>m&&this.handleResponse(m,e,n));case"tags":return this.matchingClient.customRequest("tags","GET",{configuration:{take:999999,phrase:v,categories:s==="0"?[]:Array.isArray(s)?s:[+s]}}).then(m=>m&&this.handleResponse(m,e,n));case"tagsonguides":return this.matchingClient.customRequest("tagsonguides","GET",{configuration:{take:999999,phrase:v,categories:s==="0"?[]:Array.isArray(s)?s:[+s],tags:c}}).then(m=>m&&this.handleResponse(m,e,n));case"notifications":return this.matchingClient.customRequest("notices","GET",{configuration:{phrase:v,categories:s==="0"?[]:Array.isArray(s)?s:[+s]}}).then(m=>m&&this.handleResponse(m,e,n))}}handleResponse(e={},n,r,s){const i=this.queries.get(n)||[],a=i.find(c=>Ae(c.params,r));if(a){const c=s||go(n,e);this.track(c,n,s),a.resolvers.forEach(h=>{s?h.reject({error:c}):h.resolve(c)});const l=i.indexOf(a);l>-1&&i.splice(l,1),i.push({...a,error:s,resolvers:[],data:c,resolved:!0}),this.setLoadingStatus(n,r,!1),this.queries.set(n,i),s||this.events.dispatch("data-client:fetched",{type:n,params:r,response:c,unresolvedQueries:this.getUnresolvedQueries()})}}fetchAllUnresolvedQueries(){for(const[e,n]of this.queries)n.filter(r=>!r.resolved).forEach(r=>{this.runQuery(e,r.params)})}track(e={},n,r){const s=this.container.get("$widget");s&&!r?s.events.dispatch("tracking:service-client-response",{type:n,data:e}):s&&s.events.dispatch("tracking:service-client-error",{type:n,error:r})}static create(e){return e.getAsync("matchingClient").then(async n=>{if(n)return new ye(e,n);const r=await ln(e);return e.registerAsync("matchingClient",()=>r),new ye(e,r)})}getClient(){return this.matchingClient}}const pn="misc-behavior:hideBackValue",vo=async(t,e)=>{const n=(s,i)=>ye.getInstance(t).then(a=>a.fetch(Qn.ContactMethodCategories,{}).then(c=>{if(c){const{categories:l=[],contactMethods:h=[]}=c;if(i===null)return i=l.length===0&&h.length===1,Lt(s.container,pn,z.Functional).then(u=>u(i))}})),{events:r}=t.get("$widget");return r.subscribe("widget:render-state-changed",async(s,i)=>{if(s.target.state==="activated"&&i.next==="open"){const{hideBackOnSingleContactMethod:a}=e;let c;const l=t.get("$widget"),{name:h,implementation:u}=l;if(h.endsWith("_contact")?c=u.widgets.get(h.replace("_contact","")):h.endsWith("_contact-method")||(c=l),c){let d=null;const f=await Nt(c.container,pn),g=(await c.container.getAsync("components")).components().ofType("widget-header").select();typeof f=="boolean"?d=f:a&&await n(c,d),(a||typeof d=="boolean")&&(d&&g.actions.dispatch("show-back",!1),g.actions.watch("show-back",(v,m)=>m(d&&v?!1:v)))}}}),[]},bo=t=>t.reduce((e,n)=>{if(e)return e;const[r]=Array.from((n==null?void 0:n.getElementsByClassName("humany-quick-filter-dropdown"))||[]);return!!r},!1),wo=t=>t.reduce((e,n)=>{if(e)return e;const[r]=Array.from((n==null?void 0:n.getElementsByTagName("input"))||[]);return!!(r&&r===document.activeElement)},!1),Co=()=>Array.from(document.querySelectorAll('[data-component-type="guide-list"]')).reduce((t,e)=>(Array.from(e.getElementsByTagName("a")).forEach(r=>t.push(r)),t),[]),xo=async(t,e)=>{const{searchToGuideListArrowKeyNavigation:n=!1}=e;return n?t.getAsync("components").then(r=>{const{nodes:{all:s}}=r,i=s.filter(c=>c.type==="search").map(c=>c.id),a=[];return a.push({parent:window,type:"keydown",handler:c=>{var p,g,v,m;const l=[];i.forEach(b=>{const w=document.getElementById(b);w&&l.push(w)});const h=bo(l),u=wo(l),d=Co(),f=d.indexOf(document.activeElement);(c.key==="ArrowDown"||c.key==="ArrowUp")&&(u||f>-1)&&c.preventDefault(),c.key==="ArrowDown"&&u&&!h?d[0].focus():c.key==="ArrowUp"&&f===0?(g=(p=l[0])==null?void 0:p.getElementsByTagName("input")[0])==null||g.focus():c.key==="ArrowUp"&&f>-1?(v=d[f-1])==null||v.focus():c.key==="ArrowDown"&&f>-1&&((m=d[f+1])==null||m.focus())}}),a}):Promise.resolve([])};class Eo extends $t{constructor(e,n={}){super(e),this.settings=n,this.listeners=[]}async initialize(){this.listeners=await Promise.all([Promise.resolve(vo(this.container,this.settings)),Promise.resolve(fs(this.container,this.settings)),Promise.resolve(xo(this.container,this.settings))]).then(e=>{const n=[];return e.forEach(r=>r.forEach(s=>n.push(s))),n.forEach(({parent:r,type:s,handler:i})=>{r.addEventListener(s,i)}),n})}deactivate(){this.listeners.forEach(e=>{const{parent:n,handler:r,type:s}=e;n.removeEventListener(s,r)})}}exports.FavoritePlugin=cs;exports.LegacyResourcesPlugin=ds;exports.MiscBehaviorPlugin=Eo;
|