diff --git a/index.js b/index.js index 6752647..d291e2e 100644 --- a/index.js +++ b/index.js @@ -417,6 +417,17 @@ app.use('/panel', panelRoutes); // Hot path is in-memory only; no DB/disk reads per request. app.get('/', (req, res) => homepageService.respond(req, res)); app.head('/', (req, res) => homepageService.respond(req, res)); +app.get([ + '/assets/*', + '/apple-touch-icon.png', + '/favicon.ico', + '/favicon.svg', + '/favicon-96x96.png', + '/site.webmanifest', + '/vite.svg', + '/web-app-manifest-192x192.png', + '/web-app-manifest-512x512.png', +], (req, res, next) => homepageService.serveTemplateAsset(req, res, next)); // ==================== ERROR HANDLING ==================== diff --git a/package.json b/package.json index 2cd55e4..79b74b9 100644 --- a/package.json +++ b/package.json @@ -32,7 +32,7 @@ "scripts": { "start": "node index.js", "dev": "nodemon index.js", - "test": "node scripts/test-session-cookie-config.js && node scripts/test-i18n-fallback.js && node scripts/test-node-ui-meta.js && node scripts/test-node-active-api.js && node scripts/test-auth-subscription-boundaries.js", + "test": "node scripts/test-session-cookie-config.js && node scripts/test-i18n-fallback.js && node scripts/test-node-ui-meta.js && node scripts/test-node-active-api.js && node scripts/test-auth-subscription-boundaries.js && node scripts/test-homepage-templates.js", "build:assets": "npx --yes esbuild public/css/style.css public/css/network.css --minify --loader:.css=css --outdir=public/css --out-extension:.css=.min.css --allow-overwrite && npx --yes esbuild public/js/network.js --minify --outfile=public/js/network.min.js" }, "dependencies": { diff --git a/scripts/test-homepage-templates.js b/scripts/test-homepage-templates.js new file mode 100644 index 0000000..b133065 --- /dev/null +++ b/scripts/test-homepage-templates.js @@ -0,0 +1,138 @@ +const assert = require('assert'); +const fs = require('fs'); +const os = require('os'); +const path = require('path'); +const Module = require('module'); + +function createResponse() { + return { + statusCode: 200, + headers: {}, + body: null, + ended: false, + setHeader(name, value) { + this.headers[name.toLowerCase()] = value; + }, + removeHeader(name) { + delete this.headers[name.toLowerCase()]; + }, + status(code) { + this.statusCode = code; + return this; + }, + send(value) { + this.body = value; + this.ended = true; + return this; + }, + end() { + this.ended = true; + return this; + }, + }; +} + +async function withHomepageService(settings, run) { + const originalLoad = Module._load; + const updates = []; + + Module._load = function patchedLoad(request, parent, isMain) { + if (parent?.filename?.endsWith('/src/services/homepageService.js')) { + if (request === '../models/settingsModel') { + return { + get: async () => settings, + update: async (update) => { + updates.push(update); + return settings; + }, + }; + } + if (request === '../utils/logger') { + return { info() {}, warn() {}, error() {}, debug() {} }; + } + } + return originalLoad.call(this, request, parent, isMain); + }; + + try { + delete require.cache[require.resolve('../src/services/homepageService')]; + const homepageService = require('../src/services/homepageService'); + return await run(homepageService, updates); + } finally { + Module._load = originalLoad; + delete require.cache[require.resolve('../src/services/homepageService')]; + } +} + +function writeTemplate(root, slug, html = '
l(Ye,J)?(S[W]=Ye,S[D]=F,W=D):(S[W]=J,S[T]=F,W=T);else if(Dl(Ye,F))S[W]=Ye,S[D]=F,W=D;else break e}}return z}function l(S,z){var F=S.sortIndex-z.sortIndex;return F!==0?F:S.id-z.id}if(typeof performance=="object"&&typeof performance.now=="function"){var s=performance;e.unstable_now=function(){return s.now()}}else{var o=Date,a=o.now();e.unstable_now=function(){return o.now()-a}}var u=[],c=[],g=1,p=null,h=3,w=!1,x=!1,j=!1,E=typeof setTimeout=="function"?setTimeout:null,f=typeof clearTimeout=="function"?clearTimeout:null,d=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function m(S){for(var z=n(c);z!==null;){if(z.callback===null)r(c);else if(z.startTime<=S)r(c),z.sortIndex=z.expirationTime,t(u,z);else break;z=n(c)}}function y(S){if(j=!1,m(S),!x)if(n(u)!==null)x=!0,Pn(k);else{var z=n(c);z!==null&&Mn(y,z.startTime-S)}}function k(S,z){x=!1,j&&(j=!1,f(_),_=-1),w=!0;var F=h;try{for(m(z),p=n(u);p!==null&&(!(p.expirationTime>z)||S&&!ve());){var W=p.callback;if(typeof W=="function"){p.callback=null,h=p.priorityLevel;var q=W(p.expirationTime<=z);z=e.unstable_now(),typeof q=="function"?p.callback=q:p===n(u)&&r(u),m(z)}else r(u);p=n(u)}if(p!==null)var Xt=!0;else{var T=n(c);T!==null&&Mn(y,T.startTime-z),Xt=!1}return Xt}finally{p=null,h=F,w=!1}}var P=!1,M=null,_=-1,$=5,O=-1;function ve(){return!(e.unstable_now()-O<$)}function Be(){if(M!==null){var S=e.unstable_now();O=S;var z=!0;try{z=M(!0,S)}finally{z?$e():(P=!1,M=null)}}else P=!1}var $e;if(typeof d=="function")$e=function(){d(Be)};else if(typeof MessageChannel<"u"){var Qt=new MessageChannel,Nr=Qt.port2;Qt.port1.onmessage=Be,$e=function(){Nr.postMessage(null)}}else $e=function(){E(Be,0)};function Pn(S){M=S,P||(P=!0,$e())}function Mn(S,z){_=E(function(){S(e.unstable_now())},z)}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(S){S.callback=null},e.unstable_continueExecution=function(){x||w||(x=!0,Pn(k))},e.unstable_forceFrameRate=function(S){0>S||125W?(S.sortIndex=F,t(c,S),n(u)===null&&S===n(c)&&(j?(f(_),_=-1):j=!0,Mn(y,F-W))):(S.sortIndex=q,t(u,S),x||w||(x=!0,Pn(k))),S},e.unstable_shouldYield=ve,e.unstable_wrapCallback=function(S){var z=h;return function(){var F=h;h=z;try{return S.apply(this,arguments)}finally{h=F}}}})($a);Ba.exports=$a;var Id=Ba.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 bd=v,Ee=Id;function N(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),xs=Object.prototype.hasOwnProperty,Dd=/^[: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]*$/,ho={},go={};function Ad(e){return xs.call(go,e)?!0:xs.call(ho,e)?!1:Dd.test(e)?go[e]=!0:(ho[e]=!0,!1)}function Ud(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function Vd(e,t,n,r){if(t===null||typeof t>"u"||Ud(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.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 ge(e,t,n,r,l,s,o){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=l,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=s,this.removeEmptyString=o}var ie={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){ie[e]=new ge(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];ie[t]=new ge(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){ie[e]=new ge(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){ie[e]=new ge(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){ie[e]=new ge(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){ie[e]=new ge(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){ie[e]=new ge(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){ie[e]=new ge(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){ie[e]=new ge(e,5,!1,e.toLowerCase(),null,!1,!1)});var xi=/[\-:]([a-z])/g;function yi(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(xi,yi);ie[t]=new ge(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(xi,yi);ie[t]=new ge(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(xi,yi);ie[t]=new ge(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){ie[e]=new ge(e,1,!1,e.toLowerCase(),null,!1,!1)});ie.xlinkHref=new ge("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){ie[e]=new ge(e,1,!1,e.toLowerCase(),null,!0,!0)});function wi(e,t,n,r){var l=ie.hasOwnProperty(t)?ie[t]:null;(l!==null?l.type!==0:r||!(2 a||l[o]!==s[a]){var u=` +`+l[o].replace(" at new "," at ");return e.displayName&&u.includes(" ")&&(u=u.replace(" ",e.displayName)),u}while(1<=o&&0<=a);break}}}finally{Ql=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?bn(e):""}function Wd(e){switch(e.tag){case 5:return bn(e.type);case 16:return bn("Lazy");case 13:return bn("Suspense");case 19:return bn("SuspenseList");case 0:case 2:case 15:return e=Xl(e.type,!1),e;case 11:return e=Xl(e.type.render,!1),e;case 1:return e=Xl(e.type,!0),e;default:return""}}function Ns(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 Yt:return"Fragment";case qt:return"Portal";case ys:return"Profiler";case ji:return"StrictMode";case ws:return"Suspense";case js:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Qa:return(e.displayName||"Context")+".Consumer";case Ga:return(e._context.displayName||"Context")+".Provider";case Ni:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case ki:return t=e.displayName||null,t!==null?t:Ns(e.type)||"Memo";case ut:t=e._payload,e=e._init;try{return Ns(e(t))}catch{}}return null}function Bd(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 Ns(t);case 8:return t===ji?"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 Et(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Ka(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function $d(e){var t=Ka(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var l=n.get,s=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return l.call(this)},set:function(o){r=""+o,s.call(this,o)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(o){r=""+o},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Er(e){e._valueTracker||(e._valueTracker=$d(e))}function qa(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Ka(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Jr(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 ks(e,t){var n=t.checked;return Q({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function xo(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Et(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function Ya(e,t){t=t.checked,t!=null&&wi(e,"checked",t,!1)}function Ss(e,t){Ya(e,t);var n=Et(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?Cs(e,t.type,n):t.hasOwnProperty("defaultValue")&&Cs(e,t.type,Et(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function yo(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function Cs(e,t,n){(t!=="number"||Jr(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Dn=Array.isArray;function un(e,t,n,r){if(e=e.options,t){t={};for(var l=0;l "+t.valueOf().toString()+"",t=Pr.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Yn(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Vn={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},Hd=["Webkit","ms","Moz","O"];Object.keys(Vn).forEach(function(e){Hd.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Vn[t]=Vn[e]})});function tu(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Vn.hasOwnProperty(e)&&Vn[e]?(""+t).trim():t+"px"}function nu(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,l=tu(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,l):e[n]=l}}var Gd=Q({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 Ms(e,t){if(t){if(Gd[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(N(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(N(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(N(61))}if(t.style!=null&&typeof t.style!="object")throw Error(N(62))}}function _s(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 Ts=null;function Si(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var zs=null,cn=null,dn=null;function No(e){if(e=xr(e)){if(typeof zs!="function")throw Error(N(280));var t=e.stateNode;t&&(t=Tl(t),zs(e.stateNode,e.type,t))}}function ru(e){cn?dn?dn.push(e):dn=[e]:cn=e}function lu(){if(cn){var e=cn,t=dn;if(dn=cn=null,No(e),t)for(e=0;e >>=0,e===0?32:31-(rf(e)/lf|0)|0}var Mr=64,_r=4194304;function An(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 rl(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,l=e.suspendedLanes,s=e.pingedLanes,o=n&268435455;if(o!==0){var a=o&~l;a!==0?r=An(a):(s&=o,s!==0&&(r=An(s)))}else o=n&~l,o!==0?r=An(o):s!==0&&(r=An(s));if(r===0)return 0;if(t!==0&&t!==r&&!(t&l)&&(l=r&-r,s=t&-t,l>=s||l===16&&(s&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0 n;n++)t.push(e);return t}function gr(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Ue(t),e[t]=n}function uf(e,t){var n=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 r=e.eventTimes;for(e=e.expirationTimes;0 =Bn),zo=" ",Lo=!1;function Su(e,t){switch(e){case"keyup":return bf.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Cu(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Zt=!1;function Af(e,t){switch(e){case"compositionend":return Cu(t);case"keypress":return t.which!==32?null:(Lo=!0,zo);case"textInput":return e=t.data,e===zo&&Lo?null:e;default:return null}}function Uf(e,t){if(Zt)return e==="compositionend"||!Li&&Su(e,t)?(e=Nu(),$r=_i=pt=null,Zt=!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)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Io(n)}}function _u(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?_u(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Tu(){for(var e=window,t=Jr();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Jr(e.document)}return t}function Fi(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 Kf(e){var t=Tu(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&_u(n.ownerDocument.documentElement,n)){if(r!==null&&Fi(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var l=n.textContent.length,s=Math.min(r.start,l);r=r.end===void 0?s:Math.min(r.end,l),!e.extend&&s>r&&(l=r,r=s,s=l),l=bo(n,s);var o=bo(n,r);l&&o&&(e.rangeCount!==1||e.anchorNode!==l.node||e.anchorOffset!==l.offset||e.focusNode!==o.node||e.focusOffset!==o.offset)&&(t=t.createRange(),t.setStart(l.node,l.offset),e.removeAllRanges(),s>r?(e.addRange(t),e.extend(o.node,o.offset)):(t.setEnd(o.node,o.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n =document.documentMode,Jt=null,bs=null,Hn=null,Ds=!1;function Do(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Ds||Jt==null||Jt!==Jr(r)||(r=Jt,"selectionStart"in r&&Fi(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Hn&&rr(Hn,r)||(Hn=r,r=il(bs,"onSelect"),0 nn||(e.current=$s[nn],$s[nn]=null,nn--)}function A(e,t){nn++,$s[nn]=e.current,e.current=t}var Pt={},ce=_t(Pt),we=_t(!1),Dt=Pt;function gn(e,t){var n=e.type.contextTypes;if(!n)return Pt;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var l={},s;for(s in n)l[s]=t[s];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=l),l}function je(e){return e=e.childContextTypes,e!=null}function al(){V(we),V(ce)}function Ho(e,t,n){if(ce.current!==Pt)throw Error(N(168));A(ce,t),A(we,n)}function Au(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var l in r)if(!(l in t))throw Error(N(108,Bd(e)||"Unknown",l));return Q({},n,r)}function ul(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Pt,Dt=ce.current,A(ce,e),A(we,we.current),!0}function Go(e,t,n){var r=e.stateNode;if(!r)throw Error(N(169));n?(e=Au(e,t,Dt),r.__reactInternalMemoizedMergedChildContext=e,V(we),V(ce),A(ce,e)):V(we),A(we,n)}var Je=null,zl=!1,as=!1;function Uu(e){Je===null?Je=[e]:Je.push(e)}function op(e){zl=!0,Uu(e)}function Tt(){if(!as&&Je!==null){as=!0;var e=0,t=b;try{var n=Je;for(b=1;e >=o,l-=o,et=1<<32-Ue(t)+l|n< _?($=M,M=null):$=M.sibling;var O=h(f,M,m[_],y);if(O===null){M===null&&(M=$);break}e&&M&&O.alternate===null&&t(f,M),d=s(O,d,_),P===null?k=O:P.sibling=O,P=O,M=$}if(_===m.length)return n(f,M),B&&zt(f,_),k;if(M===null){for(;_ _?($=M,M=null):$=M.sibling;var ve=h(f,M,O.value,y);if(ve===null){M===null&&(M=$);break}e&&M&&ve.alternate===null&&t(f,M),d=s(ve,d,_),P===null?k=ve:P.sibling=ve,P=ve,M=$}if(O.done)return n(f,M),B&&zt(f,_),k;if(M===null){for(;!O.done;_++,O=m.next())O=p(f,O.value,y),O!==null&&(d=s(O,d,_),P===null?k=O:P.sibling=O,P=O);return B&&zt(f,_),k}for(M=r(f,M);!O.done;_++,O=m.next())O=w(M,f,_,O.value,y),O!==null&&(e&&O.alternate!==null&&M.delete(O.key===null?_:O.key),d=s(O,d,_),P===null?k=O:P.sibling=O,P=O);return e&&M.forEach(function(Be){return t(f,Be)}),B&&zt(f,_),k}function E(f,d,m,y){if(typeof m=="object"&&m!==null&&m.type===Yt&&m.key===null&&(m=m.props.children),typeof m=="object"&&m!==null){switch(m.$$typeof){case Cr:e:{for(var k=m.key,P=d;P!==null;){if(P.key===k){if(k=m.type,k===Yt){if(P.tag===7){n(f,P.sibling),d=l(P,m.props.children),d.return=f,f=d;break e}}else if(P.elementType===k||typeof k=="object"&&k!==null&&k.$$typeof===ut&&Ko(k)===P.type){n(f,P.sibling),d=l(P,m.props),d.ref=On(f,P,m),d.return=f,f=d;break e}n(f,P);break}else t(f,P);P=P.sibling}m.type===Yt?(d=bt(m.props.children,f.mode,y,m.key),d.return=f,f=d):(y=Zr(m.type,m.key,m.props,null,f.mode,y),y.ref=On(f,d,m),y.return=f,f=y)}return o(f);case qt:e:{for(P=m.key;d!==null;){if(d.key===P)if(d.tag===4&&d.stateNode.containerInfo===m.containerInfo&&d.stateNode.implementation===m.implementation){n(f,d.sibling),d=l(d,m.children||[]),d.return=f,f=d;break e}else{n(f,d);break}else t(f,d);d=d.sibling}d=gs(m,f.mode,y),d.return=f,f=d}return o(f);case ut:return P=m._init,E(f,d,P(m._payload),y)}if(Dn(m))return x(f,d,m,y);if(_n(m))return j(f,d,m,y);Ir(f,m)}return typeof m=="string"&&m!==""||typeof m=="number"?(m=""+m,d!==null&&d.tag===6?(n(f,d.sibling),d=l(d,m),d.return=f,f=d):(n(f,d),d=hs(m,f.mode,y),d.return=f,f=d),o(f)):n(f,d)}return E}var xn=$u(!0),Hu=$u(!1),fl=_t(null),pl=null,sn=null,bi=null;function Di(){bi=sn=pl=null}function Ai(e){var t=fl.current;V(fl),e._currentValue=t}function Qs(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function pn(e,t){pl=e,bi=sn=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(ye=!0),e.firstContext=null)}function Fe(e){var t=e._currentValue;if(bi!==e)if(e={context:e,memoizedValue:t,next:null},sn===null){if(pl===null)throw Error(N(308));sn=e,pl.dependencies={lanes:0,firstContext:e}}else sn=sn.next=e;return t}var Ot=null;function Ui(e){Ot===null?Ot=[e]:Ot.push(e)}function Gu(e,t,n,r){var l=t.interleaved;return l===null?(n.next=n,Ui(t)):(n.next=l.next,l.next=n),t.interleaved=n,st(e,r)}function st(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var ct=!1;function Vi(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Qu(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 nt(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function jt(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,I&2){var l=r.pending;return l===null?t.next=t:(t.next=l.next,l.next=t),r.pending=t,st(e,n)}return l=r.interleaved,l===null?(t.next=t,Ui(r)):(t.next=l.next,l.next=t),r.interleaved=t,st(e,n)}function Gr(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Ei(e,n)}}function qo(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var l=null,s=null;if(n=n.firstBaseUpdate,n!==null){do{var o={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};s===null?l=s=o:s=s.next=o,n=n.next}while(n!==null);s===null?l=s=t:s=s.next=t}else l=s=t;n={baseState:r.baseState,firstBaseUpdate:l,lastBaseUpdate:s,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function ml(e,t,n,r){var l=e.updateQueue;ct=!1;var s=l.firstBaseUpdate,o=l.lastBaseUpdate,a=l.shared.pending;if(a!==null){l.shared.pending=null;var u=a,c=u.next;u.next=null,o===null?s=c:o.next=c,o=u;var g=e.alternate;g!==null&&(g=g.updateQueue,a=g.lastBaseUpdate,a!==o&&(a===null?g.firstBaseUpdate=c:a.next=c,g.lastBaseUpdate=u))}if(s!==null){var p=l.baseState;o=0,g=c=u=null,a=s;do{var h=a.lane,w=a.eventTime;if((r&h)===h){g!==null&&(g=g.next={eventTime:w,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var x=e,j=a;switch(h=t,w=n,j.tag){case 1:if(x=j.payload,typeof x=="function"){p=x.call(w,p,h);break e}p=x;break e;case 3:x.flags=x.flags&-65537|128;case 0:if(x=j.payload,h=typeof x=="function"?x.call(w,p,h):x,h==null)break e;p=Q({},p,h);break e;case 2:ct=!0}}a.callback!==null&&a.lane!==0&&(e.flags|=64,h=l.effects,h===null?l.effects=[a]:h.push(a))}else w={eventTime:w,lane:h,tag:a.tag,payload:a.payload,callback:a.callback,next:null},g===null?(c=g=w,u=p):g=g.next=w,o|=h;if(a=a.next,a===null){if(a=l.shared.pending,a===null)break;h=a,a=h.next,h.next=null,l.lastBaseUpdate=h,l.shared.pending=null}}while(!0);if(g===null&&(u=p),l.baseState=u,l.firstBaseUpdate=c,l.lastBaseUpdate=g,t=l.shared.interleaved,t!==null){l=t;do o|=l.lane,l=l.next;while(l!==t)}else s===null&&(l.shared.lanes=0);Vt|=o,e.lanes=o,e.memoizedState=p}}function Yo(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;t n?n:4,e(!0);var r=cs.transition;cs.transition={};try{e(!1),t()}finally{b=n,cs.transition=r}}function cc(){return Oe().memoizedState}function dp(e,t,n){var r=kt(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},dc(e))fc(t,n);else if(n=Gu(e,t,n,r),n!==null){var l=me();Ve(n,e,r,l),pc(n,t,r)}}function fp(e,t,n){var r=kt(e),l={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(dc(e))fc(t,l);else{var s=e.alternate;if(e.lanes===0&&(s===null||s.lanes===0)&&(s=t.lastRenderedReducer,s!==null))try{var o=t.lastRenderedState,a=s(o,n);if(l.hasEagerState=!0,l.eagerState=a,We(a,o)){var u=t.interleaved;u===null?(l.next=l,Ui(t)):(l.next=u.next,u.next=l),t.interleaved=l;return}}catch{}finally{}n=Gu(e,t,l,r),n!==null&&(l=me(),Ve(n,e,r,l),pc(n,t,r))}}function dc(e){var t=e.alternate;return e===G||t!==null&&t===G}function fc(e,t){Gn=gl=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function pc(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Ei(e,n)}}var vl={readContext:Fe,useCallback:oe,useContext:oe,useEffect:oe,useImperativeHandle:oe,useInsertionEffect:oe,useLayoutEffect:oe,useMemo:oe,useReducer:oe,useRef:oe,useState:oe,useDebugValue:oe,useDeferredValue:oe,useTransition:oe,useMutableSource:oe,useSyncExternalStore:oe,useId:oe,unstable_isNewReconciler:!1},pp={readContext:Fe,useCallback:function(e,t){return Qe().memoizedState=[e,t===void 0?null:t],e},useContext:Fe,useEffect:Jo,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Xr(4194308,4,sc.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Xr(4194308,4,e,t)},useInsertionEffect:function(e,t){return Xr(4,2,e,t)},useMemo:function(e,t){var n=Qe();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Qe();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=dp.bind(null,G,e),[r.memoizedState,e]},useRef:function(e){var t=Qe();return e={current:e},t.memoizedState=e},useState:Zo,useDebugValue:Ki,useDeferredValue:function(e){return Qe().memoizedState=e},useTransition:function(){var e=Zo(!1),t=e[0];return e=cp.bind(null,e[1]),Qe().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=G,l=Qe();if(B){if(n===void 0)throw Error(N(407));n=n()}else{if(n=t(),re===null)throw Error(N(349));Ut&30||Yu(r,t,n)}l.memoizedState=n;var s={value:n,getSnapshot:t};return l.queue=s,Jo(Ju.bind(null,r,s,e),[e]),r.flags|=2048,dr(9,Zu.bind(null,r,s,n,t),void 0,null),n},useId:function(){var e=Qe(),t=re.identifierPrefix;if(B){var n=tt,r=et;n=(r&~(1<<32-Ue(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=ur++,0 <\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=o.createElement(n,{is:r.is}):(e=o.createElement(n),n==="select"&&(o=e,r.multiple?o.multiple=!0:r.size&&(o.size=r.size))):e=o.createElementNS(e,n),e[Xe]=t,e[ir]=r,kc(e,t,!1,!1),t.stateNode=e;e:{switch(o=_s(n,r),n){case"dialog":U("cancel",e),U("close",e),l=r;break;case"iframe":case"object":case"embed":U("load",e),l=r;break;case"video":case"audio":for(l=0;l jn&&(t.flags|=128,r=!0,Rn(s,!1),t.lanes=4194304)}else{if(!r)if(e=hl(o),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Rn(s,!0),s.tail===null&&s.tailMode==="hidden"&&!o.alternate&&!B)return ae(t),null}else 2*K()-s.renderingStartTime>jn&&n!==1073741824&&(t.flags|=128,r=!0,Rn(s,!1),t.lanes=4194304);s.isBackwards?(o.sibling=t.child,t.child=o):(n=s.last,n!==null?n.sibling=o:t.child=o,s.last=o)}return s.tail!==null?(t=s.tail,s.rendering=t,s.tail=t.sibling,s.renderingStartTime=K(),t.sibling=null,n=H.current,A(H,r?n&1|2:n&1),t):(ae(t),null);case 22:case 23:return to(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?ke&1073741824&&(ae(t),t.subtreeFlags&6&&(t.flags|=8192)):ae(t),null;case 24:return null;case 25:return null}throw Error(N(156,t.tag))}function jp(e,t){switch(Ri(t),t.tag){case 1:return je(t.type)&&al(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return yn(),V(we),V(ce),$i(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Bi(t),null;case 13:if(V(H),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(N(340));vn()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return V(H),null;case 4:return yn(),null;case 10:return Ai(t.type._context),null;case 22:case 23:return to(),null;case 24:return null;default:return null}}var Dr=!1,ue=!1,Np=typeof WeakSet=="function"?WeakSet:Set,C=null;function on(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){X(e,t,r)}else n.current=null}function ni(e,t,n){try{n()}catch(r){X(e,t,r)}}var ca=!1;function kp(e,t){if(As=ll,e=Tu(),Fi(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var l=r.anchorOffset,s=r.focusNode;r=r.focusOffset;try{n.nodeType,s.nodeType}catch{n=null;break e}var o=0,a=-1,u=-1,c=0,g=0,p=e,h=null;t:for(;;){for(var w;p!==n||l!==0&&p.nodeType!==3||(a=o+l),p!==s||r!==0&&p.nodeType!==3||(u=o+r),p.nodeType===3&&(o+=p.nodeValue.length),(w=p.firstChild)!==null;)h=p,p=w;for(;;){if(p===e)break t;if(h===n&&++c===l&&(a=o),h===s&&++g===r&&(u=o),(w=p.nextSibling)!==null)break;p=h,h=p.parentNode}p=w}n=a===-1||u===-1?null:{start:a,end:u}}else n=null}n=n||{start:0,end:0}}else n=null;for(Us={focusedElem:e,selectionRange:n},ll=!1,C=t;C!==null;)if(t=C,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,C=e;else for(;C!==null;){t=C;try{var x=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(x!==null){var j=x.memoizedProps,E=x.memoizedState,f=t.stateNode,d=f.getSnapshotBeforeUpdate(t.elementType===t.type?j:be(t.type,j),E);f.__reactInternalSnapshotBeforeUpdate=d}break;case 3:var m=t.stateNode.containerInfo;m.nodeType===1?m.textContent="":m.nodeType===9&&m.documentElement&&m.removeChild(m.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(N(163))}}catch(y){X(t,t.return,y)}if(e=t.sibling,e!==null){e.return=t.return,C=e;break}C=t.return}return x=ca,ca=!1,x}function Qn(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var l=r=r.next;do{if((l.tag&e)===e){var s=l.destroy;l.destroy=void 0,s!==void 0&&ni(t,n,s)}l=l.next}while(l!==r)}}function Ol(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function ri(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function Ec(e){var t=e.alternate;t!==null&&(e.alternate=null,Ec(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Xe],delete t[ir],delete t[Bs],delete t[sp],delete t[ip])),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 Pc(e){return e.tag===5||e.tag===3||e.tag===4}function da(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Pc(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 li(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=ol));else if(r!==4&&(e=e.child,e!==null))for(li(e,t,n),e=e.sibling;e!==null;)li(e,t,n),e=e.sibling}function si(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(si(e,t,n),e=e.sibling;e!==null;)si(e,t,n),e=e.sibling}var le=null,De=!1;function at(e,t,n){for(n=n.child;n!==null;)Mc(e,t,n),n=n.sibling}function Mc(e,t,n){if(Ke&&typeof Ke.onCommitFiberUnmount=="function")try{Ke.onCommitFiberUnmount(El,n)}catch{}switch(n.tag){case 5:ue||on(n,t);case 6:var r=le,l=De;le=null,at(e,t,n),le=r,De=l,le!==null&&(De?(e=le,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):le.removeChild(n.stateNode));break;case 18:le!==null&&(De?(e=le,n=n.stateNode,e.nodeType===8?os(e.parentNode,n):e.nodeType===1&&os(e,n),tr(e)):os(le,n.stateNode));break;case 4:r=le,l=De,le=n.stateNode.containerInfo,De=!0,at(e,t,n),le=r,De=l;break;case 0:case 11:case 14:case 15:if(!ue&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){l=r=r.next;do{var s=l,o=s.destroy;s=s.tag,o!==void 0&&(s&2||s&4)&&ni(n,t,o),l=l.next}while(l!==r)}at(e,t,n);break;case 1:if(!ue&&(on(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(a){X(n,t,a)}at(e,t,n);break;case 21:at(e,t,n);break;case 22:n.mode&1?(ue=(r=ue)||n.memoizedState!==null,at(e,t,n),ue=r):at(e,t,n);break;default:at(e,t,n)}}function fa(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new Np),t.forEach(function(r){var l=Lp.bind(null,e,r);n.has(r)||(n.add(r),r.then(l,l))})}}function Re(e,t){var n=t.deletions;if(n!==null)for(var r=0;r l&&(l=o),r&=~s}if(r=l,r=K()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Cp(r/1960))-r,10 e?16:e,mt===null)var r=!1;else{if(e=mt,mt=null,wl=0,I&6)throw Error(N(331));var l=I;for(I|=4,C=e.current;C!==null;){var s=C,o=s.child;if(C.flags&16){var a=s.deletions;if(a!==null){for(var u=0;u K()-Ji?It(e,0):Zi|=n),Ne(e,t)}function Ic(e,t){t===0&&(e.mode&1?(t=_r,_r<<=1,!(_r&130023424)&&(_r=4194304)):t=1);var n=me();e=st(e,t),e!==null&&(gr(e,t,n),Ne(e,n))}function zp(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Ic(e,n)}function Lp(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,l=e.memoizedState;l!==null&&(n=l.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(N(314))}r!==null&&r.delete(t),Ic(e,n)}var bc;bc=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||we.current)ye=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return ye=!1,yp(e,t,n);ye=!!(e.flags&131072)}else ye=!1,B&&t.flags&1048576&&Vu(t,dl,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Kr(e,t),e=t.pendingProps;var l=gn(t,ce.current);pn(t,n),l=Gi(null,t,r,e,l,n);var s=Qi();return t.flags|=1,typeof l=="object"&&l!==null&&typeof l.render=="function"&&l.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,je(r)?(s=!0,ul(t)):s=!1,t.memoizedState=l.state!==null&&l.state!==void 0?l.state:null,Vi(t),l.updater=Fl,t.stateNode=l,l._reactInternals=t,Ks(t,r,e,n),t=Zs(null,t,r,!0,s,n)):(t.tag=0,B&&s&&Oi(t),fe(null,t,l,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Kr(e,t),e=t.pendingProps,l=r._init,r=l(r._payload),t.type=r,l=t.tag=Op(r),e=be(r,e),l){case 0:t=Ys(null,t,r,e,n);break e;case 1:t=oa(null,t,r,e,n);break e;case 11:t=sa(null,t,r,e,n);break e;case 14:t=ia(null,t,r,be(r.type,e),n);break e}throw Error(N(306,r,""))}return t;case 0:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:be(r,l),Ys(e,t,r,l,n);case 1:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:be(r,l),oa(e,t,r,l,n);case 3:e:{if(wc(t),e===null)throw Error(N(387));r=t.pendingProps,s=t.memoizedState,l=s.element,Qu(e,t),ml(t,r,null,n);var o=t.memoizedState;if(r=o.element,s.isDehydrated)if(s={element:r,isDehydrated:!1,cache:o.cache,pendingSuspenseBoundaries:o.pendingSuspenseBoundaries,transitions:o.transitions},t.updateQueue.baseState=s,t.memoizedState=s,t.flags&256){l=wn(Error(N(423)),t),t=aa(e,t,r,n,l);break e}else if(r!==l){l=wn(Error(N(424)),t),t=aa(e,t,r,n,l);break e}else for(Se=wt(t.stateNode.containerInfo.firstChild),Ce=t,B=!0,Ae=null,n=Hu(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(vn(),r===l){t=it(e,t,n);break e}fe(e,t,r,n)}t=t.child}return t;case 5:return Xu(t),e===null&&Gs(t),r=t.type,l=t.pendingProps,s=e!==null?e.memoizedProps:null,o=l.children,Vs(r,l)?o=null:s!==null&&Vs(r,s)&&(t.flags|=32),yc(e,t),fe(e,t,o,n),t.child;case 6:return e===null&&Gs(t),null;case 13:return jc(e,t,n);case 4:return Wi(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=xn(t,null,r,n):fe(e,t,r,n),t.child;case 11:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:be(r,l),sa(e,t,r,l,n);case 7:return fe(e,t,t.pendingProps,n),t.child;case 8:return fe(e,t,t.pendingProps.children,n),t.child;case 12:return fe(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,l=t.pendingProps,s=t.memoizedProps,o=l.value,A(fl,r._currentValue),r._currentValue=o,s!==null)if(We(s.value,o)){if(s.children===l.children&&!we.current){t=it(e,t,n);break e}}else for(s=t.child,s!==null&&(s.return=t);s!==null;){var a=s.dependencies;if(a!==null){o=s.child;for(var u=a.firstContext;u!==null;){if(u.context===r){if(s.tag===1){u=nt(-1,n&-n),u.tag=2;var c=s.updateQueue;if(c!==null){c=c.shared;var g=c.pending;g===null?u.next=u:(u.next=g.next,g.next=u),c.pending=u}}s.lanes|=n,u=s.alternate,u!==null&&(u.lanes|=n),Qs(s.return,n,t),a.lanes|=n;break}u=u.next}}else if(s.tag===10)o=s.type===t.type?null:s.child;else if(s.tag===18){if(o=s.return,o===null)throw Error(N(341));o.lanes|=n,a=o.alternate,a!==null&&(a.lanes|=n),Qs(o,n,t),o=s.sibling}else o=s.child;if(o!==null)o.return=s;else for(o=s;o!==null;){if(o===t){o=null;break}if(s=o.sibling,s!==null){s.return=o.return,o=s;break}o=o.return}s=o}fe(e,t,l.children,n),t=t.child}return t;case 9:return l=t.type,r=t.pendingProps.children,pn(t,n),l=Fe(l),r=r(l),t.flags|=1,fe(e,t,r,n),t.child;case 14:return r=t.type,l=be(r,t.pendingProps),l=be(r.type,l),ia(e,t,r,l,n);case 15:return vc(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:be(r,l),Kr(e,t),t.tag=1,je(r)?(e=!0,ul(t)):e=!1,pn(t,n),mc(t,r,l),Ks(t,r,l,n),Zs(null,t,r,!0,e,n);case 19:return Nc(e,t,n);case 22:return xc(e,t,n)}throw Error(N(156,t.tag))};function Dc(e,t){return du(e,t)}function Fp(e,t,n,r){this.tag=e,this.key=n,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=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function ze(e,t,n,r){return new Fp(e,t,n,r)}function ro(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Op(e){if(typeof e=="function")return ro(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Ni)return 11;if(e===ki)return 14}return 2}function St(e,t){var n=e.alternate;return n===null?(n=ze(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Zr(e,t,n,r,l,s){var o=2;if(r=e,typeof e=="function")ro(e)&&(o=1);else if(typeof e=="string")o=5;else e:switch(e){case Yt:return bt(n.children,l,s,t);case ji:o=8,l|=8;break;case ys:return e=ze(12,n,t,l|2),e.elementType=ys,e.lanes=s,e;case ws:return e=ze(13,n,t,l),e.elementType=ws,e.lanes=s,e;case js:return e=ze(19,n,t,l),e.elementType=js,e.lanes=s,e;case Xa:return Il(n,l,s,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Ga:o=10;break e;case Qa:o=9;break e;case Ni:o=11;break e;case ki:o=14;break e;case ut:o=16,r=null;break e}throw Error(N(130,e==null?e:typeof e,""))}return t=ze(o,n,t,l),t.elementType=e,t.type=r,t.lanes=s,t}function bt(e,t,n,r){return e=ze(7,e,r,t),e.lanes=n,e}function Il(e,t,n,r){return e=ze(22,e,r,t),e.elementType=Xa,e.lanes=n,e.stateNode={isHidden:!1},e}function hs(e,t,n){return e=ze(6,e,null,t),e.lanes=n,e}function gs(e,t,n){return t=ze(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Rp(e,t,n,r,l){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=ql(0),this.expirationTimes=ql(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ql(0),this.identifierPrefix=r,this.onRecoverableError=l,this.mutableSourceEagerHydrationData=null}function lo(e,t,n,r,l,s,o,a,u){return e=new Rp(e,t,n,a,u),t===1?(t=1,s===!0&&(t|=8)):t=0,s=ze(3,null,null,t),e.current=s,s.stateNode=e,s.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Vi(s),e}function Ip(e,t,n){var r=3 "u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Wc)}catch(e){console.error(e)}}Wc(),Wa.exports=Pe;var Vp=Wa.exports,Bc,wa=Vp;Bc=wa.createRoot,wa.hydrateRoot;/** + * @remix-run/router v1.23.0 + * + * Copyright (c) Remix Software Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE.md file in the root directory of this source tree. + * + * @license MIT + */function pr(){return pr=Object.assign?Object.assign.bind():function(e){for(var t=1;t "u")throw new Error(t)}function $c(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function Bp(){return Math.random().toString(36).substr(2,8)}function Na(e,t){return{usr:e.state,key:e.key,idx:t}}function ci(e,t,n,r){return n===void 0&&(n=null),pr({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?En(t):t,{state:n,key:t&&t.key||r||Bp()})}function kl(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),r&&r!=="#"&&(t+=r.charAt(0)==="#"?r:"#"+r),t}function En(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function $p(e,t,n,r){r===void 0&&(r={});let{window:l=document.defaultView,v5Compat:s=!1}=r,o=l.history,a=ht.Pop,u=null,c=g();c==null&&(c=0,o.replaceState(pr({},o.state,{idx:c}),""));function g(){return(o.state||{idx:null}).idx}function p(){a=ht.Pop;let E=g(),f=E==null?null:E-c;c=E,u&&u({action:a,location:j.location,delta:f})}function h(E,f){a=ht.Push;let d=ci(j.location,E,f);c=g()+1;let m=Na(d,c),y=j.createHref(d);try{o.pushState(m,"",y)}catch(k){if(k instanceof DOMException&&k.name==="DataCloneError")throw k;l.location.assign(y)}s&&u&&u({action:a,location:j.location,delta:1})}function w(E,f){a=ht.Replace;let d=ci(j.location,E,f);c=g();let m=Na(d,c),y=j.createHref(d);o.replaceState(m,"",y),s&&u&&u({action:a,location:j.location,delta:0})}function x(E){let f=l.location.origin!=="null"?l.location.origin:l.location.href,d=typeof E=="string"?E:kl(E);return d=d.replace(/ $/,"%20"),Z(f,"No window.location.(origin|href) available to create URL for href: "+d),new URL(d,f)}let j={get action(){return a},get location(){return e(l,o)},listen(E){if(u)throw new Error("A history only accepts one active listener");return l.addEventListener(ja,p),u=E,()=>{l.removeEventListener(ja,p),u=null}},createHref(E){return t(l,E)},createURL:x,encodeLocation(E){let f=x(E);return{pathname:f.pathname,search:f.search,hash:f.hash}},push:h,replace:w,go(E){return o.go(E)}};return j}var ka;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(ka||(ka={}));function Hp(e,t,n){return n===void 0&&(n="/"),Gp(e,t,n,!1)}function Gp(e,t,n,r){let l=typeof t=="string"?En(t):t,s=ao(l.pathname||"/",n);if(s==null)return null;let o=Hc(e);Qp(o);let a=null;for(let u=0;a==null&&u {let u={relativePath:a===void 0?s.path||"":a,caseSensitive:s.caseSensitive===!0,childrenIndex:o,route:s};u.relativePath.startsWith("/")&&(Z(u.relativePath.startsWith(r),'Absolute route path "'+u.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),u.relativePath=u.relativePath.slice(r.length));let c=Ct([r,u.relativePath]),g=n.concat(u);s.children&&s.children.length>0&&(Z(s.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+c+'".')),Hc(s.children,t,g,c)),!(s.path==null&&!s.index)&&t.push({path:c,score:em(c,s.index),routesMeta:g})};return e.forEach((s,o)=>{var a;if(s.path===""||!((a=s.path)!=null&&a.includes("?")))l(s,o);else for(let u of Gc(s.path))l(s,o,u)}),t}function Gc(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,l=n.endsWith("?"),s=n.replace(/\?$/,"");if(r.length===0)return l?[s,""]:[s];let o=Gc(r.join("/")),a=[];return a.push(...o.map(u=>u===""?s:[s,u].join("/"))),l&&a.push(...o),a.map(u=>e.startsWith("/")&&u===""?"/":u)}function Qp(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:tm(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const Xp=/^:[\w-]+$/,Kp=3,qp=2,Yp=1,Zp=10,Jp=-2,Sa=e=>e==="*";function em(e,t){let n=e.split("/"),r=n.length;return n.some(Sa)&&(r+=Jp),t&&(r+=qp),n.filter(l=>!Sa(l)).reduce((l,s)=>l+(Xp.test(s)?Kp:s===""?Yp:Zp),r)}function tm(e,t){return e.length===t.length&&e.slice(0,-1).every((r,l)=>r===t[l])?e[e.length-1]-t[t.length-1]:0}function nm(e,t,n){let{routesMeta:r}=e,l={},s="/",o=[];for(let a=0;a {let{paramName:h,isOptional:w}=g;if(h==="*"){let j=a[p]||"";o=s.slice(0,s.length-j.length).replace(/(.)\/+$/,"$1")}const x=a[p];return w&&!x?c[h]=void 0:c[h]=(x||"").replace(/%2F/g,"/"),c},{}),pathname:s,pathnameBase:o,pattern:e}}function rm(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),$c(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let r=[],l="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(o,a,u)=>(r.push({paramName:a,isOptional:u!=null}),u?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),l+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?l+="\\/*$":e!==""&&e!=="/"&&(l+="(?:(?=\\/|$))"),[new RegExp(l,t?void 0:"i"),r]}function lm(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return $c(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function ao(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}function sm(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:l=""}=typeof e=="string"?En(e):e;return{pathname:n?n.startsWith("/")?n:im(n,t):t,search:um(r),hash:cm(l)}}function im(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(l=>{l===".."?n.length>1&&n.pop():l!=="."&&n.push(l)}),n.length>1?n.join("/"):"/"}function vs(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(r)+"]. Please separate it out to the ")+("`to."+n+"` field. Alternatively you may provide the full path as ")+'a string in and the router will parse it for you.'}function om(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function Qc(e,t){let n=om(e);return t?n.map((r,l)=>l===n.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function Xc(e,t,n,r){r===void 0&&(r=!1);let l;typeof e=="string"?l=En(e):(l=pr({},e),Z(!l.pathname||!l.pathname.includes("?"),vs("?","pathname","search",l)),Z(!l.pathname||!l.pathname.includes("#"),vs("#","pathname","hash",l)),Z(!l.search||!l.search.includes("#"),vs("#","search","hash",l)));let s=e===""||l.pathname==="",o=s?"/":l.pathname,a;if(o==null)a=n;else{let p=t.length-1;if(!r&&o.startsWith("..")){let h=o.split("/");for(;h[0]==="..";)h.shift(),p-=1;l.pathname=h.join("/")}a=p>=0?t[p]:"/"}let u=sm(l,a),c=o&&o!=="/"&&o.endsWith("/"),g=(s||o===".")&&n.endsWith("/");return!u.pathname.endsWith("/")&&(c||g)&&(u.pathname+="/"),u}const Ct=e=>e.join("/").replace(/\/\/+/g,"/"),am=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),um=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,cm=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function dm(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const Kc=["post","put","patch","delete"];new Set(Kc);const fm=["get",...Kc];new Set(fm);/** + * React Router v6.30.0 + * + * Copyright (c) Remix Software Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE.md file in the root directory of this source tree. + * + * @license MIT + */function mr(){return mr=Object.assign?Object.assign.bind():function(e){for(var t=1;t {a.current=!0}),v.useCallback(function(c,g){if(g===void 0&&(g={}),!a.current)return;if(typeof c=="number"){r.go(c);return}let p=Xc(c,JSON.parse(o),s,g.relative==="path");e==null&&t!=="/"&&(p.pathname=p.pathname==="/"?t:Ct([t,p.pathname])),(g.replace?r.replace:r.push)(p,g.state,g)},[t,r,o,s,e])}function Zc(e,t){let{relative:n}=t===void 0?{}:t,{future:r}=v.useContext(Ht),{matches:l}=v.useContext(Gt),{pathname:s}=Wl(),o=JSON.stringify(Qc(l,r.v7_relativeSplatPath));return v.useMemo(()=>Xc(e,JSON.parse(o),s,n==="path"),[e,o,s,n])}function vm(e,t){return xm(e,t)}function xm(e,t,n,r){wr()||Z(!1);let{navigator:l,static:s}=v.useContext(Ht),{matches:o}=v.useContext(Gt),a=o[o.length-1],u=a?a.params:{};a&&a.pathname;let c=a?a.pathnameBase:"/";a&&a.route;let g=Wl(),p;if(t){var h;let f=typeof t=="string"?En(t):t;c==="/"||(h=f.pathname)!=null&&h.startsWith(c)||Z(!1),p=f}else p=g;let w=p.pathname||"/",x=w;if(c!=="/"){let f=c.replace(/^\//,"").split("/");x="/"+w.replace(/^\//,"").split("/").slice(f.length).join("/")}let j=!s&&n&&n.matches&&n.matches.length>0?n.matches:Hp(e,{pathname:x}),E=km(j&&j.map(f=>Object.assign({},f,{params:Object.assign({},u,f.params),pathname:Ct([c,l.encodeLocation?l.encodeLocation(f.pathname).pathname:f.pathname]),pathnameBase:f.pathnameBase==="/"?c:Ct([c,l.encodeLocation?l.encodeLocation(f.pathnameBase).pathname:f.pathnameBase])})),o,n,r);return t&&E?v.createElement(Vl.Provider,{value:{location:mr({pathname:"/",search:"",hash:"",state:null,key:"default"},p),navigationType:ht.Pop}},E):E}function ym(){let e=Pm(),t=dm(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,l={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return v.createElement(v.Fragment,null,v.createElement("h2",null,"Unexpected Application Error!"),v.createElement("h3",{style:{fontStyle:"italic"}},t),n?v.createElement("pre",{style:l},n):null,null)}const wm=v.createElement(ym,null);class jm extends v.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location||n.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:n.error,location:n.location,revalidation:t.revalidation||n.revalidation}}componentDidCatch(t,n){console.error("React Router caught the following error during render",t,n)}render(){return this.state.error!==void 0?v.createElement(Gt.Provider,{value:this.props.routeContext},v.createElement(qc.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function Nm(e){let{routeContext:t,match:n,children:r}=e,l=v.useContext(uo);return l&&l.static&&l.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(l.staticContext._deepestRenderedBoundaryId=n.route.id),v.createElement(Gt.Provider,{value:t},r)}function km(e,t,n,r){var l;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var s;if(!n)return null;if(n.errors)e=n.matches;else if((s=r)!=null&&s.v7_partialHydration&&t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let o=e,a=(l=n)==null?void 0:l.errors;if(a!=null){let g=o.findIndex(p=>p.route.id&&(a==null?void 0:a[p.route.id])!==void 0);g>=0||Z(!1),o=o.slice(0,Math.min(o.length,g+1))}let u=!1,c=-1;if(n&&r&&r.v7_partialHydration)for(let g=0;g =0?o=o.slice(0,c+1):o=[o[0]];break}}}return o.reduceRight((g,p,h)=>{let w,x=!1,j=null,E=null;n&&(w=a&&p.route.id?a[p.route.id]:void 0,j=p.route.errorElement||wm,u&&(c<0&&h===0?(x=!0,E=null):c===h&&(x=!0,E=p.route.hydrateFallbackElement||null)));let f=t.concat(o.slice(0,h+1)),d=()=>{let m;return w?m=j:x?m=E:p.route.Component?m=v.createElement(p.route.Component,null):p.route.element?m=p.route.element:m=g,v.createElement(Nm,{match:p,routeContext:{outlet:g,matches:f,isDataRoute:n!=null},children:m})};return n&&(p.route.ErrorBoundary||p.route.errorElement||h===0)?v.createElement(jm,{location:n.location,revalidation:n.revalidation,component:j,error:w,children:d(),routeContext:{outlet:null,matches:f,isDataRoute:!0}}):d()},null)}var Jc=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(Jc||{}),Sl=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(Sl||{});function Sm(e){let t=v.useContext(uo);return t||Z(!1),t}function Cm(e){let t=v.useContext(pm);return t||Z(!1),t}function Em(e){let t=v.useContext(Gt);return t||Z(!1),t}function ed(e){let t=Em(),n=t.matches[t.matches.length-1];return n.route.id||Z(!1),n.route.id}function Pm(){var e;let t=v.useContext(qc),n=Cm(Sl.UseRouteError),r=ed(Sl.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function Mm(){let{router:e}=Sm(Jc.UseNavigateStable),t=ed(Sl.UseNavigateStable),n=v.useRef(!1);return Yc(()=>{n.current=!0}),v.useCallback(function(l,s){s===void 0&&(s={}),n.current&&(typeof l=="number"?e.navigate(l):e.navigate(l,mr({fromRouteId:t},s)))},[e,t])}function _m(e,t){e==null||e.v7_startTransition,e==null||e.v7_relativeSplatPath}function Ge(e){Z(!1)}function Tm(e){let{basename:t="/",children:n=null,location:r,navigationType:l=ht.Pop,navigator:s,static:o=!1,future:a}=e;wr()&&Z(!1);let u=t.replace(/^\/*/,"/"),c=v.useMemo(()=>({basename:u,navigator:s,static:o,future:mr({v7_relativeSplatPath:!1},a)}),[u,a,s,o]);typeof r=="string"&&(r=En(r));let{pathname:g="/",search:p="",hash:h="",state:w=null,key:x="default"}=r,j=v.useMemo(()=>{let E=ao(g,u);return E==null?null:{location:{pathname:E,search:p,hash:h,state:w,key:x},navigationType:l}},[u,g,p,h,w,x,l]);return j==null?null:v.createElement(Ht.Provider,{value:c},v.createElement(Vl.Provider,{children:n,value:j}))}function zm(e){let{children:t,location:n}=e;return vm(di(t),n)}new Promise(()=>{});function di(e,t){t===void 0&&(t=[]);let n=[];return v.Children.forEach(e,(r,l)=>{if(!v.isValidElement(r))return;let s=[...t,l];if(r.type===v.Fragment){n.push.apply(n,di(r.props.children,s));return}r.type!==Ge&&Z(!1),!r.props.index||!r.props.children||Z(!1);let o={id:r.props.id||s.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(o.children=di(r.props.children,s)),n.push(o)}),n}/** + * React Router DOM v6.30.0 + * + * Copyright (c) Remix Software Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE.md file in the root directory of this source tree. + * + * @license MIT + */function fi(){return fi=Object.assign?Object.assign.bind():function(e){for(var t=1;t =0)&&(n[l]=e[l]);return n}function Fm(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function Om(e,t){return e.button===0&&(!t||t==="_self")&&!Fm(e)}const Rm=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],Im="6";try{window.__reactRouterVersion=Im}catch{}const bm="startTransition",Ea=_d[bm];function Dm(e){let{basename:t,children:n,future:r,window:l}=e,s=v.useRef();s.current==null&&(s.current=Wp({window:l,v5Compat:!0}));let o=s.current,[a,u]=v.useState({action:o.action,location:o.location}),{v7_startTransition:c}=r||{},g=v.useCallback(p=>{c&&Ea?Ea(()=>u(p)):u(p)},[u,c]);return v.useLayoutEffect(()=>o.listen(g),[o,g]),v.useEffect(()=>_m(r),[r]),v.createElement(Tm,{basename:t,children:n,location:a.location,navigationType:a.action,navigator:o,future:r})}const Am=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",Um=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Ie=v.forwardRef(function(t,n){let{onClick:r,relative:l,reloadDocument:s,replace:o,state:a,target:u,to:c,preventScrollReset:g,viewTransition:p}=t,h=Lm(t,Rm),{basename:w}=v.useContext(Ht),x,j=!1;if(typeof c=="string"&&Um.test(c)&&(x=c,Am))try{let m=new URL(window.location.href),y=c.startsWith("//")?new URL(m.protocol+c):new URL(c),k=ao(y.pathname,w);y.origin===m.origin&&k!=null?c=k+y.search+y.hash:j=!0}catch{}let E=mm(c,{relative:l}),f=Vm(c,{replace:o,state:a,target:u,preventScrollReset:g,relative:l,viewTransition:p});function d(m){r&&r(m),m.defaultPrevented||f(m)}return v.createElement("a",fi({},h,{href:x||E,onClick:j||s?r:d,ref:n,target:u}))});var Pa;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(Pa||(Pa={}));var Ma;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(Ma||(Ma={}));function Vm(e,t){let{target:n,replace:r,state:l,preventScrollReset:s,relative:o,viewTransition:a}=t===void 0?{}:t,u=hm(),c=Wl(),g=Zc(e,{relative:o});return v.useCallback(p=>{if(Om(p,n)){p.preventDefault();let h=r!==void 0?r:kl(c)===kl(g);u(e,{replace:h,state:l,preventScrollReset:s,relative:o,viewTransition:a})}},[c,u,g,r,l,n,e,s,o,a])}/** + * @license lucide-react v0.344.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */var Wm={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/** + * @license lucide-react v0.344.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const Bm=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase().trim(),L=(e,t)=>{const n=v.forwardRef(({color:r="currentColor",size:l=24,strokeWidth:s=2,absoluteStrokeWidth:o,className:a="",children:u,...c},g)=>v.createElement("svg",{ref:g,...Wm,width:l,height:l,stroke:r,strokeWidth:o?Number(s)*24/Number(l):s,className:["lucide",`lucide-${Bm(e)}`,a].join(" "),...c},[...t.map(([p,h])=>v.createElement(p,h)),...Array.isArray(u)?u:[u]]));return n.displayName=`${e}`,n};/** + * @license lucide-react v0.344.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const td=L("AlertCircle",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]]);/** + * @license lucide-react v0.344.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const $m=L("Archive",[["rect",{width:"20",height:"5",x:"2",y:"3",rx:"1",key:"1wp1u1"}],["path",{d:"M4 8v11a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8",key:"1s80jp"}],["path",{d:"M10 12h4",key:"a56b0p"}]]);/** + * @license lucide-react v0.344.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const Hm=L("Book",[["path",{d:"M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H20v20H6.5a2.5 2.5 0 0 1 0-5H20",key:"t4utmx"}]]);/** + * @license lucide-react v0.344.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const de=L("CheckCircle",[["path",{d:"M22 11.08V12a10 10 0 1 1-5.93-9.14",key:"g774vq"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]]);/** + * @license lucide-react v0.344.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const Gm=L("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);/** + * @license lucide-react v0.344.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const pi=L("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);/** + * @license lucide-react v0.344.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const Qm=L("ChevronUp",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]]);/** + * @license lucide-react v0.344.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const Xm=L("Clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]]);/** + * @license lucide-react v0.344.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const Km=L("Code",[["polyline",{points:"16 18 22 12 16 6",key:"z7tu5w"}],["polyline",{points:"8 6 2 12 8 18",key:"1eg1df"}]]);/** + * @license lucide-react v0.344.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const qm=L("Database",[["ellipse",{cx:"12",cy:"5",rx:"9",ry:"3",key:"msslwz"}],["path",{d:"M3 5V19A9 3 0 0 0 21 19V5",key:"1wlel7"}],["path",{d:"M3 12A9 3 0 0 0 21 12",key:"mv7ke4"}]]);/** + * @license lucide-react v0.344.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const Ym=L("Facebook",[["path",{d:"M18 2h-3a5 5 0 0 0-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 0 1 1-1h3z",key:"1jg4f8"}]]);/** + * @license lucide-react v0.344.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const Zm=L("FileAudio",[["path",{d:"M17.5 22h.5a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v3",key:"rslqgf"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M2 19a2 2 0 1 1 4 0v1a2 2 0 1 1-4 0v-4a6 6 0 0 1 12 0v4a2 2 0 1 1-4 0v-1a2 2 0 1 1 4 0",key:"9f7x3i"}]]);/** + * @license lucide-react v0.344.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const Jm=L("FileCode",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"m10 13-2 2 2 2",key:"17smn8"}],["path",{d:"m14 17 2-2-2-2",key:"14mezr"}]]);/** + * @license lucide-react v0.344.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const eh=L("FileImage",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["circle",{cx:"10",cy:"12",r:"2",key:"737tya"}],["path",{d:"m20 17-1.296-1.296a2.41 2.41 0 0 0-3.408 0L9 22",key:"wt3hpn"}]]);/** + * @license lucide-react v0.344.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const Bl=L("FileText",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]]);/** + * @license lucide-react v0.344.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const th=L("FileType",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M9 13v-1h6v1",key:"1bb014"}],["path",{d:"M12 12v6",key:"3ahymv"}],["path",{d:"M11 18h2",key:"12mj7e"}]]);/** + * @license lucide-react v0.344.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const nd=L("FileVideo",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"m10 11 5 3-5 3v-6Z",key:"7ntvm4"}]]);/** + * @license lucide-react v0.344.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const Nn=L("File",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}]]);/** + * @license lucide-react v0.344.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const rd=L("Globe",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]]);/** + * @license lucide-react v0.344.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const nh=L("Image",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["circle",{cx:"9",cy:"9",r:"2",key:"af1f0g"}],["path",{d:"m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21",key:"1xmnt7"}]]);/** + * @license lucide-react v0.344.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const rh=L("Instagram",[["rect",{width:"20",height:"20",x:"2",y:"2",rx:"5",ry:"5",key:"2e1cvw"}],["path",{d:"M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z",key:"9exkf1"}],["line",{x1:"17.5",x2:"17.51",y1:"6.5",y2:"6.5",key:"r4j83e"}]]);/** + * @license lucide-react v0.344.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const ld=L("Mail",[["rect",{width:"20",height:"16",x:"2",y:"4",rx:"2",key:"18n3k1"}],["path",{d:"m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7",key:"1ocrg3"}]]);/** + * @license lucide-react v0.344.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const lh=L("MapPin",[["path",{d:"M20 10c0 6-8 12-8 12s-8-6-8-12a8 8 0 0 1 16 0Z",key:"2oe9fu"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]]);/** + * @license lucide-react v0.344.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const sh=L("Menu",[["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}],["line",{x1:"4",x2:"20",y1:"6",y2:"6",key:"1owob3"}],["line",{x1:"4",x2:"20",y1:"18",y2:"18",key:"yk5zj1"}]]);/** + * @license lucide-react v0.344.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const sd=L("MessageCircle",[["path",{d:"M7.9 20A9 9 0 1 0 4 16.1L2 22Z",key:"vv11sd"}]]);/** + * @license lucide-react v0.344.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const ih=L("MessageSquare",[["path",{d:"M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z",key:"1lielz"}]]);/** + * @license lucide-react v0.344.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const oh=L("Music",[["path",{d:"M9 18V5l12-2v13",key:"1jmyc2"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}],["circle",{cx:"18",cy:"16",r:"3",key:"1hluhg"}]]);/** + * @license lucide-react v0.344.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const ah=L("Phone",[["path",{d:"M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z",key:"foiqr5"}]]);/** + * @license lucide-react v0.344.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const uh=L("RefreshCw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]]);/** + * @license lucide-react v0.344.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const ch=L("Rocket",[["path",{d:"M4.5 16.5c-1.5 1.26-2 5-2 5s3.74-.5 5-2c.71-.84.7-2.13-.09-2.91a2.18 2.18 0 0 0-2.91-.09z",key:"m3kijz"}],["path",{d:"m12 15-3-3a22 22 0 0 1 2-3.95A12.88 12.88 0 0 1 22 2c0 2.72-.78 7.5-6 11a22.35 22.35 0 0 1-4 2z",key:"1fmvmk"}],["path",{d:"M9 12H4s.55-3.03 2-4c1.62-1.08 5 0 5 0",key:"1f8sc4"}],["path",{d:"M12 15v5s3.03-.55 4-2c1.08-1.62 0-5 0-5",key:"qeys4"}]]);/** + * @license lucide-react v0.344.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const dh=L("Search",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]]);/** + * @license lucide-react v0.344.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const fh=L("Server",[["rect",{width:"20",height:"8",x:"2",y:"2",rx:"2",ry:"2",key:"ngkwjq"}],["rect",{width:"20",height:"8",x:"2",y:"14",rx:"2",ry:"2",key:"iecqi9"}],["line",{x1:"6",x2:"6.01",y1:"6",y2:"6",key:"16zg32"}],["line",{x1:"6",x2:"6.01",y1:"18",y2:"18",key:"nzw8ys"}]]);/** + * @license lucide-react v0.344.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const ph=L("Settings",[["path",{d:"M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z",key:"1qme2f"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);/** + * @license lucide-react v0.344.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const co=L("Shield",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}]]);/** + * @license lucide-react v0.344.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const mh=L("Smartphone",[["rect",{width:"14",height:"20",x:"5",y:"2",rx:"2",ry:"2",key:"1yt0o3"}],["path",{d:"M12 18h.01",key:"mhygvu"}]]);/** + * @license lucide-react v0.344.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const hh=L("Star",[["polygon",{points:"12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2",key:"8f66p6"}]]);/** + * @license lucide-react v0.344.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const gh=L("Twitter",[["path",{d:"M22 4s-.7 2.1-2 3.4c1.6 10-9.4 17.3-18 11.6 2.2.1 4.4-.6 6-2C3 15.5.5 9.6 3 5c2.2 2.6 5.6 4.1 9 4-.9-4.2 4-6.6 7-3.8 1.1 0 3-1.2 3-1.2z",key:"pff0z6"}]]);/** + * @license lucide-react v0.344.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const id=L("Upload",[["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["polyline",{points:"17 8 12 3 7 8",key:"t8dd8p"}],["line",{x1:"12",x2:"12",y1:"3",y2:"15",key:"widbto"}]]);/** + * @license lucide-react v0.344.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const vh=L("Users",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["path",{d:"M16 3.13a4 4 0 0 1 0 7.75",key:"1da9ce"}]]);/** + * @license lucide-react v0.344.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const _a=L("XCircle",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]]);/** + * @license lucide-react v0.344.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const od=L("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);/** + * @license lucide-react v0.344.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const ad=L("Zap",[["polygon",{points:"13 2 3 14 12 14 11 22 21 10 12 10 13 2",key:"45s27k"}]]),pe=({children:e,variant:t="primary",size:n="md",fullWidth:r=!1,isLoading:l=!1,disabled:s=!1,onClick:o,type:a="button"})=>{const u="font-medium rounded-lg transition-all duration-200 flex items-center justify-center",c={primary:"bg-blue-500 text-white hover:bg-blue-600 active:bg-blue-700",secondary:"bg-teal-500 text-white hover:bg-teal-600 active:bg-teal-700",outline:"bg-transparent border border-blue-500 text-blue-500 hover:bg-blue-50",ghost:"bg-transparent text-blue-500 hover:bg-blue-50"},g={sm:"text-sm px-3 py-1.5",md:"px-4 py-2",lg:"text-lg px-6 py-3"},p=r?"w-full":"",h=s||l?"opacity-60 cursor-not-allowed":"cursor-pointer";return i.jsx("button",{type:a,className:`${u} ${c[t]} ${g[n]} ${p} ${h}`,onClick:o,disabled:s||l,children:l?i.jsxs(i.Fragment,{children:[i.jsxs("svg",{className:"animate-spin -ml-1 mr-2 h-4 w-4 text-current",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",children:[i.jsx("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),i.jsx("path",{className:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})]}),"Processing..."]}):e})},$l=({isOpen:e,onClose:t,title:n,children:r,persistent:l=!1})=>{const s=v.useRef(null);return v.useEffect(()=>{const o=u=>{!l&&u.key==="Escape"&&t()},a=u=>{!l&&s.current&&!s.current.contains(u.target)&&t()};return e&&(document.addEventListener("keydown",o),document.addEventListener("mousedown",a),document.body.style.overflow="hidden"),()=>{document.removeEventListener("keydown",o),document.removeEventListener("mousedown",a),document.body.style.overflow="auto"}},[e,t,l]),e?i.jsx("div",{className:"fixed inset-0 z-50 overflow-y-auto bg-black bg-opacity-50 flex items-center justify-center p-4",children:i.jsxs("div",{ref:s,className:"bg-white rounded-xl shadow-xl w-full max-w-md mx-auto transform transition-all opacity-100 scale-100",children:[i.jsxs("div",{className:"flex items-center justify-between px-6 py-4 border-b border-gray-100",children:[i.jsx("h3",{className:"text-lg font-medium",children:n}),i.jsx("button",{onClick:t,className:"text-red-500 hover:text-red-700 transition-colors p-1 rounded-full hover:bg-red-50",children:i.jsx(od,{size:24})})]}),i.jsx("div",{className:"px-6 py-4",children:r})]})}):null},gt=({id:e,label:t,placeholder:n,type:r="text",error:l,value:s,onChange:o,required:a=!1,className:u=""})=>i.jsxs("div",{className:`mb-4 ${u}`,children:[t&&i.jsxs("label",{htmlFor:e,className:"block text-sm font-medium text-gray-700 mb-1",children:[t," ",a&&i.jsx("span",{className:"text-red-500",children:"*"})]}),i.jsx("input",{id:e,type:r,placeholder:n,value:s,onChange:o,required:a,className:`w-full px-4 py-2 rounded-lg border ${l?"border-red-500 focus:ring-red-500":"border-gray-300 focus:ring-blue-500"} focus:border-transparent focus:outline-none focus:ring-2`}),l&&i.jsx("p",{className:"mt-1 text-sm text-red-500",children:l})]}),jr=({isOpen:e,onClose:t,onRegisterClick:n})=>{const[r,l]=v.useState(""),[s,o]=v.useState(""),[a,u]=v.useState(""),[c,g]=v.useState(!1),p=h=>{h.preventDefault(),g(!0),u(""),setTimeout(()=>{g(!1),u("Invalid email or password. Please try again.")},1500)};return i.jsx($l,{isOpen:e,onClose:t,title:"Log in to your account",persistent:!0,children:i.jsxs("form",{onSubmit:p,className:"bg-gradient-to-br from-blue-50 to-teal-50 p-6 rounded-lg",children:[a&&i.jsx("div",{className:"mb-4 p-3 bg-red-50 text-red-700 rounded-lg text-sm",children:a}),i.jsx(gt,{id:"email",label:"Email",type:"email",value:r,onChange:h=>l(h.target.value),required:!0}),i.jsx(gt,{id:"password",label:"Password",type:"password",value:s,onChange:h=>o(h.target.value),required:!0}),i.jsxs("div",{className:"flex justify-between items-center mb-6 text-sm",children:[i.jsxs("div",{className:"flex items-center",children:[i.jsx("input",{id:"remember",type:"checkbox",className:"h-4 w-4 text-blue-500 border-gray-300 rounded focus:ring-blue-500"}),i.jsx("label",{htmlFor:"remember",className:"ml-2 text-gray-700",children:"Remember me"})]}),i.jsx("a",{href:"#",className:"text-blue-500 hover:text-blue-700 transition-colors",children:"Forgot password?"})]}),i.jsx(pe,{type:"submit",fullWidth:!0,isLoading:c,disabled:c,children:"Log in"}),i.jsxs("div",{className:"mt-4 text-center text-sm text-gray-600",children:["Don't have an account?"," ",i.jsx("button",{type:"button",className:"text-blue-500 hover:text-blue-700 transition-colors",onClick:n,children:"Sign up"})]})]})})},ud=({isOpen:e,onClose:t,onLoginClick:n})=>{const[r,l]=v.useState(""),[s,o]=v.useState(""),[a,u]=v.useState(""),[c,g]=v.useState(""),[p,h]=v.useState({}),[w,x]=v.useState(!1),j=f=>/^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/.test(f),E=f=>{if(f.preventDefault(),h({}),!j(s)){h(d=>({...d,email:"Please enter a valid email address"}));return}x(!0),setTimeout(()=>{x(!1),h({inviteCode:"Invalid invite code. Registration requires a valid invitation."})},1500)};return i.jsx($l,{isOpen:e,onClose:t,title:"Create an account",persistent:!0,children:i.jsxs("form",{onSubmit:E,className:"bg-gradient-to-br from-blue-50 to-teal-50 p-6 rounded-lg",children:[p.general&&i.jsx("div",{className:"mb-4 p-3 bg-red-50 text-red-700 rounded-lg text-sm",children:p.general}),i.jsx(gt,{id:"name",label:"Full Name",value:r,onChange:f=>l(f.target.value),required:!0}),i.jsx(gt,{id:"email",label:"Email",type:"email",value:s,onChange:f=>o(f.target.value),error:p.email,required:!0}),i.jsx(gt,{id:"password",label:"Password",type:"password",value:a,onChange:f=>u(f.target.value),required:!0}),i.jsx(gt,{id:"inviteCode",label:"Invite Code",value:c,onChange:f=>g(f.target.value),error:p.inviteCode,required:!0}),i.jsxs("div",{className:"mb-6 text-sm text-gray-600",children:["By creating an account, you agree to our"," ",i.jsx(Ie,{to:"/terms",className:"text-blue-500 hover:text-blue-700 transition-colors",children:"Terms of Service"})," ","and"," ",i.jsx(Ie,{to:"/privacy",className:"text-blue-500 hover:text-blue-700 transition-colors",children:"Privacy Policy"}),"."]}),i.jsx(pe,{type:"submit",fullWidth:!0,isLoading:w,disabled:w,children:"Create Account"}),i.jsxs("div",{className:"mt-4 text-center text-sm text-gray-600",children:["Already have an account?"," ",i.jsx("button",{type:"button",className:"text-blue-500 hover:text-blue-700 transition-colors",onClick:n,children:"Log in"})]})]})})},xh=()=>{const[e,t]=v.useState(!1),[n,r]=v.useState(!1),[l,s]=v.useState(!1),[o,a]=v.useState(!1);return v.useEffect(()=>{const u=()=>{r(window.scrollY>10)};return window.addEventListener("scroll",u),()=>window.removeEventListener("scroll",u)},[]),i.jsxs(i.Fragment,{children:[i.jsxs("header",{className:`fixed w-full z-30 transition-all duration-300 ${n?"bg-white shadow-md py-2":"bg-transparent py-4"}`,children:[i.jsx("div",{className:"container mx-auto px-4",children:i.jsxs("div",{className:"flex items-center justify-between",children:[i.jsxs("div",{className:"flex items-center",children:[i.jsx(Nn,{className:"h-8 w-8 text-blue-500 mr-2"}),i.jsx("span",{className:"text-xl font-bold bg-gradient-to-r from-blue-500 to-teal-400 bg-clip-text text-transparent",children:"ConvertMaster"})]}),i.jsxs("nav",{className:"hidden md:flex items-center space-x-8",children:[i.jsx("a",{href:"#features",className:"text-gray-700 hover:text-blue-500 transition-colors",children:"Features"}),i.jsx("a",{href:"#formats",className:"text-gray-700 hover:text-blue-500 transition-colors",children:"Supported Formats"}),i.jsx("a",{href:"#pricing",className:"text-gray-700 hover:text-blue-500 transition-colors",children:"Pricing"}),i.jsxs("div",{className:"flex space-x-2",children:[i.jsx(pe,{variant:"outline",size:"sm",onClick:()=>s(!0),children:"Log in"}),i.jsx(pe,{variant:"primary",size:"sm",onClick:()=>a(!0),children:"Sign up"})]})]}),i.jsx("button",{className:"md:hidden text-gray-700 hover:text-blue-500 transition-colors",onClick:()=>t(!e),children:e?i.jsx(od,{size:24}):i.jsx(sh,{size:24})})]})}),e&&i.jsx("div",{className:"md:hidden bg-white",children:i.jsxs("div",{className:"container mx-auto px-4 py-4 flex flex-col space-y-4",children:[i.jsx("a",{href:"#features",className:"text-gray-700 hover:text-blue-500 transition-colors py-2",onClick:()=>t(!1),children:"Features"}),i.jsx("a",{href:"#formats",className:"text-gray-700 hover:text-blue-500 transition-colors py-2",onClick:()=>t(!1),children:"Supported Formats"}),i.jsx("a",{href:"#pricing",className:"text-gray-700 hover:text-blue-500 transition-colors py-2",onClick:()=>t(!1),children:"Pricing"}),i.jsxs("div",{className:"flex flex-col space-y-2 pt-2",children:[i.jsx(pe,{onClick:()=>{t(!1),s(!0)},children:"Log in"}),i.jsx(pe,{variant:"secondary",onClick:()=>{t(!1),a(!0)},children:"Sign up"})]})]})})]}),i.jsx(jr,{isOpen:l,onClose:()=>s(!1),onRegisterClick:()=>{s(!1),a(!0)}}),i.jsx(ud,{isOpen:o,onClose:()=>a(!1),onLoginClick:()=>{a(!1),s(!0)}})]})},yh=()=>i.jsx("footer",{className:"bg-gray-900 text-white pt-12 pb-8",children:i.jsxs("div",{className:"container mx-auto px-4",children:[i.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-4 gap-8",children:[i.jsxs("div",{children:[i.jsxs("div",{className:"flex items-center mb-4",children:[i.jsx(Nn,{className:"h-6 w-6 text-blue-400 mr-2"}),i.jsx("span",{className:"text-xl font-bold bg-gradient-to-r from-blue-400 to-teal-300 bg-clip-text text-transparent",children:"ConvertMaster"})]}),i.jsx("p",{className:"text-gray-400 mb-4",children:"The ultimate tool for converting your files to any format you need. Fast, secure, and easy to use."}),i.jsxs("div",{className:"flex space-x-4",children:[i.jsx("a",{href:"#",className:"text-gray-400 hover:text-white transition-colors",children:i.jsx(gh,{size:20})}),i.jsx("a",{href:"#",className:"text-gray-400 hover:text-white transition-colors",children:i.jsx(Ym,{size:20})}),i.jsx("a",{href:"#",className:"text-gray-400 hover:text-white transition-colors",children:i.jsx(rh,{size:20})}),i.jsx("a",{href:"#",className:"text-gray-400 hover:text-white transition-colors",children:i.jsx(ld,{size:20})})]})]}),i.jsxs("div",{children:[i.jsx("h3",{className:"text-lg font-medium mb-4",children:"Quick Links"}),i.jsxs("ul",{className:"space-y-2",children:[i.jsx("li",{children:i.jsx(Ie,{to:"/",className:"text-gray-400 hover:text-white transition-colors",children:"Home"})}),i.jsx("li",{children:i.jsx(Ie,{to:"/features",className:"text-gray-400 hover:text-white transition-colors",children:"Features"})}),i.jsx("li",{children:i.jsx(Ie,{to:"/formats",className:"text-gray-400 hover:text-white transition-colors",children:"Supported Formats"})}),i.jsx("li",{children:i.jsx(Ie,{to:"/pricing",className:"text-gray-400 hover:text-white transition-colors",children:"Pricing"})})]})]}),i.jsxs("div",{children:[i.jsx("h3",{className:"text-lg font-medium mb-4",children:"Support"}),i.jsxs("ul",{className:"space-y-2",children:[i.jsx("li",{children:i.jsx(Ie,{to:"/help",className:"text-gray-400 hover:text-white transition-colors",children:"Help Center"})}),i.jsx("li",{children:i.jsx(Ie,{to:"/faq",className:"text-gray-400 hover:text-white transition-colors",children:"FAQs"})}),i.jsx("li",{children:i.jsx(Ie,{to:"/contact",className:"text-gray-400 hover:text-white transition-colors",children:"Contact Us"})}),i.jsx("li",{children:i.jsx(Ie,{to:"/privacy",className:"text-gray-400 hover:text-white transition-colors",children:"Privacy Policy"})}),i.jsx("li",{children:i.jsx(Ie,{to:"/terms",className:"text-gray-400 hover:text-white transition-colors",children:"Terms of Service"})})]})]}),i.jsxs("div",{children:[i.jsx("h3",{className:"text-lg font-medium mb-4",children:"Newsletter"}),i.jsx("p",{className:"text-gray-400 mb-4",children:"Subscribe to our newsletter for updates and tips."}),i.jsxs("form",{className:"flex",children:[i.jsx("input",{type:"email",placeholder:"Your email",className:"px-4 py-2 rounded-l-lg w-full focus:outline-none text-gray-800"}),i.jsx("button",{type:"submit",className:"bg-blue-500 text-white px-4 py-2 rounded-r-lg hover:bg-blue-600 transition-colors",children:"Subscribe"})]})]})]}),i.jsx("div",{className:"border-t border-gray-800 mt-8 pt-8 text-center text-gray-400",children:i.jsxs("p",{children:["© ",new Date().getFullYear()," ConvertMaster. All rights reserved."]})})]})}),wh=({onClose:e})=>{const[t,n]=v.useState(!1),[r,l]=v.useState(null),[s,o]=v.useState(""),[a,u]=v.useState(!1),[c,g]=v.useState(!1),[p,h]=v.useState(0),[w,x]=v.useState(0),[j,E]=v.useState(""),[f,d]=v.useState(""),[m,y]=v.useState(!1),[k,P]=v.useState(!1),[M,_]=v.useState(""),[$,O]=v.useState(!1),ve=v.useRef(null),Be=v.useRef(null),$e=v.useRef(null),Qt={video:["MP4","AVI","MOV","MKV","WEBM"],image:["JPG","PNG","WEBP","GIF","SVG"],document:["PDF","DOCX","PPTX","XLSX","TXT"],audio:["MP3","WAV","FLAC","OGG","M4A"]},Nr={video:["MP4","AVI","MOV","MKV","WEBM","GIF"],image:["JPG","PNG","WEBP","GIF","TIFF","BMP"],document:["PDF","DOCX","TXT","EPUB","HTML","RTF"],audio:["MP3","WAV","FLAC","OGG","AAC","M4A"]},Pn=T=>{var D;const J=((D=T.name.split(".").pop())==null?void 0:D.toUpperCase())||"";return Object.values(Qt).flat().includes(J)},Mn=T=>{var D;const J=((D=T.name.split(".").pop())==null?void 0:D.toUpperCase())||"";for(const[Ye,kr]of Object.entries(Qt))if(kr.includes(J))return Ye;return"unknown"},S=T=>{T.preventDefault(),T.stopPropagation(),T.type==="dragenter"||T.type==="dragover"?n(!0):T.type==="dragleave"&&n(!1)},z=T=>{T.preventDefault(),T.stopPropagation(),n(!1),T.dataTransfer.files&&T.dataTransfer.files[0]&&W(T.dataTransfer.files[0])},F=T=>{T.preventDefault(),T.target.files&&T.target.files[0]&&W(T.target.files[0])},W=T=>{var Ye;if(_(""),!Pn(T)){_("Unsupported file format. Please select a file with a supported format."),l(null),o(""),E(""),d("");return}l(T),o(T.name);const J=Mn(T),D=((Ye=T.name.split(".").pop())==null?void 0:Ye.toUpperCase())||"";if(J!=="unknown"){E(D);const kr=Nr[J].filter(dd=>dd!==D);kr.length>0&&d(kr[0])}else E(""),d("")},q=()=>{if(!r||!j||!f){_("Please select a file and conversion formats.");return}_(""),u(!0);let T=0;Be.current=setInterval(()=>{T+=Math.random()*5,T>=100&&(T=100,clearInterval(Be.current),h(100),setTimeout(()=>{g(!0),Xt()},500)),h(Math.min(T,100))},100)},Xt=()=>{const T=Math.floor(Math.random()*60)+1;let J=0;$e.current=setInterval(()=>{J+=100/T*.1,J>=100&&(J=100,clearInterval($e.current),setTimeout(()=>{g(!1),O(!0)},500)),x(Math.min(J,100))},100)};return v.useEffect(()=>()=>{Be.current&&clearInterval(Be.current),$e.current&&clearInterval($e.current)},[]),i.jsxs(i.Fragment,{children:[i.jsx($l,{isOpen:!0,onClose:e,title:"Convert Your File",children:!a&&!c?i.jsxs(i.Fragment,{children:[i.jsxs("div",{className:`border-2 border-dashed rounded-lg p-6 mb-4 text-center transition-colors ${t?"border-blue-500 bg-blue-50":r?"border-green-500 bg-green-50":"border-gray-300 hover:border-gray-400"}`,onDragEnter:S,onDragOver:S,onDragLeave:S,onDrop:z,onClick:()=>{var T;return(T=ve.current)==null?void 0:T.click()},children:[i.jsx("input",{type:"file",className:"hidden",ref:ve,onChange:F}),r?i.jsxs("div",{className:"flex flex-col items-center",children:[i.jsx(de,{className:"h-12 w-12 text-green-500 mb-3"}),i.jsxs("p",{className:"font-medium mb-1",children:["File selected: ",s]}),i.jsx("p",{className:"text-sm text-gray-500",children:"Click to change file"})]}):i.jsxs("div",{className:"flex flex-col items-center",children:[i.jsx(id,{className:"h-12 w-12 text-gray-400 mb-3"}),i.jsx("p",{className:"font-medium mb-1",children:"Drag & drop your file here"}),i.jsx("p",{className:"text-sm text-gray-500",children:"or click to browse"})]})]}),r&&i.jsxs("div",{className:"space-y-3 mb-4",children:[i.jsxs("div",{children:[i.jsx("label",{className:"block text-sm font-medium text-gray-700 mb-1",children:"Input Format"}),i.jsxs("div",{className:"relative",children:[i.jsxs("button",{type:"button",className:"w-full flex items-center justify-between bg-white border border-gray-300 rounded-md px-4 py-2 text-left text-sm focus:outline-none focus:ring-2 focus:ring-blue-500",onClick:()=>y(!m),children:[j||"Select input format",i.jsx(pi,{className:"h-4 w-4 text-gray-500"})]}),m&&i.jsx("div",{className:"absolute z-10 mt-1 w-full rounded-md bg-white shadow-lg max-h-48 overflow-auto",children:i.jsx("div",{className:"py-1",children:Object.entries(Qt).flatMap(([T,J])=>J.map(D=>i.jsx("button",{className:`block w-full text-left px-4 py-2 text-sm hover:bg-gray-100 ${j===D?"bg-blue-50 text-blue-700":"text-gray-700"}`,onClick:()=>{E(D),y(!1)},children:D},D)))})})]})]}),i.jsxs("div",{children:[i.jsx("label",{className:"block text-sm font-medium text-gray-700 mb-1",children:"Output Format"}),i.jsxs("div",{className:"relative",children:[i.jsxs("button",{type:"button",className:"w-full flex items-center justify-between bg-white border border-gray-300 rounded-md px-4 py-2 text-left text-sm focus:outline-none focus:ring-2 focus:ring-blue-500",onClick:()=>P(!k),children:[f||"Select output format",i.jsx(pi,{className:"h-4 w-4 text-gray-500"})]}),k&&i.jsx("div",{className:"absolute z-10 mt-1 w-full rounded-md bg-white shadow-lg max-h-48 overflow-auto",children:i.jsx("div",{className:"py-1",children:Object.entries(Nr).flatMap(([T,J])=>J.filter(D=>D!==j).map(D=>i.jsx("button",{className:`block w-full text-left px-4 py-2 text-sm hover:bg-gray-100 ${f===D?"bg-blue-50 text-blue-700":"text-gray-700"}`,onClick:()=>{d(D),P(!1)},children:D},D)))})})]})]})]}),M&&i.jsxs("div",{className:"mb-4 p-3 bg-red-50 text-red-700 rounded-lg text-sm flex items-center",children:[i.jsx(td,{className:"h-5 w-5 mr-2 flex-shrink-0"}),M]}),i.jsxs("div",{className:"flex justify-end space-x-3",children:[i.jsx(pe,{variant:"outline",onClick:e,children:"Cancel"}),i.jsx(pe,{disabled:!r||!j||!f,onClick:q,children:"Convert Now"})]})]}):i.jsxs("div",{className:"py-4",children:[a&&!c&&i.jsxs(i.Fragment,{children:[i.jsxs("div",{className:"flex items-center mb-2",children:[i.jsx(Nn,{className:"h-5 w-5 text-blue-500 mr-2"}),i.jsxs("span",{className:"font-medium",children:["Uploading ",s]})]}),i.jsx("div",{className:"w-full bg-gray-200 rounded-full h-2.5 mb-4",children:i.jsx("div",{className:"bg-blue-500 h-2.5 rounded-full transition-all duration-300",style:{width:`${p}%`}})}),i.jsxs("p",{className:"text-sm text-gray-500 text-center",children:["Uploading file... ",Math.round(p),"%"]})]}),c&&i.jsxs(i.Fragment,{children:[i.jsxs("div",{className:"flex items-center mb-2",children:[i.jsx(Nn,{className:"h-5 w-5 text-teal-500 mr-2"}),i.jsxs("span",{className:"font-medium",children:["Converting ",s," from ",j," to ",f]})]}),i.jsx("div",{className:"w-full bg-gray-200 rounded-full h-2.5 mb-4",children:i.jsx("div",{className:"bg-teal-500 h-2.5 rounded-full transition-all duration-300",style:{width:`${w}%`}})}),i.jsxs("p",{className:"text-sm text-gray-500 text-center",children:["Converting file... ",Math.round(w),"%"]}),i.jsx("p",{className:"text-xs text-gray-400 text-center mt-2",children:"This may take several minutes depending on the file size and format."})]})]})}),$&&i.jsx(ud,{isOpen:!0,onClose:()=>{O(!1),e()},onLoginClick:()=>{O(!1),e()}})]})},jh=()=>{const[e,t]=v.useState(!1),[n,r]=v.useState(!1);return i.jsxs("div",{className:"relative min-h-screen flex items-center pt-16 pb-16",children:[i.jsx("div",{className:"absolute inset-0 bg-gradient-to-br from-blue-50 to-teal-50 -z-10"}),i.jsxs("div",{className:"absolute inset-0 overflow-hidden -z-10",children:[i.jsx("div",{className:"absolute -top-40 -right-40 w-80 h-80 bg-blue-400 rounded-full opacity-10 blur-3xl"}),i.jsx("div",{className:"absolute top-40 -left-20 w-60 h-60 bg-teal-400 rounded-full opacity-10 blur-3xl"}),i.jsx("div",{className:"absolute bottom-40 right-20 w-40 h-40 bg-indigo-400 rounded-full opacity-10 blur-3xl"})]}),i.jsxs("div",{className:"container mx-auto px-4",children:[i.jsxs("div",{className:"max-w-4xl mx-auto text-center mb-12",children:[i.jsx("h1",{className:"text-4xl md:text-5xl lg:text-6xl font-bold mb-6 bg-gradient-to-r from-blue-600 to-teal-500 bg-clip-text text-transparent",children:"Convert Any File Format with Ease"}),i.jsx("p",{className:"text-xl text-gray-600 mb-8",children:"Fast, secure, and high-quality file conversion for all your needs. Support for videos, images, documents, and more - all in one place."}),i.jsxs("div",{className:"flex flex-col sm:flex-row justify-center gap-4",children:[i.jsxs(pe,{size:"lg",onClick:()=>t(!0),children:[i.jsx(id,{className:"mr-2 h-5 w-5"}),"Convert Files Now"]}),i.jsxs(pe,{variant:"outline",size:"lg",onClick:()=>r(!0),children:[i.jsx(th,{className:"mr-2 h-5 w-5"}),"View Supported Formats"]})]})]}),i.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-6 max-w-4xl mx-auto",children:[i.jsxs("div",{className:"bg-white rounded-xl p-6 shadow-md hover:shadow-lg transition-shadow",children:[i.jsx("div",{className:"w-12 h-12 bg-blue-100 text-blue-600 rounded-full flex items-center justify-center mb-4",children:i.jsx(Nn,{size:24})}),i.jsx("h3",{className:"text-lg font-semibold mb-2",children:"Any File Format"}),i.jsx("p",{className:"text-gray-600",children:"Convert between hundreds of different file formats with perfect quality."})]}),i.jsxs("div",{className:"bg-white rounded-xl p-6 shadow-md hover:shadow-lg transition-shadow",children:[i.jsx("div",{className:"w-12 h-12 bg-green-100 text-green-600 rounded-full flex items-center justify-center mb-4",children:i.jsx(de,{size:24})}),i.jsx("h3",{className:"text-lg font-semibold mb-2",children:"High Quality"}),i.jsx("p",{className:"text-gray-600",children:"Industry-leading conversion algorithms to maintain quality and accuracy."})]}),i.jsxs("div",{className:"bg-white rounded-xl p-6 shadow-md hover:shadow-lg transition-shadow",children:[i.jsx("div",{className:"w-12 h-12 bg-orange-100 text-orange-600 rounded-full flex items-center justify-center mb-4",children:i.jsx(td,{size:24})}),i.jsx("h3",{className:"text-lg font-semibold mb-2",children:"100% Secure"}),i.jsx("p",{className:"text-gray-600",children:"Your files are encrypted and automatically deleted after conversion."})]})]})]}),e&&i.jsx(wh,{onClose:()=>t(!1)}),i.jsx(jr,{isOpen:n,onClose:()=>r(!1),onRegisterClick:()=>r(!1)})]})},Nh=()=>{const[e,t]=v.useState(!1);return i.jsxs("section",{id:"features",className:"py-16 bg-white",children:[i.jsxs("div",{className:"container mx-auto px-4",children:[i.jsxs("div",{className:"text-center mb-16",children:[i.jsx("h2",{className:"text-3xl font-bold mb-4",children:"Why Choose ConvertMaster?"}),i.jsx("p",{className:"text-xl text-gray-600 max-w-3xl mx-auto",children:"We offer the most advanced file conversion platform with features that set us apart from the competition."})]}),i.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-10",children:[i.jsxs("div",{className:"p-6 bg-gray-50 rounded-xl transition-all duration-300 hover:shadow-md hover:transform hover:-translate-y-1",children:[i.jsx("div",{className:"w-12 h-12 bg-blue-100 text-blue-600 rounded-full flex items-center justify-center mb-4",children:i.jsx(ad,{size:24})}),i.jsx("h3",{className:"text-xl font-semibold mb-2",children:"Lightning Fast"}),i.jsx("p",{className:"text-gray-600",children:"Our optimized conversion engine processes your files at incredible speeds, saving you valuable time."})]}),i.jsxs("div",{className:"p-6 bg-gray-50 rounded-xl transition-all duration-300 hover:shadow-md hover:transform hover:-translate-y-1",children:[i.jsx("div",{className:"w-12 h-12 bg-green-100 text-green-600 rounded-full flex items-center justify-center mb-4",children:i.jsx(co,{size:24})}),i.jsx("h3",{className:"text-xl font-semibold mb-2",children:"Privacy First"}),i.jsx("p",{className:"text-gray-600",children:"Your files are encrypted during transit and automatically deleted after conversion to ensure privacy."})]}),i.jsxs("div",{className:"p-6 bg-gray-50 rounded-xl transition-all duration-300 hover:shadow-md hover:transform hover:-translate-y-1",children:[i.jsx("div",{className:"w-12 h-12 bg-purple-100 text-purple-600 rounded-full flex items-center justify-center mb-4",children:i.jsx(mh,{size:24})}),i.jsx("h3",{className:"text-xl font-semibold mb-2",children:"Mobile Friendly"}),i.jsx("p",{className:"text-gray-600",children:"Convert your files on any device with our fully responsive and user-friendly interface."})]}),i.jsxs("div",{className:"p-6 bg-gray-50 rounded-xl transition-all duration-300 hover:shadow-md hover:transform hover:-translate-y-1",children:[i.jsx("div",{className:"w-12 h-12 bg-yellow-100 text-yellow-600 rounded-full flex items-center justify-center mb-4",children:i.jsx(uh,{size:24})}),i.jsx("h3",{className:"text-xl font-semibold mb-2",children:"Batch Processing"}),i.jsx("p",{className:"text-gray-600",children:"Convert multiple files at once with our powerful batch processing feature for maximum efficiency."})]}),i.jsxs("div",{className:"p-6 bg-gray-50 rounded-xl transition-all duration-300 hover:shadow-md hover:transform hover:-translate-y-1",children:[i.jsx("div",{className:"w-12 h-12 bg-red-100 text-red-600 rounded-full flex items-center justify-center mb-4",children:i.jsx(fh,{size:24})}),i.jsx("h3",{className:"text-xl font-semibold mb-2",children:"Cloud Processing"}),i.jsx("p",{className:"text-gray-600",children:"All conversions happen in our cloud servers, without using your device's resources or battery."})]}),i.jsxs("div",{className:"p-6 bg-gray-50 rounded-xl transition-all duration-300 hover:shadow-md hover:transform hover:-translate-y-1",children:[i.jsx("div",{className:"w-12 h-12 bg-indigo-100 text-indigo-600 rounded-full flex items-center justify-center mb-4",children:i.jsx(rd,{size:24})}),i.jsx("h3",{className:"text-xl font-semibold mb-2",children:"Global Access"}),i.jsx("p",{className:"text-gray-600",children:"Access your converted files from anywhere with our cloud storage and sharing options."})]})]}),i.jsxs("div",{className:"mt-20 text-center",children:[i.jsx("h2",{className:"text-3xl font-bold text-gray-900 mb-8",children:"Ready to Get Started?"}),i.jsx("button",{onClick:()=>t(!0),className:"bg-blue-600 text-white px-8 py-3 rounded-lg font-semibold hover:bg-blue-700 transition-colors duration-300",children:"Sign Up Free"})]})]}),i.jsx(jr,{isOpen:e,onClose:()=>t(!1),onRegisterClick:()=>t(!1)})]})},kh=()=>{const[e,t]=v.useState("video"),n=[{id:"video",label:"Video",icon:i.jsx(nd,{size:20})},{id:"image",label:"Image",icon:i.jsx(eh,{size:20})},{id:"document",label:"Document",icon:i.jsx(Bl,{size:20})},{id:"audio",label:"Audio",icon:i.jsx(Zm,{size:20})},{id:"other",label:"Other",icon:i.jsx(Jm,{size:20})}],r={video:[{from:"MP4",to:["AVI","MOV","MKV","WMV","WEBM","FLV"]},{from:"AVI",to:["MP4","MOV","MKV","WMV","WEBM"]},{from:"MOV",to:["MP4","AVI","MKV","WMV","WEBM"]},{from:"MKV",to:["MP4","AVI","MOV","WMV","WEBM"]},{from:"WEBM",to:["MP4","AVI","MOV","MKV","WMV"]}],image:[{from:"JPG",to:["PNG","WEBP","GIF","TIFF","BMP","SVG"]},{from:"PNG",to:["JPG","WEBP","GIF","TIFF","BMP"]},{from:"WEBP",to:["JPG","PNG","GIF","TIFF","BMP"]},{from:"GIF",to:["JPG","PNG","WEBP","MP4"]},{from:"SVG",to:["PNG","JPG","WEBP"]}],document:[{from:"PDF",to:["DOCX","DOC","TXT","EPUB","HTML","RTF"]},{from:"DOCX",to:["PDF","DOC","TXT","RTF","HTML"]},{from:"PPTX",to:["PDF","PPT","JPG","PNG"]},{from:"XLSX",to:["PDF","XLS","CSV","TXT","HTML"]},{from:"EPUB",to:["PDF","MOBI","TXT","HTML"]}],audio:[{from:"MP3",to:["WAV","OGG","FLAC","AAC","M4A"]},{from:"WAV",to:["MP3","OGG","FLAC","AAC","M4A"]},{from:"FLAC",to:["MP3","WAV","OGG","AAC","M4A"]},{from:"OGG",to:["MP3","WAV","FLAC","AAC"]},{from:"M4A",to:["MP3","WAV","FLAC","OGG"]}],other:[{from:"ZIP",to:["RAR","7Z","TAR","GZ"]},{from:"JSON",to:["XML","CSV","YAML","TXT"]},{from:"HTML",to:["PDF","TXT","DOCX","PNG","JPG"]},{from:"SRT",to:["VTT","TXT","CSV"]},{from:"STL",to:["OBJ","FBX","GLTF","USDZ"]}]};return i.jsx("section",{id:"formats",className:"py-16 bg-gradient-to-br from-gray-50 to-gray-100",children:i.jsxs("div",{className:"container mx-auto px-4",children:[i.jsxs("div",{className:"text-center mb-16",children:[i.jsx("h2",{className:"text-3xl font-bold mb-4",children:"Supported File Formats"}),i.jsx("p",{className:"text-xl text-gray-600 max-w-3xl mx-auto",children:"Convert between hundreds of file formats with just a few clicks. Here are some of the most popular conversion options."})]}),i.jsxs("div",{className:"max-w-5xl mx-auto",children:[i.jsx("div",{className:"flex flex-wrap justify-center mb-8",children:n.map(l=>i.jsxs("button",{onClick:()=>t(l.id),className:`flex items-center px-6 py-3 m-2 rounded-lg transition-all ${e===l.id?"bg-blue-500 text-white shadow-md":"bg-white text-gray-700 hover:bg-gray-100"}`,children:[i.jsx("span",{className:"mr-2",children:l.icon}),l.label]},l.id))}),i.jsx("div",{className:"bg-white rounded-xl shadow-md overflow-hidden",children:i.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 divide-y md:divide-y-0 md:divide-x divide-gray-200",children:r[e].map((l,s)=>i.jsxs("div",{className:"p-6",children:[i.jsxs("div",{className:"flex items-center mb-4",children:[i.jsx(Nn,{className:"mr-2 text-blue-500",size:24}),i.jsx("h3",{className:"text-lg font-semibold",children:l.from})]}),i.jsxs("div",{children:[i.jsx("p",{className:"text-sm text-gray-500 mb-2",children:"Convert to:"}),i.jsx("div",{className:"flex flex-wrap gap-2",children:l.to.map(o=>i.jsx("span",{className:"bg-gray-100 text-gray-800 text-xs font-medium px-2.5 py-1 rounded",children:o},o))})]})]},s))})}),i.jsx("div",{className:"text-center mt-8 text-gray-600",children:i.jsxs("p",{children:["Can't find the format you need? ",i.jsx("a",{href:"#",className:"text-blue-500 hover:underline",children:"View our full list of supported formats"})]})})]})]})})},cd=({isOpen:e,onClose:t})=>{const[n,r]=v.useState(""),[l,s]=v.useState(""),[o,a]=v.useState(!1),[u,c]=v.useState(null),[g,p]=v.useState(!1),h=x=>/^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/.test(x),w=x=>{if(x.preventDefault(),c(null),!n.trim()){c("Please enter your name");return}if(!h(l)){c("Please enter a valid email address");return}a(!0),setTimeout(()=>{a(!1),p(!0)},1500)};return i.jsx($l,{isOpen:e,onClose:t,title:"Contact Sales Team",persistent:!0,children:g?i.jsxs("div",{className:"text-center py-8 bg-gradient-to-br from-blue-50 to-teal-50 rounded-lg",children:[i.jsx("div",{className:"animate-bounce mb-6",children:i.jsx(ih,{className:"w-12 h-12 text-blue-500 mx-auto"})}),i.jsx("h3",{className:"text-lg font-semibold mb-2",children:"Connecting to Sales Team"}),i.jsx("p",{className:"text-gray-600",children:"Please wait while we connect you with our sales representative..."}),i.jsx("div",{className:"mt-6",children:i.jsxs("div",{className:"flex items-center justify-center space-x-2",children:[i.jsx("div",{className:"w-2 h-2 bg-blue-500 rounded-full animate-pulse",style:{animationDelay:"0s"}}),i.jsx("div",{className:"w-2 h-2 bg-blue-500 rounded-full animate-pulse",style:{animationDelay:"0.2s"}}),i.jsx("div",{className:"w-2 h-2 bg-blue-500 rounded-full animate-pulse",style:{animationDelay:"0.4s"}})]})})]}):i.jsxs("form",{onSubmit:w,className:"bg-gradient-to-br from-blue-50 to-teal-50 p-6 rounded-lg",children:[u&&i.jsx("div",{className:"mb-4 p-3 bg-red-50 text-red-700 rounded-lg text-sm",children:u}),i.jsx(gt,{id:"name",label:"Full Name",value:n,onChange:x=>r(x.target.value),required:!0}),i.jsx(gt,{id:"email",label:"Work Email",type:"email",value:l,onChange:x=>s(x.target.value),required:!0}),i.jsx(pe,{type:"submit",fullWidth:!0,isLoading:o,disabled:o,children:"Start Chat"})]})})},Sh=()=>{const[e,t]=v.useState(!1),[n,r]=v.useState(!1),l=s=>{s==="Business"?t(!0):r(!0)};return i.jsxs("section",{id:"pricing",className:"py-16 bg-white",children:[i.jsxs("div",{className:"container mx-auto px-4",children:[i.jsxs("div",{className:"text-center mb-16",children:[i.jsx("h2",{className:"text-3xl font-bold mb-4",children:"Simple, Transparent Pricing"}),i.jsx("p",{className:"text-xl text-gray-600 max-w-3xl mx-auto",children:"Choose the plan that works for your needs. All plans include our core features."})]}),i.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-8 max-w-5xl mx-auto",children:[i.jsxs("div",{className:"bg-white border border-gray-200 rounded-xl shadow-sm overflow-hidden transition-all hover:shadow-md",children:[i.jsxs("div",{className:"p-6 border-b border-gray-200",children:[i.jsx("h3",{className:"text-xl font-bold mb-2",children:"Free"}),i.jsxs("div",{className:"mb-4",children:[i.jsx("span",{className:"text-4xl font-bold",children:"$0"}),i.jsx("span",{className:"text-gray-500",children:"/month"})]}),i.jsx("p",{className:"text-gray-600",children:"Perfect for occasional use and basic conversions."})]}),i.jsxs("div",{className:"p-6",children:[i.jsxs("ul",{className:"space-y-4",children:[i.jsxs("li",{className:"flex items-start",children:[i.jsx(de,{className:"h-5 w-5 text-green-500 mr-2 flex-shrink-0 mt-0.5"}),i.jsx("span",{children:"5 conversions per day"})]}),i.jsxs("li",{className:"flex items-start",children:[i.jsx(de,{className:"h-5 w-5 text-green-500 mr-2 flex-shrink-0 mt-0.5"}),i.jsx("span",{children:"Files up to 100MB"})]}),i.jsxs("li",{className:"flex items-start",children:[i.jsx(de,{className:"h-5 w-5 text-green-500 mr-2 flex-shrink-0 mt-0.5"}),i.jsx("span",{children:"Basic conversion options"})]}),i.jsxs("li",{className:"flex items-start",children:[i.jsx(_a,{className:"h-5 w-5 text-gray-400 mr-2 flex-shrink-0 mt-0.5"}),i.jsx("span",{className:"text-gray-500",children:"No batch processing"})]}),i.jsxs("li",{className:"flex items-start",children:[i.jsx(_a,{className:"h-5 w-5 text-gray-400 mr-2 flex-shrink-0 mt-0.5"}),i.jsx("span",{className:"text-gray-500",children:"Standard quality"})]})]}),i.jsx(pe,{variant:"outline",fullWidth:!0,className:"mt-6",onClick:()=>l("Free"),children:"Sign Up Free"})]})]}),i.jsxs("div",{className:"bg-white border-2 border-blue-500 rounded-xl shadow-md overflow-hidden transform scale-105 z-10",children:[i.jsx("div",{className:"bg-blue-500 text-white text-center py-1 text-sm font-medium",children:"MOST POPULAR"}),i.jsxs("div",{className:"p-6 border-b border-gray-200",children:[i.jsx("h3",{className:"text-xl font-bold mb-2",children:"Pro"}),i.jsxs("div",{className:"mb-4",children:[i.jsx("span",{className:"text-4xl font-bold",children:"$9.99"}),i.jsx("span",{className:"text-gray-500",children:"/month"})]}),i.jsx("p",{className:"text-gray-600",children:"For professionals who need regular conversions."})]}),i.jsxs("div",{className:"p-6",children:[i.jsxs("ul",{className:"space-y-4",children:[i.jsxs("li",{className:"flex items-start",children:[i.jsx(de,{className:"h-5 w-5 text-green-500 mr-2 flex-shrink-0 mt-0.5"}),i.jsx("span",{children:"Unlimited conversions"})]}),i.jsxs("li",{className:"flex items-start",children:[i.jsx(de,{className:"h-5 w-5 text-green-500 mr-2 flex-shrink-0 mt-0.5"}),i.jsx("span",{children:"Files up to 2GB"})]}),i.jsxs("li",{className:"flex items-start",children:[i.jsx(de,{className:"h-5 w-5 text-green-500 mr-2 flex-shrink-0 mt-0.5"}),i.jsx("span",{children:"Advanced conversion options"})]}),i.jsxs("li",{className:"flex items-start",children:[i.jsx(de,{className:"h-5 w-5 text-green-500 mr-2 flex-shrink-0 mt-0.5"}),i.jsx("span",{children:"Batch processing (up to 10 files)"})]}),i.jsxs("li",{className:"flex items-start",children:[i.jsx(de,{className:"h-5 w-5 text-green-500 mr-2 flex-shrink-0 mt-0.5"}),i.jsx("span",{children:"High quality output"})]})]}),i.jsx(pe,{fullWidth:!0,className:"mt-6",onClick:()=>l("Pro"),children:"Get Started"})]})]}),i.jsxs("div",{className:"bg-white border border-gray-200 rounded-xl shadow-sm overflow-hidden transition-all hover:shadow-md",children:[i.jsxs("div",{className:"p-6 border-b border-gray-200",children:[i.jsx("h3",{className:"text-xl font-bold mb-2",children:"Business"}),i.jsxs("div",{className:"mb-4",children:[i.jsx("span",{className:"text-4xl font-bold",children:"$29.99"}),i.jsx("span",{className:"text-gray-500",children:"/month"})]}),i.jsx("p",{className:"text-gray-600",children:"For teams and businesses with high-volume needs."})]}),i.jsxs("div",{className:"p-6",children:[i.jsxs("ul",{className:"space-y-4",children:[i.jsxs("li",{className:"flex items-start",children:[i.jsx(de,{className:"h-5 w-5 text-green-500 mr-2 flex-shrink-0 mt-0.5"}),i.jsx("span",{children:"Unlimited conversions"})]}),i.jsxs("li",{className:"flex items-start",children:[i.jsx(de,{className:"h-5 w-5 text-green-500 mr-2 flex-shrink-0 mt-0.5"}),i.jsx("span",{children:"Files up to 10GB"})]}),i.jsxs("li",{className:"flex items-start",children:[i.jsx(de,{className:"h-5 w-5 text-green-500 mr-2 flex-shrink-0 mt-0.5"}),i.jsx("span",{children:"Premium conversion options"})]}),i.jsxs("li",{className:"flex items-start",children:[i.jsx(de,{className:"h-5 w-5 text-green-500 mr-2 flex-shrink-0 mt-0.5"}),i.jsx("span",{children:"Unlimited batch processing"})]}),i.jsxs("li",{className:"flex items-start",children:[i.jsx(de,{className:"h-5 w-5 text-green-500 mr-2 flex-shrink-0 mt-0.5"}),i.jsx("span",{children:"Premium quality with lossless option"})]})]}),i.jsx(pe,{variant:"secondary",fullWidth:!0,className:"mt-6",onClick:()=>l("Business"),children:"Contact Sales"})]})]})]}),i.jsxs("div",{className:"text-center mt-12 max-w-xl mx-auto",children:[i.jsx("h3",{className:"text-xl font-semibold mb-4",children:"Enterprise Solutions"}),i.jsx("p",{className:"text-gray-600 mb-6",children:"Need a custom solution for your organization? We offer tailored plans with dedicated support, API access, and more."}),i.jsx(pe,{variant:"outline",onClick:()=>t(!0),children:"Contact Our Sales Team"})]})]}),i.jsx(cd,{isOpen:e,onClose:()=>t(!1)}),i.jsx(jr,{isOpen:n,onClose:()=>r(!1),onRegisterClick:()=>r(!1)})]})},Ch=[{id:1,name:"Sarah Johnson",role:"Marketing Director",company:"CreativeCloud Inc.",avatar:"https://images.pexels.com/photos/415829/pexels-photo-415829.jpeg?auto=compress&cs=tinysrgb&w=150",quote:"ConvertMaster has been a game-changer for our team. We can quickly convert files for our clients without compromising on quality. The batch processing feature saves us hours every week!",rating:5},{id:2,name:"David Chen",role:"Video Editor",company:"FrameWorks Studios",avatar:"https://images.pexels.com/photos/2379004/pexels-photo-2379004.jpeg?auto=compress&cs=tinysrgb&w=150",quote:"I work with different video formats daily, and ConvertMaster handles everything I throw at it. The conversion quality is top-notch, and the speed is impressive even with large files.",rating:5},{id:3,name:"Emma Rodriguez",role:"Graphic Designer",company:"Artistry Design Co.",avatar:"https://images.pexels.com/photos/2169434/pexels-photo-2169434.jpeg?auto=compress&cs=tinysrgb&w=150",quote:"As a designer, I need reliable tools that don't compromise quality. ConvertMaster converts my design files perfectly every time. The intuitive interface makes it easy to use.",rating:4}],Eh=()=>i.jsx("section",{className:"py-16 bg-gray-50",children:i.jsxs("div",{className:"container mx-auto px-4",children:[i.jsxs("div",{className:"text-center mb-16",children:[i.jsx("h2",{className:"text-3xl font-bold mb-4",children:"What Our Users Say"}),i.jsx("p",{className:"text-xl text-gray-600 max-w-3xl mx-auto",children:"Thousands of professionals and businesses trust ConvertMaster for their file conversion needs."})]}),i.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-8 max-w-5xl mx-auto",children:Ch.map(e=>i.jsxs("div",{className:"bg-white rounded-xl shadow-md p-6 transition-all duration-300 hover:shadow-lg",children:[i.jsx("div",{className:"flex items-center mb-4",children:[...Array(5)].map((t,n)=>i.jsx(hh,{size:16,className:n i.jsxs("div",{className:"w-full",children:[i.jsx(jh,{}),i.jsx(Nh,{}),i.jsx(kh,{}),i.jsx(Sh,{}),i.jsx(Eh,{})]}),Mh=()=>{const e=[{icon:i.jsx(ad,{className:"w-8 h-8 text-blue-500"}),title:"Lightning Fast",description:"Process your files at incredible speeds with our optimized engine"},{icon:i.jsx(co,{className:"w-8 h-8 text-blue-500"}),title:"Secure Processing",description:"Enterprise-grade security for all your sensitive documents"},{icon:i.jsx(ch,{className:"w-8 h-8 text-blue-500"}),title:"Advanced Features",description:"Access powerful tools and customization options"},{icon:i.jsx(rd,{className:"w-8 h-8 text-blue-500"}),title:"Global Access",description:"Access your files from anywhere in the world"},{icon:i.jsx(Xm,{className:"w-8 h-8 text-blue-500"}),title:"24/7 Availability",description:"Our services are available round the clock"},{icon:i.jsx(Km,{className:"w-8 h-8 text-blue-500"}),title:"API Integration",description:"Seamlessly integrate with your existing workflow"}];return i.jsxs("div",{className:"container mx-auto px-4 py-16",children:[i.jsxs("div",{className:"text-center mb-16",children:[i.jsx("h1",{className:"text-4xl font-bold text-gray-900 mb-4",children:"Powerful Features for Your Needs"}),i.jsx("p",{className:"text-xl text-gray-600 max-w-2xl mx-auto",children:"Discover all the powerful features that make our platform the perfect choice for your document processing needs."})]}),i.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8",children:e.map((t,n)=>i.jsxs("div",{className:"bg-white rounded-xl shadow-lg p-8 hover:shadow-xl transition-shadow duration-300",children:[i.jsx("div",{className:"mb-4",children:t.icon}),i.jsx("h3",{className:"text-xl font-semibold text-gray-900 mb-2",children:t.title}),i.jsx("p",{className:"text-gray-600",children:t.description})]},n))}),i.jsxs("div",{className:"mt-20 text-center",children:[i.jsx("h2",{className:"text-3xl font-bold text-gray-900 mb-8",children:"Ready to Get Started?"}),i.jsx("button",{className:"bg-blue-600 text-white px-8 py-3 rounded-lg font-semibold hover:bg-blue-700 transition-colors duration-300",children:"Try it Free"})]})]})},_h=()=>{const e=[{icon:i.jsx(Bl,{className:"w-12 h-12 text-blue-500"}),title:"Documents",formats:["PDF","DOC","DOCX","TXT","RTF","ODT"],description:"Support for all major document formats"},{icon:i.jsx(nh,{className:"w-12 h-12 text-green-500"}),title:"Images",formats:["JPG","PNG","SVG","WebP","TIFF","GIF"],description:"Handle various image formats with ease"},{icon:i.jsx(nd,{className:"w-12 h-12 text-purple-500"}),title:"Videos",formats:["MP4","AVI","MOV","WMV","MKV","WebM"],description:"Process popular video formats"},{icon:i.jsx(oh,{className:"w-12 h-12 text-red-500"}),title:"Audio",formats:["MP3","WAV","AAC","FLAC","OGG","M4A"],description:"Support for common audio formats"},{icon:i.jsx(qm,{className:"w-12 h-12 text-yellow-500"}),title:"Data Files",formats:["CSV","XML","JSON","XLS","XLSX","SQL"],description:"Work with various data formats"},{icon:i.jsx($m,{className:"w-12 h-12 text-gray-500"}),title:"Archives",formats:["ZIP","RAR","7Z","TAR","GZ","ISO"],description:"Handle compressed file formats"}];return i.jsxs("div",{className:"container mx-auto px-4 py-16",children:[i.jsxs("div",{className:"text-center mb-16",children:[i.jsx("h1",{className:"text-4xl font-bold text-gray-900 mb-4",children:"Supported File Formats"}),i.jsx("p",{className:"text-xl text-gray-600 max-w-2xl mx-auto",children:"Our platform supports a wide range of file formats to meet all your processing needs."})]}),i.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8",children:e.map((t,n)=>i.jsxs("div",{className:"bg-white rounded-xl shadow-lg p-8 hover:shadow-xl transition-shadow duration-300",children:[i.jsx("div",{className:"flex justify-center mb-6",children:t.icon}),i.jsx("h3",{className:"text-2xl font-semibold text-gray-900 mb-4 text-center",children:t.title}),i.jsx("p",{className:"text-gray-600 mb-4 text-center",children:t.description}),i.jsx("div",{className:"flex flex-wrap justify-center gap-2",children:t.formats.map((r,l)=>i.jsx("span",{className:"bg-gray-100 text-gray-800 px-3 py-1 rounded-full text-sm font-medium",children:r},l))})]},n))})]})},Th=()=>{const[e,t]=v.useState(!1),[n,r]=v.useState(!1),l=[{name:"Basic",price:"Free",description:"Perfect for getting started",features:["Up to 100 files per month","Basic file formats","Standard processing speed","Email support","1GB storage"]},{name:"Pro",price:"$29",description:"For growing businesses",features:["Up to 1000 files per month","Advanced file formats","Priority processing","Priority support","10GB storage","API access"],popular:!0},{name:"Enterprise",price:"Custom",description:"For large organizations",features:["Unlimited files","All file formats","Maximum processing speed","24/7 dedicated support","Unlimited storage","Custom API integration","SLA guarantee"]}],s=o=>{o==="Enterprise"?t(!0):r(!0)};return i.jsxs(i.Fragment,{children:[i.jsxs("div",{className:"container mx-auto px-4 py-16",children:[i.jsxs("div",{className:"text-center mb-16",children:[i.jsx("h1",{className:"text-4xl font-bold text-gray-900 mb-4",children:"Simple, Transparent Pricing"}),i.jsx("p",{className:"text-xl text-gray-600 max-w-2xl mx-auto",children:"Choose the plan that best fits your needs. All plans include our core features."})]}),i.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-8 max-w-7xl mx-auto",children:l.map((o,a)=>i.jsxs("div",{className:`relative bg-white rounded-2xl shadow-lg p-8 ${o.popular?"ring-2 ring-blue-500":""}`,children:[o.popular&&i.jsx("span",{className:"absolute top-0 right-8 -translate-y-1/2 bg-blue-500 text-white px-3 py-1 rounded-full text-sm font-medium",children:"Most Popular"}),i.jsxs("div",{className:"text-center mb-8",children:[i.jsx("h3",{className:"text-2xl font-bold text-gray-900 mb-2",children:o.name}),i.jsxs("div",{className:"flex items-baseline justify-center mb-2",children:[i.jsx("span",{className:"text-4xl font-bold text-gray-900",children:o.price}),o.price!=="Custom"&&i.jsx("span",{className:"text-gray-600 ml-2",children:"/month"})]}),i.jsx("p",{className:"text-gray-600",children:o.description})]}),i.jsx("ul",{className:"space-y-4 mb-8",children:o.features.map((u,c)=>i.jsxs("li",{className:"flex items-center",children:[i.jsx(Gm,{className:"w-5 h-5 text-green-500 mr-3"}),i.jsx("span",{className:"text-gray-700",children:u})]},c))}),i.jsx("button",{className:`w-full py-3 px-6 rounded-lg font-semibold transition-colors duration-300 ${o.popular?"bg-blue-600 text-white hover:bg-blue-700":"bg-gray-100 text-gray-900 hover:bg-gray-200"}`,onClick:()=>s(o.name),children:o.name==="Basic"?"Sign Up Free":o.name==="Enterprise"?"Contact Sales":"Get Started"})]},a))}),i.jsxs("div",{className:"mt-20 text-center bg-gray-50 rounded-xl p-8 max-w-3xl mx-auto",children:[i.jsx("h2",{className:"text-2xl font-bold text-gray-900 mb-4",children:"Need a Custom Solution?"}),i.jsx("p",{className:"text-gray-600 mb-6",children:"Contact our sales team for a customized plan that meets your specific requirements."}),i.jsx("button",{className:"bg-gray-900 text-white px-8 py-3 rounded-lg font-semibold hover:bg-gray-800 transition-colors duration-300",onClick:()=>t(!0),children:"Contact Sales"})]})]}),i.jsx(cd,{isOpen:e,onClose:()=>t(!1)}),i.jsx(jr,{isOpen:n,onClose:()=>r(!1),onRegisterClick:()=>r(!1)})]})},zh=()=>{const e=[{icon:i.jsx(Hm,{className:"w-8 h-8 text-blue-500"}),title:"Getting Started",description:"Learn the basics of our platform",articles:["Quick Start Guide","Platform Overview","Account Setup"]},{icon:i.jsx(Bl,{className:"w-8 h-8 text-green-500"}),title:"File Processing",description:"Everything about handling files",articles:["Supported Formats","Processing Options","Batch Processing"]},{icon:i.jsx(ph,{className:"w-8 h-8 text-purple-500"}),title:"Account Settings",description:"Manage your account and preferences",articles:["Profile Settings","Billing & Subscriptions","API Keys"]},{icon:i.jsx(vh,{className:"w-8 h-8 text-orange-500"}),title:"Team Management",description:"Collaborate with your team",articles:["Adding Team Members","Role Management","Team Permissions"]}];return i.jsxs("div",{className:"container mx-auto px-4 py-16",children:[i.jsxs("div",{className:"text-center mb-16",children:[i.jsx("h1",{className:"text-4xl font-bold text-gray-900 mb-4",children:"How can we help you?"}),i.jsxs("div",{className:"max-w-2xl mx-auto relative",children:[i.jsx(dh,{className:"absolute left-4 top-1/2 transform -translate-y-1/2 text-gray-400 w-5 h-5"}),i.jsx("input",{type:"text",placeholder:"Search for help articles...",className:"w-full pl-12 pr-4 py-3 rounded-lg border border-gray-300 focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-transparent"})]})]}),i.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-8 mb-16",children:e.map((t,n)=>i.jsxs("div",{className:"bg-white rounded-xl shadow-lg p-8 hover:shadow-xl transition-shadow duration-300",children:[i.jsxs("div",{className:"flex items-center mb-6",children:[t.icon,i.jsx("h3",{className:"text-xl font-semibold text-gray-900 ml-4",children:t.title})]}),i.jsx("p",{className:"text-gray-600 mb-6",children:t.description}),i.jsx("ul",{className:"space-y-3",children:t.articles.map((r,l)=>i.jsx("li",{children:i.jsxs("a",{href:"#",className:"text-blue-600 hover:text-blue-800 flex items-center",children:[i.jsx("span",{className:"mr-2",children:"→"}),r]})},l))})]},n))}),i.jsx("div",{className:"bg-blue-50 rounded-xl p-8 text-center",children:i.jsxs("div",{className:"max-w-2xl mx-auto",children:[i.jsx(sd,{className:"w-12 h-12 text-blue-500 mx-auto mb-4"}),i.jsx("h2",{className:"text-2xl font-bold text-gray-900 mb-4",children:"Still need help?"}),i.jsx("p",{className:"text-gray-600 mb-6",children:"Our support team is available 24/7 to assist you with any questions or issues you may have."}),i.jsx("button",{className:"bg-blue-600 text-white px-8 py-3 rounded-lg font-semibold hover:bg-blue-700 transition-colors duration-300",children:"Contact Support"})]})})]})},Lh=()=>{const[e,t]=Ua.useState(null),n=[{question:"What file formats do you support?",answer:"We support a wide range of file formats including PDF, DOC, DOCX, JPG, PNG, MP4, and many more. Check our Formats page for a complete list of supported file types."},{question:"How secure is my data?",answer:"We take security seriously. All files are encrypted during transfer and storage. We use enterprise-grade security measures and regularly undergo security audits to ensure your data is protected."},{question:"What are the pricing plans?",answer:"We offer flexible pricing plans starting from our free tier up to enterprise solutions. Visit our Pricing page to find the plan that best suits your needs."},{question:"How fast is the processing speed?",answer:"Processing speed depends on the file size and type, but most files are processed within seconds. Premium plans get priority processing for even faster results."},{question:"Do you offer API access?",answer:"Yes, we provide API access for Pro and Enterprise plans. This allows you to integrate our services directly into your workflow."},{question:"What kind of support do you offer?",answer:"We offer email support for all users. Pro plans get priority support, while Enterprise plans receive 24/7 dedicated support with guaranteed response times."},{question:"Can I try before I buy?",answer:"Yes! We offer a free tier that lets you test our core features. You can upgrade to a paid plan anytime to access more features and higher usage limits."},{question:"How do I get started?",answer:"Getting started is easy! Simply sign up for a free account, verify your email, and you can begin processing files immediately."}];return i.jsxs("div",{className:"container mx-auto px-4 py-16",children:[i.jsxs("div",{className:"text-center mb-16",children:[i.jsx("h1",{className:"text-4xl font-bold text-gray-900 mb-4",children:"Frequently Asked Questions"}),i.jsx("p",{className:"text-xl text-gray-600 max-w-2xl mx-auto",children:"Find answers to common questions about our services."})]}),i.jsx("div",{className:"max-w-3xl mx-auto",children:n.map((r,l)=>i.jsxs("div",{className:"mb-4",children:[i.jsxs("button",{className:"w-full flex items-center justify-between p-6 bg-white rounded-lg shadow-sm hover:shadow-md transition-shadow duration-200",onClick:()=>t(e===l?null:l),children:[i.jsx("span",{className:"text-lg font-semibold text-gray-900 text-left",children:r.question}),e===l?i.jsx(Qm,{className:"w-5 h-5 text-gray-500"}):i.jsx(pi,{className:"w-5 h-5 text-gray-500"})]}),e===l&&i.jsx("div",{className:"p-6 bg-gray-50 rounded-b-lg",children:i.jsx("p",{className:"text-gray-700",children:r.answer})})]},l))}),i.jsxs("div",{className:"mt-16 text-center",children:[i.jsx("h2",{className:"text-2xl font-bold text-gray-900 mb-4",children:"Still have questions?"}),i.jsx("p",{className:"text-gray-600 mb-8",children:"Can't find the answer you're looking for? Please chat to our friendly team."}),i.jsx("button",{className:"bg-blue-600 text-white px-8 py-3 rounded-lg font-semibold hover:bg-blue-700 transition-colors duration-300",children:"Get in Touch"})]})]})},Fh=()=>{const e=window.location.hostname;return e==="localhost"||e==="127.0.0.1"?"convertmaster.com":e},Oh=(e="support")=>{const t=Fh();return`${e}@${t}`},Rh=()=>{const e=[{icon:i.jsx(ld,{className:"w-6 h-6 text-blue-500"}),title:"Email",description:"Our friendly team is here to help.",contact:Oh()},{icon:i.jsx(ah,{className:"w-6 h-6 text-green-500"}),title:"Phone",description:"Mon-Fri from 8am to 5pm.",contact:"+1 (855) 123-4567"},{icon:i.jsx(lh,{className:"w-6 h-6 text-red-500"}),title:"Office",description:"Come say hello at our office.",contact:"100 Tech Street, Silicon Valley, CA 94025"}];return i.jsxs("div",{className:"container mx-auto px-4 py-16",children:[i.jsxs("div",{className:"text-center mb-16",children:[i.jsx("h1",{className:"text-4xl font-bold text-gray-900 mb-4",children:"Get in Touch"}),i.jsx("p",{className:"text-xl text-gray-600 max-w-2xl mx-auto",children:"We'd love to hear from you. Please fill out this form or use our contact information below."})]}),i.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-16 max-w-7xl mx-auto",children:[i.jsxs("div",{className:"bg-white rounded-xl shadow-lg p-8",children:[i.jsx("h2",{className:"text-2xl font-bold text-gray-900 mb-6",children:"Send us a Message"}),i.jsxs("form",{className:"space-y-6",children:[i.jsxs("div",{children:[i.jsx("label",{className:"block text-sm font-medium text-gray-700 mb-2",children:"Your Name"}),i.jsx("input",{type:"text",className:"w-full px-4 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-transparent",placeholder:"John Doe"})]}),i.jsxs("div",{children:[i.jsx("label",{className:"block text-sm font-medium text-gray-700 mb-2",children:"Email Address"}),i.jsx("input",{type:"email",className:"w-full px-4 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-transparent",placeholder:"john@example.com"})]}),i.jsxs("div",{children:[i.jsx("label",{className:"block text-sm font-medium text-gray-700 mb-2",children:"Subject"}),i.jsx("input",{type:"text",className:"w-full px-4 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-transparent",placeholder:"How can we help?"})]}),i.jsxs("div",{children:[i.jsx("label",{className:"block text-sm font-medium text-gray-700 mb-2",children:"Message"}),i.jsx("textarea",{rows:4,className:"w-full px-4 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-transparent",placeholder:"Your message..."})]}),i.jsx("button",{type:"submit",className:"w-full bg-blue-600 text-white px-6 py-3 rounded-lg font-semibold hover:bg-blue-700 transition-colors duration-300",children:"Send Message"})]})]}),i.jsxs("div",{children:[i.jsx("div",{className:"grid grid-cols-1 gap-8 mb-12",children:e.map((t,n)=>i.jsxs("div",{className:"flex items-start p-6 bg-white rounded-xl shadow-lg hover:shadow-xl transition-shadow duration-300",children:[i.jsx("div",{className:"flex-shrink-0",children:t.icon}),i.jsxs("div",{className:"ml-4",children:[i.jsx("h3",{className:"text-lg font-semibold text-gray-900",children:t.title}),i.jsx("p",{className:"text-gray-600 mb-1",children:t.description}),i.jsx("p",{className:"text-blue-600 font-medium",children:t.contact})]})]},n))}),i.jsxs("div",{className:"bg-gray-50 rounded-xl p-8",children:[i.jsxs("div",{className:"flex items-center mb-6",children:[i.jsx(sd,{className:"w-6 h-6 text-blue-500 mr-3"}),i.jsx("h3",{className:"text-lg font-semibold text-gray-900",children:"Live Chat"})]}),i.jsx("p",{className:"text-gray-600 mb-4",children:"Our live chat is available 24/7 for quick responses to your questions."}),i.jsx("button",{className:"w-full bg-gray-900 text-white px-6 py-3 rounded-lg font-semibold hover:bg-gray-800 transition-colors duration-300",children:"Start Chat"})]})]})]})]})},Ih=()=>{const e=[{title:"Information We Collect",content:`We collect information that you provide directly to us, including: + • Account information (name, email, password) + • Usage data and preferences + • Payment information when you subscribe + • Files and content you upload for processing`},{title:"How We Use Your Information",content:`We use the information we collect to: + • Provide and maintain our services + • Process your file conversions + • Send you important updates and notifications + • Improve our services and develop new features + • Protect against fraud and abuse`},{title:"Data Security",content:`We implement appropriate technical and organizational measures to protect your data: + • End-to-end encryption for file transfers + • Secure data storage with regular backups + • Regular security audits and updates + • Access controls and authentication measures`},{title:"Data Sharing",content:`We do not sell your personal information. We may share your information only: + • With your consent + • With service providers who assist our operations + • To comply with legal obligations + • In connection with a business transfer or merger`},{title:"Your Rights",content:`You have the right to: + • Access your personal information + • Correct inaccurate data + • Request deletion of your data + • Object to processing of your data + • Export your data in a portable format`},{title:"Cookie Policy",content:`We use cookies and similar technologies to: + • Keep you logged in + • Remember your preferences + • Analyze site usage + • Improve our services + You can control cookie settings in your browser.`}];return i.jsxs("div",{className:"container mx-auto px-4 py-16",children:[i.jsxs("div",{className:"text-center mb-16",children:[i.jsx(co,{className:"w-16 h-16 text-blue-500 mx-auto mb-4"}),i.jsx("h1",{className:"text-4xl font-bold text-gray-900 mb-4",children:"Privacy Policy"}),i.jsx("p",{className:"text-xl text-gray-600 max-w-2xl mx-auto",children:"We take your privacy seriously. This policy explains how we collect, use, and protect your personal information."}),i.jsx("p",{className:"text-gray-500 mt-2",children:"Last updated: January 1, 2025"})]}),i.jsxs("div",{className:"max-w-4xl mx-auto",children:[e.map((t,n)=>i.jsxs("div",{className:"mb-12",children:[i.jsx("h2",{className:"text-2xl font-bold text-gray-900 mb-4",children:t.title}),i.jsx("div",{className:"bg-white rounded-xl shadow-lg p-6",children:i.jsx("p",{className:"text-gray-700 whitespace-pre-line",children:t.content})})]},n)),i.jsxs("div",{className:"mt-16 bg-gray-50 rounded-xl p-8 text-center",children:[i.jsx("h2",{className:"text-2xl font-bold text-gray-900 mb-4",children:"Questions About Our Privacy Policy?"}),i.jsx("p",{className:"text-gray-600 mb-6",children:"If you have any questions about our privacy practices or would like to exercise your rights, please contact our privacy team."}),i.jsx("button",{className:"bg-blue-600 text-white px-8 py-3 rounded-lg font-semibold hover:bg-blue-700 transition-colors duration-300",children:"Contact Privacy Team"})]})]})]})},bh=()=>{const e=[{title:"Acceptance of Terms",content:"By accessing and using our services, you agree to be bound by these Terms of Service and all applicable laws and regulations. If you do not agree with any of these terms, you are prohibited from using or accessing our services."},{title:"Use License",content:"We grant you a limited, non-exclusive, non-transferable license to access and use our services for your personal or business purposes, subject to these terms and conditions. This license is subject to your continued compliance with these terms."},{title:"User Obligations",content:`You agree to: + • Provide accurate account information + • Maintain the security of your account + • Use the services in compliance with all laws + • Not engage in any unauthorized or harmful activities + • Not infringe on others' intellectual property rights`},{title:"Service Availability",content:"We strive to maintain high availability of our services, but we do not guarantee uninterrupted access. We reserve the right to modify, suspend, or discontinue any part of our services at any time without notice."},{title:"Payment Terms",content:`For paid services: + • Payments are due in advance + • All fees are non-refundable unless required by law + • We may change pricing with 30 days notice + • You are responsible for all applicable taxes`},{title:"Intellectual Property",content:"All content, features, and functionality of our services are owned by us and protected by international copyright, trademark, and other intellectual property laws."},{title:"Limitation of Liability",content:"We shall not be liable for any indirect, incidental, special, consequential, or punitive damages resulting from your use or inability to use our services."},{title:"Termination",content:"We may terminate or suspend your account and access to our services immediately, without prior notice, for conduct that we believe violates these terms or is harmful to other users, us, or third parties."}];return i.jsxs("div",{className:"container mx-auto px-4 py-16",children:[i.jsxs("div",{className:"text-center mb-16",children:[i.jsx(Bl,{className:"w-16 h-16 text-blue-500 mx-auto mb-4"}),i.jsx("h1",{className:"text-4xl font-bold text-gray-900 mb-4",children:"Terms of Service"}),i.jsx("p",{className:"text-xl text-gray-600 max-w-2xl mx-auto",children:"Please read these terms carefully before using our services."}),i.jsx("p",{className:"text-gray-500 mt-2",children:"Last updated: January 1, 2025"})]}),i.jsxs("div",{className:"max-w-4xl mx-auto",children:[e.map((t,n)=>i.jsxs("div",{className:"mb-12",children:[i.jsx("h2",{className:"text-2xl font-bold text-gray-900 mb-4",children:t.title}),i.jsx("div",{className:"bg-white rounded-xl shadow-lg p-6",children:i.jsx("p",{className:"text-gray-700 whitespace-pre-line",children:t.content})})]},n)),i.jsxs("div",{className:"mt-16 bg-gray-50 rounded-xl p-8 text-center",children:[i.jsx("h2",{className:"text-2xl font-bold text-gray-900 mb-4",children:"Questions About Our Terms?"}),i.jsx("p",{className:"text-gray-600 mb-6",children:"If you have any questions about our terms of service, please contact our legal team."}),i.jsx("button",{className:"bg-blue-600 text-white px-8 py-3 rounded-lg font-semibold hover:bg-blue-700 transition-colors duration-300",children:"Contact Legal Team"})]})]})]})};function Dh(){return i.jsx(Dm,{children:i.jsxs("div",{className:"min-h-screen bg-gray-50 flex flex-col",children:[i.jsx(xh,{}),i.jsx("main",{className:"flex-grow",children:i.jsxs(zm,{children:[i.jsx(Ge,{path:"/",element:i.jsx(Ph,{})}),i.jsx(Ge,{path:"/features",element:i.jsx(Mh,{})}),i.jsx(Ge,{path:"/formats",element:i.jsx(_h,{})}),i.jsx(Ge,{path:"/pricing",element:i.jsx(Th,{})}),i.jsx(Ge,{path:"/help",element:i.jsx(zh,{})}),i.jsx(Ge,{path:"/faq",element:i.jsx(Lh,{})}),i.jsx(Ge,{path:"/contact",element:i.jsx(Rh,{})}),i.jsx(Ge,{path:"/privacy",element:i.jsx(Ih,{})}),i.jsx(Ge,{path:"/terms",element:i.jsx(bh,{})})]})}),i.jsx(yh,{})]})})}Bc(document.getElementById("root")).render(i.jsx(v.StrictMode,{children:i.jsx(Dh,{})})); diff --git a/sni-templates/converter/assets/style.css b/sni-templates/converter/assets/style.css new file mode 100644 index 0000000..4b4c6c1 --- /dev/null +++ b/sni-templates/converter/assets/style.css @@ -0,0 +1 @@ +*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}.container{width:100%}@media (min-width: 640px){.container{max-width:640px}}@media (min-width: 768px){.container{max-width:768px}}@media (min-width: 1024px){.container{max-width:1024px}}@media (min-width: 1280px){.container{max-width:1280px}}@media (min-width: 1536px){.container{max-width:1536px}}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.inset-0{top:0;right:0;bottom:0;left:0}.-left-20{left:-5rem}.-right-40{right:-10rem}.-top-40{top:-10rem}.bottom-40{bottom:10rem}.left-4{left:1rem}.right-20{right:5rem}.right-8{right:2rem}.top-0{top:0}.top-1\/2{top:50%}.top-40{top:10rem}.-z-10{z-index:-10}.z-10{z-index:10}.z-30{z-index:30}.z-50{z-index:50}.m-2{margin:.5rem}.mx-auto{margin-left:auto;margin-right:auto}.-ml-1{margin-left:-.25rem}.mb-1{margin-bottom:.25rem}.mb-12{margin-bottom:3rem}.mb-16{margin-bottom:4rem}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.mb-6{margin-bottom:1.5rem}.mb-8{margin-bottom:2rem}.ml-2{margin-left:.5rem}.ml-4{margin-left:1rem}.mr-2{margin-right:.5rem}.mr-3{margin-right:.75rem}.mr-4{margin-right:1rem}.mt-0\.5{margin-top:.125rem}.mt-1{margin-top:.25rem}.mt-12{margin-top:3rem}.mt-16{margin-top:4rem}.mt-2{margin-top:.5rem}.mt-20{margin-top:5rem}.mt-4{margin-top:1rem}.mt-6{margin-top:1.5rem}.mt-8{margin-top:2rem}.block{display:block}.flex{display:flex}.grid{display:grid}.hidden{display:none}.h-12{height:3rem}.h-16{height:4rem}.h-2{height:.5rem}.h-2\.5{height:.625rem}.h-4{height:1rem}.h-40{height:10rem}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-60{height:15rem}.h-8{height:2rem}.h-80{height:20rem}.max-h-48{max-height:12rem}.min-h-screen{min-height:100vh}.w-12{width:3rem}.w-16{width:4rem}.w-2{width:.5rem}.w-4{width:1rem}.w-40{width:10rem}.w-5{width:1.25rem}.w-6{width:1.5rem}.w-60{width:15rem}.w-8{width:2rem}.w-80{width:20rem}.w-full{width:100%}.max-w-2xl{max-width:42rem}.max-w-3xl{max-width:48rem}.max-w-4xl{max-width:56rem}.max-w-5xl{max-width:64rem}.max-w-7xl{max-width:80rem}.max-w-md{max-width:28rem}.max-w-xl{max-width:36rem}.flex-shrink-0{flex-shrink:0}.flex-grow{flex-grow:1}.-translate-y-1\/2{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-100{--tw-scale-x: 1;--tw-scale-y: 1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-105{--tw-scale-x: 1.05;--tw-scale-y: 1.05;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes bounce{0%,to{transform:translateY(-25%);animation-timing-function:cubic-bezier(.8,0,1,1)}50%{transform:none;animation-timing-function:cubic-bezier(0,0,.2,1)}}.animate-bounce{animation:bounce 1s infinite}@keyframes pulse{50%{opacity:.5}}.animate-pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}@keyframes spin{to{transform:rotate(360deg)}}.animate-spin{animation:spin 1s linear infinite}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-start{align-items:flex-start}.items-center{align-items:center}.items-baseline{align-items:baseline}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-10{gap:2.5rem}.gap-16{gap:4rem}.gap-2{gap:.5rem}.gap-4{gap:1rem}.gap-6{gap:1.5rem}.gap-8{gap:2rem}.space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.5rem * var(--tw-space-x-reverse));margin-left:calc(.5rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-3>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.75rem * var(--tw-space-x-reverse));margin-left:calc(.75rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-4>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(1rem * var(--tw-space-x-reverse));margin-left:calc(1rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-8>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(2rem * var(--tw-space-x-reverse));margin-left:calc(2rem * calc(1 - var(--tw-space-x-reverse)))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.space-y-3>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.75rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.75rem * var(--tw-space-y-reverse))}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.space-y-6>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1.5rem * var(--tw-space-y-reverse))}.divide-y>:not([hidden])~:not([hidden]){--tw-divide-y-reverse: 0;border-top-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)));border-bottom-width:calc(1px * var(--tw-divide-y-reverse))}.divide-gray-200>:not([hidden])~:not([hidden]){--tw-divide-opacity: 1;border-color:rgb(229 231 235 / var(--tw-divide-opacity))}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.whitespace-pre-line{white-space:pre-line}.rounded{border-radius:.25rem}.rounded-2xl{border-radius:1rem}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.rounded-xl{border-radius:.75rem}.rounded-b-lg{border-bottom-right-radius:.5rem;border-bottom-left-radius:.5rem}.rounded-l-lg{border-top-left-radius:.5rem;border-bottom-left-radius:.5rem}.rounded-r-lg{border-top-right-radius:.5rem;border-bottom-right-radius:.5rem}.border{border-width:1px}.border-2{border-width:2px}.border-b{border-bottom-width:1px}.border-l{border-left-width:1px}.border-t{border-top-width:1px}.border-dashed{border-style:dashed}.border-blue-500{--tw-border-opacity: 1;border-color:rgb(59 130 246 / var(--tw-border-opacity))}.border-gray-100{--tw-border-opacity: 1;border-color:rgb(243 244 246 / var(--tw-border-opacity))}.border-gray-200{--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity))}.border-gray-300{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity))}.border-gray-800{--tw-border-opacity: 1;border-color:rgb(31 41 55 / var(--tw-border-opacity))}.border-green-500{--tw-border-opacity: 1;border-color:rgb(34 197 94 / var(--tw-border-opacity))}.border-red-500{--tw-border-opacity: 1;border-color:rgb(239 68 68 / var(--tw-border-opacity))}.bg-black{--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity))}.bg-blue-100{--tw-bg-opacity: 1;background-color:rgb(219 234 254 / var(--tw-bg-opacity))}.bg-blue-400{--tw-bg-opacity: 1;background-color:rgb(96 165 250 / var(--tw-bg-opacity))}.bg-blue-50{--tw-bg-opacity: 1;background-color:rgb(239 246 255 / var(--tw-bg-opacity))}.bg-blue-500{--tw-bg-opacity: 1;background-color:rgb(59 130 246 / var(--tw-bg-opacity))}.bg-blue-600{--tw-bg-opacity: 1;background-color:rgb(37 99 235 / var(--tw-bg-opacity))}.bg-gray-100{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.bg-gray-200{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity))}.bg-gray-50{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}.bg-gray-900{--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity))}.bg-green-100{--tw-bg-opacity: 1;background-color:rgb(220 252 231 / var(--tw-bg-opacity))}.bg-green-50{--tw-bg-opacity: 1;background-color:rgb(240 253 244 / var(--tw-bg-opacity))}.bg-indigo-100{--tw-bg-opacity: 1;background-color:rgb(224 231 255 / var(--tw-bg-opacity))}.bg-indigo-400{--tw-bg-opacity: 1;background-color:rgb(129 140 248 / var(--tw-bg-opacity))}.bg-orange-100{--tw-bg-opacity: 1;background-color:rgb(255 237 213 / var(--tw-bg-opacity))}.bg-purple-100{--tw-bg-opacity: 1;background-color:rgb(243 232 255 / var(--tw-bg-opacity))}.bg-red-100{--tw-bg-opacity: 1;background-color:rgb(254 226 226 / var(--tw-bg-opacity))}.bg-red-50{--tw-bg-opacity: 1;background-color:rgb(254 242 242 / var(--tw-bg-opacity))}.bg-teal-400{--tw-bg-opacity: 1;background-color:rgb(45 212 191 / var(--tw-bg-opacity))}.bg-teal-500{--tw-bg-opacity: 1;background-color:rgb(20 184 166 / var(--tw-bg-opacity))}.bg-transparent{background-color:transparent}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.bg-yellow-100{--tw-bg-opacity: 1;background-color:rgb(254 249 195 / var(--tw-bg-opacity))}.bg-opacity-50{--tw-bg-opacity: .5}.bg-gradient-to-br{background-image:linear-gradient(to bottom right,var(--tw-gradient-stops))}.bg-gradient-to-r{background-image:linear-gradient(to right,var(--tw-gradient-stops))}.from-blue-400{--tw-gradient-from: #60a5fa var(--tw-gradient-from-position);--tw-gradient-to: rgb(96 165 250 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-blue-50{--tw-gradient-from: #eff6ff var(--tw-gradient-from-position);--tw-gradient-to: rgb(239 246 255 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-blue-500{--tw-gradient-from: #3b82f6 var(--tw-gradient-from-position);--tw-gradient-to: rgb(59 130 246 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-blue-600{--tw-gradient-from: #2563eb var(--tw-gradient-from-position);--tw-gradient-to: rgb(37 99 235 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-gray-50{--tw-gradient-from: #f9fafb var(--tw-gradient-from-position);--tw-gradient-to: rgb(249 250 251 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.to-gray-100{--tw-gradient-to: #f3f4f6 var(--tw-gradient-to-position)}.to-teal-300{--tw-gradient-to: #5eead4 var(--tw-gradient-to-position)}.to-teal-400{--tw-gradient-to: #2dd4bf var(--tw-gradient-to-position)}.to-teal-50{--tw-gradient-to: #f0fdfa var(--tw-gradient-to-position)}.to-teal-500{--tw-gradient-to: #14b8a6 var(--tw-gradient-to-position)}.bg-clip-text{-webkit-background-clip:text;background-clip:text}.fill-yellow-400{fill:#facc15}.object-cover{-o-object-fit:cover;object-fit:cover}.p-1{padding:.25rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-6{padding:1.5rem}.p-8{padding:2rem}.px-2\.5{padding-left:.625rem;padding-right:.625rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.px-8{padding-left:2rem;padding-right:2rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.py-16{padding-top:4rem;padding-bottom:4rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-8{padding-top:2rem;padding-bottom:2rem}.pb-16{padding-bottom:4rem}.pb-8{padding-bottom:2rem}.pl-12{padding-left:3rem}.pr-4{padding-right:1rem}.pt-12{padding-top:3rem}.pt-16{padding-top:4rem}.pt-2{padding-top:.5rem}.pt-8{padding-top:2rem}.text-left{text-align:left}.text-center{text-align:center}.text-2xl{font-size:1.5rem;line-height:2rem}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-4xl{font-size:2.25rem;line-height:2.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-semibold{font-weight:600}.italic{font-style:italic}.text-blue-400{--tw-text-opacity: 1;color:rgb(96 165 250 / var(--tw-text-opacity))}.text-blue-500{--tw-text-opacity: 1;color:rgb(59 130 246 / var(--tw-text-opacity))}.text-blue-600{--tw-text-opacity: 1;color:rgb(37 99 235 / var(--tw-text-opacity))}.text-blue-700{--tw-text-opacity: 1;color:rgb(29 78 216 / var(--tw-text-opacity))}.text-current{color:currentColor}.text-gray-300{--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity))}.text-gray-400{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}.text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}.text-gray-600{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}.text-gray-700{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity))}.text-gray-800{--tw-text-opacity: 1;color:rgb(31 41 55 / var(--tw-text-opacity))}.text-gray-900{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}.text-green-500{--tw-text-opacity: 1;color:rgb(34 197 94 / var(--tw-text-opacity))}.text-green-600{--tw-text-opacity: 1;color:rgb(22 163 74 / var(--tw-text-opacity))}.text-indigo-600{--tw-text-opacity: 1;color:rgb(79 70 229 / var(--tw-text-opacity))}.text-orange-500{--tw-text-opacity: 1;color:rgb(249 115 22 / var(--tw-text-opacity))}.text-orange-600{--tw-text-opacity: 1;color:rgb(234 88 12 / var(--tw-text-opacity))}.text-purple-500{--tw-text-opacity: 1;color:rgb(168 85 247 / var(--tw-text-opacity))}.text-purple-600{--tw-text-opacity: 1;color:rgb(147 51 234 / var(--tw-text-opacity))}.text-red-500{--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity))}.text-red-600{--tw-text-opacity: 1;color:rgb(220 38 38 / var(--tw-text-opacity))}.text-red-700{--tw-text-opacity: 1;color:rgb(185 28 28 / var(--tw-text-opacity))}.text-teal-500{--tw-text-opacity: 1;color:rgb(20 184 166 / var(--tw-text-opacity))}.text-transparent{color:transparent}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.text-yellow-400{--tw-text-opacity: 1;color:rgb(250 204 21 / var(--tw-text-opacity))}.text-yellow-500{--tw-text-opacity: 1;color:rgb(234 179 8 / var(--tw-text-opacity))}.text-yellow-600{--tw-text-opacity: 1;color:rgb(202 138 4 / var(--tw-text-opacity))}.opacity-10{opacity:.1}.opacity-100{opacity:1}.opacity-25{opacity:.25}.opacity-60{opacity:.6}.opacity-75{opacity:.75}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-md{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-sm{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-xl{--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.outline{outline-style:solid}.ring-2{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-blue-500{--tw-ring-opacity: 1;--tw-ring-color: rgb(59 130 246 / var(--tw-ring-opacity))}.blur-3xl{--tw-blur: blur(64px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-shadow{transition-property:box-shadow;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-200{transition-duration:.2s}.duration-300{transition-duration:.3s}.hover\:-translate-y-1:hover{--tw-translate-y: -.25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\:transform:hover{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\:border-gray-400:hover{--tw-border-opacity: 1;border-color:rgb(156 163 175 / var(--tw-border-opacity))}.hover\:bg-blue-50:hover{--tw-bg-opacity: 1;background-color:rgb(239 246 255 / var(--tw-bg-opacity))}.hover\:bg-blue-600:hover{--tw-bg-opacity: 1;background-color:rgb(37 99 235 / var(--tw-bg-opacity))}.hover\:bg-blue-700:hover{--tw-bg-opacity: 1;background-color:rgb(29 78 216 / var(--tw-bg-opacity))}.hover\:bg-gray-100:hover{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.hover\:bg-gray-200:hover{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity))}.hover\:bg-gray-800:hover{--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity))}.hover\:bg-red-50:hover{--tw-bg-opacity: 1;background-color:rgb(254 242 242 / var(--tw-bg-opacity))}.hover\:bg-teal-600:hover{--tw-bg-opacity: 1;background-color:rgb(13 148 136 / var(--tw-bg-opacity))}.hover\:text-blue-500:hover{--tw-text-opacity: 1;color:rgb(59 130 246 / var(--tw-text-opacity))}.hover\:text-blue-700:hover{--tw-text-opacity: 1;color:rgb(29 78 216 / var(--tw-text-opacity))}.hover\:text-blue-800:hover{--tw-text-opacity: 1;color:rgb(30 64 175 / var(--tw-text-opacity))}.hover\:text-red-700:hover{--tw-text-opacity: 1;color:rgb(185 28 28 / var(--tw-text-opacity))}.hover\:text-white:hover{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.hover\:underline:hover{text-decoration-line:underline}.hover\:shadow-lg:hover{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.hover\:shadow-md:hover{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.hover\:shadow-xl:hover{--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.focus\:border-transparent:focus{border-color:transparent}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\:ring-2:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\:ring-blue-500:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(59 130 246 / var(--tw-ring-opacity))}.focus\:ring-red-500:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(239 68 68 / var(--tw-ring-opacity))}.active\:bg-blue-700:active{--tw-bg-opacity: 1;background-color:rgb(29 78 216 / var(--tw-bg-opacity))}.active\:bg-teal-700:active{--tw-bg-opacity: 1;background-color:rgb(15 118 110 / var(--tw-bg-opacity))}@media (min-width: 640px){.sm\:flex-row{flex-direction:row}}@media (min-width: 768px){.md\:flex{display:flex}.md\:hidden{display:none}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.md\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.md\:divide-x>:not([hidden])~:not([hidden]){--tw-divide-x-reverse: 0;border-right-width:calc(1px * var(--tw-divide-x-reverse));border-left-width:calc(1px * calc(1 - var(--tw-divide-x-reverse)))}.md\:divide-y-0>:not([hidden])~:not([hidden]){--tw-divide-y-reverse: 0;border-top-width:calc(0px * calc(1 - var(--tw-divide-y-reverse)));border-bottom-width:calc(0px * var(--tw-divide-y-reverse))}.md\:text-5xl{font-size:3rem;line-height:1}}@media (min-width: 1024px){.lg\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.lg\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.lg\:text-6xl{font-size:3.75rem;line-height:1}} diff --git a/sni-templates/converter/favicon-96x96.png b/sni-templates/converter/favicon-96x96.png new file mode 100644 index 0000000..3616a2b Binary files /dev/null and b/sni-templates/converter/favicon-96x96.png differ diff --git a/sni-templates/converter/favicon.ico b/sni-templates/converter/favicon.ico new file mode 100644 index 0000000..89dad8d Binary files /dev/null and b/sni-templates/converter/favicon.ico differ diff --git a/sni-templates/converter/favicon.svg b/sni-templates/converter/favicon.svg new file mode 100644 index 0000000..a382362 --- /dev/null +++ b/sni-templates/converter/favicon.svg @@ -0,0 +1,3 @@ + \ No newline at end of file diff --git a/sni-templates/converter/index.html b/sni-templates/converter/index.html new file mode 100644 index 0000000..dd87c60 --- /dev/null +++ b/sni-templates/converter/index.html @@ -0,0 +1,18 @@ + + + + + + + + + + + ConvertMaster - The Ultimate File Conversion Tool + + + + + + + \ No newline at end of file diff --git a/sni-templates/converter/site.webmanifest b/sni-templates/converter/site.webmanifest new file mode 100644 index 0000000..ccf313a --- /dev/null +++ b/sni-templates/converter/site.webmanifest @@ -0,0 +1,21 @@ +{ + "name": "MyWebSite", + "short_name": "MySite", + "icons": [ + { + "src": "/web-app-manifest-192x192.png", + "sizes": "192x192", + "type": "image/png", + "purpose": "maskable" + }, + { + "src": "/web-app-manifest-512x512.png", + "sizes": "512x512", + "type": "image/png", + "purpose": "maskable" + } + ], + "theme_color": "#ffffff", + "background_color": "#ffffff", + "display": "standalone" +} \ No newline at end of file diff --git a/sni-templates/converter/web-app-manifest-192x192.png b/sni-templates/converter/web-app-manifest-192x192.png new file mode 100644 index 0000000..83ce174 Binary files /dev/null and b/sni-templates/converter/web-app-manifest-192x192.png differ diff --git a/sni-templates/converter/web-app-manifest-512x512.png b/sni-templates/converter/web-app-manifest-512x512.png new file mode 100644 index 0000000..3fd76d4 Binary files /dev/null and b/sni-templates/converter/web-app-manifest-512x512.png differ diff --git a/sni-templates/convertit/apple-touch-icon.png b/sni-templates/convertit/apple-touch-icon.png new file mode 100644 index 0000000..5a78e5b Binary files /dev/null and b/sni-templates/convertit/apple-touch-icon.png differ diff --git a/sni-templates/convertit/assets/pexels-photo-2608517.jpeg b/sni-templates/convertit/assets/pexels-photo-2608517.jpeg new file mode 100644 index 0000000..9f07174 Binary files /dev/null and b/sni-templates/convertit/assets/pexels-photo-2608517.jpeg differ diff --git a/sni-templates/convertit/assets/pexels-photo-3062541.jpeg b/sni-templates/convertit/assets/pexels-photo-3062541.jpeg new file mode 100644 index 0000000..2b60145 Binary files /dev/null and b/sni-templates/convertit/assets/pexels-photo-3062541.jpeg differ diff --git a/sni-templates/convertit/assets/pexels-photo-3379943.jpeg b/sni-templates/convertit/assets/pexels-photo-3379943.jpeg new file mode 100644 index 0000000..b14a3f0 Binary files /dev/null and b/sni-templates/convertit/assets/pexels-photo-3379943.jpeg differ diff --git a/sni-templates/convertit/assets/pexels-photo-4144923.jpeg b/sni-templates/convertit/assets/pexels-photo-4144923.jpeg new file mode 100644 index 0000000..b76cc03 Binary files /dev/null and b/sni-templates/convertit/assets/pexels-photo-4144923.jpeg differ diff --git a/sni-templates/convertit/assets/script.js b/sni-templates/convertit/assets/script.js new file mode 100644 index 0000000..f802803 --- /dev/null +++ b/sni-templates/convertit/assets/script.js @@ -0,0 +1,147 @@ +var Hd=Object.defineProperty;var Wd=(e,t,n)=>t in e?Hd(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var Fl=(e,t,n)=>Wd(e,typeof t!="symbol"?t+"":t,n);function Kd(e,t){for(var n=0;nr[i]})}}}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 i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const s of i)if(s.type==="childList")for(const o of s.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).observe(document,{childList:!0,subtree:!0});function n(i){const s={};return i.integrity&&(s.integrity=i.integrity),i.referrerPolicy&&(s.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?s.credentials="include":i.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function r(i){if(i.ep)return;i.ep=!0;const s=n(i);fetch(i.href,s)}})();function Qd(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var uu={exports:{}},zi={},cu={exports:{}},I={};/** + * @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 Sr=Symbol.for("react.element"),Yd=Symbol.for("react.portal"),Jd=Symbol.for("react.fragment"),Gd=Symbol.for("react.strict_mode"),qd=Symbol.for("react.profiler"),Xd=Symbol.for("react.provider"),Zd=Symbol.for("react.context"),ef=Symbol.for("react.forward_ref"),tf=Symbol.for("react.suspense"),nf=Symbol.for("react.memo"),rf=Symbol.for("react.lazy"),Pl=Symbol.iterator;function sf(e){return e===null||typeof e!="object"?null:(e=Pl&&e[Pl]||e["@@iterator"],typeof e=="function"?e:null)}var du={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},fu=Object.assign,pu={};function jn(e,t,n){this.props=e,this.context=t,this.refs=pu,this.updater=n||du}jn.prototype.isReactComponent={};jn.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")};jn.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function hu(){}hu.prototype=jn.prototype;function Oo(e,t,n){this.props=e,this.context=t,this.refs=pu,this.updater=n||du}var Ro=Oo.prototype=new hu;Ro.constructor=Oo;fu(Ro,jn.prototype);Ro.isPureReactComponent=!0;var Ll=Array.isArray,mu=Object.prototype.hasOwnProperty,To={current:null},gu={key:!0,ref:!0,__self:!0,__source:!0};function vu(e,t,n){var r,i={},s=null,o=null;if(t!=null)for(r in t.ref!==void 0&&(o=t.ref),t.key!==void 0&&(s=""+t.key),t)mu.call(t,r)&&!gu.hasOwnProperty(r)&&(i[r]=t[r]);var l=arguments.length-2;if(l===1)i.children=n;else if(1 >>1,X=F[U];if(0>>1;U i(ts,T))Ot i(Pr,ts)?(F[U]=Pr,F[Ot]=T,U=Ot):(F[U]=ts,F[Lt]=T,U=Lt);else if(Ot i(Pr,T))F[U]=Pr,F[Ot]=T,U=Ot;else break e}}return O}function i(F,O){var T=F.sortIndex-O.sortIndex;return T!==0?T:F.id-O.id}if(typeof performance=="object"&&typeof performance.now=="function"){var s=performance;e.unstable_now=function(){return s.now()}}else{var o=Date,l=o.now();e.unstable_now=function(){return o.now()-l}}var a=[],c=[],f=1,p=null,d=3,v=!1,x=!1,w=!1,N=typeof setTimeout=="function"?setTimeout:null,m=typeof clearTimeout=="function"?clearTimeout:null,h=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function g(F){for(var O=n(c);O!==null;){if(O.callback===null)r(c);else if(O.startTime<=F)r(c),O.sortIndex=O.expirationTime,t(a,O);else break;O=n(c)}}function y(F){if(w=!1,g(F),!x)if(n(a)!==null)x=!0,it(S);else{var O=n(c);O!==null&&Jt(y,O.startTime-F)}}function S(F,O){x=!1,w&&(w=!1,m(L),L=-1),v=!0;var T=d;try{for(g(O),p=n(a);p!==null&&(!(p.expirationTime>O)||F&&!te());){var U=p.callback;if(typeof U=="function"){p.callback=null,d=p.priorityLevel;var X=U(p.expirationTime<=O);O=e.unstable_now(),typeof X=="function"?p.callback=X:p===n(a)&&r(a),g(O)}else r(a);p=n(a)}if(p!==null)var Fr=!0;else{var Lt=n(c);Lt!==null&&Jt(y,Lt.startTime-O),Fr=!1}return Fr}finally{p=null,d=T,v=!1}}var C=!1,j=null,L=-1,V=5,b=-1;function te(){return!(e.unstable_now()-b F||125 U?(F.sortIndex=T,t(c,F),n(a)===null&&F===n(c)&&(w?(m(L),L=-1):w=!0,Jt(y,T-U))):(F.sortIndex=X,t(a,F),x||v||(x=!0,it(S))),F},e.unstable_shouldYield=te,e.unstable_wrapCallback=function(F){var O=d;return function(){var T=d;d=O;try{return F.apply(this,arguments)}finally{d=T}}}})(ku);Su.exports=ku;var yf=Su.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 xf=E,Ee=yf;function k(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n "u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Rs=Object.prototype.hasOwnProperty,wf=/^[: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]*$/,Rl={},Tl={};function Sf(e){return Rs.call(Tl,e)?!0:Rs.call(Rl,e)?!1:wf.test(e)?Tl[e]=!0:(Rl[e]=!0,!1)}function kf(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function Nf(e,t,n,r){if(t===null||typeof t>"u"||kf(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.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 pe(e,t,n,r,i,s,o){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=s,this.removeEmptyString=o}var ie={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){ie[e]=new pe(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];ie[t]=new pe(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){ie[e]=new pe(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){ie[e]=new pe(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){ie[e]=new pe(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){ie[e]=new pe(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){ie[e]=new pe(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){ie[e]=new pe(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){ie[e]=new pe(e,5,!1,e.toLowerCase(),null,!1,!1)});var Io=/[\-:]([a-z])/g;function zo(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(Io,zo);ie[t]=new pe(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(Io,zo);ie[t]=new pe(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(Io,zo);ie[t]=new pe(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){ie[e]=new pe(e,1,!1,e.toLowerCase(),null,!1,!1)});ie.xlinkHref=new pe("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){ie[e]=new pe(e,1,!1,e.toLowerCase(),null,!0,!0)});function Do(e,t,n,r){var i=ie.hasOwnProperty(t)?ie[t]:null;(i!==null?i.type!==0:r||!(2 l||i[o]!==s[l]){var a=` +`+i[o].replace(" at new "," at ");return e.displayName&&a.includes(" ")&&(a=a.replace(" ",e.displayName)),a}while(1<=o&&0<=l);break}}}finally{is=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Un(e):""}function Ef(e){switch(e.tag){case 5:return Un(e.type);case 16:return Un("Lazy");case 13:return Un("Suspense");case 19:return Un("SuspenseList");case 0:case 2:case 15:return e=ss(e.type,!1),e;case 11:return e=ss(e.type.render,!1),e;case 1:return e=ss(e.type,!0),e;default:return""}}function zs(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 en:return"Fragment";case Zt:return"Portal";case Ts:return"Profiler";case _o:return"StrictMode";case bs:return"Suspense";case Is:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case ju:return(e.displayName||"Context")+".Consumer";case Eu:return(e._context.displayName||"Context")+".Provider";case Mo:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case $o:return t=e.displayName||null,t!==null?t:zs(e.type)||"Memo";case ot:t=e._payload,e=e._init;try{return zs(e(t))}catch{}}return null}function jf(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 zs(t);case 8:return t===_o?"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 kt(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Fu(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Cf(e){var t=Fu(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var i=n.get,s=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(o){r=""+o,s.call(this,o)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(o){r=""+o},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Rr(e){e._valueTracker||(e._valueTracker=Cf(e))}function Pu(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Fu(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function si(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 Ds(e,t){var n=t.checked;return W({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Il(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=kt(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function Lu(e,t){t=t.checked,t!=null&&Do(e,"checked",t,!1)}function _s(e,t){Lu(e,t);var n=kt(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?Ms(e,t.type,n):t.hasOwnProperty("defaultValue")&&Ms(e,t.type,kt(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function zl(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function Ms(e,t,n){(t!=="number"||si(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var An=Array.isArray;function fn(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i "+t.valueOf().toString()+"",t=Tr.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function tr(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Hn={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},Ff=["Webkit","ms","Moz","O"];Object.keys(Hn).forEach(function(e){Ff.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Hn[t]=Hn[e]})});function bu(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Hn.hasOwnProperty(e)&&Hn[e]?(""+t).trim():t+"px"}function Iu(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=bu(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var Pf=W({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 As(e,t){if(t){if(Pf[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(k(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(k(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(k(61))}if(t.style!=null&&typeof t.style!="object")throw Error(k(62))}}function Vs(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 Bs=null;function Uo(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Hs=null,pn=null,hn=null;function Ml(e){if(e=Er(e)){if(typeof Hs!="function")throw Error(k(280));var t=e.stateNode;t&&(t=Ui(t),Hs(e.stateNode,e.type,t))}}function zu(e){pn?hn?hn.push(e):hn=[e]:pn=e}function Du(){if(pn){var e=pn,t=hn;if(hn=pn=null,Ml(e),t)for(e=0;e >>=0,e===0?32:31-($f(e)/Uf|0)|0}var br=64,Ir=4194304;function Vn(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 ui(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,i=e.suspendedLanes,s=e.pingedLanes,o=n&268435455;if(o!==0){var l=o&~i;l!==0?r=Vn(l):(s&=o,s!==0&&(r=Vn(s)))}else o=n&~i,o!==0?r=Vn(o):s!==0&&(r=Vn(s));if(r===0)return 0;if(t!==0&&t!==r&&!(t&i)&&(i=r&-r,s=t&-t,i>=s||i===16&&(s&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0 n;n++)t.push(e);return t}function kr(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Me(t),e[t]=n}function Hf(e,t){var n=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 r=e.eventTimes;for(e=e.expirationTimes;0 =Kn),Ql=" ",Yl=!1;function nc(e,t){switch(e){case"keyup":return yp.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function rc(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var tn=!1;function wp(e,t){switch(e){case"compositionend":return rc(t);case"keypress":return t.which!==32?null:(Yl=!0,Ql);case"textInput":return e=t.data,e===Ql&&Yl?null:e;default:return null}}function Sp(e,t){if(tn)return e==="compositionend"||!Yo&&nc(e,t)?(e=ec(),Gr=Wo=ct=null,tn=!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)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Xl(n)}}function lc(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?lc(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function ac(){for(var e=window,t=si();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=si(e.document)}return t}function Jo(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 Op(e){var t=ac(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&lc(n.ownerDocument.documentElement,n)){if(r!==null&&Jo(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var i=n.textContent.length,s=Math.min(r.start,i);r=r.end===void 0?s:Math.min(r.end,i),!e.extend&&s>r&&(i=r,r=s,s=i),i=Zl(n,s);var o=Zl(n,r);i&&o&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==o.node||e.focusOffset!==o.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),s>r?(e.addRange(t),e.extend(o.node,o.offset)):(t.setEnd(o.node,o.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n =document.documentMode,nn=null,Gs=null,Yn=null,qs=!1;function ea(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;qs||nn==null||nn!==si(r)||(r=nn,"selectionStart"in r&&Jo(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Yn&&lr(Yn,r)||(Yn=r,r=fi(Gs,"onSelect"),0 on||(e.current=ro[on],ro[on]=null,on--)}function _(e,t){on++,ro[on]=e.current,e.current=t}var Nt={},ae=jt(Nt),ve=jt(!1),$t=Nt;function xn(e,t){var n=e.type.contextTypes;if(!n)return Nt;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},s;for(s in n)i[s]=t[s];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function ye(e){return e=e.childContextTypes,e!=null}function hi(){$(ve),$(ae)}function la(e,t,n){if(ae.current!==Nt)throw Error(k(168));_(ae,t),_(ve,n)}function vc(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var i in r)if(!(i in t))throw Error(k(108,jf(e)||"Unknown",i));return W({},n,r)}function mi(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Nt,$t=ae.current,_(ae,e),_(ve,ve.current),!0}function aa(e,t,n){var r=e.stateNode;if(!r)throw Error(k(169));n?(e=vc(e,t,$t),r.__reactInternalMemoizedMergedChildContext=e,$(ve),$(ae),_(ae,e)):$(ve),_(ve,n)}var Ye=null,Ai=!1,xs=!1;function yc(e){Ye===null?Ye=[e]:Ye.push(e)}function Vp(e){Ai=!0,yc(e)}function Ct(){if(!xs&&Ye!==null){xs=!0;var e=0,t=D;try{var n=Ye;for(D=1;e >=o,i-=o,Je=1<<32-Me(t)+i|n<L?(V=j,j=null):V=j.sibling;var b=d(m,j,g[L],y);if(b===null){j===null&&(j=V);break}e&&j&&b.alternate===null&&t(m,j),h=s(b,h,L),C===null?S=b:C.sibling=b,C=b,j=V}if(L===g.length)return n(m,j),A&&Rt(m,L),S;if(j===null){for(;L L?(V=j,j=null):V=j.sibling;var te=d(m,j,b.value,y);if(te===null){j===null&&(j=V);break}e&&j&&te.alternate===null&&t(m,j),h=s(te,h,L),C===null?S=te:C.sibling=te,C=te,j=V}if(b.done)return n(m,j),A&&Rt(m,L),S;if(j===null){for(;!b.done;L++,b=g.next())b=p(m,b.value,y),b!==null&&(h=s(b,h,L),C===null?S=b:C.sibling=b,C=b);return A&&Rt(m,L),S}for(j=r(m,j);!b.done;L++,b=g.next())b=v(j,m,L,b.value,y),b!==null&&(e&&b.alternate!==null&&j.delete(b.key===null?L:b.key),h=s(b,h,L),C===null?S=b:C.sibling=b,C=b);return e&&j.forEach(function(Yt){return t(m,Yt)}),A&&Rt(m,L),S}function N(m,h,g,y){if(typeof g=="object"&&g!==null&&g.type===en&&g.key===null&&(g=g.props.children),typeof g=="object"&&g!==null){switch(g.$$typeof){case Or:e:{for(var S=g.key,C=h;C!==null;){if(C.key===S){if(S=g.type,S===en){if(C.tag===7){n(m,C.sibling),h=i(C,g.props.children),h.return=m,m=h;break e}}else if(C.elementType===S||typeof S=="object"&&S!==null&&S.$$typeof===ot&&da(S)===C.type){n(m,C.sibling),h=i(C,g.props),h.ref=In(m,C,g),h.return=m,m=h;break e}n(m,C);break}else t(m,C);C=C.sibling}g.type===en?(h=_t(g.props.children,m.mode,y,g.key),h.return=m,m=h):(y=ii(g.type,g.key,g.props,null,m.mode,y),y.ref=In(m,h,g),y.return=m,m=y)}return o(m);case Zt:e:{for(C=g.key;h!==null;){if(h.key===C)if(h.tag===4&&h.stateNode.containerInfo===g.containerInfo&&h.stateNode.implementation===g.implementation){n(m,h.sibling),h=i(h,g.children||[]),h.return=m,m=h;break e}else{n(m,h);break}else t(m,h);h=h.sibling}h=Fs(g,m.mode,y),h.return=m,m=h}return o(m);case ot:return C=g._init,N(m,h,C(g._payload),y)}if(An(g))return x(m,h,g,y);if(Ln(g))return w(m,h,g,y);Ar(m,g)}return typeof g=="string"&&g!==""||typeof g=="number"?(g=""+g,h!==null&&h.tag===6?(n(m,h.sibling),h=i(h,g),h.return=m,m=h):(n(m,h),h=Cs(g,m.mode,y),h.return=m,m=h),o(m)):n(m,h)}return N}var Sn=kc(!0),Nc=kc(!1),yi=jt(null),xi=null,un=null,Zo=null;function el(){Zo=un=xi=null}function tl(e){var t=yi.current;$(yi),e._currentValue=t}function oo(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function gn(e,t){xi=e,Zo=un=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(ge=!0),e.firstContext=null)}function Te(e){var t=e._currentValue;if(Zo!==e)if(e={context:e,memoizedValue:t,next:null},un===null){if(xi===null)throw Error(k(308));un=e,xi.dependencies={lanes:0,firstContext:e}}else un=un.next=e;return t}var It=null;function nl(e){It===null?It=[e]:It.push(e)}function Ec(e,t,n,r){var i=t.interleaved;return i===null?(n.next=n,nl(t)):(n.next=i.next,i.next=n),t.interleaved=n,et(e,r)}function et(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var lt=!1;function rl(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function jc(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 qe(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function vt(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,z&2){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,et(e,n)}return i=r.interleaved,i===null?(t.next=t,nl(r)):(t.next=i.next,i.next=t),r.interleaved=t,et(e,n)}function Xr(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Vo(e,n)}}function fa(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var i=null,s=null;if(n=n.firstBaseUpdate,n!==null){do{var o={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};s===null?i=s=o:s=s.next=o,n=n.next}while(n!==null);s===null?i=s=t:s=s.next=t}else i=s=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:s,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function wi(e,t,n,r){var i=e.updateQueue;lt=!1;var s=i.firstBaseUpdate,o=i.lastBaseUpdate,l=i.shared.pending;if(l!==null){i.shared.pending=null;var a=l,c=a.next;a.next=null,o===null?s=c:o.next=c,o=a;var f=e.alternate;f!==null&&(f=f.updateQueue,l=f.lastBaseUpdate,l!==o&&(l===null?f.firstBaseUpdate=c:l.next=c,f.lastBaseUpdate=a))}if(s!==null){var p=i.baseState;o=0,f=c=a=null,l=s;do{var d=l.lane,v=l.eventTime;if((r&d)===d){f!==null&&(f=f.next={eventTime:v,lane:0,tag:l.tag,payload:l.payload,callback:l.callback,next:null});e:{var x=e,w=l;switch(d=t,v=n,w.tag){case 1:if(x=w.payload,typeof x=="function"){p=x.call(v,p,d);break e}p=x;break e;case 3:x.flags=x.flags&-65537|128;case 0:if(x=w.payload,d=typeof x=="function"?x.call(v,p,d):x,d==null)break e;p=W({},p,d);break e;case 2:lt=!0}}l.callback!==null&&l.lane!==0&&(e.flags|=64,d=i.effects,d===null?i.effects=[l]:d.push(l))}else v={eventTime:v,lane:d,tag:l.tag,payload:l.payload,callback:l.callback,next:null},f===null?(c=f=v,a=p):f=f.next=v,o|=d;if(l=l.next,l===null){if(l=i.shared.pending,l===null)break;d=l,l=d.next,d.next=null,i.lastBaseUpdate=d,i.shared.pending=null}}while(!0);if(f===null&&(a=p),i.baseState=a,i.firstBaseUpdate=c,i.lastBaseUpdate=f,t=i.shared.interleaved,t!==null){i=t;do o|=i.lane,i=i.next;while(i!==t)}else s===null&&(i.shared.lanes=0);Vt|=o,e.lanes=o,e.memoizedState=p}}function pa(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;t n?n:4,e(!0);var r=Ss.transition;Ss.transition={};try{e(!1),t()}finally{D=n,Ss.transition=r}}function Vc(){return be().memoizedState}function Kp(e,t,n){var r=xt(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Bc(e))Hc(t,n);else if(n=Ec(e,t,n,r),n!==null){var i=de();$e(n,e,r,i),Wc(n,t,r)}}function Qp(e,t,n){var r=xt(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Bc(e))Hc(t,i);else{var s=e.alternate;if(e.lanes===0&&(s===null||s.lanes===0)&&(s=t.lastRenderedReducer,s!==null))try{var o=t.lastRenderedState,l=s(o,n);if(i.hasEagerState=!0,i.eagerState=l,Ue(l,o)){var a=t.interleaved;a===null?(i.next=i,nl(t)):(i.next=a.next,a.next=i),t.interleaved=i;return}}catch{}finally{}n=Ec(e,t,i,r),n!==null&&(i=de(),$e(n,e,r,i),Wc(n,t,r))}}function Bc(e){var t=e.alternate;return e===H||t!==null&&t===H}function Hc(e,t){Jn=ki=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Wc(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Vo(e,n)}}var Ni={readContext:Te,useCallback:se,useContext:se,useEffect:se,useImperativeHandle:se,useInsertionEffect:se,useLayoutEffect:se,useMemo:se,useReducer:se,useRef:se,useState:se,useDebugValue:se,useDeferredValue:se,useTransition:se,useMutableSource:se,useSyncExternalStore:se,useId:se,unstable_isNewReconciler:!1},Yp={readContext:Te,useCallback:function(e,t){return Ve().memoizedState=[e,t===void 0?null:t],e},useContext:Te,useEffect:ma,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,ei(4194308,4,_c.bind(null,t,e),n)},useLayoutEffect:function(e,t){return ei(4194308,4,e,t)},useInsertionEffect:function(e,t){return ei(4,2,e,t)},useMemo:function(e,t){var n=Ve();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Ve();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=Kp.bind(null,H,e),[r.memoizedState,e]},useRef:function(e){var t=Ve();return e={current:e},t.memoizedState=e},useState:ha,useDebugValue:dl,useDeferredValue:function(e){return Ve().memoizedState=e},useTransition:function(){var e=ha(!1),t=e[0];return e=Wp.bind(null,e[1]),Ve().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=H,i=Ve();if(A){if(n===void 0)throw Error(k(407));n=n()}else{if(n=t(),ee===null)throw Error(k(349));At&30||Lc(r,t,n)}i.memoizedState=n;var s={value:n,getSnapshot:t};return i.queue=s,ma(Rc.bind(null,r,s,e),[e]),r.flags|=2048,mr(9,Oc.bind(null,r,s,n,t),void 0,null),n},useId:function(){var e=Ve(),t=ee.identifierPrefix;if(A){var n=Ge,r=Je;n=(r&~(1<<32-Me(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=pr++,0 <\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=o.createElement(n,{is:r.is}):(e=o.createElement(n),n==="select"&&(o=e,r.multiple?o.multiple=!0:r.size&&(o.size=r.size))):e=o.createElementNS(e,n),e[Be]=t,e[cr]=r,td(e,t,!1,!1),t.stateNode=e;e:{switch(o=Vs(n,r),n){case"dialog":M("cancel",e),M("close",e),i=r;break;case"iframe":case"object":case"embed":M("load",e),i=r;break;case"video":case"audio":for(i=0;i En&&(t.flags|=128,r=!0,zn(s,!1),t.lanes=4194304)}else{if(!r)if(e=Si(o),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),zn(s,!0),s.tail===null&&s.tailMode==="hidden"&&!o.alternate&&!A)return oe(t),null}else 2*Q()-s.renderingStartTime>En&&n!==1073741824&&(t.flags|=128,r=!0,zn(s,!1),t.lanes=4194304);s.isBackwards?(o.sibling=t.child,t.child=o):(n=s.last,n!==null?n.sibling=o:t.child=o,s.last=o)}return s.tail!==null?(t=s.tail,s.rendering=t,s.tail=t.sibling,s.renderingStartTime=Q(),t.sibling=null,n=B.current,_(B,r?n&1|2:n&1),t):(oe(t),null);case 22:case 23:return vl(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?Se&1073741824&&(oe(t),t.subtreeFlags&6&&(t.flags|=8192)):oe(t),null;case 24:return null;case 25:return null}throw Error(k(156,t.tag))}function nh(e,t){switch(qo(t),t.tag){case 1:return ye(t.type)&&hi(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return kn(),$(ve),$(ae),ol(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return sl(t),null;case 13:if($(B),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(k(340));wn()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return $(B),null;case 4:return kn(),null;case 10:return tl(t.type._context),null;case 22:case 23:return vl(),null;case 24:return null;default:return null}}var Br=!1,le=!1,rh=typeof WeakSet=="function"?WeakSet:Set,P=null;function cn(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){K(e,t,r)}else n.current=null}function go(e,t,n){try{n()}catch(r){K(e,t,r)}}var Ca=!1;function ih(e,t){if(Xs=ci,e=ac(),Jo(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var i=r.anchorOffset,s=r.focusNode;r=r.focusOffset;try{n.nodeType,s.nodeType}catch{n=null;break e}var o=0,l=-1,a=-1,c=0,f=0,p=e,d=null;t:for(;;){for(var v;p!==n||i!==0&&p.nodeType!==3||(l=o+i),p!==s||r!==0&&p.nodeType!==3||(a=o+r),p.nodeType===3&&(o+=p.nodeValue.length),(v=p.firstChild)!==null;)d=p,p=v;for(;;){if(p===e)break t;if(d===n&&++c===i&&(l=o),d===s&&++f===r&&(a=o),(v=p.nextSibling)!==null)break;p=d,d=p.parentNode}p=v}n=l===-1||a===-1?null:{start:l,end:a}}else n=null}n=n||{start:0,end:0}}else n=null;for(Zs={focusedElem:e,selectionRange:n},ci=!1,P=t;P!==null;)if(t=P,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,P=e;else for(;P!==null;){t=P;try{var x=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(x!==null){var w=x.memoizedProps,N=x.memoizedState,m=t.stateNode,h=m.getSnapshotBeforeUpdate(t.elementType===t.type?w:ze(t.type,w),N);m.__reactInternalSnapshotBeforeUpdate=h}break;case 3:var g=t.stateNode.containerInfo;g.nodeType===1?g.textContent="":g.nodeType===9&&g.documentElement&&g.removeChild(g.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(k(163))}}catch(y){K(t,t.return,y)}if(e=t.sibling,e!==null){e.return=t.return,P=e;break}P=t.return}return x=Ca,Ca=!1,x}function Gn(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var i=r=r.next;do{if((i.tag&e)===e){var s=i.destroy;i.destroy=void 0,s!==void 0&&go(t,n,s)}i=i.next}while(i!==r)}}function Hi(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function vo(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function id(e){var t=e.alternate;t!==null&&(e.alternate=null,id(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Be],delete t[cr],delete t[no],delete t[Up],delete t[Ap])),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 sd(e){return e.tag===5||e.tag===3||e.tag===4}function Fa(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||sd(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 yo(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=pi));else if(r!==4&&(e=e.child,e!==null))for(yo(e,t,n),e=e.sibling;e!==null;)yo(e,t,n),e=e.sibling}function xo(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(xo(e,t,n),e=e.sibling;e!==null;)xo(e,t,n),e=e.sibling}var ne=null,De=!1;function st(e,t,n){for(n=n.child;n!==null;)od(e,t,n),n=n.sibling}function od(e,t,n){if(We&&typeof We.onCommitFiberUnmount=="function")try{We.onCommitFiberUnmount(Di,n)}catch{}switch(n.tag){case 5:le||cn(n,t);case 6:var r=ne,i=De;ne=null,st(e,t,n),ne=r,De=i,ne!==null&&(De?(e=ne,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):ne.removeChild(n.stateNode));break;case 18:ne!==null&&(De?(e=ne,n=n.stateNode,e.nodeType===8?ys(e.parentNode,n):e.nodeType===1&&ys(e,n),sr(e)):ys(ne,n.stateNode));break;case 4:r=ne,i=De,ne=n.stateNode.containerInfo,De=!0,st(e,t,n),ne=r,De=i;break;case 0:case 11:case 14:case 15:if(!le&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var s=i,o=s.destroy;s=s.tag,o!==void 0&&(s&2||s&4)&&go(n,t,o),i=i.next}while(i!==r)}st(e,t,n);break;case 1:if(!le&&(cn(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(l){K(n,t,l)}st(e,t,n);break;case 21:st(e,t,n);break;case 22:n.mode&1?(le=(r=le)||n.memoizedState!==null,st(e,t,n),le=r):st(e,t,n);break;default:st(e,t,n)}}function Pa(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new rh),t.forEach(function(r){var i=ph.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function Ie(e,t){var n=t.deletions;if(n!==null)for(var r=0;r i&&(i=o),r&=~s}if(r=i,r=Q()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*oh(r/1960))-r,10 e?16:e,dt===null)var r=!1;else{if(e=dt,dt=null,Ci=0,z&6)throw Error(k(331));var i=z;for(z|=4,P=e.current;P!==null;){var s=P,o=s.child;if(P.flags&16){var l=s.deletions;if(l!==null){for(var a=0;a Q()-ml?Dt(e,0):hl|=n),xe(e,t)}function hd(e,t){t===0&&(e.mode&1?(t=Ir,Ir<<=1,!(Ir&130023424)&&(Ir=4194304)):t=1);var n=de();e=et(e,t),e!==null&&(kr(e,t,n),xe(e,n))}function fh(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),hd(e,n)}function ph(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;i!==null&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(k(314))}r!==null&&r.delete(t),hd(e,n)}var md;md=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||ve.current)ge=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return ge=!1,eh(e,t,n);ge=!!(e.flags&131072)}else ge=!1,A&&t.flags&1048576&&xc(t,vi,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;ti(e,t),e=t.pendingProps;var i=xn(t,ae.current);gn(t,n),i=al(null,t,r,e,i,n);var s=ul();return t.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,ye(r)?(s=!0,mi(t)):s=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,rl(t),i.updater=Bi,t.stateNode=i,i._reactInternals=t,ao(t,r,e,n),t=fo(null,t,r,!0,s,n)):(t.tag=0,A&&s&&Go(t),ce(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(ti(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=mh(r),e=ze(r,e),i){case 0:t=co(null,t,r,e,n);break e;case 1:t=Na(null,t,r,e,n);break e;case 11:t=Sa(null,t,r,e,n);break e;case 14:t=ka(null,t,r,ze(r.type,e),n);break e}throw Error(k(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:ze(r,i),co(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:ze(r,i),Na(e,t,r,i,n);case 3:e:{if(Xc(t),e===null)throw Error(k(387));r=t.pendingProps,s=t.memoizedState,i=s.element,jc(e,t),wi(t,r,null,n);var o=t.memoizedState;if(r=o.element,s.isDehydrated)if(s={element:r,isDehydrated:!1,cache:o.cache,pendingSuspenseBoundaries:o.pendingSuspenseBoundaries,transitions:o.transitions},t.updateQueue.baseState=s,t.memoizedState=s,t.flags&256){i=Nn(Error(k(423)),t),t=Ea(e,t,r,n,i);break e}else if(r!==i){i=Nn(Error(k(424)),t),t=Ea(e,t,r,n,i);break e}else for(ke=gt(t.stateNode.containerInfo.firstChild),Ne=t,A=!0,_e=null,n=Nc(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(wn(),r===i){t=tt(e,t,n);break e}ce(e,t,r,n)}t=t.child}return t;case 5:return Cc(t),e===null&&so(t),r=t.type,i=t.pendingProps,s=e!==null?e.memoizedProps:null,o=i.children,eo(r,i)?o=null:s!==null&&eo(r,s)&&(t.flags|=32),qc(e,t),ce(e,t,o,n),t.child;case 6:return e===null&&so(t),null;case 13:return Zc(e,t,n);case 4:return il(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Sn(t,null,r,n):ce(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:ze(r,i),Sa(e,t,r,i,n);case 7:return ce(e,t,t.pendingProps,n),t.child;case 8:return ce(e,t,t.pendingProps.children,n),t.child;case 12:return ce(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,s=t.memoizedProps,o=i.value,_(yi,r._currentValue),r._currentValue=o,s!==null)if(Ue(s.value,o)){if(s.children===i.children&&!ve.current){t=tt(e,t,n);break e}}else for(s=t.child,s!==null&&(s.return=t);s!==null;){var l=s.dependencies;if(l!==null){o=s.child;for(var a=l.firstContext;a!==null;){if(a.context===r){if(s.tag===1){a=qe(-1,n&-n),a.tag=2;var c=s.updateQueue;if(c!==null){c=c.shared;var f=c.pending;f===null?a.next=a:(a.next=f.next,f.next=a),c.pending=a}}s.lanes|=n,a=s.alternate,a!==null&&(a.lanes|=n),oo(s.return,n,t),l.lanes|=n;break}a=a.next}}else if(s.tag===10)o=s.type===t.type?null:s.child;else if(s.tag===18){if(o=s.return,o===null)throw Error(k(341));o.lanes|=n,l=o.alternate,l!==null&&(l.lanes|=n),oo(o,n,t),o=s.sibling}else o=s.child;if(o!==null)o.return=s;else for(o=s;o!==null;){if(o===t){o=null;break}if(s=o.sibling,s!==null){s.return=o.return,o=s;break}o=o.return}s=o}ce(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,gn(t,n),i=Te(i),r=r(i),t.flags|=1,ce(e,t,r,n),t.child;case 14:return r=t.type,i=ze(r,t.pendingProps),i=ze(r.type,i),ka(e,t,r,i,n);case 15:return Jc(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:ze(r,i),ti(e,t),t.tag=1,ye(r)?(e=!0,mi(t)):e=!1,gn(t,n),Kc(t,r,i),ao(t,r,i,n),fo(null,t,r,!0,e,n);case 19:return ed(e,t,n);case 22:return Gc(e,t,n)}throw Error(k(156,t.tag))};function gd(e,t){return Bu(e,t)}function hh(e,t,n,r){this.tag=e,this.key=n,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=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Oe(e,t,n,r){return new hh(e,t,n,r)}function xl(e){return e=e.prototype,!(!e||!e.isReactComponent)}function mh(e){if(typeof e=="function")return xl(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Mo)return 11;if(e===$o)return 14}return 2}function wt(e,t){var n=e.alternate;return n===null?(n=Oe(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function ii(e,t,n,r,i,s){var o=2;if(r=e,typeof e=="function")xl(e)&&(o=1);else if(typeof e=="string")o=5;else e:switch(e){case en:return _t(n.children,i,s,t);case _o:o=8,i|=8;break;case Ts:return e=Oe(12,n,t,i|2),e.elementType=Ts,e.lanes=s,e;case bs:return e=Oe(13,n,t,i),e.elementType=bs,e.lanes=s,e;case Is:return e=Oe(19,n,t,i),e.elementType=Is,e.lanes=s,e;case Cu:return Ki(n,i,s,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Eu:o=10;break e;case ju:o=9;break e;case Mo:o=11;break e;case $o:o=14;break e;case ot:o=16,r=null;break e}throw Error(k(130,e==null?e:typeof e,""))}return t=Oe(o,n,t,i),t.elementType=e,t.type=r,t.lanes=s,t}function _t(e,t,n,r){return e=Oe(7,e,r,t),e.lanes=n,e}function Ki(e,t,n,r){return e=Oe(22,e,r,t),e.elementType=Cu,e.lanes=n,e.stateNode={isHidden:!1},e}function Cs(e,t,n){return e=Oe(6,e,null,t),e.lanes=n,e}function Fs(e,t,n){return t=Oe(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function gh(e,t,n,r,i){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=ls(0),this.expirationTimes=ls(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ls(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function wl(e,t,n,r,i,s,o,l,a){return e=new gh(e,t,n,l,a),t===1?(t=1,s===!0&&(t|=8)):t=0,s=Oe(3,null,null,t),e.current=s,s.stateNode=e,s.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},rl(s),e}function vh(e,t,n){var r=3 "u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(wd)}catch(e){console.error(e)}}wd(),wu.exports=je;var kh=wu.exports,Sd,Da=kh;Sd=Da.createRoot,Da.hydrateRoot;/** + * @remix-run/router v1.23.0 + * + * Copyright (c) Remix Software Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE.md file in the root directory of this source tree. + * + * @license MIT + */function vr(){return vr=Object.assign?Object.assign.bind():function(e){for(var t=1;t "u")throw new Error(t)}function kd(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function Eh(){return Math.random().toString(36).substr(2,8)}function Ma(e,t){return{usr:e.state,key:e.key,idx:t}}function Eo(e,t,n,r){return n===void 0&&(n=null),vr({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?Pn(t):t,{state:n,key:t&&t.key||r||Eh()})}function Li(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),r&&r!=="#"&&(t+=r.charAt(0)==="#"?r:"#"+r),t}function Pn(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function jh(e,t,n,r){r===void 0&&(r={});let{window:i=document.defaultView,v5Compat:s=!1}=r,o=i.history,l=ft.Pop,a=null,c=f();c==null&&(c=0,o.replaceState(vr({},o.state,{idx:c}),""));function f(){return(o.state||{idx:null}).idx}function p(){l=ft.Pop;let N=f(),m=N==null?null:N-c;c=N,a&&a({action:l,location:w.location,delta:m})}function d(N,m){l=ft.Push;let h=Eo(w.location,N,m);c=f()+1;let g=Ma(h,c),y=w.createHref(h);try{o.pushState(g,"",y)}catch(S){if(S instanceof DOMException&&S.name==="DataCloneError")throw S;i.location.assign(y)}s&&a&&a({action:l,location:w.location,delta:1})}function v(N,m){l=ft.Replace;let h=Eo(w.location,N,m);c=f();let g=Ma(h,c),y=w.createHref(h);o.replaceState(g,"",y),s&&a&&a({action:l,location:w.location,delta:0})}function x(N){let m=i.location.origin!=="null"?i.location.origin:i.location.href,h=typeof N=="string"?N:Li(N);return h=h.replace(/ $/,"%20"),J(m,"No window.location.(origin|href) available to create URL for href: "+h),new URL(h,m)}let w={get action(){return l},get location(){return e(i,o)},listen(N){if(a)throw new Error("A history only accepts one active listener");return i.addEventListener(_a,p),a=N,()=>{i.removeEventListener(_a,p),a=null}},createHref(N){return t(i,N)},createURL:x,encodeLocation(N){let m=x(N);return{pathname:m.pathname,search:m.search,hash:m.hash}},push:d,replace:v,go(N){return o.go(N)}};return w}var $a;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})($a||($a={}));function Ch(e,t,n){return n===void 0&&(n="/"),Fh(e,t,n,!1)}function Fh(e,t,n,r){let i=typeof t=="string"?Pn(t):t,s=El(i.pathname||"/",n);if(s==null)return null;let o=Nd(e);Ph(o);let l=null;for(let a=0;l==null&&a {let a={relativePath:l===void 0?s.path||"":l,caseSensitive:s.caseSensitive===!0,childrenIndex:o,route:s};a.relativePath.startsWith("/")&&(J(a.relativePath.startsWith(r),'Absolute route path "'+a.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),a.relativePath=a.relativePath.slice(r.length));let c=St([r,a.relativePath]),f=n.concat(a);s.children&&s.children.length>0&&(J(s.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+c+'".')),Nd(s.children,t,f,c)),!(s.path==null&&!s.index)&&t.push({path:c,score:zh(c,s.index),routesMeta:f})};return e.forEach((s,o)=>{var l;if(s.path===""||!((l=s.path)!=null&&l.includes("?")))i(s,o);else for(let a of Ed(s.path))i(s,o,a)}),t}function Ed(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,i=n.endsWith("?"),s=n.replace(/\?$/,"");if(r.length===0)return i?[s,""]:[s];let o=Ed(r.join("/")),l=[];return l.push(...o.map(a=>a===""?s:[s,a].join("/"))),i&&l.push(...o),l.map(a=>e.startsWith("/")&&a===""?"/":a)}function Ph(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:Dh(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const Lh=/^:[\w-]+$/,Oh=3,Rh=2,Th=1,bh=10,Ih=-2,Ua=e=>e==="*";function zh(e,t){let n=e.split("/"),r=n.length;return n.some(Ua)&&(r+=Ih),t&&(r+=Rh),n.filter(i=>!Ua(i)).reduce((i,s)=>i+(Lh.test(s)?Oh:s===""?Th:bh),r)}function Dh(e,t){return e.length===t.length&&e.slice(0,-1).every((r,i)=>r===t[i])?e[e.length-1]-t[t.length-1]:0}function _h(e,t,n){let{routesMeta:r}=e,i={},s="/",o=[];for(let l=0;l {let{paramName:d,isOptional:v}=f;if(d==="*"){let w=l[p]||"";o=s.slice(0,s.length-w.length).replace(/(.)\/+$/,"$1")}const x=l[p];return v&&!x?c[d]=void 0:c[d]=(x||"").replace(/%2F/g,"/"),c},{}),pathname:s,pathnameBase:o,pattern:e}}function Mh(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),kd(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let r=[],i="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(o,l,a)=>(r.push({paramName:l,isOptional:a!=null}),a?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),i+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?i+="\\/*$":e!==""&&e!=="/"&&(i+="(?:(?=\\/|$))"),[new RegExp(i,t?void 0:"i"),r]}function $h(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return kd(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function El(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}function Uh(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:i=""}=typeof e=="string"?Pn(e):e;return{pathname:n?n.startsWith("/")?n:Ah(n,t):t,search:Hh(r),hash:Wh(i)}}function Ah(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(i=>{i===".."?n.length>1&&n.pop():i!=="."&&n.push(i)}),n.length>1?n.join("/"):"/"}function Ps(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(r)+"]. Please separate it out to the ")+("`to."+n+"` field. Alternatively you may provide the full path as ")+'a string in and the router will parse it for you.'}function Vh(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function jd(e,t){let n=Vh(e);return t?n.map((r,i)=>i===n.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function Cd(e,t,n,r){r===void 0&&(r=!1);let i;typeof e=="string"?i=Pn(e):(i=vr({},e),J(!i.pathname||!i.pathname.includes("?"),Ps("?","pathname","search",i)),J(!i.pathname||!i.pathname.includes("#"),Ps("#","pathname","hash",i)),J(!i.search||!i.search.includes("#"),Ps("#","search","hash",i)));let s=e===""||i.pathname==="",o=s?"/":i.pathname,l;if(o==null)l=n;else{let p=t.length-1;if(!r&&o.startsWith("..")){let d=o.split("/");for(;d[0]==="..";)d.shift(),p-=1;i.pathname=d.join("/")}l=p>=0?t[p]:"/"}let a=Uh(i,l),c=o&&o!=="/"&&o.endsWith("/"),f=(s||o===".")&&n.endsWith("/");return!a.pathname.endsWith("/")&&(c||f)&&(a.pathname+="/"),a}const St=e=>e.join("/").replace(/\/\/+/g,"/"),Bh=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),Hh=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,Wh=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function Kh(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const Fd=["post","put","patch","delete"];new Set(Fd);const Qh=["get",...Fd];new Set(Qh);/** + * React Router v6.30.0 + * + * Copyright (c) Remix Software Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE.md file in the root directory of this source tree. + * + * @license MIT + */function yr(){return yr=Object.assign?Object.assign.bind():function(e){for(var t=1;t {l.current=!0}),E.useCallback(function(c,f){if(f===void 0&&(f={}),!l.current)return;if(typeof c=="number"){r.go(c);return}let p=Cd(c,JSON.parse(o),s,f.relative==="path");e==null&&t!=="/"&&(p.pathname=p.pathname==="/"?t:St([t,p.pathname])),(f.replace?r.replace:r.push)(p,f.state,f)},[t,r,o,s,e])}function Od(e,t){let{relative:n}=t===void 0?{}:t,{future:r}=E.useContext(Kt),{matches:i}=E.useContext(Qt),{pathname:s}=Xi(),o=JSON.stringify(jd(i,r.v7_relativeSplatPath));return E.useMemo(()=>Cd(e,JSON.parse(o),s,n==="path"),[e,o,s,n])}function qh(e,t){return Xh(e,t)}function Xh(e,t,n,r){Cr()||J(!1);let{navigator:i,static:s}=E.useContext(Kt),{matches:o}=E.useContext(Qt),l=o[o.length-1],a=l?l.params:{};l&&l.pathname;let c=l?l.pathnameBase:"/";l&&l.route;let f=Xi(),p;if(t){var d;let m=typeof t=="string"?Pn(t):t;c==="/"||(d=m.pathname)!=null&&d.startsWith(c)||J(!1),p=m}else p=f;let v=p.pathname||"/",x=v;if(c!=="/"){let m=c.replace(/^\//,"").split("/");x="/"+v.replace(/^\//,"").split("/").slice(m.length).join("/")}let w=!s&&n&&n.matches&&n.matches.length>0?n.matches:Ch(e,{pathname:x}),N=rm(w&&w.map(m=>Object.assign({},m,{params:Object.assign({},a,m.params),pathname:St([c,i.encodeLocation?i.encodeLocation(m.pathname).pathname:m.pathname]),pathnameBase:m.pathnameBase==="/"?c:St([c,i.encodeLocation?i.encodeLocation(m.pathnameBase).pathname:m.pathnameBase])})),o,n,r);return t&&N?E.createElement(qi.Provider,{value:{location:yr({pathname:"/",search:"",hash:"",state:null,key:"default"},p),navigationType:ft.Pop}},N):N}function Zh(){let e=lm(),t=Kh(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,i={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return E.createElement(E.Fragment,null,E.createElement("h2",null,"Unexpected Application Error!"),E.createElement("h3",{style:{fontStyle:"italic"}},t),n?E.createElement("pre",{style:i},n):null,null)}const em=E.createElement(Zh,null);class tm extends E.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location||n.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:n.error,location:n.location,revalidation:t.revalidation||n.revalidation}}componentDidCatch(t,n){console.error("React Router caught the following error during render",t,n)}render(){return this.state.error!==void 0?E.createElement(Qt.Provider,{value:this.props.routeContext},E.createElement(Pd.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function nm(e){let{routeContext:t,match:n,children:r}=e,i=E.useContext(jl);return i&&i.static&&i.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=n.route.id),E.createElement(Qt.Provider,{value:t},r)}function rm(e,t,n,r){var i;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var s;if(!n)return null;if(n.errors)e=n.matches;else if((s=r)!=null&&s.v7_partialHydration&&t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let o=e,l=(i=n)==null?void 0:i.errors;if(l!=null){let f=o.findIndex(p=>p.route.id&&(l==null?void 0:l[p.route.id])!==void 0);f>=0||J(!1),o=o.slice(0,Math.min(o.length,f+1))}let a=!1,c=-1;if(n&&r&&r.v7_partialHydration)for(let f=0;f =0?o=o.slice(0,c+1):o=[o[0]];break}}}return o.reduceRight((f,p,d)=>{let v,x=!1,w=null,N=null;n&&(v=l&&p.route.id?l[p.route.id]:void 0,w=p.route.errorElement||em,a&&(c<0&&d===0?(x=!0,N=null):c===d&&(x=!0,N=p.route.hydrateFallbackElement||null)));let m=t.concat(o.slice(0,d+1)),h=()=>{let g;return v?g=w:x?g=N:p.route.Component?g=E.createElement(p.route.Component,null):p.route.element?g=p.route.element:g=f,E.createElement(nm,{match:p,routeContext:{outlet:f,matches:m,isDataRoute:n!=null},children:g})};return n&&(p.route.ErrorBoundary||p.route.errorElement||d===0)?E.createElement(tm,{location:n.location,revalidation:n.revalidation,component:w,error:v,children:h(),routeContext:{outlet:null,matches:m,isDataRoute:!0}}):h()},null)}var Rd=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(Rd||{}),Oi=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(Oi||{});function im(e){let t=E.useContext(jl);return t||J(!1),t}function sm(e){let t=E.useContext(Yh);return t||J(!1),t}function om(e){let t=E.useContext(Qt);return t||J(!1),t}function Td(e){let t=om(),n=t.matches[t.matches.length-1];return n.route.id||J(!1),n.route.id}function lm(){var e;let t=E.useContext(Pd),n=sm(Oi.UseRouteError),r=Td(Oi.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function am(){let{router:e}=im(Rd.UseNavigateStable),t=Td(Oi.UseNavigateStable),n=E.useRef(!1);return Ld(()=>{n.current=!0}),E.useCallback(function(i,s){s===void 0&&(s={}),n.current&&(typeof i=="number"?e.navigate(i):e.navigate(i,yr({fromRouteId:t},s)))},[e,t])}function um(e,t){e==null||e.v7_startTransition,e==null||e.v7_relativeSplatPath}function Fe(e){J(!1)}function cm(e){let{basename:t="/",children:n=null,location:r,navigationType:i=ft.Pop,navigator:s,static:o=!1,future:l}=e;Cr()&&J(!1);let a=t.replace(/^\/*/,"/"),c=E.useMemo(()=>({basename:a,navigator:s,static:o,future:yr({v7_relativeSplatPath:!1},l)}),[a,l,s,o]);typeof r=="string"&&(r=Pn(r));let{pathname:f="/",search:p="",hash:d="",state:v=null,key:x="default"}=r,w=E.useMemo(()=>{let N=El(f,a);return N==null?null:{location:{pathname:N,search:p,hash:d,state:v,key:x},navigationType:i}},[a,f,p,d,v,x,i]);return w==null?null:E.createElement(Kt.Provider,{value:c},E.createElement(qi.Provider,{children:n,value:w}))}function dm(e){let{children:t,location:n}=e;return qh(jo(t),n)}new Promise(()=>{});function jo(e,t){t===void 0&&(t=[]);let n=[];return E.Children.forEach(e,(r,i)=>{if(!E.isValidElement(r))return;let s=[...t,i];if(r.type===E.Fragment){n.push.apply(n,jo(r.props.children,s));return}r.type!==Fe&&J(!1),!r.props.index||!r.props.children||J(!1);let o={id:r.props.id||s.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(o.children=jo(r.props.children,s)),n.push(o)}),n}/** + * React Router DOM v6.30.0 + * + * Copyright (c) Remix Software Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE.md file in the root directory of this source tree. + * + * @license MIT + */function Co(){return Co=Object.assign?Object.assign.bind():function(e){for(var t=1;t =0)&&(n[i]=e[i]);return n}function pm(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function hm(e,t){return e.button===0&&(!t||t==="_self")&&!pm(e)}const mm=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],gm="6";try{window.__reactRouterVersion=gm}catch{}const vm="startTransition",Va=df[vm];function ym(e){let{basename:t,children:n,future:r,window:i}=e,s=E.useRef();s.current==null&&(s.current=Nh({window:i,v5Compat:!0}));let o=s.current,[l,a]=E.useState({action:o.action,location:o.location}),{v7_startTransition:c}=r||{},f=E.useCallback(p=>{c&&Va?Va(()=>a(p)):a(p)},[a,c]);return E.useLayoutEffect(()=>o.listen(f),[o,f]),E.useEffect(()=>um(r),[r]),E.createElement(cm,{basename:t,children:n,location:l.location,navigationType:l.action,navigator:o,future:r})}const xm=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",wm=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,he=E.forwardRef(function(t,n){let{onClick:r,relative:i,reloadDocument:s,replace:o,state:l,target:a,to:c,preventScrollReset:f,viewTransition:p}=t,d=fm(t,mm),{basename:v}=E.useContext(Kt),x,w=!1;if(typeof c=="string"&&wm.test(c)&&(x=c,xm))try{let g=new URL(window.location.href),y=c.startsWith("//")?new URL(g.protocol+c):new URL(c),S=El(y.pathname,v);y.origin===g.origin&&S!=null?c=S+y.search+y.hash:w=!0}catch{}let N=Jh(c,{relative:i}),m=Sm(c,{replace:o,state:l,target:a,preventScrollReset:f,relative:i,viewTransition:p});function h(g){r&&r(g),g.defaultPrevented||m(g)}return E.createElement("a",Co({},d,{href:x||N,onClick:w||s?r:h,ref:n,target:a}))});var Ba;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(Ba||(Ba={}));var Ha;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(Ha||(Ha={}));function Sm(e,t){let{target:n,replace:r,state:i,preventScrollReset:s,relative:o,viewTransition:l}=t===void 0?{}:t,a=Cl(),c=Xi(),f=Od(e,{relative:o});return E.useCallback(p=>{if(hm(p,n)){p.preventDefault();let d=r!==void 0?r:Li(c)===Li(f);a(e,{replace:d,state:i,preventScrollReset:s,relative:o,viewTransition:l})}},[c,a,f,r,i,n,e,s,o,l])}/** + * @license lucide-react v0.344.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */var km={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/** + * @license lucide-react v0.344.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const Nm=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase().trim(),we=(e,t)=>{const n=E.forwardRef(({color:r="currentColor",size:i=24,strokeWidth:s=2,absoluteStrokeWidth:o,className:l="",children:a,...c},f)=>E.createElement("svg",{ref:f,...km,width:i,height:i,stroke:r,strokeWidth:o?Number(s)*24/Number(i):s,className:["lucide",`lucide-${Nm(e)}`,l].join(" "),...c},[...t.map(([p,d])=>E.createElement(p,d)),...Array.isArray(a)?a:[a]]));return n.displayName=`${e}`,n};/** + * @license lucide-react v0.344.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const Em=we("AlertCircle",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]]);/** + * @license lucide-react v0.344.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const jm=we("ArrowRight",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);/** + * @license lucide-react v0.344.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const Cm=we("Download",[["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["polyline",{points:"7 10 12 15 17 10",key:"2ggqvy"}],["line",{x1:"12",x2:"12",y1:"15",y2:"3",key:"1vk2je"}]]);/** + * @license lucide-react v0.344.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const Fm=we("Images",[["path",{d:"M18 22H4a2 2 0 0 1-2-2V6",key:"pblm9e"}],["path",{d:"m22 13-1.296-1.296a2.41 2.41 0 0 0-3.408 0L11 18",key:"nf6bnh"}],["circle",{cx:"12",cy:"8",r:"2",key:"1822b1"}],["rect",{width:"16",height:"16",x:"6",y:"2",rx:"2",key:"12espp"}]]);/** + * @license lucide-react v0.344.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const Pm=we("Layers",[["path",{d:"m12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83Z",key:"8b97xw"}],["path",{d:"m22 17.65-9.17 4.16a2 2 0 0 1-1.66 0L2 17.65",key:"dd6zsq"}],["path",{d:"m22 12.65-9.17 4.16a2 2 0 0 1-1.66 0L2 12.65",key:"ep9fru"}]]);/** + * @license lucide-react v0.344.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const Lm=we("Link",[["path",{d:"M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71",key:"1cjeqo"}],["path",{d:"M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71",key:"19qd67"}]]);/** + * @license lucide-react v0.344.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const Om=we("Music",[["path",{d:"M9 18V5l12-2v13",key:"1jmyc2"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}],["circle",{cx:"18",cy:"16",r:"3",key:"1hluhg"}]]);/** + * @license lucide-react v0.344.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const Rm=we("PenTool",[["path",{d:"m12 19 7-7 3 3-7 7-3-3z",key:"rklqx2"}],["path",{d:"m18 13-1.5-7.5L2 2l3.5 14.5L13 18l5-5z",key:"1et58u"}],["path",{d:"m2 2 7.586 7.586",key:"etlp93"}],["circle",{cx:"11",cy:"11",r:"2",key:"xmgehs"}]]);/** + * @license lucide-react v0.344.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const bd=we("Scissors",[["circle",{cx:"6",cy:"6",r:"3",key:"1lh9wr"}],["path",{d:"M8.12 8.12 12 12",key:"1alkpv"}],["path",{d:"M20 4 8.12 15.88",key:"xgtan2"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}],["path",{d:"M14.8 14.8 20 20",key:"ptml3r"}]]);/** + * @license lucide-react v0.344.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const Tm=we("Search",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]]);/** + * @license lucide-react v0.344.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const bm=we("Type",[["polyline",{points:"4 7 4 4 20 4 20 7",key:"1nosan"}],["line",{x1:"9",x2:"15",y1:"20",y2:"20",key:"swin9y"}],["line",{x1:"12",x2:"12",y1:"4",y2:"20",key:"1tx1rr"}]]);/** + * @license lucide-react v0.344.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const Im=we("Video",[["path",{d:"m22 8-6 4 6 4V8Z",key:"50v9me"}],["rect",{width:"14",height:"12",x:"2",y:"6",rx:"2",ry:"2",key:"1rqjg6"}]]);/** + * @license lucide-react v0.344.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const zm=we("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);/** + * @license lucide-react v0.344.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const Dm=we("Zap",[["polygon",{points:"13 2 3 14 12 14 11 22 21 10 12 10 13 2",key:"45s27k"}]]);function _m(){if(console&&console.warn){for(var e=arguments.length,t=new Array(e),n=0;n ()=>{if(e.isInitialized)t();else{const n=()=>{setTimeout(()=>{e.off("initialized",n)},0),t()};e.on("initialized",n)}},Ka=(e,t,n)=>{e.loadNamespaces(t,Id(e,n))},Qa=(e,t,n,r)=>{Mt(n)&&(n=[n]),n.forEach(i=>{e.options.ns.indexOf(i)<0&&e.options.ns.push(i)}),e.loadLanguages(t,Id(e,r))},Mm=function(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const r=t.languages[0],i=t.options?t.options.fallbackLng:!1,s=t.languages[t.languages.length-1];if(r.toLowerCase()==="cimode")return!0;const o=(l,a)=>{const c=t.services.backendConnector.state[`${l}|${a}`];return c===-1||c===2};return n.bindI18n&&n.bindI18n.indexOf("languageChanging")>-1&&t.services.backendConnector.backend&&t.isLanguageChangingTo&&!o(t.isLanguageChangingTo,e)?!1:!!(t.hasResourceBundle(r,e)||!t.services.backendConnector.backend||t.options.resources&&!t.options.partialBundledLanguages||o(r,e)&&(!i||o(s,e)))},$m=function(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return!t.languages||!t.languages.length?(Fo("i18n.languages were undefined or empty",t.languages),!0):t.options.ignoreJSONStructure!==void 0?t.hasLoadedNamespace(e,{lng:n.lng,precheck:(i,s)=>{if(n.bindI18n&&n.bindI18n.indexOf("languageChanging")>-1&&i.services.backendConnector.backend&&i.isLanguageChangingTo&&!s(i.isLanguageChangingTo,e))return!1}}):Mm(e,t,n)},Mt=e=>typeof e=="string",Um=e=>typeof e=="object"&&e!==null,Am=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,Vm={"&":"&","&":"&","<":"<","<":"<",">":">",">":">","'":"'","'":"'",""":'"',""":'"'," ":" "," ":" ","©":"©","©":"©","®":"®","®":"®","…":"…","…":"…","/":"/","/":"/"},Bm=e=>Vm[e],Hm=e=>e.replace(Am,Bm);let Po={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:Hm};const Wm=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Po={...Po,...e}},Km=()=>Po;let zd;const Qm=e=>{zd=e},Ym=()=>zd,Jm={type:"3rdParty",init(e){Wm(e.options.react),Qm(e)}},Gm=E.createContext();class qm{constructor(){Fl(this,"getUsedNamespaces",()=>Object.keys(this.usedNamespaces));this.usedNamespaces={}}addUsedNamespaces(t){t.forEach(n=>{this.usedNamespaces[n]||(this.usedNamespaces[n]=!0)})}}const Xm=(e,t)=>{const n=E.useRef();return E.useEffect(()=>{n.current=e},[e,t]),n.current},Dd=(e,t,n,r)=>e.getFixedT(t,n,r),Zm=(e,t,n,r)=>E.useCallback(Dd(e,t,n,r),[e,t,n,r]),Zi=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{i18n:n}=t,{i18n:r,defaultNS:i}=E.useContext(Gm)||{},s=n||r||Ym();if(s&&!s.reportNamespaces&&(s.reportNamespaces=new qm),!s){Fo("You will need to pass in an i18next instance by using initReactI18next");const y=(C,j)=>Mt(j)?j:Um(j)&&Mt(j.defaultValue)?j.defaultValue:Array.isArray(C)?C[C.length-1]:C,S=[y,{},!1];return S.t=y,S.i18n={},S.ready=!1,S}s.options.react&&s.options.react.wait!==void 0&&Fo("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");const o={...Km(),...s.options.react,...t},{useSuspense:l,keyPrefix:a}=o;let c=i||s.options&&s.options.defaultNS;c=Mt(c)?[c]:c||["translation"],s.reportNamespaces.addUsedNamespaces&&s.reportNamespaces.addUsedNamespaces(c);const f=(s.isInitialized||s.initializedStoreOnce)&&c.every(y=>$m(y,s,o)),p=Zm(s,t.lng||null,o.nsMode==="fallback"?c:c[0],a),d=()=>p,v=()=>Dd(s,t.lng||null,o.nsMode==="fallback"?c:c[0],a),[x,w]=E.useState(d);let N=c.join();t.lng&&(N=`${t.lng}${N}`);const m=Xm(N),h=E.useRef(!0);E.useEffect(()=>{const{bindI18n:y,bindI18nStore:S}=o;h.current=!0,!f&&!l&&(t.lng?Qa(s,t.lng,c,()=>{h.current&&w(v)}):Ka(s,c,()=>{h.current&&w(v)})),f&&m&&m!==N&&h.current&&w(v);const C=()=>{h.current&&w(v)};return y&&s&&s.on(y,C),S&&s&&s.store.on(S,C),()=>{h.current=!1,y&&s&&y.split(" ").forEach(j=>s.off(j,C)),S&&s&&S.split(" ").forEach(j=>s.store.off(j,C))}},[s,N]),E.useEffect(()=>{h.current&&f&&w(d)},[s,a,f]);const g=[x,s,f];if(g.t=x,g.i18n=s,g.ready=f,f||!f&&!l)return g;throw new Promise(y=>{t.lng?Qa(s,t.lng,c,()=>y()):Ka(s,c,()=>y())})},eg=({onSignIn:e})=>{const{t}=Zi();return u.jsx("header",{className:"sticky top-0 z-50 backdrop-blur-md bg-[#0F0F1A]/80 border-b border-purple-900/20",children:u.jsxs("div",{className:"container mx-auto px-4 py-4 flex justify-between items-center",children:[u.jsxs(he,{to:"/",className:"flex items-center gap-2",children:[u.jsx(bd,{className:"h-8 w-8 text-[#FF2E93]"}),u.jsx("h1",{className:"text-2xl font-bold bg-gradient-to-r from-[#FF2E93] to-[#7E2EFF] text-transparent bg-clip-text",children:"VidCraft"})]}),u.jsxs("nav",{className:"hidden md:flex gap-6",children:[u.jsx(he,{to:"/features",className:"hover:text-[#FF2E93] transition-colors duration-300",children:t("nav.features")}),u.jsx(he,{to:"/tutorials",className:"hover:text-[#FF2E93] transition-colors duration-300",children:t("nav.tutorials")})]}),u.jsx("button",{onClick:e,className:"bg-gradient-to-r from-[#FF2E93] to-[#7E2EFF] hover:opacity-90 transition-opacity duration-300 px-4 py-2 rounded-full font-medium",children:t("nav.signIn")})]})})},tg=()=>{const e=Cl(),{t}=Zi(),n=()=>{const r=document.getElementById("how-it-works");r?r.scrollIntoView({behavior:"smooth"}):e("/#how-it-works")};return u.jsxs("section",{className:"py-16 md:py-24 relative",children:[u.jsx("div",{className:"absolute -top-10 -right-24 w-64 h-64 bg-[#7E2EFF]/20 rounded-full blur-3xl"}),u.jsx("div",{className:"absolute -bottom-20 -left-20 w-72 h-72 bg-[#FF2E93]/20 rounded-full blur-3xl"}),u.jsxs("div",{className:"relative z-10 flex flex-col md:flex-row items-center gap-8 md:gap-12",children:[u.jsxs("div",{className:"md:w-1/2",children:[u.jsx("h1",{className:"text-4xl md:text-5xl lg:text-6xl font-bold mb-6 leading-tight",children:t("hero.title")}),u.jsx("p",{className:"text-lg text-gray-300 mb-8",children:t("hero.description")}),u.jsx("div",{className:"flex flex-wrap gap-4",children:u.jsx("button",{onClick:n,className:"bg-gradient-to-r from-[#FF2E93] to-[#7E2EFF] hover:opacity-90 transition-opacity px-6 py-3 rounded-full font-medium",children:t("hero.startCreating")})})]}),u.jsx("div",{className:"md:w-1/2 flex justify-center",children:u.jsxs("div",{className:"relative w-full max-w-md",children:[u.jsx("img",{src:"assets/pexels-photo-4144923.jpeg",alt:"Video editing on smartphone",className:"rounded-lg shadow-2xl transform -rotate-2 hover:rotate-0 transition-transform duration-500 ease-out z-10 relative"}),u.jsx("img",{src:"assets/pexels-photo-3379943.jpeg",alt:"Content creator",className:"absolute -bottom-10 -right-10 w-32 h-32 md:w-40 md:h-40 object-cover rounded-lg shadow-xl transform rotate-6 hover:rotate-0 hover:scale-110 transition-all duration-500 ease-out z-20"}),u.jsx("img",{src:"assets/pexels-photo-3062541.jpeg",alt:"Smartphone with content",className:"absolute -top-8 -left-8 w-28 h-28 md:w-36 md:h-36 object-cover rounded-lg shadow-xl transform -rotate-6 hover:rotate-0 hover:scale-110 transition-all duration-500 ease-out z-0"})]})})]}),u.jsxs("div",{className:"mt-16 flex flex-wrap justify-center gap-6 opacity-70",children:[u.jsx("p",{className:"text-gray-400",children:t("hero.createFor")}),u.jsx("span",{className:"font-semibold",children:"YouTube"}),u.jsx("span",{className:"font-semibold",children:"TikTok"}),u.jsx("span",{className:"font-semibold",children:"Instagram"}),u.jsx("span",{className:"font-semibold",children:"Snapchat"}),u.jsx("span",{className:"font-semibold",children:"Facebook"}),u.jsx("span",{className:"font-semibold",children:"Twitter"})]})]})};function ng(e){if(!e)return null;try{const n=new URL(e).hostname.toLowerCase();return n.includes("youtube.com")||n.includes("youtu.be")?"YouTube":n.includes("tiktok.com")?"TikTok":n.includes("instagram.com")?"Instagram":n.includes("facebook.com")||n.includes("fb.com")?"Facebook":n.includes("twitter.com")||n.includes("x.com")?"Twitter":n.includes("vimeo.com")?"Vimeo":n.includes("snapchat.com")?"Snapchat":n.includes("twitch.tv")?"Twitch":null}catch{return null}}function rg(e){return e?`Start creating with your ${e} video`:"Enter a valid video link"}const ig=({onSubmit:e})=>{const[t,n]=E.useState(""),[r,i]=E.useState(null),[s,o]=E.useState(!1);E.useEffect(()=>{const a=ng(t);i(a),o(!!a)},[t]);const l=a=>{a.preventDefault(),s&&e(r)};return u.jsxs("section",{id:"how-it-works",className:"py-16 relative",children:[u.jsx("div",{className:"absolute top-1/2 left-1/4 w-64 h-64 bg-[#7E2EFF]/10 rounded-full blur-3xl -z-10"}),u.jsxs("div",{className:"text-center mb-10",children:[u.jsx("h2",{className:"text-3xl font-bold mb-4",children:"Start Your Creation Journey"}),u.jsx("p",{className:"text-gray-300 max-w-2xl mx-auto",children:"Paste a link to your video from any popular platform, and we'll help you transform it into something amazing with our powerful editor."})]}),u.jsx("div",{className:"max-w-3xl mx-auto bg-[#1E1E32] p-8 rounded-2xl border border-purple-900/30 shadow-xl",children:u.jsxs("form",{onSubmit:l,className:"space-y-6",children:[u.jsxs("div",{children:[u.jsx("label",{htmlFor:"video-link",className:"block text-sm font-medium text-gray-300 mb-2",children:"Paste your video link here"}),u.jsxs("div",{className:"relative",children:[u.jsx("div",{className:"absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none",children:u.jsx(Lm,{className:"h-5 w-5 text-gray-400"})}),u.jsx("input",{type:"url",id:"video-link",placeholder:"https://www.youtube.com/watch?v=...",value:t,onChange:a=>n(a.target.value),className:"block w-full pl-10 pr-12 py-3 bg-[#0F0F1A] border border-purple-900/30 rounded-lg text-white placeholder-gray-500 focus:outline-none focus:ring-2 focus:ring-purple-500"})]})]}),u.jsxs("div",{className:"flex flex-col sm:flex-row gap-4 items-center justify-between",children:[u.jsx("p",{className:`text-sm ${r?"text-[#FF2E93]":"text-gray-400"} font-medium transition-colors duration-300`,children:rg(r)}),u.jsx("button",{type:"submit",disabled:!s,className:`px-6 py-3 rounded-full font-medium transition-all duration-300 ${s?"bg-gradient-to-r from-[#FF2E93] to-[#7E2EFF] hover:opacity-90":"bg-gray-700 cursor-not-allowed opacity-50"}`,children:"Start Creating"})]})]})}),u.jsx("div",{className:"mt-6 text-center text-sm text-gray-500",children:"Supports YouTube, TikTok, Instagram, Facebook, Twitter, and more"})]})},sg=({icon:e,title:t,description:n})=>u.jsxs("div",{className:"bg-[#1E1E32]/70 hover:bg-[#1E1E32] transition-colors duration-300 border border-purple-900/20 rounded-xl p-6 group",children:[u.jsx("div",{className:"bg-gradient-to-r from-[#FF2E93] to-[#7E2EFF] w-12 h-12 rounded-lg flex items-center justify-center mb-4 transform group-hover:scale-110 transition-transform duration-300",children:e}),u.jsx("h3",{className:"text-xl font-bold mb-2",children:t}),u.jsx("p",{className:"text-gray-400",children:n})]}),_d=()=>{const e=Cl(),{t}=Zi(),n=[{icon:u.jsx(Rm,{className:"w-6 h-6 text-white"}),title:t("features.effects"),description:t("features.effectsDesc")},{icon:u.jsx(Fm,{className:"w-6 h-6 text-white"}),title:t("features.overlays"),description:t("features.overlaysDesc")},{icon:u.jsx(bm,{className:"w-6 h-6 text-white"}),title:t("features.subtitles"),description:t("features.subtitlesDesc")},{icon:u.jsx(Om,{className:"w-6 h-6 text-white"}),title:t("features.music"),description:t("features.musicDesc")},{icon:u.jsx(Im,{className:"w-6 h-6 text-white"}),title:t("features.format"),description:t("features.formatDesc")},{icon:u.jsx(Cm,{className:"w-6 h-6 text-white"}),title:t("features.export"),description:t("features.exportDesc")},{icon:u.jsx(Pm,{className:"w-6 h-6 text-white"}),title:t("features.mashups"),description:t("features.mashupsDesc")},{icon:u.jsx(Dm,{className:"w-6 h-6 text-white"}),title:t("features.processing"),description:t("features.processingDesc")}],r=()=>{const i=document.getElementById("how-it-works");i?i.scrollIntoView({behavior:"smooth"}):e("/#how-it-works")};return u.jsxs("section",{id:"features",className:"py-16 md:py-24 relative",children:[u.jsx("div",{className:"absolute top-1/3 right-1/4 w-80 h-80 bg-[#FF2E93]/10 rounded-full blur-3xl -z-10"}),u.jsxs("div",{className:"text-center mb-16",children:[u.jsx("h2",{className:"text-3xl md:text-4xl font-bold mb-4",children:t("features.title")}),u.jsx("p",{className:"text-gray-300 max-w-2xl mx-auto",children:t("features.description")})]}),u.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-6",children:n.map((i,s)=>u.jsx(sg,{icon:i.icon,title:i.title,description:i.description},s))}),u.jsx("div",{className:"mt-16 relative overflow-hidden rounded-2xl",children:u.jsxs("div",{className:"relative aspect-video",children:[u.jsx("img",{src:"assets/pexels-photo-2608517.jpeg",alt:"Content creators filming",className:"w-full h-full object-cover rounded-2xl transform hover:scale-105 transition-transform duration-700"}),u.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-[#0F0F1A] via-transparent to-transparent"}),u.jsxs("div",{className:"absolute bottom-0 left-0 p-6 md:p-10",children:[u.jsx("h3",{className:"text-2xl md:text-3xl font-bold mb-2",children:t("features.createWithoutLimits")}),u.jsx("p",{className:"text-gray-300 max-w-md mb-4",children:t("features.createWithoutLimitsDesc")}),u.jsx("button",{onClick:r,className:"bg-gradient-to-r from-[#FF2E93] to-[#7E2EFF] hover:opacity-90 transition-opacity px-6 py-3 rounded-full font-medium",children:t("hero.startCreating")})]})]})}),u.jsxs("div",{className:"mt-16 grid grid-cols-1 md:grid-cols-2 gap-8",children:[u.jsxs("div",{className:"bg-[#1E1E32]/70 border border-purple-900/20 rounded-xl p-8",children:[u.jsx("h3",{className:"text-2xl font-bold mb-4",children:t("features.formatVersatility")}),u.jsx("p",{className:"text-gray-400 mb-6",children:t("features.formatVersatilityDesc")}),u.jsxs("ul",{className:"space-y-3",children:[u.jsxs("li",{className:"flex items-center gap-3",children:[u.jsx("span",{className:"w-2 h-2 bg-[#FF2E93] rounded-full"}),u.jsx("span",{children:t("features.verticalVideos")})]}),u.jsxs("li",{className:"flex items-center gap-3",children:[u.jsx("span",{className:"w-2 h-2 bg-[#FF2E93] rounded-full"}),u.jsx("span",{children:t("features.horizontalVideos")})]}),u.jsxs("li",{className:"flex items-center gap-3",children:[u.jsx("span",{className:"w-2 h-2 bg-[#FF2E93] rounded-full"}),u.jsx("span",{children:t("features.squareFormat")})]}),u.jsxs("li",{className:"flex items-center gap-3",children:[u.jsx("span",{className:"w-2 h-2 bg-[#FF2E93] rounded-full"}),u.jsx("span",{children:t("features.customAspectRatios")})]})]})]}),u.jsxs("div",{className:"bg-[#1E1E32]/70 border border-purple-900/20 rounded-xl p-8",children:[u.jsx("h3",{className:"text-2xl font-bold mb-4",children:t("features.highQualityOutput")}),u.jsx("p",{className:"text-gray-400 mb-6",children:t("features.highQualityOutputDesc")}),u.jsxs("ul",{className:"space-y-3",children:[u.jsxs("li",{className:"flex items-center gap-3",children:[u.jsx("span",{className:"w-2 h-2 bg-[#FF2E93] rounded-full"}),u.jsx("span",{children:t("features.fullHD")})]}),u.jsxs("li",{className:"flex items-center gap-3",children:[u.jsx("span",{className:"w-2 h-2 bg-[#FF2E93] rounded-full"}),u.jsx("span",{children:t("features.resolution4K")})]}),u.jsxs("li",{className:"flex items-center gap-3",children:[u.jsx("span",{className:"w-2 h-2 bg-[#FF2E93] rounded-full"}),u.jsx("span",{children:t("features.optimizedFiles")})]}),u.jsxs("li",{className:"flex items-center gap-3",children:[u.jsx("span",{className:"w-2 h-2 bg-[#FF2E93] rounded-full"}),u.jsx("span",{children:t("features.multipleFormats")})]})]})]})]})]})};function og(e){return/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(e)}const lg=({platform:e,onClose:t})=>{const[n,r]=E.useState("login"),[i,s]=E.useState(""),[o,l]=E.useState(""),[a,c]=E.useState(""),[f,p]=E.useState(!1),[d,v]=E.useState(!1),x=m=>{m.preventDefault(),p(!0)},w=m=>{const h=m.target.value;c(h),v(og(h))},N=m=>{m.target===m.currentTarget&&t()};return u.jsx("div",{className:"fixed inset-0 bg-black/80 backdrop-blur-sm flex items-center justify-center z-50 p-4",onClick:N,children:u.jsxs("div",{className:"bg-[#1E1E32] rounded-2xl border border-purple-900/30 shadow-2xl w-full max-w-md overflow-hidden",onClick:m=>m.stopPropagation(),children:[u.jsxs("div",{className:"flex justify-between items-center p-5 border-b border-purple-900/30",children:[u.jsx("h3",{className:"text-xl font-bold",children:n==="login"?"Sign in to continue":"Request access"}),u.jsx("button",{onClick:t,className:"text-gray-400 hover:text-white transition-colors",children:u.jsx(zm,{className:"w-5 h-5"})})]}),u.jsx("div",{className:"p-6",children:n==="login"?u.jsxs(u.Fragment,{children:[u.jsx("div",{className:"mb-6",children:u.jsx("p",{className:"text-gray-300",children:e?`You're about to start creating with your ${e} video`:"You're about to start creating your video"})}),u.jsxs("form",{onSubmit:x,className:"space-y-5",children:[u.jsxs("div",{children:[u.jsx("label",{htmlFor:"email",className:"block text-sm font-medium text-gray-300 mb-1",children:"Email"}),u.jsx("input",{type:"email",id:"email",value:i,onChange:m=>s(m.target.value),className:"block w-full px-4 py-3 bg-[#0F0F1A] border border-purple-900/30 rounded-lg text-white placeholder-gray-500 focus:outline-none focus:ring-2 focus:ring-purple-500",placeholder:"your@email.com",required:!0})]}),u.jsxs("div",{children:[u.jsx("label",{htmlFor:"password",className:"block text-sm font-medium text-gray-300 mb-1",children:"Password"}),u.jsx("input",{type:"password",id:"password",value:o,onChange:m=>l(m.target.value),className:"block w-full px-4 py-3 bg-[#0F0F1A] border border-purple-900/30 rounded-lg text-white placeholder-gray-500 focus:outline-none focus:ring-2 focus:ring-purple-500",placeholder:"••••••••",required:!0})]}),f&&u.jsxs("div",{className:"bg-red-900/30 border border-red-500/30 rounded-lg p-3 flex items-start gap-3",children:[u.jsx(Em,{className:"w-5 h-5 text-red-400 flex-shrink-0 mt-0.5"}),u.jsx("p",{className:"text-sm text-red-200",children:"Error: User not found. Request access if you don't have an account yet."})]}),u.jsx("div",{children:u.jsx("button",{type:"submit",className:"w-full py-3 rounded-lg font-medium bg-gradient-to-r from-[#FF2E93] to-[#7E2EFF] hover:opacity-90 transition-opacity",children:"Sign In"})}),u.jsx("div",{className:"text-center",children:u.jsx("button",{type:"button",onClick:()=>r("request"),className:"text-sm text-purple-400 hover:text-purple-300 transition-colors",children:"Don't have an account? Request access"})})]})]}):u.jsxs(u.Fragment,{children:[u.jsx("div",{className:"mb-6",children:u.jsx("p",{className:"text-gray-300",children:"Enter your email to request access to VidCraft."})}),u.jsxs("div",{className:"space-y-5",children:[u.jsxs("div",{children:[u.jsx("label",{htmlFor:"request-email",className:"block text-sm font-medium text-gray-300 mb-1",children:"Email"}),u.jsx("input",{type:"email",id:"request-email",value:a,onChange:w,className:"block w-full px-4 py-3 bg-[#0F0F1A] border border-purple-900/30 rounded-lg text-white placeholder-gray-500 focus:outline-none focus:ring-2 focus:ring-purple-500",placeholder:"your@email.com"})]}),u.jsxs("div",{className:"flex items-center justify-between",children:[u.jsx("button",{type:"button",onClick:()=>r("login"),className:"text-sm text-purple-400 hover:text-purple-300 transition-colors",children:"Back to sign in"}),u.jsxs("button",{type:"button",disabled:!d,className:`px-6 py-2 rounded-full font-medium flex items-center gap-2 ${d?"bg-gray-600 cursor-not-allowed":"bg-gray-700 cursor-not-allowed opacity-50"}`,title:d?"Address not found in database, request a new invitation from the user who sent you the link":"Please enter a valid email",children:["Request ",u.jsx(jm,{className:"w-4 h-4"})]})]}),d&&u.jsx("div",{className:"bg-gray-800/50 border border-gray-700 rounded-lg p-3 mt-4",children:u.jsx("p",{className:"text-sm text-gray-300",children:"Address not found in database. Please request a new invitation from the user who shared the link with you."})})]})]})})]})})},ag=()=>u.jsx("footer",{className:"bg-[#0A0A14] border-t border-purple-900/20 py-12 mt-16",children:u.jsxs("div",{className:"container mx-auto px-4",children:[u.jsxs("div",{className:"flex flex-col md:flex-row justify-between items-center md:items-start mb-8",children:[u.jsxs("div",{className:"mb-8 md:mb-0",children:[u.jsxs(he,{to:"/",className:"flex items-center gap-2 mb-4",children:[u.jsx(bd,{className:"h-6 w-6 text-[#FF2E93]"}),u.jsx("h2",{className:"text-xl font-bold bg-gradient-to-r from-[#FF2E93] to-[#7E2EFF] text-transparent bg-clip-text",children:"VidCraft"})]}),u.jsx("p",{className:"text-gray-400 max-w-xs text-center md:text-left",children:"The ultimate video editing platform for creators who want to stand out on social media."})]}),u.jsxs("div",{className:"grid grid-cols-2 md:grid-cols-3 gap-8",children:[u.jsxs("div",{children:[u.jsx("h3",{className:"text-lg font-semibold mb-4",children:"Product"}),u.jsxs("ul",{className:"space-y-3",children:[u.jsx("li",{children:u.jsx(he,{to:"/features",className:"text-gray-400 hover:text-white transition-colors",children:"Features"})}),u.jsx("li",{children:u.jsx(he,{to:"/tutorials",className:"text-gray-400 hover:text-white transition-colors",children:"Tutorials"})}),u.jsx("li",{children:u.jsx(he,{to:"/updates",className:"text-gray-400 hover:text-white transition-colors",children:"Updates"})})]})]}),u.jsxs("div",{children:[u.jsx("h3",{className:"text-lg font-semibold mb-4",children:"Company"}),u.jsxs("ul",{className:"space-y-3",children:[u.jsx("li",{children:u.jsx(he,{to:"/about",className:"text-gray-400 hover:text-white transition-colors",children:"About"})}),u.jsx("li",{children:u.jsx(he,{to:"/blog",className:"text-gray-400 hover:text-white transition-colors",children:"Blog"})}),u.jsx("li",{children:u.jsx(he,{to:"/careers",className:"text-gray-400 hover:text-white transition-colors",children:"Careers"})}),u.jsx("li",{children:u.jsx(he,{to:"/contact",className:"text-gray-400 hover:text-white transition-colors",children:"Contact"})})]})]}),u.jsxs("div",{children:[u.jsx("h3",{className:"text-lg font-semibold mb-4",children:"Support"}),u.jsxs("ul",{className:"space-y-3",children:[u.jsx("li",{children:u.jsx(he,{to:"/help",className:"text-gray-400 hover:text-white transition-colors",children:"Help Center"})}),u.jsx("li",{children:u.jsx(he,{to:"/community",className:"text-gray-400 hover:text-white transition-colors",children:"Community"})}),u.jsx("li",{children:u.jsx(he,{to:"/feedback",className:"text-gray-400 hover:text-white transition-colors",children:"Feedback"})})]})]})]})]}),u.jsx("div",{className:"pt-8 border-t border-gray-800 flex flex-col md:flex-row justify-between items-center",children:u.jsx("p",{className:"text-gray-500 text-sm",children:"© 2025 VidCraft. All rights reserved."})})]})}),ug=()=>u.jsxs("main",{className:"container mx-auto px-4 py-16",children:[u.jsxs("div",{className:"max-w-4xl mx-auto",children:[u.jsxs("h1",{className:"text-4xl md:text-5xl font-bold mb-6",children:["Powerful Features for",u.jsx("span",{className:"bg-gradient-to-r from-[#FF2E93] to-[#7E2EFF] text-transparent bg-clip-text",children:" Creative Minds"})]}),u.jsx("p",{className:"text-xl text-gray-300 mb-12",children:"Discover all the tools you need to create stunning videos that capture attention and drive engagement."})]}),u.jsx(_d,{})]}),cg=({title:e,description:t,image:n,duration:r})=>u.jsxs("div",{className:"bg-[#1E1E32] rounded-xl overflow-hidden group",children:[u.jsxs("div",{className:"relative aspect-video overflow-hidden",children:[u.jsx("img",{src:n,alt:e,className:"w-full h-full object-cover transform group-hover:scale-105 transition-transform duration-500"}),u.jsx("div",{className:"absolute bottom-2 right-2 bg-black/70 px-2 py-1 rounded text-sm",children:r})]}),u.jsxs("div",{className:"p-6",children:[u.jsx("h3",{className:"text-xl font-bold mb-2",children:e}),u.jsx("p",{className:"text-gray-400",children:t})]})]}),dg=()=>{const e=[{title:"Getting Started with VidCraft",description:"Learn the basics of video editing with our powerful tools",image:"https://images.pexels.com/photos/2773498/pexels-photo-2773498.jpeg",duration:"5:30"},{title:"Advanced Effects & Transitions",description:"Master professional transitions and effects",image:"https://images.pexels.com/photos/2544829/pexels-photo-2544829.jpeg",duration:"12:45"},{title:"Creating Viral Content",description:"Tips and tricks for engaging social media videos",image:"https://images.pexels.com/photos/2773498/pexels-photo-2773498.jpeg",duration:"8:15"}];return u.jsxs("main",{className:"container mx-auto px-4 py-16",children:[u.jsxs("div",{className:"max-w-4xl mx-auto mb-16",children:[u.jsxs("h1",{className:"text-4xl md:text-5xl font-bold mb-6",children:["Learn & Master",u.jsx("span",{className:"bg-gradient-to-r from-[#FF2E93] to-[#7E2EFF] text-transparent bg-clip-text",children:" VidCraft"})]}),u.jsx("p",{className:"text-xl text-gray-300",children:"Explore our comprehensive tutorials and become a video editing pro"})]}),u.jsx("div",{className:"grid md:grid-cols-3 gap-8",children:e.map((t,n)=>u.jsx(cg,{...t},n))})]})},fg=({version:e,date:t,features:n})=>u.jsxs("div",{className:"bg-[#1E1E32] rounded-xl p-6 border border-purple-900/20",children:[u.jsxs("div",{className:"flex justify-between items-start mb-4",children:[u.jsxs("div",{children:[u.jsxs("h3",{className:"text-xl font-bold",children:["Version ",e]}),u.jsx("p",{className:"text-gray-400",children:t})]}),u.jsx("span",{className:"bg-[#FF2E93]/20 text-[#FF2E93] px-3 py-1 rounded-full text-sm",children:"New"})]}),u.jsx("ul",{className:"space-y-3",children:n.map((r,i)=>u.jsxs("li",{className:"flex items-start gap-2",children:[u.jsx("span",{className:"w-2 h-2 bg-[#FF2E93] rounded-full mt-2"}),u.jsx("span",{className:"text-gray-300",children:r})]},i))})]}),pg=()=>{const e=[{version:"2.1.0",date:"March 15, 2025",features:["New AI-powered auto-subtitles feature","Improved rendering speed by 50%","Added 20 new transition effects","Enhanced color grading tools"]},{version:"2.0.0",date:"February 28, 2025",features:["Complete UI redesign for better usability","New collaboration features for teams","Real-time preview rendering","Extended music library with 1000+ tracks"]}];return u.jsxs("main",{className:"container mx-auto px-4 py-16",children:[u.jsxs("div",{className:"max-w-4xl mx-auto mb-16",children:[u.jsxs("h1",{className:"text-4xl md:text-5xl font-bold mb-6",children:["What's New in",u.jsx("span",{className:"bg-gradient-to-r from-[#FF2E93] to-[#7E2EFF] text-transparent bg-clip-text",children:" VidCraft"})]}),u.jsx("p",{className:"text-xl text-gray-300",children:"Stay up to date with the latest features and improvements"})]}),u.jsx("div",{className:"space-y-8 max-w-3xl mx-auto",children:e.map((t,n)=>u.jsx(fg,{...t},n))})]})},hg=()=>u.jsx("main",{className:"container mx-auto px-4 py-16",children:u.jsxs("div",{className:"max-w-4xl mx-auto",children:[u.jsxs("h1",{className:"text-4xl md:text-5xl font-bold mb-6",children:["About",u.jsx("span",{className:"bg-gradient-to-r from-[#FF2E93] to-[#7E2EFF] text-transparent bg-clip-text",children:" VidCraft"})]}),u.jsxs("div",{className:"prose prose-invert max-w-none",children:[u.jsx("p",{className:"text-xl text-gray-300 mb-8",children:"VidCraft was born from a simple idea: make professional video editing accessible to everyone. We believe that great stories deserve great tools to tell them."}),u.jsxs("div",{className:"grid md:grid-cols-2 gap-8 mb-12",children:[u.jsxs("div",{className:"bg-[#1E1E32] p-6 rounded-xl",children:[u.jsx("h2",{className:"text-2xl font-bold mb-4",children:"Our Mission"}),u.jsx("p",{className:"text-gray-300",children:"To empower creators with professional-grade video editing tools that are both powerful and easy to use."})]}),u.jsxs("div",{className:"bg-[#1E1E32] p-6 rounded-xl",children:[u.jsx("h2",{className:"text-2xl font-bold mb-4",children:"Our Vision"}),u.jsx("p",{className:"text-gray-300",children:"To become the go-to platform for content creators worldwide, making professional video editing accessible to all."})]})]}),u.jsxs("div",{className:"mb-12",children:[u.jsx("h2",{className:"text-3xl font-bold mb-6",children:"Our Story"}),u.jsx("p",{className:"text-gray-300 mb-4",children:"Founded in 2024 by a team of passionate creators and developers, VidCraft has grown from a simple editing tool to a comprehensive platform used by millions of content creators worldwide."}),u.jsx("p",{className:"text-gray-300",children:"We understand the challenges of creating engaging content for social media, which is why we've built a platform that combines powerful features with an intuitive interface."})]}),u.jsxs("div",{className:"bg-[#1E1E32] p-8 rounded-xl mb-12",children:[u.jsx("h2",{className:"text-3xl font-bold mb-6",children:"Our Values"}),u.jsxs("div",{className:"grid md:grid-cols-3 gap-6",children:[u.jsxs("div",{children:[u.jsx("h3",{className:"text-xl font-bold mb-2",children:"Innovation"}),u.jsx("p",{className:"text-gray-300",children:"Constantly pushing the boundaries of what's possible in online video editing."})]}),u.jsxs("div",{children:[u.jsx("h3",{className:"text-xl font-bold mb-2",children:"Accessibility"}),u.jsx("p",{className:"text-gray-300",children:"Making professional tools available to creators of all skill levels."})]}),u.jsxs("div",{children:[u.jsx("h3",{className:"text-xl font-bold mb-2",children:"Community"}),u.jsx("p",{className:"text-gray-300",children:"Building and supporting a thriving community of creators."})]})]})]})]})]})}),mg=({title:e,excerpt:t,image:n,date:r,author:i,category:s})=>u.jsxs("article",{className:"bg-[#1E1E32] rounded-xl overflow-hidden group",children:[u.jsx("div",{className:"aspect-video overflow-hidden",children:u.jsx("img",{src:n,alt:e,className:"w-full h-full object-cover transform group-hover:scale-105 transition-transform duration-500"})}),u.jsxs("div",{className:"p-6",children:[u.jsxs("div",{className:"flex items-center gap-4 mb-4",children:[u.jsx("span",{className:"text-sm text-gray-400",children:r}),u.jsx("span",{className:"bg-[#FF2E93]/20 text-[#FF2E93] px-3 py-1 rounded-full text-sm",children:s})]}),u.jsx("h2",{className:"text-2xl font-bold mb-3",children:e}),u.jsx("p",{className:"text-gray-300 mb-4",children:t}),u.jsxs("div",{className:"flex items-center justify-between",children:[u.jsxs("span",{className:"text-sm text-gray-400",children:["By ",i]}),u.jsx("button",{className:"text-[#FF2E93] hover:text-[#7E2EFF] transition-colors",children:"Read More →"})]})]})]}),gg=()=>{const e=[{title:"10 Tips for Creating Viral TikTok Videos",excerpt:"Learn the secrets behind videos that get millions of views on TikTok...",image:"https://images.pexels.com/photos/2773498/pexels-photo-2773498.jpeg",date:"March 15, 2025",author:"Sarah Johnson",category:"Tips & Tricks"},{title:"The Future of Video Editing: AI and Automation",excerpt:"Discover how artificial intelligence is revolutionizing video editing...",image:"https://images.pexels.com/photos/2544829/pexels-photo-2544829.jpeg",date:"March 12, 2025",author:"Mike Chen",category:"Technology"},{title:"Making Money as a Content Creator in 2025",excerpt:"A comprehensive guide to monetizing your video content...",image:"assets/pexels-photo-3062541.jpeg",date:"March 10, 2025",author:"Alex Rivera",category:"Business"}];return u.jsxs("main",{className:"container mx-auto px-4 py-16",children:[u.jsxs("div",{className:"max-w-4xl mx-auto mb-16",children:[u.jsxs("h1",{className:"text-4xl md:text-5xl font-bold mb-6",children:["VidCraft",u.jsx("span",{className:"bg-gradient-to-r from-[#FF2E93] to-[#7E2EFF] text-transparent bg-clip-text",children:" Blog"})]}),u.jsx("p",{className:"text-xl text-gray-300",children:"Tips, tutorials, and insights for content creators"})]}),u.jsx("div",{className:"grid md:grid-cols-2 lg:grid-cols-3 gap-8",children:e.map((t,n)=>u.jsx(mg,{...t},n))})]})},vg=({title:e,department:t,location:n,type:r})=>u.jsxs("div",{className:"bg-[#1E1E32] rounded-xl p-6 border border-purple-900/20 hover:border-[#FF2E93] transition-colors",children:[u.jsxs("div",{className:"flex justify-between items-start mb-4",children:[u.jsxs("div",{children:[u.jsx("h3",{className:"text-xl font-bold mb-2",children:e}),u.jsx("p",{className:"text-gray-400",children:t})]}),u.jsx("span",{className:"bg-[#FF2E93]/20 text-[#FF2E93] px-3 py-1 rounded-full text-sm",children:r})]}),u.jsx("div",{className:"flex items-center gap-4 mb-6",children:u.jsx("span",{className:"text-gray-300",children:n})}),u.jsx("button",{className:"text-[#FF2E93] hover:text-[#7E2EFF] transition-colors font-medium",children:"View Position →"})]}),yg=()=>{const e=[{title:"Senior Frontend Developer",department:"Engineering",location:"Remote",type:"Full-time"},{title:"Product Designer",department:"Design",location:"New York, USA",type:"Full-time"},{title:"Content Marketing Manager",department:"Marketing",location:"Remote",type:"Full-time"}];return u.jsx("main",{className:"container mx-auto px-4 py-16",children:u.jsxs("div",{className:"max-w-4xl mx-auto mb-16",children:[u.jsxs("h1",{className:"text-4xl md:text-5xl font-bold mb-6",children:["Join the",u.jsx("span",{className:"bg-gradient-to-r from-[#FF2E93] to-[#7E2EFF] text-transparent bg-clip-text",children:" VidCraft"}),"Team"]}),u.jsx("p",{className:"text-xl text-gray-300 mb-8",children:"Help us revolutionize video creation for the next generation of content creators"}),u.jsxs("div",{className:"bg-[#1E1E32] p-8 rounded-xl mb-16",children:[u.jsx("h2",{className:"text-2xl font-bold mb-4",children:"Why VidCraft?"}),u.jsxs("div",{className:"grid md:grid-cols-3 gap-6",children:[u.jsxs("div",{children:[u.jsx("h3",{className:"text-xl font-bold mb-2",children:"Impact"}),u.jsx("p",{className:"text-gray-300",children:"Shape the future of content creation and help millions of creators worldwide."})]}),u.jsxs("div",{children:[u.jsx("h3",{className:"text-xl font-bold mb-2",children:"Growth"}),u.jsx("p",{className:"text-gray-300",children:"Continuous learning opportunities and career development support."})]}),u.jsxs("div",{children:[u.jsx("h3",{className:"text-xl font-bold mb-2",children:"Benefits"}),u.jsx("p",{className:"text-gray-300",children:"Competitive salary, equity, health insurance, and flexible work options."})]})]})]}),u.jsx("h2",{className:"text-3xl font-bold mb-8",children:"Open Positions"}),u.jsx("div",{className:"space-y-6",children:e.map((t,n)=>u.jsx(vg,{...t},n))})]})})},xg=()=>{const t=`support@${window.location.hostname}`;return u.jsx("main",{className:"container mx-auto px-4 py-16",children:u.jsxs("div",{className:"max-w-4xl mx-auto",children:[u.jsxs("h1",{className:"text-4xl md:text-5xl font-bold mb-6",children:["Get in",u.jsx("span",{className:"bg-gradient-to-r from-[#FF2E93] to-[#7E2EFF] text-transparent bg-clip-text",children:" Touch"})]}),u.jsx("p",{className:"text-xl text-gray-300 mb-12",children:"Have questions? We're here to help you create amazing videos."}),u.jsxs("div",{className:"grid md:grid-cols-2 gap-12",children:[u.jsx("div",{children:u.jsxs("form",{className:"space-y-6",children:[u.jsxs("div",{children:[u.jsx("label",{htmlFor:"name",className:"block text-sm font-medium text-gray-300 mb-1",children:"Name"}),u.jsx("input",{type:"text",id:"name",className:"block w-full px-4 py-3 bg-[#1E1E32] border border-purple-900/30 rounded-lg text-white placeholder-gray-500 focus:outline-none focus:ring-2 focus:ring-[#FF2E93]",placeholder:"Your name"})]}),u.jsxs("div",{children:[u.jsx("label",{htmlFor:"email",className:"block text-sm font-medium text-gray-300 mb-1",children:"Email"}),u.jsx("input",{type:"email",id:"email",className:"block w-full px-4 py-3 bg-[#1E1E32] border border-purple-900/30 rounded-lg text-white placeholder-gray-500 focus:outline-none focus:ring-2 focus:ring-[#FF2E93]",placeholder:"your@email.com"})]}),u.jsxs("div",{children:[u.jsx("label",{htmlFor:"subject",className:"block text-sm font-medium text-gray-300 mb-1",children:"Subject"}),u.jsx("input",{type:"text",id:"subject",className:"block w-full px-4 py-3 bg-[#1E1E32] border border-purple-900/30 rounded-lg text-white placeholder-gray-500 focus:outline-none focus:ring-2 focus:ring-[#FF2E93]",placeholder:"How can we help?"})]}),u.jsxs("div",{children:[u.jsx("label",{htmlFor:"message",className:"block text-sm font-medium text-gray-300 mb-1",children:"Message"}),u.jsx("textarea",{id:"message",rows:6,className:"block w-full px-4 py-3 bg-[#1E1E32] border border-purple-900/30 rounded-lg text-white placeholder-gray-500 focus:outline-none focus:ring-2 focus:ring-[#FF2E93]",placeholder:"Your message..."})]}),u.jsx("button",{type:"submit",className:"w-full py-3 rounded-lg font-medium bg-gradient-to-r from-[#FF2E93] to-[#7E2EFF] hover:opacity-90 transition-opacity",children:"Send Message"})]})}),u.jsxs("div",{children:[u.jsxs("div",{className:"bg-[#1E1E32] rounded-xl p-6 mb-6",children:[u.jsx("h2",{className:"text-xl font-bold mb-4",children:"Office"}),u.jsxs("p",{className:"text-gray-300",children:["123 Creator Street",u.jsx("br",{}),"New York, NY 10001",u.jsx("br",{}),"United States"]})]}),u.jsxs("div",{className:"bg-[#1E1E32] rounded-xl p-6 mb-6",children:[u.jsx("h2",{className:"text-xl font-bold mb-4",children:"Contact Info"}),u.jsxs("p",{className:"text-gray-300",children:["Email: ",t,u.jsx("br",{}),"Phone: +1 (555) 123-4567"]})]}),u.jsxs("div",{className:"bg-[#1E1E32] rounded-xl p-6",children:[u.jsx("h2",{className:"text-xl font-bold mb-4",children:"Business Hours"}),u.jsxs("p",{className:"text-gray-300",children:["Monday - Friday: 9:00 AM - 6:00 PM EST",u.jsx("br",{}),"Saturday - Sunday: Closed"]})]})]})]})]})})},wg=({question:e,answer:t})=>u.jsxs("div",{className:"bg-[#1E1E32] rounded-xl p-6 border border-purple-900/20",children:[u.jsx("h3",{className:"text-lg font-bold mb-3",children:e}),u.jsx("p",{className:"text-gray-300",children:t})]}),Sg=()=>{const e=[{question:"How do I start editing my first video?",answer:"Simply paste your video link in the editor, choose your desired format, and start adding effects, transitions, and other elements to create your masterpiece."},{question:"What video formats are supported?",answer:"We support all major video formats including MP4, MOV, AVI, and more. You can also import directly from popular social media platforms."},{question:"Can I collaborate with other creators?",answer:"Yes! Our Pro plan includes team collaboration features that allow you to work together on projects in real-time."}];return u.jsx("main",{className:"container mx-auto px-4 py-16",children:u.jsxs("div",{className:"max-w-4xl mx-auto",children:[u.jsxs("h1",{className:"text-4xl md:text-5xl font-bold mb-6",children:["How can we",u.jsx("span",{className:"bg-gradient-to-r from-[#FF2E93] to-[#7E2EFF] text-transparent bg-clip-text",children:" help?"})]}),u.jsxs("div",{className:"relative mb-12",children:[u.jsx("input",{type:"text",placeholder:"Search for help...",className:"w-full px-12 py-4 bg-[#1E1E32] border border-purple-900/30 rounded-xl text-white placeholder-gray-500 focus:outline-none focus:ring-2 focus:ring-[#FF2E93]"}),u.jsx(Tm,{className:"absolute left-4 top-1/2 transform -translate-y-1/2 text-gray-400 w-5 h-5"})]}),u.jsxs("div",{className:"grid md:grid-cols-3 gap-6 mb-12",children:[u.jsxs("div",{className:"bg-[#1E1E32] p-6 rounded-xl text-center",children:[u.jsx("h2",{className:"text-xl font-bold mb-2",children:"Getting Started"}),u.jsx("p",{className:"text-gray-300",children:"New to VidCraft? Start here"})]}),u.jsxs("div",{className:"bg-[#1E1E32] p-6 rounded-xl text-center",children:[u.jsx("h2",{className:"text-xl font-bold mb-2",children:"Video Tutorials"}),u.jsx("p",{className:"text-gray-300",children:"Learn from our guides"})]}),u.jsxs("div",{className:"bg-[#1E1E32] p-6 rounded-xl text-center",children:[u.jsx("h2",{className:"text-xl font-bold mb-2",children:"Community"}),u.jsx("p",{className:"text-gray-300",children:"Join the discussion"})]})]}),u.jsx("h2",{className:"text-2xl font-bold mb-6",children:"Frequently Asked Questions"}),u.jsx("div",{className:"space-y-6",children:e.map((t,n)=>u.jsx(wg,{...t},n))})]})})},kg=({title:e,author:t,avatar:n,content:r,likes:i,comments:s})=>u.jsxs("div",{className:"bg-[#1E1E32] rounded-xl p-6 border border-purple-900/20",children:[u.jsxs("div",{className:"flex items-center gap-4 mb-4",children:[u.jsx("img",{src:n,alt:t,className:"w-10 h-10 rounded-full"}),u.jsxs("div",{children:[u.jsx("h3",{className:"font-bold",children:t}),u.jsx("p",{className:"text-sm text-gray-400",children:"Creator"})]})]}),u.jsx("h2",{className:"text-xl font-bold mb-3",children:e}),u.jsx("p",{className:"text-gray-300 mb-4",children:r}),u.jsxs("div",{className:"flex items-center gap-4 text-gray-400",children:[u.jsxs("span",{children:[i," likes"]}),u.jsxs("span",{children:[s," comments"]})]})]}),Ng=()=>{const e=[{title:"How I got 1M views on TikTok using VidCraft",author:"Sarah Chen",avatar:"https://images.pexels.com/photos/415829/pexels-photo-415829.jpeg",content:"I wanted to share my experience using the new transition effects...",likes:234,comments:56},{title:"Best settings for YouTube Shorts",author:"Mike Johnson",avatar:"https://images.pexels.com/photos/2379004/pexels-photo-2379004.jpeg",content:"After testing different export settings, I found the perfect combination...",likes:189,comments:42},{title:"Tutorial: Creating smooth transitions",author:"Alex Rivera",avatar:"https://images.pexels.com/photos/1222271/pexels-photo-1222271.jpeg",content:"In this tutorial, I'll show you how to create seamless transitions...",likes:312,comments:78}];return u.jsx("main",{className:"container mx-auto px-4 py-16",children:u.jsxs("div",{className:"max-w-4xl mx-auto",children:[u.jsxs("h1",{className:"text-4xl md:text-5xl font-bold mb-6",children:["VidCraft",u.jsx("span",{className:"bg-gradient-to-r from-[#FF2E93] to-[#7E2EFF] text-transparent bg-clip-text",children:" Community"})]}),u.jsx("p",{className:"text-xl text-gray-300 mb-12",children:"Connect with fellow creators, share your work, and learn from others"}),u.jsxs("div",{className:"flex gap-4 mb-8",children:[u.jsx("button",{className:"bg-gradient-to-r from-[#FF2E93] to-[#7E2EFF] hover:opacity-90 transition-opacity px-6 py-3 rounded-full font-medium",children:"Create Post"}),u.jsx("button",{className:"border border-purple-500 hover:bg-purple-500/20 transition-colors px-6 py-3 rounded-full font-medium",children:"Browse Categories"})]}),u.jsx("div",{className:"space-y-6",children:e.map((t,n)=>u.jsx(kg,{...t},n))})]})})},Eg=({title:e,description:t,votes:n,status:r})=>u.jsx("div",{className:"bg-[#1E1E32] rounded-xl p-6 border border-purple-900/20",children:u.jsxs("div",{className:"flex items-start gap-4",children:[u.jsxs("div",{className:"bg-[#FF2E93]/10 px-4 py-2 rounded-lg text-center",children:[u.jsx("div",{className:"text-[#FF2E93] font-bold text-xl",children:n}),u.jsx("div",{className:"text-sm text-gray-400",children:"votes"})]}),u.jsxs("div",{children:[u.jsx("h3",{className:"text-xl font-bold mb-2",children:e}),u.jsx("p",{className:"text-gray-300 mb-4",children:t}),u.jsx("span",{className:`px-3 py-1 rounded-full text-sm ${r==="Planned"?"bg-blue-500/20 text-blue-400":r==="In Progress"?"bg-yellow-500/20 text-yellow-400":"bg-green-500/20 text-green-400"}`,children:r})]})]})}),jg=()=>{const e=[{title:"Add more transition effects",description:"Would love to see more creative transition effects for videos",votes:156,status:"Planned"},{title:"Collaborative editing features",description:"Enable multiple users to work on the same project simultaneously",votes:243,status:"In Progress"},{title:"Export directly to social media",description:"Add ability to export videos directly to various platforms",votes:189,status:"Completed"}];return u.jsx("main",{className:"container mx-auto px-4 py-16",children:u.jsxs("div",{className:"max-w-4xl mx-auto",children:[u.jsxs("h1",{className:"text-4xl md:text-5xl font-bold mb-6",children:["Feature",u.jsx("span",{className:"bg-gradient-to-r from-[#FF2E93] to-[#7E2EFF] text-transparent bg-clip-text",children:" Requests"})]}),u.jsx("p",{className:"text-xl text-gray-300 mb-12",children:"Help shape the future of VidCraft by sharing your ideas and voting on features"}),u.jsxs("div",{className:"flex gap-4 mb-8",children:[u.jsx("button",{className:"bg-gradient-to-r from-[#FF2E93] to-[#7E2EFF] hover:opacity-90 transition-opacity px-6 py-3 rounded-full font-medium",children:"Submit Idea"}),u.jsx("button",{className:"border border-purple-500 hover:bg-purple-500/20 transition-colors px-6 py-3 rounded-full font-medium",children:"View Roadmap"})]}),u.jsx("div",{className:"space-y-6",children:e.map((t,n)=>u.jsx(Eg,{...t},n))})]})})},Cg=()=>{const{t:e,i18n:t}=Zi(),[n,r]=E.useState(!1),i=[{code:"en",name:"English"},{code:"ru",name:"Русский"},{code:"de",name:"Deutsch"},{code:"hi",name:"हिन्दी"}],s=o=>{t.changeLanguage(o),r(!1)};return u.jsxs("div",{className:"fixed right-4 top-1/2 transform -translate-y-1/2 z-50",children:[u.jsxs("button",{onClick:()=>r(!n),className:"flex items-center gap-2 bg-[#1E1E32] px-4 py-2 rounded-lg shadow-lg hover:bg-[#2A2A42] transition-colors",children:[u.jsx("span",{className:"text-2xl",children:"🌍"}),u.jsx("span",{className:"hidden md:inline",children:e("language.select")})]}),n&&u.jsx("div",{className:"absolute right-0 mt-2 w-48 bg-[#1E1E32] rounded-lg shadow-xl border border-purple-900/20",children:i.map(o=>u.jsx("button",{onClick:()=>s(o.code),className:"block w-full text-left px-4 py-2 hover:bg-[#2A2A42] transition-colors first:rounded-t-lg last:rounded-b-lg",children:o.name},o.code))})]})};function Fg(){const[e,t]=E.useState(!1),[n,r]=E.useState(null),i=s=>{r(s),t(!0)};return u.jsx(ym,{children:u.jsxs("div",{className:"min-h-screen bg-gradient-to-b from-[#0F0F1A] to-[#1A1A2E] text-white",children:[u.jsx(eg,{onSignIn:()=>t(!0)}),u.jsx(Cg,{}),u.jsxs(dm,{children:[u.jsx(Fe,{path:"/",element:u.jsxs("main",{className:"container mx-auto px-4 overflow-hidden",children:[u.jsx(tg,{}),u.jsx(ig,{onSubmit:i}),u.jsx(_d,{})]})}),u.jsx(Fe,{path:"/features",element:u.jsx(ug,{})}),u.jsx(Fe,{path:"/tutorials",element:u.jsx(dg,{})}),u.jsx(Fe,{path:"/updates",element:u.jsx(pg,{})}),u.jsx(Fe,{path:"/about",element:u.jsx(hg,{})}),u.jsx(Fe,{path:"/blog",element:u.jsx(gg,{})}),u.jsx(Fe,{path:"/careers",element:u.jsx(yg,{})}),u.jsx(Fe,{path:"/contact",element:u.jsx(xg,{})}),u.jsx(Fe,{path:"/help",element:u.jsx(Sg,{})}),u.jsx(Fe,{path:"/community",element:u.jsx(Ng,{})}),u.jsx(Fe,{path:"/feedback",element:u.jsx(jg,{})})]}),u.jsx(ag,{}),e&&u.jsx(lg,{platform:n,onClose:()=>t(!1)})]})})}const R=e=>typeof e=="string",_n=()=>{let e,t;const n=new Promise((r,i)=>{e=r,t=i});return n.resolve=e,n.reject=t,n},Ya=e=>e==null?"":""+e,Pg=(e,t,n)=>{e.forEach(r=>{t[r]&&(n[r]=t[r])})},Lg=/###/g,Ja=e=>e&&e.indexOf("###")>-1?e.replace(Lg,"."):e,Ga=e=>!e||R(e),Zn=(e,t,n)=>{const r=R(t)?t.split("."):t;let i=0;for(;i {const{obj:r,k:i}=Zn(e,t,Object);if(r!==void 0||t.length===1){r[i]=n;return}let s=t[t.length-1],o=t.slice(0,t.length-1),l=Zn(e,o,Object);for(;l.obj===void 0&&o.length;)s=`${o[o.length-1]}.${s}`,o=o.slice(0,o.length-1),l=Zn(e,o,Object),l&&l.obj&&typeof l.obj[`${l.k}.${s}`]<"u"&&(l.obj=void 0);l.obj[`${l.k}.${s}`]=n},Og=(e,t,n,r)=>{const{obj:i,k:s}=Zn(e,t,Object);i[s]=i[s]||[],i[s].push(n)},Ri=(e,t)=>{const{obj:n,k:r}=Zn(e,t);if(n)return n[r]},Rg=(e,t,n)=>{const r=Ri(e,n);return r!==void 0?r:Ri(t,n)},Md=(e,t,n)=>{for(const r in t)r!=="__proto__"&&r!=="constructor"&&(r in e?R(e[r])||e[r]instanceof String||R(t[r])||t[r]instanceof String?n&&(e[r]=t[r]):Md(e[r],t[r],n):e[r]=t[r]);return e},qt=e=>e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&");var Tg={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};const bg=e=>R(e)?e.replace(/[&<>"'\/]/g,t=>Tg[t]):e;class Ig{constructor(t){this.capacity=t,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(t){const n=this.regExpMap.get(t);if(n!==void 0)return n;const r=new RegExp(t);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(t,r),this.regExpQueue.push(t),r}}const zg=[" ",",","?","!",";"],Dg=new Ig(20),_g=(e,t,n)=>{t=t||"",n=n||"";const r=zg.filter(o=>t.indexOf(o)<0&&n.indexOf(o)<0);if(r.length===0)return!0;const i=Dg.getRegExp(`(${r.map(o=>o==="?"?"\\?":o).join("|")})`);let s=!i.test(e);if(!s){const o=e.indexOf(n);o>0&&!i.test(e.substring(0,o))&&(s=!0)}return s},Lo=function(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:".";if(!e)return;if(e[t])return e[t];const r=t.split(n);let i=e;for(let s=0;s -1&&a e&&e.replace("_","-"),Mg={type:"logger",log(e){this.output("log",e)},warn(e){this.output("warn",e)},error(e){this.output("error",e)},output(e,t){console&&console[e]&&console[e].apply(console,t)}};class bi{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.init(t,n)}init(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.prefix=n.prefix||"i18next:",this.logger=t||Mg,this.options=n,this.debug=n.debug}log(){for(var t=arguments.length,n=new Array(t),r=0;r {this.observers[r]||(this.observers[r]=new Map);const i=this.observers[r].get(n)||0;this.observers[r].set(n,i+1)}),this}off(t,n){if(this.observers[t]){if(!n){delete this.observers[t];return}this.observers[t].delete(n)}}emit(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i {let[l,a]=o;for(let c=0;c{let[l,a]=o;for(let c=0;c1&&arguments[1]!==void 0?arguments[1]:{ns:["translation"],defaultNS:"translation"};super(),this.data=t||{},this.options=n,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.options.ignoreJSONStructure===void 0&&(this.options.ignoreJSONStructure=!0)}addNamespaces(t){this.options.ns.indexOf(t)<0&&this.options.ns.push(t)}removeNamespaces(t){const n=this.options.ns.indexOf(t);n>-1&&this.options.ns.splice(n,1)}getResource(t,n,r){let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const s=i.keySeparator!==void 0?i.keySeparator:this.options.keySeparator,o=i.ignoreJSONStructure!==void 0?i.ignoreJSONStructure:this.options.ignoreJSONStructure;let l;t.indexOf(".")>-1?l=t.split("."):(l=[t,n],r&&(Array.isArray(r)?l.push(...r):R(r)&&s?l.push(...r.split(s)):l.push(r)));const a=Ri(this.data,l);return!a&&!n&&!r&&t.indexOf(".")>-1&&(t=l[0],n=l[1],r=l.slice(2).join(".")),a||!o||!R(r)?a:Lo(this.data&&this.data[t]&&this.data[t][n],r,s)}addResource(t,n,r,i){let s=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{silent:!1};const o=s.keySeparator!==void 0?s.keySeparator:this.options.keySeparator;let l=[t,n];r&&(l=l.concat(o?r.split(o):r)),t.indexOf(".")>-1&&(l=t.split("."),i=n,n=l[1]),this.addNamespaces(n),qa(this.data,l,i),s.silent||this.emit("added",t,n,r,i)}addResources(t,n,r){let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{silent:!1};for(const s in r)(R(r[s])||Array.isArray(r[s]))&&this.addResource(t,n,s,r[s],{silent:!0});i.silent||this.emit("added",t,n,r)}addResourceBundle(t,n,r,i,s){let o=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{silent:!1,skipCopy:!1},l=[t,n];t.indexOf(".")>-1&&(l=t.split("."),i=r,r=n,n=l[1]),this.addNamespaces(n);let a=Ri(this.data,l)||{};o.skipCopy||(r=JSON.parse(JSON.stringify(r))),i?Md(a,r,s):a={...a,...r},qa(this.data,l,a),o.silent||this.emit("added",t,n,r)}removeResourceBundle(t,n){this.hasResourceBundle(t,n)&&delete this.data[t][n],this.removeNamespaces(n),this.emit("removed",t,n)}hasResourceBundle(t,n){return this.getResource(t,n)!==void 0}getResourceBundle(t,n){return n||(n=this.options.defaultNS),this.options.compatibilityAPI==="v1"?{...this.getResource(t,n)}:this.getResource(t,n)}getDataByLanguage(t){return this.data[t]}hasLanguageSomeTranslations(t){const n=this.getDataByLanguage(t);return!!(n&&Object.keys(n)||[]).find(i=>n[i]&&Object.keys(n[i]).length>0)}toJSON(){return this.data}}var $d={processors:{},addPostProcessor(e){this.processors[e.name]=e},handle(e,t,n,r,i){return e.forEach(s=>{this.processors[s]&&(t=this.processors[s].process(t,n,r,i))}),t}};const Za={};class Ii extends es{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};super(),Pg(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],t,this),this.options=n,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.logger=He.create("translator")}changeLanguage(t){t&&(this.language=t)}exists(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}};if(t==null)return!1;const r=this.resolve(t,n);return r&&r.res!==void 0}extractFromKey(t,n){let r=n.nsSeparator!==void 0?n.nsSeparator:this.options.nsSeparator;r===void 0&&(r=":");const i=n.keySeparator!==void 0?n.keySeparator:this.options.keySeparator;let s=n.ns||this.options.defaultNS||[];const o=r&&t.indexOf(r)>-1,l=!this.options.userDefinedKeySeparator&&!n.keySeparator&&!this.options.userDefinedNsSeparator&&!n.nsSeparator&&!_g(t,r,i);if(o&&!l){const a=t.match(this.interpolator.nestingRegexp);if(a&&a.length>0)return{key:t,namespaces:R(s)?[s]:s};const c=t.split(r);(r!==i||r===i&&this.options.ns.indexOf(c[0])>-1)&&(s=c.shift()),t=c.join(i)}return{key:t,namespaces:R(s)?[s]:s}}translate(t,n,r){if(typeof n!="object"&&this.options.overloadTranslationOptionHandler&&(n=this.options.overloadTranslationOptionHandler(arguments)),typeof n=="object"&&(n={...n}),n||(n={}),t==null)return"";Array.isArray(t)||(t=[String(t)]);const i=n.returnDetails!==void 0?n.returnDetails:this.options.returnDetails,s=n.keySeparator!==void 0?n.keySeparator:this.options.keySeparator,{key:o,namespaces:l}=this.extractFromKey(t[t.length-1],n),a=l[l.length-1],c=n.lng||this.language,f=n.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(c&&c.toLowerCase()==="cimode"){if(f){const y=n.nsSeparator||this.options.nsSeparator;return i?{res:`${a}${y}${o}`,usedKey:o,exactUsedKey:o,usedLng:c,usedNS:a,usedParams:this.getUsedParamsDetails(n)}:`${a}${y}${o}`}return i?{res:o,usedKey:o,exactUsedKey:o,usedLng:c,usedNS:a,usedParams:this.getUsedParamsDetails(n)}:o}const p=this.resolve(t,n);let d=p&&p.res;const v=p&&p.usedKey||o,x=p&&p.exactUsedKey||o,w=Object.prototype.toString.apply(d),N=["[object Number]","[object Function]","[object RegExp]"],m=n.joinArrays!==void 0?n.joinArrays:this.options.joinArrays,h=!this.i18nFormat||this.i18nFormat.handleAsObject,g=!R(d)&&typeof d!="boolean"&&typeof d!="number";if(h&&d&&g&&N.indexOf(w)<0&&!(R(m)&&Array.isArray(d))){if(!n.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");const y=this.options.returnedObjectHandler?this.options.returnedObjectHandler(v,d,{...n,ns:l}):`key '${o} (${this.language})' returned an object instead of string.`;return i?(p.res=y,p.usedParams=this.getUsedParamsDetails(n),p):y}if(s){const y=Array.isArray(d),S=y?[]:{},C=y?x:v;for(const j in d)if(Object.prototype.hasOwnProperty.call(d,j)){const L=`${C}${s}${j}`;S[j]=this.translate(L,{...n,joinArrays:!1,ns:l}),S[j]===L&&(S[j]=d[j])}d=S}}else if(h&&R(m)&&Array.isArray(d))d=d.join(m),d&&(d=this.extendTranslation(d,t,n,r));else{let y=!1,S=!1;const C=n.count!==void 0&&!R(n.count),j=Ii.hasDefaultValue(n),L=C?this.pluralResolver.getSuffix(c,n.count,n):"",V=n.ordinal&&C?this.pluralResolver.getSuffix(c,n.count,{ordinal:!1}):"",b=C&&!n.ordinal&&n.count===0&&this.pluralResolver.shouldUseIntlApi(),te=b&&n[`defaultValue${this.options.pluralSeparator}zero`]||n[`defaultValue${L}`]||n[`defaultValue${V}`]||n.defaultValue;!this.isValidLookup(d)&&j&&(y=!0,d=te),this.isValidLookup(d)||(S=!0,d=o);const Ft=(n.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&S?void 0:d,rt=j&&te!==d&&this.options.updateMissing;if(S||y||rt){if(this.logger.log(rt?"updateKey":"missingKey",c,a,o,rt?te:d),s){const F=this.resolve(o,{...n,keySeparator:!1});F&&F.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}let Pt=[];const it=this.languageUtils.getFallbackCodes(this.options.fallbackLng,n.lng||this.language);if(this.options.saveMissingTo==="fallback"&&it&&it[0])for(let F=0;F {const U=j&&T!==d?T:Ft;this.options.missingKeyHandler?this.options.missingKeyHandler(F,a,O,U,rt,n):this.backendConnector&&this.backendConnector.saveMissing&&this.backendConnector.saveMissing(F,a,O,U,rt,n),this.emit("missingKey",F,a,O,d)};this.options.saveMissing&&(this.options.saveMissingPlurals&&C?Pt.forEach(F=>{const O=this.pluralResolver.getSuffixes(F,n);b&&n[`defaultValue${this.options.pluralSeparator}zero`]&&O.indexOf(`${this.options.pluralSeparator}zero`)<0&&O.push(`${this.options.pluralSeparator}zero`),O.forEach(T=>{Jt([F],o+T,n[`defaultValue${T}`]||te)})}):Jt(Pt,o,te))}d=this.extendTranslation(d,t,n,p,r),S&&d===o&&this.options.appendNamespaceToMissingKey&&(d=`${a}:${o}`),(S||y)&&this.options.parseMissingKeyHandler&&(this.options.compatibilityAPI!=="v1"?d=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${a}:${o}`:o,y?d:void 0):d=this.options.parseMissingKeyHandler(d))}return i?(p.res=d,p.usedParams=this.getUsedParamsDetails(n),p):d}extendTranslation(t,n,r,i,s){var o=this;if(this.i18nFormat&&this.i18nFormat.parse)t=this.i18nFormat.parse(t,{...this.options.interpolation.defaultVariables,...r},r.lng||this.language||i.usedLng,i.usedNS,i.usedKey,{resolved:i});else if(!r.skipInterpolation){r.interpolation&&this.interpolator.init({...r,interpolation:{...this.options.interpolation,...r.interpolation}});const c=R(t)&&(r&&r.interpolation&&r.interpolation.skipOnVariables!==void 0?r.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);let f;if(c){const d=t.match(this.interpolator.nestingRegexp);f=d&&d.length}let p=r.replace&&!R(r.replace)?r.replace:r;if(this.options.interpolation.defaultVariables&&(p={...this.options.interpolation.defaultVariables,...p}),t=this.interpolator.interpolate(t,p,r.lng||this.language||i.usedLng,r),c){const d=t.match(this.interpolator.nestingRegexp),v=d&&d.length;f 1&&arguments[1]!==void 0?arguments[1]:{},r,i,s,o,l;return R(t)&&(t=[t]),t.forEach(a=>{if(this.isValidLookup(r))return;const c=this.extractFromKey(a,n),f=c.key;i=f;let p=c.namespaces;this.options.fallbackNS&&(p=p.concat(this.options.fallbackNS));const d=n.count!==void 0&&!R(n.count),v=d&&!n.ordinal&&n.count===0&&this.pluralResolver.shouldUseIntlApi(),x=n.context!==void 0&&(R(n.context)||typeof n.context=="number")&&n.context!=="",w=n.lngs?n.lngs:this.languageUtils.toResolveHierarchy(n.lng||this.language,n.fallbackLng);p.forEach(N=>{this.isValidLookup(r)||(l=N,!Za[`${w[0]}-${N}`]&&this.utils&&this.utils.hasLoadedNamespace&&!this.utils.hasLoadedNamespace(l)&&(Za[`${w[0]}-${N}`]=!0,this.logger.warn(`key "${i}" for languages "${w.join(", ")}" won't get resolved as namespace "${l}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),w.forEach(m=>{if(this.isValidLookup(r))return;o=m;const h=[f];if(this.i18nFormat&&this.i18nFormat.addLookupKeys)this.i18nFormat.addLookupKeys(h,f,m,N,n);else{let y;d&&(y=this.pluralResolver.getSuffix(m,n.count,n));const S=`${this.options.pluralSeparator}zero`,C=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(d&&(h.push(f+y),n.ordinal&&y.indexOf(C)===0&&h.push(f+y.replace(C,this.options.pluralSeparator)),v&&h.push(f+S)),x){const j=`${f}${this.options.contextSeparator}${n.context}`;h.push(j),d&&(h.push(j+y),n.ordinal&&y.indexOf(C)===0&&h.push(j+y.replace(C,this.options.pluralSeparator)),v&&h.push(j+S))}}let g;for(;g=h.pop();)this.isValidLookup(r)||(s=g,r=this.getResource(m,N,g,n))}))})}),{res:r,usedKey:i,exactUsedKey:s,usedLng:o,usedNS:l}}isValidLookup(t){return t!==void 0&&!(!this.options.returnNull&&t===null)&&!(!this.options.returnEmptyString&&t==="")}getResource(t,n,r){let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(t,n,r,i):this.resourceStore.getResource(t,n,r,i)}getUsedParamsDetails(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const n=["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"],r=t.replace&&!R(t.replace);let i=r?t.replace:t;if(r&&typeof t.count<"u"&&(i.count=t.count),this.options.interpolation.defaultVariables&&(i={...this.options.interpolation.defaultVariables,...i}),!r){i={...i};for(const s of n)delete i[s]}return i}static hasDefaultValue(t){const n="defaultValue";for(const r in t)if(Object.prototype.hasOwnProperty.call(t,r)&&n===r.substring(0,n.length)&&t[r]!==void 0)return!0;return!1}}const Ls=e=>e.charAt(0).toUpperCase()+e.slice(1);class eu{constructor(t){this.options=t,this.supportedLngs=this.options.supportedLngs||!1,this.logger=He.create("languageUtils")}getScriptPartFromCode(t){if(t=Ti(t),!t||t.indexOf("-")<0)return null;const n=t.split("-");return n.length===2||(n.pop(),n[n.length-1].toLowerCase()==="x")?null:this.formatLanguageCode(n.join("-"))}getLanguagePartFromCode(t){if(t=Ti(t),!t||t.indexOf("-")<0)return t;const n=t.split("-");return this.formatLanguageCode(n[0])}formatLanguageCode(t){if(R(t)&&t.indexOf("-")>-1){if(typeof Intl<"u"&&typeof Intl.getCanonicalLocales<"u")try{let i=Intl.getCanonicalLocales(t)[0];if(i&&this.options.lowerCaseLng&&(i=i.toLowerCase()),i)return i}catch{}const n=["hans","hant","latn","cyrl","cans","mong","arab"];let r=t.split("-");return this.options.lowerCaseLng?r=r.map(i=>i.toLowerCase()):r.length===2?(r[0]=r[0].toLowerCase(),r[1]=r[1].toUpperCase(),n.indexOf(r[1].toLowerCase())>-1&&(r[1]=Ls(r[1].toLowerCase()))):r.length===3&&(r[0]=r[0].toLowerCase(),r[1].length===2&&(r[1]=r[1].toUpperCase()),r[0]!=="sgn"&&r[2].length===2&&(r[2]=r[2].toUpperCase()),n.indexOf(r[1].toLowerCase())>-1&&(r[1]=Ls(r[1].toLowerCase())),n.indexOf(r[2].toLowerCase())>-1&&(r[2]=Ls(r[2].toLowerCase()))),r.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?t.toLowerCase():t}isSupportedCode(t){return(this.options.load==="languageOnly"||this.options.nonExplicitSupportedLngs)&&(t=this.getLanguagePartFromCode(t)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(t)>-1}getBestMatchFromCodes(t){if(!t)return null;let n;return t.forEach(r=>{if(n)return;const i=this.formatLanguageCode(r);(!this.options.supportedLngs||this.isSupportedCode(i))&&(n=i)}),!n&&this.options.supportedLngs&&t.forEach(r=>{if(n)return;const i=this.getLanguagePartFromCode(r);if(this.isSupportedCode(i))return n=i;n=this.options.supportedLngs.find(s=>{if(s===i)return s;if(!(s.indexOf("-")<0&&i.indexOf("-")<0)&&(s.indexOf("-")>0&&i.indexOf("-")<0&&s.substring(0,s.indexOf("-"))===i||s.indexOf(i)===0&&i.length>1))return s})}),n||(n=this.getFallbackCodes(this.options.fallbackLng)[0]),n}getFallbackCodes(t,n){if(!t)return[];if(typeof t=="function"&&(t=t(n)),R(t)&&(t=[t]),Array.isArray(t))return t;if(!n)return t.default||[];let r=t[n];return r||(r=t[this.getScriptPartFromCode(n)]),r||(r=t[this.formatLanguageCode(n)]),r||(r=t[this.getLanguagePartFromCode(n)]),r||(r=t.default),r||[]}toResolveHierarchy(t,n){const r=this.getFallbackCodes(n||this.options.fallbackLng||[],t),i=[],s=o=>{o&&(this.isSupportedCode(o)?i.push(o):this.logger.warn(`rejecting language code not found in supportedLngs: ${o}`))};return R(t)&&(t.indexOf("-")>-1||t.indexOf("_")>-1)?(this.options.load!=="languageOnly"&&s(this.formatLanguageCode(t)),this.options.load!=="languageOnly"&&this.options.load!=="currentOnly"&&s(this.getScriptPartFromCode(t)),this.options.load!=="currentOnly"&&s(this.getLanguagePartFromCode(t))):R(t)&&s(this.formatLanguageCode(t)),r.forEach(o=>{i.indexOf(o)<0&&s(this.formatLanguageCode(o))}),i}}let $g=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kk","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],Ug={1:e=>+(e>1),2:e=>+(e!=1),3:e=>0,4:e=>e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2,5:e=>e==0?0:e==1?1:e==2?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5,6:e=>e==1?0:e>=2&&e<=4?1:2,7:e=>e==1?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2,8:e=>e==1?0:e==2?1:e!=8&&e!=11?2:3,9:e=>+(e>=2),10:e=>e==1?0:e==2?1:e<7?2:e<11?3:4,11:e=>e==1||e==11?0:e==2||e==12?1:e>2&&e<20?2:3,12:e=>+(e%10!=1||e%100==11),13:e=>+(e!==0),14:e=>e==1?0:e==2?1:e==3?2:3,15:e=>e%10==1&&e%100!=11?0:e%10>=2&&(e%100<10||e%100>=20)?1:2,16:e=>e%10==1&&e%100!=11?0:e!==0?1:2,17:e=>e==1||e%10==1&&e%100!=11?0:1,18:e=>e==0?0:e==1?1:2,19:e=>e==1?0:e==0||e%100>1&&e%100<11?1:e%100>10&&e%100<20?2:3,20:e=>e==1?0:e==0||e%100>0&&e%100<20?1:2,21:e=>e%100==1?1:e%100==2?2:e%100==3||e%100==4?3:0,22:e=>e==1?0:e==2?1:(e<0||e>10)&&e%10==0?2:3};const Ag=["v1","v2","v3"],Vg=["v4"],tu={zero:0,one:1,two:2,few:3,many:4,other:5},Bg=()=>{const e={};return $g.forEach(t=>{t.lngs.forEach(n=>{e[n]={numbers:t.nr,plurals:Ug[t.fc]}})}),e};class Hg{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.languageUtils=t,this.options=n,this.logger=He.create("pluralResolver"),(!this.options.compatibilityJSON||Vg.includes(this.options.compatibilityJSON))&&(typeof Intl>"u"||!Intl.PluralRules)&&(this.options.compatibilityJSON="v3",this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")),this.rules=Bg(),this.pluralRulesCache={}}addRule(t,n){this.rules[t]=n}clearCache(){this.pluralRulesCache={}}getRule(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(this.shouldUseIntlApi()){const r=Ti(t==="dev"?"en":t),i=n.ordinal?"ordinal":"cardinal",s=JSON.stringify({cleanedCode:r,type:i});if(s in this.pluralRulesCache)return this.pluralRulesCache[s];let o;try{o=new Intl.PluralRules(r,{type:i})}catch{if(!t.match(/-|_/))return;const a=this.languageUtils.getLanguagePartFromCode(t);o=this.getRule(a,n)}return this.pluralRulesCache[s]=o,o}return this.rules[t]||this.rules[this.languageUtils.getLanguagePartFromCode(t)]}needsPlural(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const r=this.getRule(t,n);return this.shouldUseIntlApi()?r&&r.resolvedOptions().pluralCategories.length>1:r&&r.numbers.length>1}getPluralFormsOfKey(t,n){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return this.getSuffixes(t,r).map(i=>`${n}${i}`)}getSuffixes(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const r=this.getRule(t,n);return r?this.shouldUseIntlApi()?r.resolvedOptions().pluralCategories.sort((i,s)=>tu[i]-tu[s]).map(i=>`${this.options.prepend}${n.ordinal?`ordinal${this.options.prepend}`:""}${i}`):r.numbers.map(i=>this.getSuffix(t,i,n)):[]}getSuffix(t,n){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const i=this.getRule(t,r);return i?this.shouldUseIntlApi()?`${this.options.prepend}${r.ordinal?`ordinal${this.options.prepend}`:""}${i.select(n)}`:this.getSuffixRetroCompatible(i,n):(this.logger.warn(`no plural rule found for: ${t}`),"")}getSuffixRetroCompatible(t,n){const r=t.noAbs?t.plurals(n):t.plurals(Math.abs(n));let i=t.numbers[r];this.options.simplifyPluralSuffix&&t.numbers.length===2&&t.numbers[0]===1&&(i===2?i="plural":i===1&&(i=""));const s=()=>this.options.prepend&&i.toString()?this.options.prepend+i.toString():i.toString();return this.options.compatibilityJSON==="v1"?i===1?"":typeof i=="number"?`_plural_${i.toString()}`:s():this.options.compatibilityJSON==="v2"||this.options.simplifyPluralSuffix&&t.numbers.length===2&&t.numbers[0]===1?s():this.options.prepend&&r.toString()?this.options.prepend+r.toString():r.toString()}shouldUseIntlApi(){return!Ag.includes(this.options.compatibilityJSON)}}const nu=function(e,t,n){let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:".",i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0,s=Rg(e,t,n);return!s&&i&&R(n)&&(s=Lo(e,n,r),s===void 0&&(s=Lo(t,n,r))),s},Os=e=>e.replace(/\$/g,"$$$$");class Wg{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=He.create("interpolator"),this.options=t,this.format=t.interpolation&&t.interpolation.format||(n=>n),this.init(t)}init(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};t.interpolation||(t.interpolation={escapeValue:!0});const{escape:n,escapeValue:r,useRawValueToEscape:i,prefix:s,prefixEscaped:o,suffix:l,suffixEscaped:a,formatSeparator:c,unescapeSuffix:f,unescapePrefix:p,nestingPrefix:d,nestingPrefixEscaped:v,nestingSuffix:x,nestingSuffixEscaped:w,nestingOptionsSeparator:N,maxReplaces:m,alwaysFormat:h}=t.interpolation;this.escape=n!==void 0?n:bg,this.escapeValue=r!==void 0?r:!0,this.useRawValueToEscape=i!==void 0?i:!1,this.prefix=s?qt(s):o||"{{",this.suffix=l?qt(l):a||"}}",this.formatSeparator=c||",",this.unescapePrefix=f?"":p||"-",this.unescapeSuffix=this.unescapePrefix?"":f||"",this.nestingPrefix=d?qt(d):v||qt("$t("),this.nestingSuffix=x?qt(x):w||qt(")"),this.nestingOptionsSeparator=N||",",this.maxReplaces=m||1e3,this.alwaysFormat=h!==void 0?h:!1,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){const t=(n,r)=>n&&n.source===r?(n.lastIndex=0,n):new RegExp(r,"g");this.regexp=t(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=t(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=t(this.nestingRegexp,`${this.nestingPrefix}(.+?)${this.nestingSuffix}`)}interpolate(t,n,r,i){let s,o,l;const a=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},c=v=>{if(v.indexOf(this.formatSeparator)<0){const m=nu(n,a,v,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(m,void 0,r,{...i,...n,interpolationkey:v}):m}const x=v.split(this.formatSeparator),w=x.shift().trim(),N=x.join(this.formatSeparator).trim();return this.format(nu(n,a,w,this.options.keySeparator,this.options.ignoreJSONStructure),N,r,{...i,...n,interpolationkey:w})};this.resetRegExp();const f=i&&i.missingInterpolationHandler||this.options.missingInterpolationHandler,p=i&&i.interpolation&&i.interpolation.skipOnVariables!==void 0?i.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:v=>Os(v)},{regex:this.regexp,safeValue:v=>this.escapeValue?Os(this.escape(v)):Os(v)}].forEach(v=>{for(l=0;s=v.regex.exec(t);){const x=s[1].trim();if(o=c(x),o===void 0)if(typeof f=="function"){const N=f(t,s,i);o=R(N)?N:""}else if(i&&Object.prototype.hasOwnProperty.call(i,x))o="";else if(p){o=s[0];continue}else this.logger.warn(`missed to pass in variable ${x} for interpolating ${t}`),o="";else!R(o)&&!this.useRawValueToEscape&&(o=Ya(o));const w=v.safeValue(o);if(t=t.replace(s[0],w),p?(v.regex.lastIndex+=o.length,v.regex.lastIndex-=s[0].length):v.regex.lastIndex=0,l++,l>=this.maxReplaces)break}}),t}nest(t,n){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},i,s,o;const l=(a,c)=>{const f=this.nestingOptionsSeparator;if(a.indexOf(f)<0)return a;const p=a.split(new RegExp(`${f}[ ]*{`));let d=`{${p[1]}`;a=p[0],d=this.interpolate(d,o);const v=d.match(/'/g),x=d.match(/"/g);(v&&v.length%2===0&&!x||x.length%2!==0)&&(d=d.replace(/'/g,'"'));try{o=JSON.parse(d),c&&(o={...c,...o})}catch(w){return this.logger.warn(`failed parsing options string in nesting for key ${a}`,w),`${a}${f}${d}`}return o.defaultValue&&o.defaultValue.indexOf(this.prefix)>-1&&delete o.defaultValue,a};for(;i=this.nestingRegexp.exec(t);){let a=[];o={...r},o=o.replace&&!R(o.replace)?o.replace:o,o.applyPostProcessor=!1,delete o.defaultValue;let c=!1;if(i[0].indexOf(this.formatSeparator)!==-1&&!/{.*}/.test(i[1])){const f=i[1].split(this.formatSeparator).map(p=>p.trim());i[1]=f.shift(),a=f,c=!0}if(s=n(l.call(this,i[1].trim(),o),o),s&&i[0]===t&&!R(s))return s;R(s)||(s=Ya(s)),s||(this.logger.warn(`missed to resolve ${i[1]} for nesting ${t}`),s=""),c&&(s=a.reduce((f,p)=>this.format(f,p,r.lng,{...r,interpolationkey:i[1].trim()}),s.trim())),t=t.replace(i[0],s),this.regexp.lastIndex=0}return t}}const Kg=e=>{let t=e.toLowerCase().trim();const n={};if(e.indexOf("(")>-1){const r=e.split("(");t=r[0].toLowerCase().trim();const i=r[1].substring(0,r[1].length-1);t==="currency"&&i.indexOf(":")<0?n.currency||(n.currency=i.trim()):t==="relativetime"&&i.indexOf(":")<0?n.range||(n.range=i.trim()):i.split(";").forEach(o=>{if(o){const[l,...a]=o.split(":"),c=a.join(":").trim().replace(/^'+|'+$/g,""),f=l.trim();n[f]||(n[f]=c),c==="false"&&(n[f]=!1),c==="true"&&(n[f]=!0),isNaN(c)||(n[f]=parseInt(c,10))}})}return{formatName:t,formatOptions:n}},Xt=e=>{const t={};return(n,r,i)=>{let s=i;i&&i.interpolationkey&&i.formatParams&&i.formatParams[i.interpolationkey]&&i[i.interpolationkey]&&(s={...s,[i.interpolationkey]:void 0});const o=r+JSON.stringify(s);let l=t[o];return l||(l=e(Ti(r),i),t[o]=l),l(n)}};class Qg{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=He.create("formatter"),this.options=t,this.formats={number:Xt((n,r)=>{const i=new Intl.NumberFormat(n,{...r});return s=>i.format(s)}),currency:Xt((n,r)=>{const i=new Intl.NumberFormat(n,{...r,style:"currency"});return s=>i.format(s)}),datetime:Xt((n,r)=>{const i=new Intl.DateTimeFormat(n,{...r});return s=>i.format(s)}),relativetime:Xt((n,r)=>{const i=new Intl.RelativeTimeFormat(n,{...r});return s=>i.format(s,r.range||"day")}),list:Xt((n,r)=>{const i=new Intl.ListFormat(n,{...r});return s=>i.format(s)})},this.init(t)}init(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}};this.formatSeparator=n.interpolation.formatSeparator||","}add(t,n){this.formats[t.toLowerCase().trim()]=n}addCached(t,n){this.formats[t.toLowerCase().trim()]=Xt(n)}format(t,n,r){let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const s=n.split(this.formatSeparator);if(s.length>1&&s[0].indexOf("(")>1&&s[0].indexOf(")")<0&&s.find(l=>l.indexOf(")")>-1)){const l=s.findIndex(a=>a.indexOf(")")>-1);s[0]=[s[0],...s.splice(1,l)].join(this.formatSeparator)}return s.reduce((l,a)=>{const{formatName:c,formatOptions:f}=Kg(a);if(this.formats[c]){let p=l;try{const d=i&&i.formatParams&&i.formatParams[i.interpolationkey]||{},v=d.locale||d.lng||i.locale||i.lng||r;p=this.formats[c](l,v,{...f,...i,...d})}catch(d){this.logger.warn(d)}return p}else this.logger.warn(`there was no format function for ${c}`);return l},t)}}const Yg=(e,t)=>{e.pending[t]!==void 0&&(delete e.pending[t],e.pendingCount--)};class Jg extends es{constructor(t,n,r){let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};super(),this.backend=t,this.store=n,this.services=r,this.languageUtils=r.languageUtils,this.options=i,this.logger=He.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=i.maxParallelReads||10,this.readingCalls=0,this.maxRetries=i.maxRetries>=0?i.maxRetries:5,this.retryTimeout=i.retryTimeout>=1?i.retryTimeout:350,this.state={},this.queue=[],this.backend&&this.backend.init&&this.backend.init(r,i.backend,i)}queueLoad(t,n,r,i){const s={},o={},l={},a={};return t.forEach(c=>{let f=!0;n.forEach(p=>{const d=`${c}|${p}`;!r.reload&&this.store.hasResourceBundle(c,p)?this.state[d]=2:this.state[d]<0||(this.state[d]===1?o[d]===void 0&&(o[d]=!0):(this.state[d]=1,f=!1,o[d]===void 0&&(o[d]=!0),s[d]===void 0&&(s[d]=!0),a[p]===void 0&&(a[p]=!0)))}),f||(l[c]=!0)}),(Object.keys(s).length||Object.keys(o).length)&&this.queue.push({pending:o,pendingCount:Object.keys(o).length,loaded:{},errors:[],callback:i}),{toLoad:Object.keys(s),pending:Object.keys(o),toLoadLanguages:Object.keys(l),toLoadNamespaces:Object.keys(a)}}loaded(t,n,r){const i=t.split("|"),s=i[0],o=i[1];n&&this.emit("failedLoading",s,o,n),!n&&r&&this.store.addResourceBundle(s,o,r,void 0,void 0,{skipCopy:!0}),this.state[t]=n?-1:2,n&&r&&(this.state[t]=0);const l={};this.queue.forEach(a=>{Og(a.loaded,[s],o),Yg(a,t),n&&a.errors.push(n),a.pendingCount===0&&!a.done&&(Object.keys(a.loaded).forEach(c=>{l[c]||(l[c]={});const f=a.loaded[c];f.length&&f.forEach(p=>{l[c][p]===void 0&&(l[c][p]=!0)})}),a.done=!0,a.errors.length?a.callback(a.errors):a.callback())}),this.emit("loaded",l),this.queue=this.queue.filter(a=>!a.done)}read(t,n,r){let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,s=arguments.length>4&&arguments[4]!==void 0?arguments[4]:this.retryTimeout,o=arguments.length>5?arguments[5]:void 0;if(!t.length)return o(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:t,ns:n,fcName:r,tried:i,wait:s,callback:o});return}this.readingCalls++;const l=(c,f)=>{if(this.readingCalls--,this.waitingReads.length>0){const p=this.waitingReads.shift();this.read(p.lng,p.ns,p.fcName,p.tried,p.wait,p.callback)}if(c&&f&&i {this.read.call(this,t,n,r,i+1,s*2,o)},s);return}o(c,f)},a=this.backend[r].bind(this.backend);if(a.length===2){try{const c=a(t,n);c&&typeof c.then=="function"?c.then(f=>l(null,f)).catch(l):l(null,c)}catch(c){l(c)}return}return a(t,n,l)}prepareLoading(t,n){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},i=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),i&&i();R(t)&&(t=this.languageUtils.toResolveHierarchy(t)),R(n)&&(n=[n]);const s=this.queueLoad(t,n,r,i);if(!s.toLoad.length)return s.pending.length||i(),null;s.toLoad.forEach(o=>{this.loadOne(o)})}load(t,n,r){this.prepareLoading(t,n,{},r)}reload(t,n,r){this.prepareLoading(t,n,{reload:!0},r)}loadOne(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";const r=t.split("|"),i=r[0],s=r[1];this.read(i,s,"read",void 0,void 0,(o,l)=>{o&&this.logger.warn(`${n}loading namespace ${s} for language ${i} failed`,o),!o&&l&&this.logger.log(`${n}loaded namespace ${s} for language ${i}`,l),this.loaded(t,o,l)})}saveMissing(t,n,r,i,s){let o=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{},l=arguments.length>6&&arguments[6]!==void 0?arguments[6]:()=>{};if(this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(n)){this.logger.warn(`did not save key "${r}" as the namespace "${n}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");return}if(!(r==null||r==="")){if(this.backend&&this.backend.create){const a={...o,isUpdate:s},c=this.backend.create.bind(this.backend);if(c.length<6)try{let f;c.length===5?f=c(t,n,r,i,a):f=c(t,n,r,i),f&&typeof f.then=="function"?f.then(p=>l(null,p)).catch(l):l(null,f)}catch(f){l(f)}else c(t,n,r,i,l,a)}!t||!t[0]||this.store.addResource(t[0],n,r,i)}}}const ru=()=>({debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:e=>{let t={};if(typeof e[1]=="object"&&(t=e[1]),R(e[1])&&(t.defaultValue=e[1]),R(e[2])&&(t.tDescription=e[2]),typeof e[2]=="object"||typeof e[3]=="object"){const n=e[3]||e[2];Object.keys(n).forEach(r=>{t[r]=n[r]})}return t},interpolation:{escapeValue:!0,format:e=>e,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}),iu=e=>(R(e.ns)&&(e.ns=[e.ns]),R(e.fallbackLng)&&(e.fallbackLng=[e.fallbackLng]),R(e.fallbackNS)&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs&&e.supportedLngs.indexOf("cimode")<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),e),Kr=()=>{},Gg=e=>{Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach(n=>{typeof e[n]=="function"&&(e[n]=e[n].bind(e))})};class xr extends es{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;if(super(),this.options=iu(t),this.services={},this.logger=He,this.modules={external:[]},Gg(this),n&&!this.isInitialized&&!t.isClone){if(!this.options.initImmediate)return this.init(t,n),this;setTimeout(()=>{this.init(t,n)},0)}}init(){var t=this;let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0;this.isInitializing=!0,typeof n=="function"&&(r=n,n={}),!n.defaultNS&&n.defaultNS!==!1&&n.ns&&(R(n.ns)?n.defaultNS=n.ns:n.ns.indexOf("translation")<0&&(n.defaultNS=n.ns[0]));const i=ru();this.options={...i,...this.options,...iu(n)},this.options.compatibilityAPI!=="v1"&&(this.options.interpolation={...i.interpolation,...this.options.interpolation}),n.keySeparator!==void 0&&(this.options.userDefinedKeySeparator=n.keySeparator),n.nsSeparator!==void 0&&(this.options.userDefinedNsSeparator=n.nsSeparator);const s=f=>f?typeof f=="function"?new f:f:null;if(!this.options.isClone){this.modules.logger?He.init(s(this.modules.logger),this.options):He.init(null,this.options);let f;this.modules.formatter?f=this.modules.formatter:typeof Intl<"u"&&(f=Qg);const p=new eu(this.options);this.store=new Xa(this.options.resources,this.options);const d=this.services;d.logger=He,d.resourceStore=this.store,d.languageUtils=p,d.pluralResolver=new Hg(p,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),f&&(!this.options.interpolation.format||this.options.interpolation.format===i.interpolation.format)&&(d.formatter=s(f),d.formatter.init(d,this.options),this.options.interpolation.format=d.formatter.format.bind(d.formatter)),d.interpolator=new Wg(this.options),d.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},d.backendConnector=new Jg(s(this.modules.backend),d.resourceStore,d,this.options),d.backendConnector.on("*",function(v){for(var x=arguments.length,w=new Array(x>1?x-1:0),N=1;N 1?x-1:0),N=1;N {v.init&&v.init(this)})}if(this.format=this.options.interpolation.format,r||(r=Kr),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){const f=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);f.length>0&&f[0]!=="dev"&&(this.options.lng=f[0])}!this.services.languageDetector&&!this.options.lng&&this.logger.warn("init: no languageDetector is used and no lng is defined"),["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach(f=>{this[f]=function(){return t.store[f](...arguments)}}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(f=>{this[f]=function(){return t.store[f](...arguments),t}});const a=_n(),c=()=>{const f=(p,d)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn("init: i18next is already initialized. You should call init just once!"),this.isInitialized=!0,this.options.isClone||this.logger.log("initialized",this.options),this.emit("initialized",this.options),a.resolve(d),r(p,d)};if(this.languages&&this.options.compatibilityAPI!=="v1"&&!this.isInitialized)return f(null,this.t.bind(this));this.changeLanguage(this.options.lng,f)};return this.options.resources||!this.options.initImmediate?c():setTimeout(c,0),a}loadResources(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Kr;const i=R(t)?t:this.language;if(typeof t=="function"&&(r=t),!this.options.resources||this.options.partialBundledLanguages){if(i&&i.toLowerCase()==="cimode"&&(!this.options.preload||this.options.preload.length===0))return r();const s=[],o=l=>{if(!l||l==="cimode")return;this.services.languageUtils.toResolveHierarchy(l).forEach(c=>{c!=="cimode"&&s.indexOf(c)<0&&s.push(c)})};i?o(i):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(a=>o(a)),this.options.preload&&this.options.preload.forEach(l=>o(l)),this.services.backendConnector.load(s,this.options.ns,l=>{!l&&!this.resolvedLanguage&&this.language&&this.setResolvedLanguage(this.language),r(l)})}else r(null)}reloadResources(t,n,r){const i=_n();return typeof t=="function"&&(r=t,t=void 0),typeof n=="function"&&(r=n,n=void 0),t||(t=this.languages),n||(n=this.options.ns),r||(r=Kr),this.services.backendConnector.reload(t,n,s=>{i.resolve(),r(s)}),i}use(t){if(!t)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!t.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return t.type==="backend"&&(this.modules.backend=t),(t.type==="logger"||t.log&&t.warn&&t.error)&&(this.modules.logger=t),t.type==="languageDetector"&&(this.modules.languageDetector=t),t.type==="i18nFormat"&&(this.modules.i18nFormat=t),t.type==="postProcessor"&&$d.addPostProcessor(t),t.type==="formatter"&&(this.modules.formatter=t),t.type==="3rdParty"&&this.modules.external.push(t),this}setResolvedLanguage(t){if(!(!t||!this.languages)&&!(["cimode","dev"].indexOf(t)>-1))for(let n=0;n -1)&&this.store.hasLanguageSomeTranslations(r)){this.resolvedLanguage=r;break}}}changeLanguage(t,n){var r=this;this.isLanguageChangingTo=t;const i=_n();this.emit("languageChanging",t);const s=a=>{this.language=a,this.languages=this.services.languageUtils.toResolveHierarchy(a),this.resolvedLanguage=void 0,this.setResolvedLanguage(a)},o=(a,c)=>{c?(s(c),this.translator.changeLanguage(c),this.isLanguageChangingTo=void 0,this.emit("languageChanged",c),this.logger.log("languageChanged",c)):this.isLanguageChangingTo=void 0,i.resolve(function(){return r.t(...arguments)}),n&&n(a,function(){return r.t(...arguments)})},l=a=>{!t&&!a&&this.services.languageDetector&&(a=[]);const c=R(a)?a:this.services.languageUtils.getBestMatchFromCodes(a);c&&(this.language||s(c),this.translator.language||this.translator.changeLanguage(c),this.services.languageDetector&&this.services.languageDetector.cacheUserLanguage&&this.services.languageDetector.cacheUserLanguage(c)),this.loadResources(c,f=>{o(f,c)})};return!t&&this.services.languageDetector&&!this.services.languageDetector.async?l(this.services.languageDetector.detect()):!t&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect.length===0?this.services.languageDetector.detect().then(l):this.services.languageDetector.detect(l):l(t),i}getFixedT(t,n,r){var i=this;const s=function(o,l){let a;if(typeof l!="object"){for(var c=arguments.length,f=new Array(c>2?c-2:0),p=2;p `${a.keyPrefix}${d}${x}`):v=a.keyPrefix?`${a.keyPrefix}${d}${o}`:o,i.t(v,a)};return R(t)?s.lng=t:s.lngs=t,s.ns=n,s.keyPrefix=r,s}t(){return this.translator&&this.translator.translate(...arguments)}exists(){return this.translator&&this.translator.exists(...arguments)}setDefaultNamespace(t){this.options.defaultNS=t}hasLoadedNamespace(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;const r=n.lng||this.resolvedLanguage||this.languages[0],i=this.options?this.options.fallbackLng:!1,s=this.languages[this.languages.length-1];if(r.toLowerCase()==="cimode")return!0;const o=(l,a)=>{const c=this.services.backendConnector.state[`${l}|${a}`];return c===-1||c===0||c===2};if(n.precheck){const l=n.precheck(this,o);if(l!==void 0)return l}return!!(this.hasResourceBundle(r,t)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||o(r,t)&&(!i||o(s,t)))}loadNamespaces(t,n){const r=_n();return this.options.ns?(R(t)&&(t=[t]),t.forEach(i=>{this.options.ns.indexOf(i)<0&&this.options.ns.push(i)}),this.loadResources(i=>{r.resolve(),n&&n(i)}),r):(n&&n(),Promise.resolve())}loadLanguages(t,n){const r=_n();R(t)&&(t=[t]);const i=this.options.preload||[],s=t.filter(o=>i.indexOf(o)<0&&this.services.languageUtils.isSupportedCode(o));return s.length?(this.options.preload=i.concat(s),this.loadResources(o=>{r.resolve(),n&&n(o)}),r):(n&&n(),Promise.resolve())}dir(t){if(t||(t=this.resolvedLanguage||(this.languages&&this.languages.length>0?this.languages[0]:this.language)),!t)return"rtl";const n=["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"],r=this.services&&this.services.languageUtils||new eu(ru());return n.indexOf(r.getLanguagePartFromCode(t))>-1||t.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return new xr(t,n)}cloneInstance(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Kr;const r=t.forkResourceStore;r&&delete t.forkResourceStore;const i={...this.options,...t,isClone:!0},s=new xr(i);return(t.debug!==void 0||t.prefix!==void 0)&&(s.logger=s.logger.clone(t)),["store","services","language"].forEach(l=>{s[l]=this[l]}),s.services={...this.services},s.services.utils={hasLoadedNamespace:s.hasLoadedNamespace.bind(s)},r&&(s.store=new Xa(this.store.data,i),s.services.resourceStore=s.store),s.translator=new Ii(s.services,i),s.translator.on("*",function(l){for(var a=arguments.length,c=new Array(a>1?a-1:0),f=1;f0){var l=i.maxAge-0;if(Number.isNaN(l))throw new Error("maxAge should be a Number");o+="; Max-Age=".concat(Math.floor(l))}if(i.domain){if(!su.test(i.domain))throw new TypeError("option domain is invalid");o+="; Domain=".concat(i.domain)}if(i.path){if(!su.test(i.path))throw new TypeError("option path is invalid");o+="; Path=".concat(i.path)}if(i.expires){if(typeof i.expires.toUTCString!="function")throw new TypeError("option expires is invalid");o+="; Expires=".concat(i.expires.toUTCString())}if(i.httpOnly&&(o+="; HttpOnly"),i.secure&&(o+="; Secure"),i.sameSite){var a=typeof i.sameSite=="string"?i.sameSite.toLowerCase():i.sameSite;switch(a){case!0:o+="; SameSite=Strict";break;case"lax":o+="; SameSite=Lax";break;case"strict":o+="; SameSite=Strict";break;case"none":o+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}}return o},ou={create:function(t,n,r,i){var s=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{path:"/",sameSite:"strict"};r&&(s.expires=new Date,s.expires.setTime(s.expires.getTime()+r*60*1e3)),i&&(s.domain=i),document.cookie=s0(t,encodeURIComponent(n),s)},read:function(t){for(var n="".concat(t,"="),r=document.cookie.split(";"),i=0;i -1&&(r=window.location.hash.substring(window.location.hash.indexOf("?")));for(var i=r.substring(1),s=i.split("&"),o=0;o 0){var a=s[o].substring(0,l);a===t.lookupQuerystring&&(n=s[o].substring(l+1))}}}return n}},Mn=null,lu=function(){if(Mn!==null)return Mn;try{Mn=window!=="undefined"&&window.localStorage!==null;var t="i18next.translate.boo";window.localStorage.setItem(t,"foo"),window.localStorage.removeItem(t)}catch{Mn=!1}return Mn},a0={name:"localStorage",lookup:function(t){var n;if(t.lookupLocalStorage&&lu()){var r=window.localStorage.getItem(t.lookupLocalStorage);r&&(n=r)}return n},cacheUserLanguage:function(t,n){n.lookupLocalStorage&&lu()&&window.localStorage.setItem(n.lookupLocalStorage,t)}},$n=null,au=function(){if($n!==null)return $n;try{$n=window!=="undefined"&&window.sessionStorage!==null;var t="i18next.translate.boo";window.sessionStorage.setItem(t,"foo"),window.sessionStorage.removeItem(t)}catch{$n=!1}return $n},u0={name:"sessionStorage",lookup:function(t){var n;if(t.lookupSessionStorage&&au()){var r=window.sessionStorage.getItem(t.lookupSessionStorage);r&&(n=r)}return n},cacheUserLanguage:function(t,n){n.lookupSessionStorage&&au()&&window.sessionStorage.setItem(n.lookupSessionStorage,t)}},c0={name:"navigator",lookup:function(t){var n=[];if(typeof navigator<"u"){if(navigator.languages)for(var r=0;r 0?n:void 0}},d0={name:"htmlTag",lookup:function(t){var n,r=t.htmlTag||(typeof document<"u"?document.documentElement:null);return r&&typeof r.getAttribute=="function"&&(n=r.getAttribute("lang")),n}},f0={name:"path",lookup:function(t){var n;if(typeof window<"u"){var r=window.location.pathname.match(/\/([a-zA-Z-]*)/g);if(r instanceof Array)if(typeof t.lookupFromPathIndex=="number"){if(typeof r[t.lookupFromPathIndex]!="string")return;n=r[t.lookupFromPathIndex].replace("/","")}else n=r[0].replace("/","")}return n}},p0={name:"subdomain",lookup:function(t){var n=typeof t.lookupFromSubdomainIndex=="number"?t.lookupFromSubdomainIndex+1:1,r=typeof window<"u"&&window.location&&window.location.hostname&&window.location.hostname.match(/^(\w{2,5})\.(([a-z0-9-]{1,63}\.[a-z]{2,6})|localhost)/i);if(r)return r[n]}},Ad=!1;try{document.cookie,Ad=!0}catch{}var Vd=["querystring","cookie","localStorage","sessionStorage","navigator","htmlTag"];Ad||Vd.splice(1,1);function h0(){return{order:Vd,lookupQuerystring:"lng",lookupCookie:"i18next",lookupLocalStorage:"i18nextLng",lookupSessionStorage:"i18nextLng",caches:["localStorage"],excludeCacheFor:["cimode"],convertDetectedLanguage:function(t){return t}}}var Bd=function(){function e(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};qg(this,e),this.type="languageDetector",this.detectors={},this.init(t,n)}return t0(e,[{key:"init",value:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};this.services=n||{languageUtils:{}},this.options=i0(r,this.options||{},h0()),typeof this.options.convertDetectedLanguage=="string"&&this.options.convertDetectedLanguage.indexOf("15897")>-1&&(this.options.convertDetectedLanguage=function(s){return s.replace("-","_")}),this.options.lookupFromUrlIndex&&(this.options.lookupFromPathIndex=this.options.lookupFromUrlIndex),this.i18nOptions=i,this.addDetector(o0),this.addDetector(l0),this.addDetector(a0),this.addDetector(u0),this.addDetector(c0),this.addDetector(d0),this.addDetector(f0),this.addDetector(p0)}},{key:"addDetector",value:function(n){return this.detectors[n.name]=n,this}},{key:"detect",value:function(n){var r=this;n||(n=this.options.order);var i=[];return n.forEach(function(s){if(r.detectors[s]){var o=r.detectors[s].lookup(r.options);o&&typeof o=="string"&&(o=[o]),o&&(i=i.concat(o))}}),i=i.map(function(s){return r.options.convertDetectedLanguage(s)}),this.services.languageUtils.getBestMatchFromCodes?i:i.length>0?i[0]:null}},{key:"cacheUserLanguage",value:function(n,r){var i=this;r||(r=this.options.caches),r&&(this.options.excludeCacheFor&&this.options.excludeCacheFor.indexOf(n)>-1||r.forEach(function(s){i.detectors[s]&&i.detectors[s].cacheUserLanguage(n,i.options)}))}}])}();Bd.type="languageDetector";const m0={features:"Features",tutorials:"Tutorials",signIn:"Sign In"},g0={title:"Create stunning videos for social media",description:"Transform your content with our powerful online editor. Add effects, subtitles, music, and more to create viral-worthy videos for TikTok, Instagram, YouTube, and other platforms. Always free, with support for up to 8K resolution!",startCreating:"Start Creating",createFor:"Create content for:"},v0={select:"Select Language"},y0={title:"Powerful Editing Tools",description:"Everything you need to create professional-quality videos that stand out on any social media platform.",effects:"Stunning Effects",effectsDesc:"Apply beautiful effects, filters, and transitions to make your videos pop.",overlays:"Image Overlays",overlaysDesc:"Add images, stickers, and GIFs to create engaging visual content.",subtitles:"Auto Subtitles",subtitlesDesc:"Generate and customize captions for accessibility and engagement.",music:"Music Library",musicDesc:"Add trending music and sound effects from our extensive library.",format:"Multi-format",formatDesc:"Create content for all platforms in vertical, horizontal, or square formats.",export:"HD Export",exportDesc:"Download your creations in high definition for professional quality.",mashups:"Video Mashups",mashupsDesc:"Create reactions, duets, and multi-video compositions easily.",processing:"Fast Processing",processingDesc:"Our cloud-based engine renders your creations quickly and efficiently.",createWithoutLimits:"Create Without Limits",createWithoutLimitsDesc:"Our intuitive editor makes it easy to create professional videos even if you have no experience.",formatVersatility:"Format Versatility",formatVersatilityDesc:"Create videos in any format required by today's top platforms:",verticalVideos:"Vertical videos for TikTok, Instagram Reels & Stories",horizontalVideos:"Horizontal videos for YouTube and Facebook",squareFormat:"Square format for Instagram posts",customAspectRatios:"Custom aspect ratios for any platform",highQualityOutput:"High-Quality Output",highQualityOutputDesc:"Download your creations in professional quality:",fullHD:"Full HD 1080p resolution",resolution4K:"4K and 8K resolution support",optimizedFiles:"Optimized file sizes for quick uploads",multipleFormats:"Multiple export formats (MP4, MOV, etc.)"},x0={nav:m0,hero:g0,language:v0,features:y0},w0={features:"Возможности",tutorials:"Уроки",signIn:"Войти"},S0={title:"Создавайте потрясающие видео для соцсетей",description:"Преобразите свой контент с помощью нашего мощного онлайн-редактора. Добавляйте эффекты, субтитры, музыку и многое другое для создания вирусных видео для TikTok, Instagram, YouTube и других платформ. Всегда бесплатно, с поддержкой разрешения до 8K!",startCreating:"Начать создание",createFor:"Создавайте контент для:"},k0={select:"Выбрать язык"},N0={title:"Мощные инструменты редактирования",description:"Всё необходимое для создания профессиональных видео, которые выделяются в социальных сетях.",effects:"Потрясающие эффекты",effectsDesc:"Применяйте красивые эффекты, фильтры и переходы, чтобы ваши видео выделялись.",overlays:"Наложение изображений",overlaysDesc:"Добавляйте изображения, стикеры и GIF для создания привлекательного контента.",subtitles:"Автоматические субтитры",subtitlesDesc:"Создавайте и настраивайте субтитры для доступности и вовлечения.",music:"Библиотека музыки",musicDesc:"Добавляйте популярную музыку и звуковые эффекты из нашей обширной библиотеки.",format:"Мультиформат",formatDesc:"Создавайте контент для всех платформ в вертикальном, горизонтальном или квадратном форматах.",export:"HD экспорт",exportDesc:"Скачивайте ваши работы в высоком качестве для профессионального результата.",mashups:"Видео-мэшапы",mashupsDesc:"Легко создавайте реакции, дуэты и многовидеокомпозиции.",processing:"Быстрая обработка",processingDesc:"Наш облачный движок быстро и эффективно обрабатывает ваши работы.",createWithoutLimits:"Творите без ограничений",createWithoutLimitsDesc:"Наш интуитивный редактор позволяет легко создавать профессиональные видео даже без опыта.",formatVersatility:"Гибкость форматов",formatVersatilityDesc:"Создавайте видео в любом формате для современных платформ:",verticalVideos:"Вертикальные видео для TikTok, Instagram Reels и Stories",horizontalVideos:"Горизонтальные видео для YouTube и Facebook",squareFormat:"Квадратный формат для постов в Instagram",customAspectRatios:"Пользовательские пропорции для любой платформы",highQualityOutput:"Высокое качество экспорта",highQualityOutputDesc:"Скачивайте ваши работы в профессиональном качестве:",fullHD:"Разрешение Full HD 1080p",resolution4K:"Поддержка разрешения 4K и 8K",optimizedFiles:"Оптимизированные размеры файлов для быстрой загрузки",multipleFormats:"Различные форматы экспорта (MP4, MOV и др.)"},E0={nav:w0,hero:S0,language:k0,features:N0},j0={features:"Funktionen",tutorials:"Tutorials",signIn:"Anmelden"},C0={title:"Erstellen Sie beeindruckende Videos für soziale Medien",description:"Transformieren Sie Ihren Content mit unserem leistungsstarken Online-Editor. Fügen Sie Effekte, Untertitel, Musik und mehr hinzu, um virale Videos für TikTok, Instagram, YouTube und andere Plattformen zu erstellen. Immer kostenlos, mit Unterstützung für bis zu 8K Auflösung!",startCreating:"Jetzt erstellen",createFor:"Erstellen Sie Inhalte für:"},F0={select:"Sprache wählen"},P0={title:"Leistungsstarke Bearbeitungswerkzeuge",description:"Alles, was Sie brauchen, um professionelle Videos zu erstellen, die sich in sozialen Medien abheben.",effects:"Beeindruckende Effekte",effectsDesc:"Wenden Sie schöne Effekte, Filter und Übergänge an, um Ihre Videos hervorzuheben.",overlays:"Bildüberlagerungen",overlaysDesc:"Fügen Sie Bilder, Sticker und GIFs hinzu, um ansprechende Inhalte zu erstellen.",subtitles:"Auto-Untertitel",subtitlesDesc:"Generieren und passen Sie Untertitel für Zugänglichkeit und Engagement an.",music:"Musikbibliothek",musicDesc:"Fügen Sie trendige Musik und Soundeffekte aus unserer umfangreichen Bibliothek hinzu.",format:"Multi-Format",formatDesc:"Erstellen Sie Inhalte für alle Plattformen in vertikalen, horizontalen oder quadratischen Formaten.",export:"HD-Export",exportDesc:"Laden Sie Ihre Kreationen in hoher Auflösung für professionelle Qualität herunter.",mashups:"Video-Mashups",mashupsDesc:"Erstellen Sie einfach Reaktionen, Duette und Multi-Video-Kompositionen.",processing:"Schnelle Verarbeitung",processingDesc:"Unsere Cloud-basierte Engine rendert Ihre Kreationen schnell und effizient.",createWithoutLimits:"Kreieren Sie ohne Grenzen",createWithoutLimitsDesc:"Unser intuitiver Editor macht es einfach, professionelle Videos zu erstellen, auch ohne Erfahrung.",formatVersatility:"Format-Vielseitigkeit",formatVersatilityDesc:"Erstellen Sie Videos in jedem Format für aktuelle Plattformen:",verticalVideos:"Vertikale Videos für TikTok, Instagram Reels & Stories",horizontalVideos:"Horizontale Videos für YouTube und Facebook",squareFormat:"Quadratisches Format für Instagram-Posts",customAspectRatios:"Benutzerdefinierte Seitenverhältnisse für jede Plattform",highQualityOutput:"Hochwertige Ausgabe",highQualityOutputDesc:"Laden Sie Ihre Kreationen in professioneller Qualität herunter:",fullHD:"Full HD 1080p Auflösung",resolution4K:"4K und 8K Auflösungsunterstützung",optimizedFiles:"Optimierte Dateigröße für schnelles Hochladen",multipleFormats:"Mehrere Exportformate (MP4, MOV, etc.)"},L0={nav:j0,hero:C0,language:F0,features:P0},O0={features:"विशेषताएं",tutorials:"ट्यूटोरियल",signIn:"साइन इन करें"},R0={title:"सोशल मीडिया के लिए आकर्षक वीडियो बनाएं",description:"हमारे शक्तिशाली ऑनलाइन एडिटर के साथ अपनी सामग्री को बदलें। TikTok, Instagram, YouTube और अन्य प्लेटफॉर्म के लिए वायरल वीडियो बनाने के लिए प्रभाव, उपशीर्षक, संगीत और बहुत कुछ जोड़ें। हमेशा मुफ्त, 8K रिज़ॉल्यूशन के साथ!",startCreating:"बनाना शुरू करें",createFor:"इनके लिए कंटेंट बनाएं:"},T0={select:"भाषा चुनें"},b0={title:"शक्तिशाली संपादन उपकरण",description:"सोशल मीडिया पर अलग दिखने वाले पेशेवर-गुणवत्ता वाले वीडियो बनाने के लिए आवश्यक सब कुछ।",effects:"आकर्षक प्रभाव",effectsDesc:"अपने वीडियो को आकर्षक बनाने के लिए सुंदर प्रभाव, फ़िल्टर और ट्रांज़िशन लागू करें।",overlays:"छवि ओवरले",overlaysDesc:"आकर्षक विजुअल कंटेंट बनाने के लिए छवियां, स्टिकर और GIF जोड़ें।",subtitles:"स्वचालित उपशीर्षक",subtitlesDesc:"पहुंच और जुड़ाव के लिए कैप्शन जनरेट और कस्टमाइज़ करें।",music:"संगीत लाइब्रेरी",musicDesc:"हमारी विस्तृत लाइब्रेरी से ट्रेंडिंग संगीत और ध्वनि प्रभाव जोड़ें।",format:"मल्टी-फॉर्मेट",formatDesc:"सभी प्लेटफ़ॉर्म के लिए वर्टिकल, हॉरिज़ॉन्टल या स्क्वायर फॉर्मेट में कंटेंट बनाएं।",export:"HD एक्सपोर्ट",exportDesc:"पेशेवर गुणवत्ता के लिए अपनी रचनाएं उच्च परिभाषा में डाउनलोड करें।",mashups:"वीडियो मैशअप",mashupsDesc:"आसानी से प्रतिक्रियाएं, डुएट और मल्टी-वीडियो कंपोजिशन बनाएं।",processing:"तेज प्रोसेसिंग",processingDesc:"हमारा क्लाउड-आधारित इंजन आपकी रचनाओं को तेजी और कुशलता से रेंडर करता है।",createWithoutLimits:"बिना सीमाओं के बनाएं",createWithoutLimitsDesc:"हमारा सहज एडिटर बिना किसी अनुभव के भी पेशेवर वीडियो बनाना आसान बनाता है।",formatVersatility:"फॉर्मेट बहुमुखी प्रतिभा",formatVersatilityDesc:"आज की सभी प्लेटफॉर्म के लिए किसी भी फॉर्मेट में वीडियो बनाएं:",verticalVideos:"TikTok, Instagram Reels और Stories के लिए वर्टिकल वीडियो",horizontalVideos:"YouTube और Facebook के लिए हॉरिज़ॉन्टल वीडियो",squareFormat:"Instagram पोस्ट के लिए स्क्वायर फॉर्मेट",customAspectRatios:"किसी भी प्लेटफॉर्म के लिए कस्टम आस्पेक्ट अनुपात",highQualityOutput:"उच्च गुणवत्ता आउटपुट",highQualityOutputDesc:"अपनी रचनाओं को पेशेवर गुणवत्ता में डाउनलोड करें:",fullHD:"फुल HD 1080p रिज़ॉल्यूशन",resolution4K:"4K और 8K रिज़ॉल्यूशन समर्थन",optimizedFiles:"त्वरित अपलोड के लिए अनुकूलित फ़ाइल आकार",multipleFormats:"कई एक्सपोर्ट फॉर्मेट (MP4, MOV, आदि)"},I0={nav:O0,hero:R0,language:T0,features:b0};ue.use(Bd).use(Jm).init({resources:{en:{translation:x0},ru:{translation:E0},de:{translation:L0},hi:{translation:I0}},fallbackLng:"en",debug:!0,interpolation:{escapeValue:!1},detection:{order:["localStorage","navigator"],caches:["localStorage"]}});Sd(document.getElementById("root")).render(u.jsx(E.StrictMode,{children:u.jsx(Fg,{})})); diff --git a/sni-templates/convertit/assets/style.css b/sni-templates/convertit/assets/style.css new file mode 100644 index 0000000..7dbeeb0 --- /dev/null +++ b/sni-templates/convertit/assets/style.css @@ -0,0 +1 @@ +*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}.container{width:100%}@media (min-width: 640px){.container{max-width:640px}}@media (min-width: 768px){.container{max-width:768px}}@media (min-width: 1024px){.container{max-width:1024px}}@media (min-width: 1280px){.container{max-width:1280px}}@media (min-width: 1536px){.container{max-width:1536px}}.pointer-events-none{pointer-events:none}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.inset-0{top:0;right:0;bottom:0;left:0}.inset-y-0{top:0;bottom:0}.-bottom-10{bottom:-2.5rem}.-bottom-20{bottom:-5rem}.-left-20{left:-5rem}.-left-8{left:-2rem}.-right-10{right:-2.5rem}.-right-24{right:-6rem}.-top-10{top:-2.5rem}.-top-8{top:-2rem}.bottom-0{bottom:0}.bottom-2{bottom:.5rem}.left-0{left:0}.left-1\/4{left:25%}.left-4{left:1rem}.right-0{right:0}.right-1\/4{right:25%}.right-2{right:.5rem}.right-4{right:1rem}.top-0{top:0}.top-1\/2{top:50%}.top-1\/3{top:33.333333%}.-z-10{z-index:-10}.z-0{z-index:0}.z-10{z-index:10}.z-20{z-index:20}.z-50{z-index:50}.mx-auto{margin-left:auto;margin-right:auto}.mb-1{margin-bottom:.25rem}.mb-10{margin-bottom:2.5rem}.mb-12{margin-bottom:3rem}.mb-16{margin-bottom:4rem}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.mb-6{margin-bottom:1.5rem}.mb-8{margin-bottom:2rem}.mt-0\.5{margin-top:.125rem}.mt-16{margin-top:4rem}.mt-2{margin-top:.5rem}.mt-4{margin-top:1rem}.mt-6{margin-top:1.5rem}.block{display:block}.flex{display:flex}.grid{display:grid}.hidden{display:none}.aspect-video{aspect-ratio:16 / 9}.h-10{height:2.5rem}.h-12{height:3rem}.h-2{height:.5rem}.h-28{height:7rem}.h-32{height:8rem}.h-4{height:1rem}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-64{height:16rem}.h-72{height:18rem}.h-8{height:2rem}.h-80{height:20rem}.h-full{height:100%}.min-h-screen{min-height:100vh}.w-10{width:2.5rem}.w-12{width:3rem}.w-2{width:.5rem}.w-28{width:7rem}.w-32{width:8rem}.w-4{width:1rem}.w-48{width:12rem}.w-5{width:1.25rem}.w-6{width:1.5rem}.w-64{width:16rem}.w-72{width:18rem}.w-8{width:2rem}.w-80{width:20rem}.w-full{width:100%}.max-w-2xl{max-width:42rem}.max-w-3xl{max-width:48rem}.max-w-4xl{max-width:56rem}.max-w-6xl{max-width:72rem}.max-w-md{max-width:28rem}.max-w-none{max-width:none}.max-w-xs{max-width:20rem}.flex-shrink-0{flex-shrink:0}.grow{flex-grow:1}.-translate-y-1\/2{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-rotate-2{--tw-rotate: -2deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-rotate-6{--tw-rotate: -6deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-6{--tw-rotate: 6deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.cursor-not-allowed{cursor:not-allowed}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-start{align-items:flex-start}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-12{gap:3rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-6{gap:1.5rem}.gap-8{gap:2rem}.space-y-3>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.75rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.75rem * var(--tw-space-y-reverse))}.space-y-5>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1.25rem * var(--tw-space-y-reverse))}.space-y-6>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1.5rem * var(--tw-space-y-reverse))}.space-y-8>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(2rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(2rem * var(--tw-space-y-reverse))}.overflow-hidden{overflow:hidden}.rounded{border-radius:.25rem}.rounded-2xl{border-radius:1rem}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-xl{border-radius:.75rem}.border{border-width:1px}.border-2{border-width:2px}.border-b{border-bottom-width:1px}.border-t{border-top-width:1px}.border-\[\#FF2E93\]{--tw-border-opacity: 1;border-color:rgb(255 46 147 / var(--tw-border-opacity))}.border-gray-700{--tw-border-opacity: 1;border-color:rgb(55 65 81 / var(--tw-border-opacity))}.border-gray-800{--tw-border-opacity: 1;border-color:rgb(31 41 55 / var(--tw-border-opacity))}.border-purple-500{--tw-border-opacity: 1;border-color:rgb(168 85 247 / var(--tw-border-opacity))}.border-purple-900\/20{border-color:#581c8733}.border-purple-900\/30{border-color:#581c874d}.border-red-500\/30{border-color:#ef44444d}.bg-\[\#0A0A14\]{--tw-bg-opacity: 1;background-color:rgb(10 10 20 / var(--tw-bg-opacity))}.bg-\[\#0F0F1A\]{--tw-bg-opacity: 1;background-color:rgb(15 15 26 / var(--tw-bg-opacity))}.bg-\[\#0F0F1A\]\/80{background-color:#0f0f1acc}.bg-\[\#1E1E32\]{--tw-bg-opacity: 1;background-color:rgb(30 30 50 / var(--tw-bg-opacity))}.bg-\[\#1E1E32\]\/70{background-color:#1e1e32b3}.bg-\[\#7E2EFF\]\/10{background-color:#7e2eff1a}.bg-\[\#7E2EFF\]\/20{background-color:#7e2eff33}.bg-\[\#FF2E93\]{--tw-bg-opacity: 1;background-color:rgb(255 46 147 / var(--tw-bg-opacity))}.bg-\[\#FF2E93\]\/10{background-color:#ff2e931a}.bg-\[\#FF2E93\]\/20{background-color:#ff2e9333}.bg-black\/70{background-color:#000000b3}.bg-black\/80{background-color:#000c}.bg-blue-500\/20{background-color:#3b82f633}.bg-gray-600{--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity))}.bg-gray-700{--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity))}.bg-gray-800\/50{background-color:#1f293780}.bg-green-500\/20{background-color:#22c55e33}.bg-red-900\/30{background-color:#7f1d1d4d}.bg-white\/10{background-color:#ffffff1a}.bg-yellow-500\/20{background-color:#eab30833}.bg-gradient-to-b{background-image:linear-gradient(to bottom,var(--tw-gradient-stops))}.bg-gradient-to-r{background-image:linear-gradient(to right,var(--tw-gradient-stops))}.bg-gradient-to-t{background-image:linear-gradient(to top,var(--tw-gradient-stops))}.from-\[\#0F0F1A\]{--tw-gradient-from: #0F0F1A var(--tw-gradient-from-position);--tw-gradient-to: rgb(15 15 26 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-\[\#1E1E32\]{--tw-gradient-from: #1E1E32 var(--tw-gradient-from-position);--tw-gradient-to: rgb(30 30 50 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-\[\#FF2E93\]{--tw-gradient-from: #FF2E93 var(--tw-gradient-from-position);--tw-gradient-to: rgb(255 46 147 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.via-transparent{--tw-gradient-to: rgb(0 0 0 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), transparent var(--tw-gradient-via-position), var(--tw-gradient-to)}.to-\[\#1A1A2E\]{--tw-gradient-to: #1A1A2E var(--tw-gradient-to-position)}.to-\[\#2A1E32\]{--tw-gradient-to: #2A1E32 var(--tw-gradient-to-position)}.to-\[\#7E2EFF\]{--tw-gradient-to: #7E2EFF var(--tw-gradient-to-position)}.to-transparent{--tw-gradient-to: transparent var(--tw-gradient-to-position)}.bg-clip-text{-webkit-background-clip:text;background-clip:text}.object-cover{-o-object-fit:cover;object-fit:cover}.p-3{padding:.75rem}.p-4{padding:1rem}.p-5{padding:1.25rem}.p-6{padding:1.5rem}.p-8{padding:2rem}.px-12{padding-left:3rem;padding-right:3rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-12{padding-top:3rem;padding-bottom:3rem}.py-16{padding-top:4rem;padding-bottom:4rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-4{padding-top:1rem;padding-bottom:1rem}.pl-10{padding-left:2.5rem}.pl-3{padding-left:.75rem}.pr-12{padding-right:3rem}.pt-8{padding-top:2rem}.text-left{text-align:left}.text-center{text-align:center}.text-2xl{font-size:1.5rem;line-height:2rem}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-4xl{font-size:2.25rem;line-height:2.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-semibold{font-weight:600}.leading-tight{line-height:1.25}.text-\[\#FF2E93\]{--tw-text-opacity: 1;color:rgb(255 46 147 / var(--tw-text-opacity))}.text-blue-400{--tw-text-opacity: 1;color:rgb(96 165 250 / var(--tw-text-opacity))}.text-gray-300{--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity))}.text-gray-400{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}.text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}.text-green-400{--tw-text-opacity: 1;color:rgb(74 222 128 / var(--tw-text-opacity))}.text-purple-400{--tw-text-opacity: 1;color:rgb(192 132 252 / var(--tw-text-opacity))}.text-red-200{--tw-text-opacity: 1;color:rgb(254 202 202 / var(--tw-text-opacity))}.text-red-400{--tw-text-opacity: 1;color:rgb(248 113 113 / var(--tw-text-opacity))}.text-transparent{color:transparent}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.text-yellow-400{--tw-text-opacity: 1;color:rgb(250 204 21 / var(--tw-text-opacity))}.placeholder-gray-500::-moz-placeholder{--tw-placeholder-opacity: 1;color:rgb(107 114 128 / var(--tw-placeholder-opacity))}.placeholder-gray-500::placeholder{--tw-placeholder-opacity: 1;color:rgb(107 114 128 / var(--tw-placeholder-opacity))}.opacity-50{opacity:.5}.opacity-70{opacity:.7}.shadow-2xl{--tw-shadow: 0 25px 50px -12px rgb(0 0 0 / .25);--tw-shadow-colored: 0 25px 50px -12px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-xl{--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.blur-3xl{--tw-blur: blur(64px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.backdrop-blur-md{--tw-backdrop-blur: blur(12px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.backdrop-blur-sm{--tw-backdrop-blur: blur(4px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-300{transition-duration:.3s}.duration-500{transition-duration:.5s}.duration-700{transition-duration:.7s}.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}.first\:rounded-t-lg:first-child{border-top-left-radius:.5rem;border-top-right-radius:.5rem}.last\:rounded-b-lg:last-child{border-bottom-right-radius:.5rem;border-bottom-left-radius:.5rem}.hover\:rotate-0:hover{--tw-rotate: 0deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\:scale-105:hover{--tw-scale-x: 1.05;--tw-scale-y: 1.05;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\:scale-110:hover{--tw-scale-x: 1.1;--tw-scale-y: 1.1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\:border-\[\#FF2E93\]:hover{--tw-border-opacity: 1;border-color:rgb(255 46 147 / var(--tw-border-opacity))}.hover\:bg-\[\#1E1E32\]:hover{--tw-bg-opacity: 1;background-color:rgb(30 30 50 / var(--tw-bg-opacity))}.hover\:bg-\[\#2A2A42\]:hover{--tw-bg-opacity: 1;background-color:rgb(42 42 66 / var(--tw-bg-opacity))}.hover\:bg-purple-500\/20:hover{background-color:#a855f733}.hover\:bg-white\/20:hover{background-color:#fff3}.hover\:text-\[\#7E2EFF\]:hover{--tw-text-opacity: 1;color:rgb(126 46 255 / var(--tw-text-opacity))}.hover\:text-\[\#FF2E93\]:hover{--tw-text-opacity: 1;color:rgb(255 46 147 / var(--tw-text-opacity))}.hover\:text-purple-300:hover{--tw-text-opacity: 1;color:rgb(216 180 254 / var(--tw-text-opacity))}.hover\:text-white:hover{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.hover\:opacity-90:hover{opacity:.9}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\:ring-2:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\:ring-\[\#FF2E93\]:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(255 46 147 / var(--tw-ring-opacity))}.focus\:ring-purple-500:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(168 85 247 / var(--tw-ring-opacity))}.group:hover .group-hover\:scale-105{--tw-scale-x: 1.05;--tw-scale-y: 1.05;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.group:hover .group-hover\:scale-110{--tw-scale-x: 1.1;--tw-scale-y: 1.1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@media (min-width: 640px){.sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.sm\:flex-row{flex-direction:row}}@media (min-width: 768px){.md\:mb-0{margin-bottom:0}.md\:inline{display:inline}.md\:flex{display:flex}.md\:h-36{height:9rem}.md\:h-40{height:10rem}.md\:w-1\/2{width:50%}.md\:w-36{width:9rem}.md\:w-40{width:10rem}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.md\:flex-row{flex-direction:row}.md\:items-start{align-items:flex-start}.md\:gap-12{gap:3rem}.md\:p-10{padding:2.5rem}.md\:py-24{padding-top:6rem;padding-bottom:6rem}.md\:text-left{text-align:left}.md\:text-3xl{font-size:1.875rem;line-height:2.25rem}.md\:text-4xl{font-size:2.25rem;line-height:2.5rem}.md\:text-5xl{font-size:3rem;line-height:1}}@media (min-width: 1024px){.lg\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.lg\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.lg\:text-6xl{font-size:3.75rem;line-height:1}} diff --git a/sni-templates/convertit/favicon-96x96.png b/sni-templates/convertit/favicon-96x96.png new file mode 100644 index 0000000..29f4383 Binary files /dev/null and b/sni-templates/convertit/favicon-96x96.png differ diff --git a/sni-templates/convertit/favicon.ico b/sni-templates/convertit/favicon.ico new file mode 100644 index 0000000..8a6de75 Binary files /dev/null and b/sni-templates/convertit/favicon.ico differ diff --git a/sni-templates/convertit/favicon.svg b/sni-templates/convertit/favicon.svg new file mode 100644 index 0000000..0ab122a --- /dev/null +++ b/sni-templates/convertit/favicon.svg @@ -0,0 +1,3 @@ + \ No newline at end of file diff --git a/sni-templates/convertit/index.html b/sni-templates/convertit/index.html new file mode 100644 index 0000000..79fdc47 --- /dev/null +++ b/sni-templates/convertit/index.html @@ -0,0 +1,19 @@ + + + + + + VidCraft - Modern Video Editor for Social Media + + + + + + + + + + + + + \ No newline at end of file diff --git a/sni-templates/convertit/site.webmanifest b/sni-templates/convertit/site.webmanifest new file mode 100644 index 0000000..ccf313a --- /dev/null +++ b/sni-templates/convertit/site.webmanifest @@ -0,0 +1,21 @@ +{ + "name": "MyWebSite", + "short_name": "MySite", + "icons": [ + { + "src": "/web-app-manifest-192x192.png", + "sizes": "192x192", + "type": "image/png", + "purpose": "maskable" + }, + { + "src": "/web-app-manifest-512x512.png", + "sizes": "512x512", + "type": "image/png", + "purpose": "maskable" + } + ], + "theme_color": "#ffffff", + "background_color": "#ffffff", + "display": "standalone" +} \ No newline at end of file diff --git a/sni-templates/convertit/web-app-manifest-192x192.png b/sni-templates/convertit/web-app-manifest-192x192.png new file mode 100644 index 0000000..12540e3 Binary files /dev/null and b/sni-templates/convertit/web-app-manifest-192x192.png differ diff --git a/sni-templates/convertit/web-app-manifest-512x512.png b/sni-templates/convertit/web-app-manifest-512x512.png new file mode 100644 index 0000000..9447fb4 Binary files /dev/null and b/sni-templates/convertit/web-app-manifest-512x512.png differ diff --git a/sni-templates/downloader/apple-touch-icon.png b/sni-templates/downloader/apple-touch-icon.png new file mode 100644 index 0000000..f2a13b9 Binary files /dev/null and b/sni-templates/downloader/apple-touch-icon.png differ diff --git a/sni-templates/downloader/assets/v1/js.js b/sni-templates/downloader/assets/v1/js.js new file mode 100644 index 0000000..d6eabe8 --- /dev/null +++ b/sni-templates/downloader/assets/v1/js.js @@ -0,0 +1,135 @@ +var sd=Object.defineProperty;var ad=(e,t,n)=>t in e?sd(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var ls=(e,t,n)=>ad(e,typeof t!="symbol"?t+"":t,n);(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const l of i)if(l.type==="childList")for(const o of l.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).observe(document,{childList:!0,subtree:!0});function n(i){const l={};return i.integrity&&(l.integrity=i.integrity),i.referrerPolicy&&(l.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?l.credentials="include":i.crossOrigin==="anonymous"?l.credentials="omit":l.credentials="same-origin",l}function r(i){if(i.ep)return;i.ep=!0;const l=n(i);fetch(i.href,l)}})();var Fa={exports:{}},Ni={},$a={exports:{}},D={};/** + * @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 hr=Symbol.for("react.element"),ud=Symbol.for("react.portal"),cd=Symbol.for("react.fragment"),dd=Symbol.for("react.strict_mode"),fd=Symbol.for("react.profiler"),pd=Symbol.for("react.provider"),hd=Symbol.for("react.context"),gd=Symbol.for("react.forward_ref"),md=Symbol.for("react.suspense"),vd=Symbol.for("react.memo"),yd=Symbol.for("react.lazy"),os=Symbol.iterator;function xd(e){return e===null||typeof e!="object"?null:(e=os&&e[os]||e["@@iterator"],typeof e=="function"?e:null)}var Ma={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Aa=Object.assign,Ua={};function Sn(e,t,n){this.props=e,this.context=t,this.refs=Ua,this.updater=n||Ma}Sn.prototype.isReactComponent={};Sn.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")};Sn.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Va(){}Va.prototype=Sn.prototype;function co(e,t,n){this.props=e,this.context=t,this.refs=Ua,this.updater=n||Ma}var fo=co.prototype=new Va;fo.constructor=co;Aa(fo,Sn.prototype);fo.isPureReactComponent=!0;var ss=Array.isArray,Ha=Object.prototype.hasOwnProperty,po={current:null},Ba={key:!0,ref:!0,__self:!0,__source:!0};function Ka(e,t,n){var r,i={},l=null,o=null;if(t!=null)for(r in t.ref!==void 0&&(o=t.ref),t.key!==void 0&&(l=""+t.key),t)Ha.call(t,r)&&!Ba.hasOwnProperty(r)&&(i[r]=t[r]);var s=arguments.length-2;if(s===1)i.children=n;else if(1>>1,U=E[P];if(0>>1;Pi(Pt,R))Xei(Wt,Pt)?(E[P]=Wt,E[Xe]=R,P=Xe):(E[P]=Pt,E[K]=R,P=K);else if(Xei(Wt,R))E[P]=Wt,E[Xe]=R,P=Xe;else break e}}return z}function i(E,z){var R=E.sortIndex-z.sortIndex;return R!==0?R:E.id-z.id}if(typeof performance=="object"&&typeof performance.now=="function"){var l=performance;e.unstable_now=function(){return l.now()}}else{var o=Date,s=o.now();e.unstable_now=function(){return o.now()-s}}var a=[],u=[],f=1,h=null,c=3,y=!1,x=!1,w=!1,O=typeof setTimeout=="function"?setTimeout:null,p=typeof clearTimeout=="function"?clearTimeout:null,d=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function m(E){for(var z=n(u);z!==null;){if(z.callback===null)r(u);else if(z.startTime<=E)r(u),z.sortIndex=z.expirationTime,t(a,z);else break;z=n(u)}}function v(E){if(w=!1,m(E),!x)if(n(a)!==null)x=!0,_e(S);else{var z=n(u);z!==null&&st(v,z.startTime-E)}}function S(E,z){x=!1,w&&(w=!1,p(L),L=-1),y=!0;var R=c;try{for(m(z),h=n(a);h!==null&&(!(h.expirationTime>z)||E&&!Z());){var P=h.callback;if(typeof P=="function"){h.callback=null,c=h.priorityLevel;var U=P(h.expirationTime<=z);z=e.unstable_now(),typeof U=="function"?h.callback=U:h===n(a)&&r(a),m(z)}else r(a);h=n(a)}if(h!==null)var Kt=!0;else{var K=n(u);K!==null&&st(v,K.startTime-z),Kt=!1}return Kt}finally{h=null,c=R,y=!1}}var C=!1,N=null,L=-1,A=5,_=-1;function Z(){return!(e.unstable_now()-_E||125 P?(E.sortIndex=R,t(u,E),n(a)===null&&E===n(u)&&(w?(p(L),L=-1):w=!0,st(v,R-P))):(E.sortIndex=U,t(a,E),x||y||(x=!0,_e(S))),E},e.unstable_shouldYield=Z,e.unstable_wrapCallback=function(E){var z=c;return function(){var R=c;c=z;try{return E.apply(this,arguments)}finally{c=R}}}})(Ja);Ya.exports=Ja;var zd=Ya.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 Rd=F,Ne=zd;function k(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n "u"||typeof window.document>"u"||typeof window.document.createElement>"u"),gl=Object.prototype.hasOwnProperty,Td=/^[: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]*$/,us={},cs={};function _d(e){return gl.call(cs,e)?!0:gl.call(us,e)?!1:Td.test(e)?cs[e]=!0:(us[e]=!0,!1)}function Dd(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function Id(e,t,n,r){if(t===null||typeof t>"u"||Dd(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.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 he(e,t,n,r,i,l,o){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=l,this.removeEmptyString=o}var ie={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){ie[e]=new he(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];ie[t]=new he(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){ie[e]=new he(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){ie[e]=new he(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){ie[e]=new he(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){ie[e]=new he(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){ie[e]=new he(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){ie[e]=new he(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){ie[e]=new he(e,5,!1,e.toLowerCase(),null,!1,!1)});var go=/[\-:]([a-z])/g;function mo(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(go,mo);ie[t]=new he(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(go,mo);ie[t]=new he(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(go,mo);ie[t]=new he(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){ie[e]=new he(e,1,!1,e.toLowerCase(),null,!1,!1)});ie.xlinkHref=new he("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){ie[e]=new he(e,1,!1,e.toLowerCase(),null,!0,!0)});function vo(e,t,n,r){var i=ie.hasOwnProperty(t)?ie[t]:null;(i!==null?i.type!==0:r||!(2 s||i[o]!==l[s]){var a=` +`+i[o].replace(" at new "," at ");return e.displayName&&a.includes(" ")&&(a=a.replace(" ",e.displayName)),a}while(1<=o&&0<=s);break}}}finally{Hi=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?In(e):""}function Fd(e){switch(e.tag){case 5:return In(e.type);case 16:return In("Lazy");case 13:return In("Suspense");case 19:return In("SuspenseList");case 0:case 2:case 15:return e=Bi(e.type,!1),e;case 11:return e=Bi(e.type.render,!1),e;case 1:return e=Bi(e.type,!0),e;default:return""}}function xl(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 Xt:return"Fragment";case Jt:return"Portal";case ml:return"Profiler";case yo:return"StrictMode";case vl:return"Suspense";case yl:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case qa:return(e.displayName||"Context")+".Consumer";case Za:return(e._context.displayName||"Context")+".Provider";case xo:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case wo:return t=e.displayName||null,t!==null?t:xl(e.type)||"Memo";case ut:t=e._payload,e=e._init;try{return xl(e(t))}catch{}}return null}function $d(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 xl(t);case 8:return t===yo?"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 Nt(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function eu(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Md(e){var t=eu(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var i=n.get,l=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(o){r=""+o,l.call(this,o)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(o){r=""+o},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Sr(e){e._valueTracker||(e._valueTracker=Md(e))}function tu(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=eu(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Jr(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 wl(e,t){var n=t.checked;return G({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function fs(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Nt(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function nu(e,t){t=t.checked,t!=null&&vo(e,"checked",t,!1)}function Sl(e,t){nu(e,t);var n=Nt(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?kl(e,t.type,n):t.hasOwnProperty("defaultValue")&&kl(e,t.type,Nt(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function ps(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function kl(e,t,n){(t!=="number"||Jr(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Fn=Array.isArray;function an(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i "+t.valueOf().toString()+"",t=kr.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Xn(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var An={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},Ad=["Webkit","ms","Moz","O"];Object.keys(An).forEach(function(e){Ad.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),An[t]=An[e]})});function ou(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||An.hasOwnProperty(e)&&An[e]?(""+t).trim():t+"px"}function su(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=ou(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var Ud=G({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 El(e,t){if(t){if(Ud[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(k(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(k(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(k(61))}if(t.style!=null&&typeof t.style!="object")throw Error(k(62))}}function jl(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 Ll=null;function So(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Pl=null,un=null,cn=null;function ms(e){if(e=vr(e)){if(typeof Pl!="function")throw Error(k(280));var t=e.stateNode;t&&(t=Pi(t),Pl(e.stateNode,e.type,t))}}function au(e){un?cn?cn.push(e):cn=[e]:un=e}function uu(){if(un){var e=un,t=cn;if(cn=un=null,ms(e),t)for(e=0;e >>=0,e===0?32:31-(Zd(e)/qd|0)|0}var Nr=64,Cr=4194304;function $n(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 br(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,i=e.suspendedLanes,l=e.pingedLanes,o=n&268435455;if(o!==0){var s=o&~i;s!==0?r=$n(s):(l&=o,l!==0&&(r=$n(l)))}else o=n&~i,o!==0?r=$n(o):l!==0&&(r=$n(l));if(r===0)return 0;if(t!==0&&t!==r&&!(t&i)&&(i=r&-r,l=t&-t,i>=l||i===16&&(l&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0 n;n++)t.push(e);return t}function gr(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Me(t),e[t]=n}function nf(e,t){var n=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 r=e.eventTimes;for(e=e.expirationTimes;0 =Vn),Es=" ",js=!1;function Ou(e,t){switch(e){case"keyup":return Rf.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function zu(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Zt=!1;function _f(e,t){switch(e){case"compositionend":return zu(t);case"keypress":return t.which!==32?null:(js=!0,Es);case"textInput":return e=t.data,e===Es&&js?null:e;default:return null}}function Df(e,t){if(Zt)return e==="compositionend"||!Oo&&Ou(e,t)?(e=Lu(),Ur=jo=pt=null,Zt=!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)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=zs(n)}}function Du(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Du(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Iu(){for(var e=window,t=Jr();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Jr(e.document)}return t}function zo(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 Bf(e){var t=Iu(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Du(n.ownerDocument.documentElement,n)){if(r!==null&&zo(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var i=n.textContent.length,l=Math.min(r.start,i);r=r.end===void 0?l:Math.min(r.end,i),!e.extend&&l>r&&(i=r,r=l,l=i),i=Rs(n,l);var o=Rs(n,r);i&&o&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==o.node||e.focusOffset!==o.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),l>r?(e.addRange(t),e.extend(o.node,o.offset)):(t.setEnd(o.node,o.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n =document.documentMode,qt=null,Dl=null,Bn=null,Il=!1;function Ts(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Il||qt==null||qt!==Jr(r)||(r=qt,"selectionStart"in r&&zo(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Bn&&nr(Bn,r)||(Bn=r,r=ni(Dl,"onSelect"),0 tn||(e.current=Vl[tn],Vl[tn]=null,tn--)}function M(e,t){tn++,Vl[tn]=e.current,e.current=t}var Ct={},ue=jt(Ct),ve=jt(!1),$t=Ct;function gn(e,t){var n=e.type.contextTypes;if(!n)return Ct;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},l;for(l in n)i[l]=t[l];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function ye(e){return e=e.childContextTypes,e!=null}function ii(){H(ve),H(ue)}function As(e,t,n){if(ue.current!==Ct)throw Error(k(168));M(ue,t),M(ve,n)}function Ku(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var i in r)if(!(i in t))throw Error(k(108,$d(e)||"Unknown",i));return G({},n,r)}function li(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Ct,$t=ue.current,M(ue,e),M(ve,ve.current),!0}function Us(e,t,n){var r=e.stateNode;if(!r)throw Error(k(169));n?(e=Ku(e,t,$t),r.__reactInternalMemoizedMergedChildContext=e,H(ve),H(ue),M(ue,e)):H(ve),M(ve,n)}var qe=null,Oi=!1,rl=!1;function Wu(e){qe===null?qe=[e]:qe.push(e)}function tp(e){Oi=!0,Wu(e)}function Lt(){if(!rl&&qe!==null){rl=!0;var e=0,t=$;try{var n=qe;for($=1;e >=o,i-=o,be=1<<32-Me(t)+i|n<L?(A=N,N=null):A=N.sibling;var _=c(p,N,m[L],v);if(_===null){N===null&&(N=A);break}e&&N&&_.alternate===null&&t(p,N),d=l(_,d,L),C===null?S=_:C.sibling=_,C=_,N=A}if(L===m.length)return n(p,N),B&&Ot(p,L),S;if(N===null){for(;L L?(A=N,N=null):A=N.sibling;var Z=c(p,N,_.value,v);if(Z===null){N===null&&(N=A);break}e&&N&&Z.alternate===null&&t(p,N),d=l(Z,d,L),C===null?S=Z:C.sibling=Z,C=Z,N=A}if(_.done)return n(p,N),B&&Ot(p,L),S;if(N===null){for(;!_.done;L++,_=m.next())_=h(p,_.value,v),_!==null&&(d=l(_,d,L),C===null?S=_:C.sibling=_,C=_);return B&&Ot(p,L),S}for(N=r(p,N);!_.done;L++,_=m.next())_=y(N,p,L,_.value,v),_!==null&&(e&&_.alternate!==null&&N.delete(_.key===null?L:_.key),d=l(_,d,L),C===null?S=_:C.sibling=_,C=_);return e&&N.forEach(function(Ye){return t(p,Ye)}),B&&Ot(p,L),S}function O(p,d,m,v){if(typeof m=="object"&&m!==null&&m.type===Xt&&m.key===null&&(m=m.props.children),typeof m=="object"&&m!==null){switch(m.$$typeof){case wr:e:{for(var S=m.key,C=d;C!==null;){if(C.key===S){if(S=m.type,S===Xt){if(C.tag===7){n(p,C.sibling),d=i(C,m.props.children),d.return=p,p=d;break e}}else if(C.elementType===S||typeof S=="object"&&S!==null&&S.$$typeof===ut&&Bs(S)===C.type){n(p,C.sibling),d=i(C,m.props),d.ref=On(p,C,m),d.return=p,p=d;break e}n(p,C);break}else t(p,C);C=C.sibling}m.type===Xt?(d=It(m.props.children,p.mode,v,m.key),d.return=p,p=d):(v=Yr(m.type,m.key,m.props,null,p.mode,v),v.ref=On(p,d,m),v.return=p,p=v)}return o(p);case Jt:e:{for(C=m.key;d!==null;){if(d.key===C)if(d.tag===4&&d.stateNode.containerInfo===m.containerInfo&&d.stateNode.implementation===m.implementation){n(p,d.sibling),d=i(d,m.children||[]),d.return=p,p=d;break e}else{n(p,d);break}else t(p,d);d=d.sibling}d=dl(m,p.mode,v),d.return=p,p=d}return o(p);case ut:return C=m._init,O(p,d,C(m._payload),v)}if(Fn(m))return x(p,d,m,v);if(Cn(m))return w(p,d,m,v);Rr(p,m)}return typeof m=="string"&&m!==""||typeof m=="number"?(m=""+m,d!==null&&d.tag===6?(n(p,d.sibling),d=i(d,m),d.return=p,p=d):(n(p,d),d=cl(m,p.mode,v),d.return=p,p=d),o(p)):n(p,d)}return O}var vn=Ju(!0),Xu=Ju(!1),ai=jt(null),ui=null,ln=null,Do=null;function Io(){Do=ln=ui=null}function Fo(e){var t=ai.current;H(ai),e._currentValue=t}function Kl(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function fn(e,t){ui=e,Do=ln=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(me=!0),e.firstContext=null)}function ze(e){var t=e._currentValue;if(Do!==e)if(e={context:e,memoizedValue:t,next:null},ln===null){if(ui===null)throw Error(k(308));ln=e,ui.dependencies={lanes:0,firstContext:e}}else ln=ln.next=e;return t}var Tt=null;function $o(e){Tt===null?Tt=[e]:Tt.push(e)}function Zu(e,t,n,r){var i=t.interleaved;return i===null?(n.next=n,$o(t)):(n.next=i.next,i.next=n),t.interleaved=n,it(e,r)}function it(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var ct=!1;function Mo(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function qu(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 tt(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function xt(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,I&2){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,it(e,n)}return i=r.interleaved,i===null?(t.next=t,$o(r)):(t.next=i.next,i.next=t),r.interleaved=t,it(e,n)}function Hr(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,No(e,n)}}function Ks(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var i=null,l=null;if(n=n.firstBaseUpdate,n!==null){do{var o={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};l===null?i=l=o:l=l.next=o,n=n.next}while(n!==null);l===null?i=l=t:l=l.next=t}else i=l=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:l,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function ci(e,t,n,r){var i=e.updateQueue;ct=!1;var l=i.firstBaseUpdate,o=i.lastBaseUpdate,s=i.shared.pending;if(s!==null){i.shared.pending=null;var a=s,u=a.next;a.next=null,o===null?l=u:o.next=u,o=a;var f=e.alternate;f!==null&&(f=f.updateQueue,s=f.lastBaseUpdate,s!==o&&(s===null?f.firstBaseUpdate=u:s.next=u,f.lastBaseUpdate=a))}if(l!==null){var h=i.baseState;o=0,f=u=a=null,s=l;do{var c=s.lane,y=s.eventTime;if((r&c)===c){f!==null&&(f=f.next={eventTime:y,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});e:{var x=e,w=s;switch(c=t,y=n,w.tag){case 1:if(x=w.payload,typeof x=="function"){h=x.call(y,h,c);break e}h=x;break e;case 3:x.flags=x.flags&-65537|128;case 0:if(x=w.payload,c=typeof x=="function"?x.call(y,h,c):x,c==null)break e;h=G({},h,c);break e;case 2:ct=!0}}s.callback!==null&&s.lane!==0&&(e.flags|=64,c=i.effects,c===null?i.effects=[s]:c.push(s))}else y={eventTime:y,lane:c,tag:s.tag,payload:s.payload,callback:s.callback,next:null},f===null?(u=f=y,a=h):f=f.next=y,o|=c;if(s=s.next,s===null){if(s=i.shared.pending,s===null)break;c=s,s=c.next,c.next=null,i.lastBaseUpdate=c,i.shared.pending=null}}while(!0);if(f===null&&(a=h),i.baseState=a,i.firstBaseUpdate=u,i.lastBaseUpdate=f,t=i.shared.interleaved,t!==null){i=t;do o|=i.lane,i=i.next;while(i!==t)}else l===null&&(i.shared.lanes=0);Ut|=o,e.lanes=o,e.memoizedState=h}}function Ws(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;t n?n:4,e(!0);var r=ll.transition;ll.transition={};try{e(!1),t()}finally{$=n,ll.transition=r}}function gc(){return Re().memoizedState}function lp(e,t,n){var r=St(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},mc(e))vc(t,n);else if(n=Zu(e,t,n,r),n!==null){var i=fe();Ae(n,e,r,i),yc(n,t,r)}}function op(e,t,n){var r=St(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(mc(e))vc(t,i);else{var l=e.alternate;if(e.lanes===0&&(l===null||l.lanes===0)&&(l=t.lastRenderedReducer,l!==null))try{var o=t.lastRenderedState,s=l(o,n);if(i.hasEagerState=!0,i.eagerState=s,Ue(s,o)){var a=t.interleaved;a===null?(i.next=i,$o(t)):(i.next=a.next,a.next=i),t.interleaved=i;return}}catch{}finally{}n=Zu(e,t,i,r),n!==null&&(i=fe(),Ae(n,e,r,i),yc(n,t,r))}}function mc(e){var t=e.alternate;return e===Q||t!==null&&t===Q}function vc(e,t){Kn=fi=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function yc(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,No(e,n)}}var pi={readContext:ze,useCallback:oe,useContext:oe,useEffect:oe,useImperativeHandle:oe,useInsertionEffect:oe,useLayoutEffect:oe,useMemo:oe,useReducer:oe,useRef:oe,useState:oe,useDebugValue:oe,useDeferredValue:oe,useTransition:oe,useMutableSource:oe,useSyncExternalStore:oe,useId:oe,unstable_isNewReconciler:!1},sp={readContext:ze,useCallback:function(e,t){return Be().memoizedState=[e,t===void 0?null:t],e},useContext:ze,useEffect:Gs,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Kr(4194308,4,cc.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Kr(4194308,4,e,t)},useInsertionEffect:function(e,t){return Kr(4,2,e,t)},useMemo:function(e,t){var n=Be();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Be();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=lp.bind(null,Q,e),[r.memoizedState,e]},useRef:function(e){var t=Be();return e={current:e},t.memoizedState=e},useState:Qs,useDebugValue:Qo,useDeferredValue:function(e){return Be().memoizedState=e},useTransition:function(){var e=Qs(!1),t=e[0];return e=ip.bind(null,e[1]),Be().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=Q,i=Be();if(B){if(n===void 0)throw Error(k(407));n=n()}else{if(n=t(),te===null)throw Error(k(349));At&30||nc(r,t,n)}i.memoizedState=n;var l={value:n,getSnapshot:t};return i.queue=l,Gs(ic.bind(null,r,l,e),[e]),r.flags|=2048,cr(9,rc.bind(null,r,l,n,t),void 0,null),n},useId:function(){var e=Be(),t=te.identifierPrefix;if(B){var n=et,r=be;n=(r&~(1<<32-Me(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=ar++,0 <\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=o.createElement(n,{is:r.is}):(e=o.createElement(n),n==="select"&&(o=e,r.multiple?o.multiple=!0:r.size&&(o.size=r.size))):e=o.createElementNS(e,n),e[Ke]=t,e[lr]=r,Pc(e,t,!1,!1),t.stateNode=e;e:{switch(o=jl(n,r),n){case"dialog":V("cancel",e),V("close",e),i=r;break;case"iframe":case"object":case"embed":V("load",e),i=r;break;case"video":case"audio":for(i=0;i wn&&(t.flags|=128,r=!0,zn(l,!1),t.lanes=4194304)}else{if(!r)if(e=di(o),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),zn(l,!0),l.tail===null&&l.tailMode==="hidden"&&!o.alternate&&!B)return se(t),null}else 2*J()-l.renderingStartTime>wn&&n!==1073741824&&(t.flags|=128,r=!0,zn(l,!1),t.lanes=4194304);l.isBackwards?(o.sibling=t.child,t.child=o):(n=l.last,n!==null?n.sibling=o:t.child=o,l.last=o)}return l.tail!==null?(t=l.tail,l.rendering=t,l.tail=t.sibling,l.renderingStartTime=J(),t.sibling=null,n=W.current,M(W,r?n&1|2:n&1),t):(se(t),null);case 22:case 23:return qo(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?we&1073741824&&(se(t),t.subtreeFlags&6&&(t.flags|=8192)):se(t),null;case 24:return null;case 25:return null}throw Error(k(156,t.tag))}function gp(e,t){switch(To(t),t.tag){case 1:return ye(t.type)&&ii(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return yn(),H(ve),H(ue),Vo(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Uo(t),null;case 13:if(H(W),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(k(340));mn()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return H(W),null;case 4:return yn(),null;case 10:return Fo(t.type._context),null;case 22:case 23:return qo(),null;case 24:return null;default:return null}}var _r=!1,ae=!1,mp=typeof WeakSet=="function"?WeakSet:Set,j=null;function on(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){Y(e,t,r)}else n.current=null}function bl(e,t,n){try{n()}catch(r){Y(e,t,r)}}var ia=!1;function vp(e,t){if(Fl=ei,e=Iu(),zo(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var i=r.anchorOffset,l=r.focusNode;r=r.focusOffset;try{n.nodeType,l.nodeType}catch{n=null;break e}var o=0,s=-1,a=-1,u=0,f=0,h=e,c=null;t:for(;;){for(var y;h!==n||i!==0&&h.nodeType!==3||(s=o+i),h!==l||r!==0&&h.nodeType!==3||(a=o+r),h.nodeType===3&&(o+=h.nodeValue.length),(y=h.firstChild)!==null;)c=h,h=y;for(;;){if(h===e)break t;if(c===n&&++u===i&&(s=o),c===l&&++f===r&&(a=o),(y=h.nextSibling)!==null)break;h=c,c=h.parentNode}h=y}n=s===-1||a===-1?null:{start:s,end:a}}else n=null}n=n||{start:0,end:0}}else n=null;for($l={focusedElem:e,selectionRange:n},ei=!1,j=t;j!==null;)if(t=j,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,j=e;else for(;j!==null;){t=j;try{var x=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(x!==null){var w=x.memoizedProps,O=x.memoizedState,p=t.stateNode,d=p.getSnapshotBeforeUpdate(t.elementType===t.type?w:Ie(t.type,w),O);p.__reactInternalSnapshotBeforeUpdate=d}break;case 3:var m=t.stateNode.containerInfo;m.nodeType===1?m.textContent="":m.nodeType===9&&m.documentElement&&m.removeChild(m.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(k(163))}}catch(v){Y(t,t.return,v)}if(e=t.sibling,e!==null){e.return=t.return,j=e;break}j=t.return}return x=ia,ia=!1,x}function Wn(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var i=r=r.next;do{if((i.tag&e)===e){var l=i.destroy;i.destroy=void 0,l!==void 0&&bl(t,n,l)}i=i.next}while(i!==r)}}function Ti(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function eo(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function Rc(e){var t=e.alternate;t!==null&&(e.alternate=null,Rc(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Ke],delete t[lr],delete t[Ul],delete t[bf],delete t[ep])),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 Tc(e){return e.tag===5||e.tag===3||e.tag===4}function la(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Tc(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 to(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=ri));else if(r!==4&&(e=e.child,e!==null))for(to(e,t,n),e=e.sibling;e!==null;)to(e,t,n),e=e.sibling}function no(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(no(e,t,n),e=e.sibling;e!==null;)no(e,t,n),e=e.sibling}var ne=null,Fe=!1;function at(e,t,n){for(n=n.child;n!==null;)_c(e,t,n),n=n.sibling}function _c(e,t,n){if(Qe&&typeof Qe.onCommitFiberUnmount=="function")try{Qe.onCommitFiberUnmount(Ci,n)}catch{}switch(n.tag){case 5:ae||on(n,t);case 6:var r=ne,i=Fe;ne=null,at(e,t,n),ne=r,Fe=i,ne!==null&&(Fe?(e=ne,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):ne.removeChild(n.stateNode));break;case 18:ne!==null&&(Fe?(e=ne,n=n.stateNode,e.nodeType===8?nl(e.parentNode,n):e.nodeType===1&&nl(e,n),er(e)):nl(ne,n.stateNode));break;case 4:r=ne,i=Fe,ne=n.stateNode.containerInfo,Fe=!0,at(e,t,n),ne=r,Fe=i;break;case 0:case 11:case 14:case 15:if(!ae&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var l=i,o=l.destroy;l=l.tag,o!==void 0&&(l&2||l&4)&&bl(n,t,o),i=i.next}while(i!==r)}at(e,t,n);break;case 1:if(!ae&&(on(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(s){Y(n,t,s)}at(e,t,n);break;case 21:at(e,t,n);break;case 22:n.mode&1?(ae=(r=ae)||n.memoizedState!==null,at(e,t,n),ae=r):at(e,t,n);break;default:at(e,t,n)}}function oa(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new mp),t.forEach(function(r){var i=jp.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function De(e,t){var n=t.deletions;if(n!==null)for(var r=0;r i&&(i=o),r&=~l}if(r=i,r=J()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*xp(r/1960))-r,10 e?16:e,ht===null)var r=!1;else{if(e=ht,ht=null,mi=0,I&6)throw Error(k(331));var i=I;for(I|=4,j=e.current;j!==null;){var l=j,o=l.child;if(j.flags&16){var s=l.deletions;if(s!==null){for(var a=0;a J()-Xo?Dt(e,0):Jo|=n),xe(e,t)}function Vc(e,t){t===0&&(e.mode&1?(t=Cr,Cr<<=1,!(Cr&130023424)&&(Cr=4194304)):t=1);var n=fe();e=it(e,t),e!==null&&(gr(e,t,n),xe(e,n))}function Ep(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Vc(e,n)}function jp(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;i!==null&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(k(314))}r!==null&&r.delete(t),Vc(e,n)}var Hc;Hc=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||ve.current)me=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return me=!1,pp(e,t,n);me=!!(e.flags&131072)}else me=!1,B&&t.flags&1048576&&Qu(t,si,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Wr(e,t),e=t.pendingProps;var i=gn(t,ue.current);fn(t,n),i=Bo(null,t,r,e,i,n);var l=Ko();return t.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,ye(r)?(l=!0,li(t)):l=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,Mo(t),i.updater=Ri,t.stateNode=i,i._reactInternals=t,Ql(t,r,e,n),t=Jl(null,t,r,!0,l,n)):(t.tag=0,B&&l&&Ro(t),de(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Wr(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=Pp(r),e=Ie(r,e),i){case 0:t=Yl(null,t,r,e,n);break e;case 1:t=ta(null,t,r,e,n);break e;case 11:t=bs(null,t,r,e,n);break e;case 14:t=ea(null,t,r,Ie(r.type,e),n);break e}throw Error(k(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Ie(r,i),Yl(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Ie(r,i),ta(e,t,r,i,n);case 3:e:{if(Ec(t),e===null)throw Error(k(387));r=t.pendingProps,l=t.memoizedState,i=l.element,qu(e,t),ci(t,r,null,n);var o=t.memoizedState;if(r=o.element,l.isDehydrated)if(l={element:r,isDehydrated:!1,cache:o.cache,pendingSuspenseBoundaries:o.pendingSuspenseBoundaries,transitions:o.transitions},t.updateQueue.baseState=l,t.memoizedState=l,t.flags&256){i=xn(Error(k(423)),t),t=na(e,t,r,n,i);break e}else if(r!==i){i=xn(Error(k(424)),t),t=na(e,t,r,n,i);break e}else for(Se=yt(t.stateNode.containerInfo.firstChild),ke=t,B=!0,$e=null,n=Xu(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(mn(),r===i){t=lt(e,t,n);break e}de(e,t,r,n)}t=t.child}return t;case 5:return bu(t),e===null&&Bl(t),r=t.type,i=t.pendingProps,l=e!==null?e.memoizedProps:null,o=i.children,Ml(r,i)?o=null:l!==null&&Ml(r,l)&&(t.flags|=32),Cc(e,t),de(e,t,o,n),t.child;case 6:return e===null&&Bl(t),null;case 13:return jc(e,t,n);case 4:return Ao(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=vn(t,null,r,n):de(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Ie(r,i),bs(e,t,r,i,n);case 7:return de(e,t,t.pendingProps,n),t.child;case 8:return de(e,t,t.pendingProps.children,n),t.child;case 12:return de(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,l=t.memoizedProps,o=i.value,M(ai,r._currentValue),r._currentValue=o,l!==null)if(Ue(l.value,o)){if(l.children===i.children&&!ve.current){t=lt(e,t,n);break e}}else for(l=t.child,l!==null&&(l.return=t);l!==null;){var s=l.dependencies;if(s!==null){o=l.child;for(var a=s.firstContext;a!==null;){if(a.context===r){if(l.tag===1){a=tt(-1,n&-n),a.tag=2;var u=l.updateQueue;if(u!==null){u=u.shared;var f=u.pending;f===null?a.next=a:(a.next=f.next,f.next=a),u.pending=a}}l.lanes|=n,a=l.alternate,a!==null&&(a.lanes|=n),Kl(l.return,n,t),s.lanes|=n;break}a=a.next}}else if(l.tag===10)o=l.type===t.type?null:l.child;else if(l.tag===18){if(o=l.return,o===null)throw Error(k(341));o.lanes|=n,s=o.alternate,s!==null&&(s.lanes|=n),Kl(o,n,t),o=l.sibling}else o=l.child;if(o!==null)o.return=l;else for(o=l;o!==null;){if(o===t){o=null;break}if(l=o.sibling,l!==null){l.return=o.return,o=l;break}o=o.return}l=o}de(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,fn(t,n),i=ze(i),r=r(i),t.flags|=1,de(e,t,r,n),t.child;case 14:return r=t.type,i=Ie(r,t.pendingProps),i=Ie(r.type,i),ea(e,t,r,i,n);case 15:return kc(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Ie(r,i),Wr(e,t),t.tag=1,ye(r)?(e=!0,li(t)):e=!1,fn(t,n),xc(t,r,i),Ql(t,r,i,n),Jl(null,t,r,!0,e,n);case 19:return Lc(e,t,n);case 22:return Nc(e,t,n)}throw Error(k(156,t.tag))};function Bc(e,t){return mu(e,t)}function Lp(e,t,n,r){this.tag=e,this.key=n,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=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Pe(e,t,n,r){return new Lp(e,t,n,r)}function es(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Pp(e){if(typeof e=="function")return es(e)?1:0;if(e!=null){if(e=e.$$typeof,e===xo)return 11;if(e===wo)return 14}return 2}function kt(e,t){var n=e.alternate;return n===null?(n=Pe(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Yr(e,t,n,r,i,l){var o=2;if(r=e,typeof e=="function")es(e)&&(o=1);else if(typeof e=="string")o=5;else e:switch(e){case Xt:return It(n.children,i,l,t);case yo:o=8,i|=8;break;case ml:return e=Pe(12,n,t,i|2),e.elementType=ml,e.lanes=l,e;case vl:return e=Pe(13,n,t,i),e.elementType=vl,e.lanes=l,e;case yl:return e=Pe(19,n,t,i),e.elementType=yl,e.lanes=l,e;case ba:return Di(n,i,l,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Za:o=10;break e;case qa:o=9;break e;case xo:o=11;break e;case wo:o=14;break e;case ut:o=16,r=null;break e}throw Error(k(130,e==null?e:typeof e,""))}return t=Pe(o,n,t,i),t.elementType=e,t.type=r,t.lanes=l,t}function It(e,t,n,r){return e=Pe(7,e,r,t),e.lanes=n,e}function Di(e,t,n,r){return e=Pe(22,e,r,t),e.elementType=ba,e.lanes=n,e.stateNode={isHidden:!1},e}function cl(e,t,n){return e=Pe(6,e,null,t),e.lanes=n,e}function dl(e,t,n){return t=Pe(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Op(e,t,n,r,i){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=Wi(0),this.expirationTimes=Wi(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Wi(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function ts(e,t,n,r,i,l,o,s,a){return e=new Op(e,t,n,s,a),t===1?(t=1,l===!0&&(t|=8)):t=0,l=Pe(3,null,null,t),e.current=l,l.stateNode=e,l.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Mo(l),e}function zp(e,t,n){var r=3 "u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Gc)}catch(e){console.error(e)}}Gc(),Ga.exports=Ce;var Ip=Ga.exports,Yc,ha=Ip;Yc=ha.createRoot,ha.hydrateRoot;/** + * @license lucide-react v0.344.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */var Fp={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/** + * @license lucide-react v0.344.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const $p=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase().trim(),le=(e,t)=>{const n=F.forwardRef(({color:r="currentColor",size:i=24,strokeWidth:l=2,absoluteStrokeWidth:o,className:s="",children:a,...u},f)=>F.createElement("svg",{ref:f,...Fp,width:i,height:i,stroke:r,strokeWidth:o?Number(l)*24/Number(i):l,className:["lucide",`lucide-${$p(e)}`,s].join(" "),...u},[...t.map(([h,c])=>F.createElement(h,c)),...Array.isArray(a)?a:[a]]));return n.displayName=`${e}`,n};/** + * @license lucide-react v0.344.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const Mp=le("AlertCircle",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]]);/** + * @license lucide-react v0.344.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const Ap=le("Archive",[["rect",{width:"20",height:"5",x:"2",y:"3",rx:"1",key:"1wp1u1"}],["path",{d:"M4 8v11a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8",key:"1s80jp"}],["path",{d:"M10 12h4",key:"a56b0p"}]]);/** + * @license lucide-react v0.344.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const Up=le("CheckCircle2",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);/** + * @license lucide-react v0.344.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const Vp=le("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);/** + * @license lucide-react v0.344.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const Hp=le("ChevronUp",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]]);/** + * @license lucide-react v0.344.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const Bp=le("Download",[["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["polyline",{points:"7 10 12 15 17 10",key:"2ggqvy"}],["line",{x1:"12",x2:"12",y1:"15",y2:"3",key:"1vk2je"}]]);/** + * @license lucide-react v0.344.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const ga=le("Earth",[["path",{d:"M21.54 15H17a2 2 0 0 0-2 2v4.54",key:"1djwo0"}],["path",{d:"M7 3.34V5a3 3 0 0 0 3 3v0a2 2 0 0 1 2 2v0c0 1.1.9 2 2 2v0a2 2 0 0 0 2-2v0c0-1.1.9-2 2-2h3.17",key:"1fi5u6"}],["path",{d:"M11 21.95V18a2 2 0 0 0-2-2v0a2 2 0 0 1-2-2v-1a2 2 0 0 0-2-2H2.05",key:"xsiumc"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]]);/** + * @license lucide-react v0.344.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const Kp=le("FileText",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]]);/** + * @license lucide-react v0.344.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const Wp=le("Lock",[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]]);/** + * @license lucide-react v0.344.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const Qp=le("Mail",[["rect",{width:"20",height:"16",x:"2",y:"4",rx:"2",key:"18n3k1"}],["path",{d:"m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7",key:"1ocrg3"}]]);/** + * @license lucide-react v0.344.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const Gp=le("Music",[["path",{d:"M9 18V5l12-2v13",key:"1jmyc2"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}],["circle",{cx:"18",cy:"16",r:"3",key:"1hluhg"}]]);/** + * @license lucide-react v0.344.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const Yp=le("Scan",[["path",{d:"M3 7V5a2 2 0 0 1 2-2h2",key:"aa7l1z"}],["path",{d:"M17 3h2a2 2 0 0 1 2 2v2",key:"4qcy5o"}],["path",{d:"M21 17v2a2 2 0 0 1-2 2h-2",key:"6vwrx8"}],["path",{d:"M7 21H5a2 2 0 0 1-2-2v-2",key:"ioqczr"}]]);/** + * @license lucide-react v0.344.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const Jp=le("Server",[["rect",{width:"20",height:"8",x:"2",y:"2",rx:"2",ry:"2",key:"ngkwjq"}],["rect",{width:"20",height:"8",x:"2",y:"14",rx:"2",ry:"2",key:"iecqi9"}],["line",{x1:"6",x2:"6.01",y1:"6",y2:"6",key:"16zg32"}],["line",{x1:"6",x2:"6.01",y1:"18",y2:"18",key:"nzw8ys"}]]);/** + * @license lucide-react v0.344.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const fl=le("Shield",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}]]);/** + * @license lucide-react v0.344.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const Xp=le("Video",[["path",{d:"m22 8-6 4 6 4V8Z",key:"50v9me"}],["rect",{width:"14",height:"12",x:"2",y:"6",rx:"2",ry:"2",key:"1rqjg6"}]]);/** + * @license lucide-react v0.344.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const Zp=le("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);/** + * @license lucide-react v0.344.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const ma=le("Zap",[["polygon",{points:"13 2 3 14 12 14 11 22 21 10 12 10 13 2",key:"45s27k"}]]);function qp(){if(console&&console.warn){for(var e=arguments.length,t=new Array(e),n=0;n ()=>{if(e.isInitialized)t();else{const n=()=>{setTimeout(()=>{e.off("initialized",n)},0),t()};e.on("initialized",n)}},ya=(e,t,n)=>{e.loadNamespaces(t,Jc(e,n))},xa=(e,t,n,r)=>{Ft(n)&&(n=[n]),n.forEach(i=>{e.options.ns.indexOf(i)<0&&e.options.ns.push(i)}),e.loadLanguages(t,Jc(e,r))},bp=function(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const r=t.languages[0],i=t.options?t.options.fallbackLng:!1,l=t.languages[t.languages.length-1];if(r.toLowerCase()==="cimode")return!0;const o=(s,a)=>{const u=t.services.backendConnector.state[`${s}|${a}`];return u===-1||u===2};return n.bindI18n&&n.bindI18n.indexOf("languageChanging")>-1&&t.services.backendConnector.backend&&t.isLanguageChangingTo&&!o(t.isLanguageChangingTo,e)?!1:!!(t.hasResourceBundle(r,e)||!t.services.backendConnector.backend||t.options.resources&&!t.options.partialBundledLanguages||o(r,e)&&(!i||o(l,e)))},eh=function(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return!t.languages||!t.languages.length?(so("i18n.languages were undefined or empty",t.languages),!0):t.options.ignoreJSONStructure!==void 0?t.hasLoadedNamespace(e,{lng:n.lng,precheck:(i,l)=>{if(n.bindI18n&&n.bindI18n.indexOf("languageChanging")>-1&&i.services.backendConnector.backend&&i.isLanguageChangingTo&&!l(i.isLanguageChangingTo,e))return!1}}):bp(e,t,n)},Ft=e=>typeof e=="string",th=e=>typeof e=="object"&&e!==null,nh=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,rh={"&":"&","&":"&","<":"<","<":"<",">":">",">":">","'":"'","'":"'",""":'"',""":'"'," ":" "," ":" ","©":"©","©":"©","®":"®","®":"®","…":"…","…":"…","/":"/","/":"/"},ih=e=>rh[e],lh=e=>e.replace(nh,ih);let ao={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:lh};const oh=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};ao={...ao,...e}},sh=()=>ao;let Xc;const ah=e=>{Xc=e},uh=()=>Xc,ch={type:"3rdParty",init(e){oh(e.options.react),ah(e)}},dh=F.createContext();class fh{constructor(){ls(this,"getUsedNamespaces",()=>Object.keys(this.usedNamespaces));this.usedNamespaces={}}addUsedNamespaces(t){t.forEach(n=>{this.usedNamespaces[n]||(this.usedNamespaces[n]=!0)})}}const ph=(e,t)=>{const n=F.useRef();return F.useEffect(()=>{n.current=e},[e,t]),n.current},Zc=(e,t,n,r)=>e.getFixedT(t,n,r),hh=(e,t,n,r)=>F.useCallback(Zc(e,t,n,r),[e,t,n,r]),gh=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{i18n:n}=t,{i18n:r,defaultNS:i}=F.useContext(dh)||{},l=n||r||uh();if(l&&!l.reportNamespaces&&(l.reportNamespaces=new fh),!l){so("You will need to pass in an i18next instance by using initReactI18next");const v=(C,N)=>Ft(N)?N:th(N)&&Ft(N.defaultValue)?N.defaultValue:Array.isArray(C)?C[C.length-1]:C,S=[v,{},!1];return S.t=v,S.i18n={},S.ready=!1,S}l.options.react&&l.options.react.wait!==void 0&&so("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");const o={...sh(),...l.options.react,...t},{useSuspense:s,keyPrefix:a}=o;let u=i||l.options&&l.options.defaultNS;u=Ft(u)?[u]:u||["translation"],l.reportNamespaces.addUsedNamespaces&&l.reportNamespaces.addUsedNamespaces(u);const f=(l.isInitialized||l.initializedStoreOnce)&&u.every(v=>eh(v,l,o)),h=hh(l,t.lng||null,o.nsMode==="fallback"?u:u[0],a),c=()=>h,y=()=>Zc(l,t.lng||null,o.nsMode==="fallback"?u:u[0],a),[x,w]=F.useState(c);let O=u.join();t.lng&&(O=`${t.lng}${O}`);const p=ph(O),d=F.useRef(!0);F.useEffect(()=>{const{bindI18n:v,bindI18nStore:S}=o;d.current=!0,!f&&!s&&(t.lng?xa(l,t.lng,u,()=>{d.current&&w(y)}):ya(l,u,()=>{d.current&&w(y)})),f&&p&&p!==O&&d.current&&w(y);const C=()=>{d.current&&w(y)};return v&&l&&l.on(v,C),S&&l&&l.store.on(S,C),()=>{d.current=!1,v&&l&&v.split(" ").forEach(N=>l.off(N,C)),S&&l&&S.split(" ").forEach(N=>l.store.off(N,C))}},[l,O]),F.useEffect(()=>{d.current&&f&&w(c)},[l,a,f]);const m=[x,l,f];if(m.t=x,m.i18n=l,m.ready=f,f||!f&&!s)return m;throw new Promise(v=>{t.lng?xa(l,t.lng,u,()=>v()):ya(l,u,()=>v())})},T=e=>typeof e=="string",Tn=()=>{let e,t;const n=new Promise((r,i)=>{e=r,t=i});return n.resolve=e,n.reject=t,n},wa=e=>e==null?"":""+e,mh=(e,t,n)=>{e.forEach(r=>{t[r]&&(n[r]=t[r])})},vh=/###/g,Sa=e=>e&&e.indexOf("###")>-1?e.replace(vh,"."):e,ka=e=>!e||T(e),Yn=(e,t,n)=>{const r=T(t)?t.split("."):t;let i=0;for(;i {const{obj:r,k:i}=Yn(e,t,Object);if(r!==void 0||t.length===1){r[i]=n;return}let l=t[t.length-1],o=t.slice(0,t.length-1),s=Yn(e,o,Object);for(;s.obj===void 0&&o.length;)l=`${o[o.length-1]}.${l}`,o=o.slice(0,o.length-1),s=Yn(e,o,Object),s&&s.obj&&typeof s.obj[`${s.k}.${l}`]<"u"&&(s.obj=void 0);s.obj[`${s.k}.${l}`]=n},yh=(e,t,n,r)=>{const{obj:i,k:l}=Yn(e,t,Object);i[l]=i[l]||[],i[l].push(n)},xi=(e,t)=>{const{obj:n,k:r}=Yn(e,t);if(n)return n[r]},xh=(e,t,n)=>{const r=xi(e,n);return r!==void 0?r:xi(t,n)},qc=(e,t,n)=>{for(const r in t)r!=="__proto__"&&r!=="constructor"&&(r in e?T(e[r])||e[r]instanceof String||T(t[r])||t[r]instanceof String?n&&(e[r]=t[r]):qc(e[r],t[r],n):e[r]=t[r]);return e},Gt=e=>e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&");var wh={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};const Sh=e=>T(e)?e.replace(/[&<>"'\/]/g,t=>wh[t]):e;class kh{constructor(t){this.capacity=t,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(t){const n=this.regExpMap.get(t);if(n!==void 0)return n;const r=new RegExp(t);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(t,r),this.regExpQueue.push(t),r}}const Nh=[" ",",","?","!",";"],Ch=new kh(20),Eh=(e,t,n)=>{t=t||"",n=n||"";const r=Nh.filter(o=>t.indexOf(o)<0&&n.indexOf(o)<0);if(r.length===0)return!0;const i=Ch.getRegExp(`(${r.map(o=>o==="?"?"\\?":o).join("|")})`);let l=!i.test(e);if(!l){const o=e.indexOf(n);o>0&&!i.test(e.substring(0,o))&&(l=!0)}return l},uo=function(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:".";if(!e)return;if(e[t])return e[t];const r=t.split(n);let i=e;for(let l=0;l -1&&a e&&e.replace("_","-"),jh={type:"logger",log(e){this.output("log",e)},warn(e){this.output("warn",e)},error(e){this.output("error",e)},output(e,t){console&&console[e]&&console[e].apply(console,t)}};class Si{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.init(t,n)}init(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.prefix=n.prefix||"i18next:",this.logger=t||jh,this.options=n,this.debug=n.debug}log(){for(var t=arguments.length,n=new Array(t),r=0;r {this.observers[r]||(this.observers[r]=new Map);const i=this.observers[r].get(n)||0;this.observers[r].set(n,i+1)}),this}off(t,n){if(this.observers[t]){if(!n){delete this.observers[t];return}this.observers[t].delete(n)}}emit(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i {let[s,a]=o;for(let u=0;u{let[s,a]=o;for(let u=0;u1&&arguments[1]!==void 0?arguments[1]:{ns:["translation"],defaultNS:"translation"};super(),this.data=t||{},this.options=n,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.options.ignoreJSONStructure===void 0&&(this.options.ignoreJSONStructure=!0)}addNamespaces(t){this.options.ns.indexOf(t)<0&&this.options.ns.push(t)}removeNamespaces(t){const n=this.options.ns.indexOf(t);n>-1&&this.options.ns.splice(n,1)}getResource(t,n,r){let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const l=i.keySeparator!==void 0?i.keySeparator:this.options.keySeparator,o=i.ignoreJSONStructure!==void 0?i.ignoreJSONStructure:this.options.ignoreJSONStructure;let s;t.indexOf(".")>-1?s=t.split("."):(s=[t,n],r&&(Array.isArray(r)?s.push(...r):T(r)&&l?s.push(...r.split(l)):s.push(r)));const a=xi(this.data,s);return!a&&!n&&!r&&t.indexOf(".")>-1&&(t=s[0],n=s[1],r=s.slice(2).join(".")),a||!o||!T(r)?a:uo(this.data&&this.data[t]&&this.data[t][n],r,l)}addResource(t,n,r,i){let l=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{silent:!1};const o=l.keySeparator!==void 0?l.keySeparator:this.options.keySeparator;let s=[t,n];r&&(s=s.concat(o?r.split(o):r)),t.indexOf(".")>-1&&(s=t.split("."),i=n,n=s[1]),this.addNamespaces(n),Na(this.data,s,i),l.silent||this.emit("added",t,n,r,i)}addResources(t,n,r){let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{silent:!1};for(const l in r)(T(r[l])||Array.isArray(r[l]))&&this.addResource(t,n,l,r[l],{silent:!0});i.silent||this.emit("added",t,n,r)}addResourceBundle(t,n,r,i,l){let o=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{silent:!1,skipCopy:!1},s=[t,n];t.indexOf(".")>-1&&(s=t.split("."),i=r,r=n,n=s[1]),this.addNamespaces(n);let a=xi(this.data,s)||{};o.skipCopy||(r=JSON.parse(JSON.stringify(r))),i?qc(a,r,l):a={...a,...r},Na(this.data,s,a),o.silent||this.emit("added",t,n,r)}removeResourceBundle(t,n){this.hasResourceBundle(t,n)&&delete this.data[t][n],this.removeNamespaces(n),this.emit("removed",t,n)}hasResourceBundle(t,n){return this.getResource(t,n)!==void 0}getResourceBundle(t,n){return n||(n=this.options.defaultNS),this.options.compatibilityAPI==="v1"?{...this.getResource(t,n)}:this.getResource(t,n)}getDataByLanguage(t){return this.data[t]}hasLanguageSomeTranslations(t){const n=this.getDataByLanguage(t);return!!(n&&Object.keys(n)||[]).find(i=>n[i]&&Object.keys(n[i]).length>0)}toJSON(){return this.data}}var bc={processors:{},addPostProcessor(e){this.processors[e.name]=e},handle(e,t,n,r,i){return e.forEach(l=>{this.processors[l]&&(t=this.processors[l].process(t,n,r,i))}),t}};const Ea={};class ki extends Ai{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};super(),mh(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],t,this),this.options=n,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.logger=We.create("translator")}changeLanguage(t){t&&(this.language=t)}exists(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}};if(t==null)return!1;const r=this.resolve(t,n);return r&&r.res!==void 0}extractFromKey(t,n){let r=n.nsSeparator!==void 0?n.nsSeparator:this.options.nsSeparator;r===void 0&&(r=":");const i=n.keySeparator!==void 0?n.keySeparator:this.options.keySeparator;let l=n.ns||this.options.defaultNS||[];const o=r&&t.indexOf(r)>-1,s=!this.options.userDefinedKeySeparator&&!n.keySeparator&&!this.options.userDefinedNsSeparator&&!n.nsSeparator&&!Eh(t,r,i);if(o&&!s){const a=t.match(this.interpolator.nestingRegexp);if(a&&a.length>0)return{key:t,namespaces:T(l)?[l]:l};const u=t.split(r);(r!==i||r===i&&this.options.ns.indexOf(u[0])>-1)&&(l=u.shift()),t=u.join(i)}return{key:t,namespaces:T(l)?[l]:l}}translate(t,n,r){if(typeof n!="object"&&this.options.overloadTranslationOptionHandler&&(n=this.options.overloadTranslationOptionHandler(arguments)),typeof n=="object"&&(n={...n}),n||(n={}),t==null)return"";Array.isArray(t)||(t=[String(t)]);const i=n.returnDetails!==void 0?n.returnDetails:this.options.returnDetails,l=n.keySeparator!==void 0?n.keySeparator:this.options.keySeparator,{key:o,namespaces:s}=this.extractFromKey(t[t.length-1],n),a=s[s.length-1],u=n.lng||this.language,f=n.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(u&&u.toLowerCase()==="cimode"){if(f){const v=n.nsSeparator||this.options.nsSeparator;return i?{res:`${a}${v}${o}`,usedKey:o,exactUsedKey:o,usedLng:u,usedNS:a,usedParams:this.getUsedParamsDetails(n)}:`${a}${v}${o}`}return i?{res:o,usedKey:o,exactUsedKey:o,usedLng:u,usedNS:a,usedParams:this.getUsedParamsDetails(n)}:o}const h=this.resolve(t,n);let c=h&&h.res;const y=h&&h.usedKey||o,x=h&&h.exactUsedKey||o,w=Object.prototype.toString.apply(c),O=["[object Number]","[object Function]","[object RegExp]"],p=n.joinArrays!==void 0?n.joinArrays:this.options.joinArrays,d=!this.i18nFormat||this.i18nFormat.handleAsObject,m=!T(c)&&typeof c!="boolean"&&typeof c!="number";if(d&&c&&m&&O.indexOf(w)<0&&!(T(p)&&Array.isArray(c))){if(!n.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");const v=this.options.returnedObjectHandler?this.options.returnedObjectHandler(y,c,{...n,ns:s}):`key '${o} (${this.language})' returned an object instead of string.`;return i?(h.res=v,h.usedParams=this.getUsedParamsDetails(n),h):v}if(l){const v=Array.isArray(c),S=v?[]:{},C=v?x:y;for(const N in c)if(Object.prototype.hasOwnProperty.call(c,N)){const L=`${C}${l}${N}`;S[N]=this.translate(L,{...n,joinArrays:!1,ns:s}),S[N]===L&&(S[N]=c[N])}c=S}}else if(d&&T(p)&&Array.isArray(c))c=c.join(p),c&&(c=this.extendTranslation(c,t,n,r));else{let v=!1,S=!1;const C=n.count!==void 0&&!T(n.count),N=ki.hasDefaultValue(n),L=C?this.pluralResolver.getSuffix(u,n.count,n):"",A=n.ordinal&&C?this.pluralResolver.getSuffix(u,n.count,{ordinal:!1}):"",_=C&&!n.ordinal&&n.count===0&&this.pluralResolver.shouldUseIntlApi(),Z=_&&n[`defaultValue${this.options.pluralSeparator}zero`]||n[`defaultValue${L}`]||n[`defaultValue${A}`]||n.defaultValue;!this.isValidLookup(c)&&N&&(v=!0,c=Z),this.isValidLookup(c)||(S=!0,c=o);const Je=(n.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&S?void 0:c,Te=N&&Z!==c&&this.options.updateMissing;if(S||v||Te){if(this.logger.log(Te?"updateKey":"missingKey",u,a,o,Te?Z:c),l){const E=this.resolve(o,{...n,keySeparator:!1});E&&E.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}let Ve=[];const _e=this.languageUtils.getFallbackCodes(this.options.fallbackLng,n.lng||this.language);if(this.options.saveMissingTo==="fallback"&&_e&&_e[0])for(let E=0;E<_e.length;E++)Ve.push(_e[E]);else this.options.saveMissingTo==="all"?Ve=this.languageUtils.toResolveHierarchy(n.lng||this.language):Ve.push(n.lng||this.language);const st=(E,z,R)=>{const P=N&&R!==c?R:Je;this.options.missingKeyHandler?this.options.missingKeyHandler(E,a,z,P,Te,n):this.backendConnector&&this.backendConnector.saveMissing&&this.backendConnector.saveMissing(E,a,z,P,Te,n),this.emit("missingKey",E,a,z,c)};this.options.saveMissing&&(this.options.saveMissingPlurals&&C?Ve.forEach(E=>{const z=this.pluralResolver.getSuffixes(E,n);_&&n[`defaultValue${this.options.pluralSeparator}zero`]&&z.indexOf(`${this.options.pluralSeparator}zero`)<0&&z.push(`${this.options.pluralSeparator}zero`),z.forEach(R=>{st([E],o+R,n[`defaultValue${R}`]||Z)})}):st(Ve,o,Z))}c=this.extendTranslation(c,t,n,h,r),S&&c===o&&this.options.appendNamespaceToMissingKey&&(c=`${a}:${o}`),(S||v)&&this.options.parseMissingKeyHandler&&(this.options.compatibilityAPI!=="v1"?c=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${a}:${o}`:o,v?c:void 0):c=this.options.parseMissingKeyHandler(c))}return i?(h.res=c,h.usedParams=this.getUsedParamsDetails(n),h):c}extendTranslation(t,n,r,i,l){var o=this;if(this.i18nFormat&&this.i18nFormat.parse)t=this.i18nFormat.parse(t,{...this.options.interpolation.defaultVariables,...r},r.lng||this.language||i.usedLng,i.usedNS,i.usedKey,{resolved:i});else if(!r.skipInterpolation){r.interpolation&&this.interpolator.init({...r,interpolation:{...this.options.interpolation,...r.interpolation}});const u=T(t)&&(r&&r.interpolation&&r.interpolation.skipOnVariables!==void 0?r.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);let f;if(u){const c=t.match(this.interpolator.nestingRegexp);f=c&&c.length}let h=r.replace&&!T(r.replace)?r.replace:r;if(this.options.interpolation.defaultVariables&&(h={...this.options.interpolation.defaultVariables,...h}),t=this.interpolator.interpolate(t,h,r.lng||this.language||i.usedLng,r),u){const c=t.match(this.interpolator.nestingRegexp),y=c&&c.length;f 1&&arguments[1]!==void 0?arguments[1]:{},r,i,l,o,s;return T(t)&&(t=[t]),t.forEach(a=>{if(this.isValidLookup(r))return;const u=this.extractFromKey(a,n),f=u.key;i=f;let h=u.namespaces;this.options.fallbackNS&&(h=h.concat(this.options.fallbackNS));const c=n.count!==void 0&&!T(n.count),y=c&&!n.ordinal&&n.count===0&&this.pluralResolver.shouldUseIntlApi(),x=n.context!==void 0&&(T(n.context)||typeof n.context=="number")&&n.context!=="",w=n.lngs?n.lngs:this.languageUtils.toResolveHierarchy(n.lng||this.language,n.fallbackLng);h.forEach(O=>{this.isValidLookup(r)||(s=O,!Ea[`${w[0]}-${O}`]&&this.utils&&this.utils.hasLoadedNamespace&&!this.utils.hasLoadedNamespace(s)&&(Ea[`${w[0]}-${O}`]=!0,this.logger.warn(`key "${i}" for languages "${w.join(", ")}" won't get resolved as namespace "${s}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),w.forEach(p=>{if(this.isValidLookup(r))return;o=p;const d=[f];if(this.i18nFormat&&this.i18nFormat.addLookupKeys)this.i18nFormat.addLookupKeys(d,f,p,O,n);else{let v;c&&(v=this.pluralResolver.getSuffix(p,n.count,n));const S=`${this.options.pluralSeparator}zero`,C=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(c&&(d.push(f+v),n.ordinal&&v.indexOf(C)===0&&d.push(f+v.replace(C,this.options.pluralSeparator)),y&&d.push(f+S)),x){const N=`${f}${this.options.contextSeparator}${n.context}`;d.push(N),c&&(d.push(N+v),n.ordinal&&v.indexOf(C)===0&&d.push(N+v.replace(C,this.options.pluralSeparator)),y&&d.push(N+S))}}let m;for(;m=d.pop();)this.isValidLookup(r)||(l=m,r=this.getResource(p,O,m,n))}))})}),{res:r,usedKey:i,exactUsedKey:l,usedLng:o,usedNS:s}}isValidLookup(t){return t!==void 0&&!(!this.options.returnNull&&t===null)&&!(!this.options.returnEmptyString&&t==="")}getResource(t,n,r){let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(t,n,r,i):this.resourceStore.getResource(t,n,r,i)}getUsedParamsDetails(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const n=["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"],r=t.replace&&!T(t.replace);let i=r?t.replace:t;if(r&&typeof t.count<"u"&&(i.count=t.count),this.options.interpolation.defaultVariables&&(i={...this.options.interpolation.defaultVariables,...i}),!r){i={...i};for(const l of n)delete i[l]}return i}static hasDefaultValue(t){const n="defaultValue";for(const r in t)if(Object.prototype.hasOwnProperty.call(t,r)&&n===r.substring(0,n.length)&&t[r]!==void 0)return!0;return!1}}const pl=e=>e.charAt(0).toUpperCase()+e.slice(1);class ja{constructor(t){this.options=t,this.supportedLngs=this.options.supportedLngs||!1,this.logger=We.create("languageUtils")}getScriptPartFromCode(t){if(t=wi(t),!t||t.indexOf("-")<0)return null;const n=t.split("-");return n.length===2||(n.pop(),n[n.length-1].toLowerCase()==="x")?null:this.formatLanguageCode(n.join("-"))}getLanguagePartFromCode(t){if(t=wi(t),!t||t.indexOf("-")<0)return t;const n=t.split("-");return this.formatLanguageCode(n[0])}formatLanguageCode(t){if(T(t)&&t.indexOf("-")>-1){if(typeof Intl<"u"&&typeof Intl.getCanonicalLocales<"u")try{let i=Intl.getCanonicalLocales(t)[0];if(i&&this.options.lowerCaseLng&&(i=i.toLowerCase()),i)return i}catch{}const n=["hans","hant","latn","cyrl","cans","mong","arab"];let r=t.split("-");return this.options.lowerCaseLng?r=r.map(i=>i.toLowerCase()):r.length===2?(r[0]=r[0].toLowerCase(),r[1]=r[1].toUpperCase(),n.indexOf(r[1].toLowerCase())>-1&&(r[1]=pl(r[1].toLowerCase()))):r.length===3&&(r[0]=r[0].toLowerCase(),r[1].length===2&&(r[1]=r[1].toUpperCase()),r[0]!=="sgn"&&r[2].length===2&&(r[2]=r[2].toUpperCase()),n.indexOf(r[1].toLowerCase())>-1&&(r[1]=pl(r[1].toLowerCase())),n.indexOf(r[2].toLowerCase())>-1&&(r[2]=pl(r[2].toLowerCase()))),r.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?t.toLowerCase():t}isSupportedCode(t){return(this.options.load==="languageOnly"||this.options.nonExplicitSupportedLngs)&&(t=this.getLanguagePartFromCode(t)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(t)>-1}getBestMatchFromCodes(t){if(!t)return null;let n;return t.forEach(r=>{if(n)return;const i=this.formatLanguageCode(r);(!this.options.supportedLngs||this.isSupportedCode(i))&&(n=i)}),!n&&this.options.supportedLngs&&t.forEach(r=>{if(n)return;const i=this.getLanguagePartFromCode(r);if(this.isSupportedCode(i))return n=i;n=this.options.supportedLngs.find(l=>{if(l===i)return l;if(!(l.indexOf("-")<0&&i.indexOf("-")<0)&&(l.indexOf("-")>0&&i.indexOf("-")<0&&l.substring(0,l.indexOf("-"))===i||l.indexOf(i)===0&&i.length>1))return l})}),n||(n=this.getFallbackCodes(this.options.fallbackLng)[0]),n}getFallbackCodes(t,n){if(!t)return[];if(typeof t=="function"&&(t=t(n)),T(t)&&(t=[t]),Array.isArray(t))return t;if(!n)return t.default||[];let r=t[n];return r||(r=t[this.getScriptPartFromCode(n)]),r||(r=t[this.formatLanguageCode(n)]),r||(r=t[this.getLanguagePartFromCode(n)]),r||(r=t.default),r||[]}toResolveHierarchy(t,n){const r=this.getFallbackCodes(n||this.options.fallbackLng||[],t),i=[],l=o=>{o&&(this.isSupportedCode(o)?i.push(o):this.logger.warn(`rejecting language code not found in supportedLngs: ${o}`))};return T(t)&&(t.indexOf("-")>-1||t.indexOf("_")>-1)?(this.options.load!=="languageOnly"&&l(this.formatLanguageCode(t)),this.options.load!=="languageOnly"&&this.options.load!=="currentOnly"&&l(this.getScriptPartFromCode(t)),this.options.load!=="currentOnly"&&l(this.getLanguagePartFromCode(t))):T(t)&&l(this.formatLanguageCode(t)),r.forEach(o=>{i.indexOf(o)<0&&l(this.formatLanguageCode(o))}),i}}let Lh=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kk","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],Ph={1:e=>+(e>1),2:e=>+(e!=1),3:e=>0,4:e=>e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2,5:e=>e==0?0:e==1?1:e==2?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5,6:e=>e==1?0:e>=2&&e<=4?1:2,7:e=>e==1?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2,8:e=>e==1?0:e==2?1:e!=8&&e!=11?2:3,9:e=>+(e>=2),10:e=>e==1?0:e==2?1:e<7?2:e<11?3:4,11:e=>e==1||e==11?0:e==2||e==12?1:e>2&&e<20?2:3,12:e=>+(e%10!=1||e%100==11),13:e=>+(e!==0),14:e=>e==1?0:e==2?1:e==3?2:3,15:e=>e%10==1&&e%100!=11?0:e%10>=2&&(e%100<10||e%100>=20)?1:2,16:e=>e%10==1&&e%100!=11?0:e!==0?1:2,17:e=>e==1||e%10==1&&e%100!=11?0:1,18:e=>e==0?0:e==1?1:2,19:e=>e==1?0:e==0||e%100>1&&e%100<11?1:e%100>10&&e%100<20?2:3,20:e=>e==1?0:e==0||e%100>0&&e%100<20?1:2,21:e=>e%100==1?1:e%100==2?2:e%100==3||e%100==4?3:0,22:e=>e==1?0:e==2?1:(e<0||e>10)&&e%10==0?2:3};const Oh=["v1","v2","v3"],zh=["v4"],La={zero:0,one:1,two:2,few:3,many:4,other:5},Rh=()=>{const e={};return Lh.forEach(t=>{t.lngs.forEach(n=>{e[n]={numbers:t.nr,plurals:Ph[t.fc]}})}),e};class Th{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.languageUtils=t,this.options=n,this.logger=We.create("pluralResolver"),(!this.options.compatibilityJSON||zh.includes(this.options.compatibilityJSON))&&(typeof Intl>"u"||!Intl.PluralRules)&&(this.options.compatibilityJSON="v3",this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")),this.rules=Rh(),this.pluralRulesCache={}}addRule(t,n){this.rules[t]=n}clearCache(){this.pluralRulesCache={}}getRule(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(this.shouldUseIntlApi()){const r=wi(t==="dev"?"en":t),i=n.ordinal?"ordinal":"cardinal",l=JSON.stringify({cleanedCode:r,type:i});if(l in this.pluralRulesCache)return this.pluralRulesCache[l];let o;try{o=new Intl.PluralRules(r,{type:i})}catch{if(!t.match(/-|_/))return;const a=this.languageUtils.getLanguagePartFromCode(t);o=this.getRule(a,n)}return this.pluralRulesCache[l]=o,o}return this.rules[t]||this.rules[this.languageUtils.getLanguagePartFromCode(t)]}needsPlural(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const r=this.getRule(t,n);return this.shouldUseIntlApi()?r&&r.resolvedOptions().pluralCategories.length>1:r&&r.numbers.length>1}getPluralFormsOfKey(t,n){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return this.getSuffixes(t,r).map(i=>`${n}${i}`)}getSuffixes(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const r=this.getRule(t,n);return r?this.shouldUseIntlApi()?r.resolvedOptions().pluralCategories.sort((i,l)=>La[i]-La[l]).map(i=>`${this.options.prepend}${n.ordinal?`ordinal${this.options.prepend}`:""}${i}`):r.numbers.map(i=>this.getSuffix(t,i,n)):[]}getSuffix(t,n){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const i=this.getRule(t,r);return i?this.shouldUseIntlApi()?`${this.options.prepend}${r.ordinal?`ordinal${this.options.prepend}`:""}${i.select(n)}`:this.getSuffixRetroCompatible(i,n):(this.logger.warn(`no plural rule found for: ${t}`),"")}getSuffixRetroCompatible(t,n){const r=t.noAbs?t.plurals(n):t.plurals(Math.abs(n));let i=t.numbers[r];this.options.simplifyPluralSuffix&&t.numbers.length===2&&t.numbers[0]===1&&(i===2?i="plural":i===1&&(i=""));const l=()=>this.options.prepend&&i.toString()?this.options.prepend+i.toString():i.toString();return this.options.compatibilityJSON==="v1"?i===1?"":typeof i=="number"?`_plural_${i.toString()}`:l():this.options.compatibilityJSON==="v2"||this.options.simplifyPluralSuffix&&t.numbers.length===2&&t.numbers[0]===1?l():this.options.prepend&&r.toString()?this.options.prepend+r.toString():r.toString()}shouldUseIntlApi(){return!Oh.includes(this.options.compatibilityJSON)}}const Pa=function(e,t,n){let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:".",i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0,l=xh(e,t,n);return!l&&i&&T(n)&&(l=uo(e,n,r),l===void 0&&(l=uo(t,n,r))),l},hl=e=>e.replace(/\$/g,"$$$$");class _h{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=We.create("interpolator"),this.options=t,this.format=t.interpolation&&t.interpolation.format||(n=>n),this.init(t)}init(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};t.interpolation||(t.interpolation={escapeValue:!0});const{escape:n,escapeValue:r,useRawValueToEscape:i,prefix:l,prefixEscaped:o,suffix:s,suffixEscaped:a,formatSeparator:u,unescapeSuffix:f,unescapePrefix:h,nestingPrefix:c,nestingPrefixEscaped:y,nestingSuffix:x,nestingSuffixEscaped:w,nestingOptionsSeparator:O,maxReplaces:p,alwaysFormat:d}=t.interpolation;this.escape=n!==void 0?n:Sh,this.escapeValue=r!==void 0?r:!0,this.useRawValueToEscape=i!==void 0?i:!1,this.prefix=l?Gt(l):o||"{{",this.suffix=s?Gt(s):a||"}}",this.formatSeparator=u||",",this.unescapePrefix=f?"":h||"-",this.unescapeSuffix=this.unescapePrefix?"":f||"",this.nestingPrefix=c?Gt(c):y||Gt("$t("),this.nestingSuffix=x?Gt(x):w||Gt(")"),this.nestingOptionsSeparator=O||",",this.maxReplaces=p||1e3,this.alwaysFormat=d!==void 0?d:!1,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){const t=(n,r)=>n&&n.source===r?(n.lastIndex=0,n):new RegExp(r,"g");this.regexp=t(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=t(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=t(this.nestingRegexp,`${this.nestingPrefix}(.+?)${this.nestingSuffix}`)}interpolate(t,n,r,i){let l,o,s;const a=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},u=y=>{if(y.indexOf(this.formatSeparator)<0){const p=Pa(n,a,y,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(p,void 0,r,{...i,...n,interpolationkey:y}):p}const x=y.split(this.formatSeparator),w=x.shift().trim(),O=x.join(this.formatSeparator).trim();return this.format(Pa(n,a,w,this.options.keySeparator,this.options.ignoreJSONStructure),O,r,{...i,...n,interpolationkey:w})};this.resetRegExp();const f=i&&i.missingInterpolationHandler||this.options.missingInterpolationHandler,h=i&&i.interpolation&&i.interpolation.skipOnVariables!==void 0?i.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:y=>hl(y)},{regex:this.regexp,safeValue:y=>this.escapeValue?hl(this.escape(y)):hl(y)}].forEach(y=>{for(s=0;l=y.regex.exec(t);){const x=l[1].trim();if(o=u(x),o===void 0)if(typeof f=="function"){const O=f(t,l,i);o=T(O)?O:""}else if(i&&Object.prototype.hasOwnProperty.call(i,x))o="";else if(h){o=l[0];continue}else this.logger.warn(`missed to pass in variable ${x} for interpolating ${t}`),o="";else!T(o)&&!this.useRawValueToEscape&&(o=wa(o));const w=y.safeValue(o);if(t=t.replace(l[0],w),h?(y.regex.lastIndex+=o.length,y.regex.lastIndex-=l[0].length):y.regex.lastIndex=0,s++,s>=this.maxReplaces)break}}),t}nest(t,n){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},i,l,o;const s=(a,u)=>{const f=this.nestingOptionsSeparator;if(a.indexOf(f)<0)return a;const h=a.split(new RegExp(`${f}[ ]*{`));let c=`{${h[1]}`;a=h[0],c=this.interpolate(c,o);const y=c.match(/'/g),x=c.match(/"/g);(y&&y.length%2===0&&!x||x.length%2!==0)&&(c=c.replace(/'/g,'"'));try{o=JSON.parse(c),u&&(o={...u,...o})}catch(w){return this.logger.warn(`failed parsing options string in nesting for key ${a}`,w),`${a}${f}${c}`}return o.defaultValue&&o.defaultValue.indexOf(this.prefix)>-1&&delete o.defaultValue,a};for(;i=this.nestingRegexp.exec(t);){let a=[];o={...r},o=o.replace&&!T(o.replace)?o.replace:o,o.applyPostProcessor=!1,delete o.defaultValue;let u=!1;if(i[0].indexOf(this.formatSeparator)!==-1&&!/{.*}/.test(i[1])){const f=i[1].split(this.formatSeparator).map(h=>h.trim());i[1]=f.shift(),a=f,u=!0}if(l=n(s.call(this,i[1].trim(),o),o),l&&i[0]===t&&!T(l))return l;T(l)||(l=wa(l)),l||(this.logger.warn(`missed to resolve ${i[1]} for nesting ${t}`),l=""),u&&(l=a.reduce((f,h)=>this.format(f,h,r.lng,{...r,interpolationkey:i[1].trim()}),l.trim())),t=t.replace(i[0],l),this.regexp.lastIndex=0}return t}}const Dh=e=>{let t=e.toLowerCase().trim();const n={};if(e.indexOf("(")>-1){const r=e.split("(");t=r[0].toLowerCase().trim();const i=r[1].substring(0,r[1].length-1);t==="currency"&&i.indexOf(":")<0?n.currency||(n.currency=i.trim()):t==="relativetime"&&i.indexOf(":")<0?n.range||(n.range=i.trim()):i.split(";").forEach(o=>{if(o){const[s,...a]=o.split(":"),u=a.join(":").trim().replace(/^'+|'+$/g,""),f=s.trim();n[f]||(n[f]=u),u==="false"&&(n[f]=!1),u==="true"&&(n[f]=!0),isNaN(u)||(n[f]=parseInt(u,10))}})}return{formatName:t,formatOptions:n}},Yt=e=>{const t={};return(n,r,i)=>{let l=i;i&&i.interpolationkey&&i.formatParams&&i.formatParams[i.interpolationkey]&&i[i.interpolationkey]&&(l={...l,[i.interpolationkey]:void 0});const o=r+JSON.stringify(l);let s=t[o];return s||(s=e(wi(r),i),t[o]=s),s(n)}};class Ih{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=We.create("formatter"),this.options=t,this.formats={number:Yt((n,r)=>{const i=new Intl.NumberFormat(n,{...r});return l=>i.format(l)}),currency:Yt((n,r)=>{const i=new Intl.NumberFormat(n,{...r,style:"currency"});return l=>i.format(l)}),datetime:Yt((n,r)=>{const i=new Intl.DateTimeFormat(n,{...r});return l=>i.format(l)}),relativetime:Yt((n,r)=>{const i=new Intl.RelativeTimeFormat(n,{...r});return l=>i.format(l,r.range||"day")}),list:Yt((n,r)=>{const i=new Intl.ListFormat(n,{...r});return l=>i.format(l)})},this.init(t)}init(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}};this.formatSeparator=n.interpolation.formatSeparator||","}add(t,n){this.formats[t.toLowerCase().trim()]=n}addCached(t,n){this.formats[t.toLowerCase().trim()]=Yt(n)}format(t,n,r){let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const l=n.split(this.formatSeparator);if(l.length>1&&l[0].indexOf("(")>1&&l[0].indexOf(")")<0&&l.find(s=>s.indexOf(")")>-1)){const s=l.findIndex(a=>a.indexOf(")")>-1);l[0]=[l[0],...l.splice(1,s)].join(this.formatSeparator)}return l.reduce((s,a)=>{const{formatName:u,formatOptions:f}=Dh(a);if(this.formats[u]){let h=s;try{const c=i&&i.formatParams&&i.formatParams[i.interpolationkey]||{},y=c.locale||c.lng||i.locale||i.lng||r;h=this.formats[u](s,y,{...f,...i,...c})}catch(c){this.logger.warn(c)}return h}else this.logger.warn(`there was no format function for ${u}`);return s},t)}}const Fh=(e,t)=>{e.pending[t]!==void 0&&(delete e.pending[t],e.pendingCount--)};class $h extends Ai{constructor(t,n,r){let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};super(),this.backend=t,this.store=n,this.services=r,this.languageUtils=r.languageUtils,this.options=i,this.logger=We.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=i.maxParallelReads||10,this.readingCalls=0,this.maxRetries=i.maxRetries>=0?i.maxRetries:5,this.retryTimeout=i.retryTimeout>=1?i.retryTimeout:350,this.state={},this.queue=[],this.backend&&this.backend.init&&this.backend.init(r,i.backend,i)}queueLoad(t,n,r,i){const l={},o={},s={},a={};return t.forEach(u=>{let f=!0;n.forEach(h=>{const c=`${u}|${h}`;!r.reload&&this.store.hasResourceBundle(u,h)?this.state[c]=2:this.state[c]<0||(this.state[c]===1?o[c]===void 0&&(o[c]=!0):(this.state[c]=1,f=!1,o[c]===void 0&&(o[c]=!0),l[c]===void 0&&(l[c]=!0),a[h]===void 0&&(a[h]=!0)))}),f||(s[u]=!0)}),(Object.keys(l).length||Object.keys(o).length)&&this.queue.push({pending:o,pendingCount:Object.keys(o).length,loaded:{},errors:[],callback:i}),{toLoad:Object.keys(l),pending:Object.keys(o),toLoadLanguages:Object.keys(s),toLoadNamespaces:Object.keys(a)}}loaded(t,n,r){const i=t.split("|"),l=i[0],o=i[1];n&&this.emit("failedLoading",l,o,n),!n&&r&&this.store.addResourceBundle(l,o,r,void 0,void 0,{skipCopy:!0}),this.state[t]=n?-1:2,n&&r&&(this.state[t]=0);const s={};this.queue.forEach(a=>{yh(a.loaded,[l],o),Fh(a,t),n&&a.errors.push(n),a.pendingCount===0&&!a.done&&(Object.keys(a.loaded).forEach(u=>{s[u]||(s[u]={});const f=a.loaded[u];f.length&&f.forEach(h=>{s[u][h]===void 0&&(s[u][h]=!0)})}),a.done=!0,a.errors.length?a.callback(a.errors):a.callback())}),this.emit("loaded",s),this.queue=this.queue.filter(a=>!a.done)}read(t,n,r){let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,l=arguments.length>4&&arguments[4]!==void 0?arguments[4]:this.retryTimeout,o=arguments.length>5?arguments[5]:void 0;if(!t.length)return o(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:t,ns:n,fcName:r,tried:i,wait:l,callback:o});return}this.readingCalls++;const s=(u,f)=>{if(this.readingCalls--,this.waitingReads.length>0){const h=this.waitingReads.shift();this.read(h.lng,h.ns,h.fcName,h.tried,h.wait,h.callback)}if(u&&f&&i {this.read.call(this,t,n,r,i+1,l*2,o)},l);return}o(u,f)},a=this.backend[r].bind(this.backend);if(a.length===2){try{const u=a(t,n);u&&typeof u.then=="function"?u.then(f=>s(null,f)).catch(s):s(null,u)}catch(u){s(u)}return}return a(t,n,s)}prepareLoading(t,n){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},i=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),i&&i();T(t)&&(t=this.languageUtils.toResolveHierarchy(t)),T(n)&&(n=[n]);const l=this.queueLoad(t,n,r,i);if(!l.toLoad.length)return l.pending.length||i(),null;l.toLoad.forEach(o=>{this.loadOne(o)})}load(t,n,r){this.prepareLoading(t,n,{},r)}reload(t,n,r){this.prepareLoading(t,n,{reload:!0},r)}loadOne(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";const r=t.split("|"),i=r[0],l=r[1];this.read(i,l,"read",void 0,void 0,(o,s)=>{o&&this.logger.warn(`${n}loading namespace ${l} for language ${i} failed`,o),!o&&s&&this.logger.log(`${n}loaded namespace ${l} for language ${i}`,s),this.loaded(t,o,s)})}saveMissing(t,n,r,i,l){let o=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{},s=arguments.length>6&&arguments[6]!==void 0?arguments[6]:()=>{};if(this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(n)){this.logger.warn(`did not save key "${r}" as the namespace "${n}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");return}if(!(r==null||r==="")){if(this.backend&&this.backend.create){const a={...o,isUpdate:l},u=this.backend.create.bind(this.backend);if(u.length<6)try{let f;u.length===5?f=u(t,n,r,i,a):f=u(t,n,r,i),f&&typeof f.then=="function"?f.then(h=>s(null,h)).catch(s):s(null,f)}catch(f){s(f)}else u(t,n,r,i,s,a)}!t||!t[0]||this.store.addResource(t[0],n,r,i)}}}const Oa=()=>({debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:e=>{let t={};if(typeof e[1]=="object"&&(t=e[1]),T(e[1])&&(t.defaultValue=e[1]),T(e[2])&&(t.tDescription=e[2]),typeof e[2]=="object"||typeof e[3]=="object"){const n=e[3]||e[2];Object.keys(n).forEach(r=>{t[r]=n[r]})}return t},interpolation:{escapeValue:!0,format:e=>e,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}),za=e=>(T(e.ns)&&(e.ns=[e.ns]),T(e.fallbackLng)&&(e.fallbackLng=[e.fallbackLng]),T(e.fallbackNS)&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs&&e.supportedLngs.indexOf("cimode")<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),e),Fr=()=>{},Mh=e=>{Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach(n=>{typeof e[n]=="function"&&(e[n]=e[n].bind(e))})};class fr extends Ai{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;if(super(),this.options=za(t),this.services={},this.logger=We,this.modules={external:[]},Mh(this),n&&!this.isInitialized&&!t.isClone){if(!this.options.initImmediate)return this.init(t,n),this;setTimeout(()=>{this.init(t,n)},0)}}init(){var t=this;let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0;this.isInitializing=!0,typeof n=="function"&&(r=n,n={}),!n.defaultNS&&n.defaultNS!==!1&&n.ns&&(T(n.ns)?n.defaultNS=n.ns:n.ns.indexOf("translation")<0&&(n.defaultNS=n.ns[0]));const i=Oa();this.options={...i,...this.options,...za(n)},this.options.compatibilityAPI!=="v1"&&(this.options.interpolation={...i.interpolation,...this.options.interpolation}),n.keySeparator!==void 0&&(this.options.userDefinedKeySeparator=n.keySeparator),n.nsSeparator!==void 0&&(this.options.userDefinedNsSeparator=n.nsSeparator);const l=f=>f?typeof f=="function"?new f:f:null;if(!this.options.isClone){this.modules.logger?We.init(l(this.modules.logger),this.options):We.init(null,this.options);let f;this.modules.formatter?f=this.modules.formatter:typeof Intl<"u"&&(f=Ih);const h=new ja(this.options);this.store=new Ca(this.options.resources,this.options);const c=this.services;c.logger=We,c.resourceStore=this.store,c.languageUtils=h,c.pluralResolver=new Th(h,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),f&&(!this.options.interpolation.format||this.options.interpolation.format===i.interpolation.format)&&(c.formatter=l(f),c.formatter.init(c,this.options),this.options.interpolation.format=c.formatter.format.bind(c.formatter)),c.interpolator=new _h(this.options),c.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},c.backendConnector=new $h(l(this.modules.backend),c.resourceStore,c,this.options),c.backendConnector.on("*",function(y){for(var x=arguments.length,w=new Array(x>1?x-1:0),O=1;O 1?x-1:0),O=1;O {y.init&&y.init(this)})}if(this.format=this.options.interpolation.format,r||(r=Fr),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){const f=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);f.length>0&&f[0]!=="dev"&&(this.options.lng=f[0])}!this.services.languageDetector&&!this.options.lng&&this.logger.warn("init: no languageDetector is used and no lng is defined"),["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach(f=>{this[f]=function(){return t.store[f](...arguments)}}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(f=>{this[f]=function(){return t.store[f](...arguments),t}});const a=Tn(),u=()=>{const f=(h,c)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn("init: i18next is already initialized. You should call init just once!"),this.isInitialized=!0,this.options.isClone||this.logger.log("initialized",this.options),this.emit("initialized",this.options),a.resolve(c),r(h,c)};if(this.languages&&this.options.compatibilityAPI!=="v1"&&!this.isInitialized)return f(null,this.t.bind(this));this.changeLanguage(this.options.lng,f)};return this.options.resources||!this.options.initImmediate?u():setTimeout(u,0),a}loadResources(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Fr;const i=T(t)?t:this.language;if(typeof t=="function"&&(r=t),!this.options.resources||this.options.partialBundledLanguages){if(i&&i.toLowerCase()==="cimode"&&(!this.options.preload||this.options.preload.length===0))return r();const l=[],o=s=>{if(!s||s==="cimode")return;this.services.languageUtils.toResolveHierarchy(s).forEach(u=>{u!=="cimode"&&l.indexOf(u)<0&&l.push(u)})};i?o(i):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(a=>o(a)),this.options.preload&&this.options.preload.forEach(s=>o(s)),this.services.backendConnector.load(l,this.options.ns,s=>{!s&&!this.resolvedLanguage&&this.language&&this.setResolvedLanguage(this.language),r(s)})}else r(null)}reloadResources(t,n,r){const i=Tn();return typeof t=="function"&&(r=t,t=void 0),typeof n=="function"&&(r=n,n=void 0),t||(t=this.languages),n||(n=this.options.ns),r||(r=Fr),this.services.backendConnector.reload(t,n,l=>{i.resolve(),r(l)}),i}use(t){if(!t)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!t.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return t.type==="backend"&&(this.modules.backend=t),(t.type==="logger"||t.log&&t.warn&&t.error)&&(this.modules.logger=t),t.type==="languageDetector"&&(this.modules.languageDetector=t),t.type==="i18nFormat"&&(this.modules.i18nFormat=t),t.type==="postProcessor"&&bc.addPostProcessor(t),t.type==="formatter"&&(this.modules.formatter=t),t.type==="3rdParty"&&this.modules.external.push(t),this}setResolvedLanguage(t){if(!(!t||!this.languages)&&!(["cimode","dev"].indexOf(t)>-1))for(let n=0;n -1)&&this.store.hasLanguageSomeTranslations(r)){this.resolvedLanguage=r;break}}}changeLanguage(t,n){var r=this;this.isLanguageChangingTo=t;const i=Tn();this.emit("languageChanging",t);const l=a=>{this.language=a,this.languages=this.services.languageUtils.toResolveHierarchy(a),this.resolvedLanguage=void 0,this.setResolvedLanguage(a)},o=(a,u)=>{u?(l(u),this.translator.changeLanguage(u),this.isLanguageChangingTo=void 0,this.emit("languageChanged",u),this.logger.log("languageChanged",u)):this.isLanguageChangingTo=void 0,i.resolve(function(){return r.t(...arguments)}),n&&n(a,function(){return r.t(...arguments)})},s=a=>{!t&&!a&&this.services.languageDetector&&(a=[]);const u=T(a)?a:this.services.languageUtils.getBestMatchFromCodes(a);u&&(this.language||l(u),this.translator.language||this.translator.changeLanguage(u),this.services.languageDetector&&this.services.languageDetector.cacheUserLanguage&&this.services.languageDetector.cacheUserLanguage(u)),this.loadResources(u,f=>{o(f,u)})};return!t&&this.services.languageDetector&&!this.services.languageDetector.async?s(this.services.languageDetector.detect()):!t&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect.length===0?this.services.languageDetector.detect().then(s):this.services.languageDetector.detect(s):s(t),i}getFixedT(t,n,r){var i=this;const l=function(o,s){let a;if(typeof s!="object"){for(var u=arguments.length,f=new Array(u>2?u-2:0),h=2;h`${a.keyPrefix}${c}${x}`):y=a.keyPrefix?`${a.keyPrefix}${c}${o}`:o,i.t(y,a)};return T(t)?l.lng=t:l.lngs=t,l.ns=n,l.keyPrefix=r,l}t(){return this.translator&&this.translator.translate(...arguments)}exists(){return this.translator&&this.translator.exists(...arguments)}setDefaultNamespace(t){this.options.defaultNS=t}hasLoadedNamespace(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;const r=n.lng||this.resolvedLanguage||this.languages[0],i=this.options?this.options.fallbackLng:!1,l=this.languages[this.languages.length-1];if(r.toLowerCase()==="cimode")return!0;const o=(s,a)=>{const u=this.services.backendConnector.state[`${s}|${a}`];return u===-1||u===0||u===2};if(n.precheck){const s=n.precheck(this,o);if(s!==void 0)return s}return!!(this.hasResourceBundle(r,t)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||o(r,t)&&(!i||o(l,t)))}loadNamespaces(t,n){const r=Tn();return this.options.ns?(T(t)&&(t=[t]),t.forEach(i=>{this.options.ns.indexOf(i)<0&&this.options.ns.push(i)}),this.loadResources(i=>{r.resolve(),n&&n(i)}),r):(n&&n(),Promise.resolve())}loadLanguages(t,n){const r=Tn();T(t)&&(t=[t]);const i=this.options.preload||[],l=t.filter(o=>i.indexOf(o)<0&&this.services.languageUtils.isSupportedCode(o));return l.length?(this.options.preload=i.concat(l),this.loadResources(o=>{r.resolve(),n&&n(o)}),r):(n&&n(),Promise.resolve())}dir(t){if(t||(t=this.resolvedLanguage||(this.languages&&this.languages.length>0?this.languages[0]:this.language)),!t)return"rtl";const n=["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"],r=this.services&&this.services.languageUtils||new ja(Oa());return n.indexOf(r.getLanguagePartFromCode(t))>-1||t.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return new fr(t,n)}cloneInstance(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Fr;const r=t.forkResourceStore;r&&delete t.forkResourceStore;const i={...this.options,...t,isClone:!0},l=new fr(i);return(t.debug!==void 0||t.prefix!==void 0)&&(l.logger=l.logger.clone(t)),["store","services","language"].forEach(s=>{l[s]=this[s]}),l.services={...this.services},l.services.utils={hasLoadedNamespace:l.hasLoadedNamespace.bind(l)},r&&(l.store=new Ca(this.store.data,i),l.services.resourceStore=l.store),l.translator=new ki(l.services,i),l.translator.on("*",function(s){for(var a=arguments.length,u=new Array(a>1?a-1:0),f=1;f0){var s=i.maxAge-0;if(Number.isNaN(s))throw new Error("maxAge should be a Number");o+="; Max-Age=".concat(Math.floor(s))}if(i.domain){if(!Ra.test(i.domain))throw new TypeError("option domain is invalid");o+="; Domain=".concat(i.domain)}if(i.path){if(!Ra.test(i.path))throw new TypeError("option path is invalid");o+="; Path=".concat(i.path)}if(i.expires){if(typeof i.expires.toUTCString!="function")throw new TypeError("option expires is invalid");o+="; Expires=".concat(i.expires.toUTCString())}if(i.httpOnly&&(o+="; HttpOnly"),i.secure&&(o+="; Secure"),i.sameSite){var a=typeof i.sameSite=="string"?i.sameSite.toLowerCase():i.sameSite;switch(a){case!0:o+="; SameSite=Strict";break;case"lax":o+="; SameSite=Lax";break;case"strict":o+="; SameSite=Strict";break;case"none":o+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}}return o},Ta={create:function(t,n,r,i){var l=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{path:"/",sameSite:"strict"};r&&(l.expires=new Date,l.expires.setTime(l.expires.getTime()+r*60*1e3)),i&&(l.domain=i),document.cookie=Gh(t,encodeURIComponent(n),l)},read:function(t){for(var n="".concat(t,"="),r=document.cookie.split(";"),i=0;i -1&&(r=window.location.hash.substring(window.location.hash.indexOf("?")));for(var i=r.substring(1),l=i.split("&"),o=0;o 0){var a=l[o].substring(0,s);a===t.lookupQuerystring&&(n=l[o].substring(s+1))}}}return n}},_n=null,_a=function(){if(_n!==null)return _n;try{_n=window!=="undefined"&&window.localStorage!==null;var t="i18next.translate.boo";window.localStorage.setItem(t,"foo"),window.localStorage.removeItem(t)}catch{_n=!1}return _n},Xh={name:"localStorage",lookup:function(t){var n;if(t.lookupLocalStorage&&_a()){var r=window.localStorage.getItem(t.lookupLocalStorage);r&&(n=r)}return n},cacheUserLanguage:function(t,n){n.lookupLocalStorage&&_a()&&window.localStorage.setItem(n.lookupLocalStorage,t)}},Dn=null,Da=function(){if(Dn!==null)return Dn;try{Dn=window!=="undefined"&&window.sessionStorage!==null;var t="i18next.translate.boo";window.sessionStorage.setItem(t,"foo"),window.sessionStorage.removeItem(t)}catch{Dn=!1}return Dn},Zh={name:"sessionStorage",lookup:function(t){var n;if(t.lookupSessionStorage&&Da()){var r=window.sessionStorage.getItem(t.lookupSessionStorage);r&&(n=r)}return n},cacheUserLanguage:function(t,n){n.lookupSessionStorage&&Da()&&window.sessionStorage.setItem(n.lookupSessionStorage,t)}},qh={name:"navigator",lookup:function(t){var n=[];if(typeof navigator<"u"){if(navigator.languages)for(var r=0;r 0?n:void 0}},bh={name:"htmlTag",lookup:function(t){var n,r=t.htmlTag||(typeof document<"u"?document.documentElement:null);return r&&typeof r.getAttribute=="function"&&(n=r.getAttribute("lang")),n}},eg={name:"path",lookup:function(t){var n;if(typeof window<"u"){var r=window.location.pathname.match(/\/([a-zA-Z-]*)/g);if(r instanceof Array)if(typeof t.lookupFromPathIndex=="number"){if(typeof r[t.lookupFromPathIndex]!="string")return;n=r[t.lookupFromPathIndex].replace("/","")}else n=r[0].replace("/","")}return n}},tg={name:"subdomain",lookup:function(t){var n=typeof t.lookupFromSubdomainIndex=="number"?t.lookupFromSubdomainIndex+1:1,r=typeof window<"u"&&window.location&&window.location.hostname&&window.location.hostname.match(/^(\w{2,5})\.(([a-z0-9-]{1,63}\.[a-z]{2,6})|localhost)/i);if(r)return r[n]}},td=!1;try{document.cookie,td=!0}catch{}var nd=["querystring","cookie","localStorage","sessionStorage","navigator","htmlTag"];td||nd.splice(1,1);function ng(){return{order:nd,lookupQuerystring:"lng",lookupCookie:"i18next",lookupLocalStorage:"i18nextLng",lookupSessionStorage:"i18nextLng",caches:["localStorage"],excludeCacheFor:["cimode"],convertDetectedLanguage:function(t){return t}}}var rd=function(){function e(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};Ah(this,e),this.type="languageDetector",this.detectors={},this.init(t,n)}return Bh(e,[{key:"init",value:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};this.services=n||{languageUtils:{}},this.options=Qh(r,this.options||{},ng()),typeof this.options.convertDetectedLanguage=="string"&&this.options.convertDetectedLanguage.indexOf("15897")>-1&&(this.options.convertDetectedLanguage=function(l){return l.replace("-","_")}),this.options.lookupFromUrlIndex&&(this.options.lookupFromPathIndex=this.options.lookupFromUrlIndex),this.i18nOptions=i,this.addDetector(Yh),this.addDetector(Jh),this.addDetector(Xh),this.addDetector(Zh),this.addDetector(qh),this.addDetector(bh),this.addDetector(eg),this.addDetector(tg)}},{key:"addDetector",value:function(n){return this.detectors[n.name]=n,this}},{key:"detect",value:function(n){var r=this;n||(n=this.options.order);var i=[];return n.forEach(function(l){if(r.detectors[l]){var o=r.detectors[l].lookup(r.options);o&&typeof o=="string"&&(o=[o]),o&&(i=i.concat(o))}}),i=i.map(function(l){return r.options.convertDetectedLanguage(l)}),this.services.languageUtils.getBestMatchFromCodes?i:i.length>0?i[0]:null}},{key:"cacheUserLanguage",value:function(n,r){var i=this;r||(r=this.options.caches),r&&(this.options.excludeCacheFor&&this.options.excludeCacheFor.indexOf(n)>-1||r.forEach(function(l){i.detectors[l]&&i.detectors[l].cacheUserLanguage(n,i.options)}))}}])}();rd.type="languageDetector";const rg="SecureFlow",ig="Advanced Download Management System with intelligent content detection, military-grade encryption, and distributed European network infrastructure.",lg="Beta Access Only - Invitation Required",og="Note: Our service strictly prohibits downloading copyrighted materials.",sg={servers:"Active Servers",uptime:"Uptime",speed:"Speed"},ag={title:"Select File Type",auto:"Auto-detect",video:"Video",audio:"Audio",document:"Document",archive:"Archive"},ug={url:"Enter Download URL",button:"Download"},cg={speed:{title:"Lightning Fast",description:"Advanced P2P technology with distributed nodes across Europe. Experience unlimited speeds with our optimized network infrastructure."},security:{title:"Secure Downloads",description:"Enterprise-grade encryption and secure peer verification. Your downloads are protected with military-grade security protocols."},network:{title:"Global Network",description:"Dynamic server pool that updates every 2 hours. Smart routing ensures optimal speeds from the nearest locations."}},dg={title:"Network Status",serversOnline:"Servers Online",version:"Beta v0.9.2"},fg={title:"Authentication Required",description:"You need to be authenticated to access our download system",email:"Email Address",emailPlaceholder:"Enter your email",button:"Request Access Key"},pg={rights:"All rights reserved.",developed:"Developed in the EU. GDPR Compliant.",copyright:"We respect intellectual property rights and prohibit downloading copyrighted content."},hg={title:rg,subtitle:ig,betaAccess:lg,copyrightNotice:og,stats:sg,fileTypes:ag,download:ug,features:cg,networkStatus:dg,auth:fg,footer:pg},gg="SecureFlow",mg="Fortschrittliches Download-Management-System mit intelligenter Inhaltserkennung, militärischer Verschlüsselung und verteilter europäischer Netzwerkinfrastruktur.",vg="Nur Beta-Zugang - Einladung erforderlich",yg="Hinweis: Unser Service verbietet strikt das Herunterladen urheberrechtlich geschützter Materialien.",xg={servers:"Aktive Server",uptime:"Verfügbarkeit",speed:"Geschwindigkeit"},wg={title:"Dateityp auswählen",auto:"Auto-Erkennung",video:"Video",audio:"Audio",document:"Dokument",archive:"Archiv"},Sg={url:"Download-URL eingeben",button:"Herunterladen"},kg={speed:{title:"Blitzschnell",description:"Fortschrittliche P2P-Technologie mit verteilten Knoten in ganz Europa. Erleben Sie unbegrenzte Geschwindigkeiten mit unserer optimierten Netzwerkinfrastruktur."},security:{title:"Sichere Downloads",description:"Unternehmenstaugliche Verschlüsselung und sichere Peer-Verifizierung. Ihre Downloads sind durch militärische Sicherheitsprotokolle geschützt."},network:{title:"Globales Netzwerk",description:"Dynamischer Server-Pool, der alle 2 Stunden aktualisiert wird. Intelligentes Routing gewährleistet optimale Geschwindigkeiten von den nächstgelegenen Standorten."}},Ng={title:"Netzwerkstatus",serversOnline:"Server Online",version:"Beta v0.9.2"},Cg={title:"Authentifizierung erforderlich",description:"Sie müssen sich authentifizieren, um unser Download-System zu nutzen",email:"E-Mail-Adresse",emailPlaceholder:"E-Mail eingeben",button:"Zugriffsschlüssel anfordern"},Eg={rights:"Alle Rechte vorbehalten.",developed:"Entwickelt in der EU. DSGVO-konform.",copyright:"Wir respektieren geistige Eigentumsrechte und verbieten das Herunterladen urheberrechtlich geschützter Inhalte."},jg={title:gg,subtitle:mg,betaAccess:vg,copyrightNotice:yg,stats:xg,fileTypes:wg,download:Sg,features:kg,networkStatus:Ng,auth:Cg,footer:Eg},Lg="SecureFlow",Pg="Продвинутая система управления загрузками с интеллектуальным определением контента, военным шифрованием и распределенной европейской сетевой инфраструктурой.",Og="Только бета-доступ - Требуется приглашение",zg="Примечание: Наш сервис строго запрещает загрузку материалов, защищенных авторским правом.",Rg={servers:"Активные серверы",uptime:"Время работы",speed:"Скорость"},Tg={title:"Выберите тип файла",auto:"Автоопределение",video:"Видео",audio:"Аудио",document:"Документ",archive:"Архив"},_g={url:"Введите URL для загрузки",button:"Загрузить"},Dg={speed:{title:"Молниеносная скорость",description:"Передовая P2P технология с распределенными узлами по всей Европе. Испытайте неограниченные скорости с нашей оптимизированной сетевой инфраструктурой."},security:{title:"Безопасные загрузки",description:"Корпоративное шифрование и безопасная верификация пиров. Ваши загрузки защищены протоколами военного уровня безопасности."},network:{title:"Глобальная сеть",description:"Динамический пул серверов, обновляющийся каждые 2 часа. Умная маршрутизация обеспечивает оптимальную скорость с ближайших локаций."}},Ig={title:"Статус сети",serversOnline:"Серверов онлайн",version:"Бета v0.9.2"},Fg={title:"Требуется аутентификация",description:"Для доступа к системе загрузки необходима аутентификация",email:"Email адрес",emailPlaceholder:"Введите email",button:"Запросить ключ доступа"},$g={rights:"Все права защищены.",developed:"Разработано в ЕС. Соответствует GDPR.",copyright:"Мы уважаем права интеллектуальной собственности и запрещаем загрузку контента, защищенного авторским правом."},Mg={title:Lg,subtitle:Pg,betaAccess:Og,copyrightNotice:zg,stats:Rg,fileTypes:Tg,download:_g,features:Dg,networkStatus:Ig,auth:Fg,footer:$g};ce.use(rd).use(ch).init({resources:{en:{translation:hg},de:{translation:jg},ru:{translation:Mg}},fallbackLng:"en",interpolation:{escapeValue:!1}});const Ag=[{country:"Germany",cities:["Frankfurt","Berlin","Munich","Hamburg","Düsseldorf"]},{country:"Netherlands",cities:["Amsterdam","Rotterdam","Utrecht","The Hague","Eindhoven"]},{country:"Estonia",cities:["Tallinn","Tartu","Narva"]},{country:"Romania",cities:["Bucharest","Cluj-Napoca","Timișoara","Iași"]},{country:"Finland",cities:["Helsinki","Tampere","Turku"]},{country:"Sweden",cities:["Stockholm","Gothenburg","Malmö"]},{country:"Norway",cities:["Oslo","Bergen","Trondheim"]},{country:"Denmark",cities:["Copenhagen","Aarhus","Odense"]},{country:"Poland",cities:["Warsaw","Kraków","Gdańsk","Wrocław"]},{country:"Czech Republic",cities:["Prague","Brno","Ostrava"]}],Ia=[{code:"en",name:"English",flag:"🇬🇧"},{code:"de",name:"Deutsch",flag:"🇩🇪"},{code:"ru",name:"Русский",flag:"🇷🇺"},{code:"fr",name:"Français",flag:"🇫🇷"}];function Ug(){var R;const{t:e,i18n:t}=gh(),[n,r]=F.useState(null),[i,l]=F.useState(""),[o,s]=F.useState("1080p"),[a,u]=F.useState("320"),[f,h]=F.useState("pdf"),[c,y]=F.useState("zip"),[x,w]=F.useState(!0),[O,p]=F.useState(!1),[d,m]=F.useState(""),[v,S]=F.useState(""),[C,N]=F.useState(""),[L,A]=F.useState(!1),[_,Z]=F.useState([]),[Ye,Je]=F.useState(0),[Te,Ve]=F.useState(!1);F.useEffect(()=>{_e();const P=setInterval(_e,2*60*60*1e3);return()=>clearInterval(P)},[]);const _e=()=>{const P=[],U=Math.floor(Math.random()*6)+5;[...Ag].sort(()=>Math.random()-.5).slice(0,U).forEach(({country:Pt,cities:Xe})=>{const Wt=[...Xe].sort(()=>Math.random()-.5),id=Math.floor(Math.random()*3)+1;Wt.slice(0,id).forEach(ld=>{const od={country:Pt,city:ld,status:Math.random()>.9?"degraded":"operational",uptime:99.5+Math.random()*.5,responseTime:20+Math.random()*80};P.push(od)})}),Je(P.length),Z(P)},st=()=>{if(!i.trim()){N(e("download.urlError"));return}p(!0)},E=()=>{if(!d){S(e("auth.emailRequired"));return}if(!d.match(/^[^\s@]+@[^\s@]+\.[^\s@]+$/)){S(e("auth.invalidEmail"));return}S(e("auth.notFound"))},z=P=>{t.changeLanguage(P),Ve(!1)};return g.jsxs("div",{className:"min-h-screen bg-mesh text-white overflow-x-hidden",children:[g.jsx("div",{className:"fixed top-4 right-4 z-50",children:g.jsxs("div",{className:"relative",children:[g.jsxs("button",{onClick:()=>Ve(!Te),className:"glass-card px-4 py-2 rounded-xl flex items-center gap-2 hover:bg-white/10 transition-all",children:[g.jsx(ga,{size:20}),g.jsx("span",{children:(R=Ia.find(P=>P.code===t.language))==null?void 0:R.flag})]}),Te&&g.jsx("div",{className:"absolute top-full right-0 mt-2 glass-card rounded-xl overflow-hidden w-40 animate-[slideDown_0.2s_ease-out]",children:Ia.map(P=>g.jsxs("button",{onClick:()=>z(P.code),className:`w-full px-4 py-2 flex items-center gap-2 hover:bg-white/10 transition-all ${t.language===P.code?"bg-white/10":""}`,children:[g.jsx("span",{children:P.flag}),g.jsx("span",{children:P.name})]},P.code))})]})}),g.jsx("div",{className:"bg-emerald-600/90 backdrop-blur-sm py-2 px-4 text-center sticky top-0 z-40 shimmer",children:g.jsxs("p",{className:"text-sm font-medium flex items-center justify-center gap-2",children:[g.jsx(fl,{size:16,className:"animate-pulse"})," ",e("betaAccess")]})}),g.jsxs("div",{className:"max-w-4xl mx-auto px-4 py-8 md:py-16",children:[g.jsxs("div",{className:"text-center mb-8 md:mb-12 relative",children:[g.jsx("div",{className:"absolute inset-0 -z-10 flex items-center justify-center opacity-10",children:g.jsx("div",{className:"w-48 md:w-64 h-48 md:h-64 bg-emerald-500 rounded-full blur-3xl animate-pulse"})}),g.jsxs("h1",{className:"text-4xl md:text-5xl font-bold mb-4 flex items-center justify-center gap-3 text-gradient",children:[g.jsx(ma,{className:"text-emerald-400 w-8 h-8 md:w-10 md:h-10 animate-pulse"}),e("title")]}),g.jsxs("p",{className:"text-gray-300 text-base md:text-lg max-w-2xl mx-auto animate-[fadeIn_0.5s_ease-out]",children:[e("subtitle"),g.jsx("span",{className:"block mt-2 text-sm text-emerald-400",children:e("copyrightNotice")})]}),g.jsxs("div",{className:"mt-6 md:mt-8 grid grid-cols-1 sm:grid-cols-3 gap-3 md:gap-4 max-w-lg mx-auto stats-grid",children:[g.jsxs("div",{className:"glass-card rounded-xl p-3 stats-card",children:[g.jsx("div",{className:"text-xl md:text-2xl font-bold text-emerald-400",children:Ye}),g.jsx("div",{className:"text-sm text-gray-400",children:e("stats.servers")}),g.jsx("div",{className:"stats-emoji emoji-1",children:"👍"}),g.jsx("div",{className:"stats-emoji emoji-2",children:"👍"}),g.jsx("div",{className:"stats-emoji emoji-3",children:"👍"}),g.jsx("div",{className:"stats-emoji emoji-4",children:"👍"}),g.jsx("div",{className:"stats-emoji emoji-5",children:"👍"}),g.jsx("div",{className:"stats-emoji emoji-6",children:"👍"})]}),g.jsxs("div",{className:"glass-card rounded-xl p-3 stats-card",children:[g.jsx("div",{className:"text-xl md:text-2xl font-bold text-emerald-400",children:"99.9%"}),g.jsx("div",{className:"text-sm text-gray-400",children:e("stats.uptime")}),g.jsx("div",{className:"stats-emoji emoji-1",children:"⭐"}),g.jsx("div",{className:"stats-emoji emoji-2",children:"⭐"}),g.jsx("div",{className:"stats-emoji emoji-3",children:"⭐"}),g.jsx("div",{className:"stats-emoji emoji-4",children:"⭐"}),g.jsx("div",{className:"stats-emoji emoji-5",children:"⭐"}),g.jsx("div",{className:"stats-emoji emoji-6",children:"⭐"})]}),g.jsxs("div",{className:"glass-card rounded-xl p-3 stats-card",children:[g.jsx("div",{className:"text-xl md:text-2xl font-bold text-emerald-400",children:"3TB/s"}),g.jsx("div",{className:"text-sm text-gray-400",children:e("stats.speed")}),g.jsx("div",{className:"stats-emoji emoji-1",children:"⚡"}),g.jsx("div",{className:"stats-emoji emoji-2",children:"⚡"}),g.jsx("div",{className:"stats-emoji emoji-3",children:"⚡"}),g.jsx("div",{className:"stats-emoji emoji-4",children:"⚡"}),g.jsx("div",{className:"stats-emoji emoji-5",children:"⚡"}),g.jsx("div",{className:"stats-emoji emoji-6",children:"⚡"})]})]})]}),g.jsxs("div",{className:"glass-card rounded-xl p-6 relative overflow-hidden hover:border-emerald-500/20 transition-all duration-300",children:[g.jsx("div",{className:"absolute top-0 right-0 w-32 md:w-40 h-32 md:h-40 bg-emerald-500/10 rounded-full blur-2xl -z-10 animate-pulse"}),g.jsxs("div",{className:"space-y-6",children:[g.jsxs("div",{children:[g.jsxs("h3",{className:"text-lg font-medium text-gray-300 mb-4 flex items-center gap-2",children:[g.jsx(Jp,{size:20,className:"text-emerald-400"}),e("fileTypes.title")]}),g.jsxs("div",{className:"grid grid-cols-2 md:grid-cols-5 gap-3",children:[g.jsxs("button",{onClick:()=>r("auto"),className:`flex items-center justify-center gap-2 px-4 py-3 rounded-xl transition-all hover-glow ${n==="auto"?"glass-card border-emerald-500/50 bg-emerald-600/20":"glass-card hover:border-emerald-500/30"}`,children:[g.jsx(Yp,{size:20}),e("fileTypes.auto")]}),g.jsxs("button",{onClick:()=>r("video"),className:`flex items-center justify-center gap-2 px-4 py-3 rounded-xl transition-all hover-glow ${n==="video"?"glass-card border-emerald-500/50 bg-emerald-600/20":"glass-card hover:border-emerald-500/30"}`,children:[g.jsx(Xp,{size:20}),e("fileTypes.video")]}),g.jsxs("button",{onClick:()=>r("audio"),className:`flex items-center justify-center gap-2 px-4 py-3 rounded-xl transition-all hover-glow ${n==="audio"?"glass-card border-emerald-500/50 bg-emerald-600/20":"glass-card hover:border-emerald-500/30"}`,children:[g.jsx(Gp,{size:20}),e("fileTypes.audio")]}),g.jsxs("button",{onClick:()=>r("document"),className:`flex items-center justify-center gap-2 px-4 py-3 rounded-xl transition-all hover-glow ${n==="document"?"glass-card border-emerald-500/50 bg-emerald-600/20":"glass-card hover:border-emerald-500/30"}`,children:[g.jsx(Kp,{size:20}),e("fileTypes.document")]}),g.jsxs("button",{onClick:()=>r("archive"),className:`flex items-center justify-center gap-2 px-4 py-3 rounded-xl transition-all hover-glow ${n==="archive"?"glass-card border-emerald-500/50 bg-emerald-600/20":"glass-card hover:border-emerald-500/30"}`,children:[g.jsx(Ap,{size:20}),e("fileTypes.archive")]})]})]}),n&&g.jsxs(g.Fragment,{children:[g.jsxs("div",{className:"relative",children:[g.jsxs("label",{className:"block text-sm font-medium text-gray-300 mb-2 flex items-center gap-2",children:[g.jsx(Wp,{size:16,className:"text-emerald-400"}),e("download.url")]}),g.jsxs("div",{className:"flex flex-col sm:flex-row gap-2",children:[g.jsx("input",{type:"text",value:i,onChange:P=>{l(P.target.value),N("")},placeholder:"https://",className:"flex-1 glass-card rounded-xl px-4 py-2 focus:outline-none focus:ring-2 focus:ring-emerald-500 text-white placeholder-gray-500"}),g.jsxs("button",{onClick:st,className:"bg-emerald-600 hover:bg-emerald-700 px-6 py-2 rounded-xl flex items-center justify-center gap-2 transition-colors shadow-lg hover:shadow-emerald-500/20 whitespace-nowrap hover-glow",children:[g.jsx(Bp,{size:20}),e("download.button")]})]}),C&&g.jsx("div",{className:"mt-2 text-red-400 text-sm bg-red-400/10 backdrop-blur-sm p-3 rounded-xl border border-red-400/20",children:C})]}),n==="auto"&&g.jsx("div",{className:"space-y-4",children:g.jsx("div",{className:"glass-card p-4 rounded-xl",children:g.jsx("p",{className:"text-sm text-gray-300",children:"Our AI will automatically detect the content type and optimize the download settings. This is the recommended option for most users."})})}),n==="video"&&g.jsxs("div",{className:"space-y-4",children:[g.jsxs("div",{className:"flex items-center space-x-3 mb-4",children:[g.jsx("input",{type:"checkbox",id:"autoDetect",checked:x,onChange:P=>w(P.target.checked),className:"w-4 h-4 text-emerald-600 border-gray-600 rounded focus:ring-emerald-500 bg-gray-700"}),g.jsx("label",{htmlFor:"autoDetect",className:"text-sm text-gray-300",children:"Auto-detect optimal quality (Recommended)"})]}),g.jsxs("select",{value:o,onChange:P=>{s(P.target.value),w(!1)},disabled:x,className:`w-full glass-card rounded-xl px-4 py-2 focus:outline-none focus:ring-2 focus:ring-emerald-500 ${x?"opacity-50 cursor-not-allowed":""}`,children:[g.jsx("option",{value:"4k",children:"4K Ultra HD (2160p)"}),g.jsx("option",{value:"1440p",children:"2K Quad HD (1440p)"}),g.jsx("option",{value:"1080p",children:"Full HD (1080p)"}),g.jsx("option",{value:"720p",children:"HD Ready (720p)"}),g.jsx("option",{value:"480p",children:"SD (480p)"})]})]}),n==="audio"&&g.jsx("div",{className:"space-y-2",children:g.jsxs("select",{value:a,onChange:P=>u(P.target.value),className:"w-full glass-card rounded-xl px-4 py-2 focus:outline-none focus:ring-2 focus:ring-emerald-500",children:[g.jsx("option",{value:"320",children:"High Quality (320 kbps)"}),g.jsx("option",{value:"256",children:"Premium (256 kbps)"}),g.jsx("option",{value:"192",children:"Standard (192 kbps)"}),g.jsx("option",{value:"128",children:"Basic (128 kbps)"})]})}),n==="document"&&g.jsx("div",{className:"space-y-2",children:g.jsxs("select",{value:f,onChange:P=>h(P.target.value),className:"w-full glass-card rounded-xl px-4 py-2 focus:outline-none focus:ring-2 focus:ring-emerald-500",children:[g.jsx("option",{value:"pdf",children:"PDF - Universal Format"}),g.jsx("option",{value:"doc",children:"DOC - Microsoft Word"}),g.jsx("option",{value:"docx",children:"DOCX - Modern Word Format"}),g.jsx("option",{value:"txt",children:"TXT - Plain Text"}),g.jsx("option",{value:"rtf",children:"RTF - Rich Text Format"})]})}),n==="archive"&&g.jsx("div",{className:"space-y-2",children:g.jsxs("select",{value:c,onChange:P=>y(P.target.value),className:"w-full glass-card rounded-xl px-4 py-2 focus:outline-none focus:ring-2 focus:ring-emerald-500",children:[g.jsx("option",{value:"zip",children:"ZIP - Universal Compression"}),g.jsx("option",{value:"rar",children:"RAR - Better Compression"}),g.jsx("option",{value:"7z",children:"7Z - Maximum Compression"}),g.jsx("option",{value:"tar",children:"TAR - Unix Archive"}),g.jsx("option",{value:"gz",children:"GZ - Fast Compression"})]})})]})]})]}),g.jsxs("div",{className:"mt-8 md:mt-12 grid grid-cols-1 md:grid-cols-3 gap-4 md:gap-6",children:[g.jsxs("div",{className:"feature-card glass-card rounded-xl p-6 hover:border-emerald-500/50 transition-all duration-300",children:[g.jsxs("div",{className:"relative",children:[g.jsx(ma,{className:"feature-icon text-emerald-400 mb-4 transition-all duration-300",size:24}),g.jsx("div",{className:"absolute inset-0 bg-emerald-500/20 blur-2xl -z-10"})]}),g.jsx("h3",{className:"text-lg font-semibold mb-2",children:e("features.speed.title")}),g.jsx("p",{className:"text-gray-400 text-sm",children:e("features.speed.description")})]}),g.jsxs("div",{className:"feature-card glass-card rounded-xl p-6 hover:border-emerald-500/50 transition-all duration-300",children:[g.jsxs("div",{className:"relative",children:[g.jsx(fl,{className:"feature-icon text-emerald-400 mb-4 transition-all duration-300",size:24}),g.jsx("div",{className:"absolute inset-0 bg-emerald-500/20 blur-2xl -z-10"})]}),g.jsx("h3",{className:"text-lg font-semibold mb-2",children:e("features.security.title")}),g.jsx("p",{className:"text-gray-400 text-sm",children:e("features.security.description")})]}),g.jsxs("div",{className:"feature-card glass-card rounded-xl p-6 hover:border-emerald-500/50 transition-all duration-300",children:[g.jsxs("div",{className:"relative",children:[g.jsx(ga,{className:"feature-icon text-emerald-400 mb-4 transition-all duration-300",size:24}),g.jsx("div",{className:"absolute inset-0 bg-emerald-500/20 blur-2xl -z-10"})]}),g.jsx("h3",{className:"text-lg font-semibold mb-2",children:e("features.network.title")}),g.jsx("p",{className:"text-gray-400 text-sm",children:e("features.network.description")})]})]}),g.jsxs("div",{className:"mt-6 md:mt-8",children:[g.jsxs("button",{onClick:()=>A(!L),className:"w-full glass-card rounded-xl p-4 flex items-center justify-between hover:border-emerald-500/50 transition-all duration-300",children:[g.jsxs("div",{className:"flex items-center gap-2",children:[g.jsx(Up,{className:"text-green-500 status-indicator",size:20}),g.jsxs("span",{className:"text-sm text-gray-300",children:[e("networkStatus.title"),": ",Ye," ",e("networkStatus.serversOnline")]})]}),g.jsxs("div",{className:"flex items-center gap-4",children:[g.jsxs("div",{className:"flex items-center gap-2",children:[g.jsx(Mp,{className:"text-yellow-500",size:20}),g.jsx("span",{className:"text-sm text-gray-300",children:e("networkStatus.version")})]}),L?g.jsx(Hp,{className:"text-gray-400",size:20}):g.jsx(Vp,{className:"text-gray-400",size:20})]})]}),L&&g.jsxs("div",{className:"mt-2 glass-card rounded-xl p-4 animate-[slideDown_0.3s_ease-out]",children:[g.jsx("h3",{className:"text-lg font-medium mb-4",children:"European Server Network Status"}),g.jsx("div",{className:"space-y-4",children:_.reduce((P,U)=>(P.find(K=>K.key===U.country)||P.push(g.jsxs("div",{children:[g.jsx("h4",{className:"font-medium text-gray-300 mb-2",children:U.country}),g.jsx("div",{className:"space-y-2",children:_.filter(K=>K.country===U.country).map((K,Pt)=>g.jsxs("div",{className:"glass-card rounded-xl p-3 flex items-center justify-between",children:[g.jsxs("div",{children:[g.jsx("p",{className:"font-medium",children:K.city}),g.jsxs("p",{className:"text-sm text-gray-400",children:["Response Time: ",K.responseTime.toFixed(1),"ms"]})]}),g.jsxs("div",{className:"text-right",children:[g.jsxs("div",{className:"flex items-center gap-2",children:[g.jsx("span",{className:`inline-block w-2 h-2 rounded-full ${K.status==="operational"?"bg-green-500":K.status==="degraded"?"bg-yellow-500":"bg-red-500"}`}),g.jsx("span",{className:`text-sm ${K.status==="operational"?"text-green-500":K.status==="degraded"?"text-yellow-500":"text-red-500"}`,children:K.status==="operational"?"Operational":K.status==="degraded"?"Degraded":"Down"})]}),g.jsxs("p",{className:"text-sm text-gray-400",children:["Uptime: ",K.uptime.toFixed(2),"%"]})]})]},`${K.city}-${Pt}`))})]},U.country)),P),[])})]})]}),g.jsxs("div",{className:"mt-12 text-center text-sm text-gray-400 animate-[fadeIn_0.5s_ease-out]",children:[g.jsxs("p",{children:["© ",new Date().getFullYear()," ",e("title"),". ",e("footer.rights")]}),g.jsx("p",{className:"mt-1",children:e("footer.developed")}),g.jsx("p",{className:"mt-2 text-emerald-400/80",children:e("footer.copyright")})]})]}),O&&g.jsx("div",{className:"fixed inset-0 bg-black/80 backdrop-blur-sm flex items-center justify-center p-4 z-50 modal-overlay",children:g.jsxs("div",{className:"glass-card rounded-xl p-6 max-w-md w-full relative modal-content",children:[g.jsx("button",{onClick:()=>p(!1),className:"absolute top-4 right-4 text-gray-400 hover:text-white",children:g.jsx(Zp,{size:20})}),g.jsxs("div",{className:"text-center mb-6",children:[g.jsx(fl,{className:"mx-auto mb-4 text-emerald-400",size:32}),g.jsx("h2",{className:"text-xl font-bold mb-2",children:e("auth.title")}),g.jsx("p",{className:"text-gray-400 text-sm",children:e("auth.description")})]}),g.jsxs("div",{className:"space-y-4",children:[g.jsxs("div",{children:[g.jsx("label",{htmlFor:"email",className:"block text-sm font-medium text-gray-300 mb-2",children:e("auth.email")}),g.jsxs("div",{className:"relative",children:[g.jsx(Qp,{className:"absolute left-3 top-1/2 transform -translate-y-1/2 text-gray-400",size:20}),g.jsx("input",{type:"email",id:"email",value:d,onChange:P=>{m(P.target.value),S("")},placeholder:e("auth.emailPlaceholder"),className:"w-full glass-card rounded-xl pl-10 pr-4 py-2 focus:outline-none focus:ring-2 focus:ring-emerald-500 text-white placeholder-gray-500"})]})]}),v&&g.jsx("div",{className:"text-red-400 text-sm bg-red-400/10 backdrop-blur-sm p-3 rounded-xl border border-red-400/20",children:v}),g.jsx("button",{onClick:E,className:"w-full bg-emerald-600 hover:bg-emerald-700 py-2 rounded-xl transition-colors hover-glow",children:e("auth.button")})]})]})})]})}Yc(document.getElementById("root")).render(g.jsx(F.StrictMode,{children:g.jsx(Ug,{})})); diff --git a/sni-templates/downloader/assets/v1/style.css b/sni-templates/downloader/assets/v1/style.css new file mode 100644 index 0000000..027b77d --- /dev/null +++ b/sni-templates/downloader/assets/v1/style.css @@ -0,0 +1 @@ +*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.inset-0{top:0;right:0;bottom:0;left:0}.left-3{left:.75rem}.right-0{right:0}.right-4{right:1rem}.top-0{top:0}.top-1\/2{top:50%}.top-4{top:1rem}.top-full{top:100%}.-z-10{z-index:-10}.z-40{z-index:40}.z-50{z-index:50}.mx-auto{margin-left:auto;margin-right:auto}.mb-2{margin-bottom:.5rem}.mb-4{margin-bottom:1rem}.mb-6{margin-bottom:1.5rem}.mb-8{margin-bottom:2rem}.mt-1{margin-top:.25rem}.mt-12{margin-top:3rem}.mt-2{margin-top:.5rem}.mt-6{margin-top:1.5rem}.mt-8{margin-top:2rem}.block{display:block}.inline-block{display:inline-block}.flex{display:flex}.grid{display:grid}.h-2{height:.5rem}.h-32{height:8rem}.h-4{height:1rem}.h-48{height:12rem}.h-8{height:2rem}.min-h-screen{min-height:100vh}.w-2{width:.5rem}.w-32{width:8rem}.w-4{width:1rem}.w-40{width:10rem}.w-48{width:12rem}.w-8{width:2rem}.w-full{width:100%}.max-w-2xl{max-width:42rem}.max-w-4xl{max-width:56rem}.max-w-lg{max-width:32rem}.max-w-md{max-width:28rem}.flex-1{flex:1 1 0%}.-translate-y-1\/2{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.animate-\[fadeIn_0\.5s_ease-out\]{animation:fadeIn .5s ease-out}.animate-\[slideDown_0\.2s_ease-out\]{animation:slideDown .2s ease-out}.animate-\[slideDown_0\.3s_ease-out\]{animation:slideDown .3s ease-out}@keyframes pulse{50%{opacity:.5}}.animate-pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}.cursor-not-allowed{cursor:not-allowed}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.space-x-3>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.75rem * var(--tw-space-x-reverse));margin-left:calc(.75rem * calc(1 - var(--tw-space-x-reverse)))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.space-y-6>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1.5rem * var(--tw-space-y-reverse))}.overflow-hidden{overflow:hidden}.overflow-x-hidden{overflow-x:hidden}.whitespace-nowrap{white-space:nowrap}.rounded{border-radius:.25rem}.rounded-full{border-radius:9999px}.rounded-xl{border-radius:.75rem}.border{border-width:1px}.border-emerald-500\/50{border-color:#10b98180}.border-gray-600{--tw-border-opacity: 1;border-color:rgb(75 85 99 / var(--tw-border-opacity))}.border-red-400\/20{border-color:#f8717133}.bg-black\/80{background-color:#000c}.bg-emerald-500{--tw-bg-opacity: 1;background-color:rgb(16 185 129 / var(--tw-bg-opacity))}.bg-emerald-500\/10{background-color:#10b9811a}.bg-emerald-500\/20{background-color:#10b98133}.bg-emerald-600{--tw-bg-opacity: 1;background-color:rgb(5 150 105 / var(--tw-bg-opacity))}.bg-emerald-600\/20{background-color:#05966933}.bg-emerald-600\/90{background-color:#059669e6}.bg-gray-700{--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity))}.bg-green-500{--tw-bg-opacity: 1;background-color:rgb(34 197 94 / var(--tw-bg-opacity))}.bg-red-400\/10{background-color:#f871711a}.bg-red-500{--tw-bg-opacity: 1;background-color:rgb(239 68 68 / var(--tw-bg-opacity))}.bg-white\/10{background-color:#ffffff1a}.bg-yellow-500{--tw-bg-opacity: 1;background-color:rgb(234 179 8 / var(--tw-bg-opacity))}.p-3{padding:.75rem}.p-4{padding:1rem}.p-6{padding:1.5rem}.px-4{padding-left:1rem;padding-right:1rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-8{padding-top:2rem;padding-bottom:2rem}.pl-10{padding-left:2.5rem}.pr-4{padding-right:1rem}.text-center{text-align:center}.text-right{text-align:right}.text-4xl{font-size:2.25rem;line-height:2.5rem}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-semibold{font-weight:600}.text-emerald-400{--tw-text-opacity: 1;color:rgb(52 211 153 / var(--tw-text-opacity))}.text-emerald-400\/80{color:#34d399cc}.text-emerald-600{--tw-text-opacity: 1;color:rgb(5 150 105 / var(--tw-text-opacity))}.text-gray-300{--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity))}.text-gray-400{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}.text-green-500{--tw-text-opacity: 1;color:rgb(34 197 94 / var(--tw-text-opacity))}.text-red-400{--tw-text-opacity: 1;color:rgb(248 113 113 / var(--tw-text-opacity))}.text-red-500{--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.text-yellow-500{--tw-text-opacity: 1;color:rgb(234 179 8 / var(--tw-text-opacity))}.placeholder-gray-500::-moz-placeholder{--tw-placeholder-opacity: 1;color:rgb(107 114 128 / var(--tw-placeholder-opacity))}.placeholder-gray-500::placeholder{--tw-placeholder-opacity: 1;color:rgb(107 114 128 / var(--tw-placeholder-opacity))}.opacity-10{opacity:.1}.opacity-50{opacity:.5}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.blur-2xl{--tw-blur: blur(40px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.blur-3xl{--tw-blur: blur(64px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.backdrop-blur-sm{--tw-backdrop-blur: blur(4px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-300{transition-duration:.3s}@keyframes fadeIn{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}@keyframes scaleIn{0%{transform:scale(.95);opacity:0}to{transform:scale(1);opacity:1}}@keyframes slideDown{0%{transform:translateY(-20px);opacity:0}to{transform:translateY(0);opacity:1}}@keyframes pulse{0%{transform:scale(1)}50%{transform:scale(1.05)}to{transform:scale(1)}}@keyframes shimmer{0%{background-position:-1000px 0}to{background-position:1000px 0}}@keyframes flyEmoji{0%{opacity:0;transform:translate(0) scale(.5)}25%{opacity:1;transform:translate(var(--tx),var(--ty)) scale(1.2)}to{opacity:0;transform:translate(calc(var(--tx) * 2),calc(var(--ty) * 2)) scale(.5)}}.stats-emoji{position:absolute;pointer-events:none;font-size:1.5rem;opacity:0}.stats-card{position:relative;overflow:hidden}.stats-card:hover .stats-emoji{animation:flyEmoji 1s ease-out forwards}.stats-card:hover .emoji-1{--tx: -20px;--ty: -20px;animation-delay:0s}.stats-card:hover .emoji-2{--tx: 20px;--ty: -20px;animation-delay:.1s}.stats-card:hover .emoji-3{--tx: -20px;--ty: 20px;animation-delay:.2s}.stats-card:hover .emoji-4{--tx: 20px;--ty: 20px;animation-delay:.3s}.stats-card:hover .emoji-5{--tx: 0px;--ty: -30px;animation-delay:.4s}.stats-card:hover .emoji-6{--tx: 0px;--ty: 30px;animation-delay:.5s}.bg-mesh{background-color:#1a1a1a;background-image:linear-gradient(to bottom,#1a1a1ad9,#1a1a1af2),url(https://images.unsplash.com/photo-1557683311-eac922347aa1?auto=format&fit=crop&q=80);background-size:cover;background-position:center;background-attachment:fixed;position:relative;overflow:hidden}@supports (-webkit-touch-callout: none){.bg-mesh{background-attachment:scroll}}.bg-mesh:before{content:"";position:absolute;top:0;left:0;right:0;bottom:0;background-image:linear-gradient(to right,rgba(100,100,100,.05) 1px,transparent 1px),linear-gradient(to bottom,rgba(100,100,100,.05) 1px,transparent 1px);background-size:40px 40px;pointer-events:none;z-index:0;-webkit-mask-image:radial-gradient(circle at center,black,transparent);mask-image:radial-gradient(circle at center,black,transparent);animation:gridFloat 30s linear infinite}@media (max-width: 768px){.bg-mesh{background-attachment:scroll}}@media (max-width: 640px){h1{font-size:2rem!important}.stats-grid{grid-template-columns:1fr!important}}.glass-card{-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#1a1a1a66;border:1px solid rgba(255,255,255,.1);box-shadow:0 8px 32px #0000002e;animation:scaleIn .3s ease-out}.hover-glow{transition:all .3s cubic-bezier(.4,0,.2,1)}.hover-glow:hover{box-shadow:0 0 25px #64646466;transform:translateY(-2px);background:linear-gradient(45deg,#6464641a,#64646433)}.hover-glow:active{transform:translateY(0);box-shadow:0 0 15px #6464644d}.text-gradient{background:linear-gradient(45deg,#fff,#a0a0a0);-webkit-background-clip:text;background-clip:text;color:transparent;background-size:200% 200%;animation:gradientMove 4s ease infinite}@keyframes gradientMove{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}.language-selector{position:fixed;top:1rem;right:1rem;z-index:100}.language-button{padding:.5rem;border-radius:.5rem;transition:all .2s}.language-button:hover{background:#ffffff1a}.language-button.active{background:#fff3}.dropdown-enter{opacity:0;transform:translateY(-10px)}.dropdown-enter-active{opacity:1;transform:translateY(0);transition:opacity .2s,transform .2s}.dropdown-exit{opacity:1;transform:translateY(0)}.dropdown-exit-active{opacity:0;transform:translateY(-10px);transition:opacity .2s,transform .2s}.stats-grid>div{animation:fadeIn .5s ease-out;animation-fill-mode:both}.stats-grid>div:nth-child(1){animation-delay:.1s}.stats-grid>div:nth-child(2){animation-delay:.2s}.stats-grid>div:nth-child(3){animation-delay:.3s}.feature-card{transition:transform .3s cubic-bezier(.4,0,.2,1)}.feature-card:hover{transform:translateY(-5px)}.feature-card:hover .feature-icon{transform:scale(1.1) rotate(5deg)}.shimmer{background:linear-gradient(90deg,#fff0,#ffffff1a,#fff0);background-size:200% 100%;animation:shimmer 2s infinite}.modal-overlay{animation:fadeIn .2s ease-out}.modal-content{animation:scaleIn .3s cubic-bezier(.34,1.56,.64,1)}.status-indicator{position:relative}.status-indicator:before{content:"";position:absolute;top:-4px;right:-4px;bottom:-4px;left:-4px;border-radius:inherit;animation:pulse 2s infinite;opacity:.5}button,input,select,.glass-card{transition:all .2s cubic-bezier(.4,0,.2,1)}input:focus,select:focus{transform:translateY(-1px);box-shadow:0 0 0 2px #6464644d}.hover\:border-emerald-500\/20:hover{border-color:#10b98133}.hover\:border-emerald-500\/30:hover{border-color:#10b9814d}.hover\:border-emerald-500\/50:hover{border-color:#10b98180}.hover\:bg-emerald-700:hover{--tw-bg-opacity: 1;background-color:rgb(4 120 87 / var(--tw-bg-opacity))}.hover\:bg-white\/10:hover{background-color:#ffffff1a}.hover\:text-white:hover{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.hover\:shadow-emerald-500\/20:hover{--tw-shadow-color: rgb(16 185 129 / .2);--tw-shadow: var(--tw-shadow-colored)}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\:ring-2:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\:ring-emerald-500:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(16 185 129 / var(--tw-ring-opacity))}@media (min-width: 640px){.sm\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.sm\:flex-row{flex-direction:row}}@media (min-width: 768px){.md\:mb-12{margin-bottom:3rem}.md\:mt-12{margin-top:3rem}.md\:mt-8{margin-top:2rem}.md\:h-10{height:2.5rem}.md\:h-40{height:10rem}.md\:h-64{height:16rem}.md\:w-10{width:2.5rem}.md\:w-40{width:10rem}.md\:w-64{width:16rem}.md\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.md\:grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.md\:gap-4{gap:1rem}.md\:gap-6{gap:1.5rem}.md\:py-16{padding-top:4rem;padding-bottom:4rem}.md\:text-2xl{font-size:1.5rem;line-height:2rem}.md\:text-5xl{font-size:3rem;line-height:1}.md\:text-lg{font-size:1.125rem;line-height:1.75rem}} diff --git a/sni-templates/downloader/assets/v2/js.js b/sni-templates/downloader/assets/v2/js.js new file mode 100644 index 0000000..5c75589 --- /dev/null +++ b/sni-templates/downloader/assets/v2/js.js @@ -0,0 +1,135 @@ +var sd=Object.defineProperty;var ad=(e,t,n)=>t in e?sd(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var os=(e,t,n)=>ad(e,typeof t!="symbol"?t+"":t,n);(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const o of i)if(o.type==="childList")for(const l of o.addedNodes)l.tagName==="LINK"&&l.rel==="modulepreload"&&r(l)}).observe(document,{childList:!0,subtree:!0});function n(i){const o={};return i.integrity&&(o.integrity=i.integrity),i.referrerPolicy&&(o.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?o.credentials="include":i.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(i){if(i.ep)return;i.ep=!0;const o=n(i);fetch(i.href,o)}})();var Fa={exports:{}},Ni={},$a={exports:{}},I={};/** + * @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 hr=Symbol.for("react.element"),ud=Symbol.for("react.portal"),cd=Symbol.for("react.fragment"),dd=Symbol.for("react.strict_mode"),fd=Symbol.for("react.profiler"),pd=Symbol.for("react.provider"),hd=Symbol.for("react.context"),gd=Symbol.for("react.forward_ref"),md=Symbol.for("react.suspense"),vd=Symbol.for("react.memo"),yd=Symbol.for("react.lazy"),ls=Symbol.iterator;function xd(e){return e===null||typeof e!="object"?null:(e=ls&&e[ls]||e["@@iterator"],typeof e=="function"?e:null)}var Ma={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Aa=Object.assign,Ua={};function Sn(e,t,n){this.props=e,this.context=t,this.refs=Ua,this.updater=n||Ma}Sn.prototype.isReactComponent={};Sn.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")};Sn.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Va(){}Va.prototype=Sn.prototype;function dl(e,t,n){this.props=e,this.context=t,this.refs=Ua,this.updater=n||Ma}var fl=dl.prototype=new Va;fl.constructor=dl;Aa(fl,Sn.prototype);fl.isPureReactComponent=!0;var ss=Array.isArray,Ha=Object.prototype.hasOwnProperty,pl={current:null},Ba={key:!0,ref:!0,__self:!0,__source:!0};function Ka(e,t,n){var r,i={},o=null,l=null;if(t!=null)for(r in t.ref!==void 0&&(l=t.ref),t.key!==void 0&&(o=""+t.key),t)Ha.call(t,r)&&!Ba.hasOwnProperty(r)&&(i[r]=t[r]);var s=arguments.length-2;if(s===1)i.children=n;else if(1 >>1,U=E[P];if(0>>1;Pi(Pt,R))Xei(Wt,Pt)?(E[P]=Wt,E[Xe]=R,P=Xe):(E[P]=Pt,E[K]=R,P=K);else if(Xei(Wt,R))E[P]=Wt,E[Xe]=R,P=Xe;else break e}}return z}function i(E,z){var R=E.sortIndex-z.sortIndex;return R!==0?R:E.id-z.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var l=Date,s=l.now();e.unstable_now=function(){return l.now()-s}}var a=[],u=[],f=1,h=null,c=3,y=!1,x=!1,w=!1,O=typeof setTimeout=="function"?setTimeout:null,p=typeof clearTimeout=="function"?clearTimeout:null,d=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function m(E){for(var z=n(u);z!==null;){if(z.callback===null)r(u);else if(z.startTime<=E)r(u),z.sortIndex=z.expirationTime,t(a,z);else break;z=n(u)}}function v(E){if(w=!1,m(E),!x)if(n(a)!==null)x=!0,_e(S);else{var z=n(u);z!==null&&st(v,z.startTime-E)}}function S(E,z){x=!1,w&&(w=!1,p(L),L=-1),y=!0;var R=c;try{for(m(z),h=n(a);h!==null&&(!(h.expirationTime>z)||E&&!Z());){var P=h.callback;if(typeof P=="function"){h.callback=null,c=h.priorityLevel;var U=P(h.expirationTime<=z);z=e.unstable_now(),typeof U=="function"?h.callback=U:h===n(a)&&r(a),m(z)}else r(a);h=n(a)}if(h!==null)var Kt=!0;else{var K=n(u);K!==null&&st(v,K.startTime-z),Kt=!1}return Kt}finally{h=null,c=R,y=!1}}var C=!1,N=null,L=-1,A=5,_=-1;function Z(){return!(e.unstable_now()-_E||125 P?(E.sortIndex=R,t(u,E),n(a)===null&&E===n(u)&&(w?(p(L),L=-1):w=!0,st(v,R-P))):(E.sortIndex=U,t(a,E),x||y||(x=!0,_e(S))),E},e.unstable_shouldYield=Z,e.unstable_wrapCallback=function(E){var z=c;return function(){var R=c;c=z;try{return E.apply(this,arguments)}finally{c=R}}}})(Ja);Ga.exports=Ja;var zd=Ga.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 Rd=F,Ne=zd;function k(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n "u"||typeof window.document>"u"||typeof window.document.createElement>"u"),mo=Object.prototype.hasOwnProperty,Td=/^[: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]*$/,us={},cs={};function _d(e){return mo.call(cs,e)?!0:mo.call(us,e)?!1:Td.test(e)?cs[e]=!0:(us[e]=!0,!1)}function Id(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function Dd(e,t,n,r){if(t===null||typeof t>"u"||Id(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.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 he(e,t,n,r,i,o,l){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=l}var ie={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){ie[e]=new he(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];ie[t]=new he(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){ie[e]=new he(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){ie[e]=new he(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){ie[e]=new he(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){ie[e]=new he(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){ie[e]=new he(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){ie[e]=new he(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){ie[e]=new he(e,5,!1,e.toLowerCase(),null,!1,!1)});var gl=/[\-:]([a-z])/g;function ml(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(gl,ml);ie[t]=new he(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(gl,ml);ie[t]=new he(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(gl,ml);ie[t]=new he(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){ie[e]=new he(e,1,!1,e.toLowerCase(),null,!1,!1)});ie.xlinkHref=new he("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){ie[e]=new he(e,1,!1,e.toLowerCase(),null,!0,!0)});function vl(e,t,n,r){var i=ie.hasOwnProperty(t)?ie[t]:null;(i!==null?i.type!==0:r||!(2 s||i[l]!==o[s]){var a=` +`+i[l].replace(" at new "," at ");return e.displayName&&a.includes(" ")&&(a=a.replace("