datocms-plugin-asset-localization-checker
Version:
A field extension for single asset fields that shows whether alt text and are title filled in for all used locales. Galleries are not supported.
48 lines • 348 kB
JavaScript
(function(){const a=document.createElement("link").relList;if(a&&a.supports&&a.supports("modulepreload"))return;for(const f of document.querySelectorAll('link[rel="modulepreload"]'))i(f);new MutationObserver(f=>{for(const l of f)if(l.type==="childList")for(const y of l.addedNodes)y.tagName==="LINK"&&y.rel==="modulepreload"&&i(y)}).observe(document,{childList:!0,subtree:!0});function r(f){const l={};return f.integrity&&(l.integrity=f.integrity),f.referrerPolicy&&(l.referrerPolicy=f.referrerPolicy),f.crossOrigin==="use-credentials"?l.credentials="include":f.crossOrigin==="anonymous"?l.credentials="omit":l.credentials="same-origin",l}function i(f){if(f.ep)return;f.ep=!0;const l=r(f);fetch(f.href,l)}})();function _c(c){return c&&c.__esModule&&Object.prototype.hasOwnProperty.call(c,"default")?c.default:c}var nc={exports:{}},Ju={};/**
* @license React
* react-jsx-runtime.production.js
*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var hh;function q_(){if(hh)return Ju;hh=1;var c=Symbol.for("react.transitional.element"),a=Symbol.for("react.fragment");function r(i,f,l){var y=null;if(l!==void 0&&(y=""+l),f.key!==void 0&&(y=""+f.key),"key"in f){l={};for(var v in f)v!=="key"&&(l[v]=f[v])}else l=f;return f=l.ref,{$$typeof:c,type:i,key:y,ref:f!==void 0?f:null,props:l}}return Ju.Fragment=a,Ju.jsx=r,Ju.jsxs=r,Ju}var yh;function R_(){return yh||(yh=1,nc.exports=q_()),nc.exports}var ht=R_(),_i={exports:{}},Qt={},ph;function vc(){if(ph)return Qt;ph=1,Object.defineProperty(Qt,"__esModule",{value:!0}),Qt.DATA_CLONE_ERROR=Qt.MESSAGE=Qt.REJECTED=Qt.FULFILLED=Qt.REPLY=Qt.CALL=Qt.HANDSHAKE_REPLY=Qt.HANDSHAKE=void 0;const c="handshake";Qt.HANDSHAKE=c;const a="handshake-reply";Qt.HANDSHAKE_REPLY=a;const r="call";Qt.CALL=r;const i="reply";Qt.REPLY=i;const f="fulfilled";Qt.FULFILLED=f;const l="rejected";Qt.REJECTED=l;const y="message";Qt.MESSAGE=y;const v="DataCloneError";return Qt.DATA_CLONE_ERROR=v,Qt}var De={},_h;function Fh(){if(_h)return De;_h=1,Object.defineProperty(De,"__esModule",{value:!0}),De.ERR_NO_IFRAME_SRC=De.ERR_NOT_IN_IFRAME=De.ERR_CONNECTION_TIMEOUT=De.ERR_CONNECTION_DESTROYED=void 0;const c="ConnectionDestroyed";De.ERR_CONNECTION_DESTROYED=c;const a="ConnectionTimeout";De.ERR_CONNECTION_TIMEOUT=a;const r="NotInIframe";De.ERR_NOT_IN_IFRAME=r;const i="NoIframeSrc";return De.ERR_NO_IFRAME_SRC=i,De}var vi={exports:{}},vh;function D_(){return vh||(vh=1,function(c,a){Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var r=()=>{const i=[];let f=!1;return{destroy(){f=!0,i.forEach(l=>{l()})},onDestroy(l){f?l():i.push(l)}}};a.default=r,c.exports=a.default}(vi,vi.exports)),vi.exports}var mi={exports:{}},Fn={},mh;function Wh(){if(mh)return Fn;mh=1,Object.defineProperty(Fn,"__esModule",{value:!0}),Fn.deserializeError=Fn.serializeError=void 0;const c=r=>{let i=r.name,f=r.message,l=r.stack;return{name:i,message:f,stack:l}};Fn.serializeError=c;const a=r=>{const i=new Error;return Object.keys(r).forEach(f=>i[f]=r[f]),i};return Fn.deserializeError=a,Fn}var gh;function U_(){return gh||(gh=1,function(c,a){Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var r=vc(),i=Wh(),f=(l,y,v)=>{const g=l.localName,d=l.local,_=l.remote,T=l.originForSending,m=l.originForReceiving;let x=!1;v(`${g}: Connecting call receiver`);const S=G=>{if(G.source!==_||G.data.penpal!==r.CALL)return;if(G.origin!==m){v(`${g} received message from origin ${G.origin} which did not match expected origin ${m}`);return}const K=G.data,lt=K.methodName,W=K.args,nt=K.id;v(`${g}: Received ${lt}() call`);const k=Z=>ot=>{if(v(`${g}: Sending ${lt}() reply`),x){v(`${g}: Unable to send ${lt}() reply due to destroyed connection`);return}const at={penpal:r.REPLY,id:nt,resolution:Z,returnValue:ot};Z===r.REJECTED&&ot instanceof Error&&(at.returnValue=(0,i.serializeError)(ot),at.returnValueIsError=!0);try{_.postMessage(at,T)}catch(yt){throw yt.name===r.DATA_CLONE_ERROR&&_.postMessage({penpal:r.REPLY,id:nt,resolution:r.REJECTED,returnValue:(0,i.serializeError)(yt),returnValueIsError:!0},T),yt}};new Promise(Z=>Z(y[lt].apply(y,W))).then(k(r.FULFILLED),k(r.REJECTED))};return d.addEventListener(r.MESSAGE,S),()=>{x=!0,d.removeEventListener(r.MESSAGE,S)}};a.default=f,c.exports=a.default}(mi,mi.exports)),mi.exports}var gi={exports:{}},bi={exports:{}},bh;function M_(){return bh||(bh=1,function(c,a){Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;let r=0;var i=()=>++r;a.default=i,c.exports=a.default}(bi,bi.exports)),bi.exports}var Sh;function C_(){return Sh||(Sh=1,function(c,a){Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var r=vc(),i=Fh(),f=y(M_()),l=Wh();function y(g){return g&&g.__esModule?g:{default:g}}var v=(g,d,_,T,m)=>{const x=d.localName,S=d.local,G=d.remote,K=d.originForSending,lt=d.originForReceiving;let W=!1;m(`${x}: Connecting call sender`);const nt=k=>function(){for(var Z=arguments.length,ot=new Array(Z),at=0;at<Z;at++)ot[at]=arguments[at];m(`${x}: Sending ${k}() call`);let yt;try{G.closed&&(yt=!0)}catch{yt=!0}if(yt&&T(),W){const J=new Error(`Unable to send ${k}() call due to destroyed connection`);throw J.code=i.ERR_CONNECTION_DESTROYED,J}return new Promise((J,dt)=>{const Tt=(0,f.default)(),pt=_t=>{if(_t.source!==G||_t.data.penpal!==r.REPLY||_t.data.id!==Tt)return;if(_t.origin!==lt){m(`${x} received message from origin ${_t.origin} which did not match expected origin ${lt}`);return}m(`${x}: Received ${k}() reply`),S.removeEventListener(r.MESSAGE,pt);let Nt=_t.data.returnValue;_t.data.returnValueIsError&&(Nt=(0,l.deserializeError)(Nt)),(_t.data.resolution===r.FULFILLED?J:dt)(Nt)};S.addEventListener(r.MESSAGE,pt),G.postMessage({penpal:r.CALL,id:Tt,methodName:k,args:ot},K)})};return _.reduce((k,Z)=>(k[Z]=nt(Z),k),g),()=>{W=!0}};a.default=v,c.exports=a.default}(gi,gi.exports)),gi.exports}var Si={exports:{}},Eh;function z_(){return Eh||(Eh=1,function(c,a){Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var r=i=>function(){if(i){for(var f=arguments.length,l=new Array(f),y=0;y<f;y++)l[y]=arguments[y];console.log("[Penpal]",...l)}};a.default=r,c.exports=a.default}(Si,Si.exports)),Si.exports}var wh;function j_(){return wh||(wh=1,function(c,a){Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var r=vc(),i=Fh(),f=g(D_()),l=g(U_()),y=g(C_()),v=g(z_());function g(_){return _&&_.__esModule?_:{default:_}}var d=function(){let T=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},m=T.parentOrigin,x=m===void 0?"*":m,S=T.methods,G=S===void 0?{}:S,K=T.timeout,lt=T.debug;const W=(0,v.default)(lt);if(window===window.top){const J=new Error("connectToParent() must be called within an iframe");throw J.code=i.ERR_NOT_IN_IFRAME,J}const nt=(0,f.default)(),k=nt.destroy,Z=nt.onDestroy,ot=window,at=ot.parent;return{promise:new Promise((J,dt)=>{let Tt;K!==void 0&&(Tt=setTimeout(()=>{const _t=new Error(`Connection to parent timed out after ${K}ms`);_t.code=i.ERR_CONNECTION_TIMEOUT,dt(_t),k()},K));const pt=_t=>{try{clearTimeout()}catch{return}if(_t.source!==at||_t.data.penpal!==r.HANDSHAKE_REPLY)return;if(x!=="*"&&x!==_t.origin){W(`Child received handshake reply from origin ${_t.origin} which did not match expected origin ${x}`);return}W("Child: Received handshake reply"),ot.removeEventListener(r.MESSAGE,pt);const Nt={localName:"Child",local:ot,remote:at,originForSending:_t.origin==="null"?"*":_t.origin,originForReceiving:_t.origin},Mt={},C=(0,l.default)(Nt,G,W);Z(C);const H=(0,y.default)(Mt,Nt,_t.data.methodNames,k,W);Z(H),clearTimeout(Tt),J(Mt)};ot.addEventListener(r.MESSAGE,pt),Z(()=>{ot.removeEventListener(r.MESSAGE,pt);const _t=new Error("Connection destroyed");_t.code=i.ERR_CONNECTION_DESTROYED,dt(_t)}),W("Child: Sending handshake"),at.postMessage({penpal:r.HANDSHAKE,methodNames:Object.keys(G)},x)}),destroy:k}};a.default=d,c.exports=a.default}(_i,_i.exports)),_i.exports}var N_=j_();const L_=_c(N_);var Le=function(){return Le=Object.assign||function(c){for(var a,r=1,i=arguments.length;r<i;r++){a=arguments[r];for(var f in a)Object.prototype.hasOwnProperty.call(a,f)&&(c[f]=a[f])}return c},Le.apply(this,arguments)};function Th(c,a){for(var r=Le({},c),i=0,f=a;i<f.length;i++){var l=f[i];delete r[l]}return r}function rc(c){return function(a,r){if(c){for(var i={},f=0,l=a;f<l.length;f++){var y=l[f],v=r.itemTypes[y.relationships.item_type.data.id];i[y.id]=c(y,Le(Le({},r),{itemType:v}))}return i}}}function nn(c,a){var r=function(i,f,l){if(l.mode===c){var y=H_(f),v=function(g){a(i,Le(Le(Le({},f),g),y))};return v(l),v}};return r.mode=c,r}function mc(c,a){var r=function(i,f,l){if(l.mode===c){var y=function(v){a(i,Le(Le({},f),v))};return y(l),y}};return r.mode=c,r}function G_(){for(var c=document.querySelectorAll("body *"),a=0,r=0;r<c.length;r++)a=Math.max(c[r].getBoundingClientRect().bottom,a);return a}var H_=function(c){var a=null,r=function(d){var _=d===void 0?Math.max(document.body.scrollHeight,document.body.offsetHeight,document.documentElement.getBoundingClientRect().height,G_()):d;_!==a&&(c.setHeight(_),a=_)},i=null,f=null,l=function(){return r()},y=function(){r(),i||(i=new ResizeObserver(l),i.observe(document.documentElement)),f||(f=new MutationObserver(l),f.observe(window.document.body,{attributes:!0,childList:!0,subtree:!0,characterData:!0}))},v=function(){i&&(i.disconnect(),i=null),f&&(f.disconnect(),f=null)},g=function(){return!!i};return{updateHeight:r,startAutoResizer:y,stopAutoResizer:v,isAutoResizerActive:g}},B_=nn("renderAssetSource",function(c,a){c.renderAssetSource&&c.renderAssetSource(a.assetSourceId,a)}),Y_=nn("renderConfigScreen",function(c,a){c.renderConfigScreen&&c.renderConfigScreen(a)}),X_=nn("renderFieldExtension",function(c,a){c.renderFieldExtension&&c.renderFieldExtension(a.fieldExtensionId,a)}),Q_=nn("renderItemCollectionOutlet",function(c,a){c.renderItemCollectionOutlet&&c.renderItemCollectionOutlet(a.itemCollectionOutletId,a)}),V_=nn("renderItemFormOutlet",function(c,a){c.renderItemFormOutlet&&c.renderItemFormOutlet(a.itemFormOutletId,a)}),Z_=mc("renderItemFormSidebar",function(c,a){c.renderItemFormSidebar&&c.renderItemFormSidebar(a.sidebarId,a)}),k_=nn("renderItemFormSidebarPanel",function(c,a){c.renderItemFormSidebarPanel&&c.renderItemFormSidebarPanel(a.sidebarPaneId,a)}),K_=nn("renderManualFieldExtensionConfigScreen",function(c,a){c.renderManualFieldExtensionConfigScreen&&c.renderManualFieldExtensionConfigScreen(a.fieldExtensionId,a)}),P_=nn("renderModal",function(c,a){c.renderModal&&c.renderModal(a.modalId,a)}),J_=mc("renderPage",function(c,a){c.renderPage&&c.renderPage(a.pageId,a)}),$_=mc("renderUploadSidebar",function(c,a){c.renderUploadSidebar&&c.renderUploadSidebar(a.sidebarId,a)}),F_=nn("renderUploadSidebarPanel",function(c,a){c.renderUploadSidebarPanel&&c.renderUploadSidebarPanel(a.sidebarPaneId,a)}),Oe=function(){return Oe=Object.assign||function(c){for(var a,r=1,i=arguments.length;r<i;r++){a=arguments[r];for(var f in a)Object.prototype.hasOwnProperty.call(a,f)&&(c[f]=a[f])}return c},Oe.apply(this,arguments)},W_=function(c,a,r,i){function f(l){return l instanceof r?l:new r(function(y){y(l)})}return new(r||(r=Promise))(function(l,y){function v(_){try{d(i.next(_))}catch(T){y(T)}}function g(_){try{d(i.throw(_))}catch(T){y(T)}}function d(_){_.done?l(_.value):f(_.value).then(v,g)}d((i=i.apply(c,a||[])).next())})},I_=function(c,a){var r={label:0,sent:function(){if(l[0]&1)throw l[1];return l[1]},trys:[],ops:[]},i,f,l,y=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return y.next=v(0),y.throw=v(1),y.return=v(2),typeof Symbol=="function"&&(y[Symbol.iterator]=function(){return this}),y;function v(d){return function(_){return g([d,_])}}function g(d){if(i)throw new TypeError("Generator is already executing.");for(;y&&(y=0,d[0]&&(r=0)),r;)try{if(i=1,f&&(l=d[0]&2?f.return:d[0]?f.throw||((l=f.return)&&l.call(f),0):f.next)&&!(l=l.call(f,d[1])).done)return l;switch(f=0,l&&(d=[d[0]&2,l.value]),d[0]){case 0:case 1:l=d;break;case 4:return r.label++,{value:d[1],done:!1};case 5:r.label++,f=d[1],d=[0];continue;case 7:d=r.ops.pop(),r.trys.pop();continue;default:if(l=r.trys,!(l=l.length>0&&l[l.length-1])&&(d[0]===6||d[0]===2)){r=0;continue}if(d[0]===3&&(!l||d[1]>l[0]&&d[1]<l[3])){r.label=d[1];break}if(d[0]===6&&r.label<l[1]){r.label=l[1],l=d;break}if(l&&r.label<l[2]){r.label=l[2],r.ops.push(d);break}l[2]&&r.ops.pop(),r.trys.pop();continue}d=a.call(c,r)}catch(_){d=[6,_],f=0}finally{i=l=0}if(d[0]&5)throw d[1];return{value:d[0]?d[1]:void 0,done:!0}}},Oh=function(c,a,r){if(r||arguments.length===2)for(var i=0,f=a.length,l;i<f;i++)(l||!(i in a))&&(l||(l=Array.prototype.slice.call(a,0,i)),l[i]=a[i]);return c.concat(l||Array.prototype.slice.call(a))};function tv(){return W_(this,arguments,void 0,function(c){var a,r,i,f,l,y,v,g,d,_,T,m;return c===void 0&&(c={}),I_(this,function(x){switch(x.label){case 0:return a=null,r=null,i=Oe(Oe({},c),{overrideFieldExtensions:rc(c.overrideFieldExtensions),customMarksForStructuredTextField:rc(c.customMarksForStructuredTextField),customBlockStylesForStructuredTextField:rc(c.customBlockStylesForStructuredTextField)}),f=L_({methods:Oe(Oe({sdkVersion:function(){return"0.3.0"},implementedHooks:function(){return Object.fromEntries(Object.keys(c).map(function(S){return[S,!0]}))}},Object.fromEntries(Object.entries(i).filter(function(S){var G=S[0];return!G.startsWith("render")}))),{onChange:function(S){a&&a(S)},callMethodMergingBootCtx:function(S,G,K,lt,W){return r?r(S,G,K,lt,W):null}})}),[4,f.promise];case 1:return l=x.sent(),[4,l.getSettings()];case 2:for(y=x.sent(),y.mode==="onBoot"&&(v=y,a=function(S){v=S},r=function(S,G,K,lt,W){var nt;if(S in i)return(nt=i)[S].apply(nt,Oh(Oh([],G,!1),[Oe(Oe(Oe(Oe({},Th(l,["getSettings","setHeight"])),Th(v,["mode","bodyPadding"])),Object.fromEntries(lt.map(function(k){return[k,function(){for(var ot=[],at=0;at<arguments.length;at++)ot[at]=arguments[at];return l.callAdditionalCtxMethod(W,k,ot)}]}))),K)],!1))},i.onBoot&&i.onBoot(Oe(Oe({},l),v))),g={renderAssetSource:B_,renderConfigScreen:Y_,renderFieldExtension:X_,renderItemCollectionOutlet:Q_,renderItemFormOutlet:V_,renderItemFormSidebar:Z_,renderItemFormSidebarPanel:k_,renderManualFieldExtensionConfigScreen:K_,renderModal:P_,renderPage:J_,renderUploadSidebar:$_,renderUploadSidebarPanel:F_},d=0,_=Object.values(g);d<_.length;d++)if(T=_[d],m=T(i,l,y),m){a=m;break}return[2]}})})}var uc={exports:{}},ut={};/**
* @license React
* react.production.js
*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var Ah;function ev(){if(Ah)return ut;Ah=1;var c=Symbol.for("react.transitional.element"),a=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),f=Symbol.for("react.profiler"),l=Symbol.for("react.consumer"),y=Symbol.for("react.context"),v=Symbol.for("react.forward_ref"),g=Symbol.for("react.suspense"),d=Symbol.for("react.memo"),_=Symbol.for("react.lazy"),T=Symbol.iterator;function m(E){return E===null||typeof E!="object"?null:(E=T&&E[T]||E["@@iterator"],typeof E=="function"?E:null)}var x={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},S=Object.assign,G={};function K(E,L,Y){this.props=E,this.context=L,this.refs=G,this.updater=Y||x}K.prototype.isReactComponent={},K.prototype.setState=function(E,L){if(typeof E!="object"&&typeof E!="function"&&E!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,E,L,"setState")},K.prototype.forceUpdate=function(E){this.updater.enqueueForceUpdate(this,E,"forceUpdate")};function lt(){}lt.prototype=K.prototype;function W(E,L,Y){this.props=E,this.context=L,this.refs=G,this.updater=Y||x}var nt=W.prototype=new lt;nt.constructor=W,S(nt,K.prototype),nt.isPureReactComponent=!0;var k=Array.isArray,Z={H:null,A:null,T:null,S:null,V:null},ot=Object.prototype.hasOwnProperty;function at(E,L,Y,B,$,mt){return Y=mt.ref,{$$typeof:c,type:E,key:L,ref:Y!==void 0?Y:null,props:mt}}function yt(E,L){return at(E.type,L,void 0,void 0,void 0,E.props)}function J(E){return typeof E=="object"&&E!==null&&E.$$typeof===c}function dt(E){var L={"=":"=0",":":"=2"};return"$"+E.replace(/[=:]/g,function(Y){return L[Y]})}var Tt=/\/+/g;function pt(E,L){return typeof E=="object"&&E!==null&&E.key!=null?dt(""+E.key):L.toString(36)}function _t(){}function Nt(E){switch(E.status){case"fulfilled":return E.value;case"rejected":throw E.reason;default:switch(typeof E.status=="string"?E.then(_t,_t):(E.status="pending",E.then(function(L){E.status==="pending"&&(E.status="fulfilled",E.value=L)},function(L){E.status==="pending"&&(E.status="rejected",E.reason=L)})),E.status){case"fulfilled":return E.value;case"rejected":throw E.reason}}throw E}function Mt(E,L,Y,B,$){var mt=typeof E;(mt==="undefined"||mt==="boolean")&&(E=null);var rt=!1;if(E===null)rt=!0;else switch(mt){case"bigint":case"string":case"number":rt=!0;break;case"object":switch(E.$$typeof){case c:case a:rt=!0;break;case _:return rt=E._init,Mt(rt(E._payload),L,Y,B,$)}}if(rt)return $=$(E),rt=B===""?"."+pt(E,0):B,k($)?(Y="",rt!=null&&(Y=rt.replace(Tt,"$&/")+"/"),Mt($,L,Y,"",function(rn){return rn})):$!=null&&(J($)&&($=yt($,Y+($.key==null||E&&E.key===$.key?"":(""+$.key).replace(Tt,"$&/")+"/")+rt)),L.push($)),1;rt=0;var ie=B===""?".":B+":";if(k(E))for(var Dt=0;Dt<E.length;Dt++)B=E[Dt],mt=ie+pt(B,Dt),rt+=Mt(B,L,Y,mt,$);else if(Dt=m(E),typeof Dt=="function")for(E=Dt.call(E),Dt=0;!(B=E.next()).done;)B=B.value,mt=ie+pt(B,Dt++),rt+=Mt(B,L,Y,mt,$);else if(mt==="object"){if(typeof E.then=="function")return Mt(Nt(E),L,Y,B,$);throw L=String(E),Error("Objects are not valid as a React child (found: "+(L==="[object Object]"?"object with keys {"+Object.keys(E).join(", ")+"}":L)+"). If you meant to render a collection of children, use an array instead.")}return rt}function C(E,L,Y){if(E==null)return E;var B=[],$=0;return Mt(E,B,"","",function(mt){return L.call(Y,mt,$++)}),B}function H(E){if(E._status===-1){var L=E._result;L=L(),L.then(function(Y){(E._status===0||E._status===-1)&&(E._status=1,E._result=Y)},function(Y){(E._status===0||E._status===-1)&&(E._status=2,E._result=Y)}),E._status===-1&&(E._status=0,E._result=L)}if(E._status===1)return E._result.default;throw E._result}var V=typeof reportError=="function"?reportError:function(E){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var L=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof E=="object"&&E!==null&&typeof E.message=="string"?String(E.message):String(E),error:E});if(!window.dispatchEvent(L))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",E);return}console.error(E)};function St(){}return ut.Children={map:C,forEach:function(E,L,Y){C(E,function(){L.apply(this,arguments)},Y)},count:function(E){var L=0;return C(E,function(){L++}),L},toArray:function(E){return C(E,function(L){return L})||[]},only:function(E){if(!J(E))throw Error("React.Children.only expected to receive a single React element child.");return E}},ut.Component=K,ut.Fragment=r,ut.Profiler=f,ut.PureComponent=W,ut.StrictMode=i,ut.Suspense=g,ut.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=Z,ut.__COMPILER_RUNTIME={__proto__:null,c:function(E){return Z.H.useMemoCache(E)}},ut.cache=function(E){return function(){return E.apply(null,arguments)}},ut.cloneElement=function(E,L,Y){if(E==null)throw Error("The argument must be a React element, but you passed "+E+".");var B=S({},E.props),$=E.key,mt=void 0;if(L!=null)for(rt in L.ref!==void 0&&(mt=void 0),L.key!==void 0&&($=""+L.key),L)!ot.call(L,rt)||rt==="key"||rt==="__self"||rt==="__source"||rt==="ref"&&L.ref===void 0||(B[rt]=L[rt]);var rt=arguments.length-2;if(rt===1)B.children=Y;else if(1<rt){for(var ie=Array(rt),Dt=0;Dt<rt;Dt++)ie[Dt]=arguments[Dt+2];B.children=ie}return at(E.type,$,void 0,void 0,mt,B)},ut.createContext=function(E){return E={$$typeof:y,_currentValue:E,_currentValue2:E,_threadCount:0,Provider:null,Consumer:null},E.Provider=E,E.Consumer={$$typeof:l,_context:E},E},ut.createElement=function(E,L,Y){var B,$={},mt=null;if(L!=null)for(B in L.key!==void 0&&(mt=""+L.key),L)ot.call(L,B)&&B!=="key"&&B!=="__self"&&B!=="__source"&&($[B]=L[B]);var rt=arguments.length-2;if(rt===1)$.children=Y;else if(1<rt){for(var ie=Array(rt),Dt=0;Dt<rt;Dt++)ie[Dt]=arguments[Dt+2];$.children=ie}if(E&&E.defaultProps)for(B in rt=E.defaultProps,rt)$[B]===void 0&&($[B]=rt[B]);return at(E,mt,void 0,void 0,null,$)},ut.createRef=function(){return{current:null}},ut.forwardRef=function(E){return{$$typeof:v,render:E}},ut.isValidElement=J,ut.lazy=function(E){return{$$typeof:_,_payload:{_status:-1,_result:E},_init:H}},ut.memo=function(E,L){return{$$typeof:d,type:E,compare:L===void 0?null:L}},ut.startTransition=function(E){var L=Z.T,Y={};Z.T=Y;try{var B=E(),$=Z.S;$!==null&&$(Y,B),typeof B=="object"&&B!==null&&typeof B.then=="function"&&B.then(St,V)}catch(mt){V(mt)}finally{Z.T=L}},ut.unstable_useCacheRefresh=function(){return Z.H.useCacheRefresh()},ut.use=function(E){return Z.H.use(E)},ut.useActionState=function(E,L,Y){return Z.H.useActionState(E,L,Y)},ut.useCallback=function(E,L){return Z.H.useCallback(E,L)},ut.useContext=function(E){return Z.H.useContext(E)},ut.useDebugValue=function(){},ut.useDeferredValue=function(E,L){return Z.H.useDeferredValue(E,L)},ut.useEffect=function(E,L,Y){var B=Z.H;if(typeof Y=="function")throw Error("useEffect CRUD overload is not enabled in this build of React.");return B.useEffect(E,L)},ut.useId=function(){return Z.H.useId()},ut.useImperativeHandle=function(E,L,Y){return Z.H.useImperativeHandle(E,L,Y)},ut.useInsertionEffect=function(E,L){return Z.H.useInsertionEffect(E,L)},ut.useLayoutEffect=function(E,L){return Z.H.useLayoutEffect(E,L)},ut.useMemo=function(E,L){return Z.H.useMemo(E,L)},ut.useOptimistic=function(E,L){return Z.H.useOptimistic(E,L)},ut.useReducer=function(E,L,Y){return Z.H.useReducer(E,L,Y)},ut.useRef=function(E){return Z.H.useRef(E)},ut.useState=function(E){return Z.H.useState(E)},ut.useSyncExternalStore=function(E,L,Y){return Z.H.useSyncExternalStore(E,L,Y)},ut.useTransition=function(){return Z.H.useTransition()},ut.version="19.1.0",ut}var xh;function gc(){return xh||(xh=1,uc.exports=ev()),uc.exports}var nr=gc();const Ri=_c(nr);var ac={exports:{}},$u={},ic={exports:{}},lc={};/**
* @license React
* scheduler.production.js
*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var qh;function nv(){return qh||(qh=1,function(c){function a(C,H){var V=C.length;C.push(H);t:for(;0<V;){var St=V-1>>>1,E=C[St];if(0<f(E,H))C[St]=H,C[V]=E,V=St;else break t}}function r(C){return C.length===0?null:C[0]}function i(C){if(C.length===0)return null;var H=C[0],V=C.pop();if(V!==H){C[0]=V;t:for(var St=0,E=C.length,L=E>>>1;St<L;){var Y=2*(St+1)-1,B=C[Y],$=Y+1,mt=C[$];if(0>f(B,V))$<E&&0>f(mt,B)?(C[St]=mt,C[$]=V,St=$):(C[St]=B,C[Y]=V,St=Y);else if($<E&&0>f(mt,V))C[St]=mt,C[$]=V,St=$;else break t}}return H}function f(C,H){var V=C.sortIndex-H.sortIndex;return V!==0?V:C.id-H.id}if(c.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var l=performance;c.unstable_now=function(){return l.now()}}else{var y=Date,v=y.now();c.unstable_now=function(){return y.now()-v}}var g=[],d=[],_=1,T=null,m=3,x=!1,S=!1,G=!1,K=!1,lt=typeof setTimeout=="function"?setTimeout:null,W=typeof clearTimeout=="function"?clearTimeout:null,nt=typeof setImmediate<"u"?setImmediate:null;function k(C){for(var H=r(d);H!==null;){if(H.callback===null)i(d);else if(H.startTime<=C)i(d),H.sortIndex=H.expirationTime,a(g,H);else break;H=r(d)}}function Z(C){if(G=!1,k(C),!S)if(r(g)!==null)S=!0,ot||(ot=!0,pt());else{var H=r(d);H!==null&&Mt(Z,H.startTime-C)}}var ot=!1,at=-1,yt=5,J=-1;function dt(){return K?!0:!(c.unstable_now()-J<yt)}function Tt(){if(K=!1,ot){var C=c.unstable_now();J=C;var H=!0;try{t:{S=!1,G&&(G=!1,W(at),at=-1),x=!0;var V=m;try{e:{for(k(C),T=r(g);T!==null&&!(T.expirationTime>C&&dt());){var St=T.callback;if(typeof St=="function"){T.callback=null,m=T.priorityLevel;var E=St(T.expirationTime<=C);if(C=c.unstable_now(),typeof E=="function"){T.callback=E,k(C),H=!0;break e}T===r(g)&&i(g),k(C)}else i(g);T=r(g)}if(T!==null)H=!0;else{var L=r(d);L!==null&&Mt(Z,L.startTime-C),H=!1}}break t}finally{T=null,m=V,x=!1}H=void 0}}finally{H?pt():ot=!1}}}var pt;if(typeof nt=="function")pt=function(){nt(Tt)};else if(typeof MessageChannel<"u"){var _t=new MessageChannel,Nt=_t.port2;_t.port1.onmessage=Tt,pt=function(){Nt.postMessage(null)}}else pt=function(){lt(Tt,0)};function Mt(C,H){at=lt(function(){C(c.unstable_now())},H)}c.unstable_IdlePriority=5,c.unstable_ImmediatePriority=1,c.unstable_LowPriority=4,c.unstable_NormalPriority=3,c.unstable_Profiling=null,c.unstable_UserBlockingPriority=2,c.unstable_cancelCallback=function(C){C.callback=null},c.unstable_forceFrameRate=function(C){0>C||125<C?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):yt=0<C?Math.floor(1e3/C):5},c.unstable_getCurrentPriorityLevel=function(){return m},c.unstable_next=function(C){switch(m){case 1:case 2:case 3:var H=3;break;default:H=m}var V=m;m=H;try{return C()}finally{m=V}},c.unstable_requestPaint=function(){K=!0},c.unstable_runWithPriority=function(C,H){switch(C){case 1:case 2:case 3:case 4:case 5:break;default:C=3}var V=m;m=C;try{return H()}finally{m=V}},c.unstable_scheduleCallback=function(C,H,V){var St=c.unstable_now();switch(typeof V=="object"&&V!==null?(V=V.delay,V=typeof V=="number"&&0<V?St+V:St):V=St,C){case 1:var E=-1;break;case 2:E=250;break;case 5:E=1073741823;break;case 4:E=1e4;break;default:E=5e3}return E=V+E,C={id:_++,callback:H,priorityLevel:C,startTime:V,expirationTime:E,sortIndex:-1},V>St?(C.sortIndex=V,a(d,C),r(g)===null&&C===r(d)&&(G?(W(at),at=-1):G=!0,Mt(Z,V-St))):(C.sortIndex=E,a(g,C),S||x||(S=!0,ot||(ot=!0,pt()))),C},c.unstable_shouldYield=dt,c.unstable_wrapCallback=function(C){var H=m;return function(){var V=m;m=H;try{return C.apply(this,arguments)}finally{m=V}}}}(lc)),lc}var Rh;function rv(){return Rh||(Rh=1,ic.exports=nv()),ic.exports}var oc={exports:{}},It={};/**
* @license React
* react-dom.production.js
*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var Dh;function uv(){if(Dh)return It;Dh=1;var c=gc();function a(g){var d="https://react.dev/errors/"+g;if(1<arguments.length){d+="?args[]="+encodeURIComponent(arguments[1]);for(var _=2;_<arguments.length;_++)d+="&args[]="+encodeURIComponent(arguments[_])}return"Minified React error #"+g+"; visit "+d+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function r(){}var i={d:{f:r,r:function(){throw Error(a(522))},D:r,C:r,L:r,m:r,X:r,S:r,M:r},p:0,findDOMNode:null},f=Symbol.for("react.portal");function l(g,d,_){var T=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:f,key:T==null?null:""+T,children:g,containerInfo:d,implementation:_}}var y=c.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function v(g,d){if(g==="font")return"";if(typeof d=="string")return d==="use-credentials"?d:""}return It.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=i,It.createPortal=function(g,d){var _=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!d||d.nodeType!==1&&d.nodeType!==9&&d.nodeType!==11)throw Error(a(299));return l(g,d,null,_)},It.flushSync=function(g){var d=y.T,_=i.p;try{if(y.T=null,i.p=2,g)return g()}finally{y.T=d,i.p=_,i.d.f()}},It.preconnect=function(g,d){typeof g=="string"&&(d?(d=d.crossOrigin,d=typeof d=="string"?d==="use-credentials"?d:"":void 0):d=null,i.d.C(g,d))},It.prefetchDNS=function(g){typeof g=="string"&&i.d.D(g)},It.preinit=function(g,d){if(typeof g=="string"&&d&&typeof d.as=="string"){var _=d.as,T=v(_,d.crossOrigin),m=typeof d.integrity=="string"?d.integrity:void 0,x=typeof d.fetchPriority=="string"?d.fetchPriority:void 0;_==="style"?i.d.S(g,typeof d.precedence=="string"?d.precedence:void 0,{crossOrigin:T,integrity:m,fetchPriority:x}):_==="script"&&i.d.X(g,{crossOrigin:T,integrity:m,fetchPriority:x,nonce:typeof d.nonce=="string"?d.nonce:void 0})}},It.preinitModule=function(g,d){if(typeof g=="string")if(typeof d=="object"&&d!==null){if(d.as==null||d.as==="script"){var _=v(d.as,d.crossOrigin);i.d.M(g,{crossOrigin:_,integrity:typeof d.integrity=="string"?d.integrity:void 0,nonce:typeof d.nonce=="string"?d.nonce:void 0})}}else d==null&&i.d.M(g)},It.preload=function(g,d){if(typeof g=="string"&&typeof d=="object"&&d!==null&&typeof d.as=="string"){var _=d.as,T=v(_,d.crossOrigin);i.d.L(g,_,{crossOrigin:T,integrity:typeof d.integrity=="string"?d.integrity:void 0,nonce:typeof d.nonce=="string"?d.nonce:void 0,type:typeof d.type=="string"?d.type:void 0,fetchPriority:typeof d.fetchPriority=="string"?d.fetchPriority:void 0,referrerPolicy:typeof d.referrerPolicy=="string"?d.referrerPolicy:void 0,imageSrcSet:typeof d.imageSrcSet=="string"?d.imageSrcSet:void 0,imageSizes:typeof d.imageSizes=="string"?d.imageSizes:void 0,media:typeof d.media=="string"?d.media:void 0})}},It.preloadModule=function(g,d){if(typeof g=="string")if(d){var _=v(d.as,d.crossOrigin);i.d.m(g,{as:typeof d.as=="string"&&d.as!=="script"?d.as:void 0,crossOrigin:_,integrity:typeof d.integrity=="string"?d.integrity:void 0})}else i.d.m(g)},It.requestFormReset=function(g){i.d.r(g)},It.unstable_batchedUpdates=function(g,d){return g(d)},It.useFormState=function(g,d,_){return y.H.useFormState(g,d,_)},It.useFormStatus=function(){return y.H.useHostTransitionStatus()},It.version="19.1.0",It}var Uh;function av(){if(Uh)return oc.exports;Uh=1;function c(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(c)}catch(a){console.error(a)}}return c(),oc.exports=uv(),oc.exports}/**
* @license React
* react-dom-client.production.js
*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var Mh;function iv(){if(Mh)return $u;Mh=1;var c=rv(),a=gc(),r=av();function i(t){var e="https://react.dev/errors/"+t;if(1<arguments.length){e+="?args[]="+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)e+="&args[]="+encodeURIComponent(arguments[n])}return"Minified React error #"+t+"; visit "+e+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function f(t){return!(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)}function l(t){var e=t,n=t;if(t.alternate)for(;e.return;)e=e.return;else{t=e;do e=t,(e.flags&4098)!==0&&(n=e.return),t=e.return;while(t)}return e.tag===3?n:null}function y(t){if(t.tag===13){var e=t.memoizedState;if(e===null&&(t=t.alternate,t!==null&&(e=t.memoizedState)),e!==null)return e.dehydrated}return null}function v(t){if(l(t)!==t)throw Error(i(188))}function g(t){var e=t.alternate;if(!e){if(e=l(t),e===null)throw Error(i(188));return e!==t?null:t}for(var n=t,u=e;;){var o=n.return;if(o===null)break;var s=o.alternate;if(s===null){if(u=o.return,u!==null){n=u;continue}break}if(o.child===s.child){for(s=o.child;s;){if(s===n)return v(o),t;if(s===u)return v(o),e;s=s.sibling}throw Error(i(188))}if(n.return!==u.return)n=o,u=s;else{for(var h=!1,p=o.child;p;){if(p===n){h=!0,n=o,u=s;break}if(p===u){h=!0,u=o,n=s;break}p=p.sibling}if(!h){for(p=s.child;p;){if(p===n){h=!0,n=s,u=o;break}if(p===u){h=!0,u=s,n=o;break}p=p.sibling}if(!h)throw Error(i(189))}}if(n.alternate!==u)throw Error(i(190))}if(n.tag!==3)throw Error(i(188));return n.stateNode.current===n?t:e}function d(t){var e=t.tag;if(e===5||e===26||e===27||e===6)return t;for(t=t.child;t!==null;){if(e=d(t),e!==null)return e;t=t.sibling}return null}var _=Object.assign,T=Symbol.for("react.element"),m=Symbol.for("react.transitional.element"),x=Symbol.for("react.portal"),S=Symbol.for("react.fragment"),G=Symbol.for("react.strict_mode"),K=Symbol.for("react.profiler"),lt=Symbol.for("react.provider"),W=Symbol.for("react.consumer"),nt=Symbol.for("react.context"),k=Symbol.for("react.forward_ref"),Z=Symbol.for("react.suspense"),ot=Symbol.for("react.suspense_list"),at=Symbol.for("react.memo"),yt=Symbol.for("react.lazy"),J=Symbol.for("react.activity"),dt=Symbol.for("react.memo_cache_sentinel"),Tt=Symbol.iterator;function pt(t){return t===null||typeof t!="object"?null:(t=Tt&&t[Tt]||t["@@iterator"],typeof t=="function"?t:null)}var _t=Symbol.for("react.client.reference");function Nt(t){if(t==null)return null;if(typeof t=="function")return t.$$typeof===_t?null:t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case S:return"Fragment";case K:return"Profiler";case G:return"StrictMode";case Z:return"Suspense";case ot:return"SuspenseList";case J:return"Activity"}if(typeof t=="object")switch(t.$$typeof){case x:return"Portal";case nt:return(t.displayName||"Context")+".Provider";case W:return(t._context.displayName||"Context")+".Consumer";case k:var e=t.render;return t=t.displayName,t||(t=e.displayName||e.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case at:return e=t.displayName||null,e!==null?e:Nt(t.type)||"Memo";case yt:e=t._payload,t=t._init;try{return Nt(t(e))}catch{}}return null}var Mt=Array.isArray,C=a.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,H=r.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,V={pending:!1,data:null,method:null,action:null},St=[],E=-1;function L(t){return{current:t}}function Y(t){0>E||(t.current=St[E],St[E]=null,E--)}function B(t,e){E++,St[E]=t.current,t.current=e}var $=L(null),mt=L(null),rt=L(null),ie=L(null);function Dt(t,e){switch(B(rt,e),B(mt,t),B($,null),e.nodeType){case 9:case 11:t=(t=e.documentElement)&&(t=t.namespaceURI)?Yd(t):0;break;default:if(t=e.tagName,e=e.namespaceURI)e=Yd(e),t=Xd(e,t);else switch(t){case"svg":t=1;break;case"math":t=2;break;default:t=0}}Y($),B($,t)}function rn(){Y($),Y(mt),Y(rt)}function Bi(t){t.memoizedState!==null&&B(ie,t);var e=$.current,n=Xd(e,t.type);e!==n&&(B(mt,t),B($,n))}function ea(t){mt.current===t&&(Y($),Y(mt)),ie.current===t&&(Y(ie),Vu._currentValue=V)}var Yi=Object.prototype.hasOwnProperty,Xi=c.unstable_scheduleCallback,Qi=c.unstable_cancelCallback,iy=c.unstable_shouldYield,ly=c.unstable_requestPaint,Ue=c.unstable_now,oy=c.unstable_getCurrentPriorityLevel,bc=c.unstable_ImmediatePriority,Sc=c.unstable_UserBlockingPriority,na=c.unstable_NormalPriority,cy=c.unstable_LowPriority,Ec=c.unstable_IdlePriority,fy=c.log,sy=c.unstable_setDisableYieldValue,Wr=null,le=null;function un(t){if(typeof fy=="function"&&sy(t),le&&typeof le.setStrictMode=="function")try{le.setStrictMode(Wr,t)}catch{}}var oe=Math.clz32?Math.clz32:yy,dy=Math.log,hy=Math.LN2;function yy(t){return t>>>=0,t===0?32:31-(dy(t)/hy|0)|0}var ra=256,ua=4194304;function Cn(t){var e=t&42;if(e!==0)return e;switch(t&-t){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:return 64;case 128:return 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 t&4194048;case 4194304:case 8388608:case 16777216:case 33554432:return t&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return t}}function aa(t,e,n){var u=t.pendingLanes;if(u===0)return 0;var o=0,s=t.suspendedLanes,h=t.pingedLanes;t=t.warmLanes;var p=u&134217727;return p!==0?(u=p&~s,u!==0?o=Cn(u):(h&=p,h!==0?o=Cn(h):n||(n=p&~t,n!==0&&(o=Cn(n))))):(p=u&~s,p!==0?o=Cn(p):h!==0?o=Cn(h):n||(n=u&~t,n!==0&&(o=Cn(n)))),o===0?0:e!==0&&e!==o&&(e&s)===0&&(s=o&-o,n=e&-e,s>=n||s===32&&(n&4194048)!==0)?e:o}function Ir(t,e){return(t.pendingLanes&~(t.suspendedLanes&~t.pingedLanes)&e)===0}function py(t,e){switch(t){case 1:case 2:case 4:case 8:case 64:return e+250;case 16:case 32: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 e+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function wc(){var t=ra;return ra<<=1,(ra&4194048)===0&&(ra=256),t}function Tc(){var t=ua;return ua<<=1,(ua&62914560)===0&&(ua=4194304),t}function Vi(t){for(var e=[],n=0;31>n;n++)e.push(t);return e}function tu(t,e){t.pendingLanes|=e,e!==268435456&&(t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0)}function _y(t,e,n,u,o,s){var h=t.pendingLanes;t.pendingLanes=n,t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0,t.expiredLanes&=n,t.entangledLanes&=n,t.errorRecoveryDisabledLanes&=n,t.shellSuspendCounter=0;var p=t.entanglements,b=t.expirationTimes,R=t.hiddenUpdates;for(n=h&~n;0<n;){var z=31-oe(n),N=1<<z;p[z]=0,b[z]=-1;var D=R[z];if(D!==null)for(R[z]=null,z=0;z<D.length;z++){var U=D[z];U!==null&&(U.lane&=-536870913)}n&=~N}u!==0&&Oc(t,u,0),s!==0&&o===0&&t.tag!==0&&(t.suspendedLanes|=s&~(h&~e))}function Oc(t,e,n){t.pendingLanes|=e,t.suspendedLanes&=~e;var u=31-oe(e);t.entangledLanes|=e,t.entanglements[u]=t.entanglements[u]|1073741824|n&4194090}function Ac(t,e){var n=t.entangledLanes|=e;for(t=t.entanglements;n;){var u=31-oe(n),o=1<<u;o&e|t[u]&e&&(t[u]|=e),n&=~o}}function Zi(t){switch(t){case 2:t=1;break;case 8:t=4;break;case 32:t=16;break;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:t=128;break;case 268435456:t=134217728;break;default:t=0}return t}function ki(t){return t&=-t,2<t?8<t?(t&134217727)!==0?32:268435456:8:2}function xc(){var t=H.p;return t!==0?t:(t=window.event,t===void 0?32:lh(t.type))}function vy(t,e){var n=H.p;try{return H.p=t,e()}finally{H.p=n}}var an=Math.random().toString(36).slice(2),Ft="__reactFiber$"+an,ee="__reactProps$"+an,ur="__reactContainer$"+an,Ki="__reactEvents$"+an,my="__reactListeners$"+an,gy="__reactHandles$"+an,qc="__reactResources$"+an,eu="__reactMarker$"+an;function Pi(t){delete t[Ft],delete t[ee],delete t[Ki],delete t[my],delete t[gy]}function ar(t){var e=t[Ft];if(e)return e;for(var n=t.parentNode;n;){if(e=n[ur]||n[Ft]){if(n=e.alternate,e.child!==null||n!==null&&n.child!==null)for(t=kd(t);t!==null;){if(n=t[Ft])return n;t=kd(t)}return e}t=n,n=t.parentNode}return null}function ir(t){if(t=t[Ft]||t[ur]){var e=t.tag;if(e===5||e===6||e===13||e===26||e===27||e===3)return t}return null}function nu(t){var e=t.tag;if(e===5||e===26||e===27||e===6)return t.stateNode;throw Error(i(33))}function lr(t){var e=t[qc];return e||(e=t[qc]={hoistableStyles:new Map,hoistableScripts:new Map}),e}function Vt(t){t[eu]=!0}var Rc=new Set,Dc={};function zn(t,e){or(t,e),or(t+"Capture",e)}function or(t,e){for(Dc[t]=e,t=0;t<e.length;t++)Rc.add(e[t])}var by=RegExp("^[: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]*$"),Uc={},Mc={};function Sy(t){return Yi.call(Mc,t)?!0:Yi.call(Uc,t)?!1:by.test(t)?Mc[t]=!0:(Uc[t]=!0,!1)}function ia(t,e,n){if(Sy(e))if(n===null)t.removeAttribute(e);else{switch(typeof n){case"undefined":case"function":case"symbol":t.removeAttribute(e);return;case"boolean":var u=e.toLowerCase().slice(0,5);if(u!=="data-"&&u!=="aria-"){t.removeAttribute(e);return}}t.setAttribute(e,""+n)}}function la(t,e,n){if(n===null)t.removeAttribute(e);else{switch(typeof n){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(e);return}t.setAttribute(e,""+n)}}function He(t,e,n,u){if(u===null)t.removeAttribute(n);else{switch(typeof u){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(n);return}t.setAttributeNS(e,n,""+u)}}var Ji,Cc;function cr(t){if(Ji===void 0)try{throw Error()}catch(n){var e=n.stack.trim().match(/\n( *(at )?)/);Ji=e&&e[1]||"",Cc=-1<n.stack.indexOf(`
at`)?" (<anonymous>)":-1<n.stack.indexOf("@")?"@unknown:0:0":""}return`
`+Ji+t+Cc}var $i=!1;function Fi(t,e){if(!t||$i)return"";$i=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var u={DetermineComponentFrameRoot:function(){try{if(e){var N=function(){throw Error()};if(Object.defineProperty(N.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(N,[])}catch(U){var D=U}Reflect.construct(t,[],N)}else{try{N.call()}catch(U){D=U}t.call(N.prototype)}}else{try{throw Error()}catch(U){D=U}(N=t())&&typeof N.catch=="function"&&N.catch(function(){})}}catch(U){if(U&&D&&typeof U.stack=="string")return[U.stack,D.stack]}return[null,null]}};u.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var o=Object.getOwnPropertyDescriptor(u.DetermineComponentFrameRoot,"name");o&&o.configurable&&Object.defineProperty(u.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var s=u.DetermineComponentFrameRoot(),h=s[0],p=s[1];if(h&&p){var b=h.split(`
`),R=p.split(`
`);for(o=u=0;u<b.length&&!b[u].includes("DetermineComponentFrameRoot");)u++;for(;o<R.length&&!R[o].includes("DetermineComponentFrameRoot");)o++;if(u===b.length||o===R.length)for(u=b.length-1,o=R.length-1;1<=u&&0<=o&&b[u]!==R[o];)o--;for(;1<=u&&0<=o;u--,o--)if(b[u]!==R[o]){if(u!==1||o!==1)do if(u--,o--,0>o||b[u]!==R[o]){var z=`
`+b[u].replace(" at new "," at ");return t.displayName&&z.includes("<anonymous>")&&(z=z.replace("<anonymous>",t.displayName)),z}while(1<=u&&0<=o);break}}}finally{$i=!1,Error.prepareStackTrace=n}return(n=t?t.displayName||t.name:"")?cr(n):""}function Ey(t){switch(t.tag){case 26:case 27:case 5:return cr(t.type);case 16:return cr("Lazy");case 13:return cr("Suspense");case 19:return cr("SuspenseList");case 0:case 15:return Fi(t.type,!1);case 11:return Fi(t.type.render,!1);case 1:return Fi(t.type,!0);case 31:return cr("Activity");default:return""}}function zc(t){try{var e="";do e+=Ey(t),t=t.return;while(t);return e}catch(n){return`
Error generating stack: `+n.message+`
`+n.stack}}function _e(t){switch(typeof t){case"bigint":case"boolean":case"number":case"string":case"undefined":return t;case"object":return t;default:return""}}function jc(t){var e=t.type;return(t=t.nodeName)&&t.toLowerCase()==="input"&&(e==="checkbox"||e==="radio")}function wy(t){var e=jc(t)?"checked":"value",n=Object.getOwnPropertyDescriptor(t.constructor.prototype,e),u=""+t[e];if(!t.hasOwnProperty(e)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var o=n.get,s=n.set;return Object.defineProperty(t,e,{configurable:!0,get:function(){return o.call(this)},set:function(h){u=""+h,s.call(this,h)}}),Object.defineProperty(t,e,{enumerable:n.enumerable}),{getValue:function(){return u},setValue:function(h){u=""+h},stopTracking:function(){t._valueTracker=null,delete t[e]}}}}function oa(t){t._valueTracker||(t._valueTracker=wy(t))}function Nc(t){if(!t)return!1;var e=t._valueTracker;if(!e)return!0;var n=e.getValue(),u="";return t&&(u=jc(t)?t.checked?"true":"false":t.value),t=u,t!==n?(e.setValue(t),!0):!1}function ca(t){if(t=t||(typeof document<"u"?document:void 0),typeof t>"u")return null;try{return t.activeElement||t.body}catch{return t.body}}var Ty=/[\n"\\]/g;function ve(t){return t.replace(Ty,function(e){return"\\"+e.charCodeAt(0).toString(16)+" "})}function Wi(t,e,n,u,o,s,h,p){t.name="",h!=null&&typeof h!="function"&&typeof h!="symbol"&&typeof h!="boolean"?t.type=h:t.removeAttribute("type"),e!=null?h==="number"?(e===0&&t.value===""||t.value!=e)&&(t.value=""+_e(e)):t.value!==""+_e(e)&&(t.value=""+_e(e)):h!=="submit"&&h!=="reset"||t.removeAttribute("value"),e!=null?Ii(t,h,_e(e)):n!=null?Ii(t,h,_e(n)):u!=null&&t.removeAttribute("value"),o==null&&s!=null&&(t.defaultChecked=!!s),o!=null&&(t.checked=o&&typeof o!="function"&&typeof o!="symbol"),p!=null&&typeof p!="function"&&typeof p!="symbol"&&typeof p!="boolean"?t.name=""+_e(p):t.removeAttribute("name")}function Lc(t,e,n,u,o,s,h,p){if(s!=null&&typeof s!="function"&&typeof s!="symbol"&&typeof s!="boolean"&&(t.type=s),e!=null||n!=null){if(!(s!=="submit"&&s!=="reset"||e!=null))return;n=n!=null?""+_e(n):"",e=e!=null?""+_e(e):n,p||e===t.value||(t.value=e),t.defaultValue=e}u=u??o,u=typeof u!="function"&&typeof u!="symbol"&&!!u,t.checked=p?t.checked:!!u,t.defaultChecked=!!u,h!=null&&typeof h!="function"&&typeof h!="symbol"&&typeof h!="boolean"&&(t.name=h)}function Ii(t,e,n){e==="number"&&ca(t.ownerDocument)===t||t.defaultValue===""+n||(t.defaultValue=""+n)}function fr(t,e,n,u){if(t=t.options,e){e={};for(var o=0;o<n.length;o++)e["$"+n[o]]=!0;for(n=0;n<t.length;n++)o=e.hasOwnProperty("$"+t[n].value),t[n].selected!==o&&(t[n].selected=o),o&&u&&(t[n].defaultSelected=!0)}else{for(n=""+_e(n),e=null,o=0;o<t.length;o++){if(t[o].value===n){t[o].selected=!0,u&&(t[o].defaultSelected=!0);return}e!==null||t[o].disabled||(e=t[o])}e!==null&&(e.selected=!0)}}function Gc(t,e,n){if(e!=null&&(e=""+_e(e),e!==t.value&&(t.value=e),n==null)){t.defaultValue!==e&&(t.defaultValue=e);return}t.defaultValue=n!=null?""+_e(n):""}function Hc(t,e,n,u){if(e==null){if(u!=null){if(n!=null)throw Error(i(92));if(Mt(u)){if(1<u.length)throw Error(i(93));u=u[0]}n=u}n==null&&(n=""),e=n}n=_e(e),t.defaultValue=n,u=t.textContent,u===n&&u!==""&&u!==null&&(t.value=u)}function sr(t,e){if(e){var n=t.firstChild;if(n&&n===t.lastChild&&n.nodeType===3){n.nodeValue=e;return}}t.textContent=e}var Oy=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function Bc(t,e,n){var u=e.indexOf("--")===0;n==null||typeof n=="boolean"||n===""?u?t.setProperty(e,""):e==="float"?t.cssFloat="":t[e]="":u?t.setProperty(e,n):typeof n!="number"||n===0||Oy.has(e)?e==="float"?t.cssFloat=n:t[e]=(""+n).trim():t[e]=n+"px"}function Yc(t,e,n){if(e!=null&&typeof e!="object")throw Error(i(62));if(t=t.style,n!=null){for(var u in n)!n.hasOwnProperty(u)||e!=null&&e.hasOwnProperty(u)||(u.indexOf("--")===0?t.setProperty(u,""):u==="float"?t.cssFloat="":t[u]="");for(var o in e)u=e[o],e.hasOwnProperty(o)&&n[o]!==u&&Bc(t,o,u)}else for(var s in e)e.hasOwnProperty(s)&&Bc(t,s,e[s])}function tl(t){if(t.indexOf("-")===-1)return!1;switch(t){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 Ay=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"]