const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/index-CcPaGsgl.js","assets/hub-Dyrfnilq.js","assets/AdminPage-Ck78fEDq.js","assets/UserContact-DR85Omch.js","assets/styles-XiU4mAxA.js","assets/IconButton-DYCVe03c.js","assets/Icon-o1TUwOIX.js","assets/styles-CSDEd7mM.js","assets/Add-BgR3Rmtz.js","assets/frames-qHk4kRJf.js","assets/styles-DdTUsmPH.css","assets/styles-BI9QecvF.js","assets/styles-CBGM6aT5.js","assets/qr-code-styling-DzzIkFxD.js","assets/contact-nG1w4h1u.js","assets/index-LOMZblid.js","assets/SidebarDesktop-CVG28kBG.js","assets/Box-TxHQja0b.js","assets/ListDivider-CEdDWNk5.js","assets/Tabs-EQ-ZuI5c.js","assets/Fab-kDY9LTNz.js","assets/StyledSnackbar-ALh5Ihhg.js","assets/styles-BEfJmcoQ.js","assets/index-CFZu730W.js","assets/styles--EnIPtOD.js","assets/Alert-CjpjrjIp.js","assets/Snackbar-CISlEJhk.js","assets/index-QjIQVpRt.js","assets/Top-B0AfZ5ku.js","assets/GlobalAlertMessage-GuwaeF-o.js","assets/Login-D3rVVAOk.js","assets/user-CE1yOuC5.js","assets/ErrorMessage-nkHJwtRV.js","assets/index-CrDbnYEZ.js","assets/index-BayMfJ5g.js","assets/OAuthButton-DYRvXVSK.js","assets/hooks-CDTKUk4d.js","assets/schema-DKRf8iA5.js","assets/CreateAccount-B2_YDFRK.js","assets/LevelPassword-LMnKWbHW.js","assets/Success-B4Q8fvSt.js","assets/ForgottenPassword-y7i75CNL.js","assets/ChangePassword-C52HzYD2.js","assets/QR-DtMTSxIz.js","assets/hooks-CkRG5plb.js","assets/utils-x5hRhnUb.js","assets/QRSelectorField-CgfbMAkG.js","assets/index-CH1EwZ7v.js","assets/LogoImageField-BLHQqmwI.js","assets/hooks-DqCP8bkF.js","assets/circle_images-CNsFIm_y.js","assets/Bottom-C6XkhGur.js","assets/AccordionDetails-DqOMR4J_.js","assets/index-C99wF7dD.js","assets/reviews-CoLGA8Lj.js","assets/slick-theme-BQfLONpi.css","assets/index-CQxAId2n.js","assets/language-DKIuA-OH.js","assets/hooks-DWQDL114.js","assets/index-TCNvE7yS.js","assets/events-Bt_4TEL1.js","assets/index-CLtL-SqJ.js","assets/qr-event-DAbzHJ_8.js","assets/index-DpqeLNYE.js","assets/styles-uHlYBGd7.js","assets/index-By3YsMCi.js","assets/Hidden-B2VnKsmi.js","assets/utils-Cf5T23Q9.js","assets/hooks-C91b3eKO.js","assets/alergeno_pescado-CXFncakG.js","assets/utils-Di-78e9T.js","assets/Schedule-BpQyIzUG.js","assets/NavigateBefore-B5W8pTqh.js","assets/Flag-CYpF3RdF.js","assets/Search-jdFxEjle.js","assets/index-BGtawXAP.js","assets/hooks-Df8bHGH2.js","assets/LanguageOutlined-CG9ZrRR6.js","assets/index-C6gs7K54.js","assets/Img-BNilLeGy.js","assets/RichText-B9tCr23u.js","assets/utils-BBT1h4G2.js","assets/NavigateNext-D_2sudCc.js","assets/index-Bf-WDzrx.js","assets/constants-CRQ_PpK1.js","assets/Range-JPC7L69r.js","assets/styles-Brz8ycIq.js","assets/array-DNd3lQ_r.js","assets/Actions-CY77cDde.js","assets/index-bxLN3Is-.css","assets/index-DQxz4jZ2.js","assets/index-CvjYZzL3.js","assets/video-DHdz8YJf.js","assets/index-BnjfWyRG.js","assets/ImagesGrid-CU5Y9H3w.js","assets/index-aOZYKmZK.js","assets/utils-TVoC6Q9h.js","assets/CtaButton-CwiaC1Yr.js","assets/Location-s7nmA1xV.js","assets/utils-DlDI7mxr.js","assets/index-AtzHuTJ9.js","assets/index-B-S8bQoF.js","assets/hooks-0pP-3mSl.js","assets/styles-SxUIMUkx.js","assets/mockup-video-BqUvLByR.js","assets/styles-V0HJyaMd.js","assets/MobileActionsMenu--NLdOWc4.js","assets/index-DTA_s1vl.js","assets/utils-Fj1jOGMf.js","assets/Socials-DY1VKn4s.js","assets/index-CJp7dTki.js","assets/index-C5ezx4wX.js","assets/index-Bt0uvpgm.js","assets/circle_twitter_logo-BHAq24EK.js","assets/index-BPKnrGTT.js","assets/withReducers-BwPujG6P.js","assets/reducer-BHSoP-ii.js","assets/utils-DcOK5P9Y.js","assets/Star-DKzdxUkk.js","assets/index-B-aBrXKY.js","assets/index-Dv9j-ep1.js","assets/ImageContext-NjyqLydw.js","assets/index-CvWu6PIn.js","assets/index-DGijHKv5.js","assets/styles-CT3k-gUG.js","assets/index-C4yAAQlT.js","assets/index-DS7hY5Wr.js","assets/index-BFEe8nfO.js","assets/index-BtXYESlo.js","assets/index-BoJ2rHRg.js","assets/hooks-BvRL6sYD.js","assets/index-CNvoYFRm.js","assets/Footer-BlFJWW4F.js","assets/index-Dey-s5lP.js","assets/TemporalQrAlert-D9AKjWPh.js","assets/index-B1kmcG2u.js","assets/StaticPage-j6tNNe9Q.js","assets/price-C365nHLE.js","assets/Remove-B5FcLRYX.js","assets/index-CPbJsjEJ.js","assets/QrBanner-DcNQ_pNC.js","assets/twitter_nocolor-CZZvV2f4.js","assets/Menu-BepZ_SI4.js","assets/hooks-JrbTEY8F.js","assets/index-DP1zqGdW.js","assets/hooks-C0uusQ19.js","assets/SelectedType-DWOUd8ve.js","assets/index-JW5TAnct.js","assets/index-C1pWrden.js","assets/hero-banner-5WkVOUCf.js","assets/index-Buo-6ZgG.js","assets/hooks-D87v6iOw.js","assets/index-B3Lesy89.js","assets/index-CSvEuuNY.js","assets/hooks-DUdrCgiq.js","assets/FileSaver.min-CZ76rJM4.js","assets/PDFButton-C8dvp6Ci.js","assets/index-DgkeYw3A.js","assets/index-CoMHqX8E.js","assets/index-vS3_sVcY.js","assets/Success-GyhGxjH5.js","assets/index-Bhjc_aKF.js","assets/index-DN48x543.js","assets/PowerSettingsNew-BPdUy2k4.js","assets/styles-C0kLZW-I.js","assets/index-CHJlPNYX.js","assets/index-DJW2DJCD.js","assets/index-BhqYBTpo.js","assets/reducer-BwqGoMYS.js","assets/utils-6-IKt0_C.js","assets/index-DUQWXtZL.js","assets/check-IVwq-rDo.js","assets/SkeletonStep1-C8UPQ7KY.js","assets/asyncActions-CVjfnjZe.js","assets/reducer-BbkAY6WX.js","assets/Website-CmzNZjhn.js","assets/Video-CeGsd-9t.js","assets/Wifi-ChQOvD8z.js","assets/Pdf-C_NrWymf.js","assets/mockup_pdf-B-5vjlGQ.js","assets/Images-BG7rHASL.js","assets/mockup-images3-CJBxWM9x.js","assets/Landing-DTXCiT1U.js","assets/mockup_landing-Bn1gUOmy.js","assets/Text-Cne2uqJN.js","assets/Email-CUSTBb8r.js","assets/Sms-XQ61I605.js","assets/Whatsapp-W5EOIXDT.js","assets/Barcode-Dc95QT3y.js","assets/Chip-Cu_lfFHa.js","assets/ValidateFormHelper-B_z2scTU.js","assets/styles-jTOspKAC.js","assets/timezones-CAjD3Fpo.js","assets/EditFolderModal-DbjKagJN.js","assets/folder-DG1_jivn.js","assets/asyncActions-Xiq9zwem.js","assets/utils-CY0EEO-5.js","assets/KebabMenu-CPaYn0qE.js","assets/MenuItemWrapper-B72NaDbq.js","assets/index-BBQl6Bnl.js","assets/Radio-CDfSaR2S.js","assets/DatePicker-CsK6ytIx.js","assets/DatePickerInput-D0LFCaAj.js","assets/index-Ck-MtiT6.js","assets/index-CxyyH1Pr.js","assets/styles-BZTuGBfS.js","assets/actions-CgECbCmY.js","assets/NotesListDrawer-BLhyQ2og.js","assets/tagColors-C54ulUGR.js","assets/SearchInput-BUS_d1aO.js","assets/circle_delete-7vI7Ux0N.js","assets/Pagination-DJVDgpHR.js","assets/index-BBeuMlfb.js","assets/hooks-CUKEnavk.js","assets/styles-CxxbAkTI.js","assets/index-tFUSUbAF.js","assets/index-C8B__6Fy.js","assets/index-Fxb6Cq1l.js","assets/events-DTqUW3io.js","assets/AccordionSummary-fRZOJQU4.js","assets/location-3LvAtnTJ.js","assets/index-DqeIp3Ir.js","assets/index-ClOqmjof.js","assets/BillingForm-DCno5pb-.js","assets/index-Bb8ORmFE.js","assets/index-DvAeKjFr.js","assets/index-DS_K9AuM.js","assets/index-CKEnxa8e.js","assets/index-B8fM-xFJ.js","assets/index-CVsBAJWH.js","assets/index-CTvqYOaO.js","assets/index-CYF0EgRe.js","assets/index-DjWPQ9_q.js"])))=>i.map(i=>d[i]);
var lP=Object.defineProperty;var cP=(e,t,r)=>t in e?lP(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var jo=(e,t,r)=>cP(e,typeof t!="symbol"?t+"":t,r);function uP(e,t){for(var r=0;r<t.length;r++){const n=t[r];if(typeof n!="string"&&!Array.isArray(n)){for(const o in n)if(o!=="default"&&!(o in e)){const i=Object.getOwnPropertyDescriptor(n,o);i&&Object.defineProperty(e,o,i.get?i:{enumerable:!0,get:()=>n[o]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))n(o);new MutationObserver(o=>{for(const i of o)if(i.type==="childList")for(const a of i.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&n(a)}).observe(document,{childList:!0,subtree:!0});function r(o){const i={};return o.integrity&&(i.integrity=o.integrity),o.referrerPolicy&&(i.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?i.credentials="include":o.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function n(o){if(o.ep)return;o.ep=!0;const i=r(o);fetch(o.href,i)}})();var on=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Ht(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Nn(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var r=function n(){return this instanceof n?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach(function(n){var o=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(r,n,o.get?o:{enumerable:!0,get:function(){return e[n]}})}),r}var zC={exports:{}},Jp={},VC={exports:{}},Ne={};/**
 * @license React
 * react.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var eu=Symbol.for("react.element"),dP=Symbol.for("react.portal"),pP=Symbol.for("react.fragment"),fP=Symbol.for("react.strict_mode"),hP=Symbol.for("react.profiler"),mP=Symbol.for("react.provider"),gP=Symbol.for("react.context"),vP=Symbol.for("react.forward_ref"),yP=Symbol.for("react.suspense"),bP=Symbol.for("react.memo"),xP=Symbol.for("react.lazy"),K2=Symbol.iterator;function wP(e){return e===null||typeof e!="object"?null:(e=K2&&e[K2]||e["@@iterator"],typeof e=="function"?e:null)}var WC={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},GC=Object.assign,qC={};function Xs(e,t,r){this.props=e,this.context=t,this.refs=qC,this.updater=r||WC}Xs.prototype.isReactComponent={};Xs.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=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,e,t,"setState")};Xs.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function QC(){}QC.prototype=Xs.prototype;function Dv(e,t,r){this.props=e,this.context=t,this.refs=qC,this.updater=r||WC}var jv=Dv.prototype=new QC;jv.constructor=Dv;GC(jv,Xs.prototype);jv.isPureReactComponent=!0;var Z2=Array.isArray,YC=Object.prototype.hasOwnProperty,Fv={current:null},KC={key:!0,ref:!0,__self:!0,__source:!0};function ZC(e,t,r){var n,o={},i=null,a=null;if(t!=null)for(n in t.ref!==void 0&&(a=t.ref),t.key!==void 0&&(i=""+t.key),t)YC.call(t,n)&&!KC.hasOwnProperty(n)&&(o[n]=t[n]);var s=arguments.length-2;if(s===1)o.children=r;else if(1<s){for(var l=Array(s),c=0;c<s;c++)l[c]=arguments[c+2];o.children=l}if(e&&e.defaultProps)for(n in s=e.defaultProps,s)o[n]===void 0&&(o[n]=s[n]);return{$$typeof:eu,type:e,key:i,ref:a,props:o,_owner:Fv.current}}function SP(e,t){return{$$typeof:eu,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function Bv(e){return typeof e=="object"&&e!==null&&e.$$typeof===eu}function EP(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(r){return t[r]})}var X2=/\/+/g;function Yh(e,t){return typeof e=="object"&&e!==null&&e.key!=null?EP(""+e.key):t.toString(36)}function Cd(e,t,r,n,o){var i=typeof e;(i==="undefined"||i==="boolean")&&(e=null);var a=!1;if(e===null)a=!0;else switch(i){case"string":case"number":a=!0;break;case"object":switch(e.$$typeof){case eu:case dP:a=!0}}if(a)return a=e,o=o(a),e=n===""?"."+Yh(a,0):n,Z2(o)?(r="",e!=null&&(r=e.replace(X2,"$&/")+"/"),Cd(o,t,r,"",function(c){return c})):o!=null&&(Bv(o)&&(o=SP(o,r+(!o.key||a&&a.key===o.key?"":(""+o.key).replace(X2,"$&/")+"/")+e)),t.push(o)),1;if(a=0,n=n===""?".":n+":",Z2(e))for(var s=0;s<e.length;s++){i=e[s];var l=n+Yh(i,s);a+=Cd(i,t,r,l,o)}else if(l=wP(e),typeof l=="function")for(e=l.call(e),s=0;!(i=e.next()).done;)i=i.value,l=n+Yh(i,s++),a+=Cd(i,t,r,l,o);else if(i==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return a}function Lu(e,t,r){if(e==null)return e;var n=[],o=0;return Cd(e,n,"","",function(i){return t.call(r,i,o++)}),n}function CP(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(r){(e._status===0||e._status===-1)&&(e._status=1,e._result=r)},function(r){(e._status===0||e._status===-1)&&(e._status=2,e._result=r)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var Pr={current:null},Td={transition:null},TP={ReactCurrentDispatcher:Pr,ReactCurrentBatchConfig:Td,ReactCurrentOwner:Fv};function XC(){throw Error("act(...) is not supported in production builds of React.")}Ne.Children={map:Lu,forEach:function(e,t,r){Lu(e,function(){t.apply(this,arguments)},r)},count:function(e){var t=0;return Lu(e,function(){t++}),t},toArray:function(e){return Lu(e,function(t){return t})||[]},only:function(e){if(!Bv(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};Ne.Component=Xs;Ne.Fragment=pP;Ne.Profiler=hP;Ne.PureComponent=Dv;Ne.StrictMode=fP;Ne.Suspense=yP;Ne.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=TP;Ne.act=XC;Ne.cloneElement=function(e,t,r){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var n=GC({},e.props),o=e.key,i=e.ref,a=e._owner;if(t!=null){if(t.ref!==void 0&&(i=t.ref,a=Fv.current),t.key!==void 0&&(o=""+t.key),e.type&&e.type.defaultProps)var s=e.type.defaultProps;for(l in t)YC.call(t,l)&&!KC.hasOwnProperty(l)&&(n[l]=t[l]===void 0&&s!==void 0?s[l]:t[l])}var l=arguments.length-2;if(l===1)n.children=r;else if(1<l){s=Array(l);for(var c=0;c<l;c++)s[c]=arguments[c+2];n.children=s}return{$$typeof:eu,type:e.type,key:o,ref:i,props:n,_owner:a}};Ne.createContext=function(e){return e={$$typeof:gP,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:mP,_context:e},e.Consumer=e};Ne.createElement=ZC;Ne.createFactory=function(e){var t=ZC.bind(null,e);return t.type=e,t};Ne.createRef=function(){return{current:null}};Ne.forwardRef=function(e){return{$$typeof:vP,render:e}};Ne.isValidElement=Bv;Ne.lazy=function(e){return{$$typeof:xP,_payload:{_status:-1,_result:e},_init:CP}};Ne.memo=function(e,t){return{$$typeof:bP,type:e,compare:t===void 0?null:t}};Ne.startTransition=function(e){var t=Td.transition;Td.transition={};try{e()}finally{Td.transition=t}};Ne.unstable_act=XC;Ne.useCallback=function(e,t){return Pr.current.useCallback(e,t)};Ne.useContext=function(e){return Pr.current.useContext(e)};Ne.useDebugValue=function(){};Ne.useDeferredValue=function(e){return Pr.current.useDeferredValue(e)};Ne.useEffect=function(e,t){return Pr.current.useEffect(e,t)};Ne.useId=function(){return Pr.current.useId()};Ne.useImperativeHandle=function(e,t,r){return Pr.current.useImperativeHandle(e,t,r)};Ne.useInsertionEffect=function(e,t){return Pr.current.useInsertionEffect(e,t)};Ne.useLayoutEffect=function(e,t){return Pr.current.useLayoutEffect(e,t)};Ne.useMemo=function(e,t){return Pr.current.useMemo(e,t)};Ne.useReducer=function(e,t,r){return Pr.current.useReducer(e,t,r)};Ne.useRef=function(e){return Pr.current.useRef(e)};Ne.useState=function(e){return Pr.current.useState(e)};Ne.useSyncExternalStore=function(e,t,r){return Pr.current.useSyncExternalStore(e,t,r)};Ne.useTransition=function(){return Pr.current.useTransition()};Ne.version="18.3.1";VC.exports=Ne;var g=VC.exports;const ge=Ht(g),$g=uP({__proto__:null,default:ge},[g]);/**
 * @license React
 * react-jsx-runtime.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var RP=g,_P=Symbol.for("react.element"),AP=Symbol.for("react.fragment"),kP=Object.prototype.hasOwnProperty,IP=RP.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,MP={key:!0,ref:!0,__self:!0,__source:!0};function JC(e,t,r){var n,o={},i=null,a=null;r!==void 0&&(i=""+r),t.key!==void 0&&(i=""+t.key),t.ref!==void 0&&(a=t.ref);for(n in t)kP.call(t,n)&&!MP.hasOwnProperty(n)&&(o[n]=t[n]);if(e&&e.defaultProps)for(n in t=e.defaultProps,t)o[n]===void 0&&(o[n]=t[n]);return{$$typeof:_P,type:e,key:i,ref:a,props:o,_owner:IP.current}}Jp.Fragment=AP;Jp.jsx=JC;Jp.jsxs=JC;zC.exports=Jp;var d=zC.exports,Dg={},eT={exports:{}},fn={},tT={exports:{}},rT={};/**
 * @license React
 * scheduler.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */(function(e){function t(k,L){var B=k.length;k.push(L);e:for(;0<B;){var z=B-1>>>1,V=k[z];if(0<o(V,L))k[z]=L,k[B]=V,B=z;else break e}}function r(k){return k.length===0?null:k[0]}function n(k){if(k.length===0)return null;var L=k[0],B=k.pop();if(B!==L){k[0]=B;e:for(var z=0,V=k.length,K=V>>>1;z<K;){var q=2*(z+1)-1,te=k[q],Y=q+1,se=k[Y];if(0>o(te,B))Y<V&&0>o(se,te)?(k[z]=se,k[Y]=B,z=Y):(k[z]=te,k[q]=B,z=q);else if(Y<V&&0>o(se,B))k[z]=se,k[Y]=B,z=Y;else break e}}return L}function o(k,L){var B=k.sortIndex-L.sortIndex;return B!==0?B:k.id-L.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var a=Date,s=a.now();e.unstable_now=function(){return a.now()-s}}var l=[],c=[],u=1,p=null,f=3,m=!1,v=!1,h=!1,x=typeof setTimeout=="function"?setTimeout:null,y=typeof clearTimeout=="function"?clearTimeout:null,b=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function w(k){for(var L=r(c);L!==null;){if(L.callback===null)n(c);else if(L.startTime<=k)n(c),L.sortIndex=L.expirationTime,t(l,L);else break;L=r(c)}}function S(k){if(h=!1,w(k),!v)if(r(l)!==null)v=!0,j(T);else{var L=r(c);L!==null&&H(S,L.startTime-k)}}function T(k,L){v=!1,h&&(h=!1,y(A),A=-1),m=!0;var B=f;try{for(w(L),p=r(l);p!==null&&(!(p.expirationTime>L)||k&&!O());){var z=p.callback;if(typeof z=="function"){p.callback=null,f=p.priorityLevel;var V=z(p.expirationTime<=L);L=e.unstable_now(),typeof V=="function"?p.callback=V:p===r(l)&&n(l),w(L)}else n(l);p=r(l)}if(p!==null)var K=!0;else{var q=r(c);q!==null&&H(S,q.startTime-L),K=!1}return K}finally{p=null,f=B,m=!1}}var R=!1,E=null,A=-1,P=5,M=-1;function O(){return!(e.unstable_now()-M<P)}function F(){if(E!==null){var k=e.unstable_now();M=k;var L=!0;try{L=E(!0,k)}finally{L?I():(R=!1,E=null)}}else R=!1}var I;if(typeof b=="function")I=function(){b(F)};else if(typeof MessageChannel<"u"){var D=new MessageChannel,$=D.port2;D.port1.onmessage=F,I=function(){$.postMessage(null)}}else I=function(){x(F,0)};function j(k){E=k,R||(R=!0,I())}function H(k,L){A=x(function(){k(e.unstable_now())},L)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(k){k.callback=null},e.unstable_continueExecution=function(){v||m||(v=!0,j(T))},e.unstable_forceFrameRate=function(k){0>k||125<k?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):P=0<k?Math.floor(1e3/k):5},e.unstable_getCurrentPriorityLevel=function(){return f},e.unstable_getFirstCallbackNode=function(){return r(l)},e.unstable_next=function(k){switch(f){case 1:case 2:case 3:var L=3;break;default:L=f}var B=f;f=L;try{return k()}finally{f=B}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(k,L){switch(k){case 1:case 2:case 3:case 4:case 5:break;default:k=3}var B=f;f=k;try{return L()}finally{f=B}},e.unstable_scheduleCallback=function(k,L,B){var z=e.unstable_now();switch(typeof B=="object"&&B!==null?(B=B.delay,B=typeof B=="number"&&0<B?z+B:z):B=z,k){case 1:var V=-1;break;case 2:V=250;break;case 5:V=1073741823;break;case 4:V=1e4;break;default:V=5e3}return V=B+V,k={id:u++,callback:L,priorityLevel:k,startTime:B,expirationTime:V,sortIndex:-1},B>z?(k.sortIndex=B,t(c,k),r(l)===null&&k===r(c)&&(h?(y(A),A=-1):h=!0,H(S,B-z))):(k.sortIndex=V,t(l,k),v||m||(v=!0,j(T))),k},e.unstable_shouldYield=O,e.unstable_wrapCallback=function(k){var L=f;return function(){var B=f;f=L;try{return k.apply(this,arguments)}finally{f=B}}}})(rT);tT.exports=rT;var PP=tT.exports;/**
 * @license React
 * react-dom.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var OP=g,cn=PP;function X(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;r<arguments.length;r++)t+="&args[]="+encodeURIComponent(arguments[r]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var nT=new Set,hc={};function xa(e,t){Ms(e,t),Ms(e+"Capture",t)}function Ms(e,t){for(hc[e]=t,e=0;e<t.length;e++)nT.add(t[e])}var Ko=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),jg=Object.prototype.hasOwnProperty,LP=/^[: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]*$/,J2={},eb={};function NP(e){return jg.call(eb,e)?!0:jg.call(J2,e)?!1:LP.test(e)?eb[e]=!0:(J2[e]=!0,!1)}function $P(e,t,r,n){if(r!==null&&r.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return n?!1:r!==null?!r.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function DP(e,t,r,n){if(t===null||typeof t>"u"||$P(e,t,r,n))return!0;if(n)return!1;if(r!==null)switch(r.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function Or(e,t,r,n,o,i,a){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=n,this.attributeNamespace=o,this.mustUseProperty=r,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=a}var sr={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){sr[e]=new Or(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];sr[t]=new Or(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){sr[e]=new Or(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){sr[e]=new Or(e,2,!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".split(" ").forEach(function(e){sr[e]=new Or(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){sr[e]=new Or(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){sr[e]=new Or(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){sr[e]=new Or(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){sr[e]=new Or(e,5,!1,e.toLowerCase(),null,!1,!1)});var Hv=/[\-:]([a-z])/g;function Uv(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".split(" ").forEach(function(e){var t=e.replace(Hv,Uv);sr[t]=new Or(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(Hv,Uv);sr[t]=new Or(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(Hv,Uv);sr[t]=new Or(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){sr[e]=new Or(e,1,!1,e.toLowerCase(),null,!1,!1)});sr.xlinkHref=new Or("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){sr[e]=new Or(e,1,!1,e.toLowerCase(),null,!0,!0)});function zv(e,t,r,n){var o=sr.hasOwnProperty(t)?sr[t]:null;(o!==null?o.type!==0:n||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(DP(t,r,o,n)&&(r=null),n||o===null?NP(t)&&(r===null?e.removeAttribute(t):e.setAttribute(t,""+r)):o.mustUseProperty?e[o.propertyName]=r===null?o.type===3?!1:"":r:(t=o.attributeName,n=o.attributeNamespace,r===null?e.removeAttribute(t):(o=o.type,r=o===3||o===4&&r===!0?"":""+r,n?e.setAttributeNS(n,t,r):e.setAttribute(t,r))))}var ni=OP.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Nu=Symbol.for("react.element"),ts=Symbol.for("react.portal"),rs=Symbol.for("react.fragment"),Vv=Symbol.for("react.strict_mode"),Fg=Symbol.for("react.profiler"),oT=Symbol.for("react.provider"),iT=Symbol.for("react.context"),Wv=Symbol.for("react.forward_ref"),Bg=Symbol.for("react.suspense"),Hg=Symbol.for("react.suspense_list"),Gv=Symbol.for("react.memo"),ui=Symbol.for("react.lazy"),aT=Symbol.for("react.offscreen"),tb=Symbol.iterator;function gl(e){return e===null||typeof e!="object"?null:(e=tb&&e[tb]||e["@@iterator"],typeof e=="function"?e:null)}var Rt=Object.assign,Kh;function Bl(e){if(Kh===void 0)try{throw Error()}catch(r){var t=r.stack.trim().match(/\n( *(at )?)/);Kh=t&&t[1]||""}return`
`+Kh+e}var Zh=!1;function Xh(e,t){if(!e||Zh)return"";Zh=!0;var r=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(c){var n=c}Reflect.construct(e,[],t)}else{try{t.call()}catch(c){n=c}e.call(t.prototype)}else{try{throw Error()}catch(c){n=c}e()}}catch(c){if(c&&n&&typeof c.stack=="string"){for(var o=c.stack.split(`
`),i=n.stack.split(`
`),a=o.length-1,s=i.length-1;1<=a&&0<=s&&o[a]!==i[s];)s--;for(;1<=a&&0<=s;a--,s--)if(o[a]!==i[s]){if(a!==1||s!==1)do if(a--,s--,0>s||o[a]!==i[s]){var l=`
`+o[a].replace(" at new "," at ");return e.displayName&&l.includes("<anonymous>")&&(l=l.replace("<anonymous>",e.displayName)),l}while(1<=a&&0<=s);break}}}finally{Zh=!1,Error.prepareStackTrace=r}return(e=e?e.displayName||e.name:"")?Bl(e):""}function jP(e){switch(e.tag){case 5:return Bl(e.type);case 16:return Bl("Lazy");case 13:return Bl("Suspense");case 19:return Bl("SuspenseList");case 0:case 2:case 15:return e=Xh(e.type,!1),e;case 11:return e=Xh(e.type.render,!1),e;case 1:return e=Xh(e.type,!0),e;default:return""}}function Ug(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case rs:return"Fragment";case ts:return"Portal";case Fg:return"Profiler";case Vv:return"StrictMode";case Bg:return"Suspense";case Hg:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case iT:return(e.displayName||"Context")+".Consumer";case oT:return(e._context.displayName||"Context")+".Provider";case Wv:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Gv:return t=e.displayName||null,t!==null?t:Ug(e.type)||"Memo";case ui:t=e._payload,e=e._init;try{return Ug(e(t))}catch{}}return null}function FP(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Ug(t);case 8:return t===Vv?"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 t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function ki(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function sT(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function BP(e){var t=sT(e)?"checked":"value",r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),n=""+e[t];if(!e.hasOwnProperty(t)&&typeof r<"u"&&typeof r.get=="function"&&typeof r.set=="function"){var o=r.get,i=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(a){n=""+a,i.call(this,a)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return n},setValue:function(a){n=""+a},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function $u(e){e._valueTracker||(e._valueTracker=BP(e))}function lT(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var r=t.getValue(),n="";return e&&(n=sT(e)?e.checked?"true":"false":e.value),e=n,e!==r?(t.setValue(e),!0):!1}function tp(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}}function zg(e,t){var r=t.checked;return Rt({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:r??e._wrapperState.initialChecked})}function rb(e,t){var r=t.defaultValue==null?"":t.defaultValue,n=t.checked!=null?t.checked:t.defaultChecked;r=ki(t.value!=null?t.value:r),e._wrapperState={initialChecked:n,initialValue:r,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function cT(e,t){t=t.checked,t!=null&&zv(e,"checked",t,!1)}function Vg(e,t){cT(e,t);var r=ki(t.value),n=t.type;if(r!=null)n==="number"?(r===0&&e.value===""||e.value!=r)&&(e.value=""+r):e.value!==""+r&&(e.value=""+r);else if(n==="submit"||n==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?Wg(e,t.type,r):t.hasOwnProperty("defaultValue")&&Wg(e,t.type,ki(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function nb(e,t,r){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var n=t.type;if(!(n!=="submit"&&n!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,r||t===e.value||(e.value=t),e.defaultValue=t}r=e.name,r!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,r!==""&&(e.name=r)}function Wg(e,t,r){(t!=="number"||tp(e.ownerDocument)!==e)&&(r==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+r&&(e.defaultValue=""+r))}var Hl=Array.isArray;function vs(e,t,r,n){if(e=e.options,t){t={};for(var o=0;o<r.length;o++)t["$"+r[o]]=!0;for(r=0;r<e.length;r++)o=t.hasOwnProperty("$"+e[r].value),e[r].selected!==o&&(e[r].selected=o),o&&n&&(e[r].defaultSelected=!0)}else{for(r=""+ki(r),t=null,o=0;o<e.length;o++){if(e[o].value===r){e[o].selected=!0,n&&(e[o].defaultSelected=!0);return}t!==null||e[o].disabled||(t=e[o])}t!==null&&(t.selected=!0)}}function Gg(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(X(91));return Rt({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function ob(e,t){var r=t.value;if(r==null){if(r=t.children,t=t.defaultValue,r!=null){if(t!=null)throw Error(X(92));if(Hl(r)){if(1<r.length)throw Error(X(93));r=r[0]}t=r}t==null&&(t=""),r=t}e._wrapperState={initialValue:ki(r)}}function uT(e,t){var r=ki(t.value),n=ki(t.defaultValue);r!=null&&(r=""+r,r!==e.value&&(e.value=r),t.defaultValue==null&&e.defaultValue!==r&&(e.defaultValue=r)),n!=null&&(e.defaultValue=""+n)}function ib(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function dT(e){switch(e){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 qg(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?dT(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var Du,pT=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,r,n,o){MSApp.execUnsafeLocalFunction(function(){return e(t,r,n,o)})}:e}(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(Du=Du||document.createElement("div"),Du.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=Du.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function mc(e,t){if(t){var r=e.firstChild;if(r&&r===e.lastChild&&r.nodeType===3){r.nodeValue=t;return}}e.textContent=t}var Gl={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},HP=["Webkit","ms","Moz","O"];Object.keys(Gl).forEach(function(e){HP.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Gl[t]=Gl[e]})});function fT(e,t,r){return t==null||typeof t=="boolean"||t===""?"":r||typeof t!="number"||t===0||Gl.hasOwnProperty(e)&&Gl[e]?(""+t).trim():t+"px"}function hT(e,t){e=e.style;for(var r in t)if(t.hasOwnProperty(r)){var n=r.indexOf("--")===0,o=fT(r,t[r],n);r==="float"&&(r="cssFloat"),n?e.setProperty(r,o):e[r]=o}}var UP=Rt({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 Qg(e,t){if(t){if(UP[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(X(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(X(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(X(61))}if(t.style!=null&&typeof t.style!="object")throw Error(X(62))}}function Yg(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 Kg=null;function qv(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Zg=null,ys=null,bs=null;function ab(e){if(e=nu(e)){if(typeof Zg!="function")throw Error(X(280));var t=e.stateNode;t&&(t=of(t),Zg(e.stateNode,e.type,t))}}function mT(e){ys?bs?bs.push(e):bs=[e]:ys=e}function gT(){if(ys){var e=ys,t=bs;if(bs=ys=null,ab(e),t)for(e=0;e<t.length;e++)ab(t[e])}}function vT(e,t){return e(t)}function yT(){}var Jh=!1;function bT(e,t,r){if(Jh)return e(t,r);Jh=!0;try{return vT(e,t,r)}finally{Jh=!1,(ys!==null||bs!==null)&&(yT(),gT())}}function gc(e,t){var r=e.stateNode;if(r===null)return null;var n=of(r);if(n===null)return null;r=n[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(n=!n.disabled)||(e=e.type,n=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!n;break e;default:e=!1}if(e)return null;if(r&&typeof r!="function")throw Error(X(231,t,typeof r));return r}var Xg=!1;if(Ko)try{var vl={};Object.defineProperty(vl,"passive",{get:function(){Xg=!0}}),window.addEventListener("test",vl,vl),window.removeEventListener("test",vl,vl)}catch{Xg=!1}function zP(e,t,r,n,o,i,a,s,l){var c=Array.prototype.slice.call(arguments,3);try{t.apply(r,c)}catch(u){this.onError(u)}}var ql=!1,rp=null,np=!1,Jg=null,VP={onError:function(e){ql=!0,rp=e}};function WP(e,t,r,n,o,i,a,s,l){ql=!1,rp=null,zP.apply(VP,arguments)}function GP(e,t,r,n,o,i,a,s,l){if(WP.apply(this,arguments),ql){if(ql){var c=rp;ql=!1,rp=null}else throw Error(X(198));np||(np=!0,Jg=c)}}function wa(e){var t=e,r=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,t.flags&4098&&(r=t.return),e=t.return;while(e)}return t.tag===3?r:null}function xT(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function sb(e){if(wa(e)!==e)throw Error(X(188))}function qP(e){var t=e.alternate;if(!t){if(t=wa(e),t===null)throw Error(X(188));return t!==e?null:e}for(var r=e,n=t;;){var o=r.return;if(o===null)break;var i=o.alternate;if(i===null){if(n=o.return,n!==null){r=n;continue}break}if(o.child===i.child){for(i=o.child;i;){if(i===r)return sb(o),e;if(i===n)return sb(o),t;i=i.sibling}throw Error(X(188))}if(r.return!==n.return)r=o,n=i;else{for(var a=!1,s=o.child;s;){if(s===r){a=!0,r=o,n=i;break}if(s===n){a=!0,n=o,r=i;break}s=s.sibling}if(!a){for(s=i.child;s;){if(s===r){a=!0,r=i,n=o;break}if(s===n){a=!0,n=i,r=o;break}s=s.sibling}if(!a)throw Error(X(189))}}if(r.alternate!==n)throw Error(X(190))}if(r.tag!==3)throw Error(X(188));return r.stateNode.current===r?e:t}function wT(e){return e=qP(e),e!==null?ST(e):null}function ST(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=ST(e);if(t!==null)return t;e=e.sibling}return null}var ET=cn.unstable_scheduleCallback,lb=cn.unstable_cancelCallback,QP=cn.unstable_shouldYield,YP=cn.unstable_requestPaint,$t=cn.unstable_now,KP=cn.unstable_getCurrentPriorityLevel,Qv=cn.unstable_ImmediatePriority,CT=cn.unstable_UserBlockingPriority,op=cn.unstable_NormalPriority,ZP=cn.unstable_LowPriority,TT=cn.unstable_IdlePriority,ef=null,wo=null;function XP(e){if(wo&&typeof wo.onCommitFiberRoot=="function")try{wo.onCommitFiberRoot(ef,e,void 0,(e.current.flags&128)===128)}catch{}}var Jn=Math.clz32?Math.clz32:tO,JP=Math.log,eO=Math.LN2;function tO(e){return e>>>=0,e===0?32:31-(JP(e)/eO|0)|0}var ju=64,Fu=4194304;function Ul(e){switch(e&-e){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 e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function ip(e,t){var r=e.pendingLanes;if(r===0)return 0;var n=0,o=e.suspendedLanes,i=e.pingedLanes,a=r&268435455;if(a!==0){var s=a&~o;s!==0?n=Ul(s):(i&=a,i!==0&&(n=Ul(i)))}else a=r&~o,a!==0?n=Ul(a):i!==0&&(n=Ul(i));if(n===0)return 0;if(t!==0&&t!==n&&!(t&o)&&(o=n&-n,i=t&-t,o>=i||o===16&&(i&4194240)!==0))return t;if(n&4&&(n|=r&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=n;0<t;)r=31-Jn(t),o=1<<r,n|=e[r],t&=~o;return n}function rO(e,t){switch(e){case 1:case 2:case 4:return t+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 t+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 nO(e,t){for(var r=e.suspendedLanes,n=e.pingedLanes,o=e.expirationTimes,i=e.pendingLanes;0<i;){var a=31-Jn(i),s=1<<a,l=o[a];l===-1?(!(s&r)||s&n)&&(o[a]=rO(s,t)):l<=t&&(e.expiredLanes|=s),i&=~s}}function e0(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function RT(){var e=ju;return ju<<=1,!(ju&4194240)&&(ju=64),e}function em(e){for(var t=[],r=0;31>r;r++)t.push(e);return t}function tu(e,t,r){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Jn(t),e[t]=r}function oO(e,t){var r=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var n=e.eventTimes;for(e=e.expirationTimes;0<r;){var o=31-Jn(r),i=1<<o;t[o]=0,n[o]=-1,e[o]=-1,r&=~i}}function Yv(e,t){var r=e.entangledLanes|=t;for(e=e.entanglements;r;){var n=31-Jn(r),o=1<<n;o&t|e[n]&t&&(e[n]|=t),r&=~o}}var et=0;function _T(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var AT,Kv,kT,IT,MT,t0=!1,Bu=[],xi=null,wi=null,Si=null,vc=new Map,yc=new Map,hi=[],iO="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 cb(e,t){switch(e){case"focusin":case"focusout":xi=null;break;case"dragenter":case"dragleave":wi=null;break;case"mouseover":case"mouseout":Si=null;break;case"pointerover":case"pointerout":vc.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":yc.delete(t.pointerId)}}function yl(e,t,r,n,o,i){return e===null||e.nativeEvent!==i?(e={blockedOn:t,domEventName:r,eventSystemFlags:n,nativeEvent:i,targetContainers:[o]},t!==null&&(t=nu(t),t!==null&&Kv(t)),e):(e.eventSystemFlags|=n,t=e.targetContainers,o!==null&&t.indexOf(o)===-1&&t.push(o),e)}function aO(e,t,r,n,o){switch(t){case"focusin":return xi=yl(xi,e,t,r,n,o),!0;case"dragenter":return wi=yl(wi,e,t,r,n,o),!0;case"mouseover":return Si=yl(Si,e,t,r,n,o),!0;case"pointerover":var i=o.pointerId;return vc.set(i,yl(vc.get(i)||null,e,t,r,n,o)),!0;case"gotpointercapture":return i=o.pointerId,yc.set(i,yl(yc.get(i)||null,e,t,r,n,o)),!0}return!1}function PT(e){var t=Xi(e.target);if(t!==null){var r=wa(t);if(r!==null){if(t=r.tag,t===13){if(t=xT(r),t!==null){e.blockedOn=t,MT(e.priority,function(){kT(r)});return}}else if(t===3&&r.stateNode.current.memoizedState.isDehydrated){e.blockedOn=r.tag===3?r.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Rd(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var r=r0(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(r===null){r=e.nativeEvent;var n=new r.constructor(r.type,r);Kg=n,r.target.dispatchEvent(n),Kg=null}else return t=nu(r),t!==null&&Kv(t),e.blockedOn=r,!1;t.shift()}return!0}function ub(e,t,r){Rd(e)&&r.delete(t)}function sO(){t0=!1,xi!==null&&Rd(xi)&&(xi=null),wi!==null&&Rd(wi)&&(wi=null),Si!==null&&Rd(Si)&&(Si=null),vc.forEach(ub),yc.forEach(ub)}function bl(e,t){e.blockedOn===t&&(e.blockedOn=null,t0||(t0=!0,cn.unstable_scheduleCallback(cn.unstable_NormalPriority,sO)))}function bc(e){function t(o){return bl(o,e)}if(0<Bu.length){bl(Bu[0],e);for(var r=1;r<Bu.length;r++){var n=Bu[r];n.blockedOn===e&&(n.blockedOn=null)}}for(xi!==null&&bl(xi,e),wi!==null&&bl(wi,e),Si!==null&&bl(Si,e),vc.forEach(t),yc.forEach(t),r=0;r<hi.length;r++)n=hi[r],n.blockedOn===e&&(n.blockedOn=null);for(;0<hi.length&&(r=hi[0],r.blockedOn===null);)PT(r),r.blockedOn===null&&hi.shift()}var xs=ni.ReactCurrentBatchConfig,ap=!0;function lO(e,t,r,n){var o=et,i=xs.transition;xs.transition=null;try{et=1,Zv(e,t,r,n)}finally{et=o,xs.transition=i}}function cO(e,t,r,n){var o=et,i=xs.transition;xs.transition=null;try{et=4,Zv(e,t,r,n)}finally{et=o,xs.transition=i}}function Zv(e,t,r,n){if(ap){var o=r0(e,t,r,n);if(o===null)um(e,t,n,sp,r),cb(e,n);else if(aO(o,e,t,r,n))n.stopPropagation();else if(cb(e,n),t&4&&-1<iO.indexOf(e)){for(;o!==null;){var i=nu(o);if(i!==null&&AT(i),i=r0(e,t,r,n),i===null&&um(e,t,n,sp,r),i===o)break;o=i}o!==null&&n.stopPropagation()}else um(e,t,n,null,r)}}var sp=null;function r0(e,t,r,n){if(sp=null,e=qv(n),e=Xi(e),e!==null)if(t=wa(e),t===null)e=null;else if(r=t.tag,r===13){if(e=xT(t),e!==null)return e;e=null}else if(r===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return sp=e,null}function OT(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 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(KP()){case Qv:return 1;case CT:return 4;case op:case ZP:return 16;case TT:return 536870912;default:return 16}default:return 16}}var gi=null,Xv=null,_d=null;function LT(){if(_d)return _d;var e,t=Xv,r=t.length,n,o="value"in gi?gi.value:gi.textContent,i=o.length;for(e=0;e<r&&t[e]===o[e];e++);var a=r-e;for(n=1;n<=a&&t[r-n]===o[i-n];n++);return _d=o.slice(e,1<n?1-n:void 0)}function Ad(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function Hu(){return!0}function db(){return!1}function hn(e){function t(r,n,o,i,a){this._reactName=r,this._targetInst=o,this.type=n,this.nativeEvent=i,this.target=a,this.currentTarget=null;for(var s in e)e.hasOwnProperty(s)&&(r=e[s],this[s]=r?r(i):i[s]);return this.isDefaultPrevented=(i.defaultPrevented!=null?i.defaultPrevented:i.returnValue===!1)?Hu:db,this.isPropagationStopped=db,this}return Rt(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var r=this.nativeEvent;r&&(r.preventDefault?r.preventDefault():typeof r.returnValue!="unknown"&&(r.returnValue=!1),this.isDefaultPrevented=Hu)},stopPropagation:function(){var r=this.nativeEvent;r&&(r.stopPropagation?r.stopPropagation():typeof r.cancelBubble!="unknown"&&(r.cancelBubble=!0),this.isPropagationStopped=Hu)},persist:function(){},isPersistent:Hu}),t}var Js={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Jv=hn(Js),ru=Rt({},Js,{view:0,detail:0}),uO=hn(ru),tm,rm,xl,tf=Rt({},ru,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:ey,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:(e!==xl&&(xl&&e.type==="mousemove"?(tm=e.screenX-xl.screenX,rm=e.screenY-xl.screenY):rm=tm=0,xl=e),tm)},movementY:function(e){return"movementY"in e?e.movementY:rm}}),pb=hn(tf),dO=Rt({},tf,{dataTransfer:0}),pO=hn(dO),fO=Rt({},ru,{relatedTarget:0}),nm=hn(fO),hO=Rt({},Js,{animationName:0,elapsedTime:0,pseudoElement:0}),mO=hn(hO),gO=Rt({},Js,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),vO=hn(gO),yO=Rt({},Js,{data:0}),fb=hn(yO),bO={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},xO={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"},wO={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function SO(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=wO[e])?!!t[e]:!1}function ey(){return SO}var EO=Rt({},ru,{key:function(e){if(e.key){var t=bO[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Ad(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?xO[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:ey,charCode:function(e){return e.type==="keypress"?Ad(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Ad(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),CO=hn(EO),TO=Rt({},tf,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),hb=hn(TO),RO=Rt({},ru,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:ey}),_O=hn(RO),AO=Rt({},Js,{propertyName:0,elapsedTime:0,pseudoElement:0}),kO=hn(AO),IO=Rt({},tf,{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}),MO=hn(IO),PO=[9,13,27,32],ty=Ko&&"CompositionEvent"in window,Ql=null;Ko&&"documentMode"in document&&(Ql=document.documentMode);var OO=Ko&&"TextEvent"in window&&!Ql,NT=Ko&&(!ty||Ql&&8<Ql&&11>=Ql),mb=" ",gb=!1;function $T(e,t){switch(e){case"keyup":return PO.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function DT(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var ns=!1;function LO(e,t){switch(e){case"compositionend":return DT(t);case"keypress":return t.which!==32?null:(gb=!0,mb);case"textInput":return e=t.data,e===mb&&gb?null:e;default:return null}}function NO(e,t){if(ns)return e==="compositionend"||!ty&&$T(e,t)?(e=LT(),_d=Xv=gi=null,ns=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return NT&&t.locale!=="ko"?null:t.data;default:return null}}var $O={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 vb(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!$O[e.type]:t==="textarea"}function jT(e,t,r,n){mT(n),t=lp(t,"onChange"),0<t.length&&(r=new Jv("onChange","change",null,r,n),e.push({event:r,listeners:t}))}var Yl=null,xc=null;function DO(e){YT(e,0)}function rf(e){var t=as(e);if(lT(t))return e}function jO(e,t){if(e==="change")return t}var FT=!1;if(Ko){var om;if(Ko){var im="oninput"in document;if(!im){var yb=document.createElement("div");yb.setAttribute("oninput","return;"),im=typeof yb.oninput=="function"}om=im}else om=!1;FT=om&&(!document.documentMode||9<document.documentMode)}function bb(){Yl&&(Yl.detachEvent("onpropertychange",BT),xc=Yl=null)}function BT(e){if(e.propertyName==="value"&&rf(xc)){var t=[];jT(t,xc,e,qv(e)),bT(DO,t)}}function FO(e,t,r){e==="focusin"?(bb(),Yl=t,xc=r,Yl.attachEvent("onpropertychange",BT)):e==="focusout"&&bb()}function BO(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return rf(xc)}function HO(e,t){if(e==="click")return rf(t)}function UO(e,t){if(e==="input"||e==="change")return rf(t)}function zO(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var to=typeof Object.is=="function"?Object.is:zO;function wc(e,t){if(to(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;for(n=0;n<r.length;n++){var o=r[n];if(!jg.call(t,o)||!to(e[o],t[o]))return!1}return!0}function xb(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function wb(e,t){var r=xb(e);e=0;for(var n;r;){if(r.nodeType===3){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=xb(r)}}function HT(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?HT(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function UT(){for(var e=window,t=tp();t instanceof e.HTMLIFrameElement;){try{var r=typeof t.contentWindow.location.href=="string"}catch{r=!1}if(r)e=t.contentWindow;else break;t=tp(e.document)}return t}function ry(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 VO(e){var t=UT(),r=e.focusedElem,n=e.selectionRange;if(t!==r&&r&&r.ownerDocument&&HT(r.ownerDocument.documentElement,r)){if(n!==null&&ry(r)){if(t=n.start,e=n.end,e===void 0&&(e=t),"selectionStart"in r)r.selectionStart=t,r.selectionEnd=Math.min(e,r.value.length);else if(e=(t=r.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var o=r.textContent.length,i=Math.min(n.start,o);n=n.end===void 0?i:Math.min(n.end,o),!e.extend&&i>n&&(o=n,n=i,i=o),o=wb(r,i);var a=wb(r,n);o&&a&&(e.rangeCount!==1||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==a.node||e.focusOffset!==a.offset)&&(t=t.createRange(),t.setStart(o.node,o.offset),e.removeAllRanges(),i>n?(e.addRange(t),e.extend(a.node,a.offset)):(t.setEnd(a.node,a.offset),e.addRange(t)))}}for(t=[],e=r;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof r.focus=="function"&&r.focus(),r=0;r<t.length;r++)e=t[r],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var WO=Ko&&"documentMode"in document&&11>=document.documentMode,os=null,n0=null,Kl=null,o0=!1;function Sb(e,t,r){var n=r.window===r?r.document:r.nodeType===9?r:r.ownerDocument;o0||os==null||os!==tp(n)||(n=os,"selectionStart"in n&&ry(n)?n={start:n.selectionStart,end:n.selectionEnd}:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection(),n={anchorNode:n.anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset}),Kl&&wc(Kl,n)||(Kl=n,n=lp(n0,"onSelect"),0<n.length&&(t=new Jv("onSelect","select",null,t,r),e.push({event:t,listeners:n}),t.target=os)))}function Uu(e,t){var r={};return r[e.toLowerCase()]=t.toLowerCase(),r["Webkit"+e]="webkit"+t,r["Moz"+e]="moz"+t,r}var is={animationend:Uu("Animation","AnimationEnd"),animationiteration:Uu("Animation","AnimationIteration"),animationstart:Uu("Animation","AnimationStart"),transitionend:Uu("Transition","TransitionEnd")},am={},zT={};Ko&&(zT=document.createElement("div").style,"AnimationEvent"in window||(delete is.animationend.animation,delete is.animationiteration.animation,delete is.animationstart.animation),"TransitionEvent"in window||delete is.transitionend.transition);function nf(e){if(am[e])return am[e];if(!is[e])return e;var t=is[e],r;for(r in t)if(t.hasOwnProperty(r)&&r in zT)return am[e]=t[r];return e}var VT=nf("animationend"),WT=nf("animationiteration"),GT=nf("animationstart"),qT=nf("transitionend"),QT=new Map,Eb="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 Ni(e,t){QT.set(e,t),xa(t,[e])}for(var sm=0;sm<Eb.length;sm++){var lm=Eb[sm],GO=lm.toLowerCase(),qO=lm[0].toUpperCase()+lm.slice(1);Ni(GO,"on"+qO)}Ni(VT,"onAnimationEnd");Ni(WT,"onAnimationIteration");Ni(GT,"onAnimationStart");Ni("dblclick","onDoubleClick");Ni("focusin","onFocus");Ni("focusout","onBlur");Ni(qT,"onTransitionEnd");Ms("onMouseEnter",["mouseout","mouseover"]);Ms("onMouseLeave",["mouseout","mouseover"]);Ms("onPointerEnter",["pointerout","pointerover"]);Ms("onPointerLeave",["pointerout","pointerover"]);xa("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));xa("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));xa("onBeforeInput",["compositionend","keypress","textInput","paste"]);xa("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));xa("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));xa("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var zl="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(" "),QO=new Set("cancel close invalid load scroll toggle".split(" ").concat(zl));function Cb(e,t,r){var n=e.type||"unknown-event";e.currentTarget=r,GP(n,t,void 0,e),e.currentTarget=null}function YT(e,t){t=(t&4)!==0;for(var r=0;r<e.length;r++){var n=e[r],o=n.event;n=n.listeners;e:{var i=void 0;if(t)for(var a=n.length-1;0<=a;a--){var s=n[a],l=s.instance,c=s.currentTarget;if(s=s.listener,l!==i&&o.isPropagationStopped())break e;Cb(o,s,c),i=l}else for(a=0;a<n.length;a++){if(s=n[a],l=s.instance,c=s.currentTarget,s=s.listener,l!==i&&o.isPropagationStopped())break e;Cb(o,s,c),i=l}}}if(np)throw e=Jg,np=!1,Jg=null,e}function pt(e,t){var r=t[c0];r===void 0&&(r=t[c0]=new Set);var n=e+"__bubble";r.has(n)||(KT(t,e,2,!1),r.add(n))}function cm(e,t,r){var n=0;t&&(n|=4),KT(r,e,n,t)}var zu="_reactListening"+Math.random().toString(36).slice(2);function Sc(e){if(!e[zu]){e[zu]=!0,nT.forEach(function(r){r!=="selectionchange"&&(QO.has(r)||cm(r,!1,e),cm(r,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[zu]||(t[zu]=!0,cm("selectionchange",!1,t))}}function KT(e,t,r,n){switch(OT(t)){case 1:var o=lO;break;case 4:o=cO;break;default:o=Zv}r=o.bind(null,t,r,e),o=void 0,!Xg||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(o=!0),n?o!==void 0?e.addEventListener(t,r,{capture:!0,passive:o}):e.addEventListener(t,r,!0):o!==void 0?e.addEventListener(t,r,{passive:o}):e.addEventListener(t,r,!1)}function um(e,t,r,n,o){var i=n;if(!(t&1)&&!(t&2)&&n!==null)e:for(;;){if(n===null)return;var a=n.tag;if(a===3||a===4){var s=n.stateNode.containerInfo;if(s===o||s.nodeType===8&&s.parentNode===o)break;if(a===4)for(a=n.return;a!==null;){var l=a.tag;if((l===3||l===4)&&(l=a.stateNode.containerInfo,l===o||l.nodeType===8&&l.parentNode===o))return;a=a.return}for(;s!==null;){if(a=Xi(s),a===null)return;if(l=a.tag,l===5||l===6){n=i=a;continue e}s=s.parentNode}}n=n.return}bT(function(){var c=i,u=qv(r),p=[];e:{var f=QT.get(e);if(f!==void 0){var m=Jv,v=e;switch(e){case"keypress":if(Ad(r)===0)break e;case"keydown":case"keyup":m=CO;break;case"focusin":v="focus",m=nm;break;case"focusout":v="blur",m=nm;break;case"beforeblur":case"afterblur":m=nm;break;case"click":if(r.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":m=pb;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":m=pO;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":m=_O;break;case VT:case WT:case GT:m=mO;break;case qT:m=kO;break;case"scroll":m=uO;break;case"wheel":m=MO;break;case"copy":case"cut":case"paste":m=vO;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":m=hb}var h=(t&4)!==0,x=!h&&e==="scroll",y=h?f!==null?f+"Capture":null:f;h=[];for(var b=c,w;b!==null;){w=b;var S=w.stateNode;if(w.tag===5&&S!==null&&(w=S,y!==null&&(S=gc(b,y),S!=null&&h.push(Ec(b,S,w)))),x)break;b=b.return}0<h.length&&(f=new m(f,v,null,r,u),p.push({event:f,listeners:h}))}}if(!(t&7)){e:{if(f=e==="mouseover"||e==="pointerover",m=e==="mouseout"||e==="pointerout",f&&r!==Kg&&(v=r.relatedTarget||r.fromElement)&&(Xi(v)||v[Zo]))break e;if((m||f)&&(f=u.window===u?u:(f=u.ownerDocument)?f.defaultView||f.parentWindow:window,m?(v=r.relatedTarget||r.toElement,m=c,v=v?Xi(v):null,v!==null&&(x=wa(v),v!==x||v.tag!==5&&v.tag!==6)&&(v=null)):(m=null,v=c),m!==v)){if(h=pb,S="onMouseLeave",y="onMouseEnter",b="mouse",(e==="pointerout"||e==="pointerover")&&(h=hb,S="onPointerLeave",y="onPointerEnter",b="pointer"),x=m==null?f:as(m),w=v==null?f:as(v),f=new h(S,b+"leave",m,r,u),f.target=x,f.relatedTarget=w,S=null,Xi(u)===c&&(h=new h(y,b+"enter",v,r,u),h.target=w,h.relatedTarget=x,S=h),x=S,m&&v)t:{for(h=m,y=v,b=0,w=h;w;w=La(w))b++;for(w=0,S=y;S;S=La(S))w++;for(;0<b-w;)h=La(h),b--;for(;0<w-b;)y=La(y),w--;for(;b--;){if(h===y||y!==null&&h===y.alternate)break t;h=La(h),y=La(y)}h=null}else h=null;m!==null&&Tb(p,f,m,h,!1),v!==null&&x!==null&&Tb(p,x,v,h,!0)}}e:{if(f=c?as(c):window,m=f.nodeName&&f.nodeName.toLowerCase(),m==="select"||m==="input"&&f.type==="file")var T=jO;else if(vb(f))if(FT)T=UO;else{T=BO;var R=FO}else(m=f.nodeName)&&m.toLowerCase()==="input"&&(f.type==="checkbox"||f.type==="radio")&&(T=HO);if(T&&(T=T(e,c))){jT(p,T,r,u);break e}R&&R(e,f,c),e==="focusout"&&(R=f._wrapperState)&&R.controlled&&f.type==="number"&&Wg(f,"number",f.value)}switch(R=c?as(c):window,e){case"focusin":(vb(R)||R.contentEditable==="true")&&(os=R,n0=c,Kl=null);break;case"focusout":Kl=n0=os=null;break;case"mousedown":o0=!0;break;case"contextmenu":case"mouseup":case"dragend":o0=!1,Sb(p,r,u);break;case"selectionchange":if(WO)break;case"keydown":case"keyup":Sb(p,r,u)}var E;if(ty)e:{switch(e){case"compositionstart":var A="onCompositionStart";break e;case"compositionend":A="onCompositionEnd";break e;case"compositionupdate":A="onCompositionUpdate";break e}A=void 0}else ns?$T(e,r)&&(A="onCompositionEnd"):e==="keydown"&&r.keyCode===229&&(A="onCompositionStart");A&&(NT&&r.locale!=="ko"&&(ns||A!=="onCompositionStart"?A==="onCompositionEnd"&&ns&&(E=LT()):(gi=u,Xv="value"in gi?gi.value:gi.textContent,ns=!0)),R=lp(c,A),0<R.length&&(A=new fb(A,e,null,r,u),p.push({event:A,listeners:R}),E?A.data=E:(E=DT(r),E!==null&&(A.data=E)))),(E=OO?LO(e,r):NO(e,r))&&(c=lp(c,"onBeforeInput"),0<c.length&&(u=new fb("onBeforeInput","beforeinput",null,r,u),p.push({event:u,listeners:c}),u.data=E))}YT(p,t)})}function Ec(e,t,r){return{instance:e,listener:t,currentTarget:r}}function lp(e,t){for(var r=t+"Capture",n=[];e!==null;){var o=e,i=o.stateNode;o.tag===5&&i!==null&&(o=i,i=gc(e,r),i!=null&&n.unshift(Ec(e,i,o)),i=gc(e,t),i!=null&&n.push(Ec(e,i,o))),e=e.return}return n}function La(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function Tb(e,t,r,n,o){for(var i=t._reactName,a=[];r!==null&&r!==n;){var s=r,l=s.alternate,c=s.stateNode;if(l!==null&&l===n)break;s.tag===5&&c!==null&&(s=c,o?(l=gc(r,i),l!=null&&a.unshift(Ec(r,l,s))):o||(l=gc(r,i),l!=null&&a.push(Ec(r,l,s)))),r=r.return}a.length!==0&&e.push({event:t,listeners:a})}var YO=/\r\n?/g,KO=/\u0000|\uFFFD/g;function Rb(e){return(typeof e=="string"?e:""+e).replace(YO,`
`).replace(KO,"")}function Vu(e,t,r){if(t=Rb(t),Rb(e)!==t&&r)throw Error(X(425))}function cp(){}var i0=null,a0=null;function s0(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}var l0=typeof setTimeout=="function"?setTimeout:void 0,ZO=typeof clearTimeout=="function"?clearTimeout:void 0,_b=typeof Promise=="function"?Promise:void 0,XO=typeof queueMicrotask=="function"?queueMicrotask:typeof _b<"u"?function(e){return _b.resolve(null).then(e).catch(JO)}:l0;function JO(e){setTimeout(function(){throw e})}function dm(e,t){var r=t,n=0;do{var o=r.nextSibling;if(e.removeChild(r),o&&o.nodeType===8)if(r=o.data,r==="/$"){if(n===0){e.removeChild(o),bc(t);return}n--}else r!=="$"&&r!=="$?"&&r!=="$!"||n++;r=o}while(r);bc(t)}function Ei(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?")break;if(t==="/$")return null}}return e}function Ab(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var r=e.data;if(r==="$"||r==="$!"||r==="$?"){if(t===0)return e;t--}else r==="/$"&&t++}e=e.previousSibling}return null}var el=Math.random().toString(36).slice(2),bo="__reactFiber$"+el,Cc="__reactProps$"+el,Zo="__reactContainer$"+el,c0="__reactEvents$"+el,e4="__reactListeners$"+el,t4="__reactHandles$"+el;function Xi(e){var t=e[bo];if(t)return t;for(var r=e.parentNode;r;){if(t=r[Zo]||r[bo]){if(r=t.alternate,t.child!==null||r!==null&&r.child!==null)for(e=Ab(e);e!==null;){if(r=e[bo])return r;e=Ab(e)}return t}e=r,r=e.parentNode}return null}function nu(e){return e=e[bo]||e[Zo],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function as(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(X(33))}function of(e){return e[Cc]||null}var u0=[],ss=-1;function $i(e){return{current:e}}function mt(e){0>ss||(e.current=u0[ss],u0[ss]=null,ss--)}function ut(e,t){ss++,u0[ss]=e.current,e.current=t}var Ii={},br=$i(Ii),Br=$i(!1),ca=Ii;function Ps(e,t){var r=e.type.contextTypes;if(!r)return Ii;var n=e.stateNode;if(n&&n.__reactInternalMemoizedUnmaskedChildContext===t)return n.__reactInternalMemoizedMaskedChildContext;var o={},i;for(i in r)o[i]=t[i];return n&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function Hr(e){return e=e.childContextTypes,e!=null}function up(){mt(Br),mt(br)}function kb(e,t,r){if(br.current!==Ii)throw Error(X(168));ut(br,t),ut(Br,r)}function ZT(e,t,r){var n=e.stateNode;if(t=t.childContextTypes,typeof n.getChildContext!="function")return r;n=n.getChildContext();for(var o in n)if(!(o in t))throw Error(X(108,FP(e)||"Unknown",o));return Rt({},r,n)}function dp(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Ii,ca=br.current,ut(br,e),ut(Br,Br.current),!0}function Ib(e,t,r){var n=e.stateNode;if(!n)throw Error(X(169));r?(e=ZT(e,t,ca),n.__reactInternalMemoizedMergedChildContext=e,mt(Br),mt(br),ut(br,e)):mt(Br),ut(Br,r)}var Ho=null,af=!1,pm=!1;function XT(e){Ho===null?Ho=[e]:Ho.push(e)}function r4(e){af=!0,XT(e)}function Di(){if(!pm&&Ho!==null){pm=!0;var e=0,t=et;try{var r=Ho;for(et=1;e<r.length;e++){var n=r[e];do n=n(!0);while(n!==null)}Ho=null,af=!1}catch(o){throw Ho!==null&&(Ho=Ho.slice(e+1)),ET(Qv,Di),o}finally{et=t,pm=!1}}return null}var ls=[],cs=0,pp=null,fp=0,Sn=[],En=0,ua=null,Wo=1,Go="";function Qi(e,t){ls[cs++]=fp,ls[cs++]=pp,pp=e,fp=t}function JT(e,t,r){Sn[En++]=Wo,Sn[En++]=Go,Sn[En++]=ua,ua=e;var n=Wo;e=Go;var o=32-Jn(n)-1;n&=~(1<<o),r+=1;var i=32-Jn(t)+o;if(30<i){var a=o-o%5;i=(n&(1<<a)-1).toString(32),n>>=a,o-=a,Wo=1<<32-Jn(t)+o|r<<o|n,Go=i+e}else Wo=1<<i|r<<o|n,Go=e}function ny(e){e.return!==null&&(Qi(e,1),JT(e,1,0))}function oy(e){for(;e===pp;)pp=ls[--cs],ls[cs]=null,fp=ls[--cs],ls[cs]=null;for(;e===ua;)ua=Sn[--En],Sn[En]=null,Go=Sn[--En],Sn[En]=null,Wo=Sn[--En],Sn[En]=null}var sn=null,an=null,xt=!1,qn=null;function eR(e,t){var r=Tn(5,null,null,0);r.elementType="DELETED",r.stateNode=t,r.return=e,t=e.deletions,t===null?(e.deletions=[r],e.flags|=16):t.push(r)}function Mb(e,t){switch(e.tag){case 5:var r=e.type;return t=t.nodeType!==1||r.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,sn=e,an=Ei(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,sn=e,an=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(r=ua!==null?{id:Wo,overflow:Go}:null,e.memoizedState={dehydrated:t,treeContext:r,retryLane:1073741824},r=Tn(18,null,null,0),r.stateNode=t,r.return=e,e.child=r,sn=e,an=null,!0):!1;default:return!1}}function d0(e){return(e.mode&1)!==0&&(e.flags&128)===0}function p0(e){if(xt){var t=an;if(t){var r=t;if(!Mb(e,t)){if(d0(e))throw Error(X(418));t=Ei(r.nextSibling);var n=sn;t&&Mb(e,t)?eR(n,r):(e.flags=e.flags&-4097|2,xt=!1,sn=e)}}else{if(d0(e))throw Error(X(418));e.flags=e.flags&-4097|2,xt=!1,sn=e}}}function Pb(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;sn=e}function Wu(e){if(e!==sn)return!1;if(!xt)return Pb(e),xt=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!s0(e.type,e.memoizedProps)),t&&(t=an)){if(d0(e))throw tR(),Error(X(418));for(;t;)eR(e,t),t=Ei(t.nextSibling)}if(Pb(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(X(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var r=e.data;if(r==="/$"){if(t===0){an=Ei(e.nextSibling);break e}t--}else r!=="$"&&r!=="$!"&&r!=="$?"||t++}e=e.nextSibling}an=null}}else an=sn?Ei(e.stateNode.nextSibling):null;return!0}function tR(){for(var e=an;e;)e=Ei(e.nextSibling)}function Os(){an=sn=null,xt=!1}function iy(e){qn===null?qn=[e]:qn.push(e)}var n4=ni.ReactCurrentBatchConfig;function wl(e,t,r){if(e=r.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(r._owner){if(r=r._owner,r){if(r.tag!==1)throw Error(X(309));var n=r.stateNode}if(!n)throw Error(X(147,e));var o=n,i=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===i?t.ref:(t=function(a){var s=o.refs;a===null?delete s[i]:s[i]=a},t._stringRef=i,t)}if(typeof e!="string")throw Error(X(284));if(!r._owner)throw Error(X(290,e))}return e}function Gu(e,t){throw e=Object.prototype.toString.call(t),Error(X(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Ob(e){var t=e._init;return t(e._payload)}function rR(e){function t(y,b){if(e){var w=y.deletions;w===null?(y.deletions=[b],y.flags|=16):w.push(b)}}function r(y,b){if(!e)return null;for(;b!==null;)t(y,b),b=b.sibling;return null}function n(y,b){for(y=new Map;b!==null;)b.key!==null?y.set(b.key,b):y.set(b.index,b),b=b.sibling;return y}function o(y,b){return y=_i(y,b),y.index=0,y.sibling=null,y}function i(y,b,w){return y.index=w,e?(w=y.alternate,w!==null?(w=w.index,w<b?(y.flags|=2,b):w):(y.flags|=2,b)):(y.flags|=1048576,b)}function a(y){return e&&y.alternate===null&&(y.flags|=2),y}function s(y,b,w,S){return b===null||b.tag!==6?(b=bm(w,y.mode,S),b.return=y,b):(b=o(b,w),b.return=y,b)}function l(y,b,w,S){var T=w.type;return T===rs?u(y,b,w.props.children,S,w.key):b!==null&&(b.elementType===T||typeof T=="object"&&T!==null&&T.$$typeof===ui&&Ob(T)===b.type)?(S=o(b,w.props),S.ref=wl(y,b,w),S.return=y,S):(S=Nd(w.type,w.key,w.props,null,y.mode,S),S.ref=wl(y,b,w),S.return=y,S)}function c(y,b,w,S){return b===null||b.tag!==4||b.stateNode.containerInfo!==w.containerInfo||b.stateNode.implementation!==w.implementation?(b=xm(w,y.mode,S),b.return=y,b):(b=o(b,w.children||[]),b.return=y,b)}function u(y,b,w,S,T){return b===null||b.tag!==7?(b=ia(w,y.mode,S,T),b.return=y,b):(b=o(b,w),b.return=y,b)}function p(y,b,w){if(typeof b=="string"&&b!==""||typeof b=="number")return b=bm(""+b,y.mode,w),b.return=y,b;if(typeof b=="object"&&b!==null){switch(b.$$typeof){case Nu:return w=Nd(b.type,b.key,b.props,null,y.mode,w),w.ref=wl(y,null,b),w.return=y,w;case ts:return b=xm(b,y.mode,w),b.return=y,b;case ui:var S=b._init;return p(y,S(b._payload),w)}if(Hl(b)||gl(b))return b=ia(b,y.mode,w,null),b.return=y,b;Gu(y,b)}return null}function f(y,b,w,S){var T=b!==null?b.key:null;if(typeof w=="string"&&w!==""||typeof w=="number")return T!==null?null:s(y,b,""+w,S);if(typeof w=="object"&&w!==null){switch(w.$$typeof){case Nu:return w.key===T?l(y,b,w,S):null;case ts:return w.key===T?c(y,b,w,S):null;case ui:return T=w._init,f(y,b,T(w._payload),S)}if(Hl(w)||gl(w))return T!==null?null:u(y,b,w,S,null);Gu(y,w)}return null}function m(y,b,w,S,T){if(typeof S=="string"&&S!==""||typeof S=="number")return y=y.get(w)||null,s(b,y,""+S,T);if(typeof S=="object"&&S!==null){switch(S.$$typeof){case Nu:return y=y.get(S.key===null?w:S.key)||null,l(b,y,S,T);case ts:return y=y.get(S.key===null?w:S.key)||null,c(b,y,S,T);case ui:var R=S._init;return m(y,b,w,R(S._payload),T)}if(Hl(S)||gl(S))return y=y.get(w)||null,u(b,y,S,T,null);Gu(b,S)}return null}function v(y,b,w,S){for(var T=null,R=null,E=b,A=b=0,P=null;E!==null&&A<w.length;A++){E.index>A?(P=E,E=null):P=E.sibling;var M=f(y,E,w[A],S);if(M===null){E===null&&(E=P);break}e&&E&&M.alternate===null&&t(y,E),b=i(M,b,A),R===null?T=M:R.sibling=M,R=M,E=P}if(A===w.length)return r(y,E),xt&&Qi(y,A),T;if(E===null){for(;A<w.length;A++)E=p(y,w[A],S),E!==null&&(b=i(E,b,A),R===null?T=E:R.sibling=E,R=E);return xt&&Qi(y,A),T}for(E=n(y,E);A<w.length;A++)P=m(E,y,A,w[A],S),P!==null&&(e&&P.alternate!==null&&E.delete(P.key===null?A:P.key),b=i(P,b,A),R===null?T=P:R.sibling=P,R=P);return e&&E.forEach(function(O){return t(y,O)}),xt&&Qi(y,A),T}function h(y,b,w,S){var T=gl(w);if(typeof T!="function")throw Error(X(150));if(w=T.call(w),w==null)throw Error(X(151));for(var R=T=null,E=b,A=b=0,P=null,M=w.next();E!==null&&!M.done;A++,M=w.next()){E.index>A?(P=E,E=null):P=E.sibling;var O=f(y,E,M.value,S);if(O===null){E===null&&(E=P);break}e&&E&&O.alternate===null&&t(y,E),b=i(O,b,A),R===null?T=O:R.sibling=O,R=O,E=P}if(M.done)return r(y,E),xt&&Qi(y,A),T;if(E===null){for(;!M.done;A++,M=w.next())M=p(y,M.value,S),M!==null&&(b=i(M,b,A),R===null?T=M:R.sibling=M,R=M);return xt&&Qi(y,A),T}for(E=n(y,E);!M.done;A++,M=w.next())M=m(E,y,A,M.value,S),M!==null&&(e&&M.alternate!==null&&E.delete(M.key===null?A:M.key),b=i(M,b,A),R===null?T=M:R.sibling=M,R=M);return e&&E.forEach(function(F){return t(y,F)}),xt&&Qi(y,A),T}function x(y,b,w,S){if(typeof w=="object"&&w!==null&&w.type===rs&&w.key===null&&(w=w.props.children),typeof w=="object"&&w!==null){switch(w.$$typeof){case Nu:e:{for(var T=w.key,R=b;R!==null;){if(R.key===T){if(T=w.type,T===rs){if(R.tag===7){r(y,R.sibling),b=o(R,w.props.children),b.return=y,y=b;break e}}else if(R.elementType===T||typeof T=="object"&&T!==null&&T.$$typeof===ui&&Ob(T)===R.type){r(y,R.sibling),b=o(R,w.props),b.ref=wl(y,R,w),b.return=y,y=b;break e}r(y,R);break}else t(y,R);R=R.sibling}w.type===rs?(b=ia(w.props.children,y.mode,S,w.key),b.return=y,y=b):(S=Nd(w.type,w.key,w.props,null,y.mode,S),S.ref=wl(y,b,w),S.return=y,y=S)}return a(y);case ts:e:{for(R=w.key;b!==null;){if(b.key===R)if(b.tag===4&&b.stateNode.containerInfo===w.containerInfo&&b.stateNode.implementation===w.implementation){r(y,b.sibling),b=o(b,w.children||[]),b.return=y,y=b;break e}else{r(y,b);break}else t(y,b);b=b.sibling}b=xm(w,y.mode,S),b.return=y,y=b}return a(y);case ui:return R=w._init,x(y,b,R(w._payload),S)}if(Hl(w))return v(y,b,w,S);if(gl(w))return h(y,b,w,S);Gu(y,w)}return typeof w=="string"&&w!==""||typeof w=="number"?(w=""+w,b!==null&&b.tag===6?(r(y,b.sibling),b=o(b,w),b.return=y,y=b):(r(y,b),b=bm(w,y.mode,S),b.return=y,y=b),a(y)):r(y,b)}return x}var Ls=rR(!0),nR=rR(!1),hp=$i(null),mp=null,us=null,ay=null;function sy(){ay=us=mp=null}function ly(e){var t=hp.current;mt(hp),e._currentValue=t}function f0(e,t,r){for(;e!==null;){var n=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,n!==null&&(n.childLanes|=t)):n!==null&&(n.childLanes&t)!==t&&(n.childLanes|=t),e===r)break;e=e.return}}function ws(e,t){mp=e,ay=us=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(Fr=!0),e.firstContext=null)}function An(e){var t=e._currentValue;if(ay!==e)if(e={context:e,memoizedValue:t,next:null},us===null){if(mp===null)throw Error(X(308));us=e,mp.dependencies={lanes:0,firstContext:e}}else us=us.next=e;return t}var Ji=null;function cy(e){Ji===null?Ji=[e]:Ji.push(e)}function oR(e,t,r,n){var o=t.interleaved;return o===null?(r.next=r,cy(t)):(r.next=o.next,o.next=r),t.interleaved=r,Xo(e,n)}function Xo(e,t){e.lanes|=t;var r=e.alternate;for(r!==null&&(r.lanes|=t),r=e,e=e.return;e!==null;)e.childLanes|=t,r=e.alternate,r!==null&&(r.childLanes|=t),r=e,e=e.return;return r.tag===3?r.stateNode:null}var di=!1;function uy(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function iR(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Qo(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Ci(e,t,r){var n=e.updateQueue;if(n===null)return null;if(n=n.shared,Ve&2){var o=n.pending;return o===null?t.next=t:(t.next=o.next,o.next=t),n.pending=t,Xo(e,r)}return o=n.interleaved,o===null?(t.next=t,cy(n)):(t.next=o.next,o.next=t),n.interleaved=t,Xo(e,r)}function kd(e,t,r){if(t=t.updateQueue,t!==null&&(t=t.shared,(r&4194240)!==0)){var n=t.lanes;n&=e.pendingLanes,r|=n,t.lanes=r,Yv(e,r)}}function Lb(e,t){var r=e.updateQueue,n=e.alternate;if(n!==null&&(n=n.updateQueue,r===n)){var o=null,i=null;if(r=r.firstBaseUpdate,r!==null){do{var a={eventTime:r.eventTime,lane:r.lane,tag:r.tag,payload:r.payload,callback:r.callback,next:null};i===null?o=i=a:i=i.next=a,r=r.next}while(r!==null);i===null?o=i=t:i=i.next=t}else o=i=t;r={baseState:n.baseState,firstBaseUpdate:o,lastBaseUpdate:i,shared:n.shared,effects:n.effects},e.updateQueue=r;return}e=r.lastBaseUpdate,e===null?r.firstBaseUpdate=t:e.next=t,r.lastBaseUpdate=t}function gp(e,t,r,n){var o=e.updateQueue;di=!1;var i=o.firstBaseUpdate,a=o.lastBaseUpdate,s=o.shared.pending;if(s!==null){o.shared.pending=null;var l=s,c=l.next;l.next=null,a===null?i=c:a.next=c,a=l;var u=e.alternate;u!==null&&(u=u.updateQueue,s=u.lastBaseUpdate,s!==a&&(s===null?u.firstBaseUpdate=c:s.next=c,u.lastBaseUpdate=l))}if(i!==null){var p=o.baseState;a=0,u=c=l=null,s=i;do{var f=s.lane,m=s.eventTime;if((n&f)===f){u!==null&&(u=u.next={eventTime:m,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});e:{var v=e,h=s;switch(f=t,m=r,h.tag){case 1:if(v=h.payload,typeof v=="function"){p=v.call(m,p,f);break e}p=v;break e;case 3:v.flags=v.flags&-65537|128;case 0:if(v=h.payload,f=typeof v=="function"?v.call(m,p,f):v,f==null)break e;p=Rt({},p,f);break e;case 2:di=!0}}s.callback!==null&&s.lane!==0&&(e.flags|=64,f=o.effects,f===null?o.effects=[s]:f.push(s))}else m={eventTime:m,lane:f,tag:s.tag,payload:s.payload,callback:s.callback,next:null},u===null?(c=u=m,l=p):u=u.next=m,a|=f;if(s=s.next,s===null){if(s=o.shared.pending,s===null)break;f=s,s=f.next,f.next=null,o.lastBaseUpdate=f,o.shared.pending=null}}while(!0);if(u===null&&(l=p),o.baseState=l,o.firstBaseUpdate=c,o.lastBaseUpdate=u,t=o.shared.interleaved,t!==null){o=t;do a|=o.lane,o=o.next;while(o!==t)}else i===null&&(o.shared.lanes=0);pa|=a,e.lanes=a,e.memoizedState=p}}function Nb(e,t,r){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var n=e[t],o=n.callback;if(o!==null){if(n.callback=null,n=r,typeof o!="function")throw Error(X(191,o));o.call(n)}}}var ou={},So=$i(ou),Tc=$i(ou),Rc=$i(ou);function ea(e){if(e===ou)throw Error(X(174));return e}function dy(e,t){switch(ut(Rc,t),ut(Tc,e),ut(So,ou),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:qg(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=qg(t,e)}mt(So),ut(So,t)}function Ns(){mt(So),mt(Tc),mt(Rc)}function aR(e){ea(Rc.current);var t=ea(So.current),r=qg(t,e.type);t!==r&&(ut(Tc,e),ut(So,r))}function py(e){Tc.current===e&&(mt(So),mt(Tc))}var Et=$i(0);function vp(e){for(var t=e;t!==null;){if(t.tag===13){var r=t.memoizedState;if(r!==null&&(r=r.dehydrated,r===null||r.data==="$?"||r.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;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 fm=[];function fy(){for(var e=0;e<fm.length;e++)fm[e]._workInProgressVersionPrimary=null;fm.length=0}var Id=ni.ReactCurrentDispatcher,hm=ni.ReactCurrentBatchConfig,da=0,Tt=null,zt=null,Qt=null,yp=!1,Zl=!1,_c=0,o4=0;function cr(){throw Error(X(321))}function hy(e,t){if(t===null)return!1;for(var r=0;r<t.length&&r<e.length;r++)if(!to(e[r],t[r]))return!1;return!0}function my(e,t,r,n,o,i){if(da=i,Tt=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Id.current=e===null||e.memoizedState===null?l4:c4,e=r(n,o),Zl){i=0;do{if(Zl=!1,_c=0,25<=i)throw Error(X(301));i+=1,Qt=zt=null,t.updateQueue=null,Id.current=u4,e=r(n,o)}while(Zl)}if(Id.current=bp,t=zt!==null&&zt.next!==null,da=0,Qt=zt=Tt=null,yp=!1,t)throw Error(X(300));return e}function gy(){var e=_c!==0;return _c=0,e}function lo(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Qt===null?Tt.memoizedState=Qt=e:Qt=Qt.next=e,Qt}function kn(){if(zt===null){var e=Tt.alternate;e=e!==null?e.memoizedState:null}else e=zt.next;var t=Qt===null?Tt.memoizedState:Qt.next;if(t!==null)Qt=t,zt=e;else{if(e===null)throw Error(X(310));zt=e,e={memoizedState:zt.memoizedState,baseState:zt.baseState,baseQueue:zt.baseQueue,queue:zt.queue,next:null},Qt===null?Tt.memoizedState=Qt=e:Qt=Qt.next=e}return Qt}function Ac(e,t){return typeof t=="function"?t(e):t}function mm(e){var t=kn(),r=t.queue;if(r===null)throw Error(X(311));r.lastRenderedReducer=e;var n=zt,o=n.baseQueue,i=r.pending;if(i!==null){if(o!==null){var a=o.next;o.next=i.next,i.next=a}n.baseQueue=o=i,r.pending=null}if(o!==null){i=o.next,n=n.baseState;var s=a=null,l=null,c=i;do{var u=c.lane;if((da&u)===u)l!==null&&(l=l.next={lane:0,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),n=c.hasEagerState?c.eagerState:e(n,c.action);else{var p={lane:u,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null};l===null?(s=l=p,a=n):l=l.next=p,Tt.lanes|=u,pa|=u}c=c.next}while(c!==null&&c!==i);l===null?a=n:l.next=s,to(n,t.memoizedState)||(Fr=!0),t.memoizedState=n,t.baseState=a,t.baseQueue=l,r.lastRenderedState=n}if(e=r.interleaved,e!==null){o=e;do i=o.lane,Tt.lanes|=i,pa|=i,o=o.next;while(o!==e)}else o===null&&(r.lanes=0);return[t.memoizedState,r.dispatch]}function gm(e){var t=kn(),r=t.queue;if(r===null)throw Error(X(311));r.lastRenderedReducer=e;var n=r.dispatch,o=r.pending,i=t.memoizedState;if(o!==null){r.pending=null;var a=o=o.next;do i=e(i,a.action),a=a.next;while(a!==o);to(i,t.memoizedState)||(Fr=!0),t.memoizedState=i,t.baseQueue===null&&(t.baseState=i),r.lastRenderedState=i}return[i,n]}function sR(){}function lR(e,t){var r=Tt,n=kn(),o=t(),i=!to(n.memoizedState,o);if(i&&(n.memoizedState=o,Fr=!0),n=n.queue,vy(dR.bind(null,r,n,e),[e]),n.getSnapshot!==t||i||Qt!==null&&Qt.memoizedState.tag&1){if(r.flags|=2048,kc(9,uR.bind(null,r,n,o,t),void 0,null),Kt===null)throw Error(X(349));da&30||cR(r,t,o)}return o}function cR(e,t,r){e.flags|=16384,e={getSnapshot:t,value:r},t=Tt.updateQueue,t===null?(t={lastEffect:null,stores:null},Tt.updateQueue=t,t.stores=[e]):(r=t.stores,r===null?t.stores=[e]:r.push(e))}function uR(e,t,r,n){t.value=r,t.getSnapshot=n,pR(t)&&fR(e)}function dR(e,t,r){return r(function(){pR(t)&&fR(e)})}function pR(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!to(e,r)}catch{return!0}}function fR(e){var t=Xo(e,1);t!==null&&eo(t,e,1,-1)}function $b(e){var t=lo();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Ac,lastRenderedState:e},t.queue=e,e=e.dispatch=s4.bind(null,Tt,e),[t.memoizedState,e]}function kc(e,t,r,n){return e={tag:e,create:t,destroy:r,deps:n,next:null},t=Tt.updateQueue,t===null?(t={lastEffect:null,stores:null},Tt.updateQueue=t,t.lastEffect=e.next=e):(r=t.lastEffect,r===null?t.lastEffect=e.next=e:(n=r.next,r.next=e,e.next=n,t.lastEffect=e)),e}function hR(){return kn().memoizedState}function Md(e,t,r,n){var o=lo();Tt.flags|=e,o.memoizedState=kc(1|t,r,void 0,n===void 0?null:n)}function sf(e,t,r,n){var o=kn();n=n===void 0?null:n;var i=void 0;if(zt!==null){var a=zt.memoizedState;if(i=a.destroy,n!==null&&hy(n,a.deps)){o.memoizedState=kc(t,r,i,n);return}}Tt.flags|=e,o.memoizedState=kc(1|t,r,i,n)}function Db(e,t){return Md(8390656,8,e,t)}function vy(e,t){return sf(2048,8,e,t)}function mR(e,t){return sf(4,2,e,t)}function gR(e,t){return sf(4,4,e,t)}function vR(e,t){if(typeof t=="function")return e=e(),t(e),function(){t(null)};if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function yR(e,t,r){return r=r!=null?r.concat([e]):null,sf(4,4,vR.bind(null,t,e),r)}function yy(){}function bR(e,t){var r=kn();t=t===void 0?null:t;var n=r.memoizedState;return n!==null&&t!==null&&hy(t,n[1])?n[0]:(r.memoizedState=[e,t],e)}function xR(e,t){var r=kn();t=t===void 0?null:t;var n=r.memoizedState;return n!==null&&t!==null&&hy(t,n[1])?n[0]:(e=e(),r.memoizedState=[e,t],e)}function wR(e,t,r){return da&21?(to(r,t)||(r=RT(),Tt.lanes|=r,pa|=r,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,Fr=!0),e.memoizedState=r)}function i4(e,t){var r=et;et=r!==0&&4>r?r:4,e(!0);var n=hm.transition;hm.transition={};try{e(!1),t()}finally{et=r,hm.transition=n}}function SR(){return kn().memoizedState}function a4(e,t,r){var n=Ri(e);if(r={lane:n,action:r,hasEagerState:!1,eagerState:null,next:null},ER(e))CR(t,r);else if(r=oR(e,t,r,n),r!==null){var o=Ir();eo(r,e,n,o),TR(r,t,n)}}function s4(e,t,r){var n=Ri(e),o={lane:n,action:r,hasEagerState:!1,eagerState:null,next:null};if(ER(e))CR(t,o);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var a=t.lastRenderedState,s=i(a,r);if(o.hasEagerState=!0,o.eagerState=s,to(s,a)){var l=t.interleaved;l===null?(o.next=o,cy(t)):(o.next=l.next,l.next=o),t.interleaved=o;return}}catch{}finally{}r=oR(e,t,o,n),r!==null&&(o=Ir(),eo(r,e,n,o),TR(r,t,n))}}function ER(e){var t=e.alternate;return e===Tt||t!==null&&t===Tt}function CR(e,t){Zl=yp=!0;var r=e.pending;r===null?t.next=t:(t.next=r.next,r.next=t),e.pending=t}function TR(e,t,r){if(r&4194240){var n=t.lanes;n&=e.pendingLanes,r|=n,t.lanes=r,Yv(e,r)}}var bp={readContext:An,useCallback:cr,useContext:cr,useEffect:cr,useImperativeHandle:cr,useInsertionEffect:cr,useLayoutEffect:cr,useMemo:cr,useReducer:cr,useRef:cr,useState:cr,useDebugValue:cr,useDeferredValue:cr,useTransition:cr,useMutableSource:cr,useSyncExternalStore:cr,useId:cr,unstable_isNewReconciler:!1},l4={readContext:An,useCallback:function(e,t){return lo().memoizedState=[e,t===void 0?null:t],e},useContext:An,useEffect:Db,useImperativeHandle:function(e,t,r){return r=r!=null?r.concat([e]):null,Md(4194308,4,vR.bind(null,t,e),r)},useLayoutEffect:function(e,t){return Md(4194308,4,e,t)},useInsertionEffect:function(e,t){return Md(4,2,e,t)},useMemo:function(e,t){var r=lo();return t=t===void 0?null:t,e=e(),r.memoizedState=[e,t],e},useReducer:function(e,t,r){var n=lo();return t=r!==void 0?r(t):t,n.memoizedState=n.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},n.queue=e,e=e.dispatch=a4.bind(null,Tt,e),[n.memoizedState,e]},useRef:function(e){var t=lo();return e={current:e},t.memoizedState=e},useState:$b,useDebugValue:yy,useDeferredValue:function(e){return lo().memoizedState=e},useTransition:function(){var e=$b(!1),t=e[0];return e=i4.bind(null,e[1]),lo().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,r){var n=Tt,o=lo();if(xt){if(r===void 0)throw Error(X(407));r=r()}else{if(r=t(),Kt===null)throw Error(X(349));da&30||cR(n,t,r)}o.memoizedState=r;var i={value:r,getSnapshot:t};return o.queue=i,Db(dR.bind(null,n,i,e),[e]),n.flags|=2048,kc(9,uR.bind(null,n,i,r,t),void 0,null),r},useId:function(){var e=lo(),t=Kt.identifierPrefix;if(xt){var r=Go,n=Wo;r=(n&~(1<<32-Jn(n)-1)).toString(32)+r,t=":"+t+"R"+r,r=_c++,0<r&&(t+="H"+r.toString(32)),t+=":"}else r=o4++,t=":"+t+"r"+r.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},c4={readContext:An,useCallback:bR,useContext:An,useEffect:vy,useImperativeHandle:yR,useInsertionEffect:mR,useLayoutEffect:gR,useMemo:xR,useReducer:mm,useRef:hR,useState:function(){return mm(Ac)},useDebugValue:yy,useDeferredValue:function(e){var t=kn();return wR(t,zt.memoizedState,e)},useTransition:function(){var e=mm(Ac)[0],t=kn().memoizedState;return[e,t]},useMutableSource:sR,useSyncExternalStore:lR,useId:SR,unstable_isNewReconciler:!1},u4={readContext:An,useCallback:bR,useContext:An,useEffect:vy,useImperativeHandle:yR,useInsertionEffect:mR,useLayoutEffect:gR,useMemo:xR,useReducer:gm,useRef:hR,useState:function(){return gm(Ac)},useDebugValue:yy,useDeferredValue:function(e){var t=kn();return zt===null?t.memoizedState=e:wR(t,zt.memoizedState,e)},useTransition:function(){var e=gm(Ac)[0],t=kn().memoizedState;return[e,t]},useMutableSource:sR,useSyncExternalStore:lR,useId:SR,unstable_isNewReconciler:!1};function Wn(e,t){if(e&&e.defaultProps){t=Rt({},t),e=e.defaultProps;for(var r in e)t[r]===void 0&&(t[r]=e[r]);return t}return t}function h0(e,t,r,n){t=e.memoizedState,r=r(n,t),r=r==null?t:Rt({},t,r),e.memoizedState=r,e.lanes===0&&(e.updateQueue.baseState=r)}var lf={isMounted:function(e){return(e=e._reactInternals)?wa(e)===e:!1},enqueueSetState:function(e,t,r){e=e._reactInternals;var n=Ir(),o=Ri(e),i=Qo(n,o);i.payload=t,r!=null&&(i.callback=r),t=Ci(e,i,o),t!==null&&(eo(t,e,o,n),kd(t,e,o))},enqueueReplaceState:function(e,t,r){e=e._reactInternals;var n=Ir(),o=Ri(e),i=Qo(n,o);i.tag=1,i.payload=t,r!=null&&(i.callback=r),t=Ci(e,i,o),t!==null&&(eo(t,e,o,n),kd(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var r=Ir(),n=Ri(e),o=Qo(r,n);o.tag=2,t!=null&&(o.callback=t),t=Ci(e,o,n),t!==null&&(eo(t,e,n,r),kd(t,e,n))}};function jb(e,t,r,n,o,i,a){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(n,i,a):t.prototype&&t.prototype.isPureReactComponent?!wc(r,n)||!wc(o,i):!0}function RR(e,t,r){var n=!1,o=Ii,i=t.contextType;return typeof i=="object"&&i!==null?i=An(i):(o=Hr(t)?ca:br.current,n=t.contextTypes,i=(n=n!=null)?Ps(e,o):Ii),t=new t(r,i),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=lf,e.stateNode=t,t._reactInternals=e,n&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=i),t}function Fb(e,t,r,n){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(r,n),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(r,n),t.state!==e&&lf.enqueueReplaceState(t,t.state,null)}function m0(e,t,r,n){var o=e.stateNode;o.props=r,o.state=e.memoizedState,o.refs={},uy(e);var i=t.contextType;typeof i=="object"&&i!==null?o.context=An(i):(i=Hr(t)?ca:br.current,o.context=Ps(e,i)),o.state=e.memoizedState,i=t.getDerivedStateFromProps,typeof i=="function"&&(h0(e,t,i,r),o.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof o.getSnapshotBeforeUpdate=="function"||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(t=o.state,typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount(),t!==o.state&&lf.enqueueReplaceState(o,o.state,null),gp(e,r,o,n),o.state=e.memoizedState),typeof o.componentDidMount=="function"&&(e.flags|=4194308)}function $s(e,t){try{var r="",n=t;do r+=jP(n),n=n.return;while(n);var o=r}catch(i){o=`
Error generating stack: `+i.message+`
`+i.stack}return{value:e,source:t,stack:o,digest:null}}function vm(e,t,r){return{value:e,source:null,stack:r??null,digest:t??null}}function g0(e,t){try{console.error(t.value)}catch(r){setTimeout(function(){throw r})}}var d4=typeof WeakMap=="function"?WeakMap:Map;function _R(e,t,r){r=Qo(-1,r),r.tag=3,r.payload={element:null};var n=t.value;return r.callback=function(){wp||(wp=!0,R0=n),g0(e,t)},r}function AR(e,t,r){r=Qo(-1,r),r.tag=3;var n=e.type.getDerivedStateFromError;if(typeof n=="function"){var o=t.value;r.payload=function(){return n(o)},r.callback=function(){g0(e,t)}}var i=e.stateNode;return i!==null&&typeof i.componentDidCatch=="function"&&(r.callback=function(){g0(e,t),typeof n!="function"&&(Ti===null?Ti=new Set([this]):Ti.add(this));var a=t.stack;this.componentDidCatch(t.value,{componentStack:a!==null?a:""})}),r}function Bb(e,t,r){var n=e.pingCache;if(n===null){n=e.pingCache=new d4;var o=new Set;n.set(t,o)}else o=n.get(t),o===void 0&&(o=new Set,n.set(t,o));o.has(r)||(o.add(r),e=T4.bind(null,e,t,r),t.then(e,e))}function Hb(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function Ub(e,t,r,n,o){return e.mode&1?(e.flags|=65536,e.lanes=o,e):(e===t?e.flags|=65536:(e.flags|=128,r.flags|=131072,r.flags&=-52805,r.tag===1&&(r.alternate===null?r.tag=17:(t=Qo(-1,1),t.tag=2,Ci(r,t,1))),r.lanes|=1),e)}var p4=ni.ReactCurrentOwner,Fr=!1;function Tr(e,t,r,n){t.child=e===null?nR(t,null,r,n):Ls(t,e.child,r,n)}function zb(e,t,r,n,o){r=r.render;var i=t.ref;return ws(t,o),n=my(e,t,r,n,i,o),r=gy(),e!==null&&!Fr?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Jo(e,t,o)):(xt&&r&&ny(t),t.flags|=1,Tr(e,t,n,o),t.child)}function Vb(e,t,r,n,o){if(e===null){var i=r.type;return typeof i=="function"&&!Ry(i)&&i.defaultProps===void 0&&r.compare===null&&r.defaultProps===void 0?(t.tag=15,t.type=i,kR(e,t,i,n,o)):(e=Nd(r.type,null,n,t,t.mode,o),e.ref=t.ref,e.return=t,t.child=e)}if(i=e.child,!(e.lanes&o)){var a=i.memoizedProps;if(r=r.compare,r=r!==null?r:wc,r(a,n)&&e.ref===t.ref)return Jo(e,t,o)}return t.flags|=1,e=_i(i,n),e.ref=t.ref,e.return=t,t.child=e}function kR(e,t,r,n,o){if(e!==null){var i=e.memoizedProps;if(wc(i,n)&&e.ref===t.ref)if(Fr=!1,t.pendingProps=n=i,(e.lanes&o)!==0)e.flags&131072&&(Fr=!0);else return t.lanes=e.lanes,Jo(e,t,o)}return v0(e,t,r,n,o)}function IR(e,t,r){var n=t.pendingProps,o=n.children,i=e!==null?e.memoizedState:null;if(n.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},ut(ps,rn),rn|=r;else{if(!(r&1073741824))return e=i!==null?i.baseLanes|r:r,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,ut(ps,rn),rn|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},n=i!==null?i.baseLanes:r,ut(ps,rn),rn|=n}else i!==null?(n=i.baseLanes|r,t.memoizedState=null):n=r,ut(ps,rn),rn|=n;return Tr(e,t,o,r),t.child}function MR(e,t){var r=t.ref;(e===null&&r!==null||e!==null&&e.ref!==r)&&(t.flags|=512,t.flags|=2097152)}function v0(e,t,r,n,o){var i=Hr(r)?ca:br.current;return i=Ps(t,i),ws(t,o),r=my(e,t,r,n,i,o),n=gy(),e!==null&&!Fr?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Jo(e,t,o)):(xt&&n&&ny(t),t.flags|=1,Tr(e,t,r,o),t.child)}function Wb(e,t,r,n,o){if(Hr(r)){var i=!0;dp(t)}else i=!1;if(ws(t,o),t.stateNode===null)Pd(e,t),RR(t,r,n),m0(t,r,n,o),n=!0;else if(e===null){var a=t.stateNode,s=t.memoizedProps;a.props=s;var l=a.context,c=r.contextType;typeof c=="object"&&c!==null?c=An(c):(c=Hr(r)?ca:br.current,c=Ps(t,c));var u=r.getDerivedStateFromProps,p=typeof u=="function"||typeof a.getSnapshotBeforeUpdate=="function";p||typeof a.UNSAFE_componentWillReceiveProps!="function"&&typeof a.componentWillReceiveProps!="function"||(s!==n||l!==c)&&Fb(t,a,n,c),di=!1;var f=t.memoizedState;a.state=f,gp(t,n,a,o),l=t.memoizedState,s!==n||f!==l||Br.current||di?(typeof u=="function"&&(h0(t,r,u,n),l=t.memoizedState),(s=di||jb(t,r,s,n,f,l,c))?(p||typeof a.UNSAFE_componentWillMount!="function"&&typeof a.componentWillMount!="function"||(typeof a.componentWillMount=="function"&&a.componentWillMount(),typeof a.UNSAFE_componentWillMount=="function"&&a.UNSAFE_componentWillMount()),typeof a.componentDidMount=="function"&&(t.flags|=4194308)):(typeof a.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=n,t.memoizedState=l),a.props=n,a.state=l,a.context=c,n=s):(typeof a.componentDidMount=="function"&&(t.flags|=4194308),n=!1)}else{a=t.stateNode,iR(e,t),s=t.memoizedProps,c=t.type===t.elementType?s:Wn(t.type,s),a.props=c,p=t.pendingProps,f=a.context,l=r.contextType,typeof l=="object"&&l!==null?l=An(l):(l=Hr(r)?ca:br.current,l=Ps(t,l));var m=r.getDerivedStateFromProps;(u=typeof m=="function"||typeof a.getSnapshotBeforeUpdate=="function")||typeof a.UNSAFE_componentWillReceiveProps!="function"&&typeof a.componentWillReceiveProps!="function"||(s!==p||f!==l)&&Fb(t,a,n,l),di=!1,f=t.memoizedState,a.state=f,gp(t,n,a,o);var v=t.memoizedState;s!==p||f!==v||Br.current||di?(typeof m=="function"&&(h0(t,r,m,n),v=t.memoizedState),(c=di||jb(t,r,c,n,f,v,l)||!1)?(u||typeof a.UNSAFE_componentWillUpdate!="function"&&typeof a.componentWillUpdate!="function"||(typeof a.componentWillUpdate=="function"&&a.componentWillUpdate(n,v,l),typeof a.UNSAFE_componentWillUpdate=="function"&&a.UNSAFE_componentWillUpdate(n,v,l)),typeof a.componentDidUpdate=="function"&&(t.flags|=4),typeof a.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof a.componentDidUpdate!="function"||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!="function"||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=n,t.memoizedState=v),a.props=n,a.state=v,a.context=l,n=c):(typeof a.componentDidUpdate!="function"||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!="function"||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),n=!1)}return y0(e,t,r,n,i,o)}function y0(e,t,r,n,o,i){MR(e,t);var a=(t.flags&128)!==0;if(!n&&!a)return o&&Ib(t,r,!1),Jo(e,t,i);n=t.stateNode,p4.current=t;var s=a&&typeof r.getDerivedStateFromError!="function"?null:n.render();return t.flags|=1,e!==null&&a?(t.child=Ls(t,e.child,null,i),t.child=Ls(t,null,s,i)):Tr(e,t,s,i),t.memoizedState=n.state,o&&Ib(t,r,!0),t.child}function PR(e){var t=e.stateNode;t.pendingContext?kb(e,t.pendingContext,t.pendingContext!==t.context):t.context&&kb(e,t.context,!1),dy(e,t.containerInfo)}function Gb(e,t,r,n,o){return Os(),iy(o),t.flags|=256,Tr(e,t,r,n),t.child}var b0={dehydrated:null,treeContext:null,retryLane:0};function x0(e){return{baseLanes:e,cachePool:null,transitions:null}}function OR(e,t,r){var n=t.pendingProps,o=Et.current,i=!1,a=(t.flags&128)!==0,s;if((s=a)||(s=e!==null&&e.memoizedState===null?!1:(o&2)!==0),s?(i=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(o|=1),ut(Et,o&1),e===null)return p0(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(t.mode&1?e.data==="$!"?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(a=n.children,e=n.fallback,i?(n=t.mode,i=t.child,a={mode:"hidden",children:a},!(n&1)&&i!==null?(i.childLanes=0,i.pendingProps=a):i=df(a,n,0,null),e=ia(e,n,r,null),i.return=t,e.return=t,i.sibling=e,t.child=i,t.child.memoizedState=x0(r),t.memoizedState=b0,e):by(t,a));if(o=e.memoizedState,o!==null&&(s=o.dehydrated,s!==null))return f4(e,t,a,n,s,o,r);if(i){i=n.fallback,a=t.mode,o=e.child,s=o.sibling;var l={mode:"hidden",children:n.children};return!(a&1)&&t.child!==o?(n=t.child,n.childLanes=0,n.pendingProps=l,t.deletions=null):(n=_i(o,l),n.subtreeFlags=o.subtreeFlags&14680064),s!==null?i=_i(s,i):(i=ia(i,a,r,null),i.flags|=2),i.return=t,n.return=t,n.sibling=i,t.child=n,n=i,i=t.child,a=e.child.memoizedState,a=a===null?x0(r):{baseLanes:a.baseLanes|r,cachePool:null,transitions:a.transitions},i.memoizedState=a,i.childLanes=e.childLanes&~r,t.memoizedState=b0,n}return i=e.child,e=i.sibling,n=_i(i,{mode:"visible",children:n.children}),!(t.mode&1)&&(n.lanes=r),n.return=t,n.sibling=null,e!==null&&(r=t.deletions,r===null?(t.deletions=[e],t.flags|=16):r.push(e)),t.child=n,t.memoizedState=null,n}function by(e,t){return t=df({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function qu(e,t,r,n){return n!==null&&iy(n),Ls(t,e.child,null,r),e=by(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function f4(e,t,r,n,o,i,a){if(r)return t.flags&256?(t.flags&=-257,n=vm(Error(X(422))),qu(e,t,a,n)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(i=n.fallback,o=t.mode,n=df({mode:"visible",children:n.children},o,0,null),i=ia(i,o,a,null),i.flags|=2,n.return=t,i.return=t,n.sibling=i,t.child=n,t.mode&1&&Ls(t,e.child,null,a),t.child.memoizedState=x0(a),t.memoizedState=b0,i);if(!(t.mode&1))return qu(e,t,a,null);if(o.data==="$!"){if(n=o.nextSibling&&o.nextSibling.dataset,n)var s=n.dgst;return n=s,i=Error(X(419)),n=vm(i,n,void 0),qu(e,t,a,n)}if(s=(a&e.childLanes)!==0,Fr||s){if(n=Kt,n!==null){switch(a&-a){case 4:o=2;break;case 16:o=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:o=32;break;case 536870912:o=268435456;break;default:o=0}o=o&(n.suspendedLanes|a)?0:o,o!==0&&o!==i.retryLane&&(i.retryLane=o,Xo(e,o),eo(n,e,o,-1))}return Ty(),n=vm(Error(X(421))),qu(e,t,a,n)}return o.data==="$?"?(t.flags|=128,t.child=e.child,t=R4.bind(null,e),o._reactRetry=t,null):(e=i.treeContext,an=Ei(o.nextSibling),sn=t,xt=!0,qn=null,e!==null&&(Sn[En++]=Wo,Sn[En++]=Go,Sn[En++]=ua,Wo=e.id,Go=e.overflow,ua=t),t=by(t,n.children),t.flags|=4096,t)}function qb(e,t,r){e.lanes|=t;var n=e.alternate;n!==null&&(n.lanes|=t),f0(e.return,t,r)}function ym(e,t,r,n,o){var i=e.memoizedState;i===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:n,tail:r,tailMode:o}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=n,i.tail=r,i.tailMode=o)}function LR(e,t,r){var n=t.pendingProps,o=n.revealOrder,i=n.tail;if(Tr(e,t,n.children,r),n=Et.current,n&2)n=n&1|2,t.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&qb(e,r,t);else if(e.tag===19)qb(e,r,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}n&=1}if(ut(Et,n),!(t.mode&1))t.memoizedState=null;else switch(o){case"forwards":for(r=t.child,o=null;r!==null;)e=r.alternate,e!==null&&vp(e)===null&&(o=r),r=r.sibling;r=o,r===null?(o=t.child,t.child=null):(o=r.sibling,r.sibling=null),ym(t,!1,o,r,i);break;case"backwards":for(r=null,o=t.child,t.child=null;o!==null;){if(e=o.alternate,e!==null&&vp(e)===null){t.child=o;break}e=o.sibling,o.sibling=r,r=o,o=e}ym(t,!0,r,null,i);break;case"together":ym(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Pd(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Jo(e,t,r){if(e!==null&&(t.dependencies=e.dependencies),pa|=t.lanes,!(r&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(X(153));if(t.child!==null){for(e=t.child,r=_i(e,e.pendingProps),t.child=r,r.return=t;e.sibling!==null;)e=e.sibling,r=r.sibling=_i(e,e.pendingProps),r.return=t;r.sibling=null}return t.child}function h4(e,t,r){switch(t.tag){case 3:PR(t),Os();break;case 5:aR(t);break;case 1:Hr(t.type)&&dp(t);break;case 4:dy(t,t.stateNode.containerInfo);break;case 10:var n=t.type._context,o=t.memoizedProps.value;ut(hp,n._currentValue),n._currentValue=o;break;case 13:if(n=t.memoizedState,n!==null)return n.dehydrated!==null?(ut(Et,Et.current&1),t.flags|=128,null):r&t.child.childLanes?OR(e,t,r):(ut(Et,Et.current&1),e=Jo(e,t,r),e!==null?e.sibling:null);ut(Et,Et.current&1);break;case 19:if(n=(r&t.childLanes)!==0,e.flags&128){if(n)return LR(e,t,r);t.flags|=128}if(o=t.memoizedState,o!==null&&(o.rendering=null,o.tail=null,o.lastEffect=null),ut(Et,Et.current),n)break;return null;case 22:case 23:return t.lanes=0,IR(e,t,r)}return Jo(e,t,r)}var NR,w0,$R,DR;NR=function(e,t){for(var r=t.child;r!==null;){if(r.tag===5||r.tag===6)e.appendChild(r.stateNode);else if(r.tag!==4&&r.child!==null){r.child.return=r,r=r.child;continue}if(r===t)break;for(;r.sibling===null;){if(r.return===null||r.return===t)return;r=r.return}r.sibling.return=r.return,r=r.sibling}};w0=function(){};$R=function(e,t,r,n){var o=e.memoizedProps;if(o!==n){e=t.stateNode,ea(So.current);var i=null;switch(r){case"input":o=zg(e,o),n=zg(e,n),i=[];break;case"select":o=Rt({},o,{value:void 0}),n=Rt({},n,{value:void 0}),i=[];break;case"textarea":o=Gg(e,o),n=Gg(e,n),i=[];break;default:typeof o.onClick!="function"&&typeof n.onClick=="function"&&(e.onclick=cp)}Qg(r,n);var a;r=null;for(c in o)if(!n.hasOwnProperty(c)&&o.hasOwnProperty(c)&&o[c]!=null)if(c==="style"){var s=o[c];for(a in s)s.hasOwnProperty(a)&&(r||(r={}),r[a]="")}else c!=="dangerouslySetInnerHTML"&&c!=="children"&&c!=="suppressContentEditableWarning"&&c!=="suppressHydrationWarning"&&c!=="autoFocus"&&(hc.hasOwnProperty(c)?i||(i=[]):(i=i||[]).push(c,null));for(c in n){var l=n[c];if(s=o!=null?o[c]:void 0,n.hasOwnProperty(c)&&l!==s&&(l!=null||s!=null))if(c==="style")if(s){for(a in s)!s.hasOwnProperty(a)||l&&l.hasOwnProperty(a)||(r||(r={}),r[a]="");for(a in l)l.hasOwnProperty(a)&&s[a]!==l[a]&&(r||(r={}),r[a]=l[a])}else r||(i||(i=[]),i.push(c,r)),r=l;else c==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,s=s?s.__html:void 0,l!=null&&s!==l&&(i=i||[]).push(c,l)):c==="children"?typeof l!="string"&&typeof l!="number"||(i=i||[]).push(c,""+l):c!=="suppressContentEditableWarning"&&c!=="suppressHydrationWarning"&&(hc.hasOwnProperty(c)?(l!=null&&c==="onScroll"&&pt("scroll",e),i||s===l||(i=[])):(i=i||[]).push(c,l))}r&&(i=i||[]).push("style",r);var c=i;(t.updateQueue=c)&&(t.flags|=4)}};DR=function(e,t,r,n){r!==n&&(t.flags|=4)};function Sl(e,t){if(!xt)switch(e.tailMode){case"hidden":t=e.tail;for(var r=null;t!==null;)t.alternate!==null&&(r=t),t=t.sibling;r===null?e.tail=null:r.sibling=null;break;case"collapsed":r=e.tail;for(var n=null;r!==null;)r.alternate!==null&&(n=r),r=r.sibling;n===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:n.sibling=null}}function ur(e){var t=e.alternate!==null&&e.alternate.child===e.child,r=0,n=0;if(t)for(var o=e.child;o!==null;)r|=o.lanes|o.childLanes,n|=o.subtreeFlags&14680064,n|=o.flags&14680064,o.return=e,o=o.sibling;else for(o=e.child;o!==null;)r|=o.lanes|o.childLanes,n|=o.subtreeFlags,n|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=n,e.childLanes=r,t}function m4(e,t,r){var n=t.pendingProps;switch(oy(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return ur(t),null;case 1:return Hr(t.type)&&up(),ur(t),null;case 3:return n=t.stateNode,Ns(),mt(Br),mt(br),fy(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(e===null||e.child===null)&&(Wu(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,qn!==null&&(k0(qn),qn=null))),w0(e,t),ur(t),null;case 5:py(t);var o=ea(Rc.current);if(r=t.type,e!==null&&t.stateNode!=null)$R(e,t,r,n,o),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!n){if(t.stateNode===null)throw Error(X(166));return ur(t),null}if(e=ea(So.current),Wu(t)){n=t.stateNode,r=t.type;var i=t.memoizedProps;switch(n[bo]=t,n[Cc]=i,e=(t.mode&1)!==0,r){case"dialog":pt("cancel",n),pt("close",n);break;case"iframe":case"object":case"embed":pt("load",n);break;case"video":case"audio":for(o=0;o<zl.length;o++)pt(zl[o],n);break;case"source":pt("error",n);break;case"img":case"image":case"link":pt("error",n),pt("load",n);break;case"details":pt("toggle",n);break;case"input":rb(n,i),pt("invalid",n);break;case"select":n._wrapperState={wasMultiple:!!i.multiple},pt("invalid",n);break;case"textarea":ob(n,i),pt("invalid",n)}Qg(r,i),o=null;for(var a in i)if(i.hasOwnProperty(a)){var s=i[a];a==="children"?typeof s=="string"?n.textContent!==s&&(i.suppressHydrationWarning!==!0&&Vu(n.textContent,s,e),o=["children",s]):typeof s=="number"&&n.textContent!==""+s&&(i.suppressHydrationWarning!==!0&&Vu(n.textContent,s,e),o=["children",""+s]):hc.hasOwnProperty(a)&&s!=null&&a==="onScroll"&&pt("scroll",n)}switch(r){case"input":$u(n),nb(n,i,!0);break;case"textarea":$u(n),ib(n);break;case"select":case"option":break;default:typeof i.onClick=="function"&&(n.onclick=cp)}n=o,t.updateQueue=n,n!==null&&(t.flags|=4)}else{a=o.nodeType===9?o:o.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=dT(r)),e==="http://www.w3.org/1999/xhtml"?r==="script"?(e=a.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof n.is=="string"?e=a.createElement(r,{is:n.is}):(e=a.createElement(r),r==="select"&&(a=e,n.multiple?a.multiple=!0:n.size&&(a.size=n.size))):e=a.createElementNS(e,r),e[bo]=t,e[Cc]=n,NR(e,t,!1,!1),t.stateNode=e;e:{switch(a=Yg(r,n),r){case"dialog":pt("cancel",e),pt("close",e),o=n;break;case"iframe":case"object":case"embed":pt("load",e),o=n;break;case"video":case"audio":for(o=0;o<zl.length;o++)pt(zl[o],e);o=n;break;case"source":pt("error",e),o=n;break;case"img":case"image":case"link":pt("error",e),pt("load",e),o=n;break;case"details":pt("toggle",e),o=n;break;case"input":rb(e,n),o=zg(e,n),pt("invalid",e);break;case"option":o=n;break;case"select":e._wrapperState={wasMultiple:!!n.multiple},o=Rt({},n,{value:void 0}),pt("invalid",e);break;case"textarea":ob(e,n),o=Gg(e,n),pt("invalid",e);break;default:o=n}Qg(r,o),s=o;for(i in s)if(s.hasOwnProperty(i)){var l=s[i];i==="style"?hT(e,l):i==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,l!=null&&pT(e,l)):i==="children"?typeof l=="string"?(r!=="textarea"||l!=="")&&mc(e,l):typeof l=="number"&&mc(e,""+l):i!=="suppressContentEditableWarning"&&i!=="suppressHydrationWarning"&&i!=="autoFocus"&&(hc.hasOwnProperty(i)?l!=null&&i==="onScroll"&&pt("scroll",e):l!=null&&zv(e,i,l,a))}switch(r){case"input":$u(e),nb(e,n,!1);break;case"textarea":$u(e),ib(e);break;case"option":n.value!=null&&e.setAttribute("value",""+ki(n.value));break;case"select":e.multiple=!!n.multiple,i=n.value,i!=null?vs(e,!!n.multiple,i,!1):n.defaultValue!=null&&vs(e,!!n.multiple,n.defaultValue,!0);break;default:typeof o.onClick=="function"&&(e.onclick=cp)}switch(r){case"button":case"input":case"select":case"textarea":n=!!n.autoFocus;break e;case"img":n=!0;break e;default:n=!1}}n&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return ur(t),null;case 6:if(e&&t.stateNode!=null)DR(e,t,e.memoizedProps,n);else{if(typeof n!="string"&&t.stateNode===null)throw Error(X(166));if(r=ea(Rc.current),ea(So.current),Wu(t)){if(n=t.stateNode,r=t.memoizedProps,n[bo]=t,(i=n.nodeValue!==r)&&(e=sn,e!==null))switch(e.tag){case 3:Vu(n.nodeValue,r,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&Vu(n.nodeValue,r,(e.mode&1)!==0)}i&&(t.flags|=4)}else n=(r.nodeType===9?r:r.ownerDocument).createTextNode(n),n[bo]=t,t.stateNode=n}return ur(t),null;case 13:if(mt(Et),n=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(xt&&an!==null&&t.mode&1&&!(t.flags&128))tR(),Os(),t.flags|=98560,i=!1;else if(i=Wu(t),n!==null&&n.dehydrated!==null){if(e===null){if(!i)throw Error(X(318));if(i=t.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error(X(317));i[bo]=t}else Os(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;ur(t),i=!1}else qn!==null&&(k0(qn),qn=null),i=!0;if(!i)return t.flags&65536?t:null}return t.flags&128?(t.lanes=r,t):(n=n!==null,n!==(e!==null&&e.memoizedState!==null)&&n&&(t.child.flags|=8192,t.mode&1&&(e===null||Et.current&1?Wt===0&&(Wt=3):Ty())),t.updateQueue!==null&&(t.flags|=4),ur(t),null);case 4:return Ns(),w0(e,t),e===null&&Sc(t.stateNode.containerInfo),ur(t),null;case 10:return ly(t.type._context),ur(t),null;case 17:return Hr(t.type)&&up(),ur(t),null;case 19:if(mt(Et),i=t.memoizedState,i===null)return ur(t),null;if(n=(t.flags&128)!==0,a=i.rendering,a===null)if(n)Sl(i,!1);else{if(Wt!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(a=vp(e),a!==null){for(t.flags|=128,Sl(i,!1),n=a.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),t.subtreeFlags=0,n=r,r=t.child;r!==null;)i=r,e=n,i.flags&=14680066,a=i.alternate,a===null?(i.childLanes=0,i.lanes=e,i.child=null,i.subtreeFlags=0,i.memoizedProps=null,i.memoizedState=null,i.updateQueue=null,i.dependencies=null,i.stateNode=null):(i.childLanes=a.childLanes,i.lanes=a.lanes,i.child=a.child,i.subtreeFlags=0,i.deletions=null,i.memoizedProps=a.memoizedProps,i.memoizedState=a.memoizedState,i.updateQueue=a.updateQueue,i.type=a.type,e=a.dependencies,i.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),r=r.sibling;return ut(Et,Et.current&1|2),t.child}e=e.sibling}i.tail!==null&&$t()>Ds&&(t.flags|=128,n=!0,Sl(i,!1),t.lanes=4194304)}else{if(!n)if(e=vp(a),e!==null){if(t.flags|=128,n=!0,r=e.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),Sl(i,!0),i.tail===null&&i.tailMode==="hidden"&&!a.alternate&&!xt)return ur(t),null}else 2*$t()-i.renderingStartTime>Ds&&r!==1073741824&&(t.flags|=128,n=!0,Sl(i,!1),t.lanes=4194304);i.isBackwards?(a.sibling=t.child,t.child=a):(r=i.last,r!==null?r.sibling=a:t.child=a,i.last=a)}return i.tail!==null?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=$t(),t.sibling=null,r=Et.current,ut(Et,n?r&1|2:r&1),t):(ur(t),null);case 22:case 23:return Cy(),n=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==n&&(t.flags|=8192),n&&t.mode&1?rn&1073741824&&(ur(t),t.subtreeFlags&6&&(t.flags|=8192)):ur(t),null;case 24:return null;case 25:return null}throw Error(X(156,t.tag))}function g4(e,t){switch(oy(t),t.tag){case 1:return Hr(t.type)&&up(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Ns(),mt(Br),mt(br),fy(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return py(t),null;case 13:if(mt(Et),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(X(340));Os()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return mt(Et),null;case 4:return Ns(),null;case 10:return ly(t.type._context),null;case 22:case 23:return Cy(),null;case 24:return null;default:return null}}var Qu=!1,vr=!1,v4=typeof WeakSet=="function"?WeakSet:Set,ue=null;function ds(e,t){var r=e.ref;if(r!==null)if(typeof r=="function")try{r(null)}catch(n){Pt(e,t,n)}else r.current=null}function S0(e,t,r){try{r()}catch(n){Pt(e,t,n)}}var Qb=!1;function y4(e,t){if(i0=ap,e=UT(),ry(e)){if("selectionStart"in e)var r={start:e.selectionStart,end:e.selectionEnd};else e:{r=(r=e.ownerDocument)&&r.defaultView||window;var n=r.getSelection&&r.getSelection();if(n&&n.rangeCount!==0){r=n.anchorNode;var o=n.anchorOffset,i=n.focusNode;n=n.focusOffset;try{r.nodeType,i.nodeType}catch{r=null;break e}var a=0,s=-1,l=-1,c=0,u=0,p=e,f=null;t:for(;;){for(var m;p!==r||o!==0&&p.nodeType!==3||(s=a+o),p!==i||n!==0&&p.nodeType!==3||(l=a+n),p.nodeType===3&&(a+=p.nodeValue.length),(m=p.firstChild)!==null;)f=p,p=m;for(;;){if(p===e)break t;if(f===r&&++c===o&&(s=a),f===i&&++u===n&&(l=a),(m=p.nextSibling)!==null)break;p=f,f=p.parentNode}p=m}r=s===-1||l===-1?null:{start:s,end:l}}else r=null}r=r||{start:0,end:0}}else r=null;for(a0={focusedElem:e,selectionRange:r},ap=!1,ue=t;ue!==null;)if(t=ue,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,ue=e;else for(;ue!==null;){t=ue;try{var v=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(v!==null){var h=v.memoizedProps,x=v.memoizedState,y=t.stateNode,b=y.getSnapshotBeforeUpdate(t.elementType===t.type?h:Wn(t.type,h),x);y.__reactInternalSnapshotBeforeUpdate=b}break;case 3:var w=t.stateNode.containerInfo;w.nodeType===1?w.textContent="":w.nodeType===9&&w.documentElement&&w.removeChild(w.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(X(163))}}catch(S){Pt(t,t.return,S)}if(e=t.sibling,e!==null){e.return=t.return,ue=e;break}ue=t.return}return v=Qb,Qb=!1,v}function Xl(e,t,r){var n=t.updateQueue;if(n=n!==null?n.lastEffect:null,n!==null){var o=n=n.next;do{if((o.tag&e)===e){var i=o.destroy;o.destroy=void 0,i!==void 0&&S0(t,r,i)}o=o.next}while(o!==n)}}function cf(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var r=t=t.next;do{if((r.tag&e)===e){var n=r.create;r.destroy=n()}r=r.next}while(r!==t)}}function E0(e){var t=e.ref;if(t!==null){var r=e.stateNode;switch(e.tag){case 5:e=r;break;default:e=r}typeof t=="function"?t(e):t.current=e}}function jR(e){var t=e.alternate;t!==null&&(e.alternate=null,jR(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[bo],delete t[Cc],delete t[c0],delete t[e4],delete t[t4])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function FR(e){return e.tag===5||e.tag===3||e.tag===4}function Yb(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||FR(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function C0(e,t,r){var n=e.tag;if(n===5||n===6)e=e.stateNode,t?r.nodeType===8?r.parentNode.insertBefore(e,t):r.insertBefore(e,t):(r.nodeType===8?(t=r.parentNode,t.insertBefore(e,r)):(t=r,t.appendChild(e)),r=r._reactRootContainer,r!=null||t.onclick!==null||(t.onclick=cp));else if(n!==4&&(e=e.child,e!==null))for(C0(e,t,r),e=e.sibling;e!==null;)C0(e,t,r),e=e.sibling}function T0(e,t,r){var n=e.tag;if(n===5||n===6)e=e.stateNode,t?r.insertBefore(e,t):r.appendChild(e);else if(n!==4&&(e=e.child,e!==null))for(T0(e,t,r),e=e.sibling;e!==null;)T0(e,t,r),e=e.sibling}var nr=null,Gn=!1;function ii(e,t,r){for(r=r.child;r!==null;)BR(e,t,r),r=r.sibling}function BR(e,t,r){if(wo&&typeof wo.onCommitFiberUnmount=="function")try{wo.onCommitFiberUnmount(ef,r)}catch{}switch(r.tag){case 5:vr||ds(r,t);case 6:var n=nr,o=Gn;nr=null,ii(e,t,r),nr=n,Gn=o,nr!==null&&(Gn?(e=nr,r=r.stateNode,e.nodeType===8?e.parentNode.removeChild(r):e.removeChild(r)):nr.removeChild(r.stateNode));break;case 18:nr!==null&&(Gn?(e=nr,r=r.stateNode,e.nodeType===8?dm(e.parentNode,r):e.nodeType===1&&dm(e,r),bc(e)):dm(nr,r.stateNode));break;case 4:n=nr,o=Gn,nr=r.stateNode.containerInfo,Gn=!0,ii(e,t,r),nr=n,Gn=o;break;case 0:case 11:case 14:case 15:if(!vr&&(n=r.updateQueue,n!==null&&(n=n.lastEffect,n!==null))){o=n=n.next;do{var i=o,a=i.destroy;i=i.tag,a!==void 0&&(i&2||i&4)&&S0(r,t,a),o=o.next}while(o!==n)}ii(e,t,r);break;case 1:if(!vr&&(ds(r,t),n=r.stateNode,typeof n.componentWillUnmount=="function"))try{n.props=r.memoizedProps,n.state=r.memoizedState,n.componentWillUnmount()}catch(s){Pt(r,t,s)}ii(e,t,r);break;case 21:ii(e,t,r);break;case 22:r.mode&1?(vr=(n=vr)||r.memoizedState!==null,ii(e,t,r),vr=n):ii(e,t,r);break;default:ii(e,t,r)}}function Kb(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var r=e.stateNode;r===null&&(r=e.stateNode=new v4),t.forEach(function(n){var o=_4.bind(null,e,n);r.has(n)||(r.add(n),n.then(o,o))})}}function zn(e,t){var r=t.deletions;if(r!==null)for(var n=0;n<r.length;n++){var o=r[n];try{var i=e,a=t,s=a;e:for(;s!==null;){switch(s.tag){case 5:nr=s.stateNode,Gn=!1;break e;case 3:nr=s.stateNode.containerInfo,Gn=!0;break e;case 4:nr=s.stateNode.containerInfo,Gn=!0;break e}s=s.return}if(nr===null)throw Error(X(160));BR(i,a,o),nr=null,Gn=!1;var l=o.alternate;l!==null&&(l.return=null),o.return=null}catch(c){Pt(o,t,c)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)HR(t,e),t=t.sibling}function HR(e,t){var r=e.alternate,n=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(zn(t,e),ao(e),n&4){try{Xl(3,e,e.return),cf(3,e)}catch(h){Pt(e,e.return,h)}try{Xl(5,e,e.return)}catch(h){Pt(e,e.return,h)}}break;case 1:zn(t,e),ao(e),n&512&&r!==null&&ds(r,r.return);break;case 5:if(zn(t,e),ao(e),n&512&&r!==null&&ds(r,r.return),e.flags&32){var o=e.stateNode;try{mc(o,"")}catch(h){Pt(e,e.return,h)}}if(n&4&&(o=e.stateNode,o!=null)){var i=e.memoizedProps,a=r!==null?r.memoizedProps:i,s=e.type,l=e.updateQueue;if(e.updateQueue=null,l!==null)try{s==="input"&&i.type==="radio"&&i.name!=null&&cT(o,i),Yg(s,a);var c=Yg(s,i);for(a=0;a<l.length;a+=2){var u=l[a],p=l[a+1];u==="style"?hT(o,p):u==="dangerouslySetInnerHTML"?pT(o,p):u==="children"?mc(o,p):zv(o,u,p,c)}switch(s){case"input":Vg(o,i);break;case"textarea":uT(o,i);break;case"select":var f=o._wrapperState.wasMultiple;o._wrapperState.wasMultiple=!!i.multiple;var m=i.value;m!=null?vs(o,!!i.multiple,m,!1):f!==!!i.multiple&&(i.defaultValue!=null?vs(o,!!i.multiple,i.defaultValue,!0):vs(o,!!i.multiple,i.multiple?[]:"",!1))}o[Cc]=i}catch(h){Pt(e,e.return,h)}}break;case 6:if(zn(t,e),ao(e),n&4){if(e.stateNode===null)throw Error(X(162));o=e.stateNode,i=e.memoizedProps;try{o.nodeValue=i}catch(h){Pt(e,e.return,h)}}break;case 3:if(zn(t,e),ao(e),n&4&&r!==null&&r.memoizedState.isDehydrated)try{bc(t.containerInfo)}catch(h){Pt(e,e.return,h)}break;case 4:zn(t,e),ao(e);break;case 13:zn(t,e),ao(e),o=e.child,o.flags&8192&&(i=o.memoizedState!==null,o.stateNode.isHidden=i,!i||o.alternate!==null&&o.alternate.memoizedState!==null||(Sy=$t())),n&4&&Kb(e);break;case 22:if(u=r!==null&&r.memoizedState!==null,e.mode&1?(vr=(c=vr)||u,zn(t,e),vr=c):zn(t,e),ao(e),n&8192){if(c=e.memoizedState!==null,(e.stateNode.isHidden=c)&&!u&&e.mode&1)for(ue=e,u=e.child;u!==null;){for(p=ue=u;ue!==null;){switch(f=ue,m=f.child,f.tag){case 0:case 11:case 14:case 15:Xl(4,f,f.return);break;case 1:ds(f,f.return);var v=f.stateNode;if(typeof v.componentWillUnmount=="function"){n=f,r=f.return;try{t=n,v.props=t.memoizedProps,v.state=t.memoizedState,v.componentWillUnmount()}catch(h){Pt(n,r,h)}}break;case 5:ds(f,f.return);break;case 22:if(f.memoizedState!==null){Xb(p);continue}}m!==null?(m.return=f,ue=m):Xb(p)}u=u.sibling}e:for(u=null,p=e;;){if(p.tag===5){if(u===null){u=p;try{o=p.stateNode,c?(i=o.style,typeof i.setProperty=="function"?i.setProperty("display","none","important"):i.display="none"):(s=p.stateNode,l=p.memoizedProps.style,a=l!=null&&l.hasOwnProperty("display")?l.display:null,s.style.display=fT("display",a))}catch(h){Pt(e,e.return,h)}}}else if(p.tag===6){if(u===null)try{p.stateNode.nodeValue=c?"":p.memoizedProps}catch(h){Pt(e,e.return,h)}}else if((p.tag!==22&&p.tag!==23||p.memoizedState===null||p===e)&&p.child!==null){p.child.return=p,p=p.child;continue}if(p===e)break e;for(;p.sibling===null;){if(p.return===null||p.return===e)break e;u===p&&(u=null),p=p.return}u===p&&(u=null),p.sibling.return=p.return,p=p.sibling}}break;case 19:zn(t,e),ao(e),n&4&&Kb(e);break;case 21:break;default:zn(t,e),ao(e)}}function ao(e){var t=e.flags;if(t&2){try{e:{for(var r=e.return;r!==null;){if(FR(r)){var n=r;break e}r=r.return}throw Error(X(160))}switch(n.tag){case 5:var o=n.stateNode;n.flags&32&&(mc(o,""),n.flags&=-33);var i=Yb(e);T0(e,i,o);break;case 3:case 4:var a=n.stateNode.containerInfo,s=Yb(e);C0(e,s,a);break;default:throw Error(X(161))}}catch(l){Pt(e,e.return,l)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function b4(e,t,r){ue=e,UR(e)}function UR(e,t,r){for(var n=(e.mode&1)!==0;ue!==null;){var o=ue,i=o.child;if(o.tag===22&&n){var a=o.memoizedState!==null||Qu;if(!a){var s=o.alternate,l=s!==null&&s.memoizedState!==null||vr;s=Qu;var c=vr;if(Qu=a,(vr=l)&&!c)for(ue=o;ue!==null;)a=ue,l=a.child,a.tag===22&&a.memoizedState!==null?Jb(o):l!==null?(l.return=a,ue=l):Jb(o);for(;i!==null;)ue=i,UR(i),i=i.sibling;ue=o,Qu=s,vr=c}Zb(e)}else o.subtreeFlags&8772&&i!==null?(i.return=o,ue=i):Zb(e)}}function Zb(e){for(;ue!==null;){var t=ue;if(t.flags&8772){var r=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:vr||cf(5,t);break;case 1:var n=t.stateNode;if(t.flags&4&&!vr)if(r===null)n.componentDidMount();else{var o=t.elementType===t.type?r.memoizedProps:Wn(t.type,r.memoizedProps);n.componentDidUpdate(o,r.memoizedState,n.__reactInternalSnapshotBeforeUpdate)}var i=t.updateQueue;i!==null&&Nb(t,i,n);break;case 3:var a=t.updateQueue;if(a!==null){if(r=null,t.child!==null)switch(t.child.tag){case 5:r=t.child.stateNode;break;case 1:r=t.child.stateNode}Nb(t,a,r)}break;case 5:var s=t.stateNode;if(r===null&&t.flags&4){r=s;var l=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":l.autoFocus&&r.focus();break;case"img":l.src&&(r.src=l.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var c=t.alternate;if(c!==null){var u=c.memoizedState;if(u!==null){var p=u.dehydrated;p!==null&&bc(p)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(X(163))}vr||t.flags&512&&E0(t)}catch(f){Pt(t,t.return,f)}}if(t===e){ue=null;break}if(r=t.sibling,r!==null){r.return=t.return,ue=r;break}ue=t.return}}function Xb(e){for(;ue!==null;){var t=ue;if(t===e){ue=null;break}var r=t.sibling;if(r!==null){r.return=t.return,ue=r;break}ue=t.return}}function Jb(e){for(;ue!==null;){var t=ue;try{switch(t.tag){case 0:case 11:case 15:var r=t.return;try{cf(4,t)}catch(l){Pt(t,r,l)}break;case 1:var n=t.stateNode;if(typeof n.componentDidMount=="function"){var o=t.return;try{n.componentDidMount()}catch(l){Pt(t,o,l)}}var i=t.return;try{E0(t)}catch(l){Pt(t,i,l)}break;case 5:var a=t.return;try{E0(t)}catch(l){Pt(t,a,l)}}}catch(l){Pt(t,t.return,l)}if(t===e){ue=null;break}var s=t.sibling;if(s!==null){s.return=t.return,ue=s;break}ue=t.return}}var x4=Math.ceil,xp=ni.ReactCurrentDispatcher,xy=ni.ReactCurrentOwner,Rn=ni.ReactCurrentBatchConfig,Ve=0,Kt=null,Bt=null,ar=0,rn=0,ps=$i(0),Wt=0,Ic=null,pa=0,uf=0,wy=0,Jl=null,jr=null,Sy=0,Ds=1/0,Bo=null,wp=!1,R0=null,Ti=null,Yu=!1,vi=null,Sp=0,ec=0,_0=null,Od=-1,Ld=0;function Ir(){return Ve&6?$t():Od!==-1?Od:Od=$t()}function Ri(e){return e.mode&1?Ve&2&&ar!==0?ar&-ar:n4.transition!==null?(Ld===0&&(Ld=RT()),Ld):(e=et,e!==0||(e=window.event,e=e===void 0?16:OT(e.type)),e):1}function eo(e,t,r,n){if(50<ec)throw ec=0,_0=null,Error(X(185));tu(e,r,n),(!(Ve&2)||e!==Kt)&&(e===Kt&&(!(Ve&2)&&(uf|=r),Wt===4&&mi(e,ar)),Ur(e,n),r===1&&Ve===0&&!(t.mode&1)&&(Ds=$t()+500,af&&Di()))}function Ur(e,t){var r=e.callbackNode;nO(e,t);var n=ip(e,e===Kt?ar:0);if(n===0)r!==null&&lb(r),e.callbackNode=null,e.callbackPriority=0;else if(t=n&-n,e.callbackPriority!==t){if(r!=null&&lb(r),t===1)e.tag===0?r4(ex.bind(null,e)):XT(ex.bind(null,e)),XO(function(){!(Ve&6)&&Di()}),r=null;else{switch(_T(n)){case 1:r=Qv;break;case 4:r=CT;break;case 16:r=op;break;case 536870912:r=TT;break;default:r=op}r=KR(r,zR.bind(null,e))}e.callbackPriority=t,e.callbackNode=r}}function zR(e,t){if(Od=-1,Ld=0,Ve&6)throw Error(X(327));var r=e.callbackNode;if(Ss()&&e.callbackNode!==r)return null;var n=ip(e,e===Kt?ar:0);if(n===0)return null;if(n&30||n&e.expiredLanes||t)t=Ep(e,n);else{t=n;var o=Ve;Ve|=2;var i=WR();(Kt!==e||ar!==t)&&(Bo=null,Ds=$t()+500,oa(e,t));do try{E4();break}catch(s){VR(e,s)}while(!0);sy(),xp.current=i,Ve=o,Bt!==null?t=0:(Kt=null,ar=0,t=Wt)}if(t!==0){if(t===2&&(o=e0(e),o!==0&&(n=o,t=A0(e,o))),t===1)throw r=Ic,oa(e,0),mi(e,n),Ur(e,$t()),r;if(t===6)mi(e,n);else{if(o=e.current.alternate,!(n&30)&&!w4(o)&&(t=Ep(e,n),t===2&&(i=e0(e),i!==0&&(n=i,t=A0(e,i))),t===1))throw r=Ic,oa(e,0),mi(e,n),Ur(e,$t()),r;switch(e.finishedWork=o,e.finishedLanes=n,t){case 0:case 1:throw Error(X(345));case 2:Yi(e,jr,Bo);break;case 3:if(mi(e,n),(n&130023424)===n&&(t=Sy+500-$t(),10<t)){if(ip(e,0)!==0)break;if(o=e.suspendedLanes,(o&n)!==n){Ir(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=l0(Yi.bind(null,e,jr,Bo),t);break}Yi(e,jr,Bo);break;case 4:if(mi(e,n),(n&4194240)===n)break;for(t=e.eventTimes,o=-1;0<n;){var a=31-Jn(n);i=1<<a,a=t[a],a>o&&(o=a),n&=~i}if(n=o,n=$t()-n,n=(120>n?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*x4(n/1960))-n,10<n){e.timeoutHandle=l0(Yi.bind(null,e,jr,Bo),n);break}Yi(e,jr,Bo);break;case 5:Yi(e,jr,Bo);break;default:throw Error(X(329))}}}return Ur(e,$t()),e.callbackNode===r?zR.bind(null,e):null}function A0(e,t){var r=Jl;return e.current.memoizedState.isDehydrated&&(oa(e,t).flags|=256),e=Ep(e,t),e!==2&&(t=jr,jr=r,t!==null&&k0(t)),e}function k0(e){jr===null?jr=e:jr.push.apply(jr,e)}function w4(e){for(var t=e;;){if(t.flags&16384){var r=t.updateQueue;if(r!==null&&(r=r.stores,r!==null))for(var n=0;n<r.length;n++){var o=r[n],i=o.getSnapshot;o=o.value;try{if(!to(i(),o))return!1}catch{return!1}}}if(r=t.child,t.subtreeFlags&16384&&r!==null)r.return=t,t=r;else{if(t===e)break;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 mi(e,t){for(t&=~wy,t&=~uf,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var r=31-Jn(t),n=1<<r;e[r]=-1,t&=~n}}function ex(e){if(Ve&6)throw Error(X(327));Ss();var t=ip(e,0);if(!(t&1))return Ur(e,$t()),null;var r=Ep(e,t);if(e.tag!==0&&r===2){var n=e0(e);n!==0&&(t=n,r=A0(e,n))}if(r===1)throw r=Ic,oa(e,0),mi(e,t),Ur(e,$t()),r;if(r===6)throw Error(X(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,Yi(e,jr,Bo),Ur(e,$t()),null}function Ey(e,t){var r=Ve;Ve|=1;try{return e(t)}finally{Ve=r,Ve===0&&(Ds=$t()+500,af&&Di())}}function fa(e){vi!==null&&vi.tag===0&&!(Ve&6)&&Ss();var t=Ve;Ve|=1;var r=Rn.transition,n=et;try{if(Rn.transition=null,et=1,e)return e()}finally{et=n,Rn.transition=r,Ve=t,!(Ve&6)&&Di()}}function Cy(){rn=ps.current,mt(ps)}function oa(e,t){e.finishedWork=null,e.finishedLanes=0;var r=e.timeoutHandle;if(r!==-1&&(e.timeoutHandle=-1,ZO(r)),Bt!==null)for(r=Bt.return;r!==null;){var n=r;switch(oy(n),n.tag){case 1:n=n.type.childContextTypes,n!=null&&up();break;case 3:Ns(),mt(Br),mt(br),fy();break;case 5:py(n);break;case 4:Ns();break;case 13:mt(Et);break;case 19:mt(Et);break;case 10:ly(n.type._context);break;case 22:case 23:Cy()}r=r.return}if(Kt=e,Bt=e=_i(e.current,null),ar=rn=t,Wt=0,Ic=null,wy=uf=pa=0,jr=Jl=null,Ji!==null){for(t=0;t<Ji.length;t++)if(r=Ji[t],n=r.interleaved,n!==null){r.interleaved=null;var o=n.next,i=r.pending;if(i!==null){var a=i.next;i.next=o,n.next=a}r.pending=n}Ji=null}return e}function VR(e,t){do{var r=Bt;try{if(sy(),Id.current=bp,yp){for(var n=Tt.memoizedState;n!==null;){var o=n.queue;o!==null&&(o.pending=null),n=n.next}yp=!1}if(da=0,Qt=zt=Tt=null,Zl=!1,_c=0,xy.current=null,r===null||r.return===null){Wt=1,Ic=t,Bt=null;break}e:{var i=e,a=r.return,s=r,l=t;if(t=ar,s.flags|=32768,l!==null&&typeof l=="object"&&typeof l.then=="function"){var c=l,u=s,p=u.tag;if(!(u.mode&1)&&(p===0||p===11||p===15)){var f=u.alternate;f?(u.updateQueue=f.updateQueue,u.memoizedState=f.memoizedState,u.lanes=f.lanes):(u.updateQueue=null,u.memoizedState=null)}var m=Hb(a);if(m!==null){m.flags&=-257,Ub(m,a,s,i,t),m.mode&1&&Bb(i,c,t),t=m,l=c;var v=t.updateQueue;if(v===null){var h=new Set;h.add(l),t.updateQueue=h}else v.add(l);break e}else{if(!(t&1)){Bb(i,c,t),Ty();break e}l=Error(X(426))}}else if(xt&&s.mode&1){var x=Hb(a);if(x!==null){!(x.flags&65536)&&(x.flags|=256),Ub(x,a,s,i,t),iy($s(l,s));break e}}i=l=$s(l,s),Wt!==4&&(Wt=2),Jl===null?Jl=[i]:Jl.push(i),i=a;do{switch(i.tag){case 3:i.flags|=65536,t&=-t,i.lanes|=t;var y=_R(i,l,t);Lb(i,y);break e;case 1:s=l;var b=i.type,w=i.stateNode;if(!(i.flags&128)&&(typeof b.getDerivedStateFromError=="function"||w!==null&&typeof w.componentDidCatch=="function"&&(Ti===null||!Ti.has(w)))){i.flags|=65536,t&=-t,i.lanes|=t;var S=AR(i,s,t);Lb(i,S);break e}}i=i.return}while(i!==null)}qR(r)}catch(T){t=T,Bt===r&&r!==null&&(Bt=r=r.return);continue}break}while(!0)}function WR(){var e=xp.current;return xp.current=bp,e===null?bp:e}function Ty(){(Wt===0||Wt===3||Wt===2)&&(Wt=4),Kt===null||!(pa&268435455)&&!(uf&268435455)||mi(Kt,ar)}function Ep(e,t){var r=Ve;Ve|=2;var n=WR();(Kt!==e||ar!==t)&&(Bo=null,oa(e,t));do try{S4();break}catch(o){VR(e,o)}while(!0);if(sy(),Ve=r,xp.current=n,Bt!==null)throw Error(X(261));return Kt=null,ar=0,Wt}function S4(){for(;Bt!==null;)GR(Bt)}function E4(){for(;Bt!==null&&!QP();)GR(Bt)}function GR(e){var t=YR(e.alternate,e,rn);e.memoizedProps=e.pendingProps,t===null?qR(e):Bt=t,xy.current=null}function qR(e){var t=e;do{var r=t.alternate;if(e=t.return,t.flags&32768){if(r=g4(r,t),r!==null){r.flags&=32767,Bt=r;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{Wt=6,Bt=null;return}}else if(r=m4(r,t,rn),r!==null){Bt=r;return}if(t=t.sibling,t!==null){Bt=t;return}Bt=t=e}while(t!==null);Wt===0&&(Wt=5)}function Yi(e,t,r){var n=et,o=Rn.transition;try{Rn.transition=null,et=1,C4(e,t,r,n)}finally{Rn.transition=o,et=n}return null}function C4(e,t,r,n){do Ss();while(vi!==null);if(Ve&6)throw Error(X(327));r=e.finishedWork;var o=e.finishedLanes;if(r===null)return null;if(e.finishedWork=null,e.finishedLanes=0,r===e.current)throw Error(X(177));e.callbackNode=null,e.callbackPriority=0;var i=r.lanes|r.childLanes;if(oO(e,i),e===Kt&&(Bt=Kt=null,ar=0),!(r.subtreeFlags&2064)&&!(r.flags&2064)||Yu||(Yu=!0,KR(op,function(){return Ss(),null})),i=(r.flags&15990)!==0,r.subtreeFlags&15990||i){i=Rn.transition,Rn.transition=null;var a=et;et=1;var s=Ve;Ve|=4,xy.current=null,y4(e,r),HR(r,e),VO(a0),ap=!!i0,a0=i0=null,e.current=r,b4(r),YP(),Ve=s,et=a,Rn.transition=i}else e.current=r;if(Yu&&(Yu=!1,vi=e,Sp=o),i=e.pendingLanes,i===0&&(Ti=null),XP(r.stateNode),Ur(e,$t()),t!==null)for(n=e.onRecoverableError,r=0;r<t.length;r++)o=t[r],n(o.value,{componentStack:o.stack,digest:o.digest});if(wp)throw wp=!1,e=R0,R0=null,e;return Sp&1&&e.tag!==0&&Ss(),i=e.pendingLanes,i&1?e===_0?ec++:(ec=0,_0=e):ec=0,Di(),null}function Ss(){if(vi!==null){var e=_T(Sp),t=Rn.transition,r=et;try{if(Rn.transition=null,et=16>e?16:e,vi===null)var n=!1;else{if(e=vi,vi=null,Sp=0,Ve&6)throw Error(X(331));var o=Ve;for(Ve|=4,ue=e.current;ue!==null;){var i=ue,a=i.child;if(ue.flags&16){var s=i.deletions;if(s!==null){for(var l=0;l<s.length;l++){var c=s[l];for(ue=c;ue!==null;){var u=ue;switch(u.tag){case 0:case 11:case 15:Xl(8,u,i)}var p=u.child;if(p!==null)p.return=u,ue=p;else for(;ue!==null;){u=ue;var f=u.sibling,m=u.return;if(jR(u),u===c){ue=null;break}if(f!==null){f.return=m,ue=f;break}ue=m}}}var v=i.alternate;if(v!==null){var h=v.child;if(h!==null){v.child=null;do{var x=h.sibling;h.sibling=null,h=x}while(h!==null)}}ue=i}}if(i.subtreeFlags&2064&&a!==null)a.return=i,ue=a;else e:for(;ue!==null;){if(i=ue,i.flags&2048)switch(i.tag){case 0:case 11:case 15:Xl(9,i,i.return)}var y=i.sibling;if(y!==null){y.return=i.return,ue=y;break e}ue=i.return}}var b=e.current;for(ue=b;ue!==null;){a=ue;var w=a.child;if(a.subtreeFlags&2064&&w!==null)w.return=a,ue=w;else e:for(a=b;ue!==null;){if(s=ue,s.flags&2048)try{switch(s.tag){case 0:case 11:case 15:cf(9,s)}}catch(T){Pt(s,s.return,T)}if(s===a){ue=null;break e}var S=s.sibling;if(S!==null){S.return=s.return,ue=S;break e}ue=s.return}}if(Ve=o,Di(),wo&&typeof wo.onPostCommitFiberRoot=="function")try{wo.onPostCommitFiberRoot(ef,e)}catch{}n=!0}return n}finally{et=r,Rn.transition=t}}return!1}function tx(e,t,r){t=$s(r,t),t=_R(e,t,1),e=Ci(e,t,1),t=Ir(),e!==null&&(tu(e,1,t),Ur(e,t))}function Pt(e,t,r){if(e.tag===3)tx(e,e,r);else for(;t!==null;){if(t.tag===3){tx(t,e,r);break}else if(t.tag===1){var n=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof n.componentDidCatch=="function"&&(Ti===null||!Ti.has(n))){e=$s(r,e),e=AR(t,e,1),t=Ci(t,e,1),e=Ir(),t!==null&&(tu(t,1,e),Ur(t,e));break}}t=t.return}}function T4(e,t,r){var n=e.pingCache;n!==null&&n.delete(t),t=Ir(),e.pingedLanes|=e.suspendedLanes&r,Kt===e&&(ar&r)===r&&(Wt===4||Wt===3&&(ar&130023424)===ar&&500>$t()-Sy?oa(e,0):wy|=r),Ur(e,t)}function QR(e,t){t===0&&(e.mode&1?(t=Fu,Fu<<=1,!(Fu&130023424)&&(Fu=4194304)):t=1);var r=Ir();e=Xo(e,t),e!==null&&(tu(e,t,r),Ur(e,r))}function R4(e){var t=e.memoizedState,r=0;t!==null&&(r=t.retryLane),QR(e,r)}function _4(e,t){var r=0;switch(e.tag){case 13:var n=e.stateNode,o=e.memoizedState;o!==null&&(r=o.retryLane);break;case 19:n=e.stateNode;break;default:throw Error(X(314))}n!==null&&n.delete(t),QR(e,r)}var YR;YR=function(e,t,r){if(e!==null)if(e.memoizedProps!==t.pendingProps||Br.current)Fr=!0;else{if(!(e.lanes&r)&&!(t.flags&128))return Fr=!1,h4(e,t,r);Fr=!!(e.flags&131072)}else Fr=!1,xt&&t.flags&1048576&&JT(t,fp,t.index);switch(t.lanes=0,t.tag){case 2:var n=t.type;Pd(e,t),e=t.pendingProps;var o=Ps(t,br.current);ws(t,r),o=my(null,t,n,e,o,r);var i=gy();return t.flags|=1,typeof o=="object"&&o!==null&&typeof o.render=="function"&&o.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Hr(n)?(i=!0,dp(t)):i=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,uy(t),o.updater=lf,t.stateNode=o,o._reactInternals=t,m0(t,n,e,r),t=y0(null,t,n,!0,i,r)):(t.tag=0,xt&&i&&ny(t),Tr(null,t,o,r),t=t.child),t;case 16:n=t.elementType;e:{switch(Pd(e,t),e=t.pendingProps,o=n._init,n=o(n._payload),t.type=n,o=t.tag=k4(n),e=Wn(n,e),o){case 0:t=v0(null,t,n,e,r);break e;case 1:t=Wb(null,t,n,e,r);break e;case 11:t=zb(null,t,n,e,r);break e;case 14:t=Vb(null,t,n,Wn(n.type,e),r);break e}throw Error(X(306,n,""))}return t;case 0:return n=t.type,o=t.pendingProps,o=t.elementType===n?o:Wn(n,o),v0(e,t,n,o,r);case 1:return n=t.type,o=t.pendingProps,o=t.elementType===n?o:Wn(n,o),Wb(e,t,n,o,r);case 3:e:{if(PR(t),e===null)throw Error(X(387));n=t.pendingProps,i=t.memoizedState,o=i.element,iR(e,t),gp(t,n,null,r);var a=t.memoizedState;if(n=a.element,i.isDehydrated)if(i={element:n,isDehydrated:!1,cache:a.cache,pendingSuspenseBoundaries:a.pendingSuspenseBoundaries,transitions:a.transitions},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){o=$s(Error(X(423)),t),t=Gb(e,t,n,r,o);break e}else if(n!==o){o=$s(Error(X(424)),t),t=Gb(e,t,n,r,o);break e}else for(an=Ei(t.stateNode.containerInfo.firstChild),sn=t,xt=!0,qn=null,r=nR(t,null,n,r),t.child=r;r;)r.flags=r.flags&-3|4096,r=r.sibling;else{if(Os(),n===o){t=Jo(e,t,r);break e}Tr(e,t,n,r)}t=t.child}return t;case 5:return aR(t),e===null&&p0(t),n=t.type,o=t.pendingProps,i=e!==null?e.memoizedProps:null,a=o.children,s0(n,o)?a=null:i!==null&&s0(n,i)&&(t.flags|=32),MR(e,t),Tr(e,t,a,r),t.child;case 6:return e===null&&p0(t),null;case 13:return OR(e,t,r);case 4:return dy(t,t.stateNode.containerInfo),n=t.pendingProps,e===null?t.child=Ls(t,null,n,r):Tr(e,t,n,r),t.child;case 11:return n=t.type,o=t.pendingProps,o=t.elementType===n?o:Wn(n,o),zb(e,t,n,o,r);case 7:return Tr(e,t,t.pendingProps,r),t.child;case 8:return Tr(e,t,t.pendingProps.children,r),t.child;case 12:return Tr(e,t,t.pendingProps.children,r),t.child;case 10:e:{if(n=t.type._context,o=t.pendingProps,i=t.memoizedProps,a=o.value,ut(hp,n._currentValue),n._currentValue=a,i!==null)if(to(i.value,a)){if(i.children===o.children&&!Br.current){t=Jo(e,t,r);break e}}else for(i=t.child,i!==null&&(i.return=t);i!==null;){var s=i.dependencies;if(s!==null){a=i.child;for(var l=s.firstContext;l!==null;){if(l.context===n){if(i.tag===1){l=Qo(-1,r&-r),l.tag=2;var c=i.updateQueue;if(c!==null){c=c.shared;var u=c.pending;u===null?l.next=l:(l.next=u.next,u.next=l),c.pending=l}}i.lanes|=r,l=i.alternate,l!==null&&(l.lanes|=r),f0(i.return,r,t),s.lanes|=r;break}l=l.next}}else if(i.tag===10)a=i.type===t.type?null:i.child;else if(i.tag===18){if(a=i.return,a===null)throw Error(X(341));a.lanes|=r,s=a.alternate,s!==null&&(s.lanes|=r),f0(a,r,t),a=i.sibling}else a=i.child;if(a!==null)a.return=i;else for(a=i;a!==null;){if(a===t){a=null;break}if(i=a.sibling,i!==null){i.return=a.return,a=i;break}a=a.return}i=a}Tr(e,t,o.children,r),t=t.child}return t;case 9:return o=t.type,n=t.pendingProps.children,ws(t,r),o=An(o),n=n(o),t.flags|=1,Tr(e,t,n,r),t.child;case 14:return n=t.type,o=Wn(n,t.pendingProps),o=Wn(n.type,o),Vb(e,t,n,o,r);case 15:return kR(e,t,t.type,t.pendingProps,r);case 17:return n=t.type,o=t.pendingProps,o=t.elementType===n?o:Wn(n,o),Pd(e,t),t.tag=1,Hr(n)?(e=!0,dp(t)):e=!1,ws(t,r),RR(t,n,o),m0(t,n,o,r),y0(null,t,n,!0,e,r);case 19:return LR(e,t,r);case 22:return IR(e,t,r)}throw Error(X(156,t.tag))};function KR(e,t){return ET(e,t)}function A4(e,t,r,n){this.tag=e,this.key=r,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=n,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Tn(e,t,r,n){return new A4(e,t,r,n)}function Ry(e){return e=e.prototype,!(!e||!e.isReactComponent)}function k4(e){if(typeof e=="function")return Ry(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Wv)return 11;if(e===Gv)return 14}return 2}function _i(e,t){var r=e.alternate;return r===null?(r=Tn(e.tag,t,e.key,e.mode),r.elementType=e.elementType,r.type=e.type,r.stateNode=e.stateNode,r.alternate=e,e.alternate=r):(r.pendingProps=t,r.type=e.type,r.flags=0,r.subtreeFlags=0,r.deletions=null),r.flags=e.flags&14680064,r.childLanes=e.childLanes,r.lanes=e.lanes,r.child=e.child,r.memoizedProps=e.memoizedProps,r.memoizedState=e.memoizedState,r.updateQueue=e.updateQueue,t=e.dependencies,r.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},r.sibling=e.sibling,r.index=e.index,r.ref=e.ref,r}function Nd(e,t,r,n,o,i){var a=2;if(n=e,typeof e=="function")Ry(e)&&(a=1);else if(typeof e=="string")a=5;else e:switch(e){case rs:return ia(r.children,o,i,t);case Vv:a=8,o|=8;break;case Fg:return e=Tn(12,r,t,o|2),e.elementType=Fg,e.lanes=i,e;case Bg:return e=Tn(13,r,t,o),e.elementType=Bg,e.lanes=i,e;case Hg:return e=Tn(19,r,t,o),e.elementType=Hg,e.lanes=i,e;case aT:return df(r,o,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case oT:a=10;break e;case iT:a=9;break e;case Wv:a=11;break e;case Gv:a=14;break e;case ui:a=16,n=null;break e}throw Error(X(130,e==null?e:typeof e,""))}return t=Tn(a,r,t,o),t.elementType=e,t.type=n,t.lanes=i,t}function ia(e,t,r,n){return e=Tn(7,e,n,t),e.lanes=r,e}function df(e,t,r,n){return e=Tn(22,e,n,t),e.elementType=aT,e.lanes=r,e.stateNode={isHidden:!1},e}function bm(e,t,r){return e=Tn(6,e,null,t),e.lanes=r,e}function xm(e,t,r){return t=Tn(4,e.children!==null?e.children:[],e.key,t),t.lanes=r,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function I4(e,t,r,n,o){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=em(0),this.expirationTimes=em(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=em(0),this.identifierPrefix=n,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function _y(e,t,r,n,o,i,a,s,l){return e=new I4(e,t,r,s,l),t===1?(t=1,i===!0&&(t|=8)):t=0,i=Tn(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:n,isDehydrated:r,cache:null,transitions:null,pendingSuspenseBoundaries:null},uy(i),e}function M4(e,t,r){var n=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:ts,key:n==null?null:""+n,children:e,containerInfo:t,implementation:r}}function ZR(e){if(!e)return Ii;e=e._reactInternals;e:{if(wa(e)!==e||e.tag!==1)throw Error(X(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Hr(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(X(171))}if(e.tag===1){var r=e.type;if(Hr(r))return ZT(e,r,t)}return t}function XR(e,t,r,n,o,i,a,s,l){return e=_y(r,n,!0,e,o,i,a,s,l),e.context=ZR(null),r=e.current,n=Ir(),o=Ri(r),i=Qo(n,o),i.callback=t??null,Ci(r,i,o),e.current.lanes=o,tu(e,o,n),Ur(e,n),e}function pf(e,t,r,n){var o=t.current,i=Ir(),a=Ri(o);return r=ZR(r),t.context===null?t.context=r:t.pendingContext=r,t=Qo(i,a),t.payload={element:e},n=n===void 0?null:n,n!==null&&(t.callback=n),e=Ci(o,t,a),e!==null&&(eo(e,o,a,i),kd(e,o,a)),a}function Cp(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function rx(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var r=e.retryLane;e.retryLane=r!==0&&r<t?r:t}}function Ay(e,t){rx(e,t),(e=e.alternate)&&rx(e,t)}function P4(){return null}var JR=typeof reportError=="function"?reportError:function(e){console.error(e)};function ky(e){this._internalRoot=e}ff.prototype.render=ky.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(X(409));pf(e,t,null,null)};ff.prototype.unmount=ky.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;fa(function(){pf(null,e,null,null)}),t[Zo]=null}};function ff(e){this._internalRoot=e}ff.prototype.unstable_scheduleHydration=function(e){if(e){var t=IT();e={blockedOn:null,target:e,priority:t};for(var r=0;r<hi.length&&t!==0&&t<hi[r].priority;r++);hi.splice(r,0,e),r===0&&PT(e)}};function Iy(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function hf(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function nx(){}function O4(e,t,r,n,o){if(o){if(typeof n=="function"){var i=n;n=function(){var c=Cp(a);i.call(c)}}var a=XR(t,n,e,0,null,!1,!1,"",nx);return e._reactRootContainer=a,e[Zo]=a.current,Sc(e.nodeType===8?e.parentNode:e),fa(),a}for(;o=e.lastChild;)e.removeChild(o);if(typeof n=="function"){var s=n;n=function(){var c=Cp(l);s.call(c)}}var l=_y(e,0,!1,null,null,!1,!1,"",nx);return e._reactRootContainer=l,e[Zo]=l.current,Sc(e.nodeType===8?e.parentNode:e),fa(function(){pf(t,l,r,n)}),l}function mf(e,t,r,n,o){var i=r._reactRootContainer;if(i){var a=i;if(typeof o=="function"){var s=o;o=function(){var l=Cp(a);s.call(l)}}pf(t,a,e,o)}else a=O4(r,t,e,o,n);return Cp(a)}AT=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var r=Ul(t.pendingLanes);r!==0&&(Yv(t,r|1),Ur(t,$t()),!(Ve&6)&&(Ds=$t()+500,Di()))}break;case 13:fa(function(){var n=Xo(e,1);if(n!==null){var o=Ir();eo(n,e,1,o)}}),Ay(e,1)}};Kv=function(e){if(e.tag===13){var t=Xo(e,134217728);if(t!==null){var r=Ir();eo(t,e,134217728,r)}Ay(e,134217728)}};kT=function(e){if(e.tag===13){var t=Ri(e),r=Xo(e,t);if(r!==null){var n=Ir();eo(r,e,t,n)}Ay(e,t)}};IT=function(){return et};MT=function(e,t){var r=et;try{return et=e,t()}finally{et=r}};Zg=function(e,t,r){switch(t){case"input":if(Vg(e,r),t=r.name,r.type==="radio"&&t!=null){for(r=e;r.parentNode;)r=r.parentNode;for(r=r.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<r.length;t++){var n=r[t];if(n!==e&&n.form===e.form){var o=of(n);if(!o)throw Error(X(90));lT(n),Vg(n,o)}}}break;case"textarea":uT(e,r);break;case"select":t=r.value,t!=null&&vs(e,!!r.multiple,t,!1)}};vT=Ey;yT=fa;var L4={usingClientEntryPoint:!1,Events:[nu,as,of,mT,gT,Ey]},El={findFiberByHostInstance:Xi,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},N4={bundleType:El.bundleType,version:El.version,rendererPackageName:El.rendererPackageName,rendererConfig:El.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:ni.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=wT(e),e===null?null:e.stateNode},findFiberByHostInstance:El.findFiberByHostInstance||P4,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Ku=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Ku.isDisabled&&Ku.supportsFiber)try{ef=Ku.inject(N4),wo=Ku}catch{}}fn.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=L4;fn.createPortal=function(e,t){var r=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Iy(t))throw Error(X(200));return M4(e,t,null,r)};fn.createRoot=function(e,t){if(!Iy(e))throw Error(X(299));var r=!1,n="",o=JR;return t!=null&&(t.unstable_strictMode===!0&&(r=!0),t.identifierPrefix!==void 0&&(n=t.identifierPrefix),t.onRecoverableError!==void 0&&(o=t.onRecoverableError)),t=_y(e,1,!1,null,null,r,!1,n,o),e[Zo]=t.current,Sc(e.nodeType===8?e.parentNode:e),new ky(t)};fn.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(X(188)):(e=Object.keys(e).join(","),Error(X(268,e)));return e=wT(t),e=e===null?null:e.stateNode,e};fn.flushSync=function(e){return fa(e)};fn.hydrate=function(e,t,r){if(!hf(t))throw Error(X(200));return mf(null,e,t,!0,r)};fn.hydrateRoot=function(e,t,r){if(!Iy(e))throw Error(X(405));var n=r!=null&&r.hydratedSources||null,o=!1,i="",a=JR;if(r!=null&&(r.unstable_strictMode===!0&&(o=!0),r.identifierPrefix!==void 0&&(i=r.identifierPrefix),r.onRecoverableError!==void 0&&(a=r.onRecoverableError)),t=XR(t,null,e,1,r??null,o,!1,i,a),e[Zo]=t.current,Sc(e),n)for(e=0;e<n.length;e++)r=n[e],o=r._getVersion,o=o(r._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[r,o]:t.mutableSourceEagerHydrationData.push(r,o);return new ff(t)};fn.render=function(e,t,r){if(!hf(t))throw Error(X(200));return mf(null,e,t,!1,r)};fn.unmountComponentAtNode=function(e){if(!hf(e))throw Error(X(40));return e._reactRootContainer?(fa(function(){mf(null,null,e,!1,function(){e._reactRootContainer=null,e[Zo]=null})}),!0):!1};fn.unstable_batchedUpdates=Ey;fn.unstable_renderSubtreeIntoContainer=function(e,t,r,n){if(!hf(r))throw Error(X(200));if(e==null||e._reactInternals===void 0)throw Error(X(38));return mf(e,t,r,!1,n)};fn.version="18.3.1-next-f1338f8080-20240426";function e_(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e_)}catch(e){console.error(e)}}e_(),eT.exports=fn;var gf=eT.exports;const Zu=Ht(gf);var ox=gf;Dg.createRoot=ox.createRoot,Dg.hydrateRoot=ox.hydrateRoot;var t_={exports:{}},$4="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",D4=$4,j4=D4;function r_(){}function n_(){}n_.resetWarningCache=r_;var F4=function(){function e(n,o,i,a,s,l){if(l!==j4){var c=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 c.name="Invariant Violation",c}}e.isRequired=e;function t(){return e}var r={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:n_,resetWarningCache:r_};return r.PropTypes=r,r};t_.exports=F4();var B4=t_.exports;const ix=Ht(B4);var Mi=ge.createContext(null);function H4(e){e()}var o_=H4,U4=function(t){return o_=t},z4=function(){return o_};function V4(){var e=z4(),t=null,r=null;return{clear:function(){t=null,r=null},notify:function(){e(function(){for(var o=t;o;)o.callback(),o=o.next})},get:function(){for(var o=[],i=t;i;)o.push(i),i=i.next;return o},subscribe:function(o){var i=!0,a=r={callback:o,next:null,prev:r};return a.prev?a.prev.next=a:t=a,function(){!i||t===null||(i=!1,a.next?a.next.prev=a.prev:r=a.prev,a.prev?a.prev.next=a.next:t=a.next)}}}}var ax={notify:function(){},get:function(){return[]}};function i_(e,t){var r,n=ax;function o(p){return l(),n.subscribe(p)}function i(){n.notify()}function a(){u.onStateChange&&u.onStateChange()}function s(){return!!r}function l(){r||(r=t?t.addNestedSub(a):e.subscribe(a),n=V4())}function c(){r&&(r(),r=void 0,n.clear(),n=ax)}var u={addNestedSub:o,notifyNestedSubs:i,handleChangeWrapper:a,isSubscribed:s,trySubscribe:l,tryUnsubscribe:c,getListeners:function(){return n}};return u}var I0=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u"?g.useLayoutEffect:g.useEffect;function W4(e){var t=e.store,r=e.context,n=e.children,o=g.useMemo(function(){var s=i_(t);return{store:t,subscription:s}},[t]),i=g.useMemo(function(){return t.getState()},[t]);I0(function(){var s=o.subscription;return s.onStateChange=s.notifyNestedSubs,s.trySubscribe(),i!==t.getState()&&s.notifyNestedSubs(),function(){s.tryUnsubscribe(),s.onStateChange=null}},[o,i]);var a=r||Mi;return ge.createElement(a.Provider,{value:o},n)}function _(){return _=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},_.apply(null,arguments)}const G4=Object.freeze(Object.defineProperty({__proto__:null,get default(){return _}},Symbol.toStringTag,{value:"Module"}));function re(e,t){if(e==null)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.includes(n))continue;r[n]=e[n]}return r}var a_={exports:{}},tt={};/** @license React v16.13.1
 * react-is.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var Zt=typeof Symbol=="function"&&Symbol.for,My=Zt?Symbol.for("react.element"):60103,Py=Zt?Symbol.for("react.portal"):60106,vf=Zt?Symbol.for("react.fragment"):60107,yf=Zt?Symbol.for("react.strict_mode"):60108,bf=Zt?Symbol.for("react.profiler"):60114,xf=Zt?Symbol.for("react.provider"):60109,wf=Zt?Symbol.for("react.context"):60110,Oy=Zt?Symbol.for("react.async_mode"):60111,Sf=Zt?Symbol.for("react.concurrent_mode"):60111,Ef=Zt?Symbol.for("react.forward_ref"):60112,Cf=Zt?Symbol.for("react.suspense"):60113,q4=Zt?Symbol.for("react.suspense_list"):60120,Tf=Zt?Symbol.for("react.memo"):60115,Rf=Zt?Symbol.for("react.lazy"):60116,Q4=Zt?Symbol.for("react.block"):60121,Y4=Zt?Symbol.for("react.fundamental"):60117,K4=Zt?Symbol.for("react.responder"):60118,Z4=Zt?Symbol.for("react.scope"):60119;function mn(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case My:switch(e=e.type,e){case Oy:case Sf:case vf:case bf:case yf:case Cf:return e;default:switch(e=e&&e.$$typeof,e){case wf:case Ef:case Rf:case Tf:case xf:return e;default:return t}}case Py:return t}}}function s_(e){return mn(e)===Sf}tt.AsyncMode=Oy;tt.ConcurrentMode=Sf;tt.ContextConsumer=wf;tt.ContextProvider=xf;tt.Element=My;tt.ForwardRef=Ef;tt.Fragment=vf;tt.Lazy=Rf;tt.Memo=Tf;tt.Portal=Py;tt.Profiler=bf;tt.StrictMode=yf;tt.Suspense=Cf;tt.isAsyncMode=function(e){return s_(e)||mn(e)===Oy};tt.isConcurrentMode=s_;tt.isContextConsumer=function(e){return mn(e)===wf};tt.isContextProvider=function(e){return mn(e)===xf};tt.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===My};tt.isForwardRef=function(e){return mn(e)===Ef};tt.isFragment=function(e){return mn(e)===vf};tt.isLazy=function(e){return mn(e)===Rf};tt.isMemo=function(e){return mn(e)===Tf};tt.isPortal=function(e){return mn(e)===Py};tt.isProfiler=function(e){return mn(e)===bf};tt.isStrictMode=function(e){return mn(e)===yf};tt.isSuspense=function(e){return mn(e)===Cf};tt.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===vf||e===Sf||e===bf||e===yf||e===Cf||e===q4||typeof e=="object"&&e!==null&&(e.$$typeof===Rf||e.$$typeof===Tf||e.$$typeof===xf||e.$$typeof===wf||e.$$typeof===Ef||e.$$typeof===Y4||e.$$typeof===K4||e.$$typeof===Z4||e.$$typeof===Q4)};tt.typeOf=mn;a_.exports=tt;var X4=a_.exports,Ly=X4,J4={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},eL={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},tL={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},l_={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Ny={};Ny[Ly.ForwardRef]=tL;Ny[Ly.Memo]=l_;function sx(e){return Ly.isMemo(e)?l_:Ny[e.$$typeof]||J4}var rL=Object.defineProperty,nL=Object.getOwnPropertyNames,lx=Object.getOwnPropertySymbols,oL=Object.getOwnPropertyDescriptor,iL=Object.getPrototypeOf,cx=Object.prototype;function c_(e,t,r){if(typeof t!="string"){if(cx){var n=iL(t);n&&n!==cx&&c_(e,n,r)}var o=nL(t);lx&&(o=o.concat(lx(t)));for(var i=sx(e),a=sx(t),s=0;s<o.length;++s){var l=o[s];if(!eL[l]&&!(r&&r[l])&&!(a&&a[l])&&!(i&&i[l])){var c=oL(t,l);try{rL(e,l,c)}catch{}}}}return e}var aL=c_;const sL=Ht(aL);var dt={};/** @license React v17.0.2
 * react-is.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var _f=60103,Af=60106,iu=60107,au=60108,su=60114,lu=60109,cu=60110,uu=60112,du=60113,$y=60120,pu=60115,fu=60116,u_=60121,d_=60122,p_=60117,f_=60129,h_=60131;if(typeof Symbol=="function"&&Symbol.for){var Xt=Symbol.for;_f=Xt("react.element"),Af=Xt("react.portal"),iu=Xt("react.fragment"),au=Xt("react.strict_mode"),su=Xt("react.profiler"),lu=Xt("react.provider"),cu=Xt("react.context"),uu=Xt("react.forward_ref"),du=Xt("react.suspense"),$y=Xt("react.suspense_list"),pu=Xt("react.memo"),fu=Xt("react.lazy"),u_=Xt("react.block"),d_=Xt("react.server.block"),p_=Xt("react.fundamental"),f_=Xt("react.debug_trace_mode"),h_=Xt("react.legacy_hidden")}function oo(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case _f:switch(e=e.type,e){case iu:case su:case au:case du:case $y:return e;default:switch(e=e&&e.$$typeof,e){case cu:case uu:case fu:case pu:case lu:return e;default:return t}}case Af:return t}}}var lL=lu,cL=_f,uL=uu,dL=iu,pL=fu,fL=pu,hL=Af,mL=su,gL=au,vL=du;dt.ContextConsumer=cu;dt.ContextProvider=lL;dt.Element=cL;dt.ForwardRef=uL;dt.Fragment=dL;dt.Lazy=pL;dt.Memo=fL;dt.Portal=hL;dt.Profiler=mL;dt.StrictMode=gL;dt.Suspense=vL;dt.isAsyncMode=function(){return!1};dt.isConcurrentMode=function(){return!1};dt.isContextConsumer=function(e){return oo(e)===cu};dt.isContextProvider=function(e){return oo(e)===lu};dt.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===_f};dt.isForwardRef=function(e){return oo(e)===uu};dt.isFragment=function(e){return oo(e)===iu};dt.isLazy=function(e){return oo(e)===fu};dt.isMemo=function(e){return oo(e)===pu};dt.isPortal=function(e){return oo(e)===Af};dt.isProfiler=function(e){return oo(e)===su};dt.isStrictMode=function(e){return oo(e)===au};dt.isSuspense=function(e){return oo(e)===du};dt.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===iu||e===su||e===f_||e===au||e===du||e===$y||e===h_||typeof e=="object"&&e!==null&&(e.$$typeof===fu||e.$$typeof===pu||e.$$typeof===lu||e.$$typeof===cu||e.$$typeof===uu||e.$$typeof===p_||e.$$typeof===u_||e[0]===d_)};dt.typeOf=oo;function ux(e,t){return e===t?e!==0||t!==0||1/e===1/t:e!==e&&t!==t}function yL(e,t){if(ux(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;for(var o=0;o<r.length;o++)if(!Object.prototype.hasOwnProperty.call(t,r[o])||!ux(e[r[o]],t[r[o]]))return!1;return!0}function m_(){var e=g.useContext(Mi);return e}function g_(e){e===void 0&&(e=Mi);var t=e===Mi?m_:function(){return g.useContext(e)};return function(){var n=t(),o=n.store;return o}}var bL=g_();function xL(e){e===void 0&&(e=Mi);var t=e===Mi?bL:g_(e);return function(){var n=t();return n.dispatch}}var Oo=xL(),wL=function(t,r){return t===r};function SL(e,t,r,n){var o=g.useReducer(function(v){return v+1},0),i=o[1],a=g.useMemo(function(){return i_(r,n)},[r,n]),s=g.useRef(),l=g.useRef(),c=g.useRef(),u=g.useRef(),p=r.getState(),f;try{if(e!==l.current||p!==c.current||s.current){var m=e(p);u.current===void 0||!t(m,u.current)?f=m:f=u.current}else f=u.current}catch(v){throw s.current&&(v.message+=`
The error may be correlated with this previous error:
`+s.current.stack+`

`),v}return I0(function(){l.current=e,c.current=p,u.current=f,s.current=void 0}),I0(function(){function v(){try{var h=r.getState();if(h===c.current)return;var x=l.current(h);if(t(x,u.current))return;u.current=x,c.current=h}catch(y){s.current=y}i()}return a.onStateChange=v,a.trySubscribe(),v(),function(){return a.tryUnsubscribe()}},[r,a]),f}function EL(e){e===void 0&&(e=Mi);var t=e===Mi?m_:function(){return g.useContext(e)};return function(n,o){o===void 0&&(o=wL);var i=t(),a=i.store,s=i.subscription,l=SL(n,o,a,s);return g.useDebugValue(l),l}}var it=EL();U4(gf.unstable_batchedUpdates);function ei(e){let t="https://mui.com/production-error/?code="+e;for(let r=1;r<arguments.length;r+=1)t+="&args[]="+encodeURIComponent(arguments[r]);return"Minified MUI error #"+e+"; visit "+t+" for the full message."}const CL=Object.freeze(Object.defineProperty({__proto__:null,default:ei},Symbol.toStringTag,{value:"Module"})),js="$$material";function v_(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var TL=/^((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|disableRemotePlayback|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)-.*))$/,RL=v_(function(e){return TL.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),_L=!1;function AL(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}function kL(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),e.nonce!==void 0&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}var IL=function(){function e(r){var n=this;this._insertTag=function(o){var i;n.tags.length===0?n.insertionPoint?i=n.insertionPoint.nextSibling:n.prepend?i=n.container.firstChild:i=n.before:i=n.tags[n.tags.length-1].nextSibling,n.container.insertBefore(o,i),n.tags.push(o)},this.isSpeedy=r.speedy===void 0?!_L:r.speedy,this.tags=[],this.ctr=0,this.nonce=r.nonce,this.key=r.key,this.container=r.container,this.prepend=r.prepend,this.insertionPoint=r.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(n){n.forEach(this._insertTag)},t.insert=function(n){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(kL(this));var o=this.tags[this.tags.length-1];if(this.isSpeedy){var i=AL(o);try{i.insertRule(n,i.cssRules.length)}catch{}}else o.appendChild(document.createTextNode(n));this.ctr++},t.flush=function(){this.tags.forEach(function(n){var o;return(o=n.parentNode)==null?void 0:o.removeChild(n)}),this.tags=[],this.ctr=0},e}(),hr="-ms-",Tp="-moz-",Qe="-webkit-",y_="comm",Dy="rule",jy="decl",ML="@import",b_="@keyframes",PL="@layer",OL=Math.abs,kf=String.fromCharCode,LL=Object.assign;function NL(e,t){return ir(e,0)^45?(((t<<2^ir(e,0))<<2^ir(e,1))<<2^ir(e,2))<<2^ir(e,3):0}function x_(e){return e.trim()}function $L(e,t){return(e=t.exec(e))?e[0]:e}function Ye(e,t,r){return e.replace(t,r)}function M0(e,t){return e.indexOf(t)}function ir(e,t){return e.charCodeAt(t)|0}function Mc(e,t,r){return e.slice(t,r)}function mo(e){return e.length}function Fy(e){return e.length}function Xu(e,t){return t.push(e),e}function DL(e,t){return e.map(t).join("")}var If=1,Fs=1,w_=0,Wr=0,Ft=0,tl="";function Mf(e,t,r,n,o,i,a){return{value:e,root:t,parent:r,type:n,props:o,children:i,line:If,column:Fs,length:a,return:""}}function Cl(e,t){return LL(Mf("",null,null,"",null,null,0),e,{length:-e.length},t)}function jL(){return Ft}function FL(){return Ft=Wr>0?ir(tl,--Wr):0,Fs--,Ft===10&&(Fs=1,If--),Ft}function ln(){return Ft=Wr<w_?ir(tl,Wr++):0,Fs++,Ft===10&&(Fs=1,If++),Ft}function Eo(){return ir(tl,Wr)}function $d(){return Wr}function hu(e,t){return Mc(tl,e,t)}function Pc(e){switch(e){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 S_(e){return If=Fs=1,w_=mo(tl=e),Wr=0,[]}function E_(e){return tl="",e}function Dd(e){return x_(hu(Wr-1,P0(e===91?e+2:e===40?e+1:e)))}function BL(e){for(;(Ft=Eo())&&Ft<33;)ln();return Pc(e)>2||Pc(Ft)>3?"":" "}function HL(e,t){for(;--t&&ln()&&!(Ft<48||Ft>102||Ft>57&&Ft<65||Ft>70&&Ft<97););return hu(e,$d()+(t<6&&Eo()==32&&ln()==32))}function P0(e){for(;ln();)switch(Ft){case e:return Wr;case 34:case 39:e!==34&&e!==39&&P0(Ft);break;case 40:e===41&&P0(e);break;case 92:ln();break}return Wr}function UL(e,t){for(;ln()&&e+Ft!==57;)if(e+Ft===84&&Eo()===47)break;return"/*"+hu(t,Wr-1)+"*"+kf(e===47?e:ln())}function zL(e){for(;!Pc(Eo());)ln();return hu(e,Wr)}function VL(e){return E_(jd("",null,null,null,[""],e=S_(e),0,[0],e))}function jd(e,t,r,n,o,i,a,s,l){for(var c=0,u=0,p=a,f=0,m=0,v=0,h=1,x=1,y=1,b=0,w="",S=o,T=i,R=n,E=w;x;)switch(v=b,b=ln()){case 40:if(v!=108&&ir(E,p-1)==58){M0(E+=Ye(Dd(b),"&","&\f"),"&\f")!=-1&&(y=-1);break}case 34:case 39:case 91:E+=Dd(b);break;case 9:case 10:case 13:case 32:E+=BL(v);break;case 92:E+=HL($d()-1,7);continue;case 47:switch(Eo()){case 42:case 47:Xu(WL(UL(ln(),$d()),t,r),l);break;default:E+="/"}break;case 123*h:s[c++]=mo(E)*y;case 125*h:case 59:case 0:switch(b){case 0:case 125:x=0;case 59+u:y==-1&&(E=Ye(E,/\f/g,"")),m>0&&mo(E)-p&&Xu(m>32?px(E+";",n,r,p-1):px(Ye(E," ","")+";",n,r,p-2),l);break;case 59:E+=";";default:if(Xu(R=dx(E,t,r,c,u,o,s,w,S=[],T=[],p),i),b===123)if(u===0)jd(E,t,R,R,S,i,p,s,T);else switch(f===99&&ir(E,3)===110?100:f){case 100:case 108:case 109:case 115:jd(e,R,R,n&&Xu(dx(e,R,R,0,0,o,s,w,o,S=[],p),T),o,T,p,s,n?S:T);break;default:jd(E,R,R,R,[""],T,0,s,T)}}c=u=m=0,h=y=1,w=E="",p=a;break;case 58:p=1+mo(E),m=v;default:if(h<1){if(b==123)--h;else if(b==125&&h++==0&&FL()==125)continue}switch(E+=kf(b),b*h){case 38:y=u>0?1:(E+="\f",-1);break;case 44:s[c++]=(mo(E)-1)*y,y=1;break;case 64:Eo()===45&&(E+=Dd(ln())),f=Eo(),u=p=mo(w=E+=zL($d())),b++;break;case 45:v===45&&mo(E)==2&&(h=0)}}return i}function dx(e,t,r,n,o,i,a,s,l,c,u){for(var p=o-1,f=o===0?i:[""],m=Fy(f),v=0,h=0,x=0;v<n;++v)for(var y=0,b=Mc(e,p+1,p=OL(h=a[v])),w=e;y<m;++y)(w=x_(h>0?f[y]+" "+b:Ye(b,/&\f/g,f[y])))&&(l[x++]=w);return Mf(e,t,r,o===0?Dy:s,l,c,u)}function WL(e,t,r){return Mf(e,t,r,y_,kf(jL()),Mc(e,2,-2),0)}function px(e,t,r,n){return Mf(e,t,r,jy,Mc(e,0,n),Mc(e,n+1,-1),n)}function Es(e,t){for(var r="",n=Fy(e),o=0;o<n;o++)r+=t(e[o],o,e,t)||"";return r}function GL(e,t,r,n){switch(e.type){case PL:if(e.children.length)break;case ML:case jy:return e.return=e.return||e.value;case y_:return"";case b_:return e.return=e.value+"{"+Es(e.children,n)+"}";case Dy:e.value=e.props.join(",")}return mo(r=Es(e.children,n))?e.return=e.value+"{"+r+"}":""}function qL(e){var t=Fy(e);return function(r,n,o,i){for(var a="",s=0;s<t;s++)a+=e[s](r,n,o,i)||"";return a}}function QL(e){return function(t){t.root||(t=t.return)&&e(t)}}var YL=function(t,r,n){for(var o=0,i=0;o=i,i=Eo(),o===38&&i===12&&(r[n]=1),!Pc(i);)ln();return hu(t,Wr)},KL=function(t,r){var n=-1,o=44;do switch(Pc(o)){case 0:o===38&&Eo()===12&&(r[n]=1),t[n]+=YL(Wr-1,r,n);break;case 2:t[n]+=Dd(o);break;case 4:if(o===44){t[++n]=Eo()===58?"&\f":"",r[n]=t[n].length;break}default:t[n]+=kf(o)}while(o=ln());return t},ZL=function(t,r){return E_(KL(S_(t),r))},fx=new WeakMap,XL=function(t){if(!(t.type!=="rule"||!t.parent||t.length<1)){for(var r=t.value,n=t.parent,o=t.column===n.column&&t.line===n.line;n.type!=="rule";)if(n=n.parent,!n)return;if(!(t.props.length===1&&r.charCodeAt(0)!==58&&!fx.get(n))&&!o){fx.set(t,!0);for(var i=[],a=ZL(r,i),s=n.props,l=0,c=0;l<a.length;l++)for(var u=0;u<s.length;u++,c++)t.props[c]=i[l]?a[l].replace(/&\f/g,s[u]):s[u]+" "+a[l]}}},JL=function(t){if(t.type==="decl"){var r=t.value;r.charCodeAt(0)===108&&r.charCodeAt(2)===98&&(t.return="",t.value="")}};function C_(e,t){switch(NL(e,t)){case 5103:return Qe+"print-"+e+e;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 Qe+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Qe+e+Tp+e+hr+e+e;case 6828:case 4268:return Qe+e+hr+e+e;case 6165:return Qe+e+hr+"flex-"+e+e;case 5187:return Qe+e+Ye(e,/(\w+).+(:[^]+)/,Qe+"box-$1$2"+hr+"flex-$1$2")+e;case 5443:return Qe+e+hr+"flex-item-"+Ye(e,/flex-|-self/,"")+e;case 4675:return Qe+e+hr+"flex-line-pack"+Ye(e,/align-content|flex-|-self/,"")+e;case 5548:return Qe+e+hr+Ye(e,"shrink","negative")+e;case 5292:return Qe+e+hr+Ye(e,"basis","preferred-size")+e;case 6060:return Qe+"box-"+Ye(e,"-grow","")+Qe+e+hr+Ye(e,"grow","positive")+e;case 4554:return Qe+Ye(e,/([^-])(transform)/g,"$1"+Qe+"$2")+e;case 6187:return Ye(Ye(Ye(e,/(zoom-|grab)/,Qe+"$1"),/(image-set)/,Qe+"$1"),e,"")+e;case 5495:case 3959:return Ye(e,/(image-set\([^]*)/,Qe+"$1$`$1");case 4968:return Ye(Ye(e,/(.+:)(flex-)?(.*)/,Qe+"box-pack:$3"+hr+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Qe+e+e;case 4095:case 3583:case 4068:case 2532:return Ye(e,/(.+)-inline(.+)/,Qe+"$1$2")+e;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(mo(e)-1-t>6)switch(ir(e,t+1)){case 109:if(ir(e,t+4)!==45)break;case 102:return Ye(e,/(.+:)(.+)-([^]+)/,"$1"+Qe+"$2-$3$1"+Tp+(ir(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~M0(e,"stretch")?C_(Ye(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(ir(e,t+1)!==115)break;case 6444:switch(ir(e,mo(e)-3-(~M0(e,"!important")&&10))){case 107:return Ye(e,":",":"+Qe)+e;case 101:return Ye(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Qe+(ir(e,14)===45?"inline-":"")+"box$3$1"+Qe+"$2$3$1"+hr+"$2box$3")+e}break;case 5936:switch(ir(e,t+11)){case 114:return Qe+e+hr+Ye(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Qe+e+hr+Ye(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Qe+e+hr+Ye(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Qe+e+hr+e+e}return e}var e5=function(t,r,n,o){if(t.length>-1&&!t.return)switch(t.type){case jy:t.return=C_(t.value,t.length);break;case b_:return Es([Cl(t,{value:Ye(t.value,"@","@"+Qe)})],o);case Dy:if(t.length)return DL(t.props,function(i){switch($L(i,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Es([Cl(t,{props:[Ye(i,/:(read-\w+)/,":"+Tp+"$1")]})],o);case"::placeholder":return Es([Cl(t,{props:[Ye(i,/:(plac\w+)/,":"+Qe+"input-$1")]}),Cl(t,{props:[Ye(i,/:(plac\w+)/,":"+Tp+"$1")]}),Cl(t,{props:[Ye(i,/:(plac\w+)/,hr+"input-$1")]})],o)}return""})}},t5=[e5],Pf=function(t){var r=t.key;if(r==="css"){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,function(h){var x=h.getAttribute("data-emotion");x.indexOf(" ")!==-1&&(document.head.appendChild(h),h.setAttribute("data-s",""))})}var o=t.stylisPlugins||t5,i={},a,s=[];a=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+r+' "]'),function(h){for(var x=h.getAttribute("data-emotion").split(" "),y=1;y<x.length;y++)i[x[y]]=!0;s.push(h)});var l,c=[XL,JL];{var u,p=[GL,QL(function(h){u.insert(h)})],f=qL(c.concat(o,p)),m=function(x){return Es(VL(x),f)};l=function(x,y,b,w){u=b,m(x?x+"{"+y.styles+"}":y.styles),w&&(v.inserted[y.name]=!0)}}var v={key:r,sheet:new IL({key:r,container:a,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:i,registered:{},insert:l};return v.sheet.hydrate(s),v},r5=!0;function By(e,t,r){var n="";return r.split(" ").forEach(function(o){e[o]!==void 0?t.push(e[o]+";"):n+=o+" "}),n}var T_=function(t,r,n){var o=t.key+"-"+r.name;(n===!1||r5===!1)&&t.registered[o]===void 0&&(t.registered[o]=r.styles)},Hy=function(t,r,n){T_(t,r,n);var o=t.key+"-"+r.name;if(t.inserted[r.name]===void 0){var i=r;do t.insert(r===i?"."+o:"",i,t.sheet,!0),i=i.next;while(i!==void 0)}};function n5(e){for(var t=0,r,n=0,o=e.length;o>=4;++n,o-=4)r=e.charCodeAt(n)&255|(e.charCodeAt(++n)&255)<<8|(e.charCodeAt(++n)&255)<<16|(e.charCodeAt(++n)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,t=(r&65535)*1540483477+((r>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(o){case 3:t^=(e.charCodeAt(n+2)&255)<<16;case 2:t^=(e.charCodeAt(n+1)&255)<<8;case 1:t^=e.charCodeAt(n)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var o5={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,scale: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},i5=!1,a5=/[A-Z]|^ms/g,s5=/_EMO_([^_]+?)_([^]*?)_EMO_/g,R_=function(t){return t.charCodeAt(1)===45},hx=function(t){return t!=null&&typeof t!="boolean"},wm=v_(function(e){return R_(e)?e:e.replace(a5,"-$&").toLowerCase()}),mx=function(t,r){switch(t){case"animation":case"animationName":if(typeof r=="string")return r.replace(s5,function(n,o,i){return go={name:o,styles:i,next:go},o})}return o5[t]!==1&&!R_(t)&&typeof r=="number"&&r!==0?r+"px":r},l5="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function Oc(e,t,r){if(r==null)return"";var n=r;if(n.__emotion_styles!==void 0)return n;switch(typeof r){case"boolean":return"";case"object":{var o=r;if(o.anim===1)return go={name:o.name,styles:o.styles,next:go},o.name;var i=r;if(i.styles!==void 0){var a=i.next;if(a!==void 0)for(;a!==void 0;)go={name:a.name,styles:a.styles,next:go},a=a.next;var s=i.styles+";";return s}return c5(e,t,r)}case"function":{if(e!==void 0){var l=go,c=r(e);return go=l,Oc(e,t,c)}break}}var u=r;if(t==null)return u;var p=t[u];return p!==void 0?p:u}function c5(e,t,r){var n="";if(Array.isArray(r))for(var o=0;o<r.length;o++)n+=Oc(e,t,r[o])+";";else for(var i in r){var a=r[i];if(typeof a!="object"){var s=a;t!=null&&t[s]!==void 0?n+=i+"{"+t[s]+"}":hx(s)&&(n+=wm(i)+":"+mx(i,s)+";")}else{if(i==="NO_COMPONENT_SELECTOR"&&i5)throw new Error(l5);if(Array.isArray(a)&&typeof a[0]=="string"&&(t==null||t[a[0]]===void 0))for(var l=0;l<a.length;l++)hx(a[l])&&(n+=wm(i)+":"+mx(i,a[l])+";");else{var c=Oc(e,t,a);switch(i){case"animation":case"animationName":{n+=wm(i)+":"+c+";";break}default:n+=i+"{"+c+"}"}}}}return n}var gx=/label:\s*([^\s;\n{]+)\s*(;|$)/g,go;function Cs(e,t,r){if(e.length===1&&typeof e[0]=="object"&&e[0]!==null&&e[0].styles!==void 0)return e[0];var n=!0,o="";go=void 0;var i=e[0];if(i==null||i.raw===void 0)n=!1,o+=Oc(r,t,i);else{var a=i;o+=a[0]}for(var s=1;s<e.length;s++)if(o+=Oc(r,t,e[s]),n){var l=i;o+=l[s]}gx.lastIndex=0;for(var c="",u;(u=gx.exec(o))!==null;)c+="-"+u[1];var p=n5(o)+c;return{name:p,styles:o,next:go}}var u5=function(t){return t()},__=$g.useInsertionEffect?$g.useInsertionEffect:!1,d5=__||u5,vx=__||g.useLayoutEffect,A_=g.createContext(typeof HTMLElement<"u"?Pf({key:"css"}):null),k_=A_.Provider,I_=function(t){return g.forwardRef(function(r,n){var o=g.useContext(A_);return t(r,o,n)})},mu=g.createContext({}),p5=I_(function(e,t){var r=e.styles,n=Cs([r],void 0,g.useContext(mu)),o=g.useRef();return vx(function(){var i=t.key+"-global",a=new t.sheet.constructor({key:i,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),s=!1,l=document.querySelector('style[data-emotion="'+i+" "+n.name+'"]');return t.sheet.tags.length&&(a.before=t.sheet.tags[0]),l!==null&&(s=!0,l.setAttribute("data-emotion",i),a.hydrate([l])),o.current=[a,s],function(){a.flush()}},[t]),vx(function(){var i=o.current,a=i[0],s=i[1];if(s){i[1]=!1;return}if(n.next!==void 0&&Hy(t,n.next,!0),a.tags.length){var l=a.tags[a.tags.length-1].nextElementSibling;a.before=l,a.flush()}t.insert("",n,a,!1)},[t,n.name]),null});function ti(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return Cs(t)}var io=function(){var t=ti.apply(void 0,arguments),r="animation-"+t.name;return{name:r,styles:"@keyframes "+r+"{"+t.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}},f5=RL,h5=function(t){return t!=="theme"},yx=function(t){return typeof t=="string"&&t.charCodeAt(0)>96?f5:h5},bx=function(t,r,n){var o;if(r){var i=r.shouldForwardProp;o=t.__emotion_forwardProp&&i?function(a){return t.__emotion_forwardProp(a)&&i(a)}:i}return typeof o!="function"&&n&&(o=t.__emotion_forwardProp),o},m5=!1,g5=function(t){var r=t.cache,n=t.serialized,o=t.isStringTag;return T_(r,n,o),d5(function(){return Hy(r,n,o)}),null},v5=function e(t,r){var n=t.__emotion_real===t,o=n&&t.__emotion_base||t,i,a;r!==void 0&&(i=r.label,a=r.target);var s=bx(t,r,n),l=s||yx(o),c=!l("as");return function(){var u=arguments,p=n&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(i!==void 0&&p.push("label:"+i+";"),u[0]==null||u[0].raw===void 0)p.push.apply(p,u);else{p.push(u[0][0]);for(var f=u.length,m=1;m<f;m++)p.push(u[m],u[0][m])}var v=I_(function(h,x,y){var b=c&&h.as||o,w="",S=[],T=h;if(h.theme==null){T={};for(var R in h)T[R]=h[R];T.theme=g.useContext(mu)}typeof h.className=="string"?w=By(x.registered,S,h.className):h.className!=null&&(w=h.className+" ");var E=Cs(p.concat(S),x.registered,T);w+=x.key+"-"+E.name,a!==void 0&&(w+=" "+a);var A=c&&s===void 0?yx(b):l,P={};for(var M in h)c&&M==="as"||A(M)&&(P[M]=h[M]);return P.className=w,y&&(P.ref=y),g.createElement(g.Fragment,null,g.createElement(g5,{cache:x,serialized:E,isStringTag:typeof b=="string"}),g.createElement(b,P))});return v.displayName=i!==void 0?i:"Styled("+(typeof o=="string"?o:o.displayName||o.name||"Component")+")",v.defaultProps=t.defaultProps,v.__emotion_real=v,v.__emotion_base=o,v.__emotion_styles=p,v.__emotion_forwardProp=s,Object.defineProperty(v,"toString",{value:function(){return a===void 0&&m5?"NO_COMPONENT_SELECTOR":"."+a}}),v.withComponent=function(h,x){return e(h,_({},r,x,{shouldForwardProp:bx(v,x,!0)})).apply(void 0,p)},v}},y5=["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"],O0=v5.bind();y5.forEach(function(e){O0[e]=O0(e)});let L0;typeof document=="object"&&(L0=Pf({key:"css",prepend:!0}));function M_(e){const{injectFirst:t,children:r}=e;return t&&L0?d.jsx(k_,{value:L0,children:r}):r}function b5(e){return e==null||Object.keys(e).length===0}function P_(e){const{styles:t,defaultTheme:r={}}=e,n=typeof t=="function"?o=>t(b5(o)?r:o):t;return d.jsx(p5,{styles:n})}function Uy(e,t){return O0(e,t)}const O_=(e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))},x5=Object.freeze(Object.defineProperty({__proto__:null,GlobalStyles:P_,StyledEngineProvider:M_,ThemeContext:mu,css:ti,default:Uy,internal_processStyles:O_,keyframes:io},Symbol.toStringTag,{value:"Module"}));function zo(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function L_(e){if(!zo(e))return e;const t={};return Object.keys(e).forEach(r=>{t[r]=L_(e[r])}),t}function Mr(e,t,r={clone:!0}){const n=r.clone?_({},e):e;return zo(e)&&zo(t)&&Object.keys(t).forEach(o=>{zo(t[o])&&Object.prototype.hasOwnProperty.call(e,o)&&zo(e[o])?n[o]=Mr(e[o],t[o],r):r.clone?n[o]=zo(t[o])?L_(t[o]):t[o]:n[o]=t[o]}),n}const w5=Object.freeze(Object.defineProperty({__proto__:null,default:Mr,isPlainObject:zo},Symbol.toStringTag,{value:"Module"})),S5=["values","unit","step"],E5=e=>{const t=Object.keys(e).map(r=>({key:r,val:e[r]}))||[];return t.sort((r,n)=>r.val-n.val),t.reduce((r,n)=>_({},r,{[n.key]:n.val}),{})};function N_(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:r="px",step:n=5}=e,o=re(e,S5),i=E5(t),a=Object.keys(i);function s(f){return`@media (min-width:${typeof t[f]=="number"?t[f]:f}${r})`}function l(f){return`@media (max-width:${(typeof t[f]=="number"?t[f]:f)-n/100}${r})`}function c(f,m){const v=a.indexOf(m);return`@media (min-width:${typeof t[f]=="number"?t[f]:f}${r}) and (max-width:${(v!==-1&&typeof t[a[v]]=="number"?t[a[v]]:m)-n/100}${r})`}function u(f){return a.indexOf(f)+1<a.length?c(f,a[a.indexOf(f)+1]):s(f)}function p(f){const m=a.indexOf(f);return m===0?s(a[1]):m===a.length-1?l(a[m]):c(f,a[a.indexOf(f)+1]).replace("@media","@media not all and")}return _({keys:a,values:i,up:s,down:l,between:c,only:u,not:p,unit:r},o)}const C5={borderRadius:4};function tc(e,t){return t?Mr(e,t,{clone:!1}):e}const zy={xs:0,sm:600,md:900,lg:1200,xl:1536},xx={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${zy[e]}px)`};function ro(e,t,r){const n=e.theme||{};if(Array.isArray(t)){const i=n.breakpoints||xx;return t.reduce((a,s,l)=>(a[i.up(i.keys[l])]=r(t[l]),a),{})}if(typeof t=="object"){const i=n.breakpoints||xx;return Object.keys(t).reduce((a,s)=>{if(Object.keys(i.values||zy).indexOf(s)!==-1){const l=i.up(s);a[l]=r(t[s],s)}else{const l=s;a[l]=t[l]}return a},{})}return r(t)}function $_(e={}){var t;return((t=e.keys)==null?void 0:t.reduce((n,o)=>{const i=e.up(o);return n[i]={},n},{}))||{}}function D_(e,t){return e.reduce((r,n)=>{const o=r[n];return(!o||Object.keys(o).length===0)&&delete r[n],r},t)}function T5(e,...t){const r=$_(e),n=[r,...t].reduce((o,i)=>Mr(o,i),{});return D_(Object.keys(r),n)}function R5(e,t){if(typeof e!="object")return{};const r={},n=Object.keys(t);return Array.isArray(e)?n.forEach((o,i)=>{i<e.length&&(r[o]=!0)}):n.forEach(o=>{e[o]!=null&&(r[o]=!0)}),r}function Sm({values:e,breakpoints:t,base:r}){const n=r||R5(e,t),o=Object.keys(n);if(o.length===0)return e;let i;return o.reduce((a,s,l)=>(Array.isArray(e)?(a[s]=e[l]!=null?e[l]:e[i],i=l):typeof e=="object"?(a[s]=e[s]!=null?e[s]:e[i],i=s):a[s]=e,a),{})}function ne(e){if(typeof e!="string")throw new Error(ei(7));return e.charAt(0).toUpperCase()+e.slice(1)}const _5=Object.freeze(Object.defineProperty({__proto__:null,default:ne},Symbol.toStringTag,{value:"Module"}));function Of(e,t,r=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&r){const n=`vars.${t}`.split(".").reduce((o,i)=>o&&o[i]?o[i]:null,e);if(n!=null)return n}return t.split(".").reduce((n,o)=>n&&n[o]!=null?n[o]:null,e)}function Rp(e,t,r,n=r){let o;return typeof e=="function"?o=e(r):Array.isArray(e)?o=e[r]||n:o=Of(e,r)||n,t&&(o=t(o,n,e)),o}function Dt(e){const{prop:t,cssProperty:r=e.prop,themeKey:n,transform:o}=e,i=a=>{if(a[t]==null)return null;const s=a[t],l=a.theme,c=Of(l,n)||{};return ro(a,s,p=>{let f=Rp(c,o,p);return p===f&&typeof p=="string"&&(f=Rp(c,o,`${t}${p==="default"?"":ne(p)}`,p)),r===!1?f:{[r]:f}})};return i.propTypes={},i.filterProps=[t],i}function A5(e){const t={};return r=>(t[r]===void 0&&(t[r]=e(r)),t[r])}const k5={m:"margin",p:"padding"},I5={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},wx={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},M5=A5(e=>{if(e.length>2)if(wx[e])e=wx[e];else return[e];const[t,r]=e.split(""),n=k5[t],o=I5[r]||"";return Array.isArray(o)?o.map(i=>n+i):[n+o]}),Vy=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],Wy=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...Vy,...Wy];function gu(e,t,r,n){var o;const i=(o=Of(e,t,!1))!=null?o:r;return typeof i=="number"?a=>typeof a=="string"?a:i*a:Array.isArray(i)?a=>typeof a=="string"?a:i[a]:typeof i=="function"?i:()=>{}}function Gy(e){return gu(e,"spacing",8)}function ha(e,t){if(typeof t=="string"||t==null)return t;const r=Math.abs(t),n=e(r);return t>=0?n:typeof n=="number"?-n:`-${n}`}function P5(e,t){return r=>e.reduce((n,o)=>(n[o]=ha(t,r),n),{})}function O5(e,t,r,n){if(t.indexOf(r)===-1)return null;const o=M5(r),i=P5(o,n),a=e[r];return ro(e,a,i)}function j_(e,t){const r=Gy(e.theme);return Object.keys(e).map(n=>O5(e,t,n,r)).reduce(tc,{})}function It(e){return j_(e,Vy)}It.propTypes={};It.filterProps=Vy;function Mt(e){return j_(e,Wy)}Mt.propTypes={};Mt.filterProps=Wy;function L5(e=8){if(e.mui)return e;const t=Gy({spacing:e}),r=(...n)=>(n.length===0?[1]:n).map(i=>{const a=t(i);return typeof a=="number"?`${a}px`:a}).join(" ");return r.mui=!0,r}function Lf(...e){const t=e.reduce((n,o)=>(o.filterProps.forEach(i=>{n[i]=o}),n),{}),r=n=>Object.keys(n).reduce((o,i)=>t[i]?tc(o,t[i](n)):o,{});return r.propTypes={},r.filterProps=e.reduce((n,o)=>n.concat(o.filterProps),[]),r}function Cn(e){return typeof e!="number"?e:`${e}px solid`}function $n(e,t){return Dt({prop:e,themeKey:"borders",transform:t})}const N5=$n("border",Cn),$5=$n("borderTop",Cn),D5=$n("borderRight",Cn),j5=$n("borderBottom",Cn),F5=$n("borderLeft",Cn),B5=$n("borderColor"),H5=$n("borderTopColor"),U5=$n("borderRightColor"),z5=$n("borderBottomColor"),V5=$n("borderLeftColor"),W5=$n("outline",Cn),G5=$n("outlineColor"),Nf=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=gu(e.theme,"shape.borderRadius",4),r=n=>({borderRadius:ha(t,n)});return ro(e,e.borderRadius,r)}return null};Nf.propTypes={};Nf.filterProps=["borderRadius"];Lf(N5,$5,D5,j5,F5,B5,H5,U5,z5,V5,Nf,W5,G5);const $f=e=>{if(e.gap!==void 0&&e.gap!==null){const t=gu(e.theme,"spacing",8),r=n=>({gap:ha(t,n)});return ro(e,e.gap,r)}return null};$f.propTypes={};$f.filterProps=["gap"];const Df=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=gu(e.theme,"spacing",8),r=n=>({columnGap:ha(t,n)});return ro(e,e.columnGap,r)}return null};Df.propTypes={};Df.filterProps=["columnGap"];const jf=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=gu(e.theme,"spacing",8),r=n=>({rowGap:ha(t,n)});return ro(e,e.rowGap,r)}return null};jf.propTypes={};jf.filterProps=["rowGap"];const q5=Dt({prop:"gridColumn"}),Q5=Dt({prop:"gridRow"}),Y5=Dt({prop:"gridAutoFlow"}),K5=Dt({prop:"gridAutoColumns"}),Z5=Dt({prop:"gridAutoRows"}),X5=Dt({prop:"gridTemplateColumns"}),J5=Dt({prop:"gridTemplateRows"}),e6=Dt({prop:"gridTemplateAreas"}),t6=Dt({prop:"gridArea"});Lf($f,Df,jf,q5,Q5,Y5,K5,Z5,X5,J5,e6,t6);function Ts(e,t){return t==="grey"?t:e}const r6=Dt({prop:"color",themeKey:"palette",transform:Ts}),n6=Dt({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Ts}),o6=Dt({prop:"backgroundColor",themeKey:"palette",transform:Ts});Lf(r6,n6,o6);function nn(e){return e<=1&&e!==0?`${e*100}%`:e}const i6=Dt({prop:"width",transform:nn}),qy=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=r=>{var n,o;const i=((n=e.theme)==null||(n=n.breakpoints)==null||(n=n.values)==null?void 0:n[r])||zy[r];return i?((o=e.theme)==null||(o=o.breakpoints)==null?void 0:o.unit)!=="px"?{maxWidth:`${i}${e.theme.breakpoints.unit}`}:{maxWidth:i}:{maxWidth:nn(r)}};return ro(e,e.maxWidth,t)}return null};qy.filterProps=["maxWidth"];const a6=Dt({prop:"minWidth",transform:nn}),s6=Dt({prop:"height",transform:nn}),l6=Dt({prop:"maxHeight",transform:nn}),c6=Dt({prop:"minHeight",transform:nn});Dt({prop:"size",cssProperty:"width",transform:nn});Dt({prop:"size",cssProperty:"height",transform:nn});const u6=Dt({prop:"boxSizing"});Lf(i6,qy,a6,s6,l6,c6,u6);const vu={border:{themeKey:"borders",transform:Cn},borderTop:{themeKey:"borders",transform:Cn},borderRight:{themeKey:"borders",transform:Cn},borderBottom:{themeKey:"borders",transform:Cn},borderLeft:{themeKey:"borders",transform:Cn},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:Cn},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:Nf},color:{themeKey:"palette",transform:Ts},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Ts},backgroundColor:{themeKey:"palette",transform:Ts},p:{style:Mt},pt:{style:Mt},pr:{style:Mt},pb:{style:Mt},pl:{style:Mt},px:{style:Mt},py:{style:Mt},padding:{style:Mt},paddingTop:{style:Mt},paddingRight:{style:Mt},paddingBottom:{style:Mt},paddingLeft:{style:Mt},paddingX:{style:Mt},paddingY:{style:Mt},paddingInline:{style:Mt},paddingInlineStart:{style:Mt},paddingInlineEnd:{style:Mt},paddingBlock:{style:Mt},paddingBlockStart:{style:Mt},paddingBlockEnd:{style:Mt},m:{style:It},mt:{style:It},mr:{style:It},mb:{style:It},ml:{style:It},mx:{style:It},my:{style:It},margin:{style:It},marginTop:{style:It},marginRight:{style:It},marginBottom:{style:It},marginLeft:{style:It},marginX:{style:It},marginY:{style:It},marginInline:{style:It},marginInlineStart:{style:It},marginInlineEnd:{style:It},marginBlock:{style:It},marginBlockStart:{style:It},marginBlockEnd:{style:It},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:$f},rowGap:{style:jf},columnGap:{style:Df},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:nn},maxWidth:{style:qy},minWidth:{transform:nn},height:{transform:nn},maxHeight:{transform:nn},minHeight:{transform:nn},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function d6(...e){const t=e.reduce((n,o)=>n.concat(Object.keys(o)),[]),r=new Set(t);return e.every(n=>r.size===Object.keys(n).length)}function p6(e,t){return typeof e=="function"?e(t):e}function F_(){function e(r,n,o,i){const a={[r]:n,theme:o},s=i[r];if(!s)return{[r]:n};const{cssProperty:l=r,themeKey:c,transform:u,style:p}=s;if(n==null)return null;if(c==="typography"&&n==="inherit")return{[r]:n};const f=Of(o,c)||{};return p?p(a):ro(a,n,v=>{let h=Rp(f,u,v);return v===h&&typeof v=="string"&&(h=Rp(f,u,`${r}${v==="default"?"":ne(v)}`,v)),l===!1?h:{[l]:h}})}function t(r){var n;const{sx:o,theme:i={}}=r||{};if(!o)return null;const a=(n=i.unstable_sxConfig)!=null?n:vu;function s(l){let c=l;if(typeof l=="function")c=l(i);else if(typeof l!="object")return l;if(!c)return null;const u=$_(i.breakpoints),p=Object.keys(u);let f=u;return Object.keys(c).forEach(m=>{const v=p6(c[m],i);if(v!=null)if(typeof v=="object")if(a[m])f=tc(f,e(m,v,i,a));else{const h=ro({theme:i},v,x=>({[m]:x}));d6(h,v)?f[m]=t({sx:v,theme:i}):f=tc(f,h)}else f=tc(f,e(m,v,i,a))}),D_(p,f)}return Array.isArray(o)?o.map(s):s(o)}return t}const rl=F_();rl.filterProps=["sx"];function B_(e,t){const r=this;return r.vars&&typeof r.getColorSchemeSelector=="function"?{[r.getColorSchemeSelector(e).replace(/(\[[^\]]+\])/,"*:where($1)")]:t}:r.palette.mode===e?t:{}}const f6=["breakpoints","palette","spacing","shape"];function yu(e={},...t){const{breakpoints:r={},palette:n={},spacing:o,shape:i={}}=e,a=re(e,f6),s=N_(r),l=L5(o);let c=Mr({breakpoints:s,direction:"ltr",components:{},palette:_({mode:"light"},n),spacing:l,shape:_({},C5,i)},a);return c.applyStyles=B_,c=t.reduce((u,p)=>Mr(u,p),c),c.unstable_sxConfig=_({},vu,a==null?void 0:a.unstable_sxConfig),c.unstable_sx=function(p){return rl({sx:p,theme:this})},c}const h6=Object.freeze(Object.defineProperty({__proto__:null,default:yu,private_createBreakpoints:N_,unstable_applyStyles:B_},Symbol.toStringTag,{value:"Module"}));function m6(e){return Object.keys(e).length===0}function Qy(e=null){const t=g.useContext(mu);return!t||m6(t)?e:t}const g6=yu();function Ff(e=g6){return Qy(e)}function v6({styles:e,themeId:t,defaultTheme:r={}}){const n=Ff(r),o=typeof e=="function"?e(t&&n[t]||n):e;return d.jsx(P_,{styles:o})}const y6=["sx"],b6=e=>{var t,r;const n={systemProps:{},otherProps:{}},o=(t=e==null||(r=e.theme)==null?void 0:r.unstable_sxConfig)!=null?t:vu;return Object.keys(e).forEach(i=>{o[i]?n.systemProps[i]=e[i]:n.otherProps[i]=e[i]}),n};function Bf(e){const{sx:t}=e,r=re(e,y6),{systemProps:n,otherProps:o}=b6(r);let i;return Array.isArray(t)?i=[n,...t]:typeof t=="function"?i=(...a)=>{const s=t(...a);return zo(s)?_({},n,s):n}:i=_({},n,t),_({},o,{sx:i})}const x6=Object.freeze(Object.defineProperty({__proto__:null,default:rl,extendSxProp:Bf,unstable_createStyleFunctionSx:F_,unstable_defaultSxConfig:vu},Symbol.toStringTag,{value:"Module"})),Sx=e=>e,w6=()=>{let e=Sx;return{configure(t){e=t},generate(t){return e(t)},reset(){e=Sx}}},Yy=w6();function H_(e){var t,r,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(r=H_(e[t]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}function le(){for(var e,t,r=0,n="",o=arguments.length;r<o;r++)(e=arguments[r])&&(t=H_(e))&&(n&&(n+=" "),n+=t);return n}const S6=["className","component"];function E6(e={}){const{themeId:t,defaultTheme:r,defaultClassName:n="MuiBox-root",generateClassName:o}=e,i=Uy("div",{shouldForwardProp:s=>s!=="theme"&&s!=="sx"&&s!=="as"})(rl);return g.forwardRef(function(l,c){const u=Ff(r),p=Bf(l),{className:f,component:m="div"}=p,v=re(p,S6);return d.jsx(i,_({as:m,ref:c,className:le(f,o?o(n):n),theme:t&&u[t]||u},v))})}const C6={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function _e(e,t,r="Mui"){const n=C6[t];return n?`${r}-${n}`:`${Yy.generate(e)}-${t}`}function Te(e,t,r="Mui"){const n={};return t.forEach(o=>{n[o]=_e(e,o,r)}),n}var U_={exports:{}},rt={};/**
 * @license React
 * react-is.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var Ky=Symbol.for("react.element"),Zy=Symbol.for("react.portal"),Hf=Symbol.for("react.fragment"),Uf=Symbol.for("react.strict_mode"),zf=Symbol.for("react.profiler"),Vf=Symbol.for("react.provider"),Wf=Symbol.for("react.context"),T6=Symbol.for("react.server_context"),Gf=Symbol.for("react.forward_ref"),qf=Symbol.for("react.suspense"),Qf=Symbol.for("react.suspense_list"),Yf=Symbol.for("react.memo"),Kf=Symbol.for("react.lazy"),R6=Symbol.for("react.offscreen"),z_;z_=Symbol.for("react.module.reference");function Dn(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case Ky:switch(e=e.type,e){case Hf:case zf:case Uf:case qf:case Qf:return e;default:switch(e=e&&e.$$typeof,e){case T6:case Wf:case Gf:case Kf:case Yf:case Vf:return e;default:return t}}case Zy:return t}}}rt.ContextConsumer=Wf;rt.ContextProvider=Vf;rt.Element=Ky;rt.ForwardRef=Gf;rt.Fragment=Hf;rt.Lazy=Kf;rt.Memo=Yf;rt.Portal=Zy;rt.Profiler=zf;rt.StrictMode=Uf;rt.Suspense=qf;rt.SuspenseList=Qf;rt.isAsyncMode=function(){return!1};rt.isConcurrentMode=function(){return!1};rt.isContextConsumer=function(e){return Dn(e)===Wf};rt.isContextProvider=function(e){return Dn(e)===Vf};rt.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===Ky};rt.isForwardRef=function(e){return Dn(e)===Gf};rt.isFragment=function(e){return Dn(e)===Hf};rt.isLazy=function(e){return Dn(e)===Kf};rt.isMemo=function(e){return Dn(e)===Yf};rt.isPortal=function(e){return Dn(e)===Zy};rt.isProfiler=function(e){return Dn(e)===zf};rt.isStrictMode=function(e){return Dn(e)===Uf};rt.isSuspense=function(e){return Dn(e)===qf};rt.isSuspenseList=function(e){return Dn(e)===Qf};rt.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===Hf||e===zf||e===Uf||e===qf||e===Qf||e===R6||typeof e=="object"&&e!==null&&(e.$$typeof===Kf||e.$$typeof===Yf||e.$$typeof===Vf||e.$$typeof===Wf||e.$$typeof===Gf||e.$$typeof===z_||e.getModuleId!==void 0)};rt.typeOf=Dn;U_.exports=rt;var Ex=U_.exports;const _6=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function V_(e){const t=`${e}`.match(_6);return t&&t[1]||""}function W_(e,t=""){return e.displayName||e.name||V_(e)||t}function Cx(e,t,r){const n=W_(t);return e.displayName||(n!==""?`${r}(${n})`:r)}function A6(e){if(e!=null){if(typeof e=="string")return e;if(typeof e=="function")return W_(e,"Component");if(typeof e=="object")switch(e.$$typeof){case Ex.ForwardRef:return Cx(e,e.render,"ForwardRef");case Ex.Memo:return Cx(e,e.type,"memo");default:return}}}const k6=Object.freeze(Object.defineProperty({__proto__:null,default:A6,getFunctionName:V_},Symbol.toStringTag,{value:"Module"})),I6=["ownerState"],M6=["variants"],P6=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function O6(e){return Object.keys(e).length===0}function L6(e){return typeof e=="string"&&e.charCodeAt(0)>96}function Em(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const N6=yu(),$6=e=>e&&e.charAt(0).toLowerCase()+e.slice(1);function Ju({defaultTheme:e,theme:t,themeId:r}){return O6(t)?e:t[r]||t}function D6(e){return e?(t,r)=>r[e]:null}function Fd(e,t){let{ownerState:r}=t,n=re(t,I6);const o=typeof e=="function"?e(_({ownerState:r},n)):e;if(Array.isArray(o))return o.flatMap(i=>Fd(i,_({ownerState:r},n)));if(o&&typeof o=="object"&&Array.isArray(o.variants)){const{variants:i=[]}=o;let s=re(o,M6);return i.forEach(l=>{let c=!0;typeof l.props=="function"?c=l.props(_({ownerState:r},n,r)):Object.keys(l.props).forEach(u=>{(r==null?void 0:r[u])!==l.props[u]&&n[u]!==l.props[u]&&(c=!1)}),c&&(Array.isArray(s)||(s=[s]),s.push(typeof l.style=="function"?l.style(_({ownerState:r},n,r)):l.style))}),s}return o}function j6(e={}){const{themeId:t,defaultTheme:r=N6,rootShouldForwardProp:n=Em,slotShouldForwardProp:o=Em}=e,i=a=>rl(_({},a,{theme:Ju(_({},a,{defaultTheme:r,themeId:t}))}));return i.__mui_systemSx=!0,(a,s={})=>{O_(a,T=>T.filter(R=>!(R!=null&&R.__mui_systemSx)));const{name:l,slot:c,skipVariantsResolver:u,skipSx:p,overridesResolver:f=D6($6(c))}=s,m=re(s,P6),v=u!==void 0?u:c&&c!=="Root"&&c!=="root"||!1,h=p||!1;let x,y=Em;c==="Root"||c==="root"?y=n:c?y=o:L6(a)&&(y=void 0);const b=Uy(a,_({shouldForwardProp:y,label:x},m)),w=T=>typeof T=="function"&&T.__emotion_real!==T||zo(T)?R=>Fd(T,_({},R,{theme:Ju({theme:R.theme,defaultTheme:r,themeId:t})})):T,S=(T,...R)=>{let E=w(T);const A=R?R.map(w):[];l&&f&&A.push(O=>{const F=Ju(_({},O,{defaultTheme:r,themeId:t}));if(!F.components||!F.components[l]||!F.components[l].styleOverrides)return null;const I=F.components[l].styleOverrides,D={};return Object.entries(I).forEach(([$,j])=>{D[$]=Fd(j,_({},O,{theme:F}))}),f(O,D)}),l&&!v&&A.push(O=>{var F;const I=Ju(_({},O,{defaultTheme:r,themeId:t})),D=I==null||(F=I.components)==null||(F=F[l])==null?void 0:F.variants;return Fd({variants:D},_({},O,{theme:I}))}),h||A.push(i);const P=A.length-R.length;if(Array.isArray(T)&&P>0){const O=new Array(P).fill("");E=[...T,...O],E.raw=[...T.raw,...O]}const M=b(E,...A);return a.muiName&&(M.muiName=a.muiName),M};return b.withConfig&&(S.withConfig=b.withConfig),S}}const F6=j6();function Lc(e,t){const r=_({},t);return Object.keys(e).forEach(n=>{if(n.toString().match(/^(components|slots)$/))r[n]=_({},e[n],r[n]);else if(n.toString().match(/^(componentsProps|slotProps)$/)){const o=e[n]||{},i=t[n];r[n]={},!i||!Object.keys(i)?r[n]=o:!o||!Object.keys(o)?r[n]=i:(r[n]=_({},i),Object.keys(o).forEach(a=>{r[n][a]=Lc(o[a],i[a])}))}else r[n]===void 0&&(r[n]=e[n])}),r}function G_(e){const{theme:t,name:r,props:n}=e;return!t||!t.components||!t.components[r]||!t.components[r].defaultProps?n:Lc(t.components[r].defaultProps,n)}function B6({props:e,name:t,defaultTheme:r,themeId:n}){let o=Ff(r);return n&&(o=o[n]||o),G_({theme:o,name:t,props:e})}const un=typeof window<"u"?g.useLayoutEffect:g.useEffect;function H6(e,t,r,n,o){const[i,a]=g.useState(()=>o&&r?r(e).matches:n?n(e).matches:t);return un(()=>{let s=!0;if(!r)return;const l=r(e),c=()=>{s&&a(l.matches)};return c(),l.addListener(c),()=>{s=!1,l.removeListener(c)}},[e,r]),i}const q_=g.useSyncExternalStore;function U6(e,t,r,n,o){const i=g.useCallback(()=>t,[t]),a=g.useMemo(()=>{if(o&&r)return()=>r(e).matches;if(n!==null){const{matches:u}=n(e);return()=>u}return i},[i,e,n,o,r]),[s,l]=g.useMemo(()=>{if(r===null)return[i,()=>()=>{}];const u=r(e);return[()=>u.matches,p=>(u.addListener(p),()=>{u.removeListener(p)})]},[i,r,e]);return q_(l,s,a)}function tr(e,t={}){const r=Qy(),n=typeof window<"u"&&typeof window.matchMedia<"u",{defaultMatches:o=!1,matchMedia:i=n?window.matchMedia:null,ssrMatchMedia:a=null,noSsr:s=!1}=G_({name:"MuiUseMediaQuery",props:t,theme:r});let l=typeof e=="function"?e(r):e;return l=l.replace(/^@media( ?)/m,""),(q_!==void 0?U6:H6)(l,o,i,a,s)}function Q_(e,t=Number.MIN_SAFE_INTEGER,r=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,r))}const z6=Object.freeze(Object.defineProperty({__proto__:null,default:Q_},Symbol.toStringTag,{value:"Module"}));function V6(e,t=0,r=1){return Q_(e,t,r)}function W6(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let r=e.match(t);return r&&r[0].length===1&&(r=r.map(n=>n+n)),r?`rgb${r.length===4?"a":""}(${r.map((n,o)=>o<3?parseInt(n,16):Math.round(parseInt(n,16)/255*1e3)/1e3).join(", ")})`:""}function Y_(e){if(e.type)return e;if(e.charAt(0)==="#")return Y_(W6(e));const t=e.indexOf("("),r=e.substring(0,t);if(["rgb","rgba","hsl","hsla","color"].indexOf(r)===-1)throw new Error(ei(9,e));let n=e.substring(t+1,e.length-1),o;if(r==="color"){if(n=n.split(" "),o=n.shift(),n.length===4&&n[3].charAt(0)==="/"&&(n[3]=n[3].slice(1)),["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(o)===-1)throw new Error(ei(10,o))}else n=n.split(",");return n=n.map(i=>parseFloat(i)),{type:r,values:n,colorSpace:o}}function G6(e){const{type:t,colorSpace:r}=e;let{values:n}=e;return t.indexOf("rgb")!==-1?n=n.map((o,i)=>i<3?parseInt(o,10):o):t.indexOf("hsl")!==-1&&(n[1]=`${n[1]}%`,n[2]=`${n[2]}%`),t.indexOf("color")!==-1?n=`${r} ${n.join(" ")}`:n=`${n.join(", ")}`,`${t}(${n})`}function q6(e,t){return e=Y_(e),t=V6(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,G6(e)}function N0(...e){return e.reduce((t,r)=>r==null?t:function(...o){t.apply(this,o),r.apply(this,o)},()=>{})}function Zf(e,t=166){let r;function n(...o){const i=()=>{e.apply(this,o)};clearTimeout(r),r=setTimeout(i,t)}return n.clear=()=>{clearTimeout(r)},n}function Q6(e,t){return()=>null}function rc(e,t){var r,n;return g.isValidElement(e)&&t.indexOf((r=e.type.muiName)!=null?r:(n=e.type)==null||(n=n._payload)==null||(n=n.value)==null?void 0:n.muiName)!==-1}function yr(e){return e&&e.ownerDocument||document}function _o(e){return yr(e).defaultView||window}function Y6(e,t){return()=>null}function _p(e,t){typeof e=="function"?e(t):e&&(e.current=t)}let Tx=0;function K6(e){const[t,r]=g.useState(e),n=e||t;return g.useEffect(()=>{t==null&&(Tx+=1,r(`mui-${Tx}`))},[t]),n}const Rx=$g.useId;function bu(e){if(Rx!==void 0){const t=Rx();return e??t}return K6(e)}function Z6(e,t,r,n,o){return null}function Bs({controlled:e,default:t,name:r,state:n="value"}){const{current:o}=g.useRef(e!==void 0),[i,a]=g.useState(t),s=o?e:i,l=g.useCallback(c=>{o||a(c)},[]);return[s,l]}function qo(e){const t=g.useRef(e);return un(()=>{t.current=e}),g.useRef((...r)=>(0,t.current)(...r)).current}function _t(...e){return g.useMemo(()=>e.every(t=>t==null)?null:t=>{e.forEach(r=>{_p(r,t)})},e)}const _x={};function X6(e,t){const r=g.useRef(_x);return r.current===_x&&(r.current=e(t)),r}const J6=[];function eN(e){g.useEffect(e,J6)}class xu{constructor(){this.currentId=null,this.clear=()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)},this.disposeEffect=()=>this.clear}static create(){return new xu}start(t,r){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,r()},t)}}function ta(){const e=X6(xu.create).current;return eN(e.disposeEffect),e}let Xf=!0,$0=!1;const tN=new xu,rN={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function nN(e){const{type:t,tagName:r}=e;return!!(r==="INPUT"&&rN[t]&&!e.readOnly||r==="TEXTAREA"&&!e.readOnly||e.isContentEditable)}function oN(e){e.metaKey||e.altKey||e.ctrlKey||(Xf=!0)}function Cm(){Xf=!1}function iN(){this.visibilityState==="hidden"&&$0&&(Xf=!0)}function aN(e){e.addEventListener("keydown",oN,!0),e.addEventListener("mousedown",Cm,!0),e.addEventListener("pointerdown",Cm,!0),e.addEventListener("touchstart",Cm,!0),e.addEventListener("visibilitychange",iN,!0)}function sN(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch{}return Xf||nN(t)}function Xy(){const e=g.useCallback(o=>{o!=null&&aN(o.ownerDocument)},[]),t=g.useRef(!1);function r(){return t.current?($0=!0,tN.start(100,()=>{$0=!1}),t.current=!1,!0):!1}function n(o){return sN(o)?(t.current=!0,!0):!1}return{isFocusVisibleRef:t,onFocus:n,onBlur:r,ref:e}}function K_(e){const t=e.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}function ke(e,t,r=void 0){const n={};return Object.keys(e).forEach(o=>{n[o]=e[o].reduce((i,a)=>{if(a){const s=t(a);s!==""&&i.push(s),r&&r[a]&&i.push(r[a])}return i},[]).join(" ")}),n}function Hs(e){return typeof e=="string"}function fs(e,t,r){return e===void 0||Hs(e)?t:_({},t,{ownerState:_({},t.ownerState,r)})}function Z_(e,t=[]){if(e===void 0)return{};const r={};return Object.keys(e).filter(n=>n.match(/^on[A-Z]/)&&typeof e[n]=="function"&&!t.includes(n)).forEach(n=>{r[n]=e[n]}),r}function Ax(e){if(e===void 0)return{};const t={};return Object.keys(e).filter(r=>!(r.match(/^on[A-Z]/)&&typeof e[r]=="function")).forEach(r=>{t[r]=e[r]}),t}function X_(e){const{getSlotProps:t,additionalProps:r,externalSlotProps:n,externalForwardedProps:o,className:i}=e;if(!t){const m=le(r==null?void 0:r.className,i,o==null?void 0:o.className,n==null?void 0:n.className),v=_({},r==null?void 0:r.style,o==null?void 0:o.style,n==null?void 0:n.style),h=_({},r,o,n);return m.length>0&&(h.className=m),Object.keys(v).length>0&&(h.style=v),{props:h,internalRef:void 0}}const a=Z_(_({},o,n)),s=Ax(n),l=Ax(o),c=t(a),u=le(c==null?void 0:c.className,r==null?void 0:r.className,i,o==null?void 0:o.className,n==null?void 0:n.className),p=_({},c==null?void 0:c.style,r==null?void 0:r.style,o==null?void 0:o.style,n==null?void 0:n.style),f=_({},c,r,l,s);return u.length>0&&(f.className=u),Object.keys(p).length>0&&(f.style=p),{props:f,internalRef:c.ref}}function J_(e,t,r){return typeof e=="function"?e(t,r):e}const lN=["elementType","externalSlotProps","ownerState","skipResolvingSlotProps"];function ma(e){var t;const{elementType:r,externalSlotProps:n,ownerState:o,skipResolvingSlotProps:i=!1}=e,a=re(e,lN),s=i?{}:J_(n,o),{props:l,internalRef:c}=X_(_({},a,{externalSlotProps:s})),u=_t(c,s==null?void 0:s.ref,(t=e.additionalProps)==null?void 0:t.ref);return fs(r,_({},l,{ref:u}),o)}const eA=g.createContext(null);function tA(){return g.useContext(eA)}const cN=typeof Symbol=="function"&&Symbol.for,uN=cN?Symbol.for("mui.nested"):"__THEME_NESTED__";function dN(e,t){return typeof t=="function"?t(e):_({},e,t)}function pN(e){const{children:t,theme:r}=e,n=tA(),o=g.useMemo(()=>{const i=n===null?r:dN(n,r);return i!=null&&(i[uN]=n!==null),i},[r,n]);return d.jsx(eA.Provider,{value:o,children:t})}const fN=["value"],rA=g.createContext();function hN(e){let{value:t}=e,r=re(e,fN);return d.jsx(rA.Provider,_({value:t??!0},r))}const Jf=()=>{const e=g.useContext(rA);return e??!1},nA=g.createContext(void 0);function mN({value:e,children:t}){return d.jsx(nA.Provider,{value:e,children:t})}function gN(e){const{theme:t,name:r,props:n}=e;if(!t||!t.components||!t.components[r])return n;const o=t.components[r];return o.defaultProps?Lc(o.defaultProps,n):!o.styleOverrides&&!o.variants?Lc(o,n):n}function vN({props:e,name:t}){const r=g.useContext(nA);return gN({props:e,name:t,theme:{components:r}})}const kx={};function Ix(e,t,r,n=!1){return g.useMemo(()=>{const o=e&&t[e]||t;if(typeof r=="function"){const i=r(o),a=e?_({},t,{[e]:i}):i;return n?()=>a:a}return e?_({},t,{[e]:r}):_({},t,r)},[e,t,r,n])}function yN(e){const{children:t,theme:r,themeId:n}=e,o=Qy(kx),i=tA()||kx,a=Ix(n,o,r),s=Ix(n,i,r,!0),l=a.direction==="rtl";return d.jsx(pN,{theme:s,children:d.jsx(mu.Provider,{value:a,children:d.jsx(hN,{value:l,children:d.jsx(mN,{value:a==null?void 0:a.components,children:t})})})})}function Nc(e){"@babel/helpers - typeof";return Nc=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},Nc(e)}function bN(e,t){if(Nc(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(Nc(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function xN(e){var t=bN(e,"string");return Nc(t)=="symbol"?t:t+""}const wN=["component","direction","spacing","divider","children","className","useFlexGap"],SN=yu(),EN=F6("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,t)=>t.root});function CN(e){return B6({props:e,name:"MuiStack",defaultTheme:SN})}function TN(e,t){const r=g.Children.toArray(e).filter(Boolean);return r.reduce((n,o,i)=>(n.push(o),i<r.length-1&&n.push(g.cloneElement(t,{key:`separator-${i}`})),n),[])}const RN=e=>({row:"Left","row-reverse":"Right",column:"Top","column-reverse":"Bottom"})[e],_N=({ownerState:e,theme:t})=>{let r=_({display:"flex",flexDirection:"column"},ro({theme:t},Sm({values:e.direction,breakpoints:t.breakpoints.values}),n=>({flexDirection:n})));if(e.spacing){const n=Gy(t),o=Object.keys(t.breakpoints.values).reduce((l,c)=>((typeof e.spacing=="object"&&e.spacing[c]!=null||typeof e.direction=="object"&&e.direction[c]!=null)&&(l[c]=!0),l),{}),i=Sm({values:e.direction,base:o}),a=Sm({values:e.spacing,base:o});typeof i=="object"&&Object.keys(i).forEach((l,c,u)=>{if(!i[l]){const f=c>0?i[u[c-1]]:"column";i[l]=f}}),r=Mr(r,ro({theme:t},a,(l,c)=>e.useFlexGap?{gap:ha(n,l)}:{"& > :not(style):not(style)":{margin:0},"& > :not(style) ~ :not(style)":{[`margin${RN(c?i[c]:e.direction)}`]:ha(n,l)}}))}return r=T5(t.breakpoints,r),r};function AN(e={}){const{createStyledComponent:t=EN,useThemeProps:r=CN,componentName:n="MuiStack"}=e,o=()=>ke({root:["root"]},l=>_e(n,l),{}),i=t(_N);return g.forwardRef(function(l,c){const u=r(l),p=Bf(u),{component:f="div",direction:m="column",spacing:v=0,divider:h,children:x,className:y,useFlexGap:b=!1}=p,w=re(p,wN),S={direction:m,spacing:v,useFlexGap:b},T=o();return d.jsx(i,_({as:f,ownerState:S,ref:c,className:le(T.root,y)},w,{children:h?TN(x,h):x}))})}function kN(e,t){return _({toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}}},t)}var jt={},oA={exports:{}};(function(e){function t(r){return r&&r.__esModule?r:{default:r}}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(oA);var Jy=oA.exports;const IN=Nn(CL),MN=Nn(z6);var iA=Jy;Object.defineProperty(jt,"__esModule",{value:!0});var Ot=jt.alpha=cA;jt.blend=UN;jt.colorChannel=void 0;var $c=jt.darken=t1;jt.decomposeColor=In;var Wae=jt.emphasize=uA,PN=jt.getContrastRatio=DN;jt.getLuminance=Ap;jt.hexToRgb=aA;jt.hslToRgb=lA;var Dc=jt.lighten=r1;jt.private_safeAlpha=jN;jt.private_safeColorChannel=void 0;jt.private_safeDarken=FN;jt.private_safeEmphasize=HN;jt.private_safeLighten=BN;jt.recomposeColor=nl;jt.rgbToHex=$N;var Mx=iA(IN),ON=iA(MN);function e1(e,t=0,r=1){return(0,ON.default)(e,t,r)}function aA(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let r=e.match(t);return r&&r[0].length===1&&(r=r.map(n=>n+n)),r?`rgb${r.length===4?"a":""}(${r.map((n,o)=>o<3?parseInt(n,16):Math.round(parseInt(n,16)/255*1e3)/1e3).join(", ")})`:""}function LN(e){const t=e.toString(16);return t.length===1?`0${t}`:t}function In(e){if(e.type)return e;if(e.charAt(0)==="#")return In(aA(e));const t=e.indexOf("("),r=e.substring(0,t);if(["rgb","rgba","hsl","hsla","color"].indexOf(r)===-1)throw new Error((0,Mx.default)(9,e));let n=e.substring(t+1,e.length-1),o;if(r==="color"){if(n=n.split(" "),o=n.shift(),n.length===4&&n[3].charAt(0)==="/"&&(n[3]=n[3].slice(1)),["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(o)===-1)throw new Error((0,Mx.default)(10,o))}else n=n.split(",");return n=n.map(i=>parseFloat(i)),{type:r,values:n,colorSpace:o}}const sA=e=>{const t=In(e);return t.values.slice(0,3).map((r,n)=>t.type.indexOf("hsl")!==-1&&n!==0?`${r}%`:r).join(" ")};jt.colorChannel=sA;const NN=(e,t)=>{try{return sA(e)}catch{return e}};jt.private_safeColorChannel=NN;function nl(e){const{type:t,colorSpace:r}=e;let{values:n}=e;return t.indexOf("rgb")!==-1?n=n.map((o,i)=>i<3?parseInt(o,10):o):t.indexOf("hsl")!==-1&&(n[1]=`${n[1]}%`,n[2]=`${n[2]}%`),t.indexOf("color")!==-1?n=`${r} ${n.join(" ")}`:n=`${n.join(", ")}`,`${t}(${n})`}function $N(e){if(e.indexOf("#")===0)return e;const{values:t}=In(e);return`#${t.map((r,n)=>LN(n===3?Math.round(255*r):r)).join("")}`}function lA(e){e=In(e);const{values:t}=e,r=t[0],n=t[1]/100,o=t[2]/100,i=n*Math.min(o,1-o),a=(c,u=(c+r/30)%12)=>o-i*Math.max(Math.min(u-3,9-u,1),-1);let s="rgb";const l=[Math.round(a(0)*255),Math.round(a(8)*255),Math.round(a(4)*255)];return e.type==="hsla"&&(s+="a",l.push(t[3])),nl({type:s,values:l})}function Ap(e){e=In(e);let t=e.type==="hsl"||e.type==="hsla"?In(lA(e)).values:e.values;return t=t.map(r=>(e.type!=="color"&&(r/=255),r<=.03928?r/12.92:((r+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function DN(e,t){const r=Ap(e),n=Ap(t);return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)}function cA(e,t){return e=In(e),t=e1(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,nl(e)}function jN(e,t,r){try{return cA(e,t)}catch{return e}}function t1(e,t){if(e=In(e),t=e1(t),e.type.indexOf("hsl")!==-1)e.values[2]*=1-t;else if(e.type.indexOf("rgb")!==-1||e.type.indexOf("color")!==-1)for(let r=0;r<3;r+=1)e.values[r]*=1-t;return nl(e)}function FN(e,t,r){try{return t1(e,t)}catch{return e}}function r1(e,t){if(e=In(e),t=e1(t),e.type.indexOf("hsl")!==-1)e.values[2]+=(100-e.values[2])*t;else if(e.type.indexOf("rgb")!==-1)for(let r=0;r<3;r+=1)e.values[r]+=(255-e.values[r])*t;else if(e.type.indexOf("color")!==-1)for(let r=0;r<3;r+=1)e.values[r]+=(1-e.values[r])*t;return nl(e)}function BN(e,t,r){try{return r1(e,t)}catch{return e}}function uA(e,t=.15){return Ap(e)>.5?t1(e,t):r1(e,t)}function HN(e,t,r){try{return uA(e,t)}catch{return e}}function UN(e,t,r,n=1){const o=(l,c)=>Math.round((l**(1/n)*(1-r)+c**(1/n)*r)**n),i=In(e),a=In(t),s=[o(i.values[0],a.values[0]),o(i.values[1],a.values[1]),o(i.values[2],a.values[2])];return nl({type:"rgb",values:s})}const jc={black:"#000",white:"#fff"},zN={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},Na={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},$a={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},Tl={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},Da={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},ja={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},Fa={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"},VN=["mode","contrastThreshold","tonalOffset"],Px={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:jc.white,default:jc.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},Tm={text:{primary:jc.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:jc.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function Ox(e,t,r,n){const o=n.light||n,i=n.dark||n*1.5;e[t]||(e.hasOwnProperty(r)?e[t]=e[r]:t==="light"?e.light=Dc(e.main,o):t==="dark"&&(e.dark=$c(e.main,i)))}function WN(e="light"){return e==="dark"?{main:Da[200],light:Da[50],dark:Da[400]}:{main:Da[700],light:Da[400],dark:Da[800]}}function GN(e="light"){return e==="dark"?{main:Na[200],light:Na[50],dark:Na[400]}:{main:Na[500],light:Na[300],dark:Na[700]}}function qN(e="light"){return e==="dark"?{main:$a[500],light:$a[300],dark:$a[700]}:{main:$a[700],light:$a[400],dark:$a[800]}}function QN(e="light"){return e==="dark"?{main:ja[400],light:ja[300],dark:ja[700]}:{main:ja[700],light:ja[500],dark:ja[900]}}function YN(e="light"){return e==="dark"?{main:Fa[400],light:Fa[300],dark:Fa[700]}:{main:Fa[800],light:Fa[500],dark:Fa[900]}}function KN(e="light"){return e==="dark"?{main:Tl[400],light:Tl[300],dark:Tl[700]}:{main:"#ed6c02",light:Tl[500],dark:Tl[900]}}function ZN(e){const{mode:t="light",contrastThreshold:r=3,tonalOffset:n=.2}=e,o=re(e,VN),i=e.primary||WN(t),a=e.secondary||GN(t),s=e.error||qN(t),l=e.info||QN(t),c=e.success||YN(t),u=e.warning||KN(t);function p(h){return PN(h,Tm.text.primary)>=r?Tm.text.primary:Px.text.primary}const f=({color:h,name:x,mainShade:y=500,lightShade:b=300,darkShade:w=700})=>{if(h=_({},h),!h.main&&h[y]&&(h.main=h[y]),!h.hasOwnProperty("main"))throw new Error(ei(11,x?` (${x})`:"",y));if(typeof h.main!="string")throw new Error(ei(12,x?` (${x})`:"",JSON.stringify(h.main)));return Ox(h,"light",b,n),Ox(h,"dark",w,n),h.contrastText||(h.contrastText=p(h.main)),h},m={dark:Tm,light:Px};return Mr(_({common:_({},jc),mode:t,primary:f({color:i,name:"primary"}),secondary:f({color:a,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:f({color:s,name:"error"}),warning:f({color:u,name:"warning"}),info:f({color:l,name:"info"}),success:f({color:c,name:"success"}),grey:zN,contrastThreshold:r,getContrastText:p,augmentColor:f,tonalOffset:n},m[t]),o)}const XN=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];function JN(e){return Math.round(e*1e5)/1e5}const Lx={textTransform:"uppercase"},Nx='"Roboto", "Helvetica", "Arial", sans-serif';function e$(e,t){const r=typeof t=="function"?t(e):t,{fontFamily:n=Nx,fontSize:o=14,fontWeightLight:i=300,fontWeightRegular:a=400,fontWeightMedium:s=500,fontWeightBold:l=700,htmlFontSize:c=16,allVariants:u,pxToRem:p}=r,f=re(r,XN),m=o/14,v=p||(y=>`${y/c*m}rem`),h=(y,b,w,S,T)=>_({fontFamily:n,fontWeight:y,fontSize:v(b),lineHeight:w},n===Nx?{letterSpacing:`${JN(S/b)}em`}:{},T,u),x={h1:h(i,96,1.167,-1.5),h2:h(i,60,1.2,-.5),h3:h(a,48,1.167,0),h4:h(a,34,1.235,.25),h5:h(a,24,1.334,0),h6:h(s,20,1.6,.15),subtitle1:h(a,16,1.75,.15),subtitle2:h(s,14,1.57,.1),body1:h(a,16,1.5,.15),body2:h(a,14,1.43,.15),button:h(s,14,1.75,.4,Lx),caption:h(a,12,1.66,.4),overline:h(a,12,2.66,1,Lx),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return Mr(_({htmlFontSize:c,pxToRem:v,fontFamily:n,fontSize:o,fontWeightLight:i,fontWeightRegular:a,fontWeightMedium:s,fontWeightBold:l},x),f,{clone:!1})}const t$=.2,r$=.14,n$=.12;function yt(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${t$})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${r$})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${n$})`].join(",")}const o$=["none",yt(0,2,1,-1,0,1,1,0,0,1,3,0),yt(0,3,1,-2,0,2,2,0,0,1,5,0),yt(0,3,3,-2,0,3,4,0,0,1,8,0),yt(0,2,4,-1,0,4,5,0,0,1,10,0),yt(0,3,5,-1,0,5,8,0,0,1,14,0),yt(0,3,5,-1,0,6,10,0,0,1,18,0),yt(0,4,5,-2,0,7,10,1,0,2,16,1),yt(0,5,5,-3,0,8,10,1,0,3,14,2),yt(0,5,6,-3,0,9,12,1,0,3,16,2),yt(0,6,6,-3,0,10,14,1,0,4,18,3),yt(0,6,7,-4,0,11,15,1,0,4,20,3),yt(0,7,8,-4,0,12,17,2,0,5,22,4),yt(0,7,8,-4,0,13,19,2,0,5,24,4),yt(0,7,9,-4,0,14,21,2,0,5,26,4),yt(0,8,9,-5,0,15,22,2,0,6,28,5),yt(0,8,10,-5,0,16,24,2,0,6,30,5),yt(0,8,11,-5,0,17,26,2,0,6,32,5),yt(0,9,11,-5,0,18,28,2,0,7,34,6),yt(0,9,12,-6,0,19,29,2,0,7,36,6),yt(0,10,13,-6,0,20,31,3,0,8,38,7),yt(0,10,13,-6,0,21,33,3,0,8,40,7),yt(0,10,14,-6,0,22,35,3,0,8,42,7),yt(0,11,14,-7,0,23,36,3,0,9,44,8),yt(0,11,15,-7,0,24,38,3,0,9,46,8)],i$=["duration","easing","delay"],a$={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},dA={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function $x(e){return`${Math.round(e)}ms`}function s$(e){if(!e)return 0;const t=e/36;return Math.round((4+15*t**.25+t/5)*10)}function l$(e){const t=_({},a$,e.easing),r=_({},dA,e.duration);return _({getAutoHeightDuration:s$,create:(o=["all"],i={})=>{const{duration:a=r.standard,easing:s=t.easeInOut,delay:l=0}=i;return re(i,i$),(Array.isArray(o)?o:[o]).map(c=>`${c} ${typeof a=="string"?a:$x(a)} ${s} ${typeof l=="string"?l:$x(l)}`).join(",")}},e,{easing:t,duration:r})}const c$={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},u$=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function eh(e={},...t){const{mixins:r={},palette:n={},transitions:o={},typography:i={}}=e,a=re(e,u$);if(e.vars)throw new Error(ei(18));const s=ZN(n),l=yu(e);let c=Mr(l,{mixins:kN(l.breakpoints,r),palette:s,shadows:o$.slice(),typography:e$(s,i),transitions:l$(o),zIndex:_({},c$)});return c=Mr(c,a),c=t.reduce((u,p)=>Mr(u,p),c),c.unstable_sxConfig=_({},vu,a==null?void 0:a.unstable_sxConfig),c.unstable_sx=function(p){return rl({sx:p,theme:this})},c}function d$(e){return String(e).match(/[\d.\-+]*\s*(.*)/)[1]||""}function p$(e){return parseFloat(e)}const n1=eh();function Lo(){const e=Ff(n1);return e[js]||e}var wu={};const f$=Nn(G4);var Rm={exports:{}},Dx;function h$(){return Dx||(Dx=1,function(e){function t(r,n){if(r==null)return{};var o={};for(var i in r)if({}.hasOwnProperty.call(r,i)){if(n.includes(i))continue;o[i]=r[i]}return o}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}(Rm)),Rm.exports}const pA=Nn(x5),m$=Nn(w5),g$=Nn(_5),v$=Nn(k6),y$=Nn(h6),b$=Nn(x6);var ol=Jy;Object.defineProperty(wu,"__esModule",{value:!0});var x$=wu.default=O$;wu.shouldForwardProp=Bd;wu.systemDefaultTheme=void 0;var xn=ol(f$),D0=ol(h$()),jx=_$(pA),w$=m$;ol(g$);ol(v$);var S$=ol(y$),E$=ol(b$);const C$=["ownerState"],T$=["variants"],R$=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function fA(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,r=new WeakMap;return(fA=function(n){return n?r:t})(e)}function _$(e,t){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var r=fA(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(i!=="default"&&Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}return n.default=e,r&&r.set(e,n),n}function A$(e){return Object.keys(e).length===0}function k$(e){return typeof e=="string"&&e.charCodeAt(0)>96}function Bd(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const I$=wu.systemDefaultTheme=(0,S$.default)(),M$=e=>e&&e.charAt(0).toLowerCase()+e.slice(1);function ed({defaultTheme:e,theme:t,themeId:r}){return A$(t)?e:t[r]||t}function P$(e){return e?(t,r)=>r[e]:null}function Hd(e,t){let{ownerState:r}=t,n=(0,D0.default)(t,C$);const o=typeof e=="function"?e((0,xn.default)({ownerState:r},n)):e;if(Array.isArray(o))return o.flatMap(i=>Hd(i,(0,xn.default)({ownerState:r},n)));if(o&&typeof o=="object"&&Array.isArray(o.variants)){const{variants:i=[]}=o;let s=(0,D0.default)(o,T$);return i.forEach(l=>{let c=!0;typeof l.props=="function"?c=l.props((0,xn.default)({ownerState:r},n,r)):Object.keys(l.props).forEach(u=>{(r==null?void 0:r[u])!==l.props[u]&&n[u]!==l.props[u]&&(c=!1)}),c&&(Array.isArray(s)||(s=[s]),s.push(typeof l.style=="function"?l.style((0,xn.default)({ownerState:r},n,r)):l.style))}),s}return o}function O$(e={}){const{themeId:t,defaultTheme:r=I$,rootShouldForwardProp:n=Bd,slotShouldForwardProp:o=Bd}=e,i=a=>(0,E$.default)((0,xn.default)({},a,{theme:ed((0,xn.default)({},a,{defaultTheme:r,themeId:t}))}));return i.__mui_systemSx=!0,(a,s={})=>{(0,jx.internal_processStyles)(a,T=>T.filter(R=>!(R!=null&&R.__mui_systemSx)));const{name:l,slot:c,skipVariantsResolver:u,skipSx:p,overridesResolver:f=P$(M$(c))}=s,m=(0,D0.default)(s,R$),v=u!==void 0?u:c&&c!=="Root"&&c!=="root"||!1,h=p||!1;let x,y=Bd;c==="Root"||c==="root"?y=n:c?y=o:k$(a)&&(y=void 0);const b=(0,jx.default)(a,(0,xn.default)({shouldForwardProp:y,label:x},m)),w=T=>typeof T=="function"&&T.__emotion_real!==T||(0,w$.isPlainObject)(T)?R=>Hd(T,(0,xn.default)({},R,{theme:ed({theme:R.theme,defaultTheme:r,themeId:t})})):T,S=(T,...R)=>{let E=w(T);const A=R?R.map(w):[];l&&f&&A.push(O=>{const F=ed((0,xn.default)({},O,{defaultTheme:r,themeId:t}));if(!F.components||!F.components[l]||!F.components[l].styleOverrides)return null;const I=F.components[l].styleOverrides,D={};return Object.entries(I).forEach(([$,j])=>{D[$]=Hd(j,(0,xn.default)({},O,{theme:F}))}),f(O,D)}),l&&!v&&A.push(O=>{var F;const I=ed((0,xn.default)({},O,{defaultTheme:r,themeId:t})),D=I==null||(F=I.components)==null||(F=F[l])==null?void 0:F.variants;return Hd({variants:D},(0,xn.default)({},O,{theme:I}))}),h||A.push(i);const P=A.length-R.length;if(Array.isArray(T)&&P>0){const O=new Array(P).fill("");E=[...T,...O],E.raw=[...T.raw,...O]}const M=b(E,...A);return a.muiName&&(M.muiName=a.muiName),M};return b.withConfig&&(S.withConfig=b.withConfig),S}}function hA(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const Lr=e=>hA(e)&&e!=="classes",Z=x$({themeId:js,defaultTheme:n1,rootShouldForwardProp:Lr}),L$=["theme"];function N$(e){let{theme:t}=e,r=re(e,L$);const n=t[js];return d.jsx(yN,_({},r,{themeId:n?js:void 0,theme:n||t}))}const Fx=e=>{let t;return e<1?t=5.11916*e**2:t=4.5*Math.log(e+1)+2,(t/100).toFixed(2)};function Ie(e){return vN(e)}function mA(e){return d.jsx(v6,_({},e,{defaultTheme:n1,themeId:js}))}const $$=(e,t)=>_({WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",boxSizing:"border-box",WebkitTextSizeAdjust:"100%"},t&&!e.vars&&{colorScheme:e.palette.mode}),D$=e=>_({color:(e.vars||e).palette.text.primary},e.typography.body1,{backgroundColor:(e.vars||e).palette.background.default,"@media print":{backgroundColor:(e.vars||e).palette.common.white}}),j$=(e,t=!1)=>{var r;const n={};t&&e.colorSchemes&&Object.entries(e.colorSchemes).forEach(([a,s])=>{var l;n[e.getColorSchemeSelector(a).replace(/\s*&/,"")]={colorScheme:(l=s.palette)==null?void 0:l.mode}});let o=_({html:$$(e,t),"*, *::before, *::after":{boxSizing:"inherit"},"strong, b":{fontWeight:e.typography.fontWeightBold},body:_({margin:0},D$(e),{"&::backdrop":{backgroundColor:(e.vars||e).palette.background.default}})},n);const i=(r=e.components)==null||(r=r.MuiCssBaseline)==null?void 0:r.styleOverrides;return i&&(o=[o,i]),o};function F$(e){const t=Ie({props:e,name:"MuiCssBaseline"}),{children:r,enableColorScheme:n=!1}=t;return d.jsxs(g.Fragment,{children:[d.jsx(mA,{styles:o=>j$(o,n)}),r]})}function j0(e,t){return j0=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,n){return r.__proto__=n,r},j0(e,t)}function dn(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,j0(e,t)}function td(e){return e.charAt(0)==="/"}function _m(e,t){for(var r=t,n=r+1,o=e.length;n<o;r+=1,n+=1)e[r]=e[n];e.pop()}function B$(e,t){t===void 0&&(t="");var r=e&&e.split("/")||[],n=t&&t.split("/")||[],o=e&&td(e),i=t&&td(t),a=o||i;if(e&&td(e)?n=r:r.length&&(n.pop(),n=n.concat(r)),!n.length)return"/";var s;if(n.length){var l=n[n.length-1];s=l==="."||l===".."||l===""}else s=!1;for(var c=0,u=n.length;u>=0;u--){var p=n[u];p==="."?_m(n,u):p===".."?(_m(n,u),c++):c&&(_m(n,u),c--)}if(!a)for(;c--;c)n.unshift("..");a&&n[0]!==""&&(!n[0]||!td(n[0]))&&n.unshift("");var f=n.join("/");return s&&f.substr(-1)!=="/"&&(f+="/"),f}function Bx(e){return e.valueOf?e.valueOf():Object.prototype.valueOf.call(e)}function Ud(e,t){if(e===t)return!0;if(e==null||t==null)return!1;if(Array.isArray(e))return Array.isArray(t)&&e.length===t.length&&e.every(function(o,i){return Ud(o,t[i])});if(typeof e=="object"||typeof t=="object"){var r=Bx(e),n=Bx(t);return r!==e||n!==t?Ud(r,n):Object.keys(Object.assign({},e,t)).every(function(o){return Ud(e[o],t[o])})}return!1}var H$="Invariant failed";function ji(e,t){if(!e)throw new Error(H$)}function nc(e){return e.charAt(0)==="/"?e:"/"+e}function Hx(e){return e.charAt(0)==="/"?e.substr(1):e}function U$(e,t){return e.toLowerCase().indexOf(t.toLowerCase())===0&&"/?#".indexOf(e.charAt(t.length))!==-1}function gA(e,t){return U$(e,t)?e.substr(t.length):e}function vA(e){return e.charAt(e.length-1)==="/"?e.slice(0,-1):e}function z$(e){var t=e||"/",r="",n="",o=t.indexOf("#");o!==-1&&(n=t.substr(o),t=t.substr(0,o));var i=t.indexOf("?");return i!==-1&&(r=t.substr(i),t=t.substr(0,i)),{pathname:t,search:r==="?"?"":r,hash:n==="#"?"":n}}function Dr(e){var t=e.pathname,r=e.search,n=e.hash,o=t||"/";return r&&r!=="?"&&(o+=r.charAt(0)==="?"?r:"?"+r),n&&n!=="#"&&(o+=n.charAt(0)==="#"?n:"#"+n),o}function kr(e,t,r,n){var o;typeof e=="string"?(o=z$(e),o.state=t):(o=_({},e),o.pathname===void 0&&(o.pathname=""),o.search?o.search.charAt(0)!=="?"&&(o.search="?"+o.search):o.search="",o.hash?o.hash.charAt(0)!=="#"&&(o.hash="#"+o.hash):o.hash="",t!==void 0&&o.state===void 0&&(o.state=t));try{o.pathname=decodeURI(o.pathname)}catch(i){throw i instanceof URIError?new URIError('Pathname "'+o.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):i}return r&&(o.key=r),n?o.pathname?o.pathname.charAt(0)!=="/"&&(o.pathname=B$(o.pathname,n.pathname)):o.pathname=n.pathname:o.pathname||(o.pathname="/"),o}function V$(e,t){return e.pathname===t.pathname&&e.search===t.search&&e.hash===t.hash&&e.key===t.key&&Ud(e.state,t.state)}function o1(){var e=null;function t(a){return e=a,function(){e===a&&(e=null)}}function r(a,s,l,c){if(e!=null){var u=typeof e=="function"?e(a,s):e;typeof u=="string"?typeof l=="function"?l(u,c):c(!0):c(u!==!1)}else c(!0)}var n=[];function o(a){var s=!0;function l(){s&&a.apply(void 0,arguments)}return n.push(l),function(){s=!1,n=n.filter(function(c){return c!==l})}}function i(){for(var a=arguments.length,s=new Array(a),l=0;l<a;l++)s[l]=arguments[l];n.forEach(function(c){return c.apply(void 0,s)})}return{setPrompt:t,confirmTransitionTo:r,appendListener:o,notifyListeners:i}}var yA=!!(typeof window<"u"&&window.document&&window.document.createElement);function bA(e,t){t(window.confirm(e))}function W$(){var e=window.navigator.userAgent;return(e.indexOf("Android 2.")!==-1||e.indexOf("Android 4.0")!==-1)&&e.indexOf("Mobile Safari")!==-1&&e.indexOf("Chrome")===-1&&e.indexOf("Windows Phone")===-1?!1:window.history&&"pushState"in window.history}function G$(){return window.navigator.userAgent.indexOf("Trident")===-1}function q$(){return window.navigator.userAgent.indexOf("Firefox")===-1}function Q$(e){return e.state===void 0&&navigator.userAgent.indexOf("CriOS")===-1}var Ux="popstate",zx="hashchange";function Vx(){try{return window.history.state||{}}catch{return{}}}function Y$(e){e===void 0&&(e={}),yA||ji(!1);var t=window.history,r=W$(),n=!G$(),o=e,i=o.forceRefresh,a=i===void 0?!1:i,s=o.getUserConfirmation,l=s===void 0?bA:s,c=o.keyLength,u=c===void 0?6:c,p=e.basename?vA(nc(e.basename)):"";function f(L){var B=L||{},z=B.key,V=B.state,K=window.location,q=K.pathname,te=K.search,Y=K.hash,se=q+te+Y;return p&&(se=gA(se,p)),kr(se,V,z)}function m(){return Math.random().toString(36).substr(2,u)}var v=o1();function h(L){_(k,L),k.length=t.length,v.notifyListeners(k.location,k.action)}function x(L){Q$(L)||w(f(L.state))}function y(){w(f(Vx()))}var b=!1;function w(L){if(b)b=!1,h();else{var B="POP";v.confirmTransitionTo(L,B,l,function(z){z?h({action:B,location:L}):S(L)})}}function S(L){var B=k.location,z=R.indexOf(B.key);z===-1&&(z=0);var V=R.indexOf(L.key);V===-1&&(V=0);var K=z-V;K&&(b=!0,M(K))}var T=f(Vx()),R=[T.key];function E(L){return p+Dr(L)}function A(L,B){var z="PUSH",V=kr(L,B,m(),k.location);v.confirmTransitionTo(V,z,l,function(K){if(K){var q=E(V),te=V.key,Y=V.state;if(r)if(t.pushState({key:te,state:Y},null,q),a)window.location.href=q;else{var se=R.indexOf(k.location.key),oe=R.slice(0,se+1);oe.push(V.key),R=oe,h({action:z,location:V})}else window.location.href=q}})}function P(L,B){var z="REPLACE",V=kr(L,B,m(),k.location);v.confirmTransitionTo(V,z,l,function(K){if(K){var q=E(V),te=V.key,Y=V.state;if(r)if(t.replaceState({key:te,state:Y},null,q),a)window.location.replace(q);else{var se=R.indexOf(k.location.key);se!==-1&&(R[se]=V.key),h({action:z,location:V})}else window.location.replace(q)}})}function M(L){t.go(L)}function O(){M(-1)}function F(){M(1)}var I=0;function D(L){I+=L,I===1&&L===1?(window.addEventListener(Ux,x),n&&window.addEventListener(zx,y)):I===0&&(window.removeEventListener(Ux,x),n&&window.removeEventListener(zx,y))}var $=!1;function j(L){L===void 0&&(L=!1);var B=v.setPrompt(L);return $||(D(1),$=!0),function(){return $&&($=!1,D(-1)),B()}}function H(L){var B=v.appendListener(L);return D(1),function(){D(-1),B()}}var k={length:t.length,action:"POP",location:T,createHref:E,push:A,replace:P,go:M,goBack:O,goForward:F,block:j,listen:H};return k}var Wx="hashchange",K$={hashbang:{encodePath:function(t){return t.charAt(0)==="!"?t:"!/"+Hx(t)},decodePath:function(t){return t.charAt(0)==="!"?t.substr(1):t}},noslash:{encodePath:Hx,decodePath:nc},slash:{encodePath:nc,decodePath:nc}};function xA(e){var t=e.indexOf("#");return t===-1?e:e.slice(0,t)}function Rl(){var e=window.location.href,t=e.indexOf("#");return t===-1?"":e.substring(t+1)}function Z$(e){window.location.hash=e}function Am(e){window.location.replace(xA(window.location.href)+"#"+e)}function X$(e){e===void 0&&(e={}),yA||ji(!1);var t=window.history;q$();var r=e,n=r.getUserConfirmation,o=n===void 0?bA:n,i=r.hashType,a=i===void 0?"slash":i,s=e.basename?vA(nc(e.basename)):"",l=K$[a],c=l.encodePath,u=l.decodePath;function p(){var B=u(Rl());return s&&(B=gA(B,s)),kr(B)}var f=o1();function m(B){_(L,B),L.length=t.length,f.notifyListeners(L.location,L.action)}var v=!1,h=null;function x(B,z){return B.pathname===z.pathname&&B.search===z.search&&B.hash===z.hash}function y(){var B=Rl(),z=c(B);if(B!==z)Am(z);else{var V=p(),K=L.location;if(!v&&x(K,V)||h===Dr(V))return;h=null,b(V)}}function b(B){if(v)v=!1,m();else{var z="POP";f.confirmTransitionTo(B,z,o,function(V){V?m({action:z,location:B}):w(B)})}}function w(B){var z=L.location,V=E.lastIndexOf(Dr(z));V===-1&&(V=0);var K=E.lastIndexOf(Dr(B));K===-1&&(K=0);var q=V-K;q&&(v=!0,O(q))}var S=Rl(),T=c(S);S!==T&&Am(T);var R=p(),E=[Dr(R)];function A(B){var z=document.querySelector("base"),V="";return z&&z.getAttribute("href")&&(V=xA(window.location.href)),V+"#"+c(s+Dr(B))}function P(B,z){var V="PUSH",K=kr(B,void 0,void 0,L.location);f.confirmTransitionTo(K,V,o,function(q){if(q){var te=Dr(K),Y=c(s+te),se=Rl()!==Y;if(se){h=te,Z$(Y);var oe=E.lastIndexOf(Dr(L.location)),ie=E.slice(0,oe+1);ie.push(te),E=ie,m({action:V,location:K})}else m()}})}function M(B,z){var V="REPLACE",K=kr(B,void 0,void 0,L.location);f.confirmTransitionTo(K,V,o,function(q){if(q){var te=Dr(K),Y=c(s+te),se=Rl()!==Y;se&&(h=te,Am(Y));var oe=E.indexOf(Dr(L.location));oe!==-1&&(E[oe]=te),m({action:V,location:K})}})}function O(B){t.go(B)}function F(){O(-1)}function I(){O(1)}var D=0;function $(B){D+=B,D===1&&B===1?window.addEventListener(Wx,y):D===0&&window.removeEventListener(Wx,y)}var j=!1;function H(B){B===void 0&&(B=!1);var z=f.setPrompt(B);return j||($(1),j=!0),function(){return j&&(j=!1,$(-1)),z()}}function k(B){var z=f.appendListener(B);return $(1),function(){$(-1),z()}}var L={length:t.length,action:"POP",location:R,createHref:A,push:P,replace:M,go:O,goBack:F,goForward:I,block:H,listen:k};return L}function Gx(e,t,r){return Math.min(Math.max(e,t),r)}function J$(e){e===void 0&&(e={});var t=e,r=t.getUserConfirmation,n=t.initialEntries,o=n===void 0?["/"]:n,i=t.initialIndex,a=i===void 0?0:i,s=t.keyLength,l=s===void 0?6:s,c=o1();function u(A){_(E,A),E.length=E.entries.length,c.notifyListeners(E.location,E.action)}function p(){return Math.random().toString(36).substr(2,l)}var f=Gx(a,0,o.length-1),m=o.map(function(A){return typeof A=="string"?kr(A,void 0,p()):kr(A,void 0,A.key||p())}),v=Dr;function h(A,P){var M="PUSH",O=kr(A,P,p(),E.location);c.confirmTransitionTo(O,M,r,function(F){if(F){var I=E.index,D=I+1,$=E.entries.slice(0);$.length>D?$.splice(D,$.length-D,O):$.push(O),u({action:M,location:O,index:D,entries:$})}})}function x(A,P){var M="REPLACE",O=kr(A,P,p(),E.location);c.confirmTransitionTo(O,M,r,function(F){F&&(E.entries[E.index]=O,u({action:M,location:O}))})}function y(A){var P=Gx(E.index+A,0,E.entries.length-1),M="POP",O=E.entries[P];c.confirmTransitionTo(O,M,r,function(F){F?u({action:M,location:O,index:P}):u()})}function b(){y(-1)}function w(){y(1)}function S(A){var P=E.index+A;return P>=0&&P<E.entries.length}function T(A){return A===void 0&&(A=!1),c.setPrompt(A)}function R(A){return c.appendListener(A)}var E={length:m.length,action:"POP",location:m[f],index:f,entries:m,createHref:v,push:h,replace:x,go:y,goBack:b,goForward:w,canGo:S,block:T,listen:R};return E}var il={exports:{}},eD=Array.isArray||function(e){return Object.prototype.toString.call(e)=="[object Array]"},kp=eD;il.exports=EA;il.exports.parse=i1;il.exports.compile=rD;il.exports.tokensToFunction=wA;il.exports.tokensToRegExp=SA;var tD=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function i1(e,t){for(var r=[],n=0,o=0,i="",a=t&&t.delimiter||"/",s;(s=tD.exec(e))!=null;){var l=s[0],c=s[1],u=s.index;if(i+=e.slice(o,u),o=u+l.length,c){i+=c[1];continue}var p=e[o],f=s[2],m=s[3],v=s[4],h=s[5],x=s[6],y=s[7];i&&(r.push(i),i="");var b=f!=null&&p!=null&&p!==f,w=x==="+"||x==="*",S=x==="?"||x==="*",T=s[2]||a,R=v||h;r.push({name:m||n++,prefix:f||"",delimiter:T,optional:S,repeat:w,partial:b,asterisk:!!y,pattern:R?iD(R):y?".*":"[^"+zd(T)+"]+?"})}return o<e.length&&(i+=e.substr(o)),i&&r.push(i),r}function rD(e,t){return wA(i1(e,t),t)}function nD(e){return encodeURI(e).replace(/[\/?#]/g,function(t){return"%"+t.charCodeAt(0).toString(16).toUpperCase()})}function oD(e){return encodeURI(e).replace(/[?#]/g,function(t){return"%"+t.charCodeAt(0).toString(16).toUpperCase()})}function wA(e,t){for(var r=new Array(e.length),n=0;n<e.length;n++)typeof e[n]=="object"&&(r[n]=new RegExp("^(?:"+e[n].pattern+")$",s1(t)));return function(o,i){for(var a="",s=o||{},l=i||{},c=l.pretty?nD:encodeURIComponent,u=0;u<e.length;u++){var p=e[u];if(typeof p=="string"){a+=p;continue}var f=s[p.name],m;if(f==null)if(p.optional){p.partial&&(a+=p.prefix);continue}else throw new TypeError('Expected "'+p.name+'" to be defined');if(kp(f)){if(!p.repeat)throw new TypeError('Expected "'+p.name+'" to not repeat, but received `'+JSON.stringify(f)+"`");if(f.length===0){if(p.optional)continue;throw new TypeError('Expected "'+p.name+'" to not be empty')}for(var v=0;v<f.length;v++){if(m=c(f[v]),!r[u].test(m))throw new TypeError('Expected all "'+p.name+'" to match "'+p.pattern+'", but received `'+JSON.stringify(m)+"`");a+=(v===0?p.prefix:p.delimiter)+m}continue}if(m=p.asterisk?oD(f):c(f),!r[u].test(m))throw new TypeError('Expected "'+p.name+'" to match "'+p.pattern+'", but received "'+m+'"');a+=p.prefix+m}return a}}function zd(e){return e.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function iD(e){return e.replace(/([=!:$\/()])/g,"\\$1")}function a1(e,t){return e.keys=t,e}function s1(e){return e&&e.sensitive?"":"i"}function aD(e,t){var r=e.source.match(/\((?!\?)/g);if(r)for(var n=0;n<r.length;n++)t.push({name:n,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return a1(e,t)}function sD(e,t,r){for(var n=[],o=0;o<e.length;o++)n.push(EA(e[o],t,r).source);var i=new RegExp("(?:"+n.join("|")+")",s1(r));return a1(i,t)}function lD(e,t,r){return SA(i1(e,r),t,r)}function SA(e,t,r){kp(t)||(r=t||r,t=[]),r=r||{};for(var n=r.strict,o=r.end!==!1,i="",a=0;a<e.length;a++){var s=e[a];if(typeof s=="string")i+=zd(s);else{var l=zd(s.prefix),c="(?:"+s.pattern+")";t.push(s),s.repeat&&(c+="(?:"+l+c+")*"),s.optional?s.partial?c=l+"("+c+")?":c="(?:"+l+"("+c+"))?":c=l+"("+c+")",i+=c}}var u=zd(r.delimiter||"/"),p=i.slice(-u.length)===u;return n||(i=(p?i.slice(0,-u.length):i)+"(?:"+u+"(?=$))?"),o?i+="$":i+=n&&p?"":"(?="+u+"|$)",a1(new RegExp("^"+i,s1(r)),t)}function EA(e,t,r){return kp(t)||(r=t||r,t=[]),r=r||{},e instanceof RegExp?aD(e,t):kp(e)?sD(e,t,r):lD(e,t,r)}var cD=il.exports;const CA=Ht(cD);var km=1073741823,qx=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:{};function uD(){var e="__global_unique_id__";return qx[e]=(qx[e]||0)+1}function dD(e,t){return e===t?e!==0||1/e===1/t:e!==e&&t!==t}function pD(e){var t=[];return{on:function(n){t.push(n)},off:function(n){t=t.filter(function(o){return o!==n})},get:function(){return e},set:function(n,o){e=n,t.forEach(function(i){return i(e,o)})}}}function fD(e){return Array.isArray(e)?e[0]:e}function hD(e,t){var r,n,o="__create-react-context-"+uD()+"__",i=function(s){dn(l,s);function l(){for(var u,p=arguments.length,f=new Array(p),m=0;m<p;m++)f[m]=arguments[m];return u=s.call.apply(s,[this].concat(f))||this,u.emitter=pD(u.props.value),u}var c=l.prototype;return c.getChildContext=function(){var p;return p={},p[o]=this.emitter,p},c.componentWillReceiveProps=function(p){if(this.props.value!==p.value){var f=this.props.value,m=p.value,v;dD(f,m)?v=0:(v=typeof t=="function"?t(f,m):km,v|=0,v!==0&&this.emitter.set(p.value,v))}},c.render=function(){return this.props.children},l}(ge.Component);i.childContextTypes=(r={},r[o]=ix.object.isRequired,r);var a=function(s){dn(l,s);function l(){for(var u,p=arguments.length,f=new Array(p),m=0;m<p;m++)f[m]=arguments[m];return u=s.call.apply(s,[this].concat(f))||this,u.observedBits=void 0,u.state={value:u.getValue()},u.onUpdate=function(v,h){var x=u.observedBits|0;x&h&&u.setState({value:u.getValue()})},u}var c=l.prototype;return c.componentWillReceiveProps=function(p){var f=p.observedBits;this.observedBits=f??km},c.componentDidMount=function(){this.context[o]&&this.context[o].on(this.onUpdate);var p=this.props.observedBits;this.observedBits=p??km},c.componentWillUnmount=function(){this.context[o]&&this.context[o].off(this.onUpdate)},c.getValue=function(){return this.context[o]?this.context[o].get():e},c.render=function(){return fD(this.props.children)(this.state.value)},l}(ge.Component);return a.contextTypes=(n={},n[o]=ix.object,n),{Provider:i,Consumer:a}}var mD=ge.createContext||hD,TA=function(t){var r=mD();return r.displayName=t,r},RA=TA("Router-History"),Ao=TA("Router"),th=function(e){dn(t,e),t.computeRootMatch=function(o){return{path:"/",url:"/",params:{},isExact:o==="/"}};function t(n){var o;return o=e.call(this,n)||this,o.state={location:n.history.location},o._isMounted=!1,o._pendingLocation=null,n.staticContext||(o.unlisten=n.history.listen(function(i){o._pendingLocation=i})),o}var r=t.prototype;return r.componentDidMount=function(){var o=this;this._isMounted=!0,this.unlisten&&this.unlisten(),this.props.staticContext||(this.unlisten=this.props.history.listen(function(i){o._isMounted&&o.setState({location:i})})),this._pendingLocation&&this.setState({location:this._pendingLocation})},r.componentWillUnmount=function(){this.unlisten&&(this.unlisten(),this._isMounted=!1,this._pendingLocation=null)},r.render=function(){return ge.createElement(Ao.Provider,{value:{history:this.props.history,location:this.state.location,match:t.computeRootMatch(this.state.location.pathname),staticContext:this.props.staticContext}},ge.createElement(RA.Provider,{children:this.props.children||null,value:this.props.history}))},t}(ge.Component);ge.Component;var gD=function(e){dn(t,e);function t(){return e.apply(this,arguments)||this}var r=t.prototype;return r.componentDidMount=function(){this.props.onMount&&this.props.onMount.call(this,this)},r.componentDidUpdate=function(o){this.props.onUpdate&&this.props.onUpdate.call(this,this,o)},r.componentWillUnmount=function(){this.props.onUnmount&&this.props.onUnmount.call(this,this)},r.render=function(){return null},t}(ge.Component),Im={},vD=1e4,Qx=0;function yD(e){if(Im[e])return Im[e];var t=CA.compile(e);return Qx<vD&&(Im[e]=t,Qx++),t}function Yx(e,t){return e===void 0&&(e="/"),t===void 0&&(t={}),e==="/"?e:yD(e)(t,{pretty:!0})}function bD(e){var t=e.computedMatch,r=e.to,n=e.push,o=n===void 0?!1:n;return ge.createElement(Ao.Consumer,null,function(i){i||ji(!1);var a=i.history,s=i.staticContext,l=o?a.push:a.replace,c=kr(t?typeof r=="string"?Yx(r,t.params):_({},r,{pathname:Yx(r.pathname,t.params)}):r);return s?(l(c),null):ge.createElement(gD,{onMount:function(){l(c)},onUpdate:function(p,f){var m=kr(f.to);V$(m,_({},c,{key:m.key}))||l(c)},to:r})})}var Kx={},xD=1e4,Zx=0;function wD(e,t){var r=""+t.end+t.strict+t.sensitive,n=Kx[r]||(Kx[r]={});if(n[e])return n[e];var o=[],i=CA(e,o,t),a={regexp:i,keys:o};return Zx<xD&&(n[e]=a,Zx++),a}function ga(e,t){t===void 0&&(t={}),(typeof t=="string"||Array.isArray(t))&&(t={path:t});var r=t,n=r.path,o=r.exact,i=o===void 0?!1:o,a=r.strict,s=a===void 0?!1:a,l=r.sensitive,c=l===void 0?!1:l,u=[].concat(n);return u.reduce(function(p,f){if(!f&&f!=="")return null;if(p)return p;var m=wD(f,{end:i,strict:s,sensitive:c}),v=m.regexp,h=m.keys,x=v.exec(e);if(!x)return null;var y=x[0],b=x.slice(1),w=e===y;return i&&!w?null:{path:f,url:f==="/"&&y===""?"/":y,isExact:w,params:h.reduce(function(S,T,R){return S[T.name]=b[R],S},{})}},null)}function SD(e){return ge.Children.count(e)===0}var st=function(e){dn(t,e);function t(){return e.apply(this,arguments)||this}var r=t.prototype;return r.render=function(){var o=this;return ge.createElement(Ao.Consumer,null,function(i){i||ji(!1);var a=o.props.location||i.location,s=o.props.computedMatch?o.props.computedMatch:o.props.path?ga(a.pathname,o.props):i.match,l=_({},i,{location:a,match:s}),c=o.props,u=c.children,p=c.component,f=c.render;return Array.isArray(u)&&SD(u)&&(u=null),ge.createElement(Ao.Provider,{value:l},l.match?u?typeof u=="function"?u(l):u:p?ge.createElement(p,l):f?f(l):null:typeof u=="function"?u(l):null)})},t}(ge.Component);function l1(e){return e.charAt(0)==="/"?e:"/"+e}function ED(e,t){return e?_({},t,{pathname:l1(e)+t.pathname}):t}function CD(e,t){if(!e)return t;var r=l1(e);return t.pathname.indexOf(r)!==0?t:_({},t,{pathname:t.pathname.substr(r.length)})}function Xx(e){return typeof e=="string"?e:Dr(e)}function Mm(e){return function(){ji(!1)}}function Jx(){}ge.Component;var TD=function(e){dn(t,e);function t(){return e.apply(this,arguments)||this}var r=t.prototype;return r.render=function(){var o=this;return ge.createElement(Ao.Consumer,null,function(i){i||ji(!1);var a=o.props.location||i.location,s,l;return ge.Children.forEach(o.props.children,function(c){if(l==null&&ge.isValidElement(c)){s=c;var u=c.props.path||c.props.from;l=u?ga(a.pathname,_({},c.props,{path:u})):i.match}}),l?ge.cloneElement(s,{location:a,computedMatch:l}):null})},t}(ge.Component),rh=ge.useContext;function No(){return rh(RA)}function Nr(){return rh(Ao).location}function _A(){var e=rh(Ao).match;return e?e.params:{}}function vo(e){var t=Nr(),r=rh(Ao).match;return e?ga(t.pathname,e):r}var RD=function(e){dn(t,e);function t(){for(var n,o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];return n=e.call.apply(e,[this].concat(i))||this,n.history=Y$(n.props),n}var r=t.prototype;return r.render=function(){return ge.createElement(th,{history:this.history,children:this.props.children})},t}(ge.Component);ge.Component;var F0=function(t,r){return typeof t=="function"?t(r):t},B0=function(t,r){return typeof t=="string"?kr(t,null,null,r):t},c1=function(t){return t},Us=ge.forwardRef;typeof Us>"u"&&(Us=c1);function _D(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}var AD=Us(function(e,t){var r=e.innerRef,n=e.navigate,o=e.onClick,i=re(e,["innerRef","navigate","onClick"]),a=i.target,s=_({},i,{onClick:function(c){try{o&&o(c)}catch(u){throw c.preventDefault(),u}!c.defaultPrevented&&c.button===0&&(!a||a==="_self")&&!_D(c)&&(c.preventDefault(),n())}});return c1!==Us?s.ref=t||r:s.ref=r,ge.createElement("a",s)}),Gt=Us(function(e,t){var r=e.component,n=r===void 0?AD:r,o=e.replace,i=e.to,a=e.innerRef,s=re(e,["component","replace","to","innerRef"]);return ge.createElement(Ao.Consumer,null,function(l){l||ji(!1);var c=l.history,u=B0(F0(i,l.location),l.location),p=u?c.createHref(u):"",f=_({},s,{href:p,navigate:function(){var v=F0(i,l.location),h=Dr(l.location)===Dr(B0(v)),x=o||h?c.replace:c.push;x(v)}});return c1!==Us?f.ref=t||a:f.innerRef=a,ge.createElement(n,f)})}),AA=function(t){return t},Ip=ge.forwardRef;typeof Ip>"u"&&(Ip=AA);function kD(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.filter(function(n){return n}).join(" ")}Ip(function(e,t){var r=e["aria-current"],n=r===void 0?"page":r,o=e.activeClassName,i=o===void 0?"active":o,a=e.activeStyle,s=e.className,l=e.exact,c=e.isActive,u=e.location,p=e.sensitive,f=e.strict,m=e.style,v=e.to,h=e.innerRef,x=re(e,["aria-current","activeClassName","activeStyle","className","exact","isActive","location","sensitive","strict","style","to","innerRef"]);return ge.createElement(Ao.Consumer,null,function(y){y||ji(!1);var b=u||y.location,w=B0(F0(v,b),b),S=w.pathname,T=S&&S.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1"),R=T?ga(b.pathname,{path:T,exact:l,sensitive:p,strict:f}):null,E=!!(c?c(R,b):R),A=typeof s=="function"?s(E):s,P=typeof m=="function"?m(E):m;E&&(A=kD(A,i),P=_({},P,a));var M=_({"aria-current":E&&n||null,className:A,style:P,to:w},x);return AA!==Ip?M.ref=t||h:M.innerRef=h,ge.createElement(Gt,M)})});var ID=typeof Element<"u",MD=typeof Map=="function",PD=typeof Set=="function",OD=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function Vd(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;var r,n,o;if(Array.isArray(e)){if(r=e.length,r!=t.length)return!1;for(n=r;n--!==0;)if(!Vd(e[n],t[n]))return!1;return!0}var i;if(MD&&e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(i=e.entries();!(n=i.next()).done;)if(!t.has(n.value[0]))return!1;for(i=e.entries();!(n=i.next()).done;)if(!Vd(n.value[1],t.get(n.value[0])))return!1;return!0}if(PD&&e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(i=e.entries();!(n=i.next()).done;)if(!t.has(n.value[0]))return!1;return!0}if(OD&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(t)){if(r=e.length,r!=t.length)return!1;for(n=r;n--!==0;)if(e[n]!==t[n])return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf&&typeof e.valueOf=="function"&&typeof t.valueOf=="function")return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString&&typeof e.toString=="function"&&typeof t.toString=="function")return e.toString()===t.toString();if(o=Object.keys(e),r=o.length,r!==Object.keys(t).length)return!1;for(n=r;n--!==0;)if(!Object.prototype.hasOwnProperty.call(t,o[n]))return!1;if(ID&&e instanceof Element)return!1;for(n=r;n--!==0;)if(!((o[n]==="_owner"||o[n]==="__v"||o[n]==="__o")&&e.$$typeof)&&!Vd(e[o[n]],t[o[n]]))return!1;return!0}return e!==e&&t!==t}var LD=function(t,r){try{return Vd(t,r)}catch(n){if((n.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw n}};const ND=Ht(LD);var $D=function(e,t,r,n,o,i,a,s){if(!e){var l;if(t===void 0)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[r,n,o,i,a,s],u=0;l=new Error(t.replace(/%s/g,function(){return c[u++]})),l.name="Invariant Violation"}throw l.framesToPop=1,l}},DD=$D;const zs=Ht(DD);var jD=function(t,r,n,o){var i=n?n.call(o,t,r):void 0;if(i!==void 0)return!!i;if(t===r)return!0;if(typeof t!="object"||!t||typeof r!="object"||!r)return!1;var a=Object.keys(t),s=Object.keys(r);if(a.length!==s.length)return!1;for(var l=Object.prototype.hasOwnProperty.bind(r),c=0;c<a.length;c++){var u=a[c];if(!l(u))return!1;var p=t[u],f=r[u];if(i=n?n.call(o,p,f,u):void 0,i===!1||i===void 0&&p!==f)return!1}return!0};const FD=Ht(jD);var kA=(e=>(e.BASE="base",e.BODY="body",e.HEAD="head",e.HTML="html",e.LINK="link",e.META="meta",e.NOSCRIPT="noscript",e.SCRIPT="script",e.STYLE="style",e.TITLE="title",e.FRAGMENT="Symbol(react.fragment)",e))(kA||{}),Pm={link:{rel:["amphtml","canonical","alternate"]},script:{type:["application/ld+json"]},meta:{charset:"",name:["generator","robots","description"],property:["og:type","og:title","og:url","og:image","og:image:alt","og:description","twitter:url","twitter:title","twitter:description","twitter:image","twitter:image:alt","twitter:card","twitter:site"]}},ew=Object.values(kA),u1={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},BD=Object.entries(u1).reduce((e,[t,r])=>(e[r]=t,e),{}),Kn="data-rh",Rs={DEFAULT_TITLE:"defaultTitle",DEFER:"defer",ENCODE_SPECIAL_CHARACTERS:"encodeSpecialCharacters",ON_CHANGE_CLIENT_STATE:"onChangeClientState",TITLE_TEMPLATE:"titleTemplate",PRIORITIZE_SEO_TAGS:"prioritizeSeoTags"},_s=(e,t)=>{for(let r=e.length-1;r>=0;r-=1){const n=e[r];if(Object.prototype.hasOwnProperty.call(n,t))return n[t]}return null},HD=e=>{let t=_s(e,"title");const r=_s(e,Rs.TITLE_TEMPLATE);if(Array.isArray(t)&&(t=t.join("")),r&&t)return r.replace(/%s/g,()=>t);const n=_s(e,Rs.DEFAULT_TITLE);return t||n||void 0},UD=e=>_s(e,Rs.ON_CHANGE_CLIENT_STATE)||(()=>{}),Om=(e,t)=>t.filter(r=>typeof r[e]<"u").map(r=>r[e]).reduce((r,n)=>({...r,...n}),{}),zD=(e,t)=>t.filter(r=>typeof r.base<"u").map(r=>r.base).reverse().reduce((r,n)=>{if(!r.length){const o=Object.keys(n);for(let i=0;i<o.length;i+=1){const s=o[i].toLowerCase();if(e.indexOf(s)!==-1&&n[s])return r.concat(n)}}return r},[]),VD=e=>console&&typeof console.warn=="function"&&console.warn(e),_l=(e,t,r)=>{const n={};return r.filter(o=>Array.isArray(o[e])?!0:(typeof o[e]<"u"&&VD(`Helmet: ${e} should be of type "Array". Instead found type "${typeof o[e]}"`),!1)).map(o=>o[e]).reverse().reduce((o,i)=>{const a={};i.filter(l=>{let c;const u=Object.keys(l);for(let f=0;f<u.length;f+=1){const m=u[f],v=m.toLowerCase();t.indexOf(v)!==-1&&!(c==="rel"&&l[c].toLowerCase()==="canonical")&&!(v==="rel"&&l[v].toLowerCase()==="stylesheet")&&(c=v),t.indexOf(m)!==-1&&(m==="innerHTML"||m==="cssText"||m==="itemprop")&&(c=m)}if(!c||!l[c])return!1;const p=l[c].toLowerCase();return n[c]||(n[c]={}),a[c]||(a[c]={}),n[c][p]?!1:(a[c][p]=!0,!0)}).reverse().forEach(l=>o.push(l));const s=Object.keys(a);for(let l=0;l<s.length;l+=1){const c=s[l],u={...n[c],...a[c]};n[c]=u}return o},[]).reverse()},WD=(e,t)=>{if(Array.isArray(e)&&e.length){for(let r=0;r<e.length;r+=1)if(e[r][t])return!0}return!1},GD=e=>({baseTag:zD(["href"],e),bodyAttributes:Om("bodyAttributes",e),defer:_s(e,Rs.DEFER),encode:_s(e,Rs.ENCODE_SPECIAL_CHARACTERS),htmlAttributes:Om("htmlAttributes",e),linkTags:_l("link",["rel","href"],e),metaTags:_l("meta",["name","charset","http-equiv","property","itemprop"],e),noscriptTags:_l("noscript",["innerHTML"],e),onChangeClientState:UD(e),scriptTags:_l("script",["src","innerHTML"],e),styleTags:_l("style",["cssText"],e),title:HD(e),titleAttributes:Om("titleAttributes",e),prioritizeSeoTags:WD(e,Rs.PRIORITIZE_SEO_TAGS)}),IA=e=>Array.isArray(e)?e.join(""):e,qD=(e,t)=>{const r=Object.keys(e);for(let n=0;n<r.length;n+=1)if(t[r[n]]&&t[r[n]].includes(e[r[n]]))return!0;return!1},Lm=(e,t)=>Array.isArray(e)?e.reduce((r,n)=>(qD(n,t)?r.priority.push(n):r.default.push(n),r),{priority:[],default:[]}):{default:e,priority:[]},tw=(e,t)=>({...e,[t]:void 0}),QD=["noscript","script","style"],H0=(e,t=!0)=>t===!1?String(e):String(e).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;"),MA=e=>Object.keys(e).reduce((t,r)=>{const n=typeof e[r]<"u"?`${r}="${e[r]}"`:`${r}`;return t?`${t} ${n}`:n},""),YD=(e,t,r,n)=>{const o=MA(r),i=IA(t);return o?`<${e} ${Kn}="true" ${o}>${H0(i,n)}</${e}>`:`<${e} ${Kn}="true">${H0(i,n)}</${e}>`},KD=(e,t,r=!0)=>t.reduce((n,o)=>{const i=o,a=Object.keys(i).filter(c=>!(c==="innerHTML"||c==="cssText")).reduce((c,u)=>{const p=typeof i[u]>"u"?u:`${u}="${H0(i[u],r)}"`;return c?`${c} ${p}`:p},""),s=i.innerHTML||i.cssText||"",l=QD.indexOf(e)===-1;return`${n}<${e} ${Kn}="true" ${a}${l?"/>":`>${s}</${e}>`}`},""),PA=(e,t={})=>Object.keys(e).reduce((r,n)=>{const o=u1[n];return r[o||n]=e[n],r},t),ZD=(e,t,r)=>{const n={key:t,[Kn]:!0},o=PA(r,n);return[ge.createElement("title",o,t)]},Wd=(e,t)=>t.map((r,n)=>{const o={key:n,[Kn]:!0};return Object.keys(r).forEach(i=>{const s=u1[i]||i;if(s==="innerHTML"||s==="cssText"){const l=r.innerHTML||r.cssText;o.dangerouslySetInnerHTML={__html:l}}else o[s]=r[i]}),ge.createElement(e,o)}),bn=(e,t,r=!0)=>{switch(e){case"title":return{toComponent:()=>ZD(e,t.title,t.titleAttributes),toString:()=>YD(e,t.title,t.titleAttributes,r)};case"bodyAttributes":case"htmlAttributes":return{toComponent:()=>PA(t),toString:()=>MA(t)};default:return{toComponent:()=>Wd(e,t),toString:()=>KD(e,t,r)}}},XD=({metaTags:e,linkTags:t,scriptTags:r,encode:n})=>{const o=Lm(e,Pm.meta),i=Lm(t,Pm.link),a=Lm(r,Pm.script);return{priorityMethods:{toComponent:()=>[...Wd("meta",o.priority),...Wd("link",i.priority),...Wd("script",a.priority)],toString:()=>`${bn("meta",o.priority,n)} ${bn("link",i.priority,n)} ${bn("script",a.priority,n)}`},metaTags:o.default,linkTags:i.default,scriptTags:a.default}},JD=e=>{const{baseTag:t,bodyAttributes:r,encode:n=!0,htmlAttributes:o,noscriptTags:i,styleTags:a,title:s="",titleAttributes:l,prioritizeSeoTags:c}=e;let{linkTags:u,metaTags:p,scriptTags:f}=e,m={toComponent:()=>{},toString:()=>""};return c&&({priorityMethods:m,linkTags:u,metaTags:p,scriptTags:f}=XD(e)),{priority:m,base:bn("base",t,n),bodyAttributes:bn("bodyAttributes",r,n),htmlAttributes:bn("htmlAttributes",o,n),link:bn("link",u,n),meta:bn("meta",p,n),noscript:bn("noscript",i,n),script:bn("script",f,n),style:bn("style",a,n),title:bn("title",{title:s,titleAttributes:l},n)}},U0=JD,rd=[],OA=!!(typeof window<"u"&&window.document&&window.document.createElement),z0=class{constructor(e,t){jo(this,"instances",[]);jo(this,"canUseDOM",OA);jo(this,"context");jo(this,"value",{setHelmet:e=>{this.context.helmet=e},helmetInstances:{get:()=>this.canUseDOM?rd:this.instances,add:e=>{(this.canUseDOM?rd:this.instances).push(e)},remove:e=>{const t=(this.canUseDOM?rd:this.instances).indexOf(e);(this.canUseDOM?rd:this.instances).splice(t,1)}}});this.context=e,this.canUseDOM=t||!1,t||(e.helmet=U0({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}}))}},ej={},LA=ge.createContext(ej),na,NA=(na=class extends g.Component{constructor(r){super(r);jo(this,"helmetData");this.helmetData=new z0(this.props.context||{},na.canUseDOM)}render(){return ge.createElement(LA.Provider,{value:this.helmetData.value},this.props.children)}},jo(na,"canUseDOM",OA),na),Ba=(e,t)=>{const r=document.head||document.querySelector("head"),n=r.querySelectorAll(`${e}[${Kn}]`),o=[].slice.call(n),i=[];let a;return t&&t.length&&t.forEach(s=>{const l=document.createElement(e);for(const c in s)if(Object.prototype.hasOwnProperty.call(s,c))if(c==="innerHTML")l.innerHTML=s.innerHTML;else if(c==="cssText")l.styleSheet?l.styleSheet.cssText=s.cssText:l.appendChild(document.createTextNode(s.cssText));else{const u=c,p=typeof s[u]>"u"?"":s[u];l.setAttribute(c,p)}l.setAttribute(Kn,"true"),o.some((c,u)=>(a=u,l.isEqualNode(c)))?o.splice(a,1):i.push(l)}),o.forEach(s=>{var l;return(l=s.parentNode)==null?void 0:l.removeChild(s)}),i.forEach(s=>r.appendChild(s)),{oldTags:o,newTags:i}},V0=(e,t)=>{const r=document.getElementsByTagName(e)[0];if(!r)return;const n=r.getAttribute(Kn),o=n?n.split(","):[],i=[...o],a=Object.keys(t);for(const s of a){const l=t[s]||"";r.getAttribute(s)!==l&&r.setAttribute(s,l),o.indexOf(s)===-1&&o.push(s);const c=i.indexOf(s);c!==-1&&i.splice(c,1)}for(let s=i.length-1;s>=0;s-=1)r.removeAttribute(i[s]);o.length===i.length?r.removeAttribute(Kn):r.getAttribute(Kn)!==a.join(",")&&r.setAttribute(Kn,a.join(","))},tj=(e,t)=>{typeof e<"u"&&document.title!==e&&(document.title=IA(e)),V0("title",t)},rw=(e,t)=>{const{baseTag:r,bodyAttributes:n,htmlAttributes:o,linkTags:i,metaTags:a,noscriptTags:s,onChangeClientState:l,scriptTags:c,styleTags:u,title:p,titleAttributes:f}=e;V0("body",n),V0("html",o),tj(p,f);const m={baseTag:Ba("base",r),linkTags:Ba("link",i),metaTags:Ba("meta",a),noscriptTags:Ba("noscript",s),scriptTags:Ba("script",c),styleTags:Ba("style",u)},v={},h={};Object.keys(m).forEach(x=>{const{newTags:y,oldTags:b}=m[x];y.length&&(v[x]=y),b.length&&(h[x]=m[x].oldTags)}),t&&t(),l(e,v,h)},Al=null,rj=e=>{Al&&cancelAnimationFrame(Al),e.defer?Al=requestAnimationFrame(()=>{rw(e,()=>{Al=null})}):(rw(e),Al=null)},nj=rj,nw=class extends g.Component{constructor(){super(...arguments);jo(this,"rendered",!1)}shouldComponentUpdate(t){return!FD(t,this.props)}componentDidUpdate(){this.emitChange()}componentWillUnmount(){const{helmetInstances:t}=this.props.context;t.remove(this),this.emitChange()}emitChange(){const{helmetInstances:t,setHelmet:r}=this.props.context;let n=null;const o=GD(t.get().map(i=>{const a={...i.props};return delete a.context,a}));NA.canUseDOM?nj(o):U0&&(n=U0(o)),r(n)}init(){if(this.rendered)return;this.rendered=!0;const{helmetInstances:t}=this.props.context;t.add(this),this.emitChange()}render(){return this.init(),null}},Ng,Su=(Ng=class extends g.Component{shouldComponentUpdate(e){return!ND(tw(this.props,"helmetData"),tw(e,"helmetData"))}mapNestedChildrenToProps(e,t){if(!t)return null;switch(e.type){case"script":case"noscript":return{innerHTML:t};case"style":return{cssText:t};default:throw new Error(`<${e.type} /> elements are self-closing and can not contain children. Refer to our API for more information.`)}}flattenArrayTypeChildren(e,t,r,n){return{...t,[e.type]:[...t[e.type]||[],{...r,...this.mapNestedChildrenToProps(e,n)}]}}mapObjectTypeChildren(e,t,r,n){switch(e.type){case"title":return{...t,[e.type]:n,titleAttributes:{...r}};case"body":return{...t,bodyAttributes:{...r}};case"html":return{...t,htmlAttributes:{...r}};default:return{...t,[e.type]:{...r}}}}mapArrayTypeChildrenToProps(e,t){let r={...t};return Object.keys(e).forEach(n=>{r={...r,[n]:e[n]}}),r}warnOnInvalidChildren(e,t){return zs(ew.some(r=>e.type===r),typeof e.type=="function"?"You may be attempting to nest <Helmet> components within each other, which is not allowed. Refer to our API for more information.":`Only elements types ${ew.join(", ")} are allowed. Helmet does not support rendering <${e.type}> elements. Refer to our API for more information.`),zs(!t||typeof t=="string"||Array.isArray(t)&&!t.some(r=>typeof r!="string"),`Helmet expects a string as a child of <${e.type}>. Did you forget to wrap your children in braces? ( <${e.type}>{\`\`}</${e.type}> ) Refer to our API for more information.`),!0}mapChildrenToProps(e,t){let r={};return ge.Children.forEach(e,n=>{if(!n||!n.props)return;const{children:o,...i}=n.props,a=Object.keys(i).reduce((l,c)=>(l[BD[c]||c]=i[c],l),{});let{type:s}=n;switch(typeof s=="symbol"?s=s.toString():this.warnOnInvalidChildren(n,o),s){case"Symbol(react.fragment)":t=this.mapChildrenToProps(o,t);break;case"link":case"meta":case"noscript":case"script":case"style":r=this.flattenArrayTypeChildren(n,r,a,o);break;default:t=this.mapObjectTypeChildren(n,t,a,o);break}}),this.mapArrayTypeChildrenToProps(r,t)}render(){const{children:e,...t}=this.props;let r={...t},{helmetData:n}=t;if(e&&(r=this.mapChildrenToProps(e,r)),n&&!(n instanceof z0)){const o=n;n=new z0(o.context,!0),delete r.helmetData}return n?ge.createElement(nw,{...r,context:n.value}):ge.createElement(LA.Consumer,null,o=>ge.createElement(nw,{...r,context:o}))}},jo(Ng,"defaultProps",{defer:!0,encodeSpecialCharacters:!0,prioritizeSeoTags:!1}),Ng);const oj="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='118'%20height='28'%20fill='none'%3e%3cpath%20d='M46.388%204.16c-6.144%200-10.356%204.236-10.356%2010.056%200%205.82%204.212%2010.057%2010.356%2010.057%201.789%200%203.402-.384%204.844-1.016l1.542%201.786%202.774-2.242-1.436-1.65c1.684-1.752%202.664-4.17%202.664-6.935%200-5.814-4.283-10.057-10.388-10.057Zm4.701%2013.524-1.932-2.275-2.736%202.242%201.932%202.242a5.944%205.944%200%200%201-1.965.313c-3.441%200-5.649-2.626-5.649-5.99%200-3.363%202.213-5.99%205.649-5.99%203.435%200%205.648%202.594%205.648%205.99%200%201.297-.352%202.49-.947%203.468ZM76.986%2010.886c0-3.468-2.494-6.31-6.772-6.31h-9.755V23.85h4.635v-6.622h2.95l3.827%206.622h5.302l-4.597-7.078c2.213-.456%204.42-2.385%204.42-5.886h-.01ZM69.652%2013.2H65.09V8.61h4.564c1.651%200%202.631.946%202.631%202.276%200%201.33-.947%202.314-2.632%202.314ZM80.95%2023.85h4.635v-7.782h9.722V12.04h-9.722V8.61h9.931V4.578H80.95V23.85ZM112.77%204.577l-4.806%207.43-4.916-7.43h-5.23l7.828%2011.354v7.92h4.597v-7.92L118%204.577h-5.23Z'%20fill='%23220E27'/%3e%3cpath%20d='M0%202.897A2.9%202.9%200%200%201%202.902%200h22.245a2.9%202.9%200%200%201%202.902%202.897v22.206A2.9%202.9%200%200%201%2025.148%2028H2.902A2.9%202.9%200%200%201%200%2025.103V2.897Z'%20fill='%231D59F9'/%3e%3cpath%20d='M24.18%2023.575v-8.047a.563.563%200%200%200-.563-.562h-8.062a.563.563%200%200%200-.563.562v8.047c0%20.311.252.563.563.563h8.062a.563.563%200%200%200%20.563-.563ZM13.057%2012.472V4.425a.563.563%200%200%200-.564-.563h-8.06a.563.563%200%200%200-.564.563v8.047c0%20.31.252.563.563.563h8.061a.563.563%200%200%200%20.564-.563ZM24.18%2012.472V4.425a.563.563%200%200%200-.564-.563h-8.06a.563.563%200%200%200-.564.563v8.047c0%20.31.252.563.563.563h8.061a.563.563%200%200%200%20.564-.563Z'%20fill='%23fff'/%3e%3cpath%20d='M21.762%2010.088V6.809a.534.534%200%200%200-.534-.533h-3.284a.534.534%200%200%200-.534.533v3.279c0%20.294.239.533.534.533h3.284a.534.534%200%200%200%20.534-.533Z'%20fill='%231D59F9'/%3e%3c/svg%3e",ij="data:image/svg+xml,%3csvg%20width='203'%20height='48'%20viewBox='0%200%20203%2048'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_360_33)'%3e%3cpath%20d='M79.8023%207.13C69.2326%207.13%2061.9873%2014.3937%2061.9873%2024.3707C61.9873%2034.3477%2069.2326%2041.6114%2079.8023%2041.6114C82.8804%2041.6114%2085.6554%2040.9519%2088.1368%2039.8685L90.7886%2042.9304L95.562%2039.0865L93.0901%2036.2602C95.9882%2033.2549%2097.6741%2029.1095%2097.6741%2024.3707C97.6741%2014.4031%2090.3056%207.13%2079.8023%207.13V7.13ZM87.8905%2030.3155L84.5662%2026.4151L79.8591%2030.2589L83.1834%2034.1028C82.1606%2034.4608%2081.0146%2034.6398%2079.8023%2034.6398C73.8829%2034.6398%2070.085%2030.1365%2070.085%2024.3707C70.085%2018.605%2073.8924%2014.1017%2079.8023%2014.1017C85.7122%2014.1017%2089.5195%2018.5484%2089.5195%2024.3707C89.5195%2026.5941%2088.9134%2028.6385%2087.8905%2030.3155V30.3155Z'%20fill='white'/%3e%3cpath%20d='M132.441%2018.6613C132.441%2012.7166%20128.151%207.84583%20120.792%207.84583H104.01V40.8858H111.984V29.5333H117.061L123.643%2040.8858H132.764L124.855%2028.7514C128.663%2027.9694%20132.46%2024.6626%20132.46%2018.6613H132.441ZM119.826%2022.6276H111.975V14.7609H119.826C122.667%2014.7609%20124.353%2016.3814%20124.353%2018.6613C124.353%2020.9412%20122.724%2022.6276%20119.826%2022.6276Z'%20fill='white'/%3e%3cpath%20d='M139.26%2040.8858H147.235V27.5455H163.96V20.6397H147.235V14.7609H164.32V7.84583H139.26V40.8858Z'%20fill='white'/%3e%3cpath%20d='M194.003%207.84583L185.734%2020.5832L177.277%207.84583H168.279L181.747%2027.3099V40.8858H189.655V27.3099L203%207.84583H194.003Z'%20fill='white'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M4.99155%200C2.23466%200%20-0.000244141%202.22314%20-0.000244141%204.96552V43.0345C-0.000244141%2045.7769%202.23466%2048%204.99155%2048H43.262C46.0189%2048%2048.2538%2045.7769%2048.2538%2043.0345V4.96552C48.2538%202.22314%2046.0189%200%2043.262%200H4.99155ZM41.5984%2026.6199V40.4147C41.5984%2040.9475%2041.1642%2041.3794%2040.6286%2041.3794H26.7608C26.2252%2041.3794%2025.791%2040.9475%2025.791%2040.4147L25.791%2026.6199C25.791%2026.0872%2026.2252%2025.6553%2026.7608%2025.6553H40.6286C41.1642%2025.6553%2041.5984%2026.0872%2041.5984%2026.6199ZM22.4626%2021.3804V7.5856C22.4626%207.05283%2022.0285%206.62093%2021.4929%206.62093L7.62507%206.62093C7.08947%206.62093%206.65529%207.05283%206.65529%207.5856L6.65529%2021.3804C6.65529%2021.9132%207.08947%2022.3451%207.62507%2022.3451H21.4929C22.0285%2022.3451%2022.4626%2021.9132%2022.4626%2021.3804ZM41.5984%2021.3804V7.5856C41.5984%207.05283%2041.1642%206.62093%2040.6286%206.62093H26.7608C26.2252%206.62093%2025.791%207.05283%2025.791%207.5856L25.791%2021.3804C25.791%2021.9132%2026.2252%2022.3451%2026.7608%2022.3451H40.6286C41.1642%2022.3451%2041.5984%2021.9132%2041.5984%2021.3804ZM37.4383%2017.293V11.6725C37.4383%2011.1678%2037.0269%2010.7586%2036.5195%2010.7586L30.8693%2010.7586C30.3619%2010.7586%2029.9506%2011.1678%2029.9506%2011.6725V17.293C29.9506%2017.7977%2030.3619%2018.2069%2030.8693%2018.2069H36.5195C37.0269%2018.2069%2037.4383%2017.7977%2037.4383%2017.293Z'%20fill='white'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_360_33'%3e%3crect%20width='203'%20height='48'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",aj="data:image/svg+xml,%3csvg%20id='a'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2041%2041'%3e%3crect%20x='1.33'%20y='1.68'%20width='16.3'%20height='16.3'%20rx='1'%20ry='1'%20fill='%231D59F9'/%3e%3crect%20x='20.85'%20y='21.21'%20width='8.15'%20height='8.15'%20rx='1'%20ry='1'%20fill='%231D59F9'/%3e%3crect%20x='29'%20y='29.36'%20width='8.15'%20height='8.15'%20rx='1'%20ry='1'%20fill='%231D59F9'/%3e%3crect%20x='1.33'%20y='21.21'%20width='16.3'%20height='16.3'%20rx='1'%20ry='1'%20fill='%231D59F9'/%3e%3crect%20x='20.85'%20y='1.68'%20width='16.3'%20height='16.3'%20rx='1'%20ry='1'%20fill='%231D59F9'/%3e%3c/svg%3e",sj="/assets/QRFY_OG-image-BEvXtfzU.png",W0={qrfy:{siteName:"QRfy",email:"support@qrfy.com",phone:"+34 648 420 533",domain:"qrfy.com",site:"https://qrfy.com/",trialDays:7,refundDays:14,taxID:"B67081794",vatID:"ESB67081794",pdfPreviewUrl:"/qrfy.pdf",videoPreviewUrl:"/qrfy.mp4",logo:oj,whiteLogo:ij,isoLogo:aj,ogImage:sj,helpCenter:"https://support.qrfy.com/",socials:[{key:"linkedin",url:"https://www.linkedin.com/company/qrfy"},{key:"twitter",url:"https://twitter.com/qrfy_com"},{key:"facebook",url:"https://www.facebook.com/QRfycom"}],rating:{google:{value:4.7,count:11e3,bestRating:5,link:"https://goo.gl/maps/pcGpSrEm9wDjq4ZPA"}}}},{siteName:al,site:Mp,email:G0,phone:$A,domain:DA,trialDays:lj,refundDays:cj,logo:jA,whiteLogo:uj,isoLogo:Gae,ogImage:qae,helpCenter:Qae,socials:FA,taxID:BA,vatID:HA,rating:As}=W0.qrfy,UA="Prerender (+https://github.com/prerender/prerender)",zA=["true","1"].includes("1"),Yae=["true","1"].includes("1"),dj={create:"create",edit:"edit",delete:"delete"},Gr={prerenderText:UA,downloadFormats:["png","jpeg","svg","svgTiny","pdf","eps","ascii"],downloadSizes:[512,1024,2048,4096],asciiStringSize:["Normal","Big"],colorProfiles:["RGB","CMYK"],pageTypes:["A4","A3","A2","A1","A0"],imageFormats:["application/eps","application/illustrator","application/pdf","application/postscript","image/avif","image/bmp","image/gif","image/heic","image/heif","image/j2c","image/jp2","image/jpeg","image/jpx","image/jxl","image/png","image/svg+xml","image/tiff","image/vnd.microsoft.icon","image/webp","image/x-icon",".ai",".eps",".ps",".cur",".j2c",".jp2",".jpx",".jxl"],siteName:al,site:Mp,email:G0,phone:$A,domain:DA,taxID:BA,vatID:HA,socials:FA,defaultLocale:"en",trialDays:lj,refundDays:cj,roles:{admin:1,extendedCollaborator:2,collaborator:3},permissions:dj,views:{analysis:1,dashboard:2,payments:3,collaborators:4,templates:5,domains:6},qrDownloadSize:2e3,builder:{logoMaxSize:2048,pdfMaxFileSize:100,pdfMaxFiles:20,videoMaxFileSize:300,imageMaxDimensionSize:2048,imageMaxFileSize:15,mp3MaxFileSize:50,menuMaxPrices:9,pdfPreviewUrl:W0.qrfy.pdfPreviewUrl,videoPreviewUrl:W0.qrfy.videoPreviewUrl,vcard:{photoMaxDimensionSize:2048,photoMaxSize:15},business:{photoMaxDimensionSize:2048,photoMaxSize:15},coupon:{imageMaxDimensionSize:640,imageMaxSize:15},event:{photoMaxDimensionSize:2048,photoMaxSize:15}},emptyMp3:"/empty.mp3",bulkEnabled:zA,thousandsOpts:[".",","],dateFormatOpts:["DD-MM-YYYY","MM-DD-YYYY"],hoursFormatOpts:{24:"24hs",12:"am/pm"},getRateLimit:40,getRateLimitSeconds:10,postRateLimit:10,postRateLimitSeconds:10,defaultErrorCorrectionLevel:"Q"},ko=["bg","ca","cs","da","de","el","en","es","eu","fi","fr","hr","hu","id","it","ja","ko","lv","ms","nb","no","nl","pl","pt","ro","ru","sk","sl","sr","sv","th","tr","uk","zh"];function Pp(e,t=!1){if(t){if(e&&e.toLowerCase()==="nb")return"no"}else if(e&&e.toLowerCase()==="no")return"nb";return e}function d1(e,t){return Object.keys(e).reduce((r,n)=>{const o=e[n],i=t?`${t}.${n}`:n;return typeof o=="string"?r[i]=o:Object.assign(r,d1(o,i)),r},{})}function pj(e,t,r){if(r)return!1;e.code==="FORMAT_ERROR"?console.error(`[React Intl Error ${e.code}] Error formatting default message for: "${e.descriptor.id}", rendering default message verbatim
Locale: ${t}`):e.code==="MISSING_TRANSLATION"?console.error(`[React Intl Error ${e.code}] Missing message: "${e.descriptor.id}" for locale "${t}".`):console.error(e)}var VA={exports:{}};(function(e,t){(function(r,n){e.exports=n()})(on,function(){var r=1e3,n=6e4,o=36e5,i="millisecond",a="second",s="minute",l="hour",c="day",u="week",p="month",f="quarter",m="year",v="date",h="Invalid Date",x=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,y=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,b={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(D){var $=["th","st","nd","rd"],j=D%100;return"["+D+($[(j-20)%10]||$[j]||$[0])+"]"}},w=function(D,$,j){var H=String(D);return!H||H.length>=$?D:""+Array($+1-H.length).join(j)+D},S={s:w,z:function(D){var $=-D.utcOffset(),j=Math.abs($),H=Math.floor(j/60),k=j%60;return($<=0?"+":"-")+w(H,2,"0")+":"+w(k,2,"0")},m:function D($,j){if($.date()<j.date())return-D(j,$);var H=12*(j.year()-$.year())+(j.month()-$.month()),k=$.clone().add(H,p),L=j-k<0,B=$.clone().add(H+(L?-1:1),p);return+(-(H+(j-k)/(L?k-B:B-k))||0)},a:function(D){return D<0?Math.ceil(D)||0:Math.floor(D)},p:function(D){return{M:p,y:m,w:u,d:c,D:v,h:l,m:s,s:a,ms:i,Q:f}[D]||String(D||"").toLowerCase().replace(/s$/,"")},u:function(D){return D===void 0}},T="en",R={};R[T]=b;var E="$isDayjsObject",A=function(D){return D instanceof F||!(!D||!D[E])},P=function D($,j,H){var k;if(!$)return T;if(typeof $=="string"){var L=$.toLowerCase();R[L]&&(k=L),j&&(R[L]=j,k=L);var B=$.split("-");if(!k&&B.length>1)return D(B[0])}else{var z=$.name;R[z]=$,k=z}return!H&&k&&(T=k),k||!H&&T},M=function(D,$){if(A(D))return D.clone();var j=typeof $=="object"?$:{};return j.date=D,j.args=arguments,new F(j)},O=S;O.l=P,O.i=A,O.w=function(D,$){return M(D,{locale:$.$L,utc:$.$u,x:$.$x,$offset:$.$offset})};var F=function(){function D(j){this.$L=P(j.locale,null,!0),this.parse(j),this.$x=this.$x||j.x||{},this[E]=!0}var $=D.prototype;return $.parse=function(j){this.$d=function(H){var k=H.date,L=H.utc;if(k===null)return new Date(NaN);if(O.u(k))return new Date;if(k instanceof Date)return new Date(k);if(typeof k=="string"&&!/Z$/i.test(k)){var B=k.match(x);if(B){var z=B[2]-1||0,V=(B[7]||"0").substring(0,3);return L?new Date(Date.UTC(B[1],z,B[3]||1,B[4]||0,B[5]||0,B[6]||0,V)):new Date(B[1],z,B[3]||1,B[4]||0,B[5]||0,B[6]||0,V)}}return new Date(k)}(j),this.init()},$.init=function(){var j=this.$d;this.$y=j.getFullYear(),this.$M=j.getMonth(),this.$D=j.getDate(),this.$W=j.getDay(),this.$H=j.getHours(),this.$m=j.getMinutes(),this.$s=j.getSeconds(),this.$ms=j.getMilliseconds()},$.$utils=function(){return O},$.isValid=function(){return this.$d.toString()!==h},$.isSame=function(j,H){var k=M(j);return this.startOf(H)<=k&&k<=this.endOf(H)},$.isAfter=function(j,H){return M(j)<this.startOf(H)},$.isBefore=function(j,H){return this.endOf(H)<M(j)},$.$g=function(j,H,k){return O.u(j)?this[H]:this.set(k,j)},$.unix=function(){return Math.floor(this.valueOf()/1e3)},$.valueOf=function(){return this.$d.getTime()},$.startOf=function(j,H){var k=this,L=!!O.u(H)||H,B=O.p(j),z=function(ie,he){var ae=O.w(k.$u?Date.UTC(k.$y,he,ie):new Date(k.$y,he,ie),k);return L?ae:ae.endOf(c)},V=function(ie,he){return O.w(k.toDate()[ie].apply(k.toDate("s"),(L?[0,0,0,0]:[23,59,59,999]).slice(he)),k)},K=this.$W,q=this.$M,te=this.$D,Y="set"+(this.$u?"UTC":"");switch(B){case m:return L?z(1,0):z(31,11);case p:return L?z(1,q):z(0,q+1);case u:var se=this.$locale().weekStart||0,oe=(K<se?K+7:K)-se;return z(L?te-oe:te+(6-oe),q);case c:case v:return V(Y+"Hours",0);case l:return V(Y+"Minutes",1);case s:return V(Y+"Seconds",2);case a:return V(Y+"Milliseconds",3);default:return this.clone()}},$.endOf=function(j){return this.startOf(j,!1)},$.$set=function(j,H){var k,L=O.p(j),B="set"+(this.$u?"UTC":""),z=(k={},k[c]=B+"Date",k[v]=B+"Date",k[p]=B+"Month",k[m]=B+"FullYear",k[l]=B+"Hours",k[s]=B+"Minutes",k[a]=B+"Seconds",k[i]=B+"Milliseconds",k)[L],V=L===c?this.$D+(H-this.$W):H;if(L===p||L===m){var K=this.clone().set(v,1);K.$d[z](V),K.init(),this.$d=K.set(v,Math.min(this.$D,K.daysInMonth())).$d}else z&&this.$d[z](V);return this.init(),this},$.set=function(j,H){return this.clone().$set(j,H)},$.get=function(j){return this[O.p(j)]()},$.add=function(j,H){var k,L=this;j=Number(j);var B=O.p(H),z=function(q){var te=M(L);return O.w(te.date(te.date()+Math.round(q*j)),L)};if(B===p)return this.set(p,this.$M+j);if(B===m)return this.set(m,this.$y+j);if(B===c)return z(1);if(B===u)return z(7);var V=(k={},k[s]=n,k[l]=o,k[a]=r,k)[B]||1,K=this.$d.getTime()+j*V;return O.w(K,this)},$.subtract=function(j,H){return this.add(-1*j,H)},$.format=function(j){var H=this,k=this.$locale();if(!this.isValid())return k.invalidDate||h;var L=j||"YYYY-MM-DDTHH:mm:ssZ",B=O.z(this),z=this.$H,V=this.$m,K=this.$M,q=k.weekdays,te=k.months,Y=k.meridiem,se=function(he,ae,Re,pe){return he&&(he[ae]||he(H,L))||Re[ae].slice(0,pe)},oe=function(he){return O.s(z%12||12,he,"0")},ie=Y||function(he,ae,Re){var pe=he<12?"AM":"PM";return Re?pe.toLowerCase():pe};return L.replace(y,function(he,ae){return ae||function(Re){switch(Re){case"YY":return String(H.$y).slice(-2);case"YYYY":return O.s(H.$y,4,"0");case"M":return K+1;case"MM":return O.s(K+1,2,"0");case"MMM":return se(k.monthsShort,K,te,3);case"MMMM":return se(te,K);case"D":return H.$D;case"DD":return O.s(H.$D,2,"0");case"d":return String(H.$W);case"dd":return se(k.weekdaysMin,H.$W,q,2);case"ddd":return se(k.weekdaysShort,H.$W,q,3);case"dddd":return q[H.$W];case"H":return String(z);case"HH":return O.s(z,2,"0");case"h":return oe(1);case"hh":return oe(2);case"a":return ie(z,V,!0);case"A":return ie(z,V,!1);case"m":return String(V);case"mm":return O.s(V,2,"0");case"s":return String(H.$s);case"ss":return O.s(H.$s,2,"0");case"SSS":return O.s(H.$ms,3,"0");case"Z":return B}return null}(he)||B.replace(":","")})},$.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},$.diff=function(j,H,k){var L,B=this,z=O.p(H),V=M(j),K=(V.utcOffset()-this.utcOffset())*n,q=this-V,te=function(){return O.m(B,V)};switch(z){case m:L=te()/12;break;case p:L=te();break;case f:L=te()/3;break;case u:L=(q-K)/6048e5;break;case c:L=(q-K)/864e5;break;case l:L=q/o;break;case s:L=q/n;break;case a:L=q/r;break;default:L=q}return k?L:O.a(L)},$.daysInMonth=function(){return this.endOf(p).$D},$.$locale=function(){return R[this.$L]},$.locale=function(j,H){if(!j)return this.$L;var k=this.clone(),L=P(j,H,!0);return L&&(k.$L=L),k},$.clone=function(){return O.w(this.$d,this)},$.toDate=function(){return new Date(this.valueOf())},$.toJSON=function(){return this.isValid()?this.toISOString():null},$.toISOString=function(){return this.$d.toISOString()},$.toString=function(){return this.$d.toUTCString()},D}(),I=F.prototype;return M.prototype=I,[["$ms",i],["$s",a],["$m",s],["$H",l],["$W",c],["$M",p],["$y",m],["$D",v]].forEach(function(D){I[D[1]]=function($){return this.$g($,D[0],D[1])}}),M.extend=function(D,$){return D.$i||(D($,F,M),D.$i=!0),M},M.locale=P,M.isDayjs=A,M.unix=function(D){return M(1e3*D)},M.en=R[T],M.Ls=R,M.p={},M})})(VA);var fj=VA.exports;const wt=Ht(fj);function Kae(){const e=document.createElement("div");e.style.width="100px",e.style.height="100px",e.style.overflow="scroll",e.style.position="absolute",e.style.top="-9999px",document.body.appendChild(e);const t=e.offsetWidth-e.clientWidth;return document.body.removeChild(e),t}function Zae(){return document.documentElement.scrollHeight>window.innerHeight}const hj={getExpirationKey(e){return`${e}-expiration`},save(e,t,r){localStorage.setItem(e,JSON.stringify(t)),r&&localStorage.setItem(this.getExpirationKey(e),wt().add(r,"minute").format())},get(e){try{const t=localStorage.getItem(this.getExpirationKey(e));return t&&wt().isAfter(wt(t))&&(localStorage.removeItem(e),localStorage.removeItem(this.getExpirationKey(e))),JSON.parse(localStorage.getItem(e))}catch{return}},remove(e){localStorage.removeItem(e)}},Xae=()=>{const e=navigator.userAgent;return/(tablet|ipad|playbook|silk)|(android(?!.*mobi))/i.test(e)?"tablet":/Mobile|iP(hone|od|ad)|Android|BlackBerry|IEMobile|Kindle|Silk-Accelerated|(hpw|web)OS|Opera M(obi|ini)/.test(e)?"mobile":"desktop"};function Jae(){return new Promise(e=>{const t="UklGRlIAAABXRUJQVlA4WAoAAAASAAAAAAAAAAAAQU5JTQYAAAD/////AABBTk1GJgAAAAAAAAAAAAAAAAAAAGQAAABWUDhMDQAAAC8AAAAQBxAREYiI/gcA",r=new Image;r.onload=()=>{e(r.width>0&&r.height>0&&!!window.fetch)},r.onerror=()=>{e(!1)},r.src=`data:image/webp;base64,${t}`})}function ese(e){if(navigator.clipboard)return navigator.clipboard.writeText(e);const t=document.createElement("input");t.setAttribute("value",e),document.body.appendChild(t),t.select();try{document.execCommand("copy")}catch(r){console.error(r)}document.body.removeChild(t)}const tse=(e,t)=>{const[r,n]=g.useState(!1);return g.useEffect(()=>{const o=new ResizeObserver(()=>{e.current&&n(e.current.clientWidth<t)});return e.current&&o.observe(e.current),()=>{e.current&&o.unobserve(e.current)}},[e,t]),r},rse=/^((?!chrome|android|crios|fxios).)*safari/i.test(navigator.userAgent),mj="locale";function gj(){const e=navigator.languages===void 0?[navigator.language]:navigator.languages;if(e)return e.map(t=>{const r=Pp(t.trim().toLowerCase());if(ko.includes(r))return r;const n=Pp(r.split(/-|_/)[0]);if(ko.includes(n))return n}).filter(Boolean)[0]}function Eu(){const e=new URLSearchParams(window.location.search),{location:t}=e.get("crm")==="true"?window:window.parent,r=t.pathname.split("/");if(r.length>1&&ko.includes(r[1]))return r[1]}function WA(){const e=Eu();if(e)return e;const t=hj.get(mj),r=gj();return/\/(p|preview)\//.test(window.location.pathname)?t||r||Gr.defaultLocale:t||Gr.defaultLocale||r}function nh(e){return e||WA()}const GA=["ja","ko","fi","pl","tr","nl","ru","sv"];function nse(e,t,r,n="LL"){const o=GA.includes(t)?n:r;return e.format(o)}const qA=Pf({key:"css",prepend:!0});qA.compat=!0;function vj({children:e}){return d.jsx(k_,{value:qA,children:e})}const C={white:"#FFFFFF",black:"#220E27",red:"#FE4256",transparent:"transparent",warning:"#E5C513",deepRed:"#AD1519",primary:{lightBlue:"#F3F5FE",blue:"#1D59F9",pink:"#FDBCCB",yellow:"#FDDF37",darkBlue:"#1043CB",green:"#46CB48"},secondary:{green:"#69DF6A",lightRed:"#FFF0F1",red:"#D5496C",yellow:"#FEBD22",orange:"#FE8E3E",lightYellow:"#FED222",lightBlue:"#F7F7F7",darkOrange:"#EB6201"},gray:{light:"#F7F7F7",light2:"#F8F8F9",mediumLight:"#BDB7BF",normal:"#EAEAEC",dark:"#96949C",darkest:"#68676C",text:"#5A5B70"}},nd=(e=!1,t=!1)=>({display:e?"inline-flex":"flex",justifyContent:"center",alignItems:"center",flexDirection:t?"column":"row"}),yj=(e=C.secondary.orange,t=C.secondary.darkOrange)=>({color:e,position:"relative",display:"inline-block","&:hover":{color:t},"&:after":{content:'""',display:"block",position:"absolute",bottom:0,width:"100%",height:1,backgroundColor:"currentColor",transition:"all 0.3s ease-in-out",opacity:0},"&:hover:after":{opacity:1,"@media (hover: none)":{opacity:0}}});function bj(e){const t=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e);return t?[parseInt(t[1],16),parseInt(t[2],16),parseInt(t[3],16)]:null}const be={staticStyles:e=>({"&, &:hover, &:active, &:focus":{...e}}),relsize:(e,t)=>`${e/t*100}%`,centerFlex:{...nd()},centerFlexI:{...nd(!0)},centerFlexC:{...nd(!1,!0)},centerFlexIC:{...nd(!0,!0)},absoluteCenter:{position:"absolute",top:0,bottom:0,left:0,right:0,margin:"auto"},selectNone:{"-webkit-touch-callout":"none","-webkit-user-select":"none","-khtml-user-select":"none","-moz-user-select":"none","-ms-user-select":"none","user-select":"none"},transition:(e="all")=>`${e} 0.2s ease-in-out`,opacity(e,t){const r=bj(e);if(r)return`rgba(${r[0]}, ${r[1]}, ${r[2]}, ${t})`},getLinkStyles:yj,hover(e,t=!1){return{"@media (hover: hover)":{"&:hover":e},...t?{"&:active":e}:{}}},scrollbarStyles(){return{"&::-webkit-scrollbar":{width:6,height:6,cursor:"pointer"},"&::-webkit-scrollbar-track":{background:"transparent"},"&::-webkit-scrollbar-thumb":{background:"rgba(0, 0, 0, 0.2)",borderRadius:3}}}},ose="0px 2px 8px #E6E6E6",xj="0px 5px 5px -3px rgb(0 0 0 / 20%), 0px 8px 10px 1px rgb(0 0 0 / 14%), 0px 3px 14px 2px rgb(0 0 0 / 12%)",p1={blue:"0px 1px 4px 0px rgba(29, 89, 249, 0.50), 0px 1px 4px 2px rgba(29, 89, 249, 0.08)",100:"0px 1px 4px 1px rgba(34, 14, 39, 0.05)",200:"0px 4px 4px 0px rgba(34, 14, 39, 0.03), 0px 2px 8px 2px rgba(34, 14, 39, 0.05)",300:"0px 4px 6px 2px rgba(34, 14, 39, 0.03), 0px 4px 12px 4px rgba(34, 14, 39, 0.06)",400:"0px 4px 6px 2px rgba(34, 14, 39, 0.03), 0px 8px 16px 4px rgba(34, 14, 39, 0.08)",500:"0px 12px 24px 6px rgba(34, 14, 39, 0.10)",600:"0px 12px 24px 4px rgba(34, 14, 39, 0.12)"},ise="@media (min-width: 1795px) and (min-height: 920px)",ase="@media (max-width: 1794px), (max-height: 919px)",Ha={fontWeight:500,whiteSpace:"pre-wrap",margin:0},wj={black:"#220E27",red:C.red,primary:{main:C.primary.blue},secondary:{main:C.secondary.green},error:{main:C.secondary.red},background:{default:C.white},gray:C.gray},od=e=>({"&::-webkit-input-placeholder":e,"&::-moz-placeholder":e,"&:-ms-input-placeholder":e,"&:-moz-placeholder":e}),QA={values:{xs:0,sm:660,md:960,lg:1280,xl:1920}},Op=eh({breakpoints:QA}),YA="Lato",Sj="Inter",Ej={MuiCssBaseline:{styleOverrides:{body:{color:C.black,fontSize:"0.875rem",lineHeight:1.43},ul:{paddingInlineStart:0,margin:0},li:{listStyle:"none",margin:0},a:{textDecoration:"none",color:"inherit"},button:{fontFamily:[YA,"sans-serif"].join(", "),padding:0,background:"transparent",border:0,outline:0,cursor:"pointer",fontSize:"inherit",boxSizing:"border-box"},input:{"&::-webkit-inner-spin-button, &::-webkit-outer-spin-button":{WebkitAppearance:"none",margin:0}},p:{whiteSpace:"pre-wrap",margin:0},h1:Ha,h2:Ha,h3:Ha,h4:Ha,h5:Ha,h6:Ha,path:{"&.custom-color--circle-check-green":{fill:C.secondary.green}},textarea:{cursor:"auto","&::-webkit-scrollbar":{width:6,cursor:"pointer"},"&::-webkit-scrollbar-track":{background:"transparent"},"&::-webkit-scrollbar-thumb":{background:"rgba(0, 0, 0, 0.2)",borderRadius:3}}}},MuiInputBase:{styleOverrides:{inputAdornedStart:{paddingLeft:"0px !important"},input:{"&:-webkit-autofill, &:-webkit-autofill:hover, &:-webkit-autofill:focus":{transition:"all 5000s ease-in-out 0s"}},adornedEnd:{"& .MuiInputAdornment-root":{marginRight:4}},multiline:{padding:0},inputMultiline:{maxHeight:94,lineHeight:"1.4",padding:"8px 15px !important"}}},MuiInput:{defaultProps:{disableUnderline:!0},styleOverrides:{root:{color:C.black,backgroundColor:C.white,border:`2px solid ${C.gray.normal}`,borderRadius:24,height:50,lineHeight:"34px",transition:"background-color, border-color 0.25s ease-in-out","&:hover":{borderColor:C.gray.dark},"&.Mui-focused":{borderColor:C.primary.blue,color:C.black},"&.Mui-disabled":{backgroundColor:C.secondary.lightBlue,borderColor:C.gray.normal},"&.Mui-error":{border:`2px solid ${C.red}`}},formControl:{"label + &":{marginTop:0}},input:{height:46,padding:"0 15px",fontSize:15,...od({opacity:1,color:C.gray.dark}),"&.Mui-disabled":{opacity:.5},"&:hover":{...od({opacity:1}),"@media (hover: none)":{...od({color:C.gray.dark,opacity:1})}},"@media only screen and (max-width: 600px) and (-webkit-min-device-pixel-ratio: 2)":{fontSize:"16px !important"}},multiline:{alignItems:"flex-start",height:"auto",minHeight:98,padding:"5px 0"}}},MuiFormLabel:{styleOverrides:{root:{fontSize:13,fontWeight:600,lineHeight:"18px",marginBottom:6,color:C.gray.darkest,"&.Mui-disabled":{color:C.gray.darkest,opacity:.4},"&.Mui-error, &.Mui-focused":{color:C.gray.darkest}}}},MuiInputLabel:{styleOverrides:{shrink:{position:"static",transform:"none"},filled:{"&.MuiInputLabel-shrink":{transform:"none"}}}},MuiFormHelperText:{styleOverrides:{root:{fontSize:12,lineHeight:"17px",marginTop:3,"&.Mui-error":{color:C.red,"& a":{textDecoration:"underline"}}}}},MuiSelect:{defaultProps:{variant:"standard"},styleOverrides:{select:{display:"block",height:46,lineHeight:"46px","&:focus":{borderRadius:0,backgroundColor:"transparent"},"&.MuiSelect-select":{paddingRight:34}},icon:{right:5}}},MuiButton:{variants:[{props:{variant:"outlinedV2"},style:({ownerState:e})=>({backgroundColor:"transparent",color:C.primary.blue,border:`1px solid ${C.gray.normal}`,...e.white?{color:C.white,border:`1px solid ${C.white}`}:{color:C.primary.blue,border:`1px solid ${C.gray.normal}`},"@media (hover: hover)":{"&:hover":{backgroundColor:e.white?"rgba(255, 255, 255, 0.05)":C.white}},"&:active":{...e.white?{backgroundColor:"rgba(255, 255, 255, 0.2)"}:{backgroundColor:C.gray.normal}},"&:focus-visible":{...e.white?{backgroundColor:"rgba(255, 255, 255, 0.2)"}:{borderColor:C.primary.blue}},"&:disabled":{...e.white?{borderColor:C.gray.text,color:C.gray.text}:{borderColor:"#D9D9D9",color:C.gray.dark}}})}],defaultProps:{variant:"contained",disableRipple:!0},styleOverrides:{root:{position:"relative",borderRadius:28,fontSize:18,fontWeight:700,height:56,textTransform:"none",whiteSpace:"nowrap",transition:be.transition(),[Op.breakpoints.down("lg")]:{fontSize:15,height:48},"&.MuiButton-sizeSmall":{fontSize:15,height:40}},contained:{boxShadow:"none",backgroundColor:C.primary.blue,color:C.white,"&:hover":{backgroundColor:C.primary.darkBlue,"@media (hover: none)":{backgroundColor:C.primary.blue}},"&:active":{backgroundColor:"#3E73FF"},"&:focus":{boxShadow:"0px 2px 8px rgba(29, 89, 249, 0.200111)"},"&.Mui-disabled":{backgroundColor:C.gray.normal,color:C.white,boxShadow:"none"},"&:hover, &:active":{boxShadow:"none"},"&.MuiButton-colorSecondary":{backgroundColor:C.secondary.green,color:C.white,boxShadow:"none","&:hover":{backgroundColor:"#2BBEA1","@media (hover: none)":{backgroundColor:C.secondary.green}},"&:focus":{backgroundColor:C.secondary.green,boxShadow:`0 2px 8px ${C.secondary.green}`},"&:active":{backgroundColor:"#26AC91"},"&.Mui-disabled":{backgroundColor:C.gray.dark,color:C.white}}},outlined:{backgroundColor:C.white,border:`2px solid ${C.primary.blue}`,color:C.primary.blue,boxShadow:"none","&:hover:not(.Mui-disabled)":{borderWidth:2,borderColor:C.primary.darkBlue,backgroundColor:C.gray.light,"@media (hover: none)":{borderColor:C.gray.normal}},"&:active:not(.Mui-disabled)":{borderWidth:2,borderColor:C.primary.darkBlue,backgroundColor:C.gray.normal,color:C.primary.darkBlue},"&.Mui-disabled":{borderWidth:1},"&.MuiButton-colorPrimary":{"&.Mui-disabled":{borderWidth:2,borderColor:"#EAEAEA",backgroundColor:"#EAEAEA",color:C.gray.dark,"&:hover":{backgroundColor:"#EAEAEA"}}},"&.MuiButton-colorSecondary":{backgroundColor:C.white,border:`2px solid ${C.gray.normal}`,color:C.black,"&:hover:not(.Mui-disabled)":{borderWidth:2,borderColor:C.primary.blue,backgroundColor:C.gray.light,"@media (hover: none)":{borderColor:C.dark,backgroundColor:C.white}},"&:active:not(.Mui-disabled)":{borderWidth:2,borderColor:C.black,backgroundColor:C.gray.normal,color:C.black}}},sizeLarge:{fontSize:18,height:64,[Op.breakpoints.down("md")]:{fontSize:15,height:48}},startIcon:{marginRight:10},endIcon:{marginLeft:12},disabled:{}}},MuiMenu:{styleOverrides:{list:{paddingLeft:8,maxHeight:300}}},MuiMenuItem:{styleOverrides:{root:{paddingLeft:8,width:"calc(100% - 8px)",height:36,color:C.gray.dark,borderRadius:4,marginBottom:4,fontSize:13,fontWeight:400,transition:be.transition(),"&:last-child":{marginBottom:0},"&:hover":{color:C.black,backgroundColor:C.gray.normal,"&.Mui-selected":{color:C.black,backgroundColor:C.gray.light}},"&.Mui-selected":{color:C.black,backgroundColor:C.gray.light},"&:active":{backgroundColor:"#DADADD"},"& .MuiTouchRipple-root":{display:"none"},"& .checkbox-wrapper":{marginRight:7}},selected:{}}},MuiPaper:{styleOverrides:{root:{backgroundImage:"unset",color:C.black},rounded:{borderRadius:4}}},MuiPagination:{defaultProps:{variant:"outlined",shape:"rounded"},styleOverrides:{root:{display:"flex",justifyContent:"center"}}},MuiPaginationItem:{styleOverrides:{root:{fontSize:12,fontWeight:600,margin:"0 1px"},page:{transition:be.transition(),"&:hover":{backgroundColor:C.transparent,borderColor:C.gray.darkest},"&:active":{borderColor:C.gray.normal,backgroundColor:"transparent"},"&.Mui-selected, &.Mui-selected.Mui-selected:hover":{backgroundColor:"transparent",borderColor:C.primary.blue},"& .MuiTouchRipple-root":{display:"none"}},rounded:{borderRadius:8},outlined:{border:`2px solid ${C.gray.normal}`},selected:{}}},MuiSkeleton:{styleOverrides:{root:{backgroundColor:C.gray.normal},text:{borderRadius:6,display:"inline-block",height:12,transform:"none"},rect:{borderRadius:8}}},MuiCheckbox:{styleOverrides:{root:{backgroundColor:"transparent",color:C.gray.normal,transition:be.transition(),"&:hover":{backgroundColor:"transparent",color:C.gray.dark,"@media (hover: none)":{color:C.gray.normal}},"&:active":{backgroundColor:"transparent"},"&.Mui-disabled":{pointerEvents:"none",borderColor:C.gray.normal},"&.Mui-checked.Mui-disabled svg .check":{fill:C.gray.dark}},checked:{},disabled:{}}},MuiRadio:{defaultProps:{color:"secondary"},styleOverrides:{root:{backgroundColor:"transparent !important",color:C.gray.normal,transition:be.transition(),"&:not(.Mui-disabled):hover":{backgroundColor:"transparent",color:C.gray.dark,"@media (hover: none)":{color:C.gray.normal}},"&:not(.Mui-disabled):active":{backgroundColor:"transparent"},"&:not(.Mui-disabled).Mui-checked":{color:C.primary.blue,"& svg .check":{fill:C.white}},"&:not(.Mui-disabled).Mui-checked:hover":{color:"#4169CA","@media (hover: none)":{color:C.primary.blue}},"&.Mui-checked:active":{color:"#4169CA"},"&.Mui-disabled":{color:C.gray.normal,"& svg":{backgroundColor:C.secondary.lightBlue}},"&.Mui-checked.Mui-disabled":{"& svg .check":{fill:C.gray.dark}}},checked:{},disabled:{}}},MuiPickersToolbar:{styleOverrides:{toolbar:{padding:0},content:{justifyContent:"center"},root:{padding:"14px 12px",backgroundColor:C.primary.blue,height:100,"& span.MuiTypography-root.MuiTypography-overline":{display:"none"}}}},MuiClock:{styleOverrides:{root:{marginTop:20,marginBottom:20}}},MuiPickersToolbarText:{styleOverrides:{root:{color:"rgba(255, 255, 255, 0.54)","&.MuiTypography-h3":{fontSize:"3.75rem",fontWeight:300,lineHeight:1.2},"&.Mui-selected":{color:C.white},subtitle1:{fontSize:"1rem",fontWeight:400,lineHeight:"1.75"}}}},MuiPickersToolbarButton:{styleOverrides:{root:{"&&":{height:"auto"}}}},MuiPickersTimePickerToolbar:{styleOverrides:{toolbarAmpmLeftPadding:{paddingLeft:0}}},MuiDateTimePickerToolbar:{styleOverrides:{root:{paddingLeft:25,paddingRight:25,"&& .MuiTypography-h3":{fontSize:"3rem",fontWeight:400,lineHeight:1.167},".MuiPickersToolbar-content":{justifyContent:"space-between"}}}},MuiDateTimePickerTabs:{styleOverrides:{root:{background:C.primary.blue,".MuiTab-root":{color:C.white,opacity:.6,"&.Mui-selected":{opacity:1}}}}},MuiPickersModal:{styleOverrides:{withAdditionalAction:{"& > button":{height:40,fontSize:14}}}},MuiTimeClock:{styleOverrides:{arrowSwitcher:{display:"none"}}},MuiPickersArrowSwitcher:{styleOverrides:{spacer:{width:24}}},MuiUseMediaQuery:{defaultProps:{noSsr:!0}},MuiAccordion:{styleOverrides:{rounded:{borderRadius:8,"&:first-child":{borderRadius:8},"&:last-child":{borderRadius:8}}}},MuiAutocomplete:{styleOverrides:{hasPopupIcon:{"&.MuiAutocomplete-hasClearIcon .MuiAutocomplete-inputRoot.MuiAutocomplete-inputRoot":{paddingRight:52}},root:{"& .autocomplete-clear":{opacity:0,transition:be.transition()},"&:hover .autocomplete-clear":{opacity:1}},inputRoot:{paddingLeft:12,paddingRight:32,height:"auto",minHeight:34,'&[class*="MuiInput-root"]':{paddingBottom:0},'&[class*="MuiInput-root"][class*="MuiInput-marginDense"] .MuiAutocomplete-input.MuiAutocomplete-input:first-child,\n			&[class*="MuiInput-root"][class*="MuiInput-marginDense"] .MuiAutocomplete-input.MuiAutocomplete-input,\n			&[class*="MuiInput-root"] .MuiAutocomplete-input.MuiAutocomplete-input':{padding:0,height:30,...od({opacity:1,color:C.black})},"&.MuiInputBase-adornedStart":{paddingLeft:6}},input:{fontSize:13},listbox:{padding:8,paddingRight:2},tagSizeSmall:{"&:first-child":{marginLeft:0}},option:{paddingLeft:8,width:"calc(100% - 8px)",color:C.gray.dark,borderRadius:4,marginBottom:4,fontSize:13,fontWeight:400,transition:be.transition(),"&&":{minHeight:36,height:"auto"},"& .checkbox-wrapper":{marginRight:7},'&[aria-selected="true"]':{color:C.black,backgroundColor:C.gray.light},"&:hover":{color:C.black,backgroundColor:C.gray.normal,'&[aria-selected="true"]':{color:C.black,backgroundColor:C.gray.light}}}}},MuiTextField:{defaultProps:{variant:"standard"}},MuiFormControl:{defaultProps:{variant:"standard"}},MuiIconButton:{defaultProps:{size:"large"}},MuiTabs:{defaultProps:{indicatorColor:"secondary",textColor:"inherit"}},MuiTooltip:{defaultProps:{disableInteractive:!0}},MuiDivider:{styleOverrides:{root:{borderColor:C.gray.normal}}}},Cj={fontSize:"40px",fontWeight:700,lineHeight:"52px"},Tj={fontSize:"32px",fontWeight:700,lineHeight:"40px"},Rj={fontSize:"24px",fontWeight:700,lineHeight:"36px"},_j={fontSize:"20px",fontWeight:700,lineHeight:"36px"},Aj={fontSize:"16px",fontWeight:700,lineHeight:"28px"},kj={fontSize:"14px",fontWeight:400,lineHeight:"24px"},Ij={fontSize:"12px",fontWeight:400,lineHeight:"20px"},Mj={fontSize:"10px",fontWeight:400,lineHeight:"16px"},Pj={fontSize:"12px",fontWeight:400,lineHeight:"20px"},Oj=eh({typography:{fontFamily:[Sj,"sans-serif"].join(", "),h2:Cj,h3:Tj,subtitle1:Rj,subtitle2:_j,subtitle3:Aj,body1:kj,body2:Ij,body3:Mj,caption:Pj},breakpoints:QA,spacing:4,components:Ej,palette:wj}),Lj="modulepreload",Nj=function(e){return"/"+e},ow={},N=function(t,r,n){let o=Promise.resolve();if(r&&r.length>0){document.getElementsByTagName("link");const i=document.querySelector("meta[property=csp-nonce]"),a=(i==null?void 0:i.nonce)||(i==null?void 0:i.getAttribute("nonce"));o=Promise.all(r.map(s=>{if(s=Nj(s),s in ow)return;ow[s]=!0;const l=s.endsWith(".css"),c=l?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${s}"]${c}`))return;const u=document.createElement("link");if(u.rel=l?"stylesheet":Lj,l||(u.as="script",u.crossOrigin=""),u.href=s,a&&u.setAttribute("nonce",a),document.head.appendChild(u),l)return new Promise((p,f)=>{u.addEventListener("load",p),u.addEventListener("error",()=>f(new Error(`Unable to preload CSS for ${s}`)))})}))}return o.then(()=>t()).catch(i=>{const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=i,window.dispatchEvent(a),!a.defaultPrevented)throw i})},id=(e,t,r)=>{const n=e[t];return n?typeof n=="function"?n():Promise.resolve(n):new Promise((o,i)=>{(typeof queueMicrotask=="function"?queueMicrotask:setTimeout)(i.bind(null,new Error("Unknown variable dynamic import: "+t+(t.split("/").length!==r?". Note that variables only represent file names one level deep.":""))))})};var q0=function(e,t){return q0=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(r[o]=n[o])},q0(e,t)};function jn(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");q0(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}var me=function(){return me=Object.assign||function(t){for(var r,n=1,o=arguments.length;n<o;n++){r=arguments[n];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(t[i]=r[i])}return t},me.apply(this,arguments)};function Fc(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r}function sse(e,t,r,n){function o(i){return i instanceof r?i:new r(function(a){a(i)})}return new(r||(r=Promise))(function(i,a){function s(u){try{c(n.next(u))}catch(p){a(p)}}function l(u){try{c(n.throw(u))}catch(p){a(p)}}function c(u){u.done?i(u.value):o(u.value).then(s,l)}c((n=n.apply(e,t||[])).next())})}function lse(e,t){var r={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,o,i,a=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return a.next=s(0),a.throw=s(1),a.return=s(2),typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function s(c){return function(u){return l([c,u])}}function l(c){if(n)throw new TypeError("Generator is already executing.");for(;a&&(a=0,c[0]&&(r=0)),r;)try{if(n=1,o&&(i=c[0]&2?o.return:c[0]?o.throw||((i=o.return)&&i.call(o),0):o.next)&&!(i=i.call(o,c[1])).done)return i;switch(o=0,i&&(c=[c[0]&2,i.value]),c[0]){case 0:case 1:i=c;break;case 4:return r.label++,{value:c[1],done:!1};case 5:r.label++,o=c[1],c=[0];continue;case 7:c=r.ops.pop(),r.trys.pop();continue;default:if(i=r.trys,!(i=i.length>0&&i[i.length-1])&&(c[0]===6||c[0]===2)){r=0;continue}if(c[0]===3&&(!i||c[1]>i[0]&&c[1]<i[3])){r.label=c[1];break}if(c[0]===6&&r.label<i[1]){r.label=i[1],i=c;break}if(i&&r.label<i[2]){r.label=i[2],r.ops.push(c);break}i[2]&&r.ops.pop(),r.trys.pop();continue}c=t.call(e,r)}catch(u){c=[6,u],o=0}finally{n=i=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}function $j(e,t){var r=typeof Symbol=="function"&&e[Symbol.iterator];if(!r)return e;var n=r.call(e),o,i=[],a;try{for(;(t===void 0||t-- >0)&&!(o=n.next()).done;)i.push(o.value)}catch(s){a={error:s}}finally{try{o&&!o.done&&(r=n.return)&&r.call(n)}finally{if(a)throw a.error}}return i}function cse(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat($j(arguments[t]));return e}function yo(e,t,r){if(r||arguments.length===2)for(var n=0,o=t.length,i;n<o;n++)(i||!(n in t))&&(i||(i=Array.prototype.slice.call(t,0,n)),i[n]=t[n]);return e.concat(i||Array.prototype.slice.call(t))}function KA(e,t,r){if(r===void 0&&(r=Error),!e)throw new r(t)}var je;(function(e){e[e.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",e[e.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",e[e.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",e[e.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",e[e.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",e[e.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",e[e.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",e[e.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",e[e.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",e[e.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",e[e.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",e[e.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",e[e.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",e[e.INVALID_TAG=23]="INVALID_TAG",e[e.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",e[e.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",e[e.UNCLOSED_TAG=27]="UNCLOSED_TAG"})(je||(je={}));var ht;(function(e){e[e.literal=0]="literal",e[e.argument=1]="argument",e[e.number=2]="number",e[e.date=3]="date",e[e.time=4]="time",e[e.select=5]="select",e[e.plural=6]="plural",e[e.pound=7]="pound",e[e.tag=8]="tag"})(ht||(ht={}));var Vs;(function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"})(Vs||(Vs={}));function iw(e){return e.type===ht.literal}function Dj(e){return e.type===ht.argument}function ZA(e){return e.type===ht.number}function XA(e){return e.type===ht.date}function JA(e){return e.type===ht.time}function ek(e){return e.type===ht.select}function tk(e){return e.type===ht.plural}function jj(e){return e.type===ht.pound}function rk(e){return e.type===ht.tag}function nk(e){return!!(e&&typeof e=="object"&&e.type===Vs.number)}function Q0(e){return!!(e&&typeof e=="object"&&e.type===Vs.dateTime)}var ok=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,Fj=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;function Bj(e){var t={};return e.replace(Fj,function(r){var n=r.length;switch(r[0]){case"G":t.era=n===4?"long":n===5?"narrow":"short";break;case"y":t.year=n===2?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":t.month=["numeric","2-digit","short","long","narrow"][n-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":t.day=["numeric","2-digit"][n-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":t.weekday=n===4?"short":n===5?"narrow":"short";break;case"e":if(n<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][n-4];break;case"c":if(n<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][n-4];break;case"a":t.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":t.hourCycle="h12",t.hour=["numeric","2-digit"][n-1];break;case"H":t.hourCycle="h23",t.hour=["numeric","2-digit"][n-1];break;case"K":t.hourCycle="h11",t.hour=["numeric","2-digit"][n-1];break;case"k":t.hourCycle="h24",t.hour=["numeric","2-digit"][n-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":t.minute=["numeric","2-digit"][n-1];break;case"s":t.second=["numeric","2-digit"][n-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":t.timeZoneName=n<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),t}var Hj=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function Uj(e){if(e.length===0)throw new Error("Number skeleton cannot be empty");for(var t=e.split(Hj).filter(function(f){return f.length>0}),r=[],n=0,o=t;n<o.length;n++){var i=o[n],a=i.split("/");if(a.length===0)throw new Error("Invalid number skeleton");for(var s=a[0],l=a.slice(1),c=0,u=l;c<u.length;c++){var p=u[c];if(p.length===0)throw new Error("Invalid number skeleton")}r.push({stem:s,options:l})}return r}function zj(e){return e.replace(/^(.*?)-/,"")}var aw=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,ik=/^(@+)?(\+|#+)?[rs]?$/g,Vj=/(\*)(0+)|(#+)(0+)|(0+)/g,ak=/^(0+)$/;function sw(e){var t={};return e[e.length-1]==="r"?t.roundingPriority="morePrecision":e[e.length-1]==="s"&&(t.roundingPriority="lessPrecision"),e.replace(ik,function(r,n,o){return typeof o!="string"?(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length):o==="+"?t.minimumSignificantDigits=n.length:n[0]==="#"?t.maximumSignificantDigits=n.length:(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length+(typeof o=="string"?o.length:0)),""}),t}function sk(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function Wj(e){var t;if(e[0]==="E"&&e[1]==="E"?(t={notation:"engineering"},e=e.slice(2)):e[0]==="E"&&(t={notation:"scientific"},e=e.slice(1)),t){var r=e.slice(0,2);if(r==="+!"?(t.signDisplay="always",e=e.slice(2)):r==="+?"&&(t.signDisplay="exceptZero",e=e.slice(2)),!ak.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function lw(e){var t={},r=sk(e);return r||t}function Gj(e){for(var t={},r=0,n=e;r<n.length;r++){var o=n[r];switch(o.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=o.options[0];continue;case"group-off":case",_":t.useGrouping=!1;continue;case"precision-integer":case".":t.maximumFractionDigits=0;continue;case"measure-unit":case"unit":t.style="unit",t.unit=zj(o.options[0]);continue;case"compact-short":case"K":t.notation="compact",t.compactDisplay="short";continue;case"compact-long":case"KK":t.notation="compact",t.compactDisplay="long";continue;case"scientific":t=me(me(me({},t),{notation:"scientific"}),o.options.reduce(function(l,c){return me(me({},l),lw(c))},{}));continue;case"engineering":t=me(me(me({},t),{notation:"engineering"}),o.options.reduce(function(l,c){return me(me({},l),lw(c))},{}));continue;case"notation-simple":t.notation="standard";continue;case"unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";continue;case"unit-width-short":t.currencyDisplay="code",t.unitDisplay="short";continue;case"unit-width-full-name":t.currencyDisplay="name",t.unitDisplay="long";continue;case"unit-width-iso-code":t.currencyDisplay="symbol";continue;case"scale":t.scale=parseFloat(o.options[0]);continue;case"integer-width":if(o.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");o.options[0].replace(Vj,function(l,c,u,p,f,m){if(c)t.minimumIntegerDigits=u.length;else{if(p&&f)throw new Error("We currently do not support maximum integer digits");if(m)throw new Error("We currently do not support exact integer digits")}return""});continue}if(ak.test(o.stem)){t.minimumIntegerDigits=o.stem.length;continue}if(aw.test(o.stem)){if(o.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");o.stem.replace(aw,function(l,c,u,p,f,m){return u==="*"?t.minimumFractionDigits=c.length:p&&p[0]==="#"?t.maximumFractionDigits=p.length:f&&m?(t.minimumFractionDigits=f.length,t.maximumFractionDigits=f.length+m.length):(t.minimumFractionDigits=c.length,t.maximumFractionDigits=c.length),""});var i=o.options[0];i==="w"?t=me(me({},t),{trailingZeroDisplay:"stripIfInteger"}):i&&(t=me(me({},t),sw(i)));continue}if(ik.test(o.stem)){t=me(me({},t),sw(o.stem));continue}var a=sk(o.stem);a&&(t=me(me({},t),a));var s=Wj(o.stem);s&&(t=me(me({},t),s))}return t}var ad={AX:["H"],BQ:["H"],CP:["H"],CZ:["H"],DK:["H"],FI:["H"],ID:["H"],IS:["H"],ML:["H"],NE:["H"],RU:["H"],SE:["H"],SJ:["H"],SK:["H"],AS:["h","H"],BT:["h","H"],DJ:["h","H"],ER:["h","H"],GH:["h","H"],IN:["h","H"],LS:["h","H"],PG:["h","H"],PW:["h","H"],SO:["h","H"],TO:["h","H"],VU:["h","H"],WS:["h","H"],"001":["H","h"],AL:["h","H","hB"],TD:["h","H","hB"],"ca-ES":["H","h","hB"],CF:["H","h","hB"],CM:["H","h","hB"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],LU:["H","h","hB"],NP:["H","h","hB"],PF:["H","h","hB"],SC:["H","h","hB"],SM:["H","h","hB"],SN:["H","h","hB"],TF:["H","h","hB"],VA:["H","h","hB"],CY:["h","H","hb","hB"],GR:["h","H","hb","hB"],CO:["h","H","hB","hb"],DO:["h","H","hB","hb"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],NA:["h","H","hB","hb"],PA:["h","H","hB","hb"],PR:["h","H","hB","hb"],VE:["h","H","hB","hb"],AC:["H","h","hb","hB"],AI:["H","h","hb","hB"],BW:["H","h","hb","hB"],BZ:["H","h","hb","hB"],CC:["H","h","hb","hB"],CK:["H","h","hb","hB"],CX:["H","h","hb","hB"],DG:["H","h","hb","hB"],FK:["H","h","hb","hB"],GB:["H","h","hb","hB"],GG:["H","h","hb","hB"],GI:["H","h","hb","hB"],IE:["H","h","hb","hB"],IM:["H","h","hb","hB"],IO:["H","h","hb","hB"],JE:["H","h","hb","hB"],LT:["H","h","hb","hB"],MK:["H","h","hb","hB"],MN:["H","h","hb","hB"],MS:["H","h","hb","hB"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],PN:["H","h","hb","hB"],SH:["H","h","hb","hB"],SX:["H","h","hb","hB"],TA:["H","h","hb","hB"],ZA:["H","h","hb","hB"],"af-ZA":["H","h","hB","hb"],AR:["H","h","hB","hb"],CL:["H","h","hB","hb"],CR:["H","h","hB","hb"],CU:["H","h","hB","hb"],EA:["H","h","hB","hb"],"es-BO":["H","h","hB","hb"],"es-BR":["H","h","hB","hb"],"es-EC":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"es-PE":["H","h","hB","hb"],GT:["H","h","hB","hb"],HN:["H","h","hB","hb"],IC:["H","h","hB","hb"],KG:["H","h","hB","hb"],KM:["H","h","hB","hb"],LK:["H","h","hB","hb"],MA:["H","h","hB","hb"],MX:["H","h","hB","hb"],NI:["H","h","hB","hb"],PY:["H","h","hB","hb"],SV:["H","h","hB","hb"],UY:["H","h","hB","hb"],JP:["H","h","K"],AD:["H","hB"],AM:["H","hB"],AO:["H","hB"],AT:["H","hB"],AW:["H","hB"],BE:["H","hB"],BF:["H","hB"],BJ:["H","hB"],BL:["H","hB"],BR:["H","hB"],CG:["H","hB"],CI:["H","hB"],CV:["H","hB"],DE:["H","hB"],EE:["H","hB"],FR:["H","hB"],GA:["H","hB"],GF:["H","hB"],GN:["H","hB"],GP:["H","hB"],GW:["H","hB"],HR:["H","hB"],IL:["H","hB"],IT:["H","hB"],KZ:["H","hB"],MC:["H","hB"],MD:["H","hB"],MF:["H","hB"],MQ:["H","hB"],MZ:["H","hB"],NC:["H","hB"],NL:["H","hB"],PM:["H","hB"],PT:["H","hB"],RE:["H","hB"],RO:["H","hB"],SI:["H","hB"],SR:["H","hB"],ST:["H","hB"],TG:["H","hB"],TR:["H","hB"],WF:["H","hB"],YT:["H","hB"],BD:["h","hB","H"],PK:["h","hB","H"],AZ:["H","hB","h"],BA:["H","hB","h"],BG:["H","hB","h"],CH:["H","hB","h"],GE:["H","hB","h"],LI:["H","hB","h"],ME:["H","hB","h"],RS:["H","hB","h"],UA:["H","hB","h"],UZ:["H","hB","h"],XK:["H","hB","h"],AG:["h","hb","H","hB"],AU:["h","hb","H","hB"],BB:["h","hb","H","hB"],BM:["h","hb","H","hB"],BS:["h","hb","H","hB"],CA:["h","hb","H","hB"],DM:["h","hb","H","hB"],"en-001":["h","hb","H","hB"],FJ:["h","hb","H","hB"],FM:["h","hb","H","hB"],GD:["h","hb","H","hB"],GM:["h","hb","H","hB"],GU:["h","hb","H","hB"],GY:["h","hb","H","hB"],JM:["h","hb","H","hB"],KI:["h","hb","H","hB"],KN:["h","hb","H","hB"],KY:["h","hb","H","hB"],LC:["h","hb","H","hB"],LR:["h","hb","H","hB"],MH:["h","hb","H","hB"],MP:["h","hb","H","hB"],MW:["h","hb","H","hB"],NZ:["h","hb","H","hB"],SB:["h","hb","H","hB"],SG:["h","hb","H","hB"],SL:["h","hb","H","hB"],SS:["h","hb","H","hB"],SZ:["h","hb","H","hB"],TC:["h","hb","H","hB"],TT:["h","hb","H","hB"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],VC:["h","hb","H","hB"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],ZM:["h","hb","H","hB"],BO:["H","hB","h","hb"],EC:["H","hB","h","hb"],ES:["H","hB","h","hb"],GQ:["H","hB","h","hb"],PE:["H","hB","h","hb"],AE:["h","hB","hb","H"],"ar-001":["h","hB","hb","H"],BH:["h","hB","hb","H"],DZ:["h","hB","hb","H"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],HK:["h","hB","hb","H"],IQ:["h","hB","hb","H"],JO:["h","hB","hb","H"],KW:["h","hB","hb","H"],LB:["h","hB","hb","H"],LY:["h","hB","hb","H"],MO:["h","hB","hb","H"],MR:["h","hB","hb","H"],OM:["h","hB","hb","H"],PH:["h","hB","hb","H"],PS:["h","hB","hb","H"],QA:["h","hB","hb","H"],SA:["h","hB","hb","H"],SD:["h","hB","hb","H"],SY:["h","hB","hb","H"],TN:["h","hB","hb","H"],YE:["h","hB","hb","H"],AF:["H","hb","hB","h"],LA:["H","hb","hB","h"],CN:["H","hB","hb","h"],LV:["H","hB","hb","h"],TL:["H","hB","hb","h"],"zu-ZA":["H","hB","hb","h"],CD:["hB","H"],IR:["hB","H"],"hi-IN":["hB","h","H"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"te-IN":["hB","h","H"],KH:["hB","h","H","hb"],"ta-IN":["hB","h","hb","H"],BN:["hb","hB","h","H"],MY:["hb","hB","h","H"],ET:["hB","hb","h","H"],"gu-IN":["hB","hb","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],TW:["hB","hb","h","H"],KE:["hB","hb","H","h"],MM:["hB","hb","H","h"],TZ:["hB","hb","H","h"],UG:["hB","hb","H","h"]};function qj(e,t){for(var r="",n=0;n<e.length;n++){var o=e.charAt(n);if(o==="j"){for(var i=0;n+1<e.length&&e.charAt(n+1)===o;)i++,n++;var a=1+(i&1),s=i<2?1:3+(i>>1),l="a",c=Qj(t);for((c=="H"||c=="k")&&(s=0);s-- >0;)r+=l;for(;a-- >0;)r=c+r}else o==="J"?r+="H":r+=o}return r}function Qj(e){var t=e.hourCycle;if(t===void 0&&e.hourCycles&&e.hourCycles.length&&(t=e.hourCycles[0]),t)switch(t){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var r=e.language,n;r!=="root"&&(n=e.maximize().region);var o=ad[n||""]||ad[r||""]||ad["".concat(r,"-001")]||ad["001"];return o[0]}var Nm,Yj=new RegExp("^".concat(ok.source,"*")),Kj=new RegExp("".concat(ok.source,"*$"));function Be(e,t){return{start:e,end:t}}var Zj=!!String.prototype.startsWith,Xj=!!String.fromCodePoint,Jj=!!Object.fromEntries,e8=!!String.prototype.codePointAt,t8=!!String.prototype.trimStart,r8=!!String.prototype.trimEnd,n8=!!Number.isSafeInteger,o8=n8?Number.isSafeInteger:function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},Y0=!0;try{var i8=ck("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");Y0=((Nm=i8.exec("a"))===null||Nm===void 0?void 0:Nm[0])==="a"}catch{Y0=!1}var cw=Zj?function(t,r,n){return t.startsWith(r,n)}:function(t,r,n){return t.slice(n,n+r.length)===r},K0=Xj?String.fromCodePoint:function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];for(var n="",o=t.length,i=0,a;o>i;){if(a=t[i++],a>1114111)throw RangeError(a+" is not a valid code point");n+=a<65536?String.fromCharCode(a):String.fromCharCode(((a-=65536)>>10)+55296,a%1024+56320)}return n},uw=Jj?Object.fromEntries:function(t){for(var r={},n=0,o=t;n<o.length;n++){var i=o[n],a=i[0],s=i[1];r[a]=s}return r},lk=e8?function(t,r){return t.codePointAt(r)}:function(t,r){var n=t.length;if(!(r<0||r>=n)){var o=t.charCodeAt(r),i;return o<55296||o>56319||r+1===n||(i=t.charCodeAt(r+1))<56320||i>57343?o:(o-55296<<10)+(i-56320)+65536}},a8=t8?function(t){return t.trimStart()}:function(t){return t.replace(Yj,"")},s8=r8?function(t){return t.trimEnd()}:function(t){return t.replace(Kj,"")};function ck(e,t){return new RegExp(e,t)}var Z0;if(Y0){var dw=ck("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");Z0=function(t,r){var n;dw.lastIndex=r;var o=dw.exec(t);return(n=o[1])!==null&&n!==void 0?n:""}}else Z0=function(t,r){for(var n=[];;){var o=lk(t,r);if(o===void 0||uk(o)||d8(o))break;n.push(o),r+=o>=65536?2:1}return K0.apply(void 0,n)};var l8=function(){function e(t,r){r===void 0&&(r={}),this.message=t,this.position={offset:0,line:1,column:1},this.ignoreTag=!!r.ignoreTag,this.locale=r.locale,this.requiresOtherClause=!!r.requiresOtherClause,this.shouldParseSkeletons=!!r.shouldParseSkeletons}return e.prototype.parse=function(){if(this.offset()!==0)throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(t,r,n){for(var o=[];!this.isEOF();){var i=this.char();if(i===123){var a=this.parseArgument(t,n);if(a.err)return a;o.push(a.val)}else{if(i===125&&t>0)break;if(i===35&&(r==="plural"||r==="selectordinal")){var s=this.clonePosition();this.bump(),o.push({type:ht.pound,location:Be(s,this.clonePosition())})}else if(i===60&&!this.ignoreTag&&this.peek()===47){if(n)break;return this.error(je.UNMATCHED_CLOSING_TAG,Be(this.clonePosition(),this.clonePosition()))}else if(i===60&&!this.ignoreTag&&X0(this.peek()||0)){var a=this.parseTag(t,r);if(a.err)return a;o.push(a.val)}else{var a=this.parseLiteral(t,r);if(a.err)return a;o.push(a.val)}}}return{val:o,err:null}},e.prototype.parseTag=function(t,r){var n=this.clonePosition();this.bump();var o=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:ht.literal,value:"<".concat(o,"/>"),location:Be(n,this.clonePosition())},err:null};if(this.bumpIf(">")){var i=this.parseMessage(t+1,r,!0);if(i.err)return i;var a=i.val,s=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!X0(this.char()))return this.error(je.INVALID_TAG,Be(s,this.clonePosition()));var l=this.clonePosition(),c=this.parseTagName();return o!==c?this.error(je.UNMATCHED_CLOSING_TAG,Be(l,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:ht.tag,value:o,children:a,location:Be(n,this.clonePosition())},err:null}:this.error(je.INVALID_TAG,Be(s,this.clonePosition())))}else return this.error(je.UNCLOSED_TAG,Be(n,this.clonePosition()))}else return this.error(je.INVALID_TAG,Be(n,this.clonePosition()))},e.prototype.parseTagName=function(){var t=this.offset();for(this.bump();!this.isEOF()&&u8(this.char());)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(t,r){for(var n=this.clonePosition(),o="";;){var i=this.tryParseQuote(r);if(i){o+=i;continue}var a=this.tryParseUnquoted(t,r);if(a){o+=a;continue}var s=this.tryParseLeftAngleBracket();if(s){o+=s;continue}break}var l=Be(n,this.clonePosition());return{val:{type:ht.literal,value:o,location:l},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!c8(this.peek()||0))?(this.bump(),"<"):null},e.prototype.tryParseQuote=function(t){if(this.isEOF()||this.char()!==39)return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if(t==="plural"||t==="selectordinal")break;return null;default:return null}this.bump();var r=[this.char()];for(this.bump();!this.isEOF();){var n=this.char();if(n===39)if(this.peek()===39)r.push(39),this.bump();else{this.bump();break}else r.push(n);this.bump()}return K0.apply(void 0,r)},e.prototype.tryParseUnquoted=function(t,r){if(this.isEOF())return null;var n=this.char();return n===60||n===123||n===35&&(r==="plural"||r==="selectordinal")||n===125&&t>0?null:(this.bump(),K0(n))},e.prototype.parseArgument=function(t,r){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(je.EXPECT_ARGUMENT_CLOSING_BRACE,Be(n,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(je.EMPTY_ARGUMENT,Be(n,this.clonePosition()));var o=this.parseIdentifierIfPossible().value;if(!o)return this.error(je.MALFORMED_ARGUMENT,Be(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(je.EXPECT_ARGUMENT_CLOSING_BRACE,Be(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:ht.argument,value:o,location:Be(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(je.EXPECT_ARGUMENT_CLOSING_BRACE,Be(n,this.clonePosition())):this.parseArgumentOptions(t,r,o,n);default:return this.error(je.MALFORMED_ARGUMENT,Be(n,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),r=this.offset(),n=Z0(this.message,r),o=r+n.length;this.bumpTo(o);var i=this.clonePosition(),a=Be(t,i);return{value:n,location:a}},e.prototype.parseArgumentOptions=function(t,r,n,o){var i,a=this.clonePosition(),s=this.parseIdentifierIfPossible().value,l=this.clonePosition();switch(s){case"":return this.error(je.EXPECT_ARGUMENT_TYPE,Be(a,l));case"number":case"date":case"time":{this.bumpSpace();var c=null;if(this.bumpIf(",")){this.bumpSpace();var u=this.clonePosition(),p=this.parseSimpleArgStyleIfPossible();if(p.err)return p;var f=s8(p.val);if(f.length===0)return this.error(je.EXPECT_ARGUMENT_STYLE,Be(this.clonePosition(),this.clonePosition()));var m=Be(u,this.clonePosition());c={style:f,styleLocation:m}}var v=this.tryParseArgumentClose(o);if(v.err)return v;var h=Be(o,this.clonePosition());if(c&&cw(c==null?void 0:c.style,"::",0)){var x=a8(c.style.slice(2));if(s==="number"){var p=this.parseNumberSkeletonFromString(x,c.styleLocation);return p.err?p:{val:{type:ht.number,value:n,location:h,style:p.val},err:null}}else{if(x.length===0)return this.error(je.EXPECT_DATE_TIME_SKELETON,h);var y=x;this.locale&&(y=qj(x,this.locale));var f={type:Vs.dateTime,pattern:y,location:c.styleLocation,parsedOptions:this.shouldParseSkeletons?Bj(y):{}},b=s==="date"?ht.date:ht.time;return{val:{type:b,value:n,location:h,style:f},err:null}}}return{val:{type:s==="number"?ht.number:s==="date"?ht.date:ht.time,value:n,location:h,style:(i=c==null?void 0:c.style)!==null&&i!==void 0?i:null},err:null}}case"plural":case"selectordinal":case"select":{var w=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(je.EXPECT_SELECT_ARGUMENT_OPTIONS,Be(w,me({},w)));this.bumpSpace();var S=this.parseIdentifierIfPossible(),T=0;if(s!=="select"&&S.value==="offset"){if(!this.bumpIf(":"))return this.error(je.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,Be(this.clonePosition(),this.clonePosition()));this.bumpSpace();var p=this.tryParseDecimalInteger(je.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,je.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(p.err)return p;this.bumpSpace(),S=this.parseIdentifierIfPossible(),T=p.val}var R=this.tryParsePluralOrSelectOptions(t,s,r,S);if(R.err)return R;var v=this.tryParseArgumentClose(o);if(v.err)return v;var E=Be(o,this.clonePosition());return s==="select"?{val:{type:ht.select,value:n,options:uw(R.val),location:E},err:null}:{val:{type:ht.plural,value:n,options:uw(R.val),offset:T,pluralType:s==="plural"?"cardinal":"ordinal",location:E},err:null}}default:return this.error(je.INVALID_ARGUMENT_TYPE,Be(a,l))}},e.prototype.tryParseArgumentClose=function(t){return this.isEOF()||this.char()!==125?this.error(je.EXPECT_ARGUMENT_CLOSING_BRACE,Be(t,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var t=0,r=this.clonePosition();!this.isEOF();){var n=this.char();switch(n){case 39:{this.bump();var o=this.clonePosition();if(!this.bumpUntil("'"))return this.error(je.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,Be(o,this.clonePosition()));this.bump();break}case 123:{t+=1,this.bump();break}case 125:{if(t>0)t-=1;else return{val:this.message.slice(r.offset,this.offset()),err:null};break}default:this.bump();break}}return{val:this.message.slice(r.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(t,r){var n=[];try{n=Uj(t)}catch{return this.error(je.INVALID_NUMBER_SKELETON,r)}return{val:{type:Vs.number,tokens:n,location:r,parsedOptions:this.shouldParseSkeletons?Gj(n):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(t,r,n,o){for(var i,a=!1,s=[],l=new Set,c=o.value,u=o.location;;){if(c.length===0){var p=this.clonePosition();if(r!=="select"&&this.bumpIf("=")){var f=this.tryParseDecimalInteger(je.EXPECT_PLURAL_ARGUMENT_SELECTOR,je.INVALID_PLURAL_ARGUMENT_SELECTOR);if(f.err)return f;u=Be(p,this.clonePosition()),c=this.message.slice(p.offset,this.offset())}else break}if(l.has(c))return this.error(r==="select"?je.DUPLICATE_SELECT_ARGUMENT_SELECTOR:je.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,u);c==="other"&&(a=!0),this.bumpSpace();var m=this.clonePosition();if(!this.bumpIf("{"))return this.error(r==="select"?je.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:je.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,Be(this.clonePosition(),this.clonePosition()));var v=this.parseMessage(t+1,r,n);if(v.err)return v;var h=this.tryParseArgumentClose(m);if(h.err)return h;s.push([c,{value:v.val,location:Be(m,this.clonePosition())}]),l.add(c),this.bumpSpace(),i=this.parseIdentifierIfPossible(),c=i.value,u=i.location}return s.length===0?this.error(r==="select"?je.EXPECT_SELECT_ARGUMENT_SELECTOR:je.EXPECT_PLURAL_ARGUMENT_SELECTOR,Be(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!a?this.error(je.MISSING_OTHER_CLAUSE,Be(this.clonePosition(),this.clonePosition())):{val:s,err:null}},e.prototype.tryParseDecimalInteger=function(t,r){var n=1,o=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var i=!1,a=0;!this.isEOF();){var s=this.char();if(s>=48&&s<=57)i=!0,a=a*10+(s-48),this.bump();else break}var l=Be(o,this.clonePosition());return i?(a*=n,o8(a)?{val:a,err:null}:this.error(r,l)):this.error(t,l)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var t=this.position.offset;if(t>=this.message.length)throw Error("out of bound");var r=lk(this.message,t);if(r===void 0)throw Error("Offset ".concat(t," is at invalid UTF-16 code unit boundary"));return r},e.prototype.error=function(t,r){return{val:null,err:{kind:t,message:this.message,location:r}}},e.prototype.bump=function(){if(!this.isEOF()){var t=this.char();t===10?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=t<65536?1:2)}},e.prototype.bumpIf=function(t){if(cw(this.message,t,this.offset())){for(var r=0;r<t.length;r++)this.bump();return!0}return!1},e.prototype.bumpUntil=function(t){var r=this.offset(),n=this.message.indexOf(t,r);return n>=0?(this.bumpTo(n),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(t){if(this.offset()>t)throw Error("targetOffset ".concat(t," must be greater than or equal to the current offset ").concat(this.offset()));for(t=Math.min(t,this.message.length);;){var r=this.offset();if(r===t)break;if(r>t)throw Error("targetOffset ".concat(t," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&uk(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var t=this.char(),r=this.offset(),n=this.message.charCodeAt(r+(t>=65536?2:1));return n??null},e}();function X0(e){return e>=97&&e<=122||e>=65&&e<=90}function c8(e){return X0(e)||e===47}function u8(e){return e===45||e===46||e>=48&&e<=57||e===95||e>=97&&e<=122||e>=65&&e<=90||e==183||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039}function uk(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function d8(e){return e>=33&&e<=35||e===36||e>=37&&e<=39||e===40||e===41||e===42||e===43||e===44||e===45||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||e===91||e===92||e===93||e===94||e===96||e===123||e===124||e===125||e===126||e===161||e>=162&&e<=165||e===166||e===167||e===169||e===171||e===172||e===174||e===176||e===177||e===182||e===187||e===191||e===215||e===247||e>=8208&&e<=8213||e>=8214&&e<=8215||e===8216||e===8217||e===8218||e>=8219&&e<=8220||e===8221||e===8222||e===8223||e>=8224&&e<=8231||e>=8240&&e<=8248||e===8249||e===8250||e>=8251&&e<=8254||e>=8257&&e<=8259||e===8260||e===8261||e===8262||e>=8263&&e<=8273||e===8274||e===8275||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||e===8608||e>=8609&&e<=8610||e===8611||e>=8612&&e<=8613||e===8614||e>=8615&&e<=8621||e===8622||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||e===8658||e===8659||e===8660||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||e===8968||e===8969||e===8970||e===8971||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||e===9001||e===9002||e>=9003&&e<=9083||e===9084||e>=9085&&e<=9114||e>=9115&&e<=9139||e>=9140&&e<=9179||e>=9180&&e<=9185||e>=9186&&e<=9254||e>=9255&&e<=9279||e>=9280&&e<=9290||e>=9291&&e<=9311||e>=9472&&e<=9654||e===9655||e>=9656&&e<=9664||e===9665||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||e===9839||e>=9840&&e<=10087||e===10088||e===10089||e===10090||e===10091||e===10092||e===10093||e===10094||e===10095||e===10096||e===10097||e===10098||e===10099||e===10100||e===10101||e>=10132&&e<=10175||e>=10176&&e<=10180||e===10181||e===10182||e>=10183&&e<=10213||e===10214||e===10215||e===10216||e===10217||e===10218||e===10219||e===10220||e===10221||e===10222||e===10223||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||e===10627||e===10628||e===10629||e===10630||e===10631||e===10632||e===10633||e===10634||e===10635||e===10636||e===10637||e===10638||e===10639||e===10640||e===10641||e===10642||e===10643||e===10644||e===10645||e===10646||e===10647||e===10648||e>=10649&&e<=10711||e===10712||e===10713||e===10714||e===10715||e>=10716&&e<=10747||e===10748||e===10749||e>=10750&&e<=11007||e>=11008&&e<=11055||e>=11056&&e<=11076||e>=11077&&e<=11078||e>=11079&&e<=11084||e>=11085&&e<=11123||e>=11124&&e<=11125||e>=11126&&e<=11157||e===11158||e>=11159&&e<=11263||e>=11776&&e<=11777||e===11778||e===11779||e===11780||e===11781||e>=11782&&e<=11784||e===11785||e===11786||e===11787||e===11788||e===11789||e>=11790&&e<=11798||e===11799||e>=11800&&e<=11801||e===11802||e===11803||e===11804||e===11805||e>=11806&&e<=11807||e===11808||e===11809||e===11810||e===11811||e===11812||e===11813||e===11814||e===11815||e===11816||e===11817||e>=11818&&e<=11822||e===11823||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||e===11840||e===11841||e===11842||e>=11843&&e<=11855||e>=11856&&e<=11857||e===11858||e>=11859&&e<=11903||e>=12289&&e<=12291||e===12296||e===12297||e===12298||e===12299||e===12300||e===12301||e===12302||e===12303||e===12304||e===12305||e>=12306&&e<=12307||e===12308||e===12309||e===12310||e===12311||e===12312||e===12313||e===12314||e===12315||e===12316||e===12317||e>=12318&&e<=12319||e===12320||e===12336||e===64830||e===64831||e>=65093&&e<=65094}function J0(e){e.forEach(function(t){if(delete t.location,ek(t)||tk(t))for(var r in t.options)delete t.options[r].location,J0(t.options[r].value);else ZA(t)&&nk(t.style)||(XA(t)||JA(t))&&Q0(t.style)?delete t.style.location:rk(t)&&J0(t.children)})}function p8(e,t){t===void 0&&(t={}),t=me({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var r=new l8(e,t).parse();if(r.err){var n=SyntaxError(je[r.err.kind]);throw n.location=r.err.location,n.originalMessage=r.err.message,n}return t!=null&&t.captureLocation||J0(r.val),r.val}function co(e,t){var r=t&&t.cache?t.cache:y8,n=t&&t.serializer?t.serializer:v8,o=t&&t.strategy?t.strategy:h8;return o(e,{cache:r,serializer:n})}function f8(e){return e==null||typeof e=="number"||typeof e=="boolean"}function dk(e,t,r,n){var o=f8(n)?n:r(n),i=t.get(o);return typeof i>"u"&&(i=e.call(this,n),t.set(o,i)),i}function pk(e,t,r){var n=Array.prototype.slice.call(arguments,3),o=r(n),i=t.get(o);return typeof i>"u"&&(i=e.apply(this,n),t.set(o,i)),i}function f1(e,t,r,n,o){return r.bind(t,e,n,o)}function h8(e,t){var r=e.length===1?dk:pk;return f1(e,this,r,t.cache.create(),t.serializer)}function m8(e,t){return f1(e,this,pk,t.cache.create(),t.serializer)}function g8(e,t){return f1(e,this,dk,t.cache.create(),t.serializer)}var v8=function(){return JSON.stringify(arguments)};function h1(){this.cache=Object.create(null)}h1.prototype.get=function(e){return this.cache[e]};h1.prototype.set=function(e,t){this.cache[e]=t};var y8={create:function(){return new h1}},uo={variadic:m8,monadic:g8},Io;(function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"})(Io||(Io={}));var Fi=function(e){jn(t,e);function t(r,n,o){var i=e.call(this,r)||this;return i.code=n,i.originalMessage=o,i}return t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),pw=function(e){jn(t,e);function t(r,n,o,i){return e.call(this,'Invalid values for "'.concat(r,'": "').concat(n,'". Options are "').concat(Object.keys(o).join('", "'),'"'),Io.INVALID_VALUE,i)||this}return t}(Fi),b8=function(e){jn(t,e);function t(r,n,o){return e.call(this,'Value for "'.concat(r,'" must be of type ').concat(n),Io.INVALID_VALUE,o)||this}return t}(Fi),x8=function(e){jn(t,e);function t(r,n){return e.call(this,'The intl string context variable "'.concat(r,'" was not provided to the string "').concat(n,'"'),Io.MISSING_VALUE,n)||this}return t}(Fi),Cr;(function(e){e[e.literal=0]="literal",e[e.object=1]="object"})(Cr||(Cr={}));function w8(e){return e.length<2?e:e.reduce(function(t,r){var n=t[t.length-1];return!n||n.type!==Cr.literal||r.type!==Cr.literal?t.push(r):n.value+=r.value,t},[])}function fk(e){return typeof e=="function"}function Gd(e,t,r,n,o,i,a){if(e.length===1&&iw(e[0]))return[{type:Cr.literal,value:e[0].value}];for(var s=[],l=0,c=e;l<c.length;l++){var u=c[l];if(iw(u)){s.push({type:Cr.literal,value:u.value});continue}if(jj(u)){typeof i=="number"&&s.push({type:Cr.literal,value:r.getNumberFormat(t).format(i)});continue}var p=u.value;if(!(o&&p in o))throw new x8(p,a);var f=o[p];if(Dj(u)){(!f||typeof f=="string"||typeof f=="number")&&(f=typeof f=="string"||typeof f=="number"?String(f):""),s.push({type:typeof f=="string"?Cr.literal:Cr.object,value:f});continue}if(XA(u)){var m=typeof u.style=="string"?n.date[u.style]:Q0(u.style)?u.style.parsedOptions:void 0;s.push({type:Cr.literal,value:r.getDateTimeFormat(t,m).format(f)});continue}if(JA(u)){var m=typeof u.style=="string"?n.time[u.style]:Q0(u.style)?u.style.parsedOptions:n.time.medium;s.push({type:Cr.literal,value:r.getDateTimeFormat(t,m).format(f)});continue}if(ZA(u)){var m=typeof u.style=="string"?n.number[u.style]:nk(u.style)?u.style.parsedOptions:void 0;m&&m.scale&&(f=f*(m.scale||1)),s.push({type:Cr.literal,value:r.getNumberFormat(t,m).format(f)});continue}if(rk(u)){var v=u.children,h=u.value,x=o[h];if(!fk(x))throw new b8(h,"function",a);var y=Gd(v,t,r,n,o,i),b=x(y.map(function(T){return T.value}));Array.isArray(b)||(b=[b]),s.push.apply(s,b.map(function(T){return{type:typeof T=="string"?Cr.literal:Cr.object,value:T}}))}if(ek(u)){var w=u.options[f]||u.options.other;if(!w)throw new pw(u.value,f,Object.keys(u.options),a);s.push.apply(s,Gd(w.value,t,r,n,o));continue}if(tk(u)){var w=u.options["=".concat(f)];if(!w){if(!Intl.PluralRules)throw new Fi(`Intl.PluralRules is not available in this environment.
Try polyfilling it using "@formatjs/intl-pluralrules"
`,Io.MISSING_INTL_API,a);var S=r.getPluralRules(t,{type:u.pluralType}).select(f-(u.offset||0));w=u.options[S]||u.options.other}if(!w)throw new pw(u.value,f,Object.keys(u.options),a);s.push.apply(s,Gd(w.value,t,r,n,o,f-(u.offset||0)));continue}}return w8(s)}function S8(e,t){return t?me(me(me({},e||{}),t||{}),Object.keys(e).reduce(function(r,n){return r[n]=me(me({},e[n]),t[n]||{}),r},{})):e}function E8(e,t){return t?Object.keys(e).reduce(function(r,n){return r[n]=S8(e[n],t[n]),r},me({},e)):e}function $m(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,r){e[t]=r}}}}}function C8(e){return e===void 0&&(e={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:co(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.NumberFormat).bind.apply(t,yo([void 0],r,!1)))},{cache:$m(e.number),strategy:uo.variadic}),getDateTimeFormat:co(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.DateTimeFormat).bind.apply(t,yo([void 0],r,!1)))},{cache:$m(e.dateTime),strategy:uo.variadic}),getPluralRules:co(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.PluralRules).bind.apply(t,yo([void 0],r,!1)))},{cache:$m(e.pluralRules),strategy:uo.variadic})}}var hk=function(){function e(t,r,n,o){var i=this;if(r===void 0&&(r=e.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(a){var s=i.formatToParts(a);if(s.length===1)return s[0].value;var l=s.reduce(function(c,u){return!c.length||u.type!==Cr.literal||typeof c[c.length-1]!="string"?c.push(u.value):c[c.length-1]+=u.value,c},[]);return l.length<=1?l[0]||"":l},this.formatToParts=function(a){return Gd(i.ast,i.locales,i.formatters,i.formats,a,void 0,i.message)},this.resolvedOptions=function(){return{locale:i.resolvedLocale.toString()}},this.getAst=function(){return i.ast},this.locales=r,this.resolvedLocale=e.resolveLocale(r),typeof t=="string"){if(this.message=t,!e.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=e.__parse(t,{ignoreTag:o==null?void 0:o.ignoreTag,locale:this.resolvedLocale})}else this.ast=t;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=E8(e.formats,n),this.formatters=o&&o.formatters||C8(this.formatterCache)}return Object.defineProperty(e,"defaultLocale",{get:function(){return e.memoizedDefaultLocale||(e.memoizedDefaultLocale=new Intl.NumberFormat().resolvedOptions().locale),e.memoizedDefaultLocale},enumerable:!1,configurable:!0}),e.memoizedDefaultLocale=null,e.resolveLocale=function(t){var r=Intl.NumberFormat.supportedLocalesOf(t);return r.length>0?new Intl.Locale(r[0]):new Intl.Locale(typeof t=="string"?t:t[0])},e.__parse=p8,e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},e}(),xr;(function(e){e.FORMAT_ERROR="FORMAT_ERROR",e.UNSUPPORTED_FORMATTER="UNSUPPORTED_FORMATTER",e.INVALID_CONFIG="INVALID_CONFIG",e.MISSING_DATA="MISSING_DATA",e.MISSING_TRANSLATION="MISSING_TRANSLATION"})(xr||(xr={}));var qr=function(e){jn(t,e);function t(r,n,o){var i=this,a=o?o instanceof Error?o:new Error(String(o)):void 0;return i=e.call(this,"[@formatjs/intl Error ".concat(r,"] ").concat(n,` 
`).concat(a?`
`.concat(a.message,`
`).concat(a.stack):""))||this,i.code=r,typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(i,t),i}return t}(Error),T8=function(e){jn(t,e);function t(r,n){return e.call(this,xr.UNSUPPORTED_FORMATTER,r,n)||this}return t}(qr),R8=function(e){jn(t,e);function t(r,n){return e.call(this,xr.INVALID_CONFIG,r,n)||this}return t}(qr),fw=function(e){jn(t,e);function t(r,n){return e.call(this,xr.MISSING_DATA,r,n)||this}return t}(qr),m1=function(e){jn(t,e);function t(r,n,o){return e.call(this,xr.FORMAT_ERROR,"".concat(r,` 
Locale: `).concat(n,`
`),o)||this}return t}(qr),Dm=function(e){jn(t,e);function t(r,n,o,i){var a=e.call(this,"".concat(r,` 
MessageID: `).concat(o==null?void 0:o.id,`
Default Message: `).concat(o==null?void 0:o.defaultMessage,`
Description: `).concat(o==null?void 0:o.description,` 
`),n,i)||this;return a.descriptor=o,a}return t}(m1),_8=function(e){jn(t,e);function t(r,n){var o=e.call(this,xr.MISSING_TRANSLATION,'Missing message: "'.concat(r.id,'" for locale "').concat(n,'", using ').concat(r.defaultMessage?"default message":"id"," as fallback."))||this;return o.descriptor=r,o}return t}(qr);function Sa(e,t,r){return r===void 0&&(r={}),t.reduce(function(n,o){return o in e?n[o]=e[o]:o in r&&(n[o]=r[o]),n},{})}var A8=function(e){},k8=function(e){},mk={formats:{},messages:{},timeZone:void 0,defaultLocale:"en",defaultFormats:{},fallbackOnEmptyString:!0,onError:A8,onWarn:k8};function gk(){return{dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}}}function Vi(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,r){e[t]=r}}}}}function I8(e){e===void 0&&(e=gk());var t=Intl.RelativeTimeFormat,r=Intl.ListFormat,n=Intl.DisplayNames,o=co(function(){for(var s,l=[],c=0;c<arguments.length;c++)l[c]=arguments[c];return new((s=Intl.DateTimeFormat).bind.apply(s,yo([void 0],l,!1)))},{cache:Vi(e.dateTime),strategy:uo.variadic}),i=co(function(){for(var s,l=[],c=0;c<arguments.length;c++)l[c]=arguments[c];return new((s=Intl.NumberFormat).bind.apply(s,yo([void 0],l,!1)))},{cache:Vi(e.number),strategy:uo.variadic}),a=co(function(){for(var s,l=[],c=0;c<arguments.length;c++)l[c]=arguments[c];return new((s=Intl.PluralRules).bind.apply(s,yo([void 0],l,!1)))},{cache:Vi(e.pluralRules),strategy:uo.variadic});return{getDateTimeFormat:o,getNumberFormat:i,getMessageFormat:co(function(s,l,c,u){return new hk(s,l,c,me({formatters:{getNumberFormat:i,getDateTimeFormat:o,getPluralRules:a}},u||{}))},{cache:Vi(e.message),strategy:uo.variadic}),getRelativeTimeFormat:co(function(){for(var s=[],l=0;l<arguments.length;l++)s[l]=arguments[l];return new(t.bind.apply(t,yo([void 0],s,!1)))},{cache:Vi(e.relativeTime),strategy:uo.variadic}),getPluralRules:a,getListFormat:co(function(){for(var s=[],l=0;l<arguments.length;l++)s[l]=arguments[l];return new(r.bind.apply(r,yo([void 0],s,!1)))},{cache:Vi(e.list),strategy:uo.variadic}),getDisplayNames:co(function(){for(var s=[],l=0;l<arguments.length;l++)s[l]=arguments[l];return new(n.bind.apply(n,yo([void 0],s,!1)))},{cache:Vi(e.displayNames),strategy:uo.variadic})}}function g1(e,t,r,n){var o=e&&e[t],i;if(o&&(i=o[r]),i)return i;n(new T8("No ".concat(t," format named: ").concat(r)))}function sd(e,t){return Object.keys(e).reduce(function(r,n){return r[n]=me({timeZone:t},e[n]),r},{})}function hw(e,t){var r=Object.keys(me(me({},e),t));return r.reduce(function(n,o){return n[o]=me(me({},e[o]||{}),t[o]||{}),n},{})}function mw(e,t){if(!t)return e;var r=hk.formats;return me(me(me({},r),e),{date:hw(sd(r.date,t),sd(e.date||{},t)),time:hw(sd(r.time,t),sd(e.time||{},t))})}function ev(e,t,r,n,o){var i=e.locale,a=e.formats,s=e.messages,l=e.defaultLocale,c=e.defaultFormats,u=e.fallbackOnEmptyString,p=e.onError,f=e.timeZone,m=e.defaultRichTextElements;r===void 0&&(r={id:""});var v=r.id,h=r.defaultMessage;KA(!!v,"[@formatjs/intl] An `id` must be provided to format a message. You can either:\n1. Configure your build toolchain with [babel-plugin-formatjs](https://formatjs.io/docs/tooling/babel-plugin)\nor [@formatjs/ts-transformer](https://formatjs.io/docs/tooling/ts-transformer) OR\n2. Configure your `eslint` config to include [eslint-plugin-formatjs](https://formatjs.io/docs/tooling/linter#enforce-id)\nto autofix this issue");var x=String(v),y=s&&Object.prototype.hasOwnProperty.call(s,x)&&s[x];if(Array.isArray(y)&&y.length===1&&y[0].type===ht.literal)return y[0].value;if(!n&&y&&typeof y=="string"&&!m)return y.replace(/'\{(.*?)\}'/gi,"{$1}");if(n=me(me({},m),n||{}),a=mw(a,f),c=mw(c,f),!y){if(u===!1&&y==="")return y;if((!h||i&&i.toLowerCase()!==l.toLowerCase())&&p(new _8(r,i)),h)try{var b=t.getMessageFormat(h,l,c,o);return b.format(n)}catch(w){return p(new Dm('Error formatting default message for: "'.concat(x,'", rendering default message verbatim'),i,r,w)),typeof h=="string"?h:x}return x}try{var b=t.getMessageFormat(y,i,a,me({formatters:t},o||{}));return b.format(n)}catch(w){p(new Dm('Error formatting message: "'.concat(x,'", using ').concat(h?"default message":"id"," as fallback."),i,r,w))}if(h)try{var b=t.getMessageFormat(h,l,c,o);return b.format(n)}catch(w){p(new Dm('Error formatting the default message for: "'.concat(x,'", rendering message verbatim'),i,r,w))}return typeof y=="string"?y:typeof h=="string"?h:x}var vk=["localeMatcher","formatMatcher","timeZone","hour12","weekday","era","year","month","day","hour","minute","second","timeZoneName","hourCycle","dateStyle","timeStyle","calendar","numberingSystem"];function oh(e,t,r,n){var o=e.locale,i=e.formats,a=e.onError,s=e.timeZone;n===void 0&&(n={});var l=n.format,c=me(me({},s&&{timeZone:s}),l&&g1(i,t,l,a)),u=Sa(n,vk,c);return t==="time"&&!u.hour&&!u.minute&&!u.second&&!u.timeStyle&&!u.dateStyle&&(u=me(me({},u),{hour:"numeric",minute:"numeric"})),r(o,u)}function M8(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var o=r[0],i=r[1],a=i===void 0?{}:i,s=typeof o=="string"?new Date(o||0):o;try{return oh(e,"date",t,a).format(s)}catch(l){e.onError(new qr(xr.FORMAT_ERROR,"Error formatting date.",l))}return String(s)}function P8(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var o=r[0],i=r[1],a=i===void 0?{}:i,s=typeof o=="string"?new Date(o||0):o;try{return oh(e,"time",t,a).format(s)}catch(l){e.onError(new qr(xr.FORMAT_ERROR,"Error formatting time.",l))}return String(s)}function O8(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var o=r[0],i=r[1],a=r[2],s=a===void 0?{}:a,l=e.timeZone,c=e.locale,u=e.onError,p=Sa(s,vk,l?{timeZone:l}:{});try{return t(c,p).formatRange(o,i)}catch(f){u(new qr(xr.FORMAT_ERROR,"Error formatting date time range.",f))}return String(o)}function L8(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var o=r[0],i=r[1],a=i===void 0?{}:i,s=typeof o=="string"?new Date(o||0):o;try{return oh(e,"date",t,a).formatToParts(s)}catch(l){e.onError(new qr(xr.FORMAT_ERROR,"Error formatting date.",l))}return[]}function N8(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var o=r[0],i=r[1],a=i===void 0?{}:i,s=typeof o=="string"?new Date(o||0):o;try{return oh(e,"time",t,a).formatToParts(s)}catch(l){e.onError(new qr(xr.FORMAT_ERROR,"Error formatting time.",l))}return[]}var $8=["localeMatcher","style","type","fallback"];function D8(e,t,r,n){var o=e.locale,i=e.onError,a=Intl.DisplayNames;a||i(new Fi(`Intl.DisplayNames is not available in this environment.
Try polyfilling it using "@formatjs/intl-displaynames"
`,Io.MISSING_INTL_API));var s=Sa(n,$8);try{return t(o,s).of(r)}catch(l){i(new qr(xr.FORMAT_ERROR,"Error formatting display name.",l))}}var j8=["localeMatcher","type","style"],gw=Date.now();function F8(e){return"".concat(gw,"_").concat(e,"_").concat(gw)}function B8(e,t,r,n){n===void 0&&(n={});var o=yk(e,t,r,n).reduce(function(i,a){var s=a.value;return typeof s!="string"?i.push(s):typeof i[i.length-1]=="string"?i[i.length-1]+=s:i.push(s),i},[]);return o.length===1?o[0]:o}function yk(e,t,r,n){var o=e.locale,i=e.onError;n===void 0&&(n={});var a=Intl.ListFormat;a||i(new Fi(`Intl.ListFormat is not available in this environment.
Try polyfilling it using "@formatjs/intl-listformat"
`,Io.MISSING_INTL_API));var s=Sa(n,j8);try{var l={},c=r.map(function(u,p){if(typeof u=="object"){var f=F8(p);return l[f]=u,f}return String(u)});return t(o,s).formatToParts(c).map(function(u){return u.type==="literal"?u:me(me({},u),{value:l[u.value]||u.value})})}catch(u){i(new qr(xr.FORMAT_ERROR,"Error formatting list.",u))}return r}var H8=["localeMatcher","type"];function U8(e,t,r,n){var o=e.locale,i=e.onError;n===void 0&&(n={}),Intl.PluralRules||i(new Fi(`Intl.PluralRules is not available in this environment.
Try polyfilling it using "@formatjs/intl-pluralrules"
`,Io.MISSING_INTL_API));var a=Sa(n,H8);try{return t(o,a).select(r)}catch(s){i(new m1("Error formatting plural.",o,s))}return"other"}var z8=["numeric","style"];function V8(e,t,r){var n=e.locale,o=e.formats,i=e.onError;r===void 0&&(r={});var a=r.format,s=!!a&&g1(o,"relative",a,i)||{},l=Sa(r,z8,s);return t(n,l)}function W8(e,t,r,n,o){o===void 0&&(o={}),n||(n="second");var i=Intl.RelativeTimeFormat;i||e.onError(new Fi(`Intl.RelativeTimeFormat is not available in this environment.
Try polyfilling it using "@formatjs/intl-relativetimeformat"
`,Io.MISSING_INTL_API));try{return V8(e,t,o).format(r,n)}catch(a){e.onError(new m1("Error formatting relative time.",e.locale,a))}return String(r)}var G8=["localeMatcher","style","currency","currencyDisplay","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","currencyDisplay","currencySign","notation","signDisplay","unit","unitDisplay","numberingSystem"];function bk(e,t,r){var n=e.locale,o=e.formats,i=e.onError;r===void 0&&(r={});var a=r.format,s=a&&g1(o,"number",a,i)||{},l=Sa(r,G8,s);return t(n,l)}function q8(e,t,r,n){n===void 0&&(n={});try{return bk(e,t,n).format(r)}catch(o){e.onError(new qr(xr.FORMAT_ERROR,"Error formatting number.",o))}return String(r)}function Q8(e,t,r,n){n===void 0&&(n={});try{return bk(e,t,n).formatToParts(r)}catch(o){e.onError(new qr(xr.FORMAT_ERROR,"Error formatting number.",o))}return[]}function Y8(e){var t=e?e[Object.keys(e)[0]]:void 0;return typeof t=="string"}function K8(e){e.onWarn&&e.defaultRichTextElements&&Y8(e.messages||{})&&e.onWarn(`[@formatjs/intl] "defaultRichTextElements" was specified but "message" was not pre-compiled. 
Please consider using "@formatjs/cli" to pre-compile your messages for performance.
For more details see https://formatjs.io/docs/getting-started/message-distribution`)}function Z8(e,t){var r=I8(t),n=me(me({},mk),e),o=n.locale,i=n.defaultLocale,a=n.onError;return o?!Intl.NumberFormat.supportedLocalesOf(o).length&&a?a(new fw('Missing locale data for locale: "'.concat(o,'" in Intl.NumberFormat. Using default locale: "').concat(i,'" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details'))):!Intl.DateTimeFormat.supportedLocalesOf(o).length&&a&&a(new fw('Missing locale data for locale: "'.concat(o,'" in Intl.DateTimeFormat. Using default locale: "').concat(i,'" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details'))):(a&&a(new R8('"locale" was not configured, using "'.concat(i,'" as fallback. See https://formatjs.io/docs/react-intl/api#intlshape for more details'))),n.locale=n.defaultLocale||"en"),K8(n),me(me({},n),{formatters:r,formatNumber:q8.bind(null,n,r.getNumberFormat),formatNumberToParts:Q8.bind(null,n,r.getNumberFormat),formatRelativeTime:W8.bind(null,n,r.getRelativeTimeFormat),formatDate:M8.bind(null,n,r.getDateTimeFormat),formatDateToParts:L8.bind(null,n,r.getDateTimeFormat),formatTime:P8.bind(null,n,r.getDateTimeFormat),formatDateTimeRange:O8.bind(null,n,r.getDateTimeFormat),formatTimeToParts:N8.bind(null,n,r.getDateTimeFormat),formatPlural:U8.bind(null,n,r.getPluralRules),formatMessage:ev.bind(null,n,r),$t:ev.bind(null,n,r),formatList:B8.bind(null,n,r.getListFormat),formatListToParts:yk.bind(null,n,r.getListFormat),formatDisplayName:D8.bind(null,n,r.getDisplayNames)})}function xk(e){KA(e,"[React Intl] Could not find required `intl` object. <IntlProvider> needs to exist in the component ancestry.")}var wk=me(me({},mk),{textComponent:g.Fragment});function X8(e){return function(t){return e(g.Children.toArray(t))}}function tv(e,t){if(e===t)return!0;if(!e||!t)return!1;var r=Object.keys(e),n=Object.keys(t),o=r.length;if(n.length!==o)return!1;for(var i=0;i<o;i++){var a=r[i];if(e[a]!==t[a]||!Object.prototype.hasOwnProperty.call(t,a))return!1}return!0}var v1=g.createContext(null);v1.Consumer;var J8=v1.Provider,e9=J8,t9=v1;function de(){var e=g.useContext(t9);return xk(e),e}var rv;(function(e){e.formatDate="FormattedDate",e.formatTime="FormattedTime",e.formatNumber="FormattedNumber",e.formatList="FormattedList",e.formatDisplayName="FormattedDisplayName"})(rv||(rv={}));var nv;(function(e){e.formatDate="FormattedDateParts",e.formatTime="FormattedTimeParts",e.formatNumber="FormattedNumberParts",e.formatList="FormattedListParts"})(nv||(nv={}));function Sk(e){var t=function(r){var n=de(),o=r.value,i=r.children,a=Fc(r,["value","children"]),s=typeof o=="string"?new Date(o||0):o,l=e==="formatDate"?n.formatDateToParts(s,a):n.formatTimeToParts(s,a);return i(l)};return t.displayName=nv[e],t}function Cu(e){var t=function(r){var n=de(),o=r.value,i=r.children,a=Fc(r,["value","children"]),s=n[e](o,a);if(typeof i=="function")return i(s);var l=n.textComponent||g.Fragment;return g.createElement(l,null,s)};return t.displayName=rv[e],t}function jm(e){return{locale:e.locale,timeZone:e.timeZone,fallbackOnEmptyString:e.fallbackOnEmptyString,formats:e.formats,textComponent:e.textComponent,messages:e.messages,defaultLocale:e.defaultLocale,defaultFormats:e.defaultFormats,onError:e.onError,onWarn:e.onWarn,wrapRichTextChunksInFragment:e.wrapRichTextChunksInFragment,defaultRichTextElements:e.defaultRichTextElements}}function Ek(e){return e&&Object.keys(e).reduce(function(t,r){var n=e[r];return t[r]=fk(n)?X8(n):n,t},{})}var r9=function(e,t,r,n){for(var o=[],i=4;i<arguments.length;i++)o[i-4]=arguments[i];var a=Ek(n),s=ev.apply(void 0,yo([e,t,r,a],o,!1));return Array.isArray(s)?g.Children.toArray(s):s},vw=function(e,t){var r=e.defaultRichTextElements,n=Fc(e,["defaultRichTextElements"]),o=Ek(r),i=Z8(me(me(me({},wk),n),{defaultRichTextElements:o}),t);return me(me({},i),{formatMessage:r9.bind(null,{locale:i.locale,timeZone:i.timeZone,fallbackOnEmptyString:i.fallbackOnEmptyString,formats:i.formats,defaultLocale:i.defaultLocale,defaultFormats:i.defaultFormats,messages:i.messages,onError:i.onError,defaultRichTextElements:o},i.formatters)})},n9=function(e){jn(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.cache=gk(),r.state={cache:r.cache,intl:vw(jm(r.props),r.cache),prevConfig:jm(r.props)},r}return t.getDerivedStateFromProps=function(r,n){var o=n.prevConfig,i=n.cache,a=jm(r);return tv(o,a)?null:{intl:vw(a,i),prevConfig:a}},t.prototype.render=function(){return xk(this.state.intl),g.createElement(e9,{value:this.state.intl},this.props.children)},t.displayName="IntlProvider",t.defaultProps=wk,t}(g.PureComponent);function o9(e,t){var r=e.values,n=Fc(e,["values"]),o=t.values,i=Fc(t,["values"]);return tv(o,r)&&tv(n,i)}function Ck(e){var t=de(),r=t.formatMessage,n=t.textComponent,o=n===void 0?g.Fragment:n,i=e.id,a=e.description,s=e.defaultMessage,l=e.values,c=e.children,u=e.tagName,p=u===void 0?o:u,f=e.ignoreTag,m={id:i,description:a,defaultMessage:s},v=r(m,l,{ignoreTag:f});return typeof c=="function"?c(Array.isArray(v)?v:[v]):p?g.createElement(p,null,g.Children.toArray(v)):g.createElement(g.Fragment,null,v)}Ck.displayName="FormattedMessage";var We=g.memo(Ck,o9);We.displayName="MemoizedFormattedMessage";function use(e){return e}Cu("formatDate");Cu("formatTime");Cu("formatNumber");Cu("formatList");Cu("formatDisplayName");Sk("formatDate");Sk("formatTime");const Lp=function(e){return typeof e=="function"},yw=function(e){return e.toString()};var i9="/",qd="||";const oc=function(e){return e},bw=function(e){return e===null};function Fe(e,t,r){t===void 0&&(t=oc),zs(Lp(t)||bw(t),"Expected payloadCreator to be a function, undefined or null");var n=bw(t)||t===oc?oc:function(s){for(var l=arguments.length,c=new Array(l>1?l-1:0),u=1;u<l;u++)c[u-1]=arguments[u];return s instanceof Error?s:t.apply(void 0,[s].concat(c))},o=Lp(r),i=e.toString(),a=function(){var l=n.apply(void 0,arguments),c={type:e};return l instanceof Error&&(c.error=!0),l!==void 0&&(c.payload=l),o&&(c.meta=r.apply(void 0,arguments)),c};return a.toString=function(){return i},a}const y1=function(e){if(typeof e!="object"||e===null)return!1;for(var t=e;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t},a9=function(e){return e==null},ih=function(e){return typeof Map<"u"&&e instanceof Map};function b1(e){if(ih(e))return Array.from(e.keys());if(typeof Reflect<"u"&&typeof Reflect.ownKeys=="function")return Reflect.ownKeys(e);var t=Object.getOwnPropertyNames(e);return typeof Object.getOwnPropertySymbols=="function"&&(t=t.concat(Object.getOwnPropertySymbols(e))),t}function Tk(e,t){return ih(t)?t.get(e):t[e]}const s9=function(e){return function t(r,n,o,i){var a=n===void 0?{}:n,s=a.namespace,l=s===void 0?i9:s,c=a.prefix;o===void 0&&(o={}),i===void 0&&(i="");function u(f){var m;if(!i)return f;var v=f.toString().split(qd),h=i.split(qd);return(m=[]).concat.apply(m,h.map(function(x){return v.map(function(y){return""+x+l+y})})).join(qd)}function p(f){return i||!c||c&&new RegExp("^"+c+l).test(f)?f:""+c+l+f}return b1(r).forEach(function(f){var m=p(u(f)),v=Tk(f,r);e(v)?t(v,{namespace:l,prefix:c},o,m):o[m]=v}),o}},l9=function(e){return e===void 0};function c9(e,t,r){t===void 0&&(t=oc);var n=yw(e).split(qd);zs(!l9(r),"defaultState for reducer handling "+n.join(", ")+" should be defined"),zs(Lp(t)||y1(t),"Expected reducer to be a function or object with next and throw reducers");var o=Lp(t)?[t,t]:[t.next,t.throw].map(function(s){return a9(s)?oc:s}),i=o[0],a=o[1];return function(s,l){s===void 0&&(s=r);var c=l.type;return!c||n.indexOf(yw(c))===-1?s:(l.error===!0?a:i)(s,l)}}const u9=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=typeof t[t.length-1]!="function"&&t.pop(),o=t;if(typeof n>"u")throw new TypeError("The initial state may not be undefined. If you do not want to set a value for this reducer, you can use null instead of undefined.");return function(i,a){for(var s=arguments.length,l=Array(s>2?s-2:0),c=2;c<s;c++)l[c-2]=arguments[c];var u=typeof i>"u",p=typeof a>"u";return u&&p&&n?n:o.reduce(function(f,m){return m.apply(void 0,[f,a].concat(l))},u&&!p&&n?n:i)}};function d9(e){var t=b1(e),r=t.every(function(n){return n==="next"||n==="throw"});return t.length&&t.length<=2&&r}const p9=s9(function(e){return(y1(e)||ih(e))&&!d9(e)});function ah(e,t,r){r===void 0&&(r={}),zs(y1(e)||ih(e),"Expected handlers to be a plain object.");var n=p9(e,r),o=b1(n).map(function(a){return c9(a,Tk(a,n),t)}),i=u9.apply(void 0,o.concat([t]));return function(a,s){return a===void 0&&(a=t),i(a,s)}}const Se={OPEN_ACCOUNT_MODAL:"user/OPEN_ACCOUNT_MODAL",CLOSE_ACCOUNT_MODAL:"user/CLOSE_ACCOUNT_MODAL",FETCH_USER_DATA:"user/FETCH_USER_DATA",FETCH_USER_DATA_SUCCESS:"user/FETCH_USER_DATA_SUCCESS",FETCH_USER_DATA_FAILURE:"user/FETCH_USER_DATA_FAILURE",LOGOUT:"user/LOGOUT",LOGOUT_SUCCESS:"user/LOGOUT_SUCCESS",LOGOUT_FAILURE:"user/LOGOUT_FAILURE",SET_LOCALE:"user/SET_LOCALE",SET_REDIRECT_AFTER_LOGIN:"user/SET_REDIRECT_AFTER_LOGIN",SET_PAYMENT_METHOD:"user/SET_PAYMENT_METHOD",SET_TRANSLATIONS_READY:"user/SET_TRANSLATIONS_READY",SET_LEGAL_TRANSLATIONS_READY:"user/SET_LEGAL_TRANSLATIONS_READY",SET_HAS_API_KEY:"user/SET_HAS_API_KEY",SET_SUBSCRIBE_MODAL_OPEN:"user/SET_SUBSCRIBE_MODAL_OPEN",SET_SHOW_BROWSER_VERSION:"user/SET_SHOW_BROWSER_VERSION",SET_ACTIVITY_FLAG:"user/SET_ACTIVITY_FLAG",TOGGLE_SIDEBAR:"user/TOGGLE_SIDEBAR",SET_PUSH_NOTIFICATIONS_ENABLED:"user/SET_PUSH_NOTIFICATIONS_ENABLED",SET_HOME_CTA_CLICK:"user/SET_HOME_CTA_CLICK",SET_INPUT_EMAIL:"user/SET_INPUT_EMAIL",SET_CURRENCY:"user/SET_CURRENCY",FETCH_CURRENCIES:"user/FETCH_CURRENCIES",FETCH_CURRENCIES_SUCCESS:"user/FETCH_CURRENCIES_SUCCESS",FETCH_CURRENCIES_FAILURE:"user/FETCH_CURRENCIES_FAILURE"},Lt={openAccountModal:Fe(Se.OPEN_ACCOUNT_MODAL),closeAccountModal:Fe(Se.CLOSE_ACCOUNT_MODAL),fetchUserData:Fe(Se.FETCH_USER_DATA),fetchUserDataSuccess:Fe(Se.FETCH_USER_DATA_SUCCESS),fetchUserDataFailure:Fe(Se.FETCH_USER_DATA_FAILURE),logout:Fe(Se.LOGOUT),logoutSuccess:Fe(Se.LOGOUT_SUCCESS),logoutFailure:Fe(Se.LOGOUT_FAILURE),setLocale:Fe(Se.SET_LOCALE),setRedirectAfterLogin:Fe(Se.SET_REDIRECT_AFTER_LOGIN),setPaymentMethod:Fe(Se.SET_PAYMENT_METHOD),setTranslationsReady:Fe(Se.SET_TRANSLATIONS_READY),setLegalTranslationsReady:Fe(Se.SET_LEGAL_TRANSLATIONS_READY),setHasApiKey:Fe(Se.SET_HAS_API_KEY),setSubscribeModalOpen:Fe(Se.SET_SUBSCRIBE_MODAL_OPEN),setShowBrowserVersion:Fe(Se.SET_SHOW_BROWSER_VERSION),setActivityFlag:Fe(Se.SET_ACTIVITY_FLAG),toggleSidebar:Fe(Se.TOGGLE_SIDEBAR),setPushNotificationsEnabled:Fe(Se.SET_PUSH_NOTIFICATIONS_ENABLED),setHomeCtaClick:Fe(Se.SET_HOME_CTA_CLICK),setInputEmail:Fe(Se.SET_INPUT_EMAIL),setCurrency:Fe(Se.SET_CURRENCY),fetchCurrencies:Fe(Se.FETCH_CURRENCIES),fetchCurrenciesSuccess:Fe(Se.FETCH_CURRENCIES_SUCCESS),fetchCurrenciesFailure:Fe(Se.FETCH_CURRENCIES_FAILURE)},Q={home:"/",pricing:"/pricing",termsAndConditions:"/terms-and-conditions",cookiesPolicy:"/cookies-policy",privacyPolicy:"/privacy-policy",contact:"/contact",faq:"/faq",builder:"/app/builder",bulkBuilder:"/app/bulk-qr-code-generator",dashboard:"/app/my-qr-codes",folder:"/app/my-qr-codes/folder/:id",qr:"/app/my-qr-codes/qr/:id",privatePreview:"/app/qr/:uri/preview",analysis:"/app/analysis",myAccount:"/app/my-account",plansAndPayments:"/app/plans-and-payments",users:"/app/users",changePassword:"/change-password/:recoveryKey",preview:"/p/:uri",secondaryPreview:"/preview/:uri",redirect:"/redirect/:uri",previewRedirect:"/r/:uri",previewError:"/qr/:type",checkout:"/app/checkout",mockup:"/mockup/:type",qrPreview:"/qr-preview",account:"/:type(login|register|forgotten-password|complete-registration)",gdpr:"/gdpr",templates:"/app/templates",apiDocsBase:"/docs",apiDocs:"/docs/:tag?/:method?",reportAbuse:"/report-abuse",domains:"/app/my-domains",register:"/register",login:"/login",qrTypes:"/qr-types",qrInternal:"/qr-types/:type",qrForBusiness:"/qr-for-business",qrForBusinessInternal:"/qr-for-business/:category",qrCodesOn:"/qr-codes-on",qrCodesOnInternal:"/qr-codes-on/:category",features:"/features/:category",aboutUs:"/about-us"};Q.afterLogin=Q.dashboard;const Bc=["checkout","qr","dashboard","templates","analysis","myAccount","users","plansAndPayments","domains","builder","builderOld","bulkBuilder","privatePreview"],f9=`/:lang(${ko.join("|")})?`;Bc.some(e=>Q[e]===Q.afterLogin)&&Bc.push("afterLogin");function aa(e){return e.substr(-1)==="/"?e.substr(0,e.length-1):e}function h9(){return Bc.map(e=>Q[e])}function Yt(e){const t=Eu();let r;return t&&!Bc.includes(e)?r=`/${t}${Q[e]}`:r=Q[e],aa(r)}function dse(e){return`${f9}${e}`}function Rk(e,t){if(!Bc.includes(t)){const r=Eu();if(r){const n=`/${r}${Q[t]}`;return e.startsWith(n)}}return e.startsWith(Q[t])}function sh(e){const t=Yt("home");return[Q.home,t,t.slice(0,-1)].includes(e)}function _k(e){const t=e.split("/");if(t.length>1){const r=t[1];if(ko.includes(r))return t.filter(n=>n!==r).join("/")}return e}function pse(){const{pathname:e}=Nr();return sh(e)}function m9(e){const t=Eu(),r=_k(e);return aa(!t||t==="en"?r:r?`/${t}${r}`:`/${t}`)}const Ak={achievements:{description:`They reaffirm our commitment to customer satisfaction and this is reflected in
our ratings. These positive comments are a testament to our dedication to providing a high-quality
service and a reliable platform.`,title:"Our Achievements"},cards:[{description:"of codes created to date by {siteName}.",title:"+ 5 million"},{description:"of scans, serving millions of users around the world.",title:"+ 80 million"},{description:`opiniones en Trustpilot, con una calificación de 4,6 en satisfacción 
al cliente.`,title:"+ than 5 thousand"},{description:"reviews on Google with a positive score of 4.7.",title:"+ than 9 thousand"}],description:"At QRFY, we have been specializing in transforming interaction through QR technology since our founding in 2022.",developersTeam:"Our team of developers, designers and support work together to offer a solid and constantly evolving platform. We focus on providing the highest quality QR codes on the market, accompanied by detailed statistics to optimize marketing strategies and facilitate their effective use for companies and individuals.",help:{description:"so that you can achieve your goals with professionalism and efficiency, offering the best tools and support you need to make the most of QR technology.",title:`At QRFY
we are here to help you`},mision:{description:"QRFY's mission is to provide a reliable and easy-to-use QR code platform, designed by a dedicated and passionate team. We are committed to delivering a stable and secure technical infrastructure, while maintaining an intuitive interface that anyone can use.",title:"Mision"},title:"About Us",values:{description:"We develop our tools with a focus on the needs of our users and use their feedback to continuously improve. QRFY's driving force is to provide our users with the necessary tools to enhance their projects and integrate them with technological innovation in an accessible and simple way.",title:"Values"}},kk={alreadyHaveAccount:"Already have an account?",changePassword:{success:`Your password has been changed successfully.
You can now log in.`,title:"New password"},continueWith:"Continue with {provider}",copyright:"2022 © QRfy, Spain - 'QR Code' is a trademark of DENSO WAVE INCORPORATED",create:{metaDescription:"Register for a QRFY account to start creating and managing custom QR codes. Enjoy seamless QR code generation with our user-friendly platform. Sign up today!",modalAccountClosed:{description:"This account has been deleted. It is not possible to create an account with this email."},success:`Your account has been created successfully.
You can now start creating your QR codes.`,title:"Create account",topDescription:"It's free and only takes a few seconds.",topDescriptionModal:"Generate unlimited QRs and download them",topDescriptionModalDownload:"To download your QR code you need to create a free account.",topTitle:"Create account",topTitleDownload:"Last step"},createAccountDisclaimer:"By creating an account, you consent that you have read and agree to our <linkTerms>terms of use and contracting</linkTerms> and the <linkPolicy>privacy policy</linkPolicy>.",createFreeAccount:"Create your free account",createOne:"Create an account",emailPlaceholder:"name@email.com",forgotPassword:"Have you forgotten your password?",forgottenPassword:{emailNotFound:"The entered email does not have an account.",success:{message:"We have sent you an email with the instructions to recover your password.",title:"Check your inbox!"},text:"Enter the email with which you created your account and we will send you a code so you can recover your password",title:"Recover Password"},login:{collaboratorRegistrationIncomplete:"It is pending to activate the account, request to resend the invitation to the admin.",credentialsError:"The username and/or password is incorrect",emailAlreadyExists:"The email is already registered",invalidVAT:"Invalid VAT, you can check its validity at <link>this link</link>",invalidVATPrefix:"Check if you have introduced {iso} in front of the VAT number.",metaDescription:"Log in to your QRFY account to create and manage custom QR codes with ease. Secure and user-friendly, perfect for businesses, events, and personal use.",modalAccountClosed:{description:"Closed account. This account has been deleted."},topDescription:"Enter with your networks or complete your data",topTitle:"Welcome back!",twoFactor:{contactSupport:"If you have lost your 2FA credentials, contact <a>support</a>.",insertCode:"Enter the 2-factor authentication app code"},userNotFound:"User not found. Please check the login email address and try again."},modalAccountBanned:{button:"Close",description:"Your account has been suspended for violating the policies and terms of service. For more information, contact support.",title:"Suspended account"},modalAccountClosed:{title:"Closed account"},noAccount:"Don't have an account?",oauthCreate:{topDescription:"Enter your email to finalize account creation"},passwordPlaceholder:"Enter your password here...",signInWith:"Sign in with {provider}",signUpWith:"Sign up with {provider}",signUpWithGoogle:"Sign up with Google",videos:{slide1:{description:"Create various types of QR in just a few clicks.",title:"Generate unlimited QR codes"},slide2:{description:"You can create unique QR's with the shape, color and personalized logo.",title:"Design and give it your style"},slide3:{description:"Analyze the number of times it has been scanned, device and place.",title:"full stats"},slide4:{description:"Invite users with various permissions such as folders or sections.",title:"User management"}}},Ik="Free QR Code Generator: Create your QR Code",Mk={changeTypWarning:"Changing the QR type will delete the current data.",expandAll:"Expand all",formsStep2:{autocomplete:"Autocomplete fields",autocompleteHint:"Use sample data to guide you in the creation of the QR",common:{basicInformation:"Basic information",companyLogo:"Company logo",contactInformation:"Contact information",coverImage:"Cover image",customizeYourButtons:"Customize your buttons",reorderStructure:"Reorder Structure",title:"Title"},email:{message:"Message",subject:"Subject",title:"Email information"},emptyDataPreview:"Complete the data and you will be able to preview your QR code",formColors:{backgroundColor:"Background color",gradientColor:"Gradient color",label:"Colour Palette",linkBackgroundColor:"Background color of the link",linkColor:"Link Color",linkTextColor:"Link text color",title:"Design"},formFonts:{label:"Fonts",text:"Texts",textColor:"Texts color",title:"Title",titleColor:"Title color"},gridSelector:{grid:"Grid",horizontal:"Horizontal",title:"View Type",vertical:"Vertical"},imagesGroup:{bottomMessage:"Maximum size: {size}MB",buttonLabel:"Upload Images",title:"Images"},location:{fullAddress:{clear:"Delete address",manual:"Manual entry"},label:"Location",locationBehaviour:{label:"Location options",options:{option1:"Hide address link",option2:"Show address link",option3:"Show the map"}},placeholder:{city:"City",country:"Country",googleInput:"Search address",number:"Number",postalCode:"Postal Code",state:"State / Province",street:"Street"},types:{coordinates:"Coordinates",full:"Complete",latitude:"Latitude",longitude:"Longitude",url:"Url"}},maxSize:"Maximum size: {size}MB",previewMsgHelp:"IMPORTANT: Remember that you can preview and test your QR codes by clicking on the icon",product:{badges:{allergens:"Allergens",certificates:"Certificates",organics:"Organic",recycleStamps:"Recycling stamps",responsible:"Responsible consumption"},categories:{buttonLabel:"Add category",fields:{name:{label:"Category",placeholder:"Select a category..."},value:{label:"Category Value",placeholder:"Please enter a value..."}},itemTitle:"Category {number}",sortTitle:"Sort categories"},ingredients:{buttonLabel:"Add Ingredient",fields:{name:{label:"Name",placeholder:"Select an ingredient..."}},itemTitle:"Ingredient {number}",sortTitle:"Sort Ingredients",title:"Ingredients"},moreInformation:"More information",nutrients:{buttonLabel:"Add Nutrient",fields:{name:{label:"Nutrient",placeholder:"Selecting a nutrient..."},value:{label:"Nutrient value",placeholder:"Please enter a value..."}},itemTitle:"Nutrient {number}",sortTitle:"Sort Nutrients",title:"Nutrients"},nutritionalInfo:{fields:{title:{label:"Qualification",placeholder:"e.g Nutritional information 100ml"}},title:"Nutritional information"}},sms:{number:"Number",title:"SMS information"},text:{labels:{text:"Message"},placeholders:{message:"Enter some text…"},text:{description:"Type any message containing numbers and symbols up to 300 characters.",title:"Text"}},validations:{storeLinksMin:"It must have at least 1 link"},vcard:{aboutYou:"About you",contactInfo:"Contact info",contactStorageOptions:"Contact Storage Options",customizeButtons:{addContactButton:{label:"Contact",placeholder:"Add Contact"},description:"Edit the texts of the shortcuts",emailTo:{label:"e-mail"},floattingButton:{label:"Floating button"},location:{label:"Location"},phoneCall:{label:"Phone",placeholder:"To call"},subtitle1:"Header",subtitle2:"Footer"},info:{addContactOnTop:{label:'"Add contact" at the top'},alignText:{center:"Centered",label:"Text align",left:"Left",right:"Right"},bgImage:{gradientLabel:"Use gradient?"},lastName:{label:"Surname",placeholder:"E.g. Jones"},name:{label:"Name",placeholder:"E.g. Paul"},org:{label:"Company",placeholder:"E.g. Company LLC"},photo:{hint:"We suggest an image of at least 1000px",label:"Image"},streetNumberFirst:{label:"Street number first"},title:"vCard information",titlePlaceholder:"E.g. Your profession/position",url:{addButtonLabel:"Add website",label:"Personal website",textPlaceholder:"Write here the text of the URL ..."}},summary:"Summary",vcfSaveTitle:{all:"Organization and title",allHint:"Save title profession and first company",label:"Contact Information",org:"Organization only",orgHint:"Stores only the first company",title:"Title only",titleHint:"Save only the title profession"}},website:{addParam:"Add parameter",addWebsite:"Add website",editParams:"Edit parameters",info:"Website information",multilanguage:"Multi-Language Support",multilanguageHint:`Add the languages in which your website will be displayed.
The visualization will be according to the language that the user has configured on his device`,name:"Website name",params:"Parameters",sortWebsites:"Sort websites",url:{label:"Website URL",placeholder:"E.g. https://www.myweb.com/"},value:"Value"},whatsapp:{title:"Whatsapp information"},wifi:{authType:{label:"Type of encryption"},hidden:{label:"Hidden network"},info:"Wi-Fi information",password:{label:"Network password",placeholder:"E.g. Mypassword"},ssid:{label:"Network name (SSID)",placeholder:"E.g. HomeWifi"}}},formsStep3:{correctionLevel:"Correction Level",correctionLevelLabel:"Select a level",correctionLevelTooltip:"Ensures reliable reading by compensating for damage or distortion. Choosing a higher level improves readability, although it may increase the size of the QR.",group1:{title:"Frame"},group2:{title:"QR code style"},group3:{child:{logo:{info:"(JPG, JPEG, or PNG / {size}MB max)",label:"Upload your logo",placeholder:"Drag and drop or click to upload a logo",placeholderMobile:"Upload a logo"},preset:{label:"Select a logo"}},title:"Add logo"},level:"Level {value}",previewMsgHelp:"IMPORTANT: Don't forget to test your QR code"},header:{flagEditing:"Editing qr"},metaDescription:"You will be able to generate completely personalised QR codes that open up websites, images, PDFs, restaurant menus, videos and much more.",metaKeywords:"qr code generator, qr maker, qr code maket, qr code, how to make a qr code, create qr code",preview:{titleExample:"Example"},sections:{addLogo:{title:"Logo"},appearance:{description:"Customize the style and template.",title:"Appearance"},basicInfo:{description:"Add essential information.",title:"Basic Information"},configuration:{description:"Customized settings to optimize your experience.",title:"Configuration"},content:{description:"All the details about your QR.",title:"Content"},correctionLevel:{title:"Level"},frame:{title:"Frame"},qrCodeStyle:{title:"Shape"},qrSelector:{subsections:{corners:"Edge and center",shape:"Shape style"}},stats:{description:"Key tools and data to evaluate performance.",title:"Stats"}},socials:{dribbble:"Dribbble",facebook:"Facebook",facebookMessenger:"Facebook Messenger",flickr:"Flickr",github:"GitHub",google:"Google Review",instagram:"Instagram",line:"Line",linkedin:"LinkedIn",pinterest:"Pinterest",postmates:"Postmates",reddit:"Reddit",skype:"Skype",snapchat:"Snapchat",spotify:"Spotify",tiktok:"TikTok",tripadvisor:"TripAdvisor",tumblr:"Tumblr",twitter:"Twitter",vimeo:"Vimeo",vkontakte:"Vkontakte",website:"Web",whatsapp:"WhatsApp",xing:"Xing",youtube:"YouTube"},steps:{staticTitle1:"Static QR",step1:{titleSmall:"Type of QR code"},step2:{titleSmall:"Content"},step3:{titleSmall:"QR design"},step4:{successOnSignup:{benefits:{item1:"Always manage and edit your dynamic QR codes.",item2:"Analyse how many times they are scanned and from where.",item3:"Download your QR codes in multiple formats.",item4:"Try it for {trialDays} days for free."},benefitsTitle:"Benefits",subtitle:`In order to download, manage and analyze your QR codes it is necessary to create an account.
It will not take more than 30 seconds.`,subtitleLogged:"To download your QR is necessary to finish completing your payment.",title:"Your QR code is ready!"}},title1:"Dynamic QR",title2:"Complete the content of the QR",title3:"Design the QR",typeDescription1:"Update content in real time, without changing your code",typeDescription2:"Reprint required when updating content"},successModal:{messageCreate:"Your QR code has been successfully created.",messageUpdate:"Your QR code has been successfully updated."},timeScheduling:{addRange:"Add range",assign:"Assign",assignDescription:"If no time range is assigned, the item will be visible all day, every day of the week.",assignRange:"Assign range",description:"Create the time ranges for your business and then apply them to your products.",enable:"Enable time ranges",end:"End",endTimeError:"The time must be later than the start time",minRangesError:"Must have at least 1 range",namePlaceholder:"Write here the name of the time range (e.g.: Morning)...",overlappedItemError:"The assigned time range overlaps with that of another item.",overlapRangeMessage:`The entered schedule overlaps with an existing one.
Do you want to continue?`,previewAll:"Preview All",selectTimeRange:"Select time range",start:"Start",title:"Time Scheduling"},title:"New QR",titleBulk:"QR code generator - Create QR codes here",titleEdit:"Edit QR {name}",titleStep:"New QR: {type} - Step {step}"},Pk={accept:"Accept",actions:"Actions",activate:"Activate",add:"Add",add2:"Add",addEmail:"Add email",addLanguage:"add language",addMore:"Add more",addPhone:"Add Phone",apply:"Apply",assessment:"Assessment",backgroundImage:"Background image",beginning:"Beginning",buy:"Buy",buyNow:"Buy Now",cancel:"Cancel",categories:"Categories",change:"Change",city:"City",clear:"Delete",clickHere:"Click here",close:"Close",collapseMenu:"Collapse Menu",colorPalettes:"Color palette",comments:"Comments",companies:"Companies",company:"Company",confirm:"Confirm",congrats:"Congratulations!",content:"Content",continue:"Continue",copied:"Copied!",copy:"Copy",country:"Country",coverImage:"Cover image",create:"Create",createAccount:"Create account",createQR:"Create QR code",createQRCode:"Create QR code",createQRType:"Generate QR Code for {type}",currency:"Currency",customDownload:"custom download",days:"Days",deactivated:"Deactivated",default:"Default",delete:"Delete",description:"Description",design:"Design",detail:"Detail",disable:"Disable",domain:"Domain",download:"Download",downloadCopy:"Download copy",downloadQr:"Download QR",duplicate:"Duplicate",durationLabel:"Duration: {duration}",edit:"Edit",editUrlDestiny:"Edit destination URL",email:"Email",enter:"Enter",errors:{audio:"Oops! An error occurred while uploading the audio.",audioExtension:"Unsupported file. Only MP3 files are accepted.",catchaVerificationFailed:"Captcha verification failed.",chunkFailed:"There is a new version of the application and it is necessary to download it.",forbidden:"You don't have the right permissions to access the content.",generic:"Oops! An error occurred.",image:"oops! An error occurred while uploading the image.",imageDimensionsExceeded:"The image is too large (&gt;16383px).",imageExtension:"Extension not supported.",imageInvalid:"Corrupt image or invalid file.",imageTooLarge:"Very large file.",locked:"At this time the request could not be processed, please try again after a few minutes.",qrLimitExceeded:"You have exceeded the QRs limit. Please contact support for further assistance ({email})",temporalQr:"The QR code that you are accessing is not assigned to any account, do not forget to end the creation of the account with this QR.",temporalQrRedirect:"In 5 seconds you will be redirected.",tooManyRequests:"You have reached the request limit, please try again in 1 minute",unsafeUrl:"The URL {url} is unsafe",uriNotAvailable:"URI not available",video:"oops! An error occurred while uploading the video."},event:"Event",events:"Events",example:"E.g. {value}",finish:"Complete",fullDay:"All Day",generate:"Generate",generateQr:"Generate QR code",goBack:"Back",googleAnalyticsId:"Google Analytics 4 Tracking ID",gotIt:"Got it",goToMyAccount:"Go to my account",header:"Header",help:"Help",hide:"Hide",hours:"Hours",icon:"Icon",image:"Image",information:"Information",insert:"Insert",language:"Language",learnMore:"Learn more",less:"Less",link:"Link",loading:"Loading...",login:"Log In",logo:"Logo",logout:"Log Out",makeDefault:"Set default",measureSymbols:{pixel:"px"},more:"More",moreInfo:"More Info",moveDown:"Move down",moveUp:"Move up",myQRCodes:"My QR codes",name:"Name",next:"Next",no:"No",noFolder:"No folder",noResults:"No results",noTitle:"Untitled",open:"Open",openMenu:"Open Menu",options:"Options",or:"{a} or {b}",password:"Password",phone:"Telephone",phoneTypes:{cell:"Mobile phone",fax:"Fax",home:"Home",other:"Other",work:"Work"},placeholder:{company:"E.g. Company LLC",email:"E.g. name@email.com",example:"E.g. ",label:"Label...",phone:"E.g. 00000 000000",titlePhone:"Phone title...",url:"Ex. http://www.qrfy.com/qr"},play:"Play",preview:"Preview",previous:"Previous",primary:"Primary",print:"To print",qrCode:"QR code",qrCodeFor:"QR code for {category}",qrCodeOn:"QR code in {category}",quantity:"Quantity",reactivate:"Reactivate",recommended:"Recommended",refresh:"Refresh",reorder:"Reorder",repeatPassword:"Repeat password",resources:"Resources",restore:"Restore",retry:"Retry",return:"Back",reviews:"Reviews",roundness:"Roundness",save:"Save",saveChanges:"Save changes",saveTo:"Save to",scanMe:"Scan me!",scans:"Scans",scansPlural:"{scans, plural, one {Scan} other {Scans}}",search:"Search",secondary:"Secondary",section:"Section",seeDetail:"See detail",seeLess:"See Less",seeMore:"See more",select:"Select",selected:"Selected",send:"Send",sendEmail:"Send email",sendInvitation:"Resend invitation",sendTo:"Send to",service:"Service",settings:"Settings",share:"Share",shortEmail:"Email",shortHours:"hs",show:"Show",showAll:"Show All",signUp:"Register",signUpNow:"Register now",signUpNow2:"Sign up now",sizeLabel:"Size: {size}",smallMinutes:"Min",sortBy:"Sort by",startToEnd:"{a} to {b}",static:"Static",status:"State",supportTeam:"Support team",swap:"Invert",tags:"Tags",template:"Template",tertiary:"Tertiary",title:"Title",trackingIntegrations:"Tracking Analytics",type:"Type",update:"Update",upgrade:"Upgrade",upgradeNow:"Upgrade now",uploadFile:"Upload file",uploading:"Uploading: {progress}",validations:{appUrl:"The URL is invalid.",array:{max:"It must have at most ${max} elements",min:"It must have at least ${min} element(s)"},fileFormat:"invalid file format",fileSize:"The maximum size allowed is {size}Mb.",hexColor:"The colour is invalid.",imageFileDimensions:"Image dimensions must be smaller than or equal to {width} x {height} px.",invalidAreaCode:"Invalid area code",invalidCode:"Invalid code",invalidCodePrefix:"Code must start with {prefix}",invalidDomain:"Invalid domain",invalidGTIN:"Invalid GTIN, it must have a length of 8, 12, 13, or 14 digits",invalidSubdomain:"Your subdomain is not valid, it must have at least 3 parts (e.g. qr.example.com)",invalidSubdomainPath:"Your subdomain is invalid, it cannot contain paths nor protocol (ie: https://)",location:{generic:"The location must be valid",latitude:"Latitude must be a number between -90 and 90.",longitude:"The length must be a number between -180 and 180.",pendingLatitude:"Enter the latitude.",pendingLongitude:"Enter the length."},minAlphanumeric:"It must contain at least {min} alphanumeric characters",mixed:{required:"Required field"},number:{integer:"Must be a whole number",max:"Must be less than or equal to ${max}",positive:"Must be a positive number"},onlyLatin:"The use of non-Latin characters is not allowed.",samePassword:"Passwords must match",schedule:{fromMax:'The "From" date must be less than the "To" date',toMin:'The "To" date must be greater than the "From" date'},socials:"The entered value is not valid.",string:{email:"Email not valid.",max:"Must have a maximum of ${max} characters",min:"Must have at least ${min} characters\n",uri:"URI must be valid",url:"URL must be valid",urlHttp:"URL must start with http or https"},subdomainError:"Subdomain cannot include 'www'",unique:"Do not repeat values."},visits:"Visits",website:"Website",welcome:"Welcome!",withoutTracking:"No tracking",withTracking:"With tracking",yes:"Yes",yesDelete:"Delete",yesRestore:"Restore"},Ok={back:"Back",description:`At {siteName}, we are here to help you with everything related to QR codes.
If you have any questions or concerns, please fill out the form and our team will contact you as soon as possible.`,email:"Email address",faq:{description:"Find quick answers to common questions about plans, subscriptions, payments, bills, trials, and general use of our services.",title:"Frequently Asked Questions"},keepInTouch:"Stay in touch",location:{title:"Where we are"},message:"Question/Enquiry",metaDescription:"Contact QRFY for any inquiries or support regarding QR code generation and account management. Reach out to our team for prompt assistance through our easy-to-use contact form.",name:"Name and surname",placeholders:{email:"E.g. name@email.com",message:"E.g. Lorem ipsum",name:"E.g. Paul Jones"},socialMedia:"through our social networks",subject:"Subject",subjectType1:"Technical question",subjectType2:"Administrative question",subjectType3:"Other",successMessage:"Your message has been sent! Our team is working so that you receive an answer as soon as possible.",support:{description:"Visit our support page to find detailed guides and resources on how to get started, set up your account, design and manage your QR codes, and track scans.",title:"Support"},title:"Contact form"},Lk={contactUs:{action:"Contact Us",description:"Please contact us if you need more requests per day for individuals or commercial use.",title:"Do you need more requests?"},faqs:{item1:{text:"The maximum number of requests that you are allowed to make may depend on the specific API you are using. Our APIs will return a 429 status code when the limit is reached.",title:"What is the maximum number of requests I can make?"},item2:{text:"Absolutely. It is possible to use the same QR code designs through both the API and the manual generator.",title:"Will I receive identical QR Code designs to those generated manually if I use the API?"},item3:{text:"Accessing the API requires a paid subscription. To utilize it, you must upgrade your account to any available plan.",title:"Is the API free to use, or do I have to pay for it?"},item4:{text:"Each QR code that is created will be saved in your account.",title:"Where are the QR codes that are generated by the API stored?"},item5:{text:"Yes, all that is required to delete a specific QR code is its corresponding QR ID.",title:"Is it possible to remove QR codes with the API?"},item6:{text:"Yes, there is a maximum limit for QR generation per account, except for static QRs created using the <link>Generate QR Image</link> API",title:"Is there any restriction on the number of QRs I can create using the API?"}},topText:"Create static & dynamic QR Codes wherever you want in terms of seconds.",topTitle:"Automate the creation of your QR Code with our API"},Nk={activateInQRSettings:"The activation of these events must be enabled during the generation of the QR",addToAppleCalendar:"Add to Apple calendar",addToGoogleCalendar:"Add to Google calendar",addToOutlookCalendar:"Add to Outlook calendar",addToYahooCalendar:"Add to Yahoo calendar",click:"{name} click",shareByEmail:"Share by email",shareOnFacebook:"Share on facebook",shareOnTwitter:"Share on twitter"},$k={description:"If you have any questions that you can't answer through our FAQs, don't hesitate to contact our team.",items:{item1:{text:'Simply put, we can say that the QR code is the natural evolution of the barcode. Its name derives from "Quick Response Code", due to the speed at which they can be scanned. This code allows for easy access to different information through a mobile device.',title:"What is a QR code?"},item2:{text:"They are as useful as all the different types of content they can offer. In fact, in recent years, this type of code is becoming more widely accepted among all kinds of people. It's logical, since with just one scan you can access a variety of different information and even facilitate certain tasks such as connecting to a Wi-Fi network. A QR code can help you improve the service or product you offer, interact with your customers and promote your business, among other things.",title:"What are QR codes useful for?"},item3:{text:"Many. There are as many types of the different kinds of content that may be associated with them. At {siteName}, we offer you a tool to create a wide variety of them: Wi-Fi, website, vCard, PDF, images, videos, apps and menus. And all in the simplest way.",title:"How many types of QR codes are there?"},item4:{text:"There are several factors that influence whether a person or potential customer can read a QR code, but without a doubt the most important factor is that the individual who wants to scan the code needs to have a mobile phone. Nowadays, there are many mobile devices that can read QR codes with the camera itself, by simply pointing the camera at the code to scan it. If this doesn't work, you may need to download an application designed to read QR codes. But don't worry! There are several apps that do just this.",title:"How do you read a QR code?"},item5:{text:`The biggest difference between the two is that the dynamic QR code can be edited even after being printed, and the static one cannot. Therefore, the dynamic QR code allows us to change both the function and the content at any time and as many times as we want.

Another big difference is that dynamic QR code allow you to collect statistics on the scans made in order to get as much information as possible.`,title:"What is the difference between a static QR and a dynamic one?"},item6:{text:"No, due to the technical differences between each of the codes.",title:"Can a static QR code be converted to a dynamic one or vice versa?"},item7:{text:"There are different platforms and tools to create your own QR, but none like {siteName}. With {siteName} you not only lets you create custom QR codes, you can also manage and edit your code, and make an analytical monitoring them.",title:"How can I generate my own QR code?"},item8:{text:"QR codes also have an error prevention system. Thanks to this system, up to 30% of the structure of the QR code can be damaged without affecting its ability to be read. If the damage is greater, it may be impossible to read.",title:"Can the reading of a QR code fail?"},item9:{text:"With our QR code creator, anyone can create their own.",title:"How can I design my own QR code?"},item10:{text:"Yes. As long as the maximum number of characters is respected.",title:"Can I customise the text of the QR?"},item11:{text:"No. To avoid errors in the process of reading the QR code, this option is not available. But don't worry, we use a standard size so that the logo is easily readable and doesn't compromise the scan.",title:"Can I change the size of my QR logo?"},item12:{text:'Yes. Within the "My QRs" section, you can see all the QR codes that you have created. Just click on the edit button (pencil symbol) to be able to make changes to your QR.',title:"Can I edit my QR code?"},item13:{text:"Yes. We recommend that you always scan the QR code preview with your mobile device to check that it's working.",title:"Can I check that my QR code is working correctly?"},item14:{text:`If you are in the trial period or signed to any of our plans, your active QR codes should work without problem.

If your QR codes do not work, it is most likely to be due to design elements. Some reading applications and telephone cameras have difficulties in scanning complexes QR codes.

Here are some design elements that must be taken into account:

- Make sure there is a significant contrast between the foreground and the bottom of the QR code.
- Make sure the QR code size is suitable for scanning distance (in general, dynamic QR codes should not be less than 2 x 2 cm and static QR codes should not be less than 3 x 3 cm).
- Make sure the logo, if you use one, do not obstruct the important elements of the QR code.`,title:"Why aren't my QR codes working?"},item15:{text:"You will be able to know the number of total scans, the number of scans per operating system, the location and the number of unique scans.",title:"What data is collected in dynamic QR scans?"},item16:{text:'You can download your QR codes from the "My QRs" section or from within the "Detail" section of each QR. You can download it in the formats that suit you best (png, jpeg, eps, svg).',title:"How do I download my QR code?"},item17:{text:"Once you have downloaded your QR code in the desired format, you can print it from your computer. Always make sure to test your QR before printing it to avoid any mishaps. ",title:"How do I print my QR code?"},item18:{text:"Today at {siteName} we offer 3 plans that give you access to all the tools on our platform. The difference is in the duration time. You also have a free trial period of {trialDays} days to get to know the platform.",title:"How many plans are there and how are they different?"},item19:{text:"No, we do not have any extra charges beyond the price of the plan + VAT. However, your credit card provider may charge a small fee for the transaction. For more information, contact your bank or credit card provider directly.",title:"Is there an extra charge in addition to the price of the plan?"},item20:{text:"In {siteName} we accept payments with Visa card, Mastercard, American Express and Maestro.",title:"What payment methods does {siteName} accept?"},item21:{text:'Yes. Go to the "My Plans" section and click on "Update Card".',title:"Can I change or update my payment method?"},item22:{text:'You can change the VAT number by entering the "Tax Information" section in the "My Account" area.',title:"Where can I update or change my VAT number?"},item23:{text:'You can get your invoice by clicking the invoice icon in the "Plans and payments". You will be asked to fill out a form with tax information. If you have any problem please write to our support team.',title:"Where can I download my invoices?"},item24:{text:"PENDING",title:"Why did my card payment fail?"},item25:{text:"PENDING",title:"How do I activate a paused subscription?"},item26:{text:"As soon as the payment is made, you can start using all of the {siteName} tools.",title:"When can I start using the purchased plan?"},item27:{text:"It will depend on the plan you have subscribed to. We have the following plans: quarterly, semi-annual, annual.",title:"How long does my subscription last?"},item28:{text:`Yes. Unless the subscription is canceled - at the latest - one day before the renewal date, your subscription will renew automatically.

The renewal of your subscription cannot be cancelled once it has been carried out.`,title:"Is my subscription renewal automatic?"},item29:{text:'Canceling your subscription is very easy. You can do it in the "Billing" section or by clicking <a>here</a>.',title:"How do I cancel my subscription?"},item30:{text:`Your QR codes won't go anywhere, but you won't be able to access them or the collected data until you update your plan.

Your QR codes will disappear only if you delete your {siteName} account.`,title:"What happens to my QR codes if my subscription is cancelled?"},item33:{text:"No refunds are offered for unused subscription periods. Users can prevent the subscription from automatically renewing by canceling it at any time",title:"Do you offer refunds for unused subscription periods?"},item34:{text:"{trialDays} days, in which you can try our QR code generator.",title:"How long is the trial period?"},item35:{text:"Our trial period gives you access to all of our tools. At {siteName}, we believe that in order to evaluate a service, you must be able to test it out completely.",title:"What type of access does the trial period give me?"},item36:{text:"We feel it, but the trial period only lasts {trialDays} days. After that period, you can continue using the platform by subscribing to one of our plans.",title:"Can the trial period extend?"},item37:{text:"Yes.",title:"Can I use the QR codes generated in the trial period for commercial purposes?"},item38:{text:"No. The free trial period automatically ends after {trialDays} days. Only payment plans can be cancelled.",title:"Should I cancel the trial period if I am not going to continue using the platform?"},item39:{text:"Your QR codes will be stored for three months after the trial period has ended. During this period you will not be able to access them until you contract one of our plans.",title:"What about my QR codes once the trial period ends?"}},metaDescription:"Find answers to common questions about QRFY's QR code services. Learn about features, pricing, account management, and more to make the most of our platform.",title:"FAQs"},Dk={accessProtection:{description:"Secure your codes.",title:"Password access protection"},analytics:{description:"Understand performance with detailed data.",title:"Complete analytics"},bulkBuilder:{description:"Generate and download QRs on a large scale.",title:"Bulk creation and download"},collaborators:{description:"Manage your QRs as a team.",title:"Limited contributing users"},customDomains:{description:"Strengthen your brand with your own domain.",title:"Custom Domain"},downloadVariety:{description:"Expand the possibilities of use of your QRs.",title:"Variety of download formats"},dynamicQrs:{description:"QR codes updateable in real time.",title:"Dynamic QR"},editAndManagement:{description:"Customize and organize your QRs.",title:"Editing and management of QRs"},eventTracking:{description:"Track interactions.",title:"Event tracking"},integrations:{description:"Improve the analysis of your digital campaigns.",title:"Google pixel integration"},staticQrs:{description:"Permanent and unalterable QR codes.",title:"Static QR"},templates:{description:"Save and reuse your own designs.",title:"Templates"}},jk={copyright:"{year} © {siteName}, Spain",disclaimer:"‘QR Code’ is a trademark of DENSO WAVE INCORPORATED",middleMessage:"Create your own QR codes and boost your business or idea",qrTypes:{alt:"Create a QR code for {typeName}",app:{description:"Redirect to an app store",name:"Apps"},barcode:{description:"Supports GS1 standards",name:"2D barcodes"},business:{description:"Share your data",name:"Business"},coupon:{description:"Share a coupon",name:"Coupon"},email:{description:"Send an email with a predefined text",name:"Email"},event:{description:"Promote an event",name:"Event"},feedback:{description:"Get feedback and evaluations",name:"Feedback"},images:{description:"Show an image gallery",name:"Images"},landing:{description:"Create your own page",name:"Landing Page"},linkList:{description:"Group links",name:"List of Links"},menu:{description:"Display your bar menu",name:"Letter / Menu"},mp3:{description:"Play an audio file",name:"MP3"},pdf:{description:"Show a PDF",name:"Pdf"},playlist:{description:"Share your own music",name:"Playlist"},product:{description:"Group information about your product",name:"Product"},sms:{description:"Send a text message",name:"Sms"},social:{description:"Share your social profiles",name:"Social Networks"},text:{description:"Displays plain text",name:"Text"},urlStatic:{description:"Open a url",name:"Url"},vcard:{description:"Share your contact information",name:"VCard"},vcardPlus:{description:"Share contact details",name:"Vcard Plus"},video:{description:"Show a video",name:"Video"},website:{description:"Open a url",name:"Web page"},whatsapp:{description:"Send a WhatsApp message",name:"Whatsapp"},wifi:{description:"Connect to a WiFi network",name:"Wifi"}},topMessage:`Try our generator
of QR codes for {trialDays} days for free.`},Fk={avatar:{extensions:"(Extensions: JPG, JPEG, PNG)",message:"<strong>Click</strong> or <strong>drag your photo</strong> here to upload it.",revert:"Reset",title:"Upload photo",turn:"Rotate",zoom:"Zoom"},buttons:{buttonLabel:"Add button",labelPlaceholder:"Write the button text here...",listLabel:"Button {number}",urlPlaceholder:"https://…"},buttonText:"Button text",companies:{addCompany:"Add company",addProfession:"Add profession",companyTitle:"Company {number}",professionsTitle:"Professions"},feedbackCategories:{addCategory:"Add category",addSubcategory:"Add subcategory",categoryTitle:"Category {number}",selectCategory:"Select category",subcategoriesTitle:"Subcategories"},file:{sortTitle:"Rearrange images"},links:{buttonLabel:"Add link",listLabel:"Link {number}",sortTitle:"Order links",text:{label:"Link text",placeholder:"Write here the link text..."},url:{label:"URL"}},menu:{addPrice:"Add price",allergens:{options:{celery:"Celery",cereals:"Cereals",crustaceans:"Crustaceans",eggs:"Eggs",fish:"Fish",fruitsOfShell:"Fruits of shell",lupins:"Lupins",milk:"Milk",mollusks:"Molluscs",mustard:"Mustard",peanuts:"Peanuts",sesame:"Sesame",soy:"Soy",sulfurAndSulphites:"Sulfur and sulphites"},title:"Allergens"},buttonAddProduct:"Add product",buttonAddSection:"Add section",deleteTitleLabel:"Delete title",multiplePrices:"Multiples prices",productDescriptionLabel:"Description",productDescriptionPlaceholder:"E.g. As good as your grandmother's",productImage:"Image",productMultiplePriceLabel:"Price",productNameLabel:"Name",productNamePlaceholder:"E.g. Rice Pudding",productPriceLabel:"Price (optional)",productPriceName:"Size",productPriceNamePlaceholder:"Small",productPricePlaceholder:"E.g. £4.50",productTitle:"Product {number}",productTranslatedNameLabel:"Translated name (optional)",productTranslatedNamePlaceholder:"E.g. Arroz con leche",sectionDescriptionLabel:"Description",sectionDescriptionPlaceholder:"E.g. Selection of homemade desserts",sectionNameLabel:"Name",sectionNamePlaceholder:"E.g. Desserts",sectionTitle:"Section {number}",sortProductSectionDefault:"Section {number}",sortProductTitle:"Rearrange products ({section})",sortSectionTitle:"Rearrange sections"},pdfFile:{image:"Image",name:"Name",placeholderDescription:"Add description of your pdf"},playlist:{buttonAddAudio:"Add Audio",sectionTitle:"Audio {number}",sortAudioTitle:"Sort Audios"},productBadges:{buttonLabel:{certificates:"Add certificate",organics:"Add organic",recycleStamps:"Add stamp",responsible:"Add Image"},certificates:["Vegan","Sustainable","Reducing emissions"],organics:["Certified organic by Agriculture Biologique.","EU organic certification.","USDA organic certified."],recycleStamps:["Paper recycling symbol","Plastic recycling symbol","General recycling symbol","Recycling of mixed materials","Recycling of containers and bottles","Recycling cardboard and paper","Cardboard recycling","Recycling plastic bottles","Recycling glass bottles"],responsible:["Don't drink and drive.","18+ only.","Avoid during pregnancy."]},qrFrame:{color:"Colour",text:"Text",textColor:"Text color",transparentBackground:"Transparent background"},qrselector:{alertContrast:"<b>Remember!</b> For the optimal reading of the QR code, you need to use high contrast colours. We recommend selecting a light and a dark colour for your QR code.",colorSelector:{color1:"Color 1",color2:"Color 2",gradientType:"gradient type",rotation:"Rotation"},labelCornersDotColor:"Background colour",labelCornersDotStyle:"Center style",labelCornersSquareColor:"Border colour",labelCornersStyle:"Border style",labelShapeBackgroundColor:"Background colour",labelShapeColor:"Border colour",labelShapeStyle:"Shape style",linear:"Linear",radial:"Radial",section1:"Border and background",section2:"Corners",useGradients:"Use gradients?"},socialsLabels:{urlNumber:"URL / Number",urlUsername:"URL / User",urlUsertag:"URL / @"},text:"Text",userId:"User ID",videoFile:{buttonLabel:"Upload video(s)",cover:"Cover",dropdownBottomMessage:"Maximum size: {size}MB",dropdownLabel:"If you prefer, you can also upload your video",invalidFormatError:"Only .mp4 files are valid",invalidFormatErrorExt:"File format {ext} not allowed.",placeholderDescription:"Add a description of your video",sortTitle:"Rearrange videos",textInputLabel:"Video URL",urlInputButton:"Add video",urlInputError:"Invalid URL. Enter a YouTube link.",urlInputPlaceholder:"https://www.youtube.com/watch…"},whatsappTooltip:"The number must have the country prefix."},Bk={readOnlyService:"{siteName} is currently on read-only mode right now while we do some maintenance. We apologize for the inconvenience, we'll be back online shortly"},Hk={languageSelector:{searchPlaceholder:"Search Language..."},menu:"Menu"},Uk={backConfirmation:"Create your free account in 30 seconds. Click on Cancel",basicConcepts:{description:"In this section you will find the basic concepts and the necessary steps to start enjoying the benefits of using QR.",imageAlt:"Create QR code",item1:{text:"The term “QR” stands for “quick response” and refers to instant access to the information contained in the Code. It is, in short, the evolution of the barcode, made up of patterns of black and white pixels. <link>Denso Wave</link>, a Japanese subsidiary of Toyota Denso, developed them in order to mark the components of their cars and thus speed up logistics in their production. Currently, it has gained great popularity, due to its versatility and accessibility, thanks to the functions of smart phones.",title:"What is a QR code?"},item2:{text:"You will have noticed that more and more companies choose to include QR, as a fundamental resource for the marketing and commercialization of their products and services. Its growing popularity is due to the multiplicity of uses that you can give it: to receive payments from your clients, share links to web pages, catalogs and price lists, receive comments on your products or services, invite the client to share images or videos , promote your business events and much more, with just a scan!",title:"Know the benefits of using QR"},item3:{text:"Many devices already have a built-in QR code reader. In this case, all you have to do is open the camera on your mobile phone and hold it over a code for a few seconds, until a notification appears on the screen. In case this does not happen, go to settings to check that QR scanning is enabled. If you don't have the feature, just download and install a QR code reader from your app store.",title:"How to start using QR?"},title:"Everything you need to know to get started"},benefits:{boxItems:[{text:"Customize and organize your QRs.",title:"Editing and management of QRs"},{text:"QR codes that can be updated in real time",title:"Dynamic QR Codes"},{text:"Manage your QR codes as a team",title:"Unlimited Contributing Users"},{text:`Expand the possibilities of use
of your QRs`,title:"Variety of download formats"},{text:"Understand performance with detailed data",title:"Complete analytics"},{text:"Improve the analysis of your digital campaigns",title:"Google and Facebook pixel integration"},{text:"Save and reuse your own designs",title:"Templates"},{text:"Permanent QR codes",title:"Static QR"},{text:"Generate and download QRs on a large scale",title:"Bulk creation and download"},{text:"Strengthen your brand with your own domain",title:"Custom Domain"},{title:"Password access protection"},{title:"Event tracking"}],title:"Your all-in-one marketing platform"},concepts:{bottomText:"Check our FAQs to find an answer to any questions you may have about our QR codes.",bottomTitle:"Want to know more?",doubsButton:"Answer all your questions",item1:{text:"It is a tool that allows you to generate different types of QR codes, in an easy and intuitive way. The rise of QR codes has made our QR code generator sought after and required by many people and businesses, with businesses of all kinds: you can use our QR code generator to create QR codes for your website, share a PDF, a photo gallery, a playlist, a price list or menu, connect your customers with a service available in your business (WiFi network, attention, shifts, payments, etc.), advertise shows or other events on public roads through the link to the trailer or trailer, create a vCard with contact information and share it with your customers, and much more.",title:"What is a QR code generator?"},item2:{text:"Our qr code generator has a free trial version for seven days: the QR codes you generate are yours forever. From there, if you are satisfied with the product, you can access the plan that best suits your needs. By contracting the service, you will have unlimited access to all the functions: unlimited dynamic and editable QR creation, all the variety of QR types, QR editing and management, unlimited scans, complete analytics of your QRs and a variety of download formats.",title:"Are QR codes free?"},item3:{text:"Of course, the first seven days are on us so you can try our QR code generator for free.",title:"So can I create an account to generate free QR codes?"},item4:{text:"This is because our QR codes are dynamic rather than static. All the QR codes that are generated with {siteName} host the information on our servers such as PDF documents, Videos, Images and have a cost for that reason they are not free.",title:"Why on other web pages making QR codes is free?"},item5:{text:"The use of QR codes is today part of the marketing strategy of many companies. Do not hesitate: use the codes you generate on our platform to renew, give visibility and dynamism to your business.",title:"Can the generated QR codes be used for commercial purposes?"},item6:{text:"QR codes can store a wide variety of information, adapting to what you need, since the URL can redirect the user to the type of content you want with just a scan: a website, a PDF, a photo gallery, a playlist, price lists, menus, technical service, WiFi network, shift platform, payment links, videos, contact information, etc. The possibilities are limitless.",title:"What kind of information can be stored in a QR code?"},item7:{text:"Yes. If you sign up for a plan, you can track the number of scans your QR codes receive. This way you will be able to observe the progress of your campaigns and even make the necessary adjustments to improve or expand them.",title:"Do QR codes have a scan counter?"},item8:{text:"QR codes do not have an expiration date. They will only stop working if you change or remove the link. However, you have the option to create dynamic codes, so you can replace the content or links when you need to.",title:"For how long are the QR valid? Do they expire?"},item9:{text:"Static QR codes are those that cannot be edited and their scans cannot be tracked. On the other hand, dynamic codes allow you to make changes even after they have been generated: update their content, change their aesthetics, modify links and correct various types of errors. The latter also allow you to track the number of scans.",title:"What is the difference between a static and <em>dynamic QR code</em>?"},item10:{text:"Of course. When you have signed up for one of our plans, you can manage your QR codes as you wish: create, design, save, delete or modify your codes as you wish, add logos, frames, generate a domain, save your favorite designs, edit URLs And many other things.",title:"Can I manage the codes with the QR code generator?"},title:"Basic information"},designInfo:{item1:{text:"You can choose the colors that you want! In our QR creator you will be able to select from a wide range of #RRGGBB notation colors. There you can find not only the colors of your company, but also adjust them to the aesthetics of your campaign and, why not, give free rein to your imagination to combine them as you wish.",title:"Can I create QR codes in color or just in black and white?"},item2:{text:"Our service will allow you to modify the content, correct typos or change the link, even after generating the QR code. We know that many times customers find errors or decide to make modifications, so we give them the possibility to edit, without having to generate a new QR code. To do this, you can go to the “My Qrs” section and select the one you want to edit: you can change its content as many times as you need, except if you decide to change the type of design.",title:"Can I change or edit a QR code?"},item3:{text:"Of course! This will make your QR an active part of your company's merchandising, making it more attractive and recognizable to your customers. You can take advantage of the free version for seven days and try this option in our QR code generator.",title:"Can I include the isotype or logo of my company in a QR code?"},item4:{text:"Of course! It is possible to generate 40 different versions of QR codes for any given entry, each with four levels of correction and eight levels of masking. Our qr code generator will choose the best version based on the amount of data stored and readability, in order to produce the best possible image. In addition, you can customize the different versions of your QR with our design tool.",title:"Can I create more than one QR code for the same content?"},title:"Design & creation"},faqsTitle:"Do not leave with doubt",metaDescription:"Free QR code generator. Customize with logo, colors, and frames. Create QR codes for Websites, Video, PDF and more. Download in high-res.",miniBuilder:{qrTypes:{app:{name:"QR Apps"},barcode:{name:"QR 2D Barcode"},business:{name:"QR Business"},coupon:{name:"QR Coupon"},event:{name:"QR Event"},feedback:{name:"QR Feedback"},images:{name:"QR Images"},landing:{name:"QR Landing page"},linkList:{name:"QR List of Links"},menu:{name:"QR Menu"},mp3:{name:"QR MP3"},pdf:{name:"QR PDF"},playlist:{name:"QR Playlist"},product:{name:"Product"},social:{name:"QR Social Media"},vcardPlus:{name:"QR Vcard Plus"},video:{name:"QR Video"}},selectQrType:"Select a QR type",steps:{content:"Complete the content",download:"Download your QR",styles:"Design your QR"}},prefooter:{title:"Try our <em>QR code</em> generator for {trialDays} days free."},qrsFor:{banner:{events:{button:"QR code for weddings",title:"Create a unique invitation for an unforgettable event."},nonprofits:{button:"QR code for NGOs",title:"Connect the world to your cause and facilitate donations."},photographers:{button:"QR code for Photographers",title:"Showcase, captivate and connect: your portfolio within everyone's reach."}},caption:"QR Codes for",description:"QR codes can contain a wide range of content and at QRfy we offer them all.",title:"Explore our extensive collection of QR codes"},qrsOn:{description:"Discover how to use QR codes to boost your marketing strategy.",items:[{description:"Turn your card into an interactive tool by adding a QR code that connects clients and employers with your work, social networks and contact information.",name:"Business cards"},{description:"Expand the printed information on your pamphlets with a QR code, offering interactive content and measuring its reach in real time.",name:"Pamphlets"},{description:"Complement the content of your brochures by adding a QR code that provides access to multimedia content such as videos and online documents.",name:"Brochures"},{description:"Turn your packaging into smart labels with a QR code that offers access to information about origin, ingredients and exclusive promotions.",name:"Bottles and cans"},{description:"Reduce the text on your packaging and provide access to key information, exclusive discounts and social media through a simple scan.",name:"Product packaging"},{description:"Keep your menu up to date with a QR code on your menu. Forget about reprints and make it easy for your diners to access interactive options.",name:"Menu"}],title:"QR Codes on"},reviewsBanner:{description:"Trusted by more than {value} people",textBox:"No credit card required on Signup"},scanInfo:{item1:{list:["Check that the chosen colors have a good contrast, so that legibility is optimal. Remember that it is essential that the foreground is always darker than the background.","Check that there are no errors in the information contained in your QR code (URL, e-mail, text, map, etc.).","Test your QR by scanning it from devices with different operating systems.","We also recommend that, before printing it, you verify that the function or purpose of the QR code is clear in the presentation: The client must know what they should scan it for."],text:"To avoid costly mistakes in your marketing campaign, it is necessary that you verify, before printing, that your QR code works correctly.",title:"What should I do before printing my QR code?"},item2:{text:"After registering on our page, you will have the option to download your codes in various formats: high resolution JPG, PNG, SVG or EPS.",title:"In what graphic formats can QR codes be made?"},item3:{text:"No. QR codes can be scanned an unlimited number of times.",title:"Is there a limit to the number of scans for QR codes?"},item4:{list:["To access this function, just open the camera on your mobile phone and hold it over a code for a few seconds, until a notification appears on the screen.","In case this does not happen, go to settings, to check that QR scanning is enabled.","If you don't have the feature, just download and install a QR code reader from your app store (most are free!)."],text:"Many iPhone and Android devices already have a built-in QR code reader.",title:"How to read or scan a QR code with my smartphone?"},item5:{list:["Most iOS and Android devices have a QR code scanner built into the camera itself. Simply open the camera app and hold it over any code until a notification appears.","If you don't want to download an app, you can search the web for an online reader. These are usually free and decode the QR directly from the browser."],title:"Can I scan QR codes without an app?"},item6:{text:"This can happen for different reasons. The code may be blurry or the scanner may not detect it because there is not enough contrast between the code and the background. You must remember that it is essential that the foreground is always darker than the background. In case of any difficulty, do not hesitate to contact us.",title:"Why is my QR code not working?"},title:"Scan & print"},steps:{description:"Customize it with your color, shape and logo in 3 simple steps.",step1:{alt:"How to Create a QR code",text:"Select from a wide variety of options: PDF, menu, video, business cards, web, apps, etc.",title:"Choose the content of your QR code"},step2:{alt:"QR Generator",text:"Fill in all the information and use our design tool to make your QR unique.",title:"Customize and design it to measure"},step3:{alt:"QR Code Monkey",text:"Get your QR code in different formats (pdf, png, svg), print it or show it in a digital format and voila!",title:"Download your QR code"},title:"How to create your QR code?"},testimonials:{description:"through their reviews in",seeMore:"See More Reviews",title:"Our clients tell you why they should choose QRFY"},title:"QR Code Generator: Create your free QR Code | QRFY",top:{button:"Create QR code",buttonTitle:"QR Code Generator: Create your QR Code for Free",description:"Customize it with your color, shape and logo in 3 simple steps.",imageAlt:"Free QR code generator",title:"QR Code Generator: Create your Free QR Code"},types:{alt:"QR Code Generator",app:{description:"Simplify the installation of your applications: allow your customers to access the download link with just one scan, without complications.",features:["Customize your landing page to highlight your app's unique features, attracting more users with a design that reflects your style.","Change information and links as needed, ensuring your customers always have access to the latest and greatest in your applications."]},barcode:{description:"Provide key information about your products and logistics details efficiently with a 2D barcode, tailored to your business needs.",features:["Provide access to essential data for your customers and your team, optimizing inventory management and improving the shopping experience.","Take advantage of the versatility of 2D barcodes to track products, manage shipments and provide additional information with a simple scan."]},business:{description:"Say goodbye to manual updates to your store. With a QR code, you ensure a fluid connection between your business and those who search for you, always keeping relevant information within reach of your customers.",features:["Give your customers instant access to key business information, such as hours and contact information, with a single scan.","Change information whenever you need to and allow your customers to access it at any time, even after hours."]},button:"Create QR code",coupon:{description:"Turn every scan into a sales opportunity by offering discounts that your customers can instantly claim.",features:["Customize promotions with colors, images and text that reflect your brand, attracting more customers with exclusive discounts.","Your offers will be available on any device and ready to be easily shared via social media or email."]},description:"QR codes can hold a large amount of content and at {siteName}, we offer them all.",email:{description:"Provide your customers with a static QR code that speeds up the process of contacting you via email and facilitates communication with them.",features:["Enter your email address so people can contact you quickly and easily.","Include a predefined message that guides your clients through their query, making interaction easier."]},event:{description:"Wow your guests with a dynamic invitation. Include images that will leave them excited and don't forget to add the date, time and location so that no one misses your party.",features:["Provide all necessary event details in one place, including contact information and amenities, to make your guests' experience easier.","Give the invitation a personal touch using colors and images that harmonize with the theme of your event and allow your guests to connect with the atmosphere of the celebration."]},feedback:{description:"Capture your customers' experiences instantly, with insights that help you improve your business.",features:["Customize your surveys to reflect your brand style and receive feedback directly in your email so you can take immediate action.","Make sure your customers can access surveys from any device, allowing for a barrier-free experience when sharing their opinions."]},images:{description:"Share memories and special moments like never before through a QR code, where each image tells a story and is accessible to everyone.",features:["Showcase your best product or event photos with a single scan, attracting potential customers with engaging and accessible visual content.","Update your gallery with images of new releases, recent projects or highlights to keep your audience engaged."]},landing:{description:"Take your visitors to a custom-designed landing page where they can find all the information they need, whether about your business or a personal project, with a simple scan.",features:["Personalize your landing page with relevant content, from product and service details to personal projects or creative portfolios.","Modify content at any time, ensuring your visitors always have access to the latest and most useful information, regardless of context."]},linkList:{description:"Share links to your website, online store, portfolio and social media profiles all through a single Link Listing QR.",features:["Make it easier for your customers to quickly find what they're looking for by centralizing all your important information in one place.","Allows users to easily share your links with others, expanding your reach and connecting with a wider audience."]},menu:{description:"Transform your diners' dining experience with an instantly accessible digital menu, creating an interactive and engaging experience.",features:["Offer your customers a dynamic and updated menu, where they can always find your latest dishes and current prices.","Save your team time and speed up service by allowing customers to browse the menu without having to wait for a menu to be handed to them."],title:"Menu"},mp3:{description:"Share audiobook, music, and podcast clips instantly. Make it easy for your audience to enjoy your content.",features:["Allow your users to listen to audiobook clips, promotional music, or podcasts directly from their devices with a single scan.","Change your audio content based on campaigns or events, such as new songs, recorded lectures or tourist guides, without having to reprint the QR."]},pdf:{description:"From menus to user guides to creative portfolios, give your clients access to PDF documents quickly and efficiently.",features:["Customize your QR code to reflect your brand, making access to your documents attractive.","Adjust the content of your documents at any time, ensuring your clients always have access to the most recent version."]},playlist:{description:"Share your music and playlists with ease, allowing your friends and followers to access your best tracks with a simple scan.",features:["Create a visually appealing presentation of your playlist, incorporating images and designs that reflect your musical essence.","Keep your music fresh and up-to-date by switching tracks whenever you want so your followers always hear the latest you've shared."]},product:{description:"Display key information about your products in a single QR code: nutritional data, certifications, allergens and more. Make it easy for your customers to access everything they need to make informed decisions and make your products stand out!",features:["Make it easy for your consumers to access detailed information and collect data on consumer interaction with your product.","Update data such as ingredients, origin or seals quickly and easily, without having to reprint labels."]},sms:{description:"Make it easy for your users to contact you through a QR code that sends a predefined SMS, streamlining direct and effective communication.",features:["Enter your phone number so users can send you messages quickly and easily.","Include a predefined message that invites your customers to participate in promotions, raffles or consultations, optimizing interaction."]},social:{description:"Increase your social media presence by easily sharing your profiles; with just one scan, you allow more people to discover all your content.",features:["Customize your QR code with an attractive design that reflects your brand, making access to your profiles visually captivating.","Make it easier for others to share your content, expanding your reach and creating a stronger connection with your digital community."]},staticUrl:{description:"With a static QR code, direct your users to a specific URL quickly and easily – ideal for content that doesn’t need to be changed frequently.",features:["Ensure your message is always present; once created, the static QR redirects to the same URL without the need for updates.","Ensures that information is accessible to everyone, without the need to download applications or perform additional configurations."]},text:{description:"Share short, concise information, ideal for direct messages, quick instructions, or reminders.",features:["It makes it easy to access codes or passwords quickly, allowing users to copy and use them without any hassle.","Use it on your products to indicate how to use or care for them to your users, or even provide recycling information."]},title:"Generate different types of QR Codes",url:{description:"Connect your URL to a QR code so everyone can access your website quickly and easily. Turn every visit into an opportunity for growth!",features:["Provides quick access to your website or online store with a simple scan, and optimizes the experience of users and potential customers","Update the link as many times as you need without having to modify the printed QR code, always ensuring relevant content."]},vcard:{description:"Allow your contacts to save your contact information with a simple scan, offering a practical and durable solution to physical cards.",features:["It offers a fast and efficient way to access your information, without needing an internet connection to make changes.","Ensure your contact information remains clear and accessible, eliminating the risk of errors or loss."]},vcardPlus:{description:"Transform your business card into an interactive digital experience, where your contacts can access all your information and social networks with just a scan.",features:["Customize your vCard to reflect your professional identity, adding your photo, location and links to your social networks for a more complete presentation.","Make it easy for your contacts to save your details to their device with a single click, eliminating the need to manually enter information."]},video:{description:"Make it easy to access tutorials, trailers, or educational content. Increase the visibility of your content by sharing videos easily.",features:["Personalize your video landing page with descriptions and links that guide viewers, improving their viewing experience and understanding.","Take advantage of the flexibility of QR to easily update your videos, ensuring you always share fresh and relevant content."]},whatsapp:{description:"Make it easy for customers to contact your business with a QR code that allows them to start a conversation on WhatsApp by simply scanning it.",features:["Enter your WhatsApp number so users can quickly and directly connect with you.","Include a predefined message that encourages your customers to make inquiries or take advantage of promotions, thus improving communication."]},wifi:{description:"Allow your clients or friends to connect to your WiFi network in an instant, without having to enter a password manually.",features:["Improve your customers' convenience by offering them a fast, hassle-free Wi-Fi connection from the moment they enter your establishment.","Easily update your network data whenever you need to, ensuring it's always available to visitors."]}}},zk={al:"Albanian",ar:"Arab",bg:"Bulgarian",bn:"Bengali",ca:"Catalan",cs:"Czech",da:"Danish",de:"German",el:"Greek",en:"English",es:"Spanish",eu:"Basque",fi:"Finnish",fr:"French",hi:"Hindi",hr:"Croatian",hu:"Hungarian",id:"Indonesian",it:"Italian",ja:"Japanese",ko:"Korean",lv:"Latvian",ms:"Malay",my:"Burmese",nl:"Dutch",no:"Norwegian",pl:"Polish",pt:"Portuguese",ro:"Romanian",ru:"Russian",sk:"Slovak",sl:"Slovenian",sr:"Serbian",sv:"Swedish",th:"Thai",tr:"Turkish",uk:"Ukrainian",ur:"Urdu",vi:"Vietnamese",zh:"Chinese"},Vk="By clicking the Accept button, you declare to agree with our <a>terms and conditions</a>, waiving the right of withdrawal and therefore will start the {trialDays}-day subscription for {trialPrice}, if after {trialDays} days and not having cancelled the subscription, it will automatically renew to the annual plan for {yearlyPrice} that will be billed each year. Being able to cancel the subscription at any time.",Wk={description:"Custom QR Code Generator with your logo, frame and colors. Create your free account and download your QR codes for URL, vCard, PDF and more.",keywords:"qr, qr code, qr code generator, create qr code, generate qr code free, make qr code, generate qr code for website",paymentAccepted:"Credit Card, Debit Card",title:"QR Code Generator: Create your QR easily"},Gk={app:{commerce:{description:"Buy your handmade garments in a simple way.",name:"Rustic Handmade"},description:"Control all your finances easily and quickly.",games:{description:"Try the free version of the best dance game.",name:"Moves Game"},health:{description:"Learn the best tips and routines for your fitness life.",name:"Sports center"},name:"Myfintech",places:{description:"Get to know all the attractions in Flamingo Beach.",name:"Flamingo Beach"},services:{description:"Reserve your turn to receive your cleaning at home.",name:"Shiny Clean"}},business:{button:"online order",government:{button:"See offices",org:"Government",subtitle:"Our secretariats are open Monday to Friday from 8 a.m. to 6 p.m. Learn about its functions below.",title:"Secretaries"},maintenance:{button:"Schedule Visit",org:"Home repairs",subtitle:"We carry out home repairs from Monday to Saturday, at a time to be agreed.",title:"Maintenance"},mobile:"Mobile phone",org:"Special Coffee",photo:{button:"Contact Us",org:"Photography and video",subtitle:"Contact us or send us your quote request and we will contact you as soon as possible.",title:"Wed Photography"},realState:{button:"Schedule Appointment",org:"Home Solutions",subtitle:"Our agency is open from Tuesday to Saturday from 9 a.m. to 6 p.m.",title:"Real Build"},restaurants:{button:"See menu",org:"RESTAURANT",subtitle:"Homemade food restaurant. Open Monday to Sunday, from 5 p.m. to 11 p.m.",title:"Good food"},subtitle:"Natural, artisan and local coffee. Open from Tuesday to Sunday from 8:00 am to 7:00 pm. Barista courses are held on Mondays.",title:"Special Coffee"},coupon:{badge:"25% OFF",cities:{badge:"Free",description:"Use this coupon to get free entry on your first visit to the museum.",title:"Free"},description:"Use this coupon in all technology products",editors:{badge:"20% off",description:"Use this coupon on all available books.",title:"20% off"},food:{badge:"15% off",description:"Try our new organic cookies.",title:"15% off"},photo:{badge:"25% off",description:"Use this coupon on your first photo session with us!",title:"25% off"},redeem:"Redeem now",restaurants:{badge:"10% off",description:"At your next lunch or dinner at our location.",title:"10% off"},title:"25% OFF"},email:{body:`Good morning team,
I would like to redesign my house with your company, can you help me?`,subject:"Home project"},event:{art:{button:"Confirm assistance",description:"We want to invite you to the exhibition at the local Art Museum, inside the Esmeralda Hall.",title:"Exhibition of Local Artists"},button:"Confirm assistance",clinics:{button:"Confirm assistance",description:"We would like to invite you to participate in our annual medical conference.",title:"Health Clinic Event"},description:"We want to invite you to our wedding and enjoy a very special day together.",education:{button:"Confirm assistance",description:"We want to invite you to our annual school fair to see all our completed projects.",title:"Annual School Fair"},gym:{button:"Confirm assistance",description:"We invite you to the training event that will be held at the headquarters of our gym.",title:"Training event"},mobile:"Mobile phone",organizations:{button:"Contribute",description:"Join our cause, contributing to free schooling for all childhoods.",title:"Schooling Campaign"},title:"Andy & Carol"},feedback:{category1:"Restaurant",category2:"Room",category3:"Reception",education:{category1:"Evaluation"},electronics:{category1:"Product"},hotels:{category1:"Room"},photographers:{category1:"Photography + Video"},software:{category1:"Rate your experience"},subcategory1:"Food",subcategory2:"Beverages",subcategory3:"Service",subcategory4:"Bed",subcategory5:"Cleaning",subcategory6:"Services",tourism:{category1:"Review"}},images:{button:"See more",companies:{description:"Learn about our latest architectural projects in our photographic portfolio.",title:"Our Company"},description:"Words can't express the love we have for one another. That's why we want to share with you our wedding photos.",food:{description:"Follow these simple steps to make a delicious strawberry cake, using our premium jam.",title:"Strawberry cake"},footer:"www.mypwedding.com",lodging:{description:"Get to know the facilities and amenities of our hotel.",title:"Sky Resort"},photo:{description:"Take a look at our photographic portfolio and contact us with any questions or request for a quote.",title:"JHP photography"},restaurants:{description:"Discover our variety of burgers and sides.",title:"Fast Food Rest"},title:"Our wedding"},imagesAlt:"An example of a QR code type {qrName} created with the QRFY QR code generator is shown",landing:{action:"Buy",description:"Take a retro look with the new shoes inspired by the basketball legend and feel the culture of the sport in every step.",education:{action:"To buy",description:"Understand the different techniques used to optimize marketing campaigns.",price:"From €199",title:"Marketing Course"},government:{action:"Read more",description:"Learn about the life, information, achievements and previous efforts of candidate Jacob Harris.",price:"Academic studies",title:"Jacob Harris"},maintenance:{action:"Link",description:"We are a general services company that offers comprehensive solutions in the construction sector.",price:"See jobs",title:"Builder Construction"},photographers:{action:"See portfolio",description:"Advertising, industrial and product photography and videography, in the best quality and adapted to your style.",price:"Ask for budget",title:"Photography & Video"},price:"From €99",title:"New Sports Shoes"},linkList:{business:{description:"Succulents",links:{item1:"Cactus",item2:"Senecio",item3:"Crassula",item4:"Echeveria"},title:"Sucu Luv"},description:"Gourmet recipes",drawing:{description:"Plastic artist",links:{item1:"Pencil and Charcoal",item2:"Watercolor",item3:"Oil",item4:"Acrylic"},title:"Ariana Monroe"},links:{item1:"Basket egg.",item2:"Shoyu Ramen.",item3:"Cheesecake",item4:"Uramaki."},products:{description:"Snacks",links:{item1:"Potato chips",item2:"Nachos",item3:"Crackers",item4:"Breadsticks"},title:"Good Snacks"},title:"Takeshi Fujimoto",tourism:{description:"Tourism",links:{item1:"Destinations",item2:"Activities",item3:"Promotions",item4:"Image Gallery"},title:"Lights Tour"}},menu:{allergen1:"Cereals",allergen2:"Crustaceans",allergen3:"Eggs",allergen4:"Fish",contact:{location:"Find us in",socials:"Our social networks"},description:"100% Neapolitan Pizza",events:{description:"M&G",title:"Wedding Menu"},hotels:{description:"Food&Drink",title:"Resort Hotel"},products:[{description:"Burrata, San Marzano tomato and olive oil",name:"Caprese Salad"},{description:"Tomato, mozzarella and basil sauce",name:"Pizza Margherita"},{description:"Variety of fruits to choose from: apple, peach, mango",name:"Fruit juice"},{description:"Homemade and made daily",name:"Tiramisu"}],pubs:{description:"Special drinks",title:"Drinks"},schedule:{closed:"closed",day1:"Friday",day2:"Saturday",day3:"Sunday",day4:"Monday",day5:"Tuesday",day6:"Wednesday",day7:"Thursday",subtitle:"Open Now",title:"Opening hours"},sectionName:"Starters",sections:["Starters","Pizza","Drinks","Desserts","Drinks","SPARKLING WINES","Saucers","Main dish","Main Courses"],title:"Corleone Pizzas",transports:{description:"Your flight menu",title:"First Class"}},pdf:{button:"See menu",description:"Our selection of burgers will surprise you. Their flavour will delight you.",editors:{button:"See Teasers",description:"Get to know the teasers of our future publications before anyone else.",org:"Teaser Editions",title:"Our books"},electronics:{button:"See Manual",description:"Learn the usage information of our portable external hard drive.",org:"Hard Drive",title:"User Manual"},hotels:{button:"See menu",description:"Learn about our menu and other room services.",org:"Sea Hotel",title:"Room service"},org:"Los Burgueses",organizations:{button:"See Campaign",description:"Learn the details of our cause and support our campaign.",org:"Save the Jungle",title:"Our campaign"},products:{button:"See Recipes",description:"Use our products to prepare the best recipes.",org:"Natural yogurt",title:"Get to know our recipes"},stadiums:{button:"View Events",description:"Find out about the upcoming events that will take place in our stadium",org:"Arena Stadium",title:"Live the GO! experience"},stores:{button:"See products",description:"Learn about our variety of natural products in our catalog.",org:"Shop Local",title:"Our products"},title:"Meet our burgers"},playlist:{authors:{description:"Our playlist",title:"Poetry, stories and more"},description:"Our first single",editorials:{description:"Our official playlist",title:"Bookstore"},government:{description:"City government",title:"Press Conference"},personal:{description:"Playlist",title:"Birthday party"}},product:{categories:{item1:{name:"Type of wine",value:"Red"},item2:{name:"Varieties",value:"Syrah, Black Grenache"},item3:{name:"Add",value:"2023"},item4:{name:"Region",value:"Montsant"},item5:{name:"Country of Origin",value:"Catalonia"},item6:{name:"Store",value:"Rebels Winery"},item7:{name:"Geographical indication",value:"Montsant"},item8:{name:"Alcohol",value:"14% Vol"},item9:{name:"Amount",value:"75 cl"}},description:"Montsant Winery",header:"Company",ingredients:{item1:"Grapes",item2:"Sulfites",title:"ingredients"},nutrients:{item1:{name:"Energy value",value:"351 kj."},item2:{name:"Energy value",value:"84 Kcal"},item3:{name:"Fats",value:"0 gr"},item4:{name:"Saturated fats",value:"0 gr"},item5:{name:"Carbohydrates",value:"3 gr"},item6:{name:"Sugars",value:"0.1 gr"},item7:{name:"Proteins",value:"0.1 gr"},item8:{name:"Salt",value:"0 gr"}},nutritionalInfoTitle:"Nutritional Information 100ml",title:"Rebels Wine"},qrfy:{wifi:{message:"Join the “Hotel Bar” Wi-fi network?"}},sms:{message:"I want to participate in the draw!"},social:{description:"Writer"},vcard:{businessServices:{lastName:"Melman",name:"WAKE",summary:"Estela Melman is a Portuguese businesswoman and communicator who has currently been working as a PR specialist for more than 5 years.",title:"PR Specialist"},education:{lastName:"Diaz",name:"Juan Pablo",summary:"Juan Pablo has more than 10 years of experience in our institution and is specialized in the area of Social Sciences.",title:"Associate Professor"},hotels:{name:"Nangi",summary:"Get to know and enjoy our facilities as if you were a local. Explore the most beautiful landscapes and enjoy new adventures. This unique place is waiting for you.",title:"Hotel"},lastName:"Muñoz",management:{lastName:"Melman",name:"WAKE",summary:"Estela Melman is a Portuguese businesswoman and politician who has currently been a member of parliament for more than 5 years.",title:"Deputy"},name:"Álvaro",personal:{lastName:"Martinez",name:"Aldana",summary:"Hello! Thanks for looking for me. If any of my belongings are lost, please contact me by phone or email.",title:"North Quarter"},realState:{name:"Buildings 22",summary:"Buildings 22 has been in the real estate market for more than 30 years and offers you the best properties available for sale and rent.",title:"Real Estate"},summary:"More than fifteen years of experience in the technology sector working for the most important companies: AME, Sternac, Riketan. Open to listening to innovative proposals.",title:"Publicist"},video:{button:"Play Now!",description:"The new indie game from the creators of Heroes of the Sea",finances:{button:"Watch now",description:"Follow our instructions to start investing correctly.",org:"Smart bank",title:"Step by step",videoDescription:"Learn how to invest"},org:"super games",organizations:{button:"Our Cause",description:"Learn about our cause and collaborate to save our native birds.",org:"Save Native Birds",title:"Save Native Birds",videoDescription:"Look at our actions."},particular:{button:"See tutorial",description:"Check out these ways to apply the cleanser",org:"Super cleaners",title:"SUPA CLEAN",videoDescription:"Safe for tinted glass"},products:{button:"Watch now",description:"Prepare your grandmother's favorite recipes with our help!",org:"Grandma Biscuit",title:"Grandma's Recipes",videoDescription:"See full recipe"},title:"space heroes",videoDescription:"Live the experience",writers:{button:"See interview",description:"Listen to the author talking about her new book",org:"When I see you I remember",title:"Maria Ines Cortes",videoDescription:"Full interview"}},website:{modalTitle:"QR code generator"},whatsapp:{message:"Hello! I am interested in purchasing a fiber optic plan."},wifi:{access:"Access",message:`Join the Wi-Fi network
"My Restaurant"?`}},qk={aboutUs:"About us",adminContact:"Contact",analysis:"Stats",api:"API",blog:"Blog",bulkCreate:"Bulk QR generation",contact:"Contact us",cookiesPolicy:"Cookies Policy",devs:"Developers",domains:"My domains",faq:"FAQ",features:"Products",gdpr:"GDPR",gdprTitle:"General Data Protection Regulation",helpCenter:"Help center",myAccount:"Settings",myQRs:"My QR codes",newQr:"New QR",pageNotFound:"Page not found",pageNotFoundText:"If you consider that it is an error, please do not hesitate to contact us in the <a>Contact section.</a>",plansAndPayments:"Plans and payments",pricing:"Plans and prices",privacyPolicy:"Privacy Policy ",qrCodeGenerator:"QR Code Generator",qrCodes:"QR codes",qrCodesFor:"QR Codes for",qrCodesOn:"QR Codes on",reportAbuse:"Report abuse",templates:"Templates",termsAndConditions:"Terms of Use and Contract",users:"Users"},Qk={item1:{text:"Once you subscribe to a plan, you can only make changes one month before your current subscription ends. Please note that you can cancel your plan at any time. If you have questions, contact us through <a>this link</a>.",title:"Can I change my plan?"},item3:{text:"Yes. With any plan you will have total access to the tools to create QRS, statistics and download formats.",title:"Do I have full access with any plan?"},item4:{text:"Of course, you have {days} days for free to try the app before choosing a paid plan.",title:"Can I try it for free?"},item5:{text:"We accept card payments (Mastercard, Visa). All payments will be made in the selected currency, and prices do not include value added tax.",title:"What payment methods do you accept?"},item6:{text:"You can cancel the subscription whenever you want without commitment from the Billing section in your account.",title:"How can I cancel my subscription?"},title:"Questions about plans"},Yk={app:{amazon:{getIt:"Available on",store:"Amazon.com"},apple:{getIt:"Download on the",store:"App Store"},google:{getIt:"Get it on",store:"Google Play"}},business:{aboutTheCompany:"About the company",call:"Call",contact:"Contact",email:"Email",facilities:"Facilities",name:"Name",openingHours:"Opening hours",openNow:"Open now",showInMap:"Show on map",socialTitle:"Meet me at:",website:"Website:"},coupon:{backLocation:"See coupon",backTitleCoupon:"Coupon code",backTitleLocation:"Location",getCoupon:"Get coupon",shareModal:{copy:'Copy: "{couponUrl}"',title:"Share this coupon"},showMaps:"Show on Google Maps",termsAndConditions:"Terms and Conditions",validUntil:"Valid until {date}",viewLocation:"See location"},email:{address:"Address"},errors:{inactive:"This QR code has been deactivated for some reason.",inactiveDisclimer:"If you are the owner of this QR code, {link} to reactivate it.",limit:"The limit of total scans has been reached.",logIn:"log in",message:"The page could not be loaded, please try again later.",messageOoops:"Oops!",schedule:"Currently it has a time programming limitation."},event:{aboutUs:"About us",actions:{addCalendar:"Add to calendar"},calendarModal:{apple:"Apple Calendar",google:"Google Calendar",outlook:"Outlook Calendar",title:"Add to calendar",yahoo:"Yahoo Calendar"},days:"When",facilities:"Facilities",hours:"Schedule",organizerName:"Organizer",website:"website"},feedback:{categoriesReviewed:"{categories, plural, one {{categories} category reviewed} other {{categories} categories reviewed}}",commentPlaceholder:"Add a comment",contactData:"Please enter your contact information if you want us to get back to you.",description:"Please select to review a category.",myReviews:"My reviews",myReviewsDescription:"All your ratings will be shown here. Go back to review more categories.",myReviewsEmptyDescription:"All your ratings will be shown here. Go back to review your first category.",optional:"(optional)",reviewCategory:"Review a category",reviewDescription:"Please evaluate using the stars.",send:"Send feedback",storeReview:"Save and rate more",successBackButton:"Back to main page",successMessage:"Your feedback has been submitted. Thank you for taking the time to share your opinion.",successTitle:"Thank you!",title:"Give us your feedback"},invalidQrAccessPassword:"Incorrect password.",menu:{allergenProducts:"Allergen Products",footer:{findUs:"Find us in",networks:"Our social networks"},languageSelectorMobile:{header:"Menu language:",inputPlaceholder:"Search language..."},searchMobile:{inputPlaceholder:"Search..."},sections:{searchTitle:"Search Results"},sectionsIndex:{inputPlaceholder:"Search in the menu",title:"Menu"}},pdf:{button:"See PDF"},requiredPassword:"Password required",requiredPaswordSubtitle:"If you want to access this qr you must enter its corresponding password.",socials:{findMeOn:"Find me at:"},title:{errors:{invalid:"QR Code: Invalid",limitReached:"QR Code: Limit reached",notFound:"QR Code: Not found",schedule:"QR Code: Invalid Schedule"}},vcard:{addContact:"add contact",call:"Call",cellPhone:"Mobile Phone",fax:"Fax",mailto:"Email",phone:"Landline",showOnMap:"Show on map",socialTitle:"Find me on:",ubication:"Location"}},Kk={benefitsTitle:"All plans include:",btcDisclaimer:"Coming Soon",description:"Try it for {trialDays} days for free before subscribing to the plan that best suits your needs.",disclaimer1:"Value Added Tax not included in the amounts.",disclaimer2:"If you would like to make changes to your subscription, please contact our <a>support team</a>",discount:"Save {value}%",discountAnnually:"Save {value}% annually",featured:"Best Value",item1:{description:"Create unlimited QRs and update them whenever you want in real time.",title:"Unlimited dynamic QR"},item2:{description:"Choose from multiple QR types, such as URL, PDF, Menu, and more.",title:"Variety of QR types"},item3:{description:"Customize your QRs with colors, fonts, and the logo of your choice, among other options.",title:"Editing and management of QR codes"},item4:{description:"Your QRs can be scanned unlimited times.",title:"Unlimited scans"},item5:{description:"Get statistics on the number of scans, locations and user devices.",title:"Complete QR analytics"},item6:{description:"Download your QR in PNG, SVG, PDF, among others.",title:"Variety of download formats"},item7:{description:"Invite the users you want to collaborate in the creation and management of your QR.",title:"Unlimited users"},item8:{title:"Bulk create"},item8b:{description:"Generate multiple QRs with CSV or REST API and get them in a single download.",title:"Bulk create and download"},item9:{description:"Keep track of the interaction with your QRs.",title:"Integrate Google and Facebook pixel"},item10:{description:"Receive priority and personalized technical assistance to solve any problem.",title:"Premium Support"},item11:{description:"Cancel your subscription at any time, without restrictions.",title:"Cancel whenever you want"},item12:{description:"Use your own domain to customize the URL of your QRs.",title:"Custom domain"},metaDescription:"Explore QRFY's pricing plans with a 7-day free trial. Choose from various options to suit your QR code needs, including premium features for businesses and advanced users.",ongDisclaimer:"If you represent a non-profit organization, university, school or other similar entity, we invite you to contact our support team to offer you a solution that suits your needs. <a>Contact us</a>",paymentMethods:"Accepted payment methods",payments:"Payment methods",perMonth:"month",plans:{annually:{name:"12 months",periodicity:"Billed annually",shortName:"12 months"},biannual:{name:"6 months",periodicity:"Billed every semester",shortName:"6 months"},monthly:{name:"1 month",periodicity:"Billed monthly",shortName:"1 month"},quarterly:{name:"3 months",periodicity:"Billed quarterly",shortName:"3 months"},trial:{description:"Discover all the features that QRFY has to offer for one week at a reduced cost. No commitments. If you choose not to cancel your subscription after {days} days, you will automatically be enrolled in our monthly plan for only {monthlyPrice} per month.",descriptionDashboard:"After {days} days, automatically renew to monthly plan, cancel anytime",name:"Try {days} days",periodicity:"{days} Days",shortName:"Try {days} days"},weekly:{name:"1 Week",periodicity:"Billed weekly",shortName:"1 Week"}},subscriptionStatusActive:"Active",vatIncluded:"Value added tax included in the amounts."},Zk={app:{description:"Redirect to an app store",name:"Apps"},barcode:{description:"Supports GS1 standards",name:"2D Barcode"},business:{description:"Share information about your business",name:"Business"},coupon:{description:"Share a coupon",name:"Coupon"},email:{description:"Send an email with a predefined text"},event:{description:"Promote and share an event",name:"Event"},feedback:{description:"Collect feedback and get rated",name:"Feedback"},images:{description:"Show an image gallery",name:"Images"},landing:{description:"Create your own page",name:"Landing page"},linkList:{description:"Group links",name:"List of links"},menu:{description:"Display the menu of a restaurant or bar",name:"Menu"},menuTitle:"Types of QR code",moreInfo:"More Info",mp3:{description:"Play an audio file"},pdf:{description:"Show a PDF",name:"PDF"},playlist:{description:"Share your own music",name:"Playlist"},product:{description:"Group information about your product",name:"Product"},sms:{description:"Send a text message"},social:{description:"Share your social profiles",name:"Social Media"},text:{description:"Displays plain text.",name:"Text"},urlStatic:{description:"Open a url",name:"URL"},vcard:{description:"Share and store your contact details"},vcardPlus:{description:"Share contact details",name:"vCard Plus"},video:{description:"Show a video",name:"Video"},website:{description:"Open a URL",name:"Website"},whatsapp:{description:"Send a WhatsApp message"},wifi:{description:"Connect to a Wi-Fi network",name:"Wi-Fi"}},Xk={labels:{reason:"Why do you want to report this QR?",url:"QR URL to report"}},Jk={days:{friday:"Friday",monday:"Monday",saturday:"Saturday",sunday:"Sunday",thursday:"Thursday",tuesday:"Tuesday",wednesday:"Wednesday"},formats:{"24hs":"24 hrs",ampm:"am/pm"}},eI="QR Code Generator",tI={createYourOwnQR:"Create your own QR"},rI={actionLabel:"write review",message:"Could you leave us a review of the service? It is very important for us."},nI={enciptationOption:{nopass:"nopass",wep:"WEP",wpa:"WPA",wpaeap:"WPA2-EAP"}},oI={aboutUs:Ak,account:kk,altLogo:Ik,builder:Mk,common:Pk,contact:Ok,docs:Lk,events:Nk,faq:$k,featuresNavbar:Dk,footer:jk,formikFields:Fk,globalAlert:Bk,header:Hk,home:Uk,languages:zk,legalDischarge:Vk,metadata:Wk,mockups:Gk,pages:qk,paymentFaq:Qk,previews:Yk,pricing:Kk,qrTypes:Zk,reportAbuse:Xk,schedule:Jk,titleLogo:eI,tooltips:tI,valuation:rI,wifi:nI},g9=Object.freeze(Object.defineProperty({__proto__:null,aboutUs:Ak,account:kk,altLogo:Ik,builder:Mk,common:Pk,contact:Ok,default:oI,docs:Lk,events:Nk,faq:$k,featuresNavbar:Dk,footer:jk,formikFields:Fk,globalAlert:Bk,header:Hk,home:Uk,languages:zk,legalDischarge:Vk,metadata:Wk,mockups:Gk,pages:qk,paymentFaq:Qk,previews:Yk,pricing:Kk,qrTypes:Zk,reportAbuse:Xk,schedule:Jk,titleLogo:eI,tooltips:tI,valuation:rI,wifi:nI},Symbol.toStringTag,{value:"Module"}));function v9(e){const t=Pp(e||Gr.defaultLocale);let r=Gr.defaultLocale;if(t&&ko.includes(t))r=t;else{const n=WA();n&&ko.includes(n)&&(r=n)}return r}const Ua={main:{en:d1(oI)},private:{},landing:{},qrCodesOn:{}},ov={main:{load(e){return id(Object.assign({"./locale/bg.json":()=>N(()=>import("./bg-iausuHm3.js"),[]),"./locale/ca.json":()=>N(()=>import("./ca-BQzSvpLc.js"),[]),"./locale/cs.json":()=>N(()=>import("./cs-VYGBMFwz.js"),[]),"./locale/da.json":()=>N(()=>import("./da-CXYAqruw.js"),[]),"./locale/de.json":()=>N(()=>import("./de-BQlKkQGP.js"),[]),"./locale/el.json":()=>N(()=>import("./el-DVak296a.js"),[]),"./locale/en.json":()=>N(()=>Promise.resolve().then(()=>g9),void 0),"./locale/es.json":()=>N(()=>import("./es-Dkmz_ZGz.js"),[]),"./locale/eu.json":()=>N(()=>import("./eu-B5yREEQi.js"),[]),"./locale/fi.json":()=>N(()=>import("./fi-D00oR-Cw.js"),[]),"./locale/fr.json":()=>N(()=>import("./fr-CeRESJ3W.js"),[]),"./locale/hr.json":()=>N(()=>import("./hr-3A6rKmHx.js"),[]),"./locale/hu.json":()=>N(()=>import("./hu-CuC8D3Ua.js"),[]),"./locale/id.json":()=>N(()=>import("./id-BgvemWQd.js"),[]),"./locale/it.json":()=>N(()=>import("./it-CuRFF_Eg.js"),[]),"./locale/ja.json":()=>N(()=>import("./ja-DaT8MRiO.js"),[]),"./locale/ko.json":()=>N(()=>import("./ko-DwhjF4PK.js"),[]),"./locale/lv.json":()=>N(()=>import("./lv-CFoi8F5m.js"),[]),"./locale/ms.json":()=>N(()=>import("./ms-BWwsOa4u.js"),[]),"./locale/nb.json":()=>N(()=>import("./nb-C4aoj_qv.js"),[]),"./locale/nl.json":()=>N(()=>import("./nl-mZE9XMF_.js"),[]),"./locale/pl.json":()=>N(()=>import("./pl-CTwkls9r.js"),[]),"./locale/pt.json":()=>N(()=>import("./pt-BB7pr25u.js"),[]),"./locale/region-es.json":()=>N(()=>import("./region-es-D5W0CW2V.js"),[]),"./locale/region.json":()=>N(()=>import("./region-oYX8wZm9.js"),[]),"./locale/ro.json":()=>N(()=>import("./ro-CkVsscVi.js"),[]),"./locale/ru.json":()=>N(()=>import("./ru-3YXB7bAy.js"),[]),"./locale/sk.json":()=>N(()=>import("./sk-BkfKHGWG.js"),[]),"./locale/sl.json":()=>N(()=>import("./sl-kjfsobmv.js"),[]),"./locale/sr.json":()=>N(()=>import("./sr-CERW2Oan.js"),[]),"./locale/sv.json":()=>N(()=>import("./sv-DQYImpGA.js"),[]),"./locale/th.json":()=>N(()=>import("./th-CyCB0E5S.js"),[]),"./locale/tr.json":()=>N(()=>import("./tr-D7MlZLNd.js"),[]),"./locale/uk.json":()=>N(()=>import("./uk-CNpNnzJr.js"),[]),"./locale/zh.json":()=>N(()=>import("./zh-DvT-RnwJ.js"),[])}),`./locale/${e}.json`,3)}},private:{isActive(e){return e.startsWith("/app")},load(e){return id(Object.assign({"./locale/private/bg.json":()=>N(()=>import("./bg-OSj14PkE.js"),[]),"./locale/private/ca.json":()=>N(()=>import("./ca-Cp7uZR5P.js"),[]),"./locale/private/cs.json":()=>N(()=>import("./cs-BvCkmeFA.js"),[]),"./locale/private/da.json":()=>N(()=>import("./da-CEq-2X3w.js"),[]),"./locale/private/de.json":()=>N(()=>import("./de-BHVf3zIx.js"),[]),"./locale/private/el.json":()=>N(()=>import("./el-C0kQk9Sj.js"),[]),"./locale/private/en.json":()=>N(()=>import("./en-vg2rbdVH.js"),[]),"./locale/private/es.json":()=>N(()=>import("./es-Kl2a7pBT.js"),[]),"./locale/private/eu.json":()=>N(()=>import("./eu-53I_PN5g.js"),[]),"./locale/private/fi.json":()=>N(()=>import("./fi-DqftCwSQ.js"),[]),"./locale/private/fr.json":()=>N(()=>import("./fr-h_FxBGM2.js"),[]),"./locale/private/hr.json":()=>N(()=>import("./hr-DXU1C9b9.js"),[]),"./locale/private/hu.json":()=>N(()=>import("./hu-Cf4YLCPx.js"),[]),"./locale/private/id.json":()=>N(()=>import("./id-CanXZMBu.js"),[]),"./locale/private/it.json":()=>N(()=>import("./it-CAKBXkxi.js"),[]),"./locale/private/ja.json":()=>N(()=>import("./ja-BbKZOjbg.js"),[]),"./locale/private/ko.json":()=>N(()=>import("./ko-BWD8AcHw.js"),[]),"./locale/private/lv.json":()=>N(()=>import("./lv-D4YgwPwQ.js"),[]),"./locale/private/ms.json":()=>N(()=>import("./ms-CimTIbd5.js"),[]),"./locale/private/nb.json":()=>N(()=>import("./nb-Co2d5ifP.js"),[]),"./locale/private/nl.json":()=>N(()=>import("./nl-BD6Hl4kn.js"),[]),"./locale/private/pl.json":()=>N(()=>import("./pl-BgImX379.js"),[]),"./locale/private/pt.json":()=>N(()=>import("./pt-Ck-FsFDH.js"),[]),"./locale/private/ro.json":()=>N(()=>import("./ro-CXVOPrpx.js"),[]),"./locale/private/ru.json":()=>N(()=>import("./ru-By79ExQp.js"),[]),"./locale/private/sk.json":()=>N(()=>import("./sk-DHFtOTz_.js"),[]),"./locale/private/sl.json":()=>N(()=>import("./sl-DoB2yrN5.js"),[]),"./locale/private/sr.json":()=>N(()=>import("./sr-DWlYP2Oq.js"),[]),"./locale/private/sv.json":()=>N(()=>import("./sv-BdNkE5ZZ.js"),[]),"./locale/private/th.json":()=>N(()=>import("./th-8GDING8w.js"),[]),"./locale/private/tr.json":()=>N(()=>import("./tr-CHCVMNOs.js"),[]),"./locale/private/uk.json":()=>N(()=>import("./uk-dWTimgMN.js"),[]),"./locale/private/zh.json":()=>N(()=>import("./zh-b0kxvLXH.js"),[])}),`./locale/private/${e}.json`,4)}},landing:{isActive(e){return!!ga(e,{path:[Q.qrTypes,Q.qrForBusiness,Q.features].map(t=>`/:lang?${t}`)})},load(e){return id(Object.assign({"./locale/landing/bg.json":()=>N(()=>import("./bg-DSlEB6TU.js"),[]),"./locale/landing/ca.json":()=>N(()=>import("./ca-DjNW9Gkw.js"),[]),"./locale/landing/cs.json":()=>N(()=>import("./cs-CWDD5x72.js"),[]),"./locale/landing/da.json":()=>N(()=>import("./da-CvX6NvOO.js"),[]),"./locale/landing/de.json":()=>N(()=>import("./de-DNaHkZQS.js"),[]),"./locale/landing/el.json":()=>N(()=>import("./el-Ds1vGlkI.js"),[]),"./locale/landing/en.json":()=>N(()=>import("./en-54qosQlU.js"),[]),"./locale/landing/es.json":()=>N(()=>import("./es-B_FVqsCc.js"),[]),"./locale/landing/eu.json":()=>N(()=>import("./eu-DpfgauUB.js"),[]),"./locale/landing/fi.json":()=>N(()=>import("./fi-COHSk1fl.js"),[]),"./locale/landing/fr.json":()=>N(()=>import("./fr-Df5FiZjY.js"),[]),"./locale/landing/hr.json":()=>N(()=>import("./hr-DiAwSaBI.js"),[]),"./locale/landing/hu.json":()=>N(()=>import("./hu-XrypEhA5.js"),[]),"./locale/landing/id.json":()=>N(()=>import("./id-nMPW1ccc.js"),[]),"./locale/landing/it.json":()=>N(()=>import("./it-DScWJB-6.js"),[]),"./locale/landing/ja.json":()=>N(()=>import("./ja-Bv5GywbK.js"),[]),"./locale/landing/ko.json":()=>N(()=>import("./ko-Bee56cub.js"),[]),"./locale/landing/lv.json":()=>N(()=>import("./lv-SZ6_o1Jz.js"),[]),"./locale/landing/ms.json":()=>N(()=>import("./ms-DkHGIU0S.js"),[]),"./locale/landing/nb.json":()=>N(()=>import("./nb-D6dmgHEF.js"),[]),"./locale/landing/nl.json":()=>N(()=>import("./nl-CW-alR2g.js"),[]),"./locale/landing/pl.json":()=>N(()=>import("./pl-3DX30flI.js"),[]),"./locale/landing/pt.json":()=>N(()=>import("./pt-DY48ioFf.js"),[]),"./locale/landing/ro.json":()=>N(()=>import("./ro-yPOYcRIO.js"),[]),"./locale/landing/ru.json":()=>N(()=>import("./ru-CL1AR3Ic.js"),[]),"./locale/landing/sk.json":()=>N(()=>import("./sk-qWwbZucS.js"),[]),"./locale/landing/sl.json":()=>N(()=>import("./sl-B8OOB7V5.js"),[]),"./locale/landing/sr.json":()=>N(()=>import("./sr-BAiwvgwt.js"),[]),"./locale/landing/sv.json":()=>N(()=>import("./sv-BF2gj2F3.js"),[]),"./locale/landing/th.json":()=>N(()=>import("./th-DkjYlBv_.js"),[]),"./locale/landing/tr.json":()=>N(()=>import("./tr-pXM7Ribc.js"),[]),"./locale/landing/uk.json":()=>N(()=>import("./uk-BKTW11Sr.js"),[]),"./locale/landing/zh.json":()=>N(()=>import("./zh-CG64f_YQ.js"),[])}),`./locale/landing/${e}.json`,4)}},qrCodesOn:{isActive(e){return!!ga(e,{path:`/:lang?${Q.qrCodesOn}`})},load(e){return id(Object.assign({"./locale/qr-codes-on/bg.json":()=>N(()=>import("./bg-Cry4R_5c.js"),[]),"./locale/qr-codes-on/ca.json":()=>N(()=>import("./ca-BH-njppH.js"),[]),"./locale/qr-codes-on/cs.json":()=>N(()=>import("./cs-DTlfsqrF.js"),[]),"./locale/qr-codes-on/da.json":()=>N(()=>import("./da-Di7P5wAN.js"),[]),"./locale/qr-codes-on/de.json":()=>N(()=>import("./de-KizxEC9t.js"),[]),"./locale/qr-codes-on/el.json":()=>N(()=>import("./el-DxmF9qWy.js"),[]),"./locale/qr-codes-on/en.json":()=>N(()=>import("./en-7QfiCR3E.js"),[]),"./locale/qr-codes-on/es.json":()=>N(()=>import("./es-DflMIPBx.js"),[]),"./locale/qr-codes-on/eu.json":()=>N(()=>import("./eu-CRwzX1sY.js"),[]),"./locale/qr-codes-on/fi.json":()=>N(()=>import("./fi-_PMrEJwV.js"),[]),"./locale/qr-codes-on/fr.json":()=>N(()=>import("./fr-Dvy8Ct5z.js"),[]),"./locale/qr-codes-on/hr.json":()=>N(()=>import("./hr-gvGg7rBR.js"),[]),"./locale/qr-codes-on/hu.json":()=>N(()=>import("./hu-DuTld-ZZ.js"),[]),"./locale/qr-codes-on/id.json":()=>N(()=>import("./id-CadonxX0.js"),[]),"./locale/qr-codes-on/it.json":()=>N(()=>import("./it--KfGYnzp.js"),[]),"./locale/qr-codes-on/ja.json":()=>N(()=>import("./ja-Di-5BKUr.js"),[]),"./locale/qr-codes-on/ko.json":()=>N(()=>import("./ko-CCqBK_yE.js"),[]),"./locale/qr-codes-on/lv.json":()=>N(()=>import("./lv-BJVmcazP.js"),[]),"./locale/qr-codes-on/ms.json":()=>N(()=>import("./ms-BGjx2a0h.js"),[]),"./locale/qr-codes-on/nb.json":()=>N(()=>import("./nb-dFCrb2B7.js"),[]),"./locale/qr-codes-on/nl.json":()=>N(()=>import("./nl-Dzd_UXf8.js"),[]),"./locale/qr-codes-on/pl.json":()=>N(()=>import("./pl-BejFf483.js"),[]),"./locale/qr-codes-on/pt.json":()=>N(()=>import("./pt-DNvnNSa-.js"),[]),"./locale/qr-codes-on/ro.json":()=>N(()=>import("./ro-DQQvX55a.js"),[]),"./locale/qr-codes-on/ru.json":()=>N(()=>import("./ru-CBLAF0rY.js"),[]),"./locale/qr-codes-on/sk.json":()=>N(()=>import("./sk-DpeKYfYL.js"),[]),"./locale/qr-codes-on/sl.json":()=>N(()=>import("./sl-Dl5AjL80.js"),[]),"./locale/qr-codes-on/sr.json":()=>N(()=>import("./sr-Rj9IYPvE.js"),[]),"./locale/qr-codes-on/sv.json":()=>N(()=>import("./sv-WN3EH8t2.js"),[]),"./locale/qr-codes-on/th.json":()=>N(()=>import("./th-J60dZkWs.js"),[]),"./locale/qr-codes-on/tr.json":()=>N(()=>import("./tr-BsHEPFj1.js"),[]),"./locale/qr-codes-on/uk.json":()=>N(()=>import("./uk-B0V4Cm06.js"),[]),"./locale/qr-codes-on/zh.json":()=>N(()=>import("./zh-DlgSukbx.js"),[])}),`./locale/qr-codes-on/${e}.json`,4)}}},xw=Object.keys(ov);function y9(e){const t=v9(e.locale),r=Oo(),[n,o]=g.useState(Ua.main[t]||Ua.main.en),i=it(m=>m.user.translationsReady),[a,s]=g.useState(t==="en"?{scopes:["main"],locale:"en"}:{scopes:[]}),{pathname:l}=Nr(),c=g.useMemo(()=>xw.find(m=>m!=="main"&&ov[m].isActive(l))||"main",[l]),[u,p]=g.useState(()=>c!=="main"||t!=="en");function f(m){return Ua[m][t]?Ua[m][t]:ov[m].load(t).then(v=>{const h=d1(v.default);return Ua[m][t]=h,h})}return g.useLayoutEffect(()=>{if(a.scopes.includes(c)&&a.locale===t){r(Lt.setTranslationsReady({ready:!0,locale:t}));return}p(!0);const m=[],v=[];a.scopes.includes(c)||r(Lt.setTranslationsReady({ready:!1}));for(const h of xw)(["main",c].includes(h)||!!Ua[h][t])&&(m.push(f(h)),v.push(h));(async()=>{try{const h=await Promise.all(m);o(h.reduce((x,y)=>({...x,...y}),{})),r(Lt.setTranslationsReady({ready:!0,locale:t})),s({scopes:v,locale:t})}catch(h){console.error(h),r(Lt.setTranslationsReady({ready:!0,locale:a.locale||"en"}))}p(!1)})()},[t,c]),d.jsx(n9,{...e,locale:t,messages:n,defaultLocale:Gr.defaultLocale,onError:m=>pj(m,t,u||!i)})}var b9=function(t,r){return t===void 0&&(t=[]),r===void 0&&(r=[]),t.length!==r.length||t.some(function(n,o){return!Object.is(n,r[o])})},ww={error:null},x9=function(e){dn(t,e);function t(){for(var n,o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];return n=e.call.apply(e,[this].concat(i))||this,n.state=ww,n.resetErrorBoundary=function(){for(var s,l=arguments.length,c=new Array(l),u=0;u<l;u++)c[u]=arguments[u];n.props.onReset==null||(s=n.props).onReset.apply(s,c),n.reset()},n}t.getDerivedStateFromError=function(o){return{error:o}};var r=t.prototype;return r.reset=function(){this.setState(ww)},r.componentDidCatch=function(o,i){var a,s;(a=(s=this.props).onError)==null||a.call(s,o,i)},r.componentDidUpdate=function(o,i){var a=this.state.error,s=this.props.resetKeys;if(a!==null&&i.error!==null&&b9(o.resetKeys,s)){var l,c;(l=(c=this.props).onResetKeysChange)==null||l.call(c,o.resetKeys,s),this.reset()}},r.render=function(){var o=this.state.error,i=this.props,a=i.fallbackRender,s=i.FallbackComponent,l=i.fallback;if(o!==null){var c={error:o,resetErrorBoundary:this.resetErrorBoundary};if(g.isValidElement(l))return l;if(typeof a=="function")return a(c);if(s)return g.createElement(s,c);throw new Error("react-error-boundary requires either a fallback, fallbackRender, or FallbackComponent prop")}return this.props.children},t}(g.Component);let x1=class{async call({logError:t=!0,completeResponse:r=!1,...n}){var o,i;try{const{url:a,data:s,headers:l,params:c,...u}=n;let p=s,f={};const m=new URL(a,window.location.origin);c&&Object.entries(c).forEach(([x,y])=>{Array.isArray(y)?y.forEach(b=>{m.searchParams.append(`${x}[]`,b)}):m.searchParams.append(x,y)}),s instanceof File||(p=JSON.stringify(s),f={"Content-Type":"application/json"});const v=await fetch(m,{...u,headers:{...f,...l},body:p});if(!v.ok)throw v;return r?v:await v.json()}catch(a){throw a instanceof Response&&(t&&console.error(a.statusText),(a.headers.get("content-type")||"").includes("application/json")&&(a.data=await a.json())),t&&console.error(((i=(o=a==null?void 0:a.response)==null?void 0:o.data)==null?void 0:i.message)||a),a}}};class w9 extends x1{logout(){return this.call({url:"/api/user/account/logout"})}async me(){const t=await this.call({url:"/api/user/me",completeResponse:!0}),r=t.headers.get("x-country")||"",n=await t.json();return window.enhanced_conversion_data={email:(n==null?void 0:n.email)||""},{...n,country:r.toLocaleLowerCase()}}update(t){return this.call({url:"/api/user/me",method:"POST",data:t})}savePushSubscription(t){return this.call({url:"/api/user/me/push-subscription",method:"POST",data:t})}clearPushSubscription(){return this.call({url:"/api/user/me/push-subscription",method:"DELETE"})}}const Hc=new w9;let S9=class extends x1{async getPrices({country:t,currency:r,filterActive:n=!1}){const o=new URLSearchParams;t&&o.append("country",t),r&&o.append("currency",r);const i=await this.call({url:`/api/stripe/prices?${o.toString()}`,completeResponse:!0}),a=await i.json();return n?{prices:a.filter(s=>s.active),headers:i.headers}:{prices:a,headers:i.headers}}getCurrencies(){return this.call({url:"/api/stripe/currencies"})}};const E9=new S9,iI=()=>N(()=>import("./index-CcPaGsgl.js"),__vite__mapDeps([0,1]));async function lh(e,t){var o;e(Lt.fetchUserData());let r,n;try{return[n,r]=await Promise.all([Hc.me(),iI()]),r.setUser({email:n.email}),localStorage.setItem("user",JSON.stringify(n)),t?window.location=t:await e(Lt.fetchUserDataSuccess(n)),n}catch(i){((o=i.response)==null?void 0:o.status)===401&&localStorage.removeItem("user"),r&&r.setUser(null),e(Lt.fetchUserDataFailure());return}}function C9(e){return async(t,r)=>{const{user:n}=r().user;t(Lt.logout());let o;try{n!=null&&n.pushNotificationsEnabled&&Hc.clearPushSubscription().catch(()=>console.error("Failed to clear push subscription")),[,o]=await Promise.all([Hc.logout(),iI()]),localStorage.removeItem("user"),localStorage.removeItem("checkout"),localStorage.removeItem("builderAutocomplete"),t(Lt.logoutSuccess()),o.setUser(null),e.push(Yt("home")),t({type:"builder/CLEAR"})}catch{t(Lt.logoutFailure())}}}function mse(){return async e=>{e(Lt.fetchCurrencies());try{const t=await E9.getCurrencies();e(Lt.fetchCurrenciesSuccess(t))}catch{e(Lt.fetchCurrenciesFailure())}}}const T9={fetchUserData:lh};function ze(e,t=5,r=1e3){return new Promise((n,o)=>{e().then(n).catch(i=>{setTimeout(()=>{if(t===1){o(i);return}ze(e,t-1,r).then(n,o)},r)})})}function aI(e,t){return Object.keys(e).filter(r=>!t.includes(r)).reduce((r,n)=>(r[n]=e[n],r),{})}function R9(e,t){return Object.keys(e).filter(r=>t.includes(r)).reduce((r,n)=>(r[n]=e[n],r),{})}function sI(e,t){return t.split(".").reduce((n,o,i)=>{if(i===0)return e[o];if(!(typeof n>"u"))return n[o]},void 0)}function _9(e={},t){const r=Object.keys(t).reduce((n,o)=>e[o]instanceof Object&&t[o]instanceof Object&&!(t[o]instanceof File)&&!Array.isArray(t[o])?{...n,[o]:_9(e[o],t[o])}:{...n,[o]:t[o]},{});return{...e,...r}}const A9=(e,t,r)=>Object.keys(e).reduce((n,o)=>t(n,e[o],o,e),r),gse=(e,t)=>A9(e,(r,n,o)=>t(n,o,e)?{...r,[o]:n}:r,{}),lI=(e,t)=>{if(e===t)return!0;if(e instanceof Date&&t instanceof Date)return e.getTime()===t.getTime();if(!e||!t||typeof e!="object"&&typeof t!="object")return e===t;if(e.prototype!==t.prototype)return!1;const r=Object.keys(e);return r.length!==Object.keys(t).length?!1:r.every(n=>lI(e[n],t[n]))};function Sw(e,t){if(e.inserted[t.name]===void 0)return e.insert("",t,e.sheet,!0)}function Ew(e,t,r){var n=[],o=By(e,n,r);return n.length<2?r:o+t(n)}var k9=function(t){var r=Pf(t);r.sheet.speedy=function(s){this.isSpeedy=s},r.compat=!0;var n=function(){for(var l=arguments.length,c=new Array(l),u=0;u<l;u++)c[u]=arguments[u];var p=Cs(c,r.registered,void 0);return Hy(r,p,!1),r.key+"-"+p.name},o=function(){for(var l=arguments.length,c=new Array(l),u=0;u<l;u++)c[u]=arguments[u];var p=Cs(c,r.registered),f="animation-"+p.name;return Sw(r,{name:p.name,styles:"@keyframes "+f+"{"+p.styles+"}"}),f},i=function(){for(var l=arguments.length,c=new Array(l),u=0;u<l;u++)c[u]=arguments[u];var p=Cs(c,r.registered);Sw(r,p)},a=function(){for(var l=arguments.length,c=new Array(l),u=0;u<l;u++)c[u]=arguments[u];return Ew(r.registered,n,I9(c))};return{css:n,cx:a,injectGlobal:i,keyframes:o,hydrate:function(l){l.forEach(function(c){r.inserted[c]=!0})},flush:function(){r.registered={},r.inserted={},r.sheet.flush()},sheet:r.sheet,cache:r,getRegisteredStyles:By.bind(null,r.registered),merge:Ew.bind(null,r.registered,n)}},I9=function e(t){for(var r="",n=0;n<t.length;n++){var o=t[n];if(o!=null){var i=void 0;switch(typeof o){case"boolean":break;case"object":{if(Array.isArray(o))i=e(o);else{i="";for(var a in o)o[a]&&a&&(i&&(i+=" "),i+=a)}break}default:i=o}i&&(r&&(r+=" "),r+=i)}}return r},cI=k9({key:"css"}),xe=cI.cx,hs=cI.css;function uI(e,t){if(!(t instanceof Object))return e;const r={};return Object.keys(e).forEach(n=>r[n]=xe(e[n],t[n])),Object.keys(t).forEach(n=>{if(n in e)return;const o=t[n];typeof o=="string"&&(r[n]=o)}),r}function Np(e){if(!(e instanceof Object)||typeof e=="function")return e;const t=[];for(const r in e){const n=e[r],o=typeof n;if(!(o==="string"||o==="number"&&!Number.isNaN(n)||o==="boolean"||n===void 0||n===null))return e;t.push(`${r}:${o}_${n}`)}return`xSqLiJdLMd9s${t.join("|")}`}const M9=({classes:e,theme:t,muiStyleOverridesParams:r,name:n})=>{let o,i;e:{if(n==="makeStyle no name"){n=void 0;break e}if(r!==void 0&&n===void 0)throw new Error("To use muiStyleOverridesParams, you must specify a name using .withName('MyComponent')")}let a;try{a=n===void 0?void 0:((i=(o=t.components)===null||o===void 0?void 0:o[n])===null||i===void 0?void 0:i.styleOverrides)||void 0}catch{}const s=g.useMemo(()=>{if(a===void 0)return;const l={};for(const c in a){const u=a[c];u instanceof Object&&(l[c]=hs(typeof u=="function"?u({theme:t,ownerState:r==null?void 0:r.ownerState,...r==null?void 0:r.props}):u))}return l},[a,Np(r==null?void 0:r.props),Np(r==null?void 0:r.ownerState),hs]);return e=g.useMemo(()=>uI(e,s),[e,s,xe]),{classes:e}};function dI(e={},t={}){const r={};for(const[n,o]of Object.entries(e)){if(typeof o=="function"){r[n]=o(t);continue}if(typeof o=="object"&&o!==null){r[n]=dI(o,t);continue}r[n]=o}return r}let P9=0;function pI({useTheme:e}){function t(n,o){const i=`${P9++}`,a=typeof o=="string"?o:o==null?void 0:o.name,s=typeof n=="function"?n:()=>n;return function(c){const u=e();let p=g.useMemo(()=>{const f={},m=typeof Proxy<"u"&&new Proxy({},{get:(x,y)=>f[y]=`ref-${i}${a!==void 0?`-${a}`:""}-${y}`}),v=s(u,c,m),h=Object.fromEntries(Object.keys(v).map(x=>{let y=v[x];return y.label||(y.label=`${a!==void 0?`${a}-`:""}${x}`),typeof y=="function"&&(y=y(c||{})),y=dI(y,c),[x,`${hs(y)}${x in f?` ${f[x]}`:""}`]}));return Object.keys(f).forEach(x=>{x in h||(h[x]=f[x])}),h},[hs,xe,u,Np(c)]);p=g.useMemo(()=>uI(p,c==null?void 0:c.classes),[p,Np(c==null?void 0:c.classes),xe]);{const f=M9({classes:p,css:hs,cx:xe,name:a??"makeStyle no name",idOfUseStyles:i,theme:u});f.classes!==void 0&&(p=f.classes)}return p}}function r(){return{theme:e(),css:hs,cx:xe}}return{makeStyles:t,useStyles:r}}function Uc([e,...t]){return`${e.toUpperCase()}${t.join("")}`}function vse(e,t="."){return e.toString().split(/(?=(?:\d{3})+(?!\d))/).join(t)}function yse(e,t){const r={style:"percent",minimumFractionDigits:2,maximumFractionDigits:2};try{return new Intl.NumberFormat(t??"en-US",r).format(e/100)}catch{return`${Math.toFixed(e,2)}%`}}function Qn(e,t,r=!0){if(r&&!/^https?:\/\//.test(e))throw new Error("invalid_start_url");if(t&&e.length>t)throw new Error("invalid_url_length");const n=new URL(e);return r?/^https?:$/.test(n.protocol):!0}function O9(e){return/^[a-zA-Z0-9-_]+$/.test(e)}function bse(e){return e.replace(/_([a-z])/g,t=>t[1].toUpperCase())}function Cw(e){return e.replace(/-([a-z])/g,t=>t[1].toUpperCase())}const L9=e=>{if(!e)return"";const t=/base64/.test(e),r=/(http|https):\/\//.test(e);return t||r?e:`${window.location.origin}${e}`},Tw=(e,t)=>typeof e=="string"?e:Array.isArray(e)?e.map(r=>{var n,o;return typeof r=="string"?r:((o=(n=r==null?void 0:r.props)==null?void 0:n.children)==null?void 0:o.join(t))||""}).join(t):"",fI=new WeakMap;function Rw(e,t){const r={};for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(let n=0,o=Object.getOwnPropertySymbols(e);n<o.length;n++)t.indexOf(o[n])<0&&Object.prototype.propertyIsEnumerable.call(e,o[n])&&(r[o[n]]=e[o[n]]);return r}const _w="getClasses should only be used in conjunction with withStyles";function N9(e){const t=e.classes;if(t===void 0)throw new Error(_w);const r=fI.get(t);if(r===void 0)throw new Error(_w);return r}function $9({useTheme:e}){const{makeStyles:t}=pI({useTheme:e});function r(n,o){return i=>{const a=typeof i=="string"?(()=>{const p=i,f=function(m){const{children:v}=m,h=Rw(m,["children"]);return g.createElement(p,h,v)};return Object.defineProperty(f,"name",{value:Uc(p)}),f})():i,s=(()=>{if(typeof o=="string")return o;if(o!=null&&o.name)return o.name;let p;e:{const{displayName:f}=a;if(typeof f!="string"||f==="")break e;p=f}e:{if(p!==void 0)break e;const f=a.name;if(typeof f!="string"||f==="")break e;p=f}if(p!==void 0)return p=p.replace(/\$/g,"usd"),p=p.replace(/\(/g,"_").replace(/\)/g,"_"),p=p.replace(/[^a-zA-Z0-9-_]/g,"_"),p})(),l=t(n,s);function c(p){for(const f in p)if(f!=="root")return!0;return!1}const u=g.forwardRef(function(p,f){const{className:m}=p,v=Rw(p,["className","classes"]),h=l(p),x=xe(h.root,m);return fI.set(h,{...h,root:x}),ge.createElement(a,{ref:f,className:c(h)?m:x,...typeof i=="string"?{}:{classes:h},...v})});return s!==void 0&&(u.displayName=`${Uc(s)}WithStyles`,Object.defineProperty(u,"name",{value:u.displayName})),u}}return r.getClasses=N9,{withStyles:r}}function Mn(e,t){return g.forwardRef((r,n)=>d.jsx(e,{...aI(r,t),ref:n}))}function Ee(e){return(t,r)=>{typeof r=="string"&&(r={label:r}),r!=null&&r.name&&(r.label=r.name,delete r.name);const n=r?[t,r]:[t];return Z(e)(...n)}}function D9(e){if(typeof e!="string")return!1;if(!e)return!0;const t=e.indexOf("#")!==-1?e.replace("#",""):e;return[t.slice(0,2),t.slice(2,4),t.slice(4)].map(o=>parseInt(o,16)).every(o=>o>244)}function xse(e){return Op.breakpoints.down(e)}function wse(e){return Op.breakpoints.up(e)}function j9(e){return{...pI(e),...$9(e)}}const{makeStyles:lr,withStyles:Ze}=j9({useTheme:Lo});function F9(e){return _e("MuiCircularProgress",e)}Te("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);const B9=["className","color","disableShrink","size","style","thickness","value","variant"];let ch=e=>e,Aw,kw,Iw,Mw;const ai=44,H9=io(Aw||(Aw=ch`
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
`)),U9=io(kw||(kw=ch`
  0% {
    stroke-dasharray: 1px, 200px;
    stroke-dashoffset: 0;
  }

  50% {
    stroke-dasharray: 100px, 200px;
    stroke-dashoffset: -15px;
  }

  100% {
    stroke-dasharray: 100px, 200px;
    stroke-dashoffset: -125px;
  }
`)),z9=e=>{const{classes:t,variant:r,color:n,disableShrink:o}=e,i={root:["root",r,`color${ne(n)}`],svg:["svg"],circle:["circle",`circle${ne(r)}`,o&&"circleDisableShrink"]};return ke(i,F9,t)},V9=Z("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],t[`color${ne(r.color)}`]]}})(({ownerState:e,theme:t})=>_({display:"inline-block"},e.variant==="determinate"&&{transition:t.transitions.create("transform")},e.color!=="inherit"&&{color:(t.vars||t).palette[e.color].main}),({ownerState:e})=>e.variant==="indeterminate"&&ti(Iw||(Iw=ch`
      animation: ${0} 1.4s linear infinite;
    `),H9)),W9=Z("svg",{name:"MuiCircularProgress",slot:"Svg",overridesResolver:(e,t)=>t.svg})({display:"block"}),G9=Z("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.circle,t[`circle${ne(r.variant)}`],r.disableShrink&&t.circleDisableShrink]}})(({ownerState:e,theme:t})=>_({stroke:"currentColor"},e.variant==="determinate"&&{transition:t.transitions.create("stroke-dashoffset")},e.variant==="indeterminate"&&{strokeDasharray:"80px, 200px",strokeDashoffset:0}),({ownerState:e})=>e.variant==="indeterminate"&&!e.disableShrink&&ti(Mw||(Mw=ch`
      animation: ${0} 1.4s ease-in-out infinite;
    `),U9)),zc=g.forwardRef(function(t,r){const n=Ie({props:t,name:"MuiCircularProgress"}),{className:o,color:i="primary",disableShrink:a=!1,size:s=40,style:l,thickness:c=3.6,value:u=0,variant:p="indeterminate"}=n,f=re(n,B9),m=_({},n,{color:i,disableShrink:a,size:s,thickness:c,value:u,variant:p}),v=z9(m),h={},x={},y={};if(p==="determinate"){const b=2*Math.PI*((ai-c)/2);h.strokeDasharray=b.toFixed(3),y["aria-valuenow"]=Math.round(u),h.strokeDashoffset=`${((100-u)/100*b).toFixed(3)}px`,x.transform="rotate(-90deg)"}return d.jsx(V9,_({className:le(v.root,o),style:_({width:s,height:s},x,l),ownerState:m,ref:r,role:"progressbar"},y,f,{children:d.jsx(W9,{className:v.svg,ownerState:m,viewBox:`${ai/2} ${ai/2} ${ai} ${ai}`,children:d.jsx(G9,{className:v.circle,style:h,ownerState:m,cx:ai,cy:ai,r:(ai-c)/2,fill:"none",strokeWidth:c})})}))}),q9=lr(e=>({root:{position:t=>t.absolute?"absolute":"relative",margin:t=>t.absolute?"auto":"0",left:0,right:0,width:t=>t.absolute?t.size:"auto",zIndex:5},bottom:{color:"#F0F2FF"},top:{color:({color:t})=>t||e.palette.primary.main,animationDuration:"850ms",position:"absolute",left:0},circle:{strokeLinecap:"round"},background:{background:"#ffffff66",position:"absolute",left:0,right:0,top:0,bottom:0,zIndex:4},progress:{position:"absolute",top:0,bottom:0,left:0,right:0,fontSize:11,fontWeight:700,display:"flex",alignItems:"center",justifyContent:"center",textAlign:"center",color:C.black}})),w1=({size:e=30,absolute:t=!1,background:r=!1,color:n="",classes:o={},progress:i,...a})=>{const s=q9({absolute:t,size:e,color:n});return d.jsxs(d.Fragment,{children:[r&&d.jsx("div",{className:s.background}),d.jsxs("div",{className:xe(s.root,o.root),children:[d.jsx(zc,{variant:"determinate",className:s.bottom,size:e,thickness:2,...a,value:100}),d.jsx(zc,{variant:"indeterminate",disableShrink:!0,className:s.top,classes:{circle:s.circle},size:e,thickness:2,...a}),i&&d.jsxs("p",{className:s.progress,children:[i,"%"]})]})]})},Pw={Container:Ee("div")({display:"flex",flexDirection:"column",alignItems:"center",marginBottom:46}),Message:Ee("p")({marginTop:15})},Q9=()=>d.jsxs(Pw.Container,{children:[d.jsx(w1,{}),d.jsx(Pw.Message,{children:d.jsx(We,{id:"common.loading"})})]});function hI(){return d.jsx("div",{style:{paddingTop:100},children:d.jsx(Q9,{})})}function Y9(e){return _e("MuiLinearProgress",e)}Te("MuiLinearProgress",["root","colorPrimary","colorSecondary","determinate","indeterminate","buffer","query","dashed","dashedColorPrimary","dashedColorSecondary","bar","barColorPrimary","barColorSecondary","bar1Indeterminate","bar1Determinate","bar1Buffer","bar2Indeterminate","bar2Buffer"]);const K9=["className","color","value","valueBuffer","variant"];let sl=e=>e,Ow,Lw,Nw,$w,Dw,jw;const iv=4,Z9=io(Ow||(Ow=sl`
  0% {
    left: -35%;
    right: 100%;
  }

  60% {
    left: 100%;
    right: -90%;
  }

  100% {
    left: 100%;
    right: -90%;
  }
`)),X9=io(Lw||(Lw=sl`
  0% {
    left: -200%;
    right: 100%;
  }

  60% {
    left: 107%;
    right: -8%;
  }

  100% {
    left: 107%;
    right: -8%;
  }
`)),J9=io(Nw||(Nw=sl`
  0% {
    opacity: 1;
    background-position: 0 -23px;
  }

  60% {
    opacity: 0;
    background-position: 0 -23px;
  }

  100% {
    opacity: 1;
    background-position: -200px -23px;
  }
`)),e7=e=>{const{classes:t,variant:r,color:n}=e,o={root:["root",`color${ne(n)}`,r],dashed:["dashed",`dashedColor${ne(n)}`],bar1:["bar",`barColor${ne(n)}`,(r==="indeterminate"||r==="query")&&"bar1Indeterminate",r==="determinate"&&"bar1Determinate",r==="buffer"&&"bar1Buffer"],bar2:["bar",r!=="buffer"&&`barColor${ne(n)}`,r==="buffer"&&`color${ne(n)}`,(r==="indeterminate"||r==="query")&&"bar2Indeterminate",r==="buffer"&&"bar2Buffer"]};return ke(o,Y9,t)},S1=(e,t)=>t==="inherit"?"currentColor":e.vars?e.vars.palette.LinearProgress[`${t}Bg`]:e.palette.mode==="light"?Dc(e.palette[t].main,.62):$c(e.palette[t].main,.5),t7=Z("span",{name:"MuiLinearProgress",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[`color${ne(r.color)}`],t[r.variant]]}})(({ownerState:e,theme:t})=>_({position:"relative",overflow:"hidden",display:"block",height:4,zIndex:0,"@media print":{colorAdjust:"exact"},backgroundColor:S1(t,e.color)},e.color==="inherit"&&e.variant!=="buffer"&&{backgroundColor:"none","&::before":{content:'""',position:"absolute",left:0,top:0,right:0,bottom:0,backgroundColor:"currentColor",opacity:.3}},e.variant==="buffer"&&{backgroundColor:"transparent"},e.variant==="query"&&{transform:"rotate(180deg)"})),r7=Z("span",{name:"MuiLinearProgress",slot:"Dashed",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.dashed,t[`dashedColor${ne(r.color)}`]]}})(({ownerState:e,theme:t})=>{const r=S1(t,e.color);return _({position:"absolute",marginTop:0,height:"100%",width:"100%"},e.color==="inherit"&&{opacity:.3},{backgroundImage:`radial-gradient(${r} 0%, ${r} 16%, transparent 42%)`,backgroundSize:"10px 10px",backgroundPosition:"0 -23px"})},ti($w||($w=sl`
    animation: ${0} 3s infinite linear;
  `),J9)),n7=Z("span",{name:"MuiLinearProgress",slot:"Bar1",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.bar,t[`barColor${ne(r.color)}`],(r.variant==="indeterminate"||r.variant==="query")&&t.bar1Indeterminate,r.variant==="determinate"&&t.bar1Determinate,r.variant==="buffer"&&t.bar1Buffer]}})(({ownerState:e,theme:t})=>_({width:"100%",position:"absolute",left:0,bottom:0,top:0,transition:"transform 0.2s linear",transformOrigin:"left",backgroundColor:e.color==="inherit"?"currentColor":(t.vars||t).palette[e.color].main},e.variant==="determinate"&&{transition:`transform .${iv}s linear`},e.variant==="buffer"&&{zIndex:1,transition:`transform .${iv}s linear`}),({ownerState:e})=>(e.variant==="indeterminate"||e.variant==="query")&&ti(Dw||(Dw=sl`
      width: auto;
      animation: ${0} 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite;
    `),Z9)),o7=Z("span",{name:"MuiLinearProgress",slot:"Bar2",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.bar,t[`barColor${ne(r.color)}`],(r.variant==="indeterminate"||r.variant==="query")&&t.bar2Indeterminate,r.variant==="buffer"&&t.bar2Buffer]}})(({ownerState:e,theme:t})=>_({width:"100%",position:"absolute",left:0,bottom:0,top:0,transition:"transform 0.2s linear",transformOrigin:"left"},e.variant!=="buffer"&&{backgroundColor:e.color==="inherit"?"currentColor":(t.vars||t).palette[e.color].main},e.color==="inherit"&&{opacity:.3},e.variant==="buffer"&&{backgroundColor:S1(t,e.color),transition:`transform .${iv}s linear`}),({ownerState:e})=>(e.variant==="indeterminate"||e.variant==="query")&&ti(jw||(jw=sl`
      width: auto;
      animation: ${0} 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) 1.15s infinite;
    `),X9)),mI=g.forwardRef(function(t,r){const n=Ie({props:t,name:"MuiLinearProgress"}),{className:o,color:i="primary",value:a,valueBuffer:s,variant:l="indeterminate"}=n,c=re(n,K9),u=_({},n,{color:i,variant:l}),p=e7(u),f=Jf(),m={},v={bar1:{},bar2:{}};if((l==="determinate"||l==="buffer")&&a!==void 0){m["aria-valuenow"]=Math.round(a),m["aria-valuemin"]=0,m["aria-valuemax"]=100;let h=a-100;f&&(h=-h),v.bar1.transform=`translateX(${h}%)`}if(l==="buffer"&&s!==void 0){let h=(s||0)-100;f&&(h=-h),v.bar2.transform=`translateX(${h}%)`}return d.jsxs(t7,_({className:le(p.root,o),ownerState:u,role:"progressbar"},m,{ref:r},c,{children:[l==="buffer"?d.jsx(r7,{className:p.dashed,ownerState:u}):null,d.jsx(n7,{className:p.bar1,ownerState:u,style:v.bar1}),l==="determinate"?null:d.jsx(o7,{className:p.bar2,ownerState:u,style:v.bar2})]}))});function Ea(e){return it(e,yL)}function Sse(e,t){return Ea(r=>{const n=r[e];return t.reduce((o,i)=>({...o,[i]:sI(n,i)}),{})})}const xo={SHOW_SNACKBAR_SUCCESS:"snackbar/SHOW_SNACKBAR_SUCCESS",SHOW_SNACKBAR_ERROR:"snackbar/SHOW_SNACKBAR_ERROR",SHOW_SNACKBAR_WARNING:"snackbar/SHOW_SNACKBAR_WARNING",SHOW_SNACKBAR_INFO:"snackbar/SHOW_SNACKBAR_INFO",CLEAR_SNACKBAR:"snackbar/CLEAR_SNACKBAR"},Yn={showSnackbarSuccess:Fe(xo.SHOW_SNACKBAR_SUCCESS),showSnackbarError:Fe(xo.SHOW_SNACKBAR_ERROR),showSnackbarWarning:Fe(xo.SHOW_SNACKBAR_WARNING),showSnackbarInfo:Fe(xo.SHOW_SNACKBAR_INFO),clearSnackbar:Fe(xo.CLEAR_SNACKBAR)};async function gI({error:e,duration:t,uuid:r},n){var a,s;if(typeof e=="string")return n(Yn.showSnackbarError({message:e,duration:t,uuid:r}));const{uuid:o}=((a=e.response)==null?void 0:a.data)||{},i=(s=e.response)==null?void 0:s.status;if(i===401&&await lh(n),i===403)return n(Yn.showSnackbarError({message:"common.errors.forbidden",uuid:o,duration:t}));if(i===429)return n(Yn.showSnackbarError({message:"common.errors.tooManyRequests",uuid:o,duration:t}));if(e.imageError)return n(Yn.showSnackbarError({message:e.translationKey,uuid:o,duration:t}));n(Yn.showSnackbarError({message:"common.errors.generic",uuid:o,duration:t}))}function Ese(e){return t=>gI({error:e},t)}function Cse(e){return t=>t(Yn.showSnackbarSuccess({message:e}))}function E1(){const e=Oo();return{...it(({snackbar:r})=>r),clear:()=>e(Yn.clearSnackbar()),showError:async(r,n)=>{await gI({error:r,duration:n},e)},showWarning:(r,n)=>e(Yn.showSnackbarWarning({message:r,action:n})),showInfo:(r,n)=>e(Yn.showSnackbarInfo({message:r,action:n})),showSuccess:(r,n)=>e(Yn.showSnackbarSuccess({message:r,action:n})),showSuccessTimeout:(r,n=600)=>setTimeout(()=>Yn.showSnackbarSuccess({message:r}),n)}}var C1={exports:{}},vI=function(t,r){return function(){for(var o=new Array(arguments.length),i=0;i<o.length;i++)o[i]=arguments[i];return t.apply(r,o)}},i7=vI,Ca=Object.prototype.toString;function T1(e){return Ca.call(e)==="[object Array]"}function av(e){return typeof e>"u"}function a7(e){return e!==null&&!av(e)&&e.constructor!==null&&!av(e.constructor)&&typeof e.constructor.isBuffer=="function"&&e.constructor.isBuffer(e)}function s7(e){return Ca.call(e)==="[object ArrayBuffer]"}function l7(e){return typeof FormData<"u"&&e instanceof FormData}function c7(e){var t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&e.buffer instanceof ArrayBuffer,t}function u7(e){return typeof e=="string"}function d7(e){return typeof e=="number"}function yI(e){return e!==null&&typeof e=="object"}function Qd(e){if(Ca.call(e)!=="[object Object]")return!1;var t=Object.getPrototypeOf(e);return t===null||t===Object.prototype}function p7(e){return Ca.call(e)==="[object Date]"}function f7(e){return Ca.call(e)==="[object File]"}function h7(e){return Ca.call(e)==="[object Blob]"}function bI(e){return Ca.call(e)==="[object Function]"}function m7(e){return yI(e)&&bI(e.pipe)}function g7(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}function v7(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function y7(){return typeof navigator<"u"&&(navigator.product==="ReactNative"||navigator.product==="NativeScript"||navigator.product==="NS")?!1:typeof window<"u"&&typeof document<"u"}function R1(e,t){if(!(e===null||typeof e>"u"))if(typeof e!="object"&&(e=[e]),T1(e))for(var r=0,n=e.length;r<n;r++)t.call(null,e[r],r,e);else for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.call(null,e[o],o,e)}function sv(){var e={};function t(o,i){Qd(e[i])&&Qd(o)?e[i]=sv(e[i],o):Qd(o)?e[i]=sv({},o):T1(o)?e[i]=o.slice():e[i]=o}for(var r=0,n=arguments.length;r<n;r++)R1(arguments[r],t);return e}function b7(e,t,r){return R1(t,function(o,i){r&&typeof o=="function"?e[i]=i7(o,r):e[i]=o}),e}function x7(e){return e.charCodeAt(0)===65279&&(e=e.slice(1)),e}var gn={isArray:T1,isArrayBuffer:s7,isBuffer:a7,isFormData:l7,isArrayBufferView:c7,isString:u7,isNumber:d7,isObject:yI,isPlainObject:Qd,isUndefined:av,isDate:p7,isFile:f7,isBlob:h7,isFunction:bI,isStream:m7,isURLSearchParams:g7,isStandardBrowserEnv:y7,forEach:R1,merge:sv,extend:b7,trim:v7,stripBOM:x7},za=gn;function Fw(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var xI=function(t,r,n){if(!r)return t;var o;if(n)o=n(r);else if(za.isURLSearchParams(r))o=r.toString();else{var i=[];za.forEach(r,function(l,c){l===null||typeof l>"u"||(za.isArray(l)?c=c+"[]":l=[l],za.forEach(l,function(p){za.isDate(p)?p=p.toISOString():za.isObject(p)&&(p=JSON.stringify(p)),i.push(Fw(c)+"="+Fw(p))}))}),o=i.join("&")}if(o){var a=t.indexOf("#");a!==-1&&(t=t.slice(0,a)),t+=(t.indexOf("?")===-1?"?":"&")+o}return t},w7=gn;function uh(){this.handlers=[]}uh.prototype.use=function(t,r,n){return this.handlers.push({fulfilled:t,rejected:r,synchronous:n?n.synchronous:!1,runWhen:n?n.runWhen:null}),this.handlers.length-1};uh.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)};uh.prototype.forEach=function(t){w7.forEach(this.handlers,function(n){n!==null&&t(n)})};var S7=uh,E7=gn,C7=function(t,r){E7.forEach(t,function(o,i){i!==r&&i.toUpperCase()===r.toUpperCase()&&(t[r]=o,delete t[i])})},wI=function(t,r,n,o,i){return t.config=r,n&&(t.code=n),t.request=o,t.response=i,t.isAxiosError=!0,t.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}},t},Fm,Bw;function SI(){if(Bw)return Fm;Bw=1;var e=wI;return Fm=function(r,n,o,i,a){var s=new Error(r);return e(s,n,o,i,a)},Fm}var Bm,Hw;function T7(){if(Hw)return Bm;Hw=1;var e=SI();return Bm=function(r,n,o){var i=o.config.validateStatus;!o.status||!i||i(o.status)?r(o):n(e("Request failed with status code "+o.status,o.config,null,o.request,o))},Bm}var Hm,Uw;function R7(){if(Uw)return Hm;Uw=1;var e=gn;return Hm=e.isStandardBrowserEnv()?function(){return{write:function(n,o,i,a,s,l){var c=[];c.push(n+"="+encodeURIComponent(o)),e.isNumber(i)&&c.push("expires="+new Date(i).toGMTString()),e.isString(a)&&c.push("path="+a),e.isString(s)&&c.push("domain="+s),l===!0&&c.push("secure"),document.cookie=c.join("; ")},read:function(n){var o=document.cookie.match(new RegExp("(^|;\\s*)("+n+")=([^;]*)"));return o?decodeURIComponent(o[3]):null},remove:function(n){this.write(n,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}(),Hm}var Um,zw;function _7(){return zw||(zw=1,Um=function(t){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(t)}),Um}var zm,Vw;function A7(){return Vw||(Vw=1,zm=function(t,r){return r?t.replace(/\/+$/,"")+"/"+r.replace(/^\/+/,""):t}),zm}var Vm,Ww;function k7(){if(Ww)return Vm;Ww=1;var e=_7(),t=A7();return Vm=function(n,o){return n&&!e(o)?t(n,o):o},Vm}var Wm,Gw;function I7(){if(Gw)return Wm;Gw=1;var e=gn,t=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];return Wm=function(n){var o={},i,a,s;return n&&e.forEach(n.split(`
`),function(c){if(s=c.indexOf(":"),i=e.trim(c.substr(0,s)).toLowerCase(),a=e.trim(c.substr(s+1)),i){if(o[i]&&t.indexOf(i)>=0)return;i==="set-cookie"?o[i]=(o[i]?o[i]:[]).concat([a]):o[i]=o[i]?o[i]+", "+a:a}}),o},Wm}var Gm,qw;function M7(){if(qw)return Gm;qw=1;var e=gn;return Gm=e.isStandardBrowserEnv()?function(){var r=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a"),o;function i(a){var s=a;return r&&(n.setAttribute("href",s),s=n.href),n.setAttribute("href",s),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return o=i(window.location.href),function(s){var l=e.isString(s)?i(s):s;return l.protocol===o.protocol&&l.host===o.host}}():function(){return function(){return!0}}(),Gm}var qm,Qw;function dh(){if(Qw)return qm;Qw=1;function e(t){this.message=t}return e.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},e.prototype.__CANCEL__=!0,qm=e,qm}var Qm,Yw;function Kw(){if(Yw)return Qm;Yw=1;var e=gn,t=T7(),r=R7(),n=xI,o=k7(),i=I7(),a=M7(),s=SI(),l=ph(),c=dh();return Qm=function(p){return new Promise(function(m,v){var h=p.data,x=p.headers,y=p.responseType,b;function w(){p.cancelToken&&p.cancelToken.unsubscribe(b),p.signal&&p.signal.removeEventListener("abort",b)}e.isFormData(h)&&delete x["Content-Type"];var S=new XMLHttpRequest;if(p.auth){var T=p.auth.username||"",R=p.auth.password?unescape(encodeURIComponent(p.auth.password)):"";x.Authorization="Basic "+btoa(T+":"+R)}var E=o(p.baseURL,p.url);S.open(p.method.toUpperCase(),n(E,p.params,p.paramsSerializer),!0),S.timeout=p.timeout;function A(){if(S){var M="getAllResponseHeaders"in S?i(S.getAllResponseHeaders()):null,O=!y||y==="text"||y==="json"?S.responseText:S.response,F={data:O,status:S.status,statusText:S.statusText,headers:M,config:p,request:S};t(function(D){m(D),w()},function(D){v(D),w()},F),S=null}}if("onloadend"in S?S.onloadend=A:S.onreadystatechange=function(){!S||S.readyState!==4||S.status===0&&!(S.responseURL&&S.responseURL.indexOf("file:")===0)||setTimeout(A)},S.onabort=function(){S&&(v(s("Request aborted",p,"ECONNABORTED",S)),S=null)},S.onerror=function(){v(s("Network Error",p,null,S)),S=null},S.ontimeout=function(){var O="timeout of "+p.timeout+"ms exceeded",F=p.transitional||l.transitional;p.timeoutErrorMessage&&(O=p.timeoutErrorMessage),v(s(O,p,F.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",S)),S=null},e.isStandardBrowserEnv()){var P=(p.withCredentials||a(E))&&p.xsrfCookieName?r.read(p.xsrfCookieName):void 0;P&&(x[p.xsrfHeaderName]=P)}"setRequestHeader"in S&&e.forEach(x,function(O,F){typeof h>"u"&&F.toLowerCase()==="content-type"?delete x[F]:S.setRequestHeader(F,O)}),e.isUndefined(p.withCredentials)||(S.withCredentials=!!p.withCredentials),y&&y!=="json"&&(S.responseType=p.responseType),typeof p.onDownloadProgress=="function"&&S.addEventListener("progress",p.onDownloadProgress),typeof p.onUploadProgress=="function"&&S.upload&&S.upload.addEventListener("progress",p.onUploadProgress),(p.cancelToken||p.signal)&&(b=function(M){S&&(v(!M||M&&M.type?new c("canceled"):M),S.abort(),S=null)},p.cancelToken&&p.cancelToken.subscribe(b),p.signal&&(p.signal.aborted?b():p.signal.addEventListener("abort",b))),h||(h=null),S.send(h)})},Qm}var Ym,Zw;function ph(){if(Zw)return Ym;Zw=1;var e=gn,t=C7,r=wI,n={"Content-Type":"application/x-www-form-urlencoded"};function o(l,c){!e.isUndefined(l)&&e.isUndefined(l["Content-Type"])&&(l["Content-Type"]=c)}function i(){var l;return(typeof XMLHttpRequest<"u"||typeof process<"u"&&Object.prototype.toString.call(process)==="[object process]")&&(l=Kw()),l}function a(l,c,u){if(e.isString(l))try{return(c||JSON.parse)(l),e.trim(l)}catch(p){if(p.name!=="SyntaxError")throw p}return(0,JSON.stringify)(l)}var s={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:i(),transformRequest:[function(c,u){return t(u,"Accept"),t(u,"Content-Type"),e.isFormData(c)||e.isArrayBuffer(c)||e.isBuffer(c)||e.isStream(c)||e.isFile(c)||e.isBlob(c)?c:e.isArrayBufferView(c)?c.buffer:e.isURLSearchParams(c)?(o(u,"application/x-www-form-urlencoded;charset=utf-8"),c.toString()):e.isObject(c)||u&&u["Content-Type"]==="application/json"?(o(u,"application/json"),a(c)):c}],transformResponse:[function(c){var u=this.transitional||s.transitional,p=u&&u.silentJSONParsing,f=u&&u.forcedJSONParsing,m=!p&&this.responseType==="json";if(m||f&&e.isString(c)&&c.length)try{return JSON.parse(c)}catch(v){if(m)throw v.name==="SyntaxError"?r(v,this,"E_JSON_PARSE"):v}return c}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(c){return c>=200&&c<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};return e.forEach(["delete","get","head"],function(c){s.headers[c]={}}),e.forEach(["post","put","patch"],function(c){s.headers[c]=e.merge(n)}),Ym=s,Ym}var P7=gn,O7=ph(),L7=function(t,r,n){var o=this||O7;return P7.forEach(n,function(a){t=a.call(o,t,r)}),t},Km,Xw;function EI(){return Xw||(Xw=1,Km=function(t){return!!(t&&t.__CANCEL__)}),Km}var Jw=gn,Zm=L7,N7=EI(),$7=ph(),D7=dh();function Xm(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new D7("canceled")}var j7=function(t){Xm(t),t.headers=t.headers||{},t.data=Zm.call(t,t.data,t.headers,t.transformRequest),t.headers=Jw.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),Jw.forEach(["delete","get","head","post","put","patch","common"],function(o){delete t.headers[o]});var r=t.adapter||$7.adapter;return r(t).then(function(o){return Xm(t),o.data=Zm.call(t,o.data,o.headers,t.transformResponse),o},function(o){return N7(o)||(Xm(t),o&&o.response&&(o.response.data=Zm.call(t,o.response.data,o.response.headers,t.transformResponse))),Promise.reject(o)})},Xr=gn,CI=function(t,r){r=r||{};var n={};function o(u,p){return Xr.isPlainObject(u)&&Xr.isPlainObject(p)?Xr.merge(u,p):Xr.isPlainObject(p)?Xr.merge({},p):Xr.isArray(p)?p.slice():p}function i(u){if(Xr.isUndefined(r[u])){if(!Xr.isUndefined(t[u]))return o(void 0,t[u])}else return o(t[u],r[u])}function a(u){if(!Xr.isUndefined(r[u]))return o(void 0,r[u])}function s(u){if(Xr.isUndefined(r[u])){if(!Xr.isUndefined(t[u]))return o(void 0,t[u])}else return o(void 0,r[u])}function l(u){if(u in r)return o(t[u],r[u]);if(u in t)return o(void 0,t[u])}var c={url:a,method:a,data:a,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:l};return Xr.forEach(Object.keys(t).concat(Object.keys(r)),function(p){var f=c[p]||i,m=f(p);Xr.isUndefined(m)&&f!==l||(n[p]=m)}),n},Jm,eS;function TI(){return eS||(eS=1,Jm={version:"0.22.0"}),Jm}var F7=TI().version,_1={};["object","boolean","number","function","string","symbol"].forEach(function(e,t){_1[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});var tS={};_1.transitional=function(t,r,n){function o(i,a){return"[Axios v"+F7+"] Transitional option '"+i+"'"+a+(n?". "+n:"")}return function(i,a,s){if(t===!1)throw new Error(o(a," has been removed"+(r?" in "+r:"")));return r&&!tS[a]&&(tS[a]=!0,console.warn(o(a," has been deprecated since v"+r+" and will be removed in the near future"))),t?t(i,a,s):!0}};function B7(e,t,r){if(typeof e!="object")throw new TypeError("options must be an object");for(var n=Object.keys(e),o=n.length;o-- >0;){var i=n[o],a=t[i];if(a){var s=e[i],l=s===void 0||a(s,i,e);if(l!==!0)throw new TypeError("option "+i+" must be "+l);continue}if(r!==!0)throw Error("Unknown option "+i)}}var H7={assertOptions:B7,validators:_1},RI=gn,U7=xI,rS=S7,nS=j7,fh=CI,_I=H7,Va=_I.validators;function Tu(e){this.defaults=e,this.interceptors={request:new rS,response:new rS}}Tu.prototype.request=function(t){typeof t=="string"?(t=arguments[1]||{},t.url=arguments[0]):t=t||{},t=fh(this.defaults,t),t.method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var r=t.transitional;r!==void 0&&_I.assertOptions(r,{silentJSONParsing:Va.transitional(Va.boolean),forcedJSONParsing:Va.transitional(Va.boolean),clarifyTimeoutError:Va.transitional(Va.boolean)},!1);var n=[],o=!0;this.interceptors.request.forEach(function(f){typeof f.runWhen=="function"&&f.runWhen(t)===!1||(o=o&&f.synchronous,n.unshift(f.fulfilled,f.rejected))});var i=[];this.interceptors.response.forEach(function(f){i.push(f.fulfilled,f.rejected)});var a;if(!o){var s=[nS,void 0];for(Array.prototype.unshift.apply(s,n),s=s.concat(i),a=Promise.resolve(t);s.length;)a=a.then(s.shift(),s.shift());return a}for(var l=t;n.length;){var c=n.shift(),u=n.shift();try{l=c(l)}catch(p){u(p);break}}try{a=nS(l)}catch(p){return Promise.reject(p)}for(;i.length;)a=a.then(i.shift(),i.shift());return a};Tu.prototype.getUri=function(t){return t=fh(this.defaults,t),U7(t.url,t.params,t.paramsSerializer).replace(/^\?/,"")};RI.forEach(["delete","get","head","options"],function(t){Tu.prototype[t]=function(r,n){return this.request(fh(n||{},{method:t,url:r,data:(n||{}).data}))}});RI.forEach(["post","put","patch"],function(t){Tu.prototype[t]=function(r,n,o){return this.request(fh(o||{},{method:t,url:r,data:n}))}});var z7=Tu,eg,oS;function V7(){if(oS)return eg;oS=1;var e=dh();function t(r){if(typeof r!="function")throw new TypeError("executor must be a function.");var n;this.promise=new Promise(function(a){n=a});var o=this;this.promise.then(function(i){if(o._listeners){var a,s=o._listeners.length;for(a=0;a<s;a++)o._listeners[a](i);o._listeners=null}}),this.promise.then=function(i){var a,s=new Promise(function(l){o.subscribe(l),a=l}).then(i);return s.cancel=function(){o.unsubscribe(a)},s},r(function(a){o.reason||(o.reason=new e(a),n(o.reason))})}return t.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},t.prototype.subscribe=function(n){if(this.reason){n(this.reason);return}this._listeners?this._listeners.push(n):this._listeners=[n]},t.prototype.unsubscribe=function(n){if(this._listeners){var o=this._listeners.indexOf(n);o!==-1&&this._listeners.splice(o,1)}},t.source=function(){var n,o=new t(function(a){n=a});return{token:o,cancel:n}},eg=t,eg}var tg,iS;function W7(){return iS||(iS=1,tg=function(t){return function(n){return t.apply(null,n)}}),tg}var rg,aS;function G7(){return aS||(aS=1,rg=function(t){return typeof t=="object"&&t.isAxiosError===!0}),rg}var sS=gn,q7=vI,Yd=z7,Q7=CI,Y7=ph();function AI(e){var t=new Yd(e),r=q7(Yd.prototype.request,t);return sS.extend(r,Yd.prototype,t),sS.extend(r,t),r.create=function(o){return AI(Q7(e,o))},r}var $o=AI(Y7);$o.Axios=Yd;$o.Cancel=dh();$o.CancelToken=V7();$o.isCancel=EI();$o.VERSION=TI().version;$o.all=function(t){return Promise.all(t)};$o.spread=W7();$o.isAxiosError=G7();C1.exports=$o;C1.exports.default=$o;var K7=C1.exports,Z7=K7;const X7=Ht(Z7);class kI{constructor(){this.axios=X7.create()}async call({logError:t=!0,completeResponse:r=!1,...n}){var o,i;try{const a=await this.axios.request(n);return r?a:a.data}catch(a){throw t&&console.error(((i=(o=a==null?void 0:a.response)==null?void 0:o.data)==null?void 0:i.message)||a),a}}}const Tse={SUCCEEDED:"succeeded",REQUIRES_ACTION:"requires_action",REQUIRES_PAYMENT_METHOD:"requires_payment_method",REQUIRES_CONFIRMATION:"requires_confirmation",PROCESSING:"processing",CANCELED:"canceled"},Rse={DRAFT:"draft",OPEN:"open",PAID:"paid",VOID:"void",UNCOLLECTIBLE:"uncollectible"},ng={INCOMPLETE:"incomplete",INCOMPLETE_EXPIRED:"incomplete_expired",ACTIVE:"active",PAST_DUE:"past_due",CANCELED:"canceled",UNPAID:"unpaid",TRIALLING:"trialing",TRIAL_ENDED:"trial_ended"},og={SEPA_DEBIT:"sepa_debit",CARD:"card",SOFORT:"sofort",PAYPAL:"paypal"};class J7 extends kI{subscribe({priceId:t,currency:r}){const n=new URLSearchParams;return r&&n.append("currency",r),this.call({url:`/api/stripe/subscribe?${n}`,data:{priceId:t},method:"POST"})}async getPrices({country:t,currency:r,filterActive:n=!1}){const o=new URLSearchParams;t&&o.append("country",t),r&&o.append("currency",r);const i=await this.call({url:`/api/stripe/prices?${o.toString()}`,completeResponse:!0}),{data:a=[],headers:s={}}=i||{};return n?{prices:a.filter(l=>l.active),headers:s}:{prices:a,headers:s}}cancelSubscription(t){return this.call({url:"/api/stripe/subscription/cancel",method:"PATCH",data:{value:t}})}switchSubscription(t){return this.call({url:"/api/stripe/subscription/switch",method:"PATCH",data:{priceId:t}})}pay({paymentMethodId:t,id:r}){return this.call({url:`/api/stripe/payments/${r}/pay`,method:"PATCH",data:{paymentMethodId:t,id:r}})}cancelSubscriptionByEmail(t){return this.call({url:"/api/stripe/subscription/cancel-by-email",method:"PATCH",data:{email:t}})}async getNextAction(t){return(await this.call({url:`/api/stripe/subscription/next-action?priceId=${t}`})).nextAction}createSetupIntent(t){const r=t?`?plan=${t}`:"";return this.call({url:`/api/stripe/setup-intent${r}`})}getNewPaymentMethod(t){return this.call({url:`/api/stripe/new-payment-method/${t}`})}waitForSuccessfulUpdate({stripeSubscriptionId:t,stripePaymentIntentId:r}){return this.call({url:`/api/stripe/wait-for-sucessful-update?stripeSubscriptionId=${t}&stripePaymentIntentId=${r}`})}getAndUpdateLastInvoiceStatus(t){return this.call({url:`/api/stripe/payments/${t}/remote-invoice-status`})}getPaymentMethodDetails(){return this.call({url:"/api/stripe/payment-method"})}removePaymentMethod(){return this.call({url:"/api/stripe/payment-method",method:"DELETE"})}getCurrencies(){return this.call({url:"/api/stripe/currencies"})}}const _se=new J7;function Ase(){const{stripePaymentMethodLast4:e,stripePaymentMethodBrand:t,stripePaymentMethodSepaDebitLast4:r,stripePaymentMethodType:n,stripePaymentMethodSepaDebitBankCode:o,stripePaymentMethodSepaDebitBranchCode:i,stripePaymentMethodSepaDebitCountry:a,stripePaymentMethodId:s}=it(c=>c.user.user)||{},l={[og.SEPA_DEBIT]:!!r,[og.CARD]:!!e,[og.PAYPAL]:!0,default:!!r};return{hasPaymentMethod:l[n]||l.default,info:{stripePaymentMethodLast4:e,stripePaymentMethodBrand:t,stripePaymentMethodSepaDebitLast4:r,stripePaymentMethodSepaDebitBankCode:o,stripePaymentMethodSepaDebitBranchCode:i,stripePaymentMethodSepaDebitCountry:a,stripePaymentMethodType:n,stripePaymentMethodId:s}}}function II(){const{subscriptionInfo:{subscribed:e,requiresAction:t,isFullyCanceled:r,hasBeenSubscribedBefore:n,willCancel:o,hasDispute:i,isTrialEnded:a,isActive:s,stripePaymentMethodType:l,processingSepaDebitPayment:c,isTrialling:u,currentPeriodEnd:p},currentPeriodStart:f,stripePriceId:m,subscriptionStarted:v,subscriptionEnded:h,subscriptionStatus:x,triallingEndsAt:y,unsubscribedReason:b=null,discount:w=null}=it(E=>E.user.user)||{subscriptionInfo:{}},S=wt.unix(p).subtract(1,"month"),T=wt(),R=s&&!(T.isAfter(S)||T.isSame(S));return{subscribed:e,requiresAction:t,hasBeenSubscribedBefore:n,stripePriceId:m,willCancel:o,isFullyCanceled:r,hasDispute:i,isTrialEnded:a,isActive:s,subscriptionStarted:v,subscriptionEnded:h,stripePaymentMethodType:l,processingSepaDebitPayment:c,isTrialling:u,triallingEndsAt:y,status:x,currentPeriodStart:f,currentPeriodEnd:p,changePlanDisabled:R,unsubscribedReason:b,discount:w}}function kse(e,t){const{stripePriceId:r,stripeTrialEnd:n}=it(a=>a.user.user)||{},o=e.find(a=>a.id===r)||{},i=Date.now()/1e3<n;return(t==null?void 0:t.id)===r||(o==null?void 0:o.name)==="monthly"&&i&&t?t:o}function Ise(){const e=E1(),t=Oo(),r=it(({user:o})=>{var i;return(i=o.user)==null?void 0:i.billingData})||{};async function n(o,i=null){await Hc.update({billing:o}),await lh(t),i&&e.showSuccess(i)}return[{hasContent:!!Object.keys(r).length&&!!r.country,data:r,vatPercent:0},{setData:n}]}function eF(){const{isActive:e,isTrialling:t}=II(),r=Oo();return n=>{!e&&!t&&(n.preventDefault(),r(Lt.setSubscribeModalOpen(!0)))}}function Mse(){const e=it(t=>{var r;return(r=t.user.user)==null?void 0:r.subscriptionStatus});return!e||[ng.CANCELED,ng.TRIALLING,ng.TRIAL_ENDED].includes(e)}function Pse(){const e=Ea(t=>{var r;return(r=t.user.user)==null?void 0:r.billingData});return!!e&&!!Object.keys(e).length}const{roles:$p}=Gr;function MI(){const{role:e,views:t,permissions:r}=Ea(n=>{var o,i,a;return{role:(o=n.user.user)==null?void 0:o.role,views:((i=n.user.user)==null?void 0:i.views)||[],permissions:((a=n.user.user)==null?void 0:a.permissions)||{}}});return function(o,i){if(e===$p.admin)return!0;const a=t.includes(o);return!i||!a?a:!!r[i]}}function A1(){const{role:e,permissions:t}=Ea(r=>{var n,o;return{role:(n=r.user.user)==null?void 0:n.role,permissions:((o=r.user.user)==null?void 0:o.permissions)||{}}});return function(n){return e===$p.admin?!0:e===$p.extendedCollaborator?!!t[n]:!1}}function Ose(){return A1()(Gr.permissions.create)}function Lse(){return A1()(Gr.permissions.edit)}function Nse(){return A1()(Gr.permissions.delete)}function $se(){return it(t=>{var r;return(r=t.user.user)==null?void 0:r.role})===$p.admin}function Dse(){const e=it(t=>t.user.user);return!(e!=null&&e.parentAccount)}function PI(){const{isActive:e,isTrialling:t}=II();return!it(n=>n.user.loggedIn)||t||e}function jse(){const e=PI(),t=No();g.useEffect(()=>{e||t.replace(Q.plansAndPayments)},[])}function Fse(e){const t=MI(),r=No();g.useEffect(()=>{t(e)||r.replace(Q.myAccount)},[])}const lv="/assets/qr-types-Cw9ijugA.svg";let ld;const tF=new Uint8Array(16);function rF(){if(!ld&&(ld=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!ld))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return ld(tF)}const er=[];for(let e=0;e<256;++e)er.push((e+256).toString(16).slice(1));function nF(e,t=0){return er[e[t+0]]+er[e[t+1]]+er[e[t+2]]+er[e[t+3]]+"-"+er[e[t+4]]+er[e[t+5]]+"-"+er[e[t+6]]+er[e[t+7]]+"-"+er[e[t+8]]+er[e[t+9]]+"-"+er[e[t+10]]+er[e[t+11]]+er[e[t+12]]+er[e[t+13]]+er[e[t+14]]+er[e[t+15]]}const oF=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),lS={randomUUID:oF};function cS(e,t,r){if(lS.randomUUID&&!t&&!e)return lS.randomUUID();e=e||{};const n=e.random||(e.rng||rF)();return n[6]=n[6]&15|64,n[8]=n[8]&63|128,nF(n)}const W={url:"url",app:"app",pdf:"pdf",menu:"menu",images:"images",video:"video",wifi:"wifi",vcardPlus:"vcard-plus",business:"business",linkList:"link-list",mp3:"mp3",coupon:"coupon",feedback:"feedback",playlist:"playlist",landing:"landing",event:"event",staticUrl:"url-static",text:"text",email:"email",vcard:"vcard",whatsapp:"whatsapp",sms:"sms",barcode:"barcode",social:"social",product:"product"},k1=e=>[W.wifi,W.staticUrl,W.text,W.email,W.vcard,W.whatsapp,W.sms].includes(e);function iF(e){return e.default?{default:{...e.default,sections:e.default.sections.map(t=>({...t,id:t.id||cS(),items:t.items.map(r=>({...r,id:r.id||cS(),price:r.price===0?"":r.price}))}))}}:e}const aF={BASE_URL:"/",DEV:!1,MODE:"production",PROD:!0,SSR:!1,VITE_API:"",VITE_BASE_IMAGE_URL:"https://img.qrfy.com",VITE_BASE_UPLOAD_URL:"https://uploads.qrfy.com",VITE_BASE_URL:"https://qrfy.com",VITE_BULK_ENABLED:"1",VITE_CF_TURNSTILE_ENABLED:"1",VITE_CF_TURNSTILE_SITE_KEY:"0x4AAAAAAAW33-fkmT1EQ-VQ",VITE_CLOUDINARY_NAME:"w3",VITE_DOMAIN:"qrfy.com",VITE_FACEBOOK_CLIENT_ID:"861766829065973",VITE_GOOGLE_CLIENT_ID:"1068337497404-ldeirev97u9t7vc1cvlmftb5gqhhk5c4.apps.googleusercontent.com",VITE_GOOGLE_MAPS_KEY:"AIzaSyDIM-M0SGbPGAOUn5zt93b3e9nXzpjmCy0",VITE_GOOGLE_STORAGE_URI_PREFIX:"https://storage.googleapis.com/qrfyprod",VITE_LINKEDIN_CLIENT_ID:"775bext8zssj87",VITE_NON_RECCURENT_PAYMENT_COOKIE:"norec",VITE_PREVIEW_BASE_URL:"https://qrfy.io",VITE_RECAPTCHA_KEY:"6LeepasZAAAAAE-1cQNikkowObe_sPKEWDnblVpU",VITE_SENTRY_ENABLED:"",VITE_STRIPE_PUBLIC_KEY:"pk_live_51KslH4B9ss6IsP0ShS1AGfGPo7IGnAx4C3sZ5TwMcxverhly59ZBcyXEjMBNGWJCbrRXD5PhQx3633DO9x4ZeAoV00xKv8Ibcb",VITE_VAPID_PUBLIC_KEY:"BLPBecM0P8SAiJKZHdfXjFTXeULSsnrNrD0sbC2InGLDAfa4xf1xHKPNosyXQC4a3DCIrdKRdbeZpGe6XN48U78"},{VITE_BASE_URL:sF,VITE_PREVIEW_BASE_URL:lF}=aF;function OI(){const e=de();return g.useMemo(()=>({[W.app]:{name:e.formatMessage({id:"qrTypes.app.name"}),description:e.formatMessage({id:"qrTypes.app.description"})},[W.business]:{name:e.formatMessage({id:"qrTypes.business.name"}),description:e.formatMessage({id:"qrTypes.business.description"})},[W.menu]:{name:e.formatMessage({id:"qrTypes.menu.name"}),description:e.formatMessage({id:"qrTypes.menu.description"})},[W.images]:{name:e.formatMessage({id:"qrTypes.images.name"}),description:e.formatMessage({id:"qrTypes.images.description"})},[W.url]:{name:e.formatMessage({id:"qrTypes.website.name"}),description:e.formatMessage({id:"qrTypes.website.description"})},[W.pdf]:{name:e.formatMessage({id:"qrTypes.pdf.name"}),description:e.formatMessage({id:"qrTypes.pdf.description"})},[W.vcardPlus]:{name:e.formatMessage({id:"qrTypes.vcardPlus.name"}),description:e.formatMessage({id:"qrTypes.vcardPlus.description"})},[W.video]:{name:e.formatMessage({id:"qrTypes.video.name"}),description:e.formatMessage({id:"qrTypes.video.description"})},[W.linkList]:{name:e.formatMessage({id:"qrTypes.linkList.name"}),description:e.formatMessage({id:"qrTypes.linkList.description"})},[W.mp3]:{name:"MP3",description:e.formatMessage({id:"qrTypes.mp3.description"})},[W.coupon]:{name:e.formatMessage({id:"qrTypes.coupon.name"}),description:e.formatMessage({id:"qrTypes.coupon.description"})},[W.feedback]:{name:e.formatMessage({id:"qrTypes.feedback.name"}),description:e.formatMessage({id:"qrTypes.feedback.description"})},[W.landing]:{name:e.formatMessage({id:"qrTypes.landing.name"}),description:e.formatMessage({id:"qrTypes.landing.description"})},[W.playlist]:{name:e.formatMessage({id:"qrTypes.playlist.name"}),description:e.formatMessage({id:"qrTypes.playlist.description"})},[W.wifi]:{name:e.formatMessage({id:"qrTypes.wifi.name"}),description:e.formatMessage({id:"qrTypes.wifi.description"})},[W.text]:{name:e.formatMessage({id:"qrTypes.text.name"}),description:e.formatMessage({id:"qrTypes.text.description"})},[W.staticUrl]:{name:e.formatMessage({id:"qrTypes.urlStatic.name"}),description:e.formatMessage({id:"qrTypes.urlStatic.description"}),image:`${lv}#url`},[W.event]:{name:e.formatMessage({id:"qrTypes.event.name",defaultMessage:"Evento"}),description:e.formatMessage({id:"qrTypes.event.description"})},[W.email]:{name:e.formatMessage({id:"common.email"}),description:e.formatMessage({id:"qrTypes.email.description"})},[W.vcard]:{name:"vCard",description:e.formatMessage({id:"qrTypes.vcard.description"})},[W.whatsapp]:{name:"Whatsapp",description:e.formatMessage({id:"qrTypes.whatsapp.description"})},[W.sms]:{name:"SMS",description:e.formatMessage({id:"qrTypes.sms.description"})},[W.barcode]:{name:e.formatMessage({id:"qrTypes.barcode.name"}),description:e.formatMessage({id:"qrTypes.barcode.description"})},[W.social]:{name:e.formatMessage({id:"qrTypes.social.name"}),description:e.formatMessage({id:"qrTypes.social.description"})},[W.product]:{name:e.formatMessage({id:"qrTypes.product.name"}),description:e.formatMessage({id:"qrTypes.product.description"})}}),[e.messages])}function Bse(e="all"){const t=de(),r=OI(),n={dynamic:[W.url,W.pdf,W.linkList,W.images,W.video,W.business,W.vcardPlus,W.menu,W.app,W.mp3,W.coupon,W.feedback,W.playlist,W.landing,W.event,W.barcode,W.social,W.product],static:[W.staticUrl,W.text,W.wifi,W.email,W.vcard,W.sms,W.whatsapp]};return g.useMemo(()=>(e==="all"?[...n.dynamic,...n.static]:n[e]).map(i=>({id:i,...r[i]})),[t.messages,e])}function bt(e){var r;return(r=OI()[e])==null?void 0:r.name}function cF(e,t){return[W.url,W.barcode].includes(e)||e===W.app&&t.directLink||e===W.pdf&&t.directPdfLink||t.directVideoLink}function uF({qrHasRedirect:e,type:t,data:r,uri:n}){return t===W.barcode?Q.previewRedirect.replace(":uri",`${n}/01/${r.gtin}`):e?Q.previewRedirect.replace(":uri",n):Q.preview.replace(":uri",n)}function Hse({dns:e,uri:t,type:r,data:n={}}){const o=/(https?:\/\/)/,i=cF(r,n);e&&!e.match(o)&&(e=`https://${e}`);const a=e||lF||sF,s=a.replace(o,""),l=uF({qrHasRedirect:i,type:r,data:n,uri:t});return{text:`${s}${l}`,url:`${a}${l}`}}function Nt(e){const t=Lo(),r=/^(xs|sm|md|lg|xl)(Up|Down)?$/;if(!r.test(e))throw new Error("Invalid breakpoint");const[,n,o]=e.match(r),i=o?o.toLowerCase():"only";return tr(t.breakpoints[i](n),{noSsr:!0})}function dF(){return it(e=>e.user.locale)}function LI(e,t=[]){g.useEffect(()=>{const r=setTimeout(()=>{window.scrollTo({top:0,...e})},0);return()=>clearTimeout(r)},[...t])}function Use(e){g.useEffect(()=>{document.title=e||al},[])}function Ru(){return new URLSearchParams(Nr().search)}function pF(){const e=Ru();g.useEffect(()=>{const t=e.get("gclid");t&&localStorage.setItem("gclid",t)},[])}function zse(){const e=g.useCallback(t=>{t.preventDefault(),t.returnValue=""},[]);g.useEffect(()=>(window.addEventListener("beforeunload",e),()=>{window.removeEventListener("beforeunload",e)}),[])}function Vse(e,t){const[r,n]=g.useState(0);return{handleLoad:()=>{const i=r+1;n(i),i===e&&t()}}}function hh(){return Ru().get("crawler")==="true"}const uS={disabled:!1},Dp=ge.createContext(null);var fF=function(t){return t.scrollTop},Vl="unmounted",Ki="exited",Zi="entering",Xa="entered",cv="exiting",Fn=function(e){dn(t,e);function t(n,o){var i;i=e.call(this,n,o)||this;var a=o,s=a&&!a.isMounting?n.enter:n.appear,l;return i.appearStatus=null,n.in?s?(l=Ki,i.appearStatus=Zi):l=Xa:n.unmountOnExit||n.mountOnEnter?l=Vl:l=Ki,i.state={status:l},i.nextCallback=null,i}t.getDerivedStateFromProps=function(o,i){var a=o.in;return a&&i.status===Vl?{status:Ki}:null};var r=t.prototype;return r.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},r.componentDidUpdate=function(o){var i=null;if(o!==this.props){var a=this.state.status;this.props.in?a!==Zi&&a!==Xa&&(i=Zi):(a===Zi||a===Xa)&&(i=cv)}this.updateStatus(!1,i)},r.componentWillUnmount=function(){this.cancelNextCallback()},r.getTimeouts=function(){var o=this.props.timeout,i,a,s;return i=a=s=o,o!=null&&typeof o!="number"&&(i=o.exit,a=o.enter,s=o.appear!==void 0?o.appear:a),{exit:i,enter:a,appear:s}},r.updateStatus=function(o,i){if(o===void 0&&(o=!1),i!==null)if(this.cancelNextCallback(),i===Zi){if(this.props.unmountOnExit||this.props.mountOnEnter){var a=this.props.nodeRef?this.props.nodeRef.current:Zu.findDOMNode(this);a&&fF(a)}this.performEnter(o)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Ki&&this.setState({status:Vl})},r.performEnter=function(o){var i=this,a=this.props.enter,s=this.context?this.context.isMounting:o,l=this.props.nodeRef?[s]:[Zu.findDOMNode(this),s],c=l[0],u=l[1],p=this.getTimeouts(),f=s?p.appear:p.enter;if(!o&&!a||uS.disabled){this.safeSetState({status:Xa},function(){i.props.onEntered(c)});return}this.props.onEnter(c,u),this.safeSetState({status:Zi},function(){i.props.onEntering(c,u),i.onTransitionEnd(f,function(){i.safeSetState({status:Xa},function(){i.props.onEntered(c,u)})})})},r.performExit=function(){var o=this,i=this.props.exit,a=this.getTimeouts(),s=this.props.nodeRef?void 0:Zu.findDOMNode(this);if(!i||uS.disabled){this.safeSetState({status:Ki},function(){o.props.onExited(s)});return}this.props.onExit(s),this.safeSetState({status:cv},function(){o.props.onExiting(s),o.onTransitionEnd(a.exit,function(){o.safeSetState({status:Ki},function(){o.props.onExited(s)})})})},r.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},r.safeSetState=function(o,i){i=this.setNextCallback(i),this.setState(o,i)},r.setNextCallback=function(o){var i=this,a=!0;return this.nextCallback=function(s){a&&(a=!1,i.nextCallback=null,o(s))},this.nextCallback.cancel=function(){a=!1},this.nextCallback},r.onTransitionEnd=function(o,i){this.setNextCallback(i);var a=this.props.nodeRef?this.props.nodeRef.current:Zu.findDOMNode(this),s=o==null&&!this.props.addEndListener;if(!a||s){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var l=this.props.nodeRef?[this.nextCallback]:[a,this.nextCallback],c=l[0],u=l[1];this.props.addEndListener(c,u)}o!=null&&setTimeout(this.nextCallback,o)},r.render=function(){var o=this.state.status;if(o===Vl)return null;var i=this.props,a=i.children;i.in,i.mountOnEnter,i.unmountOnExit,i.appear,i.enter,i.exit,i.timeout,i.addEndListener,i.onEnter,i.onEntering,i.onEntered,i.onExit,i.onExiting,i.onExited,i.nodeRef;var s=re(i,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return ge.createElement(Dp.Provider,{value:null},typeof a=="function"?a(o,s):ge.cloneElement(ge.Children.only(a),s))},t}(ge.Component);Fn.contextType=Dp;Fn.propTypes={};function Wa(){}Fn.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Wa,onEntering:Wa,onEntered:Wa,onExit:Wa,onExiting:Wa,onExited:Wa};Fn.UNMOUNTED=Vl;Fn.EXITED=Ki;Fn.ENTERING=Zi;Fn.ENTERED=Xa;Fn.EXITING=cv;function hF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function I1(e,t){var r=function(i){return t&&g.isValidElement(i)?t(i):i},n=Object.create(null);return e&&g.Children.map(e,function(o){return o}).forEach(function(o){n[o.key]=r(o)}),n}function mF(e,t){e=e||{},t=t||{};function r(u){return u in t?t[u]:e[u]}var n=Object.create(null),o=[];for(var i in e)i in t?o.length&&(n[i]=o,o=[]):o.push(i);var a,s={};for(var l in t){if(n[l])for(a=0;a<n[l].length;a++){var c=n[l][a];s[n[l][a]]=r(c)}s[l]=r(l)}for(a=0;a<o.length;a++)s[o[a]]=r(o[a]);return s}function ra(e,t,r){return r[t]!=null?r[t]:e.props[t]}function gF(e,t){return I1(e.children,function(r){return g.cloneElement(r,{onExited:t.bind(null,r),in:!0,appear:ra(r,"appear",e),enter:ra(r,"enter",e),exit:ra(r,"exit",e)})})}function vF(e,t,r){var n=I1(e.children),o=mF(t,n);return Object.keys(o).forEach(function(i){var a=o[i];if(g.isValidElement(a)){var s=i in t,l=i in n,c=t[i],u=g.isValidElement(c)&&!c.props.in;l&&(!s||u)?o[i]=g.cloneElement(a,{onExited:r.bind(null,a),in:!0,exit:ra(a,"exit",e),enter:ra(a,"enter",e)}):!l&&s&&!u?o[i]=g.cloneElement(a,{in:!1}):l&&s&&g.isValidElement(c)&&(o[i]=g.cloneElement(a,{onExited:r.bind(null,a),in:c.props.in,exit:ra(a,"exit",e),enter:ra(a,"enter",e)}))}}),o}var yF=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},bF={component:"div",childFactory:function(t){return t}},M1=function(e){dn(t,e);function t(n,o){var i;i=e.call(this,n,o)||this;var a=i.handleExited.bind(hF(i));return i.state={contextValue:{isMounting:!0},handleExited:a,firstRender:!0},i}var r=t.prototype;return r.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},r.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(o,i){var a=i.children,s=i.handleExited,l=i.firstRender;return{children:l?gF(o,s):vF(o,a,s),firstRender:!1}},r.handleExited=function(o,i){var a=I1(this.props.children);o.key in a||(o.props.onExited&&o.props.onExited(i),this.mounted&&this.setState(function(s){var l=_({},s.children);return delete l[o.key],{children:l}}))},r.render=function(){var o=this.props,i=o.component,a=o.childFactory,s=re(o,["component","childFactory"]),l=this.state.contextValue,c=yF(this.state.children).map(a);return delete s.appear,delete s.enter,delete s.exit,i===null?ge.createElement(Dp.Provider,{value:l},c):ge.createElement(Dp.Provider,{value:l},ge.createElement(i,s,c))},t}(ge.Component);M1.propTypes={};M1.defaultProps=bF;function xF(e){const{className:t,classes:r,pulsate:n=!1,rippleX:o,rippleY:i,rippleSize:a,in:s,onExited:l,timeout:c}=e,[u,p]=g.useState(!1),f=le(t,r.ripple,r.rippleVisible,n&&r.ripplePulsate),m={width:a,height:a,top:-(a/2)+i,left:-(a/2)+o},v=le(r.child,u&&r.childLeaving,n&&r.childPulsate);return!s&&!u&&p(!0),g.useEffect(()=>{if(!s&&l!=null){const h=setTimeout(l,c);return()=>{clearTimeout(h)}}},[l,s,c]),d.jsx("span",{className:f,style:m,children:d.jsx("span",{className:v})})}const wn=Te("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),wF=["center","classes","className"];let mh=e=>e,dS,pS,fS,hS;const uv=550,SF=80,EF=io(dS||(dS=mh`
  0% {
    transform: scale(0);
    opacity: 0.1;
  }

  100% {
    transform: scale(1);
    opacity: 0.3;
  }
`)),CF=io(pS||(pS=mh`
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
`)),TF=io(fS||(fS=mh`
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(0.92);
  }

  100% {
    transform: scale(1);
  }
`)),RF=Z("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),_F=Z(xF,{name:"MuiTouchRipple",slot:"Ripple"})(hS||(hS=mh`
  opacity: 0;
  position: absolute;

  &.${0} {
    opacity: 0.3;
    transform: scale(1);
    animation-name: ${0};
    animation-duration: ${0}ms;
    animation-timing-function: ${0};
  }

  &.${0} {
    animation-duration: ${0}ms;
  }

  & .${0} {
    opacity: 1;
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: currentColor;
  }

  & .${0} {
    opacity: 0;
    animation-name: ${0};
    animation-duration: ${0}ms;
    animation-timing-function: ${0};
  }

  & .${0} {
    position: absolute;
    /* @noflip */
    left: 0px;
    top: 0;
    animation-name: ${0};
    animation-duration: 2500ms;
    animation-timing-function: ${0};
    animation-iteration-count: infinite;
    animation-delay: 200ms;
  }
`),wn.rippleVisible,EF,uv,({theme:e})=>e.transitions.easing.easeInOut,wn.ripplePulsate,({theme:e})=>e.transitions.duration.shorter,wn.child,wn.childLeaving,CF,uv,({theme:e})=>e.transitions.easing.easeInOut,wn.childPulsate,TF,({theme:e})=>e.transitions.easing.easeInOut),AF=g.forwardRef(function(t,r){const n=Ie({props:t,name:"MuiTouchRipple"}),{center:o=!1,classes:i={},className:a}=n,s=re(n,wF),[l,c]=g.useState([]),u=g.useRef(0),p=g.useRef(null);g.useEffect(()=>{p.current&&(p.current(),p.current=null)},[l]);const f=g.useRef(!1),m=ta(),v=g.useRef(null),h=g.useRef(null),x=g.useCallback(S=>{const{pulsate:T,rippleX:R,rippleY:E,rippleSize:A,cb:P}=S;c(M=>[...M,d.jsx(_F,{classes:{ripple:le(i.ripple,wn.ripple),rippleVisible:le(i.rippleVisible,wn.rippleVisible),ripplePulsate:le(i.ripplePulsate,wn.ripplePulsate),child:le(i.child,wn.child),childLeaving:le(i.childLeaving,wn.childLeaving),childPulsate:le(i.childPulsate,wn.childPulsate)},timeout:uv,pulsate:T,rippleX:R,rippleY:E,rippleSize:A},u.current)]),u.current+=1,p.current=P},[i]),y=g.useCallback((S={},T={},R=()=>{})=>{const{pulsate:E=!1,center:A=o||T.pulsate,fakeElement:P=!1}=T;if((S==null?void 0:S.type)==="mousedown"&&f.current){f.current=!1;return}(S==null?void 0:S.type)==="touchstart"&&(f.current=!0);const M=P?null:h.current,O=M?M.getBoundingClientRect():{width:0,height:0,left:0,top:0};let F,I,D;if(A||S===void 0||S.clientX===0&&S.clientY===0||!S.clientX&&!S.touches)F=Math.round(O.width/2),I=Math.round(O.height/2);else{const{clientX:$,clientY:j}=S.touches&&S.touches.length>0?S.touches[0]:S;F=Math.round($-O.left),I=Math.round(j-O.top)}if(A)D=Math.sqrt((2*O.width**2+O.height**2)/3),D%2===0&&(D+=1);else{const $=Math.max(Math.abs((M?M.clientWidth:0)-F),F)*2+2,j=Math.max(Math.abs((M?M.clientHeight:0)-I),I)*2+2;D=Math.sqrt($**2+j**2)}S!=null&&S.touches?v.current===null&&(v.current=()=>{x({pulsate:E,rippleX:F,rippleY:I,rippleSize:D,cb:R})},m.start(SF,()=>{v.current&&(v.current(),v.current=null)})):x({pulsate:E,rippleX:F,rippleY:I,rippleSize:D,cb:R})},[o,x,m]),b=g.useCallback(()=>{y({},{pulsate:!0})},[y]),w=g.useCallback((S,T)=>{if(m.clear(),(S==null?void 0:S.type)==="touchend"&&v.current){v.current(),v.current=null,m.start(0,()=>{w(S,T)});return}v.current=null,c(R=>R.length>0?R.slice(1):R),p.current=T},[m]);return g.useImperativeHandle(r,()=>({pulsate:b,start:y,stop:w}),[b,y,w]),d.jsx(RF,_({className:le(wn.root,i.root,a),ref:h},s,{children:d.jsx(M1,{component:null,exit:!0,children:l})}))});function kF(e){return _e("MuiButtonBase",e)}const IF=Te("MuiButtonBase",["root","disabled","focusVisible"]),MF=["action","centerRipple","children","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","LinkComponent","onBlur","onClick","onContextMenu","onDragLeave","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","tabIndex","TouchRippleProps","touchRippleRef","type"],PF=e=>{const{disabled:t,focusVisible:r,focusVisibleClassName:n,classes:o}=e,a=ke({root:["root",t&&"disabled",r&&"focusVisible"]},kF,o);return r&&n&&(a.root+=` ${n}`),a},OF=Z("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${IF.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),Qr=g.forwardRef(function(t,r){const n=Ie({props:t,name:"MuiButtonBase"}),{action:o,centerRipple:i=!1,children:a,className:s,component:l="button",disabled:c=!1,disableRipple:u=!1,disableTouchRipple:p=!1,focusRipple:f=!1,LinkComponent:m="a",onBlur:v,onClick:h,onContextMenu:x,onDragLeave:y,onFocus:b,onFocusVisible:w,onKeyDown:S,onKeyUp:T,onMouseDown:R,onMouseLeave:E,onMouseUp:A,onTouchEnd:P,onTouchMove:M,onTouchStart:O,tabIndex:F=0,TouchRippleProps:I,touchRippleRef:D,type:$}=n,j=re(n,MF),H=g.useRef(null),k=g.useRef(null),L=_t(k,D),{isFocusVisibleRef:B,onFocus:z,onBlur:V,ref:K}=Xy(),[q,te]=g.useState(!1);c&&q&&te(!1),g.useImperativeHandle(o,()=>({focusVisible:()=>{te(!0),H.current.focus()}}),[]);const[Y,se]=g.useState(!1);g.useEffect(()=>{se(!0)},[]);const oe=Y&&!u&&!c;g.useEffect(()=>{q&&f&&!u&&Y&&k.current.pulsate()},[u,f,q,Y]);function ie(fe,St,Yr=p){return qo(Kr=>(St&&St(Kr),!Yr&&k.current&&k.current[fe](Kr),!0))}const he=ie("start",R),ae=ie("stop",x),Re=ie("stop",y),pe=ie("stop",A),Ae=ie("stop",fe=>{q&&fe.preventDefault(),E&&E(fe)}),Me=ie("start",O),Oe=ie("stop",P),Ke=ie("stop",M),at=ie("stop",fe=>{V(fe),B.current===!1&&te(!1),v&&v(fe)},!1),gt=qo(fe=>{H.current||(H.current=fe.currentTarget),z(fe),B.current===!0&&(te(!0),w&&w(fe)),b&&b(fe)}),ot=()=>{const fe=H.current;return l&&l!=="button"&&!(fe.tagName==="A"&&fe.href)},Ge=g.useRef(!1),U=qo(fe=>{f&&!Ge.current&&q&&k.current&&fe.key===" "&&(Ge.current=!0,k.current.stop(fe,()=>{k.current.start(fe)})),fe.target===fe.currentTarget&&ot()&&fe.key===" "&&fe.preventDefault(),S&&S(fe),fe.target===fe.currentTarget&&ot()&&fe.key==="Enter"&&!c&&(fe.preventDefault(),h&&h(fe))}),ee=qo(fe=>{f&&fe.key===" "&&k.current&&q&&!fe.defaultPrevented&&(Ge.current=!1,k.current.stop(fe,()=>{k.current.pulsate(fe)})),T&&T(fe),h&&fe.target===fe.currentTarget&&ot()&&fe.key===" "&&!fe.defaultPrevented&&h(fe)});let J=l;J==="button"&&(j.href||j.to)&&(J=m);const ce={};J==="button"?(ce.type=$===void 0?"button":$,ce.disabled=c):(!j.href&&!j.to&&(ce.role="button"),c&&(ce["aria-disabled"]=c));const ve=_t(r,K,H),Pe=_({},n,{centerRipple:i,component:l,disabled:c,disableRipple:u,disableTouchRipple:p,focusRipple:f,tabIndex:F,focusVisible:q}),we=PF(Pe);return d.jsxs(OF,_({as:J,className:le(we.root,s),ownerState:Pe,onBlur:at,onClick:h,onContextMenu:ae,onFocus:gt,onKeyDown:U,onKeyUp:ee,onMouseDown:he,onMouseLeave:Ae,onMouseUp:pe,onDragLeave:Re,onTouchEnd:Oe,onTouchMove:Ke,onTouchStart:Me,ref:ve,tabIndex:c?-1:F,type:$},ce,j,{children:[a,oe?d.jsx(AF,_({ref:L,center:i},I)):null]}))}),Yo=g.createContext({});function LF(e){return _e("MuiListItem",e)}const Ja=Te("MuiListItem",["root","container","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","padding","button","secondaryAction","selected"]),NF=Te("MuiListItemButton",["root","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","selected"]);function $F(e){return _e("MuiListItemSecondaryAction",e)}Te("MuiListItemSecondaryAction",["root","disableGutters"]);const DF=["className"],jF=e=>{const{disableGutters:t,classes:r}=e;return ke({root:["root",t&&"disableGutters"]},$F,r)},FF=Z("div",{name:"MuiListItemSecondaryAction",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.disableGutters&&t.disableGutters]}})(({ownerState:e})=>_({position:"absolute",right:16,top:"50%",transform:"translateY(-50%)"},e.disableGutters&&{right:0})),NI=g.forwardRef(function(t,r){const n=Ie({props:t,name:"MuiListItemSecondaryAction"}),{className:o}=n,i=re(n,DF),a=g.useContext(Yo),s=_({},n,{disableGutters:a.disableGutters}),l=jF(s);return d.jsx(FF,_({className:le(l.root,o),ownerState:s,ref:r},i))});NI.muiName="ListItemSecondaryAction";const BF=["className"],HF=["alignItems","autoFocus","button","children","className","component","components","componentsProps","ContainerComponent","ContainerProps","dense","disabled","disableGutters","disablePadding","divider","focusVisibleClassName","secondaryAction","selected","slotProps","slots"],UF=(e,t)=>{const{ownerState:r}=e;return[t.root,r.dense&&t.dense,r.alignItems==="flex-start"&&t.alignItemsFlexStart,r.divider&&t.divider,!r.disableGutters&&t.gutters,!r.disablePadding&&t.padding,r.button&&t.button,r.hasSecondaryAction&&t.secondaryAction]},zF=e=>{const{alignItems:t,button:r,classes:n,dense:o,disabled:i,disableGutters:a,disablePadding:s,divider:l,hasSecondaryAction:c,selected:u}=e;return ke({root:["root",o&&"dense",!a&&"gutters",!s&&"padding",l&&"divider",i&&"disabled",r&&"button",t==="flex-start"&&"alignItemsFlexStart",c&&"secondaryAction",u&&"selected"],container:["container"]},LF,n)},VF=Z("div",{name:"MuiListItem",slot:"Root",overridesResolver:UF})(({theme:e,ownerState:t})=>_({display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",width:"100%",boxSizing:"border-box",textAlign:"left"},!t.disablePadding&&_({paddingTop:8,paddingBottom:8},t.dense&&{paddingTop:4,paddingBottom:4},!t.disableGutters&&{paddingLeft:16,paddingRight:16},!!t.secondaryAction&&{paddingRight:48}),!!t.secondaryAction&&{[`& > .${NF.root}`]:{paddingRight:48}},{[`&.${Ja.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${Ja.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Ot(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${Ja.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Ot(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${Ja.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity}},t.alignItems==="flex-start"&&{alignItems:"flex-start"},t.divider&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"},t.button&&{transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${Ja.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:Ot(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Ot(e.palette.primary.main,e.palette.action.selectedOpacity)}}},t.hasSecondaryAction&&{paddingRight:48})),WF=Z("li",{name:"MuiListItem",slot:"Container",overridesResolver:(e,t)=>t.container})({position:"relative"}),jp=g.forwardRef(function(t,r){const n=Ie({props:t,name:"MuiListItem"}),{alignItems:o="center",autoFocus:i=!1,button:a=!1,children:s,className:l,component:c,components:u={},componentsProps:p={},ContainerComponent:f="li",ContainerProps:{className:m}={},dense:v=!1,disabled:h=!1,disableGutters:x=!1,disablePadding:y=!1,divider:b=!1,focusVisibleClassName:w,secondaryAction:S,selected:T=!1,slotProps:R={},slots:E={}}=n,A=re(n.ContainerProps,BF),P=re(n,HF),M=g.useContext(Yo),O=g.useMemo(()=>({dense:v||M.dense||!1,alignItems:o,disableGutters:x}),[o,M.dense,v,x]),F=g.useRef(null);un(()=>{i&&F.current&&F.current.focus()},[i]);const I=g.Children.toArray(s),D=I.length&&rc(I[I.length-1],["ListItemSecondaryAction"]),$=_({},n,{alignItems:o,autoFocus:i,button:a,dense:O.dense,disabled:h,disableGutters:x,disablePadding:y,divider:b,hasSecondaryAction:D,selected:T}),j=zF($),H=_t(F,r),k=E.root||u.Root||VF,L=R.root||p.root||{},B=_({className:le(j.root,L.className,l),disabled:h},P);let z=c||"li";return a&&(B.component=c||"div",B.focusVisibleClassName=le(Ja.focusVisible,w),z=Qr),D?(z=!B.component&&!c?"div":z,f==="li"&&(z==="li"?z="div":B.component==="li"&&(B.component="div")),d.jsx(Yo.Provider,{value:O,children:d.jsxs(WF,_({as:f,className:le(j.container,m),ref:H,ownerState:$},A,{children:[d.jsx(k,_({},L,!Hs(k)&&{as:z,ownerState:_({},$,L.ownerState)},B,{children:I})),I.pop()]}))})):d.jsx(Yo.Provider,{value:O,children:d.jsxs(k,_({},L,{as:z,ref:H},!Hs(k)&&{ownerState:_({},$,L.ownerState)},B,{children:[I,S&&d.jsx(NI,{children:S})]}))})});function GF(e){return e.isLink?0:e.logout?16:4}const qF=Ze(e=>({root:{padding:t=>t.small?"5px 0 5px 7px":"0 4px 0 20px",transition:be.transition(),backgroundColor:t=>t.active&&"#F3F6FF",marginTop:GF,marginBottom:t=>t.logout?10:0,width:"100%",height:40,color:t=>t.active?C.black:C.gray.mediumLight,position:"relative","&:after":{content:'""',opacity:t=>t.active?1:0,position:"absolute",backgroundColor:C.primary.blue,width:4,height:40,margin:"auto 0",right:0,top:0,bottom:0,transition:be.transition()},"&:fist-child":{marginTop:0},"& svg":{transition:be.transition(),color:t=>t.active&&C.primary.blue},"&:hover":{backgroundColor:t=>t.active?"#F3F6FF":"#F7F7F7",color:t=>t.active?C.black:"#979797","& svg":{color:t=>t.active?C.blue:"#979797"}},[e.breakpoints.down("md")]:{color:t=>t.logout?C.gray.darkest:C.black,"& svg":{color:C.black},".public-sidebar &, .public-sidebar & svg":{color:C.gray.dark}}}}),"ListItem")(Mn(jp,["active","iconColor","logout","small","isLink"]));function $I({button:e=!0,disableRipple:t=!0,...r}){return d.jsx(qF,{button:e,disableRipple:t,...r})}function QF(e){return _e("MuiListItemIcon",e)}const mS=Te("MuiListItemIcon",["root","alignItemsFlexStart"]),YF=["className"],KF=e=>{const{alignItems:t,classes:r}=e;return ke({root:["root",t==="flex-start"&&"alignItemsFlexStart"]},QF,r)},ZF=Z("div",{name:"MuiListItemIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.alignItems==="flex-start"&&t.alignItemsFlexStart]}})(({theme:e,ownerState:t})=>_({minWidth:56,color:(e.vars||e).palette.action.active,flexShrink:0,display:"inline-flex"},t.alignItems==="flex-start"&&{marginTop:8})),XF=g.forwardRef(function(t,r){const n=Ie({props:t,name:"MuiListItemIcon"}),{className:o}=n,i=re(n,YF),a=g.useContext(Yo),s=_({},n,{alignItems:a.alignItems}),l=KF(s);return d.jsx(ZF,_({className:le(l.root,o),ownerState:s,ref:r},i))}),DI=Ze({root:{width:24,height:24,minWidth:0,color:"inherit",display:"inline-flex",alignItems:"center",justifyContent:"center"}},"ListItemIcon")(XF);function JF(e){return _e("MuiTypography",e)}Te("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const eB=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],tB=e=>{const{align:t,gutterBottom:r,noWrap:n,paragraph:o,variant:i,classes:a}=e,s={root:["root",i,e.align!=="inherit"&&`align${ne(t)}`,r&&"gutterBottom",n&&"noWrap",o&&"paragraph"]};return ke(s,JF,a)},rB=Z("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.variant&&t[r.variant],r.align!=="inherit"&&t[`align${ne(r.align)}`],r.noWrap&&t.noWrap,r.gutterBottom&&t.gutterBottom,r.paragraph&&t.paragraph]}})(({theme:e,ownerState:t})=>_({margin:0},t.variant==="inherit"&&{font:"inherit"},t.variant!=="inherit"&&e.typography[t.variant],t.align!=="inherit"&&{textAlign:t.align},t.noWrap&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t.gutterBottom&&{marginBottom:"0.35em"},t.paragraph&&{marginBottom:16})),gS={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},nB={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},oB=e=>nB[e]||e,Ce=g.forwardRef(function(t,r){const n=Ie({props:t,name:"MuiTypography"}),o=oB(n.color),i=Bf(_({},n,{color:o})),{align:a="inherit",className:s,component:l,gutterBottom:c=!1,noWrap:u=!1,paragraph:p=!1,variant:f="body1",variantMapping:m=gS}=i,v=re(i,eB),h=_({},i,{align:a,color:o,className:s,component:l,gutterBottom:c,noWrap:u,paragraph:p,variant:f,variantMapping:m}),x=l||(p?"p":m[f]||gS[f])||"span",y=tB(h);return d.jsx(rB,_({as:x,ref:r,ownerState:h,className:le(y.root,s)},v))});function iB(e){return _e("MuiListItemText",e)}const Fp=Te("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]),aB=["children","className","disableTypography","inset","primary","primaryTypographyProps","secondary","secondaryTypographyProps"],sB=e=>{const{classes:t,inset:r,primary:n,secondary:o,dense:i}=e;return ke({root:["root",r&&"inset",i&&"dense",n&&o&&"multiline"],primary:["primary"],secondary:["secondary"]},iB,t)},lB=Z("div",{name:"MuiListItemText",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[{[`& .${Fp.primary}`]:t.primary},{[`& .${Fp.secondary}`]:t.secondary},t.root,r.inset&&t.inset,r.primary&&r.secondary&&t.multiline,r.dense&&t.dense]}})(({ownerState:e})=>_({flex:"1 1 auto",minWidth:0,marginTop:4,marginBottom:4},e.primary&&e.secondary&&{marginTop:6,marginBottom:6},e.inset&&{paddingLeft:56})),cB=g.forwardRef(function(t,r){const n=Ie({props:t,name:"MuiListItemText"}),{children:o,className:i,disableTypography:a=!1,inset:s=!1,primary:l,primaryTypographyProps:c,secondary:u,secondaryTypographyProps:p}=n,f=re(n,aB),{dense:m}=g.useContext(Yo);let v=l??o,h=u;const x=_({},n,{disableTypography:a,inset:s,primary:!!v,secondary:!!h,dense:m}),y=sB(x);return v!=null&&v.type!==Ce&&!a&&(v=d.jsx(Ce,_({variant:m?"body2":"body1",className:y.primary,component:c!=null&&c.variant?void 0:"span",display:"block"},c,{children:v}))),h!=null&&h.type!==Ce&&!a&&(h=d.jsx(Ce,_({variant:"body2",className:y.secondary,color:"text.secondary",display:"block"},p,{children:h}))),d.jsxs(lB,_({className:le(y.root,i),ownerState:x,ref:r},f,{children:[v,h]}))}),jI=Ze({root:{transition:"all 0.3s ease-in-out",opacity:({hidden:e})=>e?0:1,visibility:({hidden:e})=>e?"hidden":"visible"},primary:{paddingLeft:e=>e.small?0:12,fontSize:14,fontWeight:500,whiteSpace:"nowrap"}},"ListItemText")(Mn(cB,["hidden"]));function uB(e){return _e("MuiSvgIcon",e)}Te("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const dB=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],pB=e=>{const{color:t,fontSize:r,classes:n}=e,o={root:["root",t!=="inherit"&&`color${ne(t)}`,`fontSize${ne(r)}`]};return ke(o,uB,n)},fB=Z("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.color!=="inherit"&&t[`color${ne(r.color)}`],t[`fontSize${ne(r.fontSize)}`]]}})(({theme:e,ownerState:t})=>{var r,n,o,i,a,s,l,c,u,p,f,m,v;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:t.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:(r=e.transitions)==null||(n=r.create)==null?void 0:n.call(r,"fill",{duration:(o=e.transitions)==null||(o=o.duration)==null?void 0:o.shorter}),fontSize:{inherit:"inherit",small:((i=e.typography)==null||(a=i.pxToRem)==null?void 0:a.call(i,20))||"1.25rem",medium:((s=e.typography)==null||(l=s.pxToRem)==null?void 0:l.call(s,24))||"1.5rem",large:((c=e.typography)==null||(u=c.pxToRem)==null?void 0:u.call(c,35))||"2.1875rem"}[t.fontSize],color:(p=(f=(e.vars||e).palette)==null||(f=f[t.color])==null?void 0:f.main)!=null?p:{action:(m=(e.vars||e).palette)==null||(m=m.action)==null?void 0:m.active,disabled:(v=(e.vars||e).palette)==null||(v=v.action)==null?void 0:v.disabled,inherit:void 0}[t.color]}}),Vc=g.forwardRef(function(t,r){const n=Ie({props:t,name:"MuiSvgIcon"}),{children:o,className:i,color:a="inherit",component:s="svg",fontSize:l="medium",htmlColor:c,inheritViewBox:u=!1,titleAccess:p,viewBox:f="0 0 24 24"}=n,m=re(n,dB),v=g.isValidElement(o)&&o.type==="svg",h=_({},n,{color:a,component:s,fontSize:l,instanceFontSize:t.fontSize,inheritViewBox:u,viewBox:f,hasSvgAsChild:v}),x={};u||(x.viewBox=f);const y=pB(h);return d.jsxs(fB,_({as:s,className:le(y.root,i),focusable:"false",color:c,"aria-hidden":p?void 0:!0,role:p?"img":void 0,ref:r},x,m,v&&o.props,{ownerState:h,children:[v?o.props.children:o,p?d.jsx("title",{children:p}):null]}))});Vc.muiName="SvgIcon";const At=g.forwardRef(({icon:e,size:t=0,style:r={},...n},o)=>{const{parts:i,viewSize:a,style:s,...l}=e,c={...r,...s||{},fontSize:t||a},u=typeof a=="number"?`0 0 ${a} ${a}`:a;return d.jsx(Vc,{ref:o,viewBox:u,style:c,...n,...l,children:i.map((p,f)=>d.jsx(p.type,{...p.props},`Icon-parts--${f.toString()}`))})}),vS={menu_new_qr:{parts:[{type:"path",props:{d:"M12 2C6.48 2 2 6.48 2 12C2 17.52 6.48 22 12 22C17.52 22 22 17.52 22 12C22 6.48 17.52 2 12 2ZM12 20C7.59 20 4 16.41 4 12C4 7.59 7.59 4 12 4C16.41 4 20 7.59 20 12C20 16.41 16.41 20 12 20Z"}},{type:"path",props:{d:"M12.0076 9.99889L10.0065 12L12.0076 14.0011L14.0088 12L12.0076 9.99889Z"}},{type:"path",props:{d:"M8.00213 10.5842L6.58792 11.9984L8.00213 13.4126L9.41635 11.9984L8.00213 10.5842Z"}},{type:"path",props:{d:"M15.999 10.5874L14.5848 12.0016L15.999 13.4158L17.4132 12.0016L15.999 10.5874Z"}},{type:"path",props:{d:"M12.0021 6.58737L10.5879 8.00159L12.0021 9.4158L13.4163 8.00159L12.0021 6.58737Z"}},{type:"path",props:{d:"M11.999 14.5842L10.5848 15.9984L11.999 17.4126L13.4132 15.9984L11.999 14.5842Z"}}],viewSize:24},menu_bulk_create:{parts:[{type:"path",props:{d:"M12 2C6.48 2 2 6.48 2 12C2 17.52 6.48 22 12 22C17.52 22 22 17.52 22 12C22 6.48 17.52 2 12 2ZM12 20C7.59 20 4 16.41 4 12C4 7.59 7.59 4 12 4C16.41 4 20 7.59 20 12C20 16.41 16.41 20 12 20Z"}},{type:"path",props:{d:"M12 6C8.69 6 6 8.69 6 12C6 15.31 8.69 18 12 18C15.31 18 18 15.31 18 12C18 8.69 15.31 6 12 6ZM12 16C9.79 16 8 14.21 8 12C8 9.79 9.79 8 12 8C14.21 8 16 9.79 16 12C16 14.21 14.21 16 12 16Z"}},{type:"path",props:{d:"M12 14C13.1046 14 14 13.1046 14 12C14 10.8954 13.1046 10 12 10C10.8954 10 10 10.8954 10 12C10 13.1046 10.8954 14 12 14Z"}}],viewSize:24},menu_qr_codes:{parts:[{type:"path",props:{d:"M3 10H10V3H3V10ZM5 5H8V8H5V5Z"}},{type:"path",props:{d:"M3 21H10V14H3V21ZM5 16H8V19H5V16Z"}},{type:"path",props:{d:"M14 3V10H21V3H14ZM19 8H16V5H19V8Z"}},{type:"path",props:{d:"M16 14H14V16H16V14Z"}},{type:"path",props:{d:"M21 14H19V16H21V14Z"}},{type:"path",props:{d:"M19 16H16V19H19V16Z"}},{type:"path",props:{d:"M16 19H14V21H16V19Z"}},{type:"path",props:{d:"M21 19H19V21H21V19Z"}}],viewSize:24},menu_analysis:{parts:[{type:"path",props:{d:"M2 20H8V12H2V20ZM4 14H6V18H4V14Z"}},{type:"path",props:{d:"M16 4V20H22V4H16ZM20 18H18V6H20V18Z"}},{type:"path",props:{d:"M9 20H15V8H9V20ZM11 10H13V18H11V10Z"}}],viewSize:24},menu_templates:{parts:[{type:"path",props:{d:"M18 3H3V18H5V5H18V3Z"}},{type:"path",props:{d:"M7 7V22H22V7H7ZM20 20H9V9H20V20Z"}},{type:"path",props:{d:"M13 11H11V13H13V11Z"}},{type:"path",props:{d:"M18 11H16V13H18V11Z"}},{type:"path",props:{d:"M16 13H13V16H16V13Z"}},{type:"path",props:{d:"M13 16H11V18H13V16Z"}},{type:"path",props:{d:"M18 16H16V18H18V16Z"}}],viewSize:24},domains:{parts:[{type:"path",props:{fill:"currentColor",d:"M2 2v20h20V2H2Zm18 18H4V8h16v12Zm0-14H4V4h16v2Z"}},{type:"path",props:{fill:"currentColor",d:"M16 14c0 1.1-.9 2-2 2v2c2.21 0 4-1.79 4-4s-1.79-4-4-4v2c1.1 0 2 .9 2 2ZM10 18v-2c-1.1 0-2-.9-2-2s.9-2 2-2v-2c-2.21 0-4 1.79-4 4s1.79 4 4 4ZM14 13h-4v2h4v-2Z"}}]},menu_my_account:{parts:[{type:"path",props:{d:"M4 2V22H20V2H4ZM18 20H6V4H18V20Z"}},{type:"path",props:{d:"M10 7H8V9H10V7Z"}},{type:"path",props:{d:"M16 7H11V9H16V7Z"}},{type:"path",props:{d:"M10 11H8V13H10V11Z"}},{type:"path",props:{d:"M16 11H11V13H16V11Z"}},{type:"path",props:{d:"M10 15H8V17H10V15Z"}},{type:"path",props:{d:"M16 15H11V17H16V15Z"}}],viewSize:24},menu_users:{parts:[{type:"path",props:{d:"M12 12C14.76 12 17 9.76 17 7C17 4.24 14.76 2 12 2C9.24 2 7 4.24 7 7C7 9.76 9.24 12 12 12ZM12 4C13.65 4 15 5.35 15 7C15 8.65 13.65 10 12 10C10.35 10 9 8.65 9 7C9 5.35 10.35 4 12 4Z"}},{type:"path",props:{d:"M15 13H9C6.24 13 4 15.24 4 18V22H20V18C20 15.24 17.76 13 15 13ZM18 20H6V18C6 16.35 7.35 15 9 15H15C16.65 15 18 16.35 18 18V20Z"}}],viewSize:24},menu_payments:{parts:[{type:"path",props:{d:"M2 4V20H22V4H2ZM20 18H4V15H20V18ZM20 13H4V6H20V13Z"}},{type:"path",props:{d:"M18 9H15V11H18V9Z"}}],viewSize:24},menu_contact:{parts:[{type:"path",props:{d:"M20.98 11C20.81 6.56 17.15 3 12.67 3H11.32C6.84 3 3.19 6.56 3.02 11H3V19C3 20.1 3.9 21 5 21H9V11H5.02C5.19 7.66 7.95 5 11.33 5H12.68C16.06 5 18.82 7.66 18.99 11H15.01V21H19.01C20.11 21 21.01 20.1 21.01 19V11H20.99H20.98ZM7 19H5V13H7V19ZM19 19H17V13H19V19Z"}}],viewSize:24},menu_api_docs:{parts:[{type:"path",props:{d:"M16.41 2H3V22H21V6.59L16.41 2ZM19 20H5V4H15.59L19 7.41V20Z"}},{type:"path",props:{d:"M9 9H11V7H7V11H9V9Z"}},{type:"path",props:{d:"M15 15H13V17H17V13H15V15Z"}},{type:"path",props:{d:"M14.2987 8.28768L8.29532 14.291L9.70953 15.7052L15.7129 9.70189L14.2987 8.28768Z"}}],viewSize:24},menu_help_center:{parts:[{type:"path",props:{d:"M12 2C6.48 2 2 6.48 2 12C2 17.52 6.48 22 12 22C17.52 22 22 17.52 22 12C22 6.48 17.52 2 12 2ZM16.9 5.69L14.76 7.83C13.97 7.31 13.02 7 12.01 7C11 7 10.05 7.31 9.26 7.83L7.12 5.69C8.48 4.64 10.17 4 12.02 4C13.87 4 15.56 4.63 16.92 5.69H16.9ZM9 12C9 10.35 10.35 9 12 9C13.65 9 15 10.35 15 12C15 13.65 13.65 15 12 15C10.35 15 9 13.65 9 12ZM4 12C4 10.15 4.63 8.46 5.69 7.1L7.83 9.24C7.31 10.03 7 10.98 7 11.99C7 13 7.31 13.95 7.83 14.74L5.69 16.88C4.64 15.52 4 13.83 4 11.98V12ZM7.1 18.31L9.24 16.17C10.03 16.69 10.98 17 11.99 17C13 17 13.95 16.69 14.74 16.17L16.88 18.31C15.52 19.36 13.83 20 11.98 20C10.13 20 8.44 19.37 7.08 18.31H7.1ZM18.31 16.9L16.17 14.76C16.69 13.97 17 13.02 17 12.01C17 11 16.69 10.05 16.17 9.26L18.31 7.12C19.36 8.48 20 10.17 20 12.02C20 13.87 19.37 15.56 18.31 16.92V16.9Z"}}],viewSize:24},logout2:{parts:[{type:"path",props:{d:"M16 13V11H6.41003L8.71003 8.71004L7.29003 7.29004L2.59003 12L7.29003 16.71L8.71003 15.29L6.41003 13H16Z"}},{type:"path",props:{d:"M11 4V8H13V6H19V18H13V16H11V20H21V4H11Z"}}],viewSize:24}},FI=g.forwardRef(({name:e,style:t={},size:r=0,...n},o)=>vS[e]?d.jsx(At,{ref:o,style:t,size:r,...n,icon:vS[e]}):null);function Sr(e,t){function r(n,o){return d.jsx(Vc,_({"data-testid":`${t}Icon`,ref:o},n,{children:e}))}return r.muiName=Vc.muiName,g.memo(g.forwardRef(r))}const hB={configure:e=>{Yy.configure(e)}},mB=Object.freeze(Object.defineProperty({__proto__:null,capitalize:ne,createChainedFunction:N0,createSvgIcon:Sr,debounce:Zf,deprecatedPropType:Q6,isMuiElement:rc,ownerDocument:yr,ownerWindow:_o,requirePropFactory:Y6,setRef:_p,unstable_ClassNameGenerator:hB,unstable_useEnhancedEffect:un,unstable_useId:bu,unsupportedProp:Z6,useControlled:Bs,useEventCallback:qo,useForkRef:_t,useIsFocusVisible:Xy},Symbol.toStringTag,{value:"Module"}));var nt={};/**
 * @license React
 * react-is.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var P1=Symbol.for("react.element"),O1=Symbol.for("react.portal"),gh=Symbol.for("react.fragment"),vh=Symbol.for("react.strict_mode"),yh=Symbol.for("react.profiler"),bh=Symbol.for("react.provider"),xh=Symbol.for("react.context"),gB=Symbol.for("react.server_context"),wh=Symbol.for("react.forward_ref"),Sh=Symbol.for("react.suspense"),Eh=Symbol.for("react.suspense_list"),Ch=Symbol.for("react.memo"),Th=Symbol.for("react.lazy"),vB=Symbol.for("react.offscreen"),BI;BI=Symbol.for("react.module.reference");function Bn(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case P1:switch(e=e.type,e){case gh:case yh:case vh:case Sh:case Eh:return e;default:switch(e=e&&e.$$typeof,e){case gB:case xh:case wh:case Th:case Ch:case bh:return e;default:return t}}case O1:return t}}}nt.ContextConsumer=xh;nt.ContextProvider=bh;nt.Element=P1;nt.ForwardRef=wh;nt.Fragment=gh;nt.Lazy=Th;nt.Memo=Ch;nt.Portal=O1;nt.Profiler=yh;nt.StrictMode=vh;nt.Suspense=Sh;nt.SuspenseList=Eh;nt.isAsyncMode=function(){return!1};nt.isConcurrentMode=function(){return!1};nt.isContextConsumer=function(e){return Bn(e)===xh};nt.isContextProvider=function(e){return Bn(e)===bh};nt.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===P1};nt.isForwardRef=function(e){return Bn(e)===wh};nt.isFragment=function(e){return Bn(e)===gh};nt.isLazy=function(e){return Bn(e)===Th};nt.isMemo=function(e){return Bn(e)===Ch};nt.isPortal=function(e){return Bn(e)===O1};nt.isProfiler=function(e){return Bn(e)===yh};nt.isStrictMode=function(e){return Bn(e)===vh};nt.isSuspense=function(e){return Bn(e)===Sh};nt.isSuspenseList=function(e){return Bn(e)===Eh};nt.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===gh||e===yh||e===vh||e===Sh||e===Eh||e===vB||typeof e=="object"&&e!==null&&(e.$$typeof===Th||e.$$typeof===Ch||e.$$typeof===bh||e.$$typeof===xh||e.$$typeof===wh||e.$$typeof===BI||e.getModuleId!==void 0)};nt.typeOf=Bn;const L1=e=>e.scrollTop;function Pi(e,t){var r,n;const{timeout:o,easing:i,style:a={}}=e;return{duration:(r=a.transitionDuration)!=null?r:typeof o=="number"?o:o[t.mode]||0,easing:(n=a.transitionTimingFunction)!=null?n:typeof i=="object"?i[t.mode]:i,delay:a.transitionDelay}}function yB(e){return _e("MuiCollapse",e)}Te("MuiCollapse",["root","horizontal","vertical","entered","hidden","wrapper","wrapperInner"]);const bB=["addEndListener","children","className","collapsedSize","component","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","orientation","style","timeout","TransitionComponent"],xB=e=>{const{orientation:t,classes:r}=e,n={root:["root",`${t}`],entered:["entered"],hidden:["hidden"],wrapper:["wrapper",`${t}`],wrapperInner:["wrapperInner",`${t}`]};return ke(n,yB,r)},wB=Z("div",{name:"MuiCollapse",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.orientation],r.state==="entered"&&t.entered,r.state==="exited"&&!r.in&&r.collapsedSize==="0px"&&t.hidden]}})(({theme:e,ownerState:t})=>_({height:0,overflow:"hidden",transition:e.transitions.create("height")},t.orientation==="horizontal"&&{height:"auto",width:0,transition:e.transitions.create("width")},t.state==="entered"&&_({height:"auto",overflow:"visible"},t.orientation==="horizontal"&&{width:"auto"}),t.state==="exited"&&!t.in&&t.collapsedSize==="0px"&&{visibility:"hidden"})),SB=Z("div",{name:"MuiCollapse",slot:"Wrapper",overridesResolver:(e,t)=>t.wrapper})(({ownerState:e})=>_({display:"flex",width:"100%"},e.orientation==="horizontal"&&{width:"auto",height:"100%"})),EB=Z("div",{name:"MuiCollapse",slot:"WrapperInner",overridesResolver:(e,t)=>t.wrapperInner})(({ownerState:e})=>_({width:"100%"},e.orientation==="horizontal"&&{width:"auto",height:"100%"})),HI=g.forwardRef(function(t,r){const n=Ie({props:t,name:"MuiCollapse"}),{addEndListener:o,children:i,className:a,collapsedSize:s="0px",component:l,easing:c,in:u,onEnter:p,onEntered:f,onEntering:m,onExit:v,onExited:h,onExiting:x,orientation:y="vertical",style:b,timeout:w=dA.standard,TransitionComponent:S=Fn}=n,T=re(n,bB),R=_({},n,{orientation:y,collapsedSize:s}),E=xB(R),A=Lo(),P=ta(),M=g.useRef(null),O=g.useRef(),F=typeof s=="number"?`${s}px`:s,I=y==="horizontal",D=I?"width":"height",$=g.useRef(null),j=_t(r,$),H=Y=>se=>{if(Y){const oe=$.current;se===void 0?Y(oe):Y(oe,se)}},k=()=>M.current?M.current[I?"clientWidth":"clientHeight"]:0,L=H((Y,se)=>{M.current&&I&&(M.current.style.position="absolute"),Y.style[D]=F,p&&p(Y,se)}),B=H((Y,se)=>{const oe=k();M.current&&I&&(M.current.style.position="");const{duration:ie,easing:he}=Pi({style:b,timeout:w,easing:c},{mode:"enter"});if(w==="auto"){const ae=A.transitions.getAutoHeightDuration(oe);Y.style.transitionDuration=`${ae}ms`,O.current=ae}else Y.style.transitionDuration=typeof ie=="string"?ie:`${ie}ms`;Y.style[D]=`${oe}px`,Y.style.transitionTimingFunction=he,m&&m(Y,se)}),z=H((Y,se)=>{Y.style[D]="auto",f&&f(Y,se)}),V=H(Y=>{Y.style[D]=`${k()}px`,v&&v(Y)}),K=H(h),q=H(Y=>{const se=k(),{duration:oe,easing:ie}=Pi({style:b,timeout:w,easing:c},{mode:"exit"});if(w==="auto"){const he=A.transitions.getAutoHeightDuration(se);Y.style.transitionDuration=`${he}ms`,O.current=he}else Y.style.transitionDuration=typeof oe=="string"?oe:`${oe}ms`;Y.style[D]=F,Y.style.transitionTimingFunction=ie,x&&x(Y)}),te=Y=>{w==="auto"&&P.start(O.current||0,Y),o&&o($.current,Y)};return d.jsx(S,_({in:u,onEnter:L,onEntered:z,onEntering:B,onExit:V,onExited:K,onExiting:q,addEndListener:te,nodeRef:$,timeout:w==="auto"?null:w},T,{children:(Y,se)=>d.jsx(wB,_({as:l,className:le(E.root,a,{entered:E.entered,exited:!u&&F==="0px"&&E.hidden}[Y]),style:_({[I?"minWidth":"minHeight"]:F},b),ref:j},se,{ownerState:_({},R,{state:Y}),children:d.jsx(SB,{ownerState:_({},R,{state:Y}),className:E.wrapper,ref:M,children:d.jsx(EB,{ownerState:_({},R,{state:Y}),className:E.wrapperInner,children:i})})}))}))});HI.muiSupportAuto=!0;function CB(e){return _e("MuiPaper",e)}const TB=Te("MuiPaper",["root","rounded","outlined","elevation","elevation0","elevation1","elevation2","elevation3","elevation4","elevation5","elevation6","elevation7","elevation8","elevation9","elevation10","elevation11","elevation12","elevation13","elevation14","elevation15","elevation16","elevation17","elevation18","elevation19","elevation20","elevation21","elevation22","elevation23","elevation24"]),RB=["className","component","elevation","square","variant"],_B=e=>{const{square:t,elevation:r,variant:n,classes:o}=e,i={root:["root",n,!t&&"rounded",n==="elevation"&&`elevation${r}`]};return ke(i,CB,o)},AB=Z("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],!r.square&&t.rounded,r.variant==="elevation"&&t[`elevation${r.elevation}`]]}})(({theme:e,ownerState:t})=>{var r;return _({backgroundColor:(e.vars||e).palette.background.paper,color:(e.vars||e).palette.text.primary,transition:e.transitions.create("box-shadow")},!t.square&&{borderRadius:e.shape.borderRadius},t.variant==="outlined"&&{border:`1px solid ${(e.vars||e).palette.divider}`},t.variant==="elevation"&&_({boxShadow:(e.vars||e).shadows[t.elevation]},!e.vars&&e.palette.mode==="dark"&&{backgroundImage:`linear-gradient(${Ot("#fff",Fx(t.elevation))}, ${Ot("#fff",Fx(t.elevation))})`},e.vars&&{backgroundImage:(r=e.vars.overlays)==null?void 0:r[t.elevation]}))}),Ta=g.forwardRef(function(t,r){const n=Ie({props:t,name:"MuiPaper"}),{className:o,component:i="div",elevation:a=1,square:s=!1,variant:l="elevation"}=n,c=re(n,RB),u=_({},n,{component:i,elevation:a,square:s,variant:l}),p=_B(u);return d.jsx(AB,_({as:i,ownerState:u,className:le(p.root,o),ref:r},c))}),UI=g.createContext({}),kB=["className","elementType","ownerState","externalForwardedProps","getSlotOwnerState","internalForwardedProps"],IB=["component","slots","slotProps"],MB=["component"];function dv(e,t){const{className:r,elementType:n,ownerState:o,externalForwardedProps:i,getSlotOwnerState:a,internalForwardedProps:s}=t,l=re(t,kB),{component:c,slots:u={[e]:void 0},slotProps:p={[e]:void 0}}=i,f=re(i,IB),m=u[e]||n,v=J_(p[e],o),h=X_(_({className:r},l,{externalForwardedProps:e==="root"?f:void 0,externalSlotProps:v})),{props:{component:x},internalRef:y}=h,b=re(h.props,MB),w=_t(y,v==null?void 0:v.ref,t.ref),S=a?a(b):{},T=_({},o,S),R=e==="root"?x||c:x,E=fs(m,_({},e==="root"&&!c&&!u[e]&&s,e!=="root"&&!u[e]&&s,b,R&&{as:R},{ref:w}),T);return Object.keys(S).forEach(A=>{delete E[A]}),[m,E]}function PB(e){return _e("MuiAccordion",e)}const cd=Te("MuiAccordion",["root","rounded","expanded","disabled","gutters","region"]),OB=["children","className","defaultExpanded","disabled","disableGutters","expanded","onChange","square","slots","slotProps","TransitionComponent","TransitionProps"],LB=e=>{const{classes:t,square:r,expanded:n,disabled:o,disableGutters:i}=e;return ke({root:["root",!r&&"rounded",n&&"expanded",o&&"disabled",!i&&"gutters"],region:["region"]},PB,t)},NB=Z(Ta,{name:"MuiAccordion",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[{[`& .${cd.region}`]:t.region},t.root,!r.square&&t.rounded,!r.disableGutters&&t.gutters]}})(({theme:e})=>{const t={duration:e.transitions.duration.shortest};return{position:"relative",transition:e.transitions.create(["margin"],t),overflowAnchor:"none","&::before":{position:"absolute",left:0,top:-1,right:0,height:1,content:'""',opacity:1,backgroundColor:(e.vars||e).palette.divider,transition:e.transitions.create(["opacity","background-color"],t)},"&:first-of-type":{"&::before":{display:"none"}},[`&.${cd.expanded}`]:{"&::before":{opacity:0},"&:first-of-type":{marginTop:0},"&:last-of-type":{marginBottom:0},"& + &":{"&::before":{display:"none"}}},[`&.${cd.disabled}`]:{backgroundColor:(e.vars||e).palette.action.disabledBackground}}},({theme:e})=>({variants:[{props:t=>!t.square,style:{borderRadius:0,"&:first-of-type":{borderTopLeftRadius:(e.vars||e).shape.borderRadius,borderTopRightRadius:(e.vars||e).shape.borderRadius},"&:last-of-type":{borderBottomLeftRadius:(e.vars||e).shape.borderRadius,borderBottomRightRadius:(e.vars||e).shape.borderRadius,"@supports (-ms-ime-align: auto)":{borderBottomLeftRadius:0,borderBottomRightRadius:0}}}},{props:t=>!t.disableGutters,style:{[`&.${cd.expanded}`]:{margin:"16px 0"}}}]})),N1=g.forwardRef(function(t,r){const n=Ie({props:t,name:"MuiAccordion"}),{children:o,className:i,defaultExpanded:a=!1,disabled:s=!1,disableGutters:l=!1,expanded:c,onChange:u,square:p=!1,slots:f={},slotProps:m={},TransitionComponent:v,TransitionProps:h}=n,x=re(n,OB),[y,b]=Bs({controlled:c,default:a,name:"Accordion",state:"expanded"}),w=g.useCallback(I=>{b(!y),u&&u(I,!y)},[y,u,b]),[S,...T]=g.Children.toArray(o),R=g.useMemo(()=>({expanded:y,disabled:s,disableGutters:l,toggle:w}),[y,s,l,w]),E=_({},n,{square:p,disabled:s,disableGutters:l,expanded:y}),A=LB(E),P=_({transition:v},f),M=_({transition:h},m),[O,F]=dv("transition",{elementType:HI,externalForwardedProps:{slots:P,slotProps:M},ownerState:E});return d.jsxs(NB,_({className:le(A.root,i),ref:r,ownerState:E,square:p},x,{children:[d.jsx(UI.Provider,{value:R,children:S}),d.jsx(O,_({in:y,timeout:"auto"},F,{children:d.jsx("div",{"aria-labelledby":S.props.id,id:S.props["aria-controls"],role:"region",className:A.region,children:T})}))]}))});function $B(e){return _e("MuiAccordionDetails",e)}Te("MuiAccordionDetails",["root"]);const DB=["className"],jB=e=>{const{classes:t}=e;return ke({root:["root"]},$B,t)},FB=Z("div",{name:"MuiAccordionDetails",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e})=>({padding:e.spacing(1,2,2)})),$1=g.forwardRef(function(t,r){const n=Ie({props:t,name:"MuiAccordionDetails"}),{className:o}=n,i=re(n,DB),a=n,s=jB(a);return d.jsx(FB,_({className:le(s.root,o),ref:r,ownerState:a},i))});function BB(e){return _e("MuiAccordionSummary",e)}const ms=Te("MuiAccordionSummary",["root","expanded","focusVisible","disabled","gutters","contentGutters","content","expandIconWrapper"]),HB=["children","className","expandIcon","focusVisibleClassName","onClick"],UB=e=>{const{classes:t,expanded:r,disabled:n,disableGutters:o}=e;return ke({root:["root",r&&"expanded",n&&"disabled",!o&&"gutters"],focusVisible:["focusVisible"],content:["content",r&&"expanded",!o&&"contentGutters"],expandIconWrapper:["expandIconWrapper",r&&"expanded"]},BB,t)},zB=Z(Qr,{name:"MuiAccordionSummary",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e})=>{const t={duration:e.transitions.duration.shortest};return{display:"flex",minHeight:48,padding:e.spacing(0,2),transition:e.transitions.create(["min-height","background-color"],t),[`&.${ms.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${ms.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`&:hover:not(.${ms.disabled})`]:{cursor:"pointer"},variants:[{props:r=>!r.disableGutters,style:{[`&.${ms.expanded}`]:{minHeight:64}}}]}}),VB=Z("div",{name:"MuiAccordionSummary",slot:"Content",overridesResolver:(e,t)=>t.content})(({theme:e})=>({display:"flex",flexGrow:1,margin:"12px 0",variants:[{props:t=>!t.disableGutters,style:{transition:e.transitions.create(["margin"],{duration:e.transitions.duration.shortest}),[`&.${ms.expanded}`]:{margin:"20px 0"}}}]})),WB=Z("div",{name:"MuiAccordionSummary",slot:"ExpandIconWrapper",overridesResolver:(e,t)=>t.expandIconWrapper})(({theme:e})=>({display:"flex",color:(e.vars||e).palette.action.active,transform:"rotate(0deg)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shortest}),[`&.${ms.expanded}`]:{transform:"rotate(180deg)"}})),D1=g.forwardRef(function(t,r){const n=Ie({props:t,name:"MuiAccordionSummary"}),{children:o,className:i,expandIcon:a,focusVisibleClassName:s,onClick:l}=n,c=re(n,HB),{disabled:u=!1,disableGutters:p,expanded:f,toggle:m}=g.useContext(UI),v=y=>{m&&m(y),l&&l(y)},h=_({},n,{expanded:f,disabled:u,disableGutters:p}),x=UB(h);return d.jsxs(zB,_({focusRipple:!1,disableRipple:!0,disabled:u,component:"div","aria-expanded":f,className:le(x.root,i),focusVisibleClassName:le(x.focusVisible,s),onClick:v,ref:r,ownerState:h},c,{children:[d.jsx(VB,{className:x.content,ownerState:h,children:o}),a&&d.jsx(WB,{className:x.expandIconWrapper,ownerState:h,children:a})]}))});function GB(e){return _e("MuiAlert",e)}const yS=Te("MuiAlert",["root","action","icon","message","filled","colorSuccess","colorInfo","colorWarning","colorError","filledSuccess","filledInfo","filledWarning","filledError","outlined","outlinedSuccess","outlinedInfo","outlinedWarning","outlinedError","standard","standardSuccess","standardInfo","standardWarning","standardError"]);function qB(e){return _e("MuiIconButton",e)}const QB=Te("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]),YB=["edge","children","className","color","disabled","disableFocusRipple","size"],KB=e=>{const{classes:t,disabled:r,color:n,edge:o,size:i}=e,a={root:["root",r&&"disabled",n!=="default"&&`color${ne(n)}`,o&&`edge${ne(o)}`,`size${ne(i)}`]};return ke(a,qB,t)},ZB=Z(Qr,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.color!=="default"&&t[`color${ne(r.color)}`],r.edge&&t[`edge${ne(r.edge)}`],t[`size${ne(r.size)}`]]}})(({theme:e,ownerState:t})=>_({textAlign:"center",flex:"0 0 auto",fontSize:e.typography.pxToRem(24),padding:8,borderRadius:"50%",overflow:"visible",color:(e.vars||e).palette.action.active,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest})},!t.disableRipple&&{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:Ot(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},t.edge==="start"&&{marginLeft:t.size==="small"?-3:-12},t.edge==="end"&&{marginRight:t.size==="small"?-3:-12}),({theme:e,ownerState:t})=>{var r;const n=(r=(e.vars||e).palette)==null?void 0:r[t.color];return _({},t.color==="inherit"&&{color:"inherit"},t.color!=="inherit"&&t.color!=="default"&&_({color:n==null?void 0:n.main},!t.disableRipple&&{"&:hover":_({},n&&{backgroundColor:e.vars?`rgba(${n.mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Ot(n.main,e.palette.action.hoverOpacity)},{"@media (hover: none)":{backgroundColor:"transparent"}})}),t.size==="small"&&{padding:5,fontSize:e.typography.pxToRem(18)},t.size==="large"&&{padding:12,fontSize:e.typography.pxToRem(28)},{[`&.${QB.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled}})}),no=g.forwardRef(function(t,r){const n=Ie({props:t,name:"MuiIconButton"}),{edge:o=!1,children:i,className:a,color:s="default",disabled:l=!1,disableFocusRipple:c=!1,size:u="medium"}=n,p=re(n,YB),f=_({},n,{edge:o,color:s,disabled:l,disableFocusRipple:c,size:u}),m=KB(f);return d.jsx(ZB,_({className:le(m.root,a),centerRipple:!0,focusRipple:!c,disabled:l,ref:r},p,{ownerState:f,children:i}))}),XB=Sr(d.jsx("path",{d:"M20,12A8,8 0 0,1 12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4C12.76,4 13.5,4.11 14.2, 4.31L15.77,2.74C14.61,2.26 13.34,2 12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0, 0 22,12M7.91,10.08L6.5,11.5L11,16L21,6L19.59,4.58L11,13.17L7.91,10.08Z"}),"SuccessOutlined"),JB=Sr(d.jsx("path",{d:"M12 5.99L19.53 19H4.47L12 5.99M12 2L1 21h22L12 2zm1 14h-2v2h2v-2zm0-6h-2v4h2v-4z"}),"ReportProblemOutlined"),eH=Sr(d.jsx("path",{d:"M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"ErrorOutline"),tH=Sr(d.jsx("path",{d:"M11,9H13V7H11M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20, 12C20,16.41 16.41,20 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10, 10 0 0,0 12,2M11,17H13V11H11V17Z"}),"InfoOutlined"),rH=Sr(d.jsx("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close"),nH=["action","children","className","closeText","color","components","componentsProps","icon","iconMapping","onClose","role","severity","slotProps","slots","variant"],oH=e=>{const{variant:t,color:r,severity:n,classes:o}=e,i={root:["root",`color${ne(r||n)}`,`${t}${ne(r||n)}`,`${t}`],icon:["icon"],message:["message"],action:["action"]};return ke(i,GB,o)},iH=Z(Ta,{name:"MuiAlert",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],t[`${r.variant}${ne(r.color||r.severity)}`]]}})(({theme:e})=>{const t=e.palette.mode==="light"?$c:Dc,r=e.palette.mode==="light"?Dc:$c;return _({},e.typography.body2,{backgroundColor:"transparent",display:"flex",padding:"6px 16px",variants:[...Object.entries(e.palette).filter(([,n])=>n.main&&n.light).map(([n])=>({props:{colorSeverity:n,variant:"standard"},style:{color:e.vars?e.vars.palette.Alert[`${n}Color`]:t(e.palette[n].light,.6),backgroundColor:e.vars?e.vars.palette.Alert[`${n}StandardBg`]:r(e.palette[n].light,.9),[`& .${yS.icon}`]:e.vars?{color:e.vars.palette.Alert[`${n}IconColor`]}:{color:e.palette[n].main}}})),...Object.entries(e.palette).filter(([,n])=>n.main&&n.light).map(([n])=>({props:{colorSeverity:n,variant:"outlined"},style:{color:e.vars?e.vars.palette.Alert[`${n}Color`]:t(e.palette[n].light,.6),border:`1px solid ${(e.vars||e).palette[n].light}`,[`& .${yS.icon}`]:e.vars?{color:e.vars.palette.Alert[`${n}IconColor`]}:{color:e.palette[n].main}}})),...Object.entries(e.palette).filter(([,n])=>n.main&&n.dark).map(([n])=>({props:{colorSeverity:n,variant:"filled"},style:_({fontWeight:e.typography.fontWeightMedium},e.vars?{color:e.vars.palette.Alert[`${n}FilledColor`],backgroundColor:e.vars.palette.Alert[`${n}FilledBg`]}:{backgroundColor:e.palette.mode==="dark"?e.palette[n].dark:e.palette[n].main,color:e.palette.getContrastText(e.palette[n].main)})}))]})}),aH=Z("div",{name:"MuiAlert",slot:"Icon",overridesResolver:(e,t)=>t.icon})({marginRight:12,padding:"7px 0",display:"flex",fontSize:22,opacity:.9}),sH=Z("div",{name:"MuiAlert",slot:"Message",overridesResolver:(e,t)=>t.message})({padding:"8px 0",minWidth:0,overflow:"auto"}),bS=Z("div",{name:"MuiAlert",slot:"Action",overridesResolver:(e,t)=>t.action})({display:"flex",alignItems:"flex-start",padding:"4px 0 0 16px",marginLeft:"auto",marginRight:-8}),xS={success:d.jsx(XB,{fontSize:"inherit"}),warning:d.jsx(JB,{fontSize:"inherit"}),error:d.jsx(eH,{fontSize:"inherit"}),info:d.jsx(tH,{fontSize:"inherit"})},lH=g.forwardRef(function(t,r){const n=Ie({props:t,name:"MuiAlert"}),{action:o,children:i,className:a,closeText:s="Close",color:l,components:c={},componentsProps:u={},icon:p,iconMapping:f=xS,onClose:m,role:v="alert",severity:h="success",slotProps:x={},slots:y={},variant:b="standard"}=n,w=re(n,nH),S=_({},n,{color:l,severity:h,variant:b,colorSeverity:l||h}),T=oH(S),R={slots:_({closeButton:c.CloseButton,closeIcon:c.CloseIcon},y),slotProps:_({},u,x)},[E,A]=dv("closeButton",{elementType:no,externalForwardedProps:R,ownerState:S}),[P,M]=dv("closeIcon",{elementType:rH,externalForwardedProps:R,ownerState:S});return d.jsxs(iH,_({role:v,elevation:0,ownerState:S,className:le(T.root,a),ref:r},w,{children:[p!==!1?d.jsx(aH,{ownerState:S,className:T.icon,children:p||f[h]||xS[h]}):null,d.jsx(sH,{ownerState:S,className:T.message,children:i}),o!=null?d.jsx(bS,{ownerState:S,className:T.action,children:o}):null,o==null&&m?d.jsx(bS,{ownerState:S,className:T.action,children:d.jsx(E,_({size:"small","aria-label":s,title:s,color:"inherit",onClick:m},A,{children:d.jsx(P,_({fontSize:"small"},M))}))}):null]}))});var j1={};Object.defineProperty(j1,"__esModule",{value:!0});var zI=j1.default=void 0,cH=dH(g),uH=pA;function VI(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,r=new WeakMap;return(VI=function(n){return n?r:t})(e)}function dH(e,t){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var r=VI(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(i!=="default"&&Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}return n.default=e,r&&r.set(e,n),n}function pH(e){return Object.keys(e).length===0}function fH(e=null){const t=cH.useContext(uH.ThemeContext);return!t||pH(t)?e:t}zI=j1.default=fH;var zr="top",Pn="bottom",On="right",Vr="left",F1="auto",_u=[zr,Pn,On,Vr],Ws="start",Wc="end",hH="clippingParents",WI="viewport",kl="popper",mH="reference",wS=_u.reduce(function(e,t){return e.concat([t+"-"+Ws,t+"-"+Wc])},[]),GI=[].concat(_u,[F1]).reduce(function(e,t){return e.concat([t,t+"-"+Ws,t+"-"+Wc])},[]),gH="beforeRead",vH="read",yH="afterRead",bH="beforeMain",xH="main",wH="afterMain",SH="beforeWrite",EH="write",CH="afterWrite",TH=[gH,vH,yH,bH,xH,wH,SH,EH,CH];function Mo(e){return e?(e.nodeName||"").toLowerCase():null}function pn(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function va(e){var t=pn(e).Element;return e instanceof t||e instanceof Element}function _n(e){var t=pn(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function B1(e){if(typeof ShadowRoot>"u")return!1;var t=pn(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function RH(e){var t=e.state;Object.keys(t.elements).forEach(function(r){var n=t.styles[r]||{},o=t.attributes[r]||{},i=t.elements[r];!_n(i)||!Mo(i)||(Object.assign(i.style,n),Object.keys(o).forEach(function(a){var s=o[a];s===!1?i.removeAttribute(a):i.setAttribute(a,s===!0?"":s)}))})}function _H(e){var t=e.state,r={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,r.popper),t.styles=r,t.elements.arrow&&Object.assign(t.elements.arrow.style,r.arrow),function(){Object.keys(t.elements).forEach(function(n){var o=t.elements[n],i=t.attributes[n]||{},a=Object.keys(t.styles.hasOwnProperty(n)?t.styles[n]:r[n]),s=a.reduce(function(l,c){return l[c]="",l},{});!_n(o)||!Mo(o)||(Object.assign(o.style,s),Object.keys(i).forEach(function(l){o.removeAttribute(l)}))})}}const AH={name:"applyStyles",enabled:!0,phase:"write",fn:RH,effect:_H,requires:["computeStyles"]};function Co(e){return e.split("-")[0]}var sa=Math.max,Bp=Math.min,Gs=Math.round;function pv(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function qI(){return!/^((?!chrome|android).)*safari/i.test(pv())}function qs(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!1);var n=e.getBoundingClientRect(),o=1,i=1;t&&_n(e)&&(o=e.offsetWidth>0&&Gs(n.width)/e.offsetWidth||1,i=e.offsetHeight>0&&Gs(n.height)/e.offsetHeight||1);var a=va(e)?pn(e):window,s=a.visualViewport,l=!qI()&&r,c=(n.left+(l&&s?s.offsetLeft:0))/o,u=(n.top+(l&&s?s.offsetTop:0))/i,p=n.width/o,f=n.height/i;return{width:p,height:f,top:u,right:c+p,bottom:u+f,left:c,x:c,y:u}}function H1(e){var t=qs(e),r=e.offsetWidth,n=e.offsetHeight;return Math.abs(t.width-r)<=1&&(r=t.width),Math.abs(t.height-n)<=1&&(n=t.height),{x:e.offsetLeft,y:e.offsetTop,width:r,height:n}}function QI(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&B1(r)){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function ri(e){return pn(e).getComputedStyle(e)}function kH(e){return["table","td","th"].indexOf(Mo(e))>=0}function Bi(e){return((va(e)?e.ownerDocument:e.document)||window.document).documentElement}function Rh(e){return Mo(e)==="html"?e:e.assignedSlot||e.parentNode||(B1(e)?e.host:null)||Bi(e)}function SS(e){return!_n(e)||ri(e).position==="fixed"?null:e.offsetParent}function IH(e){var t=/firefox/i.test(pv()),r=/Trident/i.test(pv());if(r&&_n(e)){var n=ri(e);if(n.position==="fixed")return null}var o=Rh(e);for(B1(o)&&(o=o.host);_n(o)&&["html","body"].indexOf(Mo(o))<0;){var i=ri(o);if(i.transform!=="none"||i.perspective!=="none"||i.contain==="paint"||["transform","perspective"].indexOf(i.willChange)!==-1||t&&i.willChange==="filter"||t&&i.filter&&i.filter!=="none")return o;o=o.parentNode}return null}function Au(e){for(var t=pn(e),r=SS(e);r&&kH(r)&&ri(r).position==="static";)r=SS(r);return r&&(Mo(r)==="html"||Mo(r)==="body"&&ri(r).position==="static")?t:r||IH(e)||t}function U1(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function ic(e,t,r){return sa(e,Bp(t,r))}function MH(e,t,r){var n=ic(e,t,r);return n>r?r:n}function YI(){return{top:0,right:0,bottom:0,left:0}}function KI(e){return Object.assign({},YI(),e)}function ZI(e,t){return t.reduce(function(r,n){return r[n]=e,r},{})}var PH=function(t,r){return t=typeof t=="function"?t(Object.assign({},r.rects,{placement:r.placement})):t,KI(typeof t!="number"?t:ZI(t,_u))};function OH(e){var t,r=e.state,n=e.name,o=e.options,i=r.elements.arrow,a=r.modifiersData.popperOffsets,s=Co(r.placement),l=U1(s),c=[Vr,On].indexOf(s)>=0,u=c?"height":"width";if(!(!i||!a)){var p=PH(o.padding,r),f=H1(i),m=l==="y"?zr:Vr,v=l==="y"?Pn:On,h=r.rects.reference[u]+r.rects.reference[l]-a[l]-r.rects.popper[u],x=a[l]-r.rects.reference[l],y=Au(i),b=y?l==="y"?y.clientHeight||0:y.clientWidth||0:0,w=h/2-x/2,S=p[m],T=b-f[u]-p[v],R=b/2-f[u]/2+w,E=ic(S,R,T),A=l;r.modifiersData[n]=(t={},t[A]=E,t.centerOffset=E-R,t)}}function LH(e){var t=e.state,r=e.options,n=r.element,o=n===void 0?"[data-popper-arrow]":n;o!=null&&(typeof o=="string"&&(o=t.elements.popper.querySelector(o),!o)||QI(t.elements.popper,o)&&(t.elements.arrow=o))}const NH={name:"arrow",enabled:!0,phase:"main",fn:OH,effect:LH,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Qs(e){return e.split("-")[1]}var $H={top:"auto",right:"auto",bottom:"auto",left:"auto"};function DH(e,t){var r=e.x,n=e.y,o=t.devicePixelRatio||1;return{x:Gs(r*o)/o||0,y:Gs(n*o)/o||0}}function ES(e){var t,r=e.popper,n=e.popperRect,o=e.placement,i=e.variation,a=e.offsets,s=e.position,l=e.gpuAcceleration,c=e.adaptive,u=e.roundOffsets,p=e.isFixed,f=a.x,m=f===void 0?0:f,v=a.y,h=v===void 0?0:v,x=typeof u=="function"?u({x:m,y:h}):{x:m,y:h};m=x.x,h=x.y;var y=a.hasOwnProperty("x"),b=a.hasOwnProperty("y"),w=Vr,S=zr,T=window;if(c){var R=Au(r),E="clientHeight",A="clientWidth";if(R===pn(r)&&(R=Bi(r),ri(R).position!=="static"&&s==="absolute"&&(E="scrollHeight",A="scrollWidth")),R=R,o===zr||(o===Vr||o===On)&&i===Wc){S=Pn;var P=p&&R===T&&T.visualViewport?T.visualViewport.height:R[E];h-=P-n.height,h*=l?1:-1}if(o===Vr||(o===zr||o===Pn)&&i===Wc){w=On;var M=p&&R===T&&T.visualViewport?T.visualViewport.width:R[A];m-=M-n.width,m*=l?1:-1}}var O=Object.assign({position:s},c&&$H),F=u===!0?DH({x:m,y:h},pn(r)):{x:m,y:h};if(m=F.x,h=F.y,l){var I;return Object.assign({},O,(I={},I[S]=b?"0":"",I[w]=y?"0":"",I.transform=(T.devicePixelRatio||1)<=1?"translate("+m+"px, "+h+"px)":"translate3d("+m+"px, "+h+"px, 0)",I))}return Object.assign({},O,(t={},t[S]=b?h+"px":"",t[w]=y?m+"px":"",t.transform="",t))}function jH(e){var t=e.state,r=e.options,n=r.gpuAcceleration,o=n===void 0?!0:n,i=r.adaptive,a=i===void 0?!0:i,s=r.roundOffsets,l=s===void 0?!0:s,c={placement:Co(t.placement),variation:Qs(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,ES(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:l})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,ES(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const FH={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:jH,data:{}};var ud={passive:!0};function BH(e){var t=e.state,r=e.instance,n=e.options,o=n.scroll,i=o===void 0?!0:o,a=n.resize,s=a===void 0?!0:a,l=pn(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&c.forEach(function(u){u.addEventListener("scroll",r.update,ud)}),s&&l.addEventListener("resize",r.update,ud),function(){i&&c.forEach(function(u){u.removeEventListener("scroll",r.update,ud)}),s&&l.removeEventListener("resize",r.update,ud)}}const HH={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:BH,data:{}};var UH={left:"right",right:"left",bottom:"top",top:"bottom"};function Kd(e){return e.replace(/left|right|bottom|top/g,function(t){return UH[t]})}var zH={start:"end",end:"start"};function CS(e){return e.replace(/start|end/g,function(t){return zH[t]})}function z1(e){var t=pn(e),r=t.pageXOffset,n=t.pageYOffset;return{scrollLeft:r,scrollTop:n}}function V1(e){return qs(Bi(e)).left+z1(e).scrollLeft}function VH(e,t){var r=pn(e),n=Bi(e),o=r.visualViewport,i=n.clientWidth,a=n.clientHeight,s=0,l=0;if(o){i=o.width,a=o.height;var c=qI();(c||!c&&t==="fixed")&&(s=o.offsetLeft,l=o.offsetTop)}return{width:i,height:a,x:s+V1(e),y:l}}function WH(e){var t,r=Bi(e),n=z1(e),o=(t=e.ownerDocument)==null?void 0:t.body,i=sa(r.scrollWidth,r.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=sa(r.scrollHeight,r.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),s=-n.scrollLeft+V1(e),l=-n.scrollTop;return ri(o||r).direction==="rtl"&&(s+=sa(r.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:s,y:l}}function W1(e){var t=ri(e),r=t.overflow,n=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+o+n)}function XI(e){return["html","body","#document"].indexOf(Mo(e))>=0?e.ownerDocument.body:_n(e)&&W1(e)?e:XI(Rh(e))}function ac(e,t){var r;t===void 0&&(t=[]);var n=XI(e),o=n===((r=e.ownerDocument)==null?void 0:r.body),i=pn(n),a=o?[i].concat(i.visualViewport||[],W1(n)?n:[]):n,s=t.concat(a);return o?s:s.concat(ac(Rh(a)))}function fv(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function GH(e,t){var r=qs(e,!1,t==="fixed");return r.top=r.top+e.clientTop,r.left=r.left+e.clientLeft,r.bottom=r.top+e.clientHeight,r.right=r.left+e.clientWidth,r.width=e.clientWidth,r.height=e.clientHeight,r.x=r.left,r.y=r.top,r}function TS(e,t,r){return t===WI?fv(VH(e,r)):va(t)?GH(t,r):fv(WH(Bi(e)))}function qH(e){var t=ac(Rh(e)),r=["absolute","fixed"].indexOf(ri(e).position)>=0,n=r&&_n(e)?Au(e):e;return va(n)?t.filter(function(o){return va(o)&&QI(o,n)&&Mo(o)!=="body"}):[]}function QH(e,t,r,n){var o=t==="clippingParents"?qH(e):[].concat(t),i=[].concat(o,[r]),a=i[0],s=i.reduce(function(l,c){var u=TS(e,c,n);return l.top=sa(u.top,l.top),l.right=Bp(u.right,l.right),l.bottom=Bp(u.bottom,l.bottom),l.left=sa(u.left,l.left),l},TS(e,a,n));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function JI(e){var t=e.reference,r=e.element,n=e.placement,o=n?Co(n):null,i=n?Qs(n):null,a=t.x+t.width/2-r.width/2,s=t.y+t.height/2-r.height/2,l;switch(o){case zr:l={x:a,y:t.y-r.height};break;case Pn:l={x:a,y:t.y+t.height};break;case On:l={x:t.x+t.width,y:s};break;case Vr:l={x:t.x-r.width,y:s};break;default:l={x:t.x,y:t.y}}var c=o?U1(o):null;if(c!=null){var u=c==="y"?"height":"width";switch(i){case Ws:l[c]=l[c]-(t[u]/2-r[u]/2);break;case Wc:l[c]=l[c]+(t[u]/2-r[u]/2);break}}return l}function Gc(e,t){t===void 0&&(t={});var r=t,n=r.placement,o=n===void 0?e.placement:n,i=r.strategy,a=i===void 0?e.strategy:i,s=r.boundary,l=s===void 0?hH:s,c=r.rootBoundary,u=c===void 0?WI:c,p=r.elementContext,f=p===void 0?kl:p,m=r.altBoundary,v=m===void 0?!1:m,h=r.padding,x=h===void 0?0:h,y=KI(typeof x!="number"?x:ZI(x,_u)),b=f===kl?mH:kl,w=e.rects.popper,S=e.elements[v?b:f],T=QH(va(S)?S:S.contextElement||Bi(e.elements.popper),l,u,a),R=qs(e.elements.reference),E=JI({reference:R,element:w,strategy:"absolute",placement:o}),A=fv(Object.assign({},w,E)),P=f===kl?A:R,M={top:T.top-P.top+y.top,bottom:P.bottom-T.bottom+y.bottom,left:T.left-P.left+y.left,right:P.right-T.right+y.right},O=e.modifiersData.offset;if(f===kl&&O){var F=O[o];Object.keys(M).forEach(function(I){var D=[On,Pn].indexOf(I)>=0?1:-1,$=[zr,Pn].indexOf(I)>=0?"y":"x";M[I]+=F[$]*D})}return M}function YH(e,t){t===void 0&&(t={});var r=t,n=r.placement,o=r.boundary,i=r.rootBoundary,a=r.padding,s=r.flipVariations,l=r.allowedAutoPlacements,c=l===void 0?GI:l,u=Qs(n),p=u?s?wS:wS.filter(function(v){return Qs(v)===u}):_u,f=p.filter(function(v){return c.indexOf(v)>=0});f.length===0&&(f=p);var m=f.reduce(function(v,h){return v[h]=Gc(e,{placement:h,boundary:o,rootBoundary:i,padding:a})[Co(h)],v},{});return Object.keys(m).sort(function(v,h){return m[v]-m[h]})}function KH(e){if(Co(e)===F1)return[];var t=Kd(e);return[CS(e),t,CS(t)]}function ZH(e){var t=e.state,r=e.options,n=e.name;if(!t.modifiersData[n]._skip){for(var o=r.mainAxis,i=o===void 0?!0:o,a=r.altAxis,s=a===void 0?!0:a,l=r.fallbackPlacements,c=r.padding,u=r.boundary,p=r.rootBoundary,f=r.altBoundary,m=r.flipVariations,v=m===void 0?!0:m,h=r.allowedAutoPlacements,x=t.options.placement,y=Co(x),b=y===x,w=l||(b||!v?[Kd(x)]:KH(x)),S=[x].concat(w).reduce(function(q,te){return q.concat(Co(te)===F1?YH(t,{placement:te,boundary:u,rootBoundary:p,padding:c,flipVariations:v,allowedAutoPlacements:h}):te)},[]),T=t.rects.reference,R=t.rects.popper,E=new Map,A=!0,P=S[0],M=0;M<S.length;M++){var O=S[M],F=Co(O),I=Qs(O)===Ws,D=[zr,Pn].indexOf(F)>=0,$=D?"width":"height",j=Gc(t,{placement:O,boundary:u,rootBoundary:p,altBoundary:f,padding:c}),H=D?I?On:Vr:I?Pn:zr;T[$]>R[$]&&(H=Kd(H));var k=Kd(H),L=[];if(i&&L.push(j[F]<=0),s&&L.push(j[H]<=0,j[k]<=0),L.every(function(q){return q})){P=O,A=!1;break}E.set(O,L)}if(A)for(var B=v?3:1,z=function(te){var Y=S.find(function(se){var oe=E.get(se);if(oe)return oe.slice(0,te).every(function(ie){return ie})});if(Y)return P=Y,"break"},V=B;V>0;V--){var K=z(V);if(K==="break")break}t.placement!==P&&(t.modifiersData[n]._skip=!0,t.placement=P,t.reset=!0)}}const XH={name:"flip",enabled:!0,phase:"main",fn:ZH,requiresIfExists:["offset"],data:{_skip:!1}};function RS(e,t,r){return r===void 0&&(r={x:0,y:0}),{top:e.top-t.height-r.y,right:e.right-t.width+r.x,bottom:e.bottom-t.height+r.y,left:e.left-t.width-r.x}}function _S(e){return[zr,On,Pn,Vr].some(function(t){return e[t]>=0})}function JH(e){var t=e.state,r=e.name,n=t.rects.reference,o=t.rects.popper,i=t.modifiersData.preventOverflow,a=Gc(t,{elementContext:"reference"}),s=Gc(t,{altBoundary:!0}),l=RS(a,n),c=RS(s,o,i),u=_S(l),p=_S(c);t.modifiersData[r]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:p},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":p})}const eU={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:JH};function tU(e,t,r){var n=Co(e),o=[Vr,zr].indexOf(n)>=0?-1:1,i=typeof r=="function"?r(Object.assign({},t,{placement:e})):r,a=i[0],s=i[1];return a=a||0,s=(s||0)*o,[Vr,On].indexOf(n)>=0?{x:s,y:a}:{x:a,y:s}}function rU(e){var t=e.state,r=e.options,n=e.name,o=r.offset,i=o===void 0?[0,0]:o,a=GI.reduce(function(u,p){return u[p]=tU(p,t.rects,i),u},{}),s=a[t.placement],l=s.x,c=s.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=c),t.modifiersData[n]=a}const nU={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:rU};function oU(e){var t=e.state,r=e.name;t.modifiersData[r]=JI({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}const iU={name:"popperOffsets",enabled:!0,phase:"read",fn:oU,data:{}};function aU(e){return e==="x"?"y":"x"}function sU(e){var t=e.state,r=e.options,n=e.name,o=r.mainAxis,i=o===void 0?!0:o,a=r.altAxis,s=a===void 0?!1:a,l=r.boundary,c=r.rootBoundary,u=r.altBoundary,p=r.padding,f=r.tether,m=f===void 0?!0:f,v=r.tetherOffset,h=v===void 0?0:v,x=Gc(t,{boundary:l,rootBoundary:c,padding:p,altBoundary:u}),y=Co(t.placement),b=Qs(t.placement),w=!b,S=U1(y),T=aU(S),R=t.modifiersData.popperOffsets,E=t.rects.reference,A=t.rects.popper,P=typeof h=="function"?h(Object.assign({},t.rects,{placement:t.placement})):h,M=typeof P=="number"?{mainAxis:P,altAxis:P}:Object.assign({mainAxis:0,altAxis:0},P),O=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,F={x:0,y:0};if(R){if(i){var I,D=S==="y"?zr:Vr,$=S==="y"?Pn:On,j=S==="y"?"height":"width",H=R[S],k=H+x[D],L=H-x[$],B=m?-A[j]/2:0,z=b===Ws?E[j]:A[j],V=b===Ws?-A[j]:-E[j],K=t.elements.arrow,q=m&&K?H1(K):{width:0,height:0},te=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:YI(),Y=te[D],se=te[$],oe=ic(0,E[j],q[j]),ie=w?E[j]/2-B-oe-Y-M.mainAxis:z-oe-Y-M.mainAxis,he=w?-E[j]/2+B+oe+se+M.mainAxis:V+oe+se+M.mainAxis,ae=t.elements.arrow&&Au(t.elements.arrow),Re=ae?S==="y"?ae.clientTop||0:ae.clientLeft||0:0,pe=(I=O==null?void 0:O[S])!=null?I:0,Ae=H+ie-pe-Re,Me=H+he-pe,Oe=ic(m?Bp(k,Ae):k,H,m?sa(L,Me):L);R[S]=Oe,F[S]=Oe-H}if(s){var Ke,at=S==="x"?zr:Vr,gt=S==="x"?Pn:On,ot=R[T],Ge=T==="y"?"height":"width",U=ot+x[at],ee=ot-x[gt],J=[zr,Vr].indexOf(y)!==-1,ce=(Ke=O==null?void 0:O[T])!=null?Ke:0,ve=J?U:ot-E[Ge]-A[Ge]-ce+M.altAxis,Pe=J?ot+E[Ge]+A[Ge]-ce-M.altAxis:ee,we=m&&J?MH(ve,ot,Pe):ic(m?ve:U,ot,m?Pe:ee);R[T]=we,F[T]=we-ot}t.modifiersData[n]=F}}const lU={name:"preventOverflow",enabled:!0,phase:"main",fn:sU,requiresIfExists:["offset"]};function cU(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function uU(e){return e===pn(e)||!_n(e)?z1(e):cU(e)}function dU(e){var t=e.getBoundingClientRect(),r=Gs(t.width)/e.offsetWidth||1,n=Gs(t.height)/e.offsetHeight||1;return r!==1||n!==1}function pU(e,t,r){r===void 0&&(r=!1);var n=_n(t),o=_n(t)&&dU(t),i=Bi(t),a=qs(e,o,r),s={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(n||!n&&!r)&&((Mo(t)!=="body"||W1(i))&&(s=uU(t)),_n(t)?(l=qs(t,!0),l.x+=t.clientLeft,l.y+=t.clientTop):i&&(l.x=V1(i))),{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function fU(e){var t=new Map,r=new Set,n=[];e.forEach(function(i){t.set(i.name,i)});function o(i){r.add(i.name);var a=[].concat(i.requires||[],i.requiresIfExists||[]);a.forEach(function(s){if(!r.has(s)){var l=t.get(s);l&&o(l)}}),n.push(i)}return e.forEach(function(i){r.has(i.name)||o(i)}),n}function hU(e){var t=fU(e);return TH.reduce(function(r,n){return r.concat(t.filter(function(o){return o.phase===n}))},[])}function mU(e){var t;return function(){return t||(t=new Promise(function(r){Promise.resolve().then(function(){t=void 0,r(e())})})),t}}function gU(e){var t=e.reduce(function(r,n){var o=r[n.name];return r[n.name]=o?Object.assign({},o,n,{options:Object.assign({},o.options,n.options),data:Object.assign({},o.data,n.data)}):n,r},{});return Object.keys(t).map(function(r){return t[r]})}var AS={placement:"bottom",modifiers:[],strategy:"absolute"};function kS(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return!t.some(function(n){return!(n&&typeof n.getBoundingClientRect=="function")})}function vU(e){e===void 0&&(e={});var t=e,r=t.defaultModifiers,n=r===void 0?[]:r,o=t.defaultOptions,i=o===void 0?AS:o;return function(s,l,c){c===void 0&&(c=i);var u={placement:"bottom",orderedModifiers:[],options:Object.assign({},AS,i),modifiersData:{},elements:{reference:s,popper:l},attributes:{},styles:{}},p=[],f=!1,m={state:u,setOptions:function(y){var b=typeof y=="function"?y(u.options):y;h(),u.options=Object.assign({},i,u.options,b),u.scrollParents={reference:va(s)?ac(s):s.contextElement?ac(s.contextElement):[],popper:ac(l)};var w=hU(gU([].concat(n,u.options.modifiers)));return u.orderedModifiers=w.filter(function(S){return S.enabled}),v(),m.update()},forceUpdate:function(){if(!f){var y=u.elements,b=y.reference,w=y.popper;if(kS(b,w)){u.rects={reference:pU(b,Au(w),u.options.strategy==="fixed"),popper:H1(w)},u.reset=!1,u.placement=u.options.placement,u.orderedModifiers.forEach(function(M){return u.modifiersData[M.name]=Object.assign({},M.data)});for(var S=0;S<u.orderedModifiers.length;S++){if(u.reset===!0){u.reset=!1,S=-1;continue}var T=u.orderedModifiers[S],R=T.fn,E=T.options,A=E===void 0?{}:E,P=T.name;typeof R=="function"&&(u=R({state:u,options:A,name:P,instance:m})||u)}}}},update:mU(function(){return new Promise(function(x){m.forceUpdate(),x(u)})}),destroy:function(){h(),f=!0}};if(!kS(s,l))return m;m.setOptions(c).then(function(x){!f&&c.onFirstUpdate&&c.onFirstUpdate(x)});function v(){u.orderedModifiers.forEach(function(x){var y=x.name,b=x.options,w=b===void 0?{}:b,S=x.effect;if(typeof S=="function"){var T=S({state:u,name:y,instance:m,options:w}),R=function(){};p.push(T||R)}})}function h(){p.forEach(function(x){return x()}),p=[]}return m}}var yU=[HH,iU,FH,AH,nU,XH,lU,NH,eU],bU=vU({defaultModifiers:yU});function xU(e){return typeof e=="function"?e():e}const e3=g.forwardRef(function(t,r){const{children:n,container:o,disablePortal:i=!1}=t,[a,s]=g.useState(null),l=_t(g.isValidElement(n)?n.ref:null,r);if(un(()=>{i||s(xU(o)||document.body)},[o,i]),un(()=>{if(a&&!i)return _p(r,a),()=>{_p(r,null)}},[r,a,i]),i){if(g.isValidElement(n)){const c={ref:l};return g.cloneElement(n,c)}return d.jsx(g.Fragment,{children:n})}return d.jsx(g.Fragment,{children:a&&gf.createPortal(n,a)})});function wU(e){return _e("MuiPopper",e)}Te("MuiPopper",["root"]);const SU=["anchorEl","children","direction","disablePortal","modifiers","open","placement","popperOptions","popperRef","slotProps","slots","TransitionProps","ownerState"],EU=["anchorEl","children","container","direction","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","style","transition","slotProps","slots"];function CU(e,t){if(t==="ltr")return e;switch(e){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return e}}function hv(e){return typeof e=="function"?e():e}function TU(e){return e.nodeType!==void 0}const RU=e=>{const{classes:t}=e;return ke({root:["root"]},wU,t)},_U={},AU=g.forwardRef(function(t,r){var n;const{anchorEl:o,children:i,direction:a,disablePortal:s,modifiers:l,open:c,placement:u,popperOptions:p,popperRef:f,slotProps:m={},slots:v={},TransitionProps:h}=t,x=re(t,SU),y=g.useRef(null),b=_t(y,r),w=g.useRef(null),S=_t(w,f),T=g.useRef(S);un(()=>{T.current=S},[S]),g.useImperativeHandle(f,()=>w.current,[]);const R=CU(u,a),[E,A]=g.useState(R),[P,M]=g.useState(hv(o));g.useEffect(()=>{w.current&&w.current.forceUpdate()}),g.useEffect(()=>{o&&M(hv(o))},[o]),un(()=>{if(!P||!c)return;const $=k=>{A(k.placement)};let j=[{name:"preventOverflow",options:{altBoundary:s}},{name:"flip",options:{altBoundary:s}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:k})=>{$(k)}}];l!=null&&(j=j.concat(l)),p&&p.modifiers!=null&&(j=j.concat(p.modifiers));const H=bU(P,y.current,_({placement:R},p,{modifiers:j}));return T.current(H),()=>{H.destroy(),T.current(null)}},[P,s,l,c,p,R]);const O={placement:E};h!==null&&(O.TransitionProps=h);const F=RU(t),I=(n=v.root)!=null?n:"div",D=ma({elementType:I,externalSlotProps:m.root,externalForwardedProps:x,additionalProps:{role:"tooltip",ref:b},ownerState:t,className:F.root});return d.jsx(I,_({},D,{children:typeof i=="function"?i(O):i}))}),kU=g.forwardRef(function(t,r){const{anchorEl:n,children:o,container:i,direction:a="ltr",disablePortal:s=!1,keepMounted:l=!1,modifiers:c,open:u,placement:p="bottom",popperOptions:f=_U,popperRef:m,style:v,transition:h=!1,slotProps:x={},slots:y={}}=t,b=re(t,EU),[w,S]=g.useState(!0),T=()=>{S(!1)},R=()=>{S(!0)};if(!l&&!u&&(!h||w))return null;let E;if(i)E=i;else if(n){const M=hv(n);E=M&&TU(M)?yr(M).body:yr(null).body}const A=!u&&l&&(!h||w)?"none":void 0,P=h?{in:u,onEnter:T,onExited:R}:void 0;return d.jsx(e3,{disablePortal:s,container:E,children:d.jsx(AU,_({anchorEl:n,direction:a,disablePortal:s,modifiers:c,ref:r,open:h?!w:u,placement:p,popperOptions:f,popperRef:m,slotProps:x,slots:y},b,{style:_({position:"fixed",top:0,left:0,display:A},v),TransitionProps:P,children:o}))})}),IU=["anchorEl","component","components","componentsProps","container","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","transition","slots","slotProps"],MU=Z(kU,{name:"MuiPopper",slot:"Root",overridesResolver:(e,t)=>t.root})({}),t3=g.forwardRef(function(t,r){var n;const o=zI(),i=Ie({props:t,name:"MuiPopper"}),{anchorEl:a,component:s,components:l,componentsProps:c,container:u,disablePortal:p,keepMounted:f,modifiers:m,open:v,placement:h,popperOptions:x,popperRef:y,transition:b,slots:w,slotProps:S}=i,T=re(i,IU),R=(n=w==null?void 0:w.root)!=null?n:l==null?void 0:l.Root,E=_({anchorEl:a,container:u,disablePortal:p,keepMounted:f,modifiers:m,open:v,placement:h,popperOptions:x,popperRef:y,transition:b},T);return d.jsx(MU,_({as:s,direction:o==null?void 0:o.direction,slots:{root:R},slotProps:S??c},E,{ref:r}))}),PU=["onChange","maxRows","minRows","style","value"];function dd(e){return parseInt(e,10)||0}const OU={shadow:{visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"}};function LU(e){return e==null||Object.keys(e).length===0||e.outerHeightStyle===0&&!e.overflowing}const NU=g.forwardRef(function(t,r){const{onChange:n,maxRows:o,minRows:i=1,style:a,value:s}=t,l=re(t,PU),{current:c}=g.useRef(s!=null),u=g.useRef(null),p=_t(r,u),f=g.useRef(null),m=g.useRef(null),v=g.useCallback(()=>{const y=u.current,w=_o(y).getComputedStyle(y);if(w.width==="0px")return{outerHeightStyle:0,overflowing:!1};const S=m.current;S.style.width=w.width,S.value=y.value||t.placeholder||"x",S.value.slice(-1)===`
`&&(S.value+=" ");const T=w.boxSizing,R=dd(w.paddingBottom)+dd(w.paddingTop),E=dd(w.borderBottomWidth)+dd(w.borderTopWidth),A=S.scrollHeight;S.value="x";const P=S.scrollHeight;let M=A;i&&(M=Math.max(Number(i)*P,M)),o&&(M=Math.min(Number(o)*P,M)),M=Math.max(M,P);const O=M+(T==="border-box"?R+E:0),F=Math.abs(M-A)<=1;return{outerHeightStyle:O,overflowing:F}},[o,i,t.placeholder]),h=g.useCallback(()=>{const y=v();if(LU(y))return;const b=y.outerHeightStyle,w=u.current;f.current!==b&&(f.current=b,w.style.height=`${b}px`),w.style.overflow=y.overflowing?"hidden":""},[v]);un(()=>{const y=()=>{h()};let b;const w=Zf(y),S=u.current,T=_o(S);T.addEventListener("resize",w);let R;return typeof ResizeObserver<"u"&&(R=new ResizeObserver(y),R.observe(S)),()=>{w.clear(),cancelAnimationFrame(b),T.removeEventListener("resize",w),R&&R.disconnect()}},[v,h]),un(()=>{h()});const x=y=>{c||h(),n&&n(y)};return d.jsxs(g.Fragment,{children:[d.jsx("textarea",_({value:s,onChange:x,ref:p,rows:i,style:a},l)),d.jsx("textarea",{"aria-hidden":!0,className:t.className,readOnly:!0,ref:m,tabIndex:-1,style:_({},OU.shadow,a,{paddingTop:0,paddingBottom:0})})]})});function ll({props:e,states:t,muiFormControl:r}){return t.reduce((n,o)=>(n[o]=e[o],r&&typeof e[o]>"u"&&(n[o]=r[o]),n),{})}const _h=g.createContext(void 0);function Hi(){return g.useContext(_h)}function IS(e){return e!=null&&!(Array.isArray(e)&&e.length===0)}function Hp(e,t=!1){return e&&(IS(e.value)&&e.value!==""||t&&IS(e.defaultValue)&&e.defaultValue!=="")}function $U(e){return e.startAdornment}function DU(e){return _e("MuiInputBase",e)}const Ys=Te("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]),jU=["aria-describedby","autoComplete","autoFocus","className","color","components","componentsProps","defaultValue","disabled","disableInjectingGlobalStyles","endAdornment","error","fullWidth","id","inputComponent","inputProps","inputRef","margin","maxRows","minRows","multiline","name","onBlur","onChange","onClick","onFocus","onKeyDown","onKeyUp","placeholder","readOnly","renderSuffix","rows","size","slotProps","slots","startAdornment","type","value"],Ah=(e,t)=>{const{ownerState:r}=e;return[t.root,r.formControl&&t.formControl,r.startAdornment&&t.adornedStart,r.endAdornment&&t.adornedEnd,r.error&&t.error,r.size==="small"&&t.sizeSmall,r.multiline&&t.multiline,r.color&&t[`color${ne(r.color)}`],r.fullWidth&&t.fullWidth,r.hiddenLabel&&t.hiddenLabel]},kh=(e,t)=>{const{ownerState:r}=e;return[t.input,r.size==="small"&&t.inputSizeSmall,r.multiline&&t.inputMultiline,r.type==="search"&&t.inputTypeSearch,r.startAdornment&&t.inputAdornedStart,r.endAdornment&&t.inputAdornedEnd,r.hiddenLabel&&t.inputHiddenLabel]},FU=e=>{const{classes:t,color:r,disabled:n,error:o,endAdornment:i,focused:a,formControl:s,fullWidth:l,hiddenLabel:c,multiline:u,readOnly:p,size:f,startAdornment:m,type:v}=e,h={root:["root",`color${ne(r)}`,n&&"disabled",o&&"error",l&&"fullWidth",a&&"focused",s&&"formControl",f&&f!=="medium"&&`size${ne(f)}`,u&&"multiline",m&&"adornedStart",i&&"adornedEnd",c&&"hiddenLabel",p&&"readOnly"],input:["input",n&&"disabled",v==="search"&&"inputTypeSearch",u&&"inputMultiline",f==="small"&&"inputSizeSmall",c&&"inputHiddenLabel",m&&"inputAdornedStart",i&&"inputAdornedEnd",p&&"readOnly"]};return ke(h,DU,t)},Ih=Z("div",{name:"MuiInputBase",slot:"Root",overridesResolver:Ah})(({theme:e,ownerState:t})=>_({},e.typography.body1,{color:(e.vars||e).palette.text.primary,lineHeight:"1.4375em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center",[`&.${Ys.disabled}`]:{color:(e.vars||e).palette.text.disabled,cursor:"default"}},t.multiline&&_({padding:"4px 0 5px"},t.size==="small"&&{paddingTop:1}),t.fullWidth&&{width:"100%"})),Mh=Z("input",{name:"MuiInputBase",slot:"Input",overridesResolver:kh})(({theme:e,ownerState:t})=>{const r=e.palette.mode==="light",n=_({color:"currentColor"},e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:r?.42:.5},{transition:e.transitions.create("opacity",{duration:e.transitions.duration.shorter})}),o={opacity:"0 !important"},i=e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:r?.42:.5};return _({font:"inherit",letterSpacing:"inherit",color:"currentColor",padding:"4px 0 5px",border:0,boxSizing:"content-box",background:"none",height:"1.4375em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%",animationName:"mui-auto-fill-cancel",animationDuration:"10ms","&::-webkit-input-placeholder":n,"&::-moz-placeholder":n,"&:-ms-input-placeholder":n,"&::-ms-input-placeholder":n,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"},[`label[data-shrink=false] + .${Ys.formControl} &`]:{"&::-webkit-input-placeholder":o,"&::-moz-placeholder":o,"&:-ms-input-placeholder":o,"&::-ms-input-placeholder":o,"&:focus::-webkit-input-placeholder":i,"&:focus::-moz-placeholder":i,"&:focus:-ms-input-placeholder":i,"&:focus::-ms-input-placeholder":i},[`&.${Ys.disabled}`]:{opacity:1,WebkitTextFillColor:(e.vars||e).palette.text.disabled},"&:-webkit-autofill":{animationDuration:"5000s",animationName:"mui-auto-fill"}},t.size==="small"&&{paddingTop:1},t.multiline&&{height:"auto",resize:"none",padding:0,paddingTop:0},t.type==="search"&&{MozAppearance:"textfield"})}),BU=d.jsx(mA,{styles:{"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}}),HU=g.forwardRef(function(t,r){var n;const o=Ie({props:t,name:"MuiInputBase"}),{"aria-describedby":i,autoComplete:a,autoFocus:s,className:l,components:c={},componentsProps:u={},defaultValue:p,disabled:f,disableInjectingGlobalStyles:m,endAdornment:v,fullWidth:h=!1,id:x,inputComponent:y="input",inputProps:b={},inputRef:w,maxRows:S,minRows:T,multiline:R=!1,name:E,onBlur:A,onChange:P,onClick:M,onFocus:O,onKeyDown:F,onKeyUp:I,placeholder:D,readOnly:$,renderSuffix:j,rows:H,slotProps:k={},slots:L={},startAdornment:B,type:z="text",value:V}=o,K=re(o,jU),q=b.value!=null?b.value:V,{current:te}=g.useRef(q!=null),Y=g.useRef(),se=g.useCallback(we=>{},[]),oe=_t(Y,w,b.ref,se),[ie,he]=g.useState(!1),ae=Hi(),Re=ll({props:o,muiFormControl:ae,states:["color","disabled","error","hiddenLabel","size","required","filled"]});Re.focused=ae?ae.focused:ie,g.useEffect(()=>{!ae&&f&&ie&&(he(!1),A&&A())},[ae,f,ie,A]);const pe=ae&&ae.onFilled,Ae=ae&&ae.onEmpty,Me=g.useCallback(we=>{Hp(we)?pe&&pe():Ae&&Ae()},[pe,Ae]);un(()=>{te&&Me({value:q})},[q,Me,te]);const Oe=we=>{if(Re.disabled){we.stopPropagation();return}O&&O(we),b.onFocus&&b.onFocus(we),ae&&ae.onFocus?ae.onFocus(we):he(!0)},Ke=we=>{A&&A(we),b.onBlur&&b.onBlur(we),ae&&ae.onBlur?ae.onBlur(we):he(!1)},at=(we,...fe)=>{if(!te){const St=we.target||Y.current;if(St==null)throw new Error(ei(1));Me({value:St.value})}b.onChange&&b.onChange(we,...fe),P&&P(we,...fe)};g.useEffect(()=>{Me(Y.current)},[]);const gt=we=>{Y.current&&we.currentTarget===we.target&&Y.current.focus(),M&&M(we)};let ot=y,Ge=b;R&&ot==="input"&&(H?Ge=_({type:void 0,minRows:H,maxRows:H},Ge):Ge=_({type:void 0,maxRows:S,minRows:T},Ge),ot=NU);const U=we=>{Me(we.animationName==="mui-auto-fill-cancel"?Y.current:{value:"x"})};g.useEffect(()=>{ae&&ae.setAdornedStart(!!B)},[ae,B]);const ee=_({},o,{color:Re.color||"primary",disabled:Re.disabled,endAdornment:v,error:Re.error,focused:Re.focused,formControl:ae,fullWidth:h,hiddenLabel:Re.hiddenLabel,multiline:R,size:Re.size,startAdornment:B,type:z}),J=FU(ee),ce=L.root||c.Root||Ih,ve=k.root||u.root||{},Pe=L.input||c.Input||Mh;return Ge=_({},Ge,(n=k.input)!=null?n:u.input),d.jsxs(g.Fragment,{children:[!m&&BU,d.jsxs(ce,_({},ve,!Hs(ce)&&{ownerState:_({},ee,ve.ownerState)},{ref:r,onClick:gt},K,{className:le(J.root,ve.className,l,$&&"MuiInputBase-readOnly"),children:[B,d.jsx(_h.Provider,{value:null,children:d.jsx(Pe,_({ownerState:ee,"aria-invalid":Re.error,"aria-describedby":i,autoComplete:a,autoFocus:s,defaultValue:p,disabled:Re.disabled,id:x,onAnimationStart:U,name:E,placeholder:D,readOnly:$,required:Re.required,rows:H,value:q,onKeyDown:F,onKeyUp:I,type:z},Ge,!Hs(Pe)&&{as:ot,ownerState:_({},ee,Ge.ownerState)},{ref:oe,className:le(J.input,Ge.className,$&&"MuiInputBase-readOnly"),onBlur:Ke,onChange:at,onFocus:Oe}))}),v,j?j(_({},Re,{startAdornment:B})):null]}))]})}),G1=HU;function UU(e){return _e("MuiInput",e)}const Il=_({},Ys,Te("MuiInput",["root","underline","input"]));function zU(e){return _e("MuiOutlinedInput",e)}const si=_({},Ys,Te("MuiOutlinedInput",["root","notchedOutline","input"]));function VU(e){return _e("MuiFilledInput",e)}const Wi=_({},Ys,Te("MuiFilledInput",["root","underline","input"])),WU=Sr(d.jsx("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown"),GU=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],qU={entering:{opacity:1},entered:{opacity:1}},Up=g.forwardRef(function(t,r){const n=Lo(),o={enter:n.transitions.duration.enteringScreen,exit:n.transitions.duration.leavingScreen},{addEndListener:i,appear:a=!0,children:s,easing:l,in:c,onEnter:u,onEntered:p,onEntering:f,onExit:m,onExited:v,onExiting:h,style:x,timeout:y=o,TransitionComponent:b=Fn}=t,w=re(t,GU),S=g.useRef(null),T=_t(S,s.ref,r),R=D=>$=>{if(D){const j=S.current;$===void 0?D(j):D(j,$)}},E=R(f),A=R((D,$)=>{L1(D);const j=Pi({style:x,timeout:y,easing:l},{mode:"enter"});D.style.webkitTransition=n.transitions.create("opacity",j),D.style.transition=n.transitions.create("opacity",j),u&&u(D,$)}),P=R(p),M=R(h),O=R(D=>{const $=Pi({style:x,timeout:y,easing:l},{mode:"exit"});D.style.webkitTransition=n.transitions.create("opacity",$),D.style.transition=n.transitions.create("opacity",$),m&&m(D)}),F=R(v),I=D=>{i&&i(S.current,D)};return d.jsx(b,_({appear:a,in:c,nodeRef:S,onEnter:A,onEntered:P,onEntering:E,onExit:O,onExited:F,onExiting:M,addEndListener:I,timeout:y},w,{children:(D,$)=>g.cloneElement(s,_({style:_({opacity:0,visibility:D==="exited"&&!c?"hidden":void 0},qU[D],x,s.props.style),ref:T},$))}))});function QU(e){return _e("MuiBackdrop",e)}Te("MuiBackdrop",["root","invisible"]);const YU=["children","className","component","components","componentsProps","invisible","open","slotProps","slots","TransitionComponent","transitionDuration"],KU=e=>{const{classes:t,invisible:r}=e;return ke({root:["root",r&&"invisible"]},QU,t)},ZU=Z("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.invisible&&t.invisible]}})(({ownerState:e})=>_({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent"},e.invisible&&{backgroundColor:"transparent"})),q1=g.forwardRef(function(t,r){var n,o,i;const a=Ie({props:t,name:"MuiBackdrop"}),{children:s,className:l,component:c="div",components:u={},componentsProps:p={},invisible:f=!1,open:m,slotProps:v={},slots:h={},TransitionComponent:x=Up,transitionDuration:y}=a,b=re(a,YU),w=_({},a,{component:c,invisible:f}),S=KU(w),T=(n=v.root)!=null?n:p.root;return d.jsx(x,_({in:m,timeout:y},b,{children:d.jsx(ZU,_({"aria-hidden":!0},T,{as:(o=(i=h.root)!=null?i:u.Root)!=null?o:c,className:le(S.root,l,T==null?void 0:T.className),ownerState:_({},w,T==null?void 0:T.ownerState),classes:S,ref:r,children:s}))}))}),XU=Te("MuiBox",["root"]),JU=eh(),G=E6({themeId:js,defaultTheme:JU,defaultClassName:XU.root,generateClassName:Yy.generate});function ez(e){return _e("MuiButton",e)}const pd=Te("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","colorPrimary","colorSecondary","colorSuccess","colorError","colorInfo","colorWarning","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","icon","iconSizeSmall","iconSizeMedium","iconSizeLarge"]),tz=g.createContext({}),rz=g.createContext(void 0),nz=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],oz=e=>{const{color:t,disableElevation:r,fullWidth:n,size:o,variant:i,classes:a}=e,s={root:["root",i,`${i}${ne(t)}`,`size${ne(o)}`,`${i}Size${ne(o)}`,`color${ne(t)}`,r&&"disableElevation",n&&"fullWidth"],label:["label"],startIcon:["icon","startIcon",`iconSize${ne(o)}`],endIcon:["icon","endIcon",`iconSize${ne(o)}`]},l=ke(s,ez,a);return _({},a,l)},r3=e=>_({},e.size==="small"&&{"& > *:nth-of-type(1)":{fontSize:18}},e.size==="medium"&&{"& > *:nth-of-type(1)":{fontSize:20}},e.size==="large"&&{"& > *:nth-of-type(1)":{fontSize:22}}),iz=Z(Qr,{shouldForwardProp:e=>Lr(e)||e==="classes",name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],t[`${r.variant}${ne(r.color)}`],t[`size${ne(r.size)}`],t[`${r.variant}Size${ne(r.size)}`],r.color==="inherit"&&t.colorInherit,r.disableElevation&&t.disableElevation,r.fullWidth&&t.fullWidth]}})(({theme:e,ownerState:t})=>{var r,n;const o=e.palette.mode==="light"?e.palette.grey[300]:e.palette.grey[800],i=e.palette.mode==="light"?e.palette.grey.A100:e.palette.grey[700];return _({},e.typography.button,{minWidth:64,padding:"6px 16px",borderRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create(["background-color","box-shadow","border-color","color"],{duration:e.transitions.duration.short}),"&:hover":_({textDecoration:"none",backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:Ot(e.palette.text.primary,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},t.variant==="text"&&t.color!=="inherit"&&{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Ot(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},t.variant==="outlined"&&t.color!=="inherit"&&{border:`1px solid ${(e.vars||e).palette[t.color].main}`,backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Ot(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},t.variant==="contained"&&{backgroundColor:e.vars?e.vars.palette.Button.inheritContainedHoverBg:i,boxShadow:(e.vars||e).shadows[4],"@media (hover: none)":{boxShadow:(e.vars||e).shadows[2],backgroundColor:(e.vars||e).palette.grey[300]}},t.variant==="contained"&&t.color!=="inherit"&&{backgroundColor:(e.vars||e).palette[t.color].dark,"@media (hover: none)":{backgroundColor:(e.vars||e).palette[t.color].main}}),"&:active":_({},t.variant==="contained"&&{boxShadow:(e.vars||e).shadows[8]}),[`&.${pd.focusVisible}`]:_({},t.variant==="contained"&&{boxShadow:(e.vars||e).shadows[6]}),[`&.${pd.disabled}`]:_({color:(e.vars||e).palette.action.disabled},t.variant==="outlined"&&{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`},t.variant==="contained"&&{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground})},t.variant==="text"&&{padding:"6px 8px"},t.variant==="text"&&t.color!=="inherit"&&{color:(e.vars||e).palette[t.color].main},t.variant==="outlined"&&{padding:"5px 15px",border:"1px solid currentColor"},t.variant==="outlined"&&t.color!=="inherit"&&{color:(e.vars||e).palette[t.color].main,border:e.vars?`1px solid rgba(${e.vars.palette[t.color].mainChannel} / 0.5)`:`1px solid ${Ot(e.palette[t.color].main,.5)}`},t.variant==="contained"&&{color:e.vars?e.vars.palette.text.primary:(r=(n=e.palette).getContrastText)==null?void 0:r.call(n,e.palette.grey[300]),backgroundColor:e.vars?e.vars.palette.Button.inheritContainedBg:o,boxShadow:(e.vars||e).shadows[2]},t.variant==="contained"&&t.color!=="inherit"&&{color:(e.vars||e).palette[t.color].contrastText,backgroundColor:(e.vars||e).palette[t.color].main},t.color==="inherit"&&{color:"inherit",borderColor:"currentColor"},t.size==="small"&&t.variant==="text"&&{padding:"4px 5px",fontSize:e.typography.pxToRem(13)},t.size==="large"&&t.variant==="text"&&{padding:"8px 11px",fontSize:e.typography.pxToRem(15)},t.size==="small"&&t.variant==="outlined"&&{padding:"3px 9px",fontSize:e.typography.pxToRem(13)},t.size==="large"&&t.variant==="outlined"&&{padding:"7px 21px",fontSize:e.typography.pxToRem(15)},t.size==="small"&&t.variant==="contained"&&{padding:"4px 10px",fontSize:e.typography.pxToRem(13)},t.size==="large"&&t.variant==="contained"&&{padding:"8px 22px",fontSize:e.typography.pxToRem(15)},t.fullWidth&&{width:"100%"})},({ownerState:e})=>e.disableElevation&&{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${pd.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${pd.disabled}`]:{boxShadow:"none"}}),az=Z("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.startIcon,t[`iconSize${ne(r.size)}`]]}})(({ownerState:e})=>_({display:"inherit",marginRight:8,marginLeft:-4},e.size==="small"&&{marginLeft:-2},r3(e))),sz=Z("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.endIcon,t[`iconSize${ne(r.size)}`]]}})(({ownerState:e})=>_({display:"inherit",marginRight:-4,marginLeft:8},e.size==="small"&&{marginRight:-2},r3(e))),lz=g.forwardRef(function(t,r){const n=g.useContext(tz),o=g.useContext(rz),i=Lc(n,t),a=Ie({props:i,name:"MuiButton"}),{children:s,color:l="primary",component:c="button",className:u,disabled:p=!1,disableElevation:f=!1,disableFocusRipple:m=!1,endIcon:v,focusVisibleClassName:h,fullWidth:x=!1,size:y="medium",startIcon:b,type:w,variant:S="text"}=a,T=re(a,nz),R=_({},a,{color:l,component:c,disabled:p,disableElevation:f,disableFocusRipple:m,fullWidth:x,size:y,type:w,variant:S}),E=oz(R),A=b&&d.jsx(az,{className:E.startIcon,ownerState:R,children:b}),P=v&&d.jsx(sz,{className:E.endIcon,ownerState:R,children:v}),M=o||"";return d.jsxs(iz,_({ownerState:R,className:le(n.className,E.root,u,M),component:c,disabled:p,focusRipple:!m,focusVisibleClassName:le(E.focusVisible,h),ref:r,type:w},T,{classes:E,children:[A,s,P]}))});function cz(e){return _e("MuiCardMedia",e)}Te("MuiCardMedia",["root","media","img"]);const uz=["children","className","component","image","src","style"],dz=e=>{const{classes:t,isMediaComponent:r,isImageComponent:n}=e;return ke({root:["root",r&&"media",n&&"img"]},cz,t)},pz=Z("div",{name:"MuiCardMedia",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e,{isMediaComponent:n,isImageComponent:o}=r;return[t.root,n&&t.media,o&&t.img]}})(({ownerState:e})=>_({display:"block",backgroundSize:"cover",backgroundRepeat:"no-repeat",backgroundPosition:"center"},e.isMediaComponent&&{width:"100%"},e.isImageComponent&&{objectFit:"cover"})),fz=["video","audio","picture","iframe","img"],hz=["picture","img"],Ln=g.forwardRef(function(t,r){const n=Ie({props:t,name:"MuiCardMedia"}),{children:o,className:i,component:a="div",image:s,src:l,style:c}=n,u=re(n,uz),p=fz.indexOf(a)!==-1,f=!p&&s?_({backgroundImage:`url("${s}")`},c):c,m=_({},n,{component:a,isMediaComponent:p,isImageComponent:hz.indexOf(a)!==-1}),v=dz(m);return d.jsx(pz,_({className:le(v.root,i),as:a,role:!p&&s?"img":void 0,ref:r,style:f,ownerState:m,src:p?s||l:void 0},u,{children:o}))});function mz(e){return _e("PrivateSwitchBase",e)}Te("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);const gz=["autoFocus","checked","checkedIcon","className","defaultChecked","disabled","disableFocusRipple","edge","icon","id","inputProps","inputRef","name","onBlur","onChange","onFocus","readOnly","required","tabIndex","type","value"],vz=e=>{const{classes:t,checked:r,disabled:n,edge:o}=e,i={root:["root",r&&"checked",n&&"disabled",o&&`edge${ne(o)}`],input:["input"]};return ke(i,mz,t)},yz=Z(Qr)(({ownerState:e})=>_({padding:9,borderRadius:"50%"},e.edge==="start"&&{marginLeft:e.size==="small"?-3:-12},e.edge==="end"&&{marginRight:e.size==="small"?-3:-12})),bz=Z("input",{shouldForwardProp:Lr})({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),n3=g.forwardRef(function(t,r){const{autoFocus:n,checked:o,checkedIcon:i,className:a,defaultChecked:s,disabled:l,disableFocusRipple:c=!1,edge:u=!1,icon:p,id:f,inputProps:m,inputRef:v,name:h,onBlur:x,onChange:y,onFocus:b,readOnly:w,required:S=!1,tabIndex:T,type:R,value:E}=t,A=re(t,gz),[P,M]=Bs({controlled:o,default:!!s,name:"SwitchBase",state:"checked"}),O=Hi(),F=L=>{b&&b(L),O&&O.onFocus&&O.onFocus(L)},I=L=>{x&&x(L),O&&O.onBlur&&O.onBlur(L)},D=L=>{if(L.nativeEvent.defaultPrevented)return;const B=L.target.checked;M(B),y&&y(L,B)};let $=l;O&&typeof $>"u"&&($=O.disabled);const j=R==="checkbox"||R==="radio",H=_({},t,{checked:P,disabled:$,disableFocusRipple:c,edge:u}),k=vz(H);return d.jsxs(yz,_({component:"span",className:le(k.root,a),centerRipple:!0,focusRipple:!c,disabled:$,tabIndex:null,role:void 0,onFocus:F,onBlur:I,ownerState:H,ref:r},A,{children:[d.jsx(bz,_({autoFocus:n,checked:o,defaultChecked:s,className:k.input,disabled:$,id:j?f:void 0,name:h,onChange:D,readOnly:w,ref:v,required:S,ownerState:H,tabIndex:T,type:R},R==="checkbox"&&E===void 0?{}:{value:E},m)),P?i:p]}))}),xz=Sr(d.jsx("path",{d:"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"}),"CheckBoxOutlineBlank"),wz=Sr(d.jsx("path",{d:"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"}),"CheckBox"),Sz=Sr(d.jsx("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z"}),"IndeterminateCheckBox");function Ez(e){return _e("MuiCheckbox",e)}const ig=Te("MuiCheckbox",["root","checked","disabled","indeterminate","colorPrimary","colorSecondary","sizeSmall","sizeMedium"]),Cz=["checkedIcon","color","icon","indeterminate","indeterminateIcon","inputProps","size","className"],Tz=e=>{const{classes:t,indeterminate:r,color:n,size:o}=e,i={root:["root",r&&"indeterminate",`color${ne(n)}`,`size${ne(o)}`]},a=ke(i,Ez,t);return _({},t,a)},Rz=Z(n3,{shouldForwardProp:e=>Lr(e)||e==="classes",name:"MuiCheckbox",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.indeterminate&&t.indeterminate,t[`size${ne(r.size)}`],r.color!=="default"&&t[`color${ne(r.color)}`]]}})(({theme:e,ownerState:t})=>_({color:(e.vars||e).palette.text.secondary},!t.disableRipple&&{"&:hover":{backgroundColor:e.vars?`rgba(${t.color==="default"?e.vars.palette.action.activeChannel:e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Ot(t.color==="default"?e.palette.action.active:e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},t.color!=="default"&&{[`&.${ig.checked}, &.${ig.indeterminate}`]:{color:(e.vars||e).palette[t.color].main},[`&.${ig.disabled}`]:{color:(e.vars||e).palette.action.disabled}})),_z=d.jsx(wz,{}),Az=d.jsx(xz,{}),kz=d.jsx(Sz,{}),Iz=g.forwardRef(function(t,r){var n,o;const i=Ie({props:t,name:"MuiCheckbox"}),{checkedIcon:a=_z,color:s="primary",icon:l=Az,indeterminate:c=!1,indeterminateIcon:u=kz,inputProps:p,size:f="medium",className:m}=i,v=re(i,Cz),h=c?u:l,x=c?u:a,y=_({},i,{color:s,indeterminate:c,size:f}),b=Tz(y);return d.jsx(Rz,_({type:"checkbox",inputProps:_({"data-indeterminate":c},p),icon:g.cloneElement(h,{fontSize:(n=h.props.fontSize)!=null?n:f}),checkedIcon:g.cloneElement(x,{fontSize:(o=x.props.fontSize)!=null?o:f}),ownerState:y,ref:r,className:le(b.root,m)},v,{classes:b}))});function Mz(e){const t=yr(e);return t.body===e?_o(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}function sc(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function MS(e){return parseInt(_o(e).getComputedStyle(e).paddingRight,10)||0}function Pz(e){const r=["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].indexOf(e.tagName)!==-1,n=e.tagName==="INPUT"&&e.getAttribute("type")==="hidden";return r||n}function PS(e,t,r,n,o){const i=[t,r,...n];[].forEach.call(e.children,a=>{const s=i.indexOf(a)===-1,l=!Pz(a);s&&l&&sc(a,o)})}function ag(e,t){let r=-1;return e.some((n,o)=>t(n)?(r=o,!0):!1),r}function Oz(e,t){const r=[],n=e.container;if(!t.disableScrollLock){if(Mz(n)){const a=K_(yr(n));r.push({value:n.style.paddingRight,property:"padding-right",el:n}),n.style.paddingRight=`${MS(n)+a}px`;const s=yr(n).querySelectorAll(".mui-fixed");[].forEach.call(s,l=>{r.push({value:l.style.paddingRight,property:"padding-right",el:l}),l.style.paddingRight=`${MS(l)+a}px`})}let i;if(n.parentNode instanceof DocumentFragment)i=yr(n).body;else{const a=n.parentElement,s=_o(n);i=(a==null?void 0:a.nodeName)==="HTML"&&s.getComputedStyle(a).overflowY==="scroll"?a:n}r.push({value:i.style.overflow,property:"overflow",el:i},{value:i.style.overflowX,property:"overflow-x",el:i},{value:i.style.overflowY,property:"overflow-y",el:i}),i.style.overflow="hidden"}return()=>{r.forEach(({value:i,el:a,property:s})=>{i?a.style.setProperty(s,i):a.style.removeProperty(s)})}}function Lz(e){const t=[];return[].forEach.call(e.children,r=>{r.getAttribute("aria-hidden")==="true"&&t.push(r)}),t}class Nz{constructor(){this.containers=void 0,this.modals=void 0,this.modals=[],this.containers=[]}add(t,r){let n=this.modals.indexOf(t);if(n!==-1)return n;n=this.modals.length,this.modals.push(t),t.modalRef&&sc(t.modalRef,!1);const o=Lz(r);PS(r,t.mount,t.modalRef,o,!0);const i=ag(this.containers,a=>a.container===r);return i!==-1?(this.containers[i].modals.push(t),n):(this.containers.push({modals:[t],container:r,restore:null,hiddenSiblings:o}),n)}mount(t,r){const n=ag(this.containers,i=>i.modals.indexOf(t)!==-1),o=this.containers[n];o.restore||(o.restore=Oz(o,r))}remove(t,r=!0){const n=this.modals.indexOf(t);if(n===-1)return n;const o=ag(this.containers,a=>a.modals.indexOf(t)!==-1),i=this.containers[o];if(i.modals.splice(i.modals.indexOf(t),1),this.modals.splice(n,1),i.modals.length===0)i.restore&&i.restore(),t.modalRef&&sc(t.modalRef,r),PS(i.container,t.mount,t.modalRef,i.hiddenSiblings,!1),this.containers.splice(o,1);else{const a=i.modals[i.modals.length-1];a.modalRef&&sc(a.modalRef,!1)}return n}isTopModal(t){return this.modals.length>0&&this.modals[this.modals.length-1]===t}}const $z=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function Dz(e){const t=parseInt(e.getAttribute("tabindex")||"",10);return Number.isNaN(t)?e.contentEditable==="true"||(e.nodeName==="AUDIO"||e.nodeName==="VIDEO"||e.nodeName==="DETAILS")&&e.getAttribute("tabindex")===null?0:e.tabIndex:t}function jz(e){if(e.tagName!=="INPUT"||e.type!=="radio"||!e.name)return!1;const t=n=>e.ownerDocument.querySelector(`input[type="radio"]${n}`);let r=t(`[name="${e.name}"]:checked`);return r||(r=t(`[name="${e.name}"]`)),r!==e}function Fz(e){return!(e.disabled||e.tagName==="INPUT"&&e.type==="hidden"||jz(e))}function Bz(e){const t=[],r=[];return Array.from(e.querySelectorAll($z)).forEach((n,o)=>{const i=Dz(n);i===-1||!Fz(n)||(i===0?t.push(n):r.push({documentOrder:o,tabIndex:i,node:n}))}),r.sort((n,o)=>n.tabIndex===o.tabIndex?n.documentOrder-o.documentOrder:n.tabIndex-o.tabIndex).map(n=>n.node).concat(t)}function Hz(){return!0}function Uz(e){const{children:t,disableAutoFocus:r=!1,disableEnforceFocus:n=!1,disableRestoreFocus:o=!1,getTabbable:i=Bz,isEnabled:a=Hz,open:s}=e,l=g.useRef(!1),c=g.useRef(null),u=g.useRef(null),p=g.useRef(null),f=g.useRef(null),m=g.useRef(!1),v=g.useRef(null),h=_t(t.ref,v),x=g.useRef(null);g.useEffect(()=>{!s||!v.current||(m.current=!r)},[r,s]),g.useEffect(()=>{if(!s||!v.current)return;const w=yr(v.current);return v.current.contains(w.activeElement)||(v.current.hasAttribute("tabIndex")||v.current.setAttribute("tabIndex","-1"),m.current&&v.current.focus()),()=>{o||(p.current&&p.current.focus&&(l.current=!0,p.current.focus()),p.current=null)}},[s]),g.useEffect(()=>{if(!s||!v.current)return;const w=yr(v.current),S=E=>{x.current=E,!(n||!a()||E.key!=="Tab")&&w.activeElement===v.current&&E.shiftKey&&(l.current=!0,u.current&&u.current.focus())},T=()=>{const E=v.current;if(E===null)return;if(!w.hasFocus()||!a()||l.current){l.current=!1;return}if(E.contains(w.activeElement)||n&&w.activeElement!==c.current&&w.activeElement!==u.current)return;if(w.activeElement!==f.current)f.current=null;else if(f.current!==null)return;if(!m.current)return;let A=[];if((w.activeElement===c.current||w.activeElement===u.current)&&(A=i(v.current)),A.length>0){var P,M;const O=!!((P=x.current)!=null&&P.shiftKey&&((M=x.current)==null?void 0:M.key)==="Tab"),F=A[0],I=A[A.length-1];typeof F!="string"&&typeof I!="string"&&(O?I.focus():F.focus())}else E.focus()};w.addEventListener("focusin",T),w.addEventListener("keydown",S,!0);const R=setInterval(()=>{w.activeElement&&w.activeElement.tagName==="BODY"&&T()},50);return()=>{clearInterval(R),w.removeEventListener("focusin",T),w.removeEventListener("keydown",S,!0)}},[r,n,o,a,s,i]);const y=w=>{p.current===null&&(p.current=w.relatedTarget),m.current=!0,f.current=w.target;const S=t.props.onFocus;S&&S(w)},b=w=>{p.current===null&&(p.current=w.relatedTarget),m.current=!0};return d.jsxs(g.Fragment,{children:[d.jsx("div",{tabIndex:s?0:-1,onFocus:b,ref:c,"data-testid":"sentinelStart"}),g.cloneElement(t,{ref:h,onFocus:y}),d.jsx("div",{tabIndex:s?0:-1,onFocus:b,ref:u,"data-testid":"sentinelEnd"})]})}function zz(e){return typeof e=="function"?e():e}function Vz(e){return e?e.props.hasOwnProperty("in"):!1}const Wz=new Nz;function Gz(e){const{container:t,disableEscapeKeyDown:r=!1,disableScrollLock:n=!1,manager:o=Wz,closeAfterTransition:i=!1,onTransitionEnter:a,onTransitionExited:s,children:l,onClose:c,open:u,rootRef:p}=e,f=g.useRef({}),m=g.useRef(null),v=g.useRef(null),h=_t(v,p),[x,y]=g.useState(!u),b=Vz(l);let w=!0;(e["aria-hidden"]==="false"||e["aria-hidden"]===!1)&&(w=!1);const S=()=>yr(m.current),T=()=>(f.current.modalRef=v.current,f.current.mount=m.current,f.current),R=()=>{o.mount(T(),{disableScrollLock:n}),v.current&&(v.current.scrollTop=0)},E=qo(()=>{const j=zz(t)||S().body;o.add(T(),j),v.current&&R()}),A=g.useCallback(()=>o.isTopModal(T()),[o]),P=qo(j=>{m.current=j,j&&(u&&A()?R():v.current&&sc(v.current,w))}),M=g.useCallback(()=>{o.remove(T(),w)},[w,o]);g.useEffect(()=>()=>{M()},[M]),g.useEffect(()=>{u?E():(!b||!i)&&M()},[u,M,b,i,E]);const O=j=>H=>{var k;(k=j.onKeyDown)==null||k.call(j,H),!(H.key!=="Escape"||H.which===229||!A())&&(r||(H.stopPropagation(),c&&c(H,"escapeKeyDown")))},F=j=>H=>{var k;(k=j.onClick)==null||k.call(j,H),H.target===H.currentTarget&&c&&c(H,"backdropClick")};return{getRootProps:(j={})=>{const H=Z_(e);delete H.onTransitionEnter,delete H.onTransitionExited;const k=_({},H,j);return _({role:"presentation"},k,{onKeyDown:O(k),ref:h})},getBackdropProps:(j={})=>{const H=j;return _({"aria-hidden":!0},H,{onClick:F(H),open:u})},getTransitionProps:()=>{const j=()=>{y(!1),a&&a()},H=()=>{y(!0),s&&s(),i&&M()};return{onEnter:N0(j,l==null?void 0:l.props.onEnter),onExited:N0(H,l==null?void 0:l.props.onExited)}},rootRef:h,portalRef:P,isTopModal:A,exited:x,hasTransition:b}}function qz(e){return _e("MuiModal",e)}Te("MuiModal",["root","hidden","backdrop"]);const Qz=["BackdropComponent","BackdropProps","classes","className","closeAfterTransition","children","container","component","components","componentsProps","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","onBackdropClick","onClose","onTransitionEnter","onTransitionExited","open","slotProps","slots","theme"],Yz=e=>{const{open:t,exited:r,classes:n}=e;return ke({root:["root",!t&&r&&"hidden"],backdrop:["backdrop"]},qz,n)},Kz=Z("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,!r.open&&r.exited&&t.hidden]}})(({theme:e,ownerState:t})=>_({position:"fixed",zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0},!t.open&&t.exited&&{visibility:"hidden"})),Zz=Z(q1,{name:"MuiModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})({zIndex:-1}),Q1=g.forwardRef(function(t,r){var n,o,i,a,s,l;const c=Ie({name:"MuiModal",props:t}),{BackdropComponent:u=Zz,BackdropProps:p,className:f,closeAfterTransition:m=!1,children:v,container:h,component:x,components:y={},componentsProps:b={},disableAutoFocus:w=!1,disableEnforceFocus:S=!1,disableEscapeKeyDown:T=!1,disablePortal:R=!1,disableRestoreFocus:E=!1,disableScrollLock:A=!1,hideBackdrop:P=!1,keepMounted:M=!1,onBackdropClick:O,open:F,slotProps:I,slots:D}=c,$=re(c,Qz),j=_({},c,{closeAfterTransition:m,disableAutoFocus:w,disableEnforceFocus:S,disableEscapeKeyDown:T,disablePortal:R,disableRestoreFocus:E,disableScrollLock:A,hideBackdrop:P,keepMounted:M}),{getRootProps:H,getBackdropProps:k,getTransitionProps:L,portalRef:B,isTopModal:z,exited:V,hasTransition:K}=Gz(_({},j,{rootRef:r})),q=_({},j,{exited:V}),te=Yz(q),Y={};if(v.props.tabIndex===void 0&&(Y.tabIndex="-1"),K){const{onEnter:pe,onExited:Ae}=L();Y.onEnter=pe,Y.onExited=Ae}const se=(n=(o=D==null?void 0:D.root)!=null?o:y.Root)!=null?n:Kz,oe=(i=(a=D==null?void 0:D.backdrop)!=null?a:y.Backdrop)!=null?i:u,ie=(s=I==null?void 0:I.root)!=null?s:b.root,he=(l=I==null?void 0:I.backdrop)!=null?l:b.backdrop,ae=ma({elementType:se,externalSlotProps:ie,externalForwardedProps:$,getSlotProps:H,additionalProps:{ref:r,as:x},ownerState:q,className:le(f,ie==null?void 0:ie.className,te==null?void 0:te.root,!q.open&&q.exited&&(te==null?void 0:te.hidden))}),Re=ma({elementType:oe,externalSlotProps:he,additionalProps:p,getSlotProps:pe=>k(_({},pe,{onClick:Ae=>{O&&O(Ae),pe!=null&&pe.onClick&&pe.onClick(Ae)}})),className:le(he==null?void 0:he.className,p==null?void 0:p.className,te==null?void 0:te.backdrop),ownerState:q});return!M&&!F&&(!K||V)?null:d.jsx(e3,{ref:B,container:h,disablePortal:R,children:d.jsxs(se,_({},ae,{children:[!P&&u?d.jsx(oe,_({},Re)):null,d.jsx(Uz,{disableEnforceFocus:S,disableAutoFocus:w,disableRestoreFocus:E,isEnabled:z,open:F,children:g.cloneElement(v,Y)})]}))})});function Xz(e){return _e("MuiDialog",e)}const sg=Te("MuiDialog",["root","scrollPaper","scrollBody","container","paper","paperScrollPaper","paperScrollBody","paperWidthFalse","paperWidthXs","paperWidthSm","paperWidthMd","paperWidthLg","paperWidthXl","paperFullWidth","paperFullScreen"]),Jz=g.createContext({}),eV=["aria-describedby","aria-labelledby","BackdropComponent","BackdropProps","children","className","disableEscapeKeyDown","fullScreen","fullWidth","maxWidth","onBackdropClick","onClick","onClose","open","PaperComponent","PaperProps","scroll","TransitionComponent","transitionDuration","TransitionProps"],tV=Z(q1,{name:"MuiDialog",slot:"Backdrop",overrides:(e,t)=>t.backdrop})({zIndex:-1}),rV=e=>{const{classes:t,scroll:r,maxWidth:n,fullWidth:o,fullScreen:i}=e,a={root:["root"],container:["container",`scroll${ne(r)}`],paper:["paper",`paperScroll${ne(r)}`,`paperWidth${ne(String(n))}`,o&&"paperFullWidth",i&&"paperFullScreen"]};return ke(a,Xz,t)},nV=Z(Q1,{name:"MuiDialog",slot:"Root",overridesResolver:(e,t)=>t.root})({"@media print":{position:"absolute !important"}}),oV=Z("div",{name:"MuiDialog",slot:"Container",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.container,t[`scroll${ne(r.scroll)}`]]}})(({ownerState:e})=>_({height:"100%","@media print":{height:"auto"},outline:0},e.scroll==="paper"&&{display:"flex",justifyContent:"center",alignItems:"center"},e.scroll==="body"&&{overflowY:"auto",overflowX:"hidden",textAlign:"center","&::after":{content:'""',display:"inline-block",verticalAlign:"middle",height:"100%",width:"0"}})),iV=Z(Ta,{name:"MuiDialog",slot:"Paper",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.paper,t[`scrollPaper${ne(r.scroll)}`],t[`paperWidth${ne(String(r.maxWidth))}`],r.fullWidth&&t.paperFullWidth,r.fullScreen&&t.paperFullScreen]}})(({theme:e,ownerState:t})=>_({margin:32,position:"relative",overflowY:"auto","@media print":{overflowY:"visible",boxShadow:"none"}},t.scroll==="paper"&&{display:"flex",flexDirection:"column",maxHeight:"calc(100% - 64px)"},t.scroll==="body"&&{display:"inline-block",verticalAlign:"middle",textAlign:"left"},!t.maxWidth&&{maxWidth:"calc(100% - 64px)"},t.maxWidth==="xs"&&{maxWidth:e.breakpoints.unit==="px"?Math.max(e.breakpoints.values.xs,444):`max(${e.breakpoints.values.xs}${e.breakpoints.unit}, 444px)`,[`&.${sg.paperScrollBody}`]:{[e.breakpoints.down(Math.max(e.breakpoints.values.xs,444)+32*2)]:{maxWidth:"calc(100% - 64px)"}}},t.maxWidth&&t.maxWidth!=="xs"&&{maxWidth:`${e.breakpoints.values[t.maxWidth]}${e.breakpoints.unit}`,[`&.${sg.paperScrollBody}`]:{[e.breakpoints.down(e.breakpoints.values[t.maxWidth]+32*2)]:{maxWidth:"calc(100% - 64px)"}}},t.fullWidth&&{width:"calc(100% - 64px)"},t.fullScreen&&{margin:0,width:"100%",maxWidth:"100%",height:"100%",maxHeight:"none",borderRadius:0,[`&.${sg.paperScrollBody}`]:{margin:0,maxWidth:"100%"}})),aV=g.forwardRef(function(t,r){const n=Ie({props:t,name:"MuiDialog"}),o=Lo(),i={enter:o.transitions.duration.enteringScreen,exit:o.transitions.duration.leavingScreen},{"aria-describedby":a,"aria-labelledby":s,BackdropComponent:l,BackdropProps:c,children:u,className:p,disableEscapeKeyDown:f=!1,fullScreen:m=!1,fullWidth:v=!1,maxWidth:h="sm",onBackdropClick:x,onClick:y,onClose:b,open:w,PaperComponent:S=Ta,PaperProps:T={},scroll:R="paper",TransitionComponent:E=Up,transitionDuration:A=i,TransitionProps:P}=n,M=re(n,eV),O=_({},n,{disableEscapeKeyDown:f,fullScreen:m,fullWidth:v,maxWidth:h,scroll:R}),F=rV(O),I=g.useRef(),D=k=>{I.current=k.target===k.currentTarget},$=k=>{y&&y(k),I.current&&(I.current=null,x&&x(k),b&&b(k,"backdropClick"))},j=bu(s),H=g.useMemo(()=>({titleId:j}),[j]);return d.jsx(nV,_({className:le(F.root,p),closeAfterTransition:!0,components:{Backdrop:tV},componentsProps:{backdrop:_({transitionDuration:A,as:l},c)},disableEscapeKeyDown:f,onClose:b,open:w,ref:r,onClick:$,ownerState:O},M,{children:d.jsx(E,_({appear:!0,in:w,timeout:A,role:"presentation"},P,{children:d.jsx(oV,{className:le(F.container),onMouseDown:D,ownerState:O,children:d.jsx(iV,_({as:S,elevation:24,role:"dialog","aria-describedby":a,"aria-labelledby":j},T,{className:le(F.paper,T.className),ownerState:O,children:d.jsx(Jz.Provider,{value:H,children:u})}))})}))}))});function sV(e){return _e("MuiDivider",e)}const OS=Te("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]),lV=["absolute","children","className","component","flexItem","light","orientation","role","textAlign","variant"],cV=e=>{const{absolute:t,children:r,classes:n,flexItem:o,light:i,orientation:a,textAlign:s,variant:l}=e;return ke({root:["root",t&&"absolute",l,i&&"light",a==="vertical"&&"vertical",o&&"flexItem",r&&"withChildren",r&&a==="vertical"&&"withChildrenVertical",s==="right"&&a!=="vertical"&&"textAlignRight",s==="left"&&a!=="vertical"&&"textAlignLeft"],wrapper:["wrapper",a==="vertical"&&"wrapperVertical"]},sV,n)},uV=Z("div",{name:"MuiDivider",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.absolute&&t.absolute,t[r.variant],r.light&&t.light,r.orientation==="vertical"&&t.vertical,r.flexItem&&t.flexItem,r.children&&t.withChildren,r.children&&r.orientation==="vertical"&&t.withChildrenVertical,r.textAlign==="right"&&r.orientation!=="vertical"&&t.textAlignRight,r.textAlign==="left"&&r.orientation!=="vertical"&&t.textAlignLeft]}})(({theme:e,ownerState:t})=>_({margin:0,flexShrink:0,borderWidth:0,borderStyle:"solid",borderColor:(e.vars||e).palette.divider,borderBottomWidth:"thin"},t.absolute&&{position:"absolute",bottom:0,left:0,width:"100%"},t.light&&{borderColor:e.vars?`rgba(${e.vars.palette.dividerChannel} / 0.08)`:Ot(e.palette.divider,.08)},t.variant==="inset"&&{marginLeft:72},t.variant==="middle"&&t.orientation==="horizontal"&&{marginLeft:e.spacing(2),marginRight:e.spacing(2)},t.variant==="middle"&&t.orientation==="vertical"&&{marginTop:e.spacing(1),marginBottom:e.spacing(1)},t.orientation==="vertical"&&{height:"100%",borderBottomWidth:0,borderRightWidth:"thin"},t.flexItem&&{alignSelf:"stretch",height:"auto"}),({ownerState:e})=>_({},e.children&&{display:"flex",whiteSpace:"nowrap",textAlign:"center",border:0,borderTopStyle:"solid",borderLeftStyle:"solid","&::before, &::after":{content:'""',alignSelf:"center"}}),({theme:e,ownerState:t})=>_({},t.children&&t.orientation!=="vertical"&&{"&::before, &::after":{width:"100%",borderTop:`thin solid ${(e.vars||e).palette.divider}`,borderTopStyle:"inherit"}}),({theme:e,ownerState:t})=>_({},t.children&&t.orientation==="vertical"&&{flexDirection:"column","&::before, &::after":{height:"100%",borderLeft:`thin solid ${(e.vars||e).palette.divider}`,borderLeftStyle:"inherit"}}),({ownerState:e})=>_({},e.textAlign==="right"&&e.orientation!=="vertical"&&{"&::before":{width:"90%"},"&::after":{width:"10%"}},e.textAlign==="left"&&e.orientation!=="vertical"&&{"&::before":{width:"10%"},"&::after":{width:"90%"}})),dV=Z("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.wrapper,r.orientation==="vertical"&&t.wrapperVertical]}})(({theme:e,ownerState:t})=>_({display:"inline-block",paddingLeft:`calc(${e.spacing(1)} * 1.2)`,paddingRight:`calc(${e.spacing(1)} * 1.2)`},t.orientation==="vertical"&&{paddingTop:`calc(${e.spacing(1)} * 1.2)`,paddingBottom:`calc(${e.spacing(1)} * 1.2)`})),Ai=g.forwardRef(function(t,r){const n=Ie({props:t,name:"MuiDivider"}),{absolute:o=!1,children:i,className:a,component:s=i?"div":"hr",flexItem:l=!1,light:c=!1,orientation:u="horizontal",role:p=s!=="hr"?"separator":void 0,textAlign:f="center",variant:m="fullWidth"}=n,v=re(n,lV),h=_({},n,{absolute:o,component:s,flexItem:l,light:c,orientation:u,role:p,textAlign:f,variant:m}),x=cV(h);return d.jsx(uV,_({as:s,className:le(x.root,a),role:p,ref:r,ownerState:h},v,{children:i?d.jsx(dV,{className:x.wrapper,ownerState:h,children:i}):null}))});Ai.muiSkipListHighlight=!0;const pV=["addEndListener","appear","children","container","direction","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function fV(e,t,r){const n=t.getBoundingClientRect(),o=r&&r.getBoundingClientRect(),i=_o(t);let a;if(t.fakeTransform)a=t.fakeTransform;else{const c=i.getComputedStyle(t);a=c.getPropertyValue("-webkit-transform")||c.getPropertyValue("transform")}let s=0,l=0;if(a&&a!=="none"&&typeof a=="string"){const c=a.split("(")[1].split(")")[0].split(",");s=parseInt(c[4],10),l=parseInt(c[5],10)}return e==="left"?o?`translateX(${o.right+s-n.left}px)`:`translateX(${i.innerWidth+s-n.left}px)`:e==="right"?o?`translateX(-${n.right-o.left-s}px)`:`translateX(-${n.left+n.width-s}px)`:e==="up"?o?`translateY(${o.bottom+l-n.top}px)`:`translateY(${i.innerHeight+l-n.top}px)`:o?`translateY(-${n.top-o.top+n.height-l}px)`:`translateY(-${n.top+n.height-l}px)`}function hV(e){return typeof e=="function"?e():e}function fd(e,t,r){const n=hV(r),o=fV(e,t,n);o&&(t.style.webkitTransform=o,t.style.transform=o)}const o3=g.forwardRef(function(t,r){const n=Lo(),o={enter:n.transitions.easing.easeOut,exit:n.transitions.easing.sharp},i={enter:n.transitions.duration.enteringScreen,exit:n.transitions.duration.leavingScreen},{addEndListener:a,appear:s=!0,children:l,container:c,direction:u="down",easing:p=o,in:f,onEnter:m,onEntered:v,onEntering:h,onExit:x,onExited:y,onExiting:b,style:w,timeout:S=i,TransitionComponent:T=Fn}=t,R=re(t,pV),E=g.useRef(null),A=_t(l.ref,E,r),P=k=>L=>{k&&(L===void 0?k(E.current):k(E.current,L))},M=P((k,L)=>{fd(u,k,c),L1(k),m&&m(k,L)}),O=P((k,L)=>{const B=Pi({timeout:S,style:w,easing:p},{mode:"enter"});k.style.webkitTransition=n.transitions.create("-webkit-transform",_({},B)),k.style.transition=n.transitions.create("transform",_({},B)),k.style.webkitTransform="none",k.style.transform="none",h&&h(k,L)}),F=P(v),I=P(b),D=P(k=>{const L=Pi({timeout:S,style:w,easing:p},{mode:"exit"});k.style.webkitTransition=n.transitions.create("-webkit-transform",L),k.style.transition=n.transitions.create("transform",L),fd(u,k,c),x&&x(k)}),$=P(k=>{k.style.webkitTransition="",k.style.transition="",y&&y(k)}),j=k=>{a&&a(E.current,k)},H=g.useCallback(()=>{E.current&&fd(u,E.current,c)},[u,c]);return g.useEffect(()=>{if(f||u==="down"||u==="right")return;const k=Zf(()=>{E.current&&fd(u,E.current,c)}),L=_o(E.current);return L.addEventListener("resize",k),()=>{k.clear(),L.removeEventListener("resize",k)}},[u,f,c]),g.useEffect(()=>{f||H()},[f,H]),d.jsx(T,_({nodeRef:E,onEnter:M,onEntered:F,onEntering:O,onExit:D,onExited:$,onExiting:I,addEndListener:j,appear:s,in:f,timeout:S},R,{children:(k,L)=>g.cloneElement(l,_({ref:A,style:_({visibility:k==="exited"&&!f?"hidden":void 0},w,l.props.style)},L))}))});function mV(e){return _e("MuiDrawer",e)}Te("MuiDrawer",["root","docked","paper","paperAnchorLeft","paperAnchorRight","paperAnchorTop","paperAnchorBottom","paperAnchorDockedLeft","paperAnchorDockedRight","paperAnchorDockedTop","paperAnchorDockedBottom","modal"]);const gV=["BackdropProps"],vV=["anchor","BackdropProps","children","className","elevation","hideBackdrop","ModalProps","onClose","open","PaperProps","SlideProps","TransitionComponent","transitionDuration","variant"],i3=(e,t)=>{const{ownerState:r}=e;return[t.root,(r.variant==="permanent"||r.variant==="persistent")&&t.docked,t.modal]},yV=e=>{const{classes:t,anchor:r,variant:n}=e,o={root:["root"],docked:[(n==="permanent"||n==="persistent")&&"docked"],modal:["modal"],paper:["paper",`paperAnchor${ne(r)}`,n!=="temporary"&&`paperAnchorDocked${ne(r)}`]};return ke(o,mV,t)},bV=Z(Q1,{name:"MuiDrawer",slot:"Root",overridesResolver:i3})(({theme:e})=>({zIndex:(e.vars||e).zIndex.drawer})),LS=Z("div",{shouldForwardProp:Lr,name:"MuiDrawer",slot:"Docked",skipVariantsResolver:!1,overridesResolver:i3})({flex:"0 0 auto"}),xV=Z(Ta,{name:"MuiDrawer",slot:"Paper",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.paper,t[`paperAnchor${ne(r.anchor)}`],r.variant!=="temporary"&&t[`paperAnchorDocked${ne(r.anchor)}`]]}})(({theme:e,ownerState:t})=>_({overflowY:"auto",display:"flex",flexDirection:"column",height:"100%",flex:"1 0 auto",zIndex:(e.vars||e).zIndex.drawer,WebkitOverflowScrolling:"touch",position:"fixed",top:0,outline:0},t.anchor==="left"&&{left:0},t.anchor==="top"&&{top:0,left:0,right:0,height:"auto",maxHeight:"100%"},t.anchor==="right"&&{right:0},t.anchor==="bottom"&&{top:"auto",left:0,bottom:0,right:0,height:"auto",maxHeight:"100%"},t.anchor==="left"&&t.variant!=="temporary"&&{borderRight:`1px solid ${(e.vars||e).palette.divider}`},t.anchor==="top"&&t.variant!=="temporary"&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`},t.anchor==="right"&&t.variant!=="temporary"&&{borderLeft:`1px solid ${(e.vars||e).palette.divider}`},t.anchor==="bottom"&&t.variant!=="temporary"&&{borderTop:`1px solid ${(e.vars||e).palette.divider}`})),a3={left:"right",right:"left",top:"down",bottom:"up"};function wV(e){return["left","right"].indexOf(e)!==-1}function SV({direction:e},t){return e==="rtl"&&wV(t)?a3[t]:t}const ku=g.forwardRef(function(t,r){const n=Ie({props:t,name:"MuiDrawer"}),o=Lo(),i=Jf(),a={enter:o.transitions.duration.enteringScreen,exit:o.transitions.duration.leavingScreen},{anchor:s="left",BackdropProps:l,children:c,className:u,elevation:p=16,hideBackdrop:f=!1,ModalProps:{BackdropProps:m}={},onClose:v,open:h=!1,PaperProps:x={},SlideProps:y,TransitionComponent:b=o3,transitionDuration:w=a,variant:S="temporary"}=n,T=re(n.ModalProps,gV),R=re(n,vV),E=g.useRef(!1);g.useEffect(()=>{E.current=!0},[]);const A=SV({direction:i?"rtl":"ltr"},s),M=_({},n,{anchor:s,elevation:p,open:h,variant:S},R),O=yV(M),F=d.jsx(xV,_({elevation:S==="temporary"?p:0,square:!0},x,{className:le(O.paper,x.className),ownerState:M,children:c}));if(S==="permanent")return d.jsx(LS,_({className:le(O.root,O.docked,u),ownerState:M,ref:r},R,{children:F}));const I=d.jsx(b,_({in:h,direction:a3[A],timeout:w,appear:E.current},y,{children:F}));return S==="persistent"?d.jsx(LS,_({className:le(O.root,O.docked,u),ownerState:M,ref:r},R,{children:I})):d.jsx(bV,_({BackdropProps:_({},l,m,{transitionDuration:w}),className:le(O.root,O.modal,u),open:h,ownerState:M,onClose:v,hideBackdrop:f,ref:r},R,T,{children:I}))}),EV=["disableUnderline","components","componentsProps","fullWidth","hiddenLabel","inputComponent","multiline","slotProps","slots","type"],CV=e=>{const{classes:t,disableUnderline:r}=e,o=ke({root:["root",!r&&"underline"],input:["input"]},VU,t);return _({},t,o)},TV=Z(Ih,{shouldForwardProp:e=>Lr(e)||e==="classes",name:"MuiFilledInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[...Ah(e,t),!r.disableUnderline&&t.underline]}})(({theme:e,ownerState:t})=>{var r;const n=e.palette.mode==="light",o=n?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)",i=n?"rgba(0, 0, 0, 0.06)":"rgba(255, 255, 255, 0.09)",a=n?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.13)",s=n?"rgba(0, 0, 0, 0.12)":"rgba(255, 255, 255, 0.12)";return _({position:"relative",backgroundColor:e.vars?e.vars.palette.FilledInput.bg:i,borderTopLeftRadius:(e.vars||e).shape.borderRadius,borderTopRightRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),"&:hover":{backgroundColor:e.vars?e.vars.palette.FilledInput.hoverBg:a,"@media (hover: none)":{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:i}},[`&.${Wi.focused}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:i},[`&.${Wi.disabled}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.disabledBg:s}},!t.disableUnderline&&{"&::after":{borderBottom:`2px solid ${(r=(e.vars||e).palette[t.color||"primary"])==null?void 0:r.main}`,left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${Wi.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${Wi.error}`]:{"&::before, &::after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / ${e.vars.opacity.inputUnderline})`:o}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${Wi.disabled}, .${Wi.error}):before`]:{borderBottom:`1px solid ${(e.vars||e).palette.text.primary}`},[`&.${Wi.disabled}:before`]:{borderBottomStyle:"dotted"}},t.startAdornment&&{paddingLeft:12},t.endAdornment&&{paddingRight:12},t.multiline&&_({padding:"25px 12px 8px"},t.size==="small"&&{paddingTop:21,paddingBottom:4},t.hiddenLabel&&{paddingTop:16,paddingBottom:17},t.hiddenLabel&&t.size==="small"&&{paddingTop:8,paddingBottom:9}))}),RV=Z(Mh,{name:"MuiFilledInput",slot:"Input",overridesResolver:kh})(({theme:e,ownerState:t})=>_({paddingTop:25,paddingRight:12,paddingBottom:8,paddingLeft:12},!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:e.palette.mode==="light"?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:e.palette.mode==="light"?null:"#fff",caretColor:e.palette.mode==="light"?null:"#fff",borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"}},e.vars&&{"&:-webkit-autofill":{borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},t.size==="small"&&{paddingTop:21,paddingBottom:4},t.hiddenLabel&&{paddingTop:16,paddingBottom:17},t.startAdornment&&{paddingLeft:0},t.endAdornment&&{paddingRight:0},t.hiddenLabel&&t.size==="small"&&{paddingTop:8,paddingBottom:9},t.multiline&&{paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0})),Y1=g.forwardRef(function(t,r){var n,o,i,a;const s=Ie({props:t,name:"MuiFilledInput"}),{components:l={},componentsProps:c,fullWidth:u=!1,inputComponent:p="input",multiline:f=!1,slotProps:m,slots:v={},type:h="text"}=s,x=re(s,EV),y=_({},s,{fullWidth:u,inputComponent:p,multiline:f,type:h}),b=CV(s),w={root:{ownerState:y},input:{ownerState:y}},S=m??c?Mr(w,m??c):w,T=(n=(o=v.root)!=null?o:l.Root)!=null?n:TV,R=(i=(a=v.input)!=null?a:l.Input)!=null?i:RV;return d.jsx(G1,_({slots:{root:T,input:R},componentsProps:S,fullWidth:u,inputComponent:p,multiline:f,ref:r,type:h},x,{classes:b}))});Y1.muiName="Input";function _V(e){return _e("MuiFormControl",e)}Te("MuiFormControl",["root","marginNone","marginNormal","marginDense","fullWidth","disabled"]);const AV=["children","className","color","component","disabled","error","focused","fullWidth","hiddenLabel","margin","required","size","variant"],kV=e=>{const{classes:t,margin:r,fullWidth:n}=e,o={root:["root",r!=="none"&&`margin${ne(r)}`,n&&"fullWidth"]};return ke(o,_V,t)},IV=Z("div",{name:"MuiFormControl",slot:"Root",overridesResolver:({ownerState:e},t)=>_({},t.root,t[`margin${ne(e.margin)}`],e.fullWidth&&t.fullWidth)})(({ownerState:e})=>_({display:"inline-flex",flexDirection:"column",position:"relative",minWidth:0,padding:0,margin:0,border:0,verticalAlign:"top"},e.margin==="normal"&&{marginTop:16,marginBottom:8},e.margin==="dense"&&{marginTop:8,marginBottom:4},e.fullWidth&&{width:"100%"})),MV=g.forwardRef(function(t,r){const n=Ie({props:t,name:"MuiFormControl"}),{children:o,className:i,color:a="primary",component:s="div",disabled:l=!1,error:c=!1,focused:u,fullWidth:p=!1,hiddenLabel:f=!1,margin:m="none",required:v=!1,size:h="medium",variant:x="outlined"}=n,y=re(n,AV),b=_({},n,{color:a,component:s,disabled:l,error:c,fullWidth:p,hiddenLabel:f,margin:m,required:v,size:h,variant:x}),w=kV(b),[S,T]=g.useState(()=>{let I=!1;return o&&g.Children.forEach(o,D=>{if(!rc(D,["Input","Select"]))return;const $=rc(D,["Select"])?D.props.input:D;$&&$U($.props)&&(I=!0)}),I}),[R,E]=g.useState(()=>{let I=!1;return o&&g.Children.forEach(o,D=>{rc(D,["Input","Select"])&&(Hp(D.props,!0)||Hp(D.props.inputProps,!0))&&(I=!0)}),I}),[A,P]=g.useState(!1);l&&A&&P(!1);const M=u!==void 0&&!l?u:A;let O;const F=g.useMemo(()=>({adornedStart:S,setAdornedStart:T,color:a,disabled:l,error:c,filled:R,focused:M,fullWidth:p,hiddenLabel:f,size:h,onBlur:()=>{P(!1)},onEmpty:()=>{E(!1)},onFilled:()=>{E(!0)},onFocus:()=>{P(!0)},registerEffect:O,required:v,variant:x}),[S,a,l,c,R,M,p,f,O,v,h,x]);return d.jsx(_h.Provider,{value:F,children:d.jsx(IV,_({as:s,ownerState:b,className:le(w.root,i),ref:r},y,{children:o}))})}),yi=AN({createStyledComponent:Z("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,t)=>t.root}),useThemeProps:e=>Ie({props:e,name:"MuiStack"})});function PV(e){return _e("MuiFormHelperText",e)}const NS=Te("MuiFormHelperText",["root","error","disabled","sizeSmall","sizeMedium","contained","focused","filled","required"]);var $S;const OV=["children","className","component","disabled","error","filled","focused","margin","required","variant"],LV=e=>{const{classes:t,contained:r,size:n,disabled:o,error:i,filled:a,focused:s,required:l}=e,c={root:["root",o&&"disabled",i&&"error",n&&`size${ne(n)}`,r&&"contained",s&&"focused",a&&"filled",l&&"required"]};return ke(c,PV,t)},NV=Z("p",{name:"MuiFormHelperText",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.size&&t[`size${ne(r.size)}`],r.contained&&t.contained,r.filled&&t.filled]}})(({theme:e,ownerState:t})=>_({color:(e.vars||e).palette.text.secondary},e.typography.caption,{textAlign:"left",marginTop:3,marginRight:0,marginBottom:0,marginLeft:0,[`&.${NS.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${NS.error}`]:{color:(e.vars||e).palette.error.main}},t.size==="small"&&{marginTop:4},t.contained&&{marginLeft:14,marginRight:14})),$V=g.forwardRef(function(t,r){const n=Ie({props:t,name:"MuiFormHelperText"}),{children:o,className:i,component:a="p"}=n,s=re(n,OV),l=Hi(),c=ll({props:n,muiFormControl:l,states:["variant","size","disabled","error","filled","focused","required"]}),u=_({},n,{component:a,contained:c.variant==="filled"||c.variant==="outlined",variant:c.variant,size:c.size,disabled:c.disabled,error:c.error,filled:c.filled,focused:c.focused,required:c.required}),p=LV(u);return d.jsx(NV,_({as:a,ownerState:u,className:le(p.root,i),ref:r},s,{children:o===" "?$S||($S=d.jsx("span",{className:"notranslate",children:"​"})):o}))});function DV(e){return _e("MuiFormLabel",e)}const lc=Te("MuiFormLabel",["root","colorSecondary","focused","disabled","error","filled","required","asterisk"]),jV=["children","className","color","component","disabled","error","filled","focused","required"],FV=e=>{const{classes:t,color:r,focused:n,disabled:o,error:i,filled:a,required:s}=e,l={root:["root",`color${ne(r)}`,o&&"disabled",i&&"error",a&&"filled",n&&"focused",s&&"required"],asterisk:["asterisk",i&&"error"]};return ke(l,DV,t)},BV=Z("label",{name:"MuiFormLabel",slot:"Root",overridesResolver:({ownerState:e},t)=>_({},t.root,e.color==="secondary"&&t.colorSecondary,e.filled&&t.filled)})(({theme:e,ownerState:t})=>_({color:(e.vars||e).palette.text.secondary},e.typography.body1,{lineHeight:"1.4375em",padding:0,position:"relative",[`&.${lc.focused}`]:{color:(e.vars||e).palette[t.color].main},[`&.${lc.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${lc.error}`]:{color:(e.vars||e).palette.error.main}})),HV=Z("span",{name:"MuiFormLabel",slot:"Asterisk",overridesResolver:(e,t)=>t.asterisk})(({theme:e})=>({[`&.${lc.error}`]:{color:(e.vars||e).palette.error.main}})),UV=g.forwardRef(function(t,r){const n=Ie({props:t,name:"MuiFormLabel"}),{children:o,className:i,component:a="label"}=n,s=re(n,jV),l=Hi(),c=ll({props:n,muiFormControl:l,states:["color","required","focused","disabled","error","filled"]}),u=_({},n,{color:c.color||"primary",component:a,disabled:c.disabled,error:c.error,filled:c.filled,focused:c.focused,required:c.required}),p=FV(u);return d.jsxs(BV,_({as:a,ownerState:u,className:le(p.root,i),ref:r},s,{children:[o,c.required&&d.jsxs(HV,{ownerState:u,"aria-hidden":!0,className:p.asterisk,children:[" ","*"]})]}))}),zV=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function mv(e){return`scale(${e}, ${e**2})`}const VV={entering:{opacity:1,transform:mv(1)},entered:{opacity:1,transform:"none"}},lg=typeof navigator<"u"&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),qc=g.forwardRef(function(t,r){const{addEndListener:n,appear:o=!0,children:i,easing:a,in:s,onEnter:l,onEntered:c,onEntering:u,onExit:p,onExited:f,onExiting:m,style:v,timeout:h="auto",TransitionComponent:x=Fn}=t,y=re(t,zV),b=ta(),w=g.useRef(),S=Lo(),T=g.useRef(null),R=_t(T,i.ref,r),E=$=>j=>{if($){const H=T.current;j===void 0?$(H):$(H,j)}},A=E(u),P=E(($,j)=>{L1($);const{duration:H,delay:k,easing:L}=Pi({style:v,timeout:h,easing:a},{mode:"enter"});let B;h==="auto"?(B=S.transitions.getAutoHeightDuration($.clientHeight),w.current=B):B=H,$.style.transition=[S.transitions.create("opacity",{duration:B,delay:k}),S.transitions.create("transform",{duration:lg?B:B*.666,delay:k,easing:L})].join(","),l&&l($,j)}),M=E(c),O=E(m),F=E($=>{const{duration:j,delay:H,easing:k}=Pi({style:v,timeout:h,easing:a},{mode:"exit"});let L;h==="auto"?(L=S.transitions.getAutoHeightDuration($.clientHeight),w.current=L):L=j,$.style.transition=[S.transitions.create("opacity",{duration:L,delay:H}),S.transitions.create("transform",{duration:lg?L:L*.666,delay:lg?H:H||L*.333,easing:k})].join(","),$.style.opacity=0,$.style.transform=mv(.75),p&&p($)}),I=E(f),D=$=>{h==="auto"&&b.start(w.current||0,$),n&&n(T.current,$)};return d.jsx(x,_({appear:o,in:s,nodeRef:T,onEnter:P,onEntered:M,onEntering:A,onExit:F,onExited:I,onExiting:O,addEndListener:D,timeout:h==="auto"?null:h},y,{children:($,j)=>g.cloneElement(i,_({style:_({opacity:0,transform:mv(.75),visibility:$==="exited"&&!s?"hidden":void 0},VV[$],v,i.props.style),ref:R},j))}))});qc.muiSupportAuto=!0;const WV=["disableUnderline","components","componentsProps","fullWidth","inputComponent","multiline","slotProps","slots","type"],GV=e=>{const{classes:t,disableUnderline:r}=e,o=ke({root:["root",!r&&"underline"],input:["input"]},UU,t);return _({},t,o)},qV=Z(Ih,{shouldForwardProp:e=>Lr(e)||e==="classes",name:"MuiInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[...Ah(e,t),!r.disableUnderline&&t.underline]}})(({theme:e,ownerState:t})=>{let n=e.palette.mode==="light"?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return e.vars&&(n=`rgba(${e.vars.palette.common.onBackgroundChannel} / ${e.vars.opacity.inputUnderline})`),_({position:"relative"},t.formControl&&{"label + &":{marginTop:16}},!t.disableUnderline&&{"&::after":{borderBottom:`2px solid ${(e.vars||e).palette[t.color].main}`,left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${Il.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${Il.error}`]:{"&::before, &::after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${n}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${Il.disabled}, .${Il.error}):before`]:{borderBottom:`2px solid ${(e.vars||e).palette.text.primary}`,"@media (hover: none)":{borderBottom:`1px solid ${n}`}},[`&.${Il.disabled}:before`]:{borderBottomStyle:"dotted"}})}),QV=Z(Mh,{name:"MuiInput",slot:"Input",overridesResolver:kh})({}),K1=g.forwardRef(function(t,r){var n,o,i,a;const s=Ie({props:t,name:"MuiInput"}),{disableUnderline:l,components:c={},componentsProps:u,fullWidth:p=!1,inputComponent:f="input",multiline:m=!1,slotProps:v,slots:h={},type:x="text"}=s,y=re(s,WV),b=GV(s),S={root:{ownerState:{disableUnderline:l}}},T=v??u?Mr(v??u,S):S,R=(n=(o=h.root)!=null?o:c.Root)!=null?n:qV,E=(i=(a=h.input)!=null?a:c.Input)!=null?i:QV;return d.jsx(G1,_({slots:{root:R,input:E},slotProps:T,fullWidth:p,inputComponent:f,multiline:m,ref:r,type:x},y,{classes:b}))});K1.muiName="Input";function YV(e){return _e("MuiInputAdornment",e)}const DS=Te("MuiInputAdornment",["root","filled","standard","outlined","positionStart","positionEnd","disablePointerEvents","hiddenLabel","sizeSmall"]);var jS;const KV=["children","className","component","disablePointerEvents","disableTypography","position","variant"],ZV=(e,t)=>{const{ownerState:r}=e;return[t.root,t[`position${ne(r.position)}`],r.disablePointerEvents===!0&&t.disablePointerEvents,t[r.variant]]},XV=e=>{const{classes:t,disablePointerEvents:r,hiddenLabel:n,position:o,size:i,variant:a}=e,s={root:["root",r&&"disablePointerEvents",o&&`position${ne(o)}`,a,n&&"hiddenLabel",i&&`size${ne(i)}`]};return ke(s,YV,t)},JV=Z("div",{name:"MuiInputAdornment",slot:"Root",overridesResolver:ZV})(({theme:e,ownerState:t})=>_({display:"flex",height:"0.01em",maxHeight:"2em",alignItems:"center",whiteSpace:"nowrap",color:(e.vars||e).palette.action.active},t.variant==="filled"&&{[`&.${DS.positionStart}&:not(.${DS.hiddenLabel})`]:{marginTop:16}},t.position==="start"&&{marginRight:8},t.position==="end"&&{marginLeft:8},t.disablePointerEvents===!0&&{pointerEvents:"none"})),zp=g.forwardRef(function(t,r){const n=Ie({props:t,name:"MuiInputAdornment"}),{children:o,className:i,component:a="div",disablePointerEvents:s=!1,disableTypography:l=!1,position:c,variant:u}=n,p=re(n,KV),f=Hi()||{};let m=u;u&&f.variant,f&&!m&&(m=f.variant);const v=_({},n,{hiddenLabel:f.hiddenLabel,size:f.size,disablePointerEvents:s,position:c,variant:m}),h=XV(v);return d.jsx(_h.Provider,{value:null,children:d.jsx(JV,_({as:a,ownerState:v,className:le(h.root,i),ref:r},p,{children:typeof o=="string"&&!l?d.jsx(Ce,{color:"text.secondary",children:o}):d.jsxs(g.Fragment,{children:[c==="start"?jS||(jS=d.jsx("span",{className:"notranslate",children:"​"})):null,o]})}))})});function eW(e){return _e("MuiInputLabel",e)}Te("MuiInputLabel",["root","focused","disabled","error","required","asterisk","formControl","sizeSmall","shrink","animated","standard","filled","outlined"]);const tW=["disableAnimation","margin","shrink","variant","className"],rW=e=>{const{classes:t,formControl:r,size:n,shrink:o,disableAnimation:i,variant:a,required:s}=e,l={root:["root",r&&"formControl",!i&&"animated",o&&"shrink",n&&n!=="normal"&&`size${ne(n)}`,a],asterisk:[s&&"asterisk"]},c=ke(l,eW,t);return _({},t,c)},nW=Z(UV,{shouldForwardProp:e=>Lr(e)||e==="classes",name:"MuiInputLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[{[`& .${lc.asterisk}`]:t.asterisk},t.root,r.formControl&&t.formControl,r.size==="small"&&t.sizeSmall,r.shrink&&t.shrink,!r.disableAnimation&&t.animated,r.focused&&t.focused,t[r.variant]]}})(({theme:e,ownerState:t})=>_({display:"block",transformOrigin:"top left",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",maxWidth:"100%"},t.formControl&&{position:"absolute",left:0,top:0,transform:"translate(0, 20px) scale(1)"},t.size==="small"&&{transform:"translate(0, 17px) scale(1)"},t.shrink&&{transform:"translate(0, -1.5px) scale(0.75)",transformOrigin:"top left",maxWidth:"133%"},!t.disableAnimation&&{transition:e.transitions.create(["color","transform","max-width"],{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut})},t.variant==="filled"&&_({zIndex:1,pointerEvents:"none",transform:"translate(12px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"},t.size==="small"&&{transform:"translate(12px, 13px) scale(1)"},t.shrink&&_({userSelect:"none",pointerEvents:"auto",transform:"translate(12px, 7px) scale(0.75)",maxWidth:"calc(133% - 24px)"},t.size==="small"&&{transform:"translate(12px, 4px) scale(0.75)"})),t.variant==="outlined"&&_({zIndex:1,pointerEvents:"none",transform:"translate(14px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"},t.size==="small"&&{transform:"translate(14px, 9px) scale(1)"},t.shrink&&{userSelect:"none",pointerEvents:"auto",maxWidth:"calc(133% - 32px)",transform:"translate(14px, -9px) scale(0.75)"}))),oW=g.forwardRef(function(t,r){const n=Ie({name:"MuiInputLabel",props:t}),{disableAnimation:o=!1,shrink:i,className:a}=n,s=re(n,tW),l=Hi();let c=i;typeof c>"u"&&l&&(c=l.filled||l.focused||l.adornedStart);const u=ll({props:n,muiFormControl:l,states:["size","variant","required","focused"]}),p=_({},n,{disableAnimation:o,formControl:l,shrink:c,size:u.size,variant:u.variant,required:u.required,focused:u.focused}),f=rW(p);return d.jsx(nW,_({"data-shrink":c,ownerState:p,ref:r,className:le(f.root,a)},s,{classes:f}))});function iW(e){return _e("MuiList",e)}Te("MuiList",["root","padding","dense","subheader"]);const aW=["children","className","component","dense","disablePadding","subheader"],sW=e=>{const{classes:t,disablePadding:r,dense:n,subheader:o}=e;return ke({root:["root",!r&&"padding",n&&"dense",o&&"subheader"]},iW,t)},lW=Z("ul",{name:"MuiList",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,!r.disablePadding&&t.padding,r.dense&&t.dense,r.subheader&&t.subheader]}})(({ownerState:e})=>_({listStyle:"none",margin:0,padding:0,position:"relative"},!e.disablePadding&&{paddingTop:8,paddingBottom:8},e.subheader&&{paddingTop:0})),Z1=g.forwardRef(function(t,r){const n=Ie({props:t,name:"MuiList"}),{children:o,className:i,component:a="ul",dense:s=!1,disablePadding:l=!1,subheader:c}=n,u=re(n,aW),p=g.useMemo(()=>({dense:s}),[s]),f=_({},n,{component:a,dense:s,disablePadding:l}),m=sW(f);return d.jsx(Yo.Provider,{value:p,children:d.jsxs(lW,_({as:a,className:le(m.root,i),ref:r,ownerState:f},u,{children:[c,o]}))})}),cW=["actions","autoFocus","autoFocusItem","children","className","disabledItemsFocusable","disableListWrap","onKeyDown","variant"];function cg(e,t,r){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:r?null:e.firstChild}function FS(e,t,r){return e===t?r?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:r?null:e.lastChild}function s3(e,t){if(t===void 0)return!0;let r=e.innerText;return r===void 0&&(r=e.textContent),r=r.trim().toLowerCase(),r.length===0?!1:t.repeating?r[0]===t.keys[0]:r.indexOf(t.keys.join(""))===0}function Ml(e,t,r,n,o,i){let a=!1,s=o(e,t,t?r:!1);for(;s;){if(s===e.firstChild){if(a)return!1;a=!0}const l=n?!1:s.disabled||s.getAttribute("aria-disabled")==="true";if(!s.hasAttribute("tabindex")||!s3(s,i)||l)s=o(e,s,r);else return s.focus(),!0}return!1}const X1=g.forwardRef(function(t,r){const{actions:n,autoFocus:o=!1,autoFocusItem:i=!1,children:a,className:s,disabledItemsFocusable:l=!1,disableListWrap:c=!1,onKeyDown:u,variant:p="selectedMenu"}=t,f=re(t,cW),m=g.useRef(null),v=g.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});un(()=>{o&&m.current.focus()},[o]),g.useImperativeHandle(n,()=>({adjustStyleForScrollbar:(w,{direction:S})=>{const T=!m.current.style.width;if(w.clientHeight<m.current.clientHeight&&T){const R=`${K_(yr(w))}px`;m.current.style[S==="rtl"?"paddingLeft":"paddingRight"]=R,m.current.style.width=`calc(100% + ${R})`}return m.current}}),[]);const h=w=>{const S=m.current,T=w.key,R=yr(S).activeElement;if(T==="ArrowDown")w.preventDefault(),Ml(S,R,c,l,cg);else if(T==="ArrowUp")w.preventDefault(),Ml(S,R,c,l,FS);else if(T==="Home")w.preventDefault(),Ml(S,null,c,l,cg);else if(T==="End")w.preventDefault(),Ml(S,null,c,l,FS);else if(T.length===1){const E=v.current,A=T.toLowerCase(),P=performance.now();E.keys.length>0&&(P-E.lastTime>500?(E.keys=[],E.repeating=!0,E.previousKeyMatched=!0):E.repeating&&A!==E.keys[0]&&(E.repeating=!1)),E.lastTime=P,E.keys.push(A);const M=R&&!E.repeating&&s3(R,E);E.previousKeyMatched&&(M||Ml(S,R,!1,l,cg,E))?w.preventDefault():E.previousKeyMatched=!1}u&&u(w)},x=_t(m,r);let y=-1;g.Children.forEach(a,(w,S)=>{if(!g.isValidElement(w)){y===S&&(y+=1,y>=a.length&&(y=-1));return}w.props.disabled||(p==="selectedMenu"&&w.props.selected||y===-1)&&(y=S),y===S&&(w.props.disabled||w.props.muiSkipListHighlight||w.type.muiSkipListHighlight)&&(y+=1,y>=a.length&&(y=-1))});const b=g.Children.map(a,(w,S)=>{if(S===y){const T={};return i&&(T.autoFocus=!0),w.props.tabIndex===void 0&&p==="selectedMenu"&&(T.tabIndex=0),g.cloneElement(w,T)}return w});return d.jsx(Z1,_({role:"menu",ref:x,className:s,onKeyDown:h,tabIndex:o?0:-1},f,{children:b}))});function uW(e){return _e("MuiPopover",e)}Te("MuiPopover",["root","paper"]);const dW=["onEntering"],pW=["action","anchorEl","anchorOrigin","anchorPosition","anchorReference","children","className","container","elevation","marginThreshold","open","PaperProps","slots","slotProps","transformOrigin","TransitionComponent","transitionDuration","TransitionProps","disableScrollLock"],fW=["slotProps"];function BS(e,t){let r=0;return typeof t=="number"?r=t:t==="center"?r=e.height/2:t==="bottom"&&(r=e.height),r}function HS(e,t){let r=0;return typeof t=="number"?r=t:t==="center"?r=e.width/2:t==="right"&&(r=e.width),r}function US(e){return[e.horizontal,e.vertical].map(t=>typeof t=="number"?`${t}px`:t).join(" ")}function ug(e){return typeof e=="function"?e():e}const hW=e=>{const{classes:t}=e;return ke({root:["root"],paper:["paper"]},uW,t)},mW=Z(Q1,{name:"MuiPopover",slot:"Root",overridesResolver:(e,t)=>t.root})({}),l3=Z(Ta,{name:"MuiPopover",slot:"Paper",overridesResolver:(e,t)=>t.paper})({position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}),gW=g.forwardRef(function(t,r){var n,o,i;const a=Ie({props:t,name:"MuiPopover"}),{action:s,anchorEl:l,anchorOrigin:c={vertical:"top",horizontal:"left"},anchorPosition:u,anchorReference:p="anchorEl",children:f,className:m,container:v,elevation:h=8,marginThreshold:x=16,open:y,PaperProps:b={},slots:w,slotProps:S,transformOrigin:T={vertical:"top",horizontal:"left"},TransitionComponent:R=qc,transitionDuration:E="auto",TransitionProps:{onEntering:A}={},disableScrollLock:P=!1}=a,M=re(a.TransitionProps,dW),O=re(a,pW),F=(n=S==null?void 0:S.paper)!=null?n:b,I=g.useRef(),D=_t(I,F.ref),$=_({},a,{anchorOrigin:c,anchorReference:p,elevation:h,marginThreshold:x,externalPaperSlotProps:F,transformOrigin:T,TransitionComponent:R,transitionDuration:E,TransitionProps:M}),j=hW($),H=g.useCallback(()=>{if(p==="anchorPosition")return u;const pe=ug(l),Me=(pe&&pe.nodeType===1?pe:yr(I.current).body).getBoundingClientRect();return{top:Me.top+BS(Me,c.vertical),left:Me.left+HS(Me,c.horizontal)}},[l,c.horizontal,c.vertical,u,p]),k=g.useCallback(pe=>({vertical:BS(pe,T.vertical),horizontal:HS(pe,T.horizontal)}),[T.horizontal,T.vertical]),L=g.useCallback(pe=>{const Ae={width:pe.offsetWidth,height:pe.offsetHeight},Me=k(Ae);if(p==="none")return{top:null,left:null,transformOrigin:US(Me)};const Oe=H();let Ke=Oe.top-Me.vertical,at=Oe.left-Me.horizontal;const gt=Ke+Ae.height,ot=at+Ae.width,Ge=_o(ug(l)),U=Ge.innerHeight-x,ee=Ge.innerWidth-x;if(x!==null&&Ke<x){const J=Ke-x;Ke-=J,Me.vertical+=J}else if(x!==null&&gt>U){const J=gt-U;Ke-=J,Me.vertical+=J}if(x!==null&&at<x){const J=at-x;at-=J,Me.horizontal+=J}else if(ot>ee){const J=ot-ee;at-=J,Me.horizontal+=J}return{top:`${Math.round(Ke)}px`,left:`${Math.round(at)}px`,transformOrigin:US(Me)}},[l,p,H,k,x]),[B,z]=g.useState(y),V=g.useCallback(()=>{const pe=I.current;if(!pe)return;const Ae=L(pe);Ae.top!==null&&(pe.style.top=Ae.top),Ae.left!==null&&(pe.style.left=Ae.left),pe.style.transformOrigin=Ae.transformOrigin,z(!0)},[L]);g.useEffect(()=>(P&&window.addEventListener("scroll",V),()=>window.removeEventListener("scroll",V)),[l,P,V]);const K=(pe,Ae)=>{A&&A(pe,Ae),V()},q=()=>{z(!1)};g.useEffect(()=>{y&&V()}),g.useImperativeHandle(s,()=>y?{updatePosition:()=>{V()}}:null,[y,V]),g.useEffect(()=>{if(!y)return;const pe=Zf(()=>{V()}),Ae=_o(l);return Ae.addEventListener("resize",pe),()=>{pe.clear(),Ae.removeEventListener("resize",pe)}},[l,y,V]);let te=E;E==="auto"&&!R.muiSupportAuto&&(te=void 0);const Y=v||(l?yr(ug(l)).body:void 0),se=(o=w==null?void 0:w.root)!=null?o:mW,oe=(i=w==null?void 0:w.paper)!=null?i:l3,ie=ma({elementType:oe,externalSlotProps:_({},F,{style:B?F.style:_({},F.style,{opacity:0})}),additionalProps:{elevation:h,ref:D},ownerState:$,className:le(j.paper,F==null?void 0:F.className)}),he=ma({elementType:se,externalSlotProps:(S==null?void 0:S.root)||{},externalForwardedProps:O,additionalProps:{ref:r,slotProps:{backdrop:{invisible:!0}},container:Y,open:y},ownerState:$,className:le(j.root,m)}),{slotProps:ae}=he,Re=re(he,fW);return d.jsx(se,_({},Re,!Hs(se)&&{slotProps:ae,disableScrollLock:P},{children:d.jsx(R,_({appear:!0,in:y,onEntering:K,onExited:q,timeout:te},M,{children:d.jsx(oe,_({},ie,{children:f}))}))}))});function vW(e){return _e("MuiMenu",e)}const yW=Te("MuiMenu",["root","paper","list"]),bW=["onEntering"],xW=["autoFocus","children","className","disableAutoFocusItem","MenuListProps","onClose","open","PaperProps","PopoverClasses","transitionDuration","TransitionProps","variant","slots","slotProps"],wW={vertical:"top",horizontal:"right"},SW={vertical:"top",horizontal:"left"},EW=e=>{const{classes:t}=e;return ke({root:["root"],paper:["paper"],list:["list"]},vW,t)},CW=Z(gW,{shouldForwardProp:e=>Lr(e)||e==="classes",name:"MuiMenu",slot:"Root",overridesResolver:(e,t)=>t.root})({}),TW=Z(l3,{name:"MuiMenu",slot:"Paper",overridesResolver:(e,t)=>t.paper})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),RW=Z(X1,{name:"MuiMenu",slot:"List",overridesResolver:(e,t)=>t.list})({outline:0}),cl=g.forwardRef(function(t,r){var n,o;const i=Ie({props:t,name:"MuiMenu"}),{autoFocus:a=!0,children:s,className:l,disableAutoFocusItem:c=!1,MenuListProps:u={},onClose:p,open:f,PaperProps:m={},PopoverClasses:v,transitionDuration:h="auto",TransitionProps:{onEntering:x}={},variant:y="selectedMenu",slots:b={},slotProps:w={}}=i,S=re(i.TransitionProps,bW),T=re(i,xW),R=Jf(),E=_({},i,{autoFocus:a,disableAutoFocusItem:c,MenuListProps:u,onEntering:x,PaperProps:m,transitionDuration:h,TransitionProps:S,variant:y}),A=EW(E),P=a&&!c&&f,M=g.useRef(null),O=(k,L)=>{M.current&&M.current.adjustStyleForScrollbar(k,{direction:R?"rtl":"ltr"}),x&&x(k,L)},F=k=>{k.key==="Tab"&&(k.preventDefault(),p&&p(k,"tabKeyDown"))};let I=-1;g.Children.map(s,(k,L)=>{g.isValidElement(k)&&(k.props.disabled||(y==="selectedMenu"&&k.props.selected||I===-1)&&(I=L))});const D=(n=b.paper)!=null?n:TW,$=(o=w.paper)!=null?o:m,j=ma({elementType:b.root,externalSlotProps:w.root,ownerState:E,className:[A.root,l]}),H=ma({elementType:D,externalSlotProps:$,ownerState:E,className:A.paper});return d.jsx(CW,_({onClose:p,anchorOrigin:{vertical:"bottom",horizontal:R?"right":"left"},transformOrigin:R?wW:SW,slots:{paper:D,root:b.root},slotProps:{root:j,paper:H},open:f,ref:r,transitionDuration:h,TransitionProps:_({onEntering:O},S),ownerState:E},T,{classes:v,children:d.jsx(RW,_({onKeyDown:F,actions:M,autoFocus:a&&(I===-1||c),autoFocusItem:P,variant:y},u,{className:le(A.list,u.className),children:s}))}))});function _W(e){return _e("MuiMenuItem",e)}const es=Te("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]),AW=["autoFocus","component","dense","divider","disableGutters","focusVisibleClassName","role","tabIndex","className"],kW=(e,t)=>{const{ownerState:r}=e;return[t.root,r.dense&&t.dense,r.divider&&t.divider,!r.disableGutters&&t.gutters]},IW=e=>{const{disabled:t,dense:r,divider:n,disableGutters:o,selected:i,classes:a}=e,l=ke({root:["root",r&&"dense",t&&"disabled",!o&&"gutters",n&&"divider",i&&"selected"]},_W,a);return _({},a,l)},MW=Z(Qr,{shouldForwardProp:e=>Lr(e)||e==="classes",name:"MuiMenuItem",slot:"Root",overridesResolver:kW})(({theme:e,ownerState:t})=>_({},e.typography.body1,{display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",whiteSpace:"nowrap"},!t.disableGutters&&{paddingLeft:16,paddingRight:16},t.divider&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"},{"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${es.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Ot(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${es.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Ot(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${es.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:Ot(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Ot(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${es.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${es.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`& + .${OS.root}`]:{marginTop:e.spacing(1),marginBottom:e.spacing(1)},[`& + .${OS.inset}`]:{marginLeft:52},[`& .${Fp.root}`]:{marginTop:0,marginBottom:0},[`& .${Fp.inset}`]:{paddingLeft:36},[`& .${mS.root}`]:{minWidth:36}},!t.dense&&{[e.breakpoints.up("sm")]:{minHeight:"auto"}},t.dense&&_({minHeight:32,paddingTop:4,paddingBottom:4},e.typography.body2,{[`& .${mS.root} svg`]:{fontSize:"1.25rem"}}))),Vt=g.forwardRef(function(t,r){const n=Ie({props:t,name:"MuiMenuItem"}),{autoFocus:o=!1,component:i="li",dense:a=!1,divider:s=!1,disableGutters:l=!1,focusVisibleClassName:c,role:u="menuitem",tabIndex:p,className:f}=n,m=re(n,AW),v=g.useContext(Yo),h=g.useMemo(()=>({dense:a||v.dense||!1,disableGutters:l}),[v.dense,a,l]),x=g.useRef(null);un(()=>{o&&x.current&&x.current.focus()},[o]);const y=_({},n,{dense:h.dense,divider:s,disableGutters:l}),b=IW(n),w=_t(x,r);let S;return n.disabled||(S=p!==void 0?p:-1),d.jsx(Yo.Provider,{value:h,children:d.jsx(MW,_({ref:w,role:u,tabIndex:S,component:i,focusVisibleClassName:le(b.focusVisible,c),className:le(b.root,f)},m,{ownerState:y,classes:b}))})});function PW(e){return _e("MuiNativeSelect",e)}const J1=Te("MuiNativeSelect",["root","select","multiple","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]),OW=["className","disabled","error","IconComponent","inputRef","variant"],LW=e=>{const{classes:t,variant:r,disabled:n,multiple:o,open:i,error:a}=e,s={select:["select",r,n&&"disabled",o&&"multiple",a&&"error"],icon:["icon",`icon${ne(r)}`,i&&"iconOpen",n&&"disabled"]};return ke(s,PW,t)},c3=({ownerState:e,theme:t})=>_({MozAppearance:"none",WebkitAppearance:"none",userSelect:"none",borderRadius:0,cursor:"pointer","&:focus":_({},t.vars?{backgroundColor:`rgba(${t.vars.palette.common.onBackgroundChannel} / 0.05)`}:{backgroundColor:t.palette.mode==="light"?"rgba(0, 0, 0, 0.05)":"rgba(255, 255, 255, 0.05)"},{borderRadius:0}),"&::-ms-expand":{display:"none"},[`&.${J1.disabled}`]:{cursor:"default"},"&[multiple]":{height:"auto"},"&:not([multiple]) option, &:not([multiple]) optgroup":{backgroundColor:(t.vars||t).palette.background.paper},"&&&":{paddingRight:24,minWidth:16}},e.variant==="filled"&&{"&&&":{paddingRight:32}},e.variant==="outlined"&&{borderRadius:(t.vars||t).shape.borderRadius,"&:focus":{borderRadius:(t.vars||t).shape.borderRadius},"&&&":{paddingRight:32}}),NW=Z("select",{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:Lr,overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.select,t[r.variant],r.error&&t.error,{[`&.${J1.multiple}`]:t.multiple}]}})(c3),u3=({ownerState:e,theme:t})=>_({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:(t.vars||t).palette.action.active,[`&.${J1.disabled}`]:{color:(t.vars||t).palette.action.disabled}},e.open&&{transform:"rotate(180deg)"},e.variant==="filled"&&{right:7},e.variant==="outlined"&&{right:7}),$W=Z("svg",{name:"MuiNativeSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.icon,r.variant&&t[`icon${ne(r.variant)}`],r.open&&t.iconOpen]}})(u3),DW=g.forwardRef(function(t,r){const{className:n,disabled:o,error:i,IconComponent:a,inputRef:s,variant:l="standard"}=t,c=re(t,OW),u=_({},t,{disabled:o,variant:l,error:i}),p=LW(u);return d.jsxs(g.Fragment,{children:[d.jsx(NW,_({ownerState:u,className:le(p.select,n),disabled:o,ref:s||r},c)),t.multiple?null:d.jsx($W,{as:a,ownerState:u,className:p.icon})]})});var zS;const jW=["children","classes","className","label","notched"],FW=Z("fieldset",{shouldForwardProp:Lr})({textAlign:"left",position:"absolute",bottom:0,right:0,top:-5,left:0,margin:0,padding:"0 8px",pointerEvents:"none",borderRadius:"inherit",borderStyle:"solid",borderWidth:1,overflow:"hidden",minWidth:"0%"}),BW=Z("legend",{shouldForwardProp:Lr})(({ownerState:e,theme:t})=>_({float:"unset",width:"auto",overflow:"hidden"},!e.withLabel&&{padding:0,lineHeight:"11px",transition:t.transitions.create("width",{duration:150,easing:t.transitions.easing.easeOut})},e.withLabel&&_({display:"block",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:t.transitions.create("max-width",{duration:50,easing:t.transitions.easing.easeOut}),whiteSpace:"nowrap","& > span":{paddingLeft:5,paddingRight:5,display:"inline-block",opacity:0,visibility:"visible"}},e.notched&&{maxWidth:"100%",transition:t.transitions.create("max-width",{duration:100,easing:t.transitions.easing.easeOut,delay:50})})));function HW(e){const{className:t,label:r,notched:n}=e,o=re(e,jW),i=r!=null&&r!=="",a=_({},e,{notched:n,withLabel:i});return d.jsx(FW,_({"aria-hidden":!0,className:t,ownerState:a},o,{children:d.jsx(BW,{ownerState:a,children:i?d.jsx("span",{children:r}):zS||(zS=d.jsx("span",{className:"notranslate",children:"​"}))})}))}const UW=["components","fullWidth","inputComponent","label","multiline","notched","slots","type"],zW=e=>{const{classes:t}=e,n=ke({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},zU,t);return _({},t,n)},VW=Z(Ih,{shouldForwardProp:e=>Lr(e)||e==="classes",name:"MuiOutlinedInput",slot:"Root",overridesResolver:Ah})(({theme:e,ownerState:t})=>{const r=e.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return _({position:"relative",borderRadius:(e.vars||e).shape.borderRadius,[`&:hover .${si.notchedOutline}`]:{borderColor:(e.vars||e).palette.text.primary},"@media (hover: none)":{[`&:hover .${si.notchedOutline}`]:{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:r}},[`&.${si.focused} .${si.notchedOutline}`]:{borderColor:(e.vars||e).palette[t.color].main,borderWidth:2},[`&.${si.error} .${si.notchedOutline}`]:{borderColor:(e.vars||e).palette.error.main},[`&.${si.disabled} .${si.notchedOutline}`]:{borderColor:(e.vars||e).palette.action.disabled}},t.startAdornment&&{paddingLeft:14},t.endAdornment&&{paddingRight:14},t.multiline&&_({padding:"16.5px 14px"},t.size==="small"&&{padding:"8.5px 14px"}))}),WW=Z(HW,{name:"MuiOutlinedInput",slot:"NotchedOutline",overridesResolver:(e,t)=>t.notchedOutline})(({theme:e})=>{const t=e.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:t}}),GW=Z(Mh,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:kh})(({theme:e,ownerState:t})=>_({padding:"16.5px 14px"},!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:e.palette.mode==="light"?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:e.palette.mode==="light"?null:"#fff",caretColor:e.palette.mode==="light"?null:"#fff",borderRadius:"inherit"}},e.vars&&{"&:-webkit-autofill":{borderRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},t.size==="small"&&{padding:"8.5px 14px"},t.multiline&&{padding:0},t.startAdornment&&{paddingLeft:0},t.endAdornment&&{paddingRight:0})),e2=g.forwardRef(function(t,r){var n,o,i,a,s;const l=Ie({props:t,name:"MuiOutlinedInput"}),{components:c={},fullWidth:u=!1,inputComponent:p="input",label:f,multiline:m=!1,notched:v,slots:h={},type:x="text"}=l,y=re(l,UW),b=zW(l),w=Hi(),S=ll({props:l,muiFormControl:w,states:["color","disabled","error","focused","hiddenLabel","size","required"]}),T=_({},l,{color:S.color||"primary",disabled:S.disabled,error:S.error,focused:S.focused,formControl:w,fullWidth:u,hiddenLabel:S.hiddenLabel,multiline:m,size:S.size,type:x}),R=(n=(o=h.root)!=null?o:c.Root)!=null?n:VW,E=(i=(a=h.input)!=null?a:c.Input)!=null?i:GW;return d.jsx(G1,_({slots:{root:R,input:E},renderSuffix:A=>d.jsx(WW,{ownerState:T,className:b.notchedOutline,label:f!=null&&f!==""&&S.required?s||(s=d.jsxs(g.Fragment,{children:[f," ","*"]})):f,notched:typeof v<"u"?v:!!(A.startAdornment||A.filled||A.focused)}),fullWidth:u,inputComponent:p,multiline:m,ref:r,type:x},y,{classes:_({},b,{notchedOutline:null})}))});e2.muiName="Input";function qW(e){return _e("MuiSelect",e)}const Pl=Te("MuiSelect",["root","select","multiple","filled","outlined","standard","disabled","focused","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]);var VS;const QW=["aria-describedby","aria-label","autoFocus","autoWidth","children","className","defaultOpen","defaultValue","disabled","displayEmpty","error","IconComponent","inputRef","labelId","MenuProps","multiple","name","onBlur","onChange","onClose","onFocus","onOpen","open","readOnly","renderValue","SelectDisplayProps","tabIndex","type","value","variant"],YW=Z("div",{name:"MuiSelect",slot:"Select",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[{[`&.${Pl.select}`]:t.select},{[`&.${Pl.select}`]:t[r.variant]},{[`&.${Pl.error}`]:t.error},{[`&.${Pl.multiple}`]:t.multiple}]}})(c3,{[`&.${Pl.select}`]:{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}}),KW=Z("svg",{name:"MuiSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.icon,r.variant&&t[`icon${ne(r.variant)}`],r.open&&t.iconOpen]}})(u3),ZW=Z("input",{shouldForwardProp:e=>hA(e)&&e!=="classes",name:"MuiSelect",slot:"NativeInput",overridesResolver:(e,t)=>t.nativeInput})({bottom:0,left:0,position:"absolute",opacity:0,pointerEvents:"none",width:"100%",boxSizing:"border-box"});function WS(e,t){return typeof t=="object"&&t!==null?e===t:String(e)===String(t)}function XW(e){return e==null||typeof e=="string"&&!e.trim()}const JW=e=>{const{classes:t,variant:r,disabled:n,multiple:o,open:i,error:a}=e,s={select:["select",r,n&&"disabled",o&&"multiple",a&&"error"],icon:["icon",`icon${ne(r)}`,i&&"iconOpen",n&&"disabled"],nativeInput:["nativeInput"]};return ke(s,qW,t)},eG=g.forwardRef(function(t,r){var n;const{"aria-describedby":o,"aria-label":i,autoFocus:a,autoWidth:s,children:l,className:c,defaultOpen:u,defaultValue:p,disabled:f,displayEmpty:m,error:v=!1,IconComponent:h,inputRef:x,labelId:y,MenuProps:b={},multiple:w,name:S,onBlur:T,onChange:R,onClose:E,onFocus:A,onOpen:P,open:M,readOnly:O,renderValue:F,SelectDisplayProps:I={},tabIndex:D,value:$,variant:j="standard"}=t,H=re(t,QW),[k,L]=Bs({controlled:$,default:p,name:"Select"}),[B,z]=Bs({controlled:M,default:u,name:"Select"}),V=g.useRef(null),K=g.useRef(null),[q,te]=g.useState(null),{current:Y}=g.useRef(M!=null),[se,oe]=g.useState(),ie=_t(r,x),he=g.useCallback(ye=>{K.current=ye,ye&&te(ye)},[]),ae=q==null?void 0:q.parentNode;g.useImperativeHandle(ie,()=>({focus:()=>{K.current.focus()},node:V.current,value:k}),[k]),g.useEffect(()=>{u&&B&&q&&!Y&&(oe(s?null:ae.clientWidth),K.current.focus())},[q,s]),g.useEffect(()=>{a&&K.current.focus()},[a]),g.useEffect(()=>{if(!y)return;const ye=yr(K.current).getElementById(y);if(ye){const qe=()=>{getSelection().isCollapsed&&K.current.focus()};return ye.addEventListener("click",qe),()=>{ye.removeEventListener("click",qe)}}},[y]);const Re=(ye,qe)=>{ye?P&&P(qe):E&&E(qe),Y||(oe(s?null:ae.clientWidth),z(ye))},pe=ye=>{ye.button===0&&(ye.preventDefault(),K.current.focus(),Re(!0,ye))},Ae=ye=>{Re(!1,ye)},Me=g.Children.toArray(l),Oe=ye=>{const qe=Me.find(vt=>vt.props.value===ye.target.value);qe!==void 0&&(L(qe.props.value),R&&R(ye,qe))},Ke=ye=>qe=>{let vt;if(qe.currentTarget.hasAttribute("tabindex")){if(w){vt=Array.isArray(k)?k.slice():[];const Hn=k.indexOf(ye.props.value);Hn===-1?vt.push(ye.props.value):vt.splice(Hn,1)}else vt=ye.props.value;if(ye.props.onClick&&ye.props.onClick(qe),k!==vt&&(L(vt),R)){const Hn=qe.nativeEvent||qe,Oa=new Hn.constructor(Hn.type,Hn);Object.defineProperty(Oa,"target",{writable:!0,value:{value:vt,name:S}}),R(Oa,ye)}w||Re(!1,qe)}},at=ye=>{O||[" ","ArrowUp","ArrowDown","Enter"].indexOf(ye.key)!==-1&&(ye.preventDefault(),Re(!0,ye))},gt=q!==null&&B,ot=ye=>{!gt&&T&&(Object.defineProperty(ye,"target",{writable:!0,value:{value:k,name:S}}),T(ye))};delete H["aria-invalid"];let Ge,U;const ee=[];let J=!1;(Hp({value:k})||m)&&(F?Ge=F(k):J=!0);const ce=Me.map(ye=>{if(!g.isValidElement(ye))return null;let qe;if(w){if(!Array.isArray(k))throw new Error(ei(2));qe=k.some(vt=>WS(vt,ye.props.value)),qe&&J&&ee.push(ye.props.children)}else qe=WS(k,ye.props.value),qe&&J&&(U=ye.props.children);return g.cloneElement(ye,{"aria-selected":qe?"true":"false",onClick:Ke(ye),onKeyUp:vt=>{vt.key===" "&&vt.preventDefault(),ye.props.onKeyUp&&ye.props.onKeyUp(vt)},role:"option",selected:qe,value:void 0,"data-value":ye.props.value})});J&&(w?ee.length===0?Ge=null:Ge=ee.reduce((ye,qe,vt)=>(ye.push(qe),vt<ee.length-1&&ye.push(", "),ye),[]):Ge=U);let ve=se;!s&&Y&&q&&(ve=ae.clientWidth);let Pe;typeof D<"u"?Pe=D:Pe=f?null:0;const we=I.id||(S?`mui-component-select-${S}`:void 0),fe=_({},t,{variant:j,value:k,open:gt,error:v}),St=JW(fe),Yr=_({},b.PaperProps,(n=b.slotProps)==null?void 0:n.paper),Kr=bu();return d.jsxs(g.Fragment,{children:[d.jsx(YW,_({ref:he,tabIndex:Pe,role:"combobox","aria-controls":Kr,"aria-disabled":f?"true":void 0,"aria-expanded":gt?"true":"false","aria-haspopup":"listbox","aria-label":i,"aria-labelledby":[y,we].filter(Boolean).join(" ")||void 0,"aria-describedby":o,onKeyDown:at,onMouseDown:f||O?null:pe,onBlur:ot,onFocus:A},I,{ownerState:fe,className:le(I.className,St.select,c),id:we,children:XW(Ge)?VS||(VS=d.jsx("span",{className:"notranslate",children:"​"})):Ge})),d.jsx(ZW,_({"aria-invalid":v,value:Array.isArray(k)?k.join(","):k,name:S,ref:V,"aria-hidden":!0,onChange:Oe,tabIndex:-1,disabled:f,className:St.nativeInput,autoFocus:a,ownerState:fe},H)),d.jsx(KW,{as:h,className:St.icon,ownerState:fe}),d.jsx(cl,_({id:`menu-${S||""}`,anchorEl:ae,open:gt,onClose:Ae,anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"}},b,{MenuListProps:_({"aria-labelledby":y,role:"listbox","aria-multiselectable":w?"true":void 0,disableListWrap:!0,id:Kr},b.MenuListProps),slotProps:_({},b.slotProps,{paper:_({},Yr,{style:_({minWidth:ve},Yr!=null?Yr.style:null)})}),children:ce}))]})}),tG=["autoWidth","children","classes","className","defaultOpen","displayEmpty","IconComponent","id","input","inputProps","label","labelId","MenuProps","multiple","native","onClose","onOpen","open","renderValue","SelectDisplayProps","variant"],rG=["root"],nG=e=>{const{classes:t}=e;return t},t2={name:"MuiSelect",overridesResolver:(e,t)=>t.root,shouldForwardProp:e=>Lr(e)&&e!=="variant",slot:"Root"},oG=Z(K1,t2)(""),iG=Z(e2,t2)(""),aG=Z(Y1,t2)(""),r2=g.forwardRef(function(t,r){const n=Ie({name:"MuiSelect",props:t}),{autoWidth:o=!1,children:i,classes:a={},className:s,defaultOpen:l=!1,displayEmpty:c=!1,IconComponent:u=WU,id:p,input:f,inputProps:m,label:v,labelId:h,MenuProps:x,multiple:y=!1,native:b=!1,onClose:w,onOpen:S,open:T,renderValue:R,SelectDisplayProps:E,variant:A="outlined"}=n,P=re(n,tG),M=b?DW:eG,O=Hi(),F=ll({props:n,muiFormControl:O,states:["variant","error"]}),I=F.variant||A,D=_({},n,{variant:I,classes:a}),$=nG(D),j=re($,rG),H=f||{standard:d.jsx(oG,{ownerState:D}),outlined:d.jsx(iG,{label:v,ownerState:D}),filled:d.jsx(aG,{ownerState:D})}[I],k=_t(r,H.ref);return d.jsx(g.Fragment,{children:g.cloneElement(H,_({inputComponent:M,inputProps:_({children:i,error:F.error,IconComponent:u,variant:I,type:void 0,multiple:y},b?{id:p}:{autoWidth:o,defaultOpen:l,displayEmpty:c,labelId:h,MenuProps:x,onClose:w,onOpen:S,open:T,renderValue:R,SelectDisplayProps:_({id:p},E)},m,{classes:m?Mr(j,m.classes):j},f?f.props.inputProps:{})},(y&&b||c)&&I==="outlined"?{notched:!0}:{},{ref:k,className:le(H.props.className,s,$.root)},!f&&{variant:I},P))})});r2.muiName="Select";function sG(e){return _e("MuiSkeleton",e)}Te("MuiSkeleton",["root","text","rectangular","rounded","circular","pulse","wave","withChildren","fitContent","heightAuto"]);const lG=["animation","className","component","height","style","variant","width"];let Vp=e=>e,GS,qS,QS,YS;const cG=e=>{const{classes:t,variant:r,animation:n,hasChildren:o,width:i,height:a}=e;return ke({root:["root",r,n,o&&"withChildren",o&&!i&&"fitContent",o&&!a&&"heightAuto"]},sG,t)},uG=io(GS||(GS=Vp`
  0% {
    opacity: 1;
  }

  50% {
    opacity: 0.4;
  }

  100% {
    opacity: 1;
  }
`)),dG=io(qS||(qS=Vp`
  0% {
    transform: translateX(-100%);
  }

  50% {
    /* +0.5s of delay between each loop */
    transform: translateX(100%);
  }

  100% {
    transform: translateX(100%);
  }
`)),pG=Z("span",{name:"MuiSkeleton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],r.animation!==!1&&t[r.animation],r.hasChildren&&t.withChildren,r.hasChildren&&!r.width&&t.fitContent,r.hasChildren&&!r.height&&t.heightAuto]}})(({theme:e,ownerState:t})=>{const r=d$(e.shape.borderRadius)||"px",n=p$(e.shape.borderRadius);return _({display:"block",backgroundColor:e.vars?e.vars.palette.Skeleton.bg:q6(e.palette.text.primary,e.palette.mode==="light"?.11:.13),height:"1.2em"},t.variant==="text"&&{marginTop:0,marginBottom:0,height:"auto",transformOrigin:"0 55%",transform:"scale(1, 0.60)",borderRadius:`${n}${r}/${Math.round(n/.6*10)/10}${r}`,"&:empty:before":{content:'"\\00a0"'}},t.variant==="circular"&&{borderRadius:"50%"},t.variant==="rounded"&&{borderRadius:(e.vars||e).shape.borderRadius},t.hasChildren&&{"& > *":{visibility:"hidden"}},t.hasChildren&&!t.width&&{maxWidth:"fit-content"},t.hasChildren&&!t.height&&{height:"auto"})},({ownerState:e})=>e.animation==="pulse"&&ti(QS||(QS=Vp`
      animation: ${0} 2s ease-in-out 0.5s infinite;
    `),uG),({ownerState:e,theme:t})=>e.animation==="wave"&&ti(YS||(YS=Vp`
      position: relative;
      overflow: hidden;

      /* Fix bug in Safari https://bugs.webkit.org/show_bug.cgi?id=68196 */
      -webkit-mask-image: -webkit-radial-gradient(white, black);

      &::after {
        animation: ${0} 2s linear 0.5s infinite;
        background: linear-gradient(
          90deg,
          transparent,
          ${0},
          transparent
        );
        content: '';
        position: absolute;
        transform: translateX(-100%); /* Avoid flash during server-side hydration */
        bottom: 0;
        left: 0;
        right: 0;
        top: 0;
      }
    `),dG,(t.vars||t).palette.action.hover)),ks=g.forwardRef(function(t,r){const n=Ie({props:t,name:"MuiSkeleton"}),{animation:o="pulse",className:i,component:a="span",height:s,style:l,variant:c="text",width:u}=n,p=re(n,lG),f=_({},n,{animation:o,component:a,variant:c,hasChildren:!!p.children}),m=cG(f);return d.jsx(pG,_({as:a,ref:r,className:le(m.root,i),ownerState:f},p,{style:_({width:u,height:s},l)}))});function fG(e){return _e("MuiTooltip",e)}const bi=Te("MuiTooltip",["popper","popperInteractive","popperArrow","popperClose","tooltip","tooltipArrow","touch","tooltipPlacementLeft","tooltipPlacementRight","tooltipPlacementTop","tooltipPlacementBottom","arrow"]),hG=["arrow","children","classes","components","componentsProps","describeChild","disableFocusListener","disableHoverListener","disableInteractive","disableTouchListener","enterDelay","enterNextDelay","enterTouchDelay","followCursor","id","leaveDelay","leaveTouchDelay","onClose","onOpen","open","placement","PopperComponent","PopperProps","slotProps","slots","title","TransitionComponent","TransitionProps"];function mG(e){return Math.round(e*1e5)/1e5}const gG=e=>{const{classes:t,disableInteractive:r,arrow:n,touch:o,placement:i}=e,a={popper:["popper",!r&&"popperInteractive",n&&"popperArrow"],tooltip:["tooltip",n&&"tooltipArrow",o&&"touch",`tooltipPlacement${ne(i.split("-")[0])}`],arrow:["arrow"]};return ke(a,fG,t)},vG=Z(t3,{name:"MuiTooltip",slot:"Popper",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.popper,!r.disableInteractive&&t.popperInteractive,r.arrow&&t.popperArrow,!r.open&&t.popperClose]}})(({theme:e,ownerState:t,open:r})=>_({zIndex:(e.vars||e).zIndex.tooltip,pointerEvents:"none"},!t.disableInteractive&&{pointerEvents:"auto"},!r&&{pointerEvents:"none"},t.arrow&&{[`&[data-popper-placement*="bottom"] .${bi.arrow}`]:{top:0,marginTop:"-0.71em","&::before":{transformOrigin:"0 100%"}},[`&[data-popper-placement*="top"] .${bi.arrow}`]:{bottom:0,marginBottom:"-0.71em","&::before":{transformOrigin:"100% 0"}},[`&[data-popper-placement*="right"] .${bi.arrow}`]:_({},t.isRtl?{right:0,marginRight:"-0.71em"}:{left:0,marginLeft:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"100% 100%"}}),[`&[data-popper-placement*="left"] .${bi.arrow}`]:_({},t.isRtl?{left:0,marginLeft:"-0.71em"}:{right:0,marginRight:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"0 0"}})})),yG=Z("div",{name:"MuiTooltip",slot:"Tooltip",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.tooltip,r.touch&&t.touch,r.arrow&&t.tooltipArrow,t[`tooltipPlacement${ne(r.placement.split("-")[0])}`]]}})(({theme:e,ownerState:t})=>_({backgroundColor:e.vars?e.vars.palette.Tooltip.bg:Ot(e.palette.grey[700],.92),borderRadius:(e.vars||e).shape.borderRadius,color:(e.vars||e).palette.common.white,fontFamily:e.typography.fontFamily,padding:"4px 8px",fontSize:e.typography.pxToRem(11),maxWidth:300,margin:2,wordWrap:"break-word",fontWeight:e.typography.fontWeightMedium},t.arrow&&{position:"relative",margin:0},t.touch&&{padding:"8px 16px",fontSize:e.typography.pxToRem(14),lineHeight:`${mG(16/14)}em`,fontWeight:e.typography.fontWeightRegular},{[`.${bi.popper}[data-popper-placement*="left"] &`]:_({transformOrigin:"right center"},t.isRtl?_({marginLeft:"14px"},t.touch&&{marginLeft:"24px"}):_({marginRight:"14px"},t.touch&&{marginRight:"24px"})),[`.${bi.popper}[data-popper-placement*="right"] &`]:_({transformOrigin:"left center"},t.isRtl?_({marginRight:"14px"},t.touch&&{marginRight:"24px"}):_({marginLeft:"14px"},t.touch&&{marginLeft:"24px"})),[`.${bi.popper}[data-popper-placement*="top"] &`]:_({transformOrigin:"center bottom",marginBottom:"14px"},t.touch&&{marginBottom:"24px"}),[`.${bi.popper}[data-popper-placement*="bottom"] &`]:_({transformOrigin:"center top",marginTop:"14px"},t.touch&&{marginTop:"24px"})})),bG=Z("span",{name:"MuiTooltip",slot:"Arrow",overridesResolver:(e,t)=>t.arrow})(({theme:e})=>({overflow:"hidden",position:"absolute",width:"1em",height:"0.71em",boxSizing:"border-box",color:e.vars?e.vars.palette.Tooltip.bg:Ot(e.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}}));let hd=!1;const KS=new xu;let Ol={x:0,y:0};function md(e,t){return(r,...n)=>{t&&t(r,...n),e(r,...n)}}const d3=g.forwardRef(function(t,r){var n,o,i,a,s,l,c,u,p,f,m,v,h,x,y,b,w,S,T;const R=Ie({props:t,name:"MuiTooltip"}),{arrow:E=!1,children:A,components:P={},componentsProps:M={},describeChild:O=!1,disableFocusListener:F=!1,disableHoverListener:I=!1,disableInteractive:D=!1,disableTouchListener:$=!1,enterDelay:j=100,enterNextDelay:H=0,enterTouchDelay:k=700,followCursor:L=!1,id:B,leaveDelay:z=0,leaveTouchDelay:V=1500,onClose:K,onOpen:q,open:te,placement:Y="bottom",PopperComponent:se,PopperProps:oe={},slotProps:ie={},slots:he={},title:ae,TransitionComponent:Re=qc,TransitionProps:pe}=R,Ae=re(R,hG),Me=g.isValidElement(A)?A:d.jsx("span",{children:A}),Oe=Lo(),Ke=Jf(),[at,gt]=g.useState(),[ot,Ge]=g.useState(null),U=g.useRef(!1),ee=D||L,J=ta(),ce=ta(),ve=ta(),Pe=ta(),[we,fe]=Bs({controlled:te,default:!1,name:"Tooltip",state:"open"});let St=we;const Yr=bu(B),Kr=g.useRef(),ye=qo(()=>{Kr.current!==void 0&&(document.body.style.WebkitUserSelect=Kr.current,Kr.current=void 0),Pe.clear()});g.useEffect(()=>ye,[ye]);const qe=$e=>{KS.clear(),hd=!0,fe(!0),q&&!St&&q($e)},vt=qo($e=>{KS.start(800+z,()=>{hd=!1}),fe(!1),K&&St&&K($e),J.start(Oe.transitions.duration.shortest,()=>{U.current=!1})}),Hn=$e=>{U.current&&$e.type!=="touchstart"||(at&&at.removeAttribute("title"),ce.clear(),ve.clear(),j||hd&&H?ce.start(hd?H:j,()=>{qe($e)}):qe($e))},Oa=$e=>{ce.clear(),ve.start(z,()=>{vt($e)})},{isFocusVisibleRef:H2,onBlur:KM,onFocus:ZM,ref:XM}=Xy(),[,U2]=g.useState(!1),z2=$e=>{KM($e),H2.current===!1&&(U2(!1),Oa($e))},V2=$e=>{at||gt($e.currentTarget),ZM($e),H2.current===!0&&(U2(!0),Hn($e))},W2=$e=>{U.current=!0;const Zr=Me.props;Zr.onTouchStart&&Zr.onTouchStart($e)},JM=$e=>{W2($e),ve.clear(),J.clear(),ye(),Kr.current=document.body.style.WebkitUserSelect,document.body.style.WebkitUserSelect="none",Pe.start(k,()=>{document.body.style.WebkitUserSelect=Kr.current,Hn($e)})},eP=$e=>{Me.props.onTouchEnd&&Me.props.onTouchEnd($e),ye(),ve.start(V,()=>{vt($e)})};g.useEffect(()=>{if(!St)return;function $e(Zr){(Zr.key==="Escape"||Zr.key==="Esc")&&vt(Zr)}return document.addEventListener("keydown",$e),()=>{document.removeEventListener("keydown",$e)}},[vt,St]);const tP=_t(Me.ref,XM,gt,r);!ae&&ae!==0&&(St=!1);const Gh=g.useRef(),rP=$e=>{const Zr=Me.props;Zr.onMouseMove&&Zr.onMouseMove($e),Ol={x:$e.clientX,y:$e.clientY},Gh.current&&Gh.current.update()},fl={},qh=typeof ae=="string";O?(fl.title=!St&&qh&&!I?ae:null,fl["aria-describedby"]=St?Yr:null):(fl["aria-label"]=qh?ae:null,fl["aria-labelledby"]=St&&!qh?Yr:null);const Un=_({},fl,Ae,Me.props,{className:le(Ae.className,Me.props.className),onTouchStart:W2,ref:tP},L?{onMouseMove:rP}:{}),hl={};$||(Un.onTouchStart=JM,Un.onTouchEnd=eP),I||(Un.onMouseOver=md(Hn,Un.onMouseOver),Un.onMouseLeave=md(Oa,Un.onMouseLeave),ee||(hl.onMouseOver=Hn,hl.onMouseLeave=Oa)),F||(Un.onFocus=md(V2,Un.onFocus),Un.onBlur=md(z2,Un.onBlur),ee||(hl.onFocus=V2,hl.onBlur=z2));const nP=g.useMemo(()=>{var $e;let Zr=[{name:"arrow",enabled:!!ot,options:{element:ot,padding:4}}];return($e=oe.popperOptions)!=null&&$e.modifiers&&(Zr=Zr.concat(oe.popperOptions.modifiers)),_({},oe.popperOptions,{modifiers:Zr})},[ot,oe]),ml=_({},R,{isRtl:Ke,arrow:E,disableInteractive:ee,placement:Y,PopperComponentProp:se,touch:U.current}),Qh=gG(ml),G2=(n=(o=he.popper)!=null?o:P.Popper)!=null?n:vG,q2=(i=(a=(s=he.transition)!=null?s:P.Transition)!=null?a:Re)!=null?i:qc,Q2=(l=(c=he.tooltip)!=null?c:P.Tooltip)!=null?l:yG,Y2=(u=(p=he.arrow)!=null?p:P.Arrow)!=null?u:bG,oP=fs(G2,_({},oe,(f=ie.popper)!=null?f:M.popper,{className:le(Qh.popper,oe==null?void 0:oe.className,(m=(v=ie.popper)!=null?v:M.popper)==null?void 0:m.className)}),ml),iP=fs(q2,_({},pe,(h=ie.transition)!=null?h:M.transition),ml),aP=fs(Q2,_({},(x=ie.tooltip)!=null?x:M.tooltip,{className:le(Qh.tooltip,(y=(b=ie.tooltip)!=null?b:M.tooltip)==null?void 0:y.className)}),ml),sP=fs(Y2,_({},(w=ie.arrow)!=null?w:M.arrow,{className:le(Qh.arrow,(S=(T=ie.arrow)!=null?T:M.arrow)==null?void 0:S.className)}),ml);return d.jsxs(g.Fragment,{children:[g.cloneElement(Me,Un),d.jsx(G2,_({as:se??t3,placement:Y,anchorEl:L?{getBoundingClientRect:()=>({top:Ol.y,left:Ol.x,right:Ol.x,bottom:Ol.y,width:0,height:0})}:at,popperRef:Gh,open:at?St:!1,id:Yr,transition:!0},hl,oP,{popperOptions:nP,children:({TransitionProps:$e})=>d.jsx(q2,_({timeout:Oe.transitions.duration.shorter},$e,iP,{children:d.jsxs(Q2,_({},aP,{children:[ae,E?d.jsx(Y2,_({},sP,{ref:Ge})):null]}))}))}))]})});function xG(e){return _e("MuiSwitch",e)}const Er=Te("MuiSwitch",["root","edgeStart","edgeEnd","switchBase","colorPrimary","colorSecondary","sizeSmall","sizeMedium","checked","disabled","input","thumb","track"]),wG=["className","color","edge","size","sx"],SG=e=>{const{classes:t,edge:r,size:n,color:o,checked:i,disabled:a}=e,s={root:["root",r&&`edge${ne(r)}`,`size${ne(n)}`],switchBase:["switchBase",`color${ne(o)}`,i&&"checked",a&&"disabled"],thumb:["thumb"],track:["track"],input:["input"]},l=ke(s,xG,t);return _({},t,l)},EG=Z("span",{name:"MuiSwitch",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.edge&&t[`edge${ne(r.edge)}`],t[`size${ne(r.size)}`]]}})({display:"inline-flex",width:34+12*2,height:14+12*2,overflow:"hidden",padding:12,boxSizing:"border-box",position:"relative",flexShrink:0,zIndex:0,verticalAlign:"middle","@media print":{colorAdjust:"exact"},variants:[{props:{edge:"start"},style:{marginLeft:-8}},{props:{edge:"end"},style:{marginRight:-8}},{props:{size:"small"},style:{width:40,height:24,padding:7,[`& .${Er.thumb}`]:{width:16,height:16},[`& .${Er.switchBase}`]:{padding:4,[`&.${Er.checked}`]:{transform:"translateX(16px)"}}}}]}),CG=Z(n3,{name:"MuiSwitch",slot:"SwitchBase",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.switchBase,{[`& .${Er.input}`]:t.input},r.color!=="default"&&t[`color${ne(r.color)}`]]}})(({theme:e})=>({position:"absolute",top:0,left:0,zIndex:1,color:e.vars?e.vars.palette.Switch.defaultColor:`${e.palette.mode==="light"?e.palette.common.white:e.palette.grey[300]}`,transition:e.transitions.create(["left","transform"],{duration:e.transitions.duration.shortest}),[`&.${Er.checked}`]:{transform:"translateX(20px)"},[`&.${Er.disabled}`]:{color:e.vars?e.vars.palette.Switch.defaultDisabledColor:`${e.palette.mode==="light"?e.palette.grey[100]:e.palette.grey[600]}`},[`&.${Er.checked} + .${Er.track}`]:{opacity:.5},[`&.${Er.disabled} + .${Er.track}`]:{opacity:e.vars?e.vars.opacity.switchTrackDisabled:`${e.palette.mode==="light"?.12:.2}`},[`& .${Er.input}`]:{left:"-100%",width:"300%"}}),({theme:e})=>({"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:Ot(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},variants:[...Object.entries(e.palette).filter(([,t])=>t.main&&t.light).map(([t])=>({props:{color:t},style:{[`&.${Er.checked}`]:{color:(e.vars||e).palette[t].main,"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette[t].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Ot(e.palette[t].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${Er.disabled}`]:{color:e.vars?e.vars.palette.Switch[`${t}DisabledColor`]:`${e.palette.mode==="light"?Dc(e.palette[t].main,.62):$c(e.palette[t].main,.55)}`}},[`&.${Er.checked} + .${Er.track}`]:{backgroundColor:(e.vars||e).palette[t].main}}}))]})),TG=Z("span",{name:"MuiSwitch",slot:"Track",overridesResolver:(e,t)=>t.track})(({theme:e})=>({height:"100%",width:"100%",borderRadius:14/2,zIndex:-1,transition:e.transitions.create(["opacity","background-color"],{duration:e.transitions.duration.shortest}),backgroundColor:e.vars?e.vars.palette.common.onBackground:`${e.palette.mode==="light"?e.palette.common.black:e.palette.common.white}`,opacity:e.vars?e.vars.opacity.switchTrack:`${e.palette.mode==="light"?.38:.3}`})),RG=Z("span",{name:"MuiSwitch",slot:"Thumb",overridesResolver:(e,t)=>t.thumb})(({theme:e})=>({boxShadow:(e.vars||e).shadows[1],backgroundColor:"currentColor",width:20,height:20,borderRadius:"50%"})),_G=g.forwardRef(function(t,r){const n=Ie({props:t,name:"MuiSwitch"}),{className:o,color:i="primary",edge:a=!1,size:s="medium",sx:l}=n,c=re(n,wG),u=_({},n,{color:i,edge:a,size:s}),p=SG(u),f=d.jsx(RG,{className:p.thumb,ownerState:u});return d.jsxs(EG,{className:le(p.root,o),sx:l,ownerState:u,children:[d.jsx(CG,_({type:"checkbox",icon:f,checkedIcon:f,ref:r,ownerState:u},c,{classes:_({},p,{root:p.switchBase})})),d.jsx(TG,{className:p.track,ownerState:u})]})});function AG(e){return _e("MuiTextField",e)}Te("MuiTextField",["root"]);const kG=["autoComplete","autoFocus","children","className","color","defaultValue","disabled","error","FormHelperTextProps","fullWidth","helperText","id","InputLabelProps","inputProps","InputProps","inputRef","label","maxRows","minRows","multiline","name","onBlur","onChange","onFocus","placeholder","required","rows","select","SelectProps","type","value","variant"],IG={standard:K1,filled:Y1,outlined:e2},MG=e=>{const{classes:t}=e;return ke({root:["root"]},AG,t)},PG=Z(MV,{name:"MuiTextField",slot:"Root",overridesResolver:(e,t)=>t.root})({}),p3=g.forwardRef(function(t,r){const n=Ie({props:t,name:"MuiTextField"}),{autoComplete:o,autoFocus:i=!1,children:a,className:s,color:l="primary",defaultValue:c,disabled:u=!1,error:p=!1,FormHelperTextProps:f,fullWidth:m=!1,helperText:v,id:h,InputLabelProps:x,inputProps:y,InputProps:b,inputRef:w,label:S,maxRows:T,minRows:R,multiline:E=!1,name:A,onBlur:P,onChange:M,onFocus:O,placeholder:F,required:I=!1,rows:D,select:$=!1,SelectProps:j,type:H,value:k,variant:L="outlined"}=n,B=re(n,kG),z=_({},n,{autoFocus:i,color:l,disabled:u,error:p,fullWidth:m,multiline:E,required:I,select:$,variant:L}),V=MG(z),K={};L==="outlined"&&(x&&typeof x.shrink<"u"&&(K.notched=x.shrink),K.label=S),$&&((!j||!j.native)&&(K.id=void 0),K["aria-describedby"]=void 0);const q=bu(h),te=v&&q?`${q}-helper-text`:void 0,Y=S&&q?`${q}-label`:void 0,se=IG[L],oe=d.jsx(se,_({"aria-describedby":te,autoComplete:o,autoFocus:i,defaultValue:c,fullWidth:m,multiline:E,name:A,rows:D,maxRows:T,minRows:R,type:H,value:k,id:q,inputRef:w,onBlur:P,onChange:M,onFocus:O,placeholder:F,inputProps:y},K,b));return d.jsxs(PG,_({className:le(V.root,s),disabled:u,error:p,fullWidth:m,ref:r,required:I,color:l,variant:L,ownerState:z},B,{children:[S!=null&&S!==""&&d.jsx(oW,_({htmlFor:q,id:Y},x,{children:S})),$?d.jsx(r2,_({"aria-describedby":te,id:q,labelId:Y,value:k,input:oe},j,{children:a})):oe,v&&d.jsx($V,_({id:te},f,{children:v}))]}))}),OG=({xsUp:e,xsDown:t,xsOnly:r,smUp:n,smDown:o,smOnly:i,mdUp:a,mdDown:s,mdOnly:l,lgUp:c,lgDown:u,lgOnly:p,xlUp:f,xlDown:m,xlOnly:v,children:h})=>{const x=Lo(),y=e&&tr(x.breakpoints.up("xs")),b=t&&tr(x.breakpoints.down("xs")),w=r&&tr(x.breakpoints.only("xs")),S=n&&tr(x.breakpoints.up("sm")),T=o&&tr(x.breakpoints.down("sm")),R=i&&tr(x.breakpoints.only("sm")),E=a&&tr(x.breakpoints.up("md")),A=s&&tr(x.breakpoints.down("md")),P=l&&tr(x.breakpoints.only("md")),M=c&&tr(x.breakpoints.up("lg")),O=u&&tr(x.breakpoints.down("lg")),F=p&&tr(x.breakpoints.only("lg")),I=f&&tr(x.breakpoints.up("xl")),D=m&&tr(x.breakpoints.down("xl")),$=v&&tr(x.breakpoints.only("xl"));return e&&y||t&&b||r&&w||n&&S||o&&T||i&&R||a&&E||s&&A||l&&P||c&&M||u&&O||p&&F||f&&I||m&&D||v&&$?null:d.jsx(d.Fragment,{children:h})};var n2={},dg={};const LG=Nn(mB);var ZS;function NG(){return ZS||(ZS=1,function(e){"use client";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.createSvgIcon}});var t=LG}(dg)),dg}var $G=Jy;Object.defineProperty(n2,"__esModule",{value:!0});var f3=n2.default=void 0,DG=$G(NG()),jG=d;f3=n2.default=(0,DG.default)((0,jG.jsx)("path",{d:"M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20z"}),"ArrowBackOutlined");const h3=Ee(({maxWidth:e,marginMobile:t,as:r,...n})=>d.jsx(G,{component:r,...n}))(({theme:e,maxWidth:t,marginMobile:r})=>({width:"calc(100% - 60px)",maxWidth:t||820,marginLeft:"auto",marginRight:"auto",display:"flex",flexDirection:"column",alignItems:"center",[e.breakpoints.down("sm")]:{width:`calc(100% - ${r||40}px)`}}),{name:"Center"}),FG=20,BG=30,HG=36,Ga={Container:Ee("div")(({theme:e})=>({backgroundColor:"#F7F7F7",minHeight:"100vh",display:"flex",[e.breakpoints.down("md")]:{flexDirection:"column"}}),"AdminPage-Container"),Main:Ee("main")({flexGrow:1,paddingBottom:20,"&.is-builder":{paddingBottom:0}},"AdminPage-Main"),SidebarContainer:Ee("div")(({theme:e})=>({width:300,[e.breakpoints.down(1600)]:{width:206}}),"AdminPage-SidebarContainer"),SidebarLoading:Ee(Mn("div",["collapse"]))(({theme:e,collapse:t})=>({display:"flex",flexDirection:"column",width:t?64:300,height:"100vh",borderRight:"1px solid #E3E3E3",boxShadow:"0px 2px 8px #E6E6E6",backgroundColor:C.white,[e.breakpoints.down(1600)]:{width:t?64:206},[e.breakpoints.down("md")]:{display:"none"}}),"AdminPage-SidebarLoading"),LogoWrapper:Ee("div")({display:"flex",alignItems:"center",position:"relative",padding:"22px 22px 57px",lineHeight:1,fontSize:0,"& > a":{display:"inline-block",height:21}},"AdminPage-LogoWrapper"),Logo:Ee(Mn("img",["collapse"]))(({collapse:e})=>({transition:be.transition(),opacity:e?0:1}),"AdminPage-Logo"),BottomWrapper:Ee("div")({marginTop:"auto",borderTop:"1px solid #EAEAEA",height:60},"AdinPage-BottomWrapper")},Wse=Ee(h3)(({theme:e})=>({"&&":{display:"block",position:"relative",width:"100%",maxWidth:"none",padding:`0 ${HG}px`,[e.breakpoints.down("xl")]:{padding:`0 ${BG}px`},[e.breakpoints.down("lg")]:{padding:`0 ${FG}px`}}}),"AdminPage-Center"),Gse={Container:Ee("div")(({theme:e})=>({width:"100%",maxWidth:"calc(100vw - var(--sidebar-width) - var(--scrollbar-width))",background:"#F7F7F7",marginBottom:20,[e.breakpoints.down("md")]:{maxWidth:"none"},[e.breakpoints.down("lg")]:{marginBottom:16}}),"Top-Container"),First:Ee(Mn("div",["hasChildren"]))(({theme:e,hasChildren:t})=>({display:"flex",alignItems:"center",justifyContent:"space-between",paddingBottom:!t&&36,minHeight:56,[e.breakpoints.down("xl")]:{paddingBottom:!t&&36,minHeight:56},[e.breakpoints.down("lg")]:{paddingBottom:!t&&29,paddingTop:22,minHeight:40}}),"Top-First"),TitleWrapper:Ee("div")({display:"flex",alignItems:"center",gap:16},"Top-TitleWrapper"),Title:Ee("h1")(({theme:e})=>({fontSize:32,fontWeight:700,lineHeight:"34px",[e.breakpoints.down("xl")]:{fontSize:24},[e.breakpoints.down("lg")]:{fontSize:20}}),"Top-Title"),GoBackButton:Ee("button")({fontSize:13,fontWeight:700,color:C.primary.blue,marginLeft:-2,marginBottom:5,display:"flex",alignItems:"center",transition:be.transition(),"&:hover":{color:C.primary.darkBlue}},"Top-GoBackLink"),GoBackIcon:Ze({root:{fontSize:16,marginRight:3}},"Top-GoBackIcon")(f3)},pg={Container:Ee("header")({background:C.white,boxShadow:`0 4px 6px 0 ${C.gray.normal}`,zIndex:1},"HeaderMobile-Container"),Center:Ee(h3)({"&&":{height:48,display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"space-between",color:C.white,width:"100%"}},"HeaderMobile-Center"),LogoLink:Ee(Gt)({display:"flex",padding:"5px 20px"},"HeaderMobile-LogoLink"),MenuButton:Ze({root:{borderLeft:`1px solid ${C.gray.normal}`,borderRadius:0,"&.settings:hover svg":{transform:"rotate(90deg)"}}},"HeaderMobile-MenuButton")(no)};function UG(){const e=de(),t=e.formatMessage({id:"altLogo"}),r=e.formatMessage({id:"titleLogo"});return d.jsx(OG,{mdUp:!0,children:d.jsx(pg.Container,{children:d.jsx(pg.Center,{children:d.jsx(pg.LogoLink,{to:Q.dashboard,title:r,children:d.jsx("img",{src:uj,width:"80",height:"auto",alt:t,title:t})})})})})}const zG=g.memo(UG),VG=Ee("li")({width:"100%",marginTop:4,"&:first-child":{marginTop:0}},"ListItemWrapper");function WG({to:e=null,...t}){const{pathname:r}=Nr(),n=g.useMemo(()=>g.forwardRef((o,i)=>d.jsx(Gt,{ref:i,to:e,...o})),[e]);return d.jsx(VG,{children:d.jsx($I,{button:!0,component:n,isLink:!0,active:r.startsWith(e),...t})})}const GG=Ze({arrow:{color:C.black},tooltip:{display:"inline-flex",backgroundColor:C.black,borderRadius:4,padding:"2px 8px",gap:8,fontSize:13,fontWeight:400,lineHeight:"20px",color:C.white,whiteSpace:"pre-line",margin:4,width:"fit-content",maxWidth:"unset"}},"Tooltip")(d3),qG=Ze({arrow:{color:C.black},tooltip:{backgroundColor:C.gray.light,borderRadius:4,padding:16,fontSize:13,fontWeight:600,lineHeight:"16px",color:C.white,margin:8,whiteSpace:"normal"}},"Tooltip")(d3),fg={Container:Ee("div")({display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"flex-start",backgroundColor:C.gray.light,boxShadow:"0px 2px 4px 1px rgba(0, 0, 0, 0.20)",padding:16,gap:"7px",borderRadius:"4px",maxWidth:281},"Tooltip-Container"),Title:Ee("div")({color:C.black,fontSize:13,fontWeight:700,lineHeight:"20px"},"Tooltip-Title"),Content:Ee("div")({color:C.gray.dark,fontSize:13,fontWeight:400,lineHeight:"normal"},"Tooltip-Content")};function Iu({large:e=!1,placement:t="top",...r}){return e?d.jsx(qG,{placement:t,...r,arrow:!1,enterTouchDelay:100,title:d.jsxs(fg.Container,{children:[d.jsx(fg.Title,{children:r.title||""}),d.jsx(fg.Content,{children:r.content||""})]})}):d.jsx(GG,{placement:t,...r,arrow:!1,enterTouchDelay:100})}const qse={Container:Ee("div")(({theme:e})=>({width:64,flexShrink:0,transition:e.transitions.create("width",{easing:e.transitions.easing.sharp,duration:e.transitions.duration.leavingScreen}),"&.open":{width:300,transition:e.transitions.create("width",{easing:e.transitions.easing.sharp,duration:e.transitions.duration.enteringScreen}),[e.breakpoints.down(1600)]:{width:206}}}),"SidebarDesktop-Container")},Qse={AccountName:Ee("div")({fontSize:14,fontWeight:500,paddingLeft:2,color:C.black,display:"flex",alignItems:"center"},"Sidebar-AccountName"),AccountNameText:Ee("div")({marginLeft:5,textOverflow:"ellipsis",overflow:"hidden"},"Sidebar-AccountNameText"),BottomWrapper:Ee("div")({marginTop:"auto"},"Sidebar-BottomWrapper"),CloseWrapper:Ee("div")({borderTop:"1px solid #EAEAEA",height:60},"Sidebar-CollapseWrapper")},XS=C.gray.normal,QG={List:Ee("ul")({width:"100%"},"MenuItem-List"),SectionsWrapper:Ee("div")(({theme:e})=>({marginTop:32,maxWidth:220,[e.breakpoints.down(1600)]:{maxWidth:154},[e.breakpoints.down("md")]:{maxWidth:180}}),"MenuItem-SectionsWrapper"),Accordion:Ze((e,t,r)=>({root:{backgroundColor:"transparent",color:C.black,borderTop:`1px solid ${XS}`,boxShadow:"none",marginTop:0,"&:before":{display:"none"},[`&.${r.expanded}`]:{marginTop:0,marginBottom:0},"&:first-child":{borderRadius:0},"&:last-child":{borderBottom:`1px solid ${XS}`,borderRadius:0}},expanded:{}}),"MenuItems-Accordion")(N1),AccordionSummary:Ze({root:{paddingLeft:0,paddingRight:0,minHeight:56,fontSize:13,fontWeight:600,opacity:.3,transition:be.transition(),"&:hover":{opacity:1}},expandIconWrapper:{padding:11,color:C.black},expanded:{"&.MuiAccordionSummary-root":{minHeight:56},"&.MuiAccordionSummary-content":{margin:0},opacity:1}},"MenuItems-AccordionSummary")(D1),AccordionDetails:Ze({root:{padding:0,paddingBottom:19}},"MenuItems-AccordionDetails")($1)};Ee("div")({height:40,backgroundColor:"#cdd1e04d",borderRadius:4,paddingLeft:12,paddingRight:8,display:"flex",alignItems:"center",justifyContent:"space-between",marginTop:20,"& img":{width:16,height:16}},"Plan-Container"),Ee("span")({fontSize:12,fontWeight:600,color:C.black},"Plan-Name"),Ee(Gt)({color:C.black,display:"flex",alignItems:"center",textAlign:"center",backgroundColor:C.primary.yellow,fontSize:12,fontWeight:600,height:24,paddingLeft:10,paddingRight:10,borderRadius:4,transition:be.transition(),"&:hover":{backgroundColor:"#ffe96d"}},"Plan-Button");const Yse=lr((e,t,r)=>({root:{display:"flex",flexDirection:"column",alignItems:"center",padding:"20px 0",transition:"all 0.3s ease-in-out",[`&.${r.hidden}`]:{opacity:0,visibility:"hidden"}},content:{display:"flex",alignItems:"center",gap:"4px",marginBottom:8,color:C.black,padding:"0 10px","& p":{fontSize:12,fontWeight:600,textAlign:"center"}},button:{height:28,lineHeight:"28px",fontSize:12,paddingTop:0,paddingBottom:0},hidden:{}}),"TrialEnds");Ze((e,t,r)=>({root:{"&&":{borderRadius:0,[e.breakpoints.down("md")]:{"&:not(.action-close)":{flexWrap:"nowrap"}}},background:"white",color:"black"},action:{[`.${r.root}:not(.action-close) &`]:{[e.breakpoints.down("md")]:{paddingTop:0,width:"auto",paddingLeft:15}},"& svg":{fill:C.gray.mediumLight}}}))(lH);const{views:Gi,bulkEnabled:YG,permissions:JS}=Gr;function KG({label:e,to:t,iconColor:r,iconSize:n,onClick:o,icon:i,small:a,visible:s,collapse:l,...c}){const u=Nt("xs"),p=i&&d.jsx(DI,{children:d.jsx(FI,{name:i,size:n||24})});return d.jsxs(WG,{to:t,small:a,onClick:o,...c,children:[i&&(u?p:d.jsx(Iu,{title:l?e:"",placement:"right",children:p})),d.jsx(jI,{hidden:l,primary:e,small:a})]},e)}function ZG({onClick:e=()=>{},collapse:t=!1}){const r=de(),n=MI(),o=eF(),i=[{label:r.formatMessage({id:"pages.newQr"}),icon:"menu_new_qr",visible:n(Gi.dashboard,JS.create),to:Q.builder},{to:Q.bulkBuilder,label:r.formatMessage({id:"pages.bulkCreate"}),icon:"menu_bulk_create",visible:YG&&n(Gi.dashboard,JS.create),onClick:o},{to:Q.dashboard,label:r.formatMessage({id:"pages.myQRs"}),icon:"menu_qr_codes",visible:n(Gi.dashboard)},{to:Q.analysis,label:r.formatMessage({id:"pages.analysis"}),icon:"menu_analysis",visible:n(Gi.analysis)},{to:Q.templates,label:r.formatMessage({id:"pages.templates"}),icon:"menu_templates",visible:n(Gi.templates)},{to:Q.domains,label:r.formatMessage({id:"pages.domains"}),icon:"domains",visible:n(Gi.domains)},{to:Q.plansAndPayments,label:r.formatMessage({id:"pages.plansAndPayments"}),icon:"menu_payments",visible:n(Gi.payments)}];return d.jsx("div",{children:d.jsx(QG.List,{onClick:e,children:i.filter(a=>a.visible).map(a=>d.jsx(KG,{collapse:t,...a,label:Uc(a.label)},a.label))})})}const XG=g.lazy(()=>N(()=>import("./AdminPage-Ck78fEDq.js"),__vite__mapDeps([2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26])));function eE(){LI();const e=Oo(),t=de(),r=it(c=>c.user.translationsReady),n=No(),o=vo(Q.builder),i=vo(Q.bulkBuilder),a=!o&&!i,s=localStorage.getItem("sidebar")==="false",l=t.formatMessage({id:"titleLogo"});return d.jsx(g.Suspense,{fallback:d.jsxs(Ga.Container,{children:[d.jsxs(Ga.SidebarLoading,{collapse:s,children:[d.jsx(Ga.LogoWrapper,{children:d.jsx(Gt,{to:Q.dashboard,title:l,children:d.jsx(Ga.Logo,{src:jA,height:21,alt:t.formatMessage({id:"altLogo"}),collapse:s})})}),d.jsx("div",{style:{overflow:"hidden"},children:r&&d.jsx(ZG,{collapse:s})}),d.jsx(Ga.BottomWrapper,{children:d.jsxs($I,{logout:!0,onClick:()=>{e(C9(n))},style:{margin:0,height:59},children:[d.jsx(DI,{children:d.jsx(FI,{name:"logout2"})}),d.jsx(jI,{hidden:s,primary:t.formatMessage({id:"common.logout"})})]})})]}),a&&d.jsx(zG,{}),d.jsx(Ga.Main,{className:xe({"is-builder":!!o}),children:d.jsx(mI,{})})]}),children:d.jsx(XG,{loading:!0})})}const JG=g.lazy(()=>N(()=>import("./index-QjIQVpRt.js"),__vite__mapDeps([27,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,28,29]))),Jr=({component:e,admin:t=!1,...r})=>{const{loggedIn:n,validatingLoggedIn:o}=it(i=>({loggedIn:i.user.loggedIn,validatingLoggedIn:i.user.validatingLoggedIn}));return d.jsx(st,{...r,render:({location:i})=>!n&&!o?(window.localStorage.removeItem("user"),d.jsx(bD,{to:{pathname:"/login",state:{from:i.pathname}}})):t?!n&&o?d.jsx(eE,{}):d.jsx(g.Suspense,{fallback:d.jsx(eE,{}),children:d.jsx(JG,{children:d.jsx(e,{...r})})}):n?d.jsx(e,{...r}):d.jsx(hI,{})})},Ph=window.location.host==="qr-code-generator.qrfy.com",eq=`https://${DA}`;function Oh(e){return`${eq}${e}${window.location.search}`}const tq=lr((e,t,r)=>({root:({width:n,fullWidth:o,marginRight:i,widthMobile:a})=>({minWidth:n||(o?64:200),marginRight:i,[e.breakpoints.down("md")]:{minWidth:a||n||(o?64:112)}}),outlined:{"&.MuiButton-colorPrimary":{[`&.${r.selected}`]:{borderColor:C.secondary.orange,color:C.primary.blue,"&:hover:not(:disabled)":{borderColor:C.secondary.orange},"&:disabled":{borderColor:C.primary.blue},[`&.${r.selectable}`]:{color:C.black,"&:disabled":{borderColor:C.secondary.orange}}},[`&.${r.selectable}:not(.${r.selected})`]:{color:C.black,borderColor:C.gray.normal,"&:hover:not(:disabled), &:active:not(:disabled)":{color:C.black,borderColor:C.gray.dark},"&:disabled":{borderColor:C.gray.normal,"&:hover":{color:C.gray.dark,backgroundColor:C.gray.normal}}}}},selected:{},selectable:{},startIcon:({absoluteStartIcon:n})=>n?{marginLeft:0,marginRight:0,position:"absolute",left:16}:{},disabled:{},uppercase:{textTransform:"uppercase"},sizeSmall:{},sizeLarge:{},endIcon:({absoluteEndIcon:n})=>n?{position:"absolute",right:16,marginLeft:0,marginRight:0,top:"calc(50% - 9px)",[`&.${r.iconSizeLarge}`]:{right:22}}:{},label:{},circularProgress:{position:"absolute",top:"50%",left:"50%",marginTop:-20,marginLeft:-20,"&.primary":{color:C.black},"&.secondary":{color:C.secondary.green}},iconSizeLarge:{}}),"Button"),Kse=lr((e,t,r)=>({root:{borderRadius:"100%",height:40,minWidth:40,width:40,flexShrink:0,[e.breakpoints.down("md")]:{minWidth:40},[`&.${r.square}`]:{borderRadius:8}},outlined:{"&.MuiButton-colorPrimary":{color:C.black,borderColor:C.gray.normal,"&:hover":{borderColor:C.gray.darkest,backgroundColor:C.gray.light,"@media (hover: none)":{borderColor:C.dark,backgroundColor:C.white}},"&:active":{borderColor:C.black,backgroundColor:C.gray.normal,color:C.black},"&:focus":{},[`&.${r.disabled}`]:{}}},contained:{"&.MuiButton-colorPrimary":{backgroundColor:C.black,"&:hover":{backgroundColor:C.gray.darkest,"@media (hover: none)":{backgroundColor:C.black}},"&:active":{backgroundColor:C.gray.dark}},"&.MuiButton-colorSecondary":{backgroundColor:C.primary.blue,"&:hover":{backgroundColor:C.primary.darkBlue,"@media (hover: none)":{backgroundColor:C.primary.blue}},"&:active":{backgroundColor:C.primary.darkBlue},[`&.${r.disabled}`]:{backgroundColor:C.gray.normal}}},disabled:{},square:{},circularProgress:{position:"absolute",top:"50%",left:"50%",marginTop:-12.5,marginLeft:-12.5,color:C.black}}),"IconButton"),qt=g.forwardRef(({children:e,loading:t=!1,disabled:r=!1,uppercase:n=!1,classes:o={},marginRight:i,width:a,widthMobile:s,selected:l=!1,absoluteStartIcon:c=!1,absoluteEndIcon:u=!1,selectable:p=!1,circularProgressSize:f,className:m,variant:v="contained",disableFocusRipple:h=!0,color:x="primary",...y},b)=>{const{uppercase:w,circularProgress:S,selected:T,selectable:R,...E}=tq({classes:o,marginRight:i,width:a,widthMobile:s,absoluteStartIcon:c,absoluteEndIcon:u,fullWidth:y.fullWidth});return d.jsxs(lz,{...y,color:x,disableFocusRipple:h,variant:v,disableRipple:!0,ref:b,disabled:r||t,classes:{...E,root:xe(E.root,{[w]:n,[T]:l,[R]:p},m)},children:[e,t&&d.jsx(zc,{classes:{root:xe(["loader",S,x])},size:f})]})});qt.displayName="Button";const rq="NotFoundPage";function Zse(e,t){return e.replace(":id",t)}function Oi(e,t){let r;function n(...o){const i=this;clearTimeout(r),r=setTimeout(e.bind(i),t,...o)}return n}function Xse(e,t){let r;return(...o)=>{r||(r=!0,setTimeout(()=>{e(...o),r=!1},t,...o))}}var UC;const nq=((UC=navigator==null?void 0:navigator.userAgentData)==null?void 0:UC.platform)||(navigator==null?void 0:navigator.platform)||"unknown",oq=/Mac|iPod|iPhone|iPad/i.test(nq);function iq(){const e=de();return[{value:Yt("qrTypes"),label:e.formatMessage({id:"qrTypes.menuTitle"})},{value:Yt("qrForBusiness"),label:e.formatMessage({id:"pages.qrCodesFor"})},{value:Yt("qrCodesOn"),label:e.formatMessage({id:"pages.qrCodesOn"})},{value:Yt("home")||"/",label:e.formatMessage({id:"pages.qrCodeGenerator"}),exactPath:!0}]}function m3(){const e=de();return[{to:Yt("pricing"),label:e.formatMessage({id:"pages.pricing"})},{to:Yt("faq"),label:e.formatMessage({id:"pages.faq"})},{to:Yt("apiDocsBase"),label:e.formatMessage({id:"pages.api"})}]}const aq=1099;function Lh(){return tr(`(max-width: ${aq}px)`)}const sq=300,lq=206,cq=400,uq=64,tE=e=>({width:sq,transition:e.transitions.create("width",{easing:e.transitions.easing.sharp,duration:e.transitions.duration.enteringScreen}),overflowX:"hidden",[e.breakpoints.down(1600)]:{width:lq},".public-sidebar &":{width:"100%",maxWidth:cq},"&.collapsed":{width:uq,transition:e.transitions.create("width",{easing:e.transitions.easing.sharp,duration:e.transitions.duration.leavingScreen})}}),li={Drawer:Ze(e=>({root:{...tE(e)},paper:{display:"flex",flexDirection:"column",backgroundColor:C.white,color:C.black,...tE(e)},paperAnchorDockedLeft:{borderRight:"1px solid #E3E3E3",boxShadow:"0px 2px 8px #E6E6E6"}}),"Sidebar-Drawer")(ku),AppleWrapper:Ee("div")({overflowY:"auto",overflowX:"hidden",flex:1},"Sidebar-AppleWrapper"),Content:Ee("div")(({theme:e})=>({height:"100%",paddingRight:0,display:"flex",flexDirection:"column",[e.breakpoints.down("md")]:{height:"calc(100vh - 108px)",".public-sidebar &":{height:"auto",flex:1}},[e.breakpoints.up("md")]:{paddingRight:0}}),"Sidebar-Content"),CrossWrapper:Ze({root:{position:"absolute",top:8,right:4,color:C.gray.dark}},"Sidebar-CrossWrapper")(no),LogoWrapper:Ee("div")({display:"flex",alignItems:"center",position:"relative",padding:"22px 22px 57px",lineHeight:1,fontSize:0,"& > a":{display:"inline-block"},".public-sidebar &":{padding:"20px 20px 12px",borderBottom:`1px solid ${C.gray.normal}`}},"Sidebar-LogoWrapper"),Logo:Ee(Mn("img",["collapse"]))(({collapse:e})=>({transition:be.transition(),opacity:e?0:1}),"Sidebar-Logo"),CollapseButton:Ze({root:{position:"absolute",color:C.gray.mediumLight,right:({collapse:e})=>e?0:4,width:({collapse:e})=>e?63:"inherit",height:({collapse:e})=>e?64:"inherit",borderRadius:({collapse:e})=>e?0:"50%"}},"Sidebar-CollapseButton")(Mn(no,["collapse"]))},dq=g.lazy(()=>N(()=>Promise.resolve().then(()=>Nq),void 0));function pq({children:e,bottom:t=null,collapse:r=!1,className:n,variant:o="temporary",setCollapse:i=()=>null,onClose:a=()=>null,...s}){const l=Nt("xs"),c=Lh(),u=de(),p=u.formatMessage({id:"altLogo"}),f=u.formatMessage({id:"titleLogo"});return d.jsxs(li.Drawer,{variant:o,setCollapse:i,onClose:a,...s,className:xe([n,{collapsed:r}]),classes:{paper:r?"collapsed":""},children:[d.jsxs(li.LogoWrapper,{children:[d.jsx(Gt,{onClick:a,to:Q.dashboard,title:f,children:d.jsx(li.Logo,{src:jA,width:115,alt:p,title:p,collapse:r})}),c&&d.jsx(li.CrossWrapper,{onClick:a,children:d.jsx(At,{icon:{parts:[{type:"path",props:{fill:C.black,d:"M6.4 19L5 17.6L10.6 12L5 6.4L6.4 5L12 10.6L17.6 5L19 6.4L13.4 12L19 17.6L17.6 19L12 13.4L6.4 19Z"}}],viewSize:24}})})]}),!c&&d.jsx(d.Fragment,{children:!oq&&!l?d.jsx(dq,{autoHide:!0,style:{height:"calc(100vh - 108px)",paddingRight:"32px"},disableHorizontalScroll:!0,renderThumbVertical:m=>d.jsx("div",{...m,style:{...m.style,cursor:"pointer",borderRadius:"inherit",backgroundColor:"#8B8CA5"}}),children:d.jsx(li.Content,{children:e})}):d.jsx(li.AppleWrapper,{children:d.jsx(li.Content,{children:e})})}),c&&d.jsx(li.Content,{children:e}),t]})}function fq(e){return d.jsx("div",{...e})}function hq({style:e,...t}){const r={...e,right:2,bottom:2,left:2,borderRadius:3};return d.jsx("div",{style:r,...t})}function mq({style:e,...t}){const r={...e,right:2,bottom:2,top:2,borderRadius:3};return d.jsx("div",{style:r,...t})}function gq({style:e,...t}){const r={...e,cursor:"pointer",borderRadius:"inherit",backgroundColor:"rgba(0,0,0,.2)"};return d.jsx("div",{style:r,...t})}function vq({style:e,...t}){const r={...e,cursor:"pointer",borderRadius:"inherit",backgroundColor:"rgba(0,0,0,.2)"};return d.jsx("div",{style:r,...t})}function hg(e){const{clientHeight:t}=e,{paddingTop:r,paddingBottom:n}=getComputedStyle(e);return t-parseFloat(r)-parseFloat(n)}function mg(e){const{clientWidth:t}=e,{paddingLeft:r,paddingRight:n}=getComputedStyle(e);return t-parseFloat(r)-parseFloat(n)}let Ll=!1;function Vn(e,t){for(const r of Object.keys(t))e.style[r]=t[r]}function Nl(e=!0){if(e&&Ll!==!1)return Ll;if(typeof document<"u"){const t=document.createElement("div");Vn(t,{width:"100px",height:"100px",position:"absolute",top:"-9999px",overflow:"scroll","-ms-overflow-style":"scrollbar"}),document.body.appendChild(t),Ll=t.offsetWidth-t.clientWidth,document.body.removeChild(t)}else Ll=0;return Ll||0}function rE(e){return typeof e=="string"}function yq(){return!1}function bq({renderView:e=fq,renderTrackHorizontal:t=hq,renderTrackVertical:r=mq,renderThumbHorizontal:n=gq,renderThumbVertical:o=vq,tagName:i="div",thumbMinSize:a=30,hideTracksWhenNotNeeded:s=!1,autoHide:l=!1,autoHideTimeout:c=1e3,autoHideDuration:u=200,autoHeight:p=!1,autoHeightMin:f=0,autoHeightMax:m=200,universal:v=!1,...h}){return{renderView:e,renderTrackHorizontal:t,renderTrackVertical:r,renderThumbHorizontal:n,renderThumbVertical:o,tagName:i,thumbMinSize:a,hideTracksWhenNotNeeded:s,autoHide:l,autoHideTimeout:c,autoHideDuration:u,autoHeight:p,autoHeightMin:f,autoHeightMax:m,universal:v,...h}}const xq={position:"relative",overflow:"hidden",width:"100%",height:"100%"},wq={height:"auto"},Sq={position:"absolute",top:0,left:0,right:0,bottom:0,overflow:"scroll",WebkitOverflowScrolling:"touch"},Eq={position:"relative",top:void 0,left:void 0,right:void 0,bottom:void 0},Cq={overflow:"hidden",marginRight:0,marginBottom:0},Tq={position:"absolute",height:"6px"},Rq={position:"absolute",width:"6px"},_q={position:"relative",display:"block",height:"100%"},Aq={position:"relative",display:"block",width:"100%"},kq={"user-select":"none"},Iq={"user-select":""};let g3=class extends g.Component{constructor(t,...r){super(t,...r),this.getScrollLeft=this.getScrollLeft.bind(this),this.getScrollTop=this.getScrollTop.bind(this),this.getScrollWidth=this.getScrollWidth.bind(this),this.getScrollHeight=this.getScrollHeight.bind(this),this.getClientWidth=this.getClientWidth.bind(this),this.getClientHeight=this.getClientHeight.bind(this),this.getValues=this.getValues.bind(this),this.getThumbHorizontalWidth=this.getThumbHorizontalWidth.bind(this),this.getThumbVerticalHeight=this.getThumbVerticalHeight.bind(this),this.getScrollLeftForOffset=this.getScrollLeftForOffset.bind(this),this.getScrollTopForOffset=this.getScrollTopForOffset.bind(this),this.scrollLeft=this.scrollLeft.bind(this),this.scrollTop=this.scrollTop.bind(this),this.scrollToLeft=this.scrollToLeft.bind(this),this.scrollToTop=this.scrollToTop.bind(this),this.scrollToRight=this.scrollToRight.bind(this),this.scrollToBottom=this.scrollToBottom.bind(this),this.handleTrackMouseEnter=this.handleTrackMouseEnter.bind(this),this.handleTrackMouseLeave=this.handleTrackMouseLeave.bind(this),this.handleHorizontalTrackMouseDown=this.handleHorizontalTrackMouseDown.bind(this),this.handleVerticalTrackMouseDown=this.handleVerticalTrackMouseDown.bind(this),this.handleHorizontalThumbMouseDown=this.handleHorizontalThumbMouseDown.bind(this),this.handleVerticalThumbMouseDown=this.handleVerticalThumbMouseDown.bind(this),this.handleWindowResize=this.handleWindowResize.bind(this),this.handleScroll=this.handleScroll.bind(this),this.handleDrag=this.handleDrag.bind(this),this.handleDragEnd=this.handleDragEnd.bind(this),this.state={didMountUniversal:!1}}componentDidMount(){this.addListeners(),this.update(),this.componentDidMountUniversal()}componentDidMountUniversal(){const{universal:t}=this.props;t&&this.setState({didMountUniversal:!0})}componentDidUpdate(){this.update()}componentWillUnmount(){this.removeListeners(),cancelAnimationFrame(this.requestFrame),clearTimeout(this.hideTracksTimeout),clearInterval(this.detectScrollingInterval)}getScrollLeft(){return this.view?this.view.scrollLeft:0}getScrollTop(){return this.view?this.view.scrollTop:0}getScrollWidth(){return this.view?this.view.scrollWidth:0}getScrollHeight(){return this.view?this.view.scrollHeight:0}getClientWidth(){return this.view?this.view.clientWidth:0}getClientHeight(){return this.view?this.view.clientHeight:0}getValues(){const{scrollLeft:t=0,scrollTop:r=0,scrollWidth:n=0,scrollHeight:o=0,clientWidth:i=0,clientHeight:a=0}=this.view||{};return{left:t/(n-i)||0,top:r/(o-a)||0,scrollLeft:t,scrollTop:r,scrollWidth:n,scrollHeight:o,clientWidth:i,clientHeight:a}}getThumbHorizontalWidth(){const{thumbSize:t,thumbMinSize:r}=this.props,{scrollWidth:n,clientWidth:o}=this.view,i=mg(this.trackHorizontal),a=Math.ceil(o/n*i);return i<=a?0:t||Math.max(a,r)}getThumbVerticalHeight(){const{thumbSize:t,thumbMinSize:r}=this.props,{scrollHeight:n,clientHeight:o}=this.view,i=hg(this.trackVertical),a=Math.ceil(o/n*i);return i<=a?0:t||Math.max(a,r)}getScrollLeftForOffset(t){const{scrollWidth:r,clientWidth:n}=this.view,o=mg(this.trackHorizontal),i=this.getThumbHorizontalWidth();return t/(o-i)*(r-n)}getScrollTopForOffset(t){const{scrollHeight:r,clientHeight:n}=this.view,o=hg(this.trackVertical),i=this.getThumbVerticalHeight();return t/(o-i)*(r-n)}scrollLeft(t=0){this.view&&(this.view.scrollLeft=t)}scrollTop(t=0){this.view&&(this.view.scrollTop=t)}scrollToLeft(){this.view&&(this.view.scrollLeft=0)}scrollToTop(){this.view&&(this.view.scrollTop=0)}scrollToRight(){this.view&&(this.view.scrollLeft=this.view.scrollWidth)}scrollToBottom(){this.view&&(this.view.scrollTop=this.view.scrollHeight)}addListeners(){if(typeof document>"u"||!this.view)return;const{view:t,trackHorizontal:r,trackVertical:n,thumbHorizontal:o,thumbVertical:i}=this;t.addEventListener("scroll",this.handleScroll),Nl()&&(r.addEventListener("mouseenter",this.handleTrackMouseEnter),r.addEventListener("mouseleave",this.handleTrackMouseLeave),r.addEventListener("mousedown",this.handleHorizontalTrackMouseDown),n.addEventListener("mouseenter",this.handleTrackMouseEnter),n.addEventListener("mouseleave",this.handleTrackMouseLeave),n.addEventListener("mousedown",this.handleVerticalTrackMouseDown),o.addEventListener("mousedown",this.handleHorizontalThumbMouseDown),i.addEventListener("mousedown",this.handleVerticalThumbMouseDown),window.addEventListener("resize",this.handleWindowResize))}removeListeners(){if(typeof document>"u"||!this.view)return;const{view:t,trackHorizontal:r,trackVertical:n,thumbHorizontal:o,thumbVertical:i}=this;t.removeEventListener("scroll",this.handleScroll),Nl()&&(r.removeEventListener("mouseenter",this.handleTrackMouseEnter),r.removeEventListener("mouseleave",this.handleTrackMouseLeave),r.removeEventListener("mousedown",this.handleHorizontalTrackMouseDown),n.removeEventListener("mouseenter",this.handleTrackMouseEnter),n.removeEventListener("mouseleave",this.handleTrackMouseLeave),n.removeEventListener("mousedown",this.handleVerticalTrackMouseDown),o.removeEventListener("mousedown",this.handleHorizontalThumbMouseDown),i.removeEventListener("mousedown",this.handleVerticalThumbMouseDown),window.removeEventListener("resize",this.handleWindowResize),this.teardownDragging())}handleScroll(t){const{onScroll:r,onScrollFrame:n}=this.props;r&&r(t),this.update(o=>{const{scrollLeft:i,scrollTop:a}=o;this.viewScrollLeft=i,this.viewScrollTop=a,n&&n(o)}),this.detectScrolling()}handleScrollStart(){const{onScrollStart:t}=this.props;t&&t(),this.handleScrollStartAutoHide()}handleScrollStartAutoHide(){const{autoHide:t}=this.props;t&&this.showTracks()}handleScrollStop(){const{onScrollStop:t}=this.props;t&&t(),this.handleScrollStopAutoHide()}handleScrollStopAutoHide(){const{autoHide:t}=this.props;t&&this.hideTracks()}handleWindowResize(){Nl(!1),this.forceUpdate()}handleHorizontalTrackMouseDown(t){t.preventDefault();const{target:r,clientX:n}=t,{left:o}=r.getBoundingClientRect(),i=this.getThumbHorizontalWidth(),a=Math.abs(o-n)-i/2;this.view.scrollLeft=this.getScrollLeftForOffset(a)}handleVerticalTrackMouseDown(t){t.preventDefault();const{target:r,clientY:n}=t,{top:o}=r.getBoundingClientRect(),i=this.getThumbVerticalHeight(),a=Math.abs(o-n)-i/2;this.view.scrollTop=this.getScrollTopForOffset(a)}handleHorizontalThumbMouseDown(t){t.preventDefault(),this.handleDragStart(t);const{target:r,clientX:n}=t,{offsetWidth:o}=r,{left:i}=r.getBoundingClientRect();this.prevPageX=o-(n-i)}handleVerticalThumbMouseDown(t){t.preventDefault(),this.handleDragStart(t);const{target:r,clientY:n}=t,{offsetHeight:o}=r,{top:i}=r.getBoundingClientRect();this.prevPageY=o-(n-i)}setupDragging(){Vn(document.body,kq),document.addEventListener("mousemove",this.handleDrag),document.addEventListener("mouseup",this.handleDragEnd),document.onselectstart=yq}teardownDragging(){Vn(document.body,Iq),document.removeEventListener("mousemove",this.handleDrag),document.removeEventListener("mouseup",this.handleDragEnd),document.onselectstart=void 0}handleDragStart(t){this.dragging=!0,t.stopImmediatePropagation(),this.setupDragging()}handleDrag(t){if(this.prevPageX){const{clientX:r}=t,{left:n}=this.trackHorizontal.getBoundingClientRect(),i=this.getThumbHorizontalWidth()-this.prevPageX,a=-n+r-i;this.view.scrollLeft=this.getScrollLeftForOffset(a)}if(this.prevPageY){const{clientY:r}=t,{top:n}=this.trackVertical.getBoundingClientRect(),i=this.getThumbVerticalHeight()-this.prevPageY,a=-n+r-i;this.view.scrollTop=this.getScrollTopForOffset(a)}return!1}handleDragEnd(){this.dragging=!1,this.prevPageX=this.prevPageY=0,this.teardownDragging(),this.handleDragEndAutoHide()}handleDragEndAutoHide(){const{autoHide:t}=this.props;t&&this.hideTracks()}handleTrackMouseEnter(){this.trackMouseOver=!0,this.handleTrackMouseEnterAutoHide()}handleTrackMouseEnterAutoHide(){const{autoHide:t}=this.props;t&&this.showTracks()}handleTrackMouseLeave(){this.trackMouseOver=!1,this.handleTrackMouseLeaveAutoHide()}handleTrackMouseLeaveAutoHide(){const{autoHide:t}=this.props;t&&this.hideTracks()}showTracks(){clearTimeout(this.hideTracksTimeout),Vn(this.trackHorizontal,{opacity:1}),Vn(this.trackVertical,{opacity:1})}hideTracks(){if(this.dragging||this.scrolling||this.trackMouseOver)return;const{autoHideTimeout:t}=this.props;clearTimeout(this.hideTracksTimeout),this.hideTracksTimeout=setTimeout(()=>{Vn(this.trackHorizontal,{opacity:0}),Vn(this.trackVertical,{opacity:0})},t)}detectScrolling(){this.scrolling||(this.scrolling=!0,this.handleScrollStart(),this.detectScrollingInterval=setInterval(()=>{this.lastViewScrollLeft===this.viewScrollLeft&&this.lastViewScrollTop===this.viewScrollTop&&(clearInterval(this.detectScrollingInterval),this.scrolling=!1,this.handleScrollStop()),this.lastViewScrollLeft=this.viewScrollLeft,this.lastViewScrollTop=this.viewScrollTop},100))}raf(t){this.requestFrame&&cancelAnimationFrame(this.requestFrame),this.requestFrame=requestAnimationFrame(()=>{this.requestFrame=void 0,t()})}update(t){this.raf(()=>this._update(t))}_update(t){const{onUpdate:r,hideTracksWhenNotNeeded:n}=this.props,o=this.getValues();if(Nl()){const{scrollLeft:i,clientWidth:a,scrollWidth:s}=o,l=mg(this.trackHorizontal),c=this.getThumbHorizontalWidth(),u=i/(s-a)*(l-c),p={width:`${c}px`,transform:`translateX(${u}px)`},{scrollTop:f,clientHeight:m,scrollHeight:v}=o,h=hg(this.trackVertical),x=this.getThumbVerticalHeight(),y=f/(v-m)*(h-x),b={height:`${x}px`,transform:`translateY(${y}px)`};if(n){const w={visibility:s>a?"visible":"hidden"},S={visibility:v>m?"visible":"hidden"};Vn(this.trackHorizontal,w),Vn(this.trackVertical,S)}Vn(this.thumbHorizontal,p),Vn(this.thumbVertical,b)}r&&r(o),typeof t=="function"&&t(o)}render(){const t=Nl(),{onScroll:r,onScrollFrame:n,onScrollStart:o,onScrollStop:i,onUpdate:a,renderView:s,renderTrackHorizontal:l,renderTrackVertical:c,renderThumbHorizontal:u,renderThumbVertical:p,tagName:f,hideTracksWhenNotNeeded:m,autoHide:v,autoHideTimeout:h,autoHideDuration:x,thumbSize:y,thumbMinSize:b,universal:w,autoHeight:S,autoHeightMin:T,autoHeightMax:R,style:E,children:A,...P}=this.props,{didMountUniversal:M}=this.state,O={...xq,...S&&{...wq,minHeight:T,maxHeight:R},...E},F={...Sq,marginRight:t?-t:0,marginBottom:t?-t:0,...S&&{...Eq,minHeight:rE(T)?`calc(${T} + ${t}px)`:T+t,maxHeight:rE(R)?`calc(${R} + ${t}px)`:R+t},...S&&w&&!M&&{minHeight:T,maxHeight:R},...w&&!M&&Cq},I={transition:`opacity ${x}ms`,opacity:0},D={...Tq,...v&&I,...(!t||w&&!M)&&{display:"none"}},$={...Rq,...v&&I,...(!t||w&&!M)&&{display:"none"}};return g.createElement(f,{...P,style:O,ref:j=>{this.container=j}},[g.cloneElement(s({style:F}),{key:"view",ref:j=>{this.view=j}},A),g.cloneElement(l({style:D}),{key:"trackHorizontal",ref:j=>{this.trackHorizontal=j}},g.cloneElement(u({style:_q}),{ref:j=>{this.thumbHorizontal=j}})),g.cloneElement(c({style:$}),{key:"trackVertical",ref:j=>{this.trackVertical=j}},g.cloneElement(p({style:Aq}),{ref:j=>{this.thumbVertical=j}}))])}};const Mq=(e,t=[],r)=>{const n=g.useCallback(e,t),o=r||window;g.useEffect(()=>{if(!(o instanceof g3))return o.addEventListener("scroll",n),()=>{o.removeEventListener("scroll",n)}},t)},Pq=lr(()=>({customScrollbar:e=>{let t="auto",r="auto";return e.scrollType==="x"?t=e.forceScroll?"scroll":"hidden":e.scrollType==="y"&&(r=e.forceScroll?"scroll":"hidden"),{overflowX:t,overflowY:r,height:e.forceHeight||"auto",paddingRight:r==="scroll"?0:6,paddingBottom:t==="scroll"?0:6,"&::-webkit-scrollbar":{width:6,height:6,cursor:"pointer"},"&::-webkit-scrollbar-track":{background:"transparent"},"&::-webkit-scrollbar-thumb":{background:"rgba(0, 0, 0, 0.2)",borderRadius:3}}}})),Oq=g.forwardRef(({onScroll:e=()=>{},onScrollDependencies:t=[],tagName:r="div",disabled:n=!1,scrollType:o="xy",forceScroll:i=!1,children:a=null,style:s={},forceHeight:l,className:c,...u},p)=>{Mq(e,t,p.current);const f={...s},m=Pq({scrollType:o,forceScroll:i,forceHeight:l});return n||(f.width="100%"),d.jsx(r,{ref:p,style:f,className:xe([m.customScrollbar,c]),...u,children:a})});function o2(){return["iPad Simulator","iPhone Simulator","iPod Simulator","iPad","iPhone","iPod","MacIntel"].includes(navigator.platform)||navigator.userAgent.includes("Mac")&&"ontouchend"in document}const Lq=g.forwardRef(({children:e=null,scrollType:t="xy",forceScroll:r=!1,onScrollDependencies:n=[],disabled:o=!1,hideTracksWhenNotNeeded:i=!0,autoHide:a=!0,autoHeight:s=!1,handle:l=!1,disableHorizontalScroll:c=!1,forceHeight:u,...p},f)=>{const m=o2(),v=g.useRef(null),h=Nt("smDown"),x=!m&&!o;if(f&&l&&g.useImperativeHandle(f,()=>({...v.current,getScrollTop:()=>v!=null&&v.current?x?v.current.getScrollTop():v.current.scrollTop:0,scrollTop:(y,b={})=>{v.current&&(m?v.current.scrollTo({behavior:"smooth",...b,top:y}):(v.current.view.style.scrollBehavior=b.behavior||"smooth",v.current.scrollTop(y)))},scrollLeft:(y,b={})=>{v.current&&(m?v.current.scrollTo({behavior:"smooth",...b,left:y}):(v.current.view.style.scrollBehavior=b.behavior||"smooth",v.current.scrollLeft(y)))}})),x){const y={hideTracksWhenNotNeeded:i,autoHide:a,autoHeight:s};return c&&(y.renderTrackHorizontal=b=>d.jsx("div",{...b,style:{display:"none"},className:"track-horizontal"}),y.renderView=b=>d.jsx("div",{...b,style:{...b.style,overflowX:"hidden"}})),d.jsx(g3,{ref:v,...bq({...p,...y}),children:e})}return d.jsx(Oq,{ref:v,...p,forceScroll:h&&t==="x"||r,scrollType:t,onScrollDependencies:n,disabled:o,forceHeight:u,children:e})}),Po=Lq,Nq=Object.freeze(Object.defineProperty({__proto__:null,default:Po,useIsApple:o2},Symbol.toStringTag,{value:"Module"})),$q=lr(e=>({root:{minWidth:"0px !important",width:40,height:40,borderRadius:"50%",padding:0,color:C.black,borderColor:C.gray.normal,flexShrink:0,"&:hover":{borderColor:C.gray.darkest,backgroundColor:C.gray.light,"@media (hover: none)":{borderColor:C.dark,backgroundColor:C.white}},"&:active":{borderColor:C.black,backgroundColor:C.gray.normal,color:C.black},[e.breakpoints.down("md")]:{minWidth:"0px !important"}},circle:{borderRadius:"50%"},sizeLarge:{width:48,height:48},sizeSmall:{width:32,height:32,borderRadius:4},outlined:{"&.MuiButton-colorPrimary":{color:C.black,borderColor:C.gray.normal,"&:hover":{borderColor:C.gray.darkest,backgroundColor:C.gray.light,"@media (hover: none)":{borderColor:C.dark,backgroundColor:C.white}},"&:active":{borderColor:C.black,backgroundColor:C.gray.normal,color:C.black}}},contained:{"&.MuiButton-colorPrimary":{color:C.white,backgroundColor:C.black,"&:hover":{backgroundColor:C.gray.darkest,"@media (hover: none)":{backgroundColor:C.black}},"&:active":{color:C.white,backgroundColor:C.gray.dark}}}}),"IconButton");function Dq({circle:e=!1,classes:t,...r},n){const o=$q({classes:t});return d.jsx(qt,{classes:{root:xe(o.root,{[o.circle]:e}),sizeLarge:o.sizeLarge,sizeSmall:o.sizeSmall,outlined:o.outlined,contained:o.contained},ref:n,...r})}const v3=g.forwardRef(Dq),jq={parts:[{type:"path",props:{d:"M19,4H5A3,3,0,0,0,2,7V17a3,3,0,0,0,3,3H19a3,3,0,0,0,3-3V7A3,3,0,0,0,19,4Zm0,2h0l-5.84,5a1.89,1.89,0,0,1-2.34,0L5,6H19Zm0,12H5a1,1,0,0,1-1-1V7.79L9.53,12.5a3.91,3.91,0,0,0,4.94,0L20,7.79V17A1,1,0,0,1,19,18Z"}},{type:"path",props:{d:"M7.29,13.29l-2,2a1,1,0,0,0,0,1.42,1,1,0,0,0,1.42,0l2-2a1,1,0,0,0-1.42-1.42Z"}},{type:"path",props:{d:"M16.71,13.29a1,1,0,0,0-1.42,1.42l2,2a1,1,0,0,0,1.42,0,1,1,0,0,0,0-1.42Z"}}],viewSize:24};function Fq(e,t){return d.jsx(At,{ref:t,icon:jq,...e})}const Bq=g.forwardRef(Fq),Hq={parts:[{type:"path",props:{d:"M16.18,21.3a5,5,0,0,1-3.53-1.46L4.16,11.35a5,5,0,0,1,0-7.07l.71-.7a3,3,0,0,1,4.24,0L11.23,5.7a3,3,0,0,1,0,4.24l-.6.6,2.83,2.83.6-.6a3,3,0,0,1,4.24,0l2.12,2.12a3,3,0,0,1,0,4.24l-.7.71A5,5,0,0,1,16.18,21.3ZM7,4.7A1,1,0,0,0,6.28,5l-.7.71a3,3,0,0,0,0,4.24l8.48,8.48a3,3,0,0,0,4.24,0l.71-.7a1,1,0,0,0,0-1.42l-2.12-2.12a1,1,0,0,0-1.42,0l-2,2L7.8,10.54l2-2a1,1,0,0,0,0-1.42L7.7,5A1,1,0,0,0,7,4.7Z"}}],viewSize:24};function Uq(e,t){return d.jsx(At,{ref:t,icon:Hq,...e})}const nE=g.forwardRef(Uq);function zq(e,t){return d.jsx(At,{ref:t,icon:{parts:[{type:"path",props:{d:"M11.75 9 6.5 15H17L11.75 9Z",fill:"currentColor"}}],viewSize:24},...e})}const Vq=g.forwardRef(zq);function Wq(e,t){return d.jsx(At,{ref:t,icon:{parts:[{type:"path",props:{d:"M8,12.5a1.51,1.51,0,0,1-1.06-.44l-5.5-5.5L3.56,4.44,8,8.88l4.44-4.44,2.12,2.12-5.5,5.5A1.51,1.51,0,0,1,8,12.5Z"}}],viewSize:16},...e})}const y3=g.forwardRef(Wq);function Gq(e,t){return d.jsx(At,{ref:t,icon:{parts:[{type:"path",props:{d:"M8,11a1,1,0,0,1-.71-.29l-5-5L3.71,4.29,8,8.59l4.29-4.3,1.42,1.42-5,5A1,1,0,0,1,8,11Z"}}],viewSize:16},...e})}const Nh=g.forwardRef(Gq);function qq(e,t){return d.jsx(At,{ref:t,icon:{parts:[{type:"path",props:{d:"M9.69,14.56l-5.5-5.5a1.49,1.49,0,0,1,0-2.12l5.5-5.5,2.12,2.12L7.37,8l4.44,4.44Z"}}],viewSize:16},...e})}const Qq=g.forwardRef(qq);function Yq(e,t){return d.jsx(At,{ref:t,icon:{parts:[{type:"path",props:{d:"M6.31,14.56,4.19,12.44,8.63,8,4.19,3.56,6.31,1.44l5.5,5.5a1.49,1.49,0,0,1,0,2.12Z"}}],viewSize:16},...e})}const b3=g.forwardRef(Yq);function Kq(e,t){return d.jsx(At,{ref:t,icon:{parts:[{type:"path",props:{d:"M12.44,12.06,8,7.62,3.56,12.06,1.44,9.94l5.5-5.5a1.49,1.49,0,0,1,2.12,0l5.5,5.5ZM12.44,12.06,8,7.62,3.56,12.06,1.44,9.94l5.5-5.5a1.49,1.49,0,0,1,2.12,0l5.5,5.5Z"}}],viewSize:16},...e})}const Zq=g.forwardRef(Kq);function Xq(e,t){return d.jsx(At,{ref:t,icon:{parts:[{type:"circle",props:{fill:"#000",cx:"12",cy:"12",r:"12"}},{type:"polygon",props:{fill:"#FFF",points:"10 17.41 5.29 12.71 6.71 11.29 10 14.59 17.29 7.29 18.71 8.71 10 17.41"}}],viewSize:24},...e})}const Jq=g.forwardRef(Xq);function eQ(e,t){return d.jsx(At,{ref:t,icon:{parts:[{type:"path",props:{className:"custom-color--circle-check-green",fill:"#31d3b3",d:"M24 12c0 6.627-5.373 12-12 12s-12-5.373-12-12c0-6.627 5.373-12 12-12s12 5.373 12 12z"}},{type:"path",props:{fill:"#000",d:"M10 17.41l-4.71-4.7 1.42-1.42 3.29 3.3 7.29-7.3 1.42 1.42-8.71 8.7z"}}],viewSize:24},...e})}const x3=g.forwardRef(eQ);function tQ(e,t){return d.jsx(At,{ref:t,icon:{parts:[{type:"circle",props:{cx:"7",cy:"7",r:"7",fill:"currentColor"}},{type:"path",props:{d:"M5 3.79675C5.1176 3.68835 5.24557 3.58537 5.38392 3.4878C5.52572 3.39024 5.67791 3.30533 5.84047 3.23306C6.00303 3.16079 6.17942 3.10479 6.36965 3.06504C6.55988 3.02168 6.76567 3 6.98703 3C7.28794 3 7.56118 3.04336 7.80674 3.13008C8.05577 3.2168 8.26848 3.34146 8.44488 3.50406C8.62127 3.66305 8.75789 3.85637 8.85473 4.08401C8.95158 4.31165 9 4.5664 9 4.84824C9 5.12285 8.96195 5.36134 8.88586 5.56369C8.80977 5.76242 8.71293 5.93586 8.59533 6.08401C8.48119 6.23216 8.35668 6.36043 8.22179 6.46883C8.0869 6.57724 7.95893 6.68022 7.83787 6.77778C7.71682 6.87173 7.61133 6.96567 7.5214 7.05962C7.43493 7.14995 7.38305 7.25294 7.36576 7.36856L7.24643 8.15989H6.36965L6.28145 7.27642C6.27799 7.25836 6.27626 7.2439 6.27626 7.23306C6.27626 7.21861 6.27626 7.20235 6.27626 7.18428C6.27626 7.02529 6.31431 6.88799 6.3904 6.77236C6.46649 6.65312 6.56161 6.54291 6.67575 6.44173C6.78988 6.33695 6.91267 6.23577 7.0441 6.13821C7.17553 6.04065 7.29831 5.93586 7.41245 5.82385C7.52659 5.70822 7.6217 5.57814 7.6978 5.4336C7.77389 5.28907 7.81193 5.11924 7.81193 4.92412C7.81193 4.79404 7.78772 4.67841 7.7393 4.57724C7.69434 4.47245 7.63035 4.38392 7.54734 4.31165C7.46433 4.23577 7.36403 4.17796 7.24643 4.13821C7.1323 4.09846 7.00778 4.07859 6.87289 4.07859C6.67575 4.07859 6.508 4.10208 6.36965 4.14905C6.23476 4.19241 6.11889 4.243 6.02205 4.30081C5.92866 4.35501 5.84911 4.4056 5.7834 4.45257C5.71768 4.49593 5.65888 4.51762 5.607 4.51762C5.48249 4.51762 5.39256 4.46341 5.33722 4.35501L5 3.79675ZM5.98054 10.187C5.98054 10.075 5.99957 9.96838 6.03761 9.86721C6.07912 9.76603 6.13446 9.67931 6.20363 9.60705C6.27626 9.53478 6.361 9.47696 6.45785 9.4336C6.55469 9.39024 6.65845 9.36856 6.76913 9.36856C6.87635 9.36856 6.97838 9.39024 7.07523 9.4336C7.17207 9.47696 7.25508 9.53478 7.32425 9.60705C7.39343 9.67931 7.44877 9.76603 7.49027 9.86721C7.53178 9.96838 7.55253 10.075 7.55253 10.187C7.55253 10.3026 7.53178 10.411 7.49027 10.5122C7.44877 10.6098 7.39343 10.6947 7.32425 10.7669C7.25508 10.8392 7.17207 10.8952 7.07523 10.935C6.97838 10.9783 6.87635 11 6.76913 11C6.65845 11 6.55469 10.9783 6.45785 10.935C6.361 10.8952 6.27626 10.8392 6.20363 10.7669C6.13446 10.6947 6.07912 10.6098 6.03761 10.5122C5.99957 10.411 5.98054 10.3026 5.98054 10.187Z",fill:"white"}}],viewSize:14},...e})}const w3=g.forwardRef(tQ);function rQ(e,t){return d.jsx(At,{ref:t,icon:{parts:[{type:"path",props:{d:"M13.41,12l5.3-5.29a1,1,0,1,0-1.42-1.42L12,10.59,6.71,5.29A1,1,0,0,0,5.29,6.71L10.59,12l-5.3,5.29a1,1,0,0,0,0,1.42,1,1,0,0,0,1.42,0L12,13.41l5.29,5.3a1,1,0,0,0,1.42,0,1,1,0,0,0,0-1.42Z"}}],viewSize:24},...e})}const i2=g.forwardRef(rQ);function nQ(e,t){return d.jsx(At,{ref:t,icon:{parts:[{type:"path",props:{d:"M16 0c8.837 0 16 7.163 16 16s-7.163 16-16 16c-8.837 0-16-7.163-16-16s7.163-16 16-16zM1.778 16c0 7.855 6.367 14.222 14.222 14.222 3.603 0 6.894-1.34 9.4-3.549l-20.017-20.136c-2.242 2.514-3.605 5.829-3.605 9.463zM16 1.778c-3.582 0-6.854 1.324-9.355 3.509l20.012 20.131c2.218-2.508 3.565-5.806 3.565-9.418 0-7.855-6.367-14.222-14.222-14.222z"}}],viewSize:"0 0 32 32"},...e})}const oQ=g.forwardRef(nQ);function iQ(e,t){return d.jsx(At,{ref:t,icon:{style:{fill:"none"},parts:[{type:"path",props:{d:"M21.97 22.97A11.955 11.955 0 0 1 14 26C7.373 26 2 20.627 2 14c0-3.06 1.145-5.851 3.03-7.97l16.94 16.94Zm1.38-1.448L6.478 4.65A11.95 11.95 0 0 1 14 2c6.627 0 12 5.373 12 12a11.95 11.95 0 0 1-2.65 7.522ZM28 14c0 7.732-6.268 14-14 14S0 21.732 0 14 6.268 0 14 0s14 6.268 14 14Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"}}],viewSize:"0 0 28 28"},...e})}const aQ=g.forwardRef(iQ);function sQ(e,t){return d.jsx(At,{ref:t,icon:{parts:[{type:"path",props:{d:"M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5zM12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z"}}],viewSize:24},...e})}const S3=g.forwardRef(sQ);function lQ(e,t){return d.jsx(At,{ref:t,icon:{parts:[{type:"path",props:{d:"M12 7c2.76 0 5 2.24 5 5 0 .65-.13 1.26-.36 1.83l2.92 2.92c1.51-1.26 2.7-2.89 3.43-4.75-1.73-4.39-6-7.5-11-7.5-1.4 0-2.74.25-3.98.7l2.16 2.16C10.74 7.13 11.35 7 12 7zM2 4.27l2.28 2.28.46.46C3.08 8.3 1.78 10.02 1 12c1.73 4.39 6 7.5 11 7.5 1.55 0 3.03-.3 4.38-.84l.42.42L19.73 22 21 20.73 3.27 3 2 4.27zM7.53 9.8l1.55 1.55c-.05.21-.08.43-.08.65 0 1.66 1.34 3 3 3 .22 0 .44-.03.65-.08l1.55 1.55c-.67.33-1.41.53-2.2.53-2.76 0-5-2.24-5-5 0-.79.2-1.53.53-2.2zm4.31-.78l3.15 3.15.02-.16c0-1.66-1.34-3-3-3l-.17.01z"}}],viewSize:24},...e})}const E3=g.forwardRef(lQ);function cQ(e,t){return d.jsx(At,{ref:t,icon:{style:{fill:"none"},parts:[{type:"rect",props:{x:"2.57",y:"2.5",width:11,height:7,rx:".5",stroke:"currentColor"}},{type:"path",props:{fill:"currentColor",d:"M2.07 7h12v1h-12z"}},{type:"path",props:{d:"m15.07 1-14 11",stroke:"#68676C"}}],viewSize:"0 0 16 13"},...e})}const uQ=g.forwardRef(cQ),C3=({title:e,children:t,className:r,onBack:n,...o})=>d.jsxs(ku,{className:r,slotProps:{backdrop:{invisible:!0}},sx:{"& .MuiDrawer-paper":{width:"100%"}},...o,children:[d.jsxs(G,{sx:{display:"flex",alignItems:"center",justifyContent:"space-between",borderBottom:"1px solid",borderColor:"gray.normal",height:"auto",minHeight:72,px:5},children:[n&&d.jsxs(Qr,{sx:{color:"primary.main",display:"flex",alignItems:"center"},onClick:n,children:[d.jsx(At,{icon:{parts:[{type:"path",props:{d:"M6.66661 11L1.99994 6.03173L6.66661 1",stroke:"currentColor",strokeWidth:"2",fill:"none"}}],viewSize:"0 0 8 12"},size:14,style:{width:24}}),d.jsx(Ce,{fontWeight:600,children:d.jsx(We,{id:"common.goBack"})})]}),d.jsx(v3,{onClick:o.onClose,variant:"text",style:{marginLeft:"auto"},children:d.jsx(i2,{})})]}),d.jsx("div",{children:t})]}),gg={pl:0,py:2,pr:1,height:48};function Zd({item:e,dropdownArrow:t,active:r,currentPathname:n="",exactPath:o,...i}){const a=r||n&&e.to&&ga(n,{path:e.to,exact:!0}),s=d.jsxs(G,{display:"flex",alignItems:"center",justifyContent:"space-between",width:"100%",sx:{gap:4,color:a?C.primary.blue:C.black},children:[d.jsx(Ce,{variant:"body1",fontWeight:600,color:"inherit",children:e.label}),t&&d.jsx(b3,{size:16,color:"inherit"})]});return e!=null&&e.href?d.jsx(G,{sx:{width:"100%",marginTop:1,"&:first-child":{marginTop:0},...gg},component:"li",onClick:e.onClick,children:d.jsx(G,{component:"a",href:e.href,children:s})}):e!=null&&e.to?d.jsx("li",{onClick:e.onClick,children:d.jsx(jp,{component:Gt,to:e.to,sx:gg,children:s})}):d.jsx(jp,{sx:gg,component:"button",...i,onClick:e.onClick,children:s})}function dQ({Component:e,resources:t,onClose:r}){const[n,o]=g.useState(!1),{pathname:i}=Nr();return d.jsxs(d.Fragment,{children:[d.jsx(e,{onClick:()=>o(!0)}),d.jsx(C3,{title:"test",open:n,onBack:()=>o(!1),onClose:r,children:d.jsx(Z1,{sx:{flex:"auto",py:5,px:6},"aria-label":"menu",children:d.jsx(Po,{style:{width:"100%",height:"calc(100vh - 98px)",maxHeight:"calc(100dvh - 98px)"},autoHide:!0,children:t.map(a=>d.jsxs(g.Fragment,{children:[d.jsx(Zd,{item:{label:a.label,to:a.value,onClick:r},currentPathname:i,exactPath:a.exactPath}),d.jsx(Ai,{sx:{borderColor:C.gray.normal,my:1}})]},a.value))})})})]})}function T3({customComponent:e=null,menuProps:t,onItemClick:r=()=>{},onClose:n}){const o=iq(),i=hh(),a=Lh(),[s,l]=g.useState(null),c=!!s,u=e||null,p=v=>{v.stopPropagation(),l(v.currentTarget)},f=()=>{l(null)},m=o.map(v=>d.jsx(Gt,{to:v.value,onClick:()=>{l(null),r==null||r()},children:d.jsx(Vt,{component:"div",children:v.label})},`resources-selector-${v.value}`));return a?d.jsx(dQ,{Component:u,resources:o,onClose:n}):d.jsxs(d.Fragment,{children:[d.jsx(u,{onClick:p,active:c}),d.jsx(cl,{anchorEl:s,open:c,onClose:f,anchorOrigin:{vertical:36,horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"},...t,children:m}),d.jsx("div",{style:i?{}:{display:"none"},children:m})]})}const pQ="data:image/svg+xml,%3csvg%20width='40'%20height='40'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M11%2018h7v-7h-7v7Zm2-5h3v3h-3v-3ZM11%2029h7v-7h-7v7Zm2-5h3v3h-3v-3ZM22%2011v7h7v-7h-7Zm5%205h-3v-3h3v3ZM24%2022h-2v2h2v-2ZM29%2022h-2v2h2v-2ZM27%2024h-3v3h3v-3ZM24%2027h-2v2h2v-2ZM29%2027h-2v2h2v-2Z'%20fill='%231D59F9'%20/%3e%3c/svg%3e",fQ="data:image/svg+xml,%3csvg%20width='40'%20height='40'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M24%2022h-2v2h2v-2ZM29%2022h-2v2h2v-2ZM27%2024h-3v3h3v-3ZM24%2027h-2v2h2v-2ZM29%2027h-2v2h2v-2ZM13%2022h-2v2h2v-2ZM18%2022h-2v2h2v-2ZM16%2024h-3v3h3v-3ZM13%2027h-2v2h2v-2ZM18%2027h-2v2h2v-2ZM24%2011h-2v2h2v-2ZM29%2011h-2v2h2v-2ZM27%2013h-3v3h3v-3ZM24%2016h-2v2h2v-2ZM29%2016h-2v2h2v-2ZM13%2011h-2v2h2v-2ZM18%2011h-2v2h2v-2ZM16%2013h-3v3h3v-3ZM13%2016h-2v2h2v-2ZM18%2016h-2v2h2v-2Z'%20fill='%231D59F9'%20/%3e%3c/svg%3e",hQ="data:image/svg+xml,%3csvg%20width='40'%20height='40'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M24.41%2010H11v20h18V14.59L24.41%2010ZM27%2028H13V12h10.59L27%2015.41V28Z'%20fill='%231D59F9'%20/%3e%3cpath%20d='M23%2024h-6v2h6v-2ZM21%2018.59V15h-2v3.59l-1.29-1.3-1.42%201.42%203.71%203.7%203.71-3.7-1.42-1.42-1.29%201.3Z'%20fill='%231D59F9'%20/%3e%3c/svg%3e",mQ="data:image/svg+xml,%3csvg%20width='40'%20height='40'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M20%2020c2.76%200%205-2.24%205-5s-2.24-5-5-5-5%202.24-5%205%202.24%205%205%205Zm0-8c1.65%200%203%201.35%203%203s-1.35%203-3%203-3-1.35-3-3%201.35-3%203-3ZM23%2021h-6c-2.76%200-5%202.24-5%205v4h16v-4c0-2.76-2.24-5-5-5Zm3%207H14v-2c0-1.65%201.35-3%203-3h6c1.65%200%203%201.35%203%203v2Z'%20fill='%231D59F9'%20/%3e%3c/svg%3e",gQ="data:image/svg+xml,%3csvg%20width='40'%20height='40'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M10%2028h6v-8h-6v8Zm2-6h2v4h-2v-4ZM24%2012v16h6V12h-6Zm4%2014h-2V14h2v12ZM17%2028h6V16h-6v12Zm2-10h2v8h-2v-8Z'%20fill='%231D59F9'%20/%3e%3c/svg%3e",vQ="data:image/svg+xml,%3csvg%20width='40'%20height='40'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20clip-rule='evenodd'%20d='m12%2028%201-4%2012-12%203%203-12%2012-4%201Z'%20stroke='%231D59F9'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%20/%3e%3cpath%20d='m23%2015%202%202'%20stroke='%231D59F9'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%20/%3e%3c/svg%3e",yQ="data:image/svg+xml,%3csvg%20width='40'%20height='40'%20viewBox='0%200%2040%2040'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M20%2010C14.48%2010%2010%2014.48%2010%2020C10%2025.52%2014.48%2030%2020%2030C25.52%2030%2030%2025.52%2030%2020C30%2014.48%2025.52%2010%2020%2010ZM20%2028C15.59%2028%2012%2024.41%2012%2020C12%2015.59%2015.59%2012%2020%2012C24.41%2012%2028%2015.59%2028%2020C28%2024.41%2024.41%2028%2020%2028Z'%20fill='%231D59F9'%20/%3e%3cpath%20d='M20%2014C16.69%2014%2014%2016.69%2014%2020C14%2023.31%2016.69%2026%2020%2026C23.31%2026%2026%2023.31%2026%2020C26%2016.69%2023.31%2014%2020%2014ZM20%2024C17.79%2024%2016%2022.21%2016%2020C16%2017.79%2017.79%2016%2020%2016C22.21%2016%2024%2017.79%2024%2020C24%2022.21%2022.21%2024%2020%2024Z'%20fill='%231D59F9'%20/%3e%3cpath%20d='M20%2022C21.1046%2022%2022%2021.1046%2022%2020C22%2018.8954%2021.1046%2018%2020%2018C18.8954%2018%2018%2018.8954%2018%2020C18%2021.1046%2018.8954%2022%2020%2022Z'%20fill='%231D59F9'%20/%3e%3c/svg%3e",bQ="data:image/svg+xml,%3csvg%20width='40'%20height='40'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M15%2015v15h15V15H15Zm13%2013h-6v-3h2v-2h-2v-1c0-.55.45-1%201-1h2v-2h-2c-1.65%200-3%201.35-3%203v1h-1v2h1v3h-3V17h11v11Z'%20fill='%231D59F9'%20/%3e%3cpath%20d='M26%2011H11v15h2V13h13v-2Z'%20fill='%231D59F9'%20/%3e%3c/svg%3e",xQ="data:image/svg+xml,%3csvg%20width='40'%20height='40'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M10%2010v20h20V10H10Zm18%2018H12V16h16v12Zm0-14H12v-2h16v2Z'%20fill='%231D59F9'%20/%3e%3cpath%20d='M24%2022c0%201.1-.9%202-2%202v2c2.21%200%204-1.79%204-4s-1.79-4-4-4v2c1.1%200%202%20.9%202%202ZM18%2026v-2c-1.1%200-2-.9-2-2s.9-2%202-2v-2c-2.21%200-4%201.79-4%204s1.79%204%204%204ZM22%2021h-4v2h4v-2Z'%20fill='%231D59F9'%20/%3e%3c/svg%3e",wQ="data:image/svg+xml,%3csvg%20width='40'%20height='40'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M26%2011H11v15h2V13h13v-2Z'%20fill='%231D59F9'/%3e%3cpath%20d='M15%2015v15h15V15H15Zm13%2013H17V17h11v11Z'%20fill='%231D59F9'/%3e%3cpath%20d='M21%2019h-2v2h2v-2ZM26%2019h-2v2h2v-2ZM24%2021h-3v3h3v-3ZM21%2024h-2v2h2v-2ZM26%2024h-2v2h2v-2Z'%20fill='%231D59F9'/%3e%3c/svg%3e",SQ="data:image/svg+xml,%3csvg%20width='40'%20height='40'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M11%2011v18h9v-2h-7V13h14v7h2v-9H11Z'%20fill='%231D59F9'/%3e%3cpath%20d='M24%2018v-2h-8v8h2v-4.59l7.29%207.3%201.42-1.42-7.3-7.29H24Z'%20fill='%231D59F9'/%3e%3c/svg%3e",EQ="data:image/svg+xml,%3csvg%20width='40'%20height='40'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M27%2018v-4c0-2.21-1.79-4-4-4h-6c-2.21%200-4%201.79-4%204v4h-2v12h18V18h-2Zm-12-4c0-1.1.9-2%202-2h6c1.1%200%202%20.9%202%202v4H15v-4Zm12%2014H13v-8h14v8Z'%20fill='%231D59F9'/%3e%3cpath%20d='M21%2022h-2v4h2v-4Z'%20fill='%231D59F9'/%3e%3c/svg%3e",oE=e=>d.jsx(G,{display:{xs:"block",md:"grid"},p:{xs:"0 0 12px 6px",md:"inherit"},width:"100%",gap:1,gridAutoFlow:"column",gridTemplateColumns:"repeat(2, 1fr)",gridTemplateRows:"repeat(6, 1fr)",...e}),CQ=({customComponent:e=null,items:t=[],submenuTitle:r="",onSubmenuOpen:n=()=>{},onItemClick:o=()=>{},onClose:i})=>{const a=hh(),s=Lh(),[l,c]=g.useState(null),u=e||null,p=!!l,f=h=>{h.stopPropagation(),c(h.currentTarget),n==null||n()},m=()=>{c(null)},v=t.map((h,x)=>d.jsx(Gt,{to:h.to,onClick:()=>{c(null),o==null||o()},children:d.jsxs(Vt,{component:"div",sx:y=>({padding:2,height:"auto",gap:2,whiteSpace:"pre-wrap",alignItems:"flex-start","&:hover":{background:C.primary.lightBlue,borderRadius:"8px","& .icon":{background:C.white,borderColor:C.primary.blue}},[y.breakpoints.down("md")]:{"a:first-child &":{paddingTop:0}}}),children:[h.icon&&d.jsx(G,{sx:{width:40,height:40,minWidth:40,background:"transparent",border:`1px solid ${C.gray.normal}`,borderRadius:2,overflow:"hidden",transition:be.transition()},className:"icon",style:{backgroundImage:`url("${h.icon}")`,backgroundSize:"contain",backgroundRepeat:"no-repeat"}}),d.jsxs("div",{children:[h.labelTitle&&d.jsx(Ce,{component:"p",variant:"body2",fontWeight:600,color:C.black,children:h.labelTitle}),h.labelText&&d.jsx(G,{component:"span",variant:"body2",display:"block",color:C.gray.text,children:h.labelText})]})]})},`ExtendedMenu-Item-${x}`));return d.jsxs(d.Fragment,{children:[d.jsx(u,{onClick:f,active:p}),!s&&d.jsx(q1,{open:p,sx:{zIndex:10,background:be.opacity(C.black,.2),top:76},children:d.jsx(cl,{anchorEl:l,open:p,onClose:m,sx:{"& .MuiPaper-root":{width:"calc(100% - 40px)",maxWidth:814,border:"1px solid #EAEAEC",boxShadow:p1[300],borderRadius:2,marginTop:5},"& .MuiList-root":{width:"100%",maxHeight:450}},anchorOrigin:{vertical:28,horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"},children:d.jsx(Po,{style:{width:"100%",height:"calc(100vh - 125px)",maxHeight:380},autoHide:!0,children:d.jsx(oE,{children:v})})})}),s&&d.jsx(C3,{title:r,open:p,onBack:m,onClose:i,children:d.jsx("div",{style:{paddingLeft:10,paddingRight:16,paddingTop:16},children:d.jsx(Po,{style:{width:"100%",height:"calc(100vh - 98px)",maxHeight:"calc(100dvh - 98px)"},autoHide:!0,children:d.jsx(oE,{children:v})})})}),d.jsx("div",{style:a?{}:{display:"none"},children:v})]})},TQ=()=>{const e=de(),t=(r="")=>Yt("features").replace(":category",r);return[{icon:pQ,labelTitle:e.formatMessage({id:"featuresNavbar.staticQrs.title"}),labelText:e.formatMessage({id:"featuresNavbar.staticQrs.description"}),to:t("static-qrs")},{icon:fQ,labelTitle:e.formatMessage({id:"featuresNavbar.dynamicQrs.title"}),labelText:e.formatMessage({id:"featuresNavbar.dynamicQrs.description"}),to:t("dynamic-qrs")},{icon:hQ,labelTitle:e.formatMessage({id:"featuresNavbar.downloadVariety.title"}),labelText:e.formatMessage({id:"featuresNavbar.downloadVariety.description"}),to:t("download-variety")},{icon:mQ,labelTitle:e.formatMessage({id:"featuresNavbar.collaborators.title"}),labelText:e.formatMessage({id:"featuresNavbar.collaborators.description"}),to:t("collaborators")},{icon:gQ,labelTitle:e.formatMessage({id:"featuresNavbar.analytics.title"}),labelText:e.formatMessage({id:"featuresNavbar.analytics.description"}),to:t("analytics")},{icon:vQ,labelTitle:e.formatMessage({id:"featuresNavbar.editAndManagement.title"}),labelText:e.formatMessage({id:"featuresNavbar.editAndManagement.description"}),to:t("edit-and-management")},{icon:yQ,labelTitle:e.formatMessage({id:"featuresNavbar.bulkBuilder.title"}),labelText:e.formatMessage({id:"featuresNavbar.bulkBuilder.description"}),to:t("bulk-builder")},{icon:bQ,labelTitle:e.formatMessage({id:"featuresNavbar.integrations.title"}),labelText:e.formatMessage({id:"featuresNavbar.integrations.description"}),to:t("integrations")},{icon:xQ,labelTitle:e.formatMessage({id:"featuresNavbar.customDomains.title"}),labelText:e.formatMessage({id:"featuresNavbar.customDomains.description"}),to:t("custom-domains")},{icon:wQ,labelTitle:e.formatMessage({id:"featuresNavbar.templates.title"}),labelText:e.formatMessage({id:"featuresNavbar.templates.description"}),to:t("templates")},{icon:SQ,labelTitle:e.formatMessage({id:"featuresNavbar.eventTracking.title"}),labelText:e.formatMessage({id:"featuresNavbar.eventTracking.description"}),to:t("event-tracking")},{icon:EQ,labelTitle:e.formatMessage({id:"featuresNavbar.accessProtection.title"}),labelText:e.formatMessage({id:"featuresNavbar.accessProtection.description"}),to:t("access-protection")}]},R3=({customComponent:e,...t})=>{const r=TQ();return d.jsx(CQ,{customComponent:e,items:r,...t})};function RQ({open:e,onClose:t}){const r=de(),n=m3(),{pathname:o}=Nr(),i=it(s=>s.user.loggedIn),a=Ph?{href:Oh(i?Q.dashboard:Q.login)}:{component:Gt,to:i?Q.dashboard:Q.login};return d.jsxs(pq,{anchor:"left",open:e,onClose:t,className:"public-sidebar",children:[d.jsxs(Z1,{sx:{flex:"auto",py:5,px:6},"aria-label":"menu",children:[d.jsx(R3,{customComponent:s=>d.jsx(Zd,{item:{label:r.formatMessage({id:"pages.features"}),...s},dropdownArrow:!0,active:s==null?void 0:s.active}),submenuTitle:r.formatMessage({id:"pages.features"}),onItemClick:t,onClose:t}),d.jsx(Ai,{sx:{borderColor:C.gray.normal,my:1}}),d.jsx(T3,{customComponent:s=>d.jsx(Zd,{item:{label:r.formatMessage({id:"common.resources"}),...s},dropdownArrow:!0,active:s==null?void 0:s.active}),onItemClick:t,onClose:t}),d.jsx(Ai,{sx:{borderColor:C.gray.normal,my:1}}),n.map((s,l)=>d.jsxs(g.Fragment,{children:[d.jsx(Zd,{item:{...s,onClick:t},currentPathname:o}),d.jsx(Ai,{sx:{borderColor:C.gray.normal,my:1}})]},`PageSidebar-menuItems--${l.toString()}`))]}),d.jsxs(G,{display:"flex",sx:{display:"flex",alignItems:"center",justifyContent:"space-between",gap:2,padding:5,paddingTop:2.5},children:[d.jsx(qt,{size:"small",fullWidth:!0,variant:"outlinedV2",...a,children:i?d.jsx(We,{id:"common.goToMyAccount"}):d.jsx(We,{id:"common.login"})}),!i&&d.jsx(qt,{size:"small",fullWidth:!0,variant:"contained",component:Gt,to:Q.register,children:d.jsx(We,{id:"common.signUp"})})]})]})}const _Q={DrawerWrapper:Ee("nav")({width:320,position:"relative",paddingTop:80},"MenuMobile-DrawerWrapper"),MenuButton:Ze({root:{marginRight:-12,height:40,width:40}},"HeaderMobile-MenuButton")(no),CrossWrapper:Ze({root:{position:"absolute",top:"15px",right:"15px"}},"MenuMobile-CrossWrapper")(no),ListItem:Ze({root:{paddingLeft:40}},"MenuMobile-ListItem")(jp)};Ee("a")(({theme:e,active:t,logout:r,small:n})=>({display:"inline-block",padding:n?"5px 0 5px 7px":"0 4px 0 20px",transition:be.transition(),backgroundColor:t&&"#FFFFFF1A",marginBottom:r?10:0,width:"100%",height:28,opacity:t?1:.3,position:"relative","&:after":{content:'""',opacity:t?1:0,position:"absolute",backgroundColor:C.primary.blue,width:4,height:28,margin:"auto 0",right:0,top:0,bottom:0,transition:be.transition()},"&:fist-child":{marginTop:0},"& svg":{transition:be.transition(),color:t&&C.primary.blue},"&:hover":{opacity:t?1:.7,backgroundColor:"#FFFFFF1A",color:C.black,"& svg":{color:t?C.blue:C.black}},[e.breakpoints.up("md")]:{color:C.black},[e.breakpoints.down("md")]:{color:r?C.gray.darkest:C.black,"& svg":{color:C.black}}}),"NativeLink");function AQ({variant:e="light"}){const t=de(),[r,n]=g.useState(!1);function o(){n(!0)}function i(){n(!1)}return d.jsxs(d.Fragment,{children:[d.jsx(_Q.MenuButton,{onClick:o,title:t.formatMessage({id:"header.menu"}),children:d.jsx(At,{style:{color:e==="dark"?"#fff":"#000"},icon:{parts:[{type:"path",props:{x:3,y:4,d:"M5 5h14v2H5zM9 11h10v2H9zM5 17h14v2H5z",fill:"currentColor"}}],viewSize:24}})}),d.jsx(RQ,{open:r,onClose:i})]})}const vg=({item:e={},dropdownArrow:t=!1,active:r})=>{const{pathname:n}=Nr(),o=r||n.startsWith(e.to),i={whiteSpace:"noWrap",background:o?C.primary.lightBlue:"transparent",borderRadius:2,border:0,outline:0,cursor:"pointer",padding:2,pl:3,display:"block",position:"relative",transition:be.transition(),"&:hover":{background:C.primary.lightBlue}},a=d.jsxs(G,{display:"flex",alignItems:"center",justifyContent:"space-between",sx:{gap:1},children:[d.jsx(Ce,{variant:"body2",color:o?C.primary.blue:C.black,fontWeight:600,children:e.label}),t&&d.jsx(Nh,{size:16,sx:{color:o?C.primary.blue:C.black}})]});return e.href?d.jsx(G,{component:"a",sx:i,href:e.href,...e,children:a}):Ph&&e.to?d.jsx(G,{component:"a",sx:i,href:Oh(e.to),children:a}):e.to?d.jsx(G,{component:Gt,sx:i,to:e.to,children:a}):d.jsx(G,{component:"button",sx:i,onClick:e.onClick,children:a})};function kQ(){const e=m3(),t=de(),r={component:"li",px:2,display:"flex",alignItems:"center"};return d.jsx(G,{component:"nav",display:"flex",justifyContent:"flex-start",flex:1,alignItems:"center",children:d.jsxs(G,{component:"ul",display:"flex",children:[d.jsx(R3,{customComponent:n=>d.jsx(G,{...r,children:d.jsx(vg,{item:{label:t.formatMessage({id:"pages.features"}),...n},dropdownArrow:!0,active:n==null?void 0:n.active})})}),d.jsx(T3,{customComponent:n=>d.jsx(G,{...r,children:d.jsx(vg,{item:{label:t.formatMessage({id:"common.resources"}),...n},dropdownArrow:!0,active:n==null?void 0:n.active})}),menuProps:{sx:{[`.${TB.root}`]:{borderRadius:"8px",boxShadow:"0px 4px 6px 2px rgba(34, 14, 39, 0.03), 0px 4px 12px 4px rgba(34, 14, 39, 0.06)",minWidth:"210px",mt:"22px"},[`& .${yW.list}`]:{display:"grid",gap:2,py:2},[`& .${es.root}`]:{fontSize:"12px",fontWeight:600,height:48,px:4,py:2,"&:hover":{backgroundColor:C.primary.lightBlue,color:C.primary.blue}}}}}),e.map((n,o)=>d.jsx(G,{...r,children:d.jsx(vg,{item:n})},`Menu-menuItems--${o.toString()}`))]})})}const gd={dark:C.black,light:C.gray.light,white:C.white},IQ=["dashboard","analysis","myAccount","users","plansAndPayments","checkout","builder","templates","bulkBuilder","apiDocs","domains"];function MQ({variant:e="white"}){const t=de(),{pathname:r}=Nr(),n=it(l=>l.user.loggedIn),o=Lh();if(IQ.some(l=>Rk(r,l)))return null;const i=t.formatMessage({id:"altLogo"}),a=t.formatMessage({id:"titleLogo"}),s=Ph?{href:Oh(n?Q.dashboard:Q.login)}:{component:Gt,to:n?Q.dashboard:Q.login};return d.jsxs(d.Fragment,{children:[d.jsx(G,{sx:{height:{xs:51,sm:75}}}),d.jsxs(G,{position:"fixed",top:0,left:0,width:"100%",background:C.white,zIndex:100,py:{xs:1.5,sm:4.5},px:{xs:5,md:10},display:{xs:"flex",md:"grid"},gridTemplateColumns:{md:"118px 1fr auto"},gap:{md:5},flexWrap:"nowrap",flexDirection:"row",justifyContent:"space-between",alignItems:"center",as:Mn("header",["maxWidth"]),sx:{maxWidth:"100vw",backgroundColor:e?gd==null?void 0:gd[e]:gd.light,[`.${rq} &&`]:{backgroundColor:C.white},borderBottom:`1px solid ${C.gray.normal}`},children:[d.jsx(G,{display:"block",lineHeight:0,component:Gt,to:Yt("home"),title:a,children:d.jsx(Ln,{component:"img",src:"/QRFY_logo.svg",alt:i,title:i,sx:{width:118,height:"auto"},width:"118",height:"28"})}),!o&&d.jsxs(d.Fragment,{children:[d.jsx(kQ,{}),d.jsxs(G,{display:"flex",alignItems:"center",justifyContent:"flex-end",gap:2,children:[d.jsx(qt,{size:"small",width:164,variant:"outlinedV2",...s,children:n?d.jsx(We,{id:"common.goToMyAccount"}):d.jsx(We,{id:"common.login"})}),!n&&d.jsx(qt,{size:"small",width:164,variant:"contained",style:{minWidth:125},component:Gt,to:Q.register,children:d.jsx(We,{id:"common.signUp"})})]})]}),o&&d.jsx(G,{ml:"auto",children:d.jsx(AQ,{variant:e})})]})]})}function PQ(){return d.jsx("div",{style:{display:"flex",justifyContent:"center",padding:"10px 0 40px"},children:d.jsx(w1,{})})}const OQ=Ee("div")(({theme:e})=>({fontSize:20,fontWeight:500,lineHeight:"30px",[e.breakpoints.up("md")]:{fontSize:24,lineHeight:"36px"}}),"Dialog-Title"),yg={Dialog:Ze(e=>({paper:{margin:20,borderRadius:8,color:C.black,maxWidth:t=>t.maxWidth,width:t=>t.maxWidth&&"100%",padding:t=>t.hasPadding&&"32px 20px 24px",[e.breakpoints.up("md")]:{padding:t=>t.hasPadding&&"52px 40px 40px"}}}),"Dialog")(Mn(aV,["maxWidth","hasPadding"])),CloseButton:Ze(e=>({root:{position:"absolute",right:10,top:10,color:C.gray.dark,transition:"0.3s ease-in all",[e.breakpoints.down("sm")]:{top:6,right:6}}}),"Dialog-CloseButton")(no),Title:OQ},ele={Container:Ee("div")(({theme:e})=>({borderTop:`1px solid ${C.gray.normal}`,paddingTop:22,display:"grid",gridTemplateColumns:"repeat(2, 1fr)",columnGap:12,[e.breakpoints.up("md")]:{paddingTop:28,columnGap:16}}),"DialogActions-Container")};function LQ({children:e=null,title:t="",avoidBackdropClose:r=!1,hasPadding:n=!1,TransitionProps:o,...i}){return d.jsxs(yg.Dialog,{TransitionProps:{...o,onExited:()=>{var a;document.documentElement.style.setProperty("--scrollbar-width",`${window.innerWidth-document.documentElement.clientWidth}px`),(a=o==null?void 0:o.onExited)==null||a.call(o)}},hasPadding:n,...i,onClose:r?a=>a==null?void 0:a.preventDefault():i.onClose,children:[i.onClose&&d.jsx(yg.CloseButton,{className:"close-button","aria-label":"close",onClick:i.onClose,children:d.jsx(i2,{size:20,sx:{color:"gray.dark"}})}),t&&d.jsx(yg.Title,{className:"dialog-title",children:t}),e]})}const Wp="temp-qr-data",NQ="temp-qr-id",iE="temp-qr-register",bg={url:e=>{var t;return(t=e==null?void 0:e.data)==null?void 0:t.url},text:e=>{var t;return(t=e==null?void 0:e.data)==null?void 0:t.text}},$Q=e=>Object.keys(e).reduce((t,r)=>({...t,[r]:(...n)=>e[r](...n)}),{}),DQ=(e,t=()=>{})=>r=>{const{target:n,customData:o}=r,i=o||n;if(i){const a=["checkbox","radio"].includes(i.type)?i.checked:i.value;e(i.name,a),t(!0)}},jQ="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='24px'%20height='24px'%20viewBox='0%200%2024%2024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3eGroup%2010%3c/title%3e%3cg%20id='QRZilla---Design---Login-'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3cg%20id='Group-10'%3e%3cpath%20d='M23.7661801,9.6498465%20L22.7993234,9.6498465%20L22.7993234,9.60022555%20L12,9.60022555%20L12,14.3999248%20L18.78153,14.3999248%20C17.7921183,17.1944866%2015.1336382,19.2003759%2012,19.2003759%20C8.02355742,19.2003759%204.79969927,15.9765178%204.79969927,12.0000752%20C4.79969927,8.0236326%208.02355742,4.79977445%2012,4.79977445%20C13.8352234,4.79977445%2015.5050435,5.49221227%2016.7763925,6.62372032%20L20.1701648,3.22919617%20C18.0274419,1.23157697%2015.1607042,7.51832592e-05%2012,7.51832592e-05%20C5.3725957,7.51832592e-05%200,5.37342272%200,12.0000752%20C0,18.6267276%205.3725957,24.0000752%2012,24.0000752%20C18.6266525,24.0000752%2023.9992482,18.6267276%2023.9992482,12.0000752%20C23.9992482,11.1956143%2023.9165466,10.4099493%2023.7661801,9.6498465'%20id='Fill-1'%20fill='%23FFC107'%3e%3c/path%3e%3cpath%20d='M1.3832216,6.41463567%20L5.32583171,9.30618382%20C6.39268216,6.66499593%208.97597895,4.79969927%2011.9998496,4.79969927%20C13.835073,4.79969927%2015.5048932,5.49213708%2016.7762421,6.62364514%20L20.1700144,3.22912098%20C18.0272915,1.23150179%2015.1605539,0%2011.9998496,0%20C7.39036401,0%203.39287012,2.6020926%201.3832216,6.41463567'%20id='Fill-4'%20fill='%23FF3D00'%3e%3c/path%3e%3cpath%20d='M11.9996241,24%20C15.0994299,24%2017.9157947,22.8136082%2020.0449847,20.8851576%20L16.3309316,17.7417455%20C15.1264958,18.6544703%2013.6288453,19.2003007%2011.9996241,19.2003007%20C8.87876699,19.2003007%206.22855711,17.209448%205.23012343,14.4321784%20L1.31683478,17.447779%20C3.30242466,21.3332498%207.33600652,24%2011.9996241,24'%20id='Fill-6'%20fill='%234CAF50'%3e%3c/path%3e%3cpath%20d='M22.7993234,9.6498465%20L22.7993234,9.60022555%20L12,9.60022555%20L12,14.3999248%20L18.78153,14.3999248%20C18.3063718,15.741946%2017.4425161,16.8997682%2016.3290521,17.7425725%20L20.0453606,20.8844809%20C19.7822192,21.1228119%2023.9992482,17.9996993%2023.9992482,12.0000752%20C23.9992482,11.1956143%2023.9165466,10.4099493%2023.7661801,9.6498465%20L22.7993234,9.6498465%20Z'%20id='Fill-8'%20fill='%231976D2'%3e%3c/path%3e%3c/g%3e%3c/g%3e%3c/svg%3e",FQ="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/PjwhRE9DVFlQRSBzdmcgIFBVQkxJQyAnLS8vVzNDLy9EVEQgU1ZHIDEuMC8vRU4nICAnaHR0cDovL3d3dy53My5vcmcvVFIvMjAwMS9SRUMtU1ZHLTIwMDEwOTA0L0RURC9zdmcxMC5kdGQnPjxzdmcgZW5hYmxlLWJhY2tncm91bmQ9Im5ldyAwIDAgMzIgMzIiIGhlaWdodD0iMzJweCIgaWQ9IkxheWVyXzEiIHZlcnNpb249IjEuMCIgdmlld0JveD0iMCAwIDMyIDMyIiB3aWR0aD0iMzJweCIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+PGc+PHBhdGggZD0iTTMyLDMwYzAsMS4xMDQtMC44OTYsMi0yLDJIMmMtMS4xMDQsMC0yLTAuODk2LTItMlYyYzAtMS4xMDQsMC44OTYtMiwyLTJoMjhjMS4xMDQsMCwyLDAuODk2LDIsMlYzMHoiIGZpbGw9IiMwMDdCQjUiLz48Zz48cmVjdCBmaWxsPSIjRkZGRkZGIiBoZWlnaHQ9IjE0IiB3aWR0aD0iNCIgeD0iNyIgeT0iMTEiLz48cGF0aCBkPSJNMjAuNDk5LDExYy0yLjc5MSwwLTMuMjcxLDEuMDE4LTMuNDk5LDJ2LTJoLTR2MTRoNHYtOGMwLTEuMjk3LDAuNzAzLTIsMi0yYzEuMjY2LDAsMiwwLjY4OCwyLDJ2OGg0di03ICAgIEMyNSwxNCwyNC40NzksMTEsMjAuNDk5LDExeiIgZmlsbD0iI0ZGRkZGRiIvPjxjaXJjbGUgY3g9IjkiIGN5PSI4IiBmaWxsPSIjRkZGRkZGIiByPSIyIi8+PC9nPjwvZz48Zy8+PGcvPjxnLz48Zy8+PGcvPjxnLz48L3N2Zz4=",BQ="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20version='1.1'%20viewBox='0%200%20666.67%20666.67'%20xmlns='http://www.w3.org/2000/svg'%3e%3cdefs%3e%3cclipPath%20id='a'%3e%3cpath%20d='m0%20700h700v-700h-700z'/%3e%3c/clipPath%3e%3c/defs%3e%3cg%20transform='matrix(1.3333%200%200%20-1.3333%20-133.33%20800)'%3e%3cg%20clip-path='url(%23a)'%3e%3cg%20transform='translate(600,350)'%3e%3cpath%20d='m0%200c0%20138.07-111.93%20250-250%20250s-250-111.93-250-250c0-117.24%2080.715-215.62%20189.61-242.64v166.24h-51.552v76.396h51.552v32.919c0%2085.092%2038.508%20124.53%20122.05%20124.53%2015.838%200%2043.167-3.105%2054.347-6.211v-69.254c-5.901%200.621-16.149%200.932-28.882%200.932-40.993%200-56.832-15.528-56.832-55.9v-27.018h81.659l-14.028-76.396h-67.631v-171.77c123.79%2014.951%20219.71%20120.35%20219.71%20248.17'%20fill='%230866ff'/%3e%3c/g%3e%3cg%20transform='translate(447.92%20273.6)'%3e%3cpath%20d='m0%200%2014.029%2076.396h-81.659v27.019c0%2040.372%2015.838%2055.899%2056.831%2055.899%2012.733%200%2022.981-0.31%2028.882-0.931v69.253c-11.18%203.106-38.509%206.212-54.347%206.212-83.539%200-122.05-39.441-122.05-124.53v-32.919h-51.552v-76.396h51.552v-166.24c19.343-4.798%2039.568-7.362%2060.394-7.362%2010.254%200%2020.358%200.632%2030.288%201.831v171.77z'%20fill='%23fff'/%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/svg%3e",HQ={BASE_URL:"/",DEV:!1,MODE:"production",PROD:!0,SSR:!1,VITE_API:"",VITE_BASE_IMAGE_URL:"https://img.qrfy.com",VITE_BASE_UPLOAD_URL:"https://uploads.qrfy.com",VITE_BASE_URL:"https://qrfy.com",VITE_BULK_ENABLED:"1",VITE_CF_TURNSTILE_ENABLED:"1",VITE_CF_TURNSTILE_SITE_KEY:"0x4AAAAAAAW33-fkmT1EQ-VQ",VITE_CLOUDINARY_NAME:"w3",VITE_DOMAIN:"qrfy.com",VITE_FACEBOOK_CLIENT_ID:"861766829065973",VITE_GOOGLE_CLIENT_ID:"1068337497404-ldeirev97u9t7vc1cvlmftb5gqhhk5c4.apps.googleusercontent.com",VITE_GOOGLE_MAPS_KEY:"AIzaSyDIM-M0SGbPGAOUn5zt93b3e9nXzpjmCy0",VITE_GOOGLE_STORAGE_URI_PREFIX:"https://storage.googleapis.com/qrfyprod",VITE_LINKEDIN_CLIENT_ID:"775bext8zssj87",VITE_NON_RECCURENT_PAYMENT_COOKIE:"norec",VITE_PREVIEW_BASE_URL:"https://qrfy.io",VITE_RECAPTCHA_KEY:"6LeepasZAAAAAE-1cQNikkowObe_sPKEWDnblVpU",VITE_SENTRY_ENABLED:"",VITE_STRIPE_PUBLIC_KEY:"pk_live_51KslH4B9ss6IsP0ShS1AGfGPo7IGnAx4C3sZ5TwMcxverhly59ZBcyXEjMBNGWJCbrRXD5PhQx3633DO9x4ZeAoV00xKv8Ibcb",VITE_VAPID_PUBLIC_KEY:"BLPBecM0P8SAiJKZHdfXjFTXeULSsnrNrD0sbC2InGLDAfa4xf1xHKPNosyXQC4a3DCIrdKRdbeZpGe6XN48U78"},UQ={[Q.checkout]:"checkout",[Q.plansAndPayments]:"payments",[Q.builder]:"builder"},{VITE_GOOGLE_CLIENT_ID:zQ,VITE_LINKEDIN_CLIENT_ID:VQ,VITE_FACEBOOK_CLIENT_ID:WQ}=HQ;class a2{constructor({baseUrl:t,baseParams:r,provider:n,image:o}){this.baseUrl=t,this.baseParams=r||{},this.provider=n,this.name=Uc(n),this.image=o}getUrl({type:t="login",guestId:r,to:n,locale:o}){var l;const i=new URL(this.baseUrl),a={to:UQ[n]||"dashboard",gclid:t==="create"?localStorage.getItem("gclid"):void 0},s=(l=wt==null?void 0:wt.tz)==null?void 0:l.guess();return r&&(a.guestId=r),o&&(a.locale=o),s&&(a.timezone=s),i.searchParams.append("state",JSON.stringify(a)),i.searchParams.append("redirect_uri",`https://qrfy.com/api/user/account/oauth/${this.provider}/${t}`),Object.entries(this.baseParams).forEach(([c,u])=>{i.searchParams.append(c,u)}),i.toString()}}const GQ=new a2({baseUrl:"https://accounts.google.com/o/oauth2/v2/auth",baseParams:{scope:"https://www.googleapis.com/auth/userinfo.profile https://www.googleapis.com/auth/userinfo.email",response_type:"code",client_id:zQ},provider:"google",image:jQ}),qQ=new a2({baseUrl:"https://www.linkedin.com/oauth/v2/authorization",baseParams:{response_type:"code",scope:"openid profile email",client_id:VQ},provider:"linkedin",image:FQ}),QQ=new a2({baseUrl:"https://www.facebook.com/v18.0/dialog/oauth",baseParams:{scope:"email public_profile",client_id:WQ},provider:"facebook",image:BQ}),YQ=[GQ,qQ,QQ];function _3(){const e=Oo(),{isOpen:t,section:r,loggedIn:n,redirectAfterLogin:o,inputEmail:i}=Ea(p=>({isOpen:p.user.accountModalOpen,section:p.user.accountModalSection,loggedIn:p.user.loggedIn,redirectAfterLogin:p.user.redirectAfterLogin,inputEmail:p.user.inputEmail})),a=de(),s=No(),l=Nr();function c(p){var m,v,h;let f=a.formatMessage({id:"common.errors.generic"});return((m=p.response)==null?void 0:m.status)===400&&((v=p.response.data)!=null&&v.error)&&(f=(h=p.response.data)==null?void 0:h.error),f}function u(){const{pathname:p}=window.location;n&&!Rk(p,"builder")&&!sh(l.pathname)&&s.push(o||Yt("afterLogin")),!n&&p.startsWith("/change-password")&&s.replace(Yt("home")),setTimeout(()=>{window.localStorage.removeItem(Wp)},400),e(Lt.closeAccountModal())}return{isOpen:t,section:r,inputEmail:i,goToSection:(p,f=!0)=>{e(Lt.openAccountModal({toSection:p,openModal:f}))},close:u,forceClose:()=>e(Lt.closeAccountModal()),parseError:c,fetchUserData:p=>T9.fetchUserData(e,p),redirectAfterLogin:o,setInputEmail:p=>e(Lt.setInputEmail(p))}}function KQ(){const e=de();return{collaborator_registration_incomplete:e.formatMessage({id:"account.login.collaboratorRegistrationIncomplete"}),user_not_found:e.formatMessage({id:"account.login.userNotFound"}),generic:e.formatMessage({id:"common.errors.generic"}),email_exists:e.formatMessage({id:"account.login.emailAlreadyExists"}),email_invalid:e.formatMessage({id:"common.validations.string.email"}),captcha_verification_failed:e.formatMessage({id:"common.errors.catchaVerificationFailed"})}}function tle(){const e=KQ(),{pathname:t,state:r}=Nr(),n=No(),o=Ru(),[i,a]=g.useState(o.get("error")||(r==null?void 0:r.error)||"");return g.useEffect(()=>{i&&n.replace(t)},[]),{paramError:i,setParamError:a,paramErrorMessage:e[i]||""}}function ZQ(e,t){const r=Nr(),n=dF();return YQ.map(o=>{var i;return{name:o.name,href:o.getUrl({type:e,guestId:t,to:e==="create"?Q.builder:(i=r.state)==null?void 0:i.from,locale:n}),image:o.image}})}const XQ=g.lazy(()=>N(()=>import("./Login-D3rVVAOk.js"),__vite__mapDeps([30,31,32,6,25,33,34,35,36,37]))),JQ=g.lazy(()=>N(()=>import("./CreateAccount-B2_YDFRK.js").then(e=>e.b),__vite__mapDeps([38,32,6,31,39,25,40,33,35,36,37]))),eY=g.lazy(()=>N(()=>import("./ForgottenPassword-y7i75CNL.js"),__vite__mapDeps([41,31,34,6,32,40,36]))),tY=g.lazy(()=>N(()=>import("./ChangePassword-C52HzYD2.js"),__vite__mapDeps([42,32,6,31,37,40,39]))),rY=400;function nY(){const{isOpen:e,close:t,section:r}=_3(),n=Nt("smDown"),o=d.jsxs(g.Suspense,{fallback:d.jsx(PQ,{}),children:[r==="login"&&d.jsx(XQ,{}),r==="create"&&d.jsx(JQ,{}),r==="forgottenPassword"&&d.jsx(eY,{}),r==="changePassword"&&d.jsx(tY,{})]});return n?d.jsxs(ku,{sx:i=>({"& .MuiBackdrop-root":{background:be.opacity(C.black,.2)},"& .MuiDrawer-paper":{borderRadius:"12px 12px 0px 0px",padding:"36px 20px 0",[i.breakpoints.up("sm")]:{padding:"48px 28px 0"}},"& .MuiPaper-root":{maxHeight:"85vh"}}),className:"account-modal",anchor:"bottom",open:e,onClose:t,children:[d.jsx(v3,{sx:{position:"absolute",top:8,right:8,color:C.gray.dark},onClick:t,variant:"text",style:{marginLeft:"auto"},children:d.jsx(i2,{sx:{color:C.gray.dark}})}),o]}):d.jsx(LQ,{sx:i=>({"&&":{'&[data-type="login"] .MuiPaper-root, &[data-type="create"] .MuiPaper-root':{[i.breakpoints.down(rY)]:{margin:10}}},"&  .MuiDialog-paper":{width:"100%",maxWidth:398,padding:"36px 20px 0",[i.breakpoints.up("sm")]:{padding:"48px 28px 0"}}}),open:e,onClose:t,"aria-labelledby":"login",className:"account-modal","data-type":r,children:o})}function oY({children:e,title:t="",withAccountModal:r=!1}){const n=de();LI(),pF();const o=it(s=>s.user.translationsReady),i=n.formatMessage({id:"home.title"}),a=t||i;return g.useEffect(()=>{document.title=a},[a]),d.jsxs(d.Fragment,{children:[d.jsx("div",{style:o?{}:{display:"none"},children:e}),r&&d.jsx(nY,{})]})}const s2=(e,t={})=>({"@context":"https://schema.org",...e?{"@type":e}:{},...t}),iY=()=>{const e=de(),{value:t,count:r,bestRating:n}=(As==null?void 0:As.google)||{};return s2("Product",{name:e.formatMessage({id:"titleLogo"}),description:e.formatMessage({id:"metadata.description"}),brand:{"@type":"Brand",name:"QRFY"},aggregateRating:{"@type":"AggregateRating",ratingValue:t,reviewCount:r,bestRating:n}})},aY=e=>{try{return JSON.stringify(e)}catch(t){return console.warn("SEOSchema error:",t),"{}"}};function gv({data:e}){return e?d.jsx(Su,{defer:!1,children:d.jsx("script",{type:"application/ld+json",children:aY(e)})}):null}const sY="/assets/concepts-Dh9F1s6T.webp";var A3={exports:{}};(function(e,t){(function(r,n){e.exports=n()})(on,function(){return function(r,n,o){var i=n.prototype,a=function(p){return p&&(p.indexOf?p:p.s)},s=function(p,f,m,v,h){var x=p.name?p:p.$locale(),y=a(x[f]),b=a(x[m]),w=y||b.map(function(T){return T.slice(0,v)});if(!h)return w;var S=x.weekStart;return w.map(function(T,R){return w[(R+(S||0))%7]})},l=function(){return o.Ls[o.locale()]},c=function(p,f){return p.formats[f]||function(m){return m.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(v,h,x){return h||x.slice(1)})}(p.formats[f.toUpperCase()])},u=function(){var p=this;return{months:function(f){return f?f.format("MMMM"):s(p,"months")},monthsShort:function(f){return f?f.format("MMM"):s(p,"monthsShort","months",3)},firstDayOfWeek:function(){return p.$locale().weekStart||0},weekdays:function(f){return f?f.format("dddd"):s(p,"weekdays")},weekdaysMin:function(f){return f?f.format("dd"):s(p,"weekdaysMin","weekdays",2)},weekdaysShort:function(f){return f?f.format("ddd"):s(p,"weekdaysShort","weekdays",3)},longDateFormat:function(f){return c(p.$locale(),f)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};i.localeData=function(){return u.bind(this)()},o.localeData=function(){var p=l();return{firstDayOfWeek:function(){return p.weekStart||0},weekdays:function(){return o.weekdays()},weekdaysShort:function(){return o.weekdaysShort()},weekdaysMin:function(){return o.weekdaysMin()},months:function(){return o.months()},monthsShort:function(){return o.monthsShort()},longDateFormat:function(f){return c(p,f)},meridiem:p.meridiem,ordinal:p.ordinal}},o.months=function(){return s(l(),"months")},o.monthsShort=function(){return s(l(),"monthsShort","months",3)},o.weekdays=function(p){return s(l(),"weekdays",null,null,p)},o.weekdaysShort=function(p){return s(l(),"weekdaysShort","weekdays",3,p)},o.weekdaysMin=function(p){return s(l(),"weekdaysMin","weekdays",2,p)}}})})(A3);var lY=A3.exports;const cY=Ht(lY);var k3={exports:{}};(function(e,t){(function(r,n){e.exports=n()})(on,function(){var r={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},n=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,o=/\d/,i=/\d\d/,a=/\d\d?/,s=/\d*[^-_:/,()\s\d]+/,l={},c=function(x){return(x=+x)+(x>68?1900:2e3)},u=function(x){return function(y){this[x]=+y}},p=[/[+-]\d\d:?(\d\d)?|Z/,function(x){(this.zone||(this.zone={})).offset=function(y){if(!y||y==="Z")return 0;var b=y.match(/([+-]|\d\d)/g),w=60*b[1]+(+b[2]||0);return w===0?0:b[0]==="+"?-w:w}(x)}],f=function(x){var y=l[x];return y&&(y.indexOf?y:y.s.concat(y.f))},m=function(x,y){var b,w=l.meridiem;if(w){for(var S=1;S<=24;S+=1)if(x.indexOf(w(S,0,y))>-1){b=S>12;break}}else b=x===(y?"pm":"PM");return b},v={A:[s,function(x){this.afternoon=m(x,!1)}],a:[s,function(x){this.afternoon=m(x,!0)}],Q:[o,function(x){this.month=3*(x-1)+1}],S:[o,function(x){this.milliseconds=100*+x}],SS:[i,function(x){this.milliseconds=10*+x}],SSS:[/\d{3}/,function(x){this.milliseconds=+x}],s:[a,u("seconds")],ss:[a,u("seconds")],m:[a,u("minutes")],mm:[a,u("minutes")],H:[a,u("hours")],h:[a,u("hours")],HH:[a,u("hours")],hh:[a,u("hours")],D:[a,u("day")],DD:[i,u("day")],Do:[s,function(x){var y=l.ordinal,b=x.match(/\d+/);if(this.day=b[0],y)for(var w=1;w<=31;w+=1)y(w).replace(/\[|\]/g,"")===x&&(this.day=w)}],w:[a,u("week")],ww:[i,u("week")],M:[a,u("month")],MM:[i,u("month")],MMM:[s,function(x){var y=f("months"),b=(f("monthsShort")||y.map(function(w){return w.slice(0,3)})).indexOf(x)+1;if(b<1)throw new Error;this.month=b%12||b}],MMMM:[s,function(x){var y=f("months").indexOf(x)+1;if(y<1)throw new Error;this.month=y%12||y}],Y:[/[+-]?\d+/,u("year")],YY:[i,function(x){this.year=c(x)}],YYYY:[/\d{4}/,u("year")],Z:p,ZZ:p};function h(x){var y,b;y=x,b=l&&l.formats;for(var w=(x=y.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(M,O,F){var I=F&&F.toUpperCase();return O||b[F]||r[F]||b[I].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(D,$,j){return $||j.slice(1)})})).match(n),S=w.length,T=0;T<S;T+=1){var R=w[T],E=v[R],A=E&&E[0],P=E&&E[1];w[T]=P?{regex:A,parser:P}:R.replace(/^\[|\]$/g,"")}return function(M){for(var O={},F=0,I=0;F<S;F+=1){var D=w[F];if(typeof D=="string")I+=D.length;else{var $=D.regex,j=D.parser,H=M.slice(I),k=$.exec(H)[0];j.call(O,k),M=M.replace(k,"")}}return function(L){var B=L.afternoon;if(B!==void 0){var z=L.hours;B?z<12&&(L.hours+=12):z===12&&(L.hours=0),delete L.afternoon}}(O),O}}return function(x,y,b){b.p.customParseFormat=!0,x&&x.parseTwoDigitYear&&(c=x.parseTwoDigitYear);var w=y.prototype,S=w.parse;w.parse=function(T){var R=T.date,E=T.utc,A=T.args;this.$u=E;var P=A[1];if(typeof P=="string"){var M=A[2]===!0,O=A[3]===!0,F=M||O,I=A[2];O&&(I=A[2]),l=this.$locale(),!M&&I&&(l=b.Ls[I]),this.$d=function(H,k,L,B){try{if(["x","X"].indexOf(k)>-1)return new Date((k==="X"?1e3:1)*H);var z=h(k)(H),V=z.year,K=z.month,q=z.day,te=z.hours,Y=z.minutes,se=z.seconds,oe=z.milliseconds,ie=z.zone,he=z.week,ae=new Date,Re=q||(V||K?1:ae.getDate()),pe=V||ae.getFullYear(),Ae=0;V&&!K||(Ae=K>0?K-1:ae.getMonth());var Me,Oe=te||0,Ke=Y||0,at=se||0,gt=oe||0;return ie?new Date(Date.UTC(pe,Ae,Re,Oe,Ke,at,gt+60*ie.offset*1e3)):L?new Date(Date.UTC(pe,Ae,Re,Oe,Ke,at,gt)):(Me=new Date(pe,Ae,Re,Oe,Ke,at,gt),he&&(Me=B(Me).week(he).toDate()),Me)}catch{return new Date("")}}(R,P,E,b),this.init(),I&&I!==!0&&(this.$L=this.locale(I).$L),F&&R!=this.format(P)&&(this.$d=new Date("")),l={}}else if(P instanceof Array)for(var D=P.length,$=1;$<=D;$+=1){A[1]=P[$-1];var j=b.apply(this,A);if(j.isValid()){this.$d=j.$d,this.$L=j.$L,this.init();break}$===D&&(this.$d=new Date(""))}else S.call(this,T)}}})})(k3);var uY=k3.exports;const dY=Ht(uY);var I3={exports:{}};(function(e,t){(function(r,n){e.exports=n()})(on,function(){var r={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};return function(n,o,i){var a=o.prototype,s=a.format;i.en.formats=r,a.format=function(l){l===void 0&&(l="YYYY-MM-DDTHH:mm:ssZ");var c=this.$locale().formats,u=function(p,f){return p.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(m,v,h){var x=h&&h.toUpperCase();return v||f[h]||r[h]||f[x].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(y,b,w){return b||w.slice(1)})})}(l,c===void 0?{}:c);return s.call(this,u)}}})})(I3);var pY=I3.exports;const fY=Ht(pY);var M3={exports:{}};(function(e,t){(function(r,n){e.exports=n()})(on,function(){var r="minute",n=/[+-]\d\d(?::?\d\d)?/g,o=/([+-]|\d\d)/g;return function(i,a,s){var l=a.prototype;s.utc=function(h){var x={date:h,utc:!0,args:arguments};return new a(x)},l.utc=function(h){var x=s(this.toDate(),{locale:this.$L,utc:!0});return h?x.add(this.utcOffset(),r):x},l.local=function(){return s(this.toDate(),{locale:this.$L,utc:!1})};var c=l.parse;l.parse=function(h){h.utc&&(this.$u=!0),this.$utils().u(h.$offset)||(this.$offset=h.$offset),c.call(this,h)};var u=l.init;l.init=function(){if(this.$u){var h=this.$d;this.$y=h.getUTCFullYear(),this.$M=h.getUTCMonth(),this.$D=h.getUTCDate(),this.$W=h.getUTCDay(),this.$H=h.getUTCHours(),this.$m=h.getUTCMinutes(),this.$s=h.getUTCSeconds(),this.$ms=h.getUTCMilliseconds()}else u.call(this)};var p=l.utcOffset;l.utcOffset=function(h,x){var y=this.$utils().u;if(y(h))return this.$u?0:y(this.$offset)?p.call(this):this.$offset;if(typeof h=="string"&&(h=function(T){T===void 0&&(T="");var R=T.match(n);if(!R)return null;var E=(""+R[0]).match(o)||["-",0,0],A=E[0],P=60*+E[1]+ +E[2];return P===0?0:A==="+"?P:-P}(h),h===null))return this;var b=Math.abs(h)<=16?60*h:h,w=this;if(x)return w.$offset=b,w.$u=h===0,w;if(h!==0){var S=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(w=this.local().add(b+S,r)).$offset=b,w.$x.$localOffset=S}else w=this.utc();return w};var f=l.format;l.format=function(h){var x=h||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return f.call(this,x)},l.valueOf=function(){var h=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*h},l.isUTC=function(){return!!this.$u},l.toISOString=function(){return this.toDate().toISOString()},l.toString=function(){return this.toDate().toUTCString()};var m=l.toDate;l.toDate=function(h){return h==="s"&&this.$offset?s(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():m.call(this)};var v=l.diff;l.diff=function(h,x,y){if(h&&this.$u===h.$u)return v.call(this,h,x,y);var b=this.local(),w=s(h).local();return v.call(b,w,x,y)}}})})(M3);var hY=M3.exports;const mY=Ht(hY);var P3={exports:{}};(function(e,t){(function(r,n){e.exports=n()})(on,function(){var r={year:0,month:1,day:2,hour:3,minute:4,second:5},n={};return function(o,i,a){var s,l=function(f,m,v){v===void 0&&(v={});var h=new Date(f),x=function(y,b){b===void 0&&(b={});var w=b.timeZoneName||"short",S=y+"|"+w,T=n[S];return T||(T=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:y,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:w}),n[S]=T),T}(m,v);return x.formatToParts(h)},c=function(f,m){for(var v=l(f,m),h=[],x=0;x<v.length;x+=1){var y=v[x],b=y.type,w=y.value,S=r[b];S>=0&&(h[S]=parseInt(w,10))}var T=h[3],R=T===24?0:T,E=h[0]+"-"+h[1]+"-"+h[2]+" "+R+":"+h[4]+":"+h[5]+":000",A=+f;return(a.utc(E).valueOf()-(A-=A%1e3))/6e4},u=i.prototype;u.tz=function(f,m){f===void 0&&(f=s);var v,h=this.utcOffset(),x=this.toDate(),y=x.toLocaleString("en-US",{timeZone:f}),b=Math.round((x-new Date(y))/1e3/60),w=15*-Math.round(x.getTimezoneOffset()/15)-b;if(!Number(w))v=this.utcOffset(0,m);else if(v=a(y,{locale:this.$L}).$set("millisecond",this.$ms).utcOffset(w,!0),m){var S=v.utcOffset();v=v.add(h-S,"minute")}return v.$x.$timezone=f,v},u.offsetName=function(f){var m=this.$x.$timezone||a.tz.guess(),v=l(this.valueOf(),m,{timeZoneName:f}).find(function(h){return h.type.toLowerCase()==="timezonename"});return v&&v.value};var p=u.startOf;u.startOf=function(f,m){if(!this.$x||!this.$x.$timezone)return p.call(this,f,m);var v=a(this.format("YYYY-MM-DD HH:mm:ss:SSS"),{locale:this.$L});return p.call(v,f,m).tz(this.$x.$timezone,!0)},a.tz=function(f,m,v){var h=v&&m,x=v||m||s,y=c(+a(),x);if(typeof f!="string")return a(f).tz(x);var b=function(R,E,A){var P=R-60*E*1e3,M=c(P,A);if(E===M)return[P,E];var O=c(P-=60*(M-E)*1e3,A);return M===O?[P,M]:[R-60*Math.min(M,O)*1e3,Math.max(M,O)]}(a.utc(f,h).valueOf(),y,x),w=b[0],S=b[1],T=a(w).utcOffset(S);return T.$x.$timezone=x,T},a.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},a.tz.setDefault=function(f){s=f}}})})(P3);var gY=P3.exports;const vY=Ht(gY);var O3={exports:{}};(function(e,t){(function(r,n){e.exports=n()})(on,function(){return function(r,n,o){n.prototype.isBetween=function(i,a,s,l){var c=o(i),u=o(a),p=(l=l||"()")[0]==="(",f=l[1]===")";return(p?this.isAfter(c,s):!this.isBefore(c,s))&&(f?this.isBefore(u,s):!this.isAfter(u,s))||(p?this.isBefore(c,s):!this.isAfter(c,s))&&(f?this.isAfter(u,s):!this.isBefore(u,s))}}})})(O3);var yY=O3.exports;const bY=Ht(yY);var L3={exports:{}};(function(e,t){(function(r,n){e.exports=n()})(on,function(){return function(r,n,o){n.prototype.isToday=function(){var i="YYYY-MM-DD",a=o();return this.format(i)===a.format(i)}}})})(L3);var xY=L3.exports;const wY=Ht(xY);var SY={exports:{}};(function(e,t){(function(r,n){e.exports=n()})(on,function(){return{name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(r){var n=["th","st","nd","rd"],o=r%100;return"["+r+(n[(o-20)%10]||n[o]||n[0])+"]"}}})})(SY);const EY=["en"],aE={bg:()=>N(()=>import("./bg-BXGojKYu.js").then(e=>e.b),[]),ca:()=>N(()=>import("./ca-CHzGlO6g.js").then(e=>e.c),[]),cs:()=>N(()=>import("./cs-B7rosh6V.js").then(e=>e.c),[]),da:()=>N(()=>import("./da-DUIMAehZ.js").then(e=>e.d),[]),de:()=>N(()=>import("./de-DeznAU3i.js").then(e=>e.d),[]),el:()=>N(()=>import("./el-DB7Mlllv.js").then(e=>e.e),[]),es:()=>N(()=>import("./es-DaVKNU1o.js").then(e=>e.e),[]),fi:()=>N(()=>import("./fi-B0-DpiMU.js").then(e=>e.f),[]),fr:()=>N(()=>import("./fr-CrxxFP5t.js").then(e=>e.f),[]),hr:()=>N(()=>import("./hr-CdFAOCXY.js").then(e=>e.h),[]),hu:()=>N(()=>import("./hu-B6FGe1Ve.js").then(e=>e.h),[]),id:()=>N(()=>import("./id-CTAqAp_m.js").then(e=>e.i),[]),it:()=>N(()=>import("./it-D8JX93wm.js").then(e=>e.i),[]),ja:()=>N(()=>import("./ja--BoIT7PU.js").then(e=>e.j),[]),ko:()=>N(()=>import("./ko-BOsAwc4I.js").then(e=>e.k),[]),lv:()=>N(()=>import("./lv-CSSSlCGW.js").then(e=>e.l),[]),ms:()=>N(()=>import("./ms-DVqZw-Mr.js").then(e=>e.m),[]),nb:()=>N(()=>import("./nb-CfEKV6bj.js").then(e=>e.n),[]),nl:()=>N(()=>import("./nl-B5wofXkZ.js").then(e=>e.n),[]),pl:()=>N(()=>import("./pl-BpgvwRxi.js").then(e=>e.p),[]),pt:()=>N(()=>import("./pt-BArbfZWR.js").then(e=>e.p),[]),ro:()=>N(()=>import("./ro-CshqbskT.js").then(e=>e.r),[]),ru:()=>N(()=>import("./ru-bDpMBPxG.js").then(e=>e.r),[]),sk:()=>N(()=>import("./sk-5p1vxhdt.js").then(e=>e.s),[]),sl:()=>N(()=>import("./sl-DgqPplLR.js").then(e=>e.s),[]),sr:()=>N(()=>import("./sr-DYLmzIfS.js").then(e=>e.s),[]),sv:()=>N(()=>import("./sv-BT4_ZoIM.js").then(e=>e.s),[]),th:()=>N(()=>import("./th-BeC9O6mO.js").then(e=>e.t),[]),tr:()=>N(()=>import("./tr-DRzil3_f.js").then(e=>e.t),[]),uk:()=>N(()=>import("./uk-Ba8DsnNz.js").then(e=>e.u),[])};wt.extend(cY);wt.extend(fY);wt.extend(dY);wt.extend(mY);wt.extend(vY);wt.extend(bY);wt.extend(wY);wt.extend((e,t)=>{t.prototype.defaultFormat=function(){const n=GA.includes(this.$L)?"LL":"MMM D, YYYY";return Uc(this.tz().format(n))},t.prototype.toTz=function(){return this.tz(void 0,!0)},t.prototype.toLocalTz=function(){return this.tz().tz(wt.tz.guess(),!0)}});function CY(){const{locale:e,timezone:t}=Ea(r=>{var n;return{locale:Pp(r.user.locale),timezone:(n=r.user.user)==null?void 0:n.timezone}});return g.useEffect(()=>{if(EY.includes(e)){wt.locale(e);return}aE[e]&&aE[e]().then(()=>wt.locale(e))},[e]),g.useEffect(()=>{t&&wt.tz.setDefault(t||wt.tz.guess())},[t]),null}const xg="/assets/qr-types-mobile1-BaMClwB1.svg",TY="/assets/qr-types-mobile2-t0afINmW.svg";function N3(e=!0,t=[]){const r=de(),n=Nt("xs");return[{name:"url",title:bt("url"),description:r.formatMessage({id:"home.types.url.description"}),hasLanding:!0,isStatic:!1},{name:"pdf",title:bt("pdf"),description:r.formatMessage({id:"home.types.pdf.description"}),hasLanding:!0,isStatic:!1},{name:"product",title:bt("product"),description:r.formatMessage({id:"home.types.product.description"}),imageMobile:lv,hasLanding:!1,isStatic:!1},{name:"vcard-plus",title:bt("vcard-plus"),description:r.formatMessage({id:"home.types.vcardPlus.description"}),imageMobile:xg,hasLanding:!0,isStatic:!1},{name:"images",title:bt("images"),description:r.formatMessage({id:"home.types.images.description"}),hasLanding:!0,isStatic:!1},{name:"text",title:bt("text"),description:r.formatMessage({id:"home.types.text.description"}),isStatic:!0},{name:"video",title:bt("video"),description:r.formatMessage({id:"home.types.video.description"},{siteName:al}),hasLanding:!0,isStatic:!1},{name:"link-list",title:bt("link-list"),description:r.formatMessage({id:"home.types.linkList.description"}),hasLanding:!0,isStatic:!1},{name:"business",title:bt("business"),description:r.formatMessage({id:"home.types.business.description"}),imageMobile:xg,hasLanding:!0,isStatic:!1},{name:"menu",title:r.formatMessage({id:"home.types.menu.title"}),description:r.formatMessage({id:"home.types.menu.description"}),imageMobile:xg,hasLanding:!0,isStatic:!1},{name:"coupon",title:bt("coupon"),description:r.formatMessage({id:"home.types.coupon.description"}),hasLanding:!0,isStatic:!1},{name:"mp3",title:bt("mp3"),description:r.formatMessage({id:"home.types.mp3.description"}),hasLanding:!0,isStatic:!1},{name:"app",title:bt("app"),description:r.formatMessage({id:"home.types.app.description"}),hasLanding:!0,isStatic:!1},{name:"wifi",title:bt("wifi"),description:r.formatMessage({id:"home.types.wifi.description"}),isStatic:!0},{name:"landing",title:bt("landing"),description:r.formatMessage({id:"home.types.landing.description"}),hasLanding:!0,isStatic:!1},{name:"event",title:bt("event"),description:r.formatMessage({id:"home.types.event.description"}),hasLanding:!0,isStatic:!1},{name:"vcard",title:bt("vcard"),description:r.formatMessage({id:"home.types.vcard.description"}),isStatic:!0},{name:"feedback",title:bt("feedback"),description:r.formatMessage({id:"home.types.feedback.description"}),hasLanding:!0,isStatic:!1},{name:"playlist",title:bt("playlist"),description:r.formatMessage({id:"home.types.playlist.description"}),hasLanding:!0,isStatic:!1},{name:"email",title:bt("email"),description:r.formatMessage({id:"home.types.email.description"}),isStatic:!0},{name:"whatsapp",title:bt("whatsapp"),description:r.formatMessage({id:"home.types.whatsapp.description"}),isStatic:!0},{name:"sms",title:bt("sms"),description:r.formatMessage({id:"home.types.sms.description"}),isStatic:!0},{name:"barcode",title:bt("barcode"),description:r.formatMessage({id:"home.types.barcode.description"}),isStatic:!1},{name:"social",title:bt("social"),description:r.formatMessage({id:"home.types.social.description"}),isStatic:!1},{name:"staticUrl",title:r.formatMessage({id:"qrTypes.urlStatic.name"}),description:r.formatMessage({id:"home.types.staticUrl.description"}),hasLanding:!1,isStatic:!0}].map(({imageMobile:o,name:i,...a})=>{const s=[r.formatMessage({id:`home.types.${Cw(i)}.features.0`}),r.formatMessage({id:`home.types.${Cw(i)}.features.1`})];return n?{...a,name:i,image:o||TY,features:s}:{...a,name:i,image:lv,features:s}}).filter(o=>(!k1(o.name)||e)&&!t.includes(o.name))}var RY=function(t){return _Y(t)&&!AY(t)};function _Y(e){return!!e&&typeof e=="object"}function AY(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||MY(e)}var kY=typeof Symbol=="function"&&Symbol.for,IY=kY?Symbol.for("react.element"):60103;function MY(e){return e.$$typeof===IY}function PY(e){return Array.isArray(e)?[]:{}}function Gp(e,t){return t.clone!==!1&&t.isMergeableObject(e)?Qc(PY(e),e,t):e}function OY(e,t,r){return e.concat(t).map(function(n){return Gp(n,r)})}function LY(e,t,r){var n={};return r.isMergeableObject(e)&&Object.keys(e).forEach(function(o){n[o]=Gp(e[o],r)}),Object.keys(t).forEach(function(o){!r.isMergeableObject(t[o])||!e[o]?n[o]=Gp(t[o],r):n[o]=Qc(e[o],t[o],r)}),n}function Qc(e,t,r){r=r||{},r.arrayMerge=r.arrayMerge||OY,r.isMergeableObject=r.isMergeableObject||RY;var n=Array.isArray(t),o=Array.isArray(e),i=n===o;return i?n?r.arrayMerge(e,t,r):LY(e,t,r):Gp(t,r)}Qc.all=function(t,r){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(n,o){return Qc(n,o,r)},{})};var vv=Qc,$3=typeof global=="object"&&global&&global.Object===Object&&global,NY=typeof self=="object"&&self&&self.Object===Object&&self,Do=$3||NY||Function("return this")(),Li=Do.Symbol,D3=Object.prototype,$Y=D3.hasOwnProperty,DY=D3.toString,$l=Li?Li.toStringTag:void 0;function jY(e){var t=$Y.call(e,$l),r=e[$l];try{e[$l]=void 0;var n=!0}catch{}var o=DY.call(e);return n&&(t?e[$l]=r:delete e[$l]),o}var FY=Object.prototype,BY=FY.toString;function HY(e){return BY.call(e)}var UY="[object Null]",zY="[object Undefined]",sE=Li?Li.toStringTag:void 0;function Ra(e){return e==null?e===void 0?zY:UY:sE&&sE in Object(e)?jY(e):HY(e)}function j3(e,t){return function(r){return e(t(r))}}var l2=j3(Object.getPrototypeOf,Object);function _a(e){return e!=null&&typeof e=="object"}var VY="[object Object]",WY=Function.prototype,GY=Object.prototype,F3=WY.toString,qY=GY.hasOwnProperty,QY=F3.call(Object);function lE(e){if(!_a(e)||Ra(e)!=VY)return!1;var t=l2(e);if(t===null)return!0;var r=qY.call(t,"constructor")&&t.constructor;return typeof r=="function"&&r instanceof r&&F3.call(r)==QY}function YY(){this.__data__=[],this.size=0}function B3(e,t){return e===t||e!==e&&t!==t}function $h(e,t){for(var r=e.length;r--;)if(B3(e[r][0],t))return r;return-1}var KY=Array.prototype,ZY=KY.splice;function XY(e){var t=this.__data__,r=$h(t,e);if(r<0)return!1;var n=t.length-1;return r==n?t.pop():ZY.call(t,r,1),--this.size,!0}function JY(e){var t=this.__data__,r=$h(t,e);return r<0?void 0:t[r][1]}function eK(e){return $h(this.__data__,e)>-1}function tK(e,t){var r=this.__data__,n=$h(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}function oi(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}oi.prototype.clear=YY;oi.prototype.delete=XY;oi.prototype.get=JY;oi.prototype.has=eK;oi.prototype.set=tK;function rK(){this.__data__=new oi,this.size=0}function nK(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}function oK(e){return this.__data__.get(e)}function iK(e){return this.__data__.has(e)}function Mu(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var aK="[object AsyncFunction]",sK="[object Function]",lK="[object GeneratorFunction]",cK="[object Proxy]";function H3(e){if(!Mu(e))return!1;var t=Ra(e);return t==sK||t==lK||t==aK||t==cK}var wg=Do["__core-js_shared__"],cE=function(){var e=/[^.]+$/.exec(wg&&wg.keys&&wg.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function uK(e){return!!cE&&cE in e}var dK=Function.prototype,pK=dK.toString;function Aa(e){if(e!=null){try{return pK.call(e)}catch{}try{return e+""}catch{}}return""}var fK=/[\\^$.*+?()[\]{}|]/g,hK=/^\[object .+?Constructor\]$/,mK=Function.prototype,gK=Object.prototype,vK=mK.toString,yK=gK.hasOwnProperty,bK=RegExp("^"+vK.call(yK).replace(fK,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function xK(e){if(!Mu(e)||uK(e))return!1;var t=H3(e)?bK:hK;return t.test(Aa(e))}function wK(e,t){return e==null?void 0:e[t]}function ka(e,t){var r=wK(e,t);return xK(r)?r:void 0}var Yc=ka(Do,"Map"),Kc=ka(Object,"create");function SK(){this.__data__=Kc?Kc(null):{},this.size=0}function EK(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var CK="__lodash_hash_undefined__",TK=Object.prototype,RK=TK.hasOwnProperty;function _K(e){var t=this.__data__;if(Kc){var r=t[e];return r===CK?void 0:r}return RK.call(t,e)?t[e]:void 0}var AK=Object.prototype,kK=AK.hasOwnProperty;function IK(e){var t=this.__data__;return Kc?t[e]!==void 0:kK.call(t,e)}var MK="__lodash_hash_undefined__";function PK(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=Kc&&t===void 0?MK:t,this}function ya(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}ya.prototype.clear=SK;ya.prototype.delete=EK;ya.prototype.get=_K;ya.prototype.has=IK;ya.prototype.set=PK;function OK(){this.size=0,this.__data__={hash:new ya,map:new(Yc||oi),string:new ya}}function LK(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function Dh(e,t){var r=e.__data__;return LK(t)?r[typeof t=="string"?"string":"hash"]:r.map}function NK(e){var t=Dh(this,e).delete(e);return this.size-=t?1:0,t}function $K(e){return Dh(this,e).get(e)}function DK(e){return Dh(this,e).has(e)}function jK(e,t){var r=Dh(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this}function Ui(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}Ui.prototype.clear=OK;Ui.prototype.delete=NK;Ui.prototype.get=$K;Ui.prototype.has=DK;Ui.prototype.set=jK;var FK=200;function BK(e,t){var r=this.__data__;if(r instanceof oi){var n=r.__data__;if(!Yc||n.length<FK-1)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new Ui(n)}return r.set(e,t),this.size=r.size,this}function ul(e){var t=this.__data__=new oi(e);this.size=t.size}ul.prototype.clear=rK;ul.prototype.delete=nK;ul.prototype.get=oK;ul.prototype.has=iK;ul.prototype.set=BK;function HK(e,t){for(var r=-1,n=e==null?0:e.length;++r<n&&t(e[r],r,e)!==!1;);return e}var uE=function(){try{var e=ka(Object,"defineProperty");return e({},"",{}),e}catch{}}();function U3(e,t,r){t=="__proto__"&&uE?uE(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}var UK=Object.prototype,zK=UK.hasOwnProperty;function z3(e,t,r){var n=e[t];(!(zK.call(e,t)&&B3(n,r))||r===void 0&&!(t in e))&&U3(e,t,r)}function jh(e,t,r,n){var o=!r;r||(r={});for(var i=-1,a=t.length;++i<a;){var s=t[i],l=void 0;l===void 0&&(l=e[s]),o?U3(r,s,l):z3(r,s,l)}return r}function VK(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}var WK="[object Arguments]";function dE(e){return _a(e)&&Ra(e)==WK}var V3=Object.prototype,GK=V3.hasOwnProperty,qK=V3.propertyIsEnumerable,QK=dE(function(){return arguments}())?dE:function(e){return _a(e)&&GK.call(e,"callee")&&!qK.call(e,"callee")},Pu=Array.isArray;function YK(){return!1}var W3=typeof exports=="object"&&exports&&!exports.nodeType&&exports,pE=W3&&typeof module=="object"&&module&&!module.nodeType&&module,KK=pE&&pE.exports===W3,fE=KK?Do.Buffer:void 0,ZK=fE?fE.isBuffer:void 0,G3=ZK||YK,XK=9007199254740991,JK=/^(?:0|[1-9]\d*)$/;function eZ(e,t){var r=typeof e;return t=t??XK,!!t&&(r=="number"||r!="symbol"&&JK.test(e))&&e>-1&&e%1==0&&e<t}var tZ=9007199254740991;function q3(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=tZ}var rZ="[object Arguments]",nZ="[object Array]",oZ="[object Boolean]",iZ="[object Date]",aZ="[object Error]",sZ="[object Function]",lZ="[object Map]",cZ="[object Number]",uZ="[object Object]",dZ="[object RegExp]",pZ="[object Set]",fZ="[object String]",hZ="[object WeakMap]",mZ="[object ArrayBuffer]",gZ="[object DataView]",vZ="[object Float32Array]",yZ="[object Float64Array]",bZ="[object Int8Array]",xZ="[object Int16Array]",wZ="[object Int32Array]",SZ="[object Uint8Array]",EZ="[object Uint8ClampedArray]",CZ="[object Uint16Array]",TZ="[object Uint32Array]",ft={};ft[vZ]=ft[yZ]=ft[bZ]=ft[xZ]=ft[wZ]=ft[SZ]=ft[EZ]=ft[CZ]=ft[TZ]=!0;ft[rZ]=ft[nZ]=ft[mZ]=ft[oZ]=ft[gZ]=ft[iZ]=ft[aZ]=ft[sZ]=ft[lZ]=ft[cZ]=ft[uZ]=ft[dZ]=ft[pZ]=ft[fZ]=ft[hZ]=!1;function RZ(e){return _a(e)&&q3(e.length)&&!!ft[Ra(e)]}function c2(e){return function(t){return e(t)}}var Q3=typeof exports=="object"&&exports&&!exports.nodeType&&exports,cc=Q3&&typeof module=="object"&&module&&!module.nodeType&&module,_Z=cc&&cc.exports===Q3,Sg=_Z&&$3.process,Ks=function(){try{var e=cc&&cc.require&&cc.require("util").types;return e||Sg&&Sg.binding&&Sg.binding("util")}catch{}}(),hE=Ks&&Ks.isTypedArray,AZ=hE?c2(hE):RZ,kZ=Object.prototype,IZ=kZ.hasOwnProperty;function Y3(e,t){var r=Pu(e),n=!r&&QK(e),o=!r&&!n&&G3(e),i=!r&&!n&&!o&&AZ(e),a=r||n||o||i,s=a?VK(e.length,String):[],l=s.length;for(var c in e)(t||IZ.call(e,c))&&!(a&&(c=="length"||o&&(c=="offset"||c=="parent")||i&&(c=="buffer"||c=="byteLength"||c=="byteOffset")||eZ(c,l)))&&s.push(c);return s}var MZ=Object.prototype;function u2(e){var t=e&&e.constructor,r=typeof t=="function"&&t.prototype||MZ;return e===r}var PZ=j3(Object.keys,Object),OZ=Object.prototype,LZ=OZ.hasOwnProperty;function NZ(e){if(!u2(e))return PZ(e);var t=[];for(var r in Object(e))LZ.call(e,r)&&r!="constructor"&&t.push(r);return t}function K3(e){return e!=null&&q3(e.length)&&!H3(e)}function d2(e){return K3(e)?Y3(e):NZ(e)}function $Z(e,t){return e&&jh(t,d2(t),e)}function DZ(e){var t=[];if(e!=null)for(var r in Object(e))t.push(r);return t}var jZ=Object.prototype,FZ=jZ.hasOwnProperty;function BZ(e){if(!Mu(e))return DZ(e);var t=u2(e),r=[];for(var n in e)n=="constructor"&&(t||!FZ.call(e,n))||r.push(n);return r}function p2(e){return K3(e)?Y3(e,!0):BZ(e)}function HZ(e,t){return e&&jh(t,p2(t),e)}var Z3=typeof exports=="object"&&exports&&!exports.nodeType&&exports,mE=Z3&&typeof module=="object"&&module&&!module.nodeType&&module,UZ=mE&&mE.exports===Z3,gE=UZ?Do.Buffer:void 0,vE=gE?gE.allocUnsafe:void 0;function zZ(e,t){if(t)return e.slice();var r=e.length,n=vE?vE(r):new e.constructor(r);return e.copy(n),n}function X3(e,t){var r=-1,n=e.length;for(t||(t=Array(n));++r<n;)t[r]=e[r];return t}function VZ(e,t){for(var r=-1,n=e==null?0:e.length,o=0,i=[];++r<n;){var a=e[r];t(a,r,e)&&(i[o++]=a)}return i}function J3(){return[]}var WZ=Object.prototype,GZ=WZ.propertyIsEnumerable,yE=Object.getOwnPropertySymbols,f2=yE?function(e){return e==null?[]:(e=Object(e),VZ(yE(e),function(t){return GZ.call(e,t)}))}:J3;function qZ(e,t){return jh(e,f2(e),t)}function eM(e,t){for(var r=-1,n=t.length,o=e.length;++r<n;)e[o+r]=t[r];return e}var QZ=Object.getOwnPropertySymbols,tM=QZ?function(e){for(var t=[];e;)eM(t,f2(e)),e=l2(e);return t}:J3;function YZ(e,t){return jh(e,tM(e),t)}function rM(e,t,r){var n=t(e);return Pu(e)?n:eM(n,r(e))}function KZ(e){return rM(e,d2,f2)}function ZZ(e){return rM(e,p2,tM)}var yv=ka(Do,"DataView"),bv=ka(Do,"Promise"),xv=ka(Do,"Set"),wv=ka(Do,"WeakMap"),bE="[object Map]",XZ="[object Object]",xE="[object Promise]",wE="[object Set]",SE="[object WeakMap]",EE="[object DataView]",JZ=Aa(yv),eX=Aa(Yc),tX=Aa(bv),rX=Aa(xv),nX=Aa(wv),Uo=Ra;(yv&&Uo(new yv(new ArrayBuffer(1)))!=EE||Yc&&Uo(new Yc)!=bE||bv&&Uo(bv.resolve())!=xE||xv&&Uo(new xv)!=wE||wv&&Uo(new wv)!=SE)&&(Uo=function(e){var t=Ra(e),r=t==XZ?e.constructor:void 0,n=r?Aa(r):"";if(n)switch(n){case JZ:return EE;case eX:return bE;case tX:return xE;case rX:return wE;case nX:return SE}return t});var oX=Object.prototype,iX=oX.hasOwnProperty;function aX(e){var t=e.length,r=new e.constructor(t);return t&&typeof e[0]=="string"&&iX.call(e,"index")&&(r.index=e.index,r.input=e.input),r}var CE=Do.Uint8Array;function h2(e){var t=new e.constructor(e.byteLength);return new CE(t).set(new CE(e)),t}function sX(e,t){var r=t?h2(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)}var lX=/\w*$/;function cX(e){var t=new e.constructor(e.source,lX.exec(e));return t.lastIndex=e.lastIndex,t}var TE=Li?Li.prototype:void 0,RE=TE?TE.valueOf:void 0;function uX(e){return RE?Object(RE.call(e)):{}}function dX(e,t){var r=t?h2(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}var pX="[object Boolean]",fX="[object Date]",hX="[object Map]",mX="[object Number]",gX="[object RegExp]",vX="[object Set]",yX="[object String]",bX="[object Symbol]",xX="[object ArrayBuffer]",wX="[object DataView]",SX="[object Float32Array]",EX="[object Float64Array]",CX="[object Int8Array]",TX="[object Int16Array]",RX="[object Int32Array]",_X="[object Uint8Array]",AX="[object Uint8ClampedArray]",kX="[object Uint16Array]",IX="[object Uint32Array]";function MX(e,t,r){var n=e.constructor;switch(t){case xX:return h2(e);case pX:case fX:return new n(+e);case wX:return sX(e,r);case SX:case EX:case CX:case TX:case RX:case _X:case AX:case kX:case IX:return dX(e,r);case hX:return new n;case mX:case yX:return new n(e);case gX:return cX(e);case vX:return new n;case bX:return uX(e)}}var _E=Object.create,PX=function(){function e(){}return function(t){if(!Mu(t))return{};if(_E)return _E(t);e.prototype=t;var r=new e;return e.prototype=void 0,r}}();function OX(e){return typeof e.constructor=="function"&&!u2(e)?PX(l2(e)):{}}var LX="[object Map]";function NX(e){return _a(e)&&Uo(e)==LX}var AE=Ks&&Ks.isMap,$X=AE?c2(AE):NX,DX="[object Set]";function jX(e){return _a(e)&&Uo(e)==DX}var kE=Ks&&Ks.isSet,FX=kE?c2(kE):jX,BX=1,HX=2,UX=4,nM="[object Arguments]",zX="[object Array]",VX="[object Boolean]",WX="[object Date]",GX="[object Error]",oM="[object Function]",qX="[object GeneratorFunction]",QX="[object Map]",YX="[object Number]",iM="[object Object]",KX="[object RegExp]",ZX="[object Set]",XX="[object String]",JX="[object Symbol]",eJ="[object WeakMap]",tJ="[object ArrayBuffer]",rJ="[object DataView]",nJ="[object Float32Array]",oJ="[object Float64Array]",iJ="[object Int8Array]",aJ="[object Int16Array]",sJ="[object Int32Array]",lJ="[object Uint8Array]",cJ="[object Uint8ClampedArray]",uJ="[object Uint16Array]",dJ="[object Uint32Array]",lt={};lt[nM]=lt[zX]=lt[tJ]=lt[rJ]=lt[VX]=lt[WX]=lt[nJ]=lt[oJ]=lt[iJ]=lt[aJ]=lt[sJ]=lt[QX]=lt[YX]=lt[iM]=lt[KX]=lt[ZX]=lt[XX]=lt[JX]=lt[lJ]=lt[cJ]=lt[uJ]=lt[dJ]=!0;lt[GX]=lt[oM]=lt[eJ]=!1;function uc(e,t,r,n,o,i){var a,s=t&BX,l=t&HX,c=t&UX;if(a!==void 0)return a;if(!Mu(e))return e;var u=Pu(e);if(u){if(a=aX(e),!s)return X3(e,a)}else{var p=Uo(e),f=p==oM||p==qX;if(G3(e))return zZ(e,s);if(p==iM||p==nM||f&&!o){if(a=l||f?{}:OX(e),!s)return l?YZ(e,HZ(a,e)):qZ(e,$Z(a,e))}else{if(!lt[p])return o?e:{};a=MX(e,p,s)}}i||(i=new ul);var m=i.get(e);if(m)return m;i.set(e,a),FX(e)?e.forEach(function(x){a.add(uc(x,t,r,x,e,i))}):$X(e)&&e.forEach(function(x,y){a.set(y,uc(x,t,r,y,e,i))});var v=c?l?ZZ:KZ:l?p2:d2,h=u?void 0:v(e);return HK(h||e,function(x,y){h&&(y=x,x=e[y]),z3(a,y,uc(x,t,r,y,e,i))}),a}var pJ=1,fJ=4;function Wl(e){return uc(e,pJ|fJ)}var IE=Array.isArray,ME=Object.keys,hJ=Object.prototype.hasOwnProperty,mJ=typeof Element<"u";function Sv(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){var r=IE(e),n=IE(t),o,i,a;if(r&&n){if(i=e.length,i!=t.length)return!1;for(o=i;o--!==0;)if(!Sv(e[o],t[o]))return!1;return!0}if(r!=n)return!1;var s=e instanceof Date,l=t instanceof Date;if(s!=l)return!1;if(s&&l)return e.getTime()==t.getTime();var c=e instanceof RegExp,u=t instanceof RegExp;if(c!=u)return!1;if(c&&u)return e.toString()==t.toString();var p=ME(e);if(i=p.length,i!==ME(t).length)return!1;for(o=i;o--!==0;)if(!hJ.call(t,p[o]))return!1;if(mJ&&e instanceof Element&&t instanceof Element)return e===t;for(o=i;o--!==0;)if(a=p[o],!(a==="_owner"&&e.$$typeof)&&!Sv(e[a],t[a]))return!1;return!0}return e!==e&&t!==t}var gJ=function(t,r){try{return Sv(t,r)}catch(n){if(n.message&&n.message.match(/stack|recursion/i)||n.number===-2146828260)return console.warn("Warning: react-fast-compare does not handle circular references.",n.name,n.message),!1;throw n}};const pi=Ht(gJ);var vJ=4;function PE(e){return uc(e,vJ)}function aM(e,t){for(var r=-1,n=e==null?0:e.length,o=Array(n);++r<n;)o[r]=t(e[r],r,e);return o}var yJ="[object Symbol]";function m2(e){return typeof e=="symbol"||_a(e)&&Ra(e)==yJ}var bJ="Expected a function";function g2(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(bJ);var r=function(){var n=arguments,o=t?t.apply(this,n):n[0],i=r.cache;if(i.has(o))return i.get(o);var a=e.apply(this,n);return r.cache=i.set(o,a)||i,a};return r.cache=new(g2.Cache||Ui),r}g2.Cache=Ui;var xJ=500;function wJ(e){var t=g2(e,function(n){return r.size===xJ&&r.clear(),n}),r=t.cache;return t}var SJ=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,EJ=/\\(\\)?/g,CJ=wJ(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(SJ,function(r,n,o,i){t.push(o?i.replace(EJ,"$1"):n||r)}),t}),TJ=1/0;function RJ(e){if(typeof e=="string"||m2(e))return e;var t=e+"";return t=="0"&&1/e==-TJ?"-0":t}var _J=1/0,OE=Li?Li.prototype:void 0,LE=OE?OE.toString:void 0;function sM(e){if(typeof e=="string")return e;if(Pu(e))return aM(e,sM)+"";if(m2(e))return LE?LE.call(e):"";var t=e+"";return t=="0"&&1/e==-_J?"-0":t}function AJ(e){return e==null?"":sM(e)}function lM(e){return Pu(e)?aM(e,RJ):m2(e)?[e]:X3(CJ(AJ(e)))}function He(){return He=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},He.apply(this,arguments)}function cM(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function Zn(e,t){if(e==null)return{};var r={},n=Object.keys(e),o,i;for(i=0;i<n.length;i++)o=n[i],!(t.indexOf(o)>=0)&&(r[o]=e[o]);return r}function NE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var Fh=g.createContext(void 0);Fh.displayName="FormikContext";var kJ=Fh.Provider,IJ=Fh.Consumer;function Ou(){var e=g.useContext(Fh);return e}var $E=function(t){return Array.isArray(t)&&t.length===0},mr=function(t){return typeof t=="function"},dl=function(t){return t!==null&&typeof t=="object"},MJ=function(t){return String(Math.floor(Number(t)))===t},Eg=function(t){return Object.prototype.toString.call(t)==="[object String]"},v2=function(t){return g.Children.count(t)===0},Cg=function(t){return dl(t)&&mr(t.then)};function Ue(e,t,r,n){n===void 0&&(n=0);for(var o=lM(t);e&&n<o.length;)e=e[o[n++]];return n!==o.length&&!e||e===void 0?r:e}function To(e,t,r){for(var n=PE(e),o=n,i=0,a=lM(t);i<a.length-1;i++){var s=a[i],l=Ue(e,a.slice(0,i+1));if(l&&(dl(l)||Array.isArray(l)))o=o[s]=PE(l);else{var c=a[i+1];o=o[s]=MJ(c)&&Number(c)>=0?[]:{}}}return(i===0?e:o)[a[i]]===r?e:(r===void 0?delete o[a[i]]:o[a[i]]=r,i===0&&r===void 0&&delete n[a[i]],n)}function uM(e,t,r,n){r===void 0&&(r=new WeakMap),n===void 0&&(n={});for(var o=0,i=Object.keys(e);o<i.length;o++){var a=i[o],s=e[a];dl(s)?r.get(s)||(r.set(s,!0),n[a]=Array.isArray(s)?[]:{},uM(s,t,r,n[a])):n[a]=t}return n}function PJ(e,t){switch(t.type){case"SET_VALUES":return He({},e,{values:t.payload});case"SET_TOUCHED":return He({},e,{touched:t.payload});case"SET_ERRORS":return pi(e.errors,t.payload)?e:He({},e,{errors:t.payload});case"SET_STATUS":return He({},e,{status:t.payload});case"SET_ISSUBMITTING":return He({},e,{isSubmitting:t.payload});case"SET_ISVALIDATING":return He({},e,{isValidating:t.payload});case"SET_FIELD_VALUE":return He({},e,{values:To(e.values,t.payload.field,t.payload.value)});case"SET_FIELD_TOUCHED":return He({},e,{touched:To(e.touched,t.payload.field,t.payload.value)});case"SET_FIELD_ERROR":return He({},e,{errors:To(e.errors,t.payload.field,t.payload.value)});case"RESET_FORM":return He({},e,t.payload);case"SET_FORMIK_STATE":return t.payload(e);case"SUBMIT_ATTEMPT":return He({},e,{touched:uM(e.values,!0),isSubmitting:!0,submitCount:e.submitCount+1});case"SUBMIT_FAILURE":return He({},e,{isSubmitting:!1});case"SUBMIT_SUCCESS":return He({},e,{isSubmitting:!1});default:return e}}var qi={},vd={};function OJ(e){var t=e.validateOnChange,r=t===void 0?!0:t,n=e.validateOnBlur,o=n===void 0?!0:n,i=e.validateOnMount,a=i===void 0?!1:i,s=e.isInitialValid,l=e.enableReinitialize,c=l===void 0?!1:l,u=e.onSubmit,p=Zn(e,["validateOnChange","validateOnBlur","validateOnMount","isInitialValid","enableReinitialize","onSubmit"]),f=He({validateOnChange:r,validateOnBlur:o,validateOnMount:a,onSubmit:u},p),m=g.useRef(f.initialValues),v=g.useRef(f.initialErrors||qi),h=g.useRef(f.initialTouched||vd),x=g.useRef(f.initialStatus),y=g.useRef(!1),b=g.useRef({});g.useEffect(function(){return y.current=!0,function(){y.current=!1}},[]);var w=g.useState(0),S=w[1],T=g.useRef({values:Wl(f.initialValues),errors:Wl(f.initialErrors)||qi,touched:Wl(f.initialTouched)||vd,status:Wl(f.initialStatus),isSubmitting:!1,isValidating:!1,submitCount:0}),R=T.current,E=g.useCallback(function(U){var ee=T.current;T.current=PJ(ee,U),ee!==T.current&&S(function(J){return J+1})},[]),A=g.useCallback(function(U,ee){return new Promise(function(J,ce){var ve=f.validate(U,ee);ve==null?J(qi):Cg(ve)?ve.then(function(Pe){J(Pe||qi)},function(Pe){ce(Pe)}):J(ve)})},[f.validate]),P=g.useCallback(function(U,ee){var J=f.validationSchema,ce=mr(J)?J(ee):J,ve=ee&&ce.validateAt?ce.validateAt(ee,U):$J(U,ce);return new Promise(function(Pe,we){ve.then(function(){Pe(qi)},function(fe){fe.name==="ValidationError"?Pe(NJ(fe)):we(fe)})})},[f.validationSchema]),M=g.useCallback(function(U,ee){return new Promise(function(J){return J(b.current[U].validate(ee))})},[]),O=g.useCallback(function(U){var ee=Object.keys(b.current).filter(function(ce){return mr(b.current[ce].validate)}),J=ee.length>0?ee.map(function(ce){return M(ce,Ue(U,ce))}):[Promise.resolve("DO_NOT_DELETE_YOU_WILL_BE_FIRED")];return Promise.all(J).then(function(ce){return ce.reduce(function(ve,Pe,we){return Pe==="DO_NOT_DELETE_YOU_WILL_BE_FIRED"||Pe&&(ve=To(ve,ee[we],Pe)),ve},{})})},[M]),F=g.useCallback(function(U){return Promise.all([O(U),f.validationSchema?P(U):{},f.validate?A(U):{}]).then(function(ee){var J=ee[0],ce=ee[1],ve=ee[2],Pe=vv.all([J,ce,ve],{arrayMerge:DJ});return Pe})},[f.validate,f.validationSchema,O,A,P]),I=vn(function(U){return U===void 0&&(U=R.values),E({type:"SET_ISVALIDATING",payload:!0}),F(U).then(function(ee){return y.current&&(E({type:"SET_ISVALIDATING",payload:!1}),E({type:"SET_ERRORS",payload:ee})),ee})});g.useEffect(function(){a&&y.current===!0&&pi(m.current,f.initialValues)&&I(m.current)},[a,I]);var D=g.useCallback(function(U){var ee=U&&U.values?U.values:m.current,J=U&&U.errors?U.errors:v.current?v.current:f.initialErrors||{},ce=U&&U.touched?U.touched:h.current?h.current:f.initialTouched||{},ve=U&&U.status?U.status:x.current?x.current:f.initialStatus;m.current=ee,v.current=J,h.current=ce,x.current=ve;var Pe=function(){E({type:"RESET_FORM",payload:{isSubmitting:!!U&&!!U.isSubmitting,errors:J,touched:ce,status:ve,values:ee,isValidating:!!U&&!!U.isValidating,submitCount:U&&U.submitCount&&typeof U.submitCount=="number"?U.submitCount:0}})};if(f.onReset){var we=f.onReset(R.values,pe);Cg(we)?we.then(Pe):Pe()}else Pe()},[f.initialErrors,f.initialStatus,f.initialTouched,f.onReset]);g.useEffect(function(){y.current===!0&&!pi(m.current,f.initialValues)&&c&&(m.current=f.initialValues,D(),a&&I(m.current))},[c,f.initialValues,D,a,I]),g.useEffect(function(){c&&y.current===!0&&!pi(v.current,f.initialErrors)&&(v.current=f.initialErrors||qi,E({type:"SET_ERRORS",payload:f.initialErrors||qi}))},[c,f.initialErrors]),g.useEffect(function(){c&&y.current===!0&&!pi(h.current,f.initialTouched)&&(h.current=f.initialTouched||vd,E({type:"SET_TOUCHED",payload:f.initialTouched||vd}))},[c,f.initialTouched]),g.useEffect(function(){c&&y.current===!0&&!pi(x.current,f.initialStatus)&&(x.current=f.initialStatus,E({type:"SET_STATUS",payload:f.initialStatus}))},[c,f.initialStatus,f.initialTouched]);var $=vn(function(U){if(b.current[U]&&mr(b.current[U].validate)){var ee=Ue(R.values,U),J=b.current[U].validate(ee);return Cg(J)?(E({type:"SET_ISVALIDATING",payload:!0}),J.then(function(ce){return ce}).then(function(ce){E({type:"SET_FIELD_ERROR",payload:{field:U,value:ce}}),E({type:"SET_ISVALIDATING",payload:!1})})):(E({type:"SET_FIELD_ERROR",payload:{field:U,value:J}}),Promise.resolve(J))}else if(f.validationSchema)return E({type:"SET_ISVALIDATING",payload:!0}),P(R.values,U).then(function(ce){return ce}).then(function(ce){E({type:"SET_FIELD_ERROR",payload:{field:U,value:Ue(ce,U)}}),E({type:"SET_ISVALIDATING",payload:!1})});return Promise.resolve()}),j=g.useCallback(function(U,ee){var J=ee.validate;b.current[U]={validate:J}},[]),H=g.useCallback(function(U){delete b.current[U]},[]),k=vn(function(U,ee){E({type:"SET_TOUCHED",payload:U});var J=ee===void 0?o:ee;return J?I(R.values):Promise.resolve()}),L=g.useCallback(function(U){E({type:"SET_ERRORS",payload:U})},[]),B=vn(function(U,ee){var J=mr(U)?U(R.values):U;E({type:"SET_VALUES",payload:J});var ce=ee===void 0?r:ee;return ce?I(J):Promise.resolve()}),z=g.useCallback(function(U,ee){E({type:"SET_FIELD_ERROR",payload:{field:U,value:ee}})},[]),V=vn(function(U,ee,J){E({type:"SET_FIELD_VALUE",payload:{field:U,value:ee}});var ce=J===void 0?r:J;return ce?I(To(R.values,U,ee)):Promise.resolve()}),K=g.useCallback(function(U,ee){var J=ee,ce=U,ve;if(!Eg(U)){U.persist&&U.persist();var Pe=U.target?U.target:U.currentTarget,we=Pe.type,fe=Pe.name,St=Pe.id,Yr=Pe.value,Kr=Pe.checked,ye=Pe.outerHTML,qe=Pe.options,vt=Pe.multiple;J=ee||fe||St,ce=/number|range/.test(we)?(ve=parseFloat(Yr),isNaN(ve)?"":ve):/checkbox/.test(we)?FJ(Ue(R.values,J),Kr,Yr):qe&&vt?jJ(qe):Yr}J&&V(J,ce)},[V,R.values]),q=vn(function(U){if(Eg(U))return function(ee){return K(ee,U)};K(U)}),te=vn(function(U,ee,J){ee===void 0&&(ee=!0),E({type:"SET_FIELD_TOUCHED",payload:{field:U,value:ee}});var ce=J===void 0?o:J;return ce?I(R.values):Promise.resolve()}),Y=g.useCallback(function(U,ee){U.persist&&U.persist();var J=U.target,ce=J.name,ve=J.id,Pe=J.outerHTML,we=ee||ce||ve;te(we,!0)},[te]),se=vn(function(U){if(Eg(U))return function(ee){return Y(ee,U)};Y(U)}),oe=g.useCallback(function(U){mr(U)?E({type:"SET_FORMIK_STATE",payload:U}):E({type:"SET_FORMIK_STATE",payload:function(){return U}})},[]),ie=g.useCallback(function(U){E({type:"SET_STATUS",payload:U})},[]),he=g.useCallback(function(U){E({type:"SET_ISSUBMITTING",payload:U})},[]),ae=vn(function(){return E({type:"SUBMIT_ATTEMPT"}),I().then(function(U){var ee=U instanceof Error,J=!ee&&Object.keys(U).length===0;if(J){var ce;try{if(ce=Ae(),ce===void 0)return}catch(ve){throw ve}return Promise.resolve(ce).then(function(ve){return y.current&&E({type:"SUBMIT_SUCCESS"}),ve}).catch(function(ve){if(y.current)throw E({type:"SUBMIT_FAILURE"}),ve})}else if(y.current&&(E({type:"SUBMIT_FAILURE"}),ee))throw U})}),Re=vn(function(U){U&&U.preventDefault&&mr(U.preventDefault)&&U.preventDefault(),U&&U.stopPropagation&&mr(U.stopPropagation)&&U.stopPropagation(),ae().catch(function(ee){console.warn("Warning: An unhandled error was caught from submitForm()",ee)})}),pe={resetForm:D,validateForm:I,validateField:$,setErrors:L,setFieldError:z,setFieldTouched:te,setFieldValue:V,setStatus:ie,setSubmitting:he,setTouched:k,setValues:B,setFormikState:oe,submitForm:ae},Ae=vn(function(){return u(R.values,pe)}),Me=vn(function(U){U&&U.preventDefault&&mr(U.preventDefault)&&U.preventDefault(),U&&U.stopPropagation&&mr(U.stopPropagation)&&U.stopPropagation(),D()}),Oe=g.useCallback(function(U){return{value:Ue(R.values,U),error:Ue(R.errors,U),touched:!!Ue(R.touched,U),initialValue:Ue(m.current,U),initialTouched:!!Ue(h.current,U),initialError:Ue(v.current,U)}},[R.errors,R.touched,R.values]),Ke=g.useCallback(function(U){return{setValue:function(J,ce){return V(U,J,ce)},setTouched:function(J,ce){return te(U,J,ce)},setError:function(J){return z(U,J)}}},[V,te,z]),at=g.useCallback(function(U){var ee=dl(U),J=ee?U.name:U,ce=Ue(R.values,J),ve={name:J,value:ce,onChange:q,onBlur:se};if(ee){var Pe=U.type,we=U.value,fe=U.as,St=U.multiple;Pe==="checkbox"?we===void 0?ve.checked=!!ce:(ve.checked=!!(Array.isArray(ce)&&~ce.indexOf(we)),ve.value=we):Pe==="radio"?(ve.checked=ce===we,ve.value=we):fe==="select"&&St&&(ve.value=ve.value||[],ve.multiple=!0)}return ve},[se,q,R.values]),gt=g.useMemo(function(){return!pi(m.current,R.values)},[m.current,R.values]),ot=g.useMemo(function(){return typeof s<"u"?gt?R.errors&&Object.keys(R.errors).length===0:s!==!1&&mr(s)?s(f):s:R.errors&&Object.keys(R.errors).length===0},[s,gt,R.errors,f]),Ge=He({},R,{initialValues:m.current,initialErrors:v.current,initialTouched:h.current,initialStatus:x.current,handleBlur:se,handleChange:q,handleReset:Me,handleSubmit:Re,resetForm:D,setErrors:L,setFormikState:oe,setFieldTouched:te,setFieldValue:V,setFieldError:z,setStatus:ie,setSubmitting:he,setTouched:k,setValues:B,submitForm:ae,validateForm:I,validateField:$,isValid:ot,dirty:gt,unregisterField:H,registerField:j,getFieldProps:at,getFieldMeta:Oe,getFieldHelpers:Ke,validateOnBlur:o,validateOnChange:r,validateOnMount:a});return Ge}function LJ(e){var t=OJ(e),r=e.component,n=e.children,o=e.render,i=e.innerRef;return g.useImperativeHandle(i,function(){return t}),g.createElement(kJ,{value:t},r?g.createElement(r,t):o?o(t):n?mr(n)?n(t):v2(n)?null:g.Children.only(n):null)}function NJ(e){var t={};if(e.inner){if(e.inner.length===0)return To(t,e.path,e.message);for(var o=e.inner,r=Array.isArray(o),n=0,o=r?o:o[Symbol.iterator]();;){var i;if(r){if(n>=o.length)break;i=o[n++]}else{if(n=o.next(),n.done)break;i=n.value}var a=i;Ue(t,a.path)||(t=To(t,a.path,a.message))}}return t}function $J(e,t,r,n){r===void 0&&(r=!1);var o=Ev(e);return t[r?"validateSync":"validate"](o,{abortEarly:!1,context:o})}function Ev(e){var t=Array.isArray(e)?[]:{};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var n=String(r);Array.isArray(e[n])===!0?t[n]=e[n].map(function(o){return Array.isArray(o)===!0||lE(o)?Ev(o):o!==""?o:void 0}):lE(e[n])?t[n]=Ev(e[n]):t[n]=e[n]!==""?e[n]:void 0}return t}function DJ(e,t,r){var n=e.slice();return t.forEach(function(i,a){if(typeof n[a]>"u"){var s=r.clone!==!1,l=s&&r.isMergeableObject(i);n[a]=l?vv(Array.isArray(i)?[]:{},i,r):i}else r.isMergeableObject(i)?n[a]=vv(e[a],i,r):e.indexOf(i)===-1&&n.push(i)}),n}function jJ(e){return Array.from(e).filter(function(t){return t.selected}).map(function(t){return t.value})}function FJ(e,t,r){if(typeof e=="boolean")return!!t;var n=[],o=!1,i=-1;if(Array.isArray(e))n=e,i=e.indexOf(r),o=i>=0;else if(!r||r=="true"||r=="false")return!!t;return t&&r&&!o?n.concat(r):o?n.slice(0,i).concat(n.slice(i+1)):n}var BJ=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u"?g.useLayoutEffect:g.useEffect;function vn(e){var t=g.useRef(e);return BJ(function(){t.current=e}),g.useCallback(function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return t.current.apply(void 0,n)},[])}function rle(e){var t=Ou(),r=t.getFieldProps,n=t.getFieldMeta,o=t.getFieldHelpers,i=t.registerField,a=t.unregisterField,s=dl(e),l=s?e:{name:e},c=l.name,u=l.validate;g.useEffect(function(){return c&&i(c,{validate:u}),function(){c&&a(c)}},[i,a,c,u]);var p=g.useMemo(function(){return o(c)},[o,c]);return[r(l),n(c),p]}function Ct(e){var t=e.validate,r=e.name,n=e.render,o=e.children,i=e.as,a=e.component,s=e.className,l=Zn(e,["validate","name","render","children","as","component","className"]),c=Ou(),u=Zn(c,["validate","validationSchema"]),p=u.registerField,f=u.unregisterField;g.useEffect(function(){return p(r,{validate:t}),function(){f(r)}},[p,f,r,t]);var m=u.getFieldProps(He({name:r},l)),v=u.getFieldMeta(r),h={field:m,form:u};if(n)return n(He({},h,{meta:v}));if(mr(o))return o(He({},h,{meta:v}));if(a){if(typeof a=="string"){var x=l.innerRef,y=Zn(l,["innerRef"]);return g.createElement(a,He({ref:x},m,y,{className:s}),o)}return g.createElement(a,He({field:m,form:u},l,{className:s}),o)}var b=i||"input";if(typeof b=="string"){var w=l.innerRef,S=Zn(l,["innerRef"]);return g.createElement(b,He({ref:w},m,S,{className:s}),o)}return g.createElement(b,He({},m,l,{className:s}),o)}var dM=g.forwardRef(function(e,t){var r=e.action,n=Zn(e,["action"]),o=r??"#",i=Ou(),a=i.handleReset,s=i.handleSubmit;return g.createElement("form",He({onSubmit:s,ref:t,onReset:a,action:o},n))});dM.displayName="Form";function pM(e){var t=function(o){return g.createElement(IJ,null,function(i){return g.createElement(e,He({},o,{formik:i}))})},r=e.displayName||e.name||e.constructor&&e.constructor.name||"Component";return t.WrappedComponent=e,t.displayName="FormikConnect("+r+")",sL(t,e)}var HJ=function(t,r,n){var o=ba(t),i=o[r];return o.splice(r,1),o.splice(n,0,i),o},UJ=function(t,r,n){var o=ba(t),i=o[r];return o[r]=o[n],o[n]=i,o},Tg=function(t,r,n){var o=ba(t);return o.splice(r,0,n),o},zJ=function(t,r,n){var o=ba(t);return o[r]=n,o},ba=function(t){if(t){if(Array.isArray(t))return[].concat(t);var r=Object.keys(t).map(function(n){return parseInt(n)}).reduce(function(n,o){return o>n?o:n},0);return Array.from(He({},t,{length:r+1}))}else return[]},DE=function(t,r){var n=typeof t=="function"?t:r;return function(o){if(Array.isArray(o)||dl(o)){var i=ba(o);return n(i)}return o}},fM=function(e){cM(t,e);function t(n){var o;return o=e.call(this,n)||this,o.updateArrayField=function(i,a,s){var l=o.props,c=l.name,u=l.formik.setFormikState;u(function(p){var f=DE(s,i),m=DE(a,i),v=To(p.values,c,i(Ue(p.values,c))),h=s?f(Ue(p.errors,c)):void 0,x=a?m(Ue(p.touched,c)):void 0;return $E(h)&&(h=void 0),$E(x)&&(x=void 0),He({},p,{values:v,errors:s?To(p.errors,c,h):p.errors,touched:a?To(p.touched,c,x):p.touched})})},o.push=function(i){return o.updateArrayField(function(a){return[].concat(ba(a),[Wl(i)])},!1,!1)},o.handlePush=function(i){return function(){return o.push(i)}},o.swap=function(i,a){return o.updateArrayField(function(s){return UJ(s,i,a)},!0,!0)},o.handleSwap=function(i,a){return function(){return o.swap(i,a)}},o.move=function(i,a){return o.updateArrayField(function(s){return HJ(s,i,a)},!0,!0)},o.handleMove=function(i,a){return function(){return o.move(i,a)}},o.insert=function(i,a){return o.updateArrayField(function(s){return Tg(s,i,a)},function(s){return Tg(s,i,null)},function(s){return Tg(s,i,null)})},o.handleInsert=function(i,a){return function(){return o.insert(i,a)}},o.replace=function(i,a){return o.updateArrayField(function(s){return zJ(s,i,a)},!1,!1)},o.handleReplace=function(i,a){return function(){return o.replace(i,a)}},o.unshift=function(i){var a=-1;return o.updateArrayField(function(s){var l=s?[i].concat(s):[i];return a=l.length,l},function(s){return s?[null].concat(s):[null]},function(s){return s?[null].concat(s):[null]}),a},o.handleUnshift=function(i){return function(){return o.unshift(i)}},o.handleRemove=function(i){return function(){return o.remove(i)}},o.handlePop=function(){return function(){return o.pop()}},o.remove=o.remove.bind(NE(o)),o.pop=o.pop.bind(NE(o)),o}var r=t.prototype;return r.componentDidUpdate=function(o){this.props.validateOnChange&&this.props.formik.validateOnChange&&!pi(Ue(o.formik.values,o.name),Ue(this.props.formik.values,this.props.name))&&this.props.formik.validateForm(this.props.formik.values)},r.remove=function(o){var i;return this.updateArrayField(function(a){var s=a?ba(a):[];return i||(i=s[o]),mr(s.splice)&&s.splice(o,1),mr(s.every)&&s.every(function(l){return l===void 0})?[]:s},!0,!0),i},r.pop=function(){var o;return this.updateArrayField(function(i){var a=i.slice();return o||(o=a&&a.pop&&a.pop()),a},!0,!0),o},r.render=function(){var o={push:this.push,pop:this.pop,swap:this.swap,move:this.move,insert:this.insert,replace:this.replace,unshift:this.unshift,remove:this.remove,handlePush:this.handlePush,handlePop:this.handlePop,handleSwap:this.handleSwap,handleMove:this.handleMove,handleInsert:this.handleInsert,handleReplace:this.handleReplace,handleUnshift:this.handleUnshift,handleRemove:this.handleRemove},i=this.props,a=i.component,s=i.render,l=i.children,c=i.name,u=i.formik,p=Zn(u,["validate","validationSchema"]),f=He({},o,{form:p,name:c});return a?g.createElement(a,f):s?s(f):l?typeof l=="function"?l(f):v2(l)?null:g.Children.only(l):null},t}(g.Component);fM.defaultProps={validateOnChange:!0};var VJ=pM(fM),WJ=function(e){cM(t,e);function t(n){var o;o=e.call(this,n)||this;var i=n.render,a=n.children;return n.component,n.as,n.name,i&&a&&!v2(a)&&void 0,o}var r=t.prototype;return r.shouldComponentUpdate=function(o){return this.props.shouldUpdate?this.props.shouldUpdate(o,this.props):o.name!==this.props.name||Ue(o.formik.values,this.props.name)!==Ue(this.props.formik.values,this.props.name)||Ue(o.formik.errors,this.props.name)!==Ue(this.props.formik.errors,this.props.name)||Ue(o.formik.touched,this.props.name)!==Ue(this.props.formik.touched,this.props.name)||Object.keys(this.props).length!==Object.keys(o).length||o.formik.isSubmitting!==this.props.formik.isSubmitting},r.componentDidMount=function(){this.props.formik.registerField(this.props.name,{validate:this.props.validate})},r.componentDidUpdate=function(o){this.props.name!==o.name&&(this.props.formik.unregisterField(o.name),this.props.formik.registerField(this.props.name,{validate:this.props.validate})),this.props.validate!==o.validate&&this.props.formik.registerField(this.props.name,{validate:this.props.validate})},r.componentWillUnmount=function(){this.props.formik.unregisterField(this.props.name)},r.render=function(){var o=this.props,i=o.name,a=o.render,s=o.as,l=o.children,c=o.component,u=o.formik,p=Zn(o,["validate","name","render","as","children","component","shouldUpdate","formik"]),f=Zn(u,["validate","validationSchema"]),m=u.getFieldProps(He({name:i},p)),v={value:Ue(u.values,i),error:Ue(u.errors,i),touched:!!Ue(u.touched,i),initialValue:Ue(u.initialValues,i),initialTouched:!!Ue(u.initialTouched,i),initialError:Ue(u.initialErrors,i)},h={field:m,meta:v,form:f};if(a)return a(h);if(mr(l))return l(h);if(c){if(typeof c=="string"){var x=p.innerRef,y=Zn(p,["innerRef"]);return g.createElement(c,He({ref:x},m,y),l)}return g.createElement(c,He({field:m,form:u},p),l)}var b=s||"input";if(typeof b=="string"){var w=p.innerRef,S=Zn(p,["innerRef"]);return g.createElement(b,He({ref:w},m,S),l)}return g.createElement(b,He({},m,p),l)},t}(g.Component),po=pM(WJ);const jE="";let GJ=class extends kI{get(t){return this.call({url:`/api/qr/${t}`})}getPreviewInfo(t,r){return this.call({url:`/api/qr/uri/${t}`,data:{accessPassword:r},method:"POST"})}async*iterator(t){let r=1;for(;;){const{data:n}=await this.list({...t,page:r});if(!n.length)break;yield*n,r++}}async list({status:t,folder:r,sortBy:n,page:o,limit:i,tagIds:a,search:s,types:l,favorites:c}){const u={folder:r,page:o,limit:i,tagIds:a};s&&(u.searchTerm=s),n&&(u.sortBy=n),l!=null&&l.length&&(u.types=l),t!=null&&t.length&&(u.status=t),c&&(u.favorite=c),a&&(u.tagIds=a);const p=await this.call({url:"/api/qr/paginate",params:u});return{...p,data:p.data,totals:{[t]:p.total,...p.others},status:t}}create(t,{name:r,content:n,style:o,temp:i,folder:a,...s},l=!1){const c={content:n,...s};r&&(c.name=r),o&&(c.style=o),a&&(c.folder=a);let u=`/api/qr/${k1(t)?"static":"dynamic"}/${t}`;return i&&l&&(u+="?tmp=true"),l||(u+="?guest=true"),this.call({url:u,method:"POST",data:c})}getStaticRaw(t,r){return this.call({url:`/api/qr/static/raw/${t}`,method:"POST",data:r})}save(t){return this.call({url:`/api/qr/${t}/save`,method:"PATCH"})}update(t,r,{name:n,content:o,style:i,...a},s=!1){o&&(a.content=o),n&&(a.name=n),i&&(a.style=i);let l=`/api/qr/${t}/${r}`;return s||(l+="?guest=true"),this.call({url:l,method:"PUT",data:a})}updateName(t,r){return this.call({url:`/api/qr/${t}/name`,method:"patch",data:{name:r}})}setFavorite(t,r){return this.call({url:`/api/qr/${t}/favorite`,method:"patch",data:{favorite:r}})}batchSoftDelete(t){return this.call({url:"/api/qr/batch-soft-delete",method:"PATCH",data:{ids:t}})}batchHardDelete(t){return this.call({url:"/api/qr/batch-hard-delete",method:"PATCH",data:{ids:t}})}batchRestore(t){return this.call({url:"/api/qr/batch-restore",method:"PATCH",data:{ids:t}})}batchStop(t){return this.call({url:"/api/qr/batch-stop",method:"PATCH",data:{ids:t}})}batchResume(t){return this.call({url:"/api/qr/batch-resume",method:"PATCH",data:{ids:t}})}getActivityStats({id:t,...r}){return this.call({url:`/api/qr/stats/${t}/activity`,params:r})}getOSStats({id:t,from:r,to:n}){return this.call({url:`/api/qr/stats/${t}/os`,params:{from:r,to:n}})}async getCitiesStats({id:t,...r}){const n=await this.call({url:`/api/qr/stats/${t}/cities`,params:r});return n.page=r.page,n}getCountriesStats({id:t,from:r,to:n}){return this.call({url:`/api/qr/stats/${t}/countries`,params:{from:r,to:n}})}getBrowsersStats({id:t,...r}){return this.call({url:`/api/qr/stats/${t}/browsers`,params:r})}getLanguagesStats({id:t,...r}){return this.call({url:`/api/qr/stats/${t}/languages`,params:r})}getTimesStats({id:t,...r}){return this.call({url:`/api/qr/stats/${t}/times`,params:r})}resetScans(t){return this.call({url:`/api/qr/scan/${t}`,method:"DELETE"})}updateCampaign(t,r){return this.call({url:`/api/qr/${t}/campaign`,method:"PATCH",data:r})}downloadCustomFormat(t,r,n,o){const i=o?`?size=${o}`:"";return this.call({url:`/api/qr/${t}/${n}${i}`,method:"POST",data:r})}downloadPdFormat(t,r){const n=r?`/api/qr/${t}/pdf?size=${r}`:`/api/qr/${t}/pdf`;return this.call({url:n,method:"POST",data:{},responseType:"blob"})}getURLofVCF(t){return`${window.location.origin}/api/qr/vcf/${t}`}duplicateQr(t){return this.call({url:`/api/qr/${t}/duplicate`,method:"POST"})}getTotalScans(t,r){return this.call({url:`/api/qr/scans/${t}`,params:r})}sendByEmail({id:t,type:r,email:n,file:o}){return this.call({url:`/api/qr/${t}/${r}/email?email=${n}`,method:"POST",data:o})}sendFeedback(t,r){return this.call({url:`/api/qr/feedback/${t}`,method:"POST",data:r})}addBulkQr(t){return this.call({url:"/api/qr/bulk",method:"POST",data:t})}updateBulkQr(t){return this.call({url:"/api/qr/bulk",method:"PATCH",data:t})}uploadCSV(t){return this.call({url:`${jE}/api/qr/bulk/csv`,method:"POST",data:t})}uploadCSVFromTrialUser(t){return this.call({url:`${jE}/api/qr/bulk/trial/csv`,method:"POST",data:t})}validateCustomUri(t,r){const n=r?`?qrId=${r}`:"";return this.call({url:`/api/qr/validate-uri/${t}${n}`})}getFeedbackStats({id:t,from:r,to:n}){return this.call({url:`/api/qr/feedback/${t}/stats`,params:{from:r,to:n}})}listFeedback({id:t,...r},n){return this.call({url:`/api/qr/feedback/${t}`,params:r,signal:n})}async downloadQrs({format:t,ids:r,size:n,signal:o}){const i=new URLSearchParams;n&&i.set("size",n);const a=await fetch(`/api/qr/download/${t}?${i}`,{method:"POST",signal:o,headers:{"content-type":"application/json"},body:JSON.stringify({ids:r})});if(!a.ok)throw new Error("Error downloading QRs");return a.body}async downloadQrsFromFolder({format:t,folderId:r,size:n,signal:o}){const i=new URLSearchParams;n&&i.set("size",n);const a=await fetch(`/api/qr/download/${t}/folder/${r}?${i}`,{method:"POST",signal:o,headers:{"content-type":"application/json"}});if(!a.ok)throw new Error("Error downloading QRs");return a.body}downloadCsv(t){return this.call({url:`/api/qr/download/csv/${t}`})}cmykDownload({format:t,data:r}){return this.call({url:`/api/qr/cmyk/${t}`,method:"POST",data:r,responseType:"blob"})}getNotes(t,r){return this.call({url:`/api/qr/${t}/note?page=${r}`})}addNote(t,r){return this.call({url:`/api/qr/${t}/note`,method:"POST",data:r})}updateNote(t,r){return this.call({url:`/api/qr/note/${t}`,method:"PATCH",data:r})}deleteNote(t){return this.call({url:`/api/qr/note/${t}`,method:"DELETE"})}};const Cv=new GJ,qJ={BASE_URL:"/",DEV:!1,MODE:"production",PROD:!0,SSR:!1,VITE_API:"",VITE_BASE_IMAGE_URL:"https://img.qrfy.com",VITE_BASE_UPLOAD_URL:"https://uploads.qrfy.com",VITE_BASE_URL:"https://qrfy.com",VITE_BULK_ENABLED:"1",VITE_CF_TURNSTILE_ENABLED:"1",VITE_CF_TURNSTILE_SITE_KEY:"0x4AAAAAAAW33-fkmT1EQ-VQ",VITE_CLOUDINARY_NAME:"w3",VITE_DOMAIN:"qrfy.com",VITE_FACEBOOK_CLIENT_ID:"861766829065973",VITE_GOOGLE_CLIENT_ID:"1068337497404-ldeirev97u9t7vc1cvlmftb5gqhhk5c4.apps.googleusercontent.com",VITE_GOOGLE_MAPS_KEY:"AIzaSyDIM-M0SGbPGAOUn5zt93b3e9nXzpjmCy0",VITE_GOOGLE_STORAGE_URI_PREFIX:"https://storage.googleapis.com/qrfyprod",VITE_LINKEDIN_CLIENT_ID:"775bext8zssj87",VITE_NON_RECCURENT_PAYMENT_COOKIE:"norec",VITE_PREVIEW_BASE_URL:"https://qrfy.io",VITE_RECAPTCHA_KEY:"6LeepasZAAAAAE-1cQNikkowObe_sPKEWDnblVpU",VITE_SENTRY_ENABLED:"",VITE_STRIPE_PUBLIC_KEY:"pk_live_51KslH4B9ss6IsP0ShS1AGfGPo7IGnAx4C3sZ5TwMcxverhly59ZBcyXEjMBNGWJCbrRXD5PhQx3633DO9x4ZeAoV00xKv8Ibcb",VITE_VAPID_PUBLIC_KEY:"BLPBecM0P8SAiJKZHdfXjFTXeULSsnrNrD0sbC2InGLDAfa4xf1xHKPNosyXQC4a3DCIrdKRdbeZpGe6XN48U78"},{VITE_CLOUDINARY_NAME:QJ}=qJ;function YJ(e){let t="";return e.crop==="scale"&&(e.width||e.height)&&(t+="c_scale",e.width&&(t+=`,w_${e.width}`),e.height&&(t+=`,h_${e.height}`)),t?`/${t}`:""}const KJ={getUrl(e,t={fetchFormat:"auto",quality:"auto"}){if(!e)return"";const r=YJ(t);return`https://res.cloudinary.com/${QJ}/image/upload${r}/${e}`}},ZJ=200;class XJ{get baseUrl(){return"https://qrfy.com"}get baseUploadUrl(){return"https://uploads.qrfy.com"}get imageUrl(){return"https://img.qrfy.com"}getBaseUrl(t){return t.size/1024**2>=ZJ?this.baseUploadUrl:this.baseUrl}async call({logError:t=!0,url:r,...n}){var o,i;try{const a=await fetch(r,n);if(!a.ok)throw await a.json();return await a.json()}catch(a){throw t&&console.error(((i=(o=a==null?void 0:a.response)==null?void 0:o.data)==null?void 0:i.message)||a),a}}async uploadImage({file:t,entity:r="qr",entityId:n}){const o=new URLSearchParams({entity:r});n&&o.append("entityId",n);const i=await this.call({url:`${this.imageUrl}/upload?${o.toString()}`,method:"POST",body:t,credentials:"include",headers:{"Content-Type":"image/*"}});return i?i.filename:""}async uploadImageWithProgress({file:t,onProgress:r,setAbort:n=()=>null,entity:o="qr",entityId:i}){const a=new URLSearchParams({entity:o});i&&a.append("entityId",i);function s(l){r(Math.round(l.loaded/l.total*100))}return new Promise((l,c)=>{const u=new XMLHttpRequest;u.withCredentials=!0,u.upload.addEventListener("progress",s),u.addEventListener("load",()=>{let p={};try{p=JSON.parse(u.response)}catch{return c(new Error("upload failed"))}if(u.status>=400){const f={status:u.status,...p};return c(f)}l((p==null?void 0:p.filename)||"")}),u.open("POST",`${this.imageUrl}/upload?${a.toString()}`),u.send(t),n(()=>u.abort.bind(u))})}async uploadFile(t,r){const n=new URLSearchParams;r&&n.append("qr",r);const o=await this.call({url:`${this.getBaseUrl(t)}/api/storage/gcs?${n.toString()}`,method:"POST",body:t,credentials:"include"});return{filename:o&&o.file||"",googleCloudStorageUriPrefix:o&&o.googleCloudStorageUriPrefix||""}}async uploadFileWithProgress(t,r,n,o=()=>null){const i=new URLSearchParams;r&&i.append("qr",r);function a(s){n(Math.round(s.loaded/s.total*100))}return new Promise((s,l)=>{const c=new XMLHttpRequest;c.withCredentials=!0,c.upload.addEventListener("progress",a),c.addEventListener("load",()=>{let u={};try{u=JSON.parse(c.response)}catch{return l(new Error("upload failed"))}if(c.status>=400){const p={status:c.status,...u};return l(p)}s({filename:u&&u.file||"",googleCloudStorageUriPrefix:u&&u.googleCloudStorageUriPrefix||""})}),c.open("POST",`${this.getBaseUrl(t)}/api/storage/gcs?${i.toString()}`),c.send(t),o(()=>c.abort.bind(c))})}async getYoutubeData(t){try{return await this.call({url:`https://www.youtube.com/oembed?url=${t}&format=json`,method:"GET"})}catch{return}}async getVimeoData(t){const r=`https://vimeo.com/${t}`;try{return await this.call({url:`https://vimeo.com/api/oembed.json?url=${encodeURIComponent(r)}`,method:"GET"})}catch{return}}getImageTypeBySize(t){return t?t<=125?"small":t<=220?"medium":t<=400?"large":"original":"original"}getImageUrl(t,r={}){if(/\.[a-z]{3,4}$/i.test(t)){const n=r.type??this.getImageTypeBySize(r.width);return`${this.imageUrl}/img/${n}/${t}`}return delete r.type,KJ.getUrl(t,r)}}const y2=new XJ;function Bh(e){return/^\w+(\.\w+)+$/.test(e)}class JJ extends Error{constructor(t={}){const{message:r="",formKey:n,response:o}=t;super(r),this.imageError=!0,this.formKey=n||"",this.response=o,r||(this.translationKey="common.errors.image"),Bh(r)&&(this.translationKey=r)}}class eee extends Error{constructor(t={}){const{message:r="",formKey:n,response:o}=t;super(r),this.videoError=!0,this.formKey=n||"",this.response=o,r||(this.translationKey="common.errors.video"),Bh(r)&&(this.translationKey=r)}}function b2(){return d.jsx(Nh,{sx:{position:"absolute",marginTop:"1px",right:8,pointerEvents:"none"}})}const tee=lr({smallRoot:{fontWeight:500,height:36,lineHeight:"32px",backgroundColor:"white",borderRadius:18},smallSelect:{"& .MuiInput-input":{paddingLeft:12,fontSize:13,height:32,lineHeight:"32px"}},empty:{color:C.gray.dark},white:{backgroundColor:C.white}});function hM({children:e=null,small:t=!1,white:r=!1,value:n,classes:o={},className:i="",MenuProps:a,disableArrow:s=!1,...l}){const c=tee();return d.jsx(r2,{className:xe(i,{[c.smallRoot]:t}),classes:{...o,root:xe(o==null?void 0:o.root,{[c.smallSelect]:t,[c.white]:r,[c.empty]:n===""})},IconComponent:s?()=>null:b2,value:n,...l,MenuProps:{anchorOrigin:{vertical:t?36:50,horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"},...a},children:e})}const ree=lr({circularProgress:{marginRight:6,"&.primary":{color:C.black},"&.secondary":{color:C.secondary.green}}},"TextField-endAdornment"),nee=Ze(e=>({root:{marginBottom:t=>t.marginBottomMobile??t.marginBottom,[e.breakpoints.up("md")]:{marginBottom:t=>t.marginBottom}}}),"TextField")(Mn(p3,["marginBottom","marginBottomMobile"])),oee=({success:e=!1,loading:t=!1,InputProps:r={endAdornment:null},circularProgressProps:n={size:20,color:"primary"}})=>{const o=ree();return t?d.jsx(zp,{position:"end",children:d.jsx(zc,{classes:{root:xe(["loader",o.circularProgress,n.color])},...n})}):e?d.jsx(zp,{position:"end",children:d.jsx(x3,{style:{marginRight:4}})}):(r==null?void 0:r.endAdornment)||null};function FE({disabled:e,children:t,title:r}){return e?t:d.jsx(Iu,{arrow:!0,title:r,children:t})}function iee(e,t){const r=de(),[n,o]=g.useState(!0);if(e!=="password")return{type:e};function i(){o(a=>!a)}return{type:n?"password":"text",endAdornment:n?d.jsx(FE,{title:r.formatMessage({id:"common.show"}),disabled:t,children:d.jsx(no,{disabled:t,style:{marginRight:8},onClick:i,children:d.jsx(S3,{})})}):d.jsx(FE,{title:r.formatMessage({id:"common.hide"}),disabled:t,children:d.jsx(no,{disabled:t,style:{marginRight:8},onClick:i,children:d.jsx(E3,{})})})}}const BE=200,qp=({InputProps:e={},disabled:t=!1,placeholder:r="",InputLabelProps:n={},SelectProps:o={},name:i="",onChange:a=()=>{},onBlur:s=()=>{},success:l=!1,helperText:c,loading:u=!1,type:p,fullWidth:f=!0,value:m,debounced:v=!0,...h})=>{var H,k;const x=de(),[y,b]=g.useState(()=>m),[w,S]=g.useState(!0),[T,R]=g.useState(null),E={success:l,loading:u,InputProps:e},{endAdornment:A,type:P}=iee(p,t),M={...e,disableUnderline:!0,endAdornment:e.endAdornment||A||d.jsx(oee,{...E}),onKeyDown:L=>{i==="email"&&L.key===" "&&L.preventDefault()},className:xe(e.className,(H=h.classes)==null?void 0:H.input)},O={...n,shrink:!0,className:xe(n.className,(k=h.classes)==null?void 0:k.label)},F={IconComponent:b2,...o},I=g.useCallback(Oi(L=>{a(L),S(!0)},BE),[a]),D=g.useCallback(Oi(()=>{T&&w&&(s(T),R(null))},BE),[T,w]),$=L=>{var B;if(i==="email"&&(L.currentTarget.value=L.currentTarget.value.trim()),(i==="vatNumber"||i==="taxId")&&(L.currentTarget.value=L.currentTarget.value.replace(/\s/g,"")),v){S(!1),b(((B=L.target)==null?void 0:B.value)||""),I(L);return}a(L)};g.useEffect(()=>{m!==y&&b(m)},[m]),g.useEffect(()=>{D()},[T,w]);const j=x.formatMessage({id:"account.login.invalidVAT"},{link:(...L)=>d.jsx("a",{href:"https://ec.europa.eu/taxation_customs/vies/vatRequest.html",target:"_blank",rel:"noopener noreferrer",children:L})});return d.jsx(nee,{fullWidth:f,...h,type:P,name:i,value:v?y:m,onChange:$,onBlur:L=>{if(v)return R(L);s(L)},InputLabelProps:O,InputProps:M,SelectProps:F,disabled:t,placeholder:t?"":r,helperText:c==="invalid_vat_text"?j:c})};function aee({disabled:e,field:{onBlur:t,...r},form:{isSubmitting:n,touched:o,errors:i},onBlur:a,helperText:s,simpleErrors:l=!1,withSuccess:c=!1,...u}){const p=Ue(o,r.name),f=Ue(i,r.name),m=(l||Ue(o,r.name))&&!!f;return{variant:u.variant,error:m,helperText:m?f:s,disabled:e??n,onBlur:a??function(h){t(h??r.name)},success:c&&(p||!!r.value)&&!f,...r,...u}}function ct(e){return d.jsx(qp,{...aee(e)})}function ole(e,t){const r=t.formatMessage({id:"common.validations.invalidCode"});return{googleAnalyticsId:e.string().trim().max(50).test("google-analytics-prefix",t.formatMessage({id:"common.validations.invalidCodePrefix"},{prefix:"G-"}),n=>!n||n.startsWith("G-")).matches(/^G-[\w\d]+$/,r),facebookPixelId:e.string().trim().max(50).matches(/^\d+$/,r),googleTagManagerId:e.string().trim().max(50).matches(/^GTM-[\w\d]+$/,r),trackEvents:e.boolean()}}const HE=["googleAnalyticsId","facebookPixelId","googleTagManagerId","trackEvents"];class see extends Error{constructor(t={}){const{message:r="",formKey:n,response:o,errorKey:i,messageLangKey:a}=t;super(r),this.formKey=n||"",this.response=o,i&&(this[i]=!0),!r&&a&&(this.translationKey=`common.errors.${a}`),Bh(r)&&(this.translationKey=r)}}class lee extends Error{constructor(t={}){const{message:r="",formKey:n,response:o}=t;super(r),this.audioError=!0,this.formKey=n||"",this.response=o,r||(this.translationKey="common.errors.audio"),Bh(r)&&(this.translationKey=r)}}const ile={custom:"custom-styles",templates:"templates"},cee=1,Tv={frame:{id:null,color:"#000000",text:"__default__",fontSize:90,backgroundColor:null},qrStyle:{shape:{backgroundColor:"#ffffff",color:"#000000",style:"square"},corners:{dotColor:"#000000",squareColor:"#000000",squareStyle:"default",dotStyle:"default"}},logo:void 0,errorCorrectionLevel:Gr.defaultErrorCorrectionLevel},Zc=async({file:e,key:t,...r})=>{try{return e&&e instanceof File?await y2.uploadImage({file:e,...r})||"":e||""}catch(n){const o=new JJ({formKey:t,response:n});throw window.dispatchEvent(new CustomEvent("imageError",{detail:o})),o}};function uee({user:e,entity:t,entityId:r}){return(n,o)=>Zc({file:n,key:o,user:e,entity:t,entityId:r})}const ale=async({style:e={},entity:t,entityId:r,uploadCallback:n=()=>{}})=>{const o={...e};if(e.logo)if(typeof e.logo=="string")o.image=e.logo;else{const i=await Zc({file:e.logo,key:"logo",entity:t,entityId:r});n&&n==="function"&&n({name:"logo",value:i}),o.image=i}else o.image="";return(e.logoPreset||e.logoPreset===null)&&(o.logoPreset=e.logoPreset),delete o.logo,o},dee=(e,t)=>{const r=new eee({formKey:t,response:e});window.dispatchEvent(new CustomEvent("videoError",{detail:r}))},sle=(e,t)=>{const r=new lee({formKey:t,response:e});window.dispatchEvent(new CustomEvent("audioError",{detail:r}))},pee=(e,t,r,n={})=>{const o=new see({formKey:t,response:e,...n||{}});window.dispatchEvent(new CustomEvent(r,{detail:o}))},lle=e=>{var r,n,o;if(!e)return!1;if(((r=e==null?void 0:e.response)==null?void 0:r.status)===409&&((o=(n=e==null?void 0:e.response)==null?void 0:n.data)!=null&&o.message.match(/duplicated uri/i))){const i="uriError",a="uri";return pee(e.response,a,i,{errorKey:i,messageLangKey:a}),!0}},cle={video:e=>{const t="videos";return!e||!e[t]||!e[t].length||!e[t].filter(Boolean).length?!1:(e[t].forEach((r,n)=>{r&&dee(r,`${t}.${n}`)}),!0)}},ule=(e="",t)=>!e&&t?t.formatMessage({id:"common.noTitle"}):e;function fee(e){return e.categories=e.categories.map(t=>(t.id&&t.id.startsWith("$")&&delete t.id,t.subcategories=t.subcategories.map(r=>(r.id&&r.id.startsWith("$")&&delete r.id,r)),t)),e}const hee=async({content:e,updateReduxFile:t,qrId:r})=>{const{languages:n,cover:o,...i}=e;let a=o;if(o&&typeof o!="string"){const p=await Zc({file:o,key:"cover",entity:"qr"});t("cover",p),a=p}const s=Object.keys(n)[0],{sections:l}=n[s],c=await Promise.all(l.map(async(p,f)=>{const m=await Promise.all(p.items.map(async(h,x)=>{const y=await Zc({file:h.image,key:`sections.${f}.items.${x}.image`,entity:"qr",entityId:r});return{...h,image:y||""}}));return{...p,items:m}})),u=Object.keys(n).reduce((p,f)=>({...p,[f]:{...n[f],sections:n[f].sections.map(m=>{const v=c.find(h=>h.id===m.id);return{...m,items:m.items.map(h=>{const x=v.items.find(y=>y.id===h.id);return{...h,image:x.image}})}})}}),{});return t("languages",u),{...i,cover:a,languages:u}},yd=async(e=[],t=()=>{},r)=>{if(e!=null&&e.length){const n=await Promise.all(e.map(async(o,i)=>typeof o!="string"?await r(o,`images.${i}`):o));return t("images",e),n}return e};function mee(e){try{return new URL(e).href}catch{return e}}function UE(e){return e.url&&(e.url=mee(e.url)),e}const gee=async({updateReduxFile:e,type:t,data:{qrName:r,accessPassword:n,activePassword:o,qrSchedule:i,folder:a,scanLimitEnabled:s,scanLimit:l,iosHeaderColor:c,...u},style:p,hostname:f,user:m,qrId:v})=>{var y,b,w,S,T,R;const h={name:r,content:{...aI(u,HE)},accessPassword:n,activePassword:o,schedule:i,hostname:f,folder:a,scanLimit:l,iosHeaderColor:c||void 0,...R9(u,HE)},x=uee({user:m,entity:"qr",entityId:v});if(h.content.designColor&&(h.content.design={color:h.content.designColor},delete h.content.designColor),h.content.colors){const[E,A,P]=h.content.colors;h.content.design={primary:E,secondary:A},P&&(h.content.design.tertiary=P),delete h.content.colors}if([W.app,W.menu,W.linkList,W.social,W.product].includes(t)){const{logo:E}=h.content;if(E&&typeof E!="string"){const A=await x(E,"logo");e("logo",A),h.content.logo=A}}if([W.linkList,W.social].includes(t)){const{coverImage:E}=h.content;if(E&&typeof E!="string"){const A=await x(E,"coverImage");e("coverImage",A),h.content.coverImage=A}}if(t===W.playlist){const{image:E,audio:A}=h.content;if(A&&!(A instanceof Array)&&(h.content.audio=Object.keys(A).map(P=>({...A[P]}))),E&&typeof E!="string"){const P=await x(E,"image");e("image",P),h.content.image=P}}if([W.linkList].includes(t)){const{socials:E=[]}=h.content;h.content.socials={},E.forEach(A=>{h.content.socials[A.id]=A.nickname})}if(h.content.preview&&typeof h.content.preview!="string"){const E=await x(h.content.preview,"preview");e("preview",E),h.content.preview=E}if(typeof h.content.googleCloudStorageUriPrefix<"u"&&delete h.content.googleCloudStorageUriPrefix,[W.url,W.staticUrl].includes(t)&&(h.content=UE(h.content),h.content.multilanguage?h.content.languages=Object.entries(h.content.languages).reduce((E,[A,P])=>({...E,[A]:UE(P)}),{}):delete h.content.languages),t===W.app){const{apps:E}=h.content;h.content.apps={},E.forEach(A=>{h.content.apps[A.id]=A.url.trim()}),h.content.website&&(h.content.website=h.content.website.trim())}if(t===W.menu&&(h.content=await hee({content:h.content,updateReduxFile:e,qrId:v})),t===W.images){if(h.content.images&&h.content.images.length){const E=await Promise.all(h.content.images.map(async(A,P)=>typeof A!="string"?await x(A,`images.${P}`):A));h.content.images=E,e("images",E)}h.content.buttons&&h.content.buttons.length&&(h.content.buttons=h.content.buttons.map(E=>({text:E.text,url:E.url.trim()}))),h.content.url&&(h.content.url=h.content.url.trim())}if(t===W.pdf&&h.content.web&&(h.content.web=h.content.web.trim()),t===W.pdf&&h.content.photo){const{photo:E}=h.content;if(E&&typeof E!="string"){const A=await x(E,"photo");e("photo",A),h.content.photo=A}}if(t===W.pdf&&((y=h.content)!=null&&y.multilanguage)&&((b=h.content)!=null&&b.languages)){const E=await Promise.all(Object.keys(h.content.languages).map(async A=>{var M,O,F;const P=await x((O=(M=h.content.languages)==null?void 0:M[A])==null?void 0:O.photo);return{[A]:{...((F=h.content.languages)==null?void 0:F[A])||{},photo:P}}}));e("languages",E),h.content.languages=Object.assign({},...E)}if([W.video,W.mp3].includes(t)&&h.content.button&&(h.content.button.url=h.content.button.url.trim()),t===W.video&&(h.content.videos=h.content.videos.map(({blob:E,...A})=>A)),t===W.mp3){const{image:E}=h.content;if(E&&typeof E!="string"){const A=await x(E,"image");e("image",A),h.content.image=A}}if(t===W.vcardPlus){const{photo:E,bgImage:A}=h.content;if(E&&typeof E!="string"){const P=await x(E,"photo");e("photo",P),h.content.photo=P}if(h.content.images=await yd(h.content.images,e,x),A&&typeof A!="string"){const P=await x(A,"bgImage");e("bgImage",P),h.content.bgImage=P}h.content.url&&h.content.url.length&&(h.content.url=h.content.url.map(P=>{var M;return{text:((M=P.text)==null?void 0:M.trim())||"",url:P.url.trim()}})),h.content.phone&&h.content.phone.length&&(h.content.phone=h.content.phone.map(P=>{var M;return{type:P.type.trim(),text:((M=P.text)==null?void 0:M.trim())||"",phone:P.phone.trim()}})),h.content.email&&h.content.email.length&&(h.content.email=h.content.email.map(P=>{var M;return{text:((M=P.text)==null?void 0:M.trim())||"",email:P.email.trim()}}))}if(t===W.vcard&&(h.content.phone=h.content.phone.map(E=>({type:E.type.trim(),phone:E.phone.trim()}))),t===W.business){const{image:E}=h.content;if(E&&typeof E!="string"){const A=await x(E,"image");e("image",A),h.content.image=A}h.content.images=await yd(h.content.images,e,x),h.content.button&&(h.content.button.url=h.content.button.url.trim()),h.content.companyWebsite&&(h.content.companyWebsite=h.content.companyWebsite.trim()),h.content.companyPhoneNumber&&h.content.companyPhoneNumber.length&&(h.content.companyPhoneNumber=h.content.companyPhoneNumber.map(A=>{var P;return{text:((P=A.text)==null?void 0:P.trim())||"",phone:A.phone.trim()}})),h.content.companyEmail&&h.content.companyEmail.length&&(h.content.companyEmail=h.content.companyEmail.map(A=>{var P;return{text:((P=A.text)==null?void 0:P.trim())||"",email:A.email.trim()}}))}if(t===W.event){const{image:E}=h.content;if(E&&typeof E!="string"){const A=await x(E,"image");e("image",A),h.content.image=A}h.content.button&&(h.content.button.url=h.content.button.url.trim()),h.content.organizerWebsite&&(h.content.organizerWebsite=h.content.organizerWebsite.trim()),h.content.organizerPhoneNumber&&h.content.organizerPhoneNumber.length&&(h.content.organizerPhoneNumber=h.content.organizerPhoneNumber.map(A=>{var P;return{text:((P=A.text)==null?void 0:P.trim())||"",phone:A.phone.trim()}})),h.content.organizerEmail&&h.content.organizerEmail.length&&(h.content.organizerEmail=h.content.organizerEmail.map(A=>{var P;return{text:((P=A.text)==null?void 0:P.trim())||"",email:A.email.trim()}}))}if(t===W.linkList){const{links:E=[]}=h.content,A=await Promise.all(E.map(async(P,M)=>P.photo&&typeof P.photo!="string"?await x(P.photo,`links.${M}.photo`):P.photo));h.content.images=await yd(h.content.images,e,x),h.content.links=E.map((P,M)=>P.type==="separator"?{type:P.type,text:P.text}:{text:P.text,url:P.url.trim(),photo:A[M]}),e("links",h.content.links)}if(t===W.coupon){if(delete h.content.useBarcode,(w=h.content.banner)!=null&&w.image&&typeof((S=h.content.banner)==null?void 0:S.image)!="string"){const E=await x(h.content.banner.image,"banner.image");h.content.banner.image=E,e("banner",h.content.banner)}if((T=h.content.barcode)!=null&&T.image&&typeof((R=h.content.barcode)==null?void 0:R.image)!="string"){const E=await x(h.content.barcode.image,"barcode.image");h.content.barcode.image=E,e("barcode",h.content.barcode)}else delete h.content.barcode}if(t===W.feedback&&fee(h.content),t===W.landing&&h.content.backgroundImage instanceof File){const E=await x(h.content.backgroundImage,"backgroundImage");h.content.backgroundImage=E,e("backgroundImage",E)}return t===W.social&&(h.content.images=await yd(h.content.images,e,x)),t===W.product&&!h.content.logo&&h.content.mockupImage&&(h.content.logo="mockup"),p&&(h.style=p.qrStyle),p.logo&&(h.style.image=p.logo instanceof File?"":p.logo),(p.logoPreset||p.logoPreset===null)&&(h.style.logoPreset=p.logoPreset),p.image&&(h.style.image=(p==null?void 0:p.image)||""),p.errorCorrectionLevel&&(h.style.errorCorrectionLevel=p.errorCorrectionLevel),p.frame&&typeof p.frame.id=="number"?h.style.frame=p.frame:h.style.frame=Tv.frame,h},dle=async({updateReduxFile:e,loggedIn:t=!1,type:r,data:n,style:o,qrId:i,temp:a,hostname:s,user:l,localTemp:c=!1})=>{const u=await gee({updateReduxFile:e,type:r,data:n,style:o,hostname:s,user:l,qrId:i});let p;return i?p=await Cv.update(i,r,u,t):(p=await Cv.create(r,{...u,temp:a},t),p.insertedId&&c&&window.localStorage.setItem(NQ,p.insertedId)),p};function ple(e){const t=localStorage.getItem("builderAutocomplete");return t?t==="true":wt().subtract(cee,"day").unix()<e.createdAt}const Je={square:"square",rounded:"rounded",extraRounded:"extra-rounded",dots:"dots",classy:"classy",classyRounded:"classy-rounded",horizontalRounded:"horizontal-rounded",verticalRounded:"vertical-rounded",diamondSpecial:"diamond-special",ribbon:"ribbon",star:"star",diamond:"diamond",x:"x",xRounded:"x-rounded",cross:"cross",crossRounded:"cross-rounded",heart:"heart",sparkle:"sparkle",shake:"shake"},vee=[Je.square,Je.rounded,Je.extraRounded,Je.dots,Je.classy,Je.classyRounded,Je.horizontalRounded,Je.verticalRounded,Je.diamondSpecial,Je.ribbon,Je.star,Je.diamond,Je.x,Je.xRounded,Je.cross,Je.crossRounded,Je.heart,Je.sparkle,Je.shake],Ut={default:"default",square:"square",dot:"dot",extraRounded:"extra-rounded",shape1:"shape1",shape2:"shape2",shape3:"shape3",shape4:"shape4",shape5:"shape5",shape6:"shape6",shape7:"shape7",shape8:"shape8",shape9:"shape9",shape10:"shape10",shape11:"shape11",shape12:"shape12"},yee=[Ut.default,Ut.square,Ut.dot,Ut.extraRounded,Ut.shape1,Ut.shape2,Ut.shape3,Ut.shape4,Ut.shape5,Ut.shape6,Ut.shape7,Ut.shape8,Ut.shape9,Ut.shape10,Ut.shape11,Ut.shape12],zE={classy:"M3,0A3,3,0,0,0,0,3V24H21a3,3,0,0,0,3-3V0ZM20,20H4V4H20Z","classy-rounded":"M4,0A4,4,0,0,0,0,4V24H20a4,4,0,0,0,4-4V0ZM20,20H4V4H20Z",rounded:"M21,0H3A3,3,0,0,0,0,3V21a3,3,0,0,0,3,3H21a3,3,0,0,0,3-3V3A3,3,0,0,0,21,0ZM20,20H4V4H20Z",dots:"M2,20c1.104,0,2,0.896,2,2s-0.896,2-2,2s-2-0.896-2-2S0.896,20,2,20 M6,20c-1.104,0-2,0.896-2,2s0.896,2,2,2s2-0.896,2-2 S7.104,20,6,20 M10,20c-1.104,0-2,0.896-2,2s0.896,2,2,2s2-0.896,2-2S11.104,20,10,20 M14,20c-1.104,0-2,0.896-2,2s0.896,2,2,2 s2-0.896,2-2S15.104,20,14,20 M18,20c-1.104,0-2,0.896-2,2s0.896,2,2,2s2-0.896,2-2S19.104,20,18,20 M6,4c1.104,0,2-0.896,2-2 S7.104,0,6,0S4,0.896,4,2S4.896,4,6,4 M10,4c1.104,0,2-0.896,2-2s-0.896-2-2-2S8,0.896,8,2S8.896,4,10,4 M14,4c1.104,0,2-0.896,2-2 s-0.896-2-2-2s-2,0.896-2,2S12.896,4,14,4 M18,4c1.104,0,2-0.896,2-2s-0.896-2-2-2s-2,0.896-2,2S16.896,4,18,4 M20,22 c0,1.104,0.896,2,2,2s2-0.896,2-2s-0.896-2-2-2S20,20.896,20,22 M4,18c0-1.104-0.896-2-2-2s-2,0.896-2,2s0.896,2,2,2S4,19.104,4,18 M20,18c0,1.104,0.896,2,2,2s2-0.896,2-2s-0.896-2-2-2S20,16.896,20,18 M4,14c0-1.104-0.896-2-2-2s-2,0.896-2,2c0,1.104,0.896,2,2,2 S4,15.104,4,14 M20,14c0,1.104,0.896,2,2,2s2-0.896,2-2c0-1.104-0.896-2-2-2S20,12.896,20,14 M4,10c0-1.104-0.896-2-2-2 s-2,0.896-2,2s0.896,2,2,2S4,11.104,4,10 M20,10c0,1.104,0.896,2,2,2s2-0.896,2-2s-0.896-2-2-2S20,8.896,20,10 M4,6 c0-1.104-0.896-2-2-2S0,4.896,0,6s0.896,2,2,2S4,7.104,4,6 M24,6c0-1.104-0.896-2-2-2s-2,0.896-2,2s0.896,2,2,2S24,7.104,24,6 M4,2 c0-1.104-0.896-2-2-2S0,0.896,0,2s0.896,2,2,2S4,3.104,4,2 M22,4c1.104,0,2-0.896,2-2s-0.896-2-2-2s-2,0.896-2,2S20.896,4,22,4","extra-rounded":"M18,0H6A6,6,0,0,0,0,6V18a6,6,0,0,0,6,6H18a6,6,0,0,0,6-6V6A6,6,0,0,0,18,0Zm2,18a2,2,0,0,1-2,2H6a2,2,0,0,1-2-2V6A2,2,0,0,1,6,4H18a2,2,0,0,1,2,2Z",[Je.diamondSpecial]:"m22 0h-20l-2 2v20l2 2h20l2-2v-20zm-2 20h-16v-16h16z",[Je.horizontalRounded]:"m2 1h20a1 1 0 010 3h-20a1 1 0 010-3m0 19h20a1 1 0 010 3h-20a1 1 0 010-3m1-14a1 1 0 00-2 0 1 1 0 002 0m0 3a1 1 0 00-2 0 1 1 0 002 0m0 3a1 1 0 00-2 0 1 1 0 002 0m0 3a1 1 0 00-2 0 1 1 0 002 0m0 3a1 1 0 00-2 0 1 1 0 002 0m20-12a1 1 0 00-2 0 1 1 0 002 0m0 3a1 1 0 00-2 0 1 1 0 002 0m0 3a1 1 0 00-2 0 1 1 0 002 0m0 3a1 1 0 00-2 0 1 1 0 002 0m0 3a1 1 0 00-2 0 1 1 0 002 0",[Je.verticalRounded]:"m1 21v-19a1 1 0 013 0v19a1 1 0 01-3 0m19 0v-19a1 1 0 013 0v19a1 1 0 01-3 0m-13-19a1 1 0 00-2 0 1 1 0 002 0m3 0a1 1 0 00-2 0 1 1 0 002 0m3 0a1 1 0 00-2 0 1 1 0 002 0m3 0a1 1 0 00-2 0 1 1 0 002 0m3 0a1 1 0 00-2 0 1 1 0 002 0m-12 19a1 1 0 00-2 0 1 1 0 002 0m3 0a1 1 0 00-2 0 1 1 0 002 0m3 0a1 1 0 00-2 0 1 1 0 002 0m3 0a1 1 0 00-2 0 1 1 0 002 0m3 0a1 1 0 00-2 0 1 1 0 002 0"};function fle(e,t,r){return t===Ut.square||t==="default"&&[Je.square,Je.ribbon].includes(e)?"M0,0V24H24V0ZM20,20H4V4H20Z":t===Ut.dot?"M12,0A12,12,0,1,0,24,12,12,12,0,0,0,12,0Zm0,20a8,8,0,1,1,8-8A8,8,0,0,1,12,20Z":t===Ut.extraRounded?"M18,0H6A6,6,0,0,0,0,6V18a6,6,0,0,0,6,6H18a6,6,0,0,0,6-6V6A6,6,0,0,0,18,0Zm2,18a2,2,0,0,1-2,2H6a2,2,0,0,1-2-2V6A2,2,0,0,1,6,4H18a2,2,0,0,1,2,2Z":r!=null&&r.path?r.path:t==="default"&&zE[e]?zE[e]:""}const Jt={default:"default",square:"square",dot:"dot",rounded:"rounded",square2:"square2",square3:"square3",dot2:"dot2",dot3:"dot3",dot4:"dot4",sun:"sun",star:"star",diamond:"diamond",x:"x",xRounded:"x-rounded",cross:"cross",crossRounded:"cross-rounded",heart:"heart"},bee=[Jt.default,Jt.square,Jt.dot,Jt.rounded,Jt.square2,Jt.square3,Jt.dot2,Jt.dot3,Jt.dot4,Jt.sun,Jt.star,Jt.diamond,Jt.x,Jt.xRounded,Jt.cross,Jt.crossRounded,Jt.heart],VE={classy:"m8 7v-7h-7a1 1 0 00-1 1v7h7a1 1 0 001-1z","classy-rounded":"m8 4v-4h-4a4 4 0 00-4 4v4h4a4 4 0 004-4z",rounded:"m1 8c-.552 0-1-.447-1-1v-6c0-.553.448-1 1-1h6c.552 0 1 .447 1 1v6c0 .553-.448 1-1 1h-6",dots:"m4 2c0 1.104-.896 2-2 2s-2-.896-2-2 .896-2 2-2 2 .896 2 2m4 0c0-1.104-.896-2-2-2s-2 .896-2 2 .896 2 2 2 2-.896 2-2m-6 2c-1.104 0-2 .896-2 2 0 1.104.896 2 2 2s2-.896 2-2c0-1.104-.896-2-2-2m2 2c0 1.104.896 2 2 2s2-.896 2-2c0-1.104-.896-2-2-2s-2 .896-2 2","extra-rounded":"m3 8c-1.657 0-3-1.343-3-3v-2c0-1.657 1.343-3 3-3h2c1.657 0 3 1.343 3 3v2c0 1.657-1.343 3-3 3h-2",[Je.diamondSpecial]:"m1 8-1-1v-6l1-1h6l1 1v6l-1 1h-6",[Je.horizontalRounded]:"m1 2h6a1 1 0 000-2h-6a1 1 0 000 2m0 3h6a1 1 0 000-2h-6a1 1 0 000 2m0 3h6a1 1 0 000-2h-6a1 1 0 000 2",[Je.verticalRounded]:"m0 1v6a1 1 0 002 0v-6a1 1 0 00-2 0m3 0v6a1 1 0 002 0v-6a1 1 0 00-2 0m3 0v6a1 1 0 002 0v-6a1 1 0 00-2 0"};function hle(e,t,r){return t==="square"||t==="default"&&[Je.square,Je.ribbon].includes(e)?"m0 0 8 0 0 8-8 0z":t==="dot"?"m4 0a4 4 0 110 8 4 4 0 110-8":t==="default"&&VE[e]?VE[e]:r!=null&&r.path?r.path:""}const qa=(e,t)=>t.lazy(r=>e!=null&&e.nullable&&r===null?t.mixed().nullable():typeof r=="string"?t.string().hexColor({...e,strict:!0}):t.object({type:t.string().oneOf(["linear","radial"]).required(),rotation:t.number().required(),colorStops:t.array().of(t.object({offset:t.number().oneOf([0,1]),color:t.string().hexColor({...e,strict:!0})})).required()})),xee=e=>e.object().shape({frame:e.object().shape({id:e.mixed().nullable(),style:e.string(),color:qa(void 0,e),textColor:e.string().hexColor({strict:!0,allowUndefined:!0}),backgroundColor:qa({allowTransparent:!0,nullable:!0},e),text:e.string().max(30).when("id",([t],r)=>typeof t=="number"?r.required():r),fontSize:e.number()}),qrStyle:e.object().shape({shape:e.object().shape({backgroundColor:qa({allowTransparent:!0},e),color:qa(void 0,e),style:e.string().oneOf(vee)}),corners:e.object().shape({dotColor:qa(void 0,e),squareColor:qa(void 0,e),squareStyle:e.string().oneOf(yee),dotStyle:e.string().oneOf(bee)})}),logo:e.mixed().nullable().imageFileDimensions(Gr.builder.logoMaxSize).fileSize(Gr.builder.imageMaxFileSize)});function Ia(e){this._maxSize=e,this.clear()}Ia.prototype.clear=function(){this._size=0,this._values=Object.create(null)};Ia.prototype.get=function(e){return this._values[e]};Ia.prototype.set=function(e,t){return this._size>=this._maxSize&&this.clear(),e in this._values||this._size++,this._values[e]=t};var wee=/[^.^\]^[]+|(?=\[\]|\.\.)/g,mM=/^\d+$/,See=/^\d/,Eee=/[~`!#$%\^&*+=\-\[\]\\';,/{}|\\":<>\?]/g,Cee=/^\s*(['"]?)(.*?)(\1)\s*$/,x2=512,WE=new Ia(x2),GE=new Ia(x2),qE=new Ia(x2),la={Cache:Ia,split:Rv,normalizePath:Rg,setter:function(e){var t=Rg(e);return GE.get(e)||GE.set(e,function(n,o){for(var i=0,a=t.length,s=n;i<a-1;){var l=t[i];if(l==="__proto__"||l==="constructor"||l==="prototype")return n;s=s[t[i++]]}s[t[i]]=o})},getter:function(e,t){var r=Rg(e);return qE.get(e)||qE.set(e,function(o){for(var i=0,a=r.length;i<a;)if(o!=null||!t)o=o[r[i++]];else return;return o})},join:function(e){return e.reduce(function(t,r){return t+(w2(r)||mM.test(r)?"["+r+"]":(t?".":"")+r)},"")},forEach:function(e,t,r){Tee(Array.isArray(e)?e:Rv(e),t,r)}};function Rg(e){return WE.get(e)||WE.set(e,Rv(e).map(function(t){return t.replace(Cee,"$2")}))}function Rv(e){return e.match(wee)||[""]}function Tee(e,t,r){var n=e.length,o,i,a,s;for(i=0;i<n;i++)o=e[i],o&&(Aee(o)&&(o='"'+o+'"'),s=w2(o),a=!s&&/^\d+$/.test(o),t.call(r,o,s,a,i,e))}function w2(e){return typeof e=="string"&&e&&["'",'"'].indexOf(e.charAt(0))!==-1}function Ree(e){return e.match(See)&&!e.match(mM)}function _ee(e){return Eee.test(e)}function Aee(e){return!w2(e)&&(Ree(e)||_ee(e))}const kee=/[A-Z\xc0-\xd6\xd8-\xde]?[a-z\xdf-\xf6\xf8-\xff]+(?:['’](?:d|ll|m|re|s|t|ve))?(?=[\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000]|[A-Z\xc0-\xd6\xd8-\xde]|$)|(?:[A-Z\xc0-\xd6\xd8-\xde]|[^\ud800-\udfff\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\d+\u2700-\u27bfa-z\xdf-\xf6\xf8-\xffA-Z\xc0-\xd6\xd8-\xde])+(?:['’](?:D|LL|M|RE|S|T|VE))?(?=[\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000]|[A-Z\xc0-\xd6\xd8-\xde](?:[a-z\xdf-\xf6\xf8-\xff]|[^\ud800-\udfff\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\d+\u2700-\u27bfa-z\xdf-\xf6\xf8-\xffA-Z\xc0-\xd6\xd8-\xde])|$)|[A-Z\xc0-\xd6\xd8-\xde]?(?:[a-z\xdf-\xf6\xf8-\xff]|[^\ud800-\udfff\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\d+\u2700-\u27bfa-z\xdf-\xf6\xf8-\xffA-Z\xc0-\xd6\xd8-\xde])+(?:['’](?:d|ll|m|re|s|t|ve))?|[A-Z\xc0-\xd6\xd8-\xde]+(?:['’](?:D|LL|M|RE|S|T|VE))?|\d*(?:1ST|2ND|3RD|(?![123])\dTH)(?=\b|[a-z_])|\d*(?:1st|2nd|3rd|(?![123])\dth)(?=\b|[A-Z_])|\d+|(?:[\u2700-\u27bf]|(?:\ud83c[\udde6-\uddff]){2}|[\ud800-\udbff][\udc00-\udfff])[\ufe0e\ufe0f]?(?:[\u0300-\u036f\ufe20-\ufe2f\u20d0-\u20ff]|\ud83c[\udffb-\udfff])?(?:\u200d(?:[^\ud800-\udfff]|(?:\ud83c[\udde6-\uddff]){2}|[\ud800-\udbff][\udc00-\udfff])[\ufe0e\ufe0f]?(?:[\u0300-\u036f\ufe20-\ufe2f\u20d0-\u20ff]|\ud83c[\udffb-\udfff])?)*/g,Hh=e=>e.match(kee)||[],Uh=e=>e[0].toUpperCase()+e.slice(1),S2=(e,t)=>Hh(e).join(t).toLowerCase(),gM=e=>Hh(e).reduce((t,r)=>`${t}${t?r[0].toUpperCase()+r.slice(1).toLowerCase():r.toLowerCase()}`,""),Iee=e=>Uh(gM(e)),Mee=e=>S2(e,"_"),Pee=e=>S2(e,"-"),Oee=e=>Uh(S2(e," ")),Lee=e=>Hh(e).map(Uh).join(" ");var _g={words:Hh,upperFirst:Uh,camelCase:gM,pascalCase:Iee,snakeCase:Mee,kebabCase:Pee,sentenceCase:Oee,titleCase:Lee},E2={exports:{}};E2.exports=function(e){return vM(Nee(e),e)};E2.exports.array=vM;function vM(e,t){var r=e.length,n=new Array(r),o={},i=r,a=$ee(t),s=Dee(e);for(t.forEach(function(c){if(!s.has(c[0])||!s.has(c[1]))throw new Error("Unknown node. There is an unknown node in the supplied edges.")});i--;)o[i]||l(e[i],i,new Set);return n;function l(c,u,p){if(p.has(c)){var f;try{f=", node was:"+JSON.stringify(c)}catch{f=""}throw new Error("Cyclic dependency"+f)}if(!s.has(c))throw new Error("Found unknown node. Make sure to provided all involved nodes. Unknown node: "+JSON.stringify(c));if(!o[u]){o[u]=!0;var m=a.get(c)||new Set;if(m=Array.from(m),u=m.length){p.add(c);do{var v=m[--u];l(v,s.get(v),p)}while(u);p.delete(c)}n[--r]=c}}}function Nee(e){for(var t=new Set,r=0,n=e.length;r<n;r++){var o=e[r];t.add(o[0]),t.add(o[1])}return Array.from(t)}function $ee(e){for(var t=new Map,r=0,n=e.length;r<n;r++){var o=e[r];t.has(o[0])||t.set(o[0],new Set),t.has(o[1])||t.set(o[1],new Set),t.get(o[0]).add(o[1])}return t}function Dee(e){for(var t=new Map,r=0,n=e.length;r<n;r++)t.set(e[r],r);return t}var jee=E2.exports;const Fee=Ht(jee),Bee=Object.prototype.toString,Hee=Error.prototype.toString,Uee=RegExp.prototype.toString,zee=typeof Symbol<"u"?Symbol.prototype.toString:()=>"",Vee=/^Symbol\((.*)\)(.*)$/;function Wee(e){return e!=+e?"NaN":e===0&&1/e<0?"-0":""+e}function QE(e,t=!1){if(e==null||e===!0||e===!1)return""+e;const r=typeof e;if(r==="number")return Wee(e);if(r==="string")return t?`"${e}"`:e;if(r==="function")return"[Function "+(e.name||"anonymous")+"]";if(r==="symbol")return zee.call(e).replace(Vee,"Symbol($1)");const n=Bee.call(e).slice(8,-1);return n==="Date"?isNaN(e.getTime())?""+e:e.toISOString(e):n==="Error"||e instanceof Error?"["+Hee.call(e)+"]":n==="RegExp"?Uee.call(e):null}function Ro(e,t){let r=QE(e,t);return r!==null?r:JSON.stringify(e,function(n,o){let i=QE(this[n],t);return i!==null?i:o},2)}function yM(e){return e==null?[]:[].concat(e)}let bM,xM,wM,Gee=/\$\{\s*(\w+)\s*\}/g;bM=Symbol.toStringTag;class YE{constructor(t,r,n,o){this.name=void 0,this.message=void 0,this.value=void 0,this.path=void 0,this.type=void 0,this.params=void 0,this.errors=void 0,this.inner=void 0,this[bM]="Error",this.name="ValidationError",this.value=r,this.path=n,this.type=o,this.errors=[],this.inner=[],yM(t).forEach(i=>{if(_r.isError(i)){this.errors.push(...i.errors);const a=i.inner.length?i.inner:[i];this.inner.push(...a)}else this.errors.push(i)}),this.message=this.errors.length>1?`${this.errors.length} errors occurred`:this.errors[0]}}xM=Symbol.hasInstance;wM=Symbol.toStringTag;class _r extends Error{static formatError(t,r){const n=r.label||r.path||"this";return n!==r.path&&(r=Object.assign({},r,{path:n})),typeof t=="string"?t.replace(Gee,(o,i)=>Ro(r[i])):typeof t=="function"?t(r):t}static isError(t){return t&&t.name==="ValidationError"}constructor(t,r,n,o,i){const a=new YE(t,r,n,o);if(i)return a;super(),this.value=void 0,this.path=void 0,this.type=void 0,this.params=void 0,this.errors=[],this.inner=[],this[wM]="Error",this.name=a.name,this.message=a.message,this.type=a.type,this.value=a.value,this.path=a.path,this.errors=a.errors,this.inner=a.inner,Error.captureStackTrace&&Error.captureStackTrace(this,_r)}static[xM](t){return YE[Symbol.hasInstance](t)||super[Symbol.hasInstance](t)}}let fo={default:"${path} is invalid",required:"${path} is a required field",defined:"${path} must be defined",notNull:"${path} cannot be null",oneOf:"${path} must be one of the following values: ${values}",notOneOf:"${path} must not be one of the following values: ${values}",notType:({path:e,type:t,value:r,originalValue:n})=>{const o=n!=null&&n!==r?` (cast from the value \`${Ro(n,!0)}\`).`:".";return t!=="mixed"?`${e} must be a \`${t}\` type, but the final value was: \`${Ro(r,!0)}\``+o:`${e} must match the configured type. The validated value was: \`${Ro(r,!0)}\``+o}},$r={length:"${path} must be exactly ${length} characters",min:"${path} must be at least ${min} characters",max:"${path} must be at most ${max} characters",matches:'${path} must match the following: "${regex}"',email:"${path} must be a valid email",url:"${path} must be a valid URL",uuid:"${path} must be a valid UUID",datetime:"${path} must be a valid ISO date-time",datetime_precision:"${path} must be a valid ISO date-time with a sub-second precision of exactly ${precision} digits",datetime_offset:'${path} must be a valid ISO date-time with UTC "Z" timezone',trim:"${path} must be a trimmed string",lowercase:"${path} must be a lowercase string",uppercase:"${path} must be a upper case string"},ci={min:"${path} must be greater than or equal to ${min}",max:"${path} must be less than or equal to ${max}",lessThan:"${path} must be less than ${less}",moreThan:"${path} must be greater than ${more}",positive:"${path} must be a positive number",negative:"${path} must be a negative number",integer:"${path} must be an integer"},_v={min:"${path} field must be later than ${min}",max:"${path} field must be at earlier than ${max}"},Av={isValue:"${path} field must be ${value}"},kv={noUnknown:"${path} field has unspecified keys: ${unknown}"},Xd={min:"${path} field must have at least ${min} items",max:"${path} field must have less than or equal to ${max} items",length:"${path} must have ${length} items"},SM={notType:e=>{const{path:t,value:r,spec:n}=e,o=n.types.length;if(Array.isArray(r)){if(r.length<o)return`${t} tuple value has too few items, expected a length of ${o} but got ${r.length} for value: \`${Ro(r,!0)}\``;if(r.length>o)return`${t} tuple value has too many items, expected a length of ${o} but got ${r.length} for value: \`${Ro(r,!0)}\``}return _r.formatError(fo.notType,e)}};var EM=Object.assign(Object.create(null),{mixed:fo,string:$r,number:ci,date:_v,object:kv,array:Xd,boolean:Av,tuple:SM});const Ma=e=>e&&e.__isYupSchema__;class Qp{static fromOptions(t,r){if(!r.then&&!r.otherwise)throw new TypeError("either `then:` or `otherwise:` is required for `when()` conditions");let{is:n,then:o,otherwise:i}=r,a=typeof n=="function"?n:(...s)=>s.every(l=>l===n);return new Qp(t,(s,l)=>{var c;let u=a(...s)?o:i;return(c=u==null?void 0:u(l))!=null?c:l})}constructor(t,r){this.fn=void 0,this.refs=t,this.refs=t,this.fn=r}resolve(t,r){let n=this.refs.map(i=>i.getValue(r==null?void 0:r.value,r==null?void 0:r.parent,r==null?void 0:r.context)),o=this.fn(n,t,r);if(o===void 0||o===t)return t;if(!Ma(o))throw new TypeError("conditions must return a schema object");return o.resolve(r)}}const bd={context:"$",value:"."};function qee(e,t){return new zi(e,t)}class zi{constructor(t,r={}){if(this.key=void 0,this.isContext=void 0,this.isValue=void 0,this.isSibling=void 0,this.path=void 0,this.getter=void 0,this.map=void 0,typeof t!="string")throw new TypeError("ref must be a string, got: "+t);if(this.key=t.trim(),t==="")throw new TypeError("ref must be a non-empty string");this.isContext=this.key[0]===bd.context,this.isValue=this.key[0]===bd.value,this.isSibling=!this.isContext&&!this.isValue;let n=this.isContext?bd.context:this.isValue?bd.value:"";this.path=this.key.slice(n.length),this.getter=this.path&&la.getter(this.path,!0),this.map=r.map}getValue(t,r,n){let o=this.isContext?n:this.isValue?t:r;return this.getter&&(o=this.getter(o||{})),this.map&&(o=this.map(o)),o}cast(t,r){return this.getValue(t,r==null?void 0:r.parent,r==null?void 0:r.context)}resolve(){return this}describe(){return{type:"ref",key:this.key}}toString(){return`Ref(${this.key})`}static isRef(t){return t&&t.__isYupRef}}zi.prototype.__isYupRef=!0;const Xn=e=>e==null;function Qa(e){function t({value:r,path:n="",options:o,originalValue:i,schema:a},s,l){const{name:c,test:u,params:p,message:f,skipAbsent:m}=e;let{parent:v,context:h,abortEarly:x=a.spec.abortEarly,disableStackTrace:y=a.spec.disableStackTrace}=o;function b(O){return zi.isRef(O)?O.getValue(r,v,h):O}function w(O={}){const F=Object.assign({value:r,originalValue:i,label:a.spec.label,path:O.path||n,spec:a.spec,disableStackTrace:O.disableStackTrace||y},p,O.params);for(const D of Object.keys(F))F[D]=b(F[D]);const I=new _r(_r.formatError(O.message||f,F),r,F.path,O.type||c,F.disableStackTrace);return I.params=F,I}const S=x?s:l;let T={path:n,parent:v,type:c,from:o.from,createError:w,resolve:b,options:o,originalValue:i,schema:a};const R=O=>{_r.isError(O)?S(O):O?l(null):S(w())},E=O=>{_r.isError(O)?S(O):s(O)};if(m&&Xn(r))return R(!0);let P;try{var M;if(P=u.call(T,r,T),typeof((M=P)==null?void 0:M.then)=="function"){if(o.sync)throw new Error(`Validation test of type: "${T.type}" returned a Promise during a synchronous validate. This test will finish after the validate call has returned`);return Promise.resolve(P).then(R,E)}}catch(O){E(O);return}R(P)}return t.OPTIONS=e,t}function C2(e,t,r,n=r){let o,i,a;return t?(la.forEach(t,(s,l,c)=>{let u=l?s.slice(1,s.length-1):s;e=e.resolve({context:n,parent:o,value:r});let p=e.type==="tuple",f=c?parseInt(u,10):0;if(e.innerType||p){if(p&&!c)throw new Error(`Yup.reach cannot implicitly index into a tuple type. the path part "${a}" must contain an index to the tuple element, e.g. "${a}[0]"`);if(r&&f>=r.length)throw new Error(`Yup.reach cannot resolve an array item at index: ${s}, in the path: ${t}. because there is no value at that index. `);o=r,r=r&&r[f],e=p?e.spec.types[f]:e.innerType}if(!c){if(!e.fields||!e.fields[u])throw new Error(`The schema does not contain the path: ${t}. (failed at: ${a} which is a type: "${e.type}")`);o=r,r=r&&r[u],e=e.fields[u]}i=u,a=l?"["+s+"]":"."+s}),{schema:e,parent:o,parentPath:i}):{parent:o,parentPath:t,schema:e}}function Qee(e,t,r,n){return C2(e,t,r,n).schema}class Yp extends Set{describe(){const t=[];for(const r of this.values())t.push(zi.isRef(r)?r.describe():r);return t}resolveAll(t){let r=[];for(const n of this.values())r.push(t(n));return r}clone(){return new Yp(this.values())}merge(t,r){const n=this.clone();return t.forEach(o=>n.add(o)),r.forEach(o=>n.delete(o)),n}}function gs(e,t=new Map){if(Ma(e)||!e||typeof e!="object")return e;if(t.has(e))return t.get(e);let r;if(e instanceof Date)r=new Date(e.getTime()),t.set(e,r);else if(e instanceof RegExp)r=new RegExp(e),t.set(e,r);else if(Array.isArray(e)){r=new Array(e.length),t.set(e,r);for(let n=0;n<e.length;n++)r[n]=gs(e[n],t)}else if(e instanceof Map){r=new Map,t.set(e,r);for(const[n,o]of e.entries())r.set(n,gs(o,t))}else if(e instanceof Set){r=new Set,t.set(e,r);for(const n of e)r.add(gs(n,t))}else if(e instanceof Object){r={},t.set(e,r);for(const[n,o]of Object.entries(e))r[n]=gs(o,t)}else throw Error(`Unable to clone ${e}`);return r}class wr{constructor(t){this.type=void 0,this.deps=[],this.tests=void 0,this.transforms=void 0,this.conditions=[],this._mutate=void 0,this.internalTests={},this._whitelist=new Yp,this._blacklist=new Yp,this.exclusiveTests=Object.create(null),this._typeCheck=void 0,this.spec=void 0,this.tests=[],this.transforms=[],this.withMutation(()=>{this.typeError(fo.notType)}),this.type=t.type,this._typeCheck=t.check,this.spec=Object.assign({strip:!1,strict:!1,abortEarly:!0,recursive:!0,disableStackTrace:!1,nullable:!1,optional:!0,coerce:!0},t==null?void 0:t.spec),this.withMutation(r=>{r.nonNullable()})}get _type(){return this.type}clone(t){if(this._mutate)return t&&Object.assign(this.spec,t),this;const r=Object.create(Object.getPrototypeOf(this));return r.type=this.type,r._typeCheck=this._typeCheck,r._whitelist=this._whitelist.clone(),r._blacklist=this._blacklist.clone(),r.internalTests=Object.assign({},this.internalTests),r.exclusiveTests=Object.assign({},this.exclusiveTests),r.deps=[...this.deps],r.conditions=[...this.conditions],r.tests=[...this.tests],r.transforms=[...this.transforms],r.spec=gs(Object.assign({},this.spec,t)),r}label(t){let r=this.clone();return r.spec.label=t,r}meta(...t){if(t.length===0)return this.spec.meta;let r=this.clone();return r.spec.meta=Object.assign(r.spec.meta||{},t[0]),r}withMutation(t){let r=this._mutate;this._mutate=!0;let n=t(this);return this._mutate=r,n}concat(t){if(!t||t===this)return this;if(t.type!==this.type&&this.type!=="mixed")throw new TypeError(`You cannot \`concat()\` schema's of different types: ${this.type} and ${t.type}`);let r=this,n=t.clone();const o=Object.assign({},r.spec,n.spec);return n.spec=o,n.internalTests=Object.assign({},r.internalTests,n.internalTests),n._whitelist=r._whitelist.merge(t._whitelist,t._blacklist),n._blacklist=r._blacklist.merge(t._blacklist,t._whitelist),n.tests=r.tests,n.exclusiveTests=r.exclusiveTests,n.withMutation(i=>{t.tests.forEach(a=>{i.test(a.OPTIONS)})}),n.transforms=[...r.transforms,...n.transforms],n}isType(t){return t==null?!!(this.spec.nullable&&t===null||this.spec.optional&&t===void 0):this._typeCheck(t)}resolve(t){let r=this;if(r.conditions.length){let n=r.conditions;r=r.clone(),r.conditions=[],r=n.reduce((o,i)=>i.resolve(o,t),r),r=r.resolve(t)}return r}resolveOptions(t){var r,n,o,i;return Object.assign({},t,{from:t.from||[],strict:(r=t.strict)!=null?r:this.spec.strict,abortEarly:(n=t.abortEarly)!=null?n:this.spec.abortEarly,recursive:(o=t.recursive)!=null?o:this.spec.recursive,disableStackTrace:(i=t.disableStackTrace)!=null?i:this.spec.disableStackTrace})}cast(t,r={}){let n=this.resolve(Object.assign({value:t},r)),o=r.assert==="ignore-optionality",i=n._cast(t,r);if(r.assert!==!1&&!n.isType(i)){if(o&&Xn(i))return i;let a=Ro(t),s=Ro(i);throw new TypeError(`The value of ${r.path||"field"} could not be cast to a value that satisfies the schema type: "${n.type}". 

attempted value: ${a} 
`+(s!==a?`result of cast: ${s}`:""))}return i}_cast(t,r){let n=t===void 0?t:this.transforms.reduce((o,i)=>i.call(this,o,t,this),t);return n===void 0&&(n=this.getDefault(r)),n}_validate(t,r={},n,o){let{path:i,originalValue:a=t,strict:s=this.spec.strict}=r,l=t;s||(l=this._cast(l,Object.assign({assert:!1},r)));let c=[];for(let u of Object.values(this.internalTests))u&&c.push(u);this.runTests({path:i,value:l,originalValue:a,options:r,tests:c},n,u=>{if(u.length)return o(u,l);this.runTests({path:i,value:l,originalValue:a,options:r,tests:this.tests},n,o)})}runTests(t,r,n){let o=!1,{tests:i,value:a,originalValue:s,path:l,options:c}=t,u=h=>{o||(o=!0,r(h,a))},p=h=>{o||(o=!0,n(h,a))},f=i.length,m=[];if(!f)return p([]);let v={value:a,originalValue:s,path:l,options:c,schema:this};for(let h=0;h<i.length;h++){const x=i[h];x(v,u,function(b){b&&(Array.isArray(b)?m.push(...b):m.push(b)),--f<=0&&p(m)})}}asNestedTest({key:t,index:r,parent:n,parentPath:o,originalParent:i,options:a}){const s=t??r;if(s==null)throw TypeError("Must include `key` or `index` for nested validations");const l=typeof s=="number";let c=n[s];const u=Object.assign({},a,{strict:!0,parent:n,value:c,originalValue:i[s],key:void 0,[l?"index":"key"]:s,path:l||s.includes(".")?`${o||""}[${l?s:`"${s}"`}]`:(o?`${o}.`:"")+t});return(p,f,m)=>this.resolve(u)._validate(c,u,f,m)}validate(t,r){var n;let o=this.resolve(Object.assign({},r,{value:t})),i=(n=r==null?void 0:r.disableStackTrace)!=null?n:o.spec.disableStackTrace;return new Promise((a,s)=>o._validate(t,r,(l,c)=>{_r.isError(l)&&(l.value=c),s(l)},(l,c)=>{l.length?s(new _r(l,c,void 0,void 0,i)):a(c)}))}validateSync(t,r){var n;let o=this.resolve(Object.assign({},r,{value:t})),i,a=(n=r==null?void 0:r.disableStackTrace)!=null?n:o.spec.disableStackTrace;return o._validate(t,Object.assign({},r,{sync:!0}),(s,l)=>{throw _r.isError(s)&&(s.value=l),s},(s,l)=>{if(s.length)throw new _r(s,t,void 0,void 0,a);i=l}),i}isValid(t,r){return this.validate(t,r).then(()=>!0,n=>{if(_r.isError(n))return!1;throw n})}isValidSync(t,r){try{return this.validateSync(t,r),!0}catch(n){if(_r.isError(n))return!1;throw n}}_getDefault(t){let r=this.spec.default;return r==null?r:typeof r=="function"?r.call(this,t):gs(r)}getDefault(t){return this.resolve(t||{})._getDefault(t)}default(t){return arguments.length===0?this._getDefault():this.clone({default:t})}strict(t=!0){return this.clone({strict:t})}nullability(t,r){const n=this.clone({nullable:t});return n.internalTests.nullable=Qa({message:r,name:"nullable",test(o){return o===null?this.schema.spec.nullable:!0}}),n}optionality(t,r){const n=this.clone({optional:t});return n.internalTests.optionality=Qa({message:r,name:"optionality",test(o){return o===void 0?this.schema.spec.optional:!0}}),n}optional(){return this.optionality(!0)}defined(t=fo.defined){return this.optionality(!1,t)}nullable(){return this.nullability(!0)}nonNullable(t=fo.notNull){return this.nullability(!1,t)}required(t=fo.required){return this.clone().withMutation(r=>r.nonNullable(t).defined(t))}notRequired(){return this.clone().withMutation(t=>t.nullable().optional())}transform(t){let r=this.clone();return r.transforms.push(t),r}test(...t){let r;if(t.length===1?typeof t[0]=="function"?r={test:t[0]}:r=t[0]:t.length===2?r={name:t[0],test:t[1]}:r={name:t[0],message:t[1],test:t[2]},r.message===void 0&&(r.message=fo.default),typeof r.test!="function")throw new TypeError("`test` is a required parameters");let n=this.clone(),o=Qa(r),i=r.exclusive||r.name&&n.exclusiveTests[r.name]===!0;if(r.exclusive&&!r.name)throw new TypeError("Exclusive tests must provide a unique `name` identifying the test");return r.name&&(n.exclusiveTests[r.name]=!!r.exclusive),n.tests=n.tests.filter(a=>!(a.OPTIONS.name===r.name&&(i||a.OPTIONS.test===o.OPTIONS.test))),n.tests.push(o),n}when(t,r){!Array.isArray(t)&&typeof t!="string"&&(r=t,t=".");let n=this.clone(),o=yM(t).map(i=>new zi(i));return o.forEach(i=>{i.isSibling&&n.deps.push(i.key)}),n.conditions.push(typeof r=="function"?new Qp(o,r):Qp.fromOptions(o,r)),n}typeError(t){let r=this.clone();return r.internalTests.typeError=Qa({message:t,name:"typeError",skipAbsent:!0,test(n){return this.schema._typeCheck(n)?!0:this.createError({params:{type:this.schema.type}})}}),r}oneOf(t,r=fo.oneOf){let n=this.clone();return t.forEach(o=>{n._whitelist.add(o),n._blacklist.delete(o)}),n.internalTests.whiteList=Qa({message:r,name:"oneOf",skipAbsent:!0,test(o){let i=this.schema._whitelist,a=i.resolveAll(this.resolve);return a.includes(o)?!0:this.createError({params:{values:Array.from(i).join(", "),resolved:a}})}}),n}notOneOf(t,r=fo.notOneOf){let n=this.clone();return t.forEach(o=>{n._blacklist.add(o),n._whitelist.delete(o)}),n.internalTests.blacklist=Qa({message:r,name:"notOneOf",test(o){let i=this.schema._blacklist,a=i.resolveAll(this.resolve);return a.includes(o)?this.createError({params:{values:Array.from(i).join(", "),resolved:a}}):!0}}),n}strip(t=!0){let r=this.clone();return r.spec.strip=t,r}describe(t){const r=(t?this.resolve(t):this).clone(),{label:n,meta:o,optional:i,nullable:a}=r.spec;return{meta:o,label:n,optional:i,nullable:a,default:r.getDefault(t),type:r.type,oneOf:r._whitelist.describe(),notOneOf:r._blacklist.describe(),tests:r.tests.map(l=>({name:l.OPTIONS.name,params:l.OPTIONS.params})).filter((l,c,u)=>u.findIndex(p=>p.name===l.name)===c)}}}wr.prototype.__isYupSchema__=!0;for(const e of["validate","validateSync"])wr.prototype[`${e}At`]=function(t,r,n={}){const{parent:o,parentPath:i,schema:a}=C2(this,t,r,n.context);return a[e](o&&o[i],Object.assign({},n,{parent:o,path:t}))};for(const e of["equals","is"])wr.prototype[e]=wr.prototype.oneOf;for(const e of["not","nope"])wr.prototype[e]=wr.prototype.notOneOf;const Yee=()=>!0;function dc(e){return new T2(e)}class T2 extends wr{constructor(t){super(typeof t=="function"?{type:"mixed",check:t}:Object.assign({type:"mixed",check:Yee},t))}}dc.prototype=T2.prototype;function Iv(){return new R2}class R2 extends wr{constructor(){super({type:"boolean",check(t){return t instanceof Boolean&&(t=t.valueOf()),typeof t=="boolean"}}),this.withMutation(()=>{this.transform((t,r,n)=>{if(n.spec.coerce&&!n.isType(t)){if(/^(true|1)$/i.test(String(t)))return!0;if(/^(false|0)$/i.test(String(t)))return!1}return t})})}isTrue(t=Av.isValue){return this.test({message:t,name:"is-value",exclusive:!0,params:{value:"true"},test(r){return Xn(r)||r===!0}})}isFalse(t=Av.isValue){return this.test({message:t,name:"is-value",exclusive:!0,params:{value:"false"},test(r){return Xn(r)||r===!1}})}default(t){return super.default(t)}defined(t){return super.defined(t)}optional(){return super.optional()}required(t){return super.required(t)}notRequired(){return super.notRequired()}nullable(){return super.nullable()}nonNullable(t){return super.nonNullable(t)}strip(t){return super.strip(t)}}Iv.prototype=R2.prototype;const Kee=/^(\d{4}|[+-]\d{6})(?:-?(\d{2})(?:-?(\d{2}))?)?(?:[ T]?(\d{2}):?(\d{2})(?::?(\d{2})(?:[,.](\d{1,}))?)?(?:(Z)|([+-])(\d{2})(?::?(\d{2}))?)?)?$/;function Zee(e){const t=Mv(e);if(!t)return Date.parse?Date.parse(e):Number.NaN;if(t.z===void 0&&t.plusMinus===void 0)return new Date(t.year,t.month,t.day,t.hour,t.minute,t.second,t.millisecond).valueOf();let r=0;return t.z!=="Z"&&t.plusMinus!==void 0&&(r=t.hourOffset*60+t.minuteOffset,t.plusMinus==="+"&&(r=0-r)),Date.UTC(t.year,t.month,t.day,t.hour,t.minute+r,t.second,t.millisecond)}function Mv(e){var t,r;const n=Kee.exec(e);return n?{year:Fo(n[1]),month:Fo(n[2],1)-1,day:Fo(n[3],1),hour:Fo(n[4]),minute:Fo(n[5]),second:Fo(n[6]),millisecond:n[7]?Fo(n[7].substring(0,3)):0,precision:(t=(r=n[7])==null?void 0:r.length)!=null?t:void 0,z:n[8]||void 0,plusMinus:n[9]||void 0,hourOffset:Fo(n[10]),minuteOffset:Fo(n[11])}:null}function Fo(e,t=0){return Number(e)||t}let Xee=/^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,Jee=/^((https?|ftp):)?\/\/(((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?(((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?)(:\d*)?)(\/((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)?(\?((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(\#((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/i,ete=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i,tte="^\\d{4}-\\d{2}-\\d{2}",rte="\\d{2}:\\d{2}:\\d{2}",nte="(([+-]\\d{2}(:?\\d{2})?)|Z)",ote=new RegExp(`${tte}T${rte}(\\.\\d+)?${nte}$`),ite=e=>Xn(e)||e===e.trim(),ate={}.toString();function rr(){return new _2}class _2 extends wr{constructor(){super({type:"string",check(t){return t instanceof String&&(t=t.valueOf()),typeof t=="string"}}),this.withMutation(()=>{this.transform((t,r,n)=>{if(!n.spec.coerce||n.isType(t)||Array.isArray(t))return t;const o=t!=null&&t.toString?t.toString():t;return o===ate?t:o})})}required(t){return super.required(t).withMutation(r=>r.test({message:t||fo.required,name:"required",skipAbsent:!0,test:n=>!!n.length}))}notRequired(){return super.notRequired().withMutation(t=>(t.tests=t.tests.filter(r=>r.OPTIONS.name!=="required"),t))}length(t,r=$r.length){return this.test({message:r,name:"length",exclusive:!0,params:{length:t},skipAbsent:!0,test(n){return n.length===this.resolve(t)}})}min(t,r=$r.min){return this.test({message:r,name:"min",exclusive:!0,params:{min:t},skipAbsent:!0,test(n){return n.length>=this.resolve(t)}})}max(t,r=$r.max){return this.test({name:"max",exclusive:!0,message:r,params:{max:t},skipAbsent:!0,test(n){return n.length<=this.resolve(t)}})}matches(t,r){let n=!1,o,i;return r&&(typeof r=="object"?{excludeEmptyString:n=!1,message:o,name:i}=r:o=r),this.test({name:i||"matches",message:o||$r.matches,params:{regex:t},skipAbsent:!0,test:a=>a===""&&n||a.search(t)!==-1})}email(t=$r.email){return this.matches(Xee,{name:"email",message:t,excludeEmptyString:!0})}url(t=$r.url){return this.matches(Jee,{name:"url",message:t,excludeEmptyString:!0})}uuid(t=$r.uuid){return this.matches(ete,{name:"uuid",message:t,excludeEmptyString:!1})}datetime(t){let r="",n,o;return t&&(typeof t=="object"?{message:r="",allowOffset:n=!1,precision:o=void 0}=t:r=t),this.matches(ote,{name:"datetime",message:r||$r.datetime,excludeEmptyString:!0}).test({name:"datetime_offset",message:r||$r.datetime_offset,params:{allowOffset:n},skipAbsent:!0,test:i=>{if(!i||n)return!0;const a=Mv(i);return a?!!a.z:!1}}).test({name:"datetime_precision",message:r||$r.datetime_precision,params:{precision:o},skipAbsent:!0,test:i=>{if(!i||o==null)return!0;const a=Mv(i);return a?a.precision===o:!1}})}ensure(){return this.default("").transform(t=>t===null?"":t)}trim(t=$r.trim){return this.transform(r=>r!=null?r.trim():r).test({message:t,name:"trim",test:ite})}lowercase(t=$r.lowercase){return this.transform(r=>Xn(r)?r:r.toLowerCase()).test({message:t,name:"string_case",exclusive:!0,skipAbsent:!0,test:r=>Xn(r)||r===r.toLowerCase()})}uppercase(t=$r.uppercase){return this.transform(r=>Xn(r)?r:r.toUpperCase()).test({message:t,name:"string_case",exclusive:!0,skipAbsent:!0,test:r=>Xn(r)||r===r.toUpperCase()})}}rr.prototype=_2.prototype;let ste=e=>e!=+e;function CM(){return new A2}class A2 extends wr{constructor(){super({type:"number",check(t){return t instanceof Number&&(t=t.valueOf()),typeof t=="number"&&!ste(t)}}),this.withMutation(()=>{this.transform((t,r,n)=>{if(!n.spec.coerce)return t;let o=t;if(typeof o=="string"){if(o=o.replace(/\s/g,""),o==="")return NaN;o=+o}return n.isType(o)||o===null?o:parseFloat(o)})})}min(t,r=ci.min){return this.test({message:r,name:"min",exclusive:!0,params:{min:t},skipAbsent:!0,test(n){return n>=this.resolve(t)}})}max(t,r=ci.max){return this.test({message:r,name:"max",exclusive:!0,params:{max:t},skipAbsent:!0,test(n){return n<=this.resolve(t)}})}lessThan(t,r=ci.lessThan){return this.test({message:r,name:"max",exclusive:!0,params:{less:t},skipAbsent:!0,test(n){return n<this.resolve(t)}})}moreThan(t,r=ci.moreThan){return this.test({message:r,name:"min",exclusive:!0,params:{more:t},skipAbsent:!0,test(n){return n>this.resolve(t)}})}positive(t=ci.positive){return this.moreThan(0,t)}negative(t=ci.negative){return this.lessThan(0,t)}integer(t=ci.integer){return this.test({name:"integer",message:t,skipAbsent:!0,test:r=>Number.isInteger(r)})}truncate(){return this.transform(t=>Xn(t)?t:t|0)}round(t){var r;let n=["ceil","floor","round","trunc"];if(t=((r=t)==null?void 0:r.toLowerCase())||"round",t==="trunc")return this.truncate();if(n.indexOf(t.toLowerCase())===-1)throw new TypeError("Only valid options for round() are: "+n.join(", "));return this.transform(o=>Xn(o)?o:Math[t](o))}}CM.prototype=A2.prototype;let TM=new Date(""),lte=e=>Object.prototype.toString.call(e)==="[object Date]";function k2(){return new pl}class pl extends wr{constructor(){super({type:"date",check(t){return lte(t)&&!isNaN(t.getTime())}}),this.withMutation(()=>{this.transform((t,r,n)=>!n.spec.coerce||n.isType(t)||t===null?t:(t=Zee(t),isNaN(t)?pl.INVALID_DATE:new Date(t)))})}prepareParam(t,r){let n;if(zi.isRef(t))n=t;else{let o=this.cast(t);if(!this._typeCheck(o))throw new TypeError(`\`${r}\` must be a Date or a value that can be \`cast()\` to a Date`);n=o}return n}min(t,r=_v.min){let n=this.prepareParam(t,"min");return this.test({message:r,name:"min",exclusive:!0,params:{min:t},skipAbsent:!0,test(o){return o>=this.resolve(n)}})}max(t,r=_v.max){let n=this.prepareParam(t,"max");return this.test({message:r,name:"max",exclusive:!0,params:{max:t},skipAbsent:!0,test(o){return o<=this.resolve(n)}})}}pl.INVALID_DATE=TM;k2.prototype=pl.prototype;k2.INVALID_DATE=TM;function cte(e,t=[]){let r=[],n=new Set,o=new Set(t.map(([a,s])=>`${a}-${s}`));function i(a,s){let l=la.split(a)[0];n.add(l),o.has(`${s}-${l}`)||r.push([s,l])}for(const a of Object.keys(e)){let s=e[a];n.add(a),zi.isRef(s)&&s.isSibling?i(s.path,a):Ma(s)&&"deps"in s&&s.deps.forEach(l=>i(l,a))}return Fee.array(Array.from(n),r).reverse()}function KE(e,t){let r=1/0;return e.some((n,o)=>{var i;if((i=t.path)!=null&&i.includes(n))return r=o,!0}),r}function RM(e){return(t,r)=>KE(e,t)-KE(e,r)}const _M=(e,t,r)=>{if(typeof e!="string")return e;let n=e;try{n=JSON.parse(e)}catch{}return r.isType(n)?n:e};function Jd(e){if("fields"in e){const t={};for(const[r,n]of Object.entries(e.fields))t[r]=Jd(n);return e.setFields(t)}if(e.type==="array"){const t=e.optional();return t.innerType&&(t.innerType=Jd(t.innerType)),t}return e.type==="tuple"?e.optional().clone({types:e.spec.types.map(Jd)}):"optional"in e?e.optional():e}const ute=(e,t)=>{const r=[...la.normalizePath(t)];if(r.length===1)return r[0]in e;let n=r.pop(),o=la.getter(la.join(r),!0)(e);return!!(o&&n in o)};let ZE=e=>Object.prototype.toString.call(e)==="[object Object]";function dte(e,t){let r=Object.keys(e.fields);return Object.keys(t).filter(n=>r.indexOf(n)===-1)}const pte=RM([]);function fi(e){return new I2(e)}class I2 extends wr{constructor(t){super({type:"object",check(r){return ZE(r)||typeof r=="function"}}),this.fields=Object.create(null),this._sortErrors=pte,this._nodes=[],this._excludedEdges=[],this.withMutation(()=>{t&&this.shape(t)})}_cast(t,r={}){var n;let o=super._cast(t,r);if(o===void 0)return this.getDefault(r);if(!this._typeCheck(o))return o;let i=this.fields,a=(n=r.stripUnknown)!=null?n:this.spec.noUnknown,s=[].concat(this._nodes,Object.keys(o).filter(p=>!this._nodes.includes(p))),l={},c=Object.assign({},r,{parent:l,__validating:r.__validating||!1}),u=!1;for(const p of s){let f=i[p],m=p in o;if(f){let v,h=o[p];c.path=(r.path?`${r.path}.`:"")+p,f=f.resolve({value:h,context:r.context,parent:l});let x=f instanceof wr?f.spec:void 0,y=x==null?void 0:x.strict;if(x!=null&&x.strip){u=u||p in o;continue}v=!r.__validating||!y?f.cast(o[p],c):o[p],v!==void 0&&(l[p]=v)}else m&&!a&&(l[p]=o[p]);(m!==p in l||l[p]!==o[p])&&(u=!0)}return u?l:o}_validate(t,r={},n,o){let{from:i=[],originalValue:a=t,recursive:s=this.spec.recursive}=r;r.from=[{schema:this,value:a},...i],r.__validating=!0,r.originalValue=a,super._validate(t,r,n,(l,c)=>{if(!s||!ZE(c)){o(l,c);return}a=a||c;let u=[];for(let p of this._nodes){let f=this.fields[p];!f||zi.isRef(f)||u.push(f.asNestedTest({options:r,key:p,parent:c,parentPath:r.path,originalParent:a}))}this.runTests({tests:u,value:c,originalValue:a,options:r},n,p=>{o(p.sort(this._sortErrors).concat(l),c)})})}clone(t){const r=super.clone(t);return r.fields=Object.assign({},this.fields),r._nodes=this._nodes,r._excludedEdges=this._excludedEdges,r._sortErrors=this._sortErrors,r}concat(t){let r=super.concat(t),n=r.fields;for(let[o,i]of Object.entries(this.fields)){const a=n[o];n[o]=a===void 0?i:a}return r.withMutation(o=>o.setFields(n,[...this._excludedEdges,...t._excludedEdges]))}_getDefault(t){if("default"in this.spec)return super._getDefault(t);if(!this._nodes.length)return;let r={};return this._nodes.forEach(n=>{var o;const i=this.fields[n];let a=t;(o=a)!=null&&o.value&&(a=Object.assign({},a,{parent:a.value,value:a.value[n]})),r[n]=i&&"getDefault"in i?i.getDefault(a):void 0}),r}setFields(t,r){let n=this.clone();return n.fields=t,n._nodes=cte(t,r),n._sortErrors=RM(Object.keys(t)),r&&(n._excludedEdges=r),n}shape(t,r=[]){return this.clone().withMutation(n=>{let o=n._excludedEdges;return r.length&&(Array.isArray(r[0])||(r=[r]),o=[...n._excludedEdges,...r]),n.setFields(Object.assign(n.fields,t),o)})}partial(){const t={};for(const[r,n]of Object.entries(this.fields))t[r]="optional"in n&&n.optional instanceof Function?n.optional():n;return this.setFields(t)}deepPartial(){return Jd(this)}pick(t){const r={};for(const n of t)this.fields[n]&&(r[n]=this.fields[n]);return this.setFields(r,this._excludedEdges.filter(([n,o])=>t.includes(n)&&t.includes(o)))}omit(t){const r=[];for(const n of Object.keys(this.fields))t.includes(n)||r.push(n);return this.pick(r)}from(t,r,n){let o=la.getter(t,!0);return this.transform(i=>{if(!i)return i;let a=i;return ute(i,t)&&(a=Object.assign({},i),n||delete a[t],a[r]=o(i)),a})}json(){return this.transform(_M)}noUnknown(t=!0,r=kv.noUnknown){typeof t!="boolean"&&(r=t,t=!0);let n=this.test({name:"noUnknown",exclusive:!0,message:r,test(o){if(o==null)return!0;const i=dte(this.schema,o);return!t||i.length===0||this.createError({params:{unknown:i.join(", ")}})}});return n.spec.noUnknown=t,n}unknown(t=!0,r=kv.noUnknown){return this.noUnknown(!t,r)}transformKeys(t){return this.transform(r=>{if(!r)return r;const n={};for(const o of Object.keys(r))n[t(o)]=r[o];return n})}camelCase(){return this.transformKeys(_g.camelCase)}snakeCase(){return this.transformKeys(_g.snakeCase)}constantCase(){return this.transformKeys(t=>_g.snakeCase(t).toUpperCase())}describe(t){const r=(t?this.resolve(t):this).clone(),n=super.describe(t);n.fields={};for(const[i,a]of Object.entries(r.fields)){var o;let s=t;(o=s)!=null&&o.value&&(s=Object.assign({},s,{parent:s.value,value:s.value[i]})),n.fields[i]=a.describe(s)}return n}}fi.prototype=I2.prototype;function Kp(e){return new M2(e)}class M2 extends wr{constructor(t){super({type:"array",spec:{types:t},check(r){return Array.isArray(r)}}),this.innerType=void 0,this.innerType=t}_cast(t,r){const n=super._cast(t,r);if(!this._typeCheck(n)||!this.innerType)return n;let o=!1;const i=n.map((a,s)=>{const l=this.innerType.cast(a,Object.assign({},r,{path:`${r.path||""}[${s}]`}));return l!==a&&(o=!0),l});return o?i:n}_validate(t,r={},n,o){var i;let a=this.innerType,s=(i=r.recursive)!=null?i:this.spec.recursive;r.originalValue!=null&&r.originalValue,super._validate(t,r,n,(l,c)=>{var u;if(!s||!a||!this._typeCheck(c)){o(l,c);return}let p=new Array(c.length);for(let m=0;m<c.length;m++){var f;p[m]=a.asNestedTest({options:r,index:m,parent:c,parentPath:r.path,originalParent:(f=r.originalValue)!=null?f:t})}this.runTests({value:c,tests:p,originalValue:(u=r.originalValue)!=null?u:t,options:r},n,m=>o(m.concat(l),c))})}clone(t){const r=super.clone(t);return r.innerType=this.innerType,r}json(){return this.transform(_M)}concat(t){let r=super.concat(t);return r.innerType=this.innerType,t.innerType&&(r.innerType=r.innerType?r.innerType.concat(t.innerType):t.innerType),r}of(t){let r=this.clone();if(!Ma(t))throw new TypeError("`array.of()` sub-schema must be a valid yup schema not: "+Ro(t));return r.innerType=t,r.spec=Object.assign({},r.spec,{types:t}),r}length(t,r=Xd.length){return this.test({message:r,name:"length",exclusive:!0,params:{length:t},skipAbsent:!0,test(n){return n.length===this.resolve(t)}})}min(t,r){return r=r||Xd.min,this.test({message:r,name:"min",exclusive:!0,params:{min:t},skipAbsent:!0,test(n){return n.length>=this.resolve(t)}})}max(t,r){return r=r||Xd.max,this.test({message:r,name:"max",exclusive:!0,params:{max:t},skipAbsent:!0,test(n){return n.length<=this.resolve(t)}})}ensure(){return this.default(()=>[]).transform((t,r)=>this._typeCheck(t)?t:r==null?[]:[].concat(r))}compact(t){let r=t?(n,o,i)=>!t(n,o,i):n=>!!n;return this.transform(n=>n!=null?n.filter(r):n)}describe(t){const r=(t?this.resolve(t):this).clone(),n=super.describe(t);if(r.innerType){var o;let i=t;(o=i)!=null&&o.value&&(i=Object.assign({},i,{parent:i.value,value:i.value[0]})),n.innerType=r.innerType.describe(i)}return n}}Kp.prototype=M2.prototype;function AM(e){return new P2(e)}class P2 extends wr{constructor(t){super({type:"tuple",spec:{types:t},check(r){const n=this.spec.types;return Array.isArray(r)&&r.length===n.length}}),this.withMutation(()=>{this.typeError(SM.notType)})}_cast(t,r){const{types:n}=this.spec,o=super._cast(t,r);if(!this._typeCheck(o))return o;let i=!1;const a=n.map((s,l)=>{const c=s.cast(o[l],Object.assign({},r,{path:`${r.path||""}[${l}]`}));return c!==o[l]&&(i=!0),c});return i?a:o}_validate(t,r={},n,o){let i=this.spec.types;super._validate(t,r,n,(a,s)=>{var l;if(!this._typeCheck(s)){o(a,s);return}let c=[];for(let[p,f]of i.entries()){var u;c[p]=f.asNestedTest({options:r,index:p,parent:s,parentPath:r.path,originalParent:(u=r.originalValue)!=null?u:t})}this.runTests({value:s,tests:c,originalValue:(l=r.originalValue)!=null?l:t,options:r},n,p=>o(p.concat(a),s))})}describe(t){const r=(t?this.resolve(t):this).clone(),n=super.describe(t);return n.innerType=r.spec.types.map((o,i)=>{var a;let s=t;return(a=s)!=null&&a.value&&(s=Object.assign({},s,{parent:s.value,value:s.value[i]})),o.describe(s)}),n}}AM.prototype=P2.prototype;function fte(e){return new O2(e)}class O2{constructor(t){this.type="lazy",this.__isYupSchema__=!0,this.spec=void 0,this._resolve=(r,n={})=>{let o=this.builder(r,n);if(!Ma(o))throw new TypeError("lazy() functions must return a valid schema");return this.spec.optional&&(o=o.optional()),o.resolve(n)},this.builder=t,this.spec={meta:void 0,optional:!1}}clone(t){const r=new O2(this.builder);return r.spec=Object.assign({},this.spec,t),r}optionality(t){return this.clone({optional:t})}optional(){return this.optionality(!0)}resolve(t){return this._resolve(t.value,t)}cast(t,r){return this._resolve(t,r).cast(t,r)}asNestedTest(t){let{key:r,index:n,parent:o,options:i}=t,a=o[n??r];return this._resolve(a,Object.assign({},i,{value:a,parent:o})).asNestedTest(t)}validate(t,r){return this._resolve(t,r).validate(t,r)}validateSync(t,r){return this._resolve(t,r).validateSync(t,r)}validateAt(t,r,n){return this._resolve(r,n).validateAt(t,r,n)}validateSyncAt(t,r,n){return this._resolve(r,n).validateSyncAt(t,r,n)}isValid(t,r){return this._resolve(t,r).isValid(t,r)}isValidSync(t,r){return this._resolve(t,r).isValidSync(t,r)}describe(t){return t?this.resolve(t).describe(t):{type:"lazy",meta:this.spec.meta,label:void 0}}meta(...t){if(t.length===0)return this.spec.meta;let r=this.clone();return r.spec.meta=Object.assign(r.spec.meta||{},t[0]),r}}function kM(e){Object.keys(e).forEach(t=>{Object.keys(e[t]).forEach(r=>{EM[t][r]=e[t][r]})})}function kt(e,t,r){if(!e||!Ma(e.prototype))throw new TypeError("You must provide a yup schema constructor function");if(typeof t!="string")throw new TypeError("A Method name must be provided");if(typeof r!="function")throw new TypeError("Method function must be provided");e.prototype[t]=r}const hte=Object.freeze(Object.defineProperty({__proto__:null,ArraySchema:M2,BooleanSchema:R2,DateSchema:pl,MixedSchema:T2,NumberSchema:A2,ObjectSchema:I2,Schema:wr,StringSchema:_2,TupleSchema:P2,ValidationError:_r,addMethod:kt,array:Kp,bool:Iv,boolean:Iv,date:k2,defaultLocale:EM,getIn:C2,isSchema:Ma,lazy:fte,mixed:dc,number:CM,object:fi,printValue:Ro,reach:Qee,ref:qee,setLocale:kM,string:rr,tuple:AM},Symbol.toStringTag,{value:"Module"})),IM={};IM.tlds=["AAA","AARP","ABB","ABBOTT","ABBVIE","ABC","ABLE","ABOGADO","ABUDHABI","AC","ACADEMY","ACCENTURE","ACCOUNTANT","ACCOUNTANTS","ACO","ACTOR","AD","ADS","ADULT","AE","AEG","AERO","AETNA","AF","AFL","AFRICA","AG","AGAKHAN","AGENCY","AI","AIG","AIRBUS","AIRFORCE","AIRTEL","AKDN","AL","ALIBABA","ALIPAY","ALLFINANZ","ALLSTATE","ALLY","ALSACE","ALSTOM","AM","AMAZON","AMERICANEXPRESS","AMERICANFAMILY","AMEX","AMFAM","AMICA","AMSTERDAM","ANALYTICS","ANDROID","ANQUAN","ANZ","AO","AOL","APARTMENTS","APP","APPLE","AQ","AQUARELLE","AR","ARAB","ARAMCO","ARCHI","ARMY","ARPA","ART","ARTE","AS","ASDA","ASIA","ASSOCIATES","AT","ATHLETA","ATTORNEY","AU","AUCTION","AUDI","AUDIBLE","AUDIO","AUSPOST","AUTHOR","AUTO","AUTOS","AVIANCA","AW","AWS","AX","AXA","AZ","AZURE","BA","BABY","BAIDU","BANAMEX","BAND","BANK","BAR","BARCELONA","BARCLAYCARD","BARCLAYS","BAREFOOT","BARGAINS","BASEBALL","BASKETBALL","BAUHAUS","BAYERN","BB","BBC","BBT","BBVA","BCG","BCN","BD","BE","BEATS","BEAUTY","BEER","BENTLEY","BERLIN","BEST","BESTBUY","BET","BF","BG","BH","BHARTI","BI","BIBLE","BID","BIKE","BING","BINGO","BIO","BIZ","BJ","BLACK","BLACKFRIDAY","BLOCKBUSTER","BLOG","BLOOMBERG","BLUE","BM","BMS","BMW","BN","BNPPARIBAS","BO","BOATS","BOEHRINGER","BOFA","BOM","BOND","BOO","BOOK","BOOKING","BOSCH","BOSTIK","BOSTON","BOT","BOUTIQUE","BOX","BR","BRADESCO","BRIDGESTONE","BROADWAY","BROKER","BROTHER","BRUSSELS","BS","BT","BUILD","BUILDERS","BUSINESS","BUY","BUZZ","BV","BW","BY","BZ","BZH","CA","CAB","CAFE","CAL","CALL","CALVINKLEIN","CAM","CAMERA","CAMP","CANON","CAPETOWN","CAPITAL","CAPITALONE","CAR","CARAVAN","CARDS","CARE","CAREER","CAREERS","CARS","CASA","CASE","CASH","CASINO","CAT","CATERING","CATHOLIC","CBA","CBN","CBRE","CC","CD","CENTER","CEO","CERN","CF","CFA","CFD","CG","CH","CHANEL","CHANNEL","CHARITY","CHASE","CHAT","CHEAP","CHINTAI","CHRISTMAS","CHROME","CHURCH","CI","CIPRIANI","CIRCLE","CISCO","CITADEL","CITI","CITIC","CITY","CK","CL","CLAIMS","CLEANING","CLICK","CLINIC","CLINIQUE","CLOTHING","CLOUD","CLUB","CLUBMED","CM","CN","CO","COACH","CODES","COFFEE","COLLEGE","COLOGNE","COM","COMCAST","COMMBANK","COMMUNITY","COMPANY","COMPARE","COMPUTER","COMSEC","CONDOS","CONSTRUCTION","CONSULTING","CONTACT","CONTRACTORS","COOKING","COOL","COOP","CORSICA","COUNTRY","COUPON","COUPONS","COURSES","CPA","CR","CREDIT","CREDITCARD","CREDITUNION","CRICKET","CROWN","CRS","CRUISE","CRUISES","CU","CUISINELLA","CV","CW","CX","CY","CYMRU","CYOU","CZ","DABUR","DAD","DANCE","DATA","DATE","DATING","DATSUN","DAY","DCLK","DDS","DE","DEAL","DEALER","DEALS","DEGREE","DELIVERY","DELL","DELOITTE","DELTA","DEMOCRAT","DENTAL","DENTIST","DESI","DESIGN","DEV","DHL","DIAMONDS","DIET","DIGITAL","DIRECT","DIRECTORY","DISCOUNT","DISCOVER","DISH","DIY","DJ","DK","DM","DNP","DO","DOCS","DOCTOR","DOG","DOMAINS","DOT","DOWNLOAD","DRIVE","DTV","DUBAI","DUNLOP","DUPONT","DURBAN","DVAG","DVR","DZ","EARTH","EAT","EC","ECO","EDEKA","EDU","EDUCATION","EE","EG","EMAIL","EMERCK","ENERGY","ENGINEER","ENGINEERING","ENTERPRISES","EPSON","EQUIPMENT","ER","ERICSSON","ERNI","ES","ESQ","ESTATE","ET","EU","EUROVISION","EUS","EVENTS","EXCHANGE","EXPERT","EXPOSED","EXPRESS","EXTRASPACE","FAGE","FAIL","FAIRWINDS","FAITH","FAMILY","FAN","FANS","FARM","FARMERS","FASHION","FAST","FEDEX","FEEDBACK","FERRARI","FERRERO","FI","FIDELITY","FIDO","FILM","FINAL","FINANCE","FINANCIAL","FIRE","FIRESTONE","FIRMDALE","FISH","FISHING","FIT","FITNESS","FJ","FK","FLICKR","FLIGHTS","FLIR","FLORIST","FLOWERS","FLY","FM","FO","FOO","FOOD","FOOTBALL","FORD","FOREX","FORSALE","FORUM","FOUNDATION","FOX","FR","FREE","FRESENIUS","FRL","FROGANS","FRONTIER","FTR","FUJITSU","FUN","FUND","FURNITURE","FUTBOL","FYI","GA","GAL","GALLERY","GALLO","GALLUP","GAME","GAMES","GAP","GARDEN","GAY","GB","GBIZ","GD","GDN","GE","GEA","GENT","GENTING","GEORGE","GF","GG","GGEE","GH","GI","GIFT","GIFTS","GIVES","GIVING","GL","GLASS","GLE","GLOBAL","GLOBO","GM","GMAIL","GMBH","GMO","GMX","GN","GODADDY","GOLD","GOLDPOINT","GOLF","GOO","GOODYEAR","GOOG","GOOGLE","GOP","GOT","GOV","GP","GQ","GR","GRAINGER","GRAPHICS","GRATIS","GREEN","GRIPE","GROCERY","GROUP","GS","GT","GU","GUARDIAN","GUCCI","GUGE","GUIDE","GUITARS","GURU","GW","GY","HAIR","HAMBURG","HANGOUT","HAUS","HBO","HDFC","HDFCBANK","HEALTH","HEALTHCARE","HELP","HELSINKI","HERE","HERMES","HIPHOP","HISAMITSU","HITACHI","HIV","HK","HKT","HM","HN","HOCKEY","HOLDINGS","HOLIDAY","HOMEDEPOT","HOMEGOODS","HOMES","HOMESENSE","HONDA","HORSE","HOSPITAL","HOST","HOSTING","HOT","HOTELS","HOTMAIL","HOUSE","HOW","HR","HSBC","HT","HU","HUGHES","HYATT","HYUNDAI","IBM","ICBC","ICE","ICU","ID","IE","IEEE","IFM","IKANO","IL","IM","IMAMAT","IMDB","IMMO","IMMOBILIEN","IN","INC","INDUSTRIES","INFINITI","INFO","ING","INK","INSTITUTE","INSURANCE","INSURE","INT","INTERNATIONAL","INTUIT","INVESTMENTS","IO","IPIRANGA","IQ","IR","IRISH","IS","ISMAILI","IST","ISTANBUL","IT","ITAU","ITV","JAGUAR","JAVA","JCB","JE","JEEP","JETZT","JEWELRY","JIO","JLL","JM","JMP","JNJ","JO","JOBS","JOBURG","JOT","JOY","JP","JPMORGAN","JPRS","JUEGOS","JUNIPER","KAUFEN","KDDI","KE","KERRYHOTELS","KERRYLOGISTICS","KERRYPROPERTIES","KFH","KG","KH","KI","KIA","KIDS","KIM","KINDLE","KITCHEN","KIWI","KM","KN","KOELN","KOMATSU","KOSHER","KP","KPMG","KPN","KR","KRD","KRED","KUOKGROUP","KW","KY","KYOTO","KZ","LA","LACAIXA","LAMBORGHINI","LAMER","LANCASTER","LAND","LANDROVER","LANXESS","LASALLE","LAT","LATINO","LATROBE","LAW","LAWYER","LB","LC","LDS","LEASE","LECLERC","LEFRAK","LEGAL","LEGO","LEXUS","LGBT","LI","LIDL","LIFE","LIFEINSURANCE","LIFESTYLE","LIGHTING","LIKE","LILLY","LIMITED","LIMO","LINCOLN","LINK","LIPSY","LIVE","LIVING","LK","LLC","LLP","LOAN","LOANS","LOCKER","LOCUS","LOL","LONDON","LOTTE","LOTTO","LOVE","LPL","LPLFINANCIAL","LR","LS","LT","LTD","LTDA","LU","LUNDBECK","LUXE","LUXURY","LV","LY","MA","MADRID","MAIF","MAISON","MAKEUP","MAN","MANAGEMENT","MANGO","MAP","MARKET","MARKETING","MARKETS","MARRIOTT","MARSHALLS","MATTEL","MBA","MC","MCKINSEY","MD","ME","MED","MEDIA","MEET","MELBOURNE","MEME","MEMORIAL","MEN","MENU","MERCKMSD","MG","MH","MIAMI","MICROSOFT","MIL","MINI","MINT","MIT","MITSUBISHI","MK","ML","MLB","MLS","MM","MMA","MN","MO","MOBI","MOBILE","MODA","MOE","MOI","MOM","MONASH","MONEY","MONSTER","MORMON","MORTGAGE","MOSCOW","MOTO","MOTORCYCLES","MOV","MOVIE","MP","MQ","MR","MS","MSD","MT","MTN","MTR","MU","MUSEUM","MUSIC","MV","MW","MX","MY","MZ","NA","NAB","NAGOYA","NAME","NATURA","NAVY","NBA","NC","NE","NEC","NET","NETBANK","NETFLIX","NETWORK","NEUSTAR","NEW","NEWS","NEXT","NEXTDIRECT","NEXUS","NF","NFL","NG","NGO","NHK","NI","NICO","NIKE","NIKON","NINJA","NISSAN","NISSAY","NL","NO","NOKIA","NORTON","NOW","NOWRUZ","NOWTV","NP","NR","NRA","NRW","NTT","NU","NYC","NZ","OBI","OBSERVER","OFFICE","OKINAWA","OLAYAN","OLAYANGROUP","OLLO","OM","OMEGA","ONE","ONG","ONL","ONLINE","OOO","OPEN","ORACLE","ORANGE","ORG","ORGANIC","ORIGINS","OSAKA","OTSUKA","OTT","OVH","PA","PAGE","PANASONIC","PARIS","PARS","PARTNERS","PARTS","PARTY","PAY","PCCW","PE","PET","PF","PFIZER","PG","PH","PHARMACY","PHD","PHILIPS","PHONE","PHOTO","PHOTOGRAPHY","PHOTOS","PHYSIO","PICS","PICTET","PICTURES","PID","PIN","PING","PINK","PIONEER","PIZZA","PK","PL","PLACE","PLAY","PLAYSTATION","PLUMBING","PLUS","PM","PN","PNC","POHL","POKER","POLITIE","PORN","POST","PR","PRAMERICA","PRAXI","PRESS","PRIME","PRO","PROD","PRODUCTIONS","PROF","PROGRESSIVE","PROMO","PROPERTIES","PROPERTY","PROTECTION","PRU","PRUDENTIAL","PS","PT","PUB","PW","PWC","PY","QA","QPON","QUEBEC","QUEST","RACING","RADIO","RE","READ","REALESTATE","REALTOR","REALTY","RECIPES","RED","REDSTONE","REDUMBRELLA","REHAB","REISE","REISEN","REIT","RELIANCE","REN","RENT","RENTALS","REPAIR","REPORT","REPUBLICAN","REST","RESTAURANT","REVIEW","REVIEWS","REXROTH","RICH","RICHARDLI","RICOH","RIL","RIO","RIP","RO","ROCKS","RODEO","ROGERS","ROOM","RS","RSVP","RU","RUGBY","RUHR","RUN","RW","RWE","RYUKYU","SA","SAARLAND","SAFE","SAFETY","SAKURA","SALE","SALON","SAMSCLUB","SAMSUNG","SANDVIK","SANDVIKCOROMANT","SANOFI","SAP","SARL","SAS","SAVE","SAXO","SB","SBI","SBS","SC","SCB","SCHAEFFLER","SCHMIDT","SCHOLARSHIPS","SCHOOL","SCHULE","SCHWARZ","SCIENCE","SCOT","SD","SE","SEARCH","SEAT","SECURE","SECURITY","SEEK","SELECT","SENER","SERVICES","SEVEN","SEW","SEX","SEXY","SFR","SG","SH","SHANGRILA","SHARP","SHAW","SHELL","SHIA","SHIKSHA","SHOES","SHOP","SHOPPING","SHOUJI","SHOW","SI","SILK","SINA","SINGLES","SITE","SJ","SK","SKI","SKIN","SKY","SKYPE","SL","SLING","SM","SMART","SMILE","SN","SNCF","SO","SOCCER","SOCIAL","SOFTBANK","SOFTWARE","SOHU","SOLAR","SOLUTIONS","SONG","SONY","SOY","SPA","SPACE","SPORT","SPOT","SR","SRL","SS","ST","STADA","STAPLES","STAR","STATEBANK","STATEFARM","STC","STCGROUP","STOCKHOLM","STORAGE","STORE","STREAM","STUDIO","STUDY","STYLE","SU","SUCKS","SUPPLIES","SUPPLY","SUPPORT","SURF","SURGERY","SUZUKI","SV","SWATCH","SWISS","SX","SY","SYDNEY","SYSTEMS","SZ","TAB","TAIPEI","TALK","TAOBAO","TARGET","TATAMOTORS","TATAR","TATTOO","TAX","TAXI","TC","TCI","TD","TDK","TEAM","TECH","TECHNOLOGY","TEL","TEMASEK","TENNIS","TEVA","TF","TG","TH","THD","THEATER","THEATRE","TIAA","TICKETS","TIENDA","TIPS","TIRES","TIROL","TJ","TJMAXX","TJX","TK","TKMAXX","TL","TM","TMALL","TN","TO","TODAY","TOKYO","TOOLS","TOP","TORAY","TOSHIBA","TOTAL","TOURS","TOWN","TOYOTA","TOYS","TR","TRADE","TRADING","TRAINING","TRAVEL","TRAVELERS","TRAVELERSINSURANCE","TRUST","TRV","TT","TUBE","TUI","TUNES","TUSHU","TV","TVS","TW","TZ","UA","UBANK","UBS","UG","UK","UNICOM","UNIVERSITY","UNO","UOL","UPS","US","UY","UZ","VA","VACATIONS","VANA","VANGUARD","VC","VE","VEGAS","VENTURES","VERISIGN","VERSICHERUNG","VET","VG","VI","VIAJES","VIDEO","VIG","VIKING","VILLAS","VIN","VIP","VIRGIN","VISA","VISION","VIVA","VIVO","VLAANDEREN","VN","VODKA","VOLVO","VOTE","VOTING","VOTO","VOYAGE","VU","WALES","WALMART","WALTER","WANG","WANGGOU","WATCH","WATCHES","WEATHER","WEATHERCHANNEL","WEBCAM","WEBER","WEBSITE","WED","WEDDING","WEIBO","WEIR","WF","WHOSWHO","WIEN","WIKI","WILLIAMHILL","WIN","WINDOWS","WINE","WINNERS","WME","WOLTERSKLUWER","WOODSIDE","WORK","WORKS","WORLD","WOW","WS","WTC","WTF","XBOX","XEROX","XFINITY","XIHUAN","XIN","XN--11B4C3D","XN--1CK2E1B","XN--1QQW23A","XN--2SCRJ9C","XN--30RR7Y","XN--3BST00M","XN--3DS443G","XN--3E0B707E","XN--3HCRJ9C","XN--3PXU8K","XN--42C2D9A","XN--45BR5CYL","XN--45BRJ9C","XN--45Q11C","XN--4DBRK0CE","XN--4GBRIM","XN--54B7FTA0CC","XN--55QW42G","XN--55QX5D","XN--5SU34J936BGSG","XN--5TZM5G","XN--6FRZ82G","XN--6QQ986B3XL","XN--80ADXHKS","XN--80AO21A","XN--80AQECDR1A","XN--80ASEHDB","XN--80ASWG","XN--8Y0A063A","XN--90A3AC","XN--90AE","XN--90AIS","XN--9DBQ2A","XN--9ET52U","XN--9KRT00A","XN--B4W605FERD","XN--BCK1B9A5DRE4C","XN--C1AVG","XN--C2BR7G","XN--CCK2B3B","XN--CCKWCXETD","XN--CG4BKI","XN--CLCHC0EA0B2G2A9GCD","XN--CZR694B","XN--CZRS0T","XN--CZRU2D","XN--D1ACJ3B","XN--D1ALF","XN--E1A4C","XN--ECKVDTC9D","XN--EFVY88H","XN--FCT429K","XN--FHBEI","XN--FIQ228C5HS","XN--FIQ64B","XN--FIQS8S","XN--FIQZ9S","XN--FJQ720A","XN--FLW351E","XN--FPCRJ9C3D","XN--FZC2C9E2C","XN--FZYS8D69UVGM","XN--G2XX48C","XN--GCKR3F0F","XN--GECRJ9C","XN--GK3AT1E","XN--H2BREG3EVE","XN--H2BRJ9C","XN--H2BRJ9C8C","XN--HXT814E","XN--I1B6B1A6A2E","XN--IMR513N","XN--IO0A7I","XN--J1AEF","XN--J1AMH","XN--J6W193G","XN--JLQ480N2RG","XN--JVR189M","XN--KCRX77D1X4A","XN--KPRW13D","XN--KPRY57D","XN--KPUT3I","XN--L1ACC","XN--LGBBAT1AD8J","XN--MGB9AWBF","XN--MGBA3A3EJT","XN--MGBA3A4F16A","XN--MGBA7C0BBN0A","XN--MGBAAM7A8H","XN--MGBAB2BD","XN--MGBAH1A3HJKRD","XN--MGBAI9AZGQP6J","XN--MGBAYH7GPA","XN--MGBBH1A","XN--MGBBH1A71E","XN--MGBC0A9AZCG","XN--MGBCA7DZDO","XN--MGBCPQ6GPA1A","XN--MGBERP4A5D4AR","XN--MGBGU82A","XN--MGBI4ECEXP","XN--MGBPL2FH","XN--MGBT3DHD","XN--MGBTX2B","XN--MGBX4CD0AB","XN--MIX891F","XN--MK1BU44C","XN--MXTQ1M","XN--NGBC5AZD","XN--NGBE9E0A","XN--NGBRX","XN--NODE","XN--NQV7F","XN--NQV7FS00EMA","XN--NYQY26A","XN--O3CW4H","XN--OGBPF8FL","XN--OTU796D","XN--P1ACF","XN--P1AI","XN--PGBS0DH","XN--PSSY2U","XN--Q7CE6A","XN--Q9JYB4C","XN--QCKA1PMC","XN--QXA6A","XN--QXAM","XN--RHQV96G","XN--ROVU88B","XN--RVC1E0AM3E","XN--S9BRJ9C","XN--SES554G","XN--T60B56A","XN--TCKWE","XN--TIQ49XQYJ","XN--UNUP4Y","XN--VERMGENSBERATER-CTB","XN--VERMGENSBERATUNG-PWB","XN--VHQUV","XN--VUQ861B","XN--W4R85EL8FHU5DNRA","XN--W4RS40L","XN--WGBH1C","XN--WGBL6A","XN--XHQ521B","XN--XKC2AL3HYE2A","XN--XKC2DL3A5EE0H","XN--Y9A3AQ","XN--YFRO4I67O","XN--YGBI2AMMX","XN--ZFR164B","XXX","XYZ","YACHTS","YAHOO","YAMAXUN","YANDEX","YE","YODOBASHI","YOGA","YOKOHAMA","YOU","YOUTUBE","YT","YUN","ZA","ZAPPOS","ZARA","ZERO","ZIP","ZM","ZONE","ZUERICH","ZW"];var mte=new Set(IM.tlds.map(e=>e.toLowerCase()));const gte=Ht(mte);var L2={};const vte={},yte=Object.freeze(Object.defineProperty({__proto__:null,default:vte},Symbol.toStringTag,{value:"Module"})),MM=Nn(yte);var PM={},N2={};(function(e){e.codes={EMPTY_STRING:"Address must be a non-empty string",FORBIDDEN_UNICODE:"Address contains forbidden Unicode characters",MULTIPLE_AT_CHAR:"Address cannot contain more than one @ character",MISSING_AT_CHAR:"Address must contain one @ character",EMPTY_LOCAL:"Address local part cannot be empty",ADDRESS_TOO_LONG:"Address too long",LOCAL_TOO_LONG:"Address local part too long",EMPTY_LOCAL_SEGMENT:"Address local part contains empty dot-separated segment",INVALID_LOCAL_CHARS:"Address local part contains invalid character",DOMAIN_NON_EMPTY_STRING:"Domain must be a non-empty string",DOMAIN_TOO_LONG:"Domain too long",DOMAIN_INVALID_UNICODE_CHARS:"Domain contains forbidden Unicode characters",DOMAIN_INVALID_CHARS:"Domain contains invalid character",DOMAIN_INVALID_TLDS_CHARS:"Domain contains invalid tld character",DOMAIN_SEGMENTS_COUNT:"Domain lacks the minimum required number of segments",DOMAIN_SEGMENTS_COUNT_MAX:"Domain contains too many segments",DOMAIN_FORBIDDEN_TLDS:"Domain uses forbidden TLD",DOMAIN_EMPTY_SEGMENT:"Domain contains empty dot-separated segment",DOMAIN_LONG_SEGMENT:"Domain contains dot-separated segment that is too long"},e.code=function(t){return{code:t,error:e.codes[t]}}})(N2);(function(e){const t=MM,r=N2,n={minDomainSegments:2,nonAsciiRx:/[^\x00-\x7f]/,domainControlRx:/[\x00-\x20@\:\/\\#!\$&\'\(\)\*\+,;=\?]/,tldSegmentRx:/^[a-zA-Z](?:[a-zA-Z0-9\-]*[a-zA-Z0-9])?$/,domainSegmentRx:/^[a-zA-Z0-9](?:[a-zA-Z0-9\-]*[a-zA-Z0-9])?$/,URL:t.URL||URL};e.analyze=function(o,i={}){if(!o)return r.code("DOMAIN_NON_EMPTY_STRING");if(typeof o!="string")throw new Error("Invalid input: domain must be a string");if(o.length>256)return r.code("DOMAIN_TOO_LONG");if(!!n.nonAsciiRx.test(o)){if(i.allowUnicode===!1)return r.code("DOMAIN_INVALID_UNICODE_CHARS");o=o.normalize("NFC")}if(n.domainControlRx.test(o))return r.code("DOMAIN_INVALID_CHARS");o=n.punycode(o),i.allowFullyQualified&&o[o.length-1]==="."&&(o=o.slice(0,-1));const s=i.minDomainSegments||n.minDomainSegments,l=o.split(".");if(l.length<s)return r.code("DOMAIN_SEGMENTS_COUNT");if(i.maxDomainSegments&&l.length>i.maxDomainSegments)return r.code("DOMAIN_SEGMENTS_COUNT_MAX");const c=i.tlds;if(c){const u=l[l.length-1].toLowerCase();if(c.deny&&c.deny.has(u)||c.allow&&!c.allow.has(u))return r.code("DOMAIN_FORBIDDEN_TLDS")}for(let u=0;u<l.length;++u){const p=l[u];if(!p.length)return r.code("DOMAIN_EMPTY_SEGMENT");if(p.length>63)return r.code("DOMAIN_LONG_SEGMENT");if(u<l.length-1){if(!n.domainSegmentRx.test(p))return r.code("DOMAIN_INVALID_CHARS")}else if(!n.tldSegmentRx.test(p))return r.code("DOMAIN_INVALID_TLDS_CHARS")}return null},e.isValid=function(o,i){return!e.analyze(o,i)},n.punycode=function(o){o.includes("%")&&(o=o.replace(/%/g,"%25"));try{return new n.URL(`http://${o}`).host}catch{return o}}})(PM);const bte=MM,xte=PM,ho=N2,Ar={nonAsciiRx:/[^\x00-\x7f]/,encoder:new(bte.TextEncoder||TextEncoder)};L2.analyze=function(e,t){return Ar.email(e,t)};L2.isValid=function(e,t){return!Ar.email(e,t)};Ar.email=function(e,t={}){if(typeof e!="string")throw new Error("Invalid input: email must be a string");if(!e)return ho.code("EMPTY_STRING");const r=!Ar.nonAsciiRx.test(e);if(!r){if(t.allowUnicode===!1)return ho.code("FORBIDDEN_UNICODE");e=e.normalize("NFC")}const n=e.split("@");if(n.length!==2)return n.length>2?ho.code("MULTIPLE_AT_CHAR"):ho.code("MISSING_AT_CHAR");const[o,i]=n;if(!o)return ho.code("EMPTY_LOCAL");if(!t.ignoreLength){if(e.length>254)return ho.code("ADDRESS_TOO_LONG");if(Ar.encoder.encode(o).length>64)return ho.code("LOCAL_TOO_LONG")}return Ar.local(o,r)||xte.analyze(i,t)};Ar.local=function(e,t){const r=e.split(".");for(const n of r){if(!n.length)return ho.code("EMPTY_LOCAL_SEGMENT");if(t){if(!Ar.atextRx.test(n))return ho.code("INVALID_LOCAL_CHARS");continue}for(const o of n){if(Ar.atextRx.test(o))continue;const i=Ar.binary(o);if(!Ar.atomRx.test(i))return ho.code("INVALID_LOCAL_CHARS")}}};Ar.binary=function(e){return Array.from(Ar.encoder.encode(e)).map(t=>String.fromCharCode(t)).join("")};Ar.atextRx=/^[\w!#\$%&'\*\+\-/=\?\^`\{\|\}~]+$/;Ar.atomRx=new RegExp(["(?:[\\xc2-\\xdf][\\x80-\\xbf])","(?:\\xe0[\\xa0-\\xbf][\\x80-\\xbf])|(?:[\\xe1-\\xec][\\x80-\\xbf]{2})|(?:\\xed[\\x80-\\x9f][\\x80-\\xbf])|(?:[\\xee-\\xef][\\x80-\\xbf]{2})","(?:\\xf0[\\x90-\\xbf][\\x80-\\xbf]{2})|(?:[\\xf1-\\xf3][\\x80-\\xbf]{3})|(?:\\xf4[\\x80-\\x8f][\\x80-\\xbf]{2})"].join("|"));const wte="/assets/social-logos-CDAdDX6J.svg",Ste="/assets/playlist-logos-GF7_u1_3.svg",XE="/assets/circle_insta_logo_color-DnuRaZUw.png";function OM(e){return typeof e=="string"&&e.length<100}function Le(e){const t=`${wte}#${e}`;return{id:e,iconLabel:t,iconButton:t,iconWhite:`${t}White`,getUrl:r=>r.trim()}}function so(e){const t=`${Ste}#${e}`;return{id:e,iconLabel:t,iconButton:t,validationType:"url",getUrl:r=>r.trim()}}const mle=(e,t="array")=>{const r={appleMusic:{...so("appleMusic"),label:"Apple Music"},spotify:{...so("spotify"),label:"Spotify"},youtube:{...so("youtube"),label:"YouTube"},deezer:{...so("deezer"),label:"Deezer"},boomplayMusic:{...so("boomplayMusic"),label:"Boomplay Music"},itunes:{...so("itunes"),label:"Itunes"},soundcloud:{...so("soundcloud"),label:"SoundCloud"},ticketmaster:{...so("ticketmaster"),label:"Ticketmaster"},youtubeMusic:{...so("youtubeMusic"),label:"Youtube Music"},qobuzStreaming:{...so("qobuzStreaming"),label:"Qobuz Streaming"}};return t==="array"?Object.values(r):r},Ete=(e,t="array")=>{const r=e.formatMessage({id:"formikFields.userId"}),n=e.formatMessage({id:"formikFields.socialsLabels.urlNumber"}),o=e.formatMessage({id:"formikFields.socialsLabels.urlUsername"}),i=e.formatMessage({id:"formikFields.socialsLabels.urlUsertag"}),a=(p,f=[150])=>{let m;try{if(m=Qn(p,...f),m===!0)return!0}catch(h){m=h}if(OM(p)===!0)return!0;if(typeof m!="boolean")throw m;return!1},s=(p,f=v=>v,m=Qn)=>{try{return m(p)?p.trim():f(p)}catch{return f(p)}},l=p=>s(p,m=>`https://x.com/${Array.from(m)[0]==="@"?m.substring(1,m.length):m}`.trim()),c=p=>s(p,m=>`viber://chat?number=+${m}`.replace(/\s/g,""),m=>Qn(m,150,!1)),u={dribbble:{...Le("dribbble"),label:e.formatMessage({id:"builder.socials.dribbble"}),valueLabel:r,getUrl:p=>`https://dribbble.com/${p}`.trim()},facebook:{...Le("facebook"),label:e.formatMessage({id:"builder.socials.facebook"}),validationType:"url"},flickr:{...Le("flickr"),label:e.formatMessage({id:"builder.socials.flickr"}),validationType:"url"},github:{...Le("github"),label:e.formatMessage({id:"builder.socials.github"}),validationType:"url"},google:{...Le("google"),label:e.formatMessage({id:"builder.socials.google"}),validationType:"url"},line:{...Le("line"),label:e.formatMessage({id:"builder.socials.line"}),valueLabel:r,getUrl:p=>`https://line.me/R/ti/p/${p}`.trim()},linkedin:{...Le("linkedin"),label:e.formatMessage({id:"builder.socials.linkedin"}),validationType:"url"},pinterest:{...Le("pinterest"),label:e.formatMessage({id:"builder.socials.pinterest"}),validationType:"url"},reddit:{...Le("reddit"),label:e.formatMessage({id:"builder.socials.reddit"}),validationType:"url"},skype:{...Le("skype"),label:e.formatMessage({id:"builder.socials.skype"}),valueLabel:o,validationType:"custom",validate:a,getUrl:p=>{const f=m=>`skype:${m}?chat`.trim();try{return Qn(p)?p:f(p)}catch{return f(p)}}},snapchat:{...Le("snapchat"),label:e.formatMessage({id:"builder.socials.snapchat"}),valueLabel:r,getUrl:p=>`https://www.snapchat.com/add/${p}`.trim()},tripadvisor:{...Le("tripadvisor"),label:e.formatMessage({id:"builder.socials.tripadvisor"}),validationType:"url"},tumblr:{...Le("tumblr"),label:e.formatMessage({id:"builder.socials.tumblr"}),validationType:"url"},twitter:{...Le("twitter"),label:e.formatMessage({id:"builder.socials.twitter"}),valueLabel:i,validationType:"custom",validate:a,getUrl:l},x:{...Le("x"),label:"X",valueLabel:i,validationType:"custom",validate:a,getUrl:l},vimeo:{...Le("vimeo"),label:e.formatMessage({id:"builder.socials.vimeo"}),validationType:"url",getUrl:p=>p.trim()},vkontakte:{...Le("vkontakte"),label:e.formatMessage({id:"builder.socials.vkontakte"}),validationType:"url"},website:{...Le("website"),label:e.formatMessage({id:"builder.socials.website"}),validationType:"url",getUrl:p=>p.trim()},xing:{...Le("xing"),label:e.formatMessage({id:"builder.socials.xing"}),validationType:"url"},youtube:{...Le("youtube"),label:e.formatMessage({id:"builder.socials.youtube"}),validationType:"url"},instagram:{...Le("instagram"),iconLabel:XE,iconButton:XE,label:e.formatMessage({id:"builder.socials.instagram"}),valueLabel:i,validationType:"custom",validate:a,getUrl:p=>{const f=m=>`https://www.instagram.com/${Array.from(m)[0]==="@"?m.substring(1,m.length):m}`.trim();try{return Qn(p)?p:f(p)}catch{return f(p)}}},tiktok:{...Le("tiktok"),label:e.formatMessage({id:"builder.socials.tiktok"}),validationType:"url"},whatsapp:{...Le("whatsapp"),label:e.formatMessage({id:"builder.socials.whatsapp"}),valueLabel:n,validationType:"custom",validate:a,getUrl:p=>{const f=m=>`https://wa.me/${m}`.replace(/\s/g,"");try{return Qn(p)?p:f(p)}catch{return f(p)}}},telegram:{...Le("telegram"),label:"Telegram",validationType:"url"},facebookMessenger:{...Le("facebookMessenger"),label:e.formatMessage({id:"builder.socials.facebookMessenger"}),validationType:"url"},yelp:{...Le("yelp"),label:"Yelp",validationType:"url"},uberEats:{...Le("uberEats"),label:"Uber Eats",validationType:"url"},postmates:{...Le("postmates"),label:e.formatMessage({id:"builder.socials.postmates"}),validationType:"url"},opentable:{...Le("opentable"),label:"OpenTable",validationType:"url"},spotify:{...Le("spotify"),label:e.formatMessage({id:"builder.socials.spotify"}),validationType:"url"},soundcloud:{...Le("soundcloud"),label:"SoundCloud",validationType:"url"},appleMusic:{...Le("appleMusic"),label:"Apple Music",validationType:"url"},signal:{...Le("signal"),label:"Signal",validationType:"url"},viber:{...Le("viber"),label:"Viber",valueLabel:n,validationType:"custom",validate:p=>a(p,[150,!1]),getUrl:c},trustpilot:{...Le("trustpilot"),label:"Trustpilot",validationType:"url"},wechat:{...Le("wechat"),label:"WeChat",validationType:"url"},discord:{...Le("discord"),label:"Discord",validationType:"url"}};return t==="array"?Object.values(u):u},gle=e=>new Promise((t,r)=>{const n=new FileReader;n.readAsDataURL(e),n.onload=()=>t(n.result),n.onerror=o=>r(o)}),vle=e=>{const t=e.substring(e.indexOf(",")+1),r=window.atob(t),n=new Uint8Array(r.length);for(let o=0;o<r.length;o++)n[o]=r.charCodeAt(o);return n.buffer},Cte=(e,t=2)=>{let r=0,n="KB";return r=e/1024,r>999&&(r/=1024,n="MB"),t?`${parseFloat(r).toFixed(t)}${n}`:`${parseFloat(r)}${n}`};function yle(e,t=0){return new Promise(r=>{const n=document.createElement("video");n.setAttribute("crossOrigin","anonymous");let o;e instanceof File?o=e.blob:o=e,n.setAttribute("src",o),n.load(),n.addEventListener("error",()=>{r(void 0)}),n.addEventListener("loadedmetadata",()=>{if(n.duration<t){r(void 0);return}setTimeout(()=>{n.currentTime=t},200),n.addEventListener("seeked",()=>{const i=document.createElement("canvas");i.width=n.videoWidth,i.height=n.videoHeight;const a=i.getContext("2d");a.drawImage(n,0,0,i.width,i.height),a.canvas.toBlob(s=>{r(s?URL.createObjectURL(s):void 0)},"image/jpeg",.75)})})})}function ble(e,t){return new Promise((r,n)=>{const o=new Image;o.onload=()=>{const i=document.createElement("canvas");i.width=t,i.height=t,i.getContext("2d").drawImage(o,0,0,i.width,i.height);const s=i.toDataURL("image/png");r(s)},o.onerror=()=>{n(new Error("Error in SVG"))},o.src=e})}function Tte(e,{fromGoogleStorage:t=!1,filename:r,name:n="",googleCloudStorageUriPrefix:o=""}={}){if(typeof e=="string"){const a=e.startsWith("/src");let s;return a?s=e:s=t?`${o}/${e}`:y2.getImageUrl(e),{src:s,title:r||n||e,thumbnail:{type:"image",src:s}}}const i=e.blob;return{src:i,title:n||encodeURIComponent(e.name),size:Cte(e.size),thumbnail:{type:"image",src:i}}}function Rte(e){return new Promise((t,r)=>{const n=new Image;n.onload=function(){t({width:this.width,height:this.height})},n.onerror=function(){r(new Error(`[getImageDimensions] Error on load image: ${this.src}`))};const o=Tte(e);n.src=o.src})}function _te(e,{fileName:t="image.jpeg",fileType:r="image/jpeg"}){return new Promise(n=>{e.toBlob(o=>{const i=new File([o],t);i.blob=URL.createObjectURL(i),n(i)},r)})}function xle(e,t,r){return new Promise(n=>{const o=document.createElement("canvas");o.width=t;const i=o.getContext("2d"),a=new Image;a.onload=function(){o.height=o.width*(a.height/a.width),i.drawImage(a,0,0,t,t),_te(o,r).then(l=>{n(l)})},a.src=e})}function wle(e){try{return decodeURIComponent(e)}catch{return unescape?unescape(e):e}}function Sle({disabled:e,field:t,form:{isSubmitting:r,errors:n},onBlur:o,helperText:i,...a}){return{error:Ue(n,t.name),disabled:e||r,...t,...a}}const Ele=["at","be","bg","cy","cz","de","dk","ee","el","gr","fi","fr","hr","hu","ie","it","lt","lu","lv","mt","nl","pl","pt","ro","se","si","sk"],JE={at:["AT"],be:["BE"],bg:["BG"],cy:["CY"],cz:["CZ"],de:["DE"],dk:["DK"],ee:["EE"],gr:["EL"],es:["ES"],fi:["FI"],fr:["FR"],gb:["GB"],hr:["HR"],hu:["HU"],ie:["IE"],it:["IT"],lt:["LT"],lu:["LU"],lv:["LV"],mt:["MT"],nl:["NL"],pl:["PL"],pt:["PT"],ro:["RO"],se:["SE"],si:["SI"],sk:["SK"]},gr={street:70,number:40,postalCode:40,city:70,state:70,country:70,latlong:25};function eC(e){const t=Ete(e,"object"),r=e.formatMessage({id:"common.validations.string.url"}),n=e.formatMessage({id:"common.validations.string.urlHttp"}),o=e.formatMessage({id:"common.validations.socials"}),i=e.formatMessage({id:"common.validations.string.email"}),a=e.formatMessage({id:"common.validations.string.uri"});kM({mixed:{required:e.formatMessage({id:"common.validations.mixed.required"})},string:{email:i,url:r,min:e.formatMessage({id:"common.validations.string.min"}),max:e.formatMessage({id:"common.validations.string.max"})},number:{integer:e.formatMessage({id:"common.validations.number.integer"}),positive:e.formatMessage({id:"common.validations.number.positive"}),max:e.formatMessage({id:"common.validations.number.max"})},array:{min:e.formatMessage({id:"common.validations.array.min"}),max:e.formatMessage({id:"common.validations.array.max"})}}),kt(rr,"hexColor",function(l={}){return this.test({name:"hexColor",message:l.message||e.formatMessage({id:"common.validations.hexColor"}),test:c=>l.allowUndefined&&c===void 0||l.allowNull&&c===null||l.allowEmpty&&c===""||l.allowTransparent&&c==="transparent"?!0:l.strict?/^#([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.test(c):/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.test(c)})}),kt(dc,"fileSize",function(l,c){return this.test({name:"fileSize",message:c||e.formatMessage({id:"common.validations.fileSize"},{size:l}),test:u=>!u||typeof u=="string"?!0:u.size/(1024*1024)<=l})}),kt(dc,"imageFileDimensions",function(l,c,u){return this.test({name:"imageFileDimensions",message:u||e.formatMessage({id:"common.validations.imageFileDimensions"},{width:l,height:c||l}),test:p=>!p||typeof p=="string"?!0:new Promise(f=>{Rte(p).then(m=>{const v=c||l;f(m.width<=l&&m.height<=v)})})})}),kt(fi,"appUrl",function(l){return this.test({name:"appUrl",message:l||e.formatMessage({id:"common.validations.appUrl"}),test:function(u){try{return Qn(u.url)}catch(p){if(p.message==="invalid_start_url"){const{path:f,createError:m}=this;return m({path:f,message:n})}return!1}}})}),kt(rr,"customUrl",function(l){return this.test({name:"customUrl",message:l||r,test:function(u){if(!u)return!0;try{return Qn(u)}catch(p){if(p.message==="invalid_start_url"){const{path:f,createError:m}=this;return m({path:f,message:n})}return!1}}})}),kt(rr,"anyUrl",function(l){return this.test({name:"anyUrl",message:l||r,test:function(u){if(!u)return!0;try{return Qn(u,!1,!1)}catch{return!1}}})}),kt(rr,"customURI",function(l){return this.test({name:"customURI",message:l||a,test:function(u){if(!u)return!0;try{return O9(u)}catch{return!1}}})}),kt(rr,"customEmail",function(l){return this.test({name:"customEmail",message:l||i,test:c=>c?L2.isValid(c,{tlds:{allow:gte,deny:null}}):!0})}),kt(fi,"socials",function(l){return this.test({name:"socials",message:l||o,test:function(u){try{return t[u.id].validationType==="custom"?t[u.id].validate(u.nickname):t[u.id].validationType==="url"?Qn(u.nickname):OM(u.nickname)}catch(p){if(p.message==="invalid_start_url"){const{path:f,createError:m}=this;return m({path:f,message:n})}return!1}}})}),kt(rr,"socialCustom",function(l,c,u=t){return this.test({name:"socialCustom",message:c||o,test:function(f){try{return u[l].validate(f)}catch(m){if(m.message==="invalid_start_url"){const{path:v,createError:h}=this;return h({path:v,message:n})}return!1}}})}),kt(Kp,"socialList",function(l=t){return this.of(fi().shape({value:rr().when("id",([c],u)=>l[c].validationType==="custom"?u.socialCustom(c,void 0,l):l[c].validationType==="url"?u.customUrl():u.max(100)).required(),text:rr().max(100)}))}),kt(Kp,"unique",function(l){return this.test({name:"unique",message:l||e.formatMessage({id:"common.validations.unique"}),test:c=>!c||!c.length?!0:!c.find((u,p,f)=>f.indexOf(u)!==p)})}),kt(rr,"onlyLatin",function(l){return this.test({name:"onlyLatin",message:l||e.formatMessage({id:"common.validations.onlyLatin"}),test:c=>{if(!c||!c.length)return!0;const p=/^[a-zA-Z\u00C0-\u00FF\s-_.,;:\d&+\\/()[\]'"@*><%&$#=º]*$/.test(c);return console.log("onlyLatin response",p),p}})}),kt(rr,"vatPrefix",function(l,c){const u=p=>{const f=JE[p.toLowerCase()];return e.formatMessage({id:"account.login.invalidVATPrefix"},{iso:f.length===1?f[0]:e.formatMessage({id:"common.or"},{a:f[0],b:f[1]})})};return this.test({name:"vatPrefix",message:c||u(l),test:p=>p?JE[l.toLowerCase()].some(v=>p.toUpperCase().startsWith(v)):!0})}),kt(fi,"location",function(l){return this.test({name:"location",message:l||e.formatMessage({id:"common.validations.location.generic"}),test:function(u){if(!u||!u.data)return!0;try{const{type:p,data:f}=u;if(p==="url"&&f.url)return Qn(f.url);if(p==="coordinates"){const{latitude:m="",longitude:v=""}=f,h=parseFloat(m);if(h<-90||h>90)throw new Error("invalid_latitude");const x=parseFloat(v);if(x<-180||x>180)throw new Error("invalid_longitude");if(!m&&v)throw new Error("pending_latitude");if(m&&!v)throw new Error("pending_longitude");return!(m.length>gr.latlong||v.length>gr.latlong)}if(p==="full"){const{street:m,number:v,postalCode:h,city:x,state:y,country:b}=f;return typeof m>"u"&&typeof v>"u"&&typeof h>"u"&&typeof x>"u"&&typeof y>"u"&&typeof b>"u"||typeof m=="string"&&m.length<=gr.street||typeof v=="string"&&v.length<=gr.number||typeof h=="string"&&h.length<=gr.postalCode||typeof x=="string"&&x.length<=gr.city||typeof y=="string"&&y.length<=gr.state||typeof b=="string"&&b.length<=gr.country}return!0}catch(p){const{path:f,createError:m}=this,v=(h,x)=>m({path:x||f,message:h});return p.message==="invalid_start_url"?v(n,`${f}.url`):p.message==="invalid_latitude"?v(e.formatMessage({id:"common.validations.location.latitude"}),`${f}.latitude`):p.message==="invalid_longitude"?v(e.formatMessage({id:"common.validations.location.longitude"}),`${f}.longitude`):p.message==="pending_latitude"?v(e.formatMessage({id:"common.validations.location.pendingLatitude"}),`${f}.latitude`):p.message==="pending_longitude"?v(e.formatMessage({id:"common.validations.location.pendingLongitude"}),`${f}.longitude`):!1}}})}),kt(fi,"pattern",function(l,c){return this.test({name:"objectPattern",message:c||"Invalid pattern",test:u=>u?Object.keys(u).every(p=>l.test(p)):!0})}),kt(fi,"min",function(l,c){return this.test({name:"objectMin",message:c||"Invalid quantity of keys",test:u=>u?Object.keys(u).length>=l:!0})}),kt(dc,"debug",function(){return this.test({name:"debug",test:(l,c)=>(console.log(`\x1B[1m\x1B[34m[Debug schema (${c.path})]`,l),!0)})}),kt(rr,"domain",function(l=e.formatMessage({id:"common.validations.invalidDomain"})){return rr().matches(/^([a-zA-Z0-9](?:(?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,})$/,l)}),kt(rr,"subdomain",function(l=e.formatMessage({id:"common.validations.invalidSubdomain"})){return rr().matches(/^([a-zA-Z0-9](?:(?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,})(\.[a-zA-Z]{2,})$/,l)}),kt(rr,"twoFactorCode",function(){return this.test({name:"twoFactorCode",message:e.formatMessage({id:"myAccount.twoFactorAuthentication.invalidCode"}),test:l=>l?l.replace(/\s/g,"").length===6:!0})})}function LM(){const e=de(),t=it(n=>n.user.locale),r=nh(t);return eC(e),g.useEffect(()=>eC(e),[r]),hte}function Ate(e){const t=LM();return{url:{schema:{url:t.string().customUrl().required()},defaultValues:{url:""}},text:{schema:{text:t.string().max(300).required()},defaultValues:{url:""}},vcard:{schema:{name:t.string().max(70).required(),lastName:t.string().max(70),phone:t.array().of(t.object().shape({type:t.mixed().oneOf(["cell","fax","work","home","other"]),phone:t.string().max(40).required()})),email:t.string().customEmail(),url:t.string().customUrl().max(150),address:t.object().location(),org:t.string().max(50),title:t.string().max(100),locationBehaviour:t.string().oneOf(["show","hide","showMap"])},defaultValues:{name:"",lastName:"",phone:[],email:"",url:"",address:{type:"full",data:void 0},org:"",title:"",locationBehaviour:"show"}},email:{schema:{email:t.string().customEmail().required(),subject:t.string().max(100),body:t.string().max(200)},defaultValues:{email:"",subject:"",body:""}},sms:{schema:{number:t.string().max(50).required(),message:t.string().max(160)},defaultValues:{number:"",message:""}},whatsapp:{schema:{number:t.string().max(50).required(),message:t.string().max(160)},defaultValues:{number:"",message:""}},wifi:{schema:{ssid:t.string().max(100).required(),password:t.string().max(100),authType:t.string().oneOf(["WEP","WPA","WPA2-EAP","nopass"]).required(),hidden:t.boolean()},defaultValues:{ssid:"",password:"",authType:"WEP",hidden:!1}}}[e]||{}}const NM=ge.createContext({value:null,onChange:()=>null}),kte=Ee("div")({display:"flex"},"Tabs"),Ite=lr((e,t,r)=>({root:{display:"block",paddingLeft:16,paddingRight:16,backgroundColor:"#F7F7F7",borderRadius:24,color:"#210e2580",border:"2px solid transparent",marginRight:12,whiteSpace:"nowrap",textOverflow:"ellipsis",overflow:"hidden",[`&.${r.outlined}`]:{borderRadius:28,backgroundColor:C.white,borderColor:"#CDD1E0",color:C.gray.darkest},"&:last-child":{marginRight:0},[`&:hover, &.${r.outlined}:hover`]:{color:C.black,borderColor:C.gray.dark,backgroundColor:C.white}},selected:{[`&, &.${r.outlined}`]:{color:C.black,borderColor:C.primary.blue,backgroundColor:C.white},[`&.${r.outlined}`]:{color:C.primary.blue},"&:hover":{color:C.black,borderColor:C.primary.blue},[`&.${r.outlined}:hover`]:{color:C.primary.blue,borderColor:C.primary.blue}},outlined:{}}),"Tab");function $M({value:e,onChange:t,children:r,...n}){return d.jsx(kte,{...n,children:d.jsx(NM.Provider,{value:{value:e,onChange:t},children:r})})}function Mte({value:e,className:t="",variant:r="default",component:n=null,...o}){const{value:i,onChange:a}=g.useContext(NM),s=Ite();if(n){const l=n;return d.jsx(l,{onClick:()=>a(e),...o,selected:e===i})}return d.jsx(qt,{onClick:()=>a(e),size:"small",className:xe(s.root,t,{[s.outlined]:r==="outlined",[s.selected]:e===i}),...o})}const xd="/assets/qr-types-mini-ITu9kd4J.svg";function Pte({iconSrc:e,title:t,size:r=40,iconSize:n=24,...o}){const i=de();return d.jsx(G,{display:"flex",alignItems:"center",justifyContent:"center",borderRadius:2,width:r,height:r,sx:{border:"1px solid currentColor"},...o,children:d.jsx("img",{src:e,alt:`${i.formatMessage({id:"home.types.alt"})} ${t}`,width:n,height:n,loading:"lazy"})})}function DM({options:e=[],menuWidth:t,menuMaxHeight:r,component:n,componentProps:o={},onSelect:i=()=>{},value:a=null,menuTitle:s=null,mobileDrawer:l=!1,menuTransformOrigin:c={vertical:"top",horizontal:"center"},menuAnchorOrigin:u={vertical:60,horizontal:"center"},isHomeMiniBuilder:p=!1,...f}){const[m,v]=g.useState(null),[h,x]=g.useState(!1),y=Nt("smDown"),b=g.useRef(null),w=o2(),S=P=>{P.stopPropagation(),v((b==null?void 0:b.current)||null)},T=()=>{v(null)},R=n||(()=>null),E=!!m,A=!!(e!=null&&e.length)&&d.jsx(Po,{autoHeight:!0,style:{width:"100%",height:p?"300px":"auto",overflowY:w?"scroll":"hidden"},autoHeightMax:y?"40vh":r,onMouseOver:()=>x(!0),onMouseLeave:()=>x(!1),scrollType:"y",forceScroll:h,forceHeight:!y&&300,children:e.map((P,M)=>{const O=i||(()=>{});return d.jsx(Vt,{onClick:()=>{O(M,P),T()},className:xe({selected:P.value===a}),sx:{"&:hover, &.selected":{backgroundColor:C.primary.lightBlue,color:C.primary.blue,"@media (hover: none)":{"&:hover":{backgroundColor:"transparent"}}}},children:d.jsxs(G,{display:"flex",alignItems:"center",gap:3,children:[P.iconSrc&&d.jsx(Pte,{iconSrc:P.iconSrc,title:P.title}),P.title&&d.jsx(Ce,{variant:"body2",color:"currentColor",fontWeight:600,children:P.title})]})},`SelectMenu-Option--${M}`)})});return d.jsxs(G,{...f,children:[d.jsx(G,{ref:b,children:d.jsx(R,{...o,onClick:S})}),y&&l&&d.jsx(ku,{anchor:"bottom",open:E,onClose:T,sx:{"& .MuiBackdrop-root":{background:be.opacity(C.black,.2)},"& .MuiDrawer-paper":{borderRadius:"12px 12px 0px 0px"},"& .MuiList-root":{padding:"24px 20px 32px",overflowY:"hidden"},"& .MuiPaper-root":{maxHeight:"58vh"}},children:d.jsxs(X1,{children:[s&&d.jsx(G,{pb:2,mb:2,children:d.jsx(Ce,{variant:"subtitle3",children:s})}),A]})}),(!y||!l)&&d.jsxs(cl,{anchorEl:m,open:E,onClose:T,anchorOrigin:u,transformOrigin:c,sx:{"& .MuiMenuItem-root":{height:56},"& .MuiMenu-paper":{width:t,border:`1px solid ${C.gray.normal}`,background:C.white,boxShadow:p1[300]},"& .MuiList-root":{overflow:"hidden"}},children:[s&&d.jsx(G,{p:2,mb:2,children:d.jsx(Ce,{variant:"subtitle3",children:s})}),A]})]})}function Ote({options:e=[],selectedIdx:t,menuWidth:r,menuMaxHeight:n,onSelect:o=()=>{},value:i=null,valueComponent:a,centeredbutton:s=!1,...l}){const c=de(),u=a||null,p=t?e==null?void 0:e[t]:e.find(f=>f.value===i);return d.jsx(DM,{...l,menuWidth:r,menuMaxHeight:n,options:e,onSelect:o,value:i,component:({anchorEl:f,...m})=>{const v=f?Zq:y3;return d.jsxs(qt,{...m,sx:{borderRadius:2,"&&":{width:"100%",border:"none",justifyContent:s?"center":"space-between","&, &:hover":{background:C.primary.lightBlue},"&:hover":{color:C.primary.darkBlue}}},variant:"outlined",children:[a?d.jsx(u,{}):(p==null?void 0:p.title)||c.formatMessage({id:"common.select"}),d.jsx(v,{sx:{ml:2.5},size:16})]})}})}function Lte({sx:e={},...t}){return d.jsx(Qr,{...t,disableRipple:!0,sx:r=>({width:40,height:40,borderRadius:"50%",background:C.white,color:C.black,border:`1px solid ${C.gray.normal}`,position:"relative","&:disabled":{background:C.gray.mediumLight},...typeof e=="function"?e(r):e}),children:d.jsx(y3,{size:14})})}function Nte({disabled:e,options:t=[],width:r=280,maxHeight:n=264,onSelect:o=()=>{},value:i,...a}){return d.jsx(DM,{...a,menuWidth:r,menuMaxHeight:n,options:t,onSelect:o,value:i,menuTransformOrigin:{vertical:"top",horizontal:"right"},menuAnchorOrigin:{vertical:50,horizontal:"right"},component:s=>d.jsx(Lte,{...s,disabled:e}),isHomeMiniBuilder:!0})}function Pv({stepNumber:e=1,label:t,disabled:r,sx:n={},...o}){return d.jsxs(G,{display:"flex",gap:2,alignItems:"center",sx:{color:r?C.gray.dark:C.black,...n},...o,children:[e&&d.jsx(G,{display:"flex",height:28,px:1,minWidth:20,flexDirection:"column",justifyContent:"center",alignItems:"center",gap:2.5,borderRadius:1,sx:{background:"currentColor"},children:d.jsx(Ce,{component:"span",variant:"body1",color:C.white,fontWeight:600,children:e})}),t&&d.jsx(Ce,{component:"p",variant:"subtitle3",color:"currentColor",children:t})]})}const $te="data:image/svg+xml,%3csvg%20width='96'%20height='96'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M0%2031.807V0h31.807v31.807H0Zm7.484-7.485h16.839V7.483H7.483v16.84Z'%20fill='%2396949C'%20/%3e%3cpath%20fill='%2396949C'%20d='M12.723%2012.722h7.518v7.518h-7.518z'%20/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M64.192%2031.807V0H96v31.807H64.191Zm7.485-7.485h16.84V7.483h-16.84v16.84Z'%20fill='%2396949C'%20/%3e%3cpath%20fill='%2396949C'%20d='M75.759%2012.722h7.518v7.518h-7.518z'%20/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M0%2096V64.191h31.807V96H0Zm7.484-7.484h16.839v-16.84H7.483v16.84Z'%20fill='%2396949C'%20/%3e%3cpath%20fill='%2396949C'%20d='M12.723%2075.759h7.518v7.518h-7.518zM7.518%2036.434h7.518v7.518H7.518zM22.064%2052.05V44.53h-7.028v7.518h6.852v7.518h7.028V52.05h-6.852ZM53.205%2013.879h7.518v7.518h-7.518zM38.169%207.518h7.518v13.88h-7.518zM45.687%200h7.518v7.518h-7.518zM45.687%2022.555v7.518h-7.518v7.518h15.036V22.555h-7.518ZM53.205%2066.99v-7.423h-7.518V44.531h-7.518v15.227h7.518v7.423h7.518v7.422h15.036V66.99H53.205ZM53.205%2036.434h7.518V51.47h-7.518z'%20/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M88.695%2038.169v7.012H96v14.385H75.546v-7.013H68.24v-7.192h7.122v-7.192h13.332Zm-13.15%2014.204h13.15V45.36h-13.15v7.013Z'%20fill='%2396949C'%20/%3e%3cpath%20fill='%2396949C'%20d='M88.482%2067.084H96V82.12h-7.518zM60.723%2052.048h7.518v7.518h-7.518zM68.241%2074.603h7.518v7.518h-7.518zM75.759%2065.927h7.518v7.518h-7.518z'%20/%3e%3cpath%20d='M74.602%2082.118v13.88h7.711v-6.67h6.169v-7.21h-13.88ZM38.169%2067.084h7.518v13.88h-7.518zM60.072%2088.483v-7.518H45.687v15.036h7.193v-7.518h7.012v7.518h7.193v-7.518h-7.013ZM22.554%2036.434H37.59v7.518H22.554zM0%2044.531h7.518v15.036H0z'%20fill='%2396949C'%20/%3e%3c/svg%3e";function $2({menuWidth:e=280,menuMaxHeight:t,component:r,componentProps:n={},menuTitle:o=null,mobileDrawer:i=!1,continueWith:a=!1,onSelect:s=()=>{},onClose:l=()=>{},...c}){const u=g.useRef(null),[p,f]=g.useState(null),m=Nt("smDown"),v=de(),{goToSection:h}=_3(),x=ZQ("create"),y=Oo(),b=r||(()=>null),w=g.useCallback(A=>{A.stopPropagation(),y(Lt.setHomeCtaClick(!0)),f((u==null?void 0:u.current)||null)},[]),S=()=>{f(null),l()},T=!!p,R=v.formatMessage({id:"common.shortEmail"}),E=d.jsxs(G,{sx:{"& .MuiMenuItem-root":{width:"100%",height:48,p:0,...be.hover({background:C.primary.lightBlue},!0)}},children:[x.map(({name:A,href:P,image:M},O)=>d.jsxs(g.Fragment,{children:[d.jsx(Vt,{children:d.jsxs(G,{component:"a",display:"flex",alignItems:"center",gap:2,href:P,height:"100%",width:"100%",py:1.5,pl:2,children:[d.jsx("img",{width:"24",height:"24",src:M,alt:`${A} logo`}),d.jsx(Ce,{variant:"body1",fontWeight:600,color:C.black,children:v.formatMessage({id:a?"account.continueWith":"account.signUpWith"},{provider:A})})]})}),d.jsx(Ai,{})]},`AccountMenu-MenuItems--${O.toString()}`)),d.jsx(Vt,{children:d.jsxs(G,{type:"button",component:"button",display:"flex",alignItems:"center",height:"100%",width:"100%",py:1.5,pl:2,gap:2,onClick:()=>{s(),f(null),h("create")},children:[d.jsx(Bq,{size:24}),d.jsx(Ce,{variant:"body1",fontWeight:600,color:C.black,children:v.formatMessage({id:a?"account.continueWith":"account.signUpWith"},{provider:R})})]})})]});return d.jsxs(G,{...c,children:[d.jsx(G,{ref:u,children:d.jsx(b,{...n,onClick:w})}),m&&i&&d.jsx(ku,{anchor:"bottom",open:T,onClose:S,sx:{"& .MuiBackdrop-root":{background:be.opacity(C.black,.2)},"& .MuiDrawer-paper":{borderRadius:"12px 12px 0px 0px"},"& .MuiList-root":{padding:"24px 20px 32px"}},children:d.jsxs(X1,{children:[o&&d.jsx(G,{pb:2,mb:2,children:d.jsx(Ce,{variant:"subtitle3",children:o})}),E]})}),(!m||!i)&&d.jsx(cl,{anchorEl:p,open:T,onClose:S,anchorOrigin:{vertical:60,horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"},sx:{"& .MuiList-root":{padding:2},"& .MuiMenu-paper":{width:e,background:C.white,boxShadow:p1[300],borderRadius:2}},children:E})]})}function Dte({autogenerateFn:e,hasFormComponent:t,handleSubmit:r=()=>{},disabledGenerate:n,disabledSubmit:o,isSubmitting:i,generateQr:a=()=>{},handleCloseDownloadMenu:s=()=>{},...l}){const c=de();return d.jsxs(yi,{alignItems:"center",gap:3,...l,children:[!e&&t&&d.jsx(qt,{type:"button",variant:"outlinedV2",size:"small",onClick:a,disabled:n,sx:{"&&&":{px:4,minWidth:167}},children:c.formatMessage({id:"common.generateQr"})}),d.jsx(G,{m:"auto",children:d.jsx($2,{continueWith:!0,mobileDrawer:!0,onClose:s,component:({onClick:u,...p})=>d.jsxs(qt,{type:"button",variant:"contained",size:"small",loading:i,disabled:o,onClick:f=>{r(f),u(f)},...p,sx:{"&&&":{pl:6,pr:4,minWidth:167}},children:[c.formatMessage({id:"common.downloadQr"}),d.jsx(Nh,{sx:{ml:2}})]})})})]})}const jte=g.lazy(()=>N(()=>import("./QR-DtMTSxIz.js"),__vite__mapDeps([43,44,13,9,45])));function Fte({selectedTab:e=null,hasFormComponent:t=!1,values:r={},touched:n=!1,isValid:o=!1,isSubmitting:i=!1,handleSubmit:a=()=>{},handleCloseDownloadMenu:s=()=>{},...l}){const c=de(),u=Nt("mdDown"),p=E1(),f=g.useRef(null),m=g.useRef(null),[v,h]=g.useState(""),[x,y]=g.useState(!1),[b,w]=g.useState(null),S=bg==null?void 0:bg[e],T=async()=>{try{y(!0),w(r==null?void 0:r.data);const O=await Cv.getStaticRaw(e,{...(r==null?void 0:r.data)||{}});O.raw&&h(O.raw)}catch{p.showError(c.formatMessage({id:"common.errors.generic"}))}finally{y(!1)}};g.useEffect(()=>{if(S){const O=S(r);h(O)}},[r]);const R=!n||!o,E=!S&&!v,A=!e||!t||R||E;g.useEffect(()=>{const O=()=>{var I;f!=null&&f.current&&u&&o&&((I=f.current)==null||I.scrollIntoView({behavior:"smooth",block:"center"}))},F="validatedBuilderForm";return window.addEventListener(F,O),()=>window.removeEventListener(F,O)});const P=!e||!t||R,M=!e||!t||R||E||!S&&!lI(b,r==null?void 0:r.data);return d.jsxs(d.Fragment,{children:[d.jsxs(G,{px:8,pt:{xs:2,md:8},pb:{xs:3,md:8},display:"flex",flexDirection:"column",alignItems:"center",position:"relative",width:{xs:"100%",md:274},minHeight:{md:434},borderRadius:2,gap:{xs:2,md:11.5},...l,sx:{background:C.gray.light},ref:f,children:[u?d.jsx(Ce,{variant:"body2",lineHeight:"12px",fontSize:8,color:C.gray.dark,textAlign:"center",children:"Preview"}):d.jsx(Pv,{disabled:A,stepNumber:3,label:c.formatMessage({id:"home.miniBuilder.steps.download"})}),d.jsxs(G,{display:"flex",flexDirection:"column",alignItems:"center",id:"preview-container",ref:m,children:[d.jsxs(G,{sx:{padding:2.5,borderRadius:2,display:"flex",justifyContent:"center",alignItems:"center",width:162,minHeight:162,boxShadow:"0px 12px 12px rgba(34, 14, 39, 0.1)",background:C.white,"& > div":{display:"flex",justifyContent:"center"},"& canvas":{width:140}},className:xe([{disabled:!e||!t||R||E}]),children:[x&&d.jsx(w1,{size:55}),A&&!x&&d.jsx(Ln,{component:"img",src:$te,alt:"Empty Data",sx:{width:75},width:"75",height:"75"}),!A&&!x&&d.jsx(g.Suspense,{fallback:null,children:d.jsx(jte,{raw:v||Mp,style:r.style})})]}),!u&&d.jsxs(G,{display:"flex",flexDirection:"column",mt:5,gap:3,children:[!S&&t&&d.jsx(qt,{type:"button",size:"small",onClick:T,disabled:P,sx:{"&&&":{px:4,minWidth:167}},children:c.formatMessage({id:"common.generateQr"})}),d.jsx(G,{m:"auto",children:d.jsx($2,{mobileDrawer:!0,continueWith:!0,onClose:s,component:({onClick:O,...F})=>d.jsxs(qt,{type:"button",variant:"outlinedV2",size:"small",loading:i,disabled:M,onClick:I=>{a(I),O(I)},...F,sx:{"&&&":{pl:6,pr:4,minWidth:167}},children:[c.formatMessage({id:"common.downloadQr"}),d.jsx(Nh,{sx:{ml:2}})]})})})]})]})]}),u&&d.jsx(Dte,{autogenerateFn:S,hasFormComponent:t,handleSubmit:a,disabledGenerate:P,disabledSubmit:M,isSubmitting:i,generateQr:T,order:3,handleCloseDownloadMenu:s})]})}function D2(e){const t=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e);return t?[parseInt(t[1],16),parseInt(t[2],16),parseInt(t[3],16)]:[255,255,255]}function Bte(...e){const t=e[0]/255,r=e[1]/255,n=e[2]/255,o=Math.min(t,r,n),i=Math.max(t,r,n),a=i-o;let s=0,l=0,c=0;return a===0?s=0:i===t?s=(r-n)/a%6:i===r?s=(n-t)/a+2:s=(t-r)/a+4,s=Math.round(s*60),s<0&&(s+=360),c=(i+o)/2,l=a===0?0:a/(1-Math.abs(2*c-1)),l=+(l*100).toFixed(1),c=+(c*100).toFixed(1),[s,l,c]}function Hte(...e){const t=e[0],r=e[1]/100,n=e[2]/100,o=(1-Math.abs(2*n-1))*r,i=o*(1-Math.abs(t/60%2-1)),a=n-o/2;let s=0,l=0,c=0;return t>=0&&t<60?(s=o,l=i,c=0):t>=60&&t<120?(s=i,l=o,c=0):t>=120&&t<180?(s=0,l=o,c=i):t>=180&&t<240?(s=0,l=i,c=o):t>=240&&t<300?(s=i,l=0,c=o):t>=300&&t<360&&(s=o,l=0,c=i),s=Math.round((s+a)*255).toString(16),l=Math.round((l+a)*255).toString(16),c=Math.round((c+a)*255).toString(16),s.length===1&&(s=`0${s}`),l.length===1&&(l=`0${l}`),c.length===1&&(c=`0${c}`),`#${s}${l}${c}`}function Ute(e,t=0){const[r,n,o]=D2(e);return 1-(.299*r+.587*n+.114*o)/255<.5-t}function Zp(e,t){return Ute(e,t)?"#000000":"#ffffff"}function zte(e){const[t,r,n]=D2(e),[o,i,a]=Bte(t,r,n),s=Math.min(a+35,100);return Hte(o,i,s)}function Cle(e,t=0){let[r,n,o]=D2(e);return r=Math.min(parseInt(r*(100+t)/100,10),255),n=Math.min(parseInt(n*(100+t)/100,10),255),o=Math.min(parseInt(o*(100+t)/100,10),255),`#${r.toString(16).padStart(2,"0")}${n.toString(16).padStart(2,"0")}${o.toString(16).padStart(2,"0")}`}function Vte({textColor:e,color:t,noBackgroundText:r,textColorDefaultBackground:n}){return e||(r?"#000000":n?t:Zp(t&&typeof t!="string"?t.colorStops[0].color:t))}const dr="/assets/frames-1-BL0vSDLQ.svg",Rr="/assets/frames-2-CCEbv_WQ.svg",Wte=[{id:18,src:dr},{id:0,src:dr},{id:22,src:dr},{id:13,src:dr},{id:30,src:dr},{id:21,src:dr},{id:29,src:dr},{id:28,src:dr},{id:20,src:dr},{id:5,src:dr},{id:2,src:dr},{id:11,src:dr},{id:3,src:dr},{id:4,src:dr},{id:1,src:dr},{id:6,src:dr},{id:9,src:Rr},{id:24,src:Rr},{id:7,src:Rr},{id:25,src:Rr},{id:17,src:Rr},{id:10,src:Rr}],tC=[{id:16,src:Rr},{id:14,src:Rr},{id:12,src:Rr},{id:8,src:Rr},{id:26,src:Rr},{id:19,src:Rr},{id:23,src:Rr},{id:27,src:Rr},{id:15,src:Rr}];function Ov({sx:e,selected:t,...r}){return d.jsx(G,{component:Qr,disableRipple:!0,...r,sx:n=>({padding:2,borderRadius:2,backgroundColor:t?C.primary.lightBlue:C.white,color:t?C.primary.blue:C.gray.dark,width:{xs:56,md:68},minHeight:{xs:68,md:84},flexShrink:0,position:"relative",...be.centerFlexI,transition:be.transition(),...be.hover({backgroundColor:C.primary.lightBlue,color:C.primary.blue},!0),...typeof e=="function"?e(n):e})})}function rC(e){return d.jsx(G,{position:"relative",display:"flex",alignItems:"center",pb:0,gap:2.5,...e})}function nC({src:e,image:t,icon:r,id:n,selected:o,...i}){const[a,s]=g.useState(!1);if(r){const c=r;return d.jsx(c,{width:"100%",style:{maxHeight:75}})}const l={component:"img",alt:`Frame ${n}`,loading:"lazy",width:"52",height:"68",sx:{height:"auto",maxHeight:{xs:52,md:68},width:{xs:40,md:52},objectFit:"fill"}};return d.jsxs(Ov,{onMouseEnter:()=>s(!0),onMouseLeave:()=>s(!1),selected:o,...i,children:[d.jsx(Ln,{src:`${e}#frame-${n}`,alt:`Frame ${n}`,...l}),d.jsx(Ln,{...l,src:`${e}#frame-${n}-blue`,sx:{...l.sx,position:"absolute",inset:0,margin:"auto",opacity:a||o?1:0,transition:be.transition()},alt:""})]})}function Gte({name:e,value:t,onChange:r=()=>{},concatenated:n=!1}){const o=Nt("smDown"),[i,a]=g.useState(!1),[s,l]=g.useState(!1);return d.jsxs("div",{children:[d.jsx(Po,{onMouseOver:()=>a(!0),onMouseLeave:()=>a(!1),style:{width:"100%",height:o?90:110,...i?{opacity:1}:{}},autoHide:!i,hideTracksWhenNotNeeded:!i,forceScroll:i,scrollType:"x",children:d.jsxs(rC,{children:[d.jsx(Ov,{selected:t===null,onClick:()=>r(`${e}.id`,null),children:d.jsx(aQ,{size:28})},"frame--empty"),[...Wte,...n?tC:[]].map(c=>d.jsx(nC,{selected:t===c.id,onClick:()=>r(`${e}.id`,c.id),...c},`frame--${c.id}`))]})}),!n&&d.jsx(Po,{onMouseOver:()=>l(!0),onMouseLeave:()=>l(!1),style:{width:"100%",height:o?90:110,...s?{opacity:1}:{}},autoHide:!s,hideTracksWhenNotNeeded:!s,forceScroll:s,scrollType:"x",children:d.jsx(rC,{children:tC.map(c=>d.jsx(Ov,{selected:t===c.id,onClick:()=>r(`${e}.id`,c.id),children:d.jsx(nC,{...c})},`frame--${c.id}`))})})]})}var qte=function(e){if(e){var t=function(I){return[].slice.call(I)},r=0,n=1,o=2,i=3,a=[],s=null,l="requestAnimationFrame"in e?function(){var I=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{sync:!1};e.cancelAnimationFrame(s);var D=function(){return u(a.filter(function($){return $.dirty&&$.active}))};if(I.sync)return D();s=e.requestAnimationFrame(D)}:function(){},c=function(I){return function(D){a.forEach(function($){return $.dirty=I}),l(D)}},u=function(I){I.filter(function($){return!$.styleComputed}).forEach(function($){$.styleComputed=v($)}),I.filter(h).forEach(x);var D=I.filter(m);D.forEach(f),D.forEach(function($){x($),p($)}),D.forEach(y)},p=function(I){return I.dirty=r},f=function(I){I.availableWidth=I.element.parentNode.clientWidth,I.currentWidth=I.element.scrollWidth,I.previousFontSize=I.currentFontSize,I.currentFontSize=Math.min(Math.max(I.minSize,I.availableWidth/I.currentWidth*I.previousFontSize),I.maxSize),I.whiteSpace=I.multiLine&&I.currentFontSize===I.minSize?"normal":"nowrap"},m=function(I){return I.dirty!==o||I.dirty===o&&I.element.parentNode.clientWidth!==I.availableWidth},v=function(I){var D=e.getComputedStyle(I.element,null);return I.currentFontSize=parseFloat(D.getPropertyValue("font-size")),I.display=D.getPropertyValue("display"),I.whiteSpace=D.getPropertyValue("white-space"),!0},h=function(I){var D=!1;return!I.preStyleTestCompleted&&(/inline-/.test(I.display)||(D=!0,I.display="inline-block"),I.whiteSpace!=="nowrap"&&(D=!0,I.whiteSpace="nowrap"),I.preStyleTestCompleted=!0,D)},x=function(I){I.element.style.whiteSpace=I.whiteSpace,I.element.style.display=I.display,I.element.style.fontSize=I.currentFontSize+"px"},y=function(I){I.element.dispatchEvent(new CustomEvent("fit",{detail:{oldValue:I.previousFontSize,newValue:I.currentFontSize,scaleFactor:I.currentFontSize/I.previousFontSize}}))},b=function(I,D){return function($){I.dirty=D,I.active&&l($)}},w=function(I){return function(){a=a.filter(function(D){return D.element!==I.element}),I.observeMutations&&I.observer.disconnect(),I.element.style.whiteSpace=I.originalStyle.whiteSpace,I.element.style.display=I.originalStyle.display,I.element.style.fontSize=I.originalStyle.fontSize}},S=function(I){return function(){I.active||(I.active=!0,l())}},T=function(I){return function(){return I.active=!1}},R=function(I){I.observeMutations&&(I.observer=new MutationObserver(b(I,n)),I.observer.observe(I.element,I.observeMutations))},E={minSize:16,maxSize:512,multiLine:!0,observeMutations:"MutationObserver"in e&&{subtree:!0,childList:!0,characterData:!0}},A=null,P=function(){e.clearTimeout(A),A=e.setTimeout(c(o),F.observeWindowDelay)},M=["resize","orientationchange"];return Object.defineProperty(F,"observeWindow",{set:function(I){var D="".concat(I?"add":"remove","EventListener");M.forEach(function($){e[D]($,P)})}}),F.observeWindow=!0,F.observeWindowDelay=100,F.fitAll=c(i),F}function O(I,D){var $=Object.assign({},E,D),j=I.map(function(H){var k=Object.assign({},$,{element:H,active:!0});return function(L){L.originalStyle={whiteSpace:L.element.style.whiteSpace,display:L.element.style.display,fontSize:L.element.style.fontSize},R(L),L.newbie=!0,L.dirty=!0,a.push(L)}(k),{element:H,fit:b(k,i),unfreeze:S(k),freeze:T(k),unsubscribe:w(k)}});return l(),j}function F(I){var D=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return typeof I=="string"?O(t(document.querySelectorAll(I)),D):O([I],D)[0]}}(typeof window>"u"?null:window);function ep(e){return d.jsx(Ce,{variant:"body2",fontWeight:600,pb:2,...e})}const Qte=({success:e=!1,loading:t=!1,InputProps:r={endAdornment:null},circularProgressProps:n={size:20,color:"primary"}})=>t?d.jsx(zp,{position:"end",children:d.jsx(zc,{sx:{marginRight:6,"&.primary":{color:C.black},"&.secondary":{color:C.secondary.green}},classes:{root:xe(["loader",n.color])},...n})}):e?d.jsx(zp,{position:"end",children:d.jsx(x3,{style:{marginRight:4}})}):(r==null?void 0:r.endAdornment)||null;function oC({disabled:e,children:t,title:r}){return e?t:d.jsx(Iu,{arrow:!0,title:r,children:t})}function Yte(e,t){const r=de(),[n,o]=g.useState(!0);if(e!=="password")return{type:e};function i(){o(a=>!a)}return{type:n?"password":"text",endAdornment:n?d.jsx(oC,{title:r.formatMessage({id:"common.show"}),disabled:t,children:d.jsx(no,{disabled:t,style:{marginRight:8},onClick:i,children:d.jsx(S3,{})})}):d.jsx(oC,{title:r.formatMessage({id:"common.hide"}),disabled:t,children:d.jsx(no,{disabled:t,style:{marginRight:8},onClick:i,children:d.jsx(E3,{})})})}}const iC=200,Kte=({InputProps:e={},disabled:t=!1,placeholder:r="",InputLabelProps:n={},SelectProps:o={},name:i="",onChange:a=()=>{},onBlur:s=()=>{},success:l=!1,helperText:c,loading:u=!1,type:p,fullWidth:f=!0,value:m,debounced:v=!0,...h})=>{var $,j;const[x,y]=g.useState(()=>m),[b,w]=g.useState(!0),[S,T]=g.useState(null),R={success:l,loading:u,InputProps:e},{endAdornment:E,type:A}=Yte(p,t),P={...e,disableUnderline:!0,endAdornment:e.endAdornment||E||d.jsx(Qte,{...R}),onKeyDown:H=>{i==="email"&&H.key===" "&&H.preventDefault()},className:xe(e.className,($=h.classes)==null?void 0:$.input)},M={...n,shrink:!0,className:xe(n.className,(j=h.classes)==null?void 0:j.label)},O={IconComponent:b2,...o},F=g.useCallback(Oi(H=>{a(H),w(!0)},iC),[a]),I=g.useCallback(Oi(()=>{S&&b&&(s(S),T(null))},iC),[S,b]),D=H=>{var k;if(i==="email"&&(H.currentTarget.value=H.currentTarget.value.trim()),(i==="vatNumber"||i==="taxId")&&(H.currentTarget.value=H.currentTarget.value.replace(/\s/g,"")),v){w(!1),y(((k=H.target)==null?void 0:k.value)||""),F(H);return}a(H)};return g.useEffect(()=>{m!==x&&y(m)},[m]),g.useEffect(()=>{I()},[S,b]),d.jsx(p3,{fullWidth:f,width:f?"100%":"auto",...h,sx:{maxWidth:f?"initial":283,"& .MuiInputBase-root":{borderRadius:1,height:28,border:`1px solid ${C.gray.normal}`,"& .MuiInput-input":{height:28,fontSize:12,fontWeight:400,lineHeight:"20px",color:C.gray.text}}},type:A,name:i,value:v?x:m,onChange:D,onBlur:H=>{if(v)return T(H);s(H)},InputLabelProps:M,InputProps:P,SelectProps:O,disabled:t,placeholder:t?"":r,helperText:c})};function j2(e){return d.jsx(Ce,{sx:{margin:0,marginTop:3},color:C.red,variant:"body2",...e})}function Zte({name:e,value:t="",error:r,onChange:n=()=>{},onChangeFontSize:o=()=>{},selectedFrame:i,getMaxFontSize:a,getMaxTextWidth:s,needCustomFont:l}){const c=de(),u=g.useRef(null),{maxFontSize:p,maxTextWidth:f,customFront:m}=g.useMemo(()=>({maxFontSize:a(i),maxTextWidth:s(i),customFront:l(i)}),[i]),v=t==="__default__"?c.formatMessage({id:"common.scanMe"}):t,[h,x]=g.useState(v),[y,b]=g.useState(null),w=T=>{x(T.target.value.replace(/\$/g,""))},S=g.useCallback(Oi(T=>{n({customData:{name:e,value:T}})},300),[]);return g.useEffect(()=>{S(h)},[h]),g.useEffect(()=>{const T=qte(u.current,{multiLine:!1,minSize:30,maxSize:p});return b(T),u.current.addEventListener("fit",o),()=>{u.current&&u.current.removeEventListener("fit",o),y==null||y.unsubscribe()}},[p]),g.useEffect(()=>{i!==null&&y&&y.fit()},[i]),d.jsxs("div",{children:[d.jsx(ep,{children:d.jsx(We,{id:"formikFields.qrFrame.text"})}),d.jsx(Kte,{fullWidth:!0,name:e,error:!!r,onChange:w,inputProps:{maxLength:30},value:h,disabled:i===null}),!!r&&d.jsx(j2,{children:r}),d.jsx(G,{position:"absolute",overflow:"hidden",bottom:-90,maxWidth:1,children:d.jsx(G,{width:800,maxWidth:800,visibility:"hidden",sx:{cursor:"default",fontSize:90,lineHeight:1,pointerEvents:"none"},style:{maxWidth:f},children:d.jsx("div",{ref:u,style:{display:"inline-block",whiteSpace:"nowrap",fontFamily:m?"Yesteryear":void 0},children:v})})})]})}const aC=200;function jM({disabled:e=!1,error:t=!1,value:r="#000000",placeholder:n="#000000",name:o,sx:i={},onChange:a=()=>{},onBlur:s=()=>{},...l}){const[c,u]=g.useState(!1),[p,f]=g.useState(()=>r),m=g.useRef(null),v={backgroundColor:r};(r===""||D9(r)||t)&&(v.border=`1px solid ${C.gray.normal}`);const h=g.useCallback(Oi((S,T)=>{S.target.value=T,S.target.name=o,a(S),s(S)},aC),[a,s]),x=g.useCallback(Oi(S=>{a(S)},aC),[a]),y=S=>{var T;f(((T=S==null?void 0:S.target)==null?void 0:T.value)||""),x(S)},b=()=>{u(!0)},w=S=>{u(!1),s(S)};return g.useEffect(()=>{r!==p&&f(r)},[r]),d.jsxs(G,{display:"flex",alignItems:"center",gap:2,width:"100%",height:28,px:3,borderRadius:1,maxWidth:100,...l,sx:S=>({backgroundColor:C.white,border:`2px solid ${C.gray.normal}`,transition:be.transition("background-color, border-color"),"&:hover:not(.disabled):not(:hover)":{borderColor:C.gray.dark},"&.focus":{borderColor:C.primary.blue},"&.disabled":{backgroundColor:C.secondary.lightBlue},"&.error":{borderColor:C.red},...typeof i=="function"?i(S):{}}),className:xe({disabled:e,focus:!e&&c,error:t}),children:[d.jsx(G,{component:"input",type:"text",name:o,sx:{flex:1,border:0,padding:0,outline:0,height:20,minWidth:0,fontFamily:[YA,"sans-serif"].join(),fontSize:12,lineHeight:"20px",textTransform:"uppercase",color:C.gray.text,"&:disabled":{backgroundColor:C.secondary.lightBlue}},placeholder:n,onChange:y,onFocus:b,onBlur:w,value:p,disabled:e}),d.jsx(G,{component:"button",type:"button",width:12.8,height:12.8,borderRadius:.5,sx:{flexShrink:0,fontSize:0,transition:be.transition(),"&:disabled":{cursor:"default"}},style:v,disabled:e,onClick:S=>{const T=S.currentTarget.nextSibling;T.focus(),T.click()},children:"color"}),d.jsx(G,{component:"input",type:"color",ref:m,width:0,padding:0,position:"absolute",sx:{border:0,opacity:0},value:r,onChange:S=>{const T=S.target.value;h(S,T)}})]})}const sC="transparent";function lC({name:e,value:t,error:r,enableTransparent:n=!1,defaultValue:o="#ffffff",onChange:i=()=>{}}){const a=t===sC,s=f=>{const{target:{value:m,name:v}}=f;i({customData:{name:v,value:(m||o).toLowerCase()}})},[l,c]=g.useState(a),[u,p]=g.useState(a?"#ffffff":t);return g.useEffect(()=>{t!==sC&&l&&(c(!1),p(t))},[t]),d.jsxs("div",{children:[d.jsx("div",{children:d.jsx(jM,{name:e,value:(a?u:t)||"",onChange:s,error:!!r,disabled:n&&l})}),!!(r&&typeof r=="string")&&d.jsx(j2,{children:r})]})}function Xte({name:e="",value:t,errors:r,onChange:n=()=>{},concatenated:o=!1}){var v,h,x,y,b,w;const[i,a]=g.useState((t==null?void 0:t.id)??null),[s,l]=g.useState({loading:!1,ready:!1,frames:{}}),[c,u]=g.useState({}),p=g.useCallback(S=>{const{newValue:T}=S.detail;T&&n({customData:{name:`${e}.fontSize`,value:Math.round(T)}})}),f=Vte({textColor:t.textColor,color:t.color,...s.frames[i]}),m=(S,T)=>{a(T),n({customData:{name:S,value:T}})};return g.useEffect(()=>{!i||s.loading||s.ready||(l({loading:!0,frames:{}}),N(()=>import("./frames-qHk4kRJf.js"),[]).then(({default:S,...T})=>{l({frames:S,ready:!0}),u(T)}).catch(()=>{l({loading:!1,frames:{}})}))},[i]),d.jsx(G,{display:"flex",justifyContent:"flex-start",children:d.jsxs(G,{width:"100%",children:[d.jsx(Gte,{name:e,value:i,onChange:m,concatenated:o}),i!==null&&!s.ready&&d.jsx(ks,{sx:{width:"100%",height:{xs:229,sm:161},borderRadius:1,mt:3}}),i!==null&&s.ready&&d.jsxs(G,{width:"100%",borderRadius:1,display:"flex",flexDirection:"column",position:"relative",mt:{xs:4,md:3},mb:{md:2},sx:{padding:3,backgroundColor:C.secondary.lightBlue},children:[d.jsx(Zte,{fullWidth:!0,name:`${e}.text`,value:t==null?void 0:t.text,error:(v=r==null?void 0:r.frame)==null?void 0:v.text,onChange:n,onChangeFontSize:p,selectedFrame:i,...c}),d.jsx(Ai,{sx:{my:3}}),d.jsxs(G,{display:"flex",flexWrap:"wrap",gap:3,children:[d.jsxs(G,{children:[d.jsx(ep,{children:d.jsx(We,{id:"formikFields.qrFrame.textColor"})}),d.jsx(jM,{name:`${e}.textColor`,value:f,onChange:S=>{const{name:T,value:R}=S.target;n({customData:{name:T,value:R.toLowerCase()||"#"}})},error:!!((h=r==null?void 0:r.frame)!=null&&h.textColor)}),!!((x=r==null?void 0:r.frame)!=null&&x.textColor)&&d.jsx(j2,{children:(y=r==null?void 0:r.frame)==null?void 0:y.textColor})]}),d.jsxs(G,{children:[d.jsx(ep,{children:d.jsx(We,{id:"formikFields.qrFrame.color"})}),d.jsx(lC,{name:`${e}.color`,value:t==null?void 0:t.color,onChange:n,error:(b=r==null?void 0:r.frame)==null?void 0:b.color,defaultValue:"#000000"})]}),d.jsxs(G,{children:[d.jsx(ep,{children:d.jsx(We,{id:"formikFields.qrselector.labelCornersDotColor"})}),d.jsx(lC,{name:`${e}.backgroundColor`,value:(t==null?void 0:t.backgroundColor)||"transparent",onChange:n,error:(w=r==null?void 0:r.frame)==null?void 0:w.backgroundColor})]})]})]})]})})}function Jte(e){const{disabled:t,field:{onBlur:r,...n},form:{isSubmitting:o,errors:i},onBlur:a,helperText:s,...l}=e;return{variant:e.variant,disabled:t??o,onBlur:a??r,...n,...l,errors:i}}function ere(e){return d.jsx(Xte,{...Jte(e)})}const tre=e=>d.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:96,height:96,fill:"none",...e,children:[d.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M0 31.807V0h31.808v31.807H0Zm7.484-7.485h16.84V7.483H7.483v16.839Z",clipRule:"evenodd"}),d.jsx("path",{fill:"currentColor",d:"M12.723 12.721h7.518v7.518h-7.518z"}),d.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M64.192 31.807V0H96v31.807H64.192Zm7.485-7.485h16.839V7.483h-16.84v16.839Z",clipRule:"evenodd"}),d.jsx("path",{fill:"currentColor",d:"M75.758 12.721h7.518v7.518h-7.518z"}),d.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M0 95.998V64.19h31.808v31.807H0Zm7.484-7.484h16.84V71.675H7.483v16.839Z",clipRule:"evenodd"}),d.jsx("path",{fill:"currentColor",d:"M12.723 75.758h7.518v7.518h-7.518zM7.519 36.434h7.518v7.518H7.519zM22.064 52.049V44.53h-7.027v7.518h6.852v7.517h7.027V52.05h-6.852ZM53.206 13.879h7.518v7.518h-7.518zM38.169 7.518h7.518v13.879h-7.518zM45.687 0h7.518v7.518h-7.518zM45.687 22.554v7.518H38.17v7.518h15.036V22.554h-7.518ZM53.205 66.99v-7.423h-7.518V44.53H38.17v15.226h7.518v7.423h7.518v7.422h15.036V66.99H53.205ZM53.206 36.434h7.518V51.47h-7.518z"}),d.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M88.694 38.168v7.013H96v14.384H75.545v-7.012H68.24V45.36h7.123v-7.192h13.331ZM75.545 52.372h13.149V45.36H75.545v7.012Z",clipRule:"evenodd"}),d.jsx("path",{fill:"currentColor",d:"M88.481 67.083h7.518v15.036h-7.518zM60.723 52.047h7.518v7.518h-7.518zM68.24 74.602h7.518v7.518H68.24zM75.758 65.925h7.518v7.518h-7.518z"}),d.jsx("path",{fill:"currentColor",d:"M74.602 82.117v13.88h7.71v-6.67h6.17v-7.21h-13.88ZM38.169 67.083h7.518v13.879h-7.518zM60.072 88.482v-7.518H45.687V96h7.193v-7.518h7.012V96h7.193v-7.518h-7.013ZM22.555 36.434h15.036v7.518H22.555zM.001 44.531h7.518v15.036H.001z"})]});function rre({active:e,value:t,percentage:r,onClick:n}){const o=de();return d.jsxs(Qr,{disableRipple:!0,sx:{minWidth:120,minHeight:168,flexDirection:"column",justifyContent:"flex-start",gap:4,borderRadius:2,transition:be.transition(),p:3,backgroundColor:e?C.primary.lightBlue:"transparent",color:e?C.primary.blue:C.black,"& .percentage":{border:`1px solid ${C.gray.normal}`,color:C.gray.text,transition:be.transition()},...e?{"& .percentage":{backgroundColor:C.white,border:`1px solid ${C.primary.blue}`}}:{},...be.hover({backgroundColor:C.primary.lightBlue,color:C.primary.blue,"& .percentage":{backgroundColor:C.white,border:`1px solid ${C.primary.blue}`}},!0)},onClick:n,children:[d.jsx(G,{width:"100%",display:"flex",justifyContent:"center",children:d.jsx(tre,{})}),d.jsxs(Ce,{variant:"body2",fontWeight:600,display:"flex",alignItems:"center",justifyContent:"space-between",gap:3,children:[d.jsx(G,{component:"span",sx:{textWrap:"nowrap"},children:o.formatMessage({id:"builder.formsStep3.level"},{value:t})}),d.jsxs(G,{component:"span",display:"flex",alignItems:"center",justifyContent:"center",borderRadius:1,height:28,className:"percentage",py:1,px:2,children:[r,"%"]})]})]})}const nre=[{value:"Q",percentage:25},{value:"H",percentage:30},{value:"M",percentage:15},{value:"L",percentage:7}];function ore({field:{name:e,value:t},onChange:r}){t||(t=Gr.defaultErrorCorrectionLevel);const[n,o]=g.useState(!1),i=d.jsx(G,{display:{xs:"flex",md:"grid"},flexWrap:{md:"nowrap"},gridTemplateColumns:"repeat(4, min-content)",gap:3,children:nre.map(a=>d.jsx(rre,{onClick:()=>r({customData:{name:e,value:a.value}}),active:t===a.value,...a},a.value))});return d.jsx(Po,{style:{width:"100%",height:185,...n?{opacity:1}:{}},autoHide:!n,hideTracksWhenNotNeeded:!n,onMouseOver:()=>o(!0),onMouseLeave:()=>o(!1),scrollType:"x",children:i})}const ire="/assets/whatsapp-wsWHf8wQ.svg",are="/assets/link-CXAlAtgE.svg",sre="/assets/location-N972obC2.svg",lre="/assets/wifi-DXYB8ErO.svg",cre="/assets/credential-SvsrpHCw.svg",ure="/assets/email-Btl7fxE7.svg",dre="/assets/scan-DKuPeK62.svg",pre="/assets/bell-C14v4iBF.svg",fre="/assets/menu-dmfR5ADG.svg",hre="/assets/scan-me-C_rq65NB.svg",mre="/assets/scan-me-v2-o9QXj0SA.svg",gre="/assets/paypal-OrTqum6D.svg",vre="/assets/bitcoin-CN9ejNhz.svg",yre="/assets/qr-logos-4e90DNLh.svg",bre={whatsapp:ire,link:are,location:sre,wifi:lre,credential:cre,email:ure,scan:dre,bell:pre,menu:fre,"scan-me":hre,"scan-me-v2":mre,paypal:gre,bitcoin:vre};function en(e){return{image:`${yre}#${e}`,imageSvg:bre[e]}}const xre=[{id:"logo1",...en("whatsapp")},{id:"logo2",...en("link")},{id:"logo3",...en("location")},{id:"logo4",...en("wifi")},{id:"logo5",...en("credential")},{id:"logo6",...en("email")},{id:"logo7",...en("scan")},{id:"logo8",...en("bell")},{id:"logo9",...en("menu")},{id:"logo10",...en("scan-me")},{id:"logo11",...en("scan-me-v2")},{id:"logo12",...en("paypal")},{id:"logo13",...en("bitcoin")}];function cC({selected:e,size:t=56,...r}){return d.jsx(G,{component:"button",type:"button",sx:{padding:0,borderRadius:2,backgroundColor:C.white,width:t,height:t,flexShrink:0,...be.centerFlexI,transition:be.transition(),...be.hover({background:C.primary.lightBlue},!0),...e?{background:C.primary.lightBlue}:{}},...r})}function wre({name:e,value:t,onChange:r=()=>{},clearListener:n}){const[o,i]=g.useState(t),[a,s]=g.useState(!1),l=(p,f)=>()=>{i(f),r({customData:{name:p,value:f}})},c=()=>{r({customData:{name:e,value:null}}),i(null)};g.useEffect(()=>{n&&c()},[n]);const u=d.jsxs(G,{display:"flex",alignItems:"center",position:"relative",sx:{flexWrap:"nowrap",gap:2.5,pb:2},className:"LogosWrapper",children:[d.jsx(cC,{selected:!o,onClick:async()=>{l(e,null)()},children:d.jsx(G,{width:40,height:40,display:"flex",alignItems:"center",justifyContent:"center",children:d.jsx(oQ,{size:40,sx:{color:C.gray.dark}})})}),xre.map(p=>d.jsx(cC,{selected:o===p.id,onClick:async()=>{l(e,p.id)()},children:d.jsx(G,{width:40,height:40,display:"flex",alignItems:"center",justifyContent:"center",children:d.jsx("img",{src:p.image,alt:p.id,width:"40",height:"40",loading:"lazy"})})},`logoSelector--${p.id}`))]});return d.jsx(Po,{style:{width:"100%",height:80,marginBottom:8,...a?{opacity:1}:{}},autoHide:!a,hideTracksWhenNotNeeded:!a,onMouseOver:()=>s(!0),onMouseLeave:()=>s(!1),scrollType:"x",forceScroll:a,children:u})}function Sre({name:e="",clearListener:t,value:r,onChange:n=()=>{}}){const o=i=>{n(i)};return d.jsx(G,{display:"flex",justifyContent:"flex-start",children:d.jsx(G,{width:"100%",children:d.jsx("div",{children:d.jsx(wre,{name:e,value:r,onChange:o,clearListener:t})})})})}function Ere(e){const{disabled:t,field:{onBlur:r,...n},form:{isSubmitting:o,errors:i},onBlur:a,helperText:s,...l}=e;return{variant:e.variant,disabled:t??o,onBlur:a??r,...n,...l,errors:i}}function Cre(e){return d.jsx(Sre,{...Ere(e)})}function Tre({selected:e,label:t,...r}){return d.jsx(qt,{variant:"text",sx:{"&&&":{"&":{borderRadius:{xs:"8px 8px 0px 0px",md:2},height:{xs:28,md:40},minWidth:{xs:54,md:68},color:C.gray.dark,borderBottom:{xs:"1px solid transparent",md:"none"},...be.hover({color:C.primary.blue,borderColor:C.primary.blue},!0),...e?{backgroundColor:C.primary.lightBlue,color:C.primary.blue,borderColor:{xs:C.primary.blue}}:{}}}},...r,children:d.jsx(Ce,{variant:"body2",fontWeight:600,color:"currentColor",children:t})})}function Ag({sx:e={},...t}){return d.jsx(G,{borderRadius:{md:2},padding:{md:3},sx:r=>({border:{md:`1px solid ${C.gray.normal}`},...typeof e=="function"?e(r):e}),...t})}function uC(e){const t=Nt("mdDown");return d.jsx(Ce,{sx:{mb:3},variant:t?"body2":"body1",component:"p",fontWeight:600,...e})}const Rre=g.lazy(()=>N(()=>import("./QRSelectorField-CgfbMAkG.js"),__vite__mapDeps([46,47,45,12,13,6]))),_re=g.lazy(()=>N(()=>import("./LogoImageField-BLHQqmwI.js"),__vite__mapDeps([48,15,49,50,6])));function Are({handleChange:e=()=>()=>{},handleBlur:t=()=>()=>{},fieldsProps:r={frame:{id:"frame",name:"frame"},style:{id:"qrStyle",name:"qrStyle"},logo:{id:"image",name:"image"}}}){const n=de(),o=Nt("mdDown"),[i,a]=g.useState("frame"),s=[{id:0,value:"frame",label:n.formatMessage({id:"builder.sections.frame.title"})},{id:1,value:"qrCodeStyle",label:n.formatMessage({id:"builder.sections.qrCodeStyle.title"})},{id:2,value:"addLogo",label:n.formatMessage({id:"builder.sections.addLogo.title"})},{id:3,value:"correctionLevel",label:n.formatMessage({id:"builder.sections.correctionLevel.title"})}],{frame:l={},style:c={},logo:u={},logoPreset:p={},level:f={}}=r||{};return d.jsx(G,{children:d.jsxs(G,{display:"flex",flexDirection:"column",gap:"16px",children:[d.jsx(Po,{scrollType:"x",autoHide:!0,style:{minWidth:240,height:46},children:d.jsx($M,{value:i,onChange:a,children:d.jsx(G,{display:"flex",gap:2,children:s.map(m=>{const v=i===m.value;return d.jsx(Tre,{value:m.value,variant:"text",onClick:()=>a(m.value),selected:v,label:m.label},m.id)})})})}),d.jsxs(G,{sx:{"& p":{textAlign:"left"}},children:[i==="frame"&&d.jsx(Ag,{sx:{pb:{md:1}},children:d.jsx(Ct,{component:ere,onChange:e,onBlur:t,concatenated:!o,...l})}),i==="qrCodeStyle"&&d.jsx(g.Suspense,{fallback:d.jsxs(G,{sx:{display:"grid",gap:5},children:[d.jsx(ks,{sx:{width:"100%",height:257}}),d.jsx(ks,{sx:{width:"100%",height:352}})]}),children:d.jsx(Rre,{onChange:e,onBlur:t,twoColumns:!0,...c})}),i==="addLogo"&&d.jsxs(Ag,{children:[d.jsx(uC,{children:n.formatMessage({id:"builder.formsStep3.group3.child.preset.label"})}),d.jsx(Ct,{component:Cre,onChange:e,onBlur:e,...p}),d.jsx(g.Suspense,{fallback:d.jsx(ks,{width:"100%",height:o?70:50,sx:{borderRadius:1}}),children:d.jsx(_re,{onChange:e,onBlur:t,...u})})]}),i==="correctionLevel"&&d.jsxs(Ag,{children:[d.jsx(uC,{children:n.formatMessage({id:"builder.formsStep3.correctionLevelLabel"})}),d.jsx(Ct,{name:"errorCorrectionLevel",component:ore,onChange:e,...f})]})]})]})})}const FM=lr((e,t,r)=>({wrapper:{alignItems:"center",display:"inline-flex",[`&.${r.background}`]:{backgroundColor:C.secondary.lightBlue,borderRadius:4,height:48,padding:"0 11px 0 2px",boxSizing:"border-box"},[`&.${r.fullBackground}`]:{display:"flex",height:56,width:"100%"},[`&.${r.center}`]:{display:"flex",justifyContent:"center"},[`&:hover .${r.root}:not(.${r.checked}) .${r.checkbox}:not(.${r.disabled}), &:active .${r.root}:not(.${r.checked}):not(.${r.disabled}) .${r.checkbox}`]:{borderColor:C.gray.darkest,"@media (hover: none)":{borderColor:C.gray.dark}},[`&:hover .${r.root}.${r.checked}:not(.${r.disabled}) .${r.checkbox}`]:{borderColor:C.primary.darkBlue,backgroundColor:C.primary.darkBlue,"@media (hover: none)":{borderColor:C.primary.blue}},[`&:active .${r.root}.${r.checked}:not(.${r.disabled}) .${r.checkbox}`]:{borderColor:C.primary.darkBlue,backgroundColor:C.primary.darkBlue},[`&:hover .${r.label}:not(.${r.disabled})`]:{color:C.black,"@media (hover: none)":{color:C.gray.darkest}},[`&:active .${r.label}:not(.${r.disabled})`]:{color:C.black}},labelWrapper:{alignItems:"center",display:"inline-flex",justifyContent:"center",cursor:"pointer",[`&.${r.disabled}`]:{cursor:"default"}},checkbox:{width:24,height:24,border:`2px solid ${C.gray.dark}`,flexShrink:0,transition:be.transition(),...be.centerFlex},label:{color:C.gray.darkest,fontFamily:e.typography.fontFamily,fontSize:13,fontWeight:600,lineHeight:"18px",userSelect:"none",transition:be.transition("color"),whiteSpace:"normal",marginLeft:8,".hintText &":{marginRight:5},[`&.${r.disabled}`]:{color:C.gray.dark}},center:{},background:{},fullBackground:{},small:{},root:{[`&.${r.small}`]:{height:20,width:20,[`& .${r.checkbox}`]:{width:20,height:20}},[`& .${r.checkbox}`]:{backgroundColor:C.white,borderRadius:8},"&:hover":{backgroundColor:"transparent",color:C.gray.dark,"@media (hover: none)":{color:C.gray.normal}},"&:active":{backgroundColor:"transparent"},[`&.${r.checked} .${r.checkbox}`]:{borderColor:C.primary.blue,backgroundColor:C.primary.blue,"& svg .check":{fill:C.white}},[`&.${r.disabled} .${r.checkbox}`]:{borderColor:C.secondary.lightBlue,backgroundColor:C.secondary.lightBlue,[`.${r.background} &`]:{borderColor:C.gray.dark,backgroundColor:C.gray.dark}}},checked:{},disabled:{pointerEvents:"none"},switchRoot:{display:"flex",alignItems:"center"},hintIcon:{marginLeft:3,color:C.gray.darkest,cursor:"pointer",transition:be.transition(),[e.breakpoints.up("md")]:{"&:hover":{color:C.black}},"&.openHint":{color:C.black}},light:{fontWeight:400,fontSize:13,color:C.black}}),"Checkbox");function kre({background:e=!1,fullBackground:t=!1,center:r=!1,label:n="",style:o={},className:i="",hintText:a="",...s}){const{wrapper:l,center:c,background:u,fullBackground:p,label:f,checkbox:m,...v}=FM({...s,classes:s.classes||{}}),h=Nt("lgDown"),[x,y]=g.useState(!1),b=()=>y(!0),w=()=>y(!1);return d.jsxs("div",{className:v.switchRoot,children:[d.jsxs("label",{className:xe(["checkbox-wrapper",i,l],{[c]:r,[u]:e||t,[p]:t,[v.disabled]:s.disabled}),htmlFor:s.id,style:o,children:[d.jsx(_G,{...s,classes:s.classes||{},checked:s.checked||s.value,color:"primary"}),!!n&&d.jsx("span",{className:xe(f,{[v.disabled]:s.disabled}),children:n})]}),a&&d.jsx(Iu,{title:a,open:x,onOpen:b,onClose:w,children:d.jsx(w3,{className:xe([v.hintIcon,{openHint:x}]),size:14,onClick:()=>{h&&b()}})})]})}function Ire(e){return d.jsx(Vc,{...e,children:d.jsx("polygon",{className:"check",points:"10 17.41 5.29 12.71 6.71 11.29 10 14.59 17.29 7.29 18.71 8.71 10 17.41"})})}function Mre({background:e=!1,fullBackground:t=!1,center:r=!1,label:n="",small:o=!1,style:i={},className:a="",hintText:s="",lightLabel:l=!1,CheckComponent:c,...u}){const{wrapper:p,center:f,background:m,fullBackground:v,label:h,labelWrapper:x,small:y,checkbox:b,hintIcon:w,switchRoot:S,light:T,...R}=FM({...u,classes:u.classes||{}}),E=Nt("lgDown"),[A,P]=g.useState(!1),M=()=>P(!0),O=()=>P(!1);return c=c||Ire,d.jsx("div",{className:xe([S,{hintText:!!s}]),children:d.jsxs("div",{className:xe(["checkbox-wrapper",a,p],{[f]:r,[m]:e||t,[v]:t}),children:[d.jsxs("label",{className:xe([x],{[R.disabled]:u.disabled}),htmlFor:u.id,style:i,children:[d.jsx(Iz,{...u,disableRipple:!0,classes:{...R,root:xe(R.root,{[y]:o})},icon:d.jsx("div",{className:xe(b,{[R.disabled]:u.disabled})}),checkedIcon:d.jsx("div",{className:xe(b,{[R.disabled]:u.disabled}),children:d.jsx(c,{})})}),!!n&&d.jsx("span",{className:xe(h,{[R.disabled]:u.disabled,[T]:l}),children:n})]}),s&&d.jsx(Iu,{title:s,open:A,onOpen:M,onClose:O,children:d.jsx(w3,{className:xe([w,{openHint:A}]),size:14,onClick:F=>{F.stopPropagation(),E&&M()}})})]})})}function Pre({disabled:e,field:{onBlur:t,...r},form:{isSubmitting:n},onBlur:o,helperText:i,...a}){return{variant:a.variant,disabled:e??n,onBlur:o??function(l){t(l??r.name)},...r,...a}}function Ore(e){return d.jsx(Mre,{...Pre(e)})}const Lre=lr({root:{display:"flex",flexDirection:"column"},label:{color:C.gray.darkest,fontSize:13,lineHeight:"18px",fontWeight:600,marginBottom:6}},"FormikFields-Select");function Nre({children:e=null,label:t="",style:r={},required:n=!1,...o}){const i=Lre(o);return d.jsxs("div",{className:i.root,style:r,children:[!!t&&d.jsxs("p",{className:i.label,children:[t,n&&" *"]}),d.jsx(hM,{...o,style:{width:"100%"},children:e})]})}function $re({disabled:e,field:{onBlur:t,...r},form:{isSubmitting:n},onBlur:o,helperText:i,...a}){return{variant:a.variant,disabled:e??n,onBlur:o??function(l){t(l??r.name)},...r,...a}}function BM(e){return d.jsx(Nre,{...$re(e)})}function Pa({sx:e={},...t}){return d.jsx(G,{display:"flex",flexDirection:"column",gap:5.5,sx:r=>({"& .MuiInput-root":{border:`1px solid ${C.gray.normal}`,borderRadius:1,height:48,"& .MuiInput-input":{fontSize:16,height:48,"&::placeholder":{color:C.gray.text}}},"&& .MuiAccordionSummary-content":{fontSize:16,fontWeight:600,"&,  &.Mui-expanded":{margin:"12px 0"},"&.Mui-expanded":{marginBottom:4}},"&& .MuiAccordionSummary-expandIconWrapper":{top:12},"& .MuiFormLabel-root":{color:C.black,mb:2},"& .MuiFormHelperText-root":{textTransform:"initial"},...typeof e=="function"?e(r):e}),...t})}function Xc({sx:e,...t}){return d.jsx(G,{...t,sx:r=>({display:{sm:"flex"},alignItems:{sm:"flex-start"},"& > &":{marginBottom:0,minWidth:{sm:"calc(50% - 9px)"}},"& > *:not(:last-child)":{marginBottom:{xs:6,sm:0},marginRight:{sm:4.5}},...typeof e=="function"?e(r):e})})}function Dre({onChange:e=()=>{},prefix:t=""}){const r=de();return d.jsxs(Pa,{children:[d.jsxs(Xc,{children:[d.jsx(Ct,{simpleErrors:!0,required:!0,id:"wifi-form-ssid",type:"text",name:`${t}ssid`,inputProps:{maxLength:100},label:r.formatMessage({id:"builder.formsStep2.wifi.ssid.label"}),placeholder:r.formatMessage({id:"builder.formsStep2.wifi.ssid.placeholder"}),component:ct,onChange:e,onBlur:e}),d.jsx(Ct,{simpleErrors:!0,id:"wifi-form-password",type:"text",name:`${t}password`,inputProps:{maxLength:100},label:r.formatMessage({id:"builder.formsStep2.wifi.password.label"}),placeholder:r.formatMessage({id:"builder.formsStep2.wifi.password.placeholder"}),component:ct,onChange:e,onBlur:e})]}),d.jsxs(Xc,{children:[d.jsx(Ct,{id:"wifi-form-authType",required:!0,type:"text",name:`${t}authType`,label:r.formatMessage({id:"builder.formsStep2.wifi.authType.label"}),component:n=>d.jsxs(BM,{...n,style:{width:163},children:[d.jsx(Vt,{value:"WEP",children:d.jsx(We,{id:"wifi.enciptationOption.wep"})}),d.jsx(Vt,{value:"WPA",children:d.jsx(We,{id:"wifi.enciptationOption.wpa"})}),d.jsx(Vt,{value:"WPA2-EAP",children:d.jsx(We,{id:"wifi.enciptationOption.wpaeap"})}),d.jsx(Vt,{value:"nopass",children:d.jsx(We,{id:"wifi.enciptationOption.nopass"})})]}),onChange:e,onBlur:e}),d.jsx("div",{style:{height:50,padding:"1px 0",alignSelf:"flex-end"},children:d.jsx(Ct,{id:"wifi-form-hidden",type:"checkbox",name:`${t}hidden`,label:r.formatMessage({id:"builder.formsStep2.wifi.hidden.label"}),background:!0,component:Ore,onChange:e})})]})]})}function jre({onChange:e=()=>{},prefix:t=""}){const r=de();return d.jsxs(Pa,{children:[d.jsx(Ct,{simpleErrors:!0,id:"sms-form-number",type:"text",name:`${t}number`,inputProps:{maxLength:50},label:r.formatMessage({id:"builder.formsStep2.sms.number"}),component:ct,onChange:e,onBlur:e}),d.jsx(Ct,{simpleErrors:!0,id:"sms-form-message",type:"text",name:`${t}message`,inputProps:{maxLength:160},label:r.formatMessage({id:"builder.formsStep2.email.message"}),multiline:!0,maxRows:3,component:ct,onChange:e,onBlur:e})]})}const Fre=1500;function Bre(e){try{const{href:t}=new URL(e);return e.includes(".")?!!t:!1}catch{return!1}}const Hre=Oi(e=>{Bre(e)&&window.dispatchEvent(new CustomEvent("validatedBuilderForm"))},Fre);function Ure({onChange:e=()=>{},prefix:t=""}){const r=de(),n=(...o)=>{var a;const[i]=o;Hre(((a=i==null?void 0:i.target)==null?void 0:a.value)||""),e(...o)};return d.jsx(Pa,{children:d.jsx(Ct,{simpleErrors:!0,type:"text",id:"url-static",name:`${t}url`,label:r.formatMessage({id:"builder.formsStep2.website.url.label"}),placeholder:r.formatMessage({id:"builder.formsStep2.website.url.placeholder"}),component:ct,onChange:n,onBlur:e,sx:{maxWidth:350}})})}function zre({onChange:e=()=>{},prefix:t=""}){const r=de();return d.jsxs(Pa,{children:[d.jsx(Ct,{simpleErrors:!0,required:!0,id:"email-form-email",type:"text",name:`${t}email`,inputProps:{maxLength:100},label:r.formatMessage({id:"common.email"}),component:ct,onChange:e,onBlur:e}),d.jsx(Ct,{simpleErrors:!0,id:"email-form-subject",type:"text",name:`${t}subject`,inputProps:{maxLength:100},label:r.formatMessage({id:"builder.formsStep2.email.subject"}),component:ct,onChange:e,onBlur:e}),d.jsx(Ct,{simpleErrors:!0,id:"email-form-body",type:"text",name:`${t}body`,inputProps:{maxLength:200},label:r.formatMessage({id:"builder.formsStep2.email.message"}),multiline:!0,maxRows:3,component:ct,onChange:e,onBlur:e})]})}function Vre({onChange:e=()=>{},prefix:t=""}){const r=de();return d.jsxs(Pa,{children:[d.jsx(Ct,{simpleErrors:!0,id:"sms-form-number",type:"text",name:`${t}number`,inputProps:{maxLength:50},label:r.formatMessage({id:"builder.formsStep2.sms.number"}),component:ct,onChange:e,onBlur:e}),d.jsx(Ct,{simpleErrors:!0,id:"sms-form-message",type:"text",name:`${t}message`,inputProps:{maxLength:160},label:r.formatMessage({id:"builder.formsStep2.email.message"}),multiline:!0,maxRows:3,component:ct,onChange:e,onBlur:e})]})}function Wre({onChange:e=()=>{},prefix:t=""}){const r=de();return d.jsx(Pa,{children:d.jsx(Xc,{children:d.jsx(Ct,{id:"textForm-text",name:`${t}text`,required:!0,inputProps:{maxLength:300},InputProps:{required:!1},simpleErrors:!0,component:ct,label:r.formatMessage({id:"builder.formsStep2.text.labels.text"}),multiline:!0,placeholder:r.formatMessage({id:"builder.formsStep2.text.placeholders.message"}),onChange:e,onBlur:e})})})}const Gre=Sr(d.jsx("path",{d:"M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6z"}),"Add"),qre=Sr(d.jsx("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close"),dC=Sr(d.jsx("path",{d:"M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8z"}),"Home"),pC=Sr(d.jsx("path",{d:"M15.5 1h-8C6.12 1 5 2.12 5 3.5v17C5 21.88 6.12 23 7.5 23h8c1.38 0 2.5-1.12 2.5-2.5v-17C18 2.12 16.88 1 15.5 1m-4 21c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5m4.5-4H7V4h9z"}),"PhoneIphone"),fC=Sr(d.jsx("path",{d:"M19 8H5c-1.66 0-3 1.34-3 3v6h4v4h12v-4h4v-6c0-1.66-1.34-3-3-3m-3 11H8v-5h8zm3-7c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1m-1-9H6v4h12z"}),"Print"),hC=Sr(d.jsx("path",{d:"M20 6h-4V4c0-1.11-.89-2-2-2h-4c-1.11 0-2 .89-2 2v2H4c-1.11 0-1.99.89-1.99 2L2 19c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2V8c0-1.11-.89-2-2-2m-6 0h-4V4h4z"}),"Work"),Qre=lr({button:{width:"100%","&.small":{width:"auto"},"&.text":{width:"auto",marginLeft:0,fontSize:18,fontWeight:700,color:C.primary.blue,padding:6,paddingLeft:0,"&:hover":{color:C.primary.darkBlue}}}},"BuilderButton");function Yre({variant:e="outlined",small:t=!0,children:r=null,className:n="",...o}){const i=Qre();return e==="text"?d.jsx(Qr,{variant:"text",disableRipple:!0,className:xe([i.button,"text",n]),...o,children:r}):d.jsx(qt,{variant:e,className:xe([i.button,{small:t},n]),...o,children:r})}function Kre({classes:e,...t}){return d.jsxs(hM,{...t,className:e.select,renderValue:r=>{const n={cell:d.jsx(pC,{className:xe([e.iconLabel,"cell"])}),home:d.jsx(dC,{className:xe([e.iconLabel,"home"])}),work:d.jsx(hC,{className:xe([e.iconLabel,"work"])}),fax:d.jsx(fC,{className:xe([e.iconLabel,"fax"])}),other:d.jsx(nE,{className:xe([e.iconLabel,"other"]),size:22})};return d.jsx("div",{className:e.selectValue,children:d.jsx("div",{className:e.iconWrapper,children:n[r]})})},children:[d.jsxs(Vt,{value:"cell",children:[d.jsx("div",{className:e.iconWrapper,children:d.jsx(pC,{className:xe([e.iconLabel,"cell"])})}),d.jsx(We,{id:"common.phoneTypes.cell"})]}),d.jsxs(Vt,{value:"home",children:[d.jsx("div",{className:e.iconWrapper,children:d.jsx(dC,{className:xe([e.iconLabel,"home"])})}),d.jsx(We,{id:"common.phoneTypes.home"})]}),d.jsxs(Vt,{value:"work",children:[d.jsx("div",{className:e.iconWrapper,children:d.jsx(hC,{className:xe([e.iconLabel,"work"])})}),d.jsx(We,{id:"common.phoneTypes.work"})]}),d.jsxs(Vt,{value:"fax",children:[d.jsx("div",{className:e.iconWrapper,children:d.jsx(fC,{className:xe([e.iconLabel,"fax"])})}),d.jsx(We,{id:"common.phoneTypes.fax"})]}),d.jsxs(Vt,{value:"other",children:[d.jsx("div",{className:e.iconWrapper,children:d.jsx(nE,{className:xe([e.iconLabel,"other"]),size:22})}),d.jsx(We,{id:"common.phoneTypes.other"})]})]})}function Zre({classes:e,index:t,value:r={},error:n="",onChange:o=()=>{},onDelete:i=()=>{},hasText:a}){const s=de(),[l,c]=g.useState(r),u=(f,m=!1)=>v=>{const h={...l,[f]:v.target.value};c(h),m&&o(h)},p=()=>{o(l)};return d.jsxs("div",{className:e.item,children:[d.jsx("div",{className:e.labelWrapper,children:d.jsxs("p",{className:e.label,children:[d.jsx(We,{id:"common.phone"}),` ${typeof t>"u"?"":t+1}`]})}),d.jsxs("div",{className:e.inputsWrapper,children:[d.jsx(Kre,{value:l.type,onChange:u("type",!0),classes:e}),a&&d.jsx(qp,{className:e.input,error:!!n.text,helperText:n.text,value:l.text,onChange:u("text"),onBlur:p,placeholder:s.formatMessage({id:"common.placeholder.label"}),inputProps:{maxLength:100}}),d.jsx(qp,{className:e.input,error:!!n.phone,helperText:n.phone,value:l.phone,onChange:u("phone"),onBlur:p,placeholder:s.formatMessage({id:"common.placeholder.phone"}),inputProps:{maxLength:40}}),d.jsx("button",{type:"button",className:e.delete,onClick:i,children:d.jsx(qre,{})})]})]})}const Xre=lr((e,t,r)=>({root:{display:"flex"},wrapper:{width:"100%"},container:{},list:{"&:not(:empty)":{paddingBottom:8}},item:{display:"flex",flexDirection:"column",[`&.${r.item} + .${r.item}`]:{marginTop:23}},labelWrapper:{flexShrink:0,display:"flex",alignItems:"center",whiteSpace:"nowrap",marginBottom:6},label:{color:C.gray.darkest,fontSize:13,lineHeight:"18px",fontWeight:600},inputsWrapper:{display:"flex",alignItems:"flex-start"},select:{minWidth:0,maxWidth:"none",flexShrink:0,width:80,marginRight:12},selectValue:{display:"flex",flexDirection:"column",justifyContent:"center",height:"100%",color:C.gray.darkest,[`& .${r.iconWrapper}`]:{marginRight:0}},iconWrapper:{width:24,height:24,display:"inline-flex",alignItems:"center",justifyContent:"center",marginRight:8},iconLabel:{"&.work":{fontSize:22},"&.fax":{fontSize:22}},input:{maxWidth:323,marginRight:12},delete:{height:50,color:C.gray.dark,fontSize:0,lineHeight:1,paddingLeft:7,"& svg":{fontSize:21}},controls:{width:"100%"},messageError:{color:e.palette.error.main,margin:0,fontSize:"0.75rem",marginTop:3,lineHeight:1.66}}),"FormikFields-Buttons");function Jre({classes:e={},arrayHelpers:t,id:r="",value:n,errors:o,name:i="",hasText:a=!0,buttonVariant:s="outlined",smallButton:l=!0}){const c=Xre({classes:e}),u=r||Date.now(),p=()=>{t.push({id:`${u}-phone-${Date.now()}`,type:"work",phone:"",...a?{text:""}:{}})};return d.jsx("div",{className:c.root,children:d.jsx("div",{className:c.wrapper,children:d.jsxs("div",{className:c.container,children:[d.jsxs("div",{className:c.list,children:[(n||[]).map((f,m)=>{const v=f.id||`Phones-Phone--${u}-${i}-phone-${m.toString()}`;return d.jsx(Zre,{classes:c,error:(o||[])[m],value:f,hasText:a,onDelete:()=>t.remove(m),onChange:h=>t.replace(m,h)},v)}),typeof o=="string"&&!!o&&d.jsx("p",{className:xe([c.messageError,"error-message"]),children:o})]}),d.jsx("div",{className:c.controls,children:d.jsxs(Yre,{variant:s,small:l,onClick:p,children:[d.jsx(Gre,{}),d.jsx(We,{id:"common.addPhone"})]})})]})})})}function ene(e){function t(r){return d.jsx(Jre,{...e,arrayHelpers:r})}return t}const Tle={Wrapper:Ze((e,t,r)=>({root:{boxShadow:"0px 4px 6px 0px #CDD1E0","&, &:first-child":{borderRadius:8},"&:before":{content:"normal"},[`&, &.${r.expanded}`]:{margin:0},"&.Mui-disabled":{backgroundColor:C.gray.light}},expanded:{}}),"BuilderSection")(N1),Summary:Ze((e,t,r)=>({root:{padding:"0 36px 0 24px",minHeight:97,marginBottom:0,[`&.${r.expanded}`]:{minHeight:97},[`&.${r.focusVisible}`]:{background:"transparent"},[e.breakpoints.down("md")]:{padding:"0 24px 0 12px",minHeight:80,[`&.${r.expanded}`]:{minHeight:80}}},content:{margin:"23px 0",[e.breakpoints.down("md")]:{margin:"16px 0"}},expandIconWrapper:{transform:"rotate(90deg)",color:C.black},expanded:{},focusVisible:{}}),"BuilderSection-Summary")(D1),SummaryContent:Ee("div")(({theme:e})=>({display:"flex",alignItems:"flex-start",gap:16,[e.breakpoints.down("md")]:{gap:12}})),SummaryIcon:Ee("div")({display:"flex",alignItems:"center",justifyContent:"center",backgroundColor:"#f3f5fe",color:C.primary.blue,padding:12,borderRadius:4}),Description:Ee("p")(({theme:e})=>({fontSize:14,color:C.gray.darkest,marginTop:8,[e.breakpoints.down("md")]:{fontSize:12,marginTop:4}}),"BuilderSection-Description"),Details:Ze(e=>({root:{display:"flex",padding:"0 24px 24px",flexDirection:"column",[e.breakpoints.down("md")]:{padding:"0 12px 12px"}}}),"BuilderSection-AccordionDetails")($1)},kg={Wrapper:Ze((e,t,r)=>({root:{boxShadow:"none",transition:be.transition(),"&:first-child":{paddingTop:10},[`&:first-child, &.${r.expanded}:first-child`]:{marginTop:-6},"&, &:first-child":{borderRadius:0},"&:not(:last-child)":{borderBottom:"1px solid #E4E4E4"},"&:before":{content:"normal"},"&:hover":{backgroundColor:C.gray.light,"&:last-child":{borderBottom:"none",borderRadius:0}},[`&, &.${r.expanded}`]:{margin:0,backgroundColor:"#fff"},"&.Mui-disabled":{background:"none",opacity:.7}},expanded:{}}),"Accordion-Wrapper")(N1),Summary:Ze((e,t,r)=>({root:{fontSize:16,padding:"0 0 0 26px",[`&, &.${r.expanded}`]:{minHeight:0},[`&.${r.focusVisible}`]:{background:"transparent"},[e.breakpoints.down("md")]:{fontSize:14}},content:{margin:"26px 0",[`&.${r.expanded}`]:{margin:"26px 0 24px",[e.breakpoints.down("md")]:{margin:"26px 0 16px"}},".MuiAccordion-root:first-child > .MuiAccordionSummary-root > &":{marginTop:16}},expandIconWrapper:{transform:"rotate(90deg)",color:"#5A5B70",padding:0,position:"absolute",left:0,top:26,[e.breakpoints.down("md")]:{top:24},".MuiAccordion-root:first-child > .MuiAccordionSummary-root > &":{top:16,[e.breakpoints.down("md")]:{top:14}}},expanded:{},focusVisible:{}}),"Accordion-Summary")(D1),Details:Ze(e=>({root:{display:"flex",padding:"0 0 30px",flexDirection:"column",gap:22,[e.breakpoints.down("md")]:{padding:"0 0 26px"}}}),"Accordion-Details")(Mn($1,["fullBox"]))};function tne({title:e,children:t,defaultExpanded:r=!1,expanded:n,onChange:o,summaryProps:i={},disabled:a=!1,...s}){const[l,c]=g.useState(r??!1),u=g.useRef(null);function p(f,m){o&&o(f,m),c(m)}return g.useEffect(()=>{function f(){p(null,!0)}u.current.addEventListener("expandErrorSection",f)},[]),d.jsxs(kg.Wrapper,{expanded:n??l,onChange:p,ref:u,disabled:a,...s,children:[d.jsx(kg.Summary,{expandIcon:d.jsx(Vq,{}),...i,children:e}),d.jsx(kg.Details,{children:t})]})}const Lv=g.memo(tne),rne=lr(()=>({root:{width:"100%"},simpleTitle:{display:"block",color:C.black,fontSize:16,fontWeight:600,lineHeight:"22px",marginBottom:9},simpleContainer:{display:"grid",gap:22}}),"Location-Wrapper"),nne=lr((e,t,r)=>({root:{borderRadius:4,backgroundColor:C.secondary.lightBlue,padding:12,display:"flex",alignItems:"center",[e.breakpoints.only("xs")]:{padding:" 16px 12px"}},selector:{...be.centerFlexI,flex:1,height:52,border:`3px solid ${C.gray.normal}`,borderRadius:8,backgroundColor:C.white,color:C.gray.normal,[e.breakpoints.only("xs")]:{width:"auto",flex:1},[`&.${r.selector} + .${r.selector}`]:{marginLeft:11,[e.breakpoints.only("xs")]:{marginLeft:12}},[`&.${r.selected}`]:{borderColor:C.primary.blue,color:C.black}},selected:{}}),"Location-TypeSelector"),one=lr(()=>({root:{width:"100%",display:"flex",alignItems:"flex-end"},buttonWrapper:{},button:{height:50,minWidth:0,width:150,marginLeft:12},inputWrapper:{position:"relative",flex:1},menu:{position:"absolute",width:"100%",borderRadius:4,overflowX:"hidden",overflowY:"auto",zIndex:1300,maxHeight:300,padding:8,paddingRight:0,top:"calc(100% + 4px)",left:0,boxShadow:xj}}),"Location-GoogleAutoComplete"),HM=lr((e,t,r)=>({root:{width:"100%"},label:{display:"block",color:C.gray.darkest,fontSize:13,fontWeight:600,lineHeight:"18px",marginBottom:9},fullForm:{display:"flex",flexDirection:"column",gap:"12px"},row:{display:"flex",gap:"12px"},street:{flexShrink:0,width:"calc((100% - 12px) / 2)"},number:{[`&.${r.streetNumberFirst}`]:{order:-1}},streetNumberFirst:{},smallField:{maxWidth:250},switchWrapper:{marginTop:12},hidden:{display:"none"}}),"Location-FullAddress");function ine({type:e="accordion",children:t,accordionProps:r={}}){const n=rne(),i=de().formatMessage({id:"builder.formsStep2.location.label"}),{values:a}=Ou(),{expanded:s,disabled:l,defaultExpanded:c}=r,u=typeof s!="function"?s:s(a),[p,f]=g.useState(!l&&(typeof s>"u"?c:u));if(g.useEffect(()=>{f(!l&&(typeof s>"u"?c:u))},[l]),e==="accordion"){const{onToggleExpand:m}=r,v={disabled:typeof l!="function"?l:l(a),expanded:p,onChange:(h,x)=>f(x)};return typeof s<"u"&&(v.expanded=!v.disabled&&s,v.onChange=m),d.jsx(Lv,{title:i,...v,children:t})}return d.jsxs("div",{className:n.root,children:[d.jsx("p",{className:n.simpleTitle,children:i}),d.jsx("div",{className:n.simpleContainer,children:t})]})}function ane({value:e="full",onChange:t=()=>{}}){const r=nne(),n=de(),o=[{type:"full",label:n.formatMessage({id:"builder.formsStep2.location.types.full"})},{type:"url",label:n.formatMessage({id:"builder.formsStep2.location.types.url"})},{type:"coordinates",label:n.formatMessage({id:"builder.formsStep2.location.types.coordinates"})}];return d.jsx("div",{className:r.root,children:o.map(i=>d.jsx("button",{type:"button",className:xe(r.selector,{[r.selected]:i.type===e}),onClick:()=>t(i.type),children:i.label},`location-typeselector--${i.type}`))})}function sne({disabled:e,field:{onBlur:t,...r},form:{isSubmitting:n},onBlur:o,helperText:i,...a}){return{variant:a.variant,disabled:e??n,onBlur:o??function(l){t(l??r.name)},...r,...a}}function lne(e){return d.jsx(kre,{...sne(e)})}var UM={},cne="Expected a function",mC=NaN,une="[object Symbol]",dne=/^\s+|\s+$/g,pne=/^[-+]0x[0-9a-f]+$/i,fne=/^0b[01]+$/i,hne=/^0o[0-7]+$/i,mne=parseInt,gne=typeof on=="object"&&on&&on.Object===Object&&on,vne=typeof self=="object"&&self&&self.Object===Object&&self,yne=gne||vne||Function("return this")(),bne=Object.prototype,xne=bne.toString,wne=Math.max,Sne=Math.min,Ig=function(){return yne.Date.now()};function Ene(e,t,r){var n,o,i,a,s,l,c=0,u=!1,p=!1,f=!0;if(typeof e!="function")throw new TypeError(cne);t=gC(t)||0,Nv(r)&&(u=!!r.leading,p="maxWait"in r,i=p?wne(gC(r.maxWait)||0,t):i,f="trailing"in r?!!r.trailing:f);function m(R){var E=n,A=o;return n=o=void 0,c=R,a=e.apply(A,E),a}function v(R){return c=R,s=setTimeout(y,t),u?m(R):a}function h(R){var E=R-l,A=R-c,P=t-E;return p?Sne(P,i-A):P}function x(R){var E=R-l,A=R-c;return l===void 0||E>=t||E<0||p&&A>=i}function y(){var R=Ig();if(x(R))return b(R);s=setTimeout(y,h(R))}function b(R){return s=void 0,f&&n?m(R):(n=o=void 0,a)}function w(){s!==void 0&&clearTimeout(s),c=0,n=l=o=s=void 0}function S(){return s===void 0?a:b(Ig())}function T(){var R=Ig(),E=x(R);if(n=arguments,o=this,l=R,E){if(s===void 0)return v(l);if(p)return s=setTimeout(y,t),m(l)}return s===void 0&&(s=setTimeout(y,t)),a}return T.cancel=w,T.flush=S,T}function Nv(e){var t=typeof e;return!!e&&(t=="object"||t=="function")}function Cne(e){return!!e&&typeof e=="object"}function Tne(e){return typeof e=="symbol"||Cne(e)&&xne.call(e)==une}function gC(e){if(typeof e=="number")return e;if(Tne(e))return mC;if(Nv(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=Nv(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=e.replace(dne,"");var r=fne.test(e);return r||hne.test(e)?mne(e.slice(2),r?2:8):pne.test(e)?mC:+e}var Rne=Ene,Zs={};Object.defineProperty(Zs,"__esModule",{value:!0});Zs.loadGoogleMapScript=Zs.isBrowser=void 0;var zM=typeof window<"u"&&window.document;Zs.isBrowser=zM;var _ne=function(t,r){if(!zM||typeof google<"u"&&google.maps&&google.maps.api)return Promise.resolve();var n=document.querySelectorAll('script[src*="'.concat(t,'"]'));if(n&&n.length)return new Promise(function(a){if(typeof google<"u")return a();n[0].addEventListener("load",function(){return a()})});var o=new URL(r);o.searchParams.set("callback","__REACT_GOOGLE_AUTOCOMPLETE_CALLBACK__");var i=document.createElement("script");return i.src=o.toString(),new Promise(function(a){window.__REACT_GOOGLE_AUTOCOMPLETE_CALLBACK__=a,document.body.appendChild(i)})};Zs.loadGoogleMapScript=_ne;var zh={};Object.defineProperty(zh,"__esModule",{value:!0});zh.GOOGLE_MAP_SCRIPT_BASE_URL=void 0;var Ane="https://maps.googleapis.com/maps/api/js";zh.GOOGLE_MAP_SCRIPT_BASE_URL=Ane;Object.defineProperty(UM,"__esModule",{value:!0});var kne=UM.default=Dne,tn=g,vC=Mne(Rne),yC=Zs,Ine=zh;function Mne(e){return e&&e.__esModule?e:{default:e}}function bC(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function Ya(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?bC(Object(r),!0).forEach(function(n){Pne(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):bC(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function Pne(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ka(e,t){return $ne(e)||Nne(e,t)||Lne(e,t)||One()}function One(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Lne(e,t){if(e){if(typeof e=="string")return xC(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return xC(e,t)}}function xC(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Nne(e,t){var r=e&&(typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"]);if(r!=null){var n=[],o=!0,i=!1,a,s;try{for(r=r.call(e);!(o=(a=r.next()).done)&&(n.push(a.value),!(t&&n.length===t));o=!0);}catch(l){i=!0,s=l}finally{try{!o&&r.return!=null&&r.return()}finally{if(i)throw s}}return n}}function $ne(e){if(Array.isArray(e))return e}function Dne(e){var t=e.apiKey,r=e.libraries,n=r===void 0?"places":r,o=e.googleMapsScriptBaseUrl,i=o===void 0?Ine.GOOGLE_MAP_SCRIPT_BASE_URL:o,a=e.debounce,s=a===void 0?300:a,l=e.options,c=l===void 0?{}:l,u=e.sessionToken,p=e.language,f=p?"&language=".concat(p):"",m="".concat(i,"?key=").concat(t,"&libraries=").concat(n).concat(f),v=(0,tn.useState)([]),h=Ka(v,2),x=h[0],y=h[1],b=(0,tn.useState)(!1),w=Ka(b,2),S=w[0],T=w[1],R=(0,tn.useState)(null),E=Ka(R,2),A=E[0],P=E[1],M=(0,tn.useState)(!1),O=Ka(M,2),F=O[0],I=O[1],D=(0,tn.useState)(!1),$=Ka(D,2),j=$[0],H=$[1],k=(0,tn.useState)([]),L=Ka(k,2),B=L[0],z=L[1],V=(0,tn.useRef)(null),K=(0,tn.useRef)(null),q=(0,tn.useRef)(null),te=(0,tn.useCallback)(function(){return(0,yC.loadGoogleMapScript)(i,m)},[i,m]),Y=(0,tn.useCallback)((0,vC.default)(function(oe){V.current&&oe.input&&V.current.getPlacePredictions(Ya(Ya(Ya({},u&&q.current?{sessionToken:q.current}:{}),c),oe),function(ie){T(!1),y(ie||[])})},s),[s]),se=(0,tn.useCallback)((0,vC.default)(function(oe){V.current&&oe.input&&V.current.getQueryPredictions(Ya(Ya(Ya({},u&&q.current?{sessionToken:q.current}:{}),c),oe),function(ie){I(!1),z(ie||[])})},s),[s]);return(0,tn.useEffect)(function(){if(yC.isBrowser){var oe=function(){if(!google)return console.error("Google has not been found. Make sure your provide apiKey prop.");V.current=new google.maps.places.AutocompleteService,K.current=new google.maps.places.PlacesService(document.createElement("div")),u&&(q.current=new google.maps.places.AutocompleteSessionToken)};t?te().then(function(){return oe()}):oe()}},[]),{placesService:K.current,autocompleteSessionToken:q.current,placesAutocompleteService:V.current,placePredictions:A?x:[],isPlacePredictionsLoading:S,getPlacePredictions:function(ie){if(ie.input){P(ie.input),T(!0),Y(ie);return}y([]),P(null),Y(ie),T(!1)},queryPredictions:j?B:[],isQueryPredictionsLoading:F,getQueryPredictions:function(ie){if(ie.input){H(ie.input),I(!0),se(ie);return}z([]),H(null),se(ie),I(!1)},refreshSessionToken:function(){q.current=new google.maps.places.AutocompleteSessionToken}}}const Za=(e,t,r="long_name")=>{const n=e.address_components.find(o=>o.types.includes(t));return n?n[r]:""};function jne({name:e,change:t=()=>{},disabled:r=!1}){const n=de(),o=one(),i=f=>{t({customData:{name:e,value:f}})},[a,s]=g.useState(!1),{placesService:l,placePredictions:c,getPlacePredictions:u}=kne({apiKey:"AIzaSyDIM-M0SGbPGAOUn5zt93b3e9nXzpjmCy0"}),p=f=>{l==null||l.getDetails({placeId:f},m=>{const v={street:Za(m,"route","short_name"),number:Za(m,"street_number"),city:Za(m,"locality"),state:Za(m,"administrative_area_level_1","short_name"),country:Za(m,"country"),postalCode:Za(m,"postal_code")};i(v)})};return d.jsxs("div",{className:o.root,children:[d.jsxs("div",{className:o.inputWrapper,children:[d.jsx(qp,{id:"location-google-input",type:"text",label:n.formatMessage({id:"builder.formsStep2.location.placeholder.googleInput"}),disabled:r,onFocus:()=>s(!0),onBlur:()=>s(!1),onChange:f=>{const m=f.target.value.trim();m&&m.length>2&&u({input:m})}}),d.jsx(qc,{in:!!(c!=null&&c.length)&&a,unmountOnExit:!0,children:d.jsx(Ta,{className:o.menu,children:c.map((f,m)=>d.jsx(Vt,{onClick:()=>p(f==null?void 0:f.place_id),children:f.description},`AddressAutocomplete-placePredictions--${m.toString()}`))})})]}),d.jsx("div",{className:o.buttonWrapper,children:d.jsx(qt,{variant:"outlined",size:"small",className:o.button,onClick:()=>{i(r?void 0:{streetNumberFirst:!1,street:"",number:"",postalCode:"",city:"",state:"",country:""})},children:r?d.jsx(We,{id:"builder.formsStep2.location.fullAddress.clear"}):d.jsx(We,{id:"builder.formsStep2.location.fullAddress.manual"})})})]})}const Fne=e=>!e||e.type!=="full"?!0:!e.data||!Object.prototype.hasOwnProperty.call(e.data,"street");function Bne({name:e="address",value:t,change:r=()=>{}}){const n=de(),o=HM(),i=Fne(t),a=!!(t!=null&&t.streetNumberFirst);return d.jsxs("div",{className:o.root,children:[d.jsx(jne,{name:e,change:r,disabled:!i}),!i&&d.jsxs("div",{className:o.fullForm,children:[d.jsx("div",{className:o.row,children:d.jsx(po,{id:"location-streetNumberFirst",type:"checkbox",name:`${e}.streetNumberFirst`,label:n.formatMessage({id:"builder.formsStep2.vcard.info.streetNumberFirst.label"}),component:lne,onChange:r})}),d.jsxs("div",{className:o.row,children:[d.jsx(po,{simpleErrors:!0,id:"location-street",type:"text",name:`${e}.street`,label:n.formatMessage({id:"builder.formsStep2.location.placeholder.street"}),inputProps:{maxLength:gr.street},component:ct,onChange:r,className:o.street}),d.jsx(po,{simpleErrors:!0,id:"location-number",type:"text",name:`${e}.number`,className:xe([o.smallField,o.number],{[o.streetNumberFirst]:a}),label:n.formatMessage({id:"builder.formsStep2.location.placeholder.number"}),inputProps:{maxLength:gr.number},component:ct,onChange:r}),d.jsx(po,{simpleErrors:!0,id:"location-postalCode",type:"text",name:`${e}.postalCode`,className:o.smallField,label:n.formatMessage({id:"builder.formsStep2.location.placeholder.postalCode"}),inputProps:{maxLength:gr.postalCode},component:ct,onChange:r})]}),d.jsxs("div",{className:o.row,children:[d.jsx(po,{simpleErrors:!0,id:"location-city",type:"text",name:`${e}.city`,label:n.formatMessage({id:"builder.formsStep2.location.placeholder.city"}),inputProps:{maxLength:gr.city},component:ct,onChange:r}),d.jsx(po,{simpleErrors:!0,id:"location-state",type:"text",name:`${e}.state`,label:n.formatMessage({id:"builder.formsStep2.location.placeholder.state"}),inputProps:{maxLength:gr.state},component:ct,onChange:r})]}),d.jsx("div",{className:o.row,children:d.jsx(po,{simpleErrors:!0,id:"location-country",type:"text",name:`${e}.country`,label:n.formatMessage({id:"builder.formsStep2.location.placeholder.country"}),inputProps:{maxLength:gr.country},component:ct,onChange:r})})]})]})}function Hne({name:e="address",change:t=()=>{}}){const r=de();return d.jsx(po,{simpleErrors:!0,id:"location-url",type:"text",name:`${e}.url`,label:r.formatMessage({id:"builder.formsStep2.location.types.url"}),placeholder:"https://...",component:ct,onChange:t})}function Une({name:e="address",change:t=()=>{}}){const r=de(),n=HM(),o=i=>a=>{const{target:s,customData:l}=a,c=l||s;i({customData:{name:c.name,value:c.value.replace(",",".")}})};return d.jsxs("div",{className:n.row,children:[d.jsx(po,{simpleErrors:!0,id:"location-latitude",type:"number",name:`${e}.latitude`,label:r.formatMessage({id:"builder.formsStep2.location.types.latitude"}),component:ct,onChange:o(t),inputProps:{maxLength:gr.latlong}}),d.jsx(po,{simpleErrors:!0,id:"location-longitude",type:"number",name:`${e}.longitude`,label:r.formatMessage({id:"builder.formsStep2.location.types.longitude"}),component:ct,onChange:o(t),inputProps:{maxLength:gr.latlong}})]})}function zne({type:e="",name:t="address",wrapperType:r="accordion",accordionProps:n={},handleChange:o=()=>{}}){const i=de(),{values:a}=Ou(),s=sI(a,t),l=(s==null?void 0:s.type)||"full",c=f=>{f!==l&&o({customData:{name:t,value:{type:f,data:void 0}}})},u=f=>{o({customData:{name:f.target.name,value:f.target.value}})},p={name:`${t}.data`,value:s,change:o};return d.jsxs(ine,{type:r,accordionProps:n,children:[d.jsx(ane,{value:l,onChange:c}),!k1(e)&&l==="full"&&(e===W.vcardPlus||e===W.business)&&d.jsx(Ct,{name:"locationBehaviour",label:i.formatMessage({id:"builder.formsStep2.location.locationBehaviour.label"}),component:f=>d.jsxs(BM,{...f,value:f.field.value||"show",children:[d.jsx(Vt,{value:"hide",children:i.formatMessage({id:"builder.formsStep2.location.locationBehaviour.options.option1"})}),d.jsx(Vt,{value:"show",children:i.formatMessage({id:"builder.formsStep2.location.locationBehaviour.options.option2"})}),d.jsx(Vt,{value:"showMap",children:i.formatMessage({id:"builder.formsStep2.location.locationBehaviour.options.option3"})})]}),onChange:u,onBlur:u}),l==="full"&&d.jsx(Bne,{...p}),l==="url"&&d.jsx(Hne,{...p}),l==="coordinates"&&d.jsx(Une,{...p})]})}function Vne({prefix:e="",values:t={},errors:r={},isValid:n=!1,onChange:o=()=>{}}){const i=de();return d.jsx(Pa,{children:d.jsxs("div",{children:[d.jsxs(Xc,{width:"100%",mb:5.5,children:[d.jsx(Ct,{simpleErrors:!0,required:!0,id:"vcard-form-name",type:"text",name:`${e}name`,inputProps:{maxLength:70},label:i.formatMessage({id:"builder.formsStep2.vcard.info.name.label"}),placeholder:i.formatMessage({id:"builder.formsStep2.vcard.info.name.placeholder"}),component:ct,onChange:o,onBlur:o}),d.jsx(Ct,{simpleErrors:!0,id:"vcard-form-lastName",type:"text",name:`${e}lastName`,inputProps:{maxLength:70},label:i.formatMessage({id:"builder.formsStep2.vcard.info.lastName.label"}),placeholder:i.formatMessage({id:"builder.formsStep2.vcard.info.lastName.placeholder"}),component:ct,onChange:o,onBlur:o})]}),d.jsxs(Lv,{title:i.formatMessage({id:"builder.formsStep2.vcard.contactInfo"}),children:[d.jsx(VJ,{name:`${e}phone`,render:a=>{const s=`${e}phone`,l=$Q(a);return ene({id:"vcard-form-phone",name:s,value:t.phone,errors:r.phone,hasText:!1})(l)}}),d.jsx(Ct,{simpleErrors:!0,id:"vcard-form-email",type:"text",name:`${e}email`,label:i.formatMessage({id:"common.email"}),placeholder:i.formatMessage({id:"common.placeholder.email"}),component:ct,onChange:o,onBlur:o}),d.jsx(Ct,{simpleErrors:!0,id:"vcard-form-url",type:"text",name:`${e}url`,label:i.formatMessage({id:"builder.formsStep2.vcard.info.url.label"}),placeholder:i.formatMessage({id:"formikFields.buttons.urlPlaceholder"}),component:ct,onChange:o,onBlur:o})]}),d.jsx(zne,{type:"vcard",name:"data.address",handleChange:o}),d.jsx(Lv,{title:i.formatMessage({id:"common.company"}),children:d.jsxs(Xc,{children:[d.jsx(Ct,{simpleErrors:!0,id:"vcard-form-org",type:"text",name:`${e}org`,inputProps:{maxLength:50},label:i.formatMessage({id:"builder.formsStep2.vcard.info.org.label"}),placeholder:i.formatMessage({id:"builder.formsStep2.vcard.info.org.placeholder"}),component:ct,onChange:o,onBlur:o}),d.jsx(Ct,{simpleErrors:!0,id:"vcard-form-title",type:"text",name:`${e}title`,inputProps:{maxLength:50},label:i.formatMessage({id:"builder.formsStep2.common.title"}),placeholder:i.formatMessage({id:"builder.formsStep2.vcard.info.titlePlaceholder"}),component:ct,onChange:o,onBlur:o})]})})]})})}function Wne({iconSrc:e,title:t,size:r=40,iconSize:n=24,...o}){const i=de();return d.jsx(G,{display:"flex",alignItems:"center",justifyContent:"center",borderRadius:2,width:r,height:r,sx:{border:"1px solid currentColor"},...o,children:d.jsx("img",{src:e,alt:`${i.formatMessage({id:"home.types.alt"})} ${t}`,width:n,height:n,loading:"lazy"})})}function Gne({title:e,iconSrc:t,active:r=!1,onClick:n=()=>{},hasLanding:o,isStatic:i,...a}){return d.jsxs(G,{disableRipple:!0,component:Qr,className:{active:r},justifyContent:"flex-start",gap:3,sx:{"&&&":{padding:2.5,paddingRight:1,display:"flex",alignItems:"center",borderRadius:2,width:{lg:152},height:52,background:C.white,textAlign:"left",color:C.gray.dark,border:"none",transition:be.transition(),"& .tab-icon":{color:C.gray.normal,transition:be.transition()},"&.active, &:hover":{"&, & .tab-icon":{color:C.primary.blue,background:C.primary.lightBlue}},flex:1}},onClick:()=>{r||n()},...a,children:[t&&d.jsx(Wne,{className:"tab-icon",iconSrc:t,title:e}),d.jsx(Ce,{component:"span",variant:"body2",fontWeight:600,overflow:"hidden",textOverflow:"ellipsis",maxWidth:75,children:e})]})}function qne({stepNumber:e=1,label:t,disabled:r,sx:n={},selected:o,...i}){return d.jsxs(G,{disableRipple:!0,component:Qr,display:"flex",gap:2,alignItems:"center",justifyContent:"flex-start",p:1,pr:2,minWidth:114,borderRadius:1,sx:{transition:be.transition(),color:o?C.primary.blue:C.gray.dark,background:o?C.primary.lightBlue:"transparent",border:`1px solid ${o?C.primary.lightBlue:C.gray.normal}`,...n},...i,children:[e&&d.jsx(G,{display:"flex",height:20,minWidth:20,px:1,flexDirection:"column",justifyContent:"center",alignItems:"center",gap:2.5,borderRadius:1,sx:{background:"currentColor"},children:d.jsx(Ce,{component:"span",variant:"body2",color:C.white,fontWeight:600,children:e})}),t&&d.jsx(Ce,{component:"p",variant:"body2",color:"currentColor",fontWeight:600,children:t})]})}function wC(e){return e.replace(/-([a-z])/g,t=>t[1].toUpperCase())}const Mg={wifi:Dre,whatsapp:jre,url:Ure,email:zre,sms:Vre,text:Wre,vcard:Vne},Dl={content:"content",design:"style"};function Qne(){var O;const e=N3(),t=LM(),r=de(),n=No(),o=Nt("mdDown"),[i,a]=g.useState((O=e==null?void 0:e[0])==null?void 0:O.name),[s,l]=g.useState(!1),[c,u]=g.useState(Dl.content),{schema:p=t.object(),defaultValues:f={}}=Ate(i),m=xee(t),v=t.object({data:t.object(p),style:m,type:t.string()}),h=[{label:r.formatMessage({id:"common.content"}),value:Dl.content},{label:r.formatMessage({id:"common.design"}),value:Dl.design}],x=F=>{a(F)},y=g.useCallback(()=>{window.localStorage.removeItem(Wp)},[]),b=e.map(F=>F.name==="url"?{...F,title:bt("url-static"),isStatic:!0,image:xd,iconSrc:`${xd}#${F.name}`,value:F.name}:{...F,image:xd,iconSrc:`${xd}#${F.name}`,value:F.name}).sort((F,I)=>F.isStatic&&!I.isStatic?-1:0),w=b.slice(0,6),S=b.filter(F=>F.name!=="staticUrl"),T=S.slice(6),R=b.find(F=>F.name===i),E=async(F={})=>{var I,D,$;try{if((I=F==null?void 0:F.style)!=null&&I.image&&((D=F==null?void 0:F.style)==null?void 0:D.image)instanceof File){const j=await Zc({file:($=F==null?void 0:F.style)==null?void 0:$.image,key:"logo"});F.style.image=j||""}}catch(j){console.warn("Error uploading logo",j)}return window.localStorage.setItem(Wp,JSON.stringify({...F,type:i,isStatic:R==null?void 0:R.isStatic}))},A=async(F,{setSubmitting:I})=>{I(!0),await E(F),window.localStorage.setItem(iE,1),I(!1)},P=async()=>{await E(),window.localStorage.setItem(iE,1),n.replace(Yt("register"))},M=(Mg==null?void 0:Mg[i])||null;return d.jsx(LJ,{validationSchema:v,initialValues:{data:f,style:{...Tv,frame:{...Tv.frame,text:r.formatMessage({id:"common.scanMe"})}}},onSubmit:A,children:({setFieldValue:F,values:I,errors:D,handleSubmit:$,resetForm:j,isValid:H,isSubmitting:k})=>{var V,K;const L=q=>{F(q.customData.name,q.customData.value)},B=(q,te)=>{x(te.name),j(),l(!1)},z=d.jsx(Ote,{width:"100%",value:i,options:S,menuWidth:300,menuMaxHeight:230,onSelect:B,menuTitle:r.formatMessage({id:"home.miniBuilder.selectQrType"}),mobileDrawer:!0,isHomeMiniBuilder:!0,valueComponent:()=>d.jsxs(d.Fragment,{children:[d.jsx("img",{src:R.iconSrc,alt:`${r.formatMessage({id:"home.types.alt"})} ${R.title}`,width:24,height:24}),d.jsx(Ce,{variant:"body1",fontWeight:600,sx:{ml:2,mr:"auto"},children:R.title})]})});return d.jsxs(yi,{component:dM,width:"100%",borderRadius:2,overflow:"hidden",textAlign:"left",gap:2,sx:{width:{xs:"calc(100% - 24px)",sm:"calc(100% - 40px)",md:"calc(100% - 80px)"},mt:{xs:0,md:8},maxWidth:1024,mx:"auto",p:2,borderRadius:2,background:C.gray.normal},children:[!o&&d.jsxs(G,{borderRadius:2,gap:3,padding:2,display:"flex",alignItems:"center",justifyContent:"space-between",sx:{background:C.white,boxShadow:"0px 4px 6px 0px rgba(205, 209, 224, 0.15)"},children:[d.jsx(G,{display:"flex",alignItems:"center",gap:1,width:"100%",children:w.map(q=>d.jsx(Gne,{...q,active:q.name===i,onClick:()=>B(null,q)},q.name))}),d.jsx(Nte,{options:T,value:i,onSelect:(q,te)=>{x(te.name),j(),l(!1)}})]}),d.jsxs(G,{display:"flex",flexDirection:{xs:"column",md:"row"},p:{xs:2,md:3},pb:{xs:3},gap:6,borderRadius:2,sx:{background:C.white,boxShadow:"0px 4px 6px 0px rgba(205, 209, 224, 0.15)"},children:[d.jsxs(G,{flex:1,maxWidth:{md:"calc(100% - 300px)"},order:{xs:2,md:1},children:[o&&d.jsx(G,{display:"flex",justifyContent:"center",alignItems:"flex-start",padding:3,width:"100%",sx:{border:{xs:`1px solid ${C.gray.normal}`,md:"none"},borderBottom:{xs:"none"},borderRadius:{xs:"8px 8px 0px 0px",md:"none"}},children:d.jsx($M,{value:c,onChange:q=>u(q),sx:{width:"100%"},children:d.jsx(G,{width:"100%",display:"flex",gap:3,children:h.map((q,te)=>d.jsx(Mte,{component:qne,stepNumber:te+1,width:"50%",...q},q.value))})})}),M?d.jsxs(G,{sx:{border:{xs:`1px solid ${C.gray.normal}`,md:"none"},borderRadius:{xs:"0px 0px 8px 8px",md:"none"}},children:[(c===Dl.content||!o)&&d.jsxs(d.Fragment,{children:[d.jsxs(yi,{gap:5,p:{xs:3,md:6},pb:{xs:6},children:[!o&&d.jsx(Pv,{stepNumber:1,label:r.formatMessage({id:"home.miniBuilder.steps.content"})}),o&&z,d.jsx(M,{onChange:DQ(F,l),prefix:"data.",values:I==null?void 0:I.data,errors:D==null?void 0:D.data,isValid:H})]}),!o&&d.jsx(G,{px:6,children:d.jsx(Ai,{})})]}),(c===Dl.design||!o)&&d.jsxs(yi,{gap:5,p:{xs:3,md:6},pb:{xs:6},children:[!o&&d.jsx(Pv,{stepNumber:2,label:r.formatMessage({id:"home.miniBuilder.steps.styles"})}),d.jsx(Are,{handleChange:L,handleBlur:L,fieldsProps:{frame:{id:"style.frame",name:"style.frame"},style:{id:"style.qrStyle",name:"style.qrStyle"},logo:{id:"style.image",name:"style.image",clearListener:(V=I==null?void 0:I.style)==null?void 0:V.logoPreset},logoPreset:{id:"style.logoPreset",name:"style.logoPreset",clearListener:(K=I==null?void 0:I.style)==null?void 0:K.image},level:{id:"style.errorCorrectionLevel",name:"style.errorCorrectionLevel"}}})]})]}):d.jsx(G,{height:"100%",sx:{border:{xs:`1px solid ${C.gray.normal}`,md:"none"},borderRadius:{xs:"0px 0px 8px 8px",md:"none"}},children:d.jsxs(yi,{p:{xs:3,md:6},pb:{xs:6},justifyContent:"center",alignItems:"flex-start",height:"100%",children:[o&&d.jsx(G,{mb:4,width:"100%",children:z}),d.jsx(Ce,{component:"p",variant:o?"subtitle2":"subtitle1",fontWeight:700,maxWidth:440,children:r.formatMessage({id:`home.miniBuilder.qrTypes.${wC(i)}.name`})}),d.jsx(Ce,{variant:o?"body2":"subtitle3",color:C.gray.text,fontWeight:400,component:"p",mt:2,maxWidth:440,children:r.formatMessage({id:`home.types.${wC(i)}.description`})}),d.jsx(qt,{type:"button",size:"small",onClick:P,sx:{"&&&":{mt:5,minWidth:138,width:"auto",px:6}},children:d.jsx(Ce,{component:"span",variant:"body1",fontWeight:700,children:r.formatMessage({id:"common.signUpNow"})})})]})})]}),d.jsx(Fte,{order:{xs:1,md:2},touched:s,isValid:H,selectedTab:i,hasFormComponent:!!M,values:I,handleSubmit:$,isSubmitting:k,handleCloseDownloadMenu:y})]})]})}},i)}const Yne="data:image/svg+xml,%3csvg%20width='88'%20height='36'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23a)'%3e%3cpath%20d='M21.622%2013.778H11.39v3.036h7.247c-.356%204.27-3.907%206.072-7.247%206.072-4.287%200-8.004-3.369-8.004-8.09%200-4.603%203.553-8.136%208.005-8.136%203.433%200%205.471%202.206%205.471%202.206l2.131-2.206s-2.723-3.036-7.697-3.036C4.972%203.624.07%208.986.07%2014.75c0%205.669%204.618%2011.196%2011.392%2011.196%205.969%200%2010.326-4.104%2010.326-10.154%200-1.279-.166-2.014-.166-2.014Z'%20fill='%234285F4'%20/%3e%3cpath%20d='M29.984%2011.572c-4.192%200-7.2%203.296-7.2%207.116%200%203.89%202.912%207.236%207.246%207.236%203.931%200%207.128-3.012%207.128-7.14.026-4.77-3.715-7.212-7.174-7.212Zm.048%202.823c2.06%200%204.025%201.661%204.025%204.364%200%202.634-1.942%204.365-4.025%204.365-2.297%200-4.098-1.827-4.098-4.364%200-2.515%201.777-4.365%204.098-4.365Z'%20fill='%23EA4335'%20/%3e%3cpath%20d='M45.663%2011.572c-4.191%200-7.2%203.296-7.2%207.116%200%203.89%202.913%207.236%207.247%207.236%203.931%200%207.128-3.012%207.128-7.14.002-4.77-3.741-7.212-7.175-7.212Zm.048%202.823c2.061%200%204.026%201.661%204.026%204.364%200%202.634-1.943%204.365-4.026%204.365-2.297%200-4.097-1.827-4.097-4.364-.024-2.515%201.775-4.365%204.097-4.365Z'%20fill='%23FBBC05'%20/%3e%3cpath%20d='M61.011%2011.572c-3.861%200-6.868%203.368-6.868%207.163%200%204.317%203.505%207.189%206.82%207.189%202.037%200%203.127-.806%203.932-1.756v1.423c0%202.467-1.493%203.962-3.766%203.962-2.179%200-3.291-1.637-3.671-2.562l-2.747%201.163c.97%202.064%202.937%204.222%206.442%204.222%203.837%200%206.75-2.419%206.75-7.472V11.998h-3.007v1.21c-.926-.973-2.204-1.636-3.885-1.636Zm.284%202.823c1.895%200%203.837%201.613%203.837%204.364%200%202.8-1.942%204.341-3.86%204.341-2.061%200-3.956-1.661-3.956-4.317-.024-2.753%201.966-4.388%203.98-4.388Z'%20fill='%234285F4'%20/%3e%3cpath%20d='M81.235%2011.572c-3.623%200-6.678%202.893-6.678%207.163%200%204.531%203.41%207.213%207.034%207.213%203.031%200%204.902-1.662%205.992-3.155l-2.487-1.66c-.64.995-1.728%201.969-3.505%201.969-2.013%200-2.937-1.114-3.505-2.183l9.615-3.987-.498-1.162c-.922-2.3-3.101-4.198-5.968-4.198Zm.142%202.751c1.303%200%202.25.687%202.653%201.541l-6.418%202.681c-.284-2.086%201.682-4.222%203.765-4.222Z'%20fill='%23EA4335'%20/%3e%3cpath%20d='M73.136%204.36h-3.15v21.159h3.15V4.359Z'%20fill='%2334A853'%20/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='a'%3e%3cpath%20fill='%23fff'%20transform='translate(.07)'%20d='M0%200h87.632v36H0z'%20/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",Kne="data:image/svg+xml,%3csvg%20width='116'%20height='20'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='m9.57.5%202.234%206.426%206.801.138-5.42%204.11%201.97%206.512L9.57%2013.8l-5.584%203.886%201.97-6.512-5.42-4.11%206.8-.138L9.57.5ZM33.57.5l2.234%206.426%206.801.138-5.42%204.11%201.97%206.512L33.57%2013.8l-5.584%203.886%201.97-6.512-5.42-4.11%206.8-.138L33.57.5ZM57.57.5l2.234%206.426%206.801.138-5.42%204.11%201.97%206.512L57.57%2013.8l-5.584%203.886%201.97-6.512-5.42-4.11%206.8-.138L57.57.5ZM81.57.5l2.234%206.426%206.801.138-5.42%204.11%201.97%206.512L81.57%2013.8l-5.584%203.886%201.97-6.512-5.42-4.11%206.8-.138L81.57.5ZM105.57.5l2.234%206.426%206.801.138-5.421%204.11%201.97%206.512-5.584-3.886-5.584%203.886%201.97-6.512-5.42-4.11%206.801-.138L105.57.5Z'%20fill='%23FBBC05'%20/%3e%3c/svg%3e";Ze({paper:{minWidth:300,width:"auto",borderRadius:16,height:"auto",border:"2px solid #EAEAEC",background:C.white,boxShadow:"0px 4px 6px 0px rgba(204, 221, 221, 0.14)"},list:{padding:12}},"CreateQRButton-Menu")(cl);Ze({root:{width:"100%",minHeight:"initial",padding:0,"& > button, & > a":{width:"100%",height:38,padding:"6px 16px 6px 8px",display:"flex",alignItems:"center",gap:11,color:C.gray.dark,fontSize:14,fontWeight:400}}},"CreateQRButton-MenuItem")(Vt);const Zne=Ee("div")({position:"absolute",right:16,top:"50%",transform:"translateY(-50%)",height:20,display:"flex",alignItems:"center"},"CreateQRButton-EndIconWrapper"),Xne=Ze(e=>({root:{"&&":{paddingLeft:40,paddingRight:40},[e.breakpoints.only("xs")]:{maxWidth:"min(360px, 100%)",marginLeft:"auto",marginRight:"auto"}},endIcon:({accountInModal:t})=>t?{}:{[e.breakpoints.down("md")]:{display:"none"}}}),"CreateQRButton")(Mn(qt,["accountInModal"]));function F2({children:e=null,hasArrow:t=!0,accountInModal:r=!1,extraButtonProps:n={},homeRedirect:o=!1,...i}){const a=PI(),s=de(),l=it(f=>f.user.loggedIn),c=o?Yt("home"):Q.register,u=Ph?{component:"a",href:Oh(c)}:{component:Gt,to:l?Q.builder:c},p=d.jsx(At,{size:20,icon:r?{parts:[{type:"path",props:{d:"M8,11a1,1,0,0,1-.71-.29l-5-5L3.71,4.29,8,8.59l4.29-4.3,1.42,1.42-5,5A1,1,0,0,1,8,11Z"}}],viewSize:16}:{parts:[{type:"path",props:{d:"M13.92,8.38a1,1,0,0,0,0-.76,1,1,0,0,0-.21-.33l-4-4A1,1,0,0,0,8.29,4.71L10.59,7H3A1,1,0,0,0,3,9h7.59l-2.3,2.29a1,1,0,0,0,0,1.42,1,1,0,0,0,1.42,0l4-4A1,1,0,0,0,13.92,8.38Z"}}],viewSize:16}});return d.jsx($2,{mobileDrawer:!0,component:f=>d.jsx(Xne,{...i,...f,...r?{}:{...u,...n},accountInModal:r,endIcon:t?d.jsx(d.Fragment,{children:r?d.jsx(Zne,{children:p}):p}):void 0,disabled:!a,children:e||s.formatMessage({id:"home.top.button"})})})}function Vh({children:e,sx:t,...r}){return d.jsx(G,{display:"flex",flexDirection:"column",alignItems:"center",...r,sx:{width:{xs:"calc(100% - 40px)",md:"calc(100% - 80px)"},maxWidth:1024,mx:"auto",...t},children:e})}const SC={xs:5,md:10},pr={google:{logoSrc:Yne,starsSrc:Kne,rating:As.google.value,value:As.google.count,href:As.google.link,alt:"Google logo"}};function Jne(){const e=de(),{rating:t,count:r,fetchingTotals:n}=it(i=>i.reviews),o=Object.keys(pr);return d.jsx(Vh,{component:"section",sx:{width:"100%",margin:"auto",mt:{xs:0,md:6}},children:d.jsxs(G,{display:"flex",flexDirection:{xs:"column",lg:"row"},component:"article",sx:{borderRadius:8,alignItems:"center",padding:{xs:"90px 0 10px",md:"25px 0"},justifyContent:"center"},children:[o.map(i=>{var a,s,l,c,u;return d.jsx(g.Fragment,{children:d.jsxs(G,{display:"flex",flexDirection:{xs:"column",lg:"row"},alignItems:"center",justifyContent:{xs:"center",lg:"space-between"},component:"a",href:(a=pr==null?void 0:pr[i])==null?void 0:a.href,target:"_blank",rel:"noopener noreferrer nofollow",sx:p=>({padding:"0 28px",columnGap:11,"&:first-child":{paddingLeft:0},[p.breakpoints.down("lg")]:{padding:0},[p.breakpoints.down("md")]:{width:"100%",borderRight:"none",columnGap:4,"&:first-child":{paddingTop:0}}}),children:[d.jsx(Ln,{sx:{width:"100%",height:"auto",verticalAlign:"top","&.trustPilot":{width:{xs:83,md:133}},"&.google":{width:124}},component:"img",src:(s=pr==null?void 0:pr[i])==null?void 0:s.logoSrc,alt:((l=pr==null?void 0:pr[i])==null?void 0:l.alt)||"",className:i,width:"124",height:"50"}),d.jsxs(G,{display:"flex",flexDirection:"column",alignItems:{xs:"center",lg:"flex-start"},justifyContent:"flex-start",children:[d.jsxs(G,{display:"flex",alignItems:"center",children:[d.jsx(Ln,{component:"img",src:(c=pr==null?void 0:pr[i])==null?void 0:c.starsSrc,alt:(u=pr==null?void 0:pr[i])==null?void 0:u.rating,sx:{maxWidth:116,height:"auto"},width:"116",height:"20"}),n?d.jsx(ks,{width:24,height:20,sx:{ml:2}}):d.jsx(Ce,{variant:"subtitle3",fontWeight:600,textAlign:"center",ml:2,children:t})]}),n?d.jsx(ks,{width:250,height:10,sx:{mt:2}}):d.jsx(Ce,{variant:"body2",fontWeight:600,mt:1,maxWidth:258,textAlign:"left",color:C.gray.dark,children:e.formatMessage({id:"home.reviewsBanner.description"},{value:r})})]})]})},i)}),d.jsx(F2,{accountInModal:!0,size:"small",sx:{"&&&":{pl:6,pr:9,fontSize:14,my:{xs:5.5,lg:0}}},children:e.formatMessage({id:"account.createFreeAccount"})}),d.jsx(G,{display:"flex",justifyContent:"center",alignItems:"center",textAlign:"left",pr:0,pl:{xs:0,lg:7},pt:{xs:3,lg:0},children:d.jsxs(Ce,{variant:"body2",display:"flex",alignItems:"center",fontWeight:600,color:C.gray.dark,children:[d.jsx(uQ,{size:16,color:C.gray.darkest,sx:{mr:2}}),e.formatMessage({id:"home.reviewsBanner.textBox"})]})})]})})}function eoe(){const e=Nt("mdDown"),t=de();return d.jsxs(G,{textAlign:"center",position:"relative",sx:{pt:{xs:8.25,md:8.75},pb:25,background:{xs:"linear-gradient(270deg, #F0F0FF 0%, #FFF 70%)",md:"linear-gradient(253.65deg, #F0F0FF 0%, #FFFFFF 68.52%)"}},component:"section",children:[!e&&d.jsxs(d.Fragment,{children:[d.jsx(Ce,{variant:"h2",component:"h1",sx:{fontSize:30},children:t.formatMessage({id:"home.top.title"})}),d.jsx(Ce,{variant:"subtitle1",component:"p",fontWeight:600,color:C.gray.text,sx:{mt:1.5,fontSize:17,lineHeight:"20px"},children:t.formatMessage({id:"home.top.description"})})]}),d.jsx(Qne,{}),d.jsx(Jne,{})]})}const toe="/assets/home-benefits-BrNY1f89.svg";function fr(e){return`${toe}#${e}`}function roe(){const e=de(),t=(n="")=>Yt("features").replace(":category",n),r={0:{image:fr("edit"),imageHover:fr("edit-hover"),link:t("edit-and-management"),width:"55.94%",size:{width:80,height:96}},1:{image:fr("dinamics"),imageHover:fr("dinamics-hover"),link:t("dynamic-qrs"),width:"41.26%",size:{width:80,height:120}},2:{image:fr("users"),imageHover:fr("users-hover"),link:t("collaborators"),width:"41.26%",size:{width:80,height:120}},3:{image:fr("download"),imageHover:fr("download-hover"),link:t("download-variety"),width:"55.94%",size:{width:80,height:96}},4:{image:fr("analytics"),imageHover:fr("analytics-hover"),link:t("analytics"),topImage:!0,size:{width:271,height:146}},5:{image:fr("integration"),imageHover:fr("integration-hover"),link:t("integrations"),topImage:!0,size:{width:271,height:146}},6:{link:t("templates"),isRow:!0},7:{link:t("static-qrs"),isRow:!0},8:{image:fr("masive"),imageHover:fr("masive-hover"),link:t("bulk-builder"),width:"41.26%",size:{width:80,height:120}},9:{image:fr("domain"),imageHover:fr("domain-hover"),link:t("custom-domains"),width:"41.26%",size:{width:80,height:120}},10:{link:t("access-protection"),hideText:!0,isRow:!0},11:{link:t("event-tracking"),hideText:!0,isRow:!0}};return g.useMemo(()=>({boxItems:Array(12).fill(null).map((o,i)=>{const{hideText:a,image:s,imageHover:l,link:c,width:u,isRow:p,topImage:f,size:m}=r[i]||{};return{title:e.formatMessage({id:`home.benefits.boxItems.${i}.title`}),text:a?void 0:e.formatMessage({id:`home.benefits.boxItems.${i}.text`}),image:p?void 0:s,imageHover:l,topImage:f,link:c,width:u,size:m}})}),[e.messages])}function yn({image:e="",title:t,text:r,topImage:n=!1,imageHover:o="",link:i="",width:a="100%",size:s}){const l=Nt("mdUp"),c=n?"0 0 22px 24px":"0 0 0 24px",[u,p]=g.useState(!1),f=l?e:o,m={component:"img",width:"80",sx:{width:n?271:80,height:"auto",objectFit:"fill"},alt:"",loading:"lazy",...s};return d.jsxs(G,{component:Gt,to:i,display:"flex",flexDirection:n?"column-reverse":"row",justifyContent:"space-between",gap:5,borderRadius:2,onMouseEnter:()=>p(!0),onMouseLeave:()=>p(!1),sx:v=>({background:C.gray.light2,padding:e?c:"22px",border:"1px solid white",width:e?"100%":"50%",alignItems:"center",minHeight:"172px",height:n?"290px":"auto",transition:be.transition(),...be.hover({border:`1px solid ${C.primary.blue}`,backgroundColor:C.primary.lightBlue},!0),[v.breakpoints.up("md")]:{minHeight:n?"312px":"148px"}}),style:{width:l?a:"100%"},children:[d.jsxs(yi,{gap:3,width:!n&&e?"calc(100% - 80px)":"100%",maxWidth:n?"190px":"initial",alignSelf:n?"flex-start":"center",children:[d.jsx(Ce,{variant:"body1",component:"h3",fontWeight:700,children:t}),d.jsx(Ce,{variant:"body1",color:C.gray.text,children:r})]}),e&&d.jsxs(G,{position:"relative",children:[d.jsx(Ln,{...m,src:f}),l&&d.jsx(Ln,{...m,src:o,sx:{...m.sx,position:"absolute",top:0,transition:be.transition(),opacity:u?1:0}})]})]})}function wd(e){return d.jsx(G,{display:"flex",flexDirection:{xs:"column",md:"row"},gap:5,width:"100%",...e})}function EC(e){return d.jsx(G,{display:"flex",flexDirection:"row",gap:5,width:"100%",...e})}function CC(e){return d.jsx(G,{display:"flex",flexDirection:"column",gap:3,width:"100%",height:"100%",...e})}function Sd({sx:e={},...t}){return d.jsx(G,{sx:r=>({flex:"1 0 50%",height:"auto",[r.breakpoints.up("md")]:{flex:"1 0 100%","&:nth-child(2)":{flex:"0 0 49%"},"&:nth-child(3)":{flex:"0 0 49%"}},[r.breakpoints.up("lg")]:{"&:nth-child(1)":{flex:"0 0 69.41%"},"&:nth-child(2)":{flex:"0 0 28.64%"},"&:nth-child(3)":{flex:"0 0 28.64%"},"&:nth-child(4)":{flex:"0 0 69.41%"}},...e}),...t})}function noe(){const e=de(),t=Nt("mdDown"),{boxItems:r}=roe(),n=Yt("builder");return d.jsxs(G,{display:"flex",flexDirection:"column",alignItems:"center",padding:{xs:"60px 20px 100px",md:"60px 20px",lg:"181px 0"},margin:{md:"0 auto"},maxWidth:{md:1030},gap:7,children:[d.jsx(Ce,{variant:t?"h3":"h2",textAlign:"center",fontWeight:400,children:e.formatMessage({id:"home.benefits.title"})}),d.jsxs(G,{display:"flex",flexDirection:{xs:"column",md:"row"},justifyContent:{md:"space-between"},flexWrap:"wrap",gap:3,children:[d.jsx(Sd,{children:d.jsxs(CC,{children:[d.jsxs(wd,{children:[d.jsx(yn,{...r[0]}),d.jsx(yn,{...r[1]})]}),d.jsxs(wd,{children:[d.jsx(yn,{...r[2]}),d.jsx(yn,{...r[3]})]})]})}),d.jsx(Sd,{children:d.jsx(yn,{...r[4]})}),d.jsx(Sd,{children:d.jsx(yn,{...r[5]})}),d.jsx(Sd,{children:d.jsxs(CC,{children:[d.jsxs(wd,{children:[d.jsxs(EC,{sx:{width:{md:"55.94%"}},children:[d.jsx(yn,{...r[6]}),d.jsx(yn,{...r[7]})]}),d.jsx(yn,{...r[8]})]}),d.jsxs(wd,{children:[d.jsx(yn,{...r[9]}),d.jsxs(EC,{sx:{width:{md:"55.94%"}},children:[d.jsx(yn,{...r[10]}),d.jsx(yn,{...r[11]})]})]})]})})]}),d.jsx(qt,{component:Gt,to:n,style:{width:190},size:"small",children:d.jsx(We,{id:"common.createQRCode"})})]})}function ooe(e){return d.jsx(G,{component:"a",sx:{textDecoration:"underline"},...e})}function ioe(){const e=de();return[{title:e.formatMessage({id:"home.basicConcepts.item1.title"}),text:e.formatMessage({id:"home.basicConcepts.item1.text"},{link:(...t)=>d.jsx(ooe,{href:"https://www.denso-wave.com/en/technology/vol1.html",target:"_blank",children:t})})},{title:e.formatMessage({id:"home.basicConcepts.item2.title"}),text:e.formatMessage({id:"home.basicConcepts.item2.text"})},{title:e.formatMessage({id:"home.basicConcepts.item3.title"}),text:e.formatMessage({id:"home.basicConcepts.item3.text"})}]}function aoe(){const e=de();return[{title:e.formatMessage({id:"home.concepts.title"}),items:[{title:e.formatMessage({id:"home.concepts.item1.title"}),text:e.formatMessage({id:"home.concepts.item1.text"})},{title:e.formatMessage({id:"home.concepts.item2.title"}),text:e.formatMessage({id:"home.concepts.item2.text"})},{title:e.formatMessage({id:"home.concepts.item3.title"}),text:e.formatMessage({id:"home.concepts.item3.text"})},{title:e.formatMessage({id:"home.concepts.item4.title"}),text:e.formatMessage({id:"home.concepts.item4.text"},{siteName:al})},{title:e.formatMessage({id:"home.concepts.item5.title"}),text:e.formatMessage({id:"home.concepts.item5.text"})},{title:e.formatMessage({id:"home.concepts.item6.title"}),text:e.formatMessage({id:"home.concepts.item6.text"})},{title:e.formatMessage({id:"home.concepts.item7.title"}),text:e.formatMessage({id:"home.concepts.item7.text"})},{title:e.formatMessage({id:"home.concepts.item8.title"}),text:e.formatMessage({id:"home.concepts.item8.text"})},{title:e.formatMessage({id:"home.concepts.item9.title"},{em:(...t)=>d.jsx("em",{children:t})}),text:e.formatMessage({id:"home.concepts.item9.text"})},{title:e.formatMessage({id:"home.concepts.item10.title"}),text:e.formatMessage({id:"home.concepts.item10.text"})}]},{title:e.formatMessage({id:"home.designInfo.title"}),items:[{title:e.formatMessage({id:"home.designInfo.item1.title"}),text:e.formatMessage({id:"home.designInfo.item1.text"})},{title:e.formatMessage({id:"home.designInfo.item2.title"}),text:e.formatMessage({id:"home.designInfo.item2.text"})},{title:e.formatMessage({id:"home.designInfo.item3.title"}),text:e.formatMessage({id:"home.designInfo.item3.text"})},{title:e.formatMessage({id:"home.designInfo.item4.title"}),text:e.formatMessage({id:"home.designInfo.item4.text"})}]},{title:e.formatMessage({id:"home.scanInfo.title"}),items:[{title:e.formatMessage({id:"home.scanInfo.item1.title"}),text:e.formatMessage({id:"home.scanInfo.item1.text"}),list:[e.formatMessage({id:"home.scanInfo.item1.list.0"}),e.formatMessage({id:"home.scanInfo.item1.list.1"}),e.formatMessage({id:"home.scanInfo.item1.list.2"}),e.formatMessage({id:"home.scanInfo.item1.list.3"})]},{title:e.formatMessage({id:"home.scanInfo.item2.title"}),text:e.formatMessage({id:"home.scanInfo.item2.text"})},{title:e.formatMessage({id:"home.scanInfo.item3.title"}),text:e.formatMessage({id:"home.scanInfo.item3.text"})},{title:e.formatMessage({id:"home.scanInfo.item4.title"}),text:e.formatMessage({id:"home.scanInfo.item4.text"}),list:[e.formatMessage({id:"home.scanInfo.item4.list.0"}),e.formatMessage({id:"home.scanInfo.item4.list.1"}),e.formatMessage({id:"home.scanInfo.item4.list.2"})]},{title:e.formatMessage({id:"home.scanInfo.item5.title"}),text:"",list:[e.formatMessage({id:"home.scanInfo.item5.list.0"}),e.formatMessage({id:"home.scanInfo.item5.list.1"})]},{title:e.formatMessage({id:"home.scanInfo.item6.title"}),text:e.formatMessage({id:"home.scanInfo.item6.text"})}]}]}function soe(){const e=No(),r=de().formatMessage({id:"home.backConfirmation"}),n=Ru(),o=it(a=>a.user.homeCtaClick),i=g.useMemo(()=>!!(n.get("gclid")||window.localStorage.getItem("gclid")),[]);g.useEffect(()=>{if(i&&o){const a=n.get("gclid");a&&localStorage.setItem("gclid",a),e.push("/")}},[o]),g.useEffect(()=>{if(!i||!o)return;const a=e.block((s,l)=>l==="POP"?window.confirm(r):!0);return()=>{a()}},[r,o])}function Rle(e){const t=Nt("smDown"),r=hh(),[n,o]=g.useState(!t||r);return g.useEffect(()=>{if(n)return;const i=new IntersectionObserver(a=>{a.forEach(s=>{s.isIntersecting&&(o(!0),i.unobserve(s.target))})},{rootMargin:"800px 0px"});return i.observe(e.current),()=>{i.disconnect()}},[]),n}const loe="/assets/cell-qNF5xnUJ.webp",coe="/assets/mockup_vcard-plus_preview-DYLGi2Cf.webp",uoe="/assets/mockup_pdf_preview-ymxSRKZm.webp",doe="/assets/mockup_link-list_preview-C38smY1Q.webp",poe="/assets/mockup_images_preview-Cl4tHSN2.webp",foe="/assets/mockup_business_preview-D7raW7ae.webp",hoe="/assets/mockup_menu_preview-TAqivFIc.webp",moe="/assets/mockup_app_preview-C5Ka7lNX.webp",goe="/assets/mockup_mp3_preview-CniMBpcd.webp",voe="/assets/mockup_coupon_preview-DYkniHBJ.webp",yoe="/assets/mockup_feedback_preview-DMAw_oxW.webp",boe="/assets/mockup_playlist_preview-D3py6Av0.webp",xoe="/assets/mockup_landing_preview-HRtTu_47.webp",woe="/assets/mockup_event_preview-Cw8Gw22C.webp",Soe="/assets/mockup_text_preview-BjfLChkh.webp",Eoe="/assets/mockup_video_preview-CaFZo0hl.webp",Coe="/assets/mockup_wifi_preview-ByXwYFag.webp",Toe="/assets/mockup_vcard_preview-nf0t-44L.webp",Roe="/assets/mockup_email_preview-lj62mU31.webp",_oe="/assets/mockup_whatsapp_preview-Czt4tlFn.webp",Aoe="/assets/mockup_sms_preview-sF7UsHtS.webp",koe="/assets/mockup_barcode_preview-vyOjIhvM.webp",Ioe="/assets/mockup_url_preview-DOrPmAyd.webp",Moe="/assets/mockup_product_preview-BxISmbHz.webp",Poe="/assets/mockup_social_preview-CWsm4I2_.webp";function Ooe(){return{"vcard-plus":{src:coe},pdf:{src:uoe},"link-list":{src:doe},images:{src:poe},business:{src:foe},menu:{src:hoe},app:{src:moe},mp3:{src:goe},coupon:{src:voe},feedback:{src:yoe},playlist:{src:boe},landing:{src:xoe},event:{src:woe},text:{src:Soe},video:{src:Eoe},wifi:{src:Coe},vcard:{src:Toe},email:{src:Roe},whatsapp:{src:_oe},sms:{src:Aoe},barcode:{src:koe},url:{src:Ioe},social:{src:Poe},product:{src:Moe}}}function Loe({type:e,alt:t}){const r=Ooe(),n=e==="staticUrl"?"url":e,{src:o,...i}=(r==null?void 0:r[n])||{};return d.jsxs(G,{position:"relative",width:250,height:503,sx:{backgroundImage:`url("${loe}")`,backgroundSize:"cover"},children:[d.jsx(G,{sx:{borderRadius:8,background:C.gray.normal}}),d.jsx(G,{top:12,left:12,position:"absolute",width:225,height:479,overflow:"hidden",borderRadius:8,children:d.jsx(Ln,{component:"img",src:o,alt:t,...i,width:"225",height:"486",loading:"lazy"})})]})}const _le=[W.landing,W.text,W.email,W.sms,W.whatsapp,W.barcode];function TC({name:e,title:t,description:r,hasLanding:n=!1,features:o=[]}){const[i,a]=g.useState("menu"),s=de(),l=Nt("mdDown");g.useEffect(()=>{a(e)},[e]);const c=i===e,u=c?d.jsx(Up,{in:!0,timeout:300,children:d.jsxs(G,{sx:{mt:{xs:10,md:0}},maxWidth:{xs:"100%",md:300},children:[d.jsx(Ce,{variant:"h3",textAlign:"left",children:t}),d.jsx(Ce,{variant:"body1",textAlign:"left",color:C.gray.text,mt:4,children:r}),d.jsx(F2,{extraButtonProps:n?{component:Gt,to:Yt("qrInternal").replace(":type",e)}:{},size:"small",hasArrow:!1,sx:{"&&&":{minWidth:116,px:6,mt:10}},children:s.formatMessage({id:"home.types.button"})})]})}):d.jsx(G,{});return d.jsx(G,{sx:{background:{xs:C.white,md:"linear-gradient(180deg, #FFF 0%, #F8F8F9 100%)"},pb:{xs:12,md:0}},children:d.jsxs(Vh,{display:{xs:"flex",md:"grid"},gridTemplateColumns:"1fr 250px 1fr",gap:"9%",flexDirection:{xs:"column",md:"row"},alignItems:"center",justifyContent:{md:"space-between"},position:"relative",pt:13.5,children:[!l&&u,d.jsx(G,{sx:{mb:{md:-14}},children:d.jsx(Loe,{type:e,alt:`${s.formatMessage({id:"home.types.alt"})} ${t}`})}),l&&u,!l&&!!(o!=null&&o.length)&&c&&d.jsx(Up,{in:!0,timeout:300,children:d.jsx(yi,{maxWidth:292,gap:11,children:o.map((p,f)=>d.jsxs(G,{display:"flex",gap:3,children:[d.jsx(Jq,{}),d.jsx(Ce,{variant:"body2",width:"calc(100% - 36px)",color:C.gray.text,children:p})]},`SelectedType-feature--${f.toString()}`))})})]})})}const Noe="/assets/qr-icons-BOedfaUI.svg";function RC(e,t){return`${Noe}#${e==="staticUrl"?"url":e}${t?"-hovered":""}`}function $oe({item:e,selected:t=!1,handleClick:r=()=>{}}){const[n,o]=g.useState(!1),i={component:"img",sx:{objectFit:"fill"},width:"80",height:"80",alt:"",loading:"lazy"};return d.jsxs(G,{className:"type-button",onMouseEnter:()=>o(!0),onMouseLeave:()=>o(!1),sx:{borderBottom:`2px solid ${t?C.primary.blue:C.gray.dark}`,backgroundColor:t?C.primary.lightBlue:C.white,minHeight:120,height:"100%",flex:"1 auto",width:100,display:"inline-flex",flexDirection:"column",alignItems:"center",justifyContent:"space-between",outline:0,padding:0,pb:2,px:2,flexShrink:0,cursor:"pointer",opacity:1,color:t?C.primary.blue:C.gray.dark,transition:be.transition(),"&:first-child":{marginLeft:0},...be.hover({opacity:1,borderColor:C.primary.blue,backgroundColor:C.primary.lightBlue,color:C.primary.blue,"& .type-title":{color:C.primary.blue}},!0)},selected:t,onClick:r,component:"li",children:[d.jsxs(G,{position:"relative",children:[d.jsx(Ln,{src:RC(e.name),...i}),d.jsx(Ln,{src:RC(e.name,!0),...i,sx:{...i.sx,position:"absolute",top:0,opacity:n||t?1:0}})]}),d.jsx(Ce,{variant:"body2",color:t?C.primary.blue:C.gray.dark,textAlign:"center",fontWeight:600,itemProp:"category",className:"type-title",sx:{transition:be.transition()},children:e.title})]})}function _C({onClick:e,direction:t="right",disabled:r,offsetX:n=0,offsetY:o=0,sx:i={},positioned:a=!0}){const s=t==="right"?b3:Qq;return d.jsx(Qr,{sx:l=>({width:40,height:40,borderRadius:"50%",background:C.white,color:C.black,border:`1px solid ${C.gray.normal}`,...a?{position:"absolute",top:{xs:`calc(50% - ${16-o}px)`,md:`calc(50% - ${20-o}px)`},[t]:-20-n}:{},zIndex:10,transition:be.transition(),"&:not(disabled)":{...be.hover({background:C.gray.light},!0)},"&:disabled":{background:C.gray.normal,color:C.gray.dark,borderColor:"transparent"},...typeof i=="function"?i(l):i}),onClick:e,disabled:r,children:d.jsx(s,{size:14})})}function Doe({children:e,selectedIdx:t=0,handleNext:r=()=>{},handlePrev:n=()=>{}}){const o=g.useRef(null),i=Nt("mdDown");return g.useEffect(()=>{var s,l;const a=[...((s=o==null?void 0:o.current)==null?void 0:s.querySelectorAll("li"))||[]][t];(l=a==null?void 0:a.scrollIntoView)==null||l.call(a,{block:"nearest",inline:"nearest",behavior:"smooth"})},[t]),d.jsx(Vh,{mt:7,sx:{height:120,"& .container":{lineHeight:1,fontSize:0,whiteSpace:"nowrap"}},children:d.jsxs(G,{sx:{mx:{md:7.5},width:"100%"},position:"relative",children:[!i&&d.jsx(_C,{onClick:n,direction:"left",offsetX:10,offsetY:-10}),d.jsx(G,{ref:o,overflow:"auto",pb:0,width:{xs:"calc(100% + 40px)",md:"100%"},pl:{xs:5,md:0},ml:{xs:-5,md:0},sx:{"&::-webkit-scrollbar":{backgroundColor:"transparent"},"&::-webkit-scrollbar-track":{backgroundColor:"transparent"},"&::-webkit-scrollbar-thumb":{backgroundColor:"transparent"}},children:d.jsx(G,{component:"ul",sx:{display:"flex",gap:2},className:"container",children:e})}),!i&&d.jsx(_C,{onClick:r,direction:"right",offsetX:10,offsetY:-10})]})})}function joe(){const[e,t]=g.useState(0),r=hh(),n=Nt("mdDown"),o=N3(),i=window.navigator.userAgent.indexOf(UA)!==-1||r,a=g.useCallback(()=>{t(l=>l>0?l-1:o.length-1)},[t,o]),s=g.useCallback(()=>{t(l=>l+1>=o.length?0:l+1)},[t,o]);return d.jsxs(G,{component:"section",pt:{xs:12,md:15},itemScope:!0,itemType:"https://schema.org/Service",children:[d.jsx(Ce,{component:"h2",itemProp:"name",variant:n?"h3":"h2",textAlign:"center",px:SC,children:d.jsx(We,{id:"home.types.title"})}),d.jsx(Ce,{variant:n?"body1":"subtitle3",itemProp:"description",fontWeight:600,color:C.gray.text,sx:{mt:2,px:SC},component:"p",textAlign:"center",children:d.jsx(We,{id:"home.types.description",values:{siteName:al}})}),i?o.map((l,c)=>d.jsx(TC,{...l,style:{marginBottom:20}},`mockup-type--${l.name}-${c.toString()}`)):d.jsxs(d.Fragment,{children:[d.jsx(Doe,{selectedIdx:e,handlePrev:a,handleNext:s,children:o.map((l,c)=>d.jsx($oe,{selected:c===e,handleClick:()=>t(c),item:l},`mockup-type--${l.name}-${c.toString()}`))}),d.jsx(TC,{...o[e]})]})]})}function Foe({step:e=1,title:t,text:r,image:n}){return d.jsxs(G,{display:"flex",flexDirection:"column",gap:{xs:3,md:12},position:"relative",width:{xs:"100%",md:"28%"},maxWidth:293,children:[d.jsx(G,{position:"absolute",display:"flex",justifyContent:"center",alignItems:"center",left:0,top:0,width:44,height:44,sx:{background:C.black,borderRadius:"100%"},children:d.jsx(Ce,{variant:"subtitle1",fontWeight:700,color:C.white,children:e})}),d.jsx(G,{children:d.jsx(Ln,{component:"img",src:n,sx:{width:"100%",height:"auto",borderRadius:2},width:"286",height:"122",loading:"lazy"})}),d.jsxs(G,{children:[t&&d.jsx(Ce,{variant:"subtitle3",children:t}),r&&d.jsx(Ce,{variant:"body1",color:C.gray.text,children:r})]})]})}function Boe(){const e=de(),t=Nt("mdDown"),r=[{image:"/images/steps.svg#step1",title:e.formatMessage({id:"home.steps.step1.title"}),text:e.formatMessage({id:"home.steps.step1.text"}),alt:e.formatMessage({id:"home.steps.step1.alt"})},{image:"/images/steps.svg#step2",title:e.formatMessage({id:"home.steps.step2.title"}),text:e.formatMessage({id:"home.steps.step2.text"}),alt:e.formatMessage({id:"home.steps.step2.alt"})},{image:"/images/steps.svg#step3",title:e.formatMessage({id:"home.steps.step3.title"}),text:e.formatMessage({id:"home.steps.step3.text"}),alt:e.formatMessage({id:"home.steps.step3.alt"})}];return d.jsx(G,{component:"section",position:"relative",sx:{pt:{xs:10,md:20},pb:{xs:20,md:35},background:{xs:"linear-gradient(270deg, #F0F0FF 0%, #FFF 70%)",md:"linear-gradient(235deg, #F0F0FF -6.22%, #FFF 54.63%)"}},itemScope:!0,itemType:"https://schema.org/HowTo",children:d.jsxs(Vh,{children:[d.jsx(Ce,{mb:{xs:10,md:24},variant:t?"h3":"h2",component:"h2",fontWeight:400,itemProp:"name",textAlign:"center",children:d.jsx(We,{id:"home.steps.title"})}),d.jsx(yi,{width:"100%",flexDirection:{xs:"column",md:"row"},justifyContent:"space-between",alignItems:{xs:"center",md:"flex-start"},columnGap:"5%",rowGap:18,mb:14,children:r.map((n,o)=>d.jsx(Foe,{step:o+1,...n},o.toString()))}),d.jsx(F2,{sx:{"&&&":{minWidth:160,px:6}},hasArrow:!1,size:"small"})]})})}const Hoe=g.lazy(()=>N(()=>import("./Bottom-C6XkhGur.js"),__vite__mapDeps([51,52,53,54,6,55]))),Uoe=g.lazy(()=>N(()=>import("./index-CQxAId2n.js"),__vite__mapDeps([56,54,57,6,58,53])));function zoe(){const e=ioe(),t=aoe(),r=iY(),n=de();soe();const o=t.reduce((l,c)=>c.items?[...l,...c.items]:l,[]),i=[...e,...o],a={...r,image:L9(sY)},s=s2("FAQPage",{mainEntity:i.map(l=>{const c=Tw(l==null?void 0:l.title,""),u=Tw(l==null?void 0:l.text);return{"@type":"Question",name:c,acceptedAnswer:{"@type":"Answer",text:u||(l.list||[]).join()}}})});return d.jsxs(oY,{withAccountModal:!0,children:[d.jsx(Su,{defer:!1,children:d.jsx("meta",{name:"description",content:n.formatMessage({id:"home.metaDescription"})})}),!!(i!=null&&i.length)&&d.jsx(gv,{data:s}),d.jsx(gv,{data:a}),d.jsx(CY,{}),d.jsxs("main",{children:[d.jsx(eoe,{}),d.jsx(Boe,{}),d.jsx(joe,{}),d.jsx(noe,{}),d.jsx(g.Suspense,{fallback:null,children:d.jsx(Hoe,{})})]}),d.jsx(g.Suspense,{fallback:null,children:d.jsx(Uoe,{hasTop:!1})})]})}class Voe extends x1{get(t){return this.call({url:`/api/qr/${t}`})}getPreviewInfo(t,r){return this.call({url:`/api/qr/uri/${t}`,data:{accessPassword:r},method:"POST"})}async exportFeedbacks(t,r){return(await this.call({url:`/api/qr/feedback/${t}/export`,params:r,completeResponse:!0})).blob()}}const Woe=new Voe,De="https://fonts.googleapis.com",pc=[{id:0,value:"lato",text:"Lato",familyName:"Lato, sans-serif",url:""},{id:1,value:"open-sans",text:"Open Sans",url:`${De}/css2?family=Open+Sans:wght@300;400;600;700&display=swap`,familyName:"'Open Sans', sans-serif"},{id:2,value:"roboto",text:"Roboto",url:`${De}/css2?family=Roboto:wght@300;400;700&display=swap`,familyName:"'Roboto', sans-serif"},{id:3,value:"oswald",text:"Oswald",url:`${De}/css2?family=Oswald:wght@300;400;600;700&display=swap`,familyName:"'Oswald', sans-serif"},{id:4,value:"monserrat",text:"Montserrat",url:`${De}/css2?family=Montserrat:wght@300;400;600;700&display=swap`,familyName:"'Montserrat', sans-serif"},{id:5,value:"source-sans-pro",text:"Source Sans Pro",url:`${De}/css2?family=Source+Sans+Pro:wght@300;400;600;700&display=swap`,familyName:"'Source Sans Pro', sans-serif"},{id:6,value:"slabo-27",text:"Slabo 27px",url:`${De}/css2?family=Slabo+27px&display=swap`,familyName:"'Slabo 27px', serif"},{id:7,value:"raleway",text:"Raleway",url:`${De}/css2?family=Raleway:wght@300;400;600;700&display=swap`,familyName:"'Raleway', sans-serif"},{id:8,value:"merriweather",text:"Merriweather",url:`${De}/css2?family=Merriweather:wght@300;400;700&display=swap`,familyName:"'Merriweather', serif"},{id:9,value:"noto-sans",text:"Noto Sans",url:`${De}/css2?family=Noto+Sans:wght@300;400;600;700&display=swap`,familyName:"'Noto Sans', sans-serif"},{id:10,value:"concert-one",text:"Concert One",url:`${De}/css2?family=Concert+One&display=swap`,familyName:"'Concert One', cursive"},{id:11,value:"inconsolata",text:"Inconsolata",url:`${De}/css2?family=Inconsolata:wght@300;400;600;700&display=swap`,familyName:"'Inconsolata', monospace"},{id:12,value:"dancing-script",text:"Dancing Script",url:`${De}/css2?family=Dancing+Script:wght@400;500;600;700&display=swap`,familyName:"'Dancing Script', cursive"},{id:13,value:"barlow",text:"Barlow",url:`${De}/css2?family=Barlow:wght@400;600;700&display=swap`,familyName:"Barlow, sans-serif"},{id:14,value:"comfortaa",text:"Comfortaa",url:`${De}/css2?family=Comfortaa:wght@400;600;700&display=swap`,familyName:"Comfortaa, cursive"},{id:15,value:"crimson-text",text:"Crimson Text",url:`${De}/css2?family=Crimson+Text:wght@400;600;700&display=swap`,familyName:"Crimson Text, serif"},{id:16,value:"eb-garamond",text:"EB Garamond",url:`${De}/css2?family=EB+Garamond:wght@400;600;700&display=swap`,familyName:"EB Garamond, serif"},{id:17,value:"fira-sans",text:"Fira Sans",url:`${De}/css2?family=Fira+Sans:wght@400;600;700&display=swap`,familyName:"Fira Sans, sans-serif"},{id:18,value:"josefin-sans",text:"Josefin Sans",url:`${De}/css2?family=Josefin+Sans:wght@400;600;700&display=swap`,familyName:"Josefin Sans, sans-serif"},{id:19,value:"karla",text:"Karla",url:`${De}/css2?family=Karla:ital,wght@0,600;0,700;1,400&display=swap`,familyName:"Karla, sans-serif"},{id:20,value:"manrope",text:"Manrope",url:`${De}/css2?family=Manrope:wght@400;600;700&display=swap`,familyName:"Manrope, sans-serif"},{id:21,value:"mukta",text:"Mukta",url:`${De}/css2?family=Mukta:wght@400;600;700&display=swap`,familyName:"Mukta, sans-serif"},{id:22,value:"prompt",text:"Prompt",url:`${De}/css2?family=Prompt:wght@400;600;700&display=swap`,familyName:"Prompt, sans-serif"},{id:23,value:"pt-serif",text:"PT Serif",url:`${De}/css2?family=PT+Serif:wght@400;700&display=swap`,familyName:"PT Serif, serif"},{id:24,value:"source-code-pro",text:"Source Code Pro",url:`${De}/css2?family=Source+Code+Pro:wght@400;600;700&display=swap`,familyName:"Source Code Pro, monospace"},{id:25,value:"space-grotesk",text:"Space Grotesk",url:`${De}/css2?family=Space+Grotesk:wght@400;600;700&display=swap`,familyName:"Space Grotesk, sans-serif"},{id:26,value:"titillium-web",text:"Titillium Web",url:`${De}/css2?family=Titillium+Web:wght@400;600;700&display=swap`,familyName:"Titillium Web, sans-serif"},{id:27,value:"ubuntu",text:"Ubuntu",url:`${De}/css2?family=Ubuntu:wght@400;500;700&display=swap`,familyName:"Ubuntu, sans-serif"},{id:28,value:"bebas-neue",text:"Bebas Neue",url:`${De}/css2?family=Bebas+Neue:wght@400;500;700&display=swap`,familyName:"Bebas Neue, sans-serif"},{id:29,value:"prompt",text:"Prompt",url:`${De}/css2?family=Prompt:wght@400;500;700&display=swap`,familyName:"Prompt, sans-serif"},{id:30,value:"outfit",text:"Outfit",url:`${De}/css2?family=Outfit:wght@400;500;700&display=swap`,familyName:"Outfit, sans-serif"},{id:31,value:"righteous",text:"Righteous",url:`${De}/css2?family=Righteous:wght@400;500;700&display=swap`,familyName:"Righteous, sans-serif"},{id:32,value:"lobster",text:"Lobster",url:`${De}/css2?family=Lobster:wght@400;500;700&display=swap`,familyName:"Lobster, sans-serif"},{id:33,value:"questrial",text:"Questrial",url:`${De}/css2?family=Questrial:wght@400;500;700&display=swap`,familyName:"Questrial, sans-serif"},{id:34,value:"manjari",text:"Manjari",url:`${De}/css2?family=Manjari:wght@400;500;700&display=swap`,familyName:"Manjari, sans-serif"},{id:35,value:"capriola",text:"Capriola",url:`${De}/css2?family=Capriola:wght@400;500;700&display=swap`,familyName:"Capriola, sans-serif"}],AC="lato",Ale={title:AC,text:AC},kC=(e,t)=>({fontFamily:t[e]||"inherit"}),Goe=e=>pc.find(t=>t.value===e)||{},kle=(e={})=>({"& *:not(h1)":kC("text",e),"& h1, & .title-font":kC("title",e)}),qoe=e=>{if(!e){const t=(pc==null?void 0:pc[0])||{};return{title:t.familyName,text:t.familyName}}return Object.entries(e).reduce((t,[r,n])=>({...t,[r]:Goe(n).familyName}),{})},Qoe=e=>{if(!e||!e.fonts)return[];const{fonts:t={}}=e;return Object.values(t).filter((r,n,o)=>o.indexOf(r)===n).map(r=>{const n=pc.find(o=>o.value===r);return n==null?void 0:n.url}).filter(Boolean)};function Yoe(e,t){return typeof e!="string"?e==null?void 0:e.base64:e.startsWith("blob")||e.startsWith("/src")||e.includes("/assets")?e:y2.getImageUrl(e,t)||e}function Ile(e){if(e!=null&&e.url)return[e.url,""];const t="https://www.google.com/maps/place/";if(e!=null&&e.latitude&&(e!=null&&e.longitude)){const{latitude:r,longitude:n}=e;return[`https://www.google.com/maps/search/?api=1&query=${r},${n}`,""]}if(e!=null&&e.street){let r="",n="";const o=e.street.trim().replace(/ /g,"+");if(r+=o,n+=e.street.trim(),e.number){const i=e.number.trim();r=e.streetNumberFirst?`${i}+${r}`:`${r}+${i}`,n=e.streetNumberFirst?` ${i} ${n}`:`${n} ${i}`}if(r=`${t}${r}`,e.postalCode&&!e.streetNumberFirst){const i=e.postalCode.trim();n+=`, ${i}`}if(e.city){const i=e.city.trim().replace(/ /g,"+");r+=`,+${i}`,n+=`, ${e.city.trim()}`}if(e.state){const i=e.state.trim().replace(/ /g,"+");r+=`,+${i}`,n+=`, ${e.state.trim()}`}if(e.postalCode&&e.streetNumberFirst){const i=e.postalCode.trim();n+=`, ${i}`}if(e.country){const i=e.country.trim().replace(/ /g,"+");r+=`,+${i}`,n+=`, ${e.country.trim()}`}return[r,n]}return["",""]}const Mle={getFontColor:Zp,getLightColor:zte,getFontsColors({colors:e,bgColor:t,tolerance:r,fallback:n}){const o=Zp(t,r);return{fontColor:o,titleColor:(e==null?void 0:e.title)||o||n||"#000",textColor:(e==null?void 0:e.text)||o||n||"#000"}},removeUriProtocol(e){return e.replace(/(^\w+:|^)\/\//,"")},xor(e,t){return e?!t:!!t}},fc={LoaderContainer:Ee("div")({background:"white",position:"absolute",top:0,left:0,width:"100%",height:"100vh",zIndex:10,display:"flex",flexDirection:"column",alignItems:"center",overflow:"hidden"},"Preview-Loader__Container"),ImgWrapper:Ee("div")({height:"calc(100% - 4px)",width:"100%",display:"flex",alignItems:"center",justifyContent:"center","& img":{width:"80%",maxWidth:"600px"}},"Preview-Loader__Wrapper"),LinearProgress:Ze({root:{width:"100%"}},"Preview-Loader__Progress")(mI)},Koe=({image:e,timeout:t,onTransitionEnd:r})=>{g.useEffect(()=>{setTimeout(()=>{r(!0)},t)},[]);let n="";return e&&(n=Yoe(e)),d.jsxs(fc.LoaderContainer,{children:[d.jsx(fc.LinearProgress,{}),d.jsx(fc.ImgWrapper,{children:d.jsx(o3,{direction:"up",in:!0,timeout:t,children:d.jsx("img",{src:n,alt:"Img loader"})})})]})},$v=()=>d.jsx(fc.LoaderContainer,{children:d.jsx(fc.LinearProgress,{})}),Zoe=g.lazy(()=>N(()=>import("./index-TCNvE7yS.js"),__vite__mapDeps([59,60,61,62,63,64]))),Xoe=g.lazy(()=>N(()=>import("./index-By3YsMCi.js"),__vite__mapDeps([65,66,61,62,67,68,69,70,71,6,72,73,57,74,50,60,75,76,77,78,11,15,79,49,80,81,82]))),Joe=g.lazy(()=>N(()=>import("./index-Bf-WDzrx.js"),__vite__mapDeps([83,60,61,62,63,6,84,85,86,15,87,88,7,8,9,5,10,79,11,50,49,16,17,24,25,12,13,70,89]))),eie=g.lazy(()=>N(()=>import("./index-DQxz4jZ2.js"),__vite__mapDeps([90,61,62,60,63,91,92,6]))),tie=g.lazy(()=>N(()=>import("./index-BnjfWyRG.js"),__vite__mapDeps([93,60,61,62,63,91,94,53,50,55]))),rie=g.lazy(()=>N(()=>import("./index-aOZYKmZK.js"),__vite__mapDeps([95,96,60,61,62,75,76,97,5,6,98,99,80,78,11,15,79,50,49,100,94,53,63,91,55,77]))),nie=g.lazy(()=>N(()=>import("./index-B-S8bQoF.js"),__vite__mapDeps([101,96,61,62,71,6,98,60,102,20,80,78,11,15,79,50,49,94,53,63,91,55,75,76,100,103,104,105,64,106,17]))),oie=g.lazy(()=>N(()=>import("./index-DTA_s1vl.js"),__vite__mapDeps([107,108,96,61,62,109,105,64,60,94,53,50,63,91,55]))),Pg=g.lazy(()=>N(()=>import("./index-CJp7dTki.js"),__vite__mapDeps([110,85,86,15,87,88,7,8,6,9,5,10,79,11,50,49,16,17,24,25,12,13,70]))),iie=g.lazy(()=>N(()=>import("./index-C5ezx4wX.js"),__vite__mapDeps([111,60,61,62,64,6]))),aie=g.lazy(()=>N(()=>import("./index-Bt0uvpgm.js"),__vite__mapDeps([112,60,61,62,81,113]))),sie=g.lazy(()=>N(()=>import("./index-BPKnrGTT.js"),__vite__mapDeps([114,115,116,60,61,62,64,6,117,118,5,7,8,9,10,11,12,13]))),lie=g.lazy(()=>N(()=>import("./index-B-aBrXKY.js"),__vite__mapDeps([119,61,62,6]))),cie=g.lazy(()=>N(()=>import("./index-Dv9j-ep1.js"),__vite__mapDeps([120,80,78,11,6,15,79,50,49,121,61,62,87]))),uie=g.lazy(()=>N(()=>import("./index-tnazCXSP.js"),[])),die=g.lazy(()=>N(()=>import("./index-CvWu6PIn.js"),__vite__mapDeps([122,96,60,61,62,100,98,6,102,20,80,78,11,15,79,50,49]))),pie=g.lazy(()=>N(()=>import("./index-DGijHKv5.js"),__vite__mapDeps([123,124]))),fie=g.lazy(()=>N(()=>import("./index-C4yAAQlT.js"),__vite__mapDeps([125,60,61,62,97,5,6,98,77]))),hie=g.lazy(()=>N(()=>import("./index-DS7hY5Wr.js"),__vite__mapDeps([126,124]))),mie=g.lazy(()=>N(()=>import("./index-BFEe8nfO.js"),__vite__mapDeps([127,124]))),gie=g.lazy(()=>N(()=>import("./index-BtXYESlo.js"),__vite__mapDeps([128,108,96,61,62,109,60,6,76,94,53,50,63,91,55]))),vie=g.lazy(()=>N(()=>import("./index-BoJ2rHRg.js"),__vite__mapDeps([129,68,69,130,61,62,63,64]))),yie={[W.app]:Zoe,[W.menu]:Xoe,[W.pdf]:Joe,[W.video]:eie,[W.images]:tie,[W.vcardPlus]:rie,[W.business]:nie,[W.linkList]:oie,[W.url]:Pg,[W.staticUrl]:Pg,[W.mp3]:iie,[W.coupon]:aie,[W.feedback]:sie,[W.playlist]:lie,[W.landing]:cie,[W.text]:uie,[W.event]:die,[W.email]:pie,[W.vcard]:fie,[W.sms]:hie,[W.whatsapp]:mie,[W.barcode]:Pg,[W.social]:gie,[W.product]:vie},bie=g.createContext({fonts:{}});function xie(e){const t=document.createElement("script");t.src=`https://www.googletagmanager.com/gtag/js?id=${e}`,t.async=!0,t.onload=()=>{window.dataLayer=window.dataLayer||[];function r(){window.dataLayer.push(arguments)}r("js",new Date),r("config",e)},document.body.appendChild(t)}function wie(e){const t=document.createElement("script");t.src="https://connect.facebook.net/en_US/fbevents.js",t.async=!0,t.onload=()=>{if(window.fbq=window.fbq||function(){window.fbq.callMethod?window.fbq.callMethod.apply(window.fbq,arguments):window.fbq.queue.push(arguments)},!window.fbq.loaded){const{fbq:r}=window;r.push=r,r.loaded=!0,r.version="2.0",r.queue=[]}window.fbq("init",e),window.fbq("track","PageView")},document.body.appendChild(t)}function Sie(e){window.dataLayer=window.dataLayer||[],window.dataLayer.push({"gtm.start":new Date().getTime(),event:"gtm.js"});const t=document.createElement("script");t.async=!0,t.src=`https://www.googletagmanager.com/gtm.js?id=${e}`,document.body.appendChild(t)}function Eie(e){if(e.type===W.url||e.type===W.pdf&&e.data.directPdfLink)return;const t=e.googleTagManagerId||e.userGoogleTagManagerId,r=e.googleAnalyticsId||e.userGoogleAnalyticsId,n=e.facebookPixelId||e.userFacebookPixelId;t&&Sie(t),r&&xie(r),n&&wie(n)}const VM=()=>window.navigator.language.substring(0,2),Ple=(e,t)=>{var s,l;if(!e)return"";const{multilanguage:r=!1,languages:n={},defaultLanguage:o=t}=e,i=VM();let{url:a}=e;return r&&n&&(a=((s=n[i])==null?void 0:s.url)||((l=n[o])==null?void 0:l.url)),a||""},Ole=(e={})=>{const t=VM(),{languages:r,defaultLanguage:n,multilanguage:o}=e;if(!r||!Object.keys(r).length||!o)return e;const i=r[t]||r[n];return{...e,...i}};function Cie(e){if(!e||!e.schedule)return!1;const t=i=>wt.unix(i),r=e.schedule.from?t(e.schedule.from):void 0,n=e.schedule.to?t(e.schedule.to):void 0,o=wt();return r&&o.diff(r,"minute",!0)<0||n&&o.diff(n,"minute",!0)>=0}const Tie=g.lazy(()=>N(()=>import("./index-V0MYCHU4.js"),[])),Rie=g.lazy(()=>N(()=>import("./index-CNvoYFRm.js"),__vite__mapDeps([131,132]))),_ie=g.lazy(()=>N(()=>import("./index-Dey-s5lP.js"),__vite__mapDeps([133,132]))),Aie=g.lazy(()=>N(()=>import("./TemporalQrAlert-D9AKjWPh.js"),__vite__mapDeps([134,25,6,26]))),kie=g.lazy(()=>N(()=>import("./index-CFZu730W.js"),__vite__mapDeps([23,24,25,6,26]))),IC=document.getElementById("ios-header-color"),Iie="qrfy.com";function MC(){return new URLSearchParams(Nr().search)}const Og={invalid_schedule:"invalid-schedule"};function PC(){window.location.href=Q.previewError.replace(":type","invalid-schedule")}function Mie({isPrivate:e,qrData:t}){const{uri:r}=_A(),n=Ru(),o=No(),i=r||n.get("uri"),[a,s]=g.useState(""),[l,c]=g.useState(null),[u,p]=g.useState(""),[f,m]=g.useState(null),[v,h]=g.useState(null),[x,y]=g.useState(null),[b,w]=g.useState(null),[S,T]=g.useState(!1),[R,E]=g.useState(!1),[A,P]=g.useState(""),[M,O]=g.useState(null),[F,I]=g.useState({}),D=Qoe(l),$=i==="builder-mode",j=MC().get("crm")==="true",[H,k]=g.useState(MC().get("required_password")==="true"),[L,B]=g.useState(!0),[z,V]=g.useState(!!(l&&l.preview)),K=async he=>{var ae,Re,pe,Ae,Me;try{if(i==="not-found")return h(!0);if(["invalid","limit-reached","invalid-schedule"].includes(i))return y(!0);if(!$){const Oe=he||await Woe.getPreviewInfo(i);if(!Oe.accessPassword&&[W.url,W.barcode].includes(Oe.type))return h(!0);Cie(Oe)&&PC();const Ke=Oe.tmp===1&&!f.user;T(Ke),E(Ke),Oe.type===W.menu&&(Oe.data.languages=iF(Oe.data.languages)),Oe.data.preview&&(B(!1),V(!0)),Oe.iosHeaderColor&&IC.setAttribute("content",Oe.iosHeaderColor),c(Oe.data),s(Oe.type),O(Oe.id),p(Oe.dns||""),m(Oe),Eie(Oe)}}catch(Oe){const Ke=((Re=(ae=Oe.response)==null?void 0:ae.data)==null?void 0:Re.errorCode)||((pe=Oe.data)==null?void 0:pe.errorCode);["invalid","blocked","invalid_schedule"].includes(Ke)?(y(!0),w((Og==null?void 0:Og[Ke])||Ke)):((Me=(Ae=Oe.response)==null?void 0:Ae.data)==null?void 0:Me.errorCode)==="qr_access_password_invalid"?k(!0):h(!0)}};g.useEffect(()=>{if(!H){if(!$&&!e&&window.location.host===Iie)return o.replace("/not-found");if(e&&!i)return h(!0);K(t)}},[]),g.useEffect(()=>()=>IC.setAttribute("content","#1D59F9"),[]);const q=he=>{const{messageType:ae}=he.data;if(ae==="PREVIEW_UPDATE"){const{content:Re,type:pe}=he.data;c(Re),s(pe)}ae==="SHOW_WELCOME_SCREEN"&&!z&&V(!0),ae==="PREVIEW_DATA"&&I(he.data.content)};if(g.useEffect(()=>($&&(window.addEventListener("message",q,!1),window.parent.postMessage({messageType:"PREVIEW_LOADED"},"*")),()=>{window.removeEventListener("message",q,!1)}),[$]),H&&!l&&!x)return d.jsx(Tie,{uri:i,onReceivedQrInfo:(he,ae)=>{P(ae),K(he)},onQrInfoError:he=>{var Re,pe,Ae;const ae=((pe=(Re=he.response)==null?void 0:Re.data)==null?void 0:pe.errorCode)||((Ae=he.data)==null?void 0:Ae.errorCode);return["invalid","blocked","invalid_schedule"].includes(ae)?(PC(),!1):!0}});if(v)return d.jsx(g.Suspense,{fallback:d.jsx($v,{}),children:d.jsx(Rie,{})});if(x)return d.jsx(g.Suspense,{fallback:d.jsx($v,{}),children:d.jsx(_ie,{type:b})});if(!a)return null;const te=yie[a],Y=z||!L,se=()=>E(!1),oe=qoe(l.fonts);let ie=u;return u&&!u.match(/https?:\/\//)&&(ie=`https://${u}`),d.jsxs(bie.Provider,{value:{...l,fonts:oe,qr:f,password:A},children:[i&&d.jsx(Su,{children:D&&D.map((he,ae)=>d.jsx("link",{href:he,rel:"stylesheet"},`Preview-fontsToInclude--${ae.toString()}`))}),S&&d.jsx(Aie,{open:R,onClose:se}),Y&&d.jsx(Koe,{image:l.preview,timeout:(l==null?void 0:l.previewTime)||2500,onTransitionEnd:()=>{B(!0),$&&V(!1)}}),d.jsx(g.Suspense,{fallback:null,children:d.jsx(te,{uri:i,dns:ie,data:l,qrId:M,inPreview:Y,onLoad:()=>{$||V(!1)},builderMode:$,crmMode:j,fonts:oe,password:A,previewData:F,setPreviewData:I,isPrivate:e})}),d.jsx(g.Suspense,{fallback:null,children:d.jsx(kie,{})})]})}const Pie=g.lazy(()=>N(()=>import("./index-CNvoYFRm.js"),__vite__mapDeps([131,132]))),Oie=g.lazy(()=>N(()=>import("./index-Dey-s5lP.js"),__vite__mapDeps([133,132])));function Lie(){const{type:e}=_A(),t=["invalid","limit-reached","invalid-schedule"].includes(e);return d.jsx(g.Suspense,{fallback:d.jsx($v,{}),children:t?d.jsx(Oie,{type:e}):d.jsx(Pie,{})})}const OC="https://qrfy.com/QRFY_logo.svg",Nie=()=>{const e=de();return s2("OnlineBusiness",{name:"QR Code Generator PRO",legalName:"QR Code Generator PRO S.L",description:e.formatMessage({id:"builder.metaDescription"}),email:G0,url:Mp,logo:OC,image:OC,address:{"@type":"PostalAddress",streetAddress:"Av. Cerdanyola, 75 - 1º",addressLocality:"Sant Cugat del Vallés",addressRegion:"Barcelona",postalCode:"08172",addressCountry:"ES"},paymentAccepted:e.formatMessage({id:"metadata.paymentAccepted"}),currenciesAccepted:"EUR",brand:{"@type":"Brand",name:al,url:Mp},contactPoint:{"@type":"ContactPoint",contactType:e.formatMessage({id:"common.supportTeam"}),telephone:$A,email:G0},sameAs:FA.map(t=>t.url),slogan:e.formatMessage({id:"home.title"}),keywords:e.formatMessage({id:"builder.metaKeywords"}),taxID:BA,vatID:HA})};function $ie(e){const t="=".repeat((4-e.length%4)%4),r=(e+t).replace(/-/g,"+").replace(/_/g,"/"),n=window.atob(r),o=new Uint8Array(n.length);for(let i=0;i<n.length;++i)o[i]=n.charCodeAt(i);return o}function Die(e){return e.pushManager.subscribe({userVisibleOnly:!0,applicationServerKey:$ie("BLPBecM0P8SAiJKZHdfXjFTXeULSsnrNrD0sbC2InGLDAfa4xf1xHKPNosyXQC4a3DCIrdKRdbeZpGe6XN48U78")})}function jie(){return new Promise((e,t)=>{const r=Notification.requestPermission(n=>{e(n)});r&&r.then(e,t)})}async function Fie(e){if(await jie()!=="granted")return;const r=await Die(e);await Hc.savePushSubscription(r)}function Bie(){return navigator.serviceWorker.register("/static/js/worker.js?v=1")}function Hie(){const e=it(a=>a.user.loggedIn),t=it(a=>a.user.user),r=!!vo(Q.dashboard),[n,o]=g.useState(null),i=Oo();g.useEffect(()=>{!e||!navigator.serviceWorker||!window.PushManager||t.parentAccount||(async()=>{try{const a=await Bie();o(a)}catch(a){console.error(a)}})()},[e]),g.useEffect(()=>{!e||!n||!r||t.subscriptionStatus!=="trialing"||t.pushNotificationsEnabled||(async()=>{try{await Fie(n),i(Lt.setPushNotificationsEnabled(!0))}catch(a){console.error(a)}})()},[r,n,e])}function Uie(){const e=de(),{translationsReady:t,localeRendered:r}=Ea(n=>({translationsReady:n.user.translationsReady,localeRendered:n.user.localeRendered}));return g.useEffect(()=>{t&&(document.body.dataset.helmetReady="",document.body.dataset.locale=r)},[t,r]),d.jsxs(Su,{defer:!1,children:[d.jsx("meta",{property:"og:title",content:e.formatMessage({id:"metadata.title"})}),d.jsx("meta",{property:"og:description",content:e.formatMessage({id:"metadata.description"})}),d.jsx("meta",{property:"twitter:title",content:e.formatMessage({id:"metadata.title"})}),d.jsx("meta",{property:"twitter:description",content:e.formatMessage({id:"metadata.description"})})]})}function zie({error:e}){const t=/Loading chunk [\d]+ failed/,r=(e==null?void 0:e.message)&&t.test(e.message),n=!r&&!!(e!=null&&e.message);return d.jsxs("div",{style:{width:"100vw",height:"100vh",padding:20,display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},children:[d.jsx(At,{icon:{viewSize:"0 0 140 140",parts:[{type:"circle",props:{cx:"70",cy:"70",r:"70",fill:"#e5e7ef"}},{type:"path",props:{fill:"#fff",d:"M90.45,62.73q-.6,0-1.2.06a19.33,19.33,0,0,0,.3-3.24,19.54,19.54,0,0,0-39-2.24A16.35,16.35,0,0,0,51.36,90H90.45a13.64,13.64,0,1,0,0-27.27Z"}},{type:"path",props:{d:"M90.45,61.73h0a20.84,20.84,0,0,0,.13-2.18,20.54,20.54,0,0,0-40.84-3.18A17.35,17.35,0,0,0,51.36,91H90.45a14.64,14.64,0,1,0,0-29.27Zm0,27.27H51.36a15.35,15.35,0,0,1-.72-30.69l.85,0,.09-.85a18.55,18.55,0,0,1,37,2.13,18.13,18.13,0,0,1-.28,3.07l-.21,1.28,1.28-.12c.37,0,.74-.05,1.11-.05a12.64,12.64,0,1,1,0,25.27Z"}},{type:"polygon",props:{points:"72.88 65.59 69.55 68.92 66.21 65.59 63.38 68.41 66.72 71.75 63.38 75.09 66.21 77.91 69.55 74.58 72.88 77.91 75.71 75.09 72.37 71.75 75.71 68.41 72.88 65.59"}},{type:"path",props:{d:"M64.86,46.52a.58.58,0,0,0,.18,0,14.22,14.22,0,0,1,5.21-1,.5.5,0,0,0,0-1,15.1,15.1,0,0,0-5.57,1,.49.49,0,0,0-.28.65A.48.48,0,0,0,64.86,46.52Z"}},{type:"path",props:{d:"M61.82,47A15.33,15.33,0,0,0,55,58.82a.49.49,0,0,0,.47.53h0a.5.5,0,0,0,.5-.47,14.29,14.29,0,0,1,6.34-11,.51.51,0,0,0,.14-.7A.5.5,0,0,0,61.82,47Z"}}]},size:100,style:{marginBottom:20}}),d.jsx("p",{style:{textAlign:"center",fontSize:18,marginBottom:n?18:40},children:r?d.jsx(We,{id:"common.errors.chunkFailed"}):d.jsx(We,{id:"common.errors.generic"})}),n&&d.jsx("pre",{style:{textAlign:"center",marginTop:0,marginBottom:40,color:"#999",fontSize:12,width:"100%",whiteSpace:"normal"},children:e==null?void 0:e.message}),d.jsx(qt,{onClick:()=>{window.location.href=`?v=${Date.now()}`},children:d.jsx(We,{id:"common.update"})})]})}function Vie({loggedIn:e,matchLang:t}){const r=vo(`${t}${Q.account}`),n=E1(),o=Nr(),i=No(),a=it(l=>l.user.accountModalSection),s=Oo();return g.useEffect(()=>{var l;if(!e)n.clear();else if(sh(o.pathname)||r){const c=window.localStorage.getItem(Wp),p=(/register/.test(o.pathname)||a==="create")&&!c?Q.builder:Q.dashboard;i.replace(((l=o.state)==null?void 0:l.from)||p),s(Lt.closeAccountModal())}},[e,o]),null}const Wie=g.lazy(()=>ze(()=>N(()=>import("./PrivatePreview-DzUiOHnJ.js"),[]))),Gie=g.lazy(()=>ze(()=>N(()=>import("./index-B1kmcG2u.js"),__vite__mapDeps([135,136,137,56,54,57,6,58,53,17,8,138])))),qie=g.lazy(()=>ze(()=>N(()=>import("./index-CPbJsjEJ.js"),__vite__mapDeps([139,140,141,116,142,69,6,143])))),Qie=g.lazy(()=>ze(()=>N(()=>import("./index-DP1zqGdW.js"),__vite__mapDeps([144,145,146,141,116,69,6,140,142,143])))),Yie=g.lazy(()=>ze(()=>N(()=>import("./index-JW5TAnct.js"),__vite__mapDeps([147,145])))),Kie=g.lazy(()=>ze(()=>N(()=>import("./index-C1pWrden.js"),__vite__mapDeps([148,145,149,143,146,141,116,69,6])))),Zie=g.lazy(()=>ze(()=>N(()=>import("./index-Buo-6ZgG.js"),__vite__mapDeps([150,151])))),Xie=g.lazy(()=>ze(()=>N(()=>import("./index-B3Lesy89.js").then(e=>e.i),__vite__mapDeps([152,151,149])))),Jie=g.lazy(()=>ze(()=>N(()=>import("./index-C6vd6p3g.js"),[]))),eae=g.lazy(()=>ze(()=>N(()=>import("./index-CSvEuuNY.js"),__vite__mapDeps([153,136,137,56,54,57,6,58,53,17,154,155,156])))),tae=g.lazy(()=>ze(()=>N(()=>import("./index-DgkeYw3A.js"),__vite__mapDeps([157,136,137,56,54,57,6,58,53,17,154])))),rae=g.lazy(()=>ze(()=>N(()=>import("./index-CoMHqX8E.js"),__vite__mapDeps([158,136,137,56,54,57,6,58,53,17,154])))),nae=g.lazy(()=>ze(()=>N(()=>import("./index-vS3_sVcY.js"),__vite__mapDeps([159,21,22,23,24,25,6,26,136,137,56,54,57,58,53,17,160,36])))),oae=g.lazy(()=>ze(()=>N(()=>import("./index-Bhjc_aKF.js"),__vite__mapDeps([161,136,137,56,54,57,6,58,53,17,154])))),iae=g.lazy(()=>ze(()=>N(()=>import("./index-DN48x543.js"),__vite__mapDeps([162,136,137,56,54,57,6,58,53,17,163,164,52])))),aae=g.lazy(()=>ze(()=>N(()=>import("./index-CHJlPNYX.js"),__vite__mapDeps([165,136,137,56,54,57,6,58,53,17])))),sae=g.lazy(()=>ze(()=>N(()=>import("./index-DJW2DJCD.js"),__vite__mapDeps([166,44,13,9,45])))),LC=g.lazy(()=>ze(()=>N(()=>import("./index-BhqYBTpo.js"),__vite__mapDeps([167,115,168,169,7,8,6,9,5,10,170,1,86,15,87,88,79,11,50,49,16,17,24,25,12,13,85,70,171,137,172,23,26,173,47,45,174,44,142,141,116,69,175,103,104,176,177,178,179,180,181,182,183,184,185,123,124,186,126,187,127,188,74,118,66,189,57,190,191,192,19,193,194,195,196,96,78,156,84,197,198,92,68,73,199,200,99,102,108,201,202,117,82,130,30,31,32,33,34,35,36,37,38,39,40,41,42])))),lae=g.lazy(()=>ze(()=>N(()=>import("./index-Ck-MtiT6.js"),__vite__mapDeps([203,136,137,56,54,57,6,58,53,17,113,14,36,160])))),cae=g.lazy(()=>ze(()=>N(()=>import("./index-CxyyH1Pr.js"),__vite__mapDeps([204,115,205,194,7,8,6,9,5,10,206,195,193,11,88,12,13,207,208,62,44,45,155,209,74,15,4,14,16,17,18,19,20,22,23,24,25,26,28,29,210,211,168,169,174,170,1,212,106,197,198,200,66,189,191,72,82,213,214])))),uae=g.lazy(()=>ze(()=>N(()=>import("./index-tFUSUbAF.js"),__vite__mapDeps([215,4,5,6,7,8,9,10,11,12,13,14,16,17,18,19,20,22,23,24,25,26,28,29,115,174,168,169,86,15,87,88,79,50,49,173,47,45,190,44,197,198,211,210])))),dae=g.lazy(()=>ze(()=>N(()=>import("./index-C8B__6Fy.js"),__vite__mapDeps([216,115,168,169,7,8,6,9,5,10,196,205,194,206,195,4,11,12,13,14,16,17,18,19,20,22,23,24,25,26,28,29,82,189,88])))),pae=g.lazy(()=>ze(()=>N(()=>import("./index-Fxb6Cq1l.js"),__vite__mapDeps([217,115,207,208,194,206,62,7,8,6,9,5,10,44,13,45,155,209,74,15,205,195,4,11,12,14,16,17,18,19,20,22,23,24,25,26,28,29,210,211,201,202,88,218,219,82,87,60,220,118,67,197,198,50,106])))),fae=g.lazy(()=>ze(()=>N(()=>import("./index-DqeIp3Ir.js"),__vite__mapDeps([221,115,208,194,206,62,7,8,6,9,5,10,218,155,202,26,88,219,82,211,87,60,170,1,4,11,12,13,14,16,17,18,19,20,22,23,24,25,28,29,138,198,220,213,212])))),hae=g.lazy(()=>ze(()=>N(()=>import("./index-ClOqmjof.js"),__vite__mapDeps([222,170,1,4,5,6,7,8,9,10,11,12,13,14,16,17,18,19,20,22,23,24,25,26,28,29,223,220,87,31,37,57,192,44,45,200,199])))),mae=g.lazy(()=>ze(()=>N(()=>import("./index-Bb8ORmFE.js"),__vite__mapDeps([224,115,193,194,195,7,8,6,9,5,10,11,88,12,13,170,1,4,14,16,17,18,19,20,22,23,24,25,26,28,29,106,189,209,74,72,82,214,200,33,210,212])))),gae=g.lazy(()=>ze(()=>N(()=>import("./index-DvAeKjFr.js"),__vite__mapDeps([225,115,164,170,1,4,5,6,7,8,9,10,11,12,13,14,16,17,18,19,20,22,23,24,25,26,28,29,82,137,226,58,200,3,15,163,189,199,155,223,220,87,31,219,211,212])))),vae=g.lazy(()=>ze(()=>N(()=>import("./index-CKEnxa8e.js"),__vite__mapDeps([227,115,137,164,170,1,25,6,16,17,29,3,4,5,7,8,9,10,11,12,13,14,15,21,22,23,24,26,226,58,200,223,220,87,31,171])))),yae=g.lazy(()=>ze(()=>N(()=>import("./index-B8fM-xFJ.js"),__vite__mapDeps([228,131,132,133])))),NC=g.lazy(()=>ze(()=>N(()=>import("./index-CVsBAJWH.js"),__vite__mapDeps([229,30,31,32,6,25,33,34,35,36,37,38,39,40,41,42,53,55])))),bae=g.lazy(()=>ze(()=>N(()=>import("./index-CTvqYOaO.js"),__vite__mapDeps([230,56,54,57,6,58,53,87])))),xae=g.lazy(()=>ze(()=>N(()=>import("./index-CYF0EgRe.js"),__vite__mapDeps([231,115,170,1,86,15,87,88,7,8,6,9,5,10,79,11,50,49,16,17,24,25,169,12,13,172,23,26,173,47,45,174,44,142,141,116,69,175,103,104,176,177,178,179,180,181,182,183,184,185,123,124,186,126,187,127,188,74,118,66,189,193,194,195])))),wae=g.lazy(()=>ze(()=>N(()=>import("./index-DjWPQ9_q.js"),__vite__mapDeps([232,136,137,56,54,57,6,58,53,17])))),Xe=`/:lang(${ko.join("|")})?`,Sae=h9();function Eae({locale:e}){const t=Nr(),[r,n]=g.useState(!1),o=de(),i=Nie(),{pathname:a}=t,s=vo([Q.preview,Q.secondaryPreview,Q.redirect,Q.qrPreview,Q.previewError]),l=vo([`${Xe}${Q.account}`,`${Xe}${Q.changePassword}`,`${Xe}${Q.apiDocs}`,Q.privatePreview]),c=/\/(not-found|invalid|invalid-schedule)$/.test(a),u=vo([Q.preview,Q.secondaryPreview,Q.redirect,Q.qrPreview,Q.privatePrivew])||c||r,p=vo([Q.qrForBusinessInternal,Q.qrInternal,Q.qrCodesOnInternal]),f=vo([Q.qrTypes,Q.qrInternal])||/\/qr-types|\/qr-for-business\/[^/]*$/.test(a)||sh(t.pathname),m=vo(Sae.map(T=>`${Xe}${T}`)),v=Oo(),h=No(),x=it(T=>T.user.translationsReady),y=it(T=>T.user.loggedIn),b=async()=>{await lh(v)};Hie(),g.useEffect(()=>{!s&&(y||m)&&b();const T=a.match(`^/(${ko.join("|")})/`);if(m&&(T!=null&&T.length)){const E=a.replace(T[0],"/");h.replace(E)}const R=h.listen(E=>{const A=Eu(E.pathname);A&&v(Lt.setLocale(A))});return()=>{R()}},[]),g.useEffect(()=>{document.body.dataset.siteId="qrfy";const T=new ResizeObserver(()=>{document.documentElement.style.setProperty("--scrollbar-width",`${window.innerWidth-document.documentElement.clientWidth}px`)});return T.observe(document.body),()=>T.unobserve(document.body)},[]);const w=_k(a),{origin:S}=window.location;return d.jsxs(d.Fragment,{children:[d.jsx(Vie,{loggedIn:y,matchLang:Xe}),d.jsxs(Su,{defer:!1,htmlAttributes:{lang:e},children:[u&&!c?d.jsx("meta",{name:"robots",content:"noindex, nofollow"}):d.jsx("link",{rel:"canonical",href:`${S}${m9(a)}`}),!u&&d.jsx("link",{rel:"alternate",href:aa(`${S}${w}`)}),!u&&ko.map(T=>T==="en"?d.jsx("link",{rel:"alternate",href:aa(`${S}${w}`),hrefLang:T},`link-alternate-${T}`):d.jsx("link",{rel:"alternate",href:aa(`${S}/${T}${w}`),hrefLang:T},`link-alternate-${T}`)),d.jsx("meta",{name:"keywords",content:o.formatMessage({id:"metadata.keywords"})})]}),d.jsx(Uie,{}),!u&&!p&&d.jsx(gv,{data:i}),!s&&!l&&x&&d.jsx(MQ,{...f?{variant:"white"}:{}}),d.jsx(x9,{FallbackComponent:zie,children:d.jsx(g.Suspense,{fallback:!s&&d.jsx(hI,{}),children:d.jsxs(TD,{children:[d.jsx(st,{exact:!0,path:Xe,component:zoe}),d.jsx(st,{exact:!0,path:Xe+Q.qrTypes,component:qie}),d.jsx(st,{path:Xe+Q.qrInternal,component:Qie}),d.jsx(st,{exact:!0,path:Xe+Q.qrForBusiness,component:Yie}),d.jsx(st,{path:Xe+Q.qrForBusinessInternal,component:Kie}),d.jsx(st,{exact:!0,path:Xe+Q.qrCodesOn,component:Zie}),d.jsx(st,{path:Xe+Q.qrCodesOnInternal,component:Xie}),d.jsx(st,{path:Xe+Q.features,component:Jie}),d.jsx(st,{path:Xe+Q.contact,component:lae}),d.jsx(st,{path:Xe+Q.faq,component:Gie}),d.jsx(st,{path:Xe+Q.privacyPolicy,component:tae}),d.jsx(st,{path:Xe+Q.cookiesPolicy,component:rae}),d.jsx(st,{path:Xe+Q.termsAndConditions,component:eae}),d.jsx(st,{path:Xe+Q.reportAbuse,component:nae}),d.jsx(st,{path:Xe+Q.gdpr,component:oae}),d.jsx(st,{path:Xe+Q.pricing,component:iae}),d.jsx(st,{path:Xe+Q.aboutUs,component:wae}),d.jsx(st,{path:[Q.preview,Q.secondaryPreview],component:Mie}),d.jsx(st,{path:Q.redirect,component:yae}),d.jsx(st,{path:Q.qrPreview,component:sae}),d.jsx(st,{path:Q.previewError,component:Lie}),d.jsx(st,{path:Xe+Q.changePassword,children:d.jsx(NC,{type:"changePassword"})}),d.jsx(st,{path:Xe+Q.account,component:NC}),zA&&d.jsx(st,{path:Xe+Q.apiDocs,children:d.jsx(bae,{})}),d.jsx(Jr,{path:Q.privatePreview,component:Wie}),d.jsx(Jr,{path:Q.checkout,component:vae}),d.jsx(Jr,{admin:!0,path:Q.bulkBuilder,component:xae}),d.jsx(Jr,{admin:!0,path:`${Xe+Q.builder}/:qrId([0-9]+)`,component:LC}),d.jsx(Jr,{admin:!0,path:`${Xe+Q.builder}`,component:LC}),d.jsx(Jr,{admin:!0,path:Q.qr,component:pae}),d.jsx(Jr,{admin:!0,path:Q.dashboard,component:cae}),d.jsx(Jr,{admin:!0,path:Q.analysis,component:fae}),d.jsx(Jr,{admin:!0,path:`${Xe+Q.templates}/:action(edit|create)?/:templateId([0-9]+)?`,component:uae}),d.jsx(Jr,{admin:!0,path:Xe+Q.domains,component:dae}),d.jsx(Jr,{admin:!0,path:Q.myAccount,component:hae}),d.jsx(Jr,{admin:!0,path:Q.users,component:mae}),d.jsx(Jr,{admin:!0,path:Q.plansAndPayments,component:gae}),d.jsx(st,{path:"*",render:T=>d.jsx(aae,{...T,onMount:()=>n(!0),onUnmount:()=>n(!1)})})]})})})]})}function Cae(){const e=it(r=>r.user.locale),t=nh(e);return d.jsx(M_,{injectFirst:!0,children:d.jsx(N$,{theme:Oj,children:d.jsxs(vj,{children:[d.jsx(F$,{}),d.jsx(RD,{children:d.jsx(y9,{locale:t,children:d.jsx(NA,{children:d.jsx(Eae,{locale:t})})})})]})})})}function Tae(e,t,r){return(t=xN(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function $C(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function DC(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?$C(Object(r),!0).forEach(function(n){Tae(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):$C(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function or(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}var jC=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),Lg=function(){return Math.random().toString(36).substring(7).split("").join(".")},Jc={INIT:"@@redux/INIT"+Lg(),REPLACE:"@@redux/REPLACE"+Lg(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Lg()}};function Rae(e){if(typeof e!="object"||e===null)return!1;for(var t=e;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function Wh(e,t,r){var n;if(typeof t=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(or(0));if(typeof t=="function"&&typeof r>"u"&&(r=t,t=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(or(1));return r(Wh)(e,t)}if(typeof e!="function")throw new Error(or(2));var o=e,i=t,a=[],s=a,l=!1;function c(){s===a&&(s=a.slice())}function u(){if(l)throw new Error(or(3));return i}function p(h){if(typeof h!="function")throw new Error(or(4));if(l)throw new Error(or(5));var x=!0;return c(),s.push(h),function(){if(x){if(l)throw new Error(or(6));x=!1,c();var b=s.indexOf(h);s.splice(b,1),a=null}}}function f(h){if(!Rae(h))throw new Error(or(7));if(typeof h.type>"u")throw new Error(or(8));if(l)throw new Error(or(9));try{l=!0,i=o(i,h)}finally{l=!1}for(var x=a=s,y=0;y<x.length;y++){var b=x[y];b()}return h}function m(h){if(typeof h!="function")throw new Error(or(10));o=h,f({type:Jc.REPLACE})}function v(){var h,x=p;return h={subscribe:function(b){if(typeof b!="object"||b===null)throw new Error(or(11));function w(){b.next&&b.next(u())}w();var S=x(w);return{unsubscribe:S}}},h[jC]=function(){return this},h}return f({type:Jc.INIT}),n={dispatch:f,subscribe:p,getState:u,replaceReducer:m},n[jC]=v,n}var _ae=Wh;function Aae(e){Object.keys(e).forEach(function(t){var r=e[t],n=r(void 0,{type:Jc.INIT});if(typeof n>"u")throw new Error(or(12));if(typeof r(void 0,{type:Jc.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(or(13))})}function B2(e){for(var t=Object.keys(e),r={},n=0;n<t.length;n++){var o=t[n];typeof e[o]=="function"&&(r[o]=e[o])}var i=Object.keys(r),a;try{Aae(r)}catch(s){a=s}return function(l,c){if(l===void 0&&(l={}),a)throw a;for(var u=!1,p={},f=0;f<i.length;f++){var m=i[f],v=r[m],h=l[m],x=v(h,c);if(typeof x>"u")throw c&&c.type,new Error(or(14));p[m]=x,u=u||x!==h}return u=u||i.length!==Object.keys(l).length,u?p:l}}function FC(e,t){return function(){return t(e.apply(this,arguments))}}function kae(e,t){if(typeof e=="function")return FC(e,t);if(typeof e!="object"||e===null)throw new Error(or(16));var r={};for(var n in e){var o=e[n];typeof o=="function"&&(r[n]=FC(o,t))}return r}function WM(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.length===0?function(n){return n}:t.length===1?t[0]:t.reduce(function(n,o){return function(){return n(o.apply(void 0,arguments))}})}function GM(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(n){return function(){var o=n.apply(void 0,arguments),i=function(){throw new Error(or(15))},a={getState:o.getState,dispatch:function(){return i.apply(void 0,arguments)}},s=t.map(function(l){return l(a)});return i=WM.apply(void 0,s)(o.dispatch),DC(DC({},o),{},{dispatch:i})}}}const Iae=Object.freeze(Object.defineProperty({__proto__:null,__DO_NOT_USE__ActionTypes:Jc,applyMiddleware:GM,bindActionCreators:kae,combineReducers:B2,compose:WM,createStore:Wh,legacy_createStore:_ae},Symbol.toStringTag,{value:"Module"}));function qM(e){var t=function(n){var o=n.dispatch,i=n.getState;return function(a){return function(s){return typeof s=="function"?s(o,i,e):a(s)}}};return t}var QM=qM();QM.withExtraArgument=qM;const Mae=Nn(Iae);var BC=Mae.compose,Pae=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?BC:BC.apply(null,arguments)};const Oae=[{name:"scans",flag:"showScans",defaultActive:!0,translationKey:"analysis.activity.total",tooltipTranslationKey:"analysis.totalScans",color:C.primary.blue,darkColor:C.primary.darkBlue},{name:"uniqueScans",flag:"showUniqueScans",defaultActive:!1,translationKey:"analysis.activity.unique",tooltipTranslationKey:"analysis.uniqueScansPlural",color:C.secondary.orange,darkColor:C.secondary.darkOrange},{name:"visits",flag:"showVisits",defaultActive:!1,translationKey:"analysis.activity.visits",tooltipTranslationKey:"analysis.visitsPlural",color:C.primary.green,darkColor:"#32b534"}];function Lae(){const e=localStorage.getItem("user");return e?JSON.parse(e):null}function Nae(){return Oae.reduce((e,t)=>({...e,[t.flag]:localStorage.getItem(t.flag)?localStorage.getItem(t.flag)==="true":t.defaultActive}),{})}const jl=Lae(),$ae={accountModalOpen:!1,accountModalSection:"",fetchingUserData:!1,user:jl,validatingLoggedIn:!0,loggedIn:!!jl,redirectAfterLogin:null,locale:nh(jl==null?void 0:jl.language),translationsReady:!1,localeRendered:"",legalTranslationsReady:!1,subscribeModalOpen:!1,showBrowserVersion:localStorage.getItem("showBrowserVersion")==="true",sidebarOpen:localStorage.getItem("sidebar")!=="false",activityFlags:Nae(),homeCtaClick:!1,inputEmail:"",currency:localStorage.getItem("currency")||null,currencies:[],currenciesReady:!1,fetchingCurrencies:!1},Dae=ah({[Se.OPEN_ACCOUNT_MODAL]:(e,t)=>({...e,accountModalOpen:t.payload.openModal,accountModalSection:t.payload.toSection}),[Se.CLOSE_ACCOUNT_MODAL]:e=>({...e,accountModalOpen:!1,redirectAfterLogin:null}),[Se.SET_REDIRECT_AFTER_LOGIN]:(e,t)=>({...e,redirectAfterLogin:t.payload}),[Se.FETCH_USER_DATA]:e=>({...e,fetchingUserData:!0}),[Se.FETCH_USER_DATA_SUCCESS]:(e,t)=>({...e,fetchingUserData:!1,user:t.payload,locale:nh(t.payload.language),loggedIn:!0,validatingLoggedIn:!1}),[Se.FETCH_USER_DATA_FAILURE]:e=>({...e,fetchingUserData:!1,user:null,loggedIn:!1,validatingLoggedIn:!1}),[Se.LOGOUT]:e=>({...e,fetchingUserData:!0,validatingLoggedIn:!0}),[Se.LOGOUT_SUCCESS]:e=>({...e,user:null,loggedIn:!1,validatingLoggedIn:!1}),[Se.LOGOUT_FAILURE]:e=>({...e,fetchingUserData:!1,validatingLoggedIn:!1}),[Se.SET_LOCALE]:(e,t)=>({...e,locale:t.payload}),[Se.SET_PAYMENT_METHOD]:(e,t)=>({...e,user:{...e.user,...t.payload}}),[Se.SET_TRANSLATIONS_READY]:(e,t)=>{const{locale:r,ready:n}=t.payload;return{...e,translationsReady:n,localeRendered:r||e.localeRendered}},[Se.SET_LEGAL_TRANSLATIONS_READY]:e=>({...e,legalTranslationsReady:!0}),[Se.SET_HAS_API_KEY]:e=>({...e,user:{...e.user,apiKey:!0}}),[Se.SET_SUBSCRIBE_MODAL_OPEN]:(e,t)=>({...e,subscribeModalOpen:t.payload}),[Se.SET_SHOW_BROWSER_VERSION]:(e,t)=>(localStorage.setItem("showBrowserVersion",t.payload),{...e,showBrowserVersion:t.payload}),[Se.SET_ACTIVITY_FLAG]:(e,t)=>{const{name:r,value:n}=t.payload;return localStorage.setItem(r,n),{...e,activityFlags:{...e.activityFlags,[r]:n}}},[Se.TOGGLE_SIDEBAR]:e=>(localStorage.setItem("sidebar",!e.sidebarOpen),{...e,sidebarOpen:!e.sidebarOpen}),[Se.SET_PUSH_NOTIFICATIONS_ENABLED]:(e,t)=>({...e,user:{...e.user,pushNotificationsEnabled:t.payload}}),[Se.SET_HOME_CTA_CLICK]:e=>({...e,homeCtaClick:!0}),[Se.SET_INPUT_EMAIL]:(e,t)=>({...e,inputEmail:t.payload}),[Se.SET_CURRENCY]:(e,t)=>{const r=t.payload;return localStorage.setItem("currency",r),{...e,currency:r}},[Se.FETCH_CURRENCIES]:e=>({...e,fetchingCurrencies:!0}),[Se.FETCH_CURRENCIES_SUCCESS]:(e,t)=>({...e,fetchingCurrencies:!1,currencies:t.payload,currenciesReady:!0}),[Se.FETCH_CURRENCIES_FAILURE]:e=>({...e,fetchingCurrencies:!1})},$ae);function jae(e){return/^\w+(\.\w+)+$/.test(e)}function Ed({message:e,action:t,duration:r,uuid:n}){const o={};return t&&(o.action=t),r&&(o.duration=r),jae(e)?o.translationKey=e:o.message=e,n&&(o.uuid=n,o.duration=1/0),o}const Fl={open:!1,severity:"success",translationKey:"",message:"",action:void 0,duration:3e3,placement:void 0},Fae=ah({[xo.SHOW_SNACKBAR_SUCCESS]:(e,t)=>({...e,open:!0,severity:"success",duration:Fl.duration,...Ed(t.payload)}),[xo.SHOW_SNACKBAR_INFO]:(e,t)=>({...e,open:!0,severity:"info",duration:Fl.duration,...Ed(t.payload)}),[xo.SHOW_SNACKBAR_WARNING]:(e,t)=>({...e,open:!0,severity:"warning",duration:Fl.duration,...Ed(t.payload)}),[xo.SHOW_SNACKBAR_ERROR]:(e,t)=>({...e,open:!0,severity:"error",duration:1/0,...Ed(t.payload)}),[xo.CLEAR_SNACKBAR]:e=>({...e,open:!1,message:"",translationKey:"",action:void 0,duration:Fl.duration,placement:void 0})},Fl),Xp={SET_QR_PREVIEW:"qrPreview/SET_QR_PREVIEW",CLOSE_QR_PREVIEW:"qrPreview/CLOSE_QR_PREVIEW"},Lle={setQrPreview:Fe(Xp.SET_QR_PREVIEW),closeQrPreview:Fe(Xp.CLOSE_QR_PREVIEW)},HC={raw:"",style:{shape:{backgroundColor:"",color:"",style:""},corners:{dotColor:"",squareColor:"",squareStyle:"",dotStyle:""}}},Bae=ah({[Xp.SET_QR_PREVIEW]:(e,t)=>t.payload,[Xp.CLOSE_QR_PREVIEW]:()=>HC},HC),Is={GET_TOTALS:"reviews/GET_TOTALS",GET_TOTALS_SUCCESS:"reviews/GET_TOTALS_SUCCESS",GET_TOTALS_FAILURE:"reviews/GET_TOTALS_FAILURE"},Nle={getTotals:Fe(Is.GET_TOTALS),getTotalsSuccess:Fe(Is.GET_TOTALS_SUCCESS),getTotalsFailure:Fe(Is.GET_TOTALS_FAILURE)},Hae={rating:void 0,count:void 0,fetchingTotals:!0},Uae=ah({[Is.GET_TOTALS]:e=>({...e,fetchingTotals:!0}),[Is.GET_TOTALS_SUCCESS]:(e,t)=>({...e,fetchingTotals:!1,...t.payload}),[Is.GET_TOTALS_FAILURE]:e=>({...e,fetchingTotals:!1})},Hae),YM={user:Dae,snackbar:Fae,qrPreview:Bae,reviews:Uae},Vo=Wh(B2(YM),Pae(GM(QM)));Vo.asyncReducers={};Vo.injectReducer=(e,t)=>{Vo.asyncReducers[e]||(Vo.asyncReducers[e]=t,Vo.replaceReducer(B2({...YM,...Vo.asyncReducers})))};Vo.hasReducer=e=>!!Vo.asyncReducers[e];const zae=Vo;Array.prototype.flat||Object.defineProperty(Array.prototype,"flat",{configurable:!0,writable:!0,value(...e){const t=typeof e[0]>"u"?1:Number(e[0])||0,r=[],{forEach:n}=r,o=function(a,s){n.call(a,function(c){s>0&&Array.isArray(c)?o(c,s-1):r.push(c)})};return o(this,t),r}});Array.prototype.flatMap||Object.defineProperty(Array.prototype,"flatMap",{configurable:!0,writable:!0,value(...e){return Array.prototype.map.apply(this,e).flat(1)}});String.prototype.matchAll||(String.prototype.matchAll=function(t){typeof t=="string"&&(t=new RegExp(t,"g")),t=new RegExp(t);let r=[];const n=[];for(;(r=t.exec(this))!==null;)n.push(r);return n});Array.prototype.findLast||(Array.prototype.findLast=function(t){for(let r=this.length-1;r>=0;r--)if(t(this[r],r,this))return this[r];return null});Array.prototype.toSorted||(Array.prototype.toSorted=function(t){return this.slice().sort(t)});ReadableStream.prototype[Symbol.asyncIterator]||(ReadableStream.prototype[Symbol.asyncIterator]=async function*(){const t=this.getReader();try{for(;;){const{done:r,value:n}=await t.read();if(r)break;yield n}}finally{t.releaseLock()}});typeof Promise.withResolvers>"u"&&(Promise.withResolvers=function(){if(!this)throw new TypeError("Promise.withResolvers called on non-object");const t={};return t.promise=new this((r,n)=>{t.resolve=r,t.reject=n}),t});Dg.createRoot(document.getElementById("root")).render(d.jsx(W4,{store:zae,children:d.jsx(Cae,{})}));export{x3 as $,Nt as A,G as B,zc as C,k1 as D,cS as E,iF as F,be as G,Su as H,Ee as I,Ou as J,LM as K,$v as L,x1 as M,vo as N,No as O,Mie as P,_3 as Q,LJ as R,ile as S,Ct as T,yi as U,We as V,Q as W,wt as X,kI as Y,Up as Z,N as _,it as a,Uc as a$,Ce as a0,Lo as a1,tr as a2,E1 as a3,y2 as a4,Vse as a5,At as a6,ele as a7,Po as a8,Fe as a9,Iu as aA,WA as aB,LQ as aC,ct as aD,D9 as aE,Oi as aF,po as aG,Ese as aH,Cse as aI,Vc as aJ,Je as aK,vee as aL,Jt as aM,ose as aN,cl as aO,Te as aP,_e as aQ,Z as aR,Lr as aS,ne as aT,_ as aU,Ie as aV,re as aW,le as aX,ke as aY,II as aZ,ng as a_,al as aa,Bse as ab,Mn as ac,v3 as ad,hM as ae,Vt as af,Qr as ag,Sr as ah,Ete as ai,Ple as aj,hI as ak,CY as al,ge as am,Mp as an,NG as ao,Jy as ap,dF as aq,on as ar,Ht as as,Mle as at,Yt as au,Nr as av,tle as aw,KQ as ax,ZQ as ay,Wp as az,de as b,zs as b$,no as b0,ku as b1,i2 as b2,N1 as b3,D1 as b4,$1 as b5,Cv as b6,dM as b7,fj as b8,kle as b9,G0 as bA,ko as bB,lj as bC,Gae as bD,pc as bE,Mse as bF,E9 as bG,vS as bH,jq as bI,Hq as bJ,hj as bK,K1 as bL,Ru as bM,Se as bN,Yn as bO,MV as bP,zp as bQ,Cte as bR,wle as bS,j2 as bT,Tte as bU,lH as bV,lz as bW,sse as bX,lse as bY,cse as bZ,ix as b_,bie as ba,Use as bb,Yoe as bc,Ile as bd,fC as be,Bq as bf,pC as bg,dC as bh,hC as bi,nE as bj,bt as bk,Ooe as bl,ise as bm,OG as bn,_le as bo,F2 as bp,Gt as bq,loe as br,R9 as bs,$V as bt,ks as bu,Yae as bv,Nh as bw,rq as bx,m9 as by,h3 as bz,Oo as c,gW as c$,yw as c0,qd as c1,Lp as c2,hh as c3,s2 as c4,gv as c5,_t as c6,qo as c7,yr as c8,ta as c9,mI as cA,Zq as cB,y3 as cC,oY as cD,Ot as cE,Jf as cF,Xae as cG,Xse as cH,mle as cI,pse as cJ,dse as cK,Ute as cL,Cle as cM,N3 as cN,n3 as cO,N0 as cP,w3 as cQ,b2 as cR,p3 as cS,un as cT,Zf as cU,_o as cV,Of as cW,Xy as cX,BA as cY,Qae as cZ,FA as c_,Z_ as ca,Ta as cb,Wae as cc,ma as cd,qc as ce,Hi as cf,ll as cg,Bs as ch,bu as ci,Ose as cj,lne as ck,Ph as cl,Oh as cm,UA as cn,MM as co,fY as cp,bY as cq,dY as cr,jA as cs,pg as ct,LI as cu,ti as cv,Kae as cw,Zae as cx,p5 as cy,Ga as cz,Ea as d,Rk as d$,X1 as d0,C9 as d1,Wse as d2,ule as d3,Gse as d4,Qq as d5,b3 as d6,li as d7,oq as d8,Yse as d9,$M as dA,Tre as dB,Ag as dC,uC as dD,ep as dE,lC as dF,sI as dG,w1 as dH,Mre as dI,nse as dJ,og as dK,_se as dL,use as dM,Ase as dN,Tse as dO,Q9 as dP,ale as dQ,zse as dR,xee as dS,Lse as dT,Nse as dU,Fse as dV,Tle as dW,dle as dX,lle as dY,Lv as dZ,kse as d_,Qse as da,ZG as db,Op as dc,qse as dd,aV as de,Vte as df,zte as dg,ble as dh,xre as di,qp as dj,HI as dk,lh as dl,xj as dm,kne as dn,Ise as dp,oW as dq,JE as dr,Ele as ds,iE as dt,cC as du,fle as dv,yee as dw,Ut as dx,hle as dy,bee as dz,Lt as e,aoe as e$,RQ as e0,oj as e1,Pse as e2,OQ as e3,Gre as e4,o2 as e5,aj as e6,ese as e7,mj as e8,Jq as e9,t3 as eA,rH as eB,WU as eC,Oae as eD,uq as eE,lq as eF,sq as eG,FG as eH,BG as eI,HG as eJ,yse as eK,Sle as eL,gf as eM,id as eN,Dc as eO,$c as eP,X7 as eQ,UV as eR,vse as eS,Lle as eT,wse as eU,xse as eV,rse as eW,Hse as eX,L2 as eY,gte as eZ,Ln as e_,ole as ea,S3 as eb,E3 as ec,kre as ed,Mte as ee,m3 as ef,uj as eg,AQ as eh,Yx as ei,Mq as ej,Zc as ek,lv as el,MI as em,Sse as en,bse as eo,nY as ep,Nn as eq,Rne as er,$se as es,p1 as et,cj as eu,_p as ev,Il as ew,Ys as ex,si as ey,Wi as ez,mse as f,lI as f$,Vh as f0,Ote as f1,ioe as f2,sY as f3,Yne as f4,As as f5,_C as f6,Rle as f7,ji as f8,Zp as f9,jp as fA,sg as fB,J_ as fC,cle as fD,B4 as fE,X4 as fF,iY as fG,L9 as fH,Tw as fI,dn as fJ,fF as fK,Fn as fL,q6 as fM,M1 as fN,tse as fO,qre as fP,dee as fQ,yle as fR,Yre as fS,Vq as fT,Ai as fU,_te as fV,Rte as fW,xle as fX,sle as fY,rle as fZ,Ale as f_,Ole as fa,Rse as fb,Dse as fc,oQ as fd,qte as fe,sL as ff,ase as fg,Ore as fh,A1 as fi,dj as fj,PI as fk,Zse as fl,d3 as fm,Jae as fn,NQ as fo,YA as fp,r2 as fq,QA as fr,B6 as fs,n1 as ft,js as fu,Q_ as fv,Hs as fw,hA as fx,Em as fy,Z1 as fz,C as g,HE as g0,GA as g1,O9 as g2,vY as g3,VJ as g4,BM as g5,ine as g6,ane as g7,Bne as g8,Hne as g9,Une as ga,gse as gb,ene as gc,AC as gd,gle as ge,vle as gf,pF as gg,jse as gh,Nle as gi,_k as gj,aa as gk,zA as gl,Nq as gm,yte as gn,ah as h,Gr as i,d as j,To as k,_9 as l,lr as m,Tv as n,aI as o,ple as p,Woe as q,g as r,zae as s,Ue as t,_A as u,Kse as v,Ze as w,qt as x,xe as y,W as z};