From b627f5c2248b358591f3796a2fa29dd1d031723a Mon Sep 17 00:00:00 2001 From: acelaya Date: Mon, 16 Jun 2025 09:19:23 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20preview-env=20from=20@=20shlin?= =?UTF-8?q?kio/shlink-web-client@9c0c2fc3f9017ce393fb1b2e168a8634ba6cf27d?= =?UTF-8?q?=20=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- feature/tailwind-nabvar/.htaccess | 16 + .../tailwind-nabvar/assets/index-CzmRZyly.js | 813 ++++++++++++++++++ .../tailwind-nabvar/assets/index-MBeRc8NE.css | 6 + feature/tailwind-nabvar/favicon.gif | Bin 0 -> 642 bytes feature/tailwind-nabvar/favicon.ico | Bin 0 -> 1165 bytes feature/tailwind-nabvar/favicon.png | Bin 0 -> 1165 bytes feature/tailwind-nabvar/favicon.svg | 1 + .../tailwind-nabvar/icons/icon-1024x1024.png | Bin 0 -> 8726 bytes .../tailwind-nabvar/icons/icon-114x114.png | Bin 0 -> 1080 bytes .../tailwind-nabvar/icons/icon-120x120.png | Bin 0 -> 1100 bytes .../tailwind-nabvar/icons/icon-128x128.png | Bin 0 -> 1165 bytes .../tailwind-nabvar/icons/icon-144x144.png | Bin 0 -> 1410 bytes .../tailwind-nabvar/icons/icon-150x150.png | Bin 0 -> 1366 bytes .../tailwind-nabvar/icons/icon-152x152.png | Bin 0 -> 1360 bytes .../tailwind-nabvar/icons/icon-160x160.png | Bin 0 -> 1411 bytes .../tailwind-nabvar/icons/icon-167x167.png | Bin 0 -> 1474 bytes feature/tailwind-nabvar/icons/icon-16x16.png | Bin 0 -> 287 bytes .../tailwind-nabvar/icons/icon-180x180.png | Bin 0 -> 1657 bytes .../tailwind-nabvar/icons/icon-192x192.png | Bin 0 -> 1753 bytes .../tailwind-nabvar/icons/icon-196x196.png | Bin 0 -> 1684 bytes .../tailwind-nabvar/icons/icon-228x228.png | Bin 0 -> 1999 bytes feature/tailwind-nabvar/icons/icon-24x24.png | Bin 0 -> 381 bytes .../tailwind-nabvar/icons/icon-256x256.png | Bin 0 -> 2209 bytes .../tailwind-nabvar/icons/icon-310x310.png | Bin 0 -> 2639 bytes feature/tailwind-nabvar/icons/icon-32x32.png | Bin 0 -> 437 bytes .../tailwind-nabvar/icons/icon-384x384.png | Bin 0 -> 3236 bytes feature/tailwind-nabvar/icons/icon-40x40.png | Bin 0 -> 466 bytes feature/tailwind-nabvar/icons/icon-48x48.png | Bin 0 -> 551 bytes .../tailwind-nabvar/icons/icon-512x512.png | Bin 0 -> 4335 bytes feature/tailwind-nabvar/icons/icon-60x60.png | Bin 0 -> 638 bytes feature/tailwind-nabvar/icons/icon-64x64.png | Bin 0 -> 684 bytes feature/tailwind-nabvar/icons/icon-72x72.png | Bin 0 -> 750 bytes feature/tailwind-nabvar/icons/icon-76x76.png | Bin 0 -> 783 bytes feature/tailwind-nabvar/icons/icon-96x96.png | Bin 0 -> 984 bytes feature/tailwind-nabvar/index.html | 91 ++ feature/tailwind-nabvar/manifest.json | 1 + feature/tailwind-nabvar/service-worker.js | 2 + 37 files changed, 930 insertions(+) create mode 100644 feature/tailwind-nabvar/.htaccess create mode 100644 feature/tailwind-nabvar/assets/index-CzmRZyly.js create mode 100644 feature/tailwind-nabvar/assets/index-MBeRc8NE.css create mode 100644 feature/tailwind-nabvar/favicon.gif create mode 100644 feature/tailwind-nabvar/favicon.ico create mode 100644 feature/tailwind-nabvar/favicon.png create mode 100644 feature/tailwind-nabvar/favicon.svg create mode 100644 feature/tailwind-nabvar/icons/icon-1024x1024.png create mode 100644 feature/tailwind-nabvar/icons/icon-114x114.png create mode 100644 feature/tailwind-nabvar/icons/icon-120x120.png create mode 100644 feature/tailwind-nabvar/icons/icon-128x128.png create mode 100644 feature/tailwind-nabvar/icons/icon-144x144.png create mode 100644 feature/tailwind-nabvar/icons/icon-150x150.png create mode 100644 feature/tailwind-nabvar/icons/icon-152x152.png create mode 100644 feature/tailwind-nabvar/icons/icon-160x160.png create mode 100644 feature/tailwind-nabvar/icons/icon-167x167.png create mode 100644 feature/tailwind-nabvar/icons/icon-16x16.png create mode 100644 feature/tailwind-nabvar/icons/icon-180x180.png create mode 100644 feature/tailwind-nabvar/icons/icon-192x192.png create mode 100644 feature/tailwind-nabvar/icons/icon-196x196.png create mode 100644 feature/tailwind-nabvar/icons/icon-228x228.png create mode 100644 feature/tailwind-nabvar/icons/icon-24x24.png create mode 100644 feature/tailwind-nabvar/icons/icon-256x256.png create mode 100644 feature/tailwind-nabvar/icons/icon-310x310.png create mode 100644 feature/tailwind-nabvar/icons/icon-32x32.png create mode 100644 feature/tailwind-nabvar/icons/icon-384x384.png create mode 100644 feature/tailwind-nabvar/icons/icon-40x40.png create mode 100644 feature/tailwind-nabvar/icons/icon-48x48.png create mode 100644 feature/tailwind-nabvar/icons/icon-512x512.png create mode 100644 feature/tailwind-nabvar/icons/icon-60x60.png create mode 100644 feature/tailwind-nabvar/icons/icon-64x64.png create mode 100644 feature/tailwind-nabvar/icons/icon-72x72.png create mode 100644 feature/tailwind-nabvar/icons/icon-76x76.png create mode 100644 feature/tailwind-nabvar/icons/icon-96x96.png create mode 100644 feature/tailwind-nabvar/index.html create mode 100644 feature/tailwind-nabvar/manifest.json create mode 100644 feature/tailwind-nabvar/service-worker.js diff --git a/feature/tailwind-nabvar/.htaccess b/feature/tailwind-nabvar/.htaccess new file mode 100644 index 00000000..680e1a5e --- /dev/null +++ b/feature/tailwind-nabvar/.htaccess @@ -0,0 +1,16 @@ +RewriteEngine on +RewriteBase / + +# do not do anything for already existing files +RewriteCond %{REQUEST_FILENAME} -f [OR] +RewriteCond %{REQUEST_FILENAME} -l [OR] +RewriteCond %{REQUEST_FILENAME} -d +RewriteRule (.*) - [L] + +# if request is no valid file NOR directory +RewriteCond %{REQUEST_FILENAME} !-f +RewriteCond %{REQUEST_FILENAME} !-d +# if static asset do not do anything +RewriteRule (.*)(css|js|html|png|jpe?g|gif|bmp|ico|json|csv|otf|eot|svg|svgz|ttf|woff|woff2|ijmap|pdf|tif|map) - [NC,L,R=404] +# everything else should be redirected to /index.html so it can be routed by it +RewriteRule (.*) /index.html [L] diff --git a/feature/tailwind-nabvar/assets/index-CzmRZyly.js b/feature/tailwind-nabvar/assets/index-CzmRZyly.js new file mode 100644 index 00000000..f9b8bc09 --- /dev/null +++ b/feature/tailwind-nabvar/assets/index-CzmRZyly.js @@ -0,0 +1,813 @@ +var yW=Object.defineProperty;var ER=e=>{throw TypeError(e)};var bW=(e,t,n)=>t in e?yW(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var lf=(e,t,n)=>bW(e,typeof t!="symbol"?t+"":t,n),OR=(e,t,n)=>t.has(e)||ER("Cannot "+n);var Kh=(e,t,n)=>(OR(e,t,"read from private field"),n?n.call(e):t.get(e)),Zh=(e,t,n)=>t.has(e)?ER("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),Xh=(e,t,n,r)=>(OR(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n);function wW(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 a of i)if(a.type==="childList")for(const o of a.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).observe(document,{childList:!0,subtree:!0});function n(i){const a={};return i.integrity&&(a.integrity=i.integrity),i.referrerPolicy&&(a.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?a.credentials="include":i.crossOrigin==="anonymous"?a.credentials="omit":a.credentials="same-origin",a}function r(i){if(i.ep)return;i.ep=!0;const a=n(i);fetch(i.href,a)}})();var qv=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function zt(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var L_={exports:{}},Qh={};/** + * @license React + * react-jsx-runtime.production.js + * + * Copyright (c) Meta Platforms, Inc. and affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var TR;function _W(){if(TR)return Qh;TR=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.fragment");function n(r,i,a){var o=null;if(a!==void 0&&(o=""+a),i.key!==void 0&&(o=""+i.key),"key"in i){a={};for(var l in i)l!=="key"&&(a[l]=i[l])}else a=i;return i=a.ref,{$$typeof:e,type:r,key:o,ref:i!==void 0?i:null,props:a}}return Qh.Fragment=t,Qh.jsx=n,Qh.jsxs=n,Qh}var jR;function xW(){return jR||(jR=1,L_.exports=_W()),L_.exports}var v=xW(),k_={exports:{}},Jh={},D_={exports:{}},I_={};/** + * @license React + * scheduler.production.js + * + * Copyright (c) Meta Platforms, Inc. and affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var PR;function SW(){return PR||(PR=1,function(e){function t(H,I){var D=H.length;H.push(I);e:for(;0>>1,N=H[z];if(0>>1;zi(G,D))aei(fe,G)?(H[z]=fe,H[ae]=D,z=ae):(H[z]=G,H[Q]=D,z=Q);else if(aei(fe,D))H[z]=fe,H[ae]=D,z=ae;else break e}}return I}function i(H,I){var D=H.sortIndex-I.sortIndex;return D!==0?D:H.id-I.id}if(e.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var a=performance;e.unstable_now=function(){return a.now()}}else{var o=Date,l=o.now();e.unstable_now=function(){return o.now()-l}}var f=[],u=[],h=1,m=null,g=3,_=!1,x=!1,b=!1,S=!1,C=typeof setTimeout=="function"?setTimeout:null,A=typeof clearTimeout=="function"?clearTimeout:null,O=typeof setImmediate<"u"?setImmediate:null;function P(H){for(var I=n(u);I!==null;){if(I.callback===null)r(u);else if(I.startTime<=H)r(u),I.sortIndex=I.expirationTime,t(f,I);else break;I=n(u)}}function j(H){if(b=!1,P(H),!x)if(n(f)!==null)x=!0,R||(R=!0,ee());else{var I=n(u);I!==null&&ne(j,I.startTime-H)}}var R=!1,U=-1,V=5,Y=-1;function K(){return S?!0:!(e.unstable_now()-YH&&K());){var z=m.callback;if(typeof z=="function"){m.callback=null,g=m.priorityLevel;var N=z(m.expirationTime<=H);if(H=e.unstable_now(),typeof N=="function"){m.callback=N,P(H),I=!0;break t}m===n(f)&&r(f),P(H)}else r(f);m=n(f)}if(m!==null)I=!0;else{var B=n(u);B!==null&&ne(j,B.startTime-H),I=!1}}break e}finally{m=null,g=D,_=!1}I=void 0}}finally{I?ee():R=!1}}}var ee;if(typeof O=="function")ee=function(){O(W)};else if(typeof MessageChannel<"u"){var ie=new MessageChannel,X=ie.port2;ie.port1.onmessage=W,ee=function(){X.postMessage(null)}}else ee=function(){C(W,0)};function ne(H,I){U=C(function(){H(e.unstable_now())},I)}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(H){H.callback=null},e.unstable_forceFrameRate=function(H){0>H||125z?(H.sortIndex=D,t(u,H),n(f)===null&&H===n(u)&&(b?(A(U),U=-1):b=!0,ne(j,D-z))):(H.sortIndex=N,t(f,H),x||_||(x=!0,R||(R=!0,ee()))),H},e.unstable_shouldYield=K,e.unstable_wrapCallback=function(H){var I=g;return function(){var D=g;g=I;try{return H.apply(this,arguments)}finally{g=D}}}}(I_)),I_}var RR;function CW(){return RR||(RR=1,D_.exports=SW()),D_.exports}var $_={exports:{}},Ct={};/** + * @license React + * react.production.js + * + * Copyright (c) Meta Platforms, Inc. and affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var MR;function AW(){if(MR)return Ct;MR=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),a=Symbol.for("react.consumer"),o=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),u=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),m=Symbol.iterator;function g(N){return N===null||typeof N!="object"?null:(N=m&&N[m]||N["@@iterator"],typeof N=="function"?N:null)}var _={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},x=Object.assign,b={};function S(N,B,Q){this.props=N,this.context=B,this.refs=b,this.updater=Q||_}S.prototype.isReactComponent={},S.prototype.setState=function(N,B){if(typeof N!="object"&&typeof N!="function"&&N!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,N,B,"setState")},S.prototype.forceUpdate=function(N){this.updater.enqueueForceUpdate(this,N,"forceUpdate")};function C(){}C.prototype=S.prototype;function A(N,B,Q){this.props=N,this.context=B,this.refs=b,this.updater=Q||_}var O=A.prototype=new C;O.constructor=A,x(O,S.prototype),O.isPureReactComponent=!0;var P=Array.isArray,j={H:null,A:null,T:null,S:null,V:null},R=Object.prototype.hasOwnProperty;function U(N,B,Q,G,ae,fe){return Q=fe.ref,{$$typeof:e,type:N,key:B,ref:Q!==void 0?Q:null,props:fe}}function V(N,B){return U(N.type,B,void 0,void 0,void 0,N.props)}function Y(N){return typeof N=="object"&&N!==null&&N.$$typeof===e}function K(N){var B={"=":"=0",":":"=2"};return"$"+N.replace(/[=:]/g,function(Q){return B[Q]})}var W=/\/+/g;function ee(N,B){return typeof N=="object"&&N!==null&&N.key!=null?K(""+N.key):B.toString(36)}function ie(){}function X(N){switch(N.status){case"fulfilled":return N.value;case"rejected":throw N.reason;default:switch(typeof N.status=="string"?N.then(ie,ie):(N.status="pending",N.then(function(B){N.status==="pending"&&(N.status="fulfilled",N.value=B)},function(B){N.status==="pending"&&(N.status="rejected",N.reason=B)})),N.status){case"fulfilled":return N.value;case"rejected":throw N.reason}}throw N}function ne(N,B,Q,G,ae){var fe=typeof N;(fe==="undefined"||fe==="boolean")&&(N=null);var ce=!1;if(N===null)ce=!0;else switch(fe){case"bigint":case"string":case"number":ce=!0;break;case"object":switch(N.$$typeof){case e:case t:ce=!0;break;case h:return ce=N._init,ne(ce(N._payload),B,Q,G,ae)}}if(ce)return ae=ae(N),ce=G===""?"."+ee(N,0):G,P(ae)?(Q="",ce!=null&&(Q=ce.replace(W,"$&/")+"/"),ne(ae,B,Q,"",function(q){return q})):ae!=null&&(Y(ae)&&(ae=V(ae,Q+(ae.key==null||N&&N.key===ae.key?"":(""+ae.key).replace(W,"$&/")+"/")+ce)),B.push(ae)),1;ce=0;var ye=G===""?".":G+":";if(P(N))for(var F=0;F"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),B_.exports=EW(),B_.exports}/** + * @license React + * react-dom-client.production.js + * + * Copyright (c) Meta Platforms, Inc. and affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var DR;function OW(){if(DR)return Jh;DR=1;var e=CW(),t=wb(),n=Y7();function r(s){var c="https://react.dev/errors/"+s;if(1N||(s.current=z[N],z[N]=null,N--)}function G(s,c){N++,z[N]=s.current,s.current=c}var ae=B(null),fe=B(null),ce=B(null),ye=B(null);function F(s,c){switch(G(ce,c),G(fe,s),G(ae,null),c.nodeType){case 9:case 11:s=(s=c.documentElement)&&(s=s.namespaceURI)?eR(s):0;break;default:if(s=c.tagName,c=c.namespaceURI)c=eR(c),s=tR(c,s);else switch(s){case"svg":s=1;break;case"math":s=2;break;default:s=0}}Q(ae),G(ae,s)}function q(){Q(ae),Q(fe),Q(ce)}function te(s){s.memoizedState!==null&&G(ye,s);var c=ae.current,p=tR(c,s.type);c!==p&&(G(fe,s),G(ae,p))}function ue(s){fe.current===s&&(Q(ae),Q(fe)),ye.current===s&&(Q(ye),Vh._currentValue=D)}var J=Object.prototype.hasOwnProperty,se=e.unstable_scheduleCallback,de=e.unstable_cancelCallback,ve=e.unstable_shouldYield,he=e.unstable_requestPaint,xe=e.unstable_now,Oe=e.unstable_getCurrentPriorityLevel,Le=e.unstable_ImmediatePriority,He=e.unstable_UserBlockingPriority,$e=e.unstable_NormalPriority,ze=e.unstable_LowPriority,_e=e.unstable_IdlePriority,Se=e.log,ke=e.unstable_setDisableYieldValue,Ne=null,je=null;function Fe(s){if(typeof Se=="function"&&ke(s),je&&typeof je.setStrictMode=="function")try{je.setStrictMode(Ne,s)}catch{}}var Ge=Math.clz32?Math.clz32:st,Xe=Math.log,ft=Math.LN2;function st(s){return s>>>=0,s===0?32:31-(Xe(s)/ft|0)|0}var wt=256,kt=4194304;function Dt(s){var c=s&42;if(c!==0)return c;switch(s&-s){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return s&4194048;case 4194304:case 8388608:case 16777216:case 33554432:return s&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return s}}function It(s,c,p){var w=s.pendingLanes;if(w===0)return 0;var T=0,k=s.suspendedLanes,re=s.pingedLanes;s=s.warmLanes;var le=w&134217727;return le!==0?(w=le&~k,w!==0?T=Dt(w):(re&=le,re!==0?T=Dt(re):p||(p=le&~s,p!==0&&(T=Dt(p))))):(le=w&~k,le!==0?T=Dt(le):re!==0?T=Dt(re):p||(p=w&~s,p!==0&&(T=Dt(p)))),T===0?0:c!==0&&c!==T&&(c&k)===0&&(k=T&-T,p=c&-c,k>=p||k===32&&(p&4194048)!==0)?c:T}function Cr(s,c){return(s.pendingLanes&~(s.suspendedLanes&~s.pingedLanes)&c)===0}function Vn(s,c){switch(s){case 1:case 2:case 4:case 8:case 64:return c+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return c+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function ys(){var s=wt;return wt<<=1,(wt&4194048)===0&&(wt=256),s}function ii(){var s=kt;return kt<<=1,(kt&62914560)===0&&(kt=4194304),s}function bs(s){for(var c=[],p=0;31>p;p++)c.push(s);return c}function La(s,c){s.pendingLanes|=c,c!==268435456&&(s.suspendedLanes=0,s.pingedLanes=0,s.warmLanes=0)}function bc(s,c,p,w,T,k){var re=s.pendingLanes;s.pendingLanes=p,s.suspendedLanes=0,s.pingedLanes=0,s.warmLanes=0,s.expiredLanes&=p,s.entangledLanes&=p,s.errorRecoveryDisabledLanes&=p,s.shellSuspendCounter=0;var le=s.entanglements,ge=s.expirationTimes,Te=s.hiddenUpdates;for(p=re&~p;0)":-1T||ge[w]!==Te[T]){var Ie=` +`+ge[w].replace(" at new "," at ");return s.displayName&&Ie.includes("")&&(Ie=Ie.replace("",s.displayName)),Ie}while(1<=w&&0<=T);break}}}finally{Sc=!1,Error.prepareStackTrace=p}return(p=s?s.displayName||s.name:"")?xo(p):""}function Nt(s){switch(s.tag){case 26:case 27:case 5:return xo(s.type);case 16:return xo("Lazy");case 13:return xo("Suspense");case 19:return xo("SuspenseList");case 0:case 15:return So(s.type,!1);case 11:return So(s.type.render,!1);case 1:return So(s.type,!0);case 31:return xo("Activity");default:return""}}function nn(s){try{var c="";do c+=Nt(s),s=s.return;while(s);return c}catch(p){return` +Error generating stack: `+p.message+` +`+p.stack}}function fr(s){switch(typeof s){case"bigint":case"boolean":case"number":case"string":case"undefined":return s;case"object":return s;default:return""}}function Co(s){var c=s.type;return(s=s.nodeName)&&s.toLowerCase()==="input"&&(c==="checkbox"||c==="radio")}function Ss(s){var c=Co(s)?"checked":"value",p=Object.getOwnPropertyDescriptor(s.constructor.prototype,c),w=""+s[c];if(!s.hasOwnProperty(c)&&typeof p<"u"&&typeof p.get=="function"&&typeof p.set=="function"){var T=p.get,k=p.set;return Object.defineProperty(s,c,{configurable:!0,get:function(){return T.call(this)},set:function(re){w=""+re,k.call(this,re)}}),Object.defineProperty(s,c,{enumerable:p.enumerable}),{getValue:function(){return w},setValue:function(re){w=""+re},stopTracking:function(){s._valueTracker=null,delete s[c]}}}}function Cs(s){s._valueTracker||(s._valueTracker=Ss(s))}function _t(s){if(!s)return!1;var c=s._valueTracker;if(!c)return!0;var p=c.getValue(),w="";return s&&(w=Co(s)?s.checked?"true":"false":s.value),s=w,s!==p?(c.setValue(s),!0):!1}function rn(s){if(s=s||(typeof document<"u"?document:void 0),typeof s>"u")return null;try{return s.activeElement||s.body}catch{return s.body}}var Jd=/[\n"\\]/g;function dr(s){return s.replace(Jd,function(c){return"\\"+c.charCodeAt(0).toString(16)+" "})}function Ar(s,c,p,w,T,k,re,le){s.name="",re!=null&&typeof re!="function"&&typeof re!="symbol"&&typeof re!="boolean"?s.type=re:s.removeAttribute("type"),c!=null?re==="number"?(c===0&&s.value===""||s.value!=c)&&(s.value=""+fr(c)):s.value!==""+fr(c)&&(s.value=""+fr(c)):re!=="submit"&&re!=="reset"||s.removeAttribute("value"),c!=null?As(s,re,fr(c)):p!=null?As(s,re,fr(p)):w!=null&&s.removeAttribute("value"),T==null&&k!=null&&(s.defaultChecked=!!k),T!=null&&(s.checked=T&&typeof T!="function"&&typeof T!="symbol"),le!=null&&typeof le!="function"&&typeof le!="symbol"&&typeof le!="boolean"?s.name=""+fr(le):s.removeAttribute("name")}function Og(s,c,p,w,T,k,re,le){if(k!=null&&typeof k!="function"&&typeof k!="symbol"&&typeof k!="boolean"&&(s.type=k),c!=null||p!=null){if(!(k!=="submit"&&k!=="reset"||c!=null))return;p=p!=null?""+fr(p):"",c=c!=null?""+fr(c):p,le||c===s.value||(s.value=c),s.defaultValue=c}w=w??T,w=typeof w!="function"&&typeof w!="symbol"&&!!w,s.checked=le?s.checked:!!w,s.defaultChecked=!!w,re!=null&&typeof re!="function"&&typeof re!="symbol"&&typeof re!="boolean"&&(s.name=re)}function As(s,c,p){c==="number"&&rn(s.ownerDocument)===s||s.defaultValue===""+p||(s.defaultValue=""+p)}function Zr(s,c,p,w){if(s=s.options,c){c={};for(var T=0;T"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),iu=!1;if(Bi)try{var Eo={};Object.defineProperty(Eo,"passive",{get:function(){iu=!0}}),window.addEventListener("test",Eo,Eo),window.removeEventListener("test",Eo,Eo)}catch{iu=!1}var Ui=null,oa=null,js=null;function Ps(){if(js)return js;var s,c=oa,p=c.length,w,T="value"in Ui?Ui.value:Ui.textContent,k=T.length;for(s=0;s=tr),Ig=" ",jc=!1;function Pc(s,c){switch(s){case"keyup":return nw.indexOf(c.keyCode)!==-1;case"keydown":return c.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function $g(s){return s=s.detail,typeof s=="object"&&"data"in s?s.data:null}var Ms=!1;function Bg(s,c){switch(s){case"compositionend":return $g(c);case"keypress":return c.which!==32?null:(jc=!0,Ig);case"textInput":return s=c.data,s===Ig&&jc?null:s;default:return null}}function rw(s,c){if(Ms)return s==="compositionend"||!Po&&Pc(s,c)?(s=Ps(),js=oa=Ui=null,Ms=!1,s):null;switch(s){case"paste":return null;case"keypress":if(!(c.ctrlKey||c.altKey||c.metaKey)||c.ctrlKey&&c.altKey){if(c.char&&1=c)return{node:p,offset:c-s};s=w}e:{for(;p;){if(p.nextSibling){p=p.nextSibling;break e}p=p.parentNode}p=void 0}p=uu(p)}}function Mc(s,c){return s&&c?s===c?!0:s&&s.nodeType===3?!1:c&&c.nodeType===3?Mc(s,c.parentNode):"contains"in s?s.contains(c):s.compareDocumentPosition?!!(s.compareDocumentPosition(c)&16):!1:!1}function cu(s){s=s!=null&&s.ownerDocument!=null&&s.ownerDocument.defaultView!=null?s.ownerDocument.defaultView:window;for(var c=rn(s.document);c instanceof s.HTMLIFrameElement;){try{var p=typeof c.contentWindow.location.href=="string"}catch{p=!1}if(p)s=c.contentWindow;else break;c=rn(s.document)}return c}function fu(s){var c=s&&s.nodeName&&s.nodeName.toLowerCase();return c&&(c==="input"&&(s.type==="text"||s.type==="search"||s.type==="tel"||s.type==="url"||s.type==="password")||c==="textarea"||s.contentEditable==="true")}var Nc=Bi&&"documentMode"in document&&11>=document.documentMode,li=null,Is=null,Mo=null,Lc=!1;function Fg(s,c,p){var w=p.window===p?p.document:p.nodeType===9?p:p.ownerDocument;Lc||li==null||li!==rn(w)||(w=li,"selectionStart"in w&&fu(w)?w={start:w.selectionStart,end:w.selectionEnd}:(w=(w.ownerDocument&&w.ownerDocument.defaultView||window).getSelection(),w={anchorNode:w.anchorNode,anchorOffset:w.anchorOffset,focusNode:w.focusNode,focusOffset:w.focusOffset}),Mo&&kr(Mo,w)||(Mo=w,w=Tv(Is,"onSelect"),0>=re,T-=re,oe=1<<32-Ge(c)+T|p<k?k:8;var re=H.T,le={};H.T=le,Nw(s,!1,c,p);try{var ge=T(),Te=H.S;if(Te!==null&&Te(le,ge),ge!==null&&typeof ge=="object"&&typeof ge.then=="function"){var Ie=lG(ge,w);Eh(s,c,Ie,mi(s))}else Eh(s,c,w,mi(s))}catch(Ue){Eh(s,c,{then:function(){},status:"rejected",reason:Ue},mi())}finally{I.p=k,H.T=re}}function hG(){}function Rw(s,c,p,w){if(s.tag!==5)throw Error(r(476));var T=Ej(s).queue;Aj(s,T,c,D,p===null?hG:function(){return Oj(s),p(w)})}function Ej(s){var c=s.memoizedState;if(c!==null)return c;c={memoizedState:D,baseState:D,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:$o,lastRenderedState:D},next:null};var p={};return c.next={memoizedState:p,baseState:p,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:$o,lastRenderedState:p},next:null},s.memoizedState=c,s=s.alternate,s!==null&&(s.memoizedState=c),c}function Oj(s){var c=Ej(s).next.queue;Eh(s,c,{},mi())}function Mw(){return Or(Vh)}function Tj(){return Bn().memoizedState}function jj(){return Bn().memoizedState}function pG(s){for(var c=s.return;c!==null;){switch(c.tag){case 24:case 3:var p=mi();s=Hs(p);var w=Gs(c,s,p);w!==null&&(gi(w,c,p),wh(w,c,p)),c={cache:lw()},s.payload=c;return}c=c.return}}function mG(s,c,p){var w=mi();p={lane:w,revertLane:0,action:p,hasEagerState:!1,eagerState:null,next:null},lv(s)?Rj(c,p):(p=ko(s,c,p,w),p!==null&&(gi(p,s,w),Mj(p,c,w)))}function Pj(s,c,p){var w=mi();Eh(s,c,p,w)}function Eh(s,c,p,w){var T={lane:w,revertLane:0,action:p,hasEagerState:!1,eagerState:null,next:null};if(lv(s))Rj(c,T);else{var k=s.alternate;if(s.lanes===0&&(k===null||k.lanes===0)&&(k=c.lastRenderedReducer,k!==null))try{var re=c.lastRenderedState,le=k(re,p);if(T.hasEagerState=!0,T.eagerState=le,Lr(le,re))return pu(s,c,T,0),on===null&&hu(),!1}catch{}finally{}if(p=ko(s,c,T,w),p!==null)return gi(p,s,w),Mj(p,c,w),!0}return!1}function Nw(s,c,p,w){if(w={lane:2,revertLane:f_(),action:w,hasEagerState:!1,eagerState:null,next:null},lv(s)){if(c)throw Error(r(479))}else c=ko(s,p,w,2),c!==null&&gi(c,s,2)}function lv(s){var c=s.alternate;return s===At||c!==null&&c===At}function Rj(s,c){qc=nv=!0;var p=s.pending;p===null?c.next=c:(c.next=p.next,p.next=c),s.pending=c}function Mj(s,c,p){if((p&4194048)!==0){var w=c.lanes;w&=s.pendingLanes,p|=w,c.lanes=p,ka(s,p)}}var uv={readContext:Or,use:iv,useCallback:Nn,useContext:Nn,useEffect:Nn,useImperativeHandle:Nn,useLayoutEffect:Nn,useInsertionEffect:Nn,useMemo:Nn,useReducer:Nn,useRef:Nn,useState:Nn,useDebugValue:Nn,useDeferredValue:Nn,useTransition:Nn,useSyncExternalStore:Nn,useId:Nn,useHostTransitionStatus:Nn,useFormState:Nn,useActionState:Nn,useOptimistic:Nn,useMemoCache:Nn,useCacheRefresh:Nn},Nj={readContext:Or,use:iv,useCallback:function(s,c){return Qr().memoizedState=[s,c===void 0?null:c],s},useContext:Or,useEffect:gj,useImperativeHandle:function(s,c,p){p=p!=null?p.concat([s]):null,sv(4194308,4,wj.bind(null,c,s),p)},useLayoutEffect:function(s,c){return sv(4194308,4,s,c)},useInsertionEffect:function(s,c){sv(4,2,s,c)},useMemo:function(s,c){var p=Qr();c=c===void 0?null:c;var w=s();if(xu){Fe(!0);try{s()}finally{Fe(!1)}}return p.memoizedState=[w,c],w},useReducer:function(s,c,p){var w=Qr();if(p!==void 0){var T=p(c);if(xu){Fe(!0);try{p(c)}finally{Fe(!1)}}}else T=c;return w.memoizedState=w.baseState=T,s={pending:null,lanes:0,dispatch:null,lastRenderedReducer:s,lastRenderedState:T},w.queue=s,s=s.dispatch=mG.bind(null,At,s),[w.memoizedState,s]},useRef:function(s){var c=Qr();return s={current:s},c.memoizedState=s},useState:function(s){s=Ow(s);var c=s.queue,p=Pj.bind(null,At,c);return c.dispatch=p,[s.memoizedState,p]},useDebugValue:jw,useDeferredValue:function(s,c){var p=Qr();return Pw(p,s,c)},useTransition:function(){var s=Ow(!1);return s=Aj.bind(null,At,s.queue,!0,!1),Qr().memoizedState=s,[!1,s]},useSyncExternalStore:function(s,c,p){var w=At,T=Qr();if(yt){if(p===void 0)throw Error(r(407));p=p()}else{if(p=c(),on===null)throw Error(r(349));(Lt&124)!==0||ej(w,c,p)}T.memoizedState=p;var k={value:p,getSnapshot:c};return T.queue=k,gj(nj.bind(null,w,k,s),[s]),w.flags|=2048,Hc(9,ov(),tj.bind(null,w,k,p,c),null),p},useId:function(){var s=Qr(),c=on.identifierPrefix;if(yt){var p=me,w=oe;p=(w&~(1<<32-Ge(w)-1)).toString(32)+p,c="«"+c+"R"+p,p=rv++,0mt?(ar=ct,ct=null):ar=ct.sibling;var Bt=Pe(Ce,ct,Ee[mt],Be);if(Bt===null){ct===null&&(ct=ar);break}s&&ct&&Bt.alternate===null&&c(Ce,ct),we=k(Bt,we,mt),Ot===null?it=Bt:Ot.sibling=Bt,Ot=Bt,ct=ar}if(mt===Ee.length)return p(Ce,ct),yt&&Ae(Ce,mt),it;if(ct===null){for(;mtmt?(ar=ct,ct=null):ar=ct.sibling;var ul=Pe(Ce,ct,Bt.value,Be);if(ul===null){ct===null&&(ct=ar);break}s&&ct&&ul.alternate===null&&c(Ce,ct),we=k(ul,we,mt),Ot===null?it=ul:Ot.sibling=ul,Ot=ul,ct=ar}if(Bt.done)return p(Ce,ct),yt&&Ae(Ce,mt),it;if(ct===null){for(;!Bt.done;mt++,Bt=Ee.next())Bt=Ue(Ce,Bt.value,Be),Bt!==null&&(we=k(Bt,we,mt),Ot===null?it=Bt:Ot.sibling=Bt,Ot=Bt);return yt&&Ae(Ce,mt),it}for(ct=w(ct);!Bt.done;mt++,Bt=Ee.next())Bt=Re(ct,Ce,mt,Bt.value,Be),Bt!==null&&(s&&Bt.alternate!==null&&ct.delete(Bt.key===null?mt:Bt.key),we=k(Bt,we,mt),Ot===null?it=Bt:Ot.sibling=Bt,Ot=Bt);return s&&ct.forEach(function(vW){return c(Ce,vW)}),yt&&Ae(Ce,mt),it}function Yt(Ce,we,Ee,Be){if(typeof Ee=="object"&&Ee!==null&&Ee.type===x&&Ee.key===null&&(Ee=Ee.props.children),typeof Ee=="object"&&Ee!==null){switch(Ee.$$typeof){case g:e:{for(var it=Ee.key;we!==null;){if(we.key===it){if(it=Ee.type,it===x){if(we.tag===7){p(Ce,we.sibling),Be=T(we,Ee.props.children),Be.return=Ce,Ce=Be;break e}}else if(we.elementType===it||typeof it=="object"&&it!==null&&it.$$typeof===V&&kj(it)===we.type){p(Ce,we.sibling),Be=T(we,Ee.props),Th(Be,Ee),Be.return=Ce,Ce=Be;break e}p(Ce,we);break}else c(Ce,we);we=we.sibling}Ee.type===x?(Be=Fa(Ee.props.children,Ce.mode,Be,Ee.key),Be.return=Ce,Ce=Be):(Be=gu(Ee.type,Ee.key,Ee.props,null,Ce.mode,Be),Th(Be,Ee),Be.return=Ce,Ce=Be)}return re(Ce);case _:e:{for(it=Ee.key;we!==null;){if(we.key===it)if(we.tag===4&&we.stateNode.containerInfo===Ee.containerInfo&&we.stateNode.implementation===Ee.implementation){p(Ce,we.sibling),Be=T(we,Ee.children||[]),Be.return=Ce,Ce=Be;break e}else{p(Ce,we);break}else c(Ce,we);we=we.sibling}Be=$c(Ee,Ce.mode,Be),Be.return=Ce,Ce=Be}return re(Ce);case V:return it=Ee._init,Ee=it(Ee._payload),Yt(Ce,we,Ee,Be)}if(ne(Ee))return vt(Ce,we,Ee,Be);if(ee(Ee)){if(it=ee(Ee),typeof it!="function")throw Error(r(150));return Ee=it.call(Ee),dt(Ce,we,Ee,Be)}if(typeof Ee.then=="function")return Yt(Ce,we,cv(Ee),Be);if(Ee.$$typeof===O)return Yt(Ce,we,Xg(Ce,Ee),Be);fv(Ce,Ee)}return typeof Ee=="string"&&Ee!==""||typeof Ee=="number"||typeof Ee=="bigint"?(Ee=""+Ee,we!==null&&we.tag===6?(p(Ce,we.sibling),Be=T(we,Ee),Be.return=Ce,Ce=Be):(p(Ce,we),Be=mh(Ee,Ce.mode,Be),Be.return=Ce,Ce=Be),re(Ce)):p(Ce,we)}return function(Ce,we,Ee,Be){try{Oh=0;var it=Yt(Ce,we,Ee,Be);return Gc=null,it}catch(ct){if(ct===yh||ct===Jg)throw ct;var Ot=$r(29,ct,null,Ce.mode);return Ot.lanes=Be,Ot.return=Ce,Ot}finally{}}}var Wc=Dj(!0),Ij=Dj(!1),Hi=B(null),Va=null;function Ys(s){var c=s.alternate;G(Wn,Wn.current&1),G(Hi,s),Va===null&&(c===null||Fc.current!==null||c.memoizedState!==null)&&(Va=s)}function $j(s){if(s.tag===22){if(G(Wn,Wn.current),G(Hi,s),Va===null){var c=s.alternate;c!==null&&c.memoizedState!==null&&(Va=s)}}else Ks()}function Ks(){G(Wn,Wn.current),G(Hi,Hi.current)}function Bo(s){Q(Hi),Va===s&&(Va=null),Q(Wn)}var Wn=B(0);function dv(s){for(var c=s;c!==null;){if(c.tag===13){var p=c.memoizedState;if(p!==null&&(p=p.dehydrated,p===null||p.data==="$?"||S_(p)))return c}else if(c.tag===19&&c.memoizedProps.revealOrder!==void 0){if((c.flags&128)!==0)return c}else if(c.child!==null){c.child.return=c,c=c.child;continue}if(c===s)break;for(;c.sibling===null;){if(c.return===null||c.return===s)return null;c=c.return}c.sibling.return=c.return,c=c.sibling}return null}function Lw(s,c,p,w){c=s.memoizedState,p=p(w,c),p=p==null?c:h({},c,p),s.memoizedState=p,s.lanes===0&&(s.updateQueue.baseState=p)}var kw={enqueueSetState:function(s,c,p){s=s._reactInternals;var w=mi(),T=Hs(w);T.payload=c,p!=null&&(T.callback=p),c=Gs(s,T,w),c!==null&&(gi(c,s,w),wh(c,s,w))},enqueueReplaceState:function(s,c,p){s=s._reactInternals;var w=mi(),T=Hs(w);T.tag=1,T.payload=c,p!=null&&(T.callback=p),c=Gs(s,T,w),c!==null&&(gi(c,s,w),wh(c,s,w))},enqueueForceUpdate:function(s,c){s=s._reactInternals;var p=mi(),w=Hs(p);w.tag=2,c!=null&&(w.callback=c),c=Gs(s,w,p),c!==null&&(gi(c,s,p),wh(c,s,p))}};function Bj(s,c,p,w,T,k,re){return s=s.stateNode,typeof s.shouldComponentUpdate=="function"?s.shouldComponentUpdate(w,k,re):c.prototype&&c.prototype.isPureReactComponent?!kr(p,w)||!kr(T,k):!0}function Uj(s,c,p,w){s=c.state,typeof c.componentWillReceiveProps=="function"&&c.componentWillReceiveProps(p,w),typeof c.UNSAFE_componentWillReceiveProps=="function"&&c.UNSAFE_componentWillReceiveProps(p,w),c.state!==s&&kw.enqueueReplaceState(c,c.state,null)}function Su(s,c){var p=c;if("ref"in c){p={};for(var w in c)w!=="ref"&&(p[w]=c[w])}if(s=s.defaultProps){p===c&&(p=h({},p));for(var T in s)p[T]===void 0&&(p[T]=s[T])}return p}var hv=typeof reportError=="function"?reportError:function(s){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var c=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof s=="object"&&s!==null&&typeof s.message=="string"?String(s.message):String(s),error:s});if(!window.dispatchEvent(c))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",s);return}console.error(s)};function zj(s){hv(s)}function Fj(s){console.error(s)}function qj(s){hv(s)}function pv(s,c){try{var p=s.onUncaughtError;p(c.value,{componentStack:c.stack})}catch(w){setTimeout(function(){throw w})}}function Vj(s,c,p){try{var w=s.onCaughtError;w(p.value,{componentStack:p.stack,errorBoundary:c.tag===1?c.stateNode:null})}catch(T){setTimeout(function(){throw T})}}function Dw(s,c,p){return p=Hs(p),p.tag=3,p.payload={element:null},p.callback=function(){pv(s,c)},p}function Hj(s){return s=Hs(s),s.tag=3,s}function Gj(s,c,p,w){var T=p.type.getDerivedStateFromError;if(typeof T=="function"){var k=w.value;s.payload=function(){return T(k)},s.callback=function(){Vj(c,p,w)}}var re=p.stateNode;re!==null&&typeof re.componentDidCatch=="function"&&(s.callback=function(){Vj(c,p,w),typeof T!="function"&&(tl===null?tl=new Set([this]):tl.add(this));var le=w.stack;this.componentDidCatch(w.value,{componentStack:le!==null?le:""})})}function vG(s,c,p,w,T){if(p.flags|=32768,w!==null&&typeof w=="object"&&typeof w.then=="function"){if(c=p.alternate,c!==null&&bu(c,p,T,!0),p=Hi.current,p!==null){switch(p.tag){case 13:return Va===null?o_():p.alternate===null&&En===0&&(En=3),p.flags&=-257,p.flags|=65536,p.lanes=T,w===fw?p.flags|=16384:(c=p.updateQueue,c===null?p.updateQueue=new Set([w]):c.add(w),l_(s,w,T)),!1;case 22:return p.flags|=65536,w===fw?p.flags|=16384:(c=p.updateQueue,c===null?(c={transitions:null,markerInstances:null,retryQueue:new Set([w])},p.updateQueue=c):(p=c.retryQueue,p===null?c.retryQueue=new Set([w]):p.add(w)),l_(s,w,T)),!1}throw Error(r(435,p.tag))}return l_(s,w,T),o_(),!1}if(yt)return c=Hi.current,c!==null?((c.flags&65536)===0&&(c.flags|=256),c.flags|=65536,c.lanes=T,w!==nr&&(s=Error(r(422),{cause:w}),qs(Dr(s,p)))):(w!==nr&&(c=Error(r(423),{cause:w}),qs(Dr(c,p))),s=s.current.alternate,s.flags|=65536,T&=-T,s.lanes|=T,w=Dr(w,p),T=Dw(s.stateNode,w,T),pw(s,T),En!==4&&(En=2)),!1;var k=Error(r(520),{cause:w});if(k=Dr(k,p),kh===null?kh=[k]:kh.push(k),En!==4&&(En=2),c===null)return!0;w=Dr(w,p),p=c;do{switch(p.tag){case 3:return p.flags|=65536,s=T&-T,p.lanes|=s,s=Dw(p.stateNode,w,s),pw(p,s),!1;case 1:if(c=p.type,k=p.stateNode,(p.flags&128)===0&&(typeof c.getDerivedStateFromError=="function"||k!==null&&typeof k.componentDidCatch=="function"&&(tl===null||!tl.has(k))))return p.flags|=65536,T&=-T,p.lanes|=T,T=Hj(T),Gj(T,s,p,w),pw(p,T),!1}p=p.return}while(p!==null);return!1}var Wj=Error(r(461)),rr=!1;function pr(s,c,p,w){c.child=s===null?Ij(c,null,p,w):Wc(c,s.child,p,w)}function Yj(s,c,p,w,T){p=p.render;var k=c.ref;if("ref"in w){var re={};for(var le in w)le!=="ref"&&(re[le]=w[le])}else re=w;return wu(c),w=bw(s,c,p,re,k,T),le=ww(),s!==null&&!rr?(_w(s,c,T),Uo(s,c,T)):(yt&&le&&qe(c),c.flags|=1,pr(s,c,w,T),c.child)}function Kj(s,c,p,w,T){if(s===null){var k=p.type;return typeof k=="function"&&!Ic(k)&&k.defaultProps===void 0&&p.compare===null?(c.tag=15,c.type=k,Zj(s,c,k,w,T)):(s=gu(p.type,null,w,c,c.mode,T),s.ref=c.ref,s.return=c,c.child=s)}if(k=s.child,!Vw(s,T)){var re=k.memoizedProps;if(p=p.compare,p=p!==null?p:kr,p(re,w)&&s.ref===c.ref)return Uo(s,c,T)}return c.flags|=1,s=qi(k,w),s.ref=c.ref,s.return=c,c.child=s}function Zj(s,c,p,w,T){if(s!==null){var k=s.memoizedProps;if(kr(k,w)&&s.ref===c.ref)if(rr=!1,c.pendingProps=w=k,Vw(s,T))(s.flags&131072)!==0&&(rr=!0);else return c.lanes=s.lanes,Uo(s,c,T)}return Iw(s,c,p,w,T)}function Xj(s,c,p){var w=c.pendingProps,T=w.children,k=s!==null?s.memoizedState:null;if(w.mode==="hidden"){if((c.flags&128)!==0){if(w=k!==null?k.baseLanes|p:p,s!==null){for(T=c.child=s.child,k=0;T!==null;)k=k|T.lanes|T.childLanes,T=T.sibling;c.childLanes=k&~w}else c.childLanes=0,c.child=null;return Qj(s,c,w,p)}if((p&536870912)!==0)c.memoizedState={baseLanes:0,cachePool:null},s!==null&&Qg(c,k!==null?k.cachePool:null),k!==null?Z4(c,k):gw(),$j(c);else return c.lanes=c.childLanes=536870912,Qj(s,c,k!==null?k.baseLanes|p:p,p)}else k!==null?(Qg(c,k.cachePool),Z4(c,k),Ks(),c.memoizedState=null):(s!==null&&Qg(c,null),gw(),Ks());return pr(s,c,T,p),c.child}function Qj(s,c,p,w){var T=cw();return T=T===null?null:{parent:Gn._currentValue,pool:T},c.memoizedState={baseLanes:p,cachePool:T},s!==null&&Qg(c,null),gw(),$j(c),s!==null&&bu(s,c,w,!0),null}function mv(s,c){var p=c.ref;if(p===null)s!==null&&s.ref!==null&&(c.flags|=4194816);else{if(typeof p!="function"&&typeof p!="object")throw Error(r(284));(s===null||s.ref!==p)&&(c.flags|=4194816)}}function Iw(s,c,p,w,T){return wu(c),p=bw(s,c,p,w,void 0,T),w=ww(),s!==null&&!rr?(_w(s,c,T),Uo(s,c,T)):(yt&&w&&qe(c),c.flags|=1,pr(s,c,p,T),c.child)}function Jj(s,c,p,w,T,k){return wu(c),c.updateQueue=null,p=Q4(c,w,p,T),X4(s),w=ww(),s!==null&&!rr?(_w(s,c,k),Uo(s,c,k)):(yt&&w&&qe(c),c.flags|=1,pr(s,c,p,k),c.child)}function eP(s,c,p,w,T){if(wu(c),c.stateNode===null){var k=Do,re=p.contextType;typeof re=="object"&&re!==null&&(k=Or(re)),k=new p(w,k),c.memoizedState=k.state!==null&&k.state!==void 0?k.state:null,k.updater=kw,c.stateNode=k,k._reactInternals=c,k=c.stateNode,k.props=w,k.state=c.memoizedState,k.refs={},dw(c),re=p.contextType,k.context=typeof re=="object"&&re!==null?Or(re):Do,k.state=c.memoizedState,re=p.getDerivedStateFromProps,typeof re=="function"&&(Lw(c,p,re,w),k.state=c.memoizedState),typeof p.getDerivedStateFromProps=="function"||typeof k.getSnapshotBeforeUpdate=="function"||typeof k.UNSAFE_componentWillMount!="function"&&typeof k.componentWillMount!="function"||(re=k.state,typeof k.componentWillMount=="function"&&k.componentWillMount(),typeof k.UNSAFE_componentWillMount=="function"&&k.UNSAFE_componentWillMount(),re!==k.state&&kw.enqueueReplaceState(k,k.state,null),xh(c,w,k,T),_h(),k.state=c.memoizedState),typeof k.componentDidMount=="function"&&(c.flags|=4194308),w=!0}else if(s===null){k=c.stateNode;var le=c.memoizedProps,ge=Su(p,le);k.props=ge;var Te=k.context,Ie=p.contextType;re=Do,typeof Ie=="object"&&Ie!==null&&(re=Or(Ie));var Ue=p.getDerivedStateFromProps;Ie=typeof Ue=="function"||typeof k.getSnapshotBeforeUpdate=="function",le=c.pendingProps!==le,Ie||typeof k.UNSAFE_componentWillReceiveProps!="function"&&typeof k.componentWillReceiveProps!="function"||(le||Te!==re)&&Uj(c,k,w,re),Vs=!1;var Pe=c.memoizedState;k.state=Pe,xh(c,w,k,T),_h(),Te=c.memoizedState,le||Pe!==Te||Vs?(typeof Ue=="function"&&(Lw(c,p,Ue,w),Te=c.memoizedState),(ge=Vs||Bj(c,p,ge,w,Pe,Te,re))?(Ie||typeof k.UNSAFE_componentWillMount!="function"&&typeof k.componentWillMount!="function"||(typeof k.componentWillMount=="function"&&k.componentWillMount(),typeof k.UNSAFE_componentWillMount=="function"&&k.UNSAFE_componentWillMount()),typeof k.componentDidMount=="function"&&(c.flags|=4194308)):(typeof k.componentDidMount=="function"&&(c.flags|=4194308),c.memoizedProps=w,c.memoizedState=Te),k.props=w,k.state=Te,k.context=re,w=ge):(typeof k.componentDidMount=="function"&&(c.flags|=4194308),w=!1)}else{k=c.stateNode,hw(s,c),re=c.memoizedProps,Ie=Su(p,re),k.props=Ie,Ue=c.pendingProps,Pe=k.context,Te=p.contextType,ge=Do,typeof Te=="object"&&Te!==null&&(ge=Or(Te)),le=p.getDerivedStateFromProps,(Te=typeof le=="function"||typeof k.getSnapshotBeforeUpdate=="function")||typeof k.UNSAFE_componentWillReceiveProps!="function"&&typeof k.componentWillReceiveProps!="function"||(re!==Ue||Pe!==ge)&&Uj(c,k,w,ge),Vs=!1,Pe=c.memoizedState,k.state=Pe,xh(c,w,k,T),_h();var Re=c.memoizedState;re!==Ue||Pe!==Re||Vs||s!==null&&s.dependencies!==null&&Zg(s.dependencies)?(typeof le=="function"&&(Lw(c,p,le,w),Re=c.memoizedState),(Ie=Vs||Bj(c,p,Ie,w,Pe,Re,ge)||s!==null&&s.dependencies!==null&&Zg(s.dependencies))?(Te||typeof k.UNSAFE_componentWillUpdate!="function"&&typeof k.componentWillUpdate!="function"||(typeof k.componentWillUpdate=="function"&&k.componentWillUpdate(w,Re,ge),typeof k.UNSAFE_componentWillUpdate=="function"&&k.UNSAFE_componentWillUpdate(w,Re,ge)),typeof k.componentDidUpdate=="function"&&(c.flags|=4),typeof k.getSnapshotBeforeUpdate=="function"&&(c.flags|=1024)):(typeof k.componentDidUpdate!="function"||re===s.memoizedProps&&Pe===s.memoizedState||(c.flags|=4),typeof k.getSnapshotBeforeUpdate!="function"||re===s.memoizedProps&&Pe===s.memoizedState||(c.flags|=1024),c.memoizedProps=w,c.memoizedState=Re),k.props=w,k.state=Re,k.context=ge,w=Ie):(typeof k.componentDidUpdate!="function"||re===s.memoizedProps&&Pe===s.memoizedState||(c.flags|=4),typeof k.getSnapshotBeforeUpdate!="function"||re===s.memoizedProps&&Pe===s.memoizedState||(c.flags|=1024),w=!1)}return k=w,mv(s,c),w=(c.flags&128)!==0,k||w?(k=c.stateNode,p=w&&typeof p.getDerivedStateFromError!="function"?null:k.render(),c.flags|=1,s!==null&&w?(c.child=Wc(c,s.child,null,T),c.child=Wc(c,null,p,T)):pr(s,c,p,T),c.memoizedState=k.state,s=c.child):s=Uo(s,c,T),s}function tP(s,c,p,w){return Fs(),c.flags|=256,pr(s,c,p,w),c.child}var $w={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Bw(s){return{baseLanes:s,cachePool:F4()}}function Uw(s,c,p){return s=s!==null?s.childLanes&~p:0,c&&(s|=Gi),s}function nP(s,c,p){var w=c.pendingProps,T=!1,k=(c.flags&128)!==0,re;if((re=k)||(re=s!==null&&s.memoizedState===null?!1:(Wn.current&2)!==0),re&&(T=!0,c.flags&=-129),re=(c.flags&32)!==0,c.flags&=-33,s===null){if(yt){if(T?Ys(c):Ks(),yt){var le=at,ge;if(ge=le){e:{for(ge=le,le=xn;ge.nodeType!==8;){if(!le){le=null;break e}if(ge=da(ge.nextSibling),ge===null){le=null;break e}}le=ge}le!==null?(c.memoizedState={dehydrated:le,treeContext:Z!==null?{id:oe,overflow:me}:null,retryLane:536870912,hydrationErrors:null},ge=$r(18,null,null,0),ge.stateNode=le,ge.return=c,c.child=ge,rt=c,at=null,ge=!0):ge=!1}ge||Xr(c)}if(le=c.memoizedState,le!==null&&(le=le.dehydrated,le!==null))return S_(le)?c.lanes=32:c.lanes=536870912,null;Bo(c)}return le=w.children,w=w.fallback,T?(Ks(),T=c.mode,le=gv({mode:"hidden",children:le},T),w=Fa(w,T,p,null),le.return=c,w.return=c,le.sibling=w,c.child=le,T=c.child,T.memoizedState=Bw(p),T.childLanes=Uw(s,re,p),c.memoizedState=$w,w):(Ys(c),zw(c,le))}if(ge=s.memoizedState,ge!==null&&(le=ge.dehydrated,le!==null)){if(k)c.flags&256?(Ys(c),c.flags&=-257,c=Fw(s,c,p)):c.memoizedState!==null?(Ks(),c.child=s.child,c.flags|=128,c=null):(Ks(),T=w.fallback,le=c.mode,w=gv({mode:"visible",children:w.children},le),T=Fa(T,le,p,null),T.flags|=2,w.return=c,T.return=c,w.sibling=T,c.child=w,Wc(c,s.child,null,p),w=c.child,w.memoizedState=Bw(p),w.childLanes=Uw(s,re,p),c.memoizedState=$w,c=T);else if(Ys(c),S_(le)){if(re=le.nextSibling&&le.nextSibling.dataset,re)var Te=re.dgst;re=Te,w=Error(r(419)),w.stack="",w.digest=re,qs({value:w,source:null,stack:null}),c=Fw(s,c,p)}else if(rr||bu(s,c,p,!1),re=(p&s.childLanes)!==0,rr||re){if(re=on,re!==null&&(w=p&-p,w=(w&42)!==0?1:mn(w),w=(w&(re.suspendedLanes|p))!==0?0:w,w!==0&&w!==ge.retryLane))throw ge.retryLane=w,Us(s,w),gi(re,s,w),Wj;le.data==="$?"||o_(),c=Fw(s,c,p)}else le.data==="$?"?(c.flags|=192,c.child=s.child,c=null):(s=ge.treeContext,at=da(le.nextSibling),rt=c,yt=!0,an=null,xn=!1,s!==null&&(E[$++]=oe,E[$++]=me,E[$++]=Z,oe=s.id,me=s.overflow,Z=c),c=zw(c,w.children),c.flags|=4096);return c}return T?(Ks(),T=w.fallback,le=c.mode,ge=s.child,Te=ge.sibling,w=qi(ge,{mode:"hidden",children:w.children}),w.subtreeFlags=ge.subtreeFlags&65011712,Te!==null?T=qi(Te,T):(T=Fa(T,le,p,null),T.flags|=2),T.return=c,w.return=c,w.sibling=T,c.child=w,w=T,T=c.child,le=s.child.memoizedState,le===null?le=Bw(p):(ge=le.cachePool,ge!==null?(Te=Gn._currentValue,ge=ge.parent!==Te?{parent:Te,pool:Te}:ge):ge=F4(),le={baseLanes:le.baseLanes|p,cachePool:ge}),T.memoizedState=le,T.childLanes=Uw(s,re,p),c.memoizedState=$w,w):(Ys(c),p=s.child,s=p.sibling,p=qi(p,{mode:"visible",children:w.children}),p.return=c,p.sibling=null,s!==null&&(re=c.deletions,re===null?(c.deletions=[s],c.flags|=16):re.push(s)),c.child=p,c.memoizedState=null,p)}function zw(s,c){return c=gv({mode:"visible",children:c},s.mode),c.return=s,s.child=c}function gv(s,c){return s=$r(22,s,null,c),s.lanes=0,s.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null},s}function Fw(s,c,p){return Wc(c,s.child,null,p),s=zw(c,c.pendingProps.children),s.flags|=2,c.memoizedState=null,s}function rP(s,c,p){s.lanes|=c;var w=s.alternate;w!==null&&(w.lanes|=c),yu(s.return,c,p)}function qw(s,c,p,w,T){var k=s.memoizedState;k===null?s.memoizedState={isBackwards:c,rendering:null,renderingStartTime:0,last:w,tail:p,tailMode:T}:(k.isBackwards=c,k.rendering=null,k.renderingStartTime=0,k.last=w,k.tail=p,k.tailMode=T)}function iP(s,c,p){var w=c.pendingProps,T=w.revealOrder,k=w.tail;if(pr(s,c,w.children,p),w=Wn.current,(w&2)!==0)w=w&1|2,c.flags|=128;else{if(s!==null&&(s.flags&128)!==0)e:for(s=c.child;s!==null;){if(s.tag===13)s.memoizedState!==null&&rP(s,p,c);else if(s.tag===19)rP(s,p,c);else if(s.child!==null){s.child.return=s,s=s.child;continue}if(s===c)break e;for(;s.sibling===null;){if(s.return===null||s.return===c)break e;s=s.return}s.sibling.return=s.return,s=s.sibling}w&=1}switch(G(Wn,w),T){case"forwards":for(p=c.child,T=null;p!==null;)s=p.alternate,s!==null&&dv(s)===null&&(T=p),p=p.sibling;p=T,p===null?(T=c.child,c.child=null):(T=p.sibling,p.sibling=null),qw(c,!1,T,p,k);break;case"backwards":for(p=null,T=c.child,c.child=null;T!==null;){if(s=T.alternate,s!==null&&dv(s)===null){c.child=T;break}s=T.sibling,T.sibling=p,p=T,T=s}qw(c,!0,p,null,k);break;case"together":qw(c,!1,null,null,void 0);break;default:c.memoizedState=null}return c.child}function Uo(s,c,p){if(s!==null&&(c.dependencies=s.dependencies),el|=c.lanes,(p&c.childLanes)===0)if(s!==null){if(bu(s,c,p,!1),(p&c.childLanes)===0)return null}else return null;if(s!==null&&c.child!==s.child)throw Error(r(153));if(c.child!==null){for(s=c.child,p=qi(s,s.pendingProps),c.child=p,p.return=c;s.sibling!==null;)s=s.sibling,p=p.sibling=qi(s,s.pendingProps),p.return=c;p.sibling=null}return c.child}function Vw(s,c){return(s.lanes&c)!==0?!0:(s=s.dependencies,!!(s!==null&&Zg(s)))}function yG(s,c,p){switch(c.tag){case 3:F(c,c.stateNode.containerInfo),qa(c,Gn,s.memoizedState.cache),Fs();break;case 27:case 5:te(c);break;case 4:F(c,c.stateNode.containerInfo);break;case 10:qa(c,c.type,c.memoizedProps.value);break;case 13:var w=c.memoizedState;if(w!==null)return w.dehydrated!==null?(Ys(c),c.flags|=128,null):(p&c.child.childLanes)!==0?nP(s,c,p):(Ys(c),s=Uo(s,c,p),s!==null?s.sibling:null);Ys(c);break;case 19:var T=(s.flags&128)!==0;if(w=(p&c.childLanes)!==0,w||(bu(s,c,p,!1),w=(p&c.childLanes)!==0),T){if(w)return iP(s,c,p);c.flags|=128}if(T=c.memoizedState,T!==null&&(T.rendering=null,T.tail=null,T.lastEffect=null),G(Wn,Wn.current),w)break;return null;case 22:case 23:return c.lanes=0,Xj(s,c,p);case 24:qa(c,Gn,s.memoizedState.cache)}return Uo(s,c,p)}function aP(s,c,p){if(s!==null)if(s.memoizedProps!==c.pendingProps)rr=!0;else{if(!Vw(s,p)&&(c.flags&128)===0)return rr=!1,yG(s,c,p);rr=(s.flags&131072)!==0}else rr=!1,yt&&(c.flags&1048576)!==0&&Me(c,y,c.index);switch(c.lanes=0,c.tag){case 16:e:{s=c.pendingProps;var w=c.elementType,T=w._init;if(w=T(w._payload),c.type=w,typeof w=="function")Ic(w)?(s=Su(w,s),c.tag=1,c=eP(null,c,w,s,p)):(c.tag=0,c=Iw(null,c,w,s,p));else{if(w!=null){if(T=w.$$typeof,T===P){c.tag=11,c=Yj(null,c,w,s,p);break e}else if(T===U){c.tag=14,c=Kj(null,c,w,s,p);break e}}throw c=X(w)||w,Error(r(306,c,""))}}return c;case 0:return Iw(s,c,c.type,c.pendingProps,p);case 1:return w=c.type,T=Su(w,c.pendingProps),eP(s,c,w,T,p);case 3:e:{if(F(c,c.stateNode.containerInfo),s===null)throw Error(r(387));w=c.pendingProps;var k=c.memoizedState;T=k.element,hw(s,c),xh(c,w,null,p);var re=c.memoizedState;if(w=re.cache,qa(c,Gn,w),w!==k.cache&&Bc(c,[Gn],p,!0),_h(),w=re.element,k.isDehydrated)if(k={element:w,isDehydrated:!1,cache:re.cache},c.updateQueue.baseState=k,c.memoizedState=k,c.flags&256){c=tP(s,c,w,p);break e}else if(w!==T){T=Dr(Error(r(424)),c),qs(T),c=tP(s,c,w,p);break e}else{switch(s=c.stateNode.containerInfo,s.nodeType){case 9:s=s.body;break;default:s=s.nodeName==="HTML"?s.ownerDocument.body:s}for(at=da(s.firstChild),rt=c,yt=!0,an=null,xn=!0,p=Ij(c,null,w,p),c.child=p;p;)p.flags=p.flags&-3|4096,p=p.sibling}else{if(Fs(),w===T){c=Uo(s,c,p);break e}pr(s,c,w,p)}c=c.child}return c;case 26:return mv(s,c),s===null?(p=uR(c.type,null,c.pendingProps,null))?c.memoizedState=p:yt||(p=c.type,s=c.pendingProps,w=Pv(ce.current).createElement(p),w[Mt]=c,w[tn]=s,gr(w,p,s),In(w),c.stateNode=w):c.memoizedState=uR(c.type,s.memoizedProps,c.pendingProps,s.memoizedState),null;case 27:return te(c),s===null&&yt&&(w=c.stateNode=oR(c.type,c.pendingProps,ce.current),rt=c,xn=!0,T=at,il(c.type)?(C_=T,at=da(w.firstChild)):at=T),pr(s,c,c.pendingProps.children,p),mv(s,c),s===null&&(c.flags|=4194304),c.child;case 5:return s===null&&yt&&((T=w=at)&&(w=GG(w,c.type,c.pendingProps,xn),w!==null?(c.stateNode=w,rt=c,at=da(w.firstChild),xn=!1,T=!0):T=!1),T||Xr(c)),te(c),T=c.type,k=c.pendingProps,re=s!==null?s.memoizedProps:null,w=k.children,w_(T,k)?w=null:re!==null&&w_(T,re)&&(c.flags|=32),c.memoizedState!==null&&(T=bw(s,c,cG,null,null,p),Vh._currentValue=T),mv(s,c),pr(s,c,w,p),c.child;case 6:return s===null&&yt&&((s=p=at)&&(p=WG(p,c.pendingProps,xn),p!==null?(c.stateNode=p,rt=c,at=null,s=!0):s=!1),s||Xr(c)),null;case 13:return nP(s,c,p);case 4:return F(c,c.stateNode.containerInfo),w=c.pendingProps,s===null?c.child=Wc(c,null,w,p):pr(s,c,w,p),c.child;case 11:return Yj(s,c,c.type,c.pendingProps,p);case 7:return pr(s,c,c.pendingProps,p),c.child;case 8:return pr(s,c,c.pendingProps.children,p),c.child;case 12:return pr(s,c,c.pendingProps.children,p),c.child;case 10:return w=c.pendingProps,qa(c,c.type,w.value),pr(s,c,w.children,p),c.child;case 9:return T=c.type._context,w=c.pendingProps.children,wu(c),T=Or(T),w=w(T),c.flags|=1,pr(s,c,w,p),c.child;case 14:return Kj(s,c,c.type,c.pendingProps,p);case 15:return Zj(s,c,c.type,c.pendingProps,p);case 19:return iP(s,c,p);case 31:return w=c.pendingProps,p=c.mode,w={mode:w.mode,children:w.children},s===null?(p=gv(w,p),p.ref=c.ref,c.child=p,p.return=c,c=p):(p=qi(s.child,w),p.ref=c.ref,c.child=p,p.return=c,c=p),c;case 22:return Xj(s,c,p);case 24:return wu(c),w=Or(Gn),s===null?(T=cw(),T===null&&(T=on,k=lw(),T.pooledCache=k,k.refCount++,k!==null&&(T.pooledCacheLanes|=p),T=k),c.memoizedState={parent:w,cache:T},dw(c),qa(c,Gn,T)):((s.lanes&p)!==0&&(hw(s,c),xh(c,null,null,p),_h()),T=s.memoizedState,k=c.memoizedState,T.parent!==w?(T={parent:w,cache:w},c.memoizedState=T,c.lanes===0&&(c.memoizedState=c.updateQueue.baseState=T),qa(c,Gn,w)):(w=k.cache,qa(c,Gn,w),w!==T.cache&&Bc(c,[Gn],p,!0))),pr(s,c,c.pendingProps.children,p),c.child;case 29:throw c.pendingProps}throw Error(r(156,c.tag))}function zo(s){s.flags|=4}function oP(s,c){if(c.type!=="stylesheet"||(c.state.loading&4)!==0)s.flags&=-16777217;else if(s.flags|=16777216,!pR(c)){if(c=Hi.current,c!==null&&((Lt&4194048)===Lt?Va!==null:(Lt&62914560)!==Lt&&(Lt&536870912)===0||c!==Va))throw bh=fw,q4;s.flags|=8192}}function vv(s,c){c!==null&&(s.flags|=4),s.flags&16384&&(c=s.tag!==22?ii():536870912,s.lanes|=c,Xc|=c)}function jh(s,c){if(!yt)switch(s.tailMode){case"hidden":c=s.tail;for(var p=null;c!==null;)c.alternate!==null&&(p=c),c=c.sibling;p===null?s.tail=null:p.sibling=null;break;case"collapsed":p=s.tail;for(var w=null;p!==null;)p.alternate!==null&&(w=p),p=p.sibling;w===null?c||s.tail===null?s.tail=null:s.tail.sibling=null:w.sibling=null}}function Sn(s){var c=s.alternate!==null&&s.alternate.child===s.child,p=0,w=0;if(c)for(var T=s.child;T!==null;)p|=T.lanes|T.childLanes,w|=T.subtreeFlags&65011712,w|=T.flags&65011712,T.return=s,T=T.sibling;else for(T=s.child;T!==null;)p|=T.lanes|T.childLanes,w|=T.subtreeFlags,w|=T.flags,T.return=s,T=T.sibling;return s.subtreeFlags|=w,s.childLanes=p,c}function bG(s,c,p){var w=c.pendingProps;switch(Qe(c),c.tag){case 31:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Sn(c),null;case 1:return Sn(c),null;case 3:return p=c.stateNode,w=null,s!==null&&(w=s.memoizedState.cache),c.memoizedState.cache!==w&&(c.flags|=2048),ca(Gn),q(),p.pendingContext&&(p.context=p.pendingContext,p.pendingContext=null),(s===null||s.child===null)&&(vu(c)?zo(c):s===null||s.memoizedState.isDehydrated&&(c.flags&256)===0||(c.flags|=1024,Kg())),Sn(c),null;case 26:return p=c.memoizedState,s===null?(zo(c),p!==null?(Sn(c),oP(c,p)):(Sn(c),c.flags&=-16777217)):p?p!==s.memoizedState?(zo(c),Sn(c),oP(c,p)):(Sn(c),c.flags&=-16777217):(s.memoizedProps!==w&&zo(c),Sn(c),c.flags&=-16777217),null;case 27:ue(c),p=ce.current;var T=c.type;if(s!==null&&c.stateNode!=null)s.memoizedProps!==w&&zo(c);else{if(!w){if(c.stateNode===null)throw Error(r(166));return Sn(c),null}s=ae.current,vu(c)?Wg(c):(s=oR(T,w,p),c.stateNode=s,zo(c))}return Sn(c),null;case 5:if(ue(c),p=c.type,s!==null&&c.stateNode!=null)s.memoizedProps!==w&&zo(c);else{if(!w){if(c.stateNode===null)throw Error(r(166));return Sn(c),null}if(s=ae.current,vu(c))Wg(c);else{switch(T=Pv(ce.current),s){case 1:s=T.createElementNS("http://www.w3.org/2000/svg",p);break;case 2:s=T.createElementNS("http://www.w3.org/1998/Math/MathML",p);break;default:switch(p){case"svg":s=T.createElementNS("http://www.w3.org/2000/svg",p);break;case"math":s=T.createElementNS("http://www.w3.org/1998/Math/MathML",p);break;case"script":s=T.createElement("div"),s.innerHTML=" + + + + +
+ + diff --git a/feature/tailwind-nabvar/manifest.json b/feature/tailwind-nabvar/manifest.json new file mode 100644 index 00000000..8c6d4ad5 --- /dev/null +++ b/feature/tailwind-nabvar/manifest.json @@ -0,0 +1 @@ +{"name":"Shlink","short_name":"Shlink","description":"A React-based progressive web application for shlink","start_url":"/","display":"standalone","background_color":"#4696e5","theme_color":"#4696e5","lang":"en","scope":"/shlink-web-client/feature/tailwind-nabvar/","icons":[{"src":"./icons/icon-16x16.png","type":"image/png","sizes":"16x16"},{"src":"./icons/icon-24x24.png","type":"image/png","sizes":"24x24"},{"src":"./icons/icon-32x32.png","type":"image/png","sizes":"32x32"},{"src":"./icons/icon-40x40.png","type":"image/png","sizes":"40x40"},{"src":"./icons/icon-48x48.png","type":"image/png","sizes":"48x48"},{"src":"./icons/icon-60x60.png","type":"image/png","sizes":"60x60"},{"src":"./icons/icon-64x64.png","type":"image/png","sizes":"64x64"},{"src":"./icons/icon-72x72.png","type":"image/png","sizes":"72x72"},{"src":"./icons/icon-76x76.png","type":"image/png","sizes":"76x76"},{"src":"./icons/icon-96x96.png","type":"image/png","sizes":"96x96"},{"src":"./icons/icon-114x114.png","type":"image/png","sizes":"114x114"},{"src":"./icons/icon-120x120.png","type":"image/png","sizes":"120x120"},{"src":"./icons/icon-128x128.png","type":"image/png","sizes":"128x128"},{"src":"./icons/icon-144x144.png","type":"image/png","sizes":"144x144"},{"src":"./icons/icon-150x150.png","type":"image/png","sizes":"150x150"},{"src":"./icons/icon-152x152.png","type":"image/png","sizes":"152x152"},{"src":"./icons/icon-160x160.png","type":"image/png","sizes":"160x160"},{"src":"./icons/icon-167x167.png","type":"image/png","sizes":"167x167"},{"src":"./icons/icon-180x180.png","type":"image/png","sizes":"180x180"},{"src":"./icons/icon-192x192.png","type":"image/png","sizes":"192x192"},{"src":"./icons/icon-196x196.png","type":"image/png","sizes":"196x196"},{"src":"./icons/icon-228x228.png","type":"image/png","sizes":"228x228"},{"src":"./icons/icon-256x256.png","type":"image/png","sizes":"256x256"},{"src":"./icons/icon-310x310.png","type":"image/png","sizes":"310x310"},{"src":"./icons/icon-384x384.png","type":"image/png","sizes":"384x384"},{"src":"./icons/icon-512x512.png","type":"image/png","sizes":"512x512"},{"src":"./icons/icon-1024x1024.png","type":"image/png","sizes":"1024x1024"}]} diff --git a/feature/tailwind-nabvar/service-worker.js b/feature/tailwind-nabvar/service-worker.js new file mode 100644 index 00000000..65cc9e66 --- /dev/null +++ b/feature/tailwind-nabvar/service-worker.js @@ -0,0 +1,2 @@ +try{self["workbox:core:7.2.0"]&&_()}catch{}const G=(s,...e)=>{let t=s;return e.length>0&&(t+=` :: ${JSON.stringify(e)}`),t},Q=G;class l extends Error{constructor(e,t){const n=Q(e,t);super(n),this.name=e,this.details=t}}const j=new Set;function z(s){j.add(s)}const d={googleAnalytics:"googleAnalytics",precache:"precache-v2",prefix:"workbox",runtime:"runtime",suffix:typeof registration<"u"?registration.scope:""},E=s=>[d.prefix,s,d.suffix].filter(e=>e&&e.length>0).join("-"),J=s=>{for(const e of Object.keys(d))s(e)},x={updateDetails:s=>{J(e=>{typeof s[e]=="string"&&(d[e]=s[e])})},getGoogleAnalyticsName:s=>s||E(d.googleAnalytics),getPrecacheName:s=>s||E(d.precache),getPrefix:()=>d.prefix,getRuntimeName:s=>s||E(d.runtime),getSuffix:()=>d.suffix};function K(s,e){const t=new URL(s);for(const n of e)t.searchParams.delete(n);return t.href}async function X(s,e,t,n){const a=K(e.url,t);if(e.url===a)return s.match(e,n);const r=Object.assign(Object.assign({},n),{ignoreSearch:!0}),i=await s.keys(e,r);for(const c of i){const o=K(c.url,t);if(a===o)return s.match(c,n)}}let m;function Y(){if(m===void 0){const s=new Response("");if("body"in s)try{new Response(s.body),m=!0}catch{m=!1}m=!1}return m}function q(s){s.then(()=>{})}class Z{constructor(){this.promise=new Promise((e,t)=>{this.resolve=e,this.reject=t})}}async function ee(){for(const s of j)await s()}const te=s=>new URL(String(s),location.href).href.replace(new RegExp(`^${location.origin}`),"");function se(s){return new Promise(e=>setTimeout(e,s))}function A(s,e){const t=e();return s.waitUntil(t),t}async function ne(s,e){let t=null;if(s.url&&(t=new URL(s.url).origin),t!==self.location.origin)throw new l("cross-origin-copy-response",{origin:t});const n=s.clone(),r={headers:new Headers(n.headers),status:n.status,statusText:n.statusText},i=Y()?n.body:await n.blob();return new Response(i,r)}function ae(){self.addEventListener("activate",()=>self.clients.claim())}const re=(s,e)=>e.some(t=>s instanceof t);let O,S;function ie(){return O||(O=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction])}function ce(){return S||(S=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])}const F=new WeakMap,k=new WeakMap,H=new WeakMap,D=new WeakMap,I=new WeakMap;function oe(s){const e=new Promise((t,n)=>{const a=()=>{s.removeEventListener("success",r),s.removeEventListener("error",i)},r=()=>{t(f(s.result)),a()},i=()=>{n(s.error),a()};s.addEventListener("success",r),s.addEventListener("error",i)});return e.then(t=>{t instanceof IDBCursor&&F.set(t,s)}).catch(()=>{}),I.set(e,s),e}function he(s){if(k.has(s))return;const e=new Promise((t,n)=>{const a=()=>{s.removeEventListener("complete",r),s.removeEventListener("error",i),s.removeEventListener("abort",i)},r=()=>{t(),a()},i=()=>{n(s.error||new DOMException("AbortError","AbortError")),a()};s.addEventListener("complete",r),s.addEventListener("error",i),s.addEventListener("abort",i)});k.set(s,e)}let P={get(s,e,t){if(s instanceof IDBTransaction){if(e==="done")return k.get(s);if(e==="objectStoreNames")return s.objectStoreNames||H.get(s);if(e==="store")return t.objectStoreNames[1]?void 0:t.objectStore(t.objectStoreNames[0])}return f(s[e])},set(s,e,t){return s[e]=t,!0},has(s,e){return s instanceof IDBTransaction&&(e==="done"||e==="store")?!0:e in s}};function le(s){P=s(P)}function ue(s){return s===IDBDatabase.prototype.transaction&&!("objectStoreNames"in IDBTransaction.prototype)?function(e,...t){const n=s.call(L(this),e,...t);return H.set(n,e.sort?e.sort():[e]),f(n)}:ce().includes(s)?function(...e){return s.apply(L(this),e),f(F.get(this))}:function(...e){return f(s.apply(L(this),e))}}function de(s){return typeof s=="function"?ue(s):(s instanceof IDBTransaction&&he(s),re(s,ie())?new Proxy(s,P):s)}function f(s){if(s instanceof IDBRequest)return oe(s);if(D.has(s))return D.get(s);const e=de(s);return e!==s&&(D.set(s,e),I.set(e,s)),e}const L=s=>I.get(s);function fe(s,e,{blocked:t,upgrade:n,blocking:a,terminated:r}={}){const i=indexedDB.open(s,e),c=f(i);return n&&i.addEventListener("upgradeneeded",o=>{n(f(i.result),o.oldVersion,o.newVersion,f(i.transaction),o)}),t&&i.addEventListener("blocked",o=>t(o.oldVersion,o.newVersion,o)),c.then(o=>{r&&o.addEventListener("close",()=>r()),a&&o.addEventListener("versionchange",h=>a(h.oldVersion,h.newVersion,h))}).catch(()=>{}),c}function pe(s,{blocked:e}={}){const t=indexedDB.deleteDatabase(s);return e&&t.addEventListener("blocked",n=>e(n.oldVersion,n)),f(t).then(()=>{})}const ge=["get","getKey","getAll","getAllKeys","count"],me=["put","add","delete","clear"],U=new Map;function W(s,e){if(!(s instanceof IDBDatabase&&!(e in s)&&typeof e=="string"))return;if(U.get(e))return U.get(e);const t=e.replace(/FromIndex$/,""),n=e!==t,a=me.includes(t);if(!(t in(n?IDBIndex:IDBObjectStore).prototype)||!(a||ge.includes(t)))return;const r=async function(i,...c){const o=this.transaction(i,a?"readwrite":"readonly");let h=o.store;return n&&(h=h.index(c.shift())),(await Promise.all([h[t](...c),a&&o.done]))[0]};return U.set(e,r),r}le(s=>({...s,get:(e,t,n)=>W(e,t)||s.get(e,t,n),has:(e,t)=>!!W(e,t)||s.has(e,t)}));try{self["workbox:expiration:7.2.0"]&&_()}catch{}const we="workbox-expiration",w="cache-entries",B=s=>{const e=new URL(s,location.href);return e.hash="",e.href};class ye{constructor(e){this._db=null,this._cacheName=e}_upgradeDb(e){const t=e.createObjectStore(w,{keyPath:"id"});t.createIndex("cacheName","cacheName",{unique:!1}),t.createIndex("timestamp","timestamp",{unique:!1})}_upgradeDbAndDeleteOldDbs(e){this._upgradeDb(e),this._cacheName&&pe(this._cacheName)}async setTimestamp(e,t){e=B(e);const n={url:e,timestamp:t,cacheName:this._cacheName,id:this._getId(e)},r=(await this.getDb()).transaction(w,"readwrite",{durability:"relaxed"});await r.store.put(n),await r.done}async getTimestamp(e){const n=await(await this.getDb()).get(w,this._getId(e));return n==null?void 0:n.timestamp}async expireEntries(e,t){const n=await this.getDb();let a=await n.transaction(w).store.index("timestamp").openCursor(null,"prev");const r=[];let i=0;for(;a;){const o=a.value;o.cacheName===this._cacheName&&(e&&o.timestamp=t?r.push(a.value):i++),a=await a.continue()}const c=[];for(const o of r)await n.delete(w,o.id),c.push(o.url);return c}_getId(e){return this._cacheName+"|"+B(e)}async getDb(){return this._db||(this._db=await fe(we,1,{upgrade:this._upgradeDbAndDeleteOldDbs.bind(this)})),this._db}}class _e{constructor(e,t={}){this._isRunning=!1,this._rerunRequested=!1,this._maxEntries=t.maxEntries,this._maxAgeSeconds=t.maxAgeSeconds,this._matchOptions=t.matchOptions,this._cacheName=e,this._timestampModel=new ye(e)}async expireEntries(){if(this._isRunning){this._rerunRequested=!0;return}this._isRunning=!0;const e=this._maxAgeSeconds?Date.now()-this._maxAgeSeconds*1e3:0,t=await this._timestampModel.expireEntries(e,this._maxEntries),n=await self.caches.open(this._cacheName);for(const a of t)await n.delete(a,this._matchOptions);this._isRunning=!1,this._rerunRequested&&(this._rerunRequested=!1,q(this.expireEntries()))}async updateTimestamp(e){await this._timestampModel.setTimestamp(e,Date.now())}async isURLExpired(e){if(this._maxAgeSeconds){const t=await this._timestampModel.getTimestamp(e),n=Date.now()-this._maxAgeSeconds*1e3;return t!==void 0?t{if(!r)return null;const i=this._isResponseDateFresh(r),c=this._getCacheExpiration(a);q(c.expireEntries());const o=c.updateTimestamp(n.url);if(t)try{t.waitUntil(o)}catch{}return i?r:null},this.cacheDidUpdate=async({cacheName:t,request:n})=>{const a=this._getCacheExpiration(t);await a.updateTimestamp(n.url),await a.expireEntries()},this._config=e,this._maxAgeSeconds=e.maxAgeSeconds,this._cacheExpirations=new Map,e.purgeOnQuotaError&&z(()=>this.deleteCacheAndMetadata())}_getCacheExpiration(e){if(e===x.getRuntimeName())throw new l("expire-custom-caches-only");let t=this._cacheExpirations.get(e);return t||(t=new _e(e,this._config),this._cacheExpirations.set(e,t)),t}_isResponseDateFresh(e){if(!this._maxAgeSeconds)return!0;const t=this._getDateHeaderTimestamp(e);if(t===null)return!0;const n=Date.now();return t>=n-this._maxAgeSeconds*1e3}_getDateHeaderTimestamp(e){if(!e.headers.has("date"))return null;const t=e.headers.get("date"),a=new Date(t).getTime();return isNaN(a)?null:a}async deleteCacheAndMetadata(){for(const[e,t]of this._cacheExpirations)await self.caches.delete(e),await t.delete();this._cacheExpirations=new Map}}try{self["workbox:precaching:7.2.0"]&&_()}catch{}const be="__WB_REVISION__";function Ce(s){if(!s)throw new l("add-to-cache-list-unexpected-type",{entry:s});if(typeof s=="string"){const r=new URL(s,location.href);return{cacheKey:r.href,url:r.href}}const{revision:e,url:t}=s;if(!t)throw new l("add-to-cache-list-unexpected-type",{entry:s});if(!e){const r=new URL(t,location.href);return{cacheKey:r.href,url:r.href}}const n=new URL(t,location.href),a=new URL(t,location.href);return n.searchParams.set(be,e),{cacheKey:n.href,url:a.href}}class xe{constructor(){this.updatedURLs=[],this.notUpdatedURLs=[],this.handlerWillStart=async({request:e,state:t})=>{t&&(t.originalRequest=e)},this.cachedResponseWillBeUsed=async({event:e,state:t,cachedResponse:n})=>{if(e.type==="install"&&t&&t.originalRequest&&t.originalRequest instanceof Request){const a=t.originalRequest.url;n?this.notUpdatedURLs.push(a):this.updatedURLs.push(a)}return n}}}class Ee{constructor({precacheController:e}){this.cacheKeyWillBeUsed=async({request:t,params:n})=>{const a=(n==null?void 0:n.cacheKey)||this._precacheController.getCacheKeyForURL(t.url);return a?new Request(a,{headers:t.headers}):t},this._precacheController=e}}try{self["workbox:strategies:7.2.0"]&&_()}catch{}function b(s){return typeof s=="string"?new Request(s):s}class De{constructor(e,t){this._cacheKeys={},Object.assign(this,t),this.event=t.event,this._strategy=e,this._handlerDeferred=new Z,this._extendLifetimePromises=[],this._plugins=[...e.plugins],this._pluginStateMap=new Map;for(const n of this._plugins)this._pluginStateMap.set(n,{});this.event.waitUntil(this._handlerDeferred.promise)}async fetch(e){const{event:t}=this;let n=b(e);if(n.mode==="navigate"&&t instanceof FetchEvent&&t.preloadResponse){const i=await t.preloadResponse;if(i)return i}const a=this.hasCallback("fetchDidFail")?n.clone():null;try{for(const i of this.iterateCallbacks("requestWillFetch"))n=await i({request:n.clone(),event:t})}catch(i){if(i instanceof Error)throw new l("plugin-error-request-will-fetch",{thrownErrorMessage:i.message})}const r=n.clone();try{let i;i=await fetch(n,n.mode==="navigate"?void 0:this._strategy.fetchOptions);for(const c of this.iterateCallbacks("fetchDidSucceed"))i=await c({event:t,request:r,response:i});return i}catch(i){throw a&&await this.runCallbacks("fetchDidFail",{error:i,event:t,originalRequest:a.clone(),request:r.clone()}),i}}async fetchAndCachePut(e){const t=await this.fetch(e),n=t.clone();return this.waitUntil(this.cachePut(e,n)),t}async cacheMatch(e){const t=b(e);let n;const{cacheName:a,matchOptions:r}=this._strategy,i=await this.getCacheKey(t,"read"),c=Object.assign(Object.assign({},r),{cacheName:a});n=await caches.match(i,c);for(const o of this.iterateCallbacks("cachedResponseWillBeUsed"))n=await o({cacheName:a,matchOptions:r,cachedResponse:n,request:i,event:this.event})||void 0;return n}async cachePut(e,t){const n=b(e);await se(0);const a=await this.getCacheKey(n,"write");if(!t)throw new l("cache-put-with-no-response",{url:te(a.url)});const r=await this._ensureResponseSafeToCache(t);if(!r)return!1;const{cacheName:i,matchOptions:c}=this._strategy,o=await self.caches.open(i),h=this.hasCallback("cacheDidUpdate"),g=h?await X(o,a.clone(),["__WB_REVISION__"],c):null;try{await o.put(a,h?r.clone():r)}catch(u){if(u instanceof Error)throw u.name==="QuotaExceededError"&&await ee(),u}for(const u of this.iterateCallbacks("cacheDidUpdate"))await u({cacheName:i,oldResponse:g,newResponse:r.clone(),request:a,event:this.event});return!0}async getCacheKey(e,t){const n=`${e.url} | ${t}`;if(!this._cacheKeys[n]){let a=e;for(const r of this.iterateCallbacks("cacheKeyWillBeUsed"))a=b(await r({mode:t,request:a,event:this.event,params:this.params}));this._cacheKeys[n]=a}return this._cacheKeys[n]}hasCallback(e){for(const t of this._strategy.plugins)if(e in t)return!0;return!1}async runCallbacks(e,t){for(const n of this.iterateCallbacks(e))await n(t)}*iterateCallbacks(e){for(const t of this._strategy.plugins)if(typeof t[e]=="function"){const n=this._pluginStateMap.get(t);yield r=>{const i=Object.assign(Object.assign({},r),{state:n});return t[e](i)}}}waitUntil(e){return this._extendLifetimePromises.push(e),e}async doneWaiting(){let e;for(;e=this._extendLifetimePromises.shift();)await e}destroy(){this._handlerDeferred.resolve(null)}async _ensureResponseSafeToCache(e){let t=e,n=!1;for(const a of this.iterateCallbacks("cacheWillUpdate"))if(t=await a({request:this.request,response:t,event:this.event})||void 0,n=!0,!t)break;return n||t&&t.status!==200&&(t=void 0),t}}class V{constructor(e={}){this.cacheName=x.getRuntimeName(e.cacheName),this.plugins=e.plugins||[],this.fetchOptions=e.fetchOptions,this.matchOptions=e.matchOptions}handle(e){const[t]=this.handleAll(e);return t}handleAll(e){e instanceof FetchEvent&&(e={event:e,request:e.request});const t=e.event,n=typeof e.request=="string"?new Request(e.request):e.request,a="params"in e?e.params:void 0,r=new De(this,{event:t,request:n,params:a}),i=this._getResponse(r,n,t),c=this._awaitComplete(i,r,n,t);return[i,c]}async _getResponse(e,t,n){await e.runCallbacks("handlerWillStart",{event:n,request:t});let a;try{if(a=await this._handle(t,e),!a||a.type==="error")throw new l("no-response",{url:t.url})}catch(r){if(r instanceof Error){for(const i of e.iterateCallbacks("handlerDidError"))if(a=await i({error:r,event:n,request:t}),a)break}if(!a)throw r}for(const r of e.iterateCallbacks("handlerWillRespond"))a=await r({event:n,request:t,response:a});return a}async _awaitComplete(e,t,n,a){let r,i;try{r=await e}catch{}try{await t.runCallbacks("handlerDidRespond",{event:a,request:n,response:r}),await t.doneWaiting()}catch(c){c instanceof Error&&(i=c)}if(await t.runCallbacks("handlerDidComplete",{event:a,request:n,response:r,error:i}),t.destroy(),i)throw i}}class p extends V{constructor(e={}){e.cacheName=x.getPrecacheName(e.cacheName),super(e),this._fallbackToNetwork=e.fallbackToNetwork!==!1,this.plugins.push(p.copyRedirectedCacheableResponsesPlugin)}async _handle(e,t){const n=await t.cacheMatch(e);return n||(t.event&&t.event.type==="install"?await this._handleInstall(e,t):await this._handleFetch(e,t))}async _handleFetch(e,t){let n;const a=t.params||{};if(this._fallbackToNetwork){const r=a.integrity,i=e.integrity,c=!i||i===r;n=await t.fetch(new Request(e,{integrity:e.mode!=="no-cors"?i||r:void 0})),r&&c&&e.mode!=="no-cors"&&(this._useDefaultCacheabilityPluginIfNeeded(),await t.cachePut(e,n.clone()))}else throw new l("missing-precache-entry",{cacheName:this.cacheName,url:e.url});return n}async _handleInstall(e,t){this._useDefaultCacheabilityPluginIfNeeded();const n=await t.fetch(e);if(!await t.cachePut(e,n.clone()))throw new l("bad-precaching-response",{url:e.url,status:n.status});return n}_useDefaultCacheabilityPluginIfNeeded(){let e=null,t=0;for(const[n,a]of this.plugins.entries())a!==p.copyRedirectedCacheableResponsesPlugin&&(a===p.defaultPrecacheCacheabilityPlugin&&(e=n),a.cacheWillUpdate&&t++);t===0?this.plugins.push(p.defaultPrecacheCacheabilityPlugin):t>1&&e!==null&&this.plugins.splice(e,1)}}p.defaultPrecacheCacheabilityPlugin={async cacheWillUpdate({response:s}){return!s||s.status>=400?null:s}};p.copyRedirectedCacheableResponsesPlugin={async cacheWillUpdate({response:s}){return s.redirected?await ne(s):s}};class Le{constructor({cacheName:e,plugins:t=[],fallbackToNetwork:n=!0}={}){this._urlsToCacheKeys=new Map,this._urlsToCacheModes=new Map,this._cacheKeysToIntegrities=new Map,this._strategy=new p({cacheName:x.getPrecacheName(e),plugins:[...t,new Ee({precacheController:this})],fallbackToNetwork:n}),this.install=this.install.bind(this),this.activate=this.activate.bind(this)}get strategy(){return this._strategy}precache(e){this.addToCacheList(e),this._installAndActiveListenersAdded||(self.addEventListener("install",this.install),self.addEventListener("activate",this.activate),this._installAndActiveListenersAdded=!0)}addToCacheList(e){const t=[];for(const n of e){typeof n=="string"?t.push(n):n&&n.revision===void 0&&t.push(n.url);const{cacheKey:a,url:r}=Ce(n),i=typeof n!="string"&&n.revision?"reload":"default";if(this._urlsToCacheKeys.has(r)&&this._urlsToCacheKeys.get(r)!==a)throw new l("add-to-cache-list-conflicting-entries",{firstEntry:this._urlsToCacheKeys.get(r),secondEntry:a});if(typeof n!="string"&&n.integrity){if(this._cacheKeysToIntegrities.has(a)&&this._cacheKeysToIntegrities.get(a)!==n.integrity)throw new l("add-to-cache-list-conflicting-integrities",{url:r});this._cacheKeysToIntegrities.set(a,n.integrity)}if(this._urlsToCacheKeys.set(r,a),this._urlsToCacheModes.set(r,i),t.length>0){const c=`Workbox is precaching URLs without revision info: ${t.join(", ")} +This is generally NOT safe. Learn more at https://bit.ly/wb-precache`;console.warn(c)}}}install(e){return A(e,async()=>{const t=new xe;this.strategy.plugins.push(t);for(const[r,i]of this._urlsToCacheKeys){const c=this._cacheKeysToIntegrities.get(i),o=this._urlsToCacheModes.get(r),h=new Request(r,{integrity:c,cache:o,credentials:"same-origin"});await Promise.all(this.strategy.handleAll({params:{cacheKey:i},request:h,event:e}))}const{updatedURLs:n,notUpdatedURLs:a}=t;return{updatedURLs:n,notUpdatedURLs:a}})}activate(e){return A(e,async()=>{const t=await self.caches.open(this.strategy.cacheName),n=await t.keys(),a=new Set(this._urlsToCacheKeys.values()),r=[];for(const i of n)a.has(i.url)||(await t.delete(i),r.push(i.url));return{deletedURLs:r}})}getURLsToCacheKeys(){return this._urlsToCacheKeys}getCachedURLs(){return[...this._urlsToCacheKeys.keys()]}getCacheKeyForURL(e){const t=new URL(e,location.href);return this._urlsToCacheKeys.get(t.href)}getIntegrityForCacheKey(e){return this._cacheKeysToIntegrities.get(e)}async matchPrecache(e){const t=e instanceof Request?e.url:e,n=this.getCacheKeyForURL(t);if(n)return(await self.caches.open(this.strategy.cacheName)).match(n)}createHandlerBoundToURL(e){const t=this.getCacheKeyForURL(e);if(!t)throw new l("non-precached-url",{url:e});return n=>(n.request=new Request(e),n.params=Object.assign({cacheKey:t},n.params),this.strategy.handle(n))}}let T;const v=()=>(T||(T=new Le),T);try{self["workbox:routing:7.2.0"]&&_()}catch{}const $="GET",C=s=>s&&typeof s=="object"?s:{handle:s};class R{constructor(e,t,n=$){this.handler=C(t),this.match=e,this.method=n}setCatchHandler(e){this.catchHandler=C(e)}}class Ue extends R{constructor(e,t,n){const a=({url:r})=>{const i=e.exec(r.href);if(i&&!(r.origin!==location.origin&&i.index!==0))return i.slice(1)};super(a,t,n)}}class Te{constructor(){this._routes=new Map,this._defaultHandlerMap=new Map}get routes(){return this._routes}addFetchListener(){self.addEventListener("fetch",e=>{const{request:t}=e,n=this.handleRequest({request:t,event:e});n&&e.respondWith(n)})}addCacheListener(){self.addEventListener("message",e=>{if(e.data&&e.data.type==="CACHE_URLS"){const{payload:t}=e.data,n=Promise.all(t.urlsToCache.map(a=>{typeof a=="string"&&(a=[a]);const r=new Request(...a);return this.handleRequest({request:r,event:e})}));e.waitUntil(n),e.ports&&e.ports[0]&&n.then(()=>e.ports[0].postMessage(!0))}})}handleRequest({request:e,event:t}){const n=new URL(e.url,location.href);if(!n.protocol.startsWith("http"))return;const a=n.origin===location.origin,{params:r,route:i}=this.findMatchingRoute({event:t,request:e,sameOrigin:a,url:n});let c=i&&i.handler;const o=e.method;if(!c&&this._defaultHandlerMap.has(o)&&(c=this._defaultHandlerMap.get(o)),!c)return;let h;try{h=c.handle({url:n,request:e,event:t,params:r})}catch(u){h=Promise.reject(u)}const g=i&&i.catchHandler;return h instanceof Promise&&(this._catchHandler||g)&&(h=h.catch(async u=>{if(g)try{return await g.handle({url:n,request:e,event:t,params:r})}catch(N){N instanceof Error&&(u=N)}if(this._catchHandler)return this._catchHandler.handle({url:n,request:e,event:t});throw u})),h}findMatchingRoute({url:e,sameOrigin:t,request:n,event:a}){const r=this._routes.get(n.method)||[];for(const i of r){let c;const o=i.match({url:e,sameOrigin:t,request:n,event:a});if(o)return c=o,(Array.isArray(c)&&c.length===0||o.constructor===Object&&Object.keys(o).length===0||typeof o=="boolean")&&(c=void 0),{route:i,params:c}}return{}}setDefaultHandler(e,t=$){this._defaultHandlerMap.set(t,C(e))}setCatchHandler(e){this._catchHandler=C(e)}registerRoute(e){this._routes.has(e.method)||this._routes.set(e.method,[]),this._routes.get(e.method).push(e)}unregisterRoute(e){if(!this._routes.has(e.method))throw new l("unregister-route-but-not-found-with-method",{method:e.method});const t=this._routes.get(e.method).indexOf(e);if(t>-1)this._routes.get(e.method).splice(t,1);else throw new l("unregister-route-route-not-registered")}}let y;const ke=()=>(y||(y=new Te,y.addFetchListener(),y.addCacheListener()),y);function M(s,e,t){let n;if(typeof s=="string"){const r=new URL(s,location.href),i=({url:c})=>c.href===r.href;n=new R(i,e,t)}else if(s instanceof RegExp)n=new Ue(s,e,t);else if(typeof s=="function")n=new R(s,e,t);else if(s instanceof R)n=s;else throw new l("unsupported-route-type",{moduleName:"workbox-routing",funcName:"registerRoute",paramName:"capture"});return ke().registerRoute(n),n}function Pe(s,e=[]){for(const t of[...s.searchParams.keys()])e.some(n=>n.test(t))&&s.searchParams.delete(t);return s}function*Ie(s,{ignoreURLParametersMatching:e=[/^utm_/,/^fbclid$/],directoryIndex:t="index.html",cleanURLs:n=!0,urlManipulation:a}={}){const r=new URL(s,location.href);r.hash="",yield r.href;const i=Pe(r,e);if(yield i.href,t&&i.pathname.endsWith("/")){const c=new URL(i.href);c.pathname+=t,yield c.href}if(n){const c=new URL(i.href);c.pathname+=".html",yield c.href}if(a){const c=a({url:r});for(const o of c)yield o.href}}class ve extends R{constructor(e,t){const n=({request:a})=>{const r=e.getURLsToCacheKeys();for(const i of Ie(a.url,t)){const c=r.get(i);if(c){const o=e.getIntegrityForCacheKey(c);return{cacheKey:c,integrity:o}}}};super(n,e.strategy)}}function Me(s){const e=v(),t=new ve(e,s);M(t)}function Ne(s){return v().createHandlerBoundToURL(s)}function Ke(s){v().precache(s)}function Ae(s,e){Ke(s),Me(e)}const Oe={cacheWillUpdate:async({response:s})=>s.status===200||s.status===0?s:null};class Se extends V{constructor(e={}){super(e),this.plugins.some(t=>"cacheWillUpdate"in t)||this.plugins.unshift(Oe)}async _handle(e,t){const n=t.fetchAndCachePut(e).catch(()=>{});t.waitUntil(n);let a=await t.cacheMatch(e),r;if(!a)try{a=await n}catch(i){i instanceof Error&&(r=i)}if(!a)throw new l("no-response",{url:e.url,error:r});return a}}const We="/shlink-web-client/feature/tailwind-nabvar",Be={homepage:We};ae();Ae([{"revision":null,"url":"assets/index-CzmRZyly.js"},{"revision":null,"url":"assets/index-MBeRc8NE.css"},{"revision":"08d2e4e5d4ea0cf2db96dd119304e3d5","url":"index.html"},{"revision":"583b223ad8e20f05aaa64923d7db2e46","url":"icons/icon-1024x1024.png"},{"revision":"2dff586aaefa4c8d17f4c0bcbdef8b53","url":"icons/icon-114x114.png"},{"revision":"8e28257a68ef1c55bc68bfff80e1a310","url":"icons/icon-120x120.png"},{"revision":"0059b6f0c97fa871a5c29643b2857585","url":"icons/icon-128x128.png"},{"revision":"41478c2456281f61e54d714718743ecc","url":"icons/icon-144x144.png"},{"revision":"625251910295f33a578ae6d8117711c9","url":"icons/icon-150x150.png"},{"revision":"19b71508b1d05defe32cf16a7d453001","url":"icons/icon-152x152.png"},{"revision":"9d029a32a54ba3084c67acd5d74f8ac4","url":"icons/icon-160x160.png"},{"revision":"6ec104aeaf745f003ecdaef2edddce97","url":"icons/icon-167x167.png"},{"revision":"3e8169a112865ef0d76bba4e2dfd3a89","url":"icons/icon-16x16.png"},{"revision":"871d67907434ed0ddf5d2a6c220e09af","url":"icons/icon-180x180.png"},{"revision":"cee2529402074d73b2135e2ddee25f6b","url":"icons/icon-192x192.png"},{"revision":"85055b452284c0193142936dee7d2cd1","url":"icons/icon-196x196.png"},{"revision":"f471155dd70b99924422dd9dd87ea94d","url":"icons/icon-228x228.png"},{"revision":"20f0b51945ae3c973420e31d6b4d43c1","url":"icons/icon-24x24.png"},{"revision":"4d896c5c7025582605de31fb74f0316b","url":"icons/icon-256x256.png"},{"revision":"d99b49e5bcad41968313c3e132e7c661","url":"icons/icon-310x310.png"},{"revision":"4c9695cfb4cea403c1b66bbb7b4f7420","url":"icons/icon-32x32.png"},{"revision":"f9597636bef677327c3abc0fd1a743c4","url":"icons/icon-384x384.png"},{"revision":"f74edb9cc54ac938c1589876f8da9f21","url":"icons/icon-40x40.png"},{"revision":"52933970fac8498311687de13549b014","url":"icons/icon-48x48.png"},{"revision":"de22c0eb9e08d3576df5cedb568ca56b","url":"icons/icon-512x512.png"},{"revision":"40209a194f29b21882571c77bd2bd906","url":"icons/icon-60x60.png"},{"revision":"c8ba5a8c1da76d74c7bb21827fcf975c","url":"icons/icon-64x64.png"},{"revision":"ae3435baceb494f9c966e2c2c736ea35","url":"icons/icon-72x72.png"},{"revision":"850aa5b026fd1452af6c1ddd9d71850f","url":"icons/icon-76x76.png"},{"revision":"8c62535e6b7a498ece1f6c6ae62ede59","url":"icons/icon-96x96.png"},{"revision":"a004a5803e7f56ced81f2454cf88d10e","url":"manifest.json"}]);const je=new RegExp("/[^/?]+\\.[^/]+$");M(({request:s,url:e})=>!(s.mode!=="navigate"||e.pathname.startsWith("/_")||e.pathname.match(je)),Ne(`${Be.homepage}/index.html`));M(({url:s})=>s.origin===self.location.origin&&s.pathname.endsWith(".png"),new Se({cacheName:"images",plugins:[new Re({maxEntries:50})]}));self.addEventListener("message",s=>{s.data&&s.data.type==="SKIP_WAITING"&&self.skipWaiting()});