From b47fdf660729673cce4ae529e352d7a7fbc2096f Mon Sep 17 00:00:00 2001 From: Sadanand Pai Date: Sun, 14 Jul 2024 11:07:21 +0000 Subject: [PATCH] build files - github action --- docs/angular/index.html | 2 +- .../{main-EZNHO5EK.js => main-QX4T5MGV.js} | 2 +- docs/assets/css-NOfCHX53.png | Bin 0 -> 32176 bytes ...{index-VU6XtGG3.css => index-JCIMvvOL.css} | 2 +- .../{index-N12RqWRS.js => index-cb91F9Bx.js} | 84 +++++++++--------- docs/index.html | 4 +- docs/javascript/assets/css-NOfCHX53.png | Bin 0 -> 32176 bytes ...{header-V3hWii48.js => header-BV02bT_J.js} | 2 +- .../{index-5_7TF1M5.js => index--gv0YqRY.js} | 2 +- .../{index-n-OjoO1I.js => index--s_XcGd0.js} | 2 +- .../{index-GzC9L7jO.js => index-2nWatOoe.js} | 2 +- .../{index-hDujPeU_.js => index-3dH-Rsxa.js} | 2 +- .../{index-oGDYZODy.js => index-48-kZ-Fx.js} | 2 +- .../{index-pFdd9h13.js => index-4L6sBD7q.js} | 2 +- .../{index-pUMLwSFr.js => index-4Zln4SWt.js} | 2 +- .../{index-65ak1bg3.js => index-5Msc-Xi-.js} | 2 +- .../{index-ADqKy29e.js => index-7HVzEEN_.js} | 2 +- .../{index-6kk20J33.js => index-7fTbjKLL.js} | 2 +- .../{index-8STCYP2-.js => index-7hRhOyI2.js} | 2 +- .../{index-BZypKlbe.js => index-8FjEH2Jb.js} | 2 +- .../{index-vlvYLgUP.js => index-8ZFg-X97.js} | 2 +- .../{index-UUDjXd0P.js => index-8a4fzYtj.js} | 2 +- .../{index-g0daCmLs.js => index-8nsIntmx.js} | 2 +- .../{index-vIyLX4k2.js => index-951_JENs.js} | 2 +- .../{index-fOxy-Ro3.js => index-9671j0uW.js} | 2 +- .../{index-tcVZwiZO.js => index-9n35bGLm.js} | 2 +- .../{index-fGHKHE8i.js => index-AAYBhotw.js} | 2 +- .../{index-osgWqG4y.js => index-AZ0uN2UM.js} | 2 +- .../{index-mJylio45.js => index-Adn_e4vl.js} | 2 +- .../{index-S8w7F91y.js => index-B7errex0.js} | 2 +- .../{index-R_6CkymX.js => index-FMCQ0hOW.js} | 2 +- .../{index-jdWw5Jth.js => index-FoHoOUCE.js} | 2 +- .../{index-y4AYp6un.js => index-Gpu52Rd9.js} | 2 +- .../{index-CgyvS6po.js => index-GsbXeaDL.js} | 2 +- .../{index-3afKMe4C.js => index-H1U9x-U7.js} | 2 +- .../{index-R7aWQJ7Z.js => index-HVNddoCz.js} | 2 +- .../{index-RxFX_KYW.js => index-HWbcEGtq.js} | 2 +- .../{index-m2q_yIpH.js => index-IMSr9Pfj.js} | 2 +- .../{index-utIVQtss.js => index-JlTYHVe2.js} | 2 +- .../{index-LRadN__9.js => index-KE8ezX-6.js} | 2 +- .../{index-xTwofNui.js => index-M3Tc53Oy.js} | 2 +- .../{index-urI24y-r.js => index-OPFOuI63.js} | 2 +- .../{index-aN0hKiiz.js => index-PD96617_.js} | 2 +- .../{index-egOneK7A.js => index-RMQGDYJ5.js} | 2 +- .../{index-CXxK7lRD.js => index-RNWD4UDO.js} | 2 +- docs/javascript/assets/index-S3sho_Bn.css | 1 - .../{index-kAnG3oKW.js => index-St5JQTKu.js} | 2 +- .../{index-Fqjj-XdI.js => index-TElHX8es.js} | 2 +- .../{index-Y0jtMj6F.js => index-Xxd4Lp8J.js} | 2 +- .../{index-nv4_HORg.js => index-Y0-iyYgG.js} | 2 +- .../{index-lILfERim.js => index-Yp02GvT7.js} | 2 +- .../{index-vDSRMClr.js => index-ZAufEBZg.js} | 2 +- .../{index-VTY1HlAY.js => index-aFoxCdvT.js} | 2 +- .../{index-SHk_6IQC.js => index-alBh_9tg.js} | 2 +- .../{index-LGbWytt9.js => index-b9Hd8N0p.js} | 2 +- .../{index-wpBvGvp-.js => index-bB5SJRWo.js} | 2 +- .../{index-FFqHW5dW.js => index-bW3TYGl0.js} | 2 +- .../{index-oo81m8F6.js => index-btGuZ4sI.js} | 2 +- .../{index-2Dg5ux8V.js => index-dM6T1ulJ.js} | 2 +- .../{index-866SYcvD.js => index-e00N2DoI.js} | 2 +- .../{index-G6qGI7cg.js => index-e4n4dTEq.js} | 2 +- .../{index-KIFspP9n.js => index-eWM4s4jS.js} | 2 +- .../{index-z3NOYjEz.js => index-gpWo-PRn.js} | 2 +- .../{index-nutw0Cfq.js => index-hFSyjhzS.js} | 2 +- .../{index-rLUNp7oL.js => index-hqBCijBB.js} | 2 +- .../{index-Z_YOs-iU.js => index-isYlwqIt.js} | 2 +- .../{index-Ie5YUp2k.js => index-kSaYXW1s.js} | 2 +- .../{index--4XHKowW.js => index-lxD5NlHJ.js} | 2 +- .../{index-xV0j0YQP.js => index-nDyahxpV.js} | 2 +- .../{index-nb4FWBad.js => index-osB6ybrg.js} | 2 +- .../{index-c_aeTe5Y.js => index-tQhEyuvt.js} | 2 +- .../{index--8-kRkJb.js => index-tgu1jxDL.js} | 2 +- .../{index-L83yvn3y.js => index-tnEjeE29.js} | 2 +- .../{index-0Us_Aq0j.js => index-wDqfkJZq.js} | 2 +- .../{index-dALhVAZ_.js => index-xeGGnmTE.js} | 2 +- .../{index--uA7zzMX.js => index-z4L70XLO.js} | 2 +- docs/javascript/assets/navbar-Dp-2B13D.js | 27 ++++++ docs/javascript/assets/navbar-IV3mLr91.js | 27 ------ .../src/challenges/25-5-clock/index.html | 6 +- .../src/challenges/Footer/index.html | 4 +- .../challenges/MadStory_generator/index.html | 6 +- .../src/challenges/accordion/index.html | 6 +- .../src/challenges/analog-clock/index.html | 6 +- .../src/challenges/area-selector/index.html | 6 +- .../src/challenges/array-methods/index.html | 6 +- .../src/challenges/atm-simulator/index.html | 6 +- .../challenges/basic-calculator/index.html | 6 +- .../src/challenges/bill-spilt/index.html | 6 +- .../src/challenges/blobmaker/index.html | 6 +- .../src/challenges/bmi-calculator/index.html | 6 +- .../src/challenges/calendar/index.html | 6 +- .../src/challenges/carousel/index.html | 6 +- .../src/challenges/chess-board/index.html | 6 +- .../src/challenges/chips-input/index.html | 6 +- .../src/challenges/color-spotter/index.html | 6 +- .../src/challenges/column-table/index.html | 6 +- .../src/challenges/comment-box/index.html | 6 +- .../src/challenges/connect-four/index.html | 6 +- .../challenges/count-down-timer/index.html | 6 +- .../src/challenges/counter/index.html | 6 +- .../src/challenges/css-shapes/index.html | 63 ------------- .../challenges/currency-converter/index.html | 6 +- .../src/challenges/dialog-popup/index.html | 6 +- .../src/challenges/dice-game/index.html | 6 +- .../drag-and-drop-puzzle/index.html | 6 +- .../src/challenges/file-uploader/index.html | 6 +- .../src/challenges/finance-tracker/index.html | 6 +- .../src/challenges/fitness-tracker/index.html | 6 +- .../challenges/gradient-generator/index.html | 6 +- .../challenges/guess-the-number/index.html | 6 +- .../src/challenges/hangman-game/index.html | 6 +- .../src/challenges/infinite-scroll/index.html | 6 +- .../src/challenges/json-creator/index.html | 6 +- .../src/challenges/lift-simulation/index.html | 6 +- .../src/challenges/light-dark-mode/index.html | 6 +- .../src/challenges/match-pair/index.html | 6 +- .../src/challenges/meme-generator/index.html | 6 +- .../src/challenges/movie-info/index.html | 6 +- .../src/challenges/multi-typing/index.html | 6 +- .../src/challenges/music-kit/index.html | 6 +- .../src/challenges/navigation-bar/index.html | 6 +- .../src/challenges/otp-input/index.html | 6 +- .../src/challenges/paginator/index.html | 6 +- .../challenges/password-generator/index.html | 6 +- .../challenges/password-strength/index.html | 6 +- .../src/challenges/pixel-art/index.html | 6 +- .../src/challenges/progress-bar/index.html | 6 +- .../challenges/quiz-app-with-timer/index.html | 6 +- .../src/challenges/quiz-app/index.html | 6 +- .../challenges/rock-paper-scissor/index.html | 6 +- .../src/challenges/roll-dice/index.html | 6 +- .../src/challenges/simon-game/index.html | 6 +- .../src/challenges/skeleton-loader/index.html | 4 +- .../src/challenges/snake-game/index.html | 6 +- .../challenges/sorting-visualizer/index.html | 6 +- .../src/challenges/spinning-loader/index.html | 4 +- .../challenges/star-rating-display/index.html | 6 +- .../src/challenges/star-rating/index.html | 6 +- .../challenges/string-transformers/index.html | 6 +- .../challenges/telephone-formatter/index.html | 6 +- .../src/challenges/tic-tac-toe/index.html | 6 +- .../src/challenges/toast-popup/index.html | 6 +- .../src/challenges/todo-list/index.html | 6 +- .../src/challenges/transfer-list/index.html | 6 +- .../challenges/type-ahead-online/index.html | 6 +- .../src/challenges/type-ahead/index.html | 6 +- .../challenges/typing-speed-test/index.html | 6 +- .../src/challenges/weather-app/index.html | 6 +- .../src/challenges/word-counter/index.html | 6 +- docs/react/assets/css-058Idfnd.png | Bin 0 -> 32176 bytes .../{index-CE_3K71I.js => index-CtqPmT0s.js} | 58 ++++++------ docs/react/index.html | 2 +- docs/vue/assets/css-NOfCHX53.png | Bin 0 -> 32176 bytes .../{index-nNzOKJ4L.js => index-y2aIRCCx.js} | 4 +- docs/vue/index.html | 2 +- 155 files changed, 382 insertions(+), 446 deletions(-) rename docs/angular/{main-EZNHO5EK.js => main-QX4T5MGV.js} (74%) create mode 100644 docs/assets/css-NOfCHX53.png rename docs/assets/{index-VU6XtGG3.css => index-JCIMvvOL.css} (73%) rename docs/assets/{index-N12RqWRS.js => index-cb91F9Bx.js} (69%) create mode 100644 docs/javascript/assets/css-NOfCHX53.png rename docs/javascript/assets/{header-V3hWii48.js => header-BV02bT_J.js} (95%) rename docs/javascript/assets/{index-5_7TF1M5.js => index--gv0YqRY.js} (69%) rename docs/javascript/assets/{index-n-OjoO1I.js => index--s_XcGd0.js} (97%) rename docs/javascript/assets/{index-GzC9L7jO.js => index-2nWatOoe.js} (99%) rename docs/javascript/assets/{index-hDujPeU_.js => index-3dH-Rsxa.js} (90%) rename docs/javascript/assets/{index-oGDYZODy.js => index-48-kZ-Fx.js} (96%) rename docs/javascript/assets/{index-pFdd9h13.js => index-4L6sBD7q.js} (94%) rename docs/javascript/assets/{index-pUMLwSFr.js => index-4Zln4SWt.js} (93%) rename docs/javascript/assets/{index-65ak1bg3.js => index-5Msc-Xi-.js} (92%) rename docs/javascript/assets/{index-ADqKy29e.js => index-7HVzEEN_.js} (96%) rename docs/javascript/assets/{index-6kk20J33.js => index-7fTbjKLL.js} (91%) rename docs/javascript/assets/{index-8STCYP2-.js => index-7hRhOyI2.js} (97%) rename docs/javascript/assets/{index-BZypKlbe.js => index-8FjEH2Jb.js} (94%) rename docs/javascript/assets/{index-vlvYLgUP.js => index-8ZFg-X97.js} (91%) rename docs/javascript/assets/{index-UUDjXd0P.js => index-8a4fzYtj.js} (97%) rename docs/javascript/assets/{index-g0daCmLs.js => index-8nsIntmx.js} (94%) rename docs/javascript/assets/{index-vIyLX4k2.js => index-951_JENs.js} (91%) rename docs/javascript/assets/{index-fOxy-Ro3.js => index-9671j0uW.js} (98%) rename docs/javascript/assets/{index-tcVZwiZO.js => index-9n35bGLm.js} (97%) rename docs/javascript/assets/{index-fGHKHE8i.js => index-AAYBhotw.js} (97%) rename docs/javascript/assets/{index-osgWqG4y.js => index-AZ0uN2UM.js} (98%) rename docs/javascript/assets/{index-mJylio45.js => index-Adn_e4vl.js} (90%) rename docs/javascript/assets/{index-S8w7F91y.js => index-B7errex0.js} (92%) rename docs/javascript/assets/{index-R_6CkymX.js => index-FMCQ0hOW.js} (99%) rename docs/javascript/assets/{index-jdWw5Jth.js => index-FoHoOUCE.js} (94%) rename docs/javascript/assets/{index-y4AYp6un.js => index-Gpu52Rd9.js} (91%) rename docs/javascript/assets/{index-CgyvS6po.js => index-GsbXeaDL.js} (90%) rename docs/javascript/assets/{index-3afKMe4C.js => index-H1U9x-U7.js} (95%) rename docs/javascript/assets/{index-R7aWQJ7Z.js => index-HVNddoCz.js} (96%) rename docs/javascript/assets/{index-RxFX_KYW.js => index-HWbcEGtq.js} (94%) rename docs/javascript/assets/{index-m2q_yIpH.js => index-IMSr9Pfj.js} (99%) rename docs/javascript/assets/{index-utIVQtss.js => index-JlTYHVe2.js} (96%) rename docs/javascript/assets/{index-LRadN__9.js => index-KE8ezX-6.js} (93%) rename docs/javascript/assets/{index-xTwofNui.js => index-M3Tc53Oy.js} (99%) rename docs/javascript/assets/{index-urI24y-r.js => index-OPFOuI63.js} (79%) rename docs/javascript/assets/{index-aN0hKiiz.js => index-PD96617_.js} (85%) rename docs/javascript/assets/{index-egOneK7A.js => index-RMQGDYJ5.js} (77%) rename docs/javascript/assets/{index-CXxK7lRD.js => index-RNWD4UDO.js} (99%) delete mode 100644 docs/javascript/assets/index-S3sho_Bn.css rename docs/javascript/assets/{index-kAnG3oKW.js => index-St5JQTKu.js} (96%) rename docs/javascript/assets/{index-Fqjj-XdI.js => index-TElHX8es.js} (92%) rename docs/javascript/assets/{index-Y0jtMj6F.js => index-Xxd4Lp8J.js} (99%) rename docs/javascript/assets/{index-nv4_HORg.js => index-Y0-iyYgG.js} (94%) rename docs/javascript/assets/{index-lILfERim.js => index-Yp02GvT7.js} (97%) rename docs/javascript/assets/{index-vDSRMClr.js => index-ZAufEBZg.js} (95%) rename docs/javascript/assets/{index-VTY1HlAY.js => index-aFoxCdvT.js} (97%) rename docs/javascript/assets/{index-SHk_6IQC.js => index-alBh_9tg.js} (88%) rename docs/javascript/assets/{index-LGbWytt9.js => index-b9Hd8N0p.js} (94%) rename docs/javascript/assets/{index-wpBvGvp-.js => index-bB5SJRWo.js} (98%) rename docs/javascript/assets/{index-FFqHW5dW.js => index-bW3TYGl0.js} (93%) rename docs/javascript/assets/{index-oo81m8F6.js => index-btGuZ4sI.js} (91%) rename docs/javascript/assets/{index-2Dg5ux8V.js => index-dM6T1ulJ.js} (93%) rename docs/javascript/assets/{index-866SYcvD.js => index-e00N2DoI.js} (95%) rename docs/javascript/assets/{index-G6qGI7cg.js => index-e4n4dTEq.js} (97%) rename docs/javascript/assets/{index-KIFspP9n.js => index-eWM4s4jS.js} (96%) rename docs/javascript/assets/{index-z3NOYjEz.js => index-gpWo-PRn.js} (92%) rename docs/javascript/assets/{index-nutw0Cfq.js => index-hFSyjhzS.js} (94%) rename docs/javascript/assets/{index-rLUNp7oL.js => index-hqBCijBB.js} (99%) rename docs/javascript/assets/{index-Z_YOs-iU.js => index-isYlwqIt.js} (78%) rename docs/javascript/assets/{index-Ie5YUp2k.js => index-kSaYXW1s.js} (94%) rename docs/javascript/assets/{index--4XHKowW.js => index-lxD5NlHJ.js} (95%) rename docs/javascript/assets/{index-xV0j0YQP.js => index-nDyahxpV.js} (96%) rename docs/javascript/assets/{index-nb4FWBad.js => index-osB6ybrg.js} (88%) rename docs/javascript/assets/{index-c_aeTe5Y.js => index-tQhEyuvt.js} (91%) rename docs/javascript/assets/{index--8-kRkJb.js => index-tgu1jxDL.js} (97%) rename docs/javascript/assets/{index-L83yvn3y.js => index-tnEjeE29.js} (94%) rename docs/javascript/assets/{index-0Us_Aq0j.js => index-wDqfkJZq.js} (96%) rename docs/javascript/assets/{index-dALhVAZ_.js => index-xeGGnmTE.js} (95%) rename docs/javascript/assets/{index--uA7zzMX.js => index-z4L70XLO.js} (97%) create mode 100644 docs/javascript/assets/navbar-Dp-2B13D.js delete mode 100644 docs/javascript/assets/navbar-IV3mLr91.js delete mode 100644 docs/javascript/src/challenges/css-shapes/index.html create mode 100644 docs/react/assets/css-058Idfnd.png rename docs/react/assets/{index-CE_3K71I.js => index-CtqPmT0s.js} (71%) create mode 100644 docs/vue/assets/css-NOfCHX53.png rename docs/vue/assets/{index-nNzOKJ4L.js => index-y2aIRCCx.js} (51%) diff --git a/docs/angular/index.html b/docs/angular/index.html index 0333bfb10..136b4f642 100644 --- a/docs/angular/index.html +++ b/docs/angular/index.html @@ -10,5 +10,5 @@ - + diff --git a/docs/angular/main-EZNHO5EK.js b/docs/angular/main-QX4T5MGV.js similarity index 74% rename from docs/angular/main-EZNHO5EK.js rename to docs/angular/main-QX4T5MGV.js index 7b494766c..b39e4e03b 100644 --- a/docs/angular/main-EZNHO5EK.js +++ b/docs/angular/main-QX4T5MGV.js @@ -1 +1 @@ -import{$ as qn,$a as ir,A as He,Aa as Z,B as L,Ba as x,C as wt,D as $n,E as _n,F as zn,Fa as Qn,G as P,H as Fn,I as R,Ia as Dt,Ja as Yn,K as S,L as w,Ma as Jn,N as Hn,Na as Xn,O as Ct,Oa as _,P as E,Q as C,R as f,Ra as qe,S as me,Sa as er,T as $,Ta as It,Ua as tr,V as Bn,Va as Ot,W as Vn,Wa as Pt,Xa as nr,Z as bt,Za as xt,_ as St,_a as rr,a as d,aa as Be,ab as O,b as k,ba as G,bb as Nt,c as Pn,ca as Rt,cb as jt,d as xn,da as Kn,db as Ke,e as ft,ea as kt,eb as sr,f as gt,fa as Gn,g as q,ga as ve,h as M,ha as Tt,i as K,ia as ye,j as I,ja as Mt,jb as ar,k as p,kb as Ut,l as fe,la as Wn,lb as or,m as Nn,n as jn,na as At,o as y,oa as Ve,p as mt,q as A,qa as Et,r as Un,ra as we,s as vt,sa as U,u as ee,v as te,va as Ce,w as ge,x as yt,xa as Zn,y as ne,z as Ln,za as W}from"./chunk-LTBXVXDY.js";var _t=class extends ir{constructor(){super(...arguments),this.supportsDOMEvents=!0}},zt=class n extends _t{static makeCurrent(){rr(new n)}onAndCancel(e,i,t){return e.addEventListener(i,t),()=>{e.removeEventListener(i,t)}}dispatchEvent(e,i){e.dispatchEvent(i)}remove(e){e.parentNode&&e.parentNode.removeChild(e)}createElement(e,i){return i=i||this.getDefaultDocument(),i.createElement(e)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}isShadowRoot(e){return e instanceof DocumentFragment}getGlobalEventTarget(e,i){return i==="window"?window:i==="document"?e:i==="body"?e.body:null}getBaseHref(e){let i=li();return i==null?null:ui(i)}resetBaseElement(){be=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return sr(document.cookie,e)}},be=null;function li(){return be=be||document.querySelector("base"),be?be.getAttribute("href"):null}function ui(n){return new URL(n,document.baseURI).pathname}var ci=(()=>{let e=class e{build(){return new XMLHttpRequest}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=w({token:e,factory:e.\u0275fac});let n=e;return n})(),Ft=new E("EventManagerPlugins"),dr=(()=>{let e=class e{constructor(t,r){this._zone=r,this._eventNameToPlugin=new Map,t.forEach(s=>{s.manager=this}),this._plugins=t.slice().reverse()}addEventListener(t,r,s){return this._findPluginFor(r).addEventListener(t,r,s)}getZone(){return this._zone}_findPluginFor(t){let r=this._eventNameToPlugin.get(t);if(r)return r;if(r=this._plugins.find(a=>a.supports(t)),!r)throw new S(5101,!1);return this._eventNameToPlugin.set(t,r),r}};e.\u0275fac=function(r){return new(r||e)(C(Ft),C(U))},e.\u0275prov=w({token:e,factory:e.\u0275fac});let n=e;return n})(),Ge=class{constructor(e){this._doc=e}},Lt="ng-app-id",hr=(()=>{let e=class e{constructor(t,r,s,a={}){this.doc=t,this.appId=r,this.nonce=s,this.platformId=a,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=Ut(a),this.resetHostNodes()}addStyles(t){for(let r of t)this.changeUsageCount(r,1)===1&&this.onStyleAdded(r)}removeStyles(t){for(let r of t)this.changeUsageCount(r,-1)<=0&&this.onStyleRemoved(r)}ngOnDestroy(){let t=this.styleNodesInDOM;t&&(t.forEach(r=>r.remove()),t.clear());for(let r of this.getAllStyles())this.onStyleRemoved(r);this.resetHostNodes()}addHost(t){this.hostNodes.add(t);for(let r of this.getAllStyles())this.addStyleToHost(t,r)}removeHost(t){this.hostNodes.delete(t)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(t){for(let r of this.hostNodes)this.addStyleToHost(r,t)}onStyleRemoved(t){let r=this.styleRef;r.get(t)?.elements?.forEach(s=>s.remove()),r.delete(t)}collectServerRenderedStyles(){let t=this.doc.head?.querySelectorAll(`style[${Lt}="${this.appId}"]`);if(t?.length){let r=new Map;return t.forEach(s=>{s.textContent!=null&&r.set(s.textContent,s)}),r}return null}changeUsageCount(t,r){let s=this.styleRef;if(s.has(t)){let a=s.get(t);return a.usage+=r,a.usage}return s.set(t,{usage:r,elements:[]}),r}getStyleElement(t,r){let s=this.styleNodesInDOM,a=s?.get(r);if(a?.parentNode===t)return s.delete(r),a.removeAttribute(Lt),a;{let o=this.doc.createElement("style");return this.nonce&&o.setAttribute("nonce",this.nonce),o.textContent=r,this.platformIsServer&&o.setAttribute(Lt,this.appId),t.appendChild(o),o}}addStyleToHost(t,r){let s=this.getStyleElement(t,r),a=this.styleRef,o=a.get(r)?.elements;o?o.push(s):a.set(r,{elements:[s],usage:1})}resetHostNodes(){let t=this.hostNodes;t.clear(),t.add(this.doc.head)}};e.\u0275fac=function(r){return new(r||e)(C(O),C(kt),C(Tt,8),C(ve))},e.\u0275prov=w({token:e,factory:e.\u0275fac});let n=e;return n})(),$t={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},Bt=/%COMP%/g,pr="%COMP%",di=`_nghost-${pr}`,hi=`_ngcontent-${pr}`,pi=!0,fi=new E("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>pi});function gi(n){return hi.replace(Bt,n)}function mi(n){return di.replace(Bt,n)}function fr(n,e){return e.map(i=>i.replace(Bt,n))}var lr=(()=>{let e=class e{constructor(t,r,s,a,o,u,l,c=null){this.eventManager=t,this.sharedStylesHost=r,this.appId=s,this.removeStylesOnCompDestroy=a,this.doc=o,this.platformId=u,this.ngZone=l,this.nonce=c,this.rendererByCompId=new Map,this.platformIsServer=Ut(u),this.defaultRenderer=new Se(t,o,l,this.platformIsServer)}createRenderer(t,r){if(!t||!r)return this.defaultRenderer;this.platformIsServer&&r.encapsulation===me.ShadowDom&&(r=k(d({},r),{encapsulation:me.Emulated}));let s=this.getOrCreateRenderer(t,r);return s instanceof We?s.applyToHost(t):s instanceof Re&&s.applyStyles(),s}getOrCreateRenderer(t,r){let s=this.rendererByCompId,a=s.get(r.id);if(!a){let o=this.doc,u=this.ngZone,l=this.eventManager,c=this.sharedStylesHost,h=this.removeStylesOnCompDestroy,m=this.platformIsServer;switch(r.encapsulation){case me.Emulated:a=new We(l,c,r,this.appId,h,o,u,m);break;case me.ShadowDom:return new Ht(l,c,t,r,o,u,this.nonce,m);default:a=new Re(l,c,r,h,o,u,m);break}s.set(r.id,a)}return a}ngOnDestroy(){this.rendererByCompId.clear()}};e.\u0275fac=function(r){return new(r||e)(C(dr),C(hr),C(kt),C(fi),C(O),C(ve),C(U),C(Tt))},e.\u0275prov=w({token:e,factory:e.\u0275fac});let n=e;return n})(),Se=class{constructor(e,i,t,r){this.eventManager=e,this.doc=i,this.ngZone=t,this.platformIsServer=r,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(e,i){return i?this.doc.createElementNS($t[i]||i,e):this.doc.createElement(e)}createComment(e){return this.doc.createComment(e)}createText(e){return this.doc.createTextNode(e)}appendChild(e,i){(ur(e)?e.content:e).appendChild(i)}insertBefore(e,i,t){e&&(ur(e)?e.content:e).insertBefore(i,t)}removeChild(e,i){e&&e.removeChild(i)}selectRootElement(e,i){let t=typeof e=="string"?this.doc.querySelector(e):e;if(!t)throw new S(-5104,!1);return i||(t.textContent=""),t}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,i,t,r){if(r){i=r+":"+i;let s=$t[r];s?e.setAttributeNS(s,i,t):e.setAttribute(i,t)}else e.setAttribute(i,t)}removeAttribute(e,i,t){if(t){let r=$t[t];r?e.removeAttributeNS(r,i):e.removeAttribute(`${t}:${i}`)}else e.removeAttribute(i)}addClass(e,i){e.classList.add(i)}removeClass(e,i){e.classList.remove(i)}setStyle(e,i,t,r){r&(ye.DashCase|ye.Important)?e.style.setProperty(i,t,r&ye.Important?"important":""):e.style[i]=t}removeStyle(e,i,t){t&ye.DashCase?e.style.removeProperty(i):e.style[i]=""}setProperty(e,i,t){e!=null&&(e[i]=t)}setValue(e,i){e.nodeValue=i}listen(e,i,t){if(typeof e=="string"&&(e=xt().getGlobalEventTarget(this.doc,e),!e))throw new Error(`Unsupported event target ${e} for event ${i}`);return this.eventManager.addEventListener(e,i,this.decoratePreventDefault(t))}decoratePreventDefault(e){return i=>{if(i==="__ngUnwrap__")return e;(this.platformIsServer?this.ngZone.runGuarded(()=>e(i)):e(i))===!1&&i.preventDefault()}}};function ur(n){return n.tagName==="TEMPLATE"&&n.content!==void 0}var Ht=class extends Se{constructor(e,i,t,r,s,a,o,u){super(e,s,a,u),this.sharedStylesHost=i,this.hostEl=t,this.shadowRoot=t.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let l=fr(r.id,r.styles);for(let c of l){let h=document.createElement("style");o&&h.setAttribute("nonce",o),h.textContent=c,this.shadowRoot.appendChild(h)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}appendChild(e,i){return super.appendChild(this.nodeOrShadowRoot(e),i)}insertBefore(e,i,t){return super.insertBefore(this.nodeOrShadowRoot(e),i,t)}removeChild(e,i){return super.removeChild(this.nodeOrShadowRoot(e),i)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},Re=class extends Se{constructor(e,i,t,r,s,a,o,u){super(e,s,a,o),this.sharedStylesHost=i,this.removeStylesOnCompDestroy=r,this.styles=u?fr(u,t.styles):t.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}},We=class extends Re{constructor(e,i,t,r,s,a,o,u){let l=r+"-"+t.id;super(e,i,t,s,a,o,u,l),this.contentAttr=gi(l),this.hostAttr=mi(l)}applyToHost(e){this.applyStyles(),this.setAttribute(e,this.hostAttr,"")}createElement(e,i){let t=super.createElement(e,i);return super.setAttribute(t,this.contentAttr,""),t}},vi=(()=>{let e=class e extends Ge{constructor(t){super(t)}supports(t){return!0}addEventListener(t,r,s){return t.addEventListener(r,s,!1),()=>this.removeEventListener(t,r,s)}removeEventListener(t,r,s){return t.removeEventListener(r,s)}};e.\u0275fac=function(r){return new(r||e)(C(O))},e.\u0275prov=w({token:e,factory:e.\u0275fac});let n=e;return n})(),cr=["alt","control","meta","shift"],yi={"\b":"Backspace"," ":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},wi={alt:n=>n.altKey,control:n=>n.ctrlKey,meta:n=>n.metaKey,shift:n=>n.shiftKey},Ci=(()=>{let e=class e extends Ge{constructor(t){super(t)}supports(t){return e.parseEventName(t)!=null}addEventListener(t,r,s){let a=e.parseEventName(r),o=e.eventCallback(a.fullKey,s,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>xt().onAndCancel(t,a.domEventName,o))}static parseEventName(t){let r=t.toLowerCase().split("."),s=r.shift();if(r.length===0||!(s==="keydown"||s==="keyup"))return null;let a=e._normalizeKey(r.pop()),o="",u=r.indexOf("code");if(u>-1&&(r.splice(u,1),o="code."),cr.forEach(c=>{let h=r.indexOf(c);h>-1&&(r.splice(h,1),o+=c+".")}),o+=a,r.length!=0||a.length===0)return null;let l={};return l.domEventName=s,l.fullKey=o,l}static matchEventFullKeyCode(t,r){let s=yi[t.key]||t.key,a="";return r.indexOf("code.")>-1&&(s=t.code,a="code."),s==null||!s?!1:(s=s.toLowerCase(),s===" "?s="space":s==="."&&(s="dot"),cr.forEach(o=>{if(o!==s){let u=wi[o];u(t)&&(a+=o+".")}}),a+=s,a===r)}static eventCallback(t,r,s){return a=>{e.matchEventFullKeyCode(a,t)&&s.runGuarded(()=>r(a))}}static _normalizeKey(t){return t==="esc"?"escape":t}};e.\u0275fac=function(r){return new(r||e)(C(O))},e.\u0275prov=w({token:e,factory:e.\u0275fac});let n=e;return n})();function gr(n,e){return nr(d({rootComponent:n},bi(e)))}function bi(n){return{appProviders:[...Mi,...n?.providers??[]],platformProviders:Ti}}function Si(){zt.makeCurrent()}function Ri(){return new At}function ki(){return Kn(document),document}var Ti=[{provide:ve,useValue:ar},{provide:Gn,useValue:Si,multi:!0},{provide:O,useFactory:ki,deps:[]}];var Mi=[{provide:qn,useValue:"root"},{provide:At,useFactory:Ri,deps:[]},{provide:Ft,useClass:vi,multi:!0,deps:[O,U,ve]},{provide:Ft,useClass:Ci,multi:!0,deps:[O]},lr,hr,dr,{provide:Wn,useExisting:lr},{provide:or,useClass:ci,deps:[]},[]];function Ai(){return new Vt(C(O))}var Vt=(()=>{let e=class e{constructor(t){this._doc=t}getTitle(){return this._doc.title}setTitle(t){this._doc.title=t||""}};e.\u0275fac=function(r){return new(r||e)(C(O))},e.\u0275prov=w({token:e,factory:function(r){let s=null;return r?s=new r:s=Ai(),s},providedIn:"root"});let n=e;return n})();var g="primary",$e=Symbol("RouteTitle"),Zt=class{constructor(e){this.params=e||{}}has(e){return Object.prototype.hasOwnProperty.call(this.params,e)}get(e){if(this.has(e)){let i=this.params[e];return Array.isArray(i)?i[0]:i}return null}getAll(e){if(this.has(e)){let i=this.params[e];return Array.isArray(i)?i:[i]}return[]}get keys(){return Object.keys(this.params)}};function oe(n){return new Zt(n)}function Di(n,e,i){let t=i.path.split("/");if(t.length>n.length||i.pathMatch==="full"&&(e.hasChildren()||t.lengtht[s]===r)}else return n===e}function Sr(n){return n.length>0?n[n.length-1]:null}function H(n){return Nn(n)?n:Qn(n)?I(Promise.resolve(n)):p(n)}var Oi={exact:kr,subset:Tr},Rr={exact:Pi,subset:xi,ignored:()=>!0};function mr(n,e,i){return Oi[i.paths](n.root,e.root,i.matrixParams)&&Rr[i.queryParams](n.queryParams,e.queryParams)&&!(i.fragment==="exact"&&n.fragment!==e.fragment)}function Pi(n,e){return N(n,e)}function kr(n,e,i){if(!Y(n.segments,e.segments)||!Je(n.segments,e.segments,i)||n.numberOfChildren!==e.numberOfChildren)return!1;for(let t in e.children)if(!n.children[t]||!kr(n.children[t],e.children[t],i))return!1;return!0}function xi(n,e){return Object.keys(e).length<=Object.keys(n).length&&Object.keys(e).every(i=>br(n[i],e[i]))}function Tr(n,e,i){return Mr(n,e,e.segments,i)}function Mr(n,e,i,t){if(n.segments.length>i.length){let r=n.segments.slice(0,i.length);return!(!Y(r,i)||e.hasChildren()||!Je(r,i,t))}else if(n.segments.length===i.length){if(!Y(n.segments,i)||!Je(n.segments,i,t))return!1;for(let r in e.children)if(!n.children[r]||!Tr(n.children[r],e.children[r],t))return!1;return!0}else{let r=i.slice(0,n.segments.length),s=i.slice(n.segments.length);return!Y(n.segments,r)||!Je(n.segments,r,t)||!n.children[g]?!1:Mr(n.children[g],e,s,t)}}function Je(n,e,i){return e.every((t,r)=>Rr[i](n[r].parameters,t.parameters))}var z=class{constructor(e=new v([],{}),i={},t=null){this.root=e,this.queryParams=i,this.fragment=t}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=oe(this.queryParams)),this._queryParamMap}toString(){return Ui.serialize(this)}},v=class{constructor(e,i){this.segments=e,this.children=i,this.parent=null,Object.values(i).forEach(t=>t.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Xe(this)}},Q=class{constructor(e,i){this.path=e,this.parameters=i}get parameterMap(){return this._parameterMap||(this._parameterMap=oe(this.parameters)),this._parameterMap}toString(){return Er(this)}};function Ni(n,e){return Y(n,e)&&n.every((i,t)=>N(i.parameters,e[t].parameters))}function Y(n,e){return n.length!==e.length?!1:n.every((i,t)=>i.path===e[t].path)}function ji(n,e){let i=[];return Object.entries(n.children).forEach(([t,r])=>{t===g&&(i=i.concat(e(r,t)))}),Object.entries(n.children).forEach(([t,r])=>{t!==g&&(i=i.concat(e(r,t)))}),i}var Sn=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=w({token:e,factory:()=>(()=>new tt)(),providedIn:"root"});let n=e;return n})(),tt=class{parse(e){let i=new Jt(e);return new z(i.parseRootSegment(),i.parseQueryParams(),i.parseFragment())}serialize(e){let i=`/${ke(e.root,!0)}`,t=_i(e.queryParams),r=typeof e.fragment=="string"?`#${Li(e.fragment)}`:"";return`${i}${t}${r}`}},Ui=new tt;function Xe(n){return n.segments.map(e=>Er(e)).join("/")}function ke(n,e){if(!n.hasChildren())return Xe(n);if(e){let i=n.children[g]?ke(n.children[g],!1):"",t=[];return Object.entries(n.children).forEach(([r,s])=>{r!==g&&t.push(`${r}:${ke(s,!1)}`)}),t.length>0?`${i}(${t.join("//")})`:i}else{let i=ji(n,(t,r)=>r===g?[ke(n.children[g],!1)]:[`${r}:${ke(t,!1)}`]);return Object.keys(n.children).length===1&&n.children[g]!=null?`${Xe(n)}/${i[0]}`:`${Xe(n)}/(${i.join("//")})`}}function Ar(n){return encodeURIComponent(n).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Qe(n){return Ar(n).replace(/%3B/gi,";")}function Li(n){return encodeURI(n)}function Yt(n){return Ar(n).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function et(n){return decodeURIComponent(n)}function vr(n){return et(n.replace(/\+/g,"%20"))}function Er(n){return`${Yt(n.path)}${$i(n.parameters)}`}function $i(n){return Object.keys(n).map(e=>`;${Yt(e)}=${Yt(n[e])}`).join("")}function _i(n){let e=Object.keys(n).map(i=>{let t=n[i];return Array.isArray(t)?t.map(r=>`${Qe(i)}=${Qe(r)}`).join("&"):`${Qe(i)}=${Qe(t)}`}).filter(i=>!!i);return e.length?`?${e.join("&")}`:""}var zi=/^[^\/()?;#]+/;function qt(n){let e=n.match(zi);return e?e[0]:""}var Fi=/^[^\/()?;=#]+/;function Hi(n){let e=n.match(Fi);return e?e[0]:""}var Bi=/^[^=?&#]+/;function Vi(n){let e=n.match(Bi);return e?e[0]:""}var qi=/^[^&#]+/;function Ki(n){let e=n.match(qi);return e?e[0]:""}var Jt=class{constructor(e){this.url=e,this.remaining=e}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new v([],{}):new v([],this.parseChildren())}parseQueryParams(){let e={};if(this.consumeOptional("?"))do this.parseQueryParam(e);while(this.consumeOptional("&"));return e}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());let i={};this.peekStartsWith("/(")&&(this.capture("/"),i=this.parseParens(!0));let t={};return this.peekStartsWith("(")&&(t=this.parseParens(!1)),(e.length>0||Object.keys(i).length>0)&&(t[g]=new v(e,i)),t}parseSegment(){let e=qt(this.remaining);if(e===""&&this.peekStartsWith(";"))throw new S(4009,!1);return this.capture(e),new Q(et(e),this.parseMatrixParams())}parseMatrixParams(){let e={};for(;this.consumeOptional(";");)this.parseParam(e);return e}parseParam(e){let i=Hi(this.remaining);if(!i)return;this.capture(i);let t="";if(this.consumeOptional("=")){let r=qt(this.remaining);r&&(t=r,this.capture(t))}e[et(i)]=et(t)}parseQueryParam(e){let i=Vi(this.remaining);if(!i)return;this.capture(i);let t="";if(this.consumeOptional("=")){let a=Ki(this.remaining);a&&(t=a,this.capture(t))}let r=vr(i),s=vr(t);if(e.hasOwnProperty(r)){let a=e[r];Array.isArray(a)||(a=[a],e[r]=a),a.push(s)}else e[r]=s}parseParens(e){let i={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let t=qt(this.remaining),r=this.remaining[t.length];if(r!=="/"&&r!==")"&&r!==";")throw new S(4010,!1);let s;t.indexOf(":")>-1?(s=t.slice(0,t.indexOf(":")),this.capture(s),this.capture(":")):e&&(s=g);let a=this.parseChildren();i[s]=Object.keys(a).length===1?a[g]:new v([],a),this.consumeOptional("//")}return i}peekStartsWith(e){return this.remaining.startsWith(e)}consumeOptional(e){return this.peekStartsWith(e)?(this.remaining=this.remaining.substring(e.length),!0):!1}capture(e){if(!this.consumeOptional(e))throw new S(4011,!1)}};function Dr(n){return n.segments.length>0?new v([],{[g]:n}):n}function Ir(n){let e={};for(let t of Object.keys(n.children)){let r=n.children[t],s=Ir(r);if(t===g&&s.segments.length===0&&s.hasChildren())for(let[a,o]of Object.entries(s.children))e[a]=o;else(s.segments.length>0||s.hasChildren())&&(e[t]=s)}let i=new v(n.segments,e);return Gi(i)}function Gi(n){if(n.numberOfChildren===1&&n.children[g]){let e=n.children[g];return new v(n.segments.concat(e.segments),e.children)}return n}function le(n){return n instanceof z}function Wi(n,e,i=null,t=null){let r=Or(n);return Pr(r,e,i,t)}function Or(n){let e;function i(s){let a={};for(let u of s.children){let l=i(u);a[u.outlet]=l}let o=new v(s.url,a);return s===n&&(e=o),o}let t=i(n.root),r=Dr(t);return e??r}function Pr(n,e,i,t){let r=n;for(;r.parent;)r=r.parent;if(e.length===0)return Kt(r,r,r,i,t);let s=Zi(e);if(s.toRoot())return Kt(r,r,new v([],{}),i,t);let a=Qi(s,r,n),o=a.processChildren?Ae(a.segmentGroup,a.index,s.commands):Nr(a.segmentGroup,a.index,s.commands);return Kt(r,a.segmentGroup,o,i,t)}function nt(n){return typeof n=="object"&&n!=null&&!n.outlets&&!n.segmentPath}function Ie(n){return typeof n=="object"&&n!=null&&n.outlets}function Kt(n,e,i,t,r){let s={};t&&Object.entries(t).forEach(([u,l])=>{s[u]=Array.isArray(l)?l.map(c=>`${c}`):`${l}`});let a;n===e?a=i:a=xr(n,e,i);let o=Dr(Ir(a));return new z(o,s,r)}function xr(n,e,i){let t={};return Object.entries(n.children).forEach(([r,s])=>{s===e?t[r]=i:t[r]=xr(s,e,i)}),new v(n.segments,t)}var rt=class{constructor(e,i,t){if(this.isAbsolute=e,this.numberOfDoubleDots=i,this.commands=t,e&&t.length>0&&nt(t[0]))throw new S(4003,!1);let r=t.find(Ie);if(r&&r!==Sr(t))throw new S(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function Zi(n){if(typeof n[0]=="string"&&n.length===1&&n[0]==="/")return new rt(!0,0,n);let e=0,i=!1,t=n.reduce((r,s,a)=>{if(typeof s=="object"&&s!=null){if(s.outlets){let o={};return Object.entries(s.outlets).forEach(([u,l])=>{o[u]=typeof l=="string"?l.split("/"):l}),[...r,{outlets:o}]}if(s.segmentPath)return[...r,s.segmentPath]}return typeof s!="string"?[...r,s]:a===0?(s.split("/").forEach((o,u)=>{u==0&&o==="."||(u==0&&o===""?i=!0:o===".."?e++:o!=""&&r.push(o))}),r):[...r,s]},[]);return new rt(i,e,t)}var se=class{constructor(e,i,t){this.segmentGroup=e,this.processChildren=i,this.index=t}};function Qi(n,e,i){if(n.isAbsolute)return new se(e,!0,0);if(!i)return new se(e,!1,NaN);if(i.parent===null)return new se(i,!0,0);let t=nt(n.commands[0])?0:1,r=i.segments.length-1+t;return Yi(i,r,n.numberOfDoubleDots)}function Yi(n,e,i){let t=n,r=e,s=i;for(;s>r;){if(s-=r,t=t.parent,!t)throw new S(4005,!1);r=t.segments.length}return new se(t,!1,r-s)}function Ji(n){return Ie(n[0])?n[0].outlets:{[g]:n}}function Nr(n,e,i){if(n||(n=new v([],{})),n.segments.length===0&&n.hasChildren())return Ae(n,e,i);let t=Xi(n,e,i),r=i.slice(t.commandIndex);if(t.match&&t.pathIndexs!==g)&&n.children[g]&&n.numberOfChildren===1&&n.children[g].segments.length===0){let s=Ae(n.children[g],e,i);return new v(n.segments,s.children)}return Object.entries(t).forEach(([s,a])=>{typeof a=="string"&&(a=[a]),a!==null&&(r[s]=Nr(n.children[s],e,a))}),Object.entries(n.children).forEach(([s,a])=>{t[s]===void 0&&(r[s]=a)}),new v(n.segments,r)}}function Xi(n,e,i){let t=0,r=e,s={match:!1,pathIndex:0,commandIndex:0};for(;r=i.length)return s;let a=n.segments[r],o=i[t];if(Ie(o))break;let u=`${o}`,l=t0&&u===void 0)break;if(u&&l&&typeof l=="object"&&l.outlets===void 0){if(!wr(u,l,a))return s;t+=2}else{if(!wr(u,{},a))return s;t++}r++}return{match:!0,pathIndex:r,commandIndex:t}}function Xt(n,e,i){let t=n.segments.slice(0,e),r=0;for(;r{typeof t=="string"&&(t=[t]),t!==null&&(e[i]=Xt(new v([],{}),0,t))}),e}function yr(n){let e={};return Object.entries(n).forEach(([i,t])=>e[i]=`${t}`),e}function wr(n,e,i){return n==i.path&&N(e,i.parameters)}var Ee="imperative",D=class{constructor(e,i){this.id=e,this.url=i}},Oe=class extends D{constructor(e,i,t="imperative",r=null){super(e,i),this.type=0,this.navigationTrigger=t,this.restoredState=r}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},J=class extends D{constructor(e,i,t){super(e,i),this.urlAfterRedirects=t,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},F=class extends D{constructor(e,i,t,r){super(e,i),this.reason=t,this.code=r,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},X=class extends D{constructor(e,i,t,r){super(e,i),this.reason=t,this.code=r,this.type=16}},Pe=class extends D{constructor(e,i,t,r){super(e,i),this.error=t,this.target=r,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},it=class extends D{constructor(e,i,t,r){super(e,i),this.urlAfterRedirects=t,this.state=r,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},en=class extends D{constructor(e,i,t,r){super(e,i),this.urlAfterRedirects=t,this.state=r,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},tn=class extends D{constructor(e,i,t,r,s){super(e,i),this.urlAfterRedirects=t,this.state=r,this.shouldActivate=s,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},nn=class extends D{constructor(e,i,t,r){super(e,i),this.urlAfterRedirects=t,this.state=r,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},rn=class extends D{constructor(e,i,t,r){super(e,i),this.urlAfterRedirects=t,this.state=r,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},sn=class{constructor(e){this.route=e,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},an=class{constructor(e){this.route=e,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},on=class{constructor(e){this.snapshot=e,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},ln=class{constructor(e){this.snapshot=e,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},un=class{constructor(e){this.snapshot=e,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},cn=class{constructor(e){this.snapshot=e,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}};var xe=class{},Ne=class{constructor(e){this.url=e}};var dn=class{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new ct,this.attachRef=null}},ct=(()=>{let e=class e{constructor(){this.contexts=new Map}onChildOutletCreated(t,r){let s=this.getOrCreateContext(t);s.outlet=r,this.contexts.set(t,s)}onChildOutletDestroyed(t){let r=this.getContext(t);r&&(r.outlet=null,r.attachRef=null)}onOutletDeactivated(){let t=this.contexts;return this.contexts=new Map,t}onOutletReAttached(t){this.contexts=t}getOrCreateContext(t){let r=this.getContext(t);return r||(r=new dn,this.contexts.set(t,r)),r}getContext(t){return this.contexts.get(t)||null}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})(),st=class{constructor(e){this._root=e}get root(){return this._root.value}parent(e){let i=this.pathFromRoot(e);return i.length>1?i[i.length-2]:null}children(e){let i=hn(e,this._root);return i?i.children.map(t=>t.value):[]}firstChild(e){let i=hn(e,this._root);return i&&i.children.length>0?i.children[0].value:null}siblings(e){let i=pn(e,this._root);return i.length<2?[]:i[i.length-2].children.map(r=>r.value).filter(r=>r!==e)}pathFromRoot(e){return pn(e,this._root).map(i=>i.value)}};function hn(n,e){if(n===e.value)return e;for(let i of e.children){let t=hn(n,i);if(t)return t}return null}function pn(n,e){if(n===e.value)return[e];for(let i of e.children){let t=pn(n,i);if(t.length)return t.unshift(e),t}return[]}var T=class{constructor(e,i){this.value=e,this.children=i}toString(){return`TreeNode(${this.value})`}};function ie(n){let e={};return n&&n.children.forEach(i=>e[i.value.outlet]=i),e}var at=class extends st{constructor(e,i){super(e),this.snapshot=i,kn(this,e)}toString(){return this.snapshot.toString()}};function jr(n,e){let i=ts(n,e),t=new M([new Q("",{})]),r=new M({}),s=new M({}),a=new M({}),o=new M(""),u=new ue(t,r,a,o,s,g,e,i.root);return u.snapshot=i.root,new at(new T(u,[]),i)}function ts(n,e){let i={},t={},r={},s="",a=new je([],i,r,s,t,g,e,null,{});return new ot("",new T(a,[]))}var ue=class{constructor(e,i,t,r,s,a,o,u){this.urlSubject=e,this.paramsSubject=i,this.queryParamsSubject=t,this.fragmentSubject=r,this.dataSubject=s,this.outlet=a,this.component=o,this._futureSnapshot=u,this.title=this.dataSubject?.pipe(y(l=>l[$e]))??p(void 0),this.url=e,this.params=i,this.queryParams=t,this.fragment=r,this.data=s}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe(y(e=>oe(e)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(y(e=>oe(e)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function Rn(n,e,i="emptyOnly"){let t,{routeConfig:r}=n;return e!==null&&(i==="always"||r?.path===""||!e.component&&!e.routeConfig?.loadComponent)?t={params:d(d({},e.params),n.params),data:d(d({},e.data),n.data),resolve:d(d(d(d({},n.data),e.data),r?.data),n._resolvedData)}:t={params:n.params,data:n.data,resolve:d(d({},n.data),n._resolvedData??{})},r&&Lr(r)&&(t.resolve[$e]=r.title),t}var je=class{get title(){return this.data?.[$e]}constructor(e,i,t,r,s,a,o,u,l){this.url=e,this.params=i,this.queryParams=t,this.fragment=r,this.data=s,this.outlet=a,this.component=o,this.routeConfig=u,this._resolve=l}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=oe(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=oe(this.queryParams)),this._queryParamMap}toString(){let e=this.url.map(t=>t.toString()).join("/"),i=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${e}', path:'${i}')`}},ot=class extends st{constructor(e,i){super(i),this.url=e,kn(this,i)}toString(){return Ur(this._root)}};function kn(n,e){e.value._routerState=n,e.children.forEach(i=>kn(n,i))}function Ur(n){let e=n.children.length>0?` { ${n.children.map(Ur).join(", ")} } `:"";return`${n.value}${e}`}function Gt(n){if(n.snapshot){let e=n.snapshot,i=n._futureSnapshot;n.snapshot=i,N(e.queryParams,i.queryParams)||n.queryParamsSubject.next(i.queryParams),e.fragment!==i.fragment&&n.fragmentSubject.next(i.fragment),N(e.params,i.params)||n.paramsSubject.next(i.params),Ii(e.url,i.url)||n.urlSubject.next(i.url),N(e.data,i.data)||n.dataSubject.next(i.data)}else n.snapshot=n._futureSnapshot,n.dataSubject.next(n._futureSnapshot.data)}function fn(n,e){let i=N(n.params,e.params)&&Ni(n.url,e.url),t=!n.parent!=!e.parent;return i&&!t&&(!n.parent||fn(n.parent,e.parent))}function Lr(n){return typeof n.title=="string"||n.title===null}var _e=(()=>{let e=class e{constructor(){this.activated=null,this._activatedRoute=null,this.name=g,this.activateEvents=new we,this.deactivateEvents=new we,this.attachEvents=new we,this.detachEvents=new we,this.parentContexts=f(ct),this.location=f(Zn),this.changeDetector=f(Et),this.environmentInjector=f(Be),this.inputBinder=f(Tn,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(t){if(t.name){let{firstChange:r,previousValue:s}=t.name;if(r)return;this.isTrackedInParentContexts(s)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(s)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(t){return this.parentContexts.getContext(t)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let t=this.parentContexts.getContext(this.name);t?.route&&(t.attachRef?this.attach(t.attachRef,t.route):this.activateWith(t.route,t.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new S(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new S(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new S(4012,!1);this.location.detach();let t=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(t.instance),t}attach(t,r){this.activated=t,this._activatedRoute=r,this.location.insert(t.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(t.instance)}deactivate(){if(this.activated){let t=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(t)}}activateWith(t,r){if(this.isActivated)throw new S(4013,!1);this._activatedRoute=t;let s=this.location,o=t.snapshot.component,u=this.parentContexts.getOrCreateContext(this.name).children,l=new gn(t,u,s.injector);this.activated=s.createComponent(o,{index:s.length,injector:l,environmentInjector:r??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}};e.\u0275fac=function(r){return new(r||e)},e.\u0275dir=Bn({type:e,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[Vn]});let n=e;return n})(),gn=class{constructor(e,i,t){this.route=e,this.childContexts=i,this.parent=t}get(e,i){return e===ue?this.route:e===ct?this.childContexts:this.parent.get(e,i)}},Tn=new E("");function ns(n,e,i){let t=Ue(n,e._root,i?i._root:void 0);return new at(t,e)}function Ue(n,e,i){if(i&&n.shouldReuseRoute(e.value,i.value.snapshot)){let t=i.value;t._futureSnapshot=e.value;let r=rs(n,e,i);return new T(t,r)}else{if(n.shouldAttach(e.value)){let s=n.retrieve(e.value);if(s!==null){let a=s.route;return a.value._futureSnapshot=e.value,a.children=e.children.map(o=>Ue(n,o)),a}}let t=is(e.value),r=e.children.map(s=>Ue(n,s));return new T(t,r)}}function rs(n,e,i){return e.children.map(t=>{for(let r of i.children)if(n.shouldReuseRoute(t.value,r.value.snapshot))return Ue(n,t,r);return Ue(n,t)})}function is(n){return new ue(new M(n.url),new M(n.params),new M(n.queryParams),new M(n.fragment),new M(n.data),n.outlet,n.component,n)}var $r="ngNavigationCancelingError";function _r(n,e){let{redirectTo:i,navigationBehaviorOptions:t}=le(e)?{redirectTo:e,navigationBehaviorOptions:void 0}:e,r=zr(!1,0,e);return r.url=i,r.navigationBehaviorOptions=t,r}function zr(n,e,i){let t=new Error("NavigationCancelingError: "+(n||""));return t[$r]=!0,t.cancellationCode=e,i&&(t.url=i),t}function ss(n){return Fr(n)&&le(n.url)}function Fr(n){return n&&n[$r]}var as=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275cmp=$({type:e,selectors:[["ng-component"]],standalone:!0,features:[_],decls:1,vars:0,template:function(r,s){r&1&&x(0,"router-outlet")},dependencies:[_e],encapsulation:2});let n=e;return n})();function os(n,e){return n.providers&&!n._injector&&(n._injector=Xn(n.providers,e,`Route: ${n.path}`)),n._injector??e}function Mn(n){let e=n.children&&n.children.map(Mn),i=e?k(d({},n),{children:e}):d({},n);return!i.component&&!i.loadComponent&&(e||i.loadChildren)&&i.outlet&&i.outlet!==g&&(i.component=as),i}function j(n){return n.outlet||g}function ls(n,e){let i=n.filter(t=>j(t)===e);return i.push(...n.filter(t=>j(t)!==e)),i}function ze(n){if(!n)return null;if(n.routeConfig?._injector)return n.routeConfig._injector;for(let e=n.parent;e;e=e.parent){let i=e.routeConfig;if(i?._loadedInjector)return i._loadedInjector;if(i?._injector)return i._injector}return null}var us=(n,e,i,t)=>y(r=>(new mn(e,r.targetRouterState,r.currentRouterState,i,t).activate(n),r)),mn=class{constructor(e,i,t,r,s){this.routeReuseStrategy=e,this.futureState=i,this.currState=t,this.forwardEvent=r,this.inputBindingEnabled=s}activate(e){let i=this.futureState._root,t=this.currState?this.currState._root:null;this.deactivateChildRoutes(i,t,e),Gt(this.futureState.root),this.activateChildRoutes(i,t,e)}deactivateChildRoutes(e,i,t){let r=ie(i);e.children.forEach(s=>{let a=s.value.outlet;this.deactivateRoutes(s,r[a],t),delete r[a]}),Object.values(r).forEach(s=>{this.deactivateRouteAndItsChildren(s,t)})}deactivateRoutes(e,i,t){let r=e.value,s=i?i.value:null;if(r===s)if(r.component){let a=t.getContext(r.outlet);a&&this.deactivateChildRoutes(e,i,a.children)}else this.deactivateChildRoutes(e,i,t);else s&&this.deactivateRouteAndItsChildren(i,t)}deactivateRouteAndItsChildren(e,i){e.value.component&&this.routeReuseStrategy.shouldDetach(e.value.snapshot)?this.detachAndStoreRouteSubtree(e,i):this.deactivateRouteAndOutlet(e,i)}detachAndStoreRouteSubtree(e,i){let t=i.getContext(e.value.outlet),r=t&&e.value.component?t.children:i,s=ie(e);for(let a of Object.keys(s))this.deactivateRouteAndItsChildren(s[a],r);if(t&&t.outlet){let a=t.outlet.detach(),o=t.children.onOutletDeactivated();this.routeReuseStrategy.store(e.value.snapshot,{componentRef:a,route:e,contexts:o})}}deactivateRouteAndOutlet(e,i){let t=i.getContext(e.value.outlet),r=t&&e.value.component?t.children:i,s=ie(e);for(let a of Object.keys(s))this.deactivateRouteAndItsChildren(s[a],r);t&&(t.outlet&&(t.outlet.deactivate(),t.children.onOutletDeactivated()),t.attachRef=null,t.route=null)}activateChildRoutes(e,i,t){let r=ie(i);e.children.forEach(s=>{this.activateRoutes(s,r[s.value.outlet],t),this.forwardEvent(new cn(s.value.snapshot))}),e.children.length&&this.forwardEvent(new ln(e.value.snapshot))}activateRoutes(e,i,t){let r=e.value,s=i?i.value:null;if(Gt(r),r===s)if(r.component){let a=t.getOrCreateContext(r.outlet);this.activateChildRoutes(e,i,a.children)}else this.activateChildRoutes(e,i,t);else if(r.component){let a=t.getOrCreateContext(r.outlet);if(this.routeReuseStrategy.shouldAttach(r.snapshot)){let o=this.routeReuseStrategy.retrieve(r.snapshot);this.routeReuseStrategy.store(r.snapshot,null),a.children.onOutletReAttached(o.contexts),a.attachRef=o.componentRef,a.route=o.route.value,a.outlet&&a.outlet.attach(o.componentRef,o.route.value),Gt(o.route.value),this.activateChildRoutes(e,null,a.children)}else{let o=ze(r.snapshot);a.attachRef=null,a.route=r,a.injector=o,a.outlet&&a.outlet.activateWith(r,a.injector),this.activateChildRoutes(e,null,a.children)}}else this.activateChildRoutes(e,null,t)}},lt=class{constructor(e){this.path=e,this.route=this.path[this.path.length-1]}},ae=class{constructor(e,i){this.component=e,this.route=i}};function cs(n,e,i){let t=n._root,r=e?e._root:null;return Te(t,r,i,[t.value])}function ds(n){let e=n.routeConfig?n.routeConfig.canActivateChild:null;return!e||e.length===0?null:{node:n,guards:e}}function de(n,e){let i=Symbol(),t=e.get(n,i);return t===i?typeof n=="function"&&!Hn(n)?n:e.get(n):t}function Te(n,e,i,t,r={canDeactivateChecks:[],canActivateChecks:[]}){let s=ie(e);return n.children.forEach(a=>{hs(a,s[a.value.outlet],i,t.concat([a.value]),r),delete s[a.value.outlet]}),Object.entries(s).forEach(([a,o])=>De(o,i.getContext(a),r)),r}function hs(n,e,i,t,r={canDeactivateChecks:[],canActivateChecks:[]}){let s=n.value,a=e?e.value:null,o=i?i.getContext(n.value.outlet):null;if(a&&s.routeConfig===a.routeConfig){let u=ps(a,s,s.routeConfig.runGuardsAndResolvers);u?r.canActivateChecks.push(new lt(t)):(s.data=a.data,s._resolvedData=a._resolvedData),s.component?Te(n,e,o?o.children:null,t,r):Te(n,e,i,t,r),u&&o&&o.outlet&&o.outlet.isActivated&&r.canDeactivateChecks.push(new ae(o.outlet.component,a))}else a&&De(e,o,r),r.canActivateChecks.push(new lt(t)),s.component?Te(n,null,o?o.children:null,t,r):Te(n,null,i,t,r);return r}function ps(n,e,i){if(typeof i=="function")return i(n,e);switch(i){case"pathParamsChange":return!Y(n.url,e.url);case"pathParamsOrQueryParamsChange":return!Y(n.url,e.url)||!N(n.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!fn(n,e)||!N(n.queryParams,e.queryParams);case"paramsChange":default:return!fn(n,e)}}function De(n,e,i){let t=ie(n),r=n.value;Object.entries(t).forEach(([s,a])=>{r.component?e?De(a,e.children.getContext(s),i):De(a,null,i):De(a,e,i)}),r.component?e&&e.outlet&&e.outlet.isActivated?i.canDeactivateChecks.push(new ae(e.outlet.component,r)):i.canDeactivateChecks.push(new ae(null,r)):i.canDeactivateChecks.push(new ae(null,r))}function Fe(n){return typeof n=="function"}function fs(n){return typeof n=="boolean"}function gs(n){return n&&Fe(n.canLoad)}function ms(n){return n&&Fe(n.canActivate)}function vs(n){return n&&Fe(n.canActivateChild)}function ys(n){return n&&Fe(n.canDeactivate)}function ws(n){return n&&Fe(n.canMatch)}function Hr(n){return n instanceof jn||n?.name==="EmptyError"}var Ye=Symbol("INITIAL_VALUE");function ce(){return P(n=>mt(n.map(e=>e.pipe(ne(1),zn(Ye)))).pipe(y(e=>{for(let i of e)if(i!==!0){if(i===Ye)return Ye;if(i===!1||i instanceof z)return i}return!0}),ee(e=>e!==Ye),ne(1)))}function Cs(n,e){return A(i=>{let{targetSnapshot:t,currentSnapshot:r,guards:{canActivateChecks:s,canDeactivateChecks:a}}=i;return a.length===0&&s.length===0?p(k(d({},i),{guardsResult:!0})):bs(a,t,r,n).pipe(A(o=>o&&fs(o)?Ss(t,s,n,e):p(o)),y(o=>k(d({},i),{guardsResult:o})))})}function bs(n,e,i,t){return I(n).pipe(A(r=>As(r.component,r.route,i,e,t)),L(r=>r!==!0,!0))}function Ss(n,e,i,t){return I(e).pipe(ge(r=>Un(ks(r.route.parent,t),Rs(r.route,t),Ms(n,r.path,i),Ts(n,r.route,i))),L(r=>r!==!0,!0))}function Rs(n,e){return n!==null&&e&&e(new un(n)),p(!0)}function ks(n,e){return n!==null&&e&&e(new on(n)),p(!0)}function Ts(n,e,i){let t=e.routeConfig?e.routeConfig.canActivate:null;if(!t||t.length===0)return p(!0);let r=t.map(s=>vt(()=>{let a=ze(e)??i,o=de(s,a),u=ms(o)?o.canActivate(e,n):G(a,()=>o(e,n));return H(u).pipe(L())}));return p(r).pipe(ce())}function Ms(n,e,i){let t=e[e.length-1],s=e.slice(0,e.length-1).reverse().map(a=>ds(a)).filter(a=>a!==null).map(a=>vt(()=>{let o=a.guards.map(u=>{let l=ze(a.node)??i,c=de(u,l),h=vs(c)?c.canActivateChild(t,n):G(l,()=>c(t,n));return H(h).pipe(L())});return p(o).pipe(ce())}));return p(s).pipe(ce())}function As(n,e,i,t,r){let s=e&&e.routeConfig?e.routeConfig.canDeactivate:null;if(!s||s.length===0)return p(!0);let a=s.map(o=>{let u=ze(e)??r,l=de(o,u),c=ys(l)?l.canDeactivate(n,e,i,t):G(u,()=>l(n,e,i,t));return H(c).pipe(L())});return p(a).pipe(ce())}function Es(n,e,i,t){let r=e.canLoad;if(r===void 0||r.length===0)return p(!0);let s=r.map(a=>{let o=de(a,n),u=gs(o)?o.canLoad(e,i):G(n,()=>o(e,i));return H(u)});return p(s).pipe(ce(),Br(t))}function Br(n){return xn(R(e=>{if(le(e))throw _r(n,e)}),y(e=>e===!0))}function Ds(n,e,i,t){let r=e.canMatch;if(!r||r.length===0)return p(!0);let s=r.map(a=>{let o=de(a,n),u=ws(o)?o.canMatch(e,i):G(n,()=>o(e,i));return H(u)});return p(s).pipe(ce(),Br(t))}var Le=class{constructor(e){this.segmentGroup=e||null}},ut=class extends Error{constructor(e){super(),this.urlTree=e}};function re(n){return fe(new Le(n))}function Is(n){return fe(new S(4e3,!1))}function Os(n){return fe(zr(!1,3))}var vn=class{constructor(e,i){this.urlSerializer=e,this.urlTree=i}lineralizeSegments(e,i){let t=[],r=i.root;for(;;){if(t=t.concat(r.segments),r.numberOfChildren===0)return p(t);if(r.numberOfChildren>1||!r.children[g])return Is(e.redirectTo);r=r.children[g]}}applyRedirectCommands(e,i,t){let r=this.applyRedirectCreateUrlTree(i,this.urlSerializer.parse(i),e,t);if(i.startsWith("/"))throw new ut(r);return r}applyRedirectCreateUrlTree(e,i,t,r){let s=this.createSegmentGroup(e,i.root,t,r);return new z(s,this.createQueryParams(i.queryParams,this.urlTree.queryParams),i.fragment)}createQueryParams(e,i){let t={};return Object.entries(e).forEach(([r,s])=>{if(typeof s=="string"&&s.startsWith(":")){let o=s.substring(1);t[r]=i[o]}else t[r]=s}),t}createSegmentGroup(e,i,t,r){let s=this.createSegments(e,i.segments,t,r),a={};return Object.entries(i.children).forEach(([o,u])=>{a[o]=this.createSegmentGroup(e,u,t,r)}),new v(s,a)}createSegments(e,i,t,r){return i.map(s=>s.path.startsWith(":")?this.findPosParam(e,s,r):this.findOrReturn(s,t))}findPosParam(e,i,t){let r=t[i.path.substring(1)];if(!r)throw new S(4001,!1);return r}findOrReturn(e,i){let t=0;for(let r of i){if(r.path===e.path)return i.splice(t),r;t++}return e}},yn={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Ps(n,e,i,t,r){let s=An(n,e,i);return s.matched?(t=os(e,t),Ds(t,e,i,r).pipe(y(a=>a===!0?s:d({},yn)))):p(s)}function An(n,e,i){if(e.path==="**")return xs(i);if(e.path==="")return e.pathMatch==="full"&&(n.hasChildren()||i.length>0)?d({},yn):{matched:!0,consumedSegments:[],remainingSegments:i,parameters:{},positionalParamSegments:{}};let r=(e.matcher||Di)(i,n,e);if(!r)return d({},yn);let s={};Object.entries(r.posParams??{}).forEach(([o,u])=>{s[o]=u.path});let a=r.consumed.length>0?d(d({},s),r.consumed[r.consumed.length-1].parameters):s;return{matched:!0,consumedSegments:r.consumed,remainingSegments:i.slice(r.consumed.length),parameters:a,positionalParamSegments:r.posParams??{}}}function xs(n){return{matched:!0,parameters:n.length>0?Sr(n).parameters:{},consumedSegments:n,remainingSegments:[],positionalParamSegments:{}}}function Cr(n,e,i,t){return i.length>0&&Us(n,i,t)?{segmentGroup:new v(e,js(t,new v(i,n.children))),slicedSegments:[]}:i.length===0&&Ls(n,i,t)?{segmentGroup:new v(n.segments,Ns(n,e,i,t,n.children)),slicedSegments:i}:{segmentGroup:new v(n.segments,n.children),slicedSegments:i}}function Ns(n,e,i,t,r){let s={};for(let a of t)if(dt(n,i,a)&&!r[j(a)]){let o=new v([],{});s[j(a)]=o}return d(d({},r),s)}function js(n,e){let i={};i[g]=e;for(let t of n)if(t.path===""&&j(t)!==g){let r=new v([],{});i[j(t)]=r}return i}function Us(n,e,i){return i.some(t=>dt(n,e,t)&&j(t)!==g)}function Ls(n,e,i){return i.some(t=>dt(n,e,t))}function dt(n,e,i){return(n.hasChildren()||e.length>0)&&i.pathMatch==="full"?!1:i.path===""}function $s(n,e,i,t){return j(n)!==t&&(t===g||!dt(e,i,n))?!1:An(e,n,i).matched}function _s(n,e,i){return e.length===0&&!n.children[i]}var wn=class{};function zs(n,e,i,t,r,s,a="emptyOnly"){return new Cn(n,e,i,t,r,a,s).recognize()}var Fs=31,Cn=class{constructor(e,i,t,r,s,a,o){this.injector=e,this.configLoader=i,this.rootComponentType=t,this.config=r,this.urlTree=s,this.paramsInheritanceStrategy=a,this.urlSerializer=o,this.applyRedirects=new vn(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(e){return new S(4002,`'${e.segmentGroup}'`)}recognize(){let e=Cr(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(e).pipe(y(i=>{let t=new je([],Object.freeze({}),Object.freeze(d({},this.urlTree.queryParams)),this.urlTree.fragment,{},g,this.rootComponentType,null,{}),r=new T(t,i),s=new ot("",r),a=Wi(t,[],this.urlTree.queryParams,this.urlTree.fragment);return a.queryParams=this.urlTree.queryParams,s.url=this.urlSerializer.serialize(a),this.inheritParamsAndData(s._root,null),{state:s,tree:a}}))}match(e){return this.processSegmentGroup(this.injector,this.config,e,g).pipe(te(t=>{if(t instanceof ut)return this.urlTree=t.urlTree,this.match(t.urlTree.root);throw t instanceof Le?this.noMatchError(t):t}))}inheritParamsAndData(e,i){let t=e.value,r=Rn(t,i,this.paramsInheritanceStrategy);t.params=Object.freeze(r.params),t.data=Object.freeze(r.data),e.children.forEach(s=>this.inheritParamsAndData(s,t))}processSegmentGroup(e,i,t,r){return t.segments.length===0&&t.hasChildren()?this.processChildren(e,i,t):this.processSegment(e,i,t,t.segments,r,!0).pipe(y(s=>s instanceof T?[s]:[]))}processChildren(e,i,t){let r=[];for(let s of Object.keys(t.children))s==="primary"?r.unshift(s):r.push(s);return I(r).pipe(ge(s=>{let a=t.children[s],o=ls(i,s);return this.processSegmentGroup(e,o,a,s)}),_n((s,a)=>(s.push(...a),s)),yt(null),$n(),A(s=>{if(s===null)return re(t);let a=Vr(s);return Hs(a),p(a)}))}processSegment(e,i,t,r,s,a){return I(i).pipe(ge(o=>this.processSegmentAgainstRoute(o._injector??e,i,o,t,r,s,a).pipe(te(u=>{if(u instanceof Le)return p(null);throw u}))),L(o=>!!o),te(o=>{if(Hr(o))return _s(t,r,s)?p(new wn):re(t);throw o}))}processSegmentAgainstRoute(e,i,t,r,s,a,o){return $s(t,r,s,a)?t.redirectTo===void 0?this.matchSegmentAgainstRoute(e,r,t,s,a):this.allowRedirects&&o?this.expandSegmentAgainstRouteUsingRedirect(e,r,i,t,s,a):re(r):re(r)}expandSegmentAgainstRouteUsingRedirect(e,i,t,r,s,a){let{matched:o,consumedSegments:u,positionalParamSegments:l,remainingSegments:c}=An(i,r,s);if(!o)return re(i);r.redirectTo.startsWith("/")&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>Fs&&(this.allowRedirects=!1));let h=this.applyRedirects.applyRedirectCommands(u,r.redirectTo,l);return this.applyRedirects.lineralizeSegments(r,h).pipe(A(m=>this.processSegment(e,t,i,m.concat(c),a,!1)))}matchSegmentAgainstRoute(e,i,t,r,s){let a=Ps(i,t,r,e,this.urlSerializer);return t.path==="**"&&(i.children={}),a.pipe(P(o=>o.matched?(e=t._injector??e,this.getChildConfig(e,t,r).pipe(P(({routes:u})=>{let l=t._loadedInjector??e,{consumedSegments:c,remainingSegments:h,parameters:m}=o,b=new je(c,m,Object.freeze(d({},this.urlTree.queryParams)),this.urlTree.fragment,Vs(t),j(t),t.component??t._loadedComponent??null,t,qs(t)),{segmentGroup:he,slicedSegments:pe}=Cr(i,c,h,u);if(pe.length===0&&he.hasChildren())return this.processChildren(l,u,he).pipe(y(V=>V===null?null:new T(b,V)));if(u.length===0&&pe.length===0)return p(new T(b,[]));let pt=j(t)===s;return this.processSegment(l,u,he,pe,pt?g:s,!0).pipe(y(V=>new T(b,V instanceof T?[V]:[])))}))):re(i)))}getChildConfig(e,i,t){return i.children?p({routes:i.children,injector:e}):i.loadChildren?i._loadedRoutes!==void 0?p({routes:i._loadedRoutes,injector:i._loadedInjector}):Es(e,i,t,this.urlSerializer).pipe(A(r=>r?this.configLoader.loadChildren(e,i).pipe(R(s=>{i._loadedRoutes=s.routes,i._loadedInjector=s.injector})):Os(i))):p({routes:[],injector:e})}};function Hs(n){n.sort((e,i)=>e.value.outlet===g?-1:i.value.outlet===g?1:e.value.outlet.localeCompare(i.value.outlet))}function Bs(n){let e=n.value.routeConfig;return e&&e.path===""}function Vr(n){let e=[],i=new Set;for(let t of n){if(!Bs(t)){e.push(t);continue}let r=e.find(s=>t.value.routeConfig===s.value.routeConfig);r!==void 0?(r.children.push(...t.children),i.add(r)):e.push(t)}for(let t of i){let r=Vr(t.children);e.push(new T(t.value,r))}return e.filter(t=>!i.has(t))}function Vs(n){return n.data||{}}function qs(n){return n.resolve||{}}function Ks(n,e,i,t,r,s){return A(a=>zs(n,e,i,t,a.extractedUrl,r,s).pipe(y(({state:o,tree:u})=>k(d({},a),{targetSnapshot:o,urlAfterRedirects:u}))))}function Gs(n,e){return A(i=>{let{targetSnapshot:t,guards:{canActivateChecks:r}}=i;if(!r.length)return p(i);let s=new Set(r.map(u=>u.route)),a=new Set;for(let u of s)if(!a.has(u))for(let l of qr(u))a.add(l);let o=0;return I(a).pipe(ge(u=>s.has(u)?Ws(u,t,n,e):(u.data=Rn(u,u.parent,n).resolve,p(void 0))),R(()=>o++),wt(1),A(u=>o===a.size?p(i):K))})}function qr(n){let e=n.children.map(i=>qr(i)).flat();return[n,...e]}function Ws(n,e,i,t){let r=n.routeConfig,s=n._resolve;return r?.title!==void 0&&!Lr(r)&&(s[$e]=r.title),Zs(s,n,e,t).pipe(y(a=>(n._resolvedData=a,n.data=Rn(n,n.parent,i).resolve,null)))}function Zs(n,e,i,t){let r=Qt(n);if(r.length===0)return p({});let s={};return I(r).pipe(A(a=>Qs(n[a],e,i,t).pipe(L(),R(o=>{s[a]=o}))),wt(1),Ln(s),te(a=>Hr(a)?K:fe(a)))}function Qs(n,e,i,t){let r=ze(e)??t,s=de(n,r),a=s.resolve?s.resolve(e,i):G(r,()=>s(e,i));return H(a)}function Wt(n){return P(e=>{let i=n(e);return i?I(i).pipe(y(()=>e)):p(e)})}var Kr=(()=>{let e=class e{buildTitle(t){let r,s=t.root;for(;s!==void 0;)r=this.getResolvedTitleForRoute(s)??r,s=s.children.find(a=>a.outlet===g);return r}getResolvedTitleForRoute(t){return t.data[$e]}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=w({token:e,factory:()=>(()=>f(Ys))(),providedIn:"root"});let n=e;return n})(),Ys=(()=>{let e=class e extends Kr{constructor(t){super(),this.title=t}updateTitle(t){let r=this.buildTitle(t);r!==void 0&&this.title.setTitle(r)}};e.\u0275fac=function(r){return new(r||e)(C(Vt))},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})(),En=new E("",{providedIn:"root",factory:()=>({})}),Dn=new E("ROUTES"),Js=(()=>{let e=class e{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=f(It)}loadComponent(t){if(this.componentLoaders.get(t))return this.componentLoaders.get(t);if(t._loadedComponent)return p(t._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(t);let r=H(t.loadComponent()).pipe(y(Gr),R(a=>{this.onLoadEndListener&&this.onLoadEndListener(t),t._loadedComponent=a}),He(()=>{this.componentLoaders.delete(t)})),s=new gt(r,()=>new q).pipe(ft());return this.componentLoaders.set(t,s),s}loadChildren(t,r){if(this.childrenLoaders.get(r))return this.childrenLoaders.get(r);if(r._loadedRoutes)return p({routes:r._loadedRoutes,injector:r._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(r);let a=Xs(r,this.compiler,t,this.onLoadEndListener).pipe(He(()=>{this.childrenLoaders.delete(r)})),o=new gt(a,()=>new q).pipe(ft());return this.childrenLoaders.set(r,o),o}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})();function Xs(n,e,i,t){return H(n.loadChildren()).pipe(y(Gr),A(r=>r instanceof Jn||Array.isArray(r)?p(r):I(e.compileModuleAsync(r))),y(r=>{t&&t(n);let s,a,o=!1;return Array.isArray(r)?(a=r,o=!0):(s=r.create(i).injector,a=s.get(Dn,[],{optional:!0,self:!0}).flat()),{routes:a.map(Mn),injector:s}}))}function ea(n){return n&&typeof n=="object"&&"default"in n}function Gr(n){return ea(n)?n.default:n}var In=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=w({token:e,factory:()=>(()=>f(ta))(),providedIn:"root"});let n=e;return n})(),ta=(()=>{let e=class e{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,r){return t}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})(),na=new E("");var ra=(()=>{let e=class e{get hasRequestedNavigation(){return this.navigationId!==0}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new q,this.transitionAbortSubject=new q,this.configLoader=f(Js),this.environmentInjector=f(Be),this.urlSerializer=f(Sn),this.rootContexts=f(ct),this.location=f(Ke),this.inputBindingEnabled=f(Tn,{optional:!0})!==null,this.titleStrategy=f(Kr),this.options=f(En,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=f(In),this.createViewTransition=f(na,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>p(void 0),this.rootComponentType=null;let t=s=>this.events.next(new sn(s)),r=s=>this.events.next(new an(s));this.configLoader.onLoadEndListener=r,this.configLoader.onLoadStartListener=t}complete(){this.transitions?.complete()}handleNavigationRequest(t){let r=++this.navigationId;this.transitions?.next(k(d(d({},this.transitions.value),t),{id:r}))}setupNavigations(t,r,s){return this.transitions=new M({id:0,currentUrlTree:r,currentRawUrl:r,extractedUrl:this.urlHandlingStrategy.extract(r),urlAfterRedirects:this.urlHandlingStrategy.extract(r),rawUrl:r,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:Ee,restoredState:null,currentSnapshot:s.snapshot,targetSnapshot:null,currentRouterState:s,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(ee(a=>a.id!==0),y(a=>k(d({},a),{extractedUrl:this.urlHandlingStrategy.extract(a.rawUrl)})),P(a=>{this.currentTransition=a;let o=!1,u=!1;return p(a).pipe(R(l=>{this.currentNavigation={id:l.id,initialUrl:l.rawUrl,extractedUrl:l.extractedUrl,trigger:l.source,extras:l.extras,previousNavigation:this.lastSuccessfulNavigation?k(d({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),P(l=>{let c=!t.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),h=l.extras.onSameUrlNavigation??t.onSameUrlNavigation;if(!c&&h!=="reload"){let m="";return this.events.next(new X(l.id,this.urlSerializer.serialize(l.rawUrl),m,0)),l.resolve(null),K}if(this.urlHandlingStrategy.shouldProcessUrl(l.rawUrl))return p(l).pipe(P(m=>{let b=this.transitions?.getValue();return this.events.next(new Oe(m.id,this.urlSerializer.serialize(m.extractedUrl),m.source,m.restoredState)),b!==this.transitions?.getValue()?K:Promise.resolve(m)}),Ks(this.environmentInjector,this.configLoader,this.rootComponentType,t.config,this.urlSerializer,this.paramsInheritanceStrategy),R(m=>{a.targetSnapshot=m.targetSnapshot,a.urlAfterRedirects=m.urlAfterRedirects,this.currentNavigation=k(d({},this.currentNavigation),{finalUrl:m.urlAfterRedirects});let b=new it(m.id,this.urlSerializer.serialize(m.extractedUrl),this.urlSerializer.serialize(m.urlAfterRedirects),m.targetSnapshot);this.events.next(b)}));if(c&&this.urlHandlingStrategy.shouldProcessUrl(l.currentRawUrl)){let{id:m,extractedUrl:b,source:he,restoredState:pe,extras:pt}=l,V=new Oe(m,this.urlSerializer.serialize(b),he,pe);this.events.next(V);let ni=jr(b,this.rootComponentType).snapshot;return this.currentTransition=a=k(d({},l),{targetSnapshot:ni,urlAfterRedirects:b,extras:k(d({},pt),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=b,p(a)}else{let m="";return this.events.next(new X(l.id,this.urlSerializer.serialize(l.extractedUrl),m,1)),l.resolve(null),K}}),R(l=>{let c=new en(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(c)}),y(l=>(this.currentTransition=a=k(d({},l),{guards:cs(l.targetSnapshot,l.currentSnapshot,this.rootContexts)}),a)),Cs(this.environmentInjector,l=>this.events.next(l)),R(l=>{if(a.guardsResult=l.guardsResult,le(l.guardsResult))throw _r(this.urlSerializer,l.guardsResult);let c=new tn(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot,!!l.guardsResult);this.events.next(c)}),ee(l=>l.guardsResult?!0:(this.cancelNavigationTransition(l,"",3),!1)),Wt(l=>{if(l.guards.canActivateChecks.length)return p(l).pipe(R(c=>{let h=new nn(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(h)}),P(c=>{let h=!1;return p(c).pipe(Gs(this.paramsInheritanceStrategy,this.environmentInjector),R({next:()=>h=!0,complete:()=>{h||this.cancelNavigationTransition(c,"",2)}}))}),R(c=>{let h=new rn(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(h)}))}),Wt(l=>{let c=h=>{let m=[];h.routeConfig?.loadComponent&&!h.routeConfig._loadedComponent&&m.push(this.configLoader.loadComponent(h.routeConfig).pipe(R(b=>{h.component=b}),y(()=>{})));for(let b of h.children)m.push(...c(b));return m};return mt(c(l.targetSnapshot.root)).pipe(yt(),ne(1))}),Wt(()=>this.afterPreactivation()),P(()=>{let{currentSnapshot:l,targetSnapshot:c}=a,h=this.createViewTransition?.(this.environmentInjector,l.root,c.root);return h?I(h).pipe(y(()=>a)):p(a)}),y(l=>{let c=ns(t.routeReuseStrategy,l.targetSnapshot,l.currentRouterState);return this.currentTransition=a=k(d({},l),{targetRouterState:c}),this.currentNavigation.targetRouterState=c,a}),R(()=>{this.events.next(new xe)}),us(this.rootContexts,t.routeReuseStrategy,l=>this.events.next(l),this.inputBindingEnabled),ne(1),R({next:l=>{o=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new J(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects))),this.titleStrategy?.updateTitle(l.targetRouterState.snapshot),l.resolve(!0)},complete:()=>{o=!0}}),Fn(this.transitionAbortSubject.pipe(R(l=>{throw l}))),He(()=>{if(!o&&!u){let l="";this.cancelNavigationTransition(a,l,1)}this.currentNavigation?.id===a.id&&(this.currentNavigation=null)}),te(l=>{if(u=!0,Fr(l))this.events.next(new F(a.id,this.urlSerializer.serialize(a.extractedUrl),l.message,l.cancellationCode)),ss(l)?this.events.next(new Ne(l.url)):a.resolve(!1);else{this.events.next(new Pe(a.id,this.urlSerializer.serialize(a.extractedUrl),l,a.targetSnapshot??void 0));try{a.resolve(t.errorHandler(l))}catch(c){a.reject(c)}}return K}))}))}cancelNavigationTransition(t,r,s){let a=new F(t.id,this.urlSerializer.serialize(t.extractedUrl),r,s);this.events.next(a),t.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){return this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))).toString()!==this.currentTransition?.extractedUrl.toString()&&!this.currentTransition?.extras.skipLocationChange}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})();function ia(n){return n!==Ee}var sa=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=w({token:e,factory:()=>(()=>f(aa))(),providedIn:"root"});let n=e;return n})(),bn=class{shouldDetach(e){return!1}store(e,i){}shouldAttach(e){return!1}retrieve(e){return null}shouldReuseRoute(e,i){return e.routeConfig===i.routeConfig}},aa=(()=>{let e=class e extends bn{};e.\u0275fac=(()=>{let t;return function(s){return(t||(t=bt(e)))(s||e)}})(),e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})(),Wr=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=w({token:e,factory:()=>(()=>f(oa))(),providedIn:"root"});let n=e;return n})(),oa=(()=>{let e=class e extends Wr{constructor(){super(...arguments),this.location=f(Ke),this.urlSerializer=f(Sn),this.options=f(En,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=f(In),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new z,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=jr(this.currentUrlTree,null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(t){return this.location.subscribe(r=>{r.type==="popstate"&&t(r.url,r.state)})}handleRouterEvent(t,r){if(t instanceof Oe)this.stateMemento=this.createStateMemento();else if(t instanceof X)this.rawUrlTree=r.initialUrl;else if(t instanceof it){if(this.urlUpdateStrategy==="eager"&&!r.extras.skipLocationChange){let s=this.urlHandlingStrategy.merge(r.finalUrl,r.initialUrl);this.setBrowserUrl(s,r)}}else t instanceof xe?(this.currentUrlTree=r.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(r.finalUrl,r.initialUrl),this.routerState=r.targetRouterState,this.urlUpdateStrategy==="deferred"&&(r.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,r))):t instanceof F&&(t.code===3||t.code===2)?this.restoreHistory(r):t instanceof Pe?this.restoreHistory(r,!0):t instanceof J&&(this.lastSuccessfulId=t.id,this.currentPageId=this.browserPageId)}setBrowserUrl(t,r){let s=this.urlSerializer.serialize(t);if(this.location.isCurrentPathEqualTo(s)||r.extras.replaceUrl){let a=this.browserPageId,o=d(d({},r.extras.state),this.generateNgRouterState(r.id,a));this.location.replaceState(s,"",o)}else{let a=d(d({},r.extras.state),this.generateNgRouterState(r.id,this.browserPageId+1));this.location.go(s,"",a)}}restoreHistory(t,r=!1){if(this.canceledNavigationResolution==="computed"){let s=this.browserPageId,a=this.currentPageId-s;a!==0?this.location.historyGo(a):this.currentUrlTree===t.finalUrl&&a===0&&(this.resetState(t),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(r&&this.resetState(t),this.resetUrlToCurrentUrlTree())}resetState(t){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,t.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(t,r){return this.canceledNavigationResolution==="computed"?{navigationId:t,\u0275routerPageId:r}:{navigationId:t}}};e.\u0275fac=(()=>{let t;return function(s){return(t||(t=bt(e)))(s||e)}})(),e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})(),Me=function(n){return n[n.COMPLETE=0]="COMPLETE",n[n.FAILED=1]="FAILED",n[n.REDIRECTING=2]="REDIRECTING",n}(Me||{});function la(n,e){n.events.pipe(ee(i=>i instanceof J||i instanceof F||i instanceof Pe||i instanceof X),y(i=>i instanceof J||i instanceof X?Me.COMPLETE:(i instanceof F?i.code===0||i.code===1:!1)?Me.REDIRECTING:Me.FAILED),ee(i=>i!==Me.REDIRECTING),ne(1)).subscribe(()=>{e()})}function ua(n){throw n}var ca={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},da={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},ht=(()=>{let e=class e{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.isNgZoneEnabled=!1,this.console=f(qe),this.stateManager=f(Wr),this.options=f(En,{optional:!0})||{},this.pendingTasks=f(er),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=f(ra),this.urlSerializer=f(Sn),this.location=f(Ke),this.urlHandlingStrategy=f(In),this._events=new q,this.errorHandler=this.options.errorHandler||ua,this.navigated=!1,this.routeReuseStrategy=f(sa),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=f(Dn,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!f(Tn,{optional:!0}),this.eventsSubscription=new Pn,this.isNgZoneEnabled=f(U)instanceof U&&U.isInAngularZone(),this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:t=>{this.console.warn(t)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){let t=this.navigationTransitions.events.subscribe(r=>{try{let s=this.navigationTransitions.currentTransition,a=this.navigationTransitions.currentNavigation;if(s!==null&&a!==null){if(this.stateManager.handleRouterEvent(r,a),r instanceof F&&r.code!==0&&r.code!==1)this.navigated=!0;else if(r instanceof J)this.navigated=!0;else if(r instanceof Ne){let o=this.urlHandlingStrategy.merge(r.url,s.currentRawUrl),u={skipLocationChange:s.extras.skipLocationChange,replaceUrl:this.urlUpdateStrategy==="eager"||ia(s.source)};this.scheduleNavigation(o,Ee,null,u,{resolve:s.resolve,reject:s.reject,promise:s.promise})}}pa(r)&&this._events.next(r)}catch(s){this.navigationTransitions.transitionAbortSubject.next(s)}});this.eventsSubscription.add(t)}resetRootComponentType(t){this.routerState.root.component=t,this.navigationTransitions.rootComponentType=t}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),Ee,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription||(this.nonRouterCurrentEntryChangeSubscription=this.stateManager.registerNonRouterCurrentEntryChangeListener((t,r)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(t,"popstate",r)},0)}))}navigateToSyncWithBrowser(t,r,s){let a={replaceUrl:!0},o=s?.navigationId?s:null;if(s){let l=d({},s);delete l.navigationId,delete l.\u0275routerPageId,Object.keys(l).length!==0&&(a.state=l)}let u=this.parseUrl(t);this.scheduleNavigation(u,r,o,a)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(t){this.config=t.map(Mn),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(t,r={}){let{relativeTo:s,queryParams:a,fragment:o,queryParamsHandling:u,preserveFragment:l}=r,c=l?this.currentUrlTree.fragment:o,h=null;switch(u){case"merge":h=d(d({},this.currentUrlTree.queryParams),a);break;case"preserve":h=this.currentUrlTree.queryParams;break;default:h=a||null}h!==null&&(h=this.removeEmptyProps(h));let m;try{let b=s?s.snapshot:this.routerState.snapshot.root;m=Or(b)}catch{(typeof t[0]!="string"||!t[0].startsWith("/"))&&(t=[]),m=this.currentUrlTree.root}return Pr(m,t,h,c??null)}navigateByUrl(t,r={skipLocationChange:!1}){let s=le(t)?t:this.parseUrl(t),a=this.urlHandlingStrategy.merge(s,this.rawUrlTree);return this.scheduleNavigation(a,Ee,null,r)}navigate(t,r={skipLocationChange:!1}){return ha(t),this.navigateByUrl(this.createUrlTree(t,r),r)}serializeUrl(t){return this.urlSerializer.serialize(t)}parseUrl(t){try{return this.urlSerializer.parse(t)}catch{return this.urlSerializer.parse("/")}}isActive(t,r){let s;if(r===!0?s=d({},ca):r===!1?s=d({},da):s=r,le(t))return mr(this.currentUrlTree,t,s);let a=this.parseUrl(t);return mr(this.currentUrlTree,a,s)}removeEmptyProps(t){return Object.keys(t).reduce((r,s)=>{let a=t[s];return a!=null&&(r[s]=a),r},{})}scheduleNavigation(t,r,s,a,o){if(this.disposed)return Promise.resolve(!1);let u,l,c;o?(u=o.resolve,l=o.reject,c=o.promise):c=new Promise((m,b)=>{u=m,l=b});let h=this.pendingTasks.add();return la(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(h))}),this.navigationTransitions.handleNavigationRequest({source:r,restoredState:s,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:t,extras:a,resolve:u,reject:l,promise:c,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),c.catch(m=>Promise.reject(m))}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})();function ha(n){for(let e=0;ei.\u0275providers)])}function ga(n){return n.routerState.root}function ma(){let n=f(Rt);return e=>{let i=n.get(Ot);if(e!==i.components[0])return;let t=n.get(ht),r=n.get(va);n.get(ya)===1&&t.initialNavigation(),n.get(wa,null,Ct.Optional)?.setUpPreloading(),n.get(fa,null,Ct.Optional)?.init(),t.resetRootComponentType(i.componentTypes[0]),r.closed||(r.next(),r.complete(),r.unsubscribe())}}var va=new E("",{factory:()=>new q}),ya=new E("",{providedIn:"root",factory:()=>1});var wa=new E("");var Qr=["easy","medium","hard"];function B(n){return new Map([...n.entries()].sort((e,i)=>{let t=Qr.indexOf(e[1].difficulty),r=Qr.indexOf(i[1].difficulty);return t-r}))}var Ca=new Map([["counter",{title:"Counter",link:"counter/",difficulty:"easy",developer:"sadanandpai",youtube:"https://youtu.be/9OIeUtXX3SA",tags:[]}],["bmi-calculator",{title:"BMI Calculator",link:"bmi-calculator/",difficulty:"easy",developer:"itsayopapi",tags:[]}],["dice-game",{title:"Dice Game",link:"dice-game/",difficulty:"easy",developer:"shivam200446",tags:[],isNew:!0}],["roll-dice",{title:"Roll dice",link:"roll-dice/",difficulty:"easy",developer:"babandakale",tags:[]}],["guess-the-number",{title:"Guess the number",link:"guess-the-number/",difficulty:"easy",developer:"sadanandpai",youtube:"https://youtu.be/L1Da3GWEGpY",tags:[]}],["string-transformers",{title:"String transformers",link:"string-transformers/",difficulty:"easy",developer:"sadanandpai",youtube:"https://youtu.be/crCZEJ6Lmgc",tags:[]}],["file-uploader",{title:"File Uploader",link:"file-uploader/",difficulty:"easy",developer:"avtech",tags:[],isNew:!0}],["telephone-formatter",{title:"Telephone formatter",link:"telephone-formatter/",difficulty:"easy",developer:"sadanandpai",youtube:"https://youtu.be/E85ldVqAGjw",tags:[]}],["dialog-popup",{title:"Dialog Popup",link:"dialog-popup/",difficulty:"easy",developer:"sahankatta",youtube:"https://youtu.be/aIzyEDi6zgU",tags:[]}],["light-dark-mode",{title:"Light & Dark mode",link:"light-dark-mode/",difficulty:"easy",developer:"sadanandpai",youtube:"https://youtu.be/hxcGGhjYNFE",tags:[]}],["skeleton-loader",{title:"Skeleton Loader",link:"skeleton-loader/",difficulty:"easy",developer:"sahankatta",youtube:"https://youtu.be/FEtTRjq1P6I",tags:[]}],["spinning-loader",{title:"Spinning Loader",link:"spinning-loader/",difficulty:"easy",developer:"DhanushNehru",tags:[]}],["music-kit",{title:"Music Kit",link:"music-kit/",difficulty:"easy",developer:"shivam200446",tags:[]}],["currency-converter",{title:"Currency Converter",link:"currency-converter/",difficulty:"easy",developer:"pranav514",tags:[],isNew:!0}],["accordion",{title:"Accordion",link:"accordion/",difficulty:"easy",developer:"rashidtvmr",youtube:"https://youtu.be/03KFXudVaoo",tags:[]}],["navigation-bar",{title:"Navigation Bar",link:"navigation-bar/",difficulty:"easy",developer:"christian-lee1398",youtube:"https://youtu.be/urA5ogzG0L0",tags:[]}],["Footer",{title:"Footer",link:"Footer/",difficulty:"easy",developer:"AbhineshJha",youtube:"https://youtu.be/FRRlFLfdvBE?si=HWn88BwJGTJvEBUD",tags:[],isNew:!0}],["rock-paper-scissor",{title:"Rock Paper Scissor",link:"rock-paper-scissor/",difficulty:"easy",developer:"AckermanLevi1",tags:[],isNew:!0}],["MadStory_generator",{title:"MadStory Generator",link:"MadStory_generator/",difficulty:"easy",developer:"hritik",tags:[]}],["multi-typing",{title:"Multi Typing",link:"multi-typing/",difficulty:"easy",developer:"noorulaink00",youtube:"https://youtu.be/YCDeOT7DRnI",tags:[]}],["bill-spilt",{title:"Bill Split",link:"bill-spilt/",difficulty:"easy",developer:"Sukomal07",youtube:"https://youtu.be/4H2DyrSJeYc",tags:[]}],["simon-game",{title:"Simon game",link:"simon-game/",difficulty:"easy",developer:"VishakhaSainani",tags:[],isNew:!0}],["blobmaker",{title:"Blob Maker",link:"blobmaker/",difficulty:"easy",developer:"AbhineshJha",tags:[]}],["fitness-tracker",{title:"Fitness Tracker",link:"fitness-tracker/",difficulty:"easy",developer:"CrypticRevenger",tags:[]}],["atm-simulator",{title:"ATM Simulator",link:"atm-simulator/",difficulty:"easy",developer:"Bratajit-03",tags:[],isNew:!0}],["finance-tracker",{title:"Finance Tracker",link:"finance-tracker/",difficulty:"medium",developer:"sujitmahapatra",tags:[]}],["meme-generator",{title:"Meme Generator",link:"meme-generator/",difficulty:"medium",developer:"noorulaink00",youtube:"https://youtu.be/LHo9Hi47MTo",tags:[]}],["weather-app",{title:"Weather App",link:"weather-app/",difficulty:"medium",developer:"shruti-sen2004",tags:[],isNew:!0}],["toast-popup",{title:"Toast Popup",link:"toast-popup/",difficulty:"medium",developer:"sadanandpai",youtube:"https://youtu.be/-p3N5bJXEK8",tags:[]}],["css-shapes",{title:"CSS Shapes",link:"css-shapes/",difficulty:"medium",developer:"sadanandpai",tags:[]}],["column-table",{title:"Column Table",link:"column-table/",difficulty:"medium",developer:"sadanandpai",tags:[]}],["password-strength",{title:"Password Strength",link:"password-strength/",difficulty:"medium",developer:"sadanandpai",tags:[]}],["star-rating",{title:"Star Rating",link:"star-rating/",difficulty:"medium",developer:"sadanandpai",tags:[]}],["star-rating-display",{title:"Star Rating Display",link:"star-rating-display/",difficulty:"medium",developer:"sadanandpai",tags:[]}],["pixel-art",{title:"Pixel Art",link:"pixel-art/",difficulty:"medium",developer:"sadanandpai",tags:[]}],["word-counter",{title:"Word Counter (online)",link:"word-counter/",difficulty:"medium",developer:"AckermanLevi1",tags:[]}],["color-spotter",{title:"Color Spotter",link:"color-spotter/",difficulty:"medium",developer:"sadanandpai",tags:[]}],["todo-list",{title:"Todo List",link:"todo-list/",difficulty:"medium",developer:"sadanandpai",tags:[]}],["gradient-generator",{title:"Gradient Generator",link:"gradient-generator/",difficulty:"medium",developer:"Sukomal07",tags:[],isNew:!0}],["transfer-list",{title:"Transfer List",link:"transfer-list/",difficulty:"medium",developer:"sadanandpai",tags:[]}],["lift-simulation",{title:"Lift Simulation",link:"lift-simulation/",difficulty:"medium",developer:"gauravsinhaweb",tags:[],isNew:!0}],["tic-tac-toe",{title:"Tic-Tac-Toe",link:"tic-tac-toe/",difficulty:"medium",developer:"sadanandpai",tags:[]}],["chess-board",{title:"Chess board",link:"chess-board/",difficulty:"medium",developer:"sadanandpai",tags:[]}],["chips-input",{title:"Chips Input",link:"chips-input/",difficulty:"medium",developer:"sadanandpai",tags:[]}],["infinite-scroll",{title:"Infinite Scroll",link:"infinite-scroll/",difficulty:"medium",developer:"srijanB7",tags:[]}],["password-generator",{title:"Password Generator",link:"password-generator/",difficulty:"medium",developer:"sadanandpai",tags:[]}],["analog-clock",{title:"Analog Clock",link:"analog-clock/",difficulty:"medium",developer:"sadanandpai",tags:[]}],["drag-and-drop-puzzle",{title:"Drag and Drop Puzzle",link:"drag-and-drop-puzzle/",difficulty:"medium",developer:"noorulaink00",tags:[],isNew:!0}],["basic-calculator",{title:"Basic calculator",link:"basic-calculator/",difficulty:"medium",developer:"sadanandpai",tags:[]}],["match-pair",{title:"Match Pair",link:"match-pair/",difficulty:"medium",developer:"sadanandpai",tags:[]}],["typing-speed-test",{title:"Typing Speed Test",link:"typing-speed-test/",difficulty:"medium",developer:"sadanandpai",tags:[]}],["count-down-timer",{title:"Countdown Timer",link:"count-down-timer/",difficulty:"medium",developer:"sadanandpai",tags:[]}],["otp-input",{title:"OTP Input",link:"otp-input/",difficulty:"medium",developer:"sadanandpai",tags:[]}],["quiz-app",{title:"Quiz App",link:"quiz-app/",difficulty:"medium",developer:"Kei-K23",tags:[],isNew:!0}],["sorting-visualizer",{title:"Sorting Visualizer",link:"sorting-visualizer/",difficulty:"medium",developer:"viditagrawal56",tags:[],isNew:!0}],["snake-game",{title:"Snake Game",link:"snake-game/",difficulty:"medium",developer:"Kei-K23",tags:[]}],["hangman-game",{title:"Hangman Game",link:"hangman-game/",difficulty:"medium",developer:"Kei-K23",tags:[],isNew:!0}],["area-selector",{title:"Area Selector",link:"area-selector/",difficulty:"medium",developer:"sadanandpai",tags:[]}],["25-5-clock",{title:"25-5 Clock",link:"25-5-clock/",difficulty:"medium",developer:"caesar003",tags:[]}],["carousel",{title:"Carousel",link:"carousel/",difficulty:"medium",developer:"sadanandpai",tags:[]}],["calendar",{title:"Calendar",link:"calendar/",difficulty:"medium",developer:"sadanandpai",tags:[]}],["progress-bar",{title:"Progress Bar",link:"progress-bar/",difficulty:"medium",developer:"sadanandpai",tags:[]}],["movie-info",{title:"Movie-info app (online)",link:"movie-info/",difficulty:"medium",developer:"AckermanLevi1",tags:[]}],["quiz-app-with-timer",{title:"Quiz App with Timer",link:"quiz-app-with-timer/",difficulty:"medium",developer:"Vivek-GuptaXCode",tags:[]}],["paginator",{title:"Paginator",link:"paginator/",difficulty:"hard",developer:"sadanandpai",tags:[]}],["connect-four",{title:"Connect Four",link:"connect-four/",difficulty:"hard",developer:"sadanandpai",tags:[]}],["comment-box",{title:"Comment box",link:"comment-box/",difficulty:"hard",developer:"sadanandpai",tags:[]}],["json-creator",{title:"JSON Creator",link:"json-creator/",difficulty:"hard",developer:"sadanandpai",tags:[]}],["array-methods",{title:"Array methods",link:"array-methods/",difficulty:"hard",developer:"sadanandpai",tags:[]}],["type-ahead",{title:"Typeahead / Autocomplete (offline)",link:"type-ahead/",difficulty:"hard",developer:"sadanandpai",tags:[]}],["type-ahead-online",{title:"Typeahead / Autocomplete (online)",link:"type-ahead-online/",difficulty:"hard",developer:"sadanandpai",tags:[]}]]),ba=B(Ca);var Sa=new Map([["counter",{title:"Counter",link:"counter",difficulty:"easy",developer:"sadanandpai",tags:[]}],["programming-languages-multiverse",{title:"Programming Multiverse",link:"programming-languages-multiverse",difficulty:"easy",developer:"Sumitwarrior7",tags:[]}],["anagram-checker",{title:"Anagram Checker",link:"anagram-checker",difficulty:"easy",developer:"Manmit Tiwade",tags:[]}],["quote-generator",{title:"Quote Generator",link:"quote-generator",difficulty:"easy",developer:"viditagrawal56",tags:[]}],["image-gallery",{title:"Image Gallery",link:"image-gallery",difficulty:"easy",developer:"Bhushan1019",tags:[]}],["accordion",{title:"Accordion",link:"accordion",developer:"NikhilJHA01",difficulty:"easy",tags:[]}],["background-changer",{title:"Background Changer",link:"background-changer",developer:"AdityaSuryawanshi",difficulty:"easy",tags:[]}],["light-dark-mode",{title:"Light Dark Mode",link:"light-dark-mode",difficulty:"easy",developer:"NikhilJHA01",tags:[]}],["qr-code-generator",{title:"QR generator",link:"qr-code-generator",difficulty:"easy",developer:"Krishnakalani111",tags:[]}],["your-sport",{title:"Your Sport",link:"your-sport",difficulty:"easy",developer:"Sumitwarrior7",tags:[]}],["table-colorizer",{title:"Table Colorizer",link:"table-colorizer",difficulty:"easy",developer:"ravi02205",tags:[]}],["Guess-the-number",{title:"Guess the number",link:"Guess-the-number",difficulty:"easy",developer:"deepakrajkranti",tags:[]}],["pagination",{title:"Pagination",link:"pagination",difficulty:"easy",developer:"Pancratzia",tags:[]}],["stack",{title:"Stack",link:"stack",difficulty:"easy",developer:"kumaratul60",tags:[]}],["word-count",{title:"Word Count",link:"word-count",difficulty:"easy",developer:"Sumitwarrior7",tags:[]}],["temperature-converter",{title:"Temperature Converter",link:"temperature-converter",difficulty:"easy",developer:"Sumitwarrior7",tags:[]}],["star-Rating",{title:"Star Rating",link:"star-Rating",difficulty:"easy",developer:"NikhilJHA01",tags:[]}],["telephone-formatter",{title:"Telephone formatter",link:"telephone-formatter",difficulty:"easy",developer:"arpansaha13",tags:[]}],["string-transformers",{title:"String transformers",link:"string-transformers",difficulty:"easy",developer:"arpansaha13",tags:[]}],["tic-tac-toe",{title:"Tic Tac Toe",link:"tic-tac-toe",difficulty:"easy",developer:"rashidtvmr",tags:[]}],["expense-tracker",{title:"Expense Tracker",link:"expense-tracker",difficulty:"easy",developer:"harsh472000",tags:[]}],["25-5-clock",{title:"25-5 Clock",link:"25-5-clock",difficulty:"easy",developer:"caesar003",tags:[]}],["bmi-calculator",{title:"BMI Calculator",link:"bmi-calculator",difficulty:"easy",developer:"ashikjhonson",tags:[]}],["stepper",{title:"STEPPER",link:"stepper",difficulty:"easy",developer:"codechitra",tags:[],isNew:!0}],["calculator",{title:"Calculator",link:"calculator",difficulty:"medium",developer:"liza",tags:[]}],["color-mixer",{title:"Color Mixer",link:"color-mixer",difficulty:"medium",developer:"Sumitwarrior7",tags:[]}],["traffic-lights",{title:"Traffic Lights",link:"traffic-lights",difficulty:"medium",developer:"rishabhm05",tags:[]}],["email-templates",{title:"Email Templates",link:"email-templates",difficulty:"medium",developer:"sadanandpai",tags:[]}],["toast-popup",{title:"Toast Popup",link:"toast-popup",difficulty:"medium",developer:"deepu0",tags:[]}],["modal-popup",{title:"Modal Popup",link:"modal-popup",difficulty:"medium",developer:"rishabhm05",tags:[]}],["password-strength",{title:"Password Strength",link:"password-strength",difficulty:"medium",developer:"deepu0",tags:[]}],["timeline",{title:"Timeline",link:"timeline",difficulty:"medium",developer:"Vivek7038",tags:[],isNew:!0}],["column-table",{title:"Column Table",link:"column-table",difficulty:"medium",developer:"sadanandpai",tags:[]}],["todo-list",{title:"Todo List",link:"todo-list",difficulty:"medium",developer:"deepakrajkranti",tags:[]}],["emoji-picker",{title:"Emoji Picker",link:"emoji-picker",difficulty:"medium",developer:"jeevaramanathan",tags:[]}],["investment-calculator",{title:"Investment Calculator",link:"investment-calculator",difficulty:"medium",developer:"insharahAyyubi",tags:[]}],["stopwatch",{title:"Stopwatch",link:"stopwatch",difficulty:"medium",developer:"rashidtvmr",tags:[]}],["progressbar",{title:"Progressbar",link:"progressbar",difficulty:"medium",developer:"dhanu084",tags:[]}],["quiz-app",{title:"Quiz App",link:"quiz-app",difficulty:"medium",developer:"AbhilashMadi",tags:[]}],["chess-board",{title:"Chess Board",link:"chess-board",difficulty:"medium",developer:"AbhilashMadi",tags:[]}],["nested-dropdown",{title:"Nested Dropdown",link:"nested-dropdown",difficulty:"medium",developer:"AnkitKTrivedi",tags:[]}],["food-recipe",{title:"Food Recipe",link:"food-recipe",difficulty:"medium",developer:"Kei-K23",tags:[]}],["password-generator",{title:"Password Generator",link:"password-generator",difficulty:"medium",developer:"Kei-K23",tags:[]}],["transfer-list",{title:"Transfer List",link:"transfer-list",difficulty:"medium",developer:"DeePaK-HeeRaKaRi",tags:[]}],["infinite-scrolling",{title:"Infinite Scrolling (online)",link:"infinite-scrolling",difficulty:"medium",developer:"ayush-dutt-sharma",tags:[]}],["match-pair",{title:"Match Pair",link:"match-pair",difficulty:"medium",developer:"sadanandpai",tags:[]}],["word-connect",{title:"Word Connect",link:"word-connect",difficulty:"medium",developer:"sadanandpai",tags:[],isNew:!0}],["otp",{title:"OTP",link:"otp",difficulty:"medium",developer:"rishabhm05",tags:[]}],["file-explorer",{title:"File Explorer",link:"file-explorer",difficulty:"hard",developer:"sadanandpai",tags:[]}],["autocomplete-offline",{title:"Typeahead / Autocomplete (offline)",link:"autocomplete-offline",difficulty:"hard",developer:"deepu0",tags:[]}],["autocomplete-online",{title:"Typeahead / Autocomplete (online)",link:"autocomplete-online",difficulty:"hard",developer:"deepu0",tags:[]}],["water-balancer",{title:"Water Balancer",link:"water-balancer",difficulty:"hard",developer:"sadanandpai",tags:[],isNew:!0}],["inline-options",{title:"Inline Options",link:"inline-options",difficulty:"easy",developer:"takshch",tags:[]}],["digital-clock",{title:"Digital Clock",link:"digital-clock",difficulty:"medium",developer:"Syamsai-Polavarapu",tags:[],isNew:!0}],["nested-comments",{title:"Nested Comments",link:"nested-comments",difficulty:"medium",developer:"Akshay-Omkar",tags:[],isNew:!0}],["15puzzle",{title:"15 Puzzle",link:"15puzzle",difficulty:"medium",developer:"Bateusz",tags:[],isNew:!0}],["feedback-modal",{title:"Feedback Modal",link:"feedback-modal",difficulty:"medium",developer:"ssudipta",tags:[]}],["memory-game",{title:"Memory Game",link:"memory-game",difficulty:"medium",developer:"Akshat-Gupta",tags:[],isNew:!0}],["chip-input",{title:"Chips Input",link:"chip-input",difficulty:"medium",developer:"Akshay-Omkar",tags:[],isNew:!0}],["tabs",{title:"Tab",link:"tabs",difficulty:"easy",developer:"Akshay-Omkar",tags:[],isNew:!0}],["drag-drop",{title:"Drag-Drop",link:"drag-drop",difficulty:"medium",developer:"Akshay-Omkar",tags:[],isNew:!0}],["circles",{title:"Circles",link:"circles",difficulty:"medium",developer:"sadanandpai",tags:[],isNew:!0}],["analog-clock",{title:"Analog Clock",link:"analog-clock",difficulty:"medium",developer:"sadanandpai",tags:[],isNew:!0}]]),Ra=B(Sa);var ka=new Map([["counter",{title:"Counter",link:"/counter",difficulty:"easy",developer:"arpansaha13",tags:[]}],["accordion",{title:"Accordion",link:"/accordion",difficulty:"easy",developer:"arpansaha13",tags:[]}],["light-dark-mode",{title:"Light Dark Mode",link:"/light-dark-mode",difficulty:"easy",developer:"arpansaha13",tags:[]}],["table-colorizer",{title:"Table Colorizer",link:"/table-colorizer",difficulty:"easy",developer:"arpansaha13",tags:[]}],["guess-the-number",{title:"Guess the number",link:"/guess-the-number",difficulty:"easy",developer:"arpansaha13",tags:[]}],["pagination",{title:"Pagination",link:"/pagination",difficulty:"easy",developer:"arpansaha13",tags:[]}],["stack",{title:"Stack",link:"/stack",difficulty:"easy",developer:"jaydadhaniya",tags:[]}],["telephone-formatter",{title:"Telephone formatter",link:"/telephone-formatter",difficulty:"easy",developer:"arpansaha13",tags:[]}],["temprature-converter",{title:"Temprature Converter",link:"/temprature-converter",difficulty:"easy",developer:"bhumikkalola",tags:[]}],["tic-tac-toe",{title:"Tic Tac Toe",link:"/tic-tac-toe",difficulty:"medium",developer:"sadanandpai",tags:[]}],["toast-popup",{title:"Toast Popup",link:"/toast-popup",difficulty:"medium",developer:"arpansaha13",tags:[]}],["password-strength",{title:"Password Strength",link:"/password-strength",difficulty:"medium",developer:"jaydadhaniya",tags:[]}],["password-generator",{title:"Password Generator",link:"/password-generator",difficulty:"medium",developer:"bhumikkalola",tags:[]}],["stopwatch",{title:"Stopwatch",link:"/stopwatch",difficulty:"medium",developer:"Shardik04",tags:[]}]]),Ta=B(ka);var Ma=new Map([["counter",{title:"Counter",link:"counter",difficulty:"easy",developer:"sadanandpai",tags:[],isNew:!0}],["guess-number",{title:"Guess Number",link:"guess-number",difficulty:"easy",developer:"pankajparkar",tags:[],isNew:!0}],["todo-list",{title:"Todo list",link:"todo-list",difficulty:"easy",developer:"pankajparkar",tags:[],isNew:!0}],["stack",{title:"Stack",link:"stack",difficulty:"easy",developer:"pankajparkar",tags:[],isNew:!0}],["tic-tac-toe",{title:"Tic tac toe",link:"tic-tac-toe",difficulty:"easy",developer:"pankajparkar",tags:[],isNew:!0}],["word-count",{title:"Word Count",link:"word-count",difficulty:"easy",developer:"pankajparkar",tags:[],isNew:!0}]]),On=B(Ma);var Yr=(()=>{let e=class e{constructor(){this.title="Challenge",this.homeURL=Pt()?"http://localhost:6010/frontend-mini-challenges/":"/frontend-mini-challenges/",this.backURL=Pt()?"http://localhost:6010/frontend-mini-challenges/#/angular/":"/frontend-mini-challenges/#/angular/"}};e.\u0275fac=function(r){return new(r||e)},e.\u0275cmp=$({type:e,selectors:[["app-navbar"]],inputs:{title:"title"},standalone:!0,features:[_],decls:11,vars:3,consts:[[1,"navbar"],[1,"left"],[1,"back",3,"href"],[1,"logo",3,"href"],["src","https://github.com/sadanandpai/frontend-mini-challenges/raw/main/shared/assets/core/logo.png","alt","logo"],[1,"right"],["href","https://github.com/sadanandpai/frontend-mini-challenges/","target","blank"],["src","https://cdn-icons-png.flaticon.com/512/25/25231.png","alt","github repo",1,"github"]],template:function(r,s){r&1&&(W(0,"nav",0)(1,"div",1)(2,"a",2),Dt(3," < "),Z(),W(4,"a",3),x(5,"img",4),Z()(),W(6,"h1"),Dt(7),Z(),W(8,"div",5)(9,"a",6),x(10,"img",7),Z()()()),r&2&&(Ve(2),Ce("href",s.backURL,Mt),Ve(2),Ce("href",s.homeURL,Mt),Ve(3),Yn(s.title))},styles:[".navbar[_ngcontent-%COMP%]{display:flex;gap:2rem;align-items:center;justify-content:space-between;padding:1rem;margin-bottom:1rem;background:linear-gradient(180deg,lavenderblush 0%,white 100%);box-shadow:0 4px 4px #0000001a}.navbar[_ngcontent-%COMP%] .left[_ngcontent-%COMP%]{display:flex;flex:1;gap:.5rem;align-items:center}.navbar[_ngcontent-%COMP%] .left[_ngcontent-%COMP%] .back[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;width:2rem;color:#000;transform:scaleY(2)}.navbar[_ngcontent-%COMP%] .left[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%]{display:flex;flex-grow:1;gap:.5rem;align-items:center}.navbar[_ngcontent-%COMP%] .left[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:40px;height:40px}.navbar[_ngcontent-%COMP%] .left[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:1.2rem;font-weight:500;color:#000}.navbar[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{margin:0}.navbar[_ngcontent-%COMP%] .right[_ngcontent-%COMP%]{flex:1;text-align:right}.navbar[_ngcontent-%COMP%] .right[_ngcontent-%COMP%] .github[_ngcontent-%COMP%]{width:30px;height:30px;vertical-align:text-bottom}"]});let n=e;return n})();var Jr=(()=>{let e=class e{constructor(){this.title="Challenge",this.router=f(ht)}ngOnInit(){let t=this.router.url.split("/").at(-1);if(!t)return;let r=On.get(t);r&&(this.title=r.title)}};e.\u0275fac=function(r){return new(r||e)},e.\u0275cmp=$({type:e,selectors:[["app-challenge-container"]],standalone:!0,features:[_],decls:3,vars:1,consts:[[3,"title"],[1,"container"]],template:function(r,s){r&1&&(x(0,"app-navbar",0),W(1,"div",1),x(2,"router-outlet"),Z()),r&2&&Ce("title",s.title)},dependencies:[Yr,_e],encapsulation:2});let n=e;return n})();var Xr=[{path:"",component:Jr,children:[{path:"counter",loadComponent:()=>import("./chunk-P6JRW256.js").then(n=>n.CounterComponent),data:{title:"counter"}},{path:"guess-number",loadComponent:()=>import("./chunk-2GACWZDO.js").then(n=>n.GuessNumberComponent),data:{title:"Guess number"}},{path:"stack",loadComponent:()=>import("./chunk-6UZ3QE7S.js").then(n=>n.StackComponent),data:{title:"Stack"}},{path:"tic-tac-toe",loadComponent:()=>import("./chunk-RYO7AHJW.js").then(n=>n.TicTacToeComponent),data:{title:"Tic tac toe"}},{path:"todo-list",loadComponent:()=>import("./chunk-QSPVKJQN.js").then(n=>n.TodoAppComponent),data:{title:"Todo list"}},{path:"word-count",loadComponent:()=>import("./chunk-4P7VNLHJ.js").then(n=>n.WordCountComponent),data:{title:"Word count"}}]}];var ei={providers:[Zr(Xr),{provide:Nt,useClass:jt}]};var ti=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275cmp=$({type:e,selectors:[["app-root"]],standalone:!0,features:[_],decls:1,vars:0,template:function(r,s){r&1&&x(0,"router-outlet")},dependencies:[_e]});let n=e;return n})();gr(ti,ei).catch(n=>console.error(n)); +import{$ as qn,$a as ir,A as He,Aa as Z,B as $,Ba as x,C as wt,D as $n,E as _n,F as zn,Fa as Qn,G as P,H as Fn,I as R,Ia as Dt,Ja as Yn,K as S,L as w,Ma as Jn,N as Hn,Na as Xn,O as Ct,Oa as z,P as E,Q as C,R as f,Ra as qe,S as me,Sa as er,T as _,Ta as It,Ua as tr,V as Bn,Va as Ot,W as Vn,Wa as Pt,Xa as nr,Z as bt,Za as xt,_ as St,_a as rr,a as d,aa as Be,ab as O,b as k,ba as G,bb as Nt,c as Pn,ca as Rt,cb as jt,d as xn,da as Kn,db as Ke,e as ft,ea as kt,eb as sr,f as gt,fa as Gn,g as q,ga as ve,h as M,ha as Tt,i as K,ia as ye,j as I,ja as Mt,jb as ar,k as p,kb as Ut,l as fe,la as Wn,lb as or,m as Nn,n as jn,na as At,o as y,oa as Ve,p as mt,q as A,qa as Et,r as Un,ra as we,s as vt,sa as L,u as ee,v as te,va as Ce,w as ge,x as yt,xa as Zn,y as ne,z as Ln,za as W}from"./chunk-LTBXVXDY.js";var _t=class extends ir{constructor(){super(...arguments),this.supportsDOMEvents=!0}},zt=class n extends _t{static makeCurrent(){rr(new n)}onAndCancel(e,i,t){return e.addEventListener(i,t),()=>{e.removeEventListener(i,t)}}dispatchEvent(e,i){e.dispatchEvent(i)}remove(e){e.parentNode&&e.parentNode.removeChild(e)}createElement(e,i){return i=i||this.getDefaultDocument(),i.createElement(e)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}isShadowRoot(e){return e instanceof DocumentFragment}getGlobalEventTarget(e,i){return i==="window"?window:i==="document"?e:i==="body"?e.body:null}getBaseHref(e){let i=li();return i==null?null:ui(i)}resetBaseElement(){be=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return sr(document.cookie,e)}},be=null;function li(){return be=be||document.querySelector("base"),be?be.getAttribute("href"):null}function ui(n){return new URL(n,document.baseURI).pathname}var ci=(()=>{let e=class e{build(){return new XMLHttpRequest}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=w({token:e,factory:e.\u0275fac});let n=e;return n})(),Ft=new E("EventManagerPlugins"),dr=(()=>{let e=class e{constructor(t,r){this._zone=r,this._eventNameToPlugin=new Map,t.forEach(s=>{s.manager=this}),this._plugins=t.slice().reverse()}addEventListener(t,r,s){return this._findPluginFor(r).addEventListener(t,r,s)}getZone(){return this._zone}_findPluginFor(t){let r=this._eventNameToPlugin.get(t);if(r)return r;if(r=this._plugins.find(a=>a.supports(t)),!r)throw new S(5101,!1);return this._eventNameToPlugin.set(t,r),r}};e.\u0275fac=function(r){return new(r||e)(C(Ft),C(L))},e.\u0275prov=w({token:e,factory:e.\u0275fac});let n=e;return n})(),Ge=class{constructor(e){this._doc=e}},Lt="ng-app-id",hr=(()=>{let e=class e{constructor(t,r,s,a={}){this.doc=t,this.appId=r,this.nonce=s,this.platformId=a,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=Ut(a),this.resetHostNodes()}addStyles(t){for(let r of t)this.changeUsageCount(r,1)===1&&this.onStyleAdded(r)}removeStyles(t){for(let r of t)this.changeUsageCount(r,-1)<=0&&this.onStyleRemoved(r)}ngOnDestroy(){let t=this.styleNodesInDOM;t&&(t.forEach(r=>r.remove()),t.clear());for(let r of this.getAllStyles())this.onStyleRemoved(r);this.resetHostNodes()}addHost(t){this.hostNodes.add(t);for(let r of this.getAllStyles())this.addStyleToHost(t,r)}removeHost(t){this.hostNodes.delete(t)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(t){for(let r of this.hostNodes)this.addStyleToHost(r,t)}onStyleRemoved(t){let r=this.styleRef;r.get(t)?.elements?.forEach(s=>s.remove()),r.delete(t)}collectServerRenderedStyles(){let t=this.doc.head?.querySelectorAll(`style[${Lt}="${this.appId}"]`);if(t?.length){let r=new Map;return t.forEach(s=>{s.textContent!=null&&r.set(s.textContent,s)}),r}return null}changeUsageCount(t,r){let s=this.styleRef;if(s.has(t)){let a=s.get(t);return a.usage+=r,a.usage}return s.set(t,{usage:r,elements:[]}),r}getStyleElement(t,r){let s=this.styleNodesInDOM,a=s?.get(r);if(a?.parentNode===t)return s.delete(r),a.removeAttribute(Lt),a;{let o=this.doc.createElement("style");return this.nonce&&o.setAttribute("nonce",this.nonce),o.textContent=r,this.platformIsServer&&o.setAttribute(Lt,this.appId),t.appendChild(o),o}}addStyleToHost(t,r){let s=this.getStyleElement(t,r),a=this.styleRef,o=a.get(r)?.elements;o?o.push(s):a.set(r,{elements:[s],usage:1})}resetHostNodes(){let t=this.hostNodes;t.clear(),t.add(this.doc.head)}};e.\u0275fac=function(r){return new(r||e)(C(O),C(kt),C(Tt,8),C(ve))},e.\u0275prov=w({token:e,factory:e.\u0275fac});let n=e;return n})(),$t={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},Bt=/%COMP%/g,pr="%COMP%",di=`_nghost-${pr}`,hi=`_ngcontent-${pr}`,pi=!0,fi=new E("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>pi});function gi(n){return hi.replace(Bt,n)}function mi(n){return di.replace(Bt,n)}function fr(n,e){return e.map(i=>i.replace(Bt,n))}var lr=(()=>{let e=class e{constructor(t,r,s,a,o,u,l,c=null){this.eventManager=t,this.sharedStylesHost=r,this.appId=s,this.removeStylesOnCompDestroy=a,this.doc=o,this.platformId=u,this.ngZone=l,this.nonce=c,this.rendererByCompId=new Map,this.platformIsServer=Ut(u),this.defaultRenderer=new Se(t,o,l,this.platformIsServer)}createRenderer(t,r){if(!t||!r)return this.defaultRenderer;this.platformIsServer&&r.encapsulation===me.ShadowDom&&(r=k(d({},r),{encapsulation:me.Emulated}));let s=this.getOrCreateRenderer(t,r);return s instanceof We?s.applyToHost(t):s instanceof Re&&s.applyStyles(),s}getOrCreateRenderer(t,r){let s=this.rendererByCompId,a=s.get(r.id);if(!a){let o=this.doc,u=this.ngZone,l=this.eventManager,c=this.sharedStylesHost,h=this.removeStylesOnCompDestroy,m=this.platformIsServer;switch(r.encapsulation){case me.Emulated:a=new We(l,c,r,this.appId,h,o,u,m);break;case me.ShadowDom:return new Ht(l,c,t,r,o,u,this.nonce,m);default:a=new Re(l,c,r,h,o,u,m);break}s.set(r.id,a)}return a}ngOnDestroy(){this.rendererByCompId.clear()}};e.\u0275fac=function(r){return new(r||e)(C(dr),C(hr),C(kt),C(fi),C(O),C(ve),C(L),C(Tt))},e.\u0275prov=w({token:e,factory:e.\u0275fac});let n=e;return n})(),Se=class{constructor(e,i,t,r){this.eventManager=e,this.doc=i,this.ngZone=t,this.platformIsServer=r,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(e,i){return i?this.doc.createElementNS($t[i]||i,e):this.doc.createElement(e)}createComment(e){return this.doc.createComment(e)}createText(e){return this.doc.createTextNode(e)}appendChild(e,i){(ur(e)?e.content:e).appendChild(i)}insertBefore(e,i,t){e&&(ur(e)?e.content:e).insertBefore(i,t)}removeChild(e,i){e&&e.removeChild(i)}selectRootElement(e,i){let t=typeof e=="string"?this.doc.querySelector(e):e;if(!t)throw new S(-5104,!1);return i||(t.textContent=""),t}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,i,t,r){if(r){i=r+":"+i;let s=$t[r];s?e.setAttributeNS(s,i,t):e.setAttribute(i,t)}else e.setAttribute(i,t)}removeAttribute(e,i,t){if(t){let r=$t[t];r?e.removeAttributeNS(r,i):e.removeAttribute(`${t}:${i}`)}else e.removeAttribute(i)}addClass(e,i){e.classList.add(i)}removeClass(e,i){e.classList.remove(i)}setStyle(e,i,t,r){r&(ye.DashCase|ye.Important)?e.style.setProperty(i,t,r&ye.Important?"important":""):e.style[i]=t}removeStyle(e,i,t){t&ye.DashCase?e.style.removeProperty(i):e.style[i]=""}setProperty(e,i,t){e!=null&&(e[i]=t)}setValue(e,i){e.nodeValue=i}listen(e,i,t){if(typeof e=="string"&&(e=xt().getGlobalEventTarget(this.doc,e),!e))throw new Error(`Unsupported event target ${e} for event ${i}`);return this.eventManager.addEventListener(e,i,this.decoratePreventDefault(t))}decoratePreventDefault(e){return i=>{if(i==="__ngUnwrap__")return e;(this.platformIsServer?this.ngZone.runGuarded(()=>e(i)):e(i))===!1&&i.preventDefault()}}};function ur(n){return n.tagName==="TEMPLATE"&&n.content!==void 0}var Ht=class extends Se{constructor(e,i,t,r,s,a,o,u){super(e,s,a,u),this.sharedStylesHost=i,this.hostEl=t,this.shadowRoot=t.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let l=fr(r.id,r.styles);for(let c of l){let h=document.createElement("style");o&&h.setAttribute("nonce",o),h.textContent=c,this.shadowRoot.appendChild(h)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}appendChild(e,i){return super.appendChild(this.nodeOrShadowRoot(e),i)}insertBefore(e,i,t){return super.insertBefore(this.nodeOrShadowRoot(e),i,t)}removeChild(e,i){return super.removeChild(this.nodeOrShadowRoot(e),i)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},Re=class extends Se{constructor(e,i,t,r,s,a,o,u){super(e,s,a,o),this.sharedStylesHost=i,this.removeStylesOnCompDestroy=r,this.styles=u?fr(u,t.styles):t.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}},We=class extends Re{constructor(e,i,t,r,s,a,o,u){let l=r+"-"+t.id;super(e,i,t,s,a,o,u,l),this.contentAttr=gi(l),this.hostAttr=mi(l)}applyToHost(e){this.applyStyles(),this.setAttribute(e,this.hostAttr,"")}createElement(e,i){let t=super.createElement(e,i);return super.setAttribute(t,this.contentAttr,""),t}},vi=(()=>{let e=class e extends Ge{constructor(t){super(t)}supports(t){return!0}addEventListener(t,r,s){return t.addEventListener(r,s,!1),()=>this.removeEventListener(t,r,s)}removeEventListener(t,r,s){return t.removeEventListener(r,s)}};e.\u0275fac=function(r){return new(r||e)(C(O))},e.\u0275prov=w({token:e,factory:e.\u0275fac});let n=e;return n})(),cr=["alt","control","meta","shift"],yi={"\b":"Backspace"," ":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},wi={alt:n=>n.altKey,control:n=>n.ctrlKey,meta:n=>n.metaKey,shift:n=>n.shiftKey},Ci=(()=>{let e=class e extends Ge{constructor(t){super(t)}supports(t){return e.parseEventName(t)!=null}addEventListener(t,r,s){let a=e.parseEventName(r),o=e.eventCallback(a.fullKey,s,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>xt().onAndCancel(t,a.domEventName,o))}static parseEventName(t){let r=t.toLowerCase().split("."),s=r.shift();if(r.length===0||!(s==="keydown"||s==="keyup"))return null;let a=e._normalizeKey(r.pop()),o="",u=r.indexOf("code");if(u>-1&&(r.splice(u,1),o="code."),cr.forEach(c=>{let h=r.indexOf(c);h>-1&&(r.splice(h,1),o+=c+".")}),o+=a,r.length!=0||a.length===0)return null;let l={};return l.domEventName=s,l.fullKey=o,l}static matchEventFullKeyCode(t,r){let s=yi[t.key]||t.key,a="";return r.indexOf("code.")>-1&&(s=t.code,a="code."),s==null||!s?!1:(s=s.toLowerCase(),s===" "?s="space":s==="."&&(s="dot"),cr.forEach(o=>{if(o!==s){let u=wi[o];u(t)&&(a+=o+".")}}),a+=s,a===r)}static eventCallback(t,r,s){return a=>{e.matchEventFullKeyCode(a,t)&&s.runGuarded(()=>r(a))}}static _normalizeKey(t){return t==="esc"?"escape":t}};e.\u0275fac=function(r){return new(r||e)(C(O))},e.\u0275prov=w({token:e,factory:e.\u0275fac});let n=e;return n})();function gr(n,e){return nr(d({rootComponent:n},bi(e)))}function bi(n){return{appProviders:[...Mi,...n?.providers??[]],platformProviders:Ti}}function Si(){zt.makeCurrent()}function Ri(){return new At}function ki(){return Kn(document),document}var Ti=[{provide:ve,useValue:ar},{provide:Gn,useValue:Si,multi:!0},{provide:O,useFactory:ki,deps:[]}];var Mi=[{provide:qn,useValue:"root"},{provide:At,useFactory:Ri,deps:[]},{provide:Ft,useClass:vi,multi:!0,deps:[O,L,ve]},{provide:Ft,useClass:Ci,multi:!0,deps:[O]},lr,hr,dr,{provide:Wn,useExisting:lr},{provide:or,useClass:ci,deps:[]},[]];function Ai(){return new Vt(C(O))}var Vt=(()=>{let e=class e{constructor(t){this._doc=t}getTitle(){return this._doc.title}setTitle(t){this._doc.title=t||""}};e.\u0275fac=function(r){return new(r||e)(C(O))},e.\u0275prov=w({token:e,factory:function(r){let s=null;return r?s=new r:s=Ai(),s},providedIn:"root"});let n=e;return n})();var g="primary",$e=Symbol("RouteTitle"),Zt=class{constructor(e){this.params=e||{}}has(e){return Object.prototype.hasOwnProperty.call(this.params,e)}get(e){if(this.has(e)){let i=this.params[e];return Array.isArray(i)?i[0]:i}return null}getAll(e){if(this.has(e)){let i=this.params[e];return Array.isArray(i)?i:[i]}return[]}get keys(){return Object.keys(this.params)}};function oe(n){return new Zt(n)}function Di(n,e,i){let t=i.path.split("/");if(t.length>n.length||i.pathMatch==="full"&&(e.hasChildren()||t.lengtht[s]===r)}else return n===e}function Sr(n){return n.length>0?n[n.length-1]:null}function B(n){return Nn(n)?n:Qn(n)?I(Promise.resolve(n)):p(n)}var Oi={exact:kr,subset:Tr},Rr={exact:Pi,subset:xi,ignored:()=>!0};function mr(n,e,i){return Oi[i.paths](n.root,e.root,i.matrixParams)&&Rr[i.queryParams](n.queryParams,e.queryParams)&&!(i.fragment==="exact"&&n.fragment!==e.fragment)}function Pi(n,e){return N(n,e)}function kr(n,e,i){if(!Y(n.segments,e.segments)||!Je(n.segments,e.segments,i)||n.numberOfChildren!==e.numberOfChildren)return!1;for(let t in e.children)if(!n.children[t]||!kr(n.children[t],e.children[t],i))return!1;return!0}function xi(n,e){return Object.keys(e).length<=Object.keys(n).length&&Object.keys(e).every(i=>br(n[i],e[i]))}function Tr(n,e,i){return Mr(n,e,e.segments,i)}function Mr(n,e,i,t){if(n.segments.length>i.length){let r=n.segments.slice(0,i.length);return!(!Y(r,i)||e.hasChildren()||!Je(r,i,t))}else if(n.segments.length===i.length){if(!Y(n.segments,i)||!Je(n.segments,i,t))return!1;for(let r in e.children)if(!n.children[r]||!Tr(n.children[r],e.children[r],t))return!1;return!0}else{let r=i.slice(0,n.segments.length),s=i.slice(n.segments.length);return!Y(n.segments,r)||!Je(n.segments,r,t)||!n.children[g]?!1:Mr(n.children[g],e,s,t)}}function Je(n,e,i){return e.every((t,r)=>Rr[i](n[r].parameters,t.parameters))}var F=class{constructor(e=new v([],{}),i={},t=null){this.root=e,this.queryParams=i,this.fragment=t}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=oe(this.queryParams)),this._queryParamMap}toString(){return Ui.serialize(this)}},v=class{constructor(e,i){this.segments=e,this.children=i,this.parent=null,Object.values(i).forEach(t=>t.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Xe(this)}},Q=class{constructor(e,i){this.path=e,this.parameters=i}get parameterMap(){return this._parameterMap||(this._parameterMap=oe(this.parameters)),this._parameterMap}toString(){return Er(this)}};function Ni(n,e){return Y(n,e)&&n.every((i,t)=>N(i.parameters,e[t].parameters))}function Y(n,e){return n.length!==e.length?!1:n.every((i,t)=>i.path===e[t].path)}function ji(n,e){let i=[];return Object.entries(n.children).forEach(([t,r])=>{t===g&&(i=i.concat(e(r,t)))}),Object.entries(n.children).forEach(([t,r])=>{t!==g&&(i=i.concat(e(r,t)))}),i}var Sn=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=w({token:e,factory:()=>(()=>new tt)(),providedIn:"root"});let n=e;return n})(),tt=class{parse(e){let i=new Jt(e);return new F(i.parseRootSegment(),i.parseQueryParams(),i.parseFragment())}serialize(e){let i=`/${ke(e.root,!0)}`,t=_i(e.queryParams),r=typeof e.fragment=="string"?`#${Li(e.fragment)}`:"";return`${i}${t}${r}`}},Ui=new tt;function Xe(n){return n.segments.map(e=>Er(e)).join("/")}function ke(n,e){if(!n.hasChildren())return Xe(n);if(e){let i=n.children[g]?ke(n.children[g],!1):"",t=[];return Object.entries(n.children).forEach(([r,s])=>{r!==g&&t.push(`${r}:${ke(s,!1)}`)}),t.length>0?`${i}(${t.join("//")})`:i}else{let i=ji(n,(t,r)=>r===g?[ke(n.children[g],!1)]:[`${r}:${ke(t,!1)}`]);return Object.keys(n.children).length===1&&n.children[g]!=null?`${Xe(n)}/${i[0]}`:`${Xe(n)}/(${i.join("//")})`}}function Ar(n){return encodeURIComponent(n).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Qe(n){return Ar(n).replace(/%3B/gi,";")}function Li(n){return encodeURI(n)}function Yt(n){return Ar(n).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function et(n){return decodeURIComponent(n)}function vr(n){return et(n.replace(/\+/g,"%20"))}function Er(n){return`${Yt(n.path)}${$i(n.parameters)}`}function $i(n){return Object.keys(n).map(e=>`;${Yt(e)}=${Yt(n[e])}`).join("")}function _i(n){let e=Object.keys(n).map(i=>{let t=n[i];return Array.isArray(t)?t.map(r=>`${Qe(i)}=${Qe(r)}`).join("&"):`${Qe(i)}=${Qe(t)}`}).filter(i=>!!i);return e.length?`?${e.join("&")}`:""}var zi=/^[^\/()?;#]+/;function qt(n){let e=n.match(zi);return e?e[0]:""}var Fi=/^[^\/()?;=#]+/;function Hi(n){let e=n.match(Fi);return e?e[0]:""}var Bi=/^[^=?&#]+/;function Vi(n){let e=n.match(Bi);return e?e[0]:""}var qi=/^[^&#]+/;function Ki(n){let e=n.match(qi);return e?e[0]:""}var Jt=class{constructor(e){this.url=e,this.remaining=e}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new v([],{}):new v([],this.parseChildren())}parseQueryParams(){let e={};if(this.consumeOptional("?"))do this.parseQueryParam(e);while(this.consumeOptional("&"));return e}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());let i={};this.peekStartsWith("/(")&&(this.capture("/"),i=this.parseParens(!0));let t={};return this.peekStartsWith("(")&&(t=this.parseParens(!1)),(e.length>0||Object.keys(i).length>0)&&(t[g]=new v(e,i)),t}parseSegment(){let e=qt(this.remaining);if(e===""&&this.peekStartsWith(";"))throw new S(4009,!1);return this.capture(e),new Q(et(e),this.parseMatrixParams())}parseMatrixParams(){let e={};for(;this.consumeOptional(";");)this.parseParam(e);return e}parseParam(e){let i=Hi(this.remaining);if(!i)return;this.capture(i);let t="";if(this.consumeOptional("=")){let r=qt(this.remaining);r&&(t=r,this.capture(t))}e[et(i)]=et(t)}parseQueryParam(e){let i=Vi(this.remaining);if(!i)return;this.capture(i);let t="";if(this.consumeOptional("=")){let a=Ki(this.remaining);a&&(t=a,this.capture(t))}let r=vr(i),s=vr(t);if(e.hasOwnProperty(r)){let a=e[r];Array.isArray(a)||(a=[a],e[r]=a),a.push(s)}else e[r]=s}parseParens(e){let i={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let t=qt(this.remaining),r=this.remaining[t.length];if(r!=="/"&&r!==")"&&r!==";")throw new S(4010,!1);let s;t.indexOf(":")>-1?(s=t.slice(0,t.indexOf(":")),this.capture(s),this.capture(":")):e&&(s=g);let a=this.parseChildren();i[s]=Object.keys(a).length===1?a[g]:new v([],a),this.consumeOptional("//")}return i}peekStartsWith(e){return this.remaining.startsWith(e)}consumeOptional(e){return this.peekStartsWith(e)?(this.remaining=this.remaining.substring(e.length),!0):!1}capture(e){if(!this.consumeOptional(e))throw new S(4011,!1)}};function Dr(n){return n.segments.length>0?new v([],{[g]:n}):n}function Ir(n){let e={};for(let t of Object.keys(n.children)){let r=n.children[t],s=Ir(r);if(t===g&&s.segments.length===0&&s.hasChildren())for(let[a,o]of Object.entries(s.children))e[a]=o;else(s.segments.length>0||s.hasChildren())&&(e[t]=s)}let i=new v(n.segments,e);return Gi(i)}function Gi(n){if(n.numberOfChildren===1&&n.children[g]){let e=n.children[g];return new v(n.segments.concat(e.segments),e.children)}return n}function le(n){return n instanceof F}function Wi(n,e,i=null,t=null){let r=Or(n);return Pr(r,e,i,t)}function Or(n){let e;function i(s){let a={};for(let u of s.children){let l=i(u);a[u.outlet]=l}let o=new v(s.url,a);return s===n&&(e=o),o}let t=i(n.root),r=Dr(t);return e??r}function Pr(n,e,i,t){let r=n;for(;r.parent;)r=r.parent;if(e.length===0)return Kt(r,r,r,i,t);let s=Zi(e);if(s.toRoot())return Kt(r,r,new v([],{}),i,t);let a=Qi(s,r,n),o=a.processChildren?Ae(a.segmentGroup,a.index,s.commands):Nr(a.segmentGroup,a.index,s.commands);return Kt(r,a.segmentGroup,o,i,t)}function nt(n){return typeof n=="object"&&n!=null&&!n.outlets&&!n.segmentPath}function Ie(n){return typeof n=="object"&&n!=null&&n.outlets}function Kt(n,e,i,t,r){let s={};t&&Object.entries(t).forEach(([u,l])=>{s[u]=Array.isArray(l)?l.map(c=>`${c}`):`${l}`});let a;n===e?a=i:a=xr(n,e,i);let o=Dr(Ir(a));return new F(o,s,r)}function xr(n,e,i){let t={};return Object.entries(n.children).forEach(([r,s])=>{s===e?t[r]=i:t[r]=xr(s,e,i)}),new v(n.segments,t)}var rt=class{constructor(e,i,t){if(this.isAbsolute=e,this.numberOfDoubleDots=i,this.commands=t,e&&t.length>0&&nt(t[0]))throw new S(4003,!1);let r=t.find(Ie);if(r&&r!==Sr(t))throw new S(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function Zi(n){if(typeof n[0]=="string"&&n.length===1&&n[0]==="/")return new rt(!0,0,n);let e=0,i=!1,t=n.reduce((r,s,a)=>{if(typeof s=="object"&&s!=null){if(s.outlets){let o={};return Object.entries(s.outlets).forEach(([u,l])=>{o[u]=typeof l=="string"?l.split("/"):l}),[...r,{outlets:o}]}if(s.segmentPath)return[...r,s.segmentPath]}return typeof s!="string"?[...r,s]:a===0?(s.split("/").forEach((o,u)=>{u==0&&o==="."||(u==0&&o===""?i=!0:o===".."?e++:o!=""&&r.push(o))}),r):[...r,s]},[]);return new rt(i,e,t)}var se=class{constructor(e,i,t){this.segmentGroup=e,this.processChildren=i,this.index=t}};function Qi(n,e,i){if(n.isAbsolute)return new se(e,!0,0);if(!i)return new se(e,!1,NaN);if(i.parent===null)return new se(i,!0,0);let t=nt(n.commands[0])?0:1,r=i.segments.length-1+t;return Yi(i,r,n.numberOfDoubleDots)}function Yi(n,e,i){let t=n,r=e,s=i;for(;s>r;){if(s-=r,t=t.parent,!t)throw new S(4005,!1);r=t.segments.length}return new se(t,!1,r-s)}function Ji(n){return Ie(n[0])?n[0].outlets:{[g]:n}}function Nr(n,e,i){if(n||(n=new v([],{})),n.segments.length===0&&n.hasChildren())return Ae(n,e,i);let t=Xi(n,e,i),r=i.slice(t.commandIndex);if(t.match&&t.pathIndexs!==g)&&n.children[g]&&n.numberOfChildren===1&&n.children[g].segments.length===0){let s=Ae(n.children[g],e,i);return new v(n.segments,s.children)}return Object.entries(t).forEach(([s,a])=>{typeof a=="string"&&(a=[a]),a!==null&&(r[s]=Nr(n.children[s],e,a))}),Object.entries(n.children).forEach(([s,a])=>{t[s]===void 0&&(r[s]=a)}),new v(n.segments,r)}}function Xi(n,e,i){let t=0,r=e,s={match:!1,pathIndex:0,commandIndex:0};for(;r=i.length)return s;let a=n.segments[r],o=i[t];if(Ie(o))break;let u=`${o}`,l=t0&&u===void 0)break;if(u&&l&&typeof l=="object"&&l.outlets===void 0){if(!wr(u,l,a))return s;t+=2}else{if(!wr(u,{},a))return s;t++}r++}return{match:!0,pathIndex:r,commandIndex:t}}function Xt(n,e,i){let t=n.segments.slice(0,e),r=0;for(;r{typeof t=="string"&&(t=[t]),t!==null&&(e[i]=Xt(new v([],{}),0,t))}),e}function yr(n){let e={};return Object.entries(n).forEach(([i,t])=>e[i]=`${t}`),e}function wr(n,e,i){return n==i.path&&N(e,i.parameters)}var Ee="imperative",D=class{constructor(e,i){this.id=e,this.url=i}},Oe=class extends D{constructor(e,i,t="imperative",r=null){super(e,i),this.type=0,this.navigationTrigger=t,this.restoredState=r}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},J=class extends D{constructor(e,i,t){super(e,i),this.urlAfterRedirects=t,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},H=class extends D{constructor(e,i,t,r){super(e,i),this.reason=t,this.code=r,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},X=class extends D{constructor(e,i,t,r){super(e,i),this.reason=t,this.code=r,this.type=16}},Pe=class extends D{constructor(e,i,t,r){super(e,i),this.error=t,this.target=r,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},it=class extends D{constructor(e,i,t,r){super(e,i),this.urlAfterRedirects=t,this.state=r,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},en=class extends D{constructor(e,i,t,r){super(e,i),this.urlAfterRedirects=t,this.state=r,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},tn=class extends D{constructor(e,i,t,r,s){super(e,i),this.urlAfterRedirects=t,this.state=r,this.shouldActivate=s,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},nn=class extends D{constructor(e,i,t,r){super(e,i),this.urlAfterRedirects=t,this.state=r,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},rn=class extends D{constructor(e,i,t,r){super(e,i),this.urlAfterRedirects=t,this.state=r,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},sn=class{constructor(e){this.route=e,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},an=class{constructor(e){this.route=e,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},on=class{constructor(e){this.snapshot=e,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},ln=class{constructor(e){this.snapshot=e,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},un=class{constructor(e){this.snapshot=e,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},cn=class{constructor(e){this.snapshot=e,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}};var xe=class{},Ne=class{constructor(e){this.url=e}};var dn=class{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new ct,this.attachRef=null}},ct=(()=>{let e=class e{constructor(){this.contexts=new Map}onChildOutletCreated(t,r){let s=this.getOrCreateContext(t);s.outlet=r,this.contexts.set(t,s)}onChildOutletDestroyed(t){let r=this.getContext(t);r&&(r.outlet=null,r.attachRef=null)}onOutletDeactivated(){let t=this.contexts;return this.contexts=new Map,t}onOutletReAttached(t){this.contexts=t}getOrCreateContext(t){let r=this.getContext(t);return r||(r=new dn,this.contexts.set(t,r)),r}getContext(t){return this.contexts.get(t)||null}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})(),st=class{constructor(e){this._root=e}get root(){return this._root.value}parent(e){let i=this.pathFromRoot(e);return i.length>1?i[i.length-2]:null}children(e){let i=hn(e,this._root);return i?i.children.map(t=>t.value):[]}firstChild(e){let i=hn(e,this._root);return i&&i.children.length>0?i.children[0].value:null}siblings(e){let i=pn(e,this._root);return i.length<2?[]:i[i.length-2].children.map(r=>r.value).filter(r=>r!==e)}pathFromRoot(e){return pn(e,this._root).map(i=>i.value)}};function hn(n,e){if(n===e.value)return e;for(let i of e.children){let t=hn(n,i);if(t)return t}return null}function pn(n,e){if(n===e.value)return[e];for(let i of e.children){let t=pn(n,i);if(t.length)return t.unshift(e),t}return[]}var T=class{constructor(e,i){this.value=e,this.children=i}toString(){return`TreeNode(${this.value})`}};function ie(n){let e={};return n&&n.children.forEach(i=>e[i.value.outlet]=i),e}var at=class extends st{constructor(e,i){super(e),this.snapshot=i,kn(this,e)}toString(){return this.snapshot.toString()}};function jr(n,e){let i=ts(n,e),t=new M([new Q("",{})]),r=new M({}),s=new M({}),a=new M({}),o=new M(""),u=new ue(t,r,a,o,s,g,e,i.root);return u.snapshot=i.root,new at(new T(u,[]),i)}function ts(n,e){let i={},t={},r={},s="",a=new je([],i,r,s,t,g,e,null,{});return new ot("",new T(a,[]))}var ue=class{constructor(e,i,t,r,s,a,o,u){this.urlSubject=e,this.paramsSubject=i,this.queryParamsSubject=t,this.fragmentSubject=r,this.dataSubject=s,this.outlet=a,this.component=o,this._futureSnapshot=u,this.title=this.dataSubject?.pipe(y(l=>l[$e]))??p(void 0),this.url=e,this.params=i,this.queryParams=t,this.fragment=r,this.data=s}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe(y(e=>oe(e)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(y(e=>oe(e)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function Rn(n,e,i="emptyOnly"){let t,{routeConfig:r}=n;return e!==null&&(i==="always"||r?.path===""||!e.component&&!e.routeConfig?.loadComponent)?t={params:d(d({},e.params),n.params),data:d(d({},e.data),n.data),resolve:d(d(d(d({},n.data),e.data),r?.data),n._resolvedData)}:t={params:n.params,data:n.data,resolve:d(d({},n.data),n._resolvedData??{})},r&&Lr(r)&&(t.resolve[$e]=r.title),t}var je=class{get title(){return this.data?.[$e]}constructor(e,i,t,r,s,a,o,u,l){this.url=e,this.params=i,this.queryParams=t,this.fragment=r,this.data=s,this.outlet=a,this.component=o,this.routeConfig=u,this._resolve=l}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=oe(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=oe(this.queryParams)),this._queryParamMap}toString(){let e=this.url.map(t=>t.toString()).join("/"),i=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${e}', path:'${i}')`}},ot=class extends st{constructor(e,i){super(i),this.url=e,kn(this,i)}toString(){return Ur(this._root)}};function kn(n,e){e.value._routerState=n,e.children.forEach(i=>kn(n,i))}function Ur(n){let e=n.children.length>0?` { ${n.children.map(Ur).join(", ")} } `:"";return`${n.value}${e}`}function Gt(n){if(n.snapshot){let e=n.snapshot,i=n._futureSnapshot;n.snapshot=i,N(e.queryParams,i.queryParams)||n.queryParamsSubject.next(i.queryParams),e.fragment!==i.fragment&&n.fragmentSubject.next(i.fragment),N(e.params,i.params)||n.paramsSubject.next(i.params),Ii(e.url,i.url)||n.urlSubject.next(i.url),N(e.data,i.data)||n.dataSubject.next(i.data)}else n.snapshot=n._futureSnapshot,n.dataSubject.next(n._futureSnapshot.data)}function fn(n,e){let i=N(n.params,e.params)&&Ni(n.url,e.url),t=!n.parent!=!e.parent;return i&&!t&&(!n.parent||fn(n.parent,e.parent))}function Lr(n){return typeof n.title=="string"||n.title===null}var _e=(()=>{let e=class e{constructor(){this.activated=null,this._activatedRoute=null,this.name=g,this.activateEvents=new we,this.deactivateEvents=new we,this.attachEvents=new we,this.detachEvents=new we,this.parentContexts=f(ct),this.location=f(Zn),this.changeDetector=f(Et),this.environmentInjector=f(Be),this.inputBinder=f(Tn,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(t){if(t.name){let{firstChange:r,previousValue:s}=t.name;if(r)return;this.isTrackedInParentContexts(s)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(s)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(t){return this.parentContexts.getContext(t)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let t=this.parentContexts.getContext(this.name);t?.route&&(t.attachRef?this.attach(t.attachRef,t.route):this.activateWith(t.route,t.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new S(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new S(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new S(4012,!1);this.location.detach();let t=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(t.instance),t}attach(t,r){this.activated=t,this._activatedRoute=r,this.location.insert(t.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(t.instance)}deactivate(){if(this.activated){let t=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(t)}}activateWith(t,r){if(this.isActivated)throw new S(4013,!1);this._activatedRoute=t;let s=this.location,o=t.snapshot.component,u=this.parentContexts.getOrCreateContext(this.name).children,l=new gn(t,u,s.injector);this.activated=s.createComponent(o,{index:s.length,injector:l,environmentInjector:r??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}};e.\u0275fac=function(r){return new(r||e)},e.\u0275dir=Bn({type:e,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[Vn]});let n=e;return n})(),gn=class{constructor(e,i,t){this.route=e,this.childContexts=i,this.parent=t}get(e,i){return e===ue?this.route:e===ct?this.childContexts:this.parent.get(e,i)}},Tn=new E("");function ns(n,e,i){let t=Ue(n,e._root,i?i._root:void 0);return new at(t,e)}function Ue(n,e,i){if(i&&n.shouldReuseRoute(e.value,i.value.snapshot)){let t=i.value;t._futureSnapshot=e.value;let r=rs(n,e,i);return new T(t,r)}else{if(n.shouldAttach(e.value)){let s=n.retrieve(e.value);if(s!==null){let a=s.route;return a.value._futureSnapshot=e.value,a.children=e.children.map(o=>Ue(n,o)),a}}let t=is(e.value),r=e.children.map(s=>Ue(n,s));return new T(t,r)}}function rs(n,e,i){return e.children.map(t=>{for(let r of i.children)if(n.shouldReuseRoute(t.value,r.value.snapshot))return Ue(n,t,r);return Ue(n,t)})}function is(n){return new ue(new M(n.url),new M(n.params),new M(n.queryParams),new M(n.fragment),new M(n.data),n.outlet,n.component,n)}var $r="ngNavigationCancelingError";function _r(n,e){let{redirectTo:i,navigationBehaviorOptions:t}=le(e)?{redirectTo:e,navigationBehaviorOptions:void 0}:e,r=zr(!1,0,e);return r.url=i,r.navigationBehaviorOptions=t,r}function zr(n,e,i){let t=new Error("NavigationCancelingError: "+(n||""));return t[$r]=!0,t.cancellationCode=e,i&&(t.url=i),t}function ss(n){return Fr(n)&&le(n.url)}function Fr(n){return n&&n[$r]}var as=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275cmp=_({type:e,selectors:[["ng-component"]],standalone:!0,features:[z],decls:1,vars:0,template:function(r,s){r&1&&x(0,"router-outlet")},dependencies:[_e],encapsulation:2});let n=e;return n})();function os(n,e){return n.providers&&!n._injector&&(n._injector=Xn(n.providers,e,`Route: ${n.path}`)),n._injector??e}function Mn(n){let e=n.children&&n.children.map(Mn),i=e?k(d({},n),{children:e}):d({},n);return!i.component&&!i.loadComponent&&(e||i.loadChildren)&&i.outlet&&i.outlet!==g&&(i.component=as),i}function j(n){return n.outlet||g}function ls(n,e){let i=n.filter(t=>j(t)===e);return i.push(...n.filter(t=>j(t)!==e)),i}function ze(n){if(!n)return null;if(n.routeConfig?._injector)return n.routeConfig._injector;for(let e=n.parent;e;e=e.parent){let i=e.routeConfig;if(i?._loadedInjector)return i._loadedInjector;if(i?._injector)return i._injector}return null}var us=(n,e,i,t)=>y(r=>(new mn(e,r.targetRouterState,r.currentRouterState,i,t).activate(n),r)),mn=class{constructor(e,i,t,r,s){this.routeReuseStrategy=e,this.futureState=i,this.currState=t,this.forwardEvent=r,this.inputBindingEnabled=s}activate(e){let i=this.futureState._root,t=this.currState?this.currState._root:null;this.deactivateChildRoutes(i,t,e),Gt(this.futureState.root),this.activateChildRoutes(i,t,e)}deactivateChildRoutes(e,i,t){let r=ie(i);e.children.forEach(s=>{let a=s.value.outlet;this.deactivateRoutes(s,r[a],t),delete r[a]}),Object.values(r).forEach(s=>{this.deactivateRouteAndItsChildren(s,t)})}deactivateRoutes(e,i,t){let r=e.value,s=i?i.value:null;if(r===s)if(r.component){let a=t.getContext(r.outlet);a&&this.deactivateChildRoutes(e,i,a.children)}else this.deactivateChildRoutes(e,i,t);else s&&this.deactivateRouteAndItsChildren(i,t)}deactivateRouteAndItsChildren(e,i){e.value.component&&this.routeReuseStrategy.shouldDetach(e.value.snapshot)?this.detachAndStoreRouteSubtree(e,i):this.deactivateRouteAndOutlet(e,i)}detachAndStoreRouteSubtree(e,i){let t=i.getContext(e.value.outlet),r=t&&e.value.component?t.children:i,s=ie(e);for(let a of Object.keys(s))this.deactivateRouteAndItsChildren(s[a],r);if(t&&t.outlet){let a=t.outlet.detach(),o=t.children.onOutletDeactivated();this.routeReuseStrategy.store(e.value.snapshot,{componentRef:a,route:e,contexts:o})}}deactivateRouteAndOutlet(e,i){let t=i.getContext(e.value.outlet),r=t&&e.value.component?t.children:i,s=ie(e);for(let a of Object.keys(s))this.deactivateRouteAndItsChildren(s[a],r);t&&(t.outlet&&(t.outlet.deactivate(),t.children.onOutletDeactivated()),t.attachRef=null,t.route=null)}activateChildRoutes(e,i,t){let r=ie(i);e.children.forEach(s=>{this.activateRoutes(s,r[s.value.outlet],t),this.forwardEvent(new cn(s.value.snapshot))}),e.children.length&&this.forwardEvent(new ln(e.value.snapshot))}activateRoutes(e,i,t){let r=e.value,s=i?i.value:null;if(Gt(r),r===s)if(r.component){let a=t.getOrCreateContext(r.outlet);this.activateChildRoutes(e,i,a.children)}else this.activateChildRoutes(e,i,t);else if(r.component){let a=t.getOrCreateContext(r.outlet);if(this.routeReuseStrategy.shouldAttach(r.snapshot)){let o=this.routeReuseStrategy.retrieve(r.snapshot);this.routeReuseStrategy.store(r.snapshot,null),a.children.onOutletReAttached(o.contexts),a.attachRef=o.componentRef,a.route=o.route.value,a.outlet&&a.outlet.attach(o.componentRef,o.route.value),Gt(o.route.value),this.activateChildRoutes(e,null,a.children)}else{let o=ze(r.snapshot);a.attachRef=null,a.route=r,a.injector=o,a.outlet&&a.outlet.activateWith(r,a.injector),this.activateChildRoutes(e,null,a.children)}}else this.activateChildRoutes(e,null,t)}},lt=class{constructor(e){this.path=e,this.route=this.path[this.path.length-1]}},ae=class{constructor(e,i){this.component=e,this.route=i}};function cs(n,e,i){let t=n._root,r=e?e._root:null;return Te(t,r,i,[t.value])}function ds(n){let e=n.routeConfig?n.routeConfig.canActivateChild:null;return!e||e.length===0?null:{node:n,guards:e}}function de(n,e){let i=Symbol(),t=e.get(n,i);return t===i?typeof n=="function"&&!Hn(n)?n:e.get(n):t}function Te(n,e,i,t,r={canDeactivateChecks:[],canActivateChecks:[]}){let s=ie(e);return n.children.forEach(a=>{hs(a,s[a.value.outlet],i,t.concat([a.value]),r),delete s[a.value.outlet]}),Object.entries(s).forEach(([a,o])=>De(o,i.getContext(a),r)),r}function hs(n,e,i,t,r={canDeactivateChecks:[],canActivateChecks:[]}){let s=n.value,a=e?e.value:null,o=i?i.getContext(n.value.outlet):null;if(a&&s.routeConfig===a.routeConfig){let u=ps(a,s,s.routeConfig.runGuardsAndResolvers);u?r.canActivateChecks.push(new lt(t)):(s.data=a.data,s._resolvedData=a._resolvedData),s.component?Te(n,e,o?o.children:null,t,r):Te(n,e,i,t,r),u&&o&&o.outlet&&o.outlet.isActivated&&r.canDeactivateChecks.push(new ae(o.outlet.component,a))}else a&&De(e,o,r),r.canActivateChecks.push(new lt(t)),s.component?Te(n,null,o?o.children:null,t,r):Te(n,null,i,t,r);return r}function ps(n,e,i){if(typeof i=="function")return i(n,e);switch(i){case"pathParamsChange":return!Y(n.url,e.url);case"pathParamsOrQueryParamsChange":return!Y(n.url,e.url)||!N(n.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!fn(n,e)||!N(n.queryParams,e.queryParams);case"paramsChange":default:return!fn(n,e)}}function De(n,e,i){let t=ie(n),r=n.value;Object.entries(t).forEach(([s,a])=>{r.component?e?De(a,e.children.getContext(s),i):De(a,null,i):De(a,e,i)}),r.component?e&&e.outlet&&e.outlet.isActivated?i.canDeactivateChecks.push(new ae(e.outlet.component,r)):i.canDeactivateChecks.push(new ae(null,r)):i.canDeactivateChecks.push(new ae(null,r))}function Fe(n){return typeof n=="function"}function fs(n){return typeof n=="boolean"}function gs(n){return n&&Fe(n.canLoad)}function ms(n){return n&&Fe(n.canActivate)}function vs(n){return n&&Fe(n.canActivateChild)}function ys(n){return n&&Fe(n.canDeactivate)}function ws(n){return n&&Fe(n.canMatch)}function Hr(n){return n instanceof jn||n?.name==="EmptyError"}var Ye=Symbol("INITIAL_VALUE");function ce(){return P(n=>mt(n.map(e=>e.pipe(ne(1),zn(Ye)))).pipe(y(e=>{for(let i of e)if(i!==!0){if(i===Ye)return Ye;if(i===!1||i instanceof F)return i}return!0}),ee(e=>e!==Ye),ne(1)))}function Cs(n,e){return A(i=>{let{targetSnapshot:t,currentSnapshot:r,guards:{canActivateChecks:s,canDeactivateChecks:a}}=i;return a.length===0&&s.length===0?p(k(d({},i),{guardsResult:!0})):bs(a,t,r,n).pipe(A(o=>o&&fs(o)?Ss(t,s,n,e):p(o)),y(o=>k(d({},i),{guardsResult:o})))})}function bs(n,e,i,t){return I(n).pipe(A(r=>As(r.component,r.route,i,e,t)),$(r=>r!==!0,!0))}function Ss(n,e,i,t){return I(e).pipe(ge(r=>Un(ks(r.route.parent,t),Rs(r.route,t),Ms(n,r.path,i),Ts(n,r.route,i))),$(r=>r!==!0,!0))}function Rs(n,e){return n!==null&&e&&e(new un(n)),p(!0)}function ks(n,e){return n!==null&&e&&e(new on(n)),p(!0)}function Ts(n,e,i){let t=e.routeConfig?e.routeConfig.canActivate:null;if(!t||t.length===0)return p(!0);let r=t.map(s=>vt(()=>{let a=ze(e)??i,o=de(s,a),u=ms(o)?o.canActivate(e,n):G(a,()=>o(e,n));return B(u).pipe($())}));return p(r).pipe(ce())}function Ms(n,e,i){let t=e[e.length-1],s=e.slice(0,e.length-1).reverse().map(a=>ds(a)).filter(a=>a!==null).map(a=>vt(()=>{let o=a.guards.map(u=>{let l=ze(a.node)??i,c=de(u,l),h=vs(c)?c.canActivateChild(t,n):G(l,()=>c(t,n));return B(h).pipe($())});return p(o).pipe(ce())}));return p(s).pipe(ce())}function As(n,e,i,t,r){let s=e&&e.routeConfig?e.routeConfig.canDeactivate:null;if(!s||s.length===0)return p(!0);let a=s.map(o=>{let u=ze(e)??r,l=de(o,u),c=ys(l)?l.canDeactivate(n,e,i,t):G(u,()=>l(n,e,i,t));return B(c).pipe($())});return p(a).pipe(ce())}function Es(n,e,i,t){let r=e.canLoad;if(r===void 0||r.length===0)return p(!0);let s=r.map(a=>{let o=de(a,n),u=gs(o)?o.canLoad(e,i):G(n,()=>o(e,i));return B(u)});return p(s).pipe(ce(),Br(t))}function Br(n){return xn(R(e=>{if(le(e))throw _r(n,e)}),y(e=>e===!0))}function Ds(n,e,i,t){let r=e.canMatch;if(!r||r.length===0)return p(!0);let s=r.map(a=>{let o=de(a,n),u=ws(o)?o.canMatch(e,i):G(n,()=>o(e,i));return B(u)});return p(s).pipe(ce(),Br(t))}var Le=class{constructor(e){this.segmentGroup=e||null}},ut=class extends Error{constructor(e){super(),this.urlTree=e}};function re(n){return fe(new Le(n))}function Is(n){return fe(new S(4e3,!1))}function Os(n){return fe(zr(!1,3))}var vn=class{constructor(e,i){this.urlSerializer=e,this.urlTree=i}lineralizeSegments(e,i){let t=[],r=i.root;for(;;){if(t=t.concat(r.segments),r.numberOfChildren===0)return p(t);if(r.numberOfChildren>1||!r.children[g])return Is(e.redirectTo);r=r.children[g]}}applyRedirectCommands(e,i,t){let r=this.applyRedirectCreateUrlTree(i,this.urlSerializer.parse(i),e,t);if(i.startsWith("/"))throw new ut(r);return r}applyRedirectCreateUrlTree(e,i,t,r){let s=this.createSegmentGroup(e,i.root,t,r);return new F(s,this.createQueryParams(i.queryParams,this.urlTree.queryParams),i.fragment)}createQueryParams(e,i){let t={};return Object.entries(e).forEach(([r,s])=>{if(typeof s=="string"&&s.startsWith(":")){let o=s.substring(1);t[r]=i[o]}else t[r]=s}),t}createSegmentGroup(e,i,t,r){let s=this.createSegments(e,i.segments,t,r),a={};return Object.entries(i.children).forEach(([o,u])=>{a[o]=this.createSegmentGroup(e,u,t,r)}),new v(s,a)}createSegments(e,i,t,r){return i.map(s=>s.path.startsWith(":")?this.findPosParam(e,s,r):this.findOrReturn(s,t))}findPosParam(e,i,t){let r=t[i.path.substring(1)];if(!r)throw new S(4001,!1);return r}findOrReturn(e,i){let t=0;for(let r of i){if(r.path===e.path)return i.splice(t),r;t++}return e}},yn={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Ps(n,e,i,t,r){let s=An(n,e,i);return s.matched?(t=os(e,t),Ds(t,e,i,r).pipe(y(a=>a===!0?s:d({},yn)))):p(s)}function An(n,e,i){if(e.path==="**")return xs(i);if(e.path==="")return e.pathMatch==="full"&&(n.hasChildren()||i.length>0)?d({},yn):{matched:!0,consumedSegments:[],remainingSegments:i,parameters:{},positionalParamSegments:{}};let r=(e.matcher||Di)(i,n,e);if(!r)return d({},yn);let s={};Object.entries(r.posParams??{}).forEach(([o,u])=>{s[o]=u.path});let a=r.consumed.length>0?d(d({},s),r.consumed[r.consumed.length-1].parameters):s;return{matched:!0,consumedSegments:r.consumed,remainingSegments:i.slice(r.consumed.length),parameters:a,positionalParamSegments:r.posParams??{}}}function xs(n){return{matched:!0,parameters:n.length>0?Sr(n).parameters:{},consumedSegments:n,remainingSegments:[],positionalParamSegments:{}}}function Cr(n,e,i,t){return i.length>0&&Us(n,i,t)?{segmentGroup:new v(e,js(t,new v(i,n.children))),slicedSegments:[]}:i.length===0&&Ls(n,i,t)?{segmentGroup:new v(n.segments,Ns(n,e,i,t,n.children)),slicedSegments:i}:{segmentGroup:new v(n.segments,n.children),slicedSegments:i}}function Ns(n,e,i,t,r){let s={};for(let a of t)if(dt(n,i,a)&&!r[j(a)]){let o=new v([],{});s[j(a)]=o}return d(d({},r),s)}function js(n,e){let i={};i[g]=e;for(let t of n)if(t.path===""&&j(t)!==g){let r=new v([],{});i[j(t)]=r}return i}function Us(n,e,i){return i.some(t=>dt(n,e,t)&&j(t)!==g)}function Ls(n,e,i){return i.some(t=>dt(n,e,t))}function dt(n,e,i){return(n.hasChildren()||e.length>0)&&i.pathMatch==="full"?!1:i.path===""}function $s(n,e,i,t){return j(n)!==t&&(t===g||!dt(e,i,n))?!1:An(e,n,i).matched}function _s(n,e,i){return e.length===0&&!n.children[i]}var wn=class{};function zs(n,e,i,t,r,s,a="emptyOnly"){return new Cn(n,e,i,t,r,a,s).recognize()}var Fs=31,Cn=class{constructor(e,i,t,r,s,a,o){this.injector=e,this.configLoader=i,this.rootComponentType=t,this.config=r,this.urlTree=s,this.paramsInheritanceStrategy=a,this.urlSerializer=o,this.applyRedirects=new vn(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(e){return new S(4002,`'${e.segmentGroup}'`)}recognize(){let e=Cr(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(e).pipe(y(i=>{let t=new je([],Object.freeze({}),Object.freeze(d({},this.urlTree.queryParams)),this.urlTree.fragment,{},g,this.rootComponentType,null,{}),r=new T(t,i),s=new ot("",r),a=Wi(t,[],this.urlTree.queryParams,this.urlTree.fragment);return a.queryParams=this.urlTree.queryParams,s.url=this.urlSerializer.serialize(a),this.inheritParamsAndData(s._root,null),{state:s,tree:a}}))}match(e){return this.processSegmentGroup(this.injector,this.config,e,g).pipe(te(t=>{if(t instanceof ut)return this.urlTree=t.urlTree,this.match(t.urlTree.root);throw t instanceof Le?this.noMatchError(t):t}))}inheritParamsAndData(e,i){let t=e.value,r=Rn(t,i,this.paramsInheritanceStrategy);t.params=Object.freeze(r.params),t.data=Object.freeze(r.data),e.children.forEach(s=>this.inheritParamsAndData(s,t))}processSegmentGroup(e,i,t,r){return t.segments.length===0&&t.hasChildren()?this.processChildren(e,i,t):this.processSegment(e,i,t,t.segments,r,!0).pipe(y(s=>s instanceof T?[s]:[]))}processChildren(e,i,t){let r=[];for(let s of Object.keys(t.children))s==="primary"?r.unshift(s):r.push(s);return I(r).pipe(ge(s=>{let a=t.children[s],o=ls(i,s);return this.processSegmentGroup(e,o,a,s)}),_n((s,a)=>(s.push(...a),s)),yt(null),$n(),A(s=>{if(s===null)return re(t);let a=Vr(s);return Hs(a),p(a)}))}processSegment(e,i,t,r,s,a){return I(i).pipe(ge(o=>this.processSegmentAgainstRoute(o._injector??e,i,o,t,r,s,a).pipe(te(u=>{if(u instanceof Le)return p(null);throw u}))),$(o=>!!o),te(o=>{if(Hr(o))return _s(t,r,s)?p(new wn):re(t);throw o}))}processSegmentAgainstRoute(e,i,t,r,s,a,o){return $s(t,r,s,a)?t.redirectTo===void 0?this.matchSegmentAgainstRoute(e,r,t,s,a):this.allowRedirects&&o?this.expandSegmentAgainstRouteUsingRedirect(e,r,i,t,s,a):re(r):re(r)}expandSegmentAgainstRouteUsingRedirect(e,i,t,r,s,a){let{matched:o,consumedSegments:u,positionalParamSegments:l,remainingSegments:c}=An(i,r,s);if(!o)return re(i);r.redirectTo.startsWith("/")&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>Fs&&(this.allowRedirects=!1));let h=this.applyRedirects.applyRedirectCommands(u,r.redirectTo,l);return this.applyRedirects.lineralizeSegments(r,h).pipe(A(m=>this.processSegment(e,t,i,m.concat(c),a,!1)))}matchSegmentAgainstRoute(e,i,t,r,s){let a=Ps(i,t,r,e,this.urlSerializer);return t.path==="**"&&(i.children={}),a.pipe(P(o=>o.matched?(e=t._injector??e,this.getChildConfig(e,t,r).pipe(P(({routes:u})=>{let l=t._loadedInjector??e,{consumedSegments:c,remainingSegments:h,parameters:m}=o,b=new je(c,m,Object.freeze(d({},this.urlTree.queryParams)),this.urlTree.fragment,Vs(t),j(t),t.component??t._loadedComponent??null,t,qs(t)),{segmentGroup:he,slicedSegments:pe}=Cr(i,c,h,u);if(pe.length===0&&he.hasChildren())return this.processChildren(l,u,he).pipe(y(V=>V===null?null:new T(b,V)));if(u.length===0&&pe.length===0)return p(new T(b,[]));let pt=j(t)===s;return this.processSegment(l,u,he,pe,pt?g:s,!0).pipe(y(V=>new T(b,V instanceof T?[V]:[])))}))):re(i)))}getChildConfig(e,i,t){return i.children?p({routes:i.children,injector:e}):i.loadChildren?i._loadedRoutes!==void 0?p({routes:i._loadedRoutes,injector:i._loadedInjector}):Es(e,i,t,this.urlSerializer).pipe(A(r=>r?this.configLoader.loadChildren(e,i).pipe(R(s=>{i._loadedRoutes=s.routes,i._loadedInjector=s.injector})):Os(i))):p({routes:[],injector:e})}};function Hs(n){n.sort((e,i)=>e.value.outlet===g?-1:i.value.outlet===g?1:e.value.outlet.localeCompare(i.value.outlet))}function Bs(n){let e=n.value.routeConfig;return e&&e.path===""}function Vr(n){let e=[],i=new Set;for(let t of n){if(!Bs(t)){e.push(t);continue}let r=e.find(s=>t.value.routeConfig===s.value.routeConfig);r!==void 0?(r.children.push(...t.children),i.add(r)):e.push(t)}for(let t of i){let r=Vr(t.children);e.push(new T(t.value,r))}return e.filter(t=>!i.has(t))}function Vs(n){return n.data||{}}function qs(n){return n.resolve||{}}function Ks(n,e,i,t,r,s){return A(a=>zs(n,e,i,t,a.extractedUrl,r,s).pipe(y(({state:o,tree:u})=>k(d({},a),{targetSnapshot:o,urlAfterRedirects:u}))))}function Gs(n,e){return A(i=>{let{targetSnapshot:t,guards:{canActivateChecks:r}}=i;if(!r.length)return p(i);let s=new Set(r.map(u=>u.route)),a=new Set;for(let u of s)if(!a.has(u))for(let l of qr(u))a.add(l);let o=0;return I(a).pipe(ge(u=>s.has(u)?Ws(u,t,n,e):(u.data=Rn(u,u.parent,n).resolve,p(void 0))),R(()=>o++),wt(1),A(u=>o===a.size?p(i):K))})}function qr(n){let e=n.children.map(i=>qr(i)).flat();return[n,...e]}function Ws(n,e,i,t){let r=n.routeConfig,s=n._resolve;return r?.title!==void 0&&!Lr(r)&&(s[$e]=r.title),Zs(s,n,e,t).pipe(y(a=>(n._resolvedData=a,n.data=Rn(n,n.parent,i).resolve,null)))}function Zs(n,e,i,t){let r=Qt(n);if(r.length===0)return p({});let s={};return I(r).pipe(A(a=>Qs(n[a],e,i,t).pipe($(),R(o=>{s[a]=o}))),wt(1),Ln(s),te(a=>Hr(a)?K:fe(a)))}function Qs(n,e,i,t){let r=ze(e)??t,s=de(n,r),a=s.resolve?s.resolve(e,i):G(r,()=>s(e,i));return B(a)}function Wt(n){return P(e=>{let i=n(e);return i?I(i).pipe(y(()=>e)):p(e)})}var Kr=(()=>{let e=class e{buildTitle(t){let r,s=t.root;for(;s!==void 0;)r=this.getResolvedTitleForRoute(s)??r,s=s.children.find(a=>a.outlet===g);return r}getResolvedTitleForRoute(t){return t.data[$e]}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=w({token:e,factory:()=>(()=>f(Ys))(),providedIn:"root"});let n=e;return n})(),Ys=(()=>{let e=class e extends Kr{constructor(t){super(),this.title=t}updateTitle(t){let r=this.buildTitle(t);r!==void 0&&this.title.setTitle(r)}};e.\u0275fac=function(r){return new(r||e)(C(Vt))},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})(),En=new E("",{providedIn:"root",factory:()=>({})}),Dn=new E("ROUTES"),Js=(()=>{let e=class e{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=f(It)}loadComponent(t){if(this.componentLoaders.get(t))return this.componentLoaders.get(t);if(t._loadedComponent)return p(t._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(t);let r=B(t.loadComponent()).pipe(y(Gr),R(a=>{this.onLoadEndListener&&this.onLoadEndListener(t),t._loadedComponent=a}),He(()=>{this.componentLoaders.delete(t)})),s=new gt(r,()=>new q).pipe(ft());return this.componentLoaders.set(t,s),s}loadChildren(t,r){if(this.childrenLoaders.get(r))return this.childrenLoaders.get(r);if(r._loadedRoutes)return p({routes:r._loadedRoutes,injector:r._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(r);let a=Xs(r,this.compiler,t,this.onLoadEndListener).pipe(He(()=>{this.childrenLoaders.delete(r)})),o=new gt(a,()=>new q).pipe(ft());return this.childrenLoaders.set(r,o),o}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})();function Xs(n,e,i,t){return B(n.loadChildren()).pipe(y(Gr),A(r=>r instanceof Jn||Array.isArray(r)?p(r):I(e.compileModuleAsync(r))),y(r=>{t&&t(n);let s,a,o=!1;return Array.isArray(r)?(a=r,o=!0):(s=r.create(i).injector,a=s.get(Dn,[],{optional:!0,self:!0}).flat()),{routes:a.map(Mn),injector:s}}))}function ea(n){return n&&typeof n=="object"&&"default"in n}function Gr(n){return ea(n)?n.default:n}var In=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=w({token:e,factory:()=>(()=>f(ta))(),providedIn:"root"});let n=e;return n})(),ta=(()=>{let e=class e{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,r){return t}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})(),na=new E("");var ra=(()=>{let e=class e{get hasRequestedNavigation(){return this.navigationId!==0}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new q,this.transitionAbortSubject=new q,this.configLoader=f(Js),this.environmentInjector=f(Be),this.urlSerializer=f(Sn),this.rootContexts=f(ct),this.location=f(Ke),this.inputBindingEnabled=f(Tn,{optional:!0})!==null,this.titleStrategy=f(Kr),this.options=f(En,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=f(In),this.createViewTransition=f(na,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>p(void 0),this.rootComponentType=null;let t=s=>this.events.next(new sn(s)),r=s=>this.events.next(new an(s));this.configLoader.onLoadEndListener=r,this.configLoader.onLoadStartListener=t}complete(){this.transitions?.complete()}handleNavigationRequest(t){let r=++this.navigationId;this.transitions?.next(k(d(d({},this.transitions.value),t),{id:r}))}setupNavigations(t,r,s){return this.transitions=new M({id:0,currentUrlTree:r,currentRawUrl:r,extractedUrl:this.urlHandlingStrategy.extract(r),urlAfterRedirects:this.urlHandlingStrategy.extract(r),rawUrl:r,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:Ee,restoredState:null,currentSnapshot:s.snapshot,targetSnapshot:null,currentRouterState:s,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(ee(a=>a.id!==0),y(a=>k(d({},a),{extractedUrl:this.urlHandlingStrategy.extract(a.rawUrl)})),P(a=>{this.currentTransition=a;let o=!1,u=!1;return p(a).pipe(R(l=>{this.currentNavigation={id:l.id,initialUrl:l.rawUrl,extractedUrl:l.extractedUrl,trigger:l.source,extras:l.extras,previousNavigation:this.lastSuccessfulNavigation?k(d({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),P(l=>{let c=!t.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),h=l.extras.onSameUrlNavigation??t.onSameUrlNavigation;if(!c&&h!=="reload"){let m="";return this.events.next(new X(l.id,this.urlSerializer.serialize(l.rawUrl),m,0)),l.resolve(null),K}if(this.urlHandlingStrategy.shouldProcessUrl(l.rawUrl))return p(l).pipe(P(m=>{let b=this.transitions?.getValue();return this.events.next(new Oe(m.id,this.urlSerializer.serialize(m.extractedUrl),m.source,m.restoredState)),b!==this.transitions?.getValue()?K:Promise.resolve(m)}),Ks(this.environmentInjector,this.configLoader,this.rootComponentType,t.config,this.urlSerializer,this.paramsInheritanceStrategy),R(m=>{a.targetSnapshot=m.targetSnapshot,a.urlAfterRedirects=m.urlAfterRedirects,this.currentNavigation=k(d({},this.currentNavigation),{finalUrl:m.urlAfterRedirects});let b=new it(m.id,this.urlSerializer.serialize(m.extractedUrl),this.urlSerializer.serialize(m.urlAfterRedirects),m.targetSnapshot);this.events.next(b)}));if(c&&this.urlHandlingStrategy.shouldProcessUrl(l.currentRawUrl)){let{id:m,extractedUrl:b,source:he,restoredState:pe,extras:pt}=l,V=new Oe(m,this.urlSerializer.serialize(b),he,pe);this.events.next(V);let ni=jr(b,this.rootComponentType).snapshot;return this.currentTransition=a=k(d({},l),{targetSnapshot:ni,urlAfterRedirects:b,extras:k(d({},pt),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=b,p(a)}else{let m="";return this.events.next(new X(l.id,this.urlSerializer.serialize(l.extractedUrl),m,1)),l.resolve(null),K}}),R(l=>{let c=new en(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(c)}),y(l=>(this.currentTransition=a=k(d({},l),{guards:cs(l.targetSnapshot,l.currentSnapshot,this.rootContexts)}),a)),Cs(this.environmentInjector,l=>this.events.next(l)),R(l=>{if(a.guardsResult=l.guardsResult,le(l.guardsResult))throw _r(this.urlSerializer,l.guardsResult);let c=new tn(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot,!!l.guardsResult);this.events.next(c)}),ee(l=>l.guardsResult?!0:(this.cancelNavigationTransition(l,"",3),!1)),Wt(l=>{if(l.guards.canActivateChecks.length)return p(l).pipe(R(c=>{let h=new nn(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(h)}),P(c=>{let h=!1;return p(c).pipe(Gs(this.paramsInheritanceStrategy,this.environmentInjector),R({next:()=>h=!0,complete:()=>{h||this.cancelNavigationTransition(c,"",2)}}))}),R(c=>{let h=new rn(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(h)}))}),Wt(l=>{let c=h=>{let m=[];h.routeConfig?.loadComponent&&!h.routeConfig._loadedComponent&&m.push(this.configLoader.loadComponent(h.routeConfig).pipe(R(b=>{h.component=b}),y(()=>{})));for(let b of h.children)m.push(...c(b));return m};return mt(c(l.targetSnapshot.root)).pipe(yt(),ne(1))}),Wt(()=>this.afterPreactivation()),P(()=>{let{currentSnapshot:l,targetSnapshot:c}=a,h=this.createViewTransition?.(this.environmentInjector,l.root,c.root);return h?I(h).pipe(y(()=>a)):p(a)}),y(l=>{let c=ns(t.routeReuseStrategy,l.targetSnapshot,l.currentRouterState);return this.currentTransition=a=k(d({},l),{targetRouterState:c}),this.currentNavigation.targetRouterState=c,a}),R(()=>{this.events.next(new xe)}),us(this.rootContexts,t.routeReuseStrategy,l=>this.events.next(l),this.inputBindingEnabled),ne(1),R({next:l=>{o=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new J(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects))),this.titleStrategy?.updateTitle(l.targetRouterState.snapshot),l.resolve(!0)},complete:()=>{o=!0}}),Fn(this.transitionAbortSubject.pipe(R(l=>{throw l}))),He(()=>{if(!o&&!u){let l="";this.cancelNavigationTransition(a,l,1)}this.currentNavigation?.id===a.id&&(this.currentNavigation=null)}),te(l=>{if(u=!0,Fr(l))this.events.next(new H(a.id,this.urlSerializer.serialize(a.extractedUrl),l.message,l.cancellationCode)),ss(l)?this.events.next(new Ne(l.url)):a.resolve(!1);else{this.events.next(new Pe(a.id,this.urlSerializer.serialize(a.extractedUrl),l,a.targetSnapshot??void 0));try{a.resolve(t.errorHandler(l))}catch(c){a.reject(c)}}return K}))}))}cancelNavigationTransition(t,r,s){let a=new H(t.id,this.urlSerializer.serialize(t.extractedUrl),r,s);this.events.next(a),t.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){return this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))).toString()!==this.currentTransition?.extractedUrl.toString()&&!this.currentTransition?.extras.skipLocationChange}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})();function ia(n){return n!==Ee}var sa=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=w({token:e,factory:()=>(()=>f(aa))(),providedIn:"root"});let n=e;return n})(),bn=class{shouldDetach(e){return!1}store(e,i){}shouldAttach(e){return!1}retrieve(e){return null}shouldReuseRoute(e,i){return e.routeConfig===i.routeConfig}},aa=(()=>{let e=class e extends bn{};e.\u0275fac=(()=>{let t;return function(s){return(t||(t=bt(e)))(s||e)}})(),e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})(),Wr=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=w({token:e,factory:()=>(()=>f(oa))(),providedIn:"root"});let n=e;return n})(),oa=(()=>{let e=class e extends Wr{constructor(){super(...arguments),this.location=f(Ke),this.urlSerializer=f(Sn),this.options=f(En,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=f(In),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new F,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=jr(this.currentUrlTree,null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(t){return this.location.subscribe(r=>{r.type==="popstate"&&t(r.url,r.state)})}handleRouterEvent(t,r){if(t instanceof Oe)this.stateMemento=this.createStateMemento();else if(t instanceof X)this.rawUrlTree=r.initialUrl;else if(t instanceof it){if(this.urlUpdateStrategy==="eager"&&!r.extras.skipLocationChange){let s=this.urlHandlingStrategy.merge(r.finalUrl,r.initialUrl);this.setBrowserUrl(s,r)}}else t instanceof xe?(this.currentUrlTree=r.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(r.finalUrl,r.initialUrl),this.routerState=r.targetRouterState,this.urlUpdateStrategy==="deferred"&&(r.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,r))):t instanceof H&&(t.code===3||t.code===2)?this.restoreHistory(r):t instanceof Pe?this.restoreHistory(r,!0):t instanceof J&&(this.lastSuccessfulId=t.id,this.currentPageId=this.browserPageId)}setBrowserUrl(t,r){let s=this.urlSerializer.serialize(t);if(this.location.isCurrentPathEqualTo(s)||r.extras.replaceUrl){let a=this.browserPageId,o=d(d({},r.extras.state),this.generateNgRouterState(r.id,a));this.location.replaceState(s,"",o)}else{let a=d(d({},r.extras.state),this.generateNgRouterState(r.id,this.browserPageId+1));this.location.go(s,"",a)}}restoreHistory(t,r=!1){if(this.canceledNavigationResolution==="computed"){let s=this.browserPageId,a=this.currentPageId-s;a!==0?this.location.historyGo(a):this.currentUrlTree===t.finalUrl&&a===0&&(this.resetState(t),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(r&&this.resetState(t),this.resetUrlToCurrentUrlTree())}resetState(t){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,t.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(t,r){return this.canceledNavigationResolution==="computed"?{navigationId:t,\u0275routerPageId:r}:{navigationId:t}}};e.\u0275fac=(()=>{let t;return function(s){return(t||(t=bt(e)))(s||e)}})(),e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})(),Me=function(n){return n[n.COMPLETE=0]="COMPLETE",n[n.FAILED=1]="FAILED",n[n.REDIRECTING=2]="REDIRECTING",n}(Me||{});function la(n,e){n.events.pipe(ee(i=>i instanceof J||i instanceof H||i instanceof Pe||i instanceof X),y(i=>i instanceof J||i instanceof X?Me.COMPLETE:(i instanceof H?i.code===0||i.code===1:!1)?Me.REDIRECTING:Me.FAILED),ee(i=>i!==Me.REDIRECTING),ne(1)).subscribe(()=>{e()})}function ua(n){throw n}var ca={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},da={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},ht=(()=>{let e=class e{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.isNgZoneEnabled=!1,this.console=f(qe),this.stateManager=f(Wr),this.options=f(En,{optional:!0})||{},this.pendingTasks=f(er),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=f(ra),this.urlSerializer=f(Sn),this.location=f(Ke),this.urlHandlingStrategy=f(In),this._events=new q,this.errorHandler=this.options.errorHandler||ua,this.navigated=!1,this.routeReuseStrategy=f(sa),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=f(Dn,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!f(Tn,{optional:!0}),this.eventsSubscription=new Pn,this.isNgZoneEnabled=f(L)instanceof L&&L.isInAngularZone(),this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:t=>{this.console.warn(t)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){let t=this.navigationTransitions.events.subscribe(r=>{try{let s=this.navigationTransitions.currentTransition,a=this.navigationTransitions.currentNavigation;if(s!==null&&a!==null){if(this.stateManager.handleRouterEvent(r,a),r instanceof H&&r.code!==0&&r.code!==1)this.navigated=!0;else if(r instanceof J)this.navigated=!0;else if(r instanceof Ne){let o=this.urlHandlingStrategy.merge(r.url,s.currentRawUrl),u={skipLocationChange:s.extras.skipLocationChange,replaceUrl:this.urlUpdateStrategy==="eager"||ia(s.source)};this.scheduleNavigation(o,Ee,null,u,{resolve:s.resolve,reject:s.reject,promise:s.promise})}}pa(r)&&this._events.next(r)}catch(s){this.navigationTransitions.transitionAbortSubject.next(s)}});this.eventsSubscription.add(t)}resetRootComponentType(t){this.routerState.root.component=t,this.navigationTransitions.rootComponentType=t}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),Ee,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription||(this.nonRouterCurrentEntryChangeSubscription=this.stateManager.registerNonRouterCurrentEntryChangeListener((t,r)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(t,"popstate",r)},0)}))}navigateToSyncWithBrowser(t,r,s){let a={replaceUrl:!0},o=s?.navigationId?s:null;if(s){let l=d({},s);delete l.navigationId,delete l.\u0275routerPageId,Object.keys(l).length!==0&&(a.state=l)}let u=this.parseUrl(t);this.scheduleNavigation(u,r,o,a)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(t){this.config=t.map(Mn),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(t,r={}){let{relativeTo:s,queryParams:a,fragment:o,queryParamsHandling:u,preserveFragment:l}=r,c=l?this.currentUrlTree.fragment:o,h=null;switch(u){case"merge":h=d(d({},this.currentUrlTree.queryParams),a);break;case"preserve":h=this.currentUrlTree.queryParams;break;default:h=a||null}h!==null&&(h=this.removeEmptyProps(h));let m;try{let b=s?s.snapshot:this.routerState.snapshot.root;m=Or(b)}catch{(typeof t[0]!="string"||!t[0].startsWith("/"))&&(t=[]),m=this.currentUrlTree.root}return Pr(m,t,h,c??null)}navigateByUrl(t,r={skipLocationChange:!1}){let s=le(t)?t:this.parseUrl(t),a=this.urlHandlingStrategy.merge(s,this.rawUrlTree);return this.scheduleNavigation(a,Ee,null,r)}navigate(t,r={skipLocationChange:!1}){return ha(t),this.navigateByUrl(this.createUrlTree(t,r),r)}serializeUrl(t){return this.urlSerializer.serialize(t)}parseUrl(t){try{return this.urlSerializer.parse(t)}catch{return this.urlSerializer.parse("/")}}isActive(t,r){let s;if(r===!0?s=d({},ca):r===!1?s=d({},da):s=r,le(t))return mr(this.currentUrlTree,t,s);let a=this.parseUrl(t);return mr(this.currentUrlTree,a,s)}removeEmptyProps(t){return Object.keys(t).reduce((r,s)=>{let a=t[s];return a!=null&&(r[s]=a),r},{})}scheduleNavigation(t,r,s,a,o){if(this.disposed)return Promise.resolve(!1);let u,l,c;o?(u=o.resolve,l=o.reject,c=o.promise):c=new Promise((m,b)=>{u=m,l=b});let h=this.pendingTasks.add();return la(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(h))}),this.navigationTransitions.handleNavigationRequest({source:r,restoredState:s,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:t,extras:a,resolve:u,reject:l,promise:c,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),c.catch(m=>Promise.reject(m))}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})();function ha(n){for(let e=0;ei.\u0275providers)])}function ga(n){return n.routerState.root}function ma(){let n=f(Rt);return e=>{let i=n.get(Ot);if(e!==i.components[0])return;let t=n.get(ht),r=n.get(va);n.get(ya)===1&&t.initialNavigation(),n.get(wa,null,Ct.Optional)?.setUpPreloading(),n.get(fa,null,Ct.Optional)?.init(),t.resetRootComponentType(i.componentTypes[0]),r.closed||(r.next(),r.complete(),r.unsubscribe())}}var va=new E("",{factory:()=>new q}),ya=new E("",{providedIn:"root",factory:()=>1});var wa=new E("");var Qr=["easy","medium","hard"];function U(n){return new Map([...n.entries()].sort((e,i)=>{let t=Qr.indexOf(e[1].difficulty),r=Qr.indexOf(i[1].difficulty);return t-r}))}var Ca=new Map([["shapes",{title:"Shapes",link:"shapes/",difficulty:"easy",developer:"sadanandpai",tags:[]}]]),ba=U(Ca);var Sa=new Map([["counter",{title:"Counter",link:"counter/",difficulty:"easy",developer:"sadanandpai",youtube:"https://youtu.be/9OIeUtXX3SA",tags:[]}],["bmi-calculator",{title:"BMI Calculator",link:"bmi-calculator/",difficulty:"easy",developer:"itsayopapi",tags:[]}],["dice-game",{title:"Dice Game",link:"dice-game/",difficulty:"easy",developer:"shivam200446",tags:[],isNew:!0}],["roll-dice",{title:"Roll dice",link:"roll-dice/",difficulty:"easy",developer:"babandakale",tags:[]}],["guess-the-number",{title:"Guess the number",link:"guess-the-number/",difficulty:"easy",developer:"sadanandpai",youtube:"https://youtu.be/L1Da3GWEGpY",tags:[]}],["string-transformers",{title:"String transformers",link:"string-transformers/",difficulty:"easy",developer:"sadanandpai",youtube:"https://youtu.be/crCZEJ6Lmgc",tags:[]}],["file-uploader",{title:"File Uploader",link:"file-uploader/",difficulty:"easy",developer:"avtech",tags:[],isNew:!0}],["telephone-formatter",{title:"Telephone formatter",link:"telephone-formatter/",difficulty:"easy",developer:"sadanandpai",youtube:"https://youtu.be/E85ldVqAGjw",tags:[]}],["dialog-popup",{title:"Dialog Popup",link:"dialog-popup/",difficulty:"easy",developer:"sahankatta",youtube:"https://youtu.be/aIzyEDi6zgU",tags:[]}],["light-dark-mode",{title:"Light & Dark mode",link:"light-dark-mode/",difficulty:"easy",developer:"sadanandpai",youtube:"https://youtu.be/hxcGGhjYNFE",tags:[]}],["skeleton-loader",{title:"Skeleton Loader",link:"skeleton-loader/",difficulty:"easy",developer:"sahankatta",youtube:"https://youtu.be/FEtTRjq1P6I",tags:[]}],["spinning-loader",{title:"Spinning Loader",link:"spinning-loader/",difficulty:"easy",developer:"DhanushNehru",tags:[]}],["music-kit",{title:"Music Kit",link:"music-kit/",difficulty:"easy",developer:"shivam200446",tags:[]}],["currency-converter",{title:"Currency Converter",link:"currency-converter/",difficulty:"easy",developer:"pranav514",tags:[],isNew:!0}],["accordion",{title:"Accordion",link:"accordion/",difficulty:"easy",developer:"rashidtvmr",youtube:"https://youtu.be/03KFXudVaoo",tags:[]}],["navigation-bar",{title:"Navigation Bar",link:"navigation-bar/",difficulty:"easy",developer:"christian-lee1398",youtube:"https://youtu.be/urA5ogzG0L0",tags:[]}],["Footer",{title:"Footer",link:"Footer/",difficulty:"easy",developer:"AbhineshJha",youtube:"https://youtu.be/FRRlFLfdvBE?si=HWn88BwJGTJvEBUD",tags:[],isNew:!0}],["rock-paper-scissor",{title:"Rock Paper Scissor",link:"rock-paper-scissor/",difficulty:"easy",developer:"AckermanLevi1",tags:[],isNew:!0}],["MadStory_generator",{title:"MadStory Generator",link:"MadStory_generator/",difficulty:"easy",developer:"hritik",tags:[]}],["multi-typing",{title:"Multi Typing",link:"multi-typing/",difficulty:"easy",developer:"noorulaink00",youtube:"https://youtu.be/YCDeOT7DRnI",tags:[]}],["bill-spilt",{title:"Bill Split",link:"bill-spilt/",difficulty:"easy",developer:"Sukomal07",youtube:"https://youtu.be/4H2DyrSJeYc",tags:[]}],["simon-game",{title:"Simon game",link:"simon-game/",difficulty:"easy",developer:"VishakhaSainani",tags:[],isNew:!0}],["blobmaker",{title:"Blob Maker",link:"blobmaker/",difficulty:"easy",developer:"AbhineshJha",tags:[]}],["fitness-tracker",{title:"Fitness Tracker",link:"fitness-tracker/",difficulty:"easy",developer:"CrypticRevenger",tags:[]}],["atm-simulator",{title:"ATM Simulator",link:"atm-simulator/",difficulty:"easy",developer:"Bratajit-03",tags:[],isNew:!0}],["finance-tracker",{title:"Finance Tracker",link:"finance-tracker/",difficulty:"medium",developer:"sujitmahapatra",tags:[]}],["meme-generator",{title:"Meme Generator",link:"meme-generator/",difficulty:"medium",developer:"noorulaink00",youtube:"https://youtu.be/LHo9Hi47MTo",tags:[]}],["weather-app",{title:"Weather App",link:"weather-app/",difficulty:"medium",developer:"shruti-sen2004",tags:[],isNew:!0}],["toast-popup",{title:"Toast Popup",link:"toast-popup/",difficulty:"medium",developer:"sadanandpai",youtube:"https://youtu.be/-p3N5bJXEK8",tags:[]}],["column-table",{title:"Column Table",link:"column-table/",difficulty:"medium",developer:"sadanandpai",tags:[]}],["password-strength",{title:"Password Strength",link:"password-strength/",difficulty:"medium",developer:"sadanandpai",tags:[]}],["star-rating",{title:"Star Rating",link:"star-rating/",difficulty:"medium",developer:"sadanandpai",tags:[]}],["star-rating-display",{title:"Star Rating Display",link:"star-rating-display/",difficulty:"medium",developer:"sadanandpai",tags:[]}],["pixel-art",{title:"Pixel Art",link:"pixel-art/",difficulty:"medium",developer:"sadanandpai",tags:[]}],["word-counter",{title:"Word Counter (online)",link:"word-counter/",difficulty:"medium",developer:"AckermanLevi1",tags:[]}],["color-spotter",{title:"Color Spotter",link:"color-spotter/",difficulty:"medium",developer:"sadanandpai",tags:[]}],["todo-list",{title:"Todo List",link:"todo-list/",difficulty:"medium",developer:"sadanandpai",tags:[]}],["gradient-generator",{title:"Gradient Generator",link:"gradient-generator/",difficulty:"medium",developer:"Sukomal07",tags:[],isNew:!0}],["transfer-list",{title:"Transfer List",link:"transfer-list/",difficulty:"medium",developer:"sadanandpai",tags:[]}],["lift-simulation",{title:"Lift Simulation",link:"lift-simulation/",difficulty:"medium",developer:"gauravsinhaweb",tags:[],isNew:!0}],["tic-tac-toe",{title:"Tic-Tac-Toe",link:"tic-tac-toe/",difficulty:"medium",developer:"sadanandpai",tags:[]}],["chess-board",{title:"Chess board",link:"chess-board/",difficulty:"medium",developer:"sadanandpai",tags:[]}],["chips-input",{title:"Chips Input",link:"chips-input/",difficulty:"medium",developer:"sadanandpai",tags:[]}],["infinite-scroll",{title:"Infinite Scroll",link:"infinite-scroll/",difficulty:"medium",developer:"srijanB7",tags:[]}],["password-generator",{title:"Password Generator",link:"password-generator/",difficulty:"medium",developer:"sadanandpai",tags:[]}],["analog-clock",{title:"Analog Clock",link:"analog-clock/",difficulty:"medium",developer:"sadanandpai",tags:[]}],["drag-and-drop-puzzle",{title:"Drag and Drop Puzzle",link:"drag-and-drop-puzzle/",difficulty:"medium",developer:"noorulaink00",tags:[],isNew:!0}],["basic-calculator",{title:"Basic calculator",link:"basic-calculator/",difficulty:"medium",developer:"sadanandpai",tags:[]}],["match-pair",{title:"Match Pair",link:"match-pair/",difficulty:"medium",developer:"sadanandpai",tags:[]}],["typing-speed-test",{title:"Typing Speed Test",link:"typing-speed-test/",difficulty:"medium",developer:"sadanandpai",tags:[]}],["count-down-timer",{title:"Countdown Timer",link:"count-down-timer/",difficulty:"medium",developer:"sadanandpai",tags:[]}],["otp-input",{title:"OTP Input",link:"otp-input/",difficulty:"medium",developer:"sadanandpai",tags:[]}],["quiz-app",{title:"Quiz App",link:"quiz-app/",difficulty:"medium",developer:"Kei-K23",tags:[],isNew:!0}],["sorting-visualizer",{title:"Sorting Visualizer",link:"sorting-visualizer/",difficulty:"medium",developer:"viditagrawal56",tags:[],isNew:!0}],["snake-game",{title:"Snake Game",link:"snake-game/",difficulty:"medium",developer:"Kei-K23",tags:[]}],["hangman-game",{title:"Hangman Game",link:"hangman-game/",difficulty:"medium",developer:"Kei-K23",tags:[],isNew:!0}],["area-selector",{title:"Area Selector",link:"area-selector/",difficulty:"medium",developer:"sadanandpai",tags:[]}],["25-5-clock",{title:"25-5 Clock",link:"25-5-clock/",difficulty:"medium",developer:"caesar003",tags:[]}],["carousel",{title:"Carousel",link:"carousel/",difficulty:"medium",developer:"sadanandpai",tags:[]}],["calendar",{title:"Calendar",link:"calendar/",difficulty:"medium",developer:"sadanandpai",tags:[]}],["progress-bar",{title:"Progress Bar",link:"progress-bar/",difficulty:"medium",developer:"sadanandpai",tags:[]}],["movie-info",{title:"Movie-info app (online)",link:"movie-info/",difficulty:"medium",developer:"AckermanLevi1",tags:[]}],["quiz-app-with-timer",{title:"Quiz App with Timer",link:"quiz-app-with-timer/",difficulty:"medium",developer:"Vivek-GuptaXCode",tags:[]}],["paginator",{title:"Paginator",link:"paginator/",difficulty:"hard",developer:"sadanandpai",tags:[]}],["connect-four",{title:"Connect Four",link:"connect-four/",difficulty:"hard",developer:"sadanandpai",tags:[]}],["comment-box",{title:"Comment box",link:"comment-box/",difficulty:"hard",developer:"sadanandpai",tags:[]}],["json-creator",{title:"JSON Creator",link:"json-creator/",difficulty:"hard",developer:"sadanandpai",tags:[]}],["array-methods",{title:"Array methods",link:"array-methods/",difficulty:"hard",developer:"sadanandpai",tags:[]}],["type-ahead",{title:"Typeahead / Autocomplete (offline)",link:"type-ahead/",difficulty:"hard",developer:"sadanandpai",tags:[]}],["type-ahead-online",{title:"Typeahead / Autocomplete (online)",link:"type-ahead-online/",difficulty:"hard",developer:"sadanandpai",tags:[]}]]),Ra=U(Sa);var ka=new Map([["counter",{title:"Counter",link:"counter",difficulty:"easy",developer:"sadanandpai",tags:[]}],["programming-languages-multiverse",{title:"Programming Multiverse",link:"programming-languages-multiverse",difficulty:"easy",developer:"Sumitwarrior7",tags:[]}],["anagram-checker",{title:"Anagram Checker",link:"anagram-checker",difficulty:"easy",developer:"Manmit Tiwade",tags:[]}],["quote-generator",{title:"Quote Generator",link:"quote-generator",difficulty:"easy",developer:"viditagrawal56",tags:[]}],["image-gallery",{title:"Image Gallery",link:"image-gallery",difficulty:"easy",developer:"Bhushan1019",tags:[]}],["accordion",{title:"Accordion",link:"accordion",developer:"NikhilJHA01",difficulty:"easy",tags:[]}],["background-changer",{title:"Background Changer",link:"background-changer",developer:"AdityaSuryawanshi",difficulty:"easy",tags:[]}],["light-dark-mode",{title:"Light Dark Mode",link:"light-dark-mode",difficulty:"easy",developer:"NikhilJHA01",tags:[]}],["qr-code-generator",{title:"QR generator",link:"qr-code-generator",difficulty:"easy",developer:"Krishnakalani111",tags:[]}],["your-sport",{title:"Your Sport",link:"your-sport",difficulty:"easy",developer:"Sumitwarrior7",tags:[]}],["table-colorizer",{title:"Table Colorizer",link:"table-colorizer",difficulty:"easy",developer:"ravi02205",tags:[]}],["Guess-the-number",{title:"Guess the number",link:"Guess-the-number",difficulty:"easy",developer:"deepakrajkranti",tags:[]}],["pagination",{title:"Pagination",link:"pagination",difficulty:"easy",developer:"Pancratzia",tags:[]}],["stack",{title:"Stack",link:"stack",difficulty:"easy",developer:"kumaratul60",tags:[]}],["word-count",{title:"Word Count",link:"word-count",difficulty:"easy",developer:"Sumitwarrior7",tags:[]}],["temperature-converter",{title:"Temperature Converter",link:"temperature-converter",difficulty:"easy",developer:"Sumitwarrior7",tags:[]}],["star-Rating",{title:"Star Rating",link:"star-Rating",difficulty:"easy",developer:"NikhilJHA01",tags:[]}],["telephone-formatter",{title:"Telephone formatter",link:"telephone-formatter",difficulty:"easy",developer:"arpansaha13",tags:[]}],["string-transformers",{title:"String transformers",link:"string-transformers",difficulty:"easy",developer:"arpansaha13",tags:[]}],["tic-tac-toe",{title:"Tic Tac Toe",link:"tic-tac-toe",difficulty:"easy",developer:"rashidtvmr",tags:[]}],["expense-tracker",{title:"Expense Tracker",link:"expense-tracker",difficulty:"easy",developer:"harsh472000",tags:[]}],["25-5-clock",{title:"25-5 Clock",link:"25-5-clock",difficulty:"easy",developer:"caesar003",tags:[]}],["bmi-calculator",{title:"BMI Calculator",link:"bmi-calculator",difficulty:"easy",developer:"ashikjhonson",tags:[]}],["stepper",{title:"STEPPER",link:"stepper",difficulty:"easy",developer:"codechitra",tags:[],isNew:!0}],["calculator",{title:"Calculator",link:"calculator",difficulty:"medium",developer:"liza",tags:[]}],["color-mixer",{title:"Color Mixer",link:"color-mixer",difficulty:"medium",developer:"Sumitwarrior7",tags:[]}],["traffic-lights",{title:"Traffic Lights",link:"traffic-lights",difficulty:"medium",developer:"rishabhm05",tags:[]}],["email-templates",{title:"Email Templates",link:"email-templates",difficulty:"medium",developer:"sadanandpai",tags:[]}],["toast-popup",{title:"Toast Popup",link:"toast-popup",difficulty:"medium",developer:"deepu0",tags:[]}],["modal-popup",{title:"Modal Popup",link:"modal-popup",difficulty:"medium",developer:"rishabhm05",tags:[]}],["password-strength",{title:"Password Strength",link:"password-strength",difficulty:"medium",developer:"deepu0",tags:[]}],["timeline",{title:"Timeline",link:"timeline",difficulty:"medium",developer:"Vivek7038",tags:[],isNew:!0}],["column-table",{title:"Column Table",link:"column-table",difficulty:"medium",developer:"sadanandpai",tags:[]}],["todo-list",{title:"Todo List",link:"todo-list",difficulty:"medium",developer:"deepakrajkranti",tags:[]}],["emoji-picker",{title:"Emoji Picker",link:"emoji-picker",difficulty:"medium",developer:"jeevaramanathan",tags:[]}],["investment-calculator",{title:"Investment Calculator",link:"investment-calculator",difficulty:"medium",developer:"insharahAyyubi",tags:[]}],["stopwatch",{title:"Stopwatch",link:"stopwatch",difficulty:"medium",developer:"rashidtvmr",tags:[]}],["progressbar",{title:"Progressbar",link:"progressbar",difficulty:"medium",developer:"dhanu084",tags:[]}],["quiz-app",{title:"Quiz App",link:"quiz-app",difficulty:"medium",developer:"AbhilashMadi",tags:[]}],["chess-board",{title:"Chess Board",link:"chess-board",difficulty:"medium",developer:"AbhilashMadi",tags:[]}],["nested-dropdown",{title:"Nested Dropdown",link:"nested-dropdown",difficulty:"medium",developer:"AnkitKTrivedi",tags:[]}],["food-recipe",{title:"Food Recipe",link:"food-recipe",difficulty:"medium",developer:"Kei-K23",tags:[]}],["nested-comments",{title:"Nested Comments",link:"nested-comments",difficulty:"hard",developer:"Akshay-Omkar",tags:[],isNew:!0}],["password-generator",{title:"Password Generator",link:"password-generator",difficulty:"medium",developer:"Kei-K23",tags:[]}],["transfer-list",{title:"Transfer List",link:"transfer-list",difficulty:"medium",developer:"DeePaK-HeeRaKaRi",tags:[]}],["infinite-scrolling",{title:"Infinite Scrolling (online)",link:"infinite-scrolling",difficulty:"medium",developer:"ayush-dutt-sharma",tags:[]}],["match-pair",{title:"Match Pair",link:"match-pair",difficulty:"medium",developer:"sadanandpai",tags:[]}],["word-connect",{title:"Word Connect",link:"word-connect",difficulty:"hard",developer:"sadanandpai",tags:[],isNew:!0}],["otp",{title:"OTP",link:"otp",difficulty:"hard",developer:"rishabhm05",tags:[]}],["file-explorer",{title:"File Explorer",link:"file-explorer",difficulty:"hard",developer:"sadanandpai",tags:[]}],["autocomplete-offline",{title:"Typeahead / Autocomplete (offline)",link:"autocomplete-offline",difficulty:"hard",developer:"deepu0",tags:[]}],["autocomplete-online",{title:"Typeahead / Autocomplete (online)",link:"autocomplete-online",difficulty:"hard",developer:"deepu0",tags:[]}],["water-balancer",{title:"Water Balancer",link:"water-balancer",difficulty:"hard",developer:"sadanandpai",tags:[],isNew:!0}],["inline-options",{title:"Inline Options",link:"inline-options",difficulty:"easy",developer:"takshch",tags:[]}],["digital-clock",{title:"Digital Clock",link:"digital-clock",difficulty:"medium",developer:"Syamsai-Polavarapu",tags:[],isNew:!0}],["15puzzle",{title:"15 Puzzle",link:"15puzzle",difficulty:"medium",developer:"Bateusz",tags:[],isNew:!0}],["feedback-modal",{title:"Feedback Modal",link:"feedback-modal",difficulty:"medium",developer:"ssudipta",tags:[]}],["memory-game",{title:"Memory Game",link:"memory-game",difficulty:"medium",developer:"Akshat-Gupta",tags:[],isNew:!0}],["chip-input",{title:"Chips Input",link:"chip-input",difficulty:"medium",developer:"Akshay-Omkar",tags:[],isNew:!0}],["tabs",{title:"Tab",link:"tabs",difficulty:"easy",developer:"Akshay-Omkar",tags:[],isNew:!0}],["drag-drop",{title:"Drag-Drop",link:"drag-drop",difficulty:"medium",developer:"Akshay-Omkar",tags:[],isNew:!0}],["circles",{title:"Circles",link:"circles",difficulty:"medium",developer:"sadanandpai",tags:[],isNew:!0}],["analog-clock",{title:"Analog Clock",link:"analog-clock",difficulty:"medium",developer:"sadanandpai",tags:[],isNew:!0}]]),Ta=U(ka);var Ma=new Map([["counter",{title:"Counter",link:"/counter",difficulty:"easy",developer:"arpansaha13",tags:[]}],["accordion",{title:"Accordion",link:"/accordion",difficulty:"easy",developer:"arpansaha13",tags:[]}],["light-dark-mode",{title:"Light Dark Mode",link:"/light-dark-mode",difficulty:"easy",developer:"arpansaha13",tags:[]}],["table-colorizer",{title:"Table Colorizer",link:"/table-colorizer",difficulty:"easy",developer:"arpansaha13",tags:[]}],["guess-the-number",{title:"Guess the number",link:"/guess-the-number",difficulty:"easy",developer:"arpansaha13",tags:[]}],["pagination",{title:"Pagination",link:"/pagination",difficulty:"easy",developer:"arpansaha13",tags:[]}],["stack",{title:"Stack",link:"/stack",difficulty:"easy",developer:"jaydadhaniya",tags:[]}],["telephone-formatter",{title:"Telephone formatter",link:"/telephone-formatter",difficulty:"easy",developer:"arpansaha13",tags:[]}],["temprature-converter",{title:"Temprature Converter",link:"/temprature-converter",difficulty:"easy",developer:"bhumikkalola",tags:[]}],["tic-tac-toe",{title:"Tic Tac Toe",link:"/tic-tac-toe",difficulty:"medium",developer:"sadanandpai",tags:[]}],["toast-popup",{title:"Toast Popup",link:"/toast-popup",difficulty:"medium",developer:"arpansaha13",tags:[]}],["password-strength",{title:"Password Strength",link:"/password-strength",difficulty:"medium",developer:"jaydadhaniya",tags:[]}],["password-generator",{title:"Password Generator",link:"/password-generator",difficulty:"medium",developer:"bhumikkalola",tags:[]}],["stopwatch",{title:"Stopwatch",link:"/stopwatch",difficulty:"medium",developer:"Shardik04",tags:[]}]]),Aa=U(Ma);var Ea=new Map([["counter",{title:"Counter",link:"counter",difficulty:"easy",developer:"sadanandpai",tags:[],isNew:!0}],["guess-number",{title:"Guess Number",link:"guess-number",difficulty:"easy",developer:"pankajparkar",tags:[],isNew:!0}],["todo-list",{title:"Todo list",link:"todo-list",difficulty:"easy",developer:"pankajparkar",tags:[],isNew:!0}],["stack",{title:"Stack",link:"stack",difficulty:"easy",developer:"pankajparkar",tags:[],isNew:!0}],["tic-tac-toe",{title:"Tic tac toe",link:"tic-tac-toe",difficulty:"easy",developer:"pankajparkar",tags:[],isNew:!0}],["word-count",{title:"Word Count",link:"word-count",difficulty:"easy",developer:"pankajparkar",tags:[],isNew:!0}]]),On=U(Ea);var Yr=(()=>{let e=class e{constructor(){this.title="Challenge",this.homeURL=Pt()?"http://localhost:6010/frontend-mini-challenges/":"/frontend-mini-challenges/",this.backURL=Pt()?"http://localhost:6010/frontend-mini-challenges/#/angular/":"/frontend-mini-challenges/#/angular/"}};e.\u0275fac=function(r){return new(r||e)},e.\u0275cmp=_({type:e,selectors:[["app-navbar"]],inputs:{title:"title"},standalone:!0,features:[z],decls:11,vars:3,consts:[[1,"navbar"],[1,"left"],[1,"back",3,"href"],[1,"logo",3,"href"],["src","https://github.com/sadanandpai/frontend-mini-challenges/raw/main/shared/assets/core/logo.png","alt","logo"],[1,"right"],["href","https://github.com/sadanandpai/frontend-mini-challenges/","target","blank"],["src","https://cdn-icons-png.flaticon.com/512/25/25231.png","alt","github repo",1,"github"]],template:function(r,s){r&1&&(W(0,"nav",0)(1,"div",1)(2,"a",2),Dt(3," < "),Z(),W(4,"a",3),x(5,"img",4),Z()(),W(6,"h1"),Dt(7),Z(),W(8,"div",5)(9,"a",6),x(10,"img",7),Z()()()),r&2&&(Ve(2),Ce("href",s.backURL,Mt),Ve(2),Ce("href",s.homeURL,Mt),Ve(3),Yn(s.title))},styles:[".navbar[_ngcontent-%COMP%]{display:flex;gap:2rem;align-items:center;justify-content:space-between;padding:1rem;margin-bottom:1rem;background:linear-gradient(180deg,lavenderblush 0%,white 100%);box-shadow:0 4px 4px #0000001a}.navbar[_ngcontent-%COMP%] .left[_ngcontent-%COMP%]{display:flex;flex:1;gap:.5rem;align-items:center}.navbar[_ngcontent-%COMP%] .left[_ngcontent-%COMP%] .back[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;width:2rem;color:#000;transform:scaleY(2)}.navbar[_ngcontent-%COMP%] .left[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%]{display:flex;flex-grow:1;gap:.5rem;align-items:center}.navbar[_ngcontent-%COMP%] .left[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:40px;height:40px}.navbar[_ngcontent-%COMP%] .left[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:1.2rem;font-weight:500;color:#000}.navbar[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{margin:0}.navbar[_ngcontent-%COMP%] .right[_ngcontent-%COMP%]{flex:1;text-align:right}.navbar[_ngcontent-%COMP%] .right[_ngcontent-%COMP%] .github[_ngcontent-%COMP%]{width:30px;height:30px;vertical-align:text-bottom}"]});let n=e;return n})();var Jr=(()=>{let e=class e{constructor(){this.title="Challenge",this.router=f(ht)}ngOnInit(){let t=this.router.url.split("/").at(-1);if(!t)return;let r=On.get(t);r&&(this.title=r.title)}};e.\u0275fac=function(r){return new(r||e)},e.\u0275cmp=_({type:e,selectors:[["app-challenge-container"]],standalone:!0,features:[z],decls:3,vars:1,consts:[[3,"title"],[1,"container"]],template:function(r,s){r&1&&(x(0,"app-navbar",0),W(1,"div",1),x(2,"router-outlet"),Z()),r&2&&Ce("title",s.title)},dependencies:[Yr,_e],encapsulation:2});let n=e;return n})();var Xr=[{path:"",component:Jr,children:[{path:"counter",loadComponent:()=>import("./chunk-P6JRW256.js").then(n=>n.CounterComponent),data:{title:"counter"}},{path:"guess-number",loadComponent:()=>import("./chunk-2GACWZDO.js").then(n=>n.GuessNumberComponent),data:{title:"Guess number"}},{path:"stack",loadComponent:()=>import("./chunk-6UZ3QE7S.js").then(n=>n.StackComponent),data:{title:"Stack"}},{path:"tic-tac-toe",loadComponent:()=>import("./chunk-RYO7AHJW.js").then(n=>n.TicTacToeComponent),data:{title:"Tic tac toe"}},{path:"todo-list",loadComponent:()=>import("./chunk-QSPVKJQN.js").then(n=>n.TodoAppComponent),data:{title:"Todo list"}},{path:"word-count",loadComponent:()=>import("./chunk-4P7VNLHJ.js").then(n=>n.WordCountComponent),data:{title:"Word count"}}]}];var ei={providers:[Zr(Xr),{provide:Nt,useClass:jt}]};var ti=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275cmp=_({type:e,selectors:[["app-root"]],standalone:!0,features:[z],decls:1,vars:0,template:function(r,s){r&1&&x(0,"router-outlet")},dependencies:[_e]});let n=e;return n})();gr(ti,ei).catch(n=>console.error(n)); diff --git a/docs/assets/css-NOfCHX53.png b/docs/assets/css-NOfCHX53.png new file mode 100644 index 0000000000000000000000000000000000000000..d4a1f89eb264133113730e203c79e0ed414d495a GIT binary patch literal 32176 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 literal 0 HcmV?d00001 diff --git a/docs/assets/index-VU6XtGG3.css b/docs/assets/index-JCIMvvOL.css similarity index 73% rename from docs/assets/index-VU6XtGG3.css rename to docs/assets/index-JCIMvvOL.css index 3eefb2650..7f48eccc6 100644 --- a/docs/assets/index-VU6XtGG3.css +++ b/docs/assets/index-JCIMvvOL.css @@ -1 +1 @@ -@import"https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap";._heading_8v9q8_1{margin-bottom:3rem;text-align:center}._maintainerContainer_8v9q8_6{text-align:center;margin-bottom:2rem}._maintainerContainer_8v9q8_6 ._contributor_8v9q8_10{width:80px;height:80px}._contributionContainer_8v9q8_15{display:flex;flex-wrap:wrap;gap:1rem;justify-content:center;list-style-type:none}._contributor_8v9q8_10{display:inline-block;width:60px;height:60px;margin:0 1rem;transition:.5s all}._contributor_8v9q8_10 img{width:100%;height:100%;border:2px solid orange;border-radius:50%}._contributor_8v9q8_10:hover{transform:scale(1.1)}@media screen and (width >= 768px){._maintainerContainer_8v9q8_6 ._contributor_8v9q8_10{width:120px;height:120px}._contributor_8v9q8_10{width:80px;height:80px}}._heading_1m5el_1{margin-bottom:3rem;text-align:center}._features_1m5el_6{display:flex;flex-direction:column;gap:max(5%,50px);width:100%;padding:0 5%;margin-bottom:4rem}._features_1m5el_6 article{flex-basis:0;flex-grow:1;padding:1rem;text-align:center;border-radius:8px;box-shadow:0 0 4px #00000080}._features_1m5el_6 article h3{font-size:1.4rem;font-weight:500}@media screen and (width >= 768px){._features_1m5el_6{flex-direction:row}}._footer_1l7qe_1{padding-top:1rem;padding-bottom:1rem;margin:3rem 0 1rem;color:#fff;text-align:center;background-color:#6554ff;border-top:2px solid lightgrey}._hero_9pexl_1{display:flex;flex-direction:column;justify-content:space-between;text-align:center}._hero_9pexl_1 p{margin-bottom:2rem}._figure_9pexl_11{margin:0;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center}._figure_9pexl_11 ._heroImage_9pexl_19{width:min(80vh,80vw);aspect-ratio:1.5217391304}._link_9pexl_24 a{display:inline-block;padding:1rem;margin:.5rem 0;font-weight:600;letter-spacing:.3rem;color:#000;background-color:#fff;border:.19rem solid rgba(31,6,255,.687);border-radius:8px;box-shadow:0 4px 4px #0000001f}._link_9pexl_24 a:hover{box-shadow:0 0 20px #00000057}._heroTechImg_9pexl_40{display:flex;justify-content:center;align-items:center;gap:10px}@media screen and (width >= 768px){._hero_9pexl_1{flex-direction:row;text-align:left}._hero_9pexl_1 p{margin-bottom:3rem}._heroTechImg_9pexl_40{display:flex;justify-content:start;gap:10px}._figure_9pexl_11 ._heroImage_9pexl_19{width:min(60vh,60vw)}}._containerWrapper_1iakk_1{width:100%;height:100%;background-color:var(--bg-body);color:var(--text-body);padding-block-end:1rem}._container_1iakk_1{max-width:min(90%,1200px);margin:0 auto}._hr_1iakk_14{margin:3rem 0;border:none;border-top:1px solid lightgray}._navbar_18pra_1{display:flex;align-items:center;justify-content:space-between;padding:1rem;margin-bottom:1rem;background-color:var(--bg-navbar);box-shadow:0 1px 3px 0 var(--shadow-navbar),0 1px 2px -1px var(--shadow-navbar);transition:all .15s ease-in-out;--icon-container-size: 26px;--github-svg-size: 26px}._navbar_18pra_1 ._logo_18pra_13{display:flex;gap:.5rem;align-items:center}._navbar_18pra_1 ._logo_18pra_13 img{width:var(--icon-container-size);height:var(--icon-container-size)}._navbar_18pra_1 ._logo_18pra_13 span{color:var(--text-body);text-align:center;font-weight:500;font-size:1rem}._navbar_18pra_1 ._right_18pra_28{display:flex;gap:2rem}._navbar_18pra_1 ._links_18pra_32{display:none}._navbar_18pra_1 ._github_18pra_35{display:flex;align-items:center;justify-content:center;width:var(--icon-container-size);height:var(--icon-container-size);color:var(--text-body)}._navbar_18pra_1 ._github_18pra_35>svg{width:var(--github-svg-size);height:var(--github-svg-size)}._navbar_18pra_1 ._hamburger_18pra_47{display:none}._navbar_18pra_1 ._hamburger_18pra_47 button{border:none;background:transparent}@media screen and (max-width: 768px){._navbar_18pra_1 ._github_18pra_35,._navbar_18pra_1 ._themeButton_18pra_58{display:none}._navbar_18pra_1 ._hamburger_18pra_47{display:flex;align-items:center;justify-content:center;width:var(--icon-container-size);height:var(--icon-container-size);color:var(--text-body)}._navbar_18pra_1 ._hamburger_18pra_47>svg{width:var(--github-svg-size);height:var(--github-svg-size)}}@media screen and (width >= 768px){._navbar_18pra_1{--icon-container-size: 40px;--github-svg-size: 30px}._navbar_18pra_1 ._links_18pra_32{display:flex;gap:2rem;align-items:center}._navbar_18pra_1 ._logo_18pra_13>span{font-size:1.2rem}}._right_18pra_28:first-child{display:flex}._drawerContent_18pra_93{padding:1rem}._drawerList_18pra_97{list-style-type:none;padding:0;margin:0}._drawerListItem_18pra_103{margin-bottom:1rem}._ant-drawer-close_18pra_107{justify-content:flex-end;padding-left:50px;margin-left:500px}._ant-drawer-header_18pra_113{display:flex;justify-content:space-between;align-items:center}._ant-drawer-header_18pra_113 ._ant-drawer-title_18pra_118{justify-content:flex-start}._ant-drawer-header_18pra_113 ._ant-drawer-close_18pra_107{justify-content:flex-end}._themeButton_18pra_58{border:none;color:var(--text-link);background-color:inherit}._heading_1jxz1_1{text-align:center}._testimonial_1jxz1_5{width:70%;padding:1rem;margin:auto}._testimonial_1jxz1_5 ._heading_1jxz1_1{display:flex;gap:25px;align-items:center;justify-content:center}._testimonial_1jxz1_5 ._heading_1jxz1_1 img{width:80px;height:80px;border-radius:50%}._testimonial_1jxz1_5 ._heading_1jxz1_1 h4,._testimonial_1jxz1_5 ._heading_1jxz1_1 h5{font-weight:500}._testimonial_1jxz1_5 p{padding:.5rem 0 1rem;font-weight:400;text-align:center}@media screen and (width >= 768px){._testimonial_1jxz1_5{width:50%}}._topBtn_1lydx_1{margin:0;display:flex;justify-items:center;align-items:center;background:none;border:none;border-radius:100%;background-color:#1f06ffaf;padding:15px;cursor:pointer;position:fixed;right:2.5rem;bottom:2rem;transition:all;transition-duration:.3s}._topBtn_1lydx_1 svg{color:#fff}._topBtn_1lydx_1:hover{transform:scale(1.1);transition:all;transition-duration:.3s}._leaderboardTableWrapper_w0t73_1{margin:0 auto;box-shadow:0 0 30px #00000012;border-radius:10px;width:100%;padding:10px;margin-bottom:5rem}table._leaderboardTable_w0t73_1{border:none;border-collapse:collapse;width:100%;font-size:14px}table._leaderboardTable_w0t73_1 thead,table._leaderboardTable_w0t73_1 td{border:none}table._leaderboardTable_w0t73_1 thead>tr>td:nth-child(2){text-align:left;padding-left:25px}table._leaderboardTable_w0t73_1 tr{border-bottom:1px solid rgba(204,204,204,.5)}table._leaderboardTable_w0t73_1 tr:last-of-type{border-bottom:none}._leaderBoardTableData_w0t73_31{border-top-style:hidden;border-bottom-style:hidden;text-align:center}._leaderBoardContributorImg_w0t73_37,._userProfileImg_w0t73_38{width:30px;height:30px;border:2px solid orange;border-radius:50%;margin-right:10px}._leaderBoardContributorName_w0t73_46{text-align:left}._leaderBoardHeading_w0t73_50,._userProfileHeading_w0t73_51{margin-bottom:3rem;text-align:center}._profileDetailsContainer_w0t73_56{display:flex}._profileLink_w0t73_60{display:flex;align-items:center}._profileLink_w0t73_60 span{font-size:12px}._fontWeightNormal_w0t73_68{font-weight:300}._contributionTableCell_w0t73_72{display:grid;grid-template-columns:repeat(5,1fr)}._contributionTableCell_w0t73_72 ._techStackDiv_w0t73_76{font-size:14px;display:flex;flex-direction:column;align-items:start;justify-content:center}._contributionTableCell_w0t73_72 ._techStackDiv_w0t73_76 ._techStackImg_w0t73_83{width:20px;height:20px}._contributionTableCell_w0t73_72 ._techStackDivWrapper_w0t73_87{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.5rem}._contributionTableCell_w0t73_72 div:last-of-type{grid-column-end:-1;display:flex;flex-direction:column}._totalContributions_w0t73_101{display:flex;align-items:center;justify-content:center}._totalContributions_w0t73_101 div:first-child{display:none}._totalContributions_w0t73_101 div:last-child{font-weight:500}._leaderboardTableWrapper_w0t73_1 table,._leaderboardTableWrapper_w0t73_1 thead,._leaderboardTableWrapper_w0t73_1 tbody,._leaderboardTableWrapper_w0t73_1 th,._leaderboardTableWrapper_w0t73_1 td,._leaderboardTableWrapper_w0t73_1 tr{display:block}._leaderboardTableWrapper_w0t73_1 thead tr{display:none}tr._leaderboardRowContainer_w0t73_125{display:grid;grid-template-columns:repeat(6,1fr);grid-template-areas:"index name name name name name" ". contributions contributions contributions contributions contributions"}td._index_w0t73_131{grid-area:index;display:flex;align-items:center;justify-content:center;font-weight:500}td._name_w0t73_139{grid-area:name;display:flex;align-items:center;justify-content:start}td._contributions_w0t73_146{grid-area:contributions}._leaderBoardContributorImg_w0t73_37,._userProfileImg_w0t73_38{width:40px;height:40px;margin-right:15px}._leaderBoardContributorName_w0t73_46{font-size:16px!important;font-weight:500}@media screen and (min-width: 500px){._leaderboardTableWrapper_w0t73_1 table,._leaderboardTableWrapper_w0t73_1 thead,._leaderboardTableWrapper_w0t73_1 tbody,._leaderboardTableWrapper_w0t73_1 th,._leaderboardTableWrapper_w0t73_1 td,._leaderboardTableWrapper_w0t73_1 tr,._leaderboardTableWrapper_w0t73_1 thead tr{display:revert}._leaderboardTableWrapper_w0t73_1 td._index_w0t73_131{font-weight:400}table._leaderboardTable_w0t73_1{font-size:12px}table._leaderboardTable_w0t73_1 thead{border-bottom:1px solid rgba(204,204,204,.5)}._leaderBoardContributorImg_w0t73_37,._userProfileImg_w0t73_38{width:40px;height:40px;margin-right:15px}._leaderBoardContributorName_w0t73_46{font-size:14px!important;font-weight:400}._contributionTableCell_w0t73_72 ._techStackDiv_w0t73_76{display:block!important}._contributionTableCell_w0t73_72 ._techStackDiv_w0t73_76 ._techStackImg_w0t73_83{width:15px;height:15px}._contributionTableCell_w0t73_72 ._techStackDiv_w0t73_76 ._techStackDivWrapper_w0t73_87{display:block!important}._contributionTableCell_w0t73_72 div:last-of-type{justify-content:space-between}._contributionTableCell_w0t73_72 div:last-of-type div:first-of-type{display:block}._totalContributions_w0t73_101{font-weight:500}}@media screen and (min-width: 769px){table._leaderboardTable_w0t73_1,._contributionTableCell_w0t73_72 ._techStackDiv_w0t73_76{font-size:14px}._contributionTableCell_w0t73_72 ._techStackDiv_w0t73_76 ._techStackImg_w0t73_83{width:20px;height:20px}._contributionTableCell_w0t73_72 div:last-of-type div{font-size:14px}}@media screen and (min-width: 960px){._leaderboardTableWrapper_w0t73_1{max-width:70%;padding:10px 30px}._leaderBoardContributorImg_w0t73_37,._userProfileImg_w0t73_38{width:60px;height:60px;margin-right:20px}._techStackImg_w0t73_83{width:30px;height:30px}._contributionTableCell_w0t73_72{max-width:250px;margin-left:auto}}@media screen and (min-width: 1440px){._leaderboardTableWrapper_w0t73_1{max-width:820px}}:root{--bg-body: #f3f4f6;--text-body: #111827;--bg-navbar: #f9fafb;--shadow-navbar: rgba(0 0 0 / .1);--bg-navbar-logo-img: transparent;--bg-footer: #f9fafb;--shadow-footer: rgba(0 0 0 / .1);--text-link: blue;--card-shadow: rgb(0 0 0 / 15%)}[data-theme=dark]{--bg-body: #030712;--text-body: #e5e7eb;--bg-navbar: #030712;--shadow-navbar: rgba(150 150 150 / .2);--bg-footer: var(--bg-body);--shadow-footer: #1f2937;--text-link: #6366f1;--card-shadow: rgb(150 150 150/ 20%);color-scheme:dark}html{margin:0;box-sizing:border-box;font-family:Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif}*,*:before,*:after{box-sizing:inherit}body{margin:0;color:var(--text-body);transition:all .15s ease-in-out}a{text-decoration:none;color:var(--text-link)}button{cursor:pointer}input:disabled,button:disabled{cursor:not-allowed}h1{align-items:center;justify-content:center}.container{width:90%;margin:auto}.hidden{display:none!important}button.btn.btn-primary{padding:10px 16px;background-color:#0ff;border:1px solid grey;border-radius:4px;cursor:pointer}button.btn:disabled,.btn.btn-primary:disabled{cursor:not-allowed}.btn.btn-primary.small{padding:4px 6px}.disabled{color:gray;cursor:not-allowed}.flex{display:flex}.flex-center{display:flex;align-items:center;justify-content:center}.grid{display:grid}.text-center{text-align:center}.text-bold{font-weight:700}.fixed{position:fixed}.relative{position:relative}html{scroll-behavior:smooth}._avatar_1jv0o_1{display:inline-block;width:1.5rem;height:1.5rem;border-radius:1000px;box-shadow:0 0 0 2px #000}._avatarGroup_1jv0o_11{display:flex;margin:auto;width:max-content}._avatarGroup_1jv0o_11>*:not(:first-child){margin-left:-.3rem}._filterOptionWrapper_1lebs_1{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:1rem;margin:2rem 0}._searchInputWrapper_1lebs_8{position:relative;height:35px}._searchInputWrapper_1lebs_8 ._searchInput_1lebs_8{outline:none;border-radius:5px;border:2px solid #ccc;width:100%;padding:.5rem 1rem .5rem 1.8rem;height:100%}._searchInputWrapper_1lebs_8 ._searchIcon_1lebs_21{position:absolute;top:50%;left:10px;transform:translateY(-50%);opacity:.7;transition:all .2s ease}._searchInputWrapper_1lebs_8 ._searchInput_1lebs_8:focus,._searchInputWrapper_1lebs_8 ._searchInput_1lebs_8:hover{border-color:var(--text-link)}._searchInputWrapper_1lebs_8 ._searchInput_1lebs_8:focus+._searchIcon_1lebs_21,._searchInputWrapper_1lebs_8 ._searchInput_1lebs_8:hover+._searchIcon_1lebs_21{opacity:1}._filterByTechWrapper_1lebs_38{grid-column-end:-1;display:flex;justify-content:flex-end;align-items:center;gap:10px}._filterByTechWrapper_1lebs_38>a{display:inline-block;width:35px;height:35px;transition:.4s ease-in-out;overflow:hidden;border-radius:4px}._filterByTechWrapper_1lebs_38>a:hover{box-shadow:0 0 20px #00000057}._filterByTechWrapper_1lebs_38>a>img{padding:2px;border-radius:4px}._filterByTechWrapper_1lebs_38>a>img._activeTech_1lebs_60{border:2px solid var(--text-link)}._emptyMessage_1lebs_64{margin:5rem auto;font-size:18px;font-weight:500}._emptyMessage_1lebs_64>div{margin-top:.5rem;font-size:14px;font-weight:400}._challengeGrid_1lebs_75{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));grid-gap:1.5rem;margin:2rem 0}._challengeCard_1lebs_82{position:relative;padding:10px;overflow:hidden;background-color:#fff;border:1px solid var(--card-shadow);box-shadow:0 6px 8px 0 var(--card-shadow);transition:all .2s ease-in-out;background-color:var(--bg-body);color:var(--text-body)}._challengeCard_1lebs_82:hover{box-shadow:0 6px 8px #0000004d;transform:scale(1.05)}._challengeCard_1lebs_82 ._avatarContainer_1lebs_97>*:not(:first-child){margin-top:.5rem}._challengeCard_1lebs_82 h3{font-size:1.25rem;font-weight:500;color:green}._challengeCard_1lebs_82._disabled_1lebs_105 h3{color:gray}._challengeCard_1lebs_82._disabled_1lebs_105{cursor:not-allowed;box-shadow:0 3px 4px #0000001a}._challengeCard_1lebs_82._disabled_1lebs_105:hover{transform:scale(1)}._challengeCard_1lebs_82 a{color:#d2691e;text-decoration:none}._challengeCard_1lebs_82 ._new_1lebs_119{position:absolute;top:0;right:0;width:4rem;font-size:1rem;color:#fff;text-align:center;background-color:#545454}._challengeCard_1lebs_82 ._developer_1lebs_129{display:flex;align-items:center;justify-content:center;font-size:.8rem;color:var(--text-body)}._challengeCard_1lebs_82 ._developer_1lebs_129>img{width:25px;height:25px;margin-right:.5rem;border-radius:50%}._challengeCard_1lebs_82 ._name_1lebs_142{color:var(--text-body)}._challengeCard_1lebs_82._medium_1lebs_145 h3{color:#4b4bff}._challengeCard_1lebs_82._hard_1lebs_148 h3{color:#ff4500} +@import"https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap";._heading_8v9q8_1{margin-bottom:3rem;text-align:center}._maintainerContainer_8v9q8_6{text-align:center;margin-bottom:2rem}._maintainerContainer_8v9q8_6 ._contributor_8v9q8_10{width:80px;height:80px}._contributionContainer_8v9q8_15{display:flex;flex-wrap:wrap;gap:1rem;justify-content:center;list-style-type:none}._contributor_8v9q8_10{display:inline-block;width:60px;height:60px;margin:0 1rem;transition:.5s all}._contributor_8v9q8_10 img{width:100%;height:100%;border:2px solid orange;border-radius:50%}._contributor_8v9q8_10:hover{transform:scale(1.1)}@media screen and (width >= 768px){._maintainerContainer_8v9q8_6 ._contributor_8v9q8_10{width:120px;height:120px}._contributor_8v9q8_10{width:80px;height:80px}}._heading_1m5el_1{margin-bottom:3rem;text-align:center}._features_1m5el_6{display:flex;flex-direction:column;gap:max(5%,50px);width:100%;padding:0 5%;margin-bottom:4rem}._features_1m5el_6 article{flex-basis:0;flex-grow:1;padding:1rem;text-align:center;border-radius:8px;box-shadow:0 0 4px #00000080}._features_1m5el_6 article h3{font-size:1.4rem;font-weight:500}@media screen and (width >= 768px){._features_1m5el_6{flex-direction:row}}._footer_1l7qe_1{padding-top:1rem;padding-bottom:1rem;margin:3rem 0 1rem;color:#fff;text-align:center;background-color:#6554ff;border-top:2px solid lightgrey}._hero_9pexl_1{display:flex;flex-direction:column;justify-content:space-between;text-align:center}._hero_9pexl_1 p{margin-bottom:2rem}._figure_9pexl_11{margin:0;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center}._figure_9pexl_11 ._heroImage_9pexl_19{width:min(80vh,80vw);aspect-ratio:1.5217391304}._link_9pexl_24 a{display:inline-block;padding:1rem;margin:.5rem 0;font-weight:600;letter-spacing:.3rem;color:#000;background-color:#fff;border:.19rem solid rgba(31,6,255,.687);border-radius:8px;box-shadow:0 4px 4px #0000001f}._link_9pexl_24 a:hover{box-shadow:0 0 20px #00000057}._heroTechImg_9pexl_40{display:flex;justify-content:center;align-items:center;gap:10px}@media screen and (width >= 768px){._hero_9pexl_1{flex-direction:row;text-align:left}._hero_9pexl_1 p{margin-bottom:3rem}._heroTechImg_9pexl_40{display:flex;justify-content:start;gap:10px}._figure_9pexl_11 ._heroImage_9pexl_19{width:min(60vh,60vw)}}._containerWrapper_1iakk_1{width:100%;height:100%;background-color:var(--bg-body);color:var(--text-body);padding-block-end:1rem}._container_1iakk_1{max-width:min(90%,1200px);margin:0 auto}._hr_1iakk_14{margin:3rem 0;border:none;border-top:1px solid lightgray}._navbar_18pra_1{display:flex;align-items:center;justify-content:space-between;padding:1rem;margin-bottom:1rem;background-color:var(--bg-navbar);box-shadow:0 1px 3px 0 var(--shadow-navbar),0 1px 2px -1px var(--shadow-navbar);transition:all .15s ease-in-out;--icon-container-size: 26px;--github-svg-size: 26px}._navbar_18pra_1 ._logo_18pra_13{display:flex;gap:.5rem;align-items:center}._navbar_18pra_1 ._logo_18pra_13 img{width:var(--icon-container-size);height:var(--icon-container-size)}._navbar_18pra_1 ._logo_18pra_13 span{color:var(--text-body);text-align:center;font-weight:500;font-size:1rem}._navbar_18pra_1 ._right_18pra_28{display:flex;gap:2rem}._navbar_18pra_1 ._links_18pra_32{display:none}._navbar_18pra_1 ._github_18pra_35{display:flex;align-items:center;justify-content:center;width:var(--icon-container-size);height:var(--icon-container-size);color:var(--text-body)}._navbar_18pra_1 ._github_18pra_35>svg{width:var(--github-svg-size);height:var(--github-svg-size)}._navbar_18pra_1 ._hamburger_18pra_47{display:none}._navbar_18pra_1 ._hamburger_18pra_47 button{border:none;background:transparent}@media screen and (max-width: 768px){._navbar_18pra_1 ._github_18pra_35,._navbar_18pra_1 ._themeButton_18pra_58{display:none}._navbar_18pra_1 ._hamburger_18pra_47{display:flex;align-items:center;justify-content:center;width:var(--icon-container-size);height:var(--icon-container-size);color:var(--text-body)}._navbar_18pra_1 ._hamburger_18pra_47>svg{width:var(--github-svg-size);height:var(--github-svg-size)}}@media screen and (width >= 768px){._navbar_18pra_1{--icon-container-size: 40px;--github-svg-size: 30px}._navbar_18pra_1 ._links_18pra_32{display:flex;gap:2rem;align-items:center}._navbar_18pra_1 ._logo_18pra_13>span{font-size:1.2rem}}._right_18pra_28:first-child{display:flex}._drawerContent_18pra_93{padding:1rem}._drawerList_18pra_97{list-style-type:none;padding:0;margin:0}._drawerListItem_18pra_103{margin-bottom:1rem}._ant-drawer-close_18pra_107{justify-content:flex-end;padding-left:50px;margin-left:500px}._ant-drawer-header_18pra_113{display:flex;justify-content:space-between;align-items:center}._ant-drawer-header_18pra_113 ._ant-drawer-title_18pra_118{justify-content:flex-start}._ant-drawer-header_18pra_113 ._ant-drawer-close_18pra_107{justify-content:flex-end}._themeButton_18pra_58{border:none;color:var(--text-link);background-color:inherit}._heading_1jxz1_1{text-align:center}._testimonial_1jxz1_5{width:70%;padding:1rem;margin:auto}._testimonial_1jxz1_5 ._heading_1jxz1_1{display:flex;gap:25px;align-items:center;justify-content:center}._testimonial_1jxz1_5 ._heading_1jxz1_1 img{width:80px;height:80px;border-radius:50%}._testimonial_1jxz1_5 ._heading_1jxz1_1 h4,._testimonial_1jxz1_5 ._heading_1jxz1_1 h5{font-weight:500}._testimonial_1jxz1_5 p{padding:.5rem 0 1rem;font-weight:400;text-align:center}@media screen and (width >= 768px){._testimonial_1jxz1_5{width:50%}}._topBtn_1lydx_1{margin:0;display:flex;justify-items:center;align-items:center;background:none;border:none;border-radius:100%;background-color:#1f06ffaf;padding:15px;cursor:pointer;position:fixed;right:2.5rem;bottom:2rem;transition:all;transition-duration:.3s}._topBtn_1lydx_1 svg{color:#fff}._topBtn_1lydx_1:hover{transform:scale(1.1);transition:all;transition-duration:.3s}._leaderboardTableWrapper_1flea_1{margin:0 auto;box-shadow:0 0 30px #00000012;border-radius:10px;width:100%;padding:10px;margin-bottom:5rem}table._leaderboardTable_1flea_1{border:none;border-collapse:collapse;width:100%;font-size:14px}table._leaderboardTable_1flea_1 thead,table._leaderboardTable_1flea_1 td{border:none}table._leaderboardTable_1flea_1 thead>tr>td:nth-child(2){text-align:left;padding-left:25px}table._leaderboardTable_1flea_1 tr{border-bottom:1px solid rgba(204,204,204,.5)}table._leaderboardTable_1flea_1 tr:last-of-type{border-bottom:none}._leaderBoardTableData_1flea_31{border-top-style:hidden;border-bottom-style:hidden;text-align:center}._leaderBoardContributorImg_1flea_37,._userProfileImg_1flea_38{width:30px;height:30px;border:2px solid orange;border-radius:50%;margin-right:10px}._leaderBoardContributorName_1flea_46{text-align:left}._leaderBoardHeading_1flea_50,._userProfileHeading_1flea_51{margin-bottom:3rem;text-align:center}._profileDetailsContainer_1flea_56{display:flex}._profileLink_1flea_60{display:flex;align-items:center}._profileLink_1flea_60 span{font-size:12px}._fontWeightNormal_1flea_68{font-weight:300}._contributionTableCell_1flea_72{display:grid;grid-template-columns:repeat(6,1fr)}._contributionTableCell_1flea_72 ._techStackDiv_1flea_76{font-size:14px;display:flex;flex-direction:column;align-items:start;justify-content:center}._contributionTableCell_1flea_72 ._techStackDiv_1flea_76 ._techStackImg_1flea_83{width:20px;height:20px}._contributionTableCell_1flea_72 ._techStackDivWrapper_1flea_87{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.5rem}._contributionTableCell_1flea_72 div:last-of-type{grid-column-end:-1;display:flex;flex-direction:column}._totalContributions_1flea_101{display:flex;align-items:center;justify-content:center}._totalContributions_1flea_101 div:first-child{display:none}._totalContributions_1flea_101 div:last-child{font-weight:500}._leaderboardTableWrapper_1flea_1 table,._leaderboardTableWrapper_1flea_1 thead,._leaderboardTableWrapper_1flea_1 tbody,._leaderboardTableWrapper_1flea_1 th,._leaderboardTableWrapper_1flea_1 td,._leaderboardTableWrapper_1flea_1 tr{display:block}._leaderboardTableWrapper_1flea_1 thead tr{display:none}tr._leaderboardRowContainer_1flea_125{display:grid;grid-template-columns:repeat(6,1fr);grid-template-areas:"index name name name name name" ". contributions contributions contributions contributions contributions"}td._index_1flea_131{grid-area:index;display:flex;align-items:center;justify-content:center;font-weight:500}td._name_1flea_139{grid-area:name;display:flex;align-items:center;justify-content:start}td._contributions_1flea_146{grid-area:contributions}._leaderBoardContributorImg_1flea_37,._userProfileImg_1flea_38{width:40px;height:40px;margin-right:15px}._leaderBoardContributorName_1flea_46{font-size:16px!important;font-weight:500}@media screen and (min-width: 500px){._leaderboardTableWrapper_1flea_1 table,._leaderboardTableWrapper_1flea_1 thead,._leaderboardTableWrapper_1flea_1 tbody,._leaderboardTableWrapper_1flea_1 th,._leaderboardTableWrapper_1flea_1 td,._leaderboardTableWrapper_1flea_1 tr,._leaderboardTableWrapper_1flea_1 thead tr{display:revert}._leaderboardTableWrapper_1flea_1 td._index_1flea_131{font-weight:400}table._leaderboardTable_1flea_1{font-size:12px}table._leaderboardTable_1flea_1 thead{border-bottom:1px solid rgba(204,204,204,.5)}._leaderBoardContributorImg_1flea_37,._userProfileImg_1flea_38{width:40px;height:40px;margin-right:15px}._leaderBoardContributorName_1flea_46{font-size:14px!important;font-weight:400}._contributionTableCell_1flea_72 ._techStackDiv_1flea_76{display:block!important}._contributionTableCell_1flea_72 ._techStackDiv_1flea_76 ._techStackImg_1flea_83{width:15px;height:15px}._contributionTableCell_1flea_72 ._techStackDiv_1flea_76 ._techStackDivWrapper_1flea_87{display:block!important}._contributionTableCell_1flea_72 div:last-of-type{justify-content:space-between}._contributionTableCell_1flea_72 div:last-of-type div:first-of-type{display:block}._totalContributions_1flea_101{font-weight:500}}@media screen and (min-width: 769px){table._leaderboardTable_1flea_1,._contributionTableCell_1flea_72 ._techStackDiv_1flea_76{font-size:14px}._contributionTableCell_1flea_72 ._techStackDiv_1flea_76 ._techStackImg_1flea_83{width:20px;height:20px}._contributionTableCell_1flea_72 div:last-of-type div{font-size:14px}}@media screen and (min-width: 960px){._leaderboardTableWrapper_1flea_1{max-width:70%;padding:10px 30px}._leaderBoardContributorImg_1flea_37,._userProfileImg_1flea_38{width:60px;height:60px;margin-right:20px}._techStackImg_1flea_83{width:30px;height:30px}._contributionTableCell_1flea_72{max-width:250px;margin-left:auto}}@media screen and (min-width: 1440px){._leaderboardTableWrapper_1flea_1{max-width:820px}}:root{--bg-body: #f3f4f6;--text-body: #111827;--bg-navbar: #f9fafb;--shadow-navbar: rgba(0 0 0 / .1);--bg-navbar-logo-img: transparent;--bg-footer: #f9fafb;--shadow-footer: rgba(0 0 0 / .1);--text-link: blue;--card-shadow: rgb(0 0 0 / 15%)}[data-theme=dark]{--bg-body: #030712;--text-body: #e5e7eb;--bg-navbar: #030712;--shadow-navbar: rgba(150 150 150 / .2);--bg-footer: var(--bg-body);--shadow-footer: #1f2937;--text-link: #6366f1;--card-shadow: rgb(150 150 150/ 20%);color-scheme:dark}html{margin:0;box-sizing:border-box;font-family:Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif}*,*:before,*:after{box-sizing:inherit}body{margin:0;color:var(--text-body);transition:all .15s ease-in-out}a{text-decoration:none;color:var(--text-link)}button{cursor:pointer}input:disabled,button:disabled{cursor:not-allowed}h1{align-items:center;justify-content:center}.container{width:90%;margin:auto}.hidden{display:none!important}button.btn.btn-primary{padding:10px 16px;background-color:#0ff;border:1px solid grey;border-radius:4px;cursor:pointer}button.btn:disabled,.btn.btn-primary:disabled{cursor:not-allowed}.btn.btn-primary.small{padding:4px 6px}.disabled{color:gray;cursor:not-allowed}.flex{display:flex}.flex-center{display:flex;align-items:center;justify-content:center}.grid{display:grid}.text-center{text-align:center}.text-bold{font-weight:700}.fixed{position:fixed}.relative{position:relative}html{scroll-behavior:smooth}._avatar_1jv0o_1{display:inline-block;width:1.5rem;height:1.5rem;border-radius:1000px;box-shadow:0 0 0 2px #000}._avatarGroup_1jv0o_11{display:flex;margin:auto;width:max-content}._avatarGroup_1jv0o_11>*:not(:first-child){margin-left:-.3rem}._filterOptionWrapper_1lebs_1{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:1rem;margin:2rem 0}._searchInputWrapper_1lebs_8{position:relative;height:35px}._searchInputWrapper_1lebs_8 ._searchInput_1lebs_8{outline:none;border-radius:5px;border:2px solid #ccc;width:100%;padding:.5rem 1rem .5rem 1.8rem;height:100%}._searchInputWrapper_1lebs_8 ._searchIcon_1lebs_21{position:absolute;top:50%;left:10px;transform:translateY(-50%);opacity:.7;transition:all .2s ease}._searchInputWrapper_1lebs_8 ._searchInput_1lebs_8:focus,._searchInputWrapper_1lebs_8 ._searchInput_1lebs_8:hover{border-color:var(--text-link)}._searchInputWrapper_1lebs_8 ._searchInput_1lebs_8:focus+._searchIcon_1lebs_21,._searchInputWrapper_1lebs_8 ._searchInput_1lebs_8:hover+._searchIcon_1lebs_21{opacity:1}._filterByTechWrapper_1lebs_38{grid-column-end:-1;display:flex;justify-content:flex-end;align-items:center;gap:10px}._filterByTechWrapper_1lebs_38>a{display:inline-block;width:35px;height:35px;transition:.4s ease-in-out;overflow:hidden;border-radius:4px}._filterByTechWrapper_1lebs_38>a:hover{box-shadow:0 0 20px #00000057}._filterByTechWrapper_1lebs_38>a>img{padding:2px;border-radius:4px}._filterByTechWrapper_1lebs_38>a>img._activeTech_1lebs_60{border:2px solid var(--text-link)}._emptyMessage_1lebs_64{margin:5rem auto;font-size:18px;font-weight:500}._emptyMessage_1lebs_64>div{margin-top:.5rem;font-size:14px;font-weight:400}._challengeGrid_1lebs_75{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));grid-gap:1.5rem;margin:2rem 0}._challengeCard_1lebs_82{position:relative;padding:10px;overflow:hidden;background-color:#fff;border:1px solid var(--card-shadow);box-shadow:0 6px 8px 0 var(--card-shadow);transition:all .2s ease-in-out;background-color:var(--bg-body);color:var(--text-body)}._challengeCard_1lebs_82:hover{box-shadow:0 6px 8px #0000004d;transform:scale(1.05)}._challengeCard_1lebs_82 ._avatarContainer_1lebs_97>*:not(:first-child){margin-top:.5rem}._challengeCard_1lebs_82 h3{font-size:1.25rem;font-weight:500;color:green}._challengeCard_1lebs_82._disabled_1lebs_105 h3{color:gray}._challengeCard_1lebs_82._disabled_1lebs_105{cursor:not-allowed;box-shadow:0 3px 4px #0000001a}._challengeCard_1lebs_82._disabled_1lebs_105:hover{transform:scale(1)}._challengeCard_1lebs_82 a{color:#d2691e;text-decoration:none}._challengeCard_1lebs_82 ._new_1lebs_119{position:absolute;top:0;right:0;width:4rem;font-size:1rem;color:#fff;text-align:center;background-color:#545454}._challengeCard_1lebs_82 ._developer_1lebs_129{display:flex;align-items:center;justify-content:center;font-size:.8rem;color:var(--text-body)}._challengeCard_1lebs_82 ._developer_1lebs_129>img{width:25px;height:25px;margin-right:.5rem;border-radius:50%}._challengeCard_1lebs_82 ._name_1lebs_142{color:var(--text-body)}._challengeCard_1lebs_82._medium_1lebs_145 h3{color:#4b4bff}._challengeCard_1lebs_82._hard_1lebs_148 h3{color:#ff4500} diff --git a/docs/assets/index-N12RqWRS.js b/docs/assets/index-cb91F9Bx.js similarity index 69% rename from docs/assets/index-N12RqWRS.js rename to docs/assets/index-cb91F9Bx.js index d1d14227d..a34b28658 100644 --- a/docs/assets/index-N12RqWRS.js +++ b/docs/assets/index-cb91F9Bx.js @@ -1,4 +1,4 @@ -function Ub(t,e){for(var n=0;nr[i]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.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)}})();function Ks(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var Wb={exports:{}},kc={},Gb={exports:{}},ye={};/** +function Wb(t,e){for(var n=0;nr[i]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.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)}})();function Ks(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var Gb={exports:{}},Oc={},qb={exports:{}},ye={};/** * @license React * react.production.min.js * @@ -6,7 +6,7 @@ function Ub(t,e){for(var n=0;n>>1,G=k[B];if(0>>1;Bi(ne,j))oei(de,ne)?(k[B]=de,k[oe]=j,B=oe):(k[B]=ne,k[K]=j,B=K);else if(oei(de,j))k[B]=de,k[oe]=j,B=oe;else break e}}return F}function i(k,F){var j=k.sortIndex-F.sortIndex;return j!==0?j:k.id-F.id}if(typeof performance=="object"&&typeof performance.now=="function"){var a=performance;t.unstable_now=function(){return a.now()}}else{var o=Date,l=o.now();t.unstable_now=function(){return o.now()-l}}var s=[],u=[],c=1,d=null,f=3,p=!1,w=!1,g=!1,y=typeof setTimeout=="function"?setTimeout:null,h=typeof clearTimeout=="function"?clearTimeout:null,v=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(k){for(var F=n(u);F!==null;){if(F.callback===null)r(u);else if(F.startTime<=k)r(u),F.sortIndex=F.expirationTime,e(s,F);else break;F=n(u)}}function b(k){if(g=!1,m(k),!w)if(n(s)!==null)w=!0,D(E);else{var F=n(u);F!==null&&L(b,F.startTime-k)}}function E(k,F){w=!1,g&&(g=!1,h(T),T=-1),p=!0;var j=f;try{for(m(F),d=n(s);d!==null&&(!(d.expirationTime>F)||k&&!I());){var B=d.callback;if(typeof B=="function"){d.callback=null,f=d.priorityLevel;var G=B(d.expirationTime<=F);F=t.unstable_now(),typeof G=="function"?d.callback=G:d===n(s)&&r(s),m(F)}else r(s);d=n(s)}if(d!==null)var q=!0;else{var K=n(u);K!==null&&L(b,K.startTime-F),q=!1}return q}finally{d=null,f=j,p=!1}}var x=!1,C=null,T=-1,P=5,O=-1;function I(){return!(t.unstable_now()-Ok||125B?(k.sortIndex=j,e(u,k),n(s)===null&&k===n(u)&&(g?(h(T),T=-1):g=!0,L(b,j-B))):(k.sortIndex=G,e(s,k),w||p||(w=!0,D(E))),k},t.unstable_shouldYield=I,t.unstable_wrapCallback=function(k){var F=f;return function(){var j=f;f=F;try{return k.apply(this,arguments)}finally{f=j}}}})(rS);nS.exports=rS;var vM=nS.exports;/** + */(function(t){function e(k,F){var j=k.length;k.push(F);e:for(;0>>1,G=k[B];if(0>>1;Bi(ne,j))oei(de,ne)?(k[B]=de,k[oe]=j,B=oe):(k[B]=ne,k[K]=j,B=K);else if(oei(de,j))k[B]=de,k[oe]=j,B=oe;else break e}}return F}function i(k,F){var j=k.sortIndex-F.sortIndex;return j!==0?j:k.id-F.id}if(typeof performance=="object"&&typeof performance.now=="function"){var a=performance;t.unstable_now=function(){return a.now()}}else{var o=Date,l=o.now();t.unstable_now=function(){return o.now()-l}}var s=[],u=[],c=1,d=null,f=3,p=!1,w=!1,g=!1,y=typeof setTimeout=="function"?setTimeout:null,h=typeof clearTimeout=="function"?clearTimeout:null,v=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(k){for(var F=n(u);F!==null;){if(F.callback===null)r(u);else if(F.startTime<=k)r(u),F.sortIndex=F.expirationTime,e(s,F);else break;F=n(u)}}function b(k){if(g=!1,m(k),!w)if(n(s)!==null)w=!0,D(E);else{var F=n(u);F!==null&&L(b,F.startTime-k)}}function E(k,F){w=!1,g&&(g=!1,h(T),T=-1),p=!0;var j=f;try{for(m(F),d=n(s);d!==null&&(!(d.expirationTime>F)||k&&!I());){var B=d.callback;if(typeof B=="function"){d.callback=null,f=d.priorityLevel;var G=B(d.expirationTime<=F);F=t.unstable_now(),typeof G=="function"?d.callback=G:d===n(s)&&r(s),m(F)}else r(s);d=n(s)}if(d!==null)var q=!0;else{var K=n(u);K!==null&&L(b,K.startTime-F),q=!1}return q}finally{d=null,f=j,p=!1}}var x=!1,C=null,T=-1,P=5,O=-1;function I(){return!(t.unstable_now()-Ok||125B?(k.sortIndex=j,e(u,k),n(s)===null&&k===n(u)&&(g?(h(T),T=-1):g=!0,L(b,j-B))):(k.sortIndex=G,e(s,k),w||p||(w=!0,D(E))),k},t.unstable_shouldYield=I,t.unstable_wrapCallback=function(k){var F=f;return function(){var j=f;f=F;try{return k.apply(this,arguments)}finally{f=j}}}})(iS);rS.exports=iS;var wM=rS.exports;/** * @license React * react-dom.production.min.js * @@ -30,14 +30,14 @@ function Ub(t,e){for(var n=0;n"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Tp=Object.prototype.hasOwnProperty,yM=/^[: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]*$/,Qv={},Zv={};function wM(t){return Tp.call(Zv,t)?!0:Tp.call(Qv,t)?!1:yM.test(t)?Zv[t]=!0:(Qv[t]=!0,!1)}function bM(t,e,n,r){if(n!==null&&n.type===0)return!1;switch(typeof e){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(t=t.toLowerCase().slice(0,5),t!=="data-"&&t!=="aria-");default:return!1}}function SM(t,e,n,r){if(e===null||typeof e>"u"||bM(t,e,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!e;case 4:return e===!1;case 5:return isNaN(e);case 6:return isNaN(e)||1>e}return!1}function Wt(t,e,n,r,i,a,o){this.acceptsBooleans=e===2||e===3||e===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=t,this.type=e,this.sanitizeURL=a,this.removeEmptyString=o}var Mt={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(t){Mt[t]=new Wt(t,0,!1,t,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(t){var e=t[0];Mt[e]=new Wt(e,1,!1,t[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(t){Mt[t]=new Wt(t,2,!1,t.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(t){Mt[t]=new Wt(t,2,!1,t,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(t){Mt[t]=new Wt(t,3,!1,t.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(t){Mt[t]=new Wt(t,3,!0,t,null,!1,!1)});["capture","download"].forEach(function(t){Mt[t]=new Wt(t,4,!1,t,null,!1,!1)});["cols","rows","size","span"].forEach(function(t){Mt[t]=new Wt(t,6,!1,t,null,!1,!1)});["rowSpan","start"].forEach(function(t){Mt[t]=new Wt(t,5,!1,t.toLowerCase(),null,!1,!1)});var Nm=/[\-:]([a-z])/g;function _m(t){return t[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(t){var e=t.replace(Nm,_m);Mt[e]=new Wt(e,1,!1,t,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(t){var e=t.replace(Nm,_m);Mt[e]=new Wt(e,1,!1,t,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(t){var e=t.replace(Nm,_m);Mt[e]=new Wt(e,1,!1,t,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(t){Mt[t]=new Wt(t,1,!1,t.toLowerCase(),null,!1,!1)});Mt.xlinkHref=new Wt("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(t){Mt[t]=new Wt(t,1,!1,t.toLowerCase(),null,!0,!0)});function Vm(t,e,n,r){var i=Mt.hasOwnProperty(e)?Mt[e]:null;(i!==null?i.type!==0:r||!(2"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Tp=Object.prototype.hasOwnProperty,bM=/^[: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]*$/,Zv={},Jv={};function SM(t){return Tp.call(Jv,t)?!0:Tp.call(Zv,t)?!1:bM.test(t)?Jv[t]=!0:(Zv[t]=!0,!1)}function xM(t,e,n,r){if(n!==null&&n.type===0)return!1;switch(typeof e){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(t=t.toLowerCase().slice(0,5),t!=="data-"&&t!=="aria-");default:return!1}}function EM(t,e,n,r){if(e===null||typeof e>"u"||xM(t,e,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!e;case 4:return e===!1;case 5:return isNaN(e);case 6:return isNaN(e)||1>e}return!1}function Wt(t,e,n,r,i,a,o){this.acceptsBooleans=e===2||e===3||e===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=t,this.type=e,this.sanitizeURL=a,this.removeEmptyString=o}var Mt={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(t){Mt[t]=new Wt(t,0,!1,t,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(t){var e=t[0];Mt[e]=new Wt(e,1,!1,t[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(t){Mt[t]=new Wt(t,2,!1,t.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(t){Mt[t]=new Wt(t,2,!1,t,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(t){Mt[t]=new Wt(t,3,!1,t.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(t){Mt[t]=new Wt(t,3,!0,t,null,!1,!1)});["capture","download"].forEach(function(t){Mt[t]=new Wt(t,4,!1,t,null,!1,!1)});["cols","rows","size","span"].forEach(function(t){Mt[t]=new Wt(t,6,!1,t,null,!1,!1)});["rowSpan","start"].forEach(function(t){Mt[t]=new Wt(t,5,!1,t.toLowerCase(),null,!1,!1)});var Nm=/[\-:]([a-z])/g;function _m(t){return t[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(t){var e=t.replace(Nm,_m);Mt[e]=new Wt(e,1,!1,t,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(t){var e=t.replace(Nm,_m);Mt[e]=new Wt(e,1,!1,t,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(t){var e=t.replace(Nm,_m);Mt[e]=new Wt(e,1,!1,t,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(t){Mt[t]=new Wt(t,1,!1,t.toLowerCase(),null,!1,!1)});Mt.xlinkHref=new Wt("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(t){Mt[t]=new Wt(t,1,!1,t.toLowerCase(),null,!0,!0)});function Vm(t,e,n,r){var i=Mt.hasOwnProperty(e)?Mt[e]:null;(i!==null?i.type!==0:r||!(2l||i[o]!==a[l]){var s=` -`+i[o].replace(" at new "," at ");return t.displayName&&s.includes("")&&(s=s.replace("",t.displayName)),s}while(1<=o&&0<=l);break}}}finally{Wd=!1,Error.prepareStackTrace=n}return(t=t?t.displayName||t.name:"")?zo(t):""}function xM(t){switch(t.tag){case 5:return zo(t.type);case 16:return zo("Lazy");case 13:return zo("Suspense");case 19:return zo("SuspenseList");case 0:case 2:case 15:return t=Gd(t.type,!1),t;case 11:return t=Gd(t.type.render,!1),t;case 1:return t=Gd(t.type,!0),t;default:return""}}function Op(t){if(t==null)return null;if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case wa:return"Fragment";case ya:return"Portal";case Pp:return"Profiler";case jm:return"StrictMode";case kp:return"Suspense";case Mp:return"SuspenseList"}if(typeof t=="object")switch(t.$$typeof){case sS:return(t.displayName||"Context")+".Consumer";case oS:return(t._context.displayName||"Context")+".Provider";case $m:var e=t.render;return t=t.displayName,t||(t=e.displayName||e.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case zm:return e=t.displayName||null,e!==null?e:Op(t.type)||"Memo";case $r:e=t._payload,t=t._init;try{return Op(t(e))}catch{}}return null}function EM(t){var e=t.type;switch(t.tag){case 24:return"Cache";case 9:return(e.displayName||"Context")+".Consumer";case 10:return(e._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return t=e.render,t=t.displayName||t.name||"",e.displayName||(t!==""?"ForwardRef("+t+")":"ForwardRef");case 7:return"Fragment";case 5:return e;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Op(e);case 8:return e===jm?"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 e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e}return null}function oi(t){switch(typeof t){case"boolean":case"number":case"string":case"undefined":return t;case"object":return t;default:return""}}function uS(t){var e=t.type;return(t=t.nodeName)&&t.toLowerCase()==="input"&&(e==="checkbox"||e==="radio")}function CM(t){var e=uS(t)?"checked":"value",n=Object.getOwnPropertyDescriptor(t.constructor.prototype,e),r=""+t[e];if(!t.hasOwnProperty(e)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var i=n.get,a=n.set;return Object.defineProperty(t,e,{configurable:!0,get:function(){return i.call(this)},set:function(o){r=""+o,a.call(this,o)}}),Object.defineProperty(t,e,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(o){r=""+o},stopTracking:function(){t._valueTracker=null,delete t[e]}}}}function Pl(t){t._valueTracker||(t._valueTracker=CM(t))}function cS(t){if(!t)return!1;var e=t._valueTracker;if(!e)return!0;var n=e.getValue(),r="";return t&&(r=uS(t)?t.checked?"true":"false":t.value),t=r,t!==n?(e.setValue(t),!0):!1}function Fu(t){if(t=t||(typeof document<"u"?document:void 0),typeof t>"u")return null;try{return t.activeElement||t.body}catch{return t.body}}function Ap(t,e){var n=e.checked;return He({},e,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??t._wrapperState.initialChecked})}function ey(t,e){var n=e.defaultValue==null?"":e.defaultValue,r=e.checked!=null?e.checked:e.defaultChecked;n=oi(e.value!=null?e.value:n),t._wrapperState={initialChecked:r,initialValue:n,controlled:e.type==="checkbox"||e.type==="radio"?e.checked!=null:e.value!=null}}function dS(t,e){e=e.checked,e!=null&&Vm(t,"checked",e,!1)}function Lp(t,e){dS(t,e);var n=oi(e.value),r=e.type;if(n!=null)r==="number"?(n===0&&t.value===""||t.value!=n)&&(t.value=""+n):t.value!==""+n&&(t.value=""+n);else if(r==="submit"||r==="reset"){t.removeAttribute("value");return}e.hasOwnProperty("value")?Rp(t,e.type,n):e.hasOwnProperty("defaultValue")&&Rp(t,e.type,oi(e.defaultValue)),e.checked==null&&e.defaultChecked!=null&&(t.defaultChecked=!!e.defaultChecked)}function ty(t,e,n){if(e.hasOwnProperty("value")||e.hasOwnProperty("defaultValue")){var r=e.type;if(!(r!=="submit"&&r!=="reset"||e.value!==void 0&&e.value!==null))return;e=""+t._wrapperState.initialValue,n||e===t.value||(t.value=e),t.defaultValue=e}n=t.name,n!==""&&(t.name=""),t.defaultChecked=!!t._wrapperState.initialChecked,n!==""&&(t.name=n)}function Rp(t,e,n){(e!=="number"||Fu(t.ownerDocument)!==t)&&(n==null?t.defaultValue=""+t._wrapperState.initialValue:t.defaultValue!==""+n&&(t.defaultValue=""+n))}var Bo=Array.isArray;function Va(t,e,n,r){if(t=t.options,e){e={};for(var i=0;i"+e.valueOf().toString()+"",e=kl.firstChild;t.firstChild;)t.removeChild(t.firstChild);for(;e.firstChild;)t.appendChild(e.firstChild)}});function Ss(t,e){if(e){var n=t.firstChild;if(n&&n===t.lastChild&&n.nodeType===3){n.nodeValue=e;return}}t.textContent=e}var Zo={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},TM=["Webkit","ms","Moz","O"];Object.keys(Zo).forEach(function(t){TM.forEach(function(e){e=e+t.charAt(0).toUpperCase()+t.substring(1),Zo[e]=Zo[t]})});function mS(t,e,n){return e==null||typeof e=="boolean"||e===""?"":n||typeof e!="number"||e===0||Zo.hasOwnProperty(t)&&Zo[t]?(""+e).trim():e+"px"}function gS(t,e){t=t.style;for(var n in e)if(e.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=mS(n,e[n],r);n==="float"&&(n="cssFloat"),r?t.setProperty(n,i):t[n]=i}}var PM=He({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 Fp(t,e){if(e){if(PM[t]&&(e.children!=null||e.dangerouslySetInnerHTML!=null))throw Error(X(137,t));if(e.dangerouslySetInnerHTML!=null){if(e.children!=null)throw Error(X(60));if(typeof e.dangerouslySetInnerHTML!="object"||!("__html"in e.dangerouslySetInnerHTML))throw Error(X(61))}if(e.style!=null&&typeof e.style!="object")throw Error(X(62))}}function Np(t,e){if(t.indexOf("-")===-1)return typeof e.is=="string";switch(t){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var _p=null;function Bm(t){return t=t.target||t.srcElement||window,t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===3?t.parentNode:t}var Vp=null,ja=null,$a=null;function iy(t){if(t=Js(t)){if(typeof Vp!="function")throw Error(X(280));var e=t.stateNode;e&&(e=Rc(e),Vp(t.stateNode,t.type,e))}}function vS(t){ja?$a?$a.push(t):$a=[t]:ja=t}function yS(){if(ja){var t=ja,e=$a;if($a=ja=null,iy(t),e)for(t=0;t>>=0,t===0?32:31-(_M(t)/VM|0)|0}var Ml=64,Ol=4194304;function Ho(t){switch(t&-t){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return t&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return t}}function ju(t,e){var n=t.pendingLanes;if(n===0)return 0;var r=0,i=t.suspendedLanes,a=t.pingedLanes,o=n&268435455;if(o!==0){var l=o&~i;l!==0?r=Ho(l):(a&=o,a!==0&&(r=Ho(a)))}else o=n&~i,o!==0?r=Ho(o):a!==0&&(r=Ho(a));if(r===0)return 0;if(e!==0&&e!==r&&!(e&i)&&(i=r&-r,a=e&-e,i>=a||i===16&&(a&4194240)!==0))return e;if(r&4&&(r|=n&16),e=t.entangledLanes,e!==0)for(t=t.entanglements,e&=r;0n;n++)e.push(t);return e}function Qs(t,e,n){t.pendingLanes|=e,e!==536870912&&(t.suspendedLanes=0,t.pingedLanes=0),t=t.eventTimes,e=31-qn(e),t[e]=n}function BM(t,e){var n=t.pendingLanes&~e;t.pendingLanes=e,t.suspendedLanes=0,t.pingedLanes=0,t.expiredLanes&=e,t.mutableReadLanes&=e,t.entangledLanes&=e,e=t.entanglements;var r=t.eventTimes;for(t=t.expirationTimes;0=es),py=String.fromCharCode(32),hy=!1;function VS(t,e){switch(t){case"keyup":return g2.indexOf(e.keyCode)!==-1;case"keydown":return e.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function jS(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}var ba=!1;function y2(t,e){switch(t){case"compositionend":return jS(e);case"keypress":return e.which!==32?null:(hy=!0,py);case"textInput":return t=e.data,t===py&&hy?null:t;default:return null}}function w2(t,e){if(ba)return t==="compositionend"||!Ym&&VS(t,e)?(t=NS(),lu=qm=Gr=null,ba=!1,t):null;switch(t){case"paste":return null;case"keypress":if(!(e.ctrlKey||e.altKey||e.metaKey)||e.ctrlKey&&e.altKey){if(e.char&&1=e)return{node:n,offset:e-t};t=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=yy(n)}}function HS(t,e){return t&&e?t===e?!0:t&&t.nodeType===3?!1:e&&e.nodeType===3?HS(t,e.parentNode):"contains"in t?t.contains(e):t.compareDocumentPosition?!!(t.compareDocumentPosition(e)&16):!1:!1}function US(){for(var t=window,e=Fu();e instanceof t.HTMLIFrameElement;){try{var n=typeof e.contentWindow.location.href=="string"}catch{n=!1}if(n)t=e.contentWindow;else break;e=Fu(t.document)}return e}function Qm(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e&&(e==="input"&&(t.type==="text"||t.type==="search"||t.type==="tel"||t.type==="url"||t.type==="password")||e==="textarea"||t.contentEditable==="true")}function M2(t){var e=US(),n=t.focusedElem,r=t.selectionRange;if(e!==n&&n&&n.ownerDocument&&HS(n.ownerDocument.documentElement,n)){if(r!==null&&Qm(n)){if(e=r.start,t=r.end,t===void 0&&(t=e),"selectionStart"in n)n.selectionStart=e,n.selectionEnd=Math.min(t,n.value.length);else if(t=(e=n.ownerDocument||document)&&e.defaultView||window,t.getSelection){t=t.getSelection();var i=n.textContent.length,a=Math.min(r.start,i);r=r.end===void 0?a:Math.min(r.end,i),!t.extend&&a>r&&(i=r,r=a,a=i),i=wy(n,a);var o=wy(n,r);i&&o&&(t.rangeCount!==1||t.anchorNode!==i.node||t.anchorOffset!==i.offset||t.focusNode!==o.node||t.focusOffset!==o.offset)&&(e=e.createRange(),e.setStart(i.node,i.offset),t.removeAllRanges(),a>r?(t.addRange(e),t.extend(o.node,o.offset)):(e.setEnd(o.node,o.offset),t.addRange(e)))}}for(e=[],t=n;t=t.parentNode;)t.nodeType===1&&e.push({element:t,left:t.scrollLeft,top:t.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,Sa=null,Up=null,ns=null,Wp=!1;function by(t,e,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Wp||Sa==null||Sa!==Fu(r)||(r=Sa,"selectionStart"in r&&Qm(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}),ns&&ks(ns,r)||(ns=r,r=Bu(Up,"onSelect"),0Ca||(t.current=Qp[Ca],Qp[Ca]=null,Ca--)}function Ie(t,e){Ca++,Qp[Ca]=t.current,t.current=e}var si={},_t=mi(si),Qt=mi(!1),Wi=si;function Ka(t,e){var n=t.type.contextTypes;if(!n)return si;var r=t.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===e)return r.__reactInternalMemoizedMaskedChildContext;var i={},a;for(a in n)i[a]=e[a];return r&&(t=t.stateNode,t.__reactInternalMemoizedUnmaskedChildContext=e,t.__reactInternalMemoizedMaskedChildContext=i),i}function Zt(t){return t=t.childContextTypes,t!=null}function Uu(){_e(Qt),_e(_t)}function ky(t,e,n){if(_t.current!==si)throw Error(X(168));Ie(_t,e),Ie(Qt,n)}function JS(t,e,n){var r=t.stateNode;if(e=e.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var i in r)if(!(i in e))throw Error(X(108,EM(t)||"Unknown",i));return He({},n,r)}function Wu(t){return t=(t=t.stateNode)&&t.__reactInternalMemoizedMergedChildContext||si,Wi=_t.current,Ie(_t,t),Ie(Qt,Qt.current),!0}function My(t,e,n){var r=t.stateNode;if(!r)throw Error(X(169));n?(t=JS(t,e,Wi),r.__reactInternalMemoizedMergedChildContext=t,_e(Qt),_e(_t),Ie(_t,t)):_e(Qt),Ie(Qt,n)}var vr=null,Ic=!1,sf=!1;function ex(t){vr===null?vr=[t]:vr.push(t)}function $2(t){Ic=!0,ex(t)}function gi(){if(!sf&&vr!==null){sf=!0;var t=0,e=Pe;try{var n=vr;for(Pe=1;t>=o,i-=o,wr=1<<32-qn(e)+i|n<T?(P=C,C=null):P=C.sibling;var O=f(h,C,m[T],b);if(O===null){C===null&&(C=P);break}t&&C&&O.alternate===null&&e(h,C),v=a(O,v,T),x===null?E=O:x.sibling=O,x=O,C=P}if(T===m.length)return n(h,C),je&&Ci(h,T),E;if(C===null){for(;TT?(P=C,C=null):P=C.sibling;var I=f(h,C,O.value,b);if(I===null){C===null&&(C=P);break}t&&C&&I.alternate===null&&e(h,C),v=a(I,v,T),x===null?E=I:x.sibling=I,x=I,C=P}if(O.done)return n(h,C),je&&Ci(h,T),E;if(C===null){for(;!O.done;T++,O=m.next())O=d(h,O.value,b),O!==null&&(v=a(O,v,T),x===null?E=O:x.sibling=O,x=O);return je&&Ci(h,T),E}for(C=r(h,C);!O.done;T++,O=m.next())O=p(C,h,T,O.value,b),O!==null&&(t&&O.alternate!==null&&C.delete(O.key===null?T:O.key),v=a(O,v,T),x===null?E=O:x.sibling=O,x=O);return t&&C.forEach(function(N){return e(h,N)}),je&&Ci(h,T),E}function y(h,v,m,b){if(typeof m=="object"&&m!==null&&m.type===wa&&m.key===null&&(m=m.props.children),typeof m=="object"&&m!==null){switch(m.$$typeof){case Tl:e:{for(var E=m.key,x=v;x!==null;){if(x.key===E){if(E=m.type,E===wa){if(x.tag===7){n(h,x.sibling),v=i(x,m.props.children),v.return=h,h=v;break e}}else if(x.elementType===E||typeof E=="object"&&E!==null&&E.$$typeof===$r&&Fy(E)===x.type){n(h,x.sibling),v=i(x,m.props),v.ref=ko(h,x,m),v.return=h,h=v;break e}n(h,x);break}else e(h,x);x=x.sibling}m.type===wa?(v=$i(m.props.children,h.mode,b,m.key),v.return=h,h=v):(b=gu(m.type,m.key,m.props,null,h.mode,b),b.ref=ko(h,v,m),b.return=h,h=b)}return o(h);case ya:e:{for(x=m.key;v!==null;){if(v.key===x)if(v.tag===4&&v.stateNode.containerInfo===m.containerInfo&&v.stateNode.implementation===m.implementation){n(h,v.sibling),v=i(v,m.children||[]),v.return=h,h=v;break e}else{n(h,v);break}else e(h,v);v=v.sibling}v=mf(m,h.mode,b),v.return=h,h=v}return o(h);case $r:return x=m._init,y(h,v,x(m._payload),b)}if(Bo(m))return w(h,v,m,b);if(xo(m))return g(h,v,m,b);Nl(h,m)}return typeof m=="string"&&m!==""||typeof m=="number"?(m=""+m,v!==null&&v.tag===6?(n(h,v.sibling),v=i(v,m),v.return=h,h=v):(n(h,v),v=hf(m,h.mode,b),v.return=h,h=v),o(h)):n(h,v)}return y}var Qa=lx(!0),ux=lx(!1),el={},ur=mi(el),Ls=mi(el),Rs=mi(el);function Ii(t){if(t===el)throw Error(X(174));return t}function og(t,e){switch(Ie(Rs,e),Ie(Ls,t),Ie(ur,el),t=e.nodeType,t){case 9:case 11:e=(e=e.documentElement)?e.namespaceURI:Dp(null,"");break;default:t=t===8?e.parentNode:e,e=t.namespaceURI||null,t=t.tagName,e=Dp(e,t)}_e(ur),Ie(ur,e)}function Za(){_e(ur),_e(Ls),_e(Rs)}function cx(t){Ii(Rs.current);var e=Ii(ur.current),n=Dp(e,t.type);e!==n&&(Ie(Ls,t),Ie(ur,n))}function sg(t){Ls.current===t&&(_e(ur),_e(Ls))}var ze=mi(0);function Qu(t){for(var e=t;e!==null;){if(e.tag===13){var n=e.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return e}else if(e.tag===19&&e.memoizedProps.revealOrder!==void 0){if(e.flags&128)return e}else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break;for(;e.sibling===null;){if(e.return===null||e.return===t)return null;e=e.return}e.sibling.return=e.return,e=e.sibling}return null}var lf=[];function lg(){for(var t=0;tn?n:4,t(!0);var r=uf.transition;uf.transition={};try{t(!1),e()}finally{Pe=n,uf.transition=r}}function Px(){return Dn().memoizedState}function U2(t,e,n){var r=ri(t);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},kx(t))Mx(e,n);else if(n=ix(t,e,n,r),n!==null){var i=Bt();Xn(n,t,r,i),Ox(n,e,r)}}function W2(t,e,n){var r=ri(t),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(kx(t))Mx(e,i);else{var a=t.alternate;if(t.lanes===0&&(a===null||a.lanes===0)&&(a=e.lastRenderedReducer,a!==null))try{var o=e.lastRenderedState,l=a(o,n);if(i.hasEagerState=!0,i.eagerState=l,Qn(l,o)){var s=e.interleaved;s===null?(i.next=i,ig(e)):(i.next=s.next,s.next=i),e.interleaved=i;return}}catch{}finally{}n=ix(t,e,i,r),n!==null&&(i=Bt(),Xn(n,t,r,i),Ox(n,e,r))}}function kx(t){var e=t.alternate;return t===Be||e!==null&&e===Be}function Mx(t,e){rs=Zu=!0;var n=t.pending;n===null?e.next=e:(e.next=n.next,n.next=e),t.pending=e}function Ox(t,e,n){if(n&4194240){var r=e.lanes;r&=t.pendingLanes,n|=r,e.lanes=n,Um(t,n)}}var Ju={readContext:In,useCallback:Lt,useContext:Lt,useEffect:Lt,useImperativeHandle:Lt,useInsertionEffect:Lt,useLayoutEffect:Lt,useMemo:Lt,useReducer:Lt,useRef:Lt,useState:Lt,useDebugValue:Lt,useDeferredValue:Lt,useTransition:Lt,useMutableSource:Lt,useSyncExternalStore:Lt,useId:Lt,unstable_isNewReconciler:!1},G2={readContext:In,useCallback:function(t,e){return rr().memoizedState=[t,e===void 0?null:e],t},useContext:In,useEffect:_y,useImperativeHandle:function(t,e,n){return n=n!=null?n.concat([t]):null,fu(4194308,4,Sx.bind(null,e,t),n)},useLayoutEffect:function(t,e){return fu(4194308,4,t,e)},useInsertionEffect:function(t,e){return fu(4,2,t,e)},useMemo:function(t,e){var n=rr();return e=e===void 0?null:e,t=t(),n.memoizedState=[t,e],t},useReducer:function(t,e,n){var r=rr();return e=n!==void 0?n(e):e,r.memoizedState=r.baseState=e,t={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:e},r.queue=t,t=t.dispatch=U2.bind(null,Be,t),[r.memoizedState,t]},useRef:function(t){var e=rr();return t={current:t},e.memoizedState=t},useState:Ny,useDebugValue:pg,useDeferredValue:function(t){return rr().memoizedState=t},useTransition:function(){var t=Ny(!1),e=t[0];return t=H2.bind(null,t[1]),rr().memoizedState=t,[e,t]},useMutableSource:function(){},useSyncExternalStore:function(t,e,n){var r=Be,i=rr();if(je){if(n===void 0)throw Error(X(407));n=n()}else{if(n=e(),ht===null)throw Error(X(349));qi&30||px(r,e,n)}i.memoizedState=n;var a={value:n,getSnapshot:e};return i.queue=a,_y(mx.bind(null,r,a,t),[t]),r.flags|=2048,Fs(9,hx.bind(null,r,a,n,e),void 0,null),n},useId:function(){var t=rr(),e=ht.identifierPrefix;if(je){var n=br,r=wr;n=(r&~(1<<32-qn(r)-1)).toString(32)+n,e=":"+e+"R"+n,n=Is++,0")&&(s=s.replace("",t.displayName)),s}while(1<=o&&0<=l);break}}}finally{Wd=!1,Error.prepareStackTrace=n}return(t=t?t.displayName||t.name:"")?zo(t):""}function CM(t){switch(t.tag){case 5:return zo(t.type);case 16:return zo("Lazy");case 13:return zo("Suspense");case 19:return zo("SuspenseList");case 0:case 2:case 15:return t=Gd(t.type,!1),t;case 11:return t=Gd(t.type.render,!1),t;case 1:return t=Gd(t.type,!0),t;default:return""}}function Op(t){if(t==null)return null;if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case wa:return"Fragment";case ya:return"Portal";case Pp:return"Profiler";case jm:return"StrictMode";case kp:return"Suspense";case Mp:return"SuspenseList"}if(typeof t=="object")switch(t.$$typeof){case lS:return(t.displayName||"Context")+".Consumer";case sS:return(t._context.displayName||"Context")+".Provider";case $m:var e=t.render;return t=t.displayName,t||(t=e.displayName||e.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case zm:return e=t.displayName||null,e!==null?e:Op(t.type)||"Memo";case zr:e=t._payload,t=t._init;try{return Op(t(e))}catch{}}return null}function TM(t){var e=t.type;switch(t.tag){case 24:return"Cache";case 9:return(e.displayName||"Context")+".Consumer";case 10:return(e._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return t=e.render,t=t.displayName||t.name||"",e.displayName||(t!==""?"ForwardRef("+t+")":"ForwardRef");case 7:return"Fragment";case 5:return e;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Op(e);case 8:return e===jm?"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 e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e}return null}function si(t){switch(typeof t){case"boolean":case"number":case"string":case"undefined":return t;case"object":return t;default:return""}}function cS(t){var e=t.type;return(t=t.nodeName)&&t.toLowerCase()==="input"&&(e==="checkbox"||e==="radio")}function PM(t){var e=cS(t)?"checked":"value",n=Object.getOwnPropertyDescriptor(t.constructor.prototype,e),r=""+t[e];if(!t.hasOwnProperty(e)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var i=n.get,a=n.set;return Object.defineProperty(t,e,{configurable:!0,get:function(){return i.call(this)},set:function(o){r=""+o,a.call(this,o)}}),Object.defineProperty(t,e,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(o){r=""+o},stopTracking:function(){t._valueTracker=null,delete t[e]}}}}function Ml(t){t._valueTracker||(t._valueTracker=PM(t))}function dS(t){if(!t)return!1;var e=t._valueTracker;if(!e)return!0;var n=e.getValue(),r="";return t&&(r=cS(t)?t.checked?"true":"false":t.value),t=r,t!==n?(e.setValue(t),!0):!1}function _u(t){if(t=t||(typeof document<"u"?document:void 0),typeof t>"u")return null;try{return t.activeElement||t.body}catch{return t.body}}function Ap(t,e){var n=e.checked;return He({},e,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??t._wrapperState.initialChecked})}function ty(t,e){var n=e.defaultValue==null?"":e.defaultValue,r=e.checked!=null?e.checked:e.defaultChecked;n=si(e.value!=null?e.value:n),t._wrapperState={initialChecked:r,initialValue:n,controlled:e.type==="checkbox"||e.type==="radio"?e.checked!=null:e.value!=null}}function fS(t,e){e=e.checked,e!=null&&Vm(t,"checked",e,!1)}function Lp(t,e){fS(t,e);var n=si(e.value),r=e.type;if(n!=null)r==="number"?(n===0&&t.value===""||t.value!=n)&&(t.value=""+n):t.value!==""+n&&(t.value=""+n);else if(r==="submit"||r==="reset"){t.removeAttribute("value");return}e.hasOwnProperty("value")?Rp(t,e.type,n):e.hasOwnProperty("defaultValue")&&Rp(t,e.type,si(e.defaultValue)),e.checked==null&&e.defaultChecked!=null&&(t.defaultChecked=!!e.defaultChecked)}function ny(t,e,n){if(e.hasOwnProperty("value")||e.hasOwnProperty("defaultValue")){var r=e.type;if(!(r!=="submit"&&r!=="reset"||e.value!==void 0&&e.value!==null))return;e=""+t._wrapperState.initialValue,n||e===t.value||(t.value=e),t.defaultValue=e}n=t.name,n!==""&&(t.name=""),t.defaultChecked=!!t._wrapperState.initialChecked,n!==""&&(t.name=n)}function Rp(t,e,n){(e!=="number"||_u(t.ownerDocument)!==t)&&(n==null?t.defaultValue=""+t._wrapperState.initialValue:t.defaultValue!==""+n&&(t.defaultValue=""+n))}var Bo=Array.isArray;function Va(t,e,n,r){if(t=t.options,e){e={};for(var i=0;i"+e.valueOf().toString()+"",e=Ol.firstChild;t.firstChild;)t.removeChild(t.firstChild);for(;e.firstChild;)t.appendChild(e.firstChild)}});function Ss(t,e){if(e){var n=t.firstChild;if(n&&n===t.lastChild&&n.nodeType===3){n.nodeValue=e;return}}t.textContent=e}var Zo={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},kM=["Webkit","ms","Moz","O"];Object.keys(Zo).forEach(function(t){kM.forEach(function(e){e=e+t.charAt(0).toUpperCase()+t.substring(1),Zo[e]=Zo[t]})});function gS(t,e,n){return e==null||typeof e=="boolean"||e===""?"":n||typeof e!="number"||e===0||Zo.hasOwnProperty(t)&&Zo[t]?(""+e).trim():e+"px"}function vS(t,e){t=t.style;for(var n in e)if(e.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=gS(n,e[n],r);n==="float"&&(n="cssFloat"),r?t.setProperty(n,i):t[n]=i}}var MM=He({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 Fp(t,e){if(e){if(MM[t]&&(e.children!=null||e.dangerouslySetInnerHTML!=null))throw Error(X(137,t));if(e.dangerouslySetInnerHTML!=null){if(e.children!=null)throw Error(X(60));if(typeof e.dangerouslySetInnerHTML!="object"||!("__html"in e.dangerouslySetInnerHTML))throw Error(X(61))}if(e.style!=null&&typeof e.style!="object")throw Error(X(62))}}function Np(t,e){if(t.indexOf("-")===-1)return typeof e.is=="string";switch(t){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var _p=null;function Bm(t){return t=t.target||t.srcElement||window,t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===3?t.parentNode:t}var Vp=null,ja=null,$a=null;function ay(t){if(t=Js(t)){if(typeof Vp!="function")throw Error(X(280));var e=t.stateNode;e&&(e=Dc(e),Vp(t.stateNode,t.type,e))}}function yS(t){ja?$a?$a.push(t):$a=[t]:ja=t}function wS(){if(ja){var t=ja,e=$a;if($a=ja=null,ay(t),e)for(t=0;t>>=0,t===0?32:31-(jM(t)/$M|0)|0}var Al=64,Ll=4194304;function Ho(t){switch(t&-t){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return t&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return t}}function zu(t,e){var n=t.pendingLanes;if(n===0)return 0;var r=0,i=t.suspendedLanes,a=t.pingedLanes,o=n&268435455;if(o!==0){var l=o&~i;l!==0?r=Ho(l):(a&=o,a!==0&&(r=Ho(a)))}else o=n&~i,o!==0?r=Ho(o):a!==0&&(r=Ho(a));if(r===0)return 0;if(e!==0&&e!==r&&!(e&i)&&(i=r&-r,a=e&-e,i>=a||i===16&&(a&4194240)!==0))return e;if(r&4&&(r|=n&16),e=t.entangledLanes,e!==0)for(t=t.entanglements,e&=r;0n;n++)e.push(t);return e}function Qs(t,e,n){t.pendingLanes|=e,e!==536870912&&(t.suspendedLanes=0,t.pingedLanes=0),t=t.eventTimes,e=31-qn(e),t[e]=n}function UM(t,e){var n=t.pendingLanes&~e;t.pendingLanes=e,t.suspendedLanes=0,t.pingedLanes=0,t.expiredLanes&=e,t.mutableReadLanes&=e,t.entangledLanes&=e,e=t.entanglements;var r=t.eventTimes;for(t=t.expirationTimes;0=es),hy=String.fromCharCode(32),my=!1;function jS(t,e){switch(t){case"keyup":return y2.indexOf(e.keyCode)!==-1;case"keydown":return e.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function $S(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}var ba=!1;function b2(t,e){switch(t){case"compositionend":return $S(e);case"keypress":return e.which!==32?null:(my=!0,hy);case"textInput":return t=e.data,t===hy&&my?null:t;default:return null}}function S2(t,e){if(ba)return t==="compositionend"||!Ym&&jS(t,e)?(t=_S(),cu=qm=qr=null,ba=!1,t):null;switch(t){case"paste":return null;case"keypress":if(!(e.ctrlKey||e.altKey||e.metaKey)||e.ctrlKey&&e.altKey){if(e.char&&1=e)return{node:n,offset:e-t};t=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=wy(n)}}function US(t,e){return t&&e?t===e?!0:t&&t.nodeType===3?!1:e&&e.nodeType===3?US(t,e.parentNode):"contains"in t?t.contains(e):t.compareDocumentPosition?!!(t.compareDocumentPosition(e)&16):!1:!1}function WS(){for(var t=window,e=_u();e instanceof t.HTMLIFrameElement;){try{var n=typeof e.contentWindow.location.href=="string"}catch{n=!1}if(n)t=e.contentWindow;else break;e=_u(t.document)}return e}function Qm(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e&&(e==="input"&&(t.type==="text"||t.type==="search"||t.type==="tel"||t.type==="url"||t.type==="password")||e==="textarea"||t.contentEditable==="true")}function A2(t){var e=WS(),n=t.focusedElem,r=t.selectionRange;if(e!==n&&n&&n.ownerDocument&&US(n.ownerDocument.documentElement,n)){if(r!==null&&Qm(n)){if(e=r.start,t=r.end,t===void 0&&(t=e),"selectionStart"in n)n.selectionStart=e,n.selectionEnd=Math.min(t,n.value.length);else if(t=(e=n.ownerDocument||document)&&e.defaultView||window,t.getSelection){t=t.getSelection();var i=n.textContent.length,a=Math.min(r.start,i);r=r.end===void 0?a:Math.min(r.end,i),!t.extend&&a>r&&(i=r,r=a,a=i),i=by(n,a);var o=by(n,r);i&&o&&(t.rangeCount!==1||t.anchorNode!==i.node||t.anchorOffset!==i.offset||t.focusNode!==o.node||t.focusOffset!==o.offset)&&(e=e.createRange(),e.setStart(i.node,i.offset),t.removeAllRanges(),a>r?(t.addRange(e),t.extend(o.node,o.offset)):(e.setEnd(o.node,o.offset),t.addRange(e)))}}for(e=[],t=n;t=t.parentNode;)t.nodeType===1&&e.push({element:t,left:t.scrollLeft,top:t.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,Sa=null,Up=null,ns=null,Wp=!1;function Sy(t,e,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Wp||Sa==null||Sa!==_u(r)||(r=Sa,"selectionStart"in r&&Qm(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}),ns&&ks(ns,r)||(ns=r,r=Uu(Up,"onSelect"),0Ca||(t.current=Qp[Ca],Qp[Ca]=null,Ca--)}function Ie(t,e){Ca++,Qp[Ca]=t.current,t.current=e}var li={},_t=mi(li),Qt=mi(!1),Wi=li;function Ka(t,e){var n=t.type.contextTypes;if(!n)return li;var r=t.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===e)return r.__reactInternalMemoizedMaskedChildContext;var i={},a;for(a in n)i[a]=e[a];return r&&(t=t.stateNode,t.__reactInternalMemoizedUnmaskedChildContext=e,t.__reactInternalMemoizedMaskedChildContext=i),i}function Zt(t){return t=t.childContextTypes,t!=null}function Gu(){_e(Qt),_e(_t)}function My(t,e,n){if(_t.current!==li)throw Error(X(168));Ie(_t,e),Ie(Qt,n)}function ex(t,e,n){var r=t.stateNode;if(e=e.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var i in r)if(!(i in e))throw Error(X(108,TM(t)||"Unknown",i));return He({},n,r)}function qu(t){return t=(t=t.stateNode)&&t.__reactInternalMemoizedMergedChildContext||li,Wi=_t.current,Ie(_t,t),Ie(Qt,Qt.current),!0}function Oy(t,e,n){var r=t.stateNode;if(!r)throw Error(X(169));n?(t=ex(t,e,Wi),r.__reactInternalMemoizedMergedChildContext=t,_e(Qt),_e(_t),Ie(_t,t)):_e(Qt),Ie(Qt,n)}var yr=null,Fc=!1,sf=!1;function tx(t){yr===null?yr=[t]:yr.push(t)}function B2(t){Fc=!0,tx(t)}function gi(){if(!sf&&yr!==null){sf=!0;var t=0,e=Pe;try{var n=yr;for(Pe=1;t>=o,i-=o,br=1<<32-qn(e)+i|n<T?(P=C,C=null):P=C.sibling;var O=f(h,C,m[T],b);if(O===null){C===null&&(C=P);break}t&&C&&O.alternate===null&&e(h,C),v=a(O,v,T),x===null?E=O:x.sibling=O,x=O,C=P}if(T===m.length)return n(h,C),je&&Ci(h,T),E;if(C===null){for(;TT?(P=C,C=null):P=C.sibling;var I=f(h,C,O.value,b);if(I===null){C===null&&(C=P);break}t&&C&&I.alternate===null&&e(h,C),v=a(I,v,T),x===null?E=I:x.sibling=I,x=I,C=P}if(O.done)return n(h,C),je&&Ci(h,T),E;if(C===null){for(;!O.done;T++,O=m.next())O=d(h,O.value,b),O!==null&&(v=a(O,v,T),x===null?E=O:x.sibling=O,x=O);return je&&Ci(h,T),E}for(C=r(h,C);!O.done;T++,O=m.next())O=p(C,h,T,O.value,b),O!==null&&(t&&O.alternate!==null&&C.delete(O.key===null?T:O.key),v=a(O,v,T),x===null?E=O:x.sibling=O,x=O);return t&&C.forEach(function(N){return e(h,N)}),je&&Ci(h,T),E}function y(h,v,m,b){if(typeof m=="object"&&m!==null&&m.type===wa&&m.key===null&&(m=m.props.children),typeof m=="object"&&m!==null){switch(m.$$typeof){case kl:e:{for(var E=m.key,x=v;x!==null;){if(x.key===E){if(E=m.type,E===wa){if(x.tag===7){n(h,x.sibling),v=i(x,m.props.children),v.return=h,h=v;break e}}else if(x.elementType===E||typeof E=="object"&&E!==null&&E.$$typeof===zr&&Ny(E)===x.type){n(h,x.sibling),v=i(x,m.props),v.ref=ko(h,x,m),v.return=h,h=v;break e}n(h,x);break}else e(h,x);x=x.sibling}m.type===wa?(v=$i(m.props.children,h.mode,b,m.key),v.return=h,h=v):(b=yu(m.type,m.key,m.props,null,h.mode,b),b.ref=ko(h,v,m),b.return=h,h=b)}return o(h);case ya:e:{for(x=m.key;v!==null;){if(v.key===x)if(v.tag===4&&v.stateNode.containerInfo===m.containerInfo&&v.stateNode.implementation===m.implementation){n(h,v.sibling),v=i(v,m.children||[]),v.return=h,h=v;break e}else{n(h,v);break}else e(h,v);v=v.sibling}v=mf(m,h.mode,b),v.return=h,h=v}return o(h);case zr:return x=m._init,y(h,v,x(m._payload),b)}if(Bo(m))return w(h,v,m,b);if(xo(m))return g(h,v,m,b);Vl(h,m)}return typeof m=="string"&&m!==""||typeof m=="number"?(m=""+m,v!==null&&v.tag===6?(n(h,v.sibling),v=i(v,m),v.return=h,h=v):(n(h,v),v=hf(m,h.mode,b),v.return=h,h=v),o(h)):n(h,v)}return y}var Qa=ux(!0),cx=ux(!1),el={},ur=mi(el),Ls=mi(el),Rs=mi(el);function Ii(t){if(t===el)throw Error(X(174));return t}function og(t,e){switch(Ie(Rs,e),Ie(Ls,t),Ie(ur,el),t=e.nodeType,t){case 9:case 11:e=(e=e.documentElement)?e.namespaceURI:Dp(null,"");break;default:t=t===8?e.parentNode:e,e=t.namespaceURI||null,t=t.tagName,e=Dp(e,t)}_e(ur),Ie(ur,e)}function Za(){_e(ur),_e(Ls),_e(Rs)}function dx(t){Ii(Rs.current);var e=Ii(ur.current),n=Dp(e,t.type);e!==n&&(Ie(Ls,t),Ie(ur,n))}function sg(t){Ls.current===t&&(_e(ur),_e(Ls))}var ze=mi(0);function Ju(t){for(var e=t;e!==null;){if(e.tag===13){var n=e.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return e}else if(e.tag===19&&e.memoizedProps.revealOrder!==void 0){if(e.flags&128)return e}else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break;for(;e.sibling===null;){if(e.return===null||e.return===t)return null;e=e.return}e.sibling.return=e.return,e=e.sibling}return null}var lf=[];function lg(){for(var t=0;tn?n:4,t(!0);var r=uf.transition;uf.transition={};try{t(!1),e()}finally{Pe=n,uf.transition=r}}function kx(){return Dn().memoizedState}function G2(t,e,n){var r=ii(t);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Mx(t))Ox(e,n);else if(n=ax(t,e,n,r),n!==null){var i=Bt();Xn(n,t,r,i),Ax(n,e,r)}}function q2(t,e,n){var r=ii(t),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Mx(t))Ox(e,i);else{var a=t.alternate;if(t.lanes===0&&(a===null||a.lanes===0)&&(a=e.lastRenderedReducer,a!==null))try{var o=e.lastRenderedState,l=a(o,n);if(i.hasEagerState=!0,i.eagerState=l,Qn(l,o)){var s=e.interleaved;s===null?(i.next=i,ig(e)):(i.next=s.next,s.next=i),e.interleaved=i;return}}catch{}finally{}n=ax(t,e,i,r),n!==null&&(i=Bt(),Xn(n,t,r,i),Ax(n,e,r))}}function Mx(t){var e=t.alternate;return t===Be||e!==null&&e===Be}function Ox(t,e){rs=ec=!0;var n=t.pending;n===null?e.next=e:(e.next=n.next,n.next=e),t.pending=e}function Ax(t,e,n){if(n&4194240){var r=e.lanes;r&=t.pendingLanes,n|=r,e.lanes=n,Um(t,n)}}var tc={readContext:In,useCallback:Lt,useContext:Lt,useEffect:Lt,useImperativeHandle:Lt,useInsertionEffect:Lt,useLayoutEffect:Lt,useMemo:Lt,useReducer:Lt,useRef:Lt,useState:Lt,useDebugValue:Lt,useDeferredValue:Lt,useTransition:Lt,useMutableSource:Lt,useSyncExternalStore:Lt,useId:Lt,unstable_isNewReconciler:!1},X2={readContext:In,useCallback:function(t,e){return rr().memoizedState=[t,e===void 0?null:e],t},useContext:In,useEffect:Vy,useImperativeHandle:function(t,e,n){return n=n!=null?n.concat([t]):null,hu(4194308,4,xx.bind(null,e,t),n)},useLayoutEffect:function(t,e){return hu(4194308,4,t,e)},useInsertionEffect:function(t,e){return hu(4,2,t,e)},useMemo:function(t,e){var n=rr();return e=e===void 0?null:e,t=t(),n.memoizedState=[t,e],t},useReducer:function(t,e,n){var r=rr();return e=n!==void 0?n(e):e,r.memoizedState=r.baseState=e,t={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:e},r.queue=t,t=t.dispatch=G2.bind(null,Be,t),[r.memoizedState,t]},useRef:function(t){var e=rr();return t={current:t},e.memoizedState=t},useState:_y,useDebugValue:pg,useDeferredValue:function(t){return rr().memoizedState=t},useTransition:function(){var t=_y(!1),e=t[0];return t=W2.bind(null,t[1]),rr().memoizedState=t,[e,t]},useMutableSource:function(){},useSyncExternalStore:function(t,e,n){var r=Be,i=rr();if(je){if(n===void 0)throw Error(X(407));n=n()}else{if(n=e(),ht===null)throw Error(X(349));qi&30||hx(r,e,n)}i.memoizedState=n;var a={value:n,getSnapshot:e};return i.queue=a,Vy(gx.bind(null,r,a,t),[t]),r.flags|=2048,Fs(9,mx.bind(null,r,a,n,e),void 0,null),n},useId:function(){var t=rr(),e=ht.identifierPrefix;if(je){var n=Sr,r=br;n=(r&~(1<<32-qn(r)-1)).toString(32)+n,e=":"+e+"R"+n,n=Is++,0<\/script>",t=t.removeChild(t.firstChild)):typeof r.is=="string"?t=o.createElement(n,{is:r.is}):(t=o.createElement(n),n==="select"&&(o=t,r.multiple?o.multiple=!0:r.size&&(o.size=r.size))):t=o.createElementNS(t,n),t[or]=e,t[As]=r,Vx(t,e,!1,!1),e.stateNode=t;e:{switch(o=Np(n,r),n){case"dialog":Ne("cancel",t),Ne("close",t),i=r;break;case"iframe":case"object":case"embed":Ne("load",t),i=r;break;case"video":case"audio":for(i=0;ieo&&(e.flags|=128,r=!0,Mo(a,!1),e.lanes=4194304)}else{if(!r)if(t=Qu(o),t!==null){if(e.flags|=128,r=!0,n=t.updateQueue,n!==null&&(e.updateQueue=n,e.flags|=4),Mo(a,!0),a.tail===null&&a.tailMode==="hidden"&&!o.alternate&&!je)return Rt(e),null}else 2*nt()-a.renderingStartTime>eo&&n!==1073741824&&(e.flags|=128,r=!0,Mo(a,!1),e.lanes=4194304);a.isBackwards?(o.sibling=e.child,e.child=o):(n=a.last,n!==null?n.sibling=o:e.child=o,a.last=o)}return a.tail!==null?(e=a.tail,a.rendering=e,a.tail=e.sibling,a.renderingStartTime=nt(),e.sibling=null,n=ze.current,Ie(ze,r?n&1|2:n&1),e):(Rt(e),null);case 22:case 23:return wg(),r=e.memoizedState!==null,t!==null&&t.memoizedState!==null!==r&&(e.flags|=8192),r&&e.mode&1?un&1073741824&&(Rt(e),e.subtreeFlags&6&&(e.flags|=8192)):Rt(e),null;case 24:return null;case 25:return null}throw Error(X(156,e.tag))}function eO(t,e){switch(Jm(e),e.tag){case 1:return Zt(e.type)&&Uu(),t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 3:return Za(),_e(Qt),_e(_t),lg(),t=e.flags,t&65536&&!(t&128)?(e.flags=t&-65537|128,e):null;case 5:return sg(e),null;case 13:if(_e(ze),t=e.memoizedState,t!==null&&t.dehydrated!==null){if(e.alternate===null)throw Error(X(340));Ya()}return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 19:return _e(ze),null;case 4:return Za(),null;case 10:return rg(e.type._context),null;case 22:case 23:return wg(),null;case 24:return null;default:return null}}var Vl=!1,Nt=!1,tO=typeof WeakSet=="function"?WeakSet:Set,Z=null;function Ma(t,e){var n=t.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){Ge(t,e,r)}else n.current=null}function uh(t,e,n){try{n()}catch(r){Ge(t,e,r)}}var Gy=!1;function nO(t,e){if(Gp=$u,t=US(),Qm(t)){if("selectionStart"in t)var n={start:t.selectionStart,end:t.selectionEnd};else e:{n=(n=t.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var i=r.anchorOffset,a=r.focusNode;r=r.focusOffset;try{n.nodeType,a.nodeType}catch{n=null;break e}var o=0,l=-1,s=-1,u=0,c=0,d=t,f=null;t:for(;;){for(var p;d!==n||i!==0&&d.nodeType!==3||(l=o+i),d!==a||r!==0&&d.nodeType!==3||(s=o+r),d.nodeType===3&&(o+=d.nodeValue.length),(p=d.firstChild)!==null;)f=d,d=p;for(;;){if(d===t)break t;if(f===n&&++u===i&&(l=o),f===a&&++c===r&&(s=o),(p=d.nextSibling)!==null)break;d=f,f=d.parentNode}d=p}n=l===-1||s===-1?null:{start:l,end:s}}else n=null}n=n||{start:0,end:0}}else n=null;for(qp={focusedElem:t,selectionRange:n},$u=!1,Z=e;Z!==null;)if(e=Z,t=e.child,(e.subtreeFlags&1028)!==0&&t!==null)t.return=e,Z=t;else for(;Z!==null;){e=Z;try{var w=e.alternate;if(e.flags&1024)switch(e.tag){case 0:case 11:case 15:break;case 1:if(w!==null){var g=w.memoizedProps,y=w.memoizedState,h=e.stateNode,v=h.getSnapshotBeforeUpdate(e.elementType===e.type?g:zn(e.type,g),y);h.__reactInternalSnapshotBeforeUpdate=v}break;case 3:var m=e.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(X(163))}}catch(b){Ge(e,e.return,b)}if(t=e.sibling,t!==null){t.return=e.return,Z=t;break}Z=e.return}return w=Gy,Gy=!1,w}function is(t,e,n){var r=e.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var i=r=r.next;do{if((i.tag&t)===t){var a=i.destroy;i.destroy=void 0,a!==void 0&&uh(e,n,a)}i=i.next}while(i!==r)}}function Nc(t,e){if(e=e.updateQueue,e=e!==null?e.lastEffect:null,e!==null){var n=e=e.next;do{if((n.tag&t)===t){var r=n.create;n.destroy=r()}n=n.next}while(n!==e)}}function ch(t){var e=t.ref;if(e!==null){var n=t.stateNode;switch(t.tag){case 5:t=n;break;default:t=n}typeof e=="function"?e(t):e.current=t}}function zx(t){var e=t.alternate;e!==null&&(t.alternate=null,zx(e)),t.child=null,t.deletions=null,t.sibling=null,t.tag===5&&(e=t.stateNode,e!==null&&(delete e[or],delete e[As],delete e[Yp],delete e[V2],delete e[j2])),t.stateNode=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}function Bx(t){return t.tag===5||t.tag===3||t.tag===4}function qy(t){e:for(;;){for(;t.sibling===null;){if(t.return===null||Bx(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==5&&t.tag!==6&&t.tag!==18;){if(t.flags&2||t.child===null||t.tag===4)continue e;t.child.return=t,t=t.child}if(!(t.flags&2))return t.stateNode}}function dh(t,e,n){var r=t.tag;if(r===5||r===6)t=t.stateNode,e?n.nodeType===8?n.parentNode.insertBefore(t,e):n.insertBefore(t,e):(n.nodeType===8?(e=n.parentNode,e.insertBefore(t,n)):(e=n,e.appendChild(t)),n=n._reactRootContainer,n!=null||e.onclick!==null||(e.onclick=Hu));else if(r!==4&&(t=t.child,t!==null))for(dh(t,e,n),t=t.sibling;t!==null;)dh(t,e,n),t=t.sibling}function fh(t,e,n){var r=t.tag;if(r===5||r===6)t=t.stateNode,e?n.insertBefore(t,e):n.appendChild(t);else if(r!==4&&(t=t.child,t!==null))for(fh(t,e,n),t=t.sibling;t!==null;)fh(t,e,n),t=t.sibling}var wt=null,Bn=!1;function Nr(t,e,n){for(n=n.child;n!==null;)Hx(t,e,n),n=n.sibling}function Hx(t,e,n){if(lr&&typeof lr.onCommitFiberUnmount=="function")try{lr.onCommitFiberUnmount(Mc,n)}catch{}switch(n.tag){case 5:Nt||Ma(n,e);case 6:var r=wt,i=Bn;wt=null,Nr(t,e,n),wt=r,Bn=i,wt!==null&&(Bn?(t=wt,n=n.stateNode,t.nodeType===8?t.parentNode.removeChild(n):t.removeChild(n)):wt.removeChild(n.stateNode));break;case 18:wt!==null&&(Bn?(t=wt,n=n.stateNode,t.nodeType===8?of(t.parentNode,n):t.nodeType===1&&of(t,n),Ts(t)):of(wt,n.stateNode));break;case 4:r=wt,i=Bn,wt=n.stateNode.containerInfo,Bn=!0,Nr(t,e,n),wt=r,Bn=i;break;case 0:case 11:case 14:case 15:if(!Nt&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var a=i,o=a.destroy;a=a.tag,o!==void 0&&(a&2||a&4)&&uh(n,e,o),i=i.next}while(i!==r)}Nr(t,e,n);break;case 1:if(!Nt&&(Ma(n,e),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(l){Ge(n,e,l)}Nr(t,e,n);break;case 21:Nr(t,e,n);break;case 22:n.mode&1?(Nt=(r=Nt)||n.memoizedState!==null,Nr(t,e,n),Nt=r):Nr(t,e,n);break;default:Nr(t,e,n)}}function Xy(t){var e=t.updateQueue;if(e!==null){t.updateQueue=null;var n=t.stateNode;n===null&&(n=t.stateNode=new tO),e.forEach(function(r){var i=dO.bind(null,t,r);n.has(r)||(n.add(r),r.then(i,i))})}}function jn(t,e){var n=e.deletions;if(n!==null)for(var r=0;ri&&(i=o),r&=~a}if(r=i,r=nt()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*iO(r/1960))-r,10t?16:t,qr===null)var r=!1;else{if(t=qr,qr=null,nc=0,Se&6)throw Error(X(331));var i=Se;for(Se|=4,Z=t.current;Z!==null;){var a=Z,o=a.child;if(Z.flags&16){var l=a.deletions;if(l!==null){for(var s=0;snt()-vg?ji(t,0):gg|=n),Jt(t,e)}function Qx(t,e){e===0&&(t.mode&1?(e=Ol,Ol<<=1,!(Ol&130023424)&&(Ol=4194304)):e=1);var n=Bt();t=Ar(t,e),t!==null&&(Qs(t,e,n),Jt(t,n))}function cO(t){var e=t.memoizedState,n=0;e!==null&&(n=e.retryLane),Qx(t,n)}function dO(t,e){var n=0;switch(t.tag){case 13:var r=t.stateNode,i=t.memoizedState;i!==null&&(n=i.retryLane);break;case 19:r=t.stateNode;break;default:throw Error(X(314))}r!==null&&r.delete(e),Qx(t,n)}var Zx;Zx=function(t,e,n){if(t!==null)if(t.memoizedProps!==e.pendingProps||Qt.current)Yt=!0;else{if(!(t.lanes&n)&&!(e.flags&128))return Yt=!1,Z2(t,e,n);Yt=!!(t.flags&131072)}else Yt=!1,je&&e.flags&1048576&&tx(e,qu,e.index);switch(e.lanes=0,e.tag){case 2:var r=e.type;pu(t,e),t=e.pendingProps;var i=Ka(e,_t.current);Ba(e,n),i=cg(null,e,r,t,i,n);var a=dg();return e.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0?(e.tag=1,e.memoizedState=null,e.updateQueue=null,Zt(r)?(a=!0,Wu(e)):a=!1,e.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,ag(e),i.updater=Dc,e.stateNode=i,i._reactInternals=e,nh(e,r,t,n),e=ah(null,e,r,!0,a,n)):(e.tag=0,je&&a&&Zm(e),jt(null,e,i,n),e=e.child),e;case 16:r=e.elementType;e:{switch(pu(t,e),t=e.pendingProps,i=r._init,r=i(r._payload),e.type=r,i=e.tag=pO(r),t=zn(r,t),i){case 0:e=ih(null,e,r,t,n);break e;case 1:e=Hy(null,e,r,t,n);break e;case 11:e=zy(null,e,r,t,n);break e;case 14:e=By(null,e,r,zn(r.type,t),n);break e}throw Error(X(306,r,""))}return e;case 0:return r=e.type,i=e.pendingProps,i=e.elementType===r?i:zn(r,i),ih(t,e,r,i,n);case 1:return r=e.type,i=e.pendingProps,i=e.elementType===r?i:zn(r,i),Hy(t,e,r,i,n);case 3:e:{if(Fx(e),t===null)throw Error(X(387));r=e.pendingProps,a=e.memoizedState,i=a.element,ax(t,e),Yu(e,r,null,n);var o=e.memoizedState;if(r=o.element,a.isDehydrated)if(a={element:r,isDehydrated:!1,cache:o.cache,pendingSuspenseBoundaries:o.pendingSuspenseBoundaries,transitions:o.transitions},e.updateQueue.baseState=a,e.memoizedState=a,e.flags&256){i=Ja(Error(X(423)),e),e=Uy(t,e,r,n,i);break e}else if(r!==i){i=Ja(Error(X(424)),e),e=Uy(t,e,r,n,i);break e}else for(fn=ei(e.stateNode.containerInfo.firstChild),gn=e,je=!0,Gn=null,n=ux(e,null,r,n),e.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Ya(),r===i){e=Lr(t,e,n);break e}jt(t,e,r,n)}e=e.child}return e;case 5:return cx(e),t===null&&Jp(e),r=e.type,i=e.pendingProps,a=t!==null?t.memoizedProps:null,o=i.children,Xp(r,i)?o=null:a!==null&&Xp(r,a)&&(e.flags|=32),Dx(t,e),jt(t,e,o,n),e.child;case 6:return t===null&&Jp(e),null;case 13:return Nx(t,e,n);case 4:return og(e,e.stateNode.containerInfo),r=e.pendingProps,t===null?e.child=Qa(e,null,r,n):jt(t,e,r,n),e.child;case 11:return r=e.type,i=e.pendingProps,i=e.elementType===r?i:zn(r,i),zy(t,e,r,i,n);case 7:return jt(t,e,e.pendingProps,n),e.child;case 8:return jt(t,e,e.pendingProps.children,n),e.child;case 12:return jt(t,e,e.pendingProps.children,n),e.child;case 10:e:{if(r=e.type._context,i=e.pendingProps,a=e.memoizedProps,o=i.value,Ie(Xu,r._currentValue),r._currentValue=o,a!==null)if(Qn(a.value,o)){if(a.children===i.children&&!Qt.current){e=Lr(t,e,n);break e}}else for(a=e.child,a!==null&&(a.return=e);a!==null;){var l=a.dependencies;if(l!==null){o=a.child;for(var s=l.firstContext;s!==null;){if(s.context===r){if(a.tag===1){s=xr(-1,n&-n),s.tag=2;var u=a.updateQueue;if(u!==null){u=u.shared;var c=u.pending;c===null?s.next=s:(s.next=c.next,c.next=s),u.pending=s}}a.lanes|=n,s=a.alternate,s!==null&&(s.lanes|=n),eh(a.return,n,e),l.lanes|=n;break}s=s.next}}else if(a.tag===10)o=a.type===e.type?null:a.child;else if(a.tag===18){if(o=a.return,o===null)throw Error(X(341));o.lanes|=n,l=o.alternate,l!==null&&(l.lanes|=n),eh(o,n,e),o=a.sibling}else o=a.child;if(o!==null)o.return=a;else for(o=a;o!==null;){if(o===e){o=null;break}if(a=o.sibling,a!==null){a.return=o.return,o=a;break}o=o.return}a=o}jt(t,e,i.children,n),e=e.child}return e;case 9:return i=e.type,r=e.pendingProps.children,Ba(e,n),i=In(i),r=r(i),e.flags|=1,jt(t,e,r,n),e.child;case 14:return r=e.type,i=zn(r,e.pendingProps),i=zn(r.type,i),By(t,e,r,i,n);case 15:return Rx(t,e,e.type,e.pendingProps,n);case 17:return r=e.type,i=e.pendingProps,i=e.elementType===r?i:zn(r,i),pu(t,e),e.tag=1,Zt(r)?(t=!0,Wu(e)):t=!1,Ba(e,n),sx(e,r,i),nh(e,r,i,n),ah(null,e,r,!0,t,n);case 19:return _x(t,e,n);case 22:return Ix(t,e,n)}throw Error(X(156,e.tag))};function Jx(t,e){return TS(t,e)}function fO(t,e,n,r){this.tag=t,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=e,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 Ln(t,e,n,r){return new fO(t,e,n,r)}function Sg(t){return t=t.prototype,!(!t||!t.isReactComponent)}function pO(t){if(typeof t=="function")return Sg(t)?1:0;if(t!=null){if(t=t.$$typeof,t===$m)return 11;if(t===zm)return 14}return 2}function ii(t,e){var n=t.alternate;return n===null?(n=Ln(t.tag,e,t.key,t.mode),n.elementType=t.elementType,n.type=t.type,n.stateNode=t.stateNode,n.alternate=t,t.alternate=n):(n.pendingProps=e,n.type=t.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=t.flags&14680064,n.childLanes=t.childLanes,n.lanes=t.lanes,n.child=t.child,n.memoizedProps=t.memoizedProps,n.memoizedState=t.memoizedState,n.updateQueue=t.updateQueue,e=t.dependencies,n.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext},n.sibling=t.sibling,n.index=t.index,n.ref=t.ref,n}function gu(t,e,n,r,i,a){var o=2;if(r=t,typeof t=="function")Sg(t)&&(o=1);else if(typeof t=="string")o=5;else e:switch(t){case wa:return $i(n.children,i,a,e);case jm:o=8,i|=8;break;case Pp:return t=Ln(12,n,e,i|2),t.elementType=Pp,t.lanes=a,t;case kp:return t=Ln(13,n,e,i),t.elementType=kp,t.lanes=a,t;case Mp:return t=Ln(19,n,e,i),t.elementType=Mp,t.lanes=a,t;case lS:return Vc(n,i,a,e);default:if(typeof t=="object"&&t!==null)switch(t.$$typeof){case oS:o=10;break e;case sS:o=9;break e;case $m:o=11;break e;case zm:o=14;break e;case $r:o=16,r=null;break e}throw Error(X(130,t==null?t:typeof t,""))}return e=Ln(o,n,e,i),e.elementType=t,e.type=r,e.lanes=a,e}function $i(t,e,n,r){return t=Ln(7,t,r,e),t.lanes=n,t}function Vc(t,e,n,r){return t=Ln(22,t,r,e),t.elementType=lS,t.lanes=n,t.stateNode={isHidden:!1},t}function hf(t,e,n){return t=Ln(6,t,null,e),t.lanes=n,t}function mf(t,e,n){return e=Ln(4,t.children!==null?t.children:[],t.key,e),e.lanes=n,e.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},e}function hO(t,e,n,r,i){this.tag=e,this.containerInfo=t,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Xd(0),this.expirationTimes=Xd(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Xd(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function xg(t,e,n,r,i,a,o,l,s){return t=new hO(t,e,n,l,s),e===1?(e=1,a===!0&&(e|=8)):e=0,a=Ln(3,null,null,e),t.current=a,a.stateNode=t,a.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},ag(a),t}function mO(t,e,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(rE)}catch(t){console.error(t)}}rE(),tS.exports=bn;var tl=tS.exports;const iE=Ks(tl),bO=Ub({__proto__:null,default:iE},[tl]);var n0=tl;Cp.createRoot=n0.createRoot,Cp.hydrateRoot=n0.hydrateRoot;/** +`+a.stack}return{value:t,source:e,stack:i,digest:null}}function ff(t,e,n){return{value:t,source:null,stack:n??null,digest:e??null}}function rh(t,e){try{console.error(e.value)}catch(n){setTimeout(function(){throw n})}}var Q2=typeof WeakMap=="function"?WeakMap:Map;function Lx(t,e,n){n=Er(-1,n),n.tag=3,n.payload={element:null};var r=e.value;return n.callback=function(){rc||(rc=!0,ph=r),rh(t,e)},n}function Rx(t,e,n){n=Er(-1,n),n.tag=3;var r=t.type.getDerivedStateFromError;if(typeof r=="function"){var i=e.value;n.payload=function(){return r(i)},n.callback=function(){rh(t,e)}}var a=t.stateNode;return a!==null&&typeof a.componentDidCatch=="function"&&(n.callback=function(){rh(t,e),typeof r!="function"&&(ri===null?ri=new Set([this]):ri.add(this));var o=e.stack;this.componentDidCatch(e.value,{componentStack:o!==null?o:""})}),n}function jy(t,e,n){var r=t.pingCache;if(r===null){r=t.pingCache=new Q2;var i=new Set;r.set(e,i)}else i=r.get(e),i===void 0&&(i=new Set,r.set(e,i));i.has(n)||(i.add(n),t=dO.bind(null,t,e,n),e.then(t,t))}function $y(t){do{var e;if((e=t.tag===13)&&(e=t.memoizedState,e=e!==null?e.dehydrated!==null:!0),e)return t;t=t.return}while(t!==null);return null}function zy(t,e,n,r,i){return t.mode&1?(t.flags|=65536,t.lanes=i,t):(t===e?t.flags|=65536:(t.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(e=Er(-1,1),e.tag=2,ni(n,e,1))),n.lanes|=1),t)}var Z2=Dr.ReactCurrentOwner,Yt=!1;function jt(t,e,n,r){e.child=t===null?cx(e,null,n,r):Qa(e,t.child,n,r)}function By(t,e,n,r,i){n=n.render;var a=e.ref;return Ba(e,i),r=cg(t,e,n,r,a,i),n=dg(),t!==null&&!Yt?(e.updateQueue=t.updateQueue,e.flags&=-2053,t.lanes&=~i,Rr(t,e,i)):(je&&n&&Zm(e),e.flags|=1,jt(t,e,r,i),e.child)}function Hy(t,e,n,r,i){if(t===null){var a=n.type;return typeof a=="function"&&!Sg(a)&&a.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(e.tag=15,e.type=a,Ix(t,e,a,r,i)):(t=yu(n.type,null,r,e,e.mode,i),t.ref=e.ref,t.return=e,e.child=t)}if(a=t.child,!(t.lanes&i)){var o=a.memoizedProps;if(n=n.compare,n=n!==null?n:ks,n(o,r)&&t.ref===e.ref)return Rr(t,e,i)}return e.flags|=1,t=ai(a,r),t.ref=e.ref,t.return=e,e.child=t}function Ix(t,e,n,r,i){if(t!==null){var a=t.memoizedProps;if(ks(a,r)&&t.ref===e.ref)if(Yt=!1,e.pendingProps=r=a,(t.lanes&i)!==0)t.flags&131072&&(Yt=!0);else return e.lanes=t.lanes,Rr(t,e,i)}return ih(t,e,n,r,i)}function Dx(t,e,n){var r=e.pendingProps,i=r.children,a=t!==null?t.memoizedState:null;if(r.mode==="hidden")if(!(e.mode&1))e.memoizedState={baseLanes:0,cachePool:null,transitions:null},Ie(Oa,un),un|=n;else{if(!(n&1073741824))return t=a!==null?a.baseLanes|n:n,e.lanes=e.childLanes=1073741824,e.memoizedState={baseLanes:t,cachePool:null,transitions:null},e.updateQueue=null,Ie(Oa,un),un|=t,null;e.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=a!==null?a.baseLanes:n,Ie(Oa,un),un|=r}else a!==null?(r=a.baseLanes|n,e.memoizedState=null):r=n,Ie(Oa,un),un|=r;return jt(t,e,i,n),e.child}function Fx(t,e){var n=e.ref;(t===null&&n!==null||t!==null&&t.ref!==n)&&(e.flags|=512,e.flags|=2097152)}function ih(t,e,n,r,i){var a=Zt(n)?Wi:_t.current;return a=Ka(e,a),Ba(e,i),n=cg(t,e,n,r,a,i),r=dg(),t!==null&&!Yt?(e.updateQueue=t.updateQueue,e.flags&=-2053,t.lanes&=~i,Rr(t,e,i)):(je&&r&&Zm(e),e.flags|=1,jt(t,e,n,i),e.child)}function Uy(t,e,n,r,i){if(Zt(n)){var a=!0;qu(e)}else a=!1;if(Ba(e,i),e.stateNode===null)mu(t,e),lx(e,n,r),nh(e,n,r,i),r=!0;else if(t===null){var o=e.stateNode,l=e.memoizedProps;o.props=l;var s=o.context,u=n.contextType;typeof u=="object"&&u!==null?u=In(u):(u=Zt(n)?Wi:_t.current,u=Ka(e,u));var c=n.getDerivedStateFromProps,d=typeof c=="function"||typeof o.getSnapshotBeforeUpdate=="function";d||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(l!==r||s!==u)&&Fy(e,o,r,u),Br=!1;var f=e.memoizedState;o.state=f,Zu(e,r,o,i),s=e.memoizedState,l!==r||f!==s||Qt.current||Br?(typeof c=="function"&&(th(e,n,c,r),s=e.memoizedState),(l=Br||Dy(e,n,l,r,f,s,u))?(d||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount()),typeof o.componentDidMount=="function"&&(e.flags|=4194308)):(typeof o.componentDidMount=="function"&&(e.flags|=4194308),e.memoizedProps=r,e.memoizedState=s),o.props=r,o.state=s,o.context=u,r=l):(typeof o.componentDidMount=="function"&&(e.flags|=4194308),r=!1)}else{o=e.stateNode,ox(t,e),l=e.memoizedProps,u=e.type===e.elementType?l:zn(e.type,l),o.props=u,d=e.pendingProps,f=o.context,s=n.contextType,typeof s=="object"&&s!==null?s=In(s):(s=Zt(n)?Wi:_t.current,s=Ka(e,s));var p=n.getDerivedStateFromProps;(c=typeof p=="function"||typeof o.getSnapshotBeforeUpdate=="function")||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(l!==d||f!==s)&&Fy(e,o,r,s),Br=!1,f=e.memoizedState,o.state=f,Zu(e,r,o,i);var w=e.memoizedState;l!==d||f!==w||Qt.current||Br?(typeof p=="function"&&(th(e,n,p,r),w=e.memoizedState),(u=Br||Dy(e,n,u,r,f,w,s)||!1)?(c||typeof o.UNSAFE_componentWillUpdate!="function"&&typeof o.componentWillUpdate!="function"||(typeof o.componentWillUpdate=="function"&&o.componentWillUpdate(r,w,s),typeof o.UNSAFE_componentWillUpdate=="function"&&o.UNSAFE_componentWillUpdate(r,w,s)),typeof o.componentDidUpdate=="function"&&(e.flags|=4),typeof o.getSnapshotBeforeUpdate=="function"&&(e.flags|=1024)):(typeof o.componentDidUpdate!="function"||l===t.memoizedProps&&f===t.memoizedState||(e.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||l===t.memoizedProps&&f===t.memoizedState||(e.flags|=1024),e.memoizedProps=r,e.memoizedState=w),o.props=r,o.state=w,o.context=s,r=u):(typeof o.componentDidUpdate!="function"||l===t.memoizedProps&&f===t.memoizedState||(e.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||l===t.memoizedProps&&f===t.memoizedState||(e.flags|=1024),r=!1)}return ah(t,e,n,r,a,i)}function ah(t,e,n,r,i,a){Fx(t,e);var o=(e.flags&128)!==0;if(!r&&!o)return i&&Oy(e,n,!1),Rr(t,e,a);r=e.stateNode,Z2.current=e;var l=o&&typeof n.getDerivedStateFromError!="function"?null:r.render();return e.flags|=1,t!==null&&o?(e.child=Qa(e,t.child,null,a),e.child=Qa(e,null,l,a)):jt(t,e,l,a),e.memoizedState=r.state,i&&Oy(e,n,!0),e.child}function Nx(t){var e=t.stateNode;e.pendingContext?My(t,e.pendingContext,e.pendingContext!==e.context):e.context&&My(t,e.context,!1),og(t,e.containerInfo)}function Wy(t,e,n,r,i){return Ya(),eg(i),e.flags|=256,jt(t,e,n,r),e.child}var oh={dehydrated:null,treeContext:null,retryLane:0};function sh(t){return{baseLanes:t,cachePool:null,transitions:null}}function _x(t,e,n){var r=e.pendingProps,i=ze.current,a=!1,o=(e.flags&128)!==0,l;if((l=o)||(l=t!==null&&t.memoizedState===null?!1:(i&2)!==0),l?(a=!0,e.flags&=-129):(t===null||t.memoizedState!==null)&&(i|=1),Ie(ze,i&1),t===null)return Jp(e),t=e.memoizedState,t!==null&&(t=t.dehydrated,t!==null)?(e.mode&1?t.data==="$!"?e.lanes=8:e.lanes=1073741824:e.lanes=1,null):(o=r.children,t=r.fallback,a?(r=e.mode,a=e.child,o={mode:"hidden",children:o},!(r&1)&&a!==null?(a.childLanes=0,a.pendingProps=o):a=$c(o,r,0,null),t=$i(t,r,n,null),a.return=e,t.return=e,a.sibling=t,e.child=a,e.child.memoizedState=sh(n),e.memoizedState=oh,t):hg(e,o));if(i=t.memoizedState,i!==null&&(l=i.dehydrated,l!==null))return J2(t,e,o,r,l,i,n);if(a){a=r.fallback,o=e.mode,i=t.child,l=i.sibling;var s={mode:"hidden",children:r.children};return!(o&1)&&e.child!==i?(r=e.child,r.childLanes=0,r.pendingProps=s,e.deletions=null):(r=ai(i,s),r.subtreeFlags=i.subtreeFlags&14680064),l!==null?a=ai(l,a):(a=$i(a,o,n,null),a.flags|=2),a.return=e,r.return=e,r.sibling=a,e.child=r,r=a,a=e.child,o=t.child.memoizedState,o=o===null?sh(n):{baseLanes:o.baseLanes|n,cachePool:null,transitions:o.transitions},a.memoizedState=o,a.childLanes=t.childLanes&~n,e.memoizedState=oh,r}return a=t.child,t=a.sibling,r=ai(a,{mode:"visible",children:r.children}),!(e.mode&1)&&(r.lanes=n),r.return=e,r.sibling=null,t!==null&&(n=e.deletions,n===null?(e.deletions=[t],e.flags|=16):n.push(t)),e.child=r,e.memoizedState=null,r}function hg(t,e){return e=$c({mode:"visible",children:e},t.mode,0,null),e.return=t,t.child=e}function jl(t,e,n,r){return r!==null&&eg(r),Qa(e,t.child,null,n),t=hg(e,e.pendingProps.children),t.flags|=2,e.memoizedState=null,t}function J2(t,e,n,r,i,a,o){if(n)return e.flags&256?(e.flags&=-257,r=ff(Error(X(422))),jl(t,e,o,r)):e.memoizedState!==null?(e.child=t.child,e.flags|=128,null):(a=r.fallback,i=e.mode,r=$c({mode:"visible",children:r.children},i,0,null),a=$i(a,i,o,null),a.flags|=2,r.return=e,a.return=e,r.sibling=a,e.child=r,e.mode&1&&Qa(e,t.child,null,o),e.child.memoizedState=sh(o),e.memoizedState=oh,a);if(!(e.mode&1))return jl(t,e,o,null);if(i.data==="$!"){if(r=i.nextSibling&&i.nextSibling.dataset,r)var l=r.dgst;return r=l,a=Error(X(419)),r=ff(a,r,void 0),jl(t,e,o,r)}if(l=(o&t.childLanes)!==0,Yt||l){if(r=ht,r!==null){switch(o&-o){case 4:i=2;break;case 16:i=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:i=32;break;case 536870912:i=268435456;break;default:i=0}i=i&(r.suspendedLanes|o)?0:i,i!==0&&i!==a.retryLane&&(a.retryLane=i,Lr(t,i),Xn(r,t,i,-1))}return bg(),r=ff(Error(X(421))),jl(t,e,o,r)}return i.data==="$?"?(e.flags|=128,e.child=t.child,e=fO.bind(null,t),i._reactRetry=e,null):(t=a.treeContext,fn=ti(i.nextSibling),gn=e,je=!0,Gn=null,t!==null&&(Mn[On++]=br,Mn[On++]=Sr,Mn[On++]=Gi,br=t.id,Sr=t.overflow,Gi=e),e=hg(e,r.children),e.flags|=4096,e)}function Gy(t,e,n){t.lanes|=e;var r=t.alternate;r!==null&&(r.lanes|=e),eh(t.return,e,n)}function pf(t,e,n,r,i){var a=t.memoizedState;a===null?t.memoizedState={isBackwards:e,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i}:(a.isBackwards=e,a.rendering=null,a.renderingStartTime=0,a.last=r,a.tail=n,a.tailMode=i)}function Vx(t,e,n){var r=e.pendingProps,i=r.revealOrder,a=r.tail;if(jt(t,e,r.children,n),r=ze.current,r&2)r=r&1|2,e.flags|=128;else{if(t!==null&&t.flags&128)e:for(t=e.child;t!==null;){if(t.tag===13)t.memoizedState!==null&&Gy(t,n,e);else if(t.tag===19)Gy(t,n,e);else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break e;for(;t.sibling===null;){if(t.return===null||t.return===e)break e;t=t.return}t.sibling.return=t.return,t=t.sibling}r&=1}if(Ie(ze,r),!(e.mode&1))e.memoizedState=null;else switch(i){case"forwards":for(n=e.child,i=null;n!==null;)t=n.alternate,t!==null&&Ju(t)===null&&(i=n),n=n.sibling;n=i,n===null?(i=e.child,e.child=null):(i=n.sibling,n.sibling=null),pf(e,!1,i,n,a);break;case"backwards":for(n=null,i=e.child,e.child=null;i!==null;){if(t=i.alternate,t!==null&&Ju(t)===null){e.child=i;break}t=i.sibling,i.sibling=n,n=i,i=t}pf(e,!0,n,null,a);break;case"together":pf(e,!1,null,null,void 0);break;default:e.memoizedState=null}return e.child}function mu(t,e){!(e.mode&1)&&t!==null&&(t.alternate=null,e.alternate=null,e.flags|=2)}function Rr(t,e,n){if(t!==null&&(e.dependencies=t.dependencies),Xi|=e.lanes,!(n&e.childLanes))return null;if(t!==null&&e.child!==t.child)throw Error(X(153));if(e.child!==null){for(t=e.child,n=ai(t,t.pendingProps),e.child=n,n.return=e;t.sibling!==null;)t=t.sibling,n=n.sibling=ai(t,t.pendingProps),n.return=e;n.sibling=null}return e.child}function eO(t,e,n){switch(e.tag){case 3:Nx(e),Ya();break;case 5:dx(e);break;case 1:Zt(e.type)&&qu(e);break;case 4:og(e,e.stateNode.containerInfo);break;case 10:var r=e.type._context,i=e.memoizedProps.value;Ie(Yu,r._currentValue),r._currentValue=i;break;case 13:if(r=e.memoizedState,r!==null)return r.dehydrated!==null?(Ie(ze,ze.current&1),e.flags|=128,null):n&e.child.childLanes?_x(t,e,n):(Ie(ze,ze.current&1),t=Rr(t,e,n),t!==null?t.sibling:null);Ie(ze,ze.current&1);break;case 19:if(r=(n&e.childLanes)!==0,t.flags&128){if(r)return Vx(t,e,n);e.flags|=128}if(i=e.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),Ie(ze,ze.current),r)break;return null;case 22:case 23:return e.lanes=0,Dx(t,e,n)}return Rr(t,e,n)}var jx,lh,$x,zx;jx=function(t,e){for(var n=e.child;n!==null;){if(n.tag===5||n.tag===6)t.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===e)break;for(;n.sibling===null;){if(n.return===null||n.return===e)return;n=n.return}n.sibling.return=n.return,n=n.sibling}};lh=function(){};$x=function(t,e,n,r){var i=t.memoizedProps;if(i!==r){t=e.stateNode,Ii(ur.current);var a=null;switch(n){case"input":i=Ap(t,i),r=Ap(t,r),a=[];break;case"select":i=He({},i,{value:void 0}),r=He({},r,{value:void 0}),a=[];break;case"textarea":i=Ip(t,i),r=Ip(t,r),a=[];break;default:typeof i.onClick!="function"&&typeof r.onClick=="function"&&(t.onclick=Wu)}Fp(n,r);var o;n=null;for(u in i)if(!r.hasOwnProperty(u)&&i.hasOwnProperty(u)&&i[u]!=null)if(u==="style"){var l=i[u];for(o in l)l.hasOwnProperty(o)&&(n||(n={}),n[o]="")}else u!=="dangerouslySetInnerHTML"&&u!=="children"&&u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&u!=="autoFocus"&&(bs.hasOwnProperty(u)?a||(a=[]):(a=a||[]).push(u,null));for(u in r){var s=r[u];if(l=i!=null?i[u]:void 0,r.hasOwnProperty(u)&&s!==l&&(s!=null||l!=null))if(u==="style")if(l){for(o in l)!l.hasOwnProperty(o)||s&&s.hasOwnProperty(o)||(n||(n={}),n[o]="");for(o in s)s.hasOwnProperty(o)&&l[o]!==s[o]&&(n||(n={}),n[o]=s[o])}else n||(a||(a=[]),a.push(u,n)),n=s;else u==="dangerouslySetInnerHTML"?(s=s?s.__html:void 0,l=l?l.__html:void 0,s!=null&&l!==s&&(a=a||[]).push(u,s)):u==="children"?typeof s!="string"&&typeof s!="number"||(a=a||[]).push(u,""+s):u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&(bs.hasOwnProperty(u)?(s!=null&&u==="onScroll"&&Ne("scroll",t),a||l===s||(a=[])):(a=a||[]).push(u,s))}n&&(a=a||[]).push("style",n);var u=a;(e.updateQueue=u)&&(e.flags|=4)}};zx=function(t,e,n,r){n!==r&&(e.flags|=4)};function Mo(t,e){if(!je)switch(t.tailMode){case"hidden":e=t.tail;for(var n=null;e!==null;)e.alternate!==null&&(n=e),e=e.sibling;n===null?t.tail=null:n.sibling=null;break;case"collapsed":n=t.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?e||t.tail===null?t.tail=null:t.tail.sibling=null:r.sibling=null}}function Rt(t){var e=t.alternate!==null&&t.alternate.child===t.child,n=0,r=0;if(e)for(var i=t.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags&14680064,r|=i.flags&14680064,i.return=t,i=i.sibling;else for(i=t.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=t,i=i.sibling;return t.subtreeFlags|=r,t.childLanes=n,e}function tO(t,e,n){var r=e.pendingProps;switch(Jm(e),e.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Rt(e),null;case 1:return Zt(e.type)&&Gu(),Rt(e),null;case 3:return r=e.stateNode,Za(),_e(Qt),_e(_t),lg(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(t===null||t.child===null)&&(_l(e)?e.flags|=4:t===null||t.memoizedState.isDehydrated&&!(e.flags&256)||(e.flags|=1024,Gn!==null&&(gh(Gn),Gn=null))),lh(t,e),Rt(e),null;case 5:sg(e);var i=Ii(Rs.current);if(n=e.type,t!==null&&e.stateNode!=null)$x(t,e,n,r,i),t.ref!==e.ref&&(e.flags|=512,e.flags|=2097152);else{if(!r){if(e.stateNode===null)throw Error(X(166));return Rt(e),null}if(t=Ii(ur.current),_l(e)){r=e.stateNode,n=e.type;var a=e.memoizedProps;switch(r[or]=e,r[As]=a,t=(e.mode&1)!==0,n){case"dialog":Ne("cancel",r),Ne("close",r);break;case"iframe":case"object":case"embed":Ne("load",r);break;case"video":case"audio":for(i=0;i<\/script>",t=t.removeChild(t.firstChild)):typeof r.is=="string"?t=o.createElement(n,{is:r.is}):(t=o.createElement(n),n==="select"&&(o=t,r.multiple?o.multiple=!0:r.size&&(o.size=r.size))):t=o.createElementNS(t,n),t[or]=e,t[As]=r,jx(t,e,!1,!1),e.stateNode=t;e:{switch(o=Np(n,r),n){case"dialog":Ne("cancel",t),Ne("close",t),i=r;break;case"iframe":case"object":case"embed":Ne("load",t),i=r;break;case"video":case"audio":for(i=0;ieo&&(e.flags|=128,r=!0,Mo(a,!1),e.lanes=4194304)}else{if(!r)if(t=Ju(o),t!==null){if(e.flags|=128,r=!0,n=t.updateQueue,n!==null&&(e.updateQueue=n,e.flags|=4),Mo(a,!0),a.tail===null&&a.tailMode==="hidden"&&!o.alternate&&!je)return Rt(e),null}else 2*nt()-a.renderingStartTime>eo&&n!==1073741824&&(e.flags|=128,r=!0,Mo(a,!1),e.lanes=4194304);a.isBackwards?(o.sibling=e.child,e.child=o):(n=a.last,n!==null?n.sibling=o:e.child=o,a.last=o)}return a.tail!==null?(e=a.tail,a.rendering=e,a.tail=e.sibling,a.renderingStartTime=nt(),e.sibling=null,n=ze.current,Ie(ze,r?n&1|2:n&1),e):(Rt(e),null);case 22:case 23:return wg(),r=e.memoizedState!==null,t!==null&&t.memoizedState!==null!==r&&(e.flags|=8192),r&&e.mode&1?un&1073741824&&(Rt(e),e.subtreeFlags&6&&(e.flags|=8192)):Rt(e),null;case 24:return null;case 25:return null}throw Error(X(156,e.tag))}function nO(t,e){switch(Jm(e),e.tag){case 1:return Zt(e.type)&&Gu(),t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 3:return Za(),_e(Qt),_e(_t),lg(),t=e.flags,t&65536&&!(t&128)?(e.flags=t&-65537|128,e):null;case 5:return sg(e),null;case 13:if(_e(ze),t=e.memoizedState,t!==null&&t.dehydrated!==null){if(e.alternate===null)throw Error(X(340));Ya()}return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 19:return _e(ze),null;case 4:return Za(),null;case 10:return rg(e.type._context),null;case 22:case 23:return wg(),null;case 24:return null;default:return null}}var $l=!1,Nt=!1,rO=typeof WeakSet=="function"?WeakSet:Set,Z=null;function Ma(t,e){var n=t.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){Ge(t,e,r)}else n.current=null}function uh(t,e,n){try{n()}catch(r){Ge(t,e,r)}}var qy=!1;function iO(t,e){if(Gp=Bu,t=WS(),Qm(t)){if("selectionStart"in t)var n={start:t.selectionStart,end:t.selectionEnd};else e:{n=(n=t.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var i=r.anchorOffset,a=r.focusNode;r=r.focusOffset;try{n.nodeType,a.nodeType}catch{n=null;break e}var o=0,l=-1,s=-1,u=0,c=0,d=t,f=null;t:for(;;){for(var p;d!==n||i!==0&&d.nodeType!==3||(l=o+i),d!==a||r!==0&&d.nodeType!==3||(s=o+r),d.nodeType===3&&(o+=d.nodeValue.length),(p=d.firstChild)!==null;)f=d,d=p;for(;;){if(d===t)break t;if(f===n&&++u===i&&(l=o),f===a&&++c===r&&(s=o),(p=d.nextSibling)!==null)break;d=f,f=d.parentNode}d=p}n=l===-1||s===-1?null:{start:l,end:s}}else n=null}n=n||{start:0,end:0}}else n=null;for(qp={focusedElem:t,selectionRange:n},Bu=!1,Z=e;Z!==null;)if(e=Z,t=e.child,(e.subtreeFlags&1028)!==0&&t!==null)t.return=e,Z=t;else for(;Z!==null;){e=Z;try{var w=e.alternate;if(e.flags&1024)switch(e.tag){case 0:case 11:case 15:break;case 1:if(w!==null){var g=w.memoizedProps,y=w.memoizedState,h=e.stateNode,v=h.getSnapshotBeforeUpdate(e.elementType===e.type?g:zn(e.type,g),y);h.__reactInternalSnapshotBeforeUpdate=v}break;case 3:var m=e.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(X(163))}}catch(b){Ge(e,e.return,b)}if(t=e.sibling,t!==null){t.return=e.return,Z=t;break}Z=e.return}return w=qy,qy=!1,w}function is(t,e,n){var r=e.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var i=r=r.next;do{if((i.tag&t)===t){var a=i.destroy;i.destroy=void 0,a!==void 0&&uh(e,n,a)}i=i.next}while(i!==r)}}function Vc(t,e){if(e=e.updateQueue,e=e!==null?e.lastEffect:null,e!==null){var n=e=e.next;do{if((n.tag&t)===t){var r=n.create;n.destroy=r()}n=n.next}while(n!==e)}}function ch(t){var e=t.ref;if(e!==null){var n=t.stateNode;switch(t.tag){case 5:t=n;break;default:t=n}typeof e=="function"?e(t):e.current=t}}function Bx(t){var e=t.alternate;e!==null&&(t.alternate=null,Bx(e)),t.child=null,t.deletions=null,t.sibling=null,t.tag===5&&(e=t.stateNode,e!==null&&(delete e[or],delete e[As],delete e[Yp],delete e[$2],delete e[z2])),t.stateNode=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}function Hx(t){return t.tag===5||t.tag===3||t.tag===4}function Xy(t){e:for(;;){for(;t.sibling===null;){if(t.return===null||Hx(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==5&&t.tag!==6&&t.tag!==18;){if(t.flags&2||t.child===null||t.tag===4)continue e;t.child.return=t,t=t.child}if(!(t.flags&2))return t.stateNode}}function dh(t,e,n){var r=t.tag;if(r===5||r===6)t=t.stateNode,e?n.nodeType===8?n.parentNode.insertBefore(t,e):n.insertBefore(t,e):(n.nodeType===8?(e=n.parentNode,e.insertBefore(t,n)):(e=n,e.appendChild(t)),n=n._reactRootContainer,n!=null||e.onclick!==null||(e.onclick=Wu));else if(r!==4&&(t=t.child,t!==null))for(dh(t,e,n),t=t.sibling;t!==null;)dh(t,e,n),t=t.sibling}function fh(t,e,n){var r=t.tag;if(r===5||r===6)t=t.stateNode,e?n.insertBefore(t,e):n.appendChild(t);else if(r!==4&&(t=t.child,t!==null))for(fh(t,e,n),t=t.sibling;t!==null;)fh(t,e,n),t=t.sibling}var wt=null,Bn=!1;function _r(t,e,n){for(n=n.child;n!==null;)Ux(t,e,n),n=n.sibling}function Ux(t,e,n){if(lr&&typeof lr.onCommitFiberUnmount=="function")try{lr.onCommitFiberUnmount(Ac,n)}catch{}switch(n.tag){case 5:Nt||Ma(n,e);case 6:var r=wt,i=Bn;wt=null,_r(t,e,n),wt=r,Bn=i,wt!==null&&(Bn?(t=wt,n=n.stateNode,t.nodeType===8?t.parentNode.removeChild(n):t.removeChild(n)):wt.removeChild(n.stateNode));break;case 18:wt!==null&&(Bn?(t=wt,n=n.stateNode,t.nodeType===8?of(t.parentNode,n):t.nodeType===1&&of(t,n),Ts(t)):of(wt,n.stateNode));break;case 4:r=wt,i=Bn,wt=n.stateNode.containerInfo,Bn=!0,_r(t,e,n),wt=r,Bn=i;break;case 0:case 11:case 14:case 15:if(!Nt&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var a=i,o=a.destroy;a=a.tag,o!==void 0&&(a&2||a&4)&&uh(n,e,o),i=i.next}while(i!==r)}_r(t,e,n);break;case 1:if(!Nt&&(Ma(n,e),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(l){Ge(n,e,l)}_r(t,e,n);break;case 21:_r(t,e,n);break;case 22:n.mode&1?(Nt=(r=Nt)||n.memoizedState!==null,_r(t,e,n),Nt=r):_r(t,e,n);break;default:_r(t,e,n)}}function Ky(t){var e=t.updateQueue;if(e!==null){t.updateQueue=null;var n=t.stateNode;n===null&&(n=t.stateNode=new rO),e.forEach(function(r){var i=pO.bind(null,t,r);n.has(r)||(n.add(r),r.then(i,i))})}}function jn(t,e){var n=e.deletions;if(n!==null)for(var r=0;ri&&(i=o),r&=~a}if(r=i,r=nt()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*oO(r/1960))-r,10t?16:t,Xr===null)var r=!1;else{if(t=Xr,Xr=null,ic=0,Se&6)throw Error(X(331));var i=Se;for(Se|=4,Z=t.current;Z!==null;){var a=Z,o=a.child;if(Z.flags&16){var l=a.deletions;if(l!==null){for(var s=0;snt()-vg?ji(t,0):gg|=n),Jt(t,e)}function Zx(t,e){e===0&&(t.mode&1?(e=Ll,Ll<<=1,!(Ll&130023424)&&(Ll=4194304)):e=1);var n=Bt();t=Lr(t,e),t!==null&&(Qs(t,e,n),Jt(t,n))}function fO(t){var e=t.memoizedState,n=0;e!==null&&(n=e.retryLane),Zx(t,n)}function pO(t,e){var n=0;switch(t.tag){case 13:var r=t.stateNode,i=t.memoizedState;i!==null&&(n=i.retryLane);break;case 19:r=t.stateNode;break;default:throw Error(X(314))}r!==null&&r.delete(e),Zx(t,n)}var Jx;Jx=function(t,e,n){if(t!==null)if(t.memoizedProps!==e.pendingProps||Qt.current)Yt=!0;else{if(!(t.lanes&n)&&!(e.flags&128))return Yt=!1,eO(t,e,n);Yt=!!(t.flags&131072)}else Yt=!1,je&&e.flags&1048576&&nx(e,Ku,e.index);switch(e.lanes=0,e.tag){case 2:var r=e.type;mu(t,e),t=e.pendingProps;var i=Ka(e,_t.current);Ba(e,n),i=cg(null,e,r,t,i,n);var a=dg();return e.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0?(e.tag=1,e.memoizedState=null,e.updateQueue=null,Zt(r)?(a=!0,qu(e)):a=!1,e.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,ag(e),i.updater=Nc,e.stateNode=i,i._reactInternals=e,nh(e,r,t,n),e=ah(null,e,r,!0,a,n)):(e.tag=0,je&&a&&Zm(e),jt(null,e,i,n),e=e.child),e;case 16:r=e.elementType;e:{switch(mu(t,e),t=e.pendingProps,i=r._init,r=i(r._payload),e.type=r,i=e.tag=mO(r),t=zn(r,t),i){case 0:e=ih(null,e,r,t,n);break e;case 1:e=Uy(null,e,r,t,n);break e;case 11:e=By(null,e,r,t,n);break e;case 14:e=Hy(null,e,r,zn(r.type,t),n);break e}throw Error(X(306,r,""))}return e;case 0:return r=e.type,i=e.pendingProps,i=e.elementType===r?i:zn(r,i),ih(t,e,r,i,n);case 1:return r=e.type,i=e.pendingProps,i=e.elementType===r?i:zn(r,i),Uy(t,e,r,i,n);case 3:e:{if(Nx(e),t===null)throw Error(X(387));r=e.pendingProps,a=e.memoizedState,i=a.element,ox(t,e),Zu(e,r,null,n);var o=e.memoizedState;if(r=o.element,a.isDehydrated)if(a={element:r,isDehydrated:!1,cache:o.cache,pendingSuspenseBoundaries:o.pendingSuspenseBoundaries,transitions:o.transitions},e.updateQueue.baseState=a,e.memoizedState=a,e.flags&256){i=Ja(Error(X(423)),e),e=Wy(t,e,r,n,i);break e}else if(r!==i){i=Ja(Error(X(424)),e),e=Wy(t,e,r,n,i);break e}else for(fn=ti(e.stateNode.containerInfo.firstChild),gn=e,je=!0,Gn=null,n=cx(e,null,r,n),e.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Ya(),r===i){e=Rr(t,e,n);break e}jt(t,e,r,n)}e=e.child}return e;case 5:return dx(e),t===null&&Jp(e),r=e.type,i=e.pendingProps,a=t!==null?t.memoizedProps:null,o=i.children,Xp(r,i)?o=null:a!==null&&Xp(r,a)&&(e.flags|=32),Fx(t,e),jt(t,e,o,n),e.child;case 6:return t===null&&Jp(e),null;case 13:return _x(t,e,n);case 4:return og(e,e.stateNode.containerInfo),r=e.pendingProps,t===null?e.child=Qa(e,null,r,n):jt(t,e,r,n),e.child;case 11:return r=e.type,i=e.pendingProps,i=e.elementType===r?i:zn(r,i),By(t,e,r,i,n);case 7:return jt(t,e,e.pendingProps,n),e.child;case 8:return jt(t,e,e.pendingProps.children,n),e.child;case 12:return jt(t,e,e.pendingProps.children,n),e.child;case 10:e:{if(r=e.type._context,i=e.pendingProps,a=e.memoizedProps,o=i.value,Ie(Yu,r._currentValue),r._currentValue=o,a!==null)if(Qn(a.value,o)){if(a.children===i.children&&!Qt.current){e=Rr(t,e,n);break e}}else for(a=e.child,a!==null&&(a.return=e);a!==null;){var l=a.dependencies;if(l!==null){o=a.child;for(var s=l.firstContext;s!==null;){if(s.context===r){if(a.tag===1){s=Er(-1,n&-n),s.tag=2;var u=a.updateQueue;if(u!==null){u=u.shared;var c=u.pending;c===null?s.next=s:(s.next=c.next,c.next=s),u.pending=s}}a.lanes|=n,s=a.alternate,s!==null&&(s.lanes|=n),eh(a.return,n,e),l.lanes|=n;break}s=s.next}}else if(a.tag===10)o=a.type===e.type?null:a.child;else if(a.tag===18){if(o=a.return,o===null)throw Error(X(341));o.lanes|=n,l=o.alternate,l!==null&&(l.lanes|=n),eh(o,n,e),o=a.sibling}else o=a.child;if(o!==null)o.return=a;else for(o=a;o!==null;){if(o===e){o=null;break}if(a=o.sibling,a!==null){a.return=o.return,o=a;break}o=o.return}a=o}jt(t,e,i.children,n),e=e.child}return e;case 9:return i=e.type,r=e.pendingProps.children,Ba(e,n),i=In(i),r=r(i),e.flags|=1,jt(t,e,r,n),e.child;case 14:return r=e.type,i=zn(r,e.pendingProps),i=zn(r.type,i),Hy(t,e,r,i,n);case 15:return Ix(t,e,e.type,e.pendingProps,n);case 17:return r=e.type,i=e.pendingProps,i=e.elementType===r?i:zn(r,i),mu(t,e),e.tag=1,Zt(r)?(t=!0,qu(e)):t=!1,Ba(e,n),lx(e,r,i),nh(e,r,i,n),ah(null,e,r,!0,t,n);case 19:return Vx(t,e,n);case 22:return Dx(t,e,n)}throw Error(X(156,e.tag))};function eE(t,e){return PS(t,e)}function hO(t,e,n,r){this.tag=t,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=e,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 Ln(t,e,n,r){return new hO(t,e,n,r)}function Sg(t){return t=t.prototype,!(!t||!t.isReactComponent)}function mO(t){if(typeof t=="function")return Sg(t)?1:0;if(t!=null){if(t=t.$$typeof,t===$m)return 11;if(t===zm)return 14}return 2}function ai(t,e){var n=t.alternate;return n===null?(n=Ln(t.tag,e,t.key,t.mode),n.elementType=t.elementType,n.type=t.type,n.stateNode=t.stateNode,n.alternate=t,t.alternate=n):(n.pendingProps=e,n.type=t.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=t.flags&14680064,n.childLanes=t.childLanes,n.lanes=t.lanes,n.child=t.child,n.memoizedProps=t.memoizedProps,n.memoizedState=t.memoizedState,n.updateQueue=t.updateQueue,e=t.dependencies,n.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext},n.sibling=t.sibling,n.index=t.index,n.ref=t.ref,n}function yu(t,e,n,r,i,a){var o=2;if(r=t,typeof t=="function")Sg(t)&&(o=1);else if(typeof t=="string")o=5;else e:switch(t){case wa:return $i(n.children,i,a,e);case jm:o=8,i|=8;break;case Pp:return t=Ln(12,n,e,i|2),t.elementType=Pp,t.lanes=a,t;case kp:return t=Ln(13,n,e,i),t.elementType=kp,t.lanes=a,t;case Mp:return t=Ln(19,n,e,i),t.elementType=Mp,t.lanes=a,t;case uS:return $c(n,i,a,e);default:if(typeof t=="object"&&t!==null)switch(t.$$typeof){case sS:o=10;break e;case lS:o=9;break e;case $m:o=11;break e;case zm:o=14;break e;case zr:o=16,r=null;break e}throw Error(X(130,t==null?t:typeof t,""))}return e=Ln(o,n,e,i),e.elementType=t,e.type=r,e.lanes=a,e}function $i(t,e,n,r){return t=Ln(7,t,r,e),t.lanes=n,t}function $c(t,e,n,r){return t=Ln(22,t,r,e),t.elementType=uS,t.lanes=n,t.stateNode={isHidden:!1},t}function hf(t,e,n){return t=Ln(6,t,null,e),t.lanes=n,t}function mf(t,e,n){return e=Ln(4,t.children!==null?t.children:[],t.key,e),e.lanes=n,e.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},e}function gO(t,e,n,r,i){this.tag=e,this.containerInfo=t,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Xd(0),this.expirationTimes=Xd(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Xd(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function xg(t,e,n,r,i,a,o,l,s){return t=new gO(t,e,n,l,s),e===1?(e=1,a===!0&&(e|=8)):e=0,a=Ln(3,null,null,e),t.current=a,a.stateNode=t,a.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},ag(a),t}function vO(t,e,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(iE)}catch(t){console.error(t)}}iE(),nS.exports=bn;var tl=nS.exports;const aE=Ks(tl),xO=Wb({__proto__:null,default:aE},[tl]);var r0=tl;Cp.createRoot=r0.createRoot,Cp.hydrateRoot=r0.hydrateRoot;/** * @remix-run/router v1.14.0 * * Copyright (c) Remix Software Inc. @@ -46,8 +46,8 @@ Error generating stack: `+a.message+` * LICENSE.md file in the root directory of this source tree. * * @license MIT - */function qe(){return qe=Object.assign?Object.assign.bind():function(t){for(var e=1;e"u")throw new Error(e)}function li(t,e){if(!t){typeof console<"u"&&console.warn(e);try{throw new Error(e)}catch{}}}function xO(){return Math.random().toString(36).substr(2,8)}function i0(t,e){return{usr:t.state,key:t.key,idx:e}}function _s(t,e,n,r){return n===void 0&&(n=null),qe({pathname:typeof t=="string"?t:t.pathname,search:"",hash:""},typeof e=="string"?fr(e):e,{state:n,key:e&&e.key||r||xO()})}function Yi(t){let{pathname:e="/",search:n="",hash:r=""}=t;return n&&n!=="?"&&(e+=n.charAt(0)==="?"?n:"?"+n),r&&r!=="#"&&(e+=r.charAt(0)==="#"?r:"#"+r),e}function fr(t){let e={};if(t){let n=t.indexOf("#");n>=0&&(e.hash=t.substr(n),t=t.substr(0,n));let r=t.indexOf("?");r>=0&&(e.search=t.substr(r),t=t.substr(0,r)),t&&(e.pathname=t)}return e}function EO(t,e,n,r){r===void 0&&(r={});let{window:i=document.defaultView,v5Compat:a=!1}=r,o=i.history,l=tt.Pop,s=null,u=c();u==null&&(u=0,o.replaceState(qe({},o.state,{idx:u}),""));function c(){return(o.state||{idx:null}).idx}function d(){l=tt.Pop;let y=c(),h=y==null?null:y-u;u=y,s&&s({action:l,location:g.location,delta:h})}function f(y,h){l=tt.Push;let v=_s(g.location,y,h);n&&n(v,y),u=c()+1;let m=i0(v,u),b=g.createHref(v);try{o.pushState(m,"",b)}catch(E){if(E instanceof DOMException&&E.name==="DataCloneError")throw E;i.location.assign(b)}a&&s&&s({action:l,location:g.location,delta:1})}function p(y,h){l=tt.Replace;let v=_s(g.location,y,h);n&&n(v,y),u=c();let m=i0(v,u),b=g.createHref(v);o.replaceState(m,"",b),a&&s&&s({action:l,location:g.location,delta:0})}function w(y){let h=i.location.origin!=="null"?i.location.origin:i.location.href,v=typeof y=="string"?y:Yi(y);return me(h,"No window.location.(origin|href) available to create URL for href: "+v),new URL(v,h)}let g={get action(){return l},get location(){return t(i,o)},listen(y){if(s)throw new Error("A history only accepts one active listener");return i.addEventListener(r0,d),s=y,()=>{i.removeEventListener(r0,d),s=null}},createHref(y){return e(i,y)},createURL:w,encodeLocation(y){let h=w(y);return{pathname:h.pathname,search:h.search,hash:h.hash}},push:f,replace:p,go(y){return o.go(y)}};return g}var We;(function(t){t.data="data",t.deferred="deferred",t.redirect="redirect",t.error="error"})(We||(We={}));const CO=new Set(["lazy","caseSensitive","path","id","index","children"]);function TO(t){return t.index===!0}function vh(t,e,n,r){return n===void 0&&(n=[]),r===void 0&&(r={}),t.map((i,a)=>{let o=[...n,a],l=typeof i.id=="string"?i.id:o.join("-");if(me(i.index!==!0||!i.children,"Cannot specify children on an index route"),me(!r[l],'Found a route id collision on id "'+l+`". Route id's must be globally unique within Data Router usages`),TO(i)){let s=qe({},i,e(i),{id:l});return r[l]=s,s}else{let s=qe({},i,e(i),{id:l,children:void 0});return r[l]=s,i.children&&(s.children=vh(i.children,e,o,r)),s}})}function Aa(t,e,n){n===void 0&&(n="/");let r=typeof e=="string"?fr(e):e,i=ui(r.pathname||"/",n);if(i==null)return null;let a=aE(t);kO(a);let o=null;for(let l=0;o==null&&l{let s={relativePath:l===void 0?a.path||"":l,caseSensitive:a.caseSensitive===!0,childrenIndex:o,route:a};s.relativePath.startsWith("/")&&(me(s.relativePath.startsWith(r),'Absolute route path "'+s.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),s.relativePath=s.relativePath.slice(r.length));let u=Er([r,s.relativePath]),c=n.concat(s);a.children&&a.children.length>0&&(me(a.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+u+'".')),aE(a.children,e,c,u)),!(a.path==null&&!a.index)&&e.push({path:u,score:DO(u,a.index),routesMeta:c})};return t.forEach((a,o)=>{var l;if(a.path===""||!((l=a.path)!=null&&l.includes("?")))i(a,o);else for(let s of oE(a.path))i(a,o,s)}),e}function oE(t){let e=t.split("/");if(e.length===0)return[];let[n,...r]=e,i=n.endsWith("?"),a=n.replace(/\?$/,"");if(r.length===0)return i?[a,""]:[a];let o=oE(r.join("/")),l=[];return l.push(...o.map(s=>s===""?a:[a,s].join("/"))),i&&l.push(...o),l.map(s=>t.startsWith("/")&&s===""?"/":s)}function kO(t){t.sort((e,n)=>e.score!==n.score?n.score-e.score:FO(e.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const MO=/^:\w+$/,OO=3,AO=2,LO=1,RO=10,IO=-2,a0=t=>t==="*";function DO(t,e){let n=t.split("/"),r=n.length;return n.some(a0)&&(r+=IO),e&&(r+=AO),n.filter(i=>!a0(i)).reduce((i,a)=>i+(MO.test(a)?OO:a===""?LO:RO),r)}function FO(t,e){return t.length===e.length&&t.slice(0,-1).every((r,i)=>r===e[i])?t[t.length-1]-e[e.length-1]:0}function NO(t,e){let{routesMeta:n}=t,r={},i="/",a=[];for(let o=0;o{let{paramName:f,isOptional:p}=c;if(f==="*"){let g=l[d]||"";o=a.slice(0,a.length-g.length).replace(/(.)\/+$/,"$1")}const w=l[d];return p&&!w?u[f]=void 0:u[f]=jO(w||"",f),u},{}),pathname:a,pathnameBase:o,pattern:t}}function _O(t,e,n){e===void 0&&(e=!1),n===void 0&&(n=!0),li(t==="*"||!t.endsWith("*")||t.endsWith("/*"),'Route path "'+t+'" will be treated as if it were '+('"'+t.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+t.replace(/\*$/,"/*")+'".'));let r=[],i="^"+t.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:(\w+)(\?)?/g,(o,l,s)=>(r.push({paramName:l,isOptional:s!=null}),s?"/?([^\\/]+)?":"/([^\\/]+)"));return t.endsWith("*")?(r.push({paramName:"*"}),i+=t==="*"||t==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?i+="\\/*$":t!==""&&t!=="/"&&(i+="(?:(?=\\/|$))"),[new RegExp(i,e?void 0:"i"),r]}function VO(t){try{return decodeURI(t)}catch(e){return li(!1,'The URL path "'+t+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+e+").")),t}}function jO(t,e){try{return decodeURIComponent(t)}catch(n){return li(!1,'The value for the URL param "'+e+'" will not be decoded because'+(' the string "'+t+'" is a malformed URL segment. This is probably')+(" due to a bad percent encoding ("+n+").")),t}}function ui(t,e){if(e==="/")return t;if(!t.toLowerCase().startsWith(e.toLowerCase()))return null;let n=e.endsWith("/")?e.length-1:e.length,r=t.charAt(n);return r&&r!=="/"?null:t.slice(n)||"/"}function $O(t,e){e===void 0&&(e="/");let{pathname:n,search:r="",hash:i=""}=typeof t=="string"?fr(t):t;return{pathname:n?n.startsWith("/")?n:zO(n,e):e,search:HO(r),hash:UO(i)}}function zO(t,e){let n=e.replace(/\/+$/,"").split("/");return t.split("/").forEach(i=>{i===".."?n.length>1&&n.pop():i!=="."&&n.push(i)}),n.length>1?n.join("/"):"/"}function gf(t,e,n,r){return"Cannot include a '"+t+"' character in a manually specified "+("`to."+e+"` 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 sE(t){return t.filter((e,n)=>n===0||e.route.path&&e.route.path.length>0)}function Pg(t,e){let n=sE(t);return e?n.map((r,i)=>i===t.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function kg(t,e,n,r){r===void 0&&(r=!1);let i;typeof t=="string"?i=fr(t):(i=qe({},t),me(!i.pathname||!i.pathname.includes("?"),gf("?","pathname","search",i)),me(!i.pathname||!i.pathname.includes("#"),gf("#","pathname","hash",i)),me(!i.search||!i.search.includes("#"),gf("#","search","hash",i)));let a=t===""||i.pathname==="",o=a?"/":i.pathname,l;if(o==null)l=n;else if(r){let d=e.length===0?[]:e[e.length-1].replace(/^\//,"").split("/");if(o.startsWith("..")){let f=o.split("/");for(;f[0]==="..";)f.shift(),d.pop();i.pathname=f.join("/")}l="/"+d.join("/")}else{let d=e.length-1;if(o.startsWith("..")){let f=o.split("/");for(;f[0]==="..";)f.shift(),d-=1;i.pathname=f.join("/")}l=d>=0?e[d]:"/"}let s=$O(i,l),u=o&&o!=="/"&&o.endsWith("/"),c=(a||o===".")&&n.endsWith("/");return!s.pathname.endsWith("/")&&(u||c)&&(s.pathname+="/"),s}const Er=t=>t.join("/").replace(/\/\/+/g,"/"),BO=t=>t.replace(/\/+$/,"").replace(/^\/*/,"/"),HO=t=>!t||t==="?"?"":t.startsWith("?")?t:"?"+t,UO=t=>!t||t==="#"?"":t.startsWith("#")?t:"#"+t;class Mg{constructor(e,n,r,i){i===void 0&&(i=!1),this.status=e,this.statusText=n||"",this.internal=i,r instanceof Error?(this.data=r.toString(),this.error=r):this.data=r}}function lE(t){return t!=null&&typeof t.status=="number"&&typeof t.statusText=="string"&&typeof t.internal=="boolean"&&"data"in t}const uE=["post","put","patch","delete"],WO=new Set(uE),GO=["get",...uE],qO=new Set(GO),XO=new Set([301,302,303,307,308]),KO=new Set([307,308]),vf={state:"idle",location:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},YO={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},Ao={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},cE=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,QO=t=>({hasErrorBoundary:!!t.hasErrorBoundary}),dE="remix-router-transitions";function ZO(t){const e=t.window?t.window:typeof window<"u"?window:void 0,n=typeof e<"u"&&typeof e.document<"u"&&typeof e.document.createElement<"u",r=!n;me(t.routes.length>0,"You must provide a non-empty routes array to createRouter");let i;if(t.mapRouteProperties)i=t.mapRouteProperties;else if(t.detectErrorBoundary){let _=t.detectErrorBoundary;i=$=>({hasErrorBoundary:_($)})}else i=QO;let a={},o=vh(t.routes,i,void 0,a),l,s=t.basename||"/",u=qe({v7_fetcherPersist:!1,v7_normalizeFormMethod:!1,v7_partialHydration:!1,v7_prependBasename:!1,v7_relativeSplatPath:!1},t.future),c=null,d=new Set,f=null,p=null,w=null,g=t.hydrationData!=null,y=Aa(o,t.history.location,s),h=null;if(y==null){let _=kn(404,{pathname:t.history.location.pathname}),{matches:$,route:W}=p0(o);y=$,h={[W.id]:_}}let v,m=y.some(_=>_.route.lazy),b=y.some(_=>_.route.loader);if(m)v=!1;else if(!b)v=!0;else if(u.v7_partialHydration){let _=t.hydrationData?t.hydrationData.loaderData:null,$=t.hydrationData?t.hydrationData.errors:null;v=y.every(W=>W.route.loader&&W.route.loader.hydrate!==!0&&(_&&_[W.route.id]!==void 0||$&&$[W.route.id]!==void 0))}else v=t.hydrationData!=null;let E,x={historyAction:t.history.action,location:t.history.location,matches:y,initialized:v,navigation:vf,restoreScrollPosition:t.hydrationData!=null?!1:null,preventScrollReset:!1,revalidation:"idle",loaderData:t.hydrationData&&t.hydrationData.loaderData||{},actionData:t.hydrationData&&t.hydrationData.actionData||null,errors:t.hydrationData&&t.hydrationData.errors||h,fetchers:new Map,blockers:new Map},C=tt.Pop,T=!1,P,O=!1,I=new Map,N=null,A=!1,M=!1,R=[],D=[],L=new Map,k=0,F=-1,j=new Map,B=new Set,G=new Map,q=new Map,K=new Set,ne=new Map,oe=new Map,de=!1;function Qe(){if(c=t.history.listen(_=>{let{action:$,location:W,delta:Q}=_;if(de){de=!1;return}li(oe.size===0||Q!=null,"You are trying to use a blocker on a POP navigation to a location that was not created by @remix-run/router. This will fail silently in production. This can happen if you are navigating outside the router via `window.history.pushState`/`window.location.hash` instead of using router navigation APIs. This can also happen if you are using createHashRouter and the user manually changes the URL.");let Y=bo({currentLocation:x.location,nextLocation:W,historyAction:$});if(Y&&Q!=null){de=!0,t.history.go(Q*-1),oa(Y,{state:"blocked",location:W,proceed(){oa(Y,{state:"proceeding",proceed:void 0,reset:void 0,location:W}),t.history.go(Q)},reset(){let ae=new Map(x.blockers);ae.set(Y,Ao),we({blockers:ae})}});return}return Fe($,W)}),n){cA(e,I);let _=()=>dA(e,I);e.addEventListener("pagehide",_),N=()=>e.removeEventListener("pagehide",_)}return x.initialized||Fe(tt.Pop,x.location,{initialHydration:!0}),E}function rt(){c&&c(),N&&N(),d.clear(),P&&P.abort(),x.fetchers.forEach((_,$)=>aa($)),x.blockers.forEach((_,$)=>Sl($))}function xe(_){return d.add(_),()=>d.delete(_)}function we(_,$){$===void 0&&($={}),x=qe({},x,_);let W=[],Q=[];u.v7_fetcherPersist&&x.fetchers.forEach((Y,ae)=>{Y.state==="idle"&&(K.has(ae)?Q.push(ae):W.push(ae))}),[...d].forEach(Y=>Y(x,{deletedFetchers:Q,unstable_viewTransitionOpts:$.viewTransitionOpts,unstable_flushSync:$.flushSync===!0})),u.v7_fetcherPersist&&(W.forEach(Y=>x.fetchers.delete(Y)),Q.forEach(Y=>aa(Y)))}function De(_,$,W){var Q,Y;let{flushSync:ae}=W===void 0?{}:W,re=x.actionData!=null&&x.navigation.formMethod!=null&&Hn(x.navigation.formMethod)&&x.navigation.state==="loading"&&((Q=_.state)==null?void 0:Q._isRedirect)!==!0,ee;$.actionData?Object.keys($.actionData).length>0?ee=$.actionData:ee=null:re?ee=x.actionData:ee=null;let te=$.loaderData?f0(x.loaderData,$.loaderData,$.matches||[],$.errors):x.loaderData,ge=x.blockers;ge.size>0&&(ge=new Map(ge),ge.forEach((Te,st)=>ge.set(st,Ao)));let Ze=T===!0||x.navigation.formMethod!=null&&Hn(x.navigation.formMethod)&&((Y=_.state)==null?void 0:Y._isRedirect)!==!0;l&&(o=l,l=void 0),A||C===tt.Pop||(C===tt.Push?t.history.push(_,_.state):C===tt.Replace&&t.history.replace(_,_.state));let pe;if(C===tt.Pop){let Te=I.get(x.location.pathname);Te&&Te.has(_.pathname)?pe={currentLocation:x.location,nextLocation:_}:I.has(_.pathname)&&(pe={currentLocation:_,nextLocation:x.location})}else if(O){let Te=I.get(x.location.pathname);Te?Te.add(_.pathname):(Te=new Set([_.pathname]),I.set(x.location.pathname,Te)),pe={currentLocation:x.location,nextLocation:_}}we(qe({},$,{actionData:ee,loaderData:te,historyAction:C,location:_,initialized:!0,navigation:vf,revalidation:"idle",restoreScrollPosition:Si(_,$.matches||x.matches),preventScrollReset:Ze,blockers:ge}),{viewTransitionOpts:pe,flushSync:ae===!0}),C=tt.Pop,T=!1,O=!1,A=!1,M=!1,R=[],D=[]}async function Ot(_,$){if(typeof _=="number"){t.history.go(_);return}let W=wh(x.location,x.matches,s,u.v7_prependBasename,_,u.v7_relativeSplatPath,$==null?void 0:$.fromRouteId,$==null?void 0:$.relative),{path:Q,submission:Y,error:ae}=o0(u.v7_normalizeFormMethod,!1,W,$),re=x.location,ee=_s(x.location,Q,$&&$.state);ee=qe({},ee,t.history.encodeLocation(ee));let te=$&&$.replace!=null?$.replace:void 0,ge=tt.Push;te===!0?ge=tt.Replace:te===!1||Y!=null&&Hn(Y.formMethod)&&Y.formAction===x.location.pathname+x.location.search&&(ge=tt.Replace);let Ze=$&&"preventScrollReset"in $?$.preventScrollReset===!0:void 0,pe=($&&$.unstable_flushSync)===!0,Te=bo({currentLocation:re,nextLocation:ee,historyAction:ge});if(Te){oa(Te,{state:"blocked",location:ee,proceed(){oa(Te,{state:"proceeding",proceed:void 0,reset:void 0,location:ee}),Ot(_,$)},reset(){let st=new Map(x.blockers);st.set(Te,Ao),we({blockers:st})}});return}return await Fe(ge,ee,{submission:Y,pendingError:ae,preventScrollReset:Ze,replace:$&&$.replace,enableViewTransition:$&&$.unstable_viewTransition,flushSync:pe})}function Gt(){if(dt(),we({revalidation:"loading"}),x.navigation.state!=="submitting"){if(x.navigation.state==="idle"){Fe(x.historyAction,x.location,{startUninterruptedRevalidation:!0});return}Fe(C||x.historyAction,x.navigation.location,{overrideNavigation:x.navigation})}}async function Fe(_,$,W){P&&P.abort(),P=null,C=_,A=(W&&W.startUninterruptedRevalidation)===!0,So(x.location,x.matches),T=(W&&W.preventScrollReset)===!0,O=(W&&W.enableViewTransition)===!0;let Q=l||o,Y=W&&W.overrideNavigation,ae=Aa(Q,$,s),re=(W&&W.flushSync)===!0;if(!ae){let st=kn(404,{pathname:$.pathname}),{matches:Xt,route:it}=p0(Q);pr(),De($,{matches:Xt,loaderData:{},errors:{[it.id]:st}},{flushSync:re});return}if(x.initialized&&!M&&iA(x.location,$)&&!(W&&W.submission&&Hn(W.submission.formMethod))){De($,{matches:ae},{flushSync:re});return}P=new AbortController;let ee=Ro(t.history,$,P.signal,W&&W.submission),te,ge;if(W&&W.pendingError)ge={[ss(ae).route.id]:W.pendingError};else if(W&&W.submission&&Hn(W.submission.formMethod)){let st=await yt(ee,$,W.submission,ae,{replace:W.replace,flushSync:re});if(st.shortCircuited)return;te=st.pendingActionData,ge=st.pendingActionError,Y=yf($,W.submission),re=!1,ee=new Request(ee.url,{signal:ee.signal})}let{shortCircuited:Ze,loaderData:pe,errors:Te}=await rn(ee,$,ae,Y,W&&W.submission,W&&W.fetcherSubmission,W&&W.replace,W&&W.initialHydration===!0,re,te,ge);Ze||(P=null,De($,qe({matches:ae},te?{actionData:te}:{},{loaderData:pe,errors:Te})))}async function yt(_,$,W,Q,Y){Y===void 0&&(Y={}),dt();let ae=lA($,W);we({navigation:ae},{flushSync:Y.flushSync===!0});let re,ee=Sh(Q,$);if(!ee.route.action&&!ee.route.lazy)re={type:We.error,error:kn(405,{method:_.method,pathname:$.pathname,routeId:ee.route.id})};else if(re=await Lo("action",_,ee,Q,a,i,s,u.v7_relativeSplatPath),_.signal.aborted)return{shortCircuited:!0};if(Ua(re)){let te;return Y&&Y.replace!=null?te=Y.replace:te=re.location===x.location.pathname+x.location.search,await he(x,re,{submission:W,replace:te}),{shortCircuited:!0}}if(ls(re)){let te=ss(Q,ee.route.id);return(Y&&Y.replace)!==!0&&(C=tt.Push),{pendingActionData:{},pendingActionError:{[te.route.id]:re.error}}}if(Di(re))throw kn(400,{type:"defer-action"});return{pendingActionData:{[ee.route.id]:re.data}}}async function rn(_,$,W,Q,Y,ae,re,ee,te,ge,Ze){let pe=Q||yf($,Y),Te=Y||ae||g0(pe),st=l||o,[Xt,it]=s0(t.history,x,W,Te,$,u.v7_partialHydration&&ee===!0,M,R,D,K,G,B,st,s,ge,Ze);if(pr(Re=>!(W&&W.some(Ve=>Ve.route.id===Re))||Xt&&Xt.some(Ve=>Ve.route.id===Re)),F=++k,Xt.length===0&&it.length===0){let Re=wl();return De($,qe({matches:W,loaderData:{},errors:Ze||null},ge?{actionData:ge}:{},Re?{fetchers:new Map(x.fetchers)}:{}),{flushSync:te}),{shortCircuited:!0}}if(!A&&(!u.v7_partialHydration||!ee)){it.forEach(Ve=>{let tr=x.fetchers.get(Ve.key),El=Io(void 0,tr?tr.data:void 0);x.fetchers.set(Ve.key,El)});let Re=ge||x.actionData;we(qe({navigation:pe},Re?Object.keys(Re).length===0?{actionData:null}:{actionData:Re}:{},it.length>0?{fetchers:new Map(x.fetchers)}:{}),{flushSync:te})}it.forEach(Re=>{L.has(Re.key)&&er(Re.key),Re.controller&&L.set(Re.key,Re.controller)});let At=()=>it.forEach(Re=>er(Re.key));P&&P.signal.addEventListener("abort",At);let{results:jd,loaderResults:la,fetcherResults:Fr}=await Ue(x.matches,W,Xt,it,_);if(_.signal.aborted)return{shortCircuited:!0};P&&P.signal.removeEventListener("abort",At),it.forEach(Re=>L.delete(Re.key));let xi=h0(jd);if(xi){if(xi.idx>=Xt.length){let Re=it[xi.idx-Xt.length].key;B.add(Re)}return await he(x,xi.result,{replace:re}),{shortCircuited:!0}}let{loaderData:$d,errors:zd}=d0(x,W,Xt,la,Ze,it,Fr,ne);ne.forEach((Re,Ve)=>{Re.subscribe(tr=>{(tr||Re.done)&&ne.delete(Ve)})});let Bd=wl(),ua=bl(F),xl=Bd||ua||it.length>0;return qe({loaderData:$d,errors:zd},xl?{fetchers:new Map(x.fetchers)}:{})}function Vt(_,$,W,Q){if(r)throw new Error("router.fetch() was called during the server render, but it shouldn't be. You are likely calling a useFetcher() method in the body of your component. Try moving it to a useEffect or a callback.");L.has(_)&&er(_);let Y=(Q&&Q.unstable_flushSync)===!0,ae=l||o,re=wh(x.location,x.matches,s,u.v7_prependBasename,W,u.v7_relativeSplatPath,$,Q==null?void 0:Q.relative),ee=Aa(ae,re,s);if(!ee){Vn(_,$,kn(404,{pathname:re}),{flushSync:Y});return}let{path:te,submission:ge,error:Ze}=o0(u.v7_normalizeFormMethod,!0,re,Q);if(Ze){Vn(_,$,Ze,{flushSync:Y});return}let pe=Sh(ee,te);if(T=(Q&&Q.preventScrollReset)===!0,ge&&Hn(ge.formMethod)){Le(_,$,te,pe,ee,Y,ge);return}G.set(_,{routeId:$,path:te}),fe(_,$,te,pe,ee,Y,ge)}async function Le(_,$,W,Q,Y,ae,re){if(dt(),G.delete(_),!Q.route.action&&!Q.route.lazy){let Ve=kn(405,{method:re.formMethod,pathname:W,routeId:$});Vn(_,$,Ve,{flushSync:ae});return}let ee=x.fetchers.get(_);qt(_,uA(re,ee),{flushSync:ae});let te=new AbortController,ge=Ro(t.history,W,te.signal,re);L.set(_,te);let Ze=k,pe=await Lo("action",ge,Q,Y,a,i,s,u.v7_relativeSplatPath);if(ge.signal.aborted){L.get(_)===te&&L.delete(_);return}if(K.has(_)){qt(_,_r(void 0));return}if(Ua(pe))if(L.delete(_),F>Ze){qt(_,_r(void 0));return}else return B.add(_),qt(_,Io(re)),he(x,pe,{fetcherSubmission:re});if(ls(pe)){Vn(_,$,pe.error);return}if(Di(pe))throw kn(400,{type:"defer-action"});let Te=x.navigation.location||x.location,st=Ro(t.history,Te,te.signal),Xt=l||o,it=x.navigation.state!=="idle"?Aa(Xt,x.navigation.location,s):x.matches;me(it,"Didn't find any matches after fetcher action");let At=++k;j.set(_,At);let jd=Io(re,pe.data);x.fetchers.set(_,jd);let[la,Fr]=s0(t.history,x,it,re,Te,!1,M,R,D,K,G,B,Xt,s,{[Q.route.id]:pe.data},void 0);Fr.filter(Ve=>Ve.key!==_).forEach(Ve=>{let tr=Ve.key,El=x.fetchers.get(tr),Kk=Io(void 0,El?El.data:void 0);x.fetchers.set(tr,Kk),L.has(tr)&&er(tr),Ve.controller&&L.set(tr,Ve.controller)}),we({fetchers:new Map(x.fetchers)});let xi=()=>Fr.forEach(Ve=>er(Ve.key));te.signal.addEventListener("abort",xi);let{results:$d,loaderResults:zd,fetcherResults:Bd}=await Ue(x.matches,it,la,Fr,st);if(te.signal.aborted)return;te.signal.removeEventListener("abort",xi),j.delete(_),L.delete(_),Fr.forEach(Ve=>L.delete(Ve.key));let ua=h0($d);if(ua){if(ua.idx>=la.length){let Ve=Fr[ua.idx-la.length].key;B.add(Ve)}return he(x,ua.result)}let{loaderData:xl,errors:Re}=d0(x,x.matches,la,zd,void 0,Fr,Bd,ne);if(x.fetchers.has(_)){let Ve=_r(pe.data);x.fetchers.set(_,Ve)}bl(At),x.navigation.state==="loading"&&At>F?(me(C,"Expected pending action"),P&&P.abort(),De(x.navigation.location,{matches:it,loaderData:xl,errors:Re,fetchers:new Map(x.fetchers)})):(we({errors:Re,loaderData:f0(x.loaderData,xl,it,Re),fetchers:new Map(x.fetchers)}),M=!1)}async function fe(_,$,W,Q,Y,ae,re){let ee=x.fetchers.get(_);qt(_,Io(re,ee?ee.data:void 0),{flushSync:ae});let te=new AbortController,ge=Ro(t.history,W,te.signal);L.set(_,te);let Ze=k,pe=await Lo("loader",ge,Q,Y,a,i,s,u.v7_relativeSplatPath);if(Di(pe)&&(pe=await hE(pe,ge.signal,!0)||pe),L.get(_)===te&&L.delete(_),!ge.signal.aborted){if(K.has(_)){qt(_,_r(void 0));return}if(Ua(pe))if(F>Ze){qt(_,_r(void 0));return}else{B.add(_),await he(x,pe);return}if(ls(pe)){Vn(_,$,pe.error);return}me(!Di(pe),"Unhandled fetcher deferred data"),qt(_,_r(pe.data))}}async function he(_,$,W){let{submission:Q,fetcherSubmission:Y,replace:ae}=W===void 0?{}:W;$.revalidate&&(M=!0);let re=_s(_.location,$.location,{_isRedirect:!0});if(me(re,"Expected a location on the redirect navigation"),n){let Te=!1;if($.reloadDocument)Te=!0;else if(cE.test($.location)){const st=t.history.createURL($.location);Te=st.origin!==e.location.origin||ui(st.pathname,s)==null}if(Te){ae?e.location.replace($.location):e.location.assign($.location);return}}P=null;let ee=ae===!0?tt.Replace:tt.Push,{formMethod:te,formAction:ge,formEncType:Ze}=_.navigation;!Q&&!Y&&te&&ge&&Ze&&(Q=g0(_.navigation));let pe=Q||Y;if(KO.has($.status)&&pe&&Hn(pe.formMethod))await Fe(ee,re,{submission:qe({},pe,{formAction:$.location}),preventScrollReset:T});else{let Te=yf(re,Q);await Fe(ee,re,{overrideNavigation:Te,fetcherSubmission:Y,preventScrollReset:T})}}async function Ue(_,$,W,Q,Y){let ae=await Promise.all([...W.map(te=>Lo("loader",Y,te,$,a,i,s,u.v7_relativeSplatPath)),...Q.map(te=>te.matches&&te.match&&te.controller?Lo("loader",Ro(t.history,te.path,te.controller.signal),te.match,te.matches,a,i,s,u.v7_relativeSplatPath):{type:We.error,error:kn(404,{pathname:te.path})})]),re=ae.slice(0,W.length),ee=ae.slice(W.length);return await Promise.all([m0(_,W,re,re.map(()=>Y.signal),!1,x.loaderData),m0(_,Q.map(te=>te.match),ee,Q.map(te=>te.controller?te.controller.signal:null),!0)]),{results:ae,loaderResults:re,fetcherResults:ee}}function dt(){M=!0,R.push(...pr()),G.forEach((_,$)=>{L.has($)&&(D.push($),er($))})}function qt(_,$,W){W===void 0&&(W={}),x.fetchers.set(_,$),we({fetchers:new Map(x.fetchers)},{flushSync:(W&&W.flushSync)===!0})}function Vn(_,$,W,Q){Q===void 0&&(Q={});let Y=ss(x.matches,$);aa(_),we({errors:{[Y.route.id]:W},fetchers:new Map(x.fetchers)},{flushSync:(Q&&Q.flushSync)===!0})}function vl(_){return u.v7_fetcherPersist&&(q.set(_,(q.get(_)||0)+1),K.has(_)&&K.delete(_)),x.fetchers.get(_)||YO}function aa(_){let $=x.fetchers.get(_);L.has(_)&&!($&&$.state==="loading"&&j.has(_))&&er(_),G.delete(_),j.delete(_),B.delete(_),K.delete(_),x.fetchers.delete(_)}function _d(_){if(u.v7_fetcherPersist){let $=(q.get(_)||0)-1;$<=0?(q.delete(_),K.add(_)):q.set(_,$)}else aa(_);we({fetchers:new Map(x.fetchers)})}function er(_){let $=L.get(_);me($,"Expected fetch controller: "+_),$.abort(),L.delete(_)}function yl(_){for(let $ of _){let W=vl($),Q=_r(W.data);x.fetchers.set($,Q)}}function wl(){let _=[],$=!1;for(let W of B){let Q=x.fetchers.get(W);me(Q,"Expected fetcher: "+W),Q.state==="loading"&&(B.delete(W),_.push(W),$=!0)}return yl(_),$}function bl(_){let $=[];for(let[W,Q]of j)if(Q<_){let Y=x.fetchers.get(W);me(Y,"Expected fetcher: "+W),Y.state==="loading"&&(er(W),j.delete(W),$.push(W))}return yl($),$.length>0}function Vd(_,$){let W=x.blockers.get(_)||Ao;return oe.get(_)!==$&&oe.set(_,$),W}function Sl(_){x.blockers.delete(_),oe.delete(_)}function oa(_,$){let W=x.blockers.get(_)||Ao;me(W.state==="unblocked"&&$.state==="blocked"||W.state==="blocked"&&$.state==="blocked"||W.state==="blocked"&&$.state==="proceeding"||W.state==="blocked"&&$.state==="unblocked"||W.state==="proceeding"&&$.state==="unblocked","Invalid blocker state transition: "+W.state+" -> "+$.state);let Q=new Map(x.blockers);Q.set(_,$),we({blockers:Q})}function bo(_){let{currentLocation:$,nextLocation:W,historyAction:Q}=_;if(oe.size===0)return;oe.size>1&&li(!1,"A router only supports one blocker at a time");let Y=Array.from(oe.entries()),[ae,re]=Y[Y.length-1],ee=x.blockers.get(ae);if(!(ee&&ee.state==="proceeding")&&re({currentLocation:$,nextLocation:W,historyAction:Q}))return ae}function pr(_){let $=[];return ne.forEach((W,Q)=>{(!_||_(Q))&&(W.cancel(),$.push(Q),ne.delete(Q))}),$}function bi(_,$,W){if(f=_,w=$,p=W||null,!g&&x.navigation===vf){g=!0;let Q=Si(x.location,x.matches);Q!=null&&we({restoreScrollPosition:Q})}return()=>{f=null,w=null,p=null}}function sa(_,$){return p&&p(_,$.map(Q=>PO(Q,x.loaderData)))||_.key}function So(_,$){if(f&&w){let W=sa(_,$);f[W]=w()}}function Si(_,$){if(f){let W=sa(_,$),Q=f[W];if(typeof Q=="number")return Q}return null}function Dr(_){a={},l=vh(_,i,void 0,a)}return E={get basename(){return s},get future(){return u},get state(){return x},get routes(){return o},get window(){return e},initialize:Qe,subscribe:xe,enableScrollRestoration:bi,navigate:Ot,fetch:Vt,revalidate:Gt,createHref:_=>t.history.createHref(_),encodeLocation:_=>t.history.encodeLocation(_),getFetcher:vl,deleteFetcher:_d,dispose:rt,getBlocker:Vd,deleteBlocker:Sl,_internalFetchControllers:L,_internalActiveDeferreds:ne,_internalSetRoutes:Dr},E}function JO(t){return t!=null&&("formData"in t&&t.formData!=null||"body"in t&&t.body!==void 0)}function wh(t,e,n,r,i,a,o,l){let s,u;if(o){s=[];for(let d of e)if(s.push(d),d.route.id===o){u=d;break}}else s=e,u=e[e.length-1];let c=kg(i||".",Pg(s,a),ui(t.pathname,n)||t.pathname,l==="path");return i==null&&(c.search=t.search,c.hash=t.hash),(i==null||i===""||i===".")&&u&&u.route.index&&!Og(c.search)&&(c.search=c.search?c.search.replace(/^\?/,"?index&"):"?index"),r&&n!=="/"&&(c.pathname=c.pathname==="/"?n:Er([n,c.pathname])),Yi(c)}function o0(t,e,n,r){if(!r||!JO(r))return{path:n};if(r.formMethod&&!sA(r.formMethod))return{path:n,error:kn(405,{method:r.formMethod})};let i=()=>({path:n,error:kn(400,{type:"invalid-body"})}),a=r.formMethod||"get",o=t?a.toUpperCase():a.toLowerCase(),l=pE(n);if(r.body!==void 0){if(r.formEncType==="text/plain"){if(!Hn(o))return i();let f=typeof r.body=="string"?r.body:r.body instanceof FormData||r.body instanceof URLSearchParams?Array.from(r.body.entries()).reduce((p,w)=>{let[g,y]=w;return""+p+g+"="+y+` -`},""):String(r.body);return{path:n,submission:{formMethod:o,formAction:l,formEncType:r.formEncType,formData:void 0,json:void 0,text:f}}}else if(r.formEncType==="application/json"){if(!Hn(o))return i();try{let f=typeof r.body=="string"?JSON.parse(r.body):r.body;return{path:n,submission:{formMethod:o,formAction:l,formEncType:r.formEncType,formData:void 0,json:f,text:void 0}}}catch{return i()}}}me(typeof FormData=="function","FormData is not available in this environment");let s,u;if(r.formData)s=bh(r.formData),u=r.formData;else if(r.body instanceof FormData)s=bh(r.body),u=r.body;else if(r.body instanceof URLSearchParams)s=r.body,u=c0(s);else if(r.body==null)s=new URLSearchParams,u=new FormData;else try{s=new URLSearchParams(r.body),u=c0(s)}catch{return i()}let c={formMethod:o,formAction:l,formEncType:r&&r.formEncType||"application/x-www-form-urlencoded",formData:u,json:void 0,text:void 0};if(Hn(c.formMethod))return{path:n,submission:c};let d=fr(n);return e&&d.search&&Og(d.search)&&s.append("index",""),d.search="?"+s,{path:Yi(d),submission:c}}function eA(t,e){let n=t;if(e){let r=t.findIndex(i=>i.route.id===e);r>=0&&(n=t.slice(0,r))}return n}function s0(t,e,n,r,i,a,o,l,s,u,c,d,f,p,w,g){let y=g?Object.values(g)[0]:w?Object.values(w)[0]:void 0,h=t.createURL(e.location),v=t.createURL(i),m=g?Object.keys(g)[0]:void 0,E=eA(n,m).filter((C,T)=>{if(a)return tA(e,C.route);if(C.route.lazy)return!0;if(C.route.loader==null)return!1;if(nA(e.loaderData,e.matches[T],C)||l.some(I=>I===C.route.id))return!0;let P=e.matches[T],O=C;return l0(C,qe({currentUrl:h,currentParams:P.params,nextUrl:v,nextParams:O.params},r,{actionResult:y,defaultShouldRevalidate:o||h.pathname+h.search===v.pathname+v.search||h.search!==v.search||fE(P,O)}))}),x=[];return c.forEach((C,T)=>{if(a||!n.some(A=>A.route.id===C.routeId)||u.has(T))return;let P=Aa(f,C.path,p);if(!P){x.push({key:T,routeId:C.routeId,path:C.path,matches:null,match:null,controller:null});return}let O=e.fetchers.get(T),I=Sh(P,C.path),N=!1;d.has(T)?N=!1:s.includes(T)?N=!0:O&&O.state!=="idle"&&O.data===void 0?N=o:N=l0(I,qe({currentUrl:h,currentParams:e.matches[e.matches.length-1].params,nextUrl:v,nextParams:n[n.length-1].params},r,{actionResult:y,defaultShouldRevalidate:o})),N&&x.push({key:T,routeId:C.routeId,path:C.path,matches:P,match:I,controller:new AbortController})}),[E,x]}function tA(t,e){return e.loader?e.loader.hydrate?!0:t.loaderData[e.id]===void 0&&(!t.errors||t.errors[e.id]===void 0):!1}function nA(t,e,n){let r=!e||n.route.id!==e.route.id,i=t[n.route.id]===void 0;return r||i}function fE(t,e){let n=t.route.path;return t.pathname!==e.pathname||n!=null&&n.endsWith("*")&&t.params["*"]!==e.params["*"]}function l0(t,e){if(t.route.shouldRevalidate){let n=t.route.shouldRevalidate(e);if(typeof n=="boolean")return n}return e.defaultShouldRevalidate}async function u0(t,e,n){if(!t.lazy)return;let r=await t.lazy();if(!t.lazy)return;let i=n[t.id];me(i,"No route found in manifest");let a={};for(let o in r){let s=i[o]!==void 0&&o!=="hasErrorBoundary";li(!s,'Route "'+i.id+'" has a static property "'+o+'" defined but its lazy function is also returning a value for this property. '+('The lazy route property "'+o+'" will be ignored.')),!s&&!CO.has(o)&&(a[o]=r[o])}Object.assign(i,a),Object.assign(i,qe({},e(i),{lazy:void 0}))}async function Lo(t,e,n,r,i,a,o,l,s){s===void 0&&(s={});let u,c,d,f=g=>{let y,h=new Promise((v,m)=>y=m);return d=()=>y(),e.signal.addEventListener("abort",d),Promise.race([g({request:e,params:n.params,context:s.requestContext}),h])};try{let g=n.route[t];if(n.route.lazy)if(g){let y,h=await Promise.all([f(g).catch(v=>{y=v}),u0(n.route,a,i)]);if(y)throw y;c=h[0]}else if(await u0(n.route,a,i),g=n.route[t],g)c=await f(g);else if(t==="action"){let y=new URL(e.url),h=y.pathname+y.search;throw kn(405,{method:e.method,pathname:h,routeId:n.route.id})}else return{type:We.data,data:void 0};else if(g)c=await f(g);else{let y=new URL(e.url),h=y.pathname+y.search;throw kn(404,{pathname:h})}me(c!==void 0,"You defined "+(t==="action"?"an action":"a loader")+" for route "+('"'+n.route.id+"\" but didn't return anything from your `"+t+"` ")+"function. Please return a value or `null`.")}catch(g){u=We.error,c=g}finally{d&&e.signal.removeEventListener("abort",d)}if(oA(c)){let g=c.status;if(XO.has(g)){let h=c.headers.get("Location");if(me(h,"Redirects returned/thrown from loaders/actions must have a Location header"),!cE.test(h))h=wh(new URL(e.url),r.slice(0,r.indexOf(n)+1),o,!0,h,l);else if(!s.isStaticRequest){let v=new URL(e.url),m=h.startsWith("//")?new URL(v.protocol+h):new URL(h),b=ui(m.pathname,o)!=null;m.origin===v.origin&&b&&(h=m.pathname+m.search+m.hash)}if(s.isStaticRequest)throw c.headers.set("Location",h),c;return{type:We.redirect,status:g,location:h,revalidate:c.headers.get("X-Remix-Revalidate")!==null,reloadDocument:c.headers.get("X-Remix-Reload-Document")!==null}}if(s.isRouteRequest)throw{type:u===We.error?We.error:We.data,response:c};let y;try{let h=c.headers.get("Content-Type");h&&/\bapplication\/json\b/.test(h)?y=await c.json():y=await c.text()}catch(h){return{type:We.error,error:h}}return u===We.error?{type:u,error:new Mg(g,c.statusText,y),headers:c.headers}:{type:We.data,data:y,statusCode:c.status,headers:c.headers}}if(u===We.error)return{type:u,error:c};if(aA(c)){var p,w;return{type:We.deferred,deferredData:c,statusCode:(p=c.init)==null?void 0:p.status,headers:((w=c.init)==null?void 0:w.headers)&&new Headers(c.init.headers)}}return{type:We.data,data:c}}function Ro(t,e,n,r){let i=t.createURL(pE(e)).toString(),a={signal:n};if(r&&Hn(r.formMethod)){let{formMethod:o,formEncType:l}=r;a.method=o.toUpperCase(),l==="application/json"?(a.headers=new Headers({"Content-Type":l}),a.body=JSON.stringify(r.json)):l==="text/plain"?a.body=r.text:l==="application/x-www-form-urlencoded"&&r.formData?a.body=bh(r.formData):a.body=r.formData}return new Request(i,a)}function bh(t){let e=new URLSearchParams;for(let[n,r]of t.entries())e.append(n,typeof r=="string"?r:r.name);return e}function c0(t){let e=new FormData;for(let[n,r]of t.entries())e.append(n,r);return e}function rA(t,e,n,r,i){let a={},o=null,l,s=!1,u={};return n.forEach((c,d)=>{let f=e[d].route.id;if(me(!Ua(c),"Cannot handle redirect results in processLoaderData"),ls(c)){let p=ss(t,f),w=c.error;r&&(w=Object.values(r)[0],r=void 0),o=o||{},o[p.route.id]==null&&(o[p.route.id]=w),a[f]=void 0,s||(s=!0,l=lE(c.error)?c.error.status:500),c.headers&&(u[f]=c.headers)}else Di(c)?(i.set(f,c.deferredData),a[f]=c.deferredData.data):a[f]=c.data,c.statusCode!=null&&c.statusCode!==200&&!s&&(l=c.statusCode),c.headers&&(u[f]=c.headers)}),r&&(o=r,a[Object.keys(r)[0]]=void 0),{loaderData:a,errors:o,statusCode:l||200,loaderHeaders:u}}function d0(t,e,n,r,i,a,o,l){let{loaderData:s,errors:u}=rA(e,n,r,i,l);for(let c=0;cr.route.id===e)+1):[...t]).reverse().find(r=>r.route.hasErrorBoundary===!0)||t[0]}function p0(t){let e=t.length===1?t[0]:t.find(n=>n.index||!n.path||n.path==="/")||{id:"__shim-error-route__"};return{matches:[{params:{},pathname:"",pathnameBase:"",route:e}],route:e}}function kn(t,e){let{pathname:n,routeId:r,method:i,type:a}=e===void 0?{}:e,o="Unknown Server Error",l="Unknown @remix-run/router error";return t===400?(o="Bad Request",i&&n&&r?l="You made a "+i+' request to "'+n+'" but '+('did not provide a `loader` for route "'+r+'", ')+"so there is no way to handle the request.":a==="defer-action"?l="defer() is not supported in actions":a==="invalid-body"&&(l="Unable to encode submission body")):t===403?(o="Forbidden",l='Route "'+r+'" does not match URL "'+n+'"'):t===404?(o="Not Found",l='No route matches URL "'+n+'"'):t===405&&(o="Method Not Allowed",i&&n&&r?l="You made a "+i.toUpperCase()+' request to "'+n+'" but '+('did not provide an `action` for route "'+r+'", ')+"so there is no way to handle the request.":i&&(l='Invalid request method "'+i.toUpperCase()+'"')),new Mg(t||500,o,new Error(l),!0)}function h0(t){for(let e=t.length-1;e>=0;e--){let n=t[e];if(Ua(n))return{result:n,idx:e}}}function pE(t){let e=typeof t=="string"?fr(t):t;return Yi(qe({},e,{hash:""}))}function iA(t,e){return t.pathname!==e.pathname||t.search!==e.search?!1:t.hash===""?e.hash!=="":t.hash===e.hash?!0:e.hash!==""}function Di(t){return t.type===We.deferred}function ls(t){return t.type===We.error}function Ua(t){return(t&&t.type)===We.redirect}function aA(t){let e=t;return e&&typeof e=="object"&&typeof e.data=="object"&&typeof e.subscribe=="function"&&typeof e.cancel=="function"&&typeof e.resolveData=="function"}function oA(t){return t!=null&&typeof t.status=="number"&&typeof t.statusText=="string"&&typeof t.headers=="object"&&typeof t.body<"u"}function sA(t){return qO.has(t.toLowerCase())}function Hn(t){return WO.has(t.toLowerCase())}async function m0(t,e,n,r,i,a){for(let o=0;od.route.id===s.route.id),c=u!=null&&!fE(u,s)&&(a&&a[s.route.id])!==void 0;if(Di(l)&&(i||c)){let d=r[o];me(d,"Expected an AbortSignal for revalidating fetcher deferred result"),await hE(l,d,i).then(f=>{f&&(n[o]=f||n[o])})}}}async function hE(t,e,n){if(n===void 0&&(n=!1),!await t.deferredData.resolveData(e)){if(n)try{return{type:We.data,data:t.deferredData.unwrappedData}}catch(i){return{type:We.error,error:i}}return{type:We.data,data:t.deferredData.data}}}function Og(t){return new URLSearchParams(t).getAll("index").some(e=>e==="")}function Sh(t,e){let n=typeof e=="string"?fr(e).search:e.search;if(t[t.length-1].route.index&&Og(n||""))return t[t.length-1];let r=sE(t);return r[r.length-1]}function g0(t){let{formMethod:e,formAction:n,formEncType:r,text:i,formData:a,json:o}=t;if(!(!e||!n||!r)){if(i!=null)return{formMethod:e,formAction:n,formEncType:r,formData:void 0,json:void 0,text:i};if(a!=null)return{formMethod:e,formAction:n,formEncType:r,formData:a,json:void 0,text:void 0};if(o!==void 0)return{formMethod:e,formAction:n,formEncType:r,formData:void 0,json:o,text:void 0}}}function yf(t,e){return e?{state:"loading",location:t,formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text}:{state:"loading",location:t,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0}}function lA(t,e){return{state:"submitting",location:t,formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text}}function Io(t,e){return t?{state:"loading",formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text,data:e}:{state:"loading",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:e}}function uA(t,e){return{state:"submitting",formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text,data:e?e.data:void 0}}function _r(t){return{state:"idle",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:t}}function cA(t,e){try{let n=t.sessionStorage.getItem(dE);if(n){let r=JSON.parse(n);for(let[i,a]of Object.entries(r||{}))a&&Array.isArray(a)&&e.set(i,new Set(a||[]))}}catch{}}function dA(t,e){if(e.size>0){let n={};for(let[r,i]of e)n[r]=[...i];try{t.sessionStorage.setItem(dE,JSON.stringify(n))}catch(r){li(!1,"Failed to save applied view transitions in sessionStorage ("+r+").")}}}/** + */function qe(){return qe=Object.assign?Object.assign.bind():function(t){for(var e=1;e"u")throw new Error(e)}function ui(t,e){if(!t){typeof console<"u"&&console.warn(e);try{throw new Error(e)}catch{}}}function CO(){return Math.random().toString(36).substr(2,8)}function a0(t,e){return{usr:t.state,key:t.key,idx:e}}function _s(t,e,n,r){return n===void 0&&(n=null),qe({pathname:typeof t=="string"?t:t.pathname,search:"",hash:""},typeof e=="string"?pr(e):e,{state:n,key:e&&e.key||r||CO()})}function Yi(t){let{pathname:e="/",search:n="",hash:r=""}=t;return n&&n!=="?"&&(e+=n.charAt(0)==="?"?n:"?"+n),r&&r!=="#"&&(e+=r.charAt(0)==="#"?r:"#"+r),e}function pr(t){let e={};if(t){let n=t.indexOf("#");n>=0&&(e.hash=t.substr(n),t=t.substr(0,n));let r=t.indexOf("?");r>=0&&(e.search=t.substr(r),t=t.substr(0,r)),t&&(e.pathname=t)}return e}function TO(t,e,n,r){r===void 0&&(r={});let{window:i=document.defaultView,v5Compat:a=!1}=r,o=i.history,l=tt.Pop,s=null,u=c();u==null&&(u=0,o.replaceState(qe({},o.state,{idx:u}),""));function c(){return(o.state||{idx:null}).idx}function d(){l=tt.Pop;let y=c(),h=y==null?null:y-u;u=y,s&&s({action:l,location:g.location,delta:h})}function f(y,h){l=tt.Push;let v=_s(g.location,y,h);n&&n(v,y),u=c()+1;let m=a0(v,u),b=g.createHref(v);try{o.pushState(m,"",b)}catch(E){if(E instanceof DOMException&&E.name==="DataCloneError")throw E;i.location.assign(b)}a&&s&&s({action:l,location:g.location,delta:1})}function p(y,h){l=tt.Replace;let v=_s(g.location,y,h);n&&n(v,y),u=c();let m=a0(v,u),b=g.createHref(v);o.replaceState(m,"",b),a&&s&&s({action:l,location:g.location,delta:0})}function w(y){let h=i.location.origin!=="null"?i.location.origin:i.location.href,v=typeof y=="string"?y:Yi(y);return me(h,"No window.location.(origin|href) available to create URL for href: "+v),new URL(v,h)}let g={get action(){return l},get location(){return t(i,o)},listen(y){if(s)throw new Error("A history only accepts one active listener");return i.addEventListener(i0,d),s=y,()=>{i.removeEventListener(i0,d),s=null}},createHref(y){return e(i,y)},createURL:w,encodeLocation(y){let h=w(y);return{pathname:h.pathname,search:h.search,hash:h.hash}},push:f,replace:p,go(y){return o.go(y)}};return g}var We;(function(t){t.data="data",t.deferred="deferred",t.redirect="redirect",t.error="error"})(We||(We={}));const PO=new Set(["lazy","caseSensitive","path","id","index","children"]);function kO(t){return t.index===!0}function vh(t,e,n,r){return n===void 0&&(n=[]),r===void 0&&(r={}),t.map((i,a)=>{let o=[...n,a],l=typeof i.id=="string"?i.id:o.join("-");if(me(i.index!==!0||!i.children,"Cannot specify children on an index route"),me(!r[l],'Found a route id collision on id "'+l+`". Route id's must be globally unique within Data Router usages`),kO(i)){let s=qe({},i,e(i),{id:l});return r[l]=s,s}else{let s=qe({},i,e(i),{id:l,children:void 0});return r[l]=s,i.children&&(s.children=vh(i.children,e,o,r)),s}})}function Aa(t,e,n){n===void 0&&(n="/");let r=typeof e=="string"?pr(e):e,i=ci(r.pathname||"/",n);if(i==null)return null;let a=oE(t);OO(a);let o=null;for(let l=0;o==null&&l{let s={relativePath:l===void 0?a.path||"":l,caseSensitive:a.caseSensitive===!0,childrenIndex:o,route:a};s.relativePath.startsWith("/")&&(me(s.relativePath.startsWith(r),'Absolute route path "'+s.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),s.relativePath=s.relativePath.slice(r.length));let u=Cr([r,s.relativePath]),c=n.concat(s);a.children&&a.children.length>0&&(me(a.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+u+'".')),oE(a.children,e,c,u)),!(a.path==null&&!a.index)&&e.push({path:u,score:NO(u,a.index),routesMeta:c})};return t.forEach((a,o)=>{var l;if(a.path===""||!((l=a.path)!=null&&l.includes("?")))i(a,o);else for(let s of sE(a.path))i(a,o,s)}),e}function sE(t){let e=t.split("/");if(e.length===0)return[];let[n,...r]=e,i=n.endsWith("?"),a=n.replace(/\?$/,"");if(r.length===0)return i?[a,""]:[a];let o=sE(r.join("/")),l=[];return l.push(...o.map(s=>s===""?a:[a,s].join("/"))),i&&l.push(...o),l.map(s=>t.startsWith("/")&&s===""?"/":s)}function OO(t){t.sort((e,n)=>e.score!==n.score?n.score-e.score:_O(e.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const AO=/^:\w+$/,LO=3,RO=2,IO=1,DO=10,FO=-2,o0=t=>t==="*";function NO(t,e){let n=t.split("/"),r=n.length;return n.some(o0)&&(r+=FO),e&&(r+=RO),n.filter(i=>!o0(i)).reduce((i,a)=>i+(AO.test(a)?LO:a===""?IO:DO),r)}function _O(t,e){return t.length===e.length&&t.slice(0,-1).every((r,i)=>r===e[i])?t[t.length-1]-e[e.length-1]:0}function VO(t,e){let{routesMeta:n}=t,r={},i="/",a=[];for(let o=0;o{let{paramName:f,isOptional:p}=c;if(f==="*"){let g=l[d]||"";o=a.slice(0,a.length-g.length).replace(/(.)\/+$/,"$1")}const w=l[d];return p&&!w?u[f]=void 0:u[f]=zO(w||"",f),u},{}),pathname:a,pathnameBase:o,pattern:t}}function jO(t,e,n){e===void 0&&(e=!1),n===void 0&&(n=!0),ui(t==="*"||!t.endsWith("*")||t.endsWith("/*"),'Route path "'+t+'" will be treated as if it were '+('"'+t.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+t.replace(/\*$/,"/*")+'".'));let r=[],i="^"+t.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:(\w+)(\?)?/g,(o,l,s)=>(r.push({paramName:l,isOptional:s!=null}),s?"/?([^\\/]+)?":"/([^\\/]+)"));return t.endsWith("*")?(r.push({paramName:"*"}),i+=t==="*"||t==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?i+="\\/*$":t!==""&&t!=="/"&&(i+="(?:(?=\\/|$))"),[new RegExp(i,e?void 0:"i"),r]}function $O(t){try{return decodeURI(t)}catch(e){return ui(!1,'The URL path "'+t+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+e+").")),t}}function zO(t,e){try{return decodeURIComponent(t)}catch(n){return ui(!1,'The value for the URL param "'+e+'" will not be decoded because'+(' the string "'+t+'" is a malformed URL segment. This is probably')+(" due to a bad percent encoding ("+n+").")),t}}function ci(t,e){if(e==="/")return t;if(!t.toLowerCase().startsWith(e.toLowerCase()))return null;let n=e.endsWith("/")?e.length-1:e.length,r=t.charAt(n);return r&&r!=="/"?null:t.slice(n)||"/"}function BO(t,e){e===void 0&&(e="/");let{pathname:n,search:r="",hash:i=""}=typeof t=="string"?pr(t):t;return{pathname:n?n.startsWith("/")?n:HO(n,e):e,search:WO(r),hash:GO(i)}}function HO(t,e){let n=e.replace(/\/+$/,"").split("/");return t.split("/").forEach(i=>{i===".."?n.length>1&&n.pop():i!=="."&&n.push(i)}),n.length>1?n.join("/"):"/"}function gf(t,e,n,r){return"Cannot include a '"+t+"' character in a manually specified "+("`to."+e+"` 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 lE(t){return t.filter((e,n)=>n===0||e.route.path&&e.route.path.length>0)}function Pg(t,e){let n=lE(t);return e?n.map((r,i)=>i===t.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function kg(t,e,n,r){r===void 0&&(r=!1);let i;typeof t=="string"?i=pr(t):(i=qe({},t),me(!i.pathname||!i.pathname.includes("?"),gf("?","pathname","search",i)),me(!i.pathname||!i.pathname.includes("#"),gf("#","pathname","hash",i)),me(!i.search||!i.search.includes("#"),gf("#","search","hash",i)));let a=t===""||i.pathname==="",o=a?"/":i.pathname,l;if(o==null)l=n;else if(r){let d=e.length===0?[]:e[e.length-1].replace(/^\//,"").split("/");if(o.startsWith("..")){let f=o.split("/");for(;f[0]==="..";)f.shift(),d.pop();i.pathname=f.join("/")}l="/"+d.join("/")}else{let d=e.length-1;if(o.startsWith("..")){let f=o.split("/");for(;f[0]==="..";)f.shift(),d-=1;i.pathname=f.join("/")}l=d>=0?e[d]:"/"}let s=BO(i,l),u=o&&o!=="/"&&o.endsWith("/"),c=(a||o===".")&&n.endsWith("/");return!s.pathname.endsWith("/")&&(u||c)&&(s.pathname+="/"),s}const Cr=t=>t.join("/").replace(/\/\/+/g,"/"),UO=t=>t.replace(/\/+$/,"").replace(/^\/*/,"/"),WO=t=>!t||t==="?"?"":t.startsWith("?")?t:"?"+t,GO=t=>!t||t==="#"?"":t.startsWith("#")?t:"#"+t;class Mg{constructor(e,n,r,i){i===void 0&&(i=!1),this.status=e,this.statusText=n||"",this.internal=i,r instanceof Error?(this.data=r.toString(),this.error=r):this.data=r}}function uE(t){return t!=null&&typeof t.status=="number"&&typeof t.statusText=="string"&&typeof t.internal=="boolean"&&"data"in t}const cE=["post","put","patch","delete"],qO=new Set(cE),XO=["get",...cE],KO=new Set(XO),YO=new Set([301,302,303,307,308]),QO=new Set([307,308]),vf={state:"idle",location:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},ZO={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},Ao={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},dE=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,JO=t=>({hasErrorBoundary:!!t.hasErrorBoundary}),fE="remix-router-transitions";function eA(t){const e=t.window?t.window:typeof window<"u"?window:void 0,n=typeof e<"u"&&typeof e.document<"u"&&typeof e.document.createElement<"u",r=!n;me(t.routes.length>0,"You must provide a non-empty routes array to createRouter");let i;if(t.mapRouteProperties)i=t.mapRouteProperties;else if(t.detectErrorBoundary){let _=t.detectErrorBoundary;i=$=>({hasErrorBoundary:_($)})}else i=JO;let a={},o=vh(t.routes,i,void 0,a),l,s=t.basename||"/",u=qe({v7_fetcherPersist:!1,v7_normalizeFormMethod:!1,v7_partialHydration:!1,v7_prependBasename:!1,v7_relativeSplatPath:!1},t.future),c=null,d=new Set,f=null,p=null,w=null,g=t.hydrationData!=null,y=Aa(o,t.history.location,s),h=null;if(y==null){let _=kn(404,{pathname:t.history.location.pathname}),{matches:$,route:W}=h0(o);y=$,h={[W.id]:_}}let v,m=y.some(_=>_.route.lazy),b=y.some(_=>_.route.loader);if(m)v=!1;else if(!b)v=!0;else if(u.v7_partialHydration){let _=t.hydrationData?t.hydrationData.loaderData:null,$=t.hydrationData?t.hydrationData.errors:null;v=y.every(W=>W.route.loader&&W.route.loader.hydrate!==!0&&(_&&_[W.route.id]!==void 0||$&&$[W.route.id]!==void 0))}else v=t.hydrationData!=null;let E,x={historyAction:t.history.action,location:t.history.location,matches:y,initialized:v,navigation:vf,restoreScrollPosition:t.hydrationData!=null?!1:null,preventScrollReset:!1,revalidation:"idle",loaderData:t.hydrationData&&t.hydrationData.loaderData||{},actionData:t.hydrationData&&t.hydrationData.actionData||null,errors:t.hydrationData&&t.hydrationData.errors||h,fetchers:new Map,blockers:new Map},C=tt.Pop,T=!1,P,O=!1,I=new Map,N=null,A=!1,M=!1,R=[],D=[],L=new Map,k=0,F=-1,j=new Map,B=new Set,G=new Map,q=new Map,K=new Set,ne=new Map,oe=new Map,de=!1;function Qe(){if(c=t.history.listen(_=>{let{action:$,location:W,delta:Q}=_;if(de){de=!1;return}ui(oe.size===0||Q!=null,"You are trying to use a blocker on a POP navigation to a location that was not created by @remix-run/router. This will fail silently in production. This can happen if you are navigating outside the router via `window.history.pushState`/`window.location.hash` instead of using router navigation APIs. This can also happen if you are using createHashRouter and the user manually changes the URL.");let Y=bo({currentLocation:x.location,nextLocation:W,historyAction:$});if(Y&&Q!=null){de=!0,t.history.go(Q*-1),oa(Y,{state:"blocked",location:W,proceed(){oa(Y,{state:"proceeding",proceed:void 0,reset:void 0,location:W}),t.history.go(Q)},reset(){let ae=new Map(x.blockers);ae.set(Y,Ao),we({blockers:ae})}});return}return Fe($,W)}),n){fA(e,I);let _=()=>pA(e,I);e.addEventListener("pagehide",_),N=()=>e.removeEventListener("pagehide",_)}return x.initialized||Fe(tt.Pop,x.location,{initialHydration:!0}),E}function rt(){c&&c(),N&&N(),d.clear(),P&&P.abort(),x.fetchers.forEach((_,$)=>aa($)),x.blockers.forEach((_,$)=>El($))}function xe(_){return d.add(_),()=>d.delete(_)}function we(_,$){$===void 0&&($={}),x=qe({},x,_);let W=[],Q=[];u.v7_fetcherPersist&&x.fetchers.forEach((Y,ae)=>{Y.state==="idle"&&(K.has(ae)?Q.push(ae):W.push(ae))}),[...d].forEach(Y=>Y(x,{deletedFetchers:Q,unstable_viewTransitionOpts:$.viewTransitionOpts,unstable_flushSync:$.flushSync===!0})),u.v7_fetcherPersist&&(W.forEach(Y=>x.fetchers.delete(Y)),Q.forEach(Y=>aa(Y)))}function De(_,$,W){var Q,Y;let{flushSync:ae}=W===void 0?{}:W,re=x.actionData!=null&&x.navigation.formMethod!=null&&Hn(x.navigation.formMethod)&&x.navigation.state==="loading"&&((Q=_.state)==null?void 0:Q._isRedirect)!==!0,ee;$.actionData?Object.keys($.actionData).length>0?ee=$.actionData:ee=null:re?ee=x.actionData:ee=null;let te=$.loaderData?p0(x.loaderData,$.loaderData,$.matches||[],$.errors):x.loaderData,ge=x.blockers;ge.size>0&&(ge=new Map(ge),ge.forEach((Te,st)=>ge.set(st,Ao)));let Ze=T===!0||x.navigation.formMethod!=null&&Hn(x.navigation.formMethod)&&((Y=_.state)==null?void 0:Y._isRedirect)!==!0;l&&(o=l,l=void 0),A||C===tt.Pop||(C===tt.Push?t.history.push(_,_.state):C===tt.Replace&&t.history.replace(_,_.state));let pe;if(C===tt.Pop){let Te=I.get(x.location.pathname);Te&&Te.has(_.pathname)?pe={currentLocation:x.location,nextLocation:_}:I.has(_.pathname)&&(pe={currentLocation:_,nextLocation:x.location})}else if(O){let Te=I.get(x.location.pathname);Te?Te.add(_.pathname):(Te=new Set([_.pathname]),I.set(x.location.pathname,Te)),pe={currentLocation:x.location,nextLocation:_}}we(qe({},$,{actionData:ee,loaderData:te,historyAction:C,location:_,initialized:!0,navigation:vf,revalidation:"idle",restoreScrollPosition:Si(_,$.matches||x.matches),preventScrollReset:Ze,blockers:ge}),{viewTransitionOpts:pe,flushSync:ae===!0}),C=tt.Pop,T=!1,O=!1,A=!1,M=!1,R=[],D=[]}async function Ot(_,$){if(typeof _=="number"){t.history.go(_);return}let W=wh(x.location,x.matches,s,u.v7_prependBasename,_,u.v7_relativeSplatPath,$==null?void 0:$.fromRouteId,$==null?void 0:$.relative),{path:Q,submission:Y,error:ae}=s0(u.v7_normalizeFormMethod,!1,W,$),re=x.location,ee=_s(x.location,Q,$&&$.state);ee=qe({},ee,t.history.encodeLocation(ee));let te=$&&$.replace!=null?$.replace:void 0,ge=tt.Push;te===!0?ge=tt.Replace:te===!1||Y!=null&&Hn(Y.formMethod)&&Y.formAction===x.location.pathname+x.location.search&&(ge=tt.Replace);let Ze=$&&"preventScrollReset"in $?$.preventScrollReset===!0:void 0,pe=($&&$.unstable_flushSync)===!0,Te=bo({currentLocation:re,nextLocation:ee,historyAction:ge});if(Te){oa(Te,{state:"blocked",location:ee,proceed(){oa(Te,{state:"proceeding",proceed:void 0,reset:void 0,location:ee}),Ot(_,$)},reset(){let st=new Map(x.blockers);st.set(Te,Ao),we({blockers:st})}});return}return await Fe(ge,ee,{submission:Y,pendingError:ae,preventScrollReset:Ze,replace:$&&$.replace,enableViewTransition:$&&$.unstable_viewTransition,flushSync:pe})}function Gt(){if(dt(),we({revalidation:"loading"}),x.navigation.state!=="submitting"){if(x.navigation.state==="idle"){Fe(x.historyAction,x.location,{startUninterruptedRevalidation:!0});return}Fe(C||x.historyAction,x.navigation.location,{overrideNavigation:x.navigation})}}async function Fe(_,$,W){P&&P.abort(),P=null,C=_,A=(W&&W.startUninterruptedRevalidation)===!0,So(x.location,x.matches),T=(W&&W.preventScrollReset)===!0,O=(W&&W.enableViewTransition)===!0;let Q=l||o,Y=W&&W.overrideNavigation,ae=Aa(Q,$,s),re=(W&&W.flushSync)===!0;if(!ae){let st=kn(404,{pathname:$.pathname}),{matches:Xt,route:it}=h0(Q);hr(),De($,{matches:Xt,loaderData:{},errors:{[it.id]:st}},{flushSync:re});return}if(x.initialized&&!M&&oA(x.location,$)&&!(W&&W.submission&&Hn(W.submission.formMethod))){De($,{matches:ae},{flushSync:re});return}P=new AbortController;let ee=Ro(t.history,$,P.signal,W&&W.submission),te,ge;if(W&&W.pendingError)ge={[ss(ae).route.id]:W.pendingError};else if(W&&W.submission&&Hn(W.submission.formMethod)){let st=await yt(ee,$,W.submission,ae,{replace:W.replace,flushSync:re});if(st.shortCircuited)return;te=st.pendingActionData,ge=st.pendingActionError,Y=yf($,W.submission),re=!1,ee=new Request(ee.url,{signal:ee.signal})}let{shortCircuited:Ze,loaderData:pe,errors:Te}=await rn(ee,$,ae,Y,W&&W.submission,W&&W.fetcherSubmission,W&&W.replace,W&&W.initialHydration===!0,re,te,ge);Ze||(P=null,De($,qe({matches:ae},te?{actionData:te}:{},{loaderData:pe,errors:Te})))}async function yt(_,$,W,Q,Y){Y===void 0&&(Y={}),dt();let ae=cA($,W);we({navigation:ae},{flushSync:Y.flushSync===!0});let re,ee=Sh(Q,$);if(!ee.route.action&&!ee.route.lazy)re={type:We.error,error:kn(405,{method:_.method,pathname:$.pathname,routeId:ee.route.id})};else if(re=await Lo("action",_,ee,Q,a,i,s,u.v7_relativeSplatPath),_.signal.aborted)return{shortCircuited:!0};if(Ua(re)){let te;return Y&&Y.replace!=null?te=Y.replace:te=re.location===x.location.pathname+x.location.search,await he(x,re,{submission:W,replace:te}),{shortCircuited:!0}}if(ls(re)){let te=ss(Q,ee.route.id);return(Y&&Y.replace)!==!0&&(C=tt.Push),{pendingActionData:{},pendingActionError:{[te.route.id]:re.error}}}if(Di(re))throw kn(400,{type:"defer-action"});return{pendingActionData:{[ee.route.id]:re.data}}}async function rn(_,$,W,Q,Y,ae,re,ee,te,ge,Ze){let pe=Q||yf($,Y),Te=Y||ae||v0(pe),st=l||o,[Xt,it]=l0(t.history,x,W,Te,$,u.v7_partialHydration&&ee===!0,M,R,D,K,G,B,st,s,ge,Ze);if(hr(Re=>!(W&&W.some(Ve=>Ve.route.id===Re))||Xt&&Xt.some(Ve=>Ve.route.id===Re)),F=++k,Xt.length===0&&it.length===0){let Re=Sl();return De($,qe({matches:W,loaderData:{},errors:Ze||null},ge?{actionData:ge}:{},Re?{fetchers:new Map(x.fetchers)}:{}),{flushSync:te}),{shortCircuited:!0}}if(!A&&(!u.v7_partialHydration||!ee)){it.forEach(Ve=>{let tr=x.fetchers.get(Ve.key),Tl=Io(void 0,tr?tr.data:void 0);x.fetchers.set(Ve.key,Tl)});let Re=ge||x.actionData;we(qe({navigation:pe},Re?Object.keys(Re).length===0?{actionData:null}:{actionData:Re}:{},it.length>0?{fetchers:new Map(x.fetchers)}:{}),{flushSync:te})}it.forEach(Re=>{L.has(Re.key)&&er(Re.key),Re.controller&&L.set(Re.key,Re.controller)});let At=()=>it.forEach(Re=>er(Re.key));P&&P.signal.addEventListener("abort",At);let{results:jd,loaderResults:la,fetcherResults:Nr}=await Ue(x.matches,W,Xt,it,_);if(_.signal.aborted)return{shortCircuited:!0};P&&P.signal.removeEventListener("abort",At),it.forEach(Re=>L.delete(Re.key));let xi=m0(jd);if(xi){if(xi.idx>=Xt.length){let Re=it[xi.idx-Xt.length].key;B.add(Re)}return await he(x,xi.result,{replace:re}),{shortCircuited:!0}}let{loaderData:$d,errors:zd}=f0(x,W,Xt,la,Ze,it,Nr,ne);ne.forEach((Re,Ve)=>{Re.subscribe(tr=>{(tr||Re.done)&&ne.delete(Ve)})});let Bd=Sl(),ua=xl(F),Cl=Bd||ua||it.length>0;return qe({loaderData:$d,errors:zd},Cl?{fetchers:new Map(x.fetchers)}:{})}function Vt(_,$,W,Q){if(r)throw new Error("router.fetch() was called during the server render, but it shouldn't be. You are likely calling a useFetcher() method in the body of your component. Try moving it to a useEffect or a callback.");L.has(_)&&er(_);let Y=(Q&&Q.unstable_flushSync)===!0,ae=l||o,re=wh(x.location,x.matches,s,u.v7_prependBasename,W,u.v7_relativeSplatPath,$,Q==null?void 0:Q.relative),ee=Aa(ae,re,s);if(!ee){Vn(_,$,kn(404,{pathname:re}),{flushSync:Y});return}let{path:te,submission:ge,error:Ze}=s0(u.v7_normalizeFormMethod,!0,re,Q);if(Ze){Vn(_,$,Ze,{flushSync:Y});return}let pe=Sh(ee,te);if(T=(Q&&Q.preventScrollReset)===!0,ge&&Hn(ge.formMethod)){Le(_,$,te,pe,ee,Y,ge);return}G.set(_,{routeId:$,path:te}),fe(_,$,te,pe,ee,Y,ge)}async function Le(_,$,W,Q,Y,ae,re){if(dt(),G.delete(_),!Q.route.action&&!Q.route.lazy){let Ve=kn(405,{method:re.formMethod,pathname:W,routeId:$});Vn(_,$,Ve,{flushSync:ae});return}let ee=x.fetchers.get(_);qt(_,dA(re,ee),{flushSync:ae});let te=new AbortController,ge=Ro(t.history,W,te.signal,re);L.set(_,te);let Ze=k,pe=await Lo("action",ge,Q,Y,a,i,s,u.v7_relativeSplatPath);if(ge.signal.aborted){L.get(_)===te&&L.delete(_);return}if(K.has(_)){qt(_,Vr(void 0));return}if(Ua(pe))if(L.delete(_),F>Ze){qt(_,Vr(void 0));return}else return B.add(_),qt(_,Io(re)),he(x,pe,{fetcherSubmission:re});if(ls(pe)){Vn(_,$,pe.error);return}if(Di(pe))throw kn(400,{type:"defer-action"});let Te=x.navigation.location||x.location,st=Ro(t.history,Te,te.signal),Xt=l||o,it=x.navigation.state!=="idle"?Aa(Xt,x.navigation.location,s):x.matches;me(it,"Didn't find any matches after fetcher action");let At=++k;j.set(_,At);let jd=Io(re,pe.data);x.fetchers.set(_,jd);let[la,Nr]=l0(t.history,x,it,re,Te,!1,M,R,D,K,G,B,Xt,s,{[Q.route.id]:pe.data},void 0);Nr.filter(Ve=>Ve.key!==_).forEach(Ve=>{let tr=Ve.key,Tl=x.fetchers.get(tr),Qk=Io(void 0,Tl?Tl.data:void 0);x.fetchers.set(tr,Qk),L.has(tr)&&er(tr),Ve.controller&&L.set(tr,Ve.controller)}),we({fetchers:new Map(x.fetchers)});let xi=()=>Nr.forEach(Ve=>er(Ve.key));te.signal.addEventListener("abort",xi);let{results:$d,loaderResults:zd,fetcherResults:Bd}=await Ue(x.matches,it,la,Nr,st);if(te.signal.aborted)return;te.signal.removeEventListener("abort",xi),j.delete(_),L.delete(_),Nr.forEach(Ve=>L.delete(Ve.key));let ua=m0($d);if(ua){if(ua.idx>=la.length){let Ve=Nr[ua.idx-la.length].key;B.add(Ve)}return he(x,ua.result)}let{loaderData:Cl,errors:Re}=f0(x,x.matches,la,zd,void 0,Nr,Bd,ne);if(x.fetchers.has(_)){let Ve=Vr(pe.data);x.fetchers.set(_,Ve)}xl(At),x.navigation.state==="loading"&&At>F?(me(C,"Expected pending action"),P&&P.abort(),De(x.navigation.location,{matches:it,loaderData:Cl,errors:Re,fetchers:new Map(x.fetchers)})):(we({errors:Re,loaderData:p0(x.loaderData,Cl,it,Re),fetchers:new Map(x.fetchers)}),M=!1)}async function fe(_,$,W,Q,Y,ae,re){let ee=x.fetchers.get(_);qt(_,Io(re,ee?ee.data:void 0),{flushSync:ae});let te=new AbortController,ge=Ro(t.history,W,te.signal);L.set(_,te);let Ze=k,pe=await Lo("loader",ge,Q,Y,a,i,s,u.v7_relativeSplatPath);if(Di(pe)&&(pe=await mE(pe,ge.signal,!0)||pe),L.get(_)===te&&L.delete(_),!ge.signal.aborted){if(K.has(_)){qt(_,Vr(void 0));return}if(Ua(pe))if(F>Ze){qt(_,Vr(void 0));return}else{B.add(_),await he(x,pe);return}if(ls(pe)){Vn(_,$,pe.error);return}me(!Di(pe),"Unhandled fetcher deferred data"),qt(_,Vr(pe.data))}}async function he(_,$,W){let{submission:Q,fetcherSubmission:Y,replace:ae}=W===void 0?{}:W;$.revalidate&&(M=!0);let re=_s(_.location,$.location,{_isRedirect:!0});if(me(re,"Expected a location on the redirect navigation"),n){let Te=!1;if($.reloadDocument)Te=!0;else if(dE.test($.location)){const st=t.history.createURL($.location);Te=st.origin!==e.location.origin||ci(st.pathname,s)==null}if(Te){ae?e.location.replace($.location):e.location.assign($.location);return}}P=null;let ee=ae===!0?tt.Replace:tt.Push,{formMethod:te,formAction:ge,formEncType:Ze}=_.navigation;!Q&&!Y&&te&&ge&&Ze&&(Q=v0(_.navigation));let pe=Q||Y;if(QO.has($.status)&&pe&&Hn(pe.formMethod))await Fe(ee,re,{submission:qe({},pe,{formAction:$.location}),preventScrollReset:T});else{let Te=yf(re,Q);await Fe(ee,re,{overrideNavigation:Te,fetcherSubmission:Y,preventScrollReset:T})}}async function Ue(_,$,W,Q,Y){let ae=await Promise.all([...W.map(te=>Lo("loader",Y,te,$,a,i,s,u.v7_relativeSplatPath)),...Q.map(te=>te.matches&&te.match&&te.controller?Lo("loader",Ro(t.history,te.path,te.controller.signal),te.match,te.matches,a,i,s,u.v7_relativeSplatPath):{type:We.error,error:kn(404,{pathname:te.path})})]),re=ae.slice(0,W.length),ee=ae.slice(W.length);return await Promise.all([g0(_,W,re,re.map(()=>Y.signal),!1,x.loaderData),g0(_,Q.map(te=>te.match),ee,Q.map(te=>te.controller?te.controller.signal:null),!0)]),{results:ae,loaderResults:re,fetcherResults:ee}}function dt(){M=!0,R.push(...hr()),G.forEach((_,$)=>{L.has($)&&(D.push($),er($))})}function qt(_,$,W){W===void 0&&(W={}),x.fetchers.set(_,$),we({fetchers:new Map(x.fetchers)},{flushSync:(W&&W.flushSync)===!0})}function Vn(_,$,W,Q){Q===void 0&&(Q={});let Y=ss(x.matches,$);aa(_),we({errors:{[Y.route.id]:W},fetchers:new Map(x.fetchers)},{flushSync:(Q&&Q.flushSync)===!0})}function wl(_){return u.v7_fetcherPersist&&(q.set(_,(q.get(_)||0)+1),K.has(_)&&K.delete(_)),x.fetchers.get(_)||ZO}function aa(_){let $=x.fetchers.get(_);L.has(_)&&!($&&$.state==="loading"&&j.has(_))&&er(_),G.delete(_),j.delete(_),B.delete(_),K.delete(_),x.fetchers.delete(_)}function _d(_){if(u.v7_fetcherPersist){let $=(q.get(_)||0)-1;$<=0?(q.delete(_),K.add(_)):q.set(_,$)}else aa(_);we({fetchers:new Map(x.fetchers)})}function er(_){let $=L.get(_);me($,"Expected fetch controller: "+_),$.abort(),L.delete(_)}function bl(_){for(let $ of _){let W=wl($),Q=Vr(W.data);x.fetchers.set($,Q)}}function Sl(){let _=[],$=!1;for(let W of B){let Q=x.fetchers.get(W);me(Q,"Expected fetcher: "+W),Q.state==="loading"&&(B.delete(W),_.push(W),$=!0)}return bl(_),$}function xl(_){let $=[];for(let[W,Q]of j)if(Q<_){let Y=x.fetchers.get(W);me(Y,"Expected fetcher: "+W),Y.state==="loading"&&(er(W),j.delete(W),$.push(W))}return bl($),$.length>0}function Vd(_,$){let W=x.blockers.get(_)||Ao;return oe.get(_)!==$&&oe.set(_,$),W}function El(_){x.blockers.delete(_),oe.delete(_)}function oa(_,$){let W=x.blockers.get(_)||Ao;me(W.state==="unblocked"&&$.state==="blocked"||W.state==="blocked"&&$.state==="blocked"||W.state==="blocked"&&$.state==="proceeding"||W.state==="blocked"&&$.state==="unblocked"||W.state==="proceeding"&&$.state==="unblocked","Invalid blocker state transition: "+W.state+" -> "+$.state);let Q=new Map(x.blockers);Q.set(_,$),we({blockers:Q})}function bo(_){let{currentLocation:$,nextLocation:W,historyAction:Q}=_;if(oe.size===0)return;oe.size>1&&ui(!1,"A router only supports one blocker at a time");let Y=Array.from(oe.entries()),[ae,re]=Y[Y.length-1],ee=x.blockers.get(ae);if(!(ee&&ee.state==="proceeding")&&re({currentLocation:$,nextLocation:W,historyAction:Q}))return ae}function hr(_){let $=[];return ne.forEach((W,Q)=>{(!_||_(Q))&&(W.cancel(),$.push(Q),ne.delete(Q))}),$}function bi(_,$,W){if(f=_,w=$,p=W||null,!g&&x.navigation===vf){g=!0;let Q=Si(x.location,x.matches);Q!=null&&we({restoreScrollPosition:Q})}return()=>{f=null,w=null,p=null}}function sa(_,$){return p&&p(_,$.map(Q=>MO(Q,x.loaderData)))||_.key}function So(_,$){if(f&&w){let W=sa(_,$);f[W]=w()}}function Si(_,$){if(f){let W=sa(_,$),Q=f[W];if(typeof Q=="number")return Q}return null}function Fr(_){a={},l=vh(_,i,void 0,a)}return E={get basename(){return s},get future(){return u},get state(){return x},get routes(){return o},get window(){return e},initialize:Qe,subscribe:xe,enableScrollRestoration:bi,navigate:Ot,fetch:Vt,revalidate:Gt,createHref:_=>t.history.createHref(_),encodeLocation:_=>t.history.encodeLocation(_),getFetcher:wl,deleteFetcher:_d,dispose:rt,getBlocker:Vd,deleteBlocker:El,_internalFetchControllers:L,_internalActiveDeferreds:ne,_internalSetRoutes:Fr},E}function tA(t){return t!=null&&("formData"in t&&t.formData!=null||"body"in t&&t.body!==void 0)}function wh(t,e,n,r,i,a,o,l){let s,u;if(o){s=[];for(let d of e)if(s.push(d),d.route.id===o){u=d;break}}else s=e,u=e[e.length-1];let c=kg(i||".",Pg(s,a),ci(t.pathname,n)||t.pathname,l==="path");return i==null&&(c.search=t.search,c.hash=t.hash),(i==null||i===""||i===".")&&u&&u.route.index&&!Og(c.search)&&(c.search=c.search?c.search.replace(/^\?/,"?index&"):"?index"),r&&n!=="/"&&(c.pathname=c.pathname==="/"?n:Cr([n,c.pathname])),Yi(c)}function s0(t,e,n,r){if(!r||!tA(r))return{path:n};if(r.formMethod&&!uA(r.formMethod))return{path:n,error:kn(405,{method:r.formMethod})};let i=()=>({path:n,error:kn(400,{type:"invalid-body"})}),a=r.formMethod||"get",o=t?a.toUpperCase():a.toLowerCase(),l=hE(n);if(r.body!==void 0){if(r.formEncType==="text/plain"){if(!Hn(o))return i();let f=typeof r.body=="string"?r.body:r.body instanceof FormData||r.body instanceof URLSearchParams?Array.from(r.body.entries()).reduce((p,w)=>{let[g,y]=w;return""+p+g+"="+y+` +`},""):String(r.body);return{path:n,submission:{formMethod:o,formAction:l,formEncType:r.formEncType,formData:void 0,json:void 0,text:f}}}else if(r.formEncType==="application/json"){if(!Hn(o))return i();try{let f=typeof r.body=="string"?JSON.parse(r.body):r.body;return{path:n,submission:{formMethod:o,formAction:l,formEncType:r.formEncType,formData:void 0,json:f,text:void 0}}}catch{return i()}}}me(typeof FormData=="function","FormData is not available in this environment");let s,u;if(r.formData)s=bh(r.formData),u=r.formData;else if(r.body instanceof FormData)s=bh(r.body),u=r.body;else if(r.body instanceof URLSearchParams)s=r.body,u=d0(s);else if(r.body==null)s=new URLSearchParams,u=new FormData;else try{s=new URLSearchParams(r.body),u=d0(s)}catch{return i()}let c={formMethod:o,formAction:l,formEncType:r&&r.formEncType||"application/x-www-form-urlencoded",formData:u,json:void 0,text:void 0};if(Hn(c.formMethod))return{path:n,submission:c};let d=pr(n);return e&&d.search&&Og(d.search)&&s.append("index",""),d.search="?"+s,{path:Yi(d),submission:c}}function nA(t,e){let n=t;if(e){let r=t.findIndex(i=>i.route.id===e);r>=0&&(n=t.slice(0,r))}return n}function l0(t,e,n,r,i,a,o,l,s,u,c,d,f,p,w,g){let y=g?Object.values(g)[0]:w?Object.values(w)[0]:void 0,h=t.createURL(e.location),v=t.createURL(i),m=g?Object.keys(g)[0]:void 0,E=nA(n,m).filter((C,T)=>{if(a)return rA(e,C.route);if(C.route.lazy)return!0;if(C.route.loader==null)return!1;if(iA(e.loaderData,e.matches[T],C)||l.some(I=>I===C.route.id))return!0;let P=e.matches[T],O=C;return u0(C,qe({currentUrl:h,currentParams:P.params,nextUrl:v,nextParams:O.params},r,{actionResult:y,defaultShouldRevalidate:o||h.pathname+h.search===v.pathname+v.search||h.search!==v.search||pE(P,O)}))}),x=[];return c.forEach((C,T)=>{if(a||!n.some(A=>A.route.id===C.routeId)||u.has(T))return;let P=Aa(f,C.path,p);if(!P){x.push({key:T,routeId:C.routeId,path:C.path,matches:null,match:null,controller:null});return}let O=e.fetchers.get(T),I=Sh(P,C.path),N=!1;d.has(T)?N=!1:s.includes(T)?N=!0:O&&O.state!=="idle"&&O.data===void 0?N=o:N=u0(I,qe({currentUrl:h,currentParams:e.matches[e.matches.length-1].params,nextUrl:v,nextParams:n[n.length-1].params},r,{actionResult:y,defaultShouldRevalidate:o})),N&&x.push({key:T,routeId:C.routeId,path:C.path,matches:P,match:I,controller:new AbortController})}),[E,x]}function rA(t,e){return e.loader?e.loader.hydrate?!0:t.loaderData[e.id]===void 0&&(!t.errors||t.errors[e.id]===void 0):!1}function iA(t,e,n){let r=!e||n.route.id!==e.route.id,i=t[n.route.id]===void 0;return r||i}function pE(t,e){let n=t.route.path;return t.pathname!==e.pathname||n!=null&&n.endsWith("*")&&t.params["*"]!==e.params["*"]}function u0(t,e){if(t.route.shouldRevalidate){let n=t.route.shouldRevalidate(e);if(typeof n=="boolean")return n}return e.defaultShouldRevalidate}async function c0(t,e,n){if(!t.lazy)return;let r=await t.lazy();if(!t.lazy)return;let i=n[t.id];me(i,"No route found in manifest");let a={};for(let o in r){let s=i[o]!==void 0&&o!=="hasErrorBoundary";ui(!s,'Route "'+i.id+'" has a static property "'+o+'" defined but its lazy function is also returning a value for this property. '+('The lazy route property "'+o+'" will be ignored.')),!s&&!PO.has(o)&&(a[o]=r[o])}Object.assign(i,a),Object.assign(i,qe({},e(i),{lazy:void 0}))}async function Lo(t,e,n,r,i,a,o,l,s){s===void 0&&(s={});let u,c,d,f=g=>{let y,h=new Promise((v,m)=>y=m);return d=()=>y(),e.signal.addEventListener("abort",d),Promise.race([g({request:e,params:n.params,context:s.requestContext}),h])};try{let g=n.route[t];if(n.route.lazy)if(g){let y,h=await Promise.all([f(g).catch(v=>{y=v}),c0(n.route,a,i)]);if(y)throw y;c=h[0]}else if(await c0(n.route,a,i),g=n.route[t],g)c=await f(g);else if(t==="action"){let y=new URL(e.url),h=y.pathname+y.search;throw kn(405,{method:e.method,pathname:h,routeId:n.route.id})}else return{type:We.data,data:void 0};else if(g)c=await f(g);else{let y=new URL(e.url),h=y.pathname+y.search;throw kn(404,{pathname:h})}me(c!==void 0,"You defined "+(t==="action"?"an action":"a loader")+" for route "+('"'+n.route.id+"\" but didn't return anything from your `"+t+"` ")+"function. Please return a value or `null`.")}catch(g){u=We.error,c=g}finally{d&&e.signal.removeEventListener("abort",d)}if(lA(c)){let g=c.status;if(YO.has(g)){let h=c.headers.get("Location");if(me(h,"Redirects returned/thrown from loaders/actions must have a Location header"),!dE.test(h))h=wh(new URL(e.url),r.slice(0,r.indexOf(n)+1),o,!0,h,l);else if(!s.isStaticRequest){let v=new URL(e.url),m=h.startsWith("//")?new URL(v.protocol+h):new URL(h),b=ci(m.pathname,o)!=null;m.origin===v.origin&&b&&(h=m.pathname+m.search+m.hash)}if(s.isStaticRequest)throw c.headers.set("Location",h),c;return{type:We.redirect,status:g,location:h,revalidate:c.headers.get("X-Remix-Revalidate")!==null,reloadDocument:c.headers.get("X-Remix-Reload-Document")!==null}}if(s.isRouteRequest)throw{type:u===We.error?We.error:We.data,response:c};let y;try{let h=c.headers.get("Content-Type");h&&/\bapplication\/json\b/.test(h)?y=await c.json():y=await c.text()}catch(h){return{type:We.error,error:h}}return u===We.error?{type:u,error:new Mg(g,c.statusText,y),headers:c.headers}:{type:We.data,data:y,statusCode:c.status,headers:c.headers}}if(u===We.error)return{type:u,error:c};if(sA(c)){var p,w;return{type:We.deferred,deferredData:c,statusCode:(p=c.init)==null?void 0:p.status,headers:((w=c.init)==null?void 0:w.headers)&&new Headers(c.init.headers)}}return{type:We.data,data:c}}function Ro(t,e,n,r){let i=t.createURL(hE(e)).toString(),a={signal:n};if(r&&Hn(r.formMethod)){let{formMethod:o,formEncType:l}=r;a.method=o.toUpperCase(),l==="application/json"?(a.headers=new Headers({"Content-Type":l}),a.body=JSON.stringify(r.json)):l==="text/plain"?a.body=r.text:l==="application/x-www-form-urlencoded"&&r.formData?a.body=bh(r.formData):a.body=r.formData}return new Request(i,a)}function bh(t){let e=new URLSearchParams;for(let[n,r]of t.entries())e.append(n,typeof r=="string"?r:r.name);return e}function d0(t){let e=new FormData;for(let[n,r]of t.entries())e.append(n,r);return e}function aA(t,e,n,r,i){let a={},o=null,l,s=!1,u={};return n.forEach((c,d)=>{let f=e[d].route.id;if(me(!Ua(c),"Cannot handle redirect results in processLoaderData"),ls(c)){let p=ss(t,f),w=c.error;r&&(w=Object.values(r)[0],r=void 0),o=o||{},o[p.route.id]==null&&(o[p.route.id]=w),a[f]=void 0,s||(s=!0,l=uE(c.error)?c.error.status:500),c.headers&&(u[f]=c.headers)}else Di(c)?(i.set(f,c.deferredData),a[f]=c.deferredData.data):a[f]=c.data,c.statusCode!=null&&c.statusCode!==200&&!s&&(l=c.statusCode),c.headers&&(u[f]=c.headers)}),r&&(o=r,a[Object.keys(r)[0]]=void 0),{loaderData:a,errors:o,statusCode:l||200,loaderHeaders:u}}function f0(t,e,n,r,i,a,o,l){let{loaderData:s,errors:u}=aA(e,n,r,i,l);for(let c=0;cr.route.id===e)+1):[...t]).reverse().find(r=>r.route.hasErrorBoundary===!0)||t[0]}function h0(t){let e=t.length===1?t[0]:t.find(n=>n.index||!n.path||n.path==="/")||{id:"__shim-error-route__"};return{matches:[{params:{},pathname:"",pathnameBase:"",route:e}],route:e}}function kn(t,e){let{pathname:n,routeId:r,method:i,type:a}=e===void 0?{}:e,o="Unknown Server Error",l="Unknown @remix-run/router error";return t===400?(o="Bad Request",i&&n&&r?l="You made a "+i+' request to "'+n+'" but '+('did not provide a `loader` for route "'+r+'", ')+"so there is no way to handle the request.":a==="defer-action"?l="defer() is not supported in actions":a==="invalid-body"&&(l="Unable to encode submission body")):t===403?(o="Forbidden",l='Route "'+r+'" does not match URL "'+n+'"'):t===404?(o="Not Found",l='No route matches URL "'+n+'"'):t===405&&(o="Method Not Allowed",i&&n&&r?l="You made a "+i.toUpperCase()+' request to "'+n+'" but '+('did not provide an `action` for route "'+r+'", ')+"so there is no way to handle the request.":i&&(l='Invalid request method "'+i.toUpperCase()+'"')),new Mg(t||500,o,new Error(l),!0)}function m0(t){for(let e=t.length-1;e>=0;e--){let n=t[e];if(Ua(n))return{result:n,idx:e}}}function hE(t){let e=typeof t=="string"?pr(t):t;return Yi(qe({},e,{hash:""}))}function oA(t,e){return t.pathname!==e.pathname||t.search!==e.search?!1:t.hash===""?e.hash!=="":t.hash===e.hash?!0:e.hash!==""}function Di(t){return t.type===We.deferred}function ls(t){return t.type===We.error}function Ua(t){return(t&&t.type)===We.redirect}function sA(t){let e=t;return e&&typeof e=="object"&&typeof e.data=="object"&&typeof e.subscribe=="function"&&typeof e.cancel=="function"&&typeof e.resolveData=="function"}function lA(t){return t!=null&&typeof t.status=="number"&&typeof t.statusText=="string"&&typeof t.headers=="object"&&typeof t.body<"u"}function uA(t){return KO.has(t.toLowerCase())}function Hn(t){return qO.has(t.toLowerCase())}async function g0(t,e,n,r,i,a){for(let o=0;od.route.id===s.route.id),c=u!=null&&!pE(u,s)&&(a&&a[s.route.id])!==void 0;if(Di(l)&&(i||c)){let d=r[o];me(d,"Expected an AbortSignal for revalidating fetcher deferred result"),await mE(l,d,i).then(f=>{f&&(n[o]=f||n[o])})}}}async function mE(t,e,n){if(n===void 0&&(n=!1),!await t.deferredData.resolveData(e)){if(n)try{return{type:We.data,data:t.deferredData.unwrappedData}}catch(i){return{type:We.error,error:i}}return{type:We.data,data:t.deferredData.data}}}function Og(t){return new URLSearchParams(t).getAll("index").some(e=>e==="")}function Sh(t,e){let n=typeof e=="string"?pr(e).search:e.search;if(t[t.length-1].route.index&&Og(n||""))return t[t.length-1];let r=lE(t);return r[r.length-1]}function v0(t){let{formMethod:e,formAction:n,formEncType:r,text:i,formData:a,json:o}=t;if(!(!e||!n||!r)){if(i!=null)return{formMethod:e,formAction:n,formEncType:r,formData:void 0,json:void 0,text:i};if(a!=null)return{formMethod:e,formAction:n,formEncType:r,formData:a,json:void 0,text:void 0};if(o!==void 0)return{formMethod:e,formAction:n,formEncType:r,formData:void 0,json:o,text:void 0}}}function yf(t,e){return e?{state:"loading",location:t,formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text}:{state:"loading",location:t,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0}}function cA(t,e){return{state:"submitting",location:t,formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text}}function Io(t,e){return t?{state:"loading",formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text,data:e}:{state:"loading",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:e}}function dA(t,e){return{state:"submitting",formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text,data:e?e.data:void 0}}function Vr(t){return{state:"idle",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:t}}function fA(t,e){try{let n=t.sessionStorage.getItem(fE);if(n){let r=JSON.parse(n);for(let[i,a]of Object.entries(r||{}))a&&Array.isArray(a)&&e.set(i,new Set(a||[]))}}catch{}}function pA(t,e){if(e.size>0){let n={};for(let[r,i]of e)n[r]=[...i];try{t.sessionStorage.setItem(fE,JSON.stringify(n))}catch(r){ui(!1,"Failed to save applied view transitions in sessionStorage ("+r+").")}}}/** * React Router v6.21.0 * * Copyright (c) Remix Software Inc. @@ -56,7 +56,7 @@ Error generating stack: `+a.message+` * LICENSE.md file in the root directory of this source tree. * * @license MIT - */function Vs(){return Vs=Object.assign?Object.assign.bind():function(t){for(var e=1;e{l.current=!0}),S.useCallback(function(u,c){if(c===void 0&&(c={}),!l.current)return;if(typeof u=="number"){r.go(u);return}let d=kg(u,JSON.parse(o),a,c.relative==="path");t==null&&e!=="/"&&(d.pathname=d.pathname==="/"?e:Er([e,d.pathname])),(c.replace?r.replace:r.push)(d,c.state,c)},[e,r,o,a,t])}function hA(){let{matches:t}=S.useContext(yi),e=t[t.length-1];return e?e.params:{}}function Uc(t,e){let{relative:n}=e===void 0?{}:e,{future:r}=S.useContext(vi),{matches:i}=S.useContext(yi),{pathname:a}=il(),o=JSON.stringify(Pg(i,r.v7_relativeSplatPath));return S.useMemo(()=>kg(t,JSON.parse(o),a,n==="path"),[t,o,a,n])}function mA(t,e,n,r){rl()||me(!1);let{navigator:i}=S.useContext(vi),{matches:a}=S.useContext(yi),o=a[a.length-1],l=o?o.params:{};o&&o.pathname;let s=o?o.pathnameBase:"/";o&&o.route;let u=il(),c;if(e){var d;let y=typeof e=="string"?fr(e):e;s==="/"||(d=y.pathname)!=null&&d.startsWith(s)||me(!1),c=y}else c=u;let f=c.pathname||"/",p=s==="/"?f:f.slice(s.length)||"/",w=Aa(t,{pathname:p}),g=bA(w&&w.map(y=>Object.assign({},y,{params:Object.assign({},l,y.params),pathname:Er([s,i.encodeLocation?i.encodeLocation(y.pathname).pathname:y.pathname]),pathnameBase:y.pathnameBase==="/"?s:Er([s,i.encodeLocation?i.encodeLocation(y.pathnameBase).pathname:y.pathnameBase])})),a,n,r);return e&&g?S.createElement(Hc.Provider,{value:{location:Vs({pathname:"/",search:"",hash:"",state:null,key:"default"},c),navigationType:tt.Pop}},g):g}function gA(){let t=CA(),e=lE(t)?t.status+" "+t.statusText:t instanceof Error?t.message:JSON.stringify(t),n=t instanceof Error?t.stack:null,i={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"},a=null;return S.createElement(S.Fragment,null,S.createElement("h2",null,"Unexpected Application Error!"),S.createElement("h3",{style:{fontStyle:"italic"}},e),n?S.createElement("pre",{style:i},n):null,a)}const vA=S.createElement(gA,null);class yA extends S.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,n){return n.location!==e.location||n.revalidation!=="idle"&&e.revalidation==="idle"?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error!==void 0?e.error:n.error,location:n.location,revalidation:e.revalidation||n.revalidation}}componentDidCatch(e,n){console.error("React Router caught the following error during render",e,n)}render(){return this.state.error!==void 0?S.createElement(yi.Provider,{value:this.props.routeContext},S.createElement(mE.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function wA(t){let{routeContext:e,match:n,children:r}=t,i=S.useContext(nl);return i&&i.static&&i.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=n.route.id),S.createElement(yi.Provider,{value:e},r)}function bA(t,e,n,r){var i;if(e===void 0&&(e=[]),n===void 0&&(n=null),r===void 0&&(r=null),t==null){var a;if((a=n)!=null&&a.errors)t=n.matches;else return null}let o=t,l=(i=n)==null?void 0:i.errors;if(l!=null){let c=o.findIndex(d=>d.route.id&&(l==null?void 0:l[d.route.id]));c>=0||me(!1),o=o.slice(0,Math.min(o.length,c+1))}let s=!1,u=-1;if(n&&r&&r.v7_partialHydration)for(let c=0;c=0?o=o.slice(0,u+1):o=[o[0]];break}}return o.reduceRight((c,d,f)=>{let p,w=!1,g=null,y=null;n&&(p=l&&d.route.id?l[d.route.id]:void 0,g=d.route.errorElement||vA,s&&(u<0&&f===0?(PA("route-fallback",!1),w=!0,y=null):u===f&&(w=!0,y=d.route.hydrateFallbackElement||null)));let h=e.concat(o.slice(0,f+1)),v=()=>{let m;return p?m=g:w?m=y:d.route.Component?m=S.createElement(d.route.Component,null):d.route.element?m=d.route.element:m=c,S.createElement(wA,{match:d,routeContext:{outlet:c,matches:h,isDataRoute:n!=null},children:m})};return n&&(d.route.ErrorBoundary||d.route.errorElement||f===0)?S.createElement(yA,{location:n.location,revalidation:n.revalidation,component:g,error:p,children:v(),routeContext:{outlet:null,matches:h,isDataRoute:!0}}):v()},null)}var yE=function(t){return t.UseBlocker="useBlocker",t.UseRevalidator="useRevalidator",t.UseNavigateStable="useNavigate",t}(yE||{}),ac=function(t){return t.UseBlocker="useBlocker",t.UseLoaderData="useLoaderData",t.UseActionData="useActionData",t.UseRouteError="useRouteError",t.UseNavigation="useNavigation",t.UseRouteLoaderData="useRouteLoaderData",t.UseMatches="useMatches",t.UseRevalidator="useRevalidator",t.UseNavigateStable="useNavigate",t.UseRouteId="useRouteId",t}(ac||{});function SA(t){let e=S.useContext(nl);return e||me(!1),e}function xA(t){let e=S.useContext(Ag);return e||me(!1),e}function EA(t){let e=S.useContext(yi);return e||me(!1),e}function wE(t){let e=EA(),n=e.matches[e.matches.length-1];return n.route.id||me(!1),n.route.id}function CA(){var t;let e=S.useContext(mE),n=xA(ac.UseRouteError),r=wE(ac.UseRouteError);return e!==void 0?e:(t=n.errors)==null?void 0:t[r]}function TA(){let{router:t}=SA(yE.UseNavigateStable),e=wE(ac.UseNavigateStable),n=S.useRef(!1);return gE(()=>{n.current=!0}),S.useCallback(function(i,a){a===void 0&&(a={}),n.current&&(typeof i=="number"?t.navigate(i):t.navigate(i,Vs({fromRouteId:e},a)))},[t,e])}const v0={};function PA(t,e,n){!e&&!v0[t]&&(v0[t]=!0)}function kA(t){let{basename:e="/",children:n=null,location:r,navigationType:i=tt.Pop,navigator:a,static:o=!1,future:l}=t;rl()&&me(!1);let s=e.replace(/^\/*/,"/"),u=S.useMemo(()=>({basename:s,navigator:a,static:o,future:Vs({v7_relativeSplatPath:!1},l)}),[s,l,a,o]);typeof r=="string"&&(r=fr(r));let{pathname:c="/",search:d="",hash:f="",state:p=null,key:w="default"}=r,g=S.useMemo(()=>{let y=ui(c,s);return y==null?null:{location:{pathname:y,search:d,hash:f,state:p,key:w},navigationType:i}},[s,c,d,f,p,w,i]);return g==null?null:S.createElement(vi.Provider,{value:u},S.createElement(Hc.Provider,{children:n,value:g}))}new Promise(()=>{});function MA(t){let e={hasErrorBoundary:t.ErrorBoundary!=null||t.errorElement!=null};return t.Component&&Object.assign(e,{element:S.createElement(t.Component),Component:void 0}),t.HydrateFallback&&Object.assign(e,{hydrateFallbackElement:S.createElement(t.HydrateFallback),HydrateFallback:void 0}),t.ErrorBoundary&&Object.assign(e,{errorElement:S.createElement(t.ErrorBoundary),ErrorBoundary:void 0}),e}/** + */function Vs(){return Vs=Object.assign?Object.assign.bind():function(t){for(var e=1;e{l.current=!0}),S.useCallback(function(u,c){if(c===void 0&&(c={}),!l.current)return;if(typeof u=="number"){r.go(u);return}let d=kg(u,JSON.parse(o),a,c.relative==="path");t==null&&e!=="/"&&(d.pathname=d.pathname==="/"?e:Cr([e,d.pathname])),(c.replace?r.replace:r.push)(d,c.state,c)},[e,r,o,a,t])}function gA(){let{matches:t}=S.useContext(yi),e=t[t.length-1];return e?e.params:{}}function Gc(t,e){let{relative:n}=e===void 0?{}:e,{future:r}=S.useContext(vi),{matches:i}=S.useContext(yi),{pathname:a}=il(),o=JSON.stringify(Pg(i,r.v7_relativeSplatPath));return S.useMemo(()=>kg(t,JSON.parse(o),a,n==="path"),[t,o,a,n])}function vA(t,e,n,r){rl()||me(!1);let{navigator:i}=S.useContext(vi),{matches:a}=S.useContext(yi),o=a[a.length-1],l=o?o.params:{};o&&o.pathname;let s=o?o.pathnameBase:"/";o&&o.route;let u=il(),c;if(e){var d;let y=typeof e=="string"?pr(e):e;s==="/"||(d=y.pathname)!=null&&d.startsWith(s)||me(!1),c=y}else c=u;let f=c.pathname||"/",p=s==="/"?f:f.slice(s.length)||"/",w=Aa(t,{pathname:p}),g=xA(w&&w.map(y=>Object.assign({},y,{params:Object.assign({},l,y.params),pathname:Cr([s,i.encodeLocation?i.encodeLocation(y.pathname).pathname:y.pathname]),pathnameBase:y.pathnameBase==="/"?s:Cr([s,i.encodeLocation?i.encodeLocation(y.pathnameBase).pathname:y.pathnameBase])})),a,n,r);return e&&g?S.createElement(Wc.Provider,{value:{location:Vs({pathname:"/",search:"",hash:"",state:null,key:"default"},c),navigationType:tt.Pop}},g):g}function yA(){let t=PA(),e=uE(t)?t.status+" "+t.statusText:t instanceof Error?t.message:JSON.stringify(t),n=t instanceof Error?t.stack:null,i={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"},a=null;return S.createElement(S.Fragment,null,S.createElement("h2",null,"Unexpected Application Error!"),S.createElement("h3",{style:{fontStyle:"italic"}},e),n?S.createElement("pre",{style:i},n):null,a)}const wA=S.createElement(yA,null);class bA extends S.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,n){return n.location!==e.location||n.revalidation!=="idle"&&e.revalidation==="idle"?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error!==void 0?e.error:n.error,location:n.location,revalidation:e.revalidation||n.revalidation}}componentDidCatch(e,n){console.error("React Router caught the following error during render",e,n)}render(){return this.state.error!==void 0?S.createElement(yi.Provider,{value:this.props.routeContext},S.createElement(gE.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function SA(t){let{routeContext:e,match:n,children:r}=t,i=S.useContext(nl);return i&&i.static&&i.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=n.route.id),S.createElement(yi.Provider,{value:e},r)}function xA(t,e,n,r){var i;if(e===void 0&&(e=[]),n===void 0&&(n=null),r===void 0&&(r=null),t==null){var a;if((a=n)!=null&&a.errors)t=n.matches;else return null}let o=t,l=(i=n)==null?void 0:i.errors;if(l!=null){let c=o.findIndex(d=>d.route.id&&(l==null?void 0:l[d.route.id]));c>=0||me(!1),o=o.slice(0,Math.min(o.length,c+1))}let s=!1,u=-1;if(n&&r&&r.v7_partialHydration)for(let c=0;c=0?o=o.slice(0,u+1):o=[o[0]];break}}return o.reduceRight((c,d,f)=>{let p,w=!1,g=null,y=null;n&&(p=l&&d.route.id?l[d.route.id]:void 0,g=d.route.errorElement||wA,s&&(u<0&&f===0?(MA("route-fallback",!1),w=!0,y=null):u===f&&(w=!0,y=d.route.hydrateFallbackElement||null)));let h=e.concat(o.slice(0,f+1)),v=()=>{let m;return p?m=g:w?m=y:d.route.Component?m=S.createElement(d.route.Component,null):d.route.element?m=d.route.element:m=c,S.createElement(SA,{match:d,routeContext:{outlet:c,matches:h,isDataRoute:n!=null},children:m})};return n&&(d.route.ErrorBoundary||d.route.errorElement||f===0)?S.createElement(bA,{location:n.location,revalidation:n.revalidation,component:g,error:p,children:v(),routeContext:{outlet:null,matches:h,isDataRoute:!0}}):v()},null)}var wE=function(t){return t.UseBlocker="useBlocker",t.UseRevalidator="useRevalidator",t.UseNavigateStable="useNavigate",t}(wE||{}),sc=function(t){return t.UseBlocker="useBlocker",t.UseLoaderData="useLoaderData",t.UseActionData="useActionData",t.UseRouteError="useRouteError",t.UseNavigation="useNavigation",t.UseRouteLoaderData="useRouteLoaderData",t.UseMatches="useMatches",t.UseRevalidator="useRevalidator",t.UseNavigateStable="useNavigate",t.UseRouteId="useRouteId",t}(sc||{});function EA(t){let e=S.useContext(nl);return e||me(!1),e}function CA(t){let e=S.useContext(Ag);return e||me(!1),e}function TA(t){let e=S.useContext(yi);return e||me(!1),e}function bE(t){let e=TA(),n=e.matches[e.matches.length-1];return n.route.id||me(!1),n.route.id}function PA(){var t;let e=S.useContext(gE),n=CA(sc.UseRouteError),r=bE(sc.UseRouteError);return e!==void 0?e:(t=n.errors)==null?void 0:t[r]}function kA(){let{router:t}=EA(wE.UseNavigateStable),e=bE(sc.UseNavigateStable),n=S.useRef(!1);return vE(()=>{n.current=!0}),S.useCallback(function(i,a){a===void 0&&(a={}),n.current&&(typeof i=="number"?t.navigate(i):t.navigate(i,Vs({fromRouteId:e},a)))},[t,e])}const y0={};function MA(t,e,n){!e&&!y0[t]&&(y0[t]=!0)}function OA(t){let{basename:e="/",children:n=null,location:r,navigationType:i=tt.Pop,navigator:a,static:o=!1,future:l}=t;rl()&&me(!1);let s=e.replace(/^\/*/,"/"),u=S.useMemo(()=>({basename:s,navigator:a,static:o,future:Vs({v7_relativeSplatPath:!1},l)}),[s,l,a,o]);typeof r=="string"&&(r=pr(r));let{pathname:c="/",search:d="",hash:f="",state:p=null,key:w="default"}=r,g=S.useMemo(()=>{let y=ci(c,s);return y==null?null:{location:{pathname:y,search:d,hash:f,state:p,key:w},navigationType:i}},[s,c,d,f,p,w,i]);return g==null?null:S.createElement(vi.Provider,{value:u},S.createElement(Wc.Provider,{children:n,value:g}))}new Promise(()=>{});function AA(t){let e={hasErrorBoundary:t.ErrorBoundary!=null||t.errorElement!=null};return t.Component&&Object.assign(e,{element:S.createElement(t.Component),Component:void 0}),t.HydrateFallback&&Object.assign(e,{hydrateFallbackElement:S.createElement(t.HydrateFallback),HydrateFallback:void 0}),t.ErrorBoundary&&Object.assign(e,{errorElement:S.createElement(t.ErrorBoundary),ErrorBoundary:void 0}),e}/** * React Router DOM v6.21.0 * * Copyright (c) Remix Software Inc. @@ -65,8 +65,8 @@ Error generating stack: `+a.message+` * LICENSE.md file in the root directory of this source tree. * * @license MIT - */function to(){return to=Object.assign?Object.assign.bind():function(t){for(var e=1;e=0)&&(n[i]=t[i]);return n}function OA(t){return!!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)}function AA(t,e){return t.button===0&&(!e||e==="_self")&&!OA(t)}const LA=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"],RA=["aria-current","caseSensitive","className","end","style","to","unstable_viewTransition","children"];function IA(t,e){return ZO({basename:e==null?void 0:e.basename,future:to({},e==null?void 0:e.future,{v7_prependBasename:!0}),history:SO({window:e==null?void 0:e.window}),hydrationData:(e==null?void 0:e.hydrationData)||DA(),routes:t,mapRouteProperties:MA,window:e==null?void 0:e.window}).initialize()}function DA(){var t;let e=(t=window)==null?void 0:t.__staticRouterHydrationData;return e&&e.errors&&(e=to({},e,{errors:FA(e.errors)})),e}function FA(t){if(!t)return null;let e=Object.entries(t),n={};for(let[r,i]of e)if(i&&i.__type==="RouteErrorResponse")n[r]=new Mg(i.status,i.statusText,i.data,i.internal===!0);else if(i&&i.__type==="Error"){if(i.__subType){let a=window[i.__subType];if(typeof a=="function")try{let o=new a(i.message);o.stack="",n[r]=o}catch{}}if(n[r]==null){let a=new Error(i.message);a.stack="",n[r]=a}}else n[r]=i;return n}const SE=S.createContext({isTransitioning:!1}),NA=S.createContext(new Map),_A="startTransition",y0=qa[_A],VA="flushSync",w0=bO[VA];function jA(t){y0?y0(t):t()}function Do(t){w0?w0(t):t()}class $A{constructor(){this.status="pending",this.promise=new Promise((e,n)=>{this.resolve=r=>{this.status==="pending"&&(this.status="resolved",e(r))},this.reject=r=>{this.status==="pending"&&(this.status="rejected",n(r))}})}}function zA(t){let{fallbackElement:e,router:n,future:r}=t,[i,a]=S.useState(n.state),[o,l]=S.useState(),[s,u]=S.useState({isTransitioning:!1}),[c,d]=S.useState(),[f,p]=S.useState(),[w,g]=S.useState(),y=S.useRef(new Map),{v7_startTransition:h}=r||{},v=S.useCallback(C=>{h?jA(C):C()},[h]),m=S.useCallback((C,T)=>{let{deletedFetchers:P,unstable_flushSync:O,unstable_viewTransitionOpts:I}=T;P.forEach(A=>y.current.delete(A)),C.fetchers.forEach((A,M)=>{A.data!==void 0&&y.current.set(M,A.data)});let N=n.window==null||typeof n.window.document.startViewTransition!="function";if(!I||N){O?Do(()=>a(C)):v(()=>a(C));return}if(O){Do(()=>{f&&(c&&c.resolve(),f.skipTransition()),u({isTransitioning:!0,flushSync:!0,currentLocation:I.currentLocation,nextLocation:I.nextLocation})});let A=n.window.document.startViewTransition(()=>{Do(()=>a(C))});A.finished.finally(()=>{Do(()=>{d(void 0),p(void 0),l(void 0),u({isTransitioning:!1})})}),Do(()=>p(A));return}f?(c&&c.resolve(),f.skipTransition(),g({state:C,currentLocation:I.currentLocation,nextLocation:I.nextLocation})):(l(C),u({isTransitioning:!0,flushSync:!1,currentLocation:I.currentLocation,nextLocation:I.nextLocation}))},[n.window,f,c,y,v]);S.useLayoutEffect(()=>n.subscribe(m),[n,m]),S.useEffect(()=>{s.isTransitioning&&!s.flushSync&&d(new $A)},[s]),S.useEffect(()=>{if(c&&o&&n.window){let C=o,T=c.promise,P=n.window.document.startViewTransition(async()=>{v(()=>a(C)),await T});P.finished.finally(()=>{d(void 0),p(void 0),l(void 0),u({isTransitioning:!1})}),p(P)}},[v,o,c,n.window]),S.useEffect(()=>{c&&o&&i.location.key===o.location.key&&c.resolve()},[c,f,i.location,o]),S.useEffect(()=>{!s.isTransitioning&&w&&(l(w.state),u({isTransitioning:!0,flushSync:!1,currentLocation:w.currentLocation,nextLocation:w.nextLocation}),g(void 0))},[s.isTransitioning,w]),S.useEffect(()=>{},[]);let b=S.useMemo(()=>({createHref:n.createHref,encodeLocation:n.encodeLocation,go:C=>n.navigate(C),push:(C,T,P)=>n.navigate(C,{state:T,preventScrollReset:P==null?void 0:P.preventScrollReset}),replace:(C,T,P)=>n.navigate(C,{replace:!0,state:T,preventScrollReset:P==null?void 0:P.preventScrollReset})}),[n]),E=n.basename||"/",x=S.useMemo(()=>({router:n,navigator:b,static:!1,basename:E}),[n,b,E]);return S.createElement(S.Fragment,null,S.createElement(nl.Provider,{value:x},S.createElement(Ag.Provider,{value:i},S.createElement(NA.Provider,{value:y.current},S.createElement(SE.Provider,{value:s},S.createElement(kA,{basename:E,location:i.location,navigationType:i.historyAction,navigator:b,future:{v7_relativeSplatPath:n.future.v7_relativeSplatPath}},i.initialized||n.future.v7_partialHydration?S.createElement(BA,{routes:n.routes,future:n.future,state:i}):e))))),null)}function BA(t){let{routes:e,future:n,state:r}=t;return mA(e,void 0,r,n)}const HA=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",UA=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Wc=S.forwardRef(function(e,n){let{onClick:r,relative:i,reloadDocument:a,replace:o,state:l,target:s,to:u,preventScrollReset:c,unstable_viewTransition:d}=e,f=bE(e,LA),{basename:p}=S.useContext(vi),w,g=!1;if(typeof u=="string"&&UA.test(u)&&(w=u,HA))try{let m=new URL(window.location.href),b=u.startsWith("//")?new URL(m.protocol+u):new URL(u),E=ui(b.pathname,p);b.origin===m.origin&&E!=null?u=E+b.search+b.hash:g=!0}catch{}let y=fA(u,{relative:i}),h=GA(u,{replace:o,state:l,target:s,preventScrollReset:c,relative:i,unstable_viewTransition:d});function v(m){r&&r(m),m.defaultPrevented||h(m)}return S.createElement("a",to({},f,{href:w||y,onClick:g||a?r:v,ref:n,target:s}))}),xE=S.forwardRef(function(e,n){let{"aria-current":r="page",caseSensitive:i=!1,className:a="",end:o=!1,style:l,to:s,unstable_viewTransition:u,children:c}=e,d=bE(e,RA),f=Uc(s,{relative:d.relative}),p=il(),w=S.useContext(Ag),{navigator:g}=S.useContext(vi),y=w!=null&&qA(f)&&u===!0,h=g.encodeLocation?g.encodeLocation(f).pathname:f.pathname,v=p.pathname,m=w&&w.navigation&&w.navigation.location?w.navigation.location.pathname:null;i||(v=v.toLowerCase(),m=m?m.toLowerCase():null,h=h.toLowerCase());const b=h!=="/"&&h.endsWith("/")?h.length-1:h.length;let E=v===h||!o&&v.startsWith(h)&&v.charAt(b)==="/",x=m!=null&&(m===h||!o&&m.startsWith(h)&&m.charAt(h.length)==="/"),C={isActive:E,isPending:x,isTransitioning:y},T=E?r:void 0,P;typeof a=="function"?P=a(C):P=[a,E?"active":null,x?"pending":null,y?"transitioning":null].filter(Boolean).join(" ");let O=typeof l=="function"?l(C):l;return S.createElement(Wc,to({},d,{"aria-current":T,className:P,ref:n,style:O,to:s,unstable_viewTransition:u}),typeof c=="function"?c(C):c)});var xh;(function(t){t.UseScrollRestoration="useScrollRestoration",t.UseSubmit="useSubmit",t.UseSubmitFetcher="useSubmitFetcher",t.UseFetcher="useFetcher",t.useViewTransitionState="useViewTransitionState"})(xh||(xh={}));var b0;(function(t){t.UseFetcher="useFetcher",t.UseFetchers="useFetchers",t.UseScrollRestoration="useScrollRestoration"})(b0||(b0={}));function WA(t){let e=S.useContext(nl);return e||me(!1),e}function GA(t,e){let{target:n,replace:r,state:i,preventScrollReset:a,relative:o,unstable_viewTransition:l}=e===void 0?{}:e,s=vE(),u=il(),c=Uc(t,{relative:o});return S.useCallback(d=>{if(AA(d,n)){d.preventDefault();let f=r!==void 0?r:Yi(u)===Yi(c);s(t,{replace:f,state:i,preventScrollReset:a,relative:o,unstable_viewTransition:l})}},[u,s,c,r,i,n,t,a,o,l])}function qA(t,e){e===void 0&&(e={});let n=S.useContext(SE);n==null&&me(!1);let{basename:r}=WA(xh.useViewTransitionState),i=Uc(t,{relative:e.relative});if(!n.isTransitioning)return!1;let a=ui(n.currentLocation.pathname,r)||n.currentLocation.pathname,o=ui(n.nextLocation.pathname,r)||n.nextLocation.pathname;return yh(i.pathname,o)!=null||yh(i.pathname,a)!=null}const Lg=S.createContext({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"}),Gc=S.createContext({}),Rg=S.createContext(null),Ig=typeof document<"u",EE=Ig?S.useLayoutEffect:S.useEffect,CE=S.createContext({strict:!1}),Dg=t=>t.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),XA="framerAppearId",TE="data-"+Dg(XA),KA={skipAnimations:!1,useManualTiming:!1};class S0{constructor(){this.order=[],this.scheduled=new Set}add(e){if(!this.scheduled.has(e))return this.scheduled.add(e),this.order.push(e),!0}remove(e){const n=this.order.indexOf(e);n!==-1&&(this.order.splice(n,1),this.scheduled.delete(e))}clear(){this.order.length=0,this.scheduled.clear()}}function YA(t){let e=new S0,n=new S0,r=0,i=!1,a=!1;const o=new WeakSet,l={schedule:(s,u=!1,c=!1)=>{const d=c&&i,f=d?e:n;return u&&o.add(s),f.add(s)&&d&&i&&(r=e.order.length),s},cancel:s=>{n.remove(s),o.delete(s)},process:s=>{if(i){a=!0;return}if(i=!0,[e,n]=[n,e],n.clear(),r=e.order.length,r)for(let u=0;u(d[f]=YA(()=>n=!0),d),{}),o=d=>{a[d].process(i)},l=()=>{const d=performance.now();n=!1,i.delta=r?1e3/60:Math.max(Math.min(d-i.timestamp,QA),1),i.timestamp=d,i.isProcessing=!0,zl.forEach(o),i.isProcessing=!1,n&&e&&(r=!1,t(l))},s=()=>{n=!0,r=!0,i.isProcessing||t(l)};return{schedule:zl.reduce((d,f)=>{const p=a[f];return d[f]=(w,g=!1,y=!1)=>(n||s(),p.schedule(w,g,y)),d},{}),cancel:d=>zl.forEach(f=>a[f].cancel(d)),state:i,steps:a}}const{schedule:Fg,cancel:O9}=PE(queueMicrotask,!1);function ZA(t,e,n,r){const{visualElement:i}=S.useContext(Gc),a=S.useContext(CE),o=S.useContext(Rg),l=S.useContext(Lg).reducedMotion,s=S.useRef();r=r||a.renderer,!s.current&&r&&(s.current=r(t,{visualState:e,parent:i,props:n,presenceContext:o,blockInitialAnimation:o?o.initial===!1:!1,reducedMotionConfig:l}));const u=s.current;S.useInsertionEffect(()=>{u&&u.update(n,o)});const c=S.useRef(!!(n[TE]&&!window.HandoffComplete));return EE(()=>{u&&(Fg.postRender(u.render),c.current&&u.animationState&&u.animationState.animateChanges())}),S.useEffect(()=>{u&&(u.updateFeatures(),!c.current&&u.animationState&&u.animationState.animateChanges(),c.current&&(c.current=!1,window.HandoffComplete=!0))}),u}function La(t){return t&&typeof t=="object"&&Object.prototype.hasOwnProperty.call(t,"current")}function JA(t,e,n){return S.useCallback(r=>{r&&t.mount&&t.mount(r),e&&(r?e.mount(r):e.unmount()),n&&(typeof n=="function"?n(r):La(n)&&(n.current=r))},[e])}function js(t){return typeof t=="string"||Array.isArray(t)}function qc(t){return t!==null&&typeof t=="object"&&typeof t.start=="function"}const Ng=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],_g=["initial",...Ng];function Xc(t){return qc(t.animate)||_g.some(e=>js(t[e]))}function kE(t){return!!(Xc(t)||t.variants)}function eL(t,e){if(Xc(t)){const{initial:n,animate:r}=t;return{initial:n===!1||js(n)?n:void 0,animate:js(r)?r:void 0}}return t.inherit!==!1?e:{}}function tL(t){const{initial:e,animate:n}=eL(t,S.useContext(Gc));return S.useMemo(()=>({initial:e,animate:n}),[x0(e),x0(n)])}function x0(t){return Array.isArray(t)?t.join(" "):t}const E0={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},$s={};for(const t in E0)$s[t]={isEnabled:e=>E0[t].some(n=>!!e[n])};function nL(t){for(const e in t)$s[e]={...$s[e],...t[e]}}const ME=S.createContext({}),OE=S.createContext({}),rL=Symbol.for("motionComponentSymbol");function iL({preloadedFeatures:t,createVisualElement:e,useRender:n,useVisualState:r,Component:i}){t&&nL(t);function a(l,s){let u;const c={...S.useContext(Lg),...l,layoutId:aL(l)},{isStatic:d}=c,f=tL(l),p=r(l,d);if(!d&&Ig){f.visualElement=ZA(i,p,c,e);const w=S.useContext(OE),g=S.useContext(CE).strict;f.visualElement&&(u=f.visualElement.loadFeatures(c,g,t,w))}return S.createElement(Gc.Provider,{value:f},u&&f.visualElement?S.createElement(u,{visualElement:f.visualElement,...c}):null,n(i,l,JA(p,f.visualElement,s),p,d,f.visualElement))}const o=S.forwardRef(a);return o[rL]=i,o}function aL({layoutId:t}){const e=S.useContext(ME).id;return e&&t!==void 0?e+"-"+t:t}function oL(t){function e(r,i={}){return iL(t(r,i))}if(typeof Proxy>"u")return e;const n=new Map;return new Proxy(e,{get:(r,i)=>(n.has(i)||n.set(i,e(i)),n.get(i))})}const sL=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function Vg(t){return typeof t!="string"||t.includes("-")?!1:!!(sL.indexOf(t)>-1||/[A-Z]/u.test(t))}const oc={};function lL(t){Object.assign(oc,t)}const al=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],ta=new Set(al);function AE(t,{layout:e,layoutId:n}){return ta.has(t)||t.startsWith("origin")||(e||n!==void 0)&&(!!oc[t]||t==="opacity")}const Et=t=>!!(t&&t.getVelocity),uL={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},cL=al.length;function dL(t,{enableHardwareAcceleration:e=!0,allowTransformNone:n=!0},r,i){let a="";for(let o=0;oe=>typeof e=="string"&&e.startsWith(t),RE=LE("--"),fL=LE("var(--"),jg=t=>fL(t)?pL.test(t.split("/*")[0].trim()):!1,pL=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,hL=(t,e)=>e&&typeof t=="number"?e.transform(t):t,ci=(t,e,n)=>n>e?e:ntypeof t=="number",parse:parseFloat,transform:t=>t},us={...go,transform:t=>ci(0,1,t)},Bl={...go,default:1},cs=t=>Math.round(t*1e5)/1e5,$g=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu,mL=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,gL=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu;function ol(t){return typeof t=="string"}const sl=t=>({test:e=>ol(e)&&e.endsWith(t)&&e.split(" ").length===1,parse:parseFloat,transform:e=>`${e}${t}`}),Vr=sl("deg"),cr=sl("%"),ue=sl("px"),vL=sl("vh"),yL=sl("vw"),C0={...cr,parse:t=>cr.parse(t)/100,transform:t=>cr.transform(t*100)},T0={...go,transform:Math.round},IE={borderWidth:ue,borderTopWidth:ue,borderRightWidth:ue,borderBottomWidth:ue,borderLeftWidth:ue,borderRadius:ue,radius:ue,borderTopLeftRadius:ue,borderTopRightRadius:ue,borderBottomRightRadius:ue,borderBottomLeftRadius:ue,width:ue,maxWidth:ue,height:ue,maxHeight:ue,size:ue,top:ue,right:ue,bottom:ue,left:ue,padding:ue,paddingTop:ue,paddingRight:ue,paddingBottom:ue,paddingLeft:ue,margin:ue,marginTop:ue,marginRight:ue,marginBottom:ue,marginLeft:ue,rotate:Vr,rotateX:Vr,rotateY:Vr,rotateZ:Vr,scale:Bl,scaleX:Bl,scaleY:Bl,scaleZ:Bl,skew:Vr,skewX:Vr,skewY:Vr,distance:ue,translateX:ue,translateY:ue,translateZ:ue,x:ue,y:ue,z:ue,perspective:ue,transformPerspective:ue,opacity:us,originX:C0,originY:C0,originZ:ue,zIndex:T0,backgroundPositionX:ue,backgroundPositionY:ue,fillOpacity:us,strokeOpacity:us,numOctaves:T0};function zg(t,e,n,r){const{style:i,vars:a,transform:o,transformOrigin:l}=t;let s=!1,u=!1,c=!0;for(const d in e){const f=e[d];if(RE(d)){a[d]=f;continue}const p=IE[d],w=hL(f,p);if(ta.has(d)){if(s=!0,o[d]=w,!c)continue;f!==(p.default||0)&&(c=!1)}else d.startsWith("origin")?(u=!0,l[d]=w):i[d]=w}if(e.transform||(s||r?i.transform=dL(t.transform,n,c,r):i.transform&&(i.transform="none")),u){const{originX:d="50%",originY:f="50%",originZ:p=0}=l;i.transformOrigin=`${d} ${f} ${p}`}}const Bg=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function DE(t,e,n){for(const r in e)!Et(e[r])&&!AE(r,n)&&(t[r]=e[r])}function wL({transformTemplate:t},e,n){return S.useMemo(()=>{const r=Bg();return zg(r,e,{enableHardwareAcceleration:!n},t),Object.assign({},r.vars,r.style)},[e])}function bL(t,e,n){const r=t.style||{},i={};return DE(i,r,t),Object.assign(i,wL(t,e,n)),i}function SL(t,e,n){const r={},i=bL(t,e,n);return t.drag&&t.dragListener!==!1&&(r.draggable=!1,i.userSelect=i.WebkitUserSelect=i.WebkitTouchCallout="none",i.touchAction=t.drag===!0?"none":`pan-${t.drag==="x"?"y":"x"}`),t.tabIndex===void 0&&(t.onTap||t.onTapStart||t.whileTap)&&(r.tabIndex=0),r.style=i,r}const xL=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function sc(t){return t.startsWith("while")||t.startsWith("drag")&&t!=="draggable"||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||xL.has(t)}let FE=t=>!sc(t);function EL(t){t&&(FE=e=>e.startsWith("on")?!sc(e):t(e))}try{EL(require("@emotion/is-prop-valid").default)}catch{}function CL(t,e,n){const r={};for(const i in t)i==="values"&&typeof t.values=="object"||(FE(i)||n===!0&&sc(i)||!e&&!sc(i)||t.draggable&&i.startsWith("onDrag"))&&(r[i]=t[i]);return r}function P0(t,e,n){return typeof t=="string"?t:ue.transform(e+n*t)}function TL(t,e,n){const r=P0(e,t.x,t.width),i=P0(n,t.y,t.height);return`${r} ${i}`}const PL={offset:"stroke-dashoffset",array:"stroke-dasharray"},kL={offset:"strokeDashoffset",array:"strokeDasharray"};function ML(t,e,n=1,r=0,i=!0){t.pathLength=1;const a=i?PL:kL;t[a.offset]=ue.transform(-r);const o=ue.transform(e),l=ue.transform(n);t[a.array]=`${o} ${l}`}function Hg(t,{attrX:e,attrY:n,attrScale:r,originX:i,originY:a,pathLength:o,pathSpacing:l=1,pathOffset:s=0,...u},c,d,f){if(zg(t,u,c,f),d){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};const{attrs:p,style:w,dimensions:g}=t;p.transform&&(g&&(w.transform=p.transform),delete p.transform),g&&(i!==void 0||a!==void 0||w.transform)&&(w.transformOrigin=TL(g,i!==void 0?i:.5,a!==void 0?a:.5)),e!==void 0&&(p.x=e),n!==void 0&&(p.y=n),r!==void 0&&(p.scale=r),o!==void 0&&ML(p,o,l,s,!1)}const NE=()=>({...Bg(),attrs:{}}),Ug=t=>typeof t=="string"&&t.toLowerCase()==="svg";function OL(t,e,n,r){const i=S.useMemo(()=>{const a=NE();return Hg(a,e,{enableHardwareAcceleration:!1},Ug(r),t.transformTemplate),{...a.attrs,style:{...a.style}}},[e]);if(t.style){const a={};DE(a,t.style,t),i.style={...a,...i.style}}return i}function AL(t=!1){return(n,r,i,{latestValues:a},o)=>{const s=(Vg(n)?OL:SL)(r,a,o,n),u=CL(r,typeof n=="string",t),c=n!==S.Fragment?{...u,...s,ref:i}:{},{children:d}=r,f=S.useMemo(()=>Et(d)?d.get():d,[d]);return S.createElement(n,{...c,children:f})}}function _E(t,{style:e,vars:n},r,i){Object.assign(t.style,e,i&&i.getProjectionStyles(r));for(const a in n)t.style.setProperty(a,n[a])}const VE=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function jE(t,e,n,r){_E(t,e,void 0,r);for(const i in e.attrs)t.setAttribute(VE.has(i)?i:Dg(i),e.attrs[i])}function Wg(t,e,n){var r;const{style:i}=t,a={};for(const o in i)(Et(i[o])||e.style&&Et(e.style[o])||AE(o,t)||((r=n==null?void 0:n.getValue(o))===null||r===void 0?void 0:r.liveStyle)!==void 0)&&(a[o]=i[o]);return a}function $E(t,e,n){const r=Wg(t,e,n);for(const i in t)if(Et(t[i])||Et(e[i])){const a=al.indexOf(i)!==-1?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i;r[a]=t[i]}return r}function Gg(t,e,n,r={},i={}){return typeof e=="function"&&(e=e(n!==void 0?n:t.custom,r,i)),typeof e=="string"&&(e=t.variants&&t.variants[e]),typeof e=="function"&&(e=e(n!==void 0?n:t.custom,r,i)),e}function ll(t){const e=S.useRef(null);return e.current===null&&(e.current=t()),e.current}const Eh=t=>Array.isArray(t),LL=t=>!!(t&&typeof t=="object"&&t.mix&&t.toValue),RL=t=>Eh(t)?t[t.length-1]||0:t;function vu(t){const e=Et(t)?t.get():t;return LL(e)?e.toValue():e}function IL({scrapeMotionValuesFromProps:t,createRenderState:e,onMount:n},r,i,a){const o={latestValues:DL(r,i,a,t),renderState:e()};return n&&(o.mount=l=>n(r,l,o)),o}const zE=t=>(e,n)=>{const r=S.useContext(Gc),i=S.useContext(Rg),a=()=>IL(t,e,r,i);return n?a():ll(a)};function DL(t,e,n,r){const i={},a=r(t,{});for(const f in a)i[f]=vu(a[f]);let{initial:o,animate:l}=t;const s=Xc(t),u=kE(t);e&&u&&!s&&t.inherit!==!1&&(o===void 0&&(o=e.initial),l===void 0&&(l=e.animate));let c=n?n.initial===!1:!1;c=c||o===!1;const d=c?l:o;return d&&typeof d!="boolean"&&!qc(d)&&(Array.isArray(d)?d:[d]).forEach(p=>{const w=Gg(t,p);if(!w)return;const{transitionEnd:g,transition:y,...h}=w;for(const v in h){let m=h[v];if(Array.isArray(m)){const b=c?m.length-1:0;m=m[b]}m!==null&&(i[v]=m)}for(const v in g)i[v]=g[v]}),i}const Pt=t=>t,{schedule:mt,cancel:Rr,state:bt,steps:wf}=PE(typeof requestAnimationFrame<"u"?requestAnimationFrame:Pt,!0),FL={useVisualState:zE({scrapeMotionValuesFromProps:$E,createRenderState:NE,onMount:(t,e,{renderState:n,latestValues:r})=>{mt.read(()=>{try{n.dimensions=typeof e.getBBox=="function"?e.getBBox():e.getBoundingClientRect()}catch{n.dimensions={x:0,y:0,width:0,height:0}}}),mt.render(()=>{Hg(n,r,{enableHardwareAcceleration:!1},Ug(e.tagName),t.transformTemplate),jE(e,n)})}})},NL={useVisualState:zE({scrapeMotionValuesFromProps:Wg,createRenderState:Bg})};function _L(t,{forwardMotionProps:e=!1},n,r){return{...Vg(t)?FL:NL,preloadedFeatures:n,useRender:AL(e),createVisualElement:r,Component:t}}function Sr(t,e,n,r={passive:!0}){return t.addEventListener(e,n,r),()=>t.removeEventListener(e,n)}const BE=t=>t.pointerType==="mouse"?typeof t.button!="number"||t.button<=0:t.isPrimary!==!1;function Kc(t,e="page"){return{point:{x:t[e+"X"],y:t[e+"Y"]}}}const VL=t=>e=>BE(e)&&t(e,Kc(e));function Cr(t,e,n,r){return Sr(t,e,VL(n),r)}const jL=(t,e)=>n=>e(t(n)),Tr=(...t)=>t.reduce(jL);function HE(t){let e=null;return()=>{const n=()=>{e=null};return e===null?(e=t,n):!1}}const k0=HE("dragHorizontal"),M0=HE("dragVertical");function UE(t){let e=!1;if(t==="y")e=M0();else if(t==="x")e=k0();else{const n=k0(),r=M0();n&&r?e=()=>{n(),r()}:(n&&n(),r&&r())}return e}function WE(){const t=UE(!0);return t?(t(),!1):!0}class wi{constructor(e){this.isMounted=!1,this.node=e}update(){}}function O0(t,e){const n="pointer"+(e?"enter":"leave"),r="onHover"+(e?"Start":"End"),i=(a,o)=>{if(a.pointerType==="touch"||WE())return;const l=t.getProps();t.animationState&&l.whileHover&&t.animationState.setActive("whileHover",e),l[r]&&l[r](a,o)};return Cr(t.current,n,i,{passive:!t.getProps()[r]})}class $L extends wi{mount(){this.unmount=Tr(O0(this.node,!0),O0(this.node,!1))}unmount(){}}class zL extends wi{constructor(){super(...arguments),this.isActive=!1}onFocus(){let e=!1;try{e=this.node.current.matches(":focus-visible")}catch{e=!0}!e||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=Tr(Sr(this.node.current,"focus",()=>this.onFocus()),Sr(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}const GE=(t,e)=>e?t===e?!0:GE(t,e.parentElement):!1;function bf(t,e){if(!e)return;const n=new PointerEvent("pointer"+t);e(n,Kc(n))}class BL extends wi{constructor(){super(...arguments),this.removeStartListeners=Pt,this.removeEndListeners=Pt,this.removeAccessibleListeners=Pt,this.startPointerPress=(e,n)=>{if(this.isPressing)return;this.removeEndListeners();const r=this.node.getProps(),a=Cr(window,"pointerup",(l,s)=>{if(!this.checkPressEnd())return;const{onTap:u,onTapCancel:c,globalTapTarget:d}=this.node.getProps();!d&&!GE(this.node.current,l.target)?c&&c(l,s):u&&u(l,s)},{passive:!(r.onTap||r.onPointerUp)}),o=Cr(window,"pointercancel",(l,s)=>this.cancelPress(l,s),{passive:!(r.onTapCancel||r.onPointerCancel)});this.removeEndListeners=Tr(a,o),this.startPress(e,n)},this.startAccessiblePress=()=>{const e=a=>{if(a.key!=="Enter"||this.isPressing)return;const o=l=>{l.key!=="Enter"||!this.checkPressEnd()||bf("up",(s,u)=>{const{onTap:c}=this.node.getProps();c&&c(s,u)})};this.removeEndListeners(),this.removeEndListeners=Sr(this.node.current,"keyup",o),bf("down",(l,s)=>{this.startPress(l,s)})},n=Sr(this.node.current,"keydown",e),r=()=>{this.isPressing&&bf("cancel",(a,o)=>this.cancelPress(a,o))},i=Sr(this.node.current,"blur",r);this.removeAccessibleListeners=Tr(n,i)}}startPress(e,n){this.isPressing=!0;const{onTapStart:r,whileTap:i}=this.node.getProps();i&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),r&&r(e,n)}checkPressEnd(){return this.removeEndListeners(),this.isPressing=!1,this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!WE()}cancelPress(e,n){if(!this.checkPressEnd())return;const{onTapCancel:r}=this.node.getProps();r&&r(e,n)}mount(){const e=this.node.getProps(),n=Cr(e.globalTapTarget?window:this.node.current,"pointerdown",this.startPointerPress,{passive:!(e.onTapStart||e.onPointerStart)}),r=Sr(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=Tr(n,r)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}const Ch=new WeakMap,Sf=new WeakMap,HL=t=>{const e=Ch.get(t.target);e&&e(t)},UL=t=>{t.forEach(HL)};function WL({root:t,...e}){const n=t||document;Sf.has(n)||Sf.set(n,{});const r=Sf.get(n),i=JSON.stringify(e);return r[i]||(r[i]=new IntersectionObserver(UL,{root:t,...e})),r[i]}function GL(t,e,n){const r=WL(e);return Ch.set(t,n),r.observe(t),()=>{Ch.delete(t),r.unobserve(t)}}const qL={some:0,all:1};class XL extends wi{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:e={}}=this.node.getProps(),{root:n,margin:r,amount:i="some",once:a}=e,o={root:n?n.current:void 0,rootMargin:r,threshold:typeof i=="number"?i:qL[i]},l=s=>{const{isIntersecting:u}=s;if(this.isInView===u||(this.isInView=u,a&&!u&&this.hasEnteredView))return;u&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",u);const{onViewportEnter:c,onViewportLeave:d}=this.node.getProps(),f=u?c:d;f&&f(s)};return GL(this.node.current,o,l)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:e,prevProps:n}=this.node;["amount","margin","root"].some(KL(e,n))&&this.startObserver()}unmount(){}}function KL({viewport:t={}},{viewport:e={}}={}){return n=>t[n]!==e[n]}const YL={inView:{Feature:XL},tap:{Feature:BL},focus:{Feature:zL},hover:{Feature:$L}};function qE(t,e){if(!Array.isArray(e))return!1;const n=e.length;if(n!==t.length)return!1;for(let r=0;re[r]=n.get()),e}function ZL(t){const e={};return t.values.forEach((n,r)=>e[r]=n.getVelocity()),e}function Yc(t,e,n){const r=t.getProps();return Gg(r,e,n!==void 0?n:r.custom,QL(t),ZL(t))}const Pr=t=>t*1e3,kr=t=>t/1e3,JL={type:"spring",stiffness:500,damping:25,restSpeed:10},eR=t=>({type:"spring",stiffness:550,damping:t===0?2*Math.sqrt(550):30,restSpeed:10}),tR={type:"keyframes",duration:.8},nR={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},rR=(t,{keyframes:e})=>e.length>2?tR:ta.has(t)?t.startsWith("scale")?eR(e[1]):JL:nR;function iR({when:t,delay:e,delayChildren:n,staggerChildren:r,staggerDirection:i,repeat:a,repeatType:o,repeatDelay:l,from:s,elapsed:u,...c}){return!!Object.keys(c).length}function qg(t,e){return t[e]||t.default||t}const aR=t=>t!==null;function Qc(t,{repeat:e,repeatType:n="loop"},r){const i=t.filter(aR),a=e&&n!=="loop"&&e%2===1?0:i.length-1;return!a||r===void 0?i[a]:r}let yu;function oR(){yu=void 0}const ai={now:()=>(yu===void 0&&ai.set(bt.isProcessing||KA.useManualTiming?bt.timestamp:performance.now()),yu),set:t=>{yu=t,queueMicrotask(oR)}},XE=t=>/^0[^.\s]+$/u.test(t);function sR(t){return typeof t=="number"?t===0:t!==null?t==="none"||t==="0"||XE(t):!0}let lR=Pt,KE=Pt;const YE=t=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t),uR=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function cR(t){const e=uR.exec(t);if(!e)return[,];const[,n,r,i]=e;return[`--${n??r}`,i]}function QE(t,e,n=1){const[r,i]=cR(t);if(!r)return;const a=window.getComputedStyle(e).getPropertyValue(r);if(a){const o=a.trim();return YE(o)?parseFloat(o):o}return jg(i)?QE(i,e,n+1):i}const dR=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),A0=t=>t===go||t===ue,L0=(t,e)=>parseFloat(t.split(", ")[e]),R0=(t,e)=>(n,{transform:r})=>{if(r==="none"||!r)return 0;const i=r.match(/^matrix3d\((.+)\)$/u);if(i)return L0(i[1],e);{const a=r.match(/^matrix\((.+)\)$/u);return a?L0(a[1],t):0}},fR=new Set(["x","y","z"]),pR=al.filter(t=>!fR.has(t));function I0(t){const e=[];return pR.forEach(n=>{const r=t.getValue(n);r!==void 0&&(e.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),e}const no={width:({x:t},{paddingLeft:e="0",paddingRight:n="0"})=>t.max-t.min-parseFloat(e)-parseFloat(n),height:({y:t},{paddingTop:e="0",paddingBottom:n="0"})=>t.max-t.min-parseFloat(e)-parseFloat(n),top:(t,{top:e})=>parseFloat(e),left:(t,{left:e})=>parseFloat(e),bottom:({y:t},{top:e})=>parseFloat(e)+(t.max-t.min),right:({x:t},{left:e})=>parseFloat(e)+(t.max-t.min),x:R0(4,13),y:R0(5,14)};no.translateX=no.x;no.translateY=no.y;const ZE=t=>e=>e.test(t),hR={test:t=>t==="auto",parse:t=>t},JE=[go,ue,cr,Vr,yL,vL,hR],D0=t=>JE.find(ZE(t)),zi=new Set;let Th=!1,Ph=!1;function eC(){if(Ph){const t=Array.from(zi).filter(r=>r.needsMeasurement),e=new Set(t.map(r=>r.element)),n=new Map;e.forEach(r=>{I0(r).length&&(n.set(r,I0(r)),r.render())}),t.forEach(r=>r.measureInitialState()),e.forEach(r=>{r.render()}),t.forEach(r=>r.measureEndState()),t.forEach(r=>{r.suspendedScrollY!==void 0&&window.scrollTo(0,r.suspendedScrollY)})}Ph=!1,Th=!1,zi.forEach(t=>t.complete()),zi.clear()}function tC(){zi.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(Ph=!0)})}function mR(){tC(),eC()}class Xg{constructor(e,n,r,i,a,o=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...e],this.onComplete=n,this.name=r,this.motionValue=i,this.element=a,this.isAsync=o}scheduleResolve(){this.isScheduled=!0,this.isAsync?(zi.add(this),Th||(Th=!0,mt.read(tC),mt.resolveKeyframes(eC))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:e,name:n,element:r,motionValue:i}=this;for(let a=0;an=>!!(ol(n)&&gL.test(n)&&n.startsWith(t)||e&&Object.prototype.hasOwnProperty.call(n,e)),nC=(t,e,n)=>r=>{if(!ol(r))return r;const[i,a,o,l]=r.match($g);return{[t]:parseFloat(i),[e]:parseFloat(a),[n]:parseFloat(o),alpha:l!==void 0?parseFloat(l):1}},gR=t=>ci(0,255,t),xf={...go,transform:t=>Math.round(gR(t))},Fi={test:Kg("rgb","red"),parse:nC("red","green","blue"),transform:({red:t,green:e,blue:n,alpha:r=1})=>"rgba("+xf.transform(t)+", "+xf.transform(e)+", "+xf.transform(n)+", "+cs(us.transform(r))+")"};function vR(t){let e="",n="",r="",i="";return t.length>5?(e=t.substring(1,3),n=t.substring(3,5),r=t.substring(5,7),i=t.substring(7,9)):(e=t.substring(1,2),n=t.substring(2,3),r=t.substring(3,4),i=t.substring(4,5),e+=e,n+=n,r+=r,i+=i),{red:parseInt(e,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:i?parseInt(i,16)/255:1}}const kh={test:Kg("#"),parse:vR,transform:Fi.transform},Ra={test:Kg("hsl","hue"),parse:nC("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:n,alpha:r=1})=>"hsla("+Math.round(t)+", "+cr.transform(cs(e))+", "+cr.transform(cs(n))+", "+cs(us.transform(r))+")"},Ft={test:t=>Fi.test(t)||kh.test(t)||Ra.test(t),parse:t=>Fi.test(t)?Fi.parse(t):Ra.test(t)?Ra.parse(t):kh.parse(t),transform:t=>ol(t)?t:t.hasOwnProperty("red")?Fi.transform(t):Ra.transform(t)};function yR(t){var e,n;return isNaN(t)&&ol(t)&&(((e=t.match($g))===null||e===void 0?void 0:e.length)||0)+(((n=t.match(mL))===null||n===void 0?void 0:n.length)||0)>0}const rC="number",iC="color",wR="var",bR="var(",F0="${}",SR=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function lc(t){const e=t.toString(),n=[],r={color:[],number:[],var:[]},i=[];let a=0;const l=e.replace(SR,s=>(Ft.test(s)?(r.color.push(a),i.push(iC),n.push(Ft.parse(s))):s.startsWith(bR)?(r.var.push(a),i.push(wR),n.push(s)):(r.number.push(a),i.push(rC),n.push(parseFloat(s))),++a,F0)).split(F0);return{values:n,split:l,indexes:r,types:i}}function aC(t){return lc(t).values}function oC(t){const{split:e,types:n}=lc(t),r=e.length;return i=>{let a="";for(let o=0;otypeof t=="number"?0:t;function ER(t){const e=aC(t);return oC(t)(e.map(xR))}const di={test:yR,parse:aC,createTransformer:oC,getAnimatableNone:ER},CR=new Set(["brightness","contrast","saturate","opacity"]);function TR(t){const[e,n]=t.slice(0,-1).split("(");if(e==="drop-shadow")return t;const[r]=n.match($g)||[];if(!r)return t;const i=n.replace(r,"");let a=CR.has(e)?1:0;return r!==n&&(a*=100),e+"("+a+i+")"}const PR=/\b([a-z-]*)\(.*?\)/gu,Mh={...di,getAnimatableNone:t=>{const e=t.match(PR);return e?e.map(TR).join(" "):t}},kR={...IE,color:Ft,backgroundColor:Ft,outlineColor:Ft,fill:Ft,stroke:Ft,borderColor:Ft,borderTopColor:Ft,borderRightColor:Ft,borderBottomColor:Ft,borderLeftColor:Ft,filter:Mh,WebkitFilter:Mh},Yg=t=>kR[t];function sC(t,e){let n=Yg(t);return n!==Mh&&(n=di),n.getAnimatableNone?n.getAnimatableNone(e):void 0}function MR(t,e,n){let r=0,i;for(;r{n.getValue(s).set(u)}),this.resolveNoneKeyframes()}}function OR(t){let e;return()=>(e===void 0&&(e=t()),e)}const N0=(t,e)=>e==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&(di.test(t)||t==="0")&&!t.startsWith("url("));function AR(t){const e=t[0];if(t.length===1)return!0;for(let n=0;n{this.resolveFinishedPromise=e})}}function cC(t,e){return e?t*(1e3/e):0}const RR=5;function dC(t,e,n){const r=Math.max(e-RR,0);return cC(n-t(r),e-r)}const Ef=.001,IR=.01,_0=10,DR=.05,FR=1;function NR({duration:t=800,bounce:e=.25,velocity:n=0,mass:r=1}){let i,a;lR(t<=Pr(_0));let o=1-e;o=ci(DR,FR,o),t=ci(IR,_0,kr(t)),o<1?(i=u=>{const c=u*o,d=c*t,f=c-n,p=Oh(u,o),w=Math.exp(-d);return Ef-f/p*w},a=u=>{const d=u*o*t,f=d*n+n,p=Math.pow(o,2)*Math.pow(u,2)*t,w=Math.exp(-d),g=Oh(Math.pow(u,2),o);return(-i(u)+Ef>0?-1:1)*((f-p)*w)/g}):(i=u=>{const c=Math.exp(-u*t),d=(u-n)*t+1;return-Ef+c*d},a=u=>{const c=Math.exp(-u*t),d=(n-u)*(t*t);return c*d});const l=5/t,s=VR(i,a,l);if(t=Pr(t),isNaN(s))return{stiffness:100,damping:10,duration:t};{const u=Math.pow(s,2)*r;return{stiffness:u,damping:o*2*Math.sqrt(r*u),duration:t}}}const _R=12;function VR(t,e,n){let r=n;for(let i=1;i<_R;i++)r=r-t(r)/e(r);return r}function Oh(t,e){return t*Math.sqrt(1-e*e)}const jR=["duration","bounce"],$R=["stiffness","damping","mass"];function V0(t,e){return e.some(n=>t[n]!==void 0)}function zR(t){let e={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...t};if(!V0(t,$R)&&V0(t,jR)){const n=NR(t);e={...e,...n,mass:1},e.isResolvedFromDuration=!0}return e}function fC({keyframes:t,restDelta:e,restSpeed:n,...r}){const i=t[0],a=t[t.length-1],o={done:!1,value:i},{stiffness:l,damping:s,mass:u,duration:c,velocity:d,isResolvedFromDuration:f}=zR({...r,velocity:-kr(r.velocity||0)}),p=d||0,w=s/(2*Math.sqrt(l*u)),g=a-i,y=kr(Math.sqrt(l/u)),h=Math.abs(g)<5;n||(n=h?.01:2),e||(e=h?.005:.5);let v;if(w<1){const m=Oh(y,w);v=b=>{const E=Math.exp(-w*y*b);return a-E*((p+w*y*g)/m*Math.sin(m*b)+g*Math.cos(m*b))}}else if(w===1)v=m=>a-Math.exp(-y*m)*(g+(p+y*g)*m);else{const m=y*Math.sqrt(w*w-1);v=b=>{const E=Math.exp(-w*y*b),x=Math.min(m*b,300);return a-E*((p+w*y*g)*Math.sinh(x)+m*g*Math.cosh(x))/m}}return{calculatedDuration:f&&c||null,next:m=>{const b=v(m);if(f)o.done=m>=c;else{let E=p;m!==0&&(w<1?E=dC(v,m,b):E=0);const x=Math.abs(E)<=n,C=Math.abs(a-b)<=e;o.done=x&&C}return o.value=o.done?a:b,o}}}function j0({keyframes:t,velocity:e=0,power:n=.8,timeConstant:r=325,bounceDamping:i=10,bounceStiffness:a=500,modifyTarget:o,min:l,max:s,restDelta:u=.5,restSpeed:c}){const d=t[0],f={done:!1,value:d},p=T=>l!==void 0&&Ts,w=T=>l===void 0?s:s===void 0||Math.abs(l-T)-g*Math.exp(-T/r),m=T=>h+v(T),b=T=>{const P=v(T),O=m(T);f.done=Math.abs(P)<=u,f.value=f.done?h:O};let E,x;const C=T=>{p(f.value)&&(E=T,x=fC({keyframes:[f.value,w(f.value)],velocity:dC(m,T,f.value),damping:i,stiffness:a,restDelta:u,restSpeed:c}))};return C(0),{calculatedDuration:null,next:T=>{let P=!1;return!x&&E===void 0&&(P=!0,b(T),C(T)),E!==void 0&&T>=E?x.next(T-E):(!P&&b(T),f)}}}const pC=(t,e,n)=>(((1-3*n+3*e)*t+(3*n-6*e))*t+3*e)*t,BR=1e-7,HR=12;function UR(t,e,n,r,i){let a,o,l=0;do o=e+(n-e)/2,a=pC(o,r,i)-t,a>0?n=o:e=o;while(Math.abs(a)>BR&&++lUR(a,0,1,t,n);return a=>a===0||a===1?a:pC(i(a),e,r)}const WR=ul(.42,0,1,1),GR=ul(0,0,.58,1),hC=ul(.42,0,.58,1),qR=t=>Array.isArray(t)&&typeof t[0]!="number",mC=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2,gC=t=>e=>1-t(1-e),Qg=t=>1-Math.sin(Math.acos(t)),vC=gC(Qg),XR=mC(Qg),yC=ul(.33,1.53,.69,.99),Zg=gC(yC),KR=mC(Zg),YR=t=>(t*=2)<1?.5*Zg(t):.5*(2-Math.pow(2,-10*(t-1))),QR={linear:Pt,easeIn:WR,easeInOut:hC,easeOut:GR,circIn:Qg,circInOut:XR,circOut:vC,backIn:Zg,backInOut:KR,backOut:yC,anticipate:YR},$0=t=>{if(Array.isArray(t)){KE(t.length===4);const[e,n,r,i]=t;return ul(e,n,r,i)}else if(typeof t=="string")return QR[t];return t},zs=(t,e,n)=>{const r=e-t;return r===0?1:(n-t)/r},$e=(t,e,n)=>t+(e-t)*n;function Cf(t,e,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?t+(e-t)*6*n:n<1/2?e:n<2/3?t+(e-t)*(2/3-n)*6:t}function ZR({hue:t,saturation:e,lightness:n,alpha:r}){t/=360,e/=100,n/=100;let i=0,a=0,o=0;if(!e)i=a=o=n;else{const l=n<.5?n*(1+e):n+e-n*e,s=2*n-l;i=Cf(s,l,t+1/3),a=Cf(s,l,t),o=Cf(s,l,t-1/3)}return{red:Math.round(i*255),green:Math.round(a*255),blue:Math.round(o*255),alpha:r}}const Tf=(t,e,n)=>{const r=t*t,i=n*(e*e-r)+r;return i<0?0:Math.sqrt(i)},JR=[kh,Fi,Ra],eI=t=>JR.find(e=>e.test(t));function z0(t){const e=eI(t);let n=e.parse(t);return e===Ra&&(n=ZR(n)),n}const B0=(t,e)=>{const n=z0(t),r=z0(e),i={...n};return a=>(i.red=Tf(n.red,r.red,a),i.green=Tf(n.green,r.green,a),i.blue=Tf(n.blue,r.blue,a),i.alpha=$e(n.alpha,r.alpha,a),Fi.transform(i))};function Ah(t,e){return n=>n>0?e:t}function tI(t,e){return n=>$e(t,e,n)}function Jg(t){return typeof t=="number"?tI:typeof t=="string"?jg(t)?Ah:Ft.test(t)?B0:iI:Array.isArray(t)?wC:typeof t=="object"?Ft.test(t)?B0:nI:Ah}function wC(t,e){const n=[...t],r=n.length,i=t.map((a,o)=>Jg(a)(a,e[o]));return a=>{for(let o=0;o{for(const a in r)n[a]=r[a](i);return n}}function rI(t,e){var n;const r=[],i={color:0,var:0,number:0};for(let a=0;a{const n=di.createTransformer(e),r=lc(t),i=lc(e);return r.indexes.var.length===i.indexes.var.length&&r.indexes.color.length===i.indexes.color.length&&r.indexes.number.length>=i.indexes.number.length?Tr(wC(rI(r,i),i.values),n):Ah(t,e)};function bC(t,e,n){return typeof t=="number"&&typeof e=="number"&&typeof n=="number"?$e(t,e,n):Jg(t)(t,e)}function aI(t,e,n){const r=[],i=n||bC,a=t.length-1;for(let o=0;oe[0];if(a===2&&t[0]===t[1])return()=>e[1];t[0]>t[a-1]&&(t=[...t].reverse(),e=[...e].reverse());const o=aI(e,r,i),l=o.length,s=u=>{let c=0;if(l>1)for(;cs(ci(t[0],t[a-1],u)):s}function oI(t,e){const n=t[t.length-1];for(let r=1;r<=e;r++){const i=zs(0,e,r);t.push($e(n,1,i))}}function sI(t){const e=[0];return oI(e,t.length-1),e}function lI(t,e){return t.map(n=>n*e)}function uI(t,e){return t.map(()=>e||hC).splice(0,t.length-1)}function uc({duration:t=300,keyframes:e,times:n,ease:r="easeInOut"}){const i=qR(r)?r.map($0):$0(r),a={done:!1,value:e[0]},o=lI(n&&n.length===e.length?n:sI(e),t),l=SC(o,e,{ease:Array.isArray(i)?i:uI(e,i)});return{calculatedDuration:t,next:s=>(a.value=l(s),a.done=s>=t,a)}}const H0=2e4;function cI(t){let e=0;const n=50;let r=t.next(e);for(;!r.done&&e=H0?1/0:e}const dI=t=>{const e=({timestamp:n})=>t(n);return{start:()=>mt.update(e,!0),stop:()=>Rr(e),now:()=>bt.isProcessing?bt.timestamp:ai.now()}},fI={decay:j0,inertia:j0,tween:uc,keyframes:uc,spring:fC},pI=t=>t/100;class ev extends uC{constructor({KeyframeResolver:e=Xg,...n}){super(n),this.holdTime=null,this.startTime=null,this.cancelTime=null,this.currentTime=0,this.playbackSpeed=1,this.pendingPlayState="running",this.state="idle";const{name:r,motionValue:i,keyframes:a}=this.options,o=(l,s)=>this.onKeyframesResolved(l,s);r&&i&&i.owner?this.resolver=i.owner.resolveKeyframes(a,o,r,i):this.resolver=new e(a,o,r,i),this.resolver.scheduleResolve()}initPlayback(e){const{type:n="keyframes",repeat:r=0,repeatDelay:i=0,repeatType:a,velocity:o=0}=this.options,l=fI[n]||uc;let s,u;l!==uc&&typeof e[0]!="number"&&(s=Tr(pI,bC(e[0],e[1])),e=[0,100]);const c=l({...this.options,keyframes:e});a==="mirror"&&(u=l({...this.options,keyframes:[...e].reverse(),velocity:-o})),c.calculatedDuration===null&&(c.calculatedDuration=cI(c));const{calculatedDuration:d}=c,f=d+i,p=f*(r+1)-i;return{generator:c,mirroredGenerator:u,mapPercentToKeyframes:s,calculatedDuration:d,resolvedDuration:f,totalDuration:p}}onPostResolved(){const{autoplay:e=!0}=this.options;this.play(),this.pendingPlayState==="paused"||!e?this.pause():this.state=this.pendingPlayState}tick(e,n=!1){const{resolved:r}=this;if(!r){const{keyframes:T}=this.options;return{done:!0,value:T[T.length-1]}}const{finalKeyframe:i,generator:a,mirroredGenerator:o,mapPercentToKeyframes:l,keyframes:s,calculatedDuration:u,totalDuration:c,resolvedDuration:d}=r;if(this.startTime===null)return a.next(0);const{delay:f,repeat:p,repeatType:w,repeatDelay:g,onUpdate:y}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-c/this.speed,this.startTime)),n?this.currentTime=e:this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=Math.round(e-this.startTime)*this.speed;const h=this.currentTime-f*(this.speed>=0?1:-1),v=this.speed>=0?h<0:h>c;this.currentTime=Math.max(h,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=c);let m=this.currentTime,b=a;if(p){const T=Math.min(this.currentTime,c)/d;let P=Math.floor(T),O=T%1;!O&&T>=1&&(O=1),O===1&&P--,P=Math.min(P,p+1),!!(P%2)&&(w==="reverse"?(O=1-O,g&&(O-=g/d)):w==="mirror"&&(b=o)),m=ci(0,1,O)*d}const E=v?{done:!1,value:s[0]}:b.next(m);l&&(E.value=l(E.value));let{done:x}=E;!v&&u!==null&&(x=this.speed>=0?this.currentTime>=c:this.currentTime<=0);const C=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&x);return C&&i!==void 0&&(E.value=Qc(s,this.options,i)),y&&y(E.value),C&&this.finish(),E}get duration(){const{resolved:e}=this;return e?kr(e.calculatedDuration):0}get time(){return kr(this.currentTime)}set time(e){e=Pr(e),this.currentTime=e,this.holdTime!==null||this.speed===0?this.holdTime=e:this.driver&&(this.startTime=this.driver.now()-e/this.speed)}get speed(){return this.playbackSpeed}set speed(e){const n=this.playbackSpeed!==e;this.playbackSpeed=e,n&&(this.time=kr(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;const{driver:e=dI,onPlay:n}=this.options;this.driver||(this.driver=e(i=>this.tick(i))),n&&n();const r=this.driver.now();this.holdTime!==null?this.startTime=r-this.holdTime:(!this.startTime||this.state==="finished")&&(this.startTime=r),this.state==="finished"&&this.updateFinishedPromise(),this.cancelTime=this.startTime,this.holdTime=null,this.state="running",this.driver.start()}pause(){var e;if(!this._resolved){this.pendingPlayState="paused";return}this.state="paused",this.holdTime=(e=this.currentTime)!==null&&e!==void 0?e:0}stop(){if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;this.teardown();const{onStop:e}=this.options;e&&e()}complete(){this.state!=="running"&&this.play(),this.pendingPlayState=this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";const{onComplete:e}=this.options;e&&e()}cancel(){this.cancelTime!==null&&this.tick(this.cancelTime),this.teardown(),this.updateFinishedPromise()}teardown(){this.state="idle",this.stopDriver(),this.resolveFinishedPromise(),this.updateFinishedPromise(),this.startTime=this.cancelTime=null,this.resolver.cancel()}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(e){return this.startTime=0,this.tick(e,!0)}}const xC=t=>Array.isArray(t)&&typeof t[0]=="number";function EC(t){return!!(!t||typeof t=="string"&&CC[t]||xC(t)||Array.isArray(t)&&t.every(EC))}const Wo=([t,e,n,r])=>`cubic-bezier(${t}, ${e}, ${n}, ${r})`,CC={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Wo([0,.65,.55,1]),circOut:Wo([.55,0,1,.45]),backIn:Wo([.31,.01,.66,-.59]),backOut:Wo([.33,1.53,.69,.99])};function TC(t){if(t)return xC(t)?Wo(t):Array.isArray(t)?t.map(TC):CC[t]}function hI(t,e,n,{delay:r=0,duration:i=300,repeat:a=0,repeatType:o="loop",ease:l,times:s}={}){const u={[e]:n};s&&(u.offset=s);const c=TC(l);return Array.isArray(c)&&(u.easing=c),t.animate(u,{delay:r,duration:i,easing:Array.isArray(c)?"linear":c,fill:"both",iterations:a+1,direction:o==="reverse"?"alternate":"normal"})}const mI=OR(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),gI=new Set(["opacity","clipPath","filter","transform"]),cc=10,vI=2e4;function yI(t){return t.type==="spring"||t.name==="backgroundColor"||!EC(t.ease)}function wI(t,e){const n=new ev({...e,keyframes:t,repeat:0,delay:0,isGenerator:!0});let r={done:!1,value:t[0]};const i=[];let a=0;for(;!r.done&&athis.onKeyframesResolved(a,o),n,r),this.resolver.scheduleResolve()}initPlayback(e,n){var r;let{duration:i=300,times:a,ease:o,type:l,motionValue:s,name:u}=this.options;if(!(!((r=s.owner)===null||r===void 0)&&r.current))return!1;if(yI(this.options)){const{onComplete:d,onUpdate:f,motionValue:p,...w}=this.options,g=wI(e,w);e=g.keyframes,e.length===1&&(e[1]=e[0]),i=g.duration,a=g.times,o=g.ease,l="keyframes"}const c=hI(s.owner.current,u,e,{...this.options,duration:i,times:a,ease:o});return c.startTime=ai.now(),this.pendingTimeline?(c.timeline=this.pendingTimeline,this.pendingTimeline=void 0):c.onfinish=()=>{const{onComplete:d}=this.options;s.set(Qc(e,this.options,n)),d&&d(),this.cancel(),this.resolveFinishedPromise()},{animation:c,duration:i,times:a,type:l,ease:o,keyframes:e}}get duration(){const{resolved:e}=this;if(!e)return 0;const{duration:n}=e;return kr(n)}get time(){const{resolved:e}=this;if(!e)return 0;const{animation:n}=e;return kr(n.currentTime||0)}set time(e){const{resolved:n}=this;if(!n)return;const{animation:r}=n;r.currentTime=Pr(e)}get speed(){const{resolved:e}=this;if(!e)return 1;const{animation:n}=e;return n.playbackRate}set speed(e){const{resolved:n}=this;if(!n)return;const{animation:r}=n;r.playbackRate=e}get state(){const{resolved:e}=this;if(!e)return"idle";const{animation:n}=e;return n.playState}attachTimeline(e){if(!this._resolved)this.pendingTimeline=e;else{const{resolved:n}=this;if(!n)return Pt;const{animation:r}=n;r.timeline=e,r.onfinish=null}return Pt}play(){if(this.isStopped)return;const{resolved:e}=this;if(!e)return;const{animation:n}=e;n.playState==="finished"&&this.updateFinishedPromise(),n.play()}pause(){const{resolved:e}=this;if(!e)return;const{animation:n}=e;n.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;const{resolved:e}=this;if(!e)return;const{animation:n,keyframes:r,duration:i,type:a,ease:o,times:l}=e;if(!(n.playState==="idle"||n.playState==="finished")){if(this.time){const{motionValue:s,onUpdate:u,onComplete:c,...d}=this.options,f=new ev({...d,keyframes:r,duration:i,type:a,ease:o,times:l,isGenerator:!0}),p=Pr(this.time);s.setWithVelocity(f.sample(p-cc).value,f.sample(p).value,cc)}this.cancel()}}complete(){const{resolved:e}=this;e&&e.animation.finish()}cancel(){const{resolved:e}=this;e&&e.animation.cancel()}static supports(e){const{motionValue:n,name:r,repeatDelay:i,repeatType:a,damping:o,type:l}=e;return mI()&&r&&gI.has(r)&&n&&n.owner&&n.owner.current instanceof HTMLElement&&!n.owner.getProps().onUpdate&&!i&&a!=="mirror"&&o!==0&&l!=="inertia"}}const tv=(t,e,n,r={},i,a)=>o=>{const l=qg(r,t)||{},s=l.delay||r.delay||0;let{elapsed:u=0}=r;u=u-Pr(s);let c={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:e.getVelocity(),...l,delay:-u,onUpdate:f=>{e.set(f),l.onUpdate&&l.onUpdate(f)},onComplete:()=>{o(),l.onComplete&&l.onComplete()},name:t,motionValue:e,element:a?void 0:i};iR(l)||(c={...c,...rR(t,c)}),c.duration&&(c.duration=Pr(c.duration)),c.repeatDelay&&(c.repeatDelay=Pr(c.repeatDelay)),c.from!==void 0&&(c.keyframes[0]=c.from);let d=!1;if(c.type===!1&&(c.duration=0,c.delay===0&&(d=!0)),d&&!a&&e.get()!==void 0){const f=Qc(c.keyframes,l);if(f!==void 0){mt.update(()=>{c.onUpdate(f),c.onComplete()});return}}return!a&&U0.supports(c)?new U0(c):new ev(c)};function dc(t){return!!(Et(t)&&t.add)}function nv(t,e){t.indexOf(e)===-1&&t.push(e)}function rv(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}function bI([...t],e,n){const r=e<0?t.length+e:e;if(r>=0&&rrv(this.subscriptions,e)}notify(e,n,r){const i=this.subscriptions.length;if(i)if(i===1)this.subscriptions[0](e,n,r);else for(let a=0;a!isNaN(parseFloat(t)),ds={current:void 0};class xI{constructor(e,n={}){this.version="11.0.24",this.canTrackVelocity=!1,this.events={},this.updateAndNotify=(r,i=!0)=>{const a=ai.now();this.updatedAt!==a&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(r),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),i&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.hasAnimated=!1,this.setCurrent(e),this.canTrackVelocity=SI(this.current),this.owner=n.owner}setCurrent(e){this.current=e,this.updatedAt=ai.now()}setPrevFrameValue(e=this.current){this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return this.on("change",e)}on(e,n){this.events[e]||(this.events[e]=new iv);const r=this.events[e].add(n);return e==="change"?()=>{r(),mt.read(()=>{this.events.change.getSize()||this.stop()})}:r}clearListeners(){for(const e in this.events)this.events[e].clear()}attach(e,n){this.passiveEffect=e,this.stopPassiveEffect=n}set(e,n=!0){!n||!this.passiveEffect?this.updateAndNotify(e,n):this.passiveEffect(e,this.updateAndNotify)}setWithVelocity(e,n,r){this.set(n),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-r}jump(e,n=!0){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,n&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return ds.current&&ds.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){const e=ai.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||e-this.updatedAt>W0)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,W0);return cC(parseFloat(this.current)-parseFloat(this.prevFrameValue),n)}start(e){return this.stop(),new Promise(n=>{this.hasAnimated=!0,this.animation=e(n),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function ro(t,e){return new xI(t,e)}function EI(t,e,n){t.hasValue(e)?t.getValue(e).set(n):t.addValue(e,ro(n))}function CI(t,e){const n=Yc(t,e);let{transitionEnd:r={},transition:i={},...a}=n||{};a={...a,...r};for(const o in a){const l=RL(a[o]);EI(t,o,l)}}function TI({protectedKeys:t,needsAnimating:e},n){const r=t.hasOwnProperty(n)&&e[n]!==!0;return e[n]=!1,r}function PC(t,e,{delay:n=0,transitionOverride:r,type:i}={}){var a;let{transition:o=t.getDefaultTransition(),transitionEnd:l,...s}=e;const u=t.getValue("willChange");r&&(o=r);const c=[],d=i&&t.animationState&&t.animationState.getState()[i];for(const f in s){const p=t.getValue(f,(a=t.latestValues[f])!==null&&a!==void 0?a:null),w=s[f];if(w===void 0||d&&TI(d,f))continue;const g={delay:n,elapsed:0,...qg(o||{},f)};let y=!1;if(window.HandoffAppearAnimations){const v=t.getProps()[TE];if(v){const m=window.HandoffAppearAnimations(v,f);m!==null&&(g.elapsed=m,y=!0)}}p.start(tv(f,p,w,t.shouldReduceMotion&&ta.has(f)?{type:!1}:g,t,y));const h=p.animation;h&&(dc(u)&&(u.add(f),h.then(()=>u.remove(f))),c.push(h))}return l&&Promise.all(c).then(()=>{mt.update(()=>{l&&CI(t,l)})}),c}function Lh(t,e,n={}){var r;const i=Yc(t,e,n.type==="exit"?(r=t.presenceContext)===null||r===void 0?void 0:r.custom:void 0);let{transition:a=t.getDefaultTransition()||{}}=i||{};n.transitionOverride&&(a=n.transitionOverride);const o=i?()=>Promise.all(PC(t,i,n)):()=>Promise.resolve(),l=t.variantChildren&&t.variantChildren.size?(u=0)=>{const{delayChildren:c=0,staggerChildren:d,staggerDirection:f}=a;return PI(t,e,c+u,d,f,n)}:()=>Promise.resolve(),{when:s}=a;if(s){const[u,c]=s==="beforeChildren"?[o,l]:[l,o];return u().then(()=>c())}else return Promise.all([o(),l(n.delay)])}function PI(t,e,n=0,r=0,i=1,a){const o=[],l=(t.variantChildren.size-1)*r,s=i===1?(u=0)=>u*r:(u=0)=>l-u*r;return Array.from(t.variantChildren).sort(kI).forEach((u,c)=>{u.notify("AnimationStart",e),o.push(Lh(u,e,{...a,delay:n+s(c)}).then(()=>u.notify("AnimationComplete",e)))}),Promise.all(o)}function kI(t,e){return t.sortNodePosition(e)}function MI(t,e,n={}){t.notify("AnimationStart",e);let r;if(Array.isArray(e)){const i=e.map(a=>Lh(t,a,n));r=Promise.all(i)}else if(typeof e=="string")r=Lh(t,e,n);else{const i=typeof e=="function"?Yc(t,e,n.custom):e;r=Promise.all(PC(t,i,n))}return r.then(()=>{mt.postRender(()=>{t.notify("AnimationComplete",e)})})}const OI=[...Ng].reverse(),AI=Ng.length;function LI(t){return e=>Promise.all(e.map(({animation:n,options:r})=>MI(t,n,r)))}function RI(t){let e=LI(t);const n=DI();let r=!0;const i=s=>(u,c)=>{var d;const f=Yc(t,c,s==="exit"?(d=t.presenceContext)===null||d===void 0?void 0:d.custom:void 0);if(f){const{transition:p,transitionEnd:w,...g}=f;u={...u,...g,...w}}return u};function a(s){e=s(t)}function o(s){const u=t.getProps(),c=t.getVariantContext(!0)||{},d=[],f=new Set;let p={},w=1/0;for(let y=0;yw&&b,P=!1;const O=Array.isArray(m)?m:[m];let I=O.reduce(i(h),{});E===!1&&(I={});const{prevResolvedValues:N={}}=v,A={...N,...I},M=R=>{T=!0,f.has(R)&&(P=!0,f.delete(R)),v.needsAnimating[R]=!0;const D=t.getValue(R);D&&(D.liveStyle=!1)};for(const R in A){const D=I[R],L=N[R];if(p.hasOwnProperty(R))continue;let k=!1;Eh(D)&&Eh(L)?k=!qE(D,L):k=D!==L,k?D!=null?M(R):f.add(R):D!==void 0&&f.has(R)?M(R):v.protectedKeys[R]=!0}v.prevProp=m,v.prevResolvedValues=I,v.isActive&&(p={...p,...I}),r&&t.blockInitialAnimation&&(T=!1),T&&(!x||P)&&d.push(...O.map(R=>({animation:R,options:{type:h}})))}if(f.size){const y={};f.forEach(h=>{const v=t.getBaseTarget(h),m=t.getValue(h);m&&(m.liveStyle=!0),y[h]=v===void 0?null:v}),d.push({animation:y})}let g=!!d.length;return r&&(u.initial===!1||u.initial===u.animate)&&!t.manuallyAnimateOnMount&&(g=!1),r=!1,g?e(d):Promise.resolve()}function l(s,u){var c;if(n[s].isActive===u)return Promise.resolve();(c=t.variantChildren)===null||c===void 0||c.forEach(f=>{var p;return(p=f.animationState)===null||p===void 0?void 0:p.setActive(s,u)}),n[s].isActive=u;const d=o(s);for(const f in n)n[f].protectedKeys={};return d}return{animateChanges:o,setActive:l,setAnimateFunction:a,getState:()=>n}}function II(t,e){return typeof e=="string"?e!==t:Array.isArray(e)?!qE(e,t):!1}function Ei(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function DI(){return{animate:Ei(!0),whileInView:Ei(),whileHover:Ei(),whileTap:Ei(),whileDrag:Ei(),whileFocus:Ei(),exit:Ei()}}class FI extends wi{constructor(e){super(e),e.animationState||(e.animationState=RI(e))}updateAnimationControlsSubscription(){const{animate:e}=this.node.getProps();this.unmount(),qc(e)&&(this.unmount=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:e}=this.node.getProps(),{animate:n}=this.node.prevProps||{};e!==n&&this.updateAnimationControlsSubscription()}unmount(){}}let NI=0;class _I extends wi{constructor(){super(...arguments),this.id=NI++}update(){if(!this.node.presenceContext)return;const{isPresent:e,onExitComplete:n}=this.node.presenceContext,{isPresent:r}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===r)return;const i=this.node.animationState.setActive("exit",!e);n&&!e&&i.then(()=>n(this.id))}mount(){const{register:e}=this.node.presenceContext||{};e&&(this.unmount=e(this.id))}unmount(){}}const VI={animation:{Feature:FI},exit:{Feature:_I}},G0=(t,e)=>Math.abs(t-e);function jI(t,e){const n=G0(t.x,e.x),r=G0(t.y,e.y);return Math.sqrt(n**2+r**2)}class kC{constructor(e,n,{transformPagePoint:r,contextWindow:i,dragSnapToOrigin:a=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const d=kf(this.lastMoveEventInfo,this.history),f=this.startEvent!==null,p=jI(d.offset,{x:0,y:0})>=3;if(!f&&!p)return;const{point:w}=d,{timestamp:g}=bt;this.history.push({...w,timestamp:g});const{onStart:y,onMove:h}=this.handlers;f||(y&&y(this.lastMoveEvent,d),this.startEvent=this.lastMoveEvent),h&&h(this.lastMoveEvent,d)},this.handlePointerMove=(d,f)=>{this.lastMoveEvent=d,this.lastMoveEventInfo=Pf(f,this.transformPagePoint),mt.update(this.updatePoint,!0)},this.handlePointerUp=(d,f)=>{this.end();const{onEnd:p,onSessionEnd:w,resumeAnimation:g}=this.handlers;if(this.dragSnapToOrigin&&g&&g(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const y=kf(d.type==="pointercancel"?this.lastMoveEventInfo:Pf(f,this.transformPagePoint),this.history);this.startEvent&&p&&p(d,y),w&&w(d,y)},!BE(e))return;this.dragSnapToOrigin=a,this.handlers=n,this.transformPagePoint=r,this.contextWindow=i||window;const o=Kc(e),l=Pf(o,this.transformPagePoint),{point:s}=l,{timestamp:u}=bt;this.history=[{...s,timestamp:u}];const{onSessionStart:c}=n;c&&c(e,kf(l,this.history)),this.removeListeners=Tr(Cr(this.contextWindow,"pointermove",this.handlePointerMove),Cr(this.contextWindow,"pointerup",this.handlePointerUp),Cr(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),Rr(this.updatePoint)}}function Pf(t,e){return e?{point:e(t.point)}:t}function q0(t,e){return{x:t.x-e.x,y:t.y-e.y}}function kf({point:t},e){return{point:t,delta:q0(t,MC(e)),offset:q0(t,$I(e)),velocity:zI(e,.1)}}function $I(t){return t[0]}function MC(t){return t[t.length-1]}function zI(t,e){if(t.length<2)return{x:0,y:0};let n=t.length-1,r=null;const i=MC(t);for(;n>=0&&(r=t[n],!(i.timestamp-r.timestamp>Pr(e)));)n--;if(!r)return{x:0,y:0};const a=kr(i.timestamp-r.timestamp);if(a===0)return{x:0,y:0};const o={x:(i.x-r.x)/a,y:(i.y-r.y)/a};return o.x===1/0&&(o.x=0),o.y===1/0&&(o.y=0),o}function wn(t){return t.max-t.min}function Rh(t,e=0,n=.01){return Math.abs(t-e)<=n}function X0(t,e,n,r=.5){t.origin=r,t.originPoint=$e(e.min,e.max,t.origin),t.scale=wn(n)/wn(e),(Rh(t.scale,1,1e-4)||isNaN(t.scale))&&(t.scale=1),t.translate=$e(n.min,n.max,t.origin)-t.originPoint,(Rh(t.translate)||isNaN(t.translate))&&(t.translate=0)}function fs(t,e,n,r){X0(t.x,e.x,n.x,r?r.originX:void 0),X0(t.y,e.y,n.y,r?r.originY:void 0)}function K0(t,e,n){t.min=n.min+e.min,t.max=t.min+wn(e)}function BI(t,e,n){K0(t.x,e.x,n.x),K0(t.y,e.y,n.y)}function Y0(t,e,n){t.min=e.min-n.min,t.max=t.min+wn(e)}function ps(t,e,n){Y0(t.x,e.x,n.x),Y0(t.y,e.y,n.y)}function HI(t,{min:e,max:n},r){return e!==void 0&&tn&&(t=r?$e(n,t,r.max):Math.min(t,n)),t}function Q0(t,e,n){return{min:e!==void 0?t.min+e:void 0,max:n!==void 0?t.max+n-(t.max-t.min):void 0}}function UI(t,{top:e,left:n,bottom:r,right:i}){return{x:Q0(t.x,n,i),y:Q0(t.y,e,r)}}function Z0(t,e){let n=e.min-t.min,r=e.max-t.max;return e.max-e.minr?n=zs(e.min,e.max-r,t.min):r>i&&(n=zs(t.min,t.max-i,e.min)),ci(0,1,n)}function qI(t,e){const n={};return e.min!==void 0&&(n.min=e.min-t.min),e.max!==void 0&&(n.max=e.max-t.min),n}const Ih=.35;function XI(t=Ih){return t===!1?t=0:t===!0&&(t=Ih),{x:J0(t,"left","right"),y:J0(t,"top","bottom")}}function J0(t,e,n){return{min:ew(t,e),max:ew(t,n)}}function ew(t,e){return typeof t=="number"?t:t[e]||0}const tw=()=>({translate:0,scale:1,origin:0,originPoint:0}),Ia=()=>({x:tw(),y:tw()}),nw=()=>({min:0,max:0}),Je=()=>({x:nw(),y:nw()});function Pn(t){return[t("x"),t("y")]}function OC({top:t,left:e,right:n,bottom:r}){return{x:{min:e,max:n},y:{min:t,max:r}}}function KI({x:t,y:e}){return{top:e.min,right:t.max,bottom:e.max,left:t.min}}function YI(t,e){if(!e)return t;const n=e({x:t.left,y:t.top}),r=e({x:t.right,y:t.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}function Mf(t){return t===void 0||t===1}function Dh({scale:t,scaleX:e,scaleY:n}){return!Mf(t)||!Mf(e)||!Mf(n)}function Pi(t){return Dh(t)||AC(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function AC(t){return rw(t.x)||rw(t.y)}function rw(t){return t&&t!=="0%"}function fc(t,e,n){const r=t-n,i=e*r;return n+i}function iw(t,e,n,r,i){return i!==void 0&&(t=fc(t,i,r)),fc(t,n,r)+e}function Fh(t,e=0,n=1,r,i){t.min=iw(t.min,e,n,r,i),t.max=iw(t.max,e,n,r,i)}function LC(t,{x:e,y:n}){Fh(t.x,e.translate,e.scale,e.originPoint),Fh(t.y,n.translate,n.scale,n.originPoint)}function QI(t,e,n,r=!1){const i=n.length;if(!i)return;e.x=e.y=1;let a,o;for(let l=0;l1.0000000000001||t<.999999999999?t:1}function Br(t,e){t.min=t.min+e,t.max=t.max+e}function ow(t,e,[n,r,i]){const a=e[i]!==void 0?e[i]:.5,o=$e(t.min,t.max,a);Fh(t,e[n],e[r],o,e.scale)}const ZI=["x","scaleX","originX"],JI=["y","scaleY","originY"];function Da(t,e){ow(t.x,e,ZI),ow(t.y,e,JI)}function RC(t,e){return OC(YI(t.getBoundingClientRect(),e))}function eD(t,e,n){const r=RC(t,n),{scroll:i}=e;return i&&(Br(r.x,i.offset.x),Br(r.y,i.offset.y)),r}const IC=({current:t})=>t?t.ownerDocument.defaultView:null,tD=new WeakMap;class nD{constructor(e){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=Je(),this.visualElement=e}start(e,{snapToCursor:n=!1}={}){const{presenceContext:r}=this.visualElement;if(r&&r.isPresent===!1)return;const i=c=>{const{dragSnapToOrigin:d}=this.getProps();d?this.pauseAnimation():this.stopAnimation(),n&&this.snapToCursor(Kc(c,"page").point)},a=(c,d)=>{const{drag:f,dragPropagation:p,onDragStart:w}=this.getProps();if(f&&!p&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=UE(f),!this.openGlobalLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Pn(y=>{let h=this.getAxisMotionValue(y).get()||0;if(cr.test(h)){const{projection:v}=this.visualElement;if(v&&v.layout){const m=v.layout.layoutBox[y];m&&(h=wn(m)*(parseFloat(h)/100))}}this.originPoint[y]=h}),w&&w(c,d);const{animationState:g}=this.visualElement;g&&g.setActive("whileDrag",!0)},o=(c,d)=>{const{dragPropagation:f,dragDirectionLock:p,onDirectionLock:w,onDrag:g}=this.getProps();if(!f&&!this.openGlobalLock)return;const{offset:y}=d;if(p&&this.currentDirection===null){this.currentDirection=rD(y),this.currentDirection!==null&&w&&w(this.currentDirection);return}this.updateAxis("x",d.point,y),this.updateAxis("y",d.point,y),this.visualElement.render(),g&&g(c,d)},l=(c,d)=>this.stop(c,d),s=()=>Pn(c=>{var d;return this.getAnimationState(c)==="paused"&&((d=this.getAxisMotionValue(c).animation)===null||d===void 0?void 0:d.play())}),{dragSnapToOrigin:u}=this.getProps();this.panSession=new kC(e,{onSessionStart:i,onStart:a,onMove:o,onSessionEnd:l,resumeAnimation:s},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:u,contextWindow:IC(this.visualElement)})}stop(e,n){const r=this.isDragging;if(this.cancel(),!r)return;const{velocity:i}=n;this.startAnimation(i);const{onDragEnd:a}=this.getProps();a&&a(e,n)}cancel(){this.isDragging=!1;const{projection:e,animationState:n}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:r}=this.getProps();!r&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),n&&n.setActive("whileDrag",!1)}updateAxis(e,n,r){const{drag:i}=this.getProps();if(!r||!Hl(e,i,this.currentDirection))return;const a=this.getAxisMotionValue(e);let o=this.originPoint[e]+r[e];this.constraints&&this.constraints[e]&&(o=HI(o,this.constraints[e],this.elastic[e])),a.set(o)}resolveConstraints(){var e;const{dragConstraints:n,dragElastic:r}=this.getProps(),i=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(e=this.visualElement.projection)===null||e===void 0?void 0:e.layout,a=this.constraints;n&&La(n)?this.constraints||(this.constraints=this.resolveRefConstraints()):n&&i?this.constraints=UI(i.layoutBox,n):this.constraints=!1,this.elastic=XI(r),a!==this.constraints&&i&&this.constraints&&!this.hasMutatedConstraints&&Pn(o=>{this.getAxisMotionValue(o)&&(this.constraints[o]=qI(i.layoutBox[o],this.constraints[o]))})}resolveRefConstraints(){const{dragConstraints:e,onMeasureDragConstraints:n}=this.getProps();if(!e||!La(e))return!1;const r=e.current,{projection:i}=this.visualElement;if(!i||!i.layout)return!1;const a=eD(r,i.root,this.visualElement.getTransformPagePoint());let o=WI(i.layout.layoutBox,a);if(n){const l=n(KI(o));this.hasMutatedConstraints=!!l,l&&(o=OC(l))}return o}startAnimation(e){const{drag:n,dragMomentum:r,dragElastic:i,dragTransition:a,dragSnapToOrigin:o,onDragTransitionEnd:l}=this.getProps(),s=this.constraints||{},u=Pn(c=>{if(!Hl(c,n,this.currentDirection))return;let d=s&&s[c]||{};o&&(d={min:0,max:0});const f=i?200:1e6,p=i?40:1e7,w={type:"inertia",velocity:r?e[c]:0,bounceStiffness:f,bounceDamping:p,timeConstant:750,restDelta:1,restSpeed:10,...a,...d};return this.startAxisValueAnimation(c,w)});return Promise.all(u).then(l)}startAxisValueAnimation(e,n){const r=this.getAxisMotionValue(e);return r.start(tv(e,r,0,n,this.visualElement))}stopAnimation(){Pn(e=>this.getAxisMotionValue(e).stop())}pauseAnimation(){Pn(e=>{var n;return(n=this.getAxisMotionValue(e).animation)===null||n===void 0?void 0:n.pause()})}getAnimationState(e){var n;return(n=this.getAxisMotionValue(e).animation)===null||n===void 0?void 0:n.state}getAxisMotionValue(e){const n="_drag"+e.toUpperCase(),r=this.visualElement.getProps(),i=r[n];return i||this.visualElement.getValue(e,(r.initial?r.initial[e]:void 0)||0)}snapToCursor(e){Pn(n=>{const{drag:r}=this.getProps();if(!Hl(n,r,this.currentDirection))return;const{projection:i}=this.visualElement,a=this.getAxisMotionValue(n);if(i&&i.layout){const{min:o,max:l}=i.layout.layoutBox[n];a.set(e[n]-$e(o,l,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:e,dragConstraints:n}=this.getProps(),{projection:r}=this.visualElement;if(!La(n)||!r||!this.constraints)return;this.stopAnimation();const i={x:0,y:0};Pn(o=>{const l=this.getAxisMotionValue(o);if(l){const s=l.get();i[o]=GI({min:s,max:s},this.constraints[o])}});const{transformTemplate:a}=this.visualElement.getProps();this.visualElement.current.style.transform=a?a({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.resolveConstraints(),Pn(o=>{if(!Hl(o,e,null))return;const l=this.getAxisMotionValue(o),{min:s,max:u}=this.constraints[o];l.set($e(s,u,i[o]))})}addListeners(){if(!this.visualElement.current)return;tD.set(this.visualElement,this);const e=this.visualElement.current,n=Cr(e,"pointerdown",s=>{const{drag:u,dragListener:c=!0}=this.getProps();u&&c&&this.start(s)}),r=()=>{const{dragConstraints:s}=this.getProps();La(s)&&(this.constraints=this.resolveRefConstraints())},{projection:i}=this.visualElement,a=i.addEventListener("measure",r);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),r();const o=Sr(window,"resize",()=>this.scalePositionWithinConstraints()),l=i.addEventListener("didUpdate",({delta:s,hasLayoutChanged:u})=>{this.isDragging&&u&&(Pn(c=>{const d=this.getAxisMotionValue(c);d&&(this.originPoint[c]+=s[c].translate,d.set(d.get()+s[c].translate))}),this.visualElement.render())});return()=>{o(),n(),a(),l&&l()}}getProps(){const e=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:r=!1,dragPropagation:i=!1,dragConstraints:a=!1,dragElastic:o=Ih,dragMomentum:l=!0}=e;return{...e,drag:n,dragDirectionLock:r,dragPropagation:i,dragConstraints:a,dragElastic:o,dragMomentum:l}}}function Hl(t,e,n){return(e===!0||e===t)&&(n===null||n===t)}function rD(t,e=10){let n=null;return Math.abs(t.y)>e?n="y":Math.abs(t.x)>e&&(n="x"),n}class iD extends wi{constructor(e){super(e),this.removeGroupControls=Pt,this.removeListeners=Pt,this.controls=new nD(e)}mount(){const{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Pt}unmount(){this.removeGroupControls(),this.removeListeners()}}const sw=t=>(e,n)=>{t&&t(e,n)};class aD extends wi{constructor(){super(...arguments),this.removePointerDownListener=Pt}onPointerDown(e){this.session=new kC(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:IC(this.node)})}createPanHandlers(){const{onPanSessionStart:e,onPanStart:n,onPan:r,onPanEnd:i}=this.node.getProps();return{onSessionStart:sw(e),onStart:sw(n),onMove:r,onEnd:(a,o)=>{delete this.session,i&&i(a,o)}}}mount(){this.removePointerDownListener=Cr(this.node.current,"pointerdown",e=>this.onPointerDown(e))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}function oD(){const t=S.useContext(Rg);if(t===null)return[!0,null];const{isPresent:e,onExitComplete:n,register:r}=t,i=S.useId();return S.useEffect(()=>r(i),[]),!e&&n?[!1,()=>n&&n(i)]:[!0]}const wu={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function lw(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}const Fo={correct:(t,e)=>{if(!e.target)return t;if(typeof t=="string")if(ue.test(t))t=parseFloat(t);else return t;const n=lw(t,e.target.x),r=lw(t,e.target.y);return`${n}% ${r}%`}},sD={correct:(t,{treeScale:e,projectionDelta:n})=>{const r=t,i=di.parse(t);if(i.length>5)return r;const a=di.createTransformer(t),o=typeof i[0]!="number"?1:0,l=n.x.scale*e.x,s=n.y.scale*e.y;i[0+o]/=l,i[1+o]/=s;const u=$e(l,s,.5);return typeof i[2+o]=="number"&&(i[2+o]/=u),typeof i[3+o]=="number"&&(i[3+o]/=u),a(i)}};class lD extends Xe.Component{componentDidMount(){const{visualElement:e,layoutGroup:n,switchLayoutGroup:r,layoutId:i}=this.props,{projection:a}=e;lL(uD),a&&(n.group&&n.group.add(a),r&&r.register&&i&&r.register(a),a.root.didUpdate(),a.addEventListener("animationComplete",()=>{this.safeToRemove()}),a.setOptions({...a.options,onExitComplete:()=>this.safeToRemove()})),wu.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){const{layoutDependency:n,visualElement:r,drag:i,isPresent:a}=this.props,o=r.projection;return o&&(o.isPresent=a,i||e.layoutDependency!==n||n===void 0?o.willUpdate():this.safeToRemove(),e.isPresent!==a&&(a?o.promote():o.relegate()||mt.postRender(()=>{const l=o.getStack();(!l||!l.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:e}=this.props.visualElement;e&&(e.root.didUpdate(),Fg.postRender(()=>{!e.currentAnimation&&e.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:e,layoutGroup:n,switchLayoutGroup:r}=this.props,{projection:i}=e;i&&(i.scheduleCheckAfterUnmount(),n&&n.group&&n.group.remove(i),r&&r.deregister&&r.deregister(i))}safeToRemove(){const{safeToRemove:e}=this.props;e&&e()}render(){return null}}function DC(t){const[e,n]=oD(),r=S.useContext(ME);return Xe.createElement(lD,{...t,layoutGroup:r,switchLayoutGroup:S.useContext(OE),isPresent:e,safeToRemove:n})}const uD={borderRadius:{...Fo,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Fo,borderTopRightRadius:Fo,borderBottomLeftRadius:Fo,borderBottomRightRadius:Fo,boxShadow:sD},FC=["TopLeft","TopRight","BottomLeft","BottomRight"],cD=FC.length,uw=t=>typeof t=="string"?parseFloat(t):t,cw=t=>typeof t=="number"||ue.test(t);function dD(t,e,n,r,i,a){i?(t.opacity=$e(0,n.opacity!==void 0?n.opacity:1,fD(r)),t.opacityExit=$e(e.opacity!==void 0?e.opacity:1,0,pD(r))):a&&(t.opacity=$e(e.opacity!==void 0?e.opacity:1,n.opacity!==void 0?n.opacity:1,r));for(let o=0;ore?1:n(zs(t,e,r))}function fw(t,e){t.min=e.min,t.max=e.max}function Cn(t,e){fw(t.x,e.x),fw(t.y,e.y)}function pw(t,e,n,r,i){return t-=e,t=fc(t,1/n,r),i!==void 0&&(t=fc(t,1/i,r)),t}function hD(t,e=0,n=1,r=.5,i,a=t,o=t){if(cr.test(e)&&(e=parseFloat(e),e=$e(o.min,o.max,e/100)-o.min),typeof e!="number")return;let l=$e(a.min,a.max,r);t===a&&(l-=e),t.min=pw(t.min,e,n,l,i),t.max=pw(t.max,e,n,l,i)}function hw(t,e,[n,r,i],a,o){hD(t,e[n],e[r],e[i],e.scale,a,o)}const mD=["x","scaleX","originX"],gD=["y","scaleY","originY"];function mw(t,e,n,r){hw(t.x,e,mD,n?n.x:void 0,r?r.x:void 0),hw(t.y,e,gD,n?n.y:void 0,r?r.y:void 0)}function gw(t){return t.translate===0&&t.scale===1}function _C(t){return gw(t.x)&&gw(t.y)}function vD(t,e){return t.x.min===e.x.min&&t.x.max===e.x.max&&t.y.min===e.y.min&&t.y.max===e.y.max}function VC(t,e){return Math.round(t.x.min)===Math.round(e.x.min)&&Math.round(t.x.max)===Math.round(e.x.max)&&Math.round(t.y.min)===Math.round(e.y.min)&&Math.round(t.y.max)===Math.round(e.y.max)}function vw(t){return wn(t.x)/wn(t.y)}class yD{constructor(){this.members=[]}add(e){nv(this.members,e),e.scheduleRender()}remove(e){if(rv(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){const n=this.members[this.members.length-1];n&&this.promote(n)}}relegate(e){const n=this.members.findIndex(i=>e===i);if(n===0)return!1;let r;for(let i=n;i>=0;i--){const a=this.members[i];if(a.isPresent!==!1){r=a;break}}return r?(this.promote(r),!0):!1}promote(e,n){const r=this.lead;if(e!==r&&(this.prevLead=r,this.lead=e,e.show(),r)){r.instance&&r.scheduleRender(),e.scheduleRender(),e.resumeFrom=r,n&&(e.resumeFrom.preserveOpacity=!0),r.snapshot&&(e.snapshot=r.snapshot,e.snapshot.latestValues=r.animationValues||r.latestValues),e.root&&e.root.isUpdating&&(e.isLayoutDirty=!0);const{crossfade:i}=e.options;i===!1&&r.hide()}}exitAnimationComplete(){this.members.forEach(e=>{const{options:n,resumingFrom:r}=e;n.onExitComplete&&n.onExitComplete(),r&&r.options.onExitComplete&&r.options.onExitComplete()})}scheduleRender(){this.members.forEach(e=>{e.instance&&e.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function yw(t,e,n){let r="";const i=t.x.translate/e.x,a=t.y.translate/e.y,o=(n==null?void 0:n.z)||0;if((i||a||o)&&(r=`translate3d(${i}px, ${a}px, ${o}px) `),(e.x!==1||e.y!==1)&&(r+=`scale(${1/e.x}, ${1/e.y}) `),n){const{rotate:u,rotateX:c,rotateY:d,skewX:f,skewY:p}=n;u&&(r+=`rotate(${u}deg) `),c&&(r+=`rotateX(${c}deg) `),d&&(r+=`rotateY(${d}deg) `),f&&(r+=`skewX(${f}deg) `),p&&(r+=`skewY(${p}deg) `)}const l=t.x.scale*e.x,s=t.y.scale*e.y;return(l!==1||s!==1)&&(r+=`scale(${l}, ${s})`),r||"none"}const wD=(t,e)=>t.depth-e.depth;class bD{constructor(){this.children=[],this.isDirty=!1}add(e){nv(this.children,e),this.isDirty=!0}remove(e){rv(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(wD),this.isDirty=!1,this.children.forEach(e)}}function SD(t,e){const n=ai.now(),r=({timestamp:i})=>{const a=i-n;a>=e&&(Rr(r),t(a-e))};return mt.read(r,!0),()=>Rr(r)}function xD(t){window.MotionDebug&&window.MotionDebug.record(t)}function ED(t){return t instanceof SVGElement&&t.tagName!=="svg"}function CD(t,e,n){const r=Et(t)?t:ro(t);return r.start(tv("",r,e,n)),r.animation}const Of=["","X","Y","Z"],TD={visibility:"hidden"},ww=1e3;let PD=0;const ki={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0};function Af(t,e,n,r){const{latestValues:i}=e;i[t]&&(n[t]=i[t],e.setStaticValue(t,0),r&&(r[t]=0))}function jC({attachResizeListener:t,defaultParent:e,measureScroll:n,checkIsScrollRoot:r,resetTransform:i}){return class{constructor(o={},l=e==null?void 0:e()){this.id=PD++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,ki.totalNodes=ki.resolvedTargetDeltas=ki.recalculatedProjection=0,this.nodes.forEach(OD),this.nodes.forEach(DD),this.nodes.forEach(FD),this.nodes.forEach(AD),xD(ki)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=o,this.root=l?l.root||l:this,this.path=l?[...l.path,l]:[],this.parent=l,this.depth=l?l.depth+1:0;for(let s=0;sthis.root.updateBlockedByResize=!1;t(o,()=>{this.root.updateBlockedByResize=!0,d&&d(),d=SD(f,250),wu.hasAnimatedSinceResize&&(wu.hasAnimatedSinceResize=!1,this.nodes.forEach(Sw))})}s&&this.root.registerSharedNode(s,this),this.options.animate!==!1&&c&&(s||u)&&this.addEventListener("didUpdate",({delta:d,hasLayoutChanged:f,hasRelativeTargetChanged:p,layout:w})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const g=this.options.transition||c.getDefaultTransition()||$D,{onLayoutAnimationStart:y,onLayoutAnimationComplete:h}=c.getProps(),v=!this.targetLayout||!VC(this.targetLayout,w)||p,m=!f&&p;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||m||f&&(v||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(d,m);const b={...qg(g,"layout"),onPlay:y,onComplete:h};(c.shouldReduceMotion||this.options.layoutRoot)&&(b.delay=0,b.type=!1),this.startAnimation(b)}else f||Sw(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=w})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const o=this.getStack();o&&o.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,Rr(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(ND),this.animationId++)}getTransformTemplate(){const{visualElement:o}=this.options;return o&&o.getProps().transformTemplate}willUpdate(o=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let c=0;cthis.update()))}clearAllSnapshots(){this.nodes.forEach(LD),this.sharedNodes.forEach(_D)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,mt.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){mt.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure())}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let s=0;s{const E=b/1e3;xw(d.x,o.x,E),xw(d.y,o.y,E),this.setTargetDelta(d),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(ps(f,this.layout.layoutBox,this.relativeParent.layout.layoutBox),VD(this.relativeTarget,this.relativeTargetOrigin,f,E),m&&vD(this.relativeTarget,m)&&(this.isProjectionDirty=!1),m||(m=Je()),Cn(m,this.relativeTarget)),g&&(this.animationValues=c,dD(c,u,this.latestValues,E,v,h)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=E},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(o){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(Rr(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=mt.update(()=>{wu.hasAnimatedSinceResize=!0,this.currentAnimation=CD(0,ww,{...o,onUpdate:l=>{this.mixTargetDelta(l),o.onUpdate&&o.onUpdate(l)},onComplete:()=>{o.onComplete&&o.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const o=this.getStack();o&&o.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(ww),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const o=this.getLead();let{targetWithTransforms:l,target:s,layout:u,latestValues:c}=o;if(!(!l||!s||!u)){if(this!==o&&this.layout&&u&&$C(this.options.animationType,this.layout.layoutBox,u.layoutBox)){s=this.target||Je();const d=wn(this.layout.layoutBox.x);s.x.min=o.target.x.min,s.x.max=s.x.min+d;const f=wn(this.layout.layoutBox.y);s.y.min=o.target.y.min,s.y.max=s.y.min+f}Cn(l,s),Da(l,c),fs(this.projectionDeltaWithTransform,this.layoutCorrected,l,c)}}registerSharedNode(o,l){this.sharedNodes.has(o)||this.sharedNodes.set(o,new yD),this.sharedNodes.get(o).add(l);const u=l.options.initialPromotionConfig;l.promote({transition:u?u.transition:void 0,preserveFollowOpacity:u&&u.shouldPreserveFollowOpacity?u.shouldPreserveFollowOpacity(l):void 0})}isLead(){const o=this.getStack();return o?o.lead===this:!0}getLead(){var o;const{layoutId:l}=this.options;return l?((o=this.getStack())===null||o===void 0?void 0:o.lead)||this:this}getPrevLead(){var o;const{layoutId:l}=this.options;return l?(o=this.getStack())===null||o===void 0?void 0:o.prevLead:void 0}getStack(){const{layoutId:o}=this.options;if(o)return this.root.sharedNodes.get(o)}promote({needsReset:o,transition:l,preserveFollowOpacity:s}={}){const u=this.getStack();u&&u.promote(this,s),o&&(this.projectionDelta=void 0,this.needsReset=!0),l&&this.setOptions({transition:l})}relegate(){const o=this.getStack();return o?o.relegate(this):!1}resetSkewAndRotation(){const{visualElement:o}=this.options;if(!o)return;let l=!1;const{latestValues:s}=o;if((s.z||s.rotate||s.rotateX||s.rotateY||s.rotateZ||s.skewX||s.skewY)&&(l=!0),!l)return;const u={};s.z&&Af("z",o,u,this.animationValues);for(let c=0;c{var l;return(l=o.currentAnimation)===null||l===void 0?void 0:l.stop()}),this.root.nodes.forEach(bw),this.root.sharedNodes.clear()}}}function kD(t){t.updateLayout()}function MD(t){var e;const n=((e=t.resumeFrom)===null||e===void 0?void 0:e.snapshot)||t.snapshot;if(t.isLead()&&t.layout&&n&&t.hasListeners("didUpdate")){const{layoutBox:r,measuredBox:i}=t.layout,{animationType:a}=t.options,o=n.source!==t.layout.source;a==="size"?Pn(d=>{const f=o?n.measuredBox[d]:n.layoutBox[d],p=wn(f);f.min=r[d].min,f.max=f.min+p}):$C(a,n.layoutBox,r)&&Pn(d=>{const f=o?n.measuredBox[d]:n.layoutBox[d],p=wn(r[d]);f.max=f.min+p,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[d].max=t.relativeTarget[d].min+p)});const l=Ia();fs(l,r,n.layoutBox);const s=Ia();o?fs(s,t.applyTransform(i,!0),n.measuredBox):fs(s,r,n.layoutBox);const u=!_C(l);let c=!1;if(!t.resumeFrom){const d=t.getClosestProjectingParent();if(d&&!d.resumeFrom){const{snapshot:f,layout:p}=d;if(f&&p){const w=Je();ps(w,n.layoutBox,f.layoutBox);const g=Je();ps(g,r,p.layoutBox),VC(w,g)||(c=!0),d.options.layoutRoot&&(t.relativeTarget=g,t.relativeTargetOrigin=w,t.relativeParent=d)}}}t.notifyListeners("didUpdate",{layout:r,snapshot:n,delta:s,layoutDelta:l,hasLayoutChanged:u,hasRelativeTargetChanged:c})}else if(t.isLead()){const{onExitComplete:r}=t.options;r&&r()}t.options.transition=void 0}function OD(t){ki.totalNodes++,t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=!!(t.isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function AD(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function LD(t){t.clearSnapshot()}function bw(t){t.clearMeasurements()}function RD(t){t.isLayoutDirty=!1}function ID(t){const{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function Sw(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function DD(t){t.resolveTargetDelta()}function FD(t){t.calcProjection()}function ND(t){t.resetSkewAndRotation()}function _D(t){t.removeLeadSnapshot()}function xw(t,e,n){t.translate=$e(e.translate,0,n),t.scale=$e(e.scale,1,n),t.origin=e.origin,t.originPoint=e.originPoint}function Ew(t,e,n,r){t.min=$e(e.min,n.min,r),t.max=$e(e.max,n.max,r)}function VD(t,e,n,r){Ew(t.x,e.x,n.x,r),Ew(t.y,e.y,n.y,r)}function jD(t){return t.animationValues&&t.animationValues.opacityExit!==void 0}const $D={duration:.45,ease:[.4,0,.1,1]},Cw=t=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),Tw=Cw("applewebkit/")&&!Cw("chrome/")?Math.round:Pt;function Pw(t){t.min=Tw(t.min),t.max=Tw(t.max)}function zD(t){Pw(t.x),Pw(t.y)}function $C(t,e,n){return t==="position"||t==="preserve-aspect"&&!Rh(vw(e),vw(n),.2)}const BD=jC({attachResizeListener:(t,e)=>Sr(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),Lf={current:void 0},zC=jC({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!Lf.current){const t=new BD({});t.mount(window),t.setOptions({layoutScroll:!0}),Lf.current=t}return Lf.current},resetTransform:(t,e)=>{t.style.transform=e!==void 0?e:"none"},checkIsScrollRoot:t=>window.getComputedStyle(t).position==="fixed"}),HD={pan:{Feature:aD},drag:{Feature:iD,ProjectionNode:zC,MeasureLayout:DC}},Nh={current:null},BC={current:!1};function UD(){if(BC.current=!0,!!Ig)if(window.matchMedia){const t=window.matchMedia("(prefers-reduced-motion)"),e=()=>Nh.current=t.matches;t.addListener(e),e()}else Nh.current=!1}function WD(t,e,n){const{willChange:r}=e;for(const i in e){const a=e[i],o=n[i];if(Et(a))t.addValue(i,a),dc(r)&&r.add(i);else if(Et(o))t.addValue(i,ro(a,{owner:t})),dc(r)&&r.remove(i);else if(o!==a)if(t.hasValue(i)){const l=t.getValue(i);l.liveStyle===!0?l.jump(a):l.hasAnimated||l.set(a)}else{const l=t.getStaticValue(i);t.addValue(i,ro(l!==void 0?l:a,{owner:t}))}}for(const i in n)e[i]===void 0&&t.removeValue(i);return e}const kw=new WeakMap,GD=[...JE,Ft,di],qD=t=>GD.find(ZE(t)),HC=Object.keys($s),XD=HC.length,Mw=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],KD=_g.length;class YD{constructor({parent:e,props:n,presenceContext:r,reducedMotionConfig:i,blockInitialAnimation:a,visualState:o},l={}){this.resolveKeyframes=(f,p,w,g)=>new this.KeyframeResolver(f,p,w,g,this),this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=Xg,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.scheduleRender=()=>mt.render(this.render,!1,!0);const{latestValues:s,renderState:u}=o;this.latestValues=s,this.baseTarget={...s},this.initialValues=n.initial?{...s}:{},this.renderState=u,this.parent=e,this.props=n,this.presenceContext=r,this.depth=e?e.depth+1:0,this.reducedMotionConfig=i,this.options=l,this.blockInitialAnimation=!!a,this.isControllingVariants=Xc(n),this.isVariantNode=kE(n),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(e&&e.current);const{willChange:c,...d}=this.scrapeMotionValuesFromProps(n,{},this);for(const f in d){const p=d[f];s[f]!==void 0&&Et(p)&&(p.set(s[f],!1),dc(c)&&c.add(f))}}scrapeMotionValuesFromProps(e,n,r){return{}}mount(e){this.current=e,kw.set(e,this),this.projection&&!this.projection.instance&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((n,r)=>this.bindToMotionValue(r,n)),BC.current||UD(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:Nh.current,this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){kw.delete(this.current),this.projection&&this.projection.unmount(),Rr(this.notifyUpdate),Rr(this.render),this.valueSubscriptions.forEach(e=>e()),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const e in this.events)this.events[e].clear();for(const e in this.features)this.features[e].unmount();this.current=null}bindToMotionValue(e,n){const r=ta.has(e),i=n.on("change",o=>{this.latestValues[e]=o,this.props.onUpdate&&mt.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0)}),a=n.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(e,()=>{i(),a(),n.owner&&n.stop()})}sortNodePosition(e){return!this.current||!this.sortInstanceNodePosition||this.type!==e.type?0:this.sortInstanceNodePosition(this.current,e.current)}loadFeatures({children:e,...n},r,i,a){let o,l;for(let s=0;sthis.scheduleRender(),animationType:typeof u=="string"?u:"both",initialPromotionConfig:a,layoutScroll:f,layoutRoot:p})}return l}updateFeatures(){for(const e in this.features){const n=this.features[e];n.isMounted?n.update():(n.mount(),n.isMounted=!0)}}triggerBuild(){this.build(this.renderState,this.latestValues,this.options,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):Je()}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,n){this.latestValues[e]=n}update(e,n){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=n;for(let r=0;rn.variantChildren.delete(e)}addValue(e,n){n!==this.values.get(e)&&(this.removeValue(e),this.bindToMotionValue(e,n)),this.values.set(e,n),this.latestValues[e]=n.get()}removeValue(e){this.values.delete(e);const n=this.valueSubscriptions.get(e);n&&(n(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,n){if(this.props.values&&this.props.values[e])return this.props.values[e];let r=this.values.get(e);return r===void 0&&n!==void 0&&(r=ro(n===null?void 0:n,{owner:this}),this.addValue(e,r)),r}readValue(e,n){var r;let i=this.latestValues[e]!==void 0||!this.current?this.latestValues[e]:(r=this.getBaseTargetFromProps(this.props,e))!==null&&r!==void 0?r:this.readValueFromInstance(this.current,e,this.options);return i!=null&&(typeof i=="string"&&(YE(i)||XE(i))?i=parseFloat(i):!qD(i)&&di.test(n)&&(i=sC(e,n)),this.setBaseTarget(e,Et(i)?i.get():i)),Et(i)?i.get():i}setBaseTarget(e,n){this.baseTarget[e]=n}getBaseTarget(e){var n,r;const{initial:i}=this.props,a=typeof i=="string"||typeof i=="object"?(r=Gg(this.props,i,(n=this.presenceContext)===null||n===void 0?void 0:n.custom))===null||r===void 0?void 0:r[e]:void 0;if(i&&a!==void 0)return a;const o=this.getBaseTargetFromProps(this.props,e);return o!==void 0&&!Et(o)?o:this.initialValues[e]!==void 0&&a===void 0?void 0:this.baseTarget[e]}on(e,n){return this.events[e]||(this.events[e]=new iv),this.events[e].add(n)}notify(e,...n){this.events[e]&&this.events[e].notify(...n)}}class UC extends YD{constructor(){super(...arguments),this.KeyframeResolver=lC}sortInstanceNodePosition(e,n){return e.compareDocumentPosition(n)&2?1:-1}getBaseTargetFromProps(e,n){return e.style?e.style[n]:void 0}removeValueFromRenderState(e,{vars:n,style:r}){delete n[e],delete r[e]}}function QD(t){return window.getComputedStyle(t)}class ZD extends UC{constructor(){super(...arguments),this.type="html"}readValueFromInstance(e,n){if(ta.has(n)){const r=Yg(n);return r&&r.default||0}else{const r=QD(e),i=(RE(n)?r.getPropertyValue(n):r[n])||0;return typeof i=="string"?i.trim():i}}measureInstanceViewportBox(e,{transformPagePoint:n}){return RC(e,n)}build(e,n,r,i){zg(e,n,r,i.transformTemplate)}scrapeMotionValuesFromProps(e,n,r){return Wg(e,n,r)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:e}=this.props;Et(e)&&(this.childSubscription=e.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}renderInstance(e,n,r,i){_E(e,n,r,i)}}class JD extends UC{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1}getBaseTargetFromProps(e,n){return e[n]}readValueFromInstance(e,n){if(ta.has(n)){const r=Yg(n);return r&&r.default||0}return n=VE.has(n)?n:Dg(n),e.getAttribute(n)}measureInstanceViewportBox(){return Je()}scrapeMotionValuesFromProps(e,n){return $E(e,n,this)}build(e,n,r,i){Hg(e,n,r,this.isSVGTag,i.transformTemplate)}renderInstance(e,n,r,i){jE(e,n,r,i)}mount(e){this.isSVGTag=Ug(e.tagName),super.mount(e)}}const eF=(t,e)=>Vg(t)?new JD(e,{enableHardwareAcceleration:!1}):new ZD(e,{enableHardwareAcceleration:!0}),tF={layout:{ProjectionNode:zC,MeasureLayout:DC}},nF={...VI,...YL,...HD,...tF},WC=oL((t,e)=>_L(t,e,nF,eF)),GC=S.createContext(null);function rF(t,e,n,r){if(!r)return t;const i=t.findIndex(c=>c.value===e);if(i===-1)return t;const a=r>0?1:-1,o=t[i+a];if(!o)return t;const l=t[i],s=o.layout,u=$e(s.min,s.max,.5);return a===1&&l.layout.max+n>u||a===-1&&l.layout.min+nWC(e)),s=[],u=S.useRef(!1),c={axis:n,registerItem:(d,f)=>{const p=s.findIndex(w=>d===w.value);p!==-1?s[p].layout=f[n]:s.push({value:d,layout:f[n]}),s.sort(sF)},updateOrder:(d,f,p)=>{if(u.current)return;const w=rF(s,d,f,p);s!==w&&(u.current=!0,r(w.map(oF).filter(g=>i.indexOf(g)!==-1)))}};return S.useEffect(()=>{u.current=!1}),S.createElement(l,{...a,ref:o,ignoreStrict:!0},S.createElement(GC.Provider,{value:c},t))}const aF=S.forwardRef(iF);function oF(t){return t.value}function sF(t,e){return t.layout.min-e.layout.min}function qC(t){const e=ll(()=>ro(t)),{isStatic:n}=S.useContext(Lg);if(n){const[,r]=S.useState(t);S.useEffect(()=>e.on("change",r),[])}return e}const lF=t=>t&&typeof t=="object"&&t.mix,uF=t=>lF(t)?t.mix:void 0;function cF(...t){const e=!Array.isArray(t[0]),n=e?0:-1,r=t[0+n],i=t[1+n],a=t[2+n],o=t[3+n],l=SC(i,a,{mixer:uF(a[0]),...o});return e?l(r):l}function XC(t,e){const n=qC(e()),r=()=>n.set(e());return r(),EE(()=>{const i=()=>mt.update(r,!1,!0),a=t.map(o=>o.on("change",i));return()=>{a.forEach(o=>o()),Rr(r)}}),n}function dF(t){ds.current=[],t();const e=XC(ds.current,t);return ds.current=void 0,e}function fF(t,e,n,r){if(typeof t=="function")return dF(t);const i=typeof e=="function"?e:cF(e,n,r);return Array.isArray(t)?Ow(t,i):Ow([t],([a])=>i(a))}function Ow(t,e){const n=ll(()=>[]);return XC(t,()=>{n.length=0;const r=t.length;for(let i=0;iWC(r)),u=S.useContext(GC),c={x:Aw(e.x),y:Aw(e.y)},d=fF([c.x,c.y],([g,y])=>g||y?1:"unset"),{axis:f,registerItem:p,updateOrder:w}=u;return S.createElement(s,{drag:f,...o,dragSnapToOrigin:!0,style:{...e,x:c.x,y:c.y,zIndex:d},layout:a,onDrag:(g,y)=>{const{velocity:h}=y;h[f]&&w(n,c[f].get(),h[f]),i&&i(g,y)},onLayoutMeasure:g=>p(n,g),ref:l,ignoreStrict:!0},t)}const hF=S.forwardRef(pF),Lw={Group:aF,Item:hF},mF="_heading_8v9q8_1",gF="_maintainerContainer_8v9q8_6",vF="_contributor_8v9q8_10",yF="_contributionContainer_8v9q8_15",Go={heading:mF,maintainerContainer:gF,contributor:vF,contributionContainer:yF};function Rf({username:t,avatar:e}){return V.jsx("a",{href:`https://github.com/${t}`,title:t,className:Go.contributor,target:"_blank",rel:"noreferrer",children:V.jsx("img",{src:`https://avatars.githubusercontent.com/u/${e}`,alt:t,loading:"lazy"})})}const wF=[{username:"sadanandpai",avatar:"12962887"},{username:"arpansaha13",avatar:"82361490"}];var av={exports:{}},KC=function(e,n){return function(){for(var i=new Array(arguments.length),a=0;a"u"}function SF(t){return t!==null&&!_h(t)&&t.constructor!==null&&!_h(t.constructor)&&typeof t.constructor.isBuffer=="function"&&t.constructor.isBuffer(t)}function xF(t){return na.call(t)==="[object ArrayBuffer]"}function EF(t){return typeof FormData<"u"&&t instanceof FormData}function CF(t){var e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?e=ArrayBuffer.isView(t):e=t&&t.buffer&&t.buffer instanceof ArrayBuffer,e}function TF(t){return typeof t=="string"}function PF(t){return typeof t=="number"}function YC(t){return t!==null&&typeof t=="object"}function bu(t){if(na.call(t)!=="[object Object]")return!1;var e=Object.getPrototypeOf(t);return e===null||e===Object.prototype}function kF(t){return na.call(t)==="[object Date]"}function MF(t){return na.call(t)==="[object File]"}function OF(t){return na.call(t)==="[object Blob]"}function QC(t){return na.call(t)==="[object Function]"}function AF(t){return YC(t)&&QC(t.pipe)}function LF(t){return typeof URLSearchParams<"u"&&t instanceof URLSearchParams}function RF(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}function IF(){return typeof navigator<"u"&&(navigator.product==="ReactNative"||navigator.product==="NativeScript"||navigator.product==="NS")?!1:typeof window<"u"&&typeof document<"u"}function sv(t,e){if(!(t===null||typeof t>"u"))if(typeof t!="object"&&(t=[t]),ov(t))for(var n=0,r=t.length;n"u"||(da.isArray(s)?u=u+"[]":s=[s],da.forEach(s,function(d){da.isDate(d)?d=d.toISOString():da.isObject(d)&&(d=JSON.stringify(d)),a.push(Rw(u)+"="+Rw(d))}))}),i=a.join("&")}if(i){var o=e.indexOf("#");o!==-1&&(e=e.slice(0,o)),e+=(e.indexOf("?")===-1?"?":"&")+i}return e},NF=xn;function Zc(){this.handlers=[]}Zc.prototype.use=function(e,n,r){return this.handlers.push({fulfilled:e,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1};Zc.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)};Zc.prototype.forEach=function(e){NF.forEach(this.handlers,function(r){r!==null&&e(r)})};var _F=Zc,VF=xn,jF=function(e,n){VF.forEach(e,function(i,a){a!==n&&a.toUpperCase()===n.toUpperCase()&&(e[n]=i,delete e[a])})},JC=function(e,n,r,i,a){return e.config=n,r&&(e.code=r),e.request=i,e.response=a,e.isAxiosError=!0,e.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code}},e},If,Iw;function eT(){if(Iw)return If;Iw=1;var t=JC;return If=function(n,r,i,a,o){var l=new Error(n);return t(l,r,i,a,o)},If}var Df,Dw;function $F(){if(Dw)return Df;Dw=1;var t=eT();return Df=function(n,r,i){var a=i.config.validateStatus;!i.status||!a||a(i.status)?n(i):r(t("Request failed with status code "+i.status,i.config,null,i.request,i))},Df}var Ff,Fw;function zF(){if(Fw)return Ff;Fw=1;var t=xn;return Ff=t.isStandardBrowserEnv()?function(){return{write:function(r,i,a,o,l,s){var u=[];u.push(r+"="+encodeURIComponent(i)),t.isNumber(a)&&u.push("expires="+new Date(a).toGMTString()),t.isString(o)&&u.push("path="+o),t.isString(l)&&u.push("domain="+l),s===!0&&u.push("secure"),document.cookie=u.join("; ")},read:function(r){var i=document.cookie.match(new RegExp("(^|;\\s*)("+r+")=([^;]*)"));return i?decodeURIComponent(i[3]):null},remove:function(r){this.write(r,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}(),Ff}var Nf,Nw;function BF(){return Nw||(Nw=1,Nf=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}),Nf}var _f,_w;function HF(){return _w||(_w=1,_f=function(e,n){return n?e.replace(/\/+$/,"")+"/"+n.replace(/^\/+/,""):e}),_f}var Vf,Vw;function UF(){if(Vw)return Vf;Vw=1;var t=BF(),e=HF();return Vf=function(r,i){return r&&!t(i)?e(r,i):i},Vf}var jf,jw;function WF(){if(jw)return jf;jw=1;var t=xn,e=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];return jf=function(r){var i={},a,o,l;return r&&t.forEach(r.split(` -`),function(u){if(l=u.indexOf(":"),a=t.trim(u.substr(0,l)).toLowerCase(),o=t.trim(u.substr(l+1)),a){if(i[a]&&e.indexOf(a)>=0)return;a==="set-cookie"?i[a]=(i[a]?i[a]:[]).concat([o]):i[a]=i[a]?i[a]+", "+o:o}}),i},jf}var $f,$w;function GF(){if($w)return $f;$w=1;var t=xn;return $f=t.isStandardBrowserEnv()?function(){var n=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a"),i;function a(o){var l=o;return n&&(r.setAttribute("href",l),l=r.href),r.setAttribute("href",l),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:r.pathname.charAt(0)==="/"?r.pathname:"/"+r.pathname}}return i=a(window.location.href),function(l){var s=t.isString(l)?a(l):l;return s.protocol===i.protocol&&s.host===i.host}}():function(){return function(){return!0}}(),$f}var zf,zw;function Bw(){if(zw)return zf;zw=1;var t=xn,e=$F(),n=zF(),r=ZC,i=UF(),a=WF(),o=GF(),l=eT();return zf=function(u){return new Promise(function(d,f){var p=u.data,w=u.headers,g=u.responseType;t.isFormData(p)&&delete w["Content-Type"];var y=new XMLHttpRequest;if(u.auth){var h=u.auth.username||"",v=u.auth.password?unescape(encodeURIComponent(u.auth.password)):"";w.Authorization="Basic "+btoa(h+":"+v)}var m=i(u.baseURL,u.url);y.open(u.method.toUpperCase(),r(m,u.params,u.paramsSerializer),!0),y.timeout=u.timeout;function b(){if(y){var x="getAllResponseHeaders"in y?a(y.getAllResponseHeaders()):null,C=!g||g==="text"||g==="json"?y.responseText:y.response,T={data:C,status:y.status,statusText:y.statusText,headers:x,config:u,request:y};e(d,f,T),y=null}}if("onloadend"in y?y.onloadend=b:y.onreadystatechange=function(){!y||y.readyState!==4||y.status===0&&!(y.responseURL&&y.responseURL.indexOf("file:")===0)||setTimeout(b)},y.onabort=function(){y&&(f(l("Request aborted",u,"ECONNABORTED",y)),y=null)},y.onerror=function(){f(l("Network Error",u,null,y)),y=null},y.ontimeout=function(){var C="timeout of "+u.timeout+"ms exceeded";u.timeoutErrorMessage&&(C=u.timeoutErrorMessage),f(l(C,u,u.transitional&&u.transitional.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",y)),y=null},t.isStandardBrowserEnv()){var E=(u.withCredentials||o(m))&&u.xsrfCookieName?n.read(u.xsrfCookieName):void 0;E&&(w[u.xsrfHeaderName]=E)}"setRequestHeader"in y&&t.forEach(w,function(C,T){typeof p>"u"&&T.toLowerCase()==="content-type"?delete w[T]:y.setRequestHeader(T,C)}),t.isUndefined(u.withCredentials)||(y.withCredentials=!!u.withCredentials),g&&g!=="json"&&(y.responseType=u.responseType),typeof u.onDownloadProgress=="function"&&y.addEventListener("progress",u.onDownloadProgress),typeof u.onUploadProgress=="function"&&y.upload&&y.upload.addEventListener("progress",u.onUploadProgress),u.cancelToken&&u.cancelToken.promise.then(function(C){y&&(y.abort(),f(C),y=null)}),p||(p=null),y.send(p)})},zf}var St=xn,Hw=jF,qF=JC,XF={"Content-Type":"application/x-www-form-urlencoded"};function Uw(t,e){!St.isUndefined(t)&&St.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}function KF(){var t;return(typeof XMLHttpRequest<"u"||typeof process<"u"&&Object.prototype.toString.call(process)==="[object process]")&&(t=Bw()),t}function YF(t,e,n){if(St.isString(t))try{return(e||JSON.parse)(t),St.trim(t)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(t)}var Jc={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:KF(),transformRequest:[function(e,n){return Hw(n,"Accept"),Hw(n,"Content-Type"),St.isFormData(e)||St.isArrayBuffer(e)||St.isBuffer(e)||St.isStream(e)||St.isFile(e)||St.isBlob(e)?e:St.isArrayBufferView(e)?e.buffer:St.isURLSearchParams(e)?(Uw(n,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):St.isObject(e)||n&&n["Content-Type"]==="application/json"?(Uw(n,"application/json"),YF(e)):e}],transformResponse:[function(e){var n=this.transitional,r=n&&n.silentJSONParsing,i=n&&n.forcedJSONParsing,a=!r&&this.responseType==="json";if(a||i&&St.isString(e)&&e.length)try{return JSON.parse(e)}catch(o){if(a)throw o.name==="SyntaxError"?qF(o,this,"E_JSON_PARSE"):o}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(e){return e>=200&&e<300}};Jc.headers={common:{Accept:"application/json, text/plain, */*"}};St.forEach(["delete","get","head"],function(e){Jc.headers[e]={}});St.forEach(["post","put","patch"],function(e){Jc.headers[e]=St.merge(XF)});var lv=Jc,QF=xn,ZF=lv,JF=function(e,n,r){var i=this||ZF;return QF.forEach(r,function(o){e=o.call(i,e,n)}),e},Bf,Ww;function tT(){return Ww||(Ww=1,Bf=function(e){return!!(e&&e.__CANCEL__)}),Bf}var Gw=xn,Hf=JF,eN=tT(),tN=lv;function Uf(t){t.cancelToken&&t.cancelToken.throwIfRequested()}var nN=function(e){Uf(e),e.headers=e.headers||{},e.data=Hf.call(e,e.data,e.headers,e.transformRequest),e.headers=Gw.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),Gw.forEach(["delete","get","head","post","put","patch","common"],function(i){delete e.headers[i]});var n=e.adapter||tN.adapter;return n(e).then(function(i){return Uf(e),i.data=Hf.call(e,i.data,i.headers,e.transformResponse),i},function(i){return eN(i)||(Uf(e),i&&i.response&&(i.response.data=Hf.call(e,i.response.data,i.response.headers,e.transformResponse))),Promise.reject(i)})},It=xn,nT=function(e,n){n=n||{};var r={},i=["url","method","data"],a=["headers","auth","proxy","params"],o=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],l=["validateStatus"];function s(f,p){return It.isPlainObject(f)&&It.isPlainObject(p)?It.merge(f,p):It.isPlainObject(p)?It.merge({},p):It.isArray(p)?p.slice():p}function u(f){It.isUndefined(n[f])?It.isUndefined(e[f])||(r[f]=s(void 0,e[f])):r[f]=s(e[f],n[f])}It.forEach(i,function(p){It.isUndefined(n[p])||(r[p]=s(void 0,n[p]))}),It.forEach(a,u),It.forEach(o,function(p){It.isUndefined(n[p])?It.isUndefined(e[p])||(r[p]=s(void 0,e[p])):r[p]=s(void 0,n[p])}),It.forEach(l,function(p){p in n?r[p]=s(e[p],n[p]):p in e&&(r[p]=s(void 0,e[p]))});var c=i.concat(a).concat(o).concat(l),d=Object.keys(e).concat(Object.keys(n)).filter(function(p){return c.indexOf(p)===-1});return It.forEach(d,u),r};const rN="axios",iN="0.21.4",aN="Promise based HTTP client for the browser and node.js",oN="index.js",sN={test:"grunt test",start:"node ./sandbox/server.js",build:"NODE_ENV=production grunt build",preversion:"npm test",version:"npm run build && grunt version && git add -A dist && git add CHANGELOG.md bower.json package.json",postversion:"git push && git push --tags",examples:"node ./examples/server.js",coveralls:"cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js",fix:"eslint --fix lib/**/*.js"},lN={type:"git",url:"https://github.com/axios/axios.git"},uN=["xhr","http","ajax","promise","node"],cN="Matt Zabriskie",dN="MIT",fN={url:"https://github.com/axios/axios/issues"},pN="https://axios-http.com",hN={coveralls:"^3.0.0","es6-promise":"^4.2.4",grunt:"^1.3.0","grunt-banner":"^0.6.0","grunt-cli":"^1.2.0","grunt-contrib-clean":"^1.1.0","grunt-contrib-watch":"^1.0.0","grunt-eslint":"^23.0.0","grunt-karma":"^4.0.0","grunt-mocha-test":"^0.13.3","grunt-ts":"^6.0.0-beta.19","grunt-webpack":"^4.0.2","istanbul-instrumenter-loader":"^1.0.0","jasmine-core":"^2.4.1",karma:"^6.3.2","karma-chrome-launcher":"^3.1.0","karma-firefox-launcher":"^2.1.0","karma-jasmine":"^1.1.1","karma-jasmine-ajax":"^0.1.13","karma-safari-launcher":"^1.0.0","karma-sauce-launcher":"^4.3.6","karma-sinon":"^1.0.5","karma-sourcemap-loader":"^0.3.8","karma-webpack":"^4.0.2","load-grunt-tasks":"^3.5.2",minimist:"^1.2.0",mocha:"^8.2.1",sinon:"^4.5.0","terser-webpack-plugin":"^4.2.3",typescript:"^4.0.5","url-search-params":"^0.10.0",webpack:"^4.44.2","webpack-dev-server":"^3.11.0"},mN={"./lib/adapters/http.js":"./lib/adapters/xhr.js"},gN="dist/axios.min.js",vN="dist/axios.min.js",yN="./index.d.ts",wN={"follow-redirects":"^1.14.0"},bN=[{path:"./dist/axios.min.js",threshold:"5kB"}],SN={name:rN,version:iN,description:aN,main:oN,scripts:sN,repository:lN,keywords:uN,author:cN,license:dN,bugs:fN,homepage:pN,devDependencies:hN,browser:mN,jsdelivr:gN,unpkg:vN,typings:yN,dependencies:wN,bundlesize:bN};var rT=SN,uv={};["object","boolean","number","function","string","symbol"].forEach(function(t,e){uv[t]=function(r){return typeof r===t||"a"+(e<1?"n ":" ")+t}});var qw={},xN=rT.version.split(".");function iT(t,e){for(var n=e?e.split("."):xN,r=t.split("."),i=0;i<3;i++){if(n[i]>r[i])return!0;if(n[i]0;){var a=r[i],o=e[a];if(o){var l=t[a],s=l===void 0||o(l,a,t);if(s!==!0)throw new TypeError("option "+a+" must be "+s);continue}if(n!==!0)throw Error("Unknown option "+a)}}var CN={isOlderVersion:iT,assertOptions:EN,validators:uv},aT=xn,TN=ZC,Xw=_F,Kw=nN,ed=nT,oT=CN,fa=oT.validators;function cl(t){this.defaults=t,this.interceptors={request:new Xw,response:new Xw}}cl.prototype.request=function(e){typeof e=="string"?(e=arguments[1]||{},e.url=arguments[0]):e=e||{},e=ed(this.defaults,e),e.method?e.method=e.method.toLowerCase():this.defaults.method?e.method=this.defaults.method.toLowerCase():e.method="get";var n=e.transitional;n!==void 0&&oT.assertOptions(n,{silentJSONParsing:fa.transitional(fa.boolean,"1.0.0"),forcedJSONParsing:fa.transitional(fa.boolean,"1.0.0"),clarifyTimeoutError:fa.transitional(fa.boolean,"1.0.0")},!1);var r=[],i=!0;this.interceptors.request.forEach(function(f){typeof f.runWhen=="function"&&f.runWhen(e)===!1||(i=i&&f.synchronous,r.unshift(f.fulfilled,f.rejected))});var a=[];this.interceptors.response.forEach(function(f){a.push(f.fulfilled,f.rejected)});var o;if(!i){var l=[Kw,void 0];for(Array.prototype.unshift.apply(l,r),l=l.concat(a),o=Promise.resolve(e);l.length;)o=o.then(l.shift(),l.shift());return o}for(var s=e;r.length;){var u=r.shift(),c=r.shift();try{s=u(s)}catch(d){c(d);break}}try{o=Kw(s)}catch(d){return Promise.reject(d)}for(;a.length;)o=o.then(a.shift(),a.shift());return o};cl.prototype.getUri=function(e){return e=ed(this.defaults,e),TN(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")};aT.forEach(["delete","get","head","options"],function(e){cl.prototype[e]=function(n,r){return this.request(ed(r||{},{method:e,url:n,data:(r||{}).data}))}});aT.forEach(["post","put","patch"],function(e){cl.prototype[e]=function(n,r,i){return this.request(ed(i||{},{method:e,url:n,data:r}))}});var PN=cl,Wf,Yw;function sT(){if(Yw)return Wf;Yw=1;function t(e){this.message=e}return t.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},t.prototype.__CANCEL__=!0,Wf=t,Wf}var Gf,Qw;function kN(){if(Qw)return Gf;Qw=1;var t=sT();function e(n){if(typeof n!="function")throw new TypeError("executor must be a function.");var r;this.promise=new Promise(function(o){r=o});var i=this;n(function(o){i.reason||(i.reason=new t(o),r(i.reason))})}return e.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},e.source=function(){var r,i=new e(function(o){r=o});return{token:i,cancel:r}},Gf=e,Gf}var qf,Zw;function MN(){return Zw||(Zw=1,qf=function(e){return function(r){return e.apply(null,r)}}),qf}var Xf,Jw;function ON(){return Jw||(Jw=1,Xf=function(e){return typeof e=="object"&&e.isAxiosError===!0}),Xf}var e1=xn,AN=KC,Su=PN,LN=nT,RN=lv;function lT(t){var e=new Su(t),n=AN(Su.prototype.request,e);return e1.extend(n,Su.prototype,e),e1.extend(n,e),n}var Zn=lT(RN);Zn.Axios=Su;Zn.create=function(e){return lT(LN(Zn.defaults,e))};Zn.Cancel=sT();Zn.CancelToken=kN();Zn.isCancel=tT();Zn.all=function(e){return Promise.all(e)};Zn.spread=MN();Zn.isAxiosError=ON();av.exports=Zn;av.exports.default=Zn;var IN=av.exports,DN=IN;const FN=Ks(DN);async function NN(){return(await FN.get("https://api.github.com/repos/sadanandpai/frontend-mini-challenges/contributors?per_page=1000")).data.map(e=>{var n,r;return{username:e.login,avatar:((r=(n=e.avatar_url)==null?void 0:n.match(/\d+/))==null?void 0:r[0])??""}})}function _N(){const[t,e]=S.useState([]),[n]=S.useState(wF);return S.useEffect(()=>{NN().then(r=>e(r.slice(2)))},[]),S.useEffect(()=>{const r=setInterval(()=>e(i=>i.map(a=>a).sort(()=>.5-Math.random())),5e3);return()=>{clearInterval(r)}},[]),V.jsxs(V.Fragment,{children:[V.jsx("h2",{className:Go.heading,id:"contributors",children:"Contributors"}),V.jsxs("section",{className:Go.maintainerContainer,children:[V.jsx(Rf,{...n[0]},n[0].username),V.jsx(Rf,{...n[1]},n[1].username)]}),V.jsx(Lw.Group,{axis:"y",onReorder:e,values:t,className:Go.contributionContainer,children:t.map(r=>V.jsx(Lw.Item,{value:r.username,className:Go.listContributor,children:V.jsx(Rf,{...r},r.username)},r.username))})]})}const VN="_heading_1m5el_1",jN="_features_1m5el_6",t1={heading:VN,features:jN},$N=[{title:"Free and open-source",info:"Every challenge comes with the solution in multiple tech stacks & totally free forever"},{title:"Designed for interviews",info:"The challenges are handpicked collection from various interviews of top companies"},{title:"Community vetted solutions",info:"Solutions are reviewed by the community & follows the best industry practices"}];function zN(){return V.jsxs("section",{id:"whyUs",children:[V.jsx("h2",{className:t1.heading,children:"Why Us?"}),V.jsx("div",{className:t1.features,children:$N.map((t,e)=>V.jsxs("article",{children:[V.jsx("h3",{children:t.title}),V.jsx("p",{children:t.info})]},e))})]})}const BN="_footer_1l7qe_1",HN={footer:BN};function UN(){const t=new Date().getFullYear();return V.jsxs("footer",{className:HN.footer,children:["Copyright © ",t]})}const cv="data:image/png;base64,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",dv="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMwAAADACAMAAAB/Pny7AAAAgVBMVEXw208yMzDw2kjz4nTy3U/24FAiJi8pLC+5qkXo1E1zbDkwMTAnKi9aVjUtLzDs104AACz75VEWHS4eIy4RGS2XjD+mmUGNgz3j0E1WUjXAsEbUwkqvoUODejwAEC1JRzNBQDLKuUgACCw7OzFPTDRjXjcKFS17czugk0BsZjjbyUs9K7YPAAAIX0lEQVR4nO2c25aqOBCGYSZFQBDkDAIKIqi8/wMOuNvdSsLBQy+qZ+W/6YvGkC+HSlUlQZL+N/rn36Vr8EEJGKwSMFglYLBKwGCVgMEqAYNVAgarBAxWCRisEjBYJWCwSsBglYDBKgGDVQIGqwQMVgkYrBIwWCVgsErAYJWAwSoBg1UCBqsEDFYJGKwSMFglYLBKwGCVgMEqAYNVAgarBAxWCRisEjBYJWCwSsBglYDBKgGDVQIGqwQMVgkYrBIwWPXDMITVrB8BgG0DkO5P93fOz5bomYlqdfW2EtVfxaVuGnp5rLKgiKRZzfCjMLCN1z3FoTVWKUKsRj2Vh52jGNTsRA3XO3ixfwWaeN/Pwqiu0ZN30YarREDbhmXtmnJPuuF46yCxYBznh2Go3quWshqGAWt70h2G5EuGs/eTcRpEMHaSlW7/+XtRNw4kGHkfGhhiBzE7vvq9Y64ae/h9WGCIHZrGBEor3T0mwzRIYAicjKlu+eqcvBikwQFDIDPGZsu96DANChgC4ejM7/dNMmAFUMBAKs8bY19lVA2fBgMMJLHyBIssuxnfiiCAIVboPMUim3rKdW0wwBTlM4PsWkqc4IQhVvZkx7RyuAMNAUxi8i0ZVVxXYQq4ynBCpDBBzamu7tT5KstOsVKzjoGTqxrvfYvDEGnNcWMUI0ys6/8jdV3Txx7zTg0/tFkeptlxWNaNfQuzAdTyznLrbrm1BxzvxWEgZWGMyrr3WGztb+fpVMkIXt8MMrfPope9FR6s6s9D1IwHu0VCAGOzU8YN+20PWt4+pSv70BoJZ5aHAdYtqyOm8e1C0Q15VSAPm4Hxl3Wd0/rgb+IgQp7QIJLX7xi658CQKEyWTjXNgGGWTC6MRLTpLODyMF7/EZM3zCYzoZ2WhpHAYbyv3ZyK87Q8DGvNnGDM/o5ocRjOOmOWL3bN4jBwYjwAmZ5eo1keJmBsc+uBhVNLCleLw5CC4zWbxqkgY1llvpaHiXiBpq7E5+c7Z3kYacXNMxlyFWgjHjJPi8NIROWMs65zDDk+a/Yzgw0BTJNTLk1rB/Q8bJ7AQQBj+byMxh8cUzEuiT138iwPI0GyH+iaK4+yOarWvL1zBDBEOrPr5r2MgxzM2GtGASNBc5lInJs72Z/ca8YBI8F2yAZ84zi5X0jII82rCAmmN2io+0u2zokVKtNbZ1RZtwvPyPtwwHQ0rL/JytArFXPe7EuE+JsZNK1bECLOaN5EIN1MWYFOphEPngRAA9MdN5FnTJzOBR0aaohgJLAyyt9cehQ1AqRbGvcioK7NGWONKmduXI0KRiJ25MfGNI5pBDwaXDDtTyDxY2/ySBCVt5zIABtMh1P4sTN1ykHZN2w5+GDamUOSYO2Me9Kyc2G7BiFMhyNF25U7eMLxqlpllhuUMNcDwVYSOkxS/U60/C0wUscDxHcPw6bNSfs0eGE62ZDuBw5ptPY5/10w7cIDaiXzcXSz6NkA5DAdDkkrvltg9nel0cNc3YLzkWeo6brnov0CmLYcu6g4x7jMfe/ww6+AaS1Bc2FpzHz7K2EkaNhMoS6fHyfNb4GRiMomCWiIFmYckkQx40sbJ6Qwrc0aTfcTy2dmjbL6CZiBvDaojCc/lGoiVrhhPceHJ1JmnCmXz5vmlmTbX4yvgpRtTN5GMiFaKnvmfrRviMrpmY/DgJRkmzVvyJOAA8M8113Oqjw6tWPOhfmwaSbQBLkjmwHbqu3QYRZuJes/B1KR6dfnTPk8vG9BpDMzzIwPw4ClXpSuVWP26gRpLowBov7jY8Ru/P0tCqO5OpgZJxq7kUuzTxoAAkX2dbSVZsydRVIwuX1dfjwXY1vBWvleDY29OtQ3pGC32Pue5lswtuXvbxeSTDnotWprTJlRZrZt//0E2NuL/tDeRp7y+4ZIFdMx/ZZ5B4bY6lH/blVa9jwlSEwmiL8fje0IO5X9C01U94Fj04jNOWJj5sWn5oytXR6DQPp4ehoszq0Yo/o7GNsZLXPumZnGMWF2y22oODEAPVqfMc2EnN1+Xc06lOB2UNxuSt7776YsBJSbfqGb6275twBShZdHo6vPBGckWdecWLY2zolmWZbWbFe8DQq9vFvlefbpj5TD3i8iS7I6RUUo11xqs5/ReBEGiiM/kq3rMl7Hubvj1rNd5O8Ghr3NhzJj1NnR/eWUrS5HYzeQPzPLvv18tWfAH0yaUIM/fOS+mztSiHw99q+4ymBuhncw/dU5A816zj5XH+bR/IBWzbg1OwTrMq7cy9bMTvX5VytvLFVvywuSyQMAg6qZjnkdhkinp1t1w7g8UIxlYMdEmRnzzjoD0bOt6vRNqdR18JxNZo5qzgbNGx4AFM/Vw3S5N4HTzSt9c/A5Ttw7vpm9fYZGP3ADOALq7vl5U7Nu7Zsw7RjxZl8X1b2+I3qjsQvGQ5sqyz1ZvIZ5LwQAVZ7ZqqbhD4aRkFSDKxO3LBpq3AD73Xhme5z1UQIq+yOfaAEtzGedZ+ikG/mZ2y9vR5oEkpM+aaJ15ZiOfm4GYLsy5908p8plOxSOvp0DgCg4OuNjTVFOE5fFuqxZWinTXzig3vHcDJ5rej87AyTx83oYR6mrdMbhcQJNuqKjzaIr3tFPeLHbx2DaaliJf9xx60E9r0qbeUd5gUTb8Fh7fNNmKrVySZPRk40fyWhet7qzvK7db2ugm4q3c2I/iebfUCCkjV7Oa/dwX1BnCZ36IK/SRJs4QvuhXDO57nWn2dHYfGlXXny1GUrcjpVDtCTI1vruVlItr7M0sWZ8T+xzifMuvrVbES2KIuv2XbKXCrp+1cwGK+pKIvbson5gF4AAeeUmD6egmR93+yvxGT2sEjBYJWCwSsBg1T///gf8ZY+ACnxg6gAAAABJRU5ErkJggg==",fv="/frontend-mini-challenges/assets/react-BtciLvBz.png",pv="/frontend-mini-challenges/assets/vue-wXUHXaQI.png",WN="/frontend-mini-challenges/assets/logo-r_4QCHBg.png",GN="/frontend-mini-challenges/assets/cover-transparent-Ecfv1-zo.png",qN="_hero_9pexl_1",XN="_figure_9pexl_11",KN="_heroImage_9pexl_19",YN="_link_9pexl_24",QN="_heroTechImg_9pexl_40",No={hero:qN,figure:XN,heroImage:KN,link:YN,heroTechImg:QN};var uT={exports:{}},ZN="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",JN=ZN,e_=JN;function cT(){}function dT(){}dT.resetWarningCache=cT;var t_=function(){function t(r,i,a,o,l,s){if(s!==e_){var u=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw u.name="Invariant Violation",u}}t.isRequired=t;function e(){return t}var n={array:t,bigint:t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:e,element:t,elementType:t,instanceOf:e,node:t,objectOf:e,oneOf:e,oneOfType:e,shape:e,exact:e,checkPropTypes:dT,resetWarningCache:cT};return n.PropTypes=n,n};uT.exports=t_();var n_=uT.exports;const n1=Ks(n_);/*! ***************************************************************************** + */function to(){return to=Object.assign?Object.assign.bind():function(t){for(var e=1;e=0)&&(n[i]=t[i]);return n}function LA(t){return!!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)}function RA(t,e){return t.button===0&&(!e||e==="_self")&&!LA(t)}const IA=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"],DA=["aria-current","caseSensitive","className","end","style","to","unstable_viewTransition","children"];function FA(t,e){return eA({basename:e==null?void 0:e.basename,future:to({},e==null?void 0:e.future,{v7_prependBasename:!0}),history:EO({window:e==null?void 0:e.window}),hydrationData:(e==null?void 0:e.hydrationData)||NA(),routes:t,mapRouteProperties:AA,window:e==null?void 0:e.window}).initialize()}function NA(){var t;let e=(t=window)==null?void 0:t.__staticRouterHydrationData;return e&&e.errors&&(e=to({},e,{errors:_A(e.errors)})),e}function _A(t){if(!t)return null;let e=Object.entries(t),n={};for(let[r,i]of e)if(i&&i.__type==="RouteErrorResponse")n[r]=new Mg(i.status,i.statusText,i.data,i.internal===!0);else if(i&&i.__type==="Error"){if(i.__subType){let a=window[i.__subType];if(typeof a=="function")try{let o=new a(i.message);o.stack="",n[r]=o}catch{}}if(n[r]==null){let a=new Error(i.message);a.stack="",n[r]=a}}else n[r]=i;return n}const xE=S.createContext({isTransitioning:!1}),VA=S.createContext(new Map),jA="startTransition",w0=qa[jA],$A="flushSync",b0=xO[$A];function zA(t){w0?w0(t):t()}function Do(t){b0?b0(t):t()}class BA{constructor(){this.status="pending",this.promise=new Promise((e,n)=>{this.resolve=r=>{this.status==="pending"&&(this.status="resolved",e(r))},this.reject=r=>{this.status==="pending"&&(this.status="rejected",n(r))}})}}function HA(t){let{fallbackElement:e,router:n,future:r}=t,[i,a]=S.useState(n.state),[o,l]=S.useState(),[s,u]=S.useState({isTransitioning:!1}),[c,d]=S.useState(),[f,p]=S.useState(),[w,g]=S.useState(),y=S.useRef(new Map),{v7_startTransition:h}=r||{},v=S.useCallback(C=>{h?zA(C):C()},[h]),m=S.useCallback((C,T)=>{let{deletedFetchers:P,unstable_flushSync:O,unstable_viewTransitionOpts:I}=T;P.forEach(A=>y.current.delete(A)),C.fetchers.forEach((A,M)=>{A.data!==void 0&&y.current.set(M,A.data)});let N=n.window==null||typeof n.window.document.startViewTransition!="function";if(!I||N){O?Do(()=>a(C)):v(()=>a(C));return}if(O){Do(()=>{f&&(c&&c.resolve(),f.skipTransition()),u({isTransitioning:!0,flushSync:!0,currentLocation:I.currentLocation,nextLocation:I.nextLocation})});let A=n.window.document.startViewTransition(()=>{Do(()=>a(C))});A.finished.finally(()=>{Do(()=>{d(void 0),p(void 0),l(void 0),u({isTransitioning:!1})})}),Do(()=>p(A));return}f?(c&&c.resolve(),f.skipTransition(),g({state:C,currentLocation:I.currentLocation,nextLocation:I.nextLocation})):(l(C),u({isTransitioning:!0,flushSync:!1,currentLocation:I.currentLocation,nextLocation:I.nextLocation}))},[n.window,f,c,y,v]);S.useLayoutEffect(()=>n.subscribe(m),[n,m]),S.useEffect(()=>{s.isTransitioning&&!s.flushSync&&d(new BA)},[s]),S.useEffect(()=>{if(c&&o&&n.window){let C=o,T=c.promise,P=n.window.document.startViewTransition(async()=>{v(()=>a(C)),await T});P.finished.finally(()=>{d(void 0),p(void 0),l(void 0),u({isTransitioning:!1})}),p(P)}},[v,o,c,n.window]),S.useEffect(()=>{c&&o&&i.location.key===o.location.key&&c.resolve()},[c,f,i.location,o]),S.useEffect(()=>{!s.isTransitioning&&w&&(l(w.state),u({isTransitioning:!0,flushSync:!1,currentLocation:w.currentLocation,nextLocation:w.nextLocation}),g(void 0))},[s.isTransitioning,w]),S.useEffect(()=>{},[]);let b=S.useMemo(()=>({createHref:n.createHref,encodeLocation:n.encodeLocation,go:C=>n.navigate(C),push:(C,T,P)=>n.navigate(C,{state:T,preventScrollReset:P==null?void 0:P.preventScrollReset}),replace:(C,T,P)=>n.navigate(C,{replace:!0,state:T,preventScrollReset:P==null?void 0:P.preventScrollReset})}),[n]),E=n.basename||"/",x=S.useMemo(()=>({router:n,navigator:b,static:!1,basename:E}),[n,b,E]);return S.createElement(S.Fragment,null,S.createElement(nl.Provider,{value:x},S.createElement(Ag.Provider,{value:i},S.createElement(VA.Provider,{value:y.current},S.createElement(xE.Provider,{value:s},S.createElement(OA,{basename:E,location:i.location,navigationType:i.historyAction,navigator:b,future:{v7_relativeSplatPath:n.future.v7_relativeSplatPath}},i.initialized||n.future.v7_partialHydration?S.createElement(UA,{routes:n.routes,future:n.future,state:i}):e))))),null)}function UA(t){let{routes:e,future:n,state:r}=t;return vA(e,void 0,r,n)}const WA=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",GA=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,qc=S.forwardRef(function(e,n){let{onClick:r,relative:i,reloadDocument:a,replace:o,state:l,target:s,to:u,preventScrollReset:c,unstable_viewTransition:d}=e,f=SE(e,IA),{basename:p}=S.useContext(vi),w,g=!1;if(typeof u=="string"&&GA.test(u)&&(w=u,WA))try{let m=new URL(window.location.href),b=u.startsWith("//")?new URL(m.protocol+u):new URL(u),E=ci(b.pathname,p);b.origin===m.origin&&E!=null?u=E+b.search+b.hash:g=!0}catch{}let y=hA(u,{relative:i}),h=XA(u,{replace:o,state:l,target:s,preventScrollReset:c,relative:i,unstable_viewTransition:d});function v(m){r&&r(m),m.defaultPrevented||h(m)}return S.createElement("a",to({},f,{href:w||y,onClick:g||a?r:v,ref:n,target:s}))}),EE=S.forwardRef(function(e,n){let{"aria-current":r="page",caseSensitive:i=!1,className:a="",end:o=!1,style:l,to:s,unstable_viewTransition:u,children:c}=e,d=SE(e,DA),f=Gc(s,{relative:d.relative}),p=il(),w=S.useContext(Ag),{navigator:g}=S.useContext(vi),y=w!=null&&KA(f)&&u===!0,h=g.encodeLocation?g.encodeLocation(f).pathname:f.pathname,v=p.pathname,m=w&&w.navigation&&w.navigation.location?w.navigation.location.pathname:null;i||(v=v.toLowerCase(),m=m?m.toLowerCase():null,h=h.toLowerCase());const b=h!=="/"&&h.endsWith("/")?h.length-1:h.length;let E=v===h||!o&&v.startsWith(h)&&v.charAt(b)==="/",x=m!=null&&(m===h||!o&&m.startsWith(h)&&m.charAt(h.length)==="/"),C={isActive:E,isPending:x,isTransitioning:y},T=E?r:void 0,P;typeof a=="function"?P=a(C):P=[a,E?"active":null,x?"pending":null,y?"transitioning":null].filter(Boolean).join(" ");let O=typeof l=="function"?l(C):l;return S.createElement(qc,to({},d,{"aria-current":T,className:P,ref:n,style:O,to:s,unstable_viewTransition:u}),typeof c=="function"?c(C):c)});var xh;(function(t){t.UseScrollRestoration="useScrollRestoration",t.UseSubmit="useSubmit",t.UseSubmitFetcher="useSubmitFetcher",t.UseFetcher="useFetcher",t.useViewTransitionState="useViewTransitionState"})(xh||(xh={}));var S0;(function(t){t.UseFetcher="useFetcher",t.UseFetchers="useFetchers",t.UseScrollRestoration="useScrollRestoration"})(S0||(S0={}));function qA(t){let e=S.useContext(nl);return e||me(!1),e}function XA(t,e){let{target:n,replace:r,state:i,preventScrollReset:a,relative:o,unstable_viewTransition:l}=e===void 0?{}:e,s=yE(),u=il(),c=Gc(t,{relative:o});return S.useCallback(d=>{if(RA(d,n)){d.preventDefault();let f=r!==void 0?r:Yi(u)===Yi(c);s(t,{replace:f,state:i,preventScrollReset:a,relative:o,unstable_viewTransition:l})}},[u,s,c,r,i,n,t,a,o,l])}function KA(t,e){e===void 0&&(e={});let n=S.useContext(xE);n==null&&me(!1);let{basename:r}=qA(xh.useViewTransitionState),i=Gc(t,{relative:e.relative});if(!n.isTransitioning)return!1;let a=ci(n.currentLocation.pathname,r)||n.currentLocation.pathname,o=ci(n.nextLocation.pathname,r)||n.nextLocation.pathname;return yh(i.pathname,o)!=null||yh(i.pathname,a)!=null}const Lg=S.createContext({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"}),Xc=S.createContext({}),Rg=S.createContext(null),Ig=typeof document<"u",CE=Ig?S.useLayoutEffect:S.useEffect,TE=S.createContext({strict:!1}),Dg=t=>t.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),YA="framerAppearId",PE="data-"+Dg(YA),QA={skipAnimations:!1,useManualTiming:!1};class x0{constructor(){this.order=[],this.scheduled=new Set}add(e){if(!this.scheduled.has(e))return this.scheduled.add(e),this.order.push(e),!0}remove(e){const n=this.order.indexOf(e);n!==-1&&(this.order.splice(n,1),this.scheduled.delete(e))}clear(){this.order.length=0,this.scheduled.clear()}}function ZA(t){let e=new x0,n=new x0,r=0,i=!1,a=!1;const o=new WeakSet,l={schedule:(s,u=!1,c=!1)=>{const d=c&&i,f=d?e:n;return u&&o.add(s),f.add(s)&&d&&i&&(r=e.order.length),s},cancel:s=>{n.remove(s),o.delete(s)},process:s=>{if(i){a=!0;return}if(i=!0,[e,n]=[n,e],n.clear(),r=e.order.length,r)for(let u=0;u(d[f]=ZA(()=>n=!0),d),{}),o=d=>{a[d].process(i)},l=()=>{const d=performance.now();n=!1,i.delta=r?1e3/60:Math.max(Math.min(d-i.timestamp,JA),1),i.timestamp=d,i.isProcessing=!0,Hl.forEach(o),i.isProcessing=!1,n&&e&&(r=!1,t(l))},s=()=>{n=!0,r=!0,i.isProcessing||t(l)};return{schedule:Hl.reduce((d,f)=>{const p=a[f];return d[f]=(w,g=!1,y=!1)=>(n||s(),p.schedule(w,g,y)),d},{}),cancel:d=>Hl.forEach(f=>a[f].cancel(d)),state:i,steps:a}}const{schedule:Fg,cancel:F9}=kE(queueMicrotask,!1);function eL(t,e,n,r){const{visualElement:i}=S.useContext(Xc),a=S.useContext(TE),o=S.useContext(Rg),l=S.useContext(Lg).reducedMotion,s=S.useRef();r=r||a.renderer,!s.current&&r&&(s.current=r(t,{visualState:e,parent:i,props:n,presenceContext:o,blockInitialAnimation:o?o.initial===!1:!1,reducedMotionConfig:l}));const u=s.current;S.useInsertionEffect(()=>{u&&u.update(n,o)});const c=S.useRef(!!(n[PE]&&!window.HandoffComplete));return CE(()=>{u&&(Fg.postRender(u.render),c.current&&u.animationState&&u.animationState.animateChanges())}),S.useEffect(()=>{u&&(u.updateFeatures(),!c.current&&u.animationState&&u.animationState.animateChanges(),c.current&&(c.current=!1,window.HandoffComplete=!0))}),u}function La(t){return t&&typeof t=="object"&&Object.prototype.hasOwnProperty.call(t,"current")}function tL(t,e,n){return S.useCallback(r=>{r&&t.mount&&t.mount(r),e&&(r?e.mount(r):e.unmount()),n&&(typeof n=="function"?n(r):La(n)&&(n.current=r))},[e])}function js(t){return typeof t=="string"||Array.isArray(t)}function Kc(t){return t!==null&&typeof t=="object"&&typeof t.start=="function"}const Ng=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],_g=["initial",...Ng];function Yc(t){return Kc(t.animate)||_g.some(e=>js(t[e]))}function ME(t){return!!(Yc(t)||t.variants)}function nL(t,e){if(Yc(t)){const{initial:n,animate:r}=t;return{initial:n===!1||js(n)?n:void 0,animate:js(r)?r:void 0}}return t.inherit!==!1?e:{}}function rL(t){const{initial:e,animate:n}=nL(t,S.useContext(Xc));return S.useMemo(()=>({initial:e,animate:n}),[E0(e),E0(n)])}function E0(t){return Array.isArray(t)?t.join(" "):t}const C0={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},$s={};for(const t in C0)$s[t]={isEnabled:e=>C0[t].some(n=>!!e[n])};function iL(t){for(const e in t)$s[e]={...$s[e],...t[e]}}const OE=S.createContext({}),AE=S.createContext({}),aL=Symbol.for("motionComponentSymbol");function oL({preloadedFeatures:t,createVisualElement:e,useRender:n,useVisualState:r,Component:i}){t&&iL(t);function a(l,s){let u;const c={...S.useContext(Lg),...l,layoutId:sL(l)},{isStatic:d}=c,f=rL(l),p=r(l,d);if(!d&&Ig){f.visualElement=eL(i,p,c,e);const w=S.useContext(AE),g=S.useContext(TE).strict;f.visualElement&&(u=f.visualElement.loadFeatures(c,g,t,w))}return S.createElement(Xc.Provider,{value:f},u&&f.visualElement?S.createElement(u,{visualElement:f.visualElement,...c}):null,n(i,l,tL(p,f.visualElement,s),p,d,f.visualElement))}const o=S.forwardRef(a);return o[aL]=i,o}function sL({layoutId:t}){const e=S.useContext(OE).id;return e&&t!==void 0?e+"-"+t:t}function lL(t){function e(r,i={}){return oL(t(r,i))}if(typeof Proxy>"u")return e;const n=new Map;return new Proxy(e,{get:(r,i)=>(n.has(i)||n.set(i,e(i)),n.get(i))})}const uL=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function Vg(t){return typeof t!="string"||t.includes("-")?!1:!!(uL.indexOf(t)>-1||/[A-Z]/u.test(t))}const lc={};function cL(t){Object.assign(lc,t)}const al=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],ta=new Set(al);function LE(t,{layout:e,layoutId:n}){return ta.has(t)||t.startsWith("origin")||(e||n!==void 0)&&(!!lc[t]||t==="opacity")}const Et=t=>!!(t&&t.getVelocity),dL={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},fL=al.length;function pL(t,{enableHardwareAcceleration:e=!0,allowTransformNone:n=!0},r,i){let a="";for(let o=0;oe=>typeof e=="string"&&e.startsWith(t),IE=RE("--"),hL=RE("var(--"),jg=t=>hL(t)?mL.test(t.split("/*")[0].trim()):!1,mL=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,gL=(t,e)=>e&&typeof t=="number"?e.transform(t):t,di=(t,e,n)=>n>e?e:ntypeof t=="number",parse:parseFloat,transform:t=>t},us={...go,transform:t=>di(0,1,t)},Ul={...go,default:1},cs=t=>Math.round(t*1e5)/1e5,$g=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu,vL=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,yL=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu;function ol(t){return typeof t=="string"}const sl=t=>({test:e=>ol(e)&&e.endsWith(t)&&e.split(" ").length===1,parse:parseFloat,transform:e=>`${e}${t}`}),jr=sl("deg"),cr=sl("%"),ue=sl("px"),wL=sl("vh"),bL=sl("vw"),T0={...cr,parse:t=>cr.parse(t)/100,transform:t=>cr.transform(t*100)},P0={...go,transform:Math.round},DE={borderWidth:ue,borderTopWidth:ue,borderRightWidth:ue,borderBottomWidth:ue,borderLeftWidth:ue,borderRadius:ue,radius:ue,borderTopLeftRadius:ue,borderTopRightRadius:ue,borderBottomRightRadius:ue,borderBottomLeftRadius:ue,width:ue,maxWidth:ue,height:ue,maxHeight:ue,size:ue,top:ue,right:ue,bottom:ue,left:ue,padding:ue,paddingTop:ue,paddingRight:ue,paddingBottom:ue,paddingLeft:ue,margin:ue,marginTop:ue,marginRight:ue,marginBottom:ue,marginLeft:ue,rotate:jr,rotateX:jr,rotateY:jr,rotateZ:jr,scale:Ul,scaleX:Ul,scaleY:Ul,scaleZ:Ul,skew:jr,skewX:jr,skewY:jr,distance:ue,translateX:ue,translateY:ue,translateZ:ue,x:ue,y:ue,z:ue,perspective:ue,transformPerspective:ue,opacity:us,originX:T0,originY:T0,originZ:ue,zIndex:P0,backgroundPositionX:ue,backgroundPositionY:ue,fillOpacity:us,strokeOpacity:us,numOctaves:P0};function zg(t,e,n,r){const{style:i,vars:a,transform:o,transformOrigin:l}=t;let s=!1,u=!1,c=!0;for(const d in e){const f=e[d];if(IE(d)){a[d]=f;continue}const p=DE[d],w=gL(f,p);if(ta.has(d)){if(s=!0,o[d]=w,!c)continue;f!==(p.default||0)&&(c=!1)}else d.startsWith("origin")?(u=!0,l[d]=w):i[d]=w}if(e.transform||(s||r?i.transform=pL(t.transform,n,c,r):i.transform&&(i.transform="none")),u){const{originX:d="50%",originY:f="50%",originZ:p=0}=l;i.transformOrigin=`${d} ${f} ${p}`}}const Bg=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function FE(t,e,n){for(const r in e)!Et(e[r])&&!LE(r,n)&&(t[r]=e[r])}function SL({transformTemplate:t},e,n){return S.useMemo(()=>{const r=Bg();return zg(r,e,{enableHardwareAcceleration:!n},t),Object.assign({},r.vars,r.style)},[e])}function xL(t,e,n){const r=t.style||{},i={};return FE(i,r,t),Object.assign(i,SL(t,e,n)),i}function EL(t,e,n){const r={},i=xL(t,e,n);return t.drag&&t.dragListener!==!1&&(r.draggable=!1,i.userSelect=i.WebkitUserSelect=i.WebkitTouchCallout="none",i.touchAction=t.drag===!0?"none":`pan-${t.drag==="x"?"y":"x"}`),t.tabIndex===void 0&&(t.onTap||t.onTapStart||t.whileTap)&&(r.tabIndex=0),r.style=i,r}const CL=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function uc(t){return t.startsWith("while")||t.startsWith("drag")&&t!=="draggable"||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||CL.has(t)}let NE=t=>!uc(t);function TL(t){t&&(NE=e=>e.startsWith("on")?!uc(e):t(e))}try{TL(require("@emotion/is-prop-valid").default)}catch{}function PL(t,e,n){const r={};for(const i in t)i==="values"&&typeof t.values=="object"||(NE(i)||n===!0&&uc(i)||!e&&!uc(i)||t.draggable&&i.startsWith("onDrag"))&&(r[i]=t[i]);return r}function k0(t,e,n){return typeof t=="string"?t:ue.transform(e+n*t)}function kL(t,e,n){const r=k0(e,t.x,t.width),i=k0(n,t.y,t.height);return`${r} ${i}`}const ML={offset:"stroke-dashoffset",array:"stroke-dasharray"},OL={offset:"strokeDashoffset",array:"strokeDasharray"};function AL(t,e,n=1,r=0,i=!0){t.pathLength=1;const a=i?ML:OL;t[a.offset]=ue.transform(-r);const o=ue.transform(e),l=ue.transform(n);t[a.array]=`${o} ${l}`}function Hg(t,{attrX:e,attrY:n,attrScale:r,originX:i,originY:a,pathLength:o,pathSpacing:l=1,pathOffset:s=0,...u},c,d,f){if(zg(t,u,c,f),d){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};const{attrs:p,style:w,dimensions:g}=t;p.transform&&(g&&(w.transform=p.transform),delete p.transform),g&&(i!==void 0||a!==void 0||w.transform)&&(w.transformOrigin=kL(g,i!==void 0?i:.5,a!==void 0?a:.5)),e!==void 0&&(p.x=e),n!==void 0&&(p.y=n),r!==void 0&&(p.scale=r),o!==void 0&&AL(p,o,l,s,!1)}const _E=()=>({...Bg(),attrs:{}}),Ug=t=>typeof t=="string"&&t.toLowerCase()==="svg";function LL(t,e,n,r){const i=S.useMemo(()=>{const a=_E();return Hg(a,e,{enableHardwareAcceleration:!1},Ug(r),t.transformTemplate),{...a.attrs,style:{...a.style}}},[e]);if(t.style){const a={};FE(a,t.style,t),i.style={...a,...i.style}}return i}function RL(t=!1){return(n,r,i,{latestValues:a},o)=>{const s=(Vg(n)?LL:EL)(r,a,o,n),u=PL(r,typeof n=="string",t),c=n!==S.Fragment?{...u,...s,ref:i}:{},{children:d}=r,f=S.useMemo(()=>Et(d)?d.get():d,[d]);return S.createElement(n,{...c,children:f})}}function VE(t,{style:e,vars:n},r,i){Object.assign(t.style,e,i&&i.getProjectionStyles(r));for(const a in n)t.style.setProperty(a,n[a])}const jE=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function $E(t,e,n,r){VE(t,e,void 0,r);for(const i in e.attrs)t.setAttribute(jE.has(i)?i:Dg(i),e.attrs[i])}function Wg(t,e,n){var r;const{style:i}=t,a={};for(const o in i)(Et(i[o])||e.style&&Et(e.style[o])||LE(o,t)||((r=n==null?void 0:n.getValue(o))===null||r===void 0?void 0:r.liveStyle)!==void 0)&&(a[o]=i[o]);return a}function zE(t,e,n){const r=Wg(t,e,n);for(const i in t)if(Et(t[i])||Et(e[i])){const a=al.indexOf(i)!==-1?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i;r[a]=t[i]}return r}function Gg(t,e,n,r={},i={}){return typeof e=="function"&&(e=e(n!==void 0?n:t.custom,r,i)),typeof e=="string"&&(e=t.variants&&t.variants[e]),typeof e=="function"&&(e=e(n!==void 0?n:t.custom,r,i)),e}function ll(t){const e=S.useRef(null);return e.current===null&&(e.current=t()),e.current}const Eh=t=>Array.isArray(t),IL=t=>!!(t&&typeof t=="object"&&t.mix&&t.toValue),DL=t=>Eh(t)?t[t.length-1]||0:t;function wu(t){const e=Et(t)?t.get():t;return IL(e)?e.toValue():e}function FL({scrapeMotionValuesFromProps:t,createRenderState:e,onMount:n},r,i,a){const o={latestValues:NL(r,i,a,t),renderState:e()};return n&&(o.mount=l=>n(r,l,o)),o}const BE=t=>(e,n)=>{const r=S.useContext(Xc),i=S.useContext(Rg),a=()=>FL(t,e,r,i);return n?a():ll(a)};function NL(t,e,n,r){const i={},a=r(t,{});for(const f in a)i[f]=wu(a[f]);let{initial:o,animate:l}=t;const s=Yc(t),u=ME(t);e&&u&&!s&&t.inherit!==!1&&(o===void 0&&(o=e.initial),l===void 0&&(l=e.animate));let c=n?n.initial===!1:!1;c=c||o===!1;const d=c?l:o;return d&&typeof d!="boolean"&&!Kc(d)&&(Array.isArray(d)?d:[d]).forEach(p=>{const w=Gg(t,p);if(!w)return;const{transitionEnd:g,transition:y,...h}=w;for(const v in h){let m=h[v];if(Array.isArray(m)){const b=c?m.length-1:0;m=m[b]}m!==null&&(i[v]=m)}for(const v in g)i[v]=g[v]}),i}const Pt=t=>t,{schedule:mt,cancel:Ir,state:bt,steps:wf}=kE(typeof requestAnimationFrame<"u"?requestAnimationFrame:Pt,!0),_L={useVisualState:BE({scrapeMotionValuesFromProps:zE,createRenderState:_E,onMount:(t,e,{renderState:n,latestValues:r})=>{mt.read(()=>{try{n.dimensions=typeof e.getBBox=="function"?e.getBBox():e.getBoundingClientRect()}catch{n.dimensions={x:0,y:0,width:0,height:0}}}),mt.render(()=>{Hg(n,r,{enableHardwareAcceleration:!1},Ug(e.tagName),t.transformTemplate),$E(e,n)})}})},VL={useVisualState:BE({scrapeMotionValuesFromProps:Wg,createRenderState:Bg})};function jL(t,{forwardMotionProps:e=!1},n,r){return{...Vg(t)?_L:VL,preloadedFeatures:n,useRender:RL(e),createVisualElement:r,Component:t}}function xr(t,e,n,r={passive:!0}){return t.addEventListener(e,n,r),()=>t.removeEventListener(e,n)}const HE=t=>t.pointerType==="mouse"?typeof t.button!="number"||t.button<=0:t.isPrimary!==!1;function Qc(t,e="page"){return{point:{x:t[e+"X"],y:t[e+"Y"]}}}const $L=t=>e=>HE(e)&&t(e,Qc(e));function Tr(t,e,n,r){return xr(t,e,$L(n),r)}const zL=(t,e)=>n=>e(t(n)),Pr=(...t)=>t.reduce(zL);function UE(t){let e=null;return()=>{const n=()=>{e=null};return e===null?(e=t,n):!1}}const M0=UE("dragHorizontal"),O0=UE("dragVertical");function WE(t){let e=!1;if(t==="y")e=O0();else if(t==="x")e=M0();else{const n=M0(),r=O0();n&&r?e=()=>{n(),r()}:(n&&n(),r&&r())}return e}function GE(){const t=WE(!0);return t?(t(),!1):!0}class wi{constructor(e){this.isMounted=!1,this.node=e}update(){}}function A0(t,e){const n="pointer"+(e?"enter":"leave"),r="onHover"+(e?"Start":"End"),i=(a,o)=>{if(a.pointerType==="touch"||GE())return;const l=t.getProps();t.animationState&&l.whileHover&&t.animationState.setActive("whileHover",e),l[r]&&l[r](a,o)};return Tr(t.current,n,i,{passive:!t.getProps()[r]})}class BL extends wi{mount(){this.unmount=Pr(A0(this.node,!0),A0(this.node,!1))}unmount(){}}class HL extends wi{constructor(){super(...arguments),this.isActive=!1}onFocus(){let e=!1;try{e=this.node.current.matches(":focus-visible")}catch{e=!0}!e||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=Pr(xr(this.node.current,"focus",()=>this.onFocus()),xr(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}const qE=(t,e)=>e?t===e?!0:qE(t,e.parentElement):!1;function bf(t,e){if(!e)return;const n=new PointerEvent("pointer"+t);e(n,Qc(n))}class UL extends wi{constructor(){super(...arguments),this.removeStartListeners=Pt,this.removeEndListeners=Pt,this.removeAccessibleListeners=Pt,this.startPointerPress=(e,n)=>{if(this.isPressing)return;this.removeEndListeners();const r=this.node.getProps(),a=Tr(window,"pointerup",(l,s)=>{if(!this.checkPressEnd())return;const{onTap:u,onTapCancel:c,globalTapTarget:d}=this.node.getProps();!d&&!qE(this.node.current,l.target)?c&&c(l,s):u&&u(l,s)},{passive:!(r.onTap||r.onPointerUp)}),o=Tr(window,"pointercancel",(l,s)=>this.cancelPress(l,s),{passive:!(r.onTapCancel||r.onPointerCancel)});this.removeEndListeners=Pr(a,o),this.startPress(e,n)},this.startAccessiblePress=()=>{const e=a=>{if(a.key!=="Enter"||this.isPressing)return;const o=l=>{l.key!=="Enter"||!this.checkPressEnd()||bf("up",(s,u)=>{const{onTap:c}=this.node.getProps();c&&c(s,u)})};this.removeEndListeners(),this.removeEndListeners=xr(this.node.current,"keyup",o),bf("down",(l,s)=>{this.startPress(l,s)})},n=xr(this.node.current,"keydown",e),r=()=>{this.isPressing&&bf("cancel",(a,o)=>this.cancelPress(a,o))},i=xr(this.node.current,"blur",r);this.removeAccessibleListeners=Pr(n,i)}}startPress(e,n){this.isPressing=!0;const{onTapStart:r,whileTap:i}=this.node.getProps();i&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),r&&r(e,n)}checkPressEnd(){return this.removeEndListeners(),this.isPressing=!1,this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!GE()}cancelPress(e,n){if(!this.checkPressEnd())return;const{onTapCancel:r}=this.node.getProps();r&&r(e,n)}mount(){const e=this.node.getProps(),n=Tr(e.globalTapTarget?window:this.node.current,"pointerdown",this.startPointerPress,{passive:!(e.onTapStart||e.onPointerStart)}),r=xr(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=Pr(n,r)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}const Ch=new WeakMap,Sf=new WeakMap,WL=t=>{const e=Ch.get(t.target);e&&e(t)},GL=t=>{t.forEach(WL)};function qL({root:t,...e}){const n=t||document;Sf.has(n)||Sf.set(n,{});const r=Sf.get(n),i=JSON.stringify(e);return r[i]||(r[i]=new IntersectionObserver(GL,{root:t,...e})),r[i]}function XL(t,e,n){const r=qL(e);return Ch.set(t,n),r.observe(t),()=>{Ch.delete(t),r.unobserve(t)}}const KL={some:0,all:1};class YL extends wi{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:e={}}=this.node.getProps(),{root:n,margin:r,amount:i="some",once:a}=e,o={root:n?n.current:void 0,rootMargin:r,threshold:typeof i=="number"?i:KL[i]},l=s=>{const{isIntersecting:u}=s;if(this.isInView===u||(this.isInView=u,a&&!u&&this.hasEnteredView))return;u&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",u);const{onViewportEnter:c,onViewportLeave:d}=this.node.getProps(),f=u?c:d;f&&f(s)};return XL(this.node.current,o,l)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:e,prevProps:n}=this.node;["amount","margin","root"].some(QL(e,n))&&this.startObserver()}unmount(){}}function QL({viewport:t={}},{viewport:e={}}={}){return n=>t[n]!==e[n]}const ZL={inView:{Feature:YL},tap:{Feature:UL},focus:{Feature:HL},hover:{Feature:BL}};function XE(t,e){if(!Array.isArray(e))return!1;const n=e.length;if(n!==t.length)return!1;for(let r=0;re[r]=n.get()),e}function eR(t){const e={};return t.values.forEach((n,r)=>e[r]=n.getVelocity()),e}function Zc(t,e,n){const r=t.getProps();return Gg(r,e,n!==void 0?n:r.custom,JL(t),eR(t))}const kr=t=>t*1e3,Mr=t=>t/1e3,tR={type:"spring",stiffness:500,damping:25,restSpeed:10},nR=t=>({type:"spring",stiffness:550,damping:t===0?2*Math.sqrt(550):30,restSpeed:10}),rR={type:"keyframes",duration:.8},iR={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},aR=(t,{keyframes:e})=>e.length>2?rR:ta.has(t)?t.startsWith("scale")?nR(e[1]):tR:iR;function oR({when:t,delay:e,delayChildren:n,staggerChildren:r,staggerDirection:i,repeat:a,repeatType:o,repeatDelay:l,from:s,elapsed:u,...c}){return!!Object.keys(c).length}function qg(t,e){return t[e]||t.default||t}const sR=t=>t!==null;function Jc(t,{repeat:e,repeatType:n="loop"},r){const i=t.filter(sR),a=e&&n!=="loop"&&e%2===1?0:i.length-1;return!a||r===void 0?i[a]:r}let bu;function lR(){bu=void 0}const oi={now:()=>(bu===void 0&&oi.set(bt.isProcessing||QA.useManualTiming?bt.timestamp:performance.now()),bu),set:t=>{bu=t,queueMicrotask(lR)}},KE=t=>/^0[^.\s]+$/u.test(t);function uR(t){return typeof t=="number"?t===0:t!==null?t==="none"||t==="0"||KE(t):!0}let cR=Pt,YE=Pt;const QE=t=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t),dR=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function fR(t){const e=dR.exec(t);if(!e)return[,];const[,n,r,i]=e;return[`--${n??r}`,i]}function ZE(t,e,n=1){const[r,i]=fR(t);if(!r)return;const a=window.getComputedStyle(e).getPropertyValue(r);if(a){const o=a.trim();return QE(o)?parseFloat(o):o}return jg(i)?ZE(i,e,n+1):i}const pR=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),L0=t=>t===go||t===ue,R0=(t,e)=>parseFloat(t.split(", ")[e]),I0=(t,e)=>(n,{transform:r})=>{if(r==="none"||!r)return 0;const i=r.match(/^matrix3d\((.+)\)$/u);if(i)return R0(i[1],e);{const a=r.match(/^matrix\((.+)\)$/u);return a?R0(a[1],t):0}},hR=new Set(["x","y","z"]),mR=al.filter(t=>!hR.has(t));function D0(t){const e=[];return mR.forEach(n=>{const r=t.getValue(n);r!==void 0&&(e.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),e}const no={width:({x:t},{paddingLeft:e="0",paddingRight:n="0"})=>t.max-t.min-parseFloat(e)-parseFloat(n),height:({y:t},{paddingTop:e="0",paddingBottom:n="0"})=>t.max-t.min-parseFloat(e)-parseFloat(n),top:(t,{top:e})=>parseFloat(e),left:(t,{left:e})=>parseFloat(e),bottom:({y:t},{top:e})=>parseFloat(e)+(t.max-t.min),right:({x:t},{left:e})=>parseFloat(e)+(t.max-t.min),x:I0(4,13),y:I0(5,14)};no.translateX=no.x;no.translateY=no.y;const JE=t=>e=>e.test(t),gR={test:t=>t==="auto",parse:t=>t},eC=[go,ue,cr,jr,bL,wL,gR],F0=t=>eC.find(JE(t)),zi=new Set;let Th=!1,Ph=!1;function tC(){if(Ph){const t=Array.from(zi).filter(r=>r.needsMeasurement),e=new Set(t.map(r=>r.element)),n=new Map;e.forEach(r=>{D0(r).length&&(n.set(r,D0(r)),r.render())}),t.forEach(r=>r.measureInitialState()),e.forEach(r=>{r.render()}),t.forEach(r=>r.measureEndState()),t.forEach(r=>{r.suspendedScrollY!==void 0&&window.scrollTo(0,r.suspendedScrollY)})}Ph=!1,Th=!1,zi.forEach(t=>t.complete()),zi.clear()}function nC(){zi.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(Ph=!0)})}function vR(){nC(),tC()}class Xg{constructor(e,n,r,i,a,o=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...e],this.onComplete=n,this.name=r,this.motionValue=i,this.element=a,this.isAsync=o}scheduleResolve(){this.isScheduled=!0,this.isAsync?(zi.add(this),Th||(Th=!0,mt.read(nC),mt.resolveKeyframes(tC))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:e,name:n,element:r,motionValue:i}=this;for(let a=0;an=>!!(ol(n)&&yL.test(n)&&n.startsWith(t)||e&&Object.prototype.hasOwnProperty.call(n,e)),rC=(t,e,n)=>r=>{if(!ol(r))return r;const[i,a,o,l]=r.match($g);return{[t]:parseFloat(i),[e]:parseFloat(a),[n]:parseFloat(o),alpha:l!==void 0?parseFloat(l):1}},yR=t=>di(0,255,t),xf={...go,transform:t=>Math.round(yR(t))},Fi={test:Kg("rgb","red"),parse:rC("red","green","blue"),transform:({red:t,green:e,blue:n,alpha:r=1})=>"rgba("+xf.transform(t)+", "+xf.transform(e)+", "+xf.transform(n)+", "+cs(us.transform(r))+")"};function wR(t){let e="",n="",r="",i="";return t.length>5?(e=t.substring(1,3),n=t.substring(3,5),r=t.substring(5,7),i=t.substring(7,9)):(e=t.substring(1,2),n=t.substring(2,3),r=t.substring(3,4),i=t.substring(4,5),e+=e,n+=n,r+=r,i+=i),{red:parseInt(e,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:i?parseInt(i,16)/255:1}}const kh={test:Kg("#"),parse:wR,transform:Fi.transform},Ra={test:Kg("hsl","hue"),parse:rC("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:n,alpha:r=1})=>"hsla("+Math.round(t)+", "+cr.transform(cs(e))+", "+cr.transform(cs(n))+", "+cs(us.transform(r))+")"},Ft={test:t=>Fi.test(t)||kh.test(t)||Ra.test(t),parse:t=>Fi.test(t)?Fi.parse(t):Ra.test(t)?Ra.parse(t):kh.parse(t),transform:t=>ol(t)?t:t.hasOwnProperty("red")?Fi.transform(t):Ra.transform(t)};function bR(t){var e,n;return isNaN(t)&&ol(t)&&(((e=t.match($g))===null||e===void 0?void 0:e.length)||0)+(((n=t.match(vL))===null||n===void 0?void 0:n.length)||0)>0}const iC="number",aC="color",SR="var",xR="var(",N0="${}",ER=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function cc(t){const e=t.toString(),n=[],r={color:[],number:[],var:[]},i=[];let a=0;const l=e.replace(ER,s=>(Ft.test(s)?(r.color.push(a),i.push(aC),n.push(Ft.parse(s))):s.startsWith(xR)?(r.var.push(a),i.push(SR),n.push(s)):(r.number.push(a),i.push(iC),n.push(parseFloat(s))),++a,N0)).split(N0);return{values:n,split:l,indexes:r,types:i}}function oC(t){return cc(t).values}function sC(t){const{split:e,types:n}=cc(t),r=e.length;return i=>{let a="";for(let o=0;otypeof t=="number"?0:t;function TR(t){const e=oC(t);return sC(t)(e.map(CR))}const fi={test:bR,parse:oC,createTransformer:sC,getAnimatableNone:TR},PR=new Set(["brightness","contrast","saturate","opacity"]);function kR(t){const[e,n]=t.slice(0,-1).split("(");if(e==="drop-shadow")return t;const[r]=n.match($g)||[];if(!r)return t;const i=n.replace(r,"");let a=PR.has(e)?1:0;return r!==n&&(a*=100),e+"("+a+i+")"}const MR=/\b([a-z-]*)\(.*?\)/gu,Mh={...fi,getAnimatableNone:t=>{const e=t.match(MR);return e?e.map(kR).join(" "):t}},OR={...DE,color:Ft,backgroundColor:Ft,outlineColor:Ft,fill:Ft,stroke:Ft,borderColor:Ft,borderTopColor:Ft,borderRightColor:Ft,borderBottomColor:Ft,borderLeftColor:Ft,filter:Mh,WebkitFilter:Mh},Yg=t=>OR[t];function lC(t,e){let n=Yg(t);return n!==Mh&&(n=fi),n.getAnimatableNone?n.getAnimatableNone(e):void 0}function AR(t,e,n){let r=0,i;for(;r{n.getValue(s).set(u)}),this.resolveNoneKeyframes()}}function LR(t){let e;return()=>(e===void 0&&(e=t()),e)}const _0=(t,e)=>e==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&(fi.test(t)||t==="0")&&!t.startsWith("url("));function RR(t){const e=t[0];if(t.length===1)return!0;for(let n=0;n{this.resolveFinishedPromise=e})}}function dC(t,e){return e?t*(1e3/e):0}const DR=5;function fC(t,e,n){const r=Math.max(e-DR,0);return dC(n-t(r),e-r)}const Ef=.001,FR=.01,V0=10,NR=.05,_R=1;function VR({duration:t=800,bounce:e=.25,velocity:n=0,mass:r=1}){let i,a;cR(t<=kr(V0));let o=1-e;o=di(NR,_R,o),t=di(FR,V0,Mr(t)),o<1?(i=u=>{const c=u*o,d=c*t,f=c-n,p=Oh(u,o),w=Math.exp(-d);return Ef-f/p*w},a=u=>{const d=u*o*t,f=d*n+n,p=Math.pow(o,2)*Math.pow(u,2)*t,w=Math.exp(-d),g=Oh(Math.pow(u,2),o);return(-i(u)+Ef>0?-1:1)*((f-p)*w)/g}):(i=u=>{const c=Math.exp(-u*t),d=(u-n)*t+1;return-Ef+c*d},a=u=>{const c=Math.exp(-u*t),d=(n-u)*(t*t);return c*d});const l=5/t,s=$R(i,a,l);if(t=kr(t),isNaN(s))return{stiffness:100,damping:10,duration:t};{const u=Math.pow(s,2)*r;return{stiffness:u,damping:o*2*Math.sqrt(r*u),duration:t}}}const jR=12;function $R(t,e,n){let r=n;for(let i=1;it[n]!==void 0)}function HR(t){let e={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...t};if(!j0(t,BR)&&j0(t,zR)){const n=VR(t);e={...e,...n,mass:1},e.isResolvedFromDuration=!0}return e}function pC({keyframes:t,restDelta:e,restSpeed:n,...r}){const i=t[0],a=t[t.length-1],o={done:!1,value:i},{stiffness:l,damping:s,mass:u,duration:c,velocity:d,isResolvedFromDuration:f}=HR({...r,velocity:-Mr(r.velocity||0)}),p=d||0,w=s/(2*Math.sqrt(l*u)),g=a-i,y=Mr(Math.sqrt(l/u)),h=Math.abs(g)<5;n||(n=h?.01:2),e||(e=h?.005:.5);let v;if(w<1){const m=Oh(y,w);v=b=>{const E=Math.exp(-w*y*b);return a-E*((p+w*y*g)/m*Math.sin(m*b)+g*Math.cos(m*b))}}else if(w===1)v=m=>a-Math.exp(-y*m)*(g+(p+y*g)*m);else{const m=y*Math.sqrt(w*w-1);v=b=>{const E=Math.exp(-w*y*b),x=Math.min(m*b,300);return a-E*((p+w*y*g)*Math.sinh(x)+m*g*Math.cosh(x))/m}}return{calculatedDuration:f&&c||null,next:m=>{const b=v(m);if(f)o.done=m>=c;else{let E=p;m!==0&&(w<1?E=fC(v,m,b):E=0);const x=Math.abs(E)<=n,C=Math.abs(a-b)<=e;o.done=x&&C}return o.value=o.done?a:b,o}}}function $0({keyframes:t,velocity:e=0,power:n=.8,timeConstant:r=325,bounceDamping:i=10,bounceStiffness:a=500,modifyTarget:o,min:l,max:s,restDelta:u=.5,restSpeed:c}){const d=t[0],f={done:!1,value:d},p=T=>l!==void 0&&Ts,w=T=>l===void 0?s:s===void 0||Math.abs(l-T)-g*Math.exp(-T/r),m=T=>h+v(T),b=T=>{const P=v(T),O=m(T);f.done=Math.abs(P)<=u,f.value=f.done?h:O};let E,x;const C=T=>{p(f.value)&&(E=T,x=pC({keyframes:[f.value,w(f.value)],velocity:fC(m,T,f.value),damping:i,stiffness:a,restDelta:u,restSpeed:c}))};return C(0),{calculatedDuration:null,next:T=>{let P=!1;return!x&&E===void 0&&(P=!0,b(T),C(T)),E!==void 0&&T>=E?x.next(T-E):(!P&&b(T),f)}}}const hC=(t,e,n)=>(((1-3*n+3*e)*t+(3*n-6*e))*t+3*e)*t,UR=1e-7,WR=12;function GR(t,e,n,r,i){let a,o,l=0;do o=e+(n-e)/2,a=hC(o,r,i)-t,a>0?n=o:e=o;while(Math.abs(a)>UR&&++lGR(a,0,1,t,n);return a=>a===0||a===1?a:hC(i(a),e,r)}const qR=ul(.42,0,1,1),XR=ul(0,0,.58,1),mC=ul(.42,0,.58,1),KR=t=>Array.isArray(t)&&typeof t[0]!="number",gC=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2,vC=t=>e=>1-t(1-e),Qg=t=>1-Math.sin(Math.acos(t)),yC=vC(Qg),YR=gC(Qg),wC=ul(.33,1.53,.69,.99),Zg=vC(wC),QR=gC(Zg),ZR=t=>(t*=2)<1?.5*Zg(t):.5*(2-Math.pow(2,-10*(t-1))),JR={linear:Pt,easeIn:qR,easeInOut:mC,easeOut:XR,circIn:Qg,circInOut:YR,circOut:yC,backIn:Zg,backInOut:QR,backOut:wC,anticipate:ZR},z0=t=>{if(Array.isArray(t)){YE(t.length===4);const[e,n,r,i]=t;return ul(e,n,r,i)}else if(typeof t=="string")return JR[t];return t},zs=(t,e,n)=>{const r=e-t;return r===0?1:(n-t)/r},$e=(t,e,n)=>t+(e-t)*n;function Cf(t,e,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?t+(e-t)*6*n:n<1/2?e:n<2/3?t+(e-t)*(2/3-n)*6:t}function eI({hue:t,saturation:e,lightness:n,alpha:r}){t/=360,e/=100,n/=100;let i=0,a=0,o=0;if(!e)i=a=o=n;else{const l=n<.5?n*(1+e):n+e-n*e,s=2*n-l;i=Cf(s,l,t+1/3),a=Cf(s,l,t),o=Cf(s,l,t-1/3)}return{red:Math.round(i*255),green:Math.round(a*255),blue:Math.round(o*255),alpha:r}}const Tf=(t,e,n)=>{const r=t*t,i=n*(e*e-r)+r;return i<0?0:Math.sqrt(i)},tI=[kh,Fi,Ra],nI=t=>tI.find(e=>e.test(t));function B0(t){const e=nI(t);let n=e.parse(t);return e===Ra&&(n=eI(n)),n}const H0=(t,e)=>{const n=B0(t),r=B0(e),i={...n};return a=>(i.red=Tf(n.red,r.red,a),i.green=Tf(n.green,r.green,a),i.blue=Tf(n.blue,r.blue,a),i.alpha=$e(n.alpha,r.alpha,a),Fi.transform(i))};function Ah(t,e){return n=>n>0?e:t}function rI(t,e){return n=>$e(t,e,n)}function Jg(t){return typeof t=="number"?rI:typeof t=="string"?jg(t)?Ah:Ft.test(t)?H0:oI:Array.isArray(t)?bC:typeof t=="object"?Ft.test(t)?H0:iI:Ah}function bC(t,e){const n=[...t],r=n.length,i=t.map((a,o)=>Jg(a)(a,e[o]));return a=>{for(let o=0;o{for(const a in r)n[a]=r[a](i);return n}}function aI(t,e){var n;const r=[],i={color:0,var:0,number:0};for(let a=0;a{const n=fi.createTransformer(e),r=cc(t),i=cc(e);return r.indexes.var.length===i.indexes.var.length&&r.indexes.color.length===i.indexes.color.length&&r.indexes.number.length>=i.indexes.number.length?Pr(bC(aI(r,i),i.values),n):Ah(t,e)};function SC(t,e,n){return typeof t=="number"&&typeof e=="number"&&typeof n=="number"?$e(t,e,n):Jg(t)(t,e)}function sI(t,e,n){const r=[],i=n||SC,a=t.length-1;for(let o=0;oe[0];if(a===2&&t[0]===t[1])return()=>e[1];t[0]>t[a-1]&&(t=[...t].reverse(),e=[...e].reverse());const o=sI(e,r,i),l=o.length,s=u=>{let c=0;if(l>1)for(;cs(di(t[0],t[a-1],u)):s}function lI(t,e){const n=t[t.length-1];for(let r=1;r<=e;r++){const i=zs(0,e,r);t.push($e(n,1,i))}}function uI(t){const e=[0];return lI(e,t.length-1),e}function cI(t,e){return t.map(n=>n*e)}function dI(t,e){return t.map(()=>e||mC).splice(0,t.length-1)}function dc({duration:t=300,keyframes:e,times:n,ease:r="easeInOut"}){const i=KR(r)?r.map(z0):z0(r),a={done:!1,value:e[0]},o=cI(n&&n.length===e.length?n:uI(e),t),l=xC(o,e,{ease:Array.isArray(i)?i:dI(e,i)});return{calculatedDuration:t,next:s=>(a.value=l(s),a.done=s>=t,a)}}const U0=2e4;function fI(t){let e=0;const n=50;let r=t.next(e);for(;!r.done&&e=U0?1/0:e}const pI=t=>{const e=({timestamp:n})=>t(n);return{start:()=>mt.update(e,!0),stop:()=>Ir(e),now:()=>bt.isProcessing?bt.timestamp:oi.now()}},hI={decay:$0,inertia:$0,tween:dc,keyframes:dc,spring:pC},mI=t=>t/100;class ev extends cC{constructor({KeyframeResolver:e=Xg,...n}){super(n),this.holdTime=null,this.startTime=null,this.cancelTime=null,this.currentTime=0,this.playbackSpeed=1,this.pendingPlayState="running",this.state="idle";const{name:r,motionValue:i,keyframes:a}=this.options,o=(l,s)=>this.onKeyframesResolved(l,s);r&&i&&i.owner?this.resolver=i.owner.resolveKeyframes(a,o,r,i):this.resolver=new e(a,o,r,i),this.resolver.scheduleResolve()}initPlayback(e){const{type:n="keyframes",repeat:r=0,repeatDelay:i=0,repeatType:a,velocity:o=0}=this.options,l=hI[n]||dc;let s,u;l!==dc&&typeof e[0]!="number"&&(s=Pr(mI,SC(e[0],e[1])),e=[0,100]);const c=l({...this.options,keyframes:e});a==="mirror"&&(u=l({...this.options,keyframes:[...e].reverse(),velocity:-o})),c.calculatedDuration===null&&(c.calculatedDuration=fI(c));const{calculatedDuration:d}=c,f=d+i,p=f*(r+1)-i;return{generator:c,mirroredGenerator:u,mapPercentToKeyframes:s,calculatedDuration:d,resolvedDuration:f,totalDuration:p}}onPostResolved(){const{autoplay:e=!0}=this.options;this.play(),this.pendingPlayState==="paused"||!e?this.pause():this.state=this.pendingPlayState}tick(e,n=!1){const{resolved:r}=this;if(!r){const{keyframes:T}=this.options;return{done:!0,value:T[T.length-1]}}const{finalKeyframe:i,generator:a,mirroredGenerator:o,mapPercentToKeyframes:l,keyframes:s,calculatedDuration:u,totalDuration:c,resolvedDuration:d}=r;if(this.startTime===null)return a.next(0);const{delay:f,repeat:p,repeatType:w,repeatDelay:g,onUpdate:y}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-c/this.speed,this.startTime)),n?this.currentTime=e:this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=Math.round(e-this.startTime)*this.speed;const h=this.currentTime-f*(this.speed>=0?1:-1),v=this.speed>=0?h<0:h>c;this.currentTime=Math.max(h,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=c);let m=this.currentTime,b=a;if(p){const T=Math.min(this.currentTime,c)/d;let P=Math.floor(T),O=T%1;!O&&T>=1&&(O=1),O===1&&P--,P=Math.min(P,p+1),!!(P%2)&&(w==="reverse"?(O=1-O,g&&(O-=g/d)):w==="mirror"&&(b=o)),m=di(0,1,O)*d}const E=v?{done:!1,value:s[0]}:b.next(m);l&&(E.value=l(E.value));let{done:x}=E;!v&&u!==null&&(x=this.speed>=0?this.currentTime>=c:this.currentTime<=0);const C=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&x);return C&&i!==void 0&&(E.value=Jc(s,this.options,i)),y&&y(E.value),C&&this.finish(),E}get duration(){const{resolved:e}=this;return e?Mr(e.calculatedDuration):0}get time(){return Mr(this.currentTime)}set time(e){e=kr(e),this.currentTime=e,this.holdTime!==null||this.speed===0?this.holdTime=e:this.driver&&(this.startTime=this.driver.now()-e/this.speed)}get speed(){return this.playbackSpeed}set speed(e){const n=this.playbackSpeed!==e;this.playbackSpeed=e,n&&(this.time=Mr(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;const{driver:e=pI,onPlay:n}=this.options;this.driver||(this.driver=e(i=>this.tick(i))),n&&n();const r=this.driver.now();this.holdTime!==null?this.startTime=r-this.holdTime:(!this.startTime||this.state==="finished")&&(this.startTime=r),this.state==="finished"&&this.updateFinishedPromise(),this.cancelTime=this.startTime,this.holdTime=null,this.state="running",this.driver.start()}pause(){var e;if(!this._resolved){this.pendingPlayState="paused";return}this.state="paused",this.holdTime=(e=this.currentTime)!==null&&e!==void 0?e:0}stop(){if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;this.teardown();const{onStop:e}=this.options;e&&e()}complete(){this.state!=="running"&&this.play(),this.pendingPlayState=this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";const{onComplete:e}=this.options;e&&e()}cancel(){this.cancelTime!==null&&this.tick(this.cancelTime),this.teardown(),this.updateFinishedPromise()}teardown(){this.state="idle",this.stopDriver(),this.resolveFinishedPromise(),this.updateFinishedPromise(),this.startTime=this.cancelTime=null,this.resolver.cancel()}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(e){return this.startTime=0,this.tick(e,!0)}}const EC=t=>Array.isArray(t)&&typeof t[0]=="number";function CC(t){return!!(!t||typeof t=="string"&&TC[t]||EC(t)||Array.isArray(t)&&t.every(CC))}const Wo=([t,e,n,r])=>`cubic-bezier(${t}, ${e}, ${n}, ${r})`,TC={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Wo([0,.65,.55,1]),circOut:Wo([.55,0,1,.45]),backIn:Wo([.31,.01,.66,-.59]),backOut:Wo([.33,1.53,.69,.99])};function PC(t){if(t)return EC(t)?Wo(t):Array.isArray(t)?t.map(PC):TC[t]}function gI(t,e,n,{delay:r=0,duration:i=300,repeat:a=0,repeatType:o="loop",ease:l,times:s}={}){const u={[e]:n};s&&(u.offset=s);const c=PC(l);return Array.isArray(c)&&(u.easing=c),t.animate(u,{delay:r,duration:i,easing:Array.isArray(c)?"linear":c,fill:"both",iterations:a+1,direction:o==="reverse"?"alternate":"normal"})}const vI=LR(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),yI=new Set(["opacity","clipPath","filter","transform"]),fc=10,wI=2e4;function bI(t){return t.type==="spring"||t.name==="backgroundColor"||!CC(t.ease)}function SI(t,e){const n=new ev({...e,keyframes:t,repeat:0,delay:0,isGenerator:!0});let r={done:!1,value:t[0]};const i=[];let a=0;for(;!r.done&&athis.onKeyframesResolved(a,o),n,r),this.resolver.scheduleResolve()}initPlayback(e,n){var r;let{duration:i=300,times:a,ease:o,type:l,motionValue:s,name:u}=this.options;if(!(!((r=s.owner)===null||r===void 0)&&r.current))return!1;if(bI(this.options)){const{onComplete:d,onUpdate:f,motionValue:p,...w}=this.options,g=SI(e,w);e=g.keyframes,e.length===1&&(e[1]=e[0]),i=g.duration,a=g.times,o=g.ease,l="keyframes"}const c=gI(s.owner.current,u,e,{...this.options,duration:i,times:a,ease:o});return c.startTime=oi.now(),this.pendingTimeline?(c.timeline=this.pendingTimeline,this.pendingTimeline=void 0):c.onfinish=()=>{const{onComplete:d}=this.options;s.set(Jc(e,this.options,n)),d&&d(),this.cancel(),this.resolveFinishedPromise()},{animation:c,duration:i,times:a,type:l,ease:o,keyframes:e}}get duration(){const{resolved:e}=this;if(!e)return 0;const{duration:n}=e;return Mr(n)}get time(){const{resolved:e}=this;if(!e)return 0;const{animation:n}=e;return Mr(n.currentTime||0)}set time(e){const{resolved:n}=this;if(!n)return;const{animation:r}=n;r.currentTime=kr(e)}get speed(){const{resolved:e}=this;if(!e)return 1;const{animation:n}=e;return n.playbackRate}set speed(e){const{resolved:n}=this;if(!n)return;const{animation:r}=n;r.playbackRate=e}get state(){const{resolved:e}=this;if(!e)return"idle";const{animation:n}=e;return n.playState}attachTimeline(e){if(!this._resolved)this.pendingTimeline=e;else{const{resolved:n}=this;if(!n)return Pt;const{animation:r}=n;r.timeline=e,r.onfinish=null}return Pt}play(){if(this.isStopped)return;const{resolved:e}=this;if(!e)return;const{animation:n}=e;n.playState==="finished"&&this.updateFinishedPromise(),n.play()}pause(){const{resolved:e}=this;if(!e)return;const{animation:n}=e;n.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;const{resolved:e}=this;if(!e)return;const{animation:n,keyframes:r,duration:i,type:a,ease:o,times:l}=e;if(!(n.playState==="idle"||n.playState==="finished")){if(this.time){const{motionValue:s,onUpdate:u,onComplete:c,...d}=this.options,f=new ev({...d,keyframes:r,duration:i,type:a,ease:o,times:l,isGenerator:!0}),p=kr(this.time);s.setWithVelocity(f.sample(p-fc).value,f.sample(p).value,fc)}this.cancel()}}complete(){const{resolved:e}=this;e&&e.animation.finish()}cancel(){const{resolved:e}=this;e&&e.animation.cancel()}static supports(e){const{motionValue:n,name:r,repeatDelay:i,repeatType:a,damping:o,type:l}=e;return vI()&&r&&yI.has(r)&&n&&n.owner&&n.owner.current instanceof HTMLElement&&!n.owner.getProps().onUpdate&&!i&&a!=="mirror"&&o!==0&&l!=="inertia"}}const tv=(t,e,n,r={},i,a)=>o=>{const l=qg(r,t)||{},s=l.delay||r.delay||0;let{elapsed:u=0}=r;u=u-kr(s);let c={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:e.getVelocity(),...l,delay:-u,onUpdate:f=>{e.set(f),l.onUpdate&&l.onUpdate(f)},onComplete:()=>{o(),l.onComplete&&l.onComplete()},name:t,motionValue:e,element:a?void 0:i};oR(l)||(c={...c,...aR(t,c)}),c.duration&&(c.duration=kr(c.duration)),c.repeatDelay&&(c.repeatDelay=kr(c.repeatDelay)),c.from!==void 0&&(c.keyframes[0]=c.from);let d=!1;if(c.type===!1&&(c.duration=0,c.delay===0&&(d=!0)),d&&!a&&e.get()!==void 0){const f=Jc(c.keyframes,l);if(f!==void 0){mt.update(()=>{c.onUpdate(f),c.onComplete()});return}}return!a&&W0.supports(c)?new W0(c):new ev(c)};function pc(t){return!!(Et(t)&&t.add)}function nv(t,e){t.indexOf(e)===-1&&t.push(e)}function rv(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}function xI([...t],e,n){const r=e<0?t.length+e:e;if(r>=0&&rrv(this.subscriptions,e)}notify(e,n,r){const i=this.subscriptions.length;if(i)if(i===1)this.subscriptions[0](e,n,r);else for(let a=0;a!isNaN(parseFloat(t)),ds={current:void 0};class CI{constructor(e,n={}){this.version="11.0.24",this.canTrackVelocity=!1,this.events={},this.updateAndNotify=(r,i=!0)=>{const a=oi.now();this.updatedAt!==a&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(r),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),i&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.hasAnimated=!1,this.setCurrent(e),this.canTrackVelocity=EI(this.current),this.owner=n.owner}setCurrent(e){this.current=e,this.updatedAt=oi.now()}setPrevFrameValue(e=this.current){this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return this.on("change",e)}on(e,n){this.events[e]||(this.events[e]=new iv);const r=this.events[e].add(n);return e==="change"?()=>{r(),mt.read(()=>{this.events.change.getSize()||this.stop()})}:r}clearListeners(){for(const e in this.events)this.events[e].clear()}attach(e,n){this.passiveEffect=e,this.stopPassiveEffect=n}set(e,n=!0){!n||!this.passiveEffect?this.updateAndNotify(e,n):this.passiveEffect(e,this.updateAndNotify)}setWithVelocity(e,n,r){this.set(n),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-r}jump(e,n=!0){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,n&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return ds.current&&ds.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){const e=oi.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||e-this.updatedAt>G0)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,G0);return dC(parseFloat(this.current)-parseFloat(this.prevFrameValue),n)}start(e){return this.stop(),new Promise(n=>{this.hasAnimated=!0,this.animation=e(n),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function ro(t,e){return new CI(t,e)}function TI(t,e,n){t.hasValue(e)?t.getValue(e).set(n):t.addValue(e,ro(n))}function PI(t,e){const n=Zc(t,e);let{transitionEnd:r={},transition:i={},...a}=n||{};a={...a,...r};for(const o in a){const l=DL(a[o]);TI(t,o,l)}}function kI({protectedKeys:t,needsAnimating:e},n){const r=t.hasOwnProperty(n)&&e[n]!==!0;return e[n]=!1,r}function kC(t,e,{delay:n=0,transitionOverride:r,type:i}={}){var a;let{transition:o=t.getDefaultTransition(),transitionEnd:l,...s}=e;const u=t.getValue("willChange");r&&(o=r);const c=[],d=i&&t.animationState&&t.animationState.getState()[i];for(const f in s){const p=t.getValue(f,(a=t.latestValues[f])!==null&&a!==void 0?a:null),w=s[f];if(w===void 0||d&&kI(d,f))continue;const g={delay:n,elapsed:0,...qg(o||{},f)};let y=!1;if(window.HandoffAppearAnimations){const v=t.getProps()[PE];if(v){const m=window.HandoffAppearAnimations(v,f);m!==null&&(g.elapsed=m,y=!0)}}p.start(tv(f,p,w,t.shouldReduceMotion&&ta.has(f)?{type:!1}:g,t,y));const h=p.animation;h&&(pc(u)&&(u.add(f),h.then(()=>u.remove(f))),c.push(h))}return l&&Promise.all(c).then(()=>{mt.update(()=>{l&&PI(t,l)})}),c}function Lh(t,e,n={}){var r;const i=Zc(t,e,n.type==="exit"?(r=t.presenceContext)===null||r===void 0?void 0:r.custom:void 0);let{transition:a=t.getDefaultTransition()||{}}=i||{};n.transitionOverride&&(a=n.transitionOverride);const o=i?()=>Promise.all(kC(t,i,n)):()=>Promise.resolve(),l=t.variantChildren&&t.variantChildren.size?(u=0)=>{const{delayChildren:c=0,staggerChildren:d,staggerDirection:f}=a;return MI(t,e,c+u,d,f,n)}:()=>Promise.resolve(),{when:s}=a;if(s){const[u,c]=s==="beforeChildren"?[o,l]:[l,o];return u().then(()=>c())}else return Promise.all([o(),l(n.delay)])}function MI(t,e,n=0,r=0,i=1,a){const o=[],l=(t.variantChildren.size-1)*r,s=i===1?(u=0)=>u*r:(u=0)=>l-u*r;return Array.from(t.variantChildren).sort(OI).forEach((u,c)=>{u.notify("AnimationStart",e),o.push(Lh(u,e,{...a,delay:n+s(c)}).then(()=>u.notify("AnimationComplete",e)))}),Promise.all(o)}function OI(t,e){return t.sortNodePosition(e)}function AI(t,e,n={}){t.notify("AnimationStart",e);let r;if(Array.isArray(e)){const i=e.map(a=>Lh(t,a,n));r=Promise.all(i)}else if(typeof e=="string")r=Lh(t,e,n);else{const i=typeof e=="function"?Zc(t,e,n.custom):e;r=Promise.all(kC(t,i,n))}return r.then(()=>{mt.postRender(()=>{t.notify("AnimationComplete",e)})})}const LI=[...Ng].reverse(),RI=Ng.length;function II(t){return e=>Promise.all(e.map(({animation:n,options:r})=>AI(t,n,r)))}function DI(t){let e=II(t);const n=NI();let r=!0;const i=s=>(u,c)=>{var d;const f=Zc(t,c,s==="exit"?(d=t.presenceContext)===null||d===void 0?void 0:d.custom:void 0);if(f){const{transition:p,transitionEnd:w,...g}=f;u={...u,...g,...w}}return u};function a(s){e=s(t)}function o(s){const u=t.getProps(),c=t.getVariantContext(!0)||{},d=[],f=new Set;let p={},w=1/0;for(let y=0;yw&&b,P=!1;const O=Array.isArray(m)?m:[m];let I=O.reduce(i(h),{});E===!1&&(I={});const{prevResolvedValues:N={}}=v,A={...N,...I},M=R=>{T=!0,f.has(R)&&(P=!0,f.delete(R)),v.needsAnimating[R]=!0;const D=t.getValue(R);D&&(D.liveStyle=!1)};for(const R in A){const D=I[R],L=N[R];if(p.hasOwnProperty(R))continue;let k=!1;Eh(D)&&Eh(L)?k=!XE(D,L):k=D!==L,k?D!=null?M(R):f.add(R):D!==void 0&&f.has(R)?M(R):v.protectedKeys[R]=!0}v.prevProp=m,v.prevResolvedValues=I,v.isActive&&(p={...p,...I}),r&&t.blockInitialAnimation&&(T=!1),T&&(!x||P)&&d.push(...O.map(R=>({animation:R,options:{type:h}})))}if(f.size){const y={};f.forEach(h=>{const v=t.getBaseTarget(h),m=t.getValue(h);m&&(m.liveStyle=!0),y[h]=v===void 0?null:v}),d.push({animation:y})}let g=!!d.length;return r&&(u.initial===!1||u.initial===u.animate)&&!t.manuallyAnimateOnMount&&(g=!1),r=!1,g?e(d):Promise.resolve()}function l(s,u){var c;if(n[s].isActive===u)return Promise.resolve();(c=t.variantChildren)===null||c===void 0||c.forEach(f=>{var p;return(p=f.animationState)===null||p===void 0?void 0:p.setActive(s,u)}),n[s].isActive=u;const d=o(s);for(const f in n)n[f].protectedKeys={};return d}return{animateChanges:o,setActive:l,setAnimateFunction:a,getState:()=>n}}function FI(t,e){return typeof e=="string"?e!==t:Array.isArray(e)?!XE(e,t):!1}function Ei(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function NI(){return{animate:Ei(!0),whileInView:Ei(),whileHover:Ei(),whileTap:Ei(),whileDrag:Ei(),whileFocus:Ei(),exit:Ei()}}class _I extends wi{constructor(e){super(e),e.animationState||(e.animationState=DI(e))}updateAnimationControlsSubscription(){const{animate:e}=this.node.getProps();this.unmount(),Kc(e)&&(this.unmount=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:e}=this.node.getProps(),{animate:n}=this.node.prevProps||{};e!==n&&this.updateAnimationControlsSubscription()}unmount(){}}let VI=0;class jI extends wi{constructor(){super(...arguments),this.id=VI++}update(){if(!this.node.presenceContext)return;const{isPresent:e,onExitComplete:n}=this.node.presenceContext,{isPresent:r}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===r)return;const i=this.node.animationState.setActive("exit",!e);n&&!e&&i.then(()=>n(this.id))}mount(){const{register:e}=this.node.presenceContext||{};e&&(this.unmount=e(this.id))}unmount(){}}const $I={animation:{Feature:_I},exit:{Feature:jI}},q0=(t,e)=>Math.abs(t-e);function zI(t,e){const n=q0(t.x,e.x),r=q0(t.y,e.y);return Math.sqrt(n**2+r**2)}class MC{constructor(e,n,{transformPagePoint:r,contextWindow:i,dragSnapToOrigin:a=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const d=kf(this.lastMoveEventInfo,this.history),f=this.startEvent!==null,p=zI(d.offset,{x:0,y:0})>=3;if(!f&&!p)return;const{point:w}=d,{timestamp:g}=bt;this.history.push({...w,timestamp:g});const{onStart:y,onMove:h}=this.handlers;f||(y&&y(this.lastMoveEvent,d),this.startEvent=this.lastMoveEvent),h&&h(this.lastMoveEvent,d)},this.handlePointerMove=(d,f)=>{this.lastMoveEvent=d,this.lastMoveEventInfo=Pf(f,this.transformPagePoint),mt.update(this.updatePoint,!0)},this.handlePointerUp=(d,f)=>{this.end();const{onEnd:p,onSessionEnd:w,resumeAnimation:g}=this.handlers;if(this.dragSnapToOrigin&&g&&g(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const y=kf(d.type==="pointercancel"?this.lastMoveEventInfo:Pf(f,this.transformPagePoint),this.history);this.startEvent&&p&&p(d,y),w&&w(d,y)},!HE(e))return;this.dragSnapToOrigin=a,this.handlers=n,this.transformPagePoint=r,this.contextWindow=i||window;const o=Qc(e),l=Pf(o,this.transformPagePoint),{point:s}=l,{timestamp:u}=bt;this.history=[{...s,timestamp:u}];const{onSessionStart:c}=n;c&&c(e,kf(l,this.history)),this.removeListeners=Pr(Tr(this.contextWindow,"pointermove",this.handlePointerMove),Tr(this.contextWindow,"pointerup",this.handlePointerUp),Tr(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),Ir(this.updatePoint)}}function Pf(t,e){return e?{point:e(t.point)}:t}function X0(t,e){return{x:t.x-e.x,y:t.y-e.y}}function kf({point:t},e){return{point:t,delta:X0(t,OC(e)),offset:X0(t,BI(e)),velocity:HI(e,.1)}}function BI(t){return t[0]}function OC(t){return t[t.length-1]}function HI(t,e){if(t.length<2)return{x:0,y:0};let n=t.length-1,r=null;const i=OC(t);for(;n>=0&&(r=t[n],!(i.timestamp-r.timestamp>kr(e)));)n--;if(!r)return{x:0,y:0};const a=Mr(i.timestamp-r.timestamp);if(a===0)return{x:0,y:0};const o={x:(i.x-r.x)/a,y:(i.y-r.y)/a};return o.x===1/0&&(o.x=0),o.y===1/0&&(o.y=0),o}function wn(t){return t.max-t.min}function Rh(t,e=0,n=.01){return Math.abs(t-e)<=n}function K0(t,e,n,r=.5){t.origin=r,t.originPoint=$e(e.min,e.max,t.origin),t.scale=wn(n)/wn(e),(Rh(t.scale,1,1e-4)||isNaN(t.scale))&&(t.scale=1),t.translate=$e(n.min,n.max,t.origin)-t.originPoint,(Rh(t.translate)||isNaN(t.translate))&&(t.translate=0)}function fs(t,e,n,r){K0(t.x,e.x,n.x,r?r.originX:void 0),K0(t.y,e.y,n.y,r?r.originY:void 0)}function Y0(t,e,n){t.min=n.min+e.min,t.max=t.min+wn(e)}function UI(t,e,n){Y0(t.x,e.x,n.x),Y0(t.y,e.y,n.y)}function Q0(t,e,n){t.min=e.min-n.min,t.max=t.min+wn(e)}function ps(t,e,n){Q0(t.x,e.x,n.x),Q0(t.y,e.y,n.y)}function WI(t,{min:e,max:n},r){return e!==void 0&&tn&&(t=r?$e(n,t,r.max):Math.min(t,n)),t}function Z0(t,e,n){return{min:e!==void 0?t.min+e:void 0,max:n!==void 0?t.max+n-(t.max-t.min):void 0}}function GI(t,{top:e,left:n,bottom:r,right:i}){return{x:Z0(t.x,n,i),y:Z0(t.y,e,r)}}function J0(t,e){let n=e.min-t.min,r=e.max-t.max;return e.max-e.minr?n=zs(e.min,e.max-r,t.min):r>i&&(n=zs(t.min,t.max-i,e.min)),di(0,1,n)}function KI(t,e){const n={};return e.min!==void 0&&(n.min=e.min-t.min),e.max!==void 0&&(n.max=e.max-t.min),n}const Ih=.35;function YI(t=Ih){return t===!1?t=0:t===!0&&(t=Ih),{x:ew(t,"left","right"),y:ew(t,"top","bottom")}}function ew(t,e,n){return{min:tw(t,e),max:tw(t,n)}}function tw(t,e){return typeof t=="number"?t:t[e]||0}const nw=()=>({translate:0,scale:1,origin:0,originPoint:0}),Ia=()=>({x:nw(),y:nw()}),rw=()=>({min:0,max:0}),Je=()=>({x:rw(),y:rw()});function Pn(t){return[t("x"),t("y")]}function AC({top:t,left:e,right:n,bottom:r}){return{x:{min:e,max:n},y:{min:t,max:r}}}function QI({x:t,y:e}){return{top:e.min,right:t.max,bottom:e.max,left:t.min}}function ZI(t,e){if(!e)return t;const n=e({x:t.left,y:t.top}),r=e({x:t.right,y:t.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}function Mf(t){return t===void 0||t===1}function Dh({scale:t,scaleX:e,scaleY:n}){return!Mf(t)||!Mf(e)||!Mf(n)}function Pi(t){return Dh(t)||LC(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function LC(t){return iw(t.x)||iw(t.y)}function iw(t){return t&&t!=="0%"}function hc(t,e,n){const r=t-n,i=e*r;return n+i}function aw(t,e,n,r,i){return i!==void 0&&(t=hc(t,i,r)),hc(t,n,r)+e}function Fh(t,e=0,n=1,r,i){t.min=aw(t.min,e,n,r,i),t.max=aw(t.max,e,n,r,i)}function RC(t,{x:e,y:n}){Fh(t.x,e.translate,e.scale,e.originPoint),Fh(t.y,n.translate,n.scale,n.originPoint)}function JI(t,e,n,r=!1){const i=n.length;if(!i)return;e.x=e.y=1;let a,o;for(let l=0;l1.0000000000001||t<.999999999999?t:1}function Hr(t,e){t.min=t.min+e,t.max=t.max+e}function sw(t,e,[n,r,i]){const a=e[i]!==void 0?e[i]:.5,o=$e(t.min,t.max,a);Fh(t,e[n],e[r],o,e.scale)}const eD=["x","scaleX","originX"],tD=["y","scaleY","originY"];function Da(t,e){sw(t.x,e,eD),sw(t.y,e,tD)}function IC(t,e){return AC(ZI(t.getBoundingClientRect(),e))}function nD(t,e,n){const r=IC(t,n),{scroll:i}=e;return i&&(Hr(r.x,i.offset.x),Hr(r.y,i.offset.y)),r}const DC=({current:t})=>t?t.ownerDocument.defaultView:null,rD=new WeakMap;class iD{constructor(e){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=Je(),this.visualElement=e}start(e,{snapToCursor:n=!1}={}){const{presenceContext:r}=this.visualElement;if(r&&r.isPresent===!1)return;const i=c=>{const{dragSnapToOrigin:d}=this.getProps();d?this.pauseAnimation():this.stopAnimation(),n&&this.snapToCursor(Qc(c,"page").point)},a=(c,d)=>{const{drag:f,dragPropagation:p,onDragStart:w}=this.getProps();if(f&&!p&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=WE(f),!this.openGlobalLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Pn(y=>{let h=this.getAxisMotionValue(y).get()||0;if(cr.test(h)){const{projection:v}=this.visualElement;if(v&&v.layout){const m=v.layout.layoutBox[y];m&&(h=wn(m)*(parseFloat(h)/100))}}this.originPoint[y]=h}),w&&w(c,d);const{animationState:g}=this.visualElement;g&&g.setActive("whileDrag",!0)},o=(c,d)=>{const{dragPropagation:f,dragDirectionLock:p,onDirectionLock:w,onDrag:g}=this.getProps();if(!f&&!this.openGlobalLock)return;const{offset:y}=d;if(p&&this.currentDirection===null){this.currentDirection=aD(y),this.currentDirection!==null&&w&&w(this.currentDirection);return}this.updateAxis("x",d.point,y),this.updateAxis("y",d.point,y),this.visualElement.render(),g&&g(c,d)},l=(c,d)=>this.stop(c,d),s=()=>Pn(c=>{var d;return this.getAnimationState(c)==="paused"&&((d=this.getAxisMotionValue(c).animation)===null||d===void 0?void 0:d.play())}),{dragSnapToOrigin:u}=this.getProps();this.panSession=new MC(e,{onSessionStart:i,onStart:a,onMove:o,onSessionEnd:l,resumeAnimation:s},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:u,contextWindow:DC(this.visualElement)})}stop(e,n){const r=this.isDragging;if(this.cancel(),!r)return;const{velocity:i}=n;this.startAnimation(i);const{onDragEnd:a}=this.getProps();a&&a(e,n)}cancel(){this.isDragging=!1;const{projection:e,animationState:n}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:r}=this.getProps();!r&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),n&&n.setActive("whileDrag",!1)}updateAxis(e,n,r){const{drag:i}=this.getProps();if(!r||!Wl(e,i,this.currentDirection))return;const a=this.getAxisMotionValue(e);let o=this.originPoint[e]+r[e];this.constraints&&this.constraints[e]&&(o=WI(o,this.constraints[e],this.elastic[e])),a.set(o)}resolveConstraints(){var e;const{dragConstraints:n,dragElastic:r}=this.getProps(),i=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(e=this.visualElement.projection)===null||e===void 0?void 0:e.layout,a=this.constraints;n&&La(n)?this.constraints||(this.constraints=this.resolveRefConstraints()):n&&i?this.constraints=GI(i.layoutBox,n):this.constraints=!1,this.elastic=YI(r),a!==this.constraints&&i&&this.constraints&&!this.hasMutatedConstraints&&Pn(o=>{this.getAxisMotionValue(o)&&(this.constraints[o]=KI(i.layoutBox[o],this.constraints[o]))})}resolveRefConstraints(){const{dragConstraints:e,onMeasureDragConstraints:n}=this.getProps();if(!e||!La(e))return!1;const r=e.current,{projection:i}=this.visualElement;if(!i||!i.layout)return!1;const a=nD(r,i.root,this.visualElement.getTransformPagePoint());let o=qI(i.layout.layoutBox,a);if(n){const l=n(QI(o));this.hasMutatedConstraints=!!l,l&&(o=AC(l))}return o}startAnimation(e){const{drag:n,dragMomentum:r,dragElastic:i,dragTransition:a,dragSnapToOrigin:o,onDragTransitionEnd:l}=this.getProps(),s=this.constraints||{},u=Pn(c=>{if(!Wl(c,n,this.currentDirection))return;let d=s&&s[c]||{};o&&(d={min:0,max:0});const f=i?200:1e6,p=i?40:1e7,w={type:"inertia",velocity:r?e[c]:0,bounceStiffness:f,bounceDamping:p,timeConstant:750,restDelta:1,restSpeed:10,...a,...d};return this.startAxisValueAnimation(c,w)});return Promise.all(u).then(l)}startAxisValueAnimation(e,n){const r=this.getAxisMotionValue(e);return r.start(tv(e,r,0,n,this.visualElement))}stopAnimation(){Pn(e=>this.getAxisMotionValue(e).stop())}pauseAnimation(){Pn(e=>{var n;return(n=this.getAxisMotionValue(e).animation)===null||n===void 0?void 0:n.pause()})}getAnimationState(e){var n;return(n=this.getAxisMotionValue(e).animation)===null||n===void 0?void 0:n.state}getAxisMotionValue(e){const n="_drag"+e.toUpperCase(),r=this.visualElement.getProps(),i=r[n];return i||this.visualElement.getValue(e,(r.initial?r.initial[e]:void 0)||0)}snapToCursor(e){Pn(n=>{const{drag:r}=this.getProps();if(!Wl(n,r,this.currentDirection))return;const{projection:i}=this.visualElement,a=this.getAxisMotionValue(n);if(i&&i.layout){const{min:o,max:l}=i.layout.layoutBox[n];a.set(e[n]-$e(o,l,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:e,dragConstraints:n}=this.getProps(),{projection:r}=this.visualElement;if(!La(n)||!r||!this.constraints)return;this.stopAnimation();const i={x:0,y:0};Pn(o=>{const l=this.getAxisMotionValue(o);if(l){const s=l.get();i[o]=XI({min:s,max:s},this.constraints[o])}});const{transformTemplate:a}=this.visualElement.getProps();this.visualElement.current.style.transform=a?a({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.resolveConstraints(),Pn(o=>{if(!Wl(o,e,null))return;const l=this.getAxisMotionValue(o),{min:s,max:u}=this.constraints[o];l.set($e(s,u,i[o]))})}addListeners(){if(!this.visualElement.current)return;rD.set(this.visualElement,this);const e=this.visualElement.current,n=Tr(e,"pointerdown",s=>{const{drag:u,dragListener:c=!0}=this.getProps();u&&c&&this.start(s)}),r=()=>{const{dragConstraints:s}=this.getProps();La(s)&&(this.constraints=this.resolveRefConstraints())},{projection:i}=this.visualElement,a=i.addEventListener("measure",r);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),r();const o=xr(window,"resize",()=>this.scalePositionWithinConstraints()),l=i.addEventListener("didUpdate",({delta:s,hasLayoutChanged:u})=>{this.isDragging&&u&&(Pn(c=>{const d=this.getAxisMotionValue(c);d&&(this.originPoint[c]+=s[c].translate,d.set(d.get()+s[c].translate))}),this.visualElement.render())});return()=>{o(),n(),a(),l&&l()}}getProps(){const e=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:r=!1,dragPropagation:i=!1,dragConstraints:a=!1,dragElastic:o=Ih,dragMomentum:l=!0}=e;return{...e,drag:n,dragDirectionLock:r,dragPropagation:i,dragConstraints:a,dragElastic:o,dragMomentum:l}}}function Wl(t,e,n){return(e===!0||e===t)&&(n===null||n===t)}function aD(t,e=10){let n=null;return Math.abs(t.y)>e?n="y":Math.abs(t.x)>e&&(n="x"),n}class oD extends wi{constructor(e){super(e),this.removeGroupControls=Pt,this.removeListeners=Pt,this.controls=new iD(e)}mount(){const{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Pt}unmount(){this.removeGroupControls(),this.removeListeners()}}const lw=t=>(e,n)=>{t&&t(e,n)};class sD extends wi{constructor(){super(...arguments),this.removePointerDownListener=Pt}onPointerDown(e){this.session=new MC(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:DC(this.node)})}createPanHandlers(){const{onPanSessionStart:e,onPanStart:n,onPan:r,onPanEnd:i}=this.node.getProps();return{onSessionStart:lw(e),onStart:lw(n),onMove:r,onEnd:(a,o)=>{delete this.session,i&&i(a,o)}}}mount(){this.removePointerDownListener=Tr(this.node.current,"pointerdown",e=>this.onPointerDown(e))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}function lD(){const t=S.useContext(Rg);if(t===null)return[!0,null];const{isPresent:e,onExitComplete:n,register:r}=t,i=S.useId();return S.useEffect(()=>r(i),[]),!e&&n?[!1,()=>n&&n(i)]:[!0]}const Su={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function uw(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}const Fo={correct:(t,e)=>{if(!e.target)return t;if(typeof t=="string")if(ue.test(t))t=parseFloat(t);else return t;const n=uw(t,e.target.x),r=uw(t,e.target.y);return`${n}% ${r}%`}},uD={correct:(t,{treeScale:e,projectionDelta:n})=>{const r=t,i=fi.parse(t);if(i.length>5)return r;const a=fi.createTransformer(t),o=typeof i[0]!="number"?1:0,l=n.x.scale*e.x,s=n.y.scale*e.y;i[0+o]/=l,i[1+o]/=s;const u=$e(l,s,.5);return typeof i[2+o]=="number"&&(i[2+o]/=u),typeof i[3+o]=="number"&&(i[3+o]/=u),a(i)}};class cD extends Xe.Component{componentDidMount(){const{visualElement:e,layoutGroup:n,switchLayoutGroup:r,layoutId:i}=this.props,{projection:a}=e;cL(dD),a&&(n.group&&n.group.add(a),r&&r.register&&i&&r.register(a),a.root.didUpdate(),a.addEventListener("animationComplete",()=>{this.safeToRemove()}),a.setOptions({...a.options,onExitComplete:()=>this.safeToRemove()})),Su.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){const{layoutDependency:n,visualElement:r,drag:i,isPresent:a}=this.props,o=r.projection;return o&&(o.isPresent=a,i||e.layoutDependency!==n||n===void 0?o.willUpdate():this.safeToRemove(),e.isPresent!==a&&(a?o.promote():o.relegate()||mt.postRender(()=>{const l=o.getStack();(!l||!l.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:e}=this.props.visualElement;e&&(e.root.didUpdate(),Fg.postRender(()=>{!e.currentAnimation&&e.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:e,layoutGroup:n,switchLayoutGroup:r}=this.props,{projection:i}=e;i&&(i.scheduleCheckAfterUnmount(),n&&n.group&&n.group.remove(i),r&&r.deregister&&r.deregister(i))}safeToRemove(){const{safeToRemove:e}=this.props;e&&e()}render(){return null}}function FC(t){const[e,n]=lD(),r=S.useContext(OE);return Xe.createElement(cD,{...t,layoutGroup:r,switchLayoutGroup:S.useContext(AE),isPresent:e,safeToRemove:n})}const dD={borderRadius:{...Fo,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Fo,borderTopRightRadius:Fo,borderBottomLeftRadius:Fo,borderBottomRightRadius:Fo,boxShadow:uD},NC=["TopLeft","TopRight","BottomLeft","BottomRight"],fD=NC.length,cw=t=>typeof t=="string"?parseFloat(t):t,dw=t=>typeof t=="number"||ue.test(t);function pD(t,e,n,r,i,a){i?(t.opacity=$e(0,n.opacity!==void 0?n.opacity:1,hD(r)),t.opacityExit=$e(e.opacity!==void 0?e.opacity:1,0,mD(r))):a&&(t.opacity=$e(e.opacity!==void 0?e.opacity:1,n.opacity!==void 0?n.opacity:1,r));for(let o=0;ore?1:n(zs(t,e,r))}function pw(t,e){t.min=e.min,t.max=e.max}function Cn(t,e){pw(t.x,e.x),pw(t.y,e.y)}function hw(t,e,n,r,i){return t-=e,t=hc(t,1/n,r),i!==void 0&&(t=hc(t,1/i,r)),t}function gD(t,e=0,n=1,r=.5,i,a=t,o=t){if(cr.test(e)&&(e=parseFloat(e),e=$e(o.min,o.max,e/100)-o.min),typeof e!="number")return;let l=$e(a.min,a.max,r);t===a&&(l-=e),t.min=hw(t.min,e,n,l,i),t.max=hw(t.max,e,n,l,i)}function mw(t,e,[n,r,i],a,o){gD(t,e[n],e[r],e[i],e.scale,a,o)}const vD=["x","scaleX","originX"],yD=["y","scaleY","originY"];function gw(t,e,n,r){mw(t.x,e,vD,n?n.x:void 0,r?r.x:void 0),mw(t.y,e,yD,n?n.y:void 0,r?r.y:void 0)}function vw(t){return t.translate===0&&t.scale===1}function VC(t){return vw(t.x)&&vw(t.y)}function wD(t,e){return t.x.min===e.x.min&&t.x.max===e.x.max&&t.y.min===e.y.min&&t.y.max===e.y.max}function jC(t,e){return Math.round(t.x.min)===Math.round(e.x.min)&&Math.round(t.x.max)===Math.round(e.x.max)&&Math.round(t.y.min)===Math.round(e.y.min)&&Math.round(t.y.max)===Math.round(e.y.max)}function yw(t){return wn(t.x)/wn(t.y)}class bD{constructor(){this.members=[]}add(e){nv(this.members,e),e.scheduleRender()}remove(e){if(rv(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){const n=this.members[this.members.length-1];n&&this.promote(n)}}relegate(e){const n=this.members.findIndex(i=>e===i);if(n===0)return!1;let r;for(let i=n;i>=0;i--){const a=this.members[i];if(a.isPresent!==!1){r=a;break}}return r?(this.promote(r),!0):!1}promote(e,n){const r=this.lead;if(e!==r&&(this.prevLead=r,this.lead=e,e.show(),r)){r.instance&&r.scheduleRender(),e.scheduleRender(),e.resumeFrom=r,n&&(e.resumeFrom.preserveOpacity=!0),r.snapshot&&(e.snapshot=r.snapshot,e.snapshot.latestValues=r.animationValues||r.latestValues),e.root&&e.root.isUpdating&&(e.isLayoutDirty=!0);const{crossfade:i}=e.options;i===!1&&r.hide()}}exitAnimationComplete(){this.members.forEach(e=>{const{options:n,resumingFrom:r}=e;n.onExitComplete&&n.onExitComplete(),r&&r.options.onExitComplete&&r.options.onExitComplete()})}scheduleRender(){this.members.forEach(e=>{e.instance&&e.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function ww(t,e,n){let r="";const i=t.x.translate/e.x,a=t.y.translate/e.y,o=(n==null?void 0:n.z)||0;if((i||a||o)&&(r=`translate3d(${i}px, ${a}px, ${o}px) `),(e.x!==1||e.y!==1)&&(r+=`scale(${1/e.x}, ${1/e.y}) `),n){const{rotate:u,rotateX:c,rotateY:d,skewX:f,skewY:p}=n;u&&(r+=`rotate(${u}deg) `),c&&(r+=`rotateX(${c}deg) `),d&&(r+=`rotateY(${d}deg) `),f&&(r+=`skewX(${f}deg) `),p&&(r+=`skewY(${p}deg) `)}const l=t.x.scale*e.x,s=t.y.scale*e.y;return(l!==1||s!==1)&&(r+=`scale(${l}, ${s})`),r||"none"}const SD=(t,e)=>t.depth-e.depth;class xD{constructor(){this.children=[],this.isDirty=!1}add(e){nv(this.children,e),this.isDirty=!0}remove(e){rv(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(SD),this.isDirty=!1,this.children.forEach(e)}}function ED(t,e){const n=oi.now(),r=({timestamp:i})=>{const a=i-n;a>=e&&(Ir(r),t(a-e))};return mt.read(r,!0),()=>Ir(r)}function CD(t){window.MotionDebug&&window.MotionDebug.record(t)}function TD(t){return t instanceof SVGElement&&t.tagName!=="svg"}function PD(t,e,n){const r=Et(t)?t:ro(t);return r.start(tv("",r,e,n)),r.animation}const Of=["","X","Y","Z"],kD={visibility:"hidden"},bw=1e3;let MD=0;const ki={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0};function Af(t,e,n,r){const{latestValues:i}=e;i[t]&&(n[t]=i[t],e.setStaticValue(t,0),r&&(r[t]=0))}function $C({attachResizeListener:t,defaultParent:e,measureScroll:n,checkIsScrollRoot:r,resetTransform:i}){return class{constructor(o={},l=e==null?void 0:e()){this.id=MD++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,ki.totalNodes=ki.resolvedTargetDeltas=ki.recalculatedProjection=0,this.nodes.forEach(LD),this.nodes.forEach(ND),this.nodes.forEach(_D),this.nodes.forEach(RD),CD(ki)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=o,this.root=l?l.root||l:this,this.path=l?[...l.path,l]:[],this.parent=l,this.depth=l?l.depth+1:0;for(let s=0;sthis.root.updateBlockedByResize=!1;t(o,()=>{this.root.updateBlockedByResize=!0,d&&d(),d=ED(f,250),Su.hasAnimatedSinceResize&&(Su.hasAnimatedSinceResize=!1,this.nodes.forEach(xw))})}s&&this.root.registerSharedNode(s,this),this.options.animate!==!1&&c&&(s||u)&&this.addEventListener("didUpdate",({delta:d,hasLayoutChanged:f,hasRelativeTargetChanged:p,layout:w})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const g=this.options.transition||c.getDefaultTransition()||BD,{onLayoutAnimationStart:y,onLayoutAnimationComplete:h}=c.getProps(),v=!this.targetLayout||!jC(this.targetLayout,w)||p,m=!f&&p;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||m||f&&(v||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(d,m);const b={...qg(g,"layout"),onPlay:y,onComplete:h};(c.shouldReduceMotion||this.options.layoutRoot)&&(b.delay=0,b.type=!1),this.startAnimation(b)}else f||xw(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=w})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const o=this.getStack();o&&o.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,Ir(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(VD),this.animationId++)}getTransformTemplate(){const{visualElement:o}=this.options;return o&&o.getProps().transformTemplate}willUpdate(o=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let c=0;cthis.update()))}clearAllSnapshots(){this.nodes.forEach(ID),this.sharedNodes.forEach(jD)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,mt.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){mt.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure())}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let s=0;s{const E=b/1e3;Ew(d.x,o.x,E),Ew(d.y,o.y,E),this.setTargetDelta(d),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(ps(f,this.layout.layoutBox,this.relativeParent.layout.layoutBox),$D(this.relativeTarget,this.relativeTargetOrigin,f,E),m&&wD(this.relativeTarget,m)&&(this.isProjectionDirty=!1),m||(m=Je()),Cn(m,this.relativeTarget)),g&&(this.animationValues=c,pD(c,u,this.latestValues,E,v,h)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=E},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(o){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(Ir(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=mt.update(()=>{Su.hasAnimatedSinceResize=!0,this.currentAnimation=PD(0,bw,{...o,onUpdate:l=>{this.mixTargetDelta(l),o.onUpdate&&o.onUpdate(l)},onComplete:()=>{o.onComplete&&o.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const o=this.getStack();o&&o.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(bw),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const o=this.getLead();let{targetWithTransforms:l,target:s,layout:u,latestValues:c}=o;if(!(!l||!s||!u)){if(this!==o&&this.layout&&u&&zC(this.options.animationType,this.layout.layoutBox,u.layoutBox)){s=this.target||Je();const d=wn(this.layout.layoutBox.x);s.x.min=o.target.x.min,s.x.max=s.x.min+d;const f=wn(this.layout.layoutBox.y);s.y.min=o.target.y.min,s.y.max=s.y.min+f}Cn(l,s),Da(l,c),fs(this.projectionDeltaWithTransform,this.layoutCorrected,l,c)}}registerSharedNode(o,l){this.sharedNodes.has(o)||this.sharedNodes.set(o,new bD),this.sharedNodes.get(o).add(l);const u=l.options.initialPromotionConfig;l.promote({transition:u?u.transition:void 0,preserveFollowOpacity:u&&u.shouldPreserveFollowOpacity?u.shouldPreserveFollowOpacity(l):void 0})}isLead(){const o=this.getStack();return o?o.lead===this:!0}getLead(){var o;const{layoutId:l}=this.options;return l?((o=this.getStack())===null||o===void 0?void 0:o.lead)||this:this}getPrevLead(){var o;const{layoutId:l}=this.options;return l?(o=this.getStack())===null||o===void 0?void 0:o.prevLead:void 0}getStack(){const{layoutId:o}=this.options;if(o)return this.root.sharedNodes.get(o)}promote({needsReset:o,transition:l,preserveFollowOpacity:s}={}){const u=this.getStack();u&&u.promote(this,s),o&&(this.projectionDelta=void 0,this.needsReset=!0),l&&this.setOptions({transition:l})}relegate(){const o=this.getStack();return o?o.relegate(this):!1}resetSkewAndRotation(){const{visualElement:o}=this.options;if(!o)return;let l=!1;const{latestValues:s}=o;if((s.z||s.rotate||s.rotateX||s.rotateY||s.rotateZ||s.skewX||s.skewY)&&(l=!0),!l)return;const u={};s.z&&Af("z",o,u,this.animationValues);for(let c=0;c{var l;return(l=o.currentAnimation)===null||l===void 0?void 0:l.stop()}),this.root.nodes.forEach(Sw),this.root.sharedNodes.clear()}}}function OD(t){t.updateLayout()}function AD(t){var e;const n=((e=t.resumeFrom)===null||e===void 0?void 0:e.snapshot)||t.snapshot;if(t.isLead()&&t.layout&&n&&t.hasListeners("didUpdate")){const{layoutBox:r,measuredBox:i}=t.layout,{animationType:a}=t.options,o=n.source!==t.layout.source;a==="size"?Pn(d=>{const f=o?n.measuredBox[d]:n.layoutBox[d],p=wn(f);f.min=r[d].min,f.max=f.min+p}):zC(a,n.layoutBox,r)&&Pn(d=>{const f=o?n.measuredBox[d]:n.layoutBox[d],p=wn(r[d]);f.max=f.min+p,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[d].max=t.relativeTarget[d].min+p)});const l=Ia();fs(l,r,n.layoutBox);const s=Ia();o?fs(s,t.applyTransform(i,!0),n.measuredBox):fs(s,r,n.layoutBox);const u=!VC(l);let c=!1;if(!t.resumeFrom){const d=t.getClosestProjectingParent();if(d&&!d.resumeFrom){const{snapshot:f,layout:p}=d;if(f&&p){const w=Je();ps(w,n.layoutBox,f.layoutBox);const g=Je();ps(g,r,p.layoutBox),jC(w,g)||(c=!0),d.options.layoutRoot&&(t.relativeTarget=g,t.relativeTargetOrigin=w,t.relativeParent=d)}}}t.notifyListeners("didUpdate",{layout:r,snapshot:n,delta:s,layoutDelta:l,hasLayoutChanged:u,hasRelativeTargetChanged:c})}else if(t.isLead()){const{onExitComplete:r}=t.options;r&&r()}t.options.transition=void 0}function LD(t){ki.totalNodes++,t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=!!(t.isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function RD(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function ID(t){t.clearSnapshot()}function Sw(t){t.clearMeasurements()}function DD(t){t.isLayoutDirty=!1}function FD(t){const{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function xw(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function ND(t){t.resolveTargetDelta()}function _D(t){t.calcProjection()}function VD(t){t.resetSkewAndRotation()}function jD(t){t.removeLeadSnapshot()}function Ew(t,e,n){t.translate=$e(e.translate,0,n),t.scale=$e(e.scale,1,n),t.origin=e.origin,t.originPoint=e.originPoint}function Cw(t,e,n,r){t.min=$e(e.min,n.min,r),t.max=$e(e.max,n.max,r)}function $D(t,e,n,r){Cw(t.x,e.x,n.x,r),Cw(t.y,e.y,n.y,r)}function zD(t){return t.animationValues&&t.animationValues.opacityExit!==void 0}const BD={duration:.45,ease:[.4,0,.1,1]},Tw=t=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),Pw=Tw("applewebkit/")&&!Tw("chrome/")?Math.round:Pt;function kw(t){t.min=Pw(t.min),t.max=Pw(t.max)}function HD(t){kw(t.x),kw(t.y)}function zC(t,e,n){return t==="position"||t==="preserve-aspect"&&!Rh(yw(e),yw(n),.2)}const UD=$C({attachResizeListener:(t,e)=>xr(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),Lf={current:void 0},BC=$C({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!Lf.current){const t=new UD({});t.mount(window),t.setOptions({layoutScroll:!0}),Lf.current=t}return Lf.current},resetTransform:(t,e)=>{t.style.transform=e!==void 0?e:"none"},checkIsScrollRoot:t=>window.getComputedStyle(t).position==="fixed"}),WD={pan:{Feature:sD},drag:{Feature:oD,ProjectionNode:BC,MeasureLayout:FC}},Nh={current:null},HC={current:!1};function GD(){if(HC.current=!0,!!Ig)if(window.matchMedia){const t=window.matchMedia("(prefers-reduced-motion)"),e=()=>Nh.current=t.matches;t.addListener(e),e()}else Nh.current=!1}function qD(t,e,n){const{willChange:r}=e;for(const i in e){const a=e[i],o=n[i];if(Et(a))t.addValue(i,a),pc(r)&&r.add(i);else if(Et(o))t.addValue(i,ro(a,{owner:t})),pc(r)&&r.remove(i);else if(o!==a)if(t.hasValue(i)){const l=t.getValue(i);l.liveStyle===!0?l.jump(a):l.hasAnimated||l.set(a)}else{const l=t.getStaticValue(i);t.addValue(i,ro(l!==void 0?l:a,{owner:t}))}}for(const i in n)e[i]===void 0&&t.removeValue(i);return e}const Mw=new WeakMap,XD=[...eC,Ft,fi],KD=t=>XD.find(JE(t)),UC=Object.keys($s),YD=UC.length,Ow=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],QD=_g.length;class ZD{constructor({parent:e,props:n,presenceContext:r,reducedMotionConfig:i,blockInitialAnimation:a,visualState:o},l={}){this.resolveKeyframes=(f,p,w,g)=>new this.KeyframeResolver(f,p,w,g,this),this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=Xg,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.scheduleRender=()=>mt.render(this.render,!1,!0);const{latestValues:s,renderState:u}=o;this.latestValues=s,this.baseTarget={...s},this.initialValues=n.initial?{...s}:{},this.renderState=u,this.parent=e,this.props=n,this.presenceContext=r,this.depth=e?e.depth+1:0,this.reducedMotionConfig=i,this.options=l,this.blockInitialAnimation=!!a,this.isControllingVariants=Yc(n),this.isVariantNode=ME(n),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(e&&e.current);const{willChange:c,...d}=this.scrapeMotionValuesFromProps(n,{},this);for(const f in d){const p=d[f];s[f]!==void 0&&Et(p)&&(p.set(s[f],!1),pc(c)&&c.add(f))}}scrapeMotionValuesFromProps(e,n,r){return{}}mount(e){this.current=e,Mw.set(e,this),this.projection&&!this.projection.instance&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((n,r)=>this.bindToMotionValue(r,n)),HC.current||GD(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:Nh.current,this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){Mw.delete(this.current),this.projection&&this.projection.unmount(),Ir(this.notifyUpdate),Ir(this.render),this.valueSubscriptions.forEach(e=>e()),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const e in this.events)this.events[e].clear();for(const e in this.features)this.features[e].unmount();this.current=null}bindToMotionValue(e,n){const r=ta.has(e),i=n.on("change",o=>{this.latestValues[e]=o,this.props.onUpdate&&mt.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0)}),a=n.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(e,()=>{i(),a(),n.owner&&n.stop()})}sortNodePosition(e){return!this.current||!this.sortInstanceNodePosition||this.type!==e.type?0:this.sortInstanceNodePosition(this.current,e.current)}loadFeatures({children:e,...n},r,i,a){let o,l;for(let s=0;sthis.scheduleRender(),animationType:typeof u=="string"?u:"both",initialPromotionConfig:a,layoutScroll:f,layoutRoot:p})}return l}updateFeatures(){for(const e in this.features){const n=this.features[e];n.isMounted?n.update():(n.mount(),n.isMounted=!0)}}triggerBuild(){this.build(this.renderState,this.latestValues,this.options,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):Je()}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,n){this.latestValues[e]=n}update(e,n){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=n;for(let r=0;rn.variantChildren.delete(e)}addValue(e,n){n!==this.values.get(e)&&(this.removeValue(e),this.bindToMotionValue(e,n)),this.values.set(e,n),this.latestValues[e]=n.get()}removeValue(e){this.values.delete(e);const n=this.valueSubscriptions.get(e);n&&(n(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,n){if(this.props.values&&this.props.values[e])return this.props.values[e];let r=this.values.get(e);return r===void 0&&n!==void 0&&(r=ro(n===null?void 0:n,{owner:this}),this.addValue(e,r)),r}readValue(e,n){var r;let i=this.latestValues[e]!==void 0||!this.current?this.latestValues[e]:(r=this.getBaseTargetFromProps(this.props,e))!==null&&r!==void 0?r:this.readValueFromInstance(this.current,e,this.options);return i!=null&&(typeof i=="string"&&(QE(i)||KE(i))?i=parseFloat(i):!KD(i)&&fi.test(n)&&(i=lC(e,n)),this.setBaseTarget(e,Et(i)?i.get():i)),Et(i)?i.get():i}setBaseTarget(e,n){this.baseTarget[e]=n}getBaseTarget(e){var n,r;const{initial:i}=this.props,a=typeof i=="string"||typeof i=="object"?(r=Gg(this.props,i,(n=this.presenceContext)===null||n===void 0?void 0:n.custom))===null||r===void 0?void 0:r[e]:void 0;if(i&&a!==void 0)return a;const o=this.getBaseTargetFromProps(this.props,e);return o!==void 0&&!Et(o)?o:this.initialValues[e]!==void 0&&a===void 0?void 0:this.baseTarget[e]}on(e,n){return this.events[e]||(this.events[e]=new iv),this.events[e].add(n)}notify(e,...n){this.events[e]&&this.events[e].notify(...n)}}class WC extends ZD{constructor(){super(...arguments),this.KeyframeResolver=uC}sortInstanceNodePosition(e,n){return e.compareDocumentPosition(n)&2?1:-1}getBaseTargetFromProps(e,n){return e.style?e.style[n]:void 0}removeValueFromRenderState(e,{vars:n,style:r}){delete n[e],delete r[e]}}function JD(t){return window.getComputedStyle(t)}class eF extends WC{constructor(){super(...arguments),this.type="html"}readValueFromInstance(e,n){if(ta.has(n)){const r=Yg(n);return r&&r.default||0}else{const r=JD(e),i=(IE(n)?r.getPropertyValue(n):r[n])||0;return typeof i=="string"?i.trim():i}}measureInstanceViewportBox(e,{transformPagePoint:n}){return IC(e,n)}build(e,n,r,i){zg(e,n,r,i.transformTemplate)}scrapeMotionValuesFromProps(e,n,r){return Wg(e,n,r)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:e}=this.props;Et(e)&&(this.childSubscription=e.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}renderInstance(e,n,r,i){VE(e,n,r,i)}}class tF extends WC{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1}getBaseTargetFromProps(e,n){return e[n]}readValueFromInstance(e,n){if(ta.has(n)){const r=Yg(n);return r&&r.default||0}return n=jE.has(n)?n:Dg(n),e.getAttribute(n)}measureInstanceViewportBox(){return Je()}scrapeMotionValuesFromProps(e,n){return zE(e,n,this)}build(e,n,r,i){Hg(e,n,r,this.isSVGTag,i.transformTemplate)}renderInstance(e,n,r,i){$E(e,n,r,i)}mount(e){this.isSVGTag=Ug(e.tagName),super.mount(e)}}const nF=(t,e)=>Vg(t)?new tF(e,{enableHardwareAcceleration:!1}):new eF(e,{enableHardwareAcceleration:!0}),rF={layout:{ProjectionNode:BC,MeasureLayout:FC}},iF={...$I,...ZL,...WD,...rF},GC=lL((t,e)=>jL(t,e,iF,nF)),qC=S.createContext(null);function aF(t,e,n,r){if(!r)return t;const i=t.findIndex(c=>c.value===e);if(i===-1)return t;const a=r>0?1:-1,o=t[i+a];if(!o)return t;const l=t[i],s=o.layout,u=$e(s.min,s.max,.5);return a===1&&l.layout.max+n>u||a===-1&&l.layout.min+nGC(e)),s=[],u=S.useRef(!1),c={axis:n,registerItem:(d,f)=>{const p=s.findIndex(w=>d===w.value);p!==-1?s[p].layout=f[n]:s.push({value:d,layout:f[n]}),s.sort(uF)},updateOrder:(d,f,p)=>{if(u.current)return;const w=aF(s,d,f,p);s!==w&&(u.current=!0,r(w.map(lF).filter(g=>i.indexOf(g)!==-1)))}};return S.useEffect(()=>{u.current=!1}),S.createElement(l,{...a,ref:o,ignoreStrict:!0},S.createElement(qC.Provider,{value:c},t))}const sF=S.forwardRef(oF);function lF(t){return t.value}function uF(t,e){return t.layout.min-e.layout.min}function XC(t){const e=ll(()=>ro(t)),{isStatic:n}=S.useContext(Lg);if(n){const[,r]=S.useState(t);S.useEffect(()=>e.on("change",r),[])}return e}const cF=t=>t&&typeof t=="object"&&t.mix,dF=t=>cF(t)?t.mix:void 0;function fF(...t){const e=!Array.isArray(t[0]),n=e?0:-1,r=t[0+n],i=t[1+n],a=t[2+n],o=t[3+n],l=xC(i,a,{mixer:dF(a[0]),...o});return e?l(r):l}function KC(t,e){const n=XC(e()),r=()=>n.set(e());return r(),CE(()=>{const i=()=>mt.update(r,!1,!0),a=t.map(o=>o.on("change",i));return()=>{a.forEach(o=>o()),Ir(r)}}),n}function pF(t){ds.current=[],t();const e=KC(ds.current,t);return ds.current=void 0,e}function hF(t,e,n,r){if(typeof t=="function")return pF(t);const i=typeof e=="function"?e:fF(e,n,r);return Array.isArray(t)?Aw(t,i):Aw([t],([a])=>i(a))}function Aw(t,e){const n=ll(()=>[]);return KC(t,()=>{n.length=0;const r=t.length;for(let i=0;iGC(r)),u=S.useContext(qC),c={x:Lw(e.x),y:Lw(e.y)},d=hF([c.x,c.y],([g,y])=>g||y?1:"unset"),{axis:f,registerItem:p,updateOrder:w}=u;return S.createElement(s,{drag:f,...o,dragSnapToOrigin:!0,style:{...e,x:c.x,y:c.y,zIndex:d},layout:a,onDrag:(g,y)=>{const{velocity:h}=y;h[f]&&w(n,c[f].get(),h[f]),i&&i(g,y)},onLayoutMeasure:g=>p(n,g),ref:l,ignoreStrict:!0},t)}const gF=S.forwardRef(mF),Rw={Group:sF,Item:gF},vF="_heading_8v9q8_1",yF="_maintainerContainer_8v9q8_6",wF="_contributor_8v9q8_10",bF="_contributionContainer_8v9q8_15",Go={heading:vF,maintainerContainer:yF,contributor:wF,contributionContainer:bF};function Rf({username:t,avatar:e}){return V.jsx("a",{href:`https://github.com/${t}`,title:t,className:Go.contributor,target:"_blank",rel:"noreferrer",children:V.jsx("img",{src:`https://avatars.githubusercontent.com/u/${e}`,alt:t,loading:"lazy"})})}const SF=[{username:"sadanandpai",avatar:"12962887"},{username:"arpansaha13",avatar:"82361490"}];var av={exports:{}},YC=function(e,n){return function(){for(var i=new Array(arguments.length),a=0;a"u"}function EF(t){return t!==null&&!_h(t)&&t.constructor!==null&&!_h(t.constructor)&&typeof t.constructor.isBuffer=="function"&&t.constructor.isBuffer(t)}function CF(t){return na.call(t)==="[object ArrayBuffer]"}function TF(t){return typeof FormData<"u"&&t instanceof FormData}function PF(t){var e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?e=ArrayBuffer.isView(t):e=t&&t.buffer&&t.buffer instanceof ArrayBuffer,e}function kF(t){return typeof t=="string"}function MF(t){return typeof t=="number"}function QC(t){return t!==null&&typeof t=="object"}function xu(t){if(na.call(t)!=="[object Object]")return!1;var e=Object.getPrototypeOf(t);return e===null||e===Object.prototype}function OF(t){return na.call(t)==="[object Date]"}function AF(t){return na.call(t)==="[object File]"}function LF(t){return na.call(t)==="[object Blob]"}function ZC(t){return na.call(t)==="[object Function]"}function RF(t){return QC(t)&&ZC(t.pipe)}function IF(t){return typeof URLSearchParams<"u"&&t instanceof URLSearchParams}function DF(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}function FF(){return typeof navigator<"u"&&(navigator.product==="ReactNative"||navigator.product==="NativeScript"||navigator.product==="NS")?!1:typeof window<"u"&&typeof document<"u"}function sv(t,e){if(!(t===null||typeof t>"u"))if(typeof t!="object"&&(t=[t]),ov(t))for(var n=0,r=t.length;n"u"||(da.isArray(s)?u=u+"[]":s=[s],da.forEach(s,function(d){da.isDate(d)?d=d.toISOString():da.isObject(d)&&(d=JSON.stringify(d)),a.push(Iw(u)+"="+Iw(d))}))}),i=a.join("&")}if(i){var o=e.indexOf("#");o!==-1&&(e=e.slice(0,o)),e+=(e.indexOf("?")===-1?"?":"&")+i}return e},VF=xn;function ed(){this.handlers=[]}ed.prototype.use=function(e,n,r){return this.handlers.push({fulfilled:e,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1};ed.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)};ed.prototype.forEach=function(e){VF.forEach(this.handlers,function(r){r!==null&&e(r)})};var jF=ed,$F=xn,zF=function(e,n){$F.forEach(e,function(i,a){a!==n&&a.toUpperCase()===n.toUpperCase()&&(e[n]=i,delete e[a])})},eT=function(e,n,r,i,a){return e.config=n,r&&(e.code=r),e.request=i,e.response=a,e.isAxiosError=!0,e.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code}},e},If,Dw;function tT(){if(Dw)return If;Dw=1;var t=eT;return If=function(n,r,i,a,o){var l=new Error(n);return t(l,r,i,a,o)},If}var Df,Fw;function BF(){if(Fw)return Df;Fw=1;var t=tT();return Df=function(n,r,i){var a=i.config.validateStatus;!i.status||!a||a(i.status)?n(i):r(t("Request failed with status code "+i.status,i.config,null,i.request,i))},Df}var Ff,Nw;function HF(){if(Nw)return Ff;Nw=1;var t=xn;return Ff=t.isStandardBrowserEnv()?function(){return{write:function(r,i,a,o,l,s){var u=[];u.push(r+"="+encodeURIComponent(i)),t.isNumber(a)&&u.push("expires="+new Date(a).toGMTString()),t.isString(o)&&u.push("path="+o),t.isString(l)&&u.push("domain="+l),s===!0&&u.push("secure"),document.cookie=u.join("; ")},read:function(r){var i=document.cookie.match(new RegExp("(^|;\\s*)("+r+")=([^;]*)"));return i?decodeURIComponent(i[3]):null},remove:function(r){this.write(r,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}(),Ff}var Nf,_w;function UF(){return _w||(_w=1,Nf=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}),Nf}var _f,Vw;function WF(){return Vw||(Vw=1,_f=function(e,n){return n?e.replace(/\/+$/,"")+"/"+n.replace(/^\/+/,""):e}),_f}var Vf,jw;function GF(){if(jw)return Vf;jw=1;var t=UF(),e=WF();return Vf=function(r,i){return r&&!t(i)?e(r,i):i},Vf}var jf,$w;function qF(){if($w)return jf;$w=1;var t=xn,e=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];return jf=function(r){var i={},a,o,l;return r&&t.forEach(r.split(` +`),function(u){if(l=u.indexOf(":"),a=t.trim(u.substr(0,l)).toLowerCase(),o=t.trim(u.substr(l+1)),a){if(i[a]&&e.indexOf(a)>=0)return;a==="set-cookie"?i[a]=(i[a]?i[a]:[]).concat([o]):i[a]=i[a]?i[a]+", "+o:o}}),i},jf}var $f,zw;function XF(){if(zw)return $f;zw=1;var t=xn;return $f=t.isStandardBrowserEnv()?function(){var n=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a"),i;function a(o){var l=o;return n&&(r.setAttribute("href",l),l=r.href),r.setAttribute("href",l),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:r.pathname.charAt(0)==="/"?r.pathname:"/"+r.pathname}}return i=a(window.location.href),function(l){var s=t.isString(l)?a(l):l;return s.protocol===i.protocol&&s.host===i.host}}():function(){return function(){return!0}}(),$f}var zf,Bw;function Hw(){if(Bw)return zf;Bw=1;var t=xn,e=BF(),n=HF(),r=JC,i=GF(),a=qF(),o=XF(),l=tT();return zf=function(u){return new Promise(function(d,f){var p=u.data,w=u.headers,g=u.responseType;t.isFormData(p)&&delete w["Content-Type"];var y=new XMLHttpRequest;if(u.auth){var h=u.auth.username||"",v=u.auth.password?unescape(encodeURIComponent(u.auth.password)):"";w.Authorization="Basic "+btoa(h+":"+v)}var m=i(u.baseURL,u.url);y.open(u.method.toUpperCase(),r(m,u.params,u.paramsSerializer),!0),y.timeout=u.timeout;function b(){if(y){var x="getAllResponseHeaders"in y?a(y.getAllResponseHeaders()):null,C=!g||g==="text"||g==="json"?y.responseText:y.response,T={data:C,status:y.status,statusText:y.statusText,headers:x,config:u,request:y};e(d,f,T),y=null}}if("onloadend"in y?y.onloadend=b:y.onreadystatechange=function(){!y||y.readyState!==4||y.status===0&&!(y.responseURL&&y.responseURL.indexOf("file:")===0)||setTimeout(b)},y.onabort=function(){y&&(f(l("Request aborted",u,"ECONNABORTED",y)),y=null)},y.onerror=function(){f(l("Network Error",u,null,y)),y=null},y.ontimeout=function(){var C="timeout of "+u.timeout+"ms exceeded";u.timeoutErrorMessage&&(C=u.timeoutErrorMessage),f(l(C,u,u.transitional&&u.transitional.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",y)),y=null},t.isStandardBrowserEnv()){var E=(u.withCredentials||o(m))&&u.xsrfCookieName?n.read(u.xsrfCookieName):void 0;E&&(w[u.xsrfHeaderName]=E)}"setRequestHeader"in y&&t.forEach(w,function(C,T){typeof p>"u"&&T.toLowerCase()==="content-type"?delete w[T]:y.setRequestHeader(T,C)}),t.isUndefined(u.withCredentials)||(y.withCredentials=!!u.withCredentials),g&&g!=="json"&&(y.responseType=u.responseType),typeof u.onDownloadProgress=="function"&&y.addEventListener("progress",u.onDownloadProgress),typeof u.onUploadProgress=="function"&&y.upload&&y.upload.addEventListener("progress",u.onUploadProgress),u.cancelToken&&u.cancelToken.promise.then(function(C){y&&(y.abort(),f(C),y=null)}),p||(p=null),y.send(p)})},zf}var St=xn,Uw=zF,KF=eT,YF={"Content-Type":"application/x-www-form-urlencoded"};function Ww(t,e){!St.isUndefined(t)&&St.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}function QF(){var t;return(typeof XMLHttpRequest<"u"||typeof process<"u"&&Object.prototype.toString.call(process)==="[object process]")&&(t=Hw()),t}function ZF(t,e,n){if(St.isString(t))try{return(e||JSON.parse)(t),St.trim(t)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(t)}var td={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:QF(),transformRequest:[function(e,n){return Uw(n,"Accept"),Uw(n,"Content-Type"),St.isFormData(e)||St.isArrayBuffer(e)||St.isBuffer(e)||St.isStream(e)||St.isFile(e)||St.isBlob(e)?e:St.isArrayBufferView(e)?e.buffer:St.isURLSearchParams(e)?(Ww(n,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):St.isObject(e)||n&&n["Content-Type"]==="application/json"?(Ww(n,"application/json"),ZF(e)):e}],transformResponse:[function(e){var n=this.transitional,r=n&&n.silentJSONParsing,i=n&&n.forcedJSONParsing,a=!r&&this.responseType==="json";if(a||i&&St.isString(e)&&e.length)try{return JSON.parse(e)}catch(o){if(a)throw o.name==="SyntaxError"?KF(o,this,"E_JSON_PARSE"):o}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(e){return e>=200&&e<300}};td.headers={common:{Accept:"application/json, text/plain, */*"}};St.forEach(["delete","get","head"],function(e){td.headers[e]={}});St.forEach(["post","put","patch"],function(e){td.headers[e]=St.merge(YF)});var lv=td,JF=xn,eN=lv,tN=function(e,n,r){var i=this||eN;return JF.forEach(r,function(o){e=o.call(i,e,n)}),e},Bf,Gw;function nT(){return Gw||(Gw=1,Bf=function(e){return!!(e&&e.__CANCEL__)}),Bf}var qw=xn,Hf=tN,nN=nT(),rN=lv;function Uf(t){t.cancelToken&&t.cancelToken.throwIfRequested()}var iN=function(e){Uf(e),e.headers=e.headers||{},e.data=Hf.call(e,e.data,e.headers,e.transformRequest),e.headers=qw.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),qw.forEach(["delete","get","head","post","put","patch","common"],function(i){delete e.headers[i]});var n=e.adapter||rN.adapter;return n(e).then(function(i){return Uf(e),i.data=Hf.call(e,i.data,i.headers,e.transformResponse),i},function(i){return nN(i)||(Uf(e),i&&i.response&&(i.response.data=Hf.call(e,i.response.data,i.response.headers,e.transformResponse))),Promise.reject(i)})},It=xn,rT=function(e,n){n=n||{};var r={},i=["url","method","data"],a=["headers","auth","proxy","params"],o=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],l=["validateStatus"];function s(f,p){return It.isPlainObject(f)&&It.isPlainObject(p)?It.merge(f,p):It.isPlainObject(p)?It.merge({},p):It.isArray(p)?p.slice():p}function u(f){It.isUndefined(n[f])?It.isUndefined(e[f])||(r[f]=s(void 0,e[f])):r[f]=s(e[f],n[f])}It.forEach(i,function(p){It.isUndefined(n[p])||(r[p]=s(void 0,n[p]))}),It.forEach(a,u),It.forEach(o,function(p){It.isUndefined(n[p])?It.isUndefined(e[p])||(r[p]=s(void 0,e[p])):r[p]=s(void 0,n[p])}),It.forEach(l,function(p){p in n?r[p]=s(e[p],n[p]):p in e&&(r[p]=s(void 0,e[p]))});var c=i.concat(a).concat(o).concat(l),d=Object.keys(e).concat(Object.keys(n)).filter(function(p){return c.indexOf(p)===-1});return It.forEach(d,u),r};const aN="axios",oN="0.21.4",sN="Promise based HTTP client for the browser and node.js",lN="index.js",uN={test:"grunt test",start:"node ./sandbox/server.js",build:"NODE_ENV=production grunt build",preversion:"npm test",version:"npm run build && grunt version && git add -A dist && git add CHANGELOG.md bower.json package.json",postversion:"git push && git push --tags",examples:"node ./examples/server.js",coveralls:"cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js",fix:"eslint --fix lib/**/*.js"},cN={type:"git",url:"https://github.com/axios/axios.git"},dN=["xhr","http","ajax","promise","node"],fN="Matt Zabriskie",pN="MIT",hN={url:"https://github.com/axios/axios/issues"},mN="https://axios-http.com",gN={coveralls:"^3.0.0","es6-promise":"^4.2.4",grunt:"^1.3.0","grunt-banner":"^0.6.0","grunt-cli":"^1.2.0","grunt-contrib-clean":"^1.1.0","grunt-contrib-watch":"^1.0.0","grunt-eslint":"^23.0.0","grunt-karma":"^4.0.0","grunt-mocha-test":"^0.13.3","grunt-ts":"^6.0.0-beta.19","grunt-webpack":"^4.0.2","istanbul-instrumenter-loader":"^1.0.0","jasmine-core":"^2.4.1",karma:"^6.3.2","karma-chrome-launcher":"^3.1.0","karma-firefox-launcher":"^2.1.0","karma-jasmine":"^1.1.1","karma-jasmine-ajax":"^0.1.13","karma-safari-launcher":"^1.0.0","karma-sauce-launcher":"^4.3.6","karma-sinon":"^1.0.5","karma-sourcemap-loader":"^0.3.8","karma-webpack":"^4.0.2","load-grunt-tasks":"^3.5.2",minimist:"^1.2.0",mocha:"^8.2.1",sinon:"^4.5.0","terser-webpack-plugin":"^4.2.3",typescript:"^4.0.5","url-search-params":"^0.10.0",webpack:"^4.44.2","webpack-dev-server":"^3.11.0"},vN={"./lib/adapters/http.js":"./lib/adapters/xhr.js"},yN="dist/axios.min.js",wN="dist/axios.min.js",bN="./index.d.ts",SN={"follow-redirects":"^1.14.0"},xN=[{path:"./dist/axios.min.js",threshold:"5kB"}],EN={name:aN,version:oN,description:sN,main:lN,scripts:uN,repository:cN,keywords:dN,author:fN,license:pN,bugs:hN,homepage:mN,devDependencies:gN,browser:vN,jsdelivr:yN,unpkg:wN,typings:bN,dependencies:SN,bundlesize:xN};var iT=EN,uv={};["object","boolean","number","function","string","symbol"].forEach(function(t,e){uv[t]=function(r){return typeof r===t||"a"+(e<1?"n ":" ")+t}});var Xw={},CN=iT.version.split(".");function aT(t,e){for(var n=e?e.split("."):CN,r=t.split("."),i=0;i<3;i++){if(n[i]>r[i])return!0;if(n[i]0;){var a=r[i],o=e[a];if(o){var l=t[a],s=l===void 0||o(l,a,t);if(s!==!0)throw new TypeError("option "+a+" must be "+s);continue}if(n!==!0)throw Error("Unknown option "+a)}}var PN={isOlderVersion:aT,assertOptions:TN,validators:uv},oT=xn,kN=JC,Kw=jF,Yw=iN,nd=rT,sT=PN,fa=sT.validators;function cl(t){this.defaults=t,this.interceptors={request:new Kw,response:new Kw}}cl.prototype.request=function(e){typeof e=="string"?(e=arguments[1]||{},e.url=arguments[0]):e=e||{},e=nd(this.defaults,e),e.method?e.method=e.method.toLowerCase():this.defaults.method?e.method=this.defaults.method.toLowerCase():e.method="get";var n=e.transitional;n!==void 0&&sT.assertOptions(n,{silentJSONParsing:fa.transitional(fa.boolean,"1.0.0"),forcedJSONParsing:fa.transitional(fa.boolean,"1.0.0"),clarifyTimeoutError:fa.transitional(fa.boolean,"1.0.0")},!1);var r=[],i=!0;this.interceptors.request.forEach(function(f){typeof f.runWhen=="function"&&f.runWhen(e)===!1||(i=i&&f.synchronous,r.unshift(f.fulfilled,f.rejected))});var a=[];this.interceptors.response.forEach(function(f){a.push(f.fulfilled,f.rejected)});var o;if(!i){var l=[Yw,void 0];for(Array.prototype.unshift.apply(l,r),l=l.concat(a),o=Promise.resolve(e);l.length;)o=o.then(l.shift(),l.shift());return o}for(var s=e;r.length;){var u=r.shift(),c=r.shift();try{s=u(s)}catch(d){c(d);break}}try{o=Yw(s)}catch(d){return Promise.reject(d)}for(;a.length;)o=o.then(a.shift(),a.shift());return o};cl.prototype.getUri=function(e){return e=nd(this.defaults,e),kN(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")};oT.forEach(["delete","get","head","options"],function(e){cl.prototype[e]=function(n,r){return this.request(nd(r||{},{method:e,url:n,data:(r||{}).data}))}});oT.forEach(["post","put","patch"],function(e){cl.prototype[e]=function(n,r,i){return this.request(nd(i||{},{method:e,url:n,data:r}))}});var MN=cl,Wf,Qw;function lT(){if(Qw)return Wf;Qw=1;function t(e){this.message=e}return t.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},t.prototype.__CANCEL__=!0,Wf=t,Wf}var Gf,Zw;function ON(){if(Zw)return Gf;Zw=1;var t=lT();function e(n){if(typeof n!="function")throw new TypeError("executor must be a function.");var r;this.promise=new Promise(function(o){r=o});var i=this;n(function(o){i.reason||(i.reason=new t(o),r(i.reason))})}return e.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},e.source=function(){var r,i=new e(function(o){r=o});return{token:i,cancel:r}},Gf=e,Gf}var qf,Jw;function AN(){return Jw||(Jw=1,qf=function(e){return function(r){return e.apply(null,r)}}),qf}var Xf,e1;function LN(){return e1||(e1=1,Xf=function(e){return typeof e=="object"&&e.isAxiosError===!0}),Xf}var t1=xn,RN=YC,Eu=MN,IN=rT,DN=lv;function uT(t){var e=new Eu(t),n=RN(Eu.prototype.request,e);return t1.extend(n,Eu.prototype,e),t1.extend(n,e),n}var Zn=uT(DN);Zn.Axios=Eu;Zn.create=function(e){return uT(IN(Zn.defaults,e))};Zn.Cancel=lT();Zn.CancelToken=ON();Zn.isCancel=nT();Zn.all=function(e){return Promise.all(e)};Zn.spread=AN();Zn.isAxiosError=LN();av.exports=Zn;av.exports.default=Zn;var FN=av.exports,NN=FN;const _N=Ks(NN);async function VN(){return(await _N.get("https://api.github.com/repos/sadanandpai/frontend-mini-challenges/contributors?per_page=1000")).data.map(e=>{var n,r;return{username:e.login,avatar:((r=(n=e.avatar_url)==null?void 0:n.match(/\d+/))==null?void 0:r[0])??""}})}function jN(){const[t,e]=S.useState([]),[n]=S.useState(SF);return S.useEffect(()=>{VN().then(r=>e(r.slice(2)))},[]),S.useEffect(()=>{const r=setInterval(()=>e(i=>i.map(a=>a).sort(()=>.5-Math.random())),5e3);return()=>{clearInterval(r)}},[]),V.jsxs(V.Fragment,{children:[V.jsx("h2",{className:Go.heading,id:"contributors",children:"Contributors"}),V.jsxs("section",{className:Go.maintainerContainer,children:[V.jsx(Rf,{...n[0]},n[0].username),V.jsx(Rf,{...n[1]},n[1].username)]}),V.jsx(Rw.Group,{axis:"y",onReorder:e,values:t,className:Go.contributionContainer,children:t.map(r=>V.jsx(Rw.Item,{value:r.username,className:Go.listContributor,children:V.jsx(Rf,{...r},r.username)},r.username))})]})}const $N="_heading_1m5el_1",zN="_features_1m5el_6",n1={heading:$N,features:zN},BN=[{title:"Free and open-source",info:"Every challenge comes with the solution in multiple tech stacks & totally free forever"},{title:"Designed for interviews",info:"The challenges are handpicked collection from various interviews of top companies"},{title:"Community vetted solutions",info:"Solutions are reviewed by the community & follows the best industry practices"}];function HN(){return V.jsxs("section",{id:"whyUs",children:[V.jsx("h2",{className:n1.heading,children:"Why Us?"}),V.jsx("div",{className:n1.features,children:BN.map((t,e)=>V.jsxs("article",{children:[V.jsx("h3",{children:t.title}),V.jsx("p",{children:t.info})]},e))})]})}const UN="_footer_1l7qe_1",WN={footer:UN};function GN(){const t=new Date().getFullYear();return V.jsxs("footer",{className:WN.footer,children:["Copyright © ",t]})}const cv="/frontend-mini-challenges/assets/css-NOfCHX53.png",dv="data:image/png;base64,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",fv="data:image/png;base64,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",pv="/frontend-mini-challenges/assets/react-BtciLvBz.png",hv="/frontend-mini-challenges/assets/vue-wXUHXaQI.png",qN="/frontend-mini-challenges/assets/logo-r_4QCHBg.png",XN="/frontend-mini-challenges/assets/cover-transparent-Ecfv1-zo.png",KN="_hero_9pexl_1",YN="_figure_9pexl_11",QN="_heroImage_9pexl_19",ZN="_link_9pexl_24",JN="_heroTechImg_9pexl_40",No={hero:KN,figure:YN,heroImage:QN,link:ZN,heroTechImg:JN};var cT={exports:{}},e_="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",t_=e_,n_=t_;function dT(){}function fT(){}fT.resetWarningCache=dT;var r_=function(){function t(r,i,a,o,l,s){if(s!==n_){var u=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw u.name="Invariant Violation",u}}t.isRequired=t;function e(){return t}var n={array:t,bigint:t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:e,element:t,elementType:t,instanceOf:e,node:t,objectOf:e,oneOf:e,oneOfType:e,shape:e,exact:e,checkPropTypes:fT,resetWarningCache:dT};return n.PropTypes=n,n};cT.exports=r_();var i_=cT.exports;const r1=Ks(i_);/*! ***************************************************************************** Copyright (c) Microsoft Corporation. Permission to use, copy, modify, and/or distribute this software for any @@ -79,11 +79,11 @@ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -***************************************************************************** */var jh=function(){return jh=Object.assign||function(e){for(var n,r=1,i=arguments.length;rV.jsx("img",{src:e.imgSrc,width:35,height:35,alt:`${e.title}-img`},e.title))})]}),V.jsxs("figure",{className:No.figure,children:[V.jsx("img",{className:No.heroImage,src:GN,alt:"brand"}),V.jsx("figcaption",{children:"Collection of frontend challenges for learning and interviews"})]})]})}var hT={exports:{}};/*! +***************************************************************************** */var jh=function(){return jh=Object.assign||function(e){for(var n,r=1,i=arguments.length;rV.jsx("img",{src:t.imgSrc,width:35,height:35,alt:`${t.title}-img`},t.title))})]}),V.jsxs("figure",{className:No.figure,children:[V.jsx("img",{className:No.heroImage,src:XN,alt:"brand"}),V.jsx("figcaption",{children:"Collection of frontend challenges for learning and interviews"})]})]})}var mT={exports:{}};/*! Copyright (c) 2018 Jed Watson. Licensed under the MIT License (MIT), see http://jedwatson.github.io/classnames -*/(function(t){(function(){var e={}.hasOwnProperty;function n(){for(var a="",o=0;o1&&arguments[1]!==void 0?arguments[1]:{},n=[];return Xe.Children.forEach(t,function(r){r==null&&!e.keepEmpty||(Array.isArray(r)?n=n.concat($h(r)):Cu.isFragment(r)&&r.props?n=n.concat($h(r.props.children,e)):n.push(r))}),n}var zh={},u_=function(e){};function c_(t,e){}function d_(t,e){}function f_(){zh={}}function vT(t,e,n){!e&&!zh[n]&&(t(!1,n),zh[n]=!0)}function en(t,e){vT(c_,t,e)}function p_(t,e){vT(d_,t,e)}en.preMessage=u_;en.resetWarned=f_;en.noteOnce=p_;function Ae(t){"@babel/helpers - typeof";return Ae=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ae(t)}function h_(t,e){if(Ae(t)!="object"||!t)return t;var n=t[Symbol.toPrimitive];if(n!==void 0){var r=n.call(t,e||"default");if(Ae(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function yT(t){var e=h_(t,"string");return Ae(e)=="symbol"?e:String(e)}function U(t,e,n){return e=yT(e),e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function a1(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),n.push.apply(n,r)}return n}function H(t){for(var e=1;et.length)&&(e=t.length);for(var n=0,r=new Array(e);n1&&arguments[1]!==void 0?arguments[1]:1;s1+=1;var r=s1;function i(a){if(a===0)PT(r),e();else{var o=CT(function(){i(a-1)});bv.set(r,o)}}return i(n),r};Uh.cancel=function(t){var e=bv.get(t);return PT(t),TT(e)};function kT(t){if(Array.isArray(t))return t}function b_(t,e){var n=t==null?null:typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(n!=null){var r,i,a,o,l=[],s=!0,u=!1;try{if(a=(n=n.call(t)).next,e===0){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=a.call(n)).done)&&(l.push(r.value),l.length!==e);s=!0);}catch(c){u=!0,i=c}finally{try{if(!s&&n.return!=null&&(o=n.return(),Object(o)!==o))return}finally{if(u)throw i}}return l}}function MT(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ie(t,e){return kT(t)||b_(t,e)||wv(t,e)||MT()}function pc(t){for(var e=0,n,r=0,i=t.length;i>=4;++r,i-=4)n=t.charCodeAt(r)&255|(t.charCodeAt(++r)&255)<<8|(t.charCodeAt(++r)&255)<<16|(t.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,e=(n&65535)*1540483477+((n>>>16)*59797<<16)^(e&65535)*1540483477+((e>>>16)*59797<<16);switch(i){case 3:e^=(t.charCodeAt(r+2)&255)<<16;case 2:e^=(t.charCodeAt(r+1)&255)<<8;case 1:e^=t.charCodeAt(r)&255,e=(e&65535)*1540483477+((e>>>16)*59797<<16)}return e^=e>>>13,e=(e&65535)*1540483477+((e>>>16)*59797<<16),((e^e>>>15)>>>0).toString(36)}function tn(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function S_(t,e){if(!t)return!1;if(t.contains)return t.contains(e);for(var n=e;n;){if(n===t)return!0;n=n.parentNode}return!1}var l1="data-rc-order",u1="data-rc-priority",x_="rc-util-key",Wh=new Map;function OT(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},e=t.mark;return e?e.startsWith("data-")?e:"data-".concat(e):x_}function fd(t){if(t.attachTo)return t.attachTo;var e=document.querySelector("head");return e||document.body}function E_(t){return t==="queue"?"prependQueue":t?"prepend":"append"}function Sv(t){return Array.from((Wh.get(t)||t).children).filter(function(e){return e.tagName==="STYLE"})}function AT(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!tn())return null;var n=e.csp,r=e.prepend,i=e.priority,a=i===void 0?0:i,o=E_(r),l=o==="prependQueue",s=document.createElement("style");s.setAttribute(l1,o),l&&a&&s.setAttribute(u1,"".concat(a)),n!=null&&n.nonce&&(s.nonce=n==null?void 0:n.nonce),s.innerHTML=t;var u=fd(e),c=u.firstChild;if(r){if(l){var d=(e.styles||Sv(u)).filter(function(f){if(!["prepend","prependQueue"].includes(f.getAttribute(l1)))return!1;var p=Number(f.getAttribute(u1)||0);return a>=p});if(d.length)return u.insertBefore(s,d[d.length-1].nextSibling),s}u.insertBefore(s,c)}else u.appendChild(s);return s}function LT(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=fd(e);return(e.styles||Sv(n)).find(function(r){return r.getAttribute(OT(e))===t})}function Bs(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=LT(t,e);if(n){var r=fd(e);r.removeChild(n)}}function C_(t,e){var n=Wh.get(t);if(!n||!S_(document,n)){var r=AT("",e),i=r.parentNode;Wh.set(t,i),t.removeChild(r)}}function fi(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=fd(n),i=Sv(r),a=H(H({},n),{},{styles:i});C_(r,a);var o=LT(e,a);if(o){var l,s;if((l=a.csp)!==null&&l!==void 0&&l.nonce&&o.nonce!==((s=a.csp)===null||s===void 0?void 0:s.nonce)){var u;o.nonce=(u=a.csp)===null||u===void 0?void 0:u.nonce}return o.innerHTML!==t&&(o.innerHTML=t),o}var c=AT(t,a);return c.setAttribute(OT(a),e),c}function T_(t,e){if(t==null)return{};var n={},r=Object.keys(t),i,a;for(a=0;a=0)&&(n[i]=t[i]);return n}function gt(t,e){if(t==null)return{};var n=T_(t,e),r,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);for(i=0;i=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(n[r]=t[r])}return n}function RT(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,r=new Set;function i(a,o){var l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,s=r.has(a);if(en(!s,"Warning: There may be circular references"),s)return!1;if(a===o)return!0;if(n&&l>1)return!1;r.add(a);var u=l+1;if(Array.isArray(a)){if(!Array.isArray(o)||a.length!==o.length)return!1;for(var c=0;c1&&arguments[1]!==void 0?arguments[1]:!1,o={map:this.cache};return n.forEach(function(l){if(!o)o=void 0;else{var s;o=(s=o)===null||s===void 0||(s=s.map)===null||s===void 0?void 0:s.get(l)}}),(r=o)!==null&&r!==void 0&&r.value&&a&&(o.value[1]=this.cacheCallTimes++),(i=o)===null||i===void 0?void 0:i.value}},{key:"get",value:function(n){var r;return(r=this.internalGet(n,!0))===null||r===void 0?void 0:r[0]}},{key:"has",value:function(n){return!!this.internalGet(n)}},{key:"set",value:function(n,r){var i=this;if(!this.has(n)){if(this.size()+1>t.MAX_CACHE_SIZE+t.MAX_CACHE_OFFSET){var a=this.keys.reduce(function(u,c){var d=ie(u,2),f=d[1];return i.internalGet(c)[1]0,void 0),c1+=1}return _n(t,[{key:"getDerivativeToken",value:function(n){return this.derivatives.reduce(function(r,i){return i(n,r)},void 0)}}]),t}(),Kf=new xv;function qh(t){var e=Array.isArray(t)?t:[t];return Kf.has(e)||Kf.set(e,new IT(e)),Kf.get(e)}var A_=new WeakMap,Yf={};function L_(t,e){for(var n=A_,r=0;r3&&arguments[3]!==void 0?arguments[3]:{},a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1;if(a)return t;var o=H(H({},i),{},(r={},U(r,ao,e),U(r,Kn,n),r)),l=Object.keys(o).map(function(s){var u=o[s];return u?"".concat(s,'="').concat(u,'"'):null}).filter(function(s){return s}).join(" ");return"")}var FT=function(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return"--".concat(n?"".concat(n,"-"):"").concat(e).replace(/([a-z0-9])([A-Z])/g,"$1-$2").replace(/([A-Z]+)([A-Z][a-z0-9]+)/g,"$1-$2").replace(/([a-z])([A-Z0-9])/g,"$1-$2").toLowerCase()},D_=function(e,n,r){return Object.keys(e).length?".".concat(n).concat(r!=null&&r.scope?".".concat(r.scope):"","{").concat(Object.entries(e).map(function(i){var a=ie(i,2),o=a[0],l=a[1];return"".concat(o,":").concat(l,";")}).join(""),"}"):""},NT=function(e,n,r){var i={},a={};return Object.entries(e).forEach(function(o){var l,s,u=ie(o,2),c=u[0],d=u[1];if(r!=null&&(l=r.preserve)!==null&&l!==void 0&&l[c])a[c]=d;else if((typeof d=="string"||typeof d=="number")&&!(r!=null&&(s=r.ignore)!==null&&s!==void 0&&s[c])){var f,p=FT(c,r==null?void 0:r.prefix);i[p]=typeof d=="number"&&!(r!=null&&(f=r.unitless)!==null&&f!==void 0&&f[c])?"".concat(d,"px"):String(d),a[c]="var(".concat(p,")")}}),[a,D_(i,n,{scope:r==null?void 0:r.scope})]},p1=tn()?S.useLayoutEffect:S.useEffect,oo=function(e,n){var r=S.useRef(!0);p1(function(){return e(r.current)},n),p1(function(){return r.current=!1,function(){r.current=!0}},[])},F_=H({},qa),h1=F_.useInsertionEffect,N_=function(e,n,r){S.useMemo(e,r),oo(function(){return n(!0)},r)},__=h1?function(t,e,n){return h1(function(){return t(),e()},n)}:N_,V_=H({},qa),j_=V_.useInsertionEffect,$_=function(e){var n=[],r=!1;function i(a){r||n.push(a)}return S.useEffect(function(){return r=!1,function(){r=!0,n.length&&n.forEach(function(a){return a()})}},e),i},z_=function(){return function(e){e()}},B_=typeof j_<"u"?$_:z_;function Ev(t,e,n,r,i){var a=S.useContext(pd),o=a.cache,l=[t].concat(ce(e)),s=Gh(l),u=B_([s]),c=function(w){o.opUpdate(s,function(g){var y=g||[void 0,void 0],h=ie(y,2),v=h[0],m=v===void 0?0:v,b=h[1],E=b,x=E||n(),C=[m,x];return w?w(C):C})};S.useMemo(function(){c()},[s]);var d=o.opGet(s),f=d[1];return __(function(){i==null||i(f)},function(p){return c(function(w){var g=ie(w,2),y=g[0],h=g[1];return p&&y===0&&(i==null||i(f)),[y+1,h]}),function(){o.opUpdate(s,function(w){var g=w||[],y=ie(g,2),h=y[0],v=h===void 0?0:h,m=y[1],b=v-1;return b===0?(u(function(){(p||!o.opGet(s))&&(r==null||r(m,!1))}),null):[v-1,m]})}},[s]),f}var H_={},U_="css",Ai=new Map;function W_(t){Ai.set(t,(Ai.get(t)||0)+1)}function G_(t,e){if(typeof document<"u"){var n=document.querySelectorAll("style[".concat(ao,'="').concat(t,'"]'));n.forEach(function(r){if(r[Xr]===e){var i;(i=r.parentNode)===null||i===void 0||i.removeChild(r)}})}}var q_=0;function X_(t,e){Ai.set(t,(Ai.get(t)||0)-1);var n=Array.from(Ai.keys()),r=n.filter(function(i){var a=Ai.get(i)||0;return a<=0});n.length-r.length>q_&&r.forEach(function(i){G_(i,e),Ai.delete(i)})}var K_=function(e,n,r,i){var a=r.getDerivativeToken(e),o=H(H({},a),n);return i&&(o=i(o)),o},_T="token";function Y_(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=S.useContext(pd),i=r.cache.instanceId,a=r.container,o=n.salt,l=o===void 0?"":o,s=n.override,u=s===void 0?H_:s,c=n.formatToken,d=n.getComputedToken,f=n.cssVar,p=L_(function(){return Object.assign.apply(Object,[{}].concat(ce(e)))},e),w=ms(p),g=ms(u),y=f?ms(f):"",h=Ev(_T,[l,t.id,w,g,y],function(){var v,m=d?d(p,u,t):K_(p,u,t,c),b=H({},m),E="";if(f){var x=NT(m,f.key,{prefix:f.prefix,ignore:f.ignore,unitless:f.unitless,preserve:f.preserve}),C=ie(x,2);m=C[0],E=C[1]}var T=f1(m,l);m._tokenKey=T,b._tokenKey=f1(b,l);var P=(v=f==null?void 0:f.key)!==null&&v!==void 0?v:T;m._themeKey=P,W_(P);var O="".concat(U_,"-").concat(pc(T));return m._hashId=O,[m,O,b,E,(f==null?void 0:f.key)||""]},function(v){X_(v[0]._themeKey,i)},function(v){var m=ie(v,4),b=m[0],E=m[3];if(f&&E){var x=fi(E,pc("css-variables-".concat(b._themeKey)),{mark:Kn,prepend:"queue",attachTo:a,priority:-999});x[Xr]=i,x.setAttribute(ao,b._themeKey)}});return h}var Q_=function(e,n,r){var i=ie(e,5),a=i[2],o=i[3],l=i[4],s=r||{},u=s.plain;if(!o)return null;var c=a._tokenKey,d=-999,f={"data-rc-order":"prependQueue","data-rc-priority":"".concat(d)},p=hc(o,l,c,f,u);return[d,c,p]},Z_={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},Dt="-ms-",mc="-moz-",Ee="-webkit-",VT="comm",Cv="rule",Tv="decl",J_="@import",jT="@keyframes",eV="@layer",tV=Math.abs,hd=String.fromCharCode,nV=Object.assign;function rV(t,e){return xt(t,0)^45?(((e<<2^xt(t,0))<<2^xt(t,1))<<2^xt(t,2))<<2^xt(t,3):0}function $T(t){return t.trim()}function iV(t,e){return(t=e.exec(t))?t[0]:t}function Ce(t,e,n){return t.replace(e,n)}function Kh(t,e){return t.indexOf(e)}function xt(t,e){return t.charCodeAt(e)|0}function Hs(t,e,n){return t.slice(e,n)}function ir(t){return t.length}function Pv(t){return t.length}function Ul(t,e){return e.push(t),t}function aV(t,e){return t.map(e).join("")}var md=1,so=1,zT=0,nn=0,at=0,yo="";function gd(t,e,n,r,i,a,o){return{value:t,root:e,parent:n,type:r,props:i,children:a,line:md,column:so,length:o,return:""}}function _o(t,e){return nV(gd("",null,null,"",null,null,0),t,{length:-t.length},e)}function oV(){return at}function sV(){return at=nn>0?xt(yo,--nn):0,so--,at===10&&(so=1,md--),at}function vn(){return at=nn2||Us(at)>3?"":" "}function uV(t,e){for(;--e&&vn()&&!(at<48||at>102||at>57&&at<65||at>70&&at<97););return dl(t,Tu()+(e<6&&dr()==32&&vn()==32))}function Yh(t){for(;vn();)switch(at){case t:return nn;case 34:case 39:t!==34&&t!==39&&Yh(at);break;case 40:t===41&&Yh(t);break;case 92:vn();break}return nn}function cV(t,e){for(;vn()&&t+at!==47+10;)if(t+at===42+42&&dr()===47)break;return"/*"+dl(e,nn-1)+"*"+hd(t===47?t:vn())}function dV(t){for(;!Us(dr());)vn();return dl(t,nn)}function UT(t){return HT(ku("",null,null,null,[""],t=BT(t),0,[0],t))}function ku(t,e,n,r,i,a,o,l,s){for(var u=0,c=0,d=o,f=0,p=0,w=0,g=1,y=1,h=1,v=0,m="",b=i,E=a,x=r,C=m;y;)switch(w=v,v=vn()){case 40:if(w!=108&&xt(C,d-1)==58){Kh(C+=Ce(Pu(v),"&","&\f"),"&\f")!=-1&&(h=-1);break}case 34:case 39:case 91:C+=Pu(v);break;case 9:case 10:case 13:case 32:C+=lV(w);break;case 92:C+=uV(Tu()-1,7);continue;case 47:switch(dr()){case 42:case 47:Ul(fV(cV(vn(),Tu()),e,n),s);break;default:C+="/"}break;case 123*g:l[u++]=ir(C)*h;case 125*g:case 59:case 0:switch(v){case 0:case 125:y=0;case 59+c:h==-1&&(C=Ce(C,/\f/g,"")),p>0&&ir(C)-d&&Ul(p>32?g1(C+";",r,n,d-1):g1(Ce(C," ","")+";",r,n,d-2),s);break;case 59:C+=";";default:if(Ul(x=m1(C,e,n,u,c,i,l,m,b=[],E=[],d),a),v===123)if(c===0)ku(C,e,x,x,b,a,d,l,E);else switch(f===99&&xt(C,3)===110?100:f){case 100:case 108:case 109:case 115:ku(t,x,x,r&&Ul(m1(t,x,x,0,0,i,l,m,i,b=[],d),E),i,E,d,l,r?b:E);break;default:ku(C,x,x,x,[""],E,0,l,E)}}u=c=p=0,g=h=1,m=C="",d=o;break;case 58:d=1+ir(C),p=w;default:if(g<1){if(v==123)--g;else if(v==125&&g++==0&&sV()==125)continue}switch(C+=hd(v),v*g){case 38:h=c>0?1:(C+="\f",-1);break;case 44:l[u++]=(ir(C)-1)*h,h=1;break;case 64:dr()===45&&(C+=Pu(vn())),f=dr(),c=d=ir(m=C+=dV(Tu())),v++;break;case 45:w===45&&ir(C)==2&&(g=0)}}return a}function m1(t,e,n,r,i,a,o,l,s,u,c){for(var d=i-1,f=i===0?a:[""],p=Pv(f),w=0,g=0,y=0;w0?f[h]+" "+v:Ce(v,/&\f/g,f[h])))&&(s[y++]=m);return gd(t,e,n,i===0?Cv:l,s,u,c)}function fV(t,e,n){return gd(t,e,n,VT,hd(oV()),Hs(t,2,-2),0)}function g1(t,e,n,r){return gd(t,e,n,Tv,Hs(t,0,r),Hs(t,r+1,-1),r)}function Bi(t,e){for(var n="",r=Pv(t),i=0;i1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{root:!0,parentSelectors:[]},i=r.root,a=r.injectHash,o=r.parentSelectors,l=n.hashId,s=n.layer;n.path;var u=n.hashPriority,c=n.transformers,d=c===void 0?[]:c;n.linters;var f="",p={};function w(m){var b=m.getName(l);if(!p[b]){var E=t(m.style,n,{root:!1,parentSelectors:o}),x=ie(E,1),C=x[0];p[b]="@keyframes ".concat(m.getName(l)).concat(C)}}function g(m){var b=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return m.forEach(function(E){Array.isArray(E)?g(E,b):E&&b.push(E)}),b}var y=g(Array.isArray(e)?e:[e]);if(y.forEach(function(m){var b=typeof m=="string"&&!i?{}:m;if(typeof b=="string")f+="".concat(b,` -`);else if(b._keyframe)w(b);else{var E=d.reduce(function(x,C){var T;return(C==null||(T=C.visit)===null||T===void 0?void 0:T.call(C,x))||x},b);Object.keys(E).forEach(function(x){var C=E[x];if(Ae(C)==="object"&&C&&(x!=="animationName"||!C._keyframe)&&!wV(C)){var T=!1,P=x.trim(),O=!1;(i||a)&&l?P.startsWith("@")?T=!0:P=bV(x,l,u):i&&!l&&(P==="&"||P==="")&&(P="",O=!0);var I=t(C,n,{root:O,injectHash:T,parentSelectors:[].concat(ce(o),[P])}),N=ie(I,2),A=N[0],M=N[1];p=H(H({},p),M),f+="".concat(P).concat(A)}else{let L=function(k,F){var j=k.replace(/[A-Z]/g,function(G){return"-".concat(G.toLowerCase())}),B=F;!Z_[k]&&typeof B=="number"&&B!==0&&(B="".concat(B,"px")),k==="animationName"&&F!==null&&F!==void 0&&F._keyframe&&(w(F),B=F.getName(l)),f+="".concat(j,":").concat(B,";")};var R,D=(R=C==null?void 0:C.value)!==null&&R!==void 0?R:C;Ae(C)==="object"&&C!==null&&C!==void 0&&C[XT]&&Array.isArray(D)?D.forEach(function(k){L(x,k)}):L(x,D)}})}}),!i)f="{".concat(f,"}");else if(s&&I_()){var h=s.split(","),v=h[h.length-1].trim();f="@layer ".concat(v," {").concat(f,"}"),h.length>1&&(f="@layer ".concat(s,"{%%%:%}").concat(f))}return[f,p]};function KT(t,e){return pc("".concat(t.join("%")).concat(e))}function xV(){return null}var YT="style";function Zh(t,e){var n=t.token,r=t.path,i=t.hashId,a=t.layer,o=t.nonce,l=t.clientOnly,s=t.order,u=s===void 0?0:s,c=S.useContext(pd),d=c.autoClear;c.mock;var f=c.defaultCache,p=c.hashPriority,w=c.container,g=c.ssrInline,y=c.transformers,h=c.linters,v=c.cache,m=n._tokenKey,b=[m].concat(ce(r)),E=Xh,x=Ev(YT,b,function(){var I=b.join("|");if(gV(I)){var N=vV(I),A=ie(N,2),M=A[0],R=A[1];if(M)return[M,m,R,{},l,u]}var D=e(),L=SV(D,{hashId:i,hashPriority:p,layer:a,path:r.join("-"),transformers:y,linters:h}),k=ie(L,2),F=k[0],j=k[1],B=Qh(F),G=KT(b,B);return[B,m,G,j,l,u]},function(I,N){var A=ie(I,3),M=A[2];(N||d)&&Xh&&Bs(M,{mark:Kn})},function(I){var N=ie(I,4),A=N[0];N[1];var M=N[2],R=N[3];if(E&&A!==GT){var D={mark:Kn,prepend:"queue",attachTo:w,priority:u},L=typeof o=="function"?o():o;L&&(D.csp={nonce:L});var k=fi(A,M,D);k[Xr]=v.instanceId,k.setAttribute(ao,m),Object.keys(R).forEach(function(F){fi(Qh(R[F]),"_effect-".concat(F),D)})}}),C=ie(x,3),T=C[0],P=C[1],O=C[2];return function(I){var N;if(!g||E||!f)N=S.createElement(xV,null);else{var A;N=S.createElement("style",J({},(A={},U(A,ao,P),U(A,Kn,O),A),{dangerouslySetInnerHTML:{__html:T}}))}return S.createElement(S.Fragment,null,N,I)}}var EV=function(e,n,r){var i=ie(e,6),a=i[0],o=i[1],l=i[2],s=i[3],u=i[4],c=i[5],d=r||{},f=d.plain;if(u)return null;var p=a,w={"data-rc-order":"prependQueue","data-rc-priority":"".concat(c)};return p=hc(a,o,l,w,f),s&&Object.keys(s).forEach(function(g){if(!n[g]){n[g]=!0;var y=Qh(s[g]);p+=hc(y,o,"_effect-".concat(g),w,f)}}),[c,l,p]},QT="cssVar",CV=function(e,n){var r=e.key,i=e.prefix,a=e.unitless,o=e.ignore,l=e.token,s=e.scope,u=s===void 0?"":s,c=S.useContext(pd),d=c.cache.instanceId,f=c.container,p=l._tokenKey,w=[].concat(ce(e.path),[r,u,p]),g=Ev(QT,w,function(){var y=n(),h=NT(y,r,{prefix:i,unitless:a,ignore:o,scope:u}),v=ie(h,2),m=v[0],b=v[1],E=KT(w,b);return[m,b,E,r]},function(y){var h=ie(y,3),v=h[2];Xh&&Bs(v,{mark:Kn})},function(y){var h=ie(y,3),v=h[1],m=h[2];if(v){var b=fi(v,m,{mark:Kn,prepend:"queue",attachTo:f,priority:-999});b[Xr]=d,b.setAttribute(ao,r)}});return g},TV=function(e,n,r){var i=ie(e,4),a=i[1],o=i[2],l=i[3],s=r||{},u=s.plain;if(!a)return null;var c=-999,d={"data-rc-order":"prependQueue","data-rc-priority":"".concat(c)},f=hc(a,l,o,d,u);return[c,o,f]},Vo;Vo={},U(Vo,YT,EV),U(Vo,_T,Q_),U(Vo,QT,TV);function pa(t){return t.notSplit=!0,t}pa(["borderTop","borderBottom"]),pa(["borderTop"]),pa(["borderBottom"]),pa(["borderLeft","borderRight"]),pa(["borderLeft"]),pa(["borderRight"]);var PV=S.createContext({});const kv=PV;function kV(t){return kT(t)||ET(t)||wv(t)||MT()}function sr(t,e){for(var n=t,r=0;r3&&arguments[3]!==void 0?arguments[3]:!1;return e.length&&r&&n===void 0&&!sr(t,e.slice(0,-1))?t:ZT(t,e,n,r)}function MV(t){return Ae(t)==="object"&&t!==null&&Object.getPrototypeOf(t)===Object.prototype}function y1(t){return Array.isArray(t)?[]:{}}var OV=typeof Reflect>"u"?Object.keys:Reflect.ownKeys;function Fa(){for(var t=arguments.length,e=new Array(t),n=0;nMu.reduce((t,e)=>Object.assign(Object.assign({},t),e),vd.Modal);function _V(t){if(t){const e=Object.assign({},t);return Mu.push(e),b1(),()=>{Mu=Mu.filter(n=>n!==e),b1()}}Object.assign({},vd.Modal)}const VV=S.createContext(void 0),eP=VV,jV="internalMark",$V=t=>{const{locale:e={},children:n,_ANT_MARK__:r}=t;S.useEffect(()=>_V(e&&e.Modal),[e]);const i=S.useMemo(()=>Object.assign(Object.assign({},e),{exist:!0}),[e]);return S.createElement(eP.Provider,{value:i},n)},zV=$V;function kt(t,e){BV(t)&&(t="100%");var n=HV(t);return t=e===360?t:Math.min(e,Math.max(0,parseFloat(t))),n&&(t=parseInt(String(t*e),10)/100),Math.abs(t-e)<1e-6?1:(e===360?t=(t<0?t%e+e:t%e)/parseFloat(String(e)):t=t%e/parseFloat(String(e)),t)}function Wl(t){return Math.min(1,Math.max(0,t))}function BV(t){return typeof t=="string"&&t.indexOf(".")!==-1&&parseFloat(t)===1}function HV(t){return typeof t=="string"&&t.indexOf("%")!==-1}function tP(t){return t=parseFloat(t),(isNaN(t)||t<0||t>1)&&(t=1),t}function Gl(t){return t<=1?"".concat(Number(t)*100,"%"):t}function Ni(t){return t.length===1?"0"+t:String(t)}function UV(t,e,n){return{r:kt(t,255)*255,g:kt(e,255)*255,b:kt(n,255)*255}}function S1(t,e,n){t=kt(t,255),e=kt(e,255),n=kt(n,255);var r=Math.max(t,e,n),i=Math.min(t,e,n),a=0,o=0,l=(r+i)/2;if(r===i)o=0,a=0;else{var s=r-i;switch(o=l>.5?s/(2-r-i):s/(r+i),r){case t:a=(e-n)/s+(e1&&(n-=1),n<1/6?t+(e-t)*(6*n):n<1/2?e:n<2/3?t+(e-t)*(2/3-n)*6:t}function WV(t,e,n){var r,i,a;if(t=kt(t,360),e=kt(e,100),n=kt(n,100),e===0)i=n,a=n,r=n;else{var o=n<.5?n*(1+e):n+e-n*e,l=2*n-o;r=Zf(l,o,t+1/3),i=Zf(l,o,t),a=Zf(l,o,t-1/3)}return{r:r*255,g:i*255,b:a*255}}function Jh(t,e,n){t=kt(t,255),e=kt(e,255),n=kt(n,255);var r=Math.max(t,e,n),i=Math.min(t,e,n),a=0,o=r,l=r-i,s=r===0?0:l/r;if(r===i)a=0;else{switch(r){case t:a=(e-n)/l+(e>16,g:(t&65280)>>8,b:t&255}}var tm={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function va(t){var e={r:0,g:0,b:0},n=1,r=null,i=null,a=null,o=!1,l=!1;return typeof t=="string"&&(t=ZV(t)),typeof t=="object"&&(hr(t.r)&&hr(t.g)&&hr(t.b)?(e=UV(t.r,t.g,t.b),o=!0,l=String(t.r).substr(-1)==="%"?"prgb":"rgb"):hr(t.h)&&hr(t.s)&&hr(t.v)?(r=Gl(t.s),i=Gl(t.v),e=GV(t.h,r,i),o=!0,l="hsv"):hr(t.h)&&hr(t.s)&&hr(t.l)&&(r=Gl(t.s),a=Gl(t.l),e=WV(t.h,r,a),o=!0,l="hsl"),Object.prototype.hasOwnProperty.call(t,"a")&&(n=t.a)),n=tP(n),{ok:o,format:t.format||l,r:Math.min(255,Math.max(e.r,0)),g:Math.min(255,Math.max(e.g,0)),b:Math.min(255,Math.max(e.b,0)),a:n}}var YV="[-\\+]?\\d+%?",QV="[-\\+]?\\d*\\.\\d+%?",Kr="(?:".concat(QV,")|(?:").concat(YV,")"),Jf="[\\s|\\(]+(".concat(Kr,")[,|\\s]+(").concat(Kr,")[,|\\s]+(").concat(Kr,")\\s*\\)?"),ep="[\\s|\\(]+(".concat(Kr,")[,|\\s]+(").concat(Kr,")[,|\\s]+(").concat(Kr,")[,|\\s]+(").concat(Kr,")\\s*\\)?"),$n={CSS_UNIT:new RegExp(Kr),rgb:new RegExp("rgb"+Jf),rgba:new RegExp("rgba"+ep),hsl:new RegExp("hsl"+Jf),hsla:new RegExp("hsla"+ep),hsv:new RegExp("hsv"+Jf),hsva:new RegExp("hsva"+ep),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function ZV(t){if(t=t.trim().toLowerCase(),t.length===0)return!1;var e=!1;if(tm[t])t=tm[t],e=!0;else if(t==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var n=$n.rgb.exec(t);return n?{r:n[1],g:n[2],b:n[3]}:(n=$n.rgba.exec(t),n?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=$n.hsl.exec(t),n?{h:n[1],s:n[2],l:n[3]}:(n=$n.hsla.exec(t),n?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=$n.hsv.exec(t),n?{h:n[1],s:n[2],v:n[3]}:(n=$n.hsva.exec(t),n?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=$n.hex8.exec(t),n?{r:ln(n[1]),g:ln(n[2]),b:ln(n[3]),a:x1(n[4]),format:e?"name":"hex8"}:(n=$n.hex6.exec(t),n?{r:ln(n[1]),g:ln(n[2]),b:ln(n[3]),format:e?"name":"hex"}:(n=$n.hex4.exec(t),n?{r:ln(n[1]+n[1]),g:ln(n[2]+n[2]),b:ln(n[3]+n[3]),a:x1(n[4]+n[4]),format:e?"name":"hex8"}:(n=$n.hex3.exec(t),n?{r:ln(n[1]+n[1]),g:ln(n[2]+n[2]),b:ln(n[3]+n[3]),format:e?"name":"hex"}:!1)))))))))}function hr(t){return!!$n.CSS_UNIT.exec(String(t))}var pn=function(){function t(e,n){e===void 0&&(e=""),n===void 0&&(n={});var r;if(e instanceof t)return e;typeof e=="number"&&(e=KV(e)),this.originalInput=e;var i=va(e);this.originalInput=e,this.r=i.r,this.g=i.g,this.b=i.b,this.a=i.a,this.roundA=Math.round(100*this.a)/100,this.format=(r=n.format)!==null&&r!==void 0?r:i.format,this.gradientType=n.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=i.ok}return t.prototype.isDark=function(){return this.getBrightness()<128},t.prototype.isLight=function(){return!this.isDark()},t.prototype.getBrightness=function(){var e=this.toRgb();return(e.r*299+e.g*587+e.b*114)/1e3},t.prototype.getLuminance=function(){var e=this.toRgb(),n,r,i,a=e.r/255,o=e.g/255,l=e.b/255;return a<=.03928?n=a/12.92:n=Math.pow((a+.055)/1.055,2.4),o<=.03928?r=o/12.92:r=Math.pow((o+.055)/1.055,2.4),l<=.03928?i=l/12.92:i=Math.pow((l+.055)/1.055,2.4),.2126*n+.7152*r+.0722*i},t.prototype.getAlpha=function(){return this.a},t.prototype.setAlpha=function(e){return this.a=tP(e),this.roundA=Math.round(100*this.a)/100,this},t.prototype.isMonochrome=function(){var e=this.toHsl().s;return e===0},t.prototype.toHsv=function(){var e=Jh(this.r,this.g,this.b);return{h:e.h*360,s:e.s,v:e.v,a:this.a}},t.prototype.toHsvString=function(){var e=Jh(this.r,this.g,this.b),n=Math.round(e.h*360),r=Math.round(e.s*100),i=Math.round(e.v*100);return this.a===1?"hsv(".concat(n,", ").concat(r,"%, ").concat(i,"%)"):"hsva(".concat(n,", ").concat(r,"%, ").concat(i,"%, ").concat(this.roundA,")")},t.prototype.toHsl=function(){var e=S1(this.r,this.g,this.b);return{h:e.h*360,s:e.s,l:e.l,a:this.a}},t.prototype.toHslString=function(){var e=S1(this.r,this.g,this.b),n=Math.round(e.h*360),r=Math.round(e.s*100),i=Math.round(e.l*100);return this.a===1?"hsl(".concat(n,", ").concat(r,"%, ").concat(i,"%)"):"hsla(".concat(n,", ").concat(r,"%, ").concat(i,"%, ").concat(this.roundA,")")},t.prototype.toHex=function(e){return e===void 0&&(e=!1),em(this.r,this.g,this.b,e)},t.prototype.toHexString=function(e){return e===void 0&&(e=!1),"#"+this.toHex(e)},t.prototype.toHex8=function(e){return e===void 0&&(e=!1),qV(this.r,this.g,this.b,this.a,e)},t.prototype.toHex8String=function(e){return e===void 0&&(e=!1),"#"+this.toHex8(e)},t.prototype.toHexShortString=function(e){return e===void 0&&(e=!1),this.a===1?this.toHexString(e):this.toHex8String(e)},t.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},t.prototype.toRgbString=function(){var e=Math.round(this.r),n=Math.round(this.g),r=Math.round(this.b);return this.a===1?"rgb(".concat(e,", ").concat(n,", ").concat(r,")"):"rgba(".concat(e,", ").concat(n,", ").concat(r,", ").concat(this.roundA,")")},t.prototype.toPercentageRgb=function(){var e=function(n){return"".concat(Math.round(kt(n,255)*100),"%")};return{r:e(this.r),g:e(this.g),b:e(this.b),a:this.a}},t.prototype.toPercentageRgbString=function(){var e=function(n){return Math.round(kt(n,255)*100)};return this.a===1?"rgb(".concat(e(this.r),"%, ").concat(e(this.g),"%, ").concat(e(this.b),"%)"):"rgba(".concat(e(this.r),"%, ").concat(e(this.g),"%, ").concat(e(this.b),"%, ").concat(this.roundA,")")},t.prototype.toName=function(){if(this.a===0)return"transparent";if(this.a<1)return!1;for(var e="#"+em(this.r,this.g,this.b,!1),n=0,r=Object.entries(tm);n=0,a=!n&&i&&(e.startsWith("hex")||e==="name");return a?e==="name"&&this.a===0?this.toName():this.toRgbString():(e==="rgb"&&(r=this.toRgbString()),e==="prgb"&&(r=this.toPercentageRgbString()),(e==="hex"||e==="hex6")&&(r=this.toHexString()),e==="hex3"&&(r=this.toHexString(!0)),e==="hex4"&&(r=this.toHex8String(!0)),e==="hex8"&&(r=this.toHex8String()),e==="name"&&(r=this.toName()),e==="hsl"&&(r=this.toHslString()),e==="hsv"&&(r=this.toHsvString()),r||this.toHexString())},t.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},t.prototype.clone=function(){return new t(this.toString())},t.prototype.lighten=function(e){e===void 0&&(e=10);var n=this.toHsl();return n.l+=e/100,n.l=Wl(n.l),new t(n)},t.prototype.brighten=function(e){e===void 0&&(e=10);var n=this.toRgb();return n.r=Math.max(0,Math.min(255,n.r-Math.round(255*-(e/100)))),n.g=Math.max(0,Math.min(255,n.g-Math.round(255*-(e/100)))),n.b=Math.max(0,Math.min(255,n.b-Math.round(255*-(e/100)))),new t(n)},t.prototype.darken=function(e){e===void 0&&(e=10);var n=this.toHsl();return n.l-=e/100,n.l=Wl(n.l),new t(n)},t.prototype.tint=function(e){return e===void 0&&(e=10),this.mix("white",e)},t.prototype.shade=function(e){return e===void 0&&(e=10),this.mix("black",e)},t.prototype.desaturate=function(e){e===void 0&&(e=10);var n=this.toHsl();return n.s-=e/100,n.s=Wl(n.s),new t(n)},t.prototype.saturate=function(e){e===void 0&&(e=10);var n=this.toHsl();return n.s+=e/100,n.s=Wl(n.s),new t(n)},t.prototype.greyscale=function(){return this.desaturate(100)},t.prototype.spin=function(e){var n=this.toHsl(),r=(n.h+e)%360;return n.h=r<0?360+r:r,new t(n)},t.prototype.mix=function(e,n){n===void 0&&(n=50);var r=this.toRgb(),i=new t(e).toRgb(),a=n/100,o={r:(i.r-r.r)*a+r.r,g:(i.g-r.g)*a+r.g,b:(i.b-r.b)*a+r.b,a:(i.a-r.a)*a+r.a};return new t(o)},t.prototype.analogous=function(e,n){e===void 0&&(e=6),n===void 0&&(n=30);var r=this.toHsl(),i=360/n,a=[this];for(r.h=(r.h-(i*e>>1)+720)%360;--e;)r.h=(r.h+i)%360,a.push(new t(r));return a},t.prototype.complement=function(){var e=this.toHsl();return e.h=(e.h+180)%360,new t(e)},t.prototype.monochromatic=function(e){e===void 0&&(e=6);for(var n=this.toHsv(),r=n.h,i=n.s,a=n.v,o=[],l=1/e;e--;)o.push(new t({h:r,s:i,v:a})),a=(a+l)%1;return o},t.prototype.splitcomplement=function(){var e=this.toHsl(),n=e.h;return[this,new t({h:(n+72)%360,s:e.s,l:e.l}),new t({h:(n+216)%360,s:e.s,l:e.l})]},t.prototype.onBackground=function(e){var n=this.toRgb(),r=new t(e).toRgb(),i=n.a+r.a*(1-n.a);return new t({r:(n.r*n.a+r.r*r.a*(1-n.a))/i,g:(n.g*n.a+r.g*r.a*(1-n.a))/i,b:(n.b*n.a+r.b*r.a*(1-n.a))/i,a:i})},t.prototype.triad=function(){return this.polyad(3)},t.prototype.tetrad=function(){return this.polyad(4)},t.prototype.polyad=function(e){for(var n=this.toHsl(),r=n.h,i=[this],a=360/e,o=1;o=60&&Math.round(t.h)<=240?r=n?Math.round(t.h)-ql*e:Math.round(t.h)+ql*e:r=n?Math.round(t.h)+ql*e:Math.round(t.h)-ql*e,r<0?r+=360:r>=360&&(r-=360),r}function P1(t,e,n){if(t.h===0&&t.s===0)return t.s;var r;return n?r=t.s-E1*e:e===rP?r=t.s+E1:r=t.s+JV*e,r>1&&(r=1),n&&e===nP&&r>.1&&(r=.1),r<.06&&(r=.06),Number(r.toFixed(2))}function k1(t,e,n){var r;return n?r=t.v+e3*e:r=t.v-t3*e,r>1&&(r=1),Number(r.toFixed(2))}function Qi(t){for(var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=[],r=va(t),i=nP;i>0;i-=1){var a=C1(r),o=Xl(va({h:T1(a,i,!0),s:P1(a,i,!0),v:k1(a,i,!0)}));n.push(o)}n.push(Xl(r));for(var l=1;l<=rP;l+=1){var s=C1(r),u=Xl(va({h:T1(s,l),s:P1(s,l),v:k1(s,l)}));n.push(u)}return e.theme==="dark"?n3.map(function(c){var d=c.index,f=c.opacity,p=Xl(r3(va(e.backgroundColor||"#141414"),va(n[d]),f*100));return p}):n}var tp={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1677FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},Ou={},np={};Object.keys(tp).forEach(function(t){Ou[t]=Qi(tp[t]),Ou[t].primary=Ou[t][5],np[t]=Qi(tp[t],{theme:"dark",backgroundColor:"#141414"}),np[t].primary=np[t][5]});var i3=Ou.blue;const a3=t=>{const{controlHeight:e}=t;return{controlHeightSM:e*.75,controlHeightXS:e*.5,controlHeightLG:e*1.25}},o3=a3;function s3(t){const{sizeUnit:e,sizeStep:n}=t;return{sizeXXL:e*(n+8),sizeXL:e*(n+4),sizeLG:e*(n+2),sizeMD:e*(n+1),sizeMS:e*n,size:e*n,sizeSM:e*(n-1),sizeXS:e*(n-2),sizeXXS:e*(n-3)}}const iP={blue:"#1677ff",purple:"#722ED1",cyan:"#13C2C2",green:"#52C41A",magenta:"#EB2F96",pink:"#eb2f96",red:"#F5222D",orange:"#FA8C16",yellow:"#FADB14",volcano:"#FA541C",geekblue:"#2F54EB",gold:"#FAAD14",lime:"#A0D911"},l3=Object.assign(Object.assign({},iP),{colorPrimary:"#1677ff",colorSuccess:"#52c41a",colorWarning:"#faad14",colorError:"#ff4d4f",colorInfo:"#1677ff",colorLink:"",colorTextBase:"",colorBgBase:"",fontFamily:`-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, + */var gv=Symbol.for("react.element"),vv=Symbol.for("react.portal"),rd=Symbol.for("react.fragment"),id=Symbol.for("react.strict_mode"),ad=Symbol.for("react.profiler"),od=Symbol.for("react.provider"),sd=Symbol.for("react.context"),c_=Symbol.for("react.server_context"),ld=Symbol.for("react.forward_ref"),ud=Symbol.for("react.suspense"),cd=Symbol.for("react.suspense_list"),dd=Symbol.for("react.memo"),fd=Symbol.for("react.lazy"),d_=Symbol.for("react.offscreen"),vT;vT=Symbol.for("react.module.reference");function Fn(t){if(typeof t=="object"&&t!==null){var e=t.$$typeof;switch(e){case gv:switch(t=t.type,t){case rd:case ad:case id:case ud:case cd:return t;default:switch(t=t&&t.$$typeof,t){case c_:case sd:case ld:case fd:case dd:case od:return t;default:return e}}case vv:return e}}}ke.ContextConsumer=sd;ke.ContextProvider=od;ke.Element=gv;ke.ForwardRef=ld;ke.Fragment=rd;ke.Lazy=fd;ke.Memo=dd;ke.Portal=vv;ke.Profiler=ad;ke.StrictMode=id;ke.Suspense=ud;ke.SuspenseList=cd;ke.isAsyncMode=function(){return!1};ke.isConcurrentMode=function(){return!1};ke.isContextConsumer=function(t){return Fn(t)===sd};ke.isContextProvider=function(t){return Fn(t)===od};ke.isElement=function(t){return typeof t=="object"&&t!==null&&t.$$typeof===gv};ke.isForwardRef=function(t){return Fn(t)===ld};ke.isFragment=function(t){return Fn(t)===rd};ke.isLazy=function(t){return Fn(t)===fd};ke.isMemo=function(t){return Fn(t)===dd};ke.isPortal=function(t){return Fn(t)===vv};ke.isProfiler=function(t){return Fn(t)===ad};ke.isStrictMode=function(t){return Fn(t)===id};ke.isSuspense=function(t){return Fn(t)===ud};ke.isSuspenseList=function(t){return Fn(t)===cd};ke.isValidElementType=function(t){return typeof t=="string"||typeof t=="function"||t===rd||t===ad||t===id||t===ud||t===cd||t===d_||typeof t=="object"&&t!==null&&(t.$$typeof===fd||t.$$typeof===dd||t.$$typeof===od||t.$$typeof===sd||t.$$typeof===ld||t.$$typeof===vT||t.getModuleId!==void 0)};ke.typeOf=Fn;gT.exports=ke;var Pu=gT.exports;function $h(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=[];return Xe.Children.forEach(t,function(r){r==null&&!e.keepEmpty||(Array.isArray(r)?n=n.concat($h(r)):Pu.isFragment(r)&&r.props?n=n.concat($h(r.props.children,e)):n.push(r))}),n}var zh={},f_=function(e){};function p_(t,e){}function h_(t,e){}function m_(){zh={}}function yT(t,e,n){!e&&!zh[n]&&(t(!1,n),zh[n]=!0)}function en(t,e){yT(p_,t,e)}function g_(t,e){yT(h_,t,e)}en.preMessage=f_;en.resetWarned=m_;en.noteOnce=g_;function Ae(t){"@babel/helpers - typeof";return Ae=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ae(t)}function v_(t,e){if(Ae(t)!="object"||!t)return t;var n=t[Symbol.toPrimitive];if(n!==void 0){var r=n.call(t,e||"default");if(Ae(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function wT(t){var e=v_(t,"string");return Ae(e)=="symbol"?e:String(e)}function U(t,e,n){return e=wT(e),e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function o1(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),n.push.apply(n,r)}return n}function H(t){for(var e=1;et.length)&&(e=t.length);for(var n=0,r=new Array(e);n1&&arguments[1]!==void 0?arguments[1]:1;l1+=1;var r=l1;function i(a){if(a===0)kT(r),e();else{var o=TT(function(){i(a-1)});Sv.set(r,o)}}return i(n),r};Uh.cancel=function(t){var e=Sv.get(t);return kT(t),PT(e)};function MT(t){if(Array.isArray(t))return t}function E_(t,e){var n=t==null?null:typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(n!=null){var r,i,a,o,l=[],s=!0,u=!1;try{if(a=(n=n.call(t)).next,e===0){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=a.call(n)).done)&&(l.push(r.value),l.length!==e);s=!0);}catch(c){u=!0,i=c}finally{try{if(!s&&n.return!=null&&(o=n.return(),Object(o)!==o))return}finally{if(u)throw i}}return l}}function OT(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ie(t,e){return MT(t)||E_(t,e)||bv(t,e)||OT()}function mc(t){for(var e=0,n,r=0,i=t.length;i>=4;++r,i-=4)n=t.charCodeAt(r)&255|(t.charCodeAt(++r)&255)<<8|(t.charCodeAt(++r)&255)<<16|(t.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,e=(n&65535)*1540483477+((n>>>16)*59797<<16)^(e&65535)*1540483477+((e>>>16)*59797<<16);switch(i){case 3:e^=(t.charCodeAt(r+2)&255)<<16;case 2:e^=(t.charCodeAt(r+1)&255)<<8;case 1:e^=t.charCodeAt(r)&255,e=(e&65535)*1540483477+((e>>>16)*59797<<16)}return e^=e>>>13,e=(e&65535)*1540483477+((e>>>16)*59797<<16),((e^e>>>15)>>>0).toString(36)}function tn(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function C_(t,e){if(!t)return!1;if(t.contains)return t.contains(e);for(var n=e;n;){if(n===t)return!0;n=n.parentNode}return!1}var u1="data-rc-order",c1="data-rc-priority",T_="rc-util-key",Wh=new Map;function AT(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},e=t.mark;return e?e.startsWith("data-")?e:"data-".concat(e):T_}function hd(t){if(t.attachTo)return t.attachTo;var e=document.querySelector("head");return e||document.body}function P_(t){return t==="queue"?"prependQueue":t?"prepend":"append"}function xv(t){return Array.from((Wh.get(t)||t).children).filter(function(e){return e.tagName==="STYLE"})}function LT(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!tn())return null;var n=e.csp,r=e.prepend,i=e.priority,a=i===void 0?0:i,o=P_(r),l=o==="prependQueue",s=document.createElement("style");s.setAttribute(u1,o),l&&a&&s.setAttribute(c1,"".concat(a)),n!=null&&n.nonce&&(s.nonce=n==null?void 0:n.nonce),s.innerHTML=t;var u=hd(e),c=u.firstChild;if(r){if(l){var d=(e.styles||xv(u)).filter(function(f){if(!["prepend","prependQueue"].includes(f.getAttribute(u1)))return!1;var p=Number(f.getAttribute(c1)||0);return a>=p});if(d.length)return u.insertBefore(s,d[d.length-1].nextSibling),s}u.insertBefore(s,c)}else u.appendChild(s);return s}function RT(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=hd(e);return(e.styles||xv(n)).find(function(r){return r.getAttribute(AT(e))===t})}function Bs(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=RT(t,e);if(n){var r=hd(e);r.removeChild(n)}}function k_(t,e){var n=Wh.get(t);if(!n||!C_(document,n)){var r=LT("",e),i=r.parentNode;Wh.set(t,i),t.removeChild(r)}}function pi(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=hd(n),i=xv(r),a=H(H({},n),{},{styles:i});k_(r,a);var o=RT(e,a);if(o){var l,s;if((l=a.csp)!==null&&l!==void 0&&l.nonce&&o.nonce!==((s=a.csp)===null||s===void 0?void 0:s.nonce)){var u;o.nonce=(u=a.csp)===null||u===void 0?void 0:u.nonce}return o.innerHTML!==t&&(o.innerHTML=t),o}var c=LT(t,a);return c.setAttribute(AT(a),e),c}function M_(t,e){if(t==null)return{};var n={},r=Object.keys(t),i,a;for(a=0;a=0)&&(n[i]=t[i]);return n}function gt(t,e){if(t==null)return{};var n=M_(t,e),r,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);for(i=0;i=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(n[r]=t[r])}return n}function IT(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,r=new Set;function i(a,o){var l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,s=r.has(a);if(en(!s,"Warning: There may be circular references"),s)return!1;if(a===o)return!0;if(n&&l>1)return!1;r.add(a);var u=l+1;if(Array.isArray(a)){if(!Array.isArray(o)||a.length!==o.length)return!1;for(var c=0;c1&&arguments[1]!==void 0?arguments[1]:!1,o={map:this.cache};return n.forEach(function(l){if(!o)o=void 0;else{var s;o=(s=o)===null||s===void 0||(s=s.map)===null||s===void 0?void 0:s.get(l)}}),(r=o)!==null&&r!==void 0&&r.value&&a&&(o.value[1]=this.cacheCallTimes++),(i=o)===null||i===void 0?void 0:i.value}},{key:"get",value:function(n){var r;return(r=this.internalGet(n,!0))===null||r===void 0?void 0:r[0]}},{key:"has",value:function(n){return!!this.internalGet(n)}},{key:"set",value:function(n,r){var i=this;if(!this.has(n)){if(this.size()+1>t.MAX_CACHE_SIZE+t.MAX_CACHE_OFFSET){var a=this.keys.reduce(function(u,c){var d=ie(u,2),f=d[1];return i.internalGet(c)[1]0,void 0),d1+=1}return _n(t,[{key:"getDerivativeToken",value:function(n){return this.derivatives.reduce(function(r,i){return i(n,r)},void 0)}}]),t}(),Kf=new Ev;function qh(t){var e=Array.isArray(t)?t:[t];return Kf.has(e)||Kf.set(e,new DT(e)),Kf.get(e)}var I_=new WeakMap,Yf={};function D_(t,e){for(var n=I_,r=0;r3&&arguments[3]!==void 0?arguments[3]:{},a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1;if(a)return t;var o=H(H({},i),{},(r={},U(r,ao,e),U(r,Kn,n),r)),l=Object.keys(o).map(function(s){var u=o[s];return u?"".concat(s,'="').concat(u,'"'):null}).filter(function(s){return s}).join(" ");return"")}var NT=function(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return"--".concat(n?"".concat(n,"-"):"").concat(e).replace(/([a-z0-9])([A-Z])/g,"$1-$2").replace(/([A-Z]+)([A-Z][a-z0-9]+)/g,"$1-$2").replace(/([a-z])([A-Z0-9])/g,"$1-$2").toLowerCase()},__=function(e,n,r){return Object.keys(e).length?".".concat(n).concat(r!=null&&r.scope?".".concat(r.scope):"","{").concat(Object.entries(e).map(function(i){var a=ie(i,2),o=a[0],l=a[1];return"".concat(o,":").concat(l,";")}).join(""),"}"):""},_T=function(e,n,r){var i={},a={};return Object.entries(e).forEach(function(o){var l,s,u=ie(o,2),c=u[0],d=u[1];if(r!=null&&(l=r.preserve)!==null&&l!==void 0&&l[c])a[c]=d;else if((typeof d=="string"||typeof d=="number")&&!(r!=null&&(s=r.ignore)!==null&&s!==void 0&&s[c])){var f,p=NT(c,r==null?void 0:r.prefix);i[p]=typeof d=="number"&&!(r!=null&&(f=r.unitless)!==null&&f!==void 0&&f[c])?"".concat(d,"px"):String(d),a[c]="var(".concat(p,")")}}),[a,__(i,n,{scope:r==null?void 0:r.scope})]},h1=tn()?S.useLayoutEffect:S.useEffect,oo=function(e,n){var r=S.useRef(!0);h1(function(){return e(r.current)},n),h1(function(){return r.current=!1,function(){r.current=!0}},[])},V_=H({},qa),m1=V_.useInsertionEffect,j_=function(e,n,r){S.useMemo(e,r),oo(function(){return n(!0)},r)},$_=m1?function(t,e,n){return m1(function(){return t(),e()},n)}:j_,z_=H({},qa),B_=z_.useInsertionEffect,H_=function(e){var n=[],r=!1;function i(a){r||n.push(a)}return S.useEffect(function(){return r=!1,function(){r=!0,n.length&&n.forEach(function(a){return a()})}},e),i},U_=function(){return function(e){e()}},W_=typeof B_<"u"?H_:U_;function Cv(t,e,n,r,i){var a=S.useContext(md),o=a.cache,l=[t].concat(ce(e)),s=Gh(l),u=W_([s]),c=function(w){o.opUpdate(s,function(g){var y=g||[void 0,void 0],h=ie(y,2),v=h[0],m=v===void 0?0:v,b=h[1],E=b,x=E||n(),C=[m,x];return w?w(C):C})};S.useMemo(function(){c()},[s]);var d=o.opGet(s),f=d[1];return $_(function(){i==null||i(f)},function(p){return c(function(w){var g=ie(w,2),y=g[0],h=g[1];return p&&y===0&&(i==null||i(f)),[y+1,h]}),function(){o.opUpdate(s,function(w){var g=w||[],y=ie(g,2),h=y[0],v=h===void 0?0:h,m=y[1],b=v-1;return b===0?(u(function(){(p||!o.opGet(s))&&(r==null||r(m,!1))}),null):[v-1,m]})}},[s]),f}var G_={},q_="css",Ai=new Map;function X_(t){Ai.set(t,(Ai.get(t)||0)+1)}function K_(t,e){if(typeof document<"u"){var n=document.querySelectorAll("style[".concat(ao,'="').concat(t,'"]'));n.forEach(function(r){if(r[Kr]===e){var i;(i=r.parentNode)===null||i===void 0||i.removeChild(r)}})}}var Y_=0;function Q_(t,e){Ai.set(t,(Ai.get(t)||0)-1);var n=Array.from(Ai.keys()),r=n.filter(function(i){var a=Ai.get(i)||0;return a<=0});n.length-r.length>Y_&&r.forEach(function(i){K_(i,e),Ai.delete(i)})}var Z_=function(e,n,r,i){var a=r.getDerivativeToken(e),o=H(H({},a),n);return i&&(o=i(o)),o},VT="token";function J_(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=S.useContext(md),i=r.cache.instanceId,a=r.container,o=n.salt,l=o===void 0?"":o,s=n.override,u=s===void 0?G_:s,c=n.formatToken,d=n.getComputedToken,f=n.cssVar,p=D_(function(){return Object.assign.apply(Object,[{}].concat(ce(e)))},e),w=ms(p),g=ms(u),y=f?ms(f):"",h=Cv(VT,[l,t.id,w,g,y],function(){var v,m=d?d(p,u,t):Z_(p,u,t,c),b=H({},m),E="";if(f){var x=_T(m,f.key,{prefix:f.prefix,ignore:f.ignore,unitless:f.unitless,preserve:f.preserve}),C=ie(x,2);m=C[0],E=C[1]}var T=p1(m,l);m._tokenKey=T,b._tokenKey=p1(b,l);var P=(v=f==null?void 0:f.key)!==null&&v!==void 0?v:T;m._themeKey=P,X_(P);var O="".concat(q_,"-").concat(mc(T));return m._hashId=O,[m,O,b,E,(f==null?void 0:f.key)||""]},function(v){Q_(v[0]._themeKey,i)},function(v){var m=ie(v,4),b=m[0],E=m[3];if(f&&E){var x=pi(E,mc("css-variables-".concat(b._themeKey)),{mark:Kn,prepend:"queue",attachTo:a,priority:-999});x[Kr]=i,x.setAttribute(ao,b._themeKey)}});return h}var eV=function(e,n,r){var i=ie(e,5),a=i[2],o=i[3],l=i[4],s=r||{},u=s.plain;if(!o)return null;var c=a._tokenKey,d=-999,f={"data-rc-order":"prependQueue","data-rc-priority":"".concat(d)},p=gc(o,l,c,f,u);return[d,c,p]},tV={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},Dt="-ms-",vc="-moz-",Ee="-webkit-",jT="comm",Tv="rule",Pv="decl",nV="@import",$T="@keyframes",rV="@layer",iV=Math.abs,gd=String.fromCharCode,aV=Object.assign;function oV(t,e){return xt(t,0)^45?(((e<<2^xt(t,0))<<2^xt(t,1))<<2^xt(t,2))<<2^xt(t,3):0}function zT(t){return t.trim()}function sV(t,e){return(t=e.exec(t))?t[0]:t}function Ce(t,e,n){return t.replace(e,n)}function Kh(t,e){return t.indexOf(e)}function xt(t,e){return t.charCodeAt(e)|0}function Hs(t,e,n){return t.slice(e,n)}function ir(t){return t.length}function kv(t){return t.length}function Gl(t,e){return e.push(t),t}function lV(t,e){return t.map(e).join("")}var vd=1,so=1,BT=0,nn=0,at=0,yo="";function yd(t,e,n,r,i,a,o){return{value:t,root:e,parent:n,type:r,props:i,children:a,line:vd,column:so,length:o,return:""}}function _o(t,e){return aV(yd("",null,null,"",null,null,0),t,{length:-t.length},e)}function uV(){return at}function cV(){return at=nn>0?xt(yo,--nn):0,so--,at===10&&(so=1,vd--),at}function vn(){return at=nn2||Us(at)>3?"":" "}function fV(t,e){for(;--e&&vn()&&!(at<48||at>102||at>57&&at<65||at>70&&at<97););return dl(t,ku()+(e<6&&dr()==32&&vn()==32))}function Yh(t){for(;vn();)switch(at){case t:return nn;case 34:case 39:t!==34&&t!==39&&Yh(at);break;case 40:t===41&&Yh(t);break;case 92:vn();break}return nn}function pV(t,e){for(;vn()&&t+at!==47+10;)if(t+at===42+42&&dr()===47)break;return"/*"+dl(e,nn-1)+"*"+gd(t===47?t:vn())}function hV(t){for(;!Us(dr());)vn();return dl(t,nn)}function WT(t){return UT(Ou("",null,null,null,[""],t=HT(t),0,[0],t))}function Ou(t,e,n,r,i,a,o,l,s){for(var u=0,c=0,d=o,f=0,p=0,w=0,g=1,y=1,h=1,v=0,m="",b=i,E=a,x=r,C=m;y;)switch(w=v,v=vn()){case 40:if(w!=108&&xt(C,d-1)==58){Kh(C+=Ce(Mu(v),"&","&\f"),"&\f")!=-1&&(h=-1);break}case 34:case 39:case 91:C+=Mu(v);break;case 9:case 10:case 13:case 32:C+=dV(w);break;case 92:C+=fV(ku()-1,7);continue;case 47:switch(dr()){case 42:case 47:Gl(mV(pV(vn(),ku()),e,n),s);break;default:C+="/"}break;case 123*g:l[u++]=ir(C)*h;case 125*g:case 59:case 0:switch(v){case 0:case 125:y=0;case 59+c:h==-1&&(C=Ce(C,/\f/g,"")),p>0&&ir(C)-d&&Gl(p>32?v1(C+";",r,n,d-1):v1(Ce(C," ","")+";",r,n,d-2),s);break;case 59:C+=";";default:if(Gl(x=g1(C,e,n,u,c,i,l,m,b=[],E=[],d),a),v===123)if(c===0)Ou(C,e,x,x,b,a,d,l,E);else switch(f===99&&xt(C,3)===110?100:f){case 100:case 108:case 109:case 115:Ou(t,x,x,r&&Gl(g1(t,x,x,0,0,i,l,m,i,b=[],d),E),i,E,d,l,r?b:E);break;default:Ou(C,x,x,x,[""],E,0,l,E)}}u=c=p=0,g=h=1,m=C="",d=o;break;case 58:d=1+ir(C),p=w;default:if(g<1){if(v==123)--g;else if(v==125&&g++==0&&cV()==125)continue}switch(C+=gd(v),v*g){case 38:h=c>0?1:(C+="\f",-1);break;case 44:l[u++]=(ir(C)-1)*h,h=1;break;case 64:dr()===45&&(C+=Mu(vn())),f=dr(),c=d=ir(m=C+=hV(ku())),v++;break;case 45:w===45&&ir(C)==2&&(g=0)}}return a}function g1(t,e,n,r,i,a,o,l,s,u,c){for(var d=i-1,f=i===0?a:[""],p=kv(f),w=0,g=0,y=0;w0?f[h]+" "+v:Ce(v,/&\f/g,f[h])))&&(s[y++]=m);return yd(t,e,n,i===0?Tv:l,s,u,c)}function mV(t,e,n){return yd(t,e,n,jT,gd(uV()),Hs(t,2,-2),0)}function v1(t,e,n,r){return yd(t,e,n,Pv,Hs(t,0,r),Hs(t,r+1,-1),r)}function Bi(t,e){for(var n="",r=kv(t),i=0;i1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{root:!0,parentSelectors:[]},i=r.root,a=r.injectHash,o=r.parentSelectors,l=n.hashId,s=n.layer;n.path;var u=n.hashPriority,c=n.transformers,d=c===void 0?[]:c;n.linters;var f="",p={};function w(m){var b=m.getName(l);if(!p[b]){var E=t(m.style,n,{root:!1,parentSelectors:o}),x=ie(E,1),C=x[0];p[b]="@keyframes ".concat(m.getName(l)).concat(C)}}function g(m){var b=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return m.forEach(function(E){Array.isArray(E)?g(E,b):E&&b.push(E)}),b}var y=g(Array.isArray(e)?e:[e]);if(y.forEach(function(m){var b=typeof m=="string"&&!i?{}:m;if(typeof b=="string")f+="".concat(b,` +`);else if(b._keyframe)w(b);else{var E=d.reduce(function(x,C){var T;return(C==null||(T=C.visit)===null||T===void 0?void 0:T.call(C,x))||x},b);Object.keys(E).forEach(function(x){var C=E[x];if(Ae(C)==="object"&&C&&(x!=="animationName"||!C._keyframe)&&!xV(C)){var T=!1,P=x.trim(),O=!1;(i||a)&&l?P.startsWith("@")?T=!0:P=EV(x,l,u):i&&!l&&(P==="&"||P==="")&&(P="",O=!0);var I=t(C,n,{root:O,injectHash:T,parentSelectors:[].concat(ce(o),[P])}),N=ie(I,2),A=N[0],M=N[1];p=H(H({},p),M),f+="".concat(P).concat(A)}else{let L=function(k,F){var j=k.replace(/[A-Z]/g,function(G){return"-".concat(G.toLowerCase())}),B=F;!tV[k]&&typeof B=="number"&&B!==0&&(B="".concat(B,"px")),k==="animationName"&&F!==null&&F!==void 0&&F._keyframe&&(w(F),B=F.getName(l)),f+="".concat(j,":").concat(B,";")};var R,D=(R=C==null?void 0:C.value)!==null&&R!==void 0?R:C;Ae(C)==="object"&&C!==null&&C!==void 0&&C[KT]&&Array.isArray(D)?D.forEach(function(k){L(x,k)}):L(x,D)}})}}),!i)f="{".concat(f,"}");else if(s&&N_()){var h=s.split(","),v=h[h.length-1].trim();f="@layer ".concat(v," {").concat(f,"}"),h.length>1&&(f="@layer ".concat(s,"{%%%:%}").concat(f))}return[f,p]};function YT(t,e){return mc("".concat(t.join("%")).concat(e))}function TV(){return null}var QT="style";function Zh(t,e){var n=t.token,r=t.path,i=t.hashId,a=t.layer,o=t.nonce,l=t.clientOnly,s=t.order,u=s===void 0?0:s,c=S.useContext(md),d=c.autoClear;c.mock;var f=c.defaultCache,p=c.hashPriority,w=c.container,g=c.ssrInline,y=c.transformers,h=c.linters,v=c.cache,m=n._tokenKey,b=[m].concat(ce(r)),E=Xh,x=Cv(QT,b,function(){var I=b.join("|");if(wV(I)){var N=bV(I),A=ie(N,2),M=A[0],R=A[1];if(M)return[M,m,R,{},l,u]}var D=e(),L=CV(D,{hashId:i,hashPriority:p,layer:a,path:r.join("-"),transformers:y,linters:h}),k=ie(L,2),F=k[0],j=k[1],B=Qh(F),G=YT(b,B);return[B,m,G,j,l,u]},function(I,N){var A=ie(I,3),M=A[2];(N||d)&&Xh&&Bs(M,{mark:Kn})},function(I){var N=ie(I,4),A=N[0];N[1];var M=N[2],R=N[3];if(E&&A!==qT){var D={mark:Kn,prepend:"queue",attachTo:w,priority:u},L=typeof o=="function"?o():o;L&&(D.csp={nonce:L});var k=pi(A,M,D);k[Kr]=v.instanceId,k.setAttribute(ao,m),Object.keys(R).forEach(function(F){pi(Qh(R[F]),"_effect-".concat(F),D)})}}),C=ie(x,3),T=C[0],P=C[1],O=C[2];return function(I){var N;if(!g||E||!f)N=S.createElement(TV,null);else{var A;N=S.createElement("style",J({},(A={},U(A,ao,P),U(A,Kn,O),A),{dangerouslySetInnerHTML:{__html:T}}))}return S.createElement(S.Fragment,null,N,I)}}var PV=function(e,n,r){var i=ie(e,6),a=i[0],o=i[1],l=i[2],s=i[3],u=i[4],c=i[5],d=r||{},f=d.plain;if(u)return null;var p=a,w={"data-rc-order":"prependQueue","data-rc-priority":"".concat(c)};return p=gc(a,o,l,w,f),s&&Object.keys(s).forEach(function(g){if(!n[g]){n[g]=!0;var y=Qh(s[g]);p+=gc(y,o,"_effect-".concat(g),w,f)}}),[c,l,p]},ZT="cssVar",kV=function(e,n){var r=e.key,i=e.prefix,a=e.unitless,o=e.ignore,l=e.token,s=e.scope,u=s===void 0?"":s,c=S.useContext(md),d=c.cache.instanceId,f=c.container,p=l._tokenKey,w=[].concat(ce(e.path),[r,u,p]),g=Cv(ZT,w,function(){var y=n(),h=_T(y,r,{prefix:i,unitless:a,ignore:o,scope:u}),v=ie(h,2),m=v[0],b=v[1],E=YT(w,b);return[m,b,E,r]},function(y){var h=ie(y,3),v=h[2];Xh&&Bs(v,{mark:Kn})},function(y){var h=ie(y,3),v=h[1],m=h[2];if(v){var b=pi(v,m,{mark:Kn,prepend:"queue",attachTo:f,priority:-999});b[Kr]=d,b.setAttribute(ao,r)}});return g},MV=function(e,n,r){var i=ie(e,4),a=i[1],o=i[2],l=i[3],s=r||{},u=s.plain;if(!a)return null;var c=-999,d={"data-rc-order":"prependQueue","data-rc-priority":"".concat(c)},f=gc(a,l,o,d,u);return[c,o,f]},Vo;Vo={},U(Vo,QT,PV),U(Vo,VT,eV),U(Vo,ZT,MV);function pa(t){return t.notSplit=!0,t}pa(["borderTop","borderBottom"]),pa(["borderTop"]),pa(["borderBottom"]),pa(["borderLeft","borderRight"]),pa(["borderLeft"]),pa(["borderRight"]);var OV=S.createContext({});const Mv=OV;function AV(t){return MT(t)||CT(t)||bv(t)||OT()}function sr(t,e){for(var n=t,r=0;r3&&arguments[3]!==void 0?arguments[3]:!1;return e.length&&r&&n===void 0&&!sr(t,e.slice(0,-1))?t:JT(t,e,n,r)}function LV(t){return Ae(t)==="object"&&t!==null&&Object.getPrototypeOf(t)===Object.prototype}function w1(t){return Array.isArray(t)?[]:{}}var RV=typeof Reflect>"u"?Object.keys:Reflect.ownKeys;function Fa(){for(var t=arguments.length,e=new Array(t),n=0;nAu.reduce((t,e)=>Object.assign(Object.assign({},t),e),wd.Modal);function $V(t){if(t){const e=Object.assign({},t);return Au.push(e),S1(),()=>{Au=Au.filter(n=>n!==e),S1()}}Object.assign({},wd.Modal)}const zV=S.createContext(void 0),tP=zV,BV="internalMark",HV=t=>{const{locale:e={},children:n,_ANT_MARK__:r}=t;S.useEffect(()=>$V(e&&e.Modal),[e]);const i=S.useMemo(()=>Object.assign(Object.assign({},e),{exist:!0}),[e]);return S.createElement(tP.Provider,{value:i},n)},UV=HV;function kt(t,e){WV(t)&&(t="100%");var n=GV(t);return t=e===360?t:Math.min(e,Math.max(0,parseFloat(t))),n&&(t=parseInt(String(t*e),10)/100),Math.abs(t-e)<1e-6?1:(e===360?t=(t<0?t%e+e:t%e)/parseFloat(String(e)):t=t%e/parseFloat(String(e)),t)}function ql(t){return Math.min(1,Math.max(0,t))}function WV(t){return typeof t=="string"&&t.indexOf(".")!==-1&&parseFloat(t)===1}function GV(t){return typeof t=="string"&&t.indexOf("%")!==-1}function nP(t){return t=parseFloat(t),(isNaN(t)||t<0||t>1)&&(t=1),t}function Xl(t){return t<=1?"".concat(Number(t)*100,"%"):t}function Ni(t){return t.length===1?"0"+t:String(t)}function qV(t,e,n){return{r:kt(t,255)*255,g:kt(e,255)*255,b:kt(n,255)*255}}function x1(t,e,n){t=kt(t,255),e=kt(e,255),n=kt(n,255);var r=Math.max(t,e,n),i=Math.min(t,e,n),a=0,o=0,l=(r+i)/2;if(r===i)o=0,a=0;else{var s=r-i;switch(o=l>.5?s/(2-r-i):s/(r+i),r){case t:a=(e-n)/s+(e1&&(n-=1),n<1/6?t+(e-t)*(6*n):n<1/2?e:n<2/3?t+(e-t)*(2/3-n)*6:t}function XV(t,e,n){var r,i,a;if(t=kt(t,360),e=kt(e,100),n=kt(n,100),e===0)i=n,a=n,r=n;else{var o=n<.5?n*(1+e):n+e-n*e,l=2*n-o;r=Zf(l,o,t+1/3),i=Zf(l,o,t),a=Zf(l,o,t-1/3)}return{r:r*255,g:i*255,b:a*255}}function Jh(t,e,n){t=kt(t,255),e=kt(e,255),n=kt(n,255);var r=Math.max(t,e,n),i=Math.min(t,e,n),a=0,o=r,l=r-i,s=r===0?0:l/r;if(r===i)a=0;else{switch(r){case t:a=(e-n)/l+(e>16,g:(t&65280)>>8,b:t&255}}var tm={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function va(t){var e={r:0,g:0,b:0},n=1,r=null,i=null,a=null,o=!1,l=!1;return typeof t=="string"&&(t=tj(t)),typeof t=="object"&&(mr(t.r)&&mr(t.g)&&mr(t.b)?(e=qV(t.r,t.g,t.b),o=!0,l=String(t.r).substr(-1)==="%"?"prgb":"rgb"):mr(t.h)&&mr(t.s)&&mr(t.v)?(r=Xl(t.s),i=Xl(t.v),e=KV(t.h,r,i),o=!0,l="hsv"):mr(t.h)&&mr(t.s)&&mr(t.l)&&(r=Xl(t.s),a=Xl(t.l),e=XV(t.h,r,a),o=!0,l="hsl"),Object.prototype.hasOwnProperty.call(t,"a")&&(n=t.a)),n=nP(n),{ok:o,format:t.format||l,r:Math.min(255,Math.max(e.r,0)),g:Math.min(255,Math.max(e.g,0)),b:Math.min(255,Math.max(e.b,0)),a:n}}var JV="[-\\+]?\\d+%?",ej="[-\\+]?\\d*\\.\\d+%?",Yr="(?:".concat(ej,")|(?:").concat(JV,")"),Jf="[\\s|\\(]+(".concat(Yr,")[,|\\s]+(").concat(Yr,")[,|\\s]+(").concat(Yr,")\\s*\\)?"),ep="[\\s|\\(]+(".concat(Yr,")[,|\\s]+(").concat(Yr,")[,|\\s]+(").concat(Yr,")[,|\\s]+(").concat(Yr,")\\s*\\)?"),$n={CSS_UNIT:new RegExp(Yr),rgb:new RegExp("rgb"+Jf),rgba:new RegExp("rgba"+ep),hsl:new RegExp("hsl"+Jf),hsla:new RegExp("hsla"+ep),hsv:new RegExp("hsv"+Jf),hsva:new RegExp("hsva"+ep),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function tj(t){if(t=t.trim().toLowerCase(),t.length===0)return!1;var e=!1;if(tm[t])t=tm[t],e=!0;else if(t==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var n=$n.rgb.exec(t);return n?{r:n[1],g:n[2],b:n[3]}:(n=$n.rgba.exec(t),n?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=$n.hsl.exec(t),n?{h:n[1],s:n[2],l:n[3]}:(n=$n.hsla.exec(t),n?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=$n.hsv.exec(t),n?{h:n[1],s:n[2],v:n[3]}:(n=$n.hsva.exec(t),n?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=$n.hex8.exec(t),n?{r:ln(n[1]),g:ln(n[2]),b:ln(n[3]),a:E1(n[4]),format:e?"name":"hex8"}:(n=$n.hex6.exec(t),n?{r:ln(n[1]),g:ln(n[2]),b:ln(n[3]),format:e?"name":"hex"}:(n=$n.hex4.exec(t),n?{r:ln(n[1]+n[1]),g:ln(n[2]+n[2]),b:ln(n[3]+n[3]),a:E1(n[4]+n[4]),format:e?"name":"hex8"}:(n=$n.hex3.exec(t),n?{r:ln(n[1]+n[1]),g:ln(n[2]+n[2]),b:ln(n[3]+n[3]),format:e?"name":"hex"}:!1)))))))))}function mr(t){return!!$n.CSS_UNIT.exec(String(t))}var pn=function(){function t(e,n){e===void 0&&(e=""),n===void 0&&(n={});var r;if(e instanceof t)return e;typeof e=="number"&&(e=ZV(e)),this.originalInput=e;var i=va(e);this.originalInput=e,this.r=i.r,this.g=i.g,this.b=i.b,this.a=i.a,this.roundA=Math.round(100*this.a)/100,this.format=(r=n.format)!==null&&r!==void 0?r:i.format,this.gradientType=n.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=i.ok}return t.prototype.isDark=function(){return this.getBrightness()<128},t.prototype.isLight=function(){return!this.isDark()},t.prototype.getBrightness=function(){var e=this.toRgb();return(e.r*299+e.g*587+e.b*114)/1e3},t.prototype.getLuminance=function(){var e=this.toRgb(),n,r,i,a=e.r/255,o=e.g/255,l=e.b/255;return a<=.03928?n=a/12.92:n=Math.pow((a+.055)/1.055,2.4),o<=.03928?r=o/12.92:r=Math.pow((o+.055)/1.055,2.4),l<=.03928?i=l/12.92:i=Math.pow((l+.055)/1.055,2.4),.2126*n+.7152*r+.0722*i},t.prototype.getAlpha=function(){return this.a},t.prototype.setAlpha=function(e){return this.a=nP(e),this.roundA=Math.round(100*this.a)/100,this},t.prototype.isMonochrome=function(){var e=this.toHsl().s;return e===0},t.prototype.toHsv=function(){var e=Jh(this.r,this.g,this.b);return{h:e.h*360,s:e.s,v:e.v,a:this.a}},t.prototype.toHsvString=function(){var e=Jh(this.r,this.g,this.b),n=Math.round(e.h*360),r=Math.round(e.s*100),i=Math.round(e.v*100);return this.a===1?"hsv(".concat(n,", ").concat(r,"%, ").concat(i,"%)"):"hsva(".concat(n,", ").concat(r,"%, ").concat(i,"%, ").concat(this.roundA,")")},t.prototype.toHsl=function(){var e=x1(this.r,this.g,this.b);return{h:e.h*360,s:e.s,l:e.l,a:this.a}},t.prototype.toHslString=function(){var e=x1(this.r,this.g,this.b),n=Math.round(e.h*360),r=Math.round(e.s*100),i=Math.round(e.l*100);return this.a===1?"hsl(".concat(n,", ").concat(r,"%, ").concat(i,"%)"):"hsla(".concat(n,", ").concat(r,"%, ").concat(i,"%, ").concat(this.roundA,")")},t.prototype.toHex=function(e){return e===void 0&&(e=!1),em(this.r,this.g,this.b,e)},t.prototype.toHexString=function(e){return e===void 0&&(e=!1),"#"+this.toHex(e)},t.prototype.toHex8=function(e){return e===void 0&&(e=!1),YV(this.r,this.g,this.b,this.a,e)},t.prototype.toHex8String=function(e){return e===void 0&&(e=!1),"#"+this.toHex8(e)},t.prototype.toHexShortString=function(e){return e===void 0&&(e=!1),this.a===1?this.toHexString(e):this.toHex8String(e)},t.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},t.prototype.toRgbString=function(){var e=Math.round(this.r),n=Math.round(this.g),r=Math.round(this.b);return this.a===1?"rgb(".concat(e,", ").concat(n,", ").concat(r,")"):"rgba(".concat(e,", ").concat(n,", ").concat(r,", ").concat(this.roundA,")")},t.prototype.toPercentageRgb=function(){var e=function(n){return"".concat(Math.round(kt(n,255)*100),"%")};return{r:e(this.r),g:e(this.g),b:e(this.b),a:this.a}},t.prototype.toPercentageRgbString=function(){var e=function(n){return Math.round(kt(n,255)*100)};return this.a===1?"rgb(".concat(e(this.r),"%, ").concat(e(this.g),"%, ").concat(e(this.b),"%)"):"rgba(".concat(e(this.r),"%, ").concat(e(this.g),"%, ").concat(e(this.b),"%, ").concat(this.roundA,")")},t.prototype.toName=function(){if(this.a===0)return"transparent";if(this.a<1)return!1;for(var e="#"+em(this.r,this.g,this.b,!1),n=0,r=Object.entries(tm);n=0,a=!n&&i&&(e.startsWith("hex")||e==="name");return a?e==="name"&&this.a===0?this.toName():this.toRgbString():(e==="rgb"&&(r=this.toRgbString()),e==="prgb"&&(r=this.toPercentageRgbString()),(e==="hex"||e==="hex6")&&(r=this.toHexString()),e==="hex3"&&(r=this.toHexString(!0)),e==="hex4"&&(r=this.toHex8String(!0)),e==="hex8"&&(r=this.toHex8String()),e==="name"&&(r=this.toName()),e==="hsl"&&(r=this.toHslString()),e==="hsv"&&(r=this.toHsvString()),r||this.toHexString())},t.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},t.prototype.clone=function(){return new t(this.toString())},t.prototype.lighten=function(e){e===void 0&&(e=10);var n=this.toHsl();return n.l+=e/100,n.l=ql(n.l),new t(n)},t.prototype.brighten=function(e){e===void 0&&(e=10);var n=this.toRgb();return n.r=Math.max(0,Math.min(255,n.r-Math.round(255*-(e/100)))),n.g=Math.max(0,Math.min(255,n.g-Math.round(255*-(e/100)))),n.b=Math.max(0,Math.min(255,n.b-Math.round(255*-(e/100)))),new t(n)},t.prototype.darken=function(e){e===void 0&&(e=10);var n=this.toHsl();return n.l-=e/100,n.l=ql(n.l),new t(n)},t.prototype.tint=function(e){return e===void 0&&(e=10),this.mix("white",e)},t.prototype.shade=function(e){return e===void 0&&(e=10),this.mix("black",e)},t.prototype.desaturate=function(e){e===void 0&&(e=10);var n=this.toHsl();return n.s-=e/100,n.s=ql(n.s),new t(n)},t.prototype.saturate=function(e){e===void 0&&(e=10);var n=this.toHsl();return n.s+=e/100,n.s=ql(n.s),new t(n)},t.prototype.greyscale=function(){return this.desaturate(100)},t.prototype.spin=function(e){var n=this.toHsl(),r=(n.h+e)%360;return n.h=r<0?360+r:r,new t(n)},t.prototype.mix=function(e,n){n===void 0&&(n=50);var r=this.toRgb(),i=new t(e).toRgb(),a=n/100,o={r:(i.r-r.r)*a+r.r,g:(i.g-r.g)*a+r.g,b:(i.b-r.b)*a+r.b,a:(i.a-r.a)*a+r.a};return new t(o)},t.prototype.analogous=function(e,n){e===void 0&&(e=6),n===void 0&&(n=30);var r=this.toHsl(),i=360/n,a=[this];for(r.h=(r.h-(i*e>>1)+720)%360;--e;)r.h=(r.h+i)%360,a.push(new t(r));return a},t.prototype.complement=function(){var e=this.toHsl();return e.h=(e.h+180)%360,new t(e)},t.prototype.monochromatic=function(e){e===void 0&&(e=6);for(var n=this.toHsv(),r=n.h,i=n.s,a=n.v,o=[],l=1/e;e--;)o.push(new t({h:r,s:i,v:a})),a=(a+l)%1;return o},t.prototype.splitcomplement=function(){var e=this.toHsl(),n=e.h;return[this,new t({h:(n+72)%360,s:e.s,l:e.l}),new t({h:(n+216)%360,s:e.s,l:e.l})]},t.prototype.onBackground=function(e){var n=this.toRgb(),r=new t(e).toRgb(),i=n.a+r.a*(1-n.a);return new t({r:(n.r*n.a+r.r*r.a*(1-n.a))/i,g:(n.g*n.a+r.g*r.a*(1-n.a))/i,b:(n.b*n.a+r.b*r.a*(1-n.a))/i,a:i})},t.prototype.triad=function(){return this.polyad(3)},t.prototype.tetrad=function(){return this.polyad(4)},t.prototype.polyad=function(e){for(var n=this.toHsl(),r=n.h,i=[this],a=360/e,o=1;o=60&&Math.round(t.h)<=240?r=n?Math.round(t.h)-Kl*e:Math.round(t.h)+Kl*e:r=n?Math.round(t.h)+Kl*e:Math.round(t.h)-Kl*e,r<0?r+=360:r>=360&&(r-=360),r}function k1(t,e,n){if(t.h===0&&t.s===0)return t.s;var r;return n?r=t.s-C1*e:e===iP?r=t.s+C1:r=t.s+nj*e,r>1&&(r=1),n&&e===rP&&r>.1&&(r=.1),r<.06&&(r=.06),Number(r.toFixed(2))}function M1(t,e,n){var r;return n?r=t.v+rj*e:r=t.v-ij*e,r>1&&(r=1),Number(r.toFixed(2))}function Qi(t){for(var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=[],r=va(t),i=rP;i>0;i-=1){var a=T1(r),o=Yl(va({h:P1(a,i,!0),s:k1(a,i,!0),v:M1(a,i,!0)}));n.push(o)}n.push(Yl(r));for(var l=1;l<=iP;l+=1){var s=T1(r),u=Yl(va({h:P1(s,l),s:k1(s,l),v:M1(s,l)}));n.push(u)}return e.theme==="dark"?aj.map(function(c){var d=c.index,f=c.opacity,p=Yl(oj(va(e.backgroundColor||"#141414"),va(n[d]),f*100));return p}):n}var tp={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1677FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},Lu={},np={};Object.keys(tp).forEach(function(t){Lu[t]=Qi(tp[t]),Lu[t].primary=Lu[t][5],np[t]=Qi(tp[t],{theme:"dark",backgroundColor:"#141414"}),np[t].primary=np[t][5]});var sj=Lu.blue;const lj=t=>{const{controlHeight:e}=t;return{controlHeightSM:e*.75,controlHeightXS:e*.5,controlHeightLG:e*1.25}},uj=lj;function cj(t){const{sizeUnit:e,sizeStep:n}=t;return{sizeXXL:e*(n+8),sizeXL:e*(n+4),sizeLG:e*(n+2),sizeMD:e*(n+1),sizeMS:e*n,size:e*n,sizeSM:e*(n-1),sizeXS:e*(n-2),sizeXXS:e*(n-3)}}const aP={blue:"#1677ff",purple:"#722ED1",cyan:"#13C2C2",green:"#52C41A",magenta:"#EB2F96",pink:"#eb2f96",red:"#F5222D",orange:"#FA8C16",yellow:"#FADB14",volcano:"#FA541C",geekblue:"#2F54EB",gold:"#FAAD14",lime:"#A0D911"},dj=Object.assign(Object.assign({},aP),{colorPrimary:"#1677ff",colorSuccess:"#52c41a",colorWarning:"#faad14",colorError:"#ff4d4f",colorInfo:"#1677ff",colorLink:"",colorTextBase:"",colorBgBase:"",fontFamily:`-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', -'Noto Color Emoji'`,fontFamilyCode:"'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace",fontSize:14,lineWidth:1,lineType:"solid",motionUnit:.1,motionBase:0,motionEaseOutCirc:"cubic-bezier(0.08, 0.82, 0.17, 1)",motionEaseInOutCirc:"cubic-bezier(0.78, 0.14, 0.15, 0.86)",motionEaseOut:"cubic-bezier(0.215, 0.61, 0.355, 1)",motionEaseInOut:"cubic-bezier(0.645, 0.045, 0.355, 1)",motionEaseOutBack:"cubic-bezier(0.12, 0.4, 0.29, 1.46)",motionEaseInBack:"cubic-bezier(0.71, -0.46, 0.88, 0.6)",motionEaseInQuint:"cubic-bezier(0.755, 0.05, 0.855, 0.06)",motionEaseOutQuint:"cubic-bezier(0.23, 1, 0.32, 1)",borderRadius:6,sizeUnit:4,sizeStep:4,sizePopupArrow:16,controlHeight:32,zIndexBase:0,zIndexPopupBase:1e3,opacityImage:1,wireframe:!1,motion:!0}),Ws=l3;function u3(t,e){let{generateColorPalettes:n,generateNeutralColorPalettes:r}=e;const{colorSuccess:i,colorWarning:a,colorError:o,colorInfo:l,colorPrimary:s,colorBgBase:u,colorTextBase:c}=t,d=n(s),f=n(i),p=n(a),w=n(o),g=n(l),y=r(u,c),h=t.colorLink||t.colorInfo,v=n(h);return Object.assign(Object.assign({},y),{colorPrimaryBg:d[1],colorPrimaryBgHover:d[2],colorPrimaryBorder:d[3],colorPrimaryBorderHover:d[4],colorPrimaryHover:d[5],colorPrimary:d[6],colorPrimaryActive:d[7],colorPrimaryTextHover:d[8],colorPrimaryText:d[9],colorPrimaryTextActive:d[10],colorSuccessBg:f[1],colorSuccessBgHover:f[2],colorSuccessBorder:f[3],colorSuccessBorderHover:f[4],colorSuccessHover:f[4],colorSuccess:f[6],colorSuccessActive:f[7],colorSuccessTextHover:f[8],colorSuccessText:f[9],colorSuccessTextActive:f[10],colorErrorBg:w[1],colorErrorBgHover:w[2],colorErrorBorder:w[3],colorErrorBorderHover:w[4],colorErrorHover:w[5],colorError:w[6],colorErrorActive:w[7],colorErrorTextHover:w[8],colorErrorText:w[9],colorErrorTextActive:w[10],colorWarningBg:p[1],colorWarningBgHover:p[2],colorWarningBorder:p[3],colorWarningBorderHover:p[4],colorWarningHover:p[4],colorWarning:p[6],colorWarningActive:p[7],colorWarningTextHover:p[8],colorWarningText:p[9],colorWarningTextActive:p[10],colorInfoBg:g[1],colorInfoBgHover:g[2],colorInfoBorder:g[3],colorInfoBorderHover:g[4],colorInfoHover:g[4],colorInfo:g[6],colorInfoActive:g[7],colorInfoTextHover:g[8],colorInfoText:g[9],colorInfoTextActive:g[10],colorLinkHover:v[4],colorLink:v[6],colorLinkActive:v[7],colorBgMask:new pn("#000").setAlpha(.45).toRgbString(),colorWhite:"#fff"})}const c3=t=>{let e=t,n=t,r=t,i=t;return t<6&&t>=5?e=t+1:t<16&&t>=6?e=t+2:t>=16&&(e=16),t<7&&t>=5?n=4:t<8&&t>=7?n=5:t<14&&t>=8?n=6:t<16&&t>=14?n=7:t>=16&&(n=8),t<6&&t>=2?r=1:t>=6&&(r=2),t>4&&t<8?i=4:t>=8&&(i=6),{borderRadius:t,borderRadiusXS:r,borderRadiusSM:n,borderRadiusLG:e,borderRadiusOuter:i}},d3=c3;function f3(t){const{motionUnit:e,motionBase:n,borderRadius:r,lineWidth:i}=t;return Object.assign({motionDurationFast:`${(n+e).toFixed(1)}s`,motionDurationMid:`${(n+e*2).toFixed(1)}s`,motionDurationSlow:`${(n+e*3).toFixed(1)}s`,lineWidthBold:i+1},d3(r))}const mr=(t,e)=>new pn(t).setAlpha(e).toRgbString(),jo=(t,e)=>new pn(t).darken(e).toHexString(),p3=t=>{const e=Qi(t);return{1:e[0],2:e[1],3:e[2],4:e[3],5:e[4],6:e[5],7:e[6],8:e[4],9:e[5],10:e[6]}},h3=(t,e)=>{const n=t||"#fff",r=e||"#000";return{colorBgBase:n,colorTextBase:r,colorText:mr(r,.88),colorTextSecondary:mr(r,.65),colorTextTertiary:mr(r,.45),colorTextQuaternary:mr(r,.25),colorFill:mr(r,.15),colorFillSecondary:mr(r,.06),colorFillTertiary:mr(r,.04),colorFillQuaternary:mr(r,.02),colorBgLayout:jo(n,4),colorBgContainer:jo(n,0),colorBgElevated:jo(n,0),colorBgSpotlight:mr(r,.85),colorBgBlur:"transparent",colorBorder:jo(n,15),colorBorderSecondary:jo(n,6)}};function m3(t){return(t+8)/t}function g3(t){const e=new Array(10).fill(null).map((n,r)=>{const i=r-1,a=t*Math.pow(2.71828,i/5),o=r>1?Math.floor(a):Math.ceil(a);return Math.floor(o/2)*2});return e[1]=t,e.map(n=>({size:n,lineHeight:m3(n)}))}const v3=t=>{const e=g3(t),n=e.map(c=>c.size),r=e.map(c=>c.lineHeight),i=n[1],a=n[0],o=n[2],l=r[1],s=r[0],u=r[2];return{fontSizeSM:a,fontSize:i,fontSizeLG:o,fontSizeXL:n[3],fontSizeHeading1:n[6],fontSizeHeading2:n[5],fontSizeHeading3:n[4],fontSizeHeading4:n[3],fontSizeHeading5:n[2],lineHeight:l,lineHeightLG:u,lineHeightSM:s,fontHeight:Math.round(l*i),fontHeightLG:Math.round(u*o),fontHeightSM:Math.round(s*a),lineHeightHeading1:r[6],lineHeightHeading2:r[5],lineHeightHeading3:r[4],lineHeightHeading4:r[3],lineHeightHeading5:r[2]}},y3=v3;function w3(t){const e=Object.keys(iP).map(n=>{const r=Qi(t[n]);return new Array(10).fill(1).reduce((i,a,o)=>(i[`${n}-${o+1}`]=r[o],i[`${n}${o+1}`]=r[o],i),{})}).reduce((n,r)=>(n=Object.assign(Object.assign({},n),r),n),{});return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},t),e),u3(t,{generateColorPalettes:p3,generateNeutralColorPalettes:h3})),y3(t.fontSize)),s3(t)),o3(t)),f3(t))}const aP=qh(w3),nm={token:Ws,override:{override:Ws},hashed:!0},oP=Xe.createContext(nm),sP="anticon",b3=(t,e)=>e||(t?`ant-${t}`:"ant"),ra=S.createContext({getPrefixCls:b3,iconPrefixCls:sP}),S3=`-ant-${Date.now()}-${Math.random()}`;function x3(t,e){const n={},r=(o,l)=>{let s=o.clone();return s=(l==null?void 0:l(s))||s,s.toRgbString()},i=(o,l)=>{const s=new pn(o),u=Qi(s.toRgbString());n[`${l}-color`]=r(s),n[`${l}-color-disabled`]=u[1],n[`${l}-color-hover`]=u[4],n[`${l}-color-active`]=u[6],n[`${l}-color-outline`]=s.clone().setAlpha(.2).toRgbString(),n[`${l}-color-deprecated-bg`]=u[0],n[`${l}-color-deprecated-border`]=u[2]};if(e.primaryColor){i(e.primaryColor,"primary");const o=new pn(e.primaryColor),l=Qi(o.toRgbString());l.forEach((u,c)=>{n[`primary-${c+1}`]=u}),n["primary-color-deprecated-l-35"]=r(o,u=>u.lighten(35)),n["primary-color-deprecated-l-20"]=r(o,u=>u.lighten(20)),n["primary-color-deprecated-t-20"]=r(o,u=>u.tint(20)),n["primary-color-deprecated-t-50"]=r(o,u=>u.tint(50)),n["primary-color-deprecated-f-12"]=r(o,u=>u.setAlpha(u.getAlpha()*.12));const s=new pn(l[0]);n["primary-color-active-deprecated-f-30"]=r(s,u=>u.setAlpha(u.getAlpha()*.3)),n["primary-color-active-deprecated-d-02"]=r(s,u=>u.darken(2))}return e.successColor&&i(e.successColor,"success"),e.warningColor&&i(e.warningColor,"warning"),e.errorColor&&i(e.errorColor,"error"),e.infoColor&&i(e.infoColor,"info"),` +'Noto Color Emoji'`,fontFamilyCode:"'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace",fontSize:14,lineWidth:1,lineType:"solid",motionUnit:.1,motionBase:0,motionEaseOutCirc:"cubic-bezier(0.08, 0.82, 0.17, 1)",motionEaseInOutCirc:"cubic-bezier(0.78, 0.14, 0.15, 0.86)",motionEaseOut:"cubic-bezier(0.215, 0.61, 0.355, 1)",motionEaseInOut:"cubic-bezier(0.645, 0.045, 0.355, 1)",motionEaseOutBack:"cubic-bezier(0.12, 0.4, 0.29, 1.46)",motionEaseInBack:"cubic-bezier(0.71, -0.46, 0.88, 0.6)",motionEaseInQuint:"cubic-bezier(0.755, 0.05, 0.855, 0.06)",motionEaseOutQuint:"cubic-bezier(0.23, 1, 0.32, 1)",borderRadius:6,sizeUnit:4,sizeStep:4,sizePopupArrow:16,controlHeight:32,zIndexBase:0,zIndexPopupBase:1e3,opacityImage:1,wireframe:!1,motion:!0}),Ws=dj;function fj(t,e){let{generateColorPalettes:n,generateNeutralColorPalettes:r}=e;const{colorSuccess:i,colorWarning:a,colorError:o,colorInfo:l,colorPrimary:s,colorBgBase:u,colorTextBase:c}=t,d=n(s),f=n(i),p=n(a),w=n(o),g=n(l),y=r(u,c),h=t.colorLink||t.colorInfo,v=n(h);return Object.assign(Object.assign({},y),{colorPrimaryBg:d[1],colorPrimaryBgHover:d[2],colorPrimaryBorder:d[3],colorPrimaryBorderHover:d[4],colorPrimaryHover:d[5],colorPrimary:d[6],colorPrimaryActive:d[7],colorPrimaryTextHover:d[8],colorPrimaryText:d[9],colorPrimaryTextActive:d[10],colorSuccessBg:f[1],colorSuccessBgHover:f[2],colorSuccessBorder:f[3],colorSuccessBorderHover:f[4],colorSuccessHover:f[4],colorSuccess:f[6],colorSuccessActive:f[7],colorSuccessTextHover:f[8],colorSuccessText:f[9],colorSuccessTextActive:f[10],colorErrorBg:w[1],colorErrorBgHover:w[2],colorErrorBorder:w[3],colorErrorBorderHover:w[4],colorErrorHover:w[5],colorError:w[6],colorErrorActive:w[7],colorErrorTextHover:w[8],colorErrorText:w[9],colorErrorTextActive:w[10],colorWarningBg:p[1],colorWarningBgHover:p[2],colorWarningBorder:p[3],colorWarningBorderHover:p[4],colorWarningHover:p[4],colorWarning:p[6],colorWarningActive:p[7],colorWarningTextHover:p[8],colorWarningText:p[9],colorWarningTextActive:p[10],colorInfoBg:g[1],colorInfoBgHover:g[2],colorInfoBorder:g[3],colorInfoBorderHover:g[4],colorInfoHover:g[4],colorInfo:g[6],colorInfoActive:g[7],colorInfoTextHover:g[8],colorInfoText:g[9],colorInfoTextActive:g[10],colorLinkHover:v[4],colorLink:v[6],colorLinkActive:v[7],colorBgMask:new pn("#000").setAlpha(.45).toRgbString(),colorWhite:"#fff"})}const pj=t=>{let e=t,n=t,r=t,i=t;return t<6&&t>=5?e=t+1:t<16&&t>=6?e=t+2:t>=16&&(e=16),t<7&&t>=5?n=4:t<8&&t>=7?n=5:t<14&&t>=8?n=6:t<16&&t>=14?n=7:t>=16&&(n=8),t<6&&t>=2?r=1:t>=6&&(r=2),t>4&&t<8?i=4:t>=8&&(i=6),{borderRadius:t,borderRadiusXS:r,borderRadiusSM:n,borderRadiusLG:e,borderRadiusOuter:i}},hj=pj;function mj(t){const{motionUnit:e,motionBase:n,borderRadius:r,lineWidth:i}=t;return Object.assign({motionDurationFast:`${(n+e).toFixed(1)}s`,motionDurationMid:`${(n+e*2).toFixed(1)}s`,motionDurationSlow:`${(n+e*3).toFixed(1)}s`,lineWidthBold:i+1},hj(r))}const gr=(t,e)=>new pn(t).setAlpha(e).toRgbString(),jo=(t,e)=>new pn(t).darken(e).toHexString(),gj=t=>{const e=Qi(t);return{1:e[0],2:e[1],3:e[2],4:e[3],5:e[4],6:e[5],7:e[6],8:e[4],9:e[5],10:e[6]}},vj=(t,e)=>{const n=t||"#fff",r=e||"#000";return{colorBgBase:n,colorTextBase:r,colorText:gr(r,.88),colorTextSecondary:gr(r,.65),colorTextTertiary:gr(r,.45),colorTextQuaternary:gr(r,.25),colorFill:gr(r,.15),colorFillSecondary:gr(r,.06),colorFillTertiary:gr(r,.04),colorFillQuaternary:gr(r,.02),colorBgLayout:jo(n,4),colorBgContainer:jo(n,0),colorBgElevated:jo(n,0),colorBgSpotlight:gr(r,.85),colorBgBlur:"transparent",colorBorder:jo(n,15),colorBorderSecondary:jo(n,6)}};function yj(t){return(t+8)/t}function wj(t){const e=new Array(10).fill(null).map((n,r)=>{const i=r-1,a=t*Math.pow(2.71828,i/5),o=r>1?Math.floor(a):Math.ceil(a);return Math.floor(o/2)*2});return e[1]=t,e.map(n=>({size:n,lineHeight:yj(n)}))}const bj=t=>{const e=wj(t),n=e.map(c=>c.size),r=e.map(c=>c.lineHeight),i=n[1],a=n[0],o=n[2],l=r[1],s=r[0],u=r[2];return{fontSizeSM:a,fontSize:i,fontSizeLG:o,fontSizeXL:n[3],fontSizeHeading1:n[6],fontSizeHeading2:n[5],fontSizeHeading3:n[4],fontSizeHeading4:n[3],fontSizeHeading5:n[2],lineHeight:l,lineHeightLG:u,lineHeightSM:s,fontHeight:Math.round(l*i),fontHeightLG:Math.round(u*o),fontHeightSM:Math.round(s*a),lineHeightHeading1:r[6],lineHeightHeading2:r[5],lineHeightHeading3:r[4],lineHeightHeading4:r[3],lineHeightHeading5:r[2]}},Sj=bj;function xj(t){const e=Object.keys(aP).map(n=>{const r=Qi(t[n]);return new Array(10).fill(1).reduce((i,a,o)=>(i[`${n}-${o+1}`]=r[o],i[`${n}${o+1}`]=r[o],i),{})}).reduce((n,r)=>(n=Object.assign(Object.assign({},n),r),n),{});return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},t),e),fj(t,{generateColorPalettes:gj,generateNeutralColorPalettes:vj})),Sj(t.fontSize)),cj(t)),uj(t)),mj(t))}const oP=qh(xj),nm={token:Ws,override:{override:Ws},hashed:!0},sP=Xe.createContext(nm),lP="anticon",Ej=(t,e)=>e||(t?`ant-${t}`:"ant"),ra=S.createContext({getPrefixCls:Ej,iconPrefixCls:lP}),Cj=`-ant-${Date.now()}-${Math.random()}`;function Tj(t,e){const n={},r=(o,l)=>{let s=o.clone();return s=(l==null?void 0:l(s))||s,s.toRgbString()},i=(o,l)=>{const s=new pn(o),u=Qi(s.toRgbString());n[`${l}-color`]=r(s),n[`${l}-color-disabled`]=u[1],n[`${l}-color-hover`]=u[4],n[`${l}-color-active`]=u[6],n[`${l}-color-outline`]=s.clone().setAlpha(.2).toRgbString(),n[`${l}-color-deprecated-bg`]=u[0],n[`${l}-color-deprecated-border`]=u[2]};if(e.primaryColor){i(e.primaryColor,"primary");const o=new pn(e.primaryColor),l=Qi(o.toRgbString());l.forEach((u,c)=>{n[`primary-${c+1}`]=u}),n["primary-color-deprecated-l-35"]=r(o,u=>u.lighten(35)),n["primary-color-deprecated-l-20"]=r(o,u=>u.lighten(20)),n["primary-color-deprecated-t-20"]=r(o,u=>u.tint(20)),n["primary-color-deprecated-t-50"]=r(o,u=>u.tint(50)),n["primary-color-deprecated-f-12"]=r(o,u=>u.setAlpha(u.getAlpha()*.12));const s=new pn(l[0]);n["primary-color-active-deprecated-f-30"]=r(s,u=>u.setAlpha(u.getAlpha()*.3)),n["primary-color-active-deprecated-d-02"]=r(s,u=>u.darken(2))}return e.successColor&&i(e.successColor,"success"),e.warningColor&&i(e.warningColor,"warning"),e.errorColor&&i(e.errorColor,"error"),e.infoColor&&i(e.infoColor,"info"),` :root { ${Object.keys(n).map(o=>`--${t}-${o}: ${n[o]};`).join(` `)} } - `.trim()}function E3(t,e){const n=x3(t,e);tn()&&fi(n,`${S3}-dynamic-theme`)}const rm=S.createContext(!1),C3=t=>{let{children:e,disabled:n}=t;const r=S.useContext(rm);return S.createElement(rm.Provider,{value:n??r},e)},T3=rm,im=S.createContext(void 0),P3=t=>{let{children:e,size:n}=t;const r=S.useContext(im);return S.createElement(im.Provider,{value:n||r},e)},Mv=im;function k3(){const t=S.useContext(T3),e=S.useContext(Mv);return{componentDisabled:t,componentSize:e}}const M3="5.15.0";function rp(t){return t>=0&&t<=255}function Kl(t,e){const{r:n,g:r,b:i,a}=new pn(t).toRgb();if(a<1)return t;const{r:o,g:l,b:s}=new pn(e).toRgb();for(let u=.01;u<=1;u+=.01){const c=Math.round((n-o*(1-u))/u),d=Math.round((r-l*(1-u))/u),f=Math.round((i-s*(1-u))/u);if(rp(c)&&rp(d)&&rp(f))return new pn({r:c,g:d,b:f,a:Math.round(u*100)/100}).toRgbString()}return new pn({r:n,g:r,b:i,a:1}).toRgbString()}var O3=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(t);i{delete r[f]});const i=Object.assign(Object.assign({},n),r),a=480,o=576,l=768,s=992,u=1200,c=1600;if(i.motion===!1){const f="0s";i.motionDurationFast=f,i.motionDurationMid=f,i.motionDurationSlow=f}return Object.assign(Object.assign(Object.assign({},i),{colorFillContent:i.colorFillSecondary,colorFillContentHover:i.colorFill,colorFillAlter:i.colorFillQuaternary,colorBgContainerDisabled:i.colorFillTertiary,colorBorderBg:i.colorBgContainer,colorSplit:Kl(i.colorBorderSecondary,i.colorBgContainer),colorTextPlaceholder:i.colorTextQuaternary,colorTextDisabled:i.colorTextQuaternary,colorTextHeading:i.colorText,colorTextLabel:i.colorTextSecondary,colorTextDescription:i.colorTextTertiary,colorTextLightSolid:i.colorWhite,colorHighlight:i.colorError,colorBgTextHover:i.colorFillSecondary,colorBgTextActive:i.colorFill,colorIcon:i.colorTextTertiary,colorIconHover:i.colorText,colorErrorOutline:Kl(i.colorErrorBg,i.colorBgContainer),colorWarningOutline:Kl(i.colorWarningBg,i.colorBgContainer),fontSizeIcon:i.fontSizeSM,lineWidthFocus:i.lineWidth*4,lineWidth:i.lineWidth,controlOutlineWidth:i.lineWidth*2,controlInteractiveSize:i.controlHeight/2,controlItemBgHover:i.colorFillTertiary,controlItemBgActive:i.colorPrimaryBg,controlItemBgActiveHover:i.colorPrimaryBgHover,controlItemBgActiveDisabled:i.colorFill,controlTmpOutline:i.colorFillQuaternary,controlOutline:Kl(i.colorPrimaryBg,i.colorBgContainer),lineType:i.lineType,borderRadius:i.borderRadius,borderRadiusXS:i.borderRadiusXS,borderRadiusSM:i.borderRadiusSM,borderRadiusLG:i.borderRadiusLG,fontWeightStrong:600,opacityLoading:.65,linkDecoration:"none",linkHoverDecoration:"none",linkFocusDecoration:"none",controlPaddingHorizontal:12,controlPaddingHorizontalSM:8,paddingXXS:i.sizeXXS,paddingXS:i.sizeXS,paddingSM:i.sizeSM,padding:i.size,paddingMD:i.sizeMD,paddingLG:i.sizeLG,paddingXL:i.sizeXL,paddingContentHorizontalLG:i.sizeLG,paddingContentVerticalLG:i.sizeMS,paddingContentHorizontal:i.sizeMS,paddingContentVertical:i.sizeSM,paddingContentHorizontalSM:i.size,paddingContentVerticalSM:i.sizeXS,marginXXS:i.sizeXXS,marginXS:i.sizeXS,marginSM:i.sizeSM,margin:i.size,marginMD:i.sizeMD,marginLG:i.sizeLG,marginXL:i.sizeXL,marginXXL:i.sizeXXL,boxShadow:` + `.trim()}function Pj(t,e){const n=Tj(t,e);tn()&&pi(n,`${Cj}-dynamic-theme`)}const rm=S.createContext(!1),kj=t=>{let{children:e,disabled:n}=t;const r=S.useContext(rm);return S.createElement(rm.Provider,{value:n??r},e)},Mj=rm,im=S.createContext(void 0),Oj=t=>{let{children:e,size:n}=t;const r=S.useContext(im);return S.createElement(im.Provider,{value:n||r},e)},Ov=im;function Aj(){const t=S.useContext(Mj),e=S.useContext(Ov);return{componentDisabled:t,componentSize:e}}const Lj="5.15.0";function rp(t){return t>=0&&t<=255}function Ql(t,e){const{r:n,g:r,b:i,a}=new pn(t).toRgb();if(a<1)return t;const{r:o,g:l,b:s}=new pn(e).toRgb();for(let u=.01;u<=1;u+=.01){const c=Math.round((n-o*(1-u))/u),d=Math.round((r-l*(1-u))/u),f=Math.round((i-s*(1-u))/u);if(rp(c)&&rp(d)&&rp(f))return new pn({r:c,g:d,b:f,a:Math.round(u*100)/100}).toRgbString()}return new pn({r:n,g:r,b:i,a:1}).toRgbString()}var Rj=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(t);i{delete r[f]});const i=Object.assign(Object.assign({},n),r),a=480,o=576,l=768,s=992,u=1200,c=1600;if(i.motion===!1){const f="0s";i.motionDurationFast=f,i.motionDurationMid=f,i.motionDurationSlow=f}return Object.assign(Object.assign(Object.assign({},i),{colorFillContent:i.colorFillSecondary,colorFillContentHover:i.colorFill,colorFillAlter:i.colorFillQuaternary,colorBgContainerDisabled:i.colorFillTertiary,colorBorderBg:i.colorBgContainer,colorSplit:Ql(i.colorBorderSecondary,i.colorBgContainer),colorTextPlaceholder:i.colorTextQuaternary,colorTextDisabled:i.colorTextQuaternary,colorTextHeading:i.colorText,colorTextLabel:i.colorTextSecondary,colorTextDescription:i.colorTextTertiary,colorTextLightSolid:i.colorWhite,colorHighlight:i.colorError,colorBgTextHover:i.colorFillSecondary,colorBgTextActive:i.colorFill,colorIcon:i.colorTextTertiary,colorIconHover:i.colorText,colorErrorOutline:Ql(i.colorErrorBg,i.colorBgContainer),colorWarningOutline:Ql(i.colorWarningBg,i.colorBgContainer),fontSizeIcon:i.fontSizeSM,lineWidthFocus:i.lineWidth*4,lineWidth:i.lineWidth,controlOutlineWidth:i.lineWidth*2,controlInteractiveSize:i.controlHeight/2,controlItemBgHover:i.colorFillTertiary,controlItemBgActive:i.colorPrimaryBg,controlItemBgActiveHover:i.colorPrimaryBgHover,controlItemBgActiveDisabled:i.colorFill,controlTmpOutline:i.colorFillQuaternary,controlOutline:Ql(i.colorPrimaryBg,i.colorBgContainer),lineType:i.lineType,borderRadius:i.borderRadius,borderRadiusXS:i.borderRadiusXS,borderRadiusSM:i.borderRadiusSM,borderRadiusLG:i.borderRadiusLG,fontWeightStrong:600,opacityLoading:.65,linkDecoration:"none",linkHoverDecoration:"none",linkFocusDecoration:"none",controlPaddingHorizontal:12,controlPaddingHorizontalSM:8,paddingXXS:i.sizeXXS,paddingXS:i.sizeXS,paddingSM:i.sizeSM,padding:i.size,paddingMD:i.sizeMD,paddingLG:i.sizeLG,paddingXL:i.sizeXL,paddingContentHorizontalLG:i.sizeLG,paddingContentVerticalLG:i.sizeMS,paddingContentHorizontal:i.sizeMS,paddingContentVertical:i.sizeSM,paddingContentHorizontalSM:i.size,paddingContentVerticalSM:i.sizeXS,marginXXS:i.sizeXXS,marginXS:i.sizeXS,marginSM:i.sizeSM,margin:i.size,marginMD:i.sizeMD,marginLG:i.sizeLG,marginXL:i.sizeXL,marginXXL:i.sizeXXL,boxShadow:` 0 6px 16px 0 rgba(0, 0, 0, 0.08), 0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 9px 28px 8px rgba(0, 0, 0, 0.05) @@ -133,7 +133,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho 0 -6px 16px 0 rgba(0, 0, 0, 0.08), 0 -3px 6px -4px rgba(0, 0, 0, 0.12), 0 -9px 28px 8px rgba(0, 0, 0, 0.05) - `,boxShadowTabsOverflowLeft:"inset 10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowRight:"inset -10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowTop:"inset 0 10px 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowBottom:"inset 0 -10px 8px -8px rgba(0, 0, 0, 0.08)"}),r)}var M1=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(t);i{const r=n.getDerivativeToken(t),{override:i}=e,a=M1(e,["override"]);let o=Object.assign(Object.assign({},r),{override:i});return o=lP(o),a&&Object.entries(a).forEach(l=>{let[s,u]=l;const{theme:c}=u,d=M1(u,["theme"]);let f=d;c&&(f=dP(Object.assign(Object.assign({},o),d),{override:d},c)),o[s]=f}),o};function lo(){const{token:t,hashed:e,theme:n,override:r,cssVar:i}=Xe.useContext(oP),a=`${M3}-${e||""}`,o=n||aP,[l,s,u]=Y_(o,[Ws,t],{salt:a,override:r,getComputedToken:dP,formatToken:lP,cssVar:i&&{prefix:i.prefix,key:i.key,unitless:uP,ignore:cP,preserve:A3}});return[o,u,e?s:"",l,i]}function L3(t){var e=S.useRef();e.current=t;var n=S.useCallback(function(){for(var r,i=arguments.length,a=new Array(i),o=0;o({display:"inline-flex",alignItems:"center",color:"inherit",fontStyle:"normal",lineHeight:0,textAlign:"center",textTransform:"none",verticalAlign:"-0.125em",textRendering:"optimizeLegibility","-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale","> *":{lineHeight:1},svg:{display:"inline-block"}}),I3=t=>({a:{color:t.colorLink,textDecoration:t.linkDecoration,backgroundColor:"transparent",outline:"none",cursor:"pointer",transition:`color ${t.motionDurationSlow}`,"-webkit-text-decoration-skip":"objects","&:hover":{color:t.colorLinkHover},"&:active":{color:t.colorLinkActive},"&:active,\n &:hover":{textDecoration:t.linkHoverDecoration,outline:0},"&:focus":{textDecoration:t.linkFocusDecoration,outline:0},"&[disabled]":{color:t.colorTextDisabled,cursor:"not-allowed"}}}),D3=(t,e,n)=>{const{fontFamily:r,fontSize:i}=t,a=`[class^="${e}"], [class*=" ${e}"]`;return{[n?`.${n}`:a]:{fontFamily:r,fontSize:i,boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"},[a]:{boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"}}}}};function fP(t,e,n){return e=io(e),xT(t,yv()?Reflect.construct(e,n||[],io(t).constructor):e.apply(t,n))}let F3=_n(function t(){Nn(this,t)});const pP=F3;let N3=function(t){vo(e,t);function e(n){var r;return Nn(this,e),r=fP(this,e),r.result=0,n instanceof e?r.result=n.result:typeof n=="number"&&(r.result=n),r}return _n(e,[{key:"add",value:function(r){return r instanceof e?this.result+=r.result:typeof r=="number"&&(this.result+=r),this}},{key:"sub",value:function(r){return r instanceof e?this.result-=r.result:typeof r=="number"&&(this.result-=r),this}},{key:"mul",value:function(r){return r instanceof e?this.result*=r.result:typeof r=="number"&&(this.result*=r),this}},{key:"div",value:function(r){return r instanceof e?this.result/=r.result:typeof r=="number"&&(this.result/=r),this}},{key:"equal",value:function(){return this.result}}]),e}(pP);const hP="CALC_UNIT";function ip(t){return typeof t=="number"?`${t}${hP}`:t}let _3=function(t){vo(e,t);function e(n){var r;return Nn(this,e),r=fP(this,e),r.result="",n instanceof e?r.result=`(${n.result})`:typeof n=="number"?r.result=ip(n):typeof n=="string"&&(r.result=n),r}return _n(e,[{key:"add",value:function(r){return r instanceof e?this.result=`${this.result} + ${r.getResult()}`:(typeof r=="number"||typeof r=="string")&&(this.result=`${this.result} + ${ip(r)}`),this.lowPriority=!0,this}},{key:"sub",value:function(r){return r instanceof e?this.result=`${this.result} - ${r.getResult()}`:(typeof r=="number"||typeof r=="string")&&(this.result=`${this.result} - ${ip(r)}`),this.lowPriority=!0,this}},{key:"mul",value:function(r){return this.lowPriority&&(this.result=`(${this.result})`),r instanceof e?this.result=`${this.result} * ${r.getResult(!0)}`:(typeof r=="number"||typeof r=="string")&&(this.result=`${this.result} * ${r}`),this.lowPriority=!1,this}},{key:"div",value:function(r){return this.lowPriority&&(this.result=`(${this.result})`),r instanceof e?this.result=`${this.result} / ${r.getResult(!0)}`:(typeof r=="number"||typeof r=="string")&&(this.result=`${this.result} / ${r}`),this.lowPriority=!1,this}},{key:"getResult",value:function(r){return this.lowPriority||r?`(${this.result})`:this.result}},{key:"equal",value:function(r){const{unit:i=!0}=r||{},a=new RegExp(`${hP}`,"g");return this.result=this.result.replace(a,i?"px":""),typeof this.lowPriority<"u"?`calc(${this.result})`:this.result}}]),e}(pP);const V3=t=>{const e=t==="css"?_3:N3;return n=>new e(n)},j3=V3;function $3(t){return t==="js"?{max:Math.max,min:Math.min}:{max:function(){for(var e=arguments.length,n=new Array(e),r=0;rHr(i)).join(",")})`},min:function(){for(var e=arguments.length,n=new Array(e),r=0;rHr(i)).join(",")})`}}}const mP=typeof CSSINJS_STATISTIC<"u";let am=!0;function Ov(){for(var t=arguments.length,e=new Array(t),n=0;n{Object.keys(i).forEach(o=>{Object.defineProperty(r,o,{configurable:!0,enumerable:!0,get:()=>i[o]})})}),am=!0,r}const O1={};function z3(){}const B3=t=>{let e,n=t,r=z3;return mP&&typeof Proxy<"u"&&(e=new Set,n=new Proxy(t,{get(i,a){return am&&e.add(a),i[a]}}),r=(i,a)=>{var o;O1[i]={global:Array.from(e),component:Object.assign(Object.assign({},(o=O1[i])===null||o===void 0?void 0:o.component),a)}}),{token:n,keys:e,flush:r}},H3=(t,e)=>{const[n,r]=lo();return Zh({theme:n,token:r,hashId:"",path:["ant-design-icons",t],nonce:()=>e==null?void 0:e.nonce},()=>[{[`.${t}`]:Object.assign(Object.assign({},R3()),{[`.${t} .${t}-icon`]:{display:"block"}})}])},gP=H3,vP=(t,e,n)=>{var r;return typeof n=="function"?n(Ov(e,(r=e[t])!==null&&r!==void 0?r:{})):n??{}},yP=(t,e,n,r)=>{const i=Object.assign({},e[t]);if(r!=null&&r.deprecatedTokens){const{deprecatedTokens:o}=r;o.forEach(l=>{let[s,u]=l;var c;(i!=null&&i[s]||i!=null&&i[u])&&((c=i[u])!==null&&c!==void 0||(i[u]=i==null?void 0:i[s]))})}const a=Object.assign(Object.assign({},n),i);return Object.keys(a).forEach(o=>{a[o]===e[o]&&delete a[o]}),a},U3=(t,e)=>`${[e,t.replace(/([A-Z]+)([A-Z][a-z]+)/g,"$1-$2").replace(/([a-z])([A-Z])/g,"$1-$2")].filter(Boolean).join("-")}`;function W3(t,e,n){let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const i=Array.isArray(t)?t:[t,t],[a]=i,o=i.join("-");return function(l){let s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:l;const[u,c,d,f,p]=lo(),{getPrefixCls:w,iconPrefixCls:g,csp:y}=S.useContext(ra),h=w(),v=p?"css":"js",m=j3(v),{max:b,min:E}=$3(v),x={theme:u,token:f,hashId:d,nonce:()=>y==null?void 0:y.nonce,clientOnly:r.clientOnly,order:r.order||-999};return Zh(Object.assign(Object.assign({},x),{clientOnly:!1,path:["Shared",h]}),()=>[{"&":I3(f)}]),gP(g,y),[Zh(Object.assign(Object.assign({},x),{path:[o,l,g]}),()=>{if(r.injectStyle===!1)return[];const{token:T,flush:P}=B3(f),O=vP(a,c,n),I=`.${l}`,N=yP(a,c,O,{deprecatedTokens:r.deprecatedTokens});p&&Object.keys(O).forEach(R=>{O[R]=`var(${FT(R,U3(a,p.prefix))})`});const A=Ov(T,{componentCls:I,prefixCls:l,iconCls:`.${g}`,antCls:`.${h}`,calc:m,max:b,min:E},p?O:N),M=e(A,{hashId:d,prefixCls:l,rootPrefixCls:h,iconPrefixCls:g});return P(a,N),[r.resetStyle===!1?null:D3(A,l,s),M]}),d]}}const G3=(t,e,n)=>{function r(u){return`${t}${u.slice(0,1).toUpperCase()}${u.slice(1)}`}const{unitless:i={},injectStyle:a=!0}=n??{},o={[r("zIndexPopup")]:!0};Object.keys(i).forEach(u=>{o[r(u)]=i[u]});const l=u=>{let{rootCls:c,cssVar:d}=u;const[,f]=lo();return CV({path:[t],prefix:d.prefix,key:d==null?void 0:d.key,unitless:Object.assign(Object.assign({},uP),o),ignore:cP,token:f,scope:c},()=>{const p=vP(t,f,e),w=yP(t,f,p,{deprecatedTokens:n==null?void 0:n.deprecatedTokens});return Object.keys(p).forEach(g=>{w[r(g)]=w[g],delete w[g]}),w}),null};return u=>{const[,,,,c]=lo();return[d=>a&&c?Xe.createElement(Xe.Fragment,null,Xe.createElement(l,{rootCls:u,cssVar:c,component:t}),d):d,c==null?void 0:c.key]}},q3=(t,e,n,r)=>{const i=W3(t,e,n,r),a=G3(Array.isArray(t)?t[0]:t,n,r);return function(o){let l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:o;const[,s]=i(o,l),[u,c]=a(l);return[u,s,c]}},X3=Object.assign({},qa),{useId:A1}=X3,K3=()=>"",Y3=typeof A1>"u"?K3:A1,Q3=Y3;function Z3(t,e,n){var r;const i=t||{},a=i.inherit===!1||!e?Object.assign(Object.assign({},nm),{hashed:(r=e==null?void 0:e.hashed)!==null&&r!==void 0?r:nm.hashed,cssVar:e==null?void 0:e.cssVar}):e,o=Q3();return vv(()=>{var l,s;if(!t)return e;const u=Object.assign({},a.components);Object.keys(t.components||{}).forEach(f=>{u[f]=Object.assign(Object.assign({},u[f]),t.components[f])});const c=`css-var-${o.replace(/:/g,"")}`,d=((l=i.cssVar)!==null&&l!==void 0?l:a.cssVar)&&Object.assign(Object.assign(Object.assign({prefix:n==null?void 0:n.prefixCls},typeof a.cssVar=="object"?a.cssVar:{}),typeof i.cssVar=="object"?i.cssVar:{}),{key:typeof i.cssVar=="object"&&((s=i.cssVar)===null||s===void 0?void 0:s.key)||c});return Object.assign(Object.assign(Object.assign({},a),i),{token:Object.assign(Object.assign({},a.token),i.token),components:u,cssVar:d})},[i,a],(l,s)=>l.some((u,c)=>{const d=s[c];return!RT(u,d,!0)}))}var J3=["children"],wP=S.createContext({});function ej(t){var e=t.children,n=gt(t,J3);return S.createElement(wP.Provider,{value:n},e)}var tj=function(t){vo(n,t);var e=dd(n);function n(){return Nn(this,n),e.apply(this,arguments)}return _n(n,[{key:"render",value:function(){return this.props.children}}]),n}(S.Component),Mi="none",Yl="appear",Ql="enter",Zl="leave",L1="none",Wn="prepare",Na="start",_a="active",Av="end",bP="prepared";function R1(t,e){var n={};return n[t.toLowerCase()]=e.toLowerCase(),n["Webkit".concat(t)]="webkit".concat(e),n["Moz".concat(t)]="moz".concat(e),n["ms".concat(t)]="MS".concat(e),n["O".concat(t)]="o".concat(e.toLowerCase()),n}function nj(t,e){var n={animationend:R1("Animation","AnimationEnd"),transitionend:R1("Transition","TransitionEnd")};return t&&("AnimationEvent"in e||delete n.animationend.animation,"TransitionEvent"in e||delete n.transitionend.transition),n}var rj=nj(tn(),typeof window<"u"?window:{}),SP={};if(tn()){var ij=document.createElement("div");SP=ij.style}var Jl={};function xP(t){if(Jl[t])return Jl[t];var e=rj[t];if(e)for(var n=Object.keys(e),r=n.length,i=0;i1&&arguments[1]!==void 0?arguments[1]:2;e();var a=Uh(function(){i<=1?r({isCanceled:function(){return a!==t.current}}):n(r,i-1)});t.current=a}return S.useEffect(function(){return function(){e()}},[]),[n,e]};var sj=[Wn,Na,_a,Av],lj=[Wn,bP],kP=!1,uj=!0;function MP(t){return t===_a||t===Av}const cj=function(t,e,n){var r=Au(L1),i=ie(r,2),a=i[0],o=i[1],l=oj(),s=ie(l,2),u=s[0],c=s[1];function d(){o(Wn,!0)}var f=e?lj:sj;return PP(function(){if(a!==L1&&a!==Av){var p=f.indexOf(a),w=f[p+1],g=n(a);g===kP?o(w,!0):w&&u(function(y){function h(){y.isCanceled()||o(w,!0)}g===!0?h():Promise.resolve(g).then(h)})}},[t,a]),S.useEffect(function(){return function(){c()}},[]),[d,a]};function dj(t,e,n,r){var i=r.motionEnter,a=i===void 0?!0:i,o=r.motionAppear,l=o===void 0?!0:o,s=r.motionLeave,u=s===void 0?!0:s,c=r.motionDeadline,d=r.motionLeaveImmediately,f=r.onAppearPrepare,p=r.onEnterPrepare,w=r.onLeavePrepare,g=r.onAppearStart,y=r.onEnterStart,h=r.onLeaveStart,v=r.onAppearActive,m=r.onEnterActive,b=r.onLeaveActive,E=r.onAppearEnd,x=r.onEnterEnd,C=r.onLeaveEnd,T=r.onVisibleChanged,P=Au(),O=ie(P,2),I=O[0],N=O[1],A=Au(Mi),M=ie(A,2),R=M[0],D=M[1],L=Au(null),k=ie(L,2),F=k[0],j=k[1],B=S.useRef(!1),G=S.useRef(null);function q(){return n()}var K=S.useRef(!1);function ne(){D(Mi,!0),j(null,!0)}function oe(Le){var fe=q();if(!(Le&&!Le.deadline&&Le.target!==fe)){var he=K.current,Ue;R===Yl&&he?Ue=E==null?void 0:E(fe,Le):R===Ql&&he?Ue=x==null?void 0:x(fe,Le):R===Zl&&he&&(Ue=C==null?void 0:C(fe,Le)),R!==Mi&&he&&Ue!==!1&&ne()}}var de=aj(oe),Qe=ie(de,1),rt=Qe[0],xe=function(fe){var he,Ue,dt;switch(fe){case Yl:return he={},U(he,Wn,f),U(he,Na,g),U(he,_a,v),he;case Ql:return Ue={},U(Ue,Wn,p),U(Ue,Na,y),U(Ue,_a,m),Ue;case Zl:return dt={},U(dt,Wn,w),U(dt,Na,h),U(dt,_a,b),dt;default:return{}}},we=S.useMemo(function(){return xe(R)},[R]),De=cj(R,!t,function(Le){if(Le===Wn){var fe=we[Wn];return fe?fe(q()):kP}if(Fe in we){var he;j(((he=we[Fe])===null||he===void 0?void 0:he.call(we,q(),null))||null)}return Fe===_a&&(rt(q()),c>0&&(clearTimeout(G.current),G.current=setTimeout(function(){oe({deadline:!0})},c))),Fe===bP&&ne(),uj}),Ot=ie(De,2),Gt=Ot[0],Fe=Ot[1],yt=MP(Fe);K.current=yt,PP(function(){N(e);var Le=B.current;B.current=!0;var fe;!Le&&e&&l&&(fe=Yl),Le&&e&&a&&(fe=Ql),(Le&&!e&&u||!Le&&d&&!e&&u)&&(fe=Zl);var he=xe(fe);fe&&(t||he[Wn])?(D(fe),Gt()):D(Mi)},[e]),S.useEffect(function(){(R===Yl&&!l||R===Ql&&!a||R===Zl&&!u)&&D(Mi)},[l,a,u]),S.useEffect(function(){return function(){B.current=!1,clearTimeout(G.current)}},[]);var rn=S.useRef(!1);S.useEffect(function(){I&&(rn.current=!0),I!==void 0&&R===Mi&&((rn.current||I)&&(T==null||T(I)),rn.current=!0)},[I,R]);var Vt=F;return we[Wn]&&Fe===Na&&(Vt=H({transition:"none"},Vt)),[R,Fe,Vt,I??e]}function fj(t){var e=t;Ae(t)==="object"&&(e=t.transitionSupport);function n(i,a){return!!(i.motionName&&e&&a!==!1)}var r=S.forwardRef(function(i,a){var o=i.visible,l=o===void 0?!0:o,s=i.removeOnLeave,u=s===void 0?!0:s,c=i.forceRender,d=i.children,f=i.motionName,p=i.leavedClassName,w=i.eventProps,g=S.useContext(wP),y=g.motion,h=n(i,y),v=S.useRef(),m=S.useRef();function b(){try{return v.current instanceof HTMLElement?v.current:g_(m.current)}catch{return null}}var E=dj(h,l,b,i),x=ie(E,4),C=x[0],T=x[1],P=x[2],O=x[3],I=S.useRef(O);O&&(I.current=!0);var N=S.useCallback(function(j){v.current=j,wT(a,j)},[a]),A,M=H(H({},w),{},{visible:l});if(!d)A=null;else if(C===Mi)O?A=d(H({},M),N):!u&&I.current&&p?A=d(H(H({},M),{},{className:p}),N):c||!u&&!p?A=d(H(H({},M),{},{style:{display:"none"}}),N):A=null;else{var R,D;T===Wn?D="prepare":MP(T)?D="active":T===Na&&(D="start");var L=F1(f,"".concat(C,"-").concat(D));A=d(H(H({},M),{},{className:zt(F1(f,C),(R={},U(R,L,L&&D),U(R,f,typeof f=="string"),R)),style:P}),N)}if(S.isValidElement(A)&&ST(A)){var k=A,F=k.ref;F||(A=S.cloneElement(A,{ref:N}))}return S.createElement(tj,{ref:m},A)});return r.displayName="CSSMotion",r}const om=fj(TP);var sm="add",lm="keep",um="remove",ap="removed";function pj(t){var e;return t&&Ae(t)==="object"&&"key"in t?e=t:e={key:t},H(H({},e),{},{key:String(e.key)})}function cm(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return t.map(pj)}function hj(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],n=[],r=0,i=e.length,a=cm(t),o=cm(e);a.forEach(function(u){for(var c=!1,d=r;d1});return s.forEach(function(u){n=n.filter(function(c){var d=c.key,f=c.status;return d!==u||f!==um}),n.forEach(function(c){c.key===u&&(c.status=lm)})}),n}var mj=["component","children","onVisibleChanged","onAllRemoved"],gj=["status"],vj=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearPrepare","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];function yj(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:om,n=function(r){vo(a,r);var i=dd(a);function a(){var o;Nn(this,a);for(var l=arguments.length,s=new Array(l),u=0;unull;var Sj=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(t);ie.endsWith("Color"))}const Pj=t=>{const{prefixCls:e,iconPrefixCls:n,theme:r,holderRender:i}=t;e!==void 0&&(OP=e),r&&Tj(r)&&E3(Cj(),r)},kj=t=>{const{children:e,csp:n,autoInsertSpaceInButton:r,alert:i,anchor:a,form:o,locale:l,componentSize:s,direction:u,space:c,virtual:d,dropdownMatchSelectWidth:f,popupMatchSelectWidth:p,popupOverflow:w,legacyLocale:g,parentContext:y,iconPrefixCls:h,theme:v,componentDisabled:m,segmented:b,statistic:E,spin:x,calendar:C,carousel:T,cascader:P,collapse:O,typography:I,checkbox:N,descriptions:A,divider:M,drawer:R,skeleton:D,steps:L,image:k,layout:F,list:j,mentions:B,modal:G,progress:q,result:K,slider:ne,breadcrumb:oe,menu:de,pagination:Qe,input:rt,textArea:xe,empty:we,badge:De,radio:Ot,rate:Gt,switch:Fe,transfer:yt,avatar:rn,message:Vt,tag:Le,table:fe,card:he,tabs:Ue,timeline:dt,timePicker:qt,upload:Vn,notification:vl,tree:aa,colorPicker:_d,datePicker:er,rangePicker:yl,flex:wl,wave:bl,dropdown:Vd,warning:Sl,tour:oa}=t,bo=S.useCallback((Y,ae)=>{const{prefixCls:re}=t;if(ae)return ae;const ee=re||y.getPrefixCls("");return Y?`${ee}-${Y}`:ee},[y.getPrefixCls,t.prefixCls]),pr=h||y.iconPrefixCls||sP,bi=n||y.csp;gP(pr,bi);const sa=Z3(v,y.theme,{prefixCls:bo("")}),So={csp:bi,autoInsertSpaceInButton:r,alert:i,anchor:a,locale:l||g,direction:u,space:c,virtual:d,popupMatchSelectWidth:p??f,popupOverflow:w,getPrefixCls:bo,iconPrefixCls:pr,theme:sa,segmented:b,statistic:E,spin:x,calendar:C,carousel:T,cascader:P,collapse:O,typography:I,checkbox:N,descriptions:A,divider:M,drawer:R,skeleton:D,steps:L,image:k,input:rt,textArea:xe,layout:F,list:j,mentions:B,modal:G,progress:q,result:K,slider:ne,breadcrumb:oe,menu:de,pagination:Qe,empty:we,badge:De,radio:Ot,rate:Gt,switch:Fe,transfer:yt,avatar:rn,message:Vt,tag:Le,table:fe,card:he,tabs:Ue,timeline:dt,timePicker:qt,upload:Vn,notification:vl,tree:aa,colorPicker:_d,datePicker:er,rangePicker:yl,flex:wl,wave:bl,dropdown:Vd,warning:Sl,tour:oa},Si=Object.assign({},y);Object.keys(So).forEach(Y=>{So[Y]!==void 0&&(Si[Y]=So[Y])}),xj.forEach(Y=>{const ae=t[Y];ae&&(Si[Y]=ae)});const Dr=vv(()=>Si,Si,(Y,ae)=>{const re=Object.keys(Y),ee=Object.keys(ae);return re.length!==ee.length||re.some(te=>Y[te]!==ae[te])}),_=S.useMemo(()=>({prefixCls:pr,csp:bi}),[pr,bi]);let $=S.createElement(S.Fragment,null,S.createElement(bj,{dropdownMatchSelectWidth:f}),e);const W=S.useMemo(()=>{var Y,ae,re,ee;return Fa(((Y=vd.Form)===null||Y===void 0?void 0:Y.defaultValidateMessages)||{},((re=(ae=Dr.locale)===null||ae===void 0?void 0:ae.Form)===null||re===void 0?void 0:re.defaultValidateMessages)||{},((ee=Dr.form)===null||ee===void 0?void 0:ee.validateMessages)||{},(o==null?void 0:o.validateMessages)||{})},[Dr,o==null?void 0:o.validateMessages]);Object.keys(W).length>0&&($=S.createElement(LV.Provider,{value:W},$)),l&&($=S.createElement(zV,{locale:l,_ANT_MARK__:jV},$)),(pr||bi)&&($=S.createElement(kv.Provider,{value:_},$)),s&&($=S.createElement(P3,{size:s},$)),$=S.createElement(wj,null,$);const Q=S.useMemo(()=>{const Y=sa||{},{algorithm:ae,token:re,components:ee,cssVar:te}=Y,ge=Sj(Y,["algorithm","token","components","cssVar"]),Ze=ae&&(!Array.isArray(ae)||ae.length>0)?qh(ae):aP,pe={};Object.entries(ee||{}).forEach(st=>{let[Xt,it]=st;const At=Object.assign({},it);"algorithm"in At&&(At.algorithm===!0?At.theme=Ze:(Array.isArray(At.algorithm)||typeof At.algorithm=="function")&&(At.theme=qh(At.algorithm)),delete At.algorithm),pe[Xt]=At});const Te=Object.assign(Object.assign({},Ws),re);return Object.assign(Object.assign({},ge),{theme:Ze,token:Te,components:pe,override:Object.assign({override:Te},pe),cssVar:te})},[sa]);return v&&($=S.createElement(oP.Provider,{value:Q},$)),Dr.warning&&($=S.createElement(AV.Provider,{value:Dr.warning},$)),m!==void 0&&($=S.createElement(C3,{disabled:m},$)),S.createElement(ra.Provider,{value:Dr},$)},fl=t=>{const e=S.useContext(ra),n=S.useContext(eP);return S.createElement(kj,Object.assign({parentContext:e,legacyLocale:n},t))};fl.ConfigContext=ra;fl.SizeContext=Mv;fl.config=Pj;fl.useConfig=k3;Object.defineProperty(fl,"SizeContext",{get:()=>Mv});function AP(t){var e;return t==null||(e=t.getRootNode)===null||e===void 0?void 0:e.call(t)}function Mj(t){return AP(t)instanceof ShadowRoot}function Oj(t){return Mj(t)?AP(t):null}function Aj(t){return t.replace(/-(.)/g,function(e,n){return n.toUpperCase()})}function Lj(t,e){en(t,"[@ant-design/icons] ".concat(e))}function N1(t){return Ae(t)==="object"&&typeof t.name=="string"&&typeof t.theme=="string"&&(Ae(t.icon)==="object"||typeof t.icon=="function")}function _1(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Object.keys(t).reduce(function(e,n){var r=t[n];switch(n){case"class":e.className=r,delete e.class;break;default:delete e[n],e[Aj(n)]=r}return e},{})}function dm(t,e,n){return n?Xe.createElement(t.tag,H(H({key:e},_1(t.attrs)),n),(t.children||[]).map(function(r,i){return dm(r,"".concat(e,"-").concat(t.tag,"-").concat(i))})):Xe.createElement(t.tag,H({key:e},_1(t.attrs)),(t.children||[]).map(function(r,i){return dm(r,"".concat(e,"-").concat(t.tag,"-").concat(i))}))}function LP(t){return Qi(t)[0]}function RP(t){return t?Array.isArray(t)?t:[t]:[]}var Rj=` + `,boxShadowTabsOverflowLeft:"inset 10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowRight:"inset -10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowTop:"inset 0 10px 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowBottom:"inset 0 -10px 8px -8px rgba(0, 0, 0, 0.08)"}),r)}var O1=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(t);i{const r=n.getDerivativeToken(t),{override:i}=e,a=O1(e,["override"]);let o=Object.assign(Object.assign({},r),{override:i});return o=uP(o),a&&Object.entries(a).forEach(l=>{let[s,u]=l;const{theme:c}=u,d=O1(u,["theme"]);let f=d;c&&(f=fP(Object.assign(Object.assign({},o),d),{override:d},c)),o[s]=f}),o};function lo(){const{token:t,hashed:e,theme:n,override:r,cssVar:i}=Xe.useContext(sP),a=`${Lj}-${e||""}`,o=n||oP,[l,s,u]=J_(o,[Ws,t],{salt:a,override:r,getComputedToken:fP,formatToken:uP,cssVar:i&&{prefix:i.prefix,key:i.key,unitless:cP,ignore:dP,preserve:Ij}});return[o,u,e?s:"",l,i]}function Dj(t){var e=S.useRef();e.current=t;var n=S.useCallback(function(){for(var r,i=arguments.length,a=new Array(i),o=0;o({display:"inline-flex",alignItems:"center",color:"inherit",fontStyle:"normal",lineHeight:0,textAlign:"center",textTransform:"none",verticalAlign:"-0.125em",textRendering:"optimizeLegibility","-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale","> *":{lineHeight:1},svg:{display:"inline-block"}}),Nj=t=>({a:{color:t.colorLink,textDecoration:t.linkDecoration,backgroundColor:"transparent",outline:"none",cursor:"pointer",transition:`color ${t.motionDurationSlow}`,"-webkit-text-decoration-skip":"objects","&:hover":{color:t.colorLinkHover},"&:active":{color:t.colorLinkActive},"&:active,\n &:hover":{textDecoration:t.linkHoverDecoration,outline:0},"&:focus":{textDecoration:t.linkFocusDecoration,outline:0},"&[disabled]":{color:t.colorTextDisabled,cursor:"not-allowed"}}}),_j=(t,e,n)=>{const{fontFamily:r,fontSize:i}=t,a=`[class^="${e}"], [class*=" ${e}"]`;return{[n?`.${n}`:a]:{fontFamily:r,fontSize:i,boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"},[a]:{boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"}}}}};function pP(t,e,n){return e=io(e),ET(t,wv()?Reflect.construct(e,n||[],io(t).constructor):e.apply(t,n))}let Vj=_n(function t(){Nn(this,t)});const hP=Vj;let jj=function(t){vo(e,t);function e(n){var r;return Nn(this,e),r=pP(this,e),r.result=0,n instanceof e?r.result=n.result:typeof n=="number"&&(r.result=n),r}return _n(e,[{key:"add",value:function(r){return r instanceof e?this.result+=r.result:typeof r=="number"&&(this.result+=r),this}},{key:"sub",value:function(r){return r instanceof e?this.result-=r.result:typeof r=="number"&&(this.result-=r),this}},{key:"mul",value:function(r){return r instanceof e?this.result*=r.result:typeof r=="number"&&(this.result*=r),this}},{key:"div",value:function(r){return r instanceof e?this.result/=r.result:typeof r=="number"&&(this.result/=r),this}},{key:"equal",value:function(){return this.result}}]),e}(hP);const mP="CALC_UNIT";function ip(t){return typeof t=="number"?`${t}${mP}`:t}let $j=function(t){vo(e,t);function e(n){var r;return Nn(this,e),r=pP(this,e),r.result="",n instanceof e?r.result=`(${n.result})`:typeof n=="number"?r.result=ip(n):typeof n=="string"&&(r.result=n),r}return _n(e,[{key:"add",value:function(r){return r instanceof e?this.result=`${this.result} + ${r.getResult()}`:(typeof r=="number"||typeof r=="string")&&(this.result=`${this.result} + ${ip(r)}`),this.lowPriority=!0,this}},{key:"sub",value:function(r){return r instanceof e?this.result=`${this.result} - ${r.getResult()}`:(typeof r=="number"||typeof r=="string")&&(this.result=`${this.result} - ${ip(r)}`),this.lowPriority=!0,this}},{key:"mul",value:function(r){return this.lowPriority&&(this.result=`(${this.result})`),r instanceof e?this.result=`${this.result} * ${r.getResult(!0)}`:(typeof r=="number"||typeof r=="string")&&(this.result=`${this.result} * ${r}`),this.lowPriority=!1,this}},{key:"div",value:function(r){return this.lowPriority&&(this.result=`(${this.result})`),r instanceof e?this.result=`${this.result} / ${r.getResult(!0)}`:(typeof r=="number"||typeof r=="string")&&(this.result=`${this.result} / ${r}`),this.lowPriority=!1,this}},{key:"getResult",value:function(r){return this.lowPriority||r?`(${this.result})`:this.result}},{key:"equal",value:function(r){const{unit:i=!0}=r||{},a=new RegExp(`${mP}`,"g");return this.result=this.result.replace(a,i?"px":""),typeof this.lowPriority<"u"?`calc(${this.result})`:this.result}}]),e}(hP);const zj=t=>{const e=t==="css"?$j:jj;return n=>new e(n)},Bj=zj;function Hj(t){return t==="js"?{max:Math.max,min:Math.min}:{max:function(){for(var e=arguments.length,n=new Array(e),r=0;rUr(i)).join(",")})`},min:function(){for(var e=arguments.length,n=new Array(e),r=0;rUr(i)).join(",")})`}}}const gP=typeof CSSINJS_STATISTIC<"u";let am=!0;function Av(){for(var t=arguments.length,e=new Array(t),n=0;n{Object.keys(i).forEach(o=>{Object.defineProperty(r,o,{configurable:!0,enumerable:!0,get:()=>i[o]})})}),am=!0,r}const A1={};function Uj(){}const Wj=t=>{let e,n=t,r=Uj;return gP&&typeof Proxy<"u"&&(e=new Set,n=new Proxy(t,{get(i,a){return am&&e.add(a),i[a]}}),r=(i,a)=>{var o;A1[i]={global:Array.from(e),component:Object.assign(Object.assign({},(o=A1[i])===null||o===void 0?void 0:o.component),a)}}),{token:n,keys:e,flush:r}},Gj=(t,e)=>{const[n,r]=lo();return Zh({theme:n,token:r,hashId:"",path:["ant-design-icons",t],nonce:()=>e==null?void 0:e.nonce},()=>[{[`.${t}`]:Object.assign(Object.assign({},Fj()),{[`.${t} .${t}-icon`]:{display:"block"}})}])},vP=Gj,yP=(t,e,n)=>{var r;return typeof n=="function"?n(Av(e,(r=e[t])!==null&&r!==void 0?r:{})):n??{}},wP=(t,e,n,r)=>{const i=Object.assign({},e[t]);if(r!=null&&r.deprecatedTokens){const{deprecatedTokens:o}=r;o.forEach(l=>{let[s,u]=l;var c;(i!=null&&i[s]||i!=null&&i[u])&&((c=i[u])!==null&&c!==void 0||(i[u]=i==null?void 0:i[s]))})}const a=Object.assign(Object.assign({},n),i);return Object.keys(a).forEach(o=>{a[o]===e[o]&&delete a[o]}),a},qj=(t,e)=>`${[e,t.replace(/([A-Z]+)([A-Z][a-z]+)/g,"$1-$2").replace(/([a-z])([A-Z])/g,"$1-$2")].filter(Boolean).join("-")}`;function Xj(t,e,n){let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const i=Array.isArray(t)?t:[t,t],[a]=i,o=i.join("-");return function(l){let s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:l;const[u,c,d,f,p]=lo(),{getPrefixCls:w,iconPrefixCls:g,csp:y}=S.useContext(ra),h=w(),v=p?"css":"js",m=Bj(v),{max:b,min:E}=Hj(v),x={theme:u,token:f,hashId:d,nonce:()=>y==null?void 0:y.nonce,clientOnly:r.clientOnly,order:r.order||-999};return Zh(Object.assign(Object.assign({},x),{clientOnly:!1,path:["Shared",h]}),()=>[{"&":Nj(f)}]),vP(g,y),[Zh(Object.assign(Object.assign({},x),{path:[o,l,g]}),()=>{if(r.injectStyle===!1)return[];const{token:T,flush:P}=Wj(f),O=yP(a,c,n),I=`.${l}`,N=wP(a,c,O,{deprecatedTokens:r.deprecatedTokens});p&&Object.keys(O).forEach(R=>{O[R]=`var(${NT(R,qj(a,p.prefix))})`});const A=Av(T,{componentCls:I,prefixCls:l,iconCls:`.${g}`,antCls:`.${h}`,calc:m,max:b,min:E},p?O:N),M=e(A,{hashId:d,prefixCls:l,rootPrefixCls:h,iconPrefixCls:g});return P(a,N),[r.resetStyle===!1?null:_j(A,l,s),M]}),d]}}const Kj=(t,e,n)=>{function r(u){return`${t}${u.slice(0,1).toUpperCase()}${u.slice(1)}`}const{unitless:i={},injectStyle:a=!0}=n??{},o={[r("zIndexPopup")]:!0};Object.keys(i).forEach(u=>{o[r(u)]=i[u]});const l=u=>{let{rootCls:c,cssVar:d}=u;const[,f]=lo();return kV({path:[t],prefix:d.prefix,key:d==null?void 0:d.key,unitless:Object.assign(Object.assign({},cP),o),ignore:dP,token:f,scope:c},()=>{const p=yP(t,f,e),w=wP(t,f,p,{deprecatedTokens:n==null?void 0:n.deprecatedTokens});return Object.keys(p).forEach(g=>{w[r(g)]=w[g],delete w[g]}),w}),null};return u=>{const[,,,,c]=lo();return[d=>a&&c?Xe.createElement(Xe.Fragment,null,Xe.createElement(l,{rootCls:u,cssVar:c,component:t}),d):d,c==null?void 0:c.key]}},Yj=(t,e,n,r)=>{const i=Xj(t,e,n,r),a=Kj(Array.isArray(t)?t[0]:t,n,r);return function(o){let l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:o;const[,s]=i(o,l),[u,c]=a(l);return[u,s,c]}},Qj=Object.assign({},qa),{useId:L1}=Qj,Zj=()=>"",Jj=typeof L1>"u"?Zj:L1,e3=Jj;function t3(t,e,n){var r;const i=t||{},a=i.inherit===!1||!e?Object.assign(Object.assign({},nm),{hashed:(r=e==null?void 0:e.hashed)!==null&&r!==void 0?r:nm.hashed,cssVar:e==null?void 0:e.cssVar}):e,o=e3();return yv(()=>{var l,s;if(!t)return e;const u=Object.assign({},a.components);Object.keys(t.components||{}).forEach(f=>{u[f]=Object.assign(Object.assign({},u[f]),t.components[f])});const c=`css-var-${o.replace(/:/g,"")}`,d=((l=i.cssVar)!==null&&l!==void 0?l:a.cssVar)&&Object.assign(Object.assign(Object.assign({prefix:n==null?void 0:n.prefixCls},typeof a.cssVar=="object"?a.cssVar:{}),typeof i.cssVar=="object"?i.cssVar:{}),{key:typeof i.cssVar=="object"&&((s=i.cssVar)===null||s===void 0?void 0:s.key)||c});return Object.assign(Object.assign(Object.assign({},a),i),{token:Object.assign(Object.assign({},a.token),i.token),components:u,cssVar:d})},[i,a],(l,s)=>l.some((u,c)=>{const d=s[c];return!IT(u,d,!0)}))}var n3=["children"],bP=S.createContext({});function r3(t){var e=t.children,n=gt(t,n3);return S.createElement(bP.Provider,{value:n},e)}var i3=function(t){vo(n,t);var e=pd(n);function n(){return Nn(this,n),e.apply(this,arguments)}return _n(n,[{key:"render",value:function(){return this.props.children}}]),n}(S.Component),Mi="none",Zl="appear",Jl="enter",eu="leave",R1="none",Wn="prepare",Na="start",_a="active",Lv="end",SP="prepared";function I1(t,e){var n={};return n[t.toLowerCase()]=e.toLowerCase(),n["Webkit".concat(t)]="webkit".concat(e),n["Moz".concat(t)]="moz".concat(e),n["ms".concat(t)]="MS".concat(e),n["O".concat(t)]="o".concat(e.toLowerCase()),n}function a3(t,e){var n={animationend:I1("Animation","AnimationEnd"),transitionend:I1("Transition","TransitionEnd")};return t&&("AnimationEvent"in e||delete n.animationend.animation,"TransitionEvent"in e||delete n.transitionend.transition),n}var o3=a3(tn(),typeof window<"u"?window:{}),xP={};if(tn()){var s3=document.createElement("div");xP=s3.style}var tu={};function EP(t){if(tu[t])return tu[t];var e=o3[t];if(e)for(var n=Object.keys(e),r=n.length,i=0;i1&&arguments[1]!==void 0?arguments[1]:2;e();var a=Uh(function(){i<=1?r({isCanceled:function(){return a!==t.current}}):n(r,i-1)});t.current=a}return S.useEffect(function(){return function(){e()}},[]),[n,e]};var c3=[Wn,Na,_a,Lv],d3=[Wn,SP],MP=!1,f3=!0;function OP(t){return t===_a||t===Lv}const p3=function(t,e,n){var r=Ru(R1),i=ie(r,2),a=i[0],o=i[1],l=u3(),s=ie(l,2),u=s[0],c=s[1];function d(){o(Wn,!0)}var f=e?d3:c3;return kP(function(){if(a!==R1&&a!==Lv){var p=f.indexOf(a),w=f[p+1],g=n(a);g===MP?o(w,!0):w&&u(function(y){function h(){y.isCanceled()||o(w,!0)}g===!0?h():Promise.resolve(g).then(h)})}},[t,a]),S.useEffect(function(){return function(){c()}},[]),[d,a]};function h3(t,e,n,r){var i=r.motionEnter,a=i===void 0?!0:i,o=r.motionAppear,l=o===void 0?!0:o,s=r.motionLeave,u=s===void 0?!0:s,c=r.motionDeadline,d=r.motionLeaveImmediately,f=r.onAppearPrepare,p=r.onEnterPrepare,w=r.onLeavePrepare,g=r.onAppearStart,y=r.onEnterStart,h=r.onLeaveStart,v=r.onAppearActive,m=r.onEnterActive,b=r.onLeaveActive,E=r.onAppearEnd,x=r.onEnterEnd,C=r.onLeaveEnd,T=r.onVisibleChanged,P=Ru(),O=ie(P,2),I=O[0],N=O[1],A=Ru(Mi),M=ie(A,2),R=M[0],D=M[1],L=Ru(null),k=ie(L,2),F=k[0],j=k[1],B=S.useRef(!1),G=S.useRef(null);function q(){return n()}var K=S.useRef(!1);function ne(){D(Mi,!0),j(null,!0)}function oe(Le){var fe=q();if(!(Le&&!Le.deadline&&Le.target!==fe)){var he=K.current,Ue;R===Zl&&he?Ue=E==null?void 0:E(fe,Le):R===Jl&&he?Ue=x==null?void 0:x(fe,Le):R===eu&&he&&(Ue=C==null?void 0:C(fe,Le)),R!==Mi&&he&&Ue!==!1&&ne()}}var de=l3(oe),Qe=ie(de,1),rt=Qe[0],xe=function(fe){var he,Ue,dt;switch(fe){case Zl:return he={},U(he,Wn,f),U(he,Na,g),U(he,_a,v),he;case Jl:return Ue={},U(Ue,Wn,p),U(Ue,Na,y),U(Ue,_a,m),Ue;case eu:return dt={},U(dt,Wn,w),U(dt,Na,h),U(dt,_a,b),dt;default:return{}}},we=S.useMemo(function(){return xe(R)},[R]),De=p3(R,!t,function(Le){if(Le===Wn){var fe=we[Wn];return fe?fe(q()):MP}if(Fe in we){var he;j(((he=we[Fe])===null||he===void 0?void 0:he.call(we,q(),null))||null)}return Fe===_a&&(rt(q()),c>0&&(clearTimeout(G.current),G.current=setTimeout(function(){oe({deadline:!0})},c))),Fe===SP&&ne(),f3}),Ot=ie(De,2),Gt=Ot[0],Fe=Ot[1],yt=OP(Fe);K.current=yt,kP(function(){N(e);var Le=B.current;B.current=!0;var fe;!Le&&e&&l&&(fe=Zl),Le&&e&&a&&(fe=Jl),(Le&&!e&&u||!Le&&d&&!e&&u)&&(fe=eu);var he=xe(fe);fe&&(t||he[Wn])?(D(fe),Gt()):D(Mi)},[e]),S.useEffect(function(){(R===Zl&&!l||R===Jl&&!a||R===eu&&!u)&&D(Mi)},[l,a,u]),S.useEffect(function(){return function(){B.current=!1,clearTimeout(G.current)}},[]);var rn=S.useRef(!1);S.useEffect(function(){I&&(rn.current=!0),I!==void 0&&R===Mi&&((rn.current||I)&&(T==null||T(I)),rn.current=!0)},[I,R]);var Vt=F;return we[Wn]&&Fe===Na&&(Vt=H({transition:"none"},Vt)),[R,Fe,Vt,I??e]}function m3(t){var e=t;Ae(t)==="object"&&(e=t.transitionSupport);function n(i,a){return!!(i.motionName&&e&&a!==!1)}var r=S.forwardRef(function(i,a){var o=i.visible,l=o===void 0?!0:o,s=i.removeOnLeave,u=s===void 0?!0:s,c=i.forceRender,d=i.children,f=i.motionName,p=i.leavedClassName,w=i.eventProps,g=S.useContext(bP),y=g.motion,h=n(i,y),v=S.useRef(),m=S.useRef();function b(){try{return v.current instanceof HTMLElement?v.current:w_(m.current)}catch{return null}}var E=h3(h,l,b,i),x=ie(E,4),C=x[0],T=x[1],P=x[2],O=x[3],I=S.useRef(O);O&&(I.current=!0);var N=S.useCallback(function(j){v.current=j,bT(a,j)},[a]),A,M=H(H({},w),{},{visible:l});if(!d)A=null;else if(C===Mi)O?A=d(H({},M),N):!u&&I.current&&p?A=d(H(H({},M),{},{className:p}),N):c||!u&&!p?A=d(H(H({},M),{},{style:{display:"none"}}),N):A=null;else{var R,D;T===Wn?D="prepare":OP(T)?D="active":T===Na&&(D="start");var L=N1(f,"".concat(C,"-").concat(D));A=d(H(H({},M),{},{className:zt(N1(f,C),(R={},U(R,L,L&&D),U(R,f,typeof f=="string"),R)),style:P}),N)}if(S.isValidElement(A)&&xT(A)){var k=A,F=k.ref;F||(A=S.cloneElement(A,{ref:N}))}return S.createElement(i3,{ref:m},A)});return r.displayName="CSSMotion",r}const om=m3(PP);var sm="add",lm="keep",um="remove",ap="removed";function g3(t){var e;return t&&Ae(t)==="object"&&"key"in t?e=t:e={key:t},H(H({},e),{},{key:String(e.key)})}function cm(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return t.map(g3)}function v3(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],n=[],r=0,i=e.length,a=cm(t),o=cm(e);a.forEach(function(u){for(var c=!1,d=r;d1});return s.forEach(function(u){n=n.filter(function(c){var d=c.key,f=c.status;return d!==u||f!==um}),n.forEach(function(c){c.key===u&&(c.status=lm)})}),n}var y3=["component","children","onVisibleChanged","onAllRemoved"],w3=["status"],b3=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearPrepare","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];function S3(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:om,n=function(r){vo(a,r);var i=pd(a);function a(){var o;Nn(this,a);for(var l=arguments.length,s=new Array(l),u=0;unull;var C3=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(t);ie.endsWith("Color"))}const O3=t=>{const{prefixCls:e,iconPrefixCls:n,theme:r,holderRender:i}=t;e!==void 0&&(AP=e),r&&M3(r)&&Pj(k3(),r)},A3=t=>{const{children:e,csp:n,autoInsertSpaceInButton:r,alert:i,anchor:a,form:o,locale:l,componentSize:s,direction:u,space:c,virtual:d,dropdownMatchSelectWidth:f,popupMatchSelectWidth:p,popupOverflow:w,legacyLocale:g,parentContext:y,iconPrefixCls:h,theme:v,componentDisabled:m,segmented:b,statistic:E,spin:x,calendar:C,carousel:T,cascader:P,collapse:O,typography:I,checkbox:N,descriptions:A,divider:M,drawer:R,skeleton:D,steps:L,image:k,layout:F,list:j,mentions:B,modal:G,progress:q,result:K,slider:ne,breadcrumb:oe,menu:de,pagination:Qe,input:rt,textArea:xe,empty:we,badge:De,radio:Ot,rate:Gt,switch:Fe,transfer:yt,avatar:rn,message:Vt,tag:Le,table:fe,card:he,tabs:Ue,timeline:dt,timePicker:qt,upload:Vn,notification:wl,tree:aa,colorPicker:_d,datePicker:er,rangePicker:bl,flex:Sl,wave:xl,dropdown:Vd,warning:El,tour:oa}=t,bo=S.useCallback((Y,ae)=>{const{prefixCls:re}=t;if(ae)return ae;const ee=re||y.getPrefixCls("");return Y?`${ee}-${Y}`:ee},[y.getPrefixCls,t.prefixCls]),hr=h||y.iconPrefixCls||lP,bi=n||y.csp;vP(hr,bi);const sa=t3(v,y.theme,{prefixCls:bo("")}),So={csp:bi,autoInsertSpaceInButton:r,alert:i,anchor:a,locale:l||g,direction:u,space:c,virtual:d,popupMatchSelectWidth:p??f,popupOverflow:w,getPrefixCls:bo,iconPrefixCls:hr,theme:sa,segmented:b,statistic:E,spin:x,calendar:C,carousel:T,cascader:P,collapse:O,typography:I,checkbox:N,descriptions:A,divider:M,drawer:R,skeleton:D,steps:L,image:k,input:rt,textArea:xe,layout:F,list:j,mentions:B,modal:G,progress:q,result:K,slider:ne,breadcrumb:oe,menu:de,pagination:Qe,empty:we,badge:De,radio:Ot,rate:Gt,switch:Fe,transfer:yt,avatar:rn,message:Vt,tag:Le,table:fe,card:he,tabs:Ue,timeline:dt,timePicker:qt,upload:Vn,notification:wl,tree:aa,colorPicker:_d,datePicker:er,rangePicker:bl,flex:Sl,wave:xl,dropdown:Vd,warning:El,tour:oa},Si=Object.assign({},y);Object.keys(So).forEach(Y=>{So[Y]!==void 0&&(Si[Y]=So[Y])}),T3.forEach(Y=>{const ae=t[Y];ae&&(Si[Y]=ae)});const Fr=yv(()=>Si,Si,(Y,ae)=>{const re=Object.keys(Y),ee=Object.keys(ae);return re.length!==ee.length||re.some(te=>Y[te]!==ae[te])}),_=S.useMemo(()=>({prefixCls:hr,csp:bi}),[hr,bi]);let $=S.createElement(S.Fragment,null,S.createElement(E3,{dropdownMatchSelectWidth:f}),e);const W=S.useMemo(()=>{var Y,ae,re,ee;return Fa(((Y=wd.Form)===null||Y===void 0?void 0:Y.defaultValidateMessages)||{},((re=(ae=Fr.locale)===null||ae===void 0?void 0:ae.Form)===null||re===void 0?void 0:re.defaultValidateMessages)||{},((ee=Fr.form)===null||ee===void 0?void 0:ee.validateMessages)||{},(o==null?void 0:o.validateMessages)||{})},[Fr,o==null?void 0:o.validateMessages]);Object.keys(W).length>0&&($=S.createElement(DV.Provider,{value:W},$)),l&&($=S.createElement(UV,{locale:l,_ANT_MARK__:BV},$)),(hr||bi)&&($=S.createElement(Mv.Provider,{value:_},$)),s&&($=S.createElement(Oj,{size:s},$)),$=S.createElement(x3,null,$);const Q=S.useMemo(()=>{const Y=sa||{},{algorithm:ae,token:re,components:ee,cssVar:te}=Y,ge=C3(Y,["algorithm","token","components","cssVar"]),Ze=ae&&(!Array.isArray(ae)||ae.length>0)?qh(ae):oP,pe={};Object.entries(ee||{}).forEach(st=>{let[Xt,it]=st;const At=Object.assign({},it);"algorithm"in At&&(At.algorithm===!0?At.theme=Ze:(Array.isArray(At.algorithm)||typeof At.algorithm=="function")&&(At.theme=qh(At.algorithm)),delete At.algorithm),pe[Xt]=At});const Te=Object.assign(Object.assign({},Ws),re);return Object.assign(Object.assign({},ge),{theme:Ze,token:Te,components:pe,override:Object.assign({override:Te},pe),cssVar:te})},[sa]);return v&&($=S.createElement(sP.Provider,{value:Q},$)),Fr.warning&&($=S.createElement(IV.Provider,{value:Fr.warning},$)),m!==void 0&&($=S.createElement(kj,{disabled:m},$)),S.createElement(ra.Provider,{value:Fr},$)},fl=t=>{const e=S.useContext(ra),n=S.useContext(tP);return S.createElement(A3,Object.assign({parentContext:e,legacyLocale:n},t))};fl.ConfigContext=ra;fl.SizeContext=Ov;fl.config=O3;fl.useConfig=Aj;Object.defineProperty(fl,"SizeContext",{get:()=>Ov});function LP(t){var e;return t==null||(e=t.getRootNode)===null||e===void 0?void 0:e.call(t)}function L3(t){return LP(t)instanceof ShadowRoot}function R3(t){return L3(t)?LP(t):null}function I3(t){return t.replace(/-(.)/g,function(e,n){return n.toUpperCase()})}function D3(t,e){en(t,"[@ant-design/icons] ".concat(e))}function _1(t){return Ae(t)==="object"&&typeof t.name=="string"&&typeof t.theme=="string"&&(Ae(t.icon)==="object"||typeof t.icon=="function")}function V1(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Object.keys(t).reduce(function(e,n){var r=t[n];switch(n){case"class":e.className=r,delete e.class;break;default:delete e[n],e[I3(n)]=r}return e},{})}function dm(t,e,n){return n?Xe.createElement(t.tag,H(H({key:e},V1(t.attrs)),n),(t.children||[]).map(function(r,i){return dm(r,"".concat(e,"-").concat(t.tag,"-").concat(i))})):Xe.createElement(t.tag,H({key:e},V1(t.attrs)),(t.children||[]).map(function(r,i){return dm(r,"".concat(e,"-").concat(t.tag,"-").concat(i))}))}function RP(t){return Qi(t)[0]}function IP(t){return t?Array.isArray(t)?t:[t]:[]}var F3=` .anticon { display: inline-block; color: inherit; @@ -187,7 +187,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho transform: rotate(360deg); } } -`,Ij=function(e){var n=S.useContext(kv),r=n.csp,i=n.prefixCls,a=Rj;i&&(a=a.replace(/anticon/g,i)),S.useEffect(function(){var o=e.current,l=Oj(o);fi(a,"@ant-design-icons",{prepend:!0,csp:r,attachTo:l})},[])},Dj=["icon","className","onClick","style","primaryColor","secondaryColor"],vs={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};function Fj(t){var e=t.primaryColor,n=t.secondaryColor;vs.primaryColor=e,vs.secondaryColor=n||LP(e),vs.calculated=!!n}function Nj(){return H({},vs)}var yd=function(e){var n=e.icon,r=e.className,i=e.onClick,a=e.style,o=e.primaryColor,l=e.secondaryColor,s=gt(e,Dj),u=S.useRef(),c=vs;if(o&&(c={primaryColor:o,secondaryColor:l||LP(o)}),Ij(u),Lj(N1(n),"icon should be icon definiton, but got ".concat(n)),!N1(n))return null;var d=n;return d&&typeof d.icon=="function"&&(d=H(H({},d),{},{icon:d.icon(c.primaryColor,c.secondaryColor)})),dm(d.icon,"svg-".concat(d.name),H(H({className:r,onClick:i,style:a,"data-icon":d.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},s),{},{ref:u}))};yd.displayName="IconReact";yd.getTwoToneColors=Nj;yd.setTwoToneColors=Fj;const Lv=yd;function IP(t){var e=RP(t),n=ie(e,2),r=n[0],i=n[1];return Lv.setTwoToneColors({primaryColor:r,secondaryColor:i})}function _j(){var t=Lv.getTwoToneColors();return t.calculated?[t.primaryColor,t.secondaryColor]:t.primaryColor}var Vj=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];IP(i3.primary);var wd=S.forwardRef(function(t,e){var n=t.className,r=t.icon,i=t.spin,a=t.rotate,o=t.tabIndex,l=t.onClick,s=t.twoToneColor,u=gt(t,Vj),c=S.useContext(kv),d=c.prefixCls,f=d===void 0?"anticon":d,p=c.rootClassName,w=zt(p,f,U(U({},"".concat(f,"-").concat(r.name),!!r.name),"".concat(f,"-spin"),!!i||r.name==="loading"),n),g=o;g===void 0&&l&&(g=-1);var y=a?{msTransform:"rotate(".concat(a,"deg)"),transform:"rotate(".concat(a,"deg)")}:void 0,h=RP(s),v=ie(h,2),m=v[0],b=v[1];return S.createElement("span",J({role:"img","aria-label":r.name},u,{ref:e,tabIndex:g,onClick:l,className:w}),S.createElement(Lv,{icon:r,primaryColor:m,secondaryColor:b,style:y}))});wd.displayName="AntdIcon";wd.getTwoToneColor=_j;wd.setTwoToneColor=IP;const jj=wd;var $j={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M799.86 166.31c.02 0 .04.02.08.06l57.69 57.7c.04.03.05.05.06.08a.12.12 0 010 .06c0 .03-.02.05-.06.09L569.93 512l287.7 287.7c.04.04.05.06.06.09a.12.12 0 010 .07c0 .02-.02.04-.06.08l-57.7 57.69c-.03.04-.05.05-.07.06a.12.12 0 01-.07 0c-.03 0-.05-.02-.09-.06L512 569.93l-287.7 287.7c-.04.04-.06.05-.09.06a.12.12 0 01-.07 0c-.02 0-.04-.02-.08-.06l-57.69-57.7c-.04-.03-.05-.05-.06-.07a.12.12 0 010-.07c0-.03.02-.05.06-.09L454.07 512l-287.7-287.7c-.04-.04-.05-.06-.06-.09a.12.12 0 010-.07c0-.02.02-.04.06-.08l57.7-57.69c.03-.04.05-.05.07-.06a.12.12 0 01.07 0c.03 0 .05.02.09.06L512 454.07l287.7-287.7c.04-.04.06-.05.09-.06a.12.12 0 01.07 0z"}}]},name:"close",theme:"outlined"};const zj=$j;var Bj=function(e,n){return S.createElement(jj,J({},e,{ref:n,icon:zj}))};const Hj=S.forwardRef(Bj);var Uj=`accept acceptCharset accessKey action allowFullScreen allowTransparency +`,N3=function(e){var n=S.useContext(Mv),r=n.csp,i=n.prefixCls,a=F3;i&&(a=a.replace(/anticon/g,i)),S.useEffect(function(){var o=e.current,l=R3(o);pi(a,"@ant-design-icons",{prepend:!0,csp:r,attachTo:l})},[])},_3=["icon","className","onClick","style","primaryColor","secondaryColor"],vs={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};function V3(t){var e=t.primaryColor,n=t.secondaryColor;vs.primaryColor=e,vs.secondaryColor=n||RP(e),vs.calculated=!!n}function j3(){return H({},vs)}var bd=function(e){var n=e.icon,r=e.className,i=e.onClick,a=e.style,o=e.primaryColor,l=e.secondaryColor,s=gt(e,_3),u=S.useRef(),c=vs;if(o&&(c={primaryColor:o,secondaryColor:l||RP(o)}),N3(u),D3(_1(n),"icon should be icon definiton, but got ".concat(n)),!_1(n))return null;var d=n;return d&&typeof d.icon=="function"&&(d=H(H({},d),{},{icon:d.icon(c.primaryColor,c.secondaryColor)})),dm(d.icon,"svg-".concat(d.name),H(H({className:r,onClick:i,style:a,"data-icon":d.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},s),{},{ref:u}))};bd.displayName="IconReact";bd.getTwoToneColors=j3;bd.setTwoToneColors=V3;const Rv=bd;function DP(t){var e=IP(t),n=ie(e,2),r=n[0],i=n[1];return Rv.setTwoToneColors({primaryColor:r,secondaryColor:i})}function $3(){var t=Rv.getTwoToneColors();return t.calculated?[t.primaryColor,t.secondaryColor]:t.primaryColor}var z3=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];DP(sj.primary);var Sd=S.forwardRef(function(t,e){var n=t.className,r=t.icon,i=t.spin,a=t.rotate,o=t.tabIndex,l=t.onClick,s=t.twoToneColor,u=gt(t,z3),c=S.useContext(Mv),d=c.prefixCls,f=d===void 0?"anticon":d,p=c.rootClassName,w=zt(p,f,U(U({},"".concat(f,"-").concat(r.name),!!r.name),"".concat(f,"-spin"),!!i||r.name==="loading"),n),g=o;g===void 0&&l&&(g=-1);var y=a?{msTransform:"rotate(".concat(a,"deg)"),transform:"rotate(".concat(a,"deg)")}:void 0,h=IP(s),v=ie(h,2),m=v[0],b=v[1];return S.createElement("span",J({role:"img","aria-label":r.name},u,{ref:e,tabIndex:g,onClick:l,className:w}),S.createElement(Rv,{icon:r,primaryColor:m,secondaryColor:b,style:y}))});Sd.displayName="AntdIcon";Sd.getTwoToneColor=$3;Sd.setTwoToneColor=DP;const B3=Sd;var H3={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M799.86 166.31c.02 0 .04.02.08.06l57.69 57.7c.04.03.05.05.06.08a.12.12 0 010 .06c0 .03-.02.05-.06.09L569.93 512l287.7 287.7c.04.04.05.06.06.09a.12.12 0 010 .07c0 .02-.02.04-.06.08l-57.7 57.69c-.03.04-.05.05-.07.06a.12.12 0 01-.07 0c-.03 0-.05-.02-.09-.06L512 569.93l-287.7 287.7c-.04.04-.06.05-.09.06a.12.12 0 01-.07 0c-.02 0-.04-.02-.08-.06l-57.69-57.7c-.04-.03-.05-.05-.06-.07a.12.12 0 010-.07c0-.03.02-.05.06-.09L454.07 512l-287.7-287.7c-.04-.04-.05-.06-.06-.09a.12.12 0 010-.07c0-.02.02-.04.06-.08l57.7-57.69c.03-.04.05-.05.07-.06a.12.12 0 01.07 0c.03 0 .05.02.09.06L512 454.07l287.7-287.7c.04-.04.06-.05.09-.06a.12.12 0 01.07 0z"}}]},name:"close",theme:"outlined"};const U3=H3;var W3=function(e,n){return S.createElement(B3,J({},e,{ref:n,icon:U3}))};const G3=S.forwardRef(W3);var q3=`accept acceptCharset accessKey action allowFullScreen allowTransparency alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge charSet checked classID className colSpan cols content contentEditable contextMenu controls coords crossOrigin data dateTime default defer dir disabled download draggable @@ -198,17 +198,17 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho optimum pattern placeholder poster preload radioGroup readOnly rel required reversed role rowSpan rows sandbox scope scoped scrolling seamless selected shape size sizes span spellCheck src srcDoc srcLang srcSet start step style - summary tabIndex target title type useMap value width wmode wrap`,Wj=`onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown + summary tabIndex target title type useMap value width wmode wrap`,X3=`onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata - onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError`,Gj="".concat(Uj," ").concat(Wj).split(/[\s\n]+/),qj="aria-",Xj="data-";function V1(t,e){return t.indexOf(e)===0}function gc(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n;e===!1?n={aria:!0,data:!0,attr:!0}:e===!0?n={aria:!0}:n=H({},e);var r={};return Object.keys(t).forEach(function(i){(n.aria&&(i==="role"||V1(i,qj))||n.data&&V1(i,Xj)||n.attr&&Gj.includes(i))&&(r[i]=t[i])}),r}var le={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(e){var n=e.keyCode;if(e.altKey&&!e.ctrlKey||e.metaKey||n>=le.F1&&n<=le.F12)return!1;switch(n){case le.ALT:case le.CAPS_LOCK:case le.CONTEXT_MENU:case le.CTRL:case le.DOWN:case le.END:case le.ESC:case le.HOME:case le.INSERT:case le.LEFT:case le.MAC_FF_META:case le.META:case le.NUMLOCK:case le.NUM_CENTER:case le.PAGE_DOWN:case le.PAGE_UP:case le.PAUSE:case le.PRINT_SCREEN:case le.RIGHT:case le.SHIFT:case le.UP:case le.WIN_KEY:case le.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(e){if(e>=le.ZERO&&e<=le.NINE||e>=le.NUM_ZERO&&e<=le.NUM_MULTIPLY||e>=le.A&&e<=le.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&e===0)return!0;switch(e){case le.SPACE:case le.QUESTION_MARK:case le.NUM_PLUS:case le.NUM_MINUS:case le.NUM_PERIOD:case le.NUM_DIVISION:case le.SEMICOLON:case le.DASH:case le.EQUALS:case le.COMMA:case le.PERIOD:case le.SLASH:case le.APOSTROPHE:case le.SINGLE_QUOTE:case le.OPEN_SQUARE_BRACKET:case le.BACKSLASH:case le.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}};const Kj=Xe.createContext(void 0),DP=Kj,Oi=100,Yj=10,Qj=Oi*Yj,FP={Modal:Oi,Drawer:Oi,Popover:Oi,Popconfirm:Oi,Tooltip:Oi,Tour:Oi},Zj={SelectLike:50,Dropdown:50,DatePicker:50,Menu:50,ImagePreview:1};function Jj(t){return t in FP}function e$(t,e){const[,n]=lo(),r=Xe.useContext(DP),i=Jj(t);if(e!==void 0)return[e,e];let a=r??0;return i?(a+=(r?0:n.zIndexPopupBase)+FP[t],a=Math.min(a,n.zIndexPopupBase+Qj)):a+=Zj[t],[r===void 0?e:a,a]}function Jn(){Jn=function(){return e};var t,e={},n=Object.prototype,r=n.hasOwnProperty,i=Object.defineProperty||function(D,L,k){D[L]=k.value},a=typeof Symbol=="function"?Symbol:{},o=a.iterator||"@@iterator",l=a.asyncIterator||"@@asyncIterator",s=a.toStringTag||"@@toStringTag";function u(D,L,k){return Object.defineProperty(D,L,{value:k,enumerable:!0,configurable:!0,writable:!0}),D[L]}try{u({},"")}catch{u=function(k,F,j){return k[F]=j}}function c(D,L,k,F){var j=L&&L.prototype instanceof h?L:h,B=Object.create(j.prototype),G=new M(F||[]);return i(B,"_invoke",{value:O(D,k,G)}),B}function d(D,L,k){try{return{type:"normal",arg:D.call(L,k)}}catch(F){return{type:"throw",arg:F}}}e.wrap=c;var f="suspendedStart",p="suspendedYield",w="executing",g="completed",y={};function h(){}function v(){}function m(){}var b={};u(b,o,function(){return this});var E=Object.getPrototypeOf,x=E&&E(E(R([])));x&&x!==n&&r.call(x,o)&&(b=x);var C=m.prototype=h.prototype=Object.create(b);function T(D){["next","throw","return"].forEach(function(L){u(D,L,function(k){return this._invoke(L,k)})})}function P(D,L){function k(j,B,G,q){var K=d(D[j],D,B);if(K.type!=="throw"){var ne=K.arg,oe=ne.value;return oe&&Ae(oe)=="object"&&r.call(oe,"__await")?L.resolve(oe.__await).then(function(de){k("next",de,G,q)},function(de){k("throw",de,G,q)}):L.resolve(oe).then(function(de){ne.value=de,G(ne)},function(de){return k("throw",de,G,q)})}q(K.arg)}var F;i(this,"_invoke",{value:function(B,G){function q(){return new L(function(K,ne){k(B,G,K,ne)})}return F=F?F.then(q,q):q()}})}function O(D,L,k){var F=f;return function(j,B){if(F===w)throw new Error("Generator is already running");if(F===g){if(j==="throw")throw B;return{value:t,done:!0}}for(k.method=j,k.arg=B;;){var G=k.delegate;if(G){var q=I(G,k);if(q){if(q===y)continue;return q}}if(k.method==="next")k.sent=k._sent=k.arg;else if(k.method==="throw"){if(F===f)throw F=g,k.arg;k.dispatchException(k.arg)}else k.method==="return"&&k.abrupt("return",k.arg);F=w;var K=d(D,L,k);if(K.type==="normal"){if(F=k.done?g:p,K.arg===y)continue;return{value:K.arg,done:k.done}}K.type==="throw"&&(F=g,k.method="throw",k.arg=K.arg)}}}function I(D,L){var k=L.method,F=D.iterator[k];if(F===t)return L.delegate=null,k==="throw"&&D.iterator.return&&(L.method="return",L.arg=t,I(D,L),L.method==="throw")||k!=="return"&&(L.method="throw",L.arg=new TypeError("The iterator does not provide a '"+k+"' method")),y;var j=d(F,D.iterator,L.arg);if(j.type==="throw")return L.method="throw",L.arg=j.arg,L.delegate=null,y;var B=j.arg;return B?B.done?(L[D.resultName]=B.value,L.next=D.nextLoc,L.method!=="return"&&(L.method="next",L.arg=t),L.delegate=null,y):B:(L.method="throw",L.arg=new TypeError("iterator result is not an object"),L.delegate=null,y)}function N(D){var L={tryLoc:D[0]};1 in D&&(L.catchLoc=D[1]),2 in D&&(L.finallyLoc=D[2],L.afterLoc=D[3]),this.tryEntries.push(L)}function A(D){var L=D.completion||{};L.type="normal",delete L.arg,D.completion=L}function M(D){this.tryEntries=[{tryLoc:"root"}],D.forEach(N,this),this.reset(!0)}function R(D){if(D||D===""){var L=D[o];if(L)return L.call(D);if(typeof D.next=="function")return D;if(!isNaN(D.length)){var k=-1,F=function j(){for(;++k=0;--j){var B=this.tryEntries[j],G=B.completion;if(B.tryLoc==="root")return F("end");if(B.tryLoc<=this.prev){var q=r.call(B,"catchLoc"),K=r.call(B,"finallyLoc");if(q&&K){if(this.prev=0;--F){var j=this.tryEntries[F];if(j.tryLoc<=this.prev&&r.call(j,"finallyLoc")&&this.prev=0;--k){var F=this.tryEntries[k];if(F.finallyLoc===L)return this.complete(F.completion,F.afterLoc),A(F),y}},catch:function(L){for(var k=this.tryEntries.length-1;k>=0;--k){var F=this.tryEntries[k];if(F.tryLoc===L){var j=F.completion;if(j.type==="throw"){var B=j.arg;A(F)}return B}}throw new Error("illegal catch attempt")},delegateYield:function(L,k,F){return this.delegate={iterator:R(L),resultName:k,nextLoc:F},this.method==="next"&&(this.arg=t),y}},e}function j1(t,e,n,r,i,a,o){try{var l=t[a](o),s=l.value}catch(u){n(u);return}l.done?e(s):Promise.resolve(s).then(r,i)}function pl(t){return function(){var e=this,n=arguments;return new Promise(function(r,i){var a=t.apply(e,n);function o(s){j1(a,r,i,o,l,"next",s)}function l(s){j1(a,r,i,o,l,"throw",s)}o(void 0)})}}const $1=(t,e,n)=>n!==void 0?n:`${t}-${e}`,t$=S.createContext(null),n$=t=>{let{children:e}=t;return S.createElement(t$.Provider,{value:null},e)};var NP=S.createContext(null),z1=[];function r$(t,e){var n=S.useState(function(){if(!tn())return null;var w=document.createElement("div");return w}),r=ie(n,1),i=r[0],a=S.useRef(!1),o=S.useContext(NP),l=S.useState(z1),s=ie(l,2),u=s[0],c=s[1],d=o||(a.current?void 0:function(w){c(function(g){var y=[w].concat(ce(g));return y})});function f(){i.parentElement||document.body.appendChild(i),a.current=!0}function p(){var w;(w=i.parentElement)===null||w===void 0||w.removeChild(i),a.current=!1}return oo(function(){return t?o?o(f):f():p(),p},[t]),oo(function(){u.length&&(u.forEach(function(w){return w()}),c(z1))},[u]),[i,d]}var op;function i$(t){if(typeof document>"u")return 0;if(t||op===void 0){var e=document.createElement("div");e.style.width="100%",e.style.height="200px";var n=document.createElement("div"),r=n.style;r.position="absolute",r.top="0",r.left="0",r.pointerEvents="none",r.visibility="hidden",r.width="200px",r.height="150px",r.overflow="hidden",n.appendChild(e),document.body.appendChild(n);var i=e.offsetWidth;n.style.overflow="scroll";var a=e.offsetWidth;i===a&&(a=n.clientWidth),document.body.removeChild(n),op=i-a}return op}function B1(t){var e=t.match(/^(.*)px$/),n=Number(e==null?void 0:e[1]);return Number.isNaN(n)?i$():n}function a$(t){if(typeof document>"u"||!t||!(t instanceof Element))return{width:0,height:0};var e=getComputedStyle(t,"::-webkit-scrollbar"),n=e.width,r=e.height;return{width:B1(n),height:B1(r)}}function o$(){return document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth}var s$="rc-util-locker-".concat(Date.now()),H1=0;function l$(t){var e=!!t,n=S.useState(function(){return H1+=1,"".concat(s$,"_").concat(H1)}),r=ie(n,1),i=r[0];oo(function(){if(e){var a=a$(document.body).width,o=o$();fi(` + onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError`,K3="".concat(q3," ").concat(X3).split(/[\s\n]+/),Y3="aria-",Q3="data-";function j1(t,e){return t.indexOf(e)===0}function yc(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n;e===!1?n={aria:!0,data:!0,attr:!0}:e===!0?n={aria:!0}:n=H({},e);var r={};return Object.keys(t).forEach(function(i){(n.aria&&(i==="role"||j1(i,Y3))||n.data&&j1(i,Q3)||n.attr&&K3.includes(i))&&(r[i]=t[i])}),r}var le={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(e){var n=e.keyCode;if(e.altKey&&!e.ctrlKey||e.metaKey||n>=le.F1&&n<=le.F12)return!1;switch(n){case le.ALT:case le.CAPS_LOCK:case le.CONTEXT_MENU:case le.CTRL:case le.DOWN:case le.END:case le.ESC:case le.HOME:case le.INSERT:case le.LEFT:case le.MAC_FF_META:case le.META:case le.NUMLOCK:case le.NUM_CENTER:case le.PAGE_DOWN:case le.PAGE_UP:case le.PAUSE:case le.PRINT_SCREEN:case le.RIGHT:case le.SHIFT:case le.UP:case le.WIN_KEY:case le.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(e){if(e>=le.ZERO&&e<=le.NINE||e>=le.NUM_ZERO&&e<=le.NUM_MULTIPLY||e>=le.A&&e<=le.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&e===0)return!0;switch(e){case le.SPACE:case le.QUESTION_MARK:case le.NUM_PLUS:case le.NUM_MINUS:case le.NUM_PERIOD:case le.NUM_DIVISION:case le.SEMICOLON:case le.DASH:case le.EQUALS:case le.COMMA:case le.PERIOD:case le.SLASH:case le.APOSTROPHE:case le.SINGLE_QUOTE:case le.OPEN_SQUARE_BRACKET:case le.BACKSLASH:case le.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}};const Z3=Xe.createContext(void 0),FP=Z3,Oi=100,J3=10,e$=Oi*J3,NP={Modal:Oi,Drawer:Oi,Popover:Oi,Popconfirm:Oi,Tooltip:Oi,Tour:Oi},t$={SelectLike:50,Dropdown:50,DatePicker:50,Menu:50,ImagePreview:1};function n$(t){return t in NP}function r$(t,e){const[,n]=lo(),r=Xe.useContext(FP),i=n$(t);if(e!==void 0)return[e,e];let a=r??0;return i?(a+=(r?0:n.zIndexPopupBase)+NP[t],a=Math.min(a,n.zIndexPopupBase+e$)):a+=t$[t],[r===void 0?e:a,a]}function Jn(){Jn=function(){return e};var t,e={},n=Object.prototype,r=n.hasOwnProperty,i=Object.defineProperty||function(D,L,k){D[L]=k.value},a=typeof Symbol=="function"?Symbol:{},o=a.iterator||"@@iterator",l=a.asyncIterator||"@@asyncIterator",s=a.toStringTag||"@@toStringTag";function u(D,L,k){return Object.defineProperty(D,L,{value:k,enumerable:!0,configurable:!0,writable:!0}),D[L]}try{u({},"")}catch{u=function(k,F,j){return k[F]=j}}function c(D,L,k,F){var j=L&&L.prototype instanceof h?L:h,B=Object.create(j.prototype),G=new M(F||[]);return i(B,"_invoke",{value:O(D,k,G)}),B}function d(D,L,k){try{return{type:"normal",arg:D.call(L,k)}}catch(F){return{type:"throw",arg:F}}}e.wrap=c;var f="suspendedStart",p="suspendedYield",w="executing",g="completed",y={};function h(){}function v(){}function m(){}var b={};u(b,o,function(){return this});var E=Object.getPrototypeOf,x=E&&E(E(R([])));x&&x!==n&&r.call(x,o)&&(b=x);var C=m.prototype=h.prototype=Object.create(b);function T(D){["next","throw","return"].forEach(function(L){u(D,L,function(k){return this._invoke(L,k)})})}function P(D,L){function k(j,B,G,q){var K=d(D[j],D,B);if(K.type!=="throw"){var ne=K.arg,oe=ne.value;return oe&&Ae(oe)=="object"&&r.call(oe,"__await")?L.resolve(oe.__await).then(function(de){k("next",de,G,q)},function(de){k("throw",de,G,q)}):L.resolve(oe).then(function(de){ne.value=de,G(ne)},function(de){return k("throw",de,G,q)})}q(K.arg)}var F;i(this,"_invoke",{value:function(B,G){function q(){return new L(function(K,ne){k(B,G,K,ne)})}return F=F?F.then(q,q):q()}})}function O(D,L,k){var F=f;return function(j,B){if(F===w)throw new Error("Generator is already running");if(F===g){if(j==="throw")throw B;return{value:t,done:!0}}for(k.method=j,k.arg=B;;){var G=k.delegate;if(G){var q=I(G,k);if(q){if(q===y)continue;return q}}if(k.method==="next")k.sent=k._sent=k.arg;else if(k.method==="throw"){if(F===f)throw F=g,k.arg;k.dispatchException(k.arg)}else k.method==="return"&&k.abrupt("return",k.arg);F=w;var K=d(D,L,k);if(K.type==="normal"){if(F=k.done?g:p,K.arg===y)continue;return{value:K.arg,done:k.done}}K.type==="throw"&&(F=g,k.method="throw",k.arg=K.arg)}}}function I(D,L){var k=L.method,F=D.iterator[k];if(F===t)return L.delegate=null,k==="throw"&&D.iterator.return&&(L.method="return",L.arg=t,I(D,L),L.method==="throw")||k!=="return"&&(L.method="throw",L.arg=new TypeError("The iterator does not provide a '"+k+"' method")),y;var j=d(F,D.iterator,L.arg);if(j.type==="throw")return L.method="throw",L.arg=j.arg,L.delegate=null,y;var B=j.arg;return B?B.done?(L[D.resultName]=B.value,L.next=D.nextLoc,L.method!=="return"&&(L.method="next",L.arg=t),L.delegate=null,y):B:(L.method="throw",L.arg=new TypeError("iterator result is not an object"),L.delegate=null,y)}function N(D){var L={tryLoc:D[0]};1 in D&&(L.catchLoc=D[1]),2 in D&&(L.finallyLoc=D[2],L.afterLoc=D[3]),this.tryEntries.push(L)}function A(D){var L=D.completion||{};L.type="normal",delete L.arg,D.completion=L}function M(D){this.tryEntries=[{tryLoc:"root"}],D.forEach(N,this),this.reset(!0)}function R(D){if(D||D===""){var L=D[o];if(L)return L.call(D);if(typeof D.next=="function")return D;if(!isNaN(D.length)){var k=-1,F=function j(){for(;++k=0;--j){var B=this.tryEntries[j],G=B.completion;if(B.tryLoc==="root")return F("end");if(B.tryLoc<=this.prev){var q=r.call(B,"catchLoc"),K=r.call(B,"finallyLoc");if(q&&K){if(this.prev=0;--F){var j=this.tryEntries[F];if(j.tryLoc<=this.prev&&r.call(j,"finallyLoc")&&this.prev=0;--k){var F=this.tryEntries[k];if(F.finallyLoc===L)return this.complete(F.completion,F.afterLoc),A(F),y}},catch:function(L){for(var k=this.tryEntries.length-1;k>=0;--k){var F=this.tryEntries[k];if(F.tryLoc===L){var j=F.completion;if(j.type==="throw"){var B=j.arg;A(F)}return B}}throw new Error("illegal catch attempt")},delegateYield:function(L,k,F){return this.delegate={iterator:R(L),resultName:k,nextLoc:F},this.method==="next"&&(this.arg=t),y}},e}function $1(t,e,n,r,i,a,o){try{var l=t[a](o),s=l.value}catch(u){n(u);return}l.done?e(s):Promise.resolve(s).then(r,i)}function pl(t){return function(){var e=this,n=arguments;return new Promise(function(r,i){var a=t.apply(e,n);function o(s){$1(a,r,i,o,l,"next",s)}function l(s){$1(a,r,i,o,l,"throw",s)}o(void 0)})}}const z1=(t,e,n)=>n!==void 0?n:`${t}-${e}`,i$=S.createContext(null),a$=t=>{let{children:e}=t;return S.createElement(i$.Provider,{value:null},e)};var _P=S.createContext(null),B1=[];function o$(t,e){var n=S.useState(function(){if(!tn())return null;var w=document.createElement("div");return w}),r=ie(n,1),i=r[0],a=S.useRef(!1),o=S.useContext(_P),l=S.useState(B1),s=ie(l,2),u=s[0],c=s[1],d=o||(a.current?void 0:function(w){c(function(g){var y=[w].concat(ce(g));return y})});function f(){i.parentElement||document.body.appendChild(i),a.current=!0}function p(){var w;(w=i.parentElement)===null||w===void 0||w.removeChild(i),a.current=!1}return oo(function(){return t?o?o(f):f():p(),p},[t]),oo(function(){u.length&&(u.forEach(function(w){return w()}),c(B1))},[u]),[i,d]}var op;function s$(t){if(typeof document>"u")return 0;if(t||op===void 0){var e=document.createElement("div");e.style.width="100%",e.style.height="200px";var n=document.createElement("div"),r=n.style;r.position="absolute",r.top="0",r.left="0",r.pointerEvents="none",r.visibility="hidden",r.width="200px",r.height="150px",r.overflow="hidden",n.appendChild(e),document.body.appendChild(n);var i=e.offsetWidth;n.style.overflow="scroll";var a=e.offsetWidth;i===a&&(a=n.clientWidth),document.body.removeChild(n),op=i-a}return op}function H1(t){var e=t.match(/^(.*)px$/),n=Number(e==null?void 0:e[1]);return Number.isNaN(n)?s$():n}function l$(t){if(typeof document>"u"||!t||!(t instanceof Element))return{width:0,height:0};var e=getComputedStyle(t,"::-webkit-scrollbar"),n=e.width,r=e.height;return{width:H1(n),height:H1(r)}}function u$(){return document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth}var c$="rc-util-locker-".concat(Date.now()),U1=0;function d$(t){var e=!!t,n=S.useState(function(){return U1+=1,"".concat(c$,"_").concat(U1)}),r=ie(n,1),i=r[0];oo(function(){if(e){var a=l$(document.body).width,o=u$();pi(` html body { overflow-y: hidden; `.concat(o?"width: calc(100% - ".concat(a,"px);"):"",` -}`),i)}else Bs(i);return function(){Bs(i)}},[e,i])}var U1=!1;function u$(t){return typeof t=="boolean"&&(U1=t),U1}var W1=function(e){return e===!1?!1:!tn()||!e?null:typeof e=="string"?document.querySelector(e):typeof e=="function"?e():e},c$=S.forwardRef(function(t,e){var n=t.open,r=t.autoLock,i=t.getContainer;t.debug;var a=t.autoDestroy,o=a===void 0?!0:a,l=t.children,s=S.useState(n),u=ie(s,2),c=u[0],d=u[1],f=c||n;S.useEffect(function(){(o||n)&&d(n)},[n,o]);var p=S.useState(function(){return W1(i)}),w=ie(p,2),g=w[0],y=w[1];S.useEffect(function(){var I=W1(i);y(I??null)});var h=r$(f&&!g),v=ie(h,2),m=v[0],b=v[1],E=g??m;l$(r&&n&&tn()&&(E===m||E===document.body));var x=null;if(l&&ST(l)&&e){var C=l;x=C.ref}var T=bT(x,e);if(!f||!tn()||g===void 0)return null;var P=E===!1||u$(),O=l;return e&&(O=S.cloneElement(l,{ref:T})),S.createElement(NP.Provider,{value:b},P?O:tl.createPortal(O,E))}),d$=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(t);itypeof e=="object"&&s!==void 0?s:typeof n=="boolean"||n===void 0||n===null?i:n)(),d=gc(u,!0),f=r?r(c):c;return[!0,Xe.isValidElement(f)?Xe.cloneElement(f,d):Xe.createElement("span",Object.assign({},d),f)]}var _i="RC_FORM_INTERNAL_HOOKS",Oe=function(){en(!1,"Can not find FormContext. Please make sure you wrap Field under Form.")},uo=S.createContext({getFieldValue:Oe,getFieldsValue:Oe,getFieldError:Oe,getFieldWarning:Oe,getFieldsError:Oe,isFieldsTouched:Oe,isFieldTouched:Oe,isFieldValidating:Oe,isFieldsValidating:Oe,resetFields:Oe,setFields:Oe,setFieldValue:Oe,setFieldsValue:Oe,validateFields:Oe,submit:Oe,getInternalHooks:function(){return Oe(),{dispatch:Oe,initEntityValue:Oe,registerField:Oe,useSubscribe:Oe,setInitialValues:Oe,destroyForm:Oe,setCallbacks:Oe,registerWatch:Oe,getFields:Oe,setValidateMessages:Oe,setPreserve:Oe,getInitialValue:Oe}}}),vc=S.createContext(null);function fm(t){return t==null?[]:Array.isArray(t)?t:[t]}function h$(t){return t&&!!t._init}function Vi(){return Vi=Object.assign?Object.assign.bind():function(t){for(var e=1;e"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Lu(t,e,n){return g$()?Lu=Reflect.construct.bind():Lu=function(i,a,o){var l=[null];l.push.apply(l,a);var s=Function.bind.apply(i,l),u=new s;return o&&Gs(u,o.prototype),u},Lu.apply(null,arguments)}function v$(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function hm(t){var e=typeof Map=="function"?new Map:void 0;return hm=function(r){if(r===null||!v$(r))return r;if(typeof r!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e<"u"){if(e.has(r))return e.get(r);e.set(r,i)}function i(){return Lu(r,arguments,pm(this).constructor)}return i.prototype=Object.create(r.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),Gs(i,r)},hm(t)}var y$=/%[sdj%]/g,w$=function(){};function mm(t){if(!t||!t.length)return null;var e={};return t.forEach(function(n){var r=n.field;e[r]=e[r]||[],e[r].push(n)}),e}function hn(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r=a)return l;switch(l){case"%s":return String(n[i++]);case"%d":return Number(n[i++]);case"%j":try{return JSON.stringify(n[i++])}catch{return"[Circular]"}break;default:return l}});return o}return t}function b$(t){return t==="string"||t==="url"||t==="hex"||t==="email"||t==="date"||t==="pattern"}function ct(t,e){return!!(t==null||e==="array"&&Array.isArray(t)&&!t.length||b$(e)&&typeof t=="string"&&!t)}function S$(t,e,n){var r=[],i=0,a=t.length;function o(l){r.push.apply(r,l||[]),i++,i===a&&n(r)}t.forEach(function(l){e(l,o)})}function G1(t,e,n){var r=0,i=t.length;function a(o){if(o&&o.length){n(o);return}var l=r;r=r+1,ltypeof e=="object"&&s!==void 0?s:typeof n=="boolean"||n===void 0||n===null?i:n)(),d=yc(u,!0),f=r?r(c):c;return[!0,Xe.isValidElement(f)?Xe.cloneElement(f,d):Xe.createElement("span",Object.assign({},d),f)]}var _i="RC_FORM_INTERNAL_HOOKS",Oe=function(){en(!1,"Can not find FormContext. Please make sure you wrap Field under Form.")},uo=S.createContext({getFieldValue:Oe,getFieldsValue:Oe,getFieldError:Oe,getFieldWarning:Oe,getFieldsError:Oe,isFieldsTouched:Oe,isFieldTouched:Oe,isFieldValidating:Oe,isFieldsValidating:Oe,resetFields:Oe,setFields:Oe,setFieldValue:Oe,setFieldsValue:Oe,validateFields:Oe,submit:Oe,getInternalHooks:function(){return Oe(),{dispatch:Oe,initEntityValue:Oe,registerField:Oe,useSubscribe:Oe,setInitialValues:Oe,destroyForm:Oe,setCallbacks:Oe,registerWatch:Oe,getFields:Oe,setValidateMessages:Oe,setPreserve:Oe,getInitialValue:Oe}}}),wc=S.createContext(null);function fm(t){return t==null?[]:Array.isArray(t)?t:[t]}function v$(t){return t&&!!t._init}function Vi(){return Vi=Object.assign?Object.assign.bind():function(t){for(var e=1;e"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Iu(t,e,n){return w$()?Iu=Reflect.construct.bind():Iu=function(i,a,o){var l=[null];l.push.apply(l,a);var s=Function.bind.apply(i,l),u=new s;return o&&Gs(u,o.prototype),u},Iu.apply(null,arguments)}function b$(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function hm(t){var e=typeof Map=="function"?new Map:void 0;return hm=function(r){if(r===null||!b$(r))return r;if(typeof r!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e<"u"){if(e.has(r))return e.get(r);e.set(r,i)}function i(){return Iu(r,arguments,pm(this).constructor)}return i.prototype=Object.create(r.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),Gs(i,r)},hm(t)}var S$=/%[sdj%]/g,x$=function(){};function mm(t){if(!t||!t.length)return null;var e={};return t.forEach(function(n){var r=n.field;e[r]=e[r]||[],e[r].push(n)}),e}function hn(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r=a)return l;switch(l){case"%s":return String(n[i++]);case"%d":return Number(n[i++]);case"%j":try{return JSON.stringify(n[i++])}catch{return"[Circular]"}break;default:return l}});return o}return t}function E$(t){return t==="string"||t==="url"||t==="hex"||t==="email"||t==="date"||t==="pattern"}function ct(t,e){return!!(t==null||e==="array"&&Array.isArray(t)&&!t.length||E$(e)&&typeof t=="string"&&!t)}function C$(t,e,n){var r=[],i=0,a=t.length;function o(l){r.push.apply(r,l||[]),i++,i===a&&n(r)}t.forEach(function(l){e(l,o)})}function q1(t,e,n){var r=0,i=t.length;function a(o){if(o&&o.length){n(o);return}var l=r;r=r+1,l()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+\.)+[a-zA-Z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}))$/,hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},qo={integer:function(e){return qo.number(e)&&parseInt(e,10)===e},float:function(e){return qo.number(e)&&!qo.integer(e)},array:function(e){return Array.isArray(e)},regexp:function(e){if(e instanceof RegExp)return!0;try{return!!new RegExp(e)}catch{return!1}},date:function(e){return typeof e.getTime=="function"&&typeof e.getMonth=="function"&&typeof e.getYear=="function"&&!isNaN(e.getTime())},number:function(e){return isNaN(e)?!1:typeof e=="number"},object:function(e){return typeof e=="object"&&!qo.array(e)},method:function(e){return typeof e=="function"},email:function(e){return typeof e=="string"&&e.length<=320&&!!e.match(Y1.email)},url:function(e){return typeof e=="string"&&e.length<=2048&&!!e.match(k$())},hex:function(e){return typeof e=="string"&&!!e.match(Y1.hex)}},M$=function(e,n,r,i,a){if(e.required&&n===void 0){_P(e,n,r,i,a);return}var o=["integer","float","array","regexp","object","method","email","number","date","url","hex"],l=e.type;o.indexOf(l)>-1?qo[l](n)||i.push(hn(a.messages.types[l],e.fullField,e.type)):l&&typeof n!==e.type&&i.push(hn(a.messages.types[l],e.fullField,e.type))},O$=function(e,n,r,i,a){var o=typeof e.len=="number",l=typeof e.min=="number",s=typeof e.max=="number",u=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,c=n,d=null,f=typeof n=="number",p=typeof n=="string",w=Array.isArray(n);if(f?d="number":p?d="string":w&&(d="array"),!d)return!1;w&&(c=n.length),p&&(c=n.replace(u,"_").length),o?c!==e.len&&i.push(hn(a.messages[d].len,e.fullField,e.len)):l&&!s&&ce.max?i.push(hn(a.messages[d].max,e.fullField,e.max)):l&&s&&(ce.max)&&i.push(hn(a.messages[d].range,e.fullField,e.min,e.max))},ha="enum",A$=function(e,n,r,i,a){e[ha]=Array.isArray(e[ha])?e[ha]:[],e[ha].indexOf(n)===-1&&i.push(hn(a.messages[ha],e.fullField,e[ha].join(", ")))},L$=function(e,n,r,i,a){if(e.pattern){if(e.pattern instanceof RegExp)e.pattern.lastIndex=0,e.pattern.test(n)||i.push(hn(a.messages.pattern.mismatch,e.fullField,n,e.pattern));else if(typeof e.pattern=="string"){var o=new RegExp(e.pattern);o.test(n)||i.push(hn(a.messages.pattern.mismatch,e.fullField,n,e.pattern))}}},ve={required:_P,whitespace:P$,type:M$,range:O$,enum:A$,pattern:L$},R$=function(e,n,r,i,a){var o=[],l=e.required||!e.required&&i.hasOwnProperty(e.field);if(l){if(ct(n,"string")&&!e.required)return r();ve.required(e,n,i,o,a,"string"),ct(n,"string")||(ve.type(e,n,i,o,a),ve.range(e,n,i,o,a),ve.pattern(e,n,i,o,a),e.whitespace===!0&&ve.whitespace(e,n,i,o,a))}r(o)},I$=function(e,n,r,i,a){var o=[],l=e.required||!e.required&&i.hasOwnProperty(e.field);if(l){if(ct(n)&&!e.required)return r();ve.required(e,n,i,o,a),n!==void 0&&ve.type(e,n,i,o,a)}r(o)},D$=function(e,n,r,i,a){var o=[],l=e.required||!e.required&&i.hasOwnProperty(e.field);if(l){if(n===""&&(n=void 0),ct(n)&&!e.required)return r();ve.required(e,n,i,o,a),n!==void 0&&(ve.type(e,n,i,o,a),ve.range(e,n,i,o,a))}r(o)},F$=function(e,n,r,i,a){var o=[],l=e.required||!e.required&&i.hasOwnProperty(e.field);if(l){if(ct(n)&&!e.required)return r();ve.required(e,n,i,o,a),n!==void 0&&ve.type(e,n,i,o,a)}r(o)},N$=function(e,n,r,i,a){var o=[],l=e.required||!e.required&&i.hasOwnProperty(e.field);if(l){if(ct(n)&&!e.required)return r();ve.required(e,n,i,o,a),ct(n)||ve.type(e,n,i,o,a)}r(o)},_$=function(e,n,r,i,a){var o=[],l=e.required||!e.required&&i.hasOwnProperty(e.field);if(l){if(ct(n)&&!e.required)return r();ve.required(e,n,i,o,a),n!==void 0&&(ve.type(e,n,i,o,a),ve.range(e,n,i,o,a))}r(o)},V$=function(e,n,r,i,a){var o=[],l=e.required||!e.required&&i.hasOwnProperty(e.field);if(l){if(ct(n)&&!e.required)return r();ve.required(e,n,i,o,a),n!==void 0&&(ve.type(e,n,i,o,a),ve.range(e,n,i,o,a))}r(o)},j$=function(e,n,r,i,a){var o=[],l=e.required||!e.required&&i.hasOwnProperty(e.field);if(l){if(n==null&&!e.required)return r();ve.required(e,n,i,o,a,"array"),n!=null&&(ve.type(e,n,i,o,a),ve.range(e,n,i,o,a))}r(o)},$$=function(e,n,r,i,a){var o=[],l=e.required||!e.required&&i.hasOwnProperty(e.field);if(l){if(ct(n)&&!e.required)return r();ve.required(e,n,i,o,a),n!==void 0&&ve.type(e,n,i,o,a)}r(o)},z$="enum",B$=function(e,n,r,i,a){var o=[],l=e.required||!e.required&&i.hasOwnProperty(e.field);if(l){if(ct(n)&&!e.required)return r();ve.required(e,n,i,o,a),n!==void 0&&ve[z$](e,n,i,o,a)}r(o)},H$=function(e,n,r,i,a){var o=[],l=e.required||!e.required&&i.hasOwnProperty(e.field);if(l){if(ct(n,"string")&&!e.required)return r();ve.required(e,n,i,o,a),ct(n,"string")||ve.pattern(e,n,i,o,a)}r(o)},U$=function(e,n,r,i,a){var o=[],l=e.required||!e.required&&i.hasOwnProperty(e.field);if(l){if(ct(n,"date")&&!e.required)return r();if(ve.required(e,n,i,o,a),!ct(n,"date")){var s;n instanceof Date?s=n:s=new Date(n),ve.type(e,s,i,o,a),s&&ve.range(e,s.getTime(),i,o,a)}}r(o)},W$=function(e,n,r,i,a){var o=[],l=Array.isArray(n)?"array":typeof n;ve.required(e,n,i,o,a,l),r(o)},sp=function(e,n,r,i,a){var o=e.type,l=[],s=e.required||!e.required&&i.hasOwnProperty(e.field);if(s){if(ct(n,o)&&!e.required)return r();ve.required(e,n,i,l,a,o),ct(n,o)||ve.type(e,n,i,l,a)}r(l)},G$=function(e,n,r,i,a){var o=[],l=e.required||!e.required&&i.hasOwnProperty(e.field);if(l){if(ct(n)&&!e.required)return r();ve.required(e,n,i,o,a)}r(o)},ys={string:R$,method:I$,number:D$,boolean:F$,regexp:N$,integer:_$,float:V$,array:j$,object:$$,enum:B$,pattern:H$,date:U$,url:sp,hex:sp,email:sp,required:W$,any:G$};function gm(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var e=JSON.parse(JSON.stringify(this));return e.clone=this.clone,e}}}var vm=gm(),hl=function(){function t(n){this.rules=null,this._messages=vm,this.define(n)}var e=t.prototype;return e.define=function(r){var i=this;if(!r)throw new Error("Cannot configure a schema with no rules");if(typeof r!="object"||Array.isArray(r))throw new Error("Rules must be an object");this.rules={},Object.keys(r).forEach(function(a){var o=r[a];i.rules[a]=Array.isArray(o)?o:[o]})},e.messages=function(r){return r&&(this._messages=K1(gm(),r)),this._messages},e.validate=function(r,i,a){var o=this;i===void 0&&(i={}),a===void 0&&(a=function(){});var l=r,s=i,u=a;if(typeof s=="function"&&(u=s,s={}),!this.rules||Object.keys(this.rules).length===0)return u&&u(null,l),Promise.resolve(l);function c(g){var y=[],h={};function v(b){if(Array.isArray(b)){var E;y=(E=y).concat.apply(E,b)}else y.push(b)}for(var m=0;m2&&arguments[2]!==void 0?arguments[2]:!1;return t&&t.some(function(r){return jP(e,r,n)})}function jP(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return!t||!e||!n&&t.length!==e.length?!1:e.every(function(r,i){return t[i]===r})}function Q$(t,e){if(t===e)return!0;if(!t&&e||t&&!e||!t||!e||Ae(t)!=="object"||Ae(e)!=="object")return!1;var n=Object.keys(t),r=Object.keys(e),i=new Set([].concat(n,r));return ce(i).every(function(a){var o=t[a],l=e[a];return typeof o=="function"&&typeof l=="function"?!0:o===l})}function Z$(t){var e=arguments.length<=1?void 0:arguments[1];return e&&e.target&&Ae(e.target)==="object"&&t in e.target?e.target[t]:e}function eb(t,e,n){var r=t.length;if(e<0||e>=r||n<0||n>=r)return t;var i=t[e],a=e-n;return a>0?[].concat(ce(t.slice(0,n)),[i],ce(t.slice(n,e)),ce(t.slice(e+1,r))):a<0?[].concat(ce(t.slice(0,e)),ce(t.slice(e+1,n+1)),[i],ce(t.slice(n+1,r))):t}var J$=["name"],Tn=[];function tb(t,e,n,r,i,a){return typeof t=="function"?t(e,n,"source"in a?{source:a.source}:{}):r!==i}var Rv=function(t){vo(n,t);var e=dd(n);function n(r){var i;if(Nn(this,n),i=e.call(this,r),U(be(i),"state",{resetCount:0}),U(be(i),"cancelRegisterFunc",null),U(be(i),"mounted",!1),U(be(i),"touched",!1),U(be(i),"dirty",!1),U(be(i),"validatePromise",void 0),U(be(i),"prevValidating",void 0),U(be(i),"errors",Tn),U(be(i),"warnings",Tn),U(be(i),"cancelRegister",function(){var s=i.props,u=s.preserve,c=s.isListField,d=s.name;i.cancelRegisterFunc&&i.cancelRegisterFunc(c,u,et(d)),i.cancelRegisterFunc=null}),U(be(i),"getNamePath",function(){var s=i.props,u=s.name,c=s.fieldContext,d=c.prefixName,f=d===void 0?[]:d;return u!==void 0?[].concat(ce(f),ce(u)):[]}),U(be(i),"getRules",function(){var s=i.props,u=s.rules,c=u===void 0?[]:u,d=s.fieldContext;return c.map(function(f){return typeof f=="function"?f(d):f})}),U(be(i),"refresh",function(){i.mounted&&i.setState(function(s){var u=s.resetCount;return{resetCount:u+1}})}),U(be(i),"metaCache",null),U(be(i),"triggerMetaEvent",function(s){var u=i.props.onMetaChange;if(u){var c=H(H({},i.getMeta()),{},{destroy:s});RT(i.metaCache,c)||u(c),i.metaCache=c}else i.metaCache=null}),U(be(i),"onStoreChange",function(s,u,c){var d=i.props,f=d.shouldUpdate,p=d.dependencies,w=p===void 0?[]:p,g=d.onReset,y=c.store,h=i.getNamePath(),v=i.getValue(s),m=i.getValue(y),b=u&&Ga(u,h);switch(c.type==="valueUpdate"&&c.source==="external"&&v!==m&&(i.touched=!0,i.dirty=!0,i.validatePromise=null,i.errors=Tn,i.warnings=Tn,i.triggerMetaEvent()),c.type){case"reset":if(!u||b){i.touched=!1,i.dirty=!1,i.validatePromise=void 0,i.errors=Tn,i.warnings=Tn,i.triggerMetaEvent(),g==null||g(),i.refresh();return}break;case"remove":{if(f){i.reRender();return}break}case"setField":{var E=c.data;if(b){"touched"in E&&(i.touched=E.touched),"validating"in E&&!("originRCField"in E)&&(i.validatePromise=E.validating?Promise.resolve([]):null),"errors"in E&&(i.errors=E.errors||Tn),"warnings"in E&&(i.warnings=E.warnings||Tn),i.dirty=!0,i.triggerMetaEvent(),i.reRender();return}else if("value"in E&&Ga(u,h,!0)){i.reRender();return}if(f&&!h.length&&tb(f,s,y,v,m,c)){i.reRender();return}break}case"dependenciesUpdate":{var x=w.map(et);if(x.some(function(C){return Ga(c.relatedFields,C)})){i.reRender();return}break}default:if(b||(!w.length||h.length||f)&&tb(f,s,y,v,m,c)){i.reRender();return}break}f===!0&&i.reRender()}),U(be(i),"validateRules",function(s){var u=i.getNamePath(),c=i.getValue(),d=s||{},f=d.triggerName,p=d.validateOnly,w=p===void 0?!1:p,g=Promise.resolve().then(pl(Jn().mark(function y(){var h,v,m,b,E,x,C;return Jn().wrap(function(P){for(;;)switch(P.prev=P.next){case 0:if(i.mounted){P.next=2;break}return P.abrupt("return",[]);case 2:if(h=i.props,v=h.validateFirst,m=v===void 0?!1:v,b=h.messageVariables,E=h.validateDebounce,x=i.getRules(),f&&(x=x.filter(function(O){return O}).filter(function(O){var I=O.validateTrigger;if(!I)return!0;var N=fm(I);return N.includes(f)})),!(E&&f)){P.next=10;break}return P.next=8,new Promise(function(O){setTimeout(O,E)});case 8:if(i.validatePromise===g){P.next=10;break}return P.abrupt("return",[]);case 10:return C=X$(u,c,x,s,m,b),C.catch(function(O){return O}).then(function(){var O=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Tn;if(i.validatePromise===g){var I;i.validatePromise=null;var N=[],A=[];(I=O.forEach)===null||I===void 0||I.call(O,function(M){var R=M.rule.warningOnly,D=M.errors,L=D===void 0?Tn:D;R?A.push.apply(A,ce(L)):N.push.apply(N,ce(L))}),i.errors=N,i.warnings=A,i.triggerMetaEvent(),i.reRender()}}),P.abrupt("return",C);case 13:case"end":return P.stop()}},y)})));return w||(i.validatePromise=g,i.dirty=!0,i.errors=Tn,i.warnings=Tn,i.triggerMetaEvent(),i.reRender()),g}),U(be(i),"isFieldValidating",function(){return!!i.validatePromise}),U(be(i),"isFieldTouched",function(){return i.touched}),U(be(i),"isFieldDirty",function(){if(i.dirty||i.props.initialValue!==void 0)return!0;var s=i.props.fieldContext,u=s.getInternalHooks(_i),c=u.getInitialValue;return c(i.getNamePath())!==void 0}),U(be(i),"getErrors",function(){return i.errors}),U(be(i),"getWarnings",function(){return i.warnings}),U(be(i),"isListField",function(){return i.props.isListField}),U(be(i),"isList",function(){return i.props.isList}),U(be(i),"isPreserve",function(){return i.props.preserve}),U(be(i),"getMeta",function(){i.prevValidating=i.isFieldValidating();var s={touched:i.isFieldTouched(),validating:i.prevValidating,errors:i.errors,warnings:i.warnings,name:i.getNamePath(),validated:i.validatePromise===null};return s}),U(be(i),"getOnlyChild",function(s){if(typeof s=="function"){var u=i.getMeta();return H(H({},i.getOnlyChild(s(i.getControlled(),u,i.props.fieldContext))),{},{isFunction:!0})}var c=$h(s);return c.length!==1||!S.isValidElement(c[0])?{child:c,isFunction:!1}:{child:c[0],isFunction:!1}}),U(be(i),"getValue",function(s){var u=i.props.fieldContext.getFieldsValue,c=i.getNamePath();return sr(s||u(!0),c)}),U(be(i),"getControlled",function(){var s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},u=i.props,c=u.trigger,d=u.validateTrigger,f=u.getValueFromEvent,p=u.normalize,w=u.valuePropName,g=u.getValueProps,y=u.fieldContext,h=d!==void 0?d:y.validateTrigger,v=i.getNamePath(),m=y.getInternalHooks,b=y.getFieldsValue,E=m(_i),x=E.dispatch,C=i.getValue(),T=g||function(A){return U({},w,A)},P=s[c],O=T(C),I=H(H({},s),O);I[c]=function(){i.touched=!0,i.dirty=!0,i.triggerMetaEvent();for(var A,M=arguments.length,R=new Array(M),D=0;D=0&&O<=I.length?(c.keys=[].concat(ce(c.keys.slice(0,O)),[c.id],ce(c.keys.slice(O))),m([].concat(ce(I.slice(0,O)),[P],ce(I.slice(O))))):(c.keys=[].concat(ce(c.keys),[c.id]),m([].concat(ce(I),[P]))),c.id+=1},remove:function(P){var O=E(),I=new Set(Array.isArray(P)?P:[P]);I.size<=0||(c.keys=c.keys.filter(function(N,A){return!I.has(A)}),m(O.filter(function(N,A){return!I.has(A)})))},move:function(P,O){if(P!==O){var I=E();P<0||P>=I.length||O<0||O>=I.length||(c.keys=eb(c.keys,P,O),m(eb(I,P,O)))}}},C=v||[];return Array.isArray(C)||(C=[]),r(C.map(function(T,P){var O=c.keys[P];return O===void 0&&(c.keys[P]=c.id,O=c.keys[P],c.id+=1),{name:P,key:O,isListField:!0}}),x,y)})))}function tz(t){var e=!1,n=t.length,r=[];return t.length?new Promise(function(i,a){t.forEach(function(o,l){o.catch(function(s){return e=!0,s}).then(function(s){n-=1,r[l]=s,!(n>0)&&(e&&a(r),i(r))})})}):Promise.resolve([])}var zP="__@field_split__";function lp(t){return t.map(function(e){return"".concat(Ae(e),":").concat(e)}).join(zP)}var ma=function(){function t(){Nn(this,t),U(this,"kvs",new Map)}return _n(t,[{key:"set",value:function(n,r){this.kvs.set(lp(n),r)}},{key:"get",value:function(n){return this.kvs.get(lp(n))}},{key:"update",value:function(n,r){var i=this.get(n),a=r(i);a?this.set(n,a):this.delete(n)}},{key:"delete",value:function(n){this.kvs.delete(lp(n))}},{key:"map",value:function(n){return ce(this.kvs.entries()).map(function(r){var i=ie(r,2),a=i[0],o=i[1],l=a.split(zP);return n({key:l.map(function(s){var u=s.match(/^([^:]*):(.*)$/),c=ie(u,3),d=c[1],f=c[2];return d==="number"?Number(f):f}),value:o})})}},{key:"toJSON",value:function(){var n={};return this.map(function(r){var i=r.key,a=r.value;return n[i.join(".")]=a,null}),n}}]),t}(),nz=["name"],rz=_n(function t(e){var n=this;Nn(this,t),U(this,"formHooked",!1),U(this,"forceRootUpdate",void 0),U(this,"subscribable",!0),U(this,"store",{}),U(this,"fieldEntities",[]),U(this,"initialValues",{}),U(this,"callbacks",{}),U(this,"validateMessages",null),U(this,"preserve",null),U(this,"lastValidatePromise",null),U(this,"getForm",function(){return{getFieldValue:n.getFieldValue,getFieldsValue:n.getFieldsValue,getFieldError:n.getFieldError,getFieldWarning:n.getFieldWarning,getFieldsError:n.getFieldsError,isFieldsTouched:n.isFieldsTouched,isFieldTouched:n.isFieldTouched,isFieldValidating:n.isFieldValidating,isFieldsValidating:n.isFieldsValidating,resetFields:n.resetFields,setFields:n.setFields,setFieldValue:n.setFieldValue,setFieldsValue:n.setFieldsValue,validateFields:n.validateFields,submit:n.submit,_init:!0,getInternalHooks:n.getInternalHooks}}),U(this,"getInternalHooks",function(r){return r===_i?(n.formHooked=!0,{dispatch:n.dispatch,initEntityValue:n.initEntityValue,registerField:n.registerField,useSubscribe:n.useSubscribe,setInitialValues:n.setInitialValues,destroyForm:n.destroyForm,setCallbacks:n.setCallbacks,setValidateMessages:n.setValidateMessages,getFields:n.getFields,setPreserve:n.setPreserve,getInitialValue:n.getInitialValue,registerWatch:n.registerWatch}):(en(!1,"`getInternalHooks` is internal usage. Should not call directly."),null)}),U(this,"useSubscribe",function(r){n.subscribable=r}),U(this,"prevWithoutPreserves",null),U(this,"setInitialValues",function(r,i){if(n.initialValues=r||{},i){var a,o=Fa(r,n.store);(a=n.prevWithoutPreserves)===null||a===void 0||a.map(function(l){var s=l.key;o=Un(o,s,sr(r,s))}),n.prevWithoutPreserves=null,n.updateStore(o)}}),U(this,"destroyForm",function(){var r=new ma;n.getFieldEntities(!0).forEach(function(i){n.isMergedPreserve(i.isPreserve())||r.set(i.getNamePath(),!0)}),n.prevWithoutPreserves=r}),U(this,"getInitialValue",function(r){var i=sr(n.initialValues,r);return r.length?Fa(i):i}),U(this,"setCallbacks",function(r){n.callbacks=r}),U(this,"setValidateMessages",function(r){n.validateMessages=r}),U(this,"setPreserve",function(r){n.preserve=r}),U(this,"watchList",[]),U(this,"registerWatch",function(r){return n.watchList.push(r),function(){n.watchList=n.watchList.filter(function(i){return i!==r})}}),U(this,"notifyWatch",function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];if(n.watchList.length){var i=n.getFieldsValue(),a=n.getFieldsValue(!0);n.watchList.forEach(function(o){o(i,a,r)})}}),U(this,"timeoutId",null),U(this,"warningUnhooked",function(){}),U(this,"updateStore",function(r){n.store=r}),U(this,"getFieldEntities",function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;return r?n.fieldEntities.filter(function(i){return i.getNamePath().length}):n.fieldEntities}),U(this,"getFieldsMap",function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,i=new ma;return n.getFieldEntities(r).forEach(function(a){var o=a.getNamePath();i.set(o,a)}),i}),U(this,"getFieldEntitiesForNamePathList",function(r){if(!r)return n.getFieldEntities(!0);var i=n.getFieldsMap(!0);return r.map(function(a){var o=et(a);return i.get(o)||{INVALIDATE_NAME_PATH:et(a)}})}),U(this,"getFieldsValue",function(r,i){n.warningUnhooked();var a,o,l;if(r===!0||Array.isArray(r)?(a=r,o=i):r&&Ae(r)==="object"&&(l=r.strict,o=r.filter),a===!0&&!o)return n.store;var s=n.getFieldEntitiesForNamePathList(Array.isArray(a)?a:null),u=[];return s.forEach(function(c){var d,f,p="INVALIDATE_NAME_PATH"in c?c.INVALIDATE_NAME_PATH:c.getNamePath();if(l){var w,g;if((w=(g=c).isList)!==null&&w!==void 0&&w.call(g))return}else if(!a&&(d=(f=c).isListField)!==null&&d!==void 0&&d.call(f))return;if(!o)u.push(p);else{var y="getMeta"in c?c.getMeta():null;o(y)&&u.push(p)}}),J1(n.store,u.map(et))}),U(this,"getFieldValue",function(r){n.warningUnhooked();var i=et(r);return sr(n.store,i)}),U(this,"getFieldsError",function(r){n.warningUnhooked();var i=n.getFieldEntitiesForNamePathList(r);return i.map(function(a,o){return a&&!("INVALIDATE_NAME_PATH"in a)?{name:a.getNamePath(),errors:a.getErrors(),warnings:a.getWarnings()}:{name:et(r[o]),errors:[],warnings:[]}})}),U(this,"getFieldError",function(r){n.warningUnhooked();var i=et(r),a=n.getFieldsError([i])[0];return a.errors}),U(this,"getFieldWarning",function(r){n.warningUnhooked();var i=et(r),a=n.getFieldsError([i])[0];return a.warnings}),U(this,"isFieldsTouched",function(){n.warningUnhooked();for(var r=arguments.length,i=new Array(r),a=0;a0&&arguments[0]!==void 0?arguments[0]:{},i=new ma,a=n.getFieldEntities(!0);a.forEach(function(s){var u=s.props.initialValue,c=s.getNamePath();if(u!==void 0){var d=i.get(c)||new Set;d.add({entity:s,value:u}),i.set(c,d)}});var o=function(u){u.forEach(function(c){var d=c.props.initialValue;if(d!==void 0){var f=c.getNamePath(),p=n.getInitialValue(f);if(p!==void 0)en(!1,"Form already set 'initialValues' with path '".concat(f.join("."),"'. Field can not overwrite it."));else{var w=i.get(f);if(w&&w.size>1)en(!1,"Multiple Field with path '".concat(f.join("."),"' set 'initialValue'. Can not decide which one to pick."));else if(w){var g=n.getFieldValue(f),y=c.isListField();!y&&(!r.skipExist||g===void 0)&&n.updateStore(Un(n.store,f,ce(w)[0].value))}}}})},l;r.entities?l=r.entities:r.namePathList?(l=[],r.namePathList.forEach(function(s){var u=i.get(s);if(u){var c;(c=l).push.apply(c,ce(ce(u).map(function(d){return d.entity})))}})):l=a,o(l)}),U(this,"resetFields",function(r){n.warningUnhooked();var i=n.store;if(!r){n.updateStore(Fa(n.initialValues)),n.resetWithFieldInitialValue(),n.notifyObservers(i,null,{type:"reset"}),n.notifyWatch();return}var a=r.map(et);a.forEach(function(o){var l=n.getInitialValue(o);n.updateStore(Un(n.store,o,l))}),n.resetWithFieldInitialValue({namePathList:a}),n.notifyObservers(i,a,{type:"reset"}),n.notifyWatch(a)}),U(this,"setFields",function(r){n.warningUnhooked();var i=n.store,a=[];r.forEach(function(o){var l=o.name,s=gt(o,nz),u=et(l);a.push(u),"value"in s&&n.updateStore(Un(n.store,u,s.value)),n.notifyObservers(i,[u],{type:"setField",data:o})}),n.notifyWatch(a)}),U(this,"getFields",function(){var r=n.getFieldEntities(!0),i=r.map(function(a){var o=a.getNamePath(),l=a.getMeta(),s=H(H({},l),{},{name:o,value:n.getFieldValue(o)});return Object.defineProperty(s,"originRCField",{value:!0}),s});return i}),U(this,"initEntityValue",function(r){var i=r.props.initialValue;if(i!==void 0){var a=r.getNamePath(),o=sr(n.store,a);o===void 0&&n.updateStore(Un(n.store,a,i))}}),U(this,"isMergedPreserve",function(r){var i=r!==void 0?r:n.preserve;return i??!0}),U(this,"registerField",function(r){n.fieldEntities.push(r);var i=r.getNamePath();if(n.notifyWatch([i]),r.props.initialValue!==void 0){var a=n.store;n.resetWithFieldInitialValue({entities:[r],skipExist:!0}),n.notifyObservers(a,[r.getNamePath()],{type:"valueUpdate",source:"internal"})}return function(o,l){var s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];if(n.fieldEntities=n.fieldEntities.filter(function(d){return d!==r}),!n.isMergedPreserve(l)&&(!o||s.length>1)){var u=o?void 0:n.getInitialValue(i);if(i.length&&n.getFieldValue(i)!==u&&n.fieldEntities.every(function(d){return!jP(d.getNamePath(),i)})){var c=n.store;n.updateStore(Un(c,i,u,!0)),n.notifyObservers(c,[i],{type:"remove"}),n.triggerDependenciesUpdate(c,i)}}n.notifyWatch([i])}}),U(this,"dispatch",function(r){switch(r.type){case"updateValue":{var i=r.namePath,a=r.value;n.updateValue(i,a);break}case"validateField":{var o=r.namePath,l=r.triggerName;n.validateFields([o],{triggerName:l});break}}}),U(this,"notifyObservers",function(r,i,a){if(n.subscribable){var o=H(H({},a),{},{store:n.getFieldsValue(!0)});n.getFieldEntities().forEach(function(l){var s=l.onStoreChange;s(r,i,o)})}else n.forceRootUpdate()}),U(this,"triggerDependenciesUpdate",function(r,i){var a=n.getDependencyChildrenFields(i);return a.length&&n.validateFields(a),n.notifyObservers(r,a,{type:"dependenciesUpdate",relatedFields:[i].concat(ce(a))}),a}),U(this,"updateValue",function(r,i){var a=et(r),o=n.store;n.updateStore(Un(n.store,a,i)),n.notifyObservers(o,[a],{type:"valueUpdate",source:"internal"}),n.notifyWatch([a]);var l=n.triggerDependenciesUpdate(o,a),s=n.callbacks.onValuesChange;if(s){var u=J1(n.store,[a]);s(u,n.getFieldsValue())}n.triggerOnFieldsChange([a].concat(ce(l)))}),U(this,"setFieldsValue",function(r){n.warningUnhooked();var i=n.store;if(r){var a=Fa(n.store,r);n.updateStore(a)}n.notifyObservers(i,null,{type:"valueUpdate",source:"external"}),n.notifyWatch()}),U(this,"setFieldValue",function(r,i){n.setFields([{name:r,value:i}])}),U(this,"getDependencyChildrenFields",function(r){var i=new Set,a=[],o=new ma;n.getFieldEntities().forEach(function(s){var u=s.props.dependencies;(u||[]).forEach(function(c){var d=et(c);o.update(d,function(){var f=arguments.length>0&&arguments[0]!==void 0?arguments[0]:new Set;return f.add(s),f})})});var l=function s(u){var c=o.get(u)||new Set;c.forEach(function(d){if(!i.has(d)){i.add(d);var f=d.getNamePath();d.isFieldDirty()&&f.length&&(a.push(f),s(f))}})};return l(r),a}),U(this,"triggerOnFieldsChange",function(r,i){var a=n.callbacks.onFieldsChange;if(a){var o=n.getFields();if(i){var l=new ma;i.forEach(function(u){var c=u.name,d=u.errors;l.set(c,d)}),o.forEach(function(u){u.errors=l.get(u.name)||u.errors})}var s=o.filter(function(u){var c=u.name;return Ga(r,c)});s.length&&a(s,o)}}),U(this,"validateFields",function(r,i){n.warningUnhooked();var a,o;Array.isArray(r)||typeof r=="string"||typeof i=="string"?(a=r,o=i):o=r;var l=!!a,s=l?a.map(et):[],u=[],c=String(Date.now()),d=new Set,f=o||{},p=f.recursive,w=f.dirty;n.getFieldEntities(!0).forEach(function(v){if(l||s.push(v.getNamePath()),!(!v.props.rules||!v.props.rules.length)&&!(w&&!v.isFieldDirty())){var m=v.getNamePath();if(d.add(m.join(c)),!l||Ga(s,m,p)){var b=v.validateRules(H({validateMessages:H(H({},VP),n.validateMessages)},o));u.push(b.then(function(){return{name:m,errors:[],warnings:[]}}).catch(function(E){var x,C=[],T=[];return(x=E.forEach)===null||x===void 0||x.call(E,function(P){var O=P.rule.warningOnly,I=P.errors;O?T.push.apply(T,ce(I)):C.push.apply(C,ce(I))}),C.length?Promise.reject({name:m,errors:C,warnings:T}):{name:m,errors:C,warnings:T}}))}}});var g=tz(u);n.lastValidatePromise=g,g.catch(function(v){return v}).then(function(v){var m=v.map(function(b){var E=b.name;return E});n.notifyObservers(n.store,m,{type:"validateFinish"}),n.triggerOnFieldsChange(m,v)});var y=g.then(function(){return n.lastValidatePromise===g?Promise.resolve(n.getFieldsValue(s)):Promise.reject([])}).catch(function(v){var m=v.filter(function(b){return b&&b.errors.length});return Promise.reject({values:n.getFieldsValue(s),errorFields:m,outOfDate:n.lastValidatePromise!==g})});y.catch(function(v){return v});var h=s.filter(function(v){return d.has(v.join(c))});return n.triggerOnFieldsChange(h),y}),U(this,"submit",function(){n.warningUnhooked(),n.validateFields().then(function(r){var i=n.callbacks.onFinish;if(i)try{i(r)}catch(a){console.error(a)}}).catch(function(r){var i=n.callbacks.onFinishFailed;i&&i(r)})}),this.forceRootUpdate=e});function BP(t){var e=S.useRef(),n=S.useState({}),r=ie(n,2),i=r[1];if(!e.current)if(t)e.current=t;else{var a=function(){i({})},o=new rz(a);e.current=o.getForm()}return[e.current]}var xm=S.createContext({triggerFormChange:function(){},triggerFormFinish:function(){},registerForm:function(){},unregisterForm:function(){}}),iz=function(e){var n=e.validateMessages,r=e.onFormChange,i=e.onFormFinish,a=e.children,o=S.useContext(xm),l=S.useRef({});return S.createElement(xm.Provider,{value:H(H({},o),{},{validateMessages:H(H({},o.validateMessages),n),triggerFormChange:function(u,c){r&&r(u,{changedFields:c,forms:l.current}),o.triggerFormChange(u,c)},triggerFormFinish:function(u,c){i&&i(u,{values:c,forms:l.current}),o.triggerFormFinish(u,c)},registerForm:function(u,c){u&&(l.current=H(H({},l.current),{},U({},u,c))),o.registerForm(u,c)},unregisterForm:function(u){var c=H({},l.current);delete c[u],l.current=c,o.unregisterForm(u)}})},a)},az=["name","initialValues","fields","form","preserve","children","component","validateMessages","validateTrigger","onValuesChange","onFieldsChange","onFinish","onFinishFailed"],oz=function(e,n){var r=e.name,i=e.initialValues,a=e.fields,o=e.form,l=e.preserve,s=e.children,u=e.component,c=u===void 0?"form":u,d=e.validateMessages,f=e.validateTrigger,p=f===void 0?"onChange":f,w=e.onValuesChange,g=e.onFieldsChange,y=e.onFinish,h=e.onFinishFailed,v=gt(e,az),m=S.useContext(xm),b=BP(o),E=ie(b,1),x=E[0],C=x.getInternalHooks(_i),T=C.useSubscribe,P=C.setInitialValues,O=C.setCallbacks,I=C.setValidateMessages,N=C.setPreserve,A=C.destroyForm;S.useImperativeHandle(n,function(){return x}),S.useEffect(function(){return m.registerForm(r,x),function(){m.unregisterForm(r)}},[m,x,r]),I(H(H({},m.validateMessages),d)),O({onValuesChange:w,onFieldsChange:function(G){if(m.triggerFormChange(r,G),g){for(var q=arguments.length,K=new Array(q>1?q-1:0),ne=1;ne{let{children:e,status:n,override:r}=t;const i=S.useContext(rb),a=S.useMemo(()=>{const o=Object.assign({},i);return r&&delete o.isFormItemInput,n&&(delete o.status,delete o.hasFeedback,delete o.feedbackIcon),o},[n,r,i]);return S.createElement(rb.Provider,{value:a},e)};function ib(){}const cz=S.createContext({add:ib,remove:ib});function dz(t){const e=S.useContext(cz),n=S.useRef();return L3(i=>{if(i){const a=t?i.querySelector(t):i;e.add(a),n.current=a}else e.remove(n.current)})}var ab=S.createContext(null),HP=S.createContext({}),fz=["prefixCls","className","containerRef"],pz=function(e){var n=e.prefixCls,r=e.className,i=e.containerRef,a=gt(e,fz),o=S.useContext(HP),l=o.panel,s=bT(l,i);return S.createElement("div",J({className:zt("".concat(n,"-content"),r),role:"dialog",ref:s},gc(e,{aria:!0}),{"aria-modal":"true"},a))};function ob(t){return typeof t=="string"&&String(Number(t))===t?(en(!1,"Invalid value type of `width` or `height` which should be number type instead."),Number(t)):t}var sb={width:0,height:0,overflow:"hidden",outline:"none",position:"absolute"};function hz(t,e){var n,r,i,a=t.prefixCls,o=t.open,l=t.placement,s=t.inline,u=t.push,c=t.forceRender,d=t.autoFocus,f=t.keyboard,p=t.classNames,w=t.rootClassName,g=t.rootStyle,y=t.zIndex,h=t.className,v=t.id,m=t.style,b=t.motion,E=t.width,x=t.height,C=t.children,T=t.mask,P=t.maskClosable,O=t.maskMotion,I=t.maskClassName,N=t.maskStyle,A=t.afterOpenChange,M=t.onClose,R=t.onMouseEnter,D=t.onMouseOver,L=t.onMouseLeave,k=t.onClick,F=t.onKeyDown,j=t.onKeyUp,B=t.styles,G=S.useRef(),q=S.useRef(),K=S.useRef();S.useImperativeHandle(e,function(){return G.current});var ne=function(he){var Ue=he.keyCode,dt=he.shiftKey;switch(Ue){case le.TAB:{if(Ue===le.TAB){if(!dt&&document.activeElement===K.current){var qt;(qt=q.current)===null||qt===void 0||qt.focus({preventScroll:!0})}else if(dt&&document.activeElement===q.current){var Vn;(Vn=K.current)===null||Vn===void 0||Vn.focus({preventScroll:!0})}}break}case le.ESC:{M&&f&&(he.stopPropagation(),M(he));break}}};S.useEffect(function(){if(o&&d){var fe;(fe=G.current)===null||fe===void 0||fe.focus({preventScroll:!0})}},[o]);var oe=S.useState(!1),de=ie(oe,2),Qe=de[0],rt=de[1],xe=S.useContext(ab),we;typeof u=="boolean"?we=u?{}:{distance:0}:we=u||{};var De=(n=(r=(i=we)===null||i===void 0?void 0:i.distance)!==null&&r!==void 0?r:xe==null?void 0:xe.pushDistance)!==null&&n!==void 0?n:180,Ot=S.useMemo(function(){return{pushDistance:De,push:function(){rt(!0)},pull:function(){rt(!1)}}},[De]);S.useEffect(function(){if(o){var fe;xe==null||(fe=xe.push)===null||fe===void 0||fe.call(xe)}else{var he;xe==null||(he=xe.pull)===null||he===void 0||he.call(xe)}},[o]),S.useEffect(function(){return function(){var fe;xe==null||(fe=xe.pull)===null||fe===void 0||fe.call(xe)}},[]);var Gt=T&&S.createElement(om,J({key:"mask"},O,{visible:o}),function(fe,he){var Ue=fe.className,dt=fe.style;return S.createElement("div",{className:zt("".concat(a,"-mask"),Ue,p==null?void 0:p.mask,I),style:H(H(H({},dt),N),B==null?void 0:B.mask),onClick:P&&o?M:void 0,ref:he})}),Fe=typeof b=="function"?b(l):b,yt={};if(Qe&&De)switch(l){case"top":yt.transform="translateY(".concat(De,"px)");break;case"bottom":yt.transform="translateY(".concat(-De,"px)");break;case"left":yt.transform="translateX(".concat(De,"px)");break;default:yt.transform="translateX(".concat(-De,"px)");break}l==="left"||l==="right"?yt.width=ob(E):yt.height=ob(x);var rn={onMouseEnter:R,onMouseOver:D,onMouseLeave:L,onClick:k,onKeyDown:F,onKeyUp:j},Vt=S.createElement(om,J({key:"panel"},Fe,{visible:o,forceRender:c,onVisibleChanged:function(he){A==null||A(he)},removeOnLeave:!1,leavedClassName:"".concat(a,"-content-wrapper-hidden")}),function(fe,he){var Ue=fe.className,dt=fe.style;return S.createElement("div",J({className:zt("".concat(a,"-content-wrapper"),p==null?void 0:p.wrapper,Ue),style:H(H(H({},yt),dt),B==null?void 0:B.wrapper)},gc(t,{data:!0})),S.createElement(pz,J({id:v,containerRef:he,prefixCls:a,className:zt(h,p==null?void 0:p.content),style:H(H({},m),B==null?void 0:B.content)},gc(t,{aria:!0}),rn),C))}),Le=H({},g);return y&&(Le.zIndex=y),S.createElement(ab.Provider,{value:Ot},S.createElement("div",{className:zt(a,"".concat(a,"-").concat(l),w,U(U({},"".concat(a,"-open"),o),"".concat(a,"-inline"),s)),style:Le,tabIndex:-1,ref:G,onKeyDown:ne},Gt,S.createElement("div",{tabIndex:0,ref:q,style:sb,"aria-hidden":"true","data-sentinel":"start"}),Vt,S.createElement("div",{tabIndex:0,ref:K,style:sb,"aria-hidden":"true","data-sentinel":"end"})))}var mz=S.forwardRef(hz),gz=function(e){var n=e.open,r=n===void 0?!1:n,i=e.prefixCls,a=i===void 0?"rc-drawer":i,o=e.placement,l=o===void 0?"right":o,s=e.autoFocus,u=s===void 0?!0:s,c=e.keyboard,d=c===void 0?!0:c,f=e.width,p=f===void 0?378:f,w=e.mask,g=w===void 0?!0:w,y=e.maskClosable,h=y===void 0?!0:y,v=e.getContainer,m=e.forceRender,b=e.afterOpenChange,E=e.destroyOnClose,x=e.onMouseEnter,C=e.onMouseOver,T=e.onMouseLeave,P=e.onClick,O=e.onKeyDown,I=e.onKeyUp,N=e.panelRef,A=S.useState(!1),M=ie(A,2),R=M[0],D=M[1],L=S.useState(!1),k=ie(L,2),F=k[0],j=k[1];oo(function(){j(!0)},[]);var B=F?r:!1,G=S.useRef(),q=S.useRef();oo(function(){B&&(q.current=document.activeElement)},[B]);var K=function(rt){var xe;if(D(rt),b==null||b(rt),!rt&&q.current&&!((xe=G.current)!==null&&xe!==void 0&&xe.contains(q.current))){var we;(we=q.current)===null||we===void 0||we.focus({preventScroll:!0})}},ne=S.useMemo(function(){return{panel:N}},[N]);if(!m&&!R&&!B&&E)return null;var oe={onMouseEnter:x,onMouseOver:C,onMouseLeave:T,onClick:P,onKeyDown:O,onKeyUp:I},de=H(H({},e),{},{open:B,prefixCls:a,placement:l,autoFocus:u,keyboard:d,width:p,mask:g,maskClosable:h,inline:v===!1,afterOpenChange:K,ref:G},oe);return S.createElement(HP.Provider,{value:ne},S.createElement(c$,{open:B||m||R,autoDestroy:!1,getContainer:v,autoLock:g&&(B||R)},S.createElement(mz,de)))};const vz=t=>{var e,n;const{prefixCls:r,title:i,footer:a,extra:o,closeIcon:l,closable:s,onClose:u,headerStyle:c,bodyStyle:d,footerStyle:f,children:p,classNames:w,styles:g}=t,{drawer:y}=S.useContext(ra),h=S.useCallback(C=>S.createElement("button",{type:"button",onClick:u,"aria-label":"Close",className:`${r}-close`},C),[u]),v=S.useMemo(()=>typeof(y==null?void 0:y.closable)=="object"&&y.closable.closeIcon?y.closable.closeIcon:y==null?void 0:y.closeIcon,[y==null?void 0:y.closable,y==null?void 0:y.closeIcon]),[m,b]=p$({closable:s??(y==null?void 0:y.closable),closeIcon:typeof l<"u"?l:v,customCloseIconRender:h,defaultClosable:!0}),E=S.useMemo(()=>{var C,T;return!i&&!m?null:S.createElement("div",{style:Object.assign(Object.assign(Object.assign({},(C=y==null?void 0:y.styles)===null||C===void 0?void 0:C.header),c),g==null?void 0:g.header),className:zt(`${r}-header`,{[`${r}-header-close-only`]:m&&!i&&!o},(T=y==null?void 0:y.classNames)===null||T===void 0?void 0:T.header,w==null?void 0:w.header)},S.createElement("div",{className:`${r}-header-title`},b,i&&S.createElement("div",{className:`${r}-title`},i)),o&&S.createElement("div",{className:`${r}-extra`},o))},[m,b,o,c,r,i]),x=S.useMemo(()=>{var C,T;if(!a)return null;const P=`${r}-footer`;return S.createElement("div",{className:zt(P,(C=y==null?void 0:y.classNames)===null||C===void 0?void 0:C.footer,w==null?void 0:w.footer),style:Object.assign(Object.assign(Object.assign({},(T=y==null?void 0:y.styles)===null||T===void 0?void 0:T.footer),f),g==null?void 0:g.footer)},a)},[a,f,r]);return S.createElement(S.Fragment,null,E,S.createElement("div",{className:zt(`${r}-body`,w==null?void 0:w.body,(e=y==null?void 0:y.classNames)===null||e===void 0?void 0:e.body),style:Object.assign(Object.assign(Object.assign({},(n=y==null?void 0:y.styles)===null||n===void 0?void 0:n.body),d),g==null?void 0:g.body)},p),x)},UP=vz,yz=t=>{const e="100%";return{left:`translateX(-${e})`,right:`translateX(${e})`,top:`translateY(-${e})`,bottom:`translateY(${e})`}[t]},WP=(t,e)=>({"&-enter, &-appear":Object.assign(Object.assign({},t),{"&-active":e}),"&-leave":Object.assign(Object.assign({},e),{"&-active":t})}),GP=(t,e)=>Object.assign({"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:`all ${e}`}}},WP({opacity:t},{opacity:1})),wz=(t,e)=>[GP(.7,e),WP({transform:yz(t)},{transform:"none"})],bz=t=>{const{componentCls:e,motionDurationSlow:n}=t;return{[e]:{[`${e}-mask-motion`]:GP(0,n),[`${e}-panel-motion`]:["left","right","top","bottom"].reduce((r,i)=>Object.assign(Object.assign({},r),{[`&-${i}`]:wz(i,n)}),{})}}},Sz=bz,xz=t=>{const{componentCls:e,zIndexPopup:n,colorBgMask:r,colorBgElevated:i,motionDurationSlow:a,motionDurationMid:o,padding:l,paddingLG:s,fontSizeLG:u,lineHeightLG:c,lineWidth:d,lineType:f,colorSplit:p,marginSM:w,colorIcon:g,colorIconHover:y,colorText:h,fontWeightStrong:v,footerPaddingBlock:m,footerPaddingInline:b}=t,E=`${e}-content-wrapper`;return{[e]:{position:"fixed",inset:0,zIndex:n,pointerEvents:"none","&-pure":{position:"relative",background:i,display:"flex",flexDirection:"column",[`&${e}-left`]:{boxShadow:t.boxShadowDrawerLeft},[`&${e}-right`]:{boxShadow:t.boxShadowDrawerRight},[`&${e}-top`]:{boxShadow:t.boxShadowDrawerUp},[`&${e}-bottom`]:{boxShadow:t.boxShadowDrawerDown}},"&-inline":{position:"absolute"},[`${e}-mask`]:{position:"absolute",inset:0,zIndex:n,background:r,pointerEvents:"auto"},[E]:{position:"absolute",zIndex:n,maxWidth:"100vw",transition:`all ${a}`,"&-hidden":{display:"none"}},[`&-left > ${E}`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:t.boxShadowDrawerLeft},[`&-right > ${E}`]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:t.boxShadowDrawerRight},[`&-top > ${E}`]:{top:0,insetInline:0,boxShadow:t.boxShadowDrawerUp},[`&-bottom > ${E}`]:{bottom:0,insetInline:0,boxShadow:t.boxShadowDrawerDown},[`${e}-content`]:{display:"flex",flexDirection:"column",width:"100%",height:"100%",overflow:"auto",background:i,pointerEvents:"auto"},[`${e}-header`]:{display:"flex",flex:0,alignItems:"center",padding:`${Hr(l)} ${Hr(s)}`,fontSize:u,lineHeight:c,borderBottom:`${Hr(d)} ${f} ${p}`,"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},[`${e}-extra`]:{flex:"none"},[`${e}-close`]:{display:"inline-block",marginInlineEnd:w,color:g,fontWeight:v,fontSize:u,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,outline:0,cursor:"pointer",transition:`color ${o}`,textRendering:"auto","&:focus, &:hover":{color:y,textDecoration:"none"}},[`${e}-title`]:{flex:1,margin:0,color:h,fontWeight:t.fontWeightStrong,fontSize:u,lineHeight:c},[`${e}-body`]:{flex:1,minWidth:0,minHeight:0,padding:s,overflow:"auto"},[`${e}-footer`]:{flexShrink:0,padding:`${Hr(m)} ${Hr(b)}`,borderTop:`${Hr(d)} ${f} ${p}`},"&-rtl":{direction:"rtl"}}}},Ez=t=>({zIndexPopup:t.zIndexPopupBase,footerPaddingBlock:t.paddingXS,footerPaddingInline:t.padding}),qP=q3("Drawer",t=>{const e=Ov(t,{});return[xz(e),Sz(e)]},Ez);var XP=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(t);i{const{rootClassName:e,width:n,height:r,size:i="default",mask:a=!0,push:o=Cz,open:l,afterOpenChange:s,onClose:u,prefixCls:c,getContainer:d,style:f,className:p,visible:w,afterVisibleChange:g,maskStyle:y,drawerStyle:h,contentWrapperStyle:v}=t,m=XP(t,["rootClassName","width","height","size","mask","push","open","afterOpenChange","onClose","prefixCls","getContainer","style","className","visible","afterVisibleChange","maskStyle","drawerStyle","contentWrapperStyle"]),{getPopupContainer:b,getPrefixCls:E,direction:x,drawer:C}=S.useContext(ra),T=E("drawer",c),[P,O,I]=qP(T),N=d===void 0&&b?()=>b(document.body):d,A=zt({"no-mask":!a,[`${T}-rtl`]:x==="rtl"},e,O,I),M=S.useMemo(()=>n??(i==="large"?736:378),[n,i]),R=S.useMemo(()=>r??(i==="large"?736:378),[r,i]),D={motionName:$1(T,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500},L=ne=>({motionName:$1(T,`panel-motion-${ne}`),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500}),k=dz(),[F,j]=e$("Drawer",m.zIndex),{classNames:B={},styles:G={}}=m,{classNames:q={},styles:K={}}=C||{};return P(S.createElement(n$,null,S.createElement(uz,{status:!0,override:!0},S.createElement(DP.Provider,{value:j},S.createElement(gz,Object.assign({prefixCls:T,onClose:u,maskMotion:D,motion:L},m,{classNames:{mask:zt(B.mask,q.mask),content:zt(B.content,q.content)},styles:{mask:Object.assign(Object.assign(Object.assign({},G.mask),y),K.mask),content:Object.assign(Object.assign(Object.assign({},G.content),h),K.content),wrapper:Object.assign(Object.assign(Object.assign({},G.wrapper),v),K.wrapper)},open:l??w,mask:a,push:o,width:M,height:R,style:Object.assign(Object.assign({},C==null?void 0:C.style),f),className:zt(C==null?void 0:C.className,p),rootClassName:A,getContainer:N,afterOpenChange:s??g,panelRef:k,zIndex:F}),S.createElement(UP,Object.assign({prefixCls:T},m,{onClose:u})))))))},Tz=t=>{const{prefixCls:e,style:n,className:r,placement:i="right"}=t,a=XP(t,["prefixCls","style","className","placement"]),{getPrefixCls:o}=S.useContext(ra),l=o("drawer",e),[s,u,c]=qP(l),d=zt(l,`${l}-pure`,`${l}-${i}`,u,c,r);return s(S.createElement("div",{className:d,style:n},S.createElement(UP,Object.assign({prefixCls:l},a))))};KP._InternalPanelDoNotUseOrYouWillBeFired=Tz;const Pz=KP,kz="_containerWrapper_1iakk_1",Mz="_container_1iakk_1",Oz="_hr_1iakk_14",Xo={containerWrapper:kz,container:Mz,hr:Oz},Iv=S.createContext({theme:"light",toggleTheme:()=>{}}),Az=({children:t})=>{const[e,n]=S.useState(localStorage.getItem("theme")||"light"),r=()=>{const i=e==="light"?"dark":"light";localStorage.setItem("theme",i),n(i)};return V.jsx(Iv.Provider,{value:{theme:e,toggleTheme:r},children:V.jsx("div",{className:Xo.containerWrapper,"data-theme":e,children:t})})};/** +`).replace(/\s*\/\/.*$/gm,"").replace(/\n/g,"").trim(),a=new RegExp("(?:^"+n+"$)|(?:^"+i+"$)"),o=new RegExp("^"+n+"$"),l=new RegExp("^"+i+"$"),s=function(b){return b&&b.exact?a:new RegExp("(?:"+e(b)+n+e(b)+")|(?:"+e(b)+i+e(b)+")","g")};s.v4=function(m){return m&&m.exact?o:new RegExp(""+e(m)+n+e(m),"g")},s.v6=function(m){return m&&m.exact?l:new RegExp(""+e(m)+i+e(m),"g")};var u="(?:(?:[a-z]+:)?//)",c="(?:\\S+(?::\\S*)?@)?",d=s.v4().source,f=s.v6().source,p="(?:(?:[a-z\\u00a1-\\uffff0-9][-_]*)*[a-z\\u00a1-\\uffff0-9]+)",w="(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*",g="(?:\\.(?:[a-z\\u00a1-\\uffff]{2,}))",y="(?::\\d{2,5})?",h='(?:[/?#][^\\s"]*)?',v="(?:"+u+"|www\\.)"+c+"(?:localhost|"+d+"|"+f+"|"+p+w+g+")"+y+h;return nu=new RegExp("(?:^"+v+"$)","i"),nu},Q1={email:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+\.)+[a-zA-Z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}))$/,hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},qo={integer:function(e){return qo.number(e)&&parseInt(e,10)===e},float:function(e){return qo.number(e)&&!qo.integer(e)},array:function(e){return Array.isArray(e)},regexp:function(e){if(e instanceof RegExp)return!0;try{return!!new RegExp(e)}catch{return!1}},date:function(e){return typeof e.getTime=="function"&&typeof e.getMonth=="function"&&typeof e.getYear=="function"&&!isNaN(e.getTime())},number:function(e){return isNaN(e)?!1:typeof e=="number"},object:function(e){return typeof e=="object"&&!qo.array(e)},method:function(e){return typeof e=="function"},email:function(e){return typeof e=="string"&&e.length<=320&&!!e.match(Q1.email)},url:function(e){return typeof e=="string"&&e.length<=2048&&!!e.match(A$())},hex:function(e){return typeof e=="string"&&!!e.match(Q1.hex)}},L$=function(e,n,r,i,a){if(e.required&&n===void 0){VP(e,n,r,i,a);return}var o=["integer","float","array","regexp","object","method","email","number","date","url","hex"],l=e.type;o.indexOf(l)>-1?qo[l](n)||i.push(hn(a.messages.types[l],e.fullField,e.type)):l&&typeof n!==e.type&&i.push(hn(a.messages.types[l],e.fullField,e.type))},R$=function(e,n,r,i,a){var o=typeof e.len=="number",l=typeof e.min=="number",s=typeof e.max=="number",u=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,c=n,d=null,f=typeof n=="number",p=typeof n=="string",w=Array.isArray(n);if(f?d="number":p?d="string":w&&(d="array"),!d)return!1;w&&(c=n.length),p&&(c=n.replace(u,"_").length),o?c!==e.len&&i.push(hn(a.messages[d].len,e.fullField,e.len)):l&&!s&&ce.max?i.push(hn(a.messages[d].max,e.fullField,e.max)):l&&s&&(ce.max)&&i.push(hn(a.messages[d].range,e.fullField,e.min,e.max))},ha="enum",I$=function(e,n,r,i,a){e[ha]=Array.isArray(e[ha])?e[ha]:[],e[ha].indexOf(n)===-1&&i.push(hn(a.messages[ha],e.fullField,e[ha].join(", ")))},D$=function(e,n,r,i,a){if(e.pattern){if(e.pattern instanceof RegExp)e.pattern.lastIndex=0,e.pattern.test(n)||i.push(hn(a.messages.pattern.mismatch,e.fullField,n,e.pattern));else if(typeof e.pattern=="string"){var o=new RegExp(e.pattern);o.test(n)||i.push(hn(a.messages.pattern.mismatch,e.fullField,n,e.pattern))}}},ve={required:VP,whitespace:O$,type:L$,range:R$,enum:I$,pattern:D$},F$=function(e,n,r,i,a){var o=[],l=e.required||!e.required&&i.hasOwnProperty(e.field);if(l){if(ct(n,"string")&&!e.required)return r();ve.required(e,n,i,o,a,"string"),ct(n,"string")||(ve.type(e,n,i,o,a),ve.range(e,n,i,o,a),ve.pattern(e,n,i,o,a),e.whitespace===!0&&ve.whitespace(e,n,i,o,a))}r(o)},N$=function(e,n,r,i,a){var o=[],l=e.required||!e.required&&i.hasOwnProperty(e.field);if(l){if(ct(n)&&!e.required)return r();ve.required(e,n,i,o,a),n!==void 0&&ve.type(e,n,i,o,a)}r(o)},_$=function(e,n,r,i,a){var o=[],l=e.required||!e.required&&i.hasOwnProperty(e.field);if(l){if(n===""&&(n=void 0),ct(n)&&!e.required)return r();ve.required(e,n,i,o,a),n!==void 0&&(ve.type(e,n,i,o,a),ve.range(e,n,i,o,a))}r(o)},V$=function(e,n,r,i,a){var o=[],l=e.required||!e.required&&i.hasOwnProperty(e.field);if(l){if(ct(n)&&!e.required)return r();ve.required(e,n,i,o,a),n!==void 0&&ve.type(e,n,i,o,a)}r(o)},j$=function(e,n,r,i,a){var o=[],l=e.required||!e.required&&i.hasOwnProperty(e.field);if(l){if(ct(n)&&!e.required)return r();ve.required(e,n,i,o,a),ct(n)||ve.type(e,n,i,o,a)}r(o)},$$=function(e,n,r,i,a){var o=[],l=e.required||!e.required&&i.hasOwnProperty(e.field);if(l){if(ct(n)&&!e.required)return r();ve.required(e,n,i,o,a),n!==void 0&&(ve.type(e,n,i,o,a),ve.range(e,n,i,o,a))}r(o)},z$=function(e,n,r,i,a){var o=[],l=e.required||!e.required&&i.hasOwnProperty(e.field);if(l){if(ct(n)&&!e.required)return r();ve.required(e,n,i,o,a),n!==void 0&&(ve.type(e,n,i,o,a),ve.range(e,n,i,o,a))}r(o)},B$=function(e,n,r,i,a){var o=[],l=e.required||!e.required&&i.hasOwnProperty(e.field);if(l){if(n==null&&!e.required)return r();ve.required(e,n,i,o,a,"array"),n!=null&&(ve.type(e,n,i,o,a),ve.range(e,n,i,o,a))}r(o)},H$=function(e,n,r,i,a){var o=[],l=e.required||!e.required&&i.hasOwnProperty(e.field);if(l){if(ct(n)&&!e.required)return r();ve.required(e,n,i,o,a),n!==void 0&&ve.type(e,n,i,o,a)}r(o)},U$="enum",W$=function(e,n,r,i,a){var o=[],l=e.required||!e.required&&i.hasOwnProperty(e.field);if(l){if(ct(n)&&!e.required)return r();ve.required(e,n,i,o,a),n!==void 0&&ve[U$](e,n,i,o,a)}r(o)},G$=function(e,n,r,i,a){var o=[],l=e.required||!e.required&&i.hasOwnProperty(e.field);if(l){if(ct(n,"string")&&!e.required)return r();ve.required(e,n,i,o,a),ct(n,"string")||ve.pattern(e,n,i,o,a)}r(o)},q$=function(e,n,r,i,a){var o=[],l=e.required||!e.required&&i.hasOwnProperty(e.field);if(l){if(ct(n,"date")&&!e.required)return r();if(ve.required(e,n,i,o,a),!ct(n,"date")){var s;n instanceof Date?s=n:s=new Date(n),ve.type(e,s,i,o,a),s&&ve.range(e,s.getTime(),i,o,a)}}r(o)},X$=function(e,n,r,i,a){var o=[],l=Array.isArray(n)?"array":typeof n;ve.required(e,n,i,o,a,l),r(o)},sp=function(e,n,r,i,a){var o=e.type,l=[],s=e.required||!e.required&&i.hasOwnProperty(e.field);if(s){if(ct(n,o)&&!e.required)return r();ve.required(e,n,i,l,a,o),ct(n,o)||ve.type(e,n,i,l,a)}r(l)},K$=function(e,n,r,i,a){var o=[],l=e.required||!e.required&&i.hasOwnProperty(e.field);if(l){if(ct(n)&&!e.required)return r();ve.required(e,n,i,o,a)}r(o)},ys={string:F$,method:N$,number:_$,boolean:V$,regexp:j$,integer:$$,float:z$,array:B$,object:H$,enum:W$,pattern:G$,date:q$,url:sp,hex:sp,email:sp,required:X$,any:K$};function gm(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var e=JSON.parse(JSON.stringify(this));return e.clone=this.clone,e}}}var vm=gm(),hl=function(){function t(n){this.rules=null,this._messages=vm,this.define(n)}var e=t.prototype;return e.define=function(r){var i=this;if(!r)throw new Error("Cannot configure a schema with no rules");if(typeof r!="object"||Array.isArray(r))throw new Error("Rules must be an object");this.rules={},Object.keys(r).forEach(function(a){var o=r[a];i.rules[a]=Array.isArray(o)?o:[o]})},e.messages=function(r){return r&&(this._messages=Y1(gm(),r)),this._messages},e.validate=function(r,i,a){var o=this;i===void 0&&(i={}),a===void 0&&(a=function(){});var l=r,s=i,u=a;if(typeof s=="function"&&(u=s,s={}),!this.rules||Object.keys(this.rules).length===0)return u&&u(null,l),Promise.resolve(l);function c(g){var y=[],h={};function v(b){if(Array.isArray(b)){var E;y=(E=y).concat.apply(E,b)}else y.push(b)}for(var m=0;m2&&arguments[2]!==void 0?arguments[2]:!1;return t&&t.some(function(r){return $P(e,r,n)})}function $P(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return!t||!e||!n&&t.length!==e.length?!1:e.every(function(r,i){return t[i]===r})}function ez(t,e){if(t===e)return!0;if(!t&&e||t&&!e||!t||!e||Ae(t)!=="object"||Ae(e)!=="object")return!1;var n=Object.keys(t),r=Object.keys(e),i=new Set([].concat(n,r));return ce(i).every(function(a){var o=t[a],l=e[a];return typeof o=="function"&&typeof l=="function"?!0:o===l})}function tz(t){var e=arguments.length<=1?void 0:arguments[1];return e&&e.target&&Ae(e.target)==="object"&&t in e.target?e.target[t]:e}function tb(t,e,n){var r=t.length;if(e<0||e>=r||n<0||n>=r)return t;var i=t[e],a=e-n;return a>0?[].concat(ce(t.slice(0,n)),[i],ce(t.slice(n,e)),ce(t.slice(e+1,r))):a<0?[].concat(ce(t.slice(0,e)),ce(t.slice(e+1,n+1)),[i],ce(t.slice(n+1,r))):t}var nz=["name"],Tn=[];function nb(t,e,n,r,i,a){return typeof t=="function"?t(e,n,"source"in a?{source:a.source}:{}):r!==i}var Iv=function(t){vo(n,t);var e=pd(n);function n(r){var i;if(Nn(this,n),i=e.call(this,r),U(be(i),"state",{resetCount:0}),U(be(i),"cancelRegisterFunc",null),U(be(i),"mounted",!1),U(be(i),"touched",!1),U(be(i),"dirty",!1),U(be(i),"validatePromise",void 0),U(be(i),"prevValidating",void 0),U(be(i),"errors",Tn),U(be(i),"warnings",Tn),U(be(i),"cancelRegister",function(){var s=i.props,u=s.preserve,c=s.isListField,d=s.name;i.cancelRegisterFunc&&i.cancelRegisterFunc(c,u,et(d)),i.cancelRegisterFunc=null}),U(be(i),"getNamePath",function(){var s=i.props,u=s.name,c=s.fieldContext,d=c.prefixName,f=d===void 0?[]:d;return u!==void 0?[].concat(ce(f),ce(u)):[]}),U(be(i),"getRules",function(){var s=i.props,u=s.rules,c=u===void 0?[]:u,d=s.fieldContext;return c.map(function(f){return typeof f=="function"?f(d):f})}),U(be(i),"refresh",function(){i.mounted&&i.setState(function(s){var u=s.resetCount;return{resetCount:u+1}})}),U(be(i),"metaCache",null),U(be(i),"triggerMetaEvent",function(s){var u=i.props.onMetaChange;if(u){var c=H(H({},i.getMeta()),{},{destroy:s});IT(i.metaCache,c)||u(c),i.metaCache=c}else i.metaCache=null}),U(be(i),"onStoreChange",function(s,u,c){var d=i.props,f=d.shouldUpdate,p=d.dependencies,w=p===void 0?[]:p,g=d.onReset,y=c.store,h=i.getNamePath(),v=i.getValue(s),m=i.getValue(y),b=u&&Ga(u,h);switch(c.type==="valueUpdate"&&c.source==="external"&&v!==m&&(i.touched=!0,i.dirty=!0,i.validatePromise=null,i.errors=Tn,i.warnings=Tn,i.triggerMetaEvent()),c.type){case"reset":if(!u||b){i.touched=!1,i.dirty=!1,i.validatePromise=void 0,i.errors=Tn,i.warnings=Tn,i.triggerMetaEvent(),g==null||g(),i.refresh();return}break;case"remove":{if(f){i.reRender();return}break}case"setField":{var E=c.data;if(b){"touched"in E&&(i.touched=E.touched),"validating"in E&&!("originRCField"in E)&&(i.validatePromise=E.validating?Promise.resolve([]):null),"errors"in E&&(i.errors=E.errors||Tn),"warnings"in E&&(i.warnings=E.warnings||Tn),i.dirty=!0,i.triggerMetaEvent(),i.reRender();return}else if("value"in E&&Ga(u,h,!0)){i.reRender();return}if(f&&!h.length&&nb(f,s,y,v,m,c)){i.reRender();return}break}case"dependenciesUpdate":{var x=w.map(et);if(x.some(function(C){return Ga(c.relatedFields,C)})){i.reRender();return}break}default:if(b||(!w.length||h.length||f)&&nb(f,s,y,v,m,c)){i.reRender();return}break}f===!0&&i.reRender()}),U(be(i),"validateRules",function(s){var u=i.getNamePath(),c=i.getValue(),d=s||{},f=d.triggerName,p=d.validateOnly,w=p===void 0?!1:p,g=Promise.resolve().then(pl(Jn().mark(function y(){var h,v,m,b,E,x,C;return Jn().wrap(function(P){for(;;)switch(P.prev=P.next){case 0:if(i.mounted){P.next=2;break}return P.abrupt("return",[]);case 2:if(h=i.props,v=h.validateFirst,m=v===void 0?!1:v,b=h.messageVariables,E=h.validateDebounce,x=i.getRules(),f&&(x=x.filter(function(O){return O}).filter(function(O){var I=O.validateTrigger;if(!I)return!0;var N=fm(I);return N.includes(f)})),!(E&&f)){P.next=10;break}return P.next=8,new Promise(function(O){setTimeout(O,E)});case 8:if(i.validatePromise===g){P.next=10;break}return P.abrupt("return",[]);case 10:return C=Q$(u,c,x,s,m,b),C.catch(function(O){return O}).then(function(){var O=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Tn;if(i.validatePromise===g){var I;i.validatePromise=null;var N=[],A=[];(I=O.forEach)===null||I===void 0||I.call(O,function(M){var R=M.rule.warningOnly,D=M.errors,L=D===void 0?Tn:D;R?A.push.apply(A,ce(L)):N.push.apply(N,ce(L))}),i.errors=N,i.warnings=A,i.triggerMetaEvent(),i.reRender()}}),P.abrupt("return",C);case 13:case"end":return P.stop()}},y)})));return w||(i.validatePromise=g,i.dirty=!0,i.errors=Tn,i.warnings=Tn,i.triggerMetaEvent(),i.reRender()),g}),U(be(i),"isFieldValidating",function(){return!!i.validatePromise}),U(be(i),"isFieldTouched",function(){return i.touched}),U(be(i),"isFieldDirty",function(){if(i.dirty||i.props.initialValue!==void 0)return!0;var s=i.props.fieldContext,u=s.getInternalHooks(_i),c=u.getInitialValue;return c(i.getNamePath())!==void 0}),U(be(i),"getErrors",function(){return i.errors}),U(be(i),"getWarnings",function(){return i.warnings}),U(be(i),"isListField",function(){return i.props.isListField}),U(be(i),"isList",function(){return i.props.isList}),U(be(i),"isPreserve",function(){return i.props.preserve}),U(be(i),"getMeta",function(){i.prevValidating=i.isFieldValidating();var s={touched:i.isFieldTouched(),validating:i.prevValidating,errors:i.errors,warnings:i.warnings,name:i.getNamePath(),validated:i.validatePromise===null};return s}),U(be(i),"getOnlyChild",function(s){if(typeof s=="function"){var u=i.getMeta();return H(H({},i.getOnlyChild(s(i.getControlled(),u,i.props.fieldContext))),{},{isFunction:!0})}var c=$h(s);return c.length!==1||!S.isValidElement(c[0])?{child:c,isFunction:!1}:{child:c[0],isFunction:!1}}),U(be(i),"getValue",function(s){var u=i.props.fieldContext.getFieldsValue,c=i.getNamePath();return sr(s||u(!0),c)}),U(be(i),"getControlled",function(){var s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},u=i.props,c=u.trigger,d=u.validateTrigger,f=u.getValueFromEvent,p=u.normalize,w=u.valuePropName,g=u.getValueProps,y=u.fieldContext,h=d!==void 0?d:y.validateTrigger,v=i.getNamePath(),m=y.getInternalHooks,b=y.getFieldsValue,E=m(_i),x=E.dispatch,C=i.getValue(),T=g||function(A){return U({},w,A)},P=s[c],O=T(C),I=H(H({},s),O);I[c]=function(){i.touched=!0,i.dirty=!0,i.triggerMetaEvent();for(var A,M=arguments.length,R=new Array(M),D=0;D=0&&O<=I.length?(c.keys=[].concat(ce(c.keys.slice(0,O)),[c.id],ce(c.keys.slice(O))),m([].concat(ce(I.slice(0,O)),[P],ce(I.slice(O))))):(c.keys=[].concat(ce(c.keys),[c.id]),m([].concat(ce(I),[P]))),c.id+=1},remove:function(P){var O=E(),I=new Set(Array.isArray(P)?P:[P]);I.size<=0||(c.keys=c.keys.filter(function(N,A){return!I.has(A)}),m(O.filter(function(N,A){return!I.has(A)})))},move:function(P,O){if(P!==O){var I=E();P<0||P>=I.length||O<0||O>=I.length||(c.keys=tb(c.keys,P,O),m(tb(I,P,O)))}}},C=v||[];return Array.isArray(C)||(C=[]),r(C.map(function(T,P){var O=c.keys[P];return O===void 0&&(c.keys[P]=c.id,O=c.keys[P],c.id+=1),{name:P,key:O,isListField:!0}}),x,y)})))}function iz(t){var e=!1,n=t.length,r=[];return t.length?new Promise(function(i,a){t.forEach(function(o,l){o.catch(function(s){return e=!0,s}).then(function(s){n-=1,r[l]=s,!(n>0)&&(e&&a(r),i(r))})})}):Promise.resolve([])}var BP="__@field_split__";function lp(t){return t.map(function(e){return"".concat(Ae(e),":").concat(e)}).join(BP)}var ma=function(){function t(){Nn(this,t),U(this,"kvs",new Map)}return _n(t,[{key:"set",value:function(n,r){this.kvs.set(lp(n),r)}},{key:"get",value:function(n){return this.kvs.get(lp(n))}},{key:"update",value:function(n,r){var i=this.get(n),a=r(i);a?this.set(n,a):this.delete(n)}},{key:"delete",value:function(n){this.kvs.delete(lp(n))}},{key:"map",value:function(n){return ce(this.kvs.entries()).map(function(r){var i=ie(r,2),a=i[0],o=i[1],l=a.split(BP);return n({key:l.map(function(s){var u=s.match(/^([^:]*):(.*)$/),c=ie(u,3),d=c[1],f=c[2];return d==="number"?Number(f):f}),value:o})})}},{key:"toJSON",value:function(){var n={};return this.map(function(r){var i=r.key,a=r.value;return n[i.join(".")]=a,null}),n}}]),t}(),az=["name"],oz=_n(function t(e){var n=this;Nn(this,t),U(this,"formHooked",!1),U(this,"forceRootUpdate",void 0),U(this,"subscribable",!0),U(this,"store",{}),U(this,"fieldEntities",[]),U(this,"initialValues",{}),U(this,"callbacks",{}),U(this,"validateMessages",null),U(this,"preserve",null),U(this,"lastValidatePromise",null),U(this,"getForm",function(){return{getFieldValue:n.getFieldValue,getFieldsValue:n.getFieldsValue,getFieldError:n.getFieldError,getFieldWarning:n.getFieldWarning,getFieldsError:n.getFieldsError,isFieldsTouched:n.isFieldsTouched,isFieldTouched:n.isFieldTouched,isFieldValidating:n.isFieldValidating,isFieldsValidating:n.isFieldsValidating,resetFields:n.resetFields,setFields:n.setFields,setFieldValue:n.setFieldValue,setFieldsValue:n.setFieldsValue,validateFields:n.validateFields,submit:n.submit,_init:!0,getInternalHooks:n.getInternalHooks}}),U(this,"getInternalHooks",function(r){return r===_i?(n.formHooked=!0,{dispatch:n.dispatch,initEntityValue:n.initEntityValue,registerField:n.registerField,useSubscribe:n.useSubscribe,setInitialValues:n.setInitialValues,destroyForm:n.destroyForm,setCallbacks:n.setCallbacks,setValidateMessages:n.setValidateMessages,getFields:n.getFields,setPreserve:n.setPreserve,getInitialValue:n.getInitialValue,registerWatch:n.registerWatch}):(en(!1,"`getInternalHooks` is internal usage. Should not call directly."),null)}),U(this,"useSubscribe",function(r){n.subscribable=r}),U(this,"prevWithoutPreserves",null),U(this,"setInitialValues",function(r,i){if(n.initialValues=r||{},i){var a,o=Fa(r,n.store);(a=n.prevWithoutPreserves)===null||a===void 0||a.map(function(l){var s=l.key;o=Un(o,s,sr(r,s))}),n.prevWithoutPreserves=null,n.updateStore(o)}}),U(this,"destroyForm",function(){var r=new ma;n.getFieldEntities(!0).forEach(function(i){n.isMergedPreserve(i.isPreserve())||r.set(i.getNamePath(),!0)}),n.prevWithoutPreserves=r}),U(this,"getInitialValue",function(r){var i=sr(n.initialValues,r);return r.length?Fa(i):i}),U(this,"setCallbacks",function(r){n.callbacks=r}),U(this,"setValidateMessages",function(r){n.validateMessages=r}),U(this,"setPreserve",function(r){n.preserve=r}),U(this,"watchList",[]),U(this,"registerWatch",function(r){return n.watchList.push(r),function(){n.watchList=n.watchList.filter(function(i){return i!==r})}}),U(this,"notifyWatch",function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];if(n.watchList.length){var i=n.getFieldsValue(),a=n.getFieldsValue(!0);n.watchList.forEach(function(o){o(i,a,r)})}}),U(this,"timeoutId",null),U(this,"warningUnhooked",function(){}),U(this,"updateStore",function(r){n.store=r}),U(this,"getFieldEntities",function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;return r?n.fieldEntities.filter(function(i){return i.getNamePath().length}):n.fieldEntities}),U(this,"getFieldsMap",function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,i=new ma;return n.getFieldEntities(r).forEach(function(a){var o=a.getNamePath();i.set(o,a)}),i}),U(this,"getFieldEntitiesForNamePathList",function(r){if(!r)return n.getFieldEntities(!0);var i=n.getFieldsMap(!0);return r.map(function(a){var o=et(a);return i.get(o)||{INVALIDATE_NAME_PATH:et(a)}})}),U(this,"getFieldsValue",function(r,i){n.warningUnhooked();var a,o,l;if(r===!0||Array.isArray(r)?(a=r,o=i):r&&Ae(r)==="object"&&(l=r.strict,o=r.filter),a===!0&&!o)return n.store;var s=n.getFieldEntitiesForNamePathList(Array.isArray(a)?a:null),u=[];return s.forEach(function(c){var d,f,p="INVALIDATE_NAME_PATH"in c?c.INVALIDATE_NAME_PATH:c.getNamePath();if(l){var w,g;if((w=(g=c).isList)!==null&&w!==void 0&&w.call(g))return}else if(!a&&(d=(f=c).isListField)!==null&&d!==void 0&&d.call(f))return;if(!o)u.push(p);else{var y="getMeta"in c?c.getMeta():null;o(y)&&u.push(p)}}),eb(n.store,u.map(et))}),U(this,"getFieldValue",function(r){n.warningUnhooked();var i=et(r);return sr(n.store,i)}),U(this,"getFieldsError",function(r){n.warningUnhooked();var i=n.getFieldEntitiesForNamePathList(r);return i.map(function(a,o){return a&&!("INVALIDATE_NAME_PATH"in a)?{name:a.getNamePath(),errors:a.getErrors(),warnings:a.getWarnings()}:{name:et(r[o]),errors:[],warnings:[]}})}),U(this,"getFieldError",function(r){n.warningUnhooked();var i=et(r),a=n.getFieldsError([i])[0];return a.errors}),U(this,"getFieldWarning",function(r){n.warningUnhooked();var i=et(r),a=n.getFieldsError([i])[0];return a.warnings}),U(this,"isFieldsTouched",function(){n.warningUnhooked();for(var r=arguments.length,i=new Array(r),a=0;a0&&arguments[0]!==void 0?arguments[0]:{},i=new ma,a=n.getFieldEntities(!0);a.forEach(function(s){var u=s.props.initialValue,c=s.getNamePath();if(u!==void 0){var d=i.get(c)||new Set;d.add({entity:s,value:u}),i.set(c,d)}});var o=function(u){u.forEach(function(c){var d=c.props.initialValue;if(d!==void 0){var f=c.getNamePath(),p=n.getInitialValue(f);if(p!==void 0)en(!1,"Form already set 'initialValues' with path '".concat(f.join("."),"'. Field can not overwrite it."));else{var w=i.get(f);if(w&&w.size>1)en(!1,"Multiple Field with path '".concat(f.join("."),"' set 'initialValue'. Can not decide which one to pick."));else if(w){var g=n.getFieldValue(f),y=c.isListField();!y&&(!r.skipExist||g===void 0)&&n.updateStore(Un(n.store,f,ce(w)[0].value))}}}})},l;r.entities?l=r.entities:r.namePathList?(l=[],r.namePathList.forEach(function(s){var u=i.get(s);if(u){var c;(c=l).push.apply(c,ce(ce(u).map(function(d){return d.entity})))}})):l=a,o(l)}),U(this,"resetFields",function(r){n.warningUnhooked();var i=n.store;if(!r){n.updateStore(Fa(n.initialValues)),n.resetWithFieldInitialValue(),n.notifyObservers(i,null,{type:"reset"}),n.notifyWatch();return}var a=r.map(et);a.forEach(function(o){var l=n.getInitialValue(o);n.updateStore(Un(n.store,o,l))}),n.resetWithFieldInitialValue({namePathList:a}),n.notifyObservers(i,a,{type:"reset"}),n.notifyWatch(a)}),U(this,"setFields",function(r){n.warningUnhooked();var i=n.store,a=[];r.forEach(function(o){var l=o.name,s=gt(o,az),u=et(l);a.push(u),"value"in s&&n.updateStore(Un(n.store,u,s.value)),n.notifyObservers(i,[u],{type:"setField",data:o})}),n.notifyWatch(a)}),U(this,"getFields",function(){var r=n.getFieldEntities(!0),i=r.map(function(a){var o=a.getNamePath(),l=a.getMeta(),s=H(H({},l),{},{name:o,value:n.getFieldValue(o)});return Object.defineProperty(s,"originRCField",{value:!0}),s});return i}),U(this,"initEntityValue",function(r){var i=r.props.initialValue;if(i!==void 0){var a=r.getNamePath(),o=sr(n.store,a);o===void 0&&n.updateStore(Un(n.store,a,i))}}),U(this,"isMergedPreserve",function(r){var i=r!==void 0?r:n.preserve;return i??!0}),U(this,"registerField",function(r){n.fieldEntities.push(r);var i=r.getNamePath();if(n.notifyWatch([i]),r.props.initialValue!==void 0){var a=n.store;n.resetWithFieldInitialValue({entities:[r],skipExist:!0}),n.notifyObservers(a,[r.getNamePath()],{type:"valueUpdate",source:"internal"})}return function(o,l){var s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];if(n.fieldEntities=n.fieldEntities.filter(function(d){return d!==r}),!n.isMergedPreserve(l)&&(!o||s.length>1)){var u=o?void 0:n.getInitialValue(i);if(i.length&&n.getFieldValue(i)!==u&&n.fieldEntities.every(function(d){return!$P(d.getNamePath(),i)})){var c=n.store;n.updateStore(Un(c,i,u,!0)),n.notifyObservers(c,[i],{type:"remove"}),n.triggerDependenciesUpdate(c,i)}}n.notifyWatch([i])}}),U(this,"dispatch",function(r){switch(r.type){case"updateValue":{var i=r.namePath,a=r.value;n.updateValue(i,a);break}case"validateField":{var o=r.namePath,l=r.triggerName;n.validateFields([o],{triggerName:l});break}}}),U(this,"notifyObservers",function(r,i,a){if(n.subscribable){var o=H(H({},a),{},{store:n.getFieldsValue(!0)});n.getFieldEntities().forEach(function(l){var s=l.onStoreChange;s(r,i,o)})}else n.forceRootUpdate()}),U(this,"triggerDependenciesUpdate",function(r,i){var a=n.getDependencyChildrenFields(i);return a.length&&n.validateFields(a),n.notifyObservers(r,a,{type:"dependenciesUpdate",relatedFields:[i].concat(ce(a))}),a}),U(this,"updateValue",function(r,i){var a=et(r),o=n.store;n.updateStore(Un(n.store,a,i)),n.notifyObservers(o,[a],{type:"valueUpdate",source:"internal"}),n.notifyWatch([a]);var l=n.triggerDependenciesUpdate(o,a),s=n.callbacks.onValuesChange;if(s){var u=eb(n.store,[a]);s(u,n.getFieldsValue())}n.triggerOnFieldsChange([a].concat(ce(l)))}),U(this,"setFieldsValue",function(r){n.warningUnhooked();var i=n.store;if(r){var a=Fa(n.store,r);n.updateStore(a)}n.notifyObservers(i,null,{type:"valueUpdate",source:"external"}),n.notifyWatch()}),U(this,"setFieldValue",function(r,i){n.setFields([{name:r,value:i}])}),U(this,"getDependencyChildrenFields",function(r){var i=new Set,a=[],o=new ma;n.getFieldEntities().forEach(function(s){var u=s.props.dependencies;(u||[]).forEach(function(c){var d=et(c);o.update(d,function(){var f=arguments.length>0&&arguments[0]!==void 0?arguments[0]:new Set;return f.add(s),f})})});var l=function s(u){var c=o.get(u)||new Set;c.forEach(function(d){if(!i.has(d)){i.add(d);var f=d.getNamePath();d.isFieldDirty()&&f.length&&(a.push(f),s(f))}})};return l(r),a}),U(this,"triggerOnFieldsChange",function(r,i){var a=n.callbacks.onFieldsChange;if(a){var o=n.getFields();if(i){var l=new ma;i.forEach(function(u){var c=u.name,d=u.errors;l.set(c,d)}),o.forEach(function(u){u.errors=l.get(u.name)||u.errors})}var s=o.filter(function(u){var c=u.name;return Ga(r,c)});s.length&&a(s,o)}}),U(this,"validateFields",function(r,i){n.warningUnhooked();var a,o;Array.isArray(r)||typeof r=="string"||typeof i=="string"?(a=r,o=i):o=r;var l=!!a,s=l?a.map(et):[],u=[],c=String(Date.now()),d=new Set,f=o||{},p=f.recursive,w=f.dirty;n.getFieldEntities(!0).forEach(function(v){if(l||s.push(v.getNamePath()),!(!v.props.rules||!v.props.rules.length)&&!(w&&!v.isFieldDirty())){var m=v.getNamePath();if(d.add(m.join(c)),!l||Ga(s,m,p)){var b=v.validateRules(H({validateMessages:H(H({},jP),n.validateMessages)},o));u.push(b.then(function(){return{name:m,errors:[],warnings:[]}}).catch(function(E){var x,C=[],T=[];return(x=E.forEach)===null||x===void 0||x.call(E,function(P){var O=P.rule.warningOnly,I=P.errors;O?T.push.apply(T,ce(I)):C.push.apply(C,ce(I))}),C.length?Promise.reject({name:m,errors:C,warnings:T}):{name:m,errors:C,warnings:T}}))}}});var g=iz(u);n.lastValidatePromise=g,g.catch(function(v){return v}).then(function(v){var m=v.map(function(b){var E=b.name;return E});n.notifyObservers(n.store,m,{type:"validateFinish"}),n.triggerOnFieldsChange(m,v)});var y=g.then(function(){return n.lastValidatePromise===g?Promise.resolve(n.getFieldsValue(s)):Promise.reject([])}).catch(function(v){var m=v.filter(function(b){return b&&b.errors.length});return Promise.reject({values:n.getFieldsValue(s),errorFields:m,outOfDate:n.lastValidatePromise!==g})});y.catch(function(v){return v});var h=s.filter(function(v){return d.has(v.join(c))});return n.triggerOnFieldsChange(h),y}),U(this,"submit",function(){n.warningUnhooked(),n.validateFields().then(function(r){var i=n.callbacks.onFinish;if(i)try{i(r)}catch(a){console.error(a)}}).catch(function(r){var i=n.callbacks.onFinishFailed;i&&i(r)})}),this.forceRootUpdate=e});function HP(t){var e=S.useRef(),n=S.useState({}),r=ie(n,2),i=r[1];if(!e.current)if(t)e.current=t;else{var a=function(){i({})},o=new oz(a);e.current=o.getForm()}return[e.current]}var xm=S.createContext({triggerFormChange:function(){},triggerFormFinish:function(){},registerForm:function(){},unregisterForm:function(){}}),sz=function(e){var n=e.validateMessages,r=e.onFormChange,i=e.onFormFinish,a=e.children,o=S.useContext(xm),l=S.useRef({});return S.createElement(xm.Provider,{value:H(H({},o),{},{validateMessages:H(H({},o.validateMessages),n),triggerFormChange:function(u,c){r&&r(u,{changedFields:c,forms:l.current}),o.triggerFormChange(u,c)},triggerFormFinish:function(u,c){i&&i(u,{values:c,forms:l.current}),o.triggerFormFinish(u,c)},registerForm:function(u,c){u&&(l.current=H(H({},l.current),{},U({},u,c))),o.registerForm(u,c)},unregisterForm:function(u){var c=H({},l.current);delete c[u],l.current=c,o.unregisterForm(u)}})},a)},lz=["name","initialValues","fields","form","preserve","children","component","validateMessages","validateTrigger","onValuesChange","onFieldsChange","onFinish","onFinishFailed"],uz=function(e,n){var r=e.name,i=e.initialValues,a=e.fields,o=e.form,l=e.preserve,s=e.children,u=e.component,c=u===void 0?"form":u,d=e.validateMessages,f=e.validateTrigger,p=f===void 0?"onChange":f,w=e.onValuesChange,g=e.onFieldsChange,y=e.onFinish,h=e.onFinishFailed,v=gt(e,lz),m=S.useContext(xm),b=HP(o),E=ie(b,1),x=E[0],C=x.getInternalHooks(_i),T=C.useSubscribe,P=C.setInitialValues,O=C.setCallbacks,I=C.setValidateMessages,N=C.setPreserve,A=C.destroyForm;S.useImperativeHandle(n,function(){return x}),S.useEffect(function(){return m.registerForm(r,x),function(){m.unregisterForm(r)}},[m,x,r]),I(H(H({},m.validateMessages),d)),O({onValuesChange:w,onFieldsChange:function(G){if(m.triggerFormChange(r,G),g){for(var q=arguments.length,K=new Array(q>1?q-1:0),ne=1;ne{let{children:e,status:n,override:r}=t;const i=S.useContext(ib),a=S.useMemo(()=>{const o=Object.assign({},i);return r&&delete o.isFormItemInput,n&&(delete o.status,delete o.hasFeedback,delete o.feedbackIcon),o},[n,r,i]);return S.createElement(ib.Provider,{value:a},e)};function ab(){}const pz=S.createContext({add:ab,remove:ab});function hz(t){const e=S.useContext(pz),n=S.useRef();return Dj(i=>{if(i){const a=t?i.querySelector(t):i;e.add(a),n.current=a}else e.remove(n.current)})}var ob=S.createContext(null),UP=S.createContext({}),mz=["prefixCls","className","containerRef"],gz=function(e){var n=e.prefixCls,r=e.className,i=e.containerRef,a=gt(e,mz),o=S.useContext(UP),l=o.panel,s=ST(l,i);return S.createElement("div",J({className:zt("".concat(n,"-content"),r),role:"dialog",ref:s},yc(e,{aria:!0}),{"aria-modal":"true"},a))};function sb(t){return typeof t=="string"&&String(Number(t))===t?(en(!1,"Invalid value type of `width` or `height` which should be number type instead."),Number(t)):t}var lb={width:0,height:0,overflow:"hidden",outline:"none",position:"absolute"};function vz(t,e){var n,r,i,a=t.prefixCls,o=t.open,l=t.placement,s=t.inline,u=t.push,c=t.forceRender,d=t.autoFocus,f=t.keyboard,p=t.classNames,w=t.rootClassName,g=t.rootStyle,y=t.zIndex,h=t.className,v=t.id,m=t.style,b=t.motion,E=t.width,x=t.height,C=t.children,T=t.mask,P=t.maskClosable,O=t.maskMotion,I=t.maskClassName,N=t.maskStyle,A=t.afterOpenChange,M=t.onClose,R=t.onMouseEnter,D=t.onMouseOver,L=t.onMouseLeave,k=t.onClick,F=t.onKeyDown,j=t.onKeyUp,B=t.styles,G=S.useRef(),q=S.useRef(),K=S.useRef();S.useImperativeHandle(e,function(){return G.current});var ne=function(he){var Ue=he.keyCode,dt=he.shiftKey;switch(Ue){case le.TAB:{if(Ue===le.TAB){if(!dt&&document.activeElement===K.current){var qt;(qt=q.current)===null||qt===void 0||qt.focus({preventScroll:!0})}else if(dt&&document.activeElement===q.current){var Vn;(Vn=K.current)===null||Vn===void 0||Vn.focus({preventScroll:!0})}}break}case le.ESC:{M&&f&&(he.stopPropagation(),M(he));break}}};S.useEffect(function(){if(o&&d){var fe;(fe=G.current)===null||fe===void 0||fe.focus({preventScroll:!0})}},[o]);var oe=S.useState(!1),de=ie(oe,2),Qe=de[0],rt=de[1],xe=S.useContext(ob),we;typeof u=="boolean"?we=u?{}:{distance:0}:we=u||{};var De=(n=(r=(i=we)===null||i===void 0?void 0:i.distance)!==null&&r!==void 0?r:xe==null?void 0:xe.pushDistance)!==null&&n!==void 0?n:180,Ot=S.useMemo(function(){return{pushDistance:De,push:function(){rt(!0)},pull:function(){rt(!1)}}},[De]);S.useEffect(function(){if(o){var fe;xe==null||(fe=xe.push)===null||fe===void 0||fe.call(xe)}else{var he;xe==null||(he=xe.pull)===null||he===void 0||he.call(xe)}},[o]),S.useEffect(function(){return function(){var fe;xe==null||(fe=xe.pull)===null||fe===void 0||fe.call(xe)}},[]);var Gt=T&&S.createElement(om,J({key:"mask"},O,{visible:o}),function(fe,he){var Ue=fe.className,dt=fe.style;return S.createElement("div",{className:zt("".concat(a,"-mask"),Ue,p==null?void 0:p.mask,I),style:H(H(H({},dt),N),B==null?void 0:B.mask),onClick:P&&o?M:void 0,ref:he})}),Fe=typeof b=="function"?b(l):b,yt={};if(Qe&&De)switch(l){case"top":yt.transform="translateY(".concat(De,"px)");break;case"bottom":yt.transform="translateY(".concat(-De,"px)");break;case"left":yt.transform="translateX(".concat(De,"px)");break;default:yt.transform="translateX(".concat(-De,"px)");break}l==="left"||l==="right"?yt.width=sb(E):yt.height=sb(x);var rn={onMouseEnter:R,onMouseOver:D,onMouseLeave:L,onClick:k,onKeyDown:F,onKeyUp:j},Vt=S.createElement(om,J({key:"panel"},Fe,{visible:o,forceRender:c,onVisibleChanged:function(he){A==null||A(he)},removeOnLeave:!1,leavedClassName:"".concat(a,"-content-wrapper-hidden")}),function(fe,he){var Ue=fe.className,dt=fe.style;return S.createElement("div",J({className:zt("".concat(a,"-content-wrapper"),p==null?void 0:p.wrapper,Ue),style:H(H(H({},yt),dt),B==null?void 0:B.wrapper)},yc(t,{data:!0})),S.createElement(gz,J({id:v,containerRef:he,prefixCls:a,className:zt(h,p==null?void 0:p.content),style:H(H({},m),B==null?void 0:B.content)},yc(t,{aria:!0}),rn),C))}),Le=H({},g);return y&&(Le.zIndex=y),S.createElement(ob.Provider,{value:Ot},S.createElement("div",{className:zt(a,"".concat(a,"-").concat(l),w,U(U({},"".concat(a,"-open"),o),"".concat(a,"-inline"),s)),style:Le,tabIndex:-1,ref:G,onKeyDown:ne},Gt,S.createElement("div",{tabIndex:0,ref:q,style:lb,"aria-hidden":"true","data-sentinel":"start"}),Vt,S.createElement("div",{tabIndex:0,ref:K,style:lb,"aria-hidden":"true","data-sentinel":"end"})))}var yz=S.forwardRef(vz),wz=function(e){var n=e.open,r=n===void 0?!1:n,i=e.prefixCls,a=i===void 0?"rc-drawer":i,o=e.placement,l=o===void 0?"right":o,s=e.autoFocus,u=s===void 0?!0:s,c=e.keyboard,d=c===void 0?!0:c,f=e.width,p=f===void 0?378:f,w=e.mask,g=w===void 0?!0:w,y=e.maskClosable,h=y===void 0?!0:y,v=e.getContainer,m=e.forceRender,b=e.afterOpenChange,E=e.destroyOnClose,x=e.onMouseEnter,C=e.onMouseOver,T=e.onMouseLeave,P=e.onClick,O=e.onKeyDown,I=e.onKeyUp,N=e.panelRef,A=S.useState(!1),M=ie(A,2),R=M[0],D=M[1],L=S.useState(!1),k=ie(L,2),F=k[0],j=k[1];oo(function(){j(!0)},[]);var B=F?r:!1,G=S.useRef(),q=S.useRef();oo(function(){B&&(q.current=document.activeElement)},[B]);var K=function(rt){var xe;if(D(rt),b==null||b(rt),!rt&&q.current&&!((xe=G.current)!==null&&xe!==void 0&&xe.contains(q.current))){var we;(we=q.current)===null||we===void 0||we.focus({preventScroll:!0})}},ne=S.useMemo(function(){return{panel:N}},[N]);if(!m&&!R&&!B&&E)return null;var oe={onMouseEnter:x,onMouseOver:C,onMouseLeave:T,onClick:P,onKeyDown:O,onKeyUp:I},de=H(H({},e),{},{open:B,prefixCls:a,placement:l,autoFocus:u,keyboard:d,width:p,mask:g,maskClosable:h,inline:v===!1,afterOpenChange:K,ref:G},oe);return S.createElement(UP.Provider,{value:ne},S.createElement(p$,{open:B||m||R,autoDestroy:!1,getContainer:v,autoLock:g&&(B||R)},S.createElement(yz,de)))};const bz=t=>{var e,n;const{prefixCls:r,title:i,footer:a,extra:o,closeIcon:l,closable:s,onClose:u,headerStyle:c,bodyStyle:d,footerStyle:f,children:p,classNames:w,styles:g}=t,{drawer:y}=S.useContext(ra),h=S.useCallback(C=>S.createElement("button",{type:"button",onClick:u,"aria-label":"Close",className:`${r}-close`},C),[u]),v=S.useMemo(()=>typeof(y==null?void 0:y.closable)=="object"&&y.closable.closeIcon?y.closable.closeIcon:y==null?void 0:y.closeIcon,[y==null?void 0:y.closable,y==null?void 0:y.closeIcon]),[m,b]=g$({closable:s??(y==null?void 0:y.closable),closeIcon:typeof l<"u"?l:v,customCloseIconRender:h,defaultClosable:!0}),E=S.useMemo(()=>{var C,T;return!i&&!m?null:S.createElement("div",{style:Object.assign(Object.assign(Object.assign({},(C=y==null?void 0:y.styles)===null||C===void 0?void 0:C.header),c),g==null?void 0:g.header),className:zt(`${r}-header`,{[`${r}-header-close-only`]:m&&!i&&!o},(T=y==null?void 0:y.classNames)===null||T===void 0?void 0:T.header,w==null?void 0:w.header)},S.createElement("div",{className:`${r}-header-title`},b,i&&S.createElement("div",{className:`${r}-title`},i)),o&&S.createElement("div",{className:`${r}-extra`},o))},[m,b,o,c,r,i]),x=S.useMemo(()=>{var C,T;if(!a)return null;const P=`${r}-footer`;return S.createElement("div",{className:zt(P,(C=y==null?void 0:y.classNames)===null||C===void 0?void 0:C.footer,w==null?void 0:w.footer),style:Object.assign(Object.assign(Object.assign({},(T=y==null?void 0:y.styles)===null||T===void 0?void 0:T.footer),f),g==null?void 0:g.footer)},a)},[a,f,r]);return S.createElement(S.Fragment,null,E,S.createElement("div",{className:zt(`${r}-body`,w==null?void 0:w.body,(e=y==null?void 0:y.classNames)===null||e===void 0?void 0:e.body),style:Object.assign(Object.assign(Object.assign({},(n=y==null?void 0:y.styles)===null||n===void 0?void 0:n.body),d),g==null?void 0:g.body)},p),x)},WP=bz,Sz=t=>{const e="100%";return{left:`translateX(-${e})`,right:`translateX(${e})`,top:`translateY(-${e})`,bottom:`translateY(${e})`}[t]},GP=(t,e)=>({"&-enter, &-appear":Object.assign(Object.assign({},t),{"&-active":e}),"&-leave":Object.assign(Object.assign({},e),{"&-active":t})}),qP=(t,e)=>Object.assign({"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:`all ${e}`}}},GP({opacity:t},{opacity:1})),xz=(t,e)=>[qP(.7,e),GP({transform:Sz(t)},{transform:"none"})],Ez=t=>{const{componentCls:e,motionDurationSlow:n}=t;return{[e]:{[`${e}-mask-motion`]:qP(0,n),[`${e}-panel-motion`]:["left","right","top","bottom"].reduce((r,i)=>Object.assign(Object.assign({},r),{[`&-${i}`]:xz(i,n)}),{})}}},Cz=Ez,Tz=t=>{const{componentCls:e,zIndexPopup:n,colorBgMask:r,colorBgElevated:i,motionDurationSlow:a,motionDurationMid:o,padding:l,paddingLG:s,fontSizeLG:u,lineHeightLG:c,lineWidth:d,lineType:f,colorSplit:p,marginSM:w,colorIcon:g,colorIconHover:y,colorText:h,fontWeightStrong:v,footerPaddingBlock:m,footerPaddingInline:b}=t,E=`${e}-content-wrapper`;return{[e]:{position:"fixed",inset:0,zIndex:n,pointerEvents:"none","&-pure":{position:"relative",background:i,display:"flex",flexDirection:"column",[`&${e}-left`]:{boxShadow:t.boxShadowDrawerLeft},[`&${e}-right`]:{boxShadow:t.boxShadowDrawerRight},[`&${e}-top`]:{boxShadow:t.boxShadowDrawerUp},[`&${e}-bottom`]:{boxShadow:t.boxShadowDrawerDown}},"&-inline":{position:"absolute"},[`${e}-mask`]:{position:"absolute",inset:0,zIndex:n,background:r,pointerEvents:"auto"},[E]:{position:"absolute",zIndex:n,maxWidth:"100vw",transition:`all ${a}`,"&-hidden":{display:"none"}},[`&-left > ${E}`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:t.boxShadowDrawerLeft},[`&-right > ${E}`]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:t.boxShadowDrawerRight},[`&-top > ${E}`]:{top:0,insetInline:0,boxShadow:t.boxShadowDrawerUp},[`&-bottom > ${E}`]:{bottom:0,insetInline:0,boxShadow:t.boxShadowDrawerDown},[`${e}-content`]:{display:"flex",flexDirection:"column",width:"100%",height:"100%",overflow:"auto",background:i,pointerEvents:"auto"},[`${e}-header`]:{display:"flex",flex:0,alignItems:"center",padding:`${Ur(l)} ${Ur(s)}`,fontSize:u,lineHeight:c,borderBottom:`${Ur(d)} ${f} ${p}`,"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},[`${e}-extra`]:{flex:"none"},[`${e}-close`]:{display:"inline-block",marginInlineEnd:w,color:g,fontWeight:v,fontSize:u,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,outline:0,cursor:"pointer",transition:`color ${o}`,textRendering:"auto","&:focus, &:hover":{color:y,textDecoration:"none"}},[`${e}-title`]:{flex:1,margin:0,color:h,fontWeight:t.fontWeightStrong,fontSize:u,lineHeight:c},[`${e}-body`]:{flex:1,minWidth:0,minHeight:0,padding:s,overflow:"auto"},[`${e}-footer`]:{flexShrink:0,padding:`${Ur(m)} ${Ur(b)}`,borderTop:`${Ur(d)} ${f} ${p}`},"&-rtl":{direction:"rtl"}}}},Pz=t=>({zIndexPopup:t.zIndexPopupBase,footerPaddingBlock:t.paddingXS,footerPaddingInline:t.padding}),XP=Yj("Drawer",t=>{const e=Av(t,{});return[Tz(e),Cz(e)]},Pz);var KP=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(t);i{const{rootClassName:e,width:n,height:r,size:i="default",mask:a=!0,push:o=kz,open:l,afterOpenChange:s,onClose:u,prefixCls:c,getContainer:d,style:f,className:p,visible:w,afterVisibleChange:g,maskStyle:y,drawerStyle:h,contentWrapperStyle:v}=t,m=KP(t,["rootClassName","width","height","size","mask","push","open","afterOpenChange","onClose","prefixCls","getContainer","style","className","visible","afterVisibleChange","maskStyle","drawerStyle","contentWrapperStyle"]),{getPopupContainer:b,getPrefixCls:E,direction:x,drawer:C}=S.useContext(ra),T=E("drawer",c),[P,O,I]=XP(T),N=d===void 0&&b?()=>b(document.body):d,A=zt({"no-mask":!a,[`${T}-rtl`]:x==="rtl"},e,O,I),M=S.useMemo(()=>n??(i==="large"?736:378),[n,i]),R=S.useMemo(()=>r??(i==="large"?736:378),[r,i]),D={motionName:z1(T,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500},L=ne=>({motionName:z1(T,`panel-motion-${ne}`),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500}),k=hz(),[F,j]=r$("Drawer",m.zIndex),{classNames:B={},styles:G={}}=m,{classNames:q={},styles:K={}}=C||{};return P(S.createElement(a$,null,S.createElement(fz,{status:!0,override:!0},S.createElement(FP.Provider,{value:j},S.createElement(wz,Object.assign({prefixCls:T,onClose:u,maskMotion:D,motion:L},m,{classNames:{mask:zt(B.mask,q.mask),content:zt(B.content,q.content)},styles:{mask:Object.assign(Object.assign(Object.assign({},G.mask),y),K.mask),content:Object.assign(Object.assign(Object.assign({},G.content),h),K.content),wrapper:Object.assign(Object.assign(Object.assign({},G.wrapper),v),K.wrapper)},open:l??w,mask:a,push:o,width:M,height:R,style:Object.assign(Object.assign({},C==null?void 0:C.style),f),className:zt(C==null?void 0:C.className,p),rootClassName:A,getContainer:N,afterOpenChange:s??g,panelRef:k,zIndex:F}),S.createElement(WP,Object.assign({prefixCls:T},m,{onClose:u})))))))},Mz=t=>{const{prefixCls:e,style:n,className:r,placement:i="right"}=t,a=KP(t,["prefixCls","style","className","placement"]),{getPrefixCls:o}=S.useContext(ra),l=o("drawer",e),[s,u,c]=XP(l),d=zt(l,`${l}-pure`,`${l}-${i}`,u,c,r);return s(S.createElement("div",{className:d,style:n},S.createElement(WP,Object.assign({prefixCls:l},a))))};YP._InternalPanelDoNotUseOrYouWillBeFired=Mz;const Oz=YP,Az="_containerWrapper_1iakk_1",Lz="_container_1iakk_1",Rz="_hr_1iakk_14",Xo={containerWrapper:Az,container:Lz,hr:Rz},Dv=S.createContext({theme:"light",toggleTheme:()=>{}}),Iz=({children:t})=>{const[e,n]=S.useState(localStorage.getItem("theme")||"light"),r=()=>{const i=e==="light"?"dark":"light";localStorage.setItem("theme",i),n(i)};return V.jsx(Dv.Provider,{value:{theme:e,toggleTheme:r},children:V.jsx("div",{className:Xo.containerWrapper,"data-theme":e,children:t})})};/** * @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 Lz={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"};/** + */var Dz={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 Rz=t=>t.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase().trim(),bd=(t,e)=>{const n=S.forwardRef(({color:r="currentColor",size:i=24,strokeWidth:a=2,absoluteStrokeWidth:o,className:l="",children:s,...u},c)=>S.createElement("svg",{ref:c,...Lz,width:i,height:i,stroke:r,strokeWidth:o?Number(a)*24/Number(i):a,className:["lucide",`lucide-${Rz(t)}`,l].join(" "),...u},[...e.map(([d,f])=>S.createElement(d,f)),...Array.isArray(s)?s:[s]]));return n.displayName=`${t}`,n};/** + */const Fz=t=>t.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase().trim(),xd=(t,e)=>{const n=S.forwardRef(({color:r="currentColor",size:i=24,strokeWidth:a=2,absoluteStrokeWidth:o,className:l="",children:s,...u},c)=>S.createElement("svg",{ref:c,...Dz,width:i,height:i,stroke:r,strokeWidth:o?Number(a)*24/Number(i):a,className:["lucide",`lucide-${Fz(t)}`,l].join(" "),...u},[...e.map(([d,f])=>S.createElement(d,f)),...Array.isArray(s)?s:[s]]));return n.displayName=`${t}`,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 Iz=bd("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"}]]);/** + */const Nz=xd("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 lb=bd("Moon",[["path",{d:"M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z",key:"a7tn18"}]]);/** + */const ub=xd("Moon",[["path",{d:"M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z",key:"a7tn18"}]]);/** * @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 Dz=bd("Search",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]]);/** + */const _z=xd("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 ub=bd("Sun",[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]]),Fz="_navbar_18pra_1",Nz="_logo_18pra_13",_z="_right_18pra_28",Vz="_links_18pra_32",jz="_github_18pra_35",$z="_hamburger_18pra_47",zz="_themeButton_18pra_58",Bz="_drawerContent_18pra_93",Hz="_drawerList_18pra_97",Uz="_drawerListItem_18pra_103",sn={navbar:Fz,logo:Nz,right:_z,links:Vz,github:jz,hamburger:$z,themeButton:zz,drawerContent:Bz,drawerList:Hz,drawerListItem:Uz,"ant-drawer-close":"_ant-drawer-close_18pra_107","ant-drawer-header":"_ant-drawer-header_18pra_113","ant-drawer-title":"_ant-drawer-title_18pra_118"};function Dv({children:t,title:e}){const{theme:n,toggleTheme:r}=S.useContext(Iv),[i,a]=S.useState(!1),o=()=>{a(!i)};return V.jsxs("nav",{className:sn.navbar,children:[V.jsxs("a",{className:sn.logo,href:"/frontend-mini-challenges/",children:[V.jsx("img",{src:WN,alt:"logo"}),V.jsx("span",{children:e??"Frontend Mini Challenges"})]}),V.jsxs("div",{className:sn.right,children:[V.jsx("div",{className:sn.links,children:t}),V.jsx("a",{href:"https://github.com/sadanandpai/frontend-mini-challenges/",target:"blank",className:sn.github,children:V.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",children:V.jsx("path",{fill:"currentColor",d:"M12 2A10 10 0 0 0 2 12c0 4.42 2.87 8.17 6.84 9.5c.5.08.66-.23.66-.5v-1.69c-2.77.6-3.36-1.34-3.36-1.34c-.46-1.16-1.11-1.47-1.11-1.47c-.91-.62.07-.6.07-.6c1 .07 1.53 1.03 1.53 1.03c.87 1.52 2.34 1.07 2.91.83c.09-.65.35-1.09.63-1.34c-2.22-.25-4.55-1.11-4.55-4.92c0-1.11.38-2 1.03-2.71c-.1-.25-.45-1.29.1-2.64c0 0 .84-.27 2.75 1.02c.79-.22 1.65-.33 2.5-.33c.85 0 1.71.11 2.5.33c1.91-1.29 2.75-1.02 2.75-1.02c.55 1.35.2 2.39.1 2.64c.65.71 1.03 1.6 1.03 2.71c0 3.82-2.34 4.66-4.57 4.91c.36.31.69.92.69 1.85V21c0 .27.16.59.67.5C19.14 20.16 22 16.42 22 12A10 10 0 0 0 12 2Z"})})}),V.jsx("button",{className:sn.themeButton,onClick:r,children:n==="light"?V.jsx(ub,{}):V.jsx(lb,{})})]}),V.jsx("div",{className:sn.hamburger,children:V.jsx("button",{onClick:o,style:{color:n==="light"?"currentColor":"#ffffff"},children:V.jsx(Iz,{})})}),V.jsx(Pz,{title:V.jsx("span",{style:{color:n==="dark"?"#fff":"#000"},children:"Menu"}),placement:"right",closable:!0,onClose:o,open:i,width:"50%",className:n==="dark"?sn.darkDrawer:"",style:{background:n==="dark"?"#192841":"#fff"},children:V.jsxs("div",{className:sn.drawerContent,children:[V.jsx("ul",{className:sn.drawerList,children:Xe.Children.map(t,(l,s)=>V.jsx("li",{className:sn.drawerListItem,children:l},s))}),V.jsx("button",{className:sn.themeButton,onClick:r,children:n==="light"?V.jsx(ub,{}):V.jsx(lb,{})}),V.jsx("a",{href:"https://github.com/sadanandpai/frontend-mini-challenges/",target:"blank",className:sn.github,children:V.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",children:V.jsx("path",{fill:"currentColor",d:"M12 2A10 10 0 0 0 2 12c0 4.42 2.87 8.17 6.84 9.5c.5.08.66-.23.66-.5v-1.69c-2.77.6-3.36-1.34-3.36-1.34c-.46-1.16-1.11-1.47-1.11-1.47c-.91-.62.07-.6.07-.6c1 .07 1.53 1.03 1.53 1.03c.87 1.52 2.34 1.07 2.91.83c.09-.65.35-1.09.63-1.34c-2.22-.25-4.55-1.11-4.55-4.92c0-1.11.38-2 1.03-2.71c-.1-.25-.45-1.29.1-2.64c0 0 .84-.27 2.75 1.02c.79-.22 1.65-.33 2.5-.33c.85 0 1.71.11 2.5.33c1.91-1.29 2.75-1.02 2.75-1.02c.55 1.35.2 2.39.1 2.64c.65.71 1.03 1.6 1.03 2.71c0 3.82-2.34 4.66-4.57 4.91c.36.31.69.92.69 1.85V21c0 .27.16.59.67.5C19.14 20.16 22 16.42 22 12A10 10 0 0 0 12 2Z"})})})]})})]})}function cb(t){return t!==null&&typeof t=="object"&&"constructor"in t&&t.constructor===Object}function Fv(t,e){t===void 0&&(t={}),e===void 0&&(e={}),Object.keys(e).forEach(n=>{typeof t[n]>"u"?t[n]=e[n]:cb(e[n])&&cb(t[n])&&Object.keys(e[n]).length>0&&Fv(t[n],e[n])})}const YP={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector(){return null},querySelectorAll(){return[]},getElementById(){return null},createEvent(){return{initEvent(){}}},createElement(){return{children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName(){return[]}}},createElementNS(){return{}},importNode(){return null},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function Ht(){const t=typeof document<"u"?document:{};return Fv(t,YP),t}const Wz={document:YP,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle(){return{getPropertyValue(){return""}}},Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia(){return{}},requestAnimationFrame(t){return typeof setTimeout>"u"?(t(),null):setTimeout(t,0)},cancelAnimationFrame(t){typeof setTimeout>"u"||clearTimeout(t)}};function Ke(){const t=typeof window<"u"?window:{};return Fv(t,Wz),t}function jr(t){return t===void 0&&(t=""),t.trim().split(" ").filter(e=>!!e.trim())}function Gz(t){const e=t;Object.keys(e).forEach(n=>{try{e[n]=null}catch{}try{delete e[n]}catch{}})}function Zi(t,e){return e===void 0&&(e=0),setTimeout(t,e)}function An(){return Date.now()}function qz(t){const e=Ke();let n;return e.getComputedStyle&&(n=e.getComputedStyle(t,null)),!n&&t.currentStyle&&(n=t.currentStyle),n||(n=t.style),n}function Em(t,e){e===void 0&&(e="x");const n=Ke();let r,i,a;const o=qz(t);return n.WebKitCSSMatrix?(i=o.transform||o.webkitTransform,i.split(",").length>6&&(i=i.split(", ").map(l=>l.replace(",",".")).join(", ")),a=new n.WebKitCSSMatrix(i==="none"?"":i)):(a=o.MozTransform||o.OTransform||o.MsTransform||o.msTransform||o.transform||o.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),r=a.toString().split(",")),e==="x"&&(n.WebKitCSSMatrix?i=a.m41:r.length===16?i=parseFloat(r[12]):i=parseFloat(r[4])),e==="y"&&(n.WebKitCSSMatrix?i=a.m42:r.length===16?i=parseFloat(r[13]):i=parseFloat(r[5])),i||0}function Ko(t){return typeof t=="object"&&t!==null&&t.constructor&&Object.prototype.toString.call(t).slice(8,-1)==="Object"}function Xz(t){return typeof window<"u"&&typeof window.HTMLElement<"u"?t instanceof HTMLElement:t&&(t.nodeType===1||t.nodeType===11)}function dn(){const t=Object(arguments.length<=0?void 0:arguments[0]),e=["__proto__","constructor","prototype"];for(let n=1;ne.indexOf(a)<0);for(let a=0,o=i.length;aa?"next":"prev",c=(f,p)=>u==="next"&&f>=p||u==="prev"&&f<=p,d=()=>{l=new Date().getTime(),o===null&&(o=l);const f=Math.max(Math.min((l-o)/s,1),0),p=.5-Math.cos(f*Math.PI)/2;let w=a+p*(n-a);if(c(w,n)&&(w=n),e.wrapperEl.scrollTo({[r]:w}),c(w,n)){e.wrapperEl.style.overflow="hidden",e.wrapperEl.style.scrollSnapType="",setTimeout(()=>{e.wrapperEl.style.overflow="",e.wrapperEl.scrollTo({[r]:w})}),i.cancelAnimationFrame(e.cssModeFrameID);return}e.cssModeFrameID=i.requestAnimationFrame(d)};d()}function ia(t){return t.querySelector(".swiper-slide-transform")||t.shadowRoot&&t.shadowRoot.querySelector(".swiper-slide-transform")||t}function Ct(t,e){return e===void 0&&(e=""),[...t.children].filter(n=>n.matches(e))}function yc(t){try{console.warn(t);return}catch{}}function mn(t,e){e===void 0&&(e=[]);const n=document.createElement(t);return n.classList.add(...Array.isArray(e)?e:jr(e)),n}function wc(t){const e=Ke(),n=Ht(),r=t.getBoundingClientRect(),i=n.body,a=t.clientTop||i.clientTop||0,o=t.clientLeft||i.clientLeft||0,l=t===e?e.scrollY:t.scrollTop,s=t===e?e.scrollX:t.scrollLeft;return{top:r.top+l-a,left:r.left+s-o}}function Kz(t,e){const n=[];for(;t.previousElementSibling;){const r=t.previousElementSibling;e?r.matches(e)&&n.push(r):n.push(r),t=r}return n}function Yz(t,e){const n=[];for(;t.nextElementSibling;){const r=t.nextElementSibling;e?r.matches(e)&&n.push(r):n.push(r),t=r}return n}function Yr(t,e){return Ke().getComputedStyle(t,null).getPropertyValue(e)}function qs(t){let e=t,n;if(e){for(n=0;(e=e.previousSibling)!==null;)e.nodeType===1&&(n+=1);return n}}function Ui(t,e){const n=[];let r=t.parentElement;for(;r;)e?r.matches(e)&&n.push(r):n.push(r),r=r.parentElement;return n}function ws(t,e){function n(r){r.target===t&&(e.call(t,r),t.removeEventListener("transitionend",n))}e&&t.addEventListener("transitionend",n)}function Cm(t,e,n){const r=Ke();return n?t[e==="width"?"offsetWidth":"offsetHeight"]+parseFloat(r.getComputedStyle(t,null).getPropertyValue(e==="width"?"margin-right":"margin-top"))+parseFloat(r.getComputedStyle(t,null).getPropertyValue(e==="width"?"margin-left":"margin-bottom")):t.offsetWidth}function Qz(t){let{swiper:e,extendParams:n,on:r,emit:i}=t;n({virtual:{enabled:!1,slides:[],cache:!0,renderSlide:null,renderExternal:null,renderExternalUpdate:!0,addSlidesBefore:0,addSlidesAfter:0}});let a;const o=Ht();e.virtual={cache:{},from:void 0,to:void 0,slides:[],offset:0,slidesGrid:[]};const l=o.createElement("div");function s(w,g){const y=e.params.virtual;if(y.cache&&e.virtual.cache[g])return e.virtual.cache[g];let h;return y.renderSlide?(h=y.renderSlide.call(e,w,g),typeof h=="string"&&(l.innerHTML=h,h=l.children[0])):e.isElement?h=mn("swiper-slide"):h=mn("div",e.params.slideClass),h.setAttribute("data-swiper-slide-index",g),y.renderSlide||(h.innerHTML=w),y.cache&&(e.virtual.cache[g]=h),h}function u(w){const{slidesPerView:g,slidesPerGroup:y,centeredSlides:h,loop:v}=e.params,{addSlidesBefore:m,addSlidesAfter:b}=e.params.virtual,{from:E,to:x,slides:C,slidesGrid:T,offset:P}=e.virtual;e.params.cssMode||e.updateActiveIndex();const O=e.activeIndex||0;let I;e.rtlTranslate?I="right":I=e.isHorizontal()?"left":"top";let N,A;h?(N=Math.floor(g/2)+y+b,A=Math.floor(g/2)+y+m):(N=g+(y-1)+b,A=(v?g:y)+m);let M=O-A,R=O+N;v||(M=Math.max(M,0),R=Math.min(R,C.length-1));let D=(e.slidesGrid[M]||0)-(e.slidesGrid[0]||0);v&&O>=A?(M-=A,h||(D+=e.slidesGrid[0])):v&&O{q.style[I]=`${D-Math.abs(e.cssOverflowAdjustment())}px`}),e.updateProgress(),i("virtualUpdate");return}if(e.params.virtual.renderExternal){e.params.virtual.renderExternal.call(e,{offset:D,from:M,to:R,slides:function(){const K=[];for(let ne=M;ne<=R;ne+=1)K.push(C[ne]);return K}()}),e.params.virtual.renderExternalUpdate?L():i("virtualUpdate");return}const k=[],F=[],j=q=>{let K=q;return q<0?K=C.length+q:K>=C.length&&(K=K-C.length),K};if(w)e.slides.filter(q=>q.matches(`.${e.params.slideClass}, swiper-slide`)).forEach(q=>{q.remove()});else for(let q=E;q<=x;q+=1)if(qR){const K=j(q);e.slides.filter(ne=>ne.matches(`.${e.params.slideClass}[data-swiper-slide-index="${K}"], swiper-slide[data-swiper-slide-index="${K}"]`)).forEach(ne=>{ne.remove()})}const B=v?-C.length:0,G=v?C.length*2:C.length;for(let q=B;q=M&&q<=R){const K=j(q);typeof x>"u"||w?F.push(K):(q>x&&F.push(K),q{e.slidesEl.append(s(C[q],q))}),v)for(let q=k.length-1;q>=0;q-=1){const K=k[q];e.slidesEl.prepend(s(C[K],K))}else k.sort((q,K)=>K-q),k.forEach(q=>{e.slidesEl.prepend(s(C[q],q))});Ct(e.slidesEl,".swiper-slide, swiper-slide").forEach(q=>{q.style[I]=`${D-Math.abs(e.cssOverflowAdjustment())}px`}),L()}function c(w){if(typeof w=="object"&&"length"in w)for(let g=0;g{const E=v[b],x=E.getAttribute("data-swiper-slide-index");x&&E.setAttribute("data-swiper-slide-index",parseInt(x,10)+h),m[parseInt(b,10)+h]=E}),e.virtual.cache=m}u(!0),e.slideTo(y,0)}function f(w){if(typeof w>"u"||w===null)return;let g=e.activeIndex;if(Array.isArray(w))for(let y=w.length-1;y>=0;y-=1)e.params.virtual.cache&&(delete e.virtual.cache[w[y]],Object.keys(e.virtual.cache).forEach(h=>{h>w&&(e.virtual.cache[h-1]=e.virtual.cache[h],e.virtual.cache[h-1].setAttribute("data-swiper-slide-index",h-1),delete e.virtual.cache[h])})),e.virtual.slides.splice(w[y],1),w[y]{y>w&&(e.virtual.cache[y-1]=e.virtual.cache[y],e.virtual.cache[y-1].setAttribute("data-swiper-slide-index",y-1),delete e.virtual.cache[y])})),e.virtual.slides.splice(w,1),w{if(!e.params.virtual.enabled)return;let w;if(typeof e.passedParams.virtual.slides>"u"){const g=[...e.slidesEl.children].filter(y=>y.matches(`.${e.params.slideClass}, swiper-slide`));g&&g.length&&(e.virtual.slides=[...g],w=!0,g.forEach((y,h)=>{y.setAttribute("data-swiper-slide-index",h),e.virtual.cache[h]=y,y.remove()}))}w||(e.virtual.slides=e.params.virtual.slides),e.classNames.push(`${e.params.containerModifierClass}virtual`),e.params.watchSlidesProgress=!0,e.originalParams.watchSlidesProgress=!0,u()}),r("setTranslate",()=>{e.params.virtual.enabled&&(e.params.cssMode&&!e._immediateVirtual?(clearTimeout(a),a=setTimeout(()=>{u()},100)):u())}),r("init update resize",()=>{e.params.virtual.enabled&&e.params.cssMode&&Yo(e.wrapperEl,"--swiper-virtual-size",`${e.virtualSize}px`)}),Object.assign(e.virtual,{appendSlide:c,prependSlide:d,removeSlide:f,removeAllSlides:p,update:u})}function Zz(t){let{swiper:e,extendParams:n,on:r,emit:i}=t;const a=Ht(),o=Ke();e.keyboard={enabled:!1},n({keyboard:{enabled:!1,onlyInViewport:!0,pageUpDown:!0}});function l(c){if(!e.enabled)return;const{rtlTranslate:d}=e;let f=c;f.originalEvent&&(f=f.originalEvent);const p=f.keyCode||f.charCode,w=e.params.keyboard.pageUpDown,g=w&&p===33,y=w&&p===34,h=p===37,v=p===39,m=p===38,b=p===40;if(!e.allowSlideNext&&(e.isHorizontal()&&v||e.isVertical()&&b||y)||!e.allowSlidePrev&&(e.isHorizontal()&&h||e.isVertical()&&m||g))return!1;if(!(f.shiftKey||f.altKey||f.ctrlKey||f.metaKey)&&!(a.activeElement&&a.activeElement.nodeName&&(a.activeElement.nodeName.toLowerCase()==="input"||a.activeElement.nodeName.toLowerCase()==="textarea"))){if(e.params.keyboard.onlyInViewport&&(g||y||h||v||m||b)){let E=!1;if(Ui(e.el,`.${e.params.slideClass}, swiper-slide`).length>0&&Ui(e.el,`.${e.params.slideActiveClass}`).length===0)return;const x=e.el,C=x.clientWidth,T=x.clientHeight,P=o.innerWidth,O=o.innerHeight,I=wc(x);d&&(I.left-=x.scrollLeft);const N=[[I.left,I.top],[I.left+C,I.top],[I.left,I.top+T],[I.left+C,I.top+T]];for(let A=0;A=0&&M[0]<=P&&M[1]>=0&&M[1]<=O){if(M[0]===0&&M[1]===0)continue;E=!0}}if(!E)return}e.isHorizontal()?((g||y||h||v)&&(f.preventDefault?f.preventDefault():f.returnValue=!1),((y||v)&&!d||(g||h)&&d)&&e.slideNext(),((g||h)&&!d||(y||v)&&d)&&e.slidePrev()):((g||y||m||b)&&(f.preventDefault?f.preventDefault():f.returnValue=!1),(y||b)&&e.slideNext(),(g||m)&&e.slidePrev()),i("keyPress",p)}}function s(){e.keyboard.enabled||(a.addEventListener("keydown",l),e.keyboard.enabled=!0)}function u(){e.keyboard.enabled&&(a.removeEventListener("keydown",l),e.keyboard.enabled=!1)}r("init",()=>{e.params.keyboard.enabled&&s()}),r("destroy",()=>{e.keyboard.enabled&&u()}),Object.assign(e.keyboard,{enable:s,disable:u})}function Jz(t){let{swiper:e,extendParams:n,on:r,emit:i}=t;const a=Ke();n({mousewheel:{enabled:!1,releaseOnEdges:!1,invert:!1,forceToAxis:!1,sensitivity:1,eventsTarget:"container",thresholdDelta:null,thresholdTime:null,noMousewheelClass:"swiper-no-mousewheel"}}),e.mousewheel={enabled:!1};let o,l=An(),s;const u=[];function c(m){let C=0,T=0,P=0,O=0;return"detail"in m&&(T=m.detail),"wheelDelta"in m&&(T=-m.wheelDelta/120),"wheelDeltaY"in m&&(T=-m.wheelDeltaY/120),"wheelDeltaX"in m&&(C=-m.wheelDeltaX/120),"axis"in m&&m.axis===m.HORIZONTAL_AXIS&&(C=T,T=0),P=C*10,O=T*10,"deltaY"in m&&(O=m.deltaY),"deltaX"in m&&(P=m.deltaX),m.shiftKey&&!P&&(P=O,O=0),(P||O)&&m.deltaMode&&(m.deltaMode===1?(P*=40,O*=40):(P*=800,O*=800)),P&&!C&&(C=P<1?-1:1),O&&!T&&(T=O<1?-1:1),{spinX:C,spinY:T,pixelX:P,pixelY:O}}function d(){e.enabled&&(e.mouseEntered=!0)}function f(){e.enabled&&(e.mouseEntered=!1)}function p(m){return e.params.mousewheel.thresholdDelta&&m.delta=6&&An()-l<60?!0:(m.direction<0?(!e.isEnd||e.params.loop)&&!e.animating&&(e.slideNext(),i("scroll",m.raw)):(!e.isBeginning||e.params.loop)&&!e.animating&&(e.slidePrev(),i("scroll",m.raw)),l=new a.Date().getTime(),!1)}function w(m){const b=e.params.mousewheel;if(m.direction<0){if(e.isEnd&&!e.params.loop&&b.releaseOnEdges)return!0}else if(e.isBeginning&&!e.params.loop&&b.releaseOnEdges)return!0;return!1}function g(m){let b=m,E=!0;if(!e.enabled||m.target.closest(`.${e.params.mousewheel.noMousewheelClass}`))return;const x=e.params.mousewheel;e.params.cssMode&&b.preventDefault();let C=e.el;e.params.mousewheel.eventsTarget!=="container"&&(C=document.querySelector(e.params.mousewheel.eventsTarget));const T=C&&C.contains(b.target);if(!e.mouseEntered&&!T&&!x.releaseOnEdges)return!0;b.originalEvent&&(b=b.originalEvent);let P=0;const O=e.rtlTranslate?-1:1,I=c(b);if(x.forceToAxis)if(e.isHorizontal())if(Math.abs(I.pixelX)>Math.abs(I.pixelY))P=-I.pixelX*O;else return!0;else if(Math.abs(I.pixelY)>Math.abs(I.pixelX))P=-I.pixelY;else return!0;else P=Math.abs(I.pixelX)>Math.abs(I.pixelY)?-I.pixelX*O:-I.pixelY;if(P===0)return!0;x.invert&&(P=-P);let N=e.getTranslate()+P*x.sensitivity;if(N>=e.minTranslate()&&(N=e.minTranslate()),N<=e.maxTranslate()&&(N=e.maxTranslate()),E=e.params.loop?!0:!(N===e.minTranslate()||N===e.maxTranslate()),E&&e.params.nested&&b.stopPropagation(),!e.params.freeMode||!e.params.freeMode.enabled){const A={time:An(),delta:Math.abs(P),direction:Math.sign(P),raw:m};u.length>=2&&u.shift();const M=u.length?u[u.length-1]:void 0;if(u.push(A),M?(A.direction!==M.direction||A.delta>M.delta||A.time>M.time+150)&&p(A):p(A),w(A))return!0}else{const A={time:An(),delta:Math.abs(P),direction:Math.sign(P)},M=s&&A.time=e.minTranslate()&&(R=e.minTranslate()),R<=e.maxTranslate()&&(R=e.maxTranslate()),e.setTransition(0),e.setTranslate(R),e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses(),(!D&&e.isBeginning||!L&&e.isEnd)&&e.updateSlidesClasses(),e.params.loop&&e.loopFix({direction:A.direction<0?"next":"prev",byMousewheel:!0}),e.params.freeMode.sticky){clearTimeout(o),o=void 0,u.length>=15&&u.shift();const k=u.length?u[u.length-1]:void 0,F=u[0];if(u.push(A),k&&(A.delta>k.delta||A.direction!==k.direction))u.splice(0);else if(u.length>=15&&A.time-F.time<500&&F.delta-A.delta>=1&&A.delta<=6){const j=P>0?.8:.2;s=A,u.splice(0),o=Zi(()=>{e.slideToClosest(e.params.speed,!0,void 0,j)},0)}o||(o=Zi(()=>{s=A,u.splice(0),e.slideToClosest(e.params.speed,!0,void 0,.5)},500))}if(M||i("scroll",b),e.params.autoplay&&e.params.autoplayDisableOnInteraction&&e.autoplay.stop(),x.releaseOnEdges&&(R===e.minTranslate()||R===e.maxTranslate()))return!0}}return b.preventDefault?b.preventDefault():b.returnValue=!1,!1}function y(m){let b=e.el;e.params.mousewheel.eventsTarget!=="container"&&(b=document.querySelector(e.params.mousewheel.eventsTarget)),b[m]("mouseenter",d),b[m]("mouseleave",f),b[m]("wheel",g)}function h(){return e.params.cssMode?(e.wrapperEl.removeEventListener("wheel",g),!0):e.mousewheel.enabled?!1:(y("addEventListener"),e.mousewheel.enabled=!0,!0)}function v(){return e.params.cssMode?(e.wrapperEl.addEventListener(event,g),!0):e.mousewheel.enabled?(y("removeEventListener"),e.mousewheel.enabled=!1,!0):!1}r("init",()=>{!e.params.mousewheel.enabled&&e.params.cssMode&&v(),e.params.mousewheel.enabled&&h()}),r("destroy",()=>{e.params.cssMode&&h(),e.mousewheel.enabled&&v()}),Object.assign(e.mousewheel,{enable:h,disable:v})}function Nv(t,e,n,r){return t.params.createElements&&Object.keys(r).forEach(i=>{if(!n[i]&&n.auto===!0){let a=Ct(t.el,`.${r[i]}`)[0];a||(a=mn("div",r[i]),a.className=r[i],t.el.append(a)),n[i]=a,e[i]=a}}),n}function ZP(t){let{swiper:e,extendParams:n,on:r,emit:i}=t;n({navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock",navigationDisabledClass:"swiper-navigation-disabled"}}),e.navigation={nextEl:null,prevEl:null};const a=g=>(Array.isArray(g)?g:[g]).filter(y=>!!y);function o(g){let y;return g&&typeof g=="string"&&e.isElement&&(y=e.el.querySelector(g),y)?y:(g&&(typeof g=="string"&&(y=[...document.querySelectorAll(g)]),e.params.uniqueNavElements&&typeof g=="string"&&y.length>1&&e.el.querySelectorAll(g).length===1&&(y=e.el.querySelector(g))),g&&!y?g:y)}function l(g,y){const h=e.params.navigation;g=a(g),g.forEach(v=>{v&&(v.classList[y?"add":"remove"](...h.disabledClass.split(" ")),v.tagName==="BUTTON"&&(v.disabled=y),e.params.watchOverflow&&e.enabled&&v.classList[e.isLocked?"add":"remove"](h.lockClass))})}function s(){const{nextEl:g,prevEl:y}=e.navigation;if(e.params.loop){l(y,!1),l(g,!1);return}l(y,e.isBeginning&&!e.params.rewind),l(g,e.isEnd&&!e.params.rewind)}function u(g){g.preventDefault(),!(e.isBeginning&&!e.params.loop&&!e.params.rewind)&&(e.slidePrev(),i("navigationPrev"))}function c(g){g.preventDefault(),!(e.isEnd&&!e.params.loop&&!e.params.rewind)&&(e.slideNext(),i("navigationNext"))}function d(){const g=e.params.navigation;if(e.params.navigation=Nv(e,e.originalParams.navigation,e.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),!(g.nextEl||g.prevEl))return;let y=o(g.nextEl),h=o(g.prevEl);Object.assign(e.navigation,{nextEl:y,prevEl:h}),y=a(y),h=a(h);const v=(m,b)=>{m&&m.addEventListener("click",b==="next"?c:u),!e.enabled&&m&&m.classList.add(...g.lockClass.split(" "))};y.forEach(m=>v(m,"next")),h.forEach(m=>v(m,"prev"))}function f(){let{nextEl:g,prevEl:y}=e.navigation;g=a(g),y=a(y);const h=(v,m)=>{v.removeEventListener("click",m==="next"?c:u),v.classList.remove(...e.params.navigation.disabledClass.split(" "))};g.forEach(v=>h(v,"next")),y.forEach(v=>h(v,"prev"))}r("init",()=>{e.params.navigation.enabled===!1?w():(d(),s())}),r("toEdge fromEdge lock unlock",()=>{s()}),r("destroy",()=>{f()}),r("enable disable",()=>{let{nextEl:g,prevEl:y}=e.navigation;if(g=a(g),y=a(y),e.enabled){s();return}[...g,...y].filter(h=>!!h).forEach(h=>h.classList.add(e.params.navigation.lockClass))}),r("click",(g,y)=>{let{nextEl:h,prevEl:v}=e.navigation;h=a(h),v=a(v);const m=y.target;if(e.params.navigation.hideOnClick&&!v.includes(m)&&!h.includes(m)){if(e.pagination&&e.params.pagination&&e.params.pagination.clickable&&(e.pagination.el===m||e.pagination.el.contains(m)))return;let b;h.length?b=h[0].classList.contains(e.params.navigation.hiddenClass):v.length&&(b=v[0].classList.contains(e.params.navigation.hiddenClass)),i(b===!0?"navigationShow":"navigationHide"),[...h,...v].filter(E=>!!E).forEach(E=>E.classList.toggle(e.params.navigation.hiddenClass))}});const p=()=>{e.el.classList.remove(...e.params.navigation.navigationDisabledClass.split(" ")),d(),s()},w=()=>{e.el.classList.add(...e.params.navigation.navigationDisabledClass.split(" ")),f()};Object.assign(e.navigation,{enable:p,disable:w,update:s,init:d,destroy:f})}function yr(t){return t===void 0&&(t=""),`.${t.trim().replace(/([\.:!+\/])/g,"\\$1").replace(/ /g,".")}`}function JP(t){let{swiper:e,extendParams:n,on:r,emit:i}=t;const a="swiper-pagination";n({pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:v=>v,formatFractionTotal:v=>v,bulletClass:`${a}-bullet`,bulletActiveClass:`${a}-bullet-active`,modifierClass:`${a}-`,currentClass:`${a}-current`,totalClass:`${a}-total`,hiddenClass:`${a}-hidden`,progressbarFillClass:`${a}-progressbar-fill`,progressbarOppositeClass:`${a}-progressbar-opposite`,clickableClass:`${a}-clickable`,lockClass:`${a}-lock`,horizontalClass:`${a}-horizontal`,verticalClass:`${a}-vertical`,paginationDisabledClass:`${a}-disabled`}}),e.pagination={el:null,bullets:[]};let o,l=0;const s=v=>(Array.isArray(v)?v:[v]).filter(m=>!!m);function u(){return!e.params.pagination.el||!e.pagination.el||Array.isArray(e.pagination.el)&&e.pagination.el.length===0}function c(v,m){const{bulletActiveClass:b}=e.params.pagination;v&&(v=v[`${m==="prev"?"previous":"next"}ElementSibling`],v&&(v.classList.add(`${b}-${m}`),v=v[`${m==="prev"?"previous":"next"}ElementSibling`],v&&v.classList.add(`${b}-${m}-${m}`)))}function d(v){const m=v.target.closest(yr(e.params.pagination.bulletClass));if(!m)return;v.preventDefault();const b=qs(m)*e.params.slidesPerGroup;if(e.params.loop){if(e.realIndex===b)return;e.slideToLoop(b)}else e.slideTo(b)}function f(){const v=e.rtl,m=e.params.pagination;if(u())return;let b=e.pagination.el;b=s(b);let E,x;const C=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,T=e.params.loop?Math.ceil(C/e.params.slidesPerGroup):e.snapGrid.length;if(e.params.loop?(x=e.previousRealIndex||0,E=e.params.slidesPerGroup>1?Math.floor(e.realIndex/e.params.slidesPerGroup):e.realIndex):typeof e.snapIndex<"u"?(E=e.snapIndex,x=e.previousSnapIndex):(x=e.previousIndex||0,E=e.activeIndex||0),m.type==="bullets"&&e.pagination.bullets&&e.pagination.bullets.length>0){const P=e.pagination.bullets;let O,I,N;if(m.dynamicBullets&&(o=Cm(P[0],e.isHorizontal()?"width":"height",!0),b.forEach(A=>{A.style[e.isHorizontal()?"width":"height"]=`${o*(m.dynamicMainBullets+4)}px`}),m.dynamicMainBullets>1&&x!==void 0&&(l+=E-(x||0),l>m.dynamicMainBullets-1?l=m.dynamicMainBullets-1:l<0&&(l=0)),O=Math.max(E-l,0),I=O+(Math.min(P.length,m.dynamicMainBullets)-1),N=(I+O)/2),P.forEach(A=>{const M=[...["","-next","-next-next","-prev","-prev-prev","-main"].map(R=>`${m.bulletActiveClass}${R}`)].map(R=>typeof R=="string"&&R.includes(" ")?R.split(" "):R).flat();A.classList.remove(...M)}),b.length>1)P.forEach(A=>{const M=qs(A);M===E?A.classList.add(...m.bulletActiveClass.split(" ")):e.isElement&&A.setAttribute("part","bullet"),m.dynamicBullets&&(M>=O&&M<=I&&A.classList.add(...`${m.bulletActiveClass}-main`.split(" ")),M===O&&c(A,"prev"),M===I&&c(A,"next"))});else{const A=P[E];if(A&&A.classList.add(...m.bulletActiveClass.split(" ")),e.isElement&&P.forEach((M,R)=>{M.setAttribute("part",R===E?"bullet-active":"bullet")}),m.dynamicBullets){const M=P[O],R=P[I];for(let D=O;D<=I;D+=1)P[D]&&P[D].classList.add(...`${m.bulletActiveClass}-main`.split(" "));c(M,"prev"),c(R,"next")}}if(m.dynamicBullets){const A=Math.min(P.length,m.dynamicMainBullets+4),M=(o*A-o)/2-N*o,R=v?"right":"left";P.forEach(D=>{D.style[e.isHorizontal()?R:"top"]=`${M}px`})}}b.forEach((P,O)=>{if(m.type==="fraction"&&(P.querySelectorAll(yr(m.currentClass)).forEach(I=>{I.textContent=m.formatFractionCurrent(E+1)}),P.querySelectorAll(yr(m.totalClass)).forEach(I=>{I.textContent=m.formatFractionTotal(T)})),m.type==="progressbar"){let I;m.progressbarOpposite?I=e.isHorizontal()?"vertical":"horizontal":I=e.isHorizontal()?"horizontal":"vertical";const N=(E+1)/T;let A=1,M=1;I==="horizontal"?A=N:M=N,P.querySelectorAll(yr(m.progressbarFillClass)).forEach(R=>{R.style.transform=`translate3d(0,0,0) scaleX(${A}) scaleY(${M})`,R.style.transitionDuration=`${e.params.speed}ms`})}m.type==="custom"&&m.renderCustom?(P.innerHTML=m.renderCustom(e,E+1,T),O===0&&i("paginationRender",P)):(O===0&&i("paginationRender",P),i("paginationUpdate",P)),e.params.watchOverflow&&e.enabled&&P.classList[e.isLocked?"add":"remove"](m.lockClass)})}function p(){const v=e.params.pagination;if(u())return;const m=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.grid&&e.params.grid.rows>1?e.slides.length/Math.ceil(e.params.grid.rows):e.slides.length;let b=e.pagination.el;b=s(b);let E="";if(v.type==="bullets"){let x=e.params.loop?Math.ceil(m/e.params.slidesPerGroup):e.snapGrid.length;e.params.freeMode&&e.params.freeMode.enabled&&x>m&&(x=m);for(let C=0;C`}v.type==="fraction"&&(v.renderFraction?E=v.renderFraction.call(e,v.currentClass,v.totalClass):E=` / `),v.type==="progressbar"&&(v.renderProgressbar?E=v.renderProgressbar.call(e,v.progressbarFillClass):E=``),e.pagination.bullets=[],b.forEach(x=>{v.type!=="custom"&&(x.innerHTML=E||""),v.type==="bullets"&&e.pagination.bullets.push(...x.querySelectorAll(yr(v.bulletClass)))}),v.type!=="custom"&&i("paginationRender",b[0])}function w(){e.params.pagination=Nv(e,e.originalParams.pagination,e.params.pagination,{el:"swiper-pagination"});const v=e.params.pagination;if(!v.el)return;let m;typeof v.el=="string"&&e.isElement&&(m=e.el.querySelector(v.el)),!m&&typeof v.el=="string"&&(m=[...document.querySelectorAll(v.el)]),m||(m=v.el),!(!m||m.length===0)&&(e.params.uniqueNavElements&&typeof v.el=="string"&&Array.isArray(m)&&m.length>1&&(m=[...e.el.querySelectorAll(v.el)],m.length>1&&(m=m.filter(b=>Ui(b,".swiper")[0]===e.el)[0])),Array.isArray(m)&&m.length===1&&(m=m[0]),Object.assign(e.pagination,{el:m}),m=s(m),m.forEach(b=>{v.type==="bullets"&&v.clickable&&b.classList.add(...(v.clickableClass||"").split(" ")),b.classList.add(v.modifierClass+v.type),b.classList.add(e.isHorizontal()?v.horizontalClass:v.verticalClass),v.type==="bullets"&&v.dynamicBullets&&(b.classList.add(`${v.modifierClass}${v.type}-dynamic`),l=0,v.dynamicMainBullets<1&&(v.dynamicMainBullets=1)),v.type==="progressbar"&&v.progressbarOpposite&&b.classList.add(v.progressbarOppositeClass),v.clickable&&b.addEventListener("click",d),e.enabled||b.classList.add(v.lockClass)}))}function g(){const v=e.params.pagination;if(u())return;let m=e.pagination.el;m&&(m=s(m),m.forEach(b=>{b.classList.remove(v.hiddenClass),b.classList.remove(v.modifierClass+v.type),b.classList.remove(e.isHorizontal()?v.horizontalClass:v.verticalClass),v.clickable&&(b.classList.remove(...(v.clickableClass||"").split(" ")),b.removeEventListener("click",d))})),e.pagination.bullets&&e.pagination.bullets.forEach(b=>b.classList.remove(...v.bulletActiveClass.split(" ")))}r("changeDirection",()=>{if(!e.pagination||!e.pagination.el)return;const v=e.params.pagination;let{el:m}=e.pagination;m=s(m),m.forEach(b=>{b.classList.remove(v.horizontalClass,v.verticalClass),b.classList.add(e.isHorizontal()?v.horizontalClass:v.verticalClass)})}),r("init",()=>{e.params.pagination.enabled===!1?h():(w(),p(),f())}),r("activeIndexChange",()=>{typeof e.snapIndex>"u"&&f()}),r("snapIndexChange",()=>{f()}),r("snapGridLengthChange",()=>{p(),f()}),r("destroy",()=>{g()}),r("enable disable",()=>{let{el:v}=e.pagination;v&&(v=s(v),v.forEach(m=>m.classList[e.enabled?"remove":"add"](e.params.pagination.lockClass)))}),r("lock unlock",()=>{f()}),r("click",(v,m)=>{const b=m.target,E=s(e.pagination.el);if(e.params.pagination.el&&e.params.pagination.hideOnClick&&E&&E.length>0&&!b.classList.contains(e.params.pagination.bulletClass)){if(e.navigation&&(e.navigation.nextEl&&b===e.navigation.nextEl||e.navigation.prevEl&&b===e.navigation.prevEl))return;const x=E[0].classList.contains(e.params.pagination.hiddenClass);i(x===!0?"paginationShow":"paginationHide"),E.forEach(C=>C.classList.toggle(e.params.pagination.hiddenClass))}});const y=()=>{e.el.classList.remove(e.params.pagination.paginationDisabledClass);let{el:v}=e.pagination;v&&(v=s(v),v.forEach(m=>m.classList.remove(e.params.pagination.paginationDisabledClass))),w(),p(),f()},h=()=>{e.el.classList.add(e.params.pagination.paginationDisabledClass);let{el:v}=e.pagination;v&&(v=s(v),v.forEach(m=>m.classList.add(e.params.pagination.paginationDisabledClass))),g()};Object.assign(e.pagination,{enable:y,disable:h,render:p,update:f,init:w,destroy:g})}function e5(t){let{swiper:e,extendParams:n,on:r,emit:i}=t;const a=Ht();let o=!1,l=null,s=null,u,c,d,f;n({scrollbar:{el:null,dragSize:"auto",hide:!1,draggable:!1,snapOnRelease:!0,lockClass:"swiper-scrollbar-lock",dragClass:"swiper-scrollbar-drag",scrollbarDisabledClass:"swiper-scrollbar-disabled",horizontalClass:"swiper-scrollbar-horizontal",verticalClass:"swiper-scrollbar-vertical"}}),e.scrollbar={el:null,dragEl:null};function p(){if(!e.params.scrollbar.el||!e.scrollbar.el)return;const{scrollbar:N,rtlTranslate:A}=e,{dragEl:M,el:R}=N,D=e.params.scrollbar,L=e.params.loop?e.progressLoop:e.progress;let k=c,F=(d-c)*L;A?(F=-F,F>0?(k=c-F,F=0):-F+c>d&&(k=d+F)):F<0?(k=c+F,F=0):F+c>d&&(k=d-F),e.isHorizontal()?(M.style.transform=`translate3d(${F}px, 0, 0)`,M.style.width=`${k}px`):(M.style.transform=`translate3d(0px, ${F}px, 0)`,M.style.height=`${k}px`),D.hide&&(clearTimeout(l),R.style.opacity=1,l=setTimeout(()=>{R.style.opacity=0,R.style.transitionDuration="400ms"},1e3))}function w(N){!e.params.scrollbar.el||!e.scrollbar.el||(e.scrollbar.dragEl.style.transitionDuration=`${N}ms`)}function g(){if(!e.params.scrollbar.el||!e.scrollbar.el)return;const{scrollbar:N}=e,{dragEl:A,el:M}=N;A.style.width="",A.style.height="",d=e.isHorizontal()?M.offsetWidth:M.offsetHeight,f=e.size/(e.virtualSize+e.params.slidesOffsetBefore-(e.params.centeredSlides?e.snapGrid[0]:0)),e.params.scrollbar.dragSize==="auto"?c=d*f:c=parseInt(e.params.scrollbar.dragSize,10),e.isHorizontal()?A.style.width=`${c}px`:A.style.height=`${c}px`,f>=1?M.style.display="none":M.style.display="",e.params.scrollbar.hide&&(M.style.opacity=0),e.params.watchOverflow&&e.enabled&&N.el.classList[e.isLocked?"add":"remove"](e.params.scrollbar.lockClass)}function y(N){return e.isHorizontal()?N.clientX:N.clientY}function h(N){const{scrollbar:A,rtlTranslate:M}=e,{el:R}=A;let D;D=(y(N)-wc(R)[e.isHorizontal()?"left":"top"]-(u!==null?u:c/2))/(d-c),D=Math.max(Math.min(D,1),0),M&&(D=1-D);const L=e.minTranslate()+(e.maxTranslate()-e.minTranslate())*D;e.updateProgress(L),e.setTranslate(L),e.updateActiveIndex(),e.updateSlidesClasses()}function v(N){const A=e.params.scrollbar,{scrollbar:M,wrapperEl:R}=e,{el:D,dragEl:L}=M;o=!0,u=N.target===L?y(N)-N.target.getBoundingClientRect()[e.isHorizontal()?"left":"top"]:null,N.preventDefault(),N.stopPropagation(),R.style.transitionDuration="100ms",L.style.transitionDuration="100ms",h(N),clearTimeout(s),D.style.transitionDuration="0ms",A.hide&&(D.style.opacity=1),e.params.cssMode&&(e.wrapperEl.style["scroll-snap-type"]="none"),i("scrollbarDragStart",N)}function m(N){const{scrollbar:A,wrapperEl:M}=e,{el:R,dragEl:D}=A;o&&(N.preventDefault?N.preventDefault():N.returnValue=!1,h(N),M.style.transitionDuration="0ms",R.style.transitionDuration="0ms",D.style.transitionDuration="0ms",i("scrollbarDragMove",N))}function b(N){const A=e.params.scrollbar,{scrollbar:M,wrapperEl:R}=e,{el:D}=M;o&&(o=!1,e.params.cssMode&&(e.wrapperEl.style["scroll-snap-type"]="",R.style.transitionDuration=""),A.hide&&(clearTimeout(s),s=Zi(()=>{D.style.opacity=0,D.style.transitionDuration="400ms"},1e3)),i("scrollbarDragEnd",N),A.snapOnRelease&&e.slideToClosest())}function E(N){const{scrollbar:A,params:M}=e,R=A.el;if(!R)return;const D=R,L=M.passiveListeners?{passive:!1,capture:!1}:!1,k=M.passiveListeners?{passive:!0,capture:!1}:!1;if(!D)return;const F=N==="on"?"addEventListener":"removeEventListener";D[F]("pointerdown",v,L),a[F]("pointermove",m,L),a[F]("pointerup",b,k)}function x(){!e.params.scrollbar.el||!e.scrollbar.el||E("on")}function C(){!e.params.scrollbar.el||!e.scrollbar.el||E("off")}function T(){const{scrollbar:N,el:A}=e;e.params.scrollbar=Nv(e,e.originalParams.scrollbar,e.params.scrollbar,{el:"swiper-scrollbar"});const M=e.params.scrollbar;if(!M.el)return;let R;if(typeof M.el=="string"&&e.isElement&&(R=e.el.querySelector(M.el)),!R&&typeof M.el=="string"){if(R=a.querySelectorAll(M.el),!R.length)return}else R||(R=M.el);e.params.uniqueNavElements&&typeof M.el=="string"&&R.length>1&&A.querySelectorAll(M.el).length===1&&(R=A.querySelector(M.el)),R.length>0&&(R=R[0]),R.classList.add(e.isHorizontal()?M.horizontalClass:M.verticalClass);let D;R&&(D=R.querySelector(yr(e.params.scrollbar.dragClass)),D||(D=mn("div",e.params.scrollbar.dragClass),R.append(D))),Object.assign(N,{el:R,dragEl:D}),M.draggable&&x(),R&&R.classList[e.enabled?"remove":"add"](...jr(e.params.scrollbar.lockClass))}function P(){const N=e.params.scrollbar,A=e.scrollbar.el;A&&A.classList.remove(...jr(e.isHorizontal()?N.horizontalClass:N.verticalClass)),C()}r("init",()=>{e.params.scrollbar.enabled===!1?I():(T(),g(),p())}),r("update resize observerUpdate lock unlock",()=>{g()}),r("setTranslate",()=>{p()}),r("setTransition",(N,A)=>{w(A)}),r("enable disable",()=>{const{el:N}=e.scrollbar;N&&N.classList[e.enabled?"remove":"add"](...jr(e.params.scrollbar.lockClass))}),r("destroy",()=>{P()});const O=()=>{e.el.classList.remove(...jr(e.params.scrollbar.scrollbarDisabledClass)),e.scrollbar.el&&e.scrollbar.el.classList.remove(...jr(e.params.scrollbar.scrollbarDisabledClass)),T(),g(),p()},I=()=>{e.el.classList.add(...jr(e.params.scrollbar.scrollbarDisabledClass)),e.scrollbar.el&&e.scrollbar.el.classList.add(...jr(e.params.scrollbar.scrollbarDisabledClass)),P()};Object.assign(e.scrollbar,{enable:O,disable:I,updateSize:g,setTranslate:p,init:T,destroy:P})}function t5(t){let{swiper:e,extendParams:n,on:r}=t;n({parallax:{enabled:!1}});const i="[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]",a=(s,u)=>{const{rtl:c}=e,d=c?-1:1,f=s.getAttribute("data-swiper-parallax")||"0";let p=s.getAttribute("data-swiper-parallax-x"),w=s.getAttribute("data-swiper-parallax-y");const g=s.getAttribute("data-swiper-parallax-scale"),y=s.getAttribute("data-swiper-parallax-opacity"),h=s.getAttribute("data-swiper-parallax-rotate");if(p||w?(p=p||"0",w=w||"0"):e.isHorizontal()?(p=f,w="0"):(w=f,p="0"),p.indexOf("%")>=0?p=`${parseInt(p,10)*u*d}%`:p=`${p*u*d}px`,w.indexOf("%")>=0?w=`${parseInt(w,10)*u}%`:w=`${w*u}px`,typeof y<"u"&&y!==null){const m=y-(y-1)*(1-Math.abs(u));s.style.opacity=m}let v=`translate3d(${p}, ${w}, 0px)`;if(typeof g<"u"&&g!==null){const m=g-(g-1)*(1-Math.abs(u));v+=` scale(${m})`}if(h&&typeof h<"u"&&h!==null){const m=h*u*-1;v+=` rotate(${m}deg)`}s.style.transform=v},o=()=>{const{el:s,slides:u,progress:c,snapGrid:d,isElement:f}=e,p=Ct(s,i);e.isElement&&p.push(...Ct(e.hostEl,i)),p.forEach(w=>{a(w,c)}),u.forEach((w,g)=>{let y=w.progress;e.params.slidesPerGroup>1&&e.params.slidesPerView!=="auto"&&(y+=Math.ceil(g/2)-c*(d.length-1)),y=Math.min(Math.max(y,-1),1),w.querySelectorAll(`${i}, [data-swiper-parallax-rotate]`).forEach(h=>{a(h,y)})})},l=function(s){s===void 0&&(s=e.params.speed);const{el:u,hostEl:c}=e,d=[...u.querySelectorAll(i)];e.isElement&&d.push(...c.querySelectorAll(i)),d.forEach(f=>{let p=parseInt(f.getAttribute("data-swiper-parallax-duration"),10)||s;s===0&&(p=0),f.style.transitionDuration=`${p}ms`})};r("beforeInit",()=>{e.params.parallax.enabled&&(e.params.watchSlidesProgress=!0,e.originalParams.watchSlidesProgress=!0)}),r("init",()=>{e.params.parallax.enabled&&o()}),r("setTranslate",()=>{e.params.parallax.enabled&&o()}),r("setTransition",(s,u)=>{e.params.parallax.enabled&&l(u)})}function n5(t){let{swiper:e,extendParams:n,on:r,emit:i}=t;const a=Ke();n({zoom:{enabled:!1,maxRatio:3,minRatio:1,toggle:!0,containerClass:"swiper-zoom-container",zoomedSlideClass:"swiper-slide-zoomed"}}),e.zoom={enabled:!1};let o=1,l=!1,s,u;const c=[],d={originX:0,originY:0,slideEl:void 0,slideWidth:void 0,slideHeight:void 0,imageEl:void 0,imageWrapEl:void 0,maxRatio:3},f={isTouched:void 0,isMoved:void 0,currentX:void 0,currentY:void 0,minX:void 0,minY:void 0,maxX:void 0,maxY:void 0,width:void 0,height:void 0,startX:void 0,startY:void 0,touchesStart:{},touchesCurrent:{}},p={x:void 0,y:void 0,prevPositionX:void 0,prevPositionY:void 0,prevTime:void 0};let w=1;Object.defineProperty(e.zoom,"scale",{get(){return w},set(L){if(w!==L){const k=d.imageEl,F=d.slideEl;i("zoomChange",L,k,F)}w=L}});function g(){if(c.length<2)return 1;const L=c[0].pageX,k=c[0].pageY,F=c[1].pageX,j=c[1].pageY;return Math.sqrt((F-L)**2+(j-k)**2)}function y(){if(c.length<2)return{x:null,y:null};const L=d.imageEl.getBoundingClientRect();return[(c[0].pageX+(c[1].pageX-c[0].pageX)/2-L.x-a.scrollX)/o,(c[0].pageY+(c[1].pageY-c[0].pageY)/2-L.y-a.scrollY)/o]}function h(){return e.isElement?"swiper-slide":`.${e.params.slideClass}`}function v(L){const k=h();return!!(L.target.matches(k)||e.slides.filter(F=>F.contains(L.target)).length>0)}function m(L){const k=`.${e.params.zoom.containerClass}`;return!!(L.target.matches(k)||[...e.hostEl.querySelectorAll(k)].filter(F=>F.contains(L.target)).length>0)}function b(L){if(L.pointerType==="mouse"&&c.splice(0,c.length),!v(L))return;const k=e.params.zoom;if(s=!1,u=!1,c.push(L),!(c.length<2)){if(s=!0,d.scaleStart=g(),!d.slideEl){d.slideEl=L.target.closest(`.${e.params.slideClass}, swiper-slide`),d.slideEl||(d.slideEl=e.slides[e.activeIndex]);let F=d.slideEl.querySelector(`.${k.containerClass}`);if(F&&(F=F.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]),d.imageEl=F,F?d.imageWrapEl=Ui(d.imageEl,`.${k.containerClass}`)[0]:d.imageWrapEl=void 0,!d.imageWrapEl){d.imageEl=void 0;return}d.maxRatio=d.imageWrapEl.getAttribute("data-swiper-zoom")||k.maxRatio}if(d.imageEl){const[F,j]=y();d.originX=F,d.originY=j,d.imageEl.style.transitionDuration="0ms"}l=!0}}function E(L){if(!v(L))return;const k=e.params.zoom,F=e.zoom,j=c.findIndex(B=>B.pointerId===L.pointerId);j>=0&&(c[j]=L),!(c.length<2)&&(u=!0,d.scaleMove=g(),d.imageEl&&(F.scale=d.scaleMove/d.scaleStart*o,F.scale>d.maxRatio&&(F.scale=d.maxRatio-1+(F.scale-d.maxRatio+1)**.5),F.scaleB.pointerId===L.pointerId);j>=0&&c.splice(j,1),!(!s||!u)&&(s=!1,u=!1,d.imageEl&&(F.scale=Math.max(Math.min(F.scale,d.maxRatio),k.minRatio),d.imageEl.style.transitionDuration=`${e.params.speed}ms`,d.imageEl.style.transform=`translate3d(0,0,0) scale(${F.scale})`,o=F.scale,l=!1,F.scale>1&&d.slideEl?d.slideEl.classList.add(`${k.zoomedSlideClass}`):F.scale<=1&&d.slideEl&&d.slideEl.classList.remove(`${k.zoomedSlideClass}`),F.scale===1&&(d.originX=0,d.originY=0,d.slideEl=void 0)))}function C(L){const k=e.device;if(!d.imageEl||f.isTouched)return;k.android&&L.cancelable&&L.preventDefault(),f.isTouched=!0;const F=c.length>0?c[0]:L;f.touchesStart.x=F.pageX,f.touchesStart.y=F.pageY}function T(L){if(!v(L)||!m(L))return;const k=e.zoom;if(!d.imageEl||!f.isTouched||!d.slideEl)return;f.isMoved||(f.width=d.imageEl.offsetWidth,f.height=d.imageEl.offsetHeight,f.startX=Em(d.imageWrapEl,"x")||0,f.startY=Em(d.imageWrapEl,"y")||0,d.slideWidth=d.slideEl.offsetWidth,d.slideHeight=d.slideEl.offsetHeight,d.imageWrapEl.style.transitionDuration="0ms");const F=f.width*k.scale,j=f.height*k.scale;if(F0?c[0].pageX:L.pageX,f.touchesCurrent.y=c.length>0?c[0].pageY:L.pageY,Math.max(Math.abs(f.touchesCurrent.x-f.touchesStart.x),Math.abs(f.touchesCurrent.y-f.touchesStart.y))>5&&(e.allowClick=!1),!f.isMoved&&!l){if(e.isHorizontal()&&(Math.floor(f.minX)===Math.floor(f.startX)&&f.touchesCurrent.xf.touchesStart.x)){f.isTouched=!1;return}if(!e.isHorizontal()&&(Math.floor(f.minY)===Math.floor(f.startY)&&f.touchesCurrent.yf.touchesStart.y)){f.isTouched=!1;return}}L.cancelable&&L.preventDefault(),L.stopPropagation(),f.isMoved=!0;const G=(k.scale-o)/(d.maxRatio-e.params.zoom.minRatio),{originX:q,originY:K}=d;f.currentX=f.touchesCurrent.x-f.touchesStart.x+f.startX+G*(f.width-q*2),f.currentY=f.touchesCurrent.y-f.touchesStart.y+f.startY+G*(f.height-K*2),f.currentXf.maxX&&(f.currentX=f.maxX-1+(f.currentX-f.maxX+1)**.8),f.currentYf.maxY&&(f.currentY=f.maxY-1+(f.currentY-f.maxY+1)**.8),p.prevPositionX||(p.prevPositionX=f.touchesCurrent.x),p.prevPositionY||(p.prevPositionY=f.touchesCurrent.y),p.prevTime||(p.prevTime=Date.now()),p.x=(f.touchesCurrent.x-p.prevPositionX)/(Date.now()-p.prevTime)/2,p.y=(f.touchesCurrent.y-p.prevPositionY)/(Date.now()-p.prevTime)/2,Math.abs(f.touchesCurrent.x-p.prevPositionX)<2&&(p.x=0),Math.abs(f.touchesCurrent.y-p.prevPositionY)<2&&(p.y=0),p.prevPositionX=f.touchesCurrent.x,p.prevPositionY=f.touchesCurrent.y,p.prevTime=Date.now(),d.imageWrapEl.style.transform=`translate3d(${f.currentX}px, ${f.currentY}px,0)`}function P(){const L=e.zoom;if(!d.imageEl)return;if(!f.isTouched||!f.isMoved){f.isTouched=!1,f.isMoved=!1;return}f.isTouched=!1,f.isMoved=!1;let k=300,F=300;const j=p.x*k,B=f.currentX+j,G=p.y*F,q=f.currentY+G;p.x!==0&&(k=Math.abs((B-f.currentX)/p.x)),p.y!==0&&(F=Math.abs((q-f.currentY)/p.y));const K=Math.max(k,F);f.currentX=B,f.currentY=q;const ne=f.width*L.scale,oe=f.height*L.scale;f.minX=Math.min(d.slideWidth/2-ne/2,0),f.maxX=-f.minX,f.minY=Math.min(d.slideHeight/2-oe/2,0),f.maxY=-f.minY,f.currentX=Math.max(Math.min(f.currentX,f.maxX),f.minX),f.currentY=Math.max(Math.min(f.currentY,f.maxY),f.minY),d.imageWrapEl.style.transitionDuration=`${K}ms`,d.imageWrapEl.style.transform=`translate3d(${f.currentX}px, ${f.currentY}px,0)`}function O(){const L=e.zoom;d.slideEl&&e.activeIndex!==e.slides.indexOf(d.slideEl)&&(d.imageEl&&(d.imageEl.style.transform="translate3d(0,0,0) scale(1)"),d.imageWrapEl&&(d.imageWrapEl.style.transform="translate3d(0,0,0)"),d.slideEl.classList.remove(`${e.params.zoom.zoomedSlideClass}`),L.scale=1,o=1,d.slideEl=void 0,d.imageEl=void 0,d.imageWrapEl=void 0,d.originX=0,d.originY=0)}function I(L){const k=e.zoom,F=e.params.zoom;if(!d.slideEl){L&&L.target&&(d.slideEl=L.target.closest(`.${e.params.slideClass}, swiper-slide`)),d.slideEl||(e.params.virtual&&e.params.virtual.enabled&&e.virtual?d.slideEl=Ct(e.slidesEl,`.${e.params.slideActiveClass}`)[0]:d.slideEl=e.slides[e.activeIndex]);let Le=d.slideEl.querySelector(`.${F.containerClass}`);Le&&(Le=Le.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]),d.imageEl=Le,Le?d.imageWrapEl=Ui(d.imageEl,`.${F.containerClass}`)[0]:d.imageWrapEl=void 0}if(!d.imageEl||!d.imageWrapEl)return;e.params.cssMode&&(e.wrapperEl.style.overflow="hidden",e.wrapperEl.style.touchAction="none"),d.slideEl.classList.add(`${F.zoomedSlideClass}`);let j,B,G,q,K,ne,oe,de,Qe,rt,xe,we,De,Ot,Gt,Fe,yt,rn;typeof f.touchesStart.x>"u"&&L?(j=L.pageX,B=L.pageY):(j=f.touchesStart.x,B=f.touchesStart.y);const Vt=typeof L=="number"?L:null;o===1&&Vt&&(j=void 0,B=void 0),k.scale=Vt||d.imageWrapEl.getAttribute("data-swiper-zoom")||F.maxRatio,o=Vt||d.imageWrapEl.getAttribute("data-swiper-zoom")||F.maxRatio,L&&!(o===1&&Vt)?(yt=d.slideEl.offsetWidth,rn=d.slideEl.offsetHeight,G=wc(d.slideEl).left+a.scrollX,q=wc(d.slideEl).top+a.scrollY,K=G+yt/2-j,ne=q+rn/2-B,Qe=d.imageEl.offsetWidth,rt=d.imageEl.offsetHeight,xe=Qe*k.scale,we=rt*k.scale,De=Math.min(yt/2-xe/2,0),Ot=Math.min(rn/2-we/2,0),Gt=-De,Fe=-Ot,oe=K*k.scale,de=ne*k.scale,oeGt&&(oe=Gt),deFe&&(de=Fe)):(oe=0,de=0),Vt&&k.scale===1&&(d.originX=0,d.originY=0),d.imageWrapEl.style.transitionDuration="300ms",d.imageWrapEl.style.transform=`translate3d(${oe}px, ${de}px,0)`,d.imageEl.style.transitionDuration="300ms",d.imageEl.style.transform=`translate3d(0,0,0) scale(${k.scale})`}function N(){const L=e.zoom,k=e.params.zoom;if(!d.slideEl){e.params.virtual&&e.params.virtual.enabled&&e.virtual?d.slideEl=Ct(e.slidesEl,`.${e.params.slideActiveClass}`)[0]:d.slideEl=e.slides[e.activeIndex];let F=d.slideEl.querySelector(`.${k.containerClass}`);F&&(F=F.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]),d.imageEl=F,F?d.imageWrapEl=Ui(d.imageEl,`.${k.containerClass}`)[0]:d.imageWrapEl=void 0}!d.imageEl||!d.imageWrapEl||(e.params.cssMode&&(e.wrapperEl.style.overflow="",e.wrapperEl.style.touchAction=""),L.scale=1,o=1,d.imageWrapEl.style.transitionDuration="300ms",d.imageWrapEl.style.transform="translate3d(0,0,0)",d.imageEl.style.transitionDuration="300ms",d.imageEl.style.transform="translate3d(0,0,0) scale(1)",d.slideEl.classList.remove(`${k.zoomedSlideClass}`),d.slideEl=void 0,d.originX=0,d.originY=0)}function A(L){const k=e.zoom;k.scale&&k.scale!==1?N():I(L)}function M(){const L=e.params.passiveListeners?{passive:!0,capture:!1}:!1,k=e.params.passiveListeners?{passive:!1,capture:!0}:!0;return{passiveListener:L,activeListenerWithCapture:k}}function R(){const L=e.zoom;if(L.enabled)return;L.enabled=!0;const{passiveListener:k,activeListenerWithCapture:F}=M();e.wrapperEl.addEventListener("pointerdown",b,k),e.wrapperEl.addEventListener("pointermove",E,F),["pointerup","pointercancel","pointerout"].forEach(j=>{e.wrapperEl.addEventListener(j,x,k)}),e.wrapperEl.addEventListener("pointermove",T,F)}function D(){const L=e.zoom;if(!L.enabled)return;L.enabled=!1;const{passiveListener:k,activeListenerWithCapture:F}=M();e.wrapperEl.removeEventListener("pointerdown",b,k),e.wrapperEl.removeEventListener("pointermove",E,F),["pointerup","pointercancel","pointerout"].forEach(j=>{e.wrapperEl.removeEventListener(j,x,k)}),e.wrapperEl.removeEventListener("pointermove",T,F)}r("init",()=>{e.params.zoom.enabled&&R()}),r("destroy",()=>{D()}),r("touchStart",(L,k)=>{e.zoom.enabled&&C(k)}),r("touchEnd",(L,k)=>{e.zoom.enabled&&P()}),r("doubleTap",(L,k)=>{!e.animating&&e.params.zoom.enabled&&e.zoom.enabled&&e.params.zoom.toggle&&A(k)}),r("transitionEnd",()=>{e.zoom.enabled&&e.params.zoom.enabled&&O()}),r("slideChange",()=>{e.zoom.enabled&&e.params.zoom.enabled&&e.params.cssMode&&O()}),Object.assign(e.zoom,{enable:R,disable:D,in:I,out:N,toggle:A})}function r5(t){let{swiper:e,extendParams:n,on:r}=t;n({controller:{control:void 0,inverse:!1,by:"slide"}}),e.controller={control:void 0};function i(u,c){const d=function(){let g,y,h;return(v,m)=>{for(y=-1,g=v.length;g-y>1;)h=g+y>>1,v[h]<=m?y=h:g=h;return g}}();this.x=u,this.y=c,this.lastIndex=u.length-1;let f,p;return this.interpolate=function(g){return g?(p=d(this.x,g),f=p-1,(g-this.x[f])*(this.y[p]-this.y[f])/(this.x[p]-this.x[f])+this.y[f]):0},this}function a(u){e.controller.spline=e.params.loop?new i(e.slidesGrid,u.slidesGrid):new i(e.snapGrid,u.snapGrid)}function o(u,c){const d=e.controller.control;let f,p;const w=e.constructor;function g(y){if(y.destroyed)return;const h=e.rtlTranslate?-e.translate:e.translate;e.params.controller.by==="slide"&&(a(y),p=-e.controller.spline.interpolate(-h)),(!p||e.params.controller.by==="container")&&(f=(y.maxTranslate()-y.minTranslate())/(e.maxTranslate()-e.minTranslate()),(Number.isNaN(f)||!Number.isFinite(f))&&(f=1),p=(h-e.minTranslate())*f+y.minTranslate()),e.params.controller.inverse&&(p=y.maxTranslate()-p),y.updateProgress(p),y.setTranslate(p,e),y.updateActiveIndex(),y.updateSlidesClasses()}if(Array.isArray(d))for(let y=0;y{g.updateAutoHeight()}),ws(g.wrapperEl,()=>{f&&g.transitionEnd()})))}if(Array.isArray(f))for(p=0;p{if(typeof window<"u"&&(typeof e.params.controller.control=="string"||e.params.controller.control instanceof HTMLElement)){const u=document.querySelector(e.params.controller.control);if(u&&u.swiper)e.controller.control=u.swiper;else if(u){const c=d=>{e.controller.control=d.detail[0],e.update(),u.removeEventListener("init",c)};u.addEventListener("init",c)}return}e.controller.control=e.params.controller.control}),r("update",()=>{s()}),r("resize",()=>{s()}),r("observerUpdate",()=>{s()}),r("setTranslate",(u,c,d)=>{!e.controller.control||e.controller.control.destroyed||e.controller.setTranslate(c,d)}),r("setTransition",(u,c,d)=>{!e.controller.control||e.controller.control.destroyed||e.controller.setTransition(c,d)}),Object.assign(e.controller,{setTranslate:o,setTransition:l})}function i5(t){let{swiper:e,extendParams:n,on:r}=t;n({a11y:{enabled:!0,notificationClass:"swiper-notification",prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide",paginationBulletMessage:"Go to slide {{index}}",slideLabelMessage:"{{index}} / {{slidesLength}}",containerMessage:null,containerRoleDescriptionMessage:null,itemRoleDescriptionMessage:null,slideRole:"group",id:null}}),e.a11y={clicked:!1};let i=null;function a(M){const R=i;R.length!==0&&(R.innerHTML="",R.innerHTML=M)}const o=M=>(Array.isArray(M)?M:[M]).filter(R=>!!R);function l(M){M===void 0&&(M=16);const R=()=>Math.round(16*Math.random()).toString(16);return"x".repeat(M).replace(/x/g,R)}function s(M){M=o(M),M.forEach(R=>{R.setAttribute("tabIndex","0")})}function u(M){M=o(M),M.forEach(R=>{R.setAttribute("tabIndex","-1")})}function c(M,R){M=o(M),M.forEach(D=>{D.setAttribute("role",R)})}function d(M,R){M=o(M),M.forEach(D=>{D.setAttribute("aria-roledescription",R)})}function f(M,R){M=o(M),M.forEach(D=>{D.setAttribute("aria-controls",R)})}function p(M,R){M=o(M),M.forEach(D=>{D.setAttribute("aria-label",R)})}function w(M,R){M=o(M),M.forEach(D=>{D.setAttribute("id",R)})}function g(M,R){M=o(M),M.forEach(D=>{D.setAttribute("aria-live",R)})}function y(M){M=o(M),M.forEach(R=>{R.setAttribute("aria-disabled",!0)})}function h(M){M=o(M),M.forEach(R=>{R.setAttribute("aria-disabled",!1)})}function v(M){if(M.keyCode!==13&&M.keyCode!==32)return;const R=e.params.a11y,D=M.target;e.pagination&&e.pagination.el&&(D===e.pagination.el||e.pagination.el.contains(M.target))&&!M.target.matches(yr(e.params.pagination.bulletClass))||(e.navigation&&e.navigation.nextEl&&D===e.navigation.nextEl&&(e.isEnd&&!e.params.loop||e.slideNext(),e.isEnd?a(R.lastSlideMessage):a(R.nextSlideMessage)),e.navigation&&e.navigation.prevEl&&D===e.navigation.prevEl&&(e.isBeginning&&!e.params.loop||e.slidePrev(),e.isBeginning?a(R.firstSlideMessage):a(R.prevSlideMessage)),e.pagination&&D.matches(yr(e.params.pagination.bulletClass))&&D.click())}function m(){if(e.params.loop||e.params.rewind||!e.navigation)return;const{nextEl:M,prevEl:R}=e.navigation;R&&(e.isBeginning?(y(R),u(R)):(h(R),s(R))),M&&(e.isEnd?(y(M),u(M)):(h(M),s(M)))}function b(){return e.pagination&&e.pagination.bullets&&e.pagination.bullets.length}function E(){return b()&&e.params.pagination.clickable}function x(){const M=e.params.a11y;b()&&e.pagination.bullets.forEach(R=>{e.params.pagination.clickable&&(s(R),e.params.pagination.renderBullet||(c(R,"button"),p(R,M.paginationBulletMessage.replace(/\{\{index\}\}/,qs(R)+1)))),R.matches(yr(e.params.pagination.bulletActiveClass))?R.setAttribute("aria-current","true"):R.removeAttribute("aria-current")})}const C=(M,R,D)=>{s(M),M.tagName!=="BUTTON"&&(c(M,"button"),M.addEventListener("keydown",v)),p(M,D),f(M,R)},T=()=>{e.a11y.clicked=!0},P=()=>{requestAnimationFrame(()=>{requestAnimationFrame(()=>{e.destroyed||(e.a11y.clicked=!1)})})},O=M=>{if(e.a11y.clicked)return;const R=M.target.closest(`.${e.params.slideClass}, swiper-slide`);if(!R||!e.slides.includes(R))return;const D=e.slides.indexOf(R)===e.activeIndex,L=e.params.watchSlidesProgress&&e.visibleSlides&&e.visibleSlides.includes(R);D||L||M.sourceCapabilities&&M.sourceCapabilities.firesTouchEvents||(e.isHorizontal()?e.el.scrollLeft=0:e.el.scrollTop=0,e.slideTo(e.slides.indexOf(R),0))},I=()=>{const M=e.params.a11y;M.itemRoleDescriptionMessage&&d(e.slides,M.itemRoleDescriptionMessage),M.slideRole&&c(e.slides,M.slideRole);const R=e.slides.length;M.slideLabelMessage&&e.slides.forEach((D,L)=>{const k=e.params.loop?parseInt(D.getAttribute("data-swiper-slide-index"),10):L,F=M.slideLabelMessage.replace(/\{\{index\}\}/,k+1).replace(/\{\{slidesLength\}\}/,R);p(D,F)})},N=()=>{const M=e.params.a11y;e.el.append(i);const R=e.el;M.containerRoleDescriptionMessage&&d(R,M.containerRoleDescriptionMessage),M.containerMessage&&p(R,M.containerMessage);const D=e.wrapperEl,L=M.id||D.getAttribute("id")||`swiper-wrapper-${l(16)}`,k=e.params.autoplay&&e.params.autoplay.enabled?"off":"polite";w(D,L),g(D,k),I();let{nextEl:F,prevEl:j}=e.navigation?e.navigation:{};F=o(F),j=o(j),F&&F.forEach(B=>C(B,L,M.nextSlideMessage)),j&&j.forEach(B=>C(B,L,M.prevSlideMessage)),E()&&o(e.pagination.el).forEach(G=>{G.addEventListener("keydown",v)}),e.el.addEventListener("focus",O,!0),e.el.addEventListener("pointerdown",T,!0),e.el.addEventListener("pointerup",P,!0)};function A(){i&&i.remove();let{nextEl:M,prevEl:R}=e.navigation?e.navigation:{};M=o(M),R=o(R),M&&M.forEach(D=>D.removeEventListener("keydown",v)),R&&R.forEach(D=>D.removeEventListener("keydown",v)),E()&&o(e.pagination.el).forEach(L=>{L.removeEventListener("keydown",v)}),e.el.removeEventListener("focus",O,!0),e.el.removeEventListener("pointerdown",T,!0),e.el.removeEventListener("pointerup",P,!0)}r("beforeInit",()=>{i=mn("span",e.params.a11y.notificationClass),i.setAttribute("aria-live","assertive"),i.setAttribute("aria-atomic","true")}),r("afterInit",()=>{e.params.a11y.enabled&&N()}),r("slidesLengthChange snapGridLengthChange slidesGridLengthChange",()=>{e.params.a11y.enabled&&I()}),r("fromEdge toEdge afterInit lock unlock",()=>{e.params.a11y.enabled&&m()}),r("paginationUpdate",()=>{e.params.a11y.enabled&&x()}),r("destroy",()=>{e.params.a11y.enabled&&A()})}function a5(t){let{swiper:e,extendParams:n,on:r}=t;n({history:{enabled:!1,root:"",replaceState:!1,key:"slides",keepQuery:!1}});let i=!1,a={};const o=p=>p.toString().replace(/\s+/g,"-").replace(/[^\w-]+/g,"").replace(/--+/g,"-").replace(/^-+/,"").replace(/-+$/,""),l=p=>{const w=Ke();let g;p?g=new URL(p):g=w.location;const y=g.pathname.slice(1).split("/").filter(b=>b!==""),h=y.length,v=y[h-2],m=y[h-1];return{key:v,value:m}},s=(p,w)=>{const g=Ke();if(!i||!e.params.history.enabled)return;let y;e.params.url?y=new URL(e.params.url):y=g.location;const h=e.slides[w];let v=o(h.getAttribute("data-history"));if(e.params.history.root.length>0){let b=e.params.history.root;b[b.length-1]==="/"&&(b=b.slice(0,b.length-1)),v=`${b}/${p?`${p}/`:""}${v}`}else y.pathname.includes(p)||(v=`${p?`${p}/`:""}${v}`);e.params.history.keepQuery&&(v+=y.search);const m=g.history.state;m&&m.value===v||(e.params.history.replaceState?g.history.replaceState({value:v},null,v):g.history.pushState({value:v},null,v))},u=(p,w,g)=>{if(w)for(let y=0,h=e.slides.length;y{a=l(e.params.url),u(e.params.speed,a.value,!1)},d=()=>{const p=Ke();if(e.params.history){if(!p.history||!p.history.pushState){e.params.history.enabled=!1,e.params.hashNavigation.enabled=!0;return}if(i=!0,a=l(e.params.url),!a.key&&!a.value){e.params.history.replaceState||p.addEventListener("popstate",c);return}u(0,a.value,e.params.runCallbacksOnInit),e.params.history.replaceState||p.addEventListener("popstate",c)}},f=()=>{const p=Ke();e.params.history.replaceState||p.removeEventListener("popstate",c)};r("init",()=>{e.params.history.enabled&&d()}),r("destroy",()=>{e.params.history.enabled&&f()}),r("transitionEnd _freeModeNoMomentumRelease",()=>{i&&s(e.params.history.key,e.activeIndex)}),r("slideChange",()=>{i&&e.params.cssMode&&s(e.params.history.key,e.activeIndex)})}function o5(t){let{swiper:e,extendParams:n,emit:r,on:i}=t,a=!1;const o=Ht(),l=Ke();n({hashNavigation:{enabled:!1,replaceState:!1,watchState:!1,getSlideIndex(f,p){if(e.virtual&&e.params.virtual.enabled){const w=e.slides.filter(y=>y.getAttribute("data-hash")===p)[0];return w?parseInt(w.getAttribute("data-swiper-slide-index"),10):0}return e.getSlideIndex(Ct(e.slidesEl,`.${e.params.slideClass}[data-hash="${p}"], swiper-slide[data-hash="${p}"]`)[0])}}});const s=()=>{r("hashChange");const f=o.location.hash.replace("#",""),p=e.virtual&&e.params.virtual.enabled?e.slidesEl.querySelector(`[data-swiper-slide-index="${e.activeIndex}"]`):e.slides[e.activeIndex],w=p?p.getAttribute("data-hash"):"";if(f!==w){const g=e.params.hashNavigation.getSlideIndex(e,f);if(typeof g>"u"||Number.isNaN(g))return;e.slideTo(g)}},u=()=>{if(!a||!e.params.hashNavigation.enabled)return;const f=e.virtual&&e.params.virtual.enabled?e.slidesEl.querySelector(`[data-swiper-slide-index="${e.activeIndex}"]`):e.slides[e.activeIndex],p=f?f.getAttribute("data-hash")||f.getAttribute("data-history"):"";e.params.hashNavigation.replaceState&&l.history&&l.history.replaceState?(l.history.replaceState(null,null,`#${p}`||""),r("hashSet")):(o.location.hash=p||"",r("hashSet"))},c=()=>{if(!e.params.hashNavigation.enabled||e.params.history&&e.params.history.enabled)return;a=!0;const f=o.location.hash.replace("#","");if(f){const w=e.params.hashNavigation.getSlideIndex(e,f);e.slideTo(w||0,0,e.params.runCallbacksOnInit,!0)}e.params.hashNavigation.watchState&&l.addEventListener("hashchange",s)},d=()=>{e.params.hashNavigation.watchState&&l.removeEventListener("hashchange",s)};i("init",()=>{e.params.hashNavigation.enabled&&c()}),i("destroy",()=>{e.params.hashNavigation.enabled&&d()}),i("transitionEnd _freeModeNoMomentumRelease",()=>{a&&u()}),i("slideChange",()=>{a&&e.params.cssMode&&u()})}function s5(t){let{swiper:e,extendParams:n,on:r,emit:i,params:a}=t;e.autoplay={running:!1,paused:!1,timeLeft:0},n({autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!1,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}});let o,l,s=a&&a.autoplay?a.autoplay.delay:3e3,u=a&&a.autoplay?a.autoplay.delay:3e3,c,d=new Date().getTime(),f,p,w,g,y,h,v;function m(k){!e||e.destroyed||!e.wrapperEl||k.target===e.wrapperEl&&(e.wrapperEl.removeEventListener("transitionend",m),!v&&O())}const b=()=>{if(e.destroyed||!e.autoplay.running)return;e.autoplay.paused?f=!0:f&&(u=c,f=!1);const k=e.autoplay.paused?c:d+u-new Date().getTime();e.autoplay.timeLeft=k,i("autoplayTimeLeft",k,k/s),l=requestAnimationFrame(()=>{b()})},E=()=>{let k;return e.virtual&&e.params.virtual.enabled?k=e.slides.filter(j=>j.classList.contains("swiper-slide-active"))[0]:k=e.slides[e.activeIndex],k?parseInt(k.getAttribute("data-swiper-autoplay"),10):void 0},x=k=>{if(e.destroyed||!e.autoplay.running)return;cancelAnimationFrame(l),b();let F=typeof k>"u"?e.params.autoplay.delay:k;s=e.params.autoplay.delay,u=e.params.autoplay.delay;const j=E();!Number.isNaN(j)&&j>0&&typeof k>"u"&&(F=j,s=j,u=j),c=F;const B=e.params.speed,G=()=>{!e||e.destroyed||(e.params.autoplay.reverseDirection?!e.isBeginning||e.params.loop||e.params.rewind?(e.slidePrev(B,!0,!0),i("autoplay")):e.params.autoplay.stopOnLastSlide||(e.slideTo(e.slides.length-1,B,!0,!0),i("autoplay")):!e.isEnd||e.params.loop||e.params.rewind?(e.slideNext(B,!0,!0),i("autoplay")):e.params.autoplay.stopOnLastSlide||(e.slideTo(0,B,!0,!0),i("autoplay")),e.params.cssMode&&(d=new Date().getTime(),requestAnimationFrame(()=>{x()})))};return F>0?(clearTimeout(o),o=setTimeout(()=>{G()},F)):requestAnimationFrame(()=>{G()}),F},C=()=>{d=new Date().getTime(),e.autoplay.running=!0,x(),i("autoplayStart")},T=()=>{e.autoplay.running=!1,clearTimeout(o),cancelAnimationFrame(l),i("autoplayStop")},P=(k,F)=>{if(e.destroyed||!e.autoplay.running)return;clearTimeout(o),k||(h=!0);const j=()=>{i("autoplayPause"),e.params.autoplay.waitForTransition?e.wrapperEl.addEventListener("transitionend",m):O()};if(e.autoplay.paused=!0,F){y&&(c=e.params.autoplay.delay),y=!1,j();return}c=(c||e.params.autoplay.delay)-(new Date().getTime()-d),!(e.isEnd&&c<0&&!e.params.loop)&&(c<0&&(c=0),j())},O=()=>{e.isEnd&&c<0&&!e.params.loop||e.destroyed||!e.autoplay.running||(d=new Date().getTime(),h?(h=!1,x(c)):x(),e.autoplay.paused=!1,i("autoplayResume"))},I=()=>{if(e.destroyed||!e.autoplay.running)return;const k=Ht();k.visibilityState==="hidden"&&(h=!0,P(!0)),k.visibilityState==="visible"&&O()},N=k=>{k.pointerType==="mouse"&&(h=!0,v=!0,!(e.animating||e.autoplay.paused)&&P(!0))},A=k=>{k.pointerType==="mouse"&&(v=!1,e.autoplay.paused&&O())},M=()=>{e.params.autoplay.pauseOnMouseEnter&&(e.el.addEventListener("pointerenter",N),e.el.addEventListener("pointerleave",A))},R=()=>{e.el.removeEventListener("pointerenter",N),e.el.removeEventListener("pointerleave",A)},D=()=>{Ht().addEventListener("visibilitychange",I)},L=()=>{Ht().removeEventListener("visibilitychange",I)};r("init",()=>{e.params.autoplay.enabled&&(M(),D(),C())}),r("destroy",()=>{R(),L(),e.autoplay.running&&T()}),r("_freeModeStaticRelease",()=>{(w||h)&&O()}),r("_freeModeNoMomentumRelease",()=>{e.params.autoplay.disableOnInteraction?T():P(!0,!0)}),r("beforeTransitionStart",(k,F,j)=>{e.destroyed||!e.autoplay.running||(j||!e.params.autoplay.disableOnInteraction?P(!0,!0):T())}),r("sliderFirstMove",()=>{if(!(e.destroyed||!e.autoplay.running)){if(e.params.autoplay.disableOnInteraction){T();return}p=!0,w=!1,h=!1,g=setTimeout(()=>{h=!0,w=!0,P(!0)},200)}}),r("touchEnd",()=>{if(!(e.destroyed||!e.autoplay.running||!p)){if(clearTimeout(g),clearTimeout(o),e.params.autoplay.disableOnInteraction){w=!1,p=!1;return}w&&e.params.cssMode&&O(),w=!1,p=!1}}),r("slideChange",()=>{e.destroyed||!e.autoplay.running||(y=!0)}),Object.assign(e.autoplay,{start:C,stop:T,pause:P,resume:O})}function l5(t){let{swiper:e,extendParams:n,on:r}=t;n({thumbs:{swiper:null,multipleActiveThumbs:!0,autoScrollOffset:0,slideThumbActiveClass:"swiper-slide-thumb-active",thumbsContainerClass:"swiper-thumbs"}});let i=!1,a=!1;e.thumbs={swiper:null};function o(){const u=e.thumbs.swiper;if(!u||u.destroyed)return;const c=u.clickedIndex,d=u.clickedSlide;if(d&&d.classList.contains(e.params.thumbs.slideThumbActiveClass)||typeof c>"u"||c===null)return;let f;u.params.loop?f=parseInt(u.clickedSlide.getAttribute("data-swiper-slide-index"),10):f=c,e.params.loop?e.slideToLoop(f):e.slideTo(f)}function l(){const{thumbs:u}=e.params;if(i)return!1;i=!0;const c=e.constructor;if(u.swiper instanceof c)e.thumbs.swiper=u.swiper,Object.assign(e.thumbs.swiper.originalParams,{watchSlidesProgress:!0,slideToClickedSlide:!1}),Object.assign(e.thumbs.swiper.params,{watchSlidesProgress:!0,slideToClickedSlide:!1}),e.thumbs.swiper.update();else if(Ko(u.swiper)){const d=Object.assign({},u.swiper);Object.assign(d,{watchSlidesProgress:!0,slideToClickedSlide:!1}),e.thumbs.swiper=new c(d),a=!0}return e.thumbs.swiper.el.classList.add(e.params.thumbs.thumbsContainerClass),e.thumbs.swiper.on("tap",o),!0}function s(u){const c=e.thumbs.swiper;if(!c||c.destroyed)return;const d=c.params.slidesPerView==="auto"?c.slidesPerViewDynamic():c.params.slidesPerView;let f=1;const p=e.params.thumbs.slideThumbActiveClass;if(e.params.slidesPerView>1&&!e.params.centeredSlides&&(f=e.params.slidesPerView),e.params.thumbs.multipleActiveThumbs||(f=1),f=Math.floor(f),c.slides.forEach(y=>y.classList.remove(p)),c.params.loop||c.params.virtual&&c.params.virtual.enabled)for(let y=0;y{h.classList.add(p)});else for(let y=0;yb.getAttribute("data-swiper-slide-index")===`${e.realIndex}`)[0];h=c.slides.indexOf(m),v=e.activeIndex>e.previousIndex?"next":"prev"}else h=e.realIndex,v=h>e.previousIndex?"next":"prev";g&&(h+=v==="next"?w:-1*w),c.visibleSlidesIndexes&&c.visibleSlidesIndexes.indexOf(h)<0&&(c.params.centeredSlides?h>y?h=h-Math.floor(d/2)+1:h=h+Math.floor(d/2)-1:h>y&&c.params.slidesPerGroup,c.slideTo(h,u?0:void 0))}}r("beforeInit",()=>{const{thumbs:u}=e.params;if(!(!u||!u.swiper))if(typeof u.swiper=="string"||u.swiper instanceof HTMLElement){const c=Ht(),d=()=>{const p=typeof u.swiper=="string"?c.querySelector(u.swiper):u.swiper;if(p&&p.swiper)u.swiper=p.swiper,l(),s(!0);else if(p){const w=g=>{u.swiper=g.detail[0],p.removeEventListener("init",w),l(),s(!0),u.swiper.update(),e.update()};p.addEventListener("init",w)}return p},f=()=>{if(e.destroyed)return;d()||requestAnimationFrame(f)};requestAnimationFrame(f)}else l(),s(!0)}),r("slideChange update resize observerUpdate",()=>{s()}),r("setTransition",(u,c)=>{const d=e.thumbs.swiper;!d||d.destroyed||d.setTransition(c)}),r("beforeDestroy",()=>{const u=e.thumbs.swiper;!u||u.destroyed||a&&u.destroy()}),Object.assign(e.thumbs,{init:l,update:s})}function u5(t){let{swiper:e,extendParams:n,emit:r,once:i}=t;n({freeMode:{enabled:!1,momentum:!0,momentumRatio:1,momentumBounce:!0,momentumBounceRatio:1,momentumVelocityRatio:1,sticky:!1,minimumVelocity:.02}});function a(){if(e.params.cssMode)return;const s=e.getTranslate();e.setTranslate(s),e.setTransition(0),e.touchEventsData.velocities.length=0,e.freeMode.onTouchEnd({currentPos:e.rtl?e.translate:-e.translate})}function o(){if(e.params.cssMode)return;const{touchEventsData:s,touches:u}=e;s.velocities.length===0&&s.velocities.push({position:u[e.isHorizontal()?"startX":"startY"],time:s.touchStartTime}),s.velocities.push({position:u[e.isHorizontal()?"currentX":"currentY"],time:An()})}function l(s){let{currentPos:u}=s;if(e.params.cssMode)return;const{params:c,wrapperEl:d,rtlTranslate:f,snapGrid:p,touchEventsData:w}=e,y=An()-w.touchStartTime;if(u<-e.minTranslate()){e.slideTo(e.activeIndex);return}if(u>-e.maxTranslate()){e.slides.length1){const T=w.velocities.pop(),P=w.velocities.pop(),O=T.position-P.position,I=T.time-P.time;e.velocity=O/I,e.velocity/=2,Math.abs(e.velocity)150||An()-T.time>300)&&(e.velocity=0)}else e.velocity=0;e.velocity*=c.freeMode.momentumVelocityRatio,w.velocities.length=0;let h=1e3*c.freeMode.momentumRatio;const v=e.velocity*h;let m=e.translate+v;f&&(m=-m);let b=!1,E;const x=Math.abs(e.velocity)*20*c.freeMode.momentumBounceRatio;let C;if(me.minTranslate())c.freeMode.momentumBounce?(m-e.minTranslate()>x&&(m=e.minTranslate()+x),E=e.minTranslate(),b=!0,w.allowMomentumBounce=!0):m=e.minTranslate(),c.loop&&c.centeredSlides&&(C=!0);else if(c.freeMode.sticky){let T;for(let P=0;P-m){T=P;break}Math.abs(p[T]-m){e.loopFix()}),e.velocity!==0){if(f?h=Math.abs((-m-e.translate)/e.velocity):h=Math.abs((m-e.translate)/e.velocity),c.freeMode.sticky){const T=Math.abs((f?-m:m)-e.translate),P=e.slidesSizesGrid[e.activeIndex];T{!e||e.destroyed||!w.allowMomentumBounce||(r("momentumBounce"),e.setTransition(c.speed),setTimeout(()=>{e.setTranslate(E),ws(d,()=>{!e||e.destroyed||e.transitionEnd()})},0))})):e.velocity?(r("_freeModeNoMomentumRelease"),e.updateProgress(m),e.setTransition(h),e.setTranslate(m),e.transitionStart(!0,e.swipeDirection),e.animating||(e.animating=!0,ws(d,()=>{!e||e.destroyed||e.transitionEnd()}))):e.updateProgress(m),e.updateActiveIndex(),e.updateSlidesClasses()}else if(c.freeMode.sticky){e.slideToClosest();return}else c.freeMode&&r("_freeModeNoMomentumRelease");(!c.freeMode.momentum||y>=c.longSwipesMs)&&(r("_freeModeStaticRelease"),e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses())}Object.assign(e,{freeMode:{onTouchStart:a,onTouchMove:o,onTouchEnd:l}})}function c5(t){let{swiper:e,extendParams:n,on:r}=t;n({grid:{rows:1,fill:"column"}});let i,a,o,l;const s=()=>{let g=e.params.spaceBetween;return typeof g=="string"&&g.indexOf("%")>=0?g=parseFloat(g.replace("%",""))/100*e.size:typeof g=="string"&&(g=parseFloat(g)),g},u=g=>{const{slidesPerView:y}=e.params,{rows:h,fill:v}=e.params.grid,m=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:g.length;o=Math.floor(m/h),Math.floor(m/h)===m/h?i=m:i=Math.ceil(m/h)*h,y!=="auto"&&v==="row"&&(i=Math.max(i,y*h)),a=i/h},c=()=>{e.slides&&e.slides.forEach(g=>{g.swiperSlideGridSet&&(g.style.height="",g.style[e.getDirectionLabel("margin-top")]="")})},d=(g,y,h)=>{const{slidesPerGroup:v}=e.params,m=s(),{rows:b,fill:E}=e.params.grid,x=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:h.length;let C,T,P;if(E==="row"&&v>1){const O=Math.floor(g/(v*b)),I=g-b*v*O,N=O===0?v:Math.min(Math.ceil((x-O*b*v)/b),v);P=Math.floor(I/N),T=I-P*N+O*v,C=T+P*i/b,y.style.order=C}else E==="column"?(T=Math.floor(g/b),P=g-T*b,(T>o||T===o&&P===b-1)&&(P+=1,P>=b&&(P=0,T+=1))):(P=Math.floor(g/a),T=g-P*a);y.row=P,y.column=T,y.style.height=`calc((100% - ${(b-1)*m}px) / ${b})`,y.style[e.getDirectionLabel("margin-top")]=P!==0?m&&`${m}px`:"",y.swiperSlideGridSet=!0},f=(g,y)=>{const{centeredSlides:h,roundLengths:v}=e.params,m=s(),{rows:b}=e.params.grid;if(e.virtualSize=(g+m)*i,e.virtualSize=Math.ceil(e.virtualSize/b)-m,e.params.cssMode||(e.wrapperEl.style[e.getDirectionLabel("width")]=`${e.virtualSize+m}px`),h){const E=[];for(let x=0;x{l=e.params.grid&&e.params.grid.rows>1},w=()=>{const{params:g,el:y}=e,h=g.grid&&g.grid.rows>1;l&&!h?(y.classList.remove(`${g.containerModifierClass}grid`,`${g.containerModifierClass}grid-column`),o=1,e.emitContainerClasses()):!l&&h&&(y.classList.add(`${g.containerModifierClass}grid`),g.grid.fill==="column"&&y.classList.add(`${g.containerModifierClass}grid-column`),e.emitContainerClasses()),l=h};r("init",p),r("update",w),e.grid={initSlides:u,unsetSlides:c,updateSlide:d,updateWrapperSize:f}}function d5(t){const e=this,{params:n,slidesEl:r}=e;n.loop&&e.loopDestroy();const i=a=>{if(typeof a=="string"){const o=document.createElement("div");o.innerHTML=a,r.append(o.children[0]),o.innerHTML=""}else r.append(a)};if(typeof t=="object"&&"length"in t)for(let a=0;a{if(typeof l=="string"){const s=document.createElement("div");s.innerHTML=l,i.prepend(s.children[0]),s.innerHTML=""}else i.prepend(l)};if(typeof t=="object"&&"length"in t){for(let l=0;l=l){n.appendSlide(e);return}let s=o>t?o+1:o;const u=[];for(let c=l-1;c>=t;c-=1){const d=n.slides[c];d.remove(),u.unshift(d)}if(typeof e=="object"&&"length"in e){for(let c=0;ct?o+e.length:o}else a.append(e);for(let c=0;c{if(n.params.effect!==e)return;n.classNames.push(`${n.params.containerModifierClass}${e}`),l&&l()&&n.classNames.push(`${n.params.containerModifierClass}3d`);const d=o?o():{};Object.assign(n.params,d),Object.assign(n.originalParams,d)}),r("setTranslate",()=>{n.params.effect===e&&i()}),r("setTransition",(d,f)=>{n.params.effect===e&&a(f)}),r("transitionEnd",()=>{if(n.params.effect===e&&s){if(!u||!u().slideShadows)return;n.slides.forEach(d=>{d.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(f=>f.remove())}),s()}});let c;r("virtualUpdate",()=>{n.params.effect===e&&(n.slides.length||(c=!0),requestAnimationFrame(()=>{c&&n.slides&&n.slides.length&&(i(),c=!1)}))})}function gl(t,e){const n=ia(e);return n!==e&&(n.style.backfaceVisibility="hidden",n.style["-webkit-backface-visibility"]="hidden"),n}function Sd(t){let{swiper:e,duration:n,transformElements:r,allSlides:i}=t;const{activeIndex:a}=e,o=l=>l.parentElement?l.parentElement:e.slides.filter(u=>u.shadowRoot&&u.shadowRoot===l.parentNode)[0];if(e.params.virtualTranslate&&n!==0){let l=!1,s;i?s=r:s=r.filter(u=>{const c=u.classList.contains("swiper-slide-transform")?o(u):u;return e.getSlideIndex(c)===a}),s.forEach(u=>{ws(u,()=>{if(l||!e||e.destroyed)return;l=!0,e.animating=!1;const c=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0});e.wrapperEl.dispatchEvent(c)})})}}function v5(t){let{swiper:e,extendParams:n,on:r}=t;n({fadeEffect:{crossFade:!1}}),wo({effect:"fade",swiper:e,on:r,setTranslate:()=>{const{slides:o}=e,l=e.params.fadeEffect;for(let s=0;s{const l=e.slides.map(s=>ia(s));l.forEach(s=>{s.style.transitionDuration=`${o}ms`}),Sd({swiper:e,duration:o,transformElements:l,allSlides:!0})},overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!e.params.cssMode})})}function y5(t){let{swiper:e,extendParams:n,on:r}=t;n({cubeEffect:{slideShadows:!0,shadow:!0,shadowOffset:20,shadowScale:.94}});const i=(s,u,c)=>{let d=c?s.querySelector(".swiper-slide-shadow-left"):s.querySelector(".swiper-slide-shadow-top"),f=c?s.querySelector(".swiper-slide-shadow-right"):s.querySelector(".swiper-slide-shadow-bottom");d||(d=mn("div",`swiper-slide-shadow-cube swiper-slide-shadow-${c?"left":"top"}`.split(" ")),s.append(d)),f||(f=mn("div",`swiper-slide-shadow-cube swiper-slide-shadow-${c?"right":"bottom"}`.split(" ")),s.append(f)),d&&(d.style.opacity=Math.max(-u,0)),f&&(f.style.opacity=Math.max(u,0))};wo({effect:"cube",swiper:e,on:r,setTranslate:()=>{const{el:s,wrapperEl:u,slides:c,width:d,height:f,rtlTranslate:p,size:w,browser:g}=e,y=e.params.cubeEffect,h=e.isHorizontal(),v=e.virtual&&e.params.virtual.enabled;let m=0,b;y.shadow&&(h?(b=e.wrapperEl.querySelector(".swiper-cube-shadow"),b||(b=mn("div","swiper-cube-shadow"),e.wrapperEl.append(b)),b.style.height=`${d}px`):(b=s.querySelector(".swiper-cube-shadow"),b||(b=mn("div","swiper-cube-shadow"),s.append(b))));for(let x=0;x-1&&(m=T*90+I*90,p&&(m=-T*90-I*90),e.browser&&e.browser.isSafari&&Math.abs(m)/90%2===1&&(m+=.001)),C.style.transform=R,y.slideShadows&&i(C,I,h)}if(u.style.transformOrigin=`50% 50% -${w/2}px`,u.style["-webkit-transform-origin"]=`50% 50% -${w/2}px`,y.shadow)if(h)b.style.transform=`translate3d(0px, ${d/2+y.shadowOffset}px, ${-d/2}px) rotateX(89.99deg) rotateZ(0deg) scale(${y.shadowScale})`;else{const x=Math.abs(m)-Math.floor(Math.abs(m)/90)*90,C=1.5-(Math.sin(x*2*Math.PI/360)/2+Math.cos(x*2*Math.PI/360)/2),T=y.shadowScale,P=y.shadowScale/C,O=y.shadowOffset;b.style.transform=`scale3d(${T}, 1, ${P}) translate3d(0px, ${f/2+O}px, ${-f/2/P}px) rotateX(-89.99deg)`}const E=(g.isSafari||g.isWebView)&&g.needPerspectiveFix?-w/2:0;u.style.transform=`translate3d(0px,0,${E}px) rotateX(${e.isHorizontal()?0:m}deg) rotateY(${e.isHorizontal()?-m:0}deg)`,u.style.setProperty("--swiper-cube-translate-z",`${E}px`)},setTransition:s=>{const{el:u,slides:c}=e;if(c.forEach(d=>{d.style.transitionDuration=`${s}ms`,d.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(f=>{f.style.transitionDuration=`${s}ms`})}),e.params.cubeEffect.shadow&&!e.isHorizontal()){const d=u.querySelector(".swiper-cube-shadow");d&&(d.style.transitionDuration=`${s}ms`)}},recreateShadows:()=>{const s=e.isHorizontal();e.slides.forEach(u=>{const c=Math.max(Math.min(u.progress,1),-1);i(u,c,s)})},getEffectParams:()=>e.params.cubeEffect,perspective:()=>!0,overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,resistanceRatio:0,spaceBetween:0,centeredSlides:!1,virtualTranslate:!0})})}function co(t,e,n){const r=`swiper-slide-shadow${n?`-${n}`:""}${t?` swiper-slide-shadow-${t}`:""}`,i=ia(e);let a=i.querySelector(`.${r.split(" ").join(".")}`);return a||(a=mn("div",r.split(" ")),i.append(a)),a}function w5(t){let{swiper:e,extendParams:n,on:r}=t;n({flipEffect:{slideShadows:!0,limitRotation:!0}});const i=(s,u)=>{let c=e.isHorizontal()?s.querySelector(".swiper-slide-shadow-left"):s.querySelector(".swiper-slide-shadow-top"),d=e.isHorizontal()?s.querySelector(".swiper-slide-shadow-right"):s.querySelector(".swiper-slide-shadow-bottom");c||(c=co("flip",s,e.isHorizontal()?"left":"top")),d||(d=co("flip",s,e.isHorizontal()?"right":"bottom")),c&&(c.style.opacity=Math.max(-u,0)),d&&(d.style.opacity=Math.max(u,0))};wo({effect:"flip",swiper:e,on:r,setTranslate:()=>{const{slides:s,rtlTranslate:u}=e,c=e.params.flipEffect;for(let d=0;d{const u=e.slides.map(c=>ia(c));u.forEach(c=>{c.style.transitionDuration=`${s}ms`,c.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(d=>{d.style.transitionDuration=`${s}ms`})}),Sd({swiper:e,duration:s,transformElements:u})},recreateShadows:()=>{e.params.flipEffect,e.slides.forEach(s=>{let u=s.progress;e.params.flipEffect.limitRotation&&(u=Math.max(Math.min(s.progress,1),-1)),i(s,u)})},getEffectParams:()=>e.params.flipEffect,perspective:()=>!0,overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!e.params.cssMode})})}function b5(t){let{swiper:e,extendParams:n,on:r}=t;n({coverflowEffect:{rotate:50,stretch:0,depth:100,scale:1,modifier:1,slideShadows:!0}}),wo({effect:"coverflow",swiper:e,on:r,setTranslate:()=>{const{width:o,height:l,slides:s,slidesSizesGrid:u}=e,c=e.params.coverflowEffect,d=e.isHorizontal(),f=e.translate,p=d?-f+o/2:-f+l/2,w=d?c.rotate:-c.rotate,g=c.depth;for(let y=0,h=s.length;y0?x:0),L&&(L.style.opacity=-x>0?-x:0)}}},setTransition:o=>{e.slides.map(s=>ia(s)).forEach(s=>{s.style.transitionDuration=`${o}ms`,s.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(u=>{u.style.transitionDuration=`${o}ms`})})},perspective:()=>!0,overwriteParams:()=>({watchSlidesProgress:!0})})}function S5(t){let{swiper:e,extendParams:n,on:r}=t;n({creativeEffect:{limitProgress:1,shadowPerProgress:!1,progressMultiplier:1,perspective:!0,prev:{translate:[0,0,0],rotate:[0,0,0],opacity:1,scale:1},next:{translate:[0,0,0],rotate:[0,0,0],opacity:1,scale:1}}});const i=l=>typeof l=="string"?l:`${l}px`;wo({effect:"creative",swiper:e,on:r,setTranslate:()=>{const{slides:l,wrapperEl:s,slidesSizesGrid:u}=e,c=e.params.creativeEffect,{progressMultiplier:d}=c,f=e.params.centeredSlides;if(f){const p=u[0]/2-e.params.slidesOffsetBefore||0;s.style.transform=`translateX(calc(50% - ${p}px))`}for(let p=0;p0&&(x=c.prev,E=!0),m.forEach((A,M)=>{m[M]=`calc(${A}px + (${i(x.translate[M])} * ${Math.abs(y*d)}))`}),b.forEach((A,M)=>{let R=x.rotate[M]*Math.abs(y*d);e.browser&&e.browser.isSafari&&Math.abs(R)/90%2===1&&(R+=.001),b[M]=R}),w.style.zIndex=-Math.abs(Math.round(g))+l.length;const C=m.join(", "),T=`rotateX(${b[0]}deg) rotateY(${b[1]}deg) rotateZ(${b[2]}deg)`,P=h<0?`scale(${1+(1-x.scale)*h*d})`:`scale(${1-(1-x.scale)*h*d})`,O=h<0?1+(1-x.opacity)*h*d:1-(1-x.opacity)*h*d,I=`translate3d(${C}) ${T} ${P}`;if(E&&x.shadow||!E){let A=w.querySelector(".swiper-slide-shadow");if(!A&&x.shadow&&(A=co("creative",w)),A){const M=c.shadowPerProgress?y*(1/c.limitProgress):y;A.style.opacity=Math.min(Math.max(Math.abs(M),0),1)}}const N=gl(c,w);N.style.transform=I,N.style.opacity=O,x.origin&&(N.style.transformOrigin=x.origin)}},setTransition:l=>{const s=e.slides.map(u=>ia(u));s.forEach(u=>{u.style.transitionDuration=`${l}ms`,u.querySelectorAll(".swiper-slide-shadow").forEach(c=>{c.style.transitionDuration=`${l}ms`})}),Sd({swiper:e,duration:l,transformElements:s,allSlides:!0})},perspective:()=>e.params.creativeEffect.perspective,overwriteParams:()=>({watchSlidesProgress:!0,virtualTranslate:!e.params.cssMode})})}function x5(t){let{swiper:e,extendParams:n,on:r}=t;n({cardsEffect:{slideShadows:!0,rotate:!0,perSlideRotate:2,perSlideOffset:8}}),wo({effect:"cards",swiper:e,on:r,setTranslate:()=>{const{slides:o,activeIndex:l,rtlTranslate:s}=e,u=e.params.cardsEffect,{startTranslate:c,isTouched:d}=e.touchEventsData,f=s?-e.translate:e.translate;for(let p=0;p0&&y<1&&(d||e.params.cssMode)&&f-1&&(d||e.params.cssMode)&&f>c;if(P||O){const M=(1-Math.abs((Math.abs(y)-.5)/.5))**.5;x+=-28*y*M,E+=-.5*M,C+=96*M,m=`${-25*M*Math.abs(y)}%`}if(y<0?v=`calc(${v}px ${s?"-":"+"} (${C*Math.abs(y)}%))`:y>0?v=`calc(${v}px ${s?"-":"+"} (-${C*Math.abs(y)}%))`:v=`${v}px`,!e.isHorizontal()){const M=m;m=v,v=M}const I=y<0?`${1+(1-E)*y}`:`${1-(1-E)*y}`,N=` + */const cb=xd("Sun",[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]]),Vz="_navbar_18pra_1",jz="_logo_18pra_13",$z="_right_18pra_28",zz="_links_18pra_32",Bz="_github_18pra_35",Hz="_hamburger_18pra_47",Uz="_themeButton_18pra_58",Wz="_drawerContent_18pra_93",Gz="_drawerList_18pra_97",qz="_drawerListItem_18pra_103",sn={navbar:Vz,logo:jz,right:$z,links:zz,github:Bz,hamburger:Hz,themeButton:Uz,drawerContent:Wz,drawerList:Gz,drawerListItem:qz,"ant-drawer-close":"_ant-drawer-close_18pra_107","ant-drawer-header":"_ant-drawer-header_18pra_113","ant-drawer-title":"_ant-drawer-title_18pra_118"};function Fv({children:t,title:e}){const{theme:n,toggleTheme:r}=S.useContext(Dv),[i,a]=S.useState(!1),o=()=>{a(!i)};return V.jsxs("nav",{className:sn.navbar,children:[V.jsxs("a",{className:sn.logo,href:"/frontend-mini-challenges/",children:[V.jsx("img",{src:qN,alt:"logo"}),V.jsx("span",{children:e??"Frontend Mini Challenges"})]}),V.jsxs("div",{className:sn.right,children:[V.jsx("div",{className:sn.links,children:t}),V.jsx("a",{href:"https://github.com/sadanandpai/frontend-mini-challenges/",target:"blank",className:sn.github,children:V.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",children:V.jsx("path",{fill:"currentColor",d:"M12 2A10 10 0 0 0 2 12c0 4.42 2.87 8.17 6.84 9.5c.5.08.66-.23.66-.5v-1.69c-2.77.6-3.36-1.34-3.36-1.34c-.46-1.16-1.11-1.47-1.11-1.47c-.91-.62.07-.6.07-.6c1 .07 1.53 1.03 1.53 1.03c.87 1.52 2.34 1.07 2.91.83c.09-.65.35-1.09.63-1.34c-2.22-.25-4.55-1.11-4.55-4.92c0-1.11.38-2 1.03-2.71c-.1-.25-.45-1.29.1-2.64c0 0 .84-.27 2.75 1.02c.79-.22 1.65-.33 2.5-.33c.85 0 1.71.11 2.5.33c1.91-1.29 2.75-1.02 2.75-1.02c.55 1.35.2 2.39.1 2.64c.65.71 1.03 1.6 1.03 2.71c0 3.82-2.34 4.66-4.57 4.91c.36.31.69.92.69 1.85V21c0 .27.16.59.67.5C19.14 20.16 22 16.42 22 12A10 10 0 0 0 12 2Z"})})}),V.jsx("button",{className:sn.themeButton,onClick:r,children:n==="light"?V.jsx(cb,{}):V.jsx(ub,{})})]}),V.jsx("div",{className:sn.hamburger,children:V.jsx("button",{onClick:o,style:{color:n==="light"?"currentColor":"#ffffff"},children:V.jsx(Nz,{})})}),V.jsx(Oz,{title:V.jsx("span",{style:{color:n==="dark"?"#fff":"#000"},children:"Menu"}),placement:"right",closable:!0,onClose:o,open:i,width:"50%",className:n==="dark"?sn.darkDrawer:"",style:{background:n==="dark"?"#192841":"#fff"},children:V.jsxs("div",{className:sn.drawerContent,children:[V.jsx("ul",{className:sn.drawerList,children:Xe.Children.map(t,(l,s)=>V.jsx("li",{className:sn.drawerListItem,children:l},s))}),V.jsx("button",{className:sn.themeButton,onClick:r,children:n==="light"?V.jsx(cb,{}):V.jsx(ub,{})}),V.jsx("a",{href:"https://github.com/sadanandpai/frontend-mini-challenges/",target:"blank",className:sn.github,children:V.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",children:V.jsx("path",{fill:"currentColor",d:"M12 2A10 10 0 0 0 2 12c0 4.42 2.87 8.17 6.84 9.5c.5.08.66-.23.66-.5v-1.69c-2.77.6-3.36-1.34-3.36-1.34c-.46-1.16-1.11-1.47-1.11-1.47c-.91-.62.07-.6.07-.6c1 .07 1.53 1.03 1.53 1.03c.87 1.52 2.34 1.07 2.91.83c.09-.65.35-1.09.63-1.34c-2.22-.25-4.55-1.11-4.55-4.92c0-1.11.38-2 1.03-2.71c-.1-.25-.45-1.29.1-2.64c0 0 .84-.27 2.75 1.02c.79-.22 1.65-.33 2.5-.33c.85 0 1.71.11 2.5.33c1.91-1.29 2.75-1.02 2.75-1.02c.55 1.35.2 2.39.1 2.64c.65.71 1.03 1.6 1.03 2.71c0 3.82-2.34 4.66-4.57 4.91c.36.31.69.92.69 1.85V21c0 .27.16.59.67.5C19.14 20.16 22 16.42 22 12A10 10 0 0 0 12 2Z"})})})]})})]})}function db(t){return t!==null&&typeof t=="object"&&"constructor"in t&&t.constructor===Object}function Nv(t,e){t===void 0&&(t={}),e===void 0&&(e={}),Object.keys(e).forEach(n=>{typeof t[n]>"u"?t[n]=e[n]:db(e[n])&&db(t[n])&&Object.keys(e[n]).length>0&&Nv(t[n],e[n])})}const QP={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector(){return null},querySelectorAll(){return[]},getElementById(){return null},createEvent(){return{initEvent(){}}},createElement(){return{children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName(){return[]}}},createElementNS(){return{}},importNode(){return null},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function Ht(){const t=typeof document<"u"?document:{};return Nv(t,QP),t}const Xz={document:QP,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle(){return{getPropertyValue(){return""}}},Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia(){return{}},requestAnimationFrame(t){return typeof setTimeout>"u"?(t(),null):setTimeout(t,0)},cancelAnimationFrame(t){typeof setTimeout>"u"||clearTimeout(t)}};function Ke(){const t=typeof window<"u"?window:{};return Nv(t,Xz),t}function $r(t){return t===void 0&&(t=""),t.trim().split(" ").filter(e=>!!e.trim())}function Kz(t){const e=t;Object.keys(e).forEach(n=>{try{e[n]=null}catch{}try{delete e[n]}catch{}})}function Zi(t,e){return e===void 0&&(e=0),setTimeout(t,e)}function An(){return Date.now()}function Yz(t){const e=Ke();let n;return e.getComputedStyle&&(n=e.getComputedStyle(t,null)),!n&&t.currentStyle&&(n=t.currentStyle),n||(n=t.style),n}function Em(t,e){e===void 0&&(e="x");const n=Ke();let r,i,a;const o=Yz(t);return n.WebKitCSSMatrix?(i=o.transform||o.webkitTransform,i.split(",").length>6&&(i=i.split(", ").map(l=>l.replace(",",".")).join(", ")),a=new n.WebKitCSSMatrix(i==="none"?"":i)):(a=o.MozTransform||o.OTransform||o.MsTransform||o.msTransform||o.transform||o.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),r=a.toString().split(",")),e==="x"&&(n.WebKitCSSMatrix?i=a.m41:r.length===16?i=parseFloat(r[12]):i=parseFloat(r[4])),e==="y"&&(n.WebKitCSSMatrix?i=a.m42:r.length===16?i=parseFloat(r[13]):i=parseFloat(r[5])),i||0}function Ko(t){return typeof t=="object"&&t!==null&&t.constructor&&Object.prototype.toString.call(t).slice(8,-1)==="Object"}function Qz(t){return typeof window<"u"&&typeof window.HTMLElement<"u"?t instanceof HTMLElement:t&&(t.nodeType===1||t.nodeType===11)}function dn(){const t=Object(arguments.length<=0?void 0:arguments[0]),e=["__proto__","constructor","prototype"];for(let n=1;ne.indexOf(a)<0);for(let a=0,o=i.length;aa?"next":"prev",c=(f,p)=>u==="next"&&f>=p||u==="prev"&&f<=p,d=()=>{l=new Date().getTime(),o===null&&(o=l);const f=Math.max(Math.min((l-o)/s,1),0),p=.5-Math.cos(f*Math.PI)/2;let w=a+p*(n-a);if(c(w,n)&&(w=n),e.wrapperEl.scrollTo({[r]:w}),c(w,n)){e.wrapperEl.style.overflow="hidden",e.wrapperEl.style.scrollSnapType="",setTimeout(()=>{e.wrapperEl.style.overflow="",e.wrapperEl.scrollTo({[r]:w})}),i.cancelAnimationFrame(e.cssModeFrameID);return}e.cssModeFrameID=i.requestAnimationFrame(d)};d()}function ia(t){return t.querySelector(".swiper-slide-transform")||t.shadowRoot&&t.shadowRoot.querySelector(".swiper-slide-transform")||t}function Ct(t,e){return e===void 0&&(e=""),[...t.children].filter(n=>n.matches(e))}function bc(t){try{console.warn(t);return}catch{}}function mn(t,e){e===void 0&&(e=[]);const n=document.createElement(t);return n.classList.add(...Array.isArray(e)?e:$r(e)),n}function Sc(t){const e=Ke(),n=Ht(),r=t.getBoundingClientRect(),i=n.body,a=t.clientTop||i.clientTop||0,o=t.clientLeft||i.clientLeft||0,l=t===e?e.scrollY:t.scrollTop,s=t===e?e.scrollX:t.scrollLeft;return{top:r.top+l-a,left:r.left+s-o}}function Zz(t,e){const n=[];for(;t.previousElementSibling;){const r=t.previousElementSibling;e?r.matches(e)&&n.push(r):n.push(r),t=r}return n}function Jz(t,e){const n=[];for(;t.nextElementSibling;){const r=t.nextElementSibling;e?r.matches(e)&&n.push(r):n.push(r),t=r}return n}function Qr(t,e){return Ke().getComputedStyle(t,null).getPropertyValue(e)}function qs(t){let e=t,n;if(e){for(n=0;(e=e.previousSibling)!==null;)e.nodeType===1&&(n+=1);return n}}function Ui(t,e){const n=[];let r=t.parentElement;for(;r;)e?r.matches(e)&&n.push(r):n.push(r),r=r.parentElement;return n}function ws(t,e){function n(r){r.target===t&&(e.call(t,r),t.removeEventListener("transitionend",n))}e&&t.addEventListener("transitionend",n)}function Cm(t,e,n){const r=Ke();return n?t[e==="width"?"offsetWidth":"offsetHeight"]+parseFloat(r.getComputedStyle(t,null).getPropertyValue(e==="width"?"margin-right":"margin-top"))+parseFloat(r.getComputedStyle(t,null).getPropertyValue(e==="width"?"margin-left":"margin-bottom")):t.offsetWidth}function e5(t){let{swiper:e,extendParams:n,on:r,emit:i}=t;n({virtual:{enabled:!1,slides:[],cache:!0,renderSlide:null,renderExternal:null,renderExternalUpdate:!0,addSlidesBefore:0,addSlidesAfter:0}});let a;const o=Ht();e.virtual={cache:{},from:void 0,to:void 0,slides:[],offset:0,slidesGrid:[]};const l=o.createElement("div");function s(w,g){const y=e.params.virtual;if(y.cache&&e.virtual.cache[g])return e.virtual.cache[g];let h;return y.renderSlide?(h=y.renderSlide.call(e,w,g),typeof h=="string"&&(l.innerHTML=h,h=l.children[0])):e.isElement?h=mn("swiper-slide"):h=mn("div",e.params.slideClass),h.setAttribute("data-swiper-slide-index",g),y.renderSlide||(h.innerHTML=w),y.cache&&(e.virtual.cache[g]=h),h}function u(w){const{slidesPerView:g,slidesPerGroup:y,centeredSlides:h,loop:v}=e.params,{addSlidesBefore:m,addSlidesAfter:b}=e.params.virtual,{from:E,to:x,slides:C,slidesGrid:T,offset:P}=e.virtual;e.params.cssMode||e.updateActiveIndex();const O=e.activeIndex||0;let I;e.rtlTranslate?I="right":I=e.isHorizontal()?"left":"top";let N,A;h?(N=Math.floor(g/2)+y+b,A=Math.floor(g/2)+y+m):(N=g+(y-1)+b,A=(v?g:y)+m);let M=O-A,R=O+N;v||(M=Math.max(M,0),R=Math.min(R,C.length-1));let D=(e.slidesGrid[M]||0)-(e.slidesGrid[0]||0);v&&O>=A?(M-=A,h||(D+=e.slidesGrid[0])):v&&O{q.style[I]=`${D-Math.abs(e.cssOverflowAdjustment())}px`}),e.updateProgress(),i("virtualUpdate");return}if(e.params.virtual.renderExternal){e.params.virtual.renderExternal.call(e,{offset:D,from:M,to:R,slides:function(){const K=[];for(let ne=M;ne<=R;ne+=1)K.push(C[ne]);return K}()}),e.params.virtual.renderExternalUpdate?L():i("virtualUpdate");return}const k=[],F=[],j=q=>{let K=q;return q<0?K=C.length+q:K>=C.length&&(K=K-C.length),K};if(w)e.slides.filter(q=>q.matches(`.${e.params.slideClass}, swiper-slide`)).forEach(q=>{q.remove()});else for(let q=E;q<=x;q+=1)if(qR){const K=j(q);e.slides.filter(ne=>ne.matches(`.${e.params.slideClass}[data-swiper-slide-index="${K}"], swiper-slide[data-swiper-slide-index="${K}"]`)).forEach(ne=>{ne.remove()})}const B=v?-C.length:0,G=v?C.length*2:C.length;for(let q=B;q=M&&q<=R){const K=j(q);typeof x>"u"||w?F.push(K):(q>x&&F.push(K),q{e.slidesEl.append(s(C[q],q))}),v)for(let q=k.length-1;q>=0;q-=1){const K=k[q];e.slidesEl.prepend(s(C[K],K))}else k.sort((q,K)=>K-q),k.forEach(q=>{e.slidesEl.prepend(s(C[q],q))});Ct(e.slidesEl,".swiper-slide, swiper-slide").forEach(q=>{q.style[I]=`${D-Math.abs(e.cssOverflowAdjustment())}px`}),L()}function c(w){if(typeof w=="object"&&"length"in w)for(let g=0;g{const E=v[b],x=E.getAttribute("data-swiper-slide-index");x&&E.setAttribute("data-swiper-slide-index",parseInt(x,10)+h),m[parseInt(b,10)+h]=E}),e.virtual.cache=m}u(!0),e.slideTo(y,0)}function f(w){if(typeof w>"u"||w===null)return;let g=e.activeIndex;if(Array.isArray(w))for(let y=w.length-1;y>=0;y-=1)e.params.virtual.cache&&(delete e.virtual.cache[w[y]],Object.keys(e.virtual.cache).forEach(h=>{h>w&&(e.virtual.cache[h-1]=e.virtual.cache[h],e.virtual.cache[h-1].setAttribute("data-swiper-slide-index",h-1),delete e.virtual.cache[h])})),e.virtual.slides.splice(w[y],1),w[y]{y>w&&(e.virtual.cache[y-1]=e.virtual.cache[y],e.virtual.cache[y-1].setAttribute("data-swiper-slide-index",y-1),delete e.virtual.cache[y])})),e.virtual.slides.splice(w,1),w{if(!e.params.virtual.enabled)return;let w;if(typeof e.passedParams.virtual.slides>"u"){const g=[...e.slidesEl.children].filter(y=>y.matches(`.${e.params.slideClass}, swiper-slide`));g&&g.length&&(e.virtual.slides=[...g],w=!0,g.forEach((y,h)=>{y.setAttribute("data-swiper-slide-index",h),e.virtual.cache[h]=y,y.remove()}))}w||(e.virtual.slides=e.params.virtual.slides),e.classNames.push(`${e.params.containerModifierClass}virtual`),e.params.watchSlidesProgress=!0,e.originalParams.watchSlidesProgress=!0,u()}),r("setTranslate",()=>{e.params.virtual.enabled&&(e.params.cssMode&&!e._immediateVirtual?(clearTimeout(a),a=setTimeout(()=>{u()},100)):u())}),r("init update resize",()=>{e.params.virtual.enabled&&e.params.cssMode&&Yo(e.wrapperEl,"--swiper-virtual-size",`${e.virtualSize}px`)}),Object.assign(e.virtual,{appendSlide:c,prependSlide:d,removeSlide:f,removeAllSlides:p,update:u})}function t5(t){let{swiper:e,extendParams:n,on:r,emit:i}=t;const a=Ht(),o=Ke();e.keyboard={enabled:!1},n({keyboard:{enabled:!1,onlyInViewport:!0,pageUpDown:!0}});function l(c){if(!e.enabled)return;const{rtlTranslate:d}=e;let f=c;f.originalEvent&&(f=f.originalEvent);const p=f.keyCode||f.charCode,w=e.params.keyboard.pageUpDown,g=w&&p===33,y=w&&p===34,h=p===37,v=p===39,m=p===38,b=p===40;if(!e.allowSlideNext&&(e.isHorizontal()&&v||e.isVertical()&&b||y)||!e.allowSlidePrev&&(e.isHorizontal()&&h||e.isVertical()&&m||g))return!1;if(!(f.shiftKey||f.altKey||f.ctrlKey||f.metaKey)&&!(a.activeElement&&a.activeElement.nodeName&&(a.activeElement.nodeName.toLowerCase()==="input"||a.activeElement.nodeName.toLowerCase()==="textarea"))){if(e.params.keyboard.onlyInViewport&&(g||y||h||v||m||b)){let E=!1;if(Ui(e.el,`.${e.params.slideClass}, swiper-slide`).length>0&&Ui(e.el,`.${e.params.slideActiveClass}`).length===0)return;const x=e.el,C=x.clientWidth,T=x.clientHeight,P=o.innerWidth,O=o.innerHeight,I=Sc(x);d&&(I.left-=x.scrollLeft);const N=[[I.left,I.top],[I.left+C,I.top],[I.left,I.top+T],[I.left+C,I.top+T]];for(let A=0;A=0&&M[0]<=P&&M[1]>=0&&M[1]<=O){if(M[0]===0&&M[1]===0)continue;E=!0}}if(!E)return}e.isHorizontal()?((g||y||h||v)&&(f.preventDefault?f.preventDefault():f.returnValue=!1),((y||v)&&!d||(g||h)&&d)&&e.slideNext(),((g||h)&&!d||(y||v)&&d)&&e.slidePrev()):((g||y||m||b)&&(f.preventDefault?f.preventDefault():f.returnValue=!1),(y||b)&&e.slideNext(),(g||m)&&e.slidePrev()),i("keyPress",p)}}function s(){e.keyboard.enabled||(a.addEventListener("keydown",l),e.keyboard.enabled=!0)}function u(){e.keyboard.enabled&&(a.removeEventListener("keydown",l),e.keyboard.enabled=!1)}r("init",()=>{e.params.keyboard.enabled&&s()}),r("destroy",()=>{e.keyboard.enabled&&u()}),Object.assign(e.keyboard,{enable:s,disable:u})}function n5(t){let{swiper:e,extendParams:n,on:r,emit:i}=t;const a=Ke();n({mousewheel:{enabled:!1,releaseOnEdges:!1,invert:!1,forceToAxis:!1,sensitivity:1,eventsTarget:"container",thresholdDelta:null,thresholdTime:null,noMousewheelClass:"swiper-no-mousewheel"}}),e.mousewheel={enabled:!1};let o,l=An(),s;const u=[];function c(m){let C=0,T=0,P=0,O=0;return"detail"in m&&(T=m.detail),"wheelDelta"in m&&(T=-m.wheelDelta/120),"wheelDeltaY"in m&&(T=-m.wheelDeltaY/120),"wheelDeltaX"in m&&(C=-m.wheelDeltaX/120),"axis"in m&&m.axis===m.HORIZONTAL_AXIS&&(C=T,T=0),P=C*10,O=T*10,"deltaY"in m&&(O=m.deltaY),"deltaX"in m&&(P=m.deltaX),m.shiftKey&&!P&&(P=O,O=0),(P||O)&&m.deltaMode&&(m.deltaMode===1?(P*=40,O*=40):(P*=800,O*=800)),P&&!C&&(C=P<1?-1:1),O&&!T&&(T=O<1?-1:1),{spinX:C,spinY:T,pixelX:P,pixelY:O}}function d(){e.enabled&&(e.mouseEntered=!0)}function f(){e.enabled&&(e.mouseEntered=!1)}function p(m){return e.params.mousewheel.thresholdDelta&&m.delta=6&&An()-l<60?!0:(m.direction<0?(!e.isEnd||e.params.loop)&&!e.animating&&(e.slideNext(),i("scroll",m.raw)):(!e.isBeginning||e.params.loop)&&!e.animating&&(e.slidePrev(),i("scroll",m.raw)),l=new a.Date().getTime(),!1)}function w(m){const b=e.params.mousewheel;if(m.direction<0){if(e.isEnd&&!e.params.loop&&b.releaseOnEdges)return!0}else if(e.isBeginning&&!e.params.loop&&b.releaseOnEdges)return!0;return!1}function g(m){let b=m,E=!0;if(!e.enabled||m.target.closest(`.${e.params.mousewheel.noMousewheelClass}`))return;const x=e.params.mousewheel;e.params.cssMode&&b.preventDefault();let C=e.el;e.params.mousewheel.eventsTarget!=="container"&&(C=document.querySelector(e.params.mousewheel.eventsTarget));const T=C&&C.contains(b.target);if(!e.mouseEntered&&!T&&!x.releaseOnEdges)return!0;b.originalEvent&&(b=b.originalEvent);let P=0;const O=e.rtlTranslate?-1:1,I=c(b);if(x.forceToAxis)if(e.isHorizontal())if(Math.abs(I.pixelX)>Math.abs(I.pixelY))P=-I.pixelX*O;else return!0;else if(Math.abs(I.pixelY)>Math.abs(I.pixelX))P=-I.pixelY;else return!0;else P=Math.abs(I.pixelX)>Math.abs(I.pixelY)?-I.pixelX*O:-I.pixelY;if(P===0)return!0;x.invert&&(P=-P);let N=e.getTranslate()+P*x.sensitivity;if(N>=e.minTranslate()&&(N=e.minTranslate()),N<=e.maxTranslate()&&(N=e.maxTranslate()),E=e.params.loop?!0:!(N===e.minTranslate()||N===e.maxTranslate()),E&&e.params.nested&&b.stopPropagation(),!e.params.freeMode||!e.params.freeMode.enabled){const A={time:An(),delta:Math.abs(P),direction:Math.sign(P),raw:m};u.length>=2&&u.shift();const M=u.length?u[u.length-1]:void 0;if(u.push(A),M?(A.direction!==M.direction||A.delta>M.delta||A.time>M.time+150)&&p(A):p(A),w(A))return!0}else{const A={time:An(),delta:Math.abs(P),direction:Math.sign(P)},M=s&&A.time=e.minTranslate()&&(R=e.minTranslate()),R<=e.maxTranslate()&&(R=e.maxTranslate()),e.setTransition(0),e.setTranslate(R),e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses(),(!D&&e.isBeginning||!L&&e.isEnd)&&e.updateSlidesClasses(),e.params.loop&&e.loopFix({direction:A.direction<0?"next":"prev",byMousewheel:!0}),e.params.freeMode.sticky){clearTimeout(o),o=void 0,u.length>=15&&u.shift();const k=u.length?u[u.length-1]:void 0,F=u[0];if(u.push(A),k&&(A.delta>k.delta||A.direction!==k.direction))u.splice(0);else if(u.length>=15&&A.time-F.time<500&&F.delta-A.delta>=1&&A.delta<=6){const j=P>0?.8:.2;s=A,u.splice(0),o=Zi(()=>{e.slideToClosest(e.params.speed,!0,void 0,j)},0)}o||(o=Zi(()=>{s=A,u.splice(0),e.slideToClosest(e.params.speed,!0,void 0,.5)},500))}if(M||i("scroll",b),e.params.autoplay&&e.params.autoplayDisableOnInteraction&&e.autoplay.stop(),x.releaseOnEdges&&(R===e.minTranslate()||R===e.maxTranslate()))return!0}}return b.preventDefault?b.preventDefault():b.returnValue=!1,!1}function y(m){let b=e.el;e.params.mousewheel.eventsTarget!=="container"&&(b=document.querySelector(e.params.mousewheel.eventsTarget)),b[m]("mouseenter",d),b[m]("mouseleave",f),b[m]("wheel",g)}function h(){return e.params.cssMode?(e.wrapperEl.removeEventListener("wheel",g),!0):e.mousewheel.enabled?!1:(y("addEventListener"),e.mousewheel.enabled=!0,!0)}function v(){return e.params.cssMode?(e.wrapperEl.addEventListener(event,g),!0):e.mousewheel.enabled?(y("removeEventListener"),e.mousewheel.enabled=!1,!0):!1}r("init",()=>{!e.params.mousewheel.enabled&&e.params.cssMode&&v(),e.params.mousewheel.enabled&&h()}),r("destroy",()=>{e.params.cssMode&&h(),e.mousewheel.enabled&&v()}),Object.assign(e.mousewheel,{enable:h,disable:v})}function _v(t,e,n,r){return t.params.createElements&&Object.keys(r).forEach(i=>{if(!n[i]&&n.auto===!0){let a=Ct(t.el,`.${r[i]}`)[0];a||(a=mn("div",r[i]),a.className=r[i],t.el.append(a)),n[i]=a,e[i]=a}}),n}function JP(t){let{swiper:e,extendParams:n,on:r,emit:i}=t;n({navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock",navigationDisabledClass:"swiper-navigation-disabled"}}),e.navigation={nextEl:null,prevEl:null};const a=g=>(Array.isArray(g)?g:[g]).filter(y=>!!y);function o(g){let y;return g&&typeof g=="string"&&e.isElement&&(y=e.el.querySelector(g),y)?y:(g&&(typeof g=="string"&&(y=[...document.querySelectorAll(g)]),e.params.uniqueNavElements&&typeof g=="string"&&y.length>1&&e.el.querySelectorAll(g).length===1&&(y=e.el.querySelector(g))),g&&!y?g:y)}function l(g,y){const h=e.params.navigation;g=a(g),g.forEach(v=>{v&&(v.classList[y?"add":"remove"](...h.disabledClass.split(" ")),v.tagName==="BUTTON"&&(v.disabled=y),e.params.watchOverflow&&e.enabled&&v.classList[e.isLocked?"add":"remove"](h.lockClass))})}function s(){const{nextEl:g,prevEl:y}=e.navigation;if(e.params.loop){l(y,!1),l(g,!1);return}l(y,e.isBeginning&&!e.params.rewind),l(g,e.isEnd&&!e.params.rewind)}function u(g){g.preventDefault(),!(e.isBeginning&&!e.params.loop&&!e.params.rewind)&&(e.slidePrev(),i("navigationPrev"))}function c(g){g.preventDefault(),!(e.isEnd&&!e.params.loop&&!e.params.rewind)&&(e.slideNext(),i("navigationNext"))}function d(){const g=e.params.navigation;if(e.params.navigation=_v(e,e.originalParams.navigation,e.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),!(g.nextEl||g.prevEl))return;let y=o(g.nextEl),h=o(g.prevEl);Object.assign(e.navigation,{nextEl:y,prevEl:h}),y=a(y),h=a(h);const v=(m,b)=>{m&&m.addEventListener("click",b==="next"?c:u),!e.enabled&&m&&m.classList.add(...g.lockClass.split(" "))};y.forEach(m=>v(m,"next")),h.forEach(m=>v(m,"prev"))}function f(){let{nextEl:g,prevEl:y}=e.navigation;g=a(g),y=a(y);const h=(v,m)=>{v.removeEventListener("click",m==="next"?c:u),v.classList.remove(...e.params.navigation.disabledClass.split(" "))};g.forEach(v=>h(v,"next")),y.forEach(v=>h(v,"prev"))}r("init",()=>{e.params.navigation.enabled===!1?w():(d(),s())}),r("toEdge fromEdge lock unlock",()=>{s()}),r("destroy",()=>{f()}),r("enable disable",()=>{let{nextEl:g,prevEl:y}=e.navigation;if(g=a(g),y=a(y),e.enabled){s();return}[...g,...y].filter(h=>!!h).forEach(h=>h.classList.add(e.params.navigation.lockClass))}),r("click",(g,y)=>{let{nextEl:h,prevEl:v}=e.navigation;h=a(h),v=a(v);const m=y.target;if(e.params.navigation.hideOnClick&&!v.includes(m)&&!h.includes(m)){if(e.pagination&&e.params.pagination&&e.params.pagination.clickable&&(e.pagination.el===m||e.pagination.el.contains(m)))return;let b;h.length?b=h[0].classList.contains(e.params.navigation.hiddenClass):v.length&&(b=v[0].classList.contains(e.params.navigation.hiddenClass)),i(b===!0?"navigationShow":"navigationHide"),[...h,...v].filter(E=>!!E).forEach(E=>E.classList.toggle(e.params.navigation.hiddenClass))}});const p=()=>{e.el.classList.remove(...e.params.navigation.navigationDisabledClass.split(" ")),d(),s()},w=()=>{e.el.classList.add(...e.params.navigation.navigationDisabledClass.split(" ")),f()};Object.assign(e.navigation,{enable:p,disable:w,update:s,init:d,destroy:f})}function wr(t){return t===void 0&&(t=""),`.${t.trim().replace(/([\.:!+\/])/g,"\\$1").replace(/ /g,".")}`}function ek(t){let{swiper:e,extendParams:n,on:r,emit:i}=t;const a="swiper-pagination";n({pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:v=>v,formatFractionTotal:v=>v,bulletClass:`${a}-bullet`,bulletActiveClass:`${a}-bullet-active`,modifierClass:`${a}-`,currentClass:`${a}-current`,totalClass:`${a}-total`,hiddenClass:`${a}-hidden`,progressbarFillClass:`${a}-progressbar-fill`,progressbarOppositeClass:`${a}-progressbar-opposite`,clickableClass:`${a}-clickable`,lockClass:`${a}-lock`,horizontalClass:`${a}-horizontal`,verticalClass:`${a}-vertical`,paginationDisabledClass:`${a}-disabled`}}),e.pagination={el:null,bullets:[]};let o,l=0;const s=v=>(Array.isArray(v)?v:[v]).filter(m=>!!m);function u(){return!e.params.pagination.el||!e.pagination.el||Array.isArray(e.pagination.el)&&e.pagination.el.length===0}function c(v,m){const{bulletActiveClass:b}=e.params.pagination;v&&(v=v[`${m==="prev"?"previous":"next"}ElementSibling`],v&&(v.classList.add(`${b}-${m}`),v=v[`${m==="prev"?"previous":"next"}ElementSibling`],v&&v.classList.add(`${b}-${m}-${m}`)))}function d(v){const m=v.target.closest(wr(e.params.pagination.bulletClass));if(!m)return;v.preventDefault();const b=qs(m)*e.params.slidesPerGroup;if(e.params.loop){if(e.realIndex===b)return;e.slideToLoop(b)}else e.slideTo(b)}function f(){const v=e.rtl,m=e.params.pagination;if(u())return;let b=e.pagination.el;b=s(b);let E,x;const C=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,T=e.params.loop?Math.ceil(C/e.params.slidesPerGroup):e.snapGrid.length;if(e.params.loop?(x=e.previousRealIndex||0,E=e.params.slidesPerGroup>1?Math.floor(e.realIndex/e.params.slidesPerGroup):e.realIndex):typeof e.snapIndex<"u"?(E=e.snapIndex,x=e.previousSnapIndex):(x=e.previousIndex||0,E=e.activeIndex||0),m.type==="bullets"&&e.pagination.bullets&&e.pagination.bullets.length>0){const P=e.pagination.bullets;let O,I,N;if(m.dynamicBullets&&(o=Cm(P[0],e.isHorizontal()?"width":"height",!0),b.forEach(A=>{A.style[e.isHorizontal()?"width":"height"]=`${o*(m.dynamicMainBullets+4)}px`}),m.dynamicMainBullets>1&&x!==void 0&&(l+=E-(x||0),l>m.dynamicMainBullets-1?l=m.dynamicMainBullets-1:l<0&&(l=0)),O=Math.max(E-l,0),I=O+(Math.min(P.length,m.dynamicMainBullets)-1),N=(I+O)/2),P.forEach(A=>{const M=[...["","-next","-next-next","-prev","-prev-prev","-main"].map(R=>`${m.bulletActiveClass}${R}`)].map(R=>typeof R=="string"&&R.includes(" ")?R.split(" "):R).flat();A.classList.remove(...M)}),b.length>1)P.forEach(A=>{const M=qs(A);M===E?A.classList.add(...m.bulletActiveClass.split(" ")):e.isElement&&A.setAttribute("part","bullet"),m.dynamicBullets&&(M>=O&&M<=I&&A.classList.add(...`${m.bulletActiveClass}-main`.split(" ")),M===O&&c(A,"prev"),M===I&&c(A,"next"))});else{const A=P[E];if(A&&A.classList.add(...m.bulletActiveClass.split(" ")),e.isElement&&P.forEach((M,R)=>{M.setAttribute("part",R===E?"bullet-active":"bullet")}),m.dynamicBullets){const M=P[O],R=P[I];for(let D=O;D<=I;D+=1)P[D]&&P[D].classList.add(...`${m.bulletActiveClass}-main`.split(" "));c(M,"prev"),c(R,"next")}}if(m.dynamicBullets){const A=Math.min(P.length,m.dynamicMainBullets+4),M=(o*A-o)/2-N*o,R=v?"right":"left";P.forEach(D=>{D.style[e.isHorizontal()?R:"top"]=`${M}px`})}}b.forEach((P,O)=>{if(m.type==="fraction"&&(P.querySelectorAll(wr(m.currentClass)).forEach(I=>{I.textContent=m.formatFractionCurrent(E+1)}),P.querySelectorAll(wr(m.totalClass)).forEach(I=>{I.textContent=m.formatFractionTotal(T)})),m.type==="progressbar"){let I;m.progressbarOpposite?I=e.isHorizontal()?"vertical":"horizontal":I=e.isHorizontal()?"horizontal":"vertical";const N=(E+1)/T;let A=1,M=1;I==="horizontal"?A=N:M=N,P.querySelectorAll(wr(m.progressbarFillClass)).forEach(R=>{R.style.transform=`translate3d(0,0,0) scaleX(${A}) scaleY(${M})`,R.style.transitionDuration=`${e.params.speed}ms`})}m.type==="custom"&&m.renderCustom?(P.innerHTML=m.renderCustom(e,E+1,T),O===0&&i("paginationRender",P)):(O===0&&i("paginationRender",P),i("paginationUpdate",P)),e.params.watchOverflow&&e.enabled&&P.classList[e.isLocked?"add":"remove"](m.lockClass)})}function p(){const v=e.params.pagination;if(u())return;const m=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.grid&&e.params.grid.rows>1?e.slides.length/Math.ceil(e.params.grid.rows):e.slides.length;let b=e.pagination.el;b=s(b);let E="";if(v.type==="bullets"){let x=e.params.loop?Math.ceil(m/e.params.slidesPerGroup):e.snapGrid.length;e.params.freeMode&&e.params.freeMode.enabled&&x>m&&(x=m);for(let C=0;C`}v.type==="fraction"&&(v.renderFraction?E=v.renderFraction.call(e,v.currentClass,v.totalClass):E=` / `),v.type==="progressbar"&&(v.renderProgressbar?E=v.renderProgressbar.call(e,v.progressbarFillClass):E=``),e.pagination.bullets=[],b.forEach(x=>{v.type!=="custom"&&(x.innerHTML=E||""),v.type==="bullets"&&e.pagination.bullets.push(...x.querySelectorAll(wr(v.bulletClass)))}),v.type!=="custom"&&i("paginationRender",b[0])}function w(){e.params.pagination=_v(e,e.originalParams.pagination,e.params.pagination,{el:"swiper-pagination"});const v=e.params.pagination;if(!v.el)return;let m;typeof v.el=="string"&&e.isElement&&(m=e.el.querySelector(v.el)),!m&&typeof v.el=="string"&&(m=[...document.querySelectorAll(v.el)]),m||(m=v.el),!(!m||m.length===0)&&(e.params.uniqueNavElements&&typeof v.el=="string"&&Array.isArray(m)&&m.length>1&&(m=[...e.el.querySelectorAll(v.el)],m.length>1&&(m=m.filter(b=>Ui(b,".swiper")[0]===e.el)[0])),Array.isArray(m)&&m.length===1&&(m=m[0]),Object.assign(e.pagination,{el:m}),m=s(m),m.forEach(b=>{v.type==="bullets"&&v.clickable&&b.classList.add(...(v.clickableClass||"").split(" ")),b.classList.add(v.modifierClass+v.type),b.classList.add(e.isHorizontal()?v.horizontalClass:v.verticalClass),v.type==="bullets"&&v.dynamicBullets&&(b.classList.add(`${v.modifierClass}${v.type}-dynamic`),l=0,v.dynamicMainBullets<1&&(v.dynamicMainBullets=1)),v.type==="progressbar"&&v.progressbarOpposite&&b.classList.add(v.progressbarOppositeClass),v.clickable&&b.addEventListener("click",d),e.enabled||b.classList.add(v.lockClass)}))}function g(){const v=e.params.pagination;if(u())return;let m=e.pagination.el;m&&(m=s(m),m.forEach(b=>{b.classList.remove(v.hiddenClass),b.classList.remove(v.modifierClass+v.type),b.classList.remove(e.isHorizontal()?v.horizontalClass:v.verticalClass),v.clickable&&(b.classList.remove(...(v.clickableClass||"").split(" ")),b.removeEventListener("click",d))})),e.pagination.bullets&&e.pagination.bullets.forEach(b=>b.classList.remove(...v.bulletActiveClass.split(" ")))}r("changeDirection",()=>{if(!e.pagination||!e.pagination.el)return;const v=e.params.pagination;let{el:m}=e.pagination;m=s(m),m.forEach(b=>{b.classList.remove(v.horizontalClass,v.verticalClass),b.classList.add(e.isHorizontal()?v.horizontalClass:v.verticalClass)})}),r("init",()=>{e.params.pagination.enabled===!1?h():(w(),p(),f())}),r("activeIndexChange",()=>{typeof e.snapIndex>"u"&&f()}),r("snapIndexChange",()=>{f()}),r("snapGridLengthChange",()=>{p(),f()}),r("destroy",()=>{g()}),r("enable disable",()=>{let{el:v}=e.pagination;v&&(v=s(v),v.forEach(m=>m.classList[e.enabled?"remove":"add"](e.params.pagination.lockClass)))}),r("lock unlock",()=>{f()}),r("click",(v,m)=>{const b=m.target,E=s(e.pagination.el);if(e.params.pagination.el&&e.params.pagination.hideOnClick&&E&&E.length>0&&!b.classList.contains(e.params.pagination.bulletClass)){if(e.navigation&&(e.navigation.nextEl&&b===e.navigation.nextEl||e.navigation.prevEl&&b===e.navigation.prevEl))return;const x=E[0].classList.contains(e.params.pagination.hiddenClass);i(x===!0?"paginationShow":"paginationHide"),E.forEach(C=>C.classList.toggle(e.params.pagination.hiddenClass))}});const y=()=>{e.el.classList.remove(e.params.pagination.paginationDisabledClass);let{el:v}=e.pagination;v&&(v=s(v),v.forEach(m=>m.classList.remove(e.params.pagination.paginationDisabledClass))),w(),p(),f()},h=()=>{e.el.classList.add(e.params.pagination.paginationDisabledClass);let{el:v}=e.pagination;v&&(v=s(v),v.forEach(m=>m.classList.add(e.params.pagination.paginationDisabledClass))),g()};Object.assign(e.pagination,{enable:y,disable:h,render:p,update:f,init:w,destroy:g})}function r5(t){let{swiper:e,extendParams:n,on:r,emit:i}=t;const a=Ht();let o=!1,l=null,s=null,u,c,d,f;n({scrollbar:{el:null,dragSize:"auto",hide:!1,draggable:!1,snapOnRelease:!0,lockClass:"swiper-scrollbar-lock",dragClass:"swiper-scrollbar-drag",scrollbarDisabledClass:"swiper-scrollbar-disabled",horizontalClass:"swiper-scrollbar-horizontal",verticalClass:"swiper-scrollbar-vertical"}}),e.scrollbar={el:null,dragEl:null};function p(){if(!e.params.scrollbar.el||!e.scrollbar.el)return;const{scrollbar:N,rtlTranslate:A}=e,{dragEl:M,el:R}=N,D=e.params.scrollbar,L=e.params.loop?e.progressLoop:e.progress;let k=c,F=(d-c)*L;A?(F=-F,F>0?(k=c-F,F=0):-F+c>d&&(k=d+F)):F<0?(k=c+F,F=0):F+c>d&&(k=d-F),e.isHorizontal()?(M.style.transform=`translate3d(${F}px, 0, 0)`,M.style.width=`${k}px`):(M.style.transform=`translate3d(0px, ${F}px, 0)`,M.style.height=`${k}px`),D.hide&&(clearTimeout(l),R.style.opacity=1,l=setTimeout(()=>{R.style.opacity=0,R.style.transitionDuration="400ms"},1e3))}function w(N){!e.params.scrollbar.el||!e.scrollbar.el||(e.scrollbar.dragEl.style.transitionDuration=`${N}ms`)}function g(){if(!e.params.scrollbar.el||!e.scrollbar.el)return;const{scrollbar:N}=e,{dragEl:A,el:M}=N;A.style.width="",A.style.height="",d=e.isHorizontal()?M.offsetWidth:M.offsetHeight,f=e.size/(e.virtualSize+e.params.slidesOffsetBefore-(e.params.centeredSlides?e.snapGrid[0]:0)),e.params.scrollbar.dragSize==="auto"?c=d*f:c=parseInt(e.params.scrollbar.dragSize,10),e.isHorizontal()?A.style.width=`${c}px`:A.style.height=`${c}px`,f>=1?M.style.display="none":M.style.display="",e.params.scrollbar.hide&&(M.style.opacity=0),e.params.watchOverflow&&e.enabled&&N.el.classList[e.isLocked?"add":"remove"](e.params.scrollbar.lockClass)}function y(N){return e.isHorizontal()?N.clientX:N.clientY}function h(N){const{scrollbar:A,rtlTranslate:M}=e,{el:R}=A;let D;D=(y(N)-Sc(R)[e.isHorizontal()?"left":"top"]-(u!==null?u:c/2))/(d-c),D=Math.max(Math.min(D,1),0),M&&(D=1-D);const L=e.minTranslate()+(e.maxTranslate()-e.minTranslate())*D;e.updateProgress(L),e.setTranslate(L),e.updateActiveIndex(),e.updateSlidesClasses()}function v(N){const A=e.params.scrollbar,{scrollbar:M,wrapperEl:R}=e,{el:D,dragEl:L}=M;o=!0,u=N.target===L?y(N)-N.target.getBoundingClientRect()[e.isHorizontal()?"left":"top"]:null,N.preventDefault(),N.stopPropagation(),R.style.transitionDuration="100ms",L.style.transitionDuration="100ms",h(N),clearTimeout(s),D.style.transitionDuration="0ms",A.hide&&(D.style.opacity=1),e.params.cssMode&&(e.wrapperEl.style["scroll-snap-type"]="none"),i("scrollbarDragStart",N)}function m(N){const{scrollbar:A,wrapperEl:M}=e,{el:R,dragEl:D}=A;o&&(N.preventDefault?N.preventDefault():N.returnValue=!1,h(N),M.style.transitionDuration="0ms",R.style.transitionDuration="0ms",D.style.transitionDuration="0ms",i("scrollbarDragMove",N))}function b(N){const A=e.params.scrollbar,{scrollbar:M,wrapperEl:R}=e,{el:D}=M;o&&(o=!1,e.params.cssMode&&(e.wrapperEl.style["scroll-snap-type"]="",R.style.transitionDuration=""),A.hide&&(clearTimeout(s),s=Zi(()=>{D.style.opacity=0,D.style.transitionDuration="400ms"},1e3)),i("scrollbarDragEnd",N),A.snapOnRelease&&e.slideToClosest())}function E(N){const{scrollbar:A,params:M}=e,R=A.el;if(!R)return;const D=R,L=M.passiveListeners?{passive:!1,capture:!1}:!1,k=M.passiveListeners?{passive:!0,capture:!1}:!1;if(!D)return;const F=N==="on"?"addEventListener":"removeEventListener";D[F]("pointerdown",v,L),a[F]("pointermove",m,L),a[F]("pointerup",b,k)}function x(){!e.params.scrollbar.el||!e.scrollbar.el||E("on")}function C(){!e.params.scrollbar.el||!e.scrollbar.el||E("off")}function T(){const{scrollbar:N,el:A}=e;e.params.scrollbar=_v(e,e.originalParams.scrollbar,e.params.scrollbar,{el:"swiper-scrollbar"});const M=e.params.scrollbar;if(!M.el)return;let R;if(typeof M.el=="string"&&e.isElement&&(R=e.el.querySelector(M.el)),!R&&typeof M.el=="string"){if(R=a.querySelectorAll(M.el),!R.length)return}else R||(R=M.el);e.params.uniqueNavElements&&typeof M.el=="string"&&R.length>1&&A.querySelectorAll(M.el).length===1&&(R=A.querySelector(M.el)),R.length>0&&(R=R[0]),R.classList.add(e.isHorizontal()?M.horizontalClass:M.verticalClass);let D;R&&(D=R.querySelector(wr(e.params.scrollbar.dragClass)),D||(D=mn("div",e.params.scrollbar.dragClass),R.append(D))),Object.assign(N,{el:R,dragEl:D}),M.draggable&&x(),R&&R.classList[e.enabled?"remove":"add"](...$r(e.params.scrollbar.lockClass))}function P(){const N=e.params.scrollbar,A=e.scrollbar.el;A&&A.classList.remove(...$r(e.isHorizontal()?N.horizontalClass:N.verticalClass)),C()}r("init",()=>{e.params.scrollbar.enabled===!1?I():(T(),g(),p())}),r("update resize observerUpdate lock unlock",()=>{g()}),r("setTranslate",()=>{p()}),r("setTransition",(N,A)=>{w(A)}),r("enable disable",()=>{const{el:N}=e.scrollbar;N&&N.classList[e.enabled?"remove":"add"](...$r(e.params.scrollbar.lockClass))}),r("destroy",()=>{P()});const O=()=>{e.el.classList.remove(...$r(e.params.scrollbar.scrollbarDisabledClass)),e.scrollbar.el&&e.scrollbar.el.classList.remove(...$r(e.params.scrollbar.scrollbarDisabledClass)),T(),g(),p()},I=()=>{e.el.classList.add(...$r(e.params.scrollbar.scrollbarDisabledClass)),e.scrollbar.el&&e.scrollbar.el.classList.add(...$r(e.params.scrollbar.scrollbarDisabledClass)),P()};Object.assign(e.scrollbar,{enable:O,disable:I,updateSize:g,setTranslate:p,init:T,destroy:P})}function i5(t){let{swiper:e,extendParams:n,on:r}=t;n({parallax:{enabled:!1}});const i="[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]",a=(s,u)=>{const{rtl:c}=e,d=c?-1:1,f=s.getAttribute("data-swiper-parallax")||"0";let p=s.getAttribute("data-swiper-parallax-x"),w=s.getAttribute("data-swiper-parallax-y");const g=s.getAttribute("data-swiper-parallax-scale"),y=s.getAttribute("data-swiper-parallax-opacity"),h=s.getAttribute("data-swiper-parallax-rotate");if(p||w?(p=p||"0",w=w||"0"):e.isHorizontal()?(p=f,w="0"):(w=f,p="0"),p.indexOf("%")>=0?p=`${parseInt(p,10)*u*d}%`:p=`${p*u*d}px`,w.indexOf("%")>=0?w=`${parseInt(w,10)*u}%`:w=`${w*u}px`,typeof y<"u"&&y!==null){const m=y-(y-1)*(1-Math.abs(u));s.style.opacity=m}let v=`translate3d(${p}, ${w}, 0px)`;if(typeof g<"u"&&g!==null){const m=g-(g-1)*(1-Math.abs(u));v+=` scale(${m})`}if(h&&typeof h<"u"&&h!==null){const m=h*u*-1;v+=` rotate(${m}deg)`}s.style.transform=v},o=()=>{const{el:s,slides:u,progress:c,snapGrid:d,isElement:f}=e,p=Ct(s,i);e.isElement&&p.push(...Ct(e.hostEl,i)),p.forEach(w=>{a(w,c)}),u.forEach((w,g)=>{let y=w.progress;e.params.slidesPerGroup>1&&e.params.slidesPerView!=="auto"&&(y+=Math.ceil(g/2)-c*(d.length-1)),y=Math.min(Math.max(y,-1),1),w.querySelectorAll(`${i}, [data-swiper-parallax-rotate]`).forEach(h=>{a(h,y)})})},l=function(s){s===void 0&&(s=e.params.speed);const{el:u,hostEl:c}=e,d=[...u.querySelectorAll(i)];e.isElement&&d.push(...c.querySelectorAll(i)),d.forEach(f=>{let p=parseInt(f.getAttribute("data-swiper-parallax-duration"),10)||s;s===0&&(p=0),f.style.transitionDuration=`${p}ms`})};r("beforeInit",()=>{e.params.parallax.enabled&&(e.params.watchSlidesProgress=!0,e.originalParams.watchSlidesProgress=!0)}),r("init",()=>{e.params.parallax.enabled&&o()}),r("setTranslate",()=>{e.params.parallax.enabled&&o()}),r("setTransition",(s,u)=>{e.params.parallax.enabled&&l(u)})}function a5(t){let{swiper:e,extendParams:n,on:r,emit:i}=t;const a=Ke();n({zoom:{enabled:!1,maxRatio:3,minRatio:1,toggle:!0,containerClass:"swiper-zoom-container",zoomedSlideClass:"swiper-slide-zoomed"}}),e.zoom={enabled:!1};let o=1,l=!1,s,u;const c=[],d={originX:0,originY:0,slideEl:void 0,slideWidth:void 0,slideHeight:void 0,imageEl:void 0,imageWrapEl:void 0,maxRatio:3},f={isTouched:void 0,isMoved:void 0,currentX:void 0,currentY:void 0,minX:void 0,minY:void 0,maxX:void 0,maxY:void 0,width:void 0,height:void 0,startX:void 0,startY:void 0,touchesStart:{},touchesCurrent:{}},p={x:void 0,y:void 0,prevPositionX:void 0,prevPositionY:void 0,prevTime:void 0};let w=1;Object.defineProperty(e.zoom,"scale",{get(){return w},set(L){if(w!==L){const k=d.imageEl,F=d.slideEl;i("zoomChange",L,k,F)}w=L}});function g(){if(c.length<2)return 1;const L=c[0].pageX,k=c[0].pageY,F=c[1].pageX,j=c[1].pageY;return Math.sqrt((F-L)**2+(j-k)**2)}function y(){if(c.length<2)return{x:null,y:null};const L=d.imageEl.getBoundingClientRect();return[(c[0].pageX+(c[1].pageX-c[0].pageX)/2-L.x-a.scrollX)/o,(c[0].pageY+(c[1].pageY-c[0].pageY)/2-L.y-a.scrollY)/o]}function h(){return e.isElement?"swiper-slide":`.${e.params.slideClass}`}function v(L){const k=h();return!!(L.target.matches(k)||e.slides.filter(F=>F.contains(L.target)).length>0)}function m(L){const k=`.${e.params.zoom.containerClass}`;return!!(L.target.matches(k)||[...e.hostEl.querySelectorAll(k)].filter(F=>F.contains(L.target)).length>0)}function b(L){if(L.pointerType==="mouse"&&c.splice(0,c.length),!v(L))return;const k=e.params.zoom;if(s=!1,u=!1,c.push(L),!(c.length<2)){if(s=!0,d.scaleStart=g(),!d.slideEl){d.slideEl=L.target.closest(`.${e.params.slideClass}, swiper-slide`),d.slideEl||(d.slideEl=e.slides[e.activeIndex]);let F=d.slideEl.querySelector(`.${k.containerClass}`);if(F&&(F=F.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]),d.imageEl=F,F?d.imageWrapEl=Ui(d.imageEl,`.${k.containerClass}`)[0]:d.imageWrapEl=void 0,!d.imageWrapEl){d.imageEl=void 0;return}d.maxRatio=d.imageWrapEl.getAttribute("data-swiper-zoom")||k.maxRatio}if(d.imageEl){const[F,j]=y();d.originX=F,d.originY=j,d.imageEl.style.transitionDuration="0ms"}l=!0}}function E(L){if(!v(L))return;const k=e.params.zoom,F=e.zoom,j=c.findIndex(B=>B.pointerId===L.pointerId);j>=0&&(c[j]=L),!(c.length<2)&&(u=!0,d.scaleMove=g(),d.imageEl&&(F.scale=d.scaleMove/d.scaleStart*o,F.scale>d.maxRatio&&(F.scale=d.maxRatio-1+(F.scale-d.maxRatio+1)**.5),F.scaleB.pointerId===L.pointerId);j>=0&&c.splice(j,1),!(!s||!u)&&(s=!1,u=!1,d.imageEl&&(F.scale=Math.max(Math.min(F.scale,d.maxRatio),k.minRatio),d.imageEl.style.transitionDuration=`${e.params.speed}ms`,d.imageEl.style.transform=`translate3d(0,0,0) scale(${F.scale})`,o=F.scale,l=!1,F.scale>1&&d.slideEl?d.slideEl.classList.add(`${k.zoomedSlideClass}`):F.scale<=1&&d.slideEl&&d.slideEl.classList.remove(`${k.zoomedSlideClass}`),F.scale===1&&(d.originX=0,d.originY=0,d.slideEl=void 0)))}function C(L){const k=e.device;if(!d.imageEl||f.isTouched)return;k.android&&L.cancelable&&L.preventDefault(),f.isTouched=!0;const F=c.length>0?c[0]:L;f.touchesStart.x=F.pageX,f.touchesStart.y=F.pageY}function T(L){if(!v(L)||!m(L))return;const k=e.zoom;if(!d.imageEl||!f.isTouched||!d.slideEl)return;f.isMoved||(f.width=d.imageEl.offsetWidth,f.height=d.imageEl.offsetHeight,f.startX=Em(d.imageWrapEl,"x")||0,f.startY=Em(d.imageWrapEl,"y")||0,d.slideWidth=d.slideEl.offsetWidth,d.slideHeight=d.slideEl.offsetHeight,d.imageWrapEl.style.transitionDuration="0ms");const F=f.width*k.scale,j=f.height*k.scale;if(F0?c[0].pageX:L.pageX,f.touchesCurrent.y=c.length>0?c[0].pageY:L.pageY,Math.max(Math.abs(f.touchesCurrent.x-f.touchesStart.x),Math.abs(f.touchesCurrent.y-f.touchesStart.y))>5&&(e.allowClick=!1),!f.isMoved&&!l){if(e.isHorizontal()&&(Math.floor(f.minX)===Math.floor(f.startX)&&f.touchesCurrent.xf.touchesStart.x)){f.isTouched=!1;return}if(!e.isHorizontal()&&(Math.floor(f.minY)===Math.floor(f.startY)&&f.touchesCurrent.yf.touchesStart.y)){f.isTouched=!1;return}}L.cancelable&&L.preventDefault(),L.stopPropagation(),f.isMoved=!0;const G=(k.scale-o)/(d.maxRatio-e.params.zoom.minRatio),{originX:q,originY:K}=d;f.currentX=f.touchesCurrent.x-f.touchesStart.x+f.startX+G*(f.width-q*2),f.currentY=f.touchesCurrent.y-f.touchesStart.y+f.startY+G*(f.height-K*2),f.currentXf.maxX&&(f.currentX=f.maxX-1+(f.currentX-f.maxX+1)**.8),f.currentYf.maxY&&(f.currentY=f.maxY-1+(f.currentY-f.maxY+1)**.8),p.prevPositionX||(p.prevPositionX=f.touchesCurrent.x),p.prevPositionY||(p.prevPositionY=f.touchesCurrent.y),p.prevTime||(p.prevTime=Date.now()),p.x=(f.touchesCurrent.x-p.prevPositionX)/(Date.now()-p.prevTime)/2,p.y=(f.touchesCurrent.y-p.prevPositionY)/(Date.now()-p.prevTime)/2,Math.abs(f.touchesCurrent.x-p.prevPositionX)<2&&(p.x=0),Math.abs(f.touchesCurrent.y-p.prevPositionY)<2&&(p.y=0),p.prevPositionX=f.touchesCurrent.x,p.prevPositionY=f.touchesCurrent.y,p.prevTime=Date.now(),d.imageWrapEl.style.transform=`translate3d(${f.currentX}px, ${f.currentY}px,0)`}function P(){const L=e.zoom;if(!d.imageEl)return;if(!f.isTouched||!f.isMoved){f.isTouched=!1,f.isMoved=!1;return}f.isTouched=!1,f.isMoved=!1;let k=300,F=300;const j=p.x*k,B=f.currentX+j,G=p.y*F,q=f.currentY+G;p.x!==0&&(k=Math.abs((B-f.currentX)/p.x)),p.y!==0&&(F=Math.abs((q-f.currentY)/p.y));const K=Math.max(k,F);f.currentX=B,f.currentY=q;const ne=f.width*L.scale,oe=f.height*L.scale;f.minX=Math.min(d.slideWidth/2-ne/2,0),f.maxX=-f.minX,f.minY=Math.min(d.slideHeight/2-oe/2,0),f.maxY=-f.minY,f.currentX=Math.max(Math.min(f.currentX,f.maxX),f.minX),f.currentY=Math.max(Math.min(f.currentY,f.maxY),f.minY),d.imageWrapEl.style.transitionDuration=`${K}ms`,d.imageWrapEl.style.transform=`translate3d(${f.currentX}px, ${f.currentY}px,0)`}function O(){const L=e.zoom;d.slideEl&&e.activeIndex!==e.slides.indexOf(d.slideEl)&&(d.imageEl&&(d.imageEl.style.transform="translate3d(0,0,0) scale(1)"),d.imageWrapEl&&(d.imageWrapEl.style.transform="translate3d(0,0,0)"),d.slideEl.classList.remove(`${e.params.zoom.zoomedSlideClass}`),L.scale=1,o=1,d.slideEl=void 0,d.imageEl=void 0,d.imageWrapEl=void 0,d.originX=0,d.originY=0)}function I(L){const k=e.zoom,F=e.params.zoom;if(!d.slideEl){L&&L.target&&(d.slideEl=L.target.closest(`.${e.params.slideClass}, swiper-slide`)),d.slideEl||(e.params.virtual&&e.params.virtual.enabled&&e.virtual?d.slideEl=Ct(e.slidesEl,`.${e.params.slideActiveClass}`)[0]:d.slideEl=e.slides[e.activeIndex]);let Le=d.slideEl.querySelector(`.${F.containerClass}`);Le&&(Le=Le.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]),d.imageEl=Le,Le?d.imageWrapEl=Ui(d.imageEl,`.${F.containerClass}`)[0]:d.imageWrapEl=void 0}if(!d.imageEl||!d.imageWrapEl)return;e.params.cssMode&&(e.wrapperEl.style.overflow="hidden",e.wrapperEl.style.touchAction="none"),d.slideEl.classList.add(`${F.zoomedSlideClass}`);let j,B,G,q,K,ne,oe,de,Qe,rt,xe,we,De,Ot,Gt,Fe,yt,rn;typeof f.touchesStart.x>"u"&&L?(j=L.pageX,B=L.pageY):(j=f.touchesStart.x,B=f.touchesStart.y);const Vt=typeof L=="number"?L:null;o===1&&Vt&&(j=void 0,B=void 0),k.scale=Vt||d.imageWrapEl.getAttribute("data-swiper-zoom")||F.maxRatio,o=Vt||d.imageWrapEl.getAttribute("data-swiper-zoom")||F.maxRatio,L&&!(o===1&&Vt)?(yt=d.slideEl.offsetWidth,rn=d.slideEl.offsetHeight,G=Sc(d.slideEl).left+a.scrollX,q=Sc(d.slideEl).top+a.scrollY,K=G+yt/2-j,ne=q+rn/2-B,Qe=d.imageEl.offsetWidth,rt=d.imageEl.offsetHeight,xe=Qe*k.scale,we=rt*k.scale,De=Math.min(yt/2-xe/2,0),Ot=Math.min(rn/2-we/2,0),Gt=-De,Fe=-Ot,oe=K*k.scale,de=ne*k.scale,oeGt&&(oe=Gt),deFe&&(de=Fe)):(oe=0,de=0),Vt&&k.scale===1&&(d.originX=0,d.originY=0),d.imageWrapEl.style.transitionDuration="300ms",d.imageWrapEl.style.transform=`translate3d(${oe}px, ${de}px,0)`,d.imageEl.style.transitionDuration="300ms",d.imageEl.style.transform=`translate3d(0,0,0) scale(${k.scale})`}function N(){const L=e.zoom,k=e.params.zoom;if(!d.slideEl){e.params.virtual&&e.params.virtual.enabled&&e.virtual?d.slideEl=Ct(e.slidesEl,`.${e.params.slideActiveClass}`)[0]:d.slideEl=e.slides[e.activeIndex];let F=d.slideEl.querySelector(`.${k.containerClass}`);F&&(F=F.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]),d.imageEl=F,F?d.imageWrapEl=Ui(d.imageEl,`.${k.containerClass}`)[0]:d.imageWrapEl=void 0}!d.imageEl||!d.imageWrapEl||(e.params.cssMode&&(e.wrapperEl.style.overflow="",e.wrapperEl.style.touchAction=""),L.scale=1,o=1,d.imageWrapEl.style.transitionDuration="300ms",d.imageWrapEl.style.transform="translate3d(0,0,0)",d.imageEl.style.transitionDuration="300ms",d.imageEl.style.transform="translate3d(0,0,0) scale(1)",d.slideEl.classList.remove(`${k.zoomedSlideClass}`),d.slideEl=void 0,d.originX=0,d.originY=0)}function A(L){const k=e.zoom;k.scale&&k.scale!==1?N():I(L)}function M(){const L=e.params.passiveListeners?{passive:!0,capture:!1}:!1,k=e.params.passiveListeners?{passive:!1,capture:!0}:!0;return{passiveListener:L,activeListenerWithCapture:k}}function R(){const L=e.zoom;if(L.enabled)return;L.enabled=!0;const{passiveListener:k,activeListenerWithCapture:F}=M();e.wrapperEl.addEventListener("pointerdown",b,k),e.wrapperEl.addEventListener("pointermove",E,F),["pointerup","pointercancel","pointerout"].forEach(j=>{e.wrapperEl.addEventListener(j,x,k)}),e.wrapperEl.addEventListener("pointermove",T,F)}function D(){const L=e.zoom;if(!L.enabled)return;L.enabled=!1;const{passiveListener:k,activeListenerWithCapture:F}=M();e.wrapperEl.removeEventListener("pointerdown",b,k),e.wrapperEl.removeEventListener("pointermove",E,F),["pointerup","pointercancel","pointerout"].forEach(j=>{e.wrapperEl.removeEventListener(j,x,k)}),e.wrapperEl.removeEventListener("pointermove",T,F)}r("init",()=>{e.params.zoom.enabled&&R()}),r("destroy",()=>{D()}),r("touchStart",(L,k)=>{e.zoom.enabled&&C(k)}),r("touchEnd",(L,k)=>{e.zoom.enabled&&P()}),r("doubleTap",(L,k)=>{!e.animating&&e.params.zoom.enabled&&e.zoom.enabled&&e.params.zoom.toggle&&A(k)}),r("transitionEnd",()=>{e.zoom.enabled&&e.params.zoom.enabled&&O()}),r("slideChange",()=>{e.zoom.enabled&&e.params.zoom.enabled&&e.params.cssMode&&O()}),Object.assign(e.zoom,{enable:R,disable:D,in:I,out:N,toggle:A})}function o5(t){let{swiper:e,extendParams:n,on:r}=t;n({controller:{control:void 0,inverse:!1,by:"slide"}}),e.controller={control:void 0};function i(u,c){const d=function(){let g,y,h;return(v,m)=>{for(y=-1,g=v.length;g-y>1;)h=g+y>>1,v[h]<=m?y=h:g=h;return g}}();this.x=u,this.y=c,this.lastIndex=u.length-1;let f,p;return this.interpolate=function(g){return g?(p=d(this.x,g),f=p-1,(g-this.x[f])*(this.y[p]-this.y[f])/(this.x[p]-this.x[f])+this.y[f]):0},this}function a(u){e.controller.spline=e.params.loop?new i(e.slidesGrid,u.slidesGrid):new i(e.snapGrid,u.snapGrid)}function o(u,c){const d=e.controller.control;let f,p;const w=e.constructor;function g(y){if(y.destroyed)return;const h=e.rtlTranslate?-e.translate:e.translate;e.params.controller.by==="slide"&&(a(y),p=-e.controller.spline.interpolate(-h)),(!p||e.params.controller.by==="container")&&(f=(y.maxTranslate()-y.minTranslate())/(e.maxTranslate()-e.minTranslate()),(Number.isNaN(f)||!Number.isFinite(f))&&(f=1),p=(h-e.minTranslate())*f+y.minTranslate()),e.params.controller.inverse&&(p=y.maxTranslate()-p),y.updateProgress(p),y.setTranslate(p,e),y.updateActiveIndex(),y.updateSlidesClasses()}if(Array.isArray(d))for(let y=0;y{g.updateAutoHeight()}),ws(g.wrapperEl,()=>{f&&g.transitionEnd()})))}if(Array.isArray(f))for(p=0;p{if(typeof window<"u"&&(typeof e.params.controller.control=="string"||e.params.controller.control instanceof HTMLElement)){const u=document.querySelector(e.params.controller.control);if(u&&u.swiper)e.controller.control=u.swiper;else if(u){const c=d=>{e.controller.control=d.detail[0],e.update(),u.removeEventListener("init",c)};u.addEventListener("init",c)}return}e.controller.control=e.params.controller.control}),r("update",()=>{s()}),r("resize",()=>{s()}),r("observerUpdate",()=>{s()}),r("setTranslate",(u,c,d)=>{!e.controller.control||e.controller.control.destroyed||e.controller.setTranslate(c,d)}),r("setTransition",(u,c,d)=>{!e.controller.control||e.controller.control.destroyed||e.controller.setTransition(c,d)}),Object.assign(e.controller,{setTranslate:o,setTransition:l})}function s5(t){let{swiper:e,extendParams:n,on:r}=t;n({a11y:{enabled:!0,notificationClass:"swiper-notification",prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide",paginationBulletMessage:"Go to slide {{index}}",slideLabelMessage:"{{index}} / {{slidesLength}}",containerMessage:null,containerRoleDescriptionMessage:null,itemRoleDescriptionMessage:null,slideRole:"group",id:null}}),e.a11y={clicked:!1};let i=null;function a(M){const R=i;R.length!==0&&(R.innerHTML="",R.innerHTML=M)}const o=M=>(Array.isArray(M)?M:[M]).filter(R=>!!R);function l(M){M===void 0&&(M=16);const R=()=>Math.round(16*Math.random()).toString(16);return"x".repeat(M).replace(/x/g,R)}function s(M){M=o(M),M.forEach(R=>{R.setAttribute("tabIndex","0")})}function u(M){M=o(M),M.forEach(R=>{R.setAttribute("tabIndex","-1")})}function c(M,R){M=o(M),M.forEach(D=>{D.setAttribute("role",R)})}function d(M,R){M=o(M),M.forEach(D=>{D.setAttribute("aria-roledescription",R)})}function f(M,R){M=o(M),M.forEach(D=>{D.setAttribute("aria-controls",R)})}function p(M,R){M=o(M),M.forEach(D=>{D.setAttribute("aria-label",R)})}function w(M,R){M=o(M),M.forEach(D=>{D.setAttribute("id",R)})}function g(M,R){M=o(M),M.forEach(D=>{D.setAttribute("aria-live",R)})}function y(M){M=o(M),M.forEach(R=>{R.setAttribute("aria-disabled",!0)})}function h(M){M=o(M),M.forEach(R=>{R.setAttribute("aria-disabled",!1)})}function v(M){if(M.keyCode!==13&&M.keyCode!==32)return;const R=e.params.a11y,D=M.target;e.pagination&&e.pagination.el&&(D===e.pagination.el||e.pagination.el.contains(M.target))&&!M.target.matches(wr(e.params.pagination.bulletClass))||(e.navigation&&e.navigation.nextEl&&D===e.navigation.nextEl&&(e.isEnd&&!e.params.loop||e.slideNext(),e.isEnd?a(R.lastSlideMessage):a(R.nextSlideMessage)),e.navigation&&e.navigation.prevEl&&D===e.navigation.prevEl&&(e.isBeginning&&!e.params.loop||e.slidePrev(),e.isBeginning?a(R.firstSlideMessage):a(R.prevSlideMessage)),e.pagination&&D.matches(wr(e.params.pagination.bulletClass))&&D.click())}function m(){if(e.params.loop||e.params.rewind||!e.navigation)return;const{nextEl:M,prevEl:R}=e.navigation;R&&(e.isBeginning?(y(R),u(R)):(h(R),s(R))),M&&(e.isEnd?(y(M),u(M)):(h(M),s(M)))}function b(){return e.pagination&&e.pagination.bullets&&e.pagination.bullets.length}function E(){return b()&&e.params.pagination.clickable}function x(){const M=e.params.a11y;b()&&e.pagination.bullets.forEach(R=>{e.params.pagination.clickable&&(s(R),e.params.pagination.renderBullet||(c(R,"button"),p(R,M.paginationBulletMessage.replace(/\{\{index\}\}/,qs(R)+1)))),R.matches(wr(e.params.pagination.bulletActiveClass))?R.setAttribute("aria-current","true"):R.removeAttribute("aria-current")})}const C=(M,R,D)=>{s(M),M.tagName!=="BUTTON"&&(c(M,"button"),M.addEventListener("keydown",v)),p(M,D),f(M,R)},T=()=>{e.a11y.clicked=!0},P=()=>{requestAnimationFrame(()=>{requestAnimationFrame(()=>{e.destroyed||(e.a11y.clicked=!1)})})},O=M=>{if(e.a11y.clicked)return;const R=M.target.closest(`.${e.params.slideClass}, swiper-slide`);if(!R||!e.slides.includes(R))return;const D=e.slides.indexOf(R)===e.activeIndex,L=e.params.watchSlidesProgress&&e.visibleSlides&&e.visibleSlides.includes(R);D||L||M.sourceCapabilities&&M.sourceCapabilities.firesTouchEvents||(e.isHorizontal()?e.el.scrollLeft=0:e.el.scrollTop=0,e.slideTo(e.slides.indexOf(R),0))},I=()=>{const M=e.params.a11y;M.itemRoleDescriptionMessage&&d(e.slides,M.itemRoleDescriptionMessage),M.slideRole&&c(e.slides,M.slideRole);const R=e.slides.length;M.slideLabelMessage&&e.slides.forEach((D,L)=>{const k=e.params.loop?parseInt(D.getAttribute("data-swiper-slide-index"),10):L,F=M.slideLabelMessage.replace(/\{\{index\}\}/,k+1).replace(/\{\{slidesLength\}\}/,R);p(D,F)})},N=()=>{const M=e.params.a11y;e.el.append(i);const R=e.el;M.containerRoleDescriptionMessage&&d(R,M.containerRoleDescriptionMessage),M.containerMessage&&p(R,M.containerMessage);const D=e.wrapperEl,L=M.id||D.getAttribute("id")||`swiper-wrapper-${l(16)}`,k=e.params.autoplay&&e.params.autoplay.enabled?"off":"polite";w(D,L),g(D,k),I();let{nextEl:F,prevEl:j}=e.navigation?e.navigation:{};F=o(F),j=o(j),F&&F.forEach(B=>C(B,L,M.nextSlideMessage)),j&&j.forEach(B=>C(B,L,M.prevSlideMessage)),E()&&o(e.pagination.el).forEach(G=>{G.addEventListener("keydown",v)}),e.el.addEventListener("focus",O,!0),e.el.addEventListener("pointerdown",T,!0),e.el.addEventListener("pointerup",P,!0)};function A(){i&&i.remove();let{nextEl:M,prevEl:R}=e.navigation?e.navigation:{};M=o(M),R=o(R),M&&M.forEach(D=>D.removeEventListener("keydown",v)),R&&R.forEach(D=>D.removeEventListener("keydown",v)),E()&&o(e.pagination.el).forEach(L=>{L.removeEventListener("keydown",v)}),e.el.removeEventListener("focus",O,!0),e.el.removeEventListener("pointerdown",T,!0),e.el.removeEventListener("pointerup",P,!0)}r("beforeInit",()=>{i=mn("span",e.params.a11y.notificationClass),i.setAttribute("aria-live","assertive"),i.setAttribute("aria-atomic","true")}),r("afterInit",()=>{e.params.a11y.enabled&&N()}),r("slidesLengthChange snapGridLengthChange slidesGridLengthChange",()=>{e.params.a11y.enabled&&I()}),r("fromEdge toEdge afterInit lock unlock",()=>{e.params.a11y.enabled&&m()}),r("paginationUpdate",()=>{e.params.a11y.enabled&&x()}),r("destroy",()=>{e.params.a11y.enabled&&A()})}function l5(t){let{swiper:e,extendParams:n,on:r}=t;n({history:{enabled:!1,root:"",replaceState:!1,key:"slides",keepQuery:!1}});let i=!1,a={};const o=p=>p.toString().replace(/\s+/g,"-").replace(/[^\w-]+/g,"").replace(/--+/g,"-").replace(/^-+/,"").replace(/-+$/,""),l=p=>{const w=Ke();let g;p?g=new URL(p):g=w.location;const y=g.pathname.slice(1).split("/").filter(b=>b!==""),h=y.length,v=y[h-2],m=y[h-1];return{key:v,value:m}},s=(p,w)=>{const g=Ke();if(!i||!e.params.history.enabled)return;let y;e.params.url?y=new URL(e.params.url):y=g.location;const h=e.slides[w];let v=o(h.getAttribute("data-history"));if(e.params.history.root.length>0){let b=e.params.history.root;b[b.length-1]==="/"&&(b=b.slice(0,b.length-1)),v=`${b}/${p?`${p}/`:""}${v}`}else y.pathname.includes(p)||(v=`${p?`${p}/`:""}${v}`);e.params.history.keepQuery&&(v+=y.search);const m=g.history.state;m&&m.value===v||(e.params.history.replaceState?g.history.replaceState({value:v},null,v):g.history.pushState({value:v},null,v))},u=(p,w,g)=>{if(w)for(let y=0,h=e.slides.length;y{a=l(e.params.url),u(e.params.speed,a.value,!1)},d=()=>{const p=Ke();if(e.params.history){if(!p.history||!p.history.pushState){e.params.history.enabled=!1,e.params.hashNavigation.enabled=!0;return}if(i=!0,a=l(e.params.url),!a.key&&!a.value){e.params.history.replaceState||p.addEventListener("popstate",c);return}u(0,a.value,e.params.runCallbacksOnInit),e.params.history.replaceState||p.addEventListener("popstate",c)}},f=()=>{const p=Ke();e.params.history.replaceState||p.removeEventListener("popstate",c)};r("init",()=>{e.params.history.enabled&&d()}),r("destroy",()=>{e.params.history.enabled&&f()}),r("transitionEnd _freeModeNoMomentumRelease",()=>{i&&s(e.params.history.key,e.activeIndex)}),r("slideChange",()=>{i&&e.params.cssMode&&s(e.params.history.key,e.activeIndex)})}function u5(t){let{swiper:e,extendParams:n,emit:r,on:i}=t,a=!1;const o=Ht(),l=Ke();n({hashNavigation:{enabled:!1,replaceState:!1,watchState:!1,getSlideIndex(f,p){if(e.virtual&&e.params.virtual.enabled){const w=e.slides.filter(y=>y.getAttribute("data-hash")===p)[0];return w?parseInt(w.getAttribute("data-swiper-slide-index"),10):0}return e.getSlideIndex(Ct(e.slidesEl,`.${e.params.slideClass}[data-hash="${p}"], swiper-slide[data-hash="${p}"]`)[0])}}});const s=()=>{r("hashChange");const f=o.location.hash.replace("#",""),p=e.virtual&&e.params.virtual.enabled?e.slidesEl.querySelector(`[data-swiper-slide-index="${e.activeIndex}"]`):e.slides[e.activeIndex],w=p?p.getAttribute("data-hash"):"";if(f!==w){const g=e.params.hashNavigation.getSlideIndex(e,f);if(typeof g>"u"||Number.isNaN(g))return;e.slideTo(g)}},u=()=>{if(!a||!e.params.hashNavigation.enabled)return;const f=e.virtual&&e.params.virtual.enabled?e.slidesEl.querySelector(`[data-swiper-slide-index="${e.activeIndex}"]`):e.slides[e.activeIndex],p=f?f.getAttribute("data-hash")||f.getAttribute("data-history"):"";e.params.hashNavigation.replaceState&&l.history&&l.history.replaceState?(l.history.replaceState(null,null,`#${p}`||""),r("hashSet")):(o.location.hash=p||"",r("hashSet"))},c=()=>{if(!e.params.hashNavigation.enabled||e.params.history&&e.params.history.enabled)return;a=!0;const f=o.location.hash.replace("#","");if(f){const w=e.params.hashNavigation.getSlideIndex(e,f);e.slideTo(w||0,0,e.params.runCallbacksOnInit,!0)}e.params.hashNavigation.watchState&&l.addEventListener("hashchange",s)},d=()=>{e.params.hashNavigation.watchState&&l.removeEventListener("hashchange",s)};i("init",()=>{e.params.hashNavigation.enabled&&c()}),i("destroy",()=>{e.params.hashNavigation.enabled&&d()}),i("transitionEnd _freeModeNoMomentumRelease",()=>{a&&u()}),i("slideChange",()=>{a&&e.params.cssMode&&u()})}function c5(t){let{swiper:e,extendParams:n,on:r,emit:i,params:a}=t;e.autoplay={running:!1,paused:!1,timeLeft:0},n({autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!1,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}});let o,l,s=a&&a.autoplay?a.autoplay.delay:3e3,u=a&&a.autoplay?a.autoplay.delay:3e3,c,d=new Date().getTime(),f,p,w,g,y,h,v;function m(k){!e||e.destroyed||!e.wrapperEl||k.target===e.wrapperEl&&(e.wrapperEl.removeEventListener("transitionend",m),!v&&O())}const b=()=>{if(e.destroyed||!e.autoplay.running)return;e.autoplay.paused?f=!0:f&&(u=c,f=!1);const k=e.autoplay.paused?c:d+u-new Date().getTime();e.autoplay.timeLeft=k,i("autoplayTimeLeft",k,k/s),l=requestAnimationFrame(()=>{b()})},E=()=>{let k;return e.virtual&&e.params.virtual.enabled?k=e.slides.filter(j=>j.classList.contains("swiper-slide-active"))[0]:k=e.slides[e.activeIndex],k?parseInt(k.getAttribute("data-swiper-autoplay"),10):void 0},x=k=>{if(e.destroyed||!e.autoplay.running)return;cancelAnimationFrame(l),b();let F=typeof k>"u"?e.params.autoplay.delay:k;s=e.params.autoplay.delay,u=e.params.autoplay.delay;const j=E();!Number.isNaN(j)&&j>0&&typeof k>"u"&&(F=j,s=j,u=j),c=F;const B=e.params.speed,G=()=>{!e||e.destroyed||(e.params.autoplay.reverseDirection?!e.isBeginning||e.params.loop||e.params.rewind?(e.slidePrev(B,!0,!0),i("autoplay")):e.params.autoplay.stopOnLastSlide||(e.slideTo(e.slides.length-1,B,!0,!0),i("autoplay")):!e.isEnd||e.params.loop||e.params.rewind?(e.slideNext(B,!0,!0),i("autoplay")):e.params.autoplay.stopOnLastSlide||(e.slideTo(0,B,!0,!0),i("autoplay")),e.params.cssMode&&(d=new Date().getTime(),requestAnimationFrame(()=>{x()})))};return F>0?(clearTimeout(o),o=setTimeout(()=>{G()},F)):requestAnimationFrame(()=>{G()}),F},C=()=>{d=new Date().getTime(),e.autoplay.running=!0,x(),i("autoplayStart")},T=()=>{e.autoplay.running=!1,clearTimeout(o),cancelAnimationFrame(l),i("autoplayStop")},P=(k,F)=>{if(e.destroyed||!e.autoplay.running)return;clearTimeout(o),k||(h=!0);const j=()=>{i("autoplayPause"),e.params.autoplay.waitForTransition?e.wrapperEl.addEventListener("transitionend",m):O()};if(e.autoplay.paused=!0,F){y&&(c=e.params.autoplay.delay),y=!1,j();return}c=(c||e.params.autoplay.delay)-(new Date().getTime()-d),!(e.isEnd&&c<0&&!e.params.loop)&&(c<0&&(c=0),j())},O=()=>{e.isEnd&&c<0&&!e.params.loop||e.destroyed||!e.autoplay.running||(d=new Date().getTime(),h?(h=!1,x(c)):x(),e.autoplay.paused=!1,i("autoplayResume"))},I=()=>{if(e.destroyed||!e.autoplay.running)return;const k=Ht();k.visibilityState==="hidden"&&(h=!0,P(!0)),k.visibilityState==="visible"&&O()},N=k=>{k.pointerType==="mouse"&&(h=!0,v=!0,!(e.animating||e.autoplay.paused)&&P(!0))},A=k=>{k.pointerType==="mouse"&&(v=!1,e.autoplay.paused&&O())},M=()=>{e.params.autoplay.pauseOnMouseEnter&&(e.el.addEventListener("pointerenter",N),e.el.addEventListener("pointerleave",A))},R=()=>{e.el.removeEventListener("pointerenter",N),e.el.removeEventListener("pointerleave",A)},D=()=>{Ht().addEventListener("visibilitychange",I)},L=()=>{Ht().removeEventListener("visibilitychange",I)};r("init",()=>{e.params.autoplay.enabled&&(M(),D(),C())}),r("destroy",()=>{R(),L(),e.autoplay.running&&T()}),r("_freeModeStaticRelease",()=>{(w||h)&&O()}),r("_freeModeNoMomentumRelease",()=>{e.params.autoplay.disableOnInteraction?T():P(!0,!0)}),r("beforeTransitionStart",(k,F,j)=>{e.destroyed||!e.autoplay.running||(j||!e.params.autoplay.disableOnInteraction?P(!0,!0):T())}),r("sliderFirstMove",()=>{if(!(e.destroyed||!e.autoplay.running)){if(e.params.autoplay.disableOnInteraction){T();return}p=!0,w=!1,h=!1,g=setTimeout(()=>{h=!0,w=!0,P(!0)},200)}}),r("touchEnd",()=>{if(!(e.destroyed||!e.autoplay.running||!p)){if(clearTimeout(g),clearTimeout(o),e.params.autoplay.disableOnInteraction){w=!1,p=!1;return}w&&e.params.cssMode&&O(),w=!1,p=!1}}),r("slideChange",()=>{e.destroyed||!e.autoplay.running||(y=!0)}),Object.assign(e.autoplay,{start:C,stop:T,pause:P,resume:O})}function d5(t){let{swiper:e,extendParams:n,on:r}=t;n({thumbs:{swiper:null,multipleActiveThumbs:!0,autoScrollOffset:0,slideThumbActiveClass:"swiper-slide-thumb-active",thumbsContainerClass:"swiper-thumbs"}});let i=!1,a=!1;e.thumbs={swiper:null};function o(){const u=e.thumbs.swiper;if(!u||u.destroyed)return;const c=u.clickedIndex,d=u.clickedSlide;if(d&&d.classList.contains(e.params.thumbs.slideThumbActiveClass)||typeof c>"u"||c===null)return;let f;u.params.loop?f=parseInt(u.clickedSlide.getAttribute("data-swiper-slide-index"),10):f=c,e.params.loop?e.slideToLoop(f):e.slideTo(f)}function l(){const{thumbs:u}=e.params;if(i)return!1;i=!0;const c=e.constructor;if(u.swiper instanceof c)e.thumbs.swiper=u.swiper,Object.assign(e.thumbs.swiper.originalParams,{watchSlidesProgress:!0,slideToClickedSlide:!1}),Object.assign(e.thumbs.swiper.params,{watchSlidesProgress:!0,slideToClickedSlide:!1}),e.thumbs.swiper.update();else if(Ko(u.swiper)){const d=Object.assign({},u.swiper);Object.assign(d,{watchSlidesProgress:!0,slideToClickedSlide:!1}),e.thumbs.swiper=new c(d),a=!0}return e.thumbs.swiper.el.classList.add(e.params.thumbs.thumbsContainerClass),e.thumbs.swiper.on("tap",o),!0}function s(u){const c=e.thumbs.swiper;if(!c||c.destroyed)return;const d=c.params.slidesPerView==="auto"?c.slidesPerViewDynamic():c.params.slidesPerView;let f=1;const p=e.params.thumbs.slideThumbActiveClass;if(e.params.slidesPerView>1&&!e.params.centeredSlides&&(f=e.params.slidesPerView),e.params.thumbs.multipleActiveThumbs||(f=1),f=Math.floor(f),c.slides.forEach(y=>y.classList.remove(p)),c.params.loop||c.params.virtual&&c.params.virtual.enabled)for(let y=0;y{h.classList.add(p)});else for(let y=0;yb.getAttribute("data-swiper-slide-index")===`${e.realIndex}`)[0];h=c.slides.indexOf(m),v=e.activeIndex>e.previousIndex?"next":"prev"}else h=e.realIndex,v=h>e.previousIndex?"next":"prev";g&&(h+=v==="next"?w:-1*w),c.visibleSlidesIndexes&&c.visibleSlidesIndexes.indexOf(h)<0&&(c.params.centeredSlides?h>y?h=h-Math.floor(d/2)+1:h=h+Math.floor(d/2)-1:h>y&&c.params.slidesPerGroup,c.slideTo(h,u?0:void 0))}}r("beforeInit",()=>{const{thumbs:u}=e.params;if(!(!u||!u.swiper))if(typeof u.swiper=="string"||u.swiper instanceof HTMLElement){const c=Ht(),d=()=>{const p=typeof u.swiper=="string"?c.querySelector(u.swiper):u.swiper;if(p&&p.swiper)u.swiper=p.swiper,l(),s(!0);else if(p){const w=g=>{u.swiper=g.detail[0],p.removeEventListener("init",w),l(),s(!0),u.swiper.update(),e.update()};p.addEventListener("init",w)}return p},f=()=>{if(e.destroyed)return;d()||requestAnimationFrame(f)};requestAnimationFrame(f)}else l(),s(!0)}),r("slideChange update resize observerUpdate",()=>{s()}),r("setTransition",(u,c)=>{const d=e.thumbs.swiper;!d||d.destroyed||d.setTransition(c)}),r("beforeDestroy",()=>{const u=e.thumbs.swiper;!u||u.destroyed||a&&u.destroy()}),Object.assign(e.thumbs,{init:l,update:s})}function f5(t){let{swiper:e,extendParams:n,emit:r,once:i}=t;n({freeMode:{enabled:!1,momentum:!0,momentumRatio:1,momentumBounce:!0,momentumBounceRatio:1,momentumVelocityRatio:1,sticky:!1,minimumVelocity:.02}});function a(){if(e.params.cssMode)return;const s=e.getTranslate();e.setTranslate(s),e.setTransition(0),e.touchEventsData.velocities.length=0,e.freeMode.onTouchEnd({currentPos:e.rtl?e.translate:-e.translate})}function o(){if(e.params.cssMode)return;const{touchEventsData:s,touches:u}=e;s.velocities.length===0&&s.velocities.push({position:u[e.isHorizontal()?"startX":"startY"],time:s.touchStartTime}),s.velocities.push({position:u[e.isHorizontal()?"currentX":"currentY"],time:An()})}function l(s){let{currentPos:u}=s;if(e.params.cssMode)return;const{params:c,wrapperEl:d,rtlTranslate:f,snapGrid:p,touchEventsData:w}=e,y=An()-w.touchStartTime;if(u<-e.minTranslate()){e.slideTo(e.activeIndex);return}if(u>-e.maxTranslate()){e.slides.length1){const T=w.velocities.pop(),P=w.velocities.pop(),O=T.position-P.position,I=T.time-P.time;e.velocity=O/I,e.velocity/=2,Math.abs(e.velocity)150||An()-T.time>300)&&(e.velocity=0)}else e.velocity=0;e.velocity*=c.freeMode.momentumVelocityRatio,w.velocities.length=0;let h=1e3*c.freeMode.momentumRatio;const v=e.velocity*h;let m=e.translate+v;f&&(m=-m);let b=!1,E;const x=Math.abs(e.velocity)*20*c.freeMode.momentumBounceRatio;let C;if(me.minTranslate())c.freeMode.momentumBounce?(m-e.minTranslate()>x&&(m=e.minTranslate()+x),E=e.minTranslate(),b=!0,w.allowMomentumBounce=!0):m=e.minTranslate(),c.loop&&c.centeredSlides&&(C=!0);else if(c.freeMode.sticky){let T;for(let P=0;P-m){T=P;break}Math.abs(p[T]-m){e.loopFix()}),e.velocity!==0){if(f?h=Math.abs((-m-e.translate)/e.velocity):h=Math.abs((m-e.translate)/e.velocity),c.freeMode.sticky){const T=Math.abs((f?-m:m)-e.translate),P=e.slidesSizesGrid[e.activeIndex];T{!e||e.destroyed||!w.allowMomentumBounce||(r("momentumBounce"),e.setTransition(c.speed),setTimeout(()=>{e.setTranslate(E),ws(d,()=>{!e||e.destroyed||e.transitionEnd()})},0))})):e.velocity?(r("_freeModeNoMomentumRelease"),e.updateProgress(m),e.setTransition(h),e.setTranslate(m),e.transitionStart(!0,e.swipeDirection),e.animating||(e.animating=!0,ws(d,()=>{!e||e.destroyed||e.transitionEnd()}))):e.updateProgress(m),e.updateActiveIndex(),e.updateSlidesClasses()}else if(c.freeMode.sticky){e.slideToClosest();return}else c.freeMode&&r("_freeModeNoMomentumRelease");(!c.freeMode.momentum||y>=c.longSwipesMs)&&(r("_freeModeStaticRelease"),e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses())}Object.assign(e,{freeMode:{onTouchStart:a,onTouchMove:o,onTouchEnd:l}})}function p5(t){let{swiper:e,extendParams:n,on:r}=t;n({grid:{rows:1,fill:"column"}});let i,a,o,l;const s=()=>{let g=e.params.spaceBetween;return typeof g=="string"&&g.indexOf("%")>=0?g=parseFloat(g.replace("%",""))/100*e.size:typeof g=="string"&&(g=parseFloat(g)),g},u=g=>{const{slidesPerView:y}=e.params,{rows:h,fill:v}=e.params.grid,m=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:g.length;o=Math.floor(m/h),Math.floor(m/h)===m/h?i=m:i=Math.ceil(m/h)*h,y!=="auto"&&v==="row"&&(i=Math.max(i,y*h)),a=i/h},c=()=>{e.slides&&e.slides.forEach(g=>{g.swiperSlideGridSet&&(g.style.height="",g.style[e.getDirectionLabel("margin-top")]="")})},d=(g,y,h)=>{const{slidesPerGroup:v}=e.params,m=s(),{rows:b,fill:E}=e.params.grid,x=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:h.length;let C,T,P;if(E==="row"&&v>1){const O=Math.floor(g/(v*b)),I=g-b*v*O,N=O===0?v:Math.min(Math.ceil((x-O*b*v)/b),v);P=Math.floor(I/N),T=I-P*N+O*v,C=T+P*i/b,y.style.order=C}else E==="column"?(T=Math.floor(g/b),P=g-T*b,(T>o||T===o&&P===b-1)&&(P+=1,P>=b&&(P=0,T+=1))):(P=Math.floor(g/a),T=g-P*a);y.row=P,y.column=T,y.style.height=`calc((100% - ${(b-1)*m}px) / ${b})`,y.style[e.getDirectionLabel("margin-top")]=P!==0?m&&`${m}px`:"",y.swiperSlideGridSet=!0},f=(g,y)=>{const{centeredSlides:h,roundLengths:v}=e.params,m=s(),{rows:b}=e.params.grid;if(e.virtualSize=(g+m)*i,e.virtualSize=Math.ceil(e.virtualSize/b)-m,e.params.cssMode||(e.wrapperEl.style[e.getDirectionLabel("width")]=`${e.virtualSize+m}px`),h){const E=[];for(let x=0;x{l=e.params.grid&&e.params.grid.rows>1},w=()=>{const{params:g,el:y}=e,h=g.grid&&g.grid.rows>1;l&&!h?(y.classList.remove(`${g.containerModifierClass}grid`,`${g.containerModifierClass}grid-column`),o=1,e.emitContainerClasses()):!l&&h&&(y.classList.add(`${g.containerModifierClass}grid`),g.grid.fill==="column"&&y.classList.add(`${g.containerModifierClass}grid-column`),e.emitContainerClasses()),l=h};r("init",p),r("update",w),e.grid={initSlides:u,unsetSlides:c,updateSlide:d,updateWrapperSize:f}}function h5(t){const e=this,{params:n,slidesEl:r}=e;n.loop&&e.loopDestroy();const i=a=>{if(typeof a=="string"){const o=document.createElement("div");o.innerHTML=a,r.append(o.children[0]),o.innerHTML=""}else r.append(a)};if(typeof t=="object"&&"length"in t)for(let a=0;a{if(typeof l=="string"){const s=document.createElement("div");s.innerHTML=l,i.prepend(s.children[0]),s.innerHTML=""}else i.prepend(l)};if(typeof t=="object"&&"length"in t){for(let l=0;l=l){n.appendSlide(e);return}let s=o>t?o+1:o;const u=[];for(let c=l-1;c>=t;c-=1){const d=n.slides[c];d.remove(),u.unshift(d)}if(typeof e=="object"&&"length"in e){for(let c=0;ct?o+e.length:o}else a.append(e);for(let c=0;c{if(n.params.effect!==e)return;n.classNames.push(`${n.params.containerModifierClass}${e}`),l&&l()&&n.classNames.push(`${n.params.containerModifierClass}3d`);const d=o?o():{};Object.assign(n.params,d),Object.assign(n.originalParams,d)}),r("setTranslate",()=>{n.params.effect===e&&i()}),r("setTransition",(d,f)=>{n.params.effect===e&&a(f)}),r("transitionEnd",()=>{if(n.params.effect===e&&s){if(!u||!u().slideShadows)return;n.slides.forEach(d=>{d.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(f=>f.remove())}),s()}});let c;r("virtualUpdate",()=>{n.params.effect===e&&(n.slides.length||(c=!0),requestAnimationFrame(()=>{c&&n.slides&&n.slides.length&&(i(),c=!1)}))})}function gl(t,e){const n=ia(e);return n!==e&&(n.style.backfaceVisibility="hidden",n.style["-webkit-backface-visibility"]="hidden"),n}function Ed(t){let{swiper:e,duration:n,transformElements:r,allSlides:i}=t;const{activeIndex:a}=e,o=l=>l.parentElement?l.parentElement:e.slides.filter(u=>u.shadowRoot&&u.shadowRoot===l.parentNode)[0];if(e.params.virtualTranslate&&n!==0){let l=!1,s;i?s=r:s=r.filter(u=>{const c=u.classList.contains("swiper-slide-transform")?o(u):u;return e.getSlideIndex(c)===a}),s.forEach(u=>{ws(u,()=>{if(l||!e||e.destroyed)return;l=!0,e.animating=!1;const c=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0});e.wrapperEl.dispatchEvent(c)})})}}function b5(t){let{swiper:e,extendParams:n,on:r}=t;n({fadeEffect:{crossFade:!1}}),wo({effect:"fade",swiper:e,on:r,setTranslate:()=>{const{slides:o}=e,l=e.params.fadeEffect;for(let s=0;s{const l=e.slides.map(s=>ia(s));l.forEach(s=>{s.style.transitionDuration=`${o}ms`}),Ed({swiper:e,duration:o,transformElements:l,allSlides:!0})},overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!e.params.cssMode})})}function S5(t){let{swiper:e,extendParams:n,on:r}=t;n({cubeEffect:{slideShadows:!0,shadow:!0,shadowOffset:20,shadowScale:.94}});const i=(s,u,c)=>{let d=c?s.querySelector(".swiper-slide-shadow-left"):s.querySelector(".swiper-slide-shadow-top"),f=c?s.querySelector(".swiper-slide-shadow-right"):s.querySelector(".swiper-slide-shadow-bottom");d||(d=mn("div",`swiper-slide-shadow-cube swiper-slide-shadow-${c?"left":"top"}`.split(" ")),s.append(d)),f||(f=mn("div",`swiper-slide-shadow-cube swiper-slide-shadow-${c?"right":"bottom"}`.split(" ")),s.append(f)),d&&(d.style.opacity=Math.max(-u,0)),f&&(f.style.opacity=Math.max(u,0))};wo({effect:"cube",swiper:e,on:r,setTranslate:()=>{const{el:s,wrapperEl:u,slides:c,width:d,height:f,rtlTranslate:p,size:w,browser:g}=e,y=e.params.cubeEffect,h=e.isHorizontal(),v=e.virtual&&e.params.virtual.enabled;let m=0,b;y.shadow&&(h?(b=e.wrapperEl.querySelector(".swiper-cube-shadow"),b||(b=mn("div","swiper-cube-shadow"),e.wrapperEl.append(b)),b.style.height=`${d}px`):(b=s.querySelector(".swiper-cube-shadow"),b||(b=mn("div","swiper-cube-shadow"),s.append(b))));for(let x=0;x-1&&(m=T*90+I*90,p&&(m=-T*90-I*90),e.browser&&e.browser.isSafari&&Math.abs(m)/90%2===1&&(m+=.001)),C.style.transform=R,y.slideShadows&&i(C,I,h)}if(u.style.transformOrigin=`50% 50% -${w/2}px`,u.style["-webkit-transform-origin"]=`50% 50% -${w/2}px`,y.shadow)if(h)b.style.transform=`translate3d(0px, ${d/2+y.shadowOffset}px, ${-d/2}px) rotateX(89.99deg) rotateZ(0deg) scale(${y.shadowScale})`;else{const x=Math.abs(m)-Math.floor(Math.abs(m)/90)*90,C=1.5-(Math.sin(x*2*Math.PI/360)/2+Math.cos(x*2*Math.PI/360)/2),T=y.shadowScale,P=y.shadowScale/C,O=y.shadowOffset;b.style.transform=`scale3d(${T}, 1, ${P}) translate3d(0px, ${f/2+O}px, ${-f/2/P}px) rotateX(-89.99deg)`}const E=(g.isSafari||g.isWebView)&&g.needPerspectiveFix?-w/2:0;u.style.transform=`translate3d(0px,0,${E}px) rotateX(${e.isHorizontal()?0:m}deg) rotateY(${e.isHorizontal()?-m:0}deg)`,u.style.setProperty("--swiper-cube-translate-z",`${E}px`)},setTransition:s=>{const{el:u,slides:c}=e;if(c.forEach(d=>{d.style.transitionDuration=`${s}ms`,d.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(f=>{f.style.transitionDuration=`${s}ms`})}),e.params.cubeEffect.shadow&&!e.isHorizontal()){const d=u.querySelector(".swiper-cube-shadow");d&&(d.style.transitionDuration=`${s}ms`)}},recreateShadows:()=>{const s=e.isHorizontal();e.slides.forEach(u=>{const c=Math.max(Math.min(u.progress,1),-1);i(u,c,s)})},getEffectParams:()=>e.params.cubeEffect,perspective:()=>!0,overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,resistanceRatio:0,spaceBetween:0,centeredSlides:!1,virtualTranslate:!0})})}function co(t,e,n){const r=`swiper-slide-shadow${n?`-${n}`:""}${t?` swiper-slide-shadow-${t}`:""}`,i=ia(e);let a=i.querySelector(`.${r.split(" ").join(".")}`);return a||(a=mn("div",r.split(" ")),i.append(a)),a}function x5(t){let{swiper:e,extendParams:n,on:r}=t;n({flipEffect:{slideShadows:!0,limitRotation:!0}});const i=(s,u)=>{let c=e.isHorizontal()?s.querySelector(".swiper-slide-shadow-left"):s.querySelector(".swiper-slide-shadow-top"),d=e.isHorizontal()?s.querySelector(".swiper-slide-shadow-right"):s.querySelector(".swiper-slide-shadow-bottom");c||(c=co("flip",s,e.isHorizontal()?"left":"top")),d||(d=co("flip",s,e.isHorizontal()?"right":"bottom")),c&&(c.style.opacity=Math.max(-u,0)),d&&(d.style.opacity=Math.max(u,0))};wo({effect:"flip",swiper:e,on:r,setTranslate:()=>{const{slides:s,rtlTranslate:u}=e,c=e.params.flipEffect;for(let d=0;d{const u=e.slides.map(c=>ia(c));u.forEach(c=>{c.style.transitionDuration=`${s}ms`,c.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(d=>{d.style.transitionDuration=`${s}ms`})}),Ed({swiper:e,duration:s,transformElements:u})},recreateShadows:()=>{e.params.flipEffect,e.slides.forEach(s=>{let u=s.progress;e.params.flipEffect.limitRotation&&(u=Math.max(Math.min(s.progress,1),-1)),i(s,u)})},getEffectParams:()=>e.params.flipEffect,perspective:()=>!0,overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!e.params.cssMode})})}function E5(t){let{swiper:e,extendParams:n,on:r}=t;n({coverflowEffect:{rotate:50,stretch:0,depth:100,scale:1,modifier:1,slideShadows:!0}}),wo({effect:"coverflow",swiper:e,on:r,setTranslate:()=>{const{width:o,height:l,slides:s,slidesSizesGrid:u}=e,c=e.params.coverflowEffect,d=e.isHorizontal(),f=e.translate,p=d?-f+o/2:-f+l/2,w=d?c.rotate:-c.rotate,g=c.depth;for(let y=0,h=s.length;y0?x:0),L&&(L.style.opacity=-x>0?-x:0)}}},setTransition:o=>{e.slides.map(s=>ia(s)).forEach(s=>{s.style.transitionDuration=`${o}ms`,s.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(u=>{u.style.transitionDuration=`${o}ms`})})},perspective:()=>!0,overwriteParams:()=>({watchSlidesProgress:!0})})}function C5(t){let{swiper:e,extendParams:n,on:r}=t;n({creativeEffect:{limitProgress:1,shadowPerProgress:!1,progressMultiplier:1,perspective:!0,prev:{translate:[0,0,0],rotate:[0,0,0],opacity:1,scale:1},next:{translate:[0,0,0],rotate:[0,0,0],opacity:1,scale:1}}});const i=l=>typeof l=="string"?l:`${l}px`;wo({effect:"creative",swiper:e,on:r,setTranslate:()=>{const{slides:l,wrapperEl:s,slidesSizesGrid:u}=e,c=e.params.creativeEffect,{progressMultiplier:d}=c,f=e.params.centeredSlides;if(f){const p=u[0]/2-e.params.slidesOffsetBefore||0;s.style.transform=`translateX(calc(50% - ${p}px))`}for(let p=0;p0&&(x=c.prev,E=!0),m.forEach((A,M)=>{m[M]=`calc(${A}px + (${i(x.translate[M])} * ${Math.abs(y*d)}))`}),b.forEach((A,M)=>{let R=x.rotate[M]*Math.abs(y*d);e.browser&&e.browser.isSafari&&Math.abs(R)/90%2===1&&(R+=.001),b[M]=R}),w.style.zIndex=-Math.abs(Math.round(g))+l.length;const C=m.join(", "),T=`rotateX(${b[0]}deg) rotateY(${b[1]}deg) rotateZ(${b[2]}deg)`,P=h<0?`scale(${1+(1-x.scale)*h*d})`:`scale(${1-(1-x.scale)*h*d})`,O=h<0?1+(1-x.opacity)*h*d:1-(1-x.opacity)*h*d,I=`translate3d(${C}) ${T} ${P}`;if(E&&x.shadow||!E){let A=w.querySelector(".swiper-slide-shadow");if(!A&&x.shadow&&(A=co("creative",w)),A){const M=c.shadowPerProgress?y*(1/c.limitProgress):y;A.style.opacity=Math.min(Math.max(Math.abs(M),0),1)}}const N=gl(c,w);N.style.transform=I,N.style.opacity=O,x.origin&&(N.style.transformOrigin=x.origin)}},setTransition:l=>{const s=e.slides.map(u=>ia(u));s.forEach(u=>{u.style.transitionDuration=`${l}ms`,u.querySelectorAll(".swiper-slide-shadow").forEach(c=>{c.style.transitionDuration=`${l}ms`})}),Ed({swiper:e,duration:l,transformElements:s,allSlides:!0})},perspective:()=>e.params.creativeEffect.perspective,overwriteParams:()=>({watchSlidesProgress:!0,virtualTranslate:!e.params.cssMode})})}function T5(t){let{swiper:e,extendParams:n,on:r}=t;n({cardsEffect:{slideShadows:!0,rotate:!0,perSlideRotate:2,perSlideOffset:8}}),wo({effect:"cards",swiper:e,on:r,setTranslate:()=>{const{slides:o,activeIndex:l,rtlTranslate:s}=e,u=e.params.cardsEffect,{startTranslate:c,isTouched:d}=e.touchEventsData,f=s?-e.translate:e.translate;for(let p=0;p0&&y<1&&(d||e.params.cssMode)&&f-1&&(d||e.params.cssMode)&&f>c;if(P||O){const M=(1-Math.abs((Math.abs(y)-.5)/.5))**.5;x+=-28*y*M,E+=-.5*M,C+=96*M,m=`${-25*M*Math.abs(y)}%`}if(y<0?v=`calc(${v}px ${s?"-":"+"} (${C*Math.abs(y)}%))`:y>0?v=`calc(${v}px ${s?"-":"+"} (-${C*Math.abs(y)}%))`:v=`${v}px`,!e.isHorizontal()){const M=m;m=v,v=M}const I=y<0?`${1+(1-E)*y}`:`${1-(1-E)*y}`,N=` translate3d(${v}, ${m}, ${b}px) rotateZ(${u.rotate?s?-x:x:0}deg) scale(${I}) - `;if(u.slideShadows){let M=w.querySelector(".swiper-slide-shadow");M||(M=co("cards",w)),M&&(M.style.opacity=Math.min(Math.max((Math.abs(y)-.5)/.5,0),1))}w.style.zIndex=-Math.abs(Math.round(g))+o.length;const A=gl(u,w);A.style.transform=N}},setTransition:o=>{const l=e.slides.map(s=>ia(s));l.forEach(s=>{s.style.transitionDuration=`${o}ms`,s.querySelectorAll(".swiper-slide-shadow").forEach(u=>{u.style.transitionDuration=`${o}ms`})}),Sd({swiper:e,duration:o,transformElements:l})},perspective:()=>!0,overwriteParams:()=>({watchSlidesProgress:!0,virtualTranslate:!e.params.cssMode})})}const E5="_heading_1jxz1_1",C5="_testimonial_1jxz1_5",bc={heading:E5,testimonial:C5};function T5({testimonial:t}){return V.jsx("swiper-slide",{children:V.jsxs("article",{className:bc.testimonial,children:[V.jsxs("div",{className:bc.heading,children:[V.jsx("img",{src:t.img,alt:t.name}),V.jsxs("div",{children:[V.jsx("h3",{children:t.name}),V.jsx("h4",{children:t.role})]})]}),V.jsx("p",{children:t.comment})]})})}let up;function P5(){const t=Ke(),e=Ht();return{smoothScroll:e.documentElement&&e.documentElement.style&&"scrollBehavior"in e.documentElement.style,touch:!!("ontouchstart"in t||t.DocumentTouch&&e instanceof t.DocumentTouch)}}function ek(){return up||(up=P5()),up}let cp;function k5(t){let{userAgent:e}=t===void 0?{}:t;const n=ek(),r=Ke(),i=r.navigator.platform,a=e||r.navigator.userAgent,o={ios:!1,android:!1},l=r.screen.width,s=r.screen.height,u=a.match(/(Android);?[\s\/]+([\d.]+)?/);let c=a.match(/(iPad).*OS\s([\d_]+)/);const d=a.match(/(iPod)(.*OS\s([\d_]+))?/),f=!c&&a.match(/(iPhone\sOS|iOS)\s([\d_]+)/),p=i==="Win32";let w=i==="MacIntel";const g=["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"];return!c&&w&&n.touch&&g.indexOf(`${l}x${s}`)>=0&&(c=a.match(/(Version)\/([\d.]+)/),c||(c=[0,1,"13_0_0"]),w=!1),u&&!p&&(o.os="android",o.android=!0),(c||f||d)&&(o.os="ios",o.ios=!0),o}function M5(t){return t===void 0&&(t={}),cp||(cp=k5(t)),cp}let dp;function O5(){const t=Ke();let e=!1;function n(){const r=t.navigator.userAgent.toLowerCase();return r.indexOf("safari")>=0&&r.indexOf("chrome")<0&&r.indexOf("android")<0}if(n()){const r=String(t.navigator.userAgent);if(r.includes("Version/")){const[i,a]=r.split("Version/")[1].split(" ")[0].split(".").map(o=>Number(o));e=i<16||i===16&&a<2}}return{isSafari:e||n(),needPerspectiveFix:e,isWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(t.navigator.userAgent)}}function A5(){return dp||(dp=O5()),dp}function L5(t){let{swiper:e,on:n,emit:r}=t;const i=Ke();let a=null,o=null;const l=()=>{!e||e.destroyed||!e.initialized||(r("beforeResize"),r("resize"))},s=()=>{!e||e.destroyed||!e.initialized||(a=new ResizeObserver(d=>{o=i.requestAnimationFrame(()=>{const{width:f,height:p}=e;let w=f,g=p;d.forEach(y=>{let{contentBoxSize:h,contentRect:v,target:m}=y;m&&m!==e.el||(w=v?v.width:(h[0]||h).inlineSize,g=v?v.height:(h[0]||h).blockSize)}),(w!==f||g!==p)&&l()})}),a.observe(e.el))},u=()=>{o&&i.cancelAnimationFrame(o),a&&a.unobserve&&e.el&&(a.unobserve(e.el),a=null)},c=()=>{!e||e.destroyed||!e.initialized||r("orientationchange")};n("init",()=>{if(e.params.resizeObserver&&typeof i.ResizeObserver<"u"){s();return}i.addEventListener("resize",l),i.addEventListener("orientationchange",c)}),n("destroy",()=>{u(),i.removeEventListener("resize",l),i.removeEventListener("orientationchange",c)})}function R5(t){let{swiper:e,extendParams:n,on:r,emit:i}=t;const a=[],o=Ke(),l=function(c,d){d===void 0&&(d={});const f=o.MutationObserver||o.WebkitMutationObserver,p=new f(w=>{if(e.__preventObserver__)return;if(w.length===1){i("observerUpdate",w[0]);return}const g=function(){i("observerUpdate",w[0])};o.requestAnimationFrame?o.requestAnimationFrame(g):o.setTimeout(g,0)});p.observe(c,{attributes:typeof d.attributes>"u"?!0:d.attributes,childList:typeof d.childList>"u"?!0:d.childList,characterData:typeof d.characterData>"u"?!0:d.characterData}),a.push(p)},s=()=>{if(e.params.observer){if(e.params.observeParents){const c=Ui(e.hostEl);for(let d=0;d{a.forEach(c=>{c.disconnect()}),a.splice(0,a.length)};n({observer:!1,observeParents:!1,observeSlideChildren:!1}),r("init",s),r("destroy",u)}var I5={on(t,e,n){const r=this;if(!r.eventsListeners||r.destroyed||typeof e!="function")return r;const i=n?"unshift":"push";return t.split(" ").forEach(a=>{r.eventsListeners[a]||(r.eventsListeners[a]=[]),r.eventsListeners[a][i](e)}),r},once(t,e,n){const r=this;if(!r.eventsListeners||r.destroyed||typeof e!="function")return r;function i(){r.off(t,i),i.__emitterProxy&&delete i.__emitterProxy;for(var a=arguments.length,o=new Array(a),l=0;l=0&&e.eventsAnyListeners.splice(n,1),e},off(t,e){const n=this;return!n.eventsListeners||n.destroyed||!n.eventsListeners||t.split(" ").forEach(r=>{typeof e>"u"?n.eventsListeners[r]=[]:n.eventsListeners[r]&&n.eventsListeners[r].forEach((i,a)=>{(i===e||i.__emitterProxy&&i.__emitterProxy===e)&&n.eventsListeners[r].splice(a,1)})}),n},emit(){const t=this;if(!t.eventsListeners||t.destroyed||!t.eventsListeners)return t;let e,n,r;for(var i=arguments.length,a=new Array(i),o=0;o{t.eventsAnyListeners&&t.eventsAnyListeners.length&&t.eventsAnyListeners.forEach(u=>{u.apply(r,[s,...n])}),t.eventsListeners&&t.eventsListeners[s]&&t.eventsListeners[s].forEach(u=>{u.apply(r,n)})}),t}};function D5(){const t=this;let e,n;const r=t.el;typeof t.params.width<"u"&&t.params.width!==null?e=t.params.width:e=r.clientWidth,typeof t.params.height<"u"&&t.params.height!==null?n=t.params.height:n=r.clientHeight,!(e===0&&t.isHorizontal()||n===0&&t.isVertical())&&(e=e-parseInt(Yr(r,"padding-left")||0,10)-parseInt(Yr(r,"padding-right")||0,10),n=n-parseInt(Yr(r,"padding-top")||0,10)-parseInt(Yr(r,"padding-bottom")||0,10),Number.isNaN(e)&&(e=0),Number.isNaN(n)&&(n=0),Object.assign(t,{width:e,height:n,size:t.isHorizontal()?e:n}))}function F5(){const t=this;function e(O,I){return parseFloat(O.getPropertyValue(t.getDirectionLabel(I))||0)}const n=t.params,{wrapperEl:r,slidesEl:i,size:a,rtlTranslate:o,wrongRTL:l}=t,s=t.virtual&&n.virtual.enabled,u=s?t.virtual.slides.length:t.slides.length,c=Ct(i,`.${t.params.slideClass}, swiper-slide`),d=s?t.virtual.slides.length:c.length;let f=[];const p=[],w=[];let g=n.slidesOffsetBefore;typeof g=="function"&&(g=n.slidesOffsetBefore.call(t));let y=n.slidesOffsetAfter;typeof y=="function"&&(y=n.slidesOffsetAfter.call(t));const h=t.snapGrid.length,v=t.slidesGrid.length;let m=n.spaceBetween,b=-g,E=0,x=0;if(typeof a>"u")return;typeof m=="string"&&m.indexOf("%")>=0?m=parseFloat(m.replace("%",""))/100*a:typeof m=="string"&&(m=parseFloat(m)),t.virtualSize=-m,c.forEach(O=>{o?O.style.marginLeft="":O.style.marginRight="",O.style.marginBottom="",O.style.marginTop=""}),n.centeredSlides&&n.cssMode&&(Yo(r,"--swiper-centered-offset-before",""),Yo(r,"--swiper-centered-offset-after",""));const C=n.grid&&n.grid.rows>1&&t.grid;C?t.grid.initSlides(c):t.grid&&t.grid.unsetSlides();let T;const P=n.slidesPerView==="auto"&&n.breakpoints&&Object.keys(n.breakpoints).filter(O=>typeof n.breakpoints[O].slidesPerView<"u").length>0;for(let O=0;O1&&f.push(t.virtualSize-a)}if(s&&n.loop){const O=w[0]+m;if(n.slidesPerGroup>1){const I=Math.ceil((t.virtual.slidesBefore+t.virtual.slidesAfter)/n.slidesPerGroup),N=O*n.slidesPerGroup;for(let A=0;A!n.cssMode||n.loop?!0:N!==c.length-1).forEach(I=>{I.style[O]=`${m}px`})}if(n.centeredSlides&&n.centeredSlidesBounds){let O=0;w.forEach(N=>{O+=N+(m||0)}),O-=m;const I=O-a;f=f.map(N=>N<=0?-g:N>I?I+y:N)}if(n.centerInsufficientSlides){let O=0;if(w.forEach(I=>{O+=I+(m||0)}),O-=m,O{f[A]=N-I}),p.forEach((N,A)=>{p[A]=N+I})}}if(Object.assign(t,{slides:c,snapGrid:f,slidesGrid:p,slidesSizesGrid:w}),n.centeredSlides&&n.cssMode&&!n.centeredSlidesBounds){Yo(r,"--swiper-centered-offset-before",`${-f[0]}px`),Yo(r,"--swiper-centered-offset-after",`${t.size/2-w[w.length-1]/2}px`);const O=-t.snapGrid[0],I=-t.slidesGrid[0];t.snapGrid=t.snapGrid.map(N=>N+O),t.slidesGrid=t.slidesGrid.map(N=>N+I)}if(d!==u&&t.emit("slidesLengthChange"),f.length!==h&&(t.params.watchOverflow&&t.checkOverflow(),t.emit("snapGridLengthChange")),p.length!==v&&t.emit("slidesGridLengthChange"),n.watchSlidesProgress&&t.updateSlidesOffset(),t.emit("slidesUpdated"),!s&&!n.cssMode&&(n.effect==="slide"||n.effect==="fade")){const O=`${n.containerModifierClass}backface-hidden`,I=t.el.classList.contains(O);d<=n.maxBackfaceHiddenSlides?I||t.el.classList.add(O):I&&t.el.classList.remove(O)}}function N5(t){const e=this,n=[],r=e.virtual&&e.params.virtual.enabled;let i=0,a;typeof t=="number"?e.setTransition(t):t===!0&&e.setTransition(e.params.speed);const o=l=>r?e.slides[e.getSlideIndexByData(l)]:e.slides[l];if(e.params.slidesPerView!=="auto"&&e.params.slidesPerView>1)if(e.params.centeredSlides)(e.visibleSlides||[]).forEach(l=>{n.push(l)});else for(a=0;ae.slides.length&&!r)break;n.push(o(l))}else n.push(o(e.activeIndex));for(a=0;ai?l:i}(i||i===0)&&(e.wrapperEl.style.height=`${i}px`)}function _5(){const t=this,e=t.slides,n=t.isElement?t.isHorizontal()?t.wrapperEl.offsetLeft:t.wrapperEl.offsetTop:0;for(let r=0;r"u"&&e.updateSlidesOffset();let o=-t;i&&(o=t),r.forEach(s=>{s.classList.remove(n.slideVisibleClass,n.slideFullyVisibleClass)}),e.visibleSlidesIndexes=[],e.visibleSlides=[];let l=n.spaceBetween;typeof l=="string"&&l.indexOf("%")>=0?l=parseFloat(l.replace("%",""))/100*e.size:typeof l=="string"&&(l=parseFloat(l));for(let s=0;s=0&&p<=e.size-e.slidesSizesGrid[s];(p>=0&&p1&&w<=e.size||p<=0&&w>=e.size)&&(e.visibleSlides.push(u),e.visibleSlidesIndexes.push(s),r[s].classList.add(n.slideVisibleClass)),g&&r[s].classList.add(n.slideFullyVisibleClass),u.progress=i?-d:d,u.originalProgress=i?-f:f}}function j5(t){const e=this;if(typeof t>"u"){const c=e.rtlTranslate?-1:1;t=e&&e.translate&&e.translate*c||0}const n=e.params,r=e.maxTranslate()-e.minTranslate();let{progress:i,isBeginning:a,isEnd:o,progressLoop:l}=e;const s=a,u=o;if(r===0)i=0,a=!0,o=!0;else{i=(t-e.minTranslate())/r;const c=Math.abs(t-e.minTranslate())<1,d=Math.abs(t-e.maxTranslate())<1;a=c||i<=0,o=d||i>=1,c&&(i=0),d&&(i=1)}if(n.loop){const c=e.getSlideIndexByData(0),d=e.getSlideIndexByData(e.slides.length-1),f=e.slidesGrid[c],p=e.slidesGrid[d],w=e.slidesGrid[e.slidesGrid.length-1],g=Math.abs(t);g>=f?l=(g-f)/w:l=(g+w-p)/w,l>1&&(l-=1)}Object.assign(e,{progress:i,progressLoop:l,isBeginning:a,isEnd:o}),(n.watchSlidesProgress||n.centeredSlides&&n.autoHeight)&&e.updateSlidesProgress(t),a&&!s&&e.emit("reachBeginning toEdge"),o&&!u&&e.emit("reachEnd toEdge"),(s&&!a||u&&!o)&&e.emit("fromEdge"),e.emit("progress",i)}function $5(){const t=this,{slides:e,params:n,slidesEl:r,activeIndex:i}=t,a=t.virtual&&n.virtual.enabled,o=t.grid&&n.grid&&n.grid.rows>1,l=d=>Ct(r,`.${n.slideClass}${d}, swiper-slide${d}`)[0];e.forEach(d=>{d.classList.remove(n.slideActiveClass,n.slideNextClass,n.slidePrevClass)});let s,u,c;if(a)if(n.loop){let d=i-t.virtual.slidesBefore;d<0&&(d=t.virtual.slides.length+d),d>=t.virtual.slides.length&&(d-=t.virtual.slides.length),s=l(`[data-swiper-slide-index="${d}"]`)}else s=l(`[data-swiper-slide-index="${i}"]`);else o?(s=e.filter(d=>d.column===i)[0],c=e.filter(d=>d.column===i+1)[0],u=e.filter(d=>d.column===i-1)[0]):s=e[i];s&&(s.classList.add(n.slideActiveClass),o?(c&&c.classList.add(n.slideNextClass),u&&u.classList.add(n.slidePrevClass)):(c=Yz(s,`.${n.slideClass}, swiper-slide`)[0],n.loop&&!c&&(c=e[0]),c&&c.classList.add(n.slideNextClass),u=Kz(s,`.${n.slideClass}, swiper-slide`)[0],n.loop&&!u===0&&(u=e[e.length-1]),u&&u.classList.add(n.slidePrevClass))),t.emitSlidesClasses()}const Ru=(t,e)=>{if(!t||t.destroyed||!t.params)return;const n=()=>t.isElement?"swiper-slide":`.${t.params.slideClass}`,r=e.closest(n());if(r){let i=r.querySelector(`.${t.params.lazyPreloaderClass}`);!i&&t.isElement&&(r.shadowRoot?i=r.shadowRoot.querySelector(`.${t.params.lazyPreloaderClass}`):requestAnimationFrame(()=>{r.shadowRoot&&(i=r.shadowRoot.querySelector(`.${t.params.lazyPreloaderClass}`),i&&i.remove())})),i&&i.remove()}},fp=(t,e)=>{if(!t.slides[e])return;const n=t.slides[e].querySelector('[loading="lazy"]');n&&n.removeAttribute("loading")},Tm=t=>{if(!t||t.destroyed||!t.params)return;let e=t.params.lazyPreloadPrevNext;const n=t.slides.length;if(!n||!e||e<0)return;e=Math.min(e,n);const r=t.params.slidesPerView==="auto"?t.slidesPerViewDynamic():Math.ceil(t.params.slidesPerView),i=t.activeIndex;if(t.params.grid&&t.params.grid.rows>1){const o=i,l=[o-e];l.push(...Array.from({length:e}).map((s,u)=>o+r+u)),t.slides.forEach((s,u)=>{l.includes(s.column)&&fp(t,u)});return}const a=i+r-1;if(t.params.rewind||t.params.loop)for(let o=i-e;o<=a+e;o+=1){const l=(o%n+n)%n;(la)&&fp(t,l)}else for(let o=Math.max(i-e,0);o<=Math.min(a+e,n-1);o+=1)o!==i&&(o>a||o=e[a]&&r=e[a]&&r=e[a]&&(i=a);return n.normalizeSlideIndex&&(i<0||typeof i>"u")&&(i=0),i}function B5(t){const e=this,n=e.rtlTranslate?e.translate:-e.translate,{snapGrid:r,params:i,activeIndex:a,realIndex:o,snapIndex:l}=e;let s=t,u;const c=p=>{let w=p-e.virtual.slidesBefore;return w<0&&(w=e.virtual.slides.length+w),w>=e.virtual.slides.length&&(w-=e.virtual.slides.length),w};if(typeof s>"u"&&(s=z5(e)),r.indexOf(n)>=0)u=r.indexOf(n);else{const p=Math.min(i.slidesPerGroupSkip,s);u=p+Math.floor((s-p)/i.slidesPerGroup)}if(u>=r.length&&(u=r.length-1),s===a&&!e.params.loop){u!==l&&(e.snapIndex=u,e.emit("snapIndexChange"));return}if(s===a&&e.params.loop&&e.virtual&&e.params.virtual.enabled){e.realIndex=c(s);return}const d=e.grid&&i.grid&&i.grid.rows>1;let f;if(e.virtual&&i.virtual.enabled&&i.loop)f=c(s);else if(d){const p=e.slides.filter(g=>g.column===s)[0];let w=parseInt(p.getAttribute("data-swiper-slide-index"),10);Number.isNaN(w)&&(w=Math.max(e.slides.indexOf(p),0)),f=Math.floor(w/i.grid.rows)}else if(e.slides[s]){const p=e.slides[s].getAttribute("data-swiper-slide-index");p?f=parseInt(p,10):f=s}else f=s;Object.assign(e,{previousSnapIndex:l,snapIndex:u,previousRealIndex:o,realIndex:f,previousIndex:a,activeIndex:s}),e.initialized&&Tm(e),e.emit("activeIndexChange"),e.emit("snapIndexChange"),(e.initialized||e.params.runCallbacksOnInit)&&(o!==f&&e.emit("realIndexChange"),e.emit("slideChange"))}function H5(t,e){const n=this,r=n.params;let i=t.closest(`.${r.slideClass}, swiper-slide`);!i&&n.isElement&&e&&e.length>1&&e.includes(t)&&[...e.slice(e.indexOf(t)+1,e.length)].forEach(l=>{!i&&l.matches&&l.matches(`.${r.slideClass}, swiper-slide`)&&(i=l)});let a=!1,o;if(i){for(let l=0;ls?c=s:r&&to?l="next":a=s.length&&(y=s.length-1);const h=-s[y];if(l.normalizeSlideIndex)for(let m=0;m=E&&b=E&&b=E&&(o=m)}if(a.initialized&&o!==d&&(!a.allowSlideNext&&(f?h>a.translate&&h>a.minTranslate():ha.translate&&h>a.maxTranslate()&&(d||0)!==o))return!1;o!==(c||0)&&n&&a.emit("beforeSlideChangeStart"),a.updateProgress(h);let v;if(o>d?v="next":o0?(a._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{p[m?"scrollLeft":"scrollTop"]=b})):p[m?"scrollLeft":"scrollTop"]=b,E&&requestAnimationFrame(()=>{a.wrapperEl.style.scrollSnapType="",a._immediateVirtual=!1})}else{if(!a.support.smoothScroll)return QP({swiper:a,targetPosition:b,side:m?"left":"top"}),!0;p.scrollTo({[m?"left":"top"]:b,behavior:"smooth"})}return!0}return a.setTransition(e),a.setTranslate(h),a.updateActiveIndex(o),a.updateSlidesClasses(),a.emit("beforeTransitionStart",e,r),a.transitionStart(n,v),e===0?a.transitionEnd(n,v):a.animating||(a.animating=!0,a.onSlideToWrapperTransitionEnd||(a.onSlideToWrapperTransitionEnd=function(b){!a||a.destroyed||b.target===this&&(a.wrapperEl.removeEventListener("transitionend",a.onSlideToWrapperTransitionEnd),a.onSlideToWrapperTransitionEnd=null,delete a.onSlideToWrapperTransitionEnd,a.transitionEnd(n,v))}),a.wrapperEl.addEventListener("transitionend",a.onSlideToWrapperTransitionEnd)),!0}function n4(t,e,n,r){t===void 0&&(t=0),e===void 0&&(e=this.params.speed),n===void 0&&(n=!0),typeof t=="string"&&(t=parseInt(t,10));const i=this,a=i.grid&&i.params.grid&&i.params.grid.rows>1;let o=t;if(i.params.loop)if(i.virtual&&i.params.virtual.enabled)o=o+i.virtual.slidesBefore;else{let l;if(a){const f=o*i.params.grid.rows;l=i.slides.filter(p=>p.getAttribute("data-swiper-slide-index")*1===f)[0].column}else l=i.getSlideIndexByData(o);const s=a?Math.ceil(i.slides.length/i.params.grid.rows):i.slides.length,{centeredSlides:u}=i.params;let c=i.params.slidesPerView;c==="auto"?c=i.slidesPerViewDynamic():(c=Math.ceil(parseFloat(i.params.slidesPerView,10)),u&&c%2===0&&(c=c+1));let d=s-lp.getAttribute("data-swiper-slide-index")*1===f)[0].column}else o=i.getSlideIndexByData(o)}return requestAnimationFrame(()=>{i.slideTo(o,e,n,r)}),i}function r4(t,e,n){t===void 0&&(t=this.params.speed),e===void 0&&(e=!0);const r=this,{enabled:i,params:a,animating:o}=r;if(!i)return r;let l=a.slidesPerGroup;a.slidesPerView==="auto"&&a.slidesPerGroup===1&&a.slidesPerGroupAuto&&(l=Math.max(r.slidesPerViewDynamic("current",!0),1));const s=r.activeIndex{r.slideTo(r.activeIndex+s,t,e,n)}),!0}return a.rewind&&r.isEnd?r.slideTo(0,t,e,n):r.slideTo(r.activeIndex+s,t,e,n)}function i4(t,e,n){t===void 0&&(t=this.params.speed),e===void 0&&(e=!0);const r=this,{params:i,snapGrid:a,slidesGrid:o,rtlTranslate:l,enabled:s,animating:u}=r;if(!s)return r;const c=r.virtual&&i.virtual.enabled;if(i.loop){if(u&&!c&&i.loopPreventsSliding)return!1;r.loopFix({direction:"prev"}),r._clientLeft=r.wrapperEl.clientLeft}const d=l?r.translate:-r.translate;function f(h){return h<0?-Math.floor(Math.abs(h)):Math.floor(h)}const p=f(d),w=a.map(h=>f(h));let g=a[w.indexOf(p)-1];if(typeof g>"u"&&i.cssMode){let h;a.forEach((v,m)=>{p>=v&&(h=m)}),typeof h<"u"&&(g=a[h>0?h-1:h])}let y=0;if(typeof g<"u"&&(y=o.indexOf(g),y<0&&(y=r.activeIndex-1),i.slidesPerView==="auto"&&i.slidesPerGroup===1&&i.slidesPerGroupAuto&&(y=y-r.slidesPerViewDynamic("previous",!0)+1,y=Math.max(y,0))),i.rewind&&r.isBeginning){const h=r.params.virtual&&r.params.virtual.enabled&&r.virtual?r.virtual.slides.length-1:r.slides.length-1;return r.slideTo(h,t,e,n)}else if(i.loop&&r.activeIndex===0&&i.cssMode)return requestAnimationFrame(()=>{r.slideTo(y,t,e,n)}),!0;return r.slideTo(y,t,e,n)}function a4(t,e,n){t===void 0&&(t=this.params.speed),e===void 0&&(e=!0);const r=this;return r.slideTo(r.activeIndex,t,e,n)}function o4(t,e,n,r){t===void 0&&(t=this.params.speed),e===void 0&&(e=!0),r===void 0&&(r=.5);const i=this;let a=i.activeIndex;const o=Math.min(i.params.slidesPerGroupSkip,a),l=o+Math.floor((a-o)/i.params.slidesPerGroup),s=i.rtlTranslate?i.translate:-i.translate;if(s>=i.snapGrid[l]){const u=i.snapGrid[l],c=i.snapGrid[l+1];s-u>(c-u)*r&&(a+=i.params.slidesPerGroup)}else{const u=i.snapGrid[l-1],c=i.snapGrid[l];s-u<=(c-u)*r&&(a-=i.params.slidesPerGroup)}return a=Math.max(a,0),a=Math.min(a,i.slidesGrid.length-1),i.slideTo(a,t,e,n)}function s4(){const t=this,{params:e,slidesEl:n}=t,r=e.slidesPerView==="auto"?t.slidesPerViewDynamic():e.slidesPerView;let i=t.clickedIndex,a;const o=t.isElement?"swiper-slide":`.${e.slideClass}`;if(e.loop){if(t.animating)return;a=parseInt(t.clickedSlide.getAttribute("data-swiper-slide-index"),10),e.centeredSlides?it.slides.length-t.loopedSlides+r/2?(t.loopFix(),i=t.getSlideIndex(Ct(n,`${o}[data-swiper-slide-index="${a}"]`)[0]),Zi(()=>{t.slideTo(i)})):t.slideTo(i):i>t.slides.length-r?(t.loopFix(),i=t.getSlideIndex(Ct(n,`${o}[data-swiper-slide-index="${a}"]`)[0]),Zi(()=>{t.slideTo(i)})):t.slideTo(i)}else t.slideTo(i)}var l4={slideTo:t4,slideToLoop:n4,slideNext:r4,slidePrev:i4,slideReset:a4,slideToClosest:o4,slideToClickedSlide:s4};function u4(t){const e=this,{params:n,slidesEl:r}=e;if(!n.loop||e.virtual&&e.params.virtual.enabled)return;const i=()=>{Ct(r,`.${n.slideClass}, swiper-slide`).forEach((d,f)=>{d.setAttribute("data-swiper-slide-index",f)})},a=e.grid&&n.grid&&n.grid.rows>1,o=n.slidesPerGroup*(a?n.grid.rows:1),l=e.slides.length%o!==0,s=a&&e.slides.length%n.grid.rows!==0,u=c=>{for(let d=0;d1;u.length"u"?a=s.getSlideIndex(u.filter(A=>A.classList.contains(p.slideActiveClass))[0]):E=a;const x=r==="next"||!r,C=r==="prev"||!r;let T=0,P=0;const O=v?Math.ceil(u.length/p.grid.rows):u.length,N=(v?u[a].column:a)+(w&&typeof i>"u"?-g/2+.5:0);if(N=0;D-=1)u[D].column===R&&m.push(D)}else m.push(O-M-1)}}else if(N+g>O-h){P=Math.max(N-(O-h*2),y);for(let A=0;A{R.column===M&&b.push(D)}):b.push(M)}}if(s.__preventObserver__=!0,requestAnimationFrame(()=>{s.__preventObserver__=!1}),C&&m.forEach(A=>{u[A].swiperLoopMoveDOM=!0,f.prepend(u[A]),u[A].swiperLoopMoveDOM=!1}),x&&b.forEach(A=>{u[A].swiperLoopMoveDOM=!0,f.append(u[A]),u[A].swiperLoopMoveDOM=!1}),s.recalcSlides(),p.slidesPerView==="auto"?s.updateSlides():v&&(m.length>0&&C||b.length>0&&x)&&s.slides.forEach((A,M)=>{s.grid.updateSlide(M,A,s.slides)}),p.watchSlidesProgress&&s.updateSlidesOffset(),n){if(m.length>0&&C){if(typeof e>"u"){const A=s.slidesGrid[E],R=s.slidesGrid[E+T]-A;l?s.setTranslate(s.translate-R):(s.slideTo(E+T,0,!1,!0),i&&(s.touchEventsData.startTranslate=s.touchEventsData.startTranslate-R,s.touchEventsData.currentTranslate=s.touchEventsData.currentTranslate-R))}else if(i){const A=v?m.length/p.grid.rows:m.length;s.slideTo(s.activeIndex+A,0,!1,!0),s.touchEventsData.currentTranslate=s.translate}}else if(b.length>0&&x)if(typeof e>"u"){const A=s.slidesGrid[E],R=s.slidesGrid[E-P]-A;l?s.setTranslate(s.translate-R):(s.slideTo(E-P,0,!1,!0),i&&(s.touchEventsData.startTranslate=s.touchEventsData.startTranslate-R,s.touchEventsData.currentTranslate=s.touchEventsData.currentTranslate-R))}else{const A=v?b.length/p.grid.rows:b.length;s.slideTo(s.activeIndex-A,0,!1,!0)}}if(s.allowSlidePrev=c,s.allowSlideNext=d,s.controller&&s.controller.control&&!o){const A={slideRealIndex:e,direction:r,setTranslate:i,activeSlideIndex:a,byController:!0};Array.isArray(s.controller.control)?s.controller.control.forEach(M=>{!M.destroyed&&M.params.loop&&M.loopFix({...A,slideTo:M.params.slidesPerView===p.slidesPerView?n:!1})}):s.controller.control instanceof s.constructor&&s.controller.control.params.loop&&s.controller.control.loopFix({...A,slideTo:s.controller.control.params.slidesPerView===p.slidesPerView?n:!1})}s.emit("loopFix")}function d4(){const t=this,{params:e,slidesEl:n}=t;if(!e.loop||t.virtual&&t.params.virtual.enabled)return;t.recalcSlides();const r=[];t.slides.forEach(i=>{const a=typeof i.swiperSlideIndex>"u"?i.getAttribute("data-swiper-slide-index")*1:i.swiperSlideIndex;r[a]=i}),t.slides.forEach(i=>{i.removeAttribute("data-swiper-slide-index")}),r.forEach(i=>{n.append(i)}),t.recalcSlides(),t.slideTo(t.realIndex,0)}var f4={loopCreate:u4,loopFix:c4,loopDestroy:d4};function p4(t){const e=this;if(!e.params.simulateTouch||e.params.watchOverflow&&e.isLocked||e.params.cssMode)return;const n=e.params.touchEventsTarget==="container"?e.el:e.wrapperEl;e.isElement&&(e.__preventObserver__=!0),n.style.cursor="move",n.style.cursor=t?"grabbing":"grab",e.isElement&&requestAnimationFrame(()=>{e.__preventObserver__=!1})}function h4(){const t=this;t.params.watchOverflow&&t.isLocked||t.params.cssMode||(t.isElement&&(t.__preventObserver__=!0),t[t.params.touchEventsTarget==="container"?"el":"wrapperEl"].style.cursor="",t.isElement&&requestAnimationFrame(()=>{t.__preventObserver__=!1}))}var m4={setGrabCursor:p4,unsetGrabCursor:h4};function g4(t,e){e===void 0&&(e=this);function n(r){if(!r||r===Ht()||r===Ke())return null;r.assignedSlot&&(r=r.assignedSlot);const i=r.closest(t);return!i&&!r.getRootNode?null:i||n(r.getRootNode().host)}return n(e)}function db(t,e,n){const r=Ke(),{params:i}=t,a=i.edgeSwipeDetection,o=i.edgeSwipeThreshold;return a&&(n<=o||n>=r.innerWidth-o)?a==="prevent"?(e.preventDefault(),!0):!1:!0}function v4(t){const e=this,n=Ht();let r=t;r.originalEvent&&(r=r.originalEvent);const i=e.touchEventsData;if(r.type==="pointerdown"){if(i.pointerId!==null&&i.pointerId!==r.pointerId)return;i.pointerId=r.pointerId}else r.type==="touchstart"&&r.targetTouches.length===1&&(i.touchId=r.targetTouches[0].identifier);if(r.type==="touchstart"){db(e,r,r.targetTouches[0].pageX);return}const{params:a,touches:o,enabled:l}=e;if(!l||!a.simulateTouch&&r.pointerType==="mouse"||e.animating&&a.preventInteractionOnTransition)return;!e.animating&&a.cssMode&&a.loop&&e.loopFix();let s=r.target;if(a.touchEventsTarget==="wrapper"&&!e.wrapperEl.contains(s)||"which"in r&&r.which===3||"button"in r&&r.button>0||i.isTouched&&i.isMoved)return;const u=!!a.noSwipingClass&&a.noSwipingClass!=="",c=r.composedPath?r.composedPath():r.path;u&&r.target&&r.target.shadowRoot&&c&&(s=c[0]);const d=a.noSwipingSelector?a.noSwipingSelector:`.${a.noSwipingClass}`,f=!!(r.target&&r.target.shadowRoot);if(a.noSwiping&&(f?g4(d,s):s.closest(d))){e.allowClick=!0;return}if(a.swipeHandler&&!s.closest(a.swipeHandler))return;o.currentX=r.pageX,o.currentY=r.pageY;const p=o.currentX,w=o.currentY;if(!db(e,r,p))return;Object.assign(i,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),o.startX=p,o.startY=w,i.touchStartTime=An(),e.allowClick=!0,e.updateSize(),e.swipeDirection=void 0,a.threshold>0&&(i.allowThresholdMove=!1);let g=!0;s.matches(i.focusableElements)&&(g=!1,s.nodeName==="SELECT"&&(i.isTouched=!1)),n.activeElement&&n.activeElement.matches(i.focusableElements)&&n.activeElement!==s&&n.activeElement.blur();const y=g&&e.allowTouchMove&&a.touchStartPreventDefault;(a.touchStartForcePreventDefault||y)&&!s.isContentEditable&&r.preventDefault(),a.freeMode&&a.freeMode.enabled&&e.freeMode&&e.animating&&!a.cssMode&&e.freeMode.onTouchStart(),e.emit("touchStart",r)}function y4(t){const e=Ht(),n=this,r=n.touchEventsData,{params:i,touches:a,rtlTranslate:o,enabled:l}=n;if(!l||!i.simulateTouch&&t.pointerType==="mouse")return;let s=t;if(s.originalEvent&&(s=s.originalEvent),s.type==="pointermove"&&(r.touchId!==null||s.pointerId!==r.pointerId))return;let u;if(s.type==="touchmove"){if(u=[...s.changedTouches].filter(x=>x.identifier===r.touchId)[0],!u||u.identifier!==r.touchId)return}else u=s;if(!r.isTouched){r.startMoving&&r.isScrolling&&n.emit("touchMoveOpposite",s);return}const c=u.pageX,d=u.pageY;if(s.preventedByNestedSwiper){a.startX=c,a.startY=d;return}if(!n.allowTouchMove){s.target.matches(r.focusableElements)||(n.allowClick=!1),r.isTouched&&(Object.assign(a,{startX:c,startY:d,currentX:c,currentY:d}),r.touchStartTime=An());return}if(i.touchReleaseOnEdges&&!i.loop){if(n.isVertical()){if(da.startY&&n.translate>=n.minTranslate()){r.isTouched=!1,r.isMoved=!1;return}}else if(ca.startX&&n.translate>=n.minTranslate())return}if(e.activeElement&&s.target===e.activeElement&&s.target.matches(r.focusableElements)){r.isMoved=!0,n.allowClick=!1;return}r.allowTouchCallbacks&&n.emit("touchMove",s),a.previousX=a.currentX,a.previousY=a.currentY,a.currentX=c,a.currentY=d;const f=a.currentX-a.startX,p=a.currentY-a.startY;if(n.params.threshold&&Math.sqrt(f**2+p**2)"u"){let x;n.isHorizontal()&&a.currentY===a.startY||n.isVertical()&&a.currentX===a.startX?r.isScrolling=!1:f*f+p*p>=25&&(x=Math.atan2(Math.abs(p),Math.abs(f))*180/Math.PI,r.isScrolling=n.isHorizontal()?x>i.touchAngle:90-x>i.touchAngle)}if(r.isScrolling&&n.emit("touchMoveOpposite",s),typeof r.startMoving>"u"&&(a.currentX!==a.startX||a.currentY!==a.startY)&&(r.startMoving=!0),r.isScrolling){r.isTouched=!1;return}if(!r.startMoving)return;n.allowClick=!1,!i.cssMode&&s.cancelable&&s.preventDefault(),i.touchMoveStopPropagation&&!i.nested&&s.stopPropagation();let w=n.isHorizontal()?f:p,g=n.isHorizontal()?a.currentX-a.previousX:a.currentY-a.previousY;i.oneWayMovement&&(w=Math.abs(w)*(o?1:-1),g=Math.abs(g)*(o?1:-1)),a.diff=w,w*=i.touchRatio,o&&(w=-w,g=-g);const y=n.touchesDirection;n.swipeDirection=w>0?"prev":"next",n.touchesDirection=g>0?"prev":"next";const h=n.params.loop&&!i.cssMode,v=n.touchesDirection==="next"&&n.allowSlideNext||n.touchesDirection==="prev"&&n.allowSlidePrev;if(!r.isMoved){if(h&&v&&n.loopFix({direction:n.swipeDirection}),r.startTranslate=n.getTranslate(),n.setTransition(0),n.animating){const x=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0});n.wrapperEl.dispatchEvent(x)}r.allowMomentumBounce=!1,i.grabCursor&&(n.allowSlideNext===!0||n.allowSlidePrev===!0)&&n.setGrabCursor(!0),n.emit("sliderFirstMove",s)}let m;if(new Date().getTime(),r.isMoved&&r.allowThresholdMove&&y!==n.touchesDirection&&h&&v&&Math.abs(w)>=1){Object.assign(a,{startX:c,startY:d,currentX:c,currentY:d,startTranslate:r.currentTranslate}),r.loopSwapReset=!0,r.startTranslate=r.currentTranslate;return}n.emit("sliderMove",s),r.isMoved=!0,r.currentTranslate=w+r.startTranslate;let b=!0,E=i.resistanceRatio;if(i.touchReleaseOnEdges&&(E=0),w>0?(h&&v&&!m&&r.allowThresholdMove&&r.currentTranslate>(i.centeredSlides?n.minTranslate()-n.slidesSizesGrid[n.activeIndex+1]:n.minTranslate())&&n.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),r.currentTranslate>n.minTranslate()&&(b=!1,i.resistance&&(r.currentTranslate=n.minTranslate()-1+(-n.minTranslate()+r.startTranslate+w)**E))):w<0&&(h&&v&&!m&&r.allowThresholdMove&&r.currentTranslate<(i.centeredSlides?n.maxTranslate()+n.slidesSizesGrid[n.slidesSizesGrid.length-1]:n.maxTranslate())&&n.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:n.slides.length-(i.slidesPerView==="auto"?n.slidesPerViewDynamic():Math.ceil(parseFloat(i.slidesPerView,10)))}),r.currentTranslater.startTranslate&&(r.currentTranslate=r.startTranslate),!n.allowSlidePrev&&!n.allowSlideNext&&(r.currentTranslate=r.startTranslate),i.threshold>0)if(Math.abs(w)>i.threshold||r.allowThresholdMove){if(!r.allowThresholdMove){r.allowThresholdMove=!0,a.startX=a.currentX,a.startY=a.currentY,r.currentTranslate=r.startTranslate,a.diff=n.isHorizontal()?a.currentX-a.startX:a.currentY-a.startY;return}}else{r.currentTranslate=r.startTranslate;return}!i.followFinger||i.cssMode||((i.freeMode&&i.freeMode.enabled&&n.freeMode||i.watchSlidesProgress)&&(n.updateActiveIndex(),n.updateSlidesClasses()),i.freeMode&&i.freeMode.enabled&&n.freeMode&&n.freeMode.onTouchMove(),n.updateProgress(r.currentTranslate),n.setTranslate(r.currentTranslate))}function w4(t){const e=this,n=e.touchEventsData;let r=t;r.originalEvent&&(r=r.originalEvent);let i;if(r.type==="touchend"||r.type==="touchcancel"){if(i=[...r.changedTouches].filter(E=>E.identifier===n.touchId)[0],!i||i.identifier!==n.touchId)return}else{if(n.touchId!==null||r.pointerId!==n.pointerId)return;i=r}if(["pointercancel","pointerout","pointerleave","contextmenu"].includes(r.type)&&!(["pointercancel","contextmenu"].includes(r.type)&&(e.browser.isSafari||e.browser.isWebView)))return;n.pointerId=null,n.touchId=null;const{params:o,touches:l,rtlTranslate:s,slidesGrid:u,enabled:c}=e;if(!c||!o.simulateTouch&&r.pointerType==="mouse")return;if(n.allowTouchCallbacks&&e.emit("touchEnd",r),n.allowTouchCallbacks=!1,!n.isTouched){n.isMoved&&o.grabCursor&&e.setGrabCursor(!1),n.isMoved=!1,n.startMoving=!1;return}o.grabCursor&&n.isMoved&&n.isTouched&&(e.allowSlideNext===!0||e.allowSlidePrev===!0)&&e.setGrabCursor(!1);const d=An(),f=d-n.touchStartTime;if(e.allowClick){const E=r.path||r.composedPath&&r.composedPath();e.updateClickedSlide(E&&E[0]||r.target,E),e.emit("tap click",r),f<300&&d-n.lastClickTime<300&&e.emit("doubleTap doubleClick",r)}if(n.lastClickTime=An(),Zi(()=>{e.destroyed||(e.allowClick=!0)}),!n.isTouched||!n.isMoved||!e.swipeDirection||l.diff===0&&!n.loopSwapReset||n.currentTranslate===n.startTranslate&&!n.loopSwapReset){n.isTouched=!1,n.isMoved=!1,n.startMoving=!1;return}n.isTouched=!1,n.isMoved=!1,n.startMoving=!1;let p;if(o.followFinger?p=s?e.translate:-e.translate:p=-n.currentTranslate,o.cssMode)return;if(o.freeMode&&o.freeMode.enabled){e.freeMode.onTouchEnd({currentPos:p});return}const w=p>=-e.maxTranslate()&&!e.params.loop;let g=0,y=e.slidesSizesGrid[0];for(let E=0;E=u[E]&&p=u[E])&&(g=E,y=u[u.length-1]-u[u.length-2])}let h=null,v=null;o.rewind&&(e.isBeginning?v=o.virtual&&o.virtual.enabled&&e.virtual?e.virtual.slides.length-1:e.slides.length-1:e.isEnd&&(h=0));const m=(p-u[g])/y,b=go.longSwipesMs){if(!o.longSwipes){e.slideTo(e.activeIndex);return}e.swipeDirection==="next"&&(m>=o.longSwipesRatio?e.slideTo(o.rewind&&e.isEnd?h:g+b):e.slideTo(g)),e.swipeDirection==="prev"&&(m>1-o.longSwipesRatio?e.slideTo(g+b):v!==null&&m<0&&Math.abs(m)>o.longSwipesRatio?e.slideTo(v):e.slideTo(g))}else{if(!o.shortSwipes){e.slideTo(e.activeIndex);return}e.navigation&&(r.target===e.navigation.nextEl||r.target===e.navigation.prevEl)?r.target===e.navigation.nextEl?e.slideTo(g+b):e.slideTo(g):(e.swipeDirection==="next"&&e.slideTo(h!==null?h:g+b),e.swipeDirection==="prev"&&e.slideTo(v!==null?v:g))}}function fb(){const t=this,{params:e,el:n}=t;if(n&&n.offsetWidth===0)return;e.breakpoints&&t.setBreakpoint();const{allowSlideNext:r,allowSlidePrev:i,snapGrid:a}=t,o=t.virtual&&t.params.virtual.enabled;t.allowSlideNext=!0,t.allowSlidePrev=!0,t.updateSize(),t.updateSlides(),t.updateSlidesClasses();const l=o&&e.loop;(e.slidesPerView==="auto"||e.slidesPerView>1)&&t.isEnd&&!t.isBeginning&&!t.params.centeredSlides&&!l?t.slideTo(t.slides.length-1,0,!1,!0):t.params.loop&&!o?t.slideToLoop(t.realIndex,0,!1,!0):t.slideTo(t.activeIndex,0,!1,!0),t.autoplay&&t.autoplay.running&&t.autoplay.paused&&(clearTimeout(t.autoplay.resizeTimeout),t.autoplay.resizeTimeout=setTimeout(()=>{t.autoplay&&t.autoplay.running&&t.autoplay.paused&&t.autoplay.resume()},500)),t.allowSlidePrev=i,t.allowSlideNext=r,t.params.watchOverflow&&a!==t.snapGrid&&t.checkOverflow()}function b4(t){const e=this;e.enabled&&(e.allowClick||(e.params.preventClicks&&t.preventDefault(),e.params.preventClicksPropagation&&e.animating&&(t.stopPropagation(),t.stopImmediatePropagation())))}function S4(){const t=this,{wrapperEl:e,rtlTranslate:n,enabled:r}=t;if(!r)return;t.previousTranslate=t.translate,t.isHorizontal()?t.translate=-e.scrollLeft:t.translate=-e.scrollTop,t.translate===0&&(t.translate=0),t.updateActiveIndex(),t.updateSlidesClasses();let i;const a=t.maxTranslate()-t.minTranslate();a===0?i=0:i=(t.translate-t.minTranslate())/a,i!==t.progress&&t.updateProgress(n?-t.translate:t.translate),t.emit("setTranslate",t.translate,!1)}function x4(t){const e=this;Ru(e,t.target),!(e.params.cssMode||e.params.slidesPerView!=="auto"&&!e.params.autoHeight)&&e.update()}function E4(){const t=this;t.documentTouchHandlerProceeded||(t.documentTouchHandlerProceeded=!0,t.params.touchReleaseOnEdges&&(t.el.style.touchAction="auto"))}const nk=(t,e)=>{const n=Ht(),{params:r,el:i,wrapperEl:a,device:o}=t,l=!!r.nested,s=e==="on"?"addEventListener":"removeEventListener",u=e;n[s]("touchstart",t.onDocumentTouchStart,{passive:!1,capture:l}),i[s]("touchstart",t.onTouchStart,{passive:!1}),i[s]("pointerdown",t.onTouchStart,{passive:!1}),n[s]("touchmove",t.onTouchMove,{passive:!1,capture:l}),n[s]("pointermove",t.onTouchMove,{passive:!1,capture:l}),n[s]("touchend",t.onTouchEnd,{passive:!0}),n[s]("pointerup",t.onTouchEnd,{passive:!0}),n[s]("pointercancel",t.onTouchEnd,{passive:!0}),n[s]("touchcancel",t.onTouchEnd,{passive:!0}),n[s]("pointerout",t.onTouchEnd,{passive:!0}),n[s]("pointerleave",t.onTouchEnd,{passive:!0}),n[s]("contextmenu",t.onTouchEnd,{passive:!0}),(r.preventClicks||r.preventClicksPropagation)&&i[s]("click",t.onClick,!0),r.cssMode&&a[s]("scroll",t.onScroll),r.updateOnWindowResize?t[u](o.ios||o.android?"resize orientationchange observerUpdate":"resize observerUpdate",fb,!0):t[u]("observerUpdate",fb,!0),i[s]("load",t.onLoad,{capture:!0})};function C4(){const t=this,{params:e}=t;t.onTouchStart=v4.bind(t),t.onTouchMove=y4.bind(t),t.onTouchEnd=w4.bind(t),t.onDocumentTouchStart=E4.bind(t),e.cssMode&&(t.onScroll=S4.bind(t)),t.onClick=b4.bind(t),t.onLoad=x4.bind(t),nk(t,"on")}function T4(){nk(this,"off")}var P4={attachEvents:C4,detachEvents:T4};const pb=(t,e)=>t.grid&&e.grid&&e.grid.rows>1;function k4(){const t=this,{realIndex:e,initialized:n,params:r,el:i}=t,a=r.breakpoints;if(!a||a&&Object.keys(a).length===0)return;const o=t.getBreakpoint(a,t.params.breakpointsBase,t.el);if(!o||t.currentBreakpoint===o)return;const s=(o in a?a[o]:void 0)||t.originalParams,u=pb(t,r),c=pb(t,s),d=r.enabled;u&&!c?(i.classList.remove(`${r.containerModifierClass}grid`,`${r.containerModifierClass}grid-column`),t.emitContainerClasses()):!u&&c&&(i.classList.add(`${r.containerModifierClass}grid`),(s.grid.fill&&s.grid.fill==="column"||!s.grid.fill&&r.grid.fill==="column")&&i.classList.add(`${r.containerModifierClass}grid-column`),t.emitContainerClasses()),["navigation","pagination","scrollbar"].forEach(h=>{if(typeof s[h]>"u")return;const v=r[h]&&r[h].enabled,m=s[h]&&s[h].enabled;v&&!m&&t[h].disable(),!v&&m&&t[h].enable()});const f=s.direction&&s.direction!==r.direction,p=r.loop&&(s.slidesPerView!==r.slidesPerView||f),w=r.loop;f&&n&&t.changeDirection(),dn(t.params,s);const g=t.params.enabled,y=t.params.loop;Object.assign(t,{allowTouchMove:t.params.allowTouchMove,allowSlideNext:t.params.allowSlideNext,allowSlidePrev:t.params.allowSlidePrev}),d&&!g?t.disable():!d&&g&&t.enable(),t.currentBreakpoint=o,t.emit("_beforeBreakpoint",s),n&&(p?(t.loopDestroy(),t.loopCreate(e),t.updateSlides()):!w&&y?(t.loopCreate(e),t.updateSlides()):w&&!y&&t.loopDestroy()),t.emit("breakpoint",s)}function M4(t,e,n){if(e===void 0&&(e="window"),!t||e==="container"&&!n)return;let r=!1;const i=Ke(),a=e==="window"?i.innerHeight:n.clientHeight,o=Object.keys(t).map(l=>{if(typeof l=="string"&&l.indexOf("@")===0){const s=parseFloat(l.substr(1));return{value:a*s,point:l}}return{value:l,point:l}});o.sort((l,s)=>parseInt(l.value,10)-parseInt(s.value,10));for(let l=0;l{typeof r=="object"?Object.keys(r).forEach(i=>{r[i]&&n.push(e+i)}):typeof r=="string"&&n.push(e+r)}),n}function L4(){const t=this,{classNames:e,params:n,rtl:r,el:i,device:a}=t,o=A4(["initialized",n.direction,{"free-mode":t.params.freeMode&&n.freeMode.enabled},{autoheight:n.autoHeight},{rtl:r},{grid:n.grid&&n.grid.rows>1},{"grid-column":n.grid&&n.grid.rows>1&&n.grid.fill==="column"},{android:a.android},{ios:a.ios},{"css-mode":n.cssMode},{centered:n.cssMode&&n.centeredSlides},{"watch-progress":n.watchSlidesProgress}],n.containerModifierClass);e.push(...o),i.classList.add(...e),t.emitContainerClasses()}function R4(){const t=this,{el:e,classNames:n}=t;e.classList.remove(...n),t.emitContainerClasses()}var I4={addClasses:L4,removeClasses:R4};function D4(){const t=this,{isLocked:e,params:n}=t,{slidesOffsetBefore:r}=n;if(r){const i=t.slides.length-1,a=t.slidesGrid[i]+t.slidesSizesGrid[i]+r*2;t.isLocked=t.size>a}else t.isLocked=t.snapGrid.length===1;n.allowSlideNext===!0&&(t.allowSlideNext=!t.isLocked),n.allowSlidePrev===!0&&(t.allowSlidePrev=!t.isLocked),e&&e!==t.isLocked&&(t.isEnd=!1),e!==t.isLocked&&t.emit(t.isLocked?"lock":"unlock")}var F4={checkOverflow:D4},Pm={init:!0,direction:"horizontal",oneWayMovement:!1,touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,eventsPrefix:"swiper",enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:5,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,loop:!1,loopAddBlankSlides:!0,loopAdditionalSlides:0,loopPreventsSliding:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-blank",slideActiveClass:"swiper-slide-active",slideVisibleClass:"swiper-slide-visible",slideFullyVisibleClass:"swiper-slide-fully-visible",slideNextClass:"swiper-slide-next",slidePrevClass:"swiper-slide-prev",wrapperClass:"swiper-wrapper",lazyPreloaderClass:"swiper-lazy-preloader",lazyPreloadPrevNext:0,runCallbacksOnInit:!0,_emitClasses:!1};function N4(t,e){return function(r){r===void 0&&(r={});const i=Object.keys(r)[0],a=r[i];if(typeof a!="object"||a===null){dn(e,r);return}if(t[i]===!0&&(t[i]={enabled:!0}),i==="navigation"&&t[i]&&t[i].enabled&&!t[i].prevEl&&!t[i].nextEl&&(t[i].auto=!0),["pagination","scrollbar"].indexOf(i)>=0&&t[i]&&t[i].enabled&&!t[i].el&&(t[i].auto=!0),!(i in t&&"enabled"in a)){dn(e,r);return}typeof t[i]=="object"&&!("enabled"in t[i])&&(t[i].enabled=!0),t[i]||(t[i]={enabled:!1}),dn(e,r)}}const pp={eventsEmitter:I5,update:U5,translate:Y5,transition:e4,slide:l4,loop:f4,grabCursor:m4,events:P4,breakpoints:O4,checkOverflow:F4,classes:I4},hp={};class cn{constructor(){let e,n;for(var r=arguments.length,i=new Array(r),a=0;a1){const c=[];return o.querySelectorAll(n.el).forEach(d=>{const f=dn({},n,{el:d});c.push(new cn(f))}),c}const l=this;l.__swiper__=!0,l.support=ek(),l.device=M5({userAgent:n.userAgent}),l.browser=A5(),l.eventsListeners={},l.eventsAnyListeners=[],l.modules=[...l.__modules__],n.modules&&Array.isArray(n.modules)&&l.modules.push(...n.modules);const s={};l.modules.forEach(c=>{c({params:n,swiper:l,extendParams:N4(n,s),on:l.on.bind(l),once:l.once.bind(l),off:l.off.bind(l),emit:l.emit.bind(l)})});const u=dn({},Pm,s);return l.params=dn({},u,hp,n),l.originalParams=dn({},l.params),l.passedParams=dn({},n),l.params&&l.params.on&&Object.keys(l.params.on).forEach(c=>{l.on(c,l.params.on[c])}),l.params&&l.params.onAny&&l.onAny(l.params.onAny),Object.assign(l,{enabled:l.params.enabled,el:e,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal(){return l.params.direction==="horizontal"},isVertical(){return l.params.direction==="vertical"},activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,cssOverflowAdjustment(){return Math.trunc(this.translate/2**23)*2**23},allowSlideNext:l.params.allowSlideNext,allowSlidePrev:l.params.allowSlidePrev,touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:l.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,pointerId:null,touchId:null},allowClick:!0,allowTouchMove:l.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),l.emit("_swiper"),l.params.init&&l.init(),l}getDirectionLabel(e){return this.isHorizontal()?e:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[e]}getSlideIndex(e){const{slidesEl:n,params:r}=this,i=Ct(n,`.${r.slideClass}, swiper-slide`),a=qs(i[0]);return qs(e)-a}getSlideIndexByData(e){return this.getSlideIndex(this.slides.filter(n=>n.getAttribute("data-swiper-slide-index")*1===e)[0])}recalcSlides(){const e=this,{slidesEl:n,params:r}=e;e.slides=Ct(n,`.${r.slideClass}, swiper-slide`)}enable(){const e=this;e.enabled||(e.enabled=!0,e.params.grabCursor&&e.setGrabCursor(),e.emit("enable"))}disable(){const e=this;e.enabled&&(e.enabled=!1,e.params.grabCursor&&e.unsetGrabCursor(),e.emit("disable"))}setProgress(e,n){const r=this;e=Math.min(Math.max(e,0),1);const i=r.minTranslate(),o=(r.maxTranslate()-i)*e+i;r.translateTo(o,typeof n>"u"?0:n),r.updateActiveIndex(),r.updateSlidesClasses()}emitContainerClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const n=e.el.className.split(" ").filter(r=>r.indexOf("swiper")===0||r.indexOf(e.params.containerModifierClass)===0);e.emit("_containerClasses",n.join(" "))}getSlideClasses(e){const n=this;return n.destroyed?"":e.className.split(" ").filter(r=>r.indexOf("swiper-slide")===0||r.indexOf(n.params.slideClass)===0).join(" ")}emitSlidesClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const n=[];e.slides.forEach(r=>{const i=e.getSlideClasses(r);n.push({slideEl:r,classNames:i}),e.emit("_slideClass",r,i)}),e.emit("_slideClasses",n)}slidesPerViewDynamic(e,n){e===void 0&&(e="current"),n===void 0&&(n=!1);const r=this,{params:i,slides:a,slidesGrid:o,slidesSizesGrid:l,size:s,activeIndex:u}=r;let c=1;if(typeof i.slidesPerView=="number")return i.slidesPerView;if(i.centeredSlides){let d=a[u]?a[u].swiperSlideSize:0,f;for(let p=u+1;ps&&(f=!0));for(let p=u-1;p>=0;p-=1)a[p]&&!f&&(d+=a[p].swiperSlideSize,c+=1,d>s&&(f=!0))}else if(e==="current")for(let d=u+1;d=0;d-=1)o[u]-o[d]{o.complete&&Ru(e,o)}),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses();function i(){const o=e.rtlTranslate?e.translate*-1:e.translate,l=Math.min(Math.max(o,e.maxTranslate()),e.minTranslate());e.setTranslate(l),e.updateActiveIndex(),e.updateSlidesClasses()}let a;if(r.freeMode&&r.freeMode.enabled&&!r.cssMode)i(),r.autoHeight&&e.updateAutoHeight();else{if((r.slidesPerView==="auto"||r.slidesPerView>1)&&e.isEnd&&!r.centeredSlides){const o=e.virtual&&r.virtual.enabled?e.virtual.slides:e.slides;a=e.slideTo(o.length-1,0,!1,!0)}else a=e.slideTo(e.activeIndex,0,!1,!0);a||i()}r.watchOverflow&&n!==e.snapGrid&&e.checkOverflow(),e.emit("update")}changeDirection(e,n){n===void 0&&(n=!0);const r=this,i=r.params.direction;return e||(e=i==="horizontal"?"vertical":"horizontal"),e===i||e!=="horizontal"&&e!=="vertical"||(r.el.classList.remove(`${r.params.containerModifierClass}${i}`),r.el.classList.add(`${r.params.containerModifierClass}${e}`),r.emitContainerClasses(),r.params.direction=e,r.slides.forEach(a=>{e==="vertical"?a.style.width="":a.style.height=""}),r.emit("changeDirection"),n&&r.update()),r}changeLanguageDirection(e){const n=this;n.rtl&&e==="rtl"||!n.rtl&&e==="ltr"||(n.rtl=e==="rtl",n.rtlTranslate=n.params.direction==="horizontal"&&n.rtl,n.rtl?(n.el.classList.add(`${n.params.containerModifierClass}rtl`),n.el.dir="rtl"):(n.el.classList.remove(`${n.params.containerModifierClass}rtl`),n.el.dir="ltr"),n.update())}mount(e){const n=this;if(n.mounted)return!0;let r=e||n.params.el;if(typeof r=="string"&&(r=document.querySelector(r)),!r)return!1;r.swiper=n,r.parentNode&&r.parentNode.host&&r.parentNode.host.nodeName==="SWIPER-CONTAINER"&&(n.isElement=!0);const i=()=>`.${(n.params.wrapperClass||"").trim().split(" ").join(".")}`;let o=(()=>r&&r.shadowRoot&&r.shadowRoot.querySelector?r.shadowRoot.querySelector(i()):Ct(r,i())[0])();return!o&&n.params.createElements&&(o=mn("div",n.params.wrapperClass),r.append(o),Ct(r,`.${n.params.slideClass}`).forEach(l=>{o.append(l)})),Object.assign(n,{el:r,wrapperEl:o,slidesEl:n.isElement&&!r.parentNode.host.slideSlots?r.parentNode.host:o,hostEl:n.isElement?r.parentNode.host:r,mounted:!0,rtl:r.dir.toLowerCase()==="rtl"||Yr(r,"direction")==="rtl",rtlTranslate:n.params.direction==="horizontal"&&(r.dir.toLowerCase()==="rtl"||Yr(r,"direction")==="rtl"),wrongRTL:Yr(o,"display")==="-webkit-box"}),!0}init(e){const n=this;if(n.initialized||n.mount(e)===!1)return n;n.emit("beforeInit"),n.params.breakpoints&&n.setBreakpoint(),n.addClasses(),n.updateSize(),n.updateSlides(),n.params.watchOverflow&&n.checkOverflow(),n.params.grabCursor&&n.enabled&&n.setGrabCursor(),n.params.loop&&n.virtual&&n.params.virtual.enabled?n.slideTo(n.params.initialSlide+n.virtual.slidesBefore,0,n.params.runCallbacksOnInit,!1,!0):n.slideTo(n.params.initialSlide,0,n.params.runCallbacksOnInit,!1,!0),n.params.loop&&n.loopCreate(),n.attachEvents();const i=[...n.el.querySelectorAll('[loading="lazy"]')];return n.isElement&&i.push(...n.hostEl.querySelectorAll('[loading="lazy"]')),i.forEach(a=>{a.complete?Ru(n,a):a.addEventListener("load",o=>{Ru(n,o.target)})}),Tm(n),n.initialized=!0,Tm(n),n.emit("init"),n.emit("afterInit"),n}destroy(e,n){e===void 0&&(e=!0),n===void 0&&(n=!0);const r=this,{params:i,el:a,wrapperEl:o,slides:l}=r;return typeof r.params>"u"||r.destroyed||(r.emit("beforeDestroy"),r.initialized=!1,r.detachEvents(),i.loop&&r.loopDestroy(),n&&(r.removeClasses(),a.removeAttribute("style"),o.removeAttribute("style"),l&&l.length&&l.forEach(s=>{s.classList.remove(i.slideVisibleClass,i.slideFullyVisibleClass,i.slideActiveClass,i.slideNextClass,i.slidePrevClass),s.removeAttribute("style"),s.removeAttribute("data-swiper-slide-index")})),r.emit("destroy"),Object.keys(r.eventsListeners).forEach(s=>{r.off(s)}),e!==!1&&(r.el.swiper=null,Gz(r)),r.destroyed=!0),null}static extendDefaults(e){dn(hp,e)}static get extendedDefaults(){return hp}static get defaults(){return Pm}static installModule(e){cn.prototype.__modules__||(cn.prototype.__modules__=[]);const n=cn.prototype.__modules__;typeof e=="function"&&n.indexOf(e)<0&&n.push(e)}static use(e){return Array.isArray(e)?(e.forEach(n=>cn.installModule(n)),cn):(cn.installModule(e),cn)}}Object.keys(pp).forEach(t=>{Object.keys(pp[t]).forEach(e=>{cn.prototype[e]=pp[t][e]})});cn.use([L5,R5]);const _4=[Qz,Zz,Jz,ZP,JP,e5,t5,n5,r5,i5,a5,o5,s5,l5,u5,c5,g5,v5,y5,w5,b5,S5,x5];cn.use(_4);const xd=["eventsPrefix","injectStyles","injectStylesUrls","modules","init","_direction","oneWayMovement","touchEventsTarget","initialSlide","_speed","cssMode","updateOnWindowResize","resizeObserver","nested","focusableElements","_enabled","_width","_height","preventInteractionOnTransition","userAgent","url","_edgeSwipeDetection","_edgeSwipeThreshold","_freeMode","_autoHeight","setWrapperSize","virtualTranslate","_effect","breakpoints","breakpointsBase","_spaceBetween","_slidesPerView","maxBackfaceHiddenSlides","_grid","_slidesPerGroup","_slidesPerGroupSkip","_slidesPerGroupAuto","_centeredSlides","_centeredSlidesBounds","_slidesOffsetBefore","_slidesOffsetAfter","normalizeSlideIndex","_centerInsufficientSlides","_watchOverflow","roundLengths","touchRatio","touchAngle","simulateTouch","_shortSwipes","_longSwipes","longSwipesRatio","longSwipesMs","_followFinger","allowTouchMove","_threshold","touchMoveStopPropagation","touchStartPreventDefault","touchStartForcePreventDefault","touchReleaseOnEdges","uniqueNavElements","_resistance","_resistanceRatio","_watchSlidesProgress","_grabCursor","preventClicks","preventClicksPropagation","_slideToClickedSlide","_loop","loopAdditionalSlides","loopAddBlankSlides","loopPreventsSliding","_rewind","_allowSlidePrev","_allowSlideNext","_swipeHandler","_noSwiping","noSwipingClass","noSwipingSelector","passiveListeners","containerModifierClass","slideClass","slideActiveClass","slideVisibleClass","slideFullyVisibleClass","slideNextClass","slidePrevClass","slideBlankClass","wrapperClass","lazyPreloaderClass","lazyPreloadPrevNext","runCallbacksOnInit","observer","observeParents","observeSlideChildren","a11y","_autoplay","_controller","coverflowEffect","cubeEffect","fadeEffect","flipEffect","creativeEffect","cardsEffect","hashNavigation","history","keyboard","mousewheel","_navigation","_pagination","parallax","_scrollbar","_thumbs","virtual","zoom","control"];function fo(t){return typeof t=="object"&&t!==null&&t.constructor&&Object.prototype.toString.call(t).slice(8,-1)==="Object"&&!t.__swiper__}function km(t,e){const n=["__proto__","constructor","prototype"];Object.keys(e).filter(r=>n.indexOf(r)<0).forEach(r=>{typeof t[r]>"u"?t[r]=e[r]:fo(e[r])&&fo(t[r])&&Object.keys(e[r]).length>0?e[r].__swiper__?t[r]=e[r]:km(t[r],e[r]):t[r]=e[r]})}function V4(t){return t===void 0&&(t={}),t.navigation&&typeof t.navigation.nextEl>"u"&&typeof t.navigation.prevEl>"u"}function j4(t){return t===void 0&&(t={}),t.pagination&&typeof t.pagination.el>"u"}function $4(t){return t===void 0&&(t={}),t.scrollbar&&typeof t.scrollbar.el>"u"}function Iu(t){return t===void 0&&(t=""),t.replace(/-[a-z]/g,e=>e.toUpperCase().replace("-",""))}function z4(t){let{swiper:e,slides:n,passedParams:r,changedParams:i,nextEl:a,prevEl:o,scrollbarEl:l,paginationEl:s}=t;const u=i.filter(P=>P!=="children"&&P!=="direction"&&P!=="wrapperClass"),{params:c,pagination:d,navigation:f,scrollbar:p,virtual:w,thumbs:g}=e;let y,h,v,m,b,E,x,C;i.includes("thumbs")&&r.thumbs&&r.thumbs.swiper&&c.thumbs&&!c.thumbs.swiper&&(y=!0),i.includes("controller")&&r.controller&&r.controller.control&&c.controller&&!c.controller.control&&(h=!0),i.includes("pagination")&&r.pagination&&(r.pagination.el||s)&&(c.pagination||c.pagination===!1)&&d&&!d.el&&(v=!0),i.includes("scrollbar")&&r.scrollbar&&(r.scrollbar.el||l)&&(c.scrollbar||c.scrollbar===!1)&&p&&!p.el&&(m=!0),i.includes("navigation")&&r.navigation&&(r.navigation.prevEl||o)&&(r.navigation.nextEl||a)&&(c.navigation||c.navigation===!1)&&f&&!f.prevEl&&!f.nextEl&&(b=!0);const T=P=>{e[P]&&(e[P].destroy(),P==="navigation"?(e.isElement&&(e[P].prevEl.remove(),e[P].nextEl.remove()),c[P].prevEl=void 0,c[P].nextEl=void 0,e[P].prevEl=void 0,e[P].nextEl=void 0):(e.isElement&&e[P].el.remove(),c[P].el=void 0,e[P].el=void 0))};i.includes("loop")&&e.isElement&&(c.loop&&!r.loop?E=!0:!c.loop&&r.loop?x=!0:C=!0),u.forEach(P=>{if(fo(c[P])&&fo(r[P]))Object.assign(c[P],r[P]),(P==="navigation"||P==="pagination"||P==="scrollbar")&&"enabled"in r[P]&&!r[P].enabled&&T(P);else{const O=r[P];(O===!0||O===!1)&&(P==="navigation"||P==="pagination"||P==="scrollbar")?O===!1&&T(P):c[P]=r[P]}}),u.includes("controller")&&!h&&e.controller&&e.controller.control&&c.controller&&c.controller.control&&(e.controller.control=c.controller.control),i.includes("children")&&n&&w&&c.virtual.enabled?(w.slides=n,w.update(!0)):i.includes("virtual")&&w&&c.virtual.enabled&&(n&&(w.slides=n),w.update(!0)),i.includes("children")&&n&&c.loop&&(C=!0),y&&g.init()&&g.update(!0),h&&(e.controller.control=c.controller.control),v&&(e.isElement&&(!s||typeof s=="string")&&(s=document.createElement("div"),s.classList.add("swiper-pagination"),s.part.add("pagination"),e.el.appendChild(s)),s&&(c.pagination.el=s),d.init(),d.render(),d.update()),m&&(e.isElement&&(!l||typeof l=="string")&&(l=document.createElement("div"),l.classList.add("swiper-scrollbar"),l.part.add("scrollbar"),e.el.appendChild(l)),l&&(c.scrollbar.el=l),p.init(),p.updateSize(),p.setTranslate()),b&&(e.isElement&&((!a||typeof a=="string")&&(a=document.createElement("div"),a.classList.add("swiper-button-next"),a.innerHTML=e.hostEl.constructor.nextButtonSvg,a.part.add("button-next"),e.el.appendChild(a)),(!o||typeof o=="string")&&(o=document.createElement("div"),o.classList.add("swiper-button-prev"),o.innerHTML=e.hostEl.constructor.prevButtonSvg,o.part.add("button-prev"),e.el.appendChild(o))),a&&(c.navigation.nextEl=a),o&&(c.navigation.prevEl=o),f.init(),f.update()),i.includes("allowSlideNext")&&(e.allowSlideNext=r.allowSlideNext),i.includes("allowSlidePrev")&&(e.allowSlidePrev=r.allowSlidePrev),i.includes("direction")&&e.changeDirection(r.direction,!1),(E||C)&&e.loopDestroy(),(x||C)&&e.loopCreate(),e.update()}const hb=t=>{if(parseFloat(t)===Number(t))return Number(t);if(t==="true"||t==="")return!0;if(t==="false")return!1;if(t==="null")return null;if(t!=="undefined"){if(typeof t=="string"&&t.includes("{")&&t.includes("}")&&t.includes('"')){let e;try{e=JSON.parse(t)}catch{e=t}return e}return t}},mb=["a11y","autoplay","controller","cards-effect","coverflow-effect","creative-effect","cube-effect","fade-effect","flip-effect","free-mode","grid","hash-navigation","history","keyboard","mousewheel","navigation","pagination","parallax","scrollbar","thumbs","virtual","zoom"];function gb(t,e,n){const r={},i={};km(r,Pm);const a=[...xd,"on"],o=a.map(s=>s.replace(/_/,""));a.forEach(s=>{s=s.replace("_",""),typeof t[s]<"u"&&(i[s]=t[s])});const l=[...t.attributes];return typeof e=="string"&&typeof n<"u"&&l.push({name:e,value:fo(n)?{...n}:n}),l.forEach(s=>{const u=mb.filter(c=>s.name.indexOf(`${c}-`)===0)[0];if(u){const c=Iu(u),d=Iu(s.name.split(`${u}-`)[1]);typeof i[c]>"u"&&(i[c]={}),i[c]===!0&&(i[c]={enabled:!0}),i[c][d]=hb(s.value)}else{const c=Iu(s.name);if(!o.includes(c))return;const d=hb(s.value);i[c]&&mb.includes(s.name)&&!fo(d)?(i[c].constructor!==Object&&(i[c]={}),i[c].enabled=!!d):i[c]=d}}),km(r,i),r.navigation?r.navigation={prevEl:".swiper-button-prev",nextEl:".swiper-button-next",...r.navigation!==!0?r.navigation:{}}:r.navigation===!1&&delete r.navigation,r.scrollbar?r.scrollbar={el:".swiper-scrollbar",...r.scrollbar!==!0?r.scrollbar:{}}:r.scrollbar===!1&&delete r.scrollbar,r.pagination?r.pagination={el:".swiper-pagination",...r.pagination!==!0?r.pagination:{}}:r.pagination===!1&&delete r.pagination,{params:r,passedParams:i}}const B4=":host{--swiper-theme-color:#007aff}:host{position:relative;display:block;margin-left:auto;margin-right:auto;z-index:1}.swiper{width:100%;height:100%;margin-left:auto;margin-right:auto;position:relative;overflow:hidden;list-style:none;padding:0;z-index:1;display:block}.swiper-vertical>.swiper-wrapper{flex-direction:column}.swiper-wrapper{position:relative;width:100%;height:100%;z-index:1;display:flex;transition-property:transform;transition-timing-function:var(--swiper-wrapper-transition-timing-function,initial);box-sizing:content-box}.swiper-android ::slotted(swiper-slide),.swiper-ios ::slotted(swiper-slide),.swiper-wrapper{transform:translate3d(0px,0,0)}.swiper-horizontal{touch-action:pan-y}.swiper-vertical{touch-action:pan-x}::slotted(swiper-slide){flex-shrink:0;width:100%;height:100%;position:relative;transition-property:transform;display:block}::slotted(.swiper-slide-invisible-blank){visibility:hidden}.swiper-autoheight,.swiper-autoheight ::slotted(swiper-slide){height:auto}.swiper-autoheight .swiper-wrapper{align-items:flex-start;transition-property:transform,height}.swiper-backface-hidden ::slotted(swiper-slide){transform:translateZ(0);-webkit-backface-visibility:hidden;backface-visibility:hidden}.swiper-3d.swiper-css-mode .swiper-wrapper{perspective:1200px}.swiper-3d .swiper-wrapper{transform-style:preserve-3d}.swiper-3d{perspective:1200px}.swiper-3d .swiper-cube-shadow,.swiper-3d ::slotted(swiper-slide){transform-style:preserve-3d}.swiper-css-mode>.swiper-wrapper{overflow:auto;scrollbar-width:none;-ms-overflow-style:none}.swiper-css-mode>.swiper-wrapper::-webkit-scrollbar{display:none}.swiper-css-mode ::slotted(swiper-slide){scroll-snap-align:start start}.swiper-css-mode.swiper-horizontal>.swiper-wrapper{scroll-snap-type:x mandatory}.swiper-css-mode.swiper-vertical>.swiper-wrapper{scroll-snap-type:y mandatory}.swiper-css-mode.swiper-free-mode>.swiper-wrapper{scroll-snap-type:none}.swiper-css-mode.swiper-free-mode ::slotted(swiper-slide){scroll-snap-align:none}.swiper-css-mode.swiper-centered>.swiper-wrapper::before{content:'';flex-shrink:0;order:9999}.swiper-css-mode.swiper-centered ::slotted(swiper-slide){scroll-snap-align:center center;scroll-snap-stop:always}.swiper-css-mode.swiper-centered.swiper-horizontal ::slotted(swiper-slide):first-child{margin-inline-start:var(--swiper-centered-offset-before)}.swiper-css-mode.swiper-centered.swiper-horizontal>.swiper-wrapper::before{height:100%;min-height:1px;width:var(--swiper-centered-offset-after)}.swiper-css-mode.swiper-centered.swiper-vertical ::slotted(swiper-slide):first-child{margin-block-start:var(--swiper-centered-offset-before)}.swiper-css-mode.swiper-centered.swiper-vertical>.swiper-wrapper::before{width:100%;min-width:1px;height:var(--swiper-centered-offset-after)}.swiper-virtual ::slotted(swiper-slide){-webkit-backface-visibility:hidden;transform:translateZ(0)}.swiper-virtual.swiper-css-mode .swiper-wrapper::after{content:'';position:absolute;left:0;top:0;pointer-events:none}.swiper-virtual.swiper-css-mode.swiper-horizontal .swiper-wrapper::after{height:1px;width:var(--swiper-virtual-size)}.swiper-virtual.swiper-css-mode.swiper-vertical .swiper-wrapper::after{width:1px;height:var(--swiper-virtual-size)}:host{--swiper-navigation-size:44px}.swiper-button-next,.swiper-button-prev{position:absolute;top:var(--swiper-navigation-top-offset,50%);width:calc(var(--swiper-navigation-size)/ 44 * 27);height:var(--swiper-navigation-size);margin-top:calc(0px - (var(--swiper-navigation-size)/ 2));z-index:10;cursor:pointer;display:flex;align-items:center;justify-content:center;color:var(--swiper-navigation-color,var(--swiper-theme-color))}.swiper-button-next.swiper-button-disabled,.swiper-button-prev.swiper-button-disabled{opacity:.35;cursor:auto;pointer-events:none}.swiper-button-next.swiper-button-hidden,.swiper-button-prev.swiper-button-hidden{opacity:0;cursor:auto;pointer-events:none}.swiper-navigation-disabled .swiper-button-next,.swiper-navigation-disabled .swiper-button-prev{display:none!important}.swiper-button-next svg,.swiper-button-prev svg{width:100%;height:100%;object-fit:contain;transform-origin:center}.swiper-rtl .swiper-button-next svg,.swiper-rtl .swiper-button-prev svg{transform:rotate(180deg)}.swiper-button-prev,.swiper-rtl .swiper-button-next{left:var(--swiper-navigation-sides-offset,10px);right:auto}.swiper-button-next,.swiper-rtl .swiper-button-prev{right:var(--swiper-navigation-sides-offset,10px);left:auto}.swiper-button-lock{display:none}.swiper-pagination{position:absolute;text-align:center;transition:.3s opacity;transform:translate3d(0,0,0);z-index:10}.swiper-pagination.swiper-pagination-hidden{opacity:0}.swiper-pagination-disabled>.swiper-pagination,.swiper-pagination.swiper-pagination-disabled{display:none!important}.swiper-horizontal>.swiper-pagination-bullets,.swiper-pagination-bullets.swiper-pagination-horizontal,.swiper-pagination-custom,.swiper-pagination-fraction{bottom:var(--swiper-pagination-bottom,8px);top:var(--swiper-pagination-top,auto);left:0;width:100%}.swiper-pagination-bullets-dynamic{overflow:hidden;font-size:0}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transform:scale(.33);position:relative}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active{transform:scale(1)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-main{transform:scale(1)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev{transform:scale(.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev-prev{transform:scale(.33)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next{transform:scale(.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next-next{transform:scale(.33)}.swiper-pagination-bullet{width:var(--swiper-pagination-bullet-width,var(--swiper-pagination-bullet-size,8px));height:var(--swiper-pagination-bullet-height,var(--swiper-pagination-bullet-size,8px));display:inline-block;border-radius:var(--swiper-pagination-bullet-border-radius,50%);background:var(--swiper-pagination-bullet-inactive-color,#000);opacity:var(--swiper-pagination-bullet-inactive-opacity, .2)}button.swiper-pagination-bullet{border:none;margin:0;padding:0;box-shadow:none;-webkit-appearance:none;appearance:none}.swiper-pagination-clickable .swiper-pagination-bullet{cursor:pointer}.swiper-pagination-bullet:only-child{display:none!important}.swiper-pagination-bullet-active{opacity:var(--swiper-pagination-bullet-opacity, 1);background:var(--swiper-pagination-color,var(--swiper-theme-color))}.swiper-pagination-vertical.swiper-pagination-bullets,.swiper-vertical>.swiper-pagination-bullets{right:var(--swiper-pagination-right,8px);left:var(--swiper-pagination-left,auto);top:50%;transform:translate3d(0px,-50%,0)}.swiper-pagination-vertical.swiper-pagination-bullets .swiper-pagination-bullet,.swiper-vertical>.swiper-pagination-bullets .swiper-pagination-bullet{margin:var(--swiper-pagination-bullet-vertical-gap,6px) 0;display:block}.swiper-pagination-vertical.swiper-pagination-bullets.swiper-pagination-bullets-dynamic,.swiper-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{top:50%;transform:translateY(-50%);width:8px}.swiper-pagination-vertical.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet,.swiper-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{display:inline-block;transition:.2s transform,.2s top}.swiper-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet,.swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet{margin:0 var(--swiper-pagination-bullet-horizontal-gap,4px)}.swiper-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic,.swiper-pagination-horizontal.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{left:50%;transform:translateX(-50%);white-space:nowrap}.swiper-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet,.swiper-pagination-horizontal.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transition:.2s transform,.2s left}.swiper-horizontal.swiper-rtl>.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transition:.2s transform,.2s right}.swiper-pagination-fraction{color:var(--swiper-pagination-fraction-color,inherit)}.swiper-pagination-progressbar{background:var(--swiper-pagination-progressbar-bg-color,rgba(0,0,0,.25));position:absolute}.swiper-pagination-progressbar .swiper-pagination-progressbar-fill{background:var(--swiper-pagination-color,var(--swiper-theme-color));position:absolute;left:0;top:0;width:100%;height:100%;transform:scale(0);transform-origin:left top}.swiper-rtl .swiper-pagination-progressbar .swiper-pagination-progressbar-fill{transform-origin:right top}.swiper-horizontal>.swiper-pagination-progressbar,.swiper-pagination-progressbar.swiper-pagination-horizontal,.swiper-pagination-progressbar.swiper-pagination-vertical.swiper-pagination-progressbar-opposite,.swiper-vertical>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite{width:100%;height:var(--swiper-pagination-progressbar-size,4px);left:0;top:0}.swiper-horizontal>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite,.swiper-pagination-progressbar.swiper-pagination-horizontal.swiper-pagination-progressbar-opposite,.swiper-pagination-progressbar.swiper-pagination-vertical,.swiper-vertical>.swiper-pagination-progressbar{width:var(--swiper-pagination-progressbar-size,4px);height:100%;left:0;top:0}.swiper-pagination-lock{display:none}.swiper-scrollbar{border-radius:var(--swiper-scrollbar-border-radius,10px);position:relative;touch-action:none;background:var(--swiper-scrollbar-bg-color,rgba(0,0,0,.1))}.swiper-scrollbar-disabled>.swiper-scrollbar,.swiper-scrollbar.swiper-scrollbar-disabled{display:none!important}.swiper-horizontal>.swiper-scrollbar,.swiper-scrollbar.swiper-scrollbar-horizontal{position:absolute;left:var(--swiper-scrollbar-sides-offset,1%);bottom:var(--swiper-scrollbar-bottom,4px);top:var(--swiper-scrollbar-top,auto);z-index:50;height:var(--swiper-scrollbar-size,4px);width:calc(100% - 2 * var(--swiper-scrollbar-sides-offset,1%))}.swiper-scrollbar.swiper-scrollbar-vertical,.swiper-vertical>.swiper-scrollbar{position:absolute;left:var(--swiper-scrollbar-left,auto);right:var(--swiper-scrollbar-right,4px);top:var(--swiper-scrollbar-sides-offset,1%);z-index:50;width:var(--swiper-scrollbar-size,4px);height:calc(100% - 2 * var(--swiper-scrollbar-sides-offset,1%))}.swiper-scrollbar-drag{height:100%;width:100%;position:relative;background:var(--swiper-scrollbar-drag-bg-color,rgba(0,0,0,.5));border-radius:var(--swiper-scrollbar-border-radius,10px);left:0;top:0}.swiper-scrollbar-cursor-drag{cursor:move}.swiper-scrollbar-lock{display:none}::slotted(.swiper-slide-zoomed){cursor:move;touch-action:none}.swiper .swiper-notification{position:absolute;left:0;top:0;pointer-events:none;opacity:0;z-index:-1000}.swiper-free-mode>.swiper-wrapper{transition-timing-function:ease-out;margin:0 auto}.swiper-grid>.swiper-wrapper{flex-wrap:wrap}.swiper-grid-column>.swiper-wrapper{flex-wrap:wrap;flex-direction:column}.swiper-fade.swiper-free-mode ::slotted(swiper-slide){transition-timing-function:ease-out}.swiper-fade ::slotted(swiper-slide){pointer-events:none;transition-property:opacity}.swiper-fade ::slotted(swiper-slide) ::slotted(swiper-slide){pointer-events:none}.swiper-fade ::slotted(.swiper-slide-active){pointer-events:auto}.swiper-fade ::slotted(.swiper-slide-active) ::slotted(.swiper-slide-active){pointer-events:auto}.swiper-cube{overflow:visible}.swiper-cube ::slotted(swiper-slide){pointer-events:none;-webkit-backface-visibility:hidden;backface-visibility:hidden;z-index:1;visibility:hidden;transform-origin:0 0;width:100%;height:100%}.swiper-cube ::slotted(swiper-slide) ::slotted(swiper-slide){pointer-events:none}.swiper-cube.swiper-rtl ::slotted(swiper-slide){transform-origin:100% 0}.swiper-cube ::slotted(.swiper-slide-active),.swiper-cube ::slotted(.swiper-slide-active) ::slotted(.swiper-slide-active){pointer-events:auto}.swiper-cube ::slotted(.swiper-slide-active),.swiper-cube ::slotted(.swiper-slide-next),.swiper-cube ::slotted(.swiper-slide-prev){pointer-events:auto;visibility:visible}.swiper-cube .swiper-cube-shadow{position:absolute;left:0;bottom:0px;width:100%;height:100%;opacity:.6;z-index:0}.swiper-cube .swiper-cube-shadow:before{content:'';background:#000;position:absolute;left:0;top:0;bottom:0;right:0;filter:blur(50px)}.swiper-cube ::slotted(.swiper-slide-next)+::slotted(swiper-slide){pointer-events:auto;visibility:visible}.swiper-flip{overflow:visible}.swiper-flip ::slotted(swiper-slide){pointer-events:none;-webkit-backface-visibility:hidden;backface-visibility:hidden;z-index:1}.swiper-flip ::slotted(swiper-slide) ::slotted(swiper-slide){pointer-events:none}.swiper-flip ::slotted(.swiper-slide-active),.swiper-flip ::slotted(.swiper-slide-active) ::slotted(.swiper-slide-active){pointer-events:auto}.swiper-creative ::slotted(swiper-slide){-webkit-backface-visibility:hidden;backface-visibility:hidden;overflow:hidden;transition-property:transform,opacity,height}.swiper-cards{overflow:visible}.swiper-cards ::slotted(swiper-slide){transform-origin:center bottom;-webkit-backface-visibility:hidden;backface-visibility:hidden;overflow:hidden}",H4="::slotted(.swiper-slide-shadow),::slotted(.swiper-slide-shadow-bottom),::slotted(.swiper-slide-shadow-left),::slotted(.swiper-slide-shadow-right),::slotted(.swiper-slide-shadow-top){position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none;z-index:10}::slotted(.swiper-slide-shadow){background:rgba(0,0,0,.15)}::slotted(.swiper-slide-shadow-left){background-image:linear-gradient(to left,rgba(0,0,0,.5),rgba(0,0,0,0))}::slotted(.swiper-slide-shadow-right){background-image:linear-gradient(to right,rgba(0,0,0,.5),rgba(0,0,0,0))}::slotted(.swiper-slide-shadow-top){background-image:linear-gradient(to top,rgba(0,0,0,.5),rgba(0,0,0,0))}::slotted(.swiper-slide-shadow-bottom){background-image:linear-gradient(to bottom,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-lazy-preloader{animation:swiper-preloader-spin 1s infinite linear;width:42px;height:42px;position:absolute;left:50%;top:50%;margin-left:-21px;margin-top:-21px;z-index:10;transform-origin:50%;box-sizing:border-box;border:4px solid var(--swiper-preloader-color,var(--swiper-theme-color));border-radius:50%;border-top-color:transparent}@keyframes swiper-preloader-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}::slotted(.swiper-slide-shadow-cube.swiper-slide-shadow-bottom),::slotted(.swiper-slide-shadow-cube.swiper-slide-shadow-left),::slotted(.swiper-slide-shadow-cube.swiper-slide-shadow-right),::slotted(.swiper-slide-shadow-cube.swiper-slide-shadow-top){z-index:0;-webkit-backface-visibility:hidden;backface-visibility:hidden}::slotted(.swiper-slide-shadow-flip.swiper-slide-shadow-bottom),::slotted(.swiper-slide-shadow-flip.swiper-slide-shadow-left),::slotted(.swiper-slide-shadow-flip.swiper-slide-shadow-right),::slotted(.swiper-slide-shadow-flip.swiper-slide-shadow-top){z-index:0;-webkit-backface-visibility:hidden;backface-visibility:hidden}::slotted(.swiper-zoom-container){width:100%;height:100%;display:flex;justify-content:center;align-items:center;text-align:center}::slotted(.swiper-zoom-container)>canvas,::slotted(.swiper-zoom-container)>img,::slotted(.swiper-zoom-container)>svg{max-width:100%;max-height:100%;object-fit:contain}";class U4{}const rk=typeof window>"u"||typeof HTMLElement>"u"?U4:HTMLElement,vb=` - `,ik=(t,e)=>{if(typeof CSSStyleSheet<"u"&&t.adoptedStyleSheets){const n=new CSSStyleSheet;n.replaceSync(e),t.adoptedStyleSheets=[n]}else{const n=document.createElement("style");n.rel="stylesheet",n.textContent=e,t.appendChild(n)}};class ak extends rk{constructor(){super(),this.attachShadow({mode:"open"})}static get nextButtonSvg(){return vb}static get prevButtonSvg(){return vb.replace("/>",' transform-origin="center" transform="rotate(180)"/>')}cssStyles(){return[B4,...this.injectStyles&&Array.isArray(this.injectStyles)?this.injectStyles:[]].join(` -`)}cssLinks(){return this.injectStylesUrls||[]}calcSlideSlots(){const e=this.slideSlots||0,n=[...this.querySelectorAll("[slot^=slide-]")].map(r=>parseInt(r.getAttribute("slot").split("slide-")[1],10));if(this.slideSlots=n.length?Math.max(...n)+1:0,!!this.rendered){if(this.slideSlots>e)for(let r=e;r=0;i-=1)i>this.slideSlots&&r[i].remove()}}}render(){if(this.rendered)return;this.calcSlideSlots();let e=this.cssStyles();this.slideSlots>0&&(e=e.replace(/::slotted\(([a-z-0-9.]*)\)/g,"$1")),e.length&&ik(this.shadowRoot,e),this.cssLinks().forEach(r=>{if(this.shadowRoot.querySelector(`link[href="${r}"]`))return;const a=document.createElement("link");a.rel="stylesheet",a.href=r,this.shadowRoot.appendChild(a)});const n=document.createElement("div");n.classList.add("swiper"),n.part="container",n.innerHTML=` + `;if(u.slideShadows){let M=w.querySelector(".swiper-slide-shadow");M||(M=co("cards",w)),M&&(M.style.opacity=Math.min(Math.max((Math.abs(y)-.5)/.5,0),1))}w.style.zIndex=-Math.abs(Math.round(g))+o.length;const A=gl(u,w);A.style.transform=N}},setTransition:o=>{const l=e.slides.map(s=>ia(s));l.forEach(s=>{s.style.transitionDuration=`${o}ms`,s.querySelectorAll(".swiper-slide-shadow").forEach(u=>{u.style.transitionDuration=`${o}ms`})}),Ed({swiper:e,duration:o,transformElements:l})},perspective:()=>!0,overwriteParams:()=>({watchSlidesProgress:!0,virtualTranslate:!e.params.cssMode})})}const P5="_heading_1jxz1_1",k5="_testimonial_1jxz1_5",xc={heading:P5,testimonial:k5};function M5({testimonial:t}){return V.jsx("swiper-slide",{children:V.jsxs("article",{className:xc.testimonial,children:[V.jsxs("div",{className:xc.heading,children:[V.jsx("img",{src:t.img,alt:t.name}),V.jsxs("div",{children:[V.jsx("h3",{children:t.name}),V.jsx("h4",{children:t.role})]})]}),V.jsx("p",{children:t.comment})]})})}let up;function O5(){const t=Ke(),e=Ht();return{smoothScroll:e.documentElement&&e.documentElement.style&&"scrollBehavior"in e.documentElement.style,touch:!!("ontouchstart"in t||t.DocumentTouch&&e instanceof t.DocumentTouch)}}function tk(){return up||(up=O5()),up}let cp;function A5(t){let{userAgent:e}=t===void 0?{}:t;const n=tk(),r=Ke(),i=r.navigator.platform,a=e||r.navigator.userAgent,o={ios:!1,android:!1},l=r.screen.width,s=r.screen.height,u=a.match(/(Android);?[\s\/]+([\d.]+)?/);let c=a.match(/(iPad).*OS\s([\d_]+)/);const d=a.match(/(iPod)(.*OS\s([\d_]+))?/),f=!c&&a.match(/(iPhone\sOS|iOS)\s([\d_]+)/),p=i==="Win32";let w=i==="MacIntel";const g=["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"];return!c&&w&&n.touch&&g.indexOf(`${l}x${s}`)>=0&&(c=a.match(/(Version)\/([\d.]+)/),c||(c=[0,1,"13_0_0"]),w=!1),u&&!p&&(o.os="android",o.android=!0),(c||f||d)&&(o.os="ios",o.ios=!0),o}function L5(t){return t===void 0&&(t={}),cp||(cp=A5(t)),cp}let dp;function R5(){const t=Ke();let e=!1;function n(){const r=t.navigator.userAgent.toLowerCase();return r.indexOf("safari")>=0&&r.indexOf("chrome")<0&&r.indexOf("android")<0}if(n()){const r=String(t.navigator.userAgent);if(r.includes("Version/")){const[i,a]=r.split("Version/")[1].split(" ")[0].split(".").map(o=>Number(o));e=i<16||i===16&&a<2}}return{isSafari:e||n(),needPerspectiveFix:e,isWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(t.navigator.userAgent)}}function I5(){return dp||(dp=R5()),dp}function D5(t){let{swiper:e,on:n,emit:r}=t;const i=Ke();let a=null,o=null;const l=()=>{!e||e.destroyed||!e.initialized||(r("beforeResize"),r("resize"))},s=()=>{!e||e.destroyed||!e.initialized||(a=new ResizeObserver(d=>{o=i.requestAnimationFrame(()=>{const{width:f,height:p}=e;let w=f,g=p;d.forEach(y=>{let{contentBoxSize:h,contentRect:v,target:m}=y;m&&m!==e.el||(w=v?v.width:(h[0]||h).inlineSize,g=v?v.height:(h[0]||h).blockSize)}),(w!==f||g!==p)&&l()})}),a.observe(e.el))},u=()=>{o&&i.cancelAnimationFrame(o),a&&a.unobserve&&e.el&&(a.unobserve(e.el),a=null)},c=()=>{!e||e.destroyed||!e.initialized||r("orientationchange")};n("init",()=>{if(e.params.resizeObserver&&typeof i.ResizeObserver<"u"){s();return}i.addEventListener("resize",l),i.addEventListener("orientationchange",c)}),n("destroy",()=>{u(),i.removeEventListener("resize",l),i.removeEventListener("orientationchange",c)})}function F5(t){let{swiper:e,extendParams:n,on:r,emit:i}=t;const a=[],o=Ke(),l=function(c,d){d===void 0&&(d={});const f=o.MutationObserver||o.WebkitMutationObserver,p=new f(w=>{if(e.__preventObserver__)return;if(w.length===1){i("observerUpdate",w[0]);return}const g=function(){i("observerUpdate",w[0])};o.requestAnimationFrame?o.requestAnimationFrame(g):o.setTimeout(g,0)});p.observe(c,{attributes:typeof d.attributes>"u"?!0:d.attributes,childList:typeof d.childList>"u"?!0:d.childList,characterData:typeof d.characterData>"u"?!0:d.characterData}),a.push(p)},s=()=>{if(e.params.observer){if(e.params.observeParents){const c=Ui(e.hostEl);for(let d=0;d{a.forEach(c=>{c.disconnect()}),a.splice(0,a.length)};n({observer:!1,observeParents:!1,observeSlideChildren:!1}),r("init",s),r("destroy",u)}var N5={on(t,e,n){const r=this;if(!r.eventsListeners||r.destroyed||typeof e!="function")return r;const i=n?"unshift":"push";return t.split(" ").forEach(a=>{r.eventsListeners[a]||(r.eventsListeners[a]=[]),r.eventsListeners[a][i](e)}),r},once(t,e,n){const r=this;if(!r.eventsListeners||r.destroyed||typeof e!="function")return r;function i(){r.off(t,i),i.__emitterProxy&&delete i.__emitterProxy;for(var a=arguments.length,o=new Array(a),l=0;l=0&&e.eventsAnyListeners.splice(n,1),e},off(t,e){const n=this;return!n.eventsListeners||n.destroyed||!n.eventsListeners||t.split(" ").forEach(r=>{typeof e>"u"?n.eventsListeners[r]=[]:n.eventsListeners[r]&&n.eventsListeners[r].forEach((i,a)=>{(i===e||i.__emitterProxy&&i.__emitterProxy===e)&&n.eventsListeners[r].splice(a,1)})}),n},emit(){const t=this;if(!t.eventsListeners||t.destroyed||!t.eventsListeners)return t;let e,n,r;for(var i=arguments.length,a=new Array(i),o=0;o{t.eventsAnyListeners&&t.eventsAnyListeners.length&&t.eventsAnyListeners.forEach(u=>{u.apply(r,[s,...n])}),t.eventsListeners&&t.eventsListeners[s]&&t.eventsListeners[s].forEach(u=>{u.apply(r,n)})}),t}};function _5(){const t=this;let e,n;const r=t.el;typeof t.params.width<"u"&&t.params.width!==null?e=t.params.width:e=r.clientWidth,typeof t.params.height<"u"&&t.params.height!==null?n=t.params.height:n=r.clientHeight,!(e===0&&t.isHorizontal()||n===0&&t.isVertical())&&(e=e-parseInt(Qr(r,"padding-left")||0,10)-parseInt(Qr(r,"padding-right")||0,10),n=n-parseInt(Qr(r,"padding-top")||0,10)-parseInt(Qr(r,"padding-bottom")||0,10),Number.isNaN(e)&&(e=0),Number.isNaN(n)&&(n=0),Object.assign(t,{width:e,height:n,size:t.isHorizontal()?e:n}))}function V5(){const t=this;function e(O,I){return parseFloat(O.getPropertyValue(t.getDirectionLabel(I))||0)}const n=t.params,{wrapperEl:r,slidesEl:i,size:a,rtlTranslate:o,wrongRTL:l}=t,s=t.virtual&&n.virtual.enabled,u=s?t.virtual.slides.length:t.slides.length,c=Ct(i,`.${t.params.slideClass}, swiper-slide`),d=s?t.virtual.slides.length:c.length;let f=[];const p=[],w=[];let g=n.slidesOffsetBefore;typeof g=="function"&&(g=n.slidesOffsetBefore.call(t));let y=n.slidesOffsetAfter;typeof y=="function"&&(y=n.slidesOffsetAfter.call(t));const h=t.snapGrid.length,v=t.slidesGrid.length;let m=n.spaceBetween,b=-g,E=0,x=0;if(typeof a>"u")return;typeof m=="string"&&m.indexOf("%")>=0?m=parseFloat(m.replace("%",""))/100*a:typeof m=="string"&&(m=parseFloat(m)),t.virtualSize=-m,c.forEach(O=>{o?O.style.marginLeft="":O.style.marginRight="",O.style.marginBottom="",O.style.marginTop=""}),n.centeredSlides&&n.cssMode&&(Yo(r,"--swiper-centered-offset-before",""),Yo(r,"--swiper-centered-offset-after",""));const C=n.grid&&n.grid.rows>1&&t.grid;C?t.grid.initSlides(c):t.grid&&t.grid.unsetSlides();let T;const P=n.slidesPerView==="auto"&&n.breakpoints&&Object.keys(n.breakpoints).filter(O=>typeof n.breakpoints[O].slidesPerView<"u").length>0;for(let O=0;O1&&f.push(t.virtualSize-a)}if(s&&n.loop){const O=w[0]+m;if(n.slidesPerGroup>1){const I=Math.ceil((t.virtual.slidesBefore+t.virtual.slidesAfter)/n.slidesPerGroup),N=O*n.slidesPerGroup;for(let A=0;A!n.cssMode||n.loop?!0:N!==c.length-1).forEach(I=>{I.style[O]=`${m}px`})}if(n.centeredSlides&&n.centeredSlidesBounds){let O=0;w.forEach(N=>{O+=N+(m||0)}),O-=m;const I=O-a;f=f.map(N=>N<=0?-g:N>I?I+y:N)}if(n.centerInsufficientSlides){let O=0;if(w.forEach(I=>{O+=I+(m||0)}),O-=m,O{f[A]=N-I}),p.forEach((N,A)=>{p[A]=N+I})}}if(Object.assign(t,{slides:c,snapGrid:f,slidesGrid:p,slidesSizesGrid:w}),n.centeredSlides&&n.cssMode&&!n.centeredSlidesBounds){Yo(r,"--swiper-centered-offset-before",`${-f[0]}px`),Yo(r,"--swiper-centered-offset-after",`${t.size/2-w[w.length-1]/2}px`);const O=-t.snapGrid[0],I=-t.slidesGrid[0];t.snapGrid=t.snapGrid.map(N=>N+O),t.slidesGrid=t.slidesGrid.map(N=>N+I)}if(d!==u&&t.emit("slidesLengthChange"),f.length!==h&&(t.params.watchOverflow&&t.checkOverflow(),t.emit("snapGridLengthChange")),p.length!==v&&t.emit("slidesGridLengthChange"),n.watchSlidesProgress&&t.updateSlidesOffset(),t.emit("slidesUpdated"),!s&&!n.cssMode&&(n.effect==="slide"||n.effect==="fade")){const O=`${n.containerModifierClass}backface-hidden`,I=t.el.classList.contains(O);d<=n.maxBackfaceHiddenSlides?I||t.el.classList.add(O):I&&t.el.classList.remove(O)}}function j5(t){const e=this,n=[],r=e.virtual&&e.params.virtual.enabled;let i=0,a;typeof t=="number"?e.setTransition(t):t===!0&&e.setTransition(e.params.speed);const o=l=>r?e.slides[e.getSlideIndexByData(l)]:e.slides[l];if(e.params.slidesPerView!=="auto"&&e.params.slidesPerView>1)if(e.params.centeredSlides)(e.visibleSlides||[]).forEach(l=>{n.push(l)});else for(a=0;ae.slides.length&&!r)break;n.push(o(l))}else n.push(o(e.activeIndex));for(a=0;ai?l:i}(i||i===0)&&(e.wrapperEl.style.height=`${i}px`)}function $5(){const t=this,e=t.slides,n=t.isElement?t.isHorizontal()?t.wrapperEl.offsetLeft:t.wrapperEl.offsetTop:0;for(let r=0;r"u"&&e.updateSlidesOffset();let o=-t;i&&(o=t),r.forEach(s=>{s.classList.remove(n.slideVisibleClass,n.slideFullyVisibleClass)}),e.visibleSlidesIndexes=[],e.visibleSlides=[];let l=n.spaceBetween;typeof l=="string"&&l.indexOf("%")>=0?l=parseFloat(l.replace("%",""))/100*e.size:typeof l=="string"&&(l=parseFloat(l));for(let s=0;s=0&&p<=e.size-e.slidesSizesGrid[s];(p>=0&&p1&&w<=e.size||p<=0&&w>=e.size)&&(e.visibleSlides.push(u),e.visibleSlidesIndexes.push(s),r[s].classList.add(n.slideVisibleClass)),g&&r[s].classList.add(n.slideFullyVisibleClass),u.progress=i?-d:d,u.originalProgress=i?-f:f}}function B5(t){const e=this;if(typeof t>"u"){const c=e.rtlTranslate?-1:1;t=e&&e.translate&&e.translate*c||0}const n=e.params,r=e.maxTranslate()-e.minTranslate();let{progress:i,isBeginning:a,isEnd:o,progressLoop:l}=e;const s=a,u=o;if(r===0)i=0,a=!0,o=!0;else{i=(t-e.minTranslate())/r;const c=Math.abs(t-e.minTranslate())<1,d=Math.abs(t-e.maxTranslate())<1;a=c||i<=0,o=d||i>=1,c&&(i=0),d&&(i=1)}if(n.loop){const c=e.getSlideIndexByData(0),d=e.getSlideIndexByData(e.slides.length-1),f=e.slidesGrid[c],p=e.slidesGrid[d],w=e.slidesGrid[e.slidesGrid.length-1],g=Math.abs(t);g>=f?l=(g-f)/w:l=(g+w-p)/w,l>1&&(l-=1)}Object.assign(e,{progress:i,progressLoop:l,isBeginning:a,isEnd:o}),(n.watchSlidesProgress||n.centeredSlides&&n.autoHeight)&&e.updateSlidesProgress(t),a&&!s&&e.emit("reachBeginning toEdge"),o&&!u&&e.emit("reachEnd toEdge"),(s&&!a||u&&!o)&&e.emit("fromEdge"),e.emit("progress",i)}function H5(){const t=this,{slides:e,params:n,slidesEl:r,activeIndex:i}=t,a=t.virtual&&n.virtual.enabled,o=t.grid&&n.grid&&n.grid.rows>1,l=d=>Ct(r,`.${n.slideClass}${d}, swiper-slide${d}`)[0];e.forEach(d=>{d.classList.remove(n.slideActiveClass,n.slideNextClass,n.slidePrevClass)});let s,u,c;if(a)if(n.loop){let d=i-t.virtual.slidesBefore;d<0&&(d=t.virtual.slides.length+d),d>=t.virtual.slides.length&&(d-=t.virtual.slides.length),s=l(`[data-swiper-slide-index="${d}"]`)}else s=l(`[data-swiper-slide-index="${i}"]`);else o?(s=e.filter(d=>d.column===i)[0],c=e.filter(d=>d.column===i+1)[0],u=e.filter(d=>d.column===i-1)[0]):s=e[i];s&&(s.classList.add(n.slideActiveClass),o?(c&&c.classList.add(n.slideNextClass),u&&u.classList.add(n.slidePrevClass)):(c=Jz(s,`.${n.slideClass}, swiper-slide`)[0],n.loop&&!c&&(c=e[0]),c&&c.classList.add(n.slideNextClass),u=Zz(s,`.${n.slideClass}, swiper-slide`)[0],n.loop&&!u===0&&(u=e[e.length-1]),u&&u.classList.add(n.slidePrevClass))),t.emitSlidesClasses()}const Du=(t,e)=>{if(!t||t.destroyed||!t.params)return;const n=()=>t.isElement?"swiper-slide":`.${t.params.slideClass}`,r=e.closest(n());if(r){let i=r.querySelector(`.${t.params.lazyPreloaderClass}`);!i&&t.isElement&&(r.shadowRoot?i=r.shadowRoot.querySelector(`.${t.params.lazyPreloaderClass}`):requestAnimationFrame(()=>{r.shadowRoot&&(i=r.shadowRoot.querySelector(`.${t.params.lazyPreloaderClass}`),i&&i.remove())})),i&&i.remove()}},fp=(t,e)=>{if(!t.slides[e])return;const n=t.slides[e].querySelector('[loading="lazy"]');n&&n.removeAttribute("loading")},Tm=t=>{if(!t||t.destroyed||!t.params)return;let e=t.params.lazyPreloadPrevNext;const n=t.slides.length;if(!n||!e||e<0)return;e=Math.min(e,n);const r=t.params.slidesPerView==="auto"?t.slidesPerViewDynamic():Math.ceil(t.params.slidesPerView),i=t.activeIndex;if(t.params.grid&&t.params.grid.rows>1){const o=i,l=[o-e];l.push(...Array.from({length:e}).map((s,u)=>o+r+u)),t.slides.forEach((s,u)=>{l.includes(s.column)&&fp(t,u)});return}const a=i+r-1;if(t.params.rewind||t.params.loop)for(let o=i-e;o<=a+e;o+=1){const l=(o%n+n)%n;(la)&&fp(t,l)}else for(let o=Math.max(i-e,0);o<=Math.min(a+e,n-1);o+=1)o!==i&&(o>a||o=e[a]&&r=e[a]&&r=e[a]&&(i=a);return n.normalizeSlideIndex&&(i<0||typeof i>"u")&&(i=0),i}function W5(t){const e=this,n=e.rtlTranslate?e.translate:-e.translate,{snapGrid:r,params:i,activeIndex:a,realIndex:o,snapIndex:l}=e;let s=t,u;const c=p=>{let w=p-e.virtual.slidesBefore;return w<0&&(w=e.virtual.slides.length+w),w>=e.virtual.slides.length&&(w-=e.virtual.slides.length),w};if(typeof s>"u"&&(s=U5(e)),r.indexOf(n)>=0)u=r.indexOf(n);else{const p=Math.min(i.slidesPerGroupSkip,s);u=p+Math.floor((s-p)/i.slidesPerGroup)}if(u>=r.length&&(u=r.length-1),s===a&&!e.params.loop){u!==l&&(e.snapIndex=u,e.emit("snapIndexChange"));return}if(s===a&&e.params.loop&&e.virtual&&e.params.virtual.enabled){e.realIndex=c(s);return}const d=e.grid&&i.grid&&i.grid.rows>1;let f;if(e.virtual&&i.virtual.enabled&&i.loop)f=c(s);else if(d){const p=e.slides.filter(g=>g.column===s)[0];let w=parseInt(p.getAttribute("data-swiper-slide-index"),10);Number.isNaN(w)&&(w=Math.max(e.slides.indexOf(p),0)),f=Math.floor(w/i.grid.rows)}else if(e.slides[s]){const p=e.slides[s].getAttribute("data-swiper-slide-index");p?f=parseInt(p,10):f=s}else f=s;Object.assign(e,{previousSnapIndex:l,snapIndex:u,previousRealIndex:o,realIndex:f,previousIndex:a,activeIndex:s}),e.initialized&&Tm(e),e.emit("activeIndexChange"),e.emit("snapIndexChange"),(e.initialized||e.params.runCallbacksOnInit)&&(o!==f&&e.emit("realIndexChange"),e.emit("slideChange"))}function G5(t,e){const n=this,r=n.params;let i=t.closest(`.${r.slideClass}, swiper-slide`);!i&&n.isElement&&e&&e.length>1&&e.includes(t)&&[...e.slice(e.indexOf(t)+1,e.length)].forEach(l=>{!i&&l.matches&&l.matches(`.${r.slideClass}, swiper-slide`)&&(i=l)});let a=!1,o;if(i){for(let l=0;ls?c=s:r&&to?l="next":a=s.length&&(y=s.length-1);const h=-s[y];if(l.normalizeSlideIndex)for(let m=0;m=E&&b=E&&b=E&&(o=m)}if(a.initialized&&o!==d&&(!a.allowSlideNext&&(f?h>a.translate&&h>a.minTranslate():ha.translate&&h>a.maxTranslate()&&(d||0)!==o))return!1;o!==(c||0)&&n&&a.emit("beforeSlideChangeStart"),a.updateProgress(h);let v;if(o>d?v="next":o0?(a._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{p[m?"scrollLeft":"scrollTop"]=b})):p[m?"scrollLeft":"scrollTop"]=b,E&&requestAnimationFrame(()=>{a.wrapperEl.style.scrollSnapType="",a._immediateVirtual=!1})}else{if(!a.support.smoothScroll)return ZP({swiper:a,targetPosition:b,side:m?"left":"top"}),!0;p.scrollTo({[m?"left":"top"]:b,behavior:"smooth"})}return!0}return a.setTransition(e),a.setTranslate(h),a.updateActiveIndex(o),a.updateSlidesClasses(),a.emit("beforeTransitionStart",e,r),a.transitionStart(n,v),e===0?a.transitionEnd(n,v):a.animating||(a.animating=!0,a.onSlideToWrapperTransitionEnd||(a.onSlideToWrapperTransitionEnd=function(b){!a||a.destroyed||b.target===this&&(a.wrapperEl.removeEventListener("transitionend",a.onSlideToWrapperTransitionEnd),a.onSlideToWrapperTransitionEnd=null,delete a.onSlideToWrapperTransitionEnd,a.transitionEnd(n,v))}),a.wrapperEl.addEventListener("transitionend",a.onSlideToWrapperTransitionEnd)),!0}function a4(t,e,n,r){t===void 0&&(t=0),e===void 0&&(e=this.params.speed),n===void 0&&(n=!0),typeof t=="string"&&(t=parseInt(t,10));const i=this,a=i.grid&&i.params.grid&&i.params.grid.rows>1;let o=t;if(i.params.loop)if(i.virtual&&i.params.virtual.enabled)o=o+i.virtual.slidesBefore;else{let l;if(a){const f=o*i.params.grid.rows;l=i.slides.filter(p=>p.getAttribute("data-swiper-slide-index")*1===f)[0].column}else l=i.getSlideIndexByData(o);const s=a?Math.ceil(i.slides.length/i.params.grid.rows):i.slides.length,{centeredSlides:u}=i.params;let c=i.params.slidesPerView;c==="auto"?c=i.slidesPerViewDynamic():(c=Math.ceil(parseFloat(i.params.slidesPerView,10)),u&&c%2===0&&(c=c+1));let d=s-lp.getAttribute("data-swiper-slide-index")*1===f)[0].column}else o=i.getSlideIndexByData(o)}return requestAnimationFrame(()=>{i.slideTo(o,e,n,r)}),i}function o4(t,e,n){t===void 0&&(t=this.params.speed),e===void 0&&(e=!0);const r=this,{enabled:i,params:a,animating:o}=r;if(!i)return r;let l=a.slidesPerGroup;a.slidesPerView==="auto"&&a.slidesPerGroup===1&&a.slidesPerGroupAuto&&(l=Math.max(r.slidesPerViewDynamic("current",!0),1));const s=r.activeIndex{r.slideTo(r.activeIndex+s,t,e,n)}),!0}return a.rewind&&r.isEnd?r.slideTo(0,t,e,n):r.slideTo(r.activeIndex+s,t,e,n)}function s4(t,e,n){t===void 0&&(t=this.params.speed),e===void 0&&(e=!0);const r=this,{params:i,snapGrid:a,slidesGrid:o,rtlTranslate:l,enabled:s,animating:u}=r;if(!s)return r;const c=r.virtual&&i.virtual.enabled;if(i.loop){if(u&&!c&&i.loopPreventsSliding)return!1;r.loopFix({direction:"prev"}),r._clientLeft=r.wrapperEl.clientLeft}const d=l?r.translate:-r.translate;function f(h){return h<0?-Math.floor(Math.abs(h)):Math.floor(h)}const p=f(d),w=a.map(h=>f(h));let g=a[w.indexOf(p)-1];if(typeof g>"u"&&i.cssMode){let h;a.forEach((v,m)=>{p>=v&&(h=m)}),typeof h<"u"&&(g=a[h>0?h-1:h])}let y=0;if(typeof g<"u"&&(y=o.indexOf(g),y<0&&(y=r.activeIndex-1),i.slidesPerView==="auto"&&i.slidesPerGroup===1&&i.slidesPerGroupAuto&&(y=y-r.slidesPerViewDynamic("previous",!0)+1,y=Math.max(y,0))),i.rewind&&r.isBeginning){const h=r.params.virtual&&r.params.virtual.enabled&&r.virtual?r.virtual.slides.length-1:r.slides.length-1;return r.slideTo(h,t,e,n)}else if(i.loop&&r.activeIndex===0&&i.cssMode)return requestAnimationFrame(()=>{r.slideTo(y,t,e,n)}),!0;return r.slideTo(y,t,e,n)}function l4(t,e,n){t===void 0&&(t=this.params.speed),e===void 0&&(e=!0);const r=this;return r.slideTo(r.activeIndex,t,e,n)}function u4(t,e,n,r){t===void 0&&(t=this.params.speed),e===void 0&&(e=!0),r===void 0&&(r=.5);const i=this;let a=i.activeIndex;const o=Math.min(i.params.slidesPerGroupSkip,a),l=o+Math.floor((a-o)/i.params.slidesPerGroup),s=i.rtlTranslate?i.translate:-i.translate;if(s>=i.snapGrid[l]){const u=i.snapGrid[l],c=i.snapGrid[l+1];s-u>(c-u)*r&&(a+=i.params.slidesPerGroup)}else{const u=i.snapGrid[l-1],c=i.snapGrid[l];s-u<=(c-u)*r&&(a-=i.params.slidesPerGroup)}return a=Math.max(a,0),a=Math.min(a,i.slidesGrid.length-1),i.slideTo(a,t,e,n)}function c4(){const t=this,{params:e,slidesEl:n}=t,r=e.slidesPerView==="auto"?t.slidesPerViewDynamic():e.slidesPerView;let i=t.clickedIndex,a;const o=t.isElement?"swiper-slide":`.${e.slideClass}`;if(e.loop){if(t.animating)return;a=parseInt(t.clickedSlide.getAttribute("data-swiper-slide-index"),10),e.centeredSlides?it.slides.length-t.loopedSlides+r/2?(t.loopFix(),i=t.getSlideIndex(Ct(n,`${o}[data-swiper-slide-index="${a}"]`)[0]),Zi(()=>{t.slideTo(i)})):t.slideTo(i):i>t.slides.length-r?(t.loopFix(),i=t.getSlideIndex(Ct(n,`${o}[data-swiper-slide-index="${a}"]`)[0]),Zi(()=>{t.slideTo(i)})):t.slideTo(i)}else t.slideTo(i)}var d4={slideTo:i4,slideToLoop:a4,slideNext:o4,slidePrev:s4,slideReset:l4,slideToClosest:u4,slideToClickedSlide:c4};function f4(t){const e=this,{params:n,slidesEl:r}=e;if(!n.loop||e.virtual&&e.params.virtual.enabled)return;const i=()=>{Ct(r,`.${n.slideClass}, swiper-slide`).forEach((d,f)=>{d.setAttribute("data-swiper-slide-index",f)})},a=e.grid&&n.grid&&n.grid.rows>1,o=n.slidesPerGroup*(a?n.grid.rows:1),l=e.slides.length%o!==0,s=a&&e.slides.length%n.grid.rows!==0,u=c=>{for(let d=0;d1;u.length"u"?a=s.getSlideIndex(u.filter(A=>A.classList.contains(p.slideActiveClass))[0]):E=a;const x=r==="next"||!r,C=r==="prev"||!r;let T=0,P=0;const O=v?Math.ceil(u.length/p.grid.rows):u.length,N=(v?u[a].column:a)+(w&&typeof i>"u"?-g/2+.5:0);if(N=0;D-=1)u[D].column===R&&m.push(D)}else m.push(O-M-1)}}else if(N+g>O-h){P=Math.max(N-(O-h*2),y);for(let A=0;A{R.column===M&&b.push(D)}):b.push(M)}}if(s.__preventObserver__=!0,requestAnimationFrame(()=>{s.__preventObserver__=!1}),C&&m.forEach(A=>{u[A].swiperLoopMoveDOM=!0,f.prepend(u[A]),u[A].swiperLoopMoveDOM=!1}),x&&b.forEach(A=>{u[A].swiperLoopMoveDOM=!0,f.append(u[A]),u[A].swiperLoopMoveDOM=!1}),s.recalcSlides(),p.slidesPerView==="auto"?s.updateSlides():v&&(m.length>0&&C||b.length>0&&x)&&s.slides.forEach((A,M)=>{s.grid.updateSlide(M,A,s.slides)}),p.watchSlidesProgress&&s.updateSlidesOffset(),n){if(m.length>0&&C){if(typeof e>"u"){const A=s.slidesGrid[E],R=s.slidesGrid[E+T]-A;l?s.setTranslate(s.translate-R):(s.slideTo(E+T,0,!1,!0),i&&(s.touchEventsData.startTranslate=s.touchEventsData.startTranslate-R,s.touchEventsData.currentTranslate=s.touchEventsData.currentTranslate-R))}else if(i){const A=v?m.length/p.grid.rows:m.length;s.slideTo(s.activeIndex+A,0,!1,!0),s.touchEventsData.currentTranslate=s.translate}}else if(b.length>0&&x)if(typeof e>"u"){const A=s.slidesGrid[E],R=s.slidesGrid[E-P]-A;l?s.setTranslate(s.translate-R):(s.slideTo(E-P,0,!1,!0),i&&(s.touchEventsData.startTranslate=s.touchEventsData.startTranslate-R,s.touchEventsData.currentTranslate=s.touchEventsData.currentTranslate-R))}else{const A=v?b.length/p.grid.rows:b.length;s.slideTo(s.activeIndex-A,0,!1,!0)}}if(s.allowSlidePrev=c,s.allowSlideNext=d,s.controller&&s.controller.control&&!o){const A={slideRealIndex:e,direction:r,setTranslate:i,activeSlideIndex:a,byController:!0};Array.isArray(s.controller.control)?s.controller.control.forEach(M=>{!M.destroyed&&M.params.loop&&M.loopFix({...A,slideTo:M.params.slidesPerView===p.slidesPerView?n:!1})}):s.controller.control instanceof s.constructor&&s.controller.control.params.loop&&s.controller.control.loopFix({...A,slideTo:s.controller.control.params.slidesPerView===p.slidesPerView?n:!1})}s.emit("loopFix")}function h4(){const t=this,{params:e,slidesEl:n}=t;if(!e.loop||t.virtual&&t.params.virtual.enabled)return;t.recalcSlides();const r=[];t.slides.forEach(i=>{const a=typeof i.swiperSlideIndex>"u"?i.getAttribute("data-swiper-slide-index")*1:i.swiperSlideIndex;r[a]=i}),t.slides.forEach(i=>{i.removeAttribute("data-swiper-slide-index")}),r.forEach(i=>{n.append(i)}),t.recalcSlides(),t.slideTo(t.realIndex,0)}var m4={loopCreate:f4,loopFix:p4,loopDestroy:h4};function g4(t){const e=this;if(!e.params.simulateTouch||e.params.watchOverflow&&e.isLocked||e.params.cssMode)return;const n=e.params.touchEventsTarget==="container"?e.el:e.wrapperEl;e.isElement&&(e.__preventObserver__=!0),n.style.cursor="move",n.style.cursor=t?"grabbing":"grab",e.isElement&&requestAnimationFrame(()=>{e.__preventObserver__=!1})}function v4(){const t=this;t.params.watchOverflow&&t.isLocked||t.params.cssMode||(t.isElement&&(t.__preventObserver__=!0),t[t.params.touchEventsTarget==="container"?"el":"wrapperEl"].style.cursor="",t.isElement&&requestAnimationFrame(()=>{t.__preventObserver__=!1}))}var y4={setGrabCursor:g4,unsetGrabCursor:v4};function w4(t,e){e===void 0&&(e=this);function n(r){if(!r||r===Ht()||r===Ke())return null;r.assignedSlot&&(r=r.assignedSlot);const i=r.closest(t);return!i&&!r.getRootNode?null:i||n(r.getRootNode().host)}return n(e)}function fb(t,e,n){const r=Ke(),{params:i}=t,a=i.edgeSwipeDetection,o=i.edgeSwipeThreshold;return a&&(n<=o||n>=r.innerWidth-o)?a==="prevent"?(e.preventDefault(),!0):!1:!0}function b4(t){const e=this,n=Ht();let r=t;r.originalEvent&&(r=r.originalEvent);const i=e.touchEventsData;if(r.type==="pointerdown"){if(i.pointerId!==null&&i.pointerId!==r.pointerId)return;i.pointerId=r.pointerId}else r.type==="touchstart"&&r.targetTouches.length===1&&(i.touchId=r.targetTouches[0].identifier);if(r.type==="touchstart"){fb(e,r,r.targetTouches[0].pageX);return}const{params:a,touches:o,enabled:l}=e;if(!l||!a.simulateTouch&&r.pointerType==="mouse"||e.animating&&a.preventInteractionOnTransition)return;!e.animating&&a.cssMode&&a.loop&&e.loopFix();let s=r.target;if(a.touchEventsTarget==="wrapper"&&!e.wrapperEl.contains(s)||"which"in r&&r.which===3||"button"in r&&r.button>0||i.isTouched&&i.isMoved)return;const u=!!a.noSwipingClass&&a.noSwipingClass!=="",c=r.composedPath?r.composedPath():r.path;u&&r.target&&r.target.shadowRoot&&c&&(s=c[0]);const d=a.noSwipingSelector?a.noSwipingSelector:`.${a.noSwipingClass}`,f=!!(r.target&&r.target.shadowRoot);if(a.noSwiping&&(f?w4(d,s):s.closest(d))){e.allowClick=!0;return}if(a.swipeHandler&&!s.closest(a.swipeHandler))return;o.currentX=r.pageX,o.currentY=r.pageY;const p=o.currentX,w=o.currentY;if(!fb(e,r,p))return;Object.assign(i,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),o.startX=p,o.startY=w,i.touchStartTime=An(),e.allowClick=!0,e.updateSize(),e.swipeDirection=void 0,a.threshold>0&&(i.allowThresholdMove=!1);let g=!0;s.matches(i.focusableElements)&&(g=!1,s.nodeName==="SELECT"&&(i.isTouched=!1)),n.activeElement&&n.activeElement.matches(i.focusableElements)&&n.activeElement!==s&&n.activeElement.blur();const y=g&&e.allowTouchMove&&a.touchStartPreventDefault;(a.touchStartForcePreventDefault||y)&&!s.isContentEditable&&r.preventDefault(),a.freeMode&&a.freeMode.enabled&&e.freeMode&&e.animating&&!a.cssMode&&e.freeMode.onTouchStart(),e.emit("touchStart",r)}function S4(t){const e=Ht(),n=this,r=n.touchEventsData,{params:i,touches:a,rtlTranslate:o,enabled:l}=n;if(!l||!i.simulateTouch&&t.pointerType==="mouse")return;let s=t;if(s.originalEvent&&(s=s.originalEvent),s.type==="pointermove"&&(r.touchId!==null||s.pointerId!==r.pointerId))return;let u;if(s.type==="touchmove"){if(u=[...s.changedTouches].filter(x=>x.identifier===r.touchId)[0],!u||u.identifier!==r.touchId)return}else u=s;if(!r.isTouched){r.startMoving&&r.isScrolling&&n.emit("touchMoveOpposite",s);return}const c=u.pageX,d=u.pageY;if(s.preventedByNestedSwiper){a.startX=c,a.startY=d;return}if(!n.allowTouchMove){s.target.matches(r.focusableElements)||(n.allowClick=!1),r.isTouched&&(Object.assign(a,{startX:c,startY:d,currentX:c,currentY:d}),r.touchStartTime=An());return}if(i.touchReleaseOnEdges&&!i.loop){if(n.isVertical()){if(da.startY&&n.translate>=n.minTranslate()){r.isTouched=!1,r.isMoved=!1;return}}else if(ca.startX&&n.translate>=n.minTranslate())return}if(e.activeElement&&s.target===e.activeElement&&s.target.matches(r.focusableElements)){r.isMoved=!0,n.allowClick=!1;return}r.allowTouchCallbacks&&n.emit("touchMove",s),a.previousX=a.currentX,a.previousY=a.currentY,a.currentX=c,a.currentY=d;const f=a.currentX-a.startX,p=a.currentY-a.startY;if(n.params.threshold&&Math.sqrt(f**2+p**2)"u"){let x;n.isHorizontal()&&a.currentY===a.startY||n.isVertical()&&a.currentX===a.startX?r.isScrolling=!1:f*f+p*p>=25&&(x=Math.atan2(Math.abs(p),Math.abs(f))*180/Math.PI,r.isScrolling=n.isHorizontal()?x>i.touchAngle:90-x>i.touchAngle)}if(r.isScrolling&&n.emit("touchMoveOpposite",s),typeof r.startMoving>"u"&&(a.currentX!==a.startX||a.currentY!==a.startY)&&(r.startMoving=!0),r.isScrolling){r.isTouched=!1;return}if(!r.startMoving)return;n.allowClick=!1,!i.cssMode&&s.cancelable&&s.preventDefault(),i.touchMoveStopPropagation&&!i.nested&&s.stopPropagation();let w=n.isHorizontal()?f:p,g=n.isHorizontal()?a.currentX-a.previousX:a.currentY-a.previousY;i.oneWayMovement&&(w=Math.abs(w)*(o?1:-1),g=Math.abs(g)*(o?1:-1)),a.diff=w,w*=i.touchRatio,o&&(w=-w,g=-g);const y=n.touchesDirection;n.swipeDirection=w>0?"prev":"next",n.touchesDirection=g>0?"prev":"next";const h=n.params.loop&&!i.cssMode,v=n.touchesDirection==="next"&&n.allowSlideNext||n.touchesDirection==="prev"&&n.allowSlidePrev;if(!r.isMoved){if(h&&v&&n.loopFix({direction:n.swipeDirection}),r.startTranslate=n.getTranslate(),n.setTransition(0),n.animating){const x=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0});n.wrapperEl.dispatchEvent(x)}r.allowMomentumBounce=!1,i.grabCursor&&(n.allowSlideNext===!0||n.allowSlidePrev===!0)&&n.setGrabCursor(!0),n.emit("sliderFirstMove",s)}let m;if(new Date().getTime(),r.isMoved&&r.allowThresholdMove&&y!==n.touchesDirection&&h&&v&&Math.abs(w)>=1){Object.assign(a,{startX:c,startY:d,currentX:c,currentY:d,startTranslate:r.currentTranslate}),r.loopSwapReset=!0,r.startTranslate=r.currentTranslate;return}n.emit("sliderMove",s),r.isMoved=!0,r.currentTranslate=w+r.startTranslate;let b=!0,E=i.resistanceRatio;if(i.touchReleaseOnEdges&&(E=0),w>0?(h&&v&&!m&&r.allowThresholdMove&&r.currentTranslate>(i.centeredSlides?n.minTranslate()-n.slidesSizesGrid[n.activeIndex+1]:n.minTranslate())&&n.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),r.currentTranslate>n.minTranslate()&&(b=!1,i.resistance&&(r.currentTranslate=n.minTranslate()-1+(-n.minTranslate()+r.startTranslate+w)**E))):w<0&&(h&&v&&!m&&r.allowThresholdMove&&r.currentTranslate<(i.centeredSlides?n.maxTranslate()+n.slidesSizesGrid[n.slidesSizesGrid.length-1]:n.maxTranslate())&&n.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:n.slides.length-(i.slidesPerView==="auto"?n.slidesPerViewDynamic():Math.ceil(parseFloat(i.slidesPerView,10)))}),r.currentTranslater.startTranslate&&(r.currentTranslate=r.startTranslate),!n.allowSlidePrev&&!n.allowSlideNext&&(r.currentTranslate=r.startTranslate),i.threshold>0)if(Math.abs(w)>i.threshold||r.allowThresholdMove){if(!r.allowThresholdMove){r.allowThresholdMove=!0,a.startX=a.currentX,a.startY=a.currentY,r.currentTranslate=r.startTranslate,a.diff=n.isHorizontal()?a.currentX-a.startX:a.currentY-a.startY;return}}else{r.currentTranslate=r.startTranslate;return}!i.followFinger||i.cssMode||((i.freeMode&&i.freeMode.enabled&&n.freeMode||i.watchSlidesProgress)&&(n.updateActiveIndex(),n.updateSlidesClasses()),i.freeMode&&i.freeMode.enabled&&n.freeMode&&n.freeMode.onTouchMove(),n.updateProgress(r.currentTranslate),n.setTranslate(r.currentTranslate))}function x4(t){const e=this,n=e.touchEventsData;let r=t;r.originalEvent&&(r=r.originalEvent);let i;if(r.type==="touchend"||r.type==="touchcancel"){if(i=[...r.changedTouches].filter(E=>E.identifier===n.touchId)[0],!i||i.identifier!==n.touchId)return}else{if(n.touchId!==null||r.pointerId!==n.pointerId)return;i=r}if(["pointercancel","pointerout","pointerleave","contextmenu"].includes(r.type)&&!(["pointercancel","contextmenu"].includes(r.type)&&(e.browser.isSafari||e.browser.isWebView)))return;n.pointerId=null,n.touchId=null;const{params:o,touches:l,rtlTranslate:s,slidesGrid:u,enabled:c}=e;if(!c||!o.simulateTouch&&r.pointerType==="mouse")return;if(n.allowTouchCallbacks&&e.emit("touchEnd",r),n.allowTouchCallbacks=!1,!n.isTouched){n.isMoved&&o.grabCursor&&e.setGrabCursor(!1),n.isMoved=!1,n.startMoving=!1;return}o.grabCursor&&n.isMoved&&n.isTouched&&(e.allowSlideNext===!0||e.allowSlidePrev===!0)&&e.setGrabCursor(!1);const d=An(),f=d-n.touchStartTime;if(e.allowClick){const E=r.path||r.composedPath&&r.composedPath();e.updateClickedSlide(E&&E[0]||r.target,E),e.emit("tap click",r),f<300&&d-n.lastClickTime<300&&e.emit("doubleTap doubleClick",r)}if(n.lastClickTime=An(),Zi(()=>{e.destroyed||(e.allowClick=!0)}),!n.isTouched||!n.isMoved||!e.swipeDirection||l.diff===0&&!n.loopSwapReset||n.currentTranslate===n.startTranslate&&!n.loopSwapReset){n.isTouched=!1,n.isMoved=!1,n.startMoving=!1;return}n.isTouched=!1,n.isMoved=!1,n.startMoving=!1;let p;if(o.followFinger?p=s?e.translate:-e.translate:p=-n.currentTranslate,o.cssMode)return;if(o.freeMode&&o.freeMode.enabled){e.freeMode.onTouchEnd({currentPos:p});return}const w=p>=-e.maxTranslate()&&!e.params.loop;let g=0,y=e.slidesSizesGrid[0];for(let E=0;E=u[E]&&p=u[E])&&(g=E,y=u[u.length-1]-u[u.length-2])}let h=null,v=null;o.rewind&&(e.isBeginning?v=o.virtual&&o.virtual.enabled&&e.virtual?e.virtual.slides.length-1:e.slides.length-1:e.isEnd&&(h=0));const m=(p-u[g])/y,b=go.longSwipesMs){if(!o.longSwipes){e.slideTo(e.activeIndex);return}e.swipeDirection==="next"&&(m>=o.longSwipesRatio?e.slideTo(o.rewind&&e.isEnd?h:g+b):e.slideTo(g)),e.swipeDirection==="prev"&&(m>1-o.longSwipesRatio?e.slideTo(g+b):v!==null&&m<0&&Math.abs(m)>o.longSwipesRatio?e.slideTo(v):e.slideTo(g))}else{if(!o.shortSwipes){e.slideTo(e.activeIndex);return}e.navigation&&(r.target===e.navigation.nextEl||r.target===e.navigation.prevEl)?r.target===e.navigation.nextEl?e.slideTo(g+b):e.slideTo(g):(e.swipeDirection==="next"&&e.slideTo(h!==null?h:g+b),e.swipeDirection==="prev"&&e.slideTo(v!==null?v:g))}}function pb(){const t=this,{params:e,el:n}=t;if(n&&n.offsetWidth===0)return;e.breakpoints&&t.setBreakpoint();const{allowSlideNext:r,allowSlidePrev:i,snapGrid:a}=t,o=t.virtual&&t.params.virtual.enabled;t.allowSlideNext=!0,t.allowSlidePrev=!0,t.updateSize(),t.updateSlides(),t.updateSlidesClasses();const l=o&&e.loop;(e.slidesPerView==="auto"||e.slidesPerView>1)&&t.isEnd&&!t.isBeginning&&!t.params.centeredSlides&&!l?t.slideTo(t.slides.length-1,0,!1,!0):t.params.loop&&!o?t.slideToLoop(t.realIndex,0,!1,!0):t.slideTo(t.activeIndex,0,!1,!0),t.autoplay&&t.autoplay.running&&t.autoplay.paused&&(clearTimeout(t.autoplay.resizeTimeout),t.autoplay.resizeTimeout=setTimeout(()=>{t.autoplay&&t.autoplay.running&&t.autoplay.paused&&t.autoplay.resume()},500)),t.allowSlidePrev=i,t.allowSlideNext=r,t.params.watchOverflow&&a!==t.snapGrid&&t.checkOverflow()}function E4(t){const e=this;e.enabled&&(e.allowClick||(e.params.preventClicks&&t.preventDefault(),e.params.preventClicksPropagation&&e.animating&&(t.stopPropagation(),t.stopImmediatePropagation())))}function C4(){const t=this,{wrapperEl:e,rtlTranslate:n,enabled:r}=t;if(!r)return;t.previousTranslate=t.translate,t.isHorizontal()?t.translate=-e.scrollLeft:t.translate=-e.scrollTop,t.translate===0&&(t.translate=0),t.updateActiveIndex(),t.updateSlidesClasses();let i;const a=t.maxTranslate()-t.minTranslate();a===0?i=0:i=(t.translate-t.minTranslate())/a,i!==t.progress&&t.updateProgress(n?-t.translate:t.translate),t.emit("setTranslate",t.translate,!1)}function T4(t){const e=this;Du(e,t.target),!(e.params.cssMode||e.params.slidesPerView!=="auto"&&!e.params.autoHeight)&&e.update()}function P4(){const t=this;t.documentTouchHandlerProceeded||(t.documentTouchHandlerProceeded=!0,t.params.touchReleaseOnEdges&&(t.el.style.touchAction="auto"))}const rk=(t,e)=>{const n=Ht(),{params:r,el:i,wrapperEl:a,device:o}=t,l=!!r.nested,s=e==="on"?"addEventListener":"removeEventListener",u=e;n[s]("touchstart",t.onDocumentTouchStart,{passive:!1,capture:l}),i[s]("touchstart",t.onTouchStart,{passive:!1}),i[s]("pointerdown",t.onTouchStart,{passive:!1}),n[s]("touchmove",t.onTouchMove,{passive:!1,capture:l}),n[s]("pointermove",t.onTouchMove,{passive:!1,capture:l}),n[s]("touchend",t.onTouchEnd,{passive:!0}),n[s]("pointerup",t.onTouchEnd,{passive:!0}),n[s]("pointercancel",t.onTouchEnd,{passive:!0}),n[s]("touchcancel",t.onTouchEnd,{passive:!0}),n[s]("pointerout",t.onTouchEnd,{passive:!0}),n[s]("pointerleave",t.onTouchEnd,{passive:!0}),n[s]("contextmenu",t.onTouchEnd,{passive:!0}),(r.preventClicks||r.preventClicksPropagation)&&i[s]("click",t.onClick,!0),r.cssMode&&a[s]("scroll",t.onScroll),r.updateOnWindowResize?t[u](o.ios||o.android?"resize orientationchange observerUpdate":"resize observerUpdate",pb,!0):t[u]("observerUpdate",pb,!0),i[s]("load",t.onLoad,{capture:!0})};function k4(){const t=this,{params:e}=t;t.onTouchStart=b4.bind(t),t.onTouchMove=S4.bind(t),t.onTouchEnd=x4.bind(t),t.onDocumentTouchStart=P4.bind(t),e.cssMode&&(t.onScroll=C4.bind(t)),t.onClick=E4.bind(t),t.onLoad=T4.bind(t),rk(t,"on")}function M4(){rk(this,"off")}var O4={attachEvents:k4,detachEvents:M4};const hb=(t,e)=>t.grid&&e.grid&&e.grid.rows>1;function A4(){const t=this,{realIndex:e,initialized:n,params:r,el:i}=t,a=r.breakpoints;if(!a||a&&Object.keys(a).length===0)return;const o=t.getBreakpoint(a,t.params.breakpointsBase,t.el);if(!o||t.currentBreakpoint===o)return;const s=(o in a?a[o]:void 0)||t.originalParams,u=hb(t,r),c=hb(t,s),d=r.enabled;u&&!c?(i.classList.remove(`${r.containerModifierClass}grid`,`${r.containerModifierClass}grid-column`),t.emitContainerClasses()):!u&&c&&(i.classList.add(`${r.containerModifierClass}grid`),(s.grid.fill&&s.grid.fill==="column"||!s.grid.fill&&r.grid.fill==="column")&&i.classList.add(`${r.containerModifierClass}grid-column`),t.emitContainerClasses()),["navigation","pagination","scrollbar"].forEach(h=>{if(typeof s[h]>"u")return;const v=r[h]&&r[h].enabled,m=s[h]&&s[h].enabled;v&&!m&&t[h].disable(),!v&&m&&t[h].enable()});const f=s.direction&&s.direction!==r.direction,p=r.loop&&(s.slidesPerView!==r.slidesPerView||f),w=r.loop;f&&n&&t.changeDirection(),dn(t.params,s);const g=t.params.enabled,y=t.params.loop;Object.assign(t,{allowTouchMove:t.params.allowTouchMove,allowSlideNext:t.params.allowSlideNext,allowSlidePrev:t.params.allowSlidePrev}),d&&!g?t.disable():!d&&g&&t.enable(),t.currentBreakpoint=o,t.emit("_beforeBreakpoint",s),n&&(p?(t.loopDestroy(),t.loopCreate(e),t.updateSlides()):!w&&y?(t.loopCreate(e),t.updateSlides()):w&&!y&&t.loopDestroy()),t.emit("breakpoint",s)}function L4(t,e,n){if(e===void 0&&(e="window"),!t||e==="container"&&!n)return;let r=!1;const i=Ke(),a=e==="window"?i.innerHeight:n.clientHeight,o=Object.keys(t).map(l=>{if(typeof l=="string"&&l.indexOf("@")===0){const s=parseFloat(l.substr(1));return{value:a*s,point:l}}return{value:l,point:l}});o.sort((l,s)=>parseInt(l.value,10)-parseInt(s.value,10));for(let l=0;l{typeof r=="object"?Object.keys(r).forEach(i=>{r[i]&&n.push(e+i)}):typeof r=="string"&&n.push(e+r)}),n}function D4(){const t=this,{classNames:e,params:n,rtl:r,el:i,device:a}=t,o=I4(["initialized",n.direction,{"free-mode":t.params.freeMode&&n.freeMode.enabled},{autoheight:n.autoHeight},{rtl:r},{grid:n.grid&&n.grid.rows>1},{"grid-column":n.grid&&n.grid.rows>1&&n.grid.fill==="column"},{android:a.android},{ios:a.ios},{"css-mode":n.cssMode},{centered:n.cssMode&&n.centeredSlides},{"watch-progress":n.watchSlidesProgress}],n.containerModifierClass);e.push(...o),i.classList.add(...e),t.emitContainerClasses()}function F4(){const t=this,{el:e,classNames:n}=t;e.classList.remove(...n),t.emitContainerClasses()}var N4={addClasses:D4,removeClasses:F4};function _4(){const t=this,{isLocked:e,params:n}=t,{slidesOffsetBefore:r}=n;if(r){const i=t.slides.length-1,a=t.slidesGrid[i]+t.slidesSizesGrid[i]+r*2;t.isLocked=t.size>a}else t.isLocked=t.snapGrid.length===1;n.allowSlideNext===!0&&(t.allowSlideNext=!t.isLocked),n.allowSlidePrev===!0&&(t.allowSlidePrev=!t.isLocked),e&&e!==t.isLocked&&(t.isEnd=!1),e!==t.isLocked&&t.emit(t.isLocked?"lock":"unlock")}var V4={checkOverflow:_4},Pm={init:!0,direction:"horizontal",oneWayMovement:!1,touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,eventsPrefix:"swiper",enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:5,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,loop:!1,loopAddBlankSlides:!0,loopAdditionalSlides:0,loopPreventsSliding:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-blank",slideActiveClass:"swiper-slide-active",slideVisibleClass:"swiper-slide-visible",slideFullyVisibleClass:"swiper-slide-fully-visible",slideNextClass:"swiper-slide-next",slidePrevClass:"swiper-slide-prev",wrapperClass:"swiper-wrapper",lazyPreloaderClass:"swiper-lazy-preloader",lazyPreloadPrevNext:0,runCallbacksOnInit:!0,_emitClasses:!1};function j4(t,e){return function(r){r===void 0&&(r={});const i=Object.keys(r)[0],a=r[i];if(typeof a!="object"||a===null){dn(e,r);return}if(t[i]===!0&&(t[i]={enabled:!0}),i==="navigation"&&t[i]&&t[i].enabled&&!t[i].prevEl&&!t[i].nextEl&&(t[i].auto=!0),["pagination","scrollbar"].indexOf(i)>=0&&t[i]&&t[i].enabled&&!t[i].el&&(t[i].auto=!0),!(i in t&&"enabled"in a)){dn(e,r);return}typeof t[i]=="object"&&!("enabled"in t[i])&&(t[i].enabled=!0),t[i]||(t[i]={enabled:!1}),dn(e,r)}}const pp={eventsEmitter:N5,update:q5,translate:J5,transition:r4,slide:d4,loop:m4,grabCursor:y4,events:O4,breakpoints:R4,checkOverflow:V4,classes:N4},hp={};class cn{constructor(){let e,n;for(var r=arguments.length,i=new Array(r),a=0;a1){const c=[];return o.querySelectorAll(n.el).forEach(d=>{const f=dn({},n,{el:d});c.push(new cn(f))}),c}const l=this;l.__swiper__=!0,l.support=tk(),l.device=L5({userAgent:n.userAgent}),l.browser=I5(),l.eventsListeners={},l.eventsAnyListeners=[],l.modules=[...l.__modules__],n.modules&&Array.isArray(n.modules)&&l.modules.push(...n.modules);const s={};l.modules.forEach(c=>{c({params:n,swiper:l,extendParams:j4(n,s),on:l.on.bind(l),once:l.once.bind(l),off:l.off.bind(l),emit:l.emit.bind(l)})});const u=dn({},Pm,s);return l.params=dn({},u,hp,n),l.originalParams=dn({},l.params),l.passedParams=dn({},n),l.params&&l.params.on&&Object.keys(l.params.on).forEach(c=>{l.on(c,l.params.on[c])}),l.params&&l.params.onAny&&l.onAny(l.params.onAny),Object.assign(l,{enabled:l.params.enabled,el:e,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal(){return l.params.direction==="horizontal"},isVertical(){return l.params.direction==="vertical"},activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,cssOverflowAdjustment(){return Math.trunc(this.translate/2**23)*2**23},allowSlideNext:l.params.allowSlideNext,allowSlidePrev:l.params.allowSlidePrev,touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:l.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,pointerId:null,touchId:null},allowClick:!0,allowTouchMove:l.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),l.emit("_swiper"),l.params.init&&l.init(),l}getDirectionLabel(e){return this.isHorizontal()?e:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[e]}getSlideIndex(e){const{slidesEl:n,params:r}=this,i=Ct(n,`.${r.slideClass}, swiper-slide`),a=qs(i[0]);return qs(e)-a}getSlideIndexByData(e){return this.getSlideIndex(this.slides.filter(n=>n.getAttribute("data-swiper-slide-index")*1===e)[0])}recalcSlides(){const e=this,{slidesEl:n,params:r}=e;e.slides=Ct(n,`.${r.slideClass}, swiper-slide`)}enable(){const e=this;e.enabled||(e.enabled=!0,e.params.grabCursor&&e.setGrabCursor(),e.emit("enable"))}disable(){const e=this;e.enabled&&(e.enabled=!1,e.params.grabCursor&&e.unsetGrabCursor(),e.emit("disable"))}setProgress(e,n){const r=this;e=Math.min(Math.max(e,0),1);const i=r.minTranslate(),o=(r.maxTranslate()-i)*e+i;r.translateTo(o,typeof n>"u"?0:n),r.updateActiveIndex(),r.updateSlidesClasses()}emitContainerClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const n=e.el.className.split(" ").filter(r=>r.indexOf("swiper")===0||r.indexOf(e.params.containerModifierClass)===0);e.emit("_containerClasses",n.join(" "))}getSlideClasses(e){const n=this;return n.destroyed?"":e.className.split(" ").filter(r=>r.indexOf("swiper-slide")===0||r.indexOf(n.params.slideClass)===0).join(" ")}emitSlidesClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const n=[];e.slides.forEach(r=>{const i=e.getSlideClasses(r);n.push({slideEl:r,classNames:i}),e.emit("_slideClass",r,i)}),e.emit("_slideClasses",n)}slidesPerViewDynamic(e,n){e===void 0&&(e="current"),n===void 0&&(n=!1);const r=this,{params:i,slides:a,slidesGrid:o,slidesSizesGrid:l,size:s,activeIndex:u}=r;let c=1;if(typeof i.slidesPerView=="number")return i.slidesPerView;if(i.centeredSlides){let d=a[u]?a[u].swiperSlideSize:0,f;for(let p=u+1;ps&&(f=!0));for(let p=u-1;p>=0;p-=1)a[p]&&!f&&(d+=a[p].swiperSlideSize,c+=1,d>s&&(f=!0))}else if(e==="current")for(let d=u+1;d=0;d-=1)o[u]-o[d]{o.complete&&Du(e,o)}),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses();function i(){const o=e.rtlTranslate?e.translate*-1:e.translate,l=Math.min(Math.max(o,e.maxTranslate()),e.minTranslate());e.setTranslate(l),e.updateActiveIndex(),e.updateSlidesClasses()}let a;if(r.freeMode&&r.freeMode.enabled&&!r.cssMode)i(),r.autoHeight&&e.updateAutoHeight();else{if((r.slidesPerView==="auto"||r.slidesPerView>1)&&e.isEnd&&!r.centeredSlides){const o=e.virtual&&r.virtual.enabled?e.virtual.slides:e.slides;a=e.slideTo(o.length-1,0,!1,!0)}else a=e.slideTo(e.activeIndex,0,!1,!0);a||i()}r.watchOverflow&&n!==e.snapGrid&&e.checkOverflow(),e.emit("update")}changeDirection(e,n){n===void 0&&(n=!0);const r=this,i=r.params.direction;return e||(e=i==="horizontal"?"vertical":"horizontal"),e===i||e!=="horizontal"&&e!=="vertical"||(r.el.classList.remove(`${r.params.containerModifierClass}${i}`),r.el.classList.add(`${r.params.containerModifierClass}${e}`),r.emitContainerClasses(),r.params.direction=e,r.slides.forEach(a=>{e==="vertical"?a.style.width="":a.style.height=""}),r.emit("changeDirection"),n&&r.update()),r}changeLanguageDirection(e){const n=this;n.rtl&&e==="rtl"||!n.rtl&&e==="ltr"||(n.rtl=e==="rtl",n.rtlTranslate=n.params.direction==="horizontal"&&n.rtl,n.rtl?(n.el.classList.add(`${n.params.containerModifierClass}rtl`),n.el.dir="rtl"):(n.el.classList.remove(`${n.params.containerModifierClass}rtl`),n.el.dir="ltr"),n.update())}mount(e){const n=this;if(n.mounted)return!0;let r=e||n.params.el;if(typeof r=="string"&&(r=document.querySelector(r)),!r)return!1;r.swiper=n,r.parentNode&&r.parentNode.host&&r.parentNode.host.nodeName==="SWIPER-CONTAINER"&&(n.isElement=!0);const i=()=>`.${(n.params.wrapperClass||"").trim().split(" ").join(".")}`;let o=(()=>r&&r.shadowRoot&&r.shadowRoot.querySelector?r.shadowRoot.querySelector(i()):Ct(r,i())[0])();return!o&&n.params.createElements&&(o=mn("div",n.params.wrapperClass),r.append(o),Ct(r,`.${n.params.slideClass}`).forEach(l=>{o.append(l)})),Object.assign(n,{el:r,wrapperEl:o,slidesEl:n.isElement&&!r.parentNode.host.slideSlots?r.parentNode.host:o,hostEl:n.isElement?r.parentNode.host:r,mounted:!0,rtl:r.dir.toLowerCase()==="rtl"||Qr(r,"direction")==="rtl",rtlTranslate:n.params.direction==="horizontal"&&(r.dir.toLowerCase()==="rtl"||Qr(r,"direction")==="rtl"),wrongRTL:Qr(o,"display")==="-webkit-box"}),!0}init(e){const n=this;if(n.initialized||n.mount(e)===!1)return n;n.emit("beforeInit"),n.params.breakpoints&&n.setBreakpoint(),n.addClasses(),n.updateSize(),n.updateSlides(),n.params.watchOverflow&&n.checkOverflow(),n.params.grabCursor&&n.enabled&&n.setGrabCursor(),n.params.loop&&n.virtual&&n.params.virtual.enabled?n.slideTo(n.params.initialSlide+n.virtual.slidesBefore,0,n.params.runCallbacksOnInit,!1,!0):n.slideTo(n.params.initialSlide,0,n.params.runCallbacksOnInit,!1,!0),n.params.loop&&n.loopCreate(),n.attachEvents();const i=[...n.el.querySelectorAll('[loading="lazy"]')];return n.isElement&&i.push(...n.hostEl.querySelectorAll('[loading="lazy"]')),i.forEach(a=>{a.complete?Du(n,a):a.addEventListener("load",o=>{Du(n,o.target)})}),Tm(n),n.initialized=!0,Tm(n),n.emit("init"),n.emit("afterInit"),n}destroy(e,n){e===void 0&&(e=!0),n===void 0&&(n=!0);const r=this,{params:i,el:a,wrapperEl:o,slides:l}=r;return typeof r.params>"u"||r.destroyed||(r.emit("beforeDestroy"),r.initialized=!1,r.detachEvents(),i.loop&&r.loopDestroy(),n&&(r.removeClasses(),a.removeAttribute("style"),o.removeAttribute("style"),l&&l.length&&l.forEach(s=>{s.classList.remove(i.slideVisibleClass,i.slideFullyVisibleClass,i.slideActiveClass,i.slideNextClass,i.slidePrevClass),s.removeAttribute("style"),s.removeAttribute("data-swiper-slide-index")})),r.emit("destroy"),Object.keys(r.eventsListeners).forEach(s=>{r.off(s)}),e!==!1&&(r.el.swiper=null,Kz(r)),r.destroyed=!0),null}static extendDefaults(e){dn(hp,e)}static get extendedDefaults(){return hp}static get defaults(){return Pm}static installModule(e){cn.prototype.__modules__||(cn.prototype.__modules__=[]);const n=cn.prototype.__modules__;typeof e=="function"&&n.indexOf(e)<0&&n.push(e)}static use(e){return Array.isArray(e)?(e.forEach(n=>cn.installModule(n)),cn):(cn.installModule(e),cn)}}Object.keys(pp).forEach(t=>{Object.keys(pp[t]).forEach(e=>{cn.prototype[e]=pp[t][e]})});cn.use([D5,F5]);const $4=[e5,t5,n5,JP,ek,r5,i5,a5,o5,s5,l5,u5,c5,d5,f5,p5,w5,b5,S5,x5,E5,C5,T5];cn.use($4);const Cd=["eventsPrefix","injectStyles","injectStylesUrls","modules","init","_direction","oneWayMovement","touchEventsTarget","initialSlide","_speed","cssMode","updateOnWindowResize","resizeObserver","nested","focusableElements","_enabled","_width","_height","preventInteractionOnTransition","userAgent","url","_edgeSwipeDetection","_edgeSwipeThreshold","_freeMode","_autoHeight","setWrapperSize","virtualTranslate","_effect","breakpoints","breakpointsBase","_spaceBetween","_slidesPerView","maxBackfaceHiddenSlides","_grid","_slidesPerGroup","_slidesPerGroupSkip","_slidesPerGroupAuto","_centeredSlides","_centeredSlidesBounds","_slidesOffsetBefore","_slidesOffsetAfter","normalizeSlideIndex","_centerInsufficientSlides","_watchOverflow","roundLengths","touchRatio","touchAngle","simulateTouch","_shortSwipes","_longSwipes","longSwipesRatio","longSwipesMs","_followFinger","allowTouchMove","_threshold","touchMoveStopPropagation","touchStartPreventDefault","touchStartForcePreventDefault","touchReleaseOnEdges","uniqueNavElements","_resistance","_resistanceRatio","_watchSlidesProgress","_grabCursor","preventClicks","preventClicksPropagation","_slideToClickedSlide","_loop","loopAdditionalSlides","loopAddBlankSlides","loopPreventsSliding","_rewind","_allowSlidePrev","_allowSlideNext","_swipeHandler","_noSwiping","noSwipingClass","noSwipingSelector","passiveListeners","containerModifierClass","slideClass","slideActiveClass","slideVisibleClass","slideFullyVisibleClass","slideNextClass","slidePrevClass","slideBlankClass","wrapperClass","lazyPreloaderClass","lazyPreloadPrevNext","runCallbacksOnInit","observer","observeParents","observeSlideChildren","a11y","_autoplay","_controller","coverflowEffect","cubeEffect","fadeEffect","flipEffect","creativeEffect","cardsEffect","hashNavigation","history","keyboard","mousewheel","_navigation","_pagination","parallax","_scrollbar","_thumbs","virtual","zoom","control"];function fo(t){return typeof t=="object"&&t!==null&&t.constructor&&Object.prototype.toString.call(t).slice(8,-1)==="Object"&&!t.__swiper__}function km(t,e){const n=["__proto__","constructor","prototype"];Object.keys(e).filter(r=>n.indexOf(r)<0).forEach(r=>{typeof t[r]>"u"?t[r]=e[r]:fo(e[r])&&fo(t[r])&&Object.keys(e[r]).length>0?e[r].__swiper__?t[r]=e[r]:km(t[r],e[r]):t[r]=e[r]})}function z4(t){return t===void 0&&(t={}),t.navigation&&typeof t.navigation.nextEl>"u"&&typeof t.navigation.prevEl>"u"}function B4(t){return t===void 0&&(t={}),t.pagination&&typeof t.pagination.el>"u"}function H4(t){return t===void 0&&(t={}),t.scrollbar&&typeof t.scrollbar.el>"u"}function Fu(t){return t===void 0&&(t=""),t.replace(/-[a-z]/g,e=>e.toUpperCase().replace("-",""))}function U4(t){let{swiper:e,slides:n,passedParams:r,changedParams:i,nextEl:a,prevEl:o,scrollbarEl:l,paginationEl:s}=t;const u=i.filter(P=>P!=="children"&&P!=="direction"&&P!=="wrapperClass"),{params:c,pagination:d,navigation:f,scrollbar:p,virtual:w,thumbs:g}=e;let y,h,v,m,b,E,x,C;i.includes("thumbs")&&r.thumbs&&r.thumbs.swiper&&c.thumbs&&!c.thumbs.swiper&&(y=!0),i.includes("controller")&&r.controller&&r.controller.control&&c.controller&&!c.controller.control&&(h=!0),i.includes("pagination")&&r.pagination&&(r.pagination.el||s)&&(c.pagination||c.pagination===!1)&&d&&!d.el&&(v=!0),i.includes("scrollbar")&&r.scrollbar&&(r.scrollbar.el||l)&&(c.scrollbar||c.scrollbar===!1)&&p&&!p.el&&(m=!0),i.includes("navigation")&&r.navigation&&(r.navigation.prevEl||o)&&(r.navigation.nextEl||a)&&(c.navigation||c.navigation===!1)&&f&&!f.prevEl&&!f.nextEl&&(b=!0);const T=P=>{e[P]&&(e[P].destroy(),P==="navigation"?(e.isElement&&(e[P].prevEl.remove(),e[P].nextEl.remove()),c[P].prevEl=void 0,c[P].nextEl=void 0,e[P].prevEl=void 0,e[P].nextEl=void 0):(e.isElement&&e[P].el.remove(),c[P].el=void 0,e[P].el=void 0))};i.includes("loop")&&e.isElement&&(c.loop&&!r.loop?E=!0:!c.loop&&r.loop?x=!0:C=!0),u.forEach(P=>{if(fo(c[P])&&fo(r[P]))Object.assign(c[P],r[P]),(P==="navigation"||P==="pagination"||P==="scrollbar")&&"enabled"in r[P]&&!r[P].enabled&&T(P);else{const O=r[P];(O===!0||O===!1)&&(P==="navigation"||P==="pagination"||P==="scrollbar")?O===!1&&T(P):c[P]=r[P]}}),u.includes("controller")&&!h&&e.controller&&e.controller.control&&c.controller&&c.controller.control&&(e.controller.control=c.controller.control),i.includes("children")&&n&&w&&c.virtual.enabled?(w.slides=n,w.update(!0)):i.includes("virtual")&&w&&c.virtual.enabled&&(n&&(w.slides=n),w.update(!0)),i.includes("children")&&n&&c.loop&&(C=!0),y&&g.init()&&g.update(!0),h&&(e.controller.control=c.controller.control),v&&(e.isElement&&(!s||typeof s=="string")&&(s=document.createElement("div"),s.classList.add("swiper-pagination"),s.part.add("pagination"),e.el.appendChild(s)),s&&(c.pagination.el=s),d.init(),d.render(),d.update()),m&&(e.isElement&&(!l||typeof l=="string")&&(l=document.createElement("div"),l.classList.add("swiper-scrollbar"),l.part.add("scrollbar"),e.el.appendChild(l)),l&&(c.scrollbar.el=l),p.init(),p.updateSize(),p.setTranslate()),b&&(e.isElement&&((!a||typeof a=="string")&&(a=document.createElement("div"),a.classList.add("swiper-button-next"),a.innerHTML=e.hostEl.constructor.nextButtonSvg,a.part.add("button-next"),e.el.appendChild(a)),(!o||typeof o=="string")&&(o=document.createElement("div"),o.classList.add("swiper-button-prev"),o.innerHTML=e.hostEl.constructor.prevButtonSvg,o.part.add("button-prev"),e.el.appendChild(o))),a&&(c.navigation.nextEl=a),o&&(c.navigation.prevEl=o),f.init(),f.update()),i.includes("allowSlideNext")&&(e.allowSlideNext=r.allowSlideNext),i.includes("allowSlidePrev")&&(e.allowSlidePrev=r.allowSlidePrev),i.includes("direction")&&e.changeDirection(r.direction,!1),(E||C)&&e.loopDestroy(),(x||C)&&e.loopCreate(),e.update()}const mb=t=>{if(parseFloat(t)===Number(t))return Number(t);if(t==="true"||t==="")return!0;if(t==="false")return!1;if(t==="null")return null;if(t!=="undefined"){if(typeof t=="string"&&t.includes("{")&&t.includes("}")&&t.includes('"')){let e;try{e=JSON.parse(t)}catch{e=t}return e}return t}},gb=["a11y","autoplay","controller","cards-effect","coverflow-effect","creative-effect","cube-effect","fade-effect","flip-effect","free-mode","grid","hash-navigation","history","keyboard","mousewheel","navigation","pagination","parallax","scrollbar","thumbs","virtual","zoom"];function vb(t,e,n){const r={},i={};km(r,Pm);const a=[...Cd,"on"],o=a.map(s=>s.replace(/_/,""));a.forEach(s=>{s=s.replace("_",""),typeof t[s]<"u"&&(i[s]=t[s])});const l=[...t.attributes];return typeof e=="string"&&typeof n<"u"&&l.push({name:e,value:fo(n)?{...n}:n}),l.forEach(s=>{const u=gb.filter(c=>s.name.indexOf(`${c}-`)===0)[0];if(u){const c=Fu(u),d=Fu(s.name.split(`${u}-`)[1]);typeof i[c]>"u"&&(i[c]={}),i[c]===!0&&(i[c]={enabled:!0}),i[c][d]=mb(s.value)}else{const c=Fu(s.name);if(!o.includes(c))return;const d=mb(s.value);i[c]&&gb.includes(s.name)&&!fo(d)?(i[c].constructor!==Object&&(i[c]={}),i[c].enabled=!!d):i[c]=d}}),km(r,i),r.navigation?r.navigation={prevEl:".swiper-button-prev",nextEl:".swiper-button-next",...r.navigation!==!0?r.navigation:{}}:r.navigation===!1&&delete r.navigation,r.scrollbar?r.scrollbar={el:".swiper-scrollbar",...r.scrollbar!==!0?r.scrollbar:{}}:r.scrollbar===!1&&delete r.scrollbar,r.pagination?r.pagination={el:".swiper-pagination",...r.pagination!==!0?r.pagination:{}}:r.pagination===!1&&delete r.pagination,{params:r,passedParams:i}}const W4=":host{--swiper-theme-color:#007aff}:host{position:relative;display:block;margin-left:auto;margin-right:auto;z-index:1}.swiper{width:100%;height:100%;margin-left:auto;margin-right:auto;position:relative;overflow:hidden;list-style:none;padding:0;z-index:1;display:block}.swiper-vertical>.swiper-wrapper{flex-direction:column}.swiper-wrapper{position:relative;width:100%;height:100%;z-index:1;display:flex;transition-property:transform;transition-timing-function:var(--swiper-wrapper-transition-timing-function,initial);box-sizing:content-box}.swiper-android ::slotted(swiper-slide),.swiper-ios ::slotted(swiper-slide),.swiper-wrapper{transform:translate3d(0px,0,0)}.swiper-horizontal{touch-action:pan-y}.swiper-vertical{touch-action:pan-x}::slotted(swiper-slide){flex-shrink:0;width:100%;height:100%;position:relative;transition-property:transform;display:block}::slotted(.swiper-slide-invisible-blank){visibility:hidden}.swiper-autoheight,.swiper-autoheight ::slotted(swiper-slide){height:auto}.swiper-autoheight .swiper-wrapper{align-items:flex-start;transition-property:transform,height}.swiper-backface-hidden ::slotted(swiper-slide){transform:translateZ(0);-webkit-backface-visibility:hidden;backface-visibility:hidden}.swiper-3d.swiper-css-mode .swiper-wrapper{perspective:1200px}.swiper-3d .swiper-wrapper{transform-style:preserve-3d}.swiper-3d{perspective:1200px}.swiper-3d .swiper-cube-shadow,.swiper-3d ::slotted(swiper-slide){transform-style:preserve-3d}.swiper-css-mode>.swiper-wrapper{overflow:auto;scrollbar-width:none;-ms-overflow-style:none}.swiper-css-mode>.swiper-wrapper::-webkit-scrollbar{display:none}.swiper-css-mode ::slotted(swiper-slide){scroll-snap-align:start start}.swiper-css-mode.swiper-horizontal>.swiper-wrapper{scroll-snap-type:x mandatory}.swiper-css-mode.swiper-vertical>.swiper-wrapper{scroll-snap-type:y mandatory}.swiper-css-mode.swiper-free-mode>.swiper-wrapper{scroll-snap-type:none}.swiper-css-mode.swiper-free-mode ::slotted(swiper-slide){scroll-snap-align:none}.swiper-css-mode.swiper-centered>.swiper-wrapper::before{content:'';flex-shrink:0;order:9999}.swiper-css-mode.swiper-centered ::slotted(swiper-slide){scroll-snap-align:center center;scroll-snap-stop:always}.swiper-css-mode.swiper-centered.swiper-horizontal ::slotted(swiper-slide):first-child{margin-inline-start:var(--swiper-centered-offset-before)}.swiper-css-mode.swiper-centered.swiper-horizontal>.swiper-wrapper::before{height:100%;min-height:1px;width:var(--swiper-centered-offset-after)}.swiper-css-mode.swiper-centered.swiper-vertical ::slotted(swiper-slide):first-child{margin-block-start:var(--swiper-centered-offset-before)}.swiper-css-mode.swiper-centered.swiper-vertical>.swiper-wrapper::before{width:100%;min-width:1px;height:var(--swiper-centered-offset-after)}.swiper-virtual ::slotted(swiper-slide){-webkit-backface-visibility:hidden;transform:translateZ(0)}.swiper-virtual.swiper-css-mode .swiper-wrapper::after{content:'';position:absolute;left:0;top:0;pointer-events:none}.swiper-virtual.swiper-css-mode.swiper-horizontal .swiper-wrapper::after{height:1px;width:var(--swiper-virtual-size)}.swiper-virtual.swiper-css-mode.swiper-vertical .swiper-wrapper::after{width:1px;height:var(--swiper-virtual-size)}:host{--swiper-navigation-size:44px}.swiper-button-next,.swiper-button-prev{position:absolute;top:var(--swiper-navigation-top-offset,50%);width:calc(var(--swiper-navigation-size)/ 44 * 27);height:var(--swiper-navigation-size);margin-top:calc(0px - (var(--swiper-navigation-size)/ 2));z-index:10;cursor:pointer;display:flex;align-items:center;justify-content:center;color:var(--swiper-navigation-color,var(--swiper-theme-color))}.swiper-button-next.swiper-button-disabled,.swiper-button-prev.swiper-button-disabled{opacity:.35;cursor:auto;pointer-events:none}.swiper-button-next.swiper-button-hidden,.swiper-button-prev.swiper-button-hidden{opacity:0;cursor:auto;pointer-events:none}.swiper-navigation-disabled .swiper-button-next,.swiper-navigation-disabled .swiper-button-prev{display:none!important}.swiper-button-next svg,.swiper-button-prev svg{width:100%;height:100%;object-fit:contain;transform-origin:center}.swiper-rtl .swiper-button-next svg,.swiper-rtl .swiper-button-prev svg{transform:rotate(180deg)}.swiper-button-prev,.swiper-rtl .swiper-button-next{left:var(--swiper-navigation-sides-offset,10px);right:auto}.swiper-button-next,.swiper-rtl .swiper-button-prev{right:var(--swiper-navigation-sides-offset,10px);left:auto}.swiper-button-lock{display:none}.swiper-pagination{position:absolute;text-align:center;transition:.3s opacity;transform:translate3d(0,0,0);z-index:10}.swiper-pagination.swiper-pagination-hidden{opacity:0}.swiper-pagination-disabled>.swiper-pagination,.swiper-pagination.swiper-pagination-disabled{display:none!important}.swiper-horizontal>.swiper-pagination-bullets,.swiper-pagination-bullets.swiper-pagination-horizontal,.swiper-pagination-custom,.swiper-pagination-fraction{bottom:var(--swiper-pagination-bottom,8px);top:var(--swiper-pagination-top,auto);left:0;width:100%}.swiper-pagination-bullets-dynamic{overflow:hidden;font-size:0}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transform:scale(.33);position:relative}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active{transform:scale(1)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-main{transform:scale(1)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev{transform:scale(.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev-prev{transform:scale(.33)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next{transform:scale(.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next-next{transform:scale(.33)}.swiper-pagination-bullet{width:var(--swiper-pagination-bullet-width,var(--swiper-pagination-bullet-size,8px));height:var(--swiper-pagination-bullet-height,var(--swiper-pagination-bullet-size,8px));display:inline-block;border-radius:var(--swiper-pagination-bullet-border-radius,50%);background:var(--swiper-pagination-bullet-inactive-color,#000);opacity:var(--swiper-pagination-bullet-inactive-opacity, .2)}button.swiper-pagination-bullet{border:none;margin:0;padding:0;box-shadow:none;-webkit-appearance:none;appearance:none}.swiper-pagination-clickable .swiper-pagination-bullet{cursor:pointer}.swiper-pagination-bullet:only-child{display:none!important}.swiper-pagination-bullet-active{opacity:var(--swiper-pagination-bullet-opacity, 1);background:var(--swiper-pagination-color,var(--swiper-theme-color))}.swiper-pagination-vertical.swiper-pagination-bullets,.swiper-vertical>.swiper-pagination-bullets{right:var(--swiper-pagination-right,8px);left:var(--swiper-pagination-left,auto);top:50%;transform:translate3d(0px,-50%,0)}.swiper-pagination-vertical.swiper-pagination-bullets .swiper-pagination-bullet,.swiper-vertical>.swiper-pagination-bullets .swiper-pagination-bullet{margin:var(--swiper-pagination-bullet-vertical-gap,6px) 0;display:block}.swiper-pagination-vertical.swiper-pagination-bullets.swiper-pagination-bullets-dynamic,.swiper-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{top:50%;transform:translateY(-50%);width:8px}.swiper-pagination-vertical.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet,.swiper-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{display:inline-block;transition:.2s transform,.2s top}.swiper-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet,.swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet{margin:0 var(--swiper-pagination-bullet-horizontal-gap,4px)}.swiper-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic,.swiper-pagination-horizontal.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{left:50%;transform:translateX(-50%);white-space:nowrap}.swiper-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet,.swiper-pagination-horizontal.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transition:.2s transform,.2s left}.swiper-horizontal.swiper-rtl>.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transition:.2s transform,.2s right}.swiper-pagination-fraction{color:var(--swiper-pagination-fraction-color,inherit)}.swiper-pagination-progressbar{background:var(--swiper-pagination-progressbar-bg-color,rgba(0,0,0,.25));position:absolute}.swiper-pagination-progressbar .swiper-pagination-progressbar-fill{background:var(--swiper-pagination-color,var(--swiper-theme-color));position:absolute;left:0;top:0;width:100%;height:100%;transform:scale(0);transform-origin:left top}.swiper-rtl .swiper-pagination-progressbar .swiper-pagination-progressbar-fill{transform-origin:right top}.swiper-horizontal>.swiper-pagination-progressbar,.swiper-pagination-progressbar.swiper-pagination-horizontal,.swiper-pagination-progressbar.swiper-pagination-vertical.swiper-pagination-progressbar-opposite,.swiper-vertical>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite{width:100%;height:var(--swiper-pagination-progressbar-size,4px);left:0;top:0}.swiper-horizontal>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite,.swiper-pagination-progressbar.swiper-pagination-horizontal.swiper-pagination-progressbar-opposite,.swiper-pagination-progressbar.swiper-pagination-vertical,.swiper-vertical>.swiper-pagination-progressbar{width:var(--swiper-pagination-progressbar-size,4px);height:100%;left:0;top:0}.swiper-pagination-lock{display:none}.swiper-scrollbar{border-radius:var(--swiper-scrollbar-border-radius,10px);position:relative;touch-action:none;background:var(--swiper-scrollbar-bg-color,rgba(0,0,0,.1))}.swiper-scrollbar-disabled>.swiper-scrollbar,.swiper-scrollbar.swiper-scrollbar-disabled{display:none!important}.swiper-horizontal>.swiper-scrollbar,.swiper-scrollbar.swiper-scrollbar-horizontal{position:absolute;left:var(--swiper-scrollbar-sides-offset,1%);bottom:var(--swiper-scrollbar-bottom,4px);top:var(--swiper-scrollbar-top,auto);z-index:50;height:var(--swiper-scrollbar-size,4px);width:calc(100% - 2 * var(--swiper-scrollbar-sides-offset,1%))}.swiper-scrollbar.swiper-scrollbar-vertical,.swiper-vertical>.swiper-scrollbar{position:absolute;left:var(--swiper-scrollbar-left,auto);right:var(--swiper-scrollbar-right,4px);top:var(--swiper-scrollbar-sides-offset,1%);z-index:50;width:var(--swiper-scrollbar-size,4px);height:calc(100% - 2 * var(--swiper-scrollbar-sides-offset,1%))}.swiper-scrollbar-drag{height:100%;width:100%;position:relative;background:var(--swiper-scrollbar-drag-bg-color,rgba(0,0,0,.5));border-radius:var(--swiper-scrollbar-border-radius,10px);left:0;top:0}.swiper-scrollbar-cursor-drag{cursor:move}.swiper-scrollbar-lock{display:none}::slotted(.swiper-slide-zoomed){cursor:move;touch-action:none}.swiper .swiper-notification{position:absolute;left:0;top:0;pointer-events:none;opacity:0;z-index:-1000}.swiper-free-mode>.swiper-wrapper{transition-timing-function:ease-out;margin:0 auto}.swiper-grid>.swiper-wrapper{flex-wrap:wrap}.swiper-grid-column>.swiper-wrapper{flex-wrap:wrap;flex-direction:column}.swiper-fade.swiper-free-mode ::slotted(swiper-slide){transition-timing-function:ease-out}.swiper-fade ::slotted(swiper-slide){pointer-events:none;transition-property:opacity}.swiper-fade ::slotted(swiper-slide) ::slotted(swiper-slide){pointer-events:none}.swiper-fade ::slotted(.swiper-slide-active){pointer-events:auto}.swiper-fade ::slotted(.swiper-slide-active) ::slotted(.swiper-slide-active){pointer-events:auto}.swiper-cube{overflow:visible}.swiper-cube ::slotted(swiper-slide){pointer-events:none;-webkit-backface-visibility:hidden;backface-visibility:hidden;z-index:1;visibility:hidden;transform-origin:0 0;width:100%;height:100%}.swiper-cube ::slotted(swiper-slide) ::slotted(swiper-slide){pointer-events:none}.swiper-cube.swiper-rtl ::slotted(swiper-slide){transform-origin:100% 0}.swiper-cube ::slotted(.swiper-slide-active),.swiper-cube ::slotted(.swiper-slide-active) ::slotted(.swiper-slide-active){pointer-events:auto}.swiper-cube ::slotted(.swiper-slide-active),.swiper-cube ::slotted(.swiper-slide-next),.swiper-cube ::slotted(.swiper-slide-prev){pointer-events:auto;visibility:visible}.swiper-cube .swiper-cube-shadow{position:absolute;left:0;bottom:0px;width:100%;height:100%;opacity:.6;z-index:0}.swiper-cube .swiper-cube-shadow:before{content:'';background:#000;position:absolute;left:0;top:0;bottom:0;right:0;filter:blur(50px)}.swiper-cube ::slotted(.swiper-slide-next)+::slotted(swiper-slide){pointer-events:auto;visibility:visible}.swiper-flip{overflow:visible}.swiper-flip ::slotted(swiper-slide){pointer-events:none;-webkit-backface-visibility:hidden;backface-visibility:hidden;z-index:1}.swiper-flip ::slotted(swiper-slide) ::slotted(swiper-slide){pointer-events:none}.swiper-flip ::slotted(.swiper-slide-active),.swiper-flip ::slotted(.swiper-slide-active) ::slotted(.swiper-slide-active){pointer-events:auto}.swiper-creative ::slotted(swiper-slide){-webkit-backface-visibility:hidden;backface-visibility:hidden;overflow:hidden;transition-property:transform,opacity,height}.swiper-cards{overflow:visible}.swiper-cards ::slotted(swiper-slide){transform-origin:center bottom;-webkit-backface-visibility:hidden;backface-visibility:hidden;overflow:hidden}",G4="::slotted(.swiper-slide-shadow),::slotted(.swiper-slide-shadow-bottom),::slotted(.swiper-slide-shadow-left),::slotted(.swiper-slide-shadow-right),::slotted(.swiper-slide-shadow-top){position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none;z-index:10}::slotted(.swiper-slide-shadow){background:rgba(0,0,0,.15)}::slotted(.swiper-slide-shadow-left){background-image:linear-gradient(to left,rgba(0,0,0,.5),rgba(0,0,0,0))}::slotted(.swiper-slide-shadow-right){background-image:linear-gradient(to right,rgba(0,0,0,.5),rgba(0,0,0,0))}::slotted(.swiper-slide-shadow-top){background-image:linear-gradient(to top,rgba(0,0,0,.5),rgba(0,0,0,0))}::slotted(.swiper-slide-shadow-bottom){background-image:linear-gradient(to bottom,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-lazy-preloader{animation:swiper-preloader-spin 1s infinite linear;width:42px;height:42px;position:absolute;left:50%;top:50%;margin-left:-21px;margin-top:-21px;z-index:10;transform-origin:50%;box-sizing:border-box;border:4px solid var(--swiper-preloader-color,var(--swiper-theme-color));border-radius:50%;border-top-color:transparent}@keyframes swiper-preloader-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}::slotted(.swiper-slide-shadow-cube.swiper-slide-shadow-bottom),::slotted(.swiper-slide-shadow-cube.swiper-slide-shadow-left),::slotted(.swiper-slide-shadow-cube.swiper-slide-shadow-right),::slotted(.swiper-slide-shadow-cube.swiper-slide-shadow-top){z-index:0;-webkit-backface-visibility:hidden;backface-visibility:hidden}::slotted(.swiper-slide-shadow-flip.swiper-slide-shadow-bottom),::slotted(.swiper-slide-shadow-flip.swiper-slide-shadow-left),::slotted(.swiper-slide-shadow-flip.swiper-slide-shadow-right),::slotted(.swiper-slide-shadow-flip.swiper-slide-shadow-top){z-index:0;-webkit-backface-visibility:hidden;backface-visibility:hidden}::slotted(.swiper-zoom-container){width:100%;height:100%;display:flex;justify-content:center;align-items:center;text-align:center}::slotted(.swiper-zoom-container)>canvas,::slotted(.swiper-zoom-container)>img,::slotted(.swiper-zoom-container)>svg{max-width:100%;max-height:100%;object-fit:contain}";class q4{}const ik=typeof window>"u"||typeof HTMLElement>"u"?q4:HTMLElement,yb=` + `,ak=(t,e)=>{if(typeof CSSStyleSheet<"u"&&t.adoptedStyleSheets){const n=new CSSStyleSheet;n.replaceSync(e),t.adoptedStyleSheets=[n]}else{const n=document.createElement("style");n.rel="stylesheet",n.textContent=e,t.appendChild(n)}};class ok extends ik{constructor(){super(),this.attachShadow({mode:"open"})}static get nextButtonSvg(){return yb}static get prevButtonSvg(){return yb.replace("/>",' transform-origin="center" transform="rotate(180)"/>')}cssStyles(){return[W4,...this.injectStyles&&Array.isArray(this.injectStyles)?this.injectStyles:[]].join(` +`)}cssLinks(){return this.injectStylesUrls||[]}calcSlideSlots(){const e=this.slideSlots||0,n=[...this.querySelectorAll("[slot^=slide-]")].map(r=>parseInt(r.getAttribute("slot").split("slide-")[1],10));if(this.slideSlots=n.length?Math.max(...n)+1:0,!!this.rendered){if(this.slideSlots>e)for(let r=e;r=0;i-=1)i>this.slideSlots&&r[i].remove()}}}render(){if(this.rendered)return;this.calcSlideSlots();let e=this.cssStyles();this.slideSlots>0&&(e=e.replace(/::slotted\(([a-z-0-9.]*)\)/g,"$1")),e.length&&ak(this.shadowRoot,e),this.cssLinks().forEach(r=>{if(this.shadowRoot.querySelector(`link[href="${r}"]`))return;const a=document.createElement("link");a.rel="stylesheet",a.href=r,this.shadowRoot.appendChild(a)});const n=document.createElement("div");n.classList.add("swiper"),n.part="container",n.innerHTML=`
@@ -266,24 +266,24 @@ html body { `).join("")}
- ${V4(this.passedParams)?` + ${z4(this.passedParams)?`
${this.constructor.prevButtonSvg}
${this.constructor.nextButtonSvg}
`:""} - ${j4(this.passedParams)?` + ${B4(this.passedParams)?`
`:""} - ${$4(this.passedParams)?` + ${H4(this.passedParams)?`
`:""} - `,this.shadowRoot.appendChild(n),this.rendered=!0}initialize(){var e=this;if(this.initialized)return;this.initialized=!0;const{params:n,passedParams:r}=gb(this);this.swiperParams=n,this.passedParams=r,delete this.swiperParams.init,this.render(),this.swiper=new cn(this.shadowRoot.querySelector(".swiper"),{...n.virtual?{}:{observer:!0,observeSlideChildren:this.slideSlots>0},...n,touchEventsTarget:"container",onAny:function(i){i==="observerUpdate"&&e.calcSlideSlots();const a=n.eventsPrefix?`${n.eventsPrefix}${i.toLowerCase()}`:i.toLowerCase();for(var o=arguments.length,l=new Array(o>1?o-1:0),s=1;sn.includes("_")).map(n=>n.replace(/[A-Z]/g,r=>`-${r}`).replace("_","").toLowerCase())}}xd.forEach(t=>{t!=="init"&&(t=t.replace("_",""),Object.defineProperty(ak.prototype,t,{configurable:!0,get(){return(this.passedParams||{})[t]},set(e){this.passedParams||(this.passedParams={}),this.passedParams[t]=e,this.initialized&&this.updateSwiperOnPropChange(t,e)}}))});class W4 extends rk{constructor(){super(),this.attachShadow({mode:"open"})}render(){const e=this.lazy||this.getAttribute("lazy")===""||this.getAttribute("lazy")==="true";if(ik(this.shadowRoot,H4),this.shadowRoot.appendChild(document.createElement("slot")),e){const n=document.createElement("div");n.classList.add("swiper-lazy-preloader"),n.part.add("preloader"),this.shadowRoot.appendChild(n)}}initialize(){this.render()}connectedCallback(){this.initialize()}}const G4=()=>{typeof window>"u"||(window.customElements.get("swiper-container")||window.customElements.define("swiper-container",ak),window.customElements.get("swiper-slide")||window.customElements.define("swiper-slide",W4))};typeof window<"u"&&(window.SwiperElementRegisterParams=t=>{xd.push(...t)});const q4=[{id:1,name:"Dummy User 1",role:"Frontend Engineer",img:"https://avatars.githubusercontent.com/u/1111111",comment:"Great resource for learning and frontend interview preparation. It helped me to crack browser coding rounds of multiple companies"}];G4();function X4(){return V.jsxs("section",{children:[V.jsx("h2",{id:"testimonials",className:bc.heading,children:"Testimonials"}),V.jsxs("swiper-container",{slidesPerView:2,spaceBetween:30,loop:!0,navigation:!0,pagination:{clickable:!0},modules:[JP,ZP],children:[V.jsx("swiper-slide",{children:V.jsx("article",{className:bc.testimonial,children:V.jsxs("h3",{className:"text-center",children:["If you are benefited from these challenges for interviews or learning, please consider adding your testimonial by submitting the details"," ",V.jsx("a",{href:"https://forms.gle/2hJGa3foKuPctiWE7",target:"_blank",rel:"noreferrer",children:"here"})]})})}),q4.map(t=>V.jsx(T5,{testimonial:t},t.id))]})]})}const K4="_topBtn_1lydx_1",Y4={topBtn:K4};function ok(){const[t,e]=S.useState(!1);S.useEffect(()=>{window.addEventListener("scroll",()=>{window.scrollY>100?e(!0):e(!1)})},[]);const n=()=>{window.scrollTo({top:0,behavior:"smooth"})};return t&&V.jsx("button",{className:Y4.topBtn,onClick:n,children:V.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",fill:"currentColor",className:"bi bi-chevron-double-up",viewBox:"0 0 16 16",children:[V.jsx("path",{fillRule:"evenodd",d:"M7.646 2.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1-.708.708L8 3.707 2.354 9.354a.5.5 0 1 1-.708-.708l6-6z"}),V.jsx("path",{fillRule:"evenodd",d:"M7.646 6.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1-.708.708L8 7.707l-5.646 5.647a.5.5 0 0 1-.708-.708l6-6z"})]})})}function Q4(){return V.jsxs(V.Fragment,{children:[V.jsxs(Dv,{children:[V.jsx(Eu,{to:"#whyUs",children:"Why us?"}),V.jsx(Eu,{to:"#testimonials",children:"Testimonials"}),V.jsx(Eu,{to:"#contributors",children:"Contributors"}),V.jsx(Wc,{to:"/leaderboard",children:"Leaderboard"})]}),V.jsxs("div",{className:Xo.container,children:[V.jsx(a_,{}),V.jsx("hr",{className:Xo.hr}),V.jsx(zN,{}),V.jsx("hr",{className:Xo.hr}),V.jsx(X4,{}),V.jsx("hr",{className:Xo.hr}),V.jsx(_N,{}),V.jsx(UN,{}),V.jsx(ok,{})]})]})}const Ed=new Map([["DeePaK-HeeRaKaRi",{name:"Deepak Heerakari",pic:"https://avatars.githubusercontent.com/u/63955160"}],["sadanandpai",{name:"Sadanand Pai",pic:"https://avatars.githubusercontent.com/u/12962887"}],["arpansaha13",{name:"Arpan Saha",pic:"https://avatars.githubusercontent.com/u/82361490"}],["noorulaink00",{name:"Noor Ul Ain Khan",pic:"https://avatars.githubusercontent.com/u/65324193"}],["sahankatta",{name:"Sahan Katta",pic:"https://avatars.githubusercontent.com/u/65811236"}],["rashidtvmr",{name:"Rashid",pic:"https://avatars.githubusercontent.com/u/58169715"}],["gauravsinhaweb",{name:"Gaurav Sinha",pic:"https://avatars.githubusercontent.com/u/75125943"}],["Kei-K23",{name:"Kei-K",pic:"https://avatars.githubusercontent.com/u/134714087"}],["caesar003",{name:"Khaisar Muksid",pic:"https://avatars.githubusercontent.com/u/37962465"}],["christian-lee1398",{name:"Christian Lee",pic:"https://avatars.githubusercontent.com/u/83561483"}],["Sukomal07",{name:"Sukomal Dutta",pic:"https://avatars.githubusercontent.com/u/100500478"}],["5h0ov",{name:"Shuvadipta Das",pic:"https://avatars.githubusercontent.com/u/83227649"}],["shruti-sen2004",{name:"Shruti Sen",pic:"https://avatars.githubusercontent.com/u/115914670"}],["Kushal347",{name:"Kushal Agrawal",pic:"https://avatars.githubusercontent.com/u/115914670"}],["AbhineshJha",{name:"ABHINESH KUMAR JHA",pic:"https://avatars.githubusercontent.com/u/142514166"}],["hritik",{name:"Hritik Bhattacharya",pic:"https://avatars.githubusercontent.com/u/44370586"}],["viditagrawal56",{name:"Vidit Agrawal",pic:"https://avatars.githubusercontent.com/u/52532308"}],["VishakhaSainani",{name:"Vishakha Sainani",pic:"https://avatars.githubusercontent.com/u/113436770"}],["shivam200446",{name:"Shivam",pic:"https://avatars.githubusercontent.com/u/127589548?s=96&v=4"}],["Vivek-GuptaXCode",{name:"Vivek Kumar Gupta",pic:"https://avatars.githubusercontent.com/u/145761266"}],["CrypticRevenger",{name:"Spandan Tripathy",pic:"https://avatars.githubusercontent.com/u/128175097"}],["AckermanLevi1",{name:"Aryan Bhargava",pic:"https://avatars.githubusercontent.com/u/114604529"}],["sujitmahapatra",{name:"Sujit Mahapatra",pic:"https://avatars.githubusercontent.com/u/127632703"}],["avtech",{name:"Ayush Varshney",pic:"https://avatars.githubusercontent.com/u/97428742"}],["pranav514",{name:"Pranav",pic:"https://avatars.githubusercontent.com/u/76992202"}],["Bratajit-03",{name:"Bratajit Das",pic:"https://avatars.githubusercontent.com/u/106532791"}],["DhanushNehru",{name:"Dhanush Nehru",pic:"https://avatars.githubusercontent.com/u/22955675"}],["itsayopapi",{name:"Ayomide Hassan",pic:"https://avatars.githubusercontent.com/u/111683116"}],["srijanB7",{name:"Srijan B7",pic:"https://avatars.githubusercontent.com/u/115921421"}],["AdityaSuryawanshi",{name:"Aditya Suryawanshi",pic:"https://avatars.githubusercontent.com/u/124609794"}],["NikhilJHA01",{name:"Nikhil Jha",pic:"https://avatars.githubusercontent.com/u/63518046"}],["deepu0",{name:"Deepak Kumar",pic:"https://avatars.githubusercontent.com/u/22304384"}],["deepakRikhav",{name:"Deepak Rikhav",pic:"https://avatars.githubusercontent.com/u/97227284"}],["deepakrajkranti",{name:"Deepak Raj",pic:"https://avatars.githubusercontent.com/u/88797436"}],["insharahAyyubi",{name:"Insharah Ayyubi",pic:"https://avatars.githubusercontent.com/u/103804673"}],["ayush-dutt-sharma",{name:"Ayush Dutt Sharma",pic:"https://avatars.githubusercontent.com/u/73738613"}],["dhanu084",{name:"Dhanush Kiran",pic:"https://avatars.githubusercontent.com/u/54932658"}],["kumaratul60",{name:"Atul Kumar Awasthi",pic:"https://avatars.githubusercontent.com/u/53579888"}],["ravi02205",{name:"Ravi Kumar Panchal",pic:"https://avatars.githubusercontent.com/u/81222901"}],["harsh472000",{name:"Harsh Meghani",pic:"https://avatars.githubusercontent.com/u/55913938"}],["Pancratzia",{name:"Laura Ortega",pic:"https://avatars.githubusercontent.com/u/54899954"}],["ashikjhonson",{name:"Ashik Jhonson",pic:"https://avatars.githubusercontent.com/u/97791612"}],["Krishnakalani111",{name:"Krishna Kalani",pic:"https://avatars.githubusercontent.com/u/88764668"}],["Bhushan1019",{name:"Bhushan Patil",pic:"https://avatars.githubusercontent.com/u/121352274"}],["Sumitwarrior7",{name:"Cool Dude 69",pic:"https://avatars.githubusercontent.com/u/108853577"}],["rishabhm05",{name:"Rishabh Mehta",pic:"https://avatars.githubusercontent.com/u/67910259"}],["jeevaramanathan",{name:"Jeeva Ramanathan",pic:"https://avatars.githubusercontent.com/u/64531160"}],["AbhilashMadi",{name:"Abhilash",pic:"https://avatars.githubusercontent.com/u/109837171"}],["AnkitKTrivedi",{name:"Ankit Kumar Trivedi",pic:"https://avatars.githubusercontent.com/u/38967951"}],["jaydadhaniya",{name:"Jay Dadhaniya",pic:"https://avatars.githubusercontent.com/u/24772528"}],["pankajparkar",{name:"Pankaj Parkar",pic:"https://avatars.githubusercontent.com/u/5320044"}],["bhumikkalola",{name:"Bhumik Kalola",pic:"https://avatars.githubusercontent.com/u/147032346"}],["babandakale",{name:"Baban Dakale",pic:"https://avatars.githubusercontent.com/u/142794846"}],["Manmit Tiwade",{name:"Manmit Tiwade",pic:"https://avatars.githubusercontent.com/u/112580293"}],["liza",{name:"Liza",pic:"https://avatars.githubusercontent.com/u/78140921"}],["Shardik04",{name:"Hardik Shah",pic:"https://avatars.githubusercontent.com/u/11913104"}],["Vivek7038",{name:"Vivek Chavan",pic:"https://avatars.githubusercontent.com/u/95691809"}],["codechitra",{name:"Akash Deep Chitransh",pic:"https://avatars.githubusercontent.com/u/85569078"}],["takshch",{name:"Taksh Chanana",pic:"https://avatars.githubusercontent.com/u/26649558"}],["Syamsai-Polavarapu",{name:"Syamsai Polavarapu",pic:"https://avatars.githubusercontent.com/u/25497768"}],["Akshay-Omkar",{name:"Akshay Omkar",pic:"https://avatars.githubusercontent.com/u/62467248"}],["Bateusz",{name:"Mateusz",pic:"https://avatars.githubusercontent.com/u/55596139"}],["ssudipta",{name:"Sudipta Saha",pic:"https://avatars.githubusercontent.com/u/10368983"}],["Akshat-Gupta",{name:"Akshat Gupta",pic:"https://avatars.githubusercontent.com/u/53713926"}]]);var z=(t=>(t.Easy="easy",t.Medium="medium",t.Hard="hard",t))(z||{});const yb=[z.Easy,z.Medium,z.Hard];function Cd(t){return new Map([...t.entries()].sort((e,n)=>{const r=yb.indexOf(e[1].difficulty),i=yb.indexOf(n[1].difficulty);return r-i}))}function Z4(t,e){if(!e||e.length===0)return t;const n=e.map(i=>i.value);return t.filter(i=>n.includes(i.developer))}function J4(t,e){return!e||e.length===0?t:t.filter(r=>r==null?void 0:r.title.toLowerCase().includes(e.toLowerCase()))}function e6(t,e){if(!e||e.length===0)return t;const n=e.map(r=>r.value);return t.filter(r=>n.includes(r.difficulty))}function t6({challenges:t,title:e,contributors:n,difficulties:r}){if((!e||e.length===0)&&(!n||n.length===0)&&(!r||r.length===0))return t;let i=J4(t,e);return i=Z4(i,n),i=e6(i,r),i}const n6=new Map([["counter",{title:"Counter",link:"counter/",difficulty:z.Easy,developer:"sadanandpai",youtube:"https://youtu.be/9OIeUtXX3SA",tags:[]}],["bmi-calculator",{title:"BMI Calculator",link:"bmi-calculator/",difficulty:z.Easy,developer:"itsayopapi",tags:[]}],["dice-game",{title:"Dice Game",link:"dice-game/",difficulty:z.Easy,developer:"shivam200446",tags:[],isNew:!0}],["roll-dice",{title:"Roll dice",link:"roll-dice/",difficulty:z.Easy,developer:"babandakale",tags:[]}],["guess-the-number",{title:"Guess the number",link:"guess-the-number/",difficulty:z.Easy,developer:"sadanandpai",youtube:"https://youtu.be/L1Da3GWEGpY",tags:[]}],["string-transformers",{title:"String transformers",link:"string-transformers/",difficulty:z.Easy,developer:"sadanandpai",youtube:"https://youtu.be/crCZEJ6Lmgc",tags:[]}],["file-uploader",{title:"File Uploader",link:"file-uploader/",difficulty:z.Easy,developer:"avtech",tags:[],isNew:!0}],["telephone-formatter",{title:"Telephone formatter",link:"telephone-formatter/",difficulty:z.Easy,developer:"sadanandpai",youtube:"https://youtu.be/E85ldVqAGjw",tags:[]}],["dialog-popup",{title:"Dialog Popup",link:"dialog-popup/",difficulty:z.Easy,developer:"sahankatta",youtube:"https://youtu.be/aIzyEDi6zgU",tags:[]}],["light-dark-mode",{title:"Light & Dark mode",link:"light-dark-mode/",difficulty:z.Easy,developer:"sadanandpai",youtube:"https://youtu.be/hxcGGhjYNFE",tags:[]}],["skeleton-loader",{title:"Skeleton Loader",link:"skeleton-loader/",difficulty:z.Easy,developer:"sahankatta",youtube:"https://youtu.be/FEtTRjq1P6I",tags:[]}],["spinning-loader",{title:"Spinning Loader",link:"spinning-loader/",difficulty:z.Easy,developer:"DhanushNehru",tags:[]}],["music-kit",{title:"Music Kit",link:"music-kit/",difficulty:z.Easy,developer:"shivam200446",tags:[]}],["currency-converter",{title:"Currency Converter",link:"currency-converter/",difficulty:z.Easy,developer:"pranav514",tags:[],isNew:!0}],["accordion",{title:"Accordion",link:"accordion/",difficulty:z.Easy,developer:"rashidtvmr",youtube:"https://youtu.be/03KFXudVaoo",tags:[]}],["navigation-bar",{title:"Navigation Bar",link:"navigation-bar/",difficulty:z.Easy,developer:"christian-lee1398",youtube:"https://youtu.be/urA5ogzG0L0",tags:[]}],["Footer",{title:"Footer",link:"Footer/",difficulty:z.Easy,developer:"AbhineshJha",youtube:"https://youtu.be/FRRlFLfdvBE?si=HWn88BwJGTJvEBUD",tags:[],isNew:!0}],["rock-paper-scissor",{title:"Rock Paper Scissor",link:"rock-paper-scissor/",difficulty:z.Easy,developer:"AckermanLevi1",tags:[],isNew:!0}],["MadStory_generator",{title:"MadStory Generator",link:"MadStory_generator/",difficulty:z.Easy,developer:"hritik",tags:[]}],["multi-typing",{title:"Multi Typing",link:"multi-typing/",difficulty:z.Easy,developer:"noorulaink00",youtube:"https://youtu.be/YCDeOT7DRnI",tags:[]}],["bill-spilt",{title:"Bill Split",link:"bill-spilt/",difficulty:z.Easy,developer:"Sukomal07",youtube:"https://youtu.be/4H2DyrSJeYc",tags:[]}],["simon-game",{title:"Simon game",link:"simon-game/",difficulty:z.Easy,developer:"VishakhaSainani",tags:[],isNew:!0}],["blobmaker",{title:"Blob Maker",link:"blobmaker/",difficulty:z.Easy,developer:"AbhineshJha",tags:[]}],["fitness-tracker",{title:"Fitness Tracker",link:"fitness-tracker/",difficulty:z.Easy,developer:"CrypticRevenger",tags:[]}],["atm-simulator",{title:"ATM Simulator",link:"atm-simulator/",difficulty:z.Easy,developer:"Bratajit-03",tags:[],isNew:!0}],["finance-tracker",{title:"Finance Tracker",link:"finance-tracker/",difficulty:z.Medium,developer:"sujitmahapatra",tags:[]}],["meme-generator",{title:"Meme Generator",link:"meme-generator/",difficulty:z.Medium,developer:"noorulaink00",youtube:"https://youtu.be/LHo9Hi47MTo",tags:[]}],["weather-app",{title:"Weather App",link:"weather-app/",difficulty:z.Medium,developer:"shruti-sen2004",tags:[],isNew:!0}],["toast-popup",{title:"Toast Popup",link:"toast-popup/",difficulty:z.Medium,developer:"sadanandpai",youtube:"https://youtu.be/-p3N5bJXEK8",tags:[]}],["css-shapes",{title:"CSS Shapes",link:"css-shapes/",difficulty:z.Medium,developer:"sadanandpai",tags:[]}],["column-table",{title:"Column Table",link:"column-table/",difficulty:z.Medium,developer:"sadanandpai",tags:[]}],["password-strength",{title:"Password Strength",link:"password-strength/",difficulty:z.Medium,developer:"sadanandpai",tags:[]}],["star-rating",{title:"Star Rating",link:"star-rating/",difficulty:z.Medium,developer:"sadanandpai",tags:[]}],["star-rating-display",{title:"Star Rating Display",link:"star-rating-display/",difficulty:z.Medium,developer:"sadanandpai",tags:[]}],["pixel-art",{title:"Pixel Art",link:"pixel-art/",difficulty:z.Medium,developer:"sadanandpai",tags:[]}],["word-counter",{title:"Word Counter (online)",link:"word-counter/",difficulty:z.Medium,developer:"AckermanLevi1",tags:[]}],["color-spotter",{title:"Color Spotter",link:"color-spotter/",difficulty:z.Medium,developer:"sadanandpai",tags:[]}],["todo-list",{title:"Todo List",link:"todo-list/",difficulty:z.Medium,developer:"sadanandpai",tags:[]}],["gradient-generator",{title:"Gradient Generator",link:"gradient-generator/",difficulty:z.Medium,developer:"Sukomal07",tags:[],isNew:!0}],["transfer-list",{title:"Transfer List",link:"transfer-list/",difficulty:z.Medium,developer:"sadanandpai",tags:[]}],["lift-simulation",{title:"Lift Simulation",link:"lift-simulation/",difficulty:z.Medium,developer:"gauravsinhaweb",tags:[],isNew:!0}],["tic-tac-toe",{title:"Tic-Tac-Toe",link:"tic-tac-toe/",difficulty:z.Medium,developer:"sadanandpai",tags:[]}],["chess-board",{title:"Chess board",link:"chess-board/",difficulty:z.Medium,developer:"sadanandpai",tags:[]}],["chips-input",{title:"Chips Input",link:"chips-input/",difficulty:z.Medium,developer:"sadanandpai",tags:[]}],["infinite-scroll",{title:"Infinite Scroll",link:"infinite-scroll/",difficulty:z.Medium,developer:"srijanB7",tags:[]}],["password-generator",{title:"Password Generator",link:"password-generator/",difficulty:z.Medium,developer:"sadanandpai",tags:[]}],["analog-clock",{title:"Analog Clock",link:"analog-clock/",difficulty:z.Medium,developer:"sadanandpai",tags:[]}],["drag-and-drop-puzzle",{title:"Drag and Drop Puzzle",link:"drag-and-drop-puzzle/",difficulty:z.Medium,developer:"noorulaink00",tags:[],isNew:!0}],["basic-calculator",{title:"Basic calculator",link:"basic-calculator/",difficulty:z.Medium,developer:"sadanandpai",tags:[]}],["match-pair",{title:"Match Pair",link:"match-pair/",difficulty:z.Medium,developer:"sadanandpai",tags:[]}],["typing-speed-test",{title:"Typing Speed Test",link:"typing-speed-test/",difficulty:z.Medium,developer:"sadanandpai",tags:[]}],["count-down-timer",{title:"Countdown Timer",link:"count-down-timer/",difficulty:z.Medium,developer:"sadanandpai",tags:[]}],["otp-input",{title:"OTP Input",link:"otp-input/",difficulty:z.Medium,developer:"sadanandpai",tags:[]}],["quiz-app",{title:"Quiz App",link:"quiz-app/",difficulty:z.Medium,developer:"Kei-K23",tags:[],isNew:!0}],["sorting-visualizer",{title:"Sorting Visualizer",link:"sorting-visualizer/",difficulty:z.Medium,developer:"viditagrawal56",tags:[],isNew:!0}],["snake-game",{title:"Snake Game",link:"snake-game/",difficulty:z.Medium,developer:"Kei-K23",tags:[]}],["hangman-game",{title:"Hangman Game",link:"hangman-game/",difficulty:z.Medium,developer:"Kei-K23",tags:[],isNew:!0}],["area-selector",{title:"Area Selector",link:"area-selector/",difficulty:z.Medium,developer:"sadanandpai",tags:[]}],["25-5-clock",{title:"25-5 Clock",link:"25-5-clock/",difficulty:z.Medium,developer:"caesar003",tags:[]}],["carousel",{title:"Carousel",link:"carousel/",difficulty:z.Medium,developer:"sadanandpai",tags:[]}],["calendar",{title:"Calendar",link:"calendar/",difficulty:z.Medium,developer:"sadanandpai",tags:[]}],["progress-bar",{title:"Progress Bar",link:"progress-bar/",difficulty:z.Medium,developer:"sadanandpai",tags:[]}],["movie-info",{title:"Movie-info app (online)",link:"movie-info/",difficulty:z.Medium,developer:"AckermanLevi1",tags:[]}],["quiz-app-with-timer",{title:"Quiz App with Timer",link:"quiz-app-with-timer/",difficulty:z.Medium,developer:"Vivek-GuptaXCode",tags:[]}],["paginator",{title:"Paginator",link:"paginator/",difficulty:z.Hard,developer:"sadanandpai",tags:[]}],["connect-four",{title:"Connect Four",link:"connect-four/",difficulty:z.Hard,developer:"sadanandpai",tags:[]}],["comment-box",{title:"Comment box",link:"comment-box/",difficulty:z.Hard,developer:"sadanandpai",tags:[]}],["json-creator",{title:"JSON Creator",link:"json-creator/",difficulty:z.Hard,developer:"sadanandpai",tags:[]}],["array-methods",{title:"Array methods",link:"array-methods/",difficulty:z.Hard,developer:"sadanandpai",tags:[]}],["type-ahead",{title:"Typeahead / Autocomplete (offline)",link:"type-ahead/",difficulty:z.Hard,developer:"sadanandpai",tags:[]}],["type-ahead-online",{title:"Typeahead / Autocomplete (online)",link:"type-ahead-online/",difficulty:z.Hard,developer:"sadanandpai",tags:[]}]]),sk=Cd(n6),r6=new Map([["counter",{title:"Counter",link:"counter",difficulty:z.Easy,developer:"sadanandpai",tags:[]}],["programming-languages-multiverse",{title:"Programming Multiverse",link:"programming-languages-multiverse",difficulty:z.Easy,developer:"Sumitwarrior7",tags:[]}],["anagram-checker",{title:"Anagram Checker",link:"anagram-checker",difficulty:z.Easy,developer:"Manmit Tiwade",tags:[]}],["quote-generator",{title:"Quote Generator",link:"quote-generator",difficulty:z.Easy,developer:"viditagrawal56",tags:[]}],["image-gallery",{title:"Image Gallery",link:"image-gallery",difficulty:z.Easy,developer:"Bhushan1019",tags:[]}],["accordion",{title:"Accordion",link:"accordion",developer:"NikhilJHA01",difficulty:z.Easy,tags:[]}],["background-changer",{title:"Background Changer",link:"background-changer",developer:"AdityaSuryawanshi",difficulty:z.Easy,tags:[]}],["light-dark-mode",{title:"Light Dark Mode",link:"light-dark-mode",difficulty:z.Easy,developer:"NikhilJHA01",tags:[]}],["qr-code-generator",{title:"QR generator",link:"qr-code-generator",difficulty:z.Easy,developer:"Krishnakalani111",tags:[]}],["your-sport",{title:"Your Sport",link:"your-sport",difficulty:z.Easy,developer:"Sumitwarrior7",tags:[]}],["table-colorizer",{title:"Table Colorizer",link:"table-colorizer",difficulty:z.Easy,developer:"ravi02205",tags:[]}],["Guess-the-number",{title:"Guess the number",link:"Guess-the-number",difficulty:z.Easy,developer:"deepakrajkranti",tags:[]}],["pagination",{title:"Pagination",link:"pagination",difficulty:z.Easy,developer:"Pancratzia",tags:[]}],["stack",{title:"Stack",link:"stack",difficulty:z.Easy,developer:"kumaratul60",tags:[]}],["word-count",{title:"Word Count",link:"word-count",difficulty:z.Easy,developer:"Sumitwarrior7",tags:[]}],["temperature-converter",{title:"Temperature Converter",link:"temperature-converter",difficulty:z.Easy,developer:"Sumitwarrior7",tags:[]}],["star-Rating",{title:"Star Rating",link:"star-Rating",difficulty:z.Easy,developer:"NikhilJHA01",tags:[]}],["telephone-formatter",{title:"Telephone formatter",link:"telephone-formatter",difficulty:z.Easy,developer:"arpansaha13",tags:[]}],["string-transformers",{title:"String transformers",link:"string-transformers",difficulty:z.Easy,developer:"arpansaha13",tags:[]}],["tic-tac-toe",{title:"Tic Tac Toe",link:"tic-tac-toe",difficulty:z.Easy,developer:"rashidtvmr",tags:[]}],["expense-tracker",{title:"Expense Tracker",link:"expense-tracker",difficulty:z.Easy,developer:"harsh472000",tags:[]}],["25-5-clock",{title:"25-5 Clock",link:"25-5-clock",difficulty:z.Easy,developer:"caesar003",tags:[]}],["bmi-calculator",{title:"BMI Calculator",link:"bmi-calculator",difficulty:z.Easy,developer:"ashikjhonson",tags:[]}],["stepper",{title:"STEPPER",link:"stepper",difficulty:z.Easy,developer:"codechitra",tags:[],isNew:!0}],["calculator",{title:"Calculator",link:"calculator",difficulty:z.Medium,developer:"liza",tags:[]}],["color-mixer",{title:"Color Mixer",link:"color-mixer",difficulty:z.Medium,developer:"Sumitwarrior7",tags:[]}],["traffic-lights",{title:"Traffic Lights",link:"traffic-lights",difficulty:z.Medium,developer:"rishabhm05",tags:[]}],["email-templates",{title:"Email Templates",link:"email-templates",difficulty:z.Medium,developer:"sadanandpai",tags:[]}],["toast-popup",{title:"Toast Popup",link:"toast-popup",difficulty:z.Medium,developer:"deepu0",tags:[]}],["modal-popup",{title:"Modal Popup",link:"modal-popup",difficulty:z.Medium,developer:"rishabhm05",tags:[]}],["password-strength",{title:"Password Strength",link:"password-strength",difficulty:z.Medium,developer:"deepu0",tags:[]}],["timeline",{title:"Timeline",link:"timeline",difficulty:z.Medium,developer:"Vivek7038",tags:[],isNew:!0}],["column-table",{title:"Column Table",link:"column-table",difficulty:z.Medium,developer:"sadanandpai",tags:[]}],["todo-list",{title:"Todo List",link:"todo-list",difficulty:z.Medium,developer:"deepakrajkranti",tags:[]}],["emoji-picker",{title:"Emoji Picker",link:"emoji-picker",difficulty:z.Medium,developer:"jeevaramanathan",tags:[]}],["investment-calculator",{title:"Investment Calculator",link:"investment-calculator",difficulty:z.Medium,developer:"insharahAyyubi",tags:[]}],["stopwatch",{title:"Stopwatch",link:"stopwatch",difficulty:z.Medium,developer:"rashidtvmr",tags:[]}],["progressbar",{title:"Progressbar",link:"progressbar",difficulty:z.Medium,developer:"dhanu084",tags:[]}],["quiz-app",{title:"Quiz App",link:"quiz-app",difficulty:z.Medium,developer:"AbhilashMadi",tags:[]}],["chess-board",{title:"Chess Board",link:"chess-board",difficulty:z.Medium,developer:"AbhilashMadi",tags:[]}],["nested-dropdown",{title:"Nested Dropdown",link:"nested-dropdown",difficulty:z.Medium,developer:"AnkitKTrivedi",tags:[]}],["food-recipe",{title:"Food Recipe",link:"food-recipe",difficulty:z.Medium,developer:"Kei-K23",tags:[]}],["password-generator",{title:"Password Generator",link:"password-generator",difficulty:z.Medium,developer:"Kei-K23",tags:[]}],["transfer-list",{title:"Transfer List",link:"transfer-list",difficulty:z.Medium,developer:"DeePaK-HeeRaKaRi",tags:[]}],["infinite-scrolling",{title:"Infinite Scrolling (online)",link:"infinite-scrolling",difficulty:z.Medium,developer:"ayush-dutt-sharma",tags:[]}],["match-pair",{title:"Match Pair",link:"match-pair",difficulty:z.Medium,developer:"sadanandpai",tags:[]}],["word-connect",{title:"Word Connect",link:"word-connect",difficulty:z.Medium,developer:"sadanandpai",tags:[],isNew:!0}],["otp",{title:"OTP",link:"otp",difficulty:z.Medium,developer:"rishabhm05",tags:[]}],["file-explorer",{title:"File Explorer",link:"file-explorer",difficulty:z.Hard,developer:"sadanandpai",tags:[]}],["autocomplete-offline",{title:"Typeahead / Autocomplete (offline)",link:"autocomplete-offline",difficulty:z.Hard,developer:"deepu0",tags:[]}],["autocomplete-online",{title:"Typeahead / Autocomplete (online)",link:"autocomplete-online",difficulty:z.Hard,developer:"deepu0",tags:[]}],["water-balancer",{title:"Water Balancer",link:"water-balancer",difficulty:z.Hard,developer:"sadanandpai",tags:[],isNew:!0}],["inline-options",{title:"Inline Options",link:"inline-options",difficulty:z.Easy,developer:"takshch",tags:[]}],["digital-clock",{title:"Digital Clock",link:"digital-clock",difficulty:z.Medium,developer:"Syamsai-Polavarapu",tags:[],isNew:!0}],["nested-comments",{title:"Nested Comments",link:"nested-comments",difficulty:z.Medium,developer:"Akshay-Omkar",tags:[],isNew:!0}],["15puzzle",{title:"15 Puzzle",link:"15puzzle",difficulty:z.Medium,developer:"Bateusz",tags:[],isNew:!0}],["feedback-modal",{title:"Feedback Modal",link:"feedback-modal",difficulty:z.Medium,developer:"ssudipta",tags:[]}],["memory-game",{title:"Memory Game",link:"memory-game",difficulty:z.Medium,developer:"Akshat-Gupta",tags:[],isNew:!0}],["chip-input",{title:"Chips Input",link:"chip-input",difficulty:z.Medium,developer:"Akshay-Omkar",tags:[],isNew:!0}],["tabs",{title:"Tab",link:"tabs",difficulty:z.Easy,developer:"Akshay-Omkar",tags:[],isNew:!0}],["drag-drop",{title:"Drag-Drop",link:"drag-drop",difficulty:z.Medium,developer:"Akshay-Omkar",tags:[],isNew:!0}],["circles",{title:"Circles",link:"circles",difficulty:z.Medium,developer:"sadanandpai",tags:[],isNew:!0}],["analog-clock",{title:"Analog Clock",link:"analog-clock",difficulty:z.Medium,developer:"sadanandpai",tags:[],isNew:!0}]]),lk=Cd(r6),i6=new Map([["counter",{title:"Counter",link:"/counter",difficulty:z.Easy,developer:"arpansaha13",tags:[]}],["accordion",{title:"Accordion",link:"/accordion",difficulty:z.Easy,developer:"arpansaha13",tags:[]}],["light-dark-mode",{title:"Light Dark Mode",link:"/light-dark-mode",difficulty:z.Easy,developer:"arpansaha13",tags:[]}],["table-colorizer",{title:"Table Colorizer",link:"/table-colorizer",difficulty:z.Easy,developer:"arpansaha13",tags:[]}],["guess-the-number",{title:"Guess the number",link:"/guess-the-number",difficulty:z.Easy,developer:"arpansaha13",tags:[]}],["pagination",{title:"Pagination",link:"/pagination",difficulty:z.Easy,developer:"arpansaha13",tags:[]}],["stack",{title:"Stack",link:"/stack",difficulty:z.Easy,developer:"jaydadhaniya",tags:[]}],["telephone-formatter",{title:"Telephone formatter",link:"/telephone-formatter",difficulty:z.Easy,developer:"arpansaha13",tags:[]}],["temprature-converter",{title:"Temprature Converter",link:"/temprature-converter",difficulty:z.Easy,developer:"bhumikkalola",tags:[]}],["tic-tac-toe",{title:"Tic Tac Toe",link:"/tic-tac-toe",difficulty:z.Medium,developer:"sadanandpai",tags:[]}],["toast-popup",{title:"Toast Popup",link:"/toast-popup",difficulty:z.Medium,developer:"arpansaha13",tags:[]}],["password-strength",{title:"Password Strength",link:"/password-strength",difficulty:z.Medium,developer:"jaydadhaniya",tags:[]}],["password-generator",{title:"Password Generator",link:"/password-generator",difficulty:z.Medium,developer:"bhumikkalola",tags:[]}],["stopwatch",{title:"Stopwatch",link:"/stopwatch",difficulty:z.Medium,developer:"Shardik04",tags:[]}]]),uk=Cd(i6),a6=new Map([["counter",{title:"Counter",link:"counter",difficulty:z.Easy,developer:"sadanandpai",tags:[],isNew:!0}],["guess-number",{title:"Guess Number",link:"guess-number",difficulty:z.Easy,developer:"pankajparkar",tags:[],isNew:!0}],["todo-list",{title:"Todo list",link:"todo-list",difficulty:z.Easy,developer:"pankajparkar",tags:[],isNew:!0}],["stack",{title:"Stack",link:"stack",difficulty:z.Easy,developer:"pankajparkar",tags:[],isNew:!0}],["tic-tac-toe",{title:"Tic tac toe",link:"tic-tac-toe",difficulty:z.Easy,developer:"pankajparkar",tags:[],isNew:!0}],["word-count",{title:"Word Count",link:"word-count",difficulty:z.Easy,developer:"pankajparkar",tags:[],isNew:!0}]]),ck=Cd(a6);function o6(t,e,n){e.forEach(r=>{const i=t.get(r.developer);i?(i[n]=(i[n]??0)+1,i.totalContributions+=1):t.set(r.developer,{[n]:1,totalContributions:1})})}const s6=()=>{const t=new Map;new Map([["js",sk],["react",lk],["vue",uk],["angular",ck]]).forEach((i,a)=>{o6(t,i,a)});const n=new Map;t.forEach((i,a)=>{const o=Ed.get(a);o&&n.set(a,{name:o==null?void 0:o.name,pic:o==null?void 0:o.pic,contributions:i,numberOfContributions:i.totalContributions,developer:a})});const r=new Map(Array.from(n.entries()).sort((i,a)=>a[1].numberOfContributions-i[1].numberOfContributions||i[1].name.localeCompare(a[1].name)));return new Map([...r.entries()])},l6="_leaderboardTableWrapper_w0t73_1",u6="_leaderboardTable_w0t73_1",c6="_leaderBoardTableData_w0t73_31",d6="_leaderBoardContributorImg_w0t73_37",f6="_userProfileImg_w0t73_38",p6="_leaderBoardContributorName_w0t73_46",h6="_leaderBoardHeading_w0t73_50",m6="_userProfileHeading_w0t73_51",g6="_profileDetailsContainer_w0t73_56",v6="_profileLink_w0t73_60",y6="_fontWeightNormal_w0t73_68",w6="_contributionTableCell_w0t73_72",b6="_techStackDiv_w0t73_76",S6="_techStackImg_w0t73_83",x6="_techStackDivWrapper_w0t73_87",E6="_totalContributions_w0t73_101",C6="_leaderboardRowContainer_w0t73_125",T6="_index_w0t73_131",P6="_name_w0t73_139",k6="_contributions_w0t73_146",ft={leaderboardTableWrapper:l6,leaderboardTable:u6,leaderBoardTableData:c6,leaderBoardContributorImg:d6,userProfileImg:f6,leaderBoardContributorName:p6,leaderBoardHeading:h6,userProfileHeading:m6,profileDetailsContainer:g6,profileLink:v6,fontWeightNormal:y6,contributionTableCell:w6,techStackDiv:b6,techStackImg:S6,techStackDivWrapper:x6,totalContributions:E6,leaderboardRowContainer:C6,index:T6,name:P6,contributions:k6};function mp(...t){return t.join(" ")}const M6=new Map([["js",dv],["react",fv],["vue",pv],["angular",cv]]),O6=s6(),A6=Array.from(O6.values()).map((t,e)=>V.jsxs("tr",{className:ft.leaderboardRowContainer,children:[V.jsx("td",{className:mp(ft.leaderBoardTableData,ft.index),children:e}),V.jsx("td",{className:mp(ft.leaderBoardTableData,ft.leaderBoardContributorNameTd,ft.name),children:V.jsxs("div",{className:ft.profileLink,children:[V.jsx("img",{className:ft.leaderBoardContributorImg,src:t.pic,alt:""}),V.jsx("span",{className:ft.leaderBoardContributorName,children:t.name})]})}),V.jsx("td",{className:mp(ft.leaderBoardTableData,ft.contributions),children:V.jsxs("div",{className:ft.contributionTableCell,children:[[...M6.entries()].map(([n,r])=>{const i=t.contributions[n];return i?V.jsx("div",{className:ft.techStackDiv,children:V.jsxs("div",{className:ft.techStackDivWrapper,children:[V.jsx("img",{src:r,className:ft.techStackImg}),V.jsx("div",{children:i})]})},n):null}),V.jsxs("div",{className:ft.totalContributions,children:[V.jsx("div",{children:"Total"}),V.jsx("div",{children:t.numberOfContributions})]})]})})]},t.name));function L6(){return V.jsx("div",{className:"container",children:V.jsx("div",{className:ft.leaderboardTableWrapper,children:V.jsxs("table",{border:1,cellSpacing:0,cellPadding:10,style:{textAlign:"center"},className:ft.leaderboardTable,children:[V.jsx("thead",{children:V.jsxs("tr",{children:[V.jsx("td",{children:"#"}),V.jsx("td",{children:"Name"}),V.jsx("td",{children:"Contributions"})]})}),V.jsx("tbody",{children:A6})]})})})}function R6(){return V.jsxs(V.Fragment,{children:[V.jsx(Dv,{title:"Leaderboard"}),V.jsx(L6,{})]})}const I6="_avatar_1jv0o_1",D6="_avatarGroup_1jv0o_11",dk={avatar:I6,avatarGroup:D6};function F6({src:t,alt:e}){return V.jsx("img",{src:t,alt:e,className:dk.avatar})}function N6({contributorNames:t}){return V.jsx("div",{className:dk.avatarGroup,children:t.map(e=>{var r;const n=(r=Ed.get(e))==null?void 0:r.pic;return n?V.jsx(F6,{src:n,alt:""},e):null}).filter(Boolean)})}const _6="_filterOptionWrapper_1lebs_1",V6="_searchInputWrapper_1lebs_8",j6="_searchInput_1lebs_8",$6="_searchIcon_1lebs_21",z6="_filterByTechWrapper_1lebs_38",B6="_activeTech_1lebs_60",H6="_emptyMessage_1lebs_64",U6="_challengeGrid_1lebs_75",W6="_challengeCard_1lebs_82",G6="_avatarContainer_1lebs_97",q6="_disabled_1lebs_105",X6="_developer_1lebs_129",K6="_name_1lebs_142",Y6="_medium_1lebs_145",Q6="_hard_1lebs_148",$t={filterOptionWrapper:_6,searchInputWrapper:V6,searchInput:j6,searchIcon:$6,filterByTechWrapper:z6,activeTech:B6,emptyMessage:H6,challengeGrid:U6,challengeCard:W6,avatarContainer:G6,disabled:q6,new:"_new_1lebs_119",developer:X6,name:K6,medium:Y6,hard:Q6},Z6=({link:t,contributor:e,challenge:n})=>V.jsxs("a",{className:`${$t.challengeCard} ${$t[n.difficulty]}`,href:t,children:[n.isNew&&V.jsx("span",{className:$t.new,children:"New"}),V.jsxs("div",{children:[V.jsx("h3",{children:n.title}),V.jsxs("div",{className:$t.avatarContainer,children:[n.developer&&V.jsxs("div",{className:$t.developer,children:[V.jsx("img",{src:e==null?void 0:e.pic,alt:""}),V.jsx("span",{className:$t.name,children:e==null?void 0:e.name})]}),n.contributors&&V.jsx(N6,{contributorNames:n.contributors})]})]})]},n.title);var J6=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];function eB(t){var e=t.defaultInputValue,n=e===void 0?"":e,r=t.defaultMenuIsOpen,i=r===void 0?!1:r,a=t.defaultValue,o=a===void 0?null:a,l=t.inputValue,s=t.menuIsOpen,u=t.onChange,c=t.onInputChange,d=t.onMenuClose,f=t.onMenuOpen,p=t.value,w=gt(t,J6),g=S.useState(l!==void 0?l:n),y=ie(g,2),h=y[0],v=y[1],m=S.useState(s!==void 0?s:i),b=ie(m,2),E=b[0],x=b[1],C=S.useState(p!==void 0?p:o),T=ie(C,2),P=T[0],O=T[1],I=S.useCallback(function(k,F){typeof u=="function"&&u(k,F),O(k)},[u]),N=S.useCallback(function(k,F){var j;typeof c=="function"&&(j=c(k,F)),v(j!==void 0?j:k)},[c]),A=S.useCallback(function(){typeof f=="function"&&f(),x(!0)},[f]),M=S.useCallback(function(){typeof d=="function"&&d(),x(!1)},[d]),R=l!==void 0?l:h,D=s!==void 0?s:E,L=p!==void 0?p:P;return H(H({},w),{},{inputValue:R,menuIsOpen:D,onChange:I,onInputChange:N,onMenuClose:M,onMenuOpen:A,value:L})}function tB(t){if(t.sheet)return t.sheet;for(var e=0;e6)switch(xt(t,e+1)){case 109:if(xt(t,e+4)!==45)break;case 102:return Ce(t,/(.+:)(.+)-([^]+)/,"$1"+Ee+"$2-$3$1"+mc+(xt(t,e+3)==108?"$3":"$2-$3"))+t;case 115:return~Kh(t,"stretch")?fk(Ce(t,"stretch","fill-available"),e)+t:t}break;case 4949:if(xt(t,e+1)!==115)break;case 6444:switch(xt(t,ir(t)-3-(~Kh(t,"!important")&&10))){case 107:return Ce(t,":",":"+Ee)+t;case 101:return Ce(t,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Ee+(xt(t,14)===45?"inline-":"")+"box$3$1"+Ee+"$2$3$1"+Dt+"$2box$3")+t}break;case 5936:switch(xt(t,e+11)){case 114:return Ee+t+Dt+Ce(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return Ee+t+Dt+Ce(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return Ee+t+Dt+Ce(t,/[svh]\w+-[tblr]{2}/,"lr")+t}return Ee+t+Dt+t+t}return t}var cB=function(e,n,r,i){if(e.length>-1&&!e.return)switch(e.type){case Tv:e.return=fk(e.value,e.length);break;case jT:return Bi([_o(e,{value:Ce(e.value,"@","@"+Ee)})],i);case Cv:if(e.length)return aV(e.props,function(a){switch(iV(a,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Bi([_o(e,{props:[Ce(a,/:(read-\w+)/,":"+mc+"$1")]})],i);case"::placeholder":return Bi([_o(e,{props:[Ce(a,/:(plac\w+)/,":"+Ee+"input-$1")]}),_o(e,{props:[Ce(a,/:(plac\w+)/,":"+mc+"$1")]}),_o(e,{props:[Ce(a,/:(plac\w+)/,Dt+"input-$1")]})],i)}return""})}},dB=[cB],fB=function(e){var n=e.key;if(n==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(g){var y=g.getAttribute("data-emotion");y.indexOf(" ")!==-1&&(document.head.appendChild(g),g.setAttribute("data-s",""))})}var i=e.stylisPlugins||dB,a={},o,l=[];o=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(g){for(var y=g.getAttribute("data-emotion").split(" "),h=1;h0},...n,touchEventsTarget:"container",onAny:function(i){i==="observerUpdate"&&e.calcSlideSlots();const a=n.eventsPrefix?`${n.eventsPrefix}${i.toLowerCase()}`:i.toLowerCase();for(var o=arguments.length,l=new Array(o>1?o-1:0),s=1;sn.includes("_")).map(n=>n.replace(/[A-Z]/g,r=>`-${r}`).replace("_","").toLowerCase())}}Cd.forEach(t=>{t!=="init"&&(t=t.replace("_",""),Object.defineProperty(ok.prototype,t,{configurable:!0,get(){return(this.passedParams||{})[t]},set(e){this.passedParams||(this.passedParams={}),this.passedParams[t]=e,this.initialized&&this.updateSwiperOnPropChange(t,e)}}))});class X4 extends ik{constructor(){super(),this.attachShadow({mode:"open"})}render(){const e=this.lazy||this.getAttribute("lazy")===""||this.getAttribute("lazy")==="true";if(ak(this.shadowRoot,G4),this.shadowRoot.appendChild(document.createElement("slot")),e){const n=document.createElement("div");n.classList.add("swiper-lazy-preloader"),n.part.add("preloader"),this.shadowRoot.appendChild(n)}}initialize(){this.render()}connectedCallback(){this.initialize()}}const K4=()=>{typeof window>"u"||(window.customElements.get("swiper-container")||window.customElements.define("swiper-container",ok),window.customElements.get("swiper-slide")||window.customElements.define("swiper-slide",X4))};typeof window<"u"&&(window.SwiperElementRegisterParams=t=>{Cd.push(...t)});const Y4=[{id:1,name:"Dummy User 1",role:"Frontend Engineer",img:"https://avatars.githubusercontent.com/u/1111111",comment:"Great resource for learning and frontend interview preparation. It helped me to crack browser coding rounds of multiple companies"}];K4();function Q4(){return V.jsxs("section",{children:[V.jsx("h2",{id:"testimonials",className:xc.heading,children:"Testimonials"}),V.jsxs("swiper-container",{slidesPerView:2,spaceBetween:30,loop:!0,navigation:!0,pagination:{clickable:!0},modules:[ek,JP],children:[V.jsx("swiper-slide",{children:V.jsx("article",{className:xc.testimonial,children:V.jsxs("h3",{className:"text-center",children:["If you are benefited from these challenges for interviews or learning, please consider adding your testimonial by submitting the details"," ",V.jsx("a",{href:"https://forms.gle/2hJGa3foKuPctiWE7",target:"_blank",rel:"noreferrer",children:"here"})]})})}),Y4.map(t=>V.jsx(M5,{testimonial:t},t.id))]})]})}const Z4="_topBtn_1lydx_1",J4={topBtn:Z4};function sk(){const[t,e]=S.useState(!1);S.useEffect(()=>{window.addEventListener("scroll",()=>{window.scrollY>100?e(!0):e(!1)})},[]);const n=()=>{window.scrollTo({top:0,behavior:"smooth"})};return t&&V.jsx("button",{className:J4.topBtn,onClick:n,children:V.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",fill:"currentColor",className:"bi bi-chevron-double-up",viewBox:"0 0 16 16",children:[V.jsx("path",{fillRule:"evenodd",d:"M7.646 2.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1-.708.708L8 3.707 2.354 9.354a.5.5 0 1 1-.708-.708l6-6z"}),V.jsx("path",{fillRule:"evenodd",d:"M7.646 6.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1-.708.708L8 7.707l-5.646 5.647a.5.5 0 0 1-.708-.708l6-6z"})]})})}function e6(){return V.jsxs(V.Fragment,{children:[V.jsxs(Fv,{children:[V.jsx(Tu,{to:"#whyUs",children:"Why us?"}),V.jsx(Tu,{to:"#testimonials",children:"Testimonials"}),V.jsx(Tu,{to:"#contributors",children:"Contributors"}),V.jsx(qc,{to:"/leaderboard",children:"Leaderboard"})]}),V.jsxs("div",{className:Xo.container,children:[V.jsx(l_,{}),V.jsx("hr",{className:Xo.hr}),V.jsx(HN,{}),V.jsx("hr",{className:Xo.hr}),V.jsx(Q4,{}),V.jsx("hr",{className:Xo.hr}),V.jsx(jN,{}),V.jsx(GN,{}),V.jsx(sk,{})]})]})}const Td=new Map([["DeePaK-HeeRaKaRi",{name:"Deepak Heerakari",pic:"https://avatars.githubusercontent.com/u/63955160"}],["sadanandpai",{name:"Sadanand Pai",pic:"https://avatars.githubusercontent.com/u/12962887"}],["arpansaha13",{name:"Arpan Saha",pic:"https://avatars.githubusercontent.com/u/82361490"}],["noorulaink00",{name:"Noor Ul Ain Khan",pic:"https://avatars.githubusercontent.com/u/65324193"}],["sahankatta",{name:"Sahan Katta",pic:"https://avatars.githubusercontent.com/u/65811236"}],["rashidtvmr",{name:"Rashid",pic:"https://avatars.githubusercontent.com/u/58169715"}],["gauravsinhaweb",{name:"Gaurav Sinha",pic:"https://avatars.githubusercontent.com/u/75125943"}],["Kei-K23",{name:"Kei-K",pic:"https://avatars.githubusercontent.com/u/134714087"}],["caesar003",{name:"Khaisar Muksid",pic:"https://avatars.githubusercontent.com/u/37962465"}],["christian-lee1398",{name:"Christian Lee",pic:"https://avatars.githubusercontent.com/u/83561483"}],["Sukomal07",{name:"Sukomal Dutta",pic:"https://avatars.githubusercontent.com/u/100500478"}],["5h0ov",{name:"Shuvadipta Das",pic:"https://avatars.githubusercontent.com/u/83227649"}],["shruti-sen2004",{name:"Shruti Sen",pic:"https://avatars.githubusercontent.com/u/115914670"}],["Kushal347",{name:"Kushal Agrawal",pic:"https://avatars.githubusercontent.com/u/115914670"}],["AbhineshJha",{name:"ABHINESH KUMAR JHA",pic:"https://avatars.githubusercontent.com/u/142514166"}],["hritik",{name:"Hritik Bhattacharya",pic:"https://avatars.githubusercontent.com/u/44370586"}],["viditagrawal56",{name:"Vidit Agrawal",pic:"https://avatars.githubusercontent.com/u/52532308"}],["VishakhaSainani",{name:"Vishakha Sainani",pic:"https://avatars.githubusercontent.com/u/113436770"}],["shivam200446",{name:"Shivam",pic:"https://avatars.githubusercontent.com/u/127589548?s=96&v=4"}],["Vivek-GuptaXCode",{name:"Vivek Kumar Gupta",pic:"https://avatars.githubusercontent.com/u/145761266"}],["CrypticRevenger",{name:"Spandan Tripathy",pic:"https://avatars.githubusercontent.com/u/128175097"}],["AckermanLevi1",{name:"Aryan Bhargava",pic:"https://avatars.githubusercontent.com/u/114604529"}],["sujitmahapatra",{name:"Sujit Mahapatra",pic:"https://avatars.githubusercontent.com/u/127632703"}],["avtech",{name:"Ayush Varshney",pic:"https://avatars.githubusercontent.com/u/97428742"}],["pranav514",{name:"Pranav",pic:"https://avatars.githubusercontent.com/u/76992202"}],["Bratajit-03",{name:"Bratajit Das",pic:"https://avatars.githubusercontent.com/u/106532791"}],["DhanushNehru",{name:"Dhanush Nehru",pic:"https://avatars.githubusercontent.com/u/22955675"}],["itsayopapi",{name:"Ayomide Hassan",pic:"https://avatars.githubusercontent.com/u/111683116"}],["srijanB7",{name:"Srijan B7",pic:"https://avatars.githubusercontent.com/u/115921421"}],["AdityaSuryawanshi",{name:"Aditya Suryawanshi",pic:"https://avatars.githubusercontent.com/u/124609794"}],["NikhilJHA01",{name:"Nikhil Jha",pic:"https://avatars.githubusercontent.com/u/63518046"}],["deepu0",{name:"Deepak Kumar",pic:"https://avatars.githubusercontent.com/u/22304384"}],["deepakRikhav",{name:"Deepak Rikhav",pic:"https://avatars.githubusercontent.com/u/97227284"}],["deepakrajkranti",{name:"Deepak Raj",pic:"https://avatars.githubusercontent.com/u/88797436"}],["insharahAyyubi",{name:"Insharah Ayyubi",pic:"https://avatars.githubusercontent.com/u/103804673"}],["ayush-dutt-sharma",{name:"Ayush Dutt Sharma",pic:"https://avatars.githubusercontent.com/u/73738613"}],["dhanu084",{name:"Dhanush Kiran",pic:"https://avatars.githubusercontent.com/u/54932658"}],["kumaratul60",{name:"Atul Kumar Awasthi",pic:"https://avatars.githubusercontent.com/u/53579888"}],["ravi02205",{name:"Ravi Kumar Panchal",pic:"https://avatars.githubusercontent.com/u/81222901"}],["harsh472000",{name:"Harsh Meghani",pic:"https://avatars.githubusercontent.com/u/55913938"}],["Pancratzia",{name:"Laura Ortega",pic:"https://avatars.githubusercontent.com/u/54899954"}],["ashikjhonson",{name:"Ashik Jhonson",pic:"https://avatars.githubusercontent.com/u/97791612"}],["Krishnakalani111",{name:"Krishna Kalani",pic:"https://avatars.githubusercontent.com/u/88764668"}],["Bhushan1019",{name:"Bhushan Patil",pic:"https://avatars.githubusercontent.com/u/121352274"}],["Sumitwarrior7",{name:"Cool Dude 69",pic:"https://avatars.githubusercontent.com/u/108853577"}],["rishabhm05",{name:"Rishabh Mehta",pic:"https://avatars.githubusercontent.com/u/67910259"}],["jeevaramanathan",{name:"Jeeva Ramanathan",pic:"https://avatars.githubusercontent.com/u/64531160"}],["AbhilashMadi",{name:"Abhilash",pic:"https://avatars.githubusercontent.com/u/109837171"}],["AnkitKTrivedi",{name:"Ankit Kumar Trivedi",pic:"https://avatars.githubusercontent.com/u/38967951"}],["jaydadhaniya",{name:"Jay Dadhaniya",pic:"https://avatars.githubusercontent.com/u/24772528"}],["pankajparkar",{name:"Pankaj Parkar",pic:"https://avatars.githubusercontent.com/u/5320044"}],["bhumikkalola",{name:"Bhumik Kalola",pic:"https://avatars.githubusercontent.com/u/147032346"}],["babandakale",{name:"Baban Dakale",pic:"https://avatars.githubusercontent.com/u/142794846"}],["Manmit Tiwade",{name:"Manmit Tiwade",pic:"https://avatars.githubusercontent.com/u/112580293"}],["liza",{name:"Liza",pic:"https://avatars.githubusercontent.com/u/78140921"}],["Shardik04",{name:"Hardik Shah",pic:"https://avatars.githubusercontent.com/u/11913104"}],["Vivek7038",{name:"Vivek Chavan",pic:"https://avatars.githubusercontent.com/u/95691809"}],["codechitra",{name:"Akash Deep Chitransh",pic:"https://avatars.githubusercontent.com/u/85569078"}],["takshch",{name:"Taksh Chanana",pic:"https://avatars.githubusercontent.com/u/26649558"}],["Syamsai-Polavarapu",{name:"Syamsai Polavarapu",pic:"https://avatars.githubusercontent.com/u/25497768"}],["Akshay-Omkar",{name:"Akshay Omkar",pic:"https://avatars.githubusercontent.com/u/62467248"}],["Bateusz",{name:"Mateusz",pic:"https://avatars.githubusercontent.com/u/55596139"}],["ssudipta",{name:"Sudipta Saha",pic:"https://avatars.githubusercontent.com/u/10368983"}],["Akshat-Gupta",{name:"Akshat Gupta",pic:"https://avatars.githubusercontent.com/u/53713926"}]]);var z=(t=>(t.Easy="easy",t.Medium="medium",t.Hard="hard",t))(z||{});const wb=[z.Easy,z.Medium,z.Hard];function vl(t){return new Map([...t.entries()].sort((e,n)=>{const r=wb.indexOf(e[1].difficulty),i=wb.indexOf(n[1].difficulty);return r-i}))}function t6(t,e){if(!e||e.length===0)return t;const n=e.map(i=>i.value);return t.filter(i=>n.includes(i.developer))}function n6(t,e){return!e||e.length===0?t:t.filter(r=>r==null?void 0:r.title.toLowerCase().includes(e.toLowerCase()))}function r6(t,e){if(!e||e.length===0)return t;const n=e.map(r=>r.value);return t.filter(r=>n.includes(r.difficulty))}function i6({challenges:t,title:e,contributors:n,difficulties:r}){if((!e||e.length===0)&&(!n||n.length===0)&&(!r||r.length===0))return t;let i=n6(t,e);return i=t6(i,n),i=r6(i,r),i}const a6=new Map([["shapes",{title:"Shapes",link:"shapes/",difficulty:z.Easy,developer:"sadanandpai",tags:[]}]]),lk=vl(a6),o6=new Map([["counter",{title:"Counter",link:"counter/",difficulty:z.Easy,developer:"sadanandpai",youtube:"https://youtu.be/9OIeUtXX3SA",tags:[]}],["bmi-calculator",{title:"BMI Calculator",link:"bmi-calculator/",difficulty:z.Easy,developer:"itsayopapi",tags:[]}],["dice-game",{title:"Dice Game",link:"dice-game/",difficulty:z.Easy,developer:"shivam200446",tags:[],isNew:!0}],["roll-dice",{title:"Roll dice",link:"roll-dice/",difficulty:z.Easy,developer:"babandakale",tags:[]}],["guess-the-number",{title:"Guess the number",link:"guess-the-number/",difficulty:z.Easy,developer:"sadanandpai",youtube:"https://youtu.be/L1Da3GWEGpY",tags:[]}],["string-transformers",{title:"String transformers",link:"string-transformers/",difficulty:z.Easy,developer:"sadanandpai",youtube:"https://youtu.be/crCZEJ6Lmgc",tags:[]}],["file-uploader",{title:"File Uploader",link:"file-uploader/",difficulty:z.Easy,developer:"avtech",tags:[],isNew:!0}],["telephone-formatter",{title:"Telephone formatter",link:"telephone-formatter/",difficulty:z.Easy,developer:"sadanandpai",youtube:"https://youtu.be/E85ldVqAGjw",tags:[]}],["dialog-popup",{title:"Dialog Popup",link:"dialog-popup/",difficulty:z.Easy,developer:"sahankatta",youtube:"https://youtu.be/aIzyEDi6zgU",tags:[]}],["light-dark-mode",{title:"Light & Dark mode",link:"light-dark-mode/",difficulty:z.Easy,developer:"sadanandpai",youtube:"https://youtu.be/hxcGGhjYNFE",tags:[]}],["skeleton-loader",{title:"Skeleton Loader",link:"skeleton-loader/",difficulty:z.Easy,developer:"sahankatta",youtube:"https://youtu.be/FEtTRjq1P6I",tags:[]}],["spinning-loader",{title:"Spinning Loader",link:"spinning-loader/",difficulty:z.Easy,developer:"DhanushNehru",tags:[]}],["music-kit",{title:"Music Kit",link:"music-kit/",difficulty:z.Easy,developer:"shivam200446",tags:[]}],["currency-converter",{title:"Currency Converter",link:"currency-converter/",difficulty:z.Easy,developer:"pranav514",tags:[],isNew:!0}],["accordion",{title:"Accordion",link:"accordion/",difficulty:z.Easy,developer:"rashidtvmr",youtube:"https://youtu.be/03KFXudVaoo",tags:[]}],["navigation-bar",{title:"Navigation Bar",link:"navigation-bar/",difficulty:z.Easy,developer:"christian-lee1398",youtube:"https://youtu.be/urA5ogzG0L0",tags:[]}],["Footer",{title:"Footer",link:"Footer/",difficulty:z.Easy,developer:"AbhineshJha",youtube:"https://youtu.be/FRRlFLfdvBE?si=HWn88BwJGTJvEBUD",tags:[],isNew:!0}],["rock-paper-scissor",{title:"Rock Paper Scissor",link:"rock-paper-scissor/",difficulty:z.Easy,developer:"AckermanLevi1",tags:[],isNew:!0}],["MadStory_generator",{title:"MadStory Generator",link:"MadStory_generator/",difficulty:z.Easy,developer:"hritik",tags:[]}],["multi-typing",{title:"Multi Typing",link:"multi-typing/",difficulty:z.Easy,developer:"noorulaink00",youtube:"https://youtu.be/YCDeOT7DRnI",tags:[]}],["bill-spilt",{title:"Bill Split",link:"bill-spilt/",difficulty:z.Easy,developer:"Sukomal07",youtube:"https://youtu.be/4H2DyrSJeYc",tags:[]}],["simon-game",{title:"Simon game",link:"simon-game/",difficulty:z.Easy,developer:"VishakhaSainani",tags:[],isNew:!0}],["blobmaker",{title:"Blob Maker",link:"blobmaker/",difficulty:z.Easy,developer:"AbhineshJha",tags:[]}],["fitness-tracker",{title:"Fitness Tracker",link:"fitness-tracker/",difficulty:z.Easy,developer:"CrypticRevenger",tags:[]}],["atm-simulator",{title:"ATM Simulator",link:"atm-simulator/",difficulty:z.Easy,developer:"Bratajit-03",tags:[],isNew:!0}],["finance-tracker",{title:"Finance Tracker",link:"finance-tracker/",difficulty:z.Medium,developer:"sujitmahapatra",tags:[]}],["meme-generator",{title:"Meme Generator",link:"meme-generator/",difficulty:z.Medium,developer:"noorulaink00",youtube:"https://youtu.be/LHo9Hi47MTo",tags:[]}],["weather-app",{title:"Weather App",link:"weather-app/",difficulty:z.Medium,developer:"shruti-sen2004",tags:[],isNew:!0}],["toast-popup",{title:"Toast Popup",link:"toast-popup/",difficulty:z.Medium,developer:"sadanandpai",youtube:"https://youtu.be/-p3N5bJXEK8",tags:[]}],["column-table",{title:"Column Table",link:"column-table/",difficulty:z.Medium,developer:"sadanandpai",tags:[]}],["password-strength",{title:"Password Strength",link:"password-strength/",difficulty:z.Medium,developer:"sadanandpai",tags:[]}],["star-rating",{title:"Star Rating",link:"star-rating/",difficulty:z.Medium,developer:"sadanandpai",tags:[]}],["star-rating-display",{title:"Star Rating Display",link:"star-rating-display/",difficulty:z.Medium,developer:"sadanandpai",tags:[]}],["pixel-art",{title:"Pixel Art",link:"pixel-art/",difficulty:z.Medium,developer:"sadanandpai",tags:[]}],["word-counter",{title:"Word Counter (online)",link:"word-counter/",difficulty:z.Medium,developer:"AckermanLevi1",tags:[]}],["color-spotter",{title:"Color Spotter",link:"color-spotter/",difficulty:z.Medium,developer:"sadanandpai",tags:[]}],["todo-list",{title:"Todo List",link:"todo-list/",difficulty:z.Medium,developer:"sadanandpai",tags:[]}],["gradient-generator",{title:"Gradient Generator",link:"gradient-generator/",difficulty:z.Medium,developer:"Sukomal07",tags:[],isNew:!0}],["transfer-list",{title:"Transfer List",link:"transfer-list/",difficulty:z.Medium,developer:"sadanandpai",tags:[]}],["lift-simulation",{title:"Lift Simulation",link:"lift-simulation/",difficulty:z.Medium,developer:"gauravsinhaweb",tags:[],isNew:!0}],["tic-tac-toe",{title:"Tic-Tac-Toe",link:"tic-tac-toe/",difficulty:z.Medium,developer:"sadanandpai",tags:[]}],["chess-board",{title:"Chess board",link:"chess-board/",difficulty:z.Medium,developer:"sadanandpai",tags:[]}],["chips-input",{title:"Chips Input",link:"chips-input/",difficulty:z.Medium,developer:"sadanandpai",tags:[]}],["infinite-scroll",{title:"Infinite Scroll",link:"infinite-scroll/",difficulty:z.Medium,developer:"srijanB7",tags:[]}],["password-generator",{title:"Password Generator",link:"password-generator/",difficulty:z.Medium,developer:"sadanandpai",tags:[]}],["analog-clock",{title:"Analog Clock",link:"analog-clock/",difficulty:z.Medium,developer:"sadanandpai",tags:[]}],["drag-and-drop-puzzle",{title:"Drag and Drop Puzzle",link:"drag-and-drop-puzzle/",difficulty:z.Medium,developer:"noorulaink00",tags:[],isNew:!0}],["basic-calculator",{title:"Basic calculator",link:"basic-calculator/",difficulty:z.Medium,developer:"sadanandpai",tags:[]}],["match-pair",{title:"Match Pair",link:"match-pair/",difficulty:z.Medium,developer:"sadanandpai",tags:[]}],["typing-speed-test",{title:"Typing Speed Test",link:"typing-speed-test/",difficulty:z.Medium,developer:"sadanandpai",tags:[]}],["count-down-timer",{title:"Countdown Timer",link:"count-down-timer/",difficulty:z.Medium,developer:"sadanandpai",tags:[]}],["otp-input",{title:"OTP Input",link:"otp-input/",difficulty:z.Medium,developer:"sadanandpai",tags:[]}],["quiz-app",{title:"Quiz App",link:"quiz-app/",difficulty:z.Medium,developer:"Kei-K23",tags:[],isNew:!0}],["sorting-visualizer",{title:"Sorting Visualizer",link:"sorting-visualizer/",difficulty:z.Medium,developer:"viditagrawal56",tags:[],isNew:!0}],["snake-game",{title:"Snake Game",link:"snake-game/",difficulty:z.Medium,developer:"Kei-K23",tags:[]}],["hangman-game",{title:"Hangman Game",link:"hangman-game/",difficulty:z.Medium,developer:"Kei-K23",tags:[],isNew:!0}],["area-selector",{title:"Area Selector",link:"area-selector/",difficulty:z.Medium,developer:"sadanandpai",tags:[]}],["25-5-clock",{title:"25-5 Clock",link:"25-5-clock/",difficulty:z.Medium,developer:"caesar003",tags:[]}],["carousel",{title:"Carousel",link:"carousel/",difficulty:z.Medium,developer:"sadanandpai",tags:[]}],["calendar",{title:"Calendar",link:"calendar/",difficulty:z.Medium,developer:"sadanandpai",tags:[]}],["progress-bar",{title:"Progress Bar",link:"progress-bar/",difficulty:z.Medium,developer:"sadanandpai",tags:[]}],["movie-info",{title:"Movie-info app (online)",link:"movie-info/",difficulty:z.Medium,developer:"AckermanLevi1",tags:[]}],["quiz-app-with-timer",{title:"Quiz App with Timer",link:"quiz-app-with-timer/",difficulty:z.Medium,developer:"Vivek-GuptaXCode",tags:[]}],["paginator",{title:"Paginator",link:"paginator/",difficulty:z.Hard,developer:"sadanandpai",tags:[]}],["connect-four",{title:"Connect Four",link:"connect-four/",difficulty:z.Hard,developer:"sadanandpai",tags:[]}],["comment-box",{title:"Comment box",link:"comment-box/",difficulty:z.Hard,developer:"sadanandpai",tags:[]}],["json-creator",{title:"JSON Creator",link:"json-creator/",difficulty:z.Hard,developer:"sadanandpai",tags:[]}],["array-methods",{title:"Array methods",link:"array-methods/",difficulty:z.Hard,developer:"sadanandpai",tags:[]}],["type-ahead",{title:"Typeahead / Autocomplete (offline)",link:"type-ahead/",difficulty:z.Hard,developer:"sadanandpai",tags:[]}],["type-ahead-online",{title:"Typeahead / Autocomplete (online)",link:"type-ahead-online/",difficulty:z.Hard,developer:"sadanandpai",tags:[]}]]),uk=vl(o6),s6=new Map([["counter",{title:"Counter",link:"counter",difficulty:z.Easy,developer:"sadanandpai",tags:[]}],["programming-languages-multiverse",{title:"Programming Multiverse",link:"programming-languages-multiverse",difficulty:z.Easy,developer:"Sumitwarrior7",tags:[]}],["anagram-checker",{title:"Anagram Checker",link:"anagram-checker",difficulty:z.Easy,developer:"Manmit Tiwade",tags:[]}],["quote-generator",{title:"Quote Generator",link:"quote-generator",difficulty:z.Easy,developer:"viditagrawal56",tags:[]}],["image-gallery",{title:"Image Gallery",link:"image-gallery",difficulty:z.Easy,developer:"Bhushan1019",tags:[]}],["accordion",{title:"Accordion",link:"accordion",developer:"NikhilJHA01",difficulty:z.Easy,tags:[]}],["background-changer",{title:"Background Changer",link:"background-changer",developer:"AdityaSuryawanshi",difficulty:z.Easy,tags:[]}],["light-dark-mode",{title:"Light Dark Mode",link:"light-dark-mode",difficulty:z.Easy,developer:"NikhilJHA01",tags:[]}],["qr-code-generator",{title:"QR generator",link:"qr-code-generator",difficulty:z.Easy,developer:"Krishnakalani111",tags:[]}],["your-sport",{title:"Your Sport",link:"your-sport",difficulty:z.Easy,developer:"Sumitwarrior7",tags:[]}],["table-colorizer",{title:"Table Colorizer",link:"table-colorizer",difficulty:z.Easy,developer:"ravi02205",tags:[]}],["Guess-the-number",{title:"Guess the number",link:"Guess-the-number",difficulty:z.Easy,developer:"deepakrajkranti",tags:[]}],["pagination",{title:"Pagination",link:"pagination",difficulty:z.Easy,developer:"Pancratzia",tags:[]}],["stack",{title:"Stack",link:"stack",difficulty:z.Easy,developer:"kumaratul60",tags:[]}],["word-count",{title:"Word Count",link:"word-count",difficulty:z.Easy,developer:"Sumitwarrior7",tags:[]}],["temperature-converter",{title:"Temperature Converter",link:"temperature-converter",difficulty:z.Easy,developer:"Sumitwarrior7",tags:[]}],["star-Rating",{title:"Star Rating",link:"star-Rating",difficulty:z.Easy,developer:"NikhilJHA01",tags:[]}],["telephone-formatter",{title:"Telephone formatter",link:"telephone-formatter",difficulty:z.Easy,developer:"arpansaha13",tags:[]}],["string-transformers",{title:"String transformers",link:"string-transformers",difficulty:z.Easy,developer:"arpansaha13",tags:[]}],["tic-tac-toe",{title:"Tic Tac Toe",link:"tic-tac-toe",difficulty:z.Easy,developer:"rashidtvmr",tags:[]}],["expense-tracker",{title:"Expense Tracker",link:"expense-tracker",difficulty:z.Easy,developer:"harsh472000",tags:[]}],["25-5-clock",{title:"25-5 Clock",link:"25-5-clock",difficulty:z.Easy,developer:"caesar003",tags:[]}],["bmi-calculator",{title:"BMI Calculator",link:"bmi-calculator",difficulty:z.Easy,developer:"ashikjhonson",tags:[]}],["stepper",{title:"STEPPER",link:"stepper",difficulty:z.Easy,developer:"codechitra",tags:[],isNew:!0}],["calculator",{title:"Calculator",link:"calculator",difficulty:z.Medium,developer:"liza",tags:[]}],["color-mixer",{title:"Color Mixer",link:"color-mixer",difficulty:z.Medium,developer:"Sumitwarrior7",tags:[]}],["traffic-lights",{title:"Traffic Lights",link:"traffic-lights",difficulty:z.Medium,developer:"rishabhm05",tags:[]}],["email-templates",{title:"Email Templates",link:"email-templates",difficulty:z.Medium,developer:"sadanandpai",tags:[]}],["toast-popup",{title:"Toast Popup",link:"toast-popup",difficulty:z.Medium,developer:"deepu0",tags:[]}],["modal-popup",{title:"Modal Popup",link:"modal-popup",difficulty:z.Medium,developer:"rishabhm05",tags:[]}],["password-strength",{title:"Password Strength",link:"password-strength",difficulty:z.Medium,developer:"deepu0",tags:[]}],["timeline",{title:"Timeline",link:"timeline",difficulty:z.Medium,developer:"Vivek7038",tags:[],isNew:!0}],["column-table",{title:"Column Table",link:"column-table",difficulty:z.Medium,developer:"sadanandpai",tags:[]}],["todo-list",{title:"Todo List",link:"todo-list",difficulty:z.Medium,developer:"deepakrajkranti",tags:[]}],["emoji-picker",{title:"Emoji Picker",link:"emoji-picker",difficulty:z.Medium,developer:"jeevaramanathan",tags:[]}],["investment-calculator",{title:"Investment Calculator",link:"investment-calculator",difficulty:z.Medium,developer:"insharahAyyubi",tags:[]}],["stopwatch",{title:"Stopwatch",link:"stopwatch",difficulty:z.Medium,developer:"rashidtvmr",tags:[]}],["progressbar",{title:"Progressbar",link:"progressbar",difficulty:z.Medium,developer:"dhanu084",tags:[]}],["quiz-app",{title:"Quiz App",link:"quiz-app",difficulty:z.Medium,developer:"AbhilashMadi",tags:[]}],["chess-board",{title:"Chess Board",link:"chess-board",difficulty:z.Medium,developer:"AbhilashMadi",tags:[]}],["nested-dropdown",{title:"Nested Dropdown",link:"nested-dropdown",difficulty:z.Medium,developer:"AnkitKTrivedi",tags:[]}],["food-recipe",{title:"Food Recipe",link:"food-recipe",difficulty:z.Medium,developer:"Kei-K23",tags:[]}],["nested-comments",{title:"Nested Comments",link:"nested-comments",difficulty:z.Hard,developer:"Akshay-Omkar",tags:[],isNew:!0}],["password-generator",{title:"Password Generator",link:"password-generator",difficulty:z.Medium,developer:"Kei-K23",tags:[]}],["transfer-list",{title:"Transfer List",link:"transfer-list",difficulty:z.Medium,developer:"DeePaK-HeeRaKaRi",tags:[]}],["infinite-scrolling",{title:"Infinite Scrolling (online)",link:"infinite-scrolling",difficulty:z.Medium,developer:"ayush-dutt-sharma",tags:[]}],["match-pair",{title:"Match Pair",link:"match-pair",difficulty:z.Medium,developer:"sadanandpai",tags:[]}],["word-connect",{title:"Word Connect",link:"word-connect",difficulty:z.Hard,developer:"sadanandpai",tags:[],isNew:!0}],["otp",{title:"OTP",link:"otp",difficulty:z.Hard,developer:"rishabhm05",tags:[]}],["file-explorer",{title:"File Explorer",link:"file-explorer",difficulty:z.Hard,developer:"sadanandpai",tags:[]}],["autocomplete-offline",{title:"Typeahead / Autocomplete (offline)",link:"autocomplete-offline",difficulty:z.Hard,developer:"deepu0",tags:[]}],["autocomplete-online",{title:"Typeahead / Autocomplete (online)",link:"autocomplete-online",difficulty:z.Hard,developer:"deepu0",tags:[]}],["water-balancer",{title:"Water Balancer",link:"water-balancer",difficulty:z.Hard,developer:"sadanandpai",tags:[],isNew:!0}],["inline-options",{title:"Inline Options",link:"inline-options",difficulty:z.Easy,developer:"takshch",tags:[]}],["digital-clock",{title:"Digital Clock",link:"digital-clock",difficulty:z.Medium,developer:"Syamsai-Polavarapu",tags:[],isNew:!0}],["15puzzle",{title:"15 Puzzle",link:"15puzzle",difficulty:z.Medium,developer:"Bateusz",tags:[],isNew:!0}],["feedback-modal",{title:"Feedback Modal",link:"feedback-modal",difficulty:z.Medium,developer:"ssudipta",tags:[]}],["memory-game",{title:"Memory Game",link:"memory-game",difficulty:z.Medium,developer:"Akshat-Gupta",tags:[],isNew:!0}],["chip-input",{title:"Chips Input",link:"chip-input",difficulty:z.Medium,developer:"Akshay-Omkar",tags:[],isNew:!0}],["tabs",{title:"Tab",link:"tabs",difficulty:z.Easy,developer:"Akshay-Omkar",tags:[],isNew:!0}],["drag-drop",{title:"Drag-Drop",link:"drag-drop",difficulty:z.Medium,developer:"Akshay-Omkar",tags:[],isNew:!0}],["circles",{title:"Circles",link:"circles",difficulty:z.Medium,developer:"sadanandpai",tags:[],isNew:!0}],["analog-clock",{title:"Analog Clock",link:"analog-clock",difficulty:z.Medium,developer:"sadanandpai",tags:[],isNew:!0}]]),ck=vl(s6),l6=new Map([["counter",{title:"Counter",link:"/counter",difficulty:z.Easy,developer:"arpansaha13",tags:[]}],["accordion",{title:"Accordion",link:"/accordion",difficulty:z.Easy,developer:"arpansaha13",tags:[]}],["light-dark-mode",{title:"Light Dark Mode",link:"/light-dark-mode",difficulty:z.Easy,developer:"arpansaha13",tags:[]}],["table-colorizer",{title:"Table Colorizer",link:"/table-colorizer",difficulty:z.Easy,developer:"arpansaha13",tags:[]}],["guess-the-number",{title:"Guess the number",link:"/guess-the-number",difficulty:z.Easy,developer:"arpansaha13",tags:[]}],["pagination",{title:"Pagination",link:"/pagination",difficulty:z.Easy,developer:"arpansaha13",tags:[]}],["stack",{title:"Stack",link:"/stack",difficulty:z.Easy,developer:"jaydadhaniya",tags:[]}],["telephone-formatter",{title:"Telephone formatter",link:"/telephone-formatter",difficulty:z.Easy,developer:"arpansaha13",tags:[]}],["temprature-converter",{title:"Temprature Converter",link:"/temprature-converter",difficulty:z.Easy,developer:"bhumikkalola",tags:[]}],["tic-tac-toe",{title:"Tic Tac Toe",link:"/tic-tac-toe",difficulty:z.Medium,developer:"sadanandpai",tags:[]}],["toast-popup",{title:"Toast Popup",link:"/toast-popup",difficulty:z.Medium,developer:"arpansaha13",tags:[]}],["password-strength",{title:"Password Strength",link:"/password-strength",difficulty:z.Medium,developer:"jaydadhaniya",tags:[]}],["password-generator",{title:"Password Generator",link:"/password-generator",difficulty:z.Medium,developer:"bhumikkalola",tags:[]}],["stopwatch",{title:"Stopwatch",link:"/stopwatch",difficulty:z.Medium,developer:"Shardik04",tags:[]}]]),dk=vl(l6),u6=new Map([["counter",{title:"Counter",link:"counter",difficulty:z.Easy,developer:"sadanandpai",tags:[],isNew:!0}],["guess-number",{title:"Guess Number",link:"guess-number",difficulty:z.Easy,developer:"pankajparkar",tags:[],isNew:!0}],["todo-list",{title:"Todo list",link:"todo-list",difficulty:z.Easy,developer:"pankajparkar",tags:[],isNew:!0}],["stack",{title:"Stack",link:"stack",difficulty:z.Easy,developer:"pankajparkar",tags:[],isNew:!0}],["tic-tac-toe",{title:"Tic tac toe",link:"tic-tac-toe",difficulty:z.Easy,developer:"pankajparkar",tags:[],isNew:!0}],["word-count",{title:"Word Count",link:"word-count",difficulty:z.Easy,developer:"pankajparkar",tags:[],isNew:!0}]]),fk=vl(u6);function c6(t,e,n){e.forEach(r=>{const i=t.get(r.developer);i?(i[n]=(i[n]??0)+1,i.totalContributions+=1):t.set(r.developer,{[n]:1,totalContributions:1})})}const d6=()=>{const t=new Map;new Map([["css",lk],["js",uk],["react",ck],["vue",dk],["angular",fk]]).forEach((i,a)=>{c6(t,i,a)});const n=new Map;t.forEach((i,a)=>{const o=Td.get(a);o&&n.set(a,{name:o==null?void 0:o.name,pic:o==null?void 0:o.pic,contributions:i,numberOfContributions:i.totalContributions,developer:a})});const r=new Map(Array.from(n.entries()).sort((i,a)=>a[1].numberOfContributions-i[1].numberOfContributions||i[1].name.localeCompare(a[1].name)));return new Map([...r.entries()])},f6="_leaderboardTableWrapper_1flea_1",p6="_leaderboardTable_1flea_1",h6="_leaderBoardTableData_1flea_31",m6="_leaderBoardContributorImg_1flea_37",g6="_userProfileImg_1flea_38",v6="_leaderBoardContributorName_1flea_46",y6="_leaderBoardHeading_1flea_50",w6="_userProfileHeading_1flea_51",b6="_profileDetailsContainer_1flea_56",S6="_profileLink_1flea_60",x6="_fontWeightNormal_1flea_68",E6="_contributionTableCell_1flea_72",C6="_techStackDiv_1flea_76",T6="_techStackImg_1flea_83",P6="_techStackDivWrapper_1flea_87",k6="_totalContributions_1flea_101",M6="_leaderboardRowContainer_1flea_125",O6="_index_1flea_131",A6="_name_1flea_139",L6="_contributions_1flea_146",ft={leaderboardTableWrapper:f6,leaderboardTable:p6,leaderBoardTableData:h6,leaderBoardContributorImg:m6,userProfileImg:g6,leaderBoardContributorName:v6,leaderBoardHeading:y6,userProfileHeading:w6,profileDetailsContainer:b6,profileLink:S6,fontWeightNormal:x6,contributionTableCell:E6,techStackDiv:C6,techStackImg:T6,techStackDivWrapper:P6,totalContributions:k6,leaderboardRowContainer:M6,index:O6,name:A6,contributions:L6};function mp(...t){return t.join(" ")}const R6=new Map([["css",cv],["js",fv],["react",pv],["vue",hv],["angular",dv]]),I6=d6(),D6=Array.from(I6.values()).map((t,e)=>V.jsxs("tr",{className:ft.leaderboardRowContainer,children:[V.jsx("td",{className:mp(ft.leaderBoardTableData,ft.index),children:e}),V.jsx("td",{className:mp(ft.leaderBoardTableData,ft.leaderBoardContributorNameTd,ft.name),children:V.jsxs("div",{className:ft.profileLink,children:[V.jsx("img",{className:ft.leaderBoardContributorImg,src:t.pic,alt:""}),V.jsx("span",{className:ft.leaderBoardContributorName,children:t.name})]})}),V.jsx("td",{className:mp(ft.leaderBoardTableData,ft.contributions),children:V.jsxs("div",{className:ft.contributionTableCell,children:[[...R6.entries()].map(([n,r])=>{const i=t.contributions[n];return i?V.jsx("div",{className:ft.techStackDiv,children:V.jsxs("div",{className:ft.techStackDivWrapper,children:[V.jsx("img",{src:r,className:ft.techStackImg}),V.jsx("div",{children:i})]})},n):null}),V.jsxs("div",{className:ft.totalContributions,children:[V.jsx("div",{children:"Total"}),V.jsx("div",{children:t.numberOfContributions})]})]})})]},t.name));function F6(){return V.jsx("div",{className:"container",children:V.jsx("div",{className:ft.leaderboardTableWrapper,children:V.jsxs("table",{border:1,cellSpacing:0,cellPadding:10,style:{textAlign:"center"},className:ft.leaderboardTable,children:[V.jsx("thead",{children:V.jsxs("tr",{children:[V.jsx("td",{children:"#"}),V.jsx("td",{children:"Name"}),V.jsx("td",{children:"Contributions"})]})}),V.jsx("tbody",{children:D6})]})})})}function N6(){return V.jsxs(V.Fragment,{children:[V.jsx(Fv,{title:"Leaderboard"}),V.jsx(F6,{})]})}const _6="_avatar_1jv0o_1",V6="_avatarGroup_1jv0o_11",pk={avatar:_6,avatarGroup:V6};function j6({src:t,alt:e}){return V.jsx("img",{src:t,alt:e,className:pk.avatar})}function $6({contributorNames:t}){return V.jsx("div",{className:pk.avatarGroup,children:t.map(e=>{var r;const n=(r=Td.get(e))==null?void 0:r.pic;return n?V.jsx(j6,{src:n,alt:""},e):null}).filter(Boolean)})}const z6="_filterOptionWrapper_1lebs_1",B6="_searchInputWrapper_1lebs_8",H6="_searchInput_1lebs_8",U6="_searchIcon_1lebs_21",W6="_filterByTechWrapper_1lebs_38",G6="_activeTech_1lebs_60",q6="_emptyMessage_1lebs_64",X6="_challengeGrid_1lebs_75",K6="_challengeCard_1lebs_82",Y6="_avatarContainer_1lebs_97",Q6="_disabled_1lebs_105",Z6="_developer_1lebs_129",J6="_name_1lebs_142",eB="_medium_1lebs_145",tB="_hard_1lebs_148",$t={filterOptionWrapper:z6,searchInputWrapper:B6,searchInput:H6,searchIcon:U6,filterByTechWrapper:W6,activeTech:G6,emptyMessage:q6,challengeGrid:X6,challengeCard:K6,avatarContainer:Y6,disabled:Q6,new:"_new_1lebs_119",developer:Z6,name:J6,medium:eB,hard:tB},nB=({link:t,contributor:e,challenge:n})=>V.jsxs("a",{className:`${$t.challengeCard} ${$t[n.difficulty]}`,href:t,children:[n.isNew&&V.jsx("span",{className:$t.new,children:"New"}),V.jsxs("div",{children:[V.jsx("h3",{children:n.title}),V.jsxs("div",{className:$t.avatarContainer,children:[n.developer&&V.jsxs("div",{className:$t.developer,children:[V.jsx("img",{src:e==null?void 0:e.pic,alt:""}),V.jsx("span",{className:$t.name,children:e==null?void 0:e.name})]}),n.contributors&&V.jsx($6,{contributorNames:n.contributors})]})]})]},n.title);var rB=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];function iB(t){var e=t.defaultInputValue,n=e===void 0?"":e,r=t.defaultMenuIsOpen,i=r===void 0?!1:r,a=t.defaultValue,o=a===void 0?null:a,l=t.inputValue,s=t.menuIsOpen,u=t.onChange,c=t.onInputChange,d=t.onMenuClose,f=t.onMenuOpen,p=t.value,w=gt(t,rB),g=S.useState(l!==void 0?l:n),y=ie(g,2),h=y[0],v=y[1],m=S.useState(s!==void 0?s:i),b=ie(m,2),E=b[0],x=b[1],C=S.useState(p!==void 0?p:o),T=ie(C,2),P=T[0],O=T[1],I=S.useCallback(function(k,F){typeof u=="function"&&u(k,F),O(k)},[u]),N=S.useCallback(function(k,F){var j;typeof c=="function"&&(j=c(k,F)),v(j!==void 0?j:k)},[c]),A=S.useCallback(function(){typeof f=="function"&&f(),x(!0)},[f]),M=S.useCallback(function(){typeof d=="function"&&d(),x(!1)},[d]),R=l!==void 0?l:h,D=s!==void 0?s:E,L=p!==void 0?p:P;return H(H({},w),{},{inputValue:R,menuIsOpen:D,onChange:I,onInputChange:N,onMenuClose:M,onMenuOpen:A,value:L})}function aB(t){if(t.sheet)return t.sheet;for(var e=0;e6)switch(xt(t,e+1)){case 109:if(xt(t,e+4)!==45)break;case 102:return Ce(t,/(.+:)(.+)-([^]+)/,"$1"+Ee+"$2-$3$1"+vc+(xt(t,e+3)==108?"$3":"$2-$3"))+t;case 115:return~Kh(t,"stretch")?hk(Ce(t,"stretch","fill-available"),e)+t:t}break;case 4949:if(xt(t,e+1)!==115)break;case 6444:switch(xt(t,ir(t)-3-(~Kh(t,"!important")&&10))){case 107:return Ce(t,":",":"+Ee)+t;case 101:return Ce(t,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Ee+(xt(t,14)===45?"inline-":"")+"box$3$1"+Ee+"$2$3$1"+Dt+"$2box$3")+t}break;case 5936:switch(xt(t,e+11)){case 114:return Ee+t+Dt+Ce(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return Ee+t+Dt+Ce(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return Ee+t+Dt+Ce(t,/[svh]\w+-[tblr]{2}/,"lr")+t}return Ee+t+Dt+t+t}return t}var hB=function(e,n,r,i){if(e.length>-1&&!e.return)switch(e.type){case Pv:e.return=hk(e.value,e.length);break;case $T:return Bi([_o(e,{value:Ce(e.value,"@","@"+Ee)})],i);case Tv:if(e.length)return lV(e.props,function(a){switch(sV(a,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Bi([_o(e,{props:[Ce(a,/:(read-\w+)/,":"+vc+"$1")]})],i);case"::placeholder":return Bi([_o(e,{props:[Ce(a,/:(plac\w+)/,":"+Ee+"input-$1")]}),_o(e,{props:[Ce(a,/:(plac\w+)/,":"+vc+"$1")]}),_o(e,{props:[Ce(a,/:(plac\w+)/,Dt+"input-$1")]})],i)}return""})}},mB=[hB],gB=function(e){var n=e.key;if(n==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(g){var y=g.getAttribute("data-emotion");y.indexOf(" ")!==-1&&(document.head.appendChild(g),g.setAttribute("data-s",""))})}var i=e.stylisPlugins||mB,a={},o,l=[];o=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(g){for(var y=g.getAttribute("data-emotion").split(" "),h=1;h=4;++r,i-=4)n=t.charCodeAt(r)&255|(t.charCodeAt(++r)&255)<<8|(t.charCodeAt(++r)&255)<<16|(t.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,e=(n&65535)*1540483477+((n>>>16)*59797<<16)^(e&65535)*1540483477+((e>>>16)*59797<<16);switch(i){case 3:e^=(t.charCodeAt(r+2)&255)<<16;case 2:e^=(t.charCodeAt(r+1)&255)<<8;case 1:e^=t.charCodeAt(r)&255,e=(e&65535)*1540483477+((e>>>16)*59797<<16)}return e^=e>>>13,e=(e&65535)*1540483477+((e>>>16)*59797<<16),((e^e>>>15)>>>0).toString(36)}var TB={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},PB=/[A-Z]|^ms/g,kB=/_EMO_([^_]+?)_([^]*?)_EMO_/g,yk=function(e){return e.charCodeAt(1)===45},bb=function(e){return e!=null&&typeof e!="boolean"},gp=iB(function(t){return yk(t)?t:t.replace(PB,"-$&").toLowerCase()}),Sb=function(e,n){switch(e){case"animation":case"animationName":if(typeof n=="string")return n.replace(kB,function(r,i,a){return ar={name:i,styles:a,next:ar},i})}return TB[e]!==1&&!yk(e)&&typeof n=="number"&&n!==0?n+"px":n};function Xs(t,e,n){if(n==null)return"";if(n.__emotion_styles!==void 0)return n;switch(typeof n){case"boolean":return"";case"object":{if(n.anim===1)return ar={name:n.name,styles:n.styles,next:ar},n.name;if(n.styles!==void 0){var r=n.next;if(r!==void 0)for(;r!==void 0;)ar={name:r.name,styles:r.styles,next:ar},r=r.next;var i=n.styles+";";return i}return MB(t,e,n)}case"function":{if(t!==void 0){var a=ar,o=n(t);return ar=a,Xs(t,e,o)}break}}if(e==null)return n;var l=e[n];return l!==void 0?l:n}function MB(t,e,n){var r="";if(Array.isArray(n))for(var i=0;i({x:t,y:t});function BB(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function Sk(t){return Ek(t)?(t.nodeName||"").toLowerCase():"#document"}function Yn(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function xk(t){var e;return(e=(Ek(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function Ek(t){return t instanceof Node||t instanceof Yn(t).Node}function Om(t){return t instanceof Element||t instanceof Yn(t).Element}function Bv(t){return t instanceof HTMLElement||t instanceof Yn(t).HTMLElement}function Eb(t){return typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof Yn(t).ShadowRoot}function Ck(t){const{overflow:e,overflowX:n,overflowY:r,display:i}=Hv(t);return/auto|scroll|overlay|hidden|clip/.test(e+r+n)&&!["inline","contents"].includes(i)}function HB(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function UB(t){return["html","body","#document"].includes(Sk(t))}function Hv(t){return Yn(t).getComputedStyle(t)}function WB(t){if(Sk(t)==="html")return t;const e=t.assignedSlot||t.parentNode||Eb(t)&&t.host||xk(t);return Eb(e)?e.host:e}function Tk(t){const e=WB(t);return UB(e)?t.ownerDocument?t.ownerDocument.body:t.body:Bv(e)&&Ck(e)?e:Tk(e)}function Ec(t,e,n){var r;e===void 0&&(e=[]),n===void 0&&(n=!0);const i=Tk(t),a=i===((r=t.ownerDocument)==null?void 0:r.body),o=Yn(i);return a?e.concat(o,o.visualViewport||[],Ck(i)?i:[],o.frameElement&&n?Ec(o.frameElement):[]):e.concat(i,Ec(i,[],n))}function GB(t){const e=Hv(t);let n=parseFloat(e.width)||0,r=parseFloat(e.height)||0;const i=Bv(t),a=i?t.offsetWidth:n,o=i?t.offsetHeight:r,l=Sc(n)!==a||Sc(r)!==o;return l&&(n=a,r=o),{width:n,height:r,$:l}}function Uv(t){return Om(t)?t:t.contextElement}function vp(t){const e=Uv(t);if(!Bv(e))return xc(1);const n=e.getBoundingClientRect(),{width:r,height:i,$:a}=GB(e);let o=(a?Sc(n.width):n.width)/r,l=(a?Sc(n.height):n.height)/i;return(!o||!Number.isFinite(o))&&(o=1),(!l||!Number.isFinite(l))&&(l=1),{x:o,y:l}}const qB=xc(0);function XB(t){const e=Yn(t);return!HB()||!e.visualViewport?qB:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function KB(t,e,n){return e===void 0&&(e=!1),!n||e&&n!==Yn(t)?!1:e}function Cb(t,e,n,r){e===void 0&&(e=!1),n===void 0&&(n=!1);const i=t.getBoundingClientRect(),a=Uv(t);let o=xc(1);e&&(r?Om(r)&&(o=vp(r)):o=vp(t));const l=KB(a,n,r)?XB(a):xc(0);let s=(i.left+l.x)/o.x,u=(i.top+l.y)/o.y,c=i.width/o.x,d=i.height/o.y;if(a){const f=Yn(a),p=r&&Om(r)?Yn(r):r;let w=f.frameElement;for(;w&&r&&p!==f;){const g=vp(w),y=w.getBoundingClientRect(),h=Hv(w),v=y.left+(w.clientLeft+parseFloat(h.paddingLeft))*g.x,m=y.top+(w.clientTop+parseFloat(h.paddingTop))*g.y;s*=g.x,u*=g.y,c*=g.x,d*=g.y,s+=v,u+=m,w=Yn(w).frameElement}}return BB({width:c,height:d,x:s,y:u})}function YB(t,e){let n=null,r;const i=xk(t);function a(){clearTimeout(r),n&&n.disconnect(),n=null}function o(l,s){l===void 0&&(l=!1),s===void 0&&(s=1),a();const{left:u,top:c,width:d,height:f}=t.getBoundingClientRect();if(l||e(),!d||!f)return;const p=tu(c),w=tu(i.clientWidth-(u+d)),g=tu(i.clientHeight-(c+f)),y=tu(u),v={rootMargin:-p+"px "+-w+"px "+-g+"px "+-y+"px",threshold:zB(0,$B(1,s))||1};let m=!0;function b(E){const x=E[0].intersectionRatio;if(x!==s){if(!m)return o();x?o(!1,x):r=setTimeout(()=>{o(!1,1e-7)},100)}m=!1}try{n=new IntersectionObserver(b,{...v,root:i.ownerDocument})}catch{n=new IntersectionObserver(b,v)}n.observe(t)}return o(!0),a}function QB(t,e,n,r){r===void 0&&(r={});const{ancestorScroll:i=!0,ancestorResize:a=!0,elementResize:o=typeof ResizeObserver=="function",layoutShift:l=typeof IntersectionObserver=="function",animationFrame:s=!1}=r,u=Uv(t),c=i||a?[...u?Ec(u):[],...Ec(e)]:[];c.forEach(h=>{i&&h.addEventListener("scroll",n,{passive:!0}),a&&h.addEventListener("resize",n)});const d=u&&l?YB(u,n):null;let f=-1,p=null;o&&(p=new ResizeObserver(h=>{let[v]=h;v&&v.target===u&&p&&(p.unobserve(e),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{p&&p.observe(e)})),n()}),u&&!s&&p.observe(u),p.observe(e));let w,g=s?Cb(t):null;s&&y();function y(){const h=Cb(t);g&&(h.x!==g.x||h.y!==g.y||h.width!==g.width||h.height!==g.height)&&n(),g=h,w=requestAnimationFrame(y)}return n(),()=>{c.forEach(h=>{i&&h.removeEventListener("scroll",n),a&&h.removeEventListener("resize",n)}),d&&d(),p&&p.disconnect(),p=null,s&&cancelAnimationFrame(w)}}var Am=S.useLayoutEffect,ZB=["className","clearValue","cx","getStyles","getClassNames","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],Cc=function(){};function JB(t,e){return e?e[0]==="-"?t+e:t+"__"+e:t}function e8(t,e){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i-1}function t8(t){return Fd(t)?window.innerHeight:t.clientHeight}function kk(t){return Fd(t)?window.pageYOffset:t.scrollTop}function Tc(t,e){if(Fd(t)){window.scrollTo(0,e);return}t.scrollTop=e}function n8(t){var e=getComputedStyle(t),n=e.position==="absolute",r=/(auto|scroll)/;if(e.position==="fixed")return document.documentElement;for(var i=t;i=i.parentElement;)if(e=getComputedStyle(i),!(n&&e.position==="static")&&r.test(e.overflow+e.overflowY+e.overflowX))return i;return document.documentElement}function r8(t,e,n,r){return n*((t=t/r-1)*t*t+1)+e}function nu(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:200,r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:Cc,i=kk(t),a=e-i,o=10,l=0;function s(){l+=o;var u=r8(l,i,a,n);Tc(t,u),ln.bottom?Tc(t,Math.min(e.offsetTop+e.clientHeight-t.offsetHeight+i,t.scrollHeight)):r.top-i1?n-1:0),i=1;i=w)return{placement:"bottom",maxHeight:e};if(P>=w&&!o)return a&&nu(s,O,N),{placement:"bottom",maxHeight:e};if(!o&&P>=r||o&&C>=r){a&&nu(s,O,N);var A=o?C-b:P-b;return{placement:"bottom",maxHeight:A}}if(i==="auto"||o){var M=e,R=o?x:T;return R>=r&&(M=Math.min(R-b-l,e)),{placement:"top",maxHeight:M}}if(i==="bottom")return a&&Tc(s,O),{placement:"bottom",maxHeight:e};break;case"top":if(x>=w)return{placement:"top",maxHeight:e};if(T>=w&&!o)return a&&nu(s,I,N),{placement:"top",maxHeight:e};if(!o&&T>=r||o&&x>=r){var D=e;return(!o&&T>=r||o&&x>=r)&&(D=o?x-E:T-E),a&&nu(s,I,N),{placement:"top",maxHeight:D}}return{placement:"bottom",maxHeight:e};default:throw new Error('Invalid placement provided "'.concat(i,'".'))}return u}function h8(t){var e={bottom:"top",top:"bottom"};return t?e[t]:"bottom"}var Ok=function(e){return e==="auto"?"bottom":e},m8=function(e,n){var r,i=e.placement,a=e.theme,o=a.borderRadius,l=a.spacing,s=a.colors;return H((r={label:"menu"},U(r,h8(i),"100%"),U(r,"position","absolute"),U(r,"width","100%"),U(r,"zIndex",1),r),n?{}:{backgroundColor:s.neutral0,borderRadius:o,boxShadow:"0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)",marginBottom:l.menuGutter,marginTop:l.menuGutter})},Ak=S.createContext(null),g8=function(e){var n=e.children,r=e.minMenuHeight,i=e.maxMenuHeight,a=e.menuPlacement,o=e.menuPosition,l=e.menuShouldScrollIntoView,s=e.theme,u=S.useContext(Ak)||{},c=u.setPortalPlacement,d=S.useRef(null),f=S.useState(i),p=ie(f,2),w=p[0],g=p[1],y=S.useState(null),h=ie(y,2),v=h[0],m=h[1],b=s.spacing.controlHeight;return Am(function(){var E=d.current;if(E){var x=o==="fixed",C=l&&!x,T=p8({maxHeight:i,menuEl:E,minHeight:r,placement:a,shouldScroll:C,isFixedPosition:x,controlHeight:b});g(T.maxHeight),m(T.placement),c==null||c(T.placement)}},[i,a,o,l,r,c,b]),n({ref:d,placerProps:H(H({},e),{},{placement:v||Ok(a),maxHeight:w})})},v8=function(e){var n=e.children,r=e.innerRef,i=e.innerProps;return se("div",J({},Ye(e,"menu",{menu:!0}),{ref:r},i),n)},y8=v8,w8=function(e,n){var r=e.maxHeight,i=e.theme.spacing.baseUnit;return H({maxHeight:r,overflowY:"auto",position:"relative",WebkitOverflowScrolling:"touch"},n?{}:{paddingBottom:i,paddingTop:i})},b8=function(e){var n=e.children,r=e.innerProps,i=e.innerRef,a=e.isMulti;return se("div",J({},Ye(e,"menuList",{"menu-list":!0,"menu-list--is-multi":a}),{ref:i},r),n)},Lk=function(e,n){var r=e.theme,i=r.spacing.baseUnit,a=r.colors;return H({textAlign:"center"},n?{}:{color:a.neutral40,padding:"".concat(i*2,"px ").concat(i*3,"px")})},S8=Lk,x8=Lk,E8=function(e){var n=e.children,r=n===void 0?"No options":n,i=e.innerProps,a=gt(e,d8);return se("div",J({},Ye(H(H({},a),{},{children:r,innerProps:i}),"noOptionsMessage",{"menu-notice":!0,"menu-notice--no-options":!0}),i),r)},C8=function(e){var n=e.children,r=n===void 0?"Loading...":n,i=e.innerProps,a=gt(e,f8);return se("div",J({},Ye(H(H({},a),{},{children:r,innerProps:i}),"loadingMessage",{"menu-notice":!0,"menu-notice--loading":!0}),i),r)},T8=function(e){var n=e.rect,r=e.offset,i=e.position;return{left:n.left,position:i,top:r,width:n.width,zIndex:1}},P8=function(e){var n=e.appendTo,r=e.children,i=e.controlElement,a=e.innerProps,o=e.menuPlacement,l=e.menuPosition,s=S.useRef(null),u=S.useRef(null),c=S.useState(Ok(o)),d=ie(c,2),f=d[0],p=d[1],w=S.useMemo(function(){return{setPortalPlacement:p}},[]),g=S.useState(null),y=ie(g,2),h=y[0],v=y[1],m=S.useCallback(function(){if(i){var C=i8(i),T=l==="fixed"?0:window.pageYOffset,P=C[f]+T;(P!==(h==null?void 0:h.offset)||C.left!==(h==null?void 0:h.rect.left)||C.width!==(h==null?void 0:h.rect.width))&&v({offset:P,rect:C})}},[i,l,f,h==null?void 0:h.offset,h==null?void 0:h.rect.left,h==null?void 0:h.rect.width]);Am(function(){m()},[m]);var b=S.useCallback(function(){typeof u.current=="function"&&(u.current(),u.current=null),i&&s.current&&(u.current=QB(i,s.current,m,{elementResize:"ResizeObserver"in window}))},[i,m]);Am(function(){b()},[b]);var E=S.useCallback(function(C){s.current=C,b()},[b]);if(!n&&l!=="fixed"||!h)return null;var x=se("div",J({ref:E},Ye(H(H({},e),{},{offset:h.offset,position:l,rect:h.rect}),"menuPortal",{"menu-portal":!0}),a),r);return se(Ak.Provider,{value:w},n?tl.createPortal(x,n):x)},k8=function(e){var n=e.isDisabled,r=e.isRtl;return{label:"container",direction:r?"rtl":void 0,pointerEvents:n?"none":void 0,position:"relative"}},M8=function(e){var n=e.children,r=e.innerProps,i=e.isDisabled,a=e.isRtl;return se("div",J({},Ye(e,"container",{"--is-disabled":i,"--is-rtl":a}),r),n)},O8=function(e,n){var r=e.theme.spacing,i=e.isMulti,a=e.hasValue,o=e.selectProps.controlShouldRenderValue;return H({alignItems:"center",display:i&&a&&o?"flex":"grid",flex:1,flexWrap:"wrap",WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"},n?{}:{padding:"".concat(r.baseUnit/2,"px ").concat(r.baseUnit*2,"px")})},A8=function(e){var n=e.children,r=e.innerProps,i=e.isMulti,a=e.hasValue;return se("div",J({},Ye(e,"valueContainer",{"value-container":!0,"value-container--is-multi":i,"value-container--has-value":a}),r),n)},L8=function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},R8=function(e){var n=e.children,r=e.innerProps;return se("div",J({},Ye(e,"indicatorsContainer",{indicators:!0}),r),n)},Mb,I8=["size"],D8=["innerProps","isRtl","size"],F8={name:"8mmkcg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0"},Rk=function(e){var n=e.size,r=gt(e,I8);return se("svg",J({height:n,width:n,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:F8},r))},Wv=function(e){return se(Rk,J({size:20},e),se("path",{d:"M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z"}))},Ik=function(e){return se(Rk,J({size:20},e),se("path",{d:"M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"}))},Dk=function(e,n){var r=e.isFocused,i=e.theme,a=i.spacing.baseUnit,o=i.colors;return H({label:"indicatorContainer",display:"flex",transition:"color 150ms"},n?{}:{color:r?o.neutral60:o.neutral20,padding:a*2,":hover":{color:r?o.neutral80:o.neutral40}})},N8=Dk,_8=function(e){var n=e.children,r=e.innerProps;return se("div",J({},Ye(e,"dropdownIndicator",{indicator:!0,"dropdown-indicator":!0}),r),n||se(Ik,null))},V8=Dk,j8=function(e){var n=e.children,r=e.innerProps;return se("div",J({},Ye(e,"clearIndicator",{indicator:!0,"clear-indicator":!0}),r),n||se(Wv,null))},$8=function(e,n){var r=e.isDisabled,i=e.theme,a=i.spacing.baseUnit,o=i.colors;return H({label:"indicatorSeparator",alignSelf:"stretch",width:1},n?{}:{backgroundColor:r?o.neutral10:o.neutral20,marginBottom:a*2,marginTop:a*2})},z8=function(e){var n=e.innerProps;return se("span",J({},n,Ye(e,"indicatorSeparator",{"indicator-separator":!0})))},B8=VB(Mb||(Mb=jB([` + */var vt=typeof Symbol=="function"&&Symbol.for,Vv=vt?Symbol.for("react.element"):60103,jv=vt?Symbol.for("react.portal"):60106,Pd=vt?Symbol.for("react.fragment"):60107,kd=vt?Symbol.for("react.strict_mode"):60108,Md=vt?Symbol.for("react.profiler"):60114,Od=vt?Symbol.for("react.provider"):60109,Ad=vt?Symbol.for("react.context"):60110,$v=vt?Symbol.for("react.async_mode"):60111,Ld=vt?Symbol.for("react.concurrent_mode"):60111,Rd=vt?Symbol.for("react.forward_ref"):60112,Id=vt?Symbol.for("react.suspense"):60113,vB=vt?Symbol.for("react.suspense_list"):60120,Dd=vt?Symbol.for("react.memo"):60115,Fd=vt?Symbol.for("react.lazy"):60116,yB=vt?Symbol.for("react.block"):60121,wB=vt?Symbol.for("react.fundamental"):60117,bB=vt?Symbol.for("react.responder"):60118,SB=vt?Symbol.for("react.scope"):60119;function En(t){if(typeof t=="object"&&t!==null){var e=t.$$typeof;switch(e){case Vv:switch(t=t.type,t){case $v:case Ld:case Pd:case Md:case kd:case Id:return t;default:switch(t=t&&t.$$typeof,t){case Ad:case Rd:case Fd:case Dd:case Od:return t;default:return e}}case jv:return e}}}function gk(t){return En(t)===Ld}Me.AsyncMode=$v;Me.ConcurrentMode=Ld;Me.ContextConsumer=Ad;Me.ContextProvider=Od;Me.Element=Vv;Me.ForwardRef=Rd;Me.Fragment=Pd;Me.Lazy=Fd;Me.Memo=Dd;Me.Portal=jv;Me.Profiler=Md;Me.StrictMode=kd;Me.Suspense=Id;Me.isAsyncMode=function(t){return gk(t)||En(t)===$v};Me.isConcurrentMode=gk;Me.isContextConsumer=function(t){return En(t)===Ad};Me.isContextProvider=function(t){return En(t)===Od};Me.isElement=function(t){return typeof t=="object"&&t!==null&&t.$$typeof===Vv};Me.isForwardRef=function(t){return En(t)===Rd};Me.isFragment=function(t){return En(t)===Pd};Me.isLazy=function(t){return En(t)===Fd};Me.isMemo=function(t){return En(t)===Dd};Me.isPortal=function(t){return En(t)===jv};Me.isProfiler=function(t){return En(t)===Md};Me.isStrictMode=function(t){return En(t)===kd};Me.isSuspense=function(t){return En(t)===Id};Me.isValidElementType=function(t){return typeof t=="string"||typeof t=="function"||t===Pd||t===Ld||t===Md||t===kd||t===Id||t===vB||typeof t=="object"&&t!==null&&(t.$$typeof===Fd||t.$$typeof===Dd||t.$$typeof===Od||t.$$typeof===Ad||t.$$typeof===Rd||t.$$typeof===wB||t.$$typeof===bB||t.$$typeof===SB||t.$$typeof===yB)};Me.typeOf=En;mk.exports=Me;var xB=mk.exports,vk=xB,EB={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},CB={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},yk={};yk[vk.ForwardRef]=EB;yk[vk.Memo]=CB;var TB=!0;function PB(t,e,n){var r="";return n.split(" ").forEach(function(i){t[i]!==void 0?e.push(t[i]+";"):r+=i+" "}),r}var wk=function(e,n,r){var i=e.key+"-"+n.name;(r===!1||TB===!1)&&e.registered[i]===void 0&&(e.registered[i]=n.styles)},kB=function(e,n,r){wk(e,n,r);var i=e.key+"-"+n.name;if(e.inserted[n.name]===void 0){var a=n;do e.insert(n===a?"."+i:"",a,e.sheet,!0),a=a.next;while(a!==void 0)}};function MB(t){for(var e=0,n,r=0,i=t.length;i>=4;++r,i-=4)n=t.charCodeAt(r)&255|(t.charCodeAt(++r)&255)<<8|(t.charCodeAt(++r)&255)<<16|(t.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,e=(n&65535)*1540483477+((n>>>16)*59797<<16)^(e&65535)*1540483477+((e>>>16)*59797<<16);switch(i){case 3:e^=(t.charCodeAt(r+2)&255)<<16;case 2:e^=(t.charCodeAt(r+1)&255)<<8;case 1:e^=t.charCodeAt(r)&255,e=(e&65535)*1540483477+((e>>>16)*59797<<16)}return e^=e>>>13,e=(e&65535)*1540483477+((e>>>16)*59797<<16),((e^e>>>15)>>>0).toString(36)}var OB={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},AB=/[A-Z]|^ms/g,LB=/_EMO_([^_]+?)_([^]*?)_EMO_/g,bk=function(e){return e.charCodeAt(1)===45},Sb=function(e){return e!=null&&typeof e!="boolean"},gp=lB(function(t){return bk(t)?t:t.replace(AB,"-$&").toLowerCase()}),xb=function(e,n){switch(e){case"animation":case"animationName":if(typeof n=="string")return n.replace(LB,function(r,i,a){return ar={name:i,styles:a,next:ar},i})}return OB[e]!==1&&!bk(e)&&typeof n=="number"&&n!==0?n+"px":n};function Xs(t,e,n){if(n==null)return"";if(n.__emotion_styles!==void 0)return n;switch(typeof n){case"boolean":return"";case"object":{if(n.anim===1)return ar={name:n.name,styles:n.styles,next:ar},n.name;if(n.styles!==void 0){var r=n.next;if(r!==void 0)for(;r!==void 0;)ar={name:r.name,styles:r.styles,next:ar},r=r.next;var i=n.styles+";";return i}return RB(t,e,n)}case"function":{if(t!==void 0){var a=ar,o=n(t);return ar=a,Xs(t,e,o)}break}}if(e==null)return n;var l=e[n];return l!==void 0?l:n}function RB(t,e,n){var r="";if(Array.isArray(n))for(var i=0;i({x:t,y:t});function GB(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function Ek(t){return Tk(t)?(t.nodeName||"").toLowerCase():"#document"}function Yn(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function Ck(t){var e;return(e=(Tk(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function Tk(t){return t instanceof Node||t instanceof Yn(t).Node}function Om(t){return t instanceof Element||t instanceof Yn(t).Element}function Hv(t){return t instanceof HTMLElement||t instanceof Yn(t).HTMLElement}function Cb(t){return typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof Yn(t).ShadowRoot}function Pk(t){const{overflow:e,overflowX:n,overflowY:r,display:i}=Uv(t);return/auto|scroll|overlay|hidden|clip/.test(e+r+n)&&!["inline","contents"].includes(i)}function qB(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function XB(t){return["html","body","#document"].includes(Ek(t))}function Uv(t){return Yn(t).getComputedStyle(t)}function KB(t){if(Ek(t)==="html")return t;const e=t.assignedSlot||t.parentNode||Cb(t)&&t.host||Ck(t);return Cb(e)?e.host:e}function kk(t){const e=KB(t);return XB(e)?t.ownerDocument?t.ownerDocument.body:t.body:Hv(e)&&Pk(e)?e:kk(e)}function Tc(t,e,n){var r;e===void 0&&(e=[]),n===void 0&&(n=!0);const i=kk(t),a=i===((r=t.ownerDocument)==null?void 0:r.body),o=Yn(i);return a?e.concat(o,o.visualViewport||[],Pk(i)?i:[],o.frameElement&&n?Tc(o.frameElement):[]):e.concat(i,Tc(i,[],n))}function YB(t){const e=Uv(t);let n=parseFloat(e.width)||0,r=parseFloat(e.height)||0;const i=Hv(t),a=i?t.offsetWidth:n,o=i?t.offsetHeight:r,l=Ec(n)!==a||Ec(r)!==o;return l&&(n=a,r=o),{width:n,height:r,$:l}}function Wv(t){return Om(t)?t:t.contextElement}function vp(t){const e=Wv(t);if(!Hv(e))return Cc(1);const n=e.getBoundingClientRect(),{width:r,height:i,$:a}=YB(e);let o=(a?Ec(n.width):n.width)/r,l=(a?Ec(n.height):n.height)/i;return(!o||!Number.isFinite(o))&&(o=1),(!l||!Number.isFinite(l))&&(l=1),{x:o,y:l}}const QB=Cc(0);function ZB(t){const e=Yn(t);return!qB()||!e.visualViewport?QB:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function JB(t,e,n){return e===void 0&&(e=!1),!n||e&&n!==Yn(t)?!1:e}function Tb(t,e,n,r){e===void 0&&(e=!1),n===void 0&&(n=!1);const i=t.getBoundingClientRect(),a=Wv(t);let o=Cc(1);e&&(r?Om(r)&&(o=vp(r)):o=vp(t));const l=JB(a,n,r)?ZB(a):Cc(0);let s=(i.left+l.x)/o.x,u=(i.top+l.y)/o.y,c=i.width/o.x,d=i.height/o.y;if(a){const f=Yn(a),p=r&&Om(r)?Yn(r):r;let w=f.frameElement;for(;w&&r&&p!==f;){const g=vp(w),y=w.getBoundingClientRect(),h=Uv(w),v=y.left+(w.clientLeft+parseFloat(h.paddingLeft))*g.x,m=y.top+(w.clientTop+parseFloat(h.paddingTop))*g.y;s*=g.x,u*=g.y,c*=g.x,d*=g.y,s+=v,u+=m,w=Yn(w).frameElement}}return GB({width:c,height:d,x:s,y:u})}function eH(t,e){let n=null,r;const i=Ck(t);function a(){clearTimeout(r),n&&n.disconnect(),n=null}function o(l,s){l===void 0&&(l=!1),s===void 0&&(s=1),a();const{left:u,top:c,width:d,height:f}=t.getBoundingClientRect();if(l||e(),!d||!f)return;const p=ru(c),w=ru(i.clientWidth-(u+d)),g=ru(i.clientHeight-(c+f)),y=ru(u),v={rootMargin:-p+"px "+-w+"px "+-g+"px "+-y+"px",threshold:WB(0,UB(1,s))||1};let m=!0;function b(E){const x=E[0].intersectionRatio;if(x!==s){if(!m)return o();x?o(!1,x):r=setTimeout(()=>{o(!1,1e-7)},100)}m=!1}try{n=new IntersectionObserver(b,{...v,root:i.ownerDocument})}catch{n=new IntersectionObserver(b,v)}n.observe(t)}return o(!0),a}function tH(t,e,n,r){r===void 0&&(r={});const{ancestorScroll:i=!0,ancestorResize:a=!0,elementResize:o=typeof ResizeObserver=="function",layoutShift:l=typeof IntersectionObserver=="function",animationFrame:s=!1}=r,u=Wv(t),c=i||a?[...u?Tc(u):[],...Tc(e)]:[];c.forEach(h=>{i&&h.addEventListener("scroll",n,{passive:!0}),a&&h.addEventListener("resize",n)});const d=u&&l?eH(u,n):null;let f=-1,p=null;o&&(p=new ResizeObserver(h=>{let[v]=h;v&&v.target===u&&p&&(p.unobserve(e),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{p&&p.observe(e)})),n()}),u&&!s&&p.observe(u),p.observe(e));let w,g=s?Tb(t):null;s&&y();function y(){const h=Tb(t);g&&(h.x!==g.x||h.y!==g.y||h.width!==g.width||h.height!==g.height)&&n(),g=h,w=requestAnimationFrame(y)}return n(),()=>{c.forEach(h=>{i&&h.removeEventListener("scroll",n),a&&h.removeEventListener("resize",n)}),d&&d(),p&&p.disconnect(),p=null,s&&cancelAnimationFrame(w)}}var Am=S.useLayoutEffect,nH=["className","clearValue","cx","getStyles","getClassNames","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],Pc=function(){};function rH(t,e){return e?e[0]==="-"?t+e:t+"__"+e:t}function iH(t,e){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i-1}function aH(t){return Nd(t)?window.innerHeight:t.clientHeight}function Ok(t){return Nd(t)?window.pageYOffset:t.scrollTop}function kc(t,e){if(Nd(t)){window.scrollTo(0,e);return}t.scrollTop=e}function oH(t){var e=getComputedStyle(t),n=e.position==="absolute",r=/(auto|scroll)/;if(e.position==="fixed")return document.documentElement;for(var i=t;i=i.parentElement;)if(e=getComputedStyle(i),!(n&&e.position==="static")&&r.test(e.overflow+e.overflowY+e.overflowX))return i;return document.documentElement}function sH(t,e,n,r){return n*((t=t/r-1)*t*t+1)+e}function iu(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:200,r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:Pc,i=Ok(t),a=e-i,o=10,l=0;function s(){l+=o;var u=sH(l,i,a,n);kc(t,u),ln.bottom?kc(t,Math.min(e.offsetTop+e.clientHeight-t.offsetHeight+i,t.scrollHeight)):r.top-i1?n-1:0),i=1;i=w)return{placement:"bottom",maxHeight:e};if(P>=w&&!o)return a&&iu(s,O,N),{placement:"bottom",maxHeight:e};if(!o&&P>=r||o&&C>=r){a&&iu(s,O,N);var A=o?C-b:P-b;return{placement:"bottom",maxHeight:A}}if(i==="auto"||o){var M=e,R=o?x:T;return R>=r&&(M=Math.min(R-b-l,e)),{placement:"top",maxHeight:M}}if(i==="bottom")return a&&kc(s,O),{placement:"bottom",maxHeight:e};break;case"top":if(x>=w)return{placement:"top",maxHeight:e};if(T>=w&&!o)return a&&iu(s,I,N),{placement:"top",maxHeight:e};if(!o&&T>=r||o&&x>=r){var D=e;return(!o&&T>=r||o&&x>=r)&&(D=o?x-E:T-E),a&&iu(s,I,N),{placement:"top",maxHeight:D}}return{placement:"bottom",maxHeight:e};default:throw new Error('Invalid placement provided "'.concat(i,'".'))}return u}function yH(t){var e={bottom:"top",top:"bottom"};return t?e[t]:"bottom"}var Lk=function(e){return e==="auto"?"bottom":e},wH=function(e,n){var r,i=e.placement,a=e.theme,o=a.borderRadius,l=a.spacing,s=a.colors;return H((r={label:"menu"},U(r,yH(i),"100%"),U(r,"position","absolute"),U(r,"width","100%"),U(r,"zIndex",1),r),n?{}:{backgroundColor:s.neutral0,borderRadius:o,boxShadow:"0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)",marginBottom:l.menuGutter,marginTop:l.menuGutter})},Rk=S.createContext(null),bH=function(e){var n=e.children,r=e.minMenuHeight,i=e.maxMenuHeight,a=e.menuPlacement,o=e.menuPosition,l=e.menuShouldScrollIntoView,s=e.theme,u=S.useContext(Rk)||{},c=u.setPortalPlacement,d=S.useRef(null),f=S.useState(i),p=ie(f,2),w=p[0],g=p[1],y=S.useState(null),h=ie(y,2),v=h[0],m=h[1],b=s.spacing.controlHeight;return Am(function(){var E=d.current;if(E){var x=o==="fixed",C=l&&!x,T=vH({maxHeight:i,menuEl:E,minHeight:r,placement:a,shouldScroll:C,isFixedPosition:x,controlHeight:b});g(T.maxHeight),m(T.placement),c==null||c(T.placement)}},[i,a,o,l,r,c,b]),n({ref:d,placerProps:H(H({},e),{},{placement:v||Lk(a),maxHeight:w})})},SH=function(e){var n=e.children,r=e.innerRef,i=e.innerProps;return se("div",J({},Ye(e,"menu",{menu:!0}),{ref:r},i),n)},xH=SH,EH=function(e,n){var r=e.maxHeight,i=e.theme.spacing.baseUnit;return H({maxHeight:r,overflowY:"auto",position:"relative",WebkitOverflowScrolling:"touch"},n?{}:{paddingBottom:i,paddingTop:i})},CH=function(e){var n=e.children,r=e.innerProps,i=e.innerRef,a=e.isMulti;return se("div",J({},Ye(e,"menuList",{"menu-list":!0,"menu-list--is-multi":a}),{ref:i},r),n)},Ik=function(e,n){var r=e.theme,i=r.spacing.baseUnit,a=r.colors;return H({textAlign:"center"},n?{}:{color:a.neutral40,padding:"".concat(i*2,"px ").concat(i*3,"px")})},TH=Ik,PH=Ik,kH=function(e){var n=e.children,r=n===void 0?"No options":n,i=e.innerProps,a=gt(e,mH);return se("div",J({},Ye(H(H({},a),{},{children:r,innerProps:i}),"noOptionsMessage",{"menu-notice":!0,"menu-notice--no-options":!0}),i),r)},MH=function(e){var n=e.children,r=n===void 0?"Loading...":n,i=e.innerProps,a=gt(e,gH);return se("div",J({},Ye(H(H({},a),{},{children:r,innerProps:i}),"loadingMessage",{"menu-notice":!0,"menu-notice--loading":!0}),i),r)},OH=function(e){var n=e.rect,r=e.offset,i=e.position;return{left:n.left,position:i,top:r,width:n.width,zIndex:1}},AH=function(e){var n=e.appendTo,r=e.children,i=e.controlElement,a=e.innerProps,o=e.menuPlacement,l=e.menuPosition,s=S.useRef(null),u=S.useRef(null),c=S.useState(Lk(o)),d=ie(c,2),f=d[0],p=d[1],w=S.useMemo(function(){return{setPortalPlacement:p}},[]),g=S.useState(null),y=ie(g,2),h=y[0],v=y[1],m=S.useCallback(function(){if(i){var C=lH(i),T=l==="fixed"?0:window.pageYOffset,P=C[f]+T;(P!==(h==null?void 0:h.offset)||C.left!==(h==null?void 0:h.rect.left)||C.width!==(h==null?void 0:h.rect.width))&&v({offset:P,rect:C})}},[i,l,f,h==null?void 0:h.offset,h==null?void 0:h.rect.left,h==null?void 0:h.rect.width]);Am(function(){m()},[m]);var b=S.useCallback(function(){typeof u.current=="function"&&(u.current(),u.current=null),i&&s.current&&(u.current=tH(i,s.current,m,{elementResize:"ResizeObserver"in window}))},[i,m]);Am(function(){b()},[b]);var E=S.useCallback(function(C){s.current=C,b()},[b]);if(!n&&l!=="fixed"||!h)return null;var x=se("div",J({ref:E},Ye(H(H({},e),{},{offset:h.offset,position:l,rect:h.rect}),"menuPortal",{"menu-portal":!0}),a),r);return se(Rk.Provider,{value:w},n?tl.createPortal(x,n):x)},LH=function(e){var n=e.isDisabled,r=e.isRtl;return{label:"container",direction:r?"rtl":void 0,pointerEvents:n?"none":void 0,position:"relative"}},RH=function(e){var n=e.children,r=e.innerProps,i=e.isDisabled,a=e.isRtl;return se("div",J({},Ye(e,"container",{"--is-disabled":i,"--is-rtl":a}),r),n)},IH=function(e,n){var r=e.theme.spacing,i=e.isMulti,a=e.hasValue,o=e.selectProps.controlShouldRenderValue;return H({alignItems:"center",display:i&&a&&o?"flex":"grid",flex:1,flexWrap:"wrap",WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"},n?{}:{padding:"".concat(r.baseUnit/2,"px ").concat(r.baseUnit*2,"px")})},DH=function(e){var n=e.children,r=e.innerProps,i=e.isMulti,a=e.hasValue;return se("div",J({},Ye(e,"valueContainer",{"value-container":!0,"value-container--is-multi":i,"value-container--has-value":a}),r),n)},FH=function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},NH=function(e){var n=e.children,r=e.innerProps;return se("div",J({},Ye(e,"indicatorsContainer",{indicators:!0}),r),n)},Ob,_H=["size"],VH=["innerProps","isRtl","size"],jH={name:"8mmkcg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0"},Dk=function(e){var n=e.size,r=gt(e,_H);return se("svg",J({height:n,width:n,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:jH},r))},Gv=function(e){return se(Dk,J({size:20},e),se("path",{d:"M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z"}))},Fk=function(e){return se(Dk,J({size:20},e),se("path",{d:"M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"}))},Nk=function(e,n){var r=e.isFocused,i=e.theme,a=i.spacing.baseUnit,o=i.colors;return H({label:"indicatorContainer",display:"flex",transition:"color 150ms"},n?{}:{color:r?o.neutral60:o.neutral20,padding:a*2,":hover":{color:r?o.neutral80:o.neutral40}})},$H=Nk,zH=function(e){var n=e.children,r=e.innerProps;return se("div",J({},Ye(e,"dropdownIndicator",{indicator:!0,"dropdown-indicator":!0}),r),n||se(Fk,null))},BH=Nk,HH=function(e){var n=e.children,r=e.innerProps;return se("div",J({},Ye(e,"clearIndicator",{indicator:!0,"clear-indicator":!0}),r),n||se(Gv,null))},UH=function(e,n){var r=e.isDisabled,i=e.theme,a=i.spacing.baseUnit,o=i.colors;return H({label:"indicatorSeparator",alignSelf:"stretch",width:1},n?{}:{backgroundColor:r?o.neutral10:o.neutral20,marginBottom:a*2,marginTop:a*2})},WH=function(e){var n=e.innerProps;return se("span",J({},n,Ye(e,"indicatorSeparator",{"indicator-separator":!0})))},GH=BB(Ob||(Ob=HB([` 0%, 80%, 100% { opacity: 0; } 40% { opacity: 1; } -`]))),H8=function(e,n){var r=e.isFocused,i=e.size,a=e.theme,o=a.colors,l=a.spacing.baseUnit;return H({label:"loadingIndicator",display:"flex",transition:"color 150ms",alignSelf:"center",fontSize:i,lineHeight:1,marginRight:i,textAlign:"center",verticalAlign:"middle"},n?{}:{color:r?o.neutral60:o.neutral20,padding:l*2})},yp=function(e){var n=e.delay,r=e.offset;return se("span",{css:zv({animation:"".concat(B8," 1s ease-in-out ").concat(n,"ms infinite;"),backgroundColor:"currentColor",borderRadius:"1em",display:"inline-block",marginLeft:r?"1em":void 0,height:"1em",verticalAlign:"top",width:"1em"},"","")})},U8=function(e){var n=e.innerProps,r=e.isRtl,i=e.size,a=i===void 0?4:i,o=gt(e,D8);return se("div",J({},Ye(H(H({},o),{},{innerProps:n,isRtl:r,size:a}),"loadingIndicator",{indicator:!0,"loading-indicator":!0}),n),se(yp,{delay:0,offset:r}),se(yp,{delay:160,offset:!0}),se(yp,{delay:320,offset:!r}))},W8=function(e,n){var r=e.isDisabled,i=e.isFocused,a=e.theme,o=a.colors,l=a.borderRadius,s=a.spacing;return H({label:"control",alignItems:"center",cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:s.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms"},n?{}:{backgroundColor:r?o.neutral5:o.neutral0,borderColor:r?o.neutral10:i?o.primary:o.neutral20,borderRadius:l,borderStyle:"solid",borderWidth:1,boxShadow:i?"0 0 0 1px ".concat(o.primary):void 0,"&:hover":{borderColor:i?o.primary:o.neutral30}})},G8=function(e){var n=e.children,r=e.isDisabled,i=e.isFocused,a=e.innerRef,o=e.innerProps,l=e.menuIsOpen;return se("div",J({ref:a},Ye(e,"control",{control:!0,"control--is-disabled":r,"control--is-focused":i,"control--menu-is-open":l}),o,{"aria-disabled":r||void 0}),n)},q8=G8,X8=["data"],K8=function(e,n){var r=e.theme.spacing;return n?{}:{paddingBottom:r.baseUnit*2,paddingTop:r.baseUnit*2}},Y8=function(e){var n=e.children,r=e.cx,i=e.getStyles,a=e.getClassNames,o=e.Heading,l=e.headingProps,s=e.innerProps,u=e.label,c=e.theme,d=e.selectProps;return se("div",J({},Ye(e,"group",{group:!0}),s),se(o,J({},l,{selectProps:d,theme:c,getStyles:i,getClassNames:a,cx:r}),u),se("div",null,n))},Q8=function(e,n){var r=e.theme,i=r.colors,a=r.spacing;return H({label:"group",cursor:"default",display:"block"},n?{}:{color:i.neutral40,fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:a.baseUnit*3,paddingRight:a.baseUnit*3,textTransform:"uppercase"})},Z8=function(e){var n=Pk(e);n.data;var r=gt(n,X8);return se("div",J({},Ye(e,"groupHeading",{"group-heading":!0}),r))},J8=Y8,eH=["innerRef","isDisabled","isHidden","inputClassName"],tH=function(e,n){var r=e.isDisabled,i=e.value,a=e.theme,o=a.spacing,l=a.colors;return H(H({visibility:r?"hidden":"visible",transform:i?"translateZ(0)":""},nH),n?{}:{margin:o.baseUnit/2,paddingBottom:o.baseUnit/2,paddingTop:o.baseUnit/2,color:l.neutral80})},Fk={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},nH={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":H({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},Fk)},rH=function(e){return H({label:"input",color:"inherit",background:0,opacity:e?0:1,width:"100%"},Fk)},iH=function(e){var n=e.cx,r=e.value,i=Pk(e),a=i.innerRef,o=i.isDisabled,l=i.isHidden,s=i.inputClassName,u=gt(i,eH);return se("div",J({},Ye(e,"input",{"input-container":!0}),{"data-value":r||""}),se("input",J({className:n({input:!0},s),ref:a,style:rH(l),disabled:o},u)))},aH=iH,oH=function(e,n){var r=e.theme,i=r.spacing,a=r.borderRadius,o=r.colors;return H({label:"multiValue",display:"flex",minWidth:0},n?{}:{backgroundColor:o.neutral10,borderRadius:a/2,margin:i.baseUnit/2})},sH=function(e,n){var r=e.theme,i=r.borderRadius,a=r.colors,o=e.cropWithEllipsis;return H({overflow:"hidden",textOverflow:o||o===void 0?"ellipsis":void 0,whiteSpace:"nowrap"},n?{}:{borderRadius:i/2,color:a.neutral80,fontSize:"85%",padding:3,paddingLeft:6})},lH=function(e,n){var r=e.theme,i=r.spacing,a=r.borderRadius,o=r.colors,l=e.isFocused;return H({alignItems:"center",display:"flex"},n?{}:{borderRadius:a/2,backgroundColor:l?o.dangerLight:void 0,paddingLeft:i.baseUnit,paddingRight:i.baseUnit,":hover":{backgroundColor:o.dangerLight,color:o.danger}})},Nk=function(e){var n=e.children,r=e.innerProps;return se("div",r,n)},uH=Nk,cH=Nk;function dH(t){var e=t.children,n=t.innerProps;return se("div",J({role:"button"},n),e||se(Wv,{size:14}))}var fH=function(e){var n=e.children,r=e.components,i=e.data,a=e.innerProps,o=e.isDisabled,l=e.removeProps,s=e.selectProps,u=r.Container,c=r.Label,d=r.Remove;return se(u,{data:i,innerProps:H(H({},Ye(e,"multiValue",{"multi-value":!0,"multi-value--is-disabled":o})),a),selectProps:s},se(c,{data:i,innerProps:H({},Ye(e,"multiValueLabel",{"multi-value__label":!0})),selectProps:s},n),se(d,{data:i,innerProps:H(H({},Ye(e,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(n||"option")},l),selectProps:s}))},pH=fH,hH=function(e,n){var r=e.isDisabled,i=e.isFocused,a=e.isSelected,o=e.theme,l=o.spacing,s=o.colors;return H({label:"option",cursor:"default",display:"block",fontSize:"inherit",width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)"},n?{}:{backgroundColor:a?s.primary:i?s.primary25:"transparent",color:r?s.neutral20:a?s.neutral0:"inherit",padding:"".concat(l.baseUnit*2,"px ").concat(l.baseUnit*3,"px"),":active":{backgroundColor:r?void 0:a?s.primary:s.primary50}})},mH=function(e){var n=e.children,r=e.isDisabled,i=e.isFocused,a=e.isSelected,o=e.innerRef,l=e.innerProps;return se("div",J({},Ye(e,"option",{option:!0,"option--is-disabled":r,"option--is-focused":i,"option--is-selected":a}),{ref:o,"aria-disabled":r},l),n)},gH=mH,vH=function(e,n){var r=e.theme,i=r.spacing,a=r.colors;return H({label:"placeholder",gridArea:"1 / 1 / 2 / 3"},n?{}:{color:a.neutral50,marginLeft:i.baseUnit/2,marginRight:i.baseUnit/2})},yH=function(e){var n=e.children,r=e.innerProps;return se("div",J({},Ye(e,"placeholder",{placeholder:!0}),r),n)},wH=yH,bH=function(e,n){var r=e.isDisabled,i=e.theme,a=i.spacing,o=i.colors;return H({label:"singleValue",gridArea:"1 / 1 / 2 / 3",maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},n?{}:{color:r?o.neutral40:o.neutral80,marginLeft:a.baseUnit/2,marginRight:a.baseUnit/2})},SH=function(e){var n=e.children,r=e.isDisabled,i=e.innerProps;return se("div",J({},Ye(e,"singleValue",{"single-value":!0,"single-value--is-disabled":r}),i),n)},xH=SH,Gv={ClearIndicator:j8,Control:q8,DropdownIndicator:_8,DownChevron:Ik,CrossIcon:Wv,Group:J8,GroupHeading:Z8,IndicatorsContainer:R8,IndicatorSeparator:z8,Input:aH,LoadingIndicator:U8,Menu:y8,MenuList:b8,MenuPortal:P8,LoadingMessage:C8,NoOptionsMessage:E8,MultiValue:pH,MultiValueContainer:uH,MultiValueLabel:cH,MultiValueRemove:dH,Option:gH,Placeholder:wH,SelectContainer:M8,SingleValue:xH,ValueContainer:A8},EH=function(e){return H(H({},Gv),e.components)},Ob=Number.isNaN||function(e){return typeof e=="number"&&e!==e};function CH(t,e){return!!(t===e||Ob(t)&&Ob(e))}function TH(t,e){if(t.length!==e.length)return!1;for(var n=0;n1?"s":""," ").concat(a.join(","),", selected.");case"select-option":return o?"option ".concat(i," is disabled. Select another option."):"option ".concat(i,", selected.");default:return""}},onFocus:function(e){var n=e.context,r=e.focused,i=e.options,a=e.label,o=a===void 0?"":a,l=e.selectValue,s=e.isDisabled,u=e.isSelected,c=e.isAppleDevice,d=function(g,y){return g&&g.length?"".concat(g.indexOf(y)+1," of ").concat(g.length):""};if(n==="value"&&l)return"value ".concat(o," focused, ").concat(d(l,r),".");if(n==="menu"&&c){var f=s?" disabled":"",p="".concat(u?" selected":"").concat(f);return"".concat(o).concat(p,", ").concat(d(i,r),".")}return""},onFilter:function(e){var n=e.inputValue,r=e.resultsMessage;return"".concat(r).concat(n?" for search term "+n:"",".")}},AH=function(e){var n=e.ariaSelection,r=e.focusedOption,i=e.focusedValue,a=e.focusableOptions,o=e.isFocused,l=e.selectValue,s=e.selectProps,u=e.id,c=e.isAppleDevice,d=s.ariaLiveMessages,f=s.getOptionLabel,p=s.inputValue,w=s.isMulti,g=s.isOptionDisabled,y=s.isSearchable,h=s.menuIsOpen,v=s.options,m=s.screenReaderStatus,b=s.tabSelectsValue,E=s.isLoading,x=s["aria-label"],C=s["aria-live"],T=S.useMemo(function(){return H(H({},OH),d||{})},[d]),P=S.useMemo(function(){var R="";if(n&&T.onChange){var D=n.option,L=n.options,k=n.removedValue,F=n.removedValues,j=n.value,B=function(Qe){return Array.isArray(Qe)?null:Qe},G=k||D||B(j),q=G?f(G):"",K=L||F||void 0,ne=K?K.map(f):[],oe=H({isDisabled:G&&g(G,l),label:q,labels:ne},n);R=T.onChange(oe)}return R},[n,T,g,l,f]),O=S.useMemo(function(){var R="",D=r||i,L=!!(r&&l&&l.includes(r));if(D&&T.onFocus){var k={focused:D,label:f(D),isDisabled:g(D,l),isSelected:L,options:a,context:D===r?"menu":"value",selectValue:l,isAppleDevice:c};R=T.onFocus(k)}return R},[r,i,f,g,T,a,l,c]),I=S.useMemo(function(){var R="";if(h&&v.length&&!E&&T.onFilter){var D=m({count:a.length});R=T.onFilter({inputValue:p,resultsMessage:D})}return R},[a,p,h,T,v,m,E]),N=(n==null?void 0:n.action)==="initial-input-focus",A=S.useMemo(function(){var R="";if(T.guidance){var D=i?"value":h?"menu":"input";R=T.guidance({"aria-label":x,context:D,isDisabled:r&&g(r,l),isMulti:w,isSearchable:y,tabSelectsValue:b,isInitialFocus:N})}return R},[x,r,i,w,g,y,h,T,l,b,N]),M=se(S.Fragment,null,se("span",{id:"aria-selection"},P),se("span",{id:"aria-focused"},O),se("span",{id:"aria-results"},I),se("span",{id:"aria-guidance"},A));return se(S.Fragment,null,se(Ab,{id:u},N&&M),se(Ab,{"aria-live":C,"aria-atomic":"false","aria-relevant":"additions text",role:"log"},o&&!N&&M))},LH=AH,Lm=[{base:"A",letters:"AⒶAÀÁÂẦẤẪẨÃĀĂẰẮẴẲȦǠÄǞẢÅǺǍȀȂẠẬẶḀĄȺⱯ"},{base:"AA",letters:"Ꜳ"},{base:"AE",letters:"ÆǼǢ"},{base:"AO",letters:"Ꜵ"},{base:"AU",letters:"Ꜷ"},{base:"AV",letters:"ꜸꜺ"},{base:"AY",letters:"Ꜽ"},{base:"B",letters:"BⒷBḂḄḆɃƂƁ"},{base:"C",letters:"CⒸCĆĈĊČÇḈƇȻꜾ"},{base:"D",letters:"DⒹDḊĎḌḐḒḎĐƋƊƉꝹ"},{base:"DZ",letters:"DZDŽ"},{base:"Dz",letters:"DzDž"},{base:"E",letters:"EⒺEÈÉÊỀẾỄỂẼĒḔḖĔĖËẺĚȄȆẸỆȨḜĘḘḚƐƎ"},{base:"F",letters:"FⒻFḞƑꝻ"},{base:"G",letters:"GⒼGǴĜḠĞĠǦĢǤƓꞠꝽꝾ"},{base:"H",letters:"HⒽHĤḢḦȞḤḨḪĦⱧⱵꞍ"},{base:"I",letters:"IⒾIÌÍÎĨĪĬİÏḮỈǏȈȊỊĮḬƗ"},{base:"J",letters:"JⒿJĴɈ"},{base:"K",letters:"KⓀKḰǨḲĶḴƘⱩꝀꝂꝄꞢ"},{base:"L",letters:"LⓁLĿĹĽḶḸĻḼḺŁȽⱢⱠꝈꝆꞀ"},{base:"LJ",letters:"LJ"},{base:"Lj",letters:"Lj"},{base:"M",letters:"MⓂMḾṀṂⱮƜ"},{base:"N",letters:"NⓃNǸŃÑṄŇṆŅṊṈȠƝꞐꞤ"},{base:"NJ",letters:"NJ"},{base:"Nj",letters:"Nj"},{base:"O",letters:"OⓄOÒÓÔỒỐỖỔÕṌȬṎŌṐṒŎȮȰÖȪỎŐǑȌȎƠỜỚỠỞỢỌỘǪǬØǾƆƟꝊꝌ"},{base:"OI",letters:"Ƣ"},{base:"OO",letters:"Ꝏ"},{base:"OU",letters:"Ȣ"},{base:"P",letters:"PⓅPṔṖƤⱣꝐꝒꝔ"},{base:"Q",letters:"QⓆQꝖꝘɊ"},{base:"R",letters:"RⓇRŔṘŘȐȒṚṜŖṞɌⱤꝚꞦꞂ"},{base:"S",letters:"SⓈSẞŚṤŜṠŠṦṢṨȘŞⱾꞨꞄ"},{base:"T",letters:"TⓉTṪŤṬȚŢṰṮŦƬƮȾꞆ"},{base:"TZ",letters:"Ꜩ"},{base:"U",letters:"UⓊUÙÚÛŨṸŪṺŬÜǛǗǕǙỦŮŰǓȔȖƯỪỨỮỬỰỤṲŲṶṴɄ"},{base:"V",letters:"VⓋVṼṾƲꝞɅ"},{base:"VY",letters:"Ꝡ"},{base:"W",letters:"WⓌWẀẂŴẆẄẈⱲ"},{base:"X",letters:"XⓍXẊẌ"},{base:"Y",letters:"YⓎYỲÝŶỸȲẎŸỶỴƳɎỾ"},{base:"Z",letters:"ZⓏZŹẐŻŽẒẔƵȤⱿⱫꝢ"},{base:"a",letters:"aⓐaẚàáâầấẫẩãāăằắẵẳȧǡäǟảåǻǎȁȃạậặḁąⱥɐ"},{base:"aa",letters:"ꜳ"},{base:"ae",letters:"æǽǣ"},{base:"ao",letters:"ꜵ"},{base:"au",letters:"ꜷ"},{base:"av",letters:"ꜹꜻ"},{base:"ay",letters:"ꜽ"},{base:"b",letters:"bⓑbḃḅḇƀƃɓ"},{base:"c",letters:"cⓒcćĉċčçḉƈȼꜿↄ"},{base:"d",letters:"dⓓdḋďḍḑḓḏđƌɖɗꝺ"},{base:"dz",letters:"dzdž"},{base:"e",letters:"eⓔeèéêềếễểẽēḕḗĕėëẻěȅȇẹệȩḝęḙḛɇɛǝ"},{base:"f",letters:"fⓕfḟƒꝼ"},{base:"g",letters:"gⓖgǵĝḡğġǧģǥɠꞡᵹꝿ"},{base:"h",letters:"hⓗhĥḣḧȟḥḩḫẖħⱨⱶɥ"},{base:"hv",letters:"ƕ"},{base:"i",letters:"iⓘiìíîĩīĭïḯỉǐȉȋịįḭɨı"},{base:"j",letters:"jⓙjĵǰɉ"},{base:"k",letters:"kⓚkḱǩḳķḵƙⱪꝁꝃꝅꞣ"},{base:"l",letters:"lⓛlŀĺľḷḹļḽḻſłƚɫⱡꝉꞁꝇ"},{base:"lj",letters:"lj"},{base:"m",letters:"mⓜmḿṁṃɱɯ"},{base:"n",letters:"nⓝnǹńñṅňṇņṋṉƞɲʼnꞑꞥ"},{base:"nj",letters:"nj"},{base:"o",letters:"oⓞoòóôồốỗổõṍȭṏōṑṓŏȯȱöȫỏőǒȍȏơờớỡởợọộǫǭøǿɔꝋꝍɵ"},{base:"oi",letters:"ƣ"},{base:"ou",letters:"ȣ"},{base:"oo",letters:"ꝏ"},{base:"p",letters:"pⓟpṕṗƥᵽꝑꝓꝕ"},{base:"q",letters:"qⓠqɋꝗꝙ"},{base:"r",letters:"rⓡrŕṙřȑȓṛṝŗṟɍɽꝛꞧꞃ"},{base:"s",letters:"sⓢsßśṥŝṡšṧṣṩșşȿꞩꞅẛ"},{base:"t",letters:"tⓣtṫẗťṭțţṱṯŧƭʈⱦꞇ"},{base:"tz",letters:"ꜩ"},{base:"u",letters:"uⓤuùúûũṹūṻŭüǜǘǖǚủůűǔȕȗưừứữửựụṳųṷṵʉ"},{base:"v",letters:"vⓥvṽṿʋꝟʌ"},{base:"vy",letters:"ꝡ"},{base:"w",letters:"wⓦwẁẃŵẇẅẘẉⱳ"},{base:"x",letters:"xⓧxẋẍ"},{base:"y",letters:"yⓨyỳýŷỹȳẏÿỷẙỵƴɏỿ"},{base:"z",letters:"zⓩzźẑżžẓẕƶȥɀⱬꝣ"}],RH=new RegExp("["+Lm.map(function(t){return t.letters}).join("")+"]","g"),_k={};for(var wp=0;wp-1}},NH=["innerRef"];function _H(t){var e=t.innerRef,n=gt(t,NH),r=c8(n,"onExited","in","enter","exit","appear");return se("input",J({ref:e},r,{css:zv({label:"dummyInput",background:0,border:0,caretColor:"transparent",fontSize:"inherit",gridArea:"1 / 1 / 2 / 3",outline:0,padding:0,width:1,color:"transparent",left:-100,opacity:0,position:"relative",transform:"scale(.01)"},"","")}))}var VH=function(e){e.cancelable&&e.preventDefault(),e.stopPropagation()};function jH(t){var e=t.isEnabled,n=t.onBottomArrive,r=t.onBottomLeave,i=t.onTopArrive,a=t.onTopLeave,o=S.useRef(!1),l=S.useRef(!1),s=S.useRef(0),u=S.useRef(null),c=S.useCallback(function(y,h){if(u.current!==null){var v=u.current,m=v.scrollTop,b=v.scrollHeight,E=v.clientHeight,x=u.current,C=h>0,T=b-E-m,P=!1;T>h&&o.current&&(r&&r(y),o.current=!1),C&&l.current&&(a&&a(y),l.current=!1),C&&h>T?(n&&!o.current&&n(y),x.scrollTop=b,P=!0,o.current=!0):!C&&-h>m&&(i&&!l.current&&i(y),x.scrollTop=0,P=!0,l.current=!0),P&&VH(y)}},[n,r,i,a]),d=S.useCallback(function(y){c(y,y.deltaY)},[c]),f=S.useCallback(function(y){s.current=y.changedTouches[0].clientY},[]),p=S.useCallback(function(y){var h=s.current-y.changedTouches[0].clientY;c(y,h)},[c]),w=S.useCallback(function(y){if(y){var h=s8?{passive:!1}:!1;y.addEventListener("wheel",d,h),y.addEventListener("touchstart",f,h),y.addEventListener("touchmove",p,h)}},[p,f,d]),g=S.useCallback(function(y){y&&(y.removeEventListener("wheel",d,!1),y.removeEventListener("touchstart",f,!1),y.removeEventListener("touchmove",p,!1))},[p,f,d]);return S.useEffect(function(){if(e){var y=u.current;return w(y),function(){g(y)}}},[e,w,g]),function(y){u.current=y}}var Rb=["boxSizing","height","overflow","paddingRight","position"],Ib={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function Db(t){t.preventDefault()}function Fb(t){t.stopPropagation()}function Nb(){var t=this.scrollTop,e=this.scrollHeight,n=t+this.offsetHeight;t===0?this.scrollTop=1:n===e&&(this.scrollTop=t-1)}function _b(){return"ontouchstart"in window||navigator.maxTouchPoints}var Vb=!!(typeof window<"u"&&window.document&&window.document.createElement),$o=0,ga={capture:!1,passive:!1};function $H(t){var e=t.isEnabled,n=t.accountForScrollbars,r=n===void 0?!0:n,i=S.useRef({}),a=S.useRef(null),o=S.useCallback(function(s){if(Vb){var u=document.body,c=u&&u.style;if(r&&Rb.forEach(function(w){var g=c&&c[w];i.current[w]=g}),r&&$o<1){var d=parseInt(i.current.paddingRight,10)||0,f=document.body?document.body.clientWidth:0,p=window.innerWidth-f+d||0;Object.keys(Ib).forEach(function(w){var g=Ib[w];c&&(c[w]=g)}),c&&(c.paddingRight="".concat(p,"px"))}u&&_b()&&(u.addEventListener("touchmove",Db,ga),s&&(s.addEventListener("touchstart",Nb,ga),s.addEventListener("touchmove",Fb,ga))),$o+=1}},[r]),l=S.useCallback(function(s){if(Vb){var u=document.body,c=u&&u.style;$o=Math.max($o-1,0),r&&$o<1&&Rb.forEach(function(d){var f=i.current[d];c&&(c[d]=f)}),u&&_b()&&(u.removeEventListener("touchmove",Db,ga),s&&(s.removeEventListener("touchstart",Nb,ga),s.removeEventListener("touchmove",Fb,ga)))}},[r]);return S.useEffect(function(){if(e){var s=a.current;return o(s),function(){l(s)}}},[e,o,l]),function(s){a.current=s}}var zH=function(e){var n=e.target;return n.ownerDocument.activeElement&&n.ownerDocument.activeElement.blur()},BH={name:"1kfdb0e",styles:"position:fixed;left:0;bottom:0;right:0;top:0"};function HH(t){var e=t.children,n=t.lockEnabled,r=t.captureEnabled,i=r===void 0?!0:r,a=t.onBottomArrive,o=t.onBottomLeave,l=t.onTopArrive,s=t.onTopLeave,u=jH({isEnabled:i,onBottomArrive:a,onBottomLeave:o,onTopArrive:l,onTopLeave:s}),c=$H({isEnabled:n}),d=function(p){u(p),c(p)};return se(S.Fragment,null,n&&se("div",{onClick:zH,css:BH}),e(d))}var UH={name:"1a0ro4n-requiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%"},WH=function(e){var n=e.name,r=e.onFocus;return se("input",{required:!0,name:n,tabIndex:-1,"aria-hidden":"true",onFocus:r,css:UH,value:"",onChange:function(){}})},GH=WH;function qv(t){var e;return typeof window<"u"&&window.navigator!=null?t.test(((e=window.navigator.userAgentData)===null||e===void 0?void 0:e.platform)||window.navigator.platform):!1}function qH(){return qv(/^iPhone/i)}function jk(){return qv(/^Mac/i)}function XH(){return qv(/^iPad/i)||jk()&&navigator.maxTouchPoints>1}function KH(){return qH()||XH()}function YH(){return jk()||KH()}var QH=function(e){return e.label},ZH=function(e){return e.label},JH=function(e){return e.value},e9=function(e){return!!e.isDisabled},t9={clearIndicator:V8,container:k8,control:W8,dropdownIndicator:N8,group:K8,groupHeading:Q8,indicatorsContainer:L8,indicatorSeparator:$8,input:tH,loadingIndicator:H8,loadingMessage:x8,menu:m8,menuList:w8,menuPortal:T8,multiValue:oH,multiValueLabel:sH,multiValueRemove:lH,noOptionsMessage:S8,option:hH,placeholder:vH,singleValue:bH,valueContainer:O8},n9={primary:"#2684FF",primary75:"#4C9AFF",primary50:"#B2D4FF",primary25:"#DEEBFF",danger:"#DE350B",dangerLight:"#FFBDAD",neutral0:"hsl(0, 0%, 100%)",neutral5:"hsl(0, 0%, 95%)",neutral10:"hsl(0, 0%, 90%)",neutral20:"hsl(0, 0%, 80%)",neutral30:"hsl(0, 0%, 70%)",neutral40:"hsl(0, 0%, 60%)",neutral50:"hsl(0, 0%, 50%)",neutral60:"hsl(0, 0%, 40%)",neutral70:"hsl(0, 0%, 30%)",neutral80:"hsl(0, 0%, 20%)",neutral90:"hsl(0, 0%, 10%)"},r9=4,$k=4,i9=38,a9=$k*2,o9={baseUnit:$k,controlHeight:i9,menuGutter:a9},xp={borderRadius:r9,colors:n9,spacing:o9},s9={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:kb(),captureMenuScroll:!kb(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:FH(),formatGroupLabel:QH,getOptionLabel:ZH,getOptionValue:JH,isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:e9,loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!a8(),noOptionsMessage:function(){return"No options"},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:"Select...",screenReaderStatus:function(e){var n=e.count;return"".concat(n," result").concat(n!==1?"s":""," available")},styles:{},tabIndex:0,tabSelectsValue:!0,unstyled:!1};function jb(t,e,n,r){var i=Hk(t,e,n),a=Uk(t,e,n),o=Bk(t,e),l=Pc(t,e);return{type:"option",data:e,isDisabled:i,isSelected:a,label:o,value:l,index:r}}function Du(t,e){return t.options.map(function(n,r){if("options"in n){var i=n.options.map(function(o,l){return jb(t,o,e,l)}).filter(function(o){return zb(t,o)});return i.length>0?{type:"group",data:n,options:i,index:r}:void 0}var a=jb(t,n,e,r);return zb(t,a)?a:void 0}).filter(l8)}function zk(t){return t.reduce(function(e,n){return n.type==="group"?e.push.apply(e,ce(n.options.map(function(r){return r.data}))):e.push(n.data),e},[])}function $b(t,e){return t.reduce(function(n,r){return r.type==="group"?n.push.apply(n,ce(r.options.map(function(i){return{data:i.data,id:"".concat(e,"-").concat(r.index,"-").concat(i.index)}}))):n.push({data:r.data,id:"".concat(e,"-").concat(r.index)}),n},[])}function l9(t,e){return zk(Du(t,e))}function zb(t,e){var n=t.inputValue,r=n===void 0?"":n,i=e.data,a=e.isSelected,o=e.label,l=e.value;return(!Gk(t)||!a)&&Wk(t,{label:o,value:l,data:i},r)}function u9(t,e){var n=t.focusedValue,r=t.selectValue,i=r.indexOf(n);if(i>-1){var a=e.indexOf(n);if(a>-1)return n;if(i-1?n:e[0]}var Ep=function(e,n){var r,i=(r=e.find(function(a){return a.data===n}))===null||r===void 0?void 0:r.id;return i||null},Bk=function(e,n){return e.getOptionLabel(n)},Pc=function(e,n){return e.getOptionValue(n)};function Hk(t,e,n){return typeof t.isOptionDisabled=="function"?t.isOptionDisabled(e,n):!1}function Uk(t,e,n){if(n.indexOf(e)>-1)return!0;if(typeof t.isOptionSelected=="function")return t.isOptionSelected(e,n);var r=Pc(t,e);return n.some(function(i){return Pc(t,i)===r})}function Wk(t,e,n){return t.filterOption?t.filterOption(e,n):!0}var Gk=function(e){var n=e.hideSelectedOptions,r=e.isMulti;return n===void 0?r:n},d9=1,qk=function(t){vo(n,t);var e=dd(n);function n(r){var i;if(Nn(this,n),i=e.call(this,r),i.state={ariaSelection:null,focusedOption:null,focusedOptionId:null,focusableOptionsWithIds:[],focusedValue:null,inputIsHidden:!1,isFocused:!1,selectValue:[],clearFocusValueOnUpdate:!1,prevWasFocused:!1,inputIsHiddenAfterUpdate:void 0,prevProps:void 0,instancePrefix:""},i.blockOptionHover=!1,i.isComposing=!1,i.commonProps=void 0,i.initialTouchX=0,i.initialTouchY=0,i.openAfterFocus=!1,i.scrollToFocusedOptionOnUpdate=!1,i.userIsDragging=void 0,i.isAppleDevice=YH(),i.controlRef=null,i.getControlRef=function(s){i.controlRef=s},i.focusedOptionRef=null,i.getFocusedOptionRef=function(s){i.focusedOptionRef=s},i.menuListRef=null,i.getMenuListRef=function(s){i.menuListRef=s},i.inputRef=null,i.getInputRef=function(s){i.inputRef=s},i.focus=i.focusInput,i.blur=i.blurInput,i.onChange=function(s,u){var c=i.props,d=c.onChange,f=c.name;u.name=f,i.ariaOnChange(s,u),d(s,u)},i.setValue=function(s,u,c){var d=i.props,f=d.closeMenuOnSelect,p=d.isMulti,w=d.inputValue;i.onInputChange("",{action:"set-value",prevInputValue:w}),f&&(i.setState({inputIsHiddenAfterUpdate:!p}),i.onMenuClose()),i.setState({clearFocusValueOnUpdate:!0}),i.onChange(s,{action:u,option:c})},i.selectOption=function(s){var u=i.props,c=u.blurInputOnSelect,d=u.isMulti,f=u.name,p=i.state.selectValue,w=d&&i.isOptionSelected(s,p),g=i.isOptionDisabled(s,p);if(w){var y=i.getOptionValue(s);i.setValue(p.filter(function(h){return i.getOptionValue(h)!==y}),"deselect-option",s)}else if(!g)d?i.setValue([].concat(ce(p),[s]),"select-option",s):i.setValue(s,"select-option");else{i.ariaOnChange(s,{action:"select-option",option:s,name:f});return}c&&i.blurInput()},i.removeValue=function(s){var u=i.props.isMulti,c=i.state.selectValue,d=i.getOptionValue(s),f=c.filter(function(w){return i.getOptionValue(w)!==d}),p=iu(u,f,f[0]||null);i.onChange(p,{action:"remove-value",removedValue:s}),i.focusInput()},i.clearValue=function(){var s=i.state.selectValue;i.onChange(iu(i.props.isMulti,[],null),{action:"clear",removedValues:s})},i.popValue=function(){var s=i.props.isMulti,u=i.state.selectValue,c=u[u.length-1],d=u.slice(0,u.length-1),f=iu(s,d,d[0]||null);i.onChange(f,{action:"pop-value",removedValue:c})},i.getFocusedOptionId=function(s){return Ep(i.state.focusableOptionsWithIds,s)},i.getFocusableOptionsWithIds=function(){return $b(Du(i.props,i.state.selectValue),i.getElementId("option"))},i.getValue=function(){return i.state.selectValue},i.cx=function(){for(var s=arguments.length,u=new Array(s),c=0;cp||f>p}},i.onTouchEnd=function(s){i.userIsDragging||(i.controlRef&&!i.controlRef.contains(s.target)&&i.menuListRef&&!i.menuListRef.contains(s.target)&&i.blurInput(),i.initialTouchX=0,i.initialTouchY=0)},i.onControlTouchEnd=function(s){i.userIsDragging||i.onControlMouseDown(s)},i.onClearIndicatorTouchEnd=function(s){i.userIsDragging||i.onClearIndicatorMouseDown(s)},i.onDropdownIndicatorTouchEnd=function(s){i.userIsDragging||i.onDropdownIndicatorMouseDown(s)},i.handleInputChange=function(s){var u=i.props.inputValue,c=s.currentTarget.value;i.setState({inputIsHiddenAfterUpdate:!1}),i.onInputChange(c,{action:"input-change",prevInputValue:u}),i.props.menuIsOpen||i.onMenuOpen()},i.onInputFocus=function(s){i.props.onFocus&&i.props.onFocus(s),i.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(i.openAfterFocus||i.props.openMenuOnFocus)&&i.openMenu("first"),i.openAfterFocus=!1},i.onInputBlur=function(s){var u=i.props.inputValue;if(i.menuListRef&&i.menuListRef.contains(document.activeElement)){i.inputRef.focus();return}i.props.onBlur&&i.props.onBlur(s),i.onInputChange("",{action:"input-blur",prevInputValue:u}),i.onMenuClose(),i.setState({focusedValue:null,isFocused:!1})},i.onOptionHover=function(s){if(!(i.blockOptionHover||i.state.focusedOption===s)){var u=i.getFocusableOptions(),c=u.indexOf(s);i.setState({focusedOption:s,focusedOptionId:c>-1?i.getFocusedOptionId(s):null})}},i.shouldHideSelectedOptions=function(){return Gk(i.props)},i.onValueInputFocus=function(s){s.preventDefault(),s.stopPropagation(),i.focus()},i.onKeyDown=function(s){var u=i.props,c=u.isMulti,d=u.backspaceRemovesValue,f=u.escapeClearsValue,p=u.inputValue,w=u.isClearable,g=u.isDisabled,y=u.menuIsOpen,h=u.onKeyDown,v=u.tabSelectsValue,m=u.openMenuOnFocus,b=i.state,E=b.focusedOption,x=b.focusedValue,C=b.selectValue;if(!g&&!(typeof h=="function"&&(h(s),s.defaultPrevented))){switch(i.blockOptionHover=!0,s.key){case"ArrowLeft":if(!c||p)return;i.focusValue("previous");break;case"ArrowRight":if(!c||p)return;i.focusValue("next");break;case"Delete":case"Backspace":if(p)return;if(x)i.removeValue(x);else{if(!d)return;c?i.popValue():w&&i.clearValue()}break;case"Tab":if(i.isComposing||s.shiftKey||!y||!v||!E||m&&i.isOptionSelected(E,C))return;i.selectOption(E);break;case"Enter":if(s.keyCode===229)break;if(y){if(!E||i.isComposing)return;i.selectOption(E);break}return;case"Escape":y?(i.setState({inputIsHiddenAfterUpdate:!1}),i.onInputChange("",{action:"menu-close",prevInputValue:p}),i.onMenuClose()):w&&f&&i.clearValue();break;case" ":if(p)return;if(!y){i.openMenu("first");break}if(!E)return;i.selectOption(E);break;case"ArrowUp":y?i.focusOption("up"):i.openMenu("last");break;case"ArrowDown":y?i.focusOption("down"):i.openMenu("first");break;case"PageUp":if(!y)return;i.focusOption("pageup");break;case"PageDown":if(!y)return;i.focusOption("pagedown");break;case"Home":if(!y)return;i.focusOption("first");break;case"End":if(!y)return;i.focusOption("last");break;default:return}s.preventDefault()}},i.state.instancePrefix="react-select-"+(i.props.instanceId||++d9),i.state.selectValue=Tb(r.value),r.menuIsOpen&&i.state.selectValue.length){var a=i.getFocusableOptionsWithIds(),o=i.buildFocusableOptions(),l=o.indexOf(i.state.selectValue[0]);i.state.focusableOptionsWithIds=a,i.state.focusedOption=o[l],i.state.focusedOptionId=Ep(a,o[l])}return i}return _n(n,[{key:"componentDidMount",value:function(){this.startListeningComposition(),this.startListeningToTouch(),this.props.closeMenuOnScroll&&document&&document.addEventListener&&document.addEventListener("scroll",this.onScroll,!0),this.props.autoFocus&&this.focusInput(),this.props.menuIsOpen&&this.state.focusedOption&&this.menuListRef&&this.focusedOptionRef&&Pb(this.menuListRef,this.focusedOptionRef)}},{key:"componentDidUpdate",value:function(i){var a=this.props,o=a.isDisabled,l=a.menuIsOpen,s=this.state.isFocused;(s&&!o&&i.isDisabled||s&&l&&!i.menuIsOpen)&&this.focusInput(),s&&o&&!i.isDisabled?this.setState({isFocused:!1},this.onMenuClose):!s&&!o&&i.isDisabled&&this.inputRef===document.activeElement&&this.setState({isFocused:!0}),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(Pb(this.menuListRef,this.focusedOptionRef),this.scrollToFocusedOptionOnUpdate=!1)}},{key:"componentWillUnmount",value:function(){this.stopListeningComposition(),this.stopListeningToTouch(),document.removeEventListener("scroll",this.onScroll,!0)}},{key:"onMenuOpen",value:function(){this.props.onMenuOpen()}},{key:"onMenuClose",value:function(){this.onInputChange("",{action:"menu-close",prevInputValue:this.props.inputValue}),this.props.onMenuClose()}},{key:"onInputChange",value:function(i,a){this.props.onInputChange(i,a)}},{key:"focusInput",value:function(){this.inputRef&&this.inputRef.focus()}},{key:"blurInput",value:function(){this.inputRef&&this.inputRef.blur()}},{key:"openMenu",value:function(i){var a=this,o=this.state,l=o.selectValue,s=o.isFocused,u=this.buildFocusableOptions(),c=i==="first"?0:u.length-1;if(!this.props.isMulti){var d=u.indexOf(l[0]);d>-1&&(c=d)}this.scrollToFocusedOptionOnUpdate=!(s&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:u[c],focusedOptionId:this.getFocusedOptionId(u[c])},function(){return a.onMenuOpen()})}},{key:"focusValue",value:function(i){var a=this.state,o=a.selectValue,l=a.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var s=o.indexOf(l);l||(s=-1);var u=o.length-1,c=-1;if(o.length){switch(i){case"previous":s===0?c=0:s===-1?c=u:c=s-1;break;case"next":s>-1&&s0&&arguments[0]!==void 0?arguments[0]:"first",a=this.props.pageSize,o=this.state.focusedOption,l=this.getFocusableOptions();if(l.length){var s=0,u=l.indexOf(o);o||(u=-1),i==="up"?s=u>0?u-1:l.length-1:i==="down"?s=(u+1)%l.length:i==="pageup"?(s=u-a,s<0&&(s=0)):i==="pagedown"?(s=u+a,s>l.length-1&&(s=l.length-1)):i==="last"&&(s=l.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:l[s],focusedValue:null,focusedOptionId:this.getFocusedOptionId(l[s])})}}},{key:"getTheme",value:function(){return this.props.theme?typeof this.props.theme=="function"?this.props.theme(xp):H(H({},xp),this.props.theme):xp}},{key:"getCommonProps",value:function(){var i=this.clearValue,a=this.cx,o=this.getStyles,l=this.getClassNames,s=this.getValue,u=this.selectOption,c=this.setValue,d=this.props,f=d.isMulti,p=d.isRtl,w=d.options,g=this.hasValue();return{clearValue:i,cx:a,getStyles:o,getClassNames:l,getValue:s,hasValue:g,isMulti:f,isRtl:p,options:w,selectOption:u,selectProps:d,setValue:c,theme:this.getTheme()}}},{key:"hasValue",value:function(){var i=this.state.selectValue;return i.length>0}},{key:"hasOptions",value:function(){return!!this.getFocusableOptions().length}},{key:"isClearable",value:function(){var i=this.props,a=i.isClearable,o=i.isMulti;return a===void 0?o:a}},{key:"isOptionDisabled",value:function(i,a){return Hk(this.props,i,a)}},{key:"isOptionSelected",value:function(i,a){return Uk(this.props,i,a)}},{key:"filterOption",value:function(i,a){return Wk(this.props,i,a)}},{key:"formatOptionLabel",value:function(i,a){if(typeof this.props.formatOptionLabel=="function"){var o=this.props.inputValue,l=this.state.selectValue;return this.props.formatOptionLabel(i,{context:a,inputValue:o,selectValue:l})}else return this.getOptionLabel(i)}},{key:"formatGroupLabel",value:function(i){return this.props.formatGroupLabel(i)}},{key:"startListeningComposition",value:function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))}},{key:"stopListeningComposition",value:function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))}},{key:"startListeningToTouch",value:function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))}},{key:"stopListeningToTouch",value:function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"renderInput",value:function(){var i=this.props,a=i.isDisabled,o=i.isSearchable,l=i.inputId,s=i.inputValue,u=i.tabIndex,c=i.form,d=i.menuIsOpen,f=i.required,p=this.getComponents(),w=p.Input,g=this.state,y=g.inputIsHidden,h=g.ariaSelection,v=this.commonProps,m=l||this.getElementId("input"),b=H(H(H({"aria-autocomplete":"list","aria-expanded":d,"aria-haspopup":!0,"aria-errormessage":this.props["aria-errormessage"],"aria-invalid":this.props["aria-invalid"],"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],"aria-required":f,role:"combobox","aria-activedescendant":this.isAppleDevice?void 0:this.state.focusedOptionId||""},d&&{"aria-controls":this.getElementId("listbox")}),!o&&{"aria-readonly":!0}),this.hasValue()?(h==null?void 0:h.action)==="initial-input-focus"&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return o?S.createElement(w,J({},v,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:m,innerRef:this.getInputRef,isDisabled:a,isHidden:y,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:u,form:c,type:"text",value:s},b)):S.createElement(_H,J({id:m,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:Cc,onFocus:this.onInputFocus,disabled:a,tabIndex:u,inputMode:"none",form:c,value:""},b))}},{key:"renderPlaceholderOrValue",value:function(){var i=this,a=this.getComponents(),o=a.MultiValue,l=a.MultiValueContainer,s=a.MultiValueLabel,u=a.MultiValueRemove,c=a.SingleValue,d=a.Placeholder,f=this.commonProps,p=this.props,w=p.controlShouldRenderValue,g=p.isDisabled,y=p.isMulti,h=p.inputValue,v=p.placeholder,m=this.state,b=m.selectValue,E=m.focusedValue,x=m.isFocused;if(!this.hasValue()||!w)return h?null:S.createElement(d,J({},f,{key:"placeholder",isDisabled:g,isFocused:x,innerProps:{id:this.getElementId("placeholder")}}),v);if(y)return b.map(function(T,P){var O=T===E,I="".concat(i.getOptionLabel(T),"-").concat(i.getOptionValue(T));return S.createElement(o,J({},f,{components:{Container:l,Label:s,Remove:u},isFocused:O,isDisabled:g,key:I,index:P,removeProps:{onClick:function(){return i.removeValue(T)},onTouchEnd:function(){return i.removeValue(T)},onMouseDown:function(A){A.preventDefault()}},data:T}),i.formatOptionLabel(T,"value"))});if(h)return null;var C=b[0];return S.createElement(c,J({},f,{data:C,isDisabled:g}),this.formatOptionLabel(C,"value"))}},{key:"renderClearIndicator",value:function(){var i=this.getComponents(),a=i.ClearIndicator,o=this.commonProps,l=this.props,s=l.isDisabled,u=l.isLoading,c=this.state.isFocused;if(!this.isClearable()||!a||s||!this.hasValue()||u)return null;var d={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return S.createElement(a,J({},o,{innerProps:d,isFocused:c}))}},{key:"renderLoadingIndicator",value:function(){var i=this.getComponents(),a=i.LoadingIndicator,o=this.commonProps,l=this.props,s=l.isDisabled,u=l.isLoading,c=this.state.isFocused;if(!a||!u)return null;var d={"aria-hidden":"true"};return S.createElement(a,J({},o,{innerProps:d,isDisabled:s,isFocused:c}))}},{key:"renderIndicatorSeparator",value:function(){var i=this.getComponents(),a=i.DropdownIndicator,o=i.IndicatorSeparator;if(!a||!o)return null;var l=this.commonProps,s=this.props.isDisabled,u=this.state.isFocused;return S.createElement(o,J({},l,{isDisabled:s,isFocused:u}))}},{key:"renderDropdownIndicator",value:function(){var i=this.getComponents(),a=i.DropdownIndicator;if(!a)return null;var o=this.commonProps,l=this.props.isDisabled,s=this.state.isFocused,u={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return S.createElement(a,J({},o,{innerProps:u,isDisabled:l,isFocused:s}))}},{key:"renderMenu",value:function(){var i=this,a=this.getComponents(),o=a.Group,l=a.GroupHeading,s=a.Menu,u=a.MenuList,c=a.MenuPortal,d=a.LoadingMessage,f=a.NoOptionsMessage,p=a.Option,w=this.commonProps,g=this.state.focusedOption,y=this.props,h=y.captureMenuScroll,v=y.inputValue,m=y.isLoading,b=y.loadingMessage,E=y.minMenuHeight,x=y.maxMenuHeight,C=y.menuIsOpen,T=y.menuPlacement,P=y.menuPosition,O=y.menuPortalTarget,I=y.menuShouldBlockScroll,N=y.menuShouldScrollIntoView,A=y.noOptionsMessage,M=y.onMenuScrollToTop,R=y.onMenuScrollToBottom;if(!C)return null;var D=function(q,K){var ne=q.type,oe=q.data,de=q.isDisabled,Qe=q.isSelected,rt=q.label,xe=q.value,we=g===oe,De=de?void 0:function(){return i.onOptionHover(oe)},Ot=de?void 0:function(){return i.selectOption(oe)},Gt="".concat(i.getElementId("option"),"-").concat(K),Fe={id:Gt,onClick:Ot,onMouseMove:De,onMouseOver:De,tabIndex:-1,role:"option","aria-selected":i.isAppleDevice?void 0:Qe};return S.createElement(p,J({},w,{innerProps:Fe,data:oe,isDisabled:de,isSelected:Qe,key:Gt,label:rt,type:ne,value:xe,isFocused:we,innerRef:we?i.getFocusedOptionRef:void 0}),i.formatOptionLabel(q.data,"menu"))},L;if(this.hasOptions())L=this.getCategorizedOptions().map(function(G){if(G.type==="group"){var q=G.data,K=G.options,ne=G.index,oe="".concat(i.getElementId("group"),"-").concat(ne),de="".concat(oe,"-heading");return S.createElement(o,J({},w,{key:oe,data:q,options:K,Heading:l,headingProps:{id:de,data:G.data},label:i.formatGroupLabel(G.data)}),G.options.map(function(Qe){return D(Qe,"".concat(ne,"-").concat(Qe.index))}))}else if(G.type==="option")return D(G,"".concat(G.index))});else if(m){var k=b({inputValue:v});if(k===null)return null;L=S.createElement(d,w,k)}else{var F=A({inputValue:v});if(F===null)return null;L=S.createElement(f,w,F)}var j={minMenuHeight:E,maxMenuHeight:x,menuPlacement:T,menuPosition:P,menuShouldScrollIntoView:N},B=S.createElement(g8,J({},w,j),function(G){var q=G.ref,K=G.placerProps,ne=K.placement,oe=K.maxHeight;return S.createElement(s,J({},w,j,{innerRef:q,innerProps:{onMouseDown:i.onMenuMouseDown,onMouseMove:i.onMenuMouseMove},isLoading:m,placement:ne}),S.createElement(HH,{captureEnabled:h,onTopArrive:M,onBottomArrive:R,lockEnabled:I},function(de){return S.createElement(u,J({},w,{innerRef:function(rt){i.getMenuListRef(rt),de(rt)},innerProps:{role:"listbox","aria-multiselectable":w.isMulti,id:i.getElementId("listbox")},isLoading:m,maxHeight:oe,focusedOption:g}),L)}))});return O||P==="fixed"?S.createElement(c,J({},w,{appendTo:O,controlElement:this.controlRef,menuPlacement:T,menuPosition:P}),B):B}},{key:"renderFormField",value:function(){var i=this,a=this.props,o=a.delimiter,l=a.isDisabled,s=a.isMulti,u=a.name,c=a.required,d=this.state.selectValue;if(c&&!this.hasValue()&&!l)return S.createElement(GH,{name:u,onFocus:this.onValueInputFocus});if(!(!u||l))if(s)if(o){var f=d.map(function(g){return i.getOptionValue(g)}).join(o);return S.createElement("input",{name:u,type:"hidden",value:f})}else{var p=d.length>0?d.map(function(g,y){return S.createElement("input",{key:"i-".concat(y),name:u,type:"hidden",value:i.getOptionValue(g)})}):S.createElement("input",{name:u,type:"hidden",value:""});return S.createElement("div",null,p)}else{var w=d[0]?this.getOptionValue(d[0]):"";return S.createElement("input",{name:u,type:"hidden",value:w})}}},{key:"renderLiveRegion",value:function(){var i=this.commonProps,a=this.state,o=a.ariaSelection,l=a.focusedOption,s=a.focusedValue,u=a.isFocused,c=a.selectValue,d=this.getFocusableOptions();return S.createElement(LH,J({},i,{id:this.getElementId("live-region"),ariaSelection:o,focusedOption:l,focusedValue:s,isFocused:u,selectValue:c,focusableOptions:d,isAppleDevice:this.isAppleDevice}))}},{key:"render",value:function(){var i=this.getComponents(),a=i.Control,o=i.IndicatorsContainer,l=i.SelectContainer,s=i.ValueContainer,u=this.props,c=u.className,d=u.id,f=u.isDisabled,p=u.menuIsOpen,w=this.state.isFocused,g=this.commonProps=this.getCommonProps();return S.createElement(l,J({},g,{className:c,innerProps:{id:d,onKeyDown:this.onKeyDown},isDisabled:f,isFocused:w}),this.renderLiveRegion(),S.createElement(a,J({},g,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:f,isFocused:w,menuIsOpen:p}),S.createElement(s,J({},g,{isDisabled:f}),this.renderPlaceholderOrValue(),this.renderInput()),S.createElement(o,J({},g,{isDisabled:f}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],[{key:"getDerivedStateFromProps",value:function(i,a){var o=a.prevProps,l=a.clearFocusValueOnUpdate,s=a.inputIsHiddenAfterUpdate,u=a.ariaSelection,c=a.isFocused,d=a.prevWasFocused,f=a.instancePrefix,p=i.options,w=i.value,g=i.menuIsOpen,y=i.inputValue,h=i.isMulti,v=Tb(w),m={};if(o&&(w!==o.value||p!==o.options||g!==o.menuIsOpen||y!==o.inputValue)){var b=g?l9(i,v):[],E=g?$b(Du(i,v),"".concat(f,"-option")):[],x=l?u9(a,v):null,C=c9(a,b),T=Ep(E,C);m={selectValue:v,focusedOption:C,focusedOptionId:T,focusableOptionsWithIds:E,focusedValue:x,clearFocusValueOnUpdate:!1}}var P=s!=null&&i!==o?{inputIsHidden:s,inputIsHiddenAfterUpdate:void 0}:{},O=u,I=c&&d;return c&&!I&&(O={value:iu(h,v,v[0]||null),options:v,action:"initial-input-focus"},I=!d),(u==null?void 0:u.action)==="initial-input-focus"&&(O=null),H(H(H({},m),P),{},{prevProps:i,ariaSelection:O,prevWasFocused:I})}}]),n}(S.Component);qk.defaultProps=s9;var f9=S.forwardRef(function(t,e){var n=eB(t);return S.createElement(qk,J({ref:e},n))}),p9=f9;const Xk=t=>V.jsx("div",{children:V.jsxs(Gv.Option,{...t,children:[V.jsx("input",{type:"checkbox",checked:t.isSelected,onChange:()=>null})," ",V.jsx("label",{children:t.label})]})});Xk.propTypes={isSelected:n1.bool.isRequired,label:n1.string.isRequired};const h9=t=>V.jsx(Gv.MultiValue,{...t,children:V.jsx("span",{children:t.data.label})}),Bb=({data:t,width:e="100%",optionSelected:n,setOptionSelected:r})=>{const{theme:i}=S.useContext(Iv),a=o=>{r(o)};return V.jsx("span",{style:{width:e},children:V.jsx(p9,{options:t,isMulti:!0,closeMenuOnSelect:!1,hideSelectedOptions:!1,components:{Option:Xk,MultiValue:h9},onChange:o=>a(o),value:n,styles:{control:o=>({...o,width:e,height:"0.1rem",textAlign:"left",outline:"none",borderRadius:"5px",border:"2px solid #ccc",maxHeight:"200px",overflowY:"auto",background:i==="dark"?"#000000":"#ffffff"}),menuList:o=>({...o,textAlign:"left",background:i==="dark"?"#000000":"#ffffff"}),option:(o,l)=>{const s=i==="dark",u=i==="light",c=l.isSelected,d=l.isFocused;return{...o,color:c?"#ffffff":s&&d?"#000000":"inherit",background:(()=>{if(s){if(c)return"blue";if(d)return"#ffffff"}if(u){if(c)return"#2684FF";if(d)return"#B2D4FF"}return"initial"})()}},placeholder:o=>({...o,color:i==="dark"?"#b0b3b8":"grey"})}})})},m9=[{label:"Easy",value:z.Easy},{label:"Medium",value:z.Medium},{label:"Hard",value:z.Hard}],g9=({searchInput:t,setSearchInput:e,optionSelected:n,setOptionSelected:r,selectedDifficulties:i,setSelectedDifficulties:a,links:o})=>{const l=S.useMemo(()=>{const s=new Map;for(const[c,d]of Ed)s.set(c,d);const u=[];return s.forEach((c,d)=>{d!==""&&(c==null?void 0:c.name)!==""&&u.push({value:d,label:c==null?void 0:c.name})}),u},[]);return V.jsxs("div",{className:$t.filterOptionWrapper,children:[V.jsxs("div",{className:$t.searchInputWrapper,children:[V.jsx("input",{type:"text",name:"searchTextInput",placeholder:"Search challenge...",className:$t.searchInput,value:t,onChange:s=>e(s.target.value.trim())}),V.jsx(Dz,{size:15,className:$t.searchIcon})]}),V.jsx(Bb,{data:l,optionSelected:n,setOptionSelected:s=>r(s)}),V.jsx(Bb,{data:m9,optionSelected:i,setOptionSelected:s=>a(s)}),V.jsx("div",{className:$t.filterByTechWrapper,children:o.map(s=>V.jsx(Wc,{to:`/${s.tech}`,children:V.jsx("img",{src:s.imgSrc,width:35,height:35,className:s.active?$t.activeTech:"",alt:`filter by ${s.tech}`})},s.tech))})]})};function v9({challenges:t,linkPrefix:e,links:n}){const[r,i]=S.useState(""),[a,o]=S.useState(t),[l,s]=S.useState([]),[u,c]=S.useState([]);return S.useEffect(()=>{o(()=>t6({challenges:[...t.values()],title:r,contributors:l,difficulties:u})),!r&&!l&&!u&&o(t)},[t,r,l,u]),V.jsxs("div",{className:$t.container,children:[V.jsx(g9,{links:n,searchInput:r,setSearchInput:i,optionSelected:l,setOptionSelected:s,selectedDifficulties:u,setSelectedDifficulties:c}),a.length?V.jsx("div",{className:$t.challengeGrid,children:a.map(d=>V.jsx(Z6,{link:e+d.link,contributor:Ed.get(d.developer),challenge:d},d.title))}):V.jsxs("div",{className:$t.emptyMessage,children:["No challenges found..."," ",V.jsxs("div",{children:["maybe try adding one"," ",V.jsxs("a",{href:"https://github.com/sadanandpai/frontend-mini-challenges/blob/main/CONTRIBUTING.md#challenge-contribution",target:"_blank",rel:"noopener noreferrer",children:["here"," "]}),"🤓"]})]})]})}var y9={VITE_REACT_APP_URL:"http://localhost:6012/",VITE_NG_APP_URL:"http://localhost:6014/",VITE_PATH:"frontend-mini-challenges",VITE_HOST_URL:"http://localhost:6010/",VITE_JS_APP_URL:"http://localhost:6011/",VITE_VUE_APP_URL:"http://localhost:6013/",BASE_URL:"/frontend-mini-challenges/",MODE:"production",DEV:!1,PROD:!0,SSR:!1};const{VITE_PATH:pi,VITE_JS_APP_URL:w9,VITE_REACT_APP_URL:b9,VITE_VUE_APP_URL:S9,VITE_NG_APP_URL:x9,DEV:Nd}=y9,E9=Nd?`${w9}${pi}`:`/${pi}`,C9=Nd?`${b9}${pi}`:`/${pi}`,T9=Nd?`${S9}${pi}`:`/${pi}`,P9=Nd?`${x9}${pi}`:`/${pi}`,Qo=new Map([["javascript",{title:"JS",challenges:sk,link:E9+"/javascript/src/challenges/",imgSrc:dv}],["react",{title:"React",challenges:lk,link:C9+"/react/#/",imgSrc:fv}],["vue",{title:"Vue",challenges:uk,link:T9+"/vue/#",imgSrc:pv}],["angular",{title:"Angular",challenges:ck,link:P9+"/angular/#",imgSrc:cv}]]),Hb=Array.from(Qo.keys());function k9(){const{tech:t}=hA(),e=vE();if(S.useEffect(()=>{(!t||!Hb.includes(t))&&e("/")},[e,t]),!t||!Qo.get(t))return null;const n=Hb.map(r=>({tech:r,imgSrc:Qo.get(r).imgSrc,active:r===t}));return V.jsxs(V.Fragment,{children:[V.jsx(Dv,{}),V.jsxs("div",{className:"container text-center",children:[V.jsx(v9,{challenges:[...Qo.get(t).challenges.values()],linkPrefix:Qo.get(t).link,links:n}),V.jsx(ok,{})]})]})}const M9=IA([{path:"/leaderboard",element:V.jsx(R6,{})},{path:"/:tech",element:V.jsx(k9,{})},{path:"/",element:V.jsx(Q4,{})}]);Cp.createRoot(document.getElementById("root")).render(V.jsx(Xe.StrictMode,{children:V.jsx(Az,{children:V.jsx(zA,{router:M9})})})); +`]))),qH=function(e,n){var r=e.isFocused,i=e.size,a=e.theme,o=a.colors,l=a.spacing.baseUnit;return H({label:"loadingIndicator",display:"flex",transition:"color 150ms",alignSelf:"center",fontSize:i,lineHeight:1,marginRight:i,textAlign:"center",verticalAlign:"middle"},n?{}:{color:r?o.neutral60:o.neutral20,padding:l*2})},yp=function(e){var n=e.delay,r=e.offset;return se("span",{css:Bv({animation:"".concat(GH," 1s ease-in-out ").concat(n,"ms infinite;"),backgroundColor:"currentColor",borderRadius:"1em",display:"inline-block",marginLeft:r?"1em":void 0,height:"1em",verticalAlign:"top",width:"1em"},"","")})},XH=function(e){var n=e.innerProps,r=e.isRtl,i=e.size,a=i===void 0?4:i,o=gt(e,VH);return se("div",J({},Ye(H(H({},o),{},{innerProps:n,isRtl:r,size:a}),"loadingIndicator",{indicator:!0,"loading-indicator":!0}),n),se(yp,{delay:0,offset:r}),se(yp,{delay:160,offset:!0}),se(yp,{delay:320,offset:!r}))},KH=function(e,n){var r=e.isDisabled,i=e.isFocused,a=e.theme,o=a.colors,l=a.borderRadius,s=a.spacing;return H({label:"control",alignItems:"center",cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:s.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms"},n?{}:{backgroundColor:r?o.neutral5:o.neutral0,borderColor:r?o.neutral10:i?o.primary:o.neutral20,borderRadius:l,borderStyle:"solid",borderWidth:1,boxShadow:i?"0 0 0 1px ".concat(o.primary):void 0,"&:hover":{borderColor:i?o.primary:o.neutral30}})},YH=function(e){var n=e.children,r=e.isDisabled,i=e.isFocused,a=e.innerRef,o=e.innerProps,l=e.menuIsOpen;return se("div",J({ref:a},Ye(e,"control",{control:!0,"control--is-disabled":r,"control--is-focused":i,"control--menu-is-open":l}),o,{"aria-disabled":r||void 0}),n)},QH=YH,ZH=["data"],JH=function(e,n){var r=e.theme.spacing;return n?{}:{paddingBottom:r.baseUnit*2,paddingTop:r.baseUnit*2}},e8=function(e){var n=e.children,r=e.cx,i=e.getStyles,a=e.getClassNames,o=e.Heading,l=e.headingProps,s=e.innerProps,u=e.label,c=e.theme,d=e.selectProps;return se("div",J({},Ye(e,"group",{group:!0}),s),se(o,J({},l,{selectProps:d,theme:c,getStyles:i,getClassNames:a,cx:r}),u),se("div",null,n))},t8=function(e,n){var r=e.theme,i=r.colors,a=r.spacing;return H({label:"group",cursor:"default",display:"block"},n?{}:{color:i.neutral40,fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:a.baseUnit*3,paddingRight:a.baseUnit*3,textTransform:"uppercase"})},n8=function(e){var n=Mk(e);n.data;var r=gt(n,ZH);return se("div",J({},Ye(e,"groupHeading",{"group-heading":!0}),r))},r8=e8,i8=["innerRef","isDisabled","isHidden","inputClassName"],a8=function(e,n){var r=e.isDisabled,i=e.value,a=e.theme,o=a.spacing,l=a.colors;return H(H({visibility:r?"hidden":"visible",transform:i?"translateZ(0)":""},o8),n?{}:{margin:o.baseUnit/2,paddingBottom:o.baseUnit/2,paddingTop:o.baseUnit/2,color:l.neutral80})},_k={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},o8={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":H({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},_k)},s8=function(e){return H({label:"input",color:"inherit",background:0,opacity:e?0:1,width:"100%"},_k)},l8=function(e){var n=e.cx,r=e.value,i=Mk(e),a=i.innerRef,o=i.isDisabled,l=i.isHidden,s=i.inputClassName,u=gt(i,i8);return se("div",J({},Ye(e,"input",{"input-container":!0}),{"data-value":r||""}),se("input",J({className:n({input:!0},s),ref:a,style:s8(l),disabled:o},u)))},u8=l8,c8=function(e,n){var r=e.theme,i=r.spacing,a=r.borderRadius,o=r.colors;return H({label:"multiValue",display:"flex",minWidth:0},n?{}:{backgroundColor:o.neutral10,borderRadius:a/2,margin:i.baseUnit/2})},d8=function(e,n){var r=e.theme,i=r.borderRadius,a=r.colors,o=e.cropWithEllipsis;return H({overflow:"hidden",textOverflow:o||o===void 0?"ellipsis":void 0,whiteSpace:"nowrap"},n?{}:{borderRadius:i/2,color:a.neutral80,fontSize:"85%",padding:3,paddingLeft:6})},f8=function(e,n){var r=e.theme,i=r.spacing,a=r.borderRadius,o=r.colors,l=e.isFocused;return H({alignItems:"center",display:"flex"},n?{}:{borderRadius:a/2,backgroundColor:l?o.dangerLight:void 0,paddingLeft:i.baseUnit,paddingRight:i.baseUnit,":hover":{backgroundColor:o.dangerLight,color:o.danger}})},Vk=function(e){var n=e.children,r=e.innerProps;return se("div",r,n)},p8=Vk,h8=Vk;function m8(t){var e=t.children,n=t.innerProps;return se("div",J({role:"button"},n),e||se(Gv,{size:14}))}var g8=function(e){var n=e.children,r=e.components,i=e.data,a=e.innerProps,o=e.isDisabled,l=e.removeProps,s=e.selectProps,u=r.Container,c=r.Label,d=r.Remove;return se(u,{data:i,innerProps:H(H({},Ye(e,"multiValue",{"multi-value":!0,"multi-value--is-disabled":o})),a),selectProps:s},se(c,{data:i,innerProps:H({},Ye(e,"multiValueLabel",{"multi-value__label":!0})),selectProps:s},n),se(d,{data:i,innerProps:H(H({},Ye(e,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(n||"option")},l),selectProps:s}))},v8=g8,y8=function(e,n){var r=e.isDisabled,i=e.isFocused,a=e.isSelected,o=e.theme,l=o.spacing,s=o.colors;return H({label:"option",cursor:"default",display:"block",fontSize:"inherit",width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)"},n?{}:{backgroundColor:a?s.primary:i?s.primary25:"transparent",color:r?s.neutral20:a?s.neutral0:"inherit",padding:"".concat(l.baseUnit*2,"px ").concat(l.baseUnit*3,"px"),":active":{backgroundColor:r?void 0:a?s.primary:s.primary50}})},w8=function(e){var n=e.children,r=e.isDisabled,i=e.isFocused,a=e.isSelected,o=e.innerRef,l=e.innerProps;return se("div",J({},Ye(e,"option",{option:!0,"option--is-disabled":r,"option--is-focused":i,"option--is-selected":a}),{ref:o,"aria-disabled":r},l),n)},b8=w8,S8=function(e,n){var r=e.theme,i=r.spacing,a=r.colors;return H({label:"placeholder",gridArea:"1 / 1 / 2 / 3"},n?{}:{color:a.neutral50,marginLeft:i.baseUnit/2,marginRight:i.baseUnit/2})},x8=function(e){var n=e.children,r=e.innerProps;return se("div",J({},Ye(e,"placeholder",{placeholder:!0}),r),n)},E8=x8,C8=function(e,n){var r=e.isDisabled,i=e.theme,a=i.spacing,o=i.colors;return H({label:"singleValue",gridArea:"1 / 1 / 2 / 3",maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},n?{}:{color:r?o.neutral40:o.neutral80,marginLeft:a.baseUnit/2,marginRight:a.baseUnit/2})},T8=function(e){var n=e.children,r=e.isDisabled,i=e.innerProps;return se("div",J({},Ye(e,"singleValue",{"single-value":!0,"single-value--is-disabled":r}),i),n)},P8=T8,qv={ClearIndicator:HH,Control:QH,DropdownIndicator:zH,DownChevron:Fk,CrossIcon:Gv,Group:r8,GroupHeading:n8,IndicatorsContainer:NH,IndicatorSeparator:WH,Input:u8,LoadingIndicator:XH,Menu:xH,MenuList:CH,MenuPortal:AH,LoadingMessage:MH,NoOptionsMessage:kH,MultiValue:v8,MultiValueContainer:p8,MultiValueLabel:h8,MultiValueRemove:m8,Option:b8,Placeholder:E8,SelectContainer:RH,SingleValue:P8,ValueContainer:DH},k8=function(e){return H(H({},qv),e.components)},Ab=Number.isNaN||function(e){return typeof e=="number"&&e!==e};function M8(t,e){return!!(t===e||Ab(t)&&Ab(e))}function O8(t,e){if(t.length!==e.length)return!1;for(var n=0;n1?"s":""," ").concat(a.join(","),", selected.");case"select-option":return o?"option ".concat(i," is disabled. Select another option."):"option ".concat(i,", selected.");default:return""}},onFocus:function(e){var n=e.context,r=e.focused,i=e.options,a=e.label,o=a===void 0?"":a,l=e.selectValue,s=e.isDisabled,u=e.isSelected,c=e.isAppleDevice,d=function(g,y){return g&&g.length?"".concat(g.indexOf(y)+1," of ").concat(g.length):""};if(n==="value"&&l)return"value ".concat(o," focused, ").concat(d(l,r),".");if(n==="menu"&&c){var f=s?" disabled":"",p="".concat(u?" selected":"").concat(f);return"".concat(o).concat(p,", ").concat(d(i,r),".")}return""},onFilter:function(e){var n=e.inputValue,r=e.resultsMessage;return"".concat(r).concat(n?" for search term "+n:"",".")}},D8=function(e){var n=e.ariaSelection,r=e.focusedOption,i=e.focusedValue,a=e.focusableOptions,o=e.isFocused,l=e.selectValue,s=e.selectProps,u=e.id,c=e.isAppleDevice,d=s.ariaLiveMessages,f=s.getOptionLabel,p=s.inputValue,w=s.isMulti,g=s.isOptionDisabled,y=s.isSearchable,h=s.menuIsOpen,v=s.options,m=s.screenReaderStatus,b=s.tabSelectsValue,E=s.isLoading,x=s["aria-label"],C=s["aria-live"],T=S.useMemo(function(){return H(H({},I8),d||{})},[d]),P=S.useMemo(function(){var R="";if(n&&T.onChange){var D=n.option,L=n.options,k=n.removedValue,F=n.removedValues,j=n.value,B=function(Qe){return Array.isArray(Qe)?null:Qe},G=k||D||B(j),q=G?f(G):"",K=L||F||void 0,ne=K?K.map(f):[],oe=H({isDisabled:G&&g(G,l),label:q,labels:ne},n);R=T.onChange(oe)}return R},[n,T,g,l,f]),O=S.useMemo(function(){var R="",D=r||i,L=!!(r&&l&&l.includes(r));if(D&&T.onFocus){var k={focused:D,label:f(D),isDisabled:g(D,l),isSelected:L,options:a,context:D===r?"menu":"value",selectValue:l,isAppleDevice:c};R=T.onFocus(k)}return R},[r,i,f,g,T,a,l,c]),I=S.useMemo(function(){var R="";if(h&&v.length&&!E&&T.onFilter){var D=m({count:a.length});R=T.onFilter({inputValue:p,resultsMessage:D})}return R},[a,p,h,T,v,m,E]),N=(n==null?void 0:n.action)==="initial-input-focus",A=S.useMemo(function(){var R="";if(T.guidance){var D=i?"value":h?"menu":"input";R=T.guidance({"aria-label":x,context:D,isDisabled:r&&g(r,l),isMulti:w,isSearchable:y,tabSelectsValue:b,isInitialFocus:N})}return R},[x,r,i,w,g,y,h,T,l,b,N]),M=se(S.Fragment,null,se("span",{id:"aria-selection"},P),se("span",{id:"aria-focused"},O),se("span",{id:"aria-results"},I),se("span",{id:"aria-guidance"},A));return se(S.Fragment,null,se(Lb,{id:u},N&&M),se(Lb,{"aria-live":C,"aria-atomic":"false","aria-relevant":"additions text",role:"log"},o&&!N&&M))},F8=D8,Lm=[{base:"A",letters:"AⒶAÀÁÂẦẤẪẨÃĀĂẰẮẴẲȦǠÄǞẢÅǺǍȀȂẠẬẶḀĄȺⱯ"},{base:"AA",letters:"Ꜳ"},{base:"AE",letters:"ÆǼǢ"},{base:"AO",letters:"Ꜵ"},{base:"AU",letters:"Ꜷ"},{base:"AV",letters:"ꜸꜺ"},{base:"AY",letters:"Ꜽ"},{base:"B",letters:"BⒷBḂḄḆɃƂƁ"},{base:"C",letters:"CⒸCĆĈĊČÇḈƇȻꜾ"},{base:"D",letters:"DⒹDḊĎḌḐḒḎĐƋƊƉꝹ"},{base:"DZ",letters:"DZDŽ"},{base:"Dz",letters:"DzDž"},{base:"E",letters:"EⒺEÈÉÊỀẾỄỂẼĒḔḖĔĖËẺĚȄȆẸỆȨḜĘḘḚƐƎ"},{base:"F",letters:"FⒻFḞƑꝻ"},{base:"G",letters:"GⒼGǴĜḠĞĠǦĢǤƓꞠꝽꝾ"},{base:"H",letters:"HⒽHĤḢḦȞḤḨḪĦⱧⱵꞍ"},{base:"I",letters:"IⒾIÌÍÎĨĪĬİÏḮỈǏȈȊỊĮḬƗ"},{base:"J",letters:"JⒿJĴɈ"},{base:"K",letters:"KⓀKḰǨḲĶḴƘⱩꝀꝂꝄꞢ"},{base:"L",letters:"LⓁLĿĹĽḶḸĻḼḺŁȽⱢⱠꝈꝆꞀ"},{base:"LJ",letters:"LJ"},{base:"Lj",letters:"Lj"},{base:"M",letters:"MⓂMḾṀṂⱮƜ"},{base:"N",letters:"NⓃNǸŃÑṄŇṆŅṊṈȠƝꞐꞤ"},{base:"NJ",letters:"NJ"},{base:"Nj",letters:"Nj"},{base:"O",letters:"OⓄOÒÓÔỒỐỖỔÕṌȬṎŌṐṒŎȮȰÖȪỎŐǑȌȎƠỜỚỠỞỢỌỘǪǬØǾƆƟꝊꝌ"},{base:"OI",letters:"Ƣ"},{base:"OO",letters:"Ꝏ"},{base:"OU",letters:"Ȣ"},{base:"P",letters:"PⓅPṔṖƤⱣꝐꝒꝔ"},{base:"Q",letters:"QⓆQꝖꝘɊ"},{base:"R",letters:"RⓇRŔṘŘȐȒṚṜŖṞɌⱤꝚꞦꞂ"},{base:"S",letters:"SⓈSẞŚṤŜṠŠṦṢṨȘŞⱾꞨꞄ"},{base:"T",letters:"TⓉTṪŤṬȚŢṰṮŦƬƮȾꞆ"},{base:"TZ",letters:"Ꜩ"},{base:"U",letters:"UⓊUÙÚÛŨṸŪṺŬÜǛǗǕǙỦŮŰǓȔȖƯỪỨỮỬỰỤṲŲṶṴɄ"},{base:"V",letters:"VⓋVṼṾƲꝞɅ"},{base:"VY",letters:"Ꝡ"},{base:"W",letters:"WⓌWẀẂŴẆẄẈⱲ"},{base:"X",letters:"XⓍXẊẌ"},{base:"Y",letters:"YⓎYỲÝŶỸȲẎŸỶỴƳɎỾ"},{base:"Z",letters:"ZⓏZŹẐŻŽẒẔƵȤⱿⱫꝢ"},{base:"a",letters:"aⓐaẚàáâầấẫẩãāăằắẵẳȧǡäǟảåǻǎȁȃạậặḁąⱥɐ"},{base:"aa",letters:"ꜳ"},{base:"ae",letters:"æǽǣ"},{base:"ao",letters:"ꜵ"},{base:"au",letters:"ꜷ"},{base:"av",letters:"ꜹꜻ"},{base:"ay",letters:"ꜽ"},{base:"b",letters:"bⓑbḃḅḇƀƃɓ"},{base:"c",letters:"cⓒcćĉċčçḉƈȼꜿↄ"},{base:"d",letters:"dⓓdḋďḍḑḓḏđƌɖɗꝺ"},{base:"dz",letters:"dzdž"},{base:"e",letters:"eⓔeèéêềếễểẽēḕḗĕėëẻěȅȇẹệȩḝęḙḛɇɛǝ"},{base:"f",letters:"fⓕfḟƒꝼ"},{base:"g",letters:"gⓖgǵĝḡğġǧģǥɠꞡᵹꝿ"},{base:"h",letters:"hⓗhĥḣḧȟḥḩḫẖħⱨⱶɥ"},{base:"hv",letters:"ƕ"},{base:"i",letters:"iⓘiìíîĩīĭïḯỉǐȉȋịįḭɨı"},{base:"j",letters:"jⓙjĵǰɉ"},{base:"k",letters:"kⓚkḱǩḳķḵƙⱪꝁꝃꝅꞣ"},{base:"l",letters:"lⓛlŀĺľḷḹļḽḻſłƚɫⱡꝉꞁꝇ"},{base:"lj",letters:"lj"},{base:"m",letters:"mⓜmḿṁṃɱɯ"},{base:"n",letters:"nⓝnǹńñṅňṇņṋṉƞɲʼnꞑꞥ"},{base:"nj",letters:"nj"},{base:"o",letters:"oⓞoòóôồốỗổõṍȭṏōṑṓŏȯȱöȫỏőǒȍȏơờớỡởợọộǫǭøǿɔꝋꝍɵ"},{base:"oi",letters:"ƣ"},{base:"ou",letters:"ȣ"},{base:"oo",letters:"ꝏ"},{base:"p",letters:"pⓟpṕṗƥᵽꝑꝓꝕ"},{base:"q",letters:"qⓠqɋꝗꝙ"},{base:"r",letters:"rⓡrŕṙřȑȓṛṝŗṟɍɽꝛꞧꞃ"},{base:"s",letters:"sⓢsßśṥŝṡšṧṣṩșşȿꞩꞅẛ"},{base:"t",letters:"tⓣtṫẗťṭțţṱṯŧƭʈⱦꞇ"},{base:"tz",letters:"ꜩ"},{base:"u",letters:"uⓤuùúûũṹūṻŭüǜǘǖǚủůűǔȕȗưừứữửựụṳųṷṵʉ"},{base:"v",letters:"vⓥvṽṿʋꝟʌ"},{base:"vy",letters:"ꝡ"},{base:"w",letters:"wⓦwẁẃŵẇẅẘẉⱳ"},{base:"x",letters:"xⓧxẋẍ"},{base:"y",letters:"yⓨyỳýŷỹȳẏÿỷẙỵƴɏỿ"},{base:"z",letters:"zⓩzźẑżžẓẕƶȥɀⱬꝣ"}],N8=new RegExp("["+Lm.map(function(t){return t.letters}).join("")+"]","g"),jk={};for(var wp=0;wp-1}},$8=["innerRef"];function z8(t){var e=t.innerRef,n=gt(t,$8),r=hH(n,"onExited","in","enter","exit","appear");return se("input",J({ref:e},r,{css:Bv({label:"dummyInput",background:0,border:0,caretColor:"transparent",fontSize:"inherit",gridArea:"1 / 1 / 2 / 3",outline:0,padding:0,width:1,color:"transparent",left:-100,opacity:0,position:"relative",transform:"scale(.01)"},"","")}))}var B8=function(e){e.cancelable&&e.preventDefault(),e.stopPropagation()};function H8(t){var e=t.isEnabled,n=t.onBottomArrive,r=t.onBottomLeave,i=t.onTopArrive,a=t.onTopLeave,o=S.useRef(!1),l=S.useRef(!1),s=S.useRef(0),u=S.useRef(null),c=S.useCallback(function(y,h){if(u.current!==null){var v=u.current,m=v.scrollTop,b=v.scrollHeight,E=v.clientHeight,x=u.current,C=h>0,T=b-E-m,P=!1;T>h&&o.current&&(r&&r(y),o.current=!1),C&&l.current&&(a&&a(y),l.current=!1),C&&h>T?(n&&!o.current&&n(y),x.scrollTop=b,P=!0,o.current=!0):!C&&-h>m&&(i&&!l.current&&i(y),x.scrollTop=0,P=!0,l.current=!0),P&&B8(y)}},[n,r,i,a]),d=S.useCallback(function(y){c(y,y.deltaY)},[c]),f=S.useCallback(function(y){s.current=y.changedTouches[0].clientY},[]),p=S.useCallback(function(y){var h=s.current-y.changedTouches[0].clientY;c(y,h)},[c]),w=S.useCallback(function(y){if(y){var h=dH?{passive:!1}:!1;y.addEventListener("wheel",d,h),y.addEventListener("touchstart",f,h),y.addEventListener("touchmove",p,h)}},[p,f,d]),g=S.useCallback(function(y){y&&(y.removeEventListener("wheel",d,!1),y.removeEventListener("touchstart",f,!1),y.removeEventListener("touchmove",p,!1))},[p,f,d]);return S.useEffect(function(){if(e){var y=u.current;return w(y),function(){g(y)}}},[e,w,g]),function(y){u.current=y}}var Ib=["boxSizing","height","overflow","paddingRight","position"],Db={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function Fb(t){t.preventDefault()}function Nb(t){t.stopPropagation()}function _b(){var t=this.scrollTop,e=this.scrollHeight,n=t+this.offsetHeight;t===0?this.scrollTop=1:n===e&&(this.scrollTop=t-1)}function Vb(){return"ontouchstart"in window||navigator.maxTouchPoints}var jb=!!(typeof window<"u"&&window.document&&window.document.createElement),$o=0,ga={capture:!1,passive:!1};function U8(t){var e=t.isEnabled,n=t.accountForScrollbars,r=n===void 0?!0:n,i=S.useRef({}),a=S.useRef(null),o=S.useCallback(function(s){if(jb){var u=document.body,c=u&&u.style;if(r&&Ib.forEach(function(w){var g=c&&c[w];i.current[w]=g}),r&&$o<1){var d=parseInt(i.current.paddingRight,10)||0,f=document.body?document.body.clientWidth:0,p=window.innerWidth-f+d||0;Object.keys(Db).forEach(function(w){var g=Db[w];c&&(c[w]=g)}),c&&(c.paddingRight="".concat(p,"px"))}u&&Vb()&&(u.addEventListener("touchmove",Fb,ga),s&&(s.addEventListener("touchstart",_b,ga),s.addEventListener("touchmove",Nb,ga))),$o+=1}},[r]),l=S.useCallback(function(s){if(jb){var u=document.body,c=u&&u.style;$o=Math.max($o-1,0),r&&$o<1&&Ib.forEach(function(d){var f=i.current[d];c&&(c[d]=f)}),u&&Vb()&&(u.removeEventListener("touchmove",Fb,ga),s&&(s.removeEventListener("touchstart",_b,ga),s.removeEventListener("touchmove",Nb,ga)))}},[r]);return S.useEffect(function(){if(e){var s=a.current;return o(s),function(){l(s)}}},[e,o,l]),function(s){a.current=s}}var W8=function(e){var n=e.target;return n.ownerDocument.activeElement&&n.ownerDocument.activeElement.blur()},G8={name:"1kfdb0e",styles:"position:fixed;left:0;bottom:0;right:0;top:0"};function q8(t){var e=t.children,n=t.lockEnabled,r=t.captureEnabled,i=r===void 0?!0:r,a=t.onBottomArrive,o=t.onBottomLeave,l=t.onTopArrive,s=t.onTopLeave,u=H8({isEnabled:i,onBottomArrive:a,onBottomLeave:o,onTopArrive:l,onTopLeave:s}),c=U8({isEnabled:n}),d=function(p){u(p),c(p)};return se(S.Fragment,null,n&&se("div",{onClick:W8,css:G8}),e(d))}var X8={name:"1a0ro4n-requiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%"},K8=function(e){var n=e.name,r=e.onFocus;return se("input",{required:!0,name:n,tabIndex:-1,"aria-hidden":"true",onFocus:r,css:X8,value:"",onChange:function(){}})},Y8=K8;function Xv(t){var e;return typeof window<"u"&&window.navigator!=null?t.test(((e=window.navigator.userAgentData)===null||e===void 0?void 0:e.platform)||window.navigator.platform):!1}function Q8(){return Xv(/^iPhone/i)}function zk(){return Xv(/^Mac/i)}function Z8(){return Xv(/^iPad/i)||zk()&&navigator.maxTouchPoints>1}function J8(){return Q8()||Z8()}function e9(){return zk()||J8()}var t9=function(e){return e.label},n9=function(e){return e.label},r9=function(e){return e.value},i9=function(e){return!!e.isDisabled},a9={clearIndicator:BH,container:LH,control:KH,dropdownIndicator:$H,group:JH,groupHeading:t8,indicatorsContainer:FH,indicatorSeparator:UH,input:a8,loadingIndicator:qH,loadingMessage:PH,menu:wH,menuList:EH,menuPortal:OH,multiValue:c8,multiValueLabel:d8,multiValueRemove:f8,noOptionsMessage:TH,option:y8,placeholder:S8,singleValue:C8,valueContainer:IH},o9={primary:"#2684FF",primary75:"#4C9AFF",primary50:"#B2D4FF",primary25:"#DEEBFF",danger:"#DE350B",dangerLight:"#FFBDAD",neutral0:"hsl(0, 0%, 100%)",neutral5:"hsl(0, 0%, 95%)",neutral10:"hsl(0, 0%, 90%)",neutral20:"hsl(0, 0%, 80%)",neutral30:"hsl(0, 0%, 70%)",neutral40:"hsl(0, 0%, 60%)",neutral50:"hsl(0, 0%, 50%)",neutral60:"hsl(0, 0%, 40%)",neutral70:"hsl(0, 0%, 30%)",neutral80:"hsl(0, 0%, 20%)",neutral90:"hsl(0, 0%, 10%)"},s9=4,Bk=4,l9=38,u9=Bk*2,c9={baseUnit:Bk,controlHeight:l9,menuGutter:u9},xp={borderRadius:s9,colors:o9,spacing:c9},d9={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:Mb(),captureMenuScroll:!Mb(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:j8(),formatGroupLabel:t9,getOptionLabel:n9,getOptionValue:r9,isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:i9,loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!uH(),noOptionsMessage:function(){return"No options"},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:"Select...",screenReaderStatus:function(e){var n=e.count;return"".concat(n," result").concat(n!==1?"s":""," available")},styles:{},tabIndex:0,tabSelectsValue:!0,unstyled:!1};function $b(t,e,n,r){var i=Wk(t,e,n),a=Gk(t,e,n),o=Uk(t,e),l=Mc(t,e);return{type:"option",data:e,isDisabled:i,isSelected:a,label:o,value:l,index:r}}function Nu(t,e){return t.options.map(function(n,r){if("options"in n){var i=n.options.map(function(o,l){return $b(t,o,e,l)}).filter(function(o){return Bb(t,o)});return i.length>0?{type:"group",data:n,options:i,index:r}:void 0}var a=$b(t,n,e,r);return Bb(t,a)?a:void 0}).filter(fH)}function Hk(t){return t.reduce(function(e,n){return n.type==="group"?e.push.apply(e,ce(n.options.map(function(r){return r.data}))):e.push(n.data),e},[])}function zb(t,e){return t.reduce(function(n,r){return r.type==="group"?n.push.apply(n,ce(r.options.map(function(i){return{data:i.data,id:"".concat(e,"-").concat(r.index,"-").concat(i.index)}}))):n.push({data:r.data,id:"".concat(e,"-").concat(r.index)}),n},[])}function f9(t,e){return Hk(Nu(t,e))}function Bb(t,e){var n=t.inputValue,r=n===void 0?"":n,i=e.data,a=e.isSelected,o=e.label,l=e.value;return(!Xk(t)||!a)&&qk(t,{label:o,value:l,data:i},r)}function p9(t,e){var n=t.focusedValue,r=t.selectValue,i=r.indexOf(n);if(i>-1){var a=e.indexOf(n);if(a>-1)return n;if(i-1?n:e[0]}var Ep=function(e,n){var r,i=(r=e.find(function(a){return a.data===n}))===null||r===void 0?void 0:r.id;return i||null},Uk=function(e,n){return e.getOptionLabel(n)},Mc=function(e,n){return e.getOptionValue(n)};function Wk(t,e,n){return typeof t.isOptionDisabled=="function"?t.isOptionDisabled(e,n):!1}function Gk(t,e,n){if(n.indexOf(e)>-1)return!0;if(typeof t.isOptionSelected=="function")return t.isOptionSelected(e,n);var r=Mc(t,e);return n.some(function(i){return Mc(t,i)===r})}function qk(t,e,n){return t.filterOption?t.filterOption(e,n):!0}var Xk=function(e){var n=e.hideSelectedOptions,r=e.isMulti;return n===void 0?r:n},m9=1,Kk=function(t){vo(n,t);var e=pd(n);function n(r){var i;if(Nn(this,n),i=e.call(this,r),i.state={ariaSelection:null,focusedOption:null,focusedOptionId:null,focusableOptionsWithIds:[],focusedValue:null,inputIsHidden:!1,isFocused:!1,selectValue:[],clearFocusValueOnUpdate:!1,prevWasFocused:!1,inputIsHiddenAfterUpdate:void 0,prevProps:void 0,instancePrefix:""},i.blockOptionHover=!1,i.isComposing=!1,i.commonProps=void 0,i.initialTouchX=0,i.initialTouchY=0,i.openAfterFocus=!1,i.scrollToFocusedOptionOnUpdate=!1,i.userIsDragging=void 0,i.isAppleDevice=e9(),i.controlRef=null,i.getControlRef=function(s){i.controlRef=s},i.focusedOptionRef=null,i.getFocusedOptionRef=function(s){i.focusedOptionRef=s},i.menuListRef=null,i.getMenuListRef=function(s){i.menuListRef=s},i.inputRef=null,i.getInputRef=function(s){i.inputRef=s},i.focus=i.focusInput,i.blur=i.blurInput,i.onChange=function(s,u){var c=i.props,d=c.onChange,f=c.name;u.name=f,i.ariaOnChange(s,u),d(s,u)},i.setValue=function(s,u,c){var d=i.props,f=d.closeMenuOnSelect,p=d.isMulti,w=d.inputValue;i.onInputChange("",{action:"set-value",prevInputValue:w}),f&&(i.setState({inputIsHiddenAfterUpdate:!p}),i.onMenuClose()),i.setState({clearFocusValueOnUpdate:!0}),i.onChange(s,{action:u,option:c})},i.selectOption=function(s){var u=i.props,c=u.blurInputOnSelect,d=u.isMulti,f=u.name,p=i.state.selectValue,w=d&&i.isOptionSelected(s,p),g=i.isOptionDisabled(s,p);if(w){var y=i.getOptionValue(s);i.setValue(p.filter(function(h){return i.getOptionValue(h)!==y}),"deselect-option",s)}else if(!g)d?i.setValue([].concat(ce(p),[s]),"select-option",s):i.setValue(s,"select-option");else{i.ariaOnChange(s,{action:"select-option",option:s,name:f});return}c&&i.blurInput()},i.removeValue=function(s){var u=i.props.isMulti,c=i.state.selectValue,d=i.getOptionValue(s),f=c.filter(function(w){return i.getOptionValue(w)!==d}),p=ou(u,f,f[0]||null);i.onChange(p,{action:"remove-value",removedValue:s}),i.focusInput()},i.clearValue=function(){var s=i.state.selectValue;i.onChange(ou(i.props.isMulti,[],null),{action:"clear",removedValues:s})},i.popValue=function(){var s=i.props.isMulti,u=i.state.selectValue,c=u[u.length-1],d=u.slice(0,u.length-1),f=ou(s,d,d[0]||null);i.onChange(f,{action:"pop-value",removedValue:c})},i.getFocusedOptionId=function(s){return Ep(i.state.focusableOptionsWithIds,s)},i.getFocusableOptionsWithIds=function(){return zb(Nu(i.props,i.state.selectValue),i.getElementId("option"))},i.getValue=function(){return i.state.selectValue},i.cx=function(){for(var s=arguments.length,u=new Array(s),c=0;cp||f>p}},i.onTouchEnd=function(s){i.userIsDragging||(i.controlRef&&!i.controlRef.contains(s.target)&&i.menuListRef&&!i.menuListRef.contains(s.target)&&i.blurInput(),i.initialTouchX=0,i.initialTouchY=0)},i.onControlTouchEnd=function(s){i.userIsDragging||i.onControlMouseDown(s)},i.onClearIndicatorTouchEnd=function(s){i.userIsDragging||i.onClearIndicatorMouseDown(s)},i.onDropdownIndicatorTouchEnd=function(s){i.userIsDragging||i.onDropdownIndicatorMouseDown(s)},i.handleInputChange=function(s){var u=i.props.inputValue,c=s.currentTarget.value;i.setState({inputIsHiddenAfterUpdate:!1}),i.onInputChange(c,{action:"input-change",prevInputValue:u}),i.props.menuIsOpen||i.onMenuOpen()},i.onInputFocus=function(s){i.props.onFocus&&i.props.onFocus(s),i.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(i.openAfterFocus||i.props.openMenuOnFocus)&&i.openMenu("first"),i.openAfterFocus=!1},i.onInputBlur=function(s){var u=i.props.inputValue;if(i.menuListRef&&i.menuListRef.contains(document.activeElement)){i.inputRef.focus();return}i.props.onBlur&&i.props.onBlur(s),i.onInputChange("",{action:"input-blur",prevInputValue:u}),i.onMenuClose(),i.setState({focusedValue:null,isFocused:!1})},i.onOptionHover=function(s){if(!(i.blockOptionHover||i.state.focusedOption===s)){var u=i.getFocusableOptions(),c=u.indexOf(s);i.setState({focusedOption:s,focusedOptionId:c>-1?i.getFocusedOptionId(s):null})}},i.shouldHideSelectedOptions=function(){return Xk(i.props)},i.onValueInputFocus=function(s){s.preventDefault(),s.stopPropagation(),i.focus()},i.onKeyDown=function(s){var u=i.props,c=u.isMulti,d=u.backspaceRemovesValue,f=u.escapeClearsValue,p=u.inputValue,w=u.isClearable,g=u.isDisabled,y=u.menuIsOpen,h=u.onKeyDown,v=u.tabSelectsValue,m=u.openMenuOnFocus,b=i.state,E=b.focusedOption,x=b.focusedValue,C=b.selectValue;if(!g&&!(typeof h=="function"&&(h(s),s.defaultPrevented))){switch(i.blockOptionHover=!0,s.key){case"ArrowLeft":if(!c||p)return;i.focusValue("previous");break;case"ArrowRight":if(!c||p)return;i.focusValue("next");break;case"Delete":case"Backspace":if(p)return;if(x)i.removeValue(x);else{if(!d)return;c?i.popValue():w&&i.clearValue()}break;case"Tab":if(i.isComposing||s.shiftKey||!y||!v||!E||m&&i.isOptionSelected(E,C))return;i.selectOption(E);break;case"Enter":if(s.keyCode===229)break;if(y){if(!E||i.isComposing)return;i.selectOption(E);break}return;case"Escape":y?(i.setState({inputIsHiddenAfterUpdate:!1}),i.onInputChange("",{action:"menu-close",prevInputValue:p}),i.onMenuClose()):w&&f&&i.clearValue();break;case" ":if(p)return;if(!y){i.openMenu("first");break}if(!E)return;i.selectOption(E);break;case"ArrowUp":y?i.focusOption("up"):i.openMenu("last");break;case"ArrowDown":y?i.focusOption("down"):i.openMenu("first");break;case"PageUp":if(!y)return;i.focusOption("pageup");break;case"PageDown":if(!y)return;i.focusOption("pagedown");break;case"Home":if(!y)return;i.focusOption("first");break;case"End":if(!y)return;i.focusOption("last");break;default:return}s.preventDefault()}},i.state.instancePrefix="react-select-"+(i.props.instanceId||++m9),i.state.selectValue=Pb(r.value),r.menuIsOpen&&i.state.selectValue.length){var a=i.getFocusableOptionsWithIds(),o=i.buildFocusableOptions(),l=o.indexOf(i.state.selectValue[0]);i.state.focusableOptionsWithIds=a,i.state.focusedOption=o[l],i.state.focusedOptionId=Ep(a,o[l])}return i}return _n(n,[{key:"componentDidMount",value:function(){this.startListeningComposition(),this.startListeningToTouch(),this.props.closeMenuOnScroll&&document&&document.addEventListener&&document.addEventListener("scroll",this.onScroll,!0),this.props.autoFocus&&this.focusInput(),this.props.menuIsOpen&&this.state.focusedOption&&this.menuListRef&&this.focusedOptionRef&&kb(this.menuListRef,this.focusedOptionRef)}},{key:"componentDidUpdate",value:function(i){var a=this.props,o=a.isDisabled,l=a.menuIsOpen,s=this.state.isFocused;(s&&!o&&i.isDisabled||s&&l&&!i.menuIsOpen)&&this.focusInput(),s&&o&&!i.isDisabled?this.setState({isFocused:!1},this.onMenuClose):!s&&!o&&i.isDisabled&&this.inputRef===document.activeElement&&this.setState({isFocused:!0}),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(kb(this.menuListRef,this.focusedOptionRef),this.scrollToFocusedOptionOnUpdate=!1)}},{key:"componentWillUnmount",value:function(){this.stopListeningComposition(),this.stopListeningToTouch(),document.removeEventListener("scroll",this.onScroll,!0)}},{key:"onMenuOpen",value:function(){this.props.onMenuOpen()}},{key:"onMenuClose",value:function(){this.onInputChange("",{action:"menu-close",prevInputValue:this.props.inputValue}),this.props.onMenuClose()}},{key:"onInputChange",value:function(i,a){this.props.onInputChange(i,a)}},{key:"focusInput",value:function(){this.inputRef&&this.inputRef.focus()}},{key:"blurInput",value:function(){this.inputRef&&this.inputRef.blur()}},{key:"openMenu",value:function(i){var a=this,o=this.state,l=o.selectValue,s=o.isFocused,u=this.buildFocusableOptions(),c=i==="first"?0:u.length-1;if(!this.props.isMulti){var d=u.indexOf(l[0]);d>-1&&(c=d)}this.scrollToFocusedOptionOnUpdate=!(s&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:u[c],focusedOptionId:this.getFocusedOptionId(u[c])},function(){return a.onMenuOpen()})}},{key:"focusValue",value:function(i){var a=this.state,o=a.selectValue,l=a.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var s=o.indexOf(l);l||(s=-1);var u=o.length-1,c=-1;if(o.length){switch(i){case"previous":s===0?c=0:s===-1?c=u:c=s-1;break;case"next":s>-1&&s0&&arguments[0]!==void 0?arguments[0]:"first",a=this.props.pageSize,o=this.state.focusedOption,l=this.getFocusableOptions();if(l.length){var s=0,u=l.indexOf(o);o||(u=-1),i==="up"?s=u>0?u-1:l.length-1:i==="down"?s=(u+1)%l.length:i==="pageup"?(s=u-a,s<0&&(s=0)):i==="pagedown"?(s=u+a,s>l.length-1&&(s=l.length-1)):i==="last"&&(s=l.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:l[s],focusedValue:null,focusedOptionId:this.getFocusedOptionId(l[s])})}}},{key:"getTheme",value:function(){return this.props.theme?typeof this.props.theme=="function"?this.props.theme(xp):H(H({},xp),this.props.theme):xp}},{key:"getCommonProps",value:function(){var i=this.clearValue,a=this.cx,o=this.getStyles,l=this.getClassNames,s=this.getValue,u=this.selectOption,c=this.setValue,d=this.props,f=d.isMulti,p=d.isRtl,w=d.options,g=this.hasValue();return{clearValue:i,cx:a,getStyles:o,getClassNames:l,getValue:s,hasValue:g,isMulti:f,isRtl:p,options:w,selectOption:u,selectProps:d,setValue:c,theme:this.getTheme()}}},{key:"hasValue",value:function(){var i=this.state.selectValue;return i.length>0}},{key:"hasOptions",value:function(){return!!this.getFocusableOptions().length}},{key:"isClearable",value:function(){var i=this.props,a=i.isClearable,o=i.isMulti;return a===void 0?o:a}},{key:"isOptionDisabled",value:function(i,a){return Wk(this.props,i,a)}},{key:"isOptionSelected",value:function(i,a){return Gk(this.props,i,a)}},{key:"filterOption",value:function(i,a){return qk(this.props,i,a)}},{key:"formatOptionLabel",value:function(i,a){if(typeof this.props.formatOptionLabel=="function"){var o=this.props.inputValue,l=this.state.selectValue;return this.props.formatOptionLabel(i,{context:a,inputValue:o,selectValue:l})}else return this.getOptionLabel(i)}},{key:"formatGroupLabel",value:function(i){return this.props.formatGroupLabel(i)}},{key:"startListeningComposition",value:function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))}},{key:"stopListeningComposition",value:function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))}},{key:"startListeningToTouch",value:function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))}},{key:"stopListeningToTouch",value:function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"renderInput",value:function(){var i=this.props,a=i.isDisabled,o=i.isSearchable,l=i.inputId,s=i.inputValue,u=i.tabIndex,c=i.form,d=i.menuIsOpen,f=i.required,p=this.getComponents(),w=p.Input,g=this.state,y=g.inputIsHidden,h=g.ariaSelection,v=this.commonProps,m=l||this.getElementId("input"),b=H(H(H({"aria-autocomplete":"list","aria-expanded":d,"aria-haspopup":!0,"aria-errormessage":this.props["aria-errormessage"],"aria-invalid":this.props["aria-invalid"],"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],"aria-required":f,role:"combobox","aria-activedescendant":this.isAppleDevice?void 0:this.state.focusedOptionId||""},d&&{"aria-controls":this.getElementId("listbox")}),!o&&{"aria-readonly":!0}),this.hasValue()?(h==null?void 0:h.action)==="initial-input-focus"&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return o?S.createElement(w,J({},v,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:m,innerRef:this.getInputRef,isDisabled:a,isHidden:y,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:u,form:c,type:"text",value:s},b)):S.createElement(z8,J({id:m,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:Pc,onFocus:this.onInputFocus,disabled:a,tabIndex:u,inputMode:"none",form:c,value:""},b))}},{key:"renderPlaceholderOrValue",value:function(){var i=this,a=this.getComponents(),o=a.MultiValue,l=a.MultiValueContainer,s=a.MultiValueLabel,u=a.MultiValueRemove,c=a.SingleValue,d=a.Placeholder,f=this.commonProps,p=this.props,w=p.controlShouldRenderValue,g=p.isDisabled,y=p.isMulti,h=p.inputValue,v=p.placeholder,m=this.state,b=m.selectValue,E=m.focusedValue,x=m.isFocused;if(!this.hasValue()||!w)return h?null:S.createElement(d,J({},f,{key:"placeholder",isDisabled:g,isFocused:x,innerProps:{id:this.getElementId("placeholder")}}),v);if(y)return b.map(function(T,P){var O=T===E,I="".concat(i.getOptionLabel(T),"-").concat(i.getOptionValue(T));return S.createElement(o,J({},f,{components:{Container:l,Label:s,Remove:u},isFocused:O,isDisabled:g,key:I,index:P,removeProps:{onClick:function(){return i.removeValue(T)},onTouchEnd:function(){return i.removeValue(T)},onMouseDown:function(A){A.preventDefault()}},data:T}),i.formatOptionLabel(T,"value"))});if(h)return null;var C=b[0];return S.createElement(c,J({},f,{data:C,isDisabled:g}),this.formatOptionLabel(C,"value"))}},{key:"renderClearIndicator",value:function(){var i=this.getComponents(),a=i.ClearIndicator,o=this.commonProps,l=this.props,s=l.isDisabled,u=l.isLoading,c=this.state.isFocused;if(!this.isClearable()||!a||s||!this.hasValue()||u)return null;var d={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return S.createElement(a,J({},o,{innerProps:d,isFocused:c}))}},{key:"renderLoadingIndicator",value:function(){var i=this.getComponents(),a=i.LoadingIndicator,o=this.commonProps,l=this.props,s=l.isDisabled,u=l.isLoading,c=this.state.isFocused;if(!a||!u)return null;var d={"aria-hidden":"true"};return S.createElement(a,J({},o,{innerProps:d,isDisabled:s,isFocused:c}))}},{key:"renderIndicatorSeparator",value:function(){var i=this.getComponents(),a=i.DropdownIndicator,o=i.IndicatorSeparator;if(!a||!o)return null;var l=this.commonProps,s=this.props.isDisabled,u=this.state.isFocused;return S.createElement(o,J({},l,{isDisabled:s,isFocused:u}))}},{key:"renderDropdownIndicator",value:function(){var i=this.getComponents(),a=i.DropdownIndicator;if(!a)return null;var o=this.commonProps,l=this.props.isDisabled,s=this.state.isFocused,u={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return S.createElement(a,J({},o,{innerProps:u,isDisabled:l,isFocused:s}))}},{key:"renderMenu",value:function(){var i=this,a=this.getComponents(),o=a.Group,l=a.GroupHeading,s=a.Menu,u=a.MenuList,c=a.MenuPortal,d=a.LoadingMessage,f=a.NoOptionsMessage,p=a.Option,w=this.commonProps,g=this.state.focusedOption,y=this.props,h=y.captureMenuScroll,v=y.inputValue,m=y.isLoading,b=y.loadingMessage,E=y.minMenuHeight,x=y.maxMenuHeight,C=y.menuIsOpen,T=y.menuPlacement,P=y.menuPosition,O=y.menuPortalTarget,I=y.menuShouldBlockScroll,N=y.menuShouldScrollIntoView,A=y.noOptionsMessage,M=y.onMenuScrollToTop,R=y.onMenuScrollToBottom;if(!C)return null;var D=function(q,K){var ne=q.type,oe=q.data,de=q.isDisabled,Qe=q.isSelected,rt=q.label,xe=q.value,we=g===oe,De=de?void 0:function(){return i.onOptionHover(oe)},Ot=de?void 0:function(){return i.selectOption(oe)},Gt="".concat(i.getElementId("option"),"-").concat(K),Fe={id:Gt,onClick:Ot,onMouseMove:De,onMouseOver:De,tabIndex:-1,role:"option","aria-selected":i.isAppleDevice?void 0:Qe};return S.createElement(p,J({},w,{innerProps:Fe,data:oe,isDisabled:de,isSelected:Qe,key:Gt,label:rt,type:ne,value:xe,isFocused:we,innerRef:we?i.getFocusedOptionRef:void 0}),i.formatOptionLabel(q.data,"menu"))},L;if(this.hasOptions())L=this.getCategorizedOptions().map(function(G){if(G.type==="group"){var q=G.data,K=G.options,ne=G.index,oe="".concat(i.getElementId("group"),"-").concat(ne),de="".concat(oe,"-heading");return S.createElement(o,J({},w,{key:oe,data:q,options:K,Heading:l,headingProps:{id:de,data:G.data},label:i.formatGroupLabel(G.data)}),G.options.map(function(Qe){return D(Qe,"".concat(ne,"-").concat(Qe.index))}))}else if(G.type==="option")return D(G,"".concat(G.index))});else if(m){var k=b({inputValue:v});if(k===null)return null;L=S.createElement(d,w,k)}else{var F=A({inputValue:v});if(F===null)return null;L=S.createElement(f,w,F)}var j={minMenuHeight:E,maxMenuHeight:x,menuPlacement:T,menuPosition:P,menuShouldScrollIntoView:N},B=S.createElement(bH,J({},w,j),function(G){var q=G.ref,K=G.placerProps,ne=K.placement,oe=K.maxHeight;return S.createElement(s,J({},w,j,{innerRef:q,innerProps:{onMouseDown:i.onMenuMouseDown,onMouseMove:i.onMenuMouseMove},isLoading:m,placement:ne}),S.createElement(q8,{captureEnabled:h,onTopArrive:M,onBottomArrive:R,lockEnabled:I},function(de){return S.createElement(u,J({},w,{innerRef:function(rt){i.getMenuListRef(rt),de(rt)},innerProps:{role:"listbox","aria-multiselectable":w.isMulti,id:i.getElementId("listbox")},isLoading:m,maxHeight:oe,focusedOption:g}),L)}))});return O||P==="fixed"?S.createElement(c,J({},w,{appendTo:O,controlElement:this.controlRef,menuPlacement:T,menuPosition:P}),B):B}},{key:"renderFormField",value:function(){var i=this,a=this.props,o=a.delimiter,l=a.isDisabled,s=a.isMulti,u=a.name,c=a.required,d=this.state.selectValue;if(c&&!this.hasValue()&&!l)return S.createElement(Y8,{name:u,onFocus:this.onValueInputFocus});if(!(!u||l))if(s)if(o){var f=d.map(function(g){return i.getOptionValue(g)}).join(o);return S.createElement("input",{name:u,type:"hidden",value:f})}else{var p=d.length>0?d.map(function(g,y){return S.createElement("input",{key:"i-".concat(y),name:u,type:"hidden",value:i.getOptionValue(g)})}):S.createElement("input",{name:u,type:"hidden",value:""});return S.createElement("div",null,p)}else{var w=d[0]?this.getOptionValue(d[0]):"";return S.createElement("input",{name:u,type:"hidden",value:w})}}},{key:"renderLiveRegion",value:function(){var i=this.commonProps,a=this.state,o=a.ariaSelection,l=a.focusedOption,s=a.focusedValue,u=a.isFocused,c=a.selectValue,d=this.getFocusableOptions();return S.createElement(F8,J({},i,{id:this.getElementId("live-region"),ariaSelection:o,focusedOption:l,focusedValue:s,isFocused:u,selectValue:c,focusableOptions:d,isAppleDevice:this.isAppleDevice}))}},{key:"render",value:function(){var i=this.getComponents(),a=i.Control,o=i.IndicatorsContainer,l=i.SelectContainer,s=i.ValueContainer,u=this.props,c=u.className,d=u.id,f=u.isDisabled,p=u.menuIsOpen,w=this.state.isFocused,g=this.commonProps=this.getCommonProps();return S.createElement(l,J({},g,{className:c,innerProps:{id:d,onKeyDown:this.onKeyDown},isDisabled:f,isFocused:w}),this.renderLiveRegion(),S.createElement(a,J({},g,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:f,isFocused:w,menuIsOpen:p}),S.createElement(s,J({},g,{isDisabled:f}),this.renderPlaceholderOrValue(),this.renderInput()),S.createElement(o,J({},g,{isDisabled:f}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],[{key:"getDerivedStateFromProps",value:function(i,a){var o=a.prevProps,l=a.clearFocusValueOnUpdate,s=a.inputIsHiddenAfterUpdate,u=a.ariaSelection,c=a.isFocused,d=a.prevWasFocused,f=a.instancePrefix,p=i.options,w=i.value,g=i.menuIsOpen,y=i.inputValue,h=i.isMulti,v=Pb(w),m={};if(o&&(w!==o.value||p!==o.options||g!==o.menuIsOpen||y!==o.inputValue)){var b=g?f9(i,v):[],E=g?zb(Nu(i,v),"".concat(f,"-option")):[],x=l?p9(a,v):null,C=h9(a,b),T=Ep(E,C);m={selectValue:v,focusedOption:C,focusedOptionId:T,focusableOptionsWithIds:E,focusedValue:x,clearFocusValueOnUpdate:!1}}var P=s!=null&&i!==o?{inputIsHidden:s,inputIsHiddenAfterUpdate:void 0}:{},O=u,I=c&&d;return c&&!I&&(O={value:ou(h,v,v[0]||null),options:v,action:"initial-input-focus"},I=!d),(u==null?void 0:u.action)==="initial-input-focus"&&(O=null),H(H(H({},m),P),{},{prevProps:i,ariaSelection:O,prevWasFocused:I})}}]),n}(S.Component);Kk.defaultProps=d9;var g9=S.forwardRef(function(t,e){var n=iB(t);return S.createElement(Kk,J({ref:e},n))}),v9=g9;const Yk=t=>V.jsx("div",{children:V.jsxs(qv.Option,{...t,children:[V.jsx("input",{type:"checkbox",checked:t.isSelected,onChange:()=>null})," ",V.jsx("label",{children:t.label})]})});Yk.propTypes={isSelected:r1.bool.isRequired,label:r1.string.isRequired};const y9=t=>V.jsx(qv.MultiValue,{...t,children:V.jsx("span",{children:t.data.label})}),Hb=({data:t,width:e="100%",optionSelected:n,setOptionSelected:r})=>{const{theme:i}=S.useContext(Dv),a=o=>{r(o)};return V.jsx("span",{style:{width:e},children:V.jsx(v9,{options:t,isMulti:!0,closeMenuOnSelect:!1,hideSelectedOptions:!1,components:{Option:Yk,MultiValue:y9},onChange:o=>a(o),value:n,styles:{control:o=>({...o,width:e,height:"0.1rem",textAlign:"left",outline:"none",borderRadius:"5px",border:"2px solid #ccc",maxHeight:"200px",overflowY:"auto",background:i==="dark"?"#000000":"#ffffff"}),menuList:o=>({...o,textAlign:"left",background:i==="dark"?"#000000":"#ffffff"}),option:(o,l)=>{const s=i==="dark",u=i==="light",c=l.isSelected,d=l.isFocused;return{...o,color:c?"#ffffff":s&&d?"#000000":"inherit",background:(()=>{if(s){if(c)return"blue";if(d)return"#ffffff"}if(u){if(c)return"#2684FF";if(d)return"#B2D4FF"}return"initial"})()}},placeholder:o=>({...o,color:i==="dark"?"#b0b3b8":"grey"})}})})},w9=[{label:"Easy",value:z.Easy},{label:"Medium",value:z.Medium},{label:"Hard",value:z.Hard}],b9=({searchInput:t,setSearchInput:e,optionSelected:n,setOptionSelected:r,selectedDifficulties:i,setSelectedDifficulties:a,links:o})=>{const l=S.useMemo(()=>{const s=new Map;for(const[c,d]of Td)s.set(c,d);const u=[];return s.forEach((c,d)=>{d!==""&&(c==null?void 0:c.name)!==""&&u.push({value:d,label:c==null?void 0:c.name})}),u},[]);return V.jsxs("div",{className:$t.filterOptionWrapper,children:[V.jsxs("div",{className:$t.searchInputWrapper,children:[V.jsx("input",{type:"text",name:"searchTextInput",placeholder:"Search challenge...",className:$t.searchInput,value:t,onChange:s=>e(s.target.value.trim())}),V.jsx(_z,{size:15,className:$t.searchIcon})]}),V.jsx(Hb,{data:l,optionSelected:n,setOptionSelected:s=>r(s)}),V.jsx(Hb,{data:w9,optionSelected:i,setOptionSelected:s=>a(s)}),V.jsx("div",{className:$t.filterByTechWrapper,children:o.map(s=>V.jsx(qc,{to:`/${s.tech}`,children:V.jsx("img",{src:s.imgSrc,width:35,height:35,className:s.active?$t.activeTech:"",alt:`filter by ${s.tech}`})},s.tech))})]})};function S9({challenges:t,linkPrefix:e,links:n}){const[r,i]=S.useState(""),[a,o]=S.useState(t),[l,s]=S.useState([]),[u,c]=S.useState([]);return S.useEffect(()=>{o(()=>i6({challenges:[...t.values()],title:r,contributors:l,difficulties:u})),!r&&!l&&!u&&o(t)},[t,r,l,u]),V.jsxs("div",{className:$t.container,children:[V.jsx(b9,{links:n,searchInput:r,setSearchInput:i,optionSelected:l,setOptionSelected:s,selectedDifficulties:u,setSelectedDifficulties:c}),a.length?V.jsx("div",{className:$t.challengeGrid,children:a.map(d=>V.jsx(nB,{link:e+d.link,contributor:Td.get(d.developer),challenge:d},d.title))}):V.jsxs("div",{className:$t.emptyMessage,children:["No challenges found..."," ",V.jsxs("div",{children:["maybe try adding one"," ",V.jsxs("a",{href:"https://github.com/sadanandpai/frontend-mini-challenges/blob/main/CONTRIBUTING.md#challenge-contribution",target:"_blank",rel:"noopener noreferrer",children:["here"," "]}),"🤓"]})]})]})}var x9={VITE_REACT_APP_URL:"http://localhost:6013/",VITE_NG_APP_URL:"http://localhost:6015/",VITE_PATH:"frontend-mini-challenges",VITE_HOST_URL:"http://localhost:6010/",VITE_CSS_APP_URL:"http://localhost:6011/",VITE_JS_APP_URL:"http://localhost:6012/",VITE_VUE_APP_URL:"http://localhost:6014/",BASE_URL:"/frontend-mini-challenges/",MODE:"production",DEV:!1,PROD:!0,SSR:!1};const{VITE_PATH:fr,VITE_CSS_APP_URL:E9,VITE_JS_APP_URL:C9,VITE_REACT_APP_URL:T9,VITE_VUE_APP_URL:P9,VITE_NG_APP_URL:k9,DEV:yl}=x9,M9=yl?`${E9}${fr}`:`/${fr}`,O9=yl?`${C9}${fr}`:`/${fr}`,A9=yl?`${T9}${fr}`:`/${fr}`,L9=yl?`${P9}${fr}`:`/${fr}`,R9=yl?`${k9}${fr}`:`/${fr}`,Qo=new Map([["css",{title:"CSS",challenges:lk,link:M9+"/css/src/challenges/",imgSrc:cv}],["javascript",{title:"JS",challenges:uk,link:O9+"/javascript/src/challenges/",imgSrc:fv}],["react",{title:"React",challenges:ck,link:A9+"/react/#/",imgSrc:pv}],["vue",{title:"Vue",challenges:dk,link:L9+"/vue/#",imgSrc:hv}],["angular",{title:"Angular",challenges:fk,link:R9+"/angular/#",imgSrc:dv}]]),Ub=Array.from(Qo.keys());function I9(){const{tech:t}=gA(),e=yE();if(S.useEffect(()=>{(!t||!Ub.includes(t))&&e("/")},[e,t]),!t||!Qo.get(t))return null;const n=Ub.map(r=>({tech:r,imgSrc:Qo.get(r).imgSrc,active:r===t}));return V.jsxs(V.Fragment,{children:[V.jsx(Fv,{}),V.jsxs("div",{className:"container text-center",children:[V.jsx(S9,{challenges:[...Qo.get(t).challenges.values()],linkPrefix:Qo.get(t).link,links:n}),V.jsx(sk,{})]})]})}const D9=FA([{path:"/leaderboard",element:V.jsx(N6,{})},{path:"/:tech",element:V.jsx(I9,{})},{path:"/",element:V.jsx(e6,{})}]);Cp.createRoot(document.getElementById("root")).render(V.jsx(Xe.StrictMode,{children:V.jsx(Iz,{children:V.jsx(HA,{router:D9})})})); diff --git a/docs/index.html b/docs/index.html index ff581372e..37b681d69 100644 --- a/docs/index.html +++ b/docs/index.html @@ -9,8 +9,8 @@ /> Frontend Mini Challenges - - + +
diff --git a/docs/javascript/assets/css-NOfCHX53.png b/docs/javascript/assets/css-NOfCHX53.png new file mode 100644 index 0000000000000000000000000000000000000000..d4a1f89eb264133113730e203c79e0ed414d495a GIT binary patch literal 32176 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 literal 0 HcmV?d00001 diff --git a/docs/javascript/assets/header-V3hWii48.js b/docs/javascript/assets/header-BV02bT_J.js similarity index 95% rename from docs/javascript/assets/header-V3hWii48.js rename to docs/javascript/assets/header-BV02bT_J.js index 274f20bbe..85d5ce2aa 100644 --- a/docs/javascript/assets/header-V3hWii48.js +++ b/docs/javascript/assets/header-BV02bT_J.js @@ -1 +1 @@ -import{j as d}from"./navbar-IV3mLr91.js";(function(){const n=document.createElement("link").relList;if(n&&n.supports&&n.supports("modulepreload"))return;for(const e of document.querySelectorAll('link[rel="modulepreload"]'))a(e);new MutationObserver(e=>{for(const t of e)if(t.type==="childList")for(const o of t.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&a(o)}).observe(document,{childList:!0,subtree:!0});function u(e){const t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),e.crossOrigin==="use-credentials"?t.credentials="include":e.crossOrigin==="anonymous"?t.credentials="omit":t.credentials="same-origin",t}function a(e){if(e.ep)return;e.ep=!0;const t=u(e);fetch(e.href,t)}})();const l=document.createElement("meta");l.setAttribute("charset","UTF-8");const i=document.createElement("meta");i.setAttribute("name","viewport");i.setAttribute("content","width=device-width, initial-scale=1.0");const s=document.createElement("meta");s.setAttribute("http-equiv","X-UA-Compatible");s.setAttribute("content","IE=edge");const r=document.createElement("link");r.setAttribute("rel","icon");r.setAttribute("type","image/svg+xml");r.setAttribute("href","https://github.com/sadanandpai/frontend-mini-challenges/raw/main/shared/assets/core/logo.png");const m=[l,i,s,r];m.forEach(c=>document.head.prepend(c));const f=window.location.pathname.split("/challenges/")[1].slice(0,-1),p=d.get(f);document.title=p.title; +import{j as d}from"./navbar-Dp-2B13D.js";(function(){const n=document.createElement("link").relList;if(n&&n.supports&&n.supports("modulepreload"))return;for(const e of document.querySelectorAll('link[rel="modulepreload"]'))a(e);new MutationObserver(e=>{for(const t of e)if(t.type==="childList")for(const o of t.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&a(o)}).observe(document,{childList:!0,subtree:!0});function u(e){const t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),e.crossOrigin==="use-credentials"?t.credentials="include":e.crossOrigin==="anonymous"?t.credentials="omit":t.credentials="same-origin",t}function a(e){if(e.ep)return;e.ep=!0;const t=u(e);fetch(e.href,t)}})();const l=document.createElement("meta");l.setAttribute("charset","UTF-8");const i=document.createElement("meta");i.setAttribute("name","viewport");i.setAttribute("content","width=device-width, initial-scale=1.0");const s=document.createElement("meta");s.setAttribute("http-equiv","X-UA-Compatible");s.setAttribute("content","IE=edge");const r=document.createElement("link");r.setAttribute("rel","icon");r.setAttribute("type","image/svg+xml");r.setAttribute("href","https://github.com/sadanandpai/frontend-mini-challenges/raw/main/shared/assets/core/logo.png");const m=[l,i,s,r];m.forEach(c=>document.head.prepend(c));const f=window.location.pathname.split("/challenges/")[1].slice(0,-1),p=d.get(f);document.title=p.title; diff --git a/docs/javascript/assets/index-5_7TF1M5.js b/docs/javascript/assets/index--gv0YqRY.js similarity index 69% rename from docs/javascript/assets/index-5_7TF1M5.js rename to docs/javascript/assets/index--gv0YqRY.js index a1518717d..d27c7df29 100644 --- a/docs/javascript/assets/index-5_7TF1M5.js +++ b/docs/javascript/assets/index--gv0YqRY.js @@ -1 +1 @@ -import"./header-V3hWii48.js";import"./navbar-IV3mLr91.js";const e=document.querySelector(".burger-menu"),t=document.querySelector(".nav-links");e.addEventListener("click",()=>{t.classList.toggle("active")}); +import"./header-BV02bT_J.js";import"./navbar-Dp-2B13D.js";const e=document.querySelector(".burger-menu"),t=document.querySelector(".nav-links");e.addEventListener("click",()=>{t.classList.toggle("active")}); diff --git a/docs/javascript/assets/index-n-OjoO1I.js b/docs/javascript/assets/index--s_XcGd0.js similarity index 97% rename from docs/javascript/assets/index-n-OjoO1I.js rename to docs/javascript/assets/index--s_XcGd0.js index a992c5b94..d80fbe8c2 100644 --- a/docs/javascript/assets/index-n-OjoO1I.js +++ b/docs/javascript/assets/index--s_XcGd0.js @@ -1 +1 @@ -var E=Object.defineProperty;var K=(t,e,n)=>e in t?E(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n;var y=(t,e,n)=>(K(t,typeof e!="symbol"?e+"":e,n),n),q=(t,e,n)=>{if(!e.has(t))throw TypeError("Cannot "+n)};var a=(t,e,n)=>(q(t,e,"read from private field"),n?n.call(t):e.get(t)),o=(t,e,n)=>{if(e.has(t))throw TypeError("Cannot add the same private member more than once");e instanceof WeakSet?e.add(t):e.set(t,n)};import"./header-V3hWii48.js";import"./navbar-IV3mLr91.js";var d,c,u,m,r;class z{constructor(e,n){o(this,d,"1234567890".split(""));o(this,c,"qwertyuiop".split(""));o(this,u,"asdfghjkl".split(""));o(this,m,"zxcvbnm".split(""));o(this,r,new Map);this.el=e,this.callback=n,this.populateKeys(),this.addKeyListener(),this.addKeyboardListener()}populateKeys(){[a(this,d),a(this,c),a(this,u),a(this,m)].forEach(n=>{const s=document.createElement("div");s.classList.add("row"),n.forEach(f=>{const h=document.createElement("button");h.classList.add("key"),h.textContent=f,s.appendChild(h),a(this,r).set(f,h)}),this.el.appendChild(s)})}addKeyListener(){this.el.addEventListener("click",e=>{if(e.target.classList.contains("key")){const n=e.target;n.classList.add("active"),setTimeout(()=>n.classList.remove("active"),100),this.callback(n.textContent)}})}addKeyboardListener(){document.addEventListener("keydown",e=>{var s;let n=e.key;(s=a(this,r).get(n.toLowerCase()))==null||s.click()})}}d=new WeakMap,c=new WeakMap,u=new WeakMap,m=new WeakMap,r=new WeakMap;const k=["he turned in the research paper on friday otherwise he would have not passed the class","plans for this weekend include turning wine into water","the miniature pet elephant became the envy of the neighborhood","as she walked along the street and looked in the gutter she realized facemasks had become the new cigarette butts","he had unknowingly taken up sleepwalking as a nighttime hobby","they got there early and they got really good seats","david proudly graduated from high school top of his class at age 97","he realized there had been several deaths on this road but his concern rose when he saw the exact number","three generations with six decades of life experience","her life in the confines of the house became her new normal","he never understood why what when and where left out who","truth in advertising and dinosaurs with skateboards have much in common","its not possible to convince a monkey to give you a banana by promising it infinite bananas when they die","he was willing to find the depths of the rabbit hole in order to be with her","the estate agent quickly marked out his territory on the dance floor","at that moment she realized she had a sixth sense","the lyrics of the song sounded like fingernails on a chalkboard","its not often you find a soggy banana on the street","i have traveled all around africa and still havent found the gnu who stole my scarf","although it wasnt a pot of gold nancy was still enthralled at what she found at the end of the rainbow","honestly i didnt care much for the first season so i didnt bother with the second","the balloons floated away along with all my hopes and dreams","the anaconda was the greatest criminal mastermind in this part of the neighborhood","he learned the hardest lesson of his life and had the scars both physical and mental to prove it","he set out for a short walk but now all he could see were mangroves and water were for miles","the spa attendant applied the deep cleaning mask to the gentlemans back","the busker hoped that the people passing by would throw money but they threw tomatoes instead so he exchanged his hat for a juicer","the irony of the situation wasnt lost on anyone in the room","the bug was having an excellent day until he hit the windshield","it would have been a better night if the guys next to us werent in the splash zone","kevin embraced his ability to be at the wrong place at the wrong time","she was amazed by the large chunks of ice washing up on the beach","watching the geriatric mens softball team brought back memories of 3 yr olds playing tball","he used to get confused between soldiers and shoulders but as a military man he now soldiers responsibility","in hopes of finding out the truth he entered the oneroom library","he found his art never progressed when he literally used his sweat and tears","homesickness became contagious in the young campers cabin","today i dressed my unicorn in preparation for the race"];class R{constructor(){y(this,"isTimerRunning",!1);y(this,"runTimer",()=>{if(this.time===0){this.completionCallback(),this.stopTimer();return}this.time--,this.timerCallback(this.time)})}startTimer(e,n,s){this.isTimerRunning||(this.time=e,this.timerCallback=n,this.completionCallback=s,this.intervalId=setInterval(this.runTimer,1e3),this.isTimerRunning=!0)}stopTimer(){clearInterval(this.intervalId),this.isTimerRunning=!1}}const i=document.querySelector(".sentences-display"),S=document.querySelector(".keyboard"),w=document.querySelector(".time-display"),v=document.querySelector(".reset"),g=60;let x,l=0,b=!1;const p=new R,L=()=>{const t=k[Math.floor(Math.random()*k.length)];i.textContent+=t+" "},I=()=>{i.textContent.length<50&&L();const t=i.textContent.charAt(1).trim()?1:2;i.textContent=i.textContent.slice(t),C()},C=()=>{x=i.textContent.charAt(0)},D=t=>{b||(!p.isTimerRunning&&l===0&&p.startTimer(g,M,j),t===x&&(l++,I()))},M=t=>{w.textContent=t},j=()=>{w.textContent=`You typed ${l} letters in ${g} seconds`,b=!0},T=()=>{i.textContent="",L(),C(),l=0,w.textContent=g,p.stopTimer(),b=!1,v.blur()};v.addEventListener("click",T);new z(S,D);T(); +var E=Object.defineProperty;var K=(t,e,n)=>e in t?E(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n;var y=(t,e,n)=>(K(t,typeof e!="symbol"?e+"":e,n),n),q=(t,e,n)=>{if(!e.has(t))throw TypeError("Cannot "+n)};var a=(t,e,n)=>(q(t,e,"read from private field"),n?n.call(t):e.get(t)),o=(t,e,n)=>{if(e.has(t))throw TypeError("Cannot add the same private member more than once");e instanceof WeakSet?e.add(t):e.set(t,n)};import"./header-BV02bT_J.js";import"./navbar-Dp-2B13D.js";var d,c,u,m,r;class z{constructor(e,n){o(this,d,"1234567890".split(""));o(this,c,"qwertyuiop".split(""));o(this,u,"asdfghjkl".split(""));o(this,m,"zxcvbnm".split(""));o(this,r,new Map);this.el=e,this.callback=n,this.populateKeys(),this.addKeyListener(),this.addKeyboardListener()}populateKeys(){[a(this,d),a(this,c),a(this,u),a(this,m)].forEach(n=>{const s=document.createElement("div");s.classList.add("row"),n.forEach(f=>{const h=document.createElement("button");h.classList.add("key"),h.textContent=f,s.appendChild(h),a(this,r).set(f,h)}),this.el.appendChild(s)})}addKeyListener(){this.el.addEventListener("click",e=>{if(e.target.classList.contains("key")){const n=e.target;n.classList.add("active"),setTimeout(()=>n.classList.remove("active"),100),this.callback(n.textContent)}})}addKeyboardListener(){document.addEventListener("keydown",e=>{var s;let n=e.key;(s=a(this,r).get(n.toLowerCase()))==null||s.click()})}}d=new WeakMap,c=new WeakMap,u=new WeakMap,m=new WeakMap,r=new WeakMap;const k=["he turned in the research paper on friday otherwise he would have not passed the class","plans for this weekend include turning wine into water","the miniature pet elephant became the envy of the neighborhood","as she walked along the street and looked in the gutter she realized facemasks had become the new cigarette butts","he had unknowingly taken up sleepwalking as a nighttime hobby","they got there early and they got really good seats","david proudly graduated from high school top of his class at age 97","he realized there had been several deaths on this road but his concern rose when he saw the exact number","three generations with six decades of life experience","her life in the confines of the house became her new normal","he never understood why what when and where left out who","truth in advertising and dinosaurs with skateboards have much in common","its not possible to convince a monkey to give you a banana by promising it infinite bananas when they die","he was willing to find the depths of the rabbit hole in order to be with her","the estate agent quickly marked out his territory on the dance floor","at that moment she realized she had a sixth sense","the lyrics of the song sounded like fingernails on a chalkboard","its not often you find a soggy banana on the street","i have traveled all around africa and still havent found the gnu who stole my scarf","although it wasnt a pot of gold nancy was still enthralled at what she found at the end of the rainbow","honestly i didnt care much for the first season so i didnt bother with the second","the balloons floated away along with all my hopes and dreams","the anaconda was the greatest criminal mastermind in this part of the neighborhood","he learned the hardest lesson of his life and had the scars both physical and mental to prove it","he set out for a short walk but now all he could see were mangroves and water were for miles","the spa attendant applied the deep cleaning mask to the gentlemans back","the busker hoped that the people passing by would throw money but they threw tomatoes instead so he exchanged his hat for a juicer","the irony of the situation wasnt lost on anyone in the room","the bug was having an excellent day until he hit the windshield","it would have been a better night if the guys next to us werent in the splash zone","kevin embraced his ability to be at the wrong place at the wrong time","she was amazed by the large chunks of ice washing up on the beach","watching the geriatric mens softball team brought back memories of 3 yr olds playing tball","he used to get confused between soldiers and shoulders but as a military man he now soldiers responsibility","in hopes of finding out the truth he entered the oneroom library","he found his art never progressed when he literally used his sweat and tears","homesickness became contagious in the young campers cabin","today i dressed my unicorn in preparation for the race"];class R{constructor(){y(this,"isTimerRunning",!1);y(this,"runTimer",()=>{if(this.time===0){this.completionCallback(),this.stopTimer();return}this.time--,this.timerCallback(this.time)})}startTimer(e,n,s){this.isTimerRunning||(this.time=e,this.timerCallback=n,this.completionCallback=s,this.intervalId=setInterval(this.runTimer,1e3),this.isTimerRunning=!0)}stopTimer(){clearInterval(this.intervalId),this.isTimerRunning=!1}}const i=document.querySelector(".sentences-display"),S=document.querySelector(".keyboard"),w=document.querySelector(".time-display"),v=document.querySelector(".reset"),g=60;let x,l=0,b=!1;const p=new R,L=()=>{const t=k[Math.floor(Math.random()*k.length)];i.textContent+=t+" "},I=()=>{i.textContent.length<50&&L();const t=i.textContent.charAt(1).trim()?1:2;i.textContent=i.textContent.slice(t),C()},C=()=>{x=i.textContent.charAt(0)},D=t=>{b||(!p.isTimerRunning&&l===0&&p.startTimer(g,M,j),t===x&&(l++,I()))},M=t=>{w.textContent=t},j=()=>{w.textContent=`You typed ${l} letters in ${g} seconds`,b=!0},T=()=>{i.textContent="",L(),C(),l=0,w.textContent=g,p.stopTimer(),b=!1,v.blur()};v.addEventListener("click",T);new z(S,D);T(); diff --git a/docs/javascript/assets/index-GzC9L7jO.js b/docs/javascript/assets/index-2nWatOoe.js similarity index 99% rename from docs/javascript/assets/index-GzC9L7jO.js rename to docs/javascript/assets/index-2nWatOoe.js index f12d2ae9c..895041b40 100644 --- a/docs/javascript/assets/index-GzC9L7jO.js +++ b/docs/javascript/assets/index-2nWatOoe.js @@ -1 +1 @@ -import"./header-V3hWii48.js";import"./navbar-IV3mLr91.js";const Q="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAAEACAYAAABccqhmAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA2hpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDowMTgwMTE3NDA3MjA2ODExODA4MzlBRDEwQjBCQTIwMyIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDozRTY3MDlDNzM1NDkxMUU1OEI4NkE0RkIwM0JDODRGNiIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDozRTY3MDlDNjM1NDkxMUU1OEI4NkE0RkIwM0JDODRGNiIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ1M2IChNYWNpbnRvc2gpIj4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6MDE4MDExNzQwNzIwNjgxMTgwODM5QUQxMEIwQkEyMDMiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6MDE4MDExNzQwNzIwNjgxMTgwODM5QUQxMEIwQkEyMDMiLz4gPC9yZGY6RGVzY3Jp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",D="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAAEACAYAAABccqhmAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyRpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoTWFjaW50b3NoKSIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDozRTY3MDlDMjM1NDkxMUU1OEI4NkE0RkIwM0JDODRGNiIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDozRTY3MDlDMzM1NDkxMUU1OEI4NkE0RkIwM0JDODRGNiI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOjNFNjcwOUMwMzU0OTExRTU4Qjg2QTRGQjAzQkM4NEY2IiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOjNFNjcwOUMxMzU0OTExRTU4Qjg2QTRGQjAzQkM4NEY2Ii8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+WIg5TAAABRdJREFUeNrs3UFO20AYhuHastJNehNWnIgDIHEBllwAiWUqcSJW3MeIRSRjOY2TJrFnvufZtVJTk/Z/Z8aEpOn7/heQqfUUgAAAAgAIABCh+/v7zyUfzx1FuL7mYgEw7FCc/lJR6Aw9VBeF5tIBMPhQXgyOhqA1/BB1VDgpAIYfKo5AZ/Ah90jgdQAQrLX6Q+5xoDX8kBuB1vBDbgTcAwD3AKz+kLgLsAMAOwAgNQC2/xB6DLADAEcAQAAAAQAEABAAQAAAAQAEABAAoGSdp4Bkd08PZ//Zz9f34r/+ZrfZ+lkAoof+/vnx5Mf4eHmrIgYCQOTgnzP0c2JQWggEAIMfHAIBwOBfKQQlREAAqHr4bzn4JUZAADD8wUcCAcDwB+8GvBAIw39la7seAcDwL3iNAgBhw7+/trVFQACowpqHf80REACqWP2FSgCw+guXAGD1FywBIGL4S1z91xQwAcDWP/jaBQCCdwECAMG7AAHAqhlMALB6BgdNACA4ZAIAjgCAAIDzsgCAc7MAAAIA6zL+VB4EgBA1fB6fAAACAAgAIACQZ+kbmgKAwVnYkjc2BQAD4wgAJO5iBAADFLybEQAMTnC8BACDFBwxAcAABUdLALALCI6XAFDFLqCUCKztOgUAR4EbD/+arlcAcBQIHX4BwFEgePgFABEIHn4BQASCh/9bs9tse/9tqM3w7cOXeBfhEoZfAIgJwa0iMNx5lPDdCQHAbiBw8AUAIQgefAFACAZOCcL4BmPJP5koAAjCGZ83WMu7EgkABPM6ABAAQAAAAQAEABAAQAAAAQAEABAAQAAAAQAEABAAQAAAAQAEABAAQAAAAQAEABAAQAAAAQAEABAAQAAAAQAEABAAQAAAAQAEABAAQAAAAQAEAATAUwACAAgAIACAAAACAAgAIACAAAACAAgAIACAAAACAAgAIACAAAACAAgAIACAAAACAAgAIACAAAACAAgAIACAAAACAAgAIACAAAACAAgAIACAAIAAAAIACAAgAIAAAAIACAAgAIAAAAIACABQoK72L/Du6WHy9z9f3/3rE6/ZbbZ97cN+//z449cfL2+iADUEYDz042GfaxwFMUAAChn8c4d+TgyEAAEIGXwhQAAKGP5rD/6hEIgAAhA2/HYDCED48NsNUKvW8J9mfx2HvuUIAlDp8IsAAhA+/OMIgACEDf/UtYIAhA2/owACEL69dhRAAGyn7QIQgNQV1VEAAQhfQR0FEABDBAKQzDEAAQgdGjsYBMDwgAAAAuA+AAhADkcZBMBqCQJg1QQBAAQAEABAAIYOfVYfUHkAvL02OAIAAlA+xxkEIJxjDQJg5QQBSFoxRQwBsP33JCAAVlAQgJiVU7wQgPBBsv1HAAIHyOqPAIQO1P5arf4IwAV3ASVFwPAjAIERsPVHAEJXVVt/BCB0lTX8CEDoUcDwU5Nmt9n2a7/I4VuHL/kOwoYfAVhBCG4dgeEOxPAjAEG7Aas+AhAYAqs+AhAWgvHNRoOPABQYgrlBmPrugqFHACoNwhQDjwAAkbwlGAgAIACAAAACAAgAIACAAAACAAgAIABAsQFoPA0QqbEDAEcAIDkAjgEQtv23AwA7gJ9FADJW/6kdgAhAyPAfOgKIAAQMv3sAEK47UgpvGAoVrvxzdwCOA1Dp8M89AogAVDj8/zoCOBJAxYN/agCmHlgMoMCh/58AHPsLRQFWOuyTD9T3ZhZSeR0ACAAgAIAAABm+BBgAb6HKIXAM7nkAAAAASUVORK5CYII=",C="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAAEACAYAAABccqhmAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyRpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoTWFjaW50b3NoKSIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDozRTY3MDlCRTM1NDkxMUU1OEI4NkE0RkIwM0JDODRGNiIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDozRTY3MDlCRjM1NDkxMUU1OEI4NkE0RkIwM0JDODRGNiI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOjA1QkZBQTc1MzU0OTExRTU4Qjg2QTRGQjAzQkM4NEY2IiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOjA1QkZBQTc2MzU0OTExRTU4Qjg2QTRGQjAzQkM4NEY2Ii8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+1c2J1gAABfVJREFUeNrs3U2O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",w="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAAEACAYAAABccqhmAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyRpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoTWFjaW50b3NoKSIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDowNUJGQUE3MzM1NDkxMUU1OEI4NkE0RkIwM0JDODRGNiIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDowNUJGQUE3NDM1NDkxMUU1OEI4NkE0RkIwM0JDODRGNiI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOjA1QkZBQTcxMzU0OTExRTU4Qjg2QTRGQjAzQkM4NEY2IiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOjA1QkZBQTcyMzU0OTExRTU4Qjg2QTRGQjAzQkM4NEY2Ii8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+qru5gAAABqpJREFUeNrs3UGO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",E="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAAEACAYAAABccqhmAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyRpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoTWFjaW50b3NoKSIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDowNUJGQUE2RjM1NDkxMUU1OEI4NkE0RkIwM0JDODRGNiIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDowNUJGQUE3MDM1NDkxMUU1OEI4NkE0RkIwM0JDODRGNiI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOjA1QkZBQTZEMzU0OTExRTU4Qjg2QTRGQjAzQkM4NEY2IiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOjA1QkZBQTZFMzU0OTExRTU4Qjg2QTRGQjAzQkM4NEY2Ii8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+tnAQbQAAB3pJREFUeNrs3UuO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",M="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAAEACAYAAABccqhmAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyRpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoTWFjaW50b3NoKSIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDo4MzZDMDk0RDM1NDkxMUU1OEI4NkE0RkIwM0JDODRGNiIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDo4MzZDMDk0RTM1NDkxMUU1OEI4NkE0RkIwM0JDODRGNiI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOjNFNjcwOUM4MzU0OTExRTU4Qjg2QTRGQjAzQkM4NEY2IiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOjgzNkMwOTRDMzU0OTExRTU4Qjg2QTRGQjAzQkM4NEY2Ii8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+SxkJ3gAACBpJREFUeNrs3UuO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",B=[Q,D,C,w,E,M],G=document.querySelector(".img1"),Y=document.querySelector(".img2"),R=document.querySelector(".play");function I(){const A=Math.floor(Math.random()*6),g=Math.floor(Math.random()*6);G.setAttribute("src",B[A]),Y.setAttribute("src",B[g]),N(A,g)}function N(A,g){A>g?document.getElementById("result").innerHTML="Player1 Wins!":Ag?document.getElementById("result").innerHTML="Player1 Wins!":A{s.click()});s.onchange=({target:e})=>{const t=e.files[0];let n=t.name;if(t){const i=o(n);i.length>12&&(n=i.substring(0,12)+"... "+a(n))}r(n)};function o(e){const t=e.lastIndexOf(".");return e.substr(0,t)}function a(e){const t=e.lastIndexOf(".");return e.slice(t)}function r(e){const t=`
+import"./header-BV02bT_J.js";import"./navbar-Dp-2B13D.js";const l=document.querySelector("form"),s=document.querySelector("#file-input"),c=document.querySelector("#selected-file-area");l.addEventListener("click",()=>{s.click()});s.onchange=({target:e})=>{const t=e.files[0];let n=t.name;if(t){const i=o(n);i.length>12&&(n=i.substring(0,12)+"... "+a(n))}r(n)};function o(e){const t=e.lastIndexOf(".");return e.substr(0,t)}function a(e){const t=e.lastIndexOf(".");return e.slice(t)}function r(e){const t=`
diff --git a/docs/javascript/assets/index-oGDYZODy.js b/docs/javascript/assets/index-48-kZ-Fx.js similarity index 96% rename from docs/javascript/assets/index-oGDYZODy.js rename to docs/javascript/assets/index-48-kZ-Fx.js index 766d6aa47..13b945569 100644 --- a/docs/javascript/assets/index-oGDYZODy.js +++ b/docs/javascript/assets/index-48-kZ-Fx.js @@ -1 +1 @@ -import"./header-V3hWii48.js";import"./navbar-IV3mLr91.js";const d=document.getElementById("json-holder"),u=document.querySelector(".json-template");document.querySelector(".get-json");const h=document.querySelector(".get-json-button"),m=document.querySelector("output");class l{constructor(){const e=u.content.cloneNode(!0);this.container=e.querySelector(".json-container"),this.valueEl=e.querySelector(".value"),this.addEl=e.querySelector(".add"),this.removeEl=e.querySelector(".remove"),this.arrowEl=e.querySelector(".arrow"),this.addListeners(),this.object={}}addListeners(){this.addEl.addEventListener("click",this.add.bind(this)),this.removeEl.addEventListener("click",this.remove.bind(this)),this.arrowEl.addEventListener("click",this.toggle.bind(this))}add(){this.valueEl.style.display="none";const e=document.createElement("div");e.classList.add("sub-item");const t=new l;e.appendChild(t.container),this.container.appendChild(e),this.arrowEl.classList.remove("hide"),this.arrowEl.classList.add("open")}remove(){const e=this.container.parentElement,t=e.parentElement;e.remove(),t.querySelector(".sub-item")||(t.querySelector(".value").style.display="inline",t.querySelector(".arrow").classList.remove("open"),t.querySelector(".arrow").classList.add("hide"))}toggle(){this.arrowEl.classList.toggle("open")}getJSON(e=this.container){const t={},n=e.querySelector(".key"),r=e.querySelector(".key + .value");if(n&&n.value)if(r.style.display!=="none")t[n.value]=r.value;else{let o=e.querySelector(".sub-item");const i=[o];for(;o.nextElementSibling;)i.push(o.nextElementSibling),o=o.nextElementSibling;let s={};i.forEach(a=>{s={...s,...this.getJSON(a)}}),Object.keys(s).length===0?t[n.value]=null:t[n.value]=s}return t}}const c=new l;d.appendChild(c.container);h.addEventListener("click",()=>m.textContent=JSON.stringify(c.getJSON(),null,2)); +import"./header-BV02bT_J.js";import"./navbar-Dp-2B13D.js";const d=document.getElementById("json-holder"),u=document.querySelector(".json-template");document.querySelector(".get-json");const h=document.querySelector(".get-json-button"),m=document.querySelector("output");class l{constructor(){const e=u.content.cloneNode(!0);this.container=e.querySelector(".json-container"),this.valueEl=e.querySelector(".value"),this.addEl=e.querySelector(".add"),this.removeEl=e.querySelector(".remove"),this.arrowEl=e.querySelector(".arrow"),this.addListeners(),this.object={}}addListeners(){this.addEl.addEventListener("click",this.add.bind(this)),this.removeEl.addEventListener("click",this.remove.bind(this)),this.arrowEl.addEventListener("click",this.toggle.bind(this))}add(){this.valueEl.style.display="none";const e=document.createElement("div");e.classList.add("sub-item");const t=new l;e.appendChild(t.container),this.container.appendChild(e),this.arrowEl.classList.remove("hide"),this.arrowEl.classList.add("open")}remove(){const e=this.container.parentElement,t=e.parentElement;e.remove(),t.querySelector(".sub-item")||(t.querySelector(".value").style.display="inline",t.querySelector(".arrow").classList.remove("open"),t.querySelector(".arrow").classList.add("hide"))}toggle(){this.arrowEl.classList.toggle("open")}getJSON(e=this.container){const t={},n=e.querySelector(".key"),r=e.querySelector(".key + .value");if(n&&n.value)if(r.style.display!=="none")t[n.value]=r.value;else{let o=e.querySelector(".sub-item");const i=[o];for(;o.nextElementSibling;)i.push(o.nextElementSibling),o=o.nextElementSibling;let s={};i.forEach(a=>{s={...s,...this.getJSON(a)}}),Object.keys(s).length===0?t[n.value]=null:t[n.value]=s}return t}}const c=new l;d.appendChild(c.container);h.addEventListener("click",()=>m.textContent=JSON.stringify(c.getJSON(),null,2)); diff --git a/docs/javascript/assets/index-pFdd9h13.js b/docs/javascript/assets/index-4L6sBD7q.js similarity index 94% rename from docs/javascript/assets/index-pFdd9h13.js rename to docs/javascript/assets/index-4L6sBD7q.js index b8f4d7633..a3384f1eb 100644 --- a/docs/javascript/assets/index-pFdd9h13.js +++ b/docs/javascript/assets/index-4L6sBD7q.js @@ -1 +1 @@ -import"./header-V3hWii48.js";import"./navbar-IV3mLr91.js";const i=document.getElementById("horizontal-position"),m=document.getElementById("vertical-position"),p=document.getElementById("type"),l=document.getElementById("message"),d=document.getElementById("show-toast"),f=document.getElementById("duration"),y=document.querySelector(".tc-left-top"),E=document.querySelector(".tc-left-bottom"),g=document.querySelector(".tc-right-top"),v=document.querySelector(".tc-right-bottom"),T=document.getElementById("toast-template");l.addEventListener("input",B);d.addEventListener("click",h);function B(){d.disabled=l.value.length===0}function h(){const o=l.value,n=p.value,c=i.value,e=m.value,t=+f.value*1e3;S(o,n,t,c,e)}function S(o,n,c,e,t){e==="left"?t==="top"?y.prepend(s(o,n,c,e)):E.append(s(o,n,c,e)):t==="top"?g.prepend(s(o,n,c,e)):v.append(s(o,n,c,e))}function s(o,n,c,e){const t=T.content.cloneNode(!0);t.querySelector(".toast-message").textContent=o,t.querySelector(".toast").classList.add(n),t.querySelector(".remove").addEventListener("click",r);const a=t.querySelector(".toast");setTimeout(r,c);async function r(){a.classList.add(e==="left"?"fade-out-left":"fade-out-right"),await new Promise(u=>setTimeout(u,100)),a.remove()}return t} +import"./header-BV02bT_J.js";import"./navbar-Dp-2B13D.js";const i=document.getElementById("horizontal-position"),m=document.getElementById("vertical-position"),p=document.getElementById("type"),l=document.getElementById("message"),d=document.getElementById("show-toast"),f=document.getElementById("duration"),y=document.querySelector(".tc-left-top"),E=document.querySelector(".tc-left-bottom"),g=document.querySelector(".tc-right-top"),v=document.querySelector(".tc-right-bottom"),T=document.getElementById("toast-template");l.addEventListener("input",B);d.addEventListener("click",h);function B(){d.disabled=l.value.length===0}function h(){const o=l.value,n=p.value,c=i.value,e=m.value,t=+f.value*1e3;S(o,n,t,c,e)}function S(o,n,c,e,t){e==="left"?t==="top"?y.prepend(s(o,n,c,e)):E.append(s(o,n,c,e)):t==="top"?g.prepend(s(o,n,c,e)):v.append(s(o,n,c,e))}function s(o,n,c,e){const t=T.content.cloneNode(!0);t.querySelector(".toast-message").textContent=o,t.querySelector(".toast").classList.add(n),t.querySelector(".remove").addEventListener("click",r);const a=t.querySelector(".toast");setTimeout(r,c);async function r(){a.classList.add(e==="left"?"fade-out-left":"fade-out-right"),await new Promise(u=>setTimeout(u,100)),a.remove()}return t} diff --git a/docs/javascript/assets/index-pUMLwSFr.js b/docs/javascript/assets/index-4Zln4SWt.js similarity index 93% rename from docs/javascript/assets/index-pUMLwSFr.js rename to docs/javascript/assets/index-4Zln4SWt.js index 95ad7d007..830ce6747 100644 --- a/docs/javascript/assets/index-pUMLwSFr.js +++ b/docs/javascript/assets/index-4Zln4SWt.js @@ -1 +1 @@ -import"./header-V3hWii48.js";import"./navbar-IV3mLr91.js";const i=8,n=document.querySelector(".board");function u(a,o,s=o){var r=document.createDocumentFragment();for(let d=0;d=0;e--,t++)c(n.querySelector(`[data-x='${e}'][data-y='${d-t}']`)),c(n.querySelector(`[data-x='${e}'][data-y='${d+t}']`));for(let e=s+1,t=1,d=r;e=0;e--,t++)c(n.querySelector(`[data-x='${e}'][data-y='${d-t}']`)),c(n.querySelector(`[data-x='${e}'][data-y='${d+t}']`));for(let e=s+1,t=1,d=r;e{i.setName(t.target.value.trim())});o.addEventListener("submit",t=>{n.value="",i.finalizeName(),i=new c,t.preventDefault()}); +import"./header-BV02bT_J.js";import"./navbar-Dp-2B13D.js";const n=document.getElementById("userInput"),p=document.getElementById("chipTemplate"),h=document.querySelector(".chips-display"),o=document.querySelector("form");class c{constructor(e=""){const s=p.content.cloneNode(!0);this.chip=s.querySelector(".chip"),this.chipName=this.chip.querySelector(".chip-name"),this.chip.querySelector(".remove").addEventListener("click",this.onRemove),h.appendChild(this.chip),this.setName(e)}setName(e){this.chipName.textContent=e,e===""?this.chip.style.display="none":this.chip.style.display="inherit"}finalizeName(){this.chip.classList.add("finalized")}onRemove(e){e.target.parentElement.remove()}}let i=new c;n.addEventListener("input",t=>{i.setName(t.target.value.trim())});o.addEventListener("submit",t=>{n.value="",i.finalizeName(),i=new c,t.preventDefault()}); diff --git a/docs/javascript/assets/index-ADqKy29e.js b/docs/javascript/assets/index-7HVzEEN_.js similarity index 96% rename from docs/javascript/assets/index-ADqKy29e.js rename to docs/javascript/assets/index-7HVzEEN_.js index 9d6ad6f1c..14a745df4 100644 --- a/docs/javascript/assets/index-ADqKy29e.js +++ b/docs/javascript/assets/index-7HVzEEN_.js @@ -1 +1 @@ -import"./header-V3hWii48.js";import"./navbar-IV3mLr91.js";const u=document.querySelector(".game-score b"),f=document.querySelector(".game-highestScore b"),p=document.querySelector(".modal-game-score b"),w=document.querySelector(".modal-game-highestScore b"),T=document.querySelector(".main-game"),q=document.querySelectorAll(".arrow"),b=document.querySelector(".btn"),g=document.querySelector(".modal-container");let m=!1,c=0,h=90,S,l=0,d=0,i=9,s=7,t=[],r=0,n=0,a=JSON.parse(localStorage.getItem("score"))||0;f.innerText=a;u.innerText=0;function x(){g.classList.add("show-modal"),p.innerText=c,w.innerText=a,clearInterval(S)}function y(){l=Math.floor(Math.random()*35+1),d=Math.floor(Math.random()*35+1)}function k(o){o.key==="ArrowUp"&&n!=1?(r=0,n=-1):o.key==="ArrowDown"&&n!==-1?(r=0,n=1):o.key==="ArrowLeft"&&r!==1?(r=-1,n=0):o.key==="ArrowRight"&&r!==-1&&(r=1,n=0)}q.forEach(o=>{o.addEventListener("click",e=>{k(e.target.dataset)})});function L(){m&&x();let o=`
`;i===d&&s===l&&(y(),c+=1,t.push([d,l]),a=c>a?c:a,u.innerText=c,f.innerText=a,localStorage.setItem("score",a)),i+=r,s+=n;for(let e=t.length-1;e>0;e--)t[e]=t[e-1];if(t[0]=[i,s],i<1||i>=36||s<1||s>=36)return m=!0;for(let e=0;e
`,e!==0&&t[0][0]===t[e][0]&&t[0][1]===t[e][1])return m=!0;T.innerHTML=o}function A(){m=!1,c=0,h=90,l=0,d=0,i=9,s=7,t=[],r=0,n=0,u.innerText=c}function v(){y(),S=setInterval(L,h),document.addEventListener("keyup",k)}v();b.addEventListener("click",()=>{g.classList.remove("show-modal"),A(),v()}); +import"./header-BV02bT_J.js";import"./navbar-Dp-2B13D.js";const u=document.querySelector(".game-score b"),f=document.querySelector(".game-highestScore b"),p=document.querySelector(".modal-game-score b"),w=document.querySelector(".modal-game-highestScore b"),T=document.querySelector(".main-game"),q=document.querySelectorAll(".arrow"),b=document.querySelector(".btn"),g=document.querySelector(".modal-container");let m=!1,c=0,h=90,S,l=0,d=0,i=9,s=7,t=[],r=0,n=0,a=JSON.parse(localStorage.getItem("score"))||0;f.innerText=a;u.innerText=0;function x(){g.classList.add("show-modal"),p.innerText=c,w.innerText=a,clearInterval(S)}function y(){l=Math.floor(Math.random()*35+1),d=Math.floor(Math.random()*35+1)}function k(o){o.key==="ArrowUp"&&n!=1?(r=0,n=-1):o.key==="ArrowDown"&&n!==-1?(r=0,n=1):o.key==="ArrowLeft"&&r!==1?(r=-1,n=0):o.key==="ArrowRight"&&r!==-1&&(r=1,n=0)}q.forEach(o=>{o.addEventListener("click",e=>{k(e.target.dataset)})});function L(){m&&x();let o=`
`;i===d&&s===l&&(y(),c+=1,t.push([d,l]),a=c>a?c:a,u.innerText=c,f.innerText=a,localStorage.setItem("score",a)),i+=r,s+=n;for(let e=t.length-1;e>0;e--)t[e]=t[e-1];if(t[0]=[i,s],i<1||i>=36||s<1||s>=36)return m=!0;for(let e=0;e
`,e!==0&&t[0][0]===t[e][0]&&t[0][1]===t[e][1])return m=!0;T.innerHTML=o}function A(){m=!1,c=0,h=90,l=0,d=0,i=9,s=7,t=[],r=0,n=0,u.innerText=c}function v(){y(),S=setInterval(L,h),document.addEventListener("keyup",k)}v();b.addEventListener("click",()=>{g.classList.remove("show-modal"),A(),v()}); diff --git a/docs/javascript/assets/index-6kk20J33.js b/docs/javascript/assets/index-7fTbjKLL.js similarity index 91% rename from docs/javascript/assets/index-6kk20J33.js rename to docs/javascript/assets/index-7fTbjKLL.js index 356b2f62a..964adfebf 100644 --- a/docs/javascript/assets/index-6kk20J33.js +++ b/docs/javascript/assets/index-7fTbjKLL.js @@ -1 +1 @@ -import"./header-V3hWii48.js";import"./navbar-IV3mLr91.js";const d=document.querySelector("#rows"),u=document.querySelector("#columns"),p=document.querySelector(".table-body");let m=+d.value,s=+u.value;function f(l,r){const o=Array.from(Array(l),()=>[]);let c=1,t=1,e=0,n=0;for(;n=0&&e{m=+d.value,i()});u.addEventListener("change",()=>{s=+u.value,i()});i(); +import"./header-BV02bT_J.js";import"./navbar-Dp-2B13D.js";const d=document.querySelector("#rows"),u=document.querySelector("#columns"),p=document.querySelector(".table-body");let m=+d.value,s=+u.value;function f(l,r){const o=Array.from(Array(l),()=>[]);let c=1,t=1,e=0,n=0;for(;n=0&&e{m=+d.value,i()});u.addEventListener("change",()=>{s=+u.value,i()});i(); diff --git a/docs/javascript/assets/index-8STCYP2-.js b/docs/javascript/assets/index-7hRhOyI2.js similarity index 97% rename from docs/javascript/assets/index-8STCYP2-.js rename to docs/javascript/assets/index-7hRhOyI2.js index 05ba3ed83..e8859cbfb 100644 --- a/docs/javascript/assets/index-8STCYP2-.js +++ b/docs/javascript/assets/index-7hRhOyI2.js @@ -1 +1 @@ -import"./header-V3hWii48.js";import"./navbar-IV3mLr91.js";const h=document.getElementById("pagination"),d=document.getElementById("pages"),g=document.getElementById("siblings"),c=document.getElementById("boundary");class r{constructor(t,n,s,e,o=1){this.paginatorElement=t,this.totalPages=n,this.activePage=o,this.siblingCount=s,this.boundary=e,this.addListener(),this.populate()}addListener(){this.paginatorElement.addEventListener("click",t=>{if(t.target.classList.contains("page-number")){this.activePage=+t.target.dataset.value,this.populate();return}if(t.target.classList.contains("page-decrement")){this.activePage=Math.max(1,this.activePage-1),this.populate();return}if(t.target.classList.contains("page-increment")){this.activePage=Math.min(this.totalPages,this.activePage+1),this.populate();return}})}populate(){this.paginatorElement.innerHTML="";const t=this.siblingCount*2+2+this.boundary;let n=!1;const s=document.createDocumentFragment();let e=document.createElement("button");e.classList.add("page-modifier"),e.classList.add("page-decrement"),e.textContent="<",this.activePage===1&&(e.disabled=!0),s.appendChild(e);for(let a=1;a<=this.totalPages;a++){const i=document.createElement("button");let l=a;if(!(a<=this.boundary||a>this.totalPages-this.boundary||this.activePage<=t-this.siblingCount&&a<=t||this.activePage>this.totalPages-t+this.siblingCount&&a>this.totalPages-t||a>=this.activePage-this.siblingCount&&a<=this.activePage+this.siblingCount)){if(n)continue;l="...",i.classList.add("dot"),i.classList.add(this.activePage>a?"dot-left":"dot-right"),i.dataset.value=this.activePage>a?Math.max(1,this.activePage-t):Math.min(this.totalPages,this.activePage+t)}i.textContent=l,typeof l=="number"&&(i.dataset.value=a,i.setAttribute("tabindex",0)),n=typeof l=="string",i.classList.add("page-number"),s.appendChild(i)}e=document.createElement("button"),e.classList.add("page-modifier"),e.classList.add("page-increment"),e.textContent=">",this.activePage===this.totalPages&&(e.disabled=!0),s.appendChild(e),this.paginatorElement.appendChild(s);const o=this.paginatorElement.querySelector(`[data-value='${this.activePage}']`);o.classList.add("active"),o.focus()}setTotalPages(t){this.totalPages=t,this.activePage=Math.min(this.activePage,this.totalPages),this.populate()}setBoundary(t){this.boundary=t,this.populate()}setSiblingCount(t){this.siblingCount=t,this.populate()}}const u=new r(h,+d.value,+g.value,+c.value);d.addEventListener("input",()=>{u.setTotalPages(+d.value)});g.addEventListener("input",()=>{u.setSiblingCount(+g.value)});c.addEventListener("input",()=>{u.setBoundary(+c.value)}); +import"./header-BV02bT_J.js";import"./navbar-Dp-2B13D.js";const h=document.getElementById("pagination"),d=document.getElementById("pages"),g=document.getElementById("siblings"),c=document.getElementById("boundary");class r{constructor(t,n,s,e,o=1){this.paginatorElement=t,this.totalPages=n,this.activePage=o,this.siblingCount=s,this.boundary=e,this.addListener(),this.populate()}addListener(){this.paginatorElement.addEventListener("click",t=>{if(t.target.classList.contains("page-number")){this.activePage=+t.target.dataset.value,this.populate();return}if(t.target.classList.contains("page-decrement")){this.activePage=Math.max(1,this.activePage-1),this.populate();return}if(t.target.classList.contains("page-increment")){this.activePage=Math.min(this.totalPages,this.activePage+1),this.populate();return}})}populate(){this.paginatorElement.innerHTML="";const t=this.siblingCount*2+2+this.boundary;let n=!1;const s=document.createDocumentFragment();let e=document.createElement("button");e.classList.add("page-modifier"),e.classList.add("page-decrement"),e.textContent="<",this.activePage===1&&(e.disabled=!0),s.appendChild(e);for(let a=1;a<=this.totalPages;a++){const i=document.createElement("button");let l=a;if(!(a<=this.boundary||a>this.totalPages-this.boundary||this.activePage<=t-this.siblingCount&&a<=t||this.activePage>this.totalPages-t+this.siblingCount&&a>this.totalPages-t||a>=this.activePage-this.siblingCount&&a<=this.activePage+this.siblingCount)){if(n)continue;l="...",i.classList.add("dot"),i.classList.add(this.activePage>a?"dot-left":"dot-right"),i.dataset.value=this.activePage>a?Math.max(1,this.activePage-t):Math.min(this.totalPages,this.activePage+t)}i.textContent=l,typeof l=="number"&&(i.dataset.value=a,i.setAttribute("tabindex",0)),n=typeof l=="string",i.classList.add("page-number"),s.appendChild(i)}e=document.createElement("button"),e.classList.add("page-modifier"),e.classList.add("page-increment"),e.textContent=">",this.activePage===this.totalPages&&(e.disabled=!0),s.appendChild(e),this.paginatorElement.appendChild(s);const o=this.paginatorElement.querySelector(`[data-value='${this.activePage}']`);o.classList.add("active"),o.focus()}setTotalPages(t){this.totalPages=t,this.activePage=Math.min(this.activePage,this.totalPages),this.populate()}setBoundary(t){this.boundary=t,this.populate()}setSiblingCount(t){this.siblingCount=t,this.populate()}}const u=new r(h,+d.value,+g.value,+c.value);d.addEventListener("input",()=>{u.setTotalPages(+d.value)});g.addEventListener("input",()=>{u.setSiblingCount(+g.value)});c.addEventListener("input",()=>{u.setBoundary(+c.value)}); diff --git a/docs/javascript/assets/index-BZypKlbe.js b/docs/javascript/assets/index-8FjEH2Jb.js similarity index 94% rename from docs/javascript/assets/index-BZypKlbe.js rename to docs/javascript/assets/index-8FjEH2Jb.js index 0f1b98149..843c515f5 100644 --- a/docs/javascript/assets/index-BZypKlbe.js +++ b/docs/javascript/assets/index-8FjEH2Jb.js @@ -1 +1 @@ -import"./header-V3hWii48.js";import"./navbar-IV3mLr91.js";const l=["JavaScript","HTML","CSS","React","Angular","Zustand","NextJS","TypeScript"],a=document.getElementById("listContainer"),s=document.getElementById("todoItemInput"),r=document.getElementById("todoForm"),d=document.getElementById("todo");r.addEventListener("submit",e=>{e.preventDefault();const t=s.value;t&&c(t)});function c(e){const t=d.content.cloneNode(!0);t.querySelector(".text").textContent=e,a.appendChild(t),s.value=""}a.addEventListener("click",e=>{if(e.target.classList.contains("delete"))e.target.parentElement.remove();else if(e.target.classList.contains("edit")){const t=e.target,o=e.target.parentElement.querySelector(".text"),n=document.createElement("input");n.value=o.textContent,t.parentElement.replaceChild(n,o),t.textContent="💾",t.className="save"}else if(e.target.classList.contains("save")){const t=e.target,o=e.target.parentElement.querySelector("input"),n=document.createElement("span");n.className="text",n.textContent=o.value,t.parentElement.replaceChild(n,o),t.textContent="✏️",t.className="edit"}});l.forEach(c); +import"./header-BV02bT_J.js";import"./navbar-Dp-2B13D.js";const l=["JavaScript","HTML","CSS","React","Angular","Zustand","NextJS","TypeScript"],a=document.getElementById("listContainer"),s=document.getElementById("todoItemInput"),r=document.getElementById("todoForm"),d=document.getElementById("todo");r.addEventListener("submit",e=>{e.preventDefault();const t=s.value;t&&c(t)});function c(e){const t=d.content.cloneNode(!0);t.querySelector(".text").textContent=e,a.appendChild(t),s.value=""}a.addEventListener("click",e=>{if(e.target.classList.contains("delete"))e.target.parentElement.remove();else if(e.target.classList.contains("edit")){const t=e.target,o=e.target.parentElement.querySelector(".text"),n=document.createElement("input");n.value=o.textContent,t.parentElement.replaceChild(n,o),t.textContent="💾",t.className="save"}else if(e.target.classList.contains("save")){const t=e.target,o=e.target.parentElement.querySelector("input"),n=document.createElement("span");n.className="text",n.textContent=o.value,t.parentElement.replaceChild(n,o),t.textContent="✏️",t.className="edit"}});l.forEach(c); diff --git a/docs/javascript/assets/index-vlvYLgUP.js b/docs/javascript/assets/index-8ZFg-X97.js similarity index 91% rename from docs/javascript/assets/index-vlvYLgUP.js rename to docs/javascript/assets/index-8ZFg-X97.js index 487f979a9..932461e6c 100644 --- a/docs/javascript/assets/index-vlvYLgUP.js +++ b/docs/javascript/assets/index-8ZFg-X97.js @@ -1 +1 @@ -import"./header-V3hWii48.js";import"./navbar-IV3mLr91.js";const f=document.querySelector(".calculator"),p=document.querySelector(".display");let t="",c=null,s=null,l=null,i=!1,a=!1;const d=(r,e)=>e==="."?r!=null&&r.includes(".")?r:r===""?"0.":t+e:t===""||t==="0"?e:t+e,n=r=>{p.textContent=r},o=(r,e=+c,u=+t)=>{switch(r){case"+":return e+u;case"-":return e-u;case"x":return e*u;case"/":return e/u}};f.addEventListener("click",r=>{if(!r.target.classList.contains("btn"))return;const e=r.target.dataset.value;if(!Number.isNaN(+e)||e==="."){i&&(c=t,t="",i=!1,a=!1),t=d(t,e),n(t);return}if(e==="c"){t="",s=null,c=null,l=null,n("0");return}!a&&(e==="="||l)&&c?(a=!0,s=t,t=o(l),n(t)):e==="="&&l&&(t=o(l,+t,+s),n(t)),e!=="="&&(l=e),i=!0});n("0"); +import"./header-BV02bT_J.js";import"./navbar-Dp-2B13D.js";const f=document.querySelector(".calculator"),p=document.querySelector(".display");let t="",c=null,s=null,l=null,i=!1,a=!1;const d=(r,e)=>e==="."?r!=null&&r.includes(".")?r:r===""?"0.":t+e:t===""||t==="0"?e:t+e,n=r=>{p.textContent=r},o=(r,e=+c,u=+t)=>{switch(r){case"+":return e+u;case"-":return e-u;case"x":return e*u;case"/":return e/u}};f.addEventListener("click",r=>{if(!r.target.classList.contains("btn"))return;const e=r.target.dataset.value;if(!Number.isNaN(+e)||e==="."){i&&(c=t,t="",i=!1,a=!1),t=d(t,e),n(t);return}if(e==="c"){t="",s=null,c=null,l=null,n("0");return}!a&&(e==="="||l)&&c?(a=!0,s=t,t=o(l),n(t)):e==="="&&l&&(t=o(l,+t,+s),n(t)),e!=="="&&(l=e),i=!0});n("0"); diff --git a/docs/javascript/assets/index-UUDjXd0P.js b/docs/javascript/assets/index-8a4fzYtj.js similarity index 97% rename from docs/javascript/assets/index-UUDjXd0P.js rename to docs/javascript/assets/index-8a4fzYtj.js index 48c33e210..5d63bb301 100644 --- a/docs/javascript/assets/index-UUDjXd0P.js +++ b/docs/javascript/assets/index-8a4fzYtj.js @@ -1,2 +1,2 @@ -import"./header-V3hWii48.js";import"./navbar-IV3mLr91.js";const i=document.querySelector("#commentContainer"),n=(s="div",e,...t)=>{const a=document.createElement(s);for(let o in e)a[o]=e[o];return t.forEach(o=>a.appendChild(o)),a},r=(s,e,t)=>{e=e.replaceAll(` +import"./header-BV02bT_J.js";import"./navbar-Dp-2B13D.js";const i=document.querySelector("#commentContainer"),n=(s="div",e,...t)=>{const a=document.createElement(s);for(let o in e)a[o]=e[o];return t.forEach(o=>a.appendChild(o)),a},r=(s,e,t)=>{e=e.replaceAll(` `,"
");const a=n("p",{textContent:s,className:"text-bold name"}),o=n("p",{innerHTML:e,className:"comment-text"}),l=[];l.push(n("button",{textContent:"Reply",className:"btn btn-primary small reply"})),t!=null&&t.hasNoEdit||l.push(n("button",{textContent:"Edit",className:"btn btn-primary small edit"})),t!=null&&t.hasNoDelete||l.push(n("button",{textContent:"Delete",className:"btn btn-primary small delete"}));const d=n("div",{className:"btn-holder"},...l),b=n("div",{className:"main-comment"},a,o,d),u=n("div",{className:"sub-comments"});return n("div",{className:"comment"},b,u)},p=()=>{const s=n("input",{placeholder:"Your name",className:"text-bold name "}),e=n("textarea",{placeholder:"comment",className:"comment-text",rows:2,cols:30}),t=n("button",{textContent:"Post",className:"btn btn-primary small post"}),a=n("button",{textContent:"Cancel",className:"btn btn-primary small cancel"}),o=n("div",{className:"btn-holder"},t,a);return n("div",{className:"comment"},s,e,o)},c=s=>{s.nextElementSibling.disabled=!s.nextElementSibling.disabled,s.previousElementSibling.disabled=!s.previousElementSibling.disabled},N=r("Sadanand","Hello, world",{hasNoDelete:!0,hasNoEdit:!0});i.appendChild(N);let m=!1;i.addEventListener("click",s=>{const e=s.target;if(e.tagName.toLowerCase()==="button"){if(e.classList.contains("reply")&&!m){e.closest(".main-comment").nextElementSibling.appendChild(p()),m=!0;return}if(e.classList.contains("edit")){e.textContent="Save",e.className="btn btn-primary small save",c(e),e.closest(".main-comment").children[1].contentEditable=!0;return}if(e.classList.contains("save")){const t=e.closest(".main-comment").children[1];if(!t.textContent)return;e.textContent="Edit",e.className="btn btn-primary small edit",t.contentEditable=!1,c(e);return}if(e.classList.contains("delete")){e.closest(".comment").remove();return}if(e.classList.contains("cancel")){e.closest(".comment").remove(),m=!1;return}if(e.classList.contains("post")){const t=e.closest(".comment"),a=t.children[0].value,o=t.children[1].value;if(!a||!o)return;e.closest(".sub-comments").appendChild(r(a,o)),t.remove(),m=!1;return}}}); diff --git a/docs/javascript/assets/index-g0daCmLs.js b/docs/javascript/assets/index-8nsIntmx.js similarity index 94% rename from docs/javascript/assets/index-g0daCmLs.js rename to docs/javascript/assets/index-8nsIntmx.js index 5f435f01f..368354dca 100644 --- a/docs/javascript/assets/index-g0daCmLs.js +++ b/docs/javascript/assets/index-8nsIntmx.js @@ -1 +1 @@ -import"./header-V3hWii48.js";import"./navbar-IV3mLr91.js";function i(e,n){const t=document.createElement(e);for(let l in n)t.setAttribute(l,n[l]);return t}function m(e,n,t=0){const l=document.createDocumentFragment();for(let r=t;r{const n=i("span",{class:"star","data-index":e}),t=i("span",{class:"star-partial","data-index":e});return t.textContent="★",n.textContent="☆",n.appendChild(t),n},1));const s=c.querySelectorAll(".star");function y(e){const n=Math.floor(e);for(let t=0;tu(+e.target.value));d.setAttribute("max",o);u(f); +import"./header-BV02bT_J.js";import"./navbar-Dp-2B13D.js";function i(e,n){const t=document.createElement(e);for(let l in n)t.setAttribute(l,n[l]);return t}function m(e,n,t=0){const l=document.createDocumentFragment();for(let r=t;r{const n=i("span",{class:"star","data-index":e}),t=i("span",{class:"star-partial","data-index":e});return t.textContent="★",n.textContent="☆",n.appendChild(t),n},1));const s=c.querySelectorAll(".star");function y(e){const n=Math.floor(e);for(let t=0;tu(+e.target.value));d.setAttribute("max",o);u(f); diff --git a/docs/javascript/assets/index-vIyLX4k2.js b/docs/javascript/assets/index-951_JENs.js similarity index 91% rename from docs/javascript/assets/index-vIyLX4k2.js rename to docs/javascript/assets/index-951_JENs.js index 2da9e3134..6b77c020e 100644 --- a/docs/javascript/assets/index-vIyLX4k2.js +++ b/docs/javascript/assets/index-951_JENs.js @@ -1 +1 @@ -import"./header-V3hWii48.js";import"./navbar-IV3mLr91.js";const r=document.getElementById("css-code"),t=document.querySelectorAll("input[type='range']");t.forEach(function(e){e.addEventListener("input",s)});const o=document.querySelectorAll("input[type='number']");o.forEach(function(e){e.addEventListener("change",s)});function s(){const e=t[0].value,n=t[1].value,c=t[2].value,u=t[3].value,i=o[0].value,l=o[1].value,d=`${e}% ${100-e}% ${100-c}% ${c}% / ${u}% ${n}% ${100-n}% ${100-u}%`;document.getElementById("blob").style.cssText=`border-radius: ${d}; height: ${i}px; width: ${l}px`,r.value=`border-radius: ${d};`}document.getElementById("copy").addEventListener("click",function(){r.select(),document.execCommand("copy"),alert("Code copied!")}); +import"./header-BV02bT_J.js";import"./navbar-Dp-2B13D.js";const r=document.getElementById("css-code"),t=document.querySelectorAll("input[type='range']");t.forEach(function(e){e.addEventListener("input",s)});const o=document.querySelectorAll("input[type='number']");o.forEach(function(e){e.addEventListener("change",s)});function s(){const e=t[0].value,n=t[1].value,c=t[2].value,u=t[3].value,i=o[0].value,l=o[1].value,d=`${e}% ${100-e}% ${100-c}% ${c}% / ${u}% ${n}% ${100-n}% ${100-u}%`;document.getElementById("blob").style.cssText=`border-radius: ${d}; height: ${i}px; width: ${l}px`,r.value=`border-radius: ${d};`}document.getElementById("copy").addEventListener("click",function(){r.select(),document.execCommand("copy"),alert("Code copied!")}); diff --git a/docs/javascript/assets/index-fOxy-Ro3.js b/docs/javascript/assets/index-9671j0uW.js similarity index 98% rename from docs/javascript/assets/index-fOxy-Ro3.js rename to docs/javascript/assets/index-9671j0uW.js index dac263b9e..2b066fe0e 100644 --- a/docs/javascript/assets/index-fOxy-Ro3.js +++ b/docs/javascript/assets/index-9671j0uW.js @@ -1 +1 @@ -import"./header-V3hWii48.js";import"./navbar-IV3mLr91.js";class c{constructor(a=[]){this.trie={},this.addWordsToTrie(a)}addWordsToTrie(a){for(let t of a){let i=this.trie;t=t.toLowerCase();for(const o of t)i.hasOwnProperty(o)||(i[o]={}),i=i[o];i.end=!0}}getWordsFromTrie(a,t){a=a.toLowerCase();let i=this.trie;for(const o of a)if(i=i[o],!i)return[];return this.getWordsByDFS(i,t,a)}getWordsByDFS(a,t=1/0,i="",o=[]){if(!(a.end&&(o.push(i),o.length===t))){for(const u in a)if(a.hasOwnProperty(u)&&(this.getWordsByDFS(a[u],t,i+u,o),o.length===t))break;return o}}}const m=["Afghanistan","Albania","Algeria","Andorra","Angola","Antigua and Barbuda","Argentina","Armenia","Australia","Austria","Azerbaijan","Bahamas","Bahrain","Bangladesh","Barbados","Belarus","Belgium","Belize","Benin","Bhutan","Bolivia","Bosnia and Herzegovina","Botswana","Brazil","Brunei","Bulgaria","Burkina Faso","Burundi","Cote dIvoire","Cabo Verde","Cambodia","Cameroon","Canada","Central African Republic","Chad","Chile","China","Colombia","Comoros","Congo","Costa Rica","Croatia","Cuba","Cyprus","Czechia","Democratic Republic of the Congo","Denmark","Djibouti","Dominica","Dominican Republic","Ecuador","Egypt","El Salvador","Equatorial Guinea","Eritrea","Estonia","Eswatini","Ethiopia","Fiji","Finland","France","Gabon","Gambia","Georgia","Germany","Ghana","Greece","Grenada","Guatemala","Guinea","Guinea-Bissau","Guyana","Haiti","Holy See","Honduras","Hungary","Iceland","India","Indonesia","Iran","Iraq","Ireland","Israel","Italy","Jamaica","Japan","Jordan","Kazakhstan","Kenya","Kiribati","Kuwait","Kyrgyzstan","Laos","Latvia","Lebanon","Lesotho","Liberia","Libya","Liechtenstein","Lithuania","Luxembourg","Madagascar","Malawi","Malaysia","Maldives","Mali","Malta","Marshall Islands","Mauritania","Mauritius","Mexico","Micronesia","Moldova","Monaco","Mongolia","Montenegro","Morocco","Mozambique","Myanmar","Namibia","Nauru","Nepal","Netherlands","New Zealand","Nicaragua","Niger","Nigeria","North Korea","North Macedonia","Norway","Oman","Pakistan","Palau","Palestine State","Panama","Papua New Guinea","Paraguay","Peru","Philippines","Poland","Portugal","Qatar","Romania","Russia","Rwanda","Saint Kitts and Nevis","Saint Lucia","Saint Vincent","Samoa","San Marino","Sao Tome and Principe","Saudi Arabia","Senegal","Serbia","Seychelles","Sierra Leone","Singapore","Slovakia","Slovenia","Solomon Islands","Somalia","South Africa","South Korea","South Sudan","Spain","Sri Lanka","Sudan","Suriname","Sweden","Switzerland","Syria","Tajikistan","Tanzania","Thailand","Timor-Leste","Togo","Tonga","Trinidad and Tobago","Tunisia","Turkey","Turkmenistan","Tuvalu","Uganda","Ukraine","United Arab Emirates","United Kingdom","United States of America","Uruguay","Uzbekistan","Vanuatu","Venezuela","Vietnam","Yemen","Zambia","Zimbabwe"],S=5,l=document.getElementById("userInput"),r=document.querySelector(".suggestions"),y=new c(m);let n=null,s="";function g(e){var a;(a=r.querySelector(".highlight"))==null||a.classList.remove("highlight"),r.childNodes[e].classList.add("highlight"),l.value=r.childNodes[e].textContent}function h(){var e;(e=r.querySelector(".highlight"))==null||e.classList.remove("highlight"),l.value=s,n=null}function d(){r.innerHTML="",n=null,l.value=s}l.addEventListener("input",()=>{r.innerHTML="",n=null,s=l.value;const e=s?y.getWordsFromTrie(s,S):[];for(let a=0;a{if(e.key==="Enter"&&n!=null){s=r.childNodes[n].textContent,d();return}if(e.key==="ArrowDown"){if(n=n??-1,n+1>=r.childElementCount){h();return}g(++n)}if(e.key==="ArrowUp"){if(e.preventDefault(),n=n??r.childElementCount,n-1<0){h();return}g(--n)}});l.addEventListener("blur",()=>{setTimeout(d,100)});r.addEventListener("click",e=>{const a=e.target;a.tagName.toLowerCase()==="li"&&(s=a.textContent,d())}); +import"./header-BV02bT_J.js";import"./navbar-Dp-2B13D.js";class c{constructor(a=[]){this.trie={},this.addWordsToTrie(a)}addWordsToTrie(a){for(let t of a){let i=this.trie;t=t.toLowerCase();for(const o of t)i.hasOwnProperty(o)||(i[o]={}),i=i[o];i.end=!0}}getWordsFromTrie(a,t){a=a.toLowerCase();let i=this.trie;for(const o of a)if(i=i[o],!i)return[];return this.getWordsByDFS(i,t,a)}getWordsByDFS(a,t=1/0,i="",o=[]){if(!(a.end&&(o.push(i),o.length===t))){for(const u in a)if(a.hasOwnProperty(u)&&(this.getWordsByDFS(a[u],t,i+u,o),o.length===t))break;return o}}}const m=["Afghanistan","Albania","Algeria","Andorra","Angola","Antigua and Barbuda","Argentina","Armenia","Australia","Austria","Azerbaijan","Bahamas","Bahrain","Bangladesh","Barbados","Belarus","Belgium","Belize","Benin","Bhutan","Bolivia","Bosnia and Herzegovina","Botswana","Brazil","Brunei","Bulgaria","Burkina Faso","Burundi","Cote dIvoire","Cabo Verde","Cambodia","Cameroon","Canada","Central African Republic","Chad","Chile","China","Colombia","Comoros","Congo","Costa Rica","Croatia","Cuba","Cyprus","Czechia","Democratic Republic of the Congo","Denmark","Djibouti","Dominica","Dominican Republic","Ecuador","Egypt","El Salvador","Equatorial Guinea","Eritrea","Estonia","Eswatini","Ethiopia","Fiji","Finland","France","Gabon","Gambia","Georgia","Germany","Ghana","Greece","Grenada","Guatemala","Guinea","Guinea-Bissau","Guyana","Haiti","Holy See","Honduras","Hungary","Iceland","India","Indonesia","Iran","Iraq","Ireland","Israel","Italy","Jamaica","Japan","Jordan","Kazakhstan","Kenya","Kiribati","Kuwait","Kyrgyzstan","Laos","Latvia","Lebanon","Lesotho","Liberia","Libya","Liechtenstein","Lithuania","Luxembourg","Madagascar","Malawi","Malaysia","Maldives","Mali","Malta","Marshall Islands","Mauritania","Mauritius","Mexico","Micronesia","Moldova","Monaco","Mongolia","Montenegro","Morocco","Mozambique","Myanmar","Namibia","Nauru","Nepal","Netherlands","New Zealand","Nicaragua","Niger","Nigeria","North Korea","North Macedonia","Norway","Oman","Pakistan","Palau","Palestine State","Panama","Papua New Guinea","Paraguay","Peru","Philippines","Poland","Portugal","Qatar","Romania","Russia","Rwanda","Saint Kitts and Nevis","Saint Lucia","Saint Vincent","Samoa","San Marino","Sao Tome and Principe","Saudi Arabia","Senegal","Serbia","Seychelles","Sierra Leone","Singapore","Slovakia","Slovenia","Solomon Islands","Somalia","South Africa","South Korea","South Sudan","Spain","Sri Lanka","Sudan","Suriname","Sweden","Switzerland","Syria","Tajikistan","Tanzania","Thailand","Timor-Leste","Togo","Tonga","Trinidad and Tobago","Tunisia","Turkey","Turkmenistan","Tuvalu","Uganda","Ukraine","United Arab Emirates","United Kingdom","United States of America","Uruguay","Uzbekistan","Vanuatu","Venezuela","Vietnam","Yemen","Zambia","Zimbabwe"],S=5,l=document.getElementById("userInput"),r=document.querySelector(".suggestions"),y=new c(m);let n=null,s="";function g(e){var a;(a=r.querySelector(".highlight"))==null||a.classList.remove("highlight"),r.childNodes[e].classList.add("highlight"),l.value=r.childNodes[e].textContent}function h(){var e;(e=r.querySelector(".highlight"))==null||e.classList.remove("highlight"),l.value=s,n=null}function d(){r.innerHTML="",n=null,l.value=s}l.addEventListener("input",()=>{r.innerHTML="",n=null,s=l.value;const e=s?y.getWordsFromTrie(s,S):[];for(let a=0;a{if(e.key==="Enter"&&n!=null){s=r.childNodes[n].textContent,d();return}if(e.key==="ArrowDown"){if(n=n??-1,n+1>=r.childElementCount){h();return}g(++n)}if(e.key==="ArrowUp"){if(e.preventDefault(),n=n??r.childElementCount,n-1<0){h();return}g(--n)}});l.addEventListener("blur",()=>{setTimeout(d,100)});r.addEventListener("click",e=>{const a=e.target;a.tagName.toLowerCase()==="li"&&(s=a.textContent,d())}); diff --git a/docs/javascript/assets/index-tcVZwiZO.js b/docs/javascript/assets/index-9n35bGLm.js similarity index 97% rename from docs/javascript/assets/index-tcVZwiZO.js rename to docs/javascript/assets/index-9n35bGLm.js index 83a86b0ed..c45eb683a 100644 --- a/docs/javascript/assets/index-tcVZwiZO.js +++ b/docs/javascript/assets/index-9n35bGLm.js @@ -1 +1 @@ -import"./header-V3hWii48.js";import"./navbar-IV3mLr91.js";const h=["January","February","March","April","May","June","July","August","September","October","November","December"],D=["S","M","T","W","T","F","S"],C=()=>{const e=document.createDocumentFragment();return h.map(n=>{const a=document.createElement("option");a.textContent=n,e.appendChild(a)}),e},F=(e=proxy.today)=>{const n=document.createDocumentFragment(),a=e.getFullYear();for(let o=a-100;o{const n=document.createDocumentFragment();return D.map(a=>{const o=document.createElement(e);o.textContent=a,n.appendChild(o)}),n},E=(e,n)=>{const a=document.createDocumentFragment(),o=new Date(n,e,1).getDay(),m=new Date(n,e+1,0).getDate();for(let c=0;c{const n=C();l.appendChild(n),l.selectedIndex=e.getMonth();const a=F(e);u.appendChild(a),u.selectedIndex=100},Y=()=>{p.innerHTML="",p.appendChild(x("span"))},q=(e=t.month,n=t.year)=>{l.selectedIndex=e,u.value=n},g=(e=t.today)=>{var o;const n=E(t.month,t.year);r.innerHTML="",r.appendChild(n),e.getMonth()===l.selectedIndex&&e.getFullYear()===+u.value?r.classList.add("current-month"):r.classList.remove("current-month"),(o=r.querySelector(`.date-${e.getDate()}`))==null||o.classList.add("today")},w=()=>{q(),g()},i=()=>{var e,n;(e=r.querySelector(".selected"))==null||e.classList.remove("selected"),(n=r.querySelector(`.date-${t.selectedDate.getDate()}`))==null||n.classList.add("selected"),v.textContent=t.selectedDate.toDateString()};S.addEventListener("click",()=>{const e=new Date(t.year,t.month,0);e.getFullYear(){const e=new Date(t.year,t.month+1,1);e.getFullYear()>=t.today.getFullYear()+10||e&&(t.month=e.getMonth(),t.year=e.getFullYear())});l.addEventListener("change",()=>t.month=l.selectedIndex);u.addEventListener("change",()=>t.year=+u.value);M.addEventListener("click",()=>{t.month=t.today.getMonth(),t.year=t.today.getFullYear()});r.addEventListener("click",e=>{e.target.className.includes("date")&&(t.selectedDate=e.target.textContent)});L();Y();g();i(); +import"./header-BV02bT_J.js";import"./navbar-Dp-2B13D.js";const h=["January","February","March","April","May","June","July","August","September","October","November","December"],D=["S","M","T","W","T","F","S"],C=()=>{const e=document.createDocumentFragment();return h.map(n=>{const a=document.createElement("option");a.textContent=n,e.appendChild(a)}),e},F=(e=proxy.today)=>{const n=document.createDocumentFragment(),a=e.getFullYear();for(let o=a-100;o{const n=document.createDocumentFragment();return D.map(a=>{const o=document.createElement(e);o.textContent=a,n.appendChild(o)}),n},E=(e,n)=>{const a=document.createDocumentFragment(),o=new Date(n,e,1).getDay(),m=new Date(n,e+1,0).getDate();for(let c=0;c{const n=C();l.appendChild(n),l.selectedIndex=e.getMonth();const a=F(e);u.appendChild(a),u.selectedIndex=100},Y=()=>{p.innerHTML="",p.appendChild(x("span"))},q=(e=t.month,n=t.year)=>{l.selectedIndex=e,u.value=n},g=(e=t.today)=>{var o;const n=E(t.month,t.year);r.innerHTML="",r.appendChild(n),e.getMonth()===l.selectedIndex&&e.getFullYear()===+u.value?r.classList.add("current-month"):r.classList.remove("current-month"),(o=r.querySelector(`.date-${e.getDate()}`))==null||o.classList.add("today")},w=()=>{q(),g()},i=()=>{var e,n;(e=r.querySelector(".selected"))==null||e.classList.remove("selected"),(n=r.querySelector(`.date-${t.selectedDate.getDate()}`))==null||n.classList.add("selected"),v.textContent=t.selectedDate.toDateString()};S.addEventListener("click",()=>{const e=new Date(t.year,t.month,0);e.getFullYear(){const e=new Date(t.year,t.month+1,1);e.getFullYear()>=t.today.getFullYear()+10||e&&(t.month=e.getMonth(),t.year=e.getFullYear())});l.addEventListener("change",()=>t.month=l.selectedIndex);u.addEventListener("change",()=>t.year=+u.value);M.addEventListener("click",()=>{t.month=t.today.getMonth(),t.year=t.today.getFullYear()});r.addEventListener("click",e=>{e.target.className.includes("date")&&(t.selectedDate=e.target.textContent)});L();Y();g();i(); diff --git a/docs/javascript/assets/index-fGHKHE8i.js b/docs/javascript/assets/index-AAYBhotw.js similarity index 97% rename from docs/javascript/assets/index-fGHKHE8i.js rename to docs/javascript/assets/index-AAYBhotw.js index 483a4344d..8a88dbccc 100644 --- a/docs/javascript/assets/index-fGHKHE8i.js +++ b/docs/javascript/assets/index-AAYBhotw.js @@ -1 +1 @@ -import"./header-V3hWii48.js";import"./navbar-IV3mLr91.js";const f=document.querySelector("#range"),k=document.querySelector(".char-length"),i=document.querySelector(".password-form"),a=document.querySelector(".password"),p=document.querySelector("#lc"),w=document.querySelector("#uc"),S=document.querySelector("#numbers"),v=document.querySelector("#symbols"),C=document.querySelector(".copy-btn"),d=document.querySelector("#clipboard-container"),M=document.querySelector("#rememberPass");let s=10;const m=["!","@","#","$","%","^","&","*","(",")",",",".","/",">","<","?","~",";",":","[","]","{","}"],h={a:"apple",b:"banana",c:"cat",d:"dog",e:"elephant",f:"fox",g:"grape",h:"horse",i:"ice cream",j:"jellyfish",k:"kiwi",l:"lion",m:"monkey",n:"nest",o:"orange",p:"pear",q:"queen",r:"rabbit",s:"snake",t:"tiger",u:"umbrella",v:"vase",w:"watermelon",x:"xylophone",y:"yak",z:"zebra",A:"Astronaut",B:"Bicycle",C:"Camera",D:"Dolphin",E:"Eagle",F:"Fireworks",G:"Globe",H:"Helicopter",I:"Island",J:"Jellyfish",K:"Kangaroo",L:"Lightning",M:"Mountain",N:"Nightingale",O:"Octopus",P:"Penguin",Q:"Quokka",R:"River",S:"Starfish",T:"Telescope",U:"Unicorn",V:"Volcano",W:"Waterfall",X:"X-ray",Y:"Yacht",Z:"Zipline"},g={upper:()=>String.fromCodePoint(65+Math.floor(Math.random()*26)),lower:()=>String.fromCodePoint(97+Math.floor(Math.random()*26)),numeric:()=>String.fromCodePoint(49+Math.floor(Math.random()*9)),symbols:()=>m[Math.floor(Math.random()*m.length)]},b=e=>{k.textContent=e,s=e},E=(e,r)=>{let t="";for(let o=0;oe.split("").reduce((t,o)=>{const n=Math.floor(Math.random()*t.length);return t=t.substring(0,n)+o+t.substring(n),t},r),P=(e,r)=>{const t=Object.entries(r).reduce((c,[l,u])=>(u&&(c[l]=u),c),{}),o=Object.keys(t).length,n=E(e-o,Object.keys(t)),y=Object.entries(t).map(([c,l])=>l?g[c]():"").join("");return q(y,n)},x=e=>{let r="";return e.split("").map(o=>{h[o]?r+=` ${h[o]}`:r+=` ${o}`}),r.trim()};C.addEventListener("click",e=>{if(e.preventDefault(),window.navigator.clipboard.writeText(a.value),a)d.classList.add("clipboard-container-active"),setTimeout(()=>{d.classList.remove("clipboard-container-active")},1e3);else return});i.addEventListener("submit",e=>{e.preventDefault();const r=P(s,{lower:p.checked,upper:w.checked,numeric:S.checked,symbols:v.checked});a.value=r,M.innerText=x(a.value)});i.addEventListener("change",e=>{e.target.type==="range"&&b(e.target.value),e.target.type==="checkbox"&&Array.from(i.querySelectorAll('[type="checkbox"]')).filter(o=>o.checked).length===0&&(e.target.checked=!0)});f.value=s;p.checked=!0;b(s); +import"./header-BV02bT_J.js";import"./navbar-Dp-2B13D.js";const f=document.querySelector("#range"),k=document.querySelector(".char-length"),i=document.querySelector(".password-form"),a=document.querySelector(".password"),p=document.querySelector("#lc"),w=document.querySelector("#uc"),S=document.querySelector("#numbers"),v=document.querySelector("#symbols"),C=document.querySelector(".copy-btn"),d=document.querySelector("#clipboard-container"),M=document.querySelector("#rememberPass");let s=10;const m=["!","@","#","$","%","^","&","*","(",")",",",".","/",">","<","?","~",";",":","[","]","{","}"],h={a:"apple",b:"banana",c:"cat",d:"dog",e:"elephant",f:"fox",g:"grape",h:"horse",i:"ice cream",j:"jellyfish",k:"kiwi",l:"lion",m:"monkey",n:"nest",o:"orange",p:"pear",q:"queen",r:"rabbit",s:"snake",t:"tiger",u:"umbrella",v:"vase",w:"watermelon",x:"xylophone",y:"yak",z:"zebra",A:"Astronaut",B:"Bicycle",C:"Camera",D:"Dolphin",E:"Eagle",F:"Fireworks",G:"Globe",H:"Helicopter",I:"Island",J:"Jellyfish",K:"Kangaroo",L:"Lightning",M:"Mountain",N:"Nightingale",O:"Octopus",P:"Penguin",Q:"Quokka",R:"River",S:"Starfish",T:"Telescope",U:"Unicorn",V:"Volcano",W:"Waterfall",X:"X-ray",Y:"Yacht",Z:"Zipline"},g={upper:()=>String.fromCodePoint(65+Math.floor(Math.random()*26)),lower:()=>String.fromCodePoint(97+Math.floor(Math.random()*26)),numeric:()=>String.fromCodePoint(49+Math.floor(Math.random()*9)),symbols:()=>m[Math.floor(Math.random()*m.length)]},b=e=>{k.textContent=e,s=e},E=(e,r)=>{let t="";for(let o=0;oe.split("").reduce((t,o)=>{const n=Math.floor(Math.random()*t.length);return t=t.substring(0,n)+o+t.substring(n),t},r),P=(e,r)=>{const t=Object.entries(r).reduce((c,[l,u])=>(u&&(c[l]=u),c),{}),o=Object.keys(t).length,n=E(e-o,Object.keys(t)),y=Object.entries(t).map(([c,l])=>l?g[c]():"").join("");return q(y,n)},x=e=>{let r="";return e.split("").map(o=>{h[o]?r+=` ${h[o]}`:r+=` ${o}`}),r.trim()};C.addEventListener("click",e=>{if(e.preventDefault(),window.navigator.clipboard.writeText(a.value),a)d.classList.add("clipboard-container-active"),setTimeout(()=>{d.classList.remove("clipboard-container-active")},1e3);else return});i.addEventListener("submit",e=>{e.preventDefault();const r=P(s,{lower:p.checked,upper:w.checked,numeric:S.checked,symbols:v.checked});a.value=r,M.innerText=x(a.value)});i.addEventListener("change",e=>{e.target.type==="range"&&b(e.target.value),e.target.type==="checkbox"&&Array.from(i.querySelectorAll('[type="checkbox"]')).filter(o=>o.checked).length===0&&(e.target.checked=!0)});f.value=s;p.checked=!0;b(s); diff --git a/docs/javascript/assets/index-osgWqG4y.js b/docs/javascript/assets/index-AZ0uN2UM.js similarity index 98% rename from docs/javascript/assets/index-osgWqG4y.js rename to docs/javascript/assets/index-AZ0uN2UM.js index 2449c95d3..de3d82e02 100644 --- a/docs/javascript/assets/index-osgWqG4y.js +++ b/docs/javascript/assets/index-AZ0uN2UM.js @@ -1,2 +1,2 @@ -import"./header-V3hWii48.js";import"./navbar-IV3mLr91.js";const f=document.querySelector(".slider"),n=document.querySelector(".leftButton"),o=document.querySelector(".rightButton"),X=document.querySelector(".leftButton span"),q=document.querySelector(".rightButton span"),w=document.getElementById("leftcolor"),C=document.getElementById("rightcolor"),g=document.getElementById("position"),$=document.getElementById("rotation"),N=document.getElementById("random"),h=document.getElementById("preview"),W=document.getElementById("copy"),S=document.querySelector(".full-screen"),k=document.querySelector(".close");let b=!1,E,I=90,i,r,L,l=0,y=100,u=parseInt(f.getBoundingClientRect().width-20);function c(){E=`linear-gradient(${I}deg, ${i} ${l}%, ${r} ${y}%)`,h.style.background=E,f.style.background=E}function M(){const t=Math.floor(Math.random()*256),e=Math.floor(Math.random()*256),m=Math.floor(Math.random()*256);return`rgb(${t}, ${e}, ${m})`}function R(t,e,m){const a=x=>{const d=x.toString(16);return d.length===1?"0"+d:d},s=a(t),p=a(e),v=a(m);return`#${s}${p}${v}`}function D(t){t=t.replace(/^#/,"");const e=parseInt(t,16),m=e>>16&255,a=e>>8&255,s=e&255;return{r:m,g:a,b:s}}function H(){i=M(),r=M(),c(),X.style.background=`${i} ${l}%`,q.style.background=`${r} ${y}%`;const t=R(parseInt(i.slice(4,-1).split(", ")[0]),parseInt(i.slice(4,-1).split(", ")[1]),parseInt(i.slice(4,-1).split(", ")[2])),e=R(parseInt(r.slice(4,-1).split(", ")[0]),parseInt(r.slice(4,-1).split(", ")[1]),parseInt(r.slice(4,-1).split(", ")[2]));w.value=t,C.value=e,$.value=`${I}°`}function B(t,e){b=!0;const a=(e.type.startsWith("touch")?e.touches[0].clientX:e.clientX)-t.getBoundingClientRect().left;u=parseInt(f.getBoundingClientRect().width-20);function s(v){if(b){const x=v.type.startsWith("touch")?v.touches[0].clientX:v.clientX,d=parseInt(Math.min(u,Math.max(0,x-f.getBoundingClientRect().left-a)));t===n?(l=parseInt(d/u*100),g.value=`${l}%`):t===o&&(y=parseInt(d/u*100),g.value=`${y}%`),c(),t.style.transform=`translate3d(${d}px, -50%, 0px)`}}function p(){b=!1,document.removeEventListener("mousemove",s),document.removeEventListener("mouseup",p),document.removeEventListener("touchmove",s),document.removeEventListener("touchend",p)}document.addEventListener("mousemove",s),document.addEventListener("mouseup",p),document.addEventListener("touchmove",s),document.addEventListener("touchend",p)}n.addEventListener("mousedown",t=>{t.preventDefault(),n.classList.add("active"),o.classList.remove("active"),B(n,t)});o.addEventListener("mousedown",t=>{t.preventDefault(),n.classList.remove("active"),o.classList.add("active"),B(o,t)});n.addEventListener("touchstart",t=>{t.preventDefault(),n.classList.add("active"),o.classList.remove("active"),B(n,t)});o.addEventListener("touchstart",t=>{t.preventDefault(),n.classList.remove("active"),o.classList.add("active"),B(o,t)});w.addEventListener("input",()=>{const t=w.value;if(/^#[0-9A-F]{6}$/i.test(t)){const e=D(t);e&&(i=`rgb(${e.r}, ${e.g}, ${e.b})`,c(),X.style.background=`${i} ${l}%`)}});C.addEventListener("input",()=>{const t=C.value;if(/^#[0-9A-F]{6}$/i.test(t)){const e=D(t);e&&(r=`rgb(${e.r}, ${e.g}, ${e.b})`,c(),q.style.background=`${r} ${l}%`)}});g.addEventListener("change",()=>{const t=parseInt(g.value);L=t/100*u,!isNaN(t)&&t>=0&&t<=100&&(n.classList.contains("active")?(l=t,n.style.transform=`translate3d(${L}px, -50%, 0px)`,c()):o.classList.contains("active")?(y=t,o.style.transform=`translate3d(${L}px, -50%, 0px)`,c()):(n.classList.add("active"),l=t,n.style.transform=`translate3d(${L}px, -50%, 0px)`,c()),g.value=`${t}%`)});$.addEventListener("change",()=>{const t=parseInt($.value);!isNaN(t)&&t>=0&&t<=360&&(I=t,c(),$.value=`${I}°`)});N.addEventListener("click",H);W.addEventListener("click",()=>{document.execCommand("copy"),alert(`CSS copied to clipboard: +import"./header-BV02bT_J.js";import"./navbar-Dp-2B13D.js";const f=document.querySelector(".slider"),n=document.querySelector(".leftButton"),o=document.querySelector(".rightButton"),X=document.querySelector(".leftButton span"),q=document.querySelector(".rightButton span"),w=document.getElementById("leftcolor"),C=document.getElementById("rightcolor"),g=document.getElementById("position"),$=document.getElementById("rotation"),N=document.getElementById("random"),h=document.getElementById("preview"),W=document.getElementById("copy"),S=document.querySelector(".full-screen"),k=document.querySelector(".close");let b=!1,E,I=90,i,r,L,l=0,y=100,u=parseInt(f.getBoundingClientRect().width-20);function c(){E=`linear-gradient(${I}deg, ${i} ${l}%, ${r} ${y}%)`,h.style.background=E,f.style.background=E}function M(){const t=Math.floor(Math.random()*256),e=Math.floor(Math.random()*256),m=Math.floor(Math.random()*256);return`rgb(${t}, ${e}, ${m})`}function R(t,e,m){const a=x=>{const d=x.toString(16);return d.length===1?"0"+d:d},s=a(t),p=a(e),v=a(m);return`#${s}${p}${v}`}function D(t){t=t.replace(/^#/,"");const e=parseInt(t,16),m=e>>16&255,a=e>>8&255,s=e&255;return{r:m,g:a,b:s}}function H(){i=M(),r=M(),c(),X.style.background=`${i} ${l}%`,q.style.background=`${r} ${y}%`;const t=R(parseInt(i.slice(4,-1).split(", ")[0]),parseInt(i.slice(4,-1).split(", ")[1]),parseInt(i.slice(4,-1).split(", ")[2])),e=R(parseInt(r.slice(4,-1).split(", ")[0]),parseInt(r.slice(4,-1).split(", ")[1]),parseInt(r.slice(4,-1).split(", ")[2]));w.value=t,C.value=e,$.value=`${I}°`}function B(t,e){b=!0;const a=(e.type.startsWith("touch")?e.touches[0].clientX:e.clientX)-t.getBoundingClientRect().left;u=parseInt(f.getBoundingClientRect().width-20);function s(v){if(b){const x=v.type.startsWith("touch")?v.touches[0].clientX:v.clientX,d=parseInt(Math.min(u,Math.max(0,x-f.getBoundingClientRect().left-a)));t===n?(l=parseInt(d/u*100),g.value=`${l}%`):t===o&&(y=parseInt(d/u*100),g.value=`${y}%`),c(),t.style.transform=`translate3d(${d}px, -50%, 0px)`}}function p(){b=!1,document.removeEventListener("mousemove",s),document.removeEventListener("mouseup",p),document.removeEventListener("touchmove",s),document.removeEventListener("touchend",p)}document.addEventListener("mousemove",s),document.addEventListener("mouseup",p),document.addEventListener("touchmove",s),document.addEventListener("touchend",p)}n.addEventListener("mousedown",t=>{t.preventDefault(),n.classList.add("active"),o.classList.remove("active"),B(n,t)});o.addEventListener("mousedown",t=>{t.preventDefault(),n.classList.remove("active"),o.classList.add("active"),B(o,t)});n.addEventListener("touchstart",t=>{t.preventDefault(),n.classList.add("active"),o.classList.remove("active"),B(n,t)});o.addEventListener("touchstart",t=>{t.preventDefault(),n.classList.remove("active"),o.classList.add("active"),B(o,t)});w.addEventListener("input",()=>{const t=w.value;if(/^#[0-9A-F]{6}$/i.test(t)){const e=D(t);e&&(i=`rgb(${e.r}, ${e.g}, ${e.b})`,c(),X.style.background=`${i} ${l}%`)}});C.addEventListener("input",()=>{const t=C.value;if(/^#[0-9A-F]{6}$/i.test(t)){const e=D(t);e&&(r=`rgb(${e.r}, ${e.g}, ${e.b})`,c(),q.style.background=`${r} ${l}%`)}});g.addEventListener("change",()=>{const t=parseInt(g.value);L=t/100*u,!isNaN(t)&&t>=0&&t<=100&&(n.classList.contains("active")?(l=t,n.style.transform=`translate3d(${L}px, -50%, 0px)`,c()):o.classList.contains("active")?(y=t,o.style.transform=`translate3d(${L}px, -50%, 0px)`,c()):(n.classList.add("active"),l=t,n.style.transform=`translate3d(${L}px, -50%, 0px)`,c()),g.value=`${t}%`)});$.addEventListener("change",()=>{const t=parseInt($.value);!isNaN(t)&&t>=0&&t<=360&&(I=t,c(),$.value=`${I}°`)});N.addEventListener("click",H);W.addEventListener("click",()=>{document.execCommand("copy"),alert(`CSS copied to clipboard: `+E)});S.addEventListener("click",()=>{h.classList.remove("preview"),h.classList.add("full-screen-mode"),S.style.display="none",k.style.display="block"});k.addEventListener("click",()=>{h.classList.add("preview"),h.classList.remove("full-screen-mode"),S.style.display="block",k.style.display="none"});function P(){u=parseInt(f.getBoundingClientRect().width-20),o.style.transform=`translate3d(${u}px, -50%, 0px)`}window.addEventListener("load",()=>{P(),H()});window.addEventListener("resize",()=>{P()}); diff --git a/docs/javascript/assets/index-mJylio45.js b/docs/javascript/assets/index-Adn_e4vl.js similarity index 90% rename from docs/javascript/assets/index-mJylio45.js rename to docs/javascript/assets/index-Adn_e4vl.js index fcc013ba2..a75841a8b 100644 --- a/docs/javascript/assets/index-mJylio45.js +++ b/docs/javascript/assets/index-Adn_e4vl.js @@ -1 +1 @@ -import"./header-V3hWii48.js";import"./navbar-IV3mLr91.js";const o=document.getElementById("progress");let e=!1,i;const a=document.querySelector(".progress-controller"),l=document.getElementById("start"),r=document.getElementById("stop");document.getElementById("reset");r.disabled=!0;a.addEventListener("click",u);function u(t){const s=t.target.id;s==="start"&&!e?g():s==="stop"&&e?n():s==="reset"&&(n(),c(0))}function n(){e=!1,m(),l.disabled=!1,r.disabled=!0}function g(){e=!0,d(),l.disabled=!0,r.disabled=!1}function d(){let t=.1+f();t<=100&&(c(t),i=requestAnimationFrame(d))}function m(){cancelAnimationFrame(i)}function f(){return+o.style.width.split("%")[0]}function c(t){o.style.width=t+"%"} +import"./header-BV02bT_J.js";import"./navbar-Dp-2B13D.js";const o=document.getElementById("progress");let e=!1,i;const a=document.querySelector(".progress-controller"),l=document.getElementById("start"),r=document.getElementById("stop");document.getElementById("reset");r.disabled=!0;a.addEventListener("click",u);function u(t){const s=t.target.id;s==="start"&&!e?g():s==="stop"&&e?n():s==="reset"&&(n(),c(0))}function n(){e=!1,m(),l.disabled=!1,r.disabled=!0}function g(){e=!0,d(),l.disabled=!0,r.disabled=!1}function d(){let t=.1+f();t<=100&&(c(t),i=requestAnimationFrame(d))}function m(){cancelAnimationFrame(i)}function f(){return+o.style.width.split("%")[0]}function c(t){o.style.width=t+"%"} diff --git a/docs/javascript/assets/index-S8w7F91y.js b/docs/javascript/assets/index-B7errex0.js similarity index 92% rename from docs/javascript/assets/index-S8w7F91y.js rename to docs/javascript/assets/index-B7errex0.js index c4493d63b..d432651a0 100644 --- a/docs/javascript/assets/index-S8w7F91y.js +++ b/docs/javascript/assets/index-B7errex0.js @@ -1 +1 @@ -import"./header-V3hWii48.js";import"./navbar-IV3mLr91.js";function i(t){const c={1:[[50,50]],2:[[20,20],[80,80]],3:[[20,20],[50,50],[80,80]],4:[[20,20],[20,80],[80,20],[80,80]],5:[[20,20],[20,80],[50,50],[80,20],[80,80]],6:[[20,20],[20,80],[50,20],[50,80],[80,20],[80,80]]},e=document.createElement("div");e.classList.add("dice");for(const n of c[t]){const o=document.createElement("div");o.classList.add("dice-dot"),o.style.setProperty("--top",`${n[0]}%`),o.style.setProperty("--left",`${n[1]}%`),e.appendChild(o)}return e}function r(t,c){t.innerHTML="";for(let e=0;e{const t=setInterval(()=>{r(d,l)},50);setTimeout(()=>{clearInterval(t)},1e3)}); +import"./header-BV02bT_J.js";import"./navbar-Dp-2B13D.js";function i(t){const c={1:[[50,50]],2:[[20,20],[80,80]],3:[[20,20],[50,50],[80,80]],4:[[20,20],[20,80],[80,20],[80,80]],5:[[20,20],[20,80],[50,50],[80,20],[80,80]],6:[[20,20],[20,80],[50,20],[50,80],[80,20],[80,80]]},e=document.createElement("div");e.classList.add("dice");for(const n of c[t]){const o=document.createElement("div");o.classList.add("dice-dot"),o.style.setProperty("--top",`${n[0]}%`),o.style.setProperty("--left",`${n[1]}%`),e.appendChild(o)}return e}function r(t,c){t.innerHTML="";for(let e=0;e{const t=setInterval(()=>{r(d,l)},50);setTimeout(()=>{clearInterval(t)},1e3)}); diff --git a/docs/javascript/assets/index-R_6CkymX.js b/docs/javascript/assets/index-FMCQ0hOW.js similarity index 99% rename from docs/javascript/assets/index-R_6CkymX.js rename to docs/javascript/assets/index-FMCQ0hOW.js index afd764734..5ab9f84d7 100644 --- a/docs/javascript/assets/index-R_6CkymX.js +++ b/docs/javascript/assets/index-FMCQ0hOW.js @@ -1 +1 @@ -import"./header-V3hWii48.js";import"./navbar-IV3mLr91.js";const l=[{word:"guitar",hint:"A musical instrument with strings."},{word:"oxygen",hint:"A colorless, odorless gas essential for life."},{word:"mountain",hint:"A large natural elevation of the Earth's surface."},{word:"painting",hint:"An art form using colors on a surface to create images or expression."},{word:"astronomy",hint:"The scientific study of celestial objects and phenomena."},{word:"football",hint:"A popular sport played with a spherical ball."},{word:"chocolate",hint:"A sweet treat made from cocoa beans."},{word:"butterfly",hint:"An insect with colorful wings and a slender body."},{word:"history",hint:"The study of past events and human civilization."},{word:"pizza",hint:"A savory dish consisting of a round, flattened base with toppings."},{word:"jazz",hint:"A genre of music characterized by improvisation and syncopation."},{word:"camera",hint:"A device used to capture and record images or videos."},{word:"diamond",hint:"A precious gemstone known for its brilliance and hardness."},{word:"adventure",hint:"An exciting or daring experience."},{word:"science",hint:"The systematic study of the structure and behavior of the physical and natural world."},{word:"bicycle",hint:"A human-powered vehicle with two wheels."},{word:"sunset",hint:"The daily disappearance of the sun below the horizon."},{word:"coffee",hint:"A popular caffeinated beverage made from roasted coffee beans."},{word:"dance",hint:"A rhythmic movement of the body often performed to music."},{word:"galaxy",hint:"A vast system of stars, gas, and dust held together by gravity."},{word:"orchestra",hint:"A large ensemble of musicians playing various instruments."},{word:"volcano",hint:"A mountain or hill with a vent through which lava, rock fragments, hot vapor, and gas are ejected."},{word:"novel",hint:"A long work of fiction, typically with a complex plot and characters."},{word:"sculpture",hint:"A three-dimensional art form created by shaping or combining materials."},{word:"symphony",hint:"A long musical composition for a full orchestra, typically in multiple movements."},{word:"architecture",hint:"The art and science of designing and constructing buildings."},{word:"ballet",hint:"A classical dance form characterized by precise and graceful movements."},{word:"astronaut",hint:"A person trained to travel and work in space."},{word:"waterfall",hint:"A cascade of water falling from a height."},{word:"technology",hint:"The application of scientific knowledge for practical purposes."},{word:"rainbow",hint:"A meteorological phenomenon that is caused by reflection, refraction, and dispersion of light."},{word:"universe",hint:"All existing matter, space, and time as a whole."},{word:"piano",hint:"A musical instrument played by pressing keys that cause hammers to strike strings."},{word:"vacation",hint:"A period of time devoted to pleasure, rest, or relaxation."},{word:"rainforest",hint:"A dense forest characterized by high rainfall and biodiversity."},{word:"theater",hint:"A building or outdoor area in which plays, movies, or other performances are staged."},{word:"telephone",hint:"A device used to transmit sound over long distances."},{word:"language",hint:"A system of communication consisting of words, gestures, and syntax."},{word:"desert",hint:"A barren or arid land with little or no precipitation."},{word:"sunflower",hint:"A tall plant with a large yellow flower head."},{word:"fantasy",hint:"A genre of imaginative fiction involving magic and supernatural elements."},{word:"telescope",hint:"An optical instrument used to view distant objects in space."},{word:"breeze",hint:"A gentle wind."},{word:"oasis",hint:"A fertile spot in a desert where water is found."},{word:"photography",hint:"The art, process, or practice of creating images by recording light or other electromagnetic radiation."},{word:"safari",hint:"An expedition or journey, typically to observe wildlife in their natural habitat."},{word:"planet",hint:"A celestial body that orbits a star and does not produce light of its own."},{word:"river",hint:"A large natural stream of water flowing in a channel to the sea, a lake, or another such stream."},{word:"tropical",hint:"Relating to or situated in the region between the Tropic of Cancer and the Tropic of Capricorn."},{word:"mysterious",hint:"Difficult or impossible to understand, explain, or identify."},{word:"enigma",hint:"Something that is mysterious, puzzling, or difficult to understand."},{word:"paradox",hint:"A statement or situation that contradicts itself or defies intuition."},{word:"puzzle",hint:"A game, toy, or problem designed to test ingenuity or knowledge."},{word:"whisper",hint:"To speak very softly or quietly, often in a secretive manner."},{word:"shadow",hint:"A dark area or shape produced by an object blocking the light."},{word:"secret",hint:"Something kept hidden or unknown to others."},{word:"curiosity",hint:"A strong desire to know or learn something."},{word:"unpredictable",hint:"Not able to be foreseen or known beforehand; uncertain."},{word:"obfuscate",hint:"To confuse or bewilder someone; to make something unclear or difficult to understand."},{word:"unveil",hint:"To make known or reveal something previously secret or unknown."},{word:"illusion",hint:"A false perception or belief; a deceptive appearance or impression."},{word:"moonlight",hint:"The light from the moon."},{word:"vibrant",hint:"Full of energy, brightness, and life."},{word:"nostalgia",hint:"A sentimental longing or wistful affection for the past."},{word:"brilliant",hint:"Exceptionally clever, talented, or impressive."}],m="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='298.232'%20height='291'%20viewBox='0%200%20298.232%20291'%3e%3cg%20id='Group_688'%20data-name='Group%20688'%20transform='translate(-219%20-183)'%3e%3crect%20id='Rectangle_2974'%20data-name='Rectangle%202974'%20width='5'%20height='61.733'%20transform='translate(310.627%20183.247)%20rotate(45)'/%3e%3crect%20id='Rectangle_2966'%20data-name='Rectangle%202966'%20width='5'%20height='298.232'%20rx='2.5'%20transform='translate(517.232%20469)%20rotate(90)'/%3e%3crect%20id='Rectangle_2987'%20data-name='Rectangle%202987'%20width='5'%20height='289'%20rx='2.5'%20transform='translate(267%20183)'/%3e%3crect%20id='Rectangle_2988'%20data-name='Rectangle%202988'%20width='187'%20height='5'%20rx='2.5'%20transform='translate(267%20183)'/%3e%3crect%20id='Rectangle_2989'%20data-name='Rectangle%202989'%20width='5'%20height='49'%20rx='2.5'%20transform='translate(449%20184)'/%3e%3c/g%3e%3c/svg%3e",R="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='298.232'%20height='291'%20viewBox='0%200%20298.232%20291'%3e%3cg%20id='Group_691'%20data-name='Group%20691'%20transform='translate(-219%20-183)'%3e%3crect%20id='Rectangle_2974'%20data-name='Rectangle%202974'%20width='5'%20height='61.733'%20transform='translate(310.627%20183.247)%20rotate(45)'/%3e%3crect%20id='Rectangle_2966'%20data-name='Rectangle%202966'%20width='5'%20height='298.232'%20rx='2.5'%20transform='translate(517.232%20469)%20rotate(90)'/%3e%3cg%20id='Ellipse_32'%20data-name='Ellipse%2032'%20transform='translate(423.5%20228.247)'%20fill='none'%20stroke='%23000'%20stroke-width='5'%3e%3ccircle%20cx='27.5'%20cy='27.5'%20r='27.5'%20stroke='none'/%3e%3ccircle%20cx='27.5'%20cy='27.5'%20r='25'%20fill='none'/%3e%3c/g%3e%3crect%20id='Rectangle_2987'%20data-name='Rectangle%202987'%20width='5'%20height='289'%20rx='2.5'%20transform='translate(267%20183)'/%3e%3crect%20id='Rectangle_2988'%20data-name='Rectangle%202988'%20width='187'%20height='5'%20rx='2.5'%20transform='translate(267%20183)'/%3e%3crect%20id='Rectangle_2989'%20data-name='Rectangle%202989'%20width='5'%20height='49'%20rx='2.5'%20transform='translate(449%20184)'/%3e%3c/g%3e%3c/svg%3e",x="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='298.232'%20height='291'%20viewBox='0%200%20298.232%20291'%3e%3cg%20id='Group_692'%20data-name='Group%20692'%20transform='translate(-219%20-183)'%3e%3crect%20id='Rectangle_2974'%20data-name='Rectangle%202974'%20width='5'%20height='61.733'%20transform='translate(310.627%20183.247)%20rotate(45)'/%3e%3crect%20id='Rectangle_2966'%20data-name='Rectangle%202966'%20width='5'%20height='298.232'%20rx='2.5'%20transform='translate(517.232%20469)%20rotate(90)'/%3e%3cg%20id='Ellipse_32'%20data-name='Ellipse%2032'%20transform='translate(423.5%20228.247)'%20fill='none'%20stroke='%23000'%20stroke-width='5'%3e%3ccircle%20cx='27.5'%20cy='27.5'%20r='27.5'%20stroke='none'/%3e%3ccircle%20cx='27.5'%20cy='27.5'%20r='25'%20fill='none'/%3e%3c/g%3e%3crect%20id='Rectangle_2987'%20data-name='Rectangle%202987'%20width='5'%20height='289'%20rx='2.5'%20transform='translate(267%20183)'/%3e%3crect%20id='Rectangle_2988'%20data-name='Rectangle%202988'%20width='187'%20height='5'%20rx='2.5'%20transform='translate(267%20183)'/%3e%3crect%20id='Rectangle_2989'%20data-name='Rectangle%202989'%20width='5'%20height='49'%20rx='2.5'%20transform='translate(449%20184)'/%3e%3crect%20id='Rectangle_2990'%20data-name='Rectangle%202990'%20width='5'%20height='73'%20rx='2.5'%20transform='translate(449%20281)'/%3e%3c/g%3e%3c/svg%3e",y="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='298.232'%20height='291'%20viewBox='0%200%20298.232%20291'%3e%3cg%20id='Group_694'%20data-name='Group%20694'%20transform='translate(-219%20-183)'%3e%3crect%20id='Rectangle_2970'%20data-name='Rectangle%202970'%20width='5'%20height='56'%20rx='2.5'%20transform='translate(448.965%20281.247)%20rotate(45)'/%3e%3crect%20id='Rectangle_2974'%20data-name='Rectangle%202974'%20width='5'%20height='61.733'%20transform='translate(310.627%20183.247)%20rotate(45)'/%3e%3crect%20id='Rectangle_2966'%20data-name='Rectangle%202966'%20width='5'%20height='298.232'%20rx='2.5'%20transform='translate(517.232%20469)%20rotate(90)'/%3e%3cg%20id='Ellipse_32'%20data-name='Ellipse%2032'%20transform='translate(423.5%20228.247)'%20fill='none'%20stroke='%23000'%20stroke-width='5'%3e%3ccircle%20cx='27.5'%20cy='27.5'%20r='27.5'%20stroke='none'/%3e%3ccircle%20cx='27.5'%20cy='27.5'%20r='25'%20fill='none'/%3e%3c/g%3e%3crect%20id='Rectangle_2987'%20data-name='Rectangle%202987'%20width='5'%20height='289'%20rx='2.5'%20transform='translate(267%20183)'/%3e%3crect%20id='Rectangle_2988'%20data-name='Rectangle%202988'%20width='187'%20height='5'%20rx='2.5'%20transform='translate(267%20183)'/%3e%3crect%20id='Rectangle_2989'%20data-name='Rectangle%202989'%20width='5'%20height='49'%20rx='2.5'%20transform='translate(449%20184)'/%3e%3crect%20id='Rectangle_2990'%20data-name='Rectangle%202990'%20width='5'%20height='73'%20rx='2.5'%20transform='translate(449%20281)'/%3e%3c/g%3e%3c/svg%3e",v="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='298.232'%20height='291'%20viewBox='0%200%20298.232%20291'%3e%3cg%20id='Group_699'%20data-name='Group%20699'%20transform='translate(-219%20-183)'%3e%3crect%20id='Rectangle_2970'%20data-name='Rectangle%202970'%20width='5'%20height='56'%20rx='2.5'%20transform='translate(448.965%20281.247)%20rotate(45)'/%3e%3crect%20id='Rectangle_2971'%20data-name='Rectangle%202971'%20width='5'%20height='56'%20rx='2.5'%20transform='translate(450.5%20284.782)%20rotate(-45)'/%3e%3crect%20id='Rectangle_2974'%20data-name='Rectangle%202974'%20width='5'%20height='61.733'%20transform='translate(310.627%20183.247)%20rotate(45)'/%3e%3crect%20id='Rectangle_2966'%20data-name='Rectangle%202966'%20width='5'%20height='298.232'%20rx='2.5'%20transform='translate(517.232%20469)%20rotate(90)'/%3e%3cg%20id='Ellipse_32'%20data-name='Ellipse%2032'%20transform='translate(423.5%20228.247)'%20fill='none'%20stroke='%23000'%20stroke-width='5'%3e%3ccircle%20cx='27.5'%20cy='27.5'%20r='27.5'%20stroke='none'/%3e%3ccircle%20cx='27.5'%20cy='27.5'%20r='25'%20fill='none'/%3e%3c/g%3e%3crect%20id='Rectangle_2987'%20data-name='Rectangle%202987'%20width='5'%20height='289'%20rx='2.5'%20transform='translate(267%20183)'/%3e%3crect%20id='Rectangle_2988'%20data-name='Rectangle%202988'%20width='187'%20height='5'%20rx='2.5'%20transform='translate(267%20183)'/%3e%3crect%20id='Rectangle_2989'%20data-name='Rectangle%202989'%20width='5'%20height='49'%20rx='2.5'%20transform='translate(449%20184)'/%3e%3crect%20id='Rectangle_2990'%20data-name='Rectangle%202990'%20width='5'%20height='73'%20rx='2.5'%20transform='translate(449%20281)'/%3e%3c/g%3e%3c/svg%3e",_="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='298.232'%20height='291'%20viewBox='0%200%20298.232%20291'%3e%3cg%20id='Group_698'%20data-name='Group%20698'%20transform='translate(-16059.232%20-14400)'%3e%3crect%20id='Rectangle_2987'%20data-name='Rectangle%202987'%20width='5'%20height='289'%20rx='2.5'%20transform='translate(16107.232%2014400)'/%3e%3cg%20id='Group_697'%20data-name='Group%20697'%3e%3crect%20id='Rectangle_2974'%20data-name='Rectangle%202974'%20width='5'%20height='61.733'%20transform='translate(16150.859%2014400.247)%20rotate(45)'/%3e%3crect%20id='Rectangle_2966'%20data-name='Rectangle%202966'%20width='5'%20height='298.232'%20rx='2.5'%20transform='translate(16357.465%2014686)%20rotate(90)'/%3e%3crect%20id='Rectangle_2988'%20data-name='Rectangle%202988'%20width='187'%20height='5'%20rx='2.5'%20transform='translate(16107.232%2014400)'/%3e%3crect%20id='Rectangle_2989'%20data-name='Rectangle%202989'%20width='5'%20height='49'%20rx='2.5'%20transform='translate(16289.232%2014401)'/%3e%3cg%20id='Group_696'%20data-name='Group%20696'%3e%3crect%20id='Rectangle_2970'%20data-name='Rectangle%202970'%20width='5'%20height='56'%20rx='2.5'%20transform='translate(16289.197%2014498.247)%20rotate(45)'/%3e%3crect%20id='Rectangle_2967'%20data-name='Rectangle%202967'%20width='5'%20height='56'%20rx='2.5'%20transform='translate(16291.197%2014565.247)%20rotate(45)'/%3e%3crect%20id='Rectangle_2971'%20data-name='Rectangle%202971'%20width='5'%20height='56'%20rx='2.5'%20transform='translate(16290.732%2014501.782)%20rotate(-45)'/%3e%3cg%20id='Ellipse_32'%20data-name='Ellipse%2032'%20transform='translate(16263.732%2014445.247)'%20fill='none'%20stroke='%23000'%20stroke-width='5'%3e%3ccircle%20cx='27.5'%20cy='27.5'%20r='27.5'%20stroke='none'/%3e%3ccircle%20cx='27.5'%20cy='27.5'%20r='25'%20fill='none'/%3e%3c/g%3e%3crect%20id='Rectangle_2990'%20data-name='Rectangle%202990'%20width='5'%20height='73'%20rx='2.5'%20transform='translate(16289.232%2014498)'/%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/svg%3e",b="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='298.232'%20height='291'%20viewBox='0%200%20298.232%20291'%3e%3cg%20id='Group_700'%20data-name='Group%20700'%20transform='translate(-16059.232%20-14400)'%3e%3crect%20id='Rectangle_2987'%20data-name='Rectangle%202987'%20width='5'%20height='289'%20rx='2.5'%20transform='translate(16107.232%2014400)'/%3e%3cg%20id='Group_697'%20data-name='Group%20697'%3e%3crect%20id='Rectangle_2974'%20data-name='Rectangle%202974'%20width='5'%20height='61.733'%20transform='translate(16150.859%2014400.247)%20rotate(45)'/%3e%3crect%20id='Rectangle_2966'%20data-name='Rectangle%202966'%20width='5'%20height='298.232'%20rx='2.5'%20transform='translate(16357.465%2014686)%20rotate(90)'/%3e%3crect%20id='Rectangle_2988'%20data-name='Rectangle%202988'%20width='187'%20height='5'%20rx='2.5'%20transform='translate(16107.232%2014400)'/%3e%3crect%20id='Rectangle_2989'%20data-name='Rectangle%202989'%20width='5'%20height='49'%20rx='2.5'%20transform='translate(16289.232%2014401)'/%3e%3cg%20id='Group_696'%20data-name='Group%20696'%3e%3crect%20id='Rectangle_2970'%20data-name='Rectangle%202970'%20width='5'%20height='56'%20rx='2.5'%20transform='translate(16289.197%2014498.247)%20rotate(45)'/%3e%3crect%20id='Rectangle_2967'%20data-name='Rectangle%202967'%20width='5'%20height='56'%20rx='2.5'%20transform='translate(16291.197%2014565.247)%20rotate(45)'/%3e%3crect%20id='Rectangle_2971'%20data-name='Rectangle%202971'%20width='5'%20height='56'%20rx='2.5'%20transform='translate(16290.732%2014501.782)%20rotate(-45)'/%3e%3cpath%20id='Path_355'%20data-name='Path%20355'%20d='M5,2.5v51a2.5,2.5,0,0,1-5,0V2.5C0,1.119,5,1.119,5,2.5Z'%20transform='translate(16288.732%2014568.783)%20rotate(-45)'/%3e%3cg%20id='Ellipse_32'%20data-name='Ellipse%2032'%20transform='translate(16263.732%2014445.247)'%20fill='none'%20stroke='%23000'%20stroke-width='5'%3e%3ccircle%20cx='27.5'%20cy='27.5'%20r='27.5'%20stroke='none'/%3e%3ccircle%20cx='27.5'%20cy='27.5'%20r='25'%20fill='none'/%3e%3c/g%3e%3crect%20id='Rectangle_2990'%20data-name='Rectangle%202990'%20width='5'%20height='73'%20rx='2.5'%20transform='translate(16289.232%2014498)'/%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/svg%3e",A="/frontend-mini-challenges/javascript/assets/lost-retzeMxq.gif",k="/frontend-mini-challenges/javascript/assets/victory-OYJro-8B.gif",G=[m,R,x,y,v,_,b],w=document.querySelector(".img-container img"),d=document.querySelector(".correctWord-list"),T=document.querySelector(".hint-text b"),c=document.querySelector(".wrong-guess b"),f=document.querySelector(".game-modal"),E=document.querySelector(".game-modal img"),L=document.querySelector(".modal-result"),S=document.querySelector(".modal-correctWord b"),q=document.querySelector(".btn-again"),h=document.querySelector(".keyboard-container");let s=[],o,n=0;const u=6;function z(t){const e=document.createDocumentFragment();Array.from(t).map(a=>{const r=document.createElement("li");r.classList.add("character"),e.appendChild(r)}),d.innerHTML="",d.appendChild(e)}function C(){const{word:t,hint:e}=l[Math.floor(Math.random()*l.length)];s=[],o=t,z(o),w.src=m,T.innerText=e,c.classList.add("wrong-guesses"),n=0,c.innerText=`${n} / ${u}`,f.classList.remove("show-modal"),j()}function j(){const t=document.createDocumentFragment();for(let e=97;e<=122;e++){const a=document.createElement("button");a.innerText=String.fromCharCode(e),a.classList.add("keys"),t.appendChild(a)}h.innerHTML="",h.appendChild(t)}function g(t){f.classList.add("show-modal"),E.src=t?k:A,L.innerText=`${t?"You are awesome":"Game Over"}`,S.innerText=o,q.addEventListener("click",p)}function B(){document.querySelectorAll(".keys").forEach(e=>{e.addEventListener("click",a=>{o.includes(a.target.innerText.toLowerCase())?Array.from(o).forEach((r,i)=>{a.target.innerText.toLowerCase()===r&&(s[i]=r,document.querySelectorAll(".character")[i].innerText=r,document.querySelectorAll(".character")[i].classList.add("set"))}):(n++,c.innerText=`${n} / ${u}`,w.src=G[n]),e.disabled=!0,e.classList.add("disabled"),n===6&&g(!1),s.join("")===o&&g(!0)})})}function p(){C(),B()}p(); +import"./header-BV02bT_J.js";import"./navbar-Dp-2B13D.js";const l=[{word:"guitar",hint:"A musical instrument with strings."},{word:"oxygen",hint:"A colorless, odorless gas essential for life."},{word:"mountain",hint:"A large natural elevation of the Earth's surface."},{word:"painting",hint:"An art form using colors on a surface to create images or expression."},{word:"astronomy",hint:"The scientific study of celestial objects and phenomena."},{word:"football",hint:"A popular sport played with a spherical ball."},{word:"chocolate",hint:"A sweet treat made from cocoa beans."},{word:"butterfly",hint:"An insect with colorful wings and a slender body."},{word:"history",hint:"The study of past events and human civilization."},{word:"pizza",hint:"A savory dish consisting of a round, flattened base with toppings."},{word:"jazz",hint:"A genre of music characterized by improvisation and syncopation."},{word:"camera",hint:"A device used to capture and record images or videos."},{word:"diamond",hint:"A precious gemstone known for its brilliance and hardness."},{word:"adventure",hint:"An exciting or daring experience."},{word:"science",hint:"The systematic study of the structure and behavior of the physical and natural world."},{word:"bicycle",hint:"A human-powered vehicle with two wheels."},{word:"sunset",hint:"The daily disappearance of the sun below the horizon."},{word:"coffee",hint:"A popular caffeinated beverage made from roasted coffee beans."},{word:"dance",hint:"A rhythmic movement of the body often performed to music."},{word:"galaxy",hint:"A vast system of stars, gas, and dust held together by gravity."},{word:"orchestra",hint:"A large ensemble of musicians playing various instruments."},{word:"volcano",hint:"A mountain or hill with a vent through which lava, rock fragments, hot vapor, and gas are ejected."},{word:"novel",hint:"A long work of fiction, typically with a complex plot and characters."},{word:"sculpture",hint:"A three-dimensional art form created by shaping or combining materials."},{word:"symphony",hint:"A long musical composition for a full orchestra, typically in multiple movements."},{word:"architecture",hint:"The art and science of designing and constructing buildings."},{word:"ballet",hint:"A classical dance form characterized by precise and graceful movements."},{word:"astronaut",hint:"A person trained to travel and work in space."},{word:"waterfall",hint:"A cascade of water falling from a height."},{word:"technology",hint:"The application of scientific knowledge for practical purposes."},{word:"rainbow",hint:"A meteorological phenomenon that is caused by reflection, refraction, and dispersion of light."},{word:"universe",hint:"All existing matter, space, and time as a whole."},{word:"piano",hint:"A musical instrument played by pressing keys that cause hammers to strike strings."},{word:"vacation",hint:"A period of time devoted to pleasure, rest, or relaxation."},{word:"rainforest",hint:"A dense forest characterized by high rainfall and biodiversity."},{word:"theater",hint:"A building or outdoor area in which plays, movies, or other performances are staged."},{word:"telephone",hint:"A device used to transmit sound over long distances."},{word:"language",hint:"A system of communication consisting of words, gestures, and syntax."},{word:"desert",hint:"A barren or arid land with little or no precipitation."},{word:"sunflower",hint:"A tall plant with a large yellow flower head."},{word:"fantasy",hint:"A genre of imaginative fiction involving magic and supernatural elements."},{word:"telescope",hint:"An optical instrument used to view distant objects in space."},{word:"breeze",hint:"A gentle wind."},{word:"oasis",hint:"A fertile spot in a desert where water is found."},{word:"photography",hint:"The art, process, or practice of creating images by recording light or other electromagnetic radiation."},{word:"safari",hint:"An expedition or journey, typically to observe wildlife in their natural habitat."},{word:"planet",hint:"A celestial body that orbits a star and does not produce light of its own."},{word:"river",hint:"A large natural stream of water flowing in a channel to the sea, a lake, or another such stream."},{word:"tropical",hint:"Relating to or situated in the region between the Tropic of Cancer and the Tropic of Capricorn."},{word:"mysterious",hint:"Difficult or impossible to understand, explain, or identify."},{word:"enigma",hint:"Something that is mysterious, puzzling, or difficult to understand."},{word:"paradox",hint:"A statement or situation that contradicts itself or defies intuition."},{word:"puzzle",hint:"A game, toy, or problem designed to test ingenuity or knowledge."},{word:"whisper",hint:"To speak very softly or quietly, often in a secretive manner."},{word:"shadow",hint:"A dark area or shape produced by an object blocking the light."},{word:"secret",hint:"Something kept hidden or unknown to others."},{word:"curiosity",hint:"A strong desire to know or learn something."},{word:"unpredictable",hint:"Not able to be foreseen or known beforehand; uncertain."},{word:"obfuscate",hint:"To confuse or bewilder someone; to make something unclear or difficult to understand."},{word:"unveil",hint:"To make known or reveal something previously secret or unknown."},{word:"illusion",hint:"A false perception or belief; a deceptive appearance or impression."},{word:"moonlight",hint:"The light from the moon."},{word:"vibrant",hint:"Full of energy, brightness, and life."},{word:"nostalgia",hint:"A sentimental longing or wistful affection for the past."},{word:"brilliant",hint:"Exceptionally clever, talented, or impressive."}],m="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='298.232'%20height='291'%20viewBox='0%200%20298.232%20291'%3e%3cg%20id='Group_688'%20data-name='Group%20688'%20transform='translate(-219%20-183)'%3e%3crect%20id='Rectangle_2974'%20data-name='Rectangle%202974'%20width='5'%20height='61.733'%20transform='translate(310.627%20183.247)%20rotate(45)'/%3e%3crect%20id='Rectangle_2966'%20data-name='Rectangle%202966'%20width='5'%20height='298.232'%20rx='2.5'%20transform='translate(517.232%20469)%20rotate(90)'/%3e%3crect%20id='Rectangle_2987'%20data-name='Rectangle%202987'%20width='5'%20height='289'%20rx='2.5'%20transform='translate(267%20183)'/%3e%3crect%20id='Rectangle_2988'%20data-name='Rectangle%202988'%20width='187'%20height='5'%20rx='2.5'%20transform='translate(267%20183)'/%3e%3crect%20id='Rectangle_2989'%20data-name='Rectangle%202989'%20width='5'%20height='49'%20rx='2.5'%20transform='translate(449%20184)'/%3e%3c/g%3e%3c/svg%3e",R="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='298.232'%20height='291'%20viewBox='0%200%20298.232%20291'%3e%3cg%20id='Group_691'%20data-name='Group%20691'%20transform='translate(-219%20-183)'%3e%3crect%20id='Rectangle_2974'%20data-name='Rectangle%202974'%20width='5'%20height='61.733'%20transform='translate(310.627%20183.247)%20rotate(45)'/%3e%3crect%20id='Rectangle_2966'%20data-name='Rectangle%202966'%20width='5'%20height='298.232'%20rx='2.5'%20transform='translate(517.232%20469)%20rotate(90)'/%3e%3cg%20id='Ellipse_32'%20data-name='Ellipse%2032'%20transform='translate(423.5%20228.247)'%20fill='none'%20stroke='%23000'%20stroke-width='5'%3e%3ccircle%20cx='27.5'%20cy='27.5'%20r='27.5'%20stroke='none'/%3e%3ccircle%20cx='27.5'%20cy='27.5'%20r='25'%20fill='none'/%3e%3c/g%3e%3crect%20id='Rectangle_2987'%20data-name='Rectangle%202987'%20width='5'%20height='289'%20rx='2.5'%20transform='translate(267%20183)'/%3e%3crect%20id='Rectangle_2988'%20data-name='Rectangle%202988'%20width='187'%20height='5'%20rx='2.5'%20transform='translate(267%20183)'/%3e%3crect%20id='Rectangle_2989'%20data-name='Rectangle%202989'%20width='5'%20height='49'%20rx='2.5'%20transform='translate(449%20184)'/%3e%3c/g%3e%3c/svg%3e",x="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='298.232'%20height='291'%20viewBox='0%200%20298.232%20291'%3e%3cg%20id='Group_692'%20data-name='Group%20692'%20transform='translate(-219%20-183)'%3e%3crect%20id='Rectangle_2974'%20data-name='Rectangle%202974'%20width='5'%20height='61.733'%20transform='translate(310.627%20183.247)%20rotate(45)'/%3e%3crect%20id='Rectangle_2966'%20data-name='Rectangle%202966'%20width='5'%20height='298.232'%20rx='2.5'%20transform='translate(517.232%20469)%20rotate(90)'/%3e%3cg%20id='Ellipse_32'%20data-name='Ellipse%2032'%20transform='translate(423.5%20228.247)'%20fill='none'%20stroke='%23000'%20stroke-width='5'%3e%3ccircle%20cx='27.5'%20cy='27.5'%20r='27.5'%20stroke='none'/%3e%3ccircle%20cx='27.5'%20cy='27.5'%20r='25'%20fill='none'/%3e%3c/g%3e%3crect%20id='Rectangle_2987'%20data-name='Rectangle%202987'%20width='5'%20height='289'%20rx='2.5'%20transform='translate(267%20183)'/%3e%3crect%20id='Rectangle_2988'%20data-name='Rectangle%202988'%20width='187'%20height='5'%20rx='2.5'%20transform='translate(267%20183)'/%3e%3crect%20id='Rectangle_2989'%20data-name='Rectangle%202989'%20width='5'%20height='49'%20rx='2.5'%20transform='translate(449%20184)'/%3e%3crect%20id='Rectangle_2990'%20data-name='Rectangle%202990'%20width='5'%20height='73'%20rx='2.5'%20transform='translate(449%20281)'/%3e%3c/g%3e%3c/svg%3e",y="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='298.232'%20height='291'%20viewBox='0%200%20298.232%20291'%3e%3cg%20id='Group_694'%20data-name='Group%20694'%20transform='translate(-219%20-183)'%3e%3crect%20id='Rectangle_2970'%20data-name='Rectangle%202970'%20width='5'%20height='56'%20rx='2.5'%20transform='translate(448.965%20281.247)%20rotate(45)'/%3e%3crect%20id='Rectangle_2974'%20data-name='Rectangle%202974'%20width='5'%20height='61.733'%20transform='translate(310.627%20183.247)%20rotate(45)'/%3e%3crect%20id='Rectangle_2966'%20data-name='Rectangle%202966'%20width='5'%20height='298.232'%20rx='2.5'%20transform='translate(517.232%20469)%20rotate(90)'/%3e%3cg%20id='Ellipse_32'%20data-name='Ellipse%2032'%20transform='translate(423.5%20228.247)'%20fill='none'%20stroke='%23000'%20stroke-width='5'%3e%3ccircle%20cx='27.5'%20cy='27.5'%20r='27.5'%20stroke='none'/%3e%3ccircle%20cx='27.5'%20cy='27.5'%20r='25'%20fill='none'/%3e%3c/g%3e%3crect%20id='Rectangle_2987'%20data-name='Rectangle%202987'%20width='5'%20height='289'%20rx='2.5'%20transform='translate(267%20183)'/%3e%3crect%20id='Rectangle_2988'%20data-name='Rectangle%202988'%20width='187'%20height='5'%20rx='2.5'%20transform='translate(267%20183)'/%3e%3crect%20id='Rectangle_2989'%20data-name='Rectangle%202989'%20width='5'%20height='49'%20rx='2.5'%20transform='translate(449%20184)'/%3e%3crect%20id='Rectangle_2990'%20data-name='Rectangle%202990'%20width='5'%20height='73'%20rx='2.5'%20transform='translate(449%20281)'/%3e%3c/g%3e%3c/svg%3e",v="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='298.232'%20height='291'%20viewBox='0%200%20298.232%20291'%3e%3cg%20id='Group_699'%20data-name='Group%20699'%20transform='translate(-219%20-183)'%3e%3crect%20id='Rectangle_2970'%20data-name='Rectangle%202970'%20width='5'%20height='56'%20rx='2.5'%20transform='translate(448.965%20281.247)%20rotate(45)'/%3e%3crect%20id='Rectangle_2971'%20data-name='Rectangle%202971'%20width='5'%20height='56'%20rx='2.5'%20transform='translate(450.5%20284.782)%20rotate(-45)'/%3e%3crect%20id='Rectangle_2974'%20data-name='Rectangle%202974'%20width='5'%20height='61.733'%20transform='translate(310.627%20183.247)%20rotate(45)'/%3e%3crect%20id='Rectangle_2966'%20data-name='Rectangle%202966'%20width='5'%20height='298.232'%20rx='2.5'%20transform='translate(517.232%20469)%20rotate(90)'/%3e%3cg%20id='Ellipse_32'%20data-name='Ellipse%2032'%20transform='translate(423.5%20228.247)'%20fill='none'%20stroke='%23000'%20stroke-width='5'%3e%3ccircle%20cx='27.5'%20cy='27.5'%20r='27.5'%20stroke='none'/%3e%3ccircle%20cx='27.5'%20cy='27.5'%20r='25'%20fill='none'/%3e%3c/g%3e%3crect%20id='Rectangle_2987'%20data-name='Rectangle%202987'%20width='5'%20height='289'%20rx='2.5'%20transform='translate(267%20183)'/%3e%3crect%20id='Rectangle_2988'%20data-name='Rectangle%202988'%20width='187'%20height='5'%20rx='2.5'%20transform='translate(267%20183)'/%3e%3crect%20id='Rectangle_2989'%20data-name='Rectangle%202989'%20width='5'%20height='49'%20rx='2.5'%20transform='translate(449%20184)'/%3e%3crect%20id='Rectangle_2990'%20data-name='Rectangle%202990'%20width='5'%20height='73'%20rx='2.5'%20transform='translate(449%20281)'/%3e%3c/g%3e%3c/svg%3e",_="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='298.232'%20height='291'%20viewBox='0%200%20298.232%20291'%3e%3cg%20id='Group_698'%20data-name='Group%20698'%20transform='translate(-16059.232%20-14400)'%3e%3crect%20id='Rectangle_2987'%20data-name='Rectangle%202987'%20width='5'%20height='289'%20rx='2.5'%20transform='translate(16107.232%2014400)'/%3e%3cg%20id='Group_697'%20data-name='Group%20697'%3e%3crect%20id='Rectangle_2974'%20data-name='Rectangle%202974'%20width='5'%20height='61.733'%20transform='translate(16150.859%2014400.247)%20rotate(45)'/%3e%3crect%20id='Rectangle_2966'%20data-name='Rectangle%202966'%20width='5'%20height='298.232'%20rx='2.5'%20transform='translate(16357.465%2014686)%20rotate(90)'/%3e%3crect%20id='Rectangle_2988'%20data-name='Rectangle%202988'%20width='187'%20height='5'%20rx='2.5'%20transform='translate(16107.232%2014400)'/%3e%3crect%20id='Rectangle_2989'%20data-name='Rectangle%202989'%20width='5'%20height='49'%20rx='2.5'%20transform='translate(16289.232%2014401)'/%3e%3cg%20id='Group_696'%20data-name='Group%20696'%3e%3crect%20id='Rectangle_2970'%20data-name='Rectangle%202970'%20width='5'%20height='56'%20rx='2.5'%20transform='translate(16289.197%2014498.247)%20rotate(45)'/%3e%3crect%20id='Rectangle_2967'%20data-name='Rectangle%202967'%20width='5'%20height='56'%20rx='2.5'%20transform='translate(16291.197%2014565.247)%20rotate(45)'/%3e%3crect%20id='Rectangle_2971'%20data-name='Rectangle%202971'%20width='5'%20height='56'%20rx='2.5'%20transform='translate(16290.732%2014501.782)%20rotate(-45)'/%3e%3cg%20id='Ellipse_32'%20data-name='Ellipse%2032'%20transform='translate(16263.732%2014445.247)'%20fill='none'%20stroke='%23000'%20stroke-width='5'%3e%3ccircle%20cx='27.5'%20cy='27.5'%20r='27.5'%20stroke='none'/%3e%3ccircle%20cx='27.5'%20cy='27.5'%20r='25'%20fill='none'/%3e%3c/g%3e%3crect%20id='Rectangle_2990'%20data-name='Rectangle%202990'%20width='5'%20height='73'%20rx='2.5'%20transform='translate(16289.232%2014498)'/%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/svg%3e",b="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='298.232'%20height='291'%20viewBox='0%200%20298.232%20291'%3e%3cg%20id='Group_700'%20data-name='Group%20700'%20transform='translate(-16059.232%20-14400)'%3e%3crect%20id='Rectangle_2987'%20data-name='Rectangle%202987'%20width='5'%20height='289'%20rx='2.5'%20transform='translate(16107.232%2014400)'/%3e%3cg%20id='Group_697'%20data-name='Group%20697'%3e%3crect%20id='Rectangle_2974'%20data-name='Rectangle%202974'%20width='5'%20height='61.733'%20transform='translate(16150.859%2014400.247)%20rotate(45)'/%3e%3crect%20id='Rectangle_2966'%20data-name='Rectangle%202966'%20width='5'%20height='298.232'%20rx='2.5'%20transform='translate(16357.465%2014686)%20rotate(90)'/%3e%3crect%20id='Rectangle_2988'%20data-name='Rectangle%202988'%20width='187'%20height='5'%20rx='2.5'%20transform='translate(16107.232%2014400)'/%3e%3crect%20id='Rectangle_2989'%20data-name='Rectangle%202989'%20width='5'%20height='49'%20rx='2.5'%20transform='translate(16289.232%2014401)'/%3e%3cg%20id='Group_696'%20data-name='Group%20696'%3e%3crect%20id='Rectangle_2970'%20data-name='Rectangle%202970'%20width='5'%20height='56'%20rx='2.5'%20transform='translate(16289.197%2014498.247)%20rotate(45)'/%3e%3crect%20id='Rectangle_2967'%20data-name='Rectangle%202967'%20width='5'%20height='56'%20rx='2.5'%20transform='translate(16291.197%2014565.247)%20rotate(45)'/%3e%3crect%20id='Rectangle_2971'%20data-name='Rectangle%202971'%20width='5'%20height='56'%20rx='2.5'%20transform='translate(16290.732%2014501.782)%20rotate(-45)'/%3e%3cpath%20id='Path_355'%20data-name='Path%20355'%20d='M5,2.5v51a2.5,2.5,0,0,1-5,0V2.5C0,1.119,5,1.119,5,2.5Z'%20transform='translate(16288.732%2014568.783)%20rotate(-45)'/%3e%3cg%20id='Ellipse_32'%20data-name='Ellipse%2032'%20transform='translate(16263.732%2014445.247)'%20fill='none'%20stroke='%23000'%20stroke-width='5'%3e%3ccircle%20cx='27.5'%20cy='27.5'%20r='27.5'%20stroke='none'/%3e%3ccircle%20cx='27.5'%20cy='27.5'%20r='25'%20fill='none'/%3e%3c/g%3e%3crect%20id='Rectangle_2990'%20data-name='Rectangle%202990'%20width='5'%20height='73'%20rx='2.5'%20transform='translate(16289.232%2014498)'/%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/svg%3e",A="/frontend-mini-challenges/javascript/assets/lost-retzeMxq.gif",k="/frontend-mini-challenges/javascript/assets/victory-OYJro-8B.gif",G=[m,R,x,y,v,_,b],w=document.querySelector(".img-container img"),d=document.querySelector(".correctWord-list"),T=document.querySelector(".hint-text b"),c=document.querySelector(".wrong-guess b"),f=document.querySelector(".game-modal"),E=document.querySelector(".game-modal img"),L=document.querySelector(".modal-result"),S=document.querySelector(".modal-correctWord b"),q=document.querySelector(".btn-again"),h=document.querySelector(".keyboard-container");let s=[],o,n=0;const u=6;function z(t){const e=document.createDocumentFragment();Array.from(t).map(a=>{const r=document.createElement("li");r.classList.add("character"),e.appendChild(r)}),d.innerHTML="",d.appendChild(e)}function C(){const{word:t,hint:e}=l[Math.floor(Math.random()*l.length)];s=[],o=t,z(o),w.src=m,T.innerText=e,c.classList.add("wrong-guesses"),n=0,c.innerText=`${n} / ${u}`,f.classList.remove("show-modal"),j()}function j(){const t=document.createDocumentFragment();for(let e=97;e<=122;e++){const a=document.createElement("button");a.innerText=String.fromCharCode(e),a.classList.add("keys"),t.appendChild(a)}h.innerHTML="",h.appendChild(t)}function g(t){f.classList.add("show-modal"),E.src=t?k:A,L.innerText=`${t?"You are awesome":"Game Over"}`,S.innerText=o,q.addEventListener("click",p)}function B(){document.querySelectorAll(".keys").forEach(e=>{e.addEventListener("click",a=>{o.includes(a.target.innerText.toLowerCase())?Array.from(o).forEach((r,i)=>{a.target.innerText.toLowerCase()===r&&(s[i]=r,document.querySelectorAll(".character")[i].innerText=r,document.querySelectorAll(".character")[i].classList.add("set"))}):(n++,c.innerText=`${n} / ${u}`,w.src=G[n]),e.disabled=!0,e.classList.add("disabled"),n===6&&g(!1),s.join("")===o&&g(!0)})})}function p(){C(),B()}p(); diff --git a/docs/javascript/assets/index-jdWw5Jth.js b/docs/javascript/assets/index-FoHoOUCE.js similarity index 94% rename from docs/javascript/assets/index-jdWw5Jth.js rename to docs/javascript/assets/index-FoHoOUCE.js index faa36f438..8ebe5646d 100644 --- a/docs/javascript/assets/index-jdWw5Jth.js +++ b/docs/javascript/assets/index-FoHoOUCE.js @@ -1 +1 @@ -import"./header-V3hWii48.js";import"./navbar-IV3mLr91.js";const l=document.getElementById("dark-mode-toggle"),r=document.getElementById("add-button"),d=document.getElementById("workouts"),s=document.getElementById("workout"),c=document.getElementById("duration"),a=document.getElementById("error-message");l.addEventListener("click",m);r.addEventListener("click",u);function m(){const t=document.body,o=document.querySelector(".container"),e=document.querySelector("h1");t.classList.contains("dark-mode")?(t.classList.remove("dark-mode"),o.classList.remove("dark-mode"),e.classList.remove("dark-mode")):(t.classList.add("dark-mode"),o.classList.add("dark-mode"),e.classList.add("dark-mode"))}function u(){const t=s.value,o=c.value;if(t&&o){a.textContent="";const e=document.createElement("li");e.textContent=`${t} - ${o} minutes`;const n=document.createElement("button");n.textContent="Delete",n.className="delete-button",n.addEventListener("click",function(){d.removeChild(e)}),e.appendChild(n),d.appendChild(e),s.value="",c.value=""}else a.textContent="Please fill in both fields."} +import"./header-BV02bT_J.js";import"./navbar-Dp-2B13D.js";const l=document.getElementById("dark-mode-toggle"),r=document.getElementById("add-button"),d=document.getElementById("workouts"),s=document.getElementById("workout"),c=document.getElementById("duration"),a=document.getElementById("error-message");l.addEventListener("click",m);r.addEventListener("click",u);function m(){const t=document.body,o=document.querySelector(".container"),e=document.querySelector("h1");t.classList.contains("dark-mode")?(t.classList.remove("dark-mode"),o.classList.remove("dark-mode"),e.classList.remove("dark-mode")):(t.classList.add("dark-mode"),o.classList.add("dark-mode"),e.classList.add("dark-mode"))}function u(){const t=s.value,o=c.value;if(t&&o){a.textContent="";const e=document.createElement("li");e.textContent=`${t} - ${o} minutes`;const n=document.createElement("button");n.textContent="Delete",n.className="delete-button",n.addEventListener("click",function(){d.removeChild(e)}),e.appendChild(n),d.appendChild(e),s.value="",c.value=""}else a.textContent="Please fill in both fields."} diff --git a/docs/javascript/assets/index-y4AYp6un.js b/docs/javascript/assets/index-Gpu52Rd9.js similarity index 91% rename from docs/javascript/assets/index-y4AYp6un.js rename to docs/javascript/assets/index-Gpu52Rd9.js index b0772f336..78b1aef27 100644 --- a/docs/javascript/assets/index-y4AYp6un.js +++ b/docs/javascript/assets/index-Gpu52Rd9.js @@ -1 +1 @@ -import"./header-V3hWii48.js";import"./navbar-IV3mLr91.js";const n=document.querySelectorAll(".piece");let r=null;function c(e){e.currentTarget.classList.add("dragging"),r=e.currentTarget}function i(e){e.preventDefault()}function u(e){e.preventDefault();const t=e.currentTarget,d=r.dataset.order;r.dataset.order=t.dataset.order,t.dataset.order=d;const o=Array.from(n).sort((a,l)=>a.dataset.order-l.dataset.order),s=document.querySelector(".puzzle-container");o.forEach(a=>s.appendChild(a)),r.classList.remove("dragging"),r=null}function g(e){var t;(t=r==null?void 0:r.classList)==null||t.remove("dragging"),r=null}n.forEach(e=>{e.addEventListener("dragstart",c),e.addEventListener("dragover",i),e.addEventListener("drop",u),e.addEventListener("dragend",g)}); +import"./header-BV02bT_J.js";import"./navbar-Dp-2B13D.js";const n=document.querySelectorAll(".piece");let r=null;function c(e){e.currentTarget.classList.add("dragging"),r=e.currentTarget}function i(e){e.preventDefault()}function u(e){e.preventDefault();const t=e.currentTarget,d=r.dataset.order;r.dataset.order=t.dataset.order,t.dataset.order=d;const o=Array.from(n).sort((a,l)=>a.dataset.order-l.dataset.order),s=document.querySelector(".puzzle-container");o.forEach(a=>s.appendChild(a)),r.classList.remove("dragging"),r=null}function g(e){var t;(t=r==null?void 0:r.classList)==null||t.remove("dragging"),r=null}n.forEach(e=>{e.addEventListener("dragstart",c),e.addEventListener("dragover",i),e.addEventListener("drop",u),e.addEventListener("dragend",g)}); diff --git a/docs/javascript/assets/index-CgyvS6po.js b/docs/javascript/assets/index-GsbXeaDL.js similarity index 90% rename from docs/javascript/assets/index-CgyvS6po.js rename to docs/javascript/assets/index-GsbXeaDL.js index 03f134c2b..a55848651 100644 --- a/docs/javascript/assets/index-CgyvS6po.js +++ b/docs/javascript/assets/index-GsbXeaDL.js @@ -1 +1 @@ -import"./header-V3hWii48.js";import"./navbar-IV3mLr91.js";const n=document.querySelector(".meme-generator .generate-meme-btn");document.querySelector("body");const c=document.querySelector(".meme-generator img"),u=document.querySelector(".meme-generator .meme-title"),s=document.querySelector(".meme-generator .meme-author"),t=document.querySelector(".meme"),l=(e,o,r)=>{c.setAttribute("src",e),u.innerHTML=o,s.innerHTML=`Meme by: ${r}`},m=()=>{t.style.backgroundColor="#F7EEEE",t.style.boxShadow="10px 10px 16px rgb(0, 0, 0, 0.2)",fetch(" https://meme-api.com/gimme/wholesomememes").then(e=>e.json()).then(e=>{l(e.url,e.title,e.author)})};n.addEventListener("click",m);m(); +import"./header-BV02bT_J.js";import"./navbar-Dp-2B13D.js";const n=document.querySelector(".meme-generator .generate-meme-btn");document.querySelector("body");const c=document.querySelector(".meme-generator img"),u=document.querySelector(".meme-generator .meme-title"),s=document.querySelector(".meme-generator .meme-author"),t=document.querySelector(".meme"),l=(e,o,r)=>{c.setAttribute("src",e),u.innerHTML=o,s.innerHTML=`Meme by: ${r}`},m=()=>{t.style.backgroundColor="#F7EEEE",t.style.boxShadow="10px 10px 16px rgb(0, 0, 0, 0.2)",fetch(" https://meme-api.com/gimme/wholesomememes").then(e=>e.json()).then(e=>{l(e.url,e.title,e.author)})};n.addEventListener("click",m);m(); diff --git a/docs/javascript/assets/index-3afKMe4C.js b/docs/javascript/assets/index-H1U9x-U7.js similarity index 95% rename from docs/javascript/assets/index-3afKMe4C.js rename to docs/javascript/assets/index-H1U9x-U7.js index 56735cfea..77ae30775 100644 --- a/docs/javascript/assets/index-3afKMe4C.js +++ b/docs/javascript/assets/index-H1U9x-U7.js @@ -1 +1 @@ -import"./header-V3hWii48.js";import"./navbar-IV3mLr91.js";const w=document.querySelector(".post-container"),E=document.querySelector(".loader"),C=document.querySelector(".end-of-content"),b=document.querySelector(".fetch-error");let s=0,u=y(s),d=!1,a=!1,m=!1,r=0;const H=3;function y(e){const c=Math.ceil(window.innerHeight/90);return e+c}function p(e=[]){e.forEach((n,c)=>{const o=document.createElement("div");o.className="post";const t=document.createElement("span");t.className="post-number",t.textContent=s+c+1;const l=document.createElement("span");l.className="post-body",l.textContent=n.body,o.appendChild(t),o.appendChild(l),w.appendChild(o)})}function N(){C.style.display="block"}function h(e){b.style.display=e}function i(e){E.style.display=e}function f(e,n){const c=`https://jsonplaceholder.typicode.com/posts?_start=${e}&_end=${n}`;d=!0,h("none"),i("block"),setTimeout(async()=>{try{const t=await(await fetch(c)).json();t.length0&&p(t),N()):(p(t),s=n,u=y(s)),r=0,a=!1}catch(o){console.log(o),r++;const t=document.getElementsByClassName("post").length;r>H?(h("block"),a=!0):t===0&&f(e,n),i("none")}finally{d=!1}},500)}f(s,u);function g(){if(d||m||a)return;const e=Math.ceil(window.innerHeight+window.scrollY),n=window.document.body.offsetHeight-36;e>=n&&f(s,u)}window.addEventListener("scroll",g);window.addEventListener("resize",g); +import"./header-BV02bT_J.js";import"./navbar-Dp-2B13D.js";const w=document.querySelector(".post-container"),E=document.querySelector(".loader"),C=document.querySelector(".end-of-content"),b=document.querySelector(".fetch-error");let s=0,u=y(s),d=!1,a=!1,m=!1,r=0;const H=3;function y(e){const c=Math.ceil(window.innerHeight/90);return e+c}function p(e=[]){e.forEach((n,c)=>{const o=document.createElement("div");o.className="post";const t=document.createElement("span");t.className="post-number",t.textContent=s+c+1;const l=document.createElement("span");l.className="post-body",l.textContent=n.body,o.appendChild(t),o.appendChild(l),w.appendChild(o)})}function N(){C.style.display="block"}function h(e){b.style.display=e}function i(e){E.style.display=e}function f(e,n){const c=`https://jsonplaceholder.typicode.com/posts?_start=${e}&_end=${n}`;d=!0,h("none"),i("block"),setTimeout(async()=>{try{const t=await(await fetch(c)).json();t.length0&&p(t),N()):(p(t),s=n,u=y(s)),r=0,a=!1}catch(o){console.log(o),r++;const t=document.getElementsByClassName("post").length;r>H?(h("block"),a=!0):t===0&&f(e,n),i("none")}finally{d=!1}},500)}f(s,u);function g(){if(d||m||a)return;const e=Math.ceil(window.innerHeight+window.scrollY),n=window.document.body.offsetHeight-36;e>=n&&f(s,u)}window.addEventListener("scroll",g);window.addEventListener("resize",g); diff --git a/docs/javascript/assets/index-R7aWQJ7Z.js b/docs/javascript/assets/index-HVNddoCz.js similarity index 96% rename from docs/javascript/assets/index-R7aWQJ7Z.js rename to docs/javascript/assets/index-HVNddoCz.js index b1cf95128..117655d29 100644 --- a/docs/javascript/assets/index-R7aWQJ7Z.js +++ b/docs/javascript/assets/index-HVNddoCz.js @@ -1 +1 @@ -import"./header-V3hWii48.js";import"./navbar-IV3mLr91.js";function m(e,t=500){let o=null;return function(...u){o&&(clearTimeout(o),o=null),o=setTimeout(e,t,...u)}}const p=5,i=document.getElementById("userInput"),l=document.querySelector(".suggestions"),g=document.getElementById("loader"),E=document.getElementById("info");let s="",n=null,r=null;const L=m(v);function h(e){var t;(t=l.querySelector(".highlight"))==null||t.classList.remove("highlight"),l.childNodes[e].classList.add("highlight"),i.value=l.childNodes[e].textContent}function f(){var e;(e=l.querySelector(".highlight"))==null||e.classList.remove("highlight"),i.value=s,n=null}function a(){l.innerHTML="",n=null,i.value=s}async function y(e){r=new AbortController;try{const t=await fetch(`https://api.github.com/search/users?per_page=${p}&q=${e}`,{signal:r.signal});r=null;const o=await t.json();return c(!1),{text:e,result:o.items}}catch(t){return t.name!=="AbortError"&&d(),c(!1),{text:e,result:[]}}}async function v(){if(l.innerHTML="",n=null,s=i.value,s.length>0){const{text:e,result:t}=await y(s);if(i.value===e){t.length===0&&d("No results found");for(let o=0;o{r&&(r.abort(),r=null),i.value===""?c(!1):c(),l.innerHTML="",n=null,d(""),L()});i.addEventListener("keydown",e=>{if(e.key==="Enter"&&n!=null){s=l.childNodes[n].textContent,a();return}if(e.key==="ArrowDown"){if(n=n??-1,n+1>=l.childElementCount){f();return}h(++n)}if(e.key==="ArrowUp"){if(e.preventDefault(),n=n??l.childElementCount,n-1<0){f();return}h(--n)}});i.addEventListener("blur",()=>{setTimeout(a,100)});l.addEventListener("click",e=>{const t=e.target;t.tagName.toLowerCase()==="li"&&(s=t.textContent,a())}); +import"./header-BV02bT_J.js";import"./navbar-Dp-2B13D.js";function m(e,t=500){let o=null;return function(...u){o&&(clearTimeout(o),o=null),o=setTimeout(e,t,...u)}}const p=5,i=document.getElementById("userInput"),l=document.querySelector(".suggestions"),g=document.getElementById("loader"),E=document.getElementById("info");let s="",n=null,r=null;const L=m(v);function h(e){var t;(t=l.querySelector(".highlight"))==null||t.classList.remove("highlight"),l.childNodes[e].classList.add("highlight"),i.value=l.childNodes[e].textContent}function f(){var e;(e=l.querySelector(".highlight"))==null||e.classList.remove("highlight"),i.value=s,n=null}function a(){l.innerHTML="",n=null,i.value=s}async function y(e){r=new AbortController;try{const t=await fetch(`https://api.github.com/search/users?per_page=${p}&q=${e}`,{signal:r.signal});r=null;const o=await t.json();return c(!1),{text:e,result:o.items}}catch(t){return t.name!=="AbortError"&&d(),c(!1),{text:e,result:[]}}}async function v(){if(l.innerHTML="",n=null,s=i.value,s.length>0){const{text:e,result:t}=await y(s);if(i.value===e){t.length===0&&d("No results found");for(let o=0;o{r&&(r.abort(),r=null),i.value===""?c(!1):c(),l.innerHTML="",n=null,d(""),L()});i.addEventListener("keydown",e=>{if(e.key==="Enter"&&n!=null){s=l.childNodes[n].textContent,a();return}if(e.key==="ArrowDown"){if(n=n??-1,n+1>=l.childElementCount){f();return}h(++n)}if(e.key==="ArrowUp"){if(e.preventDefault(),n=n??l.childElementCount,n-1<0){f();return}h(--n)}});i.addEventListener("blur",()=>{setTimeout(a,100)});l.addEventListener("click",e=>{const t=e.target;t.tagName.toLowerCase()==="li"&&(s=t.textContent,a())}); diff --git a/docs/javascript/assets/index-RxFX_KYW.js b/docs/javascript/assets/index-HWbcEGtq.js similarity index 94% rename from docs/javascript/assets/index-RxFX_KYW.js rename to docs/javascript/assets/index-HWbcEGtq.js index b8472850f..3d527ad51 100644 --- a/docs/javascript/assets/index-RxFX_KYW.js +++ b/docs/javascript/assets/index-HWbcEGtq.js @@ -1 +1 @@ -import"./header-V3hWii48.js";import"./navbar-IV3mLr91.js";function u(e,t){const n=document.createElement(e);for(let s in t)n.setAttribute(s,t[s]);return n}function L(e,t,n=0){const s=document.createDocumentFragment();for(let l=n;lu("button",{class:"star star-empty","data-index":e}),1));const i=a.querySelectorAll(".star");a.addEventListener("mouseover",v);a.addEventListener("mouseleave",C);a.addEventListener("click",g);function o(e){for(let t=d;tu("button",{class:"star star-empty","data-index":e}),1));const i=a.querySelectorAll(".star");a.addEventListener("mouseover",v);a.addEventListener("mouseleave",C);a.addEventListener("click",g);function o(e){for(let t=d;t59){var d=Math.floor(n/60);n=n-d*60,u.innerHTML=d+"m "+n+"s"}else u.innerHTML=n+"s"}else u.innerHTML="0s";if(e){for(var o=[],p=["a","able","about","above","abst","accordance","according","accordingly","across","act","actually","added","adj","affected","affecting","affects","after","afterwards","again","against","ah","all","almost","alone","along","already","also","although","always","am","among","amongst","an","and","announce","another","any","anybody","anyhow","anymore","anyone","anything","anyway","anyways","anywhere","apparently","approximately","are","aren","arent","arise","around","as","aside","ask","asking","at","auth","available","away","awfully","b","back","be","became","because","become","becomes","becoming","been","before","beforehand","begin","beginning","beginnings","begins","behind","being","believe","below","beside","besides","between","beyond","biol","both","brief","briefly","but","by","c","ca","came","can","cannot","can't","cause","causes","certain","certainly","co","com","come","comes","contain","containing","contains","could","couldnt","d","date","did","didn't","different","do","does","doesn't","doing","done","don't","down","downwards","due","during","e","each","ed","edu","effect","eg","eight","eighty","either","else","elsewhere","end","ending","enough","especially","et","et-al","etc","even","ever","every","everybody","everyone","everything","everywhere","ex","except","f","far","few","ff","fifth","first","five","fix","followed","following","follows","for","former","formerly","forth","found","four","from","further","furthermore","g","gave","get","gets","getting","give","given","gives","giving","go","goes","gone","got","gotten","h","had","happens","hardly","has","hasn't","have","haven't","having","he","hed","hence","her","here","hereafter","hereby","herein","heres","hereupon","hers","herself","hes","hi","hid","him","himself","his","hither","home","how","howbeit","however","hundred","i","id","ie","if","i'll","im","immediate","immediately","importance","important","in","inc","indeed","index","information","instead","into","invention","inward","is","isn't","it","itd","it'll","its","itself","i've","j","just","k","keep","keeps","kept","kg","km","know","known","knows","l","largely","last","lately","later","latter","latterly","least","less","lest","let","lets","like","liked","likely","line","little","'ll","look","looking","looks","ltd","m","made","mainly","make","makes","many","may","maybe","me","mean","means","meantime","meanwhile","merely","mg","might","million","miss","ml","more","moreover","most","mostly","mr","mrs","much","mug","must","my","myself","n","na","name","namely","nay","nd","near","nearly","necessarily","necessary","need","needs","neither","never","nevertheless","new","next","nine","ninety","no","nobody","non","none","nonetheless","noone","nor","normally","nos","not","noted","nothing","now","nowhere","o","obtain","obtained","obviously","of","off","often","oh","ok","okay","old","omitted","on","once","one","ones","only","onto","or","ord","other","others","otherwise","ought","our","ours","ourselves","out","outside","over","overall","owing","own","p","page","pages","part","particular","particularly","past","per","perhaps","placed","please","plus","poorly","possible","possibly","potentially","pp","predominantly","present","previously","primarily","probably","promptly","proud","provides","put","q","que","quickly","quite","qv","r","ran","rather","rd","re","readily","really","recent","recently","ref","refs","regarding","regardless","regards","related","relatively","research","respectively","resulted","resulting","results","right","run","s","said","same","saw","say","saying","says","sec","section","see","seeing","seem","seemed","seeming","seems","seen","self","selves","sent","seven","several","shall","she","shed","she'll","shes","should","shouldn't","show","showed","shown","showns","shows","significant","significantly","similar","similarly","since","six","slightly","so","some","somebody","somehow","someone","somethan","something","sometime","sometimes","somewhat","somewhere","soon","sorry","specifically","specified","specify","specifying","still","stop","strongly","sub","substantially","successfully","such","sufficiently","suggest","sup","sure","t","take","taken","taking","tell","tends","th","than","thank","thanks","thanx","that","that'll","thats","that've","the","their","theirs","them","themselves","then","thence","there","thereafter","thereby","thered","therefore","therein","there'll","thereof","therere","theres","thereto","thereupon","there've","these","they","theyd","they'll","theyre","they've","think","this","those","thou","though","thoughh","thousand","throug","through","throughout","thru","thus","til","tip","to","together","too","took","toward","towards","tried","tries","truly","try","trying","ts","twice","two","u","un","under","unfortunately","unless","unlike","unlikely","until","unto","up","upon","ups","us","use","used","useful","usefully","usefulness","uses","using","usually","v","value","various","'ve","very","via","viz","vol","vols","vs","w","want","wants","was","wasn't","way","we","wed","welcome","we'll","went","were","weren't","we've","what","whatever","what'll","whats","when","whence","whenever","where","whereafter","whereas","whereby","wherein","wheres","whereupon","wherever","whether","which","while","whim","whither","who","whod","whoever","whole","who'll","whom","whomever","whos","whose","why","widely","willing","wish","with","within","without","won't","words","world","would","wouldn't","www","x","y","yes","yet","you","youd","you'll","your","youre","yours","yourself","yourselves","you've","z","zero"],t=0;t"+s[t][0]+": "+s[t][1],v.appendChild(c)}}e?f.style.display="block":f.style.display="none"});l.addEventListener("click",function(){l.innerHTML="Fetching score...";var e="https://ipeirotis-readability-metrics.p.mashape.com/getReadabilityMetrics?text=",h=r.value,a=new XMLHttpRequest;a.open("POST",encodeURI(e+h),!0),a.setRequestHeader("Content-Type","application/x-www-form-urlencoded; charset=UTF-8"),a.setRequestHeader("X-Mashape-Authorization","PQ4FOFuaR6mshI6qpnQKQvkDZQXjp1o6Zcqjsnug7GvNggTzUE"),a.send(),a.onload=function(){this.status>=200&&this.status<400?l.innerHTML=T(JSON.parse(this.response).FLESCH_READING):l.innerHTML="Not available."},a.onerror=function(){l.innerHTML="Not available."}});function T(e){switch(!0){case e<=30:return"Readability: College graduate.";case(e>30&&e<=50):return"Readability: College level.";case(e>50&&e<=60):return"Readability: 10th - 12th grade.";case(e>60&&e<=70):return"Readability: 8th - 9th grade.";case(e>70&&e<=80):return"Readability: 7th grade.";case(e>80&&e<=90):return"Readability: 6th grade.";case(e>90&&e<=100):return"Readability: 5th grade.";default:return"Not available."}} +import"./header-BV02bT_J.js";import"./navbar-Dp-2B13D.js";var r=document.querySelectorAll("textarea")[0],L=document.querySelector("#characterCount"),g=document.querySelector("#wordCount"),w=document.querySelector("#sentenceCount"),m=document.querySelector("#paragraphCount"),u=document.querySelector("#readingTime"),l=document.querySelector("#readability"),f=document.querySelectorAll(".keywords")[0],v=document.querySelector("#topKeywords");r.addEventListener("keyup",function(){console.clear(),L.innerHTML=r.value.length;var e=r.value.match(/\b[-?(\w+)?]+\b/gi);if(e?g.innerHTML=e.length:g.innerHTML=0,e){var h=r.value.split(/[.|!|?]+/g);console.log(h),w.innerHTML=h.length-1}else w.innerHTML=0;if(e){var a=r.value.replace(/\n$/gm,"").split(/\n/);m.innerHTML=a.length}else m.innerHTML=0;if(e){var n=Math.floor(e.length*60/275);if(n>59){var d=Math.floor(n/60);n=n-d*60,u.innerHTML=d+"m "+n+"s"}else u.innerHTML=n+"s"}else u.innerHTML="0s";if(e){for(var o=[],p=["a","able","about","above","abst","accordance","according","accordingly","across","act","actually","added","adj","affected","affecting","affects","after","afterwards","again","against","ah","all","almost","alone","along","already","also","although","always","am","among","amongst","an","and","announce","another","any","anybody","anyhow","anymore","anyone","anything","anyway","anyways","anywhere","apparently","approximately","are","aren","arent","arise","around","as","aside","ask","asking","at","auth","available","away","awfully","b","back","be","became","because","become","becomes","becoming","been","before","beforehand","begin","beginning","beginnings","begins","behind","being","believe","below","beside","besides","between","beyond","biol","both","brief","briefly","but","by","c","ca","came","can","cannot","can't","cause","causes","certain","certainly","co","com","come","comes","contain","containing","contains","could","couldnt","d","date","did","didn't","different","do","does","doesn't","doing","done","don't","down","downwards","due","during","e","each","ed","edu","effect","eg","eight","eighty","either","else","elsewhere","end","ending","enough","especially","et","et-al","etc","even","ever","every","everybody","everyone","everything","everywhere","ex","except","f","far","few","ff","fifth","first","five","fix","followed","following","follows","for","former","formerly","forth","found","four","from","further","furthermore","g","gave","get","gets","getting","give","given","gives","giving","go","goes","gone","got","gotten","h","had","happens","hardly","has","hasn't","have","haven't","having","he","hed","hence","her","here","hereafter","hereby","herein","heres","hereupon","hers","herself","hes","hi","hid","him","himself","his","hither","home","how","howbeit","however","hundred","i","id","ie","if","i'll","im","immediate","immediately","importance","important","in","inc","indeed","index","information","instead","into","invention","inward","is","isn't","it","itd","it'll","its","itself","i've","j","just","k","keep","keeps","kept","kg","km","know","known","knows","l","largely","last","lately","later","latter","latterly","least","less","lest","let","lets","like","liked","likely","line","little","'ll","look","looking","looks","ltd","m","made","mainly","make","makes","many","may","maybe","me","mean","means","meantime","meanwhile","merely","mg","might","million","miss","ml","more","moreover","most","mostly","mr","mrs","much","mug","must","my","myself","n","na","name","namely","nay","nd","near","nearly","necessarily","necessary","need","needs","neither","never","nevertheless","new","next","nine","ninety","no","nobody","non","none","nonetheless","noone","nor","normally","nos","not","noted","nothing","now","nowhere","o","obtain","obtained","obviously","of","off","often","oh","ok","okay","old","omitted","on","once","one","ones","only","onto","or","ord","other","others","otherwise","ought","our","ours","ourselves","out","outside","over","overall","owing","own","p","page","pages","part","particular","particularly","past","per","perhaps","placed","please","plus","poorly","possible","possibly","potentially","pp","predominantly","present","previously","primarily","probably","promptly","proud","provides","put","q","que","quickly","quite","qv","r","ran","rather","rd","re","readily","really","recent","recently","ref","refs","regarding","regardless","regards","related","relatively","research","respectively","resulted","resulting","results","right","run","s","said","same","saw","say","saying","says","sec","section","see","seeing","seem","seemed","seeming","seems","seen","self","selves","sent","seven","several","shall","she","shed","she'll","shes","should","shouldn't","show","showed","shown","showns","shows","significant","significantly","similar","similarly","since","six","slightly","so","some","somebody","somehow","someone","somethan","something","sometime","sometimes","somewhat","somewhere","soon","sorry","specifically","specified","specify","specifying","still","stop","strongly","sub","substantially","successfully","such","sufficiently","suggest","sup","sure","t","take","taken","taking","tell","tends","th","than","thank","thanks","thanx","that","that'll","thats","that've","the","their","theirs","them","themselves","then","thence","there","thereafter","thereby","thered","therefore","therein","there'll","thereof","therere","theres","thereto","thereupon","there've","these","they","theyd","they'll","theyre","they've","think","this","those","thou","though","thoughh","thousand","throug","through","throughout","thru","thus","til","tip","to","together","too","took","toward","towards","tried","tries","truly","try","trying","ts","twice","two","u","un","under","unfortunately","unless","unlike","unlikely","until","unto","up","upon","ups","us","use","used","useful","usefully","usefulness","uses","using","usually","v","value","various","'ve","very","via","viz","vol","vols","vs","w","want","wants","was","wasn't","way","we","wed","welcome","we'll","went","were","weren't","we've","what","whatever","what'll","whats","when","whence","whenever","where","whereafter","whereas","whereby","wherein","wheres","whereupon","wherever","whether","which","while","whim","whither","who","whod","whoever","whole","who'll","whom","whomever","whos","whose","why","widely","willing","wish","with","within","without","won't","words","world","would","wouldn't","www","x","y","yes","yet","you","youd","you'll","your","youre","yours","yourself","yourselves","you've","z","zero"],t=0;t"+s[t][0]+": "+s[t][1],v.appendChild(c)}}e?f.style.display="block":f.style.display="none"});l.addEventListener("click",function(){l.innerHTML="Fetching score...";var e="https://ipeirotis-readability-metrics.p.mashape.com/getReadabilityMetrics?text=",h=r.value,a=new XMLHttpRequest;a.open("POST",encodeURI(e+h),!0),a.setRequestHeader("Content-Type","application/x-www-form-urlencoded; charset=UTF-8"),a.setRequestHeader("X-Mashape-Authorization","PQ4FOFuaR6mshI6qpnQKQvkDZQXjp1o6Zcqjsnug7GvNggTzUE"),a.send(),a.onload=function(){this.status>=200&&this.status<400?l.innerHTML=T(JSON.parse(this.response).FLESCH_READING):l.innerHTML="Not available."},a.onerror=function(){l.innerHTML="Not available."}});function T(e){switch(!0){case e<=30:return"Readability: College graduate.";case(e>30&&e<=50):return"Readability: College level.";case(e>50&&e<=60):return"Readability: 10th - 12th grade.";case(e>60&&e<=70):return"Readability: 8th - 9th grade.";case(e>70&&e<=80):return"Readability: 7th grade.";case(e>80&&e<=90):return"Readability: 6th grade.";case(e>90&&e<=100):return"Readability: 5th grade.";default:return"Not available."}} diff --git a/docs/javascript/assets/index-utIVQtss.js b/docs/javascript/assets/index-JlTYHVe2.js similarity index 96% rename from docs/javascript/assets/index-utIVQtss.js rename to docs/javascript/assets/index-JlTYHVe2.js index 76cf8518e..10a51b781 100644 --- a/docs/javascript/assets/index-utIVQtss.js +++ b/docs/javascript/assets/index-JlTYHVe2.js @@ -1,4 +1,4 @@ -import"./header-V3hWii48.js";import"./navbar-IV3mLr91.js";const d=document.getElementById("noun"),i=document.getElementById("verb"),r=document.getElementById("adjective"),c=document.getElementById("adverb"),s=document.getElementById("generate"),u=document.getElementById("play-again"),y=document.getElementById("share-story-twitter"),a=document.getElementById("story");function h(){const e=d.value,t=i.value,n=r.value,o=c.value,l=` +import"./header-BV02bT_J.js";import"./navbar-Dp-2B13D.js";const d=document.getElementById("noun"),i=document.getElementById("verb"),r=document.getElementById("adjective"),c=document.getElementById("adverb"),s=document.getElementById("generate"),u=document.getElementById("play-again"),y=document.getElementById("share-story-twitter"),a=document.getElementById("story");function h(){const e=d.value,t=i.value,n=r.value,o=c.value,l=` In a fantastical realm, there resided a ${e} of incredible bravery. From a young age, this ${e} aspired to ${t} ${n}ly, diligently honing their skills ${o}. One magical day, while ${t}ing near the ancient ${e}, they stumbled upon an enchanted ${e}. diff --git a/docs/javascript/assets/index-LRadN__9.js b/docs/javascript/assets/index-KE8ezX-6.js similarity index 93% rename from docs/javascript/assets/index-LRadN__9.js rename to docs/javascript/assets/index-KE8ezX-6.js index cebadeaa2..981c7f768 100644 --- a/docs/javascript/assets/index-LRadN__9.js +++ b/docs/javascript/assets/index-KE8ezX-6.js @@ -1 +1 @@ -import"./header-V3hWii48.js";import"./navbar-IV3mLr91.js";const d=document.getElementById("generate"),r=document.getElementById("play"),u=9,o=[];s();function s(){for(let t=0;tt[e]&&(i=!0,n.push({indices:[e-1,e],type:"swap"}),[t[e-1],t[e]]=[t[e],t[e-1]])}while(i);return n}function c(t){container.innerHTML="";for(let n=0;nt[e]&&(i=!0,n.push({indices:[e-1,e],type:"swap"}),[t[e-1],t[e]]=[t[e],t[e-1]])}while(i);return n}function c(t){container.innerHTML="";for(let n=0;n{if(e.target.className.includes("choice")){const t=e.target.id,o=Math.floor(Math.random()*3);document.getElementById("computer").style.display="block",d.src=a[o];const c=u(t,p[o]);r(c)}});l.addEventListener("click",e=>{i=0,s=0,r("Choose your weapon!"),document.getElementById("computer").style.display="none",document.getElementById("scoreboard").style.display="none"}); +import"./header-BV02bT_J.js";import"./navbar-Dp-2B13D.js";const n="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAOEAAADhCAMAAAAJbSJIAAAAgVBMVEX+/v79/f3///8AAAAHBwf39/fp6enw8PDh4eHg4ODk5ORXV1f6+vq9vb2mpqarq6uRkZHLy8uysrLW1taBgYFpaWlzc3OZmZm7u7vExMSJiYmdnZ1BQUFfX19QUFB5eXlGRkY7OzsrKytsbGw0NDQkJCQREREfHx8vLy8gICAWFhYYN8IfAAANl0lEQVR4nO1d2Zajug4FCZKQkUBC5nmo4f8/8Eo2mQ0Y+txlXIv91KeqOse7ZWuWynEaNGjQoEGDBg0aNGjQoEGDBg0aNGhQI0AK0+f4/4CZDXr73XDccv8iSYBgHk6W0WA8miLi4c9JElr7Xft2R2G8I5Kn+A9RBFjiAhw3BV/YxQYx/DNyBBhu++A+g77WnmFv+Tcogu+tHgK8gwQ4xOQvXFWAryV88EsFmfBVNX3CfwWsLmqCguMCe13LKYKPQSZDuqvtNUZ2ixHCSQ5Bfo4zvLgWU4Qx9j+1zCvHGBOLpQjrWa4I5U31ph1bKUIH/UKGLrh7HFtKEaJNMUHWqTMcWUkRoDfQYUhiHNgpRQjRKdAzd4ozHFhIEa5al1RS7KF9tp+s/UifYR+xZRtF0qQtbYYumc6DdQwX2S6piuIS25ZRBCw2909w4HtjF0PoYqcMQ5cijZlVFGH1W4ogUTyiVU44XDJC3zwhDi1iCP19VJKhC2u0KMyAqIytSBnGOLGI4RDLEhSejT3KBnrbCgwDpHjL9NE1AetdeYYuTDG0huEqrMKwa40QISivSgXFBDd9KyhCcB5XYthCzw73lKL2vERpDsWTJWafjEVpcygZ0ku0wuzDDH3NDMY7xS1GVjCcFOaCsxgOcG0Fw11Vhk4frQiFYVOVIV9TG/Ju5GFWZhha4ZwSw2q6VISJNkQYxDCuyrBrC8N5RYaOgxcbGHKQUI0h52ssaGGA7qVsfHj/cdLDNth80vm6ZZmU1wJSjuQtWPIQF+XSpcE2kI035NPubWC4xKTcNYUAkz5zhDk536bPXwyyaqjohcql2J/iiq4qjK3w27hcplkBvsOB2OP+mhhtUKYcP5XPtnF/zX70i3Z4pnRNy4f5DrS2iB63a9Ye4CPqV7mfxThI24hNMygEP6dy9bUbRzdE3A/btScJgNir5Lk50OZOacGx1iRZ61dKKfJVbZ2II26HrVqzJL/mu7L7Da0Jc8TvWVDfMQ2IEEtmvgWX2x/9UY85npNwsej268iTrX4Z/1vOZTzKAdzWHw+TC0psJ6PYrxlL9jC1S1DEJ9rjdvnydOUoUWew2q0lzc2kWyuS0ELNbAYdeoTnyL1f0g+a0B4Pky9mOR1160MSDvhb7IAThdYS1zHk/qikOZgwy+uyLveVyxAFURQdtD/f4j5WSE9NsxXt2CUIhOSNg32wVfbRWZesSGMmgRa/B8t4yfc1bNeAI1wzwyg6aDCjb/eifgl+t7/rByxKHBnnCG3M8E/BJ//zQroz//llQeifiD1D4xTJeVNoGy4xfo/aFendP8Tf16AGAHuFVQS3h2OVaSgJgLX53CPFwt574g3a12P/kx48eW26FCkONV4XBwrbXws1ZES+VARHs9E8bpW7uaytTTdQA1CYcHk6Nfc+tRWicvpBlPAM7aIMRzjh1LgQ2+Q9nx5p+w5eVQRT/diOyEDO9A2I43JGyDRFfoq3mIGuaM/Jm9kjkqG05ppCHKD5iRQKhr3UByfVsC46Ozly5LPsWpp3lT7deA6ZNZ7UNg6clW/wDRSW0LF3/fuQey7DNuf1zDJku+/hAURlKcdPfZEjXb5rFIwnp9Nule+3wor9JtMUQ6K4AnqEB10VAv5GRL2H5HTB/TiPI3xTCGOYIVtFjxTCukTVjUfa6S+54EC8wV47+1lCjEfTL5G055VOi+VKUhD8khJxfb8P8UVUprJ+MCFzZJihiIY9D0vNCpH4pniNwWeOMzxmJtFZ2RgPMoRV9MhUlGFISnXEjidR9KF7yBYjaTDj7mlq+EvX3Pimbvy+EOMQ9xmjxSTEOgy/cSBVoap4v6m+09pnlXtgZtwkOjLg1zYWD3C5lSfh+izGSUYxhLzdOlQdOZCqVHGbIx6jls9l/kjdbkWKbFcHhkmVyrArDB7DO0U+/VGZ2gLs1YFhWLpY80TRE/Z0mFE/h6QOzcXpg6pEkcwpfnUiliQeVQznX3VguKrM0IWWx1a9LVoZFGPipMZq0KTCjqb+DPsHRRT5uZHw/RTf/zbvfYtbWraR6IlCRwZgLEaF/06PvAaOW6hbblNTjEWZB+hj9gqGY7IjxhkmWLkBXJC45XqWio9xHDybZ7ivZvE/yChXUsDGeLsYa/wqjVKfgLNiAxXpIMO+KSvDf7qkT2R2UwXDjuHOVIAzVm9wf2d4UtmLq9mEFCf3Nar6egzXqj1p9H8wWYiioMCr2gb2yUWZk4SBySZ4HoD9j9SMcFJVIRSpWHOBPme9PXW2u8LFpXhR6TjAGo0NSpMl9NTZbqelsdXtnckEXdW/Czk7pspQFFR4+K2SFncbzMuWu+FHFT+JwTdDNp8foaeO7h3/F3FaTowUKKn75cgibg0x5DuasQdTlidK+eMk94xMAfz+GGFI7pSHXpZGEW0xpewIOfAZ2R56iCZUDV0q76Md4+VcnGca6utUyPTfKegw4dWQIfZQ4Uc+Hax95hY/3bJ2nPlpxNDE8j7S7Rmm8HEyjhy/NcvaYllmxrcmJhgKb6ZoL5boCufCiwZH+M6MUGBqhGFYKEJxuPZavMbiH2xll+jgaIThQS/uFSVfvBaaf/IesmIwx8GrAU0DGpc0PTtn0fAc5F9VklNWZYB0kIFSMNsKunw6DEmMc06GLnO7EuLsQRVSpQbCJ6FotNPA0OdZmd+czguxpEf9LbouJlYSC4aaMhSnDFjj9LIsB2ezstQWP2QTisYnhmWm2KQXh0tX7Vxv8ZwjQiMVNsiMfTM5umKsa6G4qsw+S5OSWTobyevDjhiWy7GlV3XbeecIwWfD8f17LTyY2bcs2vV11rO/HFdq1Wn80rXHvbde1goqur+mmjBF8JT/WxJUB5ZX9SxmSdMvjZlghkND99dYdY0smFfyJTIc6MrWve2oJVswQ1HpVo8ZkUK7OuYSbdzSpkpSFwCgs5NTeV/JbBj+ED8vy/LAxuTSc7JTdLIqk910P+dTfEJWKA0LCkyMERRz3eVs4gP0l51FIthdJgPupu4q2/zxy2gBmBSj51Wu/t5/KR2IwVtVppQCaMNtCvRKSrclvrKUA8UU3qu2aJOSXZqujfbfX1C5FUR3KiuVz0Zuk/m1RCJj+pQ/clzteYo3hopg2kx25p0hW/2nHCA5ILtu+dE8YviZZoOO+bkg8csg6Jo+EkhcD8btoPSo2kphV82knz4YwutDhFhO2IetcpNqs08Zkt9bg2aoNIZ6CvWBe9ywrCDJcft4hzA512KBNFzeYyjwZ6LRkIJd7RdJkdh7koZEaNpSSMAR351mXhRxkBy3cz1BKpqMibTxyTUBUi2fjhtxjJObIDsaggSONF9+ipt0zDfsMeCg7nwF8Iff8kWuCwfzRVbrtQ4Hp7psqoc1K1OVJ8OC3KWCTPKXY3CQ8qpqxKiYaW4S7Jmq4wIhSDdK97N8R05OrnT77sHTx9ZhCIEBSz5cZhs70eosby8yy6ETpVbveWpaLqMyzU2C81H5LUP8m623UpBJV8mR7L2I8sNn16g+G2s5qVgQI/KimlAKcqPY5gIuCoYPZcM93+a3RtwgO06KBkpYkHvBcb14M5HAE83iM8QCSbHEhb5Qo98WwZVSr7jpghdiyazFz0r+Om9HhvktYh7RB2z3nJpaRguxnsB84/MTuJ7vcVK+yLDLiXxhIsNB0CYr2e+KhNSCLX7UT+55KYp8a8UQvoQunGpUsgFGa3zDrsUpLeTk6S3/NqwVQdkGzRSzxiTfLms7Oj3xC32+r4hX4H8rNx4MdlPj2yI+IHow+aZqDXSLtVfjeRSNokEg1A53css1ylDHHXwM3sAqKOqtHXDd16UKvPe1BgmLXMDNalcaf+KporozlHMzz1a7FMMN7o0vTSoGxAdhNUhvlF2bRKp0bXx3ggZ4DYjwLiFYb5OorZ2LYh+mDoOixeDkqagojmQuSnclHT9DOxhKirhj1Sine0/vTqia4R6t2LnPgJNMEI93eCO5jItIiu6qeuTVisE9FZyYIgiSguNxlf8kxdRNjUKJfMi0DYX8zgvJXl56WCx+s4WgLHynRpFJzrc3kpOs2wpdkVM2fXJdcC8YE0r71zm6n32lHH/CQEESRIGuBitadCEyU0Kh3jISdFs3N0F+h/GbLwD9PQqhmz64NsCRSRc8PPY/UcA0u+tWTAbtRwGfW6Toy7/2EJSLTb30pj5yZwCi8cKTJH+S1SAOgvFol37NZEdJeXCboaR4jR4cnXsLTcry3kjD/12LMpo+ZDJCELk8d1qybl1Mft+TGJ5Xg31eJUGu9/ArlePhpfGZSbYXq910f7x8XTbL1TwYidWLpo9cGiDq+5LjNn7Pj75gULPMoTZY4eCNY14D+xHNbwyuBgi2vTvH8yDDMxW933XMPOngZuwkx9+hqxIkXNAij+0T7JHdOeLyswNFDPjZkL/IxD2+kBx7H1WZI9pnKt7Av0MgeRbkcwlRRIYWmoo3cPvo/kmQ27sgRVtpXcr1/waAKNnefDQK+kep783bXc1vSPpvQHT8xeRyd0uP02VIDhyPgv8Rho6T/lqHy/22yrK3RYGhFkDux/a8m+apQXvlfw3ulXrUSP+aBCXosnbDyWSyGfTdP0mQcQ8sTB+kQYMGDRo0aNCgQYMGDRo0aNCgQYMGOvgfWX2tFrstbVwAAAAASUVORK5CYII=",g="data:image/png;base64,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",A="/frontend-mini-challenges/javascript/assets/scissors-ldlfiUSM.png",p=["rock","paper","scissors"],a=[n,g,A],d=document.getElementById("computer-choice"),h=document.querySelector("#player"),l=document.querySelector("#btnReset");let i=0,s=0;function u(e,t){return e===t?"It's a draw!":e==="rock"&&t==="scissors"||e==="scissors"&&t==="paper"||e==="paper"&&t==="rock"?(i++,"You win!"):(s++,"Computer wins!")}function r(e){const t=document.getElementById("result");t.textContent=e,document.getElementById("scoreboard").style.display="grid";const o=document.getElementById("playerScore");o.textContent=i;const c=document.getElementById("computerScore");c.textContent=s}h.addEventListener("click",e=>{if(e.target.className.includes("choice")){const t=e.target.id,o=Math.floor(Math.random()*3);document.getElementById("computer").style.display="block",d.src=a[o];const c=u(t,p[o]);r(c)}});l.addEventListener("click",e=>{i=0,s=0,r("Choose your weapon!"),document.getElementById("computer").style.display="none",document.getElementById("scoreboard").style.display="none"}); diff --git a/docs/javascript/assets/index-urI24y-r.js b/docs/javascript/assets/index-OPFOuI63.js similarity index 79% rename from docs/javascript/assets/index-urI24y-r.js rename to docs/javascript/assets/index-OPFOuI63.js index 3f6b66d99..c66a2573e 100644 --- a/docs/javascript/assets/index-urI24y-r.js +++ b/docs/javascript/assets/index-OPFOuI63.js @@ -1 +1 @@ -import"./header-V3hWii48.js";import"./navbar-IV3mLr91.js";const e=document.getElementById("themeSwitch"),t=document.getElementById("innnerThemeSwitch");e.addEventListener("change",function(){e.checked?(document.body.classList.add("dark"),t.checked=!0):(document.body.classList.remove("dark"),t.checked=!1)}); +import"./header-BV02bT_J.js";import"./navbar-Dp-2B13D.js";const e=document.getElementById("themeSwitch"),t=document.getElementById("innnerThemeSwitch");e.addEventListener("change",function(){e.checked?(document.body.classList.add("dark"),t.checked=!0):(document.body.classList.remove("dark"),t.checked=!1)}); diff --git a/docs/javascript/assets/index-aN0hKiiz.js b/docs/javascript/assets/index-PD96617_.js similarity index 85% rename from docs/javascript/assets/index-aN0hKiiz.js rename to docs/javascript/assets/index-PD96617_.js index 675a40c3d..3002688b3 100644 --- a/docs/javascript/assets/index-aN0hKiiz.js +++ b/docs/javascript/assets/index-PD96617_.js @@ -1 +1 @@ -import"./header-V3hWii48.js";import"./navbar-IV3mLr91.js";const r=document.querySelector(".second-text"),s=["Student","Developer","Writer"];function i(n){return new Promise(t=>setTimeout(t,n))}async function a(n,t,o=200){await i(o);for(let e=0;esetTimeout(t,n))}async function a(n,t,o=200){await i(o);for(let e=0;e{o.showModal()});e.addEventListener("click",()=>{o.close("")}); +import"./header-BV02bT_J.js";import"./navbar-Dp-2B13D.js";const t=document.getElementById("showDialog"),o=document.getElementById("dialogPopup"),e=document.getElementById("closeDialog");t.addEventListener("click",()=>{o.showModal()});e.addEventListener("click",()=>{o.close("")}); diff --git a/docs/javascript/assets/index-CXxK7lRD.js b/docs/javascript/assets/index-RNWD4UDO.js similarity index 99% rename from docs/javascript/assets/index-CXxK7lRD.js rename to docs/javascript/assets/index-RNWD4UDO.js index 5b7445bb5..9d9472545 100644 --- a/docs/javascript/assets/index-CXxK7lRD.js +++ b/docs/javascript/assets/index-RNWD4UDO.js @@ -1 +1 @@ -import"./header-V3hWii48.js";import"./navbar-IV3mLr91.js";const v=[{question:"A flashing red traffic light signifies that a driver should do what?",options:["stop","speed up","proceed with caution","honk the horn"],correct:"stop",id:"0"},{question:"A knish is traditionally stuffed with what filling?",options:["potato","creamed corn","lemon custard","raspberry jelly"],correct:"potato",id:"1"},{question:"A pita is a type of what?",options:["fresh fruit","flat bread","French tart","friend bean dip"],correct:"flat bread",id:"2"},{question:"A portrait that comically exaggerates a person's physical traits is called a what?",options:["landscape","caricature","still life","Impressionism"],correct:"caricature",id:"3"},{question:"A second-year college student is usually called a what?",options:["sophomore","senior","freshman ","junior "],correct:"sophomore",id:"4"},{question:"A student who earns a J.D. can begin his or her career as a what?",options:["lawyer","bricklayer","doctor","accountant"],correct:"lawyer",id:"5"},{question:"A triptych is a work of art that is painted on how many panels?",options:["two","three","five","eight"],correct:"three",id:"6"},{question:"According to a famous line from the existentialist play 'No Exit' what is hell?",options:["oneself","other people","little made large","hued in green and blue"],correct:"other people",id:"7"},{question:"According to a popular slogan, what state should people not 'mess with'?",options:["New York","Texas","Montana","Rhode Island"],correct:"Texas",id:"8"},{question:"According to a Yale University study, what smell is the most recognizable to American adults?",options:["tuna","laundry","popcorn","coffee"],correct:"coffee",id:"9"},{question:"According to folklore, the 'jackalope' is an antlered version of what animal?",options:["chicken","rabbit","moose","snake"],correct:"rabbit",id:"10"},{question:"According to Greek mythology, who was Apollo's twin sister?",options:["Aphrodite","Artemis","Venus","Athena"],correct:"Artemis",id:"11"},{question:"According to legend, if you give someone the 'evil eye' what are you doing?",options:["cursing them","blessing a child","counting money","passing time"],correct:"cursing them",id:"12"},{question:"According to legend, in what country are you most likely to meet a leprechaun?",options:["Ireland","Poland","Greenland","Scotland"],correct:"Ireland",id:"13"},{question:"According to the American Kennel Club, what is the most popular breed of dog in the US as of 1999?",options:["Poodle","Beagle","German shepherd","Labrador retriever"],correct:"Labrador retriever",id:"14"},{question:"According to the Bible, Moses and Aaron had a sister named what?",options:["Jochebed","Ruth","Leah","Miriam"],correct:"Miriam",id:"15"},{question:"According to the children's nursery rhyme, what type of ocean did Columbus sail in 1492?",options:["calm","blue","windy","really big"],correct:"blue",id:"16"},{question:"According to the Mother Goose nursery rhyme, which child is full of woe?",options:["Monday's child","Wednesday's child","Thursday's child","Saturday's child"],correct:"Wednesday's child",id:"17"},{question:"According to the popular saying, what should you do 'when in Rome'?",options:["watch your wallet","see the Coliseum","as the Romans do","don't drink the water"],correct:"as the Romans do",id:"18"},{question:"According to the proverb, necessity is the mother of what?",options:["Invention","Luck","Problems","Procrastination"],correct:"Invention",id:"19"},{question:"According to the title of a popular children's TV show, what color is Bear's big house?",options:["red","green","purple","blue"],correct:"blue",id:"20"},{question:"According to the USDA, which food group should you eat the most servings of per day?",options:["vegetables","dairy","meats","breads"],correct:"breads",id:"21"},{question:"Ada Lovelace is credited with being the first person to have made what?",options:["a computer program","a souffle","a brassiere","a mystery novel"],correct:"a computer program",id:"22"},{question:"After Prince Charles, who is next in line to be the king of England?",options:["Prince William","Prince Andrew","Prince Edward","Fresh Prince"],correct:"Prince William",id:"23"},{question:"An airplane's black box is usually what color?",options:["black","white","orange","purple"],correct:"orange",id:"24"},{question:"As of 1999, which state has the most Girl Scouts?",options:["California","Illinois","New York","Pennsylvania"],correct:"California",id:"25"},{question:"Astronaut John Glenn served as a pilot in what branch of the military?",options:["Army","Air Force","Marines","Navy"],correct:"Marines",id:"26"},{question:"At the equator, how fast is the earth's surface turning?",options:["about 100 miles per hour","about 500 miles per hour","about 1000 miles per hour","about 2000 miles per hour"],correct:"about 1000 miles per hour",id:"27"},{question:"At what age can someone first attend an R-rated movie without an accompanying adult?",options:["15","17","18","21"],correct:"18",id:"28"},{question:"Backgammon is a how many player game?",options:["Two","Three","Four","Six"],correct:"Two",id:"29"},{question:"Before he went into coaching, Phil Jackson played for which of the following NBA teams?",options:["Boston Celtics","Los Angeles Lakers","New York Knicks","Philadelphia 76ers"],correct:"New York Knicks",id:"30"},{question:"By what name is Bob Keeshan better known?",options:["Bozo the Clown","Pee Wee Herman","Captain Kangaroo","Buffalo Bob"],correct:"Captain Kangaroo",id:"31"},{question:"By what collective name do Christians refer to God the Father, God the Son and the Holy Ghost?",options:["the Trio","the Troika","the Triumvirate","the Trinity"],correct:"the Trinity",id:"32"},{question:"By what nickname is the Federal National Mortgage Association known?",options:["Morty","FEMA","Freddie Mac","Fannie Mae"],correct:"Fannie Mae",id:"33"},{question:"Cheddar cheese got its name from a village in what country?",options:["England","France","Switzerland","Denmark"],correct:"England",id:"34"},{question:"Cheese is a necessary ingredient in which of these dishes?",options:["sushi","french fries","veal parmigiano","chicken pot pie"],correct:"veal parmigiano",id:"35"},{question:"During what war did Francis Scott Key write the words to 'The Star-Spangled Banner'?",options:["American Revolution","War of 1812","Civil War","World War I"],correct:"War of 1812",id:"36"},{question:"During which war did US troops fight the Battle of New Orleans?",options:["American Revolution","Civil War","Mexican War","War of 1812"],correct:"War of 1812",id:"37"},{question:"Each year in pro baseball, the player voted as the best fielder at his position wins what?",options:["a brand new car","the Gold Glove","the Silver Bat","the Brass Baseball"],correct:"the Gold Glove",id:"38"},{question:"Elephant tusks are made of what material?",options:["coral","ivory","bone","calcium"],correct:"ivory",id:"39"},{question:"Excluding wisdom teeth, how many adult teeth do humans have?",options:["28","32","35","40"],correct:"28",id:"40"},{question:"For a man and woman on a date, 'dutch treat' means what?",options:["the man pays","the woman pays","the Dutch pay","each pays their own way"],correct:"each pays their own way",id:"41"},{question:"For what purpose would you use an awl?",options:["to shoot ducks","to polish floors","to make holes","to weigh fruit"],correct:"to make holes",id:"42"},{question:"From 1971 to 1997, the Democratic Republic of Congo was known as what?",options:["Zaire","Angola","Rhodesia","Belgian Congo"],correct:"Zaire",id:"43"},{question:"From what language does the term 'R.S.V.P.' originate?",options:["Russian","Italian","Portuguese","French"],correct:"French",id:"44"},{question:"From whom does the Lutheran Church get its name?",options:["Martin Luther King Jr","Martin Luther","Luther Vandross","Lex Luthor"],correct:"Martin Luther",id:"45"},{question:"Gerry Adams is the president of what organization?",options:["Greenpeace","NASCAR","Sinn Fein","PLO"],correct:"Sinn Fein",id:"46"},{question:"Girls of what religious community traditionally wear bonnets?",options:["Amish","Sikh","Roman Catholic","Christian"],correct:"Amish",id:"47"},{question:"How are actors Charlie Sheen and Emilio Estevez related?",options:["they're cousins","they're brothers","they're father and son","they're uncle and nephew"],correct:"they're brothers",id:"48"},{question:"How do you express 3/4 as a decimal?",options:[".25",".50",".75",".90"],correct:".75",id:"49"},{question:"How is 4:00 pm expressed in military time?",options:["1600","004","0400 ","4:00"],correct:"1600",id:"50"},{question:"How is the Arabic numeral for '2' written?",options:["2","II","I","ii"],correct:"2",id:"51"},{question:"How is the word 'ambulance' normally written on the front of American ambulances?",options:["in French","in reverse","in braille","in gibberish"],correct:"in reverse",id:"52"},{question:"How long is a single term in the US Senate?",options:["two years","four years","six years","eight years"],correct:"six years",id:"53"},{question:"How long is the time on an NBA shot clock?",options:["18 seconds","24 seconds","30 seconds","35 seconds"],correct:"24 seconds",id:"54"},{question:"How many $100 bills does it take to equal one million dollars?",options:["one thousand","five thousand","ten thousand","one hundred thousand"],correct:"ten thousand",id:"55"},{question:"How many axles does a standard automobile have?",options:["one","two","four","eight"],correct:"two",id:"56"},{question:"How many digits are in a standard Visa credit card number?",options:["12","15","16","20"],correct:"16",id:"57"},{question:"How many eyes does a Giraffe have?",options:["one","two","three","four"],correct:"two",id:"58"},{question:"How many innings are there in a regular Major League Baseball game?",options:["seven","eight","nine","ten"],correct:"nine",id:"59"},{question:"How many keys are on a standard piano?",options:["20","54","88","100"],correct:"88",id:"60"},{question:"How many men has actress Elizabeth Taylor been divorced from?",options:["five","six","seven","eight"],correct:"seven",id:"61"},{question:"How many ounces are in a pound?",options:["4","12","16","32"],correct:"16",id:"62"},{question:"How many periods are there in an ice hockey game?",options:["One","Two","Three","Four"],correct:"Three",id:"63"},{question:"How many quarts are there in a gallon?",options:["one","two","three","four"],correct:"four",id:"64"},{question:"How many ribs are there in the human body?",options:["18","24","30","42"],correct:"24",id:"65"},{question:"How many ships did Columbus set sail with on his initial voyage to the New World?",options:["Two","Three","Five","Ten"],correct:"Three",id:"66"},{question:"How many spikes are on the Statue of Liberty's crown?",options:["five","seven","nine","thirteen"],correct:"seven",id:"67"},{question:"How many stars are on the American flag?",options:["13","48","50","51"],correct:"50",id:"68"},{question:"How many states were in the Confederate States of America?",options:["11","13","16","22"],correct:"11",id:"69"},{question:"How much does Peanuts character Lucy charge for her psychiatric advice?",options:["5 cents","10 cents","75 cents","$125"],correct:"5 cents",id:"70"},{question:"How long is Hanukkah?",options:["one day","five days","eight days","two weeks"],correct:"eight days",id:"71"},{question:"Huffy, Schwinn and Raleigh are all brands of what?",options:["sportswear","dishwashers","cigarettes","bicycles"],correct:"bicycles",id:"72"},{question:"If a business files under Chapter 11 what is it doing?",options:["declaring bankruptcy","selling stock","buying a smaller","company suing the government"],correct:"declaring bankruptcy",id:"73"},{question:"If a piece of music is in 'common time' how many quarter notes are there per measure?",options:["one","four","five","ten"],correct:"four",id:"74"},{question:"If a ring has the number 925 stamped into it, it is most likely made of what material?",options:["platinum","gold","steel","silver"],correct:"silver",id:"75"},{question:"If Christmas Day is on a Saturday, then the following New Year's Day falls on what day of the week?",options:["Sunday","Monday","Friday","Saturday"],correct:"Saturday",id:"76"},{question:"If someone has cataracts, what part of their body might need an operation?",options:["ear","hand","eye","knee"],correct:"eye",id:"77"},{question:"If you are 'riding fakie' inside a 'half pipe' what are you probably doing?",options:["skiing","biking","snowboarding","surfing"],correct:"snowboarding",id:"78"},{question:"If you are truly afraid of the dark, what do you suffer from?",options:["hypnophobia","cryptophobia","hadephobia","nyctophobia"],correct:"nyctophobia",id:"79"}],l=document.querySelector(".time-left"),y=document.getElementById("container"),A=document.getElementById("next-button"),u=document.querySelector(".number-of-question"),h=document.getElementById("display-container"),w=document.querySelector(".score-container"),k=document.getElementById("restart"),L=document.getElementById("user-score"),f=document.querySelector(".start-screen"),C=document.getElementById("start-button");let r=0,p=0,s=10,c,n=[];function H(e,o){return e.sort(()=>Math.random()-.5).slice(0,o)}function g(){r+=1,clearInterval(c),r===n.length?(h.classList.add("hide"),w.classList.remove("hide"),L.innerHTML="Your score is "+p+" out of "+n.length):(s=10,l.innerHTML=`${s}s`,u.innerHTML=r+1+" of "+n.length+" Question",b(r),q())}k.addEventListener("click",()=>{m(),h.classList.remove("hide"),w.classList.add("hide")});A.addEventListener("click",g);const q=()=>{c=setInterval(()=>{s--,l.innerHTML=`${s}s`,s===0&&(clearInterval(c),g())},1e3)},b=e=>{const o=document.querySelectorAll(".container-mid");e{t.classList.add("hide")}),o[e].classList.remove("hide"))};function S(){for(const e of n){const o=document.createElement("div");o.classList.add("container-mid","hide"),u.innerHTML="1 of "+n.length+" Question";const t=document.createElement("p");t.classList.add("question"),t.innerHTML=e.question,o.appendChild(t);for(let a=0;aI(i,e),o.appendChild(i)}y.appendChild(o)}}function I(e,o){const t=e.textContent,a=o.correct,i=e.parentElement.querySelectorAll(".option-div");if(t===a)e.classList.add("correct"),p++;else{e.classList.add("incorrect");for(const d of i)d.textContent===a&&d.classList.add("correct")}clearInterval(c),i.forEach(d=>{d.disabled=!0})}function m(){y.innerHTML="",r=0,p=0,s=10,c&&clearInterval(c),l.innerHTML=`${s}s`,u.innerHTML=r+1+" of "+n.length+" Question",S(),b(r),q()}C.addEventListener("click",()=>{f.classList.add("hide"),h.classList.remove("hide"),m()});window.onload=()=>{f.classList.remove("hide"),h.classList.add("hide")};n=H(v,10);m(); +import"./header-BV02bT_J.js";import"./navbar-Dp-2B13D.js";const v=[{question:"A flashing red traffic light signifies that a driver should do what?",options:["stop","speed up","proceed with caution","honk the horn"],correct:"stop",id:"0"},{question:"A knish is traditionally stuffed with what filling?",options:["potato","creamed corn","lemon custard","raspberry jelly"],correct:"potato",id:"1"},{question:"A pita is a type of what?",options:["fresh fruit","flat bread","French tart","friend bean dip"],correct:"flat bread",id:"2"},{question:"A portrait that comically exaggerates a person's physical traits is called a what?",options:["landscape","caricature","still life","Impressionism"],correct:"caricature",id:"3"},{question:"A second-year college student is usually called a what?",options:["sophomore","senior","freshman ","junior "],correct:"sophomore",id:"4"},{question:"A student who earns a J.D. can begin his or her career as a what?",options:["lawyer","bricklayer","doctor","accountant"],correct:"lawyer",id:"5"},{question:"A triptych is a work of art that is painted on how many panels?",options:["two","three","five","eight"],correct:"three",id:"6"},{question:"According to a famous line from the existentialist play 'No Exit' what is hell?",options:["oneself","other people","little made large","hued in green and blue"],correct:"other people",id:"7"},{question:"According to a popular slogan, what state should people not 'mess with'?",options:["New York","Texas","Montana","Rhode Island"],correct:"Texas",id:"8"},{question:"According to a Yale University study, what smell is the most recognizable to American adults?",options:["tuna","laundry","popcorn","coffee"],correct:"coffee",id:"9"},{question:"According to folklore, the 'jackalope' is an antlered version of what animal?",options:["chicken","rabbit","moose","snake"],correct:"rabbit",id:"10"},{question:"According to Greek mythology, who was Apollo's twin sister?",options:["Aphrodite","Artemis","Venus","Athena"],correct:"Artemis",id:"11"},{question:"According to legend, if you give someone the 'evil eye' what are you doing?",options:["cursing them","blessing a child","counting money","passing time"],correct:"cursing them",id:"12"},{question:"According to legend, in what country are you most likely to meet a leprechaun?",options:["Ireland","Poland","Greenland","Scotland"],correct:"Ireland",id:"13"},{question:"According to the American Kennel Club, what is the most popular breed of dog in the US as of 1999?",options:["Poodle","Beagle","German shepherd","Labrador retriever"],correct:"Labrador retriever",id:"14"},{question:"According to the Bible, Moses and Aaron had a sister named what?",options:["Jochebed","Ruth","Leah","Miriam"],correct:"Miriam",id:"15"},{question:"According to the children's nursery rhyme, what type of ocean did Columbus sail in 1492?",options:["calm","blue","windy","really big"],correct:"blue",id:"16"},{question:"According to the Mother Goose nursery rhyme, which child is full of woe?",options:["Monday's child","Wednesday's child","Thursday's child","Saturday's child"],correct:"Wednesday's child",id:"17"},{question:"According to the popular saying, what should you do 'when in Rome'?",options:["watch your wallet","see the Coliseum","as the Romans do","don't drink the water"],correct:"as the Romans do",id:"18"},{question:"According to the proverb, necessity is the mother of what?",options:["Invention","Luck","Problems","Procrastination"],correct:"Invention",id:"19"},{question:"According to the title of a popular children's TV show, what color is Bear's big house?",options:["red","green","purple","blue"],correct:"blue",id:"20"},{question:"According to the USDA, which food group should you eat the most servings of per day?",options:["vegetables","dairy","meats","breads"],correct:"breads",id:"21"},{question:"Ada Lovelace is credited with being the first person to have made what?",options:["a computer program","a souffle","a brassiere","a mystery novel"],correct:"a computer program",id:"22"},{question:"After Prince Charles, who is next in line to be the king of England?",options:["Prince William","Prince Andrew","Prince Edward","Fresh Prince"],correct:"Prince William",id:"23"},{question:"An airplane's black box is usually what color?",options:["black","white","orange","purple"],correct:"orange",id:"24"},{question:"As of 1999, which state has the most Girl Scouts?",options:["California","Illinois","New York","Pennsylvania"],correct:"California",id:"25"},{question:"Astronaut John Glenn served as a pilot in what branch of the military?",options:["Army","Air Force","Marines","Navy"],correct:"Marines",id:"26"},{question:"At the equator, how fast is the earth's surface turning?",options:["about 100 miles per hour","about 500 miles per hour","about 1000 miles per hour","about 2000 miles per hour"],correct:"about 1000 miles per hour",id:"27"},{question:"At what age can someone first attend an R-rated movie without an accompanying adult?",options:["15","17","18","21"],correct:"18",id:"28"},{question:"Backgammon is a how many player game?",options:["Two","Three","Four","Six"],correct:"Two",id:"29"},{question:"Before he went into coaching, Phil Jackson played for which of the following NBA teams?",options:["Boston Celtics","Los Angeles Lakers","New York Knicks","Philadelphia 76ers"],correct:"New York Knicks",id:"30"},{question:"By what name is Bob Keeshan better known?",options:["Bozo the Clown","Pee Wee Herman","Captain Kangaroo","Buffalo Bob"],correct:"Captain Kangaroo",id:"31"},{question:"By what collective name do Christians refer to God the Father, God the Son and the Holy Ghost?",options:["the Trio","the Troika","the Triumvirate","the Trinity"],correct:"the Trinity",id:"32"},{question:"By what nickname is the Federal National Mortgage Association known?",options:["Morty","FEMA","Freddie Mac","Fannie Mae"],correct:"Fannie Mae",id:"33"},{question:"Cheddar cheese got its name from a village in what country?",options:["England","France","Switzerland","Denmark"],correct:"England",id:"34"},{question:"Cheese is a necessary ingredient in which of these dishes?",options:["sushi","french fries","veal parmigiano","chicken pot pie"],correct:"veal parmigiano",id:"35"},{question:"During what war did Francis Scott Key write the words to 'The Star-Spangled Banner'?",options:["American Revolution","War of 1812","Civil War","World War I"],correct:"War of 1812",id:"36"},{question:"During which war did US troops fight the Battle of New Orleans?",options:["American Revolution","Civil War","Mexican War","War of 1812"],correct:"War of 1812",id:"37"},{question:"Each year in pro baseball, the player voted as the best fielder at his position wins what?",options:["a brand new car","the Gold Glove","the Silver Bat","the Brass Baseball"],correct:"the Gold Glove",id:"38"},{question:"Elephant tusks are made of what material?",options:["coral","ivory","bone","calcium"],correct:"ivory",id:"39"},{question:"Excluding wisdom teeth, how many adult teeth do humans have?",options:["28","32","35","40"],correct:"28",id:"40"},{question:"For a man and woman on a date, 'dutch treat' means what?",options:["the man pays","the woman pays","the Dutch pay","each pays their own way"],correct:"each pays their own way",id:"41"},{question:"For what purpose would you use an awl?",options:["to shoot ducks","to polish floors","to make holes","to weigh fruit"],correct:"to make holes",id:"42"},{question:"From 1971 to 1997, the Democratic Republic of Congo was known as what?",options:["Zaire","Angola","Rhodesia","Belgian Congo"],correct:"Zaire",id:"43"},{question:"From what language does the term 'R.S.V.P.' originate?",options:["Russian","Italian","Portuguese","French"],correct:"French",id:"44"},{question:"From whom does the Lutheran Church get its name?",options:["Martin Luther King Jr","Martin Luther","Luther Vandross","Lex Luthor"],correct:"Martin Luther",id:"45"},{question:"Gerry Adams is the president of what organization?",options:["Greenpeace","NASCAR","Sinn Fein","PLO"],correct:"Sinn Fein",id:"46"},{question:"Girls of what religious community traditionally wear bonnets?",options:["Amish","Sikh","Roman Catholic","Christian"],correct:"Amish",id:"47"},{question:"How are actors Charlie Sheen and Emilio Estevez related?",options:["they're cousins","they're brothers","they're father and son","they're uncle and nephew"],correct:"they're brothers",id:"48"},{question:"How do you express 3/4 as a decimal?",options:[".25",".50",".75",".90"],correct:".75",id:"49"},{question:"How is 4:00 pm expressed in military time?",options:["1600","004","0400 ","4:00"],correct:"1600",id:"50"},{question:"How is the Arabic numeral for '2' written?",options:["2","II","I","ii"],correct:"2",id:"51"},{question:"How is the word 'ambulance' normally written on the front of American ambulances?",options:["in French","in reverse","in braille","in gibberish"],correct:"in reverse",id:"52"},{question:"How long is a single term in the US Senate?",options:["two years","four years","six years","eight years"],correct:"six years",id:"53"},{question:"How long is the time on an NBA shot clock?",options:["18 seconds","24 seconds","30 seconds","35 seconds"],correct:"24 seconds",id:"54"},{question:"How many $100 bills does it take to equal one million dollars?",options:["one thousand","five thousand","ten thousand","one hundred thousand"],correct:"ten thousand",id:"55"},{question:"How many axles does a standard automobile have?",options:["one","two","four","eight"],correct:"two",id:"56"},{question:"How many digits are in a standard Visa credit card number?",options:["12","15","16","20"],correct:"16",id:"57"},{question:"How many eyes does a Giraffe have?",options:["one","two","three","four"],correct:"two",id:"58"},{question:"How many innings are there in a regular Major League Baseball game?",options:["seven","eight","nine","ten"],correct:"nine",id:"59"},{question:"How many keys are on a standard piano?",options:["20","54","88","100"],correct:"88",id:"60"},{question:"How many men has actress Elizabeth Taylor been divorced from?",options:["five","six","seven","eight"],correct:"seven",id:"61"},{question:"How many ounces are in a pound?",options:["4","12","16","32"],correct:"16",id:"62"},{question:"How many periods are there in an ice hockey game?",options:["One","Two","Three","Four"],correct:"Three",id:"63"},{question:"How many quarts are there in a gallon?",options:["one","two","three","four"],correct:"four",id:"64"},{question:"How many ribs are there in the human body?",options:["18","24","30","42"],correct:"24",id:"65"},{question:"How many ships did Columbus set sail with on his initial voyage to the New World?",options:["Two","Three","Five","Ten"],correct:"Three",id:"66"},{question:"How many spikes are on the Statue of Liberty's crown?",options:["five","seven","nine","thirteen"],correct:"seven",id:"67"},{question:"How many stars are on the American flag?",options:["13","48","50","51"],correct:"50",id:"68"},{question:"How many states were in the Confederate States of America?",options:["11","13","16","22"],correct:"11",id:"69"},{question:"How much does Peanuts character Lucy charge for her psychiatric advice?",options:["5 cents","10 cents","75 cents","$125"],correct:"5 cents",id:"70"},{question:"How long is Hanukkah?",options:["one day","five days","eight days","two weeks"],correct:"eight days",id:"71"},{question:"Huffy, Schwinn and Raleigh are all brands of what?",options:["sportswear","dishwashers","cigarettes","bicycles"],correct:"bicycles",id:"72"},{question:"If a business files under Chapter 11 what is it doing?",options:["declaring bankruptcy","selling stock","buying a smaller","company suing the government"],correct:"declaring bankruptcy",id:"73"},{question:"If a piece of music is in 'common time' how many quarter notes are there per measure?",options:["one","four","five","ten"],correct:"four",id:"74"},{question:"If a ring has the number 925 stamped into it, it is most likely made of what material?",options:["platinum","gold","steel","silver"],correct:"silver",id:"75"},{question:"If Christmas Day is on a Saturday, then the following New Year's Day falls on what day of the week?",options:["Sunday","Monday","Friday","Saturday"],correct:"Saturday",id:"76"},{question:"If someone has cataracts, what part of their body might need an operation?",options:["ear","hand","eye","knee"],correct:"eye",id:"77"},{question:"If you are 'riding fakie' inside a 'half pipe' what are you probably doing?",options:["skiing","biking","snowboarding","surfing"],correct:"snowboarding",id:"78"},{question:"If you are truly afraid of the dark, what do you suffer from?",options:["hypnophobia","cryptophobia","hadephobia","nyctophobia"],correct:"nyctophobia",id:"79"}],l=document.querySelector(".time-left"),y=document.getElementById("container"),A=document.getElementById("next-button"),u=document.querySelector(".number-of-question"),h=document.getElementById("display-container"),w=document.querySelector(".score-container"),k=document.getElementById("restart"),L=document.getElementById("user-score"),f=document.querySelector(".start-screen"),C=document.getElementById("start-button");let r=0,p=0,s=10,c,n=[];function H(e,o){return e.sort(()=>Math.random()-.5).slice(0,o)}function g(){r+=1,clearInterval(c),r===n.length?(h.classList.add("hide"),w.classList.remove("hide"),L.innerHTML="Your score is "+p+" out of "+n.length):(s=10,l.innerHTML=`${s}s`,u.innerHTML=r+1+" of "+n.length+" Question",b(r),q())}k.addEventListener("click",()=>{m(),h.classList.remove("hide"),w.classList.add("hide")});A.addEventListener("click",g);const q=()=>{c=setInterval(()=>{s--,l.innerHTML=`${s}s`,s===0&&(clearInterval(c),g())},1e3)},b=e=>{const o=document.querySelectorAll(".container-mid");e{t.classList.add("hide")}),o[e].classList.remove("hide"))};function S(){for(const e of n){const o=document.createElement("div");o.classList.add("container-mid","hide"),u.innerHTML="1 of "+n.length+" Question";const t=document.createElement("p");t.classList.add("question"),t.innerHTML=e.question,o.appendChild(t);for(let a=0;aI(i,e),o.appendChild(i)}y.appendChild(o)}}function I(e,o){const t=e.textContent,a=o.correct,i=e.parentElement.querySelectorAll(".option-div");if(t===a)e.classList.add("correct"),p++;else{e.classList.add("incorrect");for(const d of i)d.textContent===a&&d.classList.add("correct")}clearInterval(c),i.forEach(d=>{d.disabled=!0})}function m(){y.innerHTML="",r=0,p=0,s=10,c&&clearInterval(c),l.innerHTML=`${s}s`,u.innerHTML=r+1+" of "+n.length+" Question",S(),b(r),q()}C.addEventListener("click",()=>{f.classList.add("hide"),h.classList.remove("hide"),m()});window.onload=()=>{f.classList.remove("hide"),h.classList.add("hide")};n=H(v,10);m(); diff --git a/docs/javascript/assets/index-S3sho_Bn.css b/docs/javascript/assets/index-S3sho_Bn.css deleted file mode 100644 index b2e288bb2..000000000 --- a/docs/javascript/assets/index-S3sho_Bn.css +++ /dev/null @@ -1 +0,0 @@ -.grid{display:grid;grid-gap:1em;grid-template-columns:repeat(auto-fill,minmax(300px,1fr))}.grid>div{position:relative;height:250px;border:1px solid black}.shape{margin:auto}.square{width:150px;height:150px;background-color:#87ceeb}.circle{width:150px;height:150px;background-color:orange;border-radius:50%}.triangle{width:0;height:0;border-top:25px solid transparent;border-right:50px solid transparent;border-bottom:100px solid green;border-left:50px solid transparent}.parallelogram{width:150px;height:150px;background-color:pink;transform:skew(-30deg)}.diamond{width:100px;height:100px;background-color:#8a2be2;transform:translateY(25px) rotate(-45deg)}.egg{display:block;width:100px;height:150px;border:4px solid black;border-radius:50%/60% 60% 40% 40%}.star{position:relative;display:block;width:0;height:0;margin-top:60px;color:red;border-right:100px solid transparent;border-bottom:70px solid yellowgreen;border-left:100px solid transparent;transform:rotate(35deg)}.star:before{position:absolute;top:-45px;left:-65px;display:block;width:0;height:0;border-right:30px solid transparent;border-bottom:80px solid yellowgreen;border-left:30px solid transparent;transform:rotate(-35deg);content:""}.star:after{position:absolute;top:3px;left:-105px;display:block;width:0px;height:0px;color:#9acd32;border-right:100px solid transparent;border-bottom:70px solid yellowgreen;border-left:100px solid transparent;transform:rotate(-70deg);content:""}.heart{position:relative;width:100px;height:90px;margin-top:60px;transform:scale(1.5)}.heart:before,.heart:after{position:absolute;top:0;left:50px;width:50px;height:80px;background:red;border-radius:50px 50px 0 0;transform:rotate(-45deg);transform-origin:0 100%;content:""}.heart:after{left:0;transform:rotate(45deg);transform-origin:100% 100%}.loader{width:125px;height:125px;margin-top:25px;border:4px solid brown;border-top-width:0;border-right-width:0;border-left-width:0;border-radius:50%;animation:loader linear 1s infinite}@keyframes loader{0%{transform:rotate(0)}to{transform:rotate(360deg)}} diff --git a/docs/javascript/assets/index-kAnG3oKW.js b/docs/javascript/assets/index-St5JQTKu.js similarity index 96% rename from docs/javascript/assets/index-kAnG3oKW.js rename to docs/javascript/assets/index-St5JQTKu.js index c84e449ff..8512e860c 100644 --- a/docs/javascript/assets/index-kAnG3oKW.js +++ b/docs/javascript/assets/index-St5JQTKu.js @@ -1 +1 @@ -var u=Object.defineProperty;var f=(a,e,t)=>e in a?u(a,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):a[e]=t;var n=(a,e,t)=>(f(a,typeof e!="symbol"?e+"":e,t),t);import"./header-V3hWii48.js";import"./navbar-IV3mLr91.js";const p="/frontend-mini-challenges/javascript/assets/1-OkPi44L4.jpg",I="/frontend-mini-challenges/javascript/assets/2-LbNREVae.jpg",v="/frontend-mini-challenges/javascript/assets/3-SrIwCN-U.jpg",y="/frontend-mini-challenges/javascript/assets/4-IwShTW20.jpg",E="/frontend-mini-challenges/javascript/assets/5-XTj0vlQy.jpg",H=document.getElementById("carousel"),L=document.getElementById("leftHandle"),P=document.getElementById("rightHandle"),h=document.getElementById("infinite"),d=document.getElementById("autoplay"),c=document.getElementById("autoplayInterval");class b{constructor(e,{images:t,leftHandle:s,rightHandle:i,isInfinite:l=!0,autoPlay:r=!1,autoPlayInterval:g=5e3,selected:m=0}){n(this,"swipeLeft",()=>{this.selected===0&&!this.isInfinite||(this.selected-=1,this.selected<0&&(this.selected+=this.images.length),this.setSelection())});n(this,"swipeRight",()=>{this.selected===this.images.length-1&&!this.isInfinite||(this.selected+=1,this.selected%=this.images.length,this.setSelection())});n(this,"dotSelect",e=>{e.target.classList.contains("dot")&&(this.selected=+e.target.dataset.index,this.setSelection())});this.carousel=e,this.images=t,this.leftHandle=s,this.rightHandle=i,this.selected=m,this.isInfinite=l,this.autoPlay=r,this.autoPlayInterval=g,this.placeImages(),this.dotHolder=this.createProgress(),this.addListeners(),this.setSelection(),this.startAutoPlay()}setInfinite(e){this.isInfinite=e,this.setHandles()}setAutoPlay(e,t){this.autoPlay=e,this.autoPlayInterval=t,this.startAutoPlay()}startAutoPlay(){this.autoPlay?(clearInterval(this.intervalId),this.intervalId=setInterval(this.swipeRight,this.autoPlayInterval)):clearInterval(this.intervalId)}addListeners(){this.leftHandle.addEventListener("click",this.swipeLeft),this.rightHandle.addEventListener("click",this.swipeRight),this.dotHolder.addEventListener("click",this.dotSelect)}setSelection(){var s;const e=this.carousel.querySelector(".img-holder"),t=this.dotHolder.querySelector(`[data-index='${this.selected}']`);e.style.transform=`translateX(${256*-this.selected}px)`,(s=this.dotHolder.querySelector(".selected"))==null||s.classList.remove("selected"),t.classList.add("selected"),this.setHandles()}setHandles(){this.isInfinite?this.disableHandles({isLeftDisabled:!1,isRightDisabled:!1}):this.disableHandles({isLeftDisabled:this.selected===0,isRightDisabled:this.selected===this.images.length-1})}disableHandles({isLeftDisabled:e,isRightDisabled:t}){this.leftHandle.disabled=e,this.rightHandle.disabled=t}placeImages(){const e=document.createElement("div");e.classList.add("img-frame");const t=document.createElement("div");t.classList.add("img-holder"),this.images.forEach(s=>{const i=document.createElement("img");i.src=s,t.appendChild(i)}),e.appendChild(t),this.carousel.appendChild(e)}createProgress(){const e=document.createElement("ul");return e.classList.add("dot-holder"),this.images.forEach((t,s)=>{const i=document.createElement("li");i.role="presentation";const l=document.createElement("button");l.role="tab",l.dataset.index=s,l.classList.add("dot"),i.appendChild(l),e.appendChild(i)}),this.carousel.appendChild(e),e}}const o=new b(H,{images:[p,I,v,y,E],selected:0,leftHandle:L,rightHandle:P,isInfinite:!1});h.addEventListener("change",()=>{o.setInfinite(h.checked)});d.addEventListener("change",()=>{c.disabled=!d.checked,o.setAutoPlay(d.checked,c.value)});c.addEventListener("change",()=>{o.setAutoPlay(d.checked,c.value)}); +var u=Object.defineProperty;var f=(a,e,t)=>e in a?u(a,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):a[e]=t;var n=(a,e,t)=>(f(a,typeof e!="symbol"?e+"":e,t),t);import"./header-BV02bT_J.js";import"./navbar-Dp-2B13D.js";const p="/frontend-mini-challenges/javascript/assets/1-OkPi44L4.jpg",I="/frontend-mini-challenges/javascript/assets/2-LbNREVae.jpg",v="/frontend-mini-challenges/javascript/assets/3-SrIwCN-U.jpg",y="/frontend-mini-challenges/javascript/assets/4-IwShTW20.jpg",E="/frontend-mini-challenges/javascript/assets/5-XTj0vlQy.jpg",H=document.getElementById("carousel"),L=document.getElementById("leftHandle"),P=document.getElementById("rightHandle"),h=document.getElementById("infinite"),d=document.getElementById("autoplay"),c=document.getElementById("autoplayInterval");class b{constructor(e,{images:t,leftHandle:s,rightHandle:i,isInfinite:l=!0,autoPlay:r=!1,autoPlayInterval:g=5e3,selected:m=0}){n(this,"swipeLeft",()=>{this.selected===0&&!this.isInfinite||(this.selected-=1,this.selected<0&&(this.selected+=this.images.length),this.setSelection())});n(this,"swipeRight",()=>{this.selected===this.images.length-1&&!this.isInfinite||(this.selected+=1,this.selected%=this.images.length,this.setSelection())});n(this,"dotSelect",e=>{e.target.classList.contains("dot")&&(this.selected=+e.target.dataset.index,this.setSelection())});this.carousel=e,this.images=t,this.leftHandle=s,this.rightHandle=i,this.selected=m,this.isInfinite=l,this.autoPlay=r,this.autoPlayInterval=g,this.placeImages(),this.dotHolder=this.createProgress(),this.addListeners(),this.setSelection(),this.startAutoPlay()}setInfinite(e){this.isInfinite=e,this.setHandles()}setAutoPlay(e,t){this.autoPlay=e,this.autoPlayInterval=t,this.startAutoPlay()}startAutoPlay(){this.autoPlay?(clearInterval(this.intervalId),this.intervalId=setInterval(this.swipeRight,this.autoPlayInterval)):clearInterval(this.intervalId)}addListeners(){this.leftHandle.addEventListener("click",this.swipeLeft),this.rightHandle.addEventListener("click",this.swipeRight),this.dotHolder.addEventListener("click",this.dotSelect)}setSelection(){var s;const e=this.carousel.querySelector(".img-holder"),t=this.dotHolder.querySelector(`[data-index='${this.selected}']`);e.style.transform=`translateX(${256*-this.selected}px)`,(s=this.dotHolder.querySelector(".selected"))==null||s.classList.remove("selected"),t.classList.add("selected"),this.setHandles()}setHandles(){this.isInfinite?this.disableHandles({isLeftDisabled:!1,isRightDisabled:!1}):this.disableHandles({isLeftDisabled:this.selected===0,isRightDisabled:this.selected===this.images.length-1})}disableHandles({isLeftDisabled:e,isRightDisabled:t}){this.leftHandle.disabled=e,this.rightHandle.disabled=t}placeImages(){const e=document.createElement("div");e.classList.add("img-frame");const t=document.createElement("div");t.classList.add("img-holder"),this.images.forEach(s=>{const i=document.createElement("img");i.src=s,t.appendChild(i)}),e.appendChild(t),this.carousel.appendChild(e)}createProgress(){const e=document.createElement("ul");return e.classList.add("dot-holder"),this.images.forEach((t,s)=>{const i=document.createElement("li");i.role="presentation";const l=document.createElement("button");l.role="tab",l.dataset.index=s,l.classList.add("dot"),i.appendChild(l),e.appendChild(i)}),this.carousel.appendChild(e),e}}const o=new b(H,{images:[p,I,v,y,E],selected:0,leftHandle:L,rightHandle:P,isInfinite:!1});h.addEventListener("change",()=>{o.setInfinite(h.checked)});d.addEventListener("change",()=>{c.disabled=!d.checked,o.setAutoPlay(d.checked,c.value)});c.addEventListener("change",()=>{o.setAutoPlay(d.checked,c.value)}); diff --git a/docs/javascript/assets/index-Fqjj-XdI.js b/docs/javascript/assets/index-TElHX8es.js similarity index 92% rename from docs/javascript/assets/index-Fqjj-XdI.js rename to docs/javascript/assets/index-TElHX8es.js index ababd28b0..0f0ed93c1 100644 --- a/docs/javascript/assets/index-Fqjj-XdI.js +++ b/docs/javascript/assets/index-TElHX8es.js @@ -1 +1 @@ -import"./header-V3hWii48.js";import"./navbar-IV3mLr91.js";const r=document.getElementById("form"),t=document.getElementById("input"),i=document.getElementById("submit"),o=document.getElementById("output"),l=document.getElementById("guessDisplay"),s=document.getElementById("startGame");let e=[],n;function m(){o.textContent="",l.textContent="",e=[],n=Math.round(Math.random()*100),t.disabled=!1,i.disabled=!1,s.disabled=!0,t.focus()}function a(u){o.textContent=u,t.disabled=!0,i.disabled=!0,s.disabled=!1,s.focus()}function c(u){u.preventDefault();const d=+t.value;if(t.value="",e.push(d),l.textContent=`Your guesses: ${e.join(", ")}`,d>n)o.textContent="Too high!";else if(d=10&&a("You lost! The number was "+n)}r.addEventListener("submit",c);s.addEventListener("click",m);m(); +import"./header-BV02bT_J.js";import"./navbar-Dp-2B13D.js";const r=document.getElementById("form"),t=document.getElementById("input"),i=document.getElementById("submit"),o=document.getElementById("output"),l=document.getElementById("guessDisplay"),s=document.getElementById("startGame");let e=[],n;function m(){o.textContent="",l.textContent="",e=[],n=Math.round(Math.random()*100),t.disabled=!1,i.disabled=!1,s.disabled=!0,t.focus()}function a(u){o.textContent=u,t.disabled=!0,i.disabled=!0,s.disabled=!1,s.focus()}function c(u){u.preventDefault();const d=+t.value;if(t.value="",e.push(d),l.textContent=`Your guesses: ${e.join(", ")}`,d>n)o.textContent="Too high!";else if(d=10&&a("You lost! The number was "+n)}r.addEventListener("submit",c);s.addEventListener("click",m);m(); diff --git a/docs/javascript/assets/index-Y0jtMj6F.js b/docs/javascript/assets/index-Xxd4Lp8J.js similarity index 99% rename from docs/javascript/assets/index-Y0jtMj6F.js rename to docs/javascript/assets/index-Xxd4Lp8J.js index 82ebd5d7d..297658973 100644 --- a/docs/javascript/assets/index-Y0jtMj6F.js +++ b/docs/javascript/assets/index-Xxd4Lp8J.js @@ -1 +1 @@ -import"./header-V3hWii48.js";import"./navbar-IV3mLr91.js";const E="data:audio/mpeg;base64,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",k="/frontend-mini-challenges/javascript/assets/green-DzOf4mZj.mp3",d="/frontend-mini-challenges/javascript/assets/red-4-OrdHCN.mp3",c="/frontend-mini-challenges/javascript/assets/yellow-pAJ_bTb8.mp3",Q="/frontend-mini-challenges/javascript/assets/wrong-ScTJZo6t.mp3";let t=[],l=!1,n=0,b=["red","blue","green","yellow"];const a=new Map([["red",new Audio(d)],["blue",new Audio(E)],["green",new Audio(k)],["yellow",new Audio(c)],["wrong",new Audio(Q)]]);let s=[],r=document.querySelectorAll(".btn");for(let A=0;A({seconds:s.length/2*t.getSeconds(),minutes:s.length/2*t.getMinutes()+t.getSeconds()/10,hours:t.getMinutes()/2+t.getHours()%s.length*30}),o=()=>{const t=a(new Date);l.style.transform=`rotate(${t.hours}deg)`,d.style.transform=`rotate(${t.minutes}deg)`,i.style.transform=`rotate(${t.seconds}deg)`};setInterval(o,1e3);o(); +import"./header-BV02bT_J.js";import"./navbar-Dp-2B13D.js";document.querySelector(".clock");const c=document.querySelector(".ticks"),l=document.querySelector(".hours-hand"),d=document.querySelector(".minutes-hand"),i=document.querySelector(".seconds-hand"),r=document.querySelector(".digits"),s=[12,1,2,3,4,5,6,7,8,9,10,11],n=60;for(let t=0;t({seconds:s.length/2*t.getSeconds(),minutes:s.length/2*t.getMinutes()+t.getSeconds()/10,hours:t.getMinutes()/2+t.getHours()%s.length*30}),o=()=>{const t=a(new Date);l.style.transform=`rotate(${t.hours}deg)`,d.style.transform=`rotate(${t.minutes}deg)`,i.style.transform=`rotate(${t.seconds}deg)`};setInterval(o,1e3);o(); diff --git a/docs/javascript/assets/index-lILfERim.js b/docs/javascript/assets/index-Yp02GvT7.js similarity index 97% rename from docs/javascript/assets/index-lILfERim.js rename to docs/javascript/assets/index-Yp02GvT7.js index 80297c144..392d99448 100644 --- a/docs/javascript/assets/index-lILfERim.js +++ b/docs/javascript/assets/index-Yp02GvT7.js @@ -1 +1 @@ -import"./header-V3hWii48.js";import"./navbar-IV3mLr91.js";const l=document.getElementById("grid");class a{constructor(e,t=3){this.gridSize=t,this.root=e,this.grid=[],this.currentPlayer="X",this.winner=null,this.cellFilled=0,this.populateGrid(),this.addEventListeners()}populateGrid(){this.root.appendChild(this.createGrid());const e=this.root.children;for(let t=0;t{e.target.classList.contains("cell")&&this.winner===null&&this.play(e.target)})}play(e){var t,i;if(e.textContent===""){if(this.set(e.dataset.x,e.dataset.y,this.currentPlayer),this.cellFilled+=1,this.checkWinner()){this.winner=this.currentPlayer,(t=this.winnerCallback)==null||t.call(this,this.winner);return}else if(this.cellFilled===this.gridSize*this.gridSize){this.winner="Draw",(i=this.winnerCallback)==null||i.call(this,this.winner);return}this.changePlayer()}}changePlayer(){this.currentPlayer=this.currentPlayer==="X"?"O":"X"}set(e,t,i){this.grid[e][t].textContent=i}checkWinner(){return this.isRowHasWinner(0)||this.isRowHasWinner(1)||this.isRowHasWinner(2)||this.isColHasWinner(0)||this.isColHasWinner(1)||this.isColHasWinner(2)||this.checkDiagonal()||this.checkDiagonalReverse()}isRowHasWinner(e){const t=this.grid[e][0].textContent;return this.grid[e].every(i=>i.textContent===t)?t:!1}isColHasWinner(e){const t=this.grid[0][e].textContent;return this.grid.map(i=>i[e]).every(i=>i.textContent===t)?t:!1}checkDiagonal(){const e=this.grid[0][0].textContent;for(let t=0;t{e.forEach(t=>{t.textContent=""})}),this.currentPlayer="X",this.winner=null,this.cellFilled=0}}const s=new a(l);s.winnerCallback=r=>{switch(r){case"X":document.getElementById("winner").textContent="Player X won!";break;case"O":document.getElementById("winner").textContent="Player O won!";break;default:document.getElementById("winner").textContent="Draw!"}};document.getElementById("reset").addEventListener("click",()=>{s.reset(),document.getElementById("winner").textContent=""}); +import"./header-BV02bT_J.js";import"./navbar-Dp-2B13D.js";const l=document.getElementById("grid");class a{constructor(e,t=3){this.gridSize=t,this.root=e,this.grid=[],this.currentPlayer="X",this.winner=null,this.cellFilled=0,this.populateGrid(),this.addEventListeners()}populateGrid(){this.root.appendChild(this.createGrid());const e=this.root.children;for(let t=0;t{e.target.classList.contains("cell")&&this.winner===null&&this.play(e.target)})}play(e){var t,i;if(e.textContent===""){if(this.set(e.dataset.x,e.dataset.y,this.currentPlayer),this.cellFilled+=1,this.checkWinner()){this.winner=this.currentPlayer,(t=this.winnerCallback)==null||t.call(this,this.winner);return}else if(this.cellFilled===this.gridSize*this.gridSize){this.winner="Draw",(i=this.winnerCallback)==null||i.call(this,this.winner);return}this.changePlayer()}}changePlayer(){this.currentPlayer=this.currentPlayer==="X"?"O":"X"}set(e,t,i){this.grid[e][t].textContent=i}checkWinner(){return this.isRowHasWinner(0)||this.isRowHasWinner(1)||this.isRowHasWinner(2)||this.isColHasWinner(0)||this.isColHasWinner(1)||this.isColHasWinner(2)||this.checkDiagonal()||this.checkDiagonalReverse()}isRowHasWinner(e){const t=this.grid[e][0].textContent;return this.grid[e].every(i=>i.textContent===t)?t:!1}isColHasWinner(e){const t=this.grid[0][e].textContent;return this.grid.map(i=>i[e]).every(i=>i.textContent===t)?t:!1}checkDiagonal(){const e=this.grid[0][0].textContent;for(let t=0;t{e.forEach(t=>{t.textContent=""})}),this.currentPlayer="X",this.winner=null,this.cellFilled=0}}const s=new a(l);s.winnerCallback=r=>{switch(r){case"X":document.getElementById("winner").textContent="Player X won!";break;case"O":document.getElementById("winner").textContent="Player O won!";break;default:document.getElementById("winner").textContent="Draw!"}};document.getElementById("reset").addEventListener("click",()=>{s.reset(),document.getElementById("winner").textContent=""}); diff --git a/docs/javascript/assets/index-vDSRMClr.js b/docs/javascript/assets/index-ZAufEBZg.js similarity index 95% rename from docs/javascript/assets/index-vDSRMClr.js rename to docs/javascript/assets/index-ZAufEBZg.js index ec1718759..1c636c8f4 100644 --- a/docs/javascript/assets/index-vDSRMClr.js +++ b/docs/javascript/assets/index-ZAufEBZg.js @@ -1 +1 @@ -import"./header-V3hWii48.js";import"./navbar-IV3mLr91.js";const i=["map","filter"];function c(t,e){this.dropdown=p(t),this.input=s(e),this.output=m()}c.prototype.setOutput=function(t){return this.output.value=t,t};c.prototype.evaluate=function(t){const e=Function(`return function func(value, index, array){ return ${this.input.value} }`);return t[this.dropdown.value](e())};function p(t=i[0]){const e=document.createElement("select");return i.forEach(u=>{const n=document.createElement("option");n.value=u,n.textContent=u,e.appendChild(n)}),e.value=t,e}function s(t){const e=document.createElement("input");return e.value=t??"value",e}function m(){return document.createElement("output")}const l=[],v=document.getElementById("methodList");function a(t,e,u){const n=new c(e,u),o=document.createElement("div"),r=document.createElement("div");r.appendChild(n.dropdown),r.appendChild(n.input);const d=document.createElement("div");d.appendChild(n.output),o.appendChild(r),o.appendChild(d),v.appendChild(o),l.push(n)}function h(){const t=E(document.querySelector('[name="array_values"]').value);l.reduce((e,u)=>{const n=u.evaluate(e);return u.setOutput(n),n},t)}function E(t){return t.split(",")}document.getElementById("add").addEventListener("click",a);document.getElementById("evaluate").addEventListener("click",h);a(null,"filter","index > 3");a(null,"map","value / 5"); +import"./header-BV02bT_J.js";import"./navbar-Dp-2B13D.js";const i=["map","filter"];function c(t,e){this.dropdown=p(t),this.input=s(e),this.output=m()}c.prototype.setOutput=function(t){return this.output.value=t,t};c.prototype.evaluate=function(t){const e=Function(`return function func(value, index, array){ return ${this.input.value} }`);return t[this.dropdown.value](e())};function p(t=i[0]){const e=document.createElement("select");return i.forEach(u=>{const n=document.createElement("option");n.value=u,n.textContent=u,e.appendChild(n)}),e.value=t,e}function s(t){const e=document.createElement("input");return e.value=t??"value",e}function m(){return document.createElement("output")}const l=[],v=document.getElementById("methodList");function a(t,e,u){const n=new c(e,u),o=document.createElement("div"),r=document.createElement("div");r.appendChild(n.dropdown),r.appendChild(n.input);const d=document.createElement("div");d.appendChild(n.output),o.appendChild(r),o.appendChild(d),v.appendChild(o),l.push(n)}function h(){const t=E(document.querySelector('[name="array_values"]').value);l.reduce((e,u)=>{const n=u.evaluate(e);return u.setOutput(n),n},t)}function E(t){return t.split(",")}document.getElementById("add").addEventListener("click",a);document.getElementById("evaluate").addEventListener("click",h);a(null,"filter","index > 3");a(null,"map","value / 5"); diff --git a/docs/javascript/assets/index-VTY1HlAY.js b/docs/javascript/assets/index-aFoxCdvT.js similarity index 97% rename from docs/javascript/assets/index-VTY1HlAY.js rename to docs/javascript/assets/index-aFoxCdvT.js index 42679faa7..ba2526684 100644 --- a/docs/javascript/assets/index-VTY1HlAY.js +++ b/docs/javascript/assets/index-aFoxCdvT.js @@ -1 +1 @@ -import"./header-V3hWii48.js";import"./navbar-IV3mLr91.js";const o="/frontend-mini-challenges/javascript/assets/tom-1-ZxwkIOhV.mp3",a="/frontend-mini-challenges/javascript/assets/tom-2-zXm4l6or.mp3",i="/frontend-mini-challenges/javascript/assets/tom-3-9-KQMv6G.mp3",c="/frontend-mini-challenges/javascript/assets/tom-4-NV-LM3zZ.mp3",r="/frontend-mini-challenges/javascript/assets/snare-zXeTDHza.mp3",l="/frontend-mini-challenges/javascript/assets/crash-B1TgC1_6.mp3",m="data:audio/mpeg;base64,//uSRAAAAAAAaQUAAAAAAA0goAAAIg5BJBlqgAlgyCsDIqAB0xnAMfjEgN/CmMUoKIBhLG+BrERFjnpAZiCXAY5AyZJngONv8Dd7R5PpmAGixOBjkagZFLPlQqGaYGWxSBqpIAaKRAGdBd83QTZQGsUqBn81gZHCIGNBYBh4EfmiCZuboCsgY+FgGKBgBjIIAaBMoGWSv/ZqFaYGSQyBlIkAZAGwBQ8BuMSkAUAP+mgyCd6YGRxqBi0XgYrBYGViMBj4cAYqAwGNRWBiEKgoA//upBBbv4NzwDQKAMFwMeC4DFAoAxEBAMgjMDFonAGGYGFgkBgwBf/9mW7qt1u6hggYKAQGAgUAMHAMbisDE4nAw+AwMaCoDEQcAUDgGBQGFp4ygGFweBg0J//////////////+FlgB88csGznh8g7PAbAr/jcfj//JwvBEDT/wvxFk5IZ//JCAkFsf//5OPCRv//+TnnjweGHn////q5IYYTnuY3////8wxic88wxj88//////////////8AOWMAtVA2H8MtgZ3sGWAuSZpHSKF//7kkQKgANpkFgGUUACVbILMMocAEsUlUY914AJYY4oj7jAAYiBOlxy4Tg8G7nnEgFwelRiXNLMRigmKNHrsTmFTyciKKSyE7V1VyE4mOdl/t0Y01Djk//qzZpxx3//6mm/OU3///zUOf5qHHKb//////////////////+ANaBRSBpmIgiBswQXGD6mZQNC4kVC6jxoLyiUAsKVNjtzhYXeeyq/POQ03p+ahyev/SpqHHf/6r1Q47//9TTfpX///zf9c7///////////////////B4hQw5KOUzYHVophUDrdoep55hqQsAQ1Ir1Vuz7K00U0ooRw4YHsRXrl0N44ihQnDJCV2GtiVzWywr3pmC4xc7jQreDWlq11aNfPpBzKd+VjkybmUpyVMFAAhLAGHaudaSJssfGCwQ7MpX2+TBHDhuWvY4jyPpJImIhwZiW8NKGH5XEQpLnVJye9ZUvVWeR3e7r7uazXY3h5DaVLTDzS9d/ONVNQ3Ia4z8tc////u//VAC3NwDX4WNncIzWVASJTAIMXkNArTDGGSDgo4xwBmn/+5JkD4ADUjZQm48y4j0ianNpJjhNiONAbjDLiP4Tqc2zCSi+nRPzvWGxVq5QIewKrCPb3E4tw3Dbxx1Sa+qkVVMwxT1IlBOta9ecA3FakbFtG7rvBqv6a00ji8t/O99RnF7pUcxaNRA7//Z/nt9ALc3ANfwOm4CLl9dCuY3SktJoQ+aUmTFj4maJGOhIUOl+W8R9TNONTSWr6lf/3QqX3quj/+JLSuvt/N6/gCd34BhVqG8ooaMCBgIKAIALqZNJWlU7lVWS6TB2DtKudQw8VomySsbUjoaGKta8cPrX7IulxUJSCT8TgLxwNpRtorTrcjIBY8zcfGzSSFjkk90saWMdFIl9e+lh7vE3TJzAgITn5Jdt/7+u6And+AZVFG7n48aJhPLHpXYwiMcjhxzgZwGCsiI1cppPcrBrhXTehSKVk7bfVsqldZqjUPSDZEPBIHX6XoK9lQAAFzQA2Spj0sbPdDEHBoMBhbISDC8nwfl1IicrCXlgwhozSDRziL0aRdzlV6OLwMklSGnihje4PmR9V0pWJlUFondQl4KWI5I+//uSZCSAA2o8TZuPMuBAQqojcYk4DbDvMm68y4kOimgN1KTg9ipnynhI60pLMLinRFXWdfNLje3kuj4c0jvbxsx9+65xXWLaAAXNABBZjO51MVid0WuwJhIC8Jo2LJyMaHC1a0hFQye1AqIYkMUTnI6i+Xbp7A2IjxiwuXrkayQxvXO9ZtBhPpABd4AM5xlOyK9NQA1BAxoTxoFwQAULUNUxXrYMEpGUniPRo5mcwjiZC7sTcoy2l8GMIvBExDOX04xNu2BLJ6PIrqZMixphtOXM7xxoFlUx5uHd86XecW8GnoJzQh8ZCmN3MeZQSnsanjyWjmEtABd4AMO4iMkhvMjQQLUwUwhROHyOMdaBldRERk0g7EOlXIVVZNNn0loRajcEw6SFFmDx5G+o0gAl6p0YeptlmhLG7UA=",B=new Map([["w",o],["a",a],["s",i],["d",c],["j",r],["k",l],["l",m]]),d=document.querySelectorAll(".drum").length;for(let n=0;n{t.textContent=+t.textContent+e.valueAsNumber});a.addEventListener("click",()=>{t.textContent=parseInt(t.textContent)-parseInt(e.value)});e.addEventListener("change",()=>{const n=e.valueAsNumber;(Number.isNaN(n)||n<0)&&(e.value=1)});d.addEventListener("click",()=>{t.textContent=0}); +import"./header-BV02bT_J.js";import"./navbar-Dp-2B13D.js";const c=document.getElementById("increment"),a=document.getElementById("decrement"),e=document.getElementById("changeBy"),d=document.getElementById("reset"),t=document.querySelector(".value");c.addEventListener("click",()=>{t.textContent=+t.textContent+e.valueAsNumber});a.addEventListener("click",()=>{t.textContent=parseInt(t.textContent)-parseInt(e.value)});e.addEventListener("change",()=>{const n=e.valueAsNumber;(Number.isNaN(n)||n<0)&&(e.value=1)});d.addEventListener("click",()=>{t.textContent=0}); diff --git a/docs/javascript/assets/index-LGbWytt9.js b/docs/javascript/assets/index-b9Hd8N0p.js similarity index 94% rename from docs/javascript/assets/index-LGbWytt9.js rename to docs/javascript/assets/index-b9Hd8N0p.js index c71e7cfed..692c6c48f 100644 --- a/docs/javascript/assets/index-LGbWytt9.js +++ b/docs/javascript/assets/index-b9Hd8N0p.js @@ -1 +1 @@ -import"./header-V3hWii48.js";import"./navbar-IV3mLr91.js";const a=document.getElementById("display"),s=[],o=6,p=e=>{for(let n=0;n/^\d+$/.test(e);a.addEventListener("keydown",e=>{var t,i;const n=e.target;if(r(e.key)){n.value="";return}if(e.key==="ArrowLeft"){(t=n.previousElementSibling)==null||t.focus(),e.preventDefault(),e.stopPropagation();return}if(e.key==="ArrowRight"){(i=n.nextElementSibling)==null||i.focus();return}});a.addEventListener("keyup",e=>{var t;const n=e.target;if(e.key==="Backspace"||e.key==="Delete"){n.value="",(t=n.previousElementSibling)==null||t.focus();return}});a.addEventListener("input",e=>{const n=e.target;if(!r(n.value)){n.value="";return}if(n.value!==""){const t=n.nextElementSibling;t?t.focus():n.parentElement.firstChild.value===""?n.parentElement.firstChild.focus():n.blur()}});a.addEventListener("paste",e=>{const t=(e.clipboardData||window.clipboardData).getData("Text");typeof t=="string"&&t.length===o&&r(t)&&s.forEach((i,l)=>{i.value=t.charAt(l)})});p(o); +import"./header-BV02bT_J.js";import"./navbar-Dp-2B13D.js";const a=document.getElementById("display"),s=[],o=6,p=e=>{for(let n=0;n/^\d+$/.test(e);a.addEventListener("keydown",e=>{var t,i;const n=e.target;if(r(e.key)){n.value="";return}if(e.key==="ArrowLeft"){(t=n.previousElementSibling)==null||t.focus(),e.preventDefault(),e.stopPropagation();return}if(e.key==="ArrowRight"){(i=n.nextElementSibling)==null||i.focus();return}});a.addEventListener("keyup",e=>{var t;const n=e.target;if(e.key==="Backspace"||e.key==="Delete"){n.value="",(t=n.previousElementSibling)==null||t.focus();return}});a.addEventListener("input",e=>{const n=e.target;if(!r(n.value)){n.value="";return}if(n.value!==""){const t=n.nextElementSibling;t?t.focus():n.parentElement.firstChild.value===""?n.parentElement.firstChild.focus():n.blur()}});a.addEventListener("paste",e=>{const t=(e.clipboardData||window.clipboardData).getData("Text");typeof t=="string"&&t.length===o&&r(t)&&s.forEach((i,l)=>{i.value=t.charAt(l)})});p(o); diff --git a/docs/javascript/assets/index-wpBvGvp-.js b/docs/javascript/assets/index-bB5SJRWo.js similarity index 98% rename from docs/javascript/assets/index-wpBvGvp-.js rename to docs/javascript/assets/index-bB5SJRWo.js index 62128e802..4aba9ac2c 100644 --- a/docs/javascript/assets/index-wpBvGvp-.js +++ b/docs/javascript/assets/index-bB5SJRWo.js @@ -1,4 +1,4 @@ -import"./header-V3hWii48.js";import"./navbar-IV3mLr91.js";const h=document.getElementById("input-floor"),E=document.getElementById("input-lift"),D=document.getElementById("btn-submit"),I=document.getElementById("form1"),y=document.getElementById("btn-reset"),b=document.getElementById("content");let c=0,m=[{id:1,floor:1},{id:2,floor:1},{id:3,floor:1},{id:4,floor:1}];const L=function(e){if(e>3&&e<21)return"th";switch(e%10){case 1:return"st";case 2:return"nd";case 3:return"rd";default:return"th"}};function g(e,t){let o,a=1/0;for(let s=0;s{location.reload(!0),h.value="",E.value="",I.style.display="flex",y.style.display="none",b.style.display="none",c=0});D.addEventListener("click",e=>{e.preventDefault();let t=h.value,o=E.value;if(t>99||t<1||o<1||o>4)alert("floor should be betwween 1- 99 and lift value should be between 1 - 4");else{I.style.display="none",y.style.display="block",b.style.display="flex";const a=Array(Number(t)).fill(0);for(let n=0;n3&&e<21)return"th";switch(e%10){case 1:return"st";case 2:return"nd";case 3:return"rd";default:return"th"}};function g(e,t){let o,a=1/0;for(let s=0;s{location.reload(!0),h.value="",E.value="",I.style.display="flex",y.style.display="none",b.style.display="none",c=0});D.addEventListener("click",e=>{e.preventDefault();let t=h.value,o=E.value;if(t>99||t<1||o<1||o>4)alert("floor should be betwween 1- 99 and lift value should be between 1 - 4");else{I.style.display="none",y.style.display="block",b.style.display="flex";const a=Array(Number(t)).fill(0);for(let n=0;n diff --git a/docs/javascript/assets/index-FFqHW5dW.js b/docs/javascript/assets/index-bW3TYGl0.js similarity index 93% rename from docs/javascript/assets/index-FFqHW5dW.js rename to docs/javascript/assets/index-bW3TYGl0.js index 64e2b0dd4..4a82bd01a 100644 --- a/docs/javascript/assets/index-FFqHW5dW.js +++ b/docs/javascript/assets/index-bW3TYGl0.js @@ -1 +1 @@ -import"./header-V3hWii48.js";import"./navbar-IV3mLr91.js";const o=document.getElementById("password"),r=document.getElementById("progressBar"),i=document.getElementById("strength"),f=document.getElementById("lc"),h=document.getElementById("uc"),E=document.getElementById("num"),p=document.getElementById("sym"),B=document.getElementById("chars"),c=[{difficulty:"Weak",color:"red"},{difficulty:"Medium",color:"orange"},{difficulty:"Strong",color:"green"}],l=/\d/,u=/[A-Z]/,a=/[a-z]/,m=/[^A-Za-z0-9]/;function I(t){return t>8?c[2]:t>5?c[1]:c[0]}function w(t){let e=0;return t.length>3&&(e=Math.min(6,Math.floor(t.length/3)),e+=l.test(t)+u.test(t)+a.test(t)+m.test(t)),e}function C(t,e,s,n){i.textContent=t.difficulty,r.style.backgroundColor=t.color,r.style.width=e*10+"%",f.className=n.lc,h.className=n.uc,E.className=n.num,p.className=n.sym,B.textContent=s}o.addEventListener("input",function(){const t=o.value,e=w(o.value),s=I(e),[n,d,g,y]=[a.test(t),u.test(t),l.test(t),m.test(t)];C(s,e,t.length,{lc:n,uc:d,num:g,sym:y})}); +import"./header-BV02bT_J.js";import"./navbar-Dp-2B13D.js";const o=document.getElementById("password"),r=document.getElementById("progressBar"),i=document.getElementById("strength"),f=document.getElementById("lc"),h=document.getElementById("uc"),E=document.getElementById("num"),p=document.getElementById("sym"),B=document.getElementById("chars"),c=[{difficulty:"Weak",color:"red"},{difficulty:"Medium",color:"orange"},{difficulty:"Strong",color:"green"}],l=/\d/,u=/[A-Z]/,a=/[a-z]/,m=/[^A-Za-z0-9]/;function I(t){return t>8?c[2]:t>5?c[1]:c[0]}function w(t){let e=0;return t.length>3&&(e=Math.min(6,Math.floor(t.length/3)),e+=l.test(t)+u.test(t)+a.test(t)+m.test(t)),e}function C(t,e,s,n){i.textContent=t.difficulty,r.style.backgroundColor=t.color,r.style.width=e*10+"%",f.className=n.lc,h.className=n.uc,E.className=n.num,p.className=n.sym,B.textContent=s}o.addEventListener("input",function(){const t=o.value,e=w(o.value),s=I(e),[n,d,g,y]=[a.test(t),u.test(t),l.test(t),m.test(t)];C(s,e,t.length,{lc:n,uc:d,num:g,sym:y})}); diff --git a/docs/javascript/assets/index-oo81m8F6.js b/docs/javascript/assets/index-btGuZ4sI.js similarity index 91% rename from docs/javascript/assets/index-oo81m8F6.js rename to docs/javascript/assets/index-btGuZ4sI.js index 522a62624..4eae2279f 100644 --- a/docs/javascript/assets/index-oo81m8F6.js +++ b/docs/javascript/assets/index-btGuZ4sI.js @@ -1,4 +1,4 @@ -import"./header-V3hWii48.js";import"./navbar-IV3mLr91.js";const s=document.getElementById("balance-amount"),l=document.getElementById("transaction-list"),o=document.getElementById("description"),c=document.getElementById("amount"),u=document.getElementById("transaction-type"),m=document.getElementById("add-button");let d=0;function i(){s.textContent=`$${d.toFixed(2)}`}function r(n,t,e){const a=document.createElement("li");a.classList.add(e),a.innerHTML=` +import"./header-BV02bT_J.js";import"./navbar-Dp-2B13D.js";const s=document.getElementById("balance-amount"),l=document.getElementById("transaction-list"),o=document.getElementById("description"),c=document.getElementById("amount"),u=document.getElementById("transaction-type"),m=document.getElementById("add-button");let d=0;function i(){s.textContent=`$${d.toFixed(2)}`}function r(n,t,e){const a=document.createElement("li");a.classList.add(e),a.innerHTML=` ${n} $${t.toFixed(2)} `,l.appendChild(a),d+=e==="income"?t:-t,i()}m.addEventListener("click",()=>{const n=o.value,t=parseFloat(c.value),e=u.value;if(n.trim()===""||isNaN(t)||t<=0){alert("Please enter a valid description and amount.");return}r(n,t,e),o.value="",c.value=""});i(); diff --git a/docs/javascript/assets/index-2Dg5ux8V.js b/docs/javascript/assets/index-dM6T1ulJ.js similarity index 93% rename from docs/javascript/assets/index-2Dg5ux8V.js rename to docs/javascript/assets/index-dM6T1ulJ.js index 01bb4ca7b..3778c3f4d 100644 --- a/docs/javascript/assets/index-2Dg5ux8V.js +++ b/docs/javascript/assets/index-dM6T1ulJ.js @@ -1 +1 @@ -import"./header-V3hWii48.js";import"./navbar-IV3mLr91.js";const s=document.getElementById("movie-title"),c=document.getElementById("movie-genre"),r=document.getElementById("movie-cast"),d=document.getElementById("movie-rating"),l=document.getElementById("movie-released"),v=document.getElementById("movie-director"),a=document.getElementById("movie-poster"),u="adff2bf8",o=document.querySelector(".movie-info");o.classList.add("hidden");const t=document.getElementById("search-form");t.addEventListener("submit",n=>{n.preventDefault();const m=new FormData(t).get("movie-name");function i(e){e.Response==="False"?alert("Please enter a valid movie name."):(s.textContent=e.Title,c.textContent=e.Genre,r.textContent=e.Actors,d.textContent=e.imdbRating,l.textContent=e.Released,v.textContent=e.Director,a.src=e.Poster,o.classList.remove("hidden"))}fetch(`https://www.omdbapi.com/?t=${m}&apikey=${u}`).then(e=>e.json()).then(e=>{i(e)}).catch(e=>{console.error("Error fetching data: ",e)})}); +import"./header-BV02bT_J.js";import"./navbar-Dp-2B13D.js";const s=document.getElementById("movie-title"),c=document.getElementById("movie-genre"),r=document.getElementById("movie-cast"),d=document.getElementById("movie-rating"),l=document.getElementById("movie-released"),v=document.getElementById("movie-director"),a=document.getElementById("movie-poster"),u="adff2bf8",o=document.querySelector(".movie-info");o.classList.add("hidden");const t=document.getElementById("search-form");t.addEventListener("submit",n=>{n.preventDefault();const m=new FormData(t).get("movie-name");function i(e){e.Response==="False"?alert("Please enter a valid movie name."):(s.textContent=e.Title,c.textContent=e.Genre,r.textContent=e.Actors,d.textContent=e.imdbRating,l.textContent=e.Released,v.textContent=e.Director,a.src=e.Poster,o.classList.remove("hidden"))}fetch(`https://www.omdbapi.com/?t=${m}&apikey=${u}`).then(e=>e.json()).then(e=>{i(e)}).catch(e=>{console.error("Error fetching data: ",e)})}); diff --git a/docs/javascript/assets/index-866SYcvD.js b/docs/javascript/assets/index-e00N2DoI.js similarity index 95% rename from docs/javascript/assets/index-866SYcvD.js rename to docs/javascript/assets/index-e00N2DoI.js index 01f66e332..330cfdc86 100644 --- a/docs/javascript/assets/index-866SYcvD.js +++ b/docs/javascript/assets/index-e00N2DoI.js @@ -1 +1 @@ -import"./header-V3hWii48.js";import"./navbar-IV3mLr91.js";const x=function(){var t=.618033988749895,e=(Math.random()+t)%1,a=Math.round(Math.random()*100)%85,d=Math.round(Math.random()*100)%85,m="hsl("+Math.round(360*e)+","+a+"%,"+d+"%)",u="hsl("+Math.round(360*e)+","+a+"%,"+(d+5)+"%)";return{color:m,oddColor:u}},r=document.getElementById("board"),f=3;let l=f,n=0,i=+localStorage.getItem("maxScore"),h=!0;function g(t,e){const a=document.createDocumentFragment(),d=x(),m=Math.ceil(Math.random()*e),u=Math.ceil(Math.random()*e);for(let s=1;s<=e;s++)for(let c=1;c<=e;c++){var o=document.createElement("button");o.dataset.locX=s,o.dataset.locY=c,o.classList.add("box"),s===m&&c===u?(o.style.backgroundColor=d.oddColor,o.classList.add("odd-box")):o.style.backgroundColor=d.color,a.appendChild(o)}t.appendChild(a),t.style.gridTemplateRows=`repeat(${e}, 1fr)`,t.style.gridTemplateColumns=`repeat(${e}, 1fr)`}function C(t){r.classList.add("shake"),setTimeout(()=>{r.classList.remove("shake"),t()},2e3)}function M(){n>i&&(document.getElementById("maxScore").textContent=n,i=n,localStorage.setItem("maxScore",i)),n=0,document.getElementById("score").textContent=n}document.addEventListener("click",t=>{h&&t.target.classList.contains("box")&&(t.target.classList.contains("odd-box")?(r.innerHTML="",document.getElementById("score").textContent=++n,g(r,++l)):(h=!1,document.querySelector(".odd-box").style.border="2px solid red",C(function(){M(),r.innerHTML="",l=f,g(r,l),h=!0})))});g(r,l);document.getElementById("maxScore").textContent=i; +import"./header-BV02bT_J.js";import"./navbar-Dp-2B13D.js";const x=function(){var t=.618033988749895,e=(Math.random()+t)%1,a=Math.round(Math.random()*100)%85,d=Math.round(Math.random()*100)%85,m="hsl("+Math.round(360*e)+","+a+"%,"+d+"%)",u="hsl("+Math.round(360*e)+","+a+"%,"+(d+5)+"%)";return{color:m,oddColor:u}},r=document.getElementById("board"),f=3;let l=f,n=0,i=+localStorage.getItem("maxScore"),h=!0;function g(t,e){const a=document.createDocumentFragment(),d=x(),m=Math.ceil(Math.random()*e),u=Math.ceil(Math.random()*e);for(let s=1;s<=e;s++)for(let c=1;c<=e;c++){var o=document.createElement("button");o.dataset.locX=s,o.dataset.locY=c,o.classList.add("box"),s===m&&c===u?(o.style.backgroundColor=d.oddColor,o.classList.add("odd-box")):o.style.backgroundColor=d.color,a.appendChild(o)}t.appendChild(a),t.style.gridTemplateRows=`repeat(${e}, 1fr)`,t.style.gridTemplateColumns=`repeat(${e}, 1fr)`}function C(t){r.classList.add("shake"),setTimeout(()=>{r.classList.remove("shake"),t()},2e3)}function M(){n>i&&(document.getElementById("maxScore").textContent=n,i=n,localStorage.setItem("maxScore",i)),n=0,document.getElementById("score").textContent=n}document.addEventListener("click",t=>{h&&t.target.classList.contains("box")&&(t.target.classList.contains("odd-box")?(r.innerHTML="",document.getElementById("score").textContent=++n,g(r,++l)):(h=!1,document.querySelector(".odd-box").style.border="2px solid red",C(function(){M(),r.innerHTML="",l=f,g(r,l),h=!0})))});g(r,l);document.getElementById("maxScore").textContent=i; diff --git a/docs/javascript/assets/index-G6qGI7cg.js b/docs/javascript/assets/index-e4n4dTEq.js similarity index 97% rename from docs/javascript/assets/index-G6qGI7cg.js rename to docs/javascript/assets/index-e4n4dTEq.js index 6b186e50c..d1f37b34c 100644 --- a/docs/javascript/assets/index-G6qGI7cg.js +++ b/docs/javascript/assets/index-e4n4dTEq.js @@ -1 +1 @@ -import"./header-V3hWii48.js";import"./navbar-IV3mLr91.js";const h=["JS","HTML","CSS","TS"],d=["React","Angular","Vue","Svelte"],r=document.querySelector(".left-section"),m=document.querySelector(".right-section"),a=document.querySelector(".move-all-left"),E=document.querySelector(".move-left"),u=document.querySelector(".move-right"),v=document.querySelector(".move-all-right");class S{constructor({leftSectionEl:e,rightSectionEl:t,moveAllLeftButton:i,moveLeftButton:l,moveRightButton:o,moveAllRightButton:n,leftItems:c,rightItems:s}){this.leftSectionEl=e,this.rightSectionEl=t,this.moveAllLeftButton=i,this.moveLeftButton=l,this.moveRightButton=o,this.moveAllRightButton=n,this.leftItems=c,this.rightItems=s,this.populate(),this.setState(),this.addEventListeners()}populate(){this.leftItems.forEach(e=>this.leftSectionEl.appendChild(this.createElement(e))),this.rightItems.forEach(e=>this.rightSectionEl.appendChild(this.createElement(e)))}createElement(e){const t=document.createElement("div"),i=document.createElement("input");i.type="checkbox",i.id=e;const l=document.createElement("label");return l.htmlFor=e,l.textContent=e,t.appendChild(i),t.appendChild(l),t}setState(){this.moveAllLeftButton.disabled=!this.rightSectionEl.childElementCount,this.moveLeftButton.disabled=!this.rightSectionEl.querySelector("input:checked"),this.moveRightButton.disabled=!this.leftSectionEl.querySelector("input:checked"),this.moveAllRightButton.disabled=!this.leftSectionEl.childElementCount}addEventListeners(){this.leftSectionEl.addEventListener("click",this.setState.bind(this)),this.rightSectionEl.addEventListener("click",this.setState.bind(this)),this.moveAllLeftButton.addEventListener("click",()=>{this.moveAllLeft(),this.setState()}),this.moveLeftButton.addEventListener("click",()=>{this.moveLeft(),this.setState()}),this.moveRightButton.addEventListener("click",()=>{this.moveRight(),this.setState()}),this.moveAllRightButton.addEventListener("click",()=>{this.moveAllRight(),this.setState()})}moveAllLeft(){this.rightSectionEl.querySelectorAll("div").forEach(t=>{const i=t;this.leftSectionEl.appendChild(i)})}moveLeft(){this.rightSectionEl.querySelectorAll("input:checked").forEach(t=>{const i=t.parentElement;t.checked=!1,this.leftSectionEl.appendChild(i)})}moveRight(){this.leftSectionEl.querySelectorAll("input:checked").forEach(t=>{const i=t.parentElement;t.checked=!1,this.rightSectionEl.appendChild(i)})}moveAllRight(){this.leftSectionEl.querySelectorAll("div").forEach(t=>{const i=t;this.rightSectionEl.appendChild(i)})}}new S({leftSectionEl:r,rightSectionEl:m,moveAllLeftButton:a,moveLeftButton:E,moveRightButton:u,moveAllRightButton:v,leftItems:h,rightItems:d}); +import"./header-BV02bT_J.js";import"./navbar-Dp-2B13D.js";const h=["JS","HTML","CSS","TS"],d=["React","Angular","Vue","Svelte"],r=document.querySelector(".left-section"),m=document.querySelector(".right-section"),a=document.querySelector(".move-all-left"),E=document.querySelector(".move-left"),u=document.querySelector(".move-right"),v=document.querySelector(".move-all-right");class S{constructor({leftSectionEl:e,rightSectionEl:t,moveAllLeftButton:i,moveLeftButton:l,moveRightButton:o,moveAllRightButton:n,leftItems:c,rightItems:s}){this.leftSectionEl=e,this.rightSectionEl=t,this.moveAllLeftButton=i,this.moveLeftButton=l,this.moveRightButton=o,this.moveAllRightButton=n,this.leftItems=c,this.rightItems=s,this.populate(),this.setState(),this.addEventListeners()}populate(){this.leftItems.forEach(e=>this.leftSectionEl.appendChild(this.createElement(e))),this.rightItems.forEach(e=>this.rightSectionEl.appendChild(this.createElement(e)))}createElement(e){const t=document.createElement("div"),i=document.createElement("input");i.type="checkbox",i.id=e;const l=document.createElement("label");return l.htmlFor=e,l.textContent=e,t.appendChild(i),t.appendChild(l),t}setState(){this.moveAllLeftButton.disabled=!this.rightSectionEl.childElementCount,this.moveLeftButton.disabled=!this.rightSectionEl.querySelector("input:checked"),this.moveRightButton.disabled=!this.leftSectionEl.querySelector("input:checked"),this.moveAllRightButton.disabled=!this.leftSectionEl.childElementCount}addEventListeners(){this.leftSectionEl.addEventListener("click",this.setState.bind(this)),this.rightSectionEl.addEventListener("click",this.setState.bind(this)),this.moveAllLeftButton.addEventListener("click",()=>{this.moveAllLeft(),this.setState()}),this.moveLeftButton.addEventListener("click",()=>{this.moveLeft(),this.setState()}),this.moveRightButton.addEventListener("click",()=>{this.moveRight(),this.setState()}),this.moveAllRightButton.addEventListener("click",()=>{this.moveAllRight(),this.setState()})}moveAllLeft(){this.rightSectionEl.querySelectorAll("div").forEach(t=>{const i=t;this.leftSectionEl.appendChild(i)})}moveLeft(){this.rightSectionEl.querySelectorAll("input:checked").forEach(t=>{const i=t.parentElement;t.checked=!1,this.leftSectionEl.appendChild(i)})}moveRight(){this.leftSectionEl.querySelectorAll("input:checked").forEach(t=>{const i=t.parentElement;t.checked=!1,this.rightSectionEl.appendChild(i)})}moveAllRight(){this.leftSectionEl.querySelectorAll("div").forEach(t=>{const i=t;this.rightSectionEl.appendChild(i)})}}new S({leftSectionEl:r,rightSectionEl:m,moveAllLeftButton:a,moveLeftButton:E,moveRightButton:u,moveAllRightButton:v,leftItems:h,rightItems:d}); diff --git a/docs/javascript/assets/index-KIFspP9n.js b/docs/javascript/assets/index-eWM4s4jS.js similarity index 96% rename from docs/javascript/assets/index-KIFspP9n.js rename to docs/javascript/assets/index-eWM4s4jS.js index a975a761c..ecf2bcbff 100644 --- a/docs/javascript/assets/index-KIFspP9n.js +++ b/docs/javascript/assets/index-eWM4s4jS.js @@ -1 +1 @@ -import"./header-V3hWii48.js";import"./navbar-IV3mLr91.js";const E=(e,t,{type:s="div",...a})=>{const o=document.createDocumentFragment();let r=0;for(let c=0;c{const s=document.createElement(e);return Object.entries(t).forEach(([a,o])=>{if(typeof o=="object"){Object.entries(o).forEach(([r,c])=>{s[a][r]=c});return}s[a]=o}),s},y=4,g=4,v=Array.from(new Array(y*g),(e,t)=>t),b=2e3,w=["🍇","🍉","🚗","🍌","🏠","🥭","🍎","🐯","🍒","🍓","🐵","🥝","🍿","🏀","🎱","🐻","🍜","🍢","🎓","🍤","🦀","🍦","🍩","🎂","🍫","🍭","🍼","🪔","🍺","🐱","🐶"];let n=[],f=0,m=[],h=!1,p;const d=document.querySelector(".game-front"),l=document.querySelector(".game-back"),L=document.querySelector("output"),T=document.querySelector(".restart"),j=(e,t,s)=>{const a=Array.from(new Array(e*t/2),()=>s[Math.floor(Math.random()*s.length)]),o=a.concat(a),r=[],c=o.length;for(let i=0;i{e.forEach(s=>{d.children[s].classList.add(t),l.children[s].classList.add(t)})},u=(e,t)=>{e.forEach(s=>{d.children[s].classList.remove(t),l.children[s].classList.remove(t)})},S=async(e=!1)=>{h||(m=[],n=[],f=0,h=!0,L.textContent=f,e||(d.classList.add("reset"),l.classList.add("reset"),u(v,"active"),u(v,"match"),await new Promise(t=>setTimeout(t,b/2))),m=j(y,g,w),l.childNodes.forEach((t,s)=>{t.textContent=m[s]}),d.classList.remove("reset"),l.classList.remove("reset"),h=!1)};d.appendChild(E(y,g,{type:"button",className:"tile"}));l.appendChild(E(y,g,{type:"button",className:"tile back-tile"}));d.addEventListener("click",e=>{const t=e.target.dataset.idx;t==null||h||e.target.classList.contains("match")||(f++,n.length===2&&(p&&clearTimeout(p),u(n,"active"),n=[]),n.push(t),n.length===2&&(m[n[0]]===m[n[1]]&&(u(n,"active"),k(n,"match")),p=setTimeout(()=>{u(n,"active"),n=[]},b)),e.target.classList.add("active"),l.children[t].classList.add("active"),L.textContent=f)});T.addEventListener("click",()=>S());S(!0); +import"./header-BV02bT_J.js";import"./navbar-Dp-2B13D.js";const E=(e,t,{type:s="div",...a})=>{const o=document.createDocumentFragment();let r=0;for(let c=0;c{const s=document.createElement(e);return Object.entries(t).forEach(([a,o])=>{if(typeof o=="object"){Object.entries(o).forEach(([r,c])=>{s[a][r]=c});return}s[a]=o}),s},y=4,g=4,v=Array.from(new Array(y*g),(e,t)=>t),b=2e3,w=["🍇","🍉","🚗","🍌","🏠","🥭","🍎","🐯","🍒","🍓","🐵","🥝","🍿","🏀","🎱","🐻","🍜","🍢","🎓","🍤","🦀","🍦","🍩","🎂","🍫","🍭","🍼","🪔","🍺","🐱","🐶"];let n=[],f=0,m=[],h=!1,p;const d=document.querySelector(".game-front"),l=document.querySelector(".game-back"),L=document.querySelector("output"),T=document.querySelector(".restart"),j=(e,t,s)=>{const a=Array.from(new Array(e*t/2),()=>s[Math.floor(Math.random()*s.length)]),o=a.concat(a),r=[],c=o.length;for(let i=0;i{e.forEach(s=>{d.children[s].classList.add(t),l.children[s].classList.add(t)})},u=(e,t)=>{e.forEach(s=>{d.children[s].classList.remove(t),l.children[s].classList.remove(t)})},S=async(e=!1)=>{h||(m=[],n=[],f=0,h=!0,L.textContent=f,e||(d.classList.add("reset"),l.classList.add("reset"),u(v,"active"),u(v,"match"),await new Promise(t=>setTimeout(t,b/2))),m=j(y,g,w),l.childNodes.forEach((t,s)=>{t.textContent=m[s]}),d.classList.remove("reset"),l.classList.remove("reset"),h=!1)};d.appendChild(E(y,g,{type:"button",className:"tile"}));l.appendChild(E(y,g,{type:"button",className:"tile back-tile"}));d.addEventListener("click",e=>{const t=e.target.dataset.idx;t==null||h||e.target.classList.contains("match")||(f++,n.length===2&&(p&&clearTimeout(p),u(n,"active"),n=[]),n.push(t),n.length===2&&(m[n[0]]===m[n[1]]&&(u(n,"active"),k(n,"match")),p=setTimeout(()=>{u(n,"active"),n=[]},b)),e.target.classList.add("active"),l.children[t].classList.add("active"),L.textContent=f)});T.addEventListener("click",()=>S());S(!0); diff --git a/docs/javascript/assets/index-z3NOYjEz.js b/docs/javascript/assets/index-gpWo-PRn.js similarity index 92% rename from docs/javascript/assets/index-z3NOYjEz.js rename to docs/javascript/assets/index-gpWo-PRn.js index 577331c22..fbeb5b2e3 100644 --- a/docs/javascript/assets/index-z3NOYjEz.js +++ b/docs/javascript/assets/index-gpWo-PRn.js @@ -1 +1 @@ -import"./header-V3hWii48.js";import"./navbar-IV3mLr91.js";const c=document.getElementById("userInput"),r=document.getElementById("lowercase"),d=document.getElementById("uppercase"),p=document.getElementById("camelcase"),u=document.getElementById("pascalcase"),C=document.getElementById("snakecase"),i=document.getElementById("kebabcase");document.getElementById("titlecase");const E=document.getElementById("trim");function l({text:e=c.value.trim()}){var n;const t=e.toLowerCase().split(" ").reduce((m,s)=>{var o,a;return m+((o=s[0])==null?void 0:o.toUpperCase())+((a=s.substring(1))==null?void 0:a.toLowerCase())});r.textContent=e.toLowerCase(),d.textContent=e.toUpperCase(),p.textContent=t,u.textContent=t?((n=t[0])==null?void 0:n.toUpperCase())+t.substring(1):"",C.textContent=e.split(" ").join("_"),i.textContent=e.split(" ").join("-"),E.textContent=e.split(" ").join("")}c.addEventListener("input",l);l({}); +import"./header-BV02bT_J.js";import"./navbar-Dp-2B13D.js";const c=document.getElementById("userInput"),r=document.getElementById("lowercase"),d=document.getElementById("uppercase"),p=document.getElementById("camelcase"),u=document.getElementById("pascalcase"),C=document.getElementById("snakecase"),i=document.getElementById("kebabcase");document.getElementById("titlecase");const E=document.getElementById("trim");function l({text:e=c.value.trim()}){var n;const t=e.toLowerCase().split(" ").reduce((m,s)=>{var o,a;return m+((o=s[0])==null?void 0:o.toUpperCase())+((a=s.substring(1))==null?void 0:a.toLowerCase())});r.textContent=e.toLowerCase(),d.textContent=e.toUpperCase(),p.textContent=t,u.textContent=t?((n=t[0])==null?void 0:n.toUpperCase())+t.substring(1):"",C.textContent=e.split(" ").join("_"),i.textContent=e.split(" ").join("-"),E.textContent=e.split(" ").join("")}c.addEventListener("input",l);l({}); diff --git a/docs/javascript/assets/index-nutw0Cfq.js b/docs/javascript/assets/index-hFSyjhzS.js similarity index 94% rename from docs/javascript/assets/index-nutw0Cfq.js rename to docs/javascript/assets/index-hFSyjhzS.js index 934457c53..255b42570 100644 --- a/docs/javascript/assets/index-nutw0Cfq.js +++ b/docs/javascript/assets/index-hFSyjhzS.js @@ -1 +1 @@ -import"./header-V3hWii48.js";import"./navbar-IV3mLr91.js";const a=document.querySelector("button"),c=document.querySelectorAll(".options button")[0],u=document.querySelectorAll(".options button")[1],l=document.querySelectorAll(".options button")[2],s=document.querySelectorAll(".options button")[3];a.addEventListener("click",d);c.addEventListener("click",f);u.addEventListener("click",p);l.addEventListener("click",m);s.addEventListener("click",g);const r="1234";let o=!1,n=1e3;function d(){document.getElementById("pin").value===r?(o=!0,e("Login successful.")):(o=!1,e("Invalid PIN. Please try again."))}function f(){if(!o){e("Please login first.");return}e(`Your balance is $${n}`)}function p(){if(!o){e("Please login first.");return}const t=parseFloat(prompt("Enter the amount to deposit:"));!isNaN(t)&&t>0?(n+=t,e(`Deposited $${t}. Your new balance is $${n}`)):e("Invalid amount. Please try again.")}function m(){if(!o){e("Please login first.");return}const t=parseFloat(prompt("Enter the amount to withdraw:"));!isNaN(t)&&t>0&&t<=n?(n-=t,e(`Withdrawn $${t}. Your new balance is $${n}`)):e("Invalid amount or insufficient balance. Please try again.")}function g(){o=!1,e("Logged out successfully.")}function e(t){const i=document.getElementById("output");i.textContent=t} +import"./header-BV02bT_J.js";import"./navbar-Dp-2B13D.js";const a=document.querySelector("button"),c=document.querySelectorAll(".options button")[0],u=document.querySelectorAll(".options button")[1],l=document.querySelectorAll(".options button")[2],s=document.querySelectorAll(".options button")[3];a.addEventListener("click",d);c.addEventListener("click",f);u.addEventListener("click",p);l.addEventListener("click",m);s.addEventListener("click",g);const r="1234";let o=!1,n=1e3;function d(){document.getElementById("pin").value===r?(o=!0,e("Login successful.")):(o=!1,e("Invalid PIN. Please try again."))}function f(){if(!o){e("Please login first.");return}e(`Your balance is $${n}`)}function p(){if(!o){e("Please login first.");return}const t=parseFloat(prompt("Enter the amount to deposit:"));!isNaN(t)&&t>0?(n+=t,e(`Deposited $${t}. Your new balance is $${n}`)):e("Invalid amount. Please try again.")}function m(){if(!o){e("Please login first.");return}const t=parseFloat(prompt("Enter the amount to withdraw:"));!isNaN(t)&&t>0&&t<=n?(n-=t,e(`Withdrawn $${t}. Your new balance is $${n}`)):e("Invalid amount or insufficient balance. Please try again.")}function g(){o=!1,e("Logged out successfully.")}function e(t){const i=document.getElementById("output");i.textContent=t} diff --git a/docs/javascript/assets/index-rLUNp7oL.js b/docs/javascript/assets/index-hqBCijBB.js similarity index 99% rename from docs/javascript/assets/index-rLUNp7oL.js rename to docs/javascript/assets/index-hqBCijBB.js index 21f9c5a49..5f02d3012 100644 --- a/docs/javascript/assets/index-rLUNp7oL.js +++ b/docs/javascript/assets/index-hqBCijBB.js @@ -1 +1 @@ -import"./header-V3hWii48.js";import"./navbar-IV3mLr91.js";const a="/frontend-mini-challenges/javascript/assets/clear-LZ6NAuEy.png",A="/frontend-mini-challenges/javascript/assets/clouds-Ewen_3nw.png",i="/frontend-mini-challenges/javascript/assets/drizzle-qNMLyhya.png",c="/frontend-mini-challenges/javascript/assets/haze-CPmwrBBR.png",o="data:image/png;base64,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",g="/frontend-mini-challenges/javascript/assets/mist-UsRI81hv.png",w="/frontend-mini-challenges/javascript/assets/rain-6EVq1sZg.png",p="/frontend-mini-challenges/javascript/assets/snow--VBqIh3y.png",m="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE8AAABOCAYAAABhaEsjAAAAAXNSR0IArs4c6QAACFZJREFUeAHtnOt120YQhcWc/A87CFKBkQoEVyB2ILgCMRWIrkBMBYQqEF0B4QrEVECoAsMVKN+lsdBwsSRByrZAwnPOzc7OY3fmahekkCiDizOV5+fnIa1dghGIgCRZ//PiomAUSpCDT4PBoGDst0BaAh7AofJIwi0Q6f0Smo7BArxWvrDATRv2Bm2Cuh5Ds3fUOA7U+RXbHCwr2JCIiTAC74AvyvnAddZ4fgJpQ7AAvuQYREorITYCE1ACKzqFSatFTimIpkScnlNWlkyObpZcrZnZBSs9PSVu9tZKUz5xanq4N7FFAOuMQAmsxC1Sux9CRzPbFfr0e1fNmjGwBOoKR997n5+6Hg2kwEq2qwACRcIdWACdVpEg/QFcg62nFZ9P4GLXXp330dAKOFluK5iABCxc4I5RZN7uWMf/YaXbYjttp8mJR0IUKpiYGy+uzfSRoOApxD43C6xCe3beRgM6JU6CzzmcPsGKz8EYJBVGjBkogZUggQRENgg97TxZtkAKVsNWGqcEpx9TYEvsOlbHNwQi0UrwuUaAjZvbdTqvU/zUdNgoHp+IsCdzKVubxogbAyupn4dzZAN8f6fnFL4yxYeaswSUxEaHNET83KwffK7h17pORoes/6axruJqbJwo7HpeOZkcWiyJ/nMt9tcgxhI8+c0P6OKcohNbF7+sl3aOX2TaZufW30av3ud9MrEjozt16RTG4UmQZwqW+uTNNbXEXbziTYglJwrsY03xKZJX2A4C+n8B2zGmKJBkyb343QZUxz/0bsuGHas/VVejkV9dy2Kb30t4pzqJLY19ZHRrN+aD1dA6cXAVCkrBj5ap3ZzN9JC2Xy82/C6WmKFX2INs8jNee76xyzt0ZJ2NDwQ/H//E7JXVfoy5cfwwtd4QhU0Sb6Ol9VudOFu4l1ZP9VViTarNbaMrr17lmzLy8zBnJmZS+zGOgDb/kZLWG6KwkQrOqw2194bfxko3sVXKxqD82M9pOyd3YlYrQ3n4VyYmDcV02kbxarIwTUidg+jYwslNtYiRib8Wvtj4pR51wv1132RO8RFIXrs5a9wAK8vQmgRMTVAeiumFDRJ0ikTaClgpmTSuPrYhsB9s4w2icOonOfOCmPZG9ChoECeSsGeGBRE8rMlTErDMmtheqCLnhZCamTVx4sZKfeoGWCNiH0Ew2axzbqp+zZuD6bYv5wFunoiNyPkmBPhHclwluZBejnAwBI/ASrxBBp6V8dZHciOoZxP40FW1vIiitEGDrEaSRkDPDHBxDfzn/zRIA4ElcJIGg3pghIBrsAK+bL+NRNpnnhhPzp0retTz7BJcgRnwTxqm9aHayYX7tA2+sz93Enf0d49v7L32aoT/Vn1Mf2h4+mkQaX/BSQrKfRQMXADHNEGfgEvQF9Fb5yWYg7wNYZaYmjxrrIi0pnPSS0gSYb/kFwMnysDGteW6xvRxBTQOT7SnfWUXBAiSHDxxjQvGg2VNHqSJqAeQHLzCeSQsaWMO7g8h0pGntyrxefDw6i4yVvjYhkR9SU4JngEnn1FyNznTUTdNhyUCf4KQTCDwY8hR2yDvETjR0e2V0HgExqBwJJhxgS6iw2ICpSbhqH5Y6T8FPok6XDqlTcFhJWlG9MsCGXppkFlS0FegeQIx5sDJAqUZ1C/+1t3Cw8SRUo0Ln4bQB0ZBUA40nrMsae4zHwrltiYhbYzvzvj/JV62FyFo7rHcp+mMZqMXNjY1fP4VbsYSNAV9lptN2l5mkFIYYvTLxFrWX5LdhIAIfQSGznamY0JfMfjD6y/jWn7wbBfwIk5q0tDfE5f7cb2aQ0oK7Kli+jwJkYA9l7OSLBTTeRvF66vENbgDD+AWRMcWTq7WWwIrOpUbglNEO1nJ6V9b3fu3urIle99zHTQGhcoTHPpVMgK+6N/8/+Mb28xZVz3n4F0Vr7fK7yt9PVQxX4zt71rH2YUPjHldkKdQXwy+gF0iYo8SFk28hSN/Ifz26m78HUYj2E/+CfNdNdyxv06Ik3uUj+DJGRh1tRIzb61y0nKC7VqjQLJiarH/NXyKdQoi8BZSsKn2bwiExBgT43hfNSvTBP+S0V25FD0Hx8icpJsqMdqzQFyTRzElwemehLdyD83GT4Y4Z56iuCsbOeMRozhwEjvFjIXRT/IvgGwDrhdrcyfQ+b7naH+IF6f4F0CXATbsidloMBC7y2Rz80Cg9ZenQl4RaKQ2cY2XTL46A8/AkdMPHK9MfGF0p1rytOdpCIRYif2qcWYmYOH7983J1Se1FUvUOh2nXow6Ge9bszN+Ks5d1YxTvzBsifFLbd0csRGw3yGzwPqKsRL7MZ2dU/XYVL4KFYp/bmKkuq8dofC1jRh9+bYnSnmRn4DN7l/4/k7P1ZC6MpL4BeMbgsLESF2AUKzWuwX2xDEN/OezbIR9JWcljZPv19K5OYXnrnrGbadPJ8knUGkrsKjgnzTMawledTxp5XdD1Dly9hVE5SLGyrZmdQIt0TYnpJcY09D+2LXWCjjJQnEnYaODzHXBqCu39cGNLwFzsE0KHBMw3NY8vgVwIpKjbbGdt6t4oCaciMCtzash+UECUjCp9K2kOxKImwErY+c72ZFuYtsR+s4TeEyjrDnz9siOWaeTOTSmU2RFBKavLZY1IvBoF0Zfgp2n+7X7/vR8GvIJVM8LkBxaDDm62rdAPwQrOZPzIs6RQ2MJKG23la7TcwMiFxsa8V+BGfBJw/SchXKcbeCUUx5pMqL+DITeuGBe/5+4l1KM6DTFZm5VvVHW32HMrfGsdUjUKdQ1O1Z0gidAxPZTaD4GU1CAfSLCMpCCg0g7i2u764hASIRfEDExkJRgKSXwSl/mVvI/58cvM148MyUAAAAASUVORK5CYII=",h=new Map([["clear",a],["clouds",A],["drizzle",i],["haze",c],["humidity",o],["mist",g],["rain",w],["snow",p],["wind",m]]),C="46d47581a51a79782741111953e700af",d="https://api.openweathermap.org/data/2.5/weather?units=metric&q=",u=document.querySelector(".search input"),l=document.querySelector(".search button"),f=document.querySelector(".weather-icon");async function z(t){var r,s;const n=await fetch(d+t+`&appid=${C}`);if(n.status==404)document.querySelector(".error").style.display="block",document.querySelector(".weather").style.display="none";else{var e=await n.json();document.querySelector(".city").innerHTML=e.name,document.querySelector(".temp").innerHTML=Math.round(e.main.temp)+"°C",document.querySelector(".humidity").innerHTML=e.main.humidity+"%",document.querySelector(".wind").innerHTML=e.wind.speed+"km/h",f.src=h.get((s=(r=e.weather[0])==null?void 0:r.main)==null?void 0:s.toLowerCase()),document.querySelector(".weather").style.display="block",document.querySelector(".error").style.display="none"}}l.addEventListener("click",()=>{z(u.value)}); +import"./header-BV02bT_J.js";import"./navbar-Dp-2B13D.js";const a="/frontend-mini-challenges/javascript/assets/clear-LZ6NAuEy.png",A="/frontend-mini-challenges/javascript/assets/clouds-Ewen_3nw.png",i="/frontend-mini-challenges/javascript/assets/drizzle-qNMLyhya.png",c="/frontend-mini-challenges/javascript/assets/haze-CPmwrBBR.png",o="data:image/png;base64,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",g="/frontend-mini-challenges/javascript/assets/mist-UsRI81hv.png",w="/frontend-mini-challenges/javascript/assets/rain-6EVq1sZg.png",p="/frontend-mini-challenges/javascript/assets/snow--VBqIh3y.png",m="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE8AAABOCAYAAABhaEsjAAAAAXNSR0IArs4c6QAACFZJREFUeAHtnOt120YQhcWc/A87CFKBkQoEVyB2ILgCMRWIrkBMBYQqEF0B4QrEVECoAsMVKN+lsdBwsSRByrZAwnPOzc7OY3fmahekkCiDizOV5+fnIa1dghGIgCRZ//PiomAUSpCDT4PBoGDst0BaAh7AofJIwi0Q6f0Smo7BArxWvrDATRv2Bm2Cuh5Ds3fUOA7U+RXbHCwr2JCIiTAC74AvyvnAddZ4fgJpQ7AAvuQYREorITYCE1ACKzqFSatFTimIpkScnlNWlkyObpZcrZnZBSs9PSVu9tZKUz5xanq4N7FFAOuMQAmsxC1Sux9CRzPbFfr0e1fNmjGwBOoKR997n5+6Hg2kwEq2qwACRcIdWACdVpEg/QFcg62nFZ9P4GLXXp330dAKOFluK5iABCxc4I5RZN7uWMf/YaXbYjttp8mJR0IUKpiYGy+uzfSRoOApxD43C6xCe3beRgM6JU6CzzmcPsGKz8EYJBVGjBkogZUggQRENgg97TxZtkAKVsNWGqcEpx9TYEvsOlbHNwQi0UrwuUaAjZvbdTqvU/zUdNgoHp+IsCdzKVubxogbAyupn4dzZAN8f6fnFL4yxYeaswSUxEaHNET83KwffK7h17pORoes/6axruJqbJwo7HpeOZkcWiyJ/nMt9tcgxhI8+c0P6OKcohNbF7+sl3aOX2TaZufW30av3ud9MrEjozt16RTG4UmQZwqW+uTNNbXEXbziTYglJwrsY03xKZJX2A4C+n8B2zGmKJBkyb343QZUxz/0bsuGHas/VVejkV9dy2Kb30t4pzqJLY19ZHRrN+aD1dA6cXAVCkrBj5ap3ZzN9JC2Xy82/C6WmKFX2INs8jNee76xyzt0ZJ2NDwQ/H//E7JXVfoy5cfwwtd4QhU0Sb6Ol9VudOFu4l1ZP9VViTarNbaMrr17lmzLy8zBnJmZS+zGOgDb/kZLWG6KwkQrOqw2194bfxko3sVXKxqD82M9pOyd3YlYrQ3n4VyYmDcV02kbxarIwTUidg+jYwslNtYiRib8Wvtj4pR51wv1132RO8RFIXrs5a9wAK8vQmgRMTVAeiumFDRJ0ikTaClgpmTSuPrYhsB9s4w2icOonOfOCmPZG9ChoECeSsGeGBRE8rMlTErDMmtheqCLnhZCamTVx4sZKfeoGWCNiH0Ew2axzbqp+zZuD6bYv5wFunoiNyPkmBPhHclwluZBejnAwBI/ASrxBBp6V8dZHciOoZxP40FW1vIiitEGDrEaSRkDPDHBxDfzn/zRIA4ElcJIGg3pghIBrsAK+bL+NRNpnnhhPzp0retTz7BJcgRnwTxqm9aHayYX7tA2+sz93Enf0d49v7L32aoT/Vn1Mf2h4+mkQaX/BSQrKfRQMXADHNEGfgEvQF9Fb5yWYg7wNYZaYmjxrrIi0pnPSS0gSYb/kFwMnysDGteW6xvRxBTQOT7SnfWUXBAiSHDxxjQvGg2VNHqSJqAeQHLzCeSQsaWMO7g8h0pGntyrxefDw6i4yVvjYhkR9SU4JngEnn1FyNznTUTdNhyUCf4KQTCDwY8hR2yDvETjR0e2V0HgExqBwJJhxgS6iw2ICpSbhqH5Y6T8FPok6XDqlTcFhJWlG9MsCGXppkFlS0FegeQIx5sDJAqUZ1C/+1t3Cw8SRUo0Ln4bQB0ZBUA40nrMsae4zHwrltiYhbYzvzvj/JV62FyFo7rHcp+mMZqMXNjY1fP4VbsYSNAV9lptN2l5mkFIYYvTLxFrWX5LdhIAIfQSGznamY0JfMfjD6y/jWn7wbBfwIk5q0tDfE5f7cb2aQ0oK7Kli+jwJkYA9l7OSLBTTeRvF66vENbgDD+AWRMcWTq7WWwIrOpUbglNEO1nJ6V9b3fu3urIle99zHTQGhcoTHPpVMgK+6N/8/+Mb28xZVz3n4F0Vr7fK7yt9PVQxX4zt71rH2YUPjHldkKdQXwy+gF0iYo8SFk28hSN/Ifz26m78HUYj2E/+CfNdNdyxv06Ik3uUj+DJGRh1tRIzb61y0nKC7VqjQLJiarH/NXyKdQoi8BZSsKn2bwiExBgT43hfNSvTBP+S0V25FD0Hx8icpJsqMdqzQFyTRzElwemehLdyD83GT4Y4Z56iuCsbOeMRozhwEjvFjIXRT/IvgGwDrhdrcyfQ+b7naH+IF6f4F0CXATbsidloMBC7y2Rz80Cg9ZenQl4RaKQ2cY2XTL46A8/AkdMPHK9MfGF0p1rytOdpCIRYif2qcWYmYOH7983J1Se1FUvUOh2nXow6Ge9bszN+Ks5d1YxTvzBsifFLbd0csRGw3yGzwPqKsRL7MZ2dU/XYVL4KFYp/bmKkuq8dofC1jRh9+bYnSnmRn4DN7l/4/k7P1ZC6MpL4BeMbgsLESF2AUKzWuwX2xDEN/OezbIR9JWcljZPv19K5OYXnrnrGbadPJ8knUGkrsKjgnzTMawledTxp5XdD1Dly9hVE5SLGyrZmdQIt0TYnpJcY09D+2LXWCjjJQnEnYaODzHXBqCu39cGNLwFzsE0KHBMw3NY8vgVwIpKjbbGdt6t4oCaciMCtzash+UECUjCp9K2kOxKImwErY+c72ZFuYtsR+s4TeEyjrDnz9siOWaeTOTSmU2RFBKavLZY1IvBoF0Zfgp2n+7X7/vR8GvIJVM8LkBxaDDm62rdAPwQrOZPzIs6RQ2MJKG23la7TcwMiFxsa8V+BGfBJw/SchXKcbeCUUx5pMqL+DITeuGBe/5+4l1KM6DTFZm5VvVHW32HMrfGsdUjUKdQ1O1Z0gidAxPZTaD4GU1CAfSLCMpCCg0g7i2u764hASIRfEDExkJRgKSXwSl/mVvI/58cvM148MyUAAAAASUVORK5CYII=",h=new Map([["clear",a],["clouds",A],["drizzle",i],["haze",c],["humidity",o],["mist",g],["rain",w],["snow",p],["wind",m]]),C="46d47581a51a79782741111953e700af",d="https://api.openweathermap.org/data/2.5/weather?units=metric&q=",u=document.querySelector(".search input"),l=document.querySelector(".search button"),f=document.querySelector(".weather-icon");async function z(t){var r,s;const n=await fetch(d+t+`&appid=${C}`);if(n.status==404)document.querySelector(".error").style.display="block",document.querySelector(".weather").style.display="none";else{var e=await n.json();document.querySelector(".city").innerHTML=e.name,document.querySelector(".temp").innerHTML=Math.round(e.main.temp)+"°C",document.querySelector(".humidity").innerHTML=e.main.humidity+"%",document.querySelector(".wind").innerHTML=e.wind.speed+"km/h",f.src=h.get((s=(r=e.weather[0])==null?void 0:r.main)==null?void 0:s.toLowerCase()),document.querySelector(".weather").style.display="block",document.querySelector(".error").style.display="none"}}l.addEventListener("click",()=>{z(u.value)}); diff --git a/docs/javascript/assets/index-Z_YOs-iU.js b/docs/javascript/assets/index-isYlwqIt.js similarity index 78% rename from docs/javascript/assets/index-Z_YOs-iU.js rename to docs/javascript/assets/index-isYlwqIt.js index 93faec7c7..b776e4c79 100644 --- a/docs/javascript/assets/index-Z_YOs-iU.js +++ b/docs/javascript/assets/index-isYlwqIt.js @@ -1 +1 @@ -import"./header-V3hWii48.js";import"./navbar-IV3mLr91.js";const e=document.getElementById("phone"),r=n=>[...n].filter(t=>Number.isInteger(+t)&&t!==" ").join(""),i=n=>{const t=r(n);return t.length>3?"+("+t.substring(0,3)+") - "+t.substring(3):t};e.addEventListener("input",()=>e.value=i(e.value)); +import"./header-BV02bT_J.js";import"./navbar-Dp-2B13D.js";const e=document.getElementById("phone"),r=n=>[...n].filter(t=>Number.isInteger(+t)&&t!==" ").join(""),i=n=>{const t=r(n);return t.length>3?"+("+t.substring(0,3)+") - "+t.substring(3):t};e.addEventListener("input",()=>e.value=i(e.value)); diff --git a/docs/javascript/assets/index-Ie5YUp2k.js b/docs/javascript/assets/index-kSaYXW1s.js similarity index 94% rename from docs/javascript/assets/index-Ie5YUp2k.js rename to docs/javascript/assets/index-kSaYXW1s.js index 7a88023c4..2b26edab0 100644 --- a/docs/javascript/assets/index-Ie5YUp2k.js +++ b/docs/javascript/assets/index-kSaYXW1s.js @@ -1 +1 @@ -import"./header-V3hWii48.js";import"./navbar-IV3mLr91.js";const i=document.querySelector(".grid"),l=window.innerHeight/60-3,m=window.innerWidth/60-3,r=[],u=document.createDocumentFragment();for(let t=0;t{t.target.classList.contains("box")&&(a=t.target.dataset.x,s=t.target.dataset.y,g(a,s))});i.addEventListener("mousemove",t=>{if(a&&s&&t.target.classList.contains("box")){const e=t.target.dataset.x,o=t.target.dataset.y;h(),g(e,o)}});i.addEventListener("mouseup",f);i.addEventListener("mouseleave",f);function f(){a=null,s=null,h()}function g(t,e){if(a&&t&&s&&e){const o=Math.min(a,t),n=Math.max(a,t),p=Math.min(s,e),w=Math.max(s,e);for(let d=o;d<=n;d++)for(let c=p;c<=w;c++)r[d][c].style.backgroundColor="skyblue"}}function h(){for(let t=0;t{t.target.classList.contains("box")&&(a=t.target.dataset.x,s=t.target.dataset.y,g(a,s))});i.addEventListener("mousemove",t=>{if(a&&s&&t.target.classList.contains("box")){const e=t.target.dataset.x,o=t.target.dataset.y;h(),g(e,o)}});i.addEventListener("mouseup",f);i.addEventListener("mouseleave",f);function f(){a=null,s=null,h()}function g(t,e){if(a&&t&&s&&e){const o=Math.min(a,t),n=Math.max(a,t),p=Math.min(s,e),w=Math.max(s,e);for(let d=o;d<=n;d++)for(let c=p;c<=w;c++)r[d][c].style.backgroundColor="skyblue"}}function h(){for(let t=0;tt in i?m(i,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):i[t]=s;var e=(i,t,s)=>(u(i,typeof t!="symbol"?t+"":t,s),s);import"./header-V3hWii48.js";import"./navbar-IV3mLr91.js";const c=document.getElementById("display");document.getElementById("controls");class S{constructor(t,s,n,l,a,d,o,h){e(this,"msbRegex",/^[0-5]$/);e(this,"lsbRegex",/^[0-9]$/);e(this,"minutes",0);e(this,"seconds",0);e(this,"onClick",t=>{t.target.tagName==="INPUT"?t.target.select():t.target.id==="start"?this.onStart(t):t.target.id==="stop"?this.onStop(t):t.target.id==="reset"&&this.onReset(t)});e(this,"onInput",t=>{const s=Number(t.data);typeof s=="number"&&(t.target.id==="minMSB"||t.target.id==="secMSB"?this.onValueEntry(this.msbRegex,t.target,s):(t.target.id==="minLSB"||t.target.id==="secLSB")&&this.onValueEntry(this.lsbRegex,t.target,s))});this.minMSB=document.getElementById(t),this.minLSB=document.getElementById(s),this.secMSB=document.getElementById(n),this.secLSB=document.getElementById(l),this.start=document.getElementById(a),this.stop=document.getElementById(d),this.reset=document.getElementById(o),this.display=document.getElementById(h)}onStart(){this.setControls(!0,!1),this.display.classList.add("progress"),this.setInputsDisabledStatus(!0),this.setTime(),this.startTimer()}onStop(){this.setControls(!1,!0),this.display.classList.remove("progress"),this.setInputsDisabledStatus(!1),clearInterval(this.intervalId)}onReset(){this.setControls(!1,!0),this.resetControls(),this.resetTimerValue()}setControls(t=!1,s=!1){this.start.disabled=t,this.stop.disabled=s}onValueEntry(t,s,n){var l,a;t.test(n)?(s.value=n,(l=s.nextElementSibling)==null||l.focus(),(a=s.nextElementSibling)==null||a.select()):(s.value=0,s.select())}setInputsDisabledStatus(t=!1){this.minMSB.disabled=t,this.minLSB.disabled=t,this.secMSB.disabled=t,this.secLSB.disabled=t}resetControls(){clearInterval(this.intervalId),this.display.classList.remove("progress"),this.setInputsDisabledStatus(!1)}resetTimerValue(){this.minMSB.value=0,this.minLSB.value=0,this.secMSB.value=0,this.secLSB.value=0}setTime(){this.minutes=+(this.minMSB.value+this.minLSB.value),this.seconds=+(this.secMSB.value+this.secLSB.value)}startTimer(){if(this.minutes===0&&this.seconds===0){this.onReset();return}this.intervalId=setInterval(()=>{this.seconds-=1,this.seconds<0&&(this.seconds=59,this.minutes-=1),this.minutes===0&&this.seconds===0&&this.onReset(),this.setDisplay(this.minutes,this.seconds)},1e3)}setDisplay(t,s){[this.minMSB.value,this.minLSB.value]=String(t).padStart(2,0).split(""),[this.secMSB.value,this.secLSB.value]=String(s).padStart(2,0).split("")}}const r=new S("minMSB","minLSB","secMSB","secLSB","start","stop","reset","display");c.addEventListener("input",r.onInput);document.body.addEventListener("click",r.onClick); +var m=Object.defineProperty;var u=(i,t,s)=>t in i?m(i,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):i[t]=s;var e=(i,t,s)=>(u(i,typeof t!="symbol"?t+"":t,s),s);import"./header-BV02bT_J.js";import"./navbar-Dp-2B13D.js";const c=document.getElementById("display");document.getElementById("controls");class S{constructor(t,s,n,l,a,d,o,h){e(this,"msbRegex",/^[0-5]$/);e(this,"lsbRegex",/^[0-9]$/);e(this,"minutes",0);e(this,"seconds",0);e(this,"onClick",t=>{t.target.tagName==="INPUT"?t.target.select():t.target.id==="start"?this.onStart(t):t.target.id==="stop"?this.onStop(t):t.target.id==="reset"&&this.onReset(t)});e(this,"onInput",t=>{const s=Number(t.data);typeof s=="number"&&(t.target.id==="minMSB"||t.target.id==="secMSB"?this.onValueEntry(this.msbRegex,t.target,s):(t.target.id==="minLSB"||t.target.id==="secLSB")&&this.onValueEntry(this.lsbRegex,t.target,s))});this.minMSB=document.getElementById(t),this.minLSB=document.getElementById(s),this.secMSB=document.getElementById(n),this.secLSB=document.getElementById(l),this.start=document.getElementById(a),this.stop=document.getElementById(d),this.reset=document.getElementById(o),this.display=document.getElementById(h)}onStart(){this.setControls(!0,!1),this.display.classList.add("progress"),this.setInputsDisabledStatus(!0),this.setTime(),this.startTimer()}onStop(){this.setControls(!1,!0),this.display.classList.remove("progress"),this.setInputsDisabledStatus(!1),clearInterval(this.intervalId)}onReset(){this.setControls(!1,!0),this.resetControls(),this.resetTimerValue()}setControls(t=!1,s=!1){this.start.disabled=t,this.stop.disabled=s}onValueEntry(t,s,n){var l,a;t.test(n)?(s.value=n,(l=s.nextElementSibling)==null||l.focus(),(a=s.nextElementSibling)==null||a.select()):(s.value=0,s.select())}setInputsDisabledStatus(t=!1){this.minMSB.disabled=t,this.minLSB.disabled=t,this.secMSB.disabled=t,this.secLSB.disabled=t}resetControls(){clearInterval(this.intervalId),this.display.classList.remove("progress"),this.setInputsDisabledStatus(!1)}resetTimerValue(){this.minMSB.value=0,this.minLSB.value=0,this.secMSB.value=0,this.secLSB.value=0}setTime(){this.minutes=+(this.minMSB.value+this.minLSB.value),this.seconds=+(this.secMSB.value+this.secLSB.value)}startTimer(){if(this.minutes===0&&this.seconds===0){this.onReset();return}this.intervalId=setInterval(()=>{this.seconds-=1,this.seconds<0&&(this.seconds=59,this.minutes-=1),this.minutes===0&&this.seconds===0&&this.onReset(),this.setDisplay(this.minutes,this.seconds)},1e3)}setDisplay(t,s){[this.minMSB.value,this.minLSB.value]=String(t).padStart(2,0).split(""),[this.secMSB.value,this.secLSB.value]=String(s).padStart(2,0).split("")}}const r=new S("minMSB","minLSB","secMSB","secLSB","start","stop","reset","display");c.addEventListener("input",r.onInput);document.body.addEventListener("click",r.onClick); diff --git a/docs/javascript/assets/index-xV0j0YQP.js b/docs/javascript/assets/index-nDyahxpV.js similarity index 96% rename from docs/javascript/assets/index-xV0j0YQP.js rename to docs/javascript/assets/index-nDyahxpV.js index a65efc403..c7fb62345 100644 --- a/docs/javascript/assets/index-xV0j0YQP.js +++ b/docs/javascript/assets/index-nDyahxpV.js @@ -1 +1 @@ -import"./header-V3hWii48.js";import"./navbar-IV3mLr91.js";const s=document.getElementById("main__container"),l=document.getElementById("loading__container"),r=document.getElementById("submitForm");function u(){return"https://opentdb.com/api.php?amount=1&type=multiple"}function m(t){for(let e=1;e<=t.length;e++){const n=document.getElementById(`choice_${e}`),o=document.getElementById(`choice${e}`);n.value=t[e-1],o.innerHTML=t[e-1]}}function y(t){const{question:e,correct_answer:n,incorrect_answers:o}=t;document.getElementById("question").innerHTML=e;const c=p(n,o);m(c)}function p(t,e){const n=[t,...e];for(let o=n.length-1;o>0;o--){const c=Math.floor(Math.random()*(o+1));[n[o],n[c]]=[n[c],n[o]]}return n}async function f(t){s.style.display="none",l.style.display="block";try{const o=(await(await fetch(t)).json()).results[0];return y(o),o.correct_answer}catch(e){console.error(e)}finally{s.style.display="block",l.style.display="none"}}async function d(){const t=u(),e=await f(t);g(e)}function g(t){r.addEventListener("submit",e=>{e.preventDefault();const n=document.querySelector('input[name="choices"]:checked');if(n){const o=n.value,c=document.querySelector(`input[value="${t}"]`);c&&o===c.value?(a("correct"),setTimeout(()=>{i(),r.reset(),d()},1e3)):(a("wrong"),setTimeout(()=>{i(),r.reset()},1e3))}else alert("Please select an answer")})}document.addEventListener("DOMContentLoaded",d);function a(t){const e=document.getElementById(`${t}__alert`);e.style.display="inline-block"}function i(){const t=document.getElementById("correct__alert"),e=document.getElementById("wrong__alert");t.style.display="none",e.style.display="none"} +import"./header-BV02bT_J.js";import"./navbar-Dp-2B13D.js";const s=document.getElementById("main__container"),l=document.getElementById("loading__container"),r=document.getElementById("submitForm");function u(){return"https://opentdb.com/api.php?amount=1&type=multiple"}function m(t){for(let e=1;e<=t.length;e++){const n=document.getElementById(`choice_${e}`),o=document.getElementById(`choice${e}`);n.value=t[e-1],o.innerHTML=t[e-1]}}function y(t){const{question:e,correct_answer:n,incorrect_answers:o}=t;document.getElementById("question").innerHTML=e;const c=p(n,o);m(c)}function p(t,e){const n=[t,...e];for(let o=n.length-1;o>0;o--){const c=Math.floor(Math.random()*(o+1));[n[o],n[c]]=[n[c],n[o]]}return n}async function f(t){s.style.display="none",l.style.display="block";try{const o=(await(await fetch(t)).json()).results[0];return y(o),o.correct_answer}catch(e){console.error(e)}finally{s.style.display="block",l.style.display="none"}}async function d(){const t=u(),e=await f(t);g(e)}function g(t){r.addEventListener("submit",e=>{e.preventDefault();const n=document.querySelector('input[name="choices"]:checked');if(n){const o=n.value,c=document.querySelector(`input[value="${t}"]`);c&&o===c.value?(a("correct"),setTimeout(()=>{i(),r.reset(),d()},1e3)):(a("wrong"),setTimeout(()=>{i(),r.reset()},1e3))}else alert("Please select an answer")})}document.addEventListener("DOMContentLoaded",d);function a(t){const e=document.getElementById(`${t}__alert`);e.style.display="inline-block"}function i(){const t=document.getElementById("correct__alert"),e=document.getElementById("wrong__alert");t.style.display="none",e.style.display="none"} diff --git a/docs/javascript/assets/index-nb4FWBad.js b/docs/javascript/assets/index-osB6ybrg.js similarity index 88% rename from docs/javascript/assets/index-nb4FWBad.js rename to docs/javascript/assets/index-osB6ybrg.js index eba0d03cc..d5f601e68 100644 --- a/docs/javascript/assets/index-nb4FWBad.js +++ b/docs/javascript/assets/index-osB6ybrg.js @@ -1 +1 @@ -import"./header-V3hWii48.js";import"./navbar-IV3mLr91.js";const l=document.getElementById("bmiForm");l.addEventListener("submit",function(n){n.preventDefault();const t=parseFloat(document.getElementById("height").value),e=parseFloat(document.getElementById("weight").value);if(!isNaN(t)&&!isNaN(e)){const i=o(t,e);a(i)}else alert("Please enter valid height and weight values.")});function o(n,t){const e=n/100;return(t/(e*e)).toFixed(2)}function a(n){const t=document.getElementById("result"),e=document.getElementById("bmiValue");e.textContent=n,t.style.display="block"} +import"./header-BV02bT_J.js";import"./navbar-Dp-2B13D.js";const l=document.getElementById("bmiForm");l.addEventListener("submit",function(n){n.preventDefault();const t=parseFloat(document.getElementById("height").value),e=parseFloat(document.getElementById("weight").value);if(!isNaN(t)&&!isNaN(e)){const i=o(t,e);a(i)}else alert("Please enter valid height and weight values.")});function o(n,t){const e=n/100;return(t/(e*e)).toFixed(2)}function a(n){const t=document.getElementById("result"),e=document.getElementById("bmiValue");e.textContent=n,t.style.display="block"} diff --git a/docs/javascript/assets/index-c_aeTe5Y.js b/docs/javascript/assets/index-tQhEyuvt.js similarity index 91% rename from docs/javascript/assets/index-c_aeTe5Y.js rename to docs/javascript/assets/index-tQhEyuvt.js index 6461257e1..b8e399c73 100644 --- a/docs/javascript/assets/index-c_aeTe5Y.js +++ b/docs/javascript/assets/index-tQhEyuvt.js @@ -1 +1 @@ -import"./header-V3hWii48.js";import"./navbar-IV3mLr91.js";const s=document.querySelectorAll(".accordion-item"),t=document.getElementById("multiple-open-checkbox");let n=!1;const l=(e,o)=>{e.classList.remove("open"),o.classList.remove("open"),e.style.maxHeight=null},d=(e,o)=>{e.style.maxHeight=e.scrollHeight+"px",e.classList.add("open"),o.classList.add("open")},i=()=>{s.forEach(e=>{const o=e.querySelector(".accordion-panel"),c=e.querySelector(".accordion-arrow");l(o,c)})};t.addEventListener("change",function(){t.checked?n=!0:(n=!1,i())});s.forEach(e=>{const o=e.querySelector(".accordion-header"),c=e.querySelector(".accordion-panel"),r=e.querySelector(".accordion-arrow");o.addEventListener("click",()=>{const a=c.classList.contains("open");n||i(),a?l(c,r):d(c,r)})}); +import"./header-BV02bT_J.js";import"./navbar-Dp-2B13D.js";const s=document.querySelectorAll(".accordion-item"),t=document.getElementById("multiple-open-checkbox");let n=!1;const l=(e,o)=>{e.classList.remove("open"),o.classList.remove("open"),e.style.maxHeight=null},d=(e,o)=>{e.style.maxHeight=e.scrollHeight+"px",e.classList.add("open"),o.classList.add("open")},i=()=>{s.forEach(e=>{const o=e.querySelector(".accordion-panel"),c=e.querySelector(".accordion-arrow");l(o,c)})};t.addEventListener("change",function(){t.checked?n=!0:(n=!1,i())});s.forEach(e=>{const o=e.querySelector(".accordion-header"),c=e.querySelector(".accordion-panel"),r=e.querySelector(".accordion-arrow");o.addEventListener("click",()=>{const a=c.classList.contains("open");n||i(),a?l(c,r):d(c,r)})}); diff --git a/docs/javascript/assets/index--8-kRkJb.js b/docs/javascript/assets/index-tgu1jxDL.js similarity index 97% rename from docs/javascript/assets/index--8-kRkJb.js rename to docs/javascript/assets/index-tgu1jxDL.js index 9125ce5b4..0b813c965 100644 --- a/docs/javascript/assets/index--8-kRkJb.js +++ b/docs/javascript/assets/index-tgu1jxDL.js @@ -1 +1 @@ -var y=(s,e,t)=>{if(!e.has(s))throw TypeError("Cannot "+t)};var u=(s,e,t)=>{if(e.has(s))throw TypeError("Cannot add the same private member more than once");e instanceof WeakSet?e.add(s):e.set(s,t)};var o=(s,e,t)=>(y(s,e,"access private method"),t);import"./header-V3hWii48.js";import"./navbar-IV3mLr91.js";const h=document.querySelector(".time"),v=document.querySelectorAll(".duration-button"),b=document.querySelector("#breaklen"),q=document.querySelector("#sesslen"),S=document.querySelector("#minute"),k=document.querySelector("#second"),T=document.querySelector("#play"),E=document.querySelector("#reset"),g=document.querySelector(".timer-header"),I=document.querySelector("#beep"),m=document.querySelector("#playicon");var i,a;class x{constructor(){u(this,i);this.state="session",this.session={time:25,interval:[5,60]},this.break={time:5,interval:[2,20]},this.timeLeft=[25,0],this.isRunning=!1,this.startInterval=null}start(){this.isRunning=!0,this.startInterval=setInterval(()=>this.run(),1e3),m.classList.remove("fa-play"),m.classList.add("fa-pause")}pause(){clearInterval(this.startInterval),this.isRunning=!1,m.classList.remove("fa-pause"),m.classList.add("fa-play")}reset(){this.pause(),this.timeLeft=[25,0],this.break.time=5,this.session.time=25,this.state="session",this.render()}setTime(e){if(this.isRunning)return;const{currentTarget:{dataset:{target:t,direction:r}}}=e,c=r==="up"?1:-1,{time:d,interval:f}=this[t],l=d+c,[p,L]=f;l>L||l9?e:`0${e}`};const n=new x;n.render();v.forEach(s=>{s.addEventListener("click",e=>n.setTime(e))});T.addEventListener("click",()=>{n.isRunning?n.pause():n.start()});E.addEventListener("click",()=>n.reset()); +var y=(s,e,t)=>{if(!e.has(s))throw TypeError("Cannot "+t)};var u=(s,e,t)=>{if(e.has(s))throw TypeError("Cannot add the same private member more than once");e instanceof WeakSet?e.add(s):e.set(s,t)};var o=(s,e,t)=>(y(s,e,"access private method"),t);import"./header-BV02bT_J.js";import"./navbar-Dp-2B13D.js";const h=document.querySelector(".time"),v=document.querySelectorAll(".duration-button"),b=document.querySelector("#breaklen"),q=document.querySelector("#sesslen"),S=document.querySelector("#minute"),k=document.querySelector("#second"),T=document.querySelector("#play"),E=document.querySelector("#reset"),g=document.querySelector(".timer-header"),I=document.querySelector("#beep"),m=document.querySelector("#playicon");var i,a;class x{constructor(){u(this,i);this.state="session",this.session={time:25,interval:[5,60]},this.break={time:5,interval:[2,20]},this.timeLeft=[25,0],this.isRunning=!1,this.startInterval=null}start(){this.isRunning=!0,this.startInterval=setInterval(()=>this.run(),1e3),m.classList.remove("fa-play"),m.classList.add("fa-pause")}pause(){clearInterval(this.startInterval),this.isRunning=!1,m.classList.remove("fa-pause"),m.classList.add("fa-play")}reset(){this.pause(),this.timeLeft=[25,0],this.break.time=5,this.session.time=25,this.state="session",this.render()}setTime(e){if(this.isRunning)return;const{currentTarget:{dataset:{target:t,direction:r}}}=e,c=r==="up"?1:-1,{time:d,interval:f}=this[t],l=d+c,[p,L]=f;l>L||l9?e:`0${e}`};const n=new x;n.render();v.forEach(s=>{s.addEventListener("click",e=>n.setTime(e))});T.addEventListener("click",()=>{n.isRunning?n.pause():n.start()});E.addEventListener("click",()=>n.reset()); diff --git a/docs/javascript/assets/index-L83yvn3y.js b/docs/javascript/assets/index-tnEjeE29.js similarity index 94% rename from docs/javascript/assets/index-L83yvn3y.js rename to docs/javascript/assets/index-tnEjeE29.js index 4b063be94..3ae237ec0 100644 --- a/docs/javascript/assets/index-L83yvn3y.js +++ b/docs/javascript/assets/index-tnEjeE29.js @@ -1 +1 @@ -import"./header-V3hWii48.js";import"./navbar-IV3mLr91.js";const o={USD:1,EUR:.85,GBP:.74,INR:74.63};document.getElementById("addCurrencyButton").addEventListener("click",function(){const e=document.getElementById("customCurrency").value.toUpperCase();if(e&&!o[e]){const t=parseFloat(prompt(`Enter exchange rate for 1 USD to ${e}`));isNaN(t)?alert("Invalid exchange rate. Please enter a valid number."):(o[e]=t,u())}else o[e]?alert(`Currency ${e} already exists.`):alert("Invalid currency code. Please enter a valid code (e.g., CAD).")});function u(){const e=document.getElementById("fromCurrency"),t=document.getElementById("toCurrency");e.innerHTML="",t.innerHTML="";for(const r in o){const n=document.createElement("option");n.value=r,n.innerText=r,e.appendChild(n);const c=n.cloneNode(!0);t.appendChild(c)}t.innerHTML+=''}document.getElementById("convertButton").addEventListener("click",a);function a(){const e=parseFloat(document.getElementById("amount").value),t=document.getElementById("fromCurrency").value,r=document.getElementById("toCurrency").value,n=document.getElementById("result");if(isNaN(e)){alert("Please enter a valid amount.");return}const c=e/o[t]*o[r];n.value=c.toFixed(2)}u(); +import"./header-BV02bT_J.js";import"./navbar-Dp-2B13D.js";const o={USD:1,EUR:.85,GBP:.74,INR:74.63};document.getElementById("addCurrencyButton").addEventListener("click",function(){const e=document.getElementById("customCurrency").value.toUpperCase();if(e&&!o[e]){const t=parseFloat(prompt(`Enter exchange rate for 1 USD to ${e}`));isNaN(t)?alert("Invalid exchange rate. Please enter a valid number."):(o[e]=t,u())}else o[e]?alert(`Currency ${e} already exists.`):alert("Invalid currency code. Please enter a valid code (e.g., CAD).")});function u(){const e=document.getElementById("fromCurrency"),t=document.getElementById("toCurrency");e.innerHTML="",t.innerHTML="";for(const r in o){const n=document.createElement("option");n.value=r,n.innerText=r,e.appendChild(n);const c=n.cloneNode(!0);t.appendChild(c)}t.innerHTML+=''}document.getElementById("convertButton").addEventListener("click",a);function a(){const e=parseFloat(document.getElementById("amount").value),t=document.getElementById("fromCurrency").value,r=document.getElementById("toCurrency").value,n=document.getElementById("result");if(isNaN(e)){alert("Please enter a valid amount.");return}const c=e/o[t]*o[r];n.value=c.toFixed(2)}u(); diff --git a/docs/javascript/assets/index-0Us_Aq0j.js b/docs/javascript/assets/index-wDqfkJZq.js similarity index 96% rename from docs/javascript/assets/index-0Us_Aq0j.js rename to docs/javascript/assets/index-wDqfkJZq.js index f4e4b0f08..078ec6cd7 100644 --- a/docs/javascript/assets/index-0Us_Aq0j.js +++ b/docs/javascript/assets/index-wDqfkJZq.js @@ -1 +1 @@ -import"./header-V3hWii48.js";import"./navbar-IV3mLr91.js";const u=document.getElementById("amount"),d=document.querySelectorAll(".btn"),l=document.getElementById("customTip"),i=document.getElementById("person"),a=document.getElementById("generate-bill"),v=document.querySelector(".tipValue"),m=document.querySelector(".totalValue"),L=document.querySelector(".bill"),n=document.getElementById("reset");let s=0,o=0,r=0;function c(){return s>0&&o>0&&r>0?(a.classList.add("active"),a.disabled=!1,!0):(a.classList.remove("active"),a.disabled=!0,!1)}function f(){s=parseFloat(u.value),d.forEach(e=>{s>0?(e.classList.add("true"),e.disabled=!1,l.disabled=!1,i.disabled=!1):(e.classList.remove("true"),e.disabled=!0,l.disabled=!0,i.disabled=!0)}),c()}function p(e){d.forEach(t=>{t.classList.remove("active"),e&&e.target.innerHTML==t.innerHTML&&(t.classList.add("active"),o=parseFloat(t.innerHTML)/100)}),l.value="",c()}function B(){l.value!==0&&(o=parseFloat(l.value/100),d.forEach(e=>{e.classList.remove("active")})),c()}function E(){r=parseFloat(i.value),c()}function b(){if(r>=1){let e=s*o,t=s+e,T=t/r;v.innerHTML="₹"+e.toFixed(2),m.innerHTML="₹"+t.toFixed(2),L.innerHTML="₹"+T.toFixed(2),n.classList.add("active"),n.disabled=!1}}function y(){u.value="",f(),d.forEach(e=>{e.classList.remove("true"),e.disabled=!0}),o="",l.value="",p(),i.value="",E(),c(),a.disabled=!0,v.innerHTML="",m.innerHTML="",L.innerHTML="",n.classList.remove("active"),n.disabled=!0}u.addEventListener("input",f);a.addEventListener("click",b);l.addEventListener("input",B);i.addEventListener("input",E);n.addEventListener("click",y);d.forEach(e=>{e.addEventListener("click",p)}); +import"./header-BV02bT_J.js";import"./navbar-Dp-2B13D.js";const u=document.getElementById("amount"),d=document.querySelectorAll(".btn"),l=document.getElementById("customTip"),i=document.getElementById("person"),a=document.getElementById("generate-bill"),v=document.querySelector(".tipValue"),m=document.querySelector(".totalValue"),L=document.querySelector(".bill"),n=document.getElementById("reset");let s=0,o=0,r=0;function c(){return s>0&&o>0&&r>0?(a.classList.add("active"),a.disabled=!1,!0):(a.classList.remove("active"),a.disabled=!0,!1)}function f(){s=parseFloat(u.value),d.forEach(e=>{s>0?(e.classList.add("true"),e.disabled=!1,l.disabled=!1,i.disabled=!1):(e.classList.remove("true"),e.disabled=!0,l.disabled=!0,i.disabled=!0)}),c()}function p(e){d.forEach(t=>{t.classList.remove("active"),e&&e.target.innerHTML==t.innerHTML&&(t.classList.add("active"),o=parseFloat(t.innerHTML)/100)}),l.value="",c()}function B(){l.value!==0&&(o=parseFloat(l.value/100),d.forEach(e=>{e.classList.remove("active")})),c()}function E(){r=parseFloat(i.value),c()}function b(){if(r>=1){let e=s*o,t=s+e,T=t/r;v.innerHTML="₹"+e.toFixed(2),m.innerHTML="₹"+t.toFixed(2),L.innerHTML="₹"+T.toFixed(2),n.classList.add("active"),n.disabled=!1}}function y(){u.value="",f(),d.forEach(e=>{e.classList.remove("true"),e.disabled=!0}),o="",l.value="",p(),i.value="",E(),c(),a.disabled=!0,v.innerHTML="",m.innerHTML="",L.innerHTML="",n.classList.remove("active"),n.disabled=!0}u.addEventListener("input",f);a.addEventListener("click",b);l.addEventListener("input",B);i.addEventListener("input",E);n.addEventListener("click",y);d.forEach(e=>{e.addEventListener("click",p)}); diff --git a/docs/javascript/assets/index-dALhVAZ_.js b/docs/javascript/assets/index-xeGGnmTE.js similarity index 95% rename from docs/javascript/assets/index-dALhVAZ_.js rename to docs/javascript/assets/index-xeGGnmTE.js index 1a1e60477..1b050daeb 100644 --- a/docs/javascript/assets/index-dALhVAZ_.js +++ b/docs/javascript/assets/index-xeGGnmTE.js @@ -1 +1 @@ -import"./header-V3hWii48.js";import"./navbar-IV3mLr91.js";function a(o,t){this.row=o,this.col=t}a.prototype.setColor=function(o){this.color=o};a.prototype.generateGrid=function(){const o=document.createDocumentFragment();for(let t=0;t{let r=0;for(let a=0;aArray.from(new Array(e),()=>new Array(t).fill(0)),d=document.getElementById("board"),l=document.getElementById("slots"),x=document.getElementById("reset"),v=document.getElementById("info"),y=6,u=7,c=4,n={activePlayer:1,state:C(y,u),winner:null,getActiveColor(){return this.activePlayer===1?"blue":"red"},switchPlayer(){this.activePlayer=this.activePlayer===1?2:1},isStateFull(){return this.state[0].every(e=>e!==0)},reset(){this.state=C(y,u),this.winner=null,this.activePlayer=1}},F=(e,t)=>{d.style.gridTemplateRows=`repeat(${e}, 5em)`,d.style.gridTemplateColumns=`repeat(${t}, 5em)`},h=e=>{const t=l.querySelector(".active");t&&(t.classList.remove("active"),t.style.backgroundColor="transparent"),l.children[e].classList.add("active"),l.children[e].style.backgroundColor=n.getActiveColor()},p=()=>{const e=l.querySelector(".active");e&&(e.classList.remove("active"),e.style.backgroundColor="transparent")},S=e=>{let t=0;for(t=0;t{const s=n.state[e][t],r=c-1,a=c*2-1,m=n.state[e].slice(Math.max(0,t-r),t+c);if(f(m,s,c))return!0;const P=n.state.map(o=>o[t]).slice(e,e+c);if(f(P,s,c))return!0;const b=new Array(a).fill(0).map((o,i)=>i-r).map(o=>{var i;return(i=n.state[e+o])==null?void 0:i[t+o]});if(f(b,s,c))return!0;const k=new Array(a).fill(0).map((o,i)=>i-r).map(o=>{var i;return(i=n.state[e+o])==null?void 0:i[t-o]});return!!f(k,s,c)},w=()=>{const e=A(u,"slot");l.innerHTML="",l.appendChild(e);const t=I(y,u,"box");d.innerHTML="",d.appendChild(t),v.textContent=""},L=e=>{if(n.winner)return;const t=e.target;if(t.classList.contains("box")||t.classList.contains("slot")){const s=+t.dataset.j,r=S(s);if(r<0)return;if(T(r,s)){n.winner=n.activePlayer,v.textContent=`Player ${n.getActiveColor()} wins!`,p();return}if(r===0&&n.isStateFull()){n.winner=-1,v.textContent="Draw!",p();return}n.switchPlayer(),h(s)}},E=e=>{if(n.winner)return;const t=e.target;(t.classList.contains("box")||t.classList.contains("slot"))&&h(t.dataset.j)};x.addEventListener("click",function(){n.reset(),w()});d.addEventListener("click",L);l.addEventListener("click",L);d.addEventListener("mouseover",E);l.addEventListener("mouseover",E);w();F(y,u); +import"./header-BV02bT_J.js";import"./navbar-Dp-2B13D.js";const I=function(e,t,s){const r=document.createDocumentFragment();for(let a=0;a{let r=0;for(let a=0;aArray.from(new Array(e),()=>new Array(t).fill(0)),d=document.getElementById("board"),l=document.getElementById("slots"),x=document.getElementById("reset"),v=document.getElementById("info"),y=6,u=7,c=4,n={activePlayer:1,state:C(y,u),winner:null,getActiveColor(){return this.activePlayer===1?"blue":"red"},switchPlayer(){this.activePlayer=this.activePlayer===1?2:1},isStateFull(){return this.state[0].every(e=>e!==0)},reset(){this.state=C(y,u),this.winner=null,this.activePlayer=1}},F=(e,t)=>{d.style.gridTemplateRows=`repeat(${e}, 5em)`,d.style.gridTemplateColumns=`repeat(${t}, 5em)`},h=e=>{const t=l.querySelector(".active");t&&(t.classList.remove("active"),t.style.backgroundColor="transparent"),l.children[e].classList.add("active"),l.children[e].style.backgroundColor=n.getActiveColor()},p=()=>{const e=l.querySelector(".active");e&&(e.classList.remove("active"),e.style.backgroundColor="transparent")},S=e=>{let t=0;for(t=0;t{const s=n.state[e][t],r=c-1,a=c*2-1,m=n.state[e].slice(Math.max(0,t-r),t+c);if(f(m,s,c))return!0;const P=n.state.map(o=>o[t]).slice(e,e+c);if(f(P,s,c))return!0;const b=new Array(a).fill(0).map((o,i)=>i-r).map(o=>{var i;return(i=n.state[e+o])==null?void 0:i[t+o]});if(f(b,s,c))return!0;const k=new Array(a).fill(0).map((o,i)=>i-r).map(o=>{var i;return(i=n.state[e+o])==null?void 0:i[t-o]});return!!f(k,s,c)},w=()=>{const e=A(u,"slot");l.innerHTML="",l.appendChild(e);const t=I(y,u,"box");d.innerHTML="",d.appendChild(t),v.textContent=""},L=e=>{if(n.winner)return;const t=e.target;if(t.classList.contains("box")||t.classList.contains("slot")){const s=+t.dataset.j,r=S(s);if(r<0)return;if(T(r,s)){n.winner=n.activePlayer,v.textContent=`Player ${n.getActiveColor()} wins!`,p();return}if(r===0&&n.isStateFull()){n.winner=-1,v.textContent="Draw!",p();return}n.switchPlayer(),h(s)}},E=e=>{if(n.winner)return;const t=e.target;(t.classList.contains("box")||t.classList.contains("slot"))&&h(t.dataset.j)};x.addEventListener("click",function(){n.reset(),w()});d.addEventListener("click",L);l.addEventListener("click",L);d.addEventListener("mouseover",E);l.addEventListener("mouseover",E);w();F(y,u); diff --git a/docs/javascript/assets/navbar-Dp-2B13D.js b/docs/javascript/assets/navbar-Dp-2B13D.js new file mode 100644 index 000000000..5c2d2388d --- /dev/null +++ b/docs/javascript/assets/navbar-Dp-2B13D.js @@ -0,0 +1,27 @@ +var e=(t=>(t.Easy="easy",t.Medium="medium",t.Hard="hard",t))(e||{});const o=[e.Easy,e.Medium,e.Hard];function a(t){return new Map([...t.entries()].sort((s,u)=>{const p=o.indexOf(s[1].difficulty),c=o.indexOf(u[1].difficulty);return p-c}))}const f=new Map([["shapes",{title:"Shapes",link:"shapes/",difficulty:e.Easy,developer:"sadanandpai",tags:[]}]]);a(f);const g=new Map([["counter",{title:"Counter",link:"counter/",difficulty:e.Easy,developer:"sadanandpai",youtube:"https://youtu.be/9OIeUtXX3SA",tags:[]}],["bmi-calculator",{title:"BMI Calculator",link:"bmi-calculator/",difficulty:e.Easy,developer:"itsayopapi",tags:[]}],["dice-game",{title:"Dice Game",link:"dice-game/",difficulty:e.Easy,developer:"shivam200446",tags:[],isNew:!0}],["roll-dice",{title:"Roll dice",link:"roll-dice/",difficulty:e.Easy,developer:"babandakale",tags:[]}],["guess-the-number",{title:"Guess the number",link:"guess-the-number/",difficulty:e.Easy,developer:"sadanandpai",youtube:"https://youtu.be/L1Da3GWEGpY",tags:[]}],["string-transformers",{title:"String transformers",link:"string-transformers/",difficulty:e.Easy,developer:"sadanandpai",youtube:"https://youtu.be/crCZEJ6Lmgc",tags:[]}],["file-uploader",{title:"File Uploader",link:"file-uploader/",difficulty:e.Easy,developer:"avtech",tags:[],isNew:!0}],["telephone-formatter",{title:"Telephone formatter",link:"telephone-formatter/",difficulty:e.Easy,developer:"sadanandpai",youtube:"https://youtu.be/E85ldVqAGjw",tags:[]}],["dialog-popup",{title:"Dialog Popup",link:"dialog-popup/",difficulty:e.Easy,developer:"sahankatta",youtube:"https://youtu.be/aIzyEDi6zgU",tags:[]}],["light-dark-mode",{title:"Light & Dark mode",link:"light-dark-mode/",difficulty:e.Easy,developer:"sadanandpai",youtube:"https://youtu.be/hxcGGhjYNFE",tags:[]}],["skeleton-loader",{title:"Skeleton Loader",link:"skeleton-loader/",difficulty:e.Easy,developer:"sahankatta",youtube:"https://youtu.be/FEtTRjq1P6I",tags:[]}],["spinning-loader",{title:"Spinning Loader",link:"spinning-loader/",difficulty:e.Easy,developer:"DhanushNehru",tags:[]}],["music-kit",{title:"Music Kit",link:"music-kit/",difficulty:e.Easy,developer:"shivam200446",tags:[]}],["currency-converter",{title:"Currency Converter",link:"currency-converter/",difficulty:e.Easy,developer:"pranav514",tags:[],isNew:!0}],["accordion",{title:"Accordion",link:"accordion/",difficulty:e.Easy,developer:"rashidtvmr",youtube:"https://youtu.be/03KFXudVaoo",tags:[]}],["navigation-bar",{title:"Navigation Bar",link:"navigation-bar/",difficulty:e.Easy,developer:"christian-lee1398",youtube:"https://youtu.be/urA5ogzG0L0",tags:[]}],["Footer",{title:"Footer",link:"Footer/",difficulty:e.Easy,developer:"AbhineshJha",youtube:"https://youtu.be/FRRlFLfdvBE?si=HWn88BwJGTJvEBUD",tags:[],isNew:!0}],["rock-paper-scissor",{title:"Rock Paper Scissor",link:"rock-paper-scissor/",difficulty:e.Easy,developer:"AckermanLevi1",tags:[],isNew:!0}],["MadStory_generator",{title:"MadStory Generator",link:"MadStory_generator/",difficulty:e.Easy,developer:"hritik",tags:[]}],["multi-typing",{title:"Multi Typing",link:"multi-typing/",difficulty:e.Easy,developer:"noorulaink00",youtube:"https://youtu.be/YCDeOT7DRnI",tags:[]}],["bill-spilt",{title:"Bill Split",link:"bill-spilt/",difficulty:e.Easy,developer:"Sukomal07",youtube:"https://youtu.be/4H2DyrSJeYc",tags:[]}],["simon-game",{title:"Simon game",link:"simon-game/",difficulty:e.Easy,developer:"VishakhaSainani",tags:[],isNew:!0}],["blobmaker",{title:"Blob Maker",link:"blobmaker/",difficulty:e.Easy,developer:"AbhineshJha",tags:[]}],["fitness-tracker",{title:"Fitness Tracker",link:"fitness-tracker/",difficulty:e.Easy,developer:"CrypticRevenger",tags:[]}],["atm-simulator",{title:"ATM Simulator",link:"atm-simulator/",difficulty:e.Easy,developer:"Bratajit-03",tags:[],isNew:!0}],["finance-tracker",{title:"Finance Tracker",link:"finance-tracker/",difficulty:e.Medium,developer:"sujitmahapatra",tags:[]}],["meme-generator",{title:"Meme Generator",link:"meme-generator/",difficulty:e.Medium,developer:"noorulaink00",youtube:"https://youtu.be/LHo9Hi47MTo",tags:[]}],["weather-app",{title:"Weather App",link:"weather-app/",difficulty:e.Medium,developer:"shruti-sen2004",tags:[],isNew:!0}],["toast-popup",{title:"Toast Popup",link:"toast-popup/",difficulty:e.Medium,developer:"sadanandpai",youtube:"https://youtu.be/-p3N5bJXEK8",tags:[]}],["column-table",{title:"Column Table",link:"column-table/",difficulty:e.Medium,developer:"sadanandpai",tags:[]}],["password-strength",{title:"Password Strength",link:"password-strength/",difficulty:e.Medium,developer:"sadanandpai",tags:[]}],["star-rating",{title:"Star Rating",link:"star-rating/",difficulty:e.Medium,developer:"sadanandpai",tags:[]}],["star-rating-display",{title:"Star Rating Display",link:"star-rating-display/",difficulty:e.Medium,developer:"sadanandpai",tags:[]}],["pixel-art",{title:"Pixel Art",link:"pixel-art/",difficulty:e.Medium,developer:"sadanandpai",tags:[]}],["word-counter",{title:"Word Counter (online)",link:"word-counter/",difficulty:e.Medium,developer:"AckermanLevi1",tags:[]}],["color-spotter",{title:"Color Spotter",link:"color-spotter/",difficulty:e.Medium,developer:"sadanandpai",tags:[]}],["todo-list",{title:"Todo List",link:"todo-list/",difficulty:e.Medium,developer:"sadanandpai",tags:[]}],["gradient-generator",{title:"Gradient Generator",link:"gradient-generator/",difficulty:e.Medium,developer:"Sukomal07",tags:[],isNew:!0}],["transfer-list",{title:"Transfer List",link:"transfer-list/",difficulty:e.Medium,developer:"sadanandpai",tags:[]}],["lift-simulation",{title:"Lift Simulation",link:"lift-simulation/",difficulty:e.Medium,developer:"gauravsinhaweb",tags:[],isNew:!0}],["tic-tac-toe",{title:"Tic-Tac-Toe",link:"tic-tac-toe/",difficulty:e.Medium,developer:"sadanandpai",tags:[]}],["chess-board",{title:"Chess board",link:"chess-board/",difficulty:e.Medium,developer:"sadanandpai",tags:[]}],["chips-input",{title:"Chips Input",link:"chips-input/",difficulty:e.Medium,developer:"sadanandpai",tags:[]}],["infinite-scroll",{title:"Infinite Scroll",link:"infinite-scroll/",difficulty:e.Medium,developer:"srijanB7",tags:[]}],["password-generator",{title:"Password Generator",link:"password-generator/",difficulty:e.Medium,developer:"sadanandpai",tags:[]}],["analog-clock",{title:"Analog Clock",link:"analog-clock/",difficulty:e.Medium,developer:"sadanandpai",tags:[]}],["drag-and-drop-puzzle",{title:"Drag and Drop Puzzle",link:"drag-and-drop-puzzle/",difficulty:e.Medium,developer:"noorulaink00",tags:[],isNew:!0}],["basic-calculator",{title:"Basic calculator",link:"basic-calculator/",difficulty:e.Medium,developer:"sadanandpai",tags:[]}],["match-pair",{title:"Match Pair",link:"match-pair/",difficulty:e.Medium,developer:"sadanandpai",tags:[]}],["typing-speed-test",{title:"Typing Speed Test",link:"typing-speed-test/",difficulty:e.Medium,developer:"sadanandpai",tags:[]}],["count-down-timer",{title:"Countdown Timer",link:"count-down-timer/",difficulty:e.Medium,developer:"sadanandpai",tags:[]}],["otp-input",{title:"OTP Input",link:"otp-input/",difficulty:e.Medium,developer:"sadanandpai",tags:[]}],["quiz-app",{title:"Quiz App",link:"quiz-app/",difficulty:e.Medium,developer:"Kei-K23",tags:[],isNew:!0}],["sorting-visualizer",{title:"Sorting Visualizer",link:"sorting-visualizer/",difficulty:e.Medium,developer:"viditagrawal56",tags:[],isNew:!0}],["snake-game",{title:"Snake Game",link:"snake-game/",difficulty:e.Medium,developer:"Kei-K23",tags:[]}],["hangman-game",{title:"Hangman Game",link:"hangman-game/",difficulty:e.Medium,developer:"Kei-K23",tags:[],isNew:!0}],["area-selector",{title:"Area Selector",link:"area-selector/",difficulty:e.Medium,developer:"sadanandpai",tags:[]}],["25-5-clock",{title:"25-5 Clock",link:"25-5-clock/",difficulty:e.Medium,developer:"caesar003",tags:[]}],["carousel",{title:"Carousel",link:"carousel/",difficulty:e.Medium,developer:"sadanandpai",tags:[]}],["calendar",{title:"Calendar",link:"calendar/",difficulty:e.Medium,developer:"sadanandpai",tags:[]}],["progress-bar",{title:"Progress Bar",link:"progress-bar/",difficulty:e.Medium,developer:"sadanandpai",tags:[]}],["movie-info",{title:"Movie-info app (online)",link:"movie-info/",difficulty:e.Medium,developer:"AckermanLevi1",tags:[]}],["quiz-app-with-timer",{title:"Quiz App with Timer",link:"quiz-app-with-timer/",difficulty:e.Medium,developer:"Vivek-GuptaXCode",tags:[]}],["paginator",{title:"Paginator",link:"paginator/",difficulty:e.Hard,developer:"sadanandpai",tags:[]}],["connect-four",{title:"Connect Four",link:"connect-four/",difficulty:e.Hard,developer:"sadanandpai",tags:[]}],["comment-box",{title:"Comment box",link:"comment-box/",difficulty:e.Hard,developer:"sadanandpai",tags:[]}],["json-creator",{title:"JSON Creator",link:"json-creator/",difficulty:e.Hard,developer:"sadanandpai",tags:[]}],["array-methods",{title:"Array methods",link:"array-methods/",difficulty:e.Hard,developer:"sadanandpai",tags:[]}],["type-ahead",{title:"Typeahead / Autocomplete (offline)",link:"type-ahead/",difficulty:e.Hard,developer:"sadanandpai",tags:[]}],["type-ahead-online",{title:"Typeahead / Autocomplete (online)",link:"type-ahead-online/",difficulty:e.Hard,developer:"sadanandpai",tags:[]}]]),y=a(g),m=new Map([["counter",{title:"Counter",link:"counter",difficulty:e.Easy,developer:"sadanandpai",tags:[]}],["programming-languages-multiverse",{title:"Programming Multiverse",link:"programming-languages-multiverse",difficulty:e.Easy,developer:"Sumitwarrior7",tags:[]}],["anagram-checker",{title:"Anagram Checker",link:"anagram-checker",difficulty:e.Easy,developer:"Manmit Tiwade",tags:[]}],["quote-generator",{title:"Quote Generator",link:"quote-generator",difficulty:e.Easy,developer:"viditagrawal56",tags:[]}],["image-gallery",{title:"Image Gallery",link:"image-gallery",difficulty:e.Easy,developer:"Bhushan1019",tags:[]}],["accordion",{title:"Accordion",link:"accordion",developer:"NikhilJHA01",difficulty:e.Easy,tags:[]}],["background-changer",{title:"Background Changer",link:"background-changer",developer:"AdityaSuryawanshi",difficulty:e.Easy,tags:[]}],["light-dark-mode",{title:"Light Dark Mode",link:"light-dark-mode",difficulty:e.Easy,developer:"NikhilJHA01",tags:[]}],["qr-code-generator",{title:"QR generator",link:"qr-code-generator",difficulty:e.Easy,developer:"Krishnakalani111",tags:[]}],["your-sport",{title:"Your Sport",link:"your-sport",difficulty:e.Easy,developer:"Sumitwarrior7",tags:[]}],["table-colorizer",{title:"Table Colorizer",link:"table-colorizer",difficulty:e.Easy,developer:"ravi02205",tags:[]}],["Guess-the-number",{title:"Guess the number",link:"Guess-the-number",difficulty:e.Easy,developer:"deepakrajkranti",tags:[]}],["pagination",{title:"Pagination",link:"pagination",difficulty:e.Easy,developer:"Pancratzia",tags:[]}],["stack",{title:"Stack",link:"stack",difficulty:e.Easy,developer:"kumaratul60",tags:[]}],["word-count",{title:"Word Count",link:"word-count",difficulty:e.Easy,developer:"Sumitwarrior7",tags:[]}],["temperature-converter",{title:"Temperature Converter",link:"temperature-converter",difficulty:e.Easy,developer:"Sumitwarrior7",tags:[]}],["star-Rating",{title:"Star Rating",link:"star-Rating",difficulty:e.Easy,developer:"NikhilJHA01",tags:[]}],["telephone-formatter",{title:"Telephone formatter",link:"telephone-formatter",difficulty:e.Easy,developer:"arpansaha13",tags:[]}],["string-transformers",{title:"String transformers",link:"string-transformers",difficulty:e.Easy,developer:"arpansaha13",tags:[]}],["tic-tac-toe",{title:"Tic Tac Toe",link:"tic-tac-toe",difficulty:e.Easy,developer:"rashidtvmr",tags:[]}],["expense-tracker",{title:"Expense Tracker",link:"expense-tracker",difficulty:e.Easy,developer:"harsh472000",tags:[]}],["25-5-clock",{title:"25-5 Clock",link:"25-5-clock",difficulty:e.Easy,developer:"caesar003",tags:[]}],["bmi-calculator",{title:"BMI Calculator",link:"bmi-calculator",difficulty:e.Easy,developer:"ashikjhonson",tags:[]}],["stepper",{title:"STEPPER",link:"stepper",difficulty:e.Easy,developer:"codechitra",tags:[],isNew:!0}],["calculator",{title:"Calculator",link:"calculator",difficulty:e.Medium,developer:"liza",tags:[]}],["color-mixer",{title:"Color Mixer",link:"color-mixer",difficulty:e.Medium,developer:"Sumitwarrior7",tags:[]}],["traffic-lights",{title:"Traffic Lights",link:"traffic-lights",difficulty:e.Medium,developer:"rishabhm05",tags:[]}],["email-templates",{title:"Email Templates",link:"email-templates",difficulty:e.Medium,developer:"sadanandpai",tags:[]}],["toast-popup",{title:"Toast Popup",link:"toast-popup",difficulty:e.Medium,developer:"deepu0",tags:[]}],["modal-popup",{title:"Modal Popup",link:"modal-popup",difficulty:e.Medium,developer:"rishabhm05",tags:[]}],["password-strength",{title:"Password Strength",link:"password-strength",difficulty:e.Medium,developer:"deepu0",tags:[]}],["timeline",{title:"Timeline",link:"timeline",difficulty:e.Medium,developer:"Vivek7038",tags:[],isNew:!0}],["column-table",{title:"Column Table",link:"column-table",difficulty:e.Medium,developer:"sadanandpai",tags:[]}],["todo-list",{title:"Todo List",link:"todo-list",difficulty:e.Medium,developer:"deepakrajkranti",tags:[]}],["emoji-picker",{title:"Emoji Picker",link:"emoji-picker",difficulty:e.Medium,developer:"jeevaramanathan",tags:[]}],["investment-calculator",{title:"Investment Calculator",link:"investment-calculator",difficulty:e.Medium,developer:"insharahAyyubi",tags:[]}],["stopwatch",{title:"Stopwatch",link:"stopwatch",difficulty:e.Medium,developer:"rashidtvmr",tags:[]}],["progressbar",{title:"Progressbar",link:"progressbar",difficulty:e.Medium,developer:"dhanu084",tags:[]}],["quiz-app",{title:"Quiz App",link:"quiz-app",difficulty:e.Medium,developer:"AbhilashMadi",tags:[]}],["chess-board",{title:"Chess Board",link:"chess-board",difficulty:e.Medium,developer:"AbhilashMadi",tags:[]}],["nested-dropdown",{title:"Nested Dropdown",link:"nested-dropdown",difficulty:e.Medium,developer:"AnkitKTrivedi",tags:[]}],["food-recipe",{title:"Food Recipe",link:"food-recipe",difficulty:e.Medium,developer:"Kei-K23",tags:[]}],["nested-comments",{title:"Nested Comments",link:"nested-comments",difficulty:e.Hard,developer:"Akshay-Omkar",tags:[],isNew:!0}],["password-generator",{title:"Password Generator",link:"password-generator",difficulty:e.Medium,developer:"Kei-K23",tags:[]}],["transfer-list",{title:"Transfer List",link:"transfer-list",difficulty:e.Medium,developer:"DeePaK-HeeRaKaRi",tags:[]}],["infinite-scrolling",{title:"Infinite Scrolling (online)",link:"infinite-scrolling",difficulty:e.Medium,developer:"ayush-dutt-sharma",tags:[]}],["match-pair",{title:"Match Pair",link:"match-pair",difficulty:e.Medium,developer:"sadanandpai",tags:[]}],["word-connect",{title:"Word Connect",link:"word-connect",difficulty:e.Hard,developer:"sadanandpai",tags:[],isNew:!0}],["otp",{title:"OTP",link:"otp",difficulty:e.Hard,developer:"rishabhm05",tags:[]}],["file-explorer",{title:"File Explorer",link:"file-explorer",difficulty:e.Hard,developer:"sadanandpai",tags:[]}],["autocomplete-offline",{title:"Typeahead / Autocomplete (offline)",link:"autocomplete-offline",difficulty:e.Hard,developer:"deepu0",tags:[]}],["autocomplete-online",{title:"Typeahead / Autocomplete (online)",link:"autocomplete-online",difficulty:e.Hard,developer:"deepu0",tags:[]}],["water-balancer",{title:"Water Balancer",link:"water-balancer",difficulty:e.Hard,developer:"sadanandpai",tags:[],isNew:!0}],["inline-options",{title:"Inline Options",link:"inline-options",difficulty:e.Easy,developer:"takshch",tags:[]}],["digital-clock",{title:"Digital Clock",link:"digital-clock",difficulty:e.Medium,developer:"Syamsai-Polavarapu",tags:[],isNew:!0}],["15puzzle",{title:"15 Puzzle",link:"15puzzle",difficulty:e.Medium,developer:"Bateusz",tags:[],isNew:!0}],["feedback-modal",{title:"Feedback Modal",link:"feedback-modal",difficulty:e.Medium,developer:"ssudipta",tags:[]}],["memory-game",{title:"Memory Game",link:"memory-game",difficulty:e.Medium,developer:"Akshat-Gupta",tags:[],isNew:!0}],["chip-input",{title:"Chips Input",link:"chip-input",difficulty:e.Medium,developer:"Akshay-Omkar",tags:[],isNew:!0}],["tabs",{title:"Tab",link:"tabs",difficulty:e.Easy,developer:"Akshay-Omkar",tags:[],isNew:!0}],["drag-drop",{title:"Drag-Drop",link:"drag-drop",difficulty:e.Medium,developer:"Akshay-Omkar",tags:[],isNew:!0}],["circles",{title:"Circles",link:"circles",difficulty:e.Medium,developer:"sadanandpai",tags:[],isNew:!0}],["analog-clock",{title:"Analog Clock",link:"analog-clock",difficulty:e.Medium,developer:"sadanandpai",tags:[],isNew:!0}]]);a(m);const k=new Map([["counter",{title:"Counter",link:"/counter",difficulty:e.Easy,developer:"arpansaha13",tags:[]}],["accordion",{title:"Accordion",link:"/accordion",difficulty:e.Easy,developer:"arpansaha13",tags:[]}],["light-dark-mode",{title:"Light Dark Mode",link:"/light-dark-mode",difficulty:e.Easy,developer:"arpansaha13",tags:[]}],["table-colorizer",{title:"Table Colorizer",link:"/table-colorizer",difficulty:e.Easy,developer:"arpansaha13",tags:[]}],["guess-the-number",{title:"Guess the number",link:"/guess-the-number",difficulty:e.Easy,developer:"arpansaha13",tags:[]}],["pagination",{title:"Pagination",link:"/pagination",difficulty:e.Easy,developer:"arpansaha13",tags:[]}],["stack",{title:"Stack",link:"/stack",difficulty:e.Easy,developer:"jaydadhaniya",tags:[]}],["telephone-formatter",{title:"Telephone formatter",link:"/telephone-formatter",difficulty:e.Easy,developer:"arpansaha13",tags:[]}],["temprature-converter",{title:"Temprature Converter",link:"/temprature-converter",difficulty:e.Easy,developer:"bhumikkalola",tags:[]}],["tic-tac-toe",{title:"Tic Tac Toe",link:"/tic-tac-toe",difficulty:e.Medium,developer:"sadanandpai",tags:[]}],["toast-popup",{title:"Toast Popup",link:"/toast-popup",difficulty:e.Medium,developer:"arpansaha13",tags:[]}],["password-strength",{title:"Password Strength",link:"/password-strength",difficulty:e.Medium,developer:"jaydadhaniya",tags:[]}],["password-generator",{title:"Password Generator",link:"/password-generator",difficulty:e.Medium,developer:"bhumikkalola",tags:[]}],["stopwatch",{title:"Stopwatch",link:"/stopwatch",difficulty:e.Medium,developer:"Shardik04",tags:[]}]]);a(k);const h=new Map([["counter",{title:"Counter",link:"counter",difficulty:e.Easy,developer:"sadanandpai",tags:[],isNew:!0}],["guess-number",{title:"Guess Number",link:"guess-number",difficulty:e.Easy,developer:"pankajparkar",tags:[],isNew:!0}],["todo-list",{title:"Todo list",link:"todo-list",difficulty:e.Easy,developer:"pankajparkar",tags:[],isNew:!0}],["stack",{title:"Stack",link:"stack",difficulty:e.Easy,developer:"pankajparkar",tags:[],isNew:!0}],["tic-tac-toe",{title:"Tic tac toe",link:"tic-tac-toe",difficulty:e.Easy,developer:"pankajparkar",tags:[],isNew:!0}],["word-count",{title:"Word Count",link:"word-count",difficulty:e.Easy,developer:"pankajparkar",tags:[],isNew:!0}]]);a(h);const v="/frontend-mini-challenges/javascript/assets/logo-r_4QCHBg.png";var b={VITE_REACT_APP_URL:"http://localhost:6013/",VITE_NG_APP_URL:"http://localhost:6015/",VITE_PATH:"frontend-mini-challenges",VITE_HOST_URL:"http://localhost:6010/",VITE_CSS_APP_URL:"http://localhost:6011/",VITE_JS_APP_URL:"http://localhost:6012/",VITE_VUE_APP_URL:"http://localhost:6014/",BASE_URL:"/frontend-mini-challenges/javascript/",MODE:"production",DEV:!1,PROD:!0,SSR:!1};const{VITE_PATH:l,VITE_HOST_URL:n,DEV:d}=b,M=d?`${n}${l}/#/javascript/`:`/${l}/#/javascript/`,w=d?`${n}${l}/`:`/${l}/`,E=window.location.pathname.split("/challenges/")[1].slice(0,-1),i=y.get(E),r=document.createElement("nav");r.classList.add("challenge-navbar");r.innerHTML=` + + +

${i.title}

+ +
+ ${i!=null&&i.youtube?` + + youtube solution + + `:""} + + github repo + +
+`;document.body.prepend(r);export{y as j}; diff --git a/docs/javascript/assets/navbar-IV3mLr91.js b/docs/javascript/assets/navbar-IV3mLr91.js deleted file mode 100644 index 5ee6c7ef1..000000000 --- a/docs/javascript/assets/navbar-IV3mLr91.js +++ /dev/null @@ -1,27 +0,0 @@ -var e=(t=>(t.Easy="easy",t.Medium="medium",t.Hard="hard",t))(e||{});const o=[e.Easy,e.Medium,e.Hard];function l(t){return new Map([...t.entries()].sort((s,u)=>{const p=o.indexOf(s[1].difficulty),c=o.indexOf(u[1].difficulty);return p-c}))}const f=new Map([["counter",{title:"Counter",link:"counter/",difficulty:e.Easy,developer:"sadanandpai",youtube:"https://youtu.be/9OIeUtXX3SA",tags:[]}],["bmi-calculator",{title:"BMI Calculator",link:"bmi-calculator/",difficulty:e.Easy,developer:"itsayopapi",tags:[]}],["dice-game",{title:"Dice Game",link:"dice-game/",difficulty:e.Easy,developer:"shivam200446",tags:[],isNew:!0}],["roll-dice",{title:"Roll dice",link:"roll-dice/",difficulty:e.Easy,developer:"babandakale",tags:[]}],["guess-the-number",{title:"Guess the number",link:"guess-the-number/",difficulty:e.Easy,developer:"sadanandpai",youtube:"https://youtu.be/L1Da3GWEGpY",tags:[]}],["string-transformers",{title:"String transformers",link:"string-transformers/",difficulty:e.Easy,developer:"sadanandpai",youtube:"https://youtu.be/crCZEJ6Lmgc",tags:[]}],["file-uploader",{title:"File Uploader",link:"file-uploader/",difficulty:e.Easy,developer:"avtech",tags:[],isNew:!0}],["telephone-formatter",{title:"Telephone formatter",link:"telephone-formatter/",difficulty:e.Easy,developer:"sadanandpai",youtube:"https://youtu.be/E85ldVqAGjw",tags:[]}],["dialog-popup",{title:"Dialog Popup",link:"dialog-popup/",difficulty:e.Easy,developer:"sahankatta",youtube:"https://youtu.be/aIzyEDi6zgU",tags:[]}],["light-dark-mode",{title:"Light & Dark mode",link:"light-dark-mode/",difficulty:e.Easy,developer:"sadanandpai",youtube:"https://youtu.be/hxcGGhjYNFE",tags:[]}],["skeleton-loader",{title:"Skeleton Loader",link:"skeleton-loader/",difficulty:e.Easy,developer:"sahankatta",youtube:"https://youtu.be/FEtTRjq1P6I",tags:[]}],["spinning-loader",{title:"Spinning Loader",link:"spinning-loader/",difficulty:e.Easy,developer:"DhanushNehru",tags:[]}],["music-kit",{title:"Music Kit",link:"music-kit/",difficulty:e.Easy,developer:"shivam200446",tags:[]}],["currency-converter",{title:"Currency Converter",link:"currency-converter/",difficulty:e.Easy,developer:"pranav514",tags:[],isNew:!0}],["accordion",{title:"Accordion",link:"accordion/",difficulty:e.Easy,developer:"rashidtvmr",youtube:"https://youtu.be/03KFXudVaoo",tags:[]}],["navigation-bar",{title:"Navigation Bar",link:"navigation-bar/",difficulty:e.Easy,developer:"christian-lee1398",youtube:"https://youtu.be/urA5ogzG0L0",tags:[]}],["Footer",{title:"Footer",link:"Footer/",difficulty:e.Easy,developer:"AbhineshJha",youtube:"https://youtu.be/FRRlFLfdvBE?si=HWn88BwJGTJvEBUD",tags:[],isNew:!0}],["rock-paper-scissor",{title:"Rock Paper Scissor",link:"rock-paper-scissor/",difficulty:e.Easy,developer:"AckermanLevi1",tags:[],isNew:!0}],["MadStory_generator",{title:"MadStory Generator",link:"MadStory_generator/",difficulty:e.Easy,developer:"hritik",tags:[]}],["multi-typing",{title:"Multi Typing",link:"multi-typing/",difficulty:e.Easy,developer:"noorulaink00",youtube:"https://youtu.be/YCDeOT7DRnI",tags:[]}],["bill-spilt",{title:"Bill Split",link:"bill-spilt/",difficulty:e.Easy,developer:"Sukomal07",youtube:"https://youtu.be/4H2DyrSJeYc",tags:[]}],["simon-game",{title:"Simon game",link:"simon-game/",difficulty:e.Easy,developer:"VishakhaSainani",tags:[],isNew:!0}],["blobmaker",{title:"Blob Maker",link:"blobmaker/",difficulty:e.Easy,developer:"AbhineshJha",tags:[]}],["fitness-tracker",{title:"Fitness Tracker",link:"fitness-tracker/",difficulty:e.Easy,developer:"CrypticRevenger",tags:[]}],["atm-simulator",{title:"ATM Simulator",link:"atm-simulator/",difficulty:e.Easy,developer:"Bratajit-03",tags:[],isNew:!0}],["finance-tracker",{title:"Finance Tracker",link:"finance-tracker/",difficulty:e.Medium,developer:"sujitmahapatra",tags:[]}],["meme-generator",{title:"Meme Generator",link:"meme-generator/",difficulty:e.Medium,developer:"noorulaink00",youtube:"https://youtu.be/LHo9Hi47MTo",tags:[]}],["weather-app",{title:"Weather App",link:"weather-app/",difficulty:e.Medium,developer:"shruti-sen2004",tags:[],isNew:!0}],["toast-popup",{title:"Toast Popup",link:"toast-popup/",difficulty:e.Medium,developer:"sadanandpai",youtube:"https://youtu.be/-p3N5bJXEK8",tags:[]}],["css-shapes",{title:"CSS Shapes",link:"css-shapes/",difficulty:e.Medium,developer:"sadanandpai",tags:[]}],["column-table",{title:"Column Table",link:"column-table/",difficulty:e.Medium,developer:"sadanandpai",tags:[]}],["password-strength",{title:"Password Strength",link:"password-strength/",difficulty:e.Medium,developer:"sadanandpai",tags:[]}],["star-rating",{title:"Star Rating",link:"star-rating/",difficulty:e.Medium,developer:"sadanandpai",tags:[]}],["star-rating-display",{title:"Star Rating Display",link:"star-rating-display/",difficulty:e.Medium,developer:"sadanandpai",tags:[]}],["pixel-art",{title:"Pixel Art",link:"pixel-art/",difficulty:e.Medium,developer:"sadanandpai",tags:[]}],["word-counter",{title:"Word Counter (online)",link:"word-counter/",difficulty:e.Medium,developer:"AckermanLevi1",tags:[]}],["color-spotter",{title:"Color Spotter",link:"color-spotter/",difficulty:e.Medium,developer:"sadanandpai",tags:[]}],["todo-list",{title:"Todo List",link:"todo-list/",difficulty:e.Medium,developer:"sadanandpai",tags:[]}],["gradient-generator",{title:"Gradient Generator",link:"gradient-generator/",difficulty:e.Medium,developer:"Sukomal07",tags:[],isNew:!0}],["transfer-list",{title:"Transfer List",link:"transfer-list/",difficulty:e.Medium,developer:"sadanandpai",tags:[]}],["lift-simulation",{title:"Lift Simulation",link:"lift-simulation/",difficulty:e.Medium,developer:"gauravsinhaweb",tags:[],isNew:!0}],["tic-tac-toe",{title:"Tic-Tac-Toe",link:"tic-tac-toe/",difficulty:e.Medium,developer:"sadanandpai",tags:[]}],["chess-board",{title:"Chess board",link:"chess-board/",difficulty:e.Medium,developer:"sadanandpai",tags:[]}],["chips-input",{title:"Chips Input",link:"chips-input/",difficulty:e.Medium,developer:"sadanandpai",tags:[]}],["infinite-scroll",{title:"Infinite Scroll",link:"infinite-scroll/",difficulty:e.Medium,developer:"srijanB7",tags:[]}],["password-generator",{title:"Password Generator",link:"password-generator/",difficulty:e.Medium,developer:"sadanandpai",tags:[]}],["analog-clock",{title:"Analog Clock",link:"analog-clock/",difficulty:e.Medium,developer:"sadanandpai",tags:[]}],["drag-and-drop-puzzle",{title:"Drag and Drop Puzzle",link:"drag-and-drop-puzzle/",difficulty:e.Medium,developer:"noorulaink00",tags:[],isNew:!0}],["basic-calculator",{title:"Basic calculator",link:"basic-calculator/",difficulty:e.Medium,developer:"sadanandpai",tags:[]}],["match-pair",{title:"Match Pair",link:"match-pair/",difficulty:e.Medium,developer:"sadanandpai",tags:[]}],["typing-speed-test",{title:"Typing Speed Test",link:"typing-speed-test/",difficulty:e.Medium,developer:"sadanandpai",tags:[]}],["count-down-timer",{title:"Countdown Timer",link:"count-down-timer/",difficulty:e.Medium,developer:"sadanandpai",tags:[]}],["otp-input",{title:"OTP Input",link:"otp-input/",difficulty:e.Medium,developer:"sadanandpai",tags:[]}],["quiz-app",{title:"Quiz App",link:"quiz-app/",difficulty:e.Medium,developer:"Kei-K23",tags:[],isNew:!0}],["sorting-visualizer",{title:"Sorting Visualizer",link:"sorting-visualizer/",difficulty:e.Medium,developer:"viditagrawal56",tags:[],isNew:!0}],["snake-game",{title:"Snake Game",link:"snake-game/",difficulty:e.Medium,developer:"Kei-K23",tags:[]}],["hangman-game",{title:"Hangman Game",link:"hangman-game/",difficulty:e.Medium,developer:"Kei-K23",tags:[],isNew:!0}],["area-selector",{title:"Area Selector",link:"area-selector/",difficulty:e.Medium,developer:"sadanandpai",tags:[]}],["25-5-clock",{title:"25-5 Clock",link:"25-5-clock/",difficulty:e.Medium,developer:"caesar003",tags:[]}],["carousel",{title:"Carousel",link:"carousel/",difficulty:e.Medium,developer:"sadanandpai",tags:[]}],["calendar",{title:"Calendar",link:"calendar/",difficulty:e.Medium,developer:"sadanandpai",tags:[]}],["progress-bar",{title:"Progress Bar",link:"progress-bar/",difficulty:e.Medium,developer:"sadanandpai",tags:[]}],["movie-info",{title:"Movie-info app (online)",link:"movie-info/",difficulty:e.Medium,developer:"AckermanLevi1",tags:[]}],["quiz-app-with-timer",{title:"Quiz App with Timer",link:"quiz-app-with-timer/",difficulty:e.Medium,developer:"Vivek-GuptaXCode",tags:[]}],["paginator",{title:"Paginator",link:"paginator/",difficulty:e.Hard,developer:"sadanandpai",tags:[]}],["connect-four",{title:"Connect Four",link:"connect-four/",difficulty:e.Hard,developer:"sadanandpai",tags:[]}],["comment-box",{title:"Comment box",link:"comment-box/",difficulty:e.Hard,developer:"sadanandpai",tags:[]}],["json-creator",{title:"JSON Creator",link:"json-creator/",difficulty:e.Hard,developer:"sadanandpai",tags:[]}],["array-methods",{title:"Array methods",link:"array-methods/",difficulty:e.Hard,developer:"sadanandpai",tags:[]}],["type-ahead",{title:"Typeahead / Autocomplete (offline)",link:"type-ahead/",difficulty:e.Hard,developer:"sadanandpai",tags:[]}],["type-ahead-online",{title:"Typeahead / Autocomplete (online)",link:"type-ahead-online/",difficulty:e.Hard,developer:"sadanandpai",tags:[]}]]),g=l(f),y=new Map([["counter",{title:"Counter",link:"counter",difficulty:e.Easy,developer:"sadanandpai",tags:[]}],["programming-languages-multiverse",{title:"Programming Multiverse",link:"programming-languages-multiverse",difficulty:e.Easy,developer:"Sumitwarrior7",tags:[]}],["anagram-checker",{title:"Anagram Checker",link:"anagram-checker",difficulty:e.Easy,developer:"Manmit Tiwade",tags:[]}],["quote-generator",{title:"Quote Generator",link:"quote-generator",difficulty:e.Easy,developer:"viditagrawal56",tags:[]}],["image-gallery",{title:"Image Gallery",link:"image-gallery",difficulty:e.Easy,developer:"Bhushan1019",tags:[]}],["accordion",{title:"Accordion",link:"accordion",developer:"NikhilJHA01",difficulty:e.Easy,tags:[]}],["background-changer",{title:"Background Changer",link:"background-changer",developer:"AdityaSuryawanshi",difficulty:e.Easy,tags:[]}],["light-dark-mode",{title:"Light Dark Mode",link:"light-dark-mode",difficulty:e.Easy,developer:"NikhilJHA01",tags:[]}],["qr-code-generator",{title:"QR generator",link:"qr-code-generator",difficulty:e.Easy,developer:"Krishnakalani111",tags:[]}],["your-sport",{title:"Your Sport",link:"your-sport",difficulty:e.Easy,developer:"Sumitwarrior7",tags:[]}],["table-colorizer",{title:"Table Colorizer",link:"table-colorizer",difficulty:e.Easy,developer:"ravi02205",tags:[]}],["Guess-the-number",{title:"Guess the number",link:"Guess-the-number",difficulty:e.Easy,developer:"deepakrajkranti",tags:[]}],["pagination",{title:"Pagination",link:"pagination",difficulty:e.Easy,developer:"Pancratzia",tags:[]}],["stack",{title:"Stack",link:"stack",difficulty:e.Easy,developer:"kumaratul60",tags:[]}],["word-count",{title:"Word Count",link:"word-count",difficulty:e.Easy,developer:"Sumitwarrior7",tags:[]}],["temperature-converter",{title:"Temperature Converter",link:"temperature-converter",difficulty:e.Easy,developer:"Sumitwarrior7",tags:[]}],["star-Rating",{title:"Star Rating",link:"star-Rating",difficulty:e.Easy,developer:"NikhilJHA01",tags:[]}],["telephone-formatter",{title:"Telephone formatter",link:"telephone-formatter",difficulty:e.Easy,developer:"arpansaha13",tags:[]}],["string-transformers",{title:"String transformers",link:"string-transformers",difficulty:e.Easy,developer:"arpansaha13",tags:[]}],["tic-tac-toe",{title:"Tic Tac Toe",link:"tic-tac-toe",difficulty:e.Easy,developer:"rashidtvmr",tags:[]}],["expense-tracker",{title:"Expense Tracker",link:"expense-tracker",difficulty:e.Easy,developer:"harsh472000",tags:[]}],["25-5-clock",{title:"25-5 Clock",link:"25-5-clock",difficulty:e.Easy,developer:"caesar003",tags:[]}],["bmi-calculator",{title:"BMI Calculator",link:"bmi-calculator",difficulty:e.Easy,developer:"ashikjhonson",tags:[]}],["stepper",{title:"STEPPER",link:"stepper",difficulty:e.Easy,developer:"codechitra",tags:[],isNew:!0}],["calculator",{title:"Calculator",link:"calculator",difficulty:e.Medium,developer:"liza",tags:[]}],["color-mixer",{title:"Color Mixer",link:"color-mixer",difficulty:e.Medium,developer:"Sumitwarrior7",tags:[]}],["traffic-lights",{title:"Traffic Lights",link:"traffic-lights",difficulty:e.Medium,developer:"rishabhm05",tags:[]}],["email-templates",{title:"Email Templates",link:"email-templates",difficulty:e.Medium,developer:"sadanandpai",tags:[]}],["toast-popup",{title:"Toast Popup",link:"toast-popup",difficulty:e.Medium,developer:"deepu0",tags:[]}],["modal-popup",{title:"Modal Popup",link:"modal-popup",difficulty:e.Medium,developer:"rishabhm05",tags:[]}],["password-strength",{title:"Password Strength",link:"password-strength",difficulty:e.Medium,developer:"deepu0",tags:[]}],["timeline",{title:"Timeline",link:"timeline",difficulty:e.Medium,developer:"Vivek7038",tags:[],isNew:!0}],["column-table",{title:"Column Table",link:"column-table",difficulty:e.Medium,developer:"sadanandpai",tags:[]}],["todo-list",{title:"Todo List",link:"todo-list",difficulty:e.Medium,developer:"deepakrajkranti",tags:[]}],["emoji-picker",{title:"Emoji Picker",link:"emoji-picker",difficulty:e.Medium,developer:"jeevaramanathan",tags:[]}],["investment-calculator",{title:"Investment Calculator",link:"investment-calculator",difficulty:e.Medium,developer:"insharahAyyubi",tags:[]}],["stopwatch",{title:"Stopwatch",link:"stopwatch",difficulty:e.Medium,developer:"rashidtvmr",tags:[]}],["progressbar",{title:"Progressbar",link:"progressbar",difficulty:e.Medium,developer:"dhanu084",tags:[]}],["quiz-app",{title:"Quiz App",link:"quiz-app",difficulty:e.Medium,developer:"AbhilashMadi",tags:[]}],["chess-board",{title:"Chess Board",link:"chess-board",difficulty:e.Medium,developer:"AbhilashMadi",tags:[]}],["nested-dropdown",{title:"Nested Dropdown",link:"nested-dropdown",difficulty:e.Medium,developer:"AnkitKTrivedi",tags:[]}],["food-recipe",{title:"Food Recipe",link:"food-recipe",difficulty:e.Medium,developer:"Kei-K23",tags:[]}],["password-generator",{title:"Password Generator",link:"password-generator",difficulty:e.Medium,developer:"Kei-K23",tags:[]}],["transfer-list",{title:"Transfer List",link:"transfer-list",difficulty:e.Medium,developer:"DeePaK-HeeRaKaRi",tags:[]}],["infinite-scrolling",{title:"Infinite Scrolling (online)",link:"infinite-scrolling",difficulty:e.Medium,developer:"ayush-dutt-sharma",tags:[]}],["match-pair",{title:"Match Pair",link:"match-pair",difficulty:e.Medium,developer:"sadanandpai",tags:[]}],["word-connect",{title:"Word Connect",link:"word-connect",difficulty:e.Medium,developer:"sadanandpai",tags:[],isNew:!0}],["otp",{title:"OTP",link:"otp",difficulty:e.Medium,developer:"rishabhm05",tags:[]}],["file-explorer",{title:"File Explorer",link:"file-explorer",difficulty:e.Hard,developer:"sadanandpai",tags:[]}],["autocomplete-offline",{title:"Typeahead / Autocomplete (offline)",link:"autocomplete-offline",difficulty:e.Hard,developer:"deepu0",tags:[]}],["autocomplete-online",{title:"Typeahead / Autocomplete (online)",link:"autocomplete-online",difficulty:e.Hard,developer:"deepu0",tags:[]}],["water-balancer",{title:"Water Balancer",link:"water-balancer",difficulty:e.Hard,developer:"sadanandpai",tags:[],isNew:!0}],["inline-options",{title:"Inline Options",link:"inline-options",difficulty:e.Easy,developer:"takshch",tags:[]}],["digital-clock",{title:"Digital Clock",link:"digital-clock",difficulty:e.Medium,developer:"Syamsai-Polavarapu",tags:[],isNew:!0}],["nested-comments",{title:"Nested Comments",link:"nested-comments",difficulty:e.Medium,developer:"Akshay-Omkar",tags:[],isNew:!0}],["15puzzle",{title:"15 Puzzle",link:"15puzzle",difficulty:e.Medium,developer:"Bateusz",tags:[],isNew:!0}],["feedback-modal",{title:"Feedback Modal",link:"feedback-modal",difficulty:e.Medium,developer:"ssudipta",tags:[]}],["memory-game",{title:"Memory Game",link:"memory-game",difficulty:e.Medium,developer:"Akshat-Gupta",tags:[],isNew:!0}],["chip-input",{title:"Chips Input",link:"chip-input",difficulty:e.Medium,developer:"Akshay-Omkar",tags:[],isNew:!0}],["tabs",{title:"Tab",link:"tabs",difficulty:e.Easy,developer:"Akshay-Omkar",tags:[],isNew:!0}],["drag-drop",{title:"Drag-Drop",link:"drag-drop",difficulty:e.Medium,developer:"Akshay-Omkar",tags:[],isNew:!0}],["circles",{title:"Circles",link:"circles",difficulty:e.Medium,developer:"sadanandpai",tags:[],isNew:!0}],["analog-clock",{title:"Analog Clock",link:"analog-clock",difficulty:e.Medium,developer:"sadanandpai",tags:[],isNew:!0}]]);l(y);const m=new Map([["counter",{title:"Counter",link:"/counter",difficulty:e.Easy,developer:"arpansaha13",tags:[]}],["accordion",{title:"Accordion",link:"/accordion",difficulty:e.Easy,developer:"arpansaha13",tags:[]}],["light-dark-mode",{title:"Light Dark Mode",link:"/light-dark-mode",difficulty:e.Easy,developer:"arpansaha13",tags:[]}],["table-colorizer",{title:"Table Colorizer",link:"/table-colorizer",difficulty:e.Easy,developer:"arpansaha13",tags:[]}],["guess-the-number",{title:"Guess the number",link:"/guess-the-number",difficulty:e.Easy,developer:"arpansaha13",tags:[]}],["pagination",{title:"Pagination",link:"/pagination",difficulty:e.Easy,developer:"arpansaha13",tags:[]}],["stack",{title:"Stack",link:"/stack",difficulty:e.Easy,developer:"jaydadhaniya",tags:[]}],["telephone-formatter",{title:"Telephone formatter",link:"/telephone-formatter",difficulty:e.Easy,developer:"arpansaha13",tags:[]}],["temprature-converter",{title:"Temprature Converter",link:"/temprature-converter",difficulty:e.Easy,developer:"bhumikkalola",tags:[]}],["tic-tac-toe",{title:"Tic Tac Toe",link:"/tic-tac-toe",difficulty:e.Medium,developer:"sadanandpai",tags:[]}],["toast-popup",{title:"Toast Popup",link:"/toast-popup",difficulty:e.Medium,developer:"arpansaha13",tags:[]}],["password-strength",{title:"Password Strength",link:"/password-strength",difficulty:e.Medium,developer:"jaydadhaniya",tags:[]}],["password-generator",{title:"Password Generator",link:"/password-generator",difficulty:e.Medium,developer:"bhumikkalola",tags:[]}],["stopwatch",{title:"Stopwatch",link:"/stopwatch",difficulty:e.Medium,developer:"Shardik04",tags:[]}]]);l(m);const k=new Map([["counter",{title:"Counter",link:"counter",difficulty:e.Easy,developer:"sadanandpai",tags:[],isNew:!0}],["guess-number",{title:"Guess Number",link:"guess-number",difficulty:e.Easy,developer:"pankajparkar",tags:[],isNew:!0}],["todo-list",{title:"Todo list",link:"todo-list",difficulty:e.Easy,developer:"pankajparkar",tags:[],isNew:!0}],["stack",{title:"Stack",link:"stack",difficulty:e.Easy,developer:"pankajparkar",tags:[],isNew:!0}],["tic-tac-toe",{title:"Tic tac toe",link:"tic-tac-toe",difficulty:e.Easy,developer:"pankajparkar",tags:[],isNew:!0}],["word-count",{title:"Word Count",link:"word-count",difficulty:e.Easy,developer:"pankajparkar",tags:[],isNew:!0}]]);l(k);const h="/frontend-mini-challenges/javascript/assets/logo-r_4QCHBg.png";var v={VITE_REACT_APP_URL:"http://localhost:6012/",VITE_NG_APP_URL:"http://localhost:6014/",VITE_PATH:"frontend-mini-challenges",VITE_HOST_URL:"http://localhost:6010/",VITE_JS_APP_URL:"http://localhost:6011/",VITE_VUE_APP_URL:"http://localhost:6013/",BASE_URL:"/frontend-mini-challenges/javascript/",MODE:"production",DEV:!1,PROD:!0,SSR:!1};const{VITE_PATH:a,VITE_HOST_URL:n,DEV:d}=v,b=d?`${n}${a}/#/javascript/`:`/${a}/#/javascript/`,M=d?`${n}${a}/`:`/${a}/`,w=window.location.pathname.split("/challenges/")[1].slice(0,-1),i=g.get(w),r=document.createElement("nav");r.classList.add("challenge-navbar");r.innerHTML=` - - -

${i.title}

- -
- ${i!=null&&i.youtube?` - - youtube solution - - `:""} - - github repo - -
-`;document.body.prepend(r);export{g as j}; diff --git a/docs/javascript/src/challenges/25-5-clock/index.html b/docs/javascript/src/challenges/25-5-clock/index.html index 41369fa30..424504e52 100644 --- a/docs/javascript/src/challenges/25-5-clock/index.html +++ b/docs/javascript/src/challenges/25-5-clock/index.html @@ -10,9 +10,9 @@ href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.2.1/css/all.min.css" rel="stylesheet" /> - - - + + + diff --git a/docs/javascript/src/challenges/Footer/index.html b/docs/javascript/src/challenges/Footer/index.html index f25f4493d..857fd6769 100644 --- a/docs/javascript/src/challenges/Footer/index.html +++ b/docs/javascript/src/challenges/Footer/index.html @@ -2,8 +2,8 @@ - - + + diff --git a/docs/javascript/src/challenges/MadStory_generator/index.html b/docs/javascript/src/challenges/MadStory_generator/index.html index 7310a5516..d9cd325ab 100644 --- a/docs/javascript/src/challenges/MadStory_generator/index.html +++ b/docs/javascript/src/challenges/MadStory_generator/index.html @@ -1,9 +1,9 @@ - - - + + + diff --git a/docs/javascript/src/challenges/accordion/index.html b/docs/javascript/src/challenges/accordion/index.html index bcf4a2504..37fb0ccec 100644 --- a/docs/javascript/src/challenges/accordion/index.html +++ b/docs/javascript/src/challenges/accordion/index.html @@ -2,9 +2,9 @@ - - - + + + diff --git a/docs/javascript/src/challenges/analog-clock/index.html b/docs/javascript/src/challenges/analog-clock/index.html index 43fc3245e..be7850d09 100644 --- a/docs/javascript/src/challenges/analog-clock/index.html +++ b/docs/javascript/src/challenges/analog-clock/index.html @@ -5,9 +5,9 @@ - - - + + + diff --git a/docs/javascript/src/challenges/area-selector/index.html b/docs/javascript/src/challenges/area-selector/index.html index 0968690e6..b61e3d39d 100644 --- a/docs/javascript/src/challenges/area-selector/index.html +++ b/docs/javascript/src/challenges/area-selector/index.html @@ -5,9 +5,9 @@ - - - + + + diff --git a/docs/javascript/src/challenges/array-methods/index.html b/docs/javascript/src/challenges/array-methods/index.html index 9851bfcd2..1f2ca4aef 100644 --- a/docs/javascript/src/challenges/array-methods/index.html +++ b/docs/javascript/src/challenges/array-methods/index.html @@ -5,9 +5,9 @@ - - - + + + diff --git a/docs/javascript/src/challenges/atm-simulator/index.html b/docs/javascript/src/challenges/atm-simulator/index.html index 0197ef664..defc8a13d 100644 --- a/docs/javascript/src/challenges/atm-simulator/index.html +++ b/docs/javascript/src/challenges/atm-simulator/index.html @@ -1,9 +1,9 @@ - - - + + + diff --git a/docs/javascript/src/challenges/basic-calculator/index.html b/docs/javascript/src/challenges/basic-calculator/index.html index 49224ccad..261fbbc57 100644 --- a/docs/javascript/src/challenges/basic-calculator/index.html +++ b/docs/javascript/src/challenges/basic-calculator/index.html @@ -5,9 +5,9 @@ - - - + + + diff --git a/docs/javascript/src/challenges/bill-spilt/index.html b/docs/javascript/src/challenges/bill-spilt/index.html index 0e6cae47c..cef744f7a 100644 --- a/docs/javascript/src/challenges/bill-spilt/index.html +++ b/docs/javascript/src/challenges/bill-spilt/index.html @@ -5,9 +5,9 @@ - - - + + + diff --git a/docs/javascript/src/challenges/blobmaker/index.html b/docs/javascript/src/challenges/blobmaker/index.html index b4fe3e459..8ac309b73 100644 --- a/docs/javascript/src/challenges/blobmaker/index.html +++ b/docs/javascript/src/challenges/blobmaker/index.html @@ -6,9 +6,9 @@ Blob Maker - - - + + + diff --git a/docs/javascript/src/challenges/bmi-calculator/index.html b/docs/javascript/src/challenges/bmi-calculator/index.html index 69db93518..b74f38606 100644 --- a/docs/javascript/src/challenges/bmi-calculator/index.html +++ b/docs/javascript/src/challenges/bmi-calculator/index.html @@ -1,9 +1,9 @@ - - - + + + diff --git a/docs/javascript/src/challenges/calendar/index.html b/docs/javascript/src/challenges/calendar/index.html index e6d7a600a..c97fd981b 100644 --- a/docs/javascript/src/challenges/calendar/index.html +++ b/docs/javascript/src/challenges/calendar/index.html @@ -5,9 +5,9 @@ - - - + + + diff --git a/docs/javascript/src/challenges/carousel/index.html b/docs/javascript/src/challenges/carousel/index.html index 2c3d83840..9f4b4f725 100644 --- a/docs/javascript/src/challenges/carousel/index.html +++ b/docs/javascript/src/challenges/carousel/index.html @@ -5,9 +5,9 @@ - - - + + + diff --git a/docs/javascript/src/challenges/chess-board/index.html b/docs/javascript/src/challenges/chess-board/index.html index 51ee10d11..0c53fdac2 100644 --- a/docs/javascript/src/challenges/chess-board/index.html +++ b/docs/javascript/src/challenges/chess-board/index.html @@ -5,9 +5,9 @@ - - - + + + diff --git a/docs/javascript/src/challenges/chips-input/index.html b/docs/javascript/src/challenges/chips-input/index.html index 1020c6d88..61de7de70 100644 --- a/docs/javascript/src/challenges/chips-input/index.html +++ b/docs/javascript/src/challenges/chips-input/index.html @@ -5,9 +5,9 @@ - - - + + + diff --git a/docs/javascript/src/challenges/color-spotter/index.html b/docs/javascript/src/challenges/color-spotter/index.html index 1600cabcb..c39522e90 100644 --- a/docs/javascript/src/challenges/color-spotter/index.html +++ b/docs/javascript/src/challenges/color-spotter/index.html @@ -5,9 +5,9 @@ - - - + + + diff --git a/docs/javascript/src/challenges/column-table/index.html b/docs/javascript/src/challenges/column-table/index.html index 0da76252b..667402aff 100644 --- a/docs/javascript/src/challenges/column-table/index.html +++ b/docs/javascript/src/challenges/column-table/index.html @@ -5,9 +5,9 @@ - - - + + + diff --git a/docs/javascript/src/challenges/comment-box/index.html b/docs/javascript/src/challenges/comment-box/index.html index 34b7e930e..f184ff9f1 100644 --- a/docs/javascript/src/challenges/comment-box/index.html +++ b/docs/javascript/src/challenges/comment-box/index.html @@ -5,9 +5,9 @@ - - - + + + diff --git a/docs/javascript/src/challenges/connect-four/index.html b/docs/javascript/src/challenges/connect-four/index.html index aad15d10a..0d6ba4aad 100644 --- a/docs/javascript/src/challenges/connect-four/index.html +++ b/docs/javascript/src/challenges/connect-four/index.html @@ -5,9 +5,9 @@ - - - + + + diff --git a/docs/javascript/src/challenges/count-down-timer/index.html b/docs/javascript/src/challenges/count-down-timer/index.html index 4db6741a0..a67154ca3 100644 --- a/docs/javascript/src/challenges/count-down-timer/index.html +++ b/docs/javascript/src/challenges/count-down-timer/index.html @@ -5,9 +5,9 @@ - - - + + + diff --git a/docs/javascript/src/challenges/counter/index.html b/docs/javascript/src/challenges/counter/index.html index 7cb871c1b..332c92903 100644 --- a/docs/javascript/src/challenges/counter/index.html +++ b/docs/javascript/src/challenges/counter/index.html @@ -1,9 +1,9 @@ - - - + + + diff --git a/docs/javascript/src/challenges/css-shapes/index.html b/docs/javascript/src/challenges/css-shapes/index.html deleted file mode 100644 index 3eb1d28aa..000000000 --- a/docs/javascript/src/challenges/css-shapes/index.html +++ /dev/null @@ -1,63 +0,0 @@ - - - - - - - - - - - - - - -
-
-
-

Square

-
-
-
-

Circle

-
-
- -
-

Triangle

-
-
- -
-

Parallelogram

-
-
- -
-

Diamond

-
-
- -
-

Egg

-
-
- -
-

Star

-
-
- -
-

Heart

-
-
- -
-

Loader

-
-
-
-
- - diff --git a/docs/javascript/src/challenges/currency-converter/index.html b/docs/javascript/src/challenges/currency-converter/index.html index e092f4fc0..374256112 100644 --- a/docs/javascript/src/challenges/currency-converter/index.html +++ b/docs/javascript/src/challenges/currency-converter/index.html @@ -1,9 +1,9 @@ - - - + + + diff --git a/docs/javascript/src/challenges/dialog-popup/index.html b/docs/javascript/src/challenges/dialog-popup/index.html index 5be5dc542..5a6615db2 100644 --- a/docs/javascript/src/challenges/dialog-popup/index.html +++ b/docs/javascript/src/challenges/dialog-popup/index.html @@ -5,9 +5,9 @@ - - - + + + diff --git a/docs/javascript/src/challenges/dice-game/index.html b/docs/javascript/src/challenges/dice-game/index.html index 7aea2bfc2..663f84925 100644 --- a/docs/javascript/src/challenges/dice-game/index.html +++ b/docs/javascript/src/challenges/dice-game/index.html @@ -1,9 +1,9 @@ - - - + + + diff --git a/docs/javascript/src/challenges/drag-and-drop-puzzle/index.html b/docs/javascript/src/challenges/drag-and-drop-puzzle/index.html index 4501993eb..e9429a416 100644 --- a/docs/javascript/src/challenges/drag-and-drop-puzzle/index.html +++ b/docs/javascript/src/challenges/drag-and-drop-puzzle/index.html @@ -1,9 +1,9 @@ - - - + + + diff --git a/docs/javascript/src/challenges/file-uploader/index.html b/docs/javascript/src/challenges/file-uploader/index.html index de6c3400e..735d8ebc3 100644 --- a/docs/javascript/src/challenges/file-uploader/index.html +++ b/docs/javascript/src/challenges/file-uploader/index.html @@ -6,9 +6,9 @@ href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css" /> - - - + + + diff --git a/docs/javascript/src/challenges/finance-tracker/index.html b/docs/javascript/src/challenges/finance-tracker/index.html index 175fabf02..811121e2e 100644 --- a/docs/javascript/src/challenges/finance-tracker/index.html +++ b/docs/javascript/src/challenges/finance-tracker/index.html @@ -1,9 +1,9 @@ - - - + + + diff --git a/docs/javascript/src/challenges/fitness-tracker/index.html b/docs/javascript/src/challenges/fitness-tracker/index.html index 061a11492..1167b8eb0 100644 --- a/docs/javascript/src/challenges/fitness-tracker/index.html +++ b/docs/javascript/src/challenges/fitness-tracker/index.html @@ -1,9 +1,9 @@ - - - + + + diff --git a/docs/javascript/src/challenges/gradient-generator/index.html b/docs/javascript/src/challenges/gradient-generator/index.html index 150caf125..29074ade5 100644 --- a/docs/javascript/src/challenges/gradient-generator/index.html +++ b/docs/javascript/src/challenges/gradient-generator/index.html @@ -5,9 +5,9 @@ - - - + + + diff --git a/docs/javascript/src/challenges/guess-the-number/index.html b/docs/javascript/src/challenges/guess-the-number/index.html index 13afc7613..100d50eb3 100644 --- a/docs/javascript/src/challenges/guess-the-number/index.html +++ b/docs/javascript/src/challenges/guess-the-number/index.html @@ -1,9 +1,9 @@ - - - + + + diff --git a/docs/javascript/src/challenges/hangman-game/index.html b/docs/javascript/src/challenges/hangman-game/index.html index e02113477..c601f6477 100644 --- a/docs/javascript/src/challenges/hangman-game/index.html +++ b/docs/javascript/src/challenges/hangman-game/index.html @@ -4,9 +4,9 @@ Hangman Game - - - + + + diff --git a/docs/javascript/src/challenges/infinite-scroll/index.html b/docs/javascript/src/challenges/infinite-scroll/index.html index be03cd959..db00088a3 100644 --- a/docs/javascript/src/challenges/infinite-scroll/index.html +++ b/docs/javascript/src/challenges/infinite-scroll/index.html @@ -3,9 +3,9 @@ - - - + + + diff --git a/docs/javascript/src/challenges/json-creator/index.html b/docs/javascript/src/challenges/json-creator/index.html index 7e9d28a77..fb156dd6f 100644 --- a/docs/javascript/src/challenges/json-creator/index.html +++ b/docs/javascript/src/challenges/json-creator/index.html @@ -5,9 +5,9 @@ - - - + + + diff --git a/docs/javascript/src/challenges/lift-simulation/index.html b/docs/javascript/src/challenges/lift-simulation/index.html index 543519830..8f3153525 100644 --- a/docs/javascript/src/challenges/lift-simulation/index.html +++ b/docs/javascript/src/challenges/lift-simulation/index.html @@ -5,9 +5,9 @@ Lift Simulation - - - + + + diff --git a/docs/javascript/src/challenges/light-dark-mode/index.html b/docs/javascript/src/challenges/light-dark-mode/index.html index da8bfc4dd..834b46797 100644 --- a/docs/javascript/src/challenges/light-dark-mode/index.html +++ b/docs/javascript/src/challenges/light-dark-mode/index.html @@ -5,9 +5,9 @@ - - - + + + diff --git a/docs/javascript/src/challenges/match-pair/index.html b/docs/javascript/src/challenges/match-pair/index.html index 88aa79e11..bbccb1d54 100644 --- a/docs/javascript/src/challenges/match-pair/index.html +++ b/docs/javascript/src/challenges/match-pair/index.html @@ -5,9 +5,9 @@ - - - + + + diff --git a/docs/javascript/src/challenges/meme-generator/index.html b/docs/javascript/src/challenges/meme-generator/index.html index 8eaeb0ff0..0762d3348 100644 --- a/docs/javascript/src/challenges/meme-generator/index.html +++ b/docs/javascript/src/challenges/meme-generator/index.html @@ -1,9 +1,9 @@ - - - + + + diff --git a/docs/javascript/src/challenges/movie-info/index.html b/docs/javascript/src/challenges/movie-info/index.html index eab3bfef0..c1168e82e 100644 --- a/docs/javascript/src/challenges/movie-info/index.html +++ b/docs/javascript/src/challenges/movie-info/index.html @@ -1,9 +1,9 @@ - - - + + + diff --git a/docs/javascript/src/challenges/multi-typing/index.html b/docs/javascript/src/challenges/multi-typing/index.html index 96ac9087f..e7cde1a53 100644 --- a/docs/javascript/src/challenges/multi-typing/index.html +++ b/docs/javascript/src/challenges/multi-typing/index.html @@ -6,9 +6,9 @@ Typing Text Animation - - - + + + diff --git a/docs/javascript/src/challenges/music-kit/index.html b/docs/javascript/src/challenges/music-kit/index.html index 9b660e189..6e79dfb44 100644 --- a/docs/javascript/src/challenges/music-kit/index.html +++ b/docs/javascript/src/challenges/music-kit/index.html @@ -1,9 +1,9 @@ - - - + + + diff --git a/docs/javascript/src/challenges/navigation-bar/index.html b/docs/javascript/src/challenges/navigation-bar/index.html index 72e70d73b..560543592 100644 --- a/docs/javascript/src/challenges/navigation-bar/index.html +++ b/docs/javascript/src/challenges/navigation-bar/index.html @@ -11,9 +11,9 @@ /> - - - + + + diff --git a/docs/javascript/src/challenges/otp-input/index.html b/docs/javascript/src/challenges/otp-input/index.html index 840169035..d0958cf19 100644 --- a/docs/javascript/src/challenges/otp-input/index.html +++ b/docs/javascript/src/challenges/otp-input/index.html @@ -5,9 +5,9 @@ - - - + + + diff --git a/docs/javascript/src/challenges/paginator/index.html b/docs/javascript/src/challenges/paginator/index.html index 09904d829..caaffd38c 100644 --- a/docs/javascript/src/challenges/paginator/index.html +++ b/docs/javascript/src/challenges/paginator/index.html @@ -5,9 +5,9 @@ - - - + + + diff --git a/docs/javascript/src/challenges/password-generator/index.html b/docs/javascript/src/challenges/password-generator/index.html index b63e22a2e..515f83613 100644 --- a/docs/javascript/src/challenges/password-generator/index.html +++ b/docs/javascript/src/challenges/password-generator/index.html @@ -6,9 +6,9 @@ password-generator - - - + + + diff --git a/docs/javascript/src/challenges/password-strength/index.html b/docs/javascript/src/challenges/password-strength/index.html index 31a351188..a18ebccda 100644 --- a/docs/javascript/src/challenges/password-strength/index.html +++ b/docs/javascript/src/challenges/password-strength/index.html @@ -5,9 +5,9 @@ - - - + + + diff --git a/docs/javascript/src/challenges/pixel-art/index.html b/docs/javascript/src/challenges/pixel-art/index.html index 435c6c67b..c0255da0d 100644 --- a/docs/javascript/src/challenges/pixel-art/index.html +++ b/docs/javascript/src/challenges/pixel-art/index.html @@ -5,9 +5,9 @@ - - - + + + diff --git a/docs/javascript/src/challenges/progress-bar/index.html b/docs/javascript/src/challenges/progress-bar/index.html index 0927ac97c..7173516a5 100644 --- a/docs/javascript/src/challenges/progress-bar/index.html +++ b/docs/javascript/src/challenges/progress-bar/index.html @@ -5,9 +5,9 @@ - - - + + + diff --git a/docs/javascript/src/challenges/quiz-app-with-timer/index.html b/docs/javascript/src/challenges/quiz-app-with-timer/index.html index 067c2b3d9..bd5a45758 100644 --- a/docs/javascript/src/challenges/quiz-app-with-timer/index.html +++ b/docs/javascript/src/challenges/quiz-app-with-timer/index.html @@ -1,9 +1,9 @@ - - - + + + diff --git a/docs/javascript/src/challenges/quiz-app/index.html b/docs/javascript/src/challenges/quiz-app/index.html index c618ffc86..04ce57943 100644 --- a/docs/javascript/src/challenges/quiz-app/index.html +++ b/docs/javascript/src/challenges/quiz-app/index.html @@ -8,9 +8,9 @@ quiz's time - - - + + + diff --git a/docs/javascript/src/challenges/rock-paper-scissor/index.html b/docs/javascript/src/challenges/rock-paper-scissor/index.html index 0b5bf2a94..5022a0d00 100644 --- a/docs/javascript/src/challenges/rock-paper-scissor/index.html +++ b/docs/javascript/src/challenges/rock-paper-scissor/index.html @@ -1,9 +1,9 @@ - - - + + + diff --git a/docs/javascript/src/challenges/roll-dice/index.html b/docs/javascript/src/challenges/roll-dice/index.html index 741c8fc94..922c89209 100644 --- a/docs/javascript/src/challenges/roll-dice/index.html +++ b/docs/javascript/src/challenges/roll-dice/index.html @@ -5,9 +5,9 @@ Roll dice - - - + + + diff --git a/docs/javascript/src/challenges/simon-game/index.html b/docs/javascript/src/challenges/simon-game/index.html index 90b29258f..eba15fe51 100644 --- a/docs/javascript/src/challenges/simon-game/index.html +++ b/docs/javascript/src/challenges/simon-game/index.html @@ -1,9 +1,9 @@ - - - + + + diff --git a/docs/javascript/src/challenges/skeleton-loader/index.html b/docs/javascript/src/challenges/skeleton-loader/index.html index 91b1fa11f..a28f69137 100644 --- a/docs/javascript/src/challenges/skeleton-loader/index.html +++ b/docs/javascript/src/challenges/skeleton-loader/index.html @@ -2,8 +2,8 @@ - - + + diff --git a/docs/javascript/src/challenges/snake-game/index.html b/docs/javascript/src/challenges/snake-game/index.html index bf3680b9c..5ec0dc6e4 100644 --- a/docs/javascript/src/challenges/snake-game/index.html +++ b/docs/javascript/src/challenges/snake-game/index.html @@ -4,9 +4,9 @@ snake game-js - - - + + + diff --git a/docs/javascript/src/challenges/sorting-visualizer/index.html b/docs/javascript/src/challenges/sorting-visualizer/index.html index f09d6f804..c59037d0c 100644 --- a/docs/javascript/src/challenges/sorting-visualizer/index.html +++ b/docs/javascript/src/challenges/sorting-visualizer/index.html @@ -1,9 +1,9 @@ - - - + + + diff --git a/docs/javascript/src/challenges/spinning-loader/index.html b/docs/javascript/src/challenges/spinning-loader/index.html index 428f8fd48..07690a40f 100644 --- a/docs/javascript/src/challenges/spinning-loader/index.html +++ b/docs/javascript/src/challenges/spinning-loader/index.html @@ -2,8 +2,8 @@ Spinning Loader - - + + diff --git a/docs/javascript/src/challenges/star-rating-display/index.html b/docs/javascript/src/challenges/star-rating-display/index.html index e756bd8b7..eeef9649f 100644 --- a/docs/javascript/src/challenges/star-rating-display/index.html +++ b/docs/javascript/src/challenges/star-rating-display/index.html @@ -5,9 +5,9 @@ - - - + + + diff --git a/docs/javascript/src/challenges/star-rating/index.html b/docs/javascript/src/challenges/star-rating/index.html index 771dfa88d..fce6438b1 100644 --- a/docs/javascript/src/challenges/star-rating/index.html +++ b/docs/javascript/src/challenges/star-rating/index.html @@ -5,9 +5,9 @@ - - - + + + diff --git a/docs/javascript/src/challenges/string-transformers/index.html b/docs/javascript/src/challenges/string-transformers/index.html index 129eb0ef5..6fa38785e 100644 --- a/docs/javascript/src/challenges/string-transformers/index.html +++ b/docs/javascript/src/challenges/string-transformers/index.html @@ -1,9 +1,9 @@ - - - + + + diff --git a/docs/javascript/src/challenges/telephone-formatter/index.html b/docs/javascript/src/challenges/telephone-formatter/index.html index 13b14f7f3..3804c0d55 100644 --- a/docs/javascript/src/challenges/telephone-formatter/index.html +++ b/docs/javascript/src/challenges/telephone-formatter/index.html @@ -1,9 +1,9 @@ - - - + + + diff --git a/docs/javascript/src/challenges/tic-tac-toe/index.html b/docs/javascript/src/challenges/tic-tac-toe/index.html index f66679ef8..4122c3716 100644 --- a/docs/javascript/src/challenges/tic-tac-toe/index.html +++ b/docs/javascript/src/challenges/tic-tac-toe/index.html @@ -5,9 +5,9 @@ - - - + + + diff --git a/docs/javascript/src/challenges/toast-popup/index.html b/docs/javascript/src/challenges/toast-popup/index.html index 47935fb45..fd071b211 100644 --- a/docs/javascript/src/challenges/toast-popup/index.html +++ b/docs/javascript/src/challenges/toast-popup/index.html @@ -5,9 +5,9 @@ - - - + + + diff --git a/docs/javascript/src/challenges/todo-list/index.html b/docs/javascript/src/challenges/todo-list/index.html index eeec9a302..5370984a1 100644 --- a/docs/javascript/src/challenges/todo-list/index.html +++ b/docs/javascript/src/challenges/todo-list/index.html @@ -5,9 +5,9 @@ - - - + + + diff --git a/docs/javascript/src/challenges/transfer-list/index.html b/docs/javascript/src/challenges/transfer-list/index.html index 14c23880c..d31dc4dd3 100644 --- a/docs/javascript/src/challenges/transfer-list/index.html +++ b/docs/javascript/src/challenges/transfer-list/index.html @@ -5,9 +5,9 @@ - - - + + + diff --git a/docs/javascript/src/challenges/type-ahead-online/index.html b/docs/javascript/src/challenges/type-ahead-online/index.html index 7cdbb45de..519780b4a 100644 --- a/docs/javascript/src/challenges/type-ahead-online/index.html +++ b/docs/javascript/src/challenges/type-ahead-online/index.html @@ -5,9 +5,9 @@ - - - + + + diff --git a/docs/javascript/src/challenges/type-ahead/index.html b/docs/javascript/src/challenges/type-ahead/index.html index 12a61a423..2d1aae965 100644 --- a/docs/javascript/src/challenges/type-ahead/index.html +++ b/docs/javascript/src/challenges/type-ahead/index.html @@ -5,9 +5,9 @@ - - - + + + diff --git a/docs/javascript/src/challenges/typing-speed-test/index.html b/docs/javascript/src/challenges/typing-speed-test/index.html index a77fbd0ab..4b891d320 100644 --- a/docs/javascript/src/challenges/typing-speed-test/index.html +++ b/docs/javascript/src/challenges/typing-speed-test/index.html @@ -5,9 +5,9 @@ - - - + + + diff --git a/docs/javascript/src/challenges/weather-app/index.html b/docs/javascript/src/challenges/weather-app/index.html index 339a48b2f..8e91bb1a3 100644 --- a/docs/javascript/src/challenges/weather-app/index.html +++ b/docs/javascript/src/challenges/weather-app/index.html @@ -1,9 +1,9 @@ - - - + + + diff --git a/docs/javascript/src/challenges/word-counter/index.html b/docs/javascript/src/challenges/word-counter/index.html index 297436edd..78ac2ce4c 100644 --- a/docs/javascript/src/challenges/word-counter/index.html +++ b/docs/javascript/src/challenges/word-counter/index.html @@ -1,9 +1,9 @@ - - - + + + diff --git a/docs/react/assets/css-058Idfnd.png b/docs/react/assets/css-058Idfnd.png new file mode 100644 index 0000000000000000000000000000000000000000..d4a1f89eb264133113730e203c79e0ed414d495a GIT binary patch literal 32176 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 literal 0 HcmV?d00001 diff --git a/docs/react/assets/index-CE_3K71I.js b/docs/react/assets/index-CtqPmT0s.js similarity index 71% rename from docs/react/assets/index-CE_3K71I.js rename to docs/react/assets/index-CtqPmT0s.js index 4baefa5e2..064665131 100644 --- a/docs/react/assets/index-CE_3K71I.js +++ b/docs/react/assets/index-CtqPmT0s.js @@ -1,4 +1,4 @@ -var d_=Object.defineProperty;var f_=(e,t,n)=>t in e?d_(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var ph=(e,t,n)=>(f_(e,typeof t!="symbol"?t+"":t,n),n);function Uv(e,t){for(var n=0;nr[o]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const i of o)if(i.type==="childList")for(const s of i.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&r(s)}).observe(document,{childList:!0,subtree:!0});function n(o){const i={};return o.integrity&&(i.integrity=o.integrity),o.referrerPolicy&&(i.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?i.credentials="include":o.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(o){if(o.ep)return;o.ep=!0;const i=n(o);fetch(o.href,i)}})();function jc(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Hv={exports:{}},$c={},Wv={exports:{}},ae={};/** +var d_=Object.defineProperty;var f_=(e,t,n)=>t in e?d_(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var ph=(e,t,n)=>(f_(e,typeof t!="symbol"?t+"":t,n),n);function Uv(e,t){for(var n=0;nr[o]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const i of o)if(i.type==="childList")for(const s of i.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&r(s)}).observe(document,{childList:!0,subtree:!0});function n(o){const i={};return o.integrity&&(i.integrity=o.integrity),o.referrerPolicy&&(i.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?i.credentials="include":o.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(o){if(o.ep)return;o.ep=!0;const i=n(o);fetch(o.href,i)}})();function $c(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Hv={exports:{}},Rc={},Wv={exports:{}},ae={};/** * @license React * react.production.min.js * @@ -6,7 +6,7 @@ var d_=Object.defineProperty;var f_=(e,t,n)=>t in e?d_(e,t,{enumerable:!0,config * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var da=Symbol.for("react.element"),p_=Symbol.for("react.portal"),h_=Symbol.for("react.fragment"),m_=Symbol.for("react.strict_mode"),g_=Symbol.for("react.profiler"),v_=Symbol.for("react.provider"),y_=Symbol.for("react.context"),x_=Symbol.for("react.forward_ref"),w_=Symbol.for("react.suspense"),__=Symbol.for("react.memo"),b_=Symbol.for("react.lazy"),hh=Symbol.iterator;function S_(e){return e===null||typeof e!="object"?null:(e=hh&&e[hh]||e["@@iterator"],typeof e=="function"?e:null)}var Vv={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Gv=Object.assign,Kv={};function Oi(e,t,n){this.props=e,this.context=t,this.refs=Kv,this.updater=n||Vv}Oi.prototype.isReactComponent={};Oi.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")};Oi.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function qv(){}qv.prototype=Oi.prototype;function Mf(e,t,n){this.props=e,this.context=t,this.refs=Kv,this.updater=n||Vv}var Df=Mf.prototype=new qv;Df.constructor=Mf;Gv(Df,Oi.prototype);Df.isPureReactComponent=!0;var mh=Array.isArray,Yv=Object.prototype.hasOwnProperty,If={current:null},Qv={key:!0,ref:!0,__self:!0,__source:!0};function Xv(e,t,n){var r,o={},i=null,s=null;if(t!=null)for(r in t.ref!==void 0&&(s=t.ref),t.key!==void 0&&(i=""+t.key),t)Yv.call(t,r)&&!Qv.hasOwnProperty(r)&&(o[r]=t[r]);var l=arguments.length-2;if(l===1)o.children=n;else if(1t in e?d_(e,t,{enumerable:!0,config * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var $_=h,R_=Symbol.for("react.element"),T_=Symbol.for("react.fragment"),N_=Object.prototype.hasOwnProperty,P_=$_.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,O_={key:!0,ref:!0,__self:!0,__source:!0};function Zv(e,t,n){var r,o={},i=null,s=null;n!==void 0&&(i=""+n),t.key!==void 0&&(i=""+t.key),t.ref!==void 0&&(s=t.ref);for(r in t)N_.call(t,r)&&!O_.hasOwnProperty(r)&&(o[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)o[r]===void 0&&(o[r]=t[r]);return{$$typeof:R_,type:e,key:i,ref:s,props:o,_owner:P_.current}}$c.Fragment=T_;$c.jsx=Zv;$c.jsxs=Zv;Hv.exports=$c;var c=Hv.exports,sd={},e0={exports:{}},Ft={},t0={exports:{}},n0={};/** + */var $_=h,R_=Symbol.for("react.element"),T_=Symbol.for("react.fragment"),N_=Object.prototype.hasOwnProperty,P_=$_.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,O_={key:!0,ref:!0,__self:!0,__source:!0};function Zv(e,t,n){var r,o={},i=null,s=null;n!==void 0&&(i=""+n),t.key!==void 0&&(i=""+t.key),t.ref!==void 0&&(s=t.ref);for(r in t)N_.call(t,r)&&!O_.hasOwnProperty(r)&&(o[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)o[r]===void 0&&(o[r]=t[r]);return{$$typeof:R_,type:e,key:i,ref:s,props:o,_owner:P_.current}}Rc.Fragment=T_;Rc.jsx=Zv;Rc.jsxs=Zv;Hv.exports=Rc;var c=Hv.exports,sd={},e0={exports:{}},Ft={},t0={exports:{}},n0={};/** * @license React * scheduler.production.min.js * @@ -30,14 +30,14 @@ var d_=Object.defineProperty;var f_=(e,t,n)=>t in e?d_(e,t,{enumerable:!0,config * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var r0=h,Lt=A_;function F(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"),ad=Object.prototype.hasOwnProperty,M_=/^[: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]*$/,vh={},yh={};function D_(e){return ad.call(yh,e)?!0:ad.call(vh,e)?!1:M_.test(e)?yh[e]=!0:(vh[e]=!0,!1)}function I_(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 L_(e,t,n,r){if(t===null||typeof t>"u"||I_(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 St(e,t,n,r,o,i,s){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=s}var rt={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){rt[e]=new St(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];rt[t]=new St(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){rt[e]=new St(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){rt[e]=new St(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){rt[e]=new St(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){rt[e]=new St(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){rt[e]=new St(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){rt[e]=new St(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){rt[e]=new St(e,5,!1,e.toLowerCase(),null,!1,!1)});var Ff=/[\-:]([a-z])/g;function zf(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(Ff,zf);rt[t]=new St(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(Ff,zf);rt[t]=new St(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(Ff,zf);rt[t]=new St(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){rt[e]=new St(e,1,!1,e.toLowerCase(),null,!1,!1)});rt.xlinkHref=new St("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){rt[e]=new St(e,1,!1,e.toLowerCase(),null,!0,!0)});function Bf(e,t,n,r){var o=rt.hasOwnProperty(t)?rt[t]:null;(o!==null?o.type!==0:r||!(2"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),ad=Object.prototype.hasOwnProperty,M_=/^[: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]*$/,vh={},yh={};function D_(e){return ad.call(yh,e)?!0:ad.call(vh,e)?!1:M_.test(e)?yh[e]=!0:(vh[e]=!0,!1)}function I_(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 L_(e,t,n,r){if(t===null||typeof t>"u"||I_(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 St(e,t,n,r,o,i,s){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=s}var rt={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){rt[e]=new St(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];rt[t]=new St(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){rt[e]=new St(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){rt[e]=new St(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){rt[e]=new St(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){rt[e]=new St(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){rt[e]=new St(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){rt[e]=new St(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){rt[e]=new St(e,5,!1,e.toLowerCase(),null,!1,!1)});var Ff=/[\-:]([a-z])/g;function zf(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(Ff,zf);rt[t]=new St(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(Ff,zf);rt[t]=new St(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(Ff,zf);rt[t]=new St(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){rt[e]=new St(e,1,!1,e.toLowerCase(),null,!1,!1)});rt.xlinkHref=new St("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){rt[e]=new St(e,1,!1,e.toLowerCase(),null,!0,!0)});function Bf(e,t,n,r){var o=rt.hasOwnProperty(t)?rt[t]:null;(o!==null?o.type!==0:r||!(2l||o[s]!==i[l]){var a=` -`+o[s].replace(" at new "," at ");return e.displayName&&a.includes("")&&(a=a.replace("",e.displayName)),a}while(1<=s&&0<=l);break}}}finally{du=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?vs(e):""}function F_(e){switch(e.tag){case 5:return vs(e.type);case 16:return vs("Lazy");case 13:return vs("Suspense");case 19:return vs("SuspenseList");case 0:case 2:case 15:return e=fu(e.type,!1),e;case 11:return e=fu(e.type.render,!1),e;case 1:return e=fu(e.type,!0),e;default:return""}}function dd(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 qo:return"Fragment";case Ko:return"Portal";case ld:return"Profiler";case Uf:return"StrictMode";case cd:return"Suspense";case ud:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case s0:return(e.displayName||"Context")+".Consumer";case i0:return(e._context.displayName||"Context")+".Provider";case Hf:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Wf:return t=e.displayName||null,t!==null?t:dd(e.type)||"Memo";case vr:t=e._payload,e=e._init;try{return dd(e(t))}catch{}}return null}function z_(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 dd(t);case 8:return t===Uf?"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 Mr(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function l0(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function B_(e){var t=l0(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 o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(s){r=""+s,i.call(this,s)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(s){r=""+s},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Ma(e){e._valueTracker||(e._valueTracker=B_(e))}function c0(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=l0(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Al(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 fd(e,t){var n=t.checked;return Oe({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function wh(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Mr(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 u0(e,t){t=t.checked,t!=null&&Bf(e,"checked",t,!1)}function pd(e,t){u0(e,t);var n=Mr(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")?hd(e,t.type,n):t.hasOwnProperty("defaultValue")&&hd(e,t.type,Mr(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function _h(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 hd(e,t,n){(t!=="number"||Al(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var ys=Array.isArray;function ui(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o"+t.valueOf().toString()+"",t=Da.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Fs(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var bs={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},U_=["Webkit","ms","Moz","O"];Object.keys(bs).forEach(function(e){U_.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),bs[t]=bs[e]})});function h0(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||bs.hasOwnProperty(e)&&bs[e]?(""+t).trim():t+"px"}function m0(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,o=h0(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}var H_=Oe({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 vd(e,t){if(t){if(H_[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(F(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(F(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(F(61))}if(t.style!=null&&typeof t.style!="object")throw Error(F(62))}}function yd(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 xd=null;function Vf(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var wd=null,di=null,fi=null;function Eh(e){if(e=ha(e)){if(typeof wd!="function")throw Error(F(280));var t=e.stateNode;t&&(t=Oc(t),wd(e.stateNode,e.type,t))}}function g0(e){di?fi?fi.push(e):fi=[e]:di=e}function v0(){if(di){var e=di,t=fi;if(fi=di=null,Eh(e),t)for(e=0;e>>=0,e===0?32:31-(eb(e)/tb|0)|0}var Ia=64,La=4194304;function xs(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 Ll(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,o=e.suspendedLanes,i=e.pingedLanes,s=n&268435455;if(s!==0){var l=s&~o;l!==0?r=xs(l):(i&=s,i!==0&&(r=xs(i)))}else s=n&~o,s!==0?r=xs(s):i!==0&&(r=xs(i));if(r===0)return 0;if(t!==0&&t!==r&&!(t&o)&&(o=r&-r,i=t&-t,o>=i||o===16&&(i&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function fa(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-un(t),e[t]=n}function ib(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=Es),Oh=String.fromCharCode(32),Ah=!1;function I0(e,t){switch(e){case"keyup":return Ob.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function L0(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Yo=!1;function Mb(e,t){switch(e){case"compositionend":return L0(t);case"keypress":return t.which!==32?null:(Ah=!0,Oh);case"textInput":return e=t.data,e===Oh&&Ah?null:e;default:return null}}function Db(e,t){if(Yo)return e==="compositionend"||!Zf&&I0(e,t)?(e=M0(),ml=Qf=Sr=null,Yo=!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=Lh(n)}}function U0(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?U0(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function H0(){for(var e=window,t=Al();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Al(e.document)}return t}function ep(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 Vb(e){var t=H0(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&U0(n.ownerDocument.documentElement,n)){if(r!==null&&ep(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 o=n.textContent.length,i=Math.min(r.start,o);r=r.end===void 0?i:Math.min(r.end,o),!e.extend&&i>r&&(o=r,r=i,i=o),o=Fh(n,i);var s=Fh(n,r);o&&s&&(e.rangeCount!==1||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==s.node||e.focusOffset!==s.offset)&&(t=t.createRange(),t.setStart(o.node,o.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(s.node,s.offset)):(t.setEnd(s.node,s.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,Qo=null,kd=null,ks=null,jd=!1;function zh(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;jd||Qo==null||Qo!==Al(r)||(r=Qo,"selectionStart"in r&&ep(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}),ks&&Vs(ks,r)||(ks=r,r=Bl(kd,"onSelect"),0Zo||(e.current=Od[Zo],Od[Zo]=null,Zo--)}function _e(e,t){Zo++,Od[Zo]=e.current,e.current=t}var Dr={},pt=Hr(Dr),$t=Hr(!1),co=Dr;function Si(e,t){var n=e.type.contextTypes;if(!n)return Dr;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o={},i;for(i in n)o[i]=t[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function Rt(e){return e=e.childContextTypes,e!=null}function Hl(){Ee($t),Ee(pt)}function Kh(e,t,n){if(pt.current!==Dr)throw Error(F(168));_e(pt,t),_e($t,n)}function J0(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var o in r)if(!(o in t))throw Error(F(108,z_(e)||"Unknown",o));return Oe({},n,r)}function Wl(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Dr,co=pt.current,_e(pt,e),_e($t,$t.current),!0}function qh(e,t,n){var r=e.stateNode;if(!r)throw Error(F(169));n?(e=J0(e,t,co),r.__reactInternalMemoizedMergedChildContext=e,Ee($t),Ee(pt),_e(pt,e)):Ee($t),_e($t,n)}var Bn=null,Ac=!1,ku=!1;function Z0(e){Bn===null?Bn=[e]:Bn.push(e)}function rS(e){Ac=!0,Z0(e)}function Wr(){if(!ku&&Bn!==null){ku=!0;var e=0,t=pe;try{var n=Bn;for(pe=1;e>=s,o-=s,Wn=1<<32-un(t)+o|n<j?(P=k,k=null):P=k.sibling;var N=p(v,k,_[j],C);if(N===null){k===null&&(k=P);break}e&&k&&N.alternate===null&&t(v,k),y=i(N,y,j),b===null?E=N:b.sibling=N,b=N,k=P}if(j===_.length)return n(v,k),ke&&Yr(v,j),E;if(k===null){for(;j<_.length;j++)k=f(v,_[j],C),k!==null&&(y=i(k,y,j),b===null?E=k:b.sibling=k,b=k);return ke&&Yr(v,j),E}for(k=r(v,k);j<_.length;j++)P=g(k,v,j,_[j],C),P!==null&&(e&&P.alternate!==null&&k.delete(P.key===null?j:P.key),y=i(P,y,j),b===null?E=P:b.sibling=P,b=P);return e&&k.forEach(function(M){return t(v,M)}),ke&&Yr(v,j),E}function x(v,y,_,C){var E=Yi(_);if(typeof E!="function")throw Error(F(150));if(_=E.call(_),_==null)throw Error(F(151));for(var b=E=null,k=y,j=y=0,P=null,N=_.next();k!==null&&!N.done;j++,N=_.next()){k.index>j?(P=k,k=null):P=k.sibling;var M=p(v,k,N.value,C);if(M===null){k===null&&(k=P);break}e&&k&&M.alternate===null&&t(v,k),y=i(M,y,j),b===null?E=M:b.sibling=M,b=M,k=P}if(N.done)return n(v,k),ke&&Yr(v,j),E;if(k===null){for(;!N.done;j++,N=_.next())N=f(v,N.value,C),N!==null&&(y=i(N,y,j),b===null?E=N:b.sibling=N,b=N);return ke&&Yr(v,j),E}for(k=r(v,k);!N.done;j++,N=_.next())N=g(k,v,j,N.value,C),N!==null&&(e&&N.alternate!==null&&k.delete(N.key===null?j:N.key),y=i(N,y,j),b===null?E=N:b.sibling=N,b=N);return e&&k.forEach(function(I){return t(v,I)}),ke&&Yr(v,j),E}function w(v,y,_,C){if(typeof _=="object"&&_!==null&&_.type===qo&&_.key===null&&(_=_.props.children),typeof _=="object"&&_!==null){switch(_.$$typeof){case Aa:e:{for(var E=_.key,b=y;b!==null;){if(b.key===E){if(E=_.type,E===qo){if(b.tag===7){n(v,b.sibling),y=o(b,_.props.children),y.return=v,v=y;break e}}else if(b.elementType===E||typeof E=="object"&&E!==null&&E.$$typeof===vr&&tm(E)===b.type){n(v,b.sibling),y=o(b,_.props),y.ref=es(v,b,_),y.return=v,v=y;break e}n(v,b);break}else t(v,b);b=b.sibling}_.type===qo?(y=io(_.props.children,v.mode,C,_.key),y.return=v,v=y):(C=Sl(_.type,_.key,_.props,null,v.mode,C),C.ref=es(v,y,_),C.return=v,v=C)}return s(v);case Ko:e:{for(b=_.key;y!==null;){if(y.key===b)if(y.tag===4&&y.stateNode.containerInfo===_.containerInfo&&y.stateNode.implementation===_.implementation){n(v,y.sibling),y=o(y,_.children||[]),y.return=v,v=y;break e}else{n(v,y);break}else t(v,y);y=y.sibling}y=Au(_,v.mode,C),y.return=v,v=y}return s(v);case vr:return b=_._init,w(v,y,b(_._payload),C)}if(ys(_))return m(v,y,_,C);if(Yi(_))return x(v,y,_,C);Va(v,_)}return typeof _=="string"&&_!==""||typeof _=="number"?(_=""+_,y!==null&&y.tag===6?(n(v,y.sibling),y=o(y,_),y.return=v,v=y):(n(v,y),y=Ou(_,v.mode,C),y.return=v,v=y),s(v)):n(v,y)}return w}var Ci=ay(!0),ly=ay(!1),ma={},Rn=Hr(ma),Ys=Hr(ma),Qs=Hr(ma);function to(e){if(e===ma)throw Error(F(174));return e}function cp(e,t){switch(_e(Qs,t),_e(Ys,e),_e(Rn,ma),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:gd(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=gd(t,e)}Ee(Rn),_e(Rn,t)}function ki(){Ee(Rn),Ee(Ys),Ee(Qs)}function cy(e){to(Qs.current);var t=to(Rn.current),n=gd(t,e.type);t!==n&&(_e(Ys,e),_e(Rn,n))}function up(e){Ys.current===e&&(Ee(Rn),Ee(Ys))}var Te=Hr(0);function Ql(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var ju=[];function dp(){for(var e=0;en?n:4,e(!0);var r=$u.transition;$u.transition={};try{e(!1),t()}finally{pe=n,$u.transition=r}}function Cy(){return Zt().memoizedState}function aS(e,t,n){var r=Nr(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},ky(e))jy(t,n);else if(n=ry(e,t,n,r),n!==null){var o=_t();dn(n,e,r,o),$y(n,t,r)}}function lS(e,t,n){var r=Nr(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(ky(e))jy(t,o);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var s=t.lastRenderedState,l=i(s,n);if(o.hasEagerState=!0,o.eagerState=l,pn(l,s)){var a=t.interleaved;a===null?(o.next=o,ap(t)):(o.next=a.next,a.next=o),t.interleaved=o;return}}catch{}finally{}n=ry(e,t,o,r),n!==null&&(o=_t(),dn(n,e,r,o),$y(n,t,r))}}function ky(e){var t=e.alternate;return e===Pe||t!==null&&t===Pe}function jy(e,t){js=Xl=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function $y(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Kf(e,n)}}var Jl={readContext:Jt,useCallback:at,useContext:at,useEffect:at,useImperativeHandle:at,useInsertionEffect:at,useLayoutEffect:at,useMemo:at,useReducer:at,useRef:at,useState:at,useDebugValue:at,useDeferredValue:at,useTransition:at,useMutableSource:at,useSyncExternalStore:at,useId:at,unstable_isNewReconciler:!1},cS={readContext:Jt,useCallback:function(e,t){return Sn().memoizedState=[e,t===void 0?null:t],e},useContext:Jt,useEffect:rm,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,xl(4194308,4,wy.bind(null,t,e),n)},useLayoutEffect:function(e,t){return xl(4194308,4,e,t)},useInsertionEffect:function(e,t){return xl(4,2,e,t)},useMemo:function(e,t){var n=Sn();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Sn();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=aS.bind(null,Pe,e),[r.memoizedState,e]},useRef:function(e){var t=Sn();return e={current:e},t.memoizedState=e},useState:nm,useDebugValue:gp,useDeferredValue:function(e){return Sn().memoizedState=e},useTransition:function(){var e=nm(!1),t=e[0];return e=sS.bind(null,e[1]),Sn().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=Pe,o=Sn();if(ke){if(n===void 0)throw Error(F(407));n=n()}else{if(n=t(),Je===null)throw Error(F(349));fo&30||fy(r,t,n)}o.memoizedState=n;var i={value:n,getSnapshot:t};return o.queue=i,rm(hy.bind(null,r,i,e),[e]),r.flags|=2048,Zs(9,py.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=Sn(),t=Je.identifierPrefix;if(ke){var n=Vn,r=Wn;n=(r&~(1<<32-un(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Xs++,0")&&(a=a.replace("",e.displayName)),a}while(1<=s&&0<=l);break}}}finally{du=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?vs(e):""}function F_(e){switch(e.tag){case 5:return vs(e.type);case 16:return vs("Lazy");case 13:return vs("Suspense");case 19:return vs("SuspenseList");case 0:case 2:case 15:return e=fu(e.type,!1),e;case 11:return e=fu(e.type.render,!1),e;case 1:return e=fu(e.type,!0),e;default:return""}}function dd(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 qo:return"Fragment";case Ko:return"Portal";case ld:return"Profiler";case Uf:return"StrictMode";case cd:return"Suspense";case ud:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case s0:return(e.displayName||"Context")+".Consumer";case i0:return(e._context.displayName||"Context")+".Provider";case Hf:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Wf:return t=e.displayName||null,t!==null?t:dd(e.type)||"Memo";case vr:t=e._payload,e=e._init;try{return dd(e(t))}catch{}}return null}function z_(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 dd(t);case 8:return t===Uf?"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 Mr(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function l0(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function B_(e){var t=l0(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 o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(s){r=""+s,i.call(this,s)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(s){r=""+s},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Da(e){e._valueTracker||(e._valueTracker=B_(e))}function c0(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=l0(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Ml(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 fd(e,t){var n=t.checked;return Oe({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function wh(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Mr(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 u0(e,t){t=t.checked,t!=null&&Bf(e,"checked",t,!1)}function pd(e,t){u0(e,t);var n=Mr(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")?hd(e,t.type,n):t.hasOwnProperty("defaultValue")&&hd(e,t.type,Mr(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function _h(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 hd(e,t,n){(t!=="number"||Ml(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var ys=Array.isArray;function ui(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o"+t.valueOf().toString()+"",t=Ia.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Fs(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var bs={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},U_=["Webkit","ms","Moz","O"];Object.keys(bs).forEach(function(e){U_.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),bs[t]=bs[e]})});function h0(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||bs.hasOwnProperty(e)&&bs[e]?(""+t).trim():t+"px"}function m0(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,o=h0(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}var H_=Oe({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 vd(e,t){if(t){if(H_[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(F(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(F(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(F(61))}if(t.style!=null&&typeof t.style!="object")throw Error(F(62))}}function yd(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 xd=null;function Vf(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var wd=null,di=null,fi=null;function Eh(e){if(e=ha(e)){if(typeof wd!="function")throw Error(F(280));var t=e.stateNode;t&&(t=Ac(t),wd(e.stateNode,e.type,t))}}function g0(e){di?fi?fi.push(e):fi=[e]:di=e}function v0(){if(di){var e=di,t=fi;if(fi=di=null,Eh(e),t)for(e=0;e>>=0,e===0?32:31-(eb(e)/tb|0)|0}var La=64,Fa=4194304;function xs(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 Fl(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,o=e.suspendedLanes,i=e.pingedLanes,s=n&268435455;if(s!==0){var l=s&~o;l!==0?r=xs(l):(i&=s,i!==0&&(r=xs(i)))}else s=n&~o,s!==0?r=xs(s):i!==0&&(r=xs(i));if(r===0)return 0;if(t!==0&&t!==r&&!(t&o)&&(o=r&-r,i=t&-t,o>=i||o===16&&(i&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function fa(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-un(t),e[t]=n}function ib(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=Es),Oh=String.fromCharCode(32),Ah=!1;function I0(e,t){switch(e){case"keyup":return Ob.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function L0(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Yo=!1;function Mb(e,t){switch(e){case"compositionend":return L0(t);case"keypress":return t.which!==32?null:(Ah=!0,Oh);case"textInput":return e=t.data,e===Oh&&Ah?null:e;default:return null}}function Db(e,t){if(Yo)return e==="compositionend"||!Zf&&I0(e,t)?(e=M0(),gl=Qf=Sr=null,Yo=!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=Lh(n)}}function U0(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?U0(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function H0(){for(var e=window,t=Ml();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Ml(e.document)}return t}function ep(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 Vb(e){var t=H0(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&U0(n.ownerDocument.documentElement,n)){if(r!==null&&ep(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 o=n.textContent.length,i=Math.min(r.start,o);r=r.end===void 0?i:Math.min(r.end,o),!e.extend&&i>r&&(o=r,r=i,i=o),o=Fh(n,i);var s=Fh(n,r);o&&s&&(e.rangeCount!==1||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==s.node||e.focusOffset!==s.offset)&&(t=t.createRange(),t.setStart(o.node,o.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(s.node,s.offset)):(t.setEnd(s.node,s.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,Qo=null,kd=null,ks=null,jd=!1;function zh(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;jd||Qo==null||Qo!==Ml(r)||(r=Qo,"selectionStart"in r&&ep(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}),ks&&Vs(ks,r)||(ks=r,r=Ul(kd,"onSelect"),0Zo||(e.current=Od[Zo],Od[Zo]=null,Zo--)}function _e(e,t){Zo++,Od[Zo]=e.current,e.current=t}var Dr={},pt=Hr(Dr),$t=Hr(!1),co=Dr;function Si(e,t){var n=e.type.contextTypes;if(!n)return Dr;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o={},i;for(i in n)o[i]=t[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function Rt(e){return e=e.childContextTypes,e!=null}function Wl(){Ee($t),Ee(pt)}function Kh(e,t,n){if(pt.current!==Dr)throw Error(F(168));_e(pt,t),_e($t,n)}function J0(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var o in r)if(!(o in t))throw Error(F(108,z_(e)||"Unknown",o));return Oe({},n,r)}function Vl(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Dr,co=pt.current,_e(pt,e),_e($t,$t.current),!0}function qh(e,t,n){var r=e.stateNode;if(!r)throw Error(F(169));n?(e=J0(e,t,co),r.__reactInternalMemoizedMergedChildContext=e,Ee($t),Ee(pt),_e(pt,e)):Ee($t),_e($t,n)}var Bn=null,Mc=!1,ku=!1;function Z0(e){Bn===null?Bn=[e]:Bn.push(e)}function rS(e){Mc=!0,Z0(e)}function Wr(){if(!ku&&Bn!==null){ku=!0;var e=0,t=pe;try{var n=Bn;for(pe=1;e>=s,o-=s,Wn=1<<32-un(t)+o|n<j?(P=k,k=null):P=k.sibling;var N=p(v,k,_[j],C);if(N===null){k===null&&(k=P);break}e&&k&&N.alternate===null&&t(v,k),y=i(N,y,j),b===null?E=N:b.sibling=N,b=N,k=P}if(j===_.length)return n(v,k),ke&&Yr(v,j),E;if(k===null){for(;j<_.length;j++)k=f(v,_[j],C),k!==null&&(y=i(k,y,j),b===null?E=k:b.sibling=k,b=k);return ke&&Yr(v,j),E}for(k=r(v,k);j<_.length;j++)P=g(k,v,j,_[j],C),P!==null&&(e&&P.alternate!==null&&k.delete(P.key===null?j:P.key),y=i(P,y,j),b===null?E=P:b.sibling=P,b=P);return e&&k.forEach(function(M){return t(v,M)}),ke&&Yr(v,j),E}function x(v,y,_,C){var E=Yi(_);if(typeof E!="function")throw Error(F(150));if(_=E.call(_),_==null)throw Error(F(151));for(var b=E=null,k=y,j=y=0,P=null,N=_.next();k!==null&&!N.done;j++,N=_.next()){k.index>j?(P=k,k=null):P=k.sibling;var M=p(v,k,N.value,C);if(M===null){k===null&&(k=P);break}e&&k&&M.alternate===null&&t(v,k),y=i(M,y,j),b===null?E=M:b.sibling=M,b=M,k=P}if(N.done)return n(v,k),ke&&Yr(v,j),E;if(k===null){for(;!N.done;j++,N=_.next())N=f(v,N.value,C),N!==null&&(y=i(N,y,j),b===null?E=N:b.sibling=N,b=N);return ke&&Yr(v,j),E}for(k=r(v,k);!N.done;j++,N=_.next())N=g(k,v,j,N.value,C),N!==null&&(e&&N.alternate!==null&&k.delete(N.key===null?j:N.key),y=i(N,y,j),b===null?E=N:b.sibling=N,b=N);return e&&k.forEach(function(I){return t(v,I)}),ke&&Yr(v,j),E}function w(v,y,_,C){if(typeof _=="object"&&_!==null&&_.type===qo&&_.key===null&&(_=_.props.children),typeof _=="object"&&_!==null){switch(_.$$typeof){case Ma:e:{for(var E=_.key,b=y;b!==null;){if(b.key===E){if(E=_.type,E===qo){if(b.tag===7){n(v,b.sibling),y=o(b,_.props.children),y.return=v,v=y;break e}}else if(b.elementType===E||typeof E=="object"&&E!==null&&E.$$typeof===vr&&tm(E)===b.type){n(v,b.sibling),y=o(b,_.props),y.ref=es(v,b,_),y.return=v,v=y;break e}n(v,b);break}else t(v,b);b=b.sibling}_.type===qo?(y=io(_.props.children,v.mode,C,_.key),y.return=v,v=y):(C=El(_.type,_.key,_.props,null,v.mode,C),C.ref=es(v,y,_),C.return=v,v=C)}return s(v);case Ko:e:{for(b=_.key;y!==null;){if(y.key===b)if(y.tag===4&&y.stateNode.containerInfo===_.containerInfo&&y.stateNode.implementation===_.implementation){n(v,y.sibling),y=o(y,_.children||[]),y.return=v,v=y;break e}else{n(v,y);break}else t(v,y);y=y.sibling}y=Au(_,v.mode,C),y.return=v,v=y}return s(v);case vr:return b=_._init,w(v,y,b(_._payload),C)}if(ys(_))return m(v,y,_,C);if(Yi(_))return x(v,y,_,C);Ga(v,_)}return typeof _=="string"&&_!==""||typeof _=="number"?(_=""+_,y!==null&&y.tag===6?(n(v,y.sibling),y=o(y,_),y.return=v,v=y):(n(v,y),y=Ou(_,v.mode,C),y.return=v,v=y),s(v)):n(v,y)}return w}var Ci=ay(!0),ly=ay(!1),ma={},Rn=Hr(ma),Ys=Hr(ma),Qs=Hr(ma);function to(e){if(e===ma)throw Error(F(174));return e}function cp(e,t){switch(_e(Qs,t),_e(Ys,e),_e(Rn,ma),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:gd(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=gd(t,e)}Ee(Rn),_e(Rn,t)}function ki(){Ee(Rn),Ee(Ys),Ee(Qs)}function cy(e){to(Qs.current);var t=to(Rn.current),n=gd(t,e.type);t!==n&&(_e(Ys,e),_e(Rn,n))}function up(e){Ys.current===e&&(Ee(Rn),Ee(Ys))}var Te=Hr(0);function Xl(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var ju=[];function dp(){for(var e=0;en?n:4,e(!0);var r=$u.transition;$u.transition={};try{e(!1),t()}finally{pe=n,$u.transition=r}}function Cy(){return Zt().memoizedState}function aS(e,t,n){var r=Nr(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},ky(e))jy(t,n);else if(n=ry(e,t,n,r),n!==null){var o=_t();dn(n,e,r,o),$y(n,t,r)}}function lS(e,t,n){var r=Nr(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(ky(e))jy(t,o);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var s=t.lastRenderedState,l=i(s,n);if(o.hasEagerState=!0,o.eagerState=l,pn(l,s)){var a=t.interleaved;a===null?(o.next=o,ap(t)):(o.next=a.next,a.next=o),t.interleaved=o;return}}catch{}finally{}n=ry(e,t,o,r),n!==null&&(o=_t(),dn(n,e,r,o),$y(n,t,r))}}function ky(e){var t=e.alternate;return e===Pe||t!==null&&t===Pe}function jy(e,t){js=Jl=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function $y(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Kf(e,n)}}var Zl={readContext:Jt,useCallback:at,useContext:at,useEffect:at,useImperativeHandle:at,useInsertionEffect:at,useLayoutEffect:at,useMemo:at,useReducer:at,useRef:at,useState:at,useDebugValue:at,useDeferredValue:at,useTransition:at,useMutableSource:at,useSyncExternalStore:at,useId:at,unstable_isNewReconciler:!1},cS={readContext:Jt,useCallback:function(e,t){return Sn().memoizedState=[e,t===void 0?null:t],e},useContext:Jt,useEffect:rm,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,wl(4194308,4,wy.bind(null,t,e),n)},useLayoutEffect:function(e,t){return wl(4194308,4,e,t)},useInsertionEffect:function(e,t){return wl(4,2,e,t)},useMemo:function(e,t){var n=Sn();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Sn();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=aS.bind(null,Pe,e),[r.memoizedState,e]},useRef:function(e){var t=Sn();return e={current:e},t.memoizedState=e},useState:nm,useDebugValue:gp,useDeferredValue:function(e){return Sn().memoizedState=e},useTransition:function(){var e=nm(!1),t=e[0];return e=sS.bind(null,e[1]),Sn().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=Pe,o=Sn();if(ke){if(n===void 0)throw Error(F(407));n=n()}else{if(n=t(),Je===null)throw Error(F(349));fo&30||fy(r,t,n)}o.memoizedState=n;var i={value:n,getSnapshot:t};return o.queue=i,rm(hy.bind(null,r,i,e),[e]),r.flags|=2048,Zs(9,py.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=Sn(),t=Je.identifierPrefix;if(ke){var n=Vn,r=Wn;n=(r&~(1<<32-un(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Xs++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=s.createElement(n,{is:r.is}):(e=s.createElement(n),n==="select"&&(s=e,r.multiple?s.multiple=!0:r.size&&(s.size=r.size))):e=s.createElementNS(e,n),e[kn]=t,e[qs]=r,Iy(e,t,!1,!1),t.stateNode=e;e:{switch(s=yd(n,r),n){case"dialog":Se("cancel",e),Se("close",e),o=r;break;case"iframe":case"object":case"embed":Se("load",e),o=r;break;case"video":case"audio":for(o=0;o$i&&(t.flags|=128,r=!0,ts(i,!1),t.lanes=4194304)}else{if(!r)if(e=Ql(s),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),ts(i,!0),i.tail===null&&i.tailMode==="hidden"&&!s.alternate&&!ke)return lt(t),null}else 2*ze()-i.renderingStartTime>$i&&n!==1073741824&&(t.flags|=128,r=!0,ts(i,!1),t.lanes=4194304);i.isBackwards?(s.sibling=t.child,t.child=s):(n=i.last,n!==null?n.sibling=s:t.child=s,i.last=s)}return i.tail!==null?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=ze(),t.sibling=null,n=Te.current,_e(Te,r?n&1|2:n&1),t):(lt(t),null);case 22:case 23:return bp(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?Ot&1073741824&&(lt(t),t.subtreeFlags&6&&(t.flags|=8192)):lt(t),null;case 24:return null;case 25:return null}throw Error(F(156,t.tag))}function vS(e,t){switch(np(t),t.tag){case 1:return Rt(t.type)&&Hl(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return ki(),Ee($t),Ee(pt),dp(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return up(t),null;case 13:if(Ee(Te),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(F(340));Ei()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Ee(Te),null;case 4:return ki(),null;case 10:return sp(t.type._context),null;case 22:case 23:return bp(),null;case 24:return null;default:return null}}var Ka=!1,ct=!1,yS=typeof WeakSet=="function"?WeakSet:Set,V=null;function ri(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){De(e,t,r)}else n.current=null}function Vd(e,t,n){try{n()}catch(r){De(e,t,r)}}var fm=!1;function xS(e,t){if($d=Fl,e=H0(),ep(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 o=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch{n=null;break e}var s=0,l=-1,a=-1,u=0,d=0,f=e,p=null;t:for(;;){for(var g;f!==n||o!==0&&f.nodeType!==3||(l=s+o),f!==i||r!==0&&f.nodeType!==3||(a=s+r),f.nodeType===3&&(s+=f.nodeValue.length),(g=f.firstChild)!==null;)p=f,f=g;for(;;){if(f===e)break t;if(p===n&&++u===o&&(l=s),p===i&&++d===r&&(a=s),(g=f.nextSibling)!==null)break;f=p,p=f.parentNode}f=g}n=l===-1||a===-1?null:{start:l,end:a}}else n=null}n=n||{start:0,end:0}}else n=null;for(Rd={focusedElem:e,selectionRange:n},Fl=!1,V=t;V!==null;)if(t=V,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,V=e;else for(;V!==null;){t=V;try{var m=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(m!==null){var x=m.memoizedProps,w=m.memoizedState,v=t.stateNode,y=v.getSnapshotBeforeUpdate(t.elementType===t.type?x:sn(t.type,x),w);v.__reactInternalSnapshotBeforeUpdate=y}break;case 3:var _=t.stateNode.containerInfo;_.nodeType===1?_.textContent="":_.nodeType===9&&_.documentElement&&_.removeChild(_.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(F(163))}}catch(C){De(t,t.return,C)}if(e=t.sibling,e!==null){e.return=t.return,V=e;break}V=t.return}return m=fm,fm=!1,m}function $s(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var o=r=r.next;do{if((o.tag&e)===e){var i=o.destroy;o.destroy=void 0,i!==void 0&&Vd(t,n,i)}o=o.next}while(o!==r)}}function Ic(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 Gd(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 zy(e){var t=e.alternate;t!==null&&(e.alternate=null,zy(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[kn],delete t[qs],delete t[Pd],delete t[tS],delete t[nS])),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 By(e){return e.tag===5||e.tag===3||e.tag===4}function pm(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||By(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 Kd(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=Ul));else if(r!==4&&(e=e.child,e!==null))for(Kd(e,t,n),e=e.sibling;e!==null;)Kd(e,t,n),e=e.sibling}function qd(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(qd(e,t,n),e=e.sibling;e!==null;)qd(e,t,n),e=e.sibling}var tt=null,an=!1;function cr(e,t,n){for(n=n.child;n!==null;)Uy(e,t,n),n=n.sibling}function Uy(e,t,n){if($n&&typeof $n.onCommitFiberUnmount=="function")try{$n.onCommitFiberUnmount(Rc,n)}catch{}switch(n.tag){case 5:ct||ri(n,t);case 6:var r=tt,o=an;tt=null,cr(e,t,n),tt=r,an=o,tt!==null&&(an?(e=tt,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):tt.removeChild(n.stateNode));break;case 18:tt!==null&&(an?(e=tt,n=n.stateNode,e.nodeType===8?Cu(e.parentNode,n):e.nodeType===1&&Cu(e,n),Hs(e)):Cu(tt,n.stateNode));break;case 4:r=tt,o=an,tt=n.stateNode.containerInfo,an=!0,cr(e,t,n),tt=r,an=o;break;case 0:case 11:case 14:case 15:if(!ct&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){o=r=r.next;do{var i=o,s=i.destroy;i=i.tag,s!==void 0&&(i&2||i&4)&&Vd(n,t,s),o=o.next}while(o!==r)}cr(e,t,n);break;case 1:if(!ct&&(ri(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(l){De(n,t,l)}cr(e,t,n);break;case 21:cr(e,t,n);break;case 22:n.mode&1?(ct=(r=ct)||n.memoizedState!==null,cr(e,t,n),ct=r):cr(e,t,n);break;default:cr(e,t,n)}}function hm(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new yS),t.forEach(function(r){var o=$S.bind(null,e,r);n.has(r)||(n.add(r),r.then(o,o))})}}function rn(e,t){var n=t.deletions;if(n!==null)for(var r=0;ro&&(o=s),r&=~i}if(r=o,r=ze()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*_S(r/1960))-r,10e?16:e,Er===null)var r=!1;else{if(e=Er,Er=null,tc=0,de&6)throw Error(F(331));var o=de;for(de|=4,V=e.current;V!==null;){var i=V,s=i.child;if(V.flags&16){var l=i.deletions;if(l!==null){for(var a=0;aze()-wp?oo(e,0):xp|=n),Tt(e,t)}function Qy(e,t){t===0&&(e.mode&1?(t=La,La<<=1,!(La&130023424)&&(La=4194304)):t=1);var n=_t();e=Jn(e,t),e!==null&&(fa(e,t,n),Tt(e,n))}function jS(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Qy(e,n)}function $S(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,o=e.memoizedState;o!==null&&(n=o.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(F(314))}r!==null&&r.delete(t),Qy(e,n)}var Xy;Xy=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||$t.current)kt=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return kt=!1,mS(e,t,n);kt=!!(e.flags&131072)}else kt=!1,ke&&t.flags&1048576&&ey(t,Gl,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;wl(e,t),e=t.pendingProps;var o=Si(t,pt.current);hi(t,n),o=pp(null,t,r,e,o,n);var i=hp();return t.flags|=1,typeof o=="object"&&o!==null&&typeof o.render=="function"&&o.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Rt(r)?(i=!0,Wl(t)):i=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,lp(t),o.updater=Mc,t.stateNode=o,o._reactInternals=t,Ld(t,r,e,n),t=Bd(null,t,r,!0,i,n)):(t.tag=0,ke&&i&&tp(t),vt(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(wl(e,t),e=t.pendingProps,o=r._init,r=o(r._payload),t.type=r,o=t.tag=TS(r),e=sn(r,e),o){case 0:t=zd(null,t,r,e,n);break e;case 1:t=cm(null,t,r,e,n);break e;case 11:t=am(null,t,r,e,n);break e;case 14:t=lm(null,t,r,sn(r.type,e),n);break e}throw Error(F(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:sn(r,o),zd(e,t,r,o,n);case 1:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:sn(r,o),cm(e,t,r,o,n);case 3:e:{if(Ay(t),e===null)throw Error(F(387));r=t.pendingProps,i=t.memoizedState,o=i.element,oy(e,t),Yl(t,r,null,n);var s=t.memoizedState;if(r=s.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){o=ji(Error(F(423)),t),t=um(e,t,r,n,o);break e}else if(r!==o){o=ji(Error(F(424)),t),t=um(e,t,r,n,o);break e}else for(Mt=$r(t.stateNode.containerInfo.firstChild),Dt=t,ke=!0,cn=null,n=ly(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Ei(),r===o){t=Zn(e,t,n);break e}vt(e,t,r,n)}t=t.child}return t;case 5:return cy(t),e===null&&Md(t),r=t.type,o=t.pendingProps,i=e!==null?e.memoizedProps:null,s=o.children,Td(r,o)?s=null:i!==null&&Td(r,i)&&(t.flags|=32),Oy(e,t),vt(e,t,s,n),t.child;case 6:return e===null&&Md(t),null;case 13:return My(e,t,n);case 4:return cp(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Ci(t,null,r,n):vt(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:sn(r,o),am(e,t,r,o,n);case 7:return vt(e,t,t.pendingProps,n),t.child;case 8:return vt(e,t,t.pendingProps.children,n),t.child;case 12:return vt(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,i=t.memoizedProps,s=o.value,_e(Kl,r._currentValue),r._currentValue=s,i!==null)if(pn(i.value,s)){if(i.children===o.children&&!$t.current){t=Zn(e,t,n);break e}}else for(i=t.child,i!==null&&(i.return=t);i!==null;){var l=i.dependencies;if(l!==null){s=i.child;for(var a=l.firstContext;a!==null;){if(a.context===r){if(i.tag===1){a=Kn(-1,n&-n),a.tag=2;var u=i.updateQueue;if(u!==null){u=u.shared;var d=u.pending;d===null?a.next=a:(a.next=d.next,d.next=a),u.pending=a}}i.lanes|=n,a=i.alternate,a!==null&&(a.lanes|=n),Dd(i.return,n,t),l.lanes|=n;break}a=a.next}}else if(i.tag===10)s=i.type===t.type?null:i.child;else if(i.tag===18){if(s=i.return,s===null)throw Error(F(341));s.lanes|=n,l=s.alternate,l!==null&&(l.lanes|=n),Dd(s,n,t),s=i.sibling}else s=i.child;if(s!==null)s.return=i;else for(s=i;s!==null;){if(s===t){s=null;break}if(i=s.sibling,i!==null){i.return=s.return,s=i;break}s=s.return}i=s}vt(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,hi(t,n),o=Jt(o),r=r(o),t.flags|=1,vt(e,t,r,n),t.child;case 14:return r=t.type,o=sn(r,t.pendingProps),o=sn(r.type,o),lm(e,t,r,o,n);case 15:return Ny(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:sn(r,o),wl(e,t),t.tag=1,Rt(r)?(e=!0,Wl(t)):e=!1,hi(t,n),sy(t,r,o),Ld(t,r,o,n),Bd(null,t,r,!0,e,n);case 19:return Dy(e,t,n);case 22:return Py(e,t,n)}throw Error(F(156,t.tag))};function Jy(e,t){return E0(e,t)}function RS(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 qt(e,t,n,r){return new RS(e,t,n,r)}function Ep(e){return e=e.prototype,!(!e||!e.isReactComponent)}function TS(e){if(typeof e=="function")return Ep(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Hf)return 11;if(e===Wf)return 14}return 2}function Pr(e,t){var n=e.alternate;return n===null?(n=qt(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 Sl(e,t,n,r,o,i){var s=2;if(r=e,typeof e=="function")Ep(e)&&(s=1);else if(typeof e=="string")s=5;else e:switch(e){case qo:return io(n.children,o,i,t);case Uf:s=8,o|=8;break;case ld:return e=qt(12,n,t,o|2),e.elementType=ld,e.lanes=i,e;case cd:return e=qt(13,n,t,o),e.elementType=cd,e.lanes=i,e;case ud:return e=qt(19,n,t,o),e.elementType=ud,e.lanes=i,e;case a0:return Fc(n,o,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case i0:s=10;break e;case s0:s=9;break e;case Hf:s=11;break e;case Wf:s=14;break e;case vr:s=16,r=null;break e}throw Error(F(130,e==null?e:typeof e,""))}return t=qt(s,n,t,o),t.elementType=e,t.type=r,t.lanes=i,t}function io(e,t,n,r){return e=qt(7,e,r,t),e.lanes=n,e}function Fc(e,t,n,r){return e=qt(22,e,r,t),e.elementType=a0,e.lanes=n,e.stateNode={isHidden:!1},e}function Ou(e,t,n){return e=qt(6,e,null,t),e.lanes=n,e}function Au(e,t,n){return t=qt(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function NS(e,t,n,r,o){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=hu(0),this.expirationTimes=hu(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=hu(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function Cp(e,t,n,r,o,i,s,l,a){return e=new NS(e,t,n,l,a),t===1?(t=1,i===!0&&(t|=8)):t=0,i=qt(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},lp(i),e}function PS(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n1)}catch(e){console.error(e)}}n1(),e0.exports=Ft;var wo=e0.exports;const Rp=jc(wo),IS=Uv({__proto__:null,default:Rp},[wo]);var bm=wo;sd.createRoot=bm.createRoot,sd.hydrateRoot=bm.hydrateRoot;/** +`+i.stack}return{value:e,source:t,stack:o,digest:null}}function Nu(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function Fd(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var fS=typeof WeakMap=="function"?WeakMap:Map;function Ry(e,t,n){n=Kn(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){tc||(tc=!0,Yd=r),Fd(e,t)},n}function Ty(e,t,n){n=Kn(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var o=t.value;n.payload=function(){return r(o)},n.callback=function(){Fd(e,t)}}var i=e.stateNode;return i!==null&&typeof i.componentDidCatch=="function"&&(n.callback=function(){Fd(e,t),typeof r!="function"&&(Tr===null?Tr=new Set([this]):Tr.add(this));var s=t.stack;this.componentDidCatch(t.value,{componentStack:s!==null?s:""})}),n}function om(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new fS;var o=new Set;r.set(t,o)}else o=r.get(t),o===void 0&&(o=new Set,r.set(t,o));o.has(n)||(o.add(n),e=kS.bind(null,e,t,n),t.then(e,e))}function im(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function sm(e,t,n,r,o){return e.mode&1?(e.flags|=65536,e.lanes=o,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=Kn(-1,1),t.tag=2,Rr(n,t,1))),n.lanes|=1),e)}var pS=or.ReactCurrentOwner,kt=!1;function vt(e,t,n,r){t.child=e===null?ly(t,null,n,r):Ci(t,e.child,n,r)}function am(e,t,n,r,o){n=n.render;var i=t.ref;return hi(t,o),r=pp(e,t,n,r,i,o),n=hp(),e!==null&&!kt?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Zn(e,t,o)):(ke&&n&&tp(t),t.flags|=1,vt(e,t,r,o),t.child)}function lm(e,t,n,r,o){if(e===null){var i=n.type;return typeof i=="function"&&!Ep(i)&&i.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=i,Ny(e,t,i,r,o)):(e=El(n.type,null,r,t,t.mode,o),e.ref=t.ref,e.return=t,t.child=e)}if(i=e.child,!(e.lanes&o)){var s=i.memoizedProps;if(n=n.compare,n=n!==null?n:Vs,n(s,r)&&e.ref===t.ref)return Zn(e,t,o)}return t.flags|=1,e=Pr(i,r),e.ref=t.ref,e.return=t,t.child=e}function Ny(e,t,n,r,o){if(e!==null){var i=e.memoizedProps;if(Vs(i,r)&&e.ref===t.ref)if(kt=!1,t.pendingProps=r=i,(e.lanes&o)!==0)e.flags&131072&&(kt=!0);else return t.lanes=e.lanes,Zn(e,t,o)}return zd(e,t,n,r,o)}function Py(e,t,n){var r=t.pendingProps,o=r.children,i=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},_e(oi,Ot),Ot|=n;else{if(!(n&1073741824))return e=i!==null?i.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,_e(oi,Ot),Ot|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=i!==null?i.baseLanes:n,_e(oi,Ot),Ot|=r}else i!==null?(r=i.baseLanes|n,t.memoizedState=null):r=n,_e(oi,Ot),Ot|=r;return vt(e,t,o,n),t.child}function Oy(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function zd(e,t,n,r,o){var i=Rt(n)?co:pt.current;return i=Si(t,i),hi(t,o),n=pp(e,t,n,r,i,o),r=hp(),e!==null&&!kt?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Zn(e,t,o)):(ke&&r&&tp(t),t.flags|=1,vt(e,t,n,o),t.child)}function cm(e,t,n,r,o){if(Rt(n)){var i=!0;Vl(t)}else i=!1;if(hi(t,o),t.stateNode===null)_l(e,t),sy(t,n,r),Ld(t,n,r,o),r=!0;else if(e===null){var s=t.stateNode,l=t.memoizedProps;s.props=l;var a=s.context,u=n.contextType;typeof u=="object"&&u!==null?u=Jt(u):(u=Rt(n)?co:pt.current,u=Si(t,u));var d=n.getDerivedStateFromProps,f=typeof d=="function"||typeof s.getSnapshotBeforeUpdate=="function";f||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(l!==r||a!==u)&&em(t,s,r,u),yr=!1;var p=t.memoizedState;s.state=p,Ql(t,r,s,o),a=t.memoizedState,l!==r||p!==a||$t.current||yr?(typeof d=="function"&&(Id(t,n,d,r),a=t.memoizedState),(l=yr||Zh(t,n,l,r,p,a,u))?(f||typeof s.UNSAFE_componentWillMount!="function"&&typeof s.componentWillMount!="function"||(typeof s.componentWillMount=="function"&&s.componentWillMount(),typeof s.UNSAFE_componentWillMount=="function"&&s.UNSAFE_componentWillMount()),typeof s.componentDidMount=="function"&&(t.flags|=4194308)):(typeof s.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=a),s.props=r,s.state=a,s.context=u,r=l):(typeof s.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{s=t.stateNode,oy(e,t),l=t.memoizedProps,u=t.type===t.elementType?l:sn(t.type,l),s.props=u,f=t.pendingProps,p=s.context,a=n.contextType,typeof a=="object"&&a!==null?a=Jt(a):(a=Rt(n)?co:pt.current,a=Si(t,a));var g=n.getDerivedStateFromProps;(d=typeof g=="function"||typeof s.getSnapshotBeforeUpdate=="function")||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(l!==f||p!==a)&&em(t,s,r,a),yr=!1,p=t.memoizedState,s.state=p,Ql(t,r,s,o);var m=t.memoizedState;l!==f||p!==m||$t.current||yr?(typeof g=="function"&&(Id(t,n,g,r),m=t.memoizedState),(u=yr||Zh(t,n,u,r,p,m,a)||!1)?(d||typeof s.UNSAFE_componentWillUpdate!="function"&&typeof s.componentWillUpdate!="function"||(typeof s.componentWillUpdate=="function"&&s.componentWillUpdate(r,m,a),typeof s.UNSAFE_componentWillUpdate=="function"&&s.UNSAFE_componentWillUpdate(r,m,a)),typeof s.componentDidUpdate=="function"&&(t.flags|=4),typeof s.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof s.componentDidUpdate!="function"||l===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||l===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=m),s.props=r,s.state=m,s.context=a,r=u):(typeof s.componentDidUpdate!="function"||l===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||l===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),r=!1)}return Bd(e,t,n,r,i,o)}function Bd(e,t,n,r,o,i){Oy(e,t);var s=(t.flags&128)!==0;if(!r&&!s)return o&&qh(t,n,!1),Zn(e,t,i);r=t.stateNode,pS.current=t;var l=s&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&s?(t.child=Ci(t,e.child,null,i),t.child=Ci(t,null,l,i)):vt(e,t,l,i),t.memoizedState=r.state,o&&qh(t,n,!0),t.child}function Ay(e){var t=e.stateNode;t.pendingContext?Kh(e,t.pendingContext,t.pendingContext!==t.context):t.context&&Kh(e,t.context,!1),cp(e,t.containerInfo)}function um(e,t,n,r,o){return Ei(),rp(o),t.flags|=256,vt(e,t,n,r),t.child}var Ud={dehydrated:null,treeContext:null,retryLane:0};function Hd(e){return{baseLanes:e,cachePool:null,transitions:null}}function My(e,t,n){var r=t.pendingProps,o=Te.current,i=!1,s=(t.flags&128)!==0,l;if((l=s)||(l=e!==null&&e.memoizedState===null?!1:(o&2)!==0),l?(i=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(o|=1),_e(Te,o&1),e===null)return Md(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(t.mode&1?e.data==="$!"?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(s=r.children,e=r.fallback,i?(r=t.mode,i=t.child,s={mode:"hidden",children:s},!(r&1)&&i!==null?(i.childLanes=0,i.pendingProps=s):i=zc(s,r,0,null),e=io(e,r,n,null),i.return=t,e.return=t,i.sibling=e,t.child=i,t.child.memoizedState=Hd(n),t.memoizedState=Ud,e):vp(t,s));if(o=e.memoizedState,o!==null&&(l=o.dehydrated,l!==null))return hS(e,t,s,r,l,o,n);if(i){i=r.fallback,s=t.mode,o=e.child,l=o.sibling;var a={mode:"hidden",children:r.children};return!(s&1)&&t.child!==o?(r=t.child,r.childLanes=0,r.pendingProps=a,t.deletions=null):(r=Pr(o,a),r.subtreeFlags=o.subtreeFlags&14680064),l!==null?i=Pr(l,i):(i=io(i,s,n,null),i.flags|=2),i.return=t,r.return=t,r.sibling=i,t.child=r,r=i,i=t.child,s=e.child.memoizedState,s=s===null?Hd(n):{baseLanes:s.baseLanes|n,cachePool:null,transitions:s.transitions},i.memoizedState=s,i.childLanes=e.childLanes&~n,t.memoizedState=Ud,r}return i=e.child,e=i.sibling,r=Pr(i,{mode:"visible",children:r.children}),!(t.mode&1)&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r}function vp(e,t){return t=zc({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function Ka(e,t,n,r){return r!==null&&rp(r),Ci(t,e.child,null,n),e=vp(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function hS(e,t,n,r,o,i,s){if(n)return t.flags&256?(t.flags&=-257,r=Nu(Error(F(422))),Ka(e,t,s,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(i=r.fallback,o=t.mode,r=zc({mode:"visible",children:r.children},o,0,null),i=io(i,o,s,null),i.flags|=2,r.return=t,i.return=t,r.sibling=i,t.child=r,t.mode&1&&Ci(t,e.child,null,s),t.child.memoizedState=Hd(s),t.memoizedState=Ud,i);if(!(t.mode&1))return Ka(e,t,s,null);if(o.data==="$!"){if(r=o.nextSibling&&o.nextSibling.dataset,r)var l=r.dgst;return r=l,i=Error(F(419)),r=Nu(i,r,void 0),Ka(e,t,s,r)}if(l=(s&e.childLanes)!==0,kt||l){if(r=Je,r!==null){switch(s&-s){case 4:o=2;break;case 16:o=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:o=32;break;case 536870912:o=268435456;break;default:o=0}o=o&(r.suspendedLanes|s)?0:o,o!==0&&o!==i.retryLane&&(i.retryLane=o,Jn(e,o),dn(r,e,o,-1))}return Sp(),r=Nu(Error(F(421))),Ka(e,t,s,r)}return o.data==="$?"?(t.flags|=128,t.child=e.child,t=jS.bind(null,e),o._reactRetry=t,null):(e=i.treeContext,Mt=$r(o.nextSibling),Dt=t,ke=!0,cn=null,e!==null&&(Wt[Vt++]=Wn,Wt[Vt++]=Vn,Wt[Vt++]=uo,Wn=e.id,Vn=e.overflow,uo=t),t=vp(t,r.children),t.flags|=4096,t)}function dm(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),Dd(e.return,t,n)}function Pu(e,t,n,r,o){var i=e.memoizedState;i===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailMode=o)}function Dy(e,t,n){var r=t.pendingProps,o=r.revealOrder,i=r.tail;if(vt(e,t,r.children,n),r=Te.current,r&2)r=r&1|2,t.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&dm(e,n,t);else if(e.tag===19)dm(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(_e(Te,r),!(t.mode&1))t.memoizedState=null;else switch(o){case"forwards":for(n=t.child,o=null;n!==null;)e=n.alternate,e!==null&&Xl(e)===null&&(o=n),n=n.sibling;n=o,n===null?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),Pu(t,!1,o,n,i);break;case"backwards":for(n=null,o=t.child,t.child=null;o!==null;){if(e=o.alternate,e!==null&&Xl(e)===null){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}Pu(t,!0,n,null,i);break;case"together":Pu(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function _l(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Zn(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),po|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(F(153));if(t.child!==null){for(e=t.child,n=Pr(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=Pr(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function mS(e,t,n){switch(t.tag){case 3:Ay(t),Ei();break;case 5:cy(t);break;case 1:Rt(t.type)&&Vl(t);break;case 4:cp(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,o=t.memoizedProps.value;_e(ql,r._currentValue),r._currentValue=o;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(_e(Te,Te.current&1),t.flags|=128,null):n&t.child.childLanes?My(e,t,n):(_e(Te,Te.current&1),e=Zn(e,t,n),e!==null?e.sibling:null);_e(Te,Te.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return Dy(e,t,n);t.flags|=128}if(o=t.memoizedState,o!==null&&(o.rendering=null,o.tail=null,o.lastEffect=null),_e(Te,Te.current),r)break;return null;case 22:case 23:return t.lanes=0,Py(e,t,n)}return Zn(e,t,n)}var Iy,Wd,Ly,Fy;Iy=function(e,t){for(var n=t.child;n!==null;){if(n.tag===5||n.tag===6)e.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}};Wd=function(){};Ly=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,to(Rn.current);var i=null;switch(n){case"input":o=fd(e,o),r=fd(e,r),i=[];break;case"select":o=Oe({},o,{value:void 0}),r=Oe({},r,{value:void 0}),i=[];break;case"textarea":o=md(e,o),r=md(e,r),i=[];break;default:typeof o.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=Hl)}vd(n,r);var s;n=null;for(u in o)if(!r.hasOwnProperty(u)&&o.hasOwnProperty(u)&&o[u]!=null)if(u==="style"){var l=o[u];for(s in l)l.hasOwnProperty(s)&&(n||(n={}),n[s]="")}else u!=="dangerouslySetInnerHTML"&&u!=="children"&&u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&u!=="autoFocus"&&(Ls.hasOwnProperty(u)?i||(i=[]):(i=i||[]).push(u,null));for(u in r){var a=r[u];if(l=o!=null?o[u]:void 0,r.hasOwnProperty(u)&&a!==l&&(a!=null||l!=null))if(u==="style")if(l){for(s in l)!l.hasOwnProperty(s)||a&&a.hasOwnProperty(s)||(n||(n={}),n[s]="");for(s in a)a.hasOwnProperty(s)&&l[s]!==a[s]&&(n||(n={}),n[s]=a[s])}else n||(i||(i=[]),i.push(u,n)),n=a;else u==="dangerouslySetInnerHTML"?(a=a?a.__html:void 0,l=l?l.__html:void 0,a!=null&&l!==a&&(i=i||[]).push(u,a)):u==="children"?typeof a!="string"&&typeof a!="number"||(i=i||[]).push(u,""+a):u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&(Ls.hasOwnProperty(u)?(a!=null&&u==="onScroll"&&Se("scroll",e),i||l===a||(i=[])):(i=i||[]).push(u,a))}n&&(i=i||[]).push("style",n);var u=i;(t.updateQueue=u)&&(t.flags|=4)}};Fy=function(e,t,n,r){n!==r&&(t.flags|=4)};function ts(e,t){if(!ke)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function lt(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var o=e.child;o!==null;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags&14680064,r|=o.flags&14680064,o.return=e,o=o.sibling;else for(o=e.child;o!==null;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags,r|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function gS(e,t,n){var r=t.pendingProps;switch(np(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return lt(t),null;case 1:return Rt(t.type)&&Wl(),lt(t),null;case 3:return r=t.stateNode,ki(),Ee($t),Ee(pt),dp(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(Va(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,cn!==null&&(Jd(cn),cn=null))),Wd(e,t),lt(t),null;case 5:up(t);var o=to(Qs.current);if(n=t.type,e!==null&&t.stateNode!=null)Ly(e,t,n,r,o),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(F(166));return lt(t),null}if(e=to(Rn.current),Va(t)){r=t.stateNode,n=t.type;var i=t.memoizedProps;switch(r[kn]=t,r[qs]=i,e=(t.mode&1)!==0,n){case"dialog":Se("cancel",r),Se("close",r);break;case"iframe":case"object":case"embed":Se("load",r);break;case"video":case"audio":for(o=0;o<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=s.createElement(n,{is:r.is}):(e=s.createElement(n),n==="select"&&(s=e,r.multiple?s.multiple=!0:r.size&&(s.size=r.size))):e=s.createElementNS(e,n),e[kn]=t,e[qs]=r,Iy(e,t,!1,!1),t.stateNode=e;e:{switch(s=yd(n,r),n){case"dialog":Se("cancel",e),Se("close",e),o=r;break;case"iframe":case"object":case"embed":Se("load",e),o=r;break;case"video":case"audio":for(o=0;o$i&&(t.flags|=128,r=!0,ts(i,!1),t.lanes=4194304)}else{if(!r)if(e=Xl(s),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),ts(i,!0),i.tail===null&&i.tailMode==="hidden"&&!s.alternate&&!ke)return lt(t),null}else 2*ze()-i.renderingStartTime>$i&&n!==1073741824&&(t.flags|=128,r=!0,ts(i,!1),t.lanes=4194304);i.isBackwards?(s.sibling=t.child,t.child=s):(n=i.last,n!==null?n.sibling=s:t.child=s,i.last=s)}return i.tail!==null?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=ze(),t.sibling=null,n=Te.current,_e(Te,r?n&1|2:n&1),t):(lt(t),null);case 22:case 23:return bp(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?Ot&1073741824&&(lt(t),t.subtreeFlags&6&&(t.flags|=8192)):lt(t),null;case 24:return null;case 25:return null}throw Error(F(156,t.tag))}function vS(e,t){switch(np(t),t.tag){case 1:return Rt(t.type)&&Wl(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return ki(),Ee($t),Ee(pt),dp(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return up(t),null;case 13:if(Ee(Te),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(F(340));Ei()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Ee(Te),null;case 4:return ki(),null;case 10:return sp(t.type._context),null;case 22:case 23:return bp(),null;case 24:return null;default:return null}}var qa=!1,ct=!1,yS=typeof WeakSet=="function"?WeakSet:Set,V=null;function ri(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){De(e,t,r)}else n.current=null}function Vd(e,t,n){try{n()}catch(r){De(e,t,r)}}var fm=!1;function xS(e,t){if($d=zl,e=H0(),ep(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 o=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch{n=null;break e}var s=0,l=-1,a=-1,u=0,d=0,f=e,p=null;t:for(;;){for(var g;f!==n||o!==0&&f.nodeType!==3||(l=s+o),f!==i||r!==0&&f.nodeType!==3||(a=s+r),f.nodeType===3&&(s+=f.nodeValue.length),(g=f.firstChild)!==null;)p=f,f=g;for(;;){if(f===e)break t;if(p===n&&++u===o&&(l=s),p===i&&++d===r&&(a=s),(g=f.nextSibling)!==null)break;f=p,p=f.parentNode}f=g}n=l===-1||a===-1?null:{start:l,end:a}}else n=null}n=n||{start:0,end:0}}else n=null;for(Rd={focusedElem:e,selectionRange:n},zl=!1,V=t;V!==null;)if(t=V,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,V=e;else for(;V!==null;){t=V;try{var m=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(m!==null){var x=m.memoizedProps,w=m.memoizedState,v=t.stateNode,y=v.getSnapshotBeforeUpdate(t.elementType===t.type?x:sn(t.type,x),w);v.__reactInternalSnapshotBeforeUpdate=y}break;case 3:var _=t.stateNode.containerInfo;_.nodeType===1?_.textContent="":_.nodeType===9&&_.documentElement&&_.removeChild(_.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(F(163))}}catch(C){De(t,t.return,C)}if(e=t.sibling,e!==null){e.return=t.return,V=e;break}V=t.return}return m=fm,fm=!1,m}function $s(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var o=r=r.next;do{if((o.tag&e)===e){var i=o.destroy;o.destroy=void 0,i!==void 0&&Vd(t,n,i)}o=o.next}while(o!==r)}}function Lc(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 Gd(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 zy(e){var t=e.alternate;t!==null&&(e.alternate=null,zy(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[kn],delete t[qs],delete t[Pd],delete t[tS],delete t[nS])),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 By(e){return e.tag===5||e.tag===3||e.tag===4}function pm(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||By(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 Kd(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=Hl));else if(r!==4&&(e=e.child,e!==null))for(Kd(e,t,n),e=e.sibling;e!==null;)Kd(e,t,n),e=e.sibling}function qd(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(qd(e,t,n),e=e.sibling;e!==null;)qd(e,t,n),e=e.sibling}var tt=null,an=!1;function cr(e,t,n){for(n=n.child;n!==null;)Uy(e,t,n),n=n.sibling}function Uy(e,t,n){if($n&&typeof $n.onCommitFiberUnmount=="function")try{$n.onCommitFiberUnmount(Tc,n)}catch{}switch(n.tag){case 5:ct||ri(n,t);case 6:var r=tt,o=an;tt=null,cr(e,t,n),tt=r,an=o,tt!==null&&(an?(e=tt,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):tt.removeChild(n.stateNode));break;case 18:tt!==null&&(an?(e=tt,n=n.stateNode,e.nodeType===8?Cu(e.parentNode,n):e.nodeType===1&&Cu(e,n),Hs(e)):Cu(tt,n.stateNode));break;case 4:r=tt,o=an,tt=n.stateNode.containerInfo,an=!0,cr(e,t,n),tt=r,an=o;break;case 0:case 11:case 14:case 15:if(!ct&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){o=r=r.next;do{var i=o,s=i.destroy;i=i.tag,s!==void 0&&(i&2||i&4)&&Vd(n,t,s),o=o.next}while(o!==r)}cr(e,t,n);break;case 1:if(!ct&&(ri(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(l){De(n,t,l)}cr(e,t,n);break;case 21:cr(e,t,n);break;case 22:n.mode&1?(ct=(r=ct)||n.memoizedState!==null,cr(e,t,n),ct=r):cr(e,t,n);break;default:cr(e,t,n)}}function hm(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new yS),t.forEach(function(r){var o=$S.bind(null,e,r);n.has(r)||(n.add(r),r.then(o,o))})}}function rn(e,t){var n=t.deletions;if(n!==null)for(var r=0;ro&&(o=s),r&=~i}if(r=o,r=ze()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*_S(r/1960))-r,10e?16:e,Er===null)var r=!1;else{if(e=Er,Er=null,nc=0,de&6)throw Error(F(331));var o=de;for(de|=4,V=e.current;V!==null;){var i=V,s=i.child;if(V.flags&16){var l=i.deletions;if(l!==null){for(var a=0;aze()-wp?oo(e,0):xp|=n),Tt(e,t)}function Qy(e,t){t===0&&(e.mode&1?(t=Fa,Fa<<=1,!(Fa&130023424)&&(Fa=4194304)):t=1);var n=_t();e=Jn(e,t),e!==null&&(fa(e,t,n),Tt(e,n))}function jS(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Qy(e,n)}function $S(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,o=e.memoizedState;o!==null&&(n=o.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(F(314))}r!==null&&r.delete(t),Qy(e,n)}var Xy;Xy=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||$t.current)kt=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return kt=!1,mS(e,t,n);kt=!!(e.flags&131072)}else kt=!1,ke&&t.flags&1048576&&ey(t,Kl,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;_l(e,t),e=t.pendingProps;var o=Si(t,pt.current);hi(t,n),o=pp(null,t,r,e,o,n);var i=hp();return t.flags|=1,typeof o=="object"&&o!==null&&typeof o.render=="function"&&o.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Rt(r)?(i=!0,Vl(t)):i=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,lp(t),o.updater=Dc,t.stateNode=o,o._reactInternals=t,Ld(t,r,e,n),t=Bd(null,t,r,!0,i,n)):(t.tag=0,ke&&i&&tp(t),vt(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(_l(e,t),e=t.pendingProps,o=r._init,r=o(r._payload),t.type=r,o=t.tag=TS(r),e=sn(r,e),o){case 0:t=zd(null,t,r,e,n);break e;case 1:t=cm(null,t,r,e,n);break e;case 11:t=am(null,t,r,e,n);break e;case 14:t=lm(null,t,r,sn(r.type,e),n);break e}throw Error(F(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:sn(r,o),zd(e,t,r,o,n);case 1:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:sn(r,o),cm(e,t,r,o,n);case 3:e:{if(Ay(t),e===null)throw Error(F(387));r=t.pendingProps,i=t.memoizedState,o=i.element,oy(e,t),Ql(t,r,null,n);var s=t.memoizedState;if(r=s.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){o=ji(Error(F(423)),t),t=um(e,t,r,n,o);break e}else if(r!==o){o=ji(Error(F(424)),t),t=um(e,t,r,n,o);break e}else for(Mt=$r(t.stateNode.containerInfo.firstChild),Dt=t,ke=!0,cn=null,n=ly(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Ei(),r===o){t=Zn(e,t,n);break e}vt(e,t,r,n)}t=t.child}return t;case 5:return cy(t),e===null&&Md(t),r=t.type,o=t.pendingProps,i=e!==null?e.memoizedProps:null,s=o.children,Td(r,o)?s=null:i!==null&&Td(r,i)&&(t.flags|=32),Oy(e,t),vt(e,t,s,n),t.child;case 6:return e===null&&Md(t),null;case 13:return My(e,t,n);case 4:return cp(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Ci(t,null,r,n):vt(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:sn(r,o),am(e,t,r,o,n);case 7:return vt(e,t,t.pendingProps,n),t.child;case 8:return vt(e,t,t.pendingProps.children,n),t.child;case 12:return vt(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,i=t.memoizedProps,s=o.value,_e(ql,r._currentValue),r._currentValue=s,i!==null)if(pn(i.value,s)){if(i.children===o.children&&!$t.current){t=Zn(e,t,n);break e}}else for(i=t.child,i!==null&&(i.return=t);i!==null;){var l=i.dependencies;if(l!==null){s=i.child;for(var a=l.firstContext;a!==null;){if(a.context===r){if(i.tag===1){a=Kn(-1,n&-n),a.tag=2;var u=i.updateQueue;if(u!==null){u=u.shared;var d=u.pending;d===null?a.next=a:(a.next=d.next,d.next=a),u.pending=a}}i.lanes|=n,a=i.alternate,a!==null&&(a.lanes|=n),Dd(i.return,n,t),l.lanes|=n;break}a=a.next}}else if(i.tag===10)s=i.type===t.type?null:i.child;else if(i.tag===18){if(s=i.return,s===null)throw Error(F(341));s.lanes|=n,l=s.alternate,l!==null&&(l.lanes|=n),Dd(s,n,t),s=i.sibling}else s=i.child;if(s!==null)s.return=i;else for(s=i;s!==null;){if(s===t){s=null;break}if(i=s.sibling,i!==null){i.return=s.return,s=i;break}s=s.return}i=s}vt(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,hi(t,n),o=Jt(o),r=r(o),t.flags|=1,vt(e,t,r,n),t.child;case 14:return r=t.type,o=sn(r,t.pendingProps),o=sn(r.type,o),lm(e,t,r,o,n);case 15:return Ny(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:sn(r,o),_l(e,t),t.tag=1,Rt(r)?(e=!0,Vl(t)):e=!1,hi(t,n),sy(t,r,o),Ld(t,r,o,n),Bd(null,t,r,!0,e,n);case 19:return Dy(e,t,n);case 22:return Py(e,t,n)}throw Error(F(156,t.tag))};function Jy(e,t){return E0(e,t)}function RS(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 qt(e,t,n,r){return new RS(e,t,n,r)}function Ep(e){return e=e.prototype,!(!e||!e.isReactComponent)}function TS(e){if(typeof e=="function")return Ep(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Hf)return 11;if(e===Wf)return 14}return 2}function Pr(e,t){var n=e.alternate;return n===null?(n=qt(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 El(e,t,n,r,o,i){var s=2;if(r=e,typeof e=="function")Ep(e)&&(s=1);else if(typeof e=="string")s=5;else e:switch(e){case qo:return io(n.children,o,i,t);case Uf:s=8,o|=8;break;case ld:return e=qt(12,n,t,o|2),e.elementType=ld,e.lanes=i,e;case cd:return e=qt(13,n,t,o),e.elementType=cd,e.lanes=i,e;case ud:return e=qt(19,n,t,o),e.elementType=ud,e.lanes=i,e;case a0:return zc(n,o,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case i0:s=10;break e;case s0:s=9;break e;case Hf:s=11;break e;case Wf:s=14;break e;case vr:s=16,r=null;break e}throw Error(F(130,e==null?e:typeof e,""))}return t=qt(s,n,t,o),t.elementType=e,t.type=r,t.lanes=i,t}function io(e,t,n,r){return e=qt(7,e,r,t),e.lanes=n,e}function zc(e,t,n,r){return e=qt(22,e,r,t),e.elementType=a0,e.lanes=n,e.stateNode={isHidden:!1},e}function Ou(e,t,n){return e=qt(6,e,null,t),e.lanes=n,e}function Au(e,t,n){return t=qt(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function NS(e,t,n,r,o){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=hu(0),this.expirationTimes=hu(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=hu(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function Cp(e,t,n,r,o,i,s,l,a){return e=new NS(e,t,n,l,a),t===1?(t=1,i===!0&&(t|=8)):t=0,i=qt(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},lp(i),e}function PS(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n1)}catch(e){console.error(e)}}n1(),e0.exports=Ft;var wo=e0.exports;const Rp=$c(wo),IS=Uv({__proto__:null,default:Rp},[wo]);var bm=wo;sd.createRoot=bm.createRoot,sd.hydrateRoot=bm.hydrateRoot;/** * @remix-run/router v1.14.0 * * Copyright (c) Remix Software Inc. @@ -46,7 +46,7 @@ Error generating stack: `+i.message+` * LICENSE.md file in the root directory of this source tree. * * @license MIT - */function Ie(){return Ie=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function Ir(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function FS(){return Math.random().toString(36).substr(2,8)}function Em(e,t){return{usr:e.state,key:e.key,idx:t}}function ta(e,t,n,r){return n===void 0&&(n=null),Ie({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?Pn(t):t,{state:n,key:t&&t.key||r||FS()})}function ga(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 zS(e,t,n,r){r===void 0&&(r={});let{window:o=document.defaultView,v5Compat:i=!1}=r,s=o.history,l=Fe.Pop,a=null,u=d();u==null&&(u=0,s.replaceState(Ie({},s.state,{idx:u}),""));function d(){return(s.state||{idx:null}).idx}function f(){l=Fe.Pop;let w=d(),v=w==null?null:w-u;u=w,a&&a({action:l,location:x.location,delta:v})}function p(w,v){l=Fe.Push;let y=ta(x.location,w,v);n&&n(y,w),u=d()+1;let _=Em(y,u),C=x.createHref(y);try{s.pushState(_,"",C)}catch(E){if(E instanceof DOMException&&E.name==="DataCloneError")throw E;o.location.assign(C)}i&&a&&a({action:l,location:x.location,delta:1})}function g(w,v){l=Fe.Replace;let y=ta(x.location,w,v);n&&n(y,w),u=d();let _=Em(y,u),C=x.createHref(y);s.replaceState(_,"",C),i&&a&&a({action:l,location:x.location,delta:0})}function m(w){let v=o.location.origin!=="null"?o.location.origin:o.location.href,y=typeof w=="string"?w:ga(w);return ce(v,"No window.location.(origin|href) available to create URL for href: "+y),new URL(y,v)}let x={get action(){return l},get location(){return e(o,s)},listen(w){if(a)throw new Error("A history only accepts one active listener");return o.addEventListener(Sm,f),a=w,()=>{o.removeEventListener(Sm,f),a=null}},createHref(w){return t(o,w)},createURL:m,encodeLocation(w){let v=m(w);return{pathname:v.pathname,search:v.search,hash:v.hash}},push:p,replace:g,go(w){return s.go(w)}};return x}var Me;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(Me||(Me={}));const BS=new Set(["lazy","caseSensitive","path","id","index","children"]);function US(e){return e.index===!0}function Zd(e,t,n,r){return n===void 0&&(n=[]),r===void 0&&(r={}),e.map((o,i)=>{let s=[...n,i],l=typeof o.id=="string"?o.id:s.join("-");if(ce(o.index!==!0||!o.children,"Cannot specify children on an index route"),ce(!r[l],'Found a route id collision on id "'+l+`". Route id's must be globally unique within Data Router usages`),US(o)){let a=Ie({},o,t(o),{id:l});return r[l]=a,a}else{let a=Ie({},o,t(o),{id:l,children:void 0});return r[l]=a,o.children&&(a.children=Zd(o.children,t,s,r)),a}})}function ii(e,t,n){n===void 0&&(n="/");let r=typeof t=="string"?Pn(t):t,o=va(r.pathname||"/",n);if(o==null)return null;let i=r1(e);WS(i);let s=null;for(let l=0;s==null&&l{let a={relativePath:l===void 0?i.path||"":l,caseSensitive:i.caseSensitive===!0,childrenIndex:s,route:i};a.relativePath.startsWith("/")&&(ce(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 u=so([r,a.relativePath]),d=n.concat(a);i.children&&i.children.length>0&&(ce(i.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+u+'".')),r1(i.children,t,d,u)),!(i.path==null&&!i.index)&&t.push({path:u,score:XS(u,i.index),routesMeta:d})};return e.forEach((i,s)=>{var l;if(i.path===""||!((l=i.path)!=null&&l.includes("?")))o(i,s);else for(let a of o1(i.path))o(i,s,a)}),t}function o1(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,o=n.endsWith("?"),i=n.replace(/\?$/,"");if(r.length===0)return o?[i,""]:[i];let s=o1(r.join("/")),l=[];return l.push(...s.map(a=>a===""?i:[i,a].join("/"))),o&&l.push(...s),l.map(a=>e.startsWith("/")&&a===""?"/":a)}function WS(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:JS(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const VS=/^:\w+$/,GS=3,KS=2,qS=1,YS=10,QS=-2,Cm=e=>e==="*";function XS(e,t){let n=e.split("/"),r=n.length;return n.some(Cm)&&(r+=QS),t&&(r+=KS),n.filter(o=>!Cm(o)).reduce((o,i)=>o+(VS.test(i)?GS:i===""?qS:YS),r)}function JS(e,t){return e.length===t.length&&e.slice(0,-1).every((r,o)=>r===t[o])?e[e.length-1]-t[t.length-1]:0}function ZS(e,t){let{routesMeta:n}=e,r={},o="/",i=[];for(let s=0;s{let{paramName:p,isOptional:g}=d;if(p==="*"){let x=l[f]||"";s=i.slice(0,i.length-x.length).replace(/(.)\/+$/,"$1")}const m=l[f];return g&&!m?u[p]=void 0:u[p]=rE(m||"",p),u},{}),pathname:i,pathnameBase:s,pattern:e}}function tE(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),Ir(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=[],o="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:(\w+)(\?)?/g,(s,l,a)=>(r.push({paramName:l,isOptional:a!=null}),a?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),o+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?o+="\\/*$":e!==""&&e!=="/"&&(o+="(?:(?=\\/|$))"),[new RegExp(o,t?void 0:"i"),r]}function nE(e){try{return decodeURI(e)}catch(t){return Ir(!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 rE(e,t){try{return decodeURIComponent(e)}catch(n){return Ir(!1,'The value for the URL param "'+t+'" will not be decoded because'+(' the string "'+e+'" is a malformed URL segment. This is probably')+(" due to a bad percent encoding ("+n+").")),e}}function va(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 oE(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:o=""}=typeof e=="string"?Pn(e):e;return{pathname:n?n.startsWith("/")?n:iE(n,t):t,search:cE(r),hash:uE(o)}}function iE(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(o=>{o===".."?n.length>1&&n.pop():o!=="."&&n.push(o)}),n.length>1?n.join("/"):"/"}function Mu(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 i1(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function sE(e,t){let n=i1(e);return t?n.map((r,o)=>o===e.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function aE(e,t,n,r){r===void 0&&(r=!1);let o;typeof e=="string"?o=Pn(e):(o=Ie({},e),ce(!o.pathname||!o.pathname.includes("?"),Mu("?","pathname","search",o)),ce(!o.pathname||!o.pathname.includes("#"),Mu("#","pathname","hash",o)),ce(!o.search||!o.search.includes("#"),Mu("#","search","hash",o)));let i=e===""||o.pathname==="",s=i?"/":o.pathname,l;if(s==null)l=n;else if(r){let f=t.length===0?[]:t[t.length-1].replace(/^\//,"").split("/");if(s.startsWith("..")){let p=s.split("/");for(;p[0]==="..";)p.shift(),f.pop();o.pathname=p.join("/")}l="/"+f.join("/")}else{let f=t.length-1;if(s.startsWith("..")){let p=s.split("/");for(;p[0]==="..";)p.shift(),f-=1;o.pathname=p.join("/")}l=f>=0?t[f]:"/"}let a=oE(o,l),u=s&&s!=="/"&&s.endsWith("/"),d=(i||s===".")&&n.endsWith("/");return!a.pathname.endsWith("/")&&(u||d)&&(a.pathname+="/"),a}const so=e=>e.join("/").replace(/\/\/+/g,"/"),lE=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),cE=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,uE=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;class Tp{constructor(t,n,r,o){o===void 0&&(o=!1),this.status=t,this.statusText=n||"",this.internal=o,r instanceof Error?(this.data=r.toString(),this.error=r):this.data=r}}function s1(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const a1=["post","put","patch","delete"],dE=new Set(a1),fE=["get",...a1],pE=new Set(fE),hE=new Set([301,302,303,307,308]),mE=new Set([307,308]),Du={state:"idle",location:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},gE={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},rs={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},l1=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,vE=e=>({hasErrorBoundary:!!e.hasErrorBoundary}),c1="remix-router-transitions";function yE(e){const t=e.window?e.window:typeof window<"u"?window:void 0,n=typeof t<"u"&&typeof t.document<"u"&&typeof t.document.createElement<"u",r=!n;ce(e.routes.length>0,"You must provide a non-empty routes array to createRouter");let o;if(e.mapRouteProperties)o=e.mapRouteProperties;else if(e.detectErrorBoundary){let $=e.detectErrorBoundary;o=T=>({hasErrorBoundary:$(T)})}else o=vE;let i={},s=Zd(e.routes,o,void 0,i),l,a=e.basename||"/",u=Ie({v7_fetcherPersist:!1,v7_normalizeFormMethod:!1,v7_partialHydration:!1,v7_prependBasename:!1,v7_relativeSplatPath:!1},e.future),d=null,f=new Set,p=null,g=null,m=null,x=e.hydrationData!=null,w=ii(s,e.history.location,a),v=null;if(w==null){let $=Ht(404,{pathname:e.history.location.pathname}),{matches:T,route:O}=Om(s);w=T,v={[O.id]:$}}let y,_=w.some($=>$.route.lazy),C=w.some($=>$.route.loader);if(_)y=!1;else if(!C)y=!0;else if(u.v7_partialHydration){let $=e.hydrationData?e.hydrationData.loaderData:null,T=e.hydrationData?e.hydrationData.errors:null;y=w.every(O=>O.route.loader&&O.route.loader.hydrate!==!0&&($&&$[O.route.id]!==void 0||T&&T[O.route.id]!==void 0))}else y=e.hydrationData!=null;let E,b={historyAction:e.history.action,location:e.history.location,matches:w,initialized:y,navigation:Du,restoreScrollPosition:e.hydrationData!=null?!1:null,preventScrollReset:!1,revalidation:"idle",loaderData:e.hydrationData&&e.hydrationData.loaderData||{},actionData:e.hydrationData&&e.hydrationData.actionData||null,errors:e.hydrationData&&e.hydrationData.errors||v,fetchers:new Map,blockers:new Map},k=Fe.Pop,j=!1,P,N=!1,M=new Map,I=null,U=!1,z=!1,q=[],K=[],Y=new Map,L=0,W=-1,X=new Map,ne=new Set,fe=new Map,ot=new Map,Ae=new Set,Ue=new Map,ve=new Map,it=!1;function vn(){if(d=e.history.listen($=>{let{action:T,location:O,delta:B}=$;if(it){it=!1;return}Ir(ve.size===0||B!=null,"You are trying to use a blocker on a POP navigation to a location that was not created by @remix-run/router. This will fail silently in production. This can happen if you are navigating outside the router via `window.history.pushState`/`window.location.hash` instead of using router navigation APIs. This can also happen if you are using createHashRouter and the user manually changes the URL.");let Q=Ro({currentLocation:b.location,nextLocation:O,historyAction:T});if(Q&&B!=null){it=!0,e.history.go(B*-1),ar(Q,{state:"blocked",location:O,proceed(){ar(Q,{state:"proceeding",proceed:void 0,reset:void 0,location:O}),e.history.go(B)},reset(){let ie=new Map(b.blockers);ie.set(Q,rs),Ge({blockers:ie})}});return}return Ke(T,O)}),n){TE(t,M);let $=()=>NE(t,M);t.addEventListener("pagehide",$),I=()=>t.removeEventListener("pagehide",$)}return b.initialized||Ke(Fe.Pop,b.location,{initialHydration:!0}),E}function An(){d&&d(),I&&I(),f.clear(),P&&P.abort(),b.fetchers.forEach(($,T)=>st(T)),b.blockers.forEach(($,T)=>$o(T))}function bo($){return f.add($),()=>f.delete($)}function Ge($,T){T===void 0&&(T={}),b=Ie({},b,$);let O=[],B=[];u.v7_fetcherPersist&&b.fetchers.forEach((Q,ie)=>{Q.state==="idle"&&(Ae.has(ie)?B.push(ie):O.push(ie))}),[...f].forEach(Q=>Q(b,{deletedFetchers:B,unstable_viewTransitionOpts:T.viewTransitionOpts,unstable_flushSync:T.flushSync===!0})),u.v7_fetcherPersist&&(O.forEach(Q=>b.fetchers.delete(Q)),B.forEach(Q=>st(Q)))}function yn($,T,O){var B,Q;let{flushSync:ie}=O===void 0?{}:O,oe=b.actionData!=null&&b.navigation.formMethod!=null&&ln(b.navigation.formMethod)&&b.navigation.state==="loading"&&((B=$.state)==null?void 0:B._isRedirect)!==!0,re;T.actionData?Object.keys(T.actionData).length>0?re=T.actionData:re=null:oe?re=b.actionData:re=null;let J=T.loaderData?Pm(b.loaderData,T.loaderData,T.matches||[],T.errors):b.loaderData,le=b.blockers;le.size>0&&(le=new Map(le),le.forEach((xe,et)=>le.set(et,rs)));let qe=j===!0||b.navigation.formMethod!=null&&ln(b.navigation.formMethod)&&((Q=$.state)==null?void 0:Q._isRedirect)!==!0;l&&(s=l,l=void 0),U||k===Fe.Pop||(k===Fe.Push?e.history.push($,$.state):k===Fe.Replace&&e.history.replace($,$.state));let se;if(k===Fe.Pop){let xe=M.get(b.location.pathname);xe&&xe.has($.pathname)?se={currentLocation:b.location,nextLocation:$}:M.has($.pathname)&&(se={currentLocation:$,nextLocation:b.location})}else if(N){let xe=M.get(b.location.pathname);xe?xe.add($.pathname):(xe=new Set([$.pathname]),M.set(b.location.pathname,xe)),se={currentLocation:b.location,nextLocation:$}}Ge(Ie({},T,{actionData:re,loaderData:J,historyAction:k,location:$,initialized:!0,navigation:Du,revalidation:"idle",restoreScrollPosition:fh($,T.matches||b.matches),preventScrollReset:qe,blockers:le}),{viewTransitionOpts:se,flushSync:ie===!0}),k=Fe.Pop,j=!1,N=!1,U=!1,z=!1,q=[],K=[]}async function nn($,T){if(typeof $=="number"){e.history.go($);return}let O=ef(b.location,b.matches,a,u.v7_prependBasename,$,u.v7_relativeSplatPath,T==null?void 0:T.fromRouteId,T==null?void 0:T.relative),{path:B,submission:Q,error:ie}=km(u.v7_normalizeFormMethod,!1,O,T),oe=b.location,re=ta(b.location,B,T&&T.state);re=Ie({},re,e.history.encodeLocation(re));let J=T&&T.replace!=null?T.replace:void 0,le=Fe.Push;J===!0?le=Fe.Replace:J===!1||Q!=null&&ln(Q.formMethod)&&Q.formAction===b.location.pathname+b.location.search&&(le=Fe.Replace);let qe=T&&"preventScrollReset"in T?T.preventScrollReset===!0:void 0,se=(T&&T.unstable_flushSync)===!0,xe=Ro({currentLocation:oe,nextLocation:re,historyAction:le});if(xe){ar(xe,{state:"blocked",location:re,proceed(){ar(xe,{state:"proceeding",proceed:void 0,reset:void 0,location:re}),nn($,T)},reset(){let et=new Map(b.blockers);et.set(xe,rs),Ge({blockers:et})}});return}return await Ke(le,re,{submission:Q,pendingError:ie,preventScrollReset:qe,replace:T&&T.replace,enableViewTransition:T&&T.unstable_viewTransition,flushSync:se})}function Vr(){if(H(),Ge({revalidation:"loading"}),b.navigation.state!=="submitting"){if(b.navigation.state==="idle"){Ke(b.historyAction,b.location,{startUninterruptedRevalidation:!0});return}Ke(k||b.historyAction,b.navigation.location,{overrideNavigation:b.navigation})}}async function Ke($,T,O){P&&P.abort(),P=null,k=$,U=(O&&O.startUninterruptedRevalidation)===!0,l_(b.location,b.matches),j=(O&&O.preventScrollReset)===!0,N=(O&&O.enableViewTransition)===!0;let B=l||s,Q=O&&O.overrideNavigation,ie=ii(B,T,a),oe=(O&&O.flushSync)===!0;if(!ie){let et=Ht(404,{pathname:T.pathname}),{matches:Bt,route:Ye}=Om(B);Kr(),yn(T,{matches:Bt,loaderData:{},errors:{[Ye.id]:et}},{flushSync:oe});return}if(b.initialized&&!z&&EE(b.location,T)&&!(O&&O.submission&&ln(O.submission.formMethod))){yn(T,{matches:ie},{flushSync:oe});return}P=new AbortController;let re=is(e.history,T,P.signal,O&&O.submission),J,le;if(O&&O.pendingError)le={[Ns(ie).route.id]:O.pendingError};else if(O&&O.submission&&ln(O.submission.formMethod)){let et=await Mn(re,T,O.submission,ie,{replace:O.replace,flushSync:oe});if(et.shortCircuited)return;J=et.pendingActionData,le=et.pendingActionError,Q=Iu(T,O.submission),oe=!1,re=new Request(re.url,{signal:re.signal})}let{shortCircuited:qe,loaderData:se,errors:xe}=await Gi(re,T,ie,Q,O&&O.submission,O&&O.fetcherSubmission,O&&O.replace,O&&O.initialHydration===!0,oe,J,le);qe||(P=null,yn(T,Ie({matches:ie},J?{actionData:J}:{},{loaderData:se,errors:xe})))}async function Mn($,T,O,B,Q){Q===void 0&&(Q={}),H();let ie=$E(T,O);Ge({navigation:ie},{flushSync:Q.flushSync===!0});let oe,re=nf(B,T);if(!re.route.action&&!re.route.lazy)oe={type:Me.error,error:Ht(405,{method:$.method,pathname:T.pathname,routeId:re.route.id})};else if(oe=await os("action",$,re,B,i,o,a,u.v7_relativeSplatPath),$.signal.aborted)return{shortCircuited:!0};if(gi(oe)){let J;return Q&&Q.replace!=null?J=Q.replace:J=oe.location===b.location.pathname+b.location.search,await Nt(b,oe,{submission:O,replace:J}),{shortCircuited:!0}}if(Ps(oe)){let J=Ns(B,re.route.id);return(Q&&Q.replace)!==!0&&(k=Fe.Push),{pendingActionData:{},pendingActionError:{[J.route.id]:oe.error}}}if(no(oe))throw Ht(400,{type:"defer-action"});return{pendingActionData:{[re.route.id]:oe.data}}}async function Gi($,T,O,B,Q,ie,oe,re,J,le,qe){let se=B||Iu(T,Q),xe=Q||ie||Dm(se),et=l||s,[Bt,Ye]=jm(e.history,b,O,xe,T,u.v7_partialHydration&&re===!0,z,q,K,Ae,fe,ne,et,a,le,qe);if(Kr(ye=>!(O&&O.some(Ce=>Ce.route.id===ye))||Bt&&Bt.some(Ce=>Ce.route.id===ye)),W=++L,Bt.length===0&&Ye.length===0){let ye=Co();return yn(T,Ie({matches:O,loaderData:{},errors:qe||null},le?{actionData:le}:{},ye?{fetchers:new Map(b.fetchers)}:{}),{flushSync:J}),{shortCircuited:!0}}if(!U&&(!u.v7_partialHydration||!re)){Ye.forEach(Ce=>{let xn=b.fetchers.get(Ce.key),Pa=ss(void 0,xn?xn.data:void 0);b.fetchers.set(Ce.key,Pa)});let ye=le||b.actionData;Ge(Ie({navigation:se},ye?Object.keys(ye).length===0?{actionData:null}:{actionData:ye}:{},Ye.length>0?{fetchers:new Map(b.fetchers)}:{}),{flushSync:J})}Ye.forEach(ye=>{Y.has(ye.key)&&mt(ye.key),ye.controller&&Y.set(ye.key,ye.controller)});let To=()=>Ye.forEach(ye=>mt(ye.key));P&&P.signal.addEventListener("abort",To);let{results:iu,loaderResults:No,fetcherResults:lr}=await Ta(b.matches,O,Bt,Ye,$);if($.signal.aborted)return{shortCircuited:!0};P&&P.signal.removeEventListener("abort",To),Ye.forEach(ye=>Y.delete(ye.key));let qr=Am(iu);if(qr){if(qr.idx>=Bt.length){let ye=Ye[qr.idx-Bt.length].key;ne.add(ye)}return await Nt(b,qr.result,{replace:oe}),{shortCircuited:!0}}let{loaderData:su,errors:au}=Nm(b,O,Bt,No,qe,Ye,lr,Ue);Ue.forEach((ye,Ce)=>{ye.subscribe(xn=>{(xn||ye.done)&&Ue.delete(Ce)})});let lu=Co(),Po=ko(W),Na=lu||Po||Ye.length>0;return Ie({loaderData:su,errors:au},Na?{fetchers:new Map(b.fetchers)}:{})}function Ki($,T,O,B){if(r)throw new Error("router.fetch() was called during the server render, but it shouldn't be. You are likely calling a useFetcher() method in the body of your component. Try moving it to a useEffect or a callback.");Y.has($)&&mt($);let Q=(B&&B.unstable_flushSync)===!0,ie=l||s,oe=ef(b.location,b.matches,a,u.v7_prependBasename,O,u.v7_relativeSplatPath,T,B==null?void 0:B.relative),re=ii(ie,oe,a);if(!re){je($,T,Ht(404,{pathname:oe}),{flushSync:Q});return}let{path:J,submission:le,error:qe}=km(u.v7_normalizeFormMethod,!0,oe,B);if(qe){je($,T,qe,{flushSync:Q});return}let se=nf(re,J);if(j=(B&&B.preventScrollReset)===!0,le&&ln(le.formMethod)){qi($,T,J,se,re,Q,le);return}fe.set($,{routeId:T,path:J}),So($,T,J,se,re,Q,le)}async function qi($,T,O,B,Q,ie,oe){if(H(),fe.delete($),!B.route.action&&!B.route.lazy){let Ce=Ht(405,{method:oe.formMethod,pathname:O,routeId:T});je($,T,Ce,{flushSync:ie});return}let re=b.fetchers.get($);ee($,RE(oe,re),{flushSync:ie});let J=new AbortController,le=is(e.history,O,J.signal,oe);Y.set($,J);let qe=L,se=await os("action",le,B,Q,i,o,a,u.v7_relativeSplatPath);if(le.signal.aborted){Y.get($)===J&&Y.delete($);return}if(Ae.has($)){ee($,mr(void 0));return}if(gi(se))if(Y.delete($),W>qe){ee($,mr(void 0));return}else return ne.add($),ee($,ss(oe)),Nt(b,se,{fetcherSubmission:oe});if(Ps(se)){je($,T,se.error);return}if(no(se))throw Ht(400,{type:"defer-action"});let xe=b.navigation.location||b.location,et=is(e.history,xe,J.signal),Bt=l||s,Ye=b.navigation.state!=="idle"?ii(Bt,b.navigation.location,a):b.matches;ce(Ye,"Didn't find any matches after fetcher action");let To=++L;X.set($,To);let iu=ss(oe,se.data);b.fetchers.set($,iu);let[No,lr]=jm(e.history,b,Ye,oe,xe,!1,z,q,K,Ae,fe,ne,Bt,a,{[B.route.id]:se.data},void 0);lr.filter(Ce=>Ce.key!==$).forEach(Ce=>{let xn=Ce.key,Pa=b.fetchers.get(xn),u_=ss(void 0,Pa?Pa.data:void 0);b.fetchers.set(xn,u_),Y.has(xn)&&mt(xn),Ce.controller&&Y.set(xn,Ce.controller)}),Ge({fetchers:new Map(b.fetchers)});let qr=()=>lr.forEach(Ce=>mt(Ce.key));J.signal.addEventListener("abort",qr);let{results:su,loaderResults:au,fetcherResults:lu}=await Ta(b.matches,Ye,No,lr,et);if(J.signal.aborted)return;J.signal.removeEventListener("abort",qr),X.delete($),Y.delete($),lr.forEach(Ce=>Y.delete(Ce.key));let Po=Am(su);if(Po){if(Po.idx>=No.length){let Ce=lr[Po.idx-No.length].key;ne.add(Ce)}return Nt(b,Po.result)}let{loaderData:Na,errors:ye}=Nm(b,b.matches,No,au,void 0,lr,lu,Ue);if(b.fetchers.has($)){let Ce=mr(se.data);b.fetchers.set($,Ce)}ko(To),b.navigation.state==="loading"&&To>W?(ce(k,"Expected pending action"),P&&P.abort(),yn(b.navigation.location,{matches:Ye,loaderData:Na,errors:ye,fetchers:new Map(b.fetchers)})):(Ge({errors:ye,loaderData:Pm(b.loaderData,Na,Ye,ye),fetchers:new Map(b.fetchers)}),z=!1)}async function So($,T,O,B,Q,ie,oe){let re=b.fetchers.get($);ee($,ss(oe,re?re.data:void 0),{flushSync:ie});let J=new AbortController,le=is(e.history,O,J.signal);Y.set($,J);let qe=L,se=await os("loader",le,B,Q,i,o,a,u.v7_relativeSplatPath);if(no(se)&&(se=await f1(se,le.signal,!0)||se),Y.get($)===J&&Y.delete($),!le.signal.aborted){if(Ae.has($)){ee($,mr(void 0));return}if(gi(se))if(W>qe){ee($,mr(void 0));return}else{ne.add($),await Nt(b,se);return}if(Ps(se)){je($,T,se.error);return}ce(!no(se),"Unhandled fetcher deferred data"),ee($,mr(se.data))}}async function Nt($,T,O){let{submission:B,fetcherSubmission:Q,replace:ie}=O===void 0?{}:O;T.revalidate&&(z=!0);let oe=ta($.location,T.location,{_isRedirect:!0});if(ce(oe,"Expected a location on the redirect navigation"),n){let xe=!1;if(T.reloadDocument)xe=!0;else if(l1.test(T.location)){const et=e.history.createURL(T.location);xe=et.origin!==t.location.origin||va(et.pathname,a)==null}if(xe){ie?t.location.replace(T.location):t.location.assign(T.location);return}}P=null;let re=ie===!0?Fe.Replace:Fe.Push,{formMethod:J,formAction:le,formEncType:qe}=$.navigation;!B&&!Q&&J&&le&&qe&&(B=Dm($.navigation));let se=B||Q;if(mE.has(T.status)&&se&&ln(se.formMethod))await Ke(re,oe,{submission:Ie({},se,{formAction:T.location}),preventScrollReset:j});else{let xe=Iu(oe,B);await Ke(re,oe,{overrideNavigation:xe,fetcherSubmission:Q,preventScrollReset:j})}}async function Ta($,T,O,B,Q){let ie=await Promise.all([...O.map(J=>os("loader",Q,J,T,i,o,a,u.v7_relativeSplatPath)),...B.map(J=>J.matches&&J.match&&J.controller?os("loader",is(e.history,J.path,J.controller.signal),J.match,J.matches,i,o,a,u.v7_relativeSplatPath):{type:Me.error,error:Ht(404,{pathname:J.path})})]),oe=ie.slice(0,O.length),re=ie.slice(O.length);return await Promise.all([Mm($,O,oe,oe.map(()=>Q.signal),!1,b.loaderData),Mm($,B.map(J=>J.match),re,B.map(J=>J.controller?J.controller.signal:null),!0)]),{results:ie,loaderResults:oe,fetcherResults:re}}function H(){z=!0,q.push(...Kr()),fe.forEach(($,T)=>{Y.has(T)&&(K.push(T),mt(T))})}function ee($,T,O){O===void 0&&(O={}),b.fetchers.set($,T),Ge({fetchers:new Map(b.fetchers)},{flushSync:(O&&O.flushSync)===!0})}function je($,T,O,B){B===void 0&&(B={});let Q=Ns(b.matches,T);st($),Ge({errors:{[Q.route.id]:O},fetchers:new Map(b.fetchers)},{flushSync:(B&&B.flushSync)===!0})}function Ze($){return u.v7_fetcherPersist&&(ot.set($,(ot.get($)||0)+1),Ae.has($)&&Ae.delete($)),b.fetchers.get($)||gE}function st($){let T=b.fetchers.get($);Y.has($)&&!(T&&T.state==="loading"&&X.has($))&&mt($),fe.delete($),X.delete($),ne.delete($),Ae.delete($),b.fetchers.delete($)}function Gr($){if(u.v7_fetcherPersist){let T=(ot.get($)||0)-1;T<=0?(ot.delete($),Ae.add($)):ot.set($,T)}else st($);Ge({fetchers:new Map(b.fetchers)})}function mt($){let T=Y.get($);ce(T,"Expected fetch controller: "+$),T.abort(),Y.delete($)}function Eo($){for(let T of $){let O=Ze(T),B=mr(O.data);b.fetchers.set(T,B)}}function Co(){let $=[],T=!1;for(let O of ne){let B=b.fetchers.get(O);ce(B,"Expected fetcher: "+O),B.state==="loading"&&(ne.delete(O),$.push(O),T=!0)}return Eo($),T}function ko($){let T=[];for(let[O,B]of X)if(B<$){let Q=b.fetchers.get(O);ce(Q,"Expected fetcher: "+O),Q.state==="loading"&&(mt(O),X.delete(O),T.push(O))}return Eo(T),T.length>0}function jo($,T){let O=b.blockers.get($)||rs;return ve.get($)!==T&&ve.set($,T),O}function $o($){b.blockers.delete($),ve.delete($)}function ar($,T){let O=b.blockers.get($)||rs;ce(O.state==="unblocked"&&T.state==="blocked"||O.state==="blocked"&&T.state==="blocked"||O.state==="blocked"&&T.state==="proceeding"||O.state==="blocked"&&T.state==="unblocked"||O.state==="proceeding"&&T.state==="unblocked","Invalid blocker state transition: "+O.state+" -> "+T.state);let B=new Map(b.blockers);B.set($,T),Ge({blockers:B})}function Ro($){let{currentLocation:T,nextLocation:O,historyAction:B}=$;if(ve.size===0)return;ve.size>1&&Ir(!1,"A router only supports one blocker at a time");let Q=Array.from(ve.entries()),[ie,oe]=Q[Q.length-1],re=b.blockers.get(ie);if(!(re&&re.state==="proceeding")&&oe({currentLocation:T,nextLocation:O,historyAction:B}))return ie}function Kr($){let T=[];return Ue.forEach((O,B)=>{(!$||$(B))&&(O.cancel(),T.push(B),Ue.delete(B))}),T}function ou($,T,O){if(p=$,m=T,g=O||null,!x&&b.navigation===Du){x=!0;let B=fh(b.location,b.matches);B!=null&&Ge({restoreScrollPosition:B})}return()=>{p=null,m=null,g=null}}function dh($,T){return g&&g($,T.map(B=>HS(B,b.loaderData)))||$.key}function l_($,T){if(p&&m){let O=dh($,T);p[O]=m()}}function fh($,T){if(p){let O=dh($,T),B=p[O];if(typeof B=="number")return B}return null}function c_($){i={},l=Zd($,o,void 0,i)}return E={get basename(){return a},get future(){return u},get state(){return b},get routes(){return s},get window(){return t},initialize:vn,subscribe:bo,enableScrollRestoration:ou,navigate:nn,fetch:Ki,revalidate:Vr,createHref:$=>e.history.createHref($),encodeLocation:$=>e.history.encodeLocation($),getFetcher:Ze,deleteFetcher:Gr,dispose:An,getBlocker:jo,deleteBlocker:$o,_internalFetchControllers:Y,_internalActiveDeferreds:Ue,_internalSetRoutes:c_},E}function xE(e){return e!=null&&("formData"in e&&e.formData!=null||"body"in e&&e.body!==void 0)}function ef(e,t,n,r,o,i,s,l){let a,u;if(s){a=[];for(let f of t)if(a.push(f),f.route.id===s){u=f;break}}else a=t,u=t[t.length-1];let d=aE(o||".",sE(a,i),va(e.pathname,n)||e.pathname,l==="path");return o==null&&(d.search=e.search,d.hash=e.hash),(o==null||o===""||o===".")&&u&&u.route.index&&!Np(d.search)&&(d.search=d.search?d.search.replace(/^\?/,"?index&"):"?index"),r&&n!=="/"&&(d.pathname=d.pathname==="/"?n:so([n,d.pathname])),ga(d)}function km(e,t,n,r){if(!r||!xE(r))return{path:n};if(r.formMethod&&!jE(r.formMethod))return{path:n,error:Ht(405,{method:r.formMethod})};let o=()=>({path:n,error:Ht(400,{type:"invalid-body"})}),i=r.formMethod||"get",s=e?i.toUpperCase():i.toLowerCase(),l=d1(n);if(r.body!==void 0){if(r.formEncType==="text/plain"){if(!ln(s))return o();let p=typeof r.body=="string"?r.body:r.body instanceof FormData||r.body instanceof URLSearchParams?Array.from(r.body.entries()).reduce((g,m)=>{let[x,w]=m;return""+g+x+"="+w+` + */function Ie(){return Ie=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function Ir(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function FS(){return Math.random().toString(36).substr(2,8)}function Em(e,t){return{usr:e.state,key:e.key,idx:t}}function ta(e,t,n,r){return n===void 0&&(n=null),Ie({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?Pn(t):t,{state:n,key:t&&t.key||r||FS()})}function ga(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 zS(e,t,n,r){r===void 0&&(r={});let{window:o=document.defaultView,v5Compat:i=!1}=r,s=o.history,l=Fe.Pop,a=null,u=d();u==null&&(u=0,s.replaceState(Ie({},s.state,{idx:u}),""));function d(){return(s.state||{idx:null}).idx}function f(){l=Fe.Pop;let w=d(),v=w==null?null:w-u;u=w,a&&a({action:l,location:x.location,delta:v})}function p(w,v){l=Fe.Push;let y=ta(x.location,w,v);n&&n(y,w),u=d()+1;let _=Em(y,u),C=x.createHref(y);try{s.pushState(_,"",C)}catch(E){if(E instanceof DOMException&&E.name==="DataCloneError")throw E;o.location.assign(C)}i&&a&&a({action:l,location:x.location,delta:1})}function g(w,v){l=Fe.Replace;let y=ta(x.location,w,v);n&&n(y,w),u=d();let _=Em(y,u),C=x.createHref(y);s.replaceState(_,"",C),i&&a&&a({action:l,location:x.location,delta:0})}function m(w){let v=o.location.origin!=="null"?o.location.origin:o.location.href,y=typeof w=="string"?w:ga(w);return ce(v,"No window.location.(origin|href) available to create URL for href: "+y),new URL(y,v)}let x={get action(){return l},get location(){return e(o,s)},listen(w){if(a)throw new Error("A history only accepts one active listener");return o.addEventListener(Sm,f),a=w,()=>{o.removeEventListener(Sm,f),a=null}},createHref(w){return t(o,w)},createURL:m,encodeLocation(w){let v=m(w);return{pathname:v.pathname,search:v.search,hash:v.hash}},push:p,replace:g,go(w){return s.go(w)}};return x}var Me;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(Me||(Me={}));const BS=new Set(["lazy","caseSensitive","path","id","index","children"]);function US(e){return e.index===!0}function Zd(e,t,n,r){return n===void 0&&(n=[]),r===void 0&&(r={}),e.map((o,i)=>{let s=[...n,i],l=typeof o.id=="string"?o.id:s.join("-");if(ce(o.index!==!0||!o.children,"Cannot specify children on an index route"),ce(!r[l],'Found a route id collision on id "'+l+`". Route id's must be globally unique within Data Router usages`),US(o)){let a=Ie({},o,t(o),{id:l});return r[l]=a,a}else{let a=Ie({},o,t(o),{id:l,children:void 0});return r[l]=a,o.children&&(a.children=Zd(o.children,t,s,r)),a}})}function ii(e,t,n){n===void 0&&(n="/");let r=typeof t=="string"?Pn(t):t,o=va(r.pathname||"/",n);if(o==null)return null;let i=r1(e);WS(i);let s=null;for(let l=0;s==null&&l{let a={relativePath:l===void 0?i.path||"":l,caseSensitive:i.caseSensitive===!0,childrenIndex:s,route:i};a.relativePath.startsWith("/")&&(ce(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 u=so([r,a.relativePath]),d=n.concat(a);i.children&&i.children.length>0&&(ce(i.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+u+'".')),r1(i.children,t,d,u)),!(i.path==null&&!i.index)&&t.push({path:u,score:XS(u,i.index),routesMeta:d})};return e.forEach((i,s)=>{var l;if(i.path===""||!((l=i.path)!=null&&l.includes("?")))o(i,s);else for(let a of o1(i.path))o(i,s,a)}),t}function o1(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,o=n.endsWith("?"),i=n.replace(/\?$/,"");if(r.length===0)return o?[i,""]:[i];let s=o1(r.join("/")),l=[];return l.push(...s.map(a=>a===""?i:[i,a].join("/"))),o&&l.push(...s),l.map(a=>e.startsWith("/")&&a===""?"/":a)}function WS(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:JS(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const VS=/^:\w+$/,GS=3,KS=2,qS=1,YS=10,QS=-2,Cm=e=>e==="*";function XS(e,t){let n=e.split("/"),r=n.length;return n.some(Cm)&&(r+=QS),t&&(r+=KS),n.filter(o=>!Cm(o)).reduce((o,i)=>o+(VS.test(i)?GS:i===""?qS:YS),r)}function JS(e,t){return e.length===t.length&&e.slice(0,-1).every((r,o)=>r===t[o])?e[e.length-1]-t[t.length-1]:0}function ZS(e,t){let{routesMeta:n}=e,r={},o="/",i=[];for(let s=0;s{let{paramName:p,isOptional:g}=d;if(p==="*"){let x=l[f]||"";s=i.slice(0,i.length-x.length).replace(/(.)\/+$/,"$1")}const m=l[f];return g&&!m?u[p]=void 0:u[p]=rE(m||"",p),u},{}),pathname:i,pathnameBase:s,pattern:e}}function tE(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),Ir(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=[],o="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:(\w+)(\?)?/g,(s,l,a)=>(r.push({paramName:l,isOptional:a!=null}),a?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),o+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?o+="\\/*$":e!==""&&e!=="/"&&(o+="(?:(?=\\/|$))"),[new RegExp(o,t?void 0:"i"),r]}function nE(e){try{return decodeURI(e)}catch(t){return Ir(!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 rE(e,t){try{return decodeURIComponent(e)}catch(n){return Ir(!1,'The value for the URL param "'+t+'" will not be decoded because'+(' the string "'+e+'" is a malformed URL segment. This is probably')+(" due to a bad percent encoding ("+n+").")),e}}function va(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 oE(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:o=""}=typeof e=="string"?Pn(e):e;return{pathname:n?n.startsWith("/")?n:iE(n,t):t,search:cE(r),hash:uE(o)}}function iE(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(o=>{o===".."?n.length>1&&n.pop():o!=="."&&n.push(o)}),n.length>1?n.join("/"):"/"}function Mu(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 i1(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function sE(e,t){let n=i1(e);return t?n.map((r,o)=>o===e.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function aE(e,t,n,r){r===void 0&&(r=!1);let o;typeof e=="string"?o=Pn(e):(o=Ie({},e),ce(!o.pathname||!o.pathname.includes("?"),Mu("?","pathname","search",o)),ce(!o.pathname||!o.pathname.includes("#"),Mu("#","pathname","hash",o)),ce(!o.search||!o.search.includes("#"),Mu("#","search","hash",o)));let i=e===""||o.pathname==="",s=i?"/":o.pathname,l;if(s==null)l=n;else if(r){let f=t.length===0?[]:t[t.length-1].replace(/^\//,"").split("/");if(s.startsWith("..")){let p=s.split("/");for(;p[0]==="..";)p.shift(),f.pop();o.pathname=p.join("/")}l="/"+f.join("/")}else{let f=t.length-1;if(s.startsWith("..")){let p=s.split("/");for(;p[0]==="..";)p.shift(),f-=1;o.pathname=p.join("/")}l=f>=0?t[f]:"/"}let a=oE(o,l),u=s&&s!=="/"&&s.endsWith("/"),d=(i||s===".")&&n.endsWith("/");return!a.pathname.endsWith("/")&&(u||d)&&(a.pathname+="/"),a}const so=e=>e.join("/").replace(/\/\/+/g,"/"),lE=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),cE=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,uE=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;class Tp{constructor(t,n,r,o){o===void 0&&(o=!1),this.status=t,this.statusText=n||"",this.internal=o,r instanceof Error?(this.data=r.toString(),this.error=r):this.data=r}}function s1(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const a1=["post","put","patch","delete"],dE=new Set(a1),fE=["get",...a1],pE=new Set(fE),hE=new Set([301,302,303,307,308]),mE=new Set([307,308]),Du={state:"idle",location:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},gE={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},rs={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},l1=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,vE=e=>({hasErrorBoundary:!!e.hasErrorBoundary}),c1="remix-router-transitions";function yE(e){const t=e.window?e.window:typeof window<"u"?window:void 0,n=typeof t<"u"&&typeof t.document<"u"&&typeof t.document.createElement<"u",r=!n;ce(e.routes.length>0,"You must provide a non-empty routes array to createRouter");let o;if(e.mapRouteProperties)o=e.mapRouteProperties;else if(e.detectErrorBoundary){let $=e.detectErrorBoundary;o=T=>({hasErrorBoundary:$(T)})}else o=vE;let i={},s=Zd(e.routes,o,void 0,i),l,a=e.basename||"/",u=Ie({v7_fetcherPersist:!1,v7_normalizeFormMethod:!1,v7_partialHydration:!1,v7_prependBasename:!1,v7_relativeSplatPath:!1},e.future),d=null,f=new Set,p=null,g=null,m=null,x=e.hydrationData!=null,w=ii(s,e.history.location,a),v=null;if(w==null){let $=Ht(404,{pathname:e.history.location.pathname}),{matches:T,route:O}=Om(s);w=T,v={[O.id]:$}}let y,_=w.some($=>$.route.lazy),C=w.some($=>$.route.loader);if(_)y=!1;else if(!C)y=!0;else if(u.v7_partialHydration){let $=e.hydrationData?e.hydrationData.loaderData:null,T=e.hydrationData?e.hydrationData.errors:null;y=w.every(O=>O.route.loader&&O.route.loader.hydrate!==!0&&($&&$[O.route.id]!==void 0||T&&T[O.route.id]!==void 0))}else y=e.hydrationData!=null;let E,b={historyAction:e.history.action,location:e.history.location,matches:w,initialized:y,navigation:Du,restoreScrollPosition:e.hydrationData!=null?!1:null,preventScrollReset:!1,revalidation:"idle",loaderData:e.hydrationData&&e.hydrationData.loaderData||{},actionData:e.hydrationData&&e.hydrationData.actionData||null,errors:e.hydrationData&&e.hydrationData.errors||v,fetchers:new Map,blockers:new Map},k=Fe.Pop,j=!1,P,N=!1,M=new Map,I=null,U=!1,z=!1,q=[],K=[],Y=new Map,L=0,W=-1,X=new Map,ne=new Set,fe=new Map,ot=new Map,Ae=new Set,Ue=new Map,ve=new Map,it=!1;function vn(){if(d=e.history.listen($=>{let{action:T,location:O,delta:B}=$;if(it){it=!1;return}Ir(ve.size===0||B!=null,"You are trying to use a blocker on a POP navigation to a location that was not created by @remix-run/router. This will fail silently in production. This can happen if you are navigating outside the router via `window.history.pushState`/`window.location.hash` instead of using router navigation APIs. This can also happen if you are using createHashRouter and the user manually changes the URL.");let Q=Ro({currentLocation:b.location,nextLocation:O,historyAction:T});if(Q&&B!=null){it=!0,e.history.go(B*-1),ar(Q,{state:"blocked",location:O,proceed(){ar(Q,{state:"proceeding",proceed:void 0,reset:void 0,location:O}),e.history.go(B)},reset(){let ie=new Map(b.blockers);ie.set(Q,rs),Ge({blockers:ie})}});return}return Ke(T,O)}),n){TE(t,M);let $=()=>NE(t,M);t.addEventListener("pagehide",$),I=()=>t.removeEventListener("pagehide",$)}return b.initialized||Ke(Fe.Pop,b.location,{initialHydration:!0}),E}function An(){d&&d(),I&&I(),f.clear(),P&&P.abort(),b.fetchers.forEach(($,T)=>st(T)),b.blockers.forEach(($,T)=>$o(T))}function bo($){return f.add($),()=>f.delete($)}function Ge($,T){T===void 0&&(T={}),b=Ie({},b,$);let O=[],B=[];u.v7_fetcherPersist&&b.fetchers.forEach((Q,ie)=>{Q.state==="idle"&&(Ae.has(ie)?B.push(ie):O.push(ie))}),[...f].forEach(Q=>Q(b,{deletedFetchers:B,unstable_viewTransitionOpts:T.viewTransitionOpts,unstable_flushSync:T.flushSync===!0})),u.v7_fetcherPersist&&(O.forEach(Q=>b.fetchers.delete(Q)),B.forEach(Q=>st(Q)))}function yn($,T,O){var B,Q;let{flushSync:ie}=O===void 0?{}:O,oe=b.actionData!=null&&b.navigation.formMethod!=null&&ln(b.navigation.formMethod)&&b.navigation.state==="loading"&&((B=$.state)==null?void 0:B._isRedirect)!==!0,re;T.actionData?Object.keys(T.actionData).length>0?re=T.actionData:re=null:oe?re=b.actionData:re=null;let J=T.loaderData?Pm(b.loaderData,T.loaderData,T.matches||[],T.errors):b.loaderData,le=b.blockers;le.size>0&&(le=new Map(le),le.forEach((xe,et)=>le.set(et,rs)));let qe=j===!0||b.navigation.formMethod!=null&&ln(b.navigation.formMethod)&&((Q=$.state)==null?void 0:Q._isRedirect)!==!0;l&&(s=l,l=void 0),U||k===Fe.Pop||(k===Fe.Push?e.history.push($,$.state):k===Fe.Replace&&e.history.replace($,$.state));let se;if(k===Fe.Pop){let xe=M.get(b.location.pathname);xe&&xe.has($.pathname)?se={currentLocation:b.location,nextLocation:$}:M.has($.pathname)&&(se={currentLocation:$,nextLocation:b.location})}else if(N){let xe=M.get(b.location.pathname);xe?xe.add($.pathname):(xe=new Set([$.pathname]),M.set(b.location.pathname,xe)),se={currentLocation:b.location,nextLocation:$}}Ge(Ie({},T,{actionData:re,loaderData:J,historyAction:k,location:$,initialized:!0,navigation:Du,revalidation:"idle",restoreScrollPosition:fh($,T.matches||b.matches),preventScrollReset:qe,blockers:le}),{viewTransitionOpts:se,flushSync:ie===!0}),k=Fe.Pop,j=!1,N=!1,U=!1,z=!1,q=[],K=[]}async function nn($,T){if(typeof $=="number"){e.history.go($);return}let O=ef(b.location,b.matches,a,u.v7_prependBasename,$,u.v7_relativeSplatPath,T==null?void 0:T.fromRouteId,T==null?void 0:T.relative),{path:B,submission:Q,error:ie}=km(u.v7_normalizeFormMethod,!1,O,T),oe=b.location,re=ta(b.location,B,T&&T.state);re=Ie({},re,e.history.encodeLocation(re));let J=T&&T.replace!=null?T.replace:void 0,le=Fe.Push;J===!0?le=Fe.Replace:J===!1||Q!=null&&ln(Q.formMethod)&&Q.formAction===b.location.pathname+b.location.search&&(le=Fe.Replace);let qe=T&&"preventScrollReset"in T?T.preventScrollReset===!0:void 0,se=(T&&T.unstable_flushSync)===!0,xe=Ro({currentLocation:oe,nextLocation:re,historyAction:le});if(xe){ar(xe,{state:"blocked",location:re,proceed(){ar(xe,{state:"proceeding",proceed:void 0,reset:void 0,location:re}),nn($,T)},reset(){let et=new Map(b.blockers);et.set(xe,rs),Ge({blockers:et})}});return}return await Ke(le,re,{submission:Q,pendingError:ie,preventScrollReset:qe,replace:T&&T.replace,enableViewTransition:T&&T.unstable_viewTransition,flushSync:se})}function Vr(){if(H(),Ge({revalidation:"loading"}),b.navigation.state!=="submitting"){if(b.navigation.state==="idle"){Ke(b.historyAction,b.location,{startUninterruptedRevalidation:!0});return}Ke(k||b.historyAction,b.navigation.location,{overrideNavigation:b.navigation})}}async function Ke($,T,O){P&&P.abort(),P=null,k=$,U=(O&&O.startUninterruptedRevalidation)===!0,l_(b.location,b.matches),j=(O&&O.preventScrollReset)===!0,N=(O&&O.enableViewTransition)===!0;let B=l||s,Q=O&&O.overrideNavigation,ie=ii(B,T,a),oe=(O&&O.flushSync)===!0;if(!ie){let et=Ht(404,{pathname:T.pathname}),{matches:Bt,route:Ye}=Om(B);Kr(),yn(T,{matches:Bt,loaderData:{},errors:{[Ye.id]:et}},{flushSync:oe});return}if(b.initialized&&!z&&EE(b.location,T)&&!(O&&O.submission&&ln(O.submission.formMethod))){yn(T,{matches:ie},{flushSync:oe});return}P=new AbortController;let re=is(e.history,T,P.signal,O&&O.submission),J,le;if(O&&O.pendingError)le={[Ns(ie).route.id]:O.pendingError};else if(O&&O.submission&&ln(O.submission.formMethod)){let et=await Mn(re,T,O.submission,ie,{replace:O.replace,flushSync:oe});if(et.shortCircuited)return;J=et.pendingActionData,le=et.pendingActionError,Q=Iu(T,O.submission),oe=!1,re=new Request(re.url,{signal:re.signal})}let{shortCircuited:qe,loaderData:se,errors:xe}=await Gi(re,T,ie,Q,O&&O.submission,O&&O.fetcherSubmission,O&&O.replace,O&&O.initialHydration===!0,oe,J,le);qe||(P=null,yn(T,Ie({matches:ie},J?{actionData:J}:{},{loaderData:se,errors:xe})))}async function Mn($,T,O,B,Q){Q===void 0&&(Q={}),H();let ie=$E(T,O);Ge({navigation:ie},{flushSync:Q.flushSync===!0});let oe,re=nf(B,T);if(!re.route.action&&!re.route.lazy)oe={type:Me.error,error:Ht(405,{method:$.method,pathname:T.pathname,routeId:re.route.id})};else if(oe=await os("action",$,re,B,i,o,a,u.v7_relativeSplatPath),$.signal.aborted)return{shortCircuited:!0};if(gi(oe)){let J;return Q&&Q.replace!=null?J=Q.replace:J=oe.location===b.location.pathname+b.location.search,await Nt(b,oe,{submission:O,replace:J}),{shortCircuited:!0}}if(Ps(oe)){let J=Ns(B,re.route.id);return(Q&&Q.replace)!==!0&&(k=Fe.Push),{pendingActionData:{},pendingActionError:{[J.route.id]:oe.error}}}if(no(oe))throw Ht(400,{type:"defer-action"});return{pendingActionData:{[re.route.id]:oe.data}}}async function Gi($,T,O,B,Q,ie,oe,re,J,le,qe){let se=B||Iu(T,Q),xe=Q||ie||Dm(se),et=l||s,[Bt,Ye]=jm(e.history,b,O,xe,T,u.v7_partialHydration&&re===!0,z,q,K,Ae,fe,ne,et,a,le,qe);if(Kr(ye=>!(O&&O.some(Ce=>Ce.route.id===ye))||Bt&&Bt.some(Ce=>Ce.route.id===ye)),W=++L,Bt.length===0&&Ye.length===0){let ye=Co();return yn(T,Ie({matches:O,loaderData:{},errors:qe||null},le?{actionData:le}:{},ye?{fetchers:new Map(b.fetchers)}:{}),{flushSync:J}),{shortCircuited:!0}}if(!U&&(!u.v7_partialHydration||!re)){Ye.forEach(Ce=>{let xn=b.fetchers.get(Ce.key),Oa=ss(void 0,xn?xn.data:void 0);b.fetchers.set(Ce.key,Oa)});let ye=le||b.actionData;Ge(Ie({navigation:se},ye?Object.keys(ye).length===0?{actionData:null}:{actionData:ye}:{},Ye.length>0?{fetchers:new Map(b.fetchers)}:{}),{flushSync:J})}Ye.forEach(ye=>{Y.has(ye.key)&&mt(ye.key),ye.controller&&Y.set(ye.key,ye.controller)});let To=()=>Ye.forEach(ye=>mt(ye.key));P&&P.signal.addEventListener("abort",To);let{results:iu,loaderResults:No,fetcherResults:lr}=await Na(b.matches,O,Bt,Ye,$);if($.signal.aborted)return{shortCircuited:!0};P&&P.signal.removeEventListener("abort",To),Ye.forEach(ye=>Y.delete(ye.key));let qr=Am(iu);if(qr){if(qr.idx>=Bt.length){let ye=Ye[qr.idx-Bt.length].key;ne.add(ye)}return await Nt(b,qr.result,{replace:oe}),{shortCircuited:!0}}let{loaderData:su,errors:au}=Nm(b,O,Bt,No,qe,Ye,lr,Ue);Ue.forEach((ye,Ce)=>{ye.subscribe(xn=>{(xn||ye.done)&&Ue.delete(Ce)})});let lu=Co(),Po=ko(W),Pa=lu||Po||Ye.length>0;return Ie({loaderData:su,errors:au},Pa?{fetchers:new Map(b.fetchers)}:{})}function Ki($,T,O,B){if(r)throw new Error("router.fetch() was called during the server render, but it shouldn't be. You are likely calling a useFetcher() method in the body of your component. Try moving it to a useEffect or a callback.");Y.has($)&&mt($);let Q=(B&&B.unstable_flushSync)===!0,ie=l||s,oe=ef(b.location,b.matches,a,u.v7_prependBasename,O,u.v7_relativeSplatPath,T,B==null?void 0:B.relative),re=ii(ie,oe,a);if(!re){je($,T,Ht(404,{pathname:oe}),{flushSync:Q});return}let{path:J,submission:le,error:qe}=km(u.v7_normalizeFormMethod,!0,oe,B);if(qe){je($,T,qe,{flushSync:Q});return}let se=nf(re,J);if(j=(B&&B.preventScrollReset)===!0,le&&ln(le.formMethod)){qi($,T,J,se,re,Q,le);return}fe.set($,{routeId:T,path:J}),So($,T,J,se,re,Q,le)}async function qi($,T,O,B,Q,ie,oe){if(H(),fe.delete($),!B.route.action&&!B.route.lazy){let Ce=Ht(405,{method:oe.formMethod,pathname:O,routeId:T});je($,T,Ce,{flushSync:ie});return}let re=b.fetchers.get($);ee($,RE(oe,re),{flushSync:ie});let J=new AbortController,le=is(e.history,O,J.signal,oe);Y.set($,J);let qe=L,se=await os("action",le,B,Q,i,o,a,u.v7_relativeSplatPath);if(le.signal.aborted){Y.get($)===J&&Y.delete($);return}if(Ae.has($)){ee($,mr(void 0));return}if(gi(se))if(Y.delete($),W>qe){ee($,mr(void 0));return}else return ne.add($),ee($,ss(oe)),Nt(b,se,{fetcherSubmission:oe});if(Ps(se)){je($,T,se.error);return}if(no(se))throw Ht(400,{type:"defer-action"});let xe=b.navigation.location||b.location,et=is(e.history,xe,J.signal),Bt=l||s,Ye=b.navigation.state!=="idle"?ii(Bt,b.navigation.location,a):b.matches;ce(Ye,"Didn't find any matches after fetcher action");let To=++L;X.set($,To);let iu=ss(oe,se.data);b.fetchers.set($,iu);let[No,lr]=jm(e.history,b,Ye,oe,xe,!1,z,q,K,Ae,fe,ne,Bt,a,{[B.route.id]:se.data},void 0);lr.filter(Ce=>Ce.key!==$).forEach(Ce=>{let xn=Ce.key,Oa=b.fetchers.get(xn),u_=ss(void 0,Oa?Oa.data:void 0);b.fetchers.set(xn,u_),Y.has(xn)&&mt(xn),Ce.controller&&Y.set(xn,Ce.controller)}),Ge({fetchers:new Map(b.fetchers)});let qr=()=>lr.forEach(Ce=>mt(Ce.key));J.signal.addEventListener("abort",qr);let{results:su,loaderResults:au,fetcherResults:lu}=await Na(b.matches,Ye,No,lr,et);if(J.signal.aborted)return;J.signal.removeEventListener("abort",qr),X.delete($),Y.delete($),lr.forEach(Ce=>Y.delete(Ce.key));let Po=Am(su);if(Po){if(Po.idx>=No.length){let Ce=lr[Po.idx-No.length].key;ne.add(Ce)}return Nt(b,Po.result)}let{loaderData:Pa,errors:ye}=Nm(b,b.matches,No,au,void 0,lr,lu,Ue);if(b.fetchers.has($)){let Ce=mr(se.data);b.fetchers.set($,Ce)}ko(To),b.navigation.state==="loading"&&To>W?(ce(k,"Expected pending action"),P&&P.abort(),yn(b.navigation.location,{matches:Ye,loaderData:Pa,errors:ye,fetchers:new Map(b.fetchers)})):(Ge({errors:ye,loaderData:Pm(b.loaderData,Pa,Ye,ye),fetchers:new Map(b.fetchers)}),z=!1)}async function So($,T,O,B,Q,ie,oe){let re=b.fetchers.get($);ee($,ss(oe,re?re.data:void 0),{flushSync:ie});let J=new AbortController,le=is(e.history,O,J.signal);Y.set($,J);let qe=L,se=await os("loader",le,B,Q,i,o,a,u.v7_relativeSplatPath);if(no(se)&&(se=await f1(se,le.signal,!0)||se),Y.get($)===J&&Y.delete($),!le.signal.aborted){if(Ae.has($)){ee($,mr(void 0));return}if(gi(se))if(W>qe){ee($,mr(void 0));return}else{ne.add($),await Nt(b,se);return}if(Ps(se)){je($,T,se.error);return}ce(!no(se),"Unhandled fetcher deferred data"),ee($,mr(se.data))}}async function Nt($,T,O){let{submission:B,fetcherSubmission:Q,replace:ie}=O===void 0?{}:O;T.revalidate&&(z=!0);let oe=ta($.location,T.location,{_isRedirect:!0});if(ce(oe,"Expected a location on the redirect navigation"),n){let xe=!1;if(T.reloadDocument)xe=!0;else if(l1.test(T.location)){const et=e.history.createURL(T.location);xe=et.origin!==t.location.origin||va(et.pathname,a)==null}if(xe){ie?t.location.replace(T.location):t.location.assign(T.location);return}}P=null;let re=ie===!0?Fe.Replace:Fe.Push,{formMethod:J,formAction:le,formEncType:qe}=$.navigation;!B&&!Q&&J&&le&&qe&&(B=Dm($.navigation));let se=B||Q;if(mE.has(T.status)&&se&&ln(se.formMethod))await Ke(re,oe,{submission:Ie({},se,{formAction:T.location}),preventScrollReset:j});else{let xe=Iu(oe,B);await Ke(re,oe,{overrideNavigation:xe,fetcherSubmission:Q,preventScrollReset:j})}}async function Na($,T,O,B,Q){let ie=await Promise.all([...O.map(J=>os("loader",Q,J,T,i,o,a,u.v7_relativeSplatPath)),...B.map(J=>J.matches&&J.match&&J.controller?os("loader",is(e.history,J.path,J.controller.signal),J.match,J.matches,i,o,a,u.v7_relativeSplatPath):{type:Me.error,error:Ht(404,{pathname:J.path})})]),oe=ie.slice(0,O.length),re=ie.slice(O.length);return await Promise.all([Mm($,O,oe,oe.map(()=>Q.signal),!1,b.loaderData),Mm($,B.map(J=>J.match),re,B.map(J=>J.controller?J.controller.signal:null),!0)]),{results:ie,loaderResults:oe,fetcherResults:re}}function H(){z=!0,q.push(...Kr()),fe.forEach(($,T)=>{Y.has(T)&&(K.push(T),mt(T))})}function ee($,T,O){O===void 0&&(O={}),b.fetchers.set($,T),Ge({fetchers:new Map(b.fetchers)},{flushSync:(O&&O.flushSync)===!0})}function je($,T,O,B){B===void 0&&(B={});let Q=Ns(b.matches,T);st($),Ge({errors:{[Q.route.id]:O},fetchers:new Map(b.fetchers)},{flushSync:(B&&B.flushSync)===!0})}function Ze($){return u.v7_fetcherPersist&&(ot.set($,(ot.get($)||0)+1),Ae.has($)&&Ae.delete($)),b.fetchers.get($)||gE}function st($){let T=b.fetchers.get($);Y.has($)&&!(T&&T.state==="loading"&&X.has($))&&mt($),fe.delete($),X.delete($),ne.delete($),Ae.delete($),b.fetchers.delete($)}function Gr($){if(u.v7_fetcherPersist){let T=(ot.get($)||0)-1;T<=0?(ot.delete($),Ae.add($)):ot.set($,T)}else st($);Ge({fetchers:new Map(b.fetchers)})}function mt($){let T=Y.get($);ce(T,"Expected fetch controller: "+$),T.abort(),Y.delete($)}function Eo($){for(let T of $){let O=Ze(T),B=mr(O.data);b.fetchers.set(T,B)}}function Co(){let $=[],T=!1;for(let O of ne){let B=b.fetchers.get(O);ce(B,"Expected fetcher: "+O),B.state==="loading"&&(ne.delete(O),$.push(O),T=!0)}return Eo($),T}function ko($){let T=[];for(let[O,B]of X)if(B<$){let Q=b.fetchers.get(O);ce(Q,"Expected fetcher: "+O),Q.state==="loading"&&(mt(O),X.delete(O),T.push(O))}return Eo(T),T.length>0}function jo($,T){let O=b.blockers.get($)||rs;return ve.get($)!==T&&ve.set($,T),O}function $o($){b.blockers.delete($),ve.delete($)}function ar($,T){let O=b.blockers.get($)||rs;ce(O.state==="unblocked"&&T.state==="blocked"||O.state==="blocked"&&T.state==="blocked"||O.state==="blocked"&&T.state==="proceeding"||O.state==="blocked"&&T.state==="unblocked"||O.state==="proceeding"&&T.state==="unblocked","Invalid blocker state transition: "+O.state+" -> "+T.state);let B=new Map(b.blockers);B.set($,T),Ge({blockers:B})}function Ro($){let{currentLocation:T,nextLocation:O,historyAction:B}=$;if(ve.size===0)return;ve.size>1&&Ir(!1,"A router only supports one blocker at a time");let Q=Array.from(ve.entries()),[ie,oe]=Q[Q.length-1],re=b.blockers.get(ie);if(!(re&&re.state==="proceeding")&&oe({currentLocation:T,nextLocation:O,historyAction:B}))return ie}function Kr($){let T=[];return Ue.forEach((O,B)=>{(!$||$(B))&&(O.cancel(),T.push(B),Ue.delete(B))}),T}function ou($,T,O){if(p=$,m=T,g=O||null,!x&&b.navigation===Du){x=!0;let B=fh(b.location,b.matches);B!=null&&Ge({restoreScrollPosition:B})}return()=>{p=null,m=null,g=null}}function dh($,T){return g&&g($,T.map(B=>HS(B,b.loaderData)))||$.key}function l_($,T){if(p&&m){let O=dh($,T);p[O]=m()}}function fh($,T){if(p){let O=dh($,T),B=p[O];if(typeof B=="number")return B}return null}function c_($){i={},l=Zd($,o,void 0,i)}return E={get basename(){return a},get future(){return u},get state(){return b},get routes(){return s},get window(){return t},initialize:vn,subscribe:bo,enableScrollRestoration:ou,navigate:nn,fetch:Ki,revalidate:Vr,createHref:$=>e.history.createHref($),encodeLocation:$=>e.history.encodeLocation($),getFetcher:Ze,deleteFetcher:Gr,dispose:An,getBlocker:jo,deleteBlocker:$o,_internalFetchControllers:Y,_internalActiveDeferreds:Ue,_internalSetRoutes:c_},E}function xE(e){return e!=null&&("formData"in e&&e.formData!=null||"body"in e&&e.body!==void 0)}function ef(e,t,n,r,o,i,s,l){let a,u;if(s){a=[];for(let f of t)if(a.push(f),f.route.id===s){u=f;break}}else a=t,u=t[t.length-1];let d=aE(o||".",sE(a,i),va(e.pathname,n)||e.pathname,l==="path");return o==null&&(d.search=e.search,d.hash=e.hash),(o==null||o===""||o===".")&&u&&u.route.index&&!Np(d.search)&&(d.search=d.search?d.search.replace(/^\?/,"?index&"):"?index"),r&&n!=="/"&&(d.pathname=d.pathname==="/"?n:so([n,d.pathname])),ga(d)}function km(e,t,n,r){if(!r||!xE(r))return{path:n};if(r.formMethod&&!jE(r.formMethod))return{path:n,error:Ht(405,{method:r.formMethod})};let o=()=>({path:n,error:Ht(400,{type:"invalid-body"})}),i=r.formMethod||"get",s=e?i.toUpperCase():i.toLowerCase(),l=d1(n);if(r.body!==void 0){if(r.formEncType==="text/plain"){if(!ln(s))return o();let p=typeof r.body=="string"?r.body:r.body instanceof FormData||r.body instanceof URLSearchParams?Array.from(r.body.entries()).reduce((g,m)=>{let[x,w]=m;return""+g+x+"="+w+` `},""):String(r.body);return{path:n,submission:{formMethod:s,formAction:l,formEncType:r.formEncType,formData:void 0,json:void 0,text:p}}}else if(r.formEncType==="application/json"){if(!ln(s))return o();try{let p=typeof r.body=="string"?JSON.parse(r.body):r.body;return{path:n,submission:{formMethod:s,formAction:l,formEncType:r.formEncType,formData:void 0,json:p,text:void 0}}}catch{return o()}}}ce(typeof FormData=="function","FormData is not available in this environment");let a,u;if(r.formData)a=tf(r.formData),u=r.formData;else if(r.body instanceof FormData)a=tf(r.body),u=r.body;else if(r.body instanceof URLSearchParams)a=r.body,u=Tm(a);else if(r.body==null)a=new URLSearchParams,u=new FormData;else try{a=new URLSearchParams(r.body),u=Tm(a)}catch{return o()}let d={formMethod:s,formAction:l,formEncType:r&&r.formEncType||"application/x-www-form-urlencoded",formData:u,json:void 0,text:void 0};if(ln(d.formMethod))return{path:n,submission:d};let f=Pn(n);return t&&f.search&&Np(f.search)&&a.append("index",""),f.search="?"+a,{path:ga(f),submission:d}}function wE(e,t){let n=e;if(t){let r=e.findIndex(o=>o.route.id===t);r>=0&&(n=e.slice(0,r))}return n}function jm(e,t,n,r,o,i,s,l,a,u,d,f,p,g,m,x){let w=x?Object.values(x)[0]:m?Object.values(m)[0]:void 0,v=e.createURL(t.location),y=e.createURL(o),_=x?Object.keys(x)[0]:void 0,E=wE(n,_).filter((k,j)=>{if(i)return _E(t,k.route);if(k.route.lazy)return!0;if(k.route.loader==null)return!1;if(bE(t.loaderData,t.matches[j],k)||l.some(M=>M===k.route.id))return!0;let P=t.matches[j],N=k;return $m(k,Ie({currentUrl:v,currentParams:P.params,nextUrl:y,nextParams:N.params},r,{actionResult:w,defaultShouldRevalidate:s||v.pathname+v.search===y.pathname+y.search||v.search!==y.search||u1(P,N)}))}),b=[];return d.forEach((k,j)=>{if(i||!n.some(U=>U.route.id===k.routeId)||u.has(j))return;let P=ii(p,k.path,g);if(!P){b.push({key:j,routeId:k.routeId,path:k.path,matches:null,match:null,controller:null});return}let N=t.fetchers.get(j),M=nf(P,k.path),I=!1;f.has(j)?I=!1:a.includes(j)?I=!0:N&&N.state!=="idle"&&N.data===void 0?I=s:I=$m(M,Ie({currentUrl:v,currentParams:t.matches[t.matches.length-1].params,nextUrl:y,nextParams:n[n.length-1].params},r,{actionResult:w,defaultShouldRevalidate:s})),I&&b.push({key:j,routeId:k.routeId,path:k.path,matches:P,match:M,controller:new AbortController})}),[E,b]}function _E(e,t){return t.loader?t.loader.hydrate?!0:e.loaderData[t.id]===void 0&&(!e.errors||e.errors[t.id]===void 0):!1}function bE(e,t,n){let r=!t||n.route.id!==t.route.id,o=e[n.route.id]===void 0;return r||o}function u1(e,t){let n=e.route.path;return e.pathname!==t.pathname||n!=null&&n.endsWith("*")&&e.params["*"]!==t.params["*"]}function $m(e,t){if(e.route.shouldRevalidate){let n=e.route.shouldRevalidate(t);if(typeof n=="boolean")return n}return t.defaultShouldRevalidate}async function Rm(e,t,n){if(!e.lazy)return;let r=await e.lazy();if(!e.lazy)return;let o=n[e.id];ce(o,"No route found in manifest");let i={};for(let s in r){let a=o[s]!==void 0&&s!=="hasErrorBoundary";Ir(!a,'Route "'+o.id+'" has a static property "'+s+'" defined but its lazy function is also returning a value for this property. '+('The lazy route property "'+s+'" will be ignored.')),!a&&!BS.has(s)&&(i[s]=r[s])}Object.assign(o,i),Object.assign(o,Ie({},t(o),{lazy:void 0}))}async function os(e,t,n,r,o,i,s,l,a){a===void 0&&(a={});let u,d,f,p=x=>{let w,v=new Promise((y,_)=>w=_);return f=()=>w(),t.signal.addEventListener("abort",f),Promise.race([x({request:t,params:n.params,context:a.requestContext}),v])};try{let x=n.route[e];if(n.route.lazy)if(x){let w,v=await Promise.all([p(x).catch(y=>{w=y}),Rm(n.route,i,o)]);if(w)throw w;d=v[0]}else if(await Rm(n.route,i,o),x=n.route[e],x)d=await p(x);else if(e==="action"){let w=new URL(t.url),v=w.pathname+w.search;throw Ht(405,{method:t.method,pathname:v,routeId:n.route.id})}else return{type:Me.data,data:void 0};else if(x)d=await p(x);else{let w=new URL(t.url),v=w.pathname+w.search;throw Ht(404,{pathname:v})}ce(d!==void 0,"You defined "+(e==="action"?"an action":"a loader")+" for route "+('"'+n.route.id+"\" but didn't return anything from your `"+e+"` ")+"function. Please return a value or `null`.")}catch(x){u=Me.error,d=x}finally{f&&t.signal.removeEventListener("abort",f)}if(kE(d)){let x=d.status;if(hE.has(x)){let v=d.headers.get("Location");if(ce(v,"Redirects returned/thrown from loaders/actions must have a Location header"),!l1.test(v))v=ef(new URL(t.url),r.slice(0,r.indexOf(n)+1),s,!0,v,l);else if(!a.isStaticRequest){let y=new URL(t.url),_=v.startsWith("//")?new URL(y.protocol+v):new URL(v),C=va(_.pathname,s)!=null;_.origin===y.origin&&C&&(v=_.pathname+_.search+_.hash)}if(a.isStaticRequest)throw d.headers.set("Location",v),d;return{type:Me.redirect,status:x,location:v,revalidate:d.headers.get("X-Remix-Revalidate")!==null,reloadDocument:d.headers.get("X-Remix-Reload-Document")!==null}}if(a.isRouteRequest)throw{type:u===Me.error?Me.error:Me.data,response:d};let w;try{let v=d.headers.get("Content-Type");v&&/\bapplication\/json\b/.test(v)?w=await d.json():w=await d.text()}catch(v){return{type:Me.error,error:v}}return u===Me.error?{type:u,error:new Tp(x,d.statusText,w),headers:d.headers}:{type:Me.data,data:w,statusCode:d.status,headers:d.headers}}if(u===Me.error)return{type:u,error:d};if(CE(d)){var g,m;return{type:Me.deferred,deferredData:d,statusCode:(g=d.init)==null?void 0:g.status,headers:((m=d.init)==null?void 0:m.headers)&&new Headers(d.init.headers)}}return{type:Me.data,data:d}}function is(e,t,n,r){let o=e.createURL(d1(t)).toString(),i={signal:n};if(r&&ln(r.formMethod)){let{formMethod:s,formEncType:l}=r;i.method=s.toUpperCase(),l==="application/json"?(i.headers=new Headers({"Content-Type":l}),i.body=JSON.stringify(r.json)):l==="text/plain"?i.body=r.text:l==="application/x-www-form-urlencoded"&&r.formData?i.body=tf(r.formData):i.body=r.formData}return new Request(o,i)}function tf(e){let t=new URLSearchParams;for(let[n,r]of e.entries())t.append(n,typeof r=="string"?r:r.name);return t}function Tm(e){let t=new FormData;for(let[n,r]of e.entries())t.append(n,r);return t}function SE(e,t,n,r,o){let i={},s=null,l,a=!1,u={};return n.forEach((d,f)=>{let p=t[f].route.id;if(ce(!gi(d),"Cannot handle redirect results in processLoaderData"),Ps(d)){let g=Ns(e,p),m=d.error;r&&(m=Object.values(r)[0],r=void 0),s=s||{},s[g.route.id]==null&&(s[g.route.id]=m),i[p]=void 0,a||(a=!0,l=s1(d.error)?d.error.status:500),d.headers&&(u[p]=d.headers)}else no(d)?(o.set(p,d.deferredData),i[p]=d.deferredData.data):i[p]=d.data,d.statusCode!=null&&d.statusCode!==200&&!a&&(l=d.statusCode),d.headers&&(u[p]=d.headers)}),r&&(s=r,i[Object.keys(r)[0]]=void 0),{loaderData:i,errors:s,statusCode:l||200,loaderHeaders:u}}function Nm(e,t,n,r,o,i,s,l){let{loaderData:a,errors:u}=SE(t,n,r,o,l);for(let d=0;dr.route.id===t)+1):[...e]).reverse().find(r=>r.route.hasErrorBoundary===!0)||e[0]}function Om(e){let t=e.length===1?e[0]:e.find(n=>n.index||!n.path||n.path==="/")||{id:"__shim-error-route__"};return{matches:[{params:{},pathname:"",pathnameBase:"",route:t}],route:t}}function Ht(e,t){let{pathname:n,routeId:r,method:o,type:i}=t===void 0?{}:t,s="Unknown Server Error",l="Unknown @remix-run/router error";return e===400?(s="Bad Request",o&&n&&r?l="You made a "+o+' request to "'+n+'" but '+('did not provide a `loader` for route "'+r+'", ')+"so there is no way to handle the request.":i==="defer-action"?l="defer() is not supported in actions":i==="invalid-body"&&(l="Unable to encode submission body")):e===403?(s="Forbidden",l='Route "'+r+'" does not match URL "'+n+'"'):e===404?(s="Not Found",l='No route matches URL "'+n+'"'):e===405&&(s="Method Not Allowed",o&&n&&r?l="You made a "+o.toUpperCase()+' request to "'+n+'" but '+('did not provide an `action` for route "'+r+'", ')+"so there is no way to handle the request.":o&&(l='Invalid request method "'+o.toUpperCase()+'"')),new Tp(e||500,s,new Error(l),!0)}function Am(e){for(let t=e.length-1;t>=0;t--){let n=e[t];if(gi(n))return{result:n,idx:t}}}function d1(e){let t=typeof e=="string"?Pn(e):e;return ga(Ie({},t,{hash:""}))}function EE(e,t){return e.pathname!==t.pathname||e.search!==t.search?!1:e.hash===""?t.hash!=="":e.hash===t.hash?!0:t.hash!==""}function no(e){return e.type===Me.deferred}function Ps(e){return e.type===Me.error}function gi(e){return(e&&e.type)===Me.redirect}function CE(e){let t=e;return t&&typeof t=="object"&&typeof t.data=="object"&&typeof t.subscribe=="function"&&typeof t.cancel=="function"&&typeof t.resolveData=="function"}function kE(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.headers=="object"&&typeof e.body<"u"}function jE(e){return pE.has(e.toLowerCase())}function ln(e){return dE.has(e.toLowerCase())}async function Mm(e,t,n,r,o,i){for(let s=0;sf.route.id===a.route.id),d=u!=null&&!u1(u,a)&&(i&&i[a.route.id])!==void 0;if(no(l)&&(o||d)){let f=r[s];ce(f,"Expected an AbortSignal for revalidating fetcher deferred result"),await f1(l,f,o).then(p=>{p&&(n[s]=p||n[s])})}}}async function f1(e,t,n){if(n===void 0&&(n=!1),!await e.deferredData.resolveData(t)){if(n)try{return{type:Me.data,data:e.deferredData.unwrappedData}}catch(o){return{type:Me.error,error:o}}return{type:Me.data,data:e.deferredData.data}}}function Np(e){return new URLSearchParams(e).getAll("index").some(t=>t==="")}function nf(e,t){let n=typeof t=="string"?Pn(t).search:t.search;if(e[e.length-1].route.index&&Np(n||""))return e[e.length-1];let r=i1(e);return r[r.length-1]}function Dm(e){let{formMethod:t,formAction:n,formEncType:r,text:o,formData:i,json:s}=e;if(!(!t||!n||!r)){if(o!=null)return{formMethod:t,formAction:n,formEncType:r,formData:void 0,json:void 0,text:o};if(i!=null)return{formMethod:t,formAction:n,formEncType:r,formData:i,json:void 0,text:void 0};if(s!==void 0)return{formMethod:t,formAction:n,formEncType:r,formData:void 0,json:s,text:void 0}}}function Iu(e,t){return t?{state:"loading",location:e,formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text}:{state:"loading",location:e,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0}}function $E(e,t){return{state:"submitting",location:e,formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text}}function ss(e,t){return e?{state:"loading",formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:t}:{state:"loading",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:t}}function RE(e,t){return{state:"submitting",formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:t?t.data:void 0}}function mr(e){return{state:"idle",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:e}}function TE(e,t){try{let n=e.sessionStorage.getItem(c1);if(n){let r=JSON.parse(n);for(let[o,i]of Object.entries(r||{}))i&&Array.isArray(i)&&t.set(o,new Set(i||[]))}}catch{}}function NE(e,t){if(t.size>0){let n={};for(let[r,o]of t)n[r]=[...o];try{e.sessionStorage.setItem(c1,JSON.stringify(n))}catch(r){Ir(!1,"Failed to save applied view transitions in sessionStorage ("+r+").")}}}/** * React Router v6.21.0 * @@ -56,7 +56,7 @@ Error generating stack: `+i.message+` * LICENSE.md file in the root directory of this source tree. * * @license MIT - */function oc(){return oc=Object.assign?Object.assign.bind():function(e){for(var t=1;tObject.assign({},w,{params:Object.assign({},l,w.params),pathname:so([a,o.encodeLocation?o.encodeLocation(w.pathname).pathname:w.pathname]),pathnameBase:w.pathnameBase==="/"?a:so([a,o.encodeLocation?o.encodeLocation(w.pathnameBase).pathname:w.pathnameBase])})),i,n,r);return t&&x?h.createElement(Wc.Provider,{value:{location:oc({pathname:"/",search:"",hash:"",state:null,key:"default"},d),navigationType:Fe.Pop}},x):x}function ME(){let e=HE(),t=s1(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,o={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"},i=null;return h.createElement(h.Fragment,null,h.createElement("h2",null,"Unexpected Application Error!"),h.createElement("h3",{style:{fontStyle:"italic"}},t),n?h.createElement("pre",{style:o},n):null,i)}const DE=h.createElement(ME,null);class IE extends h.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?h.createElement(ya.Provider,{value:this.props.routeContext},h.createElement(g1.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function LE(e){let{routeContext:t,match:n,children:r}=e,o=h.useContext(p1);return o&&o.static&&o.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=n.route.id),h.createElement(ya.Provider,{value:t},r)}function FE(e,t,n,r){var o;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var i;if((i=n)!=null&&i.errors)e=n.matches;else return null}let s=e,l=(o=n)==null?void 0:o.errors;if(l!=null){let d=s.findIndex(f=>f.route.id&&(l==null?void 0:l[f.route.id]));d>=0||ce(!1),s=s.slice(0,Math.min(s.length,d+1))}let a=!1,u=-1;if(n&&r&&r.v7_partialHydration)for(let d=0;d=0?s=s.slice(0,u+1):s=[s[0]];break}}return s.reduceRight((d,f,p)=>{let g,m=!1,x=null,w=null;n&&(g=l&&f.route.id?l[f.route.id]:void 0,x=f.route.errorElement||DE,a&&(u<0&&p===0?(WE("route-fallback",!1),m=!0,w=null):u===p&&(m=!0,w=f.route.hydrateFallbackElement||null)));let v=t.concat(s.slice(0,p+1)),y=()=>{let _;return g?_=x:m?_=w:f.route.Component?_=h.createElement(f.route.Component,null):f.route.element?_=f.route.element:_=d,h.createElement(LE,{match:f,routeContext:{outlet:d,matches:v,isDataRoute:n!=null},children:_})};return n&&(f.route.ErrorBoundary||f.route.errorElement||p===0)?h.createElement(IE,{location:n.location,revalidation:n.revalidation,component:x,error:g,children:y(),routeContext:{outlet:null,matches:v,isDataRoute:!0}}):y()},null)}var rf=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}(rf||{});function zE(e){let t=h.useContext(h1);return t||ce(!1),t}function BE(e){let t=h.useContext(ya);return t||ce(!1),t}function UE(e){let t=BE(),n=t.matches[t.matches.length-1];return n.route.id||ce(!1),n.route.id}function HE(){var e;let t=h.useContext(g1),n=zE(rf.UseRouteError),r=UE(rf.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}const Im={};function WE(e,t,n){!t&&!Im[e]&&(Im[e]=!0)}function VE(e){let{basename:t="/",children:n=null,location:r,navigationType:o=Fe.Pop,navigator:i,static:s=!1,future:l}=e;Pp()&&ce(!1);let a=t.replace(/^\/*/,"/"),u=h.useMemo(()=>({basename:a,navigator:i,static:s,future:oc({v7_relativeSplatPath:!1},l)}),[a,l,i,s]);typeof r=="string"&&(r=Pn(r));let{pathname:d="/",search:f="",hash:p="",state:g=null,key:m="default"}=r,x=h.useMemo(()=>{let w=va(d,a);return w==null?null:{location:{pathname:w,search:f,hash:p,state:g,key:m},navigationType:o}},[a,d,f,p,g,m,o]);return x==null?null:h.createElement(m1.Provider,{value:u},h.createElement(Wc.Provider,{children:n,value:x}))}new Promise(()=>{});function GE(e){let t={hasErrorBoundary:e.ErrorBoundary!=null||e.errorElement!=null};return e.Component&&Object.assign(t,{element:h.createElement(e.Component),Component:void 0}),e.HydrateFallback&&Object.assign(t,{hydrateFallbackElement:h.createElement(e.HydrateFallback),HydrateFallback:void 0}),e.ErrorBoundary&&Object.assign(t,{errorElement:h.createElement(e.ErrorBoundary),ErrorBoundary:void 0}),t}/** + */function ic(){return ic=Object.assign?Object.assign.bind():function(e){for(var t=1;tObject.assign({},w,{params:Object.assign({},l,w.params),pathname:so([a,o.encodeLocation?o.encodeLocation(w.pathname).pathname:w.pathname]),pathnameBase:w.pathnameBase==="/"?a:so([a,o.encodeLocation?o.encodeLocation(w.pathnameBase).pathname:w.pathnameBase])})),i,n,r);return t&&x?h.createElement(Vc.Provider,{value:{location:ic({pathname:"/",search:"",hash:"",state:null,key:"default"},d),navigationType:Fe.Pop}},x):x}function ME(){let e=HE(),t=s1(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,o={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"},i=null;return h.createElement(h.Fragment,null,h.createElement("h2",null,"Unexpected Application Error!"),h.createElement("h3",{style:{fontStyle:"italic"}},t),n?h.createElement("pre",{style:o},n):null,i)}const DE=h.createElement(ME,null);class IE extends h.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?h.createElement(ya.Provider,{value:this.props.routeContext},h.createElement(g1.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function LE(e){let{routeContext:t,match:n,children:r}=e,o=h.useContext(p1);return o&&o.static&&o.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=n.route.id),h.createElement(ya.Provider,{value:t},r)}function FE(e,t,n,r){var o;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var i;if((i=n)!=null&&i.errors)e=n.matches;else return null}let s=e,l=(o=n)==null?void 0:o.errors;if(l!=null){let d=s.findIndex(f=>f.route.id&&(l==null?void 0:l[f.route.id]));d>=0||ce(!1),s=s.slice(0,Math.min(s.length,d+1))}let a=!1,u=-1;if(n&&r&&r.v7_partialHydration)for(let d=0;d=0?s=s.slice(0,u+1):s=[s[0]];break}}return s.reduceRight((d,f,p)=>{let g,m=!1,x=null,w=null;n&&(g=l&&f.route.id?l[f.route.id]:void 0,x=f.route.errorElement||DE,a&&(u<0&&p===0?(WE("route-fallback",!1),m=!0,w=null):u===p&&(m=!0,w=f.route.hydrateFallbackElement||null)));let v=t.concat(s.slice(0,p+1)),y=()=>{let _;return g?_=x:m?_=w:f.route.Component?_=h.createElement(f.route.Component,null):f.route.element?_=f.route.element:_=d,h.createElement(LE,{match:f,routeContext:{outlet:d,matches:v,isDataRoute:n!=null},children:_})};return n&&(f.route.ErrorBoundary||f.route.errorElement||p===0)?h.createElement(IE,{location:n.location,revalidation:n.revalidation,component:x,error:g,children:y(),routeContext:{outlet:null,matches:v,isDataRoute:!0}}):y()},null)}var rf=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}(rf||{});function zE(e){let t=h.useContext(h1);return t||ce(!1),t}function BE(e){let t=h.useContext(ya);return t||ce(!1),t}function UE(e){let t=BE(),n=t.matches[t.matches.length-1];return n.route.id||ce(!1),n.route.id}function HE(){var e;let t=h.useContext(g1),n=zE(rf.UseRouteError),r=UE(rf.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}const Im={};function WE(e,t,n){!t&&!Im[e]&&(Im[e]=!0)}function VE(e){let{basename:t="/",children:n=null,location:r,navigationType:o=Fe.Pop,navigator:i,static:s=!1,future:l}=e;Pp()&&ce(!1);let a=t.replace(/^\/*/,"/"),u=h.useMemo(()=>({basename:a,navigator:i,static:s,future:ic({v7_relativeSplatPath:!1},l)}),[a,l,i,s]);typeof r=="string"&&(r=Pn(r));let{pathname:d="/",search:f="",hash:p="",state:g=null,key:m="default"}=r,x=h.useMemo(()=>{let w=va(d,a);return w==null?null:{location:{pathname:w,search:f,hash:p,state:g,key:m},navigationType:o}},[a,d,f,p,g,m,o]);return x==null?null:h.createElement(m1.Provider,{value:u},h.createElement(Vc.Provider,{children:n,value:x}))}new Promise(()=>{});function GE(e){let t={hasErrorBoundary:e.ErrorBoundary!=null||e.errorElement!=null};return e.Component&&Object.assign(t,{element:h.createElement(e.Component),Component:void 0}),e.HydrateFallback&&Object.assign(t,{hydrateFallbackElement:h.createElement(e.HydrateFallback),HydrateFallback:void 0}),e.ErrorBoundary&&Object.assign(t,{errorElement:h.createElement(e.ErrorBoundary),ErrorBoundary:void 0}),t}/** * React Router DOM v6.21.0 * * Copyright (c) Remix Software Inc. @@ -65,11 +65,11 @@ Error generating stack: `+i.message+` * LICENSE.md file in the root directory of this source tree. * * @license MIT - */function ic(){return ic=Object.assign?Object.assign.bind():function(e){for(var t=1;t{this.resolve=r=>{this.status==="pending"&&(this.status="resolved",t(r))},this.reject=r=>{this.status==="pending"&&(this.status="rejected",n(r))}})}}function nC(e){let{fallbackElement:t,router:n,future:r}=e,[o,i]=h.useState(n.state),[s,l]=h.useState(),[a,u]=h.useState({isTransitioning:!1}),[d,f]=h.useState(),[p,g]=h.useState(),[m,x]=h.useState(),w=h.useRef(new Map),{v7_startTransition:v}=r||{},y=h.useCallback(k=>{v?eC(k):k()},[v]),_=h.useCallback((k,j)=>{let{deletedFetchers:P,unstable_flushSync:N,unstable_viewTransitionOpts:M}=j;P.forEach(U=>w.current.delete(U)),k.fetchers.forEach((U,z)=>{U.data!==void 0&&w.current.set(z,U.data)});let I=n.window==null||typeof n.window.document.startViewTransition!="function";if(!M||I){N?as(()=>i(k)):y(()=>i(k));return}if(N){as(()=>{p&&(d&&d.resolve(),p.skipTransition()),u({isTransitioning:!0,flushSync:!0,currentLocation:M.currentLocation,nextLocation:M.nextLocation})});let U=n.window.document.startViewTransition(()=>{as(()=>i(k))});U.finished.finally(()=>{as(()=>{f(void 0),g(void 0),l(void 0),u({isTransitioning:!1})})}),as(()=>g(U));return}p?(d&&d.resolve(),p.skipTransition(),x({state:k,currentLocation:M.currentLocation,nextLocation:M.nextLocation})):(l(k),u({isTransitioning:!0,flushSync:!1,currentLocation:M.currentLocation,nextLocation:M.nextLocation}))},[n.window,p,d,w,y]);h.useLayoutEffect(()=>n.subscribe(_),[n,_]),h.useEffect(()=>{a.isTransitioning&&!a.flushSync&&f(new tC)},[a]),h.useEffect(()=>{if(d&&s&&n.window){let k=s,j=d.promise,P=n.window.document.startViewTransition(async()=>{y(()=>i(k)),await j});P.finished.finally(()=>{f(void 0),g(void 0),l(void 0),u({isTransitioning:!1})}),g(P)}},[y,s,d,n.window]),h.useEffect(()=>{d&&s&&o.location.key===s.location.key&&d.resolve()},[d,p,o.location,s]),h.useEffect(()=>{!a.isTransitioning&&m&&(l(m.state),u({isTransitioning:!0,flushSync:!1,currentLocation:m.currentLocation,nextLocation:m.nextLocation}),x(void 0))},[a.isTransitioning,m]),h.useEffect(()=>{},[]);let C=h.useMemo(()=>({createHref:n.createHref,encodeLocation:n.encodeLocation,go:k=>n.navigate(k),push:(k,j,P)=>n.navigate(k,{state:j,preventScrollReset:P==null?void 0:P.preventScrollReset}),replace:(k,j,P)=>n.navigate(k,{replace:!0,state:j,preventScrollReset:P==null?void 0:P.preventScrollReset})}),[n]),E=n.basename||"/",b=h.useMemo(()=>({router:n,navigator:C,static:!1,basename:E}),[n,C,E]);return h.createElement(h.Fragment,null,h.createElement(p1.Provider,{value:b},h.createElement(h1.Provider,{value:o},h.createElement(XE.Provider,{value:w.current},h.createElement(QE.Provider,{value:a},h.createElement(VE,{basename:E,location:o.location,navigationType:o.historyAction,navigator:C,future:{v7_relativeSplatPath:n.future.v7_relativeSplatPath}},o.initialized||n.future.v7_partialHydration?h.createElement(rC,{routes:n.routes,future:n.future,state:o}):t))))),null)}function rC(e){let{routes:t,future:n,state:r}=e;return AE(t,void 0,r,n)}var zm;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(zm||(zm={}));var Bm;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(Bm||(Bm={}));var R=(e=>(e.Easy="easy",e.Medium="medium",e.Hard="hard",e))(R||{});const Um=[R.Easy,R.Medium,R.Hard];function Vc(e){return new Map([...e.entries()].sort((t,n)=>{const r=Um.indexOf(t[1].difficulty),o=Um.indexOf(n[1].difficulty);return r-o}))}const oC=new Map([["counter",{title:"Counter",link:"counter/",difficulty:R.Easy,developer:"sadanandpai",youtube:"https://youtu.be/9OIeUtXX3SA",tags:[]}],["bmi-calculator",{title:"BMI Calculator",link:"bmi-calculator/",difficulty:R.Easy,developer:"itsayopapi",tags:[]}],["dice-game",{title:"Dice Game",link:"dice-game/",difficulty:R.Easy,developer:"shivam200446",tags:[],isNew:!0}],["roll-dice",{title:"Roll dice",link:"roll-dice/",difficulty:R.Easy,developer:"babandakale",tags:[]}],["guess-the-number",{title:"Guess the number",link:"guess-the-number/",difficulty:R.Easy,developer:"sadanandpai",youtube:"https://youtu.be/L1Da3GWEGpY",tags:[]}],["string-transformers",{title:"String transformers",link:"string-transformers/",difficulty:R.Easy,developer:"sadanandpai",youtube:"https://youtu.be/crCZEJ6Lmgc",tags:[]}],["file-uploader",{title:"File Uploader",link:"file-uploader/",difficulty:R.Easy,developer:"avtech",tags:[],isNew:!0}],["telephone-formatter",{title:"Telephone formatter",link:"telephone-formatter/",difficulty:R.Easy,developer:"sadanandpai",youtube:"https://youtu.be/E85ldVqAGjw",tags:[]}],["dialog-popup",{title:"Dialog Popup",link:"dialog-popup/",difficulty:R.Easy,developer:"sahankatta",youtube:"https://youtu.be/aIzyEDi6zgU",tags:[]}],["light-dark-mode",{title:"Light & Dark mode",link:"light-dark-mode/",difficulty:R.Easy,developer:"sadanandpai",youtube:"https://youtu.be/hxcGGhjYNFE",tags:[]}],["skeleton-loader",{title:"Skeleton Loader",link:"skeleton-loader/",difficulty:R.Easy,developer:"sahankatta",youtube:"https://youtu.be/FEtTRjq1P6I",tags:[]}],["spinning-loader",{title:"Spinning Loader",link:"spinning-loader/",difficulty:R.Easy,developer:"DhanushNehru",tags:[]}],["music-kit",{title:"Music Kit",link:"music-kit/",difficulty:R.Easy,developer:"shivam200446",tags:[]}],["currency-converter",{title:"Currency Converter",link:"currency-converter/",difficulty:R.Easy,developer:"pranav514",tags:[],isNew:!0}],["accordion",{title:"Accordion",link:"accordion/",difficulty:R.Easy,developer:"rashidtvmr",youtube:"https://youtu.be/03KFXudVaoo",tags:[]}],["navigation-bar",{title:"Navigation Bar",link:"navigation-bar/",difficulty:R.Easy,developer:"christian-lee1398",youtube:"https://youtu.be/urA5ogzG0L0",tags:[]}],["Footer",{title:"Footer",link:"Footer/",difficulty:R.Easy,developer:"AbhineshJha",youtube:"https://youtu.be/FRRlFLfdvBE?si=HWn88BwJGTJvEBUD",tags:[],isNew:!0}],["rock-paper-scissor",{title:"Rock Paper Scissor",link:"rock-paper-scissor/",difficulty:R.Easy,developer:"AckermanLevi1",tags:[],isNew:!0}],["MadStory_generator",{title:"MadStory Generator",link:"MadStory_generator/",difficulty:R.Easy,developer:"hritik",tags:[]}],["multi-typing",{title:"Multi Typing",link:"multi-typing/",difficulty:R.Easy,developer:"noorulaink00",youtube:"https://youtu.be/YCDeOT7DRnI",tags:[]}],["bill-spilt",{title:"Bill Split",link:"bill-spilt/",difficulty:R.Easy,developer:"Sukomal07",youtube:"https://youtu.be/4H2DyrSJeYc",tags:[]}],["simon-game",{title:"Simon game",link:"simon-game/",difficulty:R.Easy,developer:"VishakhaSainani",tags:[],isNew:!0}],["blobmaker",{title:"Blob Maker",link:"blobmaker/",difficulty:R.Easy,developer:"AbhineshJha",tags:[]}],["fitness-tracker",{title:"Fitness Tracker",link:"fitness-tracker/",difficulty:R.Easy,developer:"CrypticRevenger",tags:[]}],["atm-simulator",{title:"ATM Simulator",link:"atm-simulator/",difficulty:R.Easy,developer:"Bratajit-03",tags:[],isNew:!0}],["finance-tracker",{title:"Finance Tracker",link:"finance-tracker/",difficulty:R.Medium,developer:"sujitmahapatra",tags:[]}],["meme-generator",{title:"Meme Generator",link:"meme-generator/",difficulty:R.Medium,developer:"noorulaink00",youtube:"https://youtu.be/LHo9Hi47MTo",tags:[]}],["weather-app",{title:"Weather App",link:"weather-app/",difficulty:R.Medium,developer:"shruti-sen2004",tags:[],isNew:!0}],["toast-popup",{title:"Toast Popup",link:"toast-popup/",difficulty:R.Medium,developer:"sadanandpai",youtube:"https://youtu.be/-p3N5bJXEK8",tags:[]}],["css-shapes",{title:"CSS Shapes",link:"css-shapes/",difficulty:R.Medium,developer:"sadanandpai",tags:[]}],["column-table",{title:"Column Table",link:"column-table/",difficulty:R.Medium,developer:"sadanandpai",tags:[]}],["password-strength",{title:"Password Strength",link:"password-strength/",difficulty:R.Medium,developer:"sadanandpai",tags:[]}],["star-rating",{title:"Star Rating",link:"star-rating/",difficulty:R.Medium,developer:"sadanandpai",tags:[]}],["star-rating-display",{title:"Star Rating Display",link:"star-rating-display/",difficulty:R.Medium,developer:"sadanandpai",tags:[]}],["pixel-art",{title:"Pixel Art",link:"pixel-art/",difficulty:R.Medium,developer:"sadanandpai",tags:[]}],["word-counter",{title:"Word Counter (online)",link:"word-counter/",difficulty:R.Medium,developer:"AckermanLevi1",tags:[]}],["color-spotter",{title:"Color Spotter",link:"color-spotter/",difficulty:R.Medium,developer:"sadanandpai",tags:[]}],["todo-list",{title:"Todo List",link:"todo-list/",difficulty:R.Medium,developer:"sadanandpai",tags:[]}],["gradient-generator",{title:"Gradient Generator",link:"gradient-generator/",difficulty:R.Medium,developer:"Sukomal07",tags:[],isNew:!0}],["transfer-list",{title:"Transfer List",link:"transfer-list/",difficulty:R.Medium,developer:"sadanandpai",tags:[]}],["lift-simulation",{title:"Lift Simulation",link:"lift-simulation/",difficulty:R.Medium,developer:"gauravsinhaweb",tags:[],isNew:!0}],["tic-tac-toe",{title:"Tic-Tac-Toe",link:"tic-tac-toe/",difficulty:R.Medium,developer:"sadanandpai",tags:[]}],["chess-board",{title:"Chess board",link:"chess-board/",difficulty:R.Medium,developer:"sadanandpai",tags:[]}],["chips-input",{title:"Chips Input",link:"chips-input/",difficulty:R.Medium,developer:"sadanandpai",tags:[]}],["infinite-scroll",{title:"Infinite Scroll",link:"infinite-scroll/",difficulty:R.Medium,developer:"srijanB7",tags:[]}],["password-generator",{title:"Password Generator",link:"password-generator/",difficulty:R.Medium,developer:"sadanandpai",tags:[]}],["analog-clock",{title:"Analog Clock",link:"analog-clock/",difficulty:R.Medium,developer:"sadanandpai",tags:[]}],["drag-and-drop-puzzle",{title:"Drag and Drop Puzzle",link:"drag-and-drop-puzzle/",difficulty:R.Medium,developer:"noorulaink00",tags:[],isNew:!0}],["basic-calculator",{title:"Basic calculator",link:"basic-calculator/",difficulty:R.Medium,developer:"sadanandpai",tags:[]}],["match-pair",{title:"Match Pair",link:"match-pair/",difficulty:R.Medium,developer:"sadanandpai",tags:[]}],["typing-speed-test",{title:"Typing Speed Test",link:"typing-speed-test/",difficulty:R.Medium,developer:"sadanandpai",tags:[]}],["count-down-timer",{title:"Countdown Timer",link:"count-down-timer/",difficulty:R.Medium,developer:"sadanandpai",tags:[]}],["otp-input",{title:"OTP Input",link:"otp-input/",difficulty:R.Medium,developer:"sadanandpai",tags:[]}],["quiz-app",{title:"Quiz App",link:"quiz-app/",difficulty:R.Medium,developer:"Kei-K23",tags:[],isNew:!0}],["sorting-visualizer",{title:"Sorting Visualizer",link:"sorting-visualizer/",difficulty:R.Medium,developer:"viditagrawal56",tags:[],isNew:!0}],["snake-game",{title:"Snake Game",link:"snake-game/",difficulty:R.Medium,developer:"Kei-K23",tags:[]}],["hangman-game",{title:"Hangman Game",link:"hangman-game/",difficulty:R.Medium,developer:"Kei-K23",tags:[],isNew:!0}],["area-selector",{title:"Area Selector",link:"area-selector/",difficulty:R.Medium,developer:"sadanandpai",tags:[]}],["25-5-clock",{title:"25-5 Clock",link:"25-5-clock/",difficulty:R.Medium,developer:"caesar003",tags:[]}],["carousel",{title:"Carousel",link:"carousel/",difficulty:R.Medium,developer:"sadanandpai",tags:[]}],["calendar",{title:"Calendar",link:"calendar/",difficulty:R.Medium,developer:"sadanandpai",tags:[]}],["progress-bar",{title:"Progress Bar",link:"progress-bar/",difficulty:R.Medium,developer:"sadanandpai",tags:[]}],["movie-info",{title:"Movie-info app (online)",link:"movie-info/",difficulty:R.Medium,developer:"AckermanLevi1",tags:[]}],["quiz-app-with-timer",{title:"Quiz App with Timer",link:"quiz-app-with-timer/",difficulty:R.Medium,developer:"Vivek-GuptaXCode",tags:[]}],["paginator",{title:"Paginator",link:"paginator/",difficulty:R.Hard,developer:"sadanandpai",tags:[]}],["connect-four",{title:"Connect Four",link:"connect-four/",difficulty:R.Hard,developer:"sadanandpai",tags:[]}],["comment-box",{title:"Comment box",link:"comment-box/",difficulty:R.Hard,developer:"sadanandpai",tags:[]}],["json-creator",{title:"JSON Creator",link:"json-creator/",difficulty:R.Hard,developer:"sadanandpai",tags:[]}],["array-methods",{title:"Array methods",link:"array-methods/",difficulty:R.Hard,developer:"sadanandpai",tags:[]}],["type-ahead",{title:"Typeahead / Autocomplete (offline)",link:"type-ahead/",difficulty:R.Hard,developer:"sadanandpai",tags:[]}],["type-ahead-online",{title:"Typeahead / Autocomplete (online)",link:"type-ahead-online/",difficulty:R.Hard,developer:"sadanandpai",tags:[]}]]);Vc(oC);const iC=new Map([["counter",{title:"Counter",link:"counter",difficulty:R.Easy,developer:"sadanandpai",tags:[]}],["programming-languages-multiverse",{title:"Programming Multiverse",link:"programming-languages-multiverse",difficulty:R.Easy,developer:"Sumitwarrior7",tags:[]}],["anagram-checker",{title:"Anagram Checker",link:"anagram-checker",difficulty:R.Easy,developer:"Manmit Tiwade",tags:[]}],["quote-generator",{title:"Quote Generator",link:"quote-generator",difficulty:R.Easy,developer:"viditagrawal56",tags:[]}],["image-gallery",{title:"Image Gallery",link:"image-gallery",difficulty:R.Easy,developer:"Bhushan1019",tags:[]}],["accordion",{title:"Accordion",link:"accordion",developer:"NikhilJHA01",difficulty:R.Easy,tags:[]}],["background-changer",{title:"Background Changer",link:"background-changer",developer:"AdityaSuryawanshi",difficulty:R.Easy,tags:[]}],["light-dark-mode",{title:"Light Dark Mode",link:"light-dark-mode",difficulty:R.Easy,developer:"NikhilJHA01",tags:[]}],["qr-code-generator",{title:"QR generator",link:"qr-code-generator",difficulty:R.Easy,developer:"Krishnakalani111",tags:[]}],["your-sport",{title:"Your Sport",link:"your-sport",difficulty:R.Easy,developer:"Sumitwarrior7",tags:[]}],["table-colorizer",{title:"Table Colorizer",link:"table-colorizer",difficulty:R.Easy,developer:"ravi02205",tags:[]}],["Guess-the-number",{title:"Guess the number",link:"Guess-the-number",difficulty:R.Easy,developer:"deepakrajkranti",tags:[]}],["pagination",{title:"Pagination",link:"pagination",difficulty:R.Easy,developer:"Pancratzia",tags:[]}],["stack",{title:"Stack",link:"stack",difficulty:R.Easy,developer:"kumaratul60",tags:[]}],["word-count",{title:"Word Count",link:"word-count",difficulty:R.Easy,developer:"Sumitwarrior7",tags:[]}],["temperature-converter",{title:"Temperature Converter",link:"temperature-converter",difficulty:R.Easy,developer:"Sumitwarrior7",tags:[]}],["star-Rating",{title:"Star Rating",link:"star-Rating",difficulty:R.Easy,developer:"NikhilJHA01",tags:[]}],["telephone-formatter",{title:"Telephone formatter",link:"telephone-formatter",difficulty:R.Easy,developer:"arpansaha13",tags:[]}],["string-transformers",{title:"String transformers",link:"string-transformers",difficulty:R.Easy,developer:"arpansaha13",tags:[]}],["tic-tac-toe",{title:"Tic Tac Toe",link:"tic-tac-toe",difficulty:R.Easy,developer:"rashidtvmr",tags:[]}],["expense-tracker",{title:"Expense Tracker",link:"expense-tracker",difficulty:R.Easy,developer:"harsh472000",tags:[]}],["25-5-clock",{title:"25-5 Clock",link:"25-5-clock",difficulty:R.Easy,developer:"caesar003",tags:[]}],["bmi-calculator",{title:"BMI Calculator",link:"bmi-calculator",difficulty:R.Easy,developer:"ashikjhonson",tags:[]}],["stepper",{title:"STEPPER",link:"stepper",difficulty:R.Easy,developer:"codechitra",tags:[],isNew:!0}],["calculator",{title:"Calculator",link:"calculator",difficulty:R.Medium,developer:"liza",tags:[]}],["color-mixer",{title:"Color Mixer",link:"color-mixer",difficulty:R.Medium,developer:"Sumitwarrior7",tags:[]}],["traffic-lights",{title:"Traffic Lights",link:"traffic-lights",difficulty:R.Medium,developer:"rishabhm05",tags:[]}],["email-templates",{title:"Email Templates",link:"email-templates",difficulty:R.Medium,developer:"sadanandpai",tags:[]}],["toast-popup",{title:"Toast Popup",link:"toast-popup",difficulty:R.Medium,developer:"deepu0",tags:[]}],["modal-popup",{title:"Modal Popup",link:"modal-popup",difficulty:R.Medium,developer:"rishabhm05",tags:[]}],["password-strength",{title:"Password Strength",link:"password-strength",difficulty:R.Medium,developer:"deepu0",tags:[]}],["timeline",{title:"Timeline",link:"timeline",difficulty:R.Medium,developer:"Vivek7038",tags:[],isNew:!0}],["column-table",{title:"Column Table",link:"column-table",difficulty:R.Medium,developer:"sadanandpai",tags:[]}],["todo-list",{title:"Todo List",link:"todo-list",difficulty:R.Medium,developer:"deepakrajkranti",tags:[]}],["emoji-picker",{title:"Emoji Picker",link:"emoji-picker",difficulty:R.Medium,developer:"jeevaramanathan",tags:[]}],["investment-calculator",{title:"Investment Calculator",link:"investment-calculator",difficulty:R.Medium,developer:"insharahAyyubi",tags:[]}],["stopwatch",{title:"Stopwatch",link:"stopwatch",difficulty:R.Medium,developer:"rashidtvmr",tags:[]}],["progressbar",{title:"Progressbar",link:"progressbar",difficulty:R.Medium,developer:"dhanu084",tags:[]}],["quiz-app",{title:"Quiz App",link:"quiz-app",difficulty:R.Medium,developer:"AbhilashMadi",tags:[]}],["chess-board",{title:"Chess Board",link:"chess-board",difficulty:R.Medium,developer:"AbhilashMadi",tags:[]}],["nested-dropdown",{title:"Nested Dropdown",link:"nested-dropdown",difficulty:R.Medium,developer:"AnkitKTrivedi",tags:[]}],["food-recipe",{title:"Food Recipe",link:"food-recipe",difficulty:R.Medium,developer:"Kei-K23",tags:[]}],["password-generator",{title:"Password Generator",link:"password-generator",difficulty:R.Medium,developer:"Kei-K23",tags:[]}],["transfer-list",{title:"Transfer List",link:"transfer-list",difficulty:R.Medium,developer:"DeePaK-HeeRaKaRi",tags:[]}],["infinite-scrolling",{title:"Infinite Scrolling (online)",link:"infinite-scrolling",difficulty:R.Medium,developer:"ayush-dutt-sharma",tags:[]}],["match-pair",{title:"Match Pair",link:"match-pair",difficulty:R.Medium,developer:"sadanandpai",tags:[]}],["word-connect",{title:"Word Connect",link:"word-connect",difficulty:R.Medium,developer:"sadanandpai",tags:[],isNew:!0}],["otp",{title:"OTP",link:"otp",difficulty:R.Medium,developer:"rishabhm05",tags:[]}],["file-explorer",{title:"File Explorer",link:"file-explorer",difficulty:R.Hard,developer:"sadanandpai",tags:[]}],["autocomplete-offline",{title:"Typeahead / Autocomplete (offline)",link:"autocomplete-offline",difficulty:R.Hard,developer:"deepu0",tags:[]}],["autocomplete-online",{title:"Typeahead / Autocomplete (online)",link:"autocomplete-online",difficulty:R.Hard,developer:"deepu0",tags:[]}],["water-balancer",{title:"Water Balancer",link:"water-balancer",difficulty:R.Hard,developer:"sadanandpai",tags:[],isNew:!0}],["inline-options",{title:"Inline Options",link:"inline-options",difficulty:R.Easy,developer:"takshch",tags:[]}],["digital-clock",{title:"Digital Clock",link:"digital-clock",difficulty:R.Medium,developer:"Syamsai-Polavarapu",tags:[],isNew:!0}],["nested-comments",{title:"Nested Comments",link:"nested-comments",difficulty:R.Medium,developer:"Akshay-Omkar",tags:[],isNew:!0}],["15puzzle",{title:"15 Puzzle",link:"15puzzle",difficulty:R.Medium,developer:"Bateusz",tags:[],isNew:!0}],["feedback-modal",{title:"Feedback Modal",link:"feedback-modal",difficulty:R.Medium,developer:"ssudipta",tags:[]}],["memory-game",{title:"Memory Game",link:"memory-game",difficulty:R.Medium,developer:"Akshat-Gupta",tags:[],isNew:!0}],["chip-input",{title:"Chips Input",link:"chip-input",difficulty:R.Medium,developer:"Akshay-Omkar",tags:[],isNew:!0}],["tabs",{title:"Tab",link:"tabs",difficulty:R.Easy,developer:"Akshay-Omkar",tags:[],isNew:!0}],["drag-drop",{title:"Drag-Drop",link:"drag-drop",difficulty:R.Medium,developer:"Akshay-Omkar",tags:[],isNew:!0}],["circles",{title:"Circles",link:"circles",difficulty:R.Medium,developer:"sadanandpai",tags:[],isNew:!0}],["analog-clock",{title:"Analog Clock",link:"analog-clock",difficulty:R.Medium,developer:"sadanandpai",tags:[],isNew:!0}]]),sC=Vc(iC),aC=new Map([["counter",{title:"Counter",link:"/counter",difficulty:R.Easy,developer:"arpansaha13",tags:[]}],["accordion",{title:"Accordion",link:"/accordion",difficulty:R.Easy,developer:"arpansaha13",tags:[]}],["light-dark-mode",{title:"Light Dark Mode",link:"/light-dark-mode",difficulty:R.Easy,developer:"arpansaha13",tags:[]}],["table-colorizer",{title:"Table Colorizer",link:"/table-colorizer",difficulty:R.Easy,developer:"arpansaha13",tags:[]}],["guess-the-number",{title:"Guess the number",link:"/guess-the-number",difficulty:R.Easy,developer:"arpansaha13",tags:[]}],["pagination",{title:"Pagination",link:"/pagination",difficulty:R.Easy,developer:"arpansaha13",tags:[]}],["stack",{title:"Stack",link:"/stack",difficulty:R.Easy,developer:"jaydadhaniya",tags:[]}],["telephone-formatter",{title:"Telephone formatter",link:"/telephone-formatter",difficulty:R.Easy,developer:"arpansaha13",tags:[]}],["temprature-converter",{title:"Temprature Converter",link:"/temprature-converter",difficulty:R.Easy,developer:"bhumikkalola",tags:[]}],["tic-tac-toe",{title:"Tic Tac Toe",link:"/tic-tac-toe",difficulty:R.Medium,developer:"sadanandpai",tags:[]}],["toast-popup",{title:"Toast Popup",link:"/toast-popup",difficulty:R.Medium,developer:"arpansaha13",tags:[]}],["password-strength",{title:"Password Strength",link:"/password-strength",difficulty:R.Medium,developer:"jaydadhaniya",tags:[]}],["password-generator",{title:"Password Generator",link:"/password-generator",difficulty:R.Medium,developer:"bhumikkalola",tags:[]}],["stopwatch",{title:"Stopwatch",link:"/stopwatch",difficulty:R.Medium,developer:"Shardik04",tags:[]}]]);Vc(aC);const lC=new Map([["counter",{title:"Counter",link:"counter",difficulty:R.Easy,developer:"sadanandpai",tags:[],isNew:!0}],["guess-number",{title:"Guess Number",link:"guess-number",difficulty:R.Easy,developer:"pankajparkar",tags:[],isNew:!0}],["todo-list",{title:"Todo list",link:"todo-list",difficulty:R.Easy,developer:"pankajparkar",tags:[],isNew:!0}],["stack",{title:"Stack",link:"stack",difficulty:R.Easy,developer:"pankajparkar",tags:[],isNew:!0}],["tic-tac-toe",{title:"Tic tac toe",link:"tic-tac-toe",difficulty:R.Easy,developer:"pankajparkar",tags:[],isNew:!0}],["word-count",{title:"Word Count",link:"word-count",difficulty:R.Easy,developer:"pankajparkar",tags:[],isNew:!0}]]);Vc(lC);const cC=[{direction:"Up",delta:[-1,0]},{direction:"Down",delta:[1,0]},{direction:"Left",delta:[0,-1]},{direction:"Right",delta:[0,1]}],uC="_tile_5pn2z_1",dC="_empty_5pn2z_5",fC="_correctTilePoz_5pn2z_17",pC="_moveLeft_5pn2z_17",hC="_moveRight_5pn2z_17",mC="_moveUp_5pn2z_17",gC="_moveDown_5pn2z_17",Qa={tile:uC,empty:dC,correctTilePoz:fC,moveLeft:pC,moveRight:hC,moveUp:mC,moveDown:gC,"move-left":"_move-left_5pn2z_1","move-right":"_move-right_5pn2z_1","move-up":"_move-up_5pn2z_1","move-down":"_move-down_5pn2z_1"};function vC({digit:e,onClick:t,isOnCorrectPoz:n,animDirection:r}){return c.jsx("div",{className:`${Qa.tile} ${e===0?Qa.empty:""} ${n?Qa.correctTilePoz:""} ${r?Qa[`move${r}`]:""}`,onClick:t,children:!!e&&e},e)}const yC="_grid_e2nmy_1",xC="_menu_e2nmy_9",Hm={grid:yC,menu:xC},wC=e=>{const t=e.length;let n=0;for(let r=0;re[o]&&(n+=1);return n%2===0},_C=e=>{const t=e.length;for(let n=0;n{let n;do n=_C(Array.from({length:e*t-1},(r,o)=>o+1));while(!wC(n));return n},Wm=(e=4,t=4)=>{const n=bC(e,t),r=Array.from({length:e},(o,i)=>n.slice(i*t,i*t+t));return r[e-1][t-1]=0,r};function SC(){const[e,t]=h.useState([]),[n,r]=h.useState(0),[o,i]=h.useState(!1),[s,l]=h.useState({moves:[],capacity:5}),[a,u]=h.useState({element:null,type:""}),d=w=>{const{moves:v,capacity:y}=s;v.length===y&&v.shift(),v.push(w)},f=(w,v)=>{const y=e.map(_=>[..._]);[y[w.row][w.col],y[v.row][v.col]]=[y[v.row][v.col],y[w.row][w.col]],t(y)},p=(w,v,y)=>{f(w,v),u({element:v,type:y}),setTimeout(()=>{u({element:null,type:""})},300)},g=(w,v=!0)=>{a.element||cC.forEach(y=>{const{direction:_,delta:C}=y,E=w.row+C[0],b=w.col+C[1];if(E>=0&&E<4&&b>=0&&b<4&&e[E][b]===0){if(p(w,{row:E,col:b},_),v){d({row:E,col:b}),r(n+1);return}r(n-1)}})},m=()=>{const{moves:w}=s;if(a.element||w.length===0)return;const v=w[w.length-1];g(v,!1),l({...s,moves:w.slice(0,w.length-1)})},x=()=>{t(Wm(4,4)),r(0),l({...s,moves:[]})};return h.useEffect(()=>{t(Wm(4,4))},[]),h.useEffect(()=>{const w=e.flat().every((v,y,_)=>v===y+1||y===_.length-1);i(w)},[e]),c.jsxs("div",{children:[c.jsx("div",{className:Hm.grid,children:e.map((w,v)=>w.map((y,_)=>c.jsx(vC,{animDirection:a.element&&a.element.col===_&&a.element.row===v?a.type:"",digit:y,onClick:()=>g({row:v,col:_}),isOnCorrectPoz:v*3+_+v+1===y},y)))}),c.jsxs("div",{className:Hm.menu,children:[c.jsx("button",{type:"button",onClick:x,children:"Reset"}),c.jsx("button",{type:"button",disabled:s.moves.length===0,onClick:m,children:"Undo"}),c.jsxs("p",{children:[o?"Congrats.":""," Total moves: ",n]})]})]})}function EC(){return c.jsxs("div",{children:[c.jsx("div",{children:c.jsx("p",{style:{textAlign:"center"},children:"Click on the box to move it and sort row-wise"})}),c.jsx(SC,{})]})}const CC="_App_150vf_1",kC="_accordion_150vf_6",El={App:CC,accordion:kC,"accordion-title":"_accordion-title_150vf_14","accordion-icon":"_accordion-icon_150vf_20"},jC=({title:e,info:t,id:n,openAccordionId:r,setIdOfOpenAccordion:o})=>{const[i,s]=h.useState(!1),l=()=>{s(a=>!a),o(n)};return h.useEffect(()=>{r&&s(r===n)},[n,r]),c.jsxs("div",{className:El.accordion,children:[c.jsxs("div",{className:El["accordion-title"],children:[c.jsx("h3",{children:e}),c.jsx("button",{onClick:l,className:El["accordion-icon"],children:i?"-":"+"})]}),i&&c.jsx("p",{children:t})]},n)},$C=[{id:1,title:"Do I have to allow the use of cookies?",info:"Unicorn vinyl poutine brooklyn, next level direct trade iceland. Shaman copper mug church-key coloring book, whatever poutine normcore fixie cred kickstarter post-ironic street art."},{id:2,title:"How do I change my My Page password?",info:"Coloring book forage photo booth gentrify lumbersexual. Migas chillwave poutine synth shoreditch, enamel pin thundercats fashion axe roof party polaroid chartreuse."},{id:3,title:"What is BankID?",info:"Enamel pin fam sustainable woke whatever venmo. Authentic asymmetrical put a bird on it, lumbersexual activated charcoal kinfolk banjo cred pickled sartorial."},{id:4,title:"Whose birth number can I use?",info:"Edison bulb direct trade gentrify beard lo-fi seitan sustainable roof party franzen occupy squid. Knausgaard cronut succulents, scenester readymade shabby chic lyft. Copper mug meh vegan gentrify."},{id:5,title:"When do I recieve a password ordered by letter?",info:"Locavore franzen fashion axe live-edge neutra irony synth af tilde shabby chic man braid chillwave waistcoat copper mug messenger bag. Banjo snackwave blog, microdosing thundercats migas vaporware viral lo-fi seitan "}];function RC(){const[e,t]=h.useState(!0),[n,r]=h.useState(null),o=(s=null)=>{r(e?null:s)},i=()=>{e&&r(-1),t(!e)};return c.jsxs("div",{className:El.App,children:[c.jsxs("h4",{children:[c.jsx("label",{htmlFor:"max-open",children:"Is multiple open accordion allowed?"}),c.jsx("input",{type:"checkbox",id:"max-open",checked:e,onChange:i})]}),c.jsx("div",{children:$C.map(s=>c.jsx(jC,{multiple:e,openAccordionId:n,setIdOfOpenAccordion:o,...s},s.id))})]})}class TC{constructor(t=[]){ph(this,"trie");this.trie={},this.addWordsToTrie(t)}addWordsToTrie(t){for(let n of t){let r=this.trie;n=n.toLowerCase();for(const o of n)r.hasOwnProperty(o)||(r[o]={}),r=r[o];r.end=!0}}getWordsFromTrie(t,n){t=t.toLowerCase();let r=this.trie;for(const o of t)if(r=r[o],!r)return[];return this.getWordsByDFS(r,n,t)}getWordsByDFS(t,n=1/0,r="",o=[]){if(t.end&&(o.push(r),o.length===n))return o;for(const i in t)if(t.hasOwnProperty(i)&&(this.getWordsByDFS(t[i],n,r+i,o),o.length===n))break;return o}}const NC=e=>{const[n,r]=h.useState(""),[o,i]=h.useState([]),[s,l]=h.useState(null),a=h.useRef(new TC(e)),u=g=>{const m=g.target.value;r(g.target.value),i(m?a.current.getWordsFromTrie(m,5):[]),l(null)};return h.useEffect(()=>{if(s!==null){const g=o[s];r(g)}},[s,o]),[n,u,s,o,g=>{if(g.key==="Enter"&&s!==null){const m=o[s];r(m),i([]),l(null)}g.key==="ArrowDown"&&(g.preventDefault(),l(m=>m===null||m===o.length-1?0:m+1)),g.key==="ArrowUp"&&(g.preventDefault(),l(m=>m===null||m===0?o.length-1:m-1))},g=>{r(g),i([]),l(null)},g=>{l(g)}]},PC=["Afghanistan","Albania","Algeria","Andorra","Angola","Antigua and Barbuda","Argentina","Armenia","Australia","Austria","Azerbaijan","Bahamas","Bahrain","Bangladesh","Barbados","Belarus","Belgium","Belize","Benin","Bhutan","Bolivia","Bosnia and Herzegovina","Botswana","Brazil","Brunei","Bulgaria","Burkina Faso","Burundi","Cote dIvoire","Cabo Verde","Cambodia","Cameroon","Canada","Central African Republic","Chad","Chile","China","Colombia","Comoros","Congo","Costa Rica","Croatia","Cuba","Cyprus","Czechia","Democratic Republic of the Congo","Denmark","Djibouti","Dominica","Dominican Republic","Ecuador","Egypt","El Salvador","Equatorial Guinea","Eritrea","Estonia","Eswatini","Ethiopia","Fiji","Finland","France","Gabon","Gambia","Georgia","Germany","Ghana","Greece","Grenada","Guatemala","Guinea","Guinea-Bissau","Guyana","Haiti","Holy See","Honduras","Hungary","Iceland","India","Indonesia","Iran","Iraq","Ireland","Israel","Italy","Jamaica","Japan","Jordan","Kazakhstan","Kenya","Kiribati","Kuwait","Kyrgyzstan","Laos","Latvia","Lebanon","Lesotho","Liberia","Libya","Liechtenstein","Lithuania","Luxembourg","Madagascar","Malawi","Malaysia","Maldives","Mali","Malta","Marshall Islands","Mauritania","Mauritius","Mexico","Micronesia","Moldova","Monaco","Mongolia","Montenegro","Morocco","Mozambique","Myanmar","Namibia","Nauru","Nepal","Netherlands","New Zealand","Nicaragua","Niger","Nigeria","North Korea","North Macedonia","Norway","Oman","Pakistan","Palau","Palestine State","Panama","Papua New Guinea","Paraguay","Peru","Philippines","Poland","Portugal","Qatar","Romania","Russia","Rwanda","Saint Kitts and Nevis","Saint Lucia","Saint Vincent","Samoa","San Marino","Sao Tome and Principe","Saudi Arabia","Senegal","Serbia","Seychelles","Sierra Leone","Singapore","Slovakia","Slovenia","Solomon Islands","Somalia","South Africa","South Korea","South Sudan","Spain","Sri Lanka","Sudan","Suriname","Sweden","Switzerland","Syria","Tajikistan","Tanzania","Thailand","Timor-Leste","Togo","Tonga","Trinidad and Tobago","Tunisia","Turkey","Turkmenistan","Tuvalu","Uganda","Ukraine","United Arab Emirates","United Kingdom","United States of America","Uruguay","Uzbekistan","Vanuatu","Venezuela","Vietnam","Yemen","Zambia","Zimbabwe"],OC="_main_xk16z_1",AC="_retryTimer_xk16z_15",MC="_suggestions_xk16z_21",DC="_highlight_xk16z_36",IC="_loader_xk16z_46",_r={main:OC,retryTimer:AC,suggestions:MC,highlight:DC,loader:IC},LC=()=>{const[e,t,n,r,o,i,s]=NC(PC),l=h.useRef(null);return c.jsxs("div",{className:_r.main,children:[c.jsx("p",{children:"Use up & down arrows to navigate suggestions"}),c.jsx("input",{type:"search",ref:l,autoComplete:"off",spellCheck:"false",placeholder:"Search for Country","aria-label":"Search",role:"combobox","aria-autocomplete":"list",value:e,onChange:t,onKeyDown:o}),c.jsx("ul",{className:_r.suggestions,children:r.map((a,u)=>c.jsx("li",{className:n===u?`${_r.highlight}`:"",onClick:()=>i(a),onMouseOver:()=>s(u),onMouseLeave:()=>s(null),children:a},u))})]})};function FC(e,t=500){let n=null;return function(...o){n&&(clearTimeout(n),n=null),n=setTimeout(e,t,...o)}}const zC=5;async function Vm(e){const t={items:[],errorMsgFromApi:"",timeDelta:0};try{const n=await fetch(`https://api.github.com/search/users?per_page=${zC}&q=${e}`);if(n.status===403){const r=n.headers.get("x-ratelimit-reset");if(r!==null){const o=parseFloat(r);t.timeDelta=Math.ceil(o-Date.now()/1e3)}else t.timeDelta=60}else{const r=await n.json();t.items=r.items.map(o=>o.login)}return t}catch{return t.errorMsgFromApi="Error occurred while fetching suggestions",t}}function BC(){const[e,t]=h.useState(""),[n,r]=h.useState([]),[o,i]=h.useState(null),[s,l]=h.useState(!1),[a,u]=h.useState(0),[d,f]=h.useState(""),p=h.useCallback(FC(async y=>{l(!0);try{const _=await Vm(y);u(_.timeDelta),_.errorMsgFromApi?(r([]),f(_.errorMsgFromApi)):_.items.length>0?(r(_.items),f("")):(r([]),f("No results found"))}catch{r([]),f("Error occurred while fetching suggestions")}l(!1)},300),[Vm]),g=()=>{r([]),i(null),f("")},m=y=>{if(y.key==="Enter"&&o!==null){const _=n[o];t(_),g()}y.key==="ArrowDown"&&(y.preventDefault(),i(_=>_===null||_===n.length-1?0:_+1)),y.key==="ArrowUp"&&(y.preventDefault(),i(_=>_===null||_===0?n.length-1:_-1))},x=y=>{const _=y.target.value;t(_),_.length>0?p(_):g()},w=y=>{t(y),g()};return h.useEffect(()=>{if(o!==null){const y=n[o];t(y)}},[o,n]),h.useEffect(()=>{const y=setTimeout(()=>{a>0&&u(_=>_-1)},1e3);return()=>clearTimeout(y)},[a]),{userText:e,suggestions:n,isLoading:s,suggestionFocus:o,errorMessage:d,retryAfter:a,handleInputChange:x,handleSuggestionClick:w,handleKeyDown:m,handleSuggestionFocus:y=>{i(y)}}}function UC(){const{userText:e,suggestions:t,isLoading:n,suggestionFocus:r,errorMessage:o,retryAfter:i,handleInputChange:s,handleSuggestionClick:l,handleKeyDown:a,handleSuggestionFocus:u}=BC();return c.jsxs("div",{className:_r.main,children:[c.jsx("p",{children:"Use up & down arrows to navigate suggestions"}),c.jsx("input",{type:"search",id:"userInput",autoComplete:"off",spellCheck:"false",placeholder:"Search for GitHub username","aria-label":"Search",role:"combobox","aria-autocomplete":"list",value:e,onKeyDown:a,onChange:s,disabled:i!==0}),n&&c.jsx("div",{id:"loader",className:_r.loader}),o&&c.jsx("div",{id:"info",children:o}),i!==0&&c.jsx("div",{className:_r.retryTimer,children:i}),c.jsx("ul",{className:_r.suggestions,children:t.map((d,f)=>c.jsx("li",{className:r===f?`${_r.highlight}`:"",onClick:()=>l(d),onMouseOver:()=>u(f),onMouseLeave:()=>u(null),children:d},f))})]})}const HC="_container_zsbjj_3",WC="_inputContainer_zsbjj_12",VC="_input_zsbjj_12",GC="_button_zsbjj_23",KC="_result_zsbjj_35",Ao={container:HC,inputContainer:WC,input:VC,button:GC,result:KC},qC=()=>{const e=(a,u)=>{const d=g=>g.replace(/[^\w]/g,"").toLowerCase(),f=d(a),p=d(u);return f.split("").sort().join("")===p.split("").sort().join("")},[t,n]=h.useState(""),[r,o]=h.useState(""),[i,s]=h.useState(null),l=()=>{const a=e(t,r);s(a)};return c.jsxs("div",{className:Ao.container,children:[c.jsxs("div",{className:Ao.inputContainer,children:[c.jsx("input",{type:"text",placeholder:"Enter the first word or phrase",value:t,onChange:a=>n(a.target.value),className:Ao.input}),c.jsx("input",{type:"text",placeholder:"Enter the second word or phrase",value:r,onChange:a=>o(a.target.value),className:Ao.input}),c.jsx("button",{onClick:l,className:Ao.button,children:"Check Anagram"})]}),i!==null&&c.jsx("p",{className:Ao.result,children:i?"The words/phrases are anagrams!":"The words/phrases are not anagrams."})]})},YC=()=>c.jsx("div",{children:c.jsx(qC,{})}),QC="_App_7yaca_1",XC="_container_7yaca_1",JC="_input_7yaca_7",ZC="_calculateButton_7yaca_21",ek="_card_7yaca_30",tk="_ranges_7yaca_41",vi={App:QC,container:XC,input:JC,calculateButton:ZC,card:ek,ranges:tk},nk=({BMI:e,category:t})=>{const n=["Less than 18.5 = Underweight","Between 18.5 - 24.9 = Healthy Weight","Between 25 - 29.9 = Overweight","Over 30 = Obese"];return c.jsxs("div",{className:vi.card,children:[c.jsxs("h1",{children:["BMI = ",e]}),c.jsx("h3",{children:t}),c.jsx("p",{className:vi.ranges,children:"BMI weight ranges"}),n.map(r=>c.jsx("p",{children:r},r))]})},rk=({handleHeightChange:e,handleWeightChange:t,BMI:n,calculateBMI:r,category:o})=>c.jsxs("div",{className:vi.container,children:[c.jsxs("div",{className:vi.input,children:[c.jsxs("label",{htmlFor:"height",children:["Height ",c.jsx("span",{children:"(in cm)"})]}),c.jsx("input",{type:"text",name:"height",onChange:e}),c.jsxs("label",{htmlFor:"weight",children:["Weight ",c.jsx("span",{children:"(in kg)"})]}),c.jsx("input",{type:"text",name:"weight",onChange:t}),c.jsx("button",{className:vi.calculateButton,onClick:r,children:"Calculate"})]}),c.jsx(nk,{BMI:n,category:o})]}),ok=()=>{const[e,t]=h.useState(null),[n,r]=h.useState(null),[o,i]=h.useState(null),[s,l]=h.useState(null);h.useEffect(()=>{if(o){let f=o<18.5?"Underweight":o<24.9?"Healthy Weight":o<29.9?"Overweight":"Obese";l(()=>f)}},[o]);const a=f=>{try{const p=parseFloat(f.target.value).toFixed(2);p>10&&t(()=>p)}catch(p){console.log(p,"Enter numeric values only"),t(0)}},u=f=>{try{const p=parseFloat(f.target.value).toFixed(2);p>10&&r(()=>p)}catch(p){console.log(p,"Enter numeric values only"),t(0)}},d=()=>{if(e&&n){const f=(n/(e*e/1e4)).toFixed(2);i(()=>f)}};return c.jsx("div",{className:vi.App,children:c.jsx(rk,{height:e,weight:n,handleHeightChange:a,handleWeightChange:u,BMI:o,calculateBMI:d,category:s})})},ik="/frontend-mini-challenges/react/assets/logo-Cv_hAIcG.png",sk="_navbar_6f1bq_1",ak="_left_6f1bq_11",lk="_back_6f1bq_17",ck="_logo_6f1bq_25",uk="_right_6f1bq_43",dk="_github_6f1bq_47",Mo={navbar:sk,left:ak,back:lk,logo:ck,right:uk,github:dk};var fk={VITE_REACT_APP_URL:"http://localhost:6012/",VITE_NG_APP_URL:"http://localhost:6014/",VITE_PATH:"frontend-mini-challenges",VITE_HOST_URL:"http://localhost:6010/",VITE_JS_APP_URL:"http://localhost:6011/",VITE_VUE_APP_URL:"http://localhost:6013/",BASE_URL:"/frontend-mini-challenges/react/",MODE:"production",DEV:!1,PROD:!0,SSR:!1};const{VITE_PATH:sc,VITE_HOST_URL:v1,DEV:y1}=fk,pk=y1?`${v1}${sc}/#/react`:`/${sc}/#/react/`,hk=y1?`${v1}${sc}/`:`/${sc}/`;function mk({title:e}){return c.jsxs("nav",{className:Mo.navbar,children:[c.jsxs("div",{className:Mo.left,children:[c.jsx("a",{href:pk,className:Mo.back,children:"<"}),c.jsx("a",{className:Mo.logo,href:hk,children:c.jsx("img",{src:ik,alt:"logo"})})]}),c.jsx("h1",{children:e}),c.jsx("div",{className:Mo.right,children:c.jsx("a",{href:"https://github.com/sadanandpai/frontend-mini-challenges/",target:"blank",children:c.jsx("img",{src:"https://cdn-icons-png.flaticon.com/512/25/25231.png",alt:"github repo",className:Mo.github})})})]})}const gk="_container_10e68_1",vk="_button_10e68_7",Gm={container:gk,button:vk},yk=e=>{if(!e){const t="0123456789ABCDEF";e="#";for(let n=0;n<6;n++)e+=t[Math.floor(Math.random()*16)]}return e},xk=()=>{const e=t=>{document.body.style.backgroundColor=t};return h.useEffect(()=>()=>e("unset"),[]),c.jsx("div",{className:Gm.container,children:c.jsx("button",{type:"button",className:Gm.button,onClick:()=>e(yk()),children:"Change Color!! 😎"})})},Do={"color-mixer-container":"_color-mixer-container_oo1rc_1","color-box-top":"_color-box-top_oo1rc_13","color-inputs":"_color-inputs_oo1rc_30","color-input":"_color-input_oo1rc_30","mix-button":"_mix-button_oo1rc_57"};function wk(e,t){const n=parseInt(e.slice(1,3),16),r=parseInt(e.slice(3,5),16),o=parseInt(e.slice(5,7),16),i=parseInt(t.slice(1,3),16),s=parseInt(t.slice(3,5),16),l=parseInt(t.slice(5,7),16);return`#${Math.round((n+i)/2).toString(16)}${Math.round((r+s)/2).toString(16)}${Math.round((o+l)/2).toString(16)}`}function _k(){const[e,t]=h.useState("#FF5733"),[n,r]=h.useState("#33FF57"),o=s=>{const{name:l,value:a}=s.target;l==="color1"?t(a):r(a)},i=()=>{t("#FF5733"),r("#33FF57")};return c.jsxs("div",{className:Do["color-mixing-container"],children:[c.jsx("div",{className:Do["color-box-top"],style:{backgroundColor:wk(e,n)},children:c.jsx("p",{style:{textAlign:"center"},children:"Mixed Color"})}),c.jsxs("div",{className:Do["color-inputs"],children:[c.jsxs("div",{className:Do["color-input"],children:[c.jsx("label",{htmlFor:"color1",children:"Color 1"}),c.jsx("input",{type:"color",name:"color1",value:e,onChange:o})]}),c.jsxs("div",{className:Do["color-input"],children:[c.jsx("label",{htmlFor:"color2",children:"Color 2"}),c.jsx("input",{type:"color",name:"color2",value:n,onChange:o})]}),c.jsx("button",{className:Do["mix-button"],onClick:i,style:{marginTop:"1rem"},children:"Reset"})]})]})}const bk="_main_pfcqp_1",Sk="_size_pfcqp_5",Ek="_grid_pfcqp_13",Ck="_cell_pfcqp_17",ac={main:bk,size:Sk,grid:Ek,cell:Ck};function kk({columns:e,values:t}){return c.jsx("table",{className:ac.grid,style:{gridTemplateColumns:`repeat(${e}, 50px)`},children:c.jsx("tbody",{children:t.map((n,r)=>c.jsx("tr",{children:n.map(o=>c.jsx("td",{className:ac.cell,children:o},o))},r))})})}function jk({rows:e,setRows:t,columns:n,setColumns:r}){return c.jsxs("section",{className:ac.size,children:[c.jsxs("label",{htmlFor:"rows",children:["Rows :: ",e]}),c.jsx("input",{type:"range",name:"rows",id:"rows",min:"2",max:"8",value:e,onChange:o=>t(+o.target.value)}),c.jsxs("label",{htmlFor:"columns",children:["Columns :: ",n]}),c.jsx("input",{type:"range",name:"columns",id:"columns",min:"2",max:"8",value:n,onChange:o=>r(+o.target.value)})]})}function $k(e,t){const n=Array.from(Array(e),()=>[]);let r=1,o=1,i=0,s=0;for(;s=0;)n[i][s]=r++,i+=o;o*=-1,i+=o,s+=1}return n}function Rk(){const[e,t]=h.useState(2),[n,r]=h.useState(2),o=$k(e,n);return c.jsxs("main",{className:ac.main,children:[c.jsx(jk,{rows:e,columns:n,setRows:t,setColumns:r}),c.jsx(kk,{columns:n,values:o})]})}const Tk="_main_1cx3l_1",Nk={main:Tk};function Pk(){const[e,t]=h.useState(0),n=h.useRef(1),r=l=>{n.current=l},o=()=>{t(l=>l+n.current)},i=()=>{t(l=>l-n.current)},s=()=>{t(0)};return c.jsxs("main",{className:Nk.main,children:[c.jsx("h2",{children:e}),c.jsxs("section",{children:[c.jsx("button",{onClick:i,"aria-label":"Decrement",children:"-"}),c.jsx("button",{onClick:o,"aria-label":"Increment",children:"+"})]}),c.jsxs("section",{children:[c.jsx("label",{htmlFor:"step",children:"Increment/Decrement by"}),c.jsx("input",{type:"number",id:"step",defaultValue:n.current,onChange:l=>r(l.target.valueAsNumber),title:"Step value"})]}),c.jsx("section",{children:c.jsx("button",{onClick:s,children:"Reset"})})]})}const Ok={name:"John Doe",companyName:"TwitX",effectiveDate:"",lastDate:"",position:"",contactNumber:""},Ak="_select_17qmd_1",Mk="_form_17qmd_6",Dk="_formField_17qmd_13",Ik="_formInput_17qmd_17",Xr={select:Ak,form:Mk,formField:Dk,formInput:Ik};function Lk({fields:e,dispatch:t}){return c.jsxs("form",{className:Xr.form,children:[c.jsxs("div",{className:Xr.formField,children:[c.jsx("label",{htmlFor:"name",children:"Name: "}),c.jsx("input",{className:Xr.formInput,type:"text",id:"name",value:e.name,onChange:n=>t({name:n.target.value})})]}),c.jsxs("div",{children:[c.jsx("label",{htmlFor:"companyName",children:"Company Name: "}),c.jsx("input",{className:Xr.formInput,type:"text",id:"companyName",value:e.companyName,onChange:n=>t({companyName:n.target.value})})]}),c.jsxs("div",{children:[c.jsx("label",{htmlFor:"lastDate",children:"Effective date: "}),c.jsx("input",{className:Xr.formInput,type:"date",id:"effectiveDate",value:e.effectiveDate,onChange:n=>t({effectiveDate:n.target.value})})]}),c.jsxs("div",{children:[c.jsx("label",{htmlFor:"lastDate",children:"Last date: "}),c.jsx("input",{className:Xr.formInput,type:"date",id:"lastDate",value:e.lastDate,onChange:n=>t({lastDate:n.target.value})})]})]})}function Fk({name:e,companyName:t,effectiveDate:n,lastDate:r}){return console.log(n),c.jsxs("div",{children:[c.jsx("p",{children:"Hi,"}),c.jsxs("p",{children:["Please accept this email as my formal resignation from ",t,". I have taken this decision as I have got a different/better work opportunity and would like to pursue my career in the same."]}),c.jsxs("p",{children:["Request you to consider my letter of resignation effective from ",n,". I understand that as per the policy I am required to serve a notice period of ",60," days and my last working day accordingly shall be"," ",r,"."]}),c.jsxs("p",{children:["I would request you to consider if an early release is possible. I am grateful to ",t," and looking forward to your support."]}),c.jsx("br",{}),c.jsxs("p",{children:["Thanks and Regards,",c.jsx("br",{}),e]})]})}function zk({template:e,setTemplate:t}){const n=r=>{t(r.target.value)};return c.jsxs("form",{className:"text-center",children:[c.jsx("label",{htmlFor:"template",children:"Template: "}),c.jsx("select",{id:"template",value:e,onChange:n,className:Xr.select,children:c.jsx("option",{value:"resignation",children:"Resignation"})})]})}function Bk(){const[e,t]=h.useState("jobApplication"),[n,r]=h.useReducer((o,i)=>({...o,...i}),Ok);return c.jsxs(c.Fragment,{children:[c.jsx(zk,{template:e,setTemplate:t}),c.jsx(Lk,{fields:n,dispatch:r}),c.jsx("hr",{}),c.jsx(Fk,{...n})]})}const Uk="_form_1ufkd_2",Hk={form:Uk};function Wk({onAddExpense:e}){const[t,n]=h.useState(""),[r,o]=h.useState(""),[i,s]=h.useState(""),l=a=>{a.preventDefault(),e({id:Date.now(),date:t,amount:parseFloat(r),category:i}),n(""),o(""),s("")};return c.jsxs("form",{onSubmit:l,className:Hk.form,children:[c.jsx("input",{type:"date",value:t,onChange:a=>n(a.target.value),required:!0}),c.jsx("input",{type:"number",value:r,placeholder:"Please Enter Amount",onChange:a=>o(a.target.value),required:!0}),c.jsxs("select",{value:i,onChange:a=>s(a.target.value),children:[c.jsx("option",{value:"",children:"Select Category"}),c.jsx("option",{value:"Food",children:"Food"}),c.jsx("option",{value:"Transport",children:"Transport"}),c.jsx("option",{value:"Entertainment",children:"Entertainment"}),c.jsx("option",{value:"Other",children:"Other"})]}),c.jsx("button",{type:"submit",children:"Add Expense"})]})}const Vk="_mainContainer_1ynr6_2",Gk="_btnRed_1ynr6_32",of={mainContainer:Vk,btnRed:Gk};function Kk({expenses:e}){const t=e.reduce((n,r)=>n+r.amount,0);return c.jsxs("div",{className:of.mainContainer,children:[c.jsx("h2",{children:"Summary"}),c.jsxs("p",{children:["Total Expenses: $",t.toFixed(2)]})]})}function qk({expenses:e,onDeleteExpense:t}){return c.jsxs("div",{className:of.mainContainer,children:[c.jsx("h2",{children:"Expenses"}),c.jsx("ul",{children:e.map(n=>c.jsxs("li",{children:[n.date," - $",n.amount," - ",n.category,c.jsx("button",{className:of.btnRed,onClick:()=>t(n.id),children:"Delete"})]},n.id))})]})}function Yk(){const[e,t]=h.useState([]),n=o=>{t(i=>[o,...i])},r=o=>{t(i=>i.filter(s=>s.id!==o))};return c.jsxs("div",{className:"App",children:[c.jsx("h1",{}),c.jsx(Wk,{onAddExpense:n}),c.jsx(qk,{expenses:e,onDeleteExpense:r}),c.jsx(Kk,{expenses:e})]})}const Qk="_feedbackContainer_1y22i_1",Xk="_feedbackBtn_1y22i_12",Jk="_modalContainer_1y22i_23",Zk="_modalContent_1y22i_36",e2="_iconContainer_1y22i_51",t2="_iconItem_1y22i_58",n2="_active_1y22i_76",r2="_iconImage_1y22i_82",o2="_modalClose_1y22i_93",i2="_feedbackContent_1y22i_109",s2="_feedbackResponse_1y22i_116",Gt={feedbackContainer:Qk,feedbackBtn:Xk,modalContainer:Jk,modalContent:Zk,iconContainer:e2,iconItem:t2,active:n2,iconImage:r2,modalClose:o2,feedbackContent:i2,feedbackResponse:s2},a2=[{rating:1,url:"https://cdn-icons-png.flaticon.com/512/14230/14230791.png",mood:"Terrible"},{rating:2,url:"https://cdn-icons-png.flaticon.com/512/166/166527.png",mood:"Unhappy"},{rating:3,url:"https://cdn-icons-png.flaticon.com/512/1791/1791385.png",mood:"Neutral"},{rating:4,url:"https://cdn-icons-png.flaticon.com/512/166/166538.png",mood:"Happy"},{rating:5,url:"https://cdn-icons-png.flaticon.com/512/10851/10851309.png",mood:"Excited"}],l2=(e,t,n)=>{let r=n;return r=t===e?`${r} ${Gt.active}`:`${r}`,r},c2=({handleClick:e,activeRating:t})=>c.jsx("div",{className:Gt.iconContainer,children:a2.map(n=>c.jsxs("div",{className:l2(n.rating,t,Gt.iconItem),onClick:()=>e(n),children:[c.jsx("img",{src:n.url,className:Gt.iconImage,alt:n.mood}),c.jsx("p",{children:n.mood})]},n.rating))}),u2=({onClose:e})=>{const[t,n]=h.useState(""),[r,o]=h.useState({}),[i,s]=h.useState(!1),l=()=>{s(!0)},a=d=>{o(d)},u=d=>{n(d.target.value)};return c.jsx("div",{className:Gt.modalContainer,onClick:e,children:c.jsxs("div",{className:Gt.modalContent,onClick:d=>d.stopPropagation(),children:[c.jsx("button",{className:Gt.modalClose,onClick:e,children:"x"}),c.jsx("h1",{children:"User Feedback"}),i?c.jsxs("div",{className:Gt.feedbackResponse,children:[c.jsxs("p",{children:["Feedback: ",r.mood]}),c.jsx("p",{children:"Thank you for your feedback"})]}):c.jsxs("form",{className:Gt.feedbackContent,onSubmit:l,children:[c.jsx(c2,{handleClick:a,activeRating:r.rating}),c.jsx("textarea",{placeholder:"Please share additional feedback (optional)",rows:"5",cols:"30",style:{width:"80%",margin:"10px",fontSize:"12px",padding:"2px"},value:t,onChange:u}),c.jsx("button",{type:"submit",className:Gt.feedbackBtn,disabled:!Object.keys(r).length,children:"Submit"})]})]})})};function d2(){const[e,t]=h.useState(!1),n=()=>{t(!0)},r=()=>{t(!1)};return c.jsxs("div",{className:Gt.feedbackContainer,children:[c.jsx("button",{className:Gt.feedbackBtn,onClick:n,children:"Feedback"}),e&&c.jsx(u2,{onClose:r})]})}const f2="_app_1o28y_1",p2="_list_1o28y_6",h2="_editList_1o28y_22",m2="_editableInputContainer_1o28y_30",g2="_editableInputError_1o28y_34",v2="_indent_1o28y_48",y2="_controls_1o28y_52",xt={app:f2,list:p2,editList:h2,editableInputContainer:m2,editableInputError:g2,indent:v2,controls:y2};function Op({onComplete:e,validateNode:t,defaultValue:n=""}){const[r,o]=h.useState(n),[i,s]=h.useState(null),l=d=>{const f=d.target.value;o(f),f===""?s("File or folder name cannot be empty"):t(f)?s(null):s("A file or folder already exists with that name")},a=()=>{e(r)},u=d=>{d.key==="Enter"&&a()};return c.jsxs("div",{className:xt.editableInputContainer,children:[c.jsx("input",{type:"text",autoFocus:!0,onBlur:a,onKeyUp:u,value:r,onChange:l}),i&&c.jsx("div",{className:xt.editableInputError,children:c.jsx("p",{children:i})})]})}function x2({node:e,parent:t,onNodeDeletion:n,onNodeUpdate:r,validateNode:o}){const[i,s]=h.useState(!1),l=u=>o(t,e,u),a=u=>{l(u)&&r(t,e,u),s(!1)};return i?c.jsxs("li",{className:`${xt.list} ${xt.editList}`,children:["📄 ",c.jsx(Op,{defaultValue:e.name,onComplete:a,validateNode:l})]}):c.jsxs("li",{className:xt.list,children:[c.jsxs("button",{className:xt.button,children:["📄 ",e.name]}),c.jsxs("div",{className:xt.controls,children:[c.jsx("button",{onClick:()=>s(!0),children:"✏️"}),c.jsx("button",{onClick:()=>n(t,e),children:"🗑️"})]})]})}function w2({expanded:e,toggleExpand:t,parent:n,node:r,onNodeDeletion:o,onNodeUpdate:i,onNew:s,validateNode:l}){const[a,u]=h.useState(!1),d=p=>l(n,r,p),f=p=>{n&&(d(p)&&i(n,r,p),u(!1))};return a?c.jsxs("li",{className:`${xt.list} ${xt.editList}`,children:[e?"📂":"📁"," ",c.jsx(Op,{defaultValue:r==null?void 0:r.name,onComplete:f,validateNode:d})]}):c.jsxs("li",{className:xt.list,"data-root":n===null,children:[c.jsxs("button",{onClick:t,children:[e?"📂":"📁"," ",r==null?void 0:r.name]}),c.jsxs("div",{className:xt.controls,children:[c.jsx("button",{className:"edit",onClick:()=>u(!0),children:"✏️"}),c.jsx("button",{className:"new-file",onClick:()=>s(!1),children:"📄"}),c.jsx("button",{className:"new-folder",onClick:()=>s(!0),children:"🗂"}),c.jsx("button",{className:"delete",onClick:()=>o(n,r),children:"🗑️"})]})]})}function x1({node:e,parent:t,onNodeAddition:n,onNodeDeletion:r,onNodeUpdate:o,validateNode:i}){var x;const[s,l]=h.useState(!1),[a,u]=h.useState(!1),d=h.useRef(!1),f=w=>{w.stopPropagation(),l(!s)},p=w=>{d.current=w,u(!a),l(!0)},g=w=>i(e,null,w),m=w=>{w&&g(w)&&n(e,{name:w,id:new Date().getTime().toString(),isFolder:d.current}),u(!1)};return c.jsxs(c.Fragment,{children:[c.jsx(w2,{expanded:s,toggleExpand:f,parent:t,node:e,onNodeDeletion:r,onNodeUpdate:o,onNew:p,validateNode:i}),s&&c.jsxs("div",{className:xt.indent,children:[(x=e.nodes)==null?void 0:x.map(w=>w.isFolder?c.jsx(x1,{node:w,parent:e,onNodeAddition:n,onNodeDeletion:r,onNodeUpdate:o,validateNode:i},w.id):c.jsx(x2,{node:w,parent:e,onNodeDeletion:r,onNodeUpdate:o,validateNode:i},w.id)),a&&c.jsxs("li",{className:`${xt.list} ${xt.editList}`,children:[d.current?"📁":"📄"," ",c.jsx(Op,{onComplete:m,validateNode:g})]})]})]})}const _2={id:"root",name:"root",isFolder:!0,nodes:[{id:"1",name:"public",isFolder:!0,nodes:[{id:"11",name:"images",isFolder:!0,nodes:[{id:"111",name:"cover.png"},{id:"112",name:"icons",isFolder:!0,nodes:[{id:"1121",name:"arrow.svg"}]}]},{id:"12",name:"public_nested_file"}]},{id:"2",name:"src",isFolder:!0,nodes:[{id:"21",name:"components",isFolder:!0,nodes:[{id:"21",name:"index.js"},{id:"22",name:"index.html"},{id:"23",name:"index.css"}]},{id:"22",name:"main.jsx"},{id:"23",name:"App.jsx"},{id:"24",name:"app.module.css"}]},{id:"3",name:"dist",isFolder:!0,nodes:[{id:"31",name:"index.js"},{id:"32",name:"index.html"},{id:"33",name:"index.css"}]},{id:"4",name:"package.json",nodes:[]},{id:"5",name:"package-lock.json",nodes:[]}]};function b2(){const[e,t]=h.useState(_2),n=(s,l)=>{const a={...e},u=[...s.nodes??[]];u.push({...l,nodes:[]}),s.id==="root"?a.nodes=u:s.nodes=u,t(a)},r=(s,l)=>{var d;const a={...e},u=(d=s.nodes)==null?void 0:d.filter(f=>f.id!==l.id);s.id==="root"?a.nodes=u:s.nodes=u,t(a)},o=(s,l,a)=>{var p;const u={...e},d=((p=s.nodes)==null?void 0:p.map(g=>g))??[],f=d.findIndex(g=>g.id===l.id);d[f]={...d[f],name:a},s.id==="root"?u.nodes=d:s.nodes=d,t(u)},i=(s,l,a)=>{var d;return s===null||typeof s.nodes>"u"?!0:a===""?!1:((d=s.nodes)==null?void 0:d.findIndex(f=>f.id!==(l==null?void 0:l.id)&&f.name===a))===-1};return c.jsx("div",{className:xt.app,children:c.jsx(x1,{node:e,parent:null,onNodeAddition:n,onNodeDeletion:r,onNodeUpdate:o,validateNode:i})})}const S2="_App_fw4tl_7",E2="_meal_container_fw4tl_17",C2="_meal_name_fw4tl_29",k2="_meal_img_fw4tl_34",j2="_tags_container_fw4tl_39",$2="_modal_tags_container_fw4tl_40",R2="_tag_fw4tl_39",T2="_modal_tag_fw4tl_40",N2="_modal_meal_img_fw4tl_69",P2="_modal_instruction_fw4tl_74",O2="_foodBtn_fw4tl_79",A2="_openBtn_fw4tl_80",M2="_closeBtn_fw4tl_105",D2="_recipe_table_fw4tl_128",ut={App:S2,meal_container:E2,meal_name:C2,meal_img:k2,tags_container:j2,modal_tags_container:$2,tag:R2,modal_tag:T2,modal_meal_img:N2,modal_instruction:P2,foodBtn:O2,openBtn:A2,closeBtn:M2,recipe_table:D2};function Ap({data:e}){const{strCategory:t,strArea:n,strTags:r}=e;return c.jsxs("ul",{className:ut.modal_tags_container,children:[t&&c.jsx("li",{className:ut.modal_tag,children:t}),n&&c.jsx("li",{className:ut.modal_tag,children:n}),r&&r.split(",").map((o,i)=>c.jsx("li",{className:ut.modal_tag,children:o},i))]})}Ap.propTypes;function w1({data:e,handleOpenDialog:t}){const{strMeal:n,strMealThumb:r}=e;return c.jsxs("div",{className:ut.meal_container,children:[c.jsx("h2",{className:ut.meal_name,children:n}),c.jsx("img",{className:ut.meal_img,src:r,alt:n}),c.jsx(Ap,{data:e}),c.jsx("button",{className:ut.openBtn,onClick:t,children:"detail recipe"})]})}w1.propTypes;function _1({data:e}){const t=n=>{const r=[];for(let o=1;o<=20;o++){const i=n[`strIngredient${o}`],s=n[`strMeasure${o}`];i&&s&&r.push({ingredient:i,measure:s})}return r};return c.jsxs("table",{className:ut.recipe_table,children:[c.jsx("thead",{children:c.jsxs("tr",{children:[c.jsx("th",{children:"No."}),c.jsx("th",{children:"Ingredient"}),c.jsx("th",{children:"Measure"})]})}),c.jsx("tbody",{children:t(e).map((n,r)=>c.jsxs("tr",{children:[c.jsx("td",{children:r+1}),c.jsx("td",{children:n.ingredient}),c.jsx("td",{children:n.measure})]},r))})]})}_1.propTypes;function b1({data:e,handleCloseDialog:t}){const{strMeal:n,strMealThumb:r,strInstructions:o,strYoutube:i}=e;return c.jsx("dialog",{open:!0,onClose:t,children:c.jsxs("div",{className:ut.modal_meal_container,children:[c.jsx("button",{className:ut.closeBtn,onClick:t,children:"×"}),c.jsx("h2",{className:ut.modal_meal_name,children:n}),c.jsx("img",{className:ut.modal_meal_img,src:r,alt:n}),c.jsx(Ap,{data:e}),c.jsx(_1,{data:e}),c.jsx("h2",{children:"Instruction 📜"}),c.jsx("p",{className:ut.modal_instruction,children:o}),i&&c.jsxs("a",{href:i,rel:"noopener noreferrer",target:"_blank",children:["YouTube link for ",n]})]})})}b1.propTypes;function I2(){const[e,t]=h.useState(null),[n,r]=h.useState(!1);h.useEffect(()=>{o()},[]);const o=async()=>{try{const a=await fetch("https://www.themealdb.com/api/json/v1/1/random.php");if(!a.ok)throw new Error("Network response was not ok! Something wrong");const u=await a.json();t(u.meals[0])}catch(a){console.error("Error on fetching data: ",a)}},i=()=>{o()},s=()=>{r(!0)},l=()=>{r(!1)};return c.jsxs("div",{className:ut.App,children:[c.jsx("h1",{children:"Are you hungry 😋"}),c.jsx("button",{className:ut.foodBtn,onClick:i,children:"Another food 🍛"}),n&&c.jsx(b1,{data:e,handleCloseDialog:l}),e&&c.jsx(w1,{data:e,handleOpenDialog:s})]})}const L2="_app_j2t5p_1",F2="_widget_j2t5p_14",z2="_text_j2t5p_21",Lu={app:L2,widget:F2,text:z2};function B2(){const[e,t]=h.useState(),[n,r]=h.useState(!1),[o,i]=h.useState(1),[s,l]=h.useState(!1),[a,u]=h.useState(!1),[d,f]=h.useState(!1);h.useEffect(()=>{t(Math.round(100*Math.random()))},[]);const p=m=>{m.preventDefault(),oe?(u(!0),l(!1)):(f(!0),l(!1),u(!1),r(!0))},g=()=>{t(Math.round(100*Math.random())),f(!1),l(!1),u(!1),r(!1),i(1)};return c.jsxs("div",{className:Lu.app,children:[c.jsxs("form",{onSubmit:p,children:[c.jsx("label",{htmlFor:"input",children:"Guess a Number between 0 and 100"}),c.jsx("input",{id:"input",type:"number",value:o,min:"0",max:"100",placeholder:"Guess-Number",onChange:m=>i(Number(m.target.value))}),c.jsxs("div",{className:Lu.widget,children:[c.jsx("button",{type:"reset",onClick:g,children:"Reset"}),c.jsx("button",{type:"submit",disabled:n,children:"Check"})]})]}),c.jsxs("div",{className:Lu.text,children:[s&&c.jsxs("p",{children:["Your guess is ",c.jsx("b",{children:"Less"})," than the actual number"]}),a&&c.jsxs("p",{children:["Your guess is ",c.jsx("b",{children:"Higher"})," than the actual number"]}),d&&c.jsxs("p",{children:["Your guess is ",c.jsx("b",{children:"right"})]})]})]})}const ur={"image-gallery-container":"_image-gallery-container_3b420_2","gallery-para":"_gallery-para_3b420_7","image-container":"_image-container_3b420_11","image-wrapper":"_image-wrapper_3b420_18","gallery-image":"_gallery-image_3b420_27","selected-image":"_selected-image_3b420_36","selected-heading":"_selected-heading_3b420_41","selected-img":"_selected-img_3b420_46"},U2=["https://imgs.search.brave.com/bAdI7a7qnuuOIJphttt3DfbzLnCU7ZDMtnkejXq6UII/rs:fit:500:0:0/g:ce/aHR0cHM6Ly9zdDIu/ZGVwb3NpdHBob3Rv/cy5jb20vMTAwMDkz/OC81NDk5L2kvNDUw/L2RlcG9zaXRwaG90/b3NfNTQ5OTg2MTMt/c3RvY2stcGhvdG8t/Z2luZ2VyLWNhdC5q/cGc","https://imgs.search.brave.com/YzG9FgYN5qLWsiYyJ4dUEvxav9e98dBH0loR8YPRA1E/rs:fit:500:0:0/g:ce/aHR0cHM6Ly9tZWRp/YS5pc3RvY2twaG90/by5jb20vaWQvMTc0/ODc3NTY1L3Bob3Rv/L3BvcnRyYWl0LW9m/LWEtYnJvd24tY2F0/LWFnYWluc3QtYS1n/cmF5LWJhY2tncm91/bmQuanBnP3M9NjEy/eDYxMiZ3PTAmaz0y/MCZjPWlGcFFNSzlF/aTIzVm9XcExLa2Zh/TFVtdXN5Y3VaWllV/OWtWMjNzT2F6YzQ9","https://imgs.search.brave.com/lZtf1S7JKFcaZs2lhxTpAtaJzTk_V35Xt8ys4htuVBU/rs:fit:500:0:0/g:ce/aHR0cHM6Ly9idXJz/dC5zaG9waWZ5Y2Ru/LmNvbS9waG90b3Mv/Y2F0LXBvc2VzLXBl/cmZlY3RseS5qcGc_/d2lkdGg9MTAwMCZm/b3JtYXQ9cGpwZyZl/eGlmPTAmaXB0Yz0w","https://imgs.search.brave.com/t6Nv0DwxoIACRxxtX2h7yt31ux5SCXHWgHVpoGh1diw/rs:fit:500:0:0/g:ce/aHR0cHM6Ly90My5m/dGNkbi5uZXQvanBn/LzAyLzM2Lzk5LzIy/LzM2MF9GXzIzNjk5/MjI4M19zTk94Q1ZR/ZUZMZDVwZHFhS0do/OERSR01aeTdQNFhL/bS5qcGc"];function H2(){const[e,t]=h.useState(null),n=r=>{t(r)};return c.jsxs("div",{className:ur["image-gallery-container"],children:[c.jsx("p",{className:ur["gallery-para"],children:"Click on an image!"}),c.jsx("div",{className:ur["image-container"],children:U2.map((r,o)=>c.jsx("div",{className:ur["image-wrapper"],onClick:()=>n(r),children:c.jsx("img",{src:r,alt:`Image ${o+1}`,className:ur["gallery-image"]})},o))}),e&&c.jsxs("div",{className:ur["selected-image"],children:[c.jsx("h2",{className:ur["selected-heading"],children:"Selected Image"}),c.jsx("img",{src:e,alt:"Selected",className:ur["selected-img"]})]})]})}const W2="_loader_1hfl7_1",V2="_spin_1hfl7_1",Fu={loader:W2,spin:V2,"book-title":"_book-title_1hfl7_21"};function S1(e,t){return function(){return e.apply(t,arguments)}}const{toString:G2}=Object.prototype,{getPrototypeOf:Mp}=Object,Gc=(e=>t=>{const n=G2.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),On=e=>(e=e.toLowerCase(),t=>Gc(t)===e),Kc=e=>t=>typeof t===e,{isArray:Di}=Array,na=Kc("undefined");function K2(e){return e!==null&&!na(e)&&e.constructor!==null&&!na(e.constructor)&&Xt(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const E1=On("ArrayBuffer");function q2(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&E1(e.buffer),t}const Y2=Kc("string"),Xt=Kc("function"),C1=Kc("number"),qc=e=>e!==null&&typeof e=="object",Q2=e=>e===!0||e===!1,Cl=e=>{if(Gc(e)!=="object")return!1;const t=Mp(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},X2=On("Date"),J2=On("File"),Z2=On("Blob"),ej=On("FileList"),tj=e=>qc(e)&&Xt(e.pipe),nj=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||Xt(e.append)&&((t=Gc(e))==="formdata"||t==="object"&&Xt(e.toString)&&e.toString()==="[object FormData]"))},rj=On("URLSearchParams"),oj=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function xa(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,o;if(typeof e!="object"&&(e=[e]),Di(e))for(r=0,o=e.length;r0;)if(o=n[r],t===o.toLowerCase())return o;return null}const j1=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),$1=e=>!na(e)&&e!==j1;function sf(){const{caseless:e}=$1(this)&&this||{},t={},n=(r,o)=>{const i=e&&k1(t,o)||o;Cl(t[i])&&Cl(r)?t[i]=sf(t[i],r):Cl(r)?t[i]=sf({},r):Di(r)?t[i]=r.slice():t[i]=r};for(let r=0,o=arguments.length;r(xa(t,(o,i)=>{n&&Xt(o)?e[i]=S1(o,n):e[i]=o},{allOwnKeys:r}),e),sj=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),aj=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},lj=(e,t,n,r)=>{let o,i,s;const l={};if(t=t||{},e==null)return t;do{for(o=Object.getOwnPropertyNames(e),i=o.length;i-- >0;)s=o[i],(!r||r(s,e,t))&&!l[s]&&(t[s]=e[s],l[s]=!0);e=n!==!1&&Mp(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},cj=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},uj=e=>{if(!e)return null;if(Di(e))return e;let t=e.length;if(!C1(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},dj=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Mp(Uint8Array)),fj=(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let o;for(;(o=r.next())&&!o.done;){const i=o.value;t.call(e,i[0],i[1])}},pj=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},hj=On("HTMLFormElement"),mj=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,o){return r.toUpperCase()+o}),Km=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),gj=On("RegExp"),R1=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};xa(n,(o,i)=>{let s;(s=t(o,i,e))!==!1&&(r[i]=s||o)}),Object.defineProperties(e,r)},vj=e=>{R1(e,(t,n)=>{if(Xt(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(Xt(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},yj=(e,t)=>{const n={},r=o=>{o.forEach(i=>{n[i]=!0})};return Di(e)?r(e):r(String(e).split(t)),n},xj=()=>{},wj=(e,t)=>(e=+e,Number.isFinite(e)?e:t),zu="abcdefghijklmnopqrstuvwxyz",qm="0123456789",T1={DIGIT:qm,ALPHA:zu,ALPHA_DIGIT:zu+zu.toUpperCase()+qm},_j=(e=16,t=T1.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function bj(e){return!!(e&&Xt(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const Sj=e=>{const t=new Array(10),n=(r,o)=>{if(qc(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[o]=r;const i=Di(r)?[]:{};return xa(r,(s,l)=>{const a=n(s,o+1);!na(a)&&(i[l]=a)}),t[o]=void 0,i}}return r};return n(e,0)},Ej=On("AsyncFunction"),Cj=e=>e&&(qc(e)||Xt(e))&&Xt(e.then)&&Xt(e.catch),A={isArray:Di,isArrayBuffer:E1,isBuffer:K2,isFormData:nj,isArrayBufferView:q2,isString:Y2,isNumber:C1,isBoolean:Q2,isObject:qc,isPlainObject:Cl,isUndefined:na,isDate:X2,isFile:J2,isBlob:Z2,isRegExp:gj,isFunction:Xt,isStream:tj,isURLSearchParams:rj,isTypedArray:dj,isFileList:ej,forEach:xa,merge:sf,extend:ij,trim:oj,stripBOM:sj,inherits:aj,toFlatObject:lj,kindOf:Gc,kindOfTest:On,endsWith:cj,toArray:uj,forEachEntry:fj,matchAll:pj,isHTMLForm:hj,hasOwnProperty:Km,hasOwnProp:Km,reduceDescriptors:R1,freezeMethods:vj,toObjectSet:yj,toCamelCase:mj,noop:xj,toFiniteNumber:wj,findKey:k1,global:j1,isContextDefined:$1,ALPHABET:T1,generateString:_j,isSpecCompliantForm:bj,toJSONObject:Sj,isAsyncFn:Ej,isThenable:Cj};function ue(e,t,n,r,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),o&&(this.response=o)}A.inherits(ue,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:A.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const N1=ue.prototype,P1={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{P1[e]={value:e}});Object.defineProperties(ue,P1);Object.defineProperty(N1,"isAxiosError",{value:!0});ue.from=(e,t,n,r,o,i)=>{const s=Object.create(N1);return A.toFlatObject(e,s,function(a){return a!==Error.prototype},l=>l!=="isAxiosError"),ue.call(s,e.message,t,n,r,o),s.cause=e,s.name=e.name,i&&Object.assign(s,i),s};const kj=null;function af(e){return A.isPlainObject(e)||A.isArray(e)}function O1(e){return A.endsWith(e,"[]")?e.slice(0,-2):e}function Ym(e,t,n){return e?e.concat(t).map(function(o,i){return o=O1(o),!n&&i?"["+o+"]":o}).join(n?".":""):t}function jj(e){return A.isArray(e)&&!e.some(af)}const $j=A.toFlatObject(A,{},null,function(t){return/^is[A-Z]/.test(t)});function Yc(e,t,n){if(!A.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=A.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(x,w){return!A.isUndefined(w[x])});const r=n.metaTokens,o=n.visitor||d,i=n.dots,s=n.indexes,a=(n.Blob||typeof Blob<"u"&&Blob)&&A.isSpecCompliantForm(t);if(!A.isFunction(o))throw new TypeError("visitor must be a function");function u(m){if(m===null)return"";if(A.isDate(m))return m.toISOString();if(!a&&A.isBlob(m))throw new ue("Blob is not supported. Use a Buffer instead.");return A.isArrayBuffer(m)||A.isTypedArray(m)?a&&typeof Blob=="function"?new Blob([m]):Buffer.from(m):m}function d(m,x,w){let v=m;if(m&&!w&&typeof m=="object"){if(A.endsWith(x,"{}"))x=r?x:x.slice(0,-2),m=JSON.stringify(m);else if(A.isArray(m)&&jj(m)||(A.isFileList(m)||A.endsWith(x,"[]"))&&(v=A.toArray(m)))return x=O1(x),v.forEach(function(_,C){!(A.isUndefined(_)||_===null)&&t.append(s===!0?Ym([x],C,i):s===null?x:x+"[]",u(_))}),!1}return af(m)?!0:(t.append(Ym(w,x,i),u(m)),!1)}const f=[],p=Object.assign($j,{defaultVisitor:d,convertValue:u,isVisitable:af});function g(m,x){if(!A.isUndefined(m)){if(f.indexOf(m)!==-1)throw Error("Circular reference detected in "+x.join("."));f.push(m),A.forEach(m,function(v,y){(!(A.isUndefined(v)||v===null)&&o.call(t,v,A.isString(y)?y.trim():y,x,p))===!0&&g(v,x?x.concat(y):[y])}),f.pop()}}if(!A.isObject(e))throw new TypeError("data must be an object");return g(e),t}function Qm(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function Dp(e,t){this._pairs=[],e&&Yc(e,this,t)}const A1=Dp.prototype;A1.append=function(t,n){this._pairs.push([t,n])};A1.toString=function(t){const n=t?function(r){return t.call(this,r,Qm)}:Qm;return this._pairs.map(function(o){return n(o[0])+"="+n(o[1])},"").join("&")};function Rj(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function M1(e,t,n){if(!t)return e;const r=n&&n.encode||Rj,o=n&&n.serialize;let i;if(o?i=o(t,n):i=A.isURLSearchParams(t)?t.toString():new Dp(t,n).toString(r),i){const s=e.indexOf("#");s!==-1&&(e=e.slice(0,s)),e+=(e.indexOf("?")===-1?"?":"&")+i}return e}class Xm{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){A.forEach(this.handlers,function(r){r!==null&&t(r)})}}const D1={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Tj=typeof URLSearchParams<"u"?URLSearchParams:Dp,Nj=typeof FormData<"u"?FormData:null,Pj=typeof Blob<"u"?Blob:null,Oj={isBrowser:!0,classes:{URLSearchParams:Tj,FormData:Nj,Blob:Pj},protocols:["http","https","file","blob","url","data"]},I1=typeof window<"u"&&typeof document<"u",Aj=(e=>I1&&["ReactNative","NativeScript","NS"].indexOf(e)<0)(typeof navigator<"u"&&navigator.product),Mj=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),Dj=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:I1,hasStandardBrowserEnv:Aj,hasStandardBrowserWebWorkerEnv:Mj},Symbol.toStringTag,{value:"Module"})),jn={...Dj,...Oj};function Ij(e,t){return Yc(e,new jn.classes.URLSearchParams,Object.assign({visitor:function(n,r,o,i){return jn.isNode&&A.isBuffer(n)?(this.append(r,n.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)}},t))}function Lj(e){return A.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function Fj(e){const t={},n=Object.keys(e);let r;const o=n.length;let i;for(r=0;r=n.length;return s=!s&&A.isArray(o)?o.length:s,a?(A.hasOwnProp(o,s)?o[s]=[o[s],r]:o[s]=r,!l):((!o[s]||!A.isObject(o[s]))&&(o[s]=[]),t(n,r,o[s],i)&&A.isArray(o[s])&&(o[s]=Fj(o[s])),!l)}if(A.isFormData(e)&&A.isFunction(e.entries)){const n={};return A.forEachEntry(e,(r,o)=>{t(Lj(r),o,n,0)}),n}return null}function zj(e,t,n){if(A.isString(e))try{return(t||JSON.parse)(e),A.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const Ip={transitional:D1,adapter:["xhr","http"],transformRequest:[function(t,n){const r=n.getContentType()||"",o=r.indexOf("application/json")>-1,i=A.isObject(t);if(i&&A.isHTMLForm(t)&&(t=new FormData(t)),A.isFormData(t))return o&&o?JSON.stringify(L1(t)):t;if(A.isArrayBuffer(t)||A.isBuffer(t)||A.isStream(t)||A.isFile(t)||A.isBlob(t))return t;if(A.isArrayBufferView(t))return t.buffer;if(A.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let l;if(i){if(r.indexOf("application/x-www-form-urlencoded")>-1)return Ij(t,this.formSerializer).toString();if((l=A.isFileList(t))||r.indexOf("multipart/form-data")>-1){const a=this.env&&this.env.FormData;return Yc(l?{"files[]":t}:t,a&&new a,this.formSerializer)}}return i||o?(n.setContentType("application/json",!1),zj(t)):t}],transformResponse:[function(t){const n=this.transitional||Ip.transitional,r=n&&n.forcedJSONParsing,o=this.responseType==="json";if(t&&A.isString(t)&&(r&&!this.responseType||o)){const s=!(n&&n.silentJSONParsing)&&o;try{return JSON.parse(t)}catch(l){if(s)throw l.name==="SyntaxError"?ue.from(l,ue.ERR_BAD_RESPONSE,this,null,this.response):l}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:jn.classes.FormData,Blob:jn.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};A.forEach(["delete","get","head","post","put","patch"],e=>{Ip.headers[e]={}});const Lp=Ip,Bj=A.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),Uj=e=>{const t={};let n,r,o;return e&&e.split(` -`).forEach(function(s){o=s.indexOf(":"),n=s.substring(0,o).trim().toLowerCase(),r=s.substring(o+1).trim(),!(!n||t[n]&&Bj[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},Jm=Symbol("internals");function ls(e){return e&&String(e).trim().toLowerCase()}function kl(e){return e===!1||e==null?e:A.isArray(e)?e.map(kl):String(e)}function Hj(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const Wj=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Bu(e,t,n,r,o){if(A.isFunction(r))return r.call(this,t,n);if(o&&(t=n),!!A.isString(t)){if(A.isString(r))return t.indexOf(r)!==-1;if(A.isRegExp(r))return r.test(t)}}function Vj(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function Gj(e,t){const n=A.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(o,i,s){return this[r].call(this,t,o,i,s)},configurable:!0})})}class Qc{constructor(t){t&&this.set(t)}set(t,n,r){const o=this;function i(l,a,u){const d=ls(a);if(!d)throw new Error("header name must be a non-empty string");const f=A.findKey(o,d);(!f||o[f]===void 0||u===!0||u===void 0&&o[f]!==!1)&&(o[f||a]=kl(l))}const s=(l,a)=>A.forEach(l,(u,d)=>i(u,d,a));return A.isPlainObject(t)||t instanceof this.constructor?s(t,n):A.isString(t)&&(t=t.trim())&&!Wj(t)?s(Uj(t),n):t!=null&&i(n,t,r),this}get(t,n){if(t=ls(t),t){const r=A.findKey(this,t);if(r){const o=this[r];if(!n)return o;if(n===!0)return Hj(o);if(A.isFunction(n))return n.call(this,o,r);if(A.isRegExp(n))return n.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=ls(t),t){const r=A.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||Bu(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let o=!1;function i(s){if(s=ls(s),s){const l=A.findKey(r,s);l&&(!n||Bu(r,r[l],l,n))&&(delete r[l],o=!0)}}return A.isArray(t)?t.forEach(i):i(t),o}clear(t){const n=Object.keys(this);let r=n.length,o=!1;for(;r--;){const i=n[r];(!t||Bu(this,this[i],i,t,!0))&&(delete this[i],o=!0)}return o}normalize(t){const n=this,r={};return A.forEach(this,(o,i)=>{const s=A.findKey(r,i);if(s){n[s]=kl(o),delete n[i];return}const l=t?Vj(i):String(i).trim();l!==i&&delete n[i],n[l]=kl(o),r[l]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return A.forEach(this,(r,o)=>{r!=null&&r!==!1&&(n[o]=t&&A.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(` -`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(o=>r.set(o)),r}static accessor(t){const r=(this[Jm]=this[Jm]={accessors:{}}).accessors,o=this.prototype;function i(s){const l=ls(s);r[l]||(Gj(o,s),r[l]=!0)}return A.isArray(t)?t.forEach(i):i(t),this}}Qc.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);A.reduceDescriptors(Qc.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});A.freezeMethods(Qc);const qn=Qc;function Uu(e,t){const n=this||Lp,r=t||n,o=qn.from(r.headers);let i=r.data;return A.forEach(e,function(l){i=l.call(n,i,o.normalize(),t?t.status:void 0)}),o.normalize(),i}function F1(e){return!!(e&&e.__CANCEL__)}function wa(e,t,n){ue.call(this,e??"canceled",ue.ERR_CANCELED,t,n),this.name="CanceledError"}A.inherits(wa,ue,{__CANCEL__:!0});function Kj(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new ue("Request failed with status code "+n.status,[ue.ERR_BAD_REQUEST,ue.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}const qj=jn.hasStandardBrowserEnv?{write(e,t,n,r,o,i){const s=[e+"="+encodeURIComponent(t)];A.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),A.isString(r)&&s.push("path="+r),A.isString(o)&&s.push("domain="+o),i===!0&&s.push("secure"),document.cookie=s.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function Yj(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function Qj(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}function z1(e,t){return e&&!Yj(t)?Qj(e,t):t}const Xj=jn.hasStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let r;function o(i){let s=i;return t&&(n.setAttribute("href",s),s=n.href),n.setAttribute("href",s),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return r=o(window.location.href),function(s){const l=A.isString(s)?o(s):s;return l.protocol===r.protocol&&l.host===r.host}}():function(){return function(){return!0}}();function Jj(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function Zj(e,t){e=e||10;const n=new Array(e),r=new Array(e);let o=0,i=0,s;return t=t!==void 0?t:1e3,function(a){const u=Date.now(),d=r[i];s||(s=u),n[o]=a,r[o]=u;let f=i,p=0;for(;f!==o;)p+=n[f++],f=f%e;if(o=(o+1)%e,o===i&&(i=(i+1)%e),u-s{const i=o.loaded,s=o.lengthComputable?o.total:void 0,l=i-n,a=r(l),u=i<=s;n=i;const d={loaded:i,total:s,progress:s?i/s:void 0,bytes:l,rate:a||void 0,estimated:a&&s&&u?(s-i)/a:void 0,event:o};d[t?"download":"upload"]=!0,e(d)}}const e$=typeof XMLHttpRequest<"u",t$=e$&&function(e){return new Promise(function(n,r){let o=e.data;const i=qn.from(e.headers).normalize();let{responseType:s,withXSRFToken:l}=e,a;function u(){e.cancelToken&&e.cancelToken.unsubscribe(a),e.signal&&e.signal.removeEventListener("abort",a)}let d;if(A.isFormData(o)){if(jn.hasStandardBrowserEnv||jn.hasStandardBrowserWebWorkerEnv)i.setContentType(!1);else if((d=i.getContentType())!==!1){const[x,...w]=d?d.split(";").map(v=>v.trim()).filter(Boolean):[];i.setContentType([x||"multipart/form-data",...w].join("; "))}}let f=new XMLHttpRequest;if(e.auth){const x=e.auth.username||"",w=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";i.set("Authorization","Basic "+btoa(x+":"+w))}const p=z1(e.baseURL,e.url);f.open(e.method.toUpperCase(),M1(p,e.params,e.paramsSerializer),!0),f.timeout=e.timeout;function g(){if(!f)return;const x=qn.from("getAllResponseHeaders"in f&&f.getAllResponseHeaders()),v={data:!s||s==="text"||s==="json"?f.responseText:f.response,status:f.status,statusText:f.statusText,headers:x,config:e,request:f};Kj(function(_){n(_),u()},function(_){r(_),u()},v),f=null}if("onloadend"in f?f.onloadend=g:f.onreadystatechange=function(){!f||f.readyState!==4||f.status===0&&!(f.responseURL&&f.responseURL.indexOf("file:")===0)||setTimeout(g)},f.onabort=function(){f&&(r(new ue("Request aborted",ue.ECONNABORTED,e,f)),f=null)},f.onerror=function(){r(new ue("Network Error",ue.ERR_NETWORK,e,f)),f=null},f.ontimeout=function(){let w=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const v=e.transitional||D1;e.timeoutErrorMessage&&(w=e.timeoutErrorMessage),r(new ue(w,v.clarifyTimeoutError?ue.ETIMEDOUT:ue.ECONNABORTED,e,f)),f=null},jn.hasStandardBrowserEnv&&(l&&A.isFunction(l)&&(l=l(e)),l||l!==!1&&Xj(p))){const x=e.xsrfHeaderName&&e.xsrfCookieName&&qj.read(e.xsrfCookieName);x&&i.set(e.xsrfHeaderName,x)}o===void 0&&i.setContentType(null),"setRequestHeader"in f&&A.forEach(i.toJSON(),function(w,v){f.setRequestHeader(v,w)}),A.isUndefined(e.withCredentials)||(f.withCredentials=!!e.withCredentials),s&&s!=="json"&&(f.responseType=e.responseType),typeof e.onDownloadProgress=="function"&&f.addEventListener("progress",Zm(e.onDownloadProgress,!0)),typeof e.onUploadProgress=="function"&&f.upload&&f.upload.addEventListener("progress",Zm(e.onUploadProgress)),(e.cancelToken||e.signal)&&(a=x=>{f&&(r(!x||x.type?new wa(null,e,f):x),f.abort(),f=null)},e.cancelToken&&e.cancelToken.subscribe(a),e.signal&&(e.signal.aborted?a():e.signal.addEventListener("abort",a)));const m=Jj(p);if(m&&jn.protocols.indexOf(m)===-1){r(new ue("Unsupported protocol "+m+":",ue.ERR_BAD_REQUEST,e));return}f.send(o||null)})},lf={http:kj,xhr:t$};A.forEach(lf,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const eg=e=>`- ${e}`,n$=e=>A.isFunction(e)||e===null||e===!1,B1={getAdapter:e=>{e=A.isArray(e)?e:[e];const{length:t}=e;let n,r;const o={};for(let i=0;i`adapter ${l} `+(a===!1?"is not supported by the environment":"is not available in the build"));let s=t?i.length>1?`since : + */function sc(){return sc=Object.assign?Object.assign.bind():function(e){for(var t=1;t{this.resolve=r=>{this.status==="pending"&&(this.status="resolved",t(r))},this.reject=r=>{this.status==="pending"&&(this.status="rejected",n(r))}})}}function nC(e){let{fallbackElement:t,router:n,future:r}=e,[o,i]=h.useState(n.state),[s,l]=h.useState(),[a,u]=h.useState({isTransitioning:!1}),[d,f]=h.useState(),[p,g]=h.useState(),[m,x]=h.useState(),w=h.useRef(new Map),{v7_startTransition:v}=r||{},y=h.useCallback(k=>{v?eC(k):k()},[v]),_=h.useCallback((k,j)=>{let{deletedFetchers:P,unstable_flushSync:N,unstable_viewTransitionOpts:M}=j;P.forEach(U=>w.current.delete(U)),k.fetchers.forEach((U,z)=>{U.data!==void 0&&w.current.set(z,U.data)});let I=n.window==null||typeof n.window.document.startViewTransition!="function";if(!M||I){N?as(()=>i(k)):y(()=>i(k));return}if(N){as(()=>{p&&(d&&d.resolve(),p.skipTransition()),u({isTransitioning:!0,flushSync:!0,currentLocation:M.currentLocation,nextLocation:M.nextLocation})});let U=n.window.document.startViewTransition(()=>{as(()=>i(k))});U.finished.finally(()=>{as(()=>{f(void 0),g(void 0),l(void 0),u({isTransitioning:!1})})}),as(()=>g(U));return}p?(d&&d.resolve(),p.skipTransition(),x({state:k,currentLocation:M.currentLocation,nextLocation:M.nextLocation})):(l(k),u({isTransitioning:!0,flushSync:!1,currentLocation:M.currentLocation,nextLocation:M.nextLocation}))},[n.window,p,d,w,y]);h.useLayoutEffect(()=>n.subscribe(_),[n,_]),h.useEffect(()=>{a.isTransitioning&&!a.flushSync&&f(new tC)},[a]),h.useEffect(()=>{if(d&&s&&n.window){let k=s,j=d.promise,P=n.window.document.startViewTransition(async()=>{y(()=>i(k)),await j});P.finished.finally(()=>{f(void 0),g(void 0),l(void 0),u({isTransitioning:!1})}),g(P)}},[y,s,d,n.window]),h.useEffect(()=>{d&&s&&o.location.key===s.location.key&&d.resolve()},[d,p,o.location,s]),h.useEffect(()=>{!a.isTransitioning&&m&&(l(m.state),u({isTransitioning:!0,flushSync:!1,currentLocation:m.currentLocation,nextLocation:m.nextLocation}),x(void 0))},[a.isTransitioning,m]),h.useEffect(()=>{},[]);let C=h.useMemo(()=>({createHref:n.createHref,encodeLocation:n.encodeLocation,go:k=>n.navigate(k),push:(k,j,P)=>n.navigate(k,{state:j,preventScrollReset:P==null?void 0:P.preventScrollReset}),replace:(k,j,P)=>n.navigate(k,{replace:!0,state:j,preventScrollReset:P==null?void 0:P.preventScrollReset})}),[n]),E=n.basename||"/",b=h.useMemo(()=>({router:n,navigator:C,static:!1,basename:E}),[n,C,E]);return h.createElement(h.Fragment,null,h.createElement(p1.Provider,{value:b},h.createElement(h1.Provider,{value:o},h.createElement(XE.Provider,{value:w.current},h.createElement(QE.Provider,{value:a},h.createElement(VE,{basename:E,location:o.location,navigationType:o.historyAction,navigator:C,future:{v7_relativeSplatPath:n.future.v7_relativeSplatPath}},o.initialized||n.future.v7_partialHydration?h.createElement(rC,{routes:n.routes,future:n.future,state:o}):t))))),null)}function rC(e){let{routes:t,future:n,state:r}=e;return AE(t,void 0,r,n)}var zm;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(zm||(zm={}));var Bm;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(Bm||(Bm={}));var R=(e=>(e.Easy="easy",e.Medium="medium",e.Hard="hard",e))(R||{});const Um=[R.Easy,R.Medium,R.Hard];function xa(e){return new Map([...e.entries()].sort((t,n)=>{const r=Um.indexOf(t[1].difficulty),o=Um.indexOf(n[1].difficulty);return r-o}))}const oC=new Map([["shapes",{title:"Shapes",link:"shapes/",difficulty:R.Easy,developer:"sadanandpai",tags:[]}]]);xa(oC);const iC=new Map([["counter",{title:"Counter",link:"counter/",difficulty:R.Easy,developer:"sadanandpai",youtube:"https://youtu.be/9OIeUtXX3SA",tags:[]}],["bmi-calculator",{title:"BMI Calculator",link:"bmi-calculator/",difficulty:R.Easy,developer:"itsayopapi",tags:[]}],["dice-game",{title:"Dice Game",link:"dice-game/",difficulty:R.Easy,developer:"shivam200446",tags:[],isNew:!0}],["roll-dice",{title:"Roll dice",link:"roll-dice/",difficulty:R.Easy,developer:"babandakale",tags:[]}],["guess-the-number",{title:"Guess the number",link:"guess-the-number/",difficulty:R.Easy,developer:"sadanandpai",youtube:"https://youtu.be/L1Da3GWEGpY",tags:[]}],["string-transformers",{title:"String transformers",link:"string-transformers/",difficulty:R.Easy,developer:"sadanandpai",youtube:"https://youtu.be/crCZEJ6Lmgc",tags:[]}],["file-uploader",{title:"File Uploader",link:"file-uploader/",difficulty:R.Easy,developer:"avtech",tags:[],isNew:!0}],["telephone-formatter",{title:"Telephone formatter",link:"telephone-formatter/",difficulty:R.Easy,developer:"sadanandpai",youtube:"https://youtu.be/E85ldVqAGjw",tags:[]}],["dialog-popup",{title:"Dialog Popup",link:"dialog-popup/",difficulty:R.Easy,developer:"sahankatta",youtube:"https://youtu.be/aIzyEDi6zgU",tags:[]}],["light-dark-mode",{title:"Light & Dark mode",link:"light-dark-mode/",difficulty:R.Easy,developer:"sadanandpai",youtube:"https://youtu.be/hxcGGhjYNFE",tags:[]}],["skeleton-loader",{title:"Skeleton Loader",link:"skeleton-loader/",difficulty:R.Easy,developer:"sahankatta",youtube:"https://youtu.be/FEtTRjq1P6I",tags:[]}],["spinning-loader",{title:"Spinning Loader",link:"spinning-loader/",difficulty:R.Easy,developer:"DhanushNehru",tags:[]}],["music-kit",{title:"Music Kit",link:"music-kit/",difficulty:R.Easy,developer:"shivam200446",tags:[]}],["currency-converter",{title:"Currency Converter",link:"currency-converter/",difficulty:R.Easy,developer:"pranav514",tags:[],isNew:!0}],["accordion",{title:"Accordion",link:"accordion/",difficulty:R.Easy,developer:"rashidtvmr",youtube:"https://youtu.be/03KFXudVaoo",tags:[]}],["navigation-bar",{title:"Navigation Bar",link:"navigation-bar/",difficulty:R.Easy,developer:"christian-lee1398",youtube:"https://youtu.be/urA5ogzG0L0",tags:[]}],["Footer",{title:"Footer",link:"Footer/",difficulty:R.Easy,developer:"AbhineshJha",youtube:"https://youtu.be/FRRlFLfdvBE?si=HWn88BwJGTJvEBUD",tags:[],isNew:!0}],["rock-paper-scissor",{title:"Rock Paper Scissor",link:"rock-paper-scissor/",difficulty:R.Easy,developer:"AckermanLevi1",tags:[],isNew:!0}],["MadStory_generator",{title:"MadStory Generator",link:"MadStory_generator/",difficulty:R.Easy,developer:"hritik",tags:[]}],["multi-typing",{title:"Multi Typing",link:"multi-typing/",difficulty:R.Easy,developer:"noorulaink00",youtube:"https://youtu.be/YCDeOT7DRnI",tags:[]}],["bill-spilt",{title:"Bill Split",link:"bill-spilt/",difficulty:R.Easy,developer:"Sukomal07",youtube:"https://youtu.be/4H2DyrSJeYc",tags:[]}],["simon-game",{title:"Simon game",link:"simon-game/",difficulty:R.Easy,developer:"VishakhaSainani",tags:[],isNew:!0}],["blobmaker",{title:"Blob Maker",link:"blobmaker/",difficulty:R.Easy,developer:"AbhineshJha",tags:[]}],["fitness-tracker",{title:"Fitness Tracker",link:"fitness-tracker/",difficulty:R.Easy,developer:"CrypticRevenger",tags:[]}],["atm-simulator",{title:"ATM Simulator",link:"atm-simulator/",difficulty:R.Easy,developer:"Bratajit-03",tags:[],isNew:!0}],["finance-tracker",{title:"Finance Tracker",link:"finance-tracker/",difficulty:R.Medium,developer:"sujitmahapatra",tags:[]}],["meme-generator",{title:"Meme Generator",link:"meme-generator/",difficulty:R.Medium,developer:"noorulaink00",youtube:"https://youtu.be/LHo9Hi47MTo",tags:[]}],["weather-app",{title:"Weather App",link:"weather-app/",difficulty:R.Medium,developer:"shruti-sen2004",tags:[],isNew:!0}],["toast-popup",{title:"Toast Popup",link:"toast-popup/",difficulty:R.Medium,developer:"sadanandpai",youtube:"https://youtu.be/-p3N5bJXEK8",tags:[]}],["column-table",{title:"Column Table",link:"column-table/",difficulty:R.Medium,developer:"sadanandpai",tags:[]}],["password-strength",{title:"Password Strength",link:"password-strength/",difficulty:R.Medium,developer:"sadanandpai",tags:[]}],["star-rating",{title:"Star Rating",link:"star-rating/",difficulty:R.Medium,developer:"sadanandpai",tags:[]}],["star-rating-display",{title:"Star Rating Display",link:"star-rating-display/",difficulty:R.Medium,developer:"sadanandpai",tags:[]}],["pixel-art",{title:"Pixel Art",link:"pixel-art/",difficulty:R.Medium,developer:"sadanandpai",tags:[]}],["word-counter",{title:"Word Counter (online)",link:"word-counter/",difficulty:R.Medium,developer:"AckermanLevi1",tags:[]}],["color-spotter",{title:"Color Spotter",link:"color-spotter/",difficulty:R.Medium,developer:"sadanandpai",tags:[]}],["todo-list",{title:"Todo List",link:"todo-list/",difficulty:R.Medium,developer:"sadanandpai",tags:[]}],["gradient-generator",{title:"Gradient Generator",link:"gradient-generator/",difficulty:R.Medium,developer:"Sukomal07",tags:[],isNew:!0}],["transfer-list",{title:"Transfer List",link:"transfer-list/",difficulty:R.Medium,developer:"sadanandpai",tags:[]}],["lift-simulation",{title:"Lift Simulation",link:"lift-simulation/",difficulty:R.Medium,developer:"gauravsinhaweb",tags:[],isNew:!0}],["tic-tac-toe",{title:"Tic-Tac-Toe",link:"tic-tac-toe/",difficulty:R.Medium,developer:"sadanandpai",tags:[]}],["chess-board",{title:"Chess board",link:"chess-board/",difficulty:R.Medium,developer:"sadanandpai",tags:[]}],["chips-input",{title:"Chips Input",link:"chips-input/",difficulty:R.Medium,developer:"sadanandpai",tags:[]}],["infinite-scroll",{title:"Infinite Scroll",link:"infinite-scroll/",difficulty:R.Medium,developer:"srijanB7",tags:[]}],["password-generator",{title:"Password Generator",link:"password-generator/",difficulty:R.Medium,developer:"sadanandpai",tags:[]}],["analog-clock",{title:"Analog Clock",link:"analog-clock/",difficulty:R.Medium,developer:"sadanandpai",tags:[]}],["drag-and-drop-puzzle",{title:"Drag and Drop Puzzle",link:"drag-and-drop-puzzle/",difficulty:R.Medium,developer:"noorulaink00",tags:[],isNew:!0}],["basic-calculator",{title:"Basic calculator",link:"basic-calculator/",difficulty:R.Medium,developer:"sadanandpai",tags:[]}],["match-pair",{title:"Match Pair",link:"match-pair/",difficulty:R.Medium,developer:"sadanandpai",tags:[]}],["typing-speed-test",{title:"Typing Speed Test",link:"typing-speed-test/",difficulty:R.Medium,developer:"sadanandpai",tags:[]}],["count-down-timer",{title:"Countdown Timer",link:"count-down-timer/",difficulty:R.Medium,developer:"sadanandpai",tags:[]}],["otp-input",{title:"OTP Input",link:"otp-input/",difficulty:R.Medium,developer:"sadanandpai",tags:[]}],["quiz-app",{title:"Quiz App",link:"quiz-app/",difficulty:R.Medium,developer:"Kei-K23",tags:[],isNew:!0}],["sorting-visualizer",{title:"Sorting Visualizer",link:"sorting-visualizer/",difficulty:R.Medium,developer:"viditagrawal56",tags:[],isNew:!0}],["snake-game",{title:"Snake Game",link:"snake-game/",difficulty:R.Medium,developer:"Kei-K23",tags:[]}],["hangman-game",{title:"Hangman Game",link:"hangman-game/",difficulty:R.Medium,developer:"Kei-K23",tags:[],isNew:!0}],["area-selector",{title:"Area Selector",link:"area-selector/",difficulty:R.Medium,developer:"sadanandpai",tags:[]}],["25-5-clock",{title:"25-5 Clock",link:"25-5-clock/",difficulty:R.Medium,developer:"caesar003",tags:[]}],["carousel",{title:"Carousel",link:"carousel/",difficulty:R.Medium,developer:"sadanandpai",tags:[]}],["calendar",{title:"Calendar",link:"calendar/",difficulty:R.Medium,developer:"sadanandpai",tags:[]}],["progress-bar",{title:"Progress Bar",link:"progress-bar/",difficulty:R.Medium,developer:"sadanandpai",tags:[]}],["movie-info",{title:"Movie-info app (online)",link:"movie-info/",difficulty:R.Medium,developer:"AckermanLevi1",tags:[]}],["quiz-app-with-timer",{title:"Quiz App with Timer",link:"quiz-app-with-timer/",difficulty:R.Medium,developer:"Vivek-GuptaXCode",tags:[]}],["paginator",{title:"Paginator",link:"paginator/",difficulty:R.Hard,developer:"sadanandpai",tags:[]}],["connect-four",{title:"Connect Four",link:"connect-four/",difficulty:R.Hard,developer:"sadanandpai",tags:[]}],["comment-box",{title:"Comment box",link:"comment-box/",difficulty:R.Hard,developer:"sadanandpai",tags:[]}],["json-creator",{title:"JSON Creator",link:"json-creator/",difficulty:R.Hard,developer:"sadanandpai",tags:[]}],["array-methods",{title:"Array methods",link:"array-methods/",difficulty:R.Hard,developer:"sadanandpai",tags:[]}],["type-ahead",{title:"Typeahead / Autocomplete (offline)",link:"type-ahead/",difficulty:R.Hard,developer:"sadanandpai",tags:[]}],["type-ahead-online",{title:"Typeahead / Autocomplete (online)",link:"type-ahead-online/",difficulty:R.Hard,developer:"sadanandpai",tags:[]}]]);xa(iC);const sC=new Map([["counter",{title:"Counter",link:"counter",difficulty:R.Easy,developer:"sadanandpai",tags:[]}],["programming-languages-multiverse",{title:"Programming Multiverse",link:"programming-languages-multiverse",difficulty:R.Easy,developer:"Sumitwarrior7",tags:[]}],["anagram-checker",{title:"Anagram Checker",link:"anagram-checker",difficulty:R.Easy,developer:"Manmit Tiwade",tags:[]}],["quote-generator",{title:"Quote Generator",link:"quote-generator",difficulty:R.Easy,developer:"viditagrawal56",tags:[]}],["image-gallery",{title:"Image Gallery",link:"image-gallery",difficulty:R.Easy,developer:"Bhushan1019",tags:[]}],["accordion",{title:"Accordion",link:"accordion",developer:"NikhilJHA01",difficulty:R.Easy,tags:[]}],["background-changer",{title:"Background Changer",link:"background-changer",developer:"AdityaSuryawanshi",difficulty:R.Easy,tags:[]}],["light-dark-mode",{title:"Light Dark Mode",link:"light-dark-mode",difficulty:R.Easy,developer:"NikhilJHA01",tags:[]}],["qr-code-generator",{title:"QR generator",link:"qr-code-generator",difficulty:R.Easy,developer:"Krishnakalani111",tags:[]}],["your-sport",{title:"Your Sport",link:"your-sport",difficulty:R.Easy,developer:"Sumitwarrior7",tags:[]}],["table-colorizer",{title:"Table Colorizer",link:"table-colorizer",difficulty:R.Easy,developer:"ravi02205",tags:[]}],["Guess-the-number",{title:"Guess the number",link:"Guess-the-number",difficulty:R.Easy,developer:"deepakrajkranti",tags:[]}],["pagination",{title:"Pagination",link:"pagination",difficulty:R.Easy,developer:"Pancratzia",tags:[]}],["stack",{title:"Stack",link:"stack",difficulty:R.Easy,developer:"kumaratul60",tags:[]}],["word-count",{title:"Word Count",link:"word-count",difficulty:R.Easy,developer:"Sumitwarrior7",tags:[]}],["temperature-converter",{title:"Temperature Converter",link:"temperature-converter",difficulty:R.Easy,developer:"Sumitwarrior7",tags:[]}],["star-Rating",{title:"Star Rating",link:"star-Rating",difficulty:R.Easy,developer:"NikhilJHA01",tags:[]}],["telephone-formatter",{title:"Telephone formatter",link:"telephone-formatter",difficulty:R.Easy,developer:"arpansaha13",tags:[]}],["string-transformers",{title:"String transformers",link:"string-transformers",difficulty:R.Easy,developer:"arpansaha13",tags:[]}],["tic-tac-toe",{title:"Tic Tac Toe",link:"tic-tac-toe",difficulty:R.Easy,developer:"rashidtvmr",tags:[]}],["expense-tracker",{title:"Expense Tracker",link:"expense-tracker",difficulty:R.Easy,developer:"harsh472000",tags:[]}],["25-5-clock",{title:"25-5 Clock",link:"25-5-clock",difficulty:R.Easy,developer:"caesar003",tags:[]}],["bmi-calculator",{title:"BMI Calculator",link:"bmi-calculator",difficulty:R.Easy,developer:"ashikjhonson",tags:[]}],["stepper",{title:"STEPPER",link:"stepper",difficulty:R.Easy,developer:"codechitra",tags:[],isNew:!0}],["calculator",{title:"Calculator",link:"calculator",difficulty:R.Medium,developer:"liza",tags:[]}],["color-mixer",{title:"Color Mixer",link:"color-mixer",difficulty:R.Medium,developer:"Sumitwarrior7",tags:[]}],["traffic-lights",{title:"Traffic Lights",link:"traffic-lights",difficulty:R.Medium,developer:"rishabhm05",tags:[]}],["email-templates",{title:"Email Templates",link:"email-templates",difficulty:R.Medium,developer:"sadanandpai",tags:[]}],["toast-popup",{title:"Toast Popup",link:"toast-popup",difficulty:R.Medium,developer:"deepu0",tags:[]}],["modal-popup",{title:"Modal Popup",link:"modal-popup",difficulty:R.Medium,developer:"rishabhm05",tags:[]}],["password-strength",{title:"Password Strength",link:"password-strength",difficulty:R.Medium,developer:"deepu0",tags:[]}],["timeline",{title:"Timeline",link:"timeline",difficulty:R.Medium,developer:"Vivek7038",tags:[],isNew:!0}],["column-table",{title:"Column Table",link:"column-table",difficulty:R.Medium,developer:"sadanandpai",tags:[]}],["todo-list",{title:"Todo List",link:"todo-list",difficulty:R.Medium,developer:"deepakrajkranti",tags:[]}],["emoji-picker",{title:"Emoji Picker",link:"emoji-picker",difficulty:R.Medium,developer:"jeevaramanathan",tags:[]}],["investment-calculator",{title:"Investment Calculator",link:"investment-calculator",difficulty:R.Medium,developer:"insharahAyyubi",tags:[]}],["stopwatch",{title:"Stopwatch",link:"stopwatch",difficulty:R.Medium,developer:"rashidtvmr",tags:[]}],["progressbar",{title:"Progressbar",link:"progressbar",difficulty:R.Medium,developer:"dhanu084",tags:[]}],["quiz-app",{title:"Quiz App",link:"quiz-app",difficulty:R.Medium,developer:"AbhilashMadi",tags:[]}],["chess-board",{title:"Chess Board",link:"chess-board",difficulty:R.Medium,developer:"AbhilashMadi",tags:[]}],["nested-dropdown",{title:"Nested Dropdown",link:"nested-dropdown",difficulty:R.Medium,developer:"AnkitKTrivedi",tags:[]}],["food-recipe",{title:"Food Recipe",link:"food-recipe",difficulty:R.Medium,developer:"Kei-K23",tags:[]}],["nested-comments",{title:"Nested Comments",link:"nested-comments",difficulty:R.Hard,developer:"Akshay-Omkar",tags:[],isNew:!0}],["password-generator",{title:"Password Generator",link:"password-generator",difficulty:R.Medium,developer:"Kei-K23",tags:[]}],["transfer-list",{title:"Transfer List",link:"transfer-list",difficulty:R.Medium,developer:"DeePaK-HeeRaKaRi",tags:[]}],["infinite-scrolling",{title:"Infinite Scrolling (online)",link:"infinite-scrolling",difficulty:R.Medium,developer:"ayush-dutt-sharma",tags:[]}],["match-pair",{title:"Match Pair",link:"match-pair",difficulty:R.Medium,developer:"sadanandpai",tags:[]}],["word-connect",{title:"Word Connect",link:"word-connect",difficulty:R.Hard,developer:"sadanandpai",tags:[],isNew:!0}],["otp",{title:"OTP",link:"otp",difficulty:R.Hard,developer:"rishabhm05",tags:[]}],["file-explorer",{title:"File Explorer",link:"file-explorer",difficulty:R.Hard,developer:"sadanandpai",tags:[]}],["autocomplete-offline",{title:"Typeahead / Autocomplete (offline)",link:"autocomplete-offline",difficulty:R.Hard,developer:"deepu0",tags:[]}],["autocomplete-online",{title:"Typeahead / Autocomplete (online)",link:"autocomplete-online",difficulty:R.Hard,developer:"deepu0",tags:[]}],["water-balancer",{title:"Water Balancer",link:"water-balancer",difficulty:R.Hard,developer:"sadanandpai",tags:[],isNew:!0}],["inline-options",{title:"Inline Options",link:"inline-options",difficulty:R.Easy,developer:"takshch",tags:[]}],["digital-clock",{title:"Digital Clock",link:"digital-clock",difficulty:R.Medium,developer:"Syamsai-Polavarapu",tags:[],isNew:!0}],["15puzzle",{title:"15 Puzzle",link:"15puzzle",difficulty:R.Medium,developer:"Bateusz",tags:[],isNew:!0}],["feedback-modal",{title:"Feedback Modal",link:"feedback-modal",difficulty:R.Medium,developer:"ssudipta",tags:[]}],["memory-game",{title:"Memory Game",link:"memory-game",difficulty:R.Medium,developer:"Akshat-Gupta",tags:[],isNew:!0}],["chip-input",{title:"Chips Input",link:"chip-input",difficulty:R.Medium,developer:"Akshay-Omkar",tags:[],isNew:!0}],["tabs",{title:"Tab",link:"tabs",difficulty:R.Easy,developer:"Akshay-Omkar",tags:[],isNew:!0}],["drag-drop",{title:"Drag-Drop",link:"drag-drop",difficulty:R.Medium,developer:"Akshay-Omkar",tags:[],isNew:!0}],["circles",{title:"Circles",link:"circles",difficulty:R.Medium,developer:"sadanandpai",tags:[],isNew:!0}],["analog-clock",{title:"Analog Clock",link:"analog-clock",difficulty:R.Medium,developer:"sadanandpai",tags:[],isNew:!0}]]),aC=xa(sC),lC=new Map([["counter",{title:"Counter",link:"/counter",difficulty:R.Easy,developer:"arpansaha13",tags:[]}],["accordion",{title:"Accordion",link:"/accordion",difficulty:R.Easy,developer:"arpansaha13",tags:[]}],["light-dark-mode",{title:"Light Dark Mode",link:"/light-dark-mode",difficulty:R.Easy,developer:"arpansaha13",tags:[]}],["table-colorizer",{title:"Table Colorizer",link:"/table-colorizer",difficulty:R.Easy,developer:"arpansaha13",tags:[]}],["guess-the-number",{title:"Guess the number",link:"/guess-the-number",difficulty:R.Easy,developer:"arpansaha13",tags:[]}],["pagination",{title:"Pagination",link:"/pagination",difficulty:R.Easy,developer:"arpansaha13",tags:[]}],["stack",{title:"Stack",link:"/stack",difficulty:R.Easy,developer:"jaydadhaniya",tags:[]}],["telephone-formatter",{title:"Telephone formatter",link:"/telephone-formatter",difficulty:R.Easy,developer:"arpansaha13",tags:[]}],["temprature-converter",{title:"Temprature Converter",link:"/temprature-converter",difficulty:R.Easy,developer:"bhumikkalola",tags:[]}],["tic-tac-toe",{title:"Tic Tac Toe",link:"/tic-tac-toe",difficulty:R.Medium,developer:"sadanandpai",tags:[]}],["toast-popup",{title:"Toast Popup",link:"/toast-popup",difficulty:R.Medium,developer:"arpansaha13",tags:[]}],["password-strength",{title:"Password Strength",link:"/password-strength",difficulty:R.Medium,developer:"jaydadhaniya",tags:[]}],["password-generator",{title:"Password Generator",link:"/password-generator",difficulty:R.Medium,developer:"bhumikkalola",tags:[]}],["stopwatch",{title:"Stopwatch",link:"/stopwatch",difficulty:R.Medium,developer:"Shardik04",tags:[]}]]);xa(lC);const cC=new Map([["counter",{title:"Counter",link:"counter",difficulty:R.Easy,developer:"sadanandpai",tags:[],isNew:!0}],["guess-number",{title:"Guess Number",link:"guess-number",difficulty:R.Easy,developer:"pankajparkar",tags:[],isNew:!0}],["todo-list",{title:"Todo list",link:"todo-list",difficulty:R.Easy,developer:"pankajparkar",tags:[],isNew:!0}],["stack",{title:"Stack",link:"stack",difficulty:R.Easy,developer:"pankajparkar",tags:[],isNew:!0}],["tic-tac-toe",{title:"Tic tac toe",link:"tic-tac-toe",difficulty:R.Easy,developer:"pankajparkar",tags:[],isNew:!0}],["word-count",{title:"Word Count",link:"word-count",difficulty:R.Easy,developer:"pankajparkar",tags:[],isNew:!0}]]);xa(cC);const uC=[{direction:"Up",delta:[-1,0]},{direction:"Down",delta:[1,0]},{direction:"Left",delta:[0,-1]},{direction:"Right",delta:[0,1]}],dC="_tile_5pn2z_1",fC="_empty_5pn2z_5",pC="_correctTilePoz_5pn2z_17",hC="_moveLeft_5pn2z_17",mC="_moveRight_5pn2z_17",gC="_moveUp_5pn2z_17",vC="_moveDown_5pn2z_17",Xa={tile:dC,empty:fC,correctTilePoz:pC,moveLeft:hC,moveRight:mC,moveUp:gC,moveDown:vC,"move-left":"_move-left_5pn2z_1","move-right":"_move-right_5pn2z_1","move-up":"_move-up_5pn2z_1","move-down":"_move-down_5pn2z_1"};function yC({digit:e,onClick:t,isOnCorrectPoz:n,animDirection:r}){return c.jsx("div",{className:`${Xa.tile} ${e===0?Xa.empty:""} ${n?Xa.correctTilePoz:""} ${r?Xa[`move${r}`]:""}`,onClick:t,children:!!e&&e},e)}const xC="_grid_e2nmy_1",wC="_menu_e2nmy_9",Hm={grid:xC,menu:wC},_C=e=>{const t=e.length;let n=0;for(let r=0;re[o]&&(n+=1);return n%2===0},bC=e=>{const t=e.length;for(let n=0;n{let n;do n=bC(Array.from({length:e*t-1},(r,o)=>o+1));while(!_C(n));return n},Wm=(e=4,t=4)=>{const n=SC(e,t),r=Array.from({length:e},(o,i)=>n.slice(i*t,i*t+t));return r[e-1][t-1]=0,r};function EC(){const[e,t]=h.useState([]),[n,r]=h.useState(0),[o,i]=h.useState(!1),[s,l]=h.useState({moves:[],capacity:5}),[a,u]=h.useState({element:null,type:""}),d=w=>{const{moves:v,capacity:y}=s;v.length===y&&v.shift(),v.push(w)},f=(w,v)=>{const y=e.map(_=>[..._]);[y[w.row][w.col],y[v.row][v.col]]=[y[v.row][v.col],y[w.row][w.col]],t(y)},p=(w,v,y)=>{f(w,v),u({element:v,type:y}),setTimeout(()=>{u({element:null,type:""})},300)},g=(w,v=!0)=>{a.element||uC.forEach(y=>{const{direction:_,delta:C}=y,E=w.row+C[0],b=w.col+C[1];if(E>=0&&E<4&&b>=0&&b<4&&e[E][b]===0){if(p(w,{row:E,col:b},_),v){d({row:E,col:b}),r(n+1);return}r(n-1)}})},m=()=>{const{moves:w}=s;if(a.element||w.length===0)return;const v=w[w.length-1];g(v,!1),l({...s,moves:w.slice(0,w.length-1)})},x=()=>{t(Wm(4,4)),r(0),l({...s,moves:[]})};return h.useEffect(()=>{t(Wm(4,4))},[]),h.useEffect(()=>{const w=e.flat().every((v,y,_)=>v===y+1||y===_.length-1);i(w)},[e]),c.jsxs("div",{children:[c.jsx("div",{className:Hm.grid,children:e.map((w,v)=>w.map((y,_)=>c.jsx(yC,{animDirection:a.element&&a.element.col===_&&a.element.row===v?a.type:"",digit:y,onClick:()=>g({row:v,col:_}),isOnCorrectPoz:v*3+_+v+1===y},y)))}),c.jsxs("div",{className:Hm.menu,children:[c.jsx("button",{type:"button",onClick:x,children:"Reset"}),c.jsx("button",{type:"button",disabled:s.moves.length===0,onClick:m,children:"Undo"}),c.jsxs("p",{children:[o?"Congrats.":""," Total moves: ",n]})]})]})}function CC(){return c.jsxs("div",{children:[c.jsx("div",{children:c.jsx("p",{style:{textAlign:"center"},children:"Click on the box to move it and sort row-wise"})}),c.jsx(EC,{})]})}const kC="_App_150vf_1",jC="_accordion_150vf_6",Cl={App:kC,accordion:jC,"accordion-title":"_accordion-title_150vf_14","accordion-icon":"_accordion-icon_150vf_20"},$C=({title:e,info:t,id:n,openAccordionId:r,setIdOfOpenAccordion:o})=>{const[i,s]=h.useState(!1),l=()=>{s(a=>!a),o(n)};return h.useEffect(()=>{r&&s(r===n)},[n,r]),c.jsxs("div",{className:Cl.accordion,children:[c.jsxs("div",{className:Cl["accordion-title"],children:[c.jsx("h3",{children:e}),c.jsx("button",{onClick:l,className:Cl["accordion-icon"],children:i?"-":"+"})]}),i&&c.jsx("p",{children:t})]},n)},RC=[{id:1,title:"Do I have to allow the use of cookies?",info:"Unicorn vinyl poutine brooklyn, next level direct trade iceland. Shaman copper mug church-key coloring book, whatever poutine normcore fixie cred kickstarter post-ironic street art."},{id:2,title:"How do I change my My Page password?",info:"Coloring book forage photo booth gentrify lumbersexual. Migas chillwave poutine synth shoreditch, enamel pin thundercats fashion axe roof party polaroid chartreuse."},{id:3,title:"What is BankID?",info:"Enamel pin fam sustainable woke whatever venmo. Authentic asymmetrical put a bird on it, lumbersexual activated charcoal kinfolk banjo cred pickled sartorial."},{id:4,title:"Whose birth number can I use?",info:"Edison bulb direct trade gentrify beard lo-fi seitan sustainable roof party franzen occupy squid. Knausgaard cronut succulents, scenester readymade shabby chic lyft. Copper mug meh vegan gentrify."},{id:5,title:"When do I recieve a password ordered by letter?",info:"Locavore franzen fashion axe live-edge neutra irony synth af tilde shabby chic man braid chillwave waistcoat copper mug messenger bag. Banjo snackwave blog, microdosing thundercats migas vaporware viral lo-fi seitan "}];function TC(){const[e,t]=h.useState(!0),[n,r]=h.useState(null),o=(s=null)=>{r(e?null:s)},i=()=>{e&&r(-1),t(!e)};return c.jsxs("div",{className:Cl.App,children:[c.jsxs("h4",{children:[c.jsx("label",{htmlFor:"max-open",children:"Is multiple open accordion allowed?"}),c.jsx("input",{type:"checkbox",id:"max-open",checked:e,onChange:i})]}),c.jsx("div",{children:RC.map(s=>c.jsx($C,{multiple:e,openAccordionId:n,setIdOfOpenAccordion:o,...s},s.id))})]})}class NC{constructor(t=[]){ph(this,"trie");this.trie={},this.addWordsToTrie(t)}addWordsToTrie(t){for(let n of t){let r=this.trie;n=n.toLowerCase();for(const o of n)r.hasOwnProperty(o)||(r[o]={}),r=r[o];r.end=!0}}getWordsFromTrie(t,n){t=t.toLowerCase();let r=this.trie;for(const o of t)if(r=r[o],!r)return[];return this.getWordsByDFS(r,n,t)}getWordsByDFS(t,n=1/0,r="",o=[]){if(t.end&&(o.push(r),o.length===n))return o;for(const i in t)if(t.hasOwnProperty(i)&&(this.getWordsByDFS(t[i],n,r+i,o),o.length===n))break;return o}}const PC=e=>{const[n,r]=h.useState(""),[o,i]=h.useState([]),[s,l]=h.useState(null),a=h.useRef(new NC(e)),u=g=>{const m=g.target.value;r(g.target.value),i(m?a.current.getWordsFromTrie(m,5):[]),l(null)};return h.useEffect(()=>{if(s!==null){const g=o[s];r(g)}},[s,o]),[n,u,s,o,g=>{if(g.key==="Enter"&&s!==null){const m=o[s];r(m),i([]),l(null)}g.key==="ArrowDown"&&(g.preventDefault(),l(m=>m===null||m===o.length-1?0:m+1)),g.key==="ArrowUp"&&(g.preventDefault(),l(m=>m===null||m===0?o.length-1:m-1))},g=>{r(g),i([]),l(null)},g=>{l(g)}]},OC=["Afghanistan","Albania","Algeria","Andorra","Angola","Antigua and Barbuda","Argentina","Armenia","Australia","Austria","Azerbaijan","Bahamas","Bahrain","Bangladesh","Barbados","Belarus","Belgium","Belize","Benin","Bhutan","Bolivia","Bosnia and Herzegovina","Botswana","Brazil","Brunei","Bulgaria","Burkina Faso","Burundi","Cote dIvoire","Cabo Verde","Cambodia","Cameroon","Canada","Central African Republic","Chad","Chile","China","Colombia","Comoros","Congo","Costa Rica","Croatia","Cuba","Cyprus","Czechia","Democratic Republic of the Congo","Denmark","Djibouti","Dominica","Dominican Republic","Ecuador","Egypt","El Salvador","Equatorial Guinea","Eritrea","Estonia","Eswatini","Ethiopia","Fiji","Finland","France","Gabon","Gambia","Georgia","Germany","Ghana","Greece","Grenada","Guatemala","Guinea","Guinea-Bissau","Guyana","Haiti","Holy See","Honduras","Hungary","Iceland","India","Indonesia","Iran","Iraq","Ireland","Israel","Italy","Jamaica","Japan","Jordan","Kazakhstan","Kenya","Kiribati","Kuwait","Kyrgyzstan","Laos","Latvia","Lebanon","Lesotho","Liberia","Libya","Liechtenstein","Lithuania","Luxembourg","Madagascar","Malawi","Malaysia","Maldives","Mali","Malta","Marshall Islands","Mauritania","Mauritius","Mexico","Micronesia","Moldova","Monaco","Mongolia","Montenegro","Morocco","Mozambique","Myanmar","Namibia","Nauru","Nepal","Netherlands","New Zealand","Nicaragua","Niger","Nigeria","North Korea","North Macedonia","Norway","Oman","Pakistan","Palau","Palestine State","Panama","Papua New Guinea","Paraguay","Peru","Philippines","Poland","Portugal","Qatar","Romania","Russia","Rwanda","Saint Kitts and Nevis","Saint Lucia","Saint Vincent","Samoa","San Marino","Sao Tome and Principe","Saudi Arabia","Senegal","Serbia","Seychelles","Sierra Leone","Singapore","Slovakia","Slovenia","Solomon Islands","Somalia","South Africa","South Korea","South Sudan","Spain","Sri Lanka","Sudan","Suriname","Sweden","Switzerland","Syria","Tajikistan","Tanzania","Thailand","Timor-Leste","Togo","Tonga","Trinidad and Tobago","Tunisia","Turkey","Turkmenistan","Tuvalu","Uganda","Ukraine","United Arab Emirates","United Kingdom","United States of America","Uruguay","Uzbekistan","Vanuatu","Venezuela","Vietnam","Yemen","Zambia","Zimbabwe"],AC="_main_xk16z_1",MC="_retryTimer_xk16z_15",DC="_suggestions_xk16z_21",IC="_highlight_xk16z_36",LC="_loader_xk16z_46",_r={main:AC,retryTimer:MC,suggestions:DC,highlight:IC,loader:LC},FC=()=>{const[e,t,n,r,o,i,s]=PC(OC),l=h.useRef(null);return c.jsxs("div",{className:_r.main,children:[c.jsx("p",{children:"Use up & down arrows to navigate suggestions"}),c.jsx("input",{type:"search",ref:l,autoComplete:"off",spellCheck:"false",placeholder:"Search for Country","aria-label":"Search",role:"combobox","aria-autocomplete":"list",value:e,onChange:t,onKeyDown:o}),c.jsx("ul",{className:_r.suggestions,children:r.map((a,u)=>c.jsx("li",{className:n===u?`${_r.highlight}`:"",onClick:()=>i(a),onMouseOver:()=>s(u),onMouseLeave:()=>s(null),children:a},u))})]})};function zC(e,t=500){let n=null;return function(...o){n&&(clearTimeout(n),n=null),n=setTimeout(e,t,...o)}}const BC=5;async function Vm(e){const t={items:[],errorMsgFromApi:"",timeDelta:0};try{const n=await fetch(`https://api.github.com/search/users?per_page=${BC}&q=${e}`);if(n.status===403){const r=n.headers.get("x-ratelimit-reset");if(r!==null){const o=parseFloat(r);t.timeDelta=Math.ceil(o-Date.now()/1e3)}else t.timeDelta=60}else{const r=await n.json();t.items=r.items.map(o=>o.login)}return t}catch{return t.errorMsgFromApi="Error occurred while fetching suggestions",t}}function UC(){const[e,t]=h.useState(""),[n,r]=h.useState([]),[o,i]=h.useState(null),[s,l]=h.useState(!1),[a,u]=h.useState(0),[d,f]=h.useState(""),p=h.useCallback(zC(async y=>{l(!0);try{const _=await Vm(y);u(_.timeDelta),_.errorMsgFromApi?(r([]),f(_.errorMsgFromApi)):_.items.length>0?(r(_.items),f("")):(r([]),f("No results found"))}catch{r([]),f("Error occurred while fetching suggestions")}l(!1)},300),[Vm]),g=()=>{r([]),i(null),f("")},m=y=>{if(y.key==="Enter"&&o!==null){const _=n[o];t(_),g()}y.key==="ArrowDown"&&(y.preventDefault(),i(_=>_===null||_===n.length-1?0:_+1)),y.key==="ArrowUp"&&(y.preventDefault(),i(_=>_===null||_===0?n.length-1:_-1))},x=y=>{const _=y.target.value;t(_),_.length>0?p(_):g()},w=y=>{t(y),g()};return h.useEffect(()=>{if(o!==null){const y=n[o];t(y)}},[o,n]),h.useEffect(()=>{const y=setTimeout(()=>{a>0&&u(_=>_-1)},1e3);return()=>clearTimeout(y)},[a]),{userText:e,suggestions:n,isLoading:s,suggestionFocus:o,errorMessage:d,retryAfter:a,handleInputChange:x,handleSuggestionClick:w,handleKeyDown:m,handleSuggestionFocus:y=>{i(y)}}}function HC(){const{userText:e,suggestions:t,isLoading:n,suggestionFocus:r,errorMessage:o,retryAfter:i,handleInputChange:s,handleSuggestionClick:l,handleKeyDown:a,handleSuggestionFocus:u}=UC();return c.jsxs("div",{className:_r.main,children:[c.jsx("p",{children:"Use up & down arrows to navigate suggestions"}),c.jsx("input",{type:"search",id:"userInput",autoComplete:"off",spellCheck:"false",placeholder:"Search for GitHub username","aria-label":"Search",role:"combobox","aria-autocomplete":"list",value:e,onKeyDown:a,onChange:s,disabled:i!==0}),n&&c.jsx("div",{id:"loader",className:_r.loader}),o&&c.jsx("div",{id:"info",children:o}),i!==0&&c.jsx("div",{className:_r.retryTimer,children:i}),c.jsx("ul",{className:_r.suggestions,children:t.map((d,f)=>c.jsx("li",{className:r===f?`${_r.highlight}`:"",onClick:()=>l(d),onMouseOver:()=>u(f),onMouseLeave:()=>u(null),children:d},f))})]})}const WC="_container_zsbjj_3",VC="_inputContainer_zsbjj_12",GC="_input_zsbjj_12",KC="_button_zsbjj_23",qC="_result_zsbjj_35",Ao={container:WC,inputContainer:VC,input:GC,button:KC,result:qC},YC=()=>{const e=(a,u)=>{const d=g=>g.replace(/[^\w]/g,"").toLowerCase(),f=d(a),p=d(u);return f.split("").sort().join("")===p.split("").sort().join("")},[t,n]=h.useState(""),[r,o]=h.useState(""),[i,s]=h.useState(null),l=()=>{const a=e(t,r);s(a)};return c.jsxs("div",{className:Ao.container,children:[c.jsxs("div",{className:Ao.inputContainer,children:[c.jsx("input",{type:"text",placeholder:"Enter the first word or phrase",value:t,onChange:a=>n(a.target.value),className:Ao.input}),c.jsx("input",{type:"text",placeholder:"Enter the second word or phrase",value:r,onChange:a=>o(a.target.value),className:Ao.input}),c.jsx("button",{onClick:l,className:Ao.button,children:"Check Anagram"})]}),i!==null&&c.jsx("p",{className:Ao.result,children:i?"The words/phrases are anagrams!":"The words/phrases are not anagrams."})]})},QC=()=>c.jsx("div",{children:c.jsx(YC,{})}),XC="_App_7yaca_1",JC="_container_7yaca_1",ZC="_input_7yaca_7",ek="_calculateButton_7yaca_21",tk="_card_7yaca_30",nk="_ranges_7yaca_41",vi={App:XC,container:JC,input:ZC,calculateButton:ek,card:tk,ranges:nk},rk=({BMI:e,category:t})=>{const n=["Less than 18.5 = Underweight","Between 18.5 - 24.9 = Healthy Weight","Between 25 - 29.9 = Overweight","Over 30 = Obese"];return c.jsxs("div",{className:vi.card,children:[c.jsxs("h1",{children:["BMI = ",e]}),c.jsx("h3",{children:t}),c.jsx("p",{className:vi.ranges,children:"BMI weight ranges"}),n.map(r=>c.jsx("p",{children:r},r))]})},ok=({handleHeightChange:e,handleWeightChange:t,BMI:n,calculateBMI:r,category:o})=>c.jsxs("div",{className:vi.container,children:[c.jsxs("div",{className:vi.input,children:[c.jsxs("label",{htmlFor:"height",children:["Height ",c.jsx("span",{children:"(in cm)"})]}),c.jsx("input",{type:"text",name:"height",onChange:e}),c.jsxs("label",{htmlFor:"weight",children:["Weight ",c.jsx("span",{children:"(in kg)"})]}),c.jsx("input",{type:"text",name:"weight",onChange:t}),c.jsx("button",{className:vi.calculateButton,onClick:r,children:"Calculate"})]}),c.jsx(rk,{BMI:n,category:o})]}),ik=()=>{const[e,t]=h.useState(null),[n,r]=h.useState(null),[o,i]=h.useState(null),[s,l]=h.useState(null);h.useEffect(()=>{if(o){let f=o<18.5?"Underweight":o<24.9?"Healthy Weight":o<29.9?"Overweight":"Obese";l(()=>f)}},[o]);const a=f=>{try{const p=parseFloat(f.target.value).toFixed(2);p>10&&t(()=>p)}catch(p){console.log(p,"Enter numeric values only"),t(0)}},u=f=>{try{const p=parseFloat(f.target.value).toFixed(2);p>10&&r(()=>p)}catch(p){console.log(p,"Enter numeric values only"),t(0)}},d=()=>{if(e&&n){const f=(n/(e*e/1e4)).toFixed(2);i(()=>f)}};return c.jsx("div",{className:vi.App,children:c.jsx(ok,{height:e,weight:n,handleHeightChange:a,handleWeightChange:u,BMI:o,calculateBMI:d,category:s})})},sk="/frontend-mini-challenges/react/assets/logo-Cv_hAIcG.png",ak="_navbar_6f1bq_1",lk="_left_6f1bq_11",ck="_back_6f1bq_17",uk="_logo_6f1bq_25",dk="_right_6f1bq_43",fk="_github_6f1bq_47",Mo={navbar:ak,left:lk,back:ck,logo:uk,right:dk,github:fk};var pk={VITE_REACT_APP_URL:"http://localhost:6013/",VITE_NG_APP_URL:"http://localhost:6015/",VITE_PATH:"frontend-mini-challenges",VITE_HOST_URL:"http://localhost:6010/",VITE_CSS_APP_URL:"http://localhost:6011/",VITE_JS_APP_URL:"http://localhost:6012/",VITE_VUE_APP_URL:"http://localhost:6014/",BASE_URL:"/frontend-mini-challenges/react/",MODE:"production",DEV:!1,PROD:!0,SSR:!1};const{VITE_PATH:ac,VITE_HOST_URL:v1,DEV:y1}=pk,hk=y1?`${v1}${ac}/#/react`:`/${ac}/#/react/`,mk=y1?`${v1}${ac}/`:`/${ac}/`;function gk({title:e}){return c.jsxs("nav",{className:Mo.navbar,children:[c.jsxs("div",{className:Mo.left,children:[c.jsx("a",{href:hk,className:Mo.back,children:"<"}),c.jsx("a",{className:Mo.logo,href:mk,children:c.jsx("img",{src:sk,alt:"logo"})})]}),c.jsx("h1",{children:e}),c.jsx("div",{className:Mo.right,children:c.jsx("a",{href:"https://github.com/sadanandpai/frontend-mini-challenges/",target:"blank",children:c.jsx("img",{src:"https://cdn-icons-png.flaticon.com/512/25/25231.png",alt:"github repo",className:Mo.github})})})]})}const vk="_container_10e68_1",yk="_button_10e68_7",Gm={container:vk,button:yk},xk=e=>{if(!e){const t="0123456789ABCDEF";e="#";for(let n=0;n<6;n++)e+=t[Math.floor(Math.random()*16)]}return e},wk=()=>{const e=t=>{document.body.style.backgroundColor=t};return h.useEffect(()=>()=>e("unset"),[]),c.jsx("div",{className:Gm.container,children:c.jsx("button",{type:"button",className:Gm.button,onClick:()=>e(xk()),children:"Change Color!! 😎"})})},Do={"color-mixer-container":"_color-mixer-container_oo1rc_1","color-box-top":"_color-box-top_oo1rc_13","color-inputs":"_color-inputs_oo1rc_30","color-input":"_color-input_oo1rc_30","mix-button":"_mix-button_oo1rc_57"};function _k(e,t){const n=parseInt(e.slice(1,3),16),r=parseInt(e.slice(3,5),16),o=parseInt(e.slice(5,7),16),i=parseInt(t.slice(1,3),16),s=parseInt(t.slice(3,5),16),l=parseInt(t.slice(5,7),16);return`#${Math.round((n+i)/2).toString(16)}${Math.round((r+s)/2).toString(16)}${Math.round((o+l)/2).toString(16)}`}function bk(){const[e,t]=h.useState("#FF5733"),[n,r]=h.useState("#33FF57"),o=s=>{const{name:l,value:a}=s.target;l==="color1"?t(a):r(a)},i=()=>{t("#FF5733"),r("#33FF57")};return c.jsxs("div",{className:Do["color-mixing-container"],children:[c.jsx("div",{className:Do["color-box-top"],style:{backgroundColor:_k(e,n)},children:c.jsx("p",{style:{textAlign:"center"},children:"Mixed Color"})}),c.jsxs("div",{className:Do["color-inputs"],children:[c.jsxs("div",{className:Do["color-input"],children:[c.jsx("label",{htmlFor:"color1",children:"Color 1"}),c.jsx("input",{type:"color",name:"color1",value:e,onChange:o})]}),c.jsxs("div",{className:Do["color-input"],children:[c.jsx("label",{htmlFor:"color2",children:"Color 2"}),c.jsx("input",{type:"color",name:"color2",value:n,onChange:o})]}),c.jsx("button",{className:Do["mix-button"],onClick:i,style:{marginTop:"1rem"},children:"Reset"})]})]})}const Sk="_main_pfcqp_1",Ek="_size_pfcqp_5",Ck="_grid_pfcqp_13",kk="_cell_pfcqp_17",lc={main:Sk,size:Ek,grid:Ck,cell:kk};function jk({columns:e,values:t}){return c.jsx("table",{className:lc.grid,style:{gridTemplateColumns:`repeat(${e}, 50px)`},children:c.jsx("tbody",{children:t.map((n,r)=>c.jsx("tr",{children:n.map(o=>c.jsx("td",{className:lc.cell,children:o},o))},r))})})}function $k({rows:e,setRows:t,columns:n,setColumns:r}){return c.jsxs("section",{className:lc.size,children:[c.jsxs("label",{htmlFor:"rows",children:["Rows :: ",e]}),c.jsx("input",{type:"range",name:"rows",id:"rows",min:"2",max:"8",value:e,onChange:o=>t(+o.target.value)}),c.jsxs("label",{htmlFor:"columns",children:["Columns :: ",n]}),c.jsx("input",{type:"range",name:"columns",id:"columns",min:"2",max:"8",value:n,onChange:o=>r(+o.target.value)})]})}function Rk(e,t){const n=Array.from(Array(e),()=>[]);let r=1,o=1,i=0,s=0;for(;s=0;)n[i][s]=r++,i+=o;o*=-1,i+=o,s+=1}return n}function Tk(){const[e,t]=h.useState(2),[n,r]=h.useState(2),o=Rk(e,n);return c.jsxs("main",{className:lc.main,children:[c.jsx($k,{rows:e,columns:n,setRows:t,setColumns:r}),c.jsx(jk,{columns:n,values:o})]})}const Nk="_main_1cx3l_1",Pk={main:Nk};function Ok(){const[e,t]=h.useState(0),n=h.useRef(1),r=l=>{n.current=l},o=()=>{t(l=>l+n.current)},i=()=>{t(l=>l-n.current)},s=()=>{t(0)};return c.jsxs("main",{className:Pk.main,children:[c.jsx("h2",{children:e}),c.jsxs("section",{children:[c.jsx("button",{onClick:i,"aria-label":"Decrement",children:"-"}),c.jsx("button",{onClick:o,"aria-label":"Increment",children:"+"})]}),c.jsxs("section",{children:[c.jsx("label",{htmlFor:"step",children:"Increment/Decrement by"}),c.jsx("input",{type:"number",id:"step",defaultValue:n.current,onChange:l=>r(l.target.valueAsNumber),title:"Step value"})]}),c.jsx("section",{children:c.jsx("button",{onClick:s,children:"Reset"})})]})}const Ak={name:"John Doe",companyName:"TwitX",effectiveDate:"",lastDate:"",position:"",contactNumber:""},Mk="_select_17qmd_1",Dk="_form_17qmd_6",Ik="_formField_17qmd_13",Lk="_formInput_17qmd_17",Xr={select:Mk,form:Dk,formField:Ik,formInput:Lk};function Fk({fields:e,dispatch:t}){return c.jsxs("form",{className:Xr.form,children:[c.jsxs("div",{className:Xr.formField,children:[c.jsx("label",{htmlFor:"name",children:"Name: "}),c.jsx("input",{className:Xr.formInput,type:"text",id:"name",value:e.name,onChange:n=>t({name:n.target.value})})]}),c.jsxs("div",{children:[c.jsx("label",{htmlFor:"companyName",children:"Company Name: "}),c.jsx("input",{className:Xr.formInput,type:"text",id:"companyName",value:e.companyName,onChange:n=>t({companyName:n.target.value})})]}),c.jsxs("div",{children:[c.jsx("label",{htmlFor:"lastDate",children:"Effective date: "}),c.jsx("input",{className:Xr.formInput,type:"date",id:"effectiveDate",value:e.effectiveDate,onChange:n=>t({effectiveDate:n.target.value})})]}),c.jsxs("div",{children:[c.jsx("label",{htmlFor:"lastDate",children:"Last date: "}),c.jsx("input",{className:Xr.formInput,type:"date",id:"lastDate",value:e.lastDate,onChange:n=>t({lastDate:n.target.value})})]})]})}function zk({name:e,companyName:t,effectiveDate:n,lastDate:r}){return console.log(n),c.jsxs("div",{children:[c.jsx("p",{children:"Hi,"}),c.jsxs("p",{children:["Please accept this email as my formal resignation from ",t,". I have taken this decision as I have got a different/better work opportunity and would like to pursue my career in the same."]}),c.jsxs("p",{children:["Request you to consider my letter of resignation effective from ",n,". I understand that as per the policy I am required to serve a notice period of ",60," days and my last working day accordingly shall be"," ",r,"."]}),c.jsxs("p",{children:["I would request you to consider if an early release is possible. I am grateful to ",t," and looking forward to your support."]}),c.jsx("br",{}),c.jsxs("p",{children:["Thanks and Regards,",c.jsx("br",{}),e]})]})}function Bk({template:e,setTemplate:t}){const n=r=>{t(r.target.value)};return c.jsxs("form",{className:"text-center",children:[c.jsx("label",{htmlFor:"template",children:"Template: "}),c.jsx("select",{id:"template",value:e,onChange:n,className:Xr.select,children:c.jsx("option",{value:"resignation",children:"Resignation"})})]})}function Uk(){const[e,t]=h.useState("jobApplication"),[n,r]=h.useReducer((o,i)=>({...o,...i}),Ak);return c.jsxs(c.Fragment,{children:[c.jsx(Bk,{template:e,setTemplate:t}),c.jsx(Fk,{fields:n,dispatch:r}),c.jsx("hr",{}),c.jsx(zk,{...n})]})}const Hk="_form_1ufkd_2",Wk={form:Hk};function Vk({onAddExpense:e}){const[t,n]=h.useState(""),[r,o]=h.useState(""),[i,s]=h.useState(""),l=a=>{a.preventDefault(),e({id:Date.now(),date:t,amount:parseFloat(r),category:i}),n(""),o(""),s("")};return c.jsxs("form",{onSubmit:l,className:Wk.form,children:[c.jsx("input",{type:"date",value:t,onChange:a=>n(a.target.value),required:!0}),c.jsx("input",{type:"number",value:r,placeholder:"Please Enter Amount",onChange:a=>o(a.target.value),required:!0}),c.jsxs("select",{value:i,onChange:a=>s(a.target.value),children:[c.jsx("option",{value:"",children:"Select Category"}),c.jsx("option",{value:"Food",children:"Food"}),c.jsx("option",{value:"Transport",children:"Transport"}),c.jsx("option",{value:"Entertainment",children:"Entertainment"}),c.jsx("option",{value:"Other",children:"Other"})]}),c.jsx("button",{type:"submit",children:"Add Expense"})]})}const Gk="_mainContainer_1ynr6_2",Kk="_btnRed_1ynr6_32",of={mainContainer:Gk,btnRed:Kk};function qk({expenses:e}){const t=e.reduce((n,r)=>n+r.amount,0);return c.jsxs("div",{className:of.mainContainer,children:[c.jsx("h2",{children:"Summary"}),c.jsxs("p",{children:["Total Expenses: $",t.toFixed(2)]})]})}function Yk({expenses:e,onDeleteExpense:t}){return c.jsxs("div",{className:of.mainContainer,children:[c.jsx("h2",{children:"Expenses"}),c.jsx("ul",{children:e.map(n=>c.jsxs("li",{children:[n.date," - $",n.amount," - ",n.category,c.jsx("button",{className:of.btnRed,onClick:()=>t(n.id),children:"Delete"})]},n.id))})]})}function Qk(){const[e,t]=h.useState([]),n=o=>{t(i=>[o,...i])},r=o=>{t(i=>i.filter(s=>s.id!==o))};return c.jsxs("div",{className:"App",children:[c.jsx("h1",{}),c.jsx(Vk,{onAddExpense:n}),c.jsx(Yk,{expenses:e,onDeleteExpense:r}),c.jsx(qk,{expenses:e})]})}const Xk="_feedbackContainer_1y22i_1",Jk="_feedbackBtn_1y22i_12",Zk="_modalContainer_1y22i_23",e2="_modalContent_1y22i_36",t2="_iconContainer_1y22i_51",n2="_iconItem_1y22i_58",r2="_active_1y22i_76",o2="_iconImage_1y22i_82",i2="_modalClose_1y22i_93",s2="_feedbackContent_1y22i_109",a2="_feedbackResponse_1y22i_116",Gt={feedbackContainer:Xk,feedbackBtn:Jk,modalContainer:Zk,modalContent:e2,iconContainer:t2,iconItem:n2,active:r2,iconImage:o2,modalClose:i2,feedbackContent:s2,feedbackResponse:a2},l2=[{rating:1,url:"https://cdn-icons-png.flaticon.com/512/14230/14230791.png",mood:"Terrible"},{rating:2,url:"https://cdn-icons-png.flaticon.com/512/166/166527.png",mood:"Unhappy"},{rating:3,url:"https://cdn-icons-png.flaticon.com/512/1791/1791385.png",mood:"Neutral"},{rating:4,url:"https://cdn-icons-png.flaticon.com/512/166/166538.png",mood:"Happy"},{rating:5,url:"https://cdn-icons-png.flaticon.com/512/10851/10851309.png",mood:"Excited"}],c2=(e,t,n)=>{let r=n;return r=t===e?`${r} ${Gt.active}`:`${r}`,r},u2=({handleClick:e,activeRating:t})=>c.jsx("div",{className:Gt.iconContainer,children:l2.map(n=>c.jsxs("div",{className:c2(n.rating,t,Gt.iconItem),onClick:()=>e(n),children:[c.jsx("img",{src:n.url,className:Gt.iconImage,alt:n.mood}),c.jsx("p",{children:n.mood})]},n.rating))}),d2=({onClose:e})=>{const[t,n]=h.useState(""),[r,o]=h.useState({}),[i,s]=h.useState(!1),l=()=>{s(!0)},a=d=>{o(d)},u=d=>{n(d.target.value)};return c.jsx("div",{className:Gt.modalContainer,onClick:e,children:c.jsxs("div",{className:Gt.modalContent,onClick:d=>d.stopPropagation(),children:[c.jsx("button",{className:Gt.modalClose,onClick:e,children:"x"}),c.jsx("h1",{children:"User Feedback"}),i?c.jsxs("div",{className:Gt.feedbackResponse,children:[c.jsxs("p",{children:["Feedback: ",r.mood]}),c.jsx("p",{children:"Thank you for your feedback"})]}):c.jsxs("form",{className:Gt.feedbackContent,onSubmit:l,children:[c.jsx(u2,{handleClick:a,activeRating:r.rating}),c.jsx("textarea",{placeholder:"Please share additional feedback (optional)",rows:"5",cols:"30",style:{width:"80%",margin:"10px",fontSize:"12px",padding:"2px"},value:t,onChange:u}),c.jsx("button",{type:"submit",className:Gt.feedbackBtn,disabled:!Object.keys(r).length,children:"Submit"})]})]})})};function f2(){const[e,t]=h.useState(!1),n=()=>{t(!0)},r=()=>{t(!1)};return c.jsxs("div",{className:Gt.feedbackContainer,children:[c.jsx("button",{className:Gt.feedbackBtn,onClick:n,children:"Feedback"}),e&&c.jsx(d2,{onClose:r})]})}const p2="_app_1o28y_1",h2="_list_1o28y_6",m2="_editList_1o28y_22",g2="_editableInputContainer_1o28y_30",v2="_editableInputError_1o28y_34",y2="_indent_1o28y_48",x2="_controls_1o28y_52",xt={app:p2,list:h2,editList:m2,editableInputContainer:g2,editableInputError:v2,indent:y2,controls:x2};function Op({onComplete:e,validateNode:t,defaultValue:n=""}){const[r,o]=h.useState(n),[i,s]=h.useState(null),l=d=>{const f=d.target.value;o(f),f===""?s("File or folder name cannot be empty"):t(f)?s(null):s("A file or folder already exists with that name")},a=()=>{e(r)},u=d=>{d.key==="Enter"&&a()};return c.jsxs("div",{className:xt.editableInputContainer,children:[c.jsx("input",{type:"text",autoFocus:!0,onBlur:a,onKeyUp:u,value:r,onChange:l}),i&&c.jsx("div",{className:xt.editableInputError,children:c.jsx("p",{children:i})})]})}function w2({node:e,parent:t,onNodeDeletion:n,onNodeUpdate:r,validateNode:o}){const[i,s]=h.useState(!1),l=u=>o(t,e,u),a=u=>{l(u)&&r(t,e,u),s(!1)};return i?c.jsxs("li",{className:`${xt.list} ${xt.editList}`,children:["📄 ",c.jsx(Op,{defaultValue:e.name,onComplete:a,validateNode:l})]}):c.jsxs("li",{className:xt.list,children:[c.jsxs("button",{className:xt.button,children:["📄 ",e.name]}),c.jsxs("div",{className:xt.controls,children:[c.jsx("button",{onClick:()=>s(!0),children:"✏️"}),c.jsx("button",{onClick:()=>n(t,e),children:"🗑️"})]})]})}function _2({expanded:e,toggleExpand:t,parent:n,node:r,onNodeDeletion:o,onNodeUpdate:i,onNew:s,validateNode:l}){const[a,u]=h.useState(!1),d=p=>l(n,r,p),f=p=>{n&&(d(p)&&i(n,r,p),u(!1))};return a?c.jsxs("li",{className:`${xt.list} ${xt.editList}`,children:[e?"📂":"📁"," ",c.jsx(Op,{defaultValue:r==null?void 0:r.name,onComplete:f,validateNode:d})]}):c.jsxs("li",{className:xt.list,"data-root":n===null,children:[c.jsxs("button",{onClick:t,children:[e?"📂":"📁"," ",r==null?void 0:r.name]}),c.jsxs("div",{className:xt.controls,children:[c.jsx("button",{className:"edit",onClick:()=>u(!0),children:"✏️"}),c.jsx("button",{className:"new-file",onClick:()=>s(!1),children:"📄"}),c.jsx("button",{className:"new-folder",onClick:()=>s(!0),children:"🗂"}),c.jsx("button",{className:"delete",onClick:()=>o(n,r),children:"🗑️"})]})]})}function x1({node:e,parent:t,onNodeAddition:n,onNodeDeletion:r,onNodeUpdate:o,validateNode:i}){var x;const[s,l]=h.useState(!1),[a,u]=h.useState(!1),d=h.useRef(!1),f=w=>{w.stopPropagation(),l(!s)},p=w=>{d.current=w,u(!a),l(!0)},g=w=>i(e,null,w),m=w=>{w&&g(w)&&n(e,{name:w,id:new Date().getTime().toString(),isFolder:d.current}),u(!1)};return c.jsxs(c.Fragment,{children:[c.jsx(_2,{expanded:s,toggleExpand:f,parent:t,node:e,onNodeDeletion:r,onNodeUpdate:o,onNew:p,validateNode:i}),s&&c.jsxs("div",{className:xt.indent,children:[(x=e.nodes)==null?void 0:x.map(w=>w.isFolder?c.jsx(x1,{node:w,parent:e,onNodeAddition:n,onNodeDeletion:r,onNodeUpdate:o,validateNode:i},w.id):c.jsx(w2,{node:w,parent:e,onNodeDeletion:r,onNodeUpdate:o,validateNode:i},w.id)),a&&c.jsxs("li",{className:`${xt.list} ${xt.editList}`,children:[d.current?"📁":"📄"," ",c.jsx(Op,{onComplete:m,validateNode:g})]})]})]})}const b2={id:"root",name:"root",isFolder:!0,nodes:[{id:"1",name:"public",isFolder:!0,nodes:[{id:"11",name:"images",isFolder:!0,nodes:[{id:"111",name:"cover.png"},{id:"112",name:"icons",isFolder:!0,nodes:[{id:"1121",name:"arrow.svg"}]}]},{id:"12",name:"public_nested_file"}]},{id:"2",name:"src",isFolder:!0,nodes:[{id:"21",name:"components",isFolder:!0,nodes:[{id:"21",name:"index.js"},{id:"22",name:"index.html"},{id:"23",name:"index.css"}]},{id:"22",name:"main.jsx"},{id:"23",name:"App.jsx"},{id:"24",name:"app.module.css"}]},{id:"3",name:"dist",isFolder:!0,nodes:[{id:"31",name:"index.js"},{id:"32",name:"index.html"},{id:"33",name:"index.css"}]},{id:"4",name:"package.json",nodes:[]},{id:"5",name:"package-lock.json",nodes:[]}]};function S2(){const[e,t]=h.useState(b2),n=(s,l)=>{const a={...e},u=[...s.nodes??[]];u.push({...l,nodes:[]}),s.id==="root"?a.nodes=u:s.nodes=u,t(a)},r=(s,l)=>{var d;const a={...e},u=(d=s.nodes)==null?void 0:d.filter(f=>f.id!==l.id);s.id==="root"?a.nodes=u:s.nodes=u,t(a)},o=(s,l,a)=>{var p;const u={...e},d=((p=s.nodes)==null?void 0:p.map(g=>g))??[],f=d.findIndex(g=>g.id===l.id);d[f]={...d[f],name:a},s.id==="root"?u.nodes=d:s.nodes=d,t(u)},i=(s,l,a)=>{var d;return s===null||typeof s.nodes>"u"?!0:a===""?!1:((d=s.nodes)==null?void 0:d.findIndex(f=>f.id!==(l==null?void 0:l.id)&&f.name===a))===-1};return c.jsx("div",{className:xt.app,children:c.jsx(x1,{node:e,parent:null,onNodeAddition:n,onNodeDeletion:r,onNodeUpdate:o,validateNode:i})})}const E2="_App_fw4tl_7",C2="_meal_container_fw4tl_17",k2="_meal_name_fw4tl_29",j2="_meal_img_fw4tl_34",$2="_tags_container_fw4tl_39",R2="_modal_tags_container_fw4tl_40",T2="_tag_fw4tl_39",N2="_modal_tag_fw4tl_40",P2="_modal_meal_img_fw4tl_69",O2="_modal_instruction_fw4tl_74",A2="_foodBtn_fw4tl_79",M2="_openBtn_fw4tl_80",D2="_closeBtn_fw4tl_105",I2="_recipe_table_fw4tl_128",ut={App:E2,meal_container:C2,meal_name:k2,meal_img:j2,tags_container:$2,modal_tags_container:R2,tag:T2,modal_tag:N2,modal_meal_img:P2,modal_instruction:O2,foodBtn:A2,openBtn:M2,closeBtn:D2,recipe_table:I2};function Ap({data:e}){const{strCategory:t,strArea:n,strTags:r}=e;return c.jsxs("ul",{className:ut.modal_tags_container,children:[t&&c.jsx("li",{className:ut.modal_tag,children:t}),n&&c.jsx("li",{className:ut.modal_tag,children:n}),r&&r.split(",").map((o,i)=>c.jsx("li",{className:ut.modal_tag,children:o},i))]})}Ap.propTypes;function w1({data:e,handleOpenDialog:t}){const{strMeal:n,strMealThumb:r}=e;return c.jsxs("div",{className:ut.meal_container,children:[c.jsx("h2",{className:ut.meal_name,children:n}),c.jsx("img",{className:ut.meal_img,src:r,alt:n}),c.jsx(Ap,{data:e}),c.jsx("button",{className:ut.openBtn,onClick:t,children:"detail recipe"})]})}w1.propTypes;function _1({data:e}){const t=n=>{const r=[];for(let o=1;o<=20;o++){const i=n[`strIngredient${o}`],s=n[`strMeasure${o}`];i&&s&&r.push({ingredient:i,measure:s})}return r};return c.jsxs("table",{className:ut.recipe_table,children:[c.jsx("thead",{children:c.jsxs("tr",{children:[c.jsx("th",{children:"No."}),c.jsx("th",{children:"Ingredient"}),c.jsx("th",{children:"Measure"})]})}),c.jsx("tbody",{children:t(e).map((n,r)=>c.jsxs("tr",{children:[c.jsx("td",{children:r+1}),c.jsx("td",{children:n.ingredient}),c.jsx("td",{children:n.measure})]},r))})]})}_1.propTypes;function b1({data:e,handleCloseDialog:t}){const{strMeal:n,strMealThumb:r,strInstructions:o,strYoutube:i}=e;return c.jsx("dialog",{open:!0,onClose:t,children:c.jsxs("div",{className:ut.modal_meal_container,children:[c.jsx("button",{className:ut.closeBtn,onClick:t,children:"×"}),c.jsx("h2",{className:ut.modal_meal_name,children:n}),c.jsx("img",{className:ut.modal_meal_img,src:r,alt:n}),c.jsx(Ap,{data:e}),c.jsx(_1,{data:e}),c.jsx("h2",{children:"Instruction 📜"}),c.jsx("p",{className:ut.modal_instruction,children:o}),i&&c.jsxs("a",{href:i,rel:"noopener noreferrer",target:"_blank",children:["YouTube link for ",n]})]})})}b1.propTypes;function L2(){const[e,t]=h.useState(null),[n,r]=h.useState(!1);h.useEffect(()=>{o()},[]);const o=async()=>{try{const a=await fetch("https://www.themealdb.com/api/json/v1/1/random.php");if(!a.ok)throw new Error("Network response was not ok! Something wrong");const u=await a.json();t(u.meals[0])}catch(a){console.error("Error on fetching data: ",a)}},i=()=>{o()},s=()=>{r(!0)},l=()=>{r(!1)};return c.jsxs("div",{className:ut.App,children:[c.jsx("h1",{children:"Are you hungry 😋"}),c.jsx("button",{className:ut.foodBtn,onClick:i,children:"Another food 🍛"}),n&&c.jsx(b1,{data:e,handleCloseDialog:l}),e&&c.jsx(w1,{data:e,handleOpenDialog:s})]})}const F2="_app_j2t5p_1",z2="_widget_j2t5p_14",B2="_text_j2t5p_21",Lu={app:F2,widget:z2,text:B2};function U2(){const[e,t]=h.useState(),[n,r]=h.useState(!1),[o,i]=h.useState(1),[s,l]=h.useState(!1),[a,u]=h.useState(!1),[d,f]=h.useState(!1);h.useEffect(()=>{t(Math.round(100*Math.random()))},[]);const p=m=>{m.preventDefault(),oe?(u(!0),l(!1)):(f(!0),l(!1),u(!1),r(!0))},g=()=>{t(Math.round(100*Math.random())),f(!1),l(!1),u(!1),r(!1),i(1)};return c.jsxs("div",{className:Lu.app,children:[c.jsxs("form",{onSubmit:p,children:[c.jsx("label",{htmlFor:"input",children:"Guess a Number between 0 and 100"}),c.jsx("input",{id:"input",type:"number",value:o,min:"0",max:"100",placeholder:"Guess-Number",onChange:m=>i(Number(m.target.value))}),c.jsxs("div",{className:Lu.widget,children:[c.jsx("button",{type:"reset",onClick:g,children:"Reset"}),c.jsx("button",{type:"submit",disabled:n,children:"Check"})]})]}),c.jsxs("div",{className:Lu.text,children:[s&&c.jsxs("p",{children:["Your guess is ",c.jsx("b",{children:"Less"})," than the actual number"]}),a&&c.jsxs("p",{children:["Your guess is ",c.jsx("b",{children:"Higher"})," than the actual number"]}),d&&c.jsxs("p",{children:["Your guess is ",c.jsx("b",{children:"right"})]})]})]})}const ur={"image-gallery-container":"_image-gallery-container_3b420_2","gallery-para":"_gallery-para_3b420_7","image-container":"_image-container_3b420_11","image-wrapper":"_image-wrapper_3b420_18","gallery-image":"_gallery-image_3b420_27","selected-image":"_selected-image_3b420_36","selected-heading":"_selected-heading_3b420_41","selected-img":"_selected-img_3b420_46"},H2=["https://imgs.search.brave.com/bAdI7a7qnuuOIJphttt3DfbzLnCU7ZDMtnkejXq6UII/rs:fit:500:0:0/g:ce/aHR0cHM6Ly9zdDIu/ZGVwb3NpdHBob3Rv/cy5jb20vMTAwMDkz/OC81NDk5L2kvNDUw/L2RlcG9zaXRwaG90/b3NfNTQ5OTg2MTMt/c3RvY2stcGhvdG8t/Z2luZ2VyLWNhdC5q/cGc","https://imgs.search.brave.com/YzG9FgYN5qLWsiYyJ4dUEvxav9e98dBH0loR8YPRA1E/rs:fit:500:0:0/g:ce/aHR0cHM6Ly9tZWRp/YS5pc3RvY2twaG90/by5jb20vaWQvMTc0/ODc3NTY1L3Bob3Rv/L3BvcnRyYWl0LW9m/LWEtYnJvd24tY2F0/LWFnYWluc3QtYS1n/cmF5LWJhY2tncm91/bmQuanBnP3M9NjEy/eDYxMiZ3PTAmaz0y/MCZjPWlGcFFNSzlF/aTIzVm9XcExLa2Zh/TFVtdXN5Y3VaWllV/OWtWMjNzT2F6YzQ9","https://imgs.search.brave.com/lZtf1S7JKFcaZs2lhxTpAtaJzTk_V35Xt8ys4htuVBU/rs:fit:500:0:0/g:ce/aHR0cHM6Ly9idXJz/dC5zaG9waWZ5Y2Ru/LmNvbS9waG90b3Mv/Y2F0LXBvc2VzLXBl/cmZlY3RseS5qcGc_/d2lkdGg9MTAwMCZm/b3JtYXQ9cGpwZyZl/eGlmPTAmaXB0Yz0w","https://imgs.search.brave.com/t6Nv0DwxoIACRxxtX2h7yt31ux5SCXHWgHVpoGh1diw/rs:fit:500:0:0/g:ce/aHR0cHM6Ly90My5m/dGNkbi5uZXQvanBn/LzAyLzM2Lzk5LzIy/LzM2MF9GXzIzNjk5/MjI4M19zTk94Q1ZR/ZUZMZDVwZHFhS0do/OERSR01aeTdQNFhL/bS5qcGc"];function W2(){const[e,t]=h.useState(null),n=r=>{t(r)};return c.jsxs("div",{className:ur["image-gallery-container"],children:[c.jsx("p",{className:ur["gallery-para"],children:"Click on an image!"}),c.jsx("div",{className:ur["image-container"],children:H2.map((r,o)=>c.jsx("div",{className:ur["image-wrapper"],onClick:()=>n(r),children:c.jsx("img",{src:r,alt:`Image ${o+1}`,className:ur["gallery-image"]})},o))}),e&&c.jsxs("div",{className:ur["selected-image"],children:[c.jsx("h2",{className:ur["selected-heading"],children:"Selected Image"}),c.jsx("img",{src:e,alt:"Selected",className:ur["selected-img"]})]})]})}const V2="_loader_1hfl7_1",G2="_spin_1hfl7_1",Fu={loader:V2,spin:G2,"book-title":"_book-title_1hfl7_21"};function S1(e,t){return function(){return e.apply(t,arguments)}}const{toString:K2}=Object.prototype,{getPrototypeOf:Mp}=Object,Gc=(e=>t=>{const n=K2.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),On=e=>(e=e.toLowerCase(),t=>Gc(t)===e),Kc=e=>t=>typeof t===e,{isArray:Di}=Array,na=Kc("undefined");function q2(e){return e!==null&&!na(e)&&e.constructor!==null&&!na(e.constructor)&&Xt(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const E1=On("ArrayBuffer");function Y2(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&E1(e.buffer),t}const Q2=Kc("string"),Xt=Kc("function"),C1=Kc("number"),qc=e=>e!==null&&typeof e=="object",X2=e=>e===!0||e===!1,kl=e=>{if(Gc(e)!=="object")return!1;const t=Mp(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},J2=On("Date"),Z2=On("File"),ej=On("Blob"),tj=On("FileList"),nj=e=>qc(e)&&Xt(e.pipe),rj=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||Xt(e.append)&&((t=Gc(e))==="formdata"||t==="object"&&Xt(e.toString)&&e.toString()==="[object FormData]"))},oj=On("URLSearchParams"),ij=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function wa(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,o;if(typeof e!="object"&&(e=[e]),Di(e))for(r=0,o=e.length;r0;)if(o=n[r],t===o.toLowerCase())return o;return null}const j1=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),$1=e=>!na(e)&&e!==j1;function sf(){const{caseless:e}=$1(this)&&this||{},t={},n=(r,o)=>{const i=e&&k1(t,o)||o;kl(t[i])&&kl(r)?t[i]=sf(t[i],r):kl(r)?t[i]=sf({},r):Di(r)?t[i]=r.slice():t[i]=r};for(let r=0,o=arguments.length;r(wa(t,(o,i)=>{n&&Xt(o)?e[i]=S1(o,n):e[i]=o},{allOwnKeys:r}),e),aj=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),lj=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},cj=(e,t,n,r)=>{let o,i,s;const l={};if(t=t||{},e==null)return t;do{for(o=Object.getOwnPropertyNames(e),i=o.length;i-- >0;)s=o[i],(!r||r(s,e,t))&&!l[s]&&(t[s]=e[s],l[s]=!0);e=n!==!1&&Mp(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},uj=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},dj=e=>{if(!e)return null;if(Di(e))return e;let t=e.length;if(!C1(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},fj=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Mp(Uint8Array)),pj=(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let o;for(;(o=r.next())&&!o.done;){const i=o.value;t.call(e,i[0],i[1])}},hj=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},mj=On("HTMLFormElement"),gj=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,o){return r.toUpperCase()+o}),Km=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),vj=On("RegExp"),R1=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};wa(n,(o,i)=>{let s;(s=t(o,i,e))!==!1&&(r[i]=s||o)}),Object.defineProperties(e,r)},yj=e=>{R1(e,(t,n)=>{if(Xt(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(Xt(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},xj=(e,t)=>{const n={},r=o=>{o.forEach(i=>{n[i]=!0})};return Di(e)?r(e):r(String(e).split(t)),n},wj=()=>{},_j=(e,t)=>(e=+e,Number.isFinite(e)?e:t),zu="abcdefghijklmnopqrstuvwxyz",qm="0123456789",T1={DIGIT:qm,ALPHA:zu,ALPHA_DIGIT:zu+zu.toUpperCase()+qm},bj=(e=16,t=T1.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function Sj(e){return!!(e&&Xt(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const Ej=e=>{const t=new Array(10),n=(r,o)=>{if(qc(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[o]=r;const i=Di(r)?[]:{};return wa(r,(s,l)=>{const a=n(s,o+1);!na(a)&&(i[l]=a)}),t[o]=void 0,i}}return r};return n(e,0)},Cj=On("AsyncFunction"),kj=e=>e&&(qc(e)||Xt(e))&&Xt(e.then)&&Xt(e.catch),A={isArray:Di,isArrayBuffer:E1,isBuffer:q2,isFormData:rj,isArrayBufferView:Y2,isString:Q2,isNumber:C1,isBoolean:X2,isObject:qc,isPlainObject:kl,isUndefined:na,isDate:J2,isFile:Z2,isBlob:ej,isRegExp:vj,isFunction:Xt,isStream:nj,isURLSearchParams:oj,isTypedArray:fj,isFileList:tj,forEach:wa,merge:sf,extend:sj,trim:ij,stripBOM:aj,inherits:lj,toFlatObject:cj,kindOf:Gc,kindOfTest:On,endsWith:uj,toArray:dj,forEachEntry:pj,matchAll:hj,isHTMLForm:mj,hasOwnProperty:Km,hasOwnProp:Km,reduceDescriptors:R1,freezeMethods:yj,toObjectSet:xj,toCamelCase:gj,noop:wj,toFiniteNumber:_j,findKey:k1,global:j1,isContextDefined:$1,ALPHABET:T1,generateString:bj,isSpecCompliantForm:Sj,toJSONObject:Ej,isAsyncFn:Cj,isThenable:kj};function ue(e,t,n,r,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),o&&(this.response=o)}A.inherits(ue,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:A.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const N1=ue.prototype,P1={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{P1[e]={value:e}});Object.defineProperties(ue,P1);Object.defineProperty(N1,"isAxiosError",{value:!0});ue.from=(e,t,n,r,o,i)=>{const s=Object.create(N1);return A.toFlatObject(e,s,function(a){return a!==Error.prototype},l=>l!=="isAxiosError"),ue.call(s,e.message,t,n,r,o),s.cause=e,s.name=e.name,i&&Object.assign(s,i),s};const jj=null;function af(e){return A.isPlainObject(e)||A.isArray(e)}function O1(e){return A.endsWith(e,"[]")?e.slice(0,-2):e}function Ym(e,t,n){return e?e.concat(t).map(function(o,i){return o=O1(o),!n&&i?"["+o+"]":o}).join(n?".":""):t}function $j(e){return A.isArray(e)&&!e.some(af)}const Rj=A.toFlatObject(A,{},null,function(t){return/^is[A-Z]/.test(t)});function Yc(e,t,n){if(!A.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=A.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(x,w){return!A.isUndefined(w[x])});const r=n.metaTokens,o=n.visitor||d,i=n.dots,s=n.indexes,a=(n.Blob||typeof Blob<"u"&&Blob)&&A.isSpecCompliantForm(t);if(!A.isFunction(o))throw new TypeError("visitor must be a function");function u(m){if(m===null)return"";if(A.isDate(m))return m.toISOString();if(!a&&A.isBlob(m))throw new ue("Blob is not supported. Use a Buffer instead.");return A.isArrayBuffer(m)||A.isTypedArray(m)?a&&typeof Blob=="function"?new Blob([m]):Buffer.from(m):m}function d(m,x,w){let v=m;if(m&&!w&&typeof m=="object"){if(A.endsWith(x,"{}"))x=r?x:x.slice(0,-2),m=JSON.stringify(m);else if(A.isArray(m)&&$j(m)||(A.isFileList(m)||A.endsWith(x,"[]"))&&(v=A.toArray(m)))return x=O1(x),v.forEach(function(_,C){!(A.isUndefined(_)||_===null)&&t.append(s===!0?Ym([x],C,i):s===null?x:x+"[]",u(_))}),!1}return af(m)?!0:(t.append(Ym(w,x,i),u(m)),!1)}const f=[],p=Object.assign(Rj,{defaultVisitor:d,convertValue:u,isVisitable:af});function g(m,x){if(!A.isUndefined(m)){if(f.indexOf(m)!==-1)throw Error("Circular reference detected in "+x.join("."));f.push(m),A.forEach(m,function(v,y){(!(A.isUndefined(v)||v===null)&&o.call(t,v,A.isString(y)?y.trim():y,x,p))===!0&&g(v,x?x.concat(y):[y])}),f.pop()}}if(!A.isObject(e))throw new TypeError("data must be an object");return g(e),t}function Qm(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function Dp(e,t){this._pairs=[],e&&Yc(e,this,t)}const A1=Dp.prototype;A1.append=function(t,n){this._pairs.push([t,n])};A1.toString=function(t){const n=t?function(r){return t.call(this,r,Qm)}:Qm;return this._pairs.map(function(o){return n(o[0])+"="+n(o[1])},"").join("&")};function Tj(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function M1(e,t,n){if(!t)return e;const r=n&&n.encode||Tj,o=n&&n.serialize;let i;if(o?i=o(t,n):i=A.isURLSearchParams(t)?t.toString():new Dp(t,n).toString(r),i){const s=e.indexOf("#");s!==-1&&(e=e.slice(0,s)),e+=(e.indexOf("?")===-1?"?":"&")+i}return e}class Xm{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){A.forEach(this.handlers,function(r){r!==null&&t(r)})}}const D1={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Nj=typeof URLSearchParams<"u"?URLSearchParams:Dp,Pj=typeof FormData<"u"?FormData:null,Oj=typeof Blob<"u"?Blob:null,Aj={isBrowser:!0,classes:{URLSearchParams:Nj,FormData:Pj,Blob:Oj},protocols:["http","https","file","blob","url","data"]},I1=typeof window<"u"&&typeof document<"u",Mj=(e=>I1&&["ReactNative","NativeScript","NS"].indexOf(e)<0)(typeof navigator<"u"&&navigator.product),Dj=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),Ij=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:I1,hasStandardBrowserEnv:Mj,hasStandardBrowserWebWorkerEnv:Dj},Symbol.toStringTag,{value:"Module"})),jn={...Ij,...Aj};function Lj(e,t){return Yc(e,new jn.classes.URLSearchParams,Object.assign({visitor:function(n,r,o,i){return jn.isNode&&A.isBuffer(n)?(this.append(r,n.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)}},t))}function Fj(e){return A.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function zj(e){const t={},n=Object.keys(e);let r;const o=n.length;let i;for(r=0;r=n.length;return s=!s&&A.isArray(o)?o.length:s,a?(A.hasOwnProp(o,s)?o[s]=[o[s],r]:o[s]=r,!l):((!o[s]||!A.isObject(o[s]))&&(o[s]=[]),t(n,r,o[s],i)&&A.isArray(o[s])&&(o[s]=zj(o[s])),!l)}if(A.isFormData(e)&&A.isFunction(e.entries)){const n={};return A.forEachEntry(e,(r,o)=>{t(Fj(r),o,n,0)}),n}return null}function Bj(e,t,n){if(A.isString(e))try{return(t||JSON.parse)(e),A.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const Ip={transitional:D1,adapter:["xhr","http"],transformRequest:[function(t,n){const r=n.getContentType()||"",o=r.indexOf("application/json")>-1,i=A.isObject(t);if(i&&A.isHTMLForm(t)&&(t=new FormData(t)),A.isFormData(t))return o&&o?JSON.stringify(L1(t)):t;if(A.isArrayBuffer(t)||A.isBuffer(t)||A.isStream(t)||A.isFile(t)||A.isBlob(t))return t;if(A.isArrayBufferView(t))return t.buffer;if(A.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let l;if(i){if(r.indexOf("application/x-www-form-urlencoded")>-1)return Lj(t,this.formSerializer).toString();if((l=A.isFileList(t))||r.indexOf("multipart/form-data")>-1){const a=this.env&&this.env.FormData;return Yc(l?{"files[]":t}:t,a&&new a,this.formSerializer)}}return i||o?(n.setContentType("application/json",!1),Bj(t)):t}],transformResponse:[function(t){const n=this.transitional||Ip.transitional,r=n&&n.forcedJSONParsing,o=this.responseType==="json";if(t&&A.isString(t)&&(r&&!this.responseType||o)){const s=!(n&&n.silentJSONParsing)&&o;try{return JSON.parse(t)}catch(l){if(s)throw l.name==="SyntaxError"?ue.from(l,ue.ERR_BAD_RESPONSE,this,null,this.response):l}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:jn.classes.FormData,Blob:jn.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};A.forEach(["delete","get","head","post","put","patch"],e=>{Ip.headers[e]={}});const Lp=Ip,Uj=A.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),Hj=e=>{const t={};let n,r,o;return e&&e.split(` +`).forEach(function(s){o=s.indexOf(":"),n=s.substring(0,o).trim().toLowerCase(),r=s.substring(o+1).trim(),!(!n||t[n]&&Uj[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},Jm=Symbol("internals");function ls(e){return e&&String(e).trim().toLowerCase()}function jl(e){return e===!1||e==null?e:A.isArray(e)?e.map(jl):String(e)}function Wj(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const Vj=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Bu(e,t,n,r,o){if(A.isFunction(r))return r.call(this,t,n);if(o&&(t=n),!!A.isString(t)){if(A.isString(r))return t.indexOf(r)!==-1;if(A.isRegExp(r))return r.test(t)}}function Gj(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function Kj(e,t){const n=A.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(o,i,s){return this[r].call(this,t,o,i,s)},configurable:!0})})}class Qc{constructor(t){t&&this.set(t)}set(t,n,r){const o=this;function i(l,a,u){const d=ls(a);if(!d)throw new Error("header name must be a non-empty string");const f=A.findKey(o,d);(!f||o[f]===void 0||u===!0||u===void 0&&o[f]!==!1)&&(o[f||a]=jl(l))}const s=(l,a)=>A.forEach(l,(u,d)=>i(u,d,a));return A.isPlainObject(t)||t instanceof this.constructor?s(t,n):A.isString(t)&&(t=t.trim())&&!Vj(t)?s(Hj(t),n):t!=null&&i(n,t,r),this}get(t,n){if(t=ls(t),t){const r=A.findKey(this,t);if(r){const o=this[r];if(!n)return o;if(n===!0)return Wj(o);if(A.isFunction(n))return n.call(this,o,r);if(A.isRegExp(n))return n.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=ls(t),t){const r=A.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||Bu(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let o=!1;function i(s){if(s=ls(s),s){const l=A.findKey(r,s);l&&(!n||Bu(r,r[l],l,n))&&(delete r[l],o=!0)}}return A.isArray(t)?t.forEach(i):i(t),o}clear(t){const n=Object.keys(this);let r=n.length,o=!1;for(;r--;){const i=n[r];(!t||Bu(this,this[i],i,t,!0))&&(delete this[i],o=!0)}return o}normalize(t){const n=this,r={};return A.forEach(this,(o,i)=>{const s=A.findKey(r,i);if(s){n[s]=jl(o),delete n[i];return}const l=t?Gj(i):String(i).trim();l!==i&&delete n[i],n[l]=jl(o),r[l]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return A.forEach(this,(r,o)=>{r!=null&&r!==!1&&(n[o]=t&&A.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(` +`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(o=>r.set(o)),r}static accessor(t){const r=(this[Jm]=this[Jm]={accessors:{}}).accessors,o=this.prototype;function i(s){const l=ls(s);r[l]||(Kj(o,s),r[l]=!0)}return A.isArray(t)?t.forEach(i):i(t),this}}Qc.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);A.reduceDescriptors(Qc.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});A.freezeMethods(Qc);const qn=Qc;function Uu(e,t){const n=this||Lp,r=t||n,o=qn.from(r.headers);let i=r.data;return A.forEach(e,function(l){i=l.call(n,i,o.normalize(),t?t.status:void 0)}),o.normalize(),i}function F1(e){return!!(e&&e.__CANCEL__)}function _a(e,t,n){ue.call(this,e??"canceled",ue.ERR_CANCELED,t,n),this.name="CanceledError"}A.inherits(_a,ue,{__CANCEL__:!0});function qj(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new ue("Request failed with status code "+n.status,[ue.ERR_BAD_REQUEST,ue.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}const Yj=jn.hasStandardBrowserEnv?{write(e,t,n,r,o,i){const s=[e+"="+encodeURIComponent(t)];A.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),A.isString(r)&&s.push("path="+r),A.isString(o)&&s.push("domain="+o),i===!0&&s.push("secure"),document.cookie=s.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function Qj(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function Xj(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}function z1(e,t){return e&&!Qj(t)?Xj(e,t):t}const Jj=jn.hasStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let r;function o(i){let s=i;return t&&(n.setAttribute("href",s),s=n.href),n.setAttribute("href",s),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return r=o(window.location.href),function(s){const l=A.isString(s)?o(s):s;return l.protocol===r.protocol&&l.host===r.host}}():function(){return function(){return!0}}();function Zj(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function e$(e,t){e=e||10;const n=new Array(e),r=new Array(e);let o=0,i=0,s;return t=t!==void 0?t:1e3,function(a){const u=Date.now(),d=r[i];s||(s=u),n[o]=a,r[o]=u;let f=i,p=0;for(;f!==o;)p+=n[f++],f=f%e;if(o=(o+1)%e,o===i&&(i=(i+1)%e),u-s{const i=o.loaded,s=o.lengthComputable?o.total:void 0,l=i-n,a=r(l),u=i<=s;n=i;const d={loaded:i,total:s,progress:s?i/s:void 0,bytes:l,rate:a||void 0,estimated:a&&s&&u?(s-i)/a:void 0,event:o};d[t?"download":"upload"]=!0,e(d)}}const t$=typeof XMLHttpRequest<"u",n$=t$&&function(e){return new Promise(function(n,r){let o=e.data;const i=qn.from(e.headers).normalize();let{responseType:s,withXSRFToken:l}=e,a;function u(){e.cancelToken&&e.cancelToken.unsubscribe(a),e.signal&&e.signal.removeEventListener("abort",a)}let d;if(A.isFormData(o)){if(jn.hasStandardBrowserEnv||jn.hasStandardBrowserWebWorkerEnv)i.setContentType(!1);else if((d=i.getContentType())!==!1){const[x,...w]=d?d.split(";").map(v=>v.trim()).filter(Boolean):[];i.setContentType([x||"multipart/form-data",...w].join("; "))}}let f=new XMLHttpRequest;if(e.auth){const x=e.auth.username||"",w=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";i.set("Authorization","Basic "+btoa(x+":"+w))}const p=z1(e.baseURL,e.url);f.open(e.method.toUpperCase(),M1(p,e.params,e.paramsSerializer),!0),f.timeout=e.timeout;function g(){if(!f)return;const x=qn.from("getAllResponseHeaders"in f&&f.getAllResponseHeaders()),v={data:!s||s==="text"||s==="json"?f.responseText:f.response,status:f.status,statusText:f.statusText,headers:x,config:e,request:f};qj(function(_){n(_),u()},function(_){r(_),u()},v),f=null}if("onloadend"in f?f.onloadend=g:f.onreadystatechange=function(){!f||f.readyState!==4||f.status===0&&!(f.responseURL&&f.responseURL.indexOf("file:")===0)||setTimeout(g)},f.onabort=function(){f&&(r(new ue("Request aborted",ue.ECONNABORTED,e,f)),f=null)},f.onerror=function(){r(new ue("Network Error",ue.ERR_NETWORK,e,f)),f=null},f.ontimeout=function(){let w=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const v=e.transitional||D1;e.timeoutErrorMessage&&(w=e.timeoutErrorMessage),r(new ue(w,v.clarifyTimeoutError?ue.ETIMEDOUT:ue.ECONNABORTED,e,f)),f=null},jn.hasStandardBrowserEnv&&(l&&A.isFunction(l)&&(l=l(e)),l||l!==!1&&Jj(p))){const x=e.xsrfHeaderName&&e.xsrfCookieName&&Yj.read(e.xsrfCookieName);x&&i.set(e.xsrfHeaderName,x)}o===void 0&&i.setContentType(null),"setRequestHeader"in f&&A.forEach(i.toJSON(),function(w,v){f.setRequestHeader(v,w)}),A.isUndefined(e.withCredentials)||(f.withCredentials=!!e.withCredentials),s&&s!=="json"&&(f.responseType=e.responseType),typeof e.onDownloadProgress=="function"&&f.addEventListener("progress",Zm(e.onDownloadProgress,!0)),typeof e.onUploadProgress=="function"&&f.upload&&f.upload.addEventListener("progress",Zm(e.onUploadProgress)),(e.cancelToken||e.signal)&&(a=x=>{f&&(r(!x||x.type?new _a(null,e,f):x),f.abort(),f=null)},e.cancelToken&&e.cancelToken.subscribe(a),e.signal&&(e.signal.aborted?a():e.signal.addEventListener("abort",a)));const m=Zj(p);if(m&&jn.protocols.indexOf(m)===-1){r(new ue("Unsupported protocol "+m+":",ue.ERR_BAD_REQUEST,e));return}f.send(o||null)})},lf={http:jj,xhr:n$};A.forEach(lf,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const eg=e=>`- ${e}`,r$=e=>A.isFunction(e)||e===null||e===!1,B1={getAdapter:e=>{e=A.isArray(e)?e:[e];const{length:t}=e;let n,r;const o={};for(let i=0;i`adapter ${l} `+(a===!1?"is not supported by the environment":"is not available in the build"));let s=t?i.length>1?`since : `+i.map(eg).join(` -`):" "+eg(i[0]):"as no adapter specified";throw new ue("There is no suitable adapter to dispatch the request "+s,"ERR_NOT_SUPPORT")}return r},adapters:lf};function Hu(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new wa(null,e)}function tg(e){return Hu(e),e.headers=qn.from(e.headers),e.data=Uu.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),B1.getAdapter(e.adapter||Lp.adapter)(e).then(function(r){return Hu(e),r.data=Uu.call(e,e.transformResponse,r),r.headers=qn.from(r.headers),r},function(r){return F1(r)||(Hu(e),r&&r.response&&(r.response.data=Uu.call(e,e.transformResponse,r.response),r.response.headers=qn.from(r.response.headers))),Promise.reject(r)})}const ng=e=>e instanceof qn?e.toJSON():e;function Ri(e,t){t=t||{};const n={};function r(u,d,f){return A.isPlainObject(u)&&A.isPlainObject(d)?A.merge.call({caseless:f},u,d):A.isPlainObject(d)?A.merge({},d):A.isArray(d)?d.slice():d}function o(u,d,f){if(A.isUndefined(d)){if(!A.isUndefined(u))return r(void 0,u,f)}else return r(u,d,f)}function i(u,d){if(!A.isUndefined(d))return r(void 0,d)}function s(u,d){if(A.isUndefined(d)){if(!A.isUndefined(u))return r(void 0,u)}else return r(void 0,d)}function l(u,d,f){if(f in t)return r(u,d);if(f in e)return r(void 0,u)}const a={url:i,method:i,data:i,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,withXSRFToken:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:l,headers:(u,d)=>o(ng(u),ng(d),!0)};return A.forEach(Object.keys(Object.assign({},e,t)),function(d){const f=a[d]||o,p=f(e[d],t[d],d);A.isUndefined(p)&&f!==l||(n[d]=p)}),n}const U1="1.6.2",Fp={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Fp[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const rg={};Fp.transitional=function(t,n,r){function o(i,s){return"[Axios v"+U1+"] Transitional option '"+i+"'"+s+(r?". "+r:"")}return(i,s,l)=>{if(t===!1)throw new ue(o(s," has been removed"+(n?" in "+n:"")),ue.ERR_DEPRECATED);return n&&!rg[s]&&(rg[s]=!0,console.warn(o(s," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(i,s,l):!0}};function r$(e,t,n){if(typeof e!="object")throw new ue("options must be an object",ue.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let o=r.length;for(;o-- >0;){const i=r[o],s=t[i];if(s){const l=e[i],a=l===void 0||s(l,i,e);if(a!==!0)throw new ue("option "+i+" must be "+a,ue.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new ue("Unknown option "+i,ue.ERR_BAD_OPTION)}}const cf={assertOptions:r$,validators:Fp},dr=cf.validators;class lc{constructor(t){this.defaults=t,this.interceptors={request:new Xm,response:new Xm}}request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Ri(this.defaults,n);const{transitional:r,paramsSerializer:o,headers:i}=n;r!==void 0&&cf.assertOptions(r,{silentJSONParsing:dr.transitional(dr.boolean),forcedJSONParsing:dr.transitional(dr.boolean),clarifyTimeoutError:dr.transitional(dr.boolean)},!1),o!=null&&(A.isFunction(o)?n.paramsSerializer={serialize:o}:cf.assertOptions(o,{encode:dr.function,serialize:dr.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let s=i&&A.merge(i.common,i[n.method]);i&&A.forEach(["delete","get","head","post","put","patch","common"],m=>{delete i[m]}),n.headers=qn.concat(s,i);const l=[];let a=!0;this.interceptors.request.forEach(function(x){typeof x.runWhen=="function"&&x.runWhen(n)===!1||(a=a&&x.synchronous,l.unshift(x.fulfilled,x.rejected))});const u=[];this.interceptors.response.forEach(function(x){u.push(x.fulfilled,x.rejected)});let d,f=0,p;if(!a){const m=[tg.bind(this),void 0];for(m.unshift.apply(m,l),m.push.apply(m,u),p=m.length,d=Promise.resolve(n);f{if(!r._listeners)return;let i=r._listeners.length;for(;i-- >0;)r._listeners[i](o);r._listeners=null}),this.promise.then=o=>{let i;const s=new Promise(l=>{r.subscribe(l),i=l}).then(o);return s.cancel=function(){r.unsubscribe(i)},s},t(function(i,s,l){r.reason||(r.reason=new wa(i,s,l),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}static source(){let t;return{token:new zp(function(o){t=o}),cancel:t}}}const o$=zp;function i$(e){return function(n){return e.apply(null,n)}}function s$(e){return A.isObject(e)&&e.isAxiosError===!0}const uf={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(uf).forEach(([e,t])=>{uf[t]=e});const a$=uf;function H1(e){const t=new jl(e),n=S1(jl.prototype.request,t);return A.extend(n,jl.prototype,t,{allOwnKeys:!0}),A.extend(n,t,null,{allOwnKeys:!0}),n.create=function(o){return H1(Ri(e,o))},n}const be=H1(Lp);be.Axios=jl;be.CanceledError=wa;be.CancelToken=o$;be.isCancel=F1;be.VERSION=U1;be.toFormData=Yc;be.AxiosError=ue;be.Cancel=be.CanceledError;be.all=function(t){return Promise.all(t)};be.spread=i$;be.isAxiosError=s$;be.mergeConfig=Ri;be.AxiosHeaders=qn;be.formToJSON=e=>L1(A.isHTMLForm(e)?new FormData(e):e);be.getAdapter=B1.getAdapter;be.HttpStatusCode=a$;be.default=be;function l$(e){const[t,n]=h.useState(!0),[r,o]=h.useState(!1),[i,s]=h.useState([]),[l,a]=h.useState(!1);return h.useEffect(()=>{n(!0),o(!1);let u;return be({method:"GET",url:"https://jsonplaceholder.typicode.com/photos",params:{_page:e,_limit:10},cancelToken:new be.CancelToken(d=>u=d)}).then(d=>{var f;s(p=>[...new Set([...p,...d.data.map(g=>g.title)])]),a(!(((f=d.data.at(-1))==null?void 0:f.id)===5e3||d.data.length===0)),n(!1)}).catch(d=>{be.isCancel(d)||o(!0)}),()=>u()},[e]),{loading:t,error:r,items:i,hasMore:l}}function c$(){const[e,t]=h.useState(1),{items:n,hasMore:r,loading:o,error:i}=l$(e),s=h.useRef(),l=h.useCallback(a=>{o||(s.current&&s.current.disconnect(),s.current=new IntersectionObserver(u=>{u[0].isIntersecting&&r&&t(d=>d+1)}),a&&s.current.observe(a))},[o,r]);return c.jsxs(c.Fragment,{children:[n==null?void 0:n.map((a,u)=>n.length===u+1?c.jsx("div",{className:`${Fu["book-title"]}`,ref:l,children:a},a):c.jsx("div",{className:`${Fu["book-title"]}`,children:a},a)),o&&c.jsx("div",{className:Fu.loader}),c.jsx("div",{children:i&&"Error"})]})}const u$="_result_1y6k8_1",d$={result:u$},Xa=new Intl.NumberFormat("en-US",{style:"currency",currency:"USD",minimumFractionDigits:2,maximumFractionDigits:2}),f$=e=>c.jsxs("table",{className:d$.result,children:[c.jsx("thead",{children:c.jsxs("tr",{children:[c.jsx("th",{children:"Year"}),c.jsx("th",{children:"Total Savings"}),c.jsx("th",{children:"Interest (Year)"}),c.jsx("th",{children:"Total Interest"}),c.jsx("th",{children:"Invested Capital"})]})}),c.jsx("tbody",{children:e.data.map(t=>c.jsxs("tr",{children:[c.jsx("td",{children:t.year}),c.jsx("td",{children:Xa.format(t.savingsEndOfYear)}),c.jsx("td",{children:Xa.format(t.yearlyInterest)}),c.jsx("td",{children:Xa.format(t.savingsEndOfYear-e.inInvest-t.yearlyContribution*t.year)}),c.jsx("td",{children:Xa.format(parseInt(e.inInvest)+t.yearlyContribution*t.year)})]},t.year))})]}),p$="_form_1schc_1",h$="_actions_1schc_63",m$="_button_1schc_75",g$="_buttonAlt_1schc_93",Io={form:p$,"input-group":"_input-group_1schc_17",actions:h$,button:m$,buttonAlt:g$},og={"current-savings":1e4,"yearly-contribution":1200,"expected-return":7,duration:10},v$=e=>{const[t,n]=h.useState(og),r=s=>{s.preventDefault(),e.onCalculate(t)},o=()=>{n(og),e.onCalculate(null)},i=(s,l)=>{n(a=>({...a,[s]:l}))};return c.jsxs("form",{onSubmit:r,className:Io.form,children:[c.jsxs("div",{className:Io["input-group"],children:[c.jsxs("p",{children:[c.jsx("label",{htmlFor:"current-savings",children:"Current Savings ($)"}),c.jsx("input",{onChange:s=>i("current-savings",s.target.value),value:t["current-savings"],type:"number",id:"current-savings"})]}),c.jsxs("p",{children:[c.jsx("label",{htmlFor:"yearly-contribution",children:"Yearly Savings ($)"}),c.jsx("input",{onChange:s=>i("yearly-contribution",s.target.value),value:t["yearly-contribution"],type:"number",id:"yearly-contribution"})]})]}),c.jsxs("div",{className:Io["input-group"],children:[c.jsxs("p",{children:[c.jsx("label",{htmlFor:"expected-return",children:"Expected Interest (%, per year)"}),c.jsx("input",{onChange:s=>i("expected-return",s.target.value),value:t["expected-return"],type:"number",id:"expected-return"})]}),c.jsxs("p",{children:[c.jsx("label",{htmlFor:"duration",children:"Investment Duration (years)"}),c.jsx("input",{onChange:s=>i("duration",s.target.value),value:t.duration,type:"number",id:"duration"})]})]}),c.jsxs("p",{className:Io.actions,children:[c.jsx("button",{onClick:o,type:"reset",className:Io.buttonAlt,children:"Reset"}),c.jsx("button",{type:"submit",className:Io.button,children:"Calculate"})]})]})},y$="_main_kxpla_1",x$={main:y$};function w$(){const[e,t]=h.useState(null),n=o=>{t(o)},r=[];if(e){let o=+e["current-savings"];const i=+e["yearly-contribution"],s=+e["expected-return"]/100,l=+e.duration;for(let a=0;a{const[e,t]=h.useState("");return h.useEffect(()=>{const r=localStorage.getItem("theme");r&&t(r)},[]),h.useEffect(()=>{localStorage.setItem("theme",e)},[e]),{theme:e,toggleTheme:()=>{t(e==="dark-theme"?"light-theme":"dark-theme")}}};function C$(){const{theme:e,toggleTheme:t}=E$();return c.jsxs("main",{className:`${Wu.main} ${e==="dark-theme"?Wu.darkTheme:Wu.lightTheme}`,children:[c.jsx("h1",{children:"Try to toggle the theme and see the change !!!"}),c.jsx("button",{onClick:t,children:"Toggle Theme"})]})}const k$="_layout_1dsxo_1",j$="_button_1dsxo_14",$$="_grid_1dsxo_18",R$="_tile_1dsxo_23",T$="_frontface_1dsxo_27",N$="_backface_1dsxo_28",br={layout:k$,button:j$,grid:$$,tile:R$,frontface:T$,backface:N$};function P$({tile:e,onTileClick:t,idx:n}){const r=h.useRef(null),o=h.useRef(null);return h.useEffect(()=>{r.current&&o.current&&(e.isOpen?(r.current.style.transform="rotateY(180deg)",o.current.style.transform="rotateY(0deg)"):(r.current.style.transform="rotateY(0deg)",o.current.style.transform="rotateY(180deg)"))},[e.isOpen]),c.jsxs("div",{className:br.tile,onClick:()=>{t(n)},children:[c.jsx("div",{className:br.frontface+" "+br.tile,ref:r}),c.jsx("div",{className:br.backface+" "+br.tile,ref:o,children:e.symbol})]})}function O$({size:e,tiles:t,onTileClick:n}){return c.jsx("div",{className:br.grid,style:{gridTemplateRows:`repeat(${e}, min(${80/e}vmin, 6rem))`,gridTemplateColumns:`repeat(${e}, min(${80/e}vmin, 6rem))`,gap:`${10/e}vmin`},children:t.map((r,o)=>c.jsx(P$,{tile:r,onTileClick:n,idx:o},o))})}const ig=["🍇","🍉","🚗","🍌","🏠","🥭","🍎","🐯","🍒","🍓","🐵","🥝","🍿","🏀","🎱","🐻","🍜","🍢","🎓","🍤","🦀","🍦","🍩","🎂","🍫","🍭","🍼","🪔","🍺","🐱","🐶"],A$=(e=8,t=!1)=>{const n=[],r=new Set;for(let o=0;o{const t=e.length;for(let n=0;n{const n=A$(e,t),r=n.concat(n);return M$(r)},cs=4,Vo=2,sg=e=>D$(e*e/Vo,!0).map(t=>({symbol:t,isOpen:!1}));function I$(){const[e,t]=h.useState(()=>sg(cs)),[n,r]=h.useState([]),o=h.useRef(),i=h.useRef(0),s=h.useRef(0),l=h.useRef(!1),a=()=>{o.current=void 0,i.current=0,s.current=0,l.current=!0,t(f=>f.map(p=>({symbol:p.symbol,isOpen:!1}))),setTimeout(()=>{t(sg(cs)),l.current=!1},500)},u=()=>{if(n.length{const m=[...g];return m[f]={symbol:g[f].symbol,isOpen:!1},m[p]={symbol:g[p].symbol,isOpen:!1},r(n.slice(Vo)),m})},d=f=>{e[f].isOpen||l.current||(i.current++,r([...n,f]),t(p=>{const g=[...p];return g[f]={...g[f],isOpen:!0},g}))};return h.useEffect(()=>{n.length===Vo&&(e[n[0]].symbol===e[n[1]].symbol?(r([]),s.current+=Vo):o.current=window.setTimeout(()=>{u()},3e3)),n.length===Vo+1&&(window.clearTimeout(o.current),u())},[e]),c.jsxs("div",{className:br.layout,children:[c.jsx(O$,{size:cs,tiles:e,onTileClick:d}),c.jsx("div",{children:c.jsx("button",{className:br.button,onClick:a,children:"Reset"})}),c.jsxs("output",{children:[c.jsxs("p",{children:["Attempts : ",i.current]}),c.jsx("p",{children:s.current===cs*cs&&"Congratulations"})]})]})}const L$="_main_h642g_1",F$="_nestedDropdown_h642g_4",z$="_dropdownMain_h642g_12",B$="_dropdownItems_h642g_19",U$="_arrow_h642g_52",H$="_dropdown_h642g_12",W$="_show_h642g_76",V$="_dropdownSubItems_h642g_80",Or={main:L$,nestedDropdown:F$,dropdownMain:z$,dropdownItems:B$,arrow:U$,dropdown:H$,show:W$,dropdownSubItems:V$},G$=({subItems:e,dropdown:t,depthLevel:n})=>{const r=n>1?Or.dropdownSubItems:"";return c.jsx("ul",{className:`${Or.dropdown} ${r} ${t?Or.show:""}`,children:e.map((o,i)=>c.jsx(W1,{items:o,depthLevel:n+1},i))})},W1=({items:e,depthLevel:t})=>{const[n,r]=h.useState(!1);let o=h.useRef();h.useEffect(()=>{const l=a=>{n&&o.current&&!o.current.contains(a.target)&&r(!1)};return document.addEventListener("mousedown",l),document.addEventListener("touchstart",l),()=>{document.removeEventListener("mousedown",l),document.removeEventListener("touchstart",l)}},[n]);const i=()=>{window.innerWidth>960&&r(!0)},s=()=>{window.innerWidth>960&&r(!1)};return c.jsx("li",{className:Or.dropdownItems,onMouseEnter:i,onMouseLeave:s,children:e.subItems?c.jsxs(c.Fragment,{children:[c.jsxs("button",{type:"button","aria-expanded":n?"true":"false",onClick:()=>r(l=>!l),children:[e.title,t>0?c.jsx("span",{children:" »"}):c.jsx("span",{className:Or.arrow})]}),c.jsx(G$,{depthLevel:t+1,subItems:e.subItems,dropdown:n})]}):c.jsx("a",{href:"/#",children:e.title})})},K$=[{title:"Software Development",subItems:[{title:"Web design"},{title:"Web development",subItems:[{title:"Frontend",subItems:[{title:"Angular"},{title:"ReactJS"},{title:"VueJS"}]},{title:"Backend",subItems:[{title:"NodeJS"},{title:"PHP"},{title:"JAVA",subItems:[{title:"Spring"},{title:"Hibernate"}]}]}]}]}],q$=()=>c.jsx("div",{className:Or.main,children:c.jsx("div",{className:Or.nestedDropdown,children:c.jsxs("ul",{className:Or.dropdownMain,children:[" ",K$.map((e,t)=>c.jsx(W1,{items:e,depthLevel:0},t))," "]})})}),ag=[{id:1,name:"Pizza",price:10},{id:2,name:"Burger",price:20},{id:3,name:"Fries",price:30},{id:4,name:"Pasta",price:15},{id:5,name:"Salad",price:30},{id:6,name:"Soup",price:20},{id:7,name:"Marshmallows",price:10},{id:8,name:"Ice cream",price:20},{id:9,name:"Cake",price:30},{id:10,name:"Donut",price:5},{id:11,name:"Sushi",price:25},{id:12,name:"Taco",price:12},{id:13,name:"Steak",price:35},{id:14,name:"Chicken Wings",price:18},{id:15,name:"Lasagna",price:22},{id:16,name:"Burrito",price:15},{id:17,name:"Sushi Roll",price:27},{id:18,name:"Grilled Cheese Sandwich",price:10},{id:19,name:"Hot Dog",price:8},{id:20,name:"Nachos",price:12},{id:21,name:"Ramen",price:14},{id:22,name:"Pho",price:16},{id:23,name:"Gyros",price:18},{id:24,name:"Ceviche",price:20},{id:25,name:"Miso Soup",price:8},{id:26,name:"Crispy Tofu",price:12},{id:27,name:"Paella",price:28},{id:28,name:"Fish and Chips",price:17},{id:29,name:"Shrimp Scampi",price:24},{id:30,name:"Cannoli",price:10},{id:31,name:"Churros",price:7},{id:32,name:"Baklava",price:9},{id:33,name:"Tiramisu",price:12},{id:34,name:"Cheesecake",price:18},{id:35,name:"Chocolate Fondue",price:20}],Y$="_pagination_1mnjc_1",Q$={pagination:Y$},X$=({currentPage:e,totalPages:t,onPageChange:n})=>c.jsxs("div",{className:Q$.pagination,children:[c.jsx("button",{onClick:()=>n(e-1),disabled:e===1,children:"Previous"}),c.jsxs("span",{children:["Page ",e," of ",t]}),c.jsx("button",{onClick:()=>n(e+1),disabled:e===t,children:"Next"})]}),J$="_container_for_table_1pb6f_1",Z$="_table_1pb6f_5",eR="_thead_1pb6f_10",tR="_tbody_1pb6f_19",Ja={container_for_table:J$,table:Z$,thead:eR,tbody:tR},nR=({data:e,currentPage:t,totalPages:n,onPageChange:r})=>c.jsxs("div",{className:Ja.container_for_table,children:[c.jsx(X$,{currentPage:t,totalPages:n,onPageChange:r}),c.jsxs("table",{className:Ja.table,children:[c.jsx("thead",{className:Ja.thead,children:c.jsxs("tr",{children:[c.jsx("th",{children:"#"}),c.jsx("th",{children:"Food"}),c.jsx("th",{children:"Price"})]})}),c.jsx("tbody",{className:Ja.tbody,children:e.map((o,i)=>c.jsxs("tr",{children:[c.jsx("td",{children:o.id}),c.jsx("td",{children:o.name}),c.jsxs("td",{children:[o.price,"$"]})]},i))})]})]}),rR="_pagination_container_13fvi_1",oR="_title_13fvi_10",iR={pagination_container:rR,title:oR},sR=()=>{const[t,n]=h.useState(1),r=l=>{n(l)},o=(t-1)*10,i=o+10,s=ag.slice(o,i);return c.jsx("div",{className:iR.pagination_container,children:c.jsx(nR,{data:s,currentPage:t,totalPages:Math.ceil(ag.length/10),onPageChange:r})})},aR={a:"apple",b:"banana",c:"cat",d:"dog",e:"elephant",f:"fox",g:"grape",h:"horse",i:"ice cream",j:"jellyfish",k:"kiwi",l:"lion",m:"monkey",n:"nest",o:"orange",p:"pear",q:"queen",r:"rabbit",s:"snake",t:"tiger",u:"umbrella",v:"vase",w:"watermelon",x:"xylophone",y:"yak",z:"zebra",A:"Astronaut",B:"Bicycle",C:"Camera",D:"Dolphin",E:"Eagle",F:"Fireworks",G:"Globe",H:"Helicopter",I:"Island",J:"Jellyfish",K:"Kangaroo",L:"Lightning",M:"Mountain",N:"Nightingale",O:"Octopus",P:"Penguin",Q:"Quokka",R:"River",S:"Starfish",T:"Telescope",U:"Unicorn",V:"Volcano",W:"Waterfall",X:"X-ray",Y:"Yacht",Z:"Zipline"},lR="_App_6bcv0_1",cR="_main_section_6bcv0_10",uR="_main_header_6bcv0_15",dR="_password_form_6bcv0_22",fR="_second_section_6bcv0_28",pR="_inputText_6bcv0_38",hR="_fifth_section_6bcv0_39",mR="_btn_6bcv0_46",gR="_fourth_section_6bcv0_47",vR="_third_section_6bcv0_72",yR="_sixth_section_6bcv0_91",xR="_second_header_6bcv0_97",dt={App:lR,main_section:cR,main_header:uR,password_form:dR,second_section:fR,inputText:pR,fifth_section:hR,btn:mR,fourth_section:gR,third_section:vR,sixth_section:yR,second_header:xR,"password-table":"_password-table_6bcv0_105"};function V1({passwordLength:e,setPasswordLength:t,isChecked:n,handleChange:r}){return c.jsxs("form",{className:dt.password_form,children:[c.jsxs("div",{children:["password length: ",e]}),c.jsx("div",{children:c.jsx("input",{type:"range",min:"6",max:"30",value:e,onChange:o=>t(o.target.value)})}),c.jsx("div",{children:"Include Lowercase character:"}),c.jsx("div",{children:c.jsxs("label",{children:[c.jsx("input",{type:"checkbox",checked:n.isCheckedLowerCha,onChange:r("isCheckedLowerCha")}),"Lowercase character (e.g. abcdefg)"]})}),c.jsx("div",{children:"Include Uppercase character:"}),c.jsx("div",{children:c.jsxs("label",{children:[c.jsx("input",{type:"checkbox",checked:n.isCheckedUpperCha,onChange:r("isCheckedUpperCha")}),"Uppercase character (e.g. ABCDEFG)"]})}),c.jsx("div",{children:"Include Number:"}),c.jsx("div",{children:c.jsxs("label",{children:[c.jsx("input",{type:"checkbox",checked:n.isCheckedNumber,onChange:r("isCheckedNumber")}),"Number (e.g. 12345)"]})}),c.jsx("div",{children:"Include Symbols:"}),c.jsx("div",{children:c.jsxs("label",{children:[c.jsx("input",{type:"checkbox",checked:n.isCheckedSymbols,onChange:r("isCheckedSymbols")}),"Symbols (e.g. !@#$%)"]})})]})}V1.propTypes;function G1({generatedPassword:e,handleCopyText:t,showTextNotification:n,notificationMessage:r}){return c.jsxs("div",{className:dt.second_section,children:[c.jsx("label",{children:"Your generated password: "}),c.jsxs("div",{children:[c.jsx("input",{className:dt.inputText,type:"text",placeholder:"Your generated password will appear here",value:e,readOnly:!0}),c.jsx("button",{className:dt.btn,title:"copy password",onClick:o=>{t(o),n("copied2")},children:"copy"}),r==="copied2"&&c.jsx("span",{children:r.slice(0,6)})]})]})}G1.propTypes;function K1({isChecked:e,passwordLength:t,randomPassword:n,PasswordToRemember:r,ALPHABET_WORDS:o,passwordGenerate:i,handleCopyText:s,showTextNotification:l,notificationMessage:a}){return c.jsxs("div",{className:dt.fourth_section,children:[c.jsx("button",{className:dt.btn,title:"generate password",onClick:i({...e},t,n,r,o),children:"generate password"}),c.jsx("button",{className:dt.btn,title:"copy password",onClick:u=>{s(u),l("copied1")},children:"copy"}),a==="copied1"&&c.jsx("span",{children:a.slice(0,6)})]})}K1.propTypes;function q1({saveNameAndPass:e}){return c.jsxs("table",{className:dt["password-table"],children:[c.jsx("thead",{children:c.jsxs("tr",{children:[c.jsx("th",{children:"Name of password"}),c.jsx("th",{children:"Password"})]})}),c.jsx("tbody",{children:e.map((t,n)=>c.jsxs("tr",{children:[c.jsx("td",{children:t.name}),c.jsx("td",{children:t.pass})]},n))})]})}q1.propTypes;function Y1({generatedPassword:e,handleSavePasswordAndName:t,saveNameAndPass:n,setLocalStorage:r,checkPasswordNameExit:o,showTextNotification:i,notificationMessage:s}){const[l,a]=h.useState(!1),[u,d]=h.useState("");return c.jsxs("div",{className:dt.fifth_section,children:[c.jsx("label",{title:"save your password",htmlFor:"checkToSave",children:"Save password:"}),c.jsx("input",{id:"checkToSave",type:"checkbox",checked:l,onChange:()=>a(!l),disabled:e==""}),l&&c.jsxs("div",{children:[c.jsx("input",{className:dt.inputText,type:"text",placeholder:"name your password",value:u,onChange:f=>d(f.target.value)}),c.jsx("button",{className:dt.btn,title:"save password",onClick:t(u,e,n,r,o,i),children:"save"}),s==="cannot save without name!"&&c.jsx("span",{children:s})||s==="name already taken!"&&c.jsx("span",{children:s})]})]})}Y1.propTypes;function wR(){const[e,t]=h.useState(""),[n,r]=h.useState("There is no password to remember! Please generate one"),[o,i]=h.useState({isCheckedLowerCha:!0,isCheckedUpperCha:!0,isCheckedNumber:!0,isCheckedSymbols:!1}),[s,l]=h.useState(6),[a,u]=h.useState([]),[d,f]=h.useState("");h.useEffect(()=>{const k=g("PASS");k&&u(k)},[]);const p=(k,j)=>{localStorage.setItem(k,JSON.stringify(j))},g=k=>{const j=localStorage.getItem(k);if(j!==null)return JSON.parse(j)},m=(k,j)=>k.filter(P=>P.name===j),x=(k,j,P,N,M,I)=>()=>{const U=M(P,k);if(k.length!==0){if(U.length>0){I("name already taken!");return}u(z=>{const q=[...z,{name:k,pass:j}];return console.log(q),N("PASS",q),q})}else{I("cannot save without name!");return}},w=k=>j=>{i(P=>({...P,[k]:j.target.checked}))},v={lower:()=>String.fromCharCode(Math.floor(Math.random()*26)+97),upper:()=>String.fromCharCode(Math.floor(Math.random()*26)+65),number:()=>Math.floor(Math.random()*10),symbolCha:()=>{const k=["!","@","#","$","%","^","&","*","(",")","_","+","-","=","/","|"],j=Math.floor(Math.random()*k.length);return k[j]}},y=k=>{const j=k.split("");for(let P=j.length-1;P>0;P--){const N=Math.floor(Math.random()*P+1);[j[P],j[N]]=[j[N],j[P]]}return j.join("")},_=(k,j)=>{const P=k.split("");let N="";P.map(M=>{j[M]?N+=` ${j[M]}`:N+=` ${M}`}),r(N.trim())},C=(k,j,P,N,M)=>()=>{let I="";const{isCheckedLowerCha:U,isCheckedUpperCha:z,isCheckedNumber:q,isCheckedSymbols:K}=k,Y=U+z+q+K,L=[{lower:U},{upper:z},{number:q},{symbolCha:K}].filter(W=>Object.values(W)[0]===!0);if(Y===0)return"";for(let W=0;W{const ne=Object.keys(X)[0];I+=P[ne]()});I=y(I).slice(0,j),t(I),N(I,M)},E=k=>{k.preventDefault(),e!==""&&navigator.clipboard.writeText(e)},b=k=>{f(k),setTimeout(()=>{f("")},1e3)};return c.jsxs("div",{className:dt.App,children:[c.jsxs("div",{className:dt.main_section,children:[c.jsx(V1,{handleChange:w,isChecked:o,passwordLength:s,setPasswordLength:l}),c.jsx(G1,{generatedPassword:e,handleCopyText:E,notificationMessage:d,showTextNotification:b}),c.jsxs("div",{className:dt.third_section,children:[c.jsx("label",{children:"Password remember shortcut: "}),c.jsx("p",{children:n})]}),c.jsx(K1,{ALPHABET_WORDS:aR,PasswordToRemember:_,handleCopyText:E,isChecked:o,notificationMessage:d,passwordGenerate:C,passwordLength:s,randomPassword:v,showTextNotification:b}),c.jsx(Y1,{checkPasswordNameExit:m,generatedPassword:e,handleSavePasswordAndName:x,notificationMessage:d,saveNameAndPass:a,setLocalStorage:p,showTextNotification:b})]}),c.jsxs("div",{className:dt.sixth_section,children:[c.jsx("h2",{className:dt.second_header,children:"All your saved password"}),c.jsx(q1,{saveNameAndPass:a})]})]})}const _R="_main_3eouk_1",bR="_indicators_3eouk_6",SR="_active_3eouk_14",ER="_progressContainer_3eouk_17",CR="_progressBar_3eouk_25",fr={main:_R,indicators:bR,active:SR,progressContainer:ER,progressBar:CR},kR=()=>{const[e,t]=h.useState(""),n=/\d/,r=/[A-Z]/,o=/[a-z]/,i=/[^A-Za-z0-9]/,s=p=>p>8?"Strong":p>5?"Medium":"Weak",l=p=>{let g=0;return p.length>3&&(g=Math.min(6,Math.floor(p.length/3)),g+=+n.test(p)+ +r.test(p)+ +o.test(p)+ +i.test(p)),g},a=p=>{const g=p.target.value;t(g)},u=l(e),d=s(u),f={lc:o.test(e),uc:r.test(e),num:n.test(e),sym:i.test(e)};return[e,d,u,f,a]},jR=()=>{const[e,t,n,r,o]=kR();return c.jsxs("div",{className:fr.main,children:[c.jsx("input",{type:"text",id:"password",min:"8",max:"32",autoFocus:!0,autoComplete:"off",placeholder:"Enter the password",value:e,onChange:o}),c.jsxs("div",{className:fr.indicators,children:[c.jsx("span",{className:r.lc?fr.active:"",children:"Lowercase"}),c.jsx("span",{className:r.uc?fr.active:"",children:"Uppercase"}),c.jsx("span",{className:r.num?fr.active:"",children:"Number"}),c.jsx("span",{className:r.sym?fr.active:"",children:"Symbols"})]}),c.jsx("div",{className:fr.progressContainer,children:c.jsx("div",{className:fr.progressBar,style:{width:`${n*10}%`,backgroundColor:n>5?n>8?"green":"orange":"red"}})}),c.jsxs("p",{children:["Password has ",c.jsx("strong",{children:e.length})," chars"]}),c.jsxs("p",{children:["Your password is ",c.jsx("strong",{children:t})]})]})},$R="_App_omdzp_1",RR="_controls_omdzp_26",TR="_slidecontainer_omdzp_56",ra={App:$R,"bg-progress":"_bg-progress_omdzp_9","fg-progress":"_fg-progress_omdzp_18",controls:RR,slidecontainer:TR},NR=({startProgress:e,pauseProgress:t,stopProgress:n,handleSliderChange:r,speed:o})=>c.jsxs(c.Fragment,{children:[c.jsxs("div",{className:ra.controls,children:[c.jsx("button",{onClick:e,children:"Start"}),c.jsx("button",{onClick:t,children:"Pause"}),c.jsx("button",{onClick:n,children:"Reset"})]}),c.jsxs("div",{className:ra.slidecontainer,children:[c.jsx("input",{type:"range",min:o.min,max:o.max,defaultValue:o.min,className:"slider",id:"myRange",onChange:r}),c.jsx("div",{children:c.jsx("label",{htmlFor:"myRange",children:c.jsxs("small",{children:["Speed: ",o.value," "]})})})]})]}),PR=10*1e3,Q1=1e3,Vu=PR/Q1,OR=()=>{const[e,t]=h.useState(0),[n,r]=h.useState({max:10,min:1,value:1,label:"speed"}),o=h.useRef(null),i=()=>{clearInterval(o.current),e>=Vu&&t(0),o.current=setInterval(()=>{t(d=>d>=Vu?(clearInterval(o),d):d+1)},Q1/n.value)};h.useEffect(()=>{i()},[n.value]);const s=()=>{clearInterval(o.current)},l=()=>{s(),t(0)},a=d=>{r(f=>({...f,value:d.target.value}))},u=()=>e/Vu*100;return c.jsxs(c.Fragment,{children:[c.jsx("div",{className:ra["bg-progress"],children:c.jsx("div",{className:ra["fg-progress"],style:{transform:`translateX(${-100+u()}%)`}})}),c.jsx(NR,{startProgress:i,stopProgress:l,pauseProgress:s,speed:n,handleSliderChange:a})]})},AR=()=>c.jsx("div",{className:ra.App,children:c.jsx(OR,{})});var MR=Object.defineProperty,cc=Object.getOwnPropertySymbols,X1=Object.prototype.hasOwnProperty,J1=Object.prototype.propertyIsEnumerable,lg=(e,t,n)=>t in e?MR(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,oa=(e,t)=>{for(var n in t||(t={}))X1.call(t,n)&&lg(e,n,t[n]);if(cc)for(var n of cc(t))J1.call(t,n)&&lg(e,n,t[n]);return e},Bp=(e,t)=>{var n={};for(var r in e)X1.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&cc)for(var r of cc(e))t.indexOf(r)<0&&J1.call(e,r)&&(n[r]=e[r]);return n};/** +`):" "+eg(i[0]):"as no adapter specified";throw new ue("There is no suitable adapter to dispatch the request "+s,"ERR_NOT_SUPPORT")}return r},adapters:lf};function Hu(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new _a(null,e)}function tg(e){return Hu(e),e.headers=qn.from(e.headers),e.data=Uu.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),B1.getAdapter(e.adapter||Lp.adapter)(e).then(function(r){return Hu(e),r.data=Uu.call(e,e.transformResponse,r),r.headers=qn.from(r.headers),r},function(r){return F1(r)||(Hu(e),r&&r.response&&(r.response.data=Uu.call(e,e.transformResponse,r.response),r.response.headers=qn.from(r.response.headers))),Promise.reject(r)})}const ng=e=>e instanceof qn?e.toJSON():e;function Ri(e,t){t=t||{};const n={};function r(u,d,f){return A.isPlainObject(u)&&A.isPlainObject(d)?A.merge.call({caseless:f},u,d):A.isPlainObject(d)?A.merge({},d):A.isArray(d)?d.slice():d}function o(u,d,f){if(A.isUndefined(d)){if(!A.isUndefined(u))return r(void 0,u,f)}else return r(u,d,f)}function i(u,d){if(!A.isUndefined(d))return r(void 0,d)}function s(u,d){if(A.isUndefined(d)){if(!A.isUndefined(u))return r(void 0,u)}else return r(void 0,d)}function l(u,d,f){if(f in t)return r(u,d);if(f in e)return r(void 0,u)}const a={url:i,method:i,data:i,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,withXSRFToken:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:l,headers:(u,d)=>o(ng(u),ng(d),!0)};return A.forEach(Object.keys(Object.assign({},e,t)),function(d){const f=a[d]||o,p=f(e[d],t[d],d);A.isUndefined(p)&&f!==l||(n[d]=p)}),n}const U1="1.6.2",Fp={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Fp[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const rg={};Fp.transitional=function(t,n,r){function o(i,s){return"[Axios v"+U1+"] Transitional option '"+i+"'"+s+(r?". "+r:"")}return(i,s,l)=>{if(t===!1)throw new ue(o(s," has been removed"+(n?" in "+n:"")),ue.ERR_DEPRECATED);return n&&!rg[s]&&(rg[s]=!0,console.warn(o(s," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(i,s,l):!0}};function o$(e,t,n){if(typeof e!="object")throw new ue("options must be an object",ue.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let o=r.length;for(;o-- >0;){const i=r[o],s=t[i];if(s){const l=e[i],a=l===void 0||s(l,i,e);if(a!==!0)throw new ue("option "+i+" must be "+a,ue.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new ue("Unknown option "+i,ue.ERR_BAD_OPTION)}}const cf={assertOptions:o$,validators:Fp},dr=cf.validators;class cc{constructor(t){this.defaults=t,this.interceptors={request:new Xm,response:new Xm}}request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Ri(this.defaults,n);const{transitional:r,paramsSerializer:o,headers:i}=n;r!==void 0&&cf.assertOptions(r,{silentJSONParsing:dr.transitional(dr.boolean),forcedJSONParsing:dr.transitional(dr.boolean),clarifyTimeoutError:dr.transitional(dr.boolean)},!1),o!=null&&(A.isFunction(o)?n.paramsSerializer={serialize:o}:cf.assertOptions(o,{encode:dr.function,serialize:dr.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let s=i&&A.merge(i.common,i[n.method]);i&&A.forEach(["delete","get","head","post","put","patch","common"],m=>{delete i[m]}),n.headers=qn.concat(s,i);const l=[];let a=!0;this.interceptors.request.forEach(function(x){typeof x.runWhen=="function"&&x.runWhen(n)===!1||(a=a&&x.synchronous,l.unshift(x.fulfilled,x.rejected))});const u=[];this.interceptors.response.forEach(function(x){u.push(x.fulfilled,x.rejected)});let d,f=0,p;if(!a){const m=[tg.bind(this),void 0];for(m.unshift.apply(m,l),m.push.apply(m,u),p=m.length,d=Promise.resolve(n);f{if(!r._listeners)return;let i=r._listeners.length;for(;i-- >0;)r._listeners[i](o);r._listeners=null}),this.promise.then=o=>{let i;const s=new Promise(l=>{r.subscribe(l),i=l}).then(o);return s.cancel=function(){r.unsubscribe(i)},s},t(function(i,s,l){r.reason||(r.reason=new _a(i,s,l),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}static source(){let t;return{token:new zp(function(o){t=o}),cancel:t}}}const i$=zp;function s$(e){return function(n){return e.apply(null,n)}}function a$(e){return A.isObject(e)&&e.isAxiosError===!0}const uf={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(uf).forEach(([e,t])=>{uf[t]=e});const l$=uf;function H1(e){const t=new $l(e),n=S1($l.prototype.request,t);return A.extend(n,$l.prototype,t,{allOwnKeys:!0}),A.extend(n,t,null,{allOwnKeys:!0}),n.create=function(o){return H1(Ri(e,o))},n}const be=H1(Lp);be.Axios=$l;be.CanceledError=_a;be.CancelToken=i$;be.isCancel=F1;be.VERSION=U1;be.toFormData=Yc;be.AxiosError=ue;be.Cancel=be.CanceledError;be.all=function(t){return Promise.all(t)};be.spread=s$;be.isAxiosError=a$;be.mergeConfig=Ri;be.AxiosHeaders=qn;be.formToJSON=e=>L1(A.isHTMLForm(e)?new FormData(e):e);be.getAdapter=B1.getAdapter;be.HttpStatusCode=l$;be.default=be;function c$(e){const[t,n]=h.useState(!0),[r,o]=h.useState(!1),[i,s]=h.useState([]),[l,a]=h.useState(!1);return h.useEffect(()=>{n(!0),o(!1);let u;return be({method:"GET",url:"https://jsonplaceholder.typicode.com/photos",params:{_page:e,_limit:10},cancelToken:new be.CancelToken(d=>u=d)}).then(d=>{var f;s(p=>[...new Set([...p,...d.data.map(g=>g.title)])]),a(!(((f=d.data.at(-1))==null?void 0:f.id)===5e3||d.data.length===0)),n(!1)}).catch(d=>{be.isCancel(d)||o(!0)}),()=>u()},[e]),{loading:t,error:r,items:i,hasMore:l}}function u$(){const[e,t]=h.useState(1),{items:n,hasMore:r,loading:o,error:i}=c$(e),s=h.useRef(),l=h.useCallback(a=>{o||(s.current&&s.current.disconnect(),s.current=new IntersectionObserver(u=>{u[0].isIntersecting&&r&&t(d=>d+1)}),a&&s.current.observe(a))},[o,r]);return c.jsxs(c.Fragment,{children:[n==null?void 0:n.map((a,u)=>n.length===u+1?c.jsx("div",{className:`${Fu["book-title"]}`,ref:l,children:a},a):c.jsx("div",{className:`${Fu["book-title"]}`,children:a},a)),o&&c.jsx("div",{className:Fu.loader}),c.jsx("div",{children:i&&"Error"})]})}const d$="_result_1y6k8_1",f$={result:d$},Ja=new Intl.NumberFormat("en-US",{style:"currency",currency:"USD",minimumFractionDigits:2,maximumFractionDigits:2}),p$=e=>c.jsxs("table",{className:f$.result,children:[c.jsx("thead",{children:c.jsxs("tr",{children:[c.jsx("th",{children:"Year"}),c.jsx("th",{children:"Total Savings"}),c.jsx("th",{children:"Interest (Year)"}),c.jsx("th",{children:"Total Interest"}),c.jsx("th",{children:"Invested Capital"})]})}),c.jsx("tbody",{children:e.data.map(t=>c.jsxs("tr",{children:[c.jsx("td",{children:t.year}),c.jsx("td",{children:Ja.format(t.savingsEndOfYear)}),c.jsx("td",{children:Ja.format(t.yearlyInterest)}),c.jsx("td",{children:Ja.format(t.savingsEndOfYear-e.inInvest-t.yearlyContribution*t.year)}),c.jsx("td",{children:Ja.format(parseInt(e.inInvest)+t.yearlyContribution*t.year)})]},t.year))})]}),h$="_form_1schc_1",m$="_actions_1schc_63",g$="_button_1schc_75",v$="_buttonAlt_1schc_93",Io={form:h$,"input-group":"_input-group_1schc_17",actions:m$,button:g$,buttonAlt:v$},og={"current-savings":1e4,"yearly-contribution":1200,"expected-return":7,duration:10},y$=e=>{const[t,n]=h.useState(og),r=s=>{s.preventDefault(),e.onCalculate(t)},o=()=>{n(og),e.onCalculate(null)},i=(s,l)=>{n(a=>({...a,[s]:l}))};return c.jsxs("form",{onSubmit:r,className:Io.form,children:[c.jsxs("div",{className:Io["input-group"],children:[c.jsxs("p",{children:[c.jsx("label",{htmlFor:"current-savings",children:"Current Savings ($)"}),c.jsx("input",{onChange:s=>i("current-savings",s.target.value),value:t["current-savings"],type:"number",id:"current-savings"})]}),c.jsxs("p",{children:[c.jsx("label",{htmlFor:"yearly-contribution",children:"Yearly Savings ($)"}),c.jsx("input",{onChange:s=>i("yearly-contribution",s.target.value),value:t["yearly-contribution"],type:"number",id:"yearly-contribution"})]})]}),c.jsxs("div",{className:Io["input-group"],children:[c.jsxs("p",{children:[c.jsx("label",{htmlFor:"expected-return",children:"Expected Interest (%, per year)"}),c.jsx("input",{onChange:s=>i("expected-return",s.target.value),value:t["expected-return"],type:"number",id:"expected-return"})]}),c.jsxs("p",{children:[c.jsx("label",{htmlFor:"duration",children:"Investment Duration (years)"}),c.jsx("input",{onChange:s=>i("duration",s.target.value),value:t.duration,type:"number",id:"duration"})]})]}),c.jsxs("p",{className:Io.actions,children:[c.jsx("button",{onClick:o,type:"reset",className:Io.buttonAlt,children:"Reset"}),c.jsx("button",{type:"submit",className:Io.button,children:"Calculate"})]})]})},x$="_main_kxpla_1",w$={main:x$};function _$(){const[e,t]=h.useState(null),n=o=>{t(o)},r=[];if(e){let o=+e["current-savings"];const i=+e["yearly-contribution"],s=+e["expected-return"]/100,l=+e.duration;for(let a=0;a{const[e,t]=h.useState("");return h.useEffect(()=>{const r=localStorage.getItem("theme");r&&t(r)},[]),h.useEffect(()=>{localStorage.setItem("theme",e)},[e]),{theme:e,toggleTheme:()=>{t(e==="dark-theme"?"light-theme":"dark-theme")}}};function k$(){const{theme:e,toggleTheme:t}=C$();return c.jsxs("main",{className:`${Wu.main} ${e==="dark-theme"?Wu.darkTheme:Wu.lightTheme}`,children:[c.jsx("h1",{children:"Try to toggle the theme and see the change !!!"}),c.jsx("button",{onClick:t,children:"Toggle Theme"})]})}const j$="_layout_1dsxo_1",$$="_button_1dsxo_14",R$="_grid_1dsxo_18",T$="_tile_1dsxo_23",N$="_frontface_1dsxo_27",P$="_backface_1dsxo_28",br={layout:j$,button:$$,grid:R$,tile:T$,frontface:N$,backface:P$};function O$({tile:e,onTileClick:t,idx:n}){const r=h.useRef(null),o=h.useRef(null);return h.useEffect(()=>{r.current&&o.current&&(e.isOpen?(r.current.style.transform="rotateY(180deg)",o.current.style.transform="rotateY(0deg)"):(r.current.style.transform="rotateY(0deg)",o.current.style.transform="rotateY(180deg)"))},[e.isOpen]),c.jsxs("div",{className:br.tile,onClick:()=>{t(n)},children:[c.jsx("div",{className:br.frontface+" "+br.tile,ref:r}),c.jsx("div",{className:br.backface+" "+br.tile,ref:o,children:e.symbol})]})}function A$({size:e,tiles:t,onTileClick:n}){return c.jsx("div",{className:br.grid,style:{gridTemplateRows:`repeat(${e}, min(${80/e}vmin, 6rem))`,gridTemplateColumns:`repeat(${e}, min(${80/e}vmin, 6rem))`,gap:`${10/e}vmin`},children:t.map((r,o)=>c.jsx(O$,{tile:r,onTileClick:n,idx:o},o))})}const ig=["🍇","🍉","🚗","🍌","🏠","🥭","🍎","🐯","🍒","🍓","🐵","🥝","🍿","🏀","🎱","🐻","🍜","🍢","🎓","🍤","🦀","🍦","🍩","🎂","🍫","🍭","🍼","🪔","🍺","🐱","🐶"],M$=(e=8,t=!1)=>{const n=[],r=new Set;for(let o=0;o{const t=e.length;for(let n=0;n{const n=M$(e,t),r=n.concat(n);return D$(r)},cs=4,Vo=2,sg=e=>I$(e*e/Vo,!0).map(t=>({symbol:t,isOpen:!1}));function L$(){const[e,t]=h.useState(()=>sg(cs)),[n,r]=h.useState([]),o=h.useRef(),i=h.useRef(0),s=h.useRef(0),l=h.useRef(!1),a=()=>{o.current=void 0,i.current=0,s.current=0,l.current=!0,t(f=>f.map(p=>({symbol:p.symbol,isOpen:!1}))),setTimeout(()=>{t(sg(cs)),l.current=!1},500)},u=()=>{if(n.length{const m=[...g];return m[f]={symbol:g[f].symbol,isOpen:!1},m[p]={symbol:g[p].symbol,isOpen:!1},r(n.slice(Vo)),m})},d=f=>{e[f].isOpen||l.current||(i.current++,r([...n,f]),t(p=>{const g=[...p];return g[f]={...g[f],isOpen:!0},g}))};return h.useEffect(()=>{n.length===Vo&&(e[n[0]].symbol===e[n[1]].symbol?(r([]),s.current+=Vo):o.current=window.setTimeout(()=>{u()},3e3)),n.length===Vo+1&&(window.clearTimeout(o.current),u())},[e]),c.jsxs("div",{className:br.layout,children:[c.jsx(A$,{size:cs,tiles:e,onTileClick:d}),c.jsx("div",{children:c.jsx("button",{className:br.button,onClick:a,children:"Reset"})}),c.jsxs("output",{children:[c.jsxs("p",{children:["Attempts : ",i.current]}),c.jsx("p",{children:s.current===cs*cs&&"Congratulations"})]})]})}const F$="_main_h642g_1",z$="_nestedDropdown_h642g_4",B$="_dropdownMain_h642g_12",U$="_dropdownItems_h642g_19",H$="_arrow_h642g_52",W$="_dropdown_h642g_12",V$="_show_h642g_76",G$="_dropdownSubItems_h642g_80",Or={main:F$,nestedDropdown:z$,dropdownMain:B$,dropdownItems:U$,arrow:H$,dropdown:W$,show:V$,dropdownSubItems:G$},K$=({subItems:e,dropdown:t,depthLevel:n})=>{const r=n>1?Or.dropdownSubItems:"";return c.jsx("ul",{className:`${Or.dropdown} ${r} ${t?Or.show:""}`,children:e.map((o,i)=>c.jsx(W1,{items:o,depthLevel:n+1},i))})},W1=({items:e,depthLevel:t})=>{const[n,r]=h.useState(!1);let o=h.useRef();h.useEffect(()=>{const l=a=>{n&&o.current&&!o.current.contains(a.target)&&r(!1)};return document.addEventListener("mousedown",l),document.addEventListener("touchstart",l),()=>{document.removeEventListener("mousedown",l),document.removeEventListener("touchstart",l)}},[n]);const i=()=>{window.innerWidth>960&&r(!0)},s=()=>{window.innerWidth>960&&r(!1)};return c.jsx("li",{className:Or.dropdownItems,onMouseEnter:i,onMouseLeave:s,children:e.subItems?c.jsxs(c.Fragment,{children:[c.jsxs("button",{type:"button","aria-expanded":n?"true":"false",onClick:()=>r(l=>!l),children:[e.title,t>0?c.jsx("span",{children:" »"}):c.jsx("span",{className:Or.arrow})]}),c.jsx(K$,{depthLevel:t+1,subItems:e.subItems,dropdown:n})]}):c.jsx("a",{href:"/#",children:e.title})})},q$=[{title:"Software Development",subItems:[{title:"Web design"},{title:"Web development",subItems:[{title:"Frontend",subItems:[{title:"Angular"},{title:"ReactJS"},{title:"VueJS"}]},{title:"Backend",subItems:[{title:"NodeJS"},{title:"PHP"},{title:"JAVA",subItems:[{title:"Spring"},{title:"Hibernate"}]}]}]}]}],Y$=()=>c.jsx("div",{className:Or.main,children:c.jsx("div",{className:Or.nestedDropdown,children:c.jsxs("ul",{className:Or.dropdownMain,children:[" ",q$.map((e,t)=>c.jsx(W1,{items:e,depthLevel:0},t))," "]})})}),ag=[{id:1,name:"Pizza",price:10},{id:2,name:"Burger",price:20},{id:3,name:"Fries",price:30},{id:4,name:"Pasta",price:15},{id:5,name:"Salad",price:30},{id:6,name:"Soup",price:20},{id:7,name:"Marshmallows",price:10},{id:8,name:"Ice cream",price:20},{id:9,name:"Cake",price:30},{id:10,name:"Donut",price:5},{id:11,name:"Sushi",price:25},{id:12,name:"Taco",price:12},{id:13,name:"Steak",price:35},{id:14,name:"Chicken Wings",price:18},{id:15,name:"Lasagna",price:22},{id:16,name:"Burrito",price:15},{id:17,name:"Sushi Roll",price:27},{id:18,name:"Grilled Cheese Sandwich",price:10},{id:19,name:"Hot Dog",price:8},{id:20,name:"Nachos",price:12},{id:21,name:"Ramen",price:14},{id:22,name:"Pho",price:16},{id:23,name:"Gyros",price:18},{id:24,name:"Ceviche",price:20},{id:25,name:"Miso Soup",price:8},{id:26,name:"Crispy Tofu",price:12},{id:27,name:"Paella",price:28},{id:28,name:"Fish and Chips",price:17},{id:29,name:"Shrimp Scampi",price:24},{id:30,name:"Cannoli",price:10},{id:31,name:"Churros",price:7},{id:32,name:"Baklava",price:9},{id:33,name:"Tiramisu",price:12},{id:34,name:"Cheesecake",price:18},{id:35,name:"Chocolate Fondue",price:20}],Q$="_pagination_1mnjc_1",X$={pagination:Q$},J$=({currentPage:e,totalPages:t,onPageChange:n})=>c.jsxs("div",{className:X$.pagination,children:[c.jsx("button",{onClick:()=>n(e-1),disabled:e===1,children:"Previous"}),c.jsxs("span",{children:["Page ",e," of ",t]}),c.jsx("button",{onClick:()=>n(e+1),disabled:e===t,children:"Next"})]}),Z$="_container_for_table_1pb6f_1",eR="_table_1pb6f_5",tR="_thead_1pb6f_10",nR="_tbody_1pb6f_19",Za={container_for_table:Z$,table:eR,thead:tR,tbody:nR},rR=({data:e,currentPage:t,totalPages:n,onPageChange:r})=>c.jsxs("div",{className:Za.container_for_table,children:[c.jsx(J$,{currentPage:t,totalPages:n,onPageChange:r}),c.jsxs("table",{className:Za.table,children:[c.jsx("thead",{className:Za.thead,children:c.jsxs("tr",{children:[c.jsx("th",{children:"#"}),c.jsx("th",{children:"Food"}),c.jsx("th",{children:"Price"})]})}),c.jsx("tbody",{className:Za.tbody,children:e.map((o,i)=>c.jsxs("tr",{children:[c.jsx("td",{children:o.id}),c.jsx("td",{children:o.name}),c.jsxs("td",{children:[o.price,"$"]})]},i))})]})]}),oR="_pagination_container_13fvi_1",iR="_title_13fvi_10",sR={pagination_container:oR,title:iR},aR=()=>{const[t,n]=h.useState(1),r=l=>{n(l)},o=(t-1)*10,i=o+10,s=ag.slice(o,i);return c.jsx("div",{className:sR.pagination_container,children:c.jsx(rR,{data:s,currentPage:t,totalPages:Math.ceil(ag.length/10),onPageChange:r})})},lR={a:"apple",b:"banana",c:"cat",d:"dog",e:"elephant",f:"fox",g:"grape",h:"horse",i:"ice cream",j:"jellyfish",k:"kiwi",l:"lion",m:"monkey",n:"nest",o:"orange",p:"pear",q:"queen",r:"rabbit",s:"snake",t:"tiger",u:"umbrella",v:"vase",w:"watermelon",x:"xylophone",y:"yak",z:"zebra",A:"Astronaut",B:"Bicycle",C:"Camera",D:"Dolphin",E:"Eagle",F:"Fireworks",G:"Globe",H:"Helicopter",I:"Island",J:"Jellyfish",K:"Kangaroo",L:"Lightning",M:"Mountain",N:"Nightingale",O:"Octopus",P:"Penguin",Q:"Quokka",R:"River",S:"Starfish",T:"Telescope",U:"Unicorn",V:"Volcano",W:"Waterfall",X:"X-ray",Y:"Yacht",Z:"Zipline"},cR="_App_6bcv0_1",uR="_main_section_6bcv0_10",dR="_main_header_6bcv0_15",fR="_password_form_6bcv0_22",pR="_second_section_6bcv0_28",hR="_inputText_6bcv0_38",mR="_fifth_section_6bcv0_39",gR="_btn_6bcv0_46",vR="_fourth_section_6bcv0_47",yR="_third_section_6bcv0_72",xR="_sixth_section_6bcv0_91",wR="_second_header_6bcv0_97",dt={App:cR,main_section:uR,main_header:dR,password_form:fR,second_section:pR,inputText:hR,fifth_section:mR,btn:gR,fourth_section:vR,third_section:yR,sixth_section:xR,second_header:wR,"password-table":"_password-table_6bcv0_105"};function V1({passwordLength:e,setPasswordLength:t,isChecked:n,handleChange:r}){return c.jsxs("form",{className:dt.password_form,children:[c.jsxs("div",{children:["password length: ",e]}),c.jsx("div",{children:c.jsx("input",{type:"range",min:"6",max:"30",value:e,onChange:o=>t(o.target.value)})}),c.jsx("div",{children:"Include Lowercase character:"}),c.jsx("div",{children:c.jsxs("label",{children:[c.jsx("input",{type:"checkbox",checked:n.isCheckedLowerCha,onChange:r("isCheckedLowerCha")}),"Lowercase character (e.g. abcdefg)"]})}),c.jsx("div",{children:"Include Uppercase character:"}),c.jsx("div",{children:c.jsxs("label",{children:[c.jsx("input",{type:"checkbox",checked:n.isCheckedUpperCha,onChange:r("isCheckedUpperCha")}),"Uppercase character (e.g. ABCDEFG)"]})}),c.jsx("div",{children:"Include Number:"}),c.jsx("div",{children:c.jsxs("label",{children:[c.jsx("input",{type:"checkbox",checked:n.isCheckedNumber,onChange:r("isCheckedNumber")}),"Number (e.g. 12345)"]})}),c.jsx("div",{children:"Include Symbols:"}),c.jsx("div",{children:c.jsxs("label",{children:[c.jsx("input",{type:"checkbox",checked:n.isCheckedSymbols,onChange:r("isCheckedSymbols")}),"Symbols (e.g. !@#$%)"]})})]})}V1.propTypes;function G1({generatedPassword:e,handleCopyText:t,showTextNotification:n,notificationMessage:r}){return c.jsxs("div",{className:dt.second_section,children:[c.jsx("label",{children:"Your generated password: "}),c.jsxs("div",{children:[c.jsx("input",{className:dt.inputText,type:"text",placeholder:"Your generated password will appear here",value:e,readOnly:!0}),c.jsx("button",{className:dt.btn,title:"copy password",onClick:o=>{t(o),n("copied2")},children:"copy"}),r==="copied2"&&c.jsx("span",{children:r.slice(0,6)})]})]})}G1.propTypes;function K1({isChecked:e,passwordLength:t,randomPassword:n,PasswordToRemember:r,ALPHABET_WORDS:o,passwordGenerate:i,handleCopyText:s,showTextNotification:l,notificationMessage:a}){return c.jsxs("div",{className:dt.fourth_section,children:[c.jsx("button",{className:dt.btn,title:"generate password",onClick:i({...e},t,n,r,o),children:"generate password"}),c.jsx("button",{className:dt.btn,title:"copy password",onClick:u=>{s(u),l("copied1")},children:"copy"}),a==="copied1"&&c.jsx("span",{children:a.slice(0,6)})]})}K1.propTypes;function q1({saveNameAndPass:e}){return c.jsxs("table",{className:dt["password-table"],children:[c.jsx("thead",{children:c.jsxs("tr",{children:[c.jsx("th",{children:"Name of password"}),c.jsx("th",{children:"Password"})]})}),c.jsx("tbody",{children:e.map((t,n)=>c.jsxs("tr",{children:[c.jsx("td",{children:t.name}),c.jsx("td",{children:t.pass})]},n))})]})}q1.propTypes;function Y1({generatedPassword:e,handleSavePasswordAndName:t,saveNameAndPass:n,setLocalStorage:r,checkPasswordNameExit:o,showTextNotification:i,notificationMessage:s}){const[l,a]=h.useState(!1),[u,d]=h.useState("");return c.jsxs("div",{className:dt.fifth_section,children:[c.jsx("label",{title:"save your password",htmlFor:"checkToSave",children:"Save password:"}),c.jsx("input",{id:"checkToSave",type:"checkbox",checked:l,onChange:()=>a(!l),disabled:e==""}),l&&c.jsxs("div",{children:[c.jsx("input",{className:dt.inputText,type:"text",placeholder:"name your password",value:u,onChange:f=>d(f.target.value)}),c.jsx("button",{className:dt.btn,title:"save password",onClick:t(u,e,n,r,o,i),children:"save"}),s==="cannot save without name!"&&c.jsx("span",{children:s})||s==="name already taken!"&&c.jsx("span",{children:s})]})]})}Y1.propTypes;function _R(){const[e,t]=h.useState(""),[n,r]=h.useState("There is no password to remember! Please generate one"),[o,i]=h.useState({isCheckedLowerCha:!0,isCheckedUpperCha:!0,isCheckedNumber:!0,isCheckedSymbols:!1}),[s,l]=h.useState(6),[a,u]=h.useState([]),[d,f]=h.useState("");h.useEffect(()=>{const k=g("PASS");k&&u(k)},[]);const p=(k,j)=>{localStorage.setItem(k,JSON.stringify(j))},g=k=>{const j=localStorage.getItem(k);if(j!==null)return JSON.parse(j)},m=(k,j)=>k.filter(P=>P.name===j),x=(k,j,P,N,M,I)=>()=>{const U=M(P,k);if(k.length!==0){if(U.length>0){I("name already taken!");return}u(z=>{const q=[...z,{name:k,pass:j}];return console.log(q),N("PASS",q),q})}else{I("cannot save without name!");return}},w=k=>j=>{i(P=>({...P,[k]:j.target.checked}))},v={lower:()=>String.fromCharCode(Math.floor(Math.random()*26)+97),upper:()=>String.fromCharCode(Math.floor(Math.random()*26)+65),number:()=>Math.floor(Math.random()*10),symbolCha:()=>{const k=["!","@","#","$","%","^","&","*","(",")","_","+","-","=","/","|"],j=Math.floor(Math.random()*k.length);return k[j]}},y=k=>{const j=k.split("");for(let P=j.length-1;P>0;P--){const N=Math.floor(Math.random()*P+1);[j[P],j[N]]=[j[N],j[P]]}return j.join("")},_=(k,j)=>{const P=k.split("");let N="";P.map(M=>{j[M]?N+=` ${j[M]}`:N+=` ${M}`}),r(N.trim())},C=(k,j,P,N,M)=>()=>{let I="";const{isCheckedLowerCha:U,isCheckedUpperCha:z,isCheckedNumber:q,isCheckedSymbols:K}=k,Y=U+z+q+K,L=[{lower:U},{upper:z},{number:q},{symbolCha:K}].filter(W=>Object.values(W)[0]===!0);if(Y===0)return"";for(let W=0;W{const ne=Object.keys(X)[0];I+=P[ne]()});I=y(I).slice(0,j),t(I),N(I,M)},E=k=>{k.preventDefault(),e!==""&&navigator.clipboard.writeText(e)},b=k=>{f(k),setTimeout(()=>{f("")},1e3)};return c.jsxs("div",{className:dt.App,children:[c.jsxs("div",{className:dt.main_section,children:[c.jsx(V1,{handleChange:w,isChecked:o,passwordLength:s,setPasswordLength:l}),c.jsx(G1,{generatedPassword:e,handleCopyText:E,notificationMessage:d,showTextNotification:b}),c.jsxs("div",{className:dt.third_section,children:[c.jsx("label",{children:"Password remember shortcut: "}),c.jsx("p",{children:n})]}),c.jsx(K1,{ALPHABET_WORDS:lR,PasswordToRemember:_,handleCopyText:E,isChecked:o,notificationMessage:d,passwordGenerate:C,passwordLength:s,randomPassword:v,showTextNotification:b}),c.jsx(Y1,{checkPasswordNameExit:m,generatedPassword:e,handleSavePasswordAndName:x,notificationMessage:d,saveNameAndPass:a,setLocalStorage:p,showTextNotification:b})]}),c.jsxs("div",{className:dt.sixth_section,children:[c.jsx("h2",{className:dt.second_header,children:"All your saved password"}),c.jsx(q1,{saveNameAndPass:a})]})]})}const bR="_main_3eouk_1",SR="_indicators_3eouk_6",ER="_active_3eouk_14",CR="_progressContainer_3eouk_17",kR="_progressBar_3eouk_25",fr={main:bR,indicators:SR,active:ER,progressContainer:CR,progressBar:kR},jR=()=>{const[e,t]=h.useState(""),n=/\d/,r=/[A-Z]/,o=/[a-z]/,i=/[^A-Za-z0-9]/,s=p=>p>8?"Strong":p>5?"Medium":"Weak",l=p=>{let g=0;return p.length>3&&(g=Math.min(6,Math.floor(p.length/3)),g+=+n.test(p)+ +r.test(p)+ +o.test(p)+ +i.test(p)),g},a=p=>{const g=p.target.value;t(g)},u=l(e),d=s(u),f={lc:o.test(e),uc:r.test(e),num:n.test(e),sym:i.test(e)};return[e,d,u,f,a]},$R=()=>{const[e,t,n,r,o]=jR();return c.jsxs("div",{className:fr.main,children:[c.jsx("input",{type:"text",id:"password",min:"8",max:"32",autoFocus:!0,autoComplete:"off",placeholder:"Enter the password",value:e,onChange:o}),c.jsxs("div",{className:fr.indicators,children:[c.jsx("span",{className:r.lc?fr.active:"",children:"Lowercase"}),c.jsx("span",{className:r.uc?fr.active:"",children:"Uppercase"}),c.jsx("span",{className:r.num?fr.active:"",children:"Number"}),c.jsx("span",{className:r.sym?fr.active:"",children:"Symbols"})]}),c.jsx("div",{className:fr.progressContainer,children:c.jsx("div",{className:fr.progressBar,style:{width:`${n*10}%`,backgroundColor:n>5?n>8?"green":"orange":"red"}})}),c.jsxs("p",{children:["Password has ",c.jsx("strong",{children:e.length})," chars"]}),c.jsxs("p",{children:["Your password is ",c.jsx("strong",{children:t})]})]})},RR="_App_omdzp_1",TR="_controls_omdzp_26",NR="_slidecontainer_omdzp_56",ra={App:RR,"bg-progress":"_bg-progress_omdzp_9","fg-progress":"_fg-progress_omdzp_18",controls:TR,slidecontainer:NR},PR=({startProgress:e,pauseProgress:t,stopProgress:n,handleSliderChange:r,speed:o})=>c.jsxs(c.Fragment,{children:[c.jsxs("div",{className:ra.controls,children:[c.jsx("button",{onClick:e,children:"Start"}),c.jsx("button",{onClick:t,children:"Pause"}),c.jsx("button",{onClick:n,children:"Reset"})]}),c.jsxs("div",{className:ra.slidecontainer,children:[c.jsx("input",{type:"range",min:o.min,max:o.max,defaultValue:o.min,className:"slider",id:"myRange",onChange:r}),c.jsx("div",{children:c.jsx("label",{htmlFor:"myRange",children:c.jsxs("small",{children:["Speed: ",o.value," "]})})})]})]}),OR=10*1e3,Q1=1e3,Vu=OR/Q1,AR=()=>{const[e,t]=h.useState(0),[n,r]=h.useState({max:10,min:1,value:1,label:"speed"}),o=h.useRef(null),i=()=>{clearInterval(o.current),e>=Vu&&t(0),o.current=setInterval(()=>{t(d=>d>=Vu?(clearInterval(o),d):d+1)},Q1/n.value)};h.useEffect(()=>{i()},[n.value]);const s=()=>{clearInterval(o.current)},l=()=>{s(),t(0)},a=d=>{r(f=>({...f,value:d.target.value}))},u=()=>e/Vu*100;return c.jsxs(c.Fragment,{children:[c.jsx("div",{className:ra["bg-progress"],children:c.jsx("div",{className:ra["fg-progress"],style:{transform:`translateX(${-100+u()}%)`}})}),c.jsx(PR,{startProgress:i,stopProgress:l,pauseProgress:s,speed:n,handleSliderChange:a})]})},MR=()=>c.jsx("div",{className:ra.App,children:c.jsx(AR,{})});var DR=Object.defineProperty,uc=Object.getOwnPropertySymbols,X1=Object.prototype.hasOwnProperty,J1=Object.prototype.propertyIsEnumerable,lg=(e,t,n)=>t in e?DR(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,oa=(e,t)=>{for(var n in t||(t={}))X1.call(t,n)&&lg(e,n,t[n]);if(uc)for(var n of uc(t))J1.call(t,n)&&lg(e,n,t[n]);return e},Bp=(e,t)=>{var n={};for(var r in e)X1.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&uc)for(var r of uc(e))t.indexOf(r)<0&&J1.call(e,r)&&(n[r]=e[r]);return n};/** * @license QR Code generator library (TypeScript) * Copyright (c) Project Nayuki. * SPDX-License-Identifier: MIT @@ -77,12 +77,12 @@ Error generating stack: `+i.message+` * @license qrcode.react * Copyright (c) Paul O'Shannessy * SPDX-License-Identifier: ISC - */var Z1={L:si.QrCode.Ecc.LOW,M:si.QrCode.Ecc.MEDIUM,Q:si.QrCode.Ecc.QUARTILE,H:si.QrCode.Ecc.HIGH},ex=128,tx="L",nx="#FFFFFF",rx="#000000",ox=!1,Up=4,DR=.1;function ix(e,t=0){const n=[];return e.forEach(function(r,o){let i=null;r.forEach(function(s,l){if(!s&&i!==null){n.push(`M${i+t} ${o+t}h${l-i}v1H${i+t}z`),i=null;return}if(l===r.length-1){if(!s)return;i===null?n.push(`M${l+t},${o+t} h1v1H${l+t}z`):n.push(`M${i+t},${o+t} h${l+1-i}v1H${i+t}z`);return}s&&i===null&&(i=l)})}),n.join("")}function sx(e,t){return e.slice().map((n,r)=>r=t.y+t.h?n:n.map((o,i)=>i=t.x+t.w?o:!1))}function ax(e,t,n,r){if(r==null)return null;const o=n?Up:0,i=e.length+o*2,s=Math.floor(t*DR),l=i/t,a=(r.width||s)*l,u=(r.height||s)*l,d=r.x==null?e.length/2-a/2:r.x*l,f=r.y==null?e.length/2-u/2:r.y*l;let p=null;if(r.excavate){let g=Math.floor(d),m=Math.floor(f),x=Math.ceil(a+d-g),w=Math.ceil(u+f-m);p={x:g,y:m,w:x,h:w}}return{x:d,y:f,h:u,w:a,excavation:p}}var IR=function(){try{new Path2D().addPath(new Path2D)}catch{return!1}return!0}();function LR(e){const t=e,{value:n,size:r=ex,level:o=tx,bgColor:i=nx,fgColor:s=rx,includeMargin:l=ox,style:a,imageSettings:u}=t,d=Bp(t,["value","size","level","bgColor","fgColor","includeMargin","style","imageSettings"]),f=u==null?void 0:u.src,p=h.useRef(null),g=h.useRef(null),[m,x]=h.useState(!1);h.useEffect(()=>{if(p.current!=null){const y=p.current,_=y.getContext("2d");if(!_)return;let C=si.QrCode.encodeText(n,Z1[o]).getModules();const E=l?Up:0,b=C.length+E*2,k=ax(C,r,l,u),j=g.current,P=k!=null&&j!==null&&j.complete&&j.naturalHeight!==0&&j.naturalWidth!==0;P&&k.excavation!=null&&(C=sx(C,k.excavation));const N=window.devicePixelRatio||1;y.height=y.width=r*N;const M=r/b*N;_.scale(M,M),_.fillStyle=i,_.fillRect(0,0,b,b),_.fillStyle=s,IR?_.fill(new Path2D(ix(C,E))):C.forEach(function(I,U){I.forEach(function(z,q){z&&_.fillRect(q+E,U+E,1,1)})}),P&&_.drawImage(j,k.x+E,k.y+E,k.w,k.h)}}),h.useEffect(()=>{x(!1)},[f]);const w=oa({height:r,width:r},a);let v=null;return f!=null&&(v=S.createElement("img",{src:f,key:f,style:{display:"none"},onLoad:()=>{x(!0)},ref:g})),S.createElement(S.Fragment,null,S.createElement("canvas",oa({style:w,height:r,width:r,ref:p},d)),v)}function FR(e){const t=e,{value:n,size:r=ex,level:o=tx,bgColor:i=nx,fgColor:s=rx,includeMargin:l=ox,imageSettings:a}=t,u=Bp(t,["value","size","level","bgColor","fgColor","includeMargin","imageSettings"]);let d=si.QrCode.encodeText(n,Z1[o]).getModules();const f=l?Up:0,p=d.length+f*2,g=ax(d,r,l,a);let m=null;a!=null&&g!=null&&(g.excavation!=null&&(d=sx(d,g.excavation)),m=S.createElement("image",{xlinkHref:a.src,height:g.h,width:g.w,x:g.x+f,y:g.y+f,preserveAspectRatio:"none"}));const x=ix(d,f);return S.createElement("svg",oa({height:r,width:r,viewBox:`0 0 ${p} ${p}`},u),S.createElement("path",{fill:i,d:`M0,0 h${p}v${p}H0z`,shapeRendering:"crispEdges"}),S.createElement("path",{fill:s,d:x,shapeRendering:"crispEdges"}),m)}var zR=e=>{const t=e,{renderAs:n}=t,r=Bp(t,["renderAs"]);return n==="svg"?S.createElement(FR,oa({},r)):S.createElement(LR,oa({},r))};const BR="_QRCodeGenerator_a1hdg_2",UR="_qrcode_a1hdg_32",Za={QRCodeGenerator:BR,"input-field":"_input-field_a1hdg_9","generate-button":"_generate-button_a1hdg_18",qrcode:UR};function HR(){const[e,t]=h.useState(""),[n,r]=h.useState(""),o=s=>{t(s.target.value)},i=()=>{r(e)};return c.jsxs("div",{className:Za.QRCodeGenerator,children:[c.jsx("input",{type:"text",placeholder:"Enter text",onChange:o,className:Za["input-field"]}),c.jsx("button",{onClick:i,className:Za["generate-button"],children:"Generate QR Code"}),n&&c.jsx(zR,{value:n,className:Za.qrcode,size:256})]})}function WR(){return c.jsx("div",{className:"App",children:c.jsx(HR,{})})}const VR="_container_1ovjg_1",GR="_quote_1ovjg_14",KR="_author_1ovjg_20",qR="_loader_1ovjg_43",YR="_rotation_1ovjg_1",Lo={container:VR,"input-field":"_input-field_1ovjg_10",quote:GR,author:KR,"generate-button":"_generate-button_1ovjg_26",loader:qR,rotation:YR},QR=()=>{const[e,t]=h.useState(""),[n,r]=h.useState(null),[o,i]=h.useState(null);h.useEffect(()=>{s()},[]);const s=async l=>{l&&l.preventDefault();try{const a=await be.get("https://api.quotable.io/quotes/random?tags="+e);if(a.data&&a.data.length>0){const u=a.data[0].content,d=a.data[0].author;r(u),i(`- ${d}`)}else r("Sorry No Quotes Found Related to the given tags"),i(null)}catch(a){console.log(a)}};return n?c.jsx(c.Fragment,{children:c.jsxs("div",{className:Lo.container,children:[c.jsx("div",{className:Lo.quote,children:n}),c.jsx("div",{className:Lo.author,children:o}),c.jsxs("form",{onSubmit:s,children:[c.jsx("div",{children:c.jsxs("p",{children:[c.jsx("label",{children:"Tags: "}),c.jsx("input",{className:Lo["input-field"],onChange:l=>t(l.target.value),placeholder:"eg. inspiratoinal, history, technology"})]})}),c.jsx("p",{children:c.jsx("button",{className:Lo["generate-button"],type:"submit",children:"Generate"})})]})]})}):c.jsx("div",{className:Lo.loader})},XR="_stack_u1sn7_1",JR="_btn_root_u1sn7_25",ZR="_stackElement_u1sn7_62",el={stack:XR,"slide-in":"_slide-in_u1sn7_1",btn_root:JR,stackElement:ZR},eT=()=>{const[e,t]=h.useState([]),[n,r]=h.useState(""),[o,i]=h.useState(""),s=p=>{r(p.target.value)},l=()=>{if(n==""){i("Enter a value");return}if(e.length===10){i("Stack is Full");return}t([...e,n]),i(`${n} is pushed into the Stack`),r("")},a=()=>{if(!e.length){i("Stack is empty");return}t(e.slice(0,-1)),i(`${e[e.length-1]} is popped from the Stack `)},u=()=>{if(!e.length)i("Stack is empty");else{const p=e[e.length-1];i(`Last element is ${p}`)}},d=()=>{e.length===0?i("Stack is empty"):i("Stack is not empty")},f=()=>{e.length===10?i("Stack is Full"):i("Stack is not full")};return c.jsx("div",{className:el.container,children:c.jsxs("div",{className:el.stack,children:[c.jsx("input",{type:"text",placeholder:"Enter a value",value:n,onChange:s,required:!0}),c.jsxs("div",{className:el.btn_root,children:[c.jsx("button",{onClick:l,children:"Push"}),c.jsx("button",{onClick:a,children:"Pop"}),c.jsx("button",{onClick:u,children:"Peek"}),c.jsx("button",{onClick:d,children:"IsEmpty"}),c.jsx("button",{onClick:f,children:"IsFull"})]}),c.jsx("hr",{}),c.jsx("h3",{children:o}),e.slice().reverse().map((p,g)=>c.jsx("div",{className:el.stackElement,children:c.jsx("p",{children:p})},g))]})})},tT="_App_33mq4_1",nT="_star_33mq4_6",lx={App:tT,star:nT},rT=({marked:e,starId:t})=>c.jsx("span",{"data-star-id":t,className:lx.star,role:"button",children:e?"★":"☆"}),oT=({value:e,total:t})=>{const[n,r]=h.useState(e||0),[o,i]=h.useState(0),s=h.useMemo(()=>Array.from({length:t}),[t]),l=d=>{var f;i(((f=d.target.dataset)==null?void 0:f.starId)??0)},a=()=>{i(0)},u=d=>{var f;r(((f=d.target.dataset)==null?void 0:f.starId)??n)};return c.jsx("div",{onMouseLeave:a,onMouseOver:l,onClick:u,children:s.map((d,f)=>c.jsx(rT,{marked:(o||n)>f,starId:f+1},`star_${f+1}`))})};function iT(){return c.jsx("div",{className:lx.App,children:c.jsx(oT,{value:2,total:5})})}const sT="_watch_g783o_1",Dn={"watch-container":"_watch-container_g783o_1",watch:sT,"watch-heading":"_watch-heading_g783o_24","watch-timer":"_watch-timer_g783o_30","watch-btn":"_watch-btn_g783o_36"},aT=()=>{let e=h.useRef(0);const t=h.useRef(Date.now()),[n,r]=h.useState(["00","00","00"]),[o,i]=h.useState(!1),s=()=>{i(!0),e.current=requestAnimationFrame(u)},l=()=>{i(!1),cancelAnimationFrame(e.current)},a=()=>{i(!1),r(["00","00","00"]),cancelAnimationFrame(e.current),t.current=Date.now()},u=()=>{const d=Date.now()-t.current,f=Math.floor(d/1e3),p=Math.floor(f/60),g=(d%1e3).toString().padStart(3,"0"),m=(f%60).toString().padStart(2,"0"),x=p.toString().padStart(2,"0");r([x,m,g]),e.current=requestAnimationFrame(u)};return h.useEffect(()=>cancelAnimationFrame(e.current),[]),c.jsx("div",{className:Dn.test,children:c.jsx("div",{className:Dn["watch-container"],children:c.jsxs("div",{className:Dn.watch,children:[c.jsx("div",{className:Dn["watch-heading"],children:"Stopwatch"}),c.jsx("div",{className:Dn["watch-timer"],children:`${n[0]}:${n[1]}:${n[2]}`}),c.jsxs("div",{className:Dn["watch-btn__container"],children:[c.jsx("button",{disabled:o,onClick:s,className:Dn["watch-btn"],children:"Start"}),c.jsx("button",{onClick:l,disabled:!o,className:Dn["watch-btn"],children:"Stop"}),c.jsx("button",{onClick:a,disabled:!o,className:Dn["watch-btn"],children:"Reset"})]})]})})})},lT="_App_1hyma_1",cT="_textarea_1hyma_6",uT="_buttonBox_1hyma_12",dT="_output_1hyma_22",tl={App:lT,textarea:cT,buttonBox:uT,output:dT};function fT(){const[e,t]=h.useState("hello world"),[n,r]=h.useState(e),o=p=>{t(p.target.value)},i=()=>{r(e.toLowerCase())},s=()=>{r(e.toUpperCase())},l=()=>{const g=e.split(" ").map((m,x)=>x===0?m.toLowerCase():m.charAt(0).toUpperCase()+m.slice(1).toLowerCase()).join("");r(g)},a=()=>{const g=e.split(" ").map(m=>m.charAt(0).toUpperCase()+m.slice(1).toLowerCase()).join("");r(g)},u=()=>{const p=e.replace(/\s+/g,"_").toLowerCase();r(p)},d=()=>{const p=e.replace(/\s+/g,"-").toLowerCase();r(p)},f=()=>{r(e.trim())};return c.jsx("main",{children:c.jsxs("div",{className:tl.App,children:[c.jsx("textarea",{rows:4,className:tl.textarea,placeholder:"Enter a sentence...",value:e,onChange:o}),c.jsxs("div",{className:tl.buttonBox,children:[c.jsx("button",{onClick:i,children:"Lower Case"}),c.jsx("button",{onClick:s,children:"Upper Case"}),c.jsx("button",{onClick:l,children:"Camel Case"}),c.jsx("button",{onClick:a,children:"Pascal Case"}),c.jsx("button",{onClick:u,children:"Snake Case"}),c.jsx("button",{onClick:d,children:"Kebab Case"}),c.jsx("button",{onClick:f,children:"Trim"})]}),c.jsxs("div",{className:tl.output,children:[c.jsx("strong",{children:"Transformed String:"}),c.jsx("p",{children:n})]})]})})}const pT="_color_1kotf_1",hT="_form_1kotf_9",mT="_containers_1kotf_17",gT="_container_1kotf_17",vT="_containerColor_1kotf_33",yT="_numberInput_1kotf_42",xT="_error_1kotf_53",pr={color:pT,form:hT,containers:mT,container:gT,containerColor:vT,numberInput:yT,error:xT},wT=9,_T=Array.from(new Array(wT),(e,t)=>t),bT=()=>{const[e,t]=h.useState([]),n=h.useRef(),[r,o]=h.useState(null),i=l=>{l.preventDefault();const a=parseInt(n.current.value);if(isNaN(a)||a>9||a<1){o("Please enter a valid number between 1 to 9");return}o(null),e.indexOf(a)===-1&&t(u=>[...u,a])},s=l=>{l.preventDefault(),t([]),o(null),n.current.value=""};return c.jsxs("div",{className:pr.color,children:[c.jsxs("form",{className:pr.form,children:[c.jsx("input",{type:"number",className:pr.numberInput,ref:n}),r&&c.jsx("p",{className:pr.error,children:r}),c.jsxs("div",{className:"buttons",children:[c.jsx("input",{type:"submit",value:"Color Me",onClick:i}),c.jsx("button",{className:pr.clearBtn,onClick:s,children:"Clear Me"})]})]}),c.jsx("div",{className:pr.containers,children:_T.map((l,a)=>c.jsx("div",{className:e.indexOf(l+1)!==-1?pr.containerColor:pr.container,children:l+1},a))})]})};function ST(){const[e,t]=h.useState(""),n=o=>[...o].filter(i=>Number.isInteger(+i)&&i!==" ").join(""),r=o=>{const i=n(o.target.value);t(i.length>3?"+("+i.substring(0,3)+") - "+i.substring(3):i)};return c.jsxs("div",{className:"container text-center",children:[c.jsx("input",{type:"tel",id:"phone",maxLength:16,placeholder:"Mobile number",autoComplete:"off",style:{fontSize:"1.5rem",marginBottom:"1rem"},value:e,onChange:r}),c.jsx("div",{children:c.jsx("label",{htmlFor:"phone",children:"+(123) - 4567890"})})]})}const ET="_container_12wso_1",CT="_card_12wso_7",kT="_cardTitle_12wso_15",jT="_formGroup_12wso_19",$T="_inputGroup_12wso_23",RT="_input_12wso_23",TT="_select_12wso_33",NT="_convertButton_12wso_38",PT="_outputGroup_12wso_42",In={container:ET,card:CT,cardTitle:kT,formGroup:jT,inputGroup:$T,input:RT,select:TT,convertButton:NT,outputGroup:PT};function OT(){const[e,t]=h.useState(""),[n,r]=h.useState(""),[o,i]=h.useState("celsius"),[s,l]=h.useState("fahrenheit"),a=()=>{const u=parseFloat(e);if(isNaN(u)){r("Invalid input");return}if(o===s){r(u);return}if(o==="celsius"&&s==="fahrenheit"){let d=u*9/5+32;d%1!==0&&(d=d.toFixed(2)),r(d)}else if(o==="fahrenheit"&&s==="celsius"){let d=(u-32)*5/9;d%1!==0&&(d=d.toFixed(2)),r(d)}};return c.jsx("div",{className:In.container,children:c.jsxs("div",{className:In.card,children:[c.jsxs("div",{className:In.formGroup,children:[c.jsx("label",{children:"Enter Temperature"}),c.jsxs("div",{className:In.inputGroup,children:[c.jsx("input",{type:"number",className:`form-control ${In.input}`,placeholder:"Enter temperature",value:e,onChange:u=>t(u.target.value)}),c.jsxs("select",{className:`form-control ${In.select}`,value:o,onChange:u=>i(u.target.value),children:[c.jsx("option",{value:"celsius",children:"Celsius"}),c.jsx("option",{value:"fahrenheit",children:"Fahrenheit"})]})]})]}),c.jsx("button",{className:`btn btn-primary btn-block ${In.convertButton}`,onClick:a,children:"Convert"}),c.jsxs("div",{className:In.outputGroup,children:[c.jsxs("p",{children:["Converted Temperature: ",c.jsx("strong",{children:n})]}),c.jsxs("select",{className:`form-control ${In.select}`,value:s,onChange:u=>l(u.target.value),children:[c.jsx("option",{value:"celsius",children:"Celsius"}),c.jsx("option",{value:"fahrenheit",children:"Fahrenheit"})]})]})]})})}const Pt=3,AT=[...Array.from(new Array(Pt),(e,t)=>Array.from(new Array(Pt),(n,r)=>t*Pt+r)),...Array.from(new Array(Pt),(e,t)=>Array.from(new Array(Pt),(n,r)=>r*Pt+t)),Array.from(new Array(Pt),(e,t)=>t*Pt+t),Array.from(new Array(Pt),(e,t)=>t*Pt+Pt-t-1)],cg=Array(Pt*Pt).fill(null),MT="_container_1rajw_1",Go={container:MT,"mx-5":"_mx-5_1rajw_10","grid-container":"_grid-container_1rajw_14","grid-item":"_grid-item_1rajw_23"},DT=()=>{const[e,t]=h.useState(cg),[n,r]=h.useState(!1),[o,i]=h.useState(null),[[s,l,a],u]=h.useState([0,0,0]);h.useEffect(()=>{d()},[e]),h.useEffect(()=>{o==="X"?u([s+1,l,a]):o==="O"?u([s,l+1,a]):o===null&&e.filter(g=>g===null).length===0&&u([s,l,a+1])},[o,e]);const d=()=>{r(!n);for(const g of AT){const[m,x,w]=g;if(e[m]!==null&&e[m]===e[x]&&e[m]===e[w]){i(e[m]===1?"X":"O");return}}},f=g=>{e[g]===null&&o===null&&t(m=>{const x=[...m];return x[g]=n?1:0,x})},p=()=>{t(cg),i(null)};return c.jsx("div",{className:Go.container,children:c.jsxs("div",{children:["Status: ",o?`Winner ${o}`:"Playing",c.jsxs("div",{className:Go.container,children:[c.jsxs("div",{className:Go["mx-5"],children:[c.jsx("div",{children:"X"}),c.jsxs("div",{children:[s," Wins"]})]}),c.jsxs("div",{className:Go["mx-5"],children:[c.jsx("div",{children:"O"}),c.jsxs("div",{children:[l," Wins"]})]}),c.jsxs("div",{children:[c.jsx("div",{children:"="}),c.jsxs("div",{children:[a," Draws"]})]})]}),c.jsx("div",{className:Go["grid-container"],children:e.map((g,m)=>c.jsx(IT,{iTh:m,value:g,onEntry:f},m))}),c.jsx("button",{onClick:p,children:"Rematch"})]})})},IT=({value:e,iTh:t,onEntry:n})=>{h.useEffect(()=>{console.log({value:e})},[]);const r=()=>{n(t)};return c.jsx("div",{className:Go["grid-item"],onClick:r,children:c.jsx("div",{style:{opacity:e!==null?1:0,transition:"all .1s ease-in-out"},children:e!==null?e===1?"X":"O":"X"})})};var ai=(e=>(e.SUCCESS="success",e.ERROR="error",e.WARNING="warning",e.INFO="info",e))(ai||{}),uc=(e=>(e.TOP="Top",e.BOTTOM="Bottom",e))(uc||{}),dc=(e=>(e.LEFT="Left",e.RIGHT="Right",e))(dc||{});const LT=()=>{const[e,t]=h.useState(dc.LEFT),[n,r]=h.useState(uc.TOP),[o,i]=h.useState(ai.SUCCESS),[s,l]=h.useState("This is a toast message!"),[a,u]=h.useState(5),[d,f]=h.useState([]),p=[];return h.useEffect(()=>()=>{p.forEach(x=>clearTimeout(x))},[]),{horizontalPosition:e,verticalPosition:n,type:o,message:s,duration:a,toastMessages:d,setHorizontalPosition:t,setVerticalPosition:r,setType:i,setMessage:l,setDuration:u,showToast:()=>{const x={id:Date.now(),message:s,type:o};f(v=>[...v,x]);const w=setTimeout(()=>{f(v=>v.filter(y=>y.id!==x.id))},a*1e3);p.push(w)},removeToast:x=>{f(w=>w.filter(v=>v.id!==x))}}},FT="_main_21evc_2",zT="_message_21evc_1",BT="_toastContainer_21evc_28",UT="_toast_21evc_28",HT="_success_21evc_40",WT="_error_21evc_43",VT="_warning_21evc_46",GT="_info_21evc_49",KT="_remove_21evc_70",qT="_tcLeftTop_21evc_75",YT="_tcLeftBottom_21evc_79",QT="_tcRightTop_21evc_83",XT="_tcRightBottom_21evc_87",yi={main:FT,message:zT,toastContainer:BT,toast:UT,success:HT,error:WT,warning:VT,info:GT,remove:KT,tcLeftTop:qT,tcLeftBottom:YT,tcRightTop:QT,tcRightBottom:XT,"appear-from-left":"_appear-from-left_21evc_1","fade-out-left":"_fade-out-left_21evc_95","fade-out-to-left":"_fade-out-to-left_21evc_1","appear-from-right":"_appear-from-right_21evc_1","fade-out-right":"_fade-out-right_21evc_119"},JT=({id:e,message:t,type:n,removeToast:r})=>c.jsxs("div",{className:`${yi.toast} ${yi[n]}`,children:[c.jsx("span",{className:"toast-message",children:t}),c.jsx("button",{className:yi.remove,onClick:()=>r(e),children:"✕"})]}),ZT=()=>{const{horizontalPosition:e,verticalPosition:t,type:n,message:r,duration:o,toastMessages:i,setHorizontalPosition:s,setVerticalPosition:l,setType:a,setMessage:u,setDuration:d,showToast:f,removeToast:p}=LT(),g=`tc${e}${t}`;return c.jsxs("div",{className:yi.main,children:[c.jsxs("form",{children:[c.jsxs("select",{name:"position",id:"horizontal-position",value:e,onChange:m=>s(m.target.value),children:[c.jsx("option",{value:dc.LEFT,children:"Left"}),c.jsx("option",{value:dc.RIGHT,children:"Right"})]}),c.jsxs("select",{name:"position",id:"vertical-position",value:t,onChange:m=>l(m.target.value),children:[c.jsx("option",{value:uc.TOP,children:"Top"}),c.jsx("option",{value:uc.BOTTOM,children:"Bottom"})]}),c.jsxs("select",{name:"type",id:"type",value:n,onChange:m=>a(m.target.value),children:[c.jsx("option",{value:ai.SUCCESS,children:"Success"}),c.jsx("option",{value:ai.ERROR,children:"Error"}),c.jsx("option",{value:ai.WARNING,children:"Warning"}),c.jsx("option",{value:ai.INFO,children:"Info"})]}),c.jsx("input",{type:"text",name:"message",id:"message",placeholder:"Message",value:r,onChange:m=>u(m.target.value)}),c.jsxs("label",{htmlFor:"duration",className:"flex",children:["Duration"," ",c.jsx("input",{type:"range",name:"duration",id:"duration",min:"3",max:"10",value:o,onChange:m=>d(Number(m.target.value))})]}),c.jsx("button",{type:"button",className:"btn btn-primary",onClick:f,children:"Show Toast"})]}),i.length>0&&c.jsx("div",{className:`${yi.toastContainer} ${yi[g]}`,children:i.map(m=>c.jsx(JT,{...m,removeToast:p},m.id))})]})},eN="_App_1k5ja_1",tN="_item_1k5ja_27",nN="_editBtn_1k5ja_33",rN="_deleteBtn_1k5ja_36",oN="_completed_1k5ja_40",iN="_hint_1k5ja_55",li={App:eN,item:tN,editBtn:nN,deleteBtn:rN,completed:oN,hint:iN};function sN({items:e,handleEditClick:t,handleDeleteClick:n,handleCompleteClick:r}){return e.map(o=>c.jsxs("li",{className:li.item,title:"Double click to mark completed",onDoubleClick:()=>r(o.id),children:[c.jsx("span",{className:o.isDone?li.completed:"",children:o.value}),c.jsxs("div",{children:[c.jsx("button",{className:li.editBtn,onClick:()=>t(o),children:"Edit"}),c.jsx("button",{className:li.deleteBtn,onClick:()=>n(o.id),children:"Delete"})]})]},o.id))}const aN=()=>{const[e,t]=h.useState(""),[n,r]=h.useState([]),[o,i]=h.useState(null),s=S.useRef(!0);h.useEffect(()=>{const m=localStorage.getItem("items");m&&r(JSON.parse(m))},[]),h.useEffect(()=>{s.current?s.current=!1:localStorage.setItem("items",JSON.stringify(n))},[n]);const l=m=>{r(x=>[...x,{value:m,id:new Date().getTime(),isDone:!1}])},a=m=>{r(x=>x.map(w=>w.id===o.id?{...w,value:m}:w)),i(null)},u=m=>{r(x=>x.map(w=>w.id===m?{...w,isDone:!w.isDone}:w))},d=({id:m,value:x})=>{t(x),i({id:m,value:x})},f=m=>{(o==null?void 0:o.id)===m&&(t(""),i(null)),r(x=>x.filter(w=>w.id!==m))},p=m=>{m.preventDefault(),o?a(e):l(e),t("")},g=()=>{t(""),i(null)};return c.jsxs("div",{className:li.App,children:[c.jsxs("form",{onSubmit:p,children:[c.jsx("input",{type:"text",value:e,placeholder:"Enter your todo",onChange:m=>t(m.target.value)}),c.jsx("button",{type:"submit",disabled:!e,children:o?"Update":"Submit"}),c.jsx("button",{type:"reset",onClick:g,disabled:!(e||o),children:"Cancel"})]}),c.jsx("div",{className:li.hint,children:c.jsx("i",{children:"Double click on todo to toggle completion status"})}),c.jsx(sN,{items:n,handleEditClick:d,handleDeleteClick:f,handleCompleteClick:u})]})},lN="_container_10vfd_1",cN="_clockWrapper_10vfd_14",uN="_timeSection_10vfd_22",dN="_timeAdjustment_10vfd_39",fN="_timeAdjustmentButton_10vfd_45",pN="_timerDisplay_10vfd_51",hN="_buttonGroup_10vfd_69",mN="_lastMinute_10vfd_87",_n={container:lN,clockWrapper:cN,timeSection:uN,timeAdjustment:dN,timeAdjustmentButton:fN,timerDisplay:pN,buttonGroup:hN,lastMinute:mN};var cx={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},ug=S.createContext&&S.createContext(cx),Ar=function(){return Ar=Object.assign||function(e){for(var t,n=1,r=arguments.length;nw(),1e3))}function x(){clearInterval(d),r(!1)}function w(){u(C=>{const[E,b]=C;return b===0?E===0?e==="session"?(t("break"),[o.time-1,59]):(t("session"),[s.time-1,59]):[E-1,59]:[E,b-1]})}function v(){n||(t("session"),i({time:5,range:[2,25]}),l({time:25,range:[5,60]}),u([25,0]))}function y(C){return C>9?C:`0${C}`}function _(C){const{target:E,direction:b}=C.currentTarget.dataset,k=b==="up"?1:-1;function j(P,N){const{time:M,range:I}=N,U=M+k;if(U>=I[0]&&U<=I[1]){const z=E===P?U:M;return u([z,0]),{time:z,range:I}}return N}E==="break"?i(P=>j("break",P)):l(P=>j("session",P))}return c.jsx("div",{className:_n.container,children:c.jsxs("div",{className:_n.clockWrapper,children:[c.jsxs("div",{className:_n.timeSection,children:[c.jsxs("div",{className:_n.timeAdjustment,children:[c.jsx("p",{children:o.time}),c.jsxs("div",{className:_n.timeAdjustmentButton,children:[c.jsx("button",{onClick:_,"data-target":"break","data-direction":"up",children:c.jsx(fg,{})}),c.jsx("button",{onClick:_,"data-target":"break","data-direction":"down",children:c.jsx(dg,{})})]})]}),c.jsxs("div",{className:_n.timeAdjustment,children:[c.jsx("p",{children:s.time}),c.jsxs("div",{className:_n.timeAdjustmentButton,children:[c.jsx("button",{onClick:_,"data-target":"session","data-direction":"up",children:c.jsx(fg,{})}),c.jsx("button",{onClick:_,"data-target":"session","data-direction":"down",children:c.jsx(dg,{})})]})]})]}),c.jsxs("div",{className:_n.timerDisplay,children:[c.jsx("p",{children:e}),c.jsxs("p",{className:p?_n.lastMinute:"",children:[c.jsx("span",{children:y(a[0])}),":",c.jsx("span",{children:y(a[1])})]}),c.jsxs("div",{className:_n.buttonGroup,children:[n?c.jsx("button",{onClick:x,children:c.jsx(yN,{size:32})}):c.jsx("button",{onClick:m,children:c.jsx(xN,{size:32})}),c.jsx("button",{onClick:v,children:c.jsx(wN,{size:32})})]})]})]})})}const bN="_container_1twmk_2",SN="_controls_1twmk_23",EN="_highlight_1twmk_44",CN="_highlighted_1twmk_61",pg={container:bN,controls:SN,"char-limit":"_char-limit_1twmk_1",highlight:EN,"highlight-button":"_highlight-button_1twmk_54",highlighted:CN},kN=({text:e,wordCount:t,charCount:n,paraCount:r})=>{localStorage.setItem("text",e),localStorage.setItem("words",t),localStorage.setItem("chars",n),localStorage.setItem("paras",r)};function jN(){const[e,t]=h.useState(""),[n,r]=h.useState(0),[o,i]=h.useState(0),[s,l]=h.useState(0),a=h.useRef(!0);h.useEffect(()=>{f()},[]),h.useEffect(()=>{if(a.current){a.current=!1;return}kN({text:e,wordCount:n,charCount:o,paraCount:s})},[e,n,o,s]);const u=()=>{const p=e.split(/\s+/).filter(x=>x!==""),g=e.length,m=e.split(` -`).filter(x=>x.trim()!=="").length;r(p.length),i(g),l(m)},d=()=>{t(""),r(0),i(0),l(0)},f=()=>{t(localStorage.getItem("text")||""),r(localStorage.getItem("words")||0),i(localStorage.getItem("chars")||0),l(localStorage.getItem("paras")||0)};return c.jsxs("div",{className:pg.container,children:[c.jsx("textarea",{id:"text-input",placeholder:"Enter your text here...",value:e,onChange:p=>t(p.target.value)}),c.jsxs("div",{className:pg.controls,children:[c.jsxs("div",{id:"word-count",children:["Words: ",n]}),c.jsxs("div",{id:"char-count",children:["Chars: ",o]}),c.jsxs("div",{id:"para-count",children:["Paras: ",s]}),c.jsx("button",{id:"count-button",onClick:u,children:"Count"}),c.jsx("button",{id:"clear-button",onClick:d,children:"Clear"})]})]})}const $N="_sport_1g70d_1",RN="_container_1g70d_7",TN="_header_1g70d_15",NN="_question_1g70d_20",PN="_answers_1g70d_26",ON="_button_1g70d_33",AN="_buttonStartOver_1g70d_48",hr={sport:$N,container:RN,header:TN,question:NN,answers:PN,button:ON,buttonStartOver:AN},us=["Do you enjoy team sports?","Do you like running or endurance activities?","Are you interested in individual sports?","Do you prefer indoor or outdoor sports?","Are you a fan of water sports?","Do you like racket sports?"],MN=()=>{const[e,t]=h.useState(0),[n,r]=h.useState(Array(us.length).fill(null)),o=s=>{const l=[...n];if(l[e]=s,es[0]==="Yes"&&s[1]==="Yes"?"Soccer":s[2]==="Yes"&&s[3]==="Indoor"?"Table Tennis":s[4]==="Yes"?"Swimming":s[5]==="Yes"?"Tennis":"Running";return c.jsx("div",{className:hr.sport,children:c.jsxs("div",{className:hr.container,children:[c.jsx("h1",{className:hr.header,children:"Discover Your Natural Sport"}),c.jsx("div",{className:hr.question,children:eo("Yes"),children:"Yes"}),c.jsx("button",{className:hr.button,onClick:()=>o("No"),children:"No"})]}):c.jsx("button",{onClick:()=>t(0),className:hr.buttonStartOver,children:"Start Over"})})]})})},DN="_openbtn_1gnwd_1",IN="_overlay_1gnwd_8",LN="_modalWrapper_1gnwd_18",FN="_closebtn_1gnwd_34",$l={openbtn:DN,overlay:IN,modalWrapper:LN,closebtn:FN},zN=({showModal:e,setShowModal:t,title:n,content:r})=>c.jsx(c.Fragment,{children:e&&c.jsx("div",{className:$l.overlay,onClick:()=>t(!1),children:c.jsx("div",{className:$l.modalWrapper,onClick:o=>o.stopPropagation(),children:c.jsxs("div",{children:[c.jsx("h3",{children:n}),c.jsx("p",{children:r}),c.jsx("button",{onClick:()=>t(!1),className:$l.closebtn,children:"Close"})]})})})}),BN=()=>{const[e,t]=h.useState(!1),n={title:"Modal Heading",content:"Lorem ipsum, dolor sit amet consectetur adipisicing elit. Error, voluptates. Nobis delectus magni quaerat et deserunt fuga temporibus doloribus vero quidem repellat suscipit nulla tempora eveniet, repellendus deleniti placeat quibusdam."};return c.jsxs(c.Fragment,{children:[c.jsx("button",{className:$l.openbtn,onClick:()=>t(!0),children:"Open Modal"}),wo.createPortal(c.jsx(zN,{showModal:e,setShowModal:t,title:n.title,content:n.content}),document.body)]})},UN="_main_5yt35_2",HN="_container_5yt35_10",WN="_iconContainer_5yt35_33",VN="_icon_5yt35_33",GN="_inputField_5yt35_54",KN="_toast_5yt35_68",qN="_loader_5yt35_83",YN="_spin_5yt35_1",QN="_loaderContainer_5yt35_92",XN="_topSection_5yt35_97",JN="_select_5yt35_103",ZN="_copyText_5yt35_112",eP="_hidden_5yt35_119",Ut={main:UN,container:HN,iconContainer:WN,icon:VN,inputField:GN,toast:KN,loader:qN,spin:YN,loaderContainer:QN,topSection:XN,select:JN,copyText:ZN,hidden:eP},Gu="eb3aa13df1b14cc7bc614fc2d7f894f41b09d68a",tP=()=>{const[e,t]=h.useState([]),[n,r]=h.useState([]),[o,i]=h.useState(""),[s,l]=h.useState(""),[a,u]=h.useState([]);h.useEffect(()=>{d(),f(),window.scrollTo(0,0)},[]);const d=()=>{be.get(`https://emoji-api.com/emojis?access_key=${Gu}`).then(w=>{t(w.data),r(w.data)})},f=()=>{be.get(`https://emoji-api.com/categories?access_key=${Gu}`).then(w=>{u(w.data)})},p=w=>{const[v,...y]=w.split(" ");return y.join(" ")},g=w=>{let v=w.target.value;i(v);let y=e.filter(_=>_.unicodeName.toLowerCase().includes(v.trim().toLowerCase()));r(y)},m=w=>{i(""),r([]),t([]),w.target.value=="all"?d():be.get(`https://emoji-api.com/categories/${w.target.value}?access_key=${Gu}`).then(v=>{t(v.data),r(v.data)})},x=w=>{let v=document.createRange();v.selectNode(document.getElementById(w)),window.getSelection().removeAllRanges(),window.getSelection().addRange(v),document.execCommand("copy"),window.getSelection().removeAllRanges(),l("Copied Successfully!"),setTimeout(()=>{l("")},1500)};return c.jsxs(c.Fragment,{children:[c.jsxs("div",{className:Ut.topSection,children:[c.jsx("div",{children:c.jsxs("select",{className:Ut.select,onChange:m,children:[c.jsx("option",{children:"all"}),a.map(w=>c.jsx("option",{value:w.slug,children:w.slug.replace("-"," ")},w.slug))]})}),c.jsx("div",{children:c.jsx("input",{type:"text",placeholder:"Search",onChange:g,value:o,className:Ut.inputField})}),c.jsx("div",{className:`${Ut.copyText} ${n==null||(n==null?void 0:n.length)===0?Ut.hidden:""}`,children:"Click on an Emoji to Copy"})]}),c.jsxs("div",{className:Ut.container,children:[(n==null?void 0:n.length)==0&&o.trim()==""&&c.jsx("div",{className:Ut.loaderContainer,children:c.jsx("div",{className:Ut.loader})}),n==null?void 0:n.map((w,v)=>c.jsx("span",{className:Ut.iconContainer,onClick:()=>x(w.unicodeName+"_"+v),children:c.jsx("span",{className:Ut.icon,title:p(w.unicodeName),id:w.unicodeName+"_"+v,children:w.character})},v))]}),s&&c.jsx("div",{className:Ut.toast,children:s})]})};function nP(){return c.jsx("div",{className:Ut.main,children:c.jsx(tP,{})})}const rP=[{name:"SQL",year:1970,creator:"Donald D. Chamberlin, Raymond F. Boyce",usecase:"Database management"},{name:"C",year:1972,creator:"Dennis Ritchie",usecase:"System programming, embedded systems"},{name:"C++",year:1983,creator:"Bjarne Stroustrup",usecase:"Game development, system software"},{name:"Perl",year:1987,creator:"Larry Wall",usecase:"Scripting, web development, automation"},{name:"HTML",year:1991,creator:"Tim Berners-Lee",usecase:"Web content structure"},{name:"Python",year:1991,creator:"Guido van Rossum",usecase:"Web development, data analysis, AI"},{name:"Java",year:1995,creator:"James Gosling",usecase:"Enterprise software, Android apps"},{name:"JavaScript",year:1995,creator:"Brendan Eich",usecase:"Web development, browser scripting"},{name:"PHP",year:1995,creator:"Rasmus Lerdorf",usecase:"Web development, server-side scripting"},{name:"CSS",year:1996,creator:"Håkon Wium Lie, Bert Bos",usecase:"Web page styling"},{name:"C#",year:2e3,creator:"Microsoft",usecase:"Windows apps, game development"},{name:"Scala",year:2003,creator:"Martin Odersky",usecase:"Web applications, data analysis"},{name:"Golang",year:2009,creator:"Robert Griesemer, Rob Pike, Ken Thompson",usecase:"Cloud computing, microservices"},{name:"Rust",year:2010,creator:"Graydon Hoare",usecase:"Systems programming, safety"},{name:"Kotlin",year:2011,creator:"JetBrains",usecase:"Android app development, server-side"},{name:"Swift",year:2014,creator:"Apple Inc.",usecase:"iOS, macOS app development"}],oP="_container_5ie15_1",iP="_languageList_5ie15_6",sP="_languageCard_5ie15_12",aP="_languageName_5ie15_28",lP="_info_5ie15_34",cP="_heading_5ie15_40",Jr={container:oP,languageList:iP,languageCard:sP,languageName:aP,info:lP,heading:cP};function uP({name:e,year:t,creator:n,usecase:r}){return c.jsxs("div",{className:Jr.languageCard,children:[c.jsx("h2",{className:Jr.languageName,children:e}),c.jsxs("p",{className:Jr.info,children:["Year of Start: ",t]}),c.jsxs("p",{className:Jr.info,children:["Creator: ",n]}),c.jsxs("p",{className:Jr.info,children:["Use Case: ",r]})]})}function dP(){return c.jsx("div",{className:Jr.container,children:c.jsx("div",{className:Jr.languageList,children:rP.map((e,t)=>c.jsx(uP,{...e},t))})})}const fP="_otpFields_1d1qn_1",pP="_otpinput_1d1qn_15",hg={otpFields:fP,otpinput:pP},hP=()=>{let[e,t]=h.useState(Array(6).fill("")),n=h.useRef([]);const r=(s,l)=>{const u=s.target.value.replace(/\D/g,"").slice(0,1);let d=[...e];d[l]=u,l{if(s.key==="Backspace"){s.preventDefault();let a=[...e];a[l]="",t(a),l>0&&n.current[l-1].focus()}else s.key==="ArrowRight"&&l0&&n.current[l-1].focus()},i=s=>{s.preventDefault();const l=s.clipboardData.getData("text");if(/^[0-9]*$/.test(l)){const a=[...e];for(let u=0;uc.jsx("input",{onKeyDown:a=>o(a,l),onPaste:i,ref:a=>n.current[l]=a,onChange:a=>r(a,l),value:e[l],type:"text"},l))})})},Fo={red:{id:1,duration:5e3,next:"green"},yellow:{id:2,duration:2e3,next:"red"},green:{id:3,duration:3e3,next:"yellow"}},mP="_AppContainer_wtrmq_1",gP="_trafficWrapper_wtrmq_9",vP="_light_wtrmq_21",yP="_countdownTime_wtrmq_28",zo={AppContainer:mP,trafficWrapper:gP,light:vP,countdownTime:yP},xP=()=>{const[e,t]=h.useState("red"),[n,r]=h.useState(Fo[e].duration);return h.useEffect(()=>{let o;return n<=0?(clearInterval(o),t(Fo[e].next),r(Number(Fo[Fo[e].next].duration))):o=setInterval(()=>{r(i=>i-1e3)},1e3),()=>clearInterval(o)},[n,e]),c.jsxs("div",{className:zo.AppContainer,children:[c.jsx("div",{className:zo.trafficWrapper,children:Object.keys(Fo).map(o=>c.jsx("div",{className:zo.light,style:{background:e===o?o:""}},Fo[o].id))}),c.jsx("div",{className:zo.countdownContainer,children:c.jsxs("span",{className:`${zo.countdownTime} ${zo.active}`,children:[Math.floor(n/1e3)," Seconds"]})})]})},Os=e=>e>9?e:`0${e}`,wP="_button_assg4_1",_P="_quiz_container_footer_assg4_1",bP="_app_assg4_22",SP="_quiz_container_assg4_1",EP="_quiz_container_header_assg4_43",CP="_question_assg4_54",kP="_question_choices_assg4_66",jP="_question_choices_choice_assg4_74",$P="_selected_assg4_84",RP="_quiz_result_assg4_88",zn={button:wP,quiz_container_footer:_P,app:bP,quiz_container:SP,quiz_container_header:EP,question:CP,question_choices:kP,question_choices_choice:jP,selected:$P,quiz_result:RP},TP=e=>{const{totalQuestions:t,result:n}=e;return c.jsx("div",{className:zn.quiz_result,children:c.jsxs("div",{children:[c.jsx("h3",{children:"Result"}),c.jsx("table",{children:c.jsxs("tbody",{children:[c.jsxs("tr",{children:[c.jsx("td",{children:"Total Questions"}),c.jsx("td",{children:Os(t)})]}),c.jsxs("tr",{children:[c.jsx("td",{children:"Total Score"}),c.jsx("td",{children:Os(n.score)})]}),c.jsxs("tr",{children:[c.jsx("td",{children:"Correct Answers"}),c.jsx("td",{children:Os(n.correctAnswers)})]}),c.jsxs("tr",{children:[c.jsx("td",{children:"Wrong Answers"}),c.jsx("td",{children:n.wrongAnswers})]})]})})]})})},NP={topic:"React",level:"Intermediate",totalQuestions:10,perQuestionScore:5,questions:[{question:"What is the purpose of state in React?",choices:["To store information that may change over time","To declare static values for components","To define global variables","None of the above"],type:"MCQs",correctAnswer:"To store information that may change over time"},{question:"What are hooks in React?",choices:["Functions that let you use state and other React features without writing a class","Functional components","Connections between components","None of the above"],type:"MCQs",correctAnswer:"Functions that let you use state and other React features without writing a class"},{question:"What is the purpose of key prop in React lists?",choices:["To uniquely identify a child component","To style elements within a list","To define the position of a component","None of the above"],type:"MCQs",correctAnswer:"To uniquely identify a child component"},{question:"What is the role of componentDidMount() in React?",choices:["It runs after the component output has been rendered to the DOM","It handles updates before rendering","It initializes state variables","None of the above"],type:"MCQs",correctAnswer:"It runs after the component output has been rendered to the DOM"},{question:"How can you pass data between components in React?",choices:["Using props","Directly modifying state","Using only functional components","None of the above"],type:"MCQs",correctAnswer:"Using props"},{question:"What is the purpose of React.Fragment?",choices:["To create an independent component","To wrap multiple elements without adding an extra node to the DOM","To handle routing in React applications","None of the above"],type:"MCQs",correctAnswer:"To wrap multiple elements without adding an extra node to the DOM"},{question:"What is the significance of shouldComponentUpdate() in React?",choices:["It determines if a component should re-render","It defines the initial state of a component","It helps to update the DOM directly","None of the above"],type:"MCQs",correctAnswer:"It determines if a component should re-render"},{question:"What is the main purpose of Redux in React applications?",choices:["To manage the state of the entire application","To define the structure of components","To handle routing between components","None of the above"],type:"MCQs",correctAnswer:"To manage the state of the entire application"},{question:"How does React handle events?",choices:["Using event handlers like onClick","By modifying the DOM directly","Through asynchronous processes only","None of the above"],type:"MCQs",correctAnswer:"Using event handlers like onClick"},{question:"What are the benefits of using PropTypes in React?",choices:["To enforce the type of props passed to components","To declare global variables","To initialize state variables","None of the above"],type:"MCQs",correctAnswer:"To enforce the type of props passed to components"}]},PP=()=>{const[e,t]=h.useState(0),[n,r]=h.useState(!1),[o,i]=h.useState(!1),[s,l]=h.useState(null),[a,u]=h.useState({score:0,correctAnswers:0,wrongAnswers:0}),{questions:d,topic:f}=NP,{question:p,choices:g,correctAnswer:m}=d[e],x=()=>{l(null),u(v=>n?{...v,score:v.score+5,correctAnswers:v.correctAnswers+1}:{...v,wrongAnswers:v.wrongAnswers+1}),e!==d.length-1?t(v=>v+1):(t(0),i(!0))},w=(v,y)=>{l(y),r(v===m)};return c.jsx("section",{className:zn.quiz_container,children:o?c.jsx(TP,{totalQuestions:d.length,result:a}):c.jsxs("div",{children:[c.jsxs("div",{className:zn.quiz_container_header,children:[c.jsxs("p",{children:["TOPIC: ",f]}),c.jsxs("div",{children:[c.jsx("span",{children:Os(e+1)}),c.jsxs("span",{children:["/",Os(d.length)]})]})]}),c.jsxs("div",{className:zn.question,children:[c.jsx("h2",{children:p}),c.jsx("ul",{className:zn.question_choices,children:g.map((v,y)=>c.jsx("li",{onClick:()=>w(v,y),className:`${zn.question_choices_choice} - ${s===y?zn.selected:""}`,children:v},v))})]}),c.jsx("div",{className:zn.quiz_container_footer,children:c.jsx("button",{onClick:x,disabled:s===null,children:e===d.length-1?"Finish":"Next"})})]})})},OP=()=>c.jsx("main",{className:zn.app,children:c.jsx(PP,{})}),AP="_app_2nnow_1",MP="_chess_2nnow_18",DP="_tile_2nnow_33",IP="_tile_color_2nnow_44",Rl={app:AP,chess:MP,tile:DP,tile_color:IP},LP=e=>{const t=Math.floor(e/8)%2===0,n=e%2===0;return!!(t&&n||!t&&!n)},FP=()=>{const e={R:"♜",N:"♞",B:"♝",Q:"♛",K:"♚",P:"♟",r:"♖",n:"♘",b:"♗",q:"♕",k:"♔",p:"♙"," ":" "},t="RNBQKBNRPPPPPPPP pppppppprnbqkbnr";return c.jsx("section",{className:Rl.chess,children:t.split("").map((n,r)=>c.jsx("div",{className:`${Rl.tile} ${LP(r)?Rl.tile_color:""}`,children:e[n]},r))})},zP=()=>c.jsx("main",{className:Rl.app,children:c.jsx(FP,{})}),BP="_container_nf0ym_1",UP="_calculator__body_nf0ym_8",HP="_calculator__screen_nf0ym_14",WP="_calculator__screen__previous_nf0ym_27",VP="_calculator__buttons_nf0ym_33",GP="_total_nf0ym_1",KP="_ac_nf0ym_1",qP="_del_nf0ym_1",YP="_calculator__button_nf0ym_33",QP="_calculator__operator_nf0ym_63",XP="_exponent_nf0ym_1",JP="_square_nf0ym_1",he={container:BP,calculator__body:UP,calculator__screen:HP,calculator__screen__previous:WP,calculator__buttons:VP,total:GP,ac:KP,del:qP,calculator__button:YP,calculator__operator:QP,exponent:XP,square:JP},ZP=()=>{const[e,t]=h.useState(""),[n,r]=h.useState(""),[o,i]=h.useState(""),[s,l]=h.useState(""),[a,u]=h.useState(!1);let d="",f="";const p=E=>{!o&&a===!0?(t(E),u(!1)):o||e.toString().includes(".")&&E==="."||(d=e+E,t(d)),o&&(n.includes(".")&&E==="."||(d=n+E,r(d)))},g=E=>{i(e?E:"")},m=()=>{let E=e.toString(),b=n.toString();if(o==="^2")E.includes(".")&&(f=E.split(".")[1].length*2);else if(o==="*"&&E.includes(".")&&b.includes(".")){let j=E.split(".")[1].length,N=b.split(".")[1].length;f=j+N}else if(o==="*"&&E.includes(".")&&!b.includes("."))f=E.split(".")[1].length;else if(o==="*"&&!E.includes(".")&&b.includes("."))f=b.split(".")[1].length;else if(E.includes(".")&&b.includes(".")){let j=E.split(".")[1].length,N=b.split(".")[1].length;j>=N?f=j:f=N}else E.includes(".")?f=E.split(".")[1].length:b.includes(".")&&(f=b.split(".")[1].length)},x=E=>{l(E),t(E),r(""),i(""),u(!0)},w=()=>{if(o==="/"){const E=parseFloat(e*100)/parseFloat(n*100);x(E)}else if(o==="-"){let E=(parseFloat(e)-parseFloat(n))*100;m(),E=(E/100).toFixed(f),x(E)}else if(o==="*"){let E=e*n;m(),E=E.toFixed(f),x(E)}else if(o==="+"){let E=parseFloat(e)+parseFloat(n);m(),E=E.toFixed(f),x(E)}else if(o==="^"){const E=Math.pow(e,n);x(E)}else if(o==="^2"){let E=Math.pow(e,2);m(),E=E.toFixed(f),x(E)}else if(o==="√"){const E=Math.sqrt(e);x(E)}},v=()=>{t(""),i(""),r(""),l("")},y=()=>{if(o){const E=n.slice(0,n.length-1);r(E)}else{const E=e.toString(),b=E.slice(0,E.length-1);t(b)}},_=()=>{if(n){const E=n*-1;r(E)}else if(e){const E=e*-1;t(E)}},C=()=>n&&o==="/"||o==="-"||o==="+"||o==="*"||o==="^"?`${e} ${o} ${n}`:`${e||"-"} ${o}`;return c.jsx("div",{class:he.container,children:c.jsxs("div",{className:he.calculator__body,children:[c.jsxs("div",{className:he.calculator__screen,children:[c.jsx("div",{className:he.calculator__screen__previous,children:C()}),c.jsx("div",{className:he.calculator__screen__first,children:s})]}),c.jsxs("div",{className:he.calculator__buttons,children:[c.jsx("button",{onClick:()=>v(),id:"ac",className:he.calculator__operator,children:"Clear"}),c.jsx("button",{onClick:()=>y(),id:"del",className:he.calculator__operator,children:"Del"}),c.jsx("button",{onClick:()=>_(),className:he.calculator__operator,id:"negative",children:"+-"}),c.jsxs("button",{onClick:()=>g("^2"),className:he.calculator__operator,id:"square",children:["x",c.jsx("sup",{children:"2"})]}),c.jsx("button",{onClick:()=>p("1"),className:he.calculator__button,children:"1"}),c.jsx("button",{onClick:()=>p("2"),className:he.calculator__button,children:"2"}),c.jsx("button",{onClick:()=>p("3"),className:he.calculator__button,children:"3"}),c.jsx("button",{onClick:()=>g("+"),className:he.calculator__operator,children:"+"}),c.jsx("button",{onClick:()=>p("4"),className:he.calculator__button,children:"4"}),c.jsx("button",{onClick:()=>p("5"),className:he.calculator__button,children:"5"}),c.jsx("button",{onClick:()=>p("6"),className:he.calculator__button,children:"6"}),c.jsx("button",{onClick:()=>g("/"),className:he.calculator__operator,children:"÷"}),c.jsx("button",{onClick:()=>p("7"),className:he.calculator__button,children:"7"}),c.jsx("button",{onClick:()=>p("8"),className:he.calculator__button,children:"8"}),c.jsx("button",{onClick:()=>p("9"),className:he.calculator__button,children:"9"}),c.jsx("button",{onClick:()=>g("-"),className:he.calculator__operator,children:"–"}),c.jsx("button",{onClick:()=>p("0"),className:he.calculator__button,children:"0"}),c.jsxs("button",{onClick:()=>g("^"),className:he.calculator__operator,id:"exponent",children:["x",c.jsx("sup",{children:"y"})]}),c.jsx("button",{onClick:()=>g("√"),className:he.calculator__operator,id:"radical",children:"√"}),c.jsx("button",{onClick:()=>g("*"),className:he.calculator__operator,children:"*"}),c.jsx("button",{onClick:()=>p("."),className:he.calculator__button,children:"."}),c.jsx("button",{onClick:()=>w(),id:"total",className:he.calculator__operator,children:"="})]})]})})},e3=4,Ku=1e3,t3=200,n3=25,r3="_controls_1s50h_6",o3="_tanks_1s50h_17",i3="_tank_1s50h_17",s3="_range_1s50h_64",En={controls:r3,"text-center":"_text-center_1s50h_13",tanks:o3,"add-btn":"_add-btn_1s50h_23","empty-btn":"_empty-btn_1s50h_32",tank:i3,"tank-level":"_tank-level_1s50h_51","form-item":"_form-item_1s50h_57",range:s3};function a3({onDown:e,onUp:t,onEmpty:n,tankLevel:r,capacity:o}){return c.jsxs("div",{children:[c.jsxs("div",{className:En.controls,children:[c.jsx("button",{onMouseDown:e,onMouseUp:t,onTouchStart:e,onTouchEnd:t,className:En["add-btn"],children:"Add"}),c.jsx("button",{onClick:n,className:En["empty-btn"],children:"Empty"})]}),c.jsx("div",{className:En.tank,children:c.jsx("div",{className:En["tank-level"],style:{height:`${100*r/o}%`}})}),c.jsxs("p",{className:En["text-center"],children:[r," lts"]})]})}function l3({tank:e,setTanks:t,index:n}){const[r,o]=h.useState(0),i=h.useRef(0),s=h.useRef(0);s.current=e.level;function l(d){d.preventDefault(),t(f=>{const p=[...f];return p[n].isReady=!1,p}),i.current=setInterval(()=>{o(f=>{let p=f+t3;return s.current+p>=Ku&&(p=Ku-s.current),p})},1e3)}function a(){i.current&&clearInterval(i.current),o(0),t(d=>{const f=[...d.map(p=>({...p}))];return f[n].level+=r,f[n].isReady=!0,f})}function u(){t(d=>{const f=[...d.map(p=>({...p}))];return f[n].level=0,f})}return c.jsx(a3,{onDown:l,onUp:a,onEmpty:u,tankLevel:(s.current+r).toFixed(2),capacity:Ku})}function mg(e){return Array.from({length:e},()=>({level:0,isReady:!0}))}function c3(e){const n=e.filter(l=>l.isReady).reduce((l,a)=>l+a.level,0)/e.length,r=e.filter(l=>l.isReady&&l.levell.level-n<1e-4)||r.length===0)return null;let o=0;const i=e.map(l=>{const a={...l};if(l.isReady&&l.level>n){const u=Math.min(l.level-n,n3);a.level=l.level-u,o+=u}return a}),s=o/r.length;return i.forEach(l=>{l.isReady&&l.levelsetTimeout(t,e))}function d3({tanksCount:e,setTanksCount:t}){return c.jsx("section",{className:En.range,children:c.jsxs("div",{className:En["form-item"],children:[c.jsx("label",{htmlFor:"waterTanks",children:"Water Tanks: "}),c.jsx("input",{type:"range",min:"4",max:"8",value:e,onChange:n=>t(n.target.value),className:"slider",id:"waterTanks"})]})})}function f3(){const[e,t]=h.useState(e3),[n,r]=h.useState(()=>mg(e));return h.useEffect(()=>{const o=mg(e);r(o)},[e]),h.useEffect(()=>{let o=!1;async function i(){if(await u3(1e3),o)return;const s=c3(n);s&&r(s)}return i(),()=>{o=!0}},[n]),c.jsxs("div",{className:En["text-center"],children:[c.jsx("p",{children:'Press and Hold "Add" to start filling the tank'}),c.jsx("main",{className:En.tanks,children:n.map((o,i)=>c.jsx(l3,{tank:o,setTanks:r,index:i},i))}),c.jsx(d3,{tanksCount:e,setTanksCount:t})]})}const p3="_TransferListContainer_e51he_1",h3="_inputWrapper_e51he_29",ia={TransferListContainer:p3,"list-container":"_list-container_e51he_8","buttons-container":"_buttons-container_e51he_15",inputWrapper:h3,"disabled-button":"_disabled-button_e51he_33"},m3=({leftClickHandler:e,rightClickHandler:t,leftClickHandlerAll:n,rightClickHandlerAll:r,disableLeftBtn:o,disableRightBtn:i,disableLeftBtnAll:s,disableRightBtnAll:l})=>c.jsxs("div",{className:ia["buttons-container"],children:[c.jsx("button",{onClick:n,disabled:s,children:">>"}),c.jsx("button",{onClick:e,disabled:o,children:">"}),c.jsx("button",{onClick:t,disabled:i,children:"<"}),c.jsx("button",{onClick:r,disabled:l,children:"<<"})]}),g3=[{value:"USA",id:"usa"},{value:"UAE",id:"uae"},{value:"India",id:"ind"},{value:"Australia",id:"aus"},{value:"Canada",id:"can"}],v3=({id:e,value:t,selected:n,onToggle:r})=>c.jsxs("div",{className:ia.inputWrapper,children:[c.jsx("input",{type:"checkbox",id:e,value:t,checked:n,onChange:()=>r(e)}),c.jsx("label",{htmlFor:e,children:t})]}),gg=({items:e,onToggle:t})=>c.jsx("div",{className:ia["list-container"],children:c.jsx("div",{className:ia["list-items"],children:e.map(n=>c.jsx(v3,{id:n.id,value:n.value,selected:n.selected,onToggle:t},n.id))})});function y3(){return g3.map(e=>({...e,selected:!1,direction:"left"}))}const x3=()=>{const[e,t]=h.useState(y3),n=e.filter(u=>u.direction==="left"),r=e.filter(u=>u.direction==="right"),o=n.filter(u=>u.selected),i=r.filter(u=>u.selected),s=u=>{const d=e.map(f=>f.id===u?{...f,selected:!f.selected}:f);t(d)},l=(u,d)=>{const f=e.map(p=>p.selected&&p.direction===u?{...p,selected:!1,direction:d}:p);t(f)},a=u=>{const d=e.map(f=>({...f,direction:u}));t(d)};return c.jsxs("div",{className:ia.TransferListContainer,children:[c.jsx(gg,{items:n,onToggle:s}),c.jsx(m3,{leftClickHandler:()=>l("left","right"),rightClickHandler:()=>l("right","left"),leftClickHandlerAll:()=>a("right"),rightClickHandlerAll:()=>a("left"),disableLeftBtn:o.length===0,disableRightBtn:i.length===0,disableLeftBtnAll:n.length===0,disableRightBtnAll:r.length===0}),c.jsx(gg,{items:r,onToggle:s})]})},w3="_AppContainer_1tcc6_1",_3="_container_1tcc6_9",b3="_timeline_1tcc6_17",S3="_date_1tcc6_38",E3="_timeline_content_1tcc6_42",ds={AppContainer:w3,container:_3,timeline:b3,date:S3,timeline_content:E3},C3=[{date:"August 30, 2017",title:"Published First React Tutorial",content:"My first React tutorial was about building a simple component and understanding the basics of React."},{date:"June 3, 2020",title:"First React Live Stream",content:"In my first-ever React live stream, I shared tips and tricks while building a React application."},{date:"June 28, 2021",title:"Introduction to React Hooks",content:"Published a video exploring the power of React Hooks. Check out the code in the description."},{date:"September 15, 2021",title:"React Context API Deep Dive",content:"Delved into the React Context API and how it simplifies state management in complex React applications."},{date:"February 8, 2022",title:"React Testing Strategies",content:"Shared insights on effective testing strategies for React applications using popular testing libraries."},{date:"June 28, 2022",title:"Advanced React Patterns",content:"Explored advanced React patterns and best practices for building scalable and maintainable React applications."}],k3=()=>c.jsx(c.Fragment,{children:c.jsx("div",{className:ds.AppContainer,children:c.jsx("div",{className:ds.container,children:c.jsx("div",{className:ds.timeline,children:c.jsx("ul",{children:C3.map((e,t)=>c.jsx("li",{children:c.jsxs("div",{className:ds.timeline_content,children:[c.jsx("h3",{className:ds.date,children:e.date}),c.jsx("h1",{children:e.title}),c.jsx("p",{children:e.content})]})},t))})})})})}),j3=[["India","New Delhi"],["Indonesia","Jakarta"],["Iran","Tehran"],["Iraq","Baghdad"],["Ireland","Dublin"],["Israel","Jerusalem"],["Italy","Rome"],["Jamaica","Kingston"],["Japan","Tokyo"],["Jordan","Amman"],["Kazakhstan","Nur-Sultan"],["Kenya","Nairobi"],["Kiribati","South Tarawa"],["Kuwait","Kuwait City"],["Kyrgyzstan","Bishkek"],["Laos","Vientiane"],["Latvia","Riga"],["Lebanon","Beirut"],["Lesotho","Maseru"],["Liberia","Monrovia"],["Libya","Tripoli"],["Liechtenstein","Vaduz"],["Lithuania","Vilnius"],["Madagascar","Antananarivo"],["Malawi","Lilongwe"],["Malaysia","Kuala Lumpur"],["Maldives","Malé"],["Mali","Bamako"],["Malta","Valletta"],["Mauritania","Nouakchott"],["Mauritius","Port Louis"],["Mexico","Mexico City"]],$3=[["Basil","Thyme","Rosemary"],["Latte","Cappuccino","Espresso"],["Octopus","Dolphin","Seahorse"],["Beach","Mountain","Forest"],["Paintbrush","Canvas","Palette"],["Rock","Pop","Jazz"],["Running","Yoga","Dancing"],["Volcano","Canyon","Ocean"],["Phone","Email","Letter"],["Flood","Earthquake","Hurricane"],["Sight","Smell","Taste"],["Past","Present","Future"],["Literature","History","Biology"],["Spring","Summer","Autumn"],["Basketball","Jersey","Whistle"],["Textbook","Notebook","Pencil"],["Spoon","Fork","Knife"],["Shirt","Pants","Shoes"],["Lion","Elephant","Giraffe"],["Sunflower","Rose","Daisy"],["Cucumber","Tomato","Carrot"],["Tea","Coffee","Juice"],["Milk","Yogurt","Cheese"],["Pikachu","Charmander","Squirtle"],["Batman","Superman","Spiderman"],["Elsa","Anna","Olaf"]],R3=[["Cinnamon","Nutmeg","Ginger","Allspice"],["Guitar","Drums","Piano","Violin"],["Mercury","Venus","Earth","Mars"],["Monday","Tuesday","Friday","Sunday"],["Black","White","Grey","Navy Blue"],["Sun","Rain","Wind","Snow"],["Hand","Foot","Ear","Eye"],["Apple","Orange","Banana","Grape"],["Math","English","Science","History"],["Car","Bus","Train","Airplane"],["Phone","Laptop","Headset","Charger"],["Pen","Pencil","Eraser","Notebook"],["Scarf","Hat","Gloves","Boots"],["Ruler","Scissors","Calculator","Glue"]],T3=new Map([[2,j3],[3,$3],[4,R3]]);function N3(e,t){const n=[],r=new Set;for(let o=0;o{const t=e.length;for(let n=0;n{o.push(new Set(s))});const i=P3(r.flat());return[o,i]}function A3(e,t){const n=e.find(r=>r.has(t[0]));return n?t.every(r=>n.has(r)):!1}const M3="_grid_18i4i_1",D3="_itemBtn_18i4i_9",I3="_reset_18i4i_20",L3="_center_18i4i_26",F3="_highlight_18i4i_30",z3="_success_18i4i_34",B3="_failure_18i4i_38",Gn={grid:M3,itemBtn:D3,reset:I3,center:L3,highlight:F3,success:z3,failure:B3},U3=h.forwardRef(function({items:t,cols:n,onSelection:r,status:o},i){const[s,l]=h.useState([]),a=d=>{if(o)return;let f=[];s.includes(d)?f=s.filter(p=>p!==d):f=[...s,d],l(f),r(f)};function u(){l([])}return h.useImperativeHandle(i,()=>({clearSelection:u})),c.jsx("section",{"data-status":o,className:Gn.grid,style:{gridTemplateColumns:`repeat(${n}, 1fr)`},children:t.map(d=>{const f=s.includes(d),p=`${Gn.itemBtn} ${f?Gn.highlight:""} ${f&&o?Gn[o]:""}`;return c.jsx("button",{className:p,onClick:()=>a(d),children:d},d)})})});var Tl=(e=>(e.Success="success",e.Failure="failure",e))(Tl||{});function H3({itemGroups:e,allItems:t,columns:n=2,groupSize:r}){const[o,i]=h.useState([]),[s,l]=h.useState(0),[a,u]=h.useState(null),d=h.useRef(null);h.useEffect(()=>{var g;i(t),l(0),u(null),(g=d.current)==null||g.clearSelection()},[t]);function f(g){if(g.length===r){l(s+1);const m=A3(e,g)?Tl.Success:Tl.Failure;u(m);const x=setTimeout(()=>p(g,m),1e3);return()=>clearTimeout(x)}}function p(g,m){var x;m===Tl.Success&&i(o.filter(w=>!g.includes(w))),u(null),(x=d.current)==null||x.clearSelection()}return c.jsxs(c.Fragment,{children:[o.length?c.jsx(U3,{items:o,cols:n,onSelection:f,status:a,ref:d}):c.jsx("p",{className:Gn.center,children:"Well done. Reset to play again!"}),c.jsxs("p",{className:Gn.center,children:["Attempts: ",c.jsx("strong",{children:s})]})]})}function Ve(){return Ve=Object.assign?Object.assign.bind():function(e){for(var t=1;te.forEach(n=>W3(n,t))}function Li(...e){return h.useCallback(dx(...e),e)}const fx=h.forwardRef((e,t)=>{const{children:n,...r}=e,o=h.Children.toArray(n),i=o.find(V3);if(i){const s=i.props.children,l=o.map(a=>a===i?h.Children.count(s)>1?h.Children.only(null):h.isValidElement(s)?s.props.children:null:a);return h.createElement(df,Ve({},r,{ref:t}),h.isValidElement(s)?h.cloneElement(s,void 0,l):null)}return h.createElement(df,Ve({},r,{ref:t}),n)});fx.displayName="Slot";const df=h.forwardRef((e,t)=>{const{children:n,...r}=e;return h.isValidElement(n)?h.cloneElement(n,{...G3(r,n.props),ref:t?dx(t,n.ref):n.ref}):h.Children.count(n)>1?h.Children.only(null):null});df.displayName="SlotClone";const px=({children:e})=>h.createElement(h.Fragment,null,e);function V3(e){return h.isValidElement(e)&&e.type===px}function G3(e,t){const n={...t};for(const r in t){const o=e[r],i=t[r];/^on[A-Z]/.test(r)?o&&i?n[r]=(...l)=>{i(...l),o(...l)}:o&&(n[r]=o):r==="style"?n[r]={...o,...i}:r==="className"&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}const K3=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],_o=K3.reduce((e,t)=>{const n=h.forwardRef((r,o)=>{const{asChild:i,...s}=r,l=i?fx:t;return h.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),h.createElement(l,Ve({},s,{ref:o}))});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function q3(e,t){e&&wo.flushSync(()=>e.dispatchEvent(t))}const Y3=h.forwardRef((e,t)=>{var n;const{container:r=globalThis==null||(n=globalThis.document)===null||n===void 0?void 0:n.body,...o}=e;return r?Rp.createPortal(h.createElement(_o.div,Ve({},o,{ref:t})),r):null}),Q3=Y3;var vg=Object.prototype.hasOwnProperty;function sa(e,t){var n,r;if(e===t)return!0;if(e&&t&&(n=e.constructor)===t.constructor){if(n===Date)return e.getTime()===t.getTime();if(n===RegExp)return e.toString()===t.toString();if(n===Array){if((r=e.length)===t.length)for(;r--&&sa(e[r],t[r]););return r===-1}if(!n||typeof e=="object"){r=0;for(n in e)if(vg.call(e,n)&&++r&&!vg.call(t,n)||!(n in t)||!sa(e[n],t[n]))return!1;return Object.keys(t).length===r}}return e!==e&&t!==t}function _a(e,t){if(Object.is(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;const n=Object.keys(e);if(n.length!==Object.keys(t).length)return!1;for(let r=0;r0;)s[l]=arguments[l+4];e.call(this,s),e.captureStackTrace&&e.captureStackTrace(this,t),this.rule=n,this.value=r,this.cause=o,this.target=i}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t}(Error),Tn=function(t,n){t===void 0&&(t=[]),n===void 0&&(n=[]),this.chain=t,this.nextRuleModifiers=n};Tn.prototype._applyRule=function(t,n){var r=this;return function(){for(var o=[],i=arguments.length;i--;)o[i]=arguments[i];return r.chain.push(new Xc(n,t.apply(r,o),o,r.nextRuleModifiers)),r.nextRuleModifiers=[],r}};Tn.prototype._applyModifier=function(t,n){return this.nextRuleModifiers.push(new X3(n,t.simple,t.async)),this};Tn.prototype._clone=function(){return new Tn(this.chain.slice(),this.nextRuleModifiers.slice())};Tn.prototype.test=function(t){return this.chain.every(function(n){return n._test(t)})};Tn.prototype.testAll=function(t){var n=[];return this.chain.forEach(function(r){try{r._check(t)}catch(o){n.push(new Hp(r,t,o))}}),n};Tn.prototype.check=function(t){this.chain.forEach(function(n){try{n._check(t)}catch(r){throw new Hp(n,t,r)}})};Tn.prototype.testAsync=function(t){var n=this;return new Promise(function(r,o){gx(t,n.chain.slice(),r,o)})};function gx(e,t,n,r){if(t.length){var o=t.shift();o._testAsync(e).then(function(){gx(e,t,n,r)},function(i){r(new Hp(o,e,i))})}else n(e)}var yg=function(e,t){return t&&typeof e=="string"&&e.trim().length===0?!0:e==null};function J3(e,t){return t===void 0&&(t=!1),{simple:function(n){return yg(n,t)||e.check(n)===void 0},async:function(n){return yg(n,t)||e.testAsync(n)}}}function jt(){return typeof Proxy<"u"?vx(new Tn):ff(new Tn)}var aa={};jt.extend=function(e){Object.assign(aa,e)};jt.clearCustomRules=function(){aa={}};function vx(e){return new Proxy(e,{get:function(n,r){if(r in n)return n[r];var o=vx(e._clone());if(r in fc)return o._applyModifier(fc[r],r);if(r in aa)return o._applyRule(aa[r],r);if(r in pf)return o._applyRule(pf[r],r)}})}function ff(e){var t=function(o,i){return Object.keys(o).forEach(function(s){i[s]=function(){for(var l=[],a=arguments.length;a--;)l[a]=arguments[a];var u=ff(i._clone()),d=u._applyRule(o[s],s).apply(void 0,l);return d}}),i},n=t(pf,e),r=t(aa,n);return Object.keys(fc).forEach(function(o){Object.defineProperty(r,o,{get:function(){var i=ff(r._clone());return i._applyModifier(fc[o],o)}})}),r}var fc={not:{simple:function(e){return function(t){return!e(t)}},async:function(e){return function(t){return Promise.resolve(e(t)).then(function(n){return!n}).catch(function(){return!0})}}},some:{simple:function(e){return function(t){return nl(t).some(function(n){try{return e(n)}catch{return!1}})}},async:function(e){return function(t){return Promise.all(nl(t).map(function(n){try{return e(n).catch(function(){return!1})}catch{return!1}})).then(function(n){return n.some(Boolean)})}}},every:{simple:function(e){return function(t){return t!==!1&&nl(t).every(e)}},async:function(e){return function(t){return Promise.all(nl(t).map(e)).then(function(n){return n.every(Boolean)})}}},strict:{simple:function(e,t){return function(n){return xg(t)&&n&&typeof n=="object"?Object.keys(t.args[0]).length===Object.keys(n).length&&e(n):e(n)}},async:function(e,t){return function(n){return Promise.resolve(e(n)).then(function(r){return xg(t)&&n&&typeof n=="object"?Object.keys(t.args[0]).length===Object.keys(n).length&&r:r}).catch(function(){return!1})}}}};function xg(e){return e&&e.name==="schema"&&e.args.length>0&&typeof e.args[0]=="object"}function nl(e){return typeof e=="string"?e.split(""):e}var pf={equal:function(e){return function(t){return t==e}},exact:function(e){return function(t){return t===e}},number:function(e){return e===void 0&&(e=!0),function(t){return typeof t=="number"&&(e||isFinite(t))}},integer:function(){return function(e){var t=Number.isInteger||Z3;return t(e)}},numeric:function(){return function(e){return!isNaN(parseFloat(e))&&isFinite(e)}},string:function(){return Bo("string")},boolean:function(){return Bo("boolean")},undefined:function(){return Bo("undefined")},null:function(){return Bo("null")},array:function(){return Bo("array")},object:function(){return Bo("object")},instanceOf:function(e){return function(t){return t instanceof e}},pattern:function(e){return function(t){return e.test(t)}},lowercase:function(){return function(e){return typeof e=="boolean"||e===e.toLowerCase()&&e.trim()!==""}},uppercase:function(){return function(e){return e===e.toUpperCase()&&e.trim()!==""}},vowel:function(){return function(e){return/^[aeiou]+$/i.test(e)}},consonant:function(){return function(e){return/^(?=[^aeiou])([a-z]+)$/i.test(e)}},first:function(e){return function(t){return t[0]==e}},last:function(e){return function(t){return t[t.length-1]==e}},empty:function(){return function(e){return e.length===0}},length:function(e,t){return function(n){return n.length>=e&&n.length<=(t||e)}},minLength:function(e){return function(t){return t.length>=e}},maxLength:function(e){return function(t){return t.length<=e}},negative:function(){return function(e){return e<0}},positive:function(){return function(e){return e>=0}},between:function(e,t){return function(n){return n>=e&&n<=t}},range:function(e,t){return function(n){return n>=e&&n<=t}},lessThan:function(e){return function(t){return te}},greaterThanOrEqual:function(e){return function(t){return t>=e}},even:function(){return function(e){return e%2===0}},odd:function(){return function(e){return e%2!==0}},includes:function(e){return function(t){return~t.indexOf(e)}},schema:function(e){return eO(e)},passesAnyOf:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return function(n){return e.some(function(r){return r.test(n)})}},optional:J3};function Bo(e){return function(t){return Array.isArray(t)&&e==="array"||t===null&&e==="null"||typeof t===e}}function Z3(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e}function eO(e){return{simple:function(t){var n=[];if(Object.keys(e).forEach(function(r){var o=e[r];try{o.check((t||{})[r])}catch(i){i.target=r,n.push(i)}}),n.length>0)throw n;return!0},async:function(t){var n=[],r=Object.keys(e).map(function(o){var i=e[o];return i.testAsync((t||{})[o]).catch(function(s){s.target=o,n.push(s)})});return Promise.all(r).then(function(){if(n.length>0)throw n;return!0})}}}var me="colors",gt="sizes",G="space",tO={gap:G,gridGap:G,columnGap:G,gridColumnGap:G,rowGap:G,gridRowGap:G,inset:G,insetBlock:G,insetBlockEnd:G,insetBlockStart:G,insetInline:G,insetInlineEnd:G,insetInlineStart:G,margin:G,marginTop:G,marginRight:G,marginBottom:G,marginLeft:G,marginBlock:G,marginBlockEnd:G,marginBlockStart:G,marginInline:G,marginInlineEnd:G,marginInlineStart:G,padding:G,paddingTop:G,paddingRight:G,paddingBottom:G,paddingLeft:G,paddingBlock:G,paddingBlockEnd:G,paddingBlockStart:G,paddingInline:G,paddingInlineEnd:G,paddingInlineStart:G,top:G,right:G,bottom:G,left:G,scrollMargin:G,scrollMarginTop:G,scrollMarginRight:G,scrollMarginBottom:G,scrollMarginLeft:G,scrollMarginX:G,scrollMarginY:G,scrollMarginBlock:G,scrollMarginBlockEnd:G,scrollMarginBlockStart:G,scrollMarginInline:G,scrollMarginInlineEnd:G,scrollMarginInlineStart:G,scrollPadding:G,scrollPaddingTop:G,scrollPaddingRight:G,scrollPaddingBottom:G,scrollPaddingLeft:G,scrollPaddingX:G,scrollPaddingY:G,scrollPaddingBlock:G,scrollPaddingBlockEnd:G,scrollPaddingBlockStart:G,scrollPaddingInline:G,scrollPaddingInlineEnd:G,scrollPaddingInlineStart:G,fontSize:"fontSizes",background:me,backgroundColor:me,backgroundImage:me,borderImage:me,border:me,borderBlock:me,borderBlockEnd:me,borderBlockStart:me,borderBottom:me,borderBottomColor:me,borderColor:me,borderInline:me,borderInlineEnd:me,borderInlineStart:me,borderLeft:me,borderLeftColor:me,borderRight:me,borderRightColor:me,borderTop:me,borderTopColor:me,caretColor:me,color:me,columnRuleColor:me,fill:me,outline:me,outlineColor:me,stroke:me,textDecorationColor:me,fontFamily:"fonts",fontWeight:"fontWeights",lineHeight:"lineHeights",letterSpacing:"letterSpacings",blockSize:gt,minBlockSize:gt,maxBlockSize:gt,inlineSize:gt,minInlineSize:gt,maxInlineSize:gt,width:gt,minWidth:gt,maxWidth:gt,height:gt,minHeight:gt,maxHeight:gt,flexBasis:gt,gridTemplateColumns:gt,gridTemplateRows:gt,borderWidth:"borderWidths",borderTopWidth:"borderWidths",borderRightWidth:"borderWidths",borderBottomWidth:"borderWidths",borderLeftWidth:"borderWidths",borderStyle:"borderStyles",borderTopStyle:"borderStyles",borderRightStyle:"borderStyles",borderBottomStyle:"borderStyles",borderLeftStyle:"borderStyles",borderRadius:"radii",borderTopLeftRadius:"radii",borderTopRightRadius:"radii",borderBottomRightRadius:"radii",borderBottomLeftRadius:"radii",boxShadow:"shadows",textShadow:"shadows",transition:"transitions",zIndex:"zIndices"},nO=(e,t)=>typeof t=="function"?{"()":Function.prototype.toString.call(t)}:t,Fi=()=>{const e=Object.create(null);return(t,n,...r)=>{const o=(i=>JSON.stringify(i,nO))(t);return o in e?e[o]:e[o]=n(t,...r)}},ao=Symbol.for("sxs.internal"),Wp=(e,t)=>Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)),wg=e=>{for(const t in e)return!0;return!1},{hasOwnProperty:rO}=Object.prototype,hf=e=>e.includes("-")?e:e.replace(/[A-Z]/g,t=>"-"+t.toLowerCase()),oO=/\s+(?![^()]*\))/,Uo=e=>t=>e(...typeof t=="string"?String(t).split(oO):[t]),_g={appearance:e=>({WebkitAppearance:e,appearance:e}),backfaceVisibility:e=>({WebkitBackfaceVisibility:e,backfaceVisibility:e}),backdropFilter:e=>({WebkitBackdropFilter:e,backdropFilter:e}),backgroundClip:e=>({WebkitBackgroundClip:e,backgroundClip:e}),boxDecorationBreak:e=>({WebkitBoxDecorationBreak:e,boxDecorationBreak:e}),clipPath:e=>({WebkitClipPath:e,clipPath:e}),content:e=>({content:e.includes('"')||e.includes("'")||/^([A-Za-z]+\([^]*|[^]*-quote|inherit|initial|none|normal|revert|unset)$/.test(e)?e:`"${e}"`}),hyphens:e=>({WebkitHyphens:e,hyphens:e}),maskImage:e=>({WebkitMaskImage:e,maskImage:e}),maskSize:e=>({WebkitMaskSize:e,maskSize:e}),tabSize:e=>({MozTabSize:e,tabSize:e}),textSizeAdjust:e=>({WebkitTextSizeAdjust:e,textSizeAdjust:e}),userSelect:e=>({WebkitUserSelect:e,userSelect:e}),marginBlock:Uo((e,t)=>({marginBlockStart:e,marginBlockEnd:t||e})),marginInline:Uo((e,t)=>({marginInlineStart:e,marginInlineEnd:t||e})),maxSize:Uo((e,t)=>({maxBlockSize:e,maxInlineSize:t||e})),minSize:Uo((e,t)=>({minBlockSize:e,minInlineSize:t||e})),paddingBlock:Uo((e,t)=>({paddingBlockStart:e,paddingBlockEnd:t||e})),paddingInline:Uo((e,t)=>({paddingInlineStart:e,paddingInlineEnd:t||e}))},qu=/([\d.]+)([^]*)/,iO=(e,t)=>e.length?e.reduce((n,r)=>(n.push(...t.map(o=>o.includes("&")?o.replace(/&/g,/[ +>|~]/.test(r)&&/&.*&/.test(o)?`:is(${r})`:r):r+" "+o)),n),[]):t,sO=(e,t)=>e in aO&&typeof t=="string"?t.replace(/^((?:[^]*[^\w-])?)(fit-content|stretch)((?:[^\w-][^]*)?)$/,(n,r,o,i)=>r+(o==="stretch"?`-moz-available${i};${hf(e)}:${r}-webkit-fill-available`:`-moz-fit-content${i};${hf(e)}:${r}fit-content`)+i):String(t),aO={blockSize:1,height:1,inlineSize:1,maxBlockSize:1,maxHeight:1,maxInlineSize:1,maxWidth:1,minBlockSize:1,minHeight:1,minInlineSize:1,minWidth:1,width:1},er=e=>e?e+"-":"",yx=(e,t,n)=>e.replace(/([+-])?((?:\d+(?:\.\d*)?|\.\d+)(?:[Ee][+-]?\d+)?)?(\$|--)([$\w-]+)/g,(r,o,i,s,l)=>s=="$"==!!i?r:(o||s=="--"?"calc(":"")+"var(--"+(s==="$"?er(t)+(l.includes("$")?"":er(n))+l.replace(/\$/g,"-"):l)+")"+(o||s=="--"?"*"+(o||"")+(i||"1")+")":"")),lO=/\s*,\s*(?![^()]*\))/,cO=Object.prototype.toString,ci=(e,t,n,r,o)=>{let i,s,l;const a=(u,d,f)=>{let p,g;const m=x=>{for(p in x){const y=p.charCodeAt(0)===64,_=y&&Array.isArray(x[p])?x[p]:[x[p]];for(g of _){const C=/[A-Z]/.test(v=p)?v:v.replace(/-[^]/g,b=>b[1].toUpperCase()),E=typeof g=="object"&&g&&g.toString===cO&&(!r.utils[C]||!d.length);if(C in r.utils&&!E){const b=r.utils[C];if(b!==s){s=b,m(b(g)),s=null;continue}}else if(C in _g){const b=_g[C];if(b!==l){l=b,m(b(g)),l=null;continue}}if(y&&(w=p.slice(1)in r.media?"@media "+r.media[p.slice(1)]:p,p=w.replace(/\(\s*([\w-]+)\s*(=|<|<=|>|>=)\s*([\w-]+)\s*(?:(<|<=|>|>=)\s*([\w-]+)\s*)?\)/g,(b,k,j,P,N,M)=>{const I=qu.test(k),U=.0625*(I?-1:1),[z,q]=I?[P,k]:[k,P];return"("+(j[0]==="="?"":j[0]===">"===I?"max-":"min-")+z+":"+(j[0]!=="="&&j.length===1?q.replace(qu,(K,Y,L)=>Number(Y)+U*(j===">"?1:-1)+L):q)+(N?") and ("+(N[0]===">"?"min-":"max-")+z+":"+(N.length===1?M.replace(qu,(K,Y,L)=>Number(Y)+U*(N===">"?-1:1)+L):M):"")+")"})),E){const b=y?f.concat(p):[...f],k=y?[...d]:iO(d,p.split(lO));i!==void 0&&o(bg(...i)),i=void 0,a(g,k,b)}else i===void 0&&(i=[[],d,f]),p=y||p.charCodeAt(0)!==36?p:`--${er(r.prefix)}${p.slice(1).replace(/\$/g,"-")}`,g=E?g:typeof g=="number"?g&&C in uO?String(g)+"px":String(g):yx(sO(C,g??""),r.prefix,r.themeMap[C]),i[0].push(`${y?`${p} `:`${hf(p)}:`}${g}`)}}var w,v};m(u),i!==void 0&&o(bg(...i)),i=void 0};a(e,t,n)},bg=(e,t,n)=>`${n.map(r=>`${r}{`).join("")}${t.length?`${t.join(",")}{`:""}${e.join(";")}${t.length?"}":""}${Array(n.length?n.length+1:0).join("}")}`,uO={animationDelay:1,animationDuration:1,backgroundSize:1,blockSize:1,border:1,borderBlock:1,borderBlockEnd:1,borderBlockEndWidth:1,borderBlockStart:1,borderBlockStartWidth:1,borderBlockWidth:1,borderBottom:1,borderBottomLeftRadius:1,borderBottomRightRadius:1,borderBottomWidth:1,borderEndEndRadius:1,borderEndStartRadius:1,borderInlineEnd:1,borderInlineEndWidth:1,borderInlineStart:1,borderInlineStartWidth:1,borderInlineWidth:1,borderLeft:1,borderLeftWidth:1,borderRadius:1,borderRight:1,borderRightWidth:1,borderSpacing:1,borderStartEndRadius:1,borderStartStartRadius:1,borderTop:1,borderTopLeftRadius:1,borderTopRightRadius:1,borderTopWidth:1,borderWidth:1,bottom:1,columnGap:1,columnRule:1,columnRuleWidth:1,columnWidth:1,containIntrinsicSize:1,flexBasis:1,fontSize:1,gap:1,gridAutoColumns:1,gridAutoRows:1,gridTemplateColumns:1,gridTemplateRows:1,height:1,inlineSize:1,inset:1,insetBlock:1,insetBlockEnd:1,insetBlockStart:1,insetInline:1,insetInlineEnd:1,insetInlineStart:1,left:1,letterSpacing:1,margin:1,marginBlock:1,marginBlockEnd:1,marginBlockStart:1,marginBottom:1,marginInline:1,marginInlineEnd:1,marginInlineStart:1,marginLeft:1,marginRight:1,marginTop:1,maxBlockSize:1,maxHeight:1,maxInlineSize:1,maxWidth:1,minBlockSize:1,minHeight:1,minInlineSize:1,minWidth:1,offsetDistance:1,offsetRotate:1,outline:1,outlineOffset:1,outlineWidth:1,overflowClipMargin:1,padding:1,paddingBlock:1,paddingBlockEnd:1,paddingBlockStart:1,paddingBottom:1,paddingInline:1,paddingInlineEnd:1,paddingInlineStart:1,paddingLeft:1,paddingRight:1,paddingTop:1,perspective:1,right:1,rowGap:1,scrollMargin:1,scrollMarginBlock:1,scrollMarginBlockEnd:1,scrollMarginBlockStart:1,scrollMarginBottom:1,scrollMarginInline:1,scrollMarginInlineEnd:1,scrollMarginInlineStart:1,scrollMarginLeft:1,scrollMarginRight:1,scrollMarginTop:1,scrollPadding:1,scrollPaddingBlock:1,scrollPaddingBlockEnd:1,scrollPaddingBlockStart:1,scrollPaddingBottom:1,scrollPaddingInline:1,scrollPaddingInlineEnd:1,scrollPaddingInlineStart:1,scrollPaddingLeft:1,scrollPaddingRight:1,scrollPaddingTop:1,shapeMargin:1,textDecoration:1,textDecorationThickness:1,textIndent:1,textUnderlineOffset:1,top:1,transitionDelay:1,transitionDuration:1,verticalAlign:1,width:1,wordSpacing:1},Sg=e=>String.fromCharCode(e+(e>25?39:97)),lo=e=>(t=>{let n,r="";for(n=Math.abs(t);n>52;n=n/52|0)r=Sg(n%52)+r;return Sg(n%52)+r})(((t,n)=>{let r=n.length;for(;r;)t=33*t^n.charCodeAt(--r);return t})(5381,JSON.stringify(e))>>>0),_s=["themed","global","styled","onevar","resonevar","allvar","inline"],dO=e=>{if(e.href&&!e.href.startsWith(location.origin))return!1;try{return!!e.cssRules}catch{return!1}},fO=e=>{let t;const n=()=>{const{cssRules:o}=t.sheet;return[].map.call(o,(i,s)=>{const{cssText:l}=i;let a="";if(l.startsWith("--sxs"))return"";if(o[s-1]&&(a=o[s-1].cssText).startsWith("--sxs")){if(!i.cssRules.length)return"";for(const u in t.rules)if(t.rules[u].group===i)return`--sxs{--sxs:${[...t.rules[u].cache].join(" ")}}${l}`;return i.cssRules.length?`${a}${l}`:""}return l}).join("")},r=()=>{if(t){const{rules:l,sheet:a}=t;if(!a.deleteRule){for(;Object(Object(a.cssRules)[0]).type===3;)a.cssRules.splice(0,1);a.cssRules=[]}for(const u in l)delete l[u]}const o=Object(e).styleSheets||[];for(const l of o)if(dO(l)){for(let a=0,u=l.cssRules;u[a];++a){const d=Object(u[a]);if(d.type!==1)continue;const f=Object(u[a+1]);if(f.type!==4)continue;++a;const{cssText:p}=d;if(!p.startsWith("--sxs"))continue;const g=p.slice(14,-3).trim().split(/\s+/),m=_s[g[0]];m&&(t||(t={sheet:l,reset:r,rules:{},toString:n}),t.rules[m]={group:f,index:a,cache:new Set(g)})}if(t)break}if(!t){const l=(a,u)=>({type:u,cssRules:[],insertRule(d,f){this.cssRules.splice(f,0,l(d,{import:3,undefined:1}[(d.toLowerCase().match(/^@([a-z]+)/)||[])[1]]||4))},get cssText(){return a==="@media{}"?`@media{${[].map.call(this.cssRules,d=>d.cssText).join("")}}`:a}});t={sheet:e?(e.head||e).appendChild(document.createElement("style")).sheet:l("","text/css"),rules:{},reset:r,toString:n}}const{sheet:i,rules:s}=t;for(let l=_s.length-1;l>=0;--l){const a=_s[l];if(!s[a]){const u=_s[l+1],d=s[u]?s[u].index:i.cssRules.length;i.insertRule("@media{}",d),i.insertRule(`--sxs{--sxs:${l}}`,d),s[a]={group:i.cssRules[d+1],index:d,cache:new Set([l])}}pO(s[a])}};return r(),t},pO=e=>{const t=e.group;let n=t.cssRules.length;e.apply=r=>{try{t.insertRule(r,n),++n}catch{}}},fs=Symbol(),hO=Fi(),Eg=(e,t)=>hO(e,()=>(...n)=>{let r={type:null,composers:new Set};for(const o of n)if(o!=null)if(o[ao]){r.type==null&&(r.type=o[ao].type);for(const i of o[ao].composers)r.composers.add(i)}else o.constructor!==Object||o.$$typeof?r.type==null&&(r.type=o):r.composers.add(mO(o,e));return r.type==null&&(r.type="span"),r.composers.size||r.composers.add(["PJLV",{},[],[],{},[]]),gO(e,r,t)}),mO=({variants:e,compoundVariants:t,defaultVariants:n,...r},o)=>{const i=`${er(o.prefix)}c-${lo(r)}`,s=[],l=[],a=Object.create(null),u=[];for(const p in n)a[p]=String(n[p]);if(typeof e=="object"&&e)for(const p in e){d=a,f=p,rO.call(d,f)||(a[p]="undefined");const g=e[p];for(const m in g){const x={[p]:String(m)};String(m)==="undefined"&&u.push(p);const w=g[m],v=[x,w,!wg(w)];s.push(v)}}var d,f;if(typeof t=="object"&&t)for(const p of t){let{css:g,...m}=p;g=typeof g=="object"&&g||{};for(const w in m)m[w]=String(m[w]);const x=[m,g,!wg(g)];l.push(x)}return[i,r,s,l,a,u]},gO=(e,t,n)=>{const[r,o,i,s]=vO(t.composers),l=typeof t.type=="function"||t.type.$$typeof?(f=>{function p(){for(let g=0;gp.rules[g]={apply:m=>p[fs].push([g,m])}),p})(n):null,a=(l||n).rules,u=`.${r}${o.length>1?`:where(.${o.slice(1).join(".")})`:""}`,d=f=>{f=typeof f=="object"&&f||yO;const{css:p,...g}=f,m={};for(const v in i)if(delete g[v],v in f){let y=f[v];typeof y=="object"&&y?m[v]={"@initial":i[v],...y}:(y=String(y),m[v]=y!=="undefined"||s.has(v)?y:i[v])}else m[v]=i[v];const x=new Set([...o]);for(const[v,y,_,C]of t.composers){n.rules.styled.cache.has(v)||(n.rules.styled.cache.add(v),ci(y,[`.${v}`],[],e,k=>{a.styled.apply(k)}));const E=Cg(_,m,e.media),b=Cg(C,m,e.media,!0);for(const k of E)if(k!==void 0)for(const[j,P,N]of k){const M=`${v}-${lo(P)}-${j}`;x.add(M);const I=(N?n.rules.resonevar:n.rules.onevar).cache,U=N?a.resonevar:a.onevar;I.has(M)||(I.add(M),ci(P,[`.${M}`],[],e,z=>{U.apply(z)}))}for(const k of b)if(k!==void 0)for(const[j,P]of k){const N=`${v}-${lo(P)}-${j}`;x.add(N),n.rules.allvar.cache.has(N)||(n.rules.allvar.cache.add(N),ci(P,[`.${N}`],[],e,M=>{a.allvar.apply(M)}))}}if(typeof p=="object"&&p){const v=`${r}-i${lo(p)}-css`;x.add(v),n.rules.inline.cache.has(v)||(n.rules.inline.cache.add(v),ci(p,[`.${v}`],[],e,y=>{a.inline.apply(y)}))}for(const v of String(f.className||"").trim().split(/\s+/))v&&x.add(v);const w=g.className=[...x].join(" ");return{type:t.type,className:w,selector:u,props:g,toString:()=>w,deferredInjector:l}};return Wp(d,{className:r,selector:u,[ao]:t,toString:()=>(n.rules.styled.cache.has(r)||d(),r)})},vO=e=>{let t="";const n=[],r={},o=[];for(const[i,,,,s,l]of e){t===""&&(t=i),n.push(i),o.push(...l);for(const a in s){const u=s[a];(r[a]===void 0||u!=="undefined"||l.includes(u))&&(r[a]=u)}}return[t,n,r,new Set(o)]},Cg=(e,t,n,r)=>{const o=[];e:for(let[i,s,l]of e){if(l)continue;let a,u=0,d=!1;for(a in i){const f=i[a];let p=t[a];if(p!==f){if(typeof p!="object"||!p)continue e;{let g,m,x=0;for(const w in p){if(f===String(p[w])){if(w!=="@initial"){const v=w.slice(1);(m=m||[]).push(v in n?n[v]:w.replace(/^@media ?/,"")),d=!0}u+=x,g=!0}++x}if(m&&m.length&&(s={["@media "+m.join(", ")]:s}),!g)continue e}}}(o[u]=o[u]||[]).push([r?"cv":`${a}-${i[a]}`,s,d])}return o},yO={},xO=Fi(),wO=(e,t)=>xO(e,()=>(...n)=>{const r=()=>{for(let o of n){o=typeof o=="object"&&o||{};let i=lo(o);if(!t.rules.global.cache.has(i)){if(t.rules.global.cache.add(i),"@import"in o){let s=[].indexOf.call(t.sheet.cssRules,t.rules.themed.group)-1;for(let l of[].concat(o["@import"]))l=l.includes('"')||l.includes("'")?l:`"${l}"`,t.sheet.insertRule(`@import ${l};`,s++);delete o["@import"]}ci(o,[],[],e,s=>{t.rules.global.apply(s)})}}return""};return Wp(r,{toString:r})}),_O=Fi(),bO=(e,t)=>_O(e,()=>n=>{const r=`${er(e.prefix)}k-${lo(n)}`,o=()=>{if(!t.rules.global.cache.has(r)){t.rules.global.cache.add(r);const i=[];ci(n,[],[],e,l=>i.push(l));const s=`@keyframes ${r}{${i.join("")}}`;t.rules.global.apply(s)}return r};return Wp(o,{get name(){return o()},toString:o})}),SO=class{constructor(e,t,n,r){this.token=e==null?"":String(e),this.value=t==null?"":String(t),this.scale=n==null?"":String(n),this.prefix=r==null?"":String(r)}get computedValue(){return"var("+this.variable+")"}get variable(){return"--"+er(this.prefix)+er(this.scale)+this.token}toString(){return this.computedValue}},EO=Fi(),CO=(e,t)=>EO(e,()=>(n,r)=>{r=typeof n=="object"&&n||Object(r);const o=`.${n=(n=typeof n=="string"?n:"")||`${er(e.prefix)}t-${lo(r)}`}`,i={},s=[];for(const a in r){i[a]={};for(const u in r[a]){const d=`--${er(e.prefix)}${a}-${u}`,f=yx(String(r[a][u]),e.prefix,a);i[a][u]=new SO(u,f,a,e.prefix),s.push(`${d}:${f}`)}}const l=()=>{if(s.length&&!t.rules.themed.cache.has(n)){t.rules.themed.cache.add(n);const a=`${r===e.theme?":root,":""}.${n}{${s.join(";")}}`;t.rules.themed.apply(a)}return n};return{...i,get className(){return l()},selector:o,toString:l}}),kO=Fi(),jO=Fi(),$O=e=>{const t=(n=>{let r=!1;const o=kO(n,i=>{r=!0;const s="prefix"in(i=typeof i=="object"&&i||{})?String(i.prefix):"",l=typeof i.media=="object"&&i.media||{},a=typeof i.root=="object"?i.root||null:globalThis.document||null,u=typeof i.theme=="object"&&i.theme||{},d={prefix:s,media:l,theme:u,themeMap:typeof i.themeMap=="object"&&i.themeMap||{...tO},utils:typeof i.utils=="object"&&i.utils||{}},f=fO(a),p={css:Eg(d,f),globalCss:wO(d,f),keyframes:bO(d,f),createTheme:CO(d,f),reset(){f.reset(),p.theme.toString()},theme:{},sheet:f,config:d,prefix:s,getCssText:f.toString,toString:f.toString};return String(p.theme=p.createTheme(u)),p});return r||o.reset(),o})(e);return t.styled=(({config:n,sheet:r})=>jO(n,()=>{const o=Eg(n,r);return(...i)=>{const s=o(...i),l=s[ao].type,a=S.forwardRef((u,d)=>{const f=u&&u.as||l,{props:p,deferredInjector:g}=s(u);return delete p.as,p.ref=d,g?S.createElement(S.Fragment,null,S.createElement(f,p),S.createElement(g,null)):S.createElement(f,p)});return a.className=s.className,a.displayName=`Styled.${l.displayName||l.name||l}`,a.selector=s.selector,a.toString=()=>s.selector,a[ao]=s[ao],a}}))(t),t};function RO(e,t,n){return Math.max(t,Math.min(e,n))}const ft={toVector(e,t){return e===void 0&&(e=t),Array.isArray(e)?e:[e,e]},add(e,t){return[e[0]+t[0],e[1]+t[1]]},sub(e,t){return[e[0]-t[0],e[1]-t[1]]},addTo(e,t){e[0]+=t[0],e[1]+=t[1]},subTo(e,t){e[0]-=t[0],e[1]-=t[1]}};function kg(e,t,n){return t===0||Math.abs(t)===1/0?Math.pow(e,n*5):e*t*n/(t+n*e)}function jg(e,t,n,r=.15){return r===0?RO(e,t,n):en?+kg(e-n,n-t,r)+n:e}function TO(e,[t,n],[r,o]){const[[i,s],[l,a]]=e;return[jg(t,i,s,r),jg(n,l,a,o)]}function NO(e,t){if(typeof e!="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function PO(e){var t=NO(e,"string");return typeof t=="symbol"?t:String(t)}function Et(e,t,n){return t=PO(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function $g(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function Ne(e){for(var t=1;t{var n,r;return t.target===e.currentTarget||((n=e.currentTarget)===null||n===void 0||(r=n.contains)===null||r===void 0?void 0:r.call(n,t.target))})}function zO(e){return e.type==="touchend"||e.type==="touchcancel"?e.changedTouches:e.targetTouches}function _x(e){return Jc(e)?zO(e)[0]:e}function BO(e){return FO(e).map(t=>t.identifier)}function Yu(e){const t=_x(e);return Jc(e)?t.identifier:t.pointerId}function Tg(e){const t=_x(e);return[t.clientX,t.clientY]}function UO(e){const t={};if("buttons"in e&&(t.buttons=e.buttons),"shiftKey"in e){const{shiftKey:n,altKey:r,metaKey:o,ctrlKey:i}=e;Object.assign(t,{shiftKey:n,altKey:r,metaKey:o,ctrlKey:i})}return t}function pc(e,...t){return typeof e=="function"?e(...t):e}function HO(){}function WO(...e){return e.length===0?HO:e.length===1?e[0]:function(){let t;for(const n of e)t=n.apply(this,arguments)||t;return t}}function Ng(e,t){return Object.assign({},t,e||{})}const VO=32;class GO{constructor(t,n,r){this.ctrl=t,this.args=n,this.key=r,this.state||(this.state={},this.computeValues([0,0]),this.computeInitial(),this.init&&this.init(),this.reset())}get state(){return this.ctrl.state[this.key]}set state(t){this.ctrl.state[this.key]=t}get shared(){return this.ctrl.state.shared}get eventStore(){return this.ctrl.gestureEventStores[this.key]}get timeoutStore(){return this.ctrl.gestureTimeoutStores[this.key]}get config(){return this.ctrl.config[this.key]}get sharedConfig(){return this.ctrl.config.shared}get handler(){return this.ctrl.handlers[this.key]}reset(){const{state:t,shared:n,ingKey:r,args:o}=this;n[r]=t._active=t.active=t._blocked=t._force=!1,t._step=[!1,!1],t.intentional=!1,t._movement=[0,0],t._distance=[0,0],t._direction=[0,0],t._delta=[0,0],t._bounds=[[-1/0,1/0],[-1/0,1/0]],t.args=o,t.axis=void 0,t.memo=void 0,t.elapsedTime=t.timeDelta=0,t.direction=[0,0],t.distance=[0,0],t.overflow=[0,0],t._movementBound=[!1,!1],t.velocity=[0,0],t.movement=[0,0],t.delta=[0,0],t.timeStamp=0}start(t){const n=this.state,r=this.config;n._active||(this.reset(),this.computeInitial(),n._active=!0,n.target=t.target,n.currentTarget=t.currentTarget,n.lastOffset=r.from?pc(r.from,n):n.offset,n.offset=n.lastOffset,n.startTime=n.timeStamp=t.timeStamp)}computeValues(t){const n=this.state;n._values=t,n.values=this.config.transform(t)}computeInitial(){const t=this.state;t._initial=t._values,t.initial=t.values}compute(t){const{state:n,config:r,shared:o}=this;n.args=this.args;let i=0;if(t&&(n.event=t,r.preventDefault&&t.cancelable&&n.event.preventDefault(),n.type=t.type,o.touches=this.ctrl.pointerIds.size||this.ctrl.touchIds.size,o.locked=!!document.pointerLockElement,Object.assign(o,UO(t)),o.down=o.pressed=o.buttons%2===1||o.touches>0,i=t.timeStamp-n.timeStamp,n.timeStamp=t.timeStamp,n.elapsedTime=n.timeStamp-n.startTime),n._active){const b=n._delta.map(Math.abs);ft.addTo(n._distance,b)}this.axisIntent&&this.axisIntent(t);const[s,l]=n._movement,[a,u]=r.threshold,{_step:d,values:f}=n;if(r.hasCustomTransform?(d[0]===!1&&(d[0]=Math.abs(s)>=a&&f[0]),d[1]===!1&&(d[1]=Math.abs(l)>=u&&f[1])):(d[0]===!1&&(d[0]=Math.abs(s)>=a&&Math.sign(s)*a),d[1]===!1&&(d[1]=Math.abs(l)>=u&&Math.sign(l)*u)),n.intentional=d[0]!==!1||d[1]!==!1,!n.intentional)return;const p=[0,0];if(r.hasCustomTransform){const[b,k]=f;p[0]=d[0]!==!1?b-d[0]:0,p[1]=d[1]!==!1?k-d[1]:0}else p[0]=d[0]!==!1?s-d[0]:0,p[1]=d[1]!==!1?l-d[1]:0;this.restrictToAxis&&!n._blocked&&this.restrictToAxis(p);const g=n.offset,m=n._active&&!n._blocked||n.active;m&&(n.first=n._active&&!n.active,n.last=!n._active&&n.active,n.active=o[this.ingKey]=n._active,t&&(n.first&&("bounds"in r&&(n._bounds=pc(r.bounds,n)),this.setup&&this.setup()),n.movement=p,this.computeOffset()));const[x,w]=n.offset,[[v,y],[_,C]]=n._bounds;n.overflow=[xy?1:0,w<_?-1:w>C?1:0],n._movementBound[0]=n.overflow[0]?n._movementBound[0]===!1?n._movement[0]:n._movementBound[0]:!1,n._movementBound[1]=n.overflow[1]?n._movementBound[1]===!1?n._movement[1]:n._movementBound[1]:!1;const E=n._active?r.rubberband||[0,0]:[0,0];if(n.offset=TO(n._bounds,n.offset,E),n.delta=ft.sub(n.offset,g),this.computeMovement(),m&&(!n.last||i>VO)){n.delta=ft.sub(n.offset,g);const b=n.delta.map(Math.abs);ft.addTo(n.distance,b),n.direction=n.delta.map(Math.sign),n._direction=n._delta.map(Math.sign),!n.first&&i>0&&(n.velocity=[b[0]/i,b[1]/i],n.timeDelta=i)}}emit(){const t=this.state,n=this.shared,r=this.config;if(t._active||this.clean(),(t._blocked||!t.intentional)&&!t._force&&!r.triggerAllEvents)return;const o=this.handler(Ne(Ne(Ne({},n),t),{},{[this.aliasKey]:t.values}));o!==void 0&&(t.memo=o)}clean(){this.eventStore.clean(),this.timeoutStore.clean()}}function KO([e,t],n){const r=Math.abs(e),o=Math.abs(t);if(r>o&&r>n)return"x";if(o>r&&o>n)return"y"}class qO extends GO{constructor(...t){super(...t),Et(this,"aliasKey","xy")}reset(){super.reset(),this.state.axis=void 0}init(){this.state.offset=[0,0],this.state.lastOffset=[0,0]}computeOffset(){this.state.offset=ft.add(this.state.lastOffset,this.state.movement)}computeMovement(){this.state.movement=ft.sub(this.state.offset,this.state.lastOffset)}axisIntent(t){const n=this.state,r=this.config;if(!n.axis&&t){const o=typeof r.axisThreshold=="object"?r.axisThreshold[wx(t)]:r.axisThreshold;n.axis=KO(n._movement,o)}n._blocked=(r.lockDirection||!!r.axis)&&!n.axis||!!r.axis&&r.axis!==n.axis}restrictToAxis(t){if(this.config.axis||this.config.lockDirection)switch(this.state.axis){case"x":t[1]=0;break;case"y":t[0]=0;break}}}const YO=e=>e,Pg=.15,bx={enabled(e=!0){return e},eventOptions(e,t,n){return Ne(Ne({},n.shared.eventOptions),e)},preventDefault(e=!1){return e},triggerAllEvents(e=!1){return e},rubberband(e=0){switch(e){case!0:return[Pg,Pg];case!1:return[0,0];default:return ft.toVector(e)}},from(e){if(typeof e=="function")return e;if(e!=null)return ft.toVector(e)},transform(e,t,n){const r=e||n.shared.transform;return this.hasCustomTransform=!!r,r||YO},threshold(e){return ft.toVector(e,0)}},QO=0,ba=Ne(Ne({},bx),{},{axis(e,t,{axis:n}){if(this.lockDirection=n==="lock",!this.lockDirection)return n},axisThreshold(e=QO){return e},bounds(e={}){if(typeof e=="function")return i=>ba.bounds(e(i));if("current"in e)return()=>e.current;if(typeof HTMLElement=="function"&&e instanceof HTMLElement)return e;const{left:t=-1/0,right:n=1/0,top:r=-1/0,bottom:o=1/0}=e;return[[t,n],[r,o]]}}),Og={ArrowRight:(e,t=1)=>[e*t,0],ArrowLeft:(e,t=1)=>[-1*e*t,0],ArrowUp:(e,t=1)=>[0,-1*e*t],ArrowDown:(e,t=1)=>[0,e*t]};class XO extends qO{constructor(...t){super(...t),Et(this,"ingKey","dragging")}reset(){super.reset();const t=this.state;t._pointerId=void 0,t._pointerActive=!1,t._keyboardActive=!1,t._preventScroll=!1,t._delayed=!1,t.swipe=[0,0],t.tap=!1,t.canceled=!1,t.cancel=this.cancel.bind(this)}setup(){const t=this.state;if(t._bounds instanceof HTMLElement){const n=t._bounds.getBoundingClientRect(),r=t.currentTarget.getBoundingClientRect(),o={left:n.left-r.left+t.offset[0],right:n.right-r.right+t.offset[0],top:n.top-r.top+t.offset[1],bottom:n.bottom-r.bottom+t.offset[1]};t._bounds=ba.bounds(o)}}cancel(){const t=this.state;t.canceled||(t.canceled=!0,t._active=!1,setTimeout(()=>{this.compute(),this.emit()},0))}setActive(){this.state._active=this.state._pointerActive||this.state._keyboardActive}clean(){this.pointerClean(),this.state._pointerActive=!1,this.state._keyboardActive=!1,super.clean()}pointerDown(t){const n=this.config,r=this.state;if(t.buttons!=null&&(Array.isArray(n.pointerButtons)?!n.pointerButtons.includes(t.buttons):n.pointerButtons!==-1&&n.pointerButtons!==t.buttons))return;const o=this.ctrl.setEventIds(t);n.pointerCapture&&t.target.setPointerCapture(t.pointerId),!(o&&o.size>1&&r._pointerActive)&&(this.start(t),this.setupPointer(t),r._pointerId=Yu(t),r._pointerActive=!0,this.computeValues(Tg(t)),this.computeInitial(),n.preventScrollAxis&&wx(t)!=="mouse"?(r._active=!1,this.setupScrollPrevention(t)):n.delay>0?(this.setupDelayTrigger(t),n.triggerAllEvents&&(this.compute(t),this.emit())):this.startPointerDrag(t))}startPointerDrag(t){const n=this.state;n._active=!0,n._preventScroll=!0,n._delayed=!1,this.compute(t),this.emit()}pointerMove(t){const n=this.state,r=this.config;if(!n._pointerActive)return;const o=Yu(t);if(n._pointerId!==void 0&&o!==n._pointerId)return;const i=Tg(t);if(document.pointerLockElement===t.target?n._delta=[t.movementX,t.movementY]:(n._delta=ft.sub(i,n._values),this.computeValues(i)),ft.addTo(n._movement,n._delta),this.compute(t),n._delayed&&n.intentional){this.timeoutStore.remove("dragDelay"),n.active=!1,this.startPointerDrag(t);return}if(r.preventScrollAxis&&!n._preventScroll)if(n.axis)if(n.axis===r.preventScrollAxis||r.preventScrollAxis==="xy"){n._active=!1,this.clean();return}else{this.timeoutStore.remove("startPointerDrag"),this.startPointerDrag(t);return}else return;this.emit()}pointerUp(t){this.ctrl.setEventIds(t);try{this.config.pointerCapture&&t.target.hasPointerCapture(t.pointerId)&&t.target.releasePointerCapture(t.pointerId)}catch{}const n=this.state,r=this.config;if(!n._active||!n._pointerActive)return;const o=Yu(t);if(n._pointerId!==void 0&&o!==n._pointerId)return;this.state._pointerActive=!1,this.setActive(),this.compute(t);const[i,s]=n._distance;if(n.tap=i<=r.tapsThreshold&&s<=r.tapsThreshold,n.tap&&r.filterTaps)n._force=!0;else{const[l,a]=n._delta,[u,d]=n._movement,[f,p]=r.swipe.velocity,[g,m]=r.swipe.distance,x=r.swipe.duration;if(n.elapsedTimef&&Math.abs(u)>g&&(n.swipe[0]=Math.sign(l)),v>p&&Math.abs(d)>m&&(n.swipe[1]=Math.sign(a))}}this.emit()}pointerClick(t){!this.state.tap&&t.detail>0&&(t.preventDefault(),t.stopPropagation())}setupPointer(t){const n=this.config,r=n.device;n.pointerLock&&t.currentTarget.requestPointerLock(),n.pointerCapture||(this.eventStore.add(this.sharedConfig.window,r,"change",this.pointerMove.bind(this)),this.eventStore.add(this.sharedConfig.window,r,"end",this.pointerUp.bind(this)),this.eventStore.add(this.sharedConfig.window,r,"cancel",this.pointerUp.bind(this)))}pointerClean(){this.config.pointerLock&&document.pointerLockElement===this.state.currentTarget&&document.exitPointerLock()}preventScroll(t){this.state._preventScroll&&t.cancelable&&t.preventDefault()}setupScrollPrevention(t){this.state._preventScroll=!1,JO(t);const n=this.eventStore.add(this.sharedConfig.window,"touch","change",this.preventScroll.bind(this),{passive:!1});this.eventStore.add(this.sharedConfig.window,"touch","end",n),this.eventStore.add(this.sharedConfig.window,"touch","cancel",n),this.timeoutStore.add("startPointerDrag",this.startPointerDrag.bind(this),this.config.preventScrollDelay,t)}setupDelayTrigger(t){this.state._delayed=!0,this.timeoutStore.add("dragDelay",()=>{this.state._step=[0,0],this.startPointerDrag(t)},this.config.delay)}keyDown(t){const n=Og[t.key];if(n){const r=this.state,o=t.shiftKey?10:t.altKey?.1:1;this.start(t),r._delta=n(this.config.keyboardDisplacement,o),r._keyboardActive=!0,ft.addTo(r._movement,r._delta),this.compute(t),this.emit()}}keyUp(t){t.key in Og&&(this.state._keyboardActive=!1,this.setActive(),this.compute(t),this.emit())}bind(t){const n=this.config.device;t(n,"start",this.pointerDown.bind(this)),this.config.pointerCapture&&(t(n,"change",this.pointerMove.bind(this)),t(n,"end",this.pointerUp.bind(this)),t(n,"cancel",this.pointerUp.bind(this)),t("lostPointerCapture","",this.pointerUp.bind(this))),this.config.keys&&(t("key","down",this.keyDown.bind(this)),t("key","up",this.keyUp.bind(this))),this.config.filterTaps&&t("click","",this.pointerClick.bind(this),{capture:!0,passive:!1})}}function JO(e){"persist"in e&&typeof e.persist=="function"&&e.persist()}const Sa=typeof window<"u"&&window.document&&window.document.createElement;function Sx(){return Sa&&"ontouchstart"in window}function ZO(){return Sx()||Sa&&window.navigator.maxTouchPoints>1}function eA(){return Sa&&"onpointerdown"in window}function tA(){return Sa&&"exitPointerLock"in window.document}function nA(){try{return"constructor"in GestureEvent}catch{return!1}}const Kt={isBrowser:Sa,gesture:nA(),touch:Sx(),touchscreen:ZO(),pointer:eA(),pointerLock:tA()},rA=250,oA=180,iA=.5,sA=50,aA=250,lA=10,Ag={mouse:0,touch:0,pen:8},cA=Ne(Ne({},ba),{},{device(e,t,{pointer:{touch:n=!1,lock:r=!1,mouse:o=!1}={}}){return this.pointerLock=r&&Kt.pointerLock,Kt.touch&&n?"touch":this.pointerLock?"mouse":Kt.pointer&&!o?"pointer":Kt.touch?"touch":"mouse"},preventScrollAxis(e,t,{preventScroll:n}){if(this.preventScrollDelay=typeof n=="number"?n:n||n===void 0&&e?rA:void 0,!(!Kt.touchscreen||n===!1))return e||(n!==void 0?"y":void 0)},pointerCapture(e,t,{pointer:{capture:n=!0,buttons:r=1,keys:o=!0}={}}){return this.pointerButtons=r,this.keys=o,!this.pointerLock&&this.device==="pointer"&&n},threshold(e,t,{filterTaps:n=!1,tapsThreshold:r=3,axis:o=void 0}){const i=ft.toVector(e,n?r:o?1:0);return this.filterTaps=n,this.tapsThreshold=r,i},swipe({velocity:e=iA,distance:t=sA,duration:n=aA}={}){return{velocity:this.transform(ft.toVector(e)),distance:this.transform(ft.toVector(t)),duration:n}},delay(e=0){switch(e){case!0:return oA;case!1:return 0;default:return e}},axisThreshold(e){return e?Ne(Ne({},Ag),e):Ag},keyboardDisplacement(e=lA){return e}});Ne(Ne({},bx),{},{device(e,t,{shared:n,pointer:{touch:r=!1}={}}){if(n.target&&!Kt.touch&&Kt.gesture)return"gesture";if(Kt.touch&&r)return"touch";if(Kt.touchscreen){if(Kt.pointer)return"pointer";if(Kt.touch)return"touch"}},bounds(e,t,{scaleBounds:n={},angleBounds:r={}}){const o=s=>{const l=Ng(pc(n,s),{min:-1/0,max:1/0});return[l.min,l.max]},i=s=>{const l=Ng(pc(r,s),{min:-1/0,max:1/0});return[l.min,l.max]};return typeof n!="function"&&typeof r!="function"?[o(),i()]:s=>[o(s),i(s)]},threshold(e,t,n){return this.lockDirection=n.axis==="lock",ft.toVector(e,this.lockDirection?[.1,3]:0)},modifierKey(e){return e===void 0?"ctrlKey":e},pinchOnWheel(e=!0){return e}});Ne(Ne({},ba),{},{mouseOnly:(e=!0)=>e});Ne(Ne({},ba),{},{mouseOnly:(e=!0)=>e});const Ex=new Map,mf=new Map;function uA(e){Ex.set(e.key,e.engine),mf.set(e.key,e.resolver)}const dA={key:"drag",engine:XO,resolver:cA};function fA(e,t){if(e==null)return{};var n={},r=Object.keys(e),o,i;for(i=0;i=0)&&(n[o]=e[o]);return n}function pA(e,t){if(e==null)return{};var n=fA(e,t),r,o;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}const hA={target(e){if(e)return()=>"current"in e?e.current:e},enabled(e=!0){return e},window(e=Kt.isBrowser?window:void 0){return e},eventOptions({passive:e=!0,capture:t=!1}={}){return{passive:e,capture:t}},transform(e){return e}},mA=["target","eventOptions","window","enabled","transform"];function Nl(e={},t){const n={};for(const[r,o]of Object.entries(t))switch(typeof o){case"function":n[r]=o.call(n,e[r],r,e);break;case"object":n[r]=Nl(e[r],o);break;case"boolean":o&&(n[r]=e[r]);break}return n}function gA(e,t,n={}){const r=e,{target:o,eventOptions:i,window:s,enabled:l,transform:a}=r,u=pA(r,mA);if(n.shared=Nl({target:o,eventOptions:i,window:s,enabled:l,transform:a},hA),t){const d=mf.get(t);n[t]=Nl(Ne({shared:n.shared},u),d)}else for(const d in u){const f=mf.get(d);f&&(n[d]=Nl(Ne({shared:n.shared},u[d]),f))}return n}class Cx{constructor(t,n){Et(this,"_listeners",new Set),this._ctrl=t,this._gestureKey=n}add(t,n,r,o,i){const s=this._listeners,l=LO(n,r),a=this._gestureKey?this._ctrl.config[this._gestureKey].eventOptions:{},u=Ne(Ne({},a),i);t.addEventListener(l,o,u);const d=()=>{t.removeEventListener(l,o,u),s.delete(d)};return s.add(d),d}clean(){this._listeners.forEach(t=>t()),this._listeners.clear()}}class vA{constructor(){Et(this,"_timeouts",new Map)}add(t,n,r=140,...o){this.remove(t),this._timeouts.set(t,window.setTimeout(n,r,...o))}remove(t){const n=this._timeouts.get(t);n&&window.clearTimeout(n)}clean(){this._timeouts.forEach(t=>void window.clearTimeout(t)),this._timeouts.clear()}}class yA{constructor(t){Et(this,"gestures",new Set),Et(this,"_targetEventStore",new Cx(this)),Et(this,"gestureEventStores",{}),Et(this,"gestureTimeoutStores",{}),Et(this,"handlers",{}),Et(this,"config",{}),Et(this,"pointerIds",new Set),Et(this,"touchIds",new Set),Et(this,"state",{shared:{shiftKey:!1,metaKey:!1,ctrlKey:!1,altKey:!1}}),xA(this,t)}setEventIds(t){if(Jc(t))return this.touchIds=new Set(BO(t)),this.touchIds;if("pointerId"in t)return t.type==="pointerup"||t.type==="pointercancel"?this.pointerIds.delete(t.pointerId):t.type==="pointerdown"&&this.pointerIds.add(t.pointerId),this.pointerIds}applyHandlers(t,n){this.handlers=t,this.nativeHandlers=n}applyConfig(t,n){this.config=gA(t,n,this.config)}clean(){this._targetEventStore.clean();for(const t of this.gestures)this.gestureEventStores[t].clean(),this.gestureTimeoutStores[t].clean()}effect(){return this.config.shared.target&&this.bind(),()=>this._targetEventStore.clean()}bind(...t){const n=this.config.shared,r={};let o;if(!(n.target&&(o=n.target(),!o))){if(n.enabled){for(const s of this.gestures){const l=this.config[s],a=Mg(r,l.eventOptions,!!o);if(l.enabled){const u=Ex.get(s);new u(this,t,s).bind(a)}}const i=Mg(r,n.eventOptions,!!o);for(const s in this.nativeHandlers)i(s,"",l=>this.nativeHandlers[s](Ne(Ne({},this.state.shared),{},{event:l,args:t})),void 0,!0)}for(const i in r)r[i]=WO(...r[i]);if(!o)return r;for(const i in r){const{device:s,capture:l,passive:a}=IO(i);this._targetEventStore.add(o,s,"",r[i],{capture:l,passive:a})}}}}function Ho(e,t){e.gestures.add(t),e.gestureEventStores[t]=new Cx(e,t),e.gestureTimeoutStores[t]=new vA}function xA(e,t){t.drag&&Ho(e,"drag"),t.wheel&&Ho(e,"wheel"),t.scroll&&Ho(e,"scroll"),t.move&&Ho(e,"move"),t.pinch&&Ho(e,"pinch"),t.hover&&Ho(e,"hover")}const Mg=(e,t,n)=>(r,o,i,s={},l=!1)=>{var a,u;const d=(a=s.capture)!==null&&a!==void 0?a:t.capture,f=(u=s.passive)!==null&&u!==void 0?u:t.passive;let p=l?r:MO(r,o,d);n&&f&&(p+="Passive"),e[p]=e[p]||[],e[p].push(i)};function wA(e,t={},n,r){const o=S.useMemo(()=>new yA(e),[]);if(o.applyHandlers(e,r),o.applyConfig(t,n),S.useEffect(o.effect.bind(o)),S.useEffect(()=>o.clean.bind(o),[]),t.target===void 0)return o.bind.bind(o)}function _A(e,t){return uA(dA),wA({drag:e},t||{},"drag")}function Un(e,t,{checkForDefaultPrevented:n=!0}={}){return function(o){if(e==null||e(o),n===!1||!o.defaultPrevented)return t==null?void 0:t(o)}}function kx(e,t=[]){let n=[];function r(i,s){const l=h.createContext(s),a=n.length;n=[...n,s];function u(f){const{scope:p,children:g,...m}=f,x=(p==null?void 0:p[e][a])||l,w=h.useMemo(()=>m,Object.values(m));return h.createElement(x.Provider,{value:w},g)}function d(f,p){const g=(p==null?void 0:p[e][a])||l,m=h.useContext(g);if(m)return m;if(s!==void 0)return s;throw new Error(`\`${f}\` must be used within \`${i}\``)}return u.displayName=i+"Provider",[u,d]}const o=()=>{const i=n.map(s=>h.createContext(s));return function(l){const a=(l==null?void 0:l[e])||i;return h.useMemo(()=>({[`__scope${e}`]:{...l,[e]:a}}),[l,a])}};return o.scopeName=e,[r,bA(o,...t)]}function bA(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(i){const s=r.reduce((l,{useScope:a,scopeName:u})=>{const f=a(i)[`__scope${u}`];return{...l,...f}},{});return h.useMemo(()=>({[`__scope${t.scopeName}`]:s}),[s])}};return n.scopeName=t.scopeName,n}function zi(e){const t=h.useRef(e);return h.useEffect(()=>{t.current=e}),h.useMemo(()=>(...n)=>{var r;return(r=t.current)===null||r===void 0?void 0:r.call(t,...n)},[])}function SA(e,t=globalThis==null?void 0:globalThis.document){const n=zi(e);h.useEffect(()=>{const r=o=>{o.key==="Escape"&&n(o)};return t.addEventListener("keydown",r),()=>t.removeEventListener("keydown",r)},[n,t])}const gf="dismissableLayer.update",EA="dismissableLayer.pointerDownOutside",CA="dismissableLayer.focusOutside";let Dg;const kA=h.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),jA=h.forwardRef((e,t)=>{var n;const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:o,onPointerDownOutside:i,onFocusOutside:s,onInteractOutside:l,onDismiss:a,...u}=e,d=h.useContext(kA),[f,p]=h.useState(null),g=(n=f==null?void 0:f.ownerDocument)!==null&&n!==void 0?n:globalThis==null?void 0:globalThis.document,[,m]=h.useState({}),x=Li(t,j=>p(j)),w=Array.from(d.layers),[v]=[...d.layersWithOutsidePointerEventsDisabled].slice(-1),y=w.indexOf(v),_=f?w.indexOf(f):-1,C=d.layersWithOutsidePointerEventsDisabled.size>0,E=_>=y,b=$A(j=>{const P=j.target,N=[...d.branches].some(M=>M.contains(P));!E||N||(i==null||i(j),l==null||l(j),j.defaultPrevented||a==null||a())},g),k=RA(j=>{const P=j.target;[...d.branches].some(M=>M.contains(P))||(s==null||s(j),l==null||l(j),j.defaultPrevented||a==null||a())},g);return SA(j=>{_===d.layers.size-1&&(o==null||o(j),!j.defaultPrevented&&a&&(j.preventDefault(),a()))},g),h.useEffect(()=>{if(f)return r&&(d.layersWithOutsidePointerEventsDisabled.size===0&&(Dg=g.body.style.pointerEvents,g.body.style.pointerEvents="none"),d.layersWithOutsidePointerEventsDisabled.add(f)),d.layers.add(f),Ig(),()=>{r&&d.layersWithOutsidePointerEventsDisabled.size===1&&(g.body.style.pointerEvents=Dg)}},[f,g,r,d]),h.useEffect(()=>()=>{f&&(d.layers.delete(f),d.layersWithOutsidePointerEventsDisabled.delete(f),Ig())},[f,d]),h.useEffect(()=>{const j=()=>m({});return document.addEventListener(gf,j),()=>document.removeEventListener(gf,j)},[]),h.createElement(_o.div,Ve({},u,{ref:x,style:{pointerEvents:C?E?"auto":"none":void 0,...e.style},onFocusCapture:Un(e.onFocusCapture,k.onFocusCapture),onBlurCapture:Un(e.onBlurCapture,k.onBlurCapture),onPointerDownCapture:Un(e.onPointerDownCapture,b.onPointerDownCapture)}))});function $A(e,t=globalThis==null?void 0:globalThis.document){const n=zi(e),r=h.useRef(!1),o=h.useRef(()=>{});return h.useEffect(()=>{const i=l=>{if(l.target&&!r.current){let d=function(){jx(EA,n,u,{discrete:!0})};var a=d;const u={originalEvent:l};l.pointerType==="touch"?(t.removeEventListener("click",o.current),o.current=d,t.addEventListener("click",o.current,{once:!0})):d()}else t.removeEventListener("click",o.current);r.current=!1},s=window.setTimeout(()=>{t.addEventListener("pointerdown",i)},0);return()=>{window.clearTimeout(s),t.removeEventListener("pointerdown",i),t.removeEventListener("click",o.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function RA(e,t=globalThis==null?void 0:globalThis.document){const n=zi(e),r=h.useRef(!1);return h.useEffect(()=>{const o=i=>{i.target&&!r.current&&jx(CA,n,{originalEvent:i},{discrete:!1})};return t.addEventListener("focusin",o),()=>t.removeEventListener("focusin",o)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function Ig(){const e=new CustomEvent(gf);document.dispatchEvent(e)}function jx(e,t,n,{discrete:r}){const o=n.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?q3(o,i):o.dispatchEvent(i)}const Ti=globalThis!=null&&globalThis.document?h.useLayoutEffect:()=>{},TA=Jv["useId".toString()]||(()=>{});let NA=0;function PA(e){const[t,n]=h.useState(TA());return Ti(()=>{e||n(r=>r??String(NA++))},[e]),e||(t?`radix-${t}`:"")}const OA=["top","right","bottom","left"],Lr=Math.min,At=Math.max,hc=Math.round,rl=Math.floor,Fr=e=>({x:e,y:e}),AA={left:"right",right:"left",bottom:"top",top:"bottom"},MA={start:"end",end:"start"};function vf(e,t,n){return At(e,Lr(t,n))}function tr(e,t){return typeof e=="function"?e(t):e}function nr(e){return e.split("-")[0]}function Bi(e){return e.split("-")[1]}function Vp(e){return e==="x"?"y":"x"}function Gp(e){return e==="y"?"height":"width"}function Ui(e){return["top","bottom"].includes(nr(e))?"y":"x"}function Kp(e){return Vp(Ui(e))}function DA(e,t,n){n===void 0&&(n=!1);const r=Bi(e),o=Kp(e),i=Gp(o);let s=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(s=mc(s)),[s,mc(s)]}function IA(e){const t=mc(e);return[yf(e),t,yf(t)]}function yf(e){return e.replace(/start|end/g,t=>MA[t])}function LA(e,t,n){const r=["left","right"],o=["right","left"],i=["top","bottom"],s=["bottom","top"];switch(e){case"top":case"bottom":return n?t?o:r:t?r:o;case"left":case"right":return t?i:s;default:return[]}}function FA(e,t,n,r){const o=Bi(e);let i=LA(nr(e),n==="start",r);return o&&(i=i.map(s=>s+"-"+o),t&&(i=i.concat(i.map(yf)))),i}function mc(e){return e.replace(/left|right|bottom|top/g,t=>AA[t])}function zA(e){return{top:0,right:0,bottom:0,left:0,...e}}function $x(e){return typeof e!="number"?zA(e):{top:e,right:e,bottom:e,left:e}}function gc(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}function Lg(e,t,n){let{reference:r,floating:o}=e;const i=Ui(t),s=Kp(t),l=Gp(s),a=nr(t),u=i==="y",d=r.x+r.width/2-o.width/2,f=r.y+r.height/2-o.height/2,p=r[l]/2-o[l]/2;let g;switch(a){case"top":g={x:d,y:r.y-o.height};break;case"bottom":g={x:d,y:r.y+r.height};break;case"right":g={x:r.x+r.width,y:f};break;case"left":g={x:r.x-o.width,y:f};break;default:g={x:r.x,y:r.y}}switch(Bi(t)){case"start":g[s]-=p*(n&&u?-1:1);break;case"end":g[s]+=p*(n&&u?-1:1);break}return g}const BA=async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:s}=n,l=i.filter(Boolean),a=await(s.isRTL==null?void 0:s.isRTL(t));let u=await s.getElementRects({reference:e,floating:t,strategy:o}),{x:d,y:f}=Lg(u,r,a),p=r,g={},m=0;for(let x=0;x({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:o,rects:i,platform:s,elements:l,middlewareData:a}=t,{element:u,padding:d=0}=tr(e,t)||{};if(u==null)return{};const f=$x(d),p={x:n,y:r},g=Kp(o),m=Gp(g),x=await s.getDimensions(u),w=g==="y",v=w?"top":"left",y=w?"bottom":"right",_=w?"clientHeight":"clientWidth",C=i.reference[m]+i.reference[g]-p[g]-i.floating[m],E=p[g]-i.reference[g],b=await(s.getOffsetParent==null?void 0:s.getOffsetParent(u));let k=b?b[_]:0;(!k||!await(s.isElement==null?void 0:s.isElement(b)))&&(k=l.floating[_]||i.floating[m]);const j=C/2-E/2,P=k/2-x[m]/2-1,N=Lr(f[v],P),M=Lr(f[y],P),I=N,U=k-x[m]-M,z=k/2-x[m]/2+j,q=vf(I,z,U),K=!a.arrow&&Bi(o)!=null&&z!=q&&i.reference[m]/2-(zI<=0)){var P,N;const I=(((P=i.flip)==null?void 0:P.index)||0)+1,U=E[I];if(U)return{data:{index:I,overflows:j},reset:{placement:U}};let z=(N=j.filter(q=>q.overflows[0]<=0).sort((q,K)=>q.overflows[1]-K.overflows[1])[0])==null?void 0:N.placement;if(!z)switch(g){case"bestFit":{var M;const q=(M=j.map(K=>[K.placement,K.overflows.filter(Y=>Y>0).reduce((Y,L)=>Y+L,0)]).sort((K,Y)=>K[1]-Y[1])[0])==null?void 0:M[0];q&&(z=q);break}case"initialPlacement":z=l;break}if(o!==z)return{reset:{placement:z}}}return{}}}};function zg(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function Bg(e){return OA.some(t=>e[t]>=0)}const HA=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...o}=tr(e,t);switch(r){case"referenceHidden":{const i=await la(t,{...o,elementContext:"reference"}),s=zg(i,n.reference);return{data:{referenceHiddenOffsets:s,referenceHidden:Bg(s)}}}case"escaped":{const i=await la(t,{...o,altBoundary:!0}),s=zg(i,n.floating);return{data:{escapedOffsets:s,escaped:Bg(s)}}}default:return{}}}}};async function WA(e,t){const{placement:n,platform:r,elements:o}=e,i=await(r.isRTL==null?void 0:r.isRTL(o.floating)),s=nr(n),l=Bi(n),a=Ui(n)==="y",u=["left","top"].includes(s)?-1:1,d=i&&a?-1:1,f=tr(t,e);let{mainAxis:p,crossAxis:g,alignmentAxis:m}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...f};return l&&typeof m=="number"&&(g=l==="end"?m*-1:m),a?{x:g*d,y:p*u}:{x:p*u,y:g*d}}const VA=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:o,y:i,placement:s,middlewareData:l}=t,a=await WA(t,e);return s===((n=l.offset)==null?void 0:n.placement)&&(r=l.arrow)!=null&&r.alignmentOffset?{}:{x:o+a.x,y:i+a.y,data:{...a,placement:s}}}}},GA=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o}=t,{mainAxis:i=!0,crossAxis:s=!1,limiter:l={fn:w=>{let{x:v,y}=w;return{x:v,y}}},...a}=tr(e,t),u={x:n,y:r},d=await la(t,a),f=Ui(nr(o)),p=Vp(f);let g=u[p],m=u[f];if(i){const w=p==="y"?"top":"left",v=p==="y"?"bottom":"right",y=g+d[w],_=g-d[v];g=vf(y,g,_)}if(s){const w=f==="y"?"top":"left",v=f==="y"?"bottom":"right",y=m+d[w],_=m-d[v];m=vf(y,m,_)}const x=l.fn({...t,[p]:g,[f]:m});return{...x,data:{x:x.x-n,y:x.y-r}}}}},KA=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:o,rects:i,middlewareData:s}=t,{offset:l=0,mainAxis:a=!0,crossAxis:u=!0}=tr(e,t),d={x:n,y:r},f=Ui(o),p=Vp(f);let g=d[p],m=d[f];const x=tr(l,t),w=typeof x=="number"?{mainAxis:x,crossAxis:0}:{mainAxis:0,crossAxis:0,...x};if(a){const _=p==="y"?"height":"width",C=i.reference[p]-i.floating[_]+w.mainAxis,E=i.reference[p]+i.reference[_]-w.mainAxis;gE&&(g=E)}if(u){var v,y;const _=p==="y"?"width":"height",C=["top","left"].includes(nr(o)),E=i.reference[f]-i.floating[_]+(C&&((v=s.offset)==null?void 0:v[f])||0)+(C?0:w.crossAxis),b=i.reference[f]+i.reference[_]+(C?0:((y=s.offset)==null?void 0:y[f])||0)-(C?w.crossAxis:0);mb&&(m=b)}return{[p]:g,[f]:m}}}},qA=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){const{placement:n,rects:r,platform:o,elements:i}=t,{apply:s=()=>{},...l}=tr(e,t),a=await la(t,l),u=nr(n),d=Bi(n),f=Ui(n)==="y",{width:p,height:g}=r.floating;let m,x;u==="top"||u==="bottom"?(m=u,x=d===(await(o.isRTL==null?void 0:o.isRTL(i.floating))?"start":"end")?"left":"right"):(x=u,m=d==="end"?"top":"bottom");const w=g-a[m],v=p-a[x],y=!t.middlewareData.shift;let _=w,C=v;if(f){const b=p-a.left-a.right;C=d||y?Lr(v,b):b}else{const b=g-a.top-a.bottom;_=d||y?Lr(w,b):b}if(y&&!d){const b=At(a.left,0),k=At(a.right,0),j=At(a.top,0),P=At(a.bottom,0);f?C=p-2*(b!==0||k!==0?b+k:At(a.left,a.right)):_=g-2*(j!==0||P!==0?j+P:At(a.top,a.bottom))}await s({...t,availableWidth:C,availableHeight:_});const E=await o.getDimensions(i.floating);return p!==E.width||g!==E.height?{reset:{rects:!0}}:{}}}};function zr(e){return Rx(e)?(e.nodeName||"").toLowerCase():"#document"}function It(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function ir(e){var t;return(t=(Rx(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Rx(e){return e instanceof Node||e instanceof It(e).Node}function rr(e){return e instanceof Element||e instanceof It(e).Element}function Nn(e){return e instanceof HTMLElement||e instanceof It(e).HTMLElement}function Ug(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof It(e).ShadowRoot}function Ea(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=en(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(o)}function YA(e){return["table","td","th"].includes(zr(e))}function qp(e){const t=Yp(),n=en(e);return n.transform!=="none"||n.perspective!=="none"||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||["transform","perspective","filter"].some(r=>(n.willChange||"").includes(r))||["paint","layout","strict","content"].some(r=>(n.contain||"").includes(r))}function QA(e){let t=Ni(e);for(;Nn(t)&&!Zc(t);){if(qp(t))return t;t=Ni(t)}return null}function Yp(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Zc(e){return["html","body","#document"].includes(zr(e))}function en(e){return It(e).getComputedStyle(e)}function eu(e){return rr(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Ni(e){if(zr(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Ug(e)&&e.host||ir(e);return Ug(t)?t.host:t}function Tx(e){const t=Ni(e);return Zc(t)?e.ownerDocument?e.ownerDocument.body:e.body:Nn(t)&&Ea(t)?t:Tx(t)}function ca(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const o=Tx(e),i=o===((r=e.ownerDocument)==null?void 0:r.body),s=It(o);return i?t.concat(s,s.visualViewport||[],Ea(o)?o:[],s.frameElement&&n?ca(s.frameElement):[]):t.concat(o,ca(o,[],n))}function Nx(e){const t=en(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=Nn(e),i=o?e.offsetWidth:n,s=o?e.offsetHeight:r,l=hc(n)!==i||hc(r)!==s;return l&&(n=i,r=s),{width:n,height:r,$:l}}function Qp(e){return rr(e)?e:e.contextElement}function wi(e){const t=Qp(e);if(!Nn(t))return Fr(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:i}=Nx(t);let s=(i?hc(n.width):n.width)/r,l=(i?hc(n.height):n.height)/o;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}const XA=Fr(0);function Px(e){const t=It(e);return!Yp()||!t.visualViewport?XA:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function JA(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==It(e)?!1:t}function go(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const o=e.getBoundingClientRect(),i=Qp(e);let s=Fr(1);t&&(r?rr(r)&&(s=wi(r)):s=wi(e));const l=JA(i,n,r)?Px(i):Fr(0);let a=(o.left+l.x)/s.x,u=(o.top+l.y)/s.y,d=o.width/s.x,f=o.height/s.y;if(i){const p=It(i),g=r&&rr(r)?It(r):r;let m=p.frameElement;for(;m&&r&&g!==p;){const x=wi(m),w=m.getBoundingClientRect(),v=en(m),y=w.left+(m.clientLeft+parseFloat(v.paddingLeft))*x.x,_=w.top+(m.clientTop+parseFloat(v.paddingTop))*x.y;a*=x.x,u*=x.y,d*=x.x,f*=x.y,a+=y,u+=_,m=It(m).frameElement}}return gc({width:d,height:f,x:a,y:u})}function ZA(e){let{rect:t,offsetParent:n,strategy:r}=e;const o=Nn(n),i=ir(n);if(n===i)return t;let s={scrollLeft:0,scrollTop:0},l=Fr(1);const a=Fr(0);if((o||!o&&r!=="fixed")&&((zr(n)!=="body"||Ea(i))&&(s=eu(n)),Nn(n))){const u=go(n);l=wi(n),a.x=u.x+n.clientLeft,a.y=u.y+n.clientTop}return{width:t.width*l.x,height:t.height*l.y,x:t.x*l.x-s.scrollLeft*l.x+a.x,y:t.y*l.y-s.scrollTop*l.y+a.y}}function eM(e){return Array.from(e.getClientRects())}function Ox(e){return go(ir(e)).left+eu(e).scrollLeft}function tM(e){const t=ir(e),n=eu(e),r=e.ownerDocument.body,o=At(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),i=At(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let s=-n.scrollLeft+Ox(e);const l=-n.scrollTop;return en(r).direction==="rtl"&&(s+=At(t.clientWidth,r.clientWidth)-o),{width:o,height:i,x:s,y:l}}function nM(e,t){const n=It(e),r=ir(e),o=n.visualViewport;let i=r.clientWidth,s=r.clientHeight,l=0,a=0;if(o){i=o.width,s=o.height;const u=Yp();(!u||u&&t==="fixed")&&(l=o.offsetLeft,a=o.offsetTop)}return{width:i,height:s,x:l,y:a}}function rM(e,t){const n=go(e,!0,t==="fixed"),r=n.top+e.clientTop,o=n.left+e.clientLeft,i=Nn(e)?wi(e):Fr(1),s=e.clientWidth*i.x,l=e.clientHeight*i.y,a=o*i.x,u=r*i.y;return{width:s,height:l,x:a,y:u}}function Hg(e,t,n){let r;if(t==="viewport")r=nM(e,n);else if(t==="document")r=tM(ir(e));else if(rr(t))r=rM(t,n);else{const o=Px(e);r={...t,x:t.x-o.x,y:t.y-o.y}}return gc(r)}function Ax(e,t){const n=Ni(e);return n===t||!rr(n)||Zc(n)?!1:en(n).position==="fixed"||Ax(n,t)}function oM(e,t){const n=t.get(e);if(n)return n;let r=ca(e,[],!1).filter(l=>rr(l)&&zr(l)!=="body"),o=null;const i=en(e).position==="fixed";let s=i?Ni(e):e;for(;rr(s)&&!Zc(s);){const l=en(s),a=qp(s);!a&&l.position==="fixed"&&(o=null),(i?!a&&!o:!a&&l.position==="static"&&!!o&&["absolute","fixed"].includes(o.position)||Ea(s)&&!a&&Ax(e,s))?r=r.filter(d=>d!==s):o=l,s=Ni(s)}return t.set(e,r),r}function iM(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const s=[...n==="clippingAncestors"?oM(t,this._c):[].concat(n),r],l=s[0],a=s.reduce((u,d)=>{const f=Hg(t,d,o);return u.top=At(f.top,u.top),u.right=Lr(f.right,u.right),u.bottom=Lr(f.bottom,u.bottom),u.left=At(f.left,u.left),u},Hg(t,l,o));return{width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}}function sM(e){return Nx(e)}function aM(e,t,n){const r=Nn(t),o=ir(t),i=n==="fixed",s=go(e,!0,i,t);let l={scrollLeft:0,scrollTop:0};const a=Fr(0);if(r||!r&&!i)if((zr(t)!=="body"||Ea(o))&&(l=eu(t)),r){const u=go(t,!0,i,t);a.x=u.x+t.clientLeft,a.y=u.y+t.clientTop}else o&&(a.x=Ox(o));return{x:s.left+l.scrollLeft-a.x,y:s.top+l.scrollTop-a.y,width:s.width,height:s.height}}function Wg(e,t){return!Nn(e)||en(e).position==="fixed"?null:t?t(e):e.offsetParent}function Mx(e,t){const n=It(e);if(!Nn(e))return n;let r=Wg(e,t);for(;r&&YA(r)&&en(r).position==="static";)r=Wg(r,t);return r&&(zr(r)==="html"||zr(r)==="body"&&en(r).position==="static"&&!qp(r))?n:r||QA(e)||n}const lM=async function(e){let{reference:t,floating:n,strategy:r}=e;const o=this.getOffsetParent||Mx,i=this.getDimensions;return{reference:aM(t,await o(n),r),floating:{x:0,y:0,...await i(n)}}};function cM(e){return en(e).direction==="rtl"}const uM={convertOffsetParentRelativeRectToViewportRelativeRect:ZA,getDocumentElement:ir,getClippingRect:iM,getOffsetParent:Mx,getElementRects:lM,getClientRects:eM,getDimensions:sM,getScale:wi,isElement:rr,isRTL:cM};function dM(e,t){let n=null,r;const o=ir(e);function i(){clearTimeout(r),n&&n.disconnect(),n=null}function s(l,a){l===void 0&&(l=!1),a===void 0&&(a=1),i();const{left:u,top:d,width:f,height:p}=e.getBoundingClientRect();if(l||t(),!f||!p)return;const g=rl(d),m=rl(o.clientWidth-(u+f)),x=rl(o.clientHeight-(d+p)),w=rl(u),y={rootMargin:-g+"px "+-m+"px "+-x+"px "+-w+"px",threshold:At(0,Lr(1,a))||1};let _=!0;function C(E){const b=E[0].intersectionRatio;if(b!==a){if(!_)return s();b?s(!1,b):r=setTimeout(()=>{s(!1,1e-7)},100)}_=!1}try{n=new IntersectionObserver(C,{...y,root:o.ownerDocument})}catch{n=new IntersectionObserver(C,y)}n.observe(e)}return s(!0),i}function fM(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:l=typeof IntersectionObserver=="function",animationFrame:a=!1}=r,u=Qp(e),d=o||i?[...u?ca(u):[],...ca(t)]:[];d.forEach(v=>{o&&v.addEventListener("scroll",n,{passive:!0}),i&&v.addEventListener("resize",n)});const f=u&&l?dM(u,n):null;let p=-1,g=null;s&&(g=new ResizeObserver(v=>{let[y]=v;y&&y.target===u&&g&&(g.unobserve(t),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{g&&g.observe(t)})),n()}),u&&!a&&g.observe(u),g.observe(t));let m,x=a?go(e):null;a&&w();function w(){const v=go(e);x&&(v.x!==x.x||v.y!==x.y||v.width!==x.width||v.height!==x.height)&&n(),x=v,m=requestAnimationFrame(w)}return n(),()=>{d.forEach(v=>{o&&v.removeEventListener("scroll",n),i&&v.removeEventListener("resize",n)}),f&&f(),g&&g.disconnect(),g=null,a&&cancelAnimationFrame(m)}}const pM=(e,t,n)=>{const r=new Map,o={platform:uM,...n},i={...o.platform,_c:r};return BA(e,t,{...o,platform:i})},hM=e=>{function t(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:e,fn(n){const{element:r,padding:o}=typeof e=="function"?e(n):e;return r&&t(r)?r.current!=null?Fg({element:r.current,padding:o}).fn(n):{}:r?Fg({element:r,padding:o}).fn(n):{}}}};var Pl=typeof document<"u"?h.useLayoutEffect:h.useEffect;function vc(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,r,o;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!=t.length)return!1;for(r=n;r--!==0;)if(!vc(e[r],t[r]))return!1;return!0}if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,o[r]))return!1;for(r=n;r--!==0;){const i=o[r];if(!(i==="_owner"&&e.$$typeof)&&!vc(e[i],t[i]))return!1}return!0}return e!==e&&t!==t}function Dx(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Vg(e,t){const n=Dx(e);return Math.round(t*n)/n}function Gg(e){const t=h.useRef(e);return Pl(()=>{t.current=e}),t}function mM(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:i,floating:s}={},transform:l=!0,whileElementsMounted:a,open:u}=e,[d,f]=h.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[p,g]=h.useState(r);vc(p,r)||g(r);const[m,x]=h.useState(null),[w,v]=h.useState(null),y=h.useCallback(K=>{K!=b.current&&(b.current=K,x(K))},[x]),_=h.useCallback(K=>{K!==k.current&&(k.current=K,v(K))},[v]),C=i||m,E=s||w,b=h.useRef(null),k=h.useRef(null),j=h.useRef(d),P=Gg(a),N=Gg(o),M=h.useCallback(()=>{if(!b.current||!k.current)return;const K={placement:t,strategy:n,middleware:p};N.current&&(K.platform=N.current),pM(b.current,k.current,K).then(Y=>{const L={...Y,isPositioned:!0};I.current&&!vc(j.current,L)&&(j.current=L,wo.flushSync(()=>{f(L)}))})},[p,t,n,N]);Pl(()=>{u===!1&&j.current.isPositioned&&(j.current.isPositioned=!1,f(K=>({...K,isPositioned:!1})))},[u]);const I=h.useRef(!1);Pl(()=>(I.current=!0,()=>{I.current=!1}),[]),Pl(()=>{if(C&&(b.current=C),E&&(k.current=E),C&&E){if(P.current)return P.current(C,E,M);M()}},[C,E,M,P]);const U=h.useMemo(()=>({reference:b,floating:k,setReference:y,setFloating:_}),[y,_]),z=h.useMemo(()=>({reference:C,floating:E}),[C,E]),q=h.useMemo(()=>{const K={position:n,left:0,top:0};if(!z.floating)return K;const Y=Vg(z.floating,d.x),L=Vg(z.floating,d.y);return l?{...K,transform:"translate("+Y+"px, "+L+"px)",...Dx(z.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:Y,top:L}},[n,l,z.floating,d.x,d.y]);return h.useMemo(()=>({...d,update:M,refs:U,elements:z,floatingStyles:q}),[d,M,U,z,q])}const gM=h.forwardRef((e,t)=>{const{children:n,width:r=10,height:o=5,...i}=e;return h.createElement(_o.svg,Ve({},i,{ref:t,width:r,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none"}),e.asChild?n:h.createElement("polygon",{points:"0,0 30,0 15,10"}))}),vM=gM;function yM(e){const[t,n]=h.useState(void 0);return Ti(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(o=>{if(!Array.isArray(o)||!o.length)return;const i=o[0];let s,l;if("borderBoxSize"in i){const a=i.borderBoxSize,u=Array.isArray(a)?a[0]:a;s=u.inlineSize,l=u.blockSize}else s=e.offsetWidth,l=e.offsetHeight;n({width:s,height:l})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}const Ix="Popper",[Lx,Fx]=kx(Ix),[xM,zx]=Lx(Ix),wM=e=>{const{__scopePopper:t,children:n}=e,[r,o]=h.useState(null);return h.createElement(xM,{scope:t,anchor:r,onAnchorChange:o},n)},_M="PopperAnchor",bM=h.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...o}=e,i=zx(_M,n),s=h.useRef(null),l=Li(t,s);return h.useEffect(()=>{i.onAnchorChange((r==null?void 0:r.current)||s.current)}),r?null:h.createElement(_o.div,Ve({},o,{ref:l}))}),Bx="PopperContent",[SM,EM]=Lx(Bx),CM=h.forwardRef((e,t)=>{var n,r,o,i,s,l,a,u;const{__scopePopper:d,side:f="bottom",sideOffset:p=0,align:g="center",alignOffset:m=0,arrowPadding:x=0,avoidCollisions:w=!0,collisionBoundary:v=[],collisionPadding:y=0,sticky:_="partial",hideWhenDetached:C=!1,updatePositionStrategy:E="optimized",onPlaced:b,...k}=e,j=zx(Bx,d),[P,N]=h.useState(null),M=Li(t,Ke=>N(Ke)),[I,U]=h.useState(null),z=yM(I),q=(n=z==null?void 0:z.width)!==null&&n!==void 0?n:0,K=(r=z==null?void 0:z.height)!==null&&r!==void 0?r:0,Y=f+(g!=="center"?"-"+g:""),L=typeof y=="number"?y:{top:0,right:0,bottom:0,left:0,...y},W=Array.isArray(v)?v:[v],X=W.length>0,ne={padding:L,boundary:W.filter(RM),altBoundary:X},{refs:fe,floatingStyles:ot,placement:Ae,isPositioned:Ue,middlewareData:ve}=mM({strategy:"fixed",placement:Y,whileElementsMounted:(...Ke)=>fM(...Ke,{animationFrame:E==="always"}),elements:{reference:j.anchor},middleware:[VA({mainAxis:p+K,alignmentAxis:m}),w&&GA({mainAxis:!0,crossAxis:!1,limiter:_==="partial"?KA():void 0,...ne}),w&&UA({...ne}),qA({...ne,apply:({elements:Ke,rects:Mn,availableWidth:Gi,availableHeight:Ki})=>{const{width:qi,height:So}=Mn.reference,Nt=Ke.floating.style;Nt.setProperty("--radix-popper-available-width",`${Gi}px`),Nt.setProperty("--radix-popper-available-height",`${Ki}px`),Nt.setProperty("--radix-popper-anchor-width",`${qi}px`),Nt.setProperty("--radix-popper-anchor-height",`${So}px`)}}),I&&hM({element:I,padding:x}),TM({arrowWidth:q,arrowHeight:K}),C&&HA({strategy:"referenceHidden",...ne})]}),[it,vn]=Ux(Ae),An=zi(b);Ti(()=>{Ue&&(An==null||An())},[Ue,An]);const bo=(o=ve.arrow)===null||o===void 0?void 0:o.x,Ge=(i=ve.arrow)===null||i===void 0?void 0:i.y,yn=((s=ve.arrow)===null||s===void 0?void 0:s.centerOffset)!==0,[nn,Vr]=h.useState();return Ti(()=>{P&&Vr(window.getComputedStyle(P).zIndex)},[P]),h.createElement("div",{ref:fe.setFloating,"data-radix-popper-content-wrapper":"",style:{...ot,transform:Ue?ot.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:nn,"--radix-popper-transform-origin":[(l=ve.transformOrigin)===null||l===void 0?void 0:l.x,(a=ve.transformOrigin)===null||a===void 0?void 0:a.y].join(" ")},dir:e.dir},h.createElement(SM,{scope:d,placedSide:it,onArrowChange:U,arrowX:bo,arrowY:Ge,shouldHideArrow:yn},h.createElement(_o.div,Ve({"data-side":it,"data-align":vn},k,{ref:M,style:{...k.style,animation:Ue?void 0:"none",opacity:(u=ve.hide)!==null&&u!==void 0&&u.referenceHidden?0:void 0}}))))}),kM="PopperArrow",jM={top:"bottom",right:"left",bottom:"top",left:"right"},$M=h.forwardRef(function(t,n){const{__scopePopper:r,...o}=t,i=EM(kM,r),s=jM[i.placedSide];return h.createElement("span",{ref:i.onArrowChange,style:{position:"absolute",left:i.arrowX,top:i.arrowY,[s]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[i.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[i.placedSide],visibility:i.shouldHideArrow?"hidden":void 0}},h.createElement(vM,Ve({},o,{ref:n,style:{...o.style,display:"block"}})))});function RM(e){return e!==null}const TM=e=>({name:"transformOrigin",options:e,fn(t){var n,r,o,i,s;const{placement:l,rects:a,middlewareData:u}=t,f=((n=u.arrow)===null||n===void 0?void 0:n.centerOffset)!==0,p=f?0:e.arrowWidth,g=f?0:e.arrowHeight,[m,x]=Ux(l),w={start:"0%",center:"50%",end:"100%"}[x],v=((r=(o=u.arrow)===null||o===void 0?void 0:o.x)!==null&&r!==void 0?r:0)+p/2,y=((i=(s=u.arrow)===null||s===void 0?void 0:s.y)!==null&&i!==void 0?i:0)+g/2;let _="",C="";return m==="bottom"?(_=f?w:`${v}px`,C=`${-g}px`):m==="top"?(_=f?w:`${v}px`,C=`${a.floating.height+g}px`):m==="right"?(_=`${-g}px`,C=f?w:`${y}px`):m==="left"&&(_=`${a.floating.width+g}px`,C=f?w:`${y}px`),{data:{x:_,y:C}}}});function Ux(e){const[t,n="center"]=e.split("-");return[t,n]}const NM=wM,PM=bM,OM=CM,AM=$M;function MM(e,t){return h.useReducer((n,r)=>{const o=t[n][r];return o??n},e)}const Hx=e=>{const{present:t,children:n}=e,r=DM(t),o=typeof n=="function"?n({present:r.isPresent}):h.Children.only(n),i=Li(r.ref,o.ref);return typeof n=="function"||r.isPresent?h.cloneElement(o,{ref:i}):null};Hx.displayName="Presence";function DM(e){const[t,n]=h.useState(),r=h.useRef({}),o=h.useRef(e),i=h.useRef("none"),s=e?"mounted":"unmounted",[l,a]=MM(s,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return h.useEffect(()=>{const u=ol(r.current);i.current=l==="mounted"?u:"none"},[l]),Ti(()=>{const u=r.current,d=o.current;if(d!==e){const p=i.current,g=ol(u);e?a("MOUNT"):g==="none"||(u==null?void 0:u.display)==="none"?a("UNMOUNT"):a(d&&p!==g?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,a]),Ti(()=>{if(t){const u=f=>{const g=ol(r.current).includes(f.animationName);f.target===t&&g&&wo.flushSync(()=>a("ANIMATION_END"))},d=f=>{f.target===t&&(i.current=ol(r.current))};return t.addEventListener("animationstart",d),t.addEventListener("animationcancel",u),t.addEventListener("animationend",u),()=>{t.removeEventListener("animationstart",d),t.removeEventListener("animationcancel",u),t.removeEventListener("animationend",u)}}else a("ANIMATION_END")},[t,a]),{isPresent:["mounted","unmountSuspended"].includes(l),ref:h.useCallback(u=>{u&&(r.current=getComputedStyle(u)),n(u)},[])}}function ol(e){return(e==null?void 0:e.animationName)||"none"}function IM({prop:e,defaultProp:t,onChange:n=()=>{}}){const[r,o]=LM({defaultProp:t,onChange:n}),i=e!==void 0,s=i?e:r,l=zi(n),a=h.useCallback(u=>{if(i){const f=typeof u=="function"?u(e):u;f!==e&&l(f)}else o(u)},[i,e,o,l]);return[s,a]}function LM({defaultProp:e,onChange:t}){const n=h.useState(e),[r]=n,o=h.useRef(r),i=zi(t);return h.useEffect(()=>{o.current!==r&&(i(r),o.current=r)},[r,o,i]),n}const FM=h.forwardRef((e,t)=>h.createElement(_o.span,Ve({},e,{ref:t,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...e.style}}))),zM=FM,[tu,T6]=kx("Tooltip",[Fx]),nu=Fx(),BM="TooltipProvider",xf="tooltip.open",[N6,Xp]=tu(BM),Jp="Tooltip",[UM,ru]=tu(Jp),HM=e=>{const{__scopeTooltip:t,children:n,open:r,defaultOpen:o=!1,onOpenChange:i,disableHoverableContent:s,delayDuration:l}=e,a=Xp(Jp,e.__scopeTooltip),u=nu(t),[d,f]=h.useState(null),p=PA(),g=h.useRef(0),m=s??a.disableHoverableContent,x=l??a.delayDuration,w=h.useRef(!1),[v=!1,y]=IM({prop:r,defaultProp:o,onChange:k=>{k?(a.onOpen(),document.dispatchEvent(new CustomEvent(xf))):a.onClose(),i==null||i(k)}}),_=h.useMemo(()=>v?w.current?"delayed-open":"instant-open":"closed",[v]),C=h.useCallback(()=>{window.clearTimeout(g.current),w.current=!1,y(!0)},[y]),E=h.useCallback(()=>{window.clearTimeout(g.current),y(!1)},[y]),b=h.useCallback(()=>{window.clearTimeout(g.current),g.current=window.setTimeout(()=>{w.current=!0,y(!0)},x)},[x,y]);return h.useEffect(()=>()=>window.clearTimeout(g.current),[]),h.createElement(NM,u,h.createElement(UM,{scope:t,contentId:p,open:v,stateAttribute:_,trigger:d,onTriggerChange:f,onTriggerEnter:h.useCallback(()=>{a.isOpenDelayed?b():C()},[a.isOpenDelayed,b,C]),onTriggerLeave:h.useCallback(()=>{m?E():window.clearTimeout(g.current)},[E,m]),onOpen:C,onClose:E,disableHoverableContent:m},n))},Kg="TooltipTrigger",WM=h.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,o=ru(Kg,n),i=Xp(Kg,n),s=nu(n),l=h.useRef(null),a=Li(t,l,o.onTriggerChange),u=h.useRef(!1),d=h.useRef(!1),f=h.useCallback(()=>u.current=!1,[]);return h.useEffect(()=>()=>document.removeEventListener("pointerup",f),[f]),h.createElement(PM,Ve({asChild:!0},s),h.createElement(_o.button,Ve({"aria-describedby":o.open?o.contentId:void 0,"data-state":o.stateAttribute},r,{ref:a,onPointerMove:Un(e.onPointerMove,p=>{p.pointerType!=="touch"&&!d.current&&!i.isPointerInTransitRef.current&&(o.onTriggerEnter(),d.current=!0)}),onPointerLeave:Un(e.onPointerLeave,()=>{o.onTriggerLeave(),d.current=!1}),onPointerDown:Un(e.onPointerDown,()=>{u.current=!0,document.addEventListener("pointerup",f,{once:!0})}),onFocus:Un(e.onFocus,()=>{u.current||o.onOpen()}),onBlur:Un(e.onBlur,o.onClose),onClick:Un(e.onClick,o.onClose)})))}),VM="TooltipPortal",[P6,GM]=tu(VM,{forceMount:void 0}),ua="TooltipContent",KM=h.forwardRef((e,t)=>{const n=GM(ua,e.__scopeTooltip),{forceMount:r=n.forceMount,side:o="top",...i}=e,s=ru(ua,e.__scopeTooltip);return h.createElement(Hx,{present:r||s.open},s.disableHoverableContent?h.createElement(Wx,Ve({side:o},i,{ref:t})):h.createElement(qM,Ve({side:o},i,{ref:t})))}),qM=h.forwardRef((e,t)=>{const n=ru(ua,e.__scopeTooltip),r=Xp(ua,e.__scopeTooltip),o=h.useRef(null),i=Li(t,o),[s,l]=h.useState(null),{trigger:a,onClose:u}=n,d=o.current,{onPointerInTransitChange:f}=r,p=h.useCallback(()=>{l(null),f(!1)},[f]),g=h.useCallback((m,x)=>{const w=m.currentTarget,v={x:m.clientX,y:m.clientY},y=ZM(v,w.getBoundingClientRect()),_=eD(v,y),C=tD(x.getBoundingClientRect()),E=rD([..._,...C]);l(E),f(!0)},[f]);return h.useEffect(()=>()=>p(),[p]),h.useEffect(()=>{if(a&&d){const m=w=>g(w,d),x=w=>g(w,a);return a.addEventListener("pointerleave",m),d.addEventListener("pointerleave",x),()=>{a.removeEventListener("pointerleave",m),d.removeEventListener("pointerleave",x)}}},[a,d,g,p]),h.useEffect(()=>{if(s){const m=x=>{const w=x.target,v={x:x.clientX,y:x.clientY},y=(a==null?void 0:a.contains(w))||(d==null?void 0:d.contains(w)),_=!nD(v,s);y?p():_&&(p(),u())};return document.addEventListener("pointermove",m),()=>document.removeEventListener("pointermove",m)}},[a,d,s,u,p]),h.createElement(Wx,Ve({},e,{ref:i}))}),[YM,QM]=tu(Jp,{isInside:!1}),Wx=h.forwardRef((e,t)=>{const{__scopeTooltip:n,children:r,"aria-label":o,onEscapeKeyDown:i,onPointerDownOutside:s,...l}=e,a=ru(ua,n),u=nu(n),{onClose:d}=a;return h.useEffect(()=>(document.addEventListener(xf,d),()=>document.removeEventListener(xf,d)),[d]),h.useEffect(()=>{if(a.trigger){const f=p=>{const g=p.target;g!=null&&g.contains(a.trigger)&&d()};return window.addEventListener("scroll",f,{capture:!0}),()=>window.removeEventListener("scroll",f,{capture:!0})}},[a.trigger,d]),h.createElement(jA,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:i,onPointerDownOutside:s,onFocusOutside:f=>f.preventDefault(),onDismiss:d},h.createElement(OM,Ve({"data-state":a.stateAttribute},u,l,{ref:t,style:{...l.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"}}),h.createElement(px,null,r),h.createElement(YM,{scope:n,isInside:!0},h.createElement(zM,{id:a.contentId,role:"tooltip"},o||r))))}),XM="TooltipArrow",JM=h.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,o=nu(n);return QM(XM,n).isInside?null:h.createElement(AM,Ve({},o,r,{ref:t}))});function ZM(e,t){const n=Math.abs(t.top-e.y),r=Math.abs(t.bottom-e.y),o=Math.abs(t.right-e.x),i=Math.abs(t.left-e.x);switch(Math.min(n,r,o,i)){case i:return"left";case o:return"right";case n:return"top";case r:return"bottom";default:throw new Error("unreachable")}}function eD(e,t,n=5){const r=[];switch(t){case"top":r.push({x:e.x-n,y:e.y+n},{x:e.x+n,y:e.y+n});break;case"bottom":r.push({x:e.x-n,y:e.y-n},{x:e.x+n,y:e.y-n});break;case"left":r.push({x:e.x+n,y:e.y-n},{x:e.x+n,y:e.y+n});break;case"right":r.push({x:e.x-n,y:e.y-n},{x:e.x-n,y:e.y+n});break}return r}function tD(e){const{top:t,right:n,bottom:r,left:o}=e;return[{x:o,y:t},{x:n,y:t},{x:n,y:r},{x:o,y:r}]}function nD(e,t){const{x:n,y:r}=e;let o=!1;for(let i=0,s=t.length-1;ir!=d>r&&n<(u-l)*(r-a)/(d-a)+l&&(o=!o)}return o}function rD(e){const t=e.slice();return t.sort((n,r)=>n.xr.x?1:n.yr.y?1:0),oD(t)}function oD(e){if(e.length<=1)return e.slice();const t=[];for(let r=0;r=2;){const i=t[t.length-1],s=t[t.length-2];if((i.x-s.x)*(o.y-s.y)>=(i.y-s.y)*(o.x-s.x))t.pop();else break}t.push(o)}t.pop();const n=[];for(let r=e.length-1;r>=0;r--){const o=e[r];for(;n.length>=2;){const i=n[n.length-1],s=n[n.length-2];if((i.x-s.x)*(o.y-s.y)>=(i.y-s.y)*(o.x-s.x))n.pop();else break}n.push(o)}return n.pop(),t.length===1&&n.length===1&&t[0].x===n[0].x&&t[0].y===n[0].y?t:t.concat(n)}const iD=HM,sD=WM,aD=KM,lD=JM;function cD(e,t){if(e==null)return{};var n={},r=Object.keys(e),o,i;for(i=0;i=0)&&(n[o]=e[o]);return n}function ge(e,t){if(e==null)return{};var n=cD(e,t),r,o;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}let Re;(function(e){e[e.UNSUPPORTED_INPUT=0]="UNSUPPORTED_INPUT",e[e.NO_COMPONENT_FOR_TYPE=1]="NO_COMPONENT_FOR_TYPE",e[e.UNKNOWN_INPUT=2]="UNKNOWN_INPUT",e[e.DUPLICATE_KEYS=3]="DUPLICATE_KEYS",e[e.ALREADY_REGISTERED_TYPE=4]="ALREADY_REGISTERED_TYPE",e[e.CLIPBOARD_ERROR=5]="CLIPBOARD_ERROR",e[e.THEME_ERROR=6]="THEME_ERROR",e[e.PATH_DOESNT_EXIST=7]="PATH_DOESNT_EXIST",e[e.INPUT_TYPE_OVERRIDE=8]="INPUT_TYPE_OVERRIDE",e[e.EMPTY_KEY=9]="EMPTY_KEY"})(Re||(Re={}));const uD={[Re.UNSUPPORTED_INPUT]:(e,t)=>[`An input with type \`${e}\` input was found at path \`${t}\` but it's not supported yet.`],[Re.NO_COMPONENT_FOR_TYPE]:(e,t)=>[`Type \`${e}\` found at path \`${t}\` can't be displayed in panel because no component supports it yet.`],[Re.UNKNOWN_INPUT]:(e,t)=>[`input at path \`${e}\` is not recognized.`,t],[Re.DUPLICATE_KEYS]:(e,t,n)=>[`Key \`${e}\` of path \`${t}\` already exists at path \`${n}\`. Even nested keys need to be unique. Rename one of the keys.`],[Re.ALREADY_REGISTERED_TYPE]:e=>[`Type ${e} has already been registered. You can't register a component with the same type.`],[Re.CLIPBOARD_ERROR]:e=>["Error copying the value",e],[Re.THEME_ERROR]:(e,t)=>[`Error accessing the theme \`${e}.${t}\` value.`],[Re.PATH_DOESNT_EXIST]:e=>[`Error getting the value at path \`${e}\`. There is probably an error in your \`render\` function.`],[Re.PATH_DOESNT_EXIST]:e=>[`Error accessing the value at path \`${e}\``],[Re.INPUT_TYPE_OVERRIDE]:(e,t,n)=>[`Input at path \`${e}\` already exists with type: \`${t}\`. Its type cannot be overridden with type \`${n}\`.`],[Re.EMPTY_KEY]:()=>["Keys can not be empty, if you want to hide a label use whitespace."]};function Vx(e,t,...n){const[r,...o]=uD[t](...n);console[e]("LEVA: "+r,...o)}const Hn=Vx.bind(null,"warn"),dD=Vx.bind(null,"log"),fD=["value"],pD=["schema"],hD=["value"],Gx=[],vo={};function qg(e){let{value:t}=e,n=ge(e,fD);for(let r of Gx){const o=r(t,n);if(o)return o}}function sr(e,t){let{schema:n}=t,r=ge(t,pD);if(e in vo){Hn(Re.ALREADY_REGISTERED_TYPE,e);return}Gx.push((o,i)=>n(o,i)&&e),vo[e]=r}function Qu(e,t,n,r){const{normalize:o}=vo[e];if(o)return o(t,n,r);if(typeof t!="object"||!("value"in t))return{value:t};const{value:i}=t,s=ge(t,hD);return{value:i,settings:s}}function mD(e,t,n,r,o,i){const{sanitize:s}=vo[e];return s?s(t,n,r,o,i):t}function Yg(e,t,n){const{format:r}=vo[e];return r?r(t,n):t}function gD(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Qg(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function te(e){for(var t=1;te>n?n:e{if(e===""||typeof e=="number")return e;try{const t=gr(e);if(!isNaN(t))return t}catch{}return parseFloat(e)},yD=Math.log(10);function Xg(e){let t=Math.abs(+String(e).replace(".",""));if(t===0)return .01;for(;t!==0&&t%10===0;)t/=10;const n=Math.floor(Math.log(t)/yD)+1,r=Math.floor(Math.log10(Math.abs(e))),o=Math.pow(10,r-n);return Math.max(o,.001)}const yc=(e,t,n)=>n===t?0:(Br(e,t,n)-t)/(n-t),xc=(e,t,n)=>e*(n-t)+t,xD=()=>"_"+Math.random().toString(36).substr(2,9),Jg=/\(([0-9+\-*/^ .]+)\)/,Zg=/(\d+(?:\.\d+)?) ?\^ ?(\d+(?:\.\d+)?)/,ev=/(\d+(?:\.\d+)?) ?\* ?(\d+(?:\.\d+)?)/,tv=/(\d+(?:\.\d+)?) ?\/ ?(\d+(?:\.\d+)?)/,nv=/(\d+(?:\.\d+)?) ?\+ ?(\d+(?:\.\d+)?)/,rv=/(\d+(?:\.\d+)?) ?- ?(\d+(?:\.\d+)?)/;function gr(e){if(isNaN(Number(e)))if(Jg.test(e)){const t=e.replace(Jg,(n,r)=>String(gr(r)));return gr(t)}else if(Zg.test(e)){const t=e.replace(Zg,(n,r,o)=>String(Math.pow(Number(r),Number(o))));return gr(t)}else if(ev.test(e)){const t=e.replace(ev,(n,r,o)=>String(Number(r)*Number(o)));return gr(t)}else if(tv.test(e)){const t=e.replace(tv,(n,r,o)=>{if(o!=0)return String(Number(r)/Number(o));throw new Error("Division by zero")});return gr(t)}else if(nv.test(e)){const t=e.replace(nv,(n,r,o)=>String(Number(r)+Number(o)));return gr(t)}else if(rv.test(e)){const t=e.replace(rv,(n,r,o)=>String(Number(r)-Number(o)));return gr(t)}else return Number(e);return Number(e)}function wD(e,t){return t.reduce((n,r)=>(e&&e.hasOwnProperty(r)&&(n[r]=e[r]),n),{})}function _D(e,t){const n=te({},e);return t.forEach(r=>r in e&&delete n[r]),n}function bD(e,t){return e.reduce((n,r,o)=>Object.assign(n,{[t[o]]:r}),{})}function Kx(e){return Object.prototype.toString.call(e)==="[object Object]"}const SD=e=>Kx(e)&&Object.keys(e).length===0;let fn;(function(e){e.BUTTON="BUTTON",e.BUTTON_GROUP="BUTTON_GROUP",e.MONITOR="MONITOR",e.FOLDER="FOLDER"})(fn||(fn={}));let hn;(function(e){e.SELECT="SELECT",e.IMAGE="IMAGE",e.NUMBER="NUMBER",e.COLOR="COLOR",e.STRING="STRING",e.BOOLEAN="BOOLEAN",e.INTERVAL="INTERVAL",e.VECTOR3D="VECTOR3D",e.VECTOR2D="VECTOR2D"})(hn||(hn={}));const ED=["type","__customInput"],CD=["render","label","optional","order","disabled","hint","onChange","onEditStart","onEditEnd","transient"],kD=["type"];function qx(e,t,n={},r){var o,i;if(typeof e!="object"||Array.isArray(e))return{type:r,input:e,options:te({key:t,label:t,optional:!1,disabled:!1,order:0},n)};if("__customInput"in e){const{type:E,__customInput:b}=e,k=ge(e,ED);return qx(b,t,k,E)}const{render:s,label:l,optional:a,order:u=0,disabled:d,hint:f,onChange:p,onEditStart:g,onEditEnd:m,transient:x}=e,w=ge(e,CD),v=te({render:s,key:t,label:l??t,hint:f,transient:x??!!p,onEditStart:g,onEditEnd:m,disabled:d,optional:a,order:u},n);let{type:y}=w,_=ge(w,kD);if(y=r??y,y in fn)return{type:y,input:_,options:v};let C;return r&&Kx(_)&&"value"in _?C=_.value:C=SD(_)?void 0:_,{type:y,input:C,options:te(te({},v),{},{onChange:p,optional:(o=v.optional)!==null&&o!==void 0?o:!1,disabled:(i=v.disabled)!==null&&i!==void 0?i:!1})}}function jD(e,t,n,r){const o=qx(e,t),{type:i,input:s,options:l}=o;if(i)return i in fn?o:{type:i,input:Qu(i,s,n,r),options:l};let a=qg(s);return a?{type:a,input:Qu(a,s,n,r),options:l}:(a=qg({value:s}),a?{type:a,input:Qu(a,{value:s},n,r),options:l}:!1)}function ov(e,t,n,r,o){const{value:i,type:s,settings:l}=e;e.value=Yx({type:s,value:i,settings:l},t,n,r),e.fromPanel=o}const $D=function(t,n,r){this.type="LEVA_ERROR",this.message="LEVA: "+t,this.previousValue=n,this.error=r};function Yx({type:e,value:t,settings:n},r,o,i){const s=e!=="SELECT"&&typeof r=="function"?r(t):r;let l;try{l=mD(e,s,n,t,o,i)}catch(a){throw new $D(`The value \`${r}\` did not result in a correct value.`,t,a)}return sa(l,t)?t:l}const Qx=(e,t,n=!1)=>{let r=0;return function(){const o=arguments,i=n&&!r,s=()=>e.apply(this,o);window.clearTimeout(r),r=window.setTimeout(s,t),i&&s()}},Xx=e=>e.shiftKey?5:e.altKey?1/5:1;function RD(e,t){const n=console.error;console.error=()=>{},Rp.render(e,t),console.error=n}const TD=["value"],ND=["min","max"],PD=e=>{if(typeof e=="number")return!0;if(typeof e=="string"){const t=parseFloat(e);return isNaN(t)?!1:e.substring((""+t).length).trim().length<4}return!1},Jx=(e,{min:t=-1/0,max:n=1/0,suffix:r})=>{const o=parseFloat(e);if(e===""||isNaN(o))throw Error("Invalid number");const i=Br(o,t,n);return r?i+r:i},OD=(e,{pad:t=0,suffix:n})=>{const r=parseFloat(e).toFixed(t);return n?r+n:r},Zx=e=>{let{value:t}=e,n=ge(e,TD);const{min:r=-1/0,max:o=1/0}=n,i=ge(n,ND);let s=parseFloat(t);const l=typeof t=="string"?t.substring((""+s).length):void 0;s=Br(s,r,o);let a=n.step;a||(Number.isFinite(r)?Number.isFinite(o)?a=+(Math.abs(o-r)/100).toPrecision(1):a=+(Math.abs(s-r)/100).toPrecision(1):Number.isFinite(o)&&(a=+(Math.abs(o-s)/100).toPrecision(1)));const u=a?Xg(a)*10:Xg(s);a=a||u/10;const d=Math.round(Br(Math.log10(1/u),0,2));return{value:l?s+l:s,settings:te({initialValue:s,step:a,pad:d,min:r,max:o,suffix:l},i)}},ew=(e,{step:t,initialValue:n})=>{const r=Math.round((e-n)/t);return n+r*t};var tw=Object.freeze({__proto__:null,schema:PD,sanitize:Jx,format:OD,normalize:Zx,sanitizeStep:ew});function Le(){return Le=Object.assign?Object.assign.bind():function(e){for(var t=1;t({colors:{elevation1:"#292d39",elevation2:"#181c20",elevation3:"#373c4b",accent1:"#0066dc",accent2:"#007bff",accent3:"#3c93ff",highlight1:"#535760",highlight2:"#8c92a4",highlight3:"#fefefe",vivid1:"#ffcc00",folderWidgetColor:"$highlight2",folderTextColor:"$highlight3",toolTipBackground:"$highlight3",toolTipText:"$elevation2"},radii:{xs:"2px",sm:"3px",lg:"10px"},space:{xs:"3px",sm:"6px",md:"10px",rowGap:"7px",colGap:"7px"},fonts:{mono:"ui-monospace, SFMono-Regular, Menlo, 'Roboto Mono', monospace",sans:"system-ui, sans-serif"},fontSizes:{root:"11px",toolTip:"$root"},sizes:{rootWidth:"280px",controlWidth:"160px",numberInputMinWidth:"38px",scrubberWidth:"8px",scrubberHeight:"16px",rowHeight:"24px",folderTitleHeight:"20px",checkboxSize:"16px",joystickWidth:"100px",joystickHeight:"100px",colorPickerWidth:"$controlWidth",colorPickerHeight:"100px",imagePreviewWidth:"$controlWidth",imagePreviewHeight:"100px",monitorHeight:"60px",titleBarHeight:"39px"},shadows:{level1:"0 0 9px 0 #00000088",level2:"0 4px 14px #00000033"},borderWidths:{root:"0px",input:"1px",focus:"1px",hover:"1px",active:"1px",folder:"1px"},fontWeights:{label:"normal",folder:"normal",button:"normal"}});function il(e,t){const[n,r]=e.split(" "),o={};return n!=="none"&&(o.boxShadow=`${t.inset?"inset ":""}0 0 0 $borderWidths${[t.key]} $colors${n!=="default"&&n||t.borderColor}`),r&&(o.backgroundColor=r),o}const ps={$inputStyle:()=>e=>il(e,{key:"$input",borderColor:"$highlight1",inset:!0}),$focusStyle:()=>e=>il(e,{key:"$focus",borderColor:"$accent2"}),$hoverStyle:()=>e=>il(e,{key:"$hover",borderColor:"$accent1",inset:!0}),$activeStyle:()=>e=>il(e,{key:"$active",borderColor:"$accent1",inset:!0})},{styled:Z,css:O6,createTheme:MD,globalCss:DD,keyframes:A6}=$O({prefix:"leva",theme:iw(),utils:te(te({},ps),{},{$flex:()=>({display:"flex",alignItems:"center"}),$flexCenter:()=>({display:"flex",alignItems:"center",justifyContent:"center"}),$reset:()=>({outline:"none",fontSize:"inherit",fontWeight:"inherit",color:"inherit",fontFamily:"inherit",border:"none",backgroundColor:"transparent",appearance:"none"}),$draggable:()=>({touchAction:"none",WebkitUserDrag:"none",userSelect:"none"}),$focus:e=>({"&:focus":ps.$focusStyle()(e)}),$focusWithin:e=>({"&:focus-within":ps.$focusStyle()(e)}),$hover:e=>({"&:hover":ps.$hoverStyle()(e)}),$active:e=>({"&:active":ps.$activeStyle()(e)})})}),ID=DD({".leva__panel__dragged":{WebkitUserDrag:"none",userSelect:"none",input:{userSelect:"none"},"*":{cursor:"ew-resize !important"}}});function LD(e){const t=iw();if(!e)return{theme:t,className:""};Object.keys(e).forEach(r=>{Object.assign(t[r],e[r])});const n=MD(t);return{theme:t,className:n.className}}function Yn(e,t){const{theme:n}=h.useContext(Zp);if(!(e in n)||!(t in n[e]))return Hn(Re.THEME_ERROR,e,t),"";let r=t;for(;;){let o=n[e][r];if(typeof o=="string"&&o.charAt(0)==="$")r=o.substr(1);else return o}}const sw=Z("input",{$reset:"",padding:"0 $sm",width:0,minWidth:0,flex:1,height:"100%",variants:{levaType:{number:{textAlign:"right"}},as:{textarea:{padding:"$sm"}}}}),aw=Z("div",{$draggable:"",height:"100%",$flexCenter:"",position:"relative",padding:"0 $xs",fontSize:"0.8em",opacity:.8,cursor:"default",touchAction:"none",[`& + ${sw}`]:{paddingLeft:0}}),FD=Z(aw,{cursor:"ew-resize",marginRight:"-$xs",textTransform:"uppercase",opacity:.3,"&:hover":{opacity:1},variants:{dragging:{true:{backgroundColor:"$accent2",opacity:1}}}}),zD=Z("div",{$flex:"",position:"relative",borderRadius:"$sm",overflow:"hidden",color:"inherit",height:"$rowHeight",backgroundColor:"$elevation3",$inputStyle:"$elevation1",$hover:"",$focusWithin:"",variants:{textArea:{true:{height:"auto"}}}}),BD=["innerLabel","value","onUpdate","onChange","onKeyDown","type","id","inputType","rows"],UD=["onUpdate"];function eh(e){let{innerLabel:t,value:n,onUpdate:r,onChange:o,onKeyDown:i,type:s,id:l,inputType:a="text",rows:u=0}=e,d=ge(e,BD);const{id:f,emitOnEditStart:p,emitOnEditEnd:g,disabled:m}=ht(),x=l||f,w=h.useRef(null),v=u>0,y=v?"textarea":"input",_=h.useCallback(b=>k=>{const j=k.currentTarget.value;b(j)},[]);S.useEffect(()=>{const b=w.current,k=_(j=>{r(j),g()});return b==null||b.addEventListener("blur",k),()=>b==null?void 0:b.removeEventListener("blur",k)},[_,r,g]);const C=h.useCallback(b=>{b.key==="Enter"&&_(r)(b)},[_,r]),E=Object.assign({as:y},v?{rows:u}:{},d);return S.createElement(zD,{textArea:v},t&&typeof t=="string"?S.createElement(aw,null,t):t,S.createElement(sw,Le({levaType:s,ref:w,id:x,type:a,autoComplete:"off",spellCheck:"false",value:n,onChange:_(o),onFocus:()=>p(),onKeyPress:C,onKeyDown:i,disabled:m},E)))}function HD(e){let{onUpdate:t}=e,n=ge(e,UD);const r=h.useCallback(i=>t(vD(i)),[t]),o=h.useCallback(i=>{const s=i.key==="ArrowUp"?1:i.key==="ArrowDown"?-1:0;if(s){i.preventDefault();const l=i.altKey?.1:i.shiftKey?10:1;t(a=>parseFloat(a)+s*l)}},[t]);return S.createElement(eh,Le({},n,{onUpdate:r,onKeyDown:o,type:"number"}))}const wc=Z("div",{}),wf=Z("div",{position:"relative",background:"$elevation2",transition:"height 300ms ease",variants:{fill:{true:{},false:{}},flat:{false:{},true:{}},isRoot:{true:{},false:{paddingLeft:"$md","&::after":{content:'""',position:"absolute",left:0,top:0,width:"$borderWidths$folder",height:"100%",backgroundColor:"$folderWidgetColor",opacity:.4,transform:"translateX(-50%)"}}}},compoundVariants:[{isRoot:!0,fill:!1,css:{overflowY:"auto",maxHeight:"calc(100vh - 20px - $$titleBarHeight)"}},{isRoot:!0,flat:!1,css:{borderRadius:"$lg"}}]}),WD=Z("div",{$flex:"",color:"$folderTextColor",userSelect:"none",cursor:"pointer",height:"$folderTitleHeight",fontWeight:"$folder","> svg":{marginLeft:-4,marginRight:4,cursor:"pointer",fill:"$folderWidgetColor",opacity:.6},"&:hover > svg":{fill:"$folderWidgetColor"},[`&:hover + ${wf}::after`]:{opacity:.6},[`${wc}:hover > & + ${wf}::after`]:{opacity:.6},[`${wc}:hover > & > svg`]:{opacity:1}}),lw=Z("div",{position:"relative",display:"grid",gridTemplateColumns:"100%",rowGap:"$rowGap",transition:"opacity 250ms ease",variants:{toggled:{true:{opacity:1,transitionDelay:"250ms"},false:{opacity:0,transitionDelay:"0ms",pointerEvents:"none"}},isRoot:{true:{"& > div":{paddingLeft:"$md",paddingRight:"$md"},"& > div:first-of-type":{paddingTop:"$sm"},"& > div:last-of-type":{paddingBottom:"$sm"},[`> ${wc}:not(:first-of-type)`]:{paddingTop:"$sm",marginTop:"$md",borderTop:"$borderWidths$folder solid $colors$elevation1"}}}}}),cw=Z("div",{position:"relative",zIndex:100,display:"grid",rowGap:"$rowGap",gridTemplateRows:"minmax($sizes$rowHeight, max-content)",alignItems:"center",color:"$highlight2",[`${lw} > &`]:{"&:first-of-type":{marginTop:"$rowGap"},"&:last-of-type":{marginBottom:"$rowGap"}},variants:{disabled:{true:{pointerEvents:"none"},false:{"&:hover,&:focus-within":{color:"$highlight3"}}}}}),uw=Z(cw,{gridTemplateColumns:"auto $sizes$controlWidth",columnGap:"$colGap"}),VD=Z("div",{$flex:"",height:"100%",position:"relative",overflow:"hidden","& > div":{marginLeft:"$colGap",padding:"0 $xs",opacity:.4},"& > div:hover":{opacity:.8},"& > div > svg":{display:"none",cursor:"pointer",width:13,minWidth:13,height:13,backgroundColor:"$elevation2"},"&:hover > div > svg":{display:"block"},variants:{align:{top:{height:"100%",alignItems:"flex-start",paddingTop:"$sm"}}}}),GD=Z("input",{$reset:"",height:0,width:0,opacity:0,margin:0,"& + label":{position:"relative",$flexCenter:"",height:"100%",userSelect:"none",cursor:"pointer",paddingLeft:2,paddingRight:"$sm",pointerEvents:"auto"},"& + label:after":{content:'""',width:6,height:6,backgroundColor:"$elevation3",borderRadius:"50%",$activeStyle:""},"&:focus + label:after":{$focusStyle:""},"& + label:active:after":{backgroundColor:"$accent1",$focusStyle:""},"&:checked + label:after":{backgroundColor:"$accent1"}}),_f=Z("label",{fontWeight:"$label",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap","& > svg":{display:"block"}}),KD=Z("div",{opacity:1,variants:{disabled:{true:{opacity:.6,pointerEvents:"none",[`& ${_f}`]:{pointerEvents:"auto"}}}}}),dw=Z("div",{position:"fixed",top:0,bottom:0,right:0,left:0,zIndex:1e3,userSelect:"none"}),qD=Z("div",{background:"$toolTipBackground",fontFamily:"$sans",fontSize:"$toolTip",padding:"$xs $sm",color:"$toolTipText",borderRadius:"$xs",boxShadow:"$level2",maxWidth:260}),YD=Z(lD,{fill:"$toolTipBackground"});function th({children:e}){const{className:t}=h.useContext(Zp);return S.createElement(Q3,{className:t},e)}const QD=["align"];function XD(){const{id:e,disable:t,disabled:n}=ht();return S.createElement(S.Fragment,null,S.createElement(GD,{id:e+"__disable",type:"checkbox",checked:!n,onChange:()=>t(!n)}),S.createElement("label",{htmlFor:e+"__disable"}))}function JD(e){const{id:t,optional:n,hint:r}=ht(),o=e.htmlFor||(t?{htmlFor:t}:null),i=!r&&typeof e.children=="string"?{title:e.children}:null;return S.createElement(S.Fragment,null,n&&S.createElement(XD,null),r!==void 0?S.createElement(iD,null,S.createElement(sD,{asChild:!0},S.createElement(_f,Le({},o,e))),S.createElement(aD,{side:"top",sideOffset:2},S.createElement(qD,null,r,S.createElement(YD,null)))):S.createElement(_f,Le({},o,i,e)))}function mn(e){let{align:t}=e,n=ge(e,QD);const{value:r,label:o,key:i,disabled:s}=ht(),{hideCopyButton:l}=AD(),a=!l&&i!==void 0,[u,d]=h.useState(!1),f=async()=>{try{await navigator.clipboard.writeText(JSON.stringify({[i]:r??""})),d(!0)}catch{Hn(Re.CLIPBOARD_ERROR,{[i]:r})}};return S.createElement(VD,{align:t,onPointerLeave:()=>d(!1)},S.createElement(JD,n),a&&!s&&S.createElement("div",{title:`Click to copy ${typeof o=="string"?o:i} value`},u?S.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor"},S.createElement("path",{d:"M9 2a1 1 0 000 2h2a1 1 0 100-2H9z"}),S.createElement("path",{fillRule:"evenodd",d:"M4 5a2 2 0 012-2 3 3 0 003 3h2a3 3 0 003-3 2 2 0 012 2v11a2 2 0 01-2 2H6a2 2 0 01-2-2V5zm9.707 5.707a1 1 0 00-1.414-1.414L9 12.586l-1.293-1.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z",clipRule:"evenodd"})):S.createElement("svg",{onClick:f,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor"},S.createElement("path",{d:"M8 3a1 1 0 011-1h2a1 1 0 110 2H9a1 1 0 01-1-1z"}),S.createElement("path",{d:"M6 3a2 2 0 00-2 2v11a2 2 0 002 2h8a2 2 0 002-2V5a2 2 0 00-2-2 3 3 0 01-3 3H9a3 3 0 01-3-3z"}))))}const ZD=["toggled"],eI=Z("svg",{fill:"currentColor",transition:"transform 350ms ease, fill 250ms ease"});function nh(e){let{toggled:t}=e,n=ge(e,ZD);return S.createElement(eI,Le({width:"9",height:"5",viewBox:"0 0 9 5",xmlns:"http://www.w3.org/2000/svg",style:{transform:`rotate(${t?0:-90}deg)`}},n),S.createElement("path",{d:"M3.8 4.4c.4.3 1 .3 1.4 0L8 1.7A1 1 0 007.4 0H1.6a1 1 0 00-.7 1.7l3 2.7z"}))}const tI=["input"];function tn(e){let{input:t}=e,n=ge(e,tI);return t?S.createElement(uw,n):S.createElement(cw,n)}function fw({value:e,type:t,settings:n,setValue:r}){const[o,i]=h.useState(Yg(t,e,n)),s=h.useRef(e),l=h.useRef(n);l.current=n;const a=h.useCallback(d=>i(Yg(t,d,l.current)),[t]),u=h.useCallback(d=>{try{r(d)}catch(f){const{type:p,previousValue:g}=f;if(p!=="LEVA_ERROR")throw f;a(g)}},[a,r]);return h.useEffect(()=>{sa(e,s.current)||a(e),s.current=e},[e,a]),{displayValue:o,onChange:i,onUpdate:u}}function ka(e,t){const{emitOnEditStart:n,emitOnEditEnd:r}=ht();return _A(o=>{o.first&&(document.body.classList.add("leva__panel__dragged"),n==null||n());const i=e(o);return o.last&&(document.body.classList.remove("leva__panel__dragged"),r==null||r()),i},t)}function nI(e){const t=h.useRef(null),n=h.useRef(null),r=h.useRef(!1);return h.useEffect(()=>{const o=Qx(()=>{t.current.width=t.current.offsetWidth*window.devicePixelRatio,t.current.height=t.current.offsetHeight*window.devicePixelRatio,e(t.current,n.current)},250);return window.addEventListener("resize",o),r.current||(o(),r.current=!0),()=>window.removeEventListener("resize",o)},[e]),h.useEffect(()=>{n.current=t.current.getContext("2d")},[]),[t,n]}function pw(){const e=h.useRef(null),t=h.useRef({x:0,y:0}),n=h.useCallback(r=>{Object.assign(t.current,r),e.current&&(e.current.style.transform=`translate3d(${t.current.x}px, ${t.current.y}px, 0)`)},[]);return[e,n]}const rI=["__refCount"],Xu=(e,t)=>{if(!e[t])return null;const n=e[t];return ge(n,rI)};function oI(e){const t=Ca(),[n,r]=h.useState(Xu(t.getData(),e)),o=h.useCallback(u=>t.setValueAtPath(e,u,!0),[e,t]),i=h.useCallback(u=>t.setSettingsAtPath(e,u),[e,t]),s=h.useCallback(u=>t.disableInputAtPath(e,u),[e,t]),l=h.useCallback(()=>t.emitOnEditStart(e),[e,t]),a=h.useCallback(()=>t.emitOnEditEnd(e),[e,t]);return h.useEffect(()=>{r(Xu(t.getData(),e));const u=t.useStore.subscribe(d=>Xu(d.data,e),r,{equalityFn:_a});return()=>u()},[t,e]),[n,{set:o,setSettings:i,disable:s,storeId:t.storeId,emitOnEditStart:l,emitOnEditEnd:a}]}const iI=Z("div",{variants:{hasRange:{true:{position:"relative",display:"grid",gridTemplateColumns:"auto $sizes$numberInputMinWidth",columnGap:"$colGap",alignItems:"center"}}}}),hw=Z("div",{position:"relative",width:"100%",height:2,borderRadius:"$xs",backgroundColor:"$elevation1"}),bf=Z("div",{position:"absolute",width:"$scrubberWidth",height:"$scrubberHeight",borderRadius:"$xs",boxShadow:"0 0 0 2px $colors$elevation2",backgroundColor:"$accent2",cursor:"pointer",$active:"none $accent1",$hover:"none $accent3",variants:{position:{left:{borderTopRightRadius:0,borderBottomRightRadius:0,transform:"translateX(calc(-0.5 * ($sizes$scrubberWidth + 4px)))"},right:{borderTopLeftRadius:0,borderBottomLeftRadius:0,transform:"translateX(calc(0.5 * ($sizes$scrubberWidth + 4px)))"}}}}),mw=Z("div",{position:"relative",$flex:"",height:"100%",cursor:"pointer",touchAction:"none"}),gw=Z("div",{position:"absolute",height:"100%",backgroundColor:"$accent2"});function sI({value:e,min:t,max:n,onDrag:r,step:o,initialValue:i}){const s=h.useRef(null),l=h.useRef(null),a=h.useRef(0),u=Yn("sizes","scrubberWidth"),d=ka(({event:p,first:g,xy:[m],movement:[x],memo:w})=>{if(g){const{width:y,left:_}=s.current.getBoundingClientRect();a.current=y-parseFloat(u),w=(p==null?void 0:p.target)===l.current?e:xc((m-_)/y,t,n)}const v=w+xc(x/a.current,0,n-t);return r(ew(v,{step:o,initialValue:i})),w}),f=yc(e,t,n);return S.createElement(mw,Le({ref:s},d()),S.createElement(hw,null,S.createElement(gw,{style:{left:0,right:`${(1-f)*100}%`}})),S.createElement(bf,{ref:l,style:{left:`calc(${f} * (100% - ${u}))`}}))}const aI=S.memo(({label:e,onUpdate:t,step:n,innerLabelTrim:r})=>{const[o,i]=h.useState(!1),s=ka(({active:l,delta:[a],event:u,memo:d=0})=>(i(l),d+=a/2,Math.abs(d)>=1&&(t(f=>parseFloat(f)+Math.floor(d)*n*Xx(u)),d=0),d));return S.createElement(FD,Le({dragging:o,title:e.length>1?e:""},s()),e.slice(0,r))});function vw({label:e,id:t,displayValue:n,onUpdate:r,onChange:o,settings:i,innerLabelTrim:s=1}){const l=s>0&&S.createElement(aI,{label:e,step:i.step,onUpdate:r,innerLabelTrim:s});return S.createElement(HD,{id:t,value:String(n),onUpdate:r,onChange:o,innerLabel:l})}function lI(){const e=ht(),{label:t,value:n,onUpdate:r,settings:o,id:i}=e,{min:s,max:l}=o,a=l!==1/0&&s!==-1/0;return S.createElement(tn,{input:!0},S.createElement(mn,null,t),S.createElement(iI,{hasRange:a},a&&S.createElement(sI,Le({value:parseFloat(n),onDrag:r},o)),S.createElement(vw,Le({},e,{id:i,label:"value",innerLabelTrim:a?0:1}))))}const{sanitizeStep:cI}=tw,uI=ge(tw,["sanitizeStep"]);var dI=te({component:lI},uI);const fI=(e,t)=>jt().schema({options:jt().passesAnyOf(jt().object(),jt().array())}).test(t),pI=(e,{values:t})=>{if(t.indexOf(e)<0)throw Error("Selected value doesn't match Select options");return e},hI=(e,{values:t})=>t.indexOf(e),mI=e=>{let{value:t,options:n}=e,r,o;return Array.isArray(n)?(o=n,r=n.map(i=>String(i))):(o=Object.values(n),r=Object.keys(n)),"value"in e?o.includes(t)||(r.unshift(String(t)),o.unshift(t)):t=o[0],Object.values(n).includes(t)||(n[String(t)]=t),{value:t,settings:{keys:r,values:o}}};var gI=Object.freeze({__proto__:null,schema:fI,sanitize:pI,format:hI,normalize:mI});const vI=Z("div",{$flexCenter:"",position:"relative","> svg":{pointerEvents:"none",position:"absolute",right:"$md"}}),Sf=Z("select",{position:"absolute",top:0,left:0,width:"100%",height:"100%",opacity:0}),yI=Z("div",{display:"flex",alignItems:"center",width:"100%",height:"$rowHeight",backgroundColor:"$elevation3",borderRadius:"$sm",padding:"0 $sm",cursor:"pointer",[`${Sf}:focus + &`]:{$focusStyle:""},[`${Sf}:hover + &`]:{$hoverStyle:""}});function xI({displayValue:e,value:t,onUpdate:n,id:r,settings:o,disabled:i}){const{keys:s,values:l}=o,a=h.useRef();return t===l[e]&&(a.current=s[e]),S.createElement(vI,null,S.createElement(Sf,{id:r,value:e,onChange:u=>n(l[Number(u.currentTarget.value)]),disabled:i},s.map((u,d)=>S.createElement("option",{key:u,value:d},u))),S.createElement(yI,null,a.current),S.createElement(nh,{toggled:!0}))}function wI(){const{label:e,value:t,displayValue:n,onUpdate:r,id:o,disabled:i,settings:s}=ht();return S.createElement(tn,{input:!0},S.createElement(mn,null,e),S.createElement(xI,{id:o,value:t,displayValue:n,onUpdate:r,settings:s,disabled:i}))}var _I=te({component:wI},gI);const bI=e=>jt().string().test(e),SI=e=>{if(typeof e!="string")throw Error("Invalid string");return e},EI=({value:e,editable:t=!0,rows:n=!1})=>({value:e,settings:{editable:t,rows:typeof n=="number"?n:n?5:0}});var CI=Object.freeze({__proto__:null,schema:bI,sanitize:SI,normalize:EI});const kI=["displayValue","onUpdate","onChange","editable"],jI=Z("div",{whiteSpace:"pre-wrap"});function $I(e){let{displayValue:t,onUpdate:n,onChange:r,editable:o=!0}=e,i=ge(e,kI);return o?S.createElement(eh,Le({value:t,onUpdate:n,onChange:r},i)):S.createElement(jI,null,t)}function RI(){const{label:e,settings:t,displayValue:n,onUpdate:r,onChange:o}=ht();return S.createElement(tn,{input:!0},S.createElement(mn,null,e),S.createElement($I,Le({displayValue:n,onUpdate:r,onChange:o},t)))}var TI=te({component:RI},CI);const NI=e=>jt().boolean().test(e),PI=e=>{if(typeof e!="boolean")throw Error("Invalid boolean");return e};var OI=Object.freeze({__proto__:null,schema:NI,sanitize:PI});const AI=Z("div",{position:"relative",$flex:"",height:"$rowHeight",input:{$reset:"",height:0,width:0,opacity:0,margin:0},label:{position:"relative",$flexCenter:"",userSelect:"none",cursor:"pointer",height:"$checkboxSize",width:"$checkboxSize",backgroundColor:"$elevation3",borderRadius:"$sm",$hover:""},"input:focus + label":{$focusStyle:""},"input:focus:checked + label, input:checked + label:hover":{$hoverStyle:"$accent3"},"input + label:active":{backgroundColor:"$accent1"},"input:checked + label:active":{backgroundColor:"$accent1"},"label > svg":{display:"none",width:"90%",height:"90%",stroke:"$highlight3"},"input:checked + label":{backgroundColor:"$accent2"},"input:checked + label > svg":{display:"block"}});function MI({value:e,onUpdate:t,id:n,disabled:r}){return S.createElement(AI,null,S.createElement("input",{id:n,type:"checkbox",checked:e,onChange:o=>t(o.currentTarget.checked),disabled:r}),S.createElement("label",{htmlFor:n},S.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},S.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M5 13l4 4L19 7"}))))}function DI(){const{label:e,value:t,onUpdate:n,disabled:r,id:o}=ht();return S.createElement(tn,{input:!0},S.createElement(mn,null,e),S.createElement(MI,{value:t,onUpdate:n,id:o,disabled:r}))}var II=te({component:DI},OI);const LI=["locked"];function FI({value:e,id:t,valueKey:n,settings:r,onUpdate:o,innerLabelTrim:i}){const s=h.useRef(e[n]);s.current=e[n];const l=h.useCallback(u=>o({[n]:Yx({type:"NUMBER",value:s.current,settings:r},u)}),[o,r,n]),a=fw({type:"NUMBER",value:e[n],settings:r,setValue:l});return S.createElement(vw,{id:t,label:n,value:e[n],displayValue:a.displayValue,onUpdate:a.onUpdate,onChange:a.onChange,settings:r,innerLabelTrim:i})}const zI=Z("div",{display:"grid",columnGap:"$colGap",gridAutoFlow:"column dense",alignItems:"center",variants:{withLock:{true:{gridTemplateColumns:"10px auto","> svg":{cursor:"pointer"}}}}});function BI(e){let{locked:t}=e,n=ge(e,LI);return S.createElement("svg",Le({width:"10",height:"10",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n),t?S.createElement("path",{d:"M5 4.63601C5 3.76031 5.24219 3.1054 5.64323 2.67357C6.03934 2.24705 6.64582 1.9783 7.5014 1.9783C8.35745 1.9783 8.96306 2.24652 9.35823 2.67208C9.75838 3.10299 10 3.75708 10 4.63325V5.99999H5V4.63601ZM4 5.99999V4.63601C4 3.58148 4.29339 2.65754 4.91049 1.99307C5.53252 1.32329 6.42675 0.978302 7.5014 0.978302C8.57583 0.978302 9.46952 1.32233 10.091 1.99162C10.7076 2.65557 11 3.57896 11 4.63325V5.99999H12C12.5523 5.99999 13 6.44771 13 6.99999V13C13 13.5523 12.5523 14 12 14H3C2.44772 14 2 13.5523 2 13V6.99999C2 6.44771 2.44772 5.99999 3 5.99999H4ZM3 6.99999H12V13H3V6.99999Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"}):S.createElement("path",{d:"M9 3.63601C9 2.76044 9.24207 2.11211 9.64154 1.68623C10.0366 1.26502 10.6432 1 11.5014 1C12.4485 1 13.0839 1.30552 13.4722 1.80636C13.8031 2.23312 14 2.84313 14 3.63325H15C15 2.68242 14.7626 1.83856 14.2625 1.19361C13.6389 0.38943 12.6743 0 11.5014 0C10.4294 0 9.53523 0.337871 8.91218 1.0021C8.29351 1.66167 8 2.58135 8 3.63601V6H1C0.447715 6 0 6.44772 0 7V13C0 13.5523 0.447715 14 1 14H10C10.5523 14 11 13.5523 11 13V7C11 6.44772 10.5523 6 10 6H9V3.63601ZM1 7H10V13H1V7Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"}))}function rh({value:e,onUpdate:t,settings:n,innerLabelTrim:r}){const{id:o,setSettings:i}=ht(),{lock:s,locked:l}=n;return S.createElement(zI,{withLock:s},s&&S.createElement(BI,{locked:l,onClick:()=>i({locked:!l})}),Object.keys(e).map((a,u)=>S.createElement(FI,{id:u===0?o:`${o}.${a}`,key:a,valueKey:a,value:e,settings:n[a],onUpdate:t,innerLabelTrim:r})))}const yw=(e,t)=>{const n={};let r=0,o=1/0;Object.entries(e).forEach(([i,s])=>{n[i]=Zx(te({value:s},t[i])).settings,r=Math.max(r,n[i].step),o=Math.min(o,n[i].pad)});for(let i in n){const{step:s,min:l,max:a}=t[i]||{};!isFinite(s)&&(!isFinite(l)||!isFinite(a))&&(n[i].step=r,n[i].pad=o)}return n},UI=["lock"],HI=["value"];function WI(e){const t=jt().array().length(e).every.number(),n=r=>{if(!r||typeof r!="object")return!1;const o=Object.values(r);return o.length===e&&o.every(i=>isFinite(i))};return r=>t.test(r)||n(r)}function VI(e){return Array.isArray(e)?"array":"object"}function As(e,t,n){return VI(e)===t?e:t==="array"?Object.values(e):bD(e,n)}const GI=(e,t,n)=>{const r=As(e,"object",t.keys);for(let s in r)r[s]=Jx(r[s],t[s]);const o=Object.keys(r);let i={};if(o.length===t.keys.length)i=r;else{const s=As(n,"object",t.keys);if(o.length===1&&t.locked){const l=o[0],a=r[l],u=s[l],d=u!==0?a/u:1;for(let f in s)f===l?i[l]=a:i[f]=s[f]*d}else i=te(te({},s),r)}return As(i,t.format,t.keys)},KI=(e,t)=>As(e,"object",t.keys),qI=e=>!!e&&("step"in e||"min"in e||"max"in e);function YI(e,t,n=[]){const{lock:r=!1}=t,o=ge(t,UI),i=Array.isArray(e)?"array":"object",s=i==="object"?Object.keys(e):n,l=As(e,"object",s),a=qI(o)?s.reduce((d,f)=>Object.assign(d,{[f]:o}),{}):o,u=yw(l,a);return{value:i==="array"?e:l,settings:te(te({},u),{},{format:i,keys:s,lock:r,locked:!1})}}function xw(e){return{schema:WI(e.length),normalize:t=>{let{value:n}=t,r=ge(t,HI);return YI(n,r,e)},format:(t,n)=>KI(t,n),sanitize:(t,n,r)=>GI(t,n,r)}}var QI={grad:.9,turn:360,rad:360/(2*Math.PI)},Ln=function(e){return typeof e=="string"?e.length>0:typeof e=="number"},Xe=function(e,t,n){return t===void 0&&(t=0),n===void 0&&(n=Math.pow(10,t)),Math.round(n*e)/n+0},Yt=function(e,t,n){return t===void 0&&(t=0),n===void 0&&(n=1),e>n?n:e>t?e:t},ww=function(e){return(e=isFinite(e)?e%360:0)>0?e:e+360},iv=function(e){return{r:Yt(e.r,0,255),g:Yt(e.g,0,255),b:Yt(e.b,0,255),a:Yt(e.a)}},Ju=function(e){return{r:Xe(e.r),g:Xe(e.g),b:Xe(e.b),a:Xe(e.a,3)}},XI=/^#([0-9a-f]{3,8})$/i,sl=function(e){var t=e.toString(16);return t.length<2?"0"+t:t},_w=function(e){var t=e.r,n=e.g,r=e.b,o=e.a,i=Math.max(t,n,r),s=i-Math.min(t,n,r),l=s?i===t?(n-r)/s:i===n?2+(r-t)/s:4+(t-n)/s:0;return{h:60*(l<0?l+6:l),s:i?s/i*100:0,v:i/255*100,a:o}},bw=function(e){var t=e.h,n=e.s,r=e.v,o=e.a;t=t/360*6,n/=100,r/=100;var i=Math.floor(t),s=r*(1-n),l=r*(1-(t-i)*n),a=r*(1-(1-t+i)*n),u=i%6;return{r:255*[r,l,s,s,a,r][u],g:255*[a,r,r,l,s,s][u],b:255*[s,s,a,r,r,l][u],a:o}},sv=function(e){return{h:ww(e.h),s:Yt(e.s,0,100),l:Yt(e.l,0,100),a:Yt(e.a)}},av=function(e){return{h:Xe(e.h),s:Xe(e.s),l:Xe(e.l),a:Xe(e.a,3)}},lv=function(e){return bw((n=(t=e).s,{h:t.h,s:(n*=((r=t.l)<50?r:100-r)/100)>0?2*n/(r+n)*100:0,v:r+n,a:t.a}));var t,n,r},Ms=function(e){return{h:(t=_w(e)).h,s:(o=(200-(n=t.s))*(r=t.v)/100)>0&&o<200?n*r/100/(o<=100?o:200-o)*100:0,l:o/2,a:t.a};var t,n,r,o},JI=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s*,\s*([+-]?\d*\.?\d+)%\s*,\s*([+-]?\d*\.?\d+)%\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,ZI=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s+([+-]?\d*\.?\d+)%\s+([+-]?\d*\.?\d+)%\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,e5=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,t5=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,Ef={string:[[function(e){var t=XI.exec(e);return t?(e=t[1]).length<=4?{r:parseInt(e[0]+e[0],16),g:parseInt(e[1]+e[1],16),b:parseInt(e[2]+e[2],16),a:e.length===4?Xe(parseInt(e[3]+e[3],16)/255,2):1}:e.length===6||e.length===8?{r:parseInt(e.substr(0,2),16),g:parseInt(e.substr(2,2),16),b:parseInt(e.substr(4,2),16),a:e.length===8?Xe(parseInt(e.substr(6,2),16)/255,2):1}:null:null},"hex"],[function(e){var t=e5.exec(e)||t5.exec(e);return t?t[2]!==t[4]||t[4]!==t[6]?null:iv({r:Number(t[1])/(t[2]?100/255:1),g:Number(t[3])/(t[4]?100/255:1),b:Number(t[5])/(t[6]?100/255:1),a:t[7]===void 0?1:Number(t[7])/(t[8]?100:1)}):null},"rgb"],[function(e){var t=JI.exec(e)||ZI.exec(e);if(!t)return null;var n,r,o=sv({h:(n=t[1],r=t[2],r===void 0&&(r="deg"),Number(n)*(QI[r]||1)),s:Number(t[3]),l:Number(t[4]),a:t[5]===void 0?1:Number(t[5])/(t[6]?100:1)});return lv(o)},"hsl"]],object:[[function(e){var t=e.r,n=e.g,r=e.b,o=e.a,i=o===void 0?1:o;return Ln(t)&&Ln(n)&&Ln(r)?iv({r:Number(t),g:Number(n),b:Number(r),a:Number(i)}):null},"rgb"],[function(e){var t=e.h,n=e.s,r=e.l,o=e.a,i=o===void 0?1:o;if(!Ln(t)||!Ln(n)||!Ln(r))return null;var s=sv({h:Number(t),s:Number(n),l:Number(r),a:Number(i)});return lv(s)},"hsl"],[function(e){var t=e.h,n=e.s,r=e.v,o=e.a,i=o===void 0?1:o;if(!Ln(t)||!Ln(n)||!Ln(r))return null;var s=function(l){return{h:ww(l.h),s:Yt(l.s,0,100),v:Yt(l.v,0,100),a:Yt(l.a)}}({h:Number(t),s:Number(n),v:Number(r),a:Number(i)});return bw(s)},"hsv"]]},cv=function(e,t){for(var n=0;n=.5},e.prototype.toHex=function(){return t=Ju(this.rgba),n=t.r,r=t.g,o=t.b,s=(i=t.a)<1?sl(Xe(255*i)):"","#"+sl(n)+sl(r)+sl(o)+s;var t,n,r,o,i,s},e.prototype.toRgb=function(){return Ju(this.rgba)},e.prototype.toRgbString=function(){return t=Ju(this.rgba),n=t.r,r=t.g,o=t.b,(i=t.a)<1?"rgba("+n+", "+r+", "+o+", "+i+")":"rgb("+n+", "+r+", "+o+")";var t,n,r,o,i},e.prototype.toHsl=function(){return av(Ms(this.rgba))},e.prototype.toHslString=function(){return t=av(Ms(this.rgba)),n=t.h,r=t.s,o=t.l,(i=t.a)<1?"hsla("+n+", "+r+"%, "+o+"%, "+i+")":"hsl("+n+", "+r+"%, "+o+"%)";var t,n,r,o,i},e.prototype.toHsv=function(){return t=_w(this.rgba),{h:Xe(t.h),s:Xe(t.s),v:Xe(t.v),a:Xe(t.a,3)};var t},e.prototype.invert=function(){return yt({r:255-(t=this.rgba).r,g:255-t.g,b:255-t.b,a:t.a});var t},e.prototype.saturate=function(t){return t===void 0&&(t=.1),yt(Zu(this.rgba,t))},e.prototype.desaturate=function(t){return t===void 0&&(t=.1),yt(Zu(this.rgba,-t))},e.prototype.grayscale=function(){return yt(Zu(this.rgba,-1))},e.prototype.lighten=function(t){return t===void 0&&(t=.1),yt(uv(this.rgba,t))},e.prototype.darken=function(t){return t===void 0&&(t=.1),yt(uv(this.rgba,-t))},e.prototype.rotate=function(t){return t===void 0&&(t=15),this.hue(this.hue()+t)},e.prototype.alpha=function(t){return typeof t=="number"?yt({r:(n=this.rgba).r,g:n.g,b:n.b,a:t}):Xe(this.rgba.a,3);var n},e.prototype.hue=function(t){var n=Ms(this.rgba);return typeof t=="number"?yt({h:t,s:n.s,l:n.l,a:n.a}):Xe(n.h)},e.prototype.isEqual=function(t){return this.toHex()===yt(t).toHex()},e}(),yt=function(e){return e instanceof Cf?e:new Cf(e)},dv=[],r5=function(e){e.forEach(function(t){dv.indexOf(t)<0&&(t(Cf,Ef),dv.push(t))})};function o5(e,t){var n={white:"#ffffff",bisque:"#ffe4c4",blue:"#0000ff",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",antiquewhite:"#faebd7",aqua:"#00ffff",azure:"#f0ffff",whitesmoke:"#f5f5f5",papayawhip:"#ffefd5",plum:"#dda0dd",blanchedalmond:"#ffebcd",black:"#000000",gold:"#ffd700",goldenrod:"#daa520",gainsboro:"#dcdcdc",cornsilk:"#fff8dc",cornflowerblue:"#6495ed",burlywood:"#deb887",aquamarine:"#7fffd4",beige:"#f5f5dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkkhaki:"#bdb76b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",peachpuff:"#ffdab9",darkmagenta:"#8b008b",darkred:"#8b0000",darkorchid:"#9932cc",darkorange:"#ff8c00",darkslateblue:"#483d8b",gray:"#808080",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",deeppink:"#ff1493",deepskyblue:"#00bfff",wheat:"#f5deb3",firebrick:"#b22222",floralwhite:"#fffaf0",ghostwhite:"#f8f8ff",darkviolet:"#9400d3",magenta:"#ff00ff",green:"#008000",dodgerblue:"#1e90ff",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",blueviolet:"#8a2be2",forestgreen:"#228b22",lawngreen:"#7cfc00",indianred:"#cd5c5c",indigo:"#4b0082",fuchsia:"#ff00ff",brown:"#a52a2a",maroon:"#800000",mediumblue:"#0000cd",lightcoral:"#f08080",darkturquoise:"#00ced1",lightcyan:"#e0ffff",ivory:"#fffff0",lightyellow:"#ffffe0",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",linen:"#faf0e6",mediumaquamarine:"#66cdaa",lemonchiffon:"#fffacd",lime:"#00ff00",khaki:"#f0e68c",mediumseagreen:"#3cb371",limegreen:"#32cd32",mediumspringgreen:"#00fa9a",lightskyblue:"#87cefa",lightblue:"#add8e6",midnightblue:"#191970",lightpink:"#ffb6c1",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",mintcream:"#f5fffa",lightslategray:"#778899",lightslategrey:"#778899",navajowhite:"#ffdead",navy:"#000080",mediumvioletred:"#c71585",powderblue:"#b0e0e6",palegoldenrod:"#eee8aa",oldlace:"#fdf5e6",paleturquoise:"#afeeee",mediumturquoise:"#48d1cc",mediumorchid:"#ba55d3",rebeccapurple:"#663399",lightsteelblue:"#b0c4de",mediumslateblue:"#7b68ee",thistle:"#d8bfd8",tan:"#d2b48c",orchid:"#da70d6",mediumpurple:"#9370db",purple:"#800080",pink:"#ffc0cb",skyblue:"#87ceeb",springgreen:"#00ff7f",palegreen:"#98fb98",red:"#ff0000",yellow:"#ffff00",slateblue:"#6a5acd",lavenderblush:"#fff0f5",peru:"#cd853f",palevioletred:"#db7093",violet:"#ee82ee",teal:"#008080",slategray:"#708090",slategrey:"#708090",aliceblue:"#f0f8ff",darkseagreen:"#8fbc8f",darkolivegreen:"#556b2f",greenyellow:"#adff2f",seagreen:"#2e8b57",seashell:"#fff5ee",tomato:"#ff6347",silver:"#c0c0c0",sienna:"#a0522d",lavender:"#e6e6fa",lightgreen:"#90ee90",orange:"#ffa500",orangered:"#ff4500",steelblue:"#4682b4",royalblue:"#4169e1",turquoise:"#40e0d0",yellowgreen:"#9acd32",salmon:"#fa8072",saddlebrown:"#8b4513",sandybrown:"#f4a460",rosybrown:"#bc8f8f",darksalmon:"#e9967a",lightgoldenrodyellow:"#fafad2",snow:"#fffafa",lightgrey:"#d3d3d3",lightgray:"#d3d3d3",dimgray:"#696969",dimgrey:"#696969",olivedrab:"#6b8e23",olive:"#808000"},r={};for(var o in n)r[n[o]]=o;var i={};e.prototype.toName=function(s){if(!(this.rgba.a||this.rgba.r||this.rgba.g||this.rgba.b))return"transparent";var l,a,u=r[this.toHex()];if(u)return u;if(s!=null&&s.closest){var d=this.toRgb(),f=1/0,p="black";if(!i.length)for(var g in n)i[g]=new e(n[g]).toRgb();for(var m in n){var x=(l=d,a=i[m],Math.pow(l.r-a.r,2)+Math.pow(l.g-a.g,2)+Math.pow(l.b-a.b,2));x=0||(o[n]=e[n]);return o}function kf(e){var t=h.useRef(e),n=h.useRef(function(r){t.current&&t.current(r)});return t.current=e,n.current}var Pi=function(e,t,n){return t===void 0&&(t=0),n===void 0&&(n=1),e>n?n:e0:w.buttons>0)&&o.current?i(fv(o.current,w,l.current)):x(!1)},m=function(){return x(!1)};function x(w){var v=a.current,y=jf(o.current),_=w?y.addEventListener:y.removeEventListener;_(v?"touchmove":"mousemove",g),_(v?"touchend":"mouseup",m)}return[function(w){var v=w.nativeEvent,y=o.current;if(y&&(pv(v),!function(C,E){return E&&!Ds(C)}(v,a.current)&&y)){if(Ds(v)){a.current=!0;var _=v.changedTouches||[];_.length&&(l.current=_[0].identifier)}y.focus(),i(fv(y,v,l.current)),x(!0)}},function(w){var v=w.which||w.keyCode;v<37||v>40||(w.preventDefault(),s({left:v===39?.05:v===37?-.05:0,top:v===40?.05:v===38?-.05:0}))},x]},[s,i]),d=u[0],f=u[1],p=u[2];return h.useEffect(function(){return p},[p]),S.createElement("div",Hi({},r,{onTouchStart:d,onMouseDown:d,className:"react-colorful__interactive",ref:o,onKeyDown:f,tabIndex:0,role:"slider"}))}),ja=function(e){return e.filter(Boolean).join(" ")},sh=function(e){var t=e.color,n=e.left,r=e.top,o=r===void 0?.5:r,i=ja(["react-colorful__pointer",e.className]);return S.createElement("div",{className:i,style:{top:100*o+"%",left:100*n+"%"}},S.createElement("div",{className:"react-colorful__pointer-fill",style:{backgroundColor:t}}))},wt=function(e,t,n){return t===void 0&&(t=0),n===void 0&&(n=Math.pow(10,t)),Math.round(n*e)/n},Ew=function(e){var t=e.s,n=e.v,r=e.a,o=(200-t)*n/100;return{h:wt(e.h),s:wt(o>0&&o<200?t*n/100/(o<=100?o:200-o)*100:0),l:wt(o/2),a:wt(r,2)}},$f=function(e){var t=Ew(e);return"hsl("+t.h+", "+t.s+"%, "+t.l+"%)"},td=function(e){var t=Ew(e);return"hsla("+t.h+", "+t.s+"%, "+t.l+"%, "+t.a+")"},Cw=function(e){var t=e.h,n=e.s,r=e.v,o=e.a;t=t/360*6,n/=100,r/=100;var i=Math.floor(t),s=r*(1-n),l=r*(1-(t-i)*n),a=r*(1-(1-t+i)*n),u=i%6;return{r:wt(255*[r,l,s,s,a,r][u]),g:wt(255*[a,r,r,l,s,s][u]),b:wt(255*[s,s,a,r,r,l][u]),a:wt(o,2)}},kw=function(e){var t=e.r,n=e.g,r=e.b,o=e.a,i=Math.max(t,n,r),s=i-Math.min(t,n,r),l=s?i===t?(n-r)/s:i===n?2+(r-t)/s:4+(t-n)/s:0;return{h:wt(60*(l<0?l+6:l)),s:wt(i?s/i*100:0),v:wt(i/255*100),a:o}},jw=S.memo(function(e){var t=e.hue,n=e.onChange,r=ja(["react-colorful__hue",e.className]);return S.createElement("div",{className:r},S.createElement(ih,{onMove:function(o){n({h:360*o.left})},onKey:function(o){n({h:Pi(t+360*o.left,0,360)})},"aria-label":"Hue","aria-valuenow":wt(t),"aria-valuemax":"360","aria-valuemin":"0"},S.createElement(sh,{className:"react-colorful__hue-pointer",left:t/360,color:$f({h:t,s:100,v:100,a:1})})))}),$w=S.memo(function(e){var t=e.hsva,n=e.onChange,r={backgroundColor:$f({h:t.h,s:100,v:100,a:1})};return S.createElement("div",{className:"react-colorful__saturation",style:r},S.createElement(ih,{onMove:function(o){n({s:100*o.left,v:100-100*o.top})},onKey:function(o){n({s:Pi(t.s+100*o.left,0,100),v:Pi(t.v-100*o.top,0,100)})},"aria-label":"Color","aria-valuetext":"Saturation "+wt(t.s)+"%, Brightness "+wt(t.v)+"%"},S.createElement(sh,{className:"react-colorful__saturation-pointer",top:1-t.v/100,left:t.s/100,color:$f(t)})))}),ah=function(e,t){if(e===t)return!0;for(var n in e)if(e[n]!==t[n])return!1;return!0};function Rw(e,t,n){var r=kf(n),o=h.useState(function(){return e.toHsva(t)}),i=o[0],s=o[1],l=h.useRef({color:t,hsva:i});h.useEffect(function(){if(!e.equal(t,l.current.color)){var u=e.toHsva(t);l.current={hsva:u,color:t},s(u)}},[t,e]),h.useEffect(function(){var u;ah(i,l.current.hsva)||e.equal(u=e.fromHsva(i),l.current.color)||(l.current={hsva:i,color:u},r(u))},[i,e,r]);var a=h.useCallback(function(u){s(function(d){return Object.assign({},d,u)})},[]);return[i,a]}var i5=typeof window<"u"?h.useLayoutEffect:h.useEffect,s5=function(){return typeof __webpack_nonce__<"u"?__webpack_nonce__:void 0},hv=new Map,Tw=function(e){i5(function(){var t=e.current?e.current.ownerDocument:document;if(t!==void 0&&!hv.has(t)){var n=t.createElement("style");n.innerHTML=`.react-colorful{position:relative;display:flex;flex-direction:column;width:200px;height:200px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.react-colorful__saturation{position:relative;flex-grow:1;border-color:transparent;border-bottom:12px solid #000;border-radius:8px 8px 0 0;background-image:linear-gradient(0deg,#000,transparent),linear-gradient(90deg,#fff,hsla(0,0%,100%,0))}.react-colorful__alpha-gradient,.react-colorful__pointer-fill{content:"";position:absolute;left:0;top:0;right:0;bottom:0;pointer-events:none;border-radius:inherit}.react-colorful__alpha-gradient,.react-colorful__saturation{box-shadow:inset 0 0 0 1px rgba(0,0,0,.05)}.react-colorful__alpha,.react-colorful__hue{position:relative;height:24px}.react-colorful__hue{background:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.react-colorful__last-control{border-radius:0 0 8px 8px}.react-colorful__interactive{position:absolute;left:0;top:0;right:0;bottom:0;border-radius:inherit;outline:none;touch-action:none}.react-colorful__pointer{position:absolute;z-index:1;box-sizing:border-box;width:28px;height:28px;transform:translate(-50%,-50%);background-color:#fff;border:2px solid #fff;border-radius:50%;box-shadow:0 2px 4px rgba(0,0,0,.2)}.react-colorful__interactive:focus .react-colorful__pointer{transform:translate(-50%,-50%) scale(1.1)}.react-colorful__alpha,.react-colorful__alpha-pointer{background-color:#fff;background-image:url('data:image/svg+xml;charset=utf-8,')}.react-colorful__saturation-pointer{z-index:3}.react-colorful__hue-pointer{z-index:2}`,hv.set(t,n);var r=s5();r&&n.setAttribute("nonce",r),t.head.appendChild(n)}},[])},a5=function(e){var t=e.className,n=e.colorModel,r=e.color,o=r===void 0?n.defaultColor:r,i=e.onChange,s=oh(e,["className","colorModel","color","onChange"]),l=h.useRef(null);Tw(l);var a=Rw(n,o,i),u=a[0],d=a[1],f=ja(["react-colorful",t]);return S.createElement("div",Hi({},s,{ref:l,className:f}),S.createElement($w,{hsva:u,onChange:d}),S.createElement(jw,{hue:u.h,onChange:d,className:"react-colorful__last-control"}))},l5=function(e){var t=e.className,n=e.hsva,r=e.onChange,o={backgroundImage:"linear-gradient(90deg, "+td(Object.assign({},n,{a:0}))+", "+td(Object.assign({},n,{a:1}))+")"},i=ja(["react-colorful__alpha",t]),s=wt(100*n.a);return S.createElement("div",{className:i},S.createElement("div",{className:"react-colorful__alpha-gradient",style:o}),S.createElement(ih,{onMove:function(l){r({a:l.left})},onKey:function(l){r({a:Pi(n.a+l.left)})},"aria-label":"Alpha","aria-valuetext":s+"%","aria-valuenow":s,"aria-valuemin":"0","aria-valuemax":"100"},S.createElement(sh,{className:"react-colorful__alpha-pointer",left:n.a,color:td(n)})))},c5=function(e){var t=e.className,n=e.colorModel,r=e.color,o=r===void 0?n.defaultColor:r,i=e.onChange,s=oh(e,["className","colorModel","color","onChange"]),l=h.useRef(null);Tw(l);var a=Rw(n,o,i),u=a[0],d=a[1],f=ja(["react-colorful",t]);return S.createElement("div",Hi({},s,{ref:l,className:f}),S.createElement($w,{hsva:u,onChange:d}),S.createElement(jw,{hue:u.h,onChange:d}),S.createElement(l5,{hsva:u,onChange:d,className:"react-colorful__last-control"}))},u5={defaultColor:{r:0,g:0,b:0,a:1},toHsva:kw,fromHsva:Cw,equal:ah},d5=function(e){return S.createElement(c5,Hi({},e,{colorModel:u5}))},f5={defaultColor:{r:0,g:0,b:0},toHsva:function(e){return kw({r:e.r,g:e.g,b:e.b,a:1})},fromHsva:function(e){return{r:(t=Cw(e)).r,g:t.g,b:t.b};var t},equal:ah},p5=function(e){return S.createElement(a5,Hi({},e,{colorModel:f5}))},Nw={exports:{}},h5="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",m5=h5,g5=m5;function Pw(){}function Ow(){}Ow.resetWarningCache=Pw;var v5=function(){function e(r,o,i,s,l,a){if(a!==g5){var u=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw u.name="Invariant Violation",u}}e.isRequired=e;function t(){return e}var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:Ow,resetWarningCache:Pw};return n.PropTypes=n,n};Nw.exports=v5();var y5=Nw.exports;const we=jc(y5);function Wi(e,t,n,r){function o(i){return i instanceof n?i:new n(function(s){s(i)})}return new(n||(n=Promise))(function(i,s){function l(d){try{u(r.next(d))}catch(f){s(f)}}function a(d){try{u(r.throw(d))}catch(f){s(f)}}function u(d){d.done?i(d.value):o(d.value).then(l,a)}u((r=r.apply(e,t||[])).next())})}function Vi(e,t){var n={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},r,o,i,s;return s={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function l(u){return function(d){return a([u,d])}}function a(u){if(r)throw new TypeError("Generator is already executing.");for(;s&&(s=0,u[0]&&(n=0)),n;)try{if(r=1,o&&(i=u[0]&2?o.return:u[0]?o.throw||((i=o.return)&&i.call(o),0):o.next)&&!(i=i.call(o,u[1])).done)return i;switch(o=0,i&&(u=[u[0]&2,i.value]),u[0]){case 0:case 1:i=u;break;case 4:return n.label++,{value:u[1],done:!1};case 5:n.label++,o=u[1],u=[0];continue;case 7:u=n.ops.pop(),n.trys.pop();continue;default:if(i=n.trys,!(i=i.length>0&&i[i.length-1])&&(u[0]===6||u[0]===2)){n=0;continue}if(u[0]===3&&(!i||u[1]>i[0]&&u[1]0)&&!(o=r.next()).done;)i.push(o.value)}catch(l){s={error:l}}finally{try{o&&!o.done&&(n=r.return)&&n.call(r)}finally{if(s)throw s.error}}return i}function w5(){for(var e=[],t=0;t0?r:e.name,writable:!1,configurable:!1,enumerable:!0})}return n}function b5(e){var t=e.name,n=t&&t.lastIndexOf(".")!==-1;if(n&&!e.type){var r=t.split(".").pop().toLowerCase(),o=_5.get(r);o&&Object.defineProperty(e,"type",{value:o,writable:!1,configurable:!1,enumerable:!0})}return e}var S5=[".DS_Store","Thumbs.db"];function E5(e){return Wi(this,void 0,void 0,function(){return Vi(this,function(t){return _c(e)&&C5(e)?[2,R5(e.dataTransfer,e.type)]:k5(e)?[2,j5(e)]:Array.isArray(e)&&e.every(function(n){return"getFile"in n&&typeof n.getFile=="function"})?[2,$5(e)]:[2,[]]})})}function C5(e){return _c(e.dataTransfer)}function k5(e){return _c(e)&&_c(e.target)}function _c(e){return typeof e=="object"&&e!==null}function j5(e){return Rf(e.target.files).map(function(t){return $a(t)})}function $5(e){return Wi(this,void 0,void 0,function(){var t;return Vi(this,function(n){switch(n.label){case 0:return[4,Promise.all(e.map(function(r){return r.getFile()}))];case 1:return t=n.sent(),[2,t.map(function(r){return $a(r)})]}})})}function R5(e,t){return Wi(this,void 0,void 0,function(){var n,r;return Vi(this,function(o){switch(o.label){case 0:return e===null?[2,[]]:e.items?(n=Rf(e.items).filter(function(i){return i.kind==="file"}),t!=="drop"?[2,n]:[4,Promise.all(n.map(T5))]):[3,2];case 1:return r=o.sent(),[2,mv(Aw(r))];case 2:return[2,mv(Rf(e.files).map(function(i){return $a(i)}))]}})})}function mv(e){return e.filter(function(t){return S5.indexOf(t.name)===-1})}function Rf(e){if(e===null)return[];for(var t=[],n=0;ne.length)&&(t=e.length);for(var n=0,r=new Array(t);nn)return[!1,_v(n)];if(e.sizen)return[!1,_v(n)]}return[!0,null]}function hs(e){return e!=null}function W5(e){var t=e.files,n=e.accept,r=e.minSize,o=e.maxSize,i=e.multiple,s=e.maxFiles;return!i&&t.length>1||i&&s>=1&&t.length>s?!1:t.every(function(l){var a=Iw(l,n),u=xv(a,1),d=u[0],f=Lw(l,r,o),p=xv(f,1),g=p[0];return d&&g})}function bc(e){return typeof e.isPropagationStopped=="function"?e.isPropagationStopped():typeof e.cancelBubble<"u"?e.cancelBubble:!1}function al(e){return e.dataTransfer?Array.prototype.some.call(e.dataTransfer.types,function(t){return t==="Files"||t==="application/x-moz-file"}):!!e.target&&!!e.target.files}function Sv(e){e.preventDefault()}function V5(e){return e.indexOf("MSIE")!==-1||e.indexOf("Trident/")!==-1}function G5(e){return e.indexOf("Edge/")!==-1}function K5(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:window.navigator.userAgent;return V5(e)||G5(e)}function bn(){for(var e=arguments.length,t=new Array(e),n=0;n1?o-1:0),s=1;se.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function c4(e,t){if(e==null)return{};var n={},r=Object.keys(e),o,i;for(i=0;i=0)&&(n[o]=e[o]);return n}var lh=h.forwardRef(function(e,t){var n=e.children,r=Sc(e,J5),o=Bw(r),i=o.open,s=Sc(o,Z5);return h.useImperativeHandle(t,function(){return{open:i}},[i]),S.createElement(h.Fragment,null,n($e($e({},s),{},{open:i})))});lh.displayName="Dropzone";var zw={disabled:!1,getFilesFromEvent:E5,maxSize:1/0,minSize:0,multiple:!0,maxFiles:0,preventDropOnDocument:!0,noClick:!1,noKeyboard:!1,noDrag:!1,noDragEventsBubbling:!1,validator:null,useFsAccessApi:!0};lh.defaultProps=zw;lh.propTypes={children:we.func,accept:we.oneOfType([we.string,we.arrayOf(we.string)]),multiple:we.bool,preventDropOnDocument:we.bool,noClick:we.bool,noKeyboard:we.bool,noDrag:we.bool,noDragEventsBubbling:we.bool,minSize:we.number,maxSize:we.number,maxFiles:we.number,disabled:we.bool,getFilesFromEvent:we.func,onFileDialogCancel:we.func,onFileDialogOpen:we.func,useFsAccessApi:we.bool,onDragEnter:we.func,onDragLeave:we.func,onDragOver:we.func,onDrop:we.func,onDropAccepted:we.func,onDropRejected:we.func,validator:we.func};var Pf={isFocused:!1,isFileDialogActive:!1,isDragActive:!1,isDragAccept:!1,isDragReject:!1,draggedFiles:[],acceptedFiles:[],fileRejections:[]};function Bw(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=$e($e({},zw),e),n=t.accept,r=t.disabled,o=t.getFilesFromEvent,i=t.maxSize,s=t.minSize,l=t.multiple,a=t.maxFiles,u=t.onDragEnter,d=t.onDragLeave,f=t.onDragOver,p=t.onDrop,g=t.onDropAccepted,m=t.onDropRejected,x=t.onFileDialogCancel,w=t.onFileDialogOpen,v=t.useFsAccessApi,y=t.preventDropOnDocument,_=t.noClick,C=t.noKeyboard,E=t.noDrag,b=t.noDragEventsBubbling,k=t.validator,j=h.useMemo(function(){return typeof w=="function"?w:Cv},[w]),P=h.useMemo(function(){return typeof x=="function"?x:Cv},[x]),N=h.useRef(null),M=h.useRef(null),I=h.useReducer(u4,Pf),U=nd(I,2),z=U[0],q=U[1],K=z.isFocused,Y=z.isFileDialogActive,L=z.draggedFiles,W=h.useRef(typeof window<"u"&&window.isSecureContext&&v&&q5()),X=function(){!W.current&&Y&&setTimeout(function(){if(M.current){var ee=M.current.files;ee.length||(q({type:"closeDialog"}),P())}},300)};h.useEffect(function(){return window.addEventListener("focus",X,!1),function(){window.removeEventListener("focus",X,!1)}},[M,Y,P,W]);var ne=h.useRef([]),fe=function(ee){N.current&&N.current.contains(ee.target)||(ee.preventDefault(),ne.current=[])};h.useEffect(function(){return y&&(document.addEventListener("dragover",Sv,!1),document.addEventListener("drop",fe,!1)),function(){y&&(document.removeEventListener("dragover",Sv),document.removeEventListener("drop",fe))}},[N,y]);var ot=h.useCallback(function(H){H.preventDefault(),H.persist(),Mn(H),ne.current=[].concat(n4(ne.current),[H.target]),al(H)&&Promise.resolve(o(H)).then(function(ee){bc(H)&&!b||(q({draggedFiles:ee,isDragActive:!0,type:"setDraggedFiles"}),u&&u(H))})},[o,u,b]),Ae=h.useCallback(function(H){H.preventDefault(),H.persist(),Mn(H);var ee=al(H);if(ee&&H.dataTransfer)try{H.dataTransfer.dropEffect="copy"}catch{}return ee&&f&&f(H),!1},[f,b]),Ue=h.useCallback(function(H){H.preventDefault(),H.persist(),Mn(H);var ee=ne.current.filter(function(Ze){return N.current&&N.current.contains(Ze)}),je=ee.indexOf(H.target);je!==-1&&ee.splice(je,1),ne.current=ee,!(ee.length>0)&&(q({isDragActive:!1,type:"setDraggedFiles",draggedFiles:[]}),al(H)&&d&&d(H))},[N,d,b]),ve=h.useCallback(function(H,ee){var je=[],Ze=[];H.forEach(function(st){var Gr=Iw(st,n),mt=nd(Gr,2),Eo=mt[0],Co=mt[1],ko=Lw(st,s,i),jo=nd(ko,2),$o=jo[0],ar=jo[1],Ro=k?k(st):null;if(Eo&&$o&&!Ro)je.push(st);else{var Kr=[Co,ar];Ro&&(Kr=Kr.concat(Ro)),Ze.push({file:st,errors:Kr.filter(function(ou){return ou})})}}),(!l&&je.length>1||l&&a>=1&&je.length>a)&&(je.forEach(function(st){Ze.push({file:st,errors:[H5]})}),je.splice(0)),q({acceptedFiles:je,fileRejections:Ze,type:"setFiles"}),p&&p(je,Ze,ee),Ze.length>0&&m&&m(Ze,ee),je.length>0&&g&&g(je,ee)},[q,l,n,s,i,a,p,g,m,k]),it=h.useCallback(function(H){H.preventDefault(),H.persist(),Mn(H),ne.current=[],al(H)&&Promise.resolve(o(H)).then(function(ee){bc(H)&&!b||ve(ee,H)}),q({type:"reset"})},[o,ve,b]),vn=h.useCallback(function(){if(W.current){q({type:"openDialog"}),j();var H={multiple:l,types:Y5(n)};window.showOpenFilePicker(H).then(function(ee){return o(ee)}).then(function(ee){ve(ee,null),q({type:"closeDialog"})}).catch(function(ee){Q5(ee)?(P(ee),q({type:"closeDialog"})):X5(ee)&&(W.current=!1,M.current&&(M.current.value=null,M.current.click()))});return}M.current&&(q({type:"openDialog"}),j(),M.current.value=null,M.current.click())},[q,j,P,v,ve,n,l]),An=h.useCallback(function(H){!N.current||!N.current.isEqualNode(H.target)||(H.key===" "||H.key==="Enter"||H.keyCode===32||H.keyCode===13)&&(H.preventDefault(),vn())},[N,vn]),bo=h.useCallback(function(){q({type:"focus"})},[]),Ge=h.useCallback(function(){q({type:"blur"})},[]),yn=h.useCallback(function(){_||(K5()?setTimeout(vn,0):vn())},[_,vn]),nn=function(ee){return r?null:ee},Vr=function(ee){return C?null:nn(ee)},Ke=function(ee){return E?null:nn(ee)},Mn=function(ee){b&&ee.stopPropagation()},Gi=h.useMemo(function(){return function(){var H=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},ee=H.refKey,je=ee===void 0?"ref":ee,Ze=H.role,st=H.onKeyDown,Gr=H.onFocus,mt=H.onBlur,Eo=H.onClick,Co=H.onDragEnter,ko=H.onDragOver,jo=H.onDragLeave,$o=H.onDrop,ar=Sc(H,e4);return $e($e(Nf({onKeyDown:Vr(bn(st,An)),onFocus:Vr(bn(Gr,bo)),onBlur:Vr(bn(mt,Ge)),onClick:nn(bn(Eo,yn)),onDragEnter:Ke(bn(Co,ot)),onDragOver:Ke(bn(ko,Ae)),onDragLeave:Ke(bn(jo,Ue)),onDrop:Ke(bn($o,it)),role:typeof Ze=="string"&&Ze!==""?Ze:"button"},je,N),!r&&!C?{tabIndex:0}:{}),ar)}},[N,An,bo,Ge,yn,ot,Ae,Ue,it,C,E,r]),Ki=h.useCallback(function(H){H.stopPropagation()},[]),qi=h.useMemo(function(){return function(){var H=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},ee=H.refKey,je=ee===void 0?"ref":ee,Ze=H.onChange,st=H.onClick,Gr=Sc(H,t4),mt=Nf({accept:n,multiple:l,type:"file",style:{display:"none"},onChange:nn(bn(Ze,it)),onClick:nn(bn(st,Ki)),tabIndex:-1},je,M);return $e($e({},mt),Gr)}},[M,n,l,it,r]),So=L.length,Nt=So>0&&W5({files:L,accept:n,minSize:s,maxSize:i,multiple:l,maxFiles:a}),Ta=So>0&&!Nt;return $e($e({},z),{},{isDragAccept:Nt,isDragReject:Ta,isFocused:K&&!r,getRootProps:Gi,getInputProps:qi,rootRef:N,inputRef:M,open:nn(vn)})}function u4(e,t){switch(t.type){case"focus":return $e($e({},e),{},{isFocused:!0});case"blur":return $e($e({},e),{},{isFocused:!1});case"openDialog":return $e($e({},Pf),{},{isFileDialogActive:!0});case"closeDialog":return $e($e({},e),{},{isFileDialogActive:!1});case"setDraggedFiles":var n=t.isDragActive,r=t.draggedFiles;return $e($e({},e),{},{draggedFiles:r,isDragActive:n});case"setFiles":return $e($e({},e),{},{acceptedFiles:t.acceptedFiles,fileRejections:t.fileRejections});case"reset":return $e({},Pf);default:return e}}function Cv(){}function d4(e){let t;const n=new Set,r=(u,d)=>{const f=typeof u=="function"?u(t):u;if(f!==t){const p=t;t=d?f:Object.assign({},t,f),n.forEach(g=>g(t,p))}},o=()=>t,i=(u,d=o,f=Object.is)=>{console.warn("[DEPRECATED] Please use `subscribeWithSelector` middleware");let p=d(t);function g(){const m=d(t);if(!f(p,m)){const x=p;u(p=m,x)}}return n.add(g),()=>n.delete(g)},a={setState:r,getState:o,subscribe:(u,d,f)=>d||f?i(u,d,f):(n.add(u),()=>n.delete(u)),destroy:()=>n.clear()};return t=e(r,o,a),a}const f4=typeof window>"u"||!window.navigator||/ServerSideRendering|^Deno\//.test(window.navigator.userAgent),kv=f4?h.useEffect:h.useLayoutEffect;function p4(e){const t=typeof e=="function"?d4(e):e,n=(r=t.getState,o=Object.is)=>{const[,i]=h.useReducer(w=>w+1,0),s=t.getState(),l=h.useRef(s),a=h.useRef(r),u=h.useRef(o),d=h.useRef(!1),f=h.useRef();f.current===void 0&&(f.current=r(s));let p,g=!1;(l.current!==s||a.current!==r||u.current!==o||d.current)&&(p=r(s),g=!o(f.current,p)),kv(()=>{g&&(f.current=p),l.current=s,a.current=r,u.current=o,d.current=!1});const m=h.useRef(s);kv(()=>{const w=()=>{try{const y=t.getState(),_=a.current(y);u.current(f.current,_)||(l.current=y,f.current=_,i())}catch{d.current=!0,i()}},v=t.subscribe(w);return t.getState()!==m.current&&w(),v},[]);const x=g?p:f.current;return h.useDebugValue(x),x};return Object.assign(n,t),n[Symbol.iterator]=function(){console.warn("[useStore, api] = create() is deprecated and will be removed in v4");const r=[n,t];return{next(){const o=r.length<=0;return{value:r.shift(),done:o}}}},n}const h4=e=>(t,n,r)=>{const o=r.subscribe;return r.subscribe=(s,l,a)=>{let u=s;if(l){const d=(a==null?void 0:a.equalityFn)||Object.is;let f=s(r.getState());u=p=>{const g=s(p);if(!d(f,g)){const m=f;l(f=g,m)}},a!=null&&a.fireImmediately&&l(f,f)}return o(u)},e(t,n,r)};/*! + */var Z1={L:si.QrCode.Ecc.LOW,M:si.QrCode.Ecc.MEDIUM,Q:si.QrCode.Ecc.QUARTILE,H:si.QrCode.Ecc.HIGH},ex=128,tx="L",nx="#FFFFFF",rx="#000000",ox=!1,Up=4,IR=.1;function ix(e,t=0){const n=[];return e.forEach(function(r,o){let i=null;r.forEach(function(s,l){if(!s&&i!==null){n.push(`M${i+t} ${o+t}h${l-i}v1H${i+t}z`),i=null;return}if(l===r.length-1){if(!s)return;i===null?n.push(`M${l+t},${o+t} h1v1H${l+t}z`):n.push(`M${i+t},${o+t} h${l+1-i}v1H${i+t}z`);return}s&&i===null&&(i=l)})}),n.join("")}function sx(e,t){return e.slice().map((n,r)=>r=t.y+t.h?n:n.map((o,i)=>i=t.x+t.w?o:!1))}function ax(e,t,n,r){if(r==null)return null;const o=n?Up:0,i=e.length+o*2,s=Math.floor(t*IR),l=i/t,a=(r.width||s)*l,u=(r.height||s)*l,d=r.x==null?e.length/2-a/2:r.x*l,f=r.y==null?e.length/2-u/2:r.y*l;let p=null;if(r.excavate){let g=Math.floor(d),m=Math.floor(f),x=Math.ceil(a+d-g),w=Math.ceil(u+f-m);p={x:g,y:m,w:x,h:w}}return{x:d,y:f,h:u,w:a,excavation:p}}var LR=function(){try{new Path2D().addPath(new Path2D)}catch{return!1}return!0}();function FR(e){const t=e,{value:n,size:r=ex,level:o=tx,bgColor:i=nx,fgColor:s=rx,includeMargin:l=ox,style:a,imageSettings:u}=t,d=Bp(t,["value","size","level","bgColor","fgColor","includeMargin","style","imageSettings"]),f=u==null?void 0:u.src,p=h.useRef(null),g=h.useRef(null),[m,x]=h.useState(!1);h.useEffect(()=>{if(p.current!=null){const y=p.current,_=y.getContext("2d");if(!_)return;let C=si.QrCode.encodeText(n,Z1[o]).getModules();const E=l?Up:0,b=C.length+E*2,k=ax(C,r,l,u),j=g.current,P=k!=null&&j!==null&&j.complete&&j.naturalHeight!==0&&j.naturalWidth!==0;P&&k.excavation!=null&&(C=sx(C,k.excavation));const N=window.devicePixelRatio||1;y.height=y.width=r*N;const M=r/b*N;_.scale(M,M),_.fillStyle=i,_.fillRect(0,0,b,b),_.fillStyle=s,LR?_.fill(new Path2D(ix(C,E))):C.forEach(function(I,U){I.forEach(function(z,q){z&&_.fillRect(q+E,U+E,1,1)})}),P&&_.drawImage(j,k.x+E,k.y+E,k.w,k.h)}}),h.useEffect(()=>{x(!1)},[f]);const w=oa({height:r,width:r},a);let v=null;return f!=null&&(v=S.createElement("img",{src:f,key:f,style:{display:"none"},onLoad:()=>{x(!0)},ref:g})),S.createElement(S.Fragment,null,S.createElement("canvas",oa({style:w,height:r,width:r,ref:p},d)),v)}function zR(e){const t=e,{value:n,size:r=ex,level:o=tx,bgColor:i=nx,fgColor:s=rx,includeMargin:l=ox,imageSettings:a}=t,u=Bp(t,["value","size","level","bgColor","fgColor","includeMargin","imageSettings"]);let d=si.QrCode.encodeText(n,Z1[o]).getModules();const f=l?Up:0,p=d.length+f*2,g=ax(d,r,l,a);let m=null;a!=null&&g!=null&&(g.excavation!=null&&(d=sx(d,g.excavation)),m=S.createElement("image",{xlinkHref:a.src,height:g.h,width:g.w,x:g.x+f,y:g.y+f,preserveAspectRatio:"none"}));const x=ix(d,f);return S.createElement("svg",oa({height:r,width:r,viewBox:`0 0 ${p} ${p}`},u),S.createElement("path",{fill:i,d:`M0,0 h${p}v${p}H0z`,shapeRendering:"crispEdges"}),S.createElement("path",{fill:s,d:x,shapeRendering:"crispEdges"}),m)}var BR=e=>{const t=e,{renderAs:n}=t,r=Bp(t,["renderAs"]);return n==="svg"?S.createElement(zR,oa({},r)):S.createElement(FR,oa({},r))};const UR="_QRCodeGenerator_a1hdg_2",HR="_qrcode_a1hdg_32",el={QRCodeGenerator:UR,"input-field":"_input-field_a1hdg_9","generate-button":"_generate-button_a1hdg_18",qrcode:HR};function WR(){const[e,t]=h.useState(""),[n,r]=h.useState(""),o=s=>{t(s.target.value)},i=()=>{r(e)};return c.jsxs("div",{className:el.QRCodeGenerator,children:[c.jsx("input",{type:"text",placeholder:"Enter text",onChange:o,className:el["input-field"]}),c.jsx("button",{onClick:i,className:el["generate-button"],children:"Generate QR Code"}),n&&c.jsx(BR,{value:n,className:el.qrcode,size:256})]})}function VR(){return c.jsx("div",{className:"App",children:c.jsx(WR,{})})}const GR="_container_1ovjg_1",KR="_quote_1ovjg_14",qR="_author_1ovjg_20",YR="_loader_1ovjg_43",QR="_rotation_1ovjg_1",Lo={container:GR,"input-field":"_input-field_1ovjg_10",quote:KR,author:qR,"generate-button":"_generate-button_1ovjg_26",loader:YR,rotation:QR},XR=()=>{const[e,t]=h.useState(""),[n,r]=h.useState(null),[o,i]=h.useState(null);h.useEffect(()=>{s()},[]);const s=async l=>{l&&l.preventDefault();try{const a=await be.get("https://api.quotable.io/quotes/random?tags="+e);if(a.data&&a.data.length>0){const u=a.data[0].content,d=a.data[0].author;r(u),i(`- ${d}`)}else r("Sorry No Quotes Found Related to the given tags"),i(null)}catch(a){console.log(a)}};return n?c.jsx(c.Fragment,{children:c.jsxs("div",{className:Lo.container,children:[c.jsx("div",{className:Lo.quote,children:n}),c.jsx("div",{className:Lo.author,children:o}),c.jsxs("form",{onSubmit:s,children:[c.jsx("div",{children:c.jsxs("p",{children:[c.jsx("label",{children:"Tags: "}),c.jsx("input",{className:Lo["input-field"],onChange:l=>t(l.target.value),placeholder:"eg. inspiratoinal, history, technology"})]})}),c.jsx("p",{children:c.jsx("button",{className:Lo["generate-button"],type:"submit",children:"Generate"})})]})]})}):c.jsx("div",{className:Lo.loader})},JR="_stack_u1sn7_1",ZR="_btn_root_u1sn7_25",eT="_stackElement_u1sn7_62",tl={stack:JR,"slide-in":"_slide-in_u1sn7_1",btn_root:ZR,stackElement:eT},tT=()=>{const[e,t]=h.useState([]),[n,r]=h.useState(""),[o,i]=h.useState(""),s=p=>{r(p.target.value)},l=()=>{if(n==""){i("Enter a value");return}if(e.length===10){i("Stack is Full");return}t([...e,n]),i(`${n} is pushed into the Stack`),r("")},a=()=>{if(!e.length){i("Stack is empty");return}t(e.slice(0,-1)),i(`${e[e.length-1]} is popped from the Stack `)},u=()=>{if(!e.length)i("Stack is empty");else{const p=e[e.length-1];i(`Last element is ${p}`)}},d=()=>{e.length===0?i("Stack is empty"):i("Stack is not empty")},f=()=>{e.length===10?i("Stack is Full"):i("Stack is not full")};return c.jsx("div",{className:tl.container,children:c.jsxs("div",{className:tl.stack,children:[c.jsx("input",{type:"text",placeholder:"Enter a value",value:n,onChange:s,required:!0}),c.jsxs("div",{className:tl.btn_root,children:[c.jsx("button",{onClick:l,children:"Push"}),c.jsx("button",{onClick:a,children:"Pop"}),c.jsx("button",{onClick:u,children:"Peek"}),c.jsx("button",{onClick:d,children:"IsEmpty"}),c.jsx("button",{onClick:f,children:"IsFull"})]}),c.jsx("hr",{}),c.jsx("h3",{children:o}),e.slice().reverse().map((p,g)=>c.jsx("div",{className:tl.stackElement,children:c.jsx("p",{children:p})},g))]})})},nT="_App_33mq4_1",rT="_star_33mq4_6",lx={App:nT,star:rT},oT=({marked:e,starId:t})=>c.jsx("span",{"data-star-id":t,className:lx.star,role:"button",children:e?"★":"☆"}),iT=({value:e,total:t})=>{const[n,r]=h.useState(e||0),[o,i]=h.useState(0),s=h.useMemo(()=>Array.from({length:t}),[t]),l=d=>{var f;i(((f=d.target.dataset)==null?void 0:f.starId)??0)},a=()=>{i(0)},u=d=>{var f;r(((f=d.target.dataset)==null?void 0:f.starId)??n)};return c.jsx("div",{onMouseLeave:a,onMouseOver:l,onClick:u,children:s.map((d,f)=>c.jsx(oT,{marked:(o||n)>f,starId:f+1},`star_${f+1}`))})};function sT(){return c.jsx("div",{className:lx.App,children:c.jsx(iT,{value:2,total:5})})}const aT="_watch_g783o_1",Dn={"watch-container":"_watch-container_g783o_1",watch:aT,"watch-heading":"_watch-heading_g783o_24","watch-timer":"_watch-timer_g783o_30","watch-btn":"_watch-btn_g783o_36"},lT=()=>{let e=h.useRef(0);const t=h.useRef(Date.now()),[n,r]=h.useState(["00","00","00"]),[o,i]=h.useState(!1),s=()=>{i(!0),e.current=requestAnimationFrame(u)},l=()=>{i(!1),cancelAnimationFrame(e.current)},a=()=>{i(!1),r(["00","00","00"]),cancelAnimationFrame(e.current),t.current=Date.now()},u=()=>{const d=Date.now()-t.current,f=Math.floor(d/1e3),p=Math.floor(f/60),g=(d%1e3).toString().padStart(3,"0"),m=(f%60).toString().padStart(2,"0"),x=p.toString().padStart(2,"0");r([x,m,g]),e.current=requestAnimationFrame(u)};return h.useEffect(()=>cancelAnimationFrame(e.current),[]),c.jsx("div",{className:Dn.test,children:c.jsx("div",{className:Dn["watch-container"],children:c.jsxs("div",{className:Dn.watch,children:[c.jsx("div",{className:Dn["watch-heading"],children:"Stopwatch"}),c.jsx("div",{className:Dn["watch-timer"],children:`${n[0]}:${n[1]}:${n[2]}`}),c.jsxs("div",{className:Dn["watch-btn__container"],children:[c.jsx("button",{disabled:o,onClick:s,className:Dn["watch-btn"],children:"Start"}),c.jsx("button",{onClick:l,disabled:!o,className:Dn["watch-btn"],children:"Stop"}),c.jsx("button",{onClick:a,disabled:!o,className:Dn["watch-btn"],children:"Reset"})]})]})})})},cT="_App_1hyma_1",uT="_textarea_1hyma_6",dT="_buttonBox_1hyma_12",fT="_output_1hyma_22",nl={App:cT,textarea:uT,buttonBox:dT,output:fT};function pT(){const[e,t]=h.useState("hello world"),[n,r]=h.useState(e),o=p=>{t(p.target.value)},i=()=>{r(e.toLowerCase())},s=()=>{r(e.toUpperCase())},l=()=>{const g=e.split(" ").map((m,x)=>x===0?m.toLowerCase():m.charAt(0).toUpperCase()+m.slice(1).toLowerCase()).join("");r(g)},a=()=>{const g=e.split(" ").map(m=>m.charAt(0).toUpperCase()+m.slice(1).toLowerCase()).join("");r(g)},u=()=>{const p=e.replace(/\s+/g,"_").toLowerCase();r(p)},d=()=>{const p=e.replace(/\s+/g,"-").toLowerCase();r(p)},f=()=>{r(e.trim())};return c.jsx("main",{children:c.jsxs("div",{className:nl.App,children:[c.jsx("textarea",{rows:4,className:nl.textarea,placeholder:"Enter a sentence...",value:e,onChange:o}),c.jsxs("div",{className:nl.buttonBox,children:[c.jsx("button",{onClick:i,children:"Lower Case"}),c.jsx("button",{onClick:s,children:"Upper Case"}),c.jsx("button",{onClick:l,children:"Camel Case"}),c.jsx("button",{onClick:a,children:"Pascal Case"}),c.jsx("button",{onClick:u,children:"Snake Case"}),c.jsx("button",{onClick:d,children:"Kebab Case"}),c.jsx("button",{onClick:f,children:"Trim"})]}),c.jsxs("div",{className:nl.output,children:[c.jsx("strong",{children:"Transformed String:"}),c.jsx("p",{children:n})]})]})})}const hT="_color_1kotf_1",mT="_form_1kotf_9",gT="_containers_1kotf_17",vT="_container_1kotf_17",yT="_containerColor_1kotf_33",xT="_numberInput_1kotf_42",wT="_error_1kotf_53",pr={color:hT,form:mT,containers:gT,container:vT,containerColor:yT,numberInput:xT,error:wT},_T=9,bT=Array.from(new Array(_T),(e,t)=>t),ST=()=>{const[e,t]=h.useState([]),n=h.useRef(),[r,o]=h.useState(null),i=l=>{l.preventDefault();const a=parseInt(n.current.value);if(isNaN(a)||a>9||a<1){o("Please enter a valid number between 1 to 9");return}o(null),e.indexOf(a)===-1&&t(u=>[...u,a])},s=l=>{l.preventDefault(),t([]),o(null),n.current.value=""};return c.jsxs("div",{className:pr.color,children:[c.jsxs("form",{className:pr.form,children:[c.jsx("input",{type:"number",className:pr.numberInput,ref:n}),r&&c.jsx("p",{className:pr.error,children:r}),c.jsxs("div",{className:"buttons",children:[c.jsx("input",{type:"submit",value:"Color Me",onClick:i}),c.jsx("button",{className:pr.clearBtn,onClick:s,children:"Clear Me"})]})]}),c.jsx("div",{className:pr.containers,children:bT.map((l,a)=>c.jsx("div",{className:e.indexOf(l+1)!==-1?pr.containerColor:pr.container,children:l+1},a))})]})};function ET(){const[e,t]=h.useState(""),n=o=>[...o].filter(i=>Number.isInteger(+i)&&i!==" ").join(""),r=o=>{const i=n(o.target.value);t(i.length>3?"+("+i.substring(0,3)+") - "+i.substring(3):i)};return c.jsxs("div",{className:"container text-center",children:[c.jsx("input",{type:"tel",id:"phone",maxLength:16,placeholder:"Mobile number",autoComplete:"off",style:{fontSize:"1.5rem",marginBottom:"1rem"},value:e,onChange:r}),c.jsx("div",{children:c.jsx("label",{htmlFor:"phone",children:"+(123) - 4567890"})})]})}const CT="_container_12wso_1",kT="_card_12wso_7",jT="_cardTitle_12wso_15",$T="_formGroup_12wso_19",RT="_inputGroup_12wso_23",TT="_input_12wso_23",NT="_select_12wso_33",PT="_convertButton_12wso_38",OT="_outputGroup_12wso_42",In={container:CT,card:kT,cardTitle:jT,formGroup:$T,inputGroup:RT,input:TT,select:NT,convertButton:PT,outputGroup:OT};function AT(){const[e,t]=h.useState(""),[n,r]=h.useState(""),[o,i]=h.useState("celsius"),[s,l]=h.useState("fahrenheit"),a=()=>{const u=parseFloat(e);if(isNaN(u)){r("Invalid input");return}if(o===s){r(u);return}if(o==="celsius"&&s==="fahrenheit"){let d=u*9/5+32;d%1!==0&&(d=d.toFixed(2)),r(d)}else if(o==="fahrenheit"&&s==="celsius"){let d=(u-32)*5/9;d%1!==0&&(d=d.toFixed(2)),r(d)}};return c.jsx("div",{className:In.container,children:c.jsxs("div",{className:In.card,children:[c.jsxs("div",{className:In.formGroup,children:[c.jsx("label",{children:"Enter Temperature"}),c.jsxs("div",{className:In.inputGroup,children:[c.jsx("input",{type:"number",className:`form-control ${In.input}`,placeholder:"Enter temperature",value:e,onChange:u=>t(u.target.value)}),c.jsxs("select",{className:`form-control ${In.select}`,value:o,onChange:u=>i(u.target.value),children:[c.jsx("option",{value:"celsius",children:"Celsius"}),c.jsx("option",{value:"fahrenheit",children:"Fahrenheit"})]})]})]}),c.jsx("button",{className:`btn btn-primary btn-block ${In.convertButton}`,onClick:a,children:"Convert"}),c.jsxs("div",{className:In.outputGroup,children:[c.jsxs("p",{children:["Converted Temperature: ",c.jsx("strong",{children:n})]}),c.jsxs("select",{className:`form-control ${In.select}`,value:s,onChange:u=>l(u.target.value),children:[c.jsx("option",{value:"celsius",children:"Celsius"}),c.jsx("option",{value:"fahrenheit",children:"Fahrenheit"})]})]})]})})}const Pt=3,MT=[...Array.from(new Array(Pt),(e,t)=>Array.from(new Array(Pt),(n,r)=>t*Pt+r)),...Array.from(new Array(Pt),(e,t)=>Array.from(new Array(Pt),(n,r)=>r*Pt+t)),Array.from(new Array(Pt),(e,t)=>t*Pt+t),Array.from(new Array(Pt),(e,t)=>t*Pt+Pt-t-1)],cg=Array(Pt*Pt).fill(null),DT="_container_1rajw_1",Go={container:DT,"mx-5":"_mx-5_1rajw_10","grid-container":"_grid-container_1rajw_14","grid-item":"_grid-item_1rajw_23"},IT=()=>{const[e,t]=h.useState(cg),[n,r]=h.useState(!1),[o,i]=h.useState(null),[[s,l,a],u]=h.useState([0,0,0]);h.useEffect(()=>{d()},[e]),h.useEffect(()=>{o==="X"?u([s+1,l,a]):o==="O"?u([s,l+1,a]):o===null&&e.filter(g=>g===null).length===0&&u([s,l,a+1])},[o,e]);const d=()=>{r(!n);for(const g of MT){const[m,x,w]=g;if(e[m]!==null&&e[m]===e[x]&&e[m]===e[w]){i(e[m]===1?"X":"O");return}}},f=g=>{e[g]===null&&o===null&&t(m=>{const x=[...m];return x[g]=n?1:0,x})},p=()=>{t(cg),i(null)};return c.jsx("div",{className:Go.container,children:c.jsxs("div",{children:["Status: ",o?`Winner ${o}`:"Playing",c.jsxs("div",{className:Go.container,children:[c.jsxs("div",{className:Go["mx-5"],children:[c.jsx("div",{children:"X"}),c.jsxs("div",{children:[s," Wins"]})]}),c.jsxs("div",{className:Go["mx-5"],children:[c.jsx("div",{children:"O"}),c.jsxs("div",{children:[l," Wins"]})]}),c.jsxs("div",{children:[c.jsx("div",{children:"="}),c.jsxs("div",{children:[a," Draws"]})]})]}),c.jsx("div",{className:Go["grid-container"],children:e.map((g,m)=>c.jsx(LT,{iTh:m,value:g,onEntry:f},m))}),c.jsx("button",{onClick:p,children:"Rematch"})]})})},LT=({value:e,iTh:t,onEntry:n})=>{h.useEffect(()=>{console.log({value:e})},[]);const r=()=>{n(t)};return c.jsx("div",{className:Go["grid-item"],onClick:r,children:c.jsx("div",{style:{opacity:e!==null?1:0,transition:"all .1s ease-in-out"},children:e!==null?e===1?"X":"O":"X"})})};var ai=(e=>(e.SUCCESS="success",e.ERROR="error",e.WARNING="warning",e.INFO="info",e))(ai||{}),dc=(e=>(e.TOP="Top",e.BOTTOM="Bottom",e))(dc||{}),fc=(e=>(e.LEFT="Left",e.RIGHT="Right",e))(fc||{});const FT=()=>{const[e,t]=h.useState(fc.LEFT),[n,r]=h.useState(dc.TOP),[o,i]=h.useState(ai.SUCCESS),[s,l]=h.useState("This is a toast message!"),[a,u]=h.useState(5),[d,f]=h.useState([]),p=[];return h.useEffect(()=>()=>{p.forEach(x=>clearTimeout(x))},[]),{horizontalPosition:e,verticalPosition:n,type:o,message:s,duration:a,toastMessages:d,setHorizontalPosition:t,setVerticalPosition:r,setType:i,setMessage:l,setDuration:u,showToast:()=>{const x={id:Date.now(),message:s,type:o};f(v=>[...v,x]);const w=setTimeout(()=>{f(v=>v.filter(y=>y.id!==x.id))},a*1e3);p.push(w)},removeToast:x=>{f(w=>w.filter(v=>v.id!==x))}}},zT="_main_21evc_2",BT="_message_21evc_1",UT="_toastContainer_21evc_28",HT="_toast_21evc_28",WT="_success_21evc_40",VT="_error_21evc_43",GT="_warning_21evc_46",KT="_info_21evc_49",qT="_remove_21evc_70",YT="_tcLeftTop_21evc_75",QT="_tcLeftBottom_21evc_79",XT="_tcRightTop_21evc_83",JT="_tcRightBottom_21evc_87",yi={main:zT,message:BT,toastContainer:UT,toast:HT,success:WT,error:VT,warning:GT,info:KT,remove:qT,tcLeftTop:YT,tcLeftBottom:QT,tcRightTop:XT,tcRightBottom:JT,"appear-from-left":"_appear-from-left_21evc_1","fade-out-left":"_fade-out-left_21evc_95","fade-out-to-left":"_fade-out-to-left_21evc_1","appear-from-right":"_appear-from-right_21evc_1","fade-out-right":"_fade-out-right_21evc_119"},ZT=({id:e,message:t,type:n,removeToast:r})=>c.jsxs("div",{className:`${yi.toast} ${yi[n]}`,children:[c.jsx("span",{className:"toast-message",children:t}),c.jsx("button",{className:yi.remove,onClick:()=>r(e),children:"✕"})]}),eN=()=>{const{horizontalPosition:e,verticalPosition:t,type:n,message:r,duration:o,toastMessages:i,setHorizontalPosition:s,setVerticalPosition:l,setType:a,setMessage:u,setDuration:d,showToast:f,removeToast:p}=FT(),g=`tc${e}${t}`;return c.jsxs("div",{className:yi.main,children:[c.jsxs("form",{children:[c.jsxs("select",{name:"position",id:"horizontal-position",value:e,onChange:m=>s(m.target.value),children:[c.jsx("option",{value:fc.LEFT,children:"Left"}),c.jsx("option",{value:fc.RIGHT,children:"Right"})]}),c.jsxs("select",{name:"position",id:"vertical-position",value:t,onChange:m=>l(m.target.value),children:[c.jsx("option",{value:dc.TOP,children:"Top"}),c.jsx("option",{value:dc.BOTTOM,children:"Bottom"})]}),c.jsxs("select",{name:"type",id:"type",value:n,onChange:m=>a(m.target.value),children:[c.jsx("option",{value:ai.SUCCESS,children:"Success"}),c.jsx("option",{value:ai.ERROR,children:"Error"}),c.jsx("option",{value:ai.WARNING,children:"Warning"}),c.jsx("option",{value:ai.INFO,children:"Info"})]}),c.jsx("input",{type:"text",name:"message",id:"message",placeholder:"Message",value:r,onChange:m=>u(m.target.value)}),c.jsxs("label",{htmlFor:"duration",className:"flex",children:["Duration"," ",c.jsx("input",{type:"range",name:"duration",id:"duration",min:"3",max:"10",value:o,onChange:m=>d(Number(m.target.value))})]}),c.jsx("button",{type:"button",className:"btn btn-primary",onClick:f,children:"Show Toast"})]}),i.length>0&&c.jsx("div",{className:`${yi.toastContainer} ${yi[g]}`,children:i.map(m=>c.jsx(ZT,{...m,removeToast:p},m.id))})]})},tN="_App_1k5ja_1",nN="_item_1k5ja_27",rN="_editBtn_1k5ja_33",oN="_deleteBtn_1k5ja_36",iN="_completed_1k5ja_40",sN="_hint_1k5ja_55",li={App:tN,item:nN,editBtn:rN,deleteBtn:oN,completed:iN,hint:sN};function aN({items:e,handleEditClick:t,handleDeleteClick:n,handleCompleteClick:r}){return e.map(o=>c.jsxs("li",{className:li.item,title:"Double click to mark completed",onDoubleClick:()=>r(o.id),children:[c.jsx("span",{className:o.isDone?li.completed:"",children:o.value}),c.jsxs("div",{children:[c.jsx("button",{className:li.editBtn,onClick:()=>t(o),children:"Edit"}),c.jsx("button",{className:li.deleteBtn,onClick:()=>n(o.id),children:"Delete"})]})]},o.id))}const lN=()=>{const[e,t]=h.useState(""),[n,r]=h.useState([]),[o,i]=h.useState(null),s=S.useRef(!0);h.useEffect(()=>{const m=localStorage.getItem("items");m&&r(JSON.parse(m))},[]),h.useEffect(()=>{s.current?s.current=!1:localStorage.setItem("items",JSON.stringify(n))},[n]);const l=m=>{r(x=>[...x,{value:m,id:new Date().getTime(),isDone:!1}])},a=m=>{r(x=>x.map(w=>w.id===o.id?{...w,value:m}:w)),i(null)},u=m=>{r(x=>x.map(w=>w.id===m?{...w,isDone:!w.isDone}:w))},d=({id:m,value:x})=>{t(x),i({id:m,value:x})},f=m=>{(o==null?void 0:o.id)===m&&(t(""),i(null)),r(x=>x.filter(w=>w.id!==m))},p=m=>{m.preventDefault(),o?a(e):l(e),t("")},g=()=>{t(""),i(null)};return c.jsxs("div",{className:li.App,children:[c.jsxs("form",{onSubmit:p,children:[c.jsx("input",{type:"text",value:e,placeholder:"Enter your todo",onChange:m=>t(m.target.value)}),c.jsx("button",{type:"submit",disabled:!e,children:o?"Update":"Submit"}),c.jsx("button",{type:"reset",onClick:g,disabled:!(e||o),children:"Cancel"})]}),c.jsx("div",{className:li.hint,children:c.jsx("i",{children:"Double click on todo to toggle completion status"})}),c.jsx(aN,{items:n,handleEditClick:d,handleDeleteClick:f,handleCompleteClick:u})]})},cN="_container_10vfd_1",uN="_clockWrapper_10vfd_14",dN="_timeSection_10vfd_22",fN="_timeAdjustment_10vfd_39",pN="_timeAdjustmentButton_10vfd_45",hN="_timerDisplay_10vfd_51",mN="_buttonGroup_10vfd_69",gN="_lastMinute_10vfd_87",_n={container:cN,clockWrapper:uN,timeSection:dN,timeAdjustment:fN,timeAdjustmentButton:pN,timerDisplay:hN,buttonGroup:mN,lastMinute:gN};var cx={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},ug=S.createContext&&S.createContext(cx),Ar=function(){return Ar=Object.assign||function(e){for(var t,n=1,r=arguments.length;nw(),1e3))}function x(){clearInterval(d),r(!1)}function w(){u(C=>{const[E,b]=C;return b===0?E===0?e==="session"?(t("break"),[o.time-1,59]):(t("session"),[s.time-1,59]):[E-1,59]:[E,b-1]})}function v(){n||(t("session"),i({time:5,range:[2,25]}),l({time:25,range:[5,60]}),u([25,0]))}function y(C){return C>9?C:`0${C}`}function _(C){const{target:E,direction:b}=C.currentTarget.dataset,k=b==="up"?1:-1;function j(P,N){const{time:M,range:I}=N,U=M+k;if(U>=I[0]&&U<=I[1]){const z=E===P?U:M;return u([z,0]),{time:z,range:I}}return N}E==="break"?i(P=>j("break",P)):l(P=>j("session",P))}return c.jsx("div",{className:_n.container,children:c.jsxs("div",{className:_n.clockWrapper,children:[c.jsxs("div",{className:_n.timeSection,children:[c.jsxs("div",{className:_n.timeAdjustment,children:[c.jsx("p",{children:o.time}),c.jsxs("div",{className:_n.timeAdjustmentButton,children:[c.jsx("button",{onClick:_,"data-target":"break","data-direction":"up",children:c.jsx(fg,{})}),c.jsx("button",{onClick:_,"data-target":"break","data-direction":"down",children:c.jsx(dg,{})})]})]}),c.jsxs("div",{className:_n.timeAdjustment,children:[c.jsx("p",{children:s.time}),c.jsxs("div",{className:_n.timeAdjustmentButton,children:[c.jsx("button",{onClick:_,"data-target":"session","data-direction":"up",children:c.jsx(fg,{})}),c.jsx("button",{onClick:_,"data-target":"session","data-direction":"down",children:c.jsx(dg,{})})]})]})]}),c.jsxs("div",{className:_n.timerDisplay,children:[c.jsx("p",{children:e}),c.jsxs("p",{className:p?_n.lastMinute:"",children:[c.jsx("span",{children:y(a[0])}),":",c.jsx("span",{children:y(a[1])})]}),c.jsxs("div",{className:_n.buttonGroup,children:[n?c.jsx("button",{onClick:x,children:c.jsx(xN,{size:32})}):c.jsx("button",{onClick:m,children:c.jsx(wN,{size:32})}),c.jsx("button",{onClick:v,children:c.jsx(_N,{size:32})})]})]})]})})}const SN="_container_1twmk_2",EN="_controls_1twmk_23",CN="_highlight_1twmk_44",kN="_highlighted_1twmk_61",pg={container:SN,controls:EN,"char-limit":"_char-limit_1twmk_1",highlight:CN,"highlight-button":"_highlight-button_1twmk_54",highlighted:kN},jN=({text:e,wordCount:t,charCount:n,paraCount:r})=>{localStorage.setItem("text",e),localStorage.setItem("words",t),localStorage.setItem("chars",n),localStorage.setItem("paras",r)};function $N(){const[e,t]=h.useState(""),[n,r]=h.useState(0),[o,i]=h.useState(0),[s,l]=h.useState(0),a=h.useRef(!0);h.useEffect(()=>{f()},[]),h.useEffect(()=>{if(a.current){a.current=!1;return}jN({text:e,wordCount:n,charCount:o,paraCount:s})},[e,n,o,s]);const u=()=>{const p=e.split(/\s+/).filter(x=>x!==""),g=e.length,m=e.split(` +`).filter(x=>x.trim()!=="").length;r(p.length),i(g),l(m)},d=()=>{t(""),r(0),i(0),l(0)},f=()=>{t(localStorage.getItem("text")||""),r(localStorage.getItem("words")||0),i(localStorage.getItem("chars")||0),l(localStorage.getItem("paras")||0)};return c.jsxs("div",{className:pg.container,children:[c.jsx("textarea",{id:"text-input",placeholder:"Enter your text here...",value:e,onChange:p=>t(p.target.value)}),c.jsxs("div",{className:pg.controls,children:[c.jsxs("div",{id:"word-count",children:["Words: ",n]}),c.jsxs("div",{id:"char-count",children:["Chars: ",o]}),c.jsxs("div",{id:"para-count",children:["Paras: ",s]}),c.jsx("button",{id:"count-button",onClick:u,children:"Count"}),c.jsx("button",{id:"clear-button",onClick:d,children:"Clear"})]})]})}const RN="_sport_1g70d_1",TN="_container_1g70d_7",NN="_header_1g70d_15",PN="_question_1g70d_20",ON="_answers_1g70d_26",AN="_button_1g70d_33",MN="_buttonStartOver_1g70d_48",hr={sport:RN,container:TN,header:NN,question:PN,answers:ON,button:AN,buttonStartOver:MN},us=["Do you enjoy team sports?","Do you like running or endurance activities?","Are you interested in individual sports?","Do you prefer indoor or outdoor sports?","Are you a fan of water sports?","Do you like racket sports?"],DN=()=>{const[e,t]=h.useState(0),[n,r]=h.useState(Array(us.length).fill(null)),o=s=>{const l=[...n];if(l[e]=s,es[0]==="Yes"&&s[1]==="Yes"?"Soccer":s[2]==="Yes"&&s[3]==="Indoor"?"Table Tennis":s[4]==="Yes"?"Swimming":s[5]==="Yes"?"Tennis":"Running";return c.jsx("div",{className:hr.sport,children:c.jsxs("div",{className:hr.container,children:[c.jsx("h1",{className:hr.header,children:"Discover Your Natural Sport"}),c.jsx("div",{className:hr.question,children:eo("Yes"),children:"Yes"}),c.jsx("button",{className:hr.button,onClick:()=>o("No"),children:"No"})]}):c.jsx("button",{onClick:()=>t(0),className:hr.buttonStartOver,children:"Start Over"})})]})})},IN="_openbtn_1gnwd_1",LN="_overlay_1gnwd_8",FN="_modalWrapper_1gnwd_18",zN="_closebtn_1gnwd_34",Rl={openbtn:IN,overlay:LN,modalWrapper:FN,closebtn:zN},BN=({showModal:e,setShowModal:t,title:n,content:r})=>c.jsx(c.Fragment,{children:e&&c.jsx("div",{className:Rl.overlay,onClick:()=>t(!1),children:c.jsx("div",{className:Rl.modalWrapper,onClick:o=>o.stopPropagation(),children:c.jsxs("div",{children:[c.jsx("h3",{children:n}),c.jsx("p",{children:r}),c.jsx("button",{onClick:()=>t(!1),className:Rl.closebtn,children:"Close"})]})})})}),UN=()=>{const[e,t]=h.useState(!1),n={title:"Modal Heading",content:"Lorem ipsum, dolor sit amet consectetur adipisicing elit. Error, voluptates. Nobis delectus magni quaerat et deserunt fuga temporibus doloribus vero quidem repellat suscipit nulla tempora eveniet, repellendus deleniti placeat quibusdam."};return c.jsxs(c.Fragment,{children:[c.jsx("button",{className:Rl.openbtn,onClick:()=>t(!0),children:"Open Modal"}),wo.createPortal(c.jsx(BN,{showModal:e,setShowModal:t,title:n.title,content:n.content}),document.body)]})},HN="_main_5yt35_2",WN="_container_5yt35_10",VN="_iconContainer_5yt35_33",GN="_icon_5yt35_33",KN="_inputField_5yt35_54",qN="_toast_5yt35_68",YN="_loader_5yt35_83",QN="_spin_5yt35_1",XN="_loaderContainer_5yt35_92",JN="_topSection_5yt35_97",ZN="_select_5yt35_103",eP="_copyText_5yt35_112",tP="_hidden_5yt35_119",Ut={main:HN,container:WN,iconContainer:VN,icon:GN,inputField:KN,toast:qN,loader:YN,spin:QN,loaderContainer:XN,topSection:JN,select:ZN,copyText:eP,hidden:tP},Gu="eb3aa13df1b14cc7bc614fc2d7f894f41b09d68a",nP=()=>{const[e,t]=h.useState([]),[n,r]=h.useState([]),[o,i]=h.useState(""),[s,l]=h.useState(""),[a,u]=h.useState([]);h.useEffect(()=>{d(),f(),window.scrollTo(0,0)},[]);const d=()=>{be.get(`https://emoji-api.com/emojis?access_key=${Gu}`).then(w=>{t(w.data),r(w.data)})},f=()=>{be.get(`https://emoji-api.com/categories?access_key=${Gu}`).then(w=>{u(w.data)})},p=w=>{const[v,...y]=w.split(" ");return y.join(" ")},g=w=>{let v=w.target.value;i(v);let y=e.filter(_=>_.unicodeName.toLowerCase().includes(v.trim().toLowerCase()));r(y)},m=w=>{i(""),r([]),t([]),w.target.value=="all"?d():be.get(`https://emoji-api.com/categories/${w.target.value}?access_key=${Gu}`).then(v=>{t(v.data),r(v.data)})},x=w=>{let v=document.createRange();v.selectNode(document.getElementById(w)),window.getSelection().removeAllRanges(),window.getSelection().addRange(v),document.execCommand("copy"),window.getSelection().removeAllRanges(),l("Copied Successfully!"),setTimeout(()=>{l("")},1500)};return c.jsxs(c.Fragment,{children:[c.jsxs("div",{className:Ut.topSection,children:[c.jsx("div",{children:c.jsxs("select",{className:Ut.select,onChange:m,children:[c.jsx("option",{children:"all"}),a.map(w=>c.jsx("option",{value:w.slug,children:w.slug.replace("-"," ")},w.slug))]})}),c.jsx("div",{children:c.jsx("input",{type:"text",placeholder:"Search",onChange:g,value:o,className:Ut.inputField})}),c.jsx("div",{className:`${Ut.copyText} ${n==null||(n==null?void 0:n.length)===0?Ut.hidden:""}`,children:"Click on an Emoji to Copy"})]}),c.jsxs("div",{className:Ut.container,children:[(n==null?void 0:n.length)==0&&o.trim()==""&&c.jsx("div",{className:Ut.loaderContainer,children:c.jsx("div",{className:Ut.loader})}),n==null?void 0:n.map((w,v)=>c.jsx("span",{className:Ut.iconContainer,onClick:()=>x(w.unicodeName+"_"+v),children:c.jsx("span",{className:Ut.icon,title:p(w.unicodeName),id:w.unicodeName+"_"+v,children:w.character})},v))]}),s&&c.jsx("div",{className:Ut.toast,children:s})]})};function rP(){return c.jsx("div",{className:Ut.main,children:c.jsx(nP,{})})}const oP=[{name:"SQL",year:1970,creator:"Donald D. Chamberlin, Raymond F. Boyce",usecase:"Database management"},{name:"C",year:1972,creator:"Dennis Ritchie",usecase:"System programming, embedded systems"},{name:"C++",year:1983,creator:"Bjarne Stroustrup",usecase:"Game development, system software"},{name:"Perl",year:1987,creator:"Larry Wall",usecase:"Scripting, web development, automation"},{name:"HTML",year:1991,creator:"Tim Berners-Lee",usecase:"Web content structure"},{name:"Python",year:1991,creator:"Guido van Rossum",usecase:"Web development, data analysis, AI"},{name:"Java",year:1995,creator:"James Gosling",usecase:"Enterprise software, Android apps"},{name:"JavaScript",year:1995,creator:"Brendan Eich",usecase:"Web development, browser scripting"},{name:"PHP",year:1995,creator:"Rasmus Lerdorf",usecase:"Web development, server-side scripting"},{name:"CSS",year:1996,creator:"Håkon Wium Lie, Bert Bos",usecase:"Web page styling"},{name:"C#",year:2e3,creator:"Microsoft",usecase:"Windows apps, game development"},{name:"Scala",year:2003,creator:"Martin Odersky",usecase:"Web applications, data analysis"},{name:"Golang",year:2009,creator:"Robert Griesemer, Rob Pike, Ken Thompson",usecase:"Cloud computing, microservices"},{name:"Rust",year:2010,creator:"Graydon Hoare",usecase:"Systems programming, safety"},{name:"Kotlin",year:2011,creator:"JetBrains",usecase:"Android app development, server-side"},{name:"Swift",year:2014,creator:"Apple Inc.",usecase:"iOS, macOS app development"}],iP="_container_5ie15_1",sP="_languageList_5ie15_6",aP="_languageCard_5ie15_12",lP="_languageName_5ie15_28",cP="_info_5ie15_34",uP="_heading_5ie15_40",Jr={container:iP,languageList:sP,languageCard:aP,languageName:lP,info:cP,heading:uP};function dP({name:e,year:t,creator:n,usecase:r}){return c.jsxs("div",{className:Jr.languageCard,children:[c.jsx("h2",{className:Jr.languageName,children:e}),c.jsxs("p",{className:Jr.info,children:["Year of Start: ",t]}),c.jsxs("p",{className:Jr.info,children:["Creator: ",n]}),c.jsxs("p",{className:Jr.info,children:["Use Case: ",r]})]})}function fP(){return c.jsx("div",{className:Jr.container,children:c.jsx("div",{className:Jr.languageList,children:oP.map((e,t)=>c.jsx(dP,{...e},t))})})}const pP="_otpFields_1d1qn_1",hP="_otpinput_1d1qn_15",hg={otpFields:pP,otpinput:hP},mP=()=>{let[e,t]=h.useState(Array(6).fill("")),n=h.useRef([]);const r=(s,l)=>{const u=s.target.value.replace(/\D/g,"").slice(0,1);let d=[...e];d[l]=u,l{if(s.key==="Backspace"){s.preventDefault();let a=[...e];a[l]="",t(a),l>0&&n.current[l-1].focus()}else s.key==="ArrowRight"&&l0&&n.current[l-1].focus()},i=s=>{s.preventDefault();const l=s.clipboardData.getData("text");if(/^[0-9]*$/.test(l)){const a=[...e];for(let u=0;uc.jsx("input",{onKeyDown:a=>o(a,l),onPaste:i,ref:a=>n.current[l]=a,onChange:a=>r(a,l),value:e[l],type:"text"},l))})})},Fo={red:{id:1,duration:5e3,next:"green"},yellow:{id:2,duration:2e3,next:"red"},green:{id:3,duration:3e3,next:"yellow"}},gP="_AppContainer_wtrmq_1",vP="_trafficWrapper_wtrmq_9",yP="_light_wtrmq_21",xP="_countdownTime_wtrmq_28",zo={AppContainer:gP,trafficWrapper:vP,light:yP,countdownTime:xP},wP=()=>{const[e,t]=h.useState("red"),[n,r]=h.useState(Fo[e].duration);return h.useEffect(()=>{let o;return n<=0?(clearInterval(o),t(Fo[e].next),r(Number(Fo[Fo[e].next].duration))):o=setInterval(()=>{r(i=>i-1e3)},1e3),()=>clearInterval(o)},[n,e]),c.jsxs("div",{className:zo.AppContainer,children:[c.jsx("div",{className:zo.trafficWrapper,children:Object.keys(Fo).map(o=>c.jsx("div",{className:zo.light,style:{background:e===o?o:""}},Fo[o].id))}),c.jsx("div",{className:zo.countdownContainer,children:c.jsxs("span",{className:`${zo.countdownTime} ${zo.active}`,children:[Math.floor(n/1e3)," Seconds"]})})]})},Os=e=>e>9?e:`0${e}`,_P="_button_assg4_1",bP="_quiz_container_footer_assg4_1",SP="_app_assg4_22",EP="_quiz_container_assg4_1",CP="_quiz_container_header_assg4_43",kP="_question_assg4_54",jP="_question_choices_assg4_66",$P="_question_choices_choice_assg4_74",RP="_selected_assg4_84",TP="_quiz_result_assg4_88",zn={button:_P,quiz_container_footer:bP,app:SP,quiz_container:EP,quiz_container_header:CP,question:kP,question_choices:jP,question_choices_choice:$P,selected:RP,quiz_result:TP},NP=e=>{const{totalQuestions:t,result:n}=e;return c.jsx("div",{className:zn.quiz_result,children:c.jsxs("div",{children:[c.jsx("h3",{children:"Result"}),c.jsx("table",{children:c.jsxs("tbody",{children:[c.jsxs("tr",{children:[c.jsx("td",{children:"Total Questions"}),c.jsx("td",{children:Os(t)})]}),c.jsxs("tr",{children:[c.jsx("td",{children:"Total Score"}),c.jsx("td",{children:Os(n.score)})]}),c.jsxs("tr",{children:[c.jsx("td",{children:"Correct Answers"}),c.jsx("td",{children:Os(n.correctAnswers)})]}),c.jsxs("tr",{children:[c.jsx("td",{children:"Wrong Answers"}),c.jsx("td",{children:n.wrongAnswers})]})]})})]})})},PP={topic:"React",level:"Intermediate",totalQuestions:10,perQuestionScore:5,questions:[{question:"What is the purpose of state in React?",choices:["To store information that may change over time","To declare static values for components","To define global variables","None of the above"],type:"MCQs",correctAnswer:"To store information that may change over time"},{question:"What are hooks in React?",choices:["Functions that let you use state and other React features without writing a class","Functional components","Connections between components","None of the above"],type:"MCQs",correctAnswer:"Functions that let you use state and other React features without writing a class"},{question:"What is the purpose of key prop in React lists?",choices:["To uniquely identify a child component","To style elements within a list","To define the position of a component","None of the above"],type:"MCQs",correctAnswer:"To uniquely identify a child component"},{question:"What is the role of componentDidMount() in React?",choices:["It runs after the component output has been rendered to the DOM","It handles updates before rendering","It initializes state variables","None of the above"],type:"MCQs",correctAnswer:"It runs after the component output has been rendered to the DOM"},{question:"How can you pass data between components in React?",choices:["Using props","Directly modifying state","Using only functional components","None of the above"],type:"MCQs",correctAnswer:"Using props"},{question:"What is the purpose of React.Fragment?",choices:["To create an independent component","To wrap multiple elements without adding an extra node to the DOM","To handle routing in React applications","None of the above"],type:"MCQs",correctAnswer:"To wrap multiple elements without adding an extra node to the DOM"},{question:"What is the significance of shouldComponentUpdate() in React?",choices:["It determines if a component should re-render","It defines the initial state of a component","It helps to update the DOM directly","None of the above"],type:"MCQs",correctAnswer:"It determines if a component should re-render"},{question:"What is the main purpose of Redux in React applications?",choices:["To manage the state of the entire application","To define the structure of components","To handle routing between components","None of the above"],type:"MCQs",correctAnswer:"To manage the state of the entire application"},{question:"How does React handle events?",choices:["Using event handlers like onClick","By modifying the DOM directly","Through asynchronous processes only","None of the above"],type:"MCQs",correctAnswer:"Using event handlers like onClick"},{question:"What are the benefits of using PropTypes in React?",choices:["To enforce the type of props passed to components","To declare global variables","To initialize state variables","None of the above"],type:"MCQs",correctAnswer:"To enforce the type of props passed to components"}]},OP=()=>{const[e,t]=h.useState(0),[n,r]=h.useState(!1),[o,i]=h.useState(!1),[s,l]=h.useState(null),[a,u]=h.useState({score:0,correctAnswers:0,wrongAnswers:0}),{questions:d,topic:f}=PP,{question:p,choices:g,correctAnswer:m}=d[e],x=()=>{l(null),u(v=>n?{...v,score:v.score+5,correctAnswers:v.correctAnswers+1}:{...v,wrongAnswers:v.wrongAnswers+1}),e!==d.length-1?t(v=>v+1):(t(0),i(!0))},w=(v,y)=>{l(y),r(v===m)};return c.jsx("section",{className:zn.quiz_container,children:o?c.jsx(NP,{totalQuestions:d.length,result:a}):c.jsxs("div",{children:[c.jsxs("div",{className:zn.quiz_container_header,children:[c.jsxs("p",{children:["TOPIC: ",f]}),c.jsxs("div",{children:[c.jsx("span",{children:Os(e+1)}),c.jsxs("span",{children:["/",Os(d.length)]})]})]}),c.jsxs("div",{className:zn.question,children:[c.jsx("h2",{children:p}),c.jsx("ul",{className:zn.question_choices,children:g.map((v,y)=>c.jsx("li",{onClick:()=>w(v,y),className:`${zn.question_choices_choice} + ${s===y?zn.selected:""}`,children:v},v))})]}),c.jsx("div",{className:zn.quiz_container_footer,children:c.jsx("button",{onClick:x,disabled:s===null,children:e===d.length-1?"Finish":"Next"})})]})})},AP=()=>c.jsx("main",{className:zn.app,children:c.jsx(OP,{})}),MP="_app_2nnow_1",DP="_chess_2nnow_18",IP="_tile_2nnow_33",LP="_tile_color_2nnow_44",Tl={app:MP,chess:DP,tile:IP,tile_color:LP},FP=e=>{const t=Math.floor(e/8)%2===0,n=e%2===0;return!!(t&&n||!t&&!n)},zP=()=>{const e={R:"♜",N:"♞",B:"♝",Q:"♛",K:"♚",P:"♟",r:"♖",n:"♘",b:"♗",q:"♕",k:"♔",p:"♙"," ":" "},t="RNBQKBNRPPPPPPPP pppppppprnbqkbnr";return c.jsx("section",{className:Tl.chess,children:t.split("").map((n,r)=>c.jsx("div",{className:`${Tl.tile} ${FP(r)?Tl.tile_color:""}`,children:e[n]},r))})},BP=()=>c.jsx("main",{className:Tl.app,children:c.jsx(zP,{})}),UP="_container_nf0ym_1",HP="_calculator__body_nf0ym_8",WP="_calculator__screen_nf0ym_14",VP="_calculator__screen__previous_nf0ym_27",GP="_calculator__buttons_nf0ym_33",KP="_total_nf0ym_1",qP="_ac_nf0ym_1",YP="_del_nf0ym_1",QP="_calculator__button_nf0ym_33",XP="_calculator__operator_nf0ym_63",JP="_exponent_nf0ym_1",ZP="_square_nf0ym_1",he={container:UP,calculator__body:HP,calculator__screen:WP,calculator__screen__previous:VP,calculator__buttons:GP,total:KP,ac:qP,del:YP,calculator__button:QP,calculator__operator:XP,exponent:JP,square:ZP},e3=()=>{const[e,t]=h.useState(""),[n,r]=h.useState(""),[o,i]=h.useState(""),[s,l]=h.useState(""),[a,u]=h.useState(!1);let d="",f="";const p=E=>{!o&&a===!0?(t(E),u(!1)):o||e.toString().includes(".")&&E==="."||(d=e+E,t(d)),o&&(n.includes(".")&&E==="."||(d=n+E,r(d)))},g=E=>{i(e?E:"")},m=()=>{let E=e.toString(),b=n.toString();if(o==="^2")E.includes(".")&&(f=E.split(".")[1].length*2);else if(o==="*"&&E.includes(".")&&b.includes(".")){let j=E.split(".")[1].length,N=b.split(".")[1].length;f=j+N}else if(o==="*"&&E.includes(".")&&!b.includes("."))f=E.split(".")[1].length;else if(o==="*"&&!E.includes(".")&&b.includes("."))f=b.split(".")[1].length;else if(E.includes(".")&&b.includes(".")){let j=E.split(".")[1].length,N=b.split(".")[1].length;j>=N?f=j:f=N}else E.includes(".")?f=E.split(".")[1].length:b.includes(".")&&(f=b.split(".")[1].length)},x=E=>{l(E),t(E),r(""),i(""),u(!0)},w=()=>{if(o==="/"){const E=parseFloat(e*100)/parseFloat(n*100);x(E)}else if(o==="-"){let E=(parseFloat(e)-parseFloat(n))*100;m(),E=(E/100).toFixed(f),x(E)}else if(o==="*"){let E=e*n;m(),E=E.toFixed(f),x(E)}else if(o==="+"){let E=parseFloat(e)+parseFloat(n);m(),E=E.toFixed(f),x(E)}else if(o==="^"){const E=Math.pow(e,n);x(E)}else if(o==="^2"){let E=Math.pow(e,2);m(),E=E.toFixed(f),x(E)}else if(o==="√"){const E=Math.sqrt(e);x(E)}},v=()=>{t(""),i(""),r(""),l("")},y=()=>{if(o){const E=n.slice(0,n.length-1);r(E)}else{const E=e.toString(),b=E.slice(0,E.length-1);t(b)}},_=()=>{if(n){const E=n*-1;r(E)}else if(e){const E=e*-1;t(E)}},C=()=>n&&o==="/"||o==="-"||o==="+"||o==="*"||o==="^"?`${e} ${o} ${n}`:`${e||"-"} ${o}`;return c.jsx("div",{class:he.container,children:c.jsxs("div",{className:he.calculator__body,children:[c.jsxs("div",{className:he.calculator__screen,children:[c.jsx("div",{className:he.calculator__screen__previous,children:C()}),c.jsx("div",{className:he.calculator__screen__first,children:s})]}),c.jsxs("div",{className:he.calculator__buttons,children:[c.jsx("button",{onClick:()=>v(),id:"ac",className:he.calculator__operator,children:"Clear"}),c.jsx("button",{onClick:()=>y(),id:"del",className:he.calculator__operator,children:"Del"}),c.jsx("button",{onClick:()=>_(),className:he.calculator__operator,id:"negative",children:"+-"}),c.jsxs("button",{onClick:()=>g("^2"),className:he.calculator__operator,id:"square",children:["x",c.jsx("sup",{children:"2"})]}),c.jsx("button",{onClick:()=>p("1"),className:he.calculator__button,children:"1"}),c.jsx("button",{onClick:()=>p("2"),className:he.calculator__button,children:"2"}),c.jsx("button",{onClick:()=>p("3"),className:he.calculator__button,children:"3"}),c.jsx("button",{onClick:()=>g("+"),className:he.calculator__operator,children:"+"}),c.jsx("button",{onClick:()=>p("4"),className:he.calculator__button,children:"4"}),c.jsx("button",{onClick:()=>p("5"),className:he.calculator__button,children:"5"}),c.jsx("button",{onClick:()=>p("6"),className:he.calculator__button,children:"6"}),c.jsx("button",{onClick:()=>g("/"),className:he.calculator__operator,children:"÷"}),c.jsx("button",{onClick:()=>p("7"),className:he.calculator__button,children:"7"}),c.jsx("button",{onClick:()=>p("8"),className:he.calculator__button,children:"8"}),c.jsx("button",{onClick:()=>p("9"),className:he.calculator__button,children:"9"}),c.jsx("button",{onClick:()=>g("-"),className:he.calculator__operator,children:"–"}),c.jsx("button",{onClick:()=>p("0"),className:he.calculator__button,children:"0"}),c.jsxs("button",{onClick:()=>g("^"),className:he.calculator__operator,id:"exponent",children:["x",c.jsx("sup",{children:"y"})]}),c.jsx("button",{onClick:()=>g("√"),className:he.calculator__operator,id:"radical",children:"√"}),c.jsx("button",{onClick:()=>g("*"),className:he.calculator__operator,children:"*"}),c.jsx("button",{onClick:()=>p("."),className:he.calculator__button,children:"."}),c.jsx("button",{onClick:()=>w(),id:"total",className:he.calculator__operator,children:"="})]})]})})},t3=4,Ku=1e3,n3=200,r3=25,o3="_controls_1s50h_6",i3="_tanks_1s50h_17",s3="_tank_1s50h_17",a3="_range_1s50h_64",En={controls:o3,"text-center":"_text-center_1s50h_13",tanks:i3,"add-btn":"_add-btn_1s50h_23","empty-btn":"_empty-btn_1s50h_32",tank:s3,"tank-level":"_tank-level_1s50h_51","form-item":"_form-item_1s50h_57",range:a3};function l3({onDown:e,onUp:t,onEmpty:n,tankLevel:r,capacity:o}){return c.jsxs("div",{children:[c.jsxs("div",{className:En.controls,children:[c.jsx("button",{onMouseDown:e,onMouseUp:t,onTouchStart:e,onTouchEnd:t,className:En["add-btn"],children:"Add"}),c.jsx("button",{onClick:n,className:En["empty-btn"],children:"Empty"})]}),c.jsx("div",{className:En.tank,children:c.jsx("div",{className:En["tank-level"],style:{height:`${100*r/o}%`}})}),c.jsxs("p",{className:En["text-center"],children:[r," lts"]})]})}function c3({tank:e,setTanks:t,index:n}){const[r,o]=h.useState(0),i=h.useRef(0),s=h.useRef(0);s.current=e.level;function l(d){d.preventDefault(),t(f=>{const p=[...f];return p[n].isReady=!1,p}),i.current=setInterval(()=>{o(f=>{let p=f+n3;return s.current+p>=Ku&&(p=Ku-s.current),p})},1e3)}function a(){i.current&&clearInterval(i.current),o(0),t(d=>{const f=[...d.map(p=>({...p}))];return f[n].level+=r,f[n].isReady=!0,f})}function u(){t(d=>{const f=[...d.map(p=>({...p}))];return f[n].level=0,f})}return c.jsx(l3,{onDown:l,onUp:a,onEmpty:u,tankLevel:(s.current+r).toFixed(2),capacity:Ku})}function mg(e){return Array.from({length:e},()=>({level:0,isReady:!0}))}function u3(e){const n=e.filter(l=>l.isReady).reduce((l,a)=>l+a.level,0)/e.length,r=e.filter(l=>l.isReady&&l.levell.level-n<1e-4)||r.length===0)return null;let o=0;const i=e.map(l=>{const a={...l};if(l.isReady&&l.level>n){const u=Math.min(l.level-n,r3);a.level=l.level-u,o+=u}return a}),s=o/r.length;return i.forEach(l=>{l.isReady&&l.levelsetTimeout(t,e))}function f3({tanksCount:e,setTanksCount:t}){return c.jsx("section",{className:En.range,children:c.jsxs("div",{className:En["form-item"],children:[c.jsx("label",{htmlFor:"waterTanks",children:"Water Tanks: "}),c.jsx("input",{type:"range",min:"4",max:"8",value:e,onChange:n=>t(n.target.value),className:"slider",id:"waterTanks"})]})})}function p3(){const[e,t]=h.useState(t3),[n,r]=h.useState(()=>mg(e));return h.useEffect(()=>{const o=mg(e);r(o)},[e]),h.useEffect(()=>{let o=!1;async function i(){if(await d3(1e3),o)return;const s=u3(n);s&&r(s)}return i(),()=>{o=!0}},[n]),c.jsxs("div",{className:En["text-center"],children:[c.jsx("p",{children:'Press and Hold "Add" to start filling the tank'}),c.jsx("main",{className:En.tanks,children:n.map((o,i)=>c.jsx(c3,{tank:o,setTanks:r,index:i},i))}),c.jsx(f3,{tanksCount:e,setTanksCount:t})]})}const h3="_TransferListContainer_e51he_1",m3="_inputWrapper_e51he_29",ia={TransferListContainer:h3,"list-container":"_list-container_e51he_8","buttons-container":"_buttons-container_e51he_15",inputWrapper:m3,"disabled-button":"_disabled-button_e51he_33"},g3=({leftClickHandler:e,rightClickHandler:t,leftClickHandlerAll:n,rightClickHandlerAll:r,disableLeftBtn:o,disableRightBtn:i,disableLeftBtnAll:s,disableRightBtnAll:l})=>c.jsxs("div",{className:ia["buttons-container"],children:[c.jsx("button",{onClick:n,disabled:s,children:">>"}),c.jsx("button",{onClick:e,disabled:o,children:">"}),c.jsx("button",{onClick:t,disabled:i,children:"<"}),c.jsx("button",{onClick:r,disabled:l,children:"<<"})]}),v3=[{value:"USA",id:"usa"},{value:"UAE",id:"uae"},{value:"India",id:"ind"},{value:"Australia",id:"aus"},{value:"Canada",id:"can"}],y3=({id:e,value:t,selected:n,onToggle:r})=>c.jsxs("div",{className:ia.inputWrapper,children:[c.jsx("input",{type:"checkbox",id:e,value:t,checked:n,onChange:()=>r(e)}),c.jsx("label",{htmlFor:e,children:t})]}),gg=({items:e,onToggle:t})=>c.jsx("div",{className:ia["list-container"],children:c.jsx("div",{className:ia["list-items"],children:e.map(n=>c.jsx(y3,{id:n.id,value:n.value,selected:n.selected,onToggle:t},n.id))})});function x3(){return v3.map(e=>({...e,selected:!1,direction:"left"}))}const w3=()=>{const[e,t]=h.useState(x3),n=e.filter(u=>u.direction==="left"),r=e.filter(u=>u.direction==="right"),o=n.filter(u=>u.selected),i=r.filter(u=>u.selected),s=u=>{const d=e.map(f=>f.id===u?{...f,selected:!f.selected}:f);t(d)},l=(u,d)=>{const f=e.map(p=>p.selected&&p.direction===u?{...p,selected:!1,direction:d}:p);t(f)},a=u=>{const d=e.map(f=>({...f,direction:u}));t(d)};return c.jsxs("div",{className:ia.TransferListContainer,children:[c.jsx(gg,{items:n,onToggle:s}),c.jsx(g3,{leftClickHandler:()=>l("left","right"),rightClickHandler:()=>l("right","left"),leftClickHandlerAll:()=>a("right"),rightClickHandlerAll:()=>a("left"),disableLeftBtn:o.length===0,disableRightBtn:i.length===0,disableLeftBtnAll:n.length===0,disableRightBtnAll:r.length===0}),c.jsx(gg,{items:r,onToggle:s})]})},_3="_AppContainer_1tcc6_1",b3="_container_1tcc6_9",S3="_timeline_1tcc6_17",E3="_date_1tcc6_38",C3="_timeline_content_1tcc6_42",ds={AppContainer:_3,container:b3,timeline:S3,date:E3,timeline_content:C3},k3=[{date:"August 30, 2017",title:"Published First React Tutorial",content:"My first React tutorial was about building a simple component and understanding the basics of React."},{date:"June 3, 2020",title:"First React Live Stream",content:"In my first-ever React live stream, I shared tips and tricks while building a React application."},{date:"June 28, 2021",title:"Introduction to React Hooks",content:"Published a video exploring the power of React Hooks. Check out the code in the description."},{date:"September 15, 2021",title:"React Context API Deep Dive",content:"Delved into the React Context API and how it simplifies state management in complex React applications."},{date:"February 8, 2022",title:"React Testing Strategies",content:"Shared insights on effective testing strategies for React applications using popular testing libraries."},{date:"June 28, 2022",title:"Advanced React Patterns",content:"Explored advanced React patterns and best practices for building scalable and maintainable React applications."}],j3=()=>c.jsx(c.Fragment,{children:c.jsx("div",{className:ds.AppContainer,children:c.jsx("div",{className:ds.container,children:c.jsx("div",{className:ds.timeline,children:c.jsx("ul",{children:k3.map((e,t)=>c.jsx("li",{children:c.jsxs("div",{className:ds.timeline_content,children:[c.jsx("h3",{className:ds.date,children:e.date}),c.jsx("h1",{children:e.title}),c.jsx("p",{children:e.content})]})},t))})})})})}),$3=[["India","New Delhi"],["Indonesia","Jakarta"],["Iran","Tehran"],["Iraq","Baghdad"],["Ireland","Dublin"],["Israel","Jerusalem"],["Italy","Rome"],["Jamaica","Kingston"],["Japan","Tokyo"],["Jordan","Amman"],["Kazakhstan","Nur-Sultan"],["Kenya","Nairobi"],["Kiribati","South Tarawa"],["Kuwait","Kuwait City"],["Kyrgyzstan","Bishkek"],["Laos","Vientiane"],["Latvia","Riga"],["Lebanon","Beirut"],["Lesotho","Maseru"],["Liberia","Monrovia"],["Libya","Tripoli"],["Liechtenstein","Vaduz"],["Lithuania","Vilnius"],["Madagascar","Antananarivo"],["Malawi","Lilongwe"],["Malaysia","Kuala Lumpur"],["Maldives","Malé"],["Mali","Bamako"],["Malta","Valletta"],["Mauritania","Nouakchott"],["Mauritius","Port Louis"],["Mexico","Mexico City"]],R3=[["Basil","Thyme","Rosemary"],["Latte","Cappuccino","Espresso"],["Octopus","Dolphin","Seahorse"],["Beach","Mountain","Forest"],["Paintbrush","Canvas","Palette"],["Rock","Pop","Jazz"],["Running","Yoga","Dancing"],["Volcano","Canyon","Ocean"],["Phone","Email","Letter"],["Flood","Earthquake","Hurricane"],["Sight","Smell","Taste"],["Past","Present","Future"],["Literature","History","Biology"],["Spring","Summer","Autumn"],["Basketball","Jersey","Whistle"],["Textbook","Notebook","Pencil"],["Spoon","Fork","Knife"],["Shirt","Pants","Shoes"],["Lion","Elephant","Giraffe"],["Sunflower","Rose","Daisy"],["Cucumber","Tomato","Carrot"],["Tea","Coffee","Juice"],["Milk","Yogurt","Cheese"],["Pikachu","Charmander","Squirtle"],["Batman","Superman","Spiderman"],["Elsa","Anna","Olaf"]],T3=[["Cinnamon","Nutmeg","Ginger","Allspice"],["Guitar","Drums","Piano","Violin"],["Mercury","Venus","Earth","Mars"],["Monday","Tuesday","Friday","Sunday"],["Black","White","Grey","Navy Blue"],["Sun","Rain","Wind","Snow"],["Hand","Foot","Ear","Eye"],["Apple","Orange","Banana","Grape"],["Math","English","Science","History"],["Car","Bus","Train","Airplane"],["Phone","Laptop","Headset","Charger"],["Pen","Pencil","Eraser","Notebook"],["Scarf","Hat","Gloves","Boots"],["Ruler","Scissors","Calculator","Glue"]],N3=new Map([[2,$3],[3,R3],[4,T3]]);function P3(e,t){const n=[],r=new Set;for(let o=0;o{const t=e.length;for(let n=0;n{o.push(new Set(s))});const i=O3(r.flat());return[o,i]}function M3(e,t){const n=e.find(r=>r.has(t[0]));return n?t.every(r=>n.has(r)):!1}const D3="_grid_18i4i_1",I3="_itemBtn_18i4i_9",L3="_reset_18i4i_20",F3="_center_18i4i_26",z3="_highlight_18i4i_30",B3="_success_18i4i_34",U3="_failure_18i4i_38",Gn={grid:D3,itemBtn:I3,reset:L3,center:F3,highlight:z3,success:B3,failure:U3},H3=h.forwardRef(function({items:t,cols:n,onSelection:r,status:o},i){const[s,l]=h.useState([]),a=d=>{if(o)return;let f=[];s.includes(d)?f=s.filter(p=>p!==d):f=[...s,d],l(f),r(f)};function u(){l([])}return h.useImperativeHandle(i,()=>({clearSelection:u})),c.jsx("section",{"data-status":o,className:Gn.grid,style:{gridTemplateColumns:`repeat(${n}, 1fr)`},children:t.map(d=>{const f=s.includes(d),p=`${Gn.itemBtn} ${f?Gn.highlight:""} ${f&&o?Gn[o]:""}`;return c.jsx("button",{className:p,onClick:()=>a(d),children:d},d)})})});var Nl=(e=>(e.Success="success",e.Failure="failure",e))(Nl||{});function W3({itemGroups:e,allItems:t,columns:n=2,groupSize:r}){const[o,i]=h.useState([]),[s,l]=h.useState(0),[a,u]=h.useState(null),d=h.useRef(null);h.useEffect(()=>{var g;i(t),l(0),u(null),(g=d.current)==null||g.clearSelection()},[t]);function f(g){if(g.length===r){l(s+1);const m=M3(e,g)?Nl.Success:Nl.Failure;u(m);const x=setTimeout(()=>p(g,m),1e3);return()=>clearTimeout(x)}}function p(g,m){var x;m===Nl.Success&&i(o.filter(w=>!g.includes(w))),u(null),(x=d.current)==null||x.clearSelection()}return c.jsxs(c.Fragment,{children:[o.length?c.jsx(H3,{items:o,cols:n,onSelection:f,status:a,ref:d}):c.jsx("p",{className:Gn.center,children:"Well done. Reset to play again!"}),c.jsxs("p",{className:Gn.center,children:["Attempts: ",c.jsx("strong",{children:s})]})]})}function Ve(){return Ve=Object.assign?Object.assign.bind():function(e){for(var t=1;te.forEach(n=>V3(n,t))}function Li(...e){return h.useCallback(dx(...e),e)}const fx=h.forwardRef((e,t)=>{const{children:n,...r}=e,o=h.Children.toArray(n),i=o.find(G3);if(i){const s=i.props.children,l=o.map(a=>a===i?h.Children.count(s)>1?h.Children.only(null):h.isValidElement(s)?s.props.children:null:a);return h.createElement(df,Ve({},r,{ref:t}),h.isValidElement(s)?h.cloneElement(s,void 0,l):null)}return h.createElement(df,Ve({},r,{ref:t}),n)});fx.displayName="Slot";const df=h.forwardRef((e,t)=>{const{children:n,...r}=e;return h.isValidElement(n)?h.cloneElement(n,{...K3(r,n.props),ref:t?dx(t,n.ref):n.ref}):h.Children.count(n)>1?h.Children.only(null):null});df.displayName="SlotClone";const px=({children:e})=>h.createElement(h.Fragment,null,e);function G3(e){return h.isValidElement(e)&&e.type===px}function K3(e,t){const n={...t};for(const r in t){const o=e[r],i=t[r];/^on[A-Z]/.test(r)?o&&i?n[r]=(...l)=>{i(...l),o(...l)}:o&&(n[r]=o):r==="style"?n[r]={...o,...i}:r==="className"&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}const q3=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],_o=q3.reduce((e,t)=>{const n=h.forwardRef((r,o)=>{const{asChild:i,...s}=r,l=i?fx:t;return h.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),h.createElement(l,Ve({},s,{ref:o}))});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function Y3(e,t){e&&wo.flushSync(()=>e.dispatchEvent(t))}const Q3=h.forwardRef((e,t)=>{var n;const{container:r=globalThis==null||(n=globalThis.document)===null||n===void 0?void 0:n.body,...o}=e;return r?Rp.createPortal(h.createElement(_o.div,Ve({},o,{ref:t})),r):null}),X3=Q3;var vg=Object.prototype.hasOwnProperty;function sa(e,t){var n,r;if(e===t)return!0;if(e&&t&&(n=e.constructor)===t.constructor){if(n===Date)return e.getTime()===t.getTime();if(n===RegExp)return e.toString()===t.toString();if(n===Array){if((r=e.length)===t.length)for(;r--&&sa(e[r],t[r]););return r===-1}if(!n||typeof e=="object"){r=0;for(n in e)if(vg.call(e,n)&&++r&&!vg.call(t,n)||!(n in t)||!sa(e[n],t[n]))return!1;return Object.keys(t).length===r}}return e!==e&&t!==t}function ba(e,t){if(Object.is(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;const n=Object.keys(e);if(n.length!==Object.keys(t).length)return!1;for(let r=0;r0;)s[l]=arguments[l+4];e.call(this,s),e.captureStackTrace&&e.captureStackTrace(this,t),this.rule=n,this.value=r,this.cause=o,this.target=i}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t}(Error),Tn=function(t,n){t===void 0&&(t=[]),n===void 0&&(n=[]),this.chain=t,this.nextRuleModifiers=n};Tn.prototype._applyRule=function(t,n){var r=this;return function(){for(var o=[],i=arguments.length;i--;)o[i]=arguments[i];return r.chain.push(new Xc(n,t.apply(r,o),o,r.nextRuleModifiers)),r.nextRuleModifiers=[],r}};Tn.prototype._applyModifier=function(t,n){return this.nextRuleModifiers.push(new J3(n,t.simple,t.async)),this};Tn.prototype._clone=function(){return new Tn(this.chain.slice(),this.nextRuleModifiers.slice())};Tn.prototype.test=function(t){return this.chain.every(function(n){return n._test(t)})};Tn.prototype.testAll=function(t){var n=[];return this.chain.forEach(function(r){try{r._check(t)}catch(o){n.push(new Hp(r,t,o))}}),n};Tn.prototype.check=function(t){this.chain.forEach(function(n){try{n._check(t)}catch(r){throw new Hp(n,t,r)}})};Tn.prototype.testAsync=function(t){var n=this;return new Promise(function(r,o){gx(t,n.chain.slice(),r,o)})};function gx(e,t,n,r){if(t.length){var o=t.shift();o._testAsync(e).then(function(){gx(e,t,n,r)},function(i){r(new Hp(o,e,i))})}else n(e)}var yg=function(e,t){return t&&typeof e=="string"&&e.trim().length===0?!0:e==null};function Z3(e,t){return t===void 0&&(t=!1),{simple:function(n){return yg(n,t)||e.check(n)===void 0},async:function(n){return yg(n,t)||e.testAsync(n)}}}function jt(){return typeof Proxy<"u"?vx(new Tn):ff(new Tn)}var aa={};jt.extend=function(e){Object.assign(aa,e)};jt.clearCustomRules=function(){aa={}};function vx(e){return new Proxy(e,{get:function(n,r){if(r in n)return n[r];var o=vx(e._clone());if(r in pc)return o._applyModifier(pc[r],r);if(r in aa)return o._applyRule(aa[r],r);if(r in pf)return o._applyRule(pf[r],r)}})}function ff(e){var t=function(o,i){return Object.keys(o).forEach(function(s){i[s]=function(){for(var l=[],a=arguments.length;a--;)l[a]=arguments[a];var u=ff(i._clone()),d=u._applyRule(o[s],s).apply(void 0,l);return d}}),i},n=t(pf,e),r=t(aa,n);return Object.keys(pc).forEach(function(o){Object.defineProperty(r,o,{get:function(){var i=ff(r._clone());return i._applyModifier(pc[o],o)}})}),r}var pc={not:{simple:function(e){return function(t){return!e(t)}},async:function(e){return function(t){return Promise.resolve(e(t)).then(function(n){return!n}).catch(function(){return!0})}}},some:{simple:function(e){return function(t){return rl(t).some(function(n){try{return e(n)}catch{return!1}})}},async:function(e){return function(t){return Promise.all(rl(t).map(function(n){try{return e(n).catch(function(){return!1})}catch{return!1}})).then(function(n){return n.some(Boolean)})}}},every:{simple:function(e){return function(t){return t!==!1&&rl(t).every(e)}},async:function(e){return function(t){return Promise.all(rl(t).map(e)).then(function(n){return n.every(Boolean)})}}},strict:{simple:function(e,t){return function(n){return xg(t)&&n&&typeof n=="object"?Object.keys(t.args[0]).length===Object.keys(n).length&&e(n):e(n)}},async:function(e,t){return function(n){return Promise.resolve(e(n)).then(function(r){return xg(t)&&n&&typeof n=="object"?Object.keys(t.args[0]).length===Object.keys(n).length&&r:r}).catch(function(){return!1})}}}};function xg(e){return e&&e.name==="schema"&&e.args.length>0&&typeof e.args[0]=="object"}function rl(e){return typeof e=="string"?e.split(""):e}var pf={equal:function(e){return function(t){return t==e}},exact:function(e){return function(t){return t===e}},number:function(e){return e===void 0&&(e=!0),function(t){return typeof t=="number"&&(e||isFinite(t))}},integer:function(){return function(e){var t=Number.isInteger||eO;return t(e)}},numeric:function(){return function(e){return!isNaN(parseFloat(e))&&isFinite(e)}},string:function(){return Bo("string")},boolean:function(){return Bo("boolean")},undefined:function(){return Bo("undefined")},null:function(){return Bo("null")},array:function(){return Bo("array")},object:function(){return Bo("object")},instanceOf:function(e){return function(t){return t instanceof e}},pattern:function(e){return function(t){return e.test(t)}},lowercase:function(){return function(e){return typeof e=="boolean"||e===e.toLowerCase()&&e.trim()!==""}},uppercase:function(){return function(e){return e===e.toUpperCase()&&e.trim()!==""}},vowel:function(){return function(e){return/^[aeiou]+$/i.test(e)}},consonant:function(){return function(e){return/^(?=[^aeiou])([a-z]+)$/i.test(e)}},first:function(e){return function(t){return t[0]==e}},last:function(e){return function(t){return t[t.length-1]==e}},empty:function(){return function(e){return e.length===0}},length:function(e,t){return function(n){return n.length>=e&&n.length<=(t||e)}},minLength:function(e){return function(t){return t.length>=e}},maxLength:function(e){return function(t){return t.length<=e}},negative:function(){return function(e){return e<0}},positive:function(){return function(e){return e>=0}},between:function(e,t){return function(n){return n>=e&&n<=t}},range:function(e,t){return function(n){return n>=e&&n<=t}},lessThan:function(e){return function(t){return te}},greaterThanOrEqual:function(e){return function(t){return t>=e}},even:function(){return function(e){return e%2===0}},odd:function(){return function(e){return e%2!==0}},includes:function(e){return function(t){return~t.indexOf(e)}},schema:function(e){return tO(e)},passesAnyOf:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return function(n){return e.some(function(r){return r.test(n)})}},optional:Z3};function Bo(e){return function(t){return Array.isArray(t)&&e==="array"||t===null&&e==="null"||typeof t===e}}function eO(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e}function tO(e){return{simple:function(t){var n=[];if(Object.keys(e).forEach(function(r){var o=e[r];try{o.check((t||{})[r])}catch(i){i.target=r,n.push(i)}}),n.length>0)throw n;return!0},async:function(t){var n=[],r=Object.keys(e).map(function(o){var i=e[o];return i.testAsync((t||{})[o]).catch(function(s){s.target=o,n.push(s)})});return Promise.all(r).then(function(){if(n.length>0)throw n;return!0})}}}var me="colors",gt="sizes",G="space",nO={gap:G,gridGap:G,columnGap:G,gridColumnGap:G,rowGap:G,gridRowGap:G,inset:G,insetBlock:G,insetBlockEnd:G,insetBlockStart:G,insetInline:G,insetInlineEnd:G,insetInlineStart:G,margin:G,marginTop:G,marginRight:G,marginBottom:G,marginLeft:G,marginBlock:G,marginBlockEnd:G,marginBlockStart:G,marginInline:G,marginInlineEnd:G,marginInlineStart:G,padding:G,paddingTop:G,paddingRight:G,paddingBottom:G,paddingLeft:G,paddingBlock:G,paddingBlockEnd:G,paddingBlockStart:G,paddingInline:G,paddingInlineEnd:G,paddingInlineStart:G,top:G,right:G,bottom:G,left:G,scrollMargin:G,scrollMarginTop:G,scrollMarginRight:G,scrollMarginBottom:G,scrollMarginLeft:G,scrollMarginX:G,scrollMarginY:G,scrollMarginBlock:G,scrollMarginBlockEnd:G,scrollMarginBlockStart:G,scrollMarginInline:G,scrollMarginInlineEnd:G,scrollMarginInlineStart:G,scrollPadding:G,scrollPaddingTop:G,scrollPaddingRight:G,scrollPaddingBottom:G,scrollPaddingLeft:G,scrollPaddingX:G,scrollPaddingY:G,scrollPaddingBlock:G,scrollPaddingBlockEnd:G,scrollPaddingBlockStart:G,scrollPaddingInline:G,scrollPaddingInlineEnd:G,scrollPaddingInlineStart:G,fontSize:"fontSizes",background:me,backgroundColor:me,backgroundImage:me,borderImage:me,border:me,borderBlock:me,borderBlockEnd:me,borderBlockStart:me,borderBottom:me,borderBottomColor:me,borderColor:me,borderInline:me,borderInlineEnd:me,borderInlineStart:me,borderLeft:me,borderLeftColor:me,borderRight:me,borderRightColor:me,borderTop:me,borderTopColor:me,caretColor:me,color:me,columnRuleColor:me,fill:me,outline:me,outlineColor:me,stroke:me,textDecorationColor:me,fontFamily:"fonts",fontWeight:"fontWeights",lineHeight:"lineHeights",letterSpacing:"letterSpacings",blockSize:gt,minBlockSize:gt,maxBlockSize:gt,inlineSize:gt,minInlineSize:gt,maxInlineSize:gt,width:gt,minWidth:gt,maxWidth:gt,height:gt,minHeight:gt,maxHeight:gt,flexBasis:gt,gridTemplateColumns:gt,gridTemplateRows:gt,borderWidth:"borderWidths",borderTopWidth:"borderWidths",borderRightWidth:"borderWidths",borderBottomWidth:"borderWidths",borderLeftWidth:"borderWidths",borderStyle:"borderStyles",borderTopStyle:"borderStyles",borderRightStyle:"borderStyles",borderBottomStyle:"borderStyles",borderLeftStyle:"borderStyles",borderRadius:"radii",borderTopLeftRadius:"radii",borderTopRightRadius:"radii",borderBottomRightRadius:"radii",borderBottomLeftRadius:"radii",boxShadow:"shadows",textShadow:"shadows",transition:"transitions",zIndex:"zIndices"},rO=(e,t)=>typeof t=="function"?{"()":Function.prototype.toString.call(t)}:t,Fi=()=>{const e=Object.create(null);return(t,n,...r)=>{const o=(i=>JSON.stringify(i,rO))(t);return o in e?e[o]:e[o]=n(t,...r)}},ao=Symbol.for("sxs.internal"),Wp=(e,t)=>Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)),wg=e=>{for(const t in e)return!0;return!1},{hasOwnProperty:oO}=Object.prototype,hf=e=>e.includes("-")?e:e.replace(/[A-Z]/g,t=>"-"+t.toLowerCase()),iO=/\s+(?![^()]*\))/,Uo=e=>t=>e(...typeof t=="string"?String(t).split(iO):[t]),_g={appearance:e=>({WebkitAppearance:e,appearance:e}),backfaceVisibility:e=>({WebkitBackfaceVisibility:e,backfaceVisibility:e}),backdropFilter:e=>({WebkitBackdropFilter:e,backdropFilter:e}),backgroundClip:e=>({WebkitBackgroundClip:e,backgroundClip:e}),boxDecorationBreak:e=>({WebkitBoxDecorationBreak:e,boxDecorationBreak:e}),clipPath:e=>({WebkitClipPath:e,clipPath:e}),content:e=>({content:e.includes('"')||e.includes("'")||/^([A-Za-z]+\([^]*|[^]*-quote|inherit|initial|none|normal|revert|unset)$/.test(e)?e:`"${e}"`}),hyphens:e=>({WebkitHyphens:e,hyphens:e}),maskImage:e=>({WebkitMaskImage:e,maskImage:e}),maskSize:e=>({WebkitMaskSize:e,maskSize:e}),tabSize:e=>({MozTabSize:e,tabSize:e}),textSizeAdjust:e=>({WebkitTextSizeAdjust:e,textSizeAdjust:e}),userSelect:e=>({WebkitUserSelect:e,userSelect:e}),marginBlock:Uo((e,t)=>({marginBlockStart:e,marginBlockEnd:t||e})),marginInline:Uo((e,t)=>({marginInlineStart:e,marginInlineEnd:t||e})),maxSize:Uo((e,t)=>({maxBlockSize:e,maxInlineSize:t||e})),minSize:Uo((e,t)=>({minBlockSize:e,minInlineSize:t||e})),paddingBlock:Uo((e,t)=>({paddingBlockStart:e,paddingBlockEnd:t||e})),paddingInline:Uo((e,t)=>({paddingInlineStart:e,paddingInlineEnd:t||e}))},qu=/([\d.]+)([^]*)/,sO=(e,t)=>e.length?e.reduce((n,r)=>(n.push(...t.map(o=>o.includes("&")?o.replace(/&/g,/[ +>|~]/.test(r)&&/&.*&/.test(o)?`:is(${r})`:r):r+" "+o)),n),[]):t,aO=(e,t)=>e in lO&&typeof t=="string"?t.replace(/^((?:[^]*[^\w-])?)(fit-content|stretch)((?:[^\w-][^]*)?)$/,(n,r,o,i)=>r+(o==="stretch"?`-moz-available${i};${hf(e)}:${r}-webkit-fill-available`:`-moz-fit-content${i};${hf(e)}:${r}fit-content`)+i):String(t),lO={blockSize:1,height:1,inlineSize:1,maxBlockSize:1,maxHeight:1,maxInlineSize:1,maxWidth:1,minBlockSize:1,minHeight:1,minInlineSize:1,minWidth:1,width:1},er=e=>e?e+"-":"",yx=(e,t,n)=>e.replace(/([+-])?((?:\d+(?:\.\d*)?|\.\d+)(?:[Ee][+-]?\d+)?)?(\$|--)([$\w-]+)/g,(r,o,i,s,l)=>s=="$"==!!i?r:(o||s=="--"?"calc(":"")+"var(--"+(s==="$"?er(t)+(l.includes("$")?"":er(n))+l.replace(/\$/g,"-"):l)+")"+(o||s=="--"?"*"+(o||"")+(i||"1")+")":"")),cO=/\s*,\s*(?![^()]*\))/,uO=Object.prototype.toString,ci=(e,t,n,r,o)=>{let i,s,l;const a=(u,d,f)=>{let p,g;const m=x=>{for(p in x){const y=p.charCodeAt(0)===64,_=y&&Array.isArray(x[p])?x[p]:[x[p]];for(g of _){const C=/[A-Z]/.test(v=p)?v:v.replace(/-[^]/g,b=>b[1].toUpperCase()),E=typeof g=="object"&&g&&g.toString===uO&&(!r.utils[C]||!d.length);if(C in r.utils&&!E){const b=r.utils[C];if(b!==s){s=b,m(b(g)),s=null;continue}}else if(C in _g){const b=_g[C];if(b!==l){l=b,m(b(g)),l=null;continue}}if(y&&(w=p.slice(1)in r.media?"@media "+r.media[p.slice(1)]:p,p=w.replace(/\(\s*([\w-]+)\s*(=|<|<=|>|>=)\s*([\w-]+)\s*(?:(<|<=|>|>=)\s*([\w-]+)\s*)?\)/g,(b,k,j,P,N,M)=>{const I=qu.test(k),U=.0625*(I?-1:1),[z,q]=I?[P,k]:[k,P];return"("+(j[0]==="="?"":j[0]===">"===I?"max-":"min-")+z+":"+(j[0]!=="="&&j.length===1?q.replace(qu,(K,Y,L)=>Number(Y)+U*(j===">"?1:-1)+L):q)+(N?") and ("+(N[0]===">"?"min-":"max-")+z+":"+(N.length===1?M.replace(qu,(K,Y,L)=>Number(Y)+U*(N===">"?-1:1)+L):M):"")+")"})),E){const b=y?f.concat(p):[...f],k=y?[...d]:sO(d,p.split(cO));i!==void 0&&o(bg(...i)),i=void 0,a(g,k,b)}else i===void 0&&(i=[[],d,f]),p=y||p.charCodeAt(0)!==36?p:`--${er(r.prefix)}${p.slice(1).replace(/\$/g,"-")}`,g=E?g:typeof g=="number"?g&&C in dO?String(g)+"px":String(g):yx(aO(C,g??""),r.prefix,r.themeMap[C]),i[0].push(`${y?`${p} `:`${hf(p)}:`}${g}`)}}var w,v};m(u),i!==void 0&&o(bg(...i)),i=void 0};a(e,t,n)},bg=(e,t,n)=>`${n.map(r=>`${r}{`).join("")}${t.length?`${t.join(",")}{`:""}${e.join(";")}${t.length?"}":""}${Array(n.length?n.length+1:0).join("}")}`,dO={animationDelay:1,animationDuration:1,backgroundSize:1,blockSize:1,border:1,borderBlock:1,borderBlockEnd:1,borderBlockEndWidth:1,borderBlockStart:1,borderBlockStartWidth:1,borderBlockWidth:1,borderBottom:1,borderBottomLeftRadius:1,borderBottomRightRadius:1,borderBottomWidth:1,borderEndEndRadius:1,borderEndStartRadius:1,borderInlineEnd:1,borderInlineEndWidth:1,borderInlineStart:1,borderInlineStartWidth:1,borderInlineWidth:1,borderLeft:1,borderLeftWidth:1,borderRadius:1,borderRight:1,borderRightWidth:1,borderSpacing:1,borderStartEndRadius:1,borderStartStartRadius:1,borderTop:1,borderTopLeftRadius:1,borderTopRightRadius:1,borderTopWidth:1,borderWidth:1,bottom:1,columnGap:1,columnRule:1,columnRuleWidth:1,columnWidth:1,containIntrinsicSize:1,flexBasis:1,fontSize:1,gap:1,gridAutoColumns:1,gridAutoRows:1,gridTemplateColumns:1,gridTemplateRows:1,height:1,inlineSize:1,inset:1,insetBlock:1,insetBlockEnd:1,insetBlockStart:1,insetInline:1,insetInlineEnd:1,insetInlineStart:1,left:1,letterSpacing:1,margin:1,marginBlock:1,marginBlockEnd:1,marginBlockStart:1,marginBottom:1,marginInline:1,marginInlineEnd:1,marginInlineStart:1,marginLeft:1,marginRight:1,marginTop:1,maxBlockSize:1,maxHeight:1,maxInlineSize:1,maxWidth:1,minBlockSize:1,minHeight:1,minInlineSize:1,minWidth:1,offsetDistance:1,offsetRotate:1,outline:1,outlineOffset:1,outlineWidth:1,overflowClipMargin:1,padding:1,paddingBlock:1,paddingBlockEnd:1,paddingBlockStart:1,paddingBottom:1,paddingInline:1,paddingInlineEnd:1,paddingInlineStart:1,paddingLeft:1,paddingRight:1,paddingTop:1,perspective:1,right:1,rowGap:1,scrollMargin:1,scrollMarginBlock:1,scrollMarginBlockEnd:1,scrollMarginBlockStart:1,scrollMarginBottom:1,scrollMarginInline:1,scrollMarginInlineEnd:1,scrollMarginInlineStart:1,scrollMarginLeft:1,scrollMarginRight:1,scrollMarginTop:1,scrollPadding:1,scrollPaddingBlock:1,scrollPaddingBlockEnd:1,scrollPaddingBlockStart:1,scrollPaddingBottom:1,scrollPaddingInline:1,scrollPaddingInlineEnd:1,scrollPaddingInlineStart:1,scrollPaddingLeft:1,scrollPaddingRight:1,scrollPaddingTop:1,shapeMargin:1,textDecoration:1,textDecorationThickness:1,textIndent:1,textUnderlineOffset:1,top:1,transitionDelay:1,transitionDuration:1,verticalAlign:1,width:1,wordSpacing:1},Sg=e=>String.fromCharCode(e+(e>25?39:97)),lo=e=>(t=>{let n,r="";for(n=Math.abs(t);n>52;n=n/52|0)r=Sg(n%52)+r;return Sg(n%52)+r})(((t,n)=>{let r=n.length;for(;r;)t=33*t^n.charCodeAt(--r);return t})(5381,JSON.stringify(e))>>>0),_s=["themed","global","styled","onevar","resonevar","allvar","inline"],fO=e=>{if(e.href&&!e.href.startsWith(location.origin))return!1;try{return!!e.cssRules}catch{return!1}},pO=e=>{let t;const n=()=>{const{cssRules:o}=t.sheet;return[].map.call(o,(i,s)=>{const{cssText:l}=i;let a="";if(l.startsWith("--sxs"))return"";if(o[s-1]&&(a=o[s-1].cssText).startsWith("--sxs")){if(!i.cssRules.length)return"";for(const u in t.rules)if(t.rules[u].group===i)return`--sxs{--sxs:${[...t.rules[u].cache].join(" ")}}${l}`;return i.cssRules.length?`${a}${l}`:""}return l}).join("")},r=()=>{if(t){const{rules:l,sheet:a}=t;if(!a.deleteRule){for(;Object(Object(a.cssRules)[0]).type===3;)a.cssRules.splice(0,1);a.cssRules=[]}for(const u in l)delete l[u]}const o=Object(e).styleSheets||[];for(const l of o)if(fO(l)){for(let a=0,u=l.cssRules;u[a];++a){const d=Object(u[a]);if(d.type!==1)continue;const f=Object(u[a+1]);if(f.type!==4)continue;++a;const{cssText:p}=d;if(!p.startsWith("--sxs"))continue;const g=p.slice(14,-3).trim().split(/\s+/),m=_s[g[0]];m&&(t||(t={sheet:l,reset:r,rules:{},toString:n}),t.rules[m]={group:f,index:a,cache:new Set(g)})}if(t)break}if(!t){const l=(a,u)=>({type:u,cssRules:[],insertRule(d,f){this.cssRules.splice(f,0,l(d,{import:3,undefined:1}[(d.toLowerCase().match(/^@([a-z]+)/)||[])[1]]||4))},get cssText(){return a==="@media{}"?`@media{${[].map.call(this.cssRules,d=>d.cssText).join("")}}`:a}});t={sheet:e?(e.head||e).appendChild(document.createElement("style")).sheet:l("","text/css"),rules:{},reset:r,toString:n}}const{sheet:i,rules:s}=t;for(let l=_s.length-1;l>=0;--l){const a=_s[l];if(!s[a]){const u=_s[l+1],d=s[u]?s[u].index:i.cssRules.length;i.insertRule("@media{}",d),i.insertRule(`--sxs{--sxs:${l}}`,d),s[a]={group:i.cssRules[d+1],index:d,cache:new Set([l])}}hO(s[a])}};return r(),t},hO=e=>{const t=e.group;let n=t.cssRules.length;e.apply=r=>{try{t.insertRule(r,n),++n}catch{}}},fs=Symbol(),mO=Fi(),Eg=(e,t)=>mO(e,()=>(...n)=>{let r={type:null,composers:new Set};for(const o of n)if(o!=null)if(o[ao]){r.type==null&&(r.type=o[ao].type);for(const i of o[ao].composers)r.composers.add(i)}else o.constructor!==Object||o.$$typeof?r.type==null&&(r.type=o):r.composers.add(gO(o,e));return r.type==null&&(r.type="span"),r.composers.size||r.composers.add(["PJLV",{},[],[],{},[]]),vO(e,r,t)}),gO=({variants:e,compoundVariants:t,defaultVariants:n,...r},o)=>{const i=`${er(o.prefix)}c-${lo(r)}`,s=[],l=[],a=Object.create(null),u=[];for(const p in n)a[p]=String(n[p]);if(typeof e=="object"&&e)for(const p in e){d=a,f=p,oO.call(d,f)||(a[p]="undefined");const g=e[p];for(const m in g){const x={[p]:String(m)};String(m)==="undefined"&&u.push(p);const w=g[m],v=[x,w,!wg(w)];s.push(v)}}var d,f;if(typeof t=="object"&&t)for(const p of t){let{css:g,...m}=p;g=typeof g=="object"&&g||{};for(const w in m)m[w]=String(m[w]);const x=[m,g,!wg(g)];l.push(x)}return[i,r,s,l,a,u]},vO=(e,t,n)=>{const[r,o,i,s]=yO(t.composers),l=typeof t.type=="function"||t.type.$$typeof?(f=>{function p(){for(let g=0;gp.rules[g]={apply:m=>p[fs].push([g,m])}),p})(n):null,a=(l||n).rules,u=`.${r}${o.length>1?`:where(.${o.slice(1).join(".")})`:""}`,d=f=>{f=typeof f=="object"&&f||xO;const{css:p,...g}=f,m={};for(const v in i)if(delete g[v],v in f){let y=f[v];typeof y=="object"&&y?m[v]={"@initial":i[v],...y}:(y=String(y),m[v]=y!=="undefined"||s.has(v)?y:i[v])}else m[v]=i[v];const x=new Set([...o]);for(const[v,y,_,C]of t.composers){n.rules.styled.cache.has(v)||(n.rules.styled.cache.add(v),ci(y,[`.${v}`],[],e,k=>{a.styled.apply(k)}));const E=Cg(_,m,e.media),b=Cg(C,m,e.media,!0);for(const k of E)if(k!==void 0)for(const[j,P,N]of k){const M=`${v}-${lo(P)}-${j}`;x.add(M);const I=(N?n.rules.resonevar:n.rules.onevar).cache,U=N?a.resonevar:a.onevar;I.has(M)||(I.add(M),ci(P,[`.${M}`],[],e,z=>{U.apply(z)}))}for(const k of b)if(k!==void 0)for(const[j,P]of k){const N=`${v}-${lo(P)}-${j}`;x.add(N),n.rules.allvar.cache.has(N)||(n.rules.allvar.cache.add(N),ci(P,[`.${N}`],[],e,M=>{a.allvar.apply(M)}))}}if(typeof p=="object"&&p){const v=`${r}-i${lo(p)}-css`;x.add(v),n.rules.inline.cache.has(v)||(n.rules.inline.cache.add(v),ci(p,[`.${v}`],[],e,y=>{a.inline.apply(y)}))}for(const v of String(f.className||"").trim().split(/\s+/))v&&x.add(v);const w=g.className=[...x].join(" ");return{type:t.type,className:w,selector:u,props:g,toString:()=>w,deferredInjector:l}};return Wp(d,{className:r,selector:u,[ao]:t,toString:()=>(n.rules.styled.cache.has(r)||d(),r)})},yO=e=>{let t="";const n=[],r={},o=[];for(const[i,,,,s,l]of e){t===""&&(t=i),n.push(i),o.push(...l);for(const a in s){const u=s[a];(r[a]===void 0||u!=="undefined"||l.includes(u))&&(r[a]=u)}}return[t,n,r,new Set(o)]},Cg=(e,t,n,r)=>{const o=[];e:for(let[i,s,l]of e){if(l)continue;let a,u=0,d=!1;for(a in i){const f=i[a];let p=t[a];if(p!==f){if(typeof p!="object"||!p)continue e;{let g,m,x=0;for(const w in p){if(f===String(p[w])){if(w!=="@initial"){const v=w.slice(1);(m=m||[]).push(v in n?n[v]:w.replace(/^@media ?/,"")),d=!0}u+=x,g=!0}++x}if(m&&m.length&&(s={["@media "+m.join(", ")]:s}),!g)continue e}}}(o[u]=o[u]||[]).push([r?"cv":`${a}-${i[a]}`,s,d])}return o},xO={},wO=Fi(),_O=(e,t)=>wO(e,()=>(...n)=>{const r=()=>{for(let o of n){o=typeof o=="object"&&o||{};let i=lo(o);if(!t.rules.global.cache.has(i)){if(t.rules.global.cache.add(i),"@import"in o){let s=[].indexOf.call(t.sheet.cssRules,t.rules.themed.group)-1;for(let l of[].concat(o["@import"]))l=l.includes('"')||l.includes("'")?l:`"${l}"`,t.sheet.insertRule(`@import ${l};`,s++);delete o["@import"]}ci(o,[],[],e,s=>{t.rules.global.apply(s)})}}return""};return Wp(r,{toString:r})}),bO=Fi(),SO=(e,t)=>bO(e,()=>n=>{const r=`${er(e.prefix)}k-${lo(n)}`,o=()=>{if(!t.rules.global.cache.has(r)){t.rules.global.cache.add(r);const i=[];ci(n,[],[],e,l=>i.push(l));const s=`@keyframes ${r}{${i.join("")}}`;t.rules.global.apply(s)}return r};return Wp(o,{get name(){return o()},toString:o})}),EO=class{constructor(e,t,n,r){this.token=e==null?"":String(e),this.value=t==null?"":String(t),this.scale=n==null?"":String(n),this.prefix=r==null?"":String(r)}get computedValue(){return"var("+this.variable+")"}get variable(){return"--"+er(this.prefix)+er(this.scale)+this.token}toString(){return this.computedValue}},CO=Fi(),kO=(e,t)=>CO(e,()=>(n,r)=>{r=typeof n=="object"&&n||Object(r);const o=`.${n=(n=typeof n=="string"?n:"")||`${er(e.prefix)}t-${lo(r)}`}`,i={},s=[];for(const a in r){i[a]={};for(const u in r[a]){const d=`--${er(e.prefix)}${a}-${u}`,f=yx(String(r[a][u]),e.prefix,a);i[a][u]=new EO(u,f,a,e.prefix),s.push(`${d}:${f}`)}}const l=()=>{if(s.length&&!t.rules.themed.cache.has(n)){t.rules.themed.cache.add(n);const a=`${r===e.theme?":root,":""}.${n}{${s.join(";")}}`;t.rules.themed.apply(a)}return n};return{...i,get className(){return l()},selector:o,toString:l}}),jO=Fi(),$O=Fi(),RO=e=>{const t=(n=>{let r=!1;const o=jO(n,i=>{r=!0;const s="prefix"in(i=typeof i=="object"&&i||{})?String(i.prefix):"",l=typeof i.media=="object"&&i.media||{},a=typeof i.root=="object"?i.root||null:globalThis.document||null,u=typeof i.theme=="object"&&i.theme||{},d={prefix:s,media:l,theme:u,themeMap:typeof i.themeMap=="object"&&i.themeMap||{...nO},utils:typeof i.utils=="object"&&i.utils||{}},f=pO(a),p={css:Eg(d,f),globalCss:_O(d,f),keyframes:SO(d,f),createTheme:kO(d,f),reset(){f.reset(),p.theme.toString()},theme:{},sheet:f,config:d,prefix:s,getCssText:f.toString,toString:f.toString};return String(p.theme=p.createTheme(u)),p});return r||o.reset(),o})(e);return t.styled=(({config:n,sheet:r})=>$O(n,()=>{const o=Eg(n,r);return(...i)=>{const s=o(...i),l=s[ao].type,a=S.forwardRef((u,d)=>{const f=u&&u.as||l,{props:p,deferredInjector:g}=s(u);return delete p.as,p.ref=d,g?S.createElement(S.Fragment,null,S.createElement(f,p),S.createElement(g,null)):S.createElement(f,p)});return a.className=s.className,a.displayName=`Styled.${l.displayName||l.name||l}`,a.selector=s.selector,a.toString=()=>s.selector,a[ao]=s[ao],a}}))(t),t};function TO(e,t,n){return Math.max(t,Math.min(e,n))}const ft={toVector(e,t){return e===void 0&&(e=t),Array.isArray(e)?e:[e,e]},add(e,t){return[e[0]+t[0],e[1]+t[1]]},sub(e,t){return[e[0]-t[0],e[1]-t[1]]},addTo(e,t){e[0]+=t[0],e[1]+=t[1]},subTo(e,t){e[0]-=t[0],e[1]-=t[1]}};function kg(e,t,n){return t===0||Math.abs(t)===1/0?Math.pow(e,n*5):e*t*n/(t+n*e)}function jg(e,t,n,r=.15){return r===0?TO(e,t,n):en?+kg(e-n,n-t,r)+n:e}function NO(e,[t,n],[r,o]){const[[i,s],[l,a]]=e;return[jg(t,i,s,r),jg(n,l,a,o)]}function PO(e,t){if(typeof e!="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function OO(e){var t=PO(e,"string");return typeof t=="symbol"?t:String(t)}function Et(e,t,n){return t=OO(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function $g(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function Ne(e){for(var t=1;t{var n,r;return t.target===e.currentTarget||((n=e.currentTarget)===null||n===void 0||(r=n.contains)===null||r===void 0?void 0:r.call(n,t.target))})}function BO(e){return e.type==="touchend"||e.type==="touchcancel"?e.changedTouches:e.targetTouches}function _x(e){return Jc(e)?BO(e)[0]:e}function UO(e){return zO(e).map(t=>t.identifier)}function Yu(e){const t=_x(e);return Jc(e)?t.identifier:t.pointerId}function Tg(e){const t=_x(e);return[t.clientX,t.clientY]}function HO(e){const t={};if("buttons"in e&&(t.buttons=e.buttons),"shiftKey"in e){const{shiftKey:n,altKey:r,metaKey:o,ctrlKey:i}=e;Object.assign(t,{shiftKey:n,altKey:r,metaKey:o,ctrlKey:i})}return t}function hc(e,...t){return typeof e=="function"?e(...t):e}function WO(){}function VO(...e){return e.length===0?WO:e.length===1?e[0]:function(){let t;for(const n of e)t=n.apply(this,arguments)||t;return t}}function Ng(e,t){return Object.assign({},t,e||{})}const GO=32;class KO{constructor(t,n,r){this.ctrl=t,this.args=n,this.key=r,this.state||(this.state={},this.computeValues([0,0]),this.computeInitial(),this.init&&this.init(),this.reset())}get state(){return this.ctrl.state[this.key]}set state(t){this.ctrl.state[this.key]=t}get shared(){return this.ctrl.state.shared}get eventStore(){return this.ctrl.gestureEventStores[this.key]}get timeoutStore(){return this.ctrl.gestureTimeoutStores[this.key]}get config(){return this.ctrl.config[this.key]}get sharedConfig(){return this.ctrl.config.shared}get handler(){return this.ctrl.handlers[this.key]}reset(){const{state:t,shared:n,ingKey:r,args:o}=this;n[r]=t._active=t.active=t._blocked=t._force=!1,t._step=[!1,!1],t.intentional=!1,t._movement=[0,0],t._distance=[0,0],t._direction=[0,0],t._delta=[0,0],t._bounds=[[-1/0,1/0],[-1/0,1/0]],t.args=o,t.axis=void 0,t.memo=void 0,t.elapsedTime=t.timeDelta=0,t.direction=[0,0],t.distance=[0,0],t.overflow=[0,0],t._movementBound=[!1,!1],t.velocity=[0,0],t.movement=[0,0],t.delta=[0,0],t.timeStamp=0}start(t){const n=this.state,r=this.config;n._active||(this.reset(),this.computeInitial(),n._active=!0,n.target=t.target,n.currentTarget=t.currentTarget,n.lastOffset=r.from?hc(r.from,n):n.offset,n.offset=n.lastOffset,n.startTime=n.timeStamp=t.timeStamp)}computeValues(t){const n=this.state;n._values=t,n.values=this.config.transform(t)}computeInitial(){const t=this.state;t._initial=t._values,t.initial=t.values}compute(t){const{state:n,config:r,shared:o}=this;n.args=this.args;let i=0;if(t&&(n.event=t,r.preventDefault&&t.cancelable&&n.event.preventDefault(),n.type=t.type,o.touches=this.ctrl.pointerIds.size||this.ctrl.touchIds.size,o.locked=!!document.pointerLockElement,Object.assign(o,HO(t)),o.down=o.pressed=o.buttons%2===1||o.touches>0,i=t.timeStamp-n.timeStamp,n.timeStamp=t.timeStamp,n.elapsedTime=n.timeStamp-n.startTime),n._active){const b=n._delta.map(Math.abs);ft.addTo(n._distance,b)}this.axisIntent&&this.axisIntent(t);const[s,l]=n._movement,[a,u]=r.threshold,{_step:d,values:f}=n;if(r.hasCustomTransform?(d[0]===!1&&(d[0]=Math.abs(s)>=a&&f[0]),d[1]===!1&&(d[1]=Math.abs(l)>=u&&f[1])):(d[0]===!1&&(d[0]=Math.abs(s)>=a&&Math.sign(s)*a),d[1]===!1&&(d[1]=Math.abs(l)>=u&&Math.sign(l)*u)),n.intentional=d[0]!==!1||d[1]!==!1,!n.intentional)return;const p=[0,0];if(r.hasCustomTransform){const[b,k]=f;p[0]=d[0]!==!1?b-d[0]:0,p[1]=d[1]!==!1?k-d[1]:0}else p[0]=d[0]!==!1?s-d[0]:0,p[1]=d[1]!==!1?l-d[1]:0;this.restrictToAxis&&!n._blocked&&this.restrictToAxis(p);const g=n.offset,m=n._active&&!n._blocked||n.active;m&&(n.first=n._active&&!n.active,n.last=!n._active&&n.active,n.active=o[this.ingKey]=n._active,t&&(n.first&&("bounds"in r&&(n._bounds=hc(r.bounds,n)),this.setup&&this.setup()),n.movement=p,this.computeOffset()));const[x,w]=n.offset,[[v,y],[_,C]]=n._bounds;n.overflow=[xy?1:0,w<_?-1:w>C?1:0],n._movementBound[0]=n.overflow[0]?n._movementBound[0]===!1?n._movement[0]:n._movementBound[0]:!1,n._movementBound[1]=n.overflow[1]?n._movementBound[1]===!1?n._movement[1]:n._movementBound[1]:!1;const E=n._active?r.rubberband||[0,0]:[0,0];if(n.offset=NO(n._bounds,n.offset,E),n.delta=ft.sub(n.offset,g),this.computeMovement(),m&&(!n.last||i>GO)){n.delta=ft.sub(n.offset,g);const b=n.delta.map(Math.abs);ft.addTo(n.distance,b),n.direction=n.delta.map(Math.sign),n._direction=n._delta.map(Math.sign),!n.first&&i>0&&(n.velocity=[b[0]/i,b[1]/i],n.timeDelta=i)}}emit(){const t=this.state,n=this.shared,r=this.config;if(t._active||this.clean(),(t._blocked||!t.intentional)&&!t._force&&!r.triggerAllEvents)return;const o=this.handler(Ne(Ne(Ne({},n),t),{},{[this.aliasKey]:t.values}));o!==void 0&&(t.memo=o)}clean(){this.eventStore.clean(),this.timeoutStore.clean()}}function qO([e,t],n){const r=Math.abs(e),o=Math.abs(t);if(r>o&&r>n)return"x";if(o>r&&o>n)return"y"}class YO extends KO{constructor(...t){super(...t),Et(this,"aliasKey","xy")}reset(){super.reset(),this.state.axis=void 0}init(){this.state.offset=[0,0],this.state.lastOffset=[0,0]}computeOffset(){this.state.offset=ft.add(this.state.lastOffset,this.state.movement)}computeMovement(){this.state.movement=ft.sub(this.state.offset,this.state.lastOffset)}axisIntent(t){const n=this.state,r=this.config;if(!n.axis&&t){const o=typeof r.axisThreshold=="object"?r.axisThreshold[wx(t)]:r.axisThreshold;n.axis=qO(n._movement,o)}n._blocked=(r.lockDirection||!!r.axis)&&!n.axis||!!r.axis&&r.axis!==n.axis}restrictToAxis(t){if(this.config.axis||this.config.lockDirection)switch(this.state.axis){case"x":t[1]=0;break;case"y":t[0]=0;break}}}const QO=e=>e,Pg=.15,bx={enabled(e=!0){return e},eventOptions(e,t,n){return Ne(Ne({},n.shared.eventOptions),e)},preventDefault(e=!1){return e},triggerAllEvents(e=!1){return e},rubberband(e=0){switch(e){case!0:return[Pg,Pg];case!1:return[0,0];default:return ft.toVector(e)}},from(e){if(typeof e=="function")return e;if(e!=null)return ft.toVector(e)},transform(e,t,n){const r=e||n.shared.transform;return this.hasCustomTransform=!!r,r||QO},threshold(e){return ft.toVector(e,0)}},XO=0,Sa=Ne(Ne({},bx),{},{axis(e,t,{axis:n}){if(this.lockDirection=n==="lock",!this.lockDirection)return n},axisThreshold(e=XO){return e},bounds(e={}){if(typeof e=="function")return i=>Sa.bounds(e(i));if("current"in e)return()=>e.current;if(typeof HTMLElement=="function"&&e instanceof HTMLElement)return e;const{left:t=-1/0,right:n=1/0,top:r=-1/0,bottom:o=1/0}=e;return[[t,n],[r,o]]}}),Og={ArrowRight:(e,t=1)=>[e*t,0],ArrowLeft:(e,t=1)=>[-1*e*t,0],ArrowUp:(e,t=1)=>[0,-1*e*t],ArrowDown:(e,t=1)=>[0,e*t]};class JO extends YO{constructor(...t){super(...t),Et(this,"ingKey","dragging")}reset(){super.reset();const t=this.state;t._pointerId=void 0,t._pointerActive=!1,t._keyboardActive=!1,t._preventScroll=!1,t._delayed=!1,t.swipe=[0,0],t.tap=!1,t.canceled=!1,t.cancel=this.cancel.bind(this)}setup(){const t=this.state;if(t._bounds instanceof HTMLElement){const n=t._bounds.getBoundingClientRect(),r=t.currentTarget.getBoundingClientRect(),o={left:n.left-r.left+t.offset[0],right:n.right-r.right+t.offset[0],top:n.top-r.top+t.offset[1],bottom:n.bottom-r.bottom+t.offset[1]};t._bounds=Sa.bounds(o)}}cancel(){const t=this.state;t.canceled||(t.canceled=!0,t._active=!1,setTimeout(()=>{this.compute(),this.emit()},0))}setActive(){this.state._active=this.state._pointerActive||this.state._keyboardActive}clean(){this.pointerClean(),this.state._pointerActive=!1,this.state._keyboardActive=!1,super.clean()}pointerDown(t){const n=this.config,r=this.state;if(t.buttons!=null&&(Array.isArray(n.pointerButtons)?!n.pointerButtons.includes(t.buttons):n.pointerButtons!==-1&&n.pointerButtons!==t.buttons))return;const o=this.ctrl.setEventIds(t);n.pointerCapture&&t.target.setPointerCapture(t.pointerId),!(o&&o.size>1&&r._pointerActive)&&(this.start(t),this.setupPointer(t),r._pointerId=Yu(t),r._pointerActive=!0,this.computeValues(Tg(t)),this.computeInitial(),n.preventScrollAxis&&wx(t)!=="mouse"?(r._active=!1,this.setupScrollPrevention(t)):n.delay>0?(this.setupDelayTrigger(t),n.triggerAllEvents&&(this.compute(t),this.emit())):this.startPointerDrag(t))}startPointerDrag(t){const n=this.state;n._active=!0,n._preventScroll=!0,n._delayed=!1,this.compute(t),this.emit()}pointerMove(t){const n=this.state,r=this.config;if(!n._pointerActive)return;const o=Yu(t);if(n._pointerId!==void 0&&o!==n._pointerId)return;const i=Tg(t);if(document.pointerLockElement===t.target?n._delta=[t.movementX,t.movementY]:(n._delta=ft.sub(i,n._values),this.computeValues(i)),ft.addTo(n._movement,n._delta),this.compute(t),n._delayed&&n.intentional){this.timeoutStore.remove("dragDelay"),n.active=!1,this.startPointerDrag(t);return}if(r.preventScrollAxis&&!n._preventScroll)if(n.axis)if(n.axis===r.preventScrollAxis||r.preventScrollAxis==="xy"){n._active=!1,this.clean();return}else{this.timeoutStore.remove("startPointerDrag"),this.startPointerDrag(t);return}else return;this.emit()}pointerUp(t){this.ctrl.setEventIds(t);try{this.config.pointerCapture&&t.target.hasPointerCapture(t.pointerId)&&t.target.releasePointerCapture(t.pointerId)}catch{}const n=this.state,r=this.config;if(!n._active||!n._pointerActive)return;const o=Yu(t);if(n._pointerId!==void 0&&o!==n._pointerId)return;this.state._pointerActive=!1,this.setActive(),this.compute(t);const[i,s]=n._distance;if(n.tap=i<=r.tapsThreshold&&s<=r.tapsThreshold,n.tap&&r.filterTaps)n._force=!0;else{const[l,a]=n._delta,[u,d]=n._movement,[f,p]=r.swipe.velocity,[g,m]=r.swipe.distance,x=r.swipe.duration;if(n.elapsedTimef&&Math.abs(u)>g&&(n.swipe[0]=Math.sign(l)),v>p&&Math.abs(d)>m&&(n.swipe[1]=Math.sign(a))}}this.emit()}pointerClick(t){!this.state.tap&&t.detail>0&&(t.preventDefault(),t.stopPropagation())}setupPointer(t){const n=this.config,r=n.device;n.pointerLock&&t.currentTarget.requestPointerLock(),n.pointerCapture||(this.eventStore.add(this.sharedConfig.window,r,"change",this.pointerMove.bind(this)),this.eventStore.add(this.sharedConfig.window,r,"end",this.pointerUp.bind(this)),this.eventStore.add(this.sharedConfig.window,r,"cancel",this.pointerUp.bind(this)))}pointerClean(){this.config.pointerLock&&document.pointerLockElement===this.state.currentTarget&&document.exitPointerLock()}preventScroll(t){this.state._preventScroll&&t.cancelable&&t.preventDefault()}setupScrollPrevention(t){this.state._preventScroll=!1,ZO(t);const n=this.eventStore.add(this.sharedConfig.window,"touch","change",this.preventScroll.bind(this),{passive:!1});this.eventStore.add(this.sharedConfig.window,"touch","end",n),this.eventStore.add(this.sharedConfig.window,"touch","cancel",n),this.timeoutStore.add("startPointerDrag",this.startPointerDrag.bind(this),this.config.preventScrollDelay,t)}setupDelayTrigger(t){this.state._delayed=!0,this.timeoutStore.add("dragDelay",()=>{this.state._step=[0,0],this.startPointerDrag(t)},this.config.delay)}keyDown(t){const n=Og[t.key];if(n){const r=this.state,o=t.shiftKey?10:t.altKey?.1:1;this.start(t),r._delta=n(this.config.keyboardDisplacement,o),r._keyboardActive=!0,ft.addTo(r._movement,r._delta),this.compute(t),this.emit()}}keyUp(t){t.key in Og&&(this.state._keyboardActive=!1,this.setActive(),this.compute(t),this.emit())}bind(t){const n=this.config.device;t(n,"start",this.pointerDown.bind(this)),this.config.pointerCapture&&(t(n,"change",this.pointerMove.bind(this)),t(n,"end",this.pointerUp.bind(this)),t(n,"cancel",this.pointerUp.bind(this)),t("lostPointerCapture","",this.pointerUp.bind(this))),this.config.keys&&(t("key","down",this.keyDown.bind(this)),t("key","up",this.keyUp.bind(this))),this.config.filterTaps&&t("click","",this.pointerClick.bind(this),{capture:!0,passive:!1})}}function ZO(e){"persist"in e&&typeof e.persist=="function"&&e.persist()}const Ea=typeof window<"u"&&window.document&&window.document.createElement;function Sx(){return Ea&&"ontouchstart"in window}function eA(){return Sx()||Ea&&window.navigator.maxTouchPoints>1}function tA(){return Ea&&"onpointerdown"in window}function nA(){return Ea&&"exitPointerLock"in window.document}function rA(){try{return"constructor"in GestureEvent}catch{return!1}}const Kt={isBrowser:Ea,gesture:rA(),touch:Sx(),touchscreen:eA(),pointer:tA(),pointerLock:nA()},oA=250,iA=180,sA=.5,aA=50,lA=250,cA=10,Ag={mouse:0,touch:0,pen:8},uA=Ne(Ne({},Sa),{},{device(e,t,{pointer:{touch:n=!1,lock:r=!1,mouse:o=!1}={}}){return this.pointerLock=r&&Kt.pointerLock,Kt.touch&&n?"touch":this.pointerLock?"mouse":Kt.pointer&&!o?"pointer":Kt.touch?"touch":"mouse"},preventScrollAxis(e,t,{preventScroll:n}){if(this.preventScrollDelay=typeof n=="number"?n:n||n===void 0&&e?oA:void 0,!(!Kt.touchscreen||n===!1))return e||(n!==void 0?"y":void 0)},pointerCapture(e,t,{pointer:{capture:n=!0,buttons:r=1,keys:o=!0}={}}){return this.pointerButtons=r,this.keys=o,!this.pointerLock&&this.device==="pointer"&&n},threshold(e,t,{filterTaps:n=!1,tapsThreshold:r=3,axis:o=void 0}){const i=ft.toVector(e,n?r:o?1:0);return this.filterTaps=n,this.tapsThreshold=r,i},swipe({velocity:e=sA,distance:t=aA,duration:n=lA}={}){return{velocity:this.transform(ft.toVector(e)),distance:this.transform(ft.toVector(t)),duration:n}},delay(e=0){switch(e){case!0:return iA;case!1:return 0;default:return e}},axisThreshold(e){return e?Ne(Ne({},Ag),e):Ag},keyboardDisplacement(e=cA){return e}});Ne(Ne({},bx),{},{device(e,t,{shared:n,pointer:{touch:r=!1}={}}){if(n.target&&!Kt.touch&&Kt.gesture)return"gesture";if(Kt.touch&&r)return"touch";if(Kt.touchscreen){if(Kt.pointer)return"pointer";if(Kt.touch)return"touch"}},bounds(e,t,{scaleBounds:n={},angleBounds:r={}}){const o=s=>{const l=Ng(hc(n,s),{min:-1/0,max:1/0});return[l.min,l.max]},i=s=>{const l=Ng(hc(r,s),{min:-1/0,max:1/0});return[l.min,l.max]};return typeof n!="function"&&typeof r!="function"?[o(),i()]:s=>[o(s),i(s)]},threshold(e,t,n){return this.lockDirection=n.axis==="lock",ft.toVector(e,this.lockDirection?[.1,3]:0)},modifierKey(e){return e===void 0?"ctrlKey":e},pinchOnWheel(e=!0){return e}});Ne(Ne({},Sa),{},{mouseOnly:(e=!0)=>e});Ne(Ne({},Sa),{},{mouseOnly:(e=!0)=>e});const Ex=new Map,mf=new Map;function dA(e){Ex.set(e.key,e.engine),mf.set(e.key,e.resolver)}const fA={key:"drag",engine:JO,resolver:uA};function pA(e,t){if(e==null)return{};var n={},r=Object.keys(e),o,i;for(i=0;i=0)&&(n[o]=e[o]);return n}function hA(e,t){if(e==null)return{};var n=pA(e,t),r,o;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}const mA={target(e){if(e)return()=>"current"in e?e.current:e},enabled(e=!0){return e},window(e=Kt.isBrowser?window:void 0){return e},eventOptions({passive:e=!0,capture:t=!1}={}){return{passive:e,capture:t}},transform(e){return e}},gA=["target","eventOptions","window","enabled","transform"];function Pl(e={},t){const n={};for(const[r,o]of Object.entries(t))switch(typeof o){case"function":n[r]=o.call(n,e[r],r,e);break;case"object":n[r]=Pl(e[r],o);break;case"boolean":o&&(n[r]=e[r]);break}return n}function vA(e,t,n={}){const r=e,{target:o,eventOptions:i,window:s,enabled:l,transform:a}=r,u=hA(r,gA);if(n.shared=Pl({target:o,eventOptions:i,window:s,enabled:l,transform:a},mA),t){const d=mf.get(t);n[t]=Pl(Ne({shared:n.shared},u),d)}else for(const d in u){const f=mf.get(d);f&&(n[d]=Pl(Ne({shared:n.shared},u[d]),f))}return n}class Cx{constructor(t,n){Et(this,"_listeners",new Set),this._ctrl=t,this._gestureKey=n}add(t,n,r,o,i){const s=this._listeners,l=FO(n,r),a=this._gestureKey?this._ctrl.config[this._gestureKey].eventOptions:{},u=Ne(Ne({},a),i);t.addEventListener(l,o,u);const d=()=>{t.removeEventListener(l,o,u),s.delete(d)};return s.add(d),d}clean(){this._listeners.forEach(t=>t()),this._listeners.clear()}}class yA{constructor(){Et(this,"_timeouts",new Map)}add(t,n,r=140,...o){this.remove(t),this._timeouts.set(t,window.setTimeout(n,r,...o))}remove(t){const n=this._timeouts.get(t);n&&window.clearTimeout(n)}clean(){this._timeouts.forEach(t=>void window.clearTimeout(t)),this._timeouts.clear()}}class xA{constructor(t){Et(this,"gestures",new Set),Et(this,"_targetEventStore",new Cx(this)),Et(this,"gestureEventStores",{}),Et(this,"gestureTimeoutStores",{}),Et(this,"handlers",{}),Et(this,"config",{}),Et(this,"pointerIds",new Set),Et(this,"touchIds",new Set),Et(this,"state",{shared:{shiftKey:!1,metaKey:!1,ctrlKey:!1,altKey:!1}}),wA(this,t)}setEventIds(t){if(Jc(t))return this.touchIds=new Set(UO(t)),this.touchIds;if("pointerId"in t)return t.type==="pointerup"||t.type==="pointercancel"?this.pointerIds.delete(t.pointerId):t.type==="pointerdown"&&this.pointerIds.add(t.pointerId),this.pointerIds}applyHandlers(t,n){this.handlers=t,this.nativeHandlers=n}applyConfig(t,n){this.config=vA(t,n,this.config)}clean(){this._targetEventStore.clean();for(const t of this.gestures)this.gestureEventStores[t].clean(),this.gestureTimeoutStores[t].clean()}effect(){return this.config.shared.target&&this.bind(),()=>this._targetEventStore.clean()}bind(...t){const n=this.config.shared,r={};let o;if(!(n.target&&(o=n.target(),!o))){if(n.enabled){for(const s of this.gestures){const l=this.config[s],a=Mg(r,l.eventOptions,!!o);if(l.enabled){const u=Ex.get(s);new u(this,t,s).bind(a)}}const i=Mg(r,n.eventOptions,!!o);for(const s in this.nativeHandlers)i(s,"",l=>this.nativeHandlers[s](Ne(Ne({},this.state.shared),{},{event:l,args:t})),void 0,!0)}for(const i in r)r[i]=VO(...r[i]);if(!o)return r;for(const i in r){const{device:s,capture:l,passive:a}=LO(i);this._targetEventStore.add(o,s,"",r[i],{capture:l,passive:a})}}}}function Ho(e,t){e.gestures.add(t),e.gestureEventStores[t]=new Cx(e,t),e.gestureTimeoutStores[t]=new yA}function wA(e,t){t.drag&&Ho(e,"drag"),t.wheel&&Ho(e,"wheel"),t.scroll&&Ho(e,"scroll"),t.move&&Ho(e,"move"),t.pinch&&Ho(e,"pinch"),t.hover&&Ho(e,"hover")}const Mg=(e,t,n)=>(r,o,i,s={},l=!1)=>{var a,u;const d=(a=s.capture)!==null&&a!==void 0?a:t.capture,f=(u=s.passive)!==null&&u!==void 0?u:t.passive;let p=l?r:DO(r,o,d);n&&f&&(p+="Passive"),e[p]=e[p]||[],e[p].push(i)};function _A(e,t={},n,r){const o=S.useMemo(()=>new xA(e),[]);if(o.applyHandlers(e,r),o.applyConfig(t,n),S.useEffect(o.effect.bind(o)),S.useEffect(()=>o.clean.bind(o),[]),t.target===void 0)return o.bind.bind(o)}function bA(e,t){return dA(fA),_A({drag:e},t||{},"drag")}function Un(e,t,{checkForDefaultPrevented:n=!0}={}){return function(o){if(e==null||e(o),n===!1||!o.defaultPrevented)return t==null?void 0:t(o)}}function kx(e,t=[]){let n=[];function r(i,s){const l=h.createContext(s),a=n.length;n=[...n,s];function u(f){const{scope:p,children:g,...m}=f,x=(p==null?void 0:p[e][a])||l,w=h.useMemo(()=>m,Object.values(m));return h.createElement(x.Provider,{value:w},g)}function d(f,p){const g=(p==null?void 0:p[e][a])||l,m=h.useContext(g);if(m)return m;if(s!==void 0)return s;throw new Error(`\`${f}\` must be used within \`${i}\``)}return u.displayName=i+"Provider",[u,d]}const o=()=>{const i=n.map(s=>h.createContext(s));return function(l){const a=(l==null?void 0:l[e])||i;return h.useMemo(()=>({[`__scope${e}`]:{...l,[e]:a}}),[l,a])}};return o.scopeName=e,[r,SA(o,...t)]}function SA(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(i){const s=r.reduce((l,{useScope:a,scopeName:u})=>{const f=a(i)[`__scope${u}`];return{...l,...f}},{});return h.useMemo(()=>({[`__scope${t.scopeName}`]:s}),[s])}};return n.scopeName=t.scopeName,n}function zi(e){const t=h.useRef(e);return h.useEffect(()=>{t.current=e}),h.useMemo(()=>(...n)=>{var r;return(r=t.current)===null||r===void 0?void 0:r.call(t,...n)},[])}function EA(e,t=globalThis==null?void 0:globalThis.document){const n=zi(e);h.useEffect(()=>{const r=o=>{o.key==="Escape"&&n(o)};return t.addEventListener("keydown",r),()=>t.removeEventListener("keydown",r)},[n,t])}const gf="dismissableLayer.update",CA="dismissableLayer.pointerDownOutside",kA="dismissableLayer.focusOutside";let Dg;const jA=h.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),$A=h.forwardRef((e,t)=>{var n;const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:o,onPointerDownOutside:i,onFocusOutside:s,onInteractOutside:l,onDismiss:a,...u}=e,d=h.useContext(jA),[f,p]=h.useState(null),g=(n=f==null?void 0:f.ownerDocument)!==null&&n!==void 0?n:globalThis==null?void 0:globalThis.document,[,m]=h.useState({}),x=Li(t,j=>p(j)),w=Array.from(d.layers),[v]=[...d.layersWithOutsidePointerEventsDisabled].slice(-1),y=w.indexOf(v),_=f?w.indexOf(f):-1,C=d.layersWithOutsidePointerEventsDisabled.size>0,E=_>=y,b=RA(j=>{const P=j.target,N=[...d.branches].some(M=>M.contains(P));!E||N||(i==null||i(j),l==null||l(j),j.defaultPrevented||a==null||a())},g),k=TA(j=>{const P=j.target;[...d.branches].some(M=>M.contains(P))||(s==null||s(j),l==null||l(j),j.defaultPrevented||a==null||a())},g);return EA(j=>{_===d.layers.size-1&&(o==null||o(j),!j.defaultPrevented&&a&&(j.preventDefault(),a()))},g),h.useEffect(()=>{if(f)return r&&(d.layersWithOutsidePointerEventsDisabled.size===0&&(Dg=g.body.style.pointerEvents,g.body.style.pointerEvents="none"),d.layersWithOutsidePointerEventsDisabled.add(f)),d.layers.add(f),Ig(),()=>{r&&d.layersWithOutsidePointerEventsDisabled.size===1&&(g.body.style.pointerEvents=Dg)}},[f,g,r,d]),h.useEffect(()=>()=>{f&&(d.layers.delete(f),d.layersWithOutsidePointerEventsDisabled.delete(f),Ig())},[f,d]),h.useEffect(()=>{const j=()=>m({});return document.addEventListener(gf,j),()=>document.removeEventListener(gf,j)},[]),h.createElement(_o.div,Ve({},u,{ref:x,style:{pointerEvents:C?E?"auto":"none":void 0,...e.style},onFocusCapture:Un(e.onFocusCapture,k.onFocusCapture),onBlurCapture:Un(e.onBlurCapture,k.onBlurCapture),onPointerDownCapture:Un(e.onPointerDownCapture,b.onPointerDownCapture)}))});function RA(e,t=globalThis==null?void 0:globalThis.document){const n=zi(e),r=h.useRef(!1),o=h.useRef(()=>{});return h.useEffect(()=>{const i=l=>{if(l.target&&!r.current){let d=function(){jx(CA,n,u,{discrete:!0})};var a=d;const u={originalEvent:l};l.pointerType==="touch"?(t.removeEventListener("click",o.current),o.current=d,t.addEventListener("click",o.current,{once:!0})):d()}else t.removeEventListener("click",o.current);r.current=!1},s=window.setTimeout(()=>{t.addEventListener("pointerdown",i)},0);return()=>{window.clearTimeout(s),t.removeEventListener("pointerdown",i),t.removeEventListener("click",o.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function TA(e,t=globalThis==null?void 0:globalThis.document){const n=zi(e),r=h.useRef(!1);return h.useEffect(()=>{const o=i=>{i.target&&!r.current&&jx(kA,n,{originalEvent:i},{discrete:!1})};return t.addEventListener("focusin",o),()=>t.removeEventListener("focusin",o)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function Ig(){const e=new CustomEvent(gf);document.dispatchEvent(e)}function jx(e,t,n,{discrete:r}){const o=n.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?Y3(o,i):o.dispatchEvent(i)}const Ti=globalThis!=null&&globalThis.document?h.useLayoutEffect:()=>{},NA=Jv["useId".toString()]||(()=>{});let PA=0;function OA(e){const[t,n]=h.useState(NA());return Ti(()=>{e||n(r=>r??String(PA++))},[e]),e||(t?`radix-${t}`:"")}const AA=["top","right","bottom","left"],Lr=Math.min,At=Math.max,mc=Math.round,ol=Math.floor,Fr=e=>({x:e,y:e}),MA={left:"right",right:"left",bottom:"top",top:"bottom"},DA={start:"end",end:"start"};function vf(e,t,n){return At(e,Lr(t,n))}function tr(e,t){return typeof e=="function"?e(t):e}function nr(e){return e.split("-")[0]}function Bi(e){return e.split("-")[1]}function Vp(e){return e==="x"?"y":"x"}function Gp(e){return e==="y"?"height":"width"}function Ui(e){return["top","bottom"].includes(nr(e))?"y":"x"}function Kp(e){return Vp(Ui(e))}function IA(e,t,n){n===void 0&&(n=!1);const r=Bi(e),o=Kp(e),i=Gp(o);let s=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(s=gc(s)),[s,gc(s)]}function LA(e){const t=gc(e);return[yf(e),t,yf(t)]}function yf(e){return e.replace(/start|end/g,t=>DA[t])}function FA(e,t,n){const r=["left","right"],o=["right","left"],i=["top","bottom"],s=["bottom","top"];switch(e){case"top":case"bottom":return n?t?o:r:t?r:o;case"left":case"right":return t?i:s;default:return[]}}function zA(e,t,n,r){const o=Bi(e);let i=FA(nr(e),n==="start",r);return o&&(i=i.map(s=>s+"-"+o),t&&(i=i.concat(i.map(yf)))),i}function gc(e){return e.replace(/left|right|bottom|top/g,t=>MA[t])}function BA(e){return{top:0,right:0,bottom:0,left:0,...e}}function $x(e){return typeof e!="number"?BA(e):{top:e,right:e,bottom:e,left:e}}function vc(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}function Lg(e,t,n){let{reference:r,floating:o}=e;const i=Ui(t),s=Kp(t),l=Gp(s),a=nr(t),u=i==="y",d=r.x+r.width/2-o.width/2,f=r.y+r.height/2-o.height/2,p=r[l]/2-o[l]/2;let g;switch(a){case"top":g={x:d,y:r.y-o.height};break;case"bottom":g={x:d,y:r.y+r.height};break;case"right":g={x:r.x+r.width,y:f};break;case"left":g={x:r.x-o.width,y:f};break;default:g={x:r.x,y:r.y}}switch(Bi(t)){case"start":g[s]-=p*(n&&u?-1:1);break;case"end":g[s]+=p*(n&&u?-1:1);break}return g}const UA=async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:s}=n,l=i.filter(Boolean),a=await(s.isRTL==null?void 0:s.isRTL(t));let u=await s.getElementRects({reference:e,floating:t,strategy:o}),{x:d,y:f}=Lg(u,r,a),p=r,g={},m=0;for(let x=0;x({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:o,rects:i,platform:s,elements:l,middlewareData:a}=t,{element:u,padding:d=0}=tr(e,t)||{};if(u==null)return{};const f=$x(d),p={x:n,y:r},g=Kp(o),m=Gp(g),x=await s.getDimensions(u),w=g==="y",v=w?"top":"left",y=w?"bottom":"right",_=w?"clientHeight":"clientWidth",C=i.reference[m]+i.reference[g]-p[g]-i.floating[m],E=p[g]-i.reference[g],b=await(s.getOffsetParent==null?void 0:s.getOffsetParent(u));let k=b?b[_]:0;(!k||!await(s.isElement==null?void 0:s.isElement(b)))&&(k=l.floating[_]||i.floating[m]);const j=C/2-E/2,P=k/2-x[m]/2-1,N=Lr(f[v],P),M=Lr(f[y],P),I=N,U=k-x[m]-M,z=k/2-x[m]/2+j,q=vf(I,z,U),K=!a.arrow&&Bi(o)!=null&&z!=q&&i.reference[m]/2-(zI<=0)){var P,N;const I=(((P=i.flip)==null?void 0:P.index)||0)+1,U=E[I];if(U)return{data:{index:I,overflows:j},reset:{placement:U}};let z=(N=j.filter(q=>q.overflows[0]<=0).sort((q,K)=>q.overflows[1]-K.overflows[1])[0])==null?void 0:N.placement;if(!z)switch(g){case"bestFit":{var M;const q=(M=j.map(K=>[K.placement,K.overflows.filter(Y=>Y>0).reduce((Y,L)=>Y+L,0)]).sort((K,Y)=>K[1]-Y[1])[0])==null?void 0:M[0];q&&(z=q);break}case"initialPlacement":z=l;break}if(o!==z)return{reset:{placement:z}}}return{}}}};function zg(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function Bg(e){return AA.some(t=>e[t]>=0)}const WA=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...o}=tr(e,t);switch(r){case"referenceHidden":{const i=await la(t,{...o,elementContext:"reference"}),s=zg(i,n.reference);return{data:{referenceHiddenOffsets:s,referenceHidden:Bg(s)}}}case"escaped":{const i=await la(t,{...o,altBoundary:!0}),s=zg(i,n.floating);return{data:{escapedOffsets:s,escaped:Bg(s)}}}default:return{}}}}};async function VA(e,t){const{placement:n,platform:r,elements:o}=e,i=await(r.isRTL==null?void 0:r.isRTL(o.floating)),s=nr(n),l=Bi(n),a=Ui(n)==="y",u=["left","top"].includes(s)?-1:1,d=i&&a?-1:1,f=tr(t,e);let{mainAxis:p,crossAxis:g,alignmentAxis:m}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...f};return l&&typeof m=="number"&&(g=l==="end"?m*-1:m),a?{x:g*d,y:p*u}:{x:p*u,y:g*d}}const GA=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:o,y:i,placement:s,middlewareData:l}=t,a=await VA(t,e);return s===((n=l.offset)==null?void 0:n.placement)&&(r=l.arrow)!=null&&r.alignmentOffset?{}:{x:o+a.x,y:i+a.y,data:{...a,placement:s}}}}},KA=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o}=t,{mainAxis:i=!0,crossAxis:s=!1,limiter:l={fn:w=>{let{x:v,y}=w;return{x:v,y}}},...a}=tr(e,t),u={x:n,y:r},d=await la(t,a),f=Ui(nr(o)),p=Vp(f);let g=u[p],m=u[f];if(i){const w=p==="y"?"top":"left",v=p==="y"?"bottom":"right",y=g+d[w],_=g-d[v];g=vf(y,g,_)}if(s){const w=f==="y"?"top":"left",v=f==="y"?"bottom":"right",y=m+d[w],_=m-d[v];m=vf(y,m,_)}const x=l.fn({...t,[p]:g,[f]:m});return{...x,data:{x:x.x-n,y:x.y-r}}}}},qA=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:o,rects:i,middlewareData:s}=t,{offset:l=0,mainAxis:a=!0,crossAxis:u=!0}=tr(e,t),d={x:n,y:r},f=Ui(o),p=Vp(f);let g=d[p],m=d[f];const x=tr(l,t),w=typeof x=="number"?{mainAxis:x,crossAxis:0}:{mainAxis:0,crossAxis:0,...x};if(a){const _=p==="y"?"height":"width",C=i.reference[p]-i.floating[_]+w.mainAxis,E=i.reference[p]+i.reference[_]-w.mainAxis;gE&&(g=E)}if(u){var v,y;const _=p==="y"?"width":"height",C=["top","left"].includes(nr(o)),E=i.reference[f]-i.floating[_]+(C&&((v=s.offset)==null?void 0:v[f])||0)+(C?0:w.crossAxis),b=i.reference[f]+i.reference[_]+(C?0:((y=s.offset)==null?void 0:y[f])||0)-(C?w.crossAxis:0);mb&&(m=b)}return{[p]:g,[f]:m}}}},YA=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){const{placement:n,rects:r,platform:o,elements:i}=t,{apply:s=()=>{},...l}=tr(e,t),a=await la(t,l),u=nr(n),d=Bi(n),f=Ui(n)==="y",{width:p,height:g}=r.floating;let m,x;u==="top"||u==="bottom"?(m=u,x=d===(await(o.isRTL==null?void 0:o.isRTL(i.floating))?"start":"end")?"left":"right"):(x=u,m=d==="end"?"top":"bottom");const w=g-a[m],v=p-a[x],y=!t.middlewareData.shift;let _=w,C=v;if(f){const b=p-a.left-a.right;C=d||y?Lr(v,b):b}else{const b=g-a.top-a.bottom;_=d||y?Lr(w,b):b}if(y&&!d){const b=At(a.left,0),k=At(a.right,0),j=At(a.top,0),P=At(a.bottom,0);f?C=p-2*(b!==0||k!==0?b+k:At(a.left,a.right)):_=g-2*(j!==0||P!==0?j+P:At(a.top,a.bottom))}await s({...t,availableWidth:C,availableHeight:_});const E=await o.getDimensions(i.floating);return p!==E.width||g!==E.height?{reset:{rects:!0}}:{}}}};function zr(e){return Rx(e)?(e.nodeName||"").toLowerCase():"#document"}function It(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function ir(e){var t;return(t=(Rx(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Rx(e){return e instanceof Node||e instanceof It(e).Node}function rr(e){return e instanceof Element||e instanceof It(e).Element}function Nn(e){return e instanceof HTMLElement||e instanceof It(e).HTMLElement}function Ug(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof It(e).ShadowRoot}function Ca(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=en(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(o)}function QA(e){return["table","td","th"].includes(zr(e))}function qp(e){const t=Yp(),n=en(e);return n.transform!=="none"||n.perspective!=="none"||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||["transform","perspective","filter"].some(r=>(n.willChange||"").includes(r))||["paint","layout","strict","content"].some(r=>(n.contain||"").includes(r))}function XA(e){let t=Ni(e);for(;Nn(t)&&!Zc(t);){if(qp(t))return t;t=Ni(t)}return null}function Yp(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Zc(e){return["html","body","#document"].includes(zr(e))}function en(e){return It(e).getComputedStyle(e)}function eu(e){return rr(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Ni(e){if(zr(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Ug(e)&&e.host||ir(e);return Ug(t)?t.host:t}function Tx(e){const t=Ni(e);return Zc(t)?e.ownerDocument?e.ownerDocument.body:e.body:Nn(t)&&Ca(t)?t:Tx(t)}function ca(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const o=Tx(e),i=o===((r=e.ownerDocument)==null?void 0:r.body),s=It(o);return i?t.concat(s,s.visualViewport||[],Ca(o)?o:[],s.frameElement&&n?ca(s.frameElement):[]):t.concat(o,ca(o,[],n))}function Nx(e){const t=en(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=Nn(e),i=o?e.offsetWidth:n,s=o?e.offsetHeight:r,l=mc(n)!==i||mc(r)!==s;return l&&(n=i,r=s),{width:n,height:r,$:l}}function Qp(e){return rr(e)?e:e.contextElement}function wi(e){const t=Qp(e);if(!Nn(t))return Fr(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:i}=Nx(t);let s=(i?mc(n.width):n.width)/r,l=(i?mc(n.height):n.height)/o;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}const JA=Fr(0);function Px(e){const t=It(e);return!Yp()||!t.visualViewport?JA:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function ZA(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==It(e)?!1:t}function go(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const o=e.getBoundingClientRect(),i=Qp(e);let s=Fr(1);t&&(r?rr(r)&&(s=wi(r)):s=wi(e));const l=ZA(i,n,r)?Px(i):Fr(0);let a=(o.left+l.x)/s.x,u=(o.top+l.y)/s.y,d=o.width/s.x,f=o.height/s.y;if(i){const p=It(i),g=r&&rr(r)?It(r):r;let m=p.frameElement;for(;m&&r&&g!==p;){const x=wi(m),w=m.getBoundingClientRect(),v=en(m),y=w.left+(m.clientLeft+parseFloat(v.paddingLeft))*x.x,_=w.top+(m.clientTop+parseFloat(v.paddingTop))*x.y;a*=x.x,u*=x.y,d*=x.x,f*=x.y,a+=y,u+=_,m=It(m).frameElement}}return vc({width:d,height:f,x:a,y:u})}function eM(e){let{rect:t,offsetParent:n,strategy:r}=e;const o=Nn(n),i=ir(n);if(n===i)return t;let s={scrollLeft:0,scrollTop:0},l=Fr(1);const a=Fr(0);if((o||!o&&r!=="fixed")&&((zr(n)!=="body"||Ca(i))&&(s=eu(n)),Nn(n))){const u=go(n);l=wi(n),a.x=u.x+n.clientLeft,a.y=u.y+n.clientTop}return{width:t.width*l.x,height:t.height*l.y,x:t.x*l.x-s.scrollLeft*l.x+a.x,y:t.y*l.y-s.scrollTop*l.y+a.y}}function tM(e){return Array.from(e.getClientRects())}function Ox(e){return go(ir(e)).left+eu(e).scrollLeft}function nM(e){const t=ir(e),n=eu(e),r=e.ownerDocument.body,o=At(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),i=At(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let s=-n.scrollLeft+Ox(e);const l=-n.scrollTop;return en(r).direction==="rtl"&&(s+=At(t.clientWidth,r.clientWidth)-o),{width:o,height:i,x:s,y:l}}function rM(e,t){const n=It(e),r=ir(e),o=n.visualViewport;let i=r.clientWidth,s=r.clientHeight,l=0,a=0;if(o){i=o.width,s=o.height;const u=Yp();(!u||u&&t==="fixed")&&(l=o.offsetLeft,a=o.offsetTop)}return{width:i,height:s,x:l,y:a}}function oM(e,t){const n=go(e,!0,t==="fixed"),r=n.top+e.clientTop,o=n.left+e.clientLeft,i=Nn(e)?wi(e):Fr(1),s=e.clientWidth*i.x,l=e.clientHeight*i.y,a=o*i.x,u=r*i.y;return{width:s,height:l,x:a,y:u}}function Hg(e,t,n){let r;if(t==="viewport")r=rM(e,n);else if(t==="document")r=nM(ir(e));else if(rr(t))r=oM(t,n);else{const o=Px(e);r={...t,x:t.x-o.x,y:t.y-o.y}}return vc(r)}function Ax(e,t){const n=Ni(e);return n===t||!rr(n)||Zc(n)?!1:en(n).position==="fixed"||Ax(n,t)}function iM(e,t){const n=t.get(e);if(n)return n;let r=ca(e,[],!1).filter(l=>rr(l)&&zr(l)!=="body"),o=null;const i=en(e).position==="fixed";let s=i?Ni(e):e;for(;rr(s)&&!Zc(s);){const l=en(s),a=qp(s);!a&&l.position==="fixed"&&(o=null),(i?!a&&!o:!a&&l.position==="static"&&!!o&&["absolute","fixed"].includes(o.position)||Ca(s)&&!a&&Ax(e,s))?r=r.filter(d=>d!==s):o=l,s=Ni(s)}return t.set(e,r),r}function sM(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const s=[...n==="clippingAncestors"?iM(t,this._c):[].concat(n),r],l=s[0],a=s.reduce((u,d)=>{const f=Hg(t,d,o);return u.top=At(f.top,u.top),u.right=Lr(f.right,u.right),u.bottom=Lr(f.bottom,u.bottom),u.left=At(f.left,u.left),u},Hg(t,l,o));return{width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}}function aM(e){return Nx(e)}function lM(e,t,n){const r=Nn(t),o=ir(t),i=n==="fixed",s=go(e,!0,i,t);let l={scrollLeft:0,scrollTop:0};const a=Fr(0);if(r||!r&&!i)if((zr(t)!=="body"||Ca(o))&&(l=eu(t)),r){const u=go(t,!0,i,t);a.x=u.x+t.clientLeft,a.y=u.y+t.clientTop}else o&&(a.x=Ox(o));return{x:s.left+l.scrollLeft-a.x,y:s.top+l.scrollTop-a.y,width:s.width,height:s.height}}function Wg(e,t){return!Nn(e)||en(e).position==="fixed"?null:t?t(e):e.offsetParent}function Mx(e,t){const n=It(e);if(!Nn(e))return n;let r=Wg(e,t);for(;r&&QA(r)&&en(r).position==="static";)r=Wg(r,t);return r&&(zr(r)==="html"||zr(r)==="body"&&en(r).position==="static"&&!qp(r))?n:r||XA(e)||n}const cM=async function(e){let{reference:t,floating:n,strategy:r}=e;const o=this.getOffsetParent||Mx,i=this.getDimensions;return{reference:lM(t,await o(n),r),floating:{x:0,y:0,...await i(n)}}};function uM(e){return en(e).direction==="rtl"}const dM={convertOffsetParentRelativeRectToViewportRelativeRect:eM,getDocumentElement:ir,getClippingRect:sM,getOffsetParent:Mx,getElementRects:cM,getClientRects:tM,getDimensions:aM,getScale:wi,isElement:rr,isRTL:uM};function fM(e,t){let n=null,r;const o=ir(e);function i(){clearTimeout(r),n&&n.disconnect(),n=null}function s(l,a){l===void 0&&(l=!1),a===void 0&&(a=1),i();const{left:u,top:d,width:f,height:p}=e.getBoundingClientRect();if(l||t(),!f||!p)return;const g=ol(d),m=ol(o.clientWidth-(u+f)),x=ol(o.clientHeight-(d+p)),w=ol(u),y={rootMargin:-g+"px "+-m+"px "+-x+"px "+-w+"px",threshold:At(0,Lr(1,a))||1};let _=!0;function C(E){const b=E[0].intersectionRatio;if(b!==a){if(!_)return s();b?s(!1,b):r=setTimeout(()=>{s(!1,1e-7)},100)}_=!1}try{n=new IntersectionObserver(C,{...y,root:o.ownerDocument})}catch{n=new IntersectionObserver(C,y)}n.observe(e)}return s(!0),i}function pM(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:l=typeof IntersectionObserver=="function",animationFrame:a=!1}=r,u=Qp(e),d=o||i?[...u?ca(u):[],...ca(t)]:[];d.forEach(v=>{o&&v.addEventListener("scroll",n,{passive:!0}),i&&v.addEventListener("resize",n)});const f=u&&l?fM(u,n):null;let p=-1,g=null;s&&(g=new ResizeObserver(v=>{let[y]=v;y&&y.target===u&&g&&(g.unobserve(t),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{g&&g.observe(t)})),n()}),u&&!a&&g.observe(u),g.observe(t));let m,x=a?go(e):null;a&&w();function w(){const v=go(e);x&&(v.x!==x.x||v.y!==x.y||v.width!==x.width||v.height!==x.height)&&n(),x=v,m=requestAnimationFrame(w)}return n(),()=>{d.forEach(v=>{o&&v.removeEventListener("scroll",n),i&&v.removeEventListener("resize",n)}),f&&f(),g&&g.disconnect(),g=null,a&&cancelAnimationFrame(m)}}const hM=(e,t,n)=>{const r=new Map,o={platform:dM,...n},i={...o.platform,_c:r};return UA(e,t,{...o,platform:i})},mM=e=>{function t(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:e,fn(n){const{element:r,padding:o}=typeof e=="function"?e(n):e;return r&&t(r)?r.current!=null?Fg({element:r.current,padding:o}).fn(n):{}:r?Fg({element:r,padding:o}).fn(n):{}}}};var Ol=typeof document<"u"?h.useLayoutEffect:h.useEffect;function yc(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,r,o;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!=t.length)return!1;for(r=n;r--!==0;)if(!yc(e[r],t[r]))return!1;return!0}if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,o[r]))return!1;for(r=n;r--!==0;){const i=o[r];if(!(i==="_owner"&&e.$$typeof)&&!yc(e[i],t[i]))return!1}return!0}return e!==e&&t!==t}function Dx(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Vg(e,t){const n=Dx(e);return Math.round(t*n)/n}function Gg(e){const t=h.useRef(e);return Ol(()=>{t.current=e}),t}function gM(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:i,floating:s}={},transform:l=!0,whileElementsMounted:a,open:u}=e,[d,f]=h.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[p,g]=h.useState(r);yc(p,r)||g(r);const[m,x]=h.useState(null),[w,v]=h.useState(null),y=h.useCallback(K=>{K!=b.current&&(b.current=K,x(K))},[x]),_=h.useCallback(K=>{K!==k.current&&(k.current=K,v(K))},[v]),C=i||m,E=s||w,b=h.useRef(null),k=h.useRef(null),j=h.useRef(d),P=Gg(a),N=Gg(o),M=h.useCallback(()=>{if(!b.current||!k.current)return;const K={placement:t,strategy:n,middleware:p};N.current&&(K.platform=N.current),hM(b.current,k.current,K).then(Y=>{const L={...Y,isPositioned:!0};I.current&&!yc(j.current,L)&&(j.current=L,wo.flushSync(()=>{f(L)}))})},[p,t,n,N]);Ol(()=>{u===!1&&j.current.isPositioned&&(j.current.isPositioned=!1,f(K=>({...K,isPositioned:!1})))},[u]);const I=h.useRef(!1);Ol(()=>(I.current=!0,()=>{I.current=!1}),[]),Ol(()=>{if(C&&(b.current=C),E&&(k.current=E),C&&E){if(P.current)return P.current(C,E,M);M()}},[C,E,M,P]);const U=h.useMemo(()=>({reference:b,floating:k,setReference:y,setFloating:_}),[y,_]),z=h.useMemo(()=>({reference:C,floating:E}),[C,E]),q=h.useMemo(()=>{const K={position:n,left:0,top:0};if(!z.floating)return K;const Y=Vg(z.floating,d.x),L=Vg(z.floating,d.y);return l?{...K,transform:"translate("+Y+"px, "+L+"px)",...Dx(z.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:Y,top:L}},[n,l,z.floating,d.x,d.y]);return h.useMemo(()=>({...d,update:M,refs:U,elements:z,floatingStyles:q}),[d,M,U,z,q])}const vM=h.forwardRef((e,t)=>{const{children:n,width:r=10,height:o=5,...i}=e;return h.createElement(_o.svg,Ve({},i,{ref:t,width:r,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none"}),e.asChild?n:h.createElement("polygon",{points:"0,0 30,0 15,10"}))}),yM=vM;function xM(e){const[t,n]=h.useState(void 0);return Ti(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(o=>{if(!Array.isArray(o)||!o.length)return;const i=o[0];let s,l;if("borderBoxSize"in i){const a=i.borderBoxSize,u=Array.isArray(a)?a[0]:a;s=u.inlineSize,l=u.blockSize}else s=e.offsetWidth,l=e.offsetHeight;n({width:s,height:l})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}const Ix="Popper",[Lx,Fx]=kx(Ix),[wM,zx]=Lx(Ix),_M=e=>{const{__scopePopper:t,children:n}=e,[r,o]=h.useState(null);return h.createElement(wM,{scope:t,anchor:r,onAnchorChange:o},n)},bM="PopperAnchor",SM=h.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...o}=e,i=zx(bM,n),s=h.useRef(null),l=Li(t,s);return h.useEffect(()=>{i.onAnchorChange((r==null?void 0:r.current)||s.current)}),r?null:h.createElement(_o.div,Ve({},o,{ref:l}))}),Bx="PopperContent",[EM,CM]=Lx(Bx),kM=h.forwardRef((e,t)=>{var n,r,o,i,s,l,a,u;const{__scopePopper:d,side:f="bottom",sideOffset:p=0,align:g="center",alignOffset:m=0,arrowPadding:x=0,avoidCollisions:w=!0,collisionBoundary:v=[],collisionPadding:y=0,sticky:_="partial",hideWhenDetached:C=!1,updatePositionStrategy:E="optimized",onPlaced:b,...k}=e,j=zx(Bx,d),[P,N]=h.useState(null),M=Li(t,Ke=>N(Ke)),[I,U]=h.useState(null),z=xM(I),q=(n=z==null?void 0:z.width)!==null&&n!==void 0?n:0,K=(r=z==null?void 0:z.height)!==null&&r!==void 0?r:0,Y=f+(g!=="center"?"-"+g:""),L=typeof y=="number"?y:{top:0,right:0,bottom:0,left:0,...y},W=Array.isArray(v)?v:[v],X=W.length>0,ne={padding:L,boundary:W.filter(TM),altBoundary:X},{refs:fe,floatingStyles:ot,placement:Ae,isPositioned:Ue,middlewareData:ve}=gM({strategy:"fixed",placement:Y,whileElementsMounted:(...Ke)=>pM(...Ke,{animationFrame:E==="always"}),elements:{reference:j.anchor},middleware:[GA({mainAxis:p+K,alignmentAxis:m}),w&&KA({mainAxis:!0,crossAxis:!1,limiter:_==="partial"?qA():void 0,...ne}),w&&HA({...ne}),YA({...ne,apply:({elements:Ke,rects:Mn,availableWidth:Gi,availableHeight:Ki})=>{const{width:qi,height:So}=Mn.reference,Nt=Ke.floating.style;Nt.setProperty("--radix-popper-available-width",`${Gi}px`),Nt.setProperty("--radix-popper-available-height",`${Ki}px`),Nt.setProperty("--radix-popper-anchor-width",`${qi}px`),Nt.setProperty("--radix-popper-anchor-height",`${So}px`)}}),I&&mM({element:I,padding:x}),NM({arrowWidth:q,arrowHeight:K}),C&&WA({strategy:"referenceHidden",...ne})]}),[it,vn]=Ux(Ae),An=zi(b);Ti(()=>{Ue&&(An==null||An())},[Ue,An]);const bo=(o=ve.arrow)===null||o===void 0?void 0:o.x,Ge=(i=ve.arrow)===null||i===void 0?void 0:i.y,yn=((s=ve.arrow)===null||s===void 0?void 0:s.centerOffset)!==0,[nn,Vr]=h.useState();return Ti(()=>{P&&Vr(window.getComputedStyle(P).zIndex)},[P]),h.createElement("div",{ref:fe.setFloating,"data-radix-popper-content-wrapper":"",style:{...ot,transform:Ue?ot.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:nn,"--radix-popper-transform-origin":[(l=ve.transformOrigin)===null||l===void 0?void 0:l.x,(a=ve.transformOrigin)===null||a===void 0?void 0:a.y].join(" ")},dir:e.dir},h.createElement(EM,{scope:d,placedSide:it,onArrowChange:U,arrowX:bo,arrowY:Ge,shouldHideArrow:yn},h.createElement(_o.div,Ve({"data-side":it,"data-align":vn},k,{ref:M,style:{...k.style,animation:Ue?void 0:"none",opacity:(u=ve.hide)!==null&&u!==void 0&&u.referenceHidden?0:void 0}}))))}),jM="PopperArrow",$M={top:"bottom",right:"left",bottom:"top",left:"right"},RM=h.forwardRef(function(t,n){const{__scopePopper:r,...o}=t,i=CM(jM,r),s=$M[i.placedSide];return h.createElement("span",{ref:i.onArrowChange,style:{position:"absolute",left:i.arrowX,top:i.arrowY,[s]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[i.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[i.placedSide],visibility:i.shouldHideArrow?"hidden":void 0}},h.createElement(yM,Ve({},o,{ref:n,style:{...o.style,display:"block"}})))});function TM(e){return e!==null}const NM=e=>({name:"transformOrigin",options:e,fn(t){var n,r,o,i,s;const{placement:l,rects:a,middlewareData:u}=t,f=((n=u.arrow)===null||n===void 0?void 0:n.centerOffset)!==0,p=f?0:e.arrowWidth,g=f?0:e.arrowHeight,[m,x]=Ux(l),w={start:"0%",center:"50%",end:"100%"}[x],v=((r=(o=u.arrow)===null||o===void 0?void 0:o.x)!==null&&r!==void 0?r:0)+p/2,y=((i=(s=u.arrow)===null||s===void 0?void 0:s.y)!==null&&i!==void 0?i:0)+g/2;let _="",C="";return m==="bottom"?(_=f?w:`${v}px`,C=`${-g}px`):m==="top"?(_=f?w:`${v}px`,C=`${a.floating.height+g}px`):m==="right"?(_=`${-g}px`,C=f?w:`${y}px`):m==="left"&&(_=`${a.floating.width+g}px`,C=f?w:`${y}px`),{data:{x:_,y:C}}}});function Ux(e){const[t,n="center"]=e.split("-");return[t,n]}const PM=_M,OM=SM,AM=kM,MM=RM;function DM(e,t){return h.useReducer((n,r)=>{const o=t[n][r];return o??n},e)}const Hx=e=>{const{present:t,children:n}=e,r=IM(t),o=typeof n=="function"?n({present:r.isPresent}):h.Children.only(n),i=Li(r.ref,o.ref);return typeof n=="function"||r.isPresent?h.cloneElement(o,{ref:i}):null};Hx.displayName="Presence";function IM(e){const[t,n]=h.useState(),r=h.useRef({}),o=h.useRef(e),i=h.useRef("none"),s=e?"mounted":"unmounted",[l,a]=DM(s,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return h.useEffect(()=>{const u=il(r.current);i.current=l==="mounted"?u:"none"},[l]),Ti(()=>{const u=r.current,d=o.current;if(d!==e){const p=i.current,g=il(u);e?a("MOUNT"):g==="none"||(u==null?void 0:u.display)==="none"?a("UNMOUNT"):a(d&&p!==g?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,a]),Ti(()=>{if(t){const u=f=>{const g=il(r.current).includes(f.animationName);f.target===t&&g&&wo.flushSync(()=>a("ANIMATION_END"))},d=f=>{f.target===t&&(i.current=il(r.current))};return t.addEventListener("animationstart",d),t.addEventListener("animationcancel",u),t.addEventListener("animationend",u),()=>{t.removeEventListener("animationstart",d),t.removeEventListener("animationcancel",u),t.removeEventListener("animationend",u)}}else a("ANIMATION_END")},[t,a]),{isPresent:["mounted","unmountSuspended"].includes(l),ref:h.useCallback(u=>{u&&(r.current=getComputedStyle(u)),n(u)},[])}}function il(e){return(e==null?void 0:e.animationName)||"none"}function LM({prop:e,defaultProp:t,onChange:n=()=>{}}){const[r,o]=FM({defaultProp:t,onChange:n}),i=e!==void 0,s=i?e:r,l=zi(n),a=h.useCallback(u=>{if(i){const f=typeof u=="function"?u(e):u;f!==e&&l(f)}else o(u)},[i,e,o,l]);return[s,a]}function FM({defaultProp:e,onChange:t}){const n=h.useState(e),[r]=n,o=h.useRef(r),i=zi(t);return h.useEffect(()=>{o.current!==r&&(i(r),o.current=r)},[r,o,i]),n}const zM=h.forwardRef((e,t)=>h.createElement(_o.span,Ve({},e,{ref:t,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...e.style}}))),BM=zM,[tu,N6]=kx("Tooltip",[Fx]),nu=Fx(),UM="TooltipProvider",xf="tooltip.open",[P6,Xp]=tu(UM),Jp="Tooltip",[HM,ru]=tu(Jp),WM=e=>{const{__scopeTooltip:t,children:n,open:r,defaultOpen:o=!1,onOpenChange:i,disableHoverableContent:s,delayDuration:l}=e,a=Xp(Jp,e.__scopeTooltip),u=nu(t),[d,f]=h.useState(null),p=OA(),g=h.useRef(0),m=s??a.disableHoverableContent,x=l??a.delayDuration,w=h.useRef(!1),[v=!1,y]=LM({prop:r,defaultProp:o,onChange:k=>{k?(a.onOpen(),document.dispatchEvent(new CustomEvent(xf))):a.onClose(),i==null||i(k)}}),_=h.useMemo(()=>v?w.current?"delayed-open":"instant-open":"closed",[v]),C=h.useCallback(()=>{window.clearTimeout(g.current),w.current=!1,y(!0)},[y]),E=h.useCallback(()=>{window.clearTimeout(g.current),y(!1)},[y]),b=h.useCallback(()=>{window.clearTimeout(g.current),g.current=window.setTimeout(()=>{w.current=!0,y(!0)},x)},[x,y]);return h.useEffect(()=>()=>window.clearTimeout(g.current),[]),h.createElement(PM,u,h.createElement(HM,{scope:t,contentId:p,open:v,stateAttribute:_,trigger:d,onTriggerChange:f,onTriggerEnter:h.useCallback(()=>{a.isOpenDelayed?b():C()},[a.isOpenDelayed,b,C]),onTriggerLeave:h.useCallback(()=>{m?E():window.clearTimeout(g.current)},[E,m]),onOpen:C,onClose:E,disableHoverableContent:m},n))},Kg="TooltipTrigger",VM=h.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,o=ru(Kg,n),i=Xp(Kg,n),s=nu(n),l=h.useRef(null),a=Li(t,l,o.onTriggerChange),u=h.useRef(!1),d=h.useRef(!1),f=h.useCallback(()=>u.current=!1,[]);return h.useEffect(()=>()=>document.removeEventListener("pointerup",f),[f]),h.createElement(OM,Ve({asChild:!0},s),h.createElement(_o.button,Ve({"aria-describedby":o.open?o.contentId:void 0,"data-state":o.stateAttribute},r,{ref:a,onPointerMove:Un(e.onPointerMove,p=>{p.pointerType!=="touch"&&!d.current&&!i.isPointerInTransitRef.current&&(o.onTriggerEnter(),d.current=!0)}),onPointerLeave:Un(e.onPointerLeave,()=>{o.onTriggerLeave(),d.current=!1}),onPointerDown:Un(e.onPointerDown,()=>{u.current=!0,document.addEventListener("pointerup",f,{once:!0})}),onFocus:Un(e.onFocus,()=>{u.current||o.onOpen()}),onBlur:Un(e.onBlur,o.onClose),onClick:Un(e.onClick,o.onClose)})))}),GM="TooltipPortal",[O6,KM]=tu(GM,{forceMount:void 0}),ua="TooltipContent",qM=h.forwardRef((e,t)=>{const n=KM(ua,e.__scopeTooltip),{forceMount:r=n.forceMount,side:o="top",...i}=e,s=ru(ua,e.__scopeTooltip);return h.createElement(Hx,{present:r||s.open},s.disableHoverableContent?h.createElement(Wx,Ve({side:o},i,{ref:t})):h.createElement(YM,Ve({side:o},i,{ref:t})))}),YM=h.forwardRef((e,t)=>{const n=ru(ua,e.__scopeTooltip),r=Xp(ua,e.__scopeTooltip),o=h.useRef(null),i=Li(t,o),[s,l]=h.useState(null),{trigger:a,onClose:u}=n,d=o.current,{onPointerInTransitChange:f}=r,p=h.useCallback(()=>{l(null),f(!1)},[f]),g=h.useCallback((m,x)=>{const w=m.currentTarget,v={x:m.clientX,y:m.clientY},y=eD(v,w.getBoundingClientRect()),_=tD(v,y),C=nD(x.getBoundingClientRect()),E=oD([..._,...C]);l(E),f(!0)},[f]);return h.useEffect(()=>()=>p(),[p]),h.useEffect(()=>{if(a&&d){const m=w=>g(w,d),x=w=>g(w,a);return a.addEventListener("pointerleave",m),d.addEventListener("pointerleave",x),()=>{a.removeEventListener("pointerleave",m),d.removeEventListener("pointerleave",x)}}},[a,d,g,p]),h.useEffect(()=>{if(s){const m=x=>{const w=x.target,v={x:x.clientX,y:x.clientY},y=(a==null?void 0:a.contains(w))||(d==null?void 0:d.contains(w)),_=!rD(v,s);y?p():_&&(p(),u())};return document.addEventListener("pointermove",m),()=>document.removeEventListener("pointermove",m)}},[a,d,s,u,p]),h.createElement(Wx,Ve({},e,{ref:i}))}),[QM,XM]=tu(Jp,{isInside:!1}),Wx=h.forwardRef((e,t)=>{const{__scopeTooltip:n,children:r,"aria-label":o,onEscapeKeyDown:i,onPointerDownOutside:s,...l}=e,a=ru(ua,n),u=nu(n),{onClose:d}=a;return h.useEffect(()=>(document.addEventListener(xf,d),()=>document.removeEventListener(xf,d)),[d]),h.useEffect(()=>{if(a.trigger){const f=p=>{const g=p.target;g!=null&&g.contains(a.trigger)&&d()};return window.addEventListener("scroll",f,{capture:!0}),()=>window.removeEventListener("scroll",f,{capture:!0})}},[a.trigger,d]),h.createElement($A,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:i,onPointerDownOutside:s,onFocusOutside:f=>f.preventDefault(),onDismiss:d},h.createElement(AM,Ve({"data-state":a.stateAttribute},u,l,{ref:t,style:{...l.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"}}),h.createElement(px,null,r),h.createElement(QM,{scope:n,isInside:!0},h.createElement(BM,{id:a.contentId,role:"tooltip"},o||r))))}),JM="TooltipArrow",ZM=h.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,o=nu(n);return XM(JM,n).isInside?null:h.createElement(MM,Ve({},o,r,{ref:t}))});function eD(e,t){const n=Math.abs(t.top-e.y),r=Math.abs(t.bottom-e.y),o=Math.abs(t.right-e.x),i=Math.abs(t.left-e.x);switch(Math.min(n,r,o,i)){case i:return"left";case o:return"right";case n:return"top";case r:return"bottom";default:throw new Error("unreachable")}}function tD(e,t,n=5){const r=[];switch(t){case"top":r.push({x:e.x-n,y:e.y+n},{x:e.x+n,y:e.y+n});break;case"bottom":r.push({x:e.x-n,y:e.y-n},{x:e.x+n,y:e.y-n});break;case"left":r.push({x:e.x+n,y:e.y-n},{x:e.x+n,y:e.y+n});break;case"right":r.push({x:e.x-n,y:e.y-n},{x:e.x-n,y:e.y+n});break}return r}function nD(e){const{top:t,right:n,bottom:r,left:o}=e;return[{x:o,y:t},{x:n,y:t},{x:n,y:r},{x:o,y:r}]}function rD(e,t){const{x:n,y:r}=e;let o=!1;for(let i=0,s=t.length-1;ir!=d>r&&n<(u-l)*(r-a)/(d-a)+l&&(o=!o)}return o}function oD(e){const t=e.slice();return t.sort((n,r)=>n.xr.x?1:n.yr.y?1:0),iD(t)}function iD(e){if(e.length<=1)return e.slice();const t=[];for(let r=0;r=2;){const i=t[t.length-1],s=t[t.length-2];if((i.x-s.x)*(o.y-s.y)>=(i.y-s.y)*(o.x-s.x))t.pop();else break}t.push(o)}t.pop();const n=[];for(let r=e.length-1;r>=0;r--){const o=e[r];for(;n.length>=2;){const i=n[n.length-1],s=n[n.length-2];if((i.x-s.x)*(o.y-s.y)>=(i.y-s.y)*(o.x-s.x))n.pop();else break}n.push(o)}return n.pop(),t.length===1&&n.length===1&&t[0].x===n[0].x&&t[0].y===n[0].y?t:t.concat(n)}const sD=WM,aD=VM,lD=qM,cD=ZM;function uD(e,t){if(e==null)return{};var n={},r=Object.keys(e),o,i;for(i=0;i=0)&&(n[o]=e[o]);return n}function ge(e,t){if(e==null)return{};var n=uD(e,t),r,o;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}let Re;(function(e){e[e.UNSUPPORTED_INPUT=0]="UNSUPPORTED_INPUT",e[e.NO_COMPONENT_FOR_TYPE=1]="NO_COMPONENT_FOR_TYPE",e[e.UNKNOWN_INPUT=2]="UNKNOWN_INPUT",e[e.DUPLICATE_KEYS=3]="DUPLICATE_KEYS",e[e.ALREADY_REGISTERED_TYPE=4]="ALREADY_REGISTERED_TYPE",e[e.CLIPBOARD_ERROR=5]="CLIPBOARD_ERROR",e[e.THEME_ERROR=6]="THEME_ERROR",e[e.PATH_DOESNT_EXIST=7]="PATH_DOESNT_EXIST",e[e.INPUT_TYPE_OVERRIDE=8]="INPUT_TYPE_OVERRIDE",e[e.EMPTY_KEY=9]="EMPTY_KEY"})(Re||(Re={}));const dD={[Re.UNSUPPORTED_INPUT]:(e,t)=>[`An input with type \`${e}\` input was found at path \`${t}\` but it's not supported yet.`],[Re.NO_COMPONENT_FOR_TYPE]:(e,t)=>[`Type \`${e}\` found at path \`${t}\` can't be displayed in panel because no component supports it yet.`],[Re.UNKNOWN_INPUT]:(e,t)=>[`input at path \`${e}\` is not recognized.`,t],[Re.DUPLICATE_KEYS]:(e,t,n)=>[`Key \`${e}\` of path \`${t}\` already exists at path \`${n}\`. Even nested keys need to be unique. Rename one of the keys.`],[Re.ALREADY_REGISTERED_TYPE]:e=>[`Type ${e} has already been registered. You can't register a component with the same type.`],[Re.CLIPBOARD_ERROR]:e=>["Error copying the value",e],[Re.THEME_ERROR]:(e,t)=>[`Error accessing the theme \`${e}.${t}\` value.`],[Re.PATH_DOESNT_EXIST]:e=>[`Error getting the value at path \`${e}\`. There is probably an error in your \`render\` function.`],[Re.PATH_DOESNT_EXIST]:e=>[`Error accessing the value at path \`${e}\``],[Re.INPUT_TYPE_OVERRIDE]:(e,t,n)=>[`Input at path \`${e}\` already exists with type: \`${t}\`. Its type cannot be overridden with type \`${n}\`.`],[Re.EMPTY_KEY]:()=>["Keys can not be empty, if you want to hide a label use whitespace."]};function Vx(e,t,...n){const[r,...o]=dD[t](...n);console[e]("LEVA: "+r,...o)}const Hn=Vx.bind(null,"warn"),fD=Vx.bind(null,"log"),pD=["value"],hD=["schema"],mD=["value"],Gx=[],vo={};function qg(e){let{value:t}=e,n=ge(e,pD);for(let r of Gx){const o=r(t,n);if(o)return o}}function sr(e,t){let{schema:n}=t,r=ge(t,hD);if(e in vo){Hn(Re.ALREADY_REGISTERED_TYPE,e);return}Gx.push((o,i)=>n(o,i)&&e),vo[e]=r}function Qu(e,t,n,r){const{normalize:o}=vo[e];if(o)return o(t,n,r);if(typeof t!="object"||!("value"in t))return{value:t};const{value:i}=t,s=ge(t,mD);return{value:i,settings:s}}function gD(e,t,n,r,o,i){const{sanitize:s}=vo[e];return s?s(t,n,r,o,i):t}function Yg(e,t,n){const{format:r}=vo[e];return r?r(t,n):t}function vD(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Qg(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function te(e){for(var t=1;te>n?n:e{if(e===""||typeof e=="number")return e;try{const t=gr(e);if(!isNaN(t))return t}catch{}return parseFloat(e)},xD=Math.log(10);function Xg(e){let t=Math.abs(+String(e).replace(".",""));if(t===0)return .01;for(;t!==0&&t%10===0;)t/=10;const n=Math.floor(Math.log(t)/xD)+1,r=Math.floor(Math.log10(Math.abs(e))),o=Math.pow(10,r-n);return Math.max(o,.001)}const xc=(e,t,n)=>n===t?0:(Br(e,t,n)-t)/(n-t),wc=(e,t,n)=>e*(n-t)+t,wD=()=>"_"+Math.random().toString(36).substr(2,9),Jg=/\(([0-9+\-*/^ .]+)\)/,Zg=/(\d+(?:\.\d+)?) ?\^ ?(\d+(?:\.\d+)?)/,ev=/(\d+(?:\.\d+)?) ?\* ?(\d+(?:\.\d+)?)/,tv=/(\d+(?:\.\d+)?) ?\/ ?(\d+(?:\.\d+)?)/,nv=/(\d+(?:\.\d+)?) ?\+ ?(\d+(?:\.\d+)?)/,rv=/(\d+(?:\.\d+)?) ?- ?(\d+(?:\.\d+)?)/;function gr(e){if(isNaN(Number(e)))if(Jg.test(e)){const t=e.replace(Jg,(n,r)=>String(gr(r)));return gr(t)}else if(Zg.test(e)){const t=e.replace(Zg,(n,r,o)=>String(Math.pow(Number(r),Number(o))));return gr(t)}else if(ev.test(e)){const t=e.replace(ev,(n,r,o)=>String(Number(r)*Number(o)));return gr(t)}else if(tv.test(e)){const t=e.replace(tv,(n,r,o)=>{if(o!=0)return String(Number(r)/Number(o));throw new Error("Division by zero")});return gr(t)}else if(nv.test(e)){const t=e.replace(nv,(n,r,o)=>String(Number(r)+Number(o)));return gr(t)}else if(rv.test(e)){const t=e.replace(rv,(n,r,o)=>String(Number(r)-Number(o)));return gr(t)}else return Number(e);return Number(e)}function _D(e,t){return t.reduce((n,r)=>(e&&e.hasOwnProperty(r)&&(n[r]=e[r]),n),{})}function bD(e,t){const n=te({},e);return t.forEach(r=>r in e&&delete n[r]),n}function SD(e,t){return e.reduce((n,r,o)=>Object.assign(n,{[t[o]]:r}),{})}function Kx(e){return Object.prototype.toString.call(e)==="[object Object]"}const ED=e=>Kx(e)&&Object.keys(e).length===0;let fn;(function(e){e.BUTTON="BUTTON",e.BUTTON_GROUP="BUTTON_GROUP",e.MONITOR="MONITOR",e.FOLDER="FOLDER"})(fn||(fn={}));let hn;(function(e){e.SELECT="SELECT",e.IMAGE="IMAGE",e.NUMBER="NUMBER",e.COLOR="COLOR",e.STRING="STRING",e.BOOLEAN="BOOLEAN",e.INTERVAL="INTERVAL",e.VECTOR3D="VECTOR3D",e.VECTOR2D="VECTOR2D"})(hn||(hn={}));const CD=["type","__customInput"],kD=["render","label","optional","order","disabled","hint","onChange","onEditStart","onEditEnd","transient"],jD=["type"];function qx(e,t,n={},r){var o,i;if(typeof e!="object"||Array.isArray(e))return{type:r,input:e,options:te({key:t,label:t,optional:!1,disabled:!1,order:0},n)};if("__customInput"in e){const{type:E,__customInput:b}=e,k=ge(e,CD);return qx(b,t,k,E)}const{render:s,label:l,optional:a,order:u=0,disabled:d,hint:f,onChange:p,onEditStart:g,onEditEnd:m,transient:x}=e,w=ge(e,kD),v=te({render:s,key:t,label:l??t,hint:f,transient:x??!!p,onEditStart:g,onEditEnd:m,disabled:d,optional:a,order:u},n);let{type:y}=w,_=ge(w,jD);if(y=r??y,y in fn)return{type:y,input:_,options:v};let C;return r&&Kx(_)&&"value"in _?C=_.value:C=ED(_)?void 0:_,{type:y,input:C,options:te(te({},v),{},{onChange:p,optional:(o=v.optional)!==null&&o!==void 0?o:!1,disabled:(i=v.disabled)!==null&&i!==void 0?i:!1})}}function $D(e,t,n,r){const o=qx(e,t),{type:i,input:s,options:l}=o;if(i)return i in fn?o:{type:i,input:Qu(i,s,n,r),options:l};let a=qg(s);return a?{type:a,input:Qu(a,s,n,r),options:l}:(a=qg({value:s}),a?{type:a,input:Qu(a,{value:s},n,r),options:l}:!1)}function ov(e,t,n,r,o){const{value:i,type:s,settings:l}=e;e.value=Yx({type:s,value:i,settings:l},t,n,r),e.fromPanel=o}const RD=function(t,n,r){this.type="LEVA_ERROR",this.message="LEVA: "+t,this.previousValue=n,this.error=r};function Yx({type:e,value:t,settings:n},r,o,i){const s=e!=="SELECT"&&typeof r=="function"?r(t):r;let l;try{l=gD(e,s,n,t,o,i)}catch(a){throw new RD(`The value \`${r}\` did not result in a correct value.`,t,a)}return sa(l,t)?t:l}const Qx=(e,t,n=!1)=>{let r=0;return function(){const o=arguments,i=n&&!r,s=()=>e.apply(this,o);window.clearTimeout(r),r=window.setTimeout(s,t),i&&s()}},Xx=e=>e.shiftKey?5:e.altKey?1/5:1;function TD(e,t){const n=console.error;console.error=()=>{},Rp.render(e,t),console.error=n}const ND=["value"],PD=["min","max"],OD=e=>{if(typeof e=="number")return!0;if(typeof e=="string"){const t=parseFloat(e);return isNaN(t)?!1:e.substring((""+t).length).trim().length<4}return!1},Jx=(e,{min:t=-1/0,max:n=1/0,suffix:r})=>{const o=parseFloat(e);if(e===""||isNaN(o))throw Error("Invalid number");const i=Br(o,t,n);return r?i+r:i},AD=(e,{pad:t=0,suffix:n})=>{const r=parseFloat(e).toFixed(t);return n?r+n:r},Zx=e=>{let{value:t}=e,n=ge(e,ND);const{min:r=-1/0,max:o=1/0}=n,i=ge(n,PD);let s=parseFloat(t);const l=typeof t=="string"?t.substring((""+s).length):void 0;s=Br(s,r,o);let a=n.step;a||(Number.isFinite(r)?Number.isFinite(o)?a=+(Math.abs(o-r)/100).toPrecision(1):a=+(Math.abs(s-r)/100).toPrecision(1):Number.isFinite(o)&&(a=+(Math.abs(o-s)/100).toPrecision(1)));const u=a?Xg(a)*10:Xg(s);a=a||u/10;const d=Math.round(Br(Math.log10(1/u),0,2));return{value:l?s+l:s,settings:te({initialValue:s,step:a,pad:d,min:r,max:o,suffix:l},i)}},ew=(e,{step:t,initialValue:n})=>{const r=Math.round((e-n)/t);return n+r*t};var tw=Object.freeze({__proto__:null,schema:OD,sanitize:Jx,format:AD,normalize:Zx,sanitizeStep:ew});function Le(){return Le=Object.assign?Object.assign.bind():function(e){for(var t=1;t({colors:{elevation1:"#292d39",elevation2:"#181c20",elevation3:"#373c4b",accent1:"#0066dc",accent2:"#007bff",accent3:"#3c93ff",highlight1:"#535760",highlight2:"#8c92a4",highlight3:"#fefefe",vivid1:"#ffcc00",folderWidgetColor:"$highlight2",folderTextColor:"$highlight3",toolTipBackground:"$highlight3",toolTipText:"$elevation2"},radii:{xs:"2px",sm:"3px",lg:"10px"},space:{xs:"3px",sm:"6px",md:"10px",rowGap:"7px",colGap:"7px"},fonts:{mono:"ui-monospace, SFMono-Regular, Menlo, 'Roboto Mono', monospace",sans:"system-ui, sans-serif"},fontSizes:{root:"11px",toolTip:"$root"},sizes:{rootWidth:"280px",controlWidth:"160px",numberInputMinWidth:"38px",scrubberWidth:"8px",scrubberHeight:"16px",rowHeight:"24px",folderTitleHeight:"20px",checkboxSize:"16px",joystickWidth:"100px",joystickHeight:"100px",colorPickerWidth:"$controlWidth",colorPickerHeight:"100px",imagePreviewWidth:"$controlWidth",imagePreviewHeight:"100px",monitorHeight:"60px",titleBarHeight:"39px"},shadows:{level1:"0 0 9px 0 #00000088",level2:"0 4px 14px #00000033"},borderWidths:{root:"0px",input:"1px",focus:"1px",hover:"1px",active:"1px",folder:"1px"},fontWeights:{label:"normal",folder:"normal",button:"normal"}});function sl(e,t){const[n,r]=e.split(" "),o={};return n!=="none"&&(o.boxShadow=`${t.inset?"inset ":""}0 0 0 $borderWidths${[t.key]} $colors${n!=="default"&&n||t.borderColor}`),r&&(o.backgroundColor=r),o}const ps={$inputStyle:()=>e=>sl(e,{key:"$input",borderColor:"$highlight1",inset:!0}),$focusStyle:()=>e=>sl(e,{key:"$focus",borderColor:"$accent2"}),$hoverStyle:()=>e=>sl(e,{key:"$hover",borderColor:"$accent1",inset:!0}),$activeStyle:()=>e=>sl(e,{key:"$active",borderColor:"$accent1",inset:!0})},{styled:Z,css:A6,createTheme:DD,globalCss:ID,keyframes:M6}=RO({prefix:"leva",theme:iw(),utils:te(te({},ps),{},{$flex:()=>({display:"flex",alignItems:"center"}),$flexCenter:()=>({display:"flex",alignItems:"center",justifyContent:"center"}),$reset:()=>({outline:"none",fontSize:"inherit",fontWeight:"inherit",color:"inherit",fontFamily:"inherit",border:"none",backgroundColor:"transparent",appearance:"none"}),$draggable:()=>({touchAction:"none",WebkitUserDrag:"none",userSelect:"none"}),$focus:e=>({"&:focus":ps.$focusStyle()(e)}),$focusWithin:e=>({"&:focus-within":ps.$focusStyle()(e)}),$hover:e=>({"&:hover":ps.$hoverStyle()(e)}),$active:e=>({"&:active":ps.$activeStyle()(e)})})}),LD=ID({".leva__panel__dragged":{WebkitUserDrag:"none",userSelect:"none",input:{userSelect:"none"},"*":{cursor:"ew-resize !important"}}});function FD(e){const t=iw();if(!e)return{theme:t,className:""};Object.keys(e).forEach(r=>{Object.assign(t[r],e[r])});const n=DD(t);return{theme:t,className:n.className}}function Yn(e,t){const{theme:n}=h.useContext(Zp);if(!(e in n)||!(t in n[e]))return Hn(Re.THEME_ERROR,e,t),"";let r=t;for(;;){let o=n[e][r];if(typeof o=="string"&&o.charAt(0)==="$")r=o.substr(1);else return o}}const sw=Z("input",{$reset:"",padding:"0 $sm",width:0,minWidth:0,flex:1,height:"100%",variants:{levaType:{number:{textAlign:"right"}},as:{textarea:{padding:"$sm"}}}}),aw=Z("div",{$draggable:"",height:"100%",$flexCenter:"",position:"relative",padding:"0 $xs",fontSize:"0.8em",opacity:.8,cursor:"default",touchAction:"none",[`& + ${sw}`]:{paddingLeft:0}}),zD=Z(aw,{cursor:"ew-resize",marginRight:"-$xs",textTransform:"uppercase",opacity:.3,"&:hover":{opacity:1},variants:{dragging:{true:{backgroundColor:"$accent2",opacity:1}}}}),BD=Z("div",{$flex:"",position:"relative",borderRadius:"$sm",overflow:"hidden",color:"inherit",height:"$rowHeight",backgroundColor:"$elevation3",$inputStyle:"$elevation1",$hover:"",$focusWithin:"",variants:{textArea:{true:{height:"auto"}}}}),UD=["innerLabel","value","onUpdate","onChange","onKeyDown","type","id","inputType","rows"],HD=["onUpdate"];function eh(e){let{innerLabel:t,value:n,onUpdate:r,onChange:o,onKeyDown:i,type:s,id:l,inputType:a="text",rows:u=0}=e,d=ge(e,UD);const{id:f,emitOnEditStart:p,emitOnEditEnd:g,disabled:m}=ht(),x=l||f,w=h.useRef(null),v=u>0,y=v?"textarea":"input",_=h.useCallback(b=>k=>{const j=k.currentTarget.value;b(j)},[]);S.useEffect(()=>{const b=w.current,k=_(j=>{r(j),g()});return b==null||b.addEventListener("blur",k),()=>b==null?void 0:b.removeEventListener("blur",k)},[_,r,g]);const C=h.useCallback(b=>{b.key==="Enter"&&_(r)(b)},[_,r]),E=Object.assign({as:y},v?{rows:u}:{},d);return S.createElement(BD,{textArea:v},t&&typeof t=="string"?S.createElement(aw,null,t):t,S.createElement(sw,Le({levaType:s,ref:w,id:x,type:a,autoComplete:"off",spellCheck:"false",value:n,onChange:_(o),onFocus:()=>p(),onKeyPress:C,onKeyDown:i,disabled:m},E)))}function WD(e){let{onUpdate:t}=e,n=ge(e,HD);const r=h.useCallback(i=>t(yD(i)),[t]),o=h.useCallback(i=>{const s=i.key==="ArrowUp"?1:i.key==="ArrowDown"?-1:0;if(s){i.preventDefault();const l=i.altKey?.1:i.shiftKey?10:1;t(a=>parseFloat(a)+s*l)}},[t]);return S.createElement(eh,Le({},n,{onUpdate:r,onKeyDown:o,type:"number"}))}const _c=Z("div",{}),wf=Z("div",{position:"relative",background:"$elevation2",transition:"height 300ms ease",variants:{fill:{true:{},false:{}},flat:{false:{},true:{}},isRoot:{true:{},false:{paddingLeft:"$md","&::after":{content:'""',position:"absolute",left:0,top:0,width:"$borderWidths$folder",height:"100%",backgroundColor:"$folderWidgetColor",opacity:.4,transform:"translateX(-50%)"}}}},compoundVariants:[{isRoot:!0,fill:!1,css:{overflowY:"auto",maxHeight:"calc(100vh - 20px - $$titleBarHeight)"}},{isRoot:!0,flat:!1,css:{borderRadius:"$lg"}}]}),VD=Z("div",{$flex:"",color:"$folderTextColor",userSelect:"none",cursor:"pointer",height:"$folderTitleHeight",fontWeight:"$folder","> svg":{marginLeft:-4,marginRight:4,cursor:"pointer",fill:"$folderWidgetColor",opacity:.6},"&:hover > svg":{fill:"$folderWidgetColor"},[`&:hover + ${wf}::after`]:{opacity:.6},[`${_c}:hover > & + ${wf}::after`]:{opacity:.6},[`${_c}:hover > & > svg`]:{opacity:1}}),lw=Z("div",{position:"relative",display:"grid",gridTemplateColumns:"100%",rowGap:"$rowGap",transition:"opacity 250ms ease",variants:{toggled:{true:{opacity:1,transitionDelay:"250ms"},false:{opacity:0,transitionDelay:"0ms",pointerEvents:"none"}},isRoot:{true:{"& > div":{paddingLeft:"$md",paddingRight:"$md"},"& > div:first-of-type":{paddingTop:"$sm"},"& > div:last-of-type":{paddingBottom:"$sm"},[`> ${_c}:not(:first-of-type)`]:{paddingTop:"$sm",marginTop:"$md",borderTop:"$borderWidths$folder solid $colors$elevation1"}}}}}),cw=Z("div",{position:"relative",zIndex:100,display:"grid",rowGap:"$rowGap",gridTemplateRows:"minmax($sizes$rowHeight, max-content)",alignItems:"center",color:"$highlight2",[`${lw} > &`]:{"&:first-of-type":{marginTop:"$rowGap"},"&:last-of-type":{marginBottom:"$rowGap"}},variants:{disabled:{true:{pointerEvents:"none"},false:{"&:hover,&:focus-within":{color:"$highlight3"}}}}}),uw=Z(cw,{gridTemplateColumns:"auto $sizes$controlWidth",columnGap:"$colGap"}),GD=Z("div",{$flex:"",height:"100%",position:"relative",overflow:"hidden","& > div":{marginLeft:"$colGap",padding:"0 $xs",opacity:.4},"& > div:hover":{opacity:.8},"& > div > svg":{display:"none",cursor:"pointer",width:13,minWidth:13,height:13,backgroundColor:"$elevation2"},"&:hover > div > svg":{display:"block"},variants:{align:{top:{height:"100%",alignItems:"flex-start",paddingTop:"$sm"}}}}),KD=Z("input",{$reset:"",height:0,width:0,opacity:0,margin:0,"& + label":{position:"relative",$flexCenter:"",height:"100%",userSelect:"none",cursor:"pointer",paddingLeft:2,paddingRight:"$sm",pointerEvents:"auto"},"& + label:after":{content:'""',width:6,height:6,backgroundColor:"$elevation3",borderRadius:"50%",$activeStyle:""},"&:focus + label:after":{$focusStyle:""},"& + label:active:after":{backgroundColor:"$accent1",$focusStyle:""},"&:checked + label:after":{backgroundColor:"$accent1"}}),_f=Z("label",{fontWeight:"$label",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap","& > svg":{display:"block"}}),qD=Z("div",{opacity:1,variants:{disabled:{true:{opacity:.6,pointerEvents:"none",[`& ${_f}`]:{pointerEvents:"auto"}}}}}),dw=Z("div",{position:"fixed",top:0,bottom:0,right:0,left:0,zIndex:1e3,userSelect:"none"}),YD=Z("div",{background:"$toolTipBackground",fontFamily:"$sans",fontSize:"$toolTip",padding:"$xs $sm",color:"$toolTipText",borderRadius:"$xs",boxShadow:"$level2",maxWidth:260}),QD=Z(cD,{fill:"$toolTipBackground"});function th({children:e}){const{className:t}=h.useContext(Zp);return S.createElement(X3,{className:t},e)}const XD=["align"];function JD(){const{id:e,disable:t,disabled:n}=ht();return S.createElement(S.Fragment,null,S.createElement(KD,{id:e+"__disable",type:"checkbox",checked:!n,onChange:()=>t(!n)}),S.createElement("label",{htmlFor:e+"__disable"}))}function ZD(e){const{id:t,optional:n,hint:r}=ht(),o=e.htmlFor||(t?{htmlFor:t}:null),i=!r&&typeof e.children=="string"?{title:e.children}:null;return S.createElement(S.Fragment,null,n&&S.createElement(JD,null),r!==void 0?S.createElement(sD,null,S.createElement(aD,{asChild:!0},S.createElement(_f,Le({},o,e))),S.createElement(lD,{side:"top",sideOffset:2},S.createElement(YD,null,r,S.createElement(QD,null)))):S.createElement(_f,Le({},o,i,e)))}function mn(e){let{align:t}=e,n=ge(e,XD);const{value:r,label:o,key:i,disabled:s}=ht(),{hideCopyButton:l}=MD(),a=!l&&i!==void 0,[u,d]=h.useState(!1),f=async()=>{try{await navigator.clipboard.writeText(JSON.stringify({[i]:r??""})),d(!0)}catch{Hn(Re.CLIPBOARD_ERROR,{[i]:r})}};return S.createElement(GD,{align:t,onPointerLeave:()=>d(!1)},S.createElement(ZD,n),a&&!s&&S.createElement("div",{title:`Click to copy ${typeof o=="string"?o:i} value`},u?S.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor"},S.createElement("path",{d:"M9 2a1 1 0 000 2h2a1 1 0 100-2H9z"}),S.createElement("path",{fillRule:"evenodd",d:"M4 5a2 2 0 012-2 3 3 0 003 3h2a3 3 0 003-3 2 2 0 012 2v11a2 2 0 01-2 2H6a2 2 0 01-2-2V5zm9.707 5.707a1 1 0 00-1.414-1.414L9 12.586l-1.293-1.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z",clipRule:"evenodd"})):S.createElement("svg",{onClick:f,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor"},S.createElement("path",{d:"M8 3a1 1 0 011-1h2a1 1 0 110 2H9a1 1 0 01-1-1z"}),S.createElement("path",{d:"M6 3a2 2 0 00-2 2v11a2 2 0 002 2h8a2 2 0 002-2V5a2 2 0 00-2-2 3 3 0 01-3 3H9a3 3 0 01-3-3z"}))))}const eI=["toggled"],tI=Z("svg",{fill:"currentColor",transition:"transform 350ms ease, fill 250ms ease"});function nh(e){let{toggled:t}=e,n=ge(e,eI);return S.createElement(tI,Le({width:"9",height:"5",viewBox:"0 0 9 5",xmlns:"http://www.w3.org/2000/svg",style:{transform:`rotate(${t?0:-90}deg)`}},n),S.createElement("path",{d:"M3.8 4.4c.4.3 1 .3 1.4 0L8 1.7A1 1 0 007.4 0H1.6a1 1 0 00-.7 1.7l3 2.7z"}))}const nI=["input"];function tn(e){let{input:t}=e,n=ge(e,nI);return t?S.createElement(uw,n):S.createElement(cw,n)}function fw({value:e,type:t,settings:n,setValue:r}){const[o,i]=h.useState(Yg(t,e,n)),s=h.useRef(e),l=h.useRef(n);l.current=n;const a=h.useCallback(d=>i(Yg(t,d,l.current)),[t]),u=h.useCallback(d=>{try{r(d)}catch(f){const{type:p,previousValue:g}=f;if(p!=="LEVA_ERROR")throw f;a(g)}},[a,r]);return h.useEffect(()=>{sa(e,s.current)||a(e),s.current=e},[e,a]),{displayValue:o,onChange:i,onUpdate:u}}function ja(e,t){const{emitOnEditStart:n,emitOnEditEnd:r}=ht();return bA(o=>{o.first&&(document.body.classList.add("leva__panel__dragged"),n==null||n());const i=e(o);return o.last&&(document.body.classList.remove("leva__panel__dragged"),r==null||r()),i},t)}function rI(e){const t=h.useRef(null),n=h.useRef(null),r=h.useRef(!1);return h.useEffect(()=>{const o=Qx(()=>{t.current.width=t.current.offsetWidth*window.devicePixelRatio,t.current.height=t.current.offsetHeight*window.devicePixelRatio,e(t.current,n.current)},250);return window.addEventListener("resize",o),r.current||(o(),r.current=!0),()=>window.removeEventListener("resize",o)},[e]),h.useEffect(()=>{n.current=t.current.getContext("2d")},[]),[t,n]}function pw(){const e=h.useRef(null),t=h.useRef({x:0,y:0}),n=h.useCallback(r=>{Object.assign(t.current,r),e.current&&(e.current.style.transform=`translate3d(${t.current.x}px, ${t.current.y}px, 0)`)},[]);return[e,n]}const oI=["__refCount"],Xu=(e,t)=>{if(!e[t])return null;const n=e[t];return ge(n,oI)};function iI(e){const t=ka(),[n,r]=h.useState(Xu(t.getData(),e)),o=h.useCallback(u=>t.setValueAtPath(e,u,!0),[e,t]),i=h.useCallback(u=>t.setSettingsAtPath(e,u),[e,t]),s=h.useCallback(u=>t.disableInputAtPath(e,u),[e,t]),l=h.useCallback(()=>t.emitOnEditStart(e),[e,t]),a=h.useCallback(()=>t.emitOnEditEnd(e),[e,t]);return h.useEffect(()=>{r(Xu(t.getData(),e));const u=t.useStore.subscribe(d=>Xu(d.data,e),r,{equalityFn:ba});return()=>u()},[t,e]),[n,{set:o,setSettings:i,disable:s,storeId:t.storeId,emitOnEditStart:l,emitOnEditEnd:a}]}const sI=Z("div",{variants:{hasRange:{true:{position:"relative",display:"grid",gridTemplateColumns:"auto $sizes$numberInputMinWidth",columnGap:"$colGap",alignItems:"center"}}}}),hw=Z("div",{position:"relative",width:"100%",height:2,borderRadius:"$xs",backgroundColor:"$elevation1"}),bf=Z("div",{position:"absolute",width:"$scrubberWidth",height:"$scrubberHeight",borderRadius:"$xs",boxShadow:"0 0 0 2px $colors$elevation2",backgroundColor:"$accent2",cursor:"pointer",$active:"none $accent1",$hover:"none $accent3",variants:{position:{left:{borderTopRightRadius:0,borderBottomRightRadius:0,transform:"translateX(calc(-0.5 * ($sizes$scrubberWidth + 4px)))"},right:{borderTopLeftRadius:0,borderBottomLeftRadius:0,transform:"translateX(calc(0.5 * ($sizes$scrubberWidth + 4px)))"}}}}),mw=Z("div",{position:"relative",$flex:"",height:"100%",cursor:"pointer",touchAction:"none"}),gw=Z("div",{position:"absolute",height:"100%",backgroundColor:"$accent2"});function aI({value:e,min:t,max:n,onDrag:r,step:o,initialValue:i}){const s=h.useRef(null),l=h.useRef(null),a=h.useRef(0),u=Yn("sizes","scrubberWidth"),d=ja(({event:p,first:g,xy:[m],movement:[x],memo:w})=>{if(g){const{width:y,left:_}=s.current.getBoundingClientRect();a.current=y-parseFloat(u),w=(p==null?void 0:p.target)===l.current?e:wc((m-_)/y,t,n)}const v=w+wc(x/a.current,0,n-t);return r(ew(v,{step:o,initialValue:i})),w}),f=xc(e,t,n);return S.createElement(mw,Le({ref:s},d()),S.createElement(hw,null,S.createElement(gw,{style:{left:0,right:`${(1-f)*100}%`}})),S.createElement(bf,{ref:l,style:{left:`calc(${f} * (100% - ${u}))`}}))}const lI=S.memo(({label:e,onUpdate:t,step:n,innerLabelTrim:r})=>{const[o,i]=h.useState(!1),s=ja(({active:l,delta:[a],event:u,memo:d=0})=>(i(l),d+=a/2,Math.abs(d)>=1&&(t(f=>parseFloat(f)+Math.floor(d)*n*Xx(u)),d=0),d));return S.createElement(zD,Le({dragging:o,title:e.length>1?e:""},s()),e.slice(0,r))});function vw({label:e,id:t,displayValue:n,onUpdate:r,onChange:o,settings:i,innerLabelTrim:s=1}){const l=s>0&&S.createElement(lI,{label:e,step:i.step,onUpdate:r,innerLabelTrim:s});return S.createElement(WD,{id:t,value:String(n),onUpdate:r,onChange:o,innerLabel:l})}function cI(){const e=ht(),{label:t,value:n,onUpdate:r,settings:o,id:i}=e,{min:s,max:l}=o,a=l!==1/0&&s!==-1/0;return S.createElement(tn,{input:!0},S.createElement(mn,null,t),S.createElement(sI,{hasRange:a},a&&S.createElement(aI,Le({value:parseFloat(n),onDrag:r},o)),S.createElement(vw,Le({},e,{id:i,label:"value",innerLabelTrim:a?0:1}))))}const{sanitizeStep:uI}=tw,dI=ge(tw,["sanitizeStep"]);var fI=te({component:cI},dI);const pI=(e,t)=>jt().schema({options:jt().passesAnyOf(jt().object(),jt().array())}).test(t),hI=(e,{values:t})=>{if(t.indexOf(e)<0)throw Error("Selected value doesn't match Select options");return e},mI=(e,{values:t})=>t.indexOf(e),gI=e=>{let{value:t,options:n}=e,r,o;return Array.isArray(n)?(o=n,r=n.map(i=>String(i))):(o=Object.values(n),r=Object.keys(n)),"value"in e?o.includes(t)||(r.unshift(String(t)),o.unshift(t)):t=o[0],Object.values(n).includes(t)||(n[String(t)]=t),{value:t,settings:{keys:r,values:o}}};var vI=Object.freeze({__proto__:null,schema:pI,sanitize:hI,format:mI,normalize:gI});const yI=Z("div",{$flexCenter:"",position:"relative","> svg":{pointerEvents:"none",position:"absolute",right:"$md"}}),Sf=Z("select",{position:"absolute",top:0,left:0,width:"100%",height:"100%",opacity:0}),xI=Z("div",{display:"flex",alignItems:"center",width:"100%",height:"$rowHeight",backgroundColor:"$elevation3",borderRadius:"$sm",padding:"0 $sm",cursor:"pointer",[`${Sf}:focus + &`]:{$focusStyle:""},[`${Sf}:hover + &`]:{$hoverStyle:""}});function wI({displayValue:e,value:t,onUpdate:n,id:r,settings:o,disabled:i}){const{keys:s,values:l}=o,a=h.useRef();return t===l[e]&&(a.current=s[e]),S.createElement(yI,null,S.createElement(Sf,{id:r,value:e,onChange:u=>n(l[Number(u.currentTarget.value)]),disabled:i},s.map((u,d)=>S.createElement("option",{key:u,value:d},u))),S.createElement(xI,null,a.current),S.createElement(nh,{toggled:!0}))}function _I(){const{label:e,value:t,displayValue:n,onUpdate:r,id:o,disabled:i,settings:s}=ht();return S.createElement(tn,{input:!0},S.createElement(mn,null,e),S.createElement(wI,{id:o,value:t,displayValue:n,onUpdate:r,settings:s,disabled:i}))}var bI=te({component:_I},vI);const SI=e=>jt().string().test(e),EI=e=>{if(typeof e!="string")throw Error("Invalid string");return e},CI=({value:e,editable:t=!0,rows:n=!1})=>({value:e,settings:{editable:t,rows:typeof n=="number"?n:n?5:0}});var kI=Object.freeze({__proto__:null,schema:SI,sanitize:EI,normalize:CI});const jI=["displayValue","onUpdate","onChange","editable"],$I=Z("div",{whiteSpace:"pre-wrap"});function RI(e){let{displayValue:t,onUpdate:n,onChange:r,editable:o=!0}=e,i=ge(e,jI);return o?S.createElement(eh,Le({value:t,onUpdate:n,onChange:r},i)):S.createElement($I,null,t)}function TI(){const{label:e,settings:t,displayValue:n,onUpdate:r,onChange:o}=ht();return S.createElement(tn,{input:!0},S.createElement(mn,null,e),S.createElement(RI,Le({displayValue:n,onUpdate:r,onChange:o},t)))}var NI=te({component:TI},kI);const PI=e=>jt().boolean().test(e),OI=e=>{if(typeof e!="boolean")throw Error("Invalid boolean");return e};var AI=Object.freeze({__proto__:null,schema:PI,sanitize:OI});const MI=Z("div",{position:"relative",$flex:"",height:"$rowHeight",input:{$reset:"",height:0,width:0,opacity:0,margin:0},label:{position:"relative",$flexCenter:"",userSelect:"none",cursor:"pointer",height:"$checkboxSize",width:"$checkboxSize",backgroundColor:"$elevation3",borderRadius:"$sm",$hover:""},"input:focus + label":{$focusStyle:""},"input:focus:checked + label, input:checked + label:hover":{$hoverStyle:"$accent3"},"input + label:active":{backgroundColor:"$accent1"},"input:checked + label:active":{backgroundColor:"$accent1"},"label > svg":{display:"none",width:"90%",height:"90%",stroke:"$highlight3"},"input:checked + label":{backgroundColor:"$accent2"},"input:checked + label > svg":{display:"block"}});function DI({value:e,onUpdate:t,id:n,disabled:r}){return S.createElement(MI,null,S.createElement("input",{id:n,type:"checkbox",checked:e,onChange:o=>t(o.currentTarget.checked),disabled:r}),S.createElement("label",{htmlFor:n},S.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},S.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M5 13l4 4L19 7"}))))}function II(){const{label:e,value:t,onUpdate:n,disabled:r,id:o}=ht();return S.createElement(tn,{input:!0},S.createElement(mn,null,e),S.createElement(DI,{value:t,onUpdate:n,id:o,disabled:r}))}var LI=te({component:II},AI);const FI=["locked"];function zI({value:e,id:t,valueKey:n,settings:r,onUpdate:o,innerLabelTrim:i}){const s=h.useRef(e[n]);s.current=e[n];const l=h.useCallback(u=>o({[n]:Yx({type:"NUMBER",value:s.current,settings:r},u)}),[o,r,n]),a=fw({type:"NUMBER",value:e[n],settings:r,setValue:l});return S.createElement(vw,{id:t,label:n,value:e[n],displayValue:a.displayValue,onUpdate:a.onUpdate,onChange:a.onChange,settings:r,innerLabelTrim:i})}const BI=Z("div",{display:"grid",columnGap:"$colGap",gridAutoFlow:"column dense",alignItems:"center",variants:{withLock:{true:{gridTemplateColumns:"10px auto","> svg":{cursor:"pointer"}}}}});function UI(e){let{locked:t}=e,n=ge(e,FI);return S.createElement("svg",Le({width:"10",height:"10",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n),t?S.createElement("path",{d:"M5 4.63601C5 3.76031 5.24219 3.1054 5.64323 2.67357C6.03934 2.24705 6.64582 1.9783 7.5014 1.9783C8.35745 1.9783 8.96306 2.24652 9.35823 2.67208C9.75838 3.10299 10 3.75708 10 4.63325V5.99999H5V4.63601ZM4 5.99999V4.63601C4 3.58148 4.29339 2.65754 4.91049 1.99307C5.53252 1.32329 6.42675 0.978302 7.5014 0.978302C8.57583 0.978302 9.46952 1.32233 10.091 1.99162C10.7076 2.65557 11 3.57896 11 4.63325V5.99999H12C12.5523 5.99999 13 6.44771 13 6.99999V13C13 13.5523 12.5523 14 12 14H3C2.44772 14 2 13.5523 2 13V6.99999C2 6.44771 2.44772 5.99999 3 5.99999H4ZM3 6.99999H12V13H3V6.99999Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"}):S.createElement("path",{d:"M9 3.63601C9 2.76044 9.24207 2.11211 9.64154 1.68623C10.0366 1.26502 10.6432 1 11.5014 1C12.4485 1 13.0839 1.30552 13.4722 1.80636C13.8031 2.23312 14 2.84313 14 3.63325H15C15 2.68242 14.7626 1.83856 14.2625 1.19361C13.6389 0.38943 12.6743 0 11.5014 0C10.4294 0 9.53523 0.337871 8.91218 1.0021C8.29351 1.66167 8 2.58135 8 3.63601V6H1C0.447715 6 0 6.44772 0 7V13C0 13.5523 0.447715 14 1 14H10C10.5523 14 11 13.5523 11 13V7C11 6.44772 10.5523 6 10 6H9V3.63601ZM1 7H10V13H1V7Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"}))}function rh({value:e,onUpdate:t,settings:n,innerLabelTrim:r}){const{id:o,setSettings:i}=ht(),{lock:s,locked:l}=n;return S.createElement(BI,{withLock:s},s&&S.createElement(UI,{locked:l,onClick:()=>i({locked:!l})}),Object.keys(e).map((a,u)=>S.createElement(zI,{id:u===0?o:`${o}.${a}`,key:a,valueKey:a,value:e,settings:n[a],onUpdate:t,innerLabelTrim:r})))}const yw=(e,t)=>{const n={};let r=0,o=1/0;Object.entries(e).forEach(([i,s])=>{n[i]=Zx(te({value:s},t[i])).settings,r=Math.max(r,n[i].step),o=Math.min(o,n[i].pad)});for(let i in n){const{step:s,min:l,max:a}=t[i]||{};!isFinite(s)&&(!isFinite(l)||!isFinite(a))&&(n[i].step=r,n[i].pad=o)}return n},HI=["lock"],WI=["value"];function VI(e){const t=jt().array().length(e).every.number(),n=r=>{if(!r||typeof r!="object")return!1;const o=Object.values(r);return o.length===e&&o.every(i=>isFinite(i))};return r=>t.test(r)||n(r)}function GI(e){return Array.isArray(e)?"array":"object"}function As(e,t,n){return GI(e)===t?e:t==="array"?Object.values(e):SD(e,n)}const KI=(e,t,n)=>{const r=As(e,"object",t.keys);for(let s in r)r[s]=Jx(r[s],t[s]);const o=Object.keys(r);let i={};if(o.length===t.keys.length)i=r;else{const s=As(n,"object",t.keys);if(o.length===1&&t.locked){const l=o[0],a=r[l],u=s[l],d=u!==0?a/u:1;for(let f in s)f===l?i[l]=a:i[f]=s[f]*d}else i=te(te({},s),r)}return As(i,t.format,t.keys)},qI=(e,t)=>As(e,"object",t.keys),YI=e=>!!e&&("step"in e||"min"in e||"max"in e);function QI(e,t,n=[]){const{lock:r=!1}=t,o=ge(t,HI),i=Array.isArray(e)?"array":"object",s=i==="object"?Object.keys(e):n,l=As(e,"object",s),a=YI(o)?s.reduce((d,f)=>Object.assign(d,{[f]:o}),{}):o,u=yw(l,a);return{value:i==="array"?e:l,settings:te(te({},u),{},{format:i,keys:s,lock:r,locked:!1})}}function xw(e){return{schema:VI(e.length),normalize:t=>{let{value:n}=t,r=ge(t,WI);return QI(n,r,e)},format:(t,n)=>qI(t,n),sanitize:(t,n,r)=>KI(t,n,r)}}var XI={grad:.9,turn:360,rad:360/(2*Math.PI)},Ln=function(e){return typeof e=="string"?e.length>0:typeof e=="number"},Xe=function(e,t,n){return t===void 0&&(t=0),n===void 0&&(n=Math.pow(10,t)),Math.round(n*e)/n+0},Yt=function(e,t,n){return t===void 0&&(t=0),n===void 0&&(n=1),e>n?n:e>t?e:t},ww=function(e){return(e=isFinite(e)?e%360:0)>0?e:e+360},iv=function(e){return{r:Yt(e.r,0,255),g:Yt(e.g,0,255),b:Yt(e.b,0,255),a:Yt(e.a)}},Ju=function(e){return{r:Xe(e.r),g:Xe(e.g),b:Xe(e.b),a:Xe(e.a,3)}},JI=/^#([0-9a-f]{3,8})$/i,al=function(e){var t=e.toString(16);return t.length<2?"0"+t:t},_w=function(e){var t=e.r,n=e.g,r=e.b,o=e.a,i=Math.max(t,n,r),s=i-Math.min(t,n,r),l=s?i===t?(n-r)/s:i===n?2+(r-t)/s:4+(t-n)/s:0;return{h:60*(l<0?l+6:l),s:i?s/i*100:0,v:i/255*100,a:o}},bw=function(e){var t=e.h,n=e.s,r=e.v,o=e.a;t=t/360*6,n/=100,r/=100;var i=Math.floor(t),s=r*(1-n),l=r*(1-(t-i)*n),a=r*(1-(1-t+i)*n),u=i%6;return{r:255*[r,l,s,s,a,r][u],g:255*[a,r,r,l,s,s][u],b:255*[s,s,a,r,r,l][u],a:o}},sv=function(e){return{h:ww(e.h),s:Yt(e.s,0,100),l:Yt(e.l,0,100),a:Yt(e.a)}},av=function(e){return{h:Xe(e.h),s:Xe(e.s),l:Xe(e.l),a:Xe(e.a,3)}},lv=function(e){return bw((n=(t=e).s,{h:t.h,s:(n*=((r=t.l)<50?r:100-r)/100)>0?2*n/(r+n)*100:0,v:r+n,a:t.a}));var t,n,r},Ms=function(e){return{h:(t=_w(e)).h,s:(o=(200-(n=t.s))*(r=t.v)/100)>0&&o<200?n*r/100/(o<=100?o:200-o)*100:0,l:o/2,a:t.a};var t,n,r,o},ZI=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s*,\s*([+-]?\d*\.?\d+)%\s*,\s*([+-]?\d*\.?\d+)%\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,e5=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s+([+-]?\d*\.?\d+)%\s+([+-]?\d*\.?\d+)%\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,t5=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,n5=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,Ef={string:[[function(e){var t=JI.exec(e);return t?(e=t[1]).length<=4?{r:parseInt(e[0]+e[0],16),g:parseInt(e[1]+e[1],16),b:parseInt(e[2]+e[2],16),a:e.length===4?Xe(parseInt(e[3]+e[3],16)/255,2):1}:e.length===6||e.length===8?{r:parseInt(e.substr(0,2),16),g:parseInt(e.substr(2,2),16),b:parseInt(e.substr(4,2),16),a:e.length===8?Xe(parseInt(e.substr(6,2),16)/255,2):1}:null:null},"hex"],[function(e){var t=t5.exec(e)||n5.exec(e);return t?t[2]!==t[4]||t[4]!==t[6]?null:iv({r:Number(t[1])/(t[2]?100/255:1),g:Number(t[3])/(t[4]?100/255:1),b:Number(t[5])/(t[6]?100/255:1),a:t[7]===void 0?1:Number(t[7])/(t[8]?100:1)}):null},"rgb"],[function(e){var t=ZI.exec(e)||e5.exec(e);if(!t)return null;var n,r,o=sv({h:(n=t[1],r=t[2],r===void 0&&(r="deg"),Number(n)*(XI[r]||1)),s:Number(t[3]),l:Number(t[4]),a:t[5]===void 0?1:Number(t[5])/(t[6]?100:1)});return lv(o)},"hsl"]],object:[[function(e){var t=e.r,n=e.g,r=e.b,o=e.a,i=o===void 0?1:o;return Ln(t)&&Ln(n)&&Ln(r)?iv({r:Number(t),g:Number(n),b:Number(r),a:Number(i)}):null},"rgb"],[function(e){var t=e.h,n=e.s,r=e.l,o=e.a,i=o===void 0?1:o;if(!Ln(t)||!Ln(n)||!Ln(r))return null;var s=sv({h:Number(t),s:Number(n),l:Number(r),a:Number(i)});return lv(s)},"hsl"],[function(e){var t=e.h,n=e.s,r=e.v,o=e.a,i=o===void 0?1:o;if(!Ln(t)||!Ln(n)||!Ln(r))return null;var s=function(l){return{h:ww(l.h),s:Yt(l.s,0,100),v:Yt(l.v,0,100),a:Yt(l.a)}}({h:Number(t),s:Number(n),v:Number(r),a:Number(i)});return bw(s)},"hsv"]]},cv=function(e,t){for(var n=0;n=.5},e.prototype.toHex=function(){return t=Ju(this.rgba),n=t.r,r=t.g,o=t.b,s=(i=t.a)<1?al(Xe(255*i)):"","#"+al(n)+al(r)+al(o)+s;var t,n,r,o,i,s},e.prototype.toRgb=function(){return Ju(this.rgba)},e.prototype.toRgbString=function(){return t=Ju(this.rgba),n=t.r,r=t.g,o=t.b,(i=t.a)<1?"rgba("+n+", "+r+", "+o+", "+i+")":"rgb("+n+", "+r+", "+o+")";var t,n,r,o,i},e.prototype.toHsl=function(){return av(Ms(this.rgba))},e.prototype.toHslString=function(){return t=av(Ms(this.rgba)),n=t.h,r=t.s,o=t.l,(i=t.a)<1?"hsla("+n+", "+r+"%, "+o+"%, "+i+")":"hsl("+n+", "+r+"%, "+o+"%)";var t,n,r,o,i},e.prototype.toHsv=function(){return t=_w(this.rgba),{h:Xe(t.h),s:Xe(t.s),v:Xe(t.v),a:Xe(t.a,3)};var t},e.prototype.invert=function(){return yt({r:255-(t=this.rgba).r,g:255-t.g,b:255-t.b,a:t.a});var t},e.prototype.saturate=function(t){return t===void 0&&(t=.1),yt(Zu(this.rgba,t))},e.prototype.desaturate=function(t){return t===void 0&&(t=.1),yt(Zu(this.rgba,-t))},e.prototype.grayscale=function(){return yt(Zu(this.rgba,-1))},e.prototype.lighten=function(t){return t===void 0&&(t=.1),yt(uv(this.rgba,t))},e.prototype.darken=function(t){return t===void 0&&(t=.1),yt(uv(this.rgba,-t))},e.prototype.rotate=function(t){return t===void 0&&(t=15),this.hue(this.hue()+t)},e.prototype.alpha=function(t){return typeof t=="number"?yt({r:(n=this.rgba).r,g:n.g,b:n.b,a:t}):Xe(this.rgba.a,3);var n},e.prototype.hue=function(t){var n=Ms(this.rgba);return typeof t=="number"?yt({h:t,s:n.s,l:n.l,a:n.a}):Xe(n.h)},e.prototype.isEqual=function(t){return this.toHex()===yt(t).toHex()},e}(),yt=function(e){return e instanceof Cf?e:new Cf(e)},dv=[],o5=function(e){e.forEach(function(t){dv.indexOf(t)<0&&(t(Cf,Ef),dv.push(t))})};function i5(e,t){var n={white:"#ffffff",bisque:"#ffe4c4",blue:"#0000ff",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",antiquewhite:"#faebd7",aqua:"#00ffff",azure:"#f0ffff",whitesmoke:"#f5f5f5",papayawhip:"#ffefd5",plum:"#dda0dd",blanchedalmond:"#ffebcd",black:"#000000",gold:"#ffd700",goldenrod:"#daa520",gainsboro:"#dcdcdc",cornsilk:"#fff8dc",cornflowerblue:"#6495ed",burlywood:"#deb887",aquamarine:"#7fffd4",beige:"#f5f5dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkkhaki:"#bdb76b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",peachpuff:"#ffdab9",darkmagenta:"#8b008b",darkred:"#8b0000",darkorchid:"#9932cc",darkorange:"#ff8c00",darkslateblue:"#483d8b",gray:"#808080",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",deeppink:"#ff1493",deepskyblue:"#00bfff",wheat:"#f5deb3",firebrick:"#b22222",floralwhite:"#fffaf0",ghostwhite:"#f8f8ff",darkviolet:"#9400d3",magenta:"#ff00ff",green:"#008000",dodgerblue:"#1e90ff",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",blueviolet:"#8a2be2",forestgreen:"#228b22",lawngreen:"#7cfc00",indianred:"#cd5c5c",indigo:"#4b0082",fuchsia:"#ff00ff",brown:"#a52a2a",maroon:"#800000",mediumblue:"#0000cd",lightcoral:"#f08080",darkturquoise:"#00ced1",lightcyan:"#e0ffff",ivory:"#fffff0",lightyellow:"#ffffe0",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",linen:"#faf0e6",mediumaquamarine:"#66cdaa",lemonchiffon:"#fffacd",lime:"#00ff00",khaki:"#f0e68c",mediumseagreen:"#3cb371",limegreen:"#32cd32",mediumspringgreen:"#00fa9a",lightskyblue:"#87cefa",lightblue:"#add8e6",midnightblue:"#191970",lightpink:"#ffb6c1",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",mintcream:"#f5fffa",lightslategray:"#778899",lightslategrey:"#778899",navajowhite:"#ffdead",navy:"#000080",mediumvioletred:"#c71585",powderblue:"#b0e0e6",palegoldenrod:"#eee8aa",oldlace:"#fdf5e6",paleturquoise:"#afeeee",mediumturquoise:"#48d1cc",mediumorchid:"#ba55d3",rebeccapurple:"#663399",lightsteelblue:"#b0c4de",mediumslateblue:"#7b68ee",thistle:"#d8bfd8",tan:"#d2b48c",orchid:"#da70d6",mediumpurple:"#9370db",purple:"#800080",pink:"#ffc0cb",skyblue:"#87ceeb",springgreen:"#00ff7f",palegreen:"#98fb98",red:"#ff0000",yellow:"#ffff00",slateblue:"#6a5acd",lavenderblush:"#fff0f5",peru:"#cd853f",palevioletred:"#db7093",violet:"#ee82ee",teal:"#008080",slategray:"#708090",slategrey:"#708090",aliceblue:"#f0f8ff",darkseagreen:"#8fbc8f",darkolivegreen:"#556b2f",greenyellow:"#adff2f",seagreen:"#2e8b57",seashell:"#fff5ee",tomato:"#ff6347",silver:"#c0c0c0",sienna:"#a0522d",lavender:"#e6e6fa",lightgreen:"#90ee90",orange:"#ffa500",orangered:"#ff4500",steelblue:"#4682b4",royalblue:"#4169e1",turquoise:"#40e0d0",yellowgreen:"#9acd32",salmon:"#fa8072",saddlebrown:"#8b4513",sandybrown:"#f4a460",rosybrown:"#bc8f8f",darksalmon:"#e9967a",lightgoldenrodyellow:"#fafad2",snow:"#fffafa",lightgrey:"#d3d3d3",lightgray:"#d3d3d3",dimgray:"#696969",dimgrey:"#696969",olivedrab:"#6b8e23",olive:"#808000"},r={};for(var o in n)r[n[o]]=o;var i={};e.prototype.toName=function(s){if(!(this.rgba.a||this.rgba.r||this.rgba.g||this.rgba.b))return"transparent";var l,a,u=r[this.toHex()];if(u)return u;if(s!=null&&s.closest){var d=this.toRgb(),f=1/0,p="black";if(!i.length)for(var g in n)i[g]=new e(n[g]).toRgb();for(var m in n){var x=(l=d,a=i[m],Math.pow(l.r-a.r,2)+Math.pow(l.g-a.g,2)+Math.pow(l.b-a.b,2));x=0||(o[n]=e[n]);return o}function kf(e){var t=h.useRef(e),n=h.useRef(function(r){t.current&&t.current(r)});return t.current=e,n.current}var Pi=function(e,t,n){return t===void 0&&(t=0),n===void 0&&(n=1),e>n?n:e0:w.buttons>0)&&o.current?i(fv(o.current,w,l.current)):x(!1)},m=function(){return x(!1)};function x(w){var v=a.current,y=jf(o.current),_=w?y.addEventListener:y.removeEventListener;_(v?"touchmove":"mousemove",g),_(v?"touchend":"mouseup",m)}return[function(w){var v=w.nativeEvent,y=o.current;if(y&&(pv(v),!function(C,E){return E&&!Ds(C)}(v,a.current)&&y)){if(Ds(v)){a.current=!0;var _=v.changedTouches||[];_.length&&(l.current=_[0].identifier)}y.focus(),i(fv(y,v,l.current)),x(!0)}},function(w){var v=w.which||w.keyCode;v<37||v>40||(w.preventDefault(),s({left:v===39?.05:v===37?-.05:0,top:v===40?.05:v===38?-.05:0}))},x]},[s,i]),d=u[0],f=u[1],p=u[2];return h.useEffect(function(){return p},[p]),S.createElement("div",Hi({},r,{onTouchStart:d,onMouseDown:d,className:"react-colorful__interactive",ref:o,onKeyDown:f,tabIndex:0,role:"slider"}))}),$a=function(e){return e.filter(Boolean).join(" ")},sh=function(e){var t=e.color,n=e.left,r=e.top,o=r===void 0?.5:r,i=$a(["react-colorful__pointer",e.className]);return S.createElement("div",{className:i,style:{top:100*o+"%",left:100*n+"%"}},S.createElement("div",{className:"react-colorful__pointer-fill",style:{backgroundColor:t}}))},wt=function(e,t,n){return t===void 0&&(t=0),n===void 0&&(n=Math.pow(10,t)),Math.round(n*e)/n},Ew=function(e){var t=e.s,n=e.v,r=e.a,o=(200-t)*n/100;return{h:wt(e.h),s:wt(o>0&&o<200?t*n/100/(o<=100?o:200-o)*100:0),l:wt(o/2),a:wt(r,2)}},$f=function(e){var t=Ew(e);return"hsl("+t.h+", "+t.s+"%, "+t.l+"%)"},td=function(e){var t=Ew(e);return"hsla("+t.h+", "+t.s+"%, "+t.l+"%, "+t.a+")"},Cw=function(e){var t=e.h,n=e.s,r=e.v,o=e.a;t=t/360*6,n/=100,r/=100;var i=Math.floor(t),s=r*(1-n),l=r*(1-(t-i)*n),a=r*(1-(1-t+i)*n),u=i%6;return{r:wt(255*[r,l,s,s,a,r][u]),g:wt(255*[a,r,r,l,s,s][u]),b:wt(255*[s,s,a,r,r,l][u]),a:wt(o,2)}},kw=function(e){var t=e.r,n=e.g,r=e.b,o=e.a,i=Math.max(t,n,r),s=i-Math.min(t,n,r),l=s?i===t?(n-r)/s:i===n?2+(r-t)/s:4+(t-n)/s:0;return{h:wt(60*(l<0?l+6:l)),s:wt(i?s/i*100:0),v:wt(i/255*100),a:o}},jw=S.memo(function(e){var t=e.hue,n=e.onChange,r=$a(["react-colorful__hue",e.className]);return S.createElement("div",{className:r},S.createElement(ih,{onMove:function(o){n({h:360*o.left})},onKey:function(o){n({h:Pi(t+360*o.left,0,360)})},"aria-label":"Hue","aria-valuenow":wt(t),"aria-valuemax":"360","aria-valuemin":"0"},S.createElement(sh,{className:"react-colorful__hue-pointer",left:t/360,color:$f({h:t,s:100,v:100,a:1})})))}),$w=S.memo(function(e){var t=e.hsva,n=e.onChange,r={backgroundColor:$f({h:t.h,s:100,v:100,a:1})};return S.createElement("div",{className:"react-colorful__saturation",style:r},S.createElement(ih,{onMove:function(o){n({s:100*o.left,v:100-100*o.top})},onKey:function(o){n({s:Pi(t.s+100*o.left,0,100),v:Pi(t.v-100*o.top,0,100)})},"aria-label":"Color","aria-valuetext":"Saturation "+wt(t.s)+"%, Brightness "+wt(t.v)+"%"},S.createElement(sh,{className:"react-colorful__saturation-pointer",top:1-t.v/100,left:t.s/100,color:$f(t)})))}),ah=function(e,t){if(e===t)return!0;for(var n in e)if(e[n]!==t[n])return!1;return!0};function Rw(e,t,n){var r=kf(n),o=h.useState(function(){return e.toHsva(t)}),i=o[0],s=o[1],l=h.useRef({color:t,hsva:i});h.useEffect(function(){if(!e.equal(t,l.current.color)){var u=e.toHsva(t);l.current={hsva:u,color:t},s(u)}},[t,e]),h.useEffect(function(){var u;ah(i,l.current.hsva)||e.equal(u=e.fromHsva(i),l.current.color)||(l.current={hsva:i,color:u},r(u))},[i,e,r]);var a=h.useCallback(function(u){s(function(d){return Object.assign({},d,u)})},[]);return[i,a]}var s5=typeof window<"u"?h.useLayoutEffect:h.useEffect,a5=function(){return typeof __webpack_nonce__<"u"?__webpack_nonce__:void 0},hv=new Map,Tw=function(e){s5(function(){var t=e.current?e.current.ownerDocument:document;if(t!==void 0&&!hv.has(t)){var n=t.createElement("style");n.innerHTML=`.react-colorful{position:relative;display:flex;flex-direction:column;width:200px;height:200px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.react-colorful__saturation{position:relative;flex-grow:1;border-color:transparent;border-bottom:12px solid #000;border-radius:8px 8px 0 0;background-image:linear-gradient(0deg,#000,transparent),linear-gradient(90deg,#fff,hsla(0,0%,100%,0))}.react-colorful__alpha-gradient,.react-colorful__pointer-fill{content:"";position:absolute;left:0;top:0;right:0;bottom:0;pointer-events:none;border-radius:inherit}.react-colorful__alpha-gradient,.react-colorful__saturation{box-shadow:inset 0 0 0 1px rgba(0,0,0,.05)}.react-colorful__alpha,.react-colorful__hue{position:relative;height:24px}.react-colorful__hue{background:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.react-colorful__last-control{border-radius:0 0 8px 8px}.react-colorful__interactive{position:absolute;left:0;top:0;right:0;bottom:0;border-radius:inherit;outline:none;touch-action:none}.react-colorful__pointer{position:absolute;z-index:1;box-sizing:border-box;width:28px;height:28px;transform:translate(-50%,-50%);background-color:#fff;border:2px solid #fff;border-radius:50%;box-shadow:0 2px 4px rgba(0,0,0,.2)}.react-colorful__interactive:focus .react-colorful__pointer{transform:translate(-50%,-50%) scale(1.1)}.react-colorful__alpha,.react-colorful__alpha-pointer{background-color:#fff;background-image:url('data:image/svg+xml;charset=utf-8,')}.react-colorful__saturation-pointer{z-index:3}.react-colorful__hue-pointer{z-index:2}`,hv.set(t,n);var r=a5();r&&n.setAttribute("nonce",r),t.head.appendChild(n)}},[])},l5=function(e){var t=e.className,n=e.colorModel,r=e.color,o=r===void 0?n.defaultColor:r,i=e.onChange,s=oh(e,["className","colorModel","color","onChange"]),l=h.useRef(null);Tw(l);var a=Rw(n,o,i),u=a[0],d=a[1],f=$a(["react-colorful",t]);return S.createElement("div",Hi({},s,{ref:l,className:f}),S.createElement($w,{hsva:u,onChange:d}),S.createElement(jw,{hue:u.h,onChange:d,className:"react-colorful__last-control"}))},c5=function(e){var t=e.className,n=e.hsva,r=e.onChange,o={backgroundImage:"linear-gradient(90deg, "+td(Object.assign({},n,{a:0}))+", "+td(Object.assign({},n,{a:1}))+")"},i=$a(["react-colorful__alpha",t]),s=wt(100*n.a);return S.createElement("div",{className:i},S.createElement("div",{className:"react-colorful__alpha-gradient",style:o}),S.createElement(ih,{onMove:function(l){r({a:l.left})},onKey:function(l){r({a:Pi(n.a+l.left)})},"aria-label":"Alpha","aria-valuetext":s+"%","aria-valuenow":s,"aria-valuemin":"0","aria-valuemax":"100"},S.createElement(sh,{className:"react-colorful__alpha-pointer",left:n.a,color:td(n)})))},u5=function(e){var t=e.className,n=e.colorModel,r=e.color,o=r===void 0?n.defaultColor:r,i=e.onChange,s=oh(e,["className","colorModel","color","onChange"]),l=h.useRef(null);Tw(l);var a=Rw(n,o,i),u=a[0],d=a[1],f=$a(["react-colorful",t]);return S.createElement("div",Hi({},s,{ref:l,className:f}),S.createElement($w,{hsva:u,onChange:d}),S.createElement(jw,{hue:u.h,onChange:d}),S.createElement(c5,{hsva:u,onChange:d,className:"react-colorful__last-control"}))},d5={defaultColor:{r:0,g:0,b:0,a:1},toHsva:kw,fromHsva:Cw,equal:ah},f5=function(e){return S.createElement(u5,Hi({},e,{colorModel:d5}))},p5={defaultColor:{r:0,g:0,b:0},toHsva:function(e){return kw({r:e.r,g:e.g,b:e.b,a:1})},fromHsva:function(e){return{r:(t=Cw(e)).r,g:t.g,b:t.b};var t},equal:ah},h5=function(e){return S.createElement(l5,Hi({},e,{colorModel:p5}))},Nw={exports:{}},m5="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",g5=m5,v5=g5;function Pw(){}function Ow(){}Ow.resetWarningCache=Pw;var y5=function(){function e(r,o,i,s,l,a){if(a!==v5){var u=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw u.name="Invariant Violation",u}}e.isRequired=e;function t(){return e}var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:Ow,resetWarningCache:Pw};return n.PropTypes=n,n};Nw.exports=y5();var x5=Nw.exports;const we=$c(x5);function Wi(e,t,n,r){function o(i){return i instanceof n?i:new n(function(s){s(i)})}return new(n||(n=Promise))(function(i,s){function l(d){try{u(r.next(d))}catch(f){s(f)}}function a(d){try{u(r.throw(d))}catch(f){s(f)}}function u(d){d.done?i(d.value):o(d.value).then(l,a)}u((r=r.apply(e,t||[])).next())})}function Vi(e,t){var n={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},r,o,i,s;return s={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function l(u){return function(d){return a([u,d])}}function a(u){if(r)throw new TypeError("Generator is already executing.");for(;s&&(s=0,u[0]&&(n=0)),n;)try{if(r=1,o&&(i=u[0]&2?o.return:u[0]?o.throw||((i=o.return)&&i.call(o),0):o.next)&&!(i=i.call(o,u[1])).done)return i;switch(o=0,i&&(u=[u[0]&2,i.value]),u[0]){case 0:case 1:i=u;break;case 4:return n.label++,{value:u[1],done:!1};case 5:n.label++,o=u[1],u=[0];continue;case 7:u=n.ops.pop(),n.trys.pop();continue;default:if(i=n.trys,!(i=i.length>0&&i[i.length-1])&&(u[0]===6||u[0]===2)){n=0;continue}if(u[0]===3&&(!i||u[1]>i[0]&&u[1]0)&&!(o=r.next()).done;)i.push(o.value)}catch(l){s={error:l}}finally{try{o&&!o.done&&(n=r.return)&&n.call(r)}finally{if(s)throw s.error}}return i}function _5(){for(var e=[],t=0;t0?r:e.name,writable:!1,configurable:!1,enumerable:!0})}return n}function S5(e){var t=e.name,n=t&&t.lastIndexOf(".")!==-1;if(n&&!e.type){var r=t.split(".").pop().toLowerCase(),o=b5.get(r);o&&Object.defineProperty(e,"type",{value:o,writable:!1,configurable:!1,enumerable:!0})}return e}var E5=[".DS_Store","Thumbs.db"];function C5(e){return Wi(this,void 0,void 0,function(){return Vi(this,function(t){return bc(e)&&k5(e)?[2,T5(e.dataTransfer,e.type)]:j5(e)?[2,$5(e)]:Array.isArray(e)&&e.every(function(n){return"getFile"in n&&typeof n.getFile=="function"})?[2,R5(e)]:[2,[]]})})}function k5(e){return bc(e.dataTransfer)}function j5(e){return bc(e)&&bc(e.target)}function bc(e){return typeof e=="object"&&e!==null}function $5(e){return Rf(e.target.files).map(function(t){return Ra(t)})}function R5(e){return Wi(this,void 0,void 0,function(){var t;return Vi(this,function(n){switch(n.label){case 0:return[4,Promise.all(e.map(function(r){return r.getFile()}))];case 1:return t=n.sent(),[2,t.map(function(r){return Ra(r)})]}})})}function T5(e,t){return Wi(this,void 0,void 0,function(){var n,r;return Vi(this,function(o){switch(o.label){case 0:return e===null?[2,[]]:e.items?(n=Rf(e.items).filter(function(i){return i.kind==="file"}),t!=="drop"?[2,n]:[4,Promise.all(n.map(N5))]):[3,2];case 1:return r=o.sent(),[2,mv(Aw(r))];case 2:return[2,mv(Rf(e.files).map(function(i){return Ra(i)}))]}})})}function mv(e){return e.filter(function(t){return E5.indexOf(t.name)===-1})}function Rf(e){if(e===null)return[];for(var t=[],n=0;ne.length)&&(t=e.length);for(var n=0,r=new Array(t);nn)return[!1,_v(n)];if(e.sizen)return[!1,_v(n)]}return[!0,null]}function hs(e){return e!=null}function V5(e){var t=e.files,n=e.accept,r=e.minSize,o=e.maxSize,i=e.multiple,s=e.maxFiles;return!i&&t.length>1||i&&s>=1&&t.length>s?!1:t.every(function(l){var a=Iw(l,n),u=xv(a,1),d=u[0],f=Lw(l,r,o),p=xv(f,1),g=p[0];return d&&g})}function Sc(e){return typeof e.isPropagationStopped=="function"?e.isPropagationStopped():typeof e.cancelBubble<"u"?e.cancelBubble:!1}function ll(e){return e.dataTransfer?Array.prototype.some.call(e.dataTransfer.types,function(t){return t==="Files"||t==="application/x-moz-file"}):!!e.target&&!!e.target.files}function Sv(e){e.preventDefault()}function G5(e){return e.indexOf("MSIE")!==-1||e.indexOf("Trident/")!==-1}function K5(e){return e.indexOf("Edge/")!==-1}function q5(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:window.navigator.userAgent;return G5(e)||K5(e)}function bn(){for(var e=arguments.length,t=new Array(e),n=0;n1?o-1:0),s=1;se.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function u4(e,t){if(e==null)return{};var n={},r=Object.keys(e),o,i;for(i=0;i=0)&&(n[o]=e[o]);return n}var lh=h.forwardRef(function(e,t){var n=e.children,r=Ec(e,Z5),o=Bw(r),i=o.open,s=Ec(o,e4);return h.useImperativeHandle(t,function(){return{open:i}},[i]),S.createElement(h.Fragment,null,n($e($e({},s),{},{open:i})))});lh.displayName="Dropzone";var zw={disabled:!1,getFilesFromEvent:C5,maxSize:1/0,minSize:0,multiple:!0,maxFiles:0,preventDropOnDocument:!0,noClick:!1,noKeyboard:!1,noDrag:!1,noDragEventsBubbling:!1,validator:null,useFsAccessApi:!0};lh.defaultProps=zw;lh.propTypes={children:we.func,accept:we.oneOfType([we.string,we.arrayOf(we.string)]),multiple:we.bool,preventDropOnDocument:we.bool,noClick:we.bool,noKeyboard:we.bool,noDrag:we.bool,noDragEventsBubbling:we.bool,minSize:we.number,maxSize:we.number,maxFiles:we.number,disabled:we.bool,getFilesFromEvent:we.func,onFileDialogCancel:we.func,onFileDialogOpen:we.func,useFsAccessApi:we.bool,onDragEnter:we.func,onDragLeave:we.func,onDragOver:we.func,onDrop:we.func,onDropAccepted:we.func,onDropRejected:we.func,validator:we.func};var Pf={isFocused:!1,isFileDialogActive:!1,isDragActive:!1,isDragAccept:!1,isDragReject:!1,draggedFiles:[],acceptedFiles:[],fileRejections:[]};function Bw(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=$e($e({},zw),e),n=t.accept,r=t.disabled,o=t.getFilesFromEvent,i=t.maxSize,s=t.minSize,l=t.multiple,a=t.maxFiles,u=t.onDragEnter,d=t.onDragLeave,f=t.onDragOver,p=t.onDrop,g=t.onDropAccepted,m=t.onDropRejected,x=t.onFileDialogCancel,w=t.onFileDialogOpen,v=t.useFsAccessApi,y=t.preventDropOnDocument,_=t.noClick,C=t.noKeyboard,E=t.noDrag,b=t.noDragEventsBubbling,k=t.validator,j=h.useMemo(function(){return typeof w=="function"?w:Cv},[w]),P=h.useMemo(function(){return typeof x=="function"?x:Cv},[x]),N=h.useRef(null),M=h.useRef(null),I=h.useReducer(d4,Pf),U=nd(I,2),z=U[0],q=U[1],K=z.isFocused,Y=z.isFileDialogActive,L=z.draggedFiles,W=h.useRef(typeof window<"u"&&window.isSecureContext&&v&&Y5()),X=function(){!W.current&&Y&&setTimeout(function(){if(M.current){var ee=M.current.files;ee.length||(q({type:"closeDialog"}),P())}},300)};h.useEffect(function(){return window.addEventListener("focus",X,!1),function(){window.removeEventListener("focus",X,!1)}},[M,Y,P,W]);var ne=h.useRef([]),fe=function(ee){N.current&&N.current.contains(ee.target)||(ee.preventDefault(),ne.current=[])};h.useEffect(function(){return y&&(document.addEventListener("dragover",Sv,!1),document.addEventListener("drop",fe,!1)),function(){y&&(document.removeEventListener("dragover",Sv),document.removeEventListener("drop",fe))}},[N,y]);var ot=h.useCallback(function(H){H.preventDefault(),H.persist(),Mn(H),ne.current=[].concat(r4(ne.current),[H.target]),ll(H)&&Promise.resolve(o(H)).then(function(ee){Sc(H)&&!b||(q({draggedFiles:ee,isDragActive:!0,type:"setDraggedFiles"}),u&&u(H))})},[o,u,b]),Ae=h.useCallback(function(H){H.preventDefault(),H.persist(),Mn(H);var ee=ll(H);if(ee&&H.dataTransfer)try{H.dataTransfer.dropEffect="copy"}catch{}return ee&&f&&f(H),!1},[f,b]),Ue=h.useCallback(function(H){H.preventDefault(),H.persist(),Mn(H);var ee=ne.current.filter(function(Ze){return N.current&&N.current.contains(Ze)}),je=ee.indexOf(H.target);je!==-1&&ee.splice(je,1),ne.current=ee,!(ee.length>0)&&(q({isDragActive:!1,type:"setDraggedFiles",draggedFiles:[]}),ll(H)&&d&&d(H))},[N,d,b]),ve=h.useCallback(function(H,ee){var je=[],Ze=[];H.forEach(function(st){var Gr=Iw(st,n),mt=nd(Gr,2),Eo=mt[0],Co=mt[1],ko=Lw(st,s,i),jo=nd(ko,2),$o=jo[0],ar=jo[1],Ro=k?k(st):null;if(Eo&&$o&&!Ro)je.push(st);else{var Kr=[Co,ar];Ro&&(Kr=Kr.concat(Ro)),Ze.push({file:st,errors:Kr.filter(function(ou){return ou})})}}),(!l&&je.length>1||l&&a>=1&&je.length>a)&&(je.forEach(function(st){Ze.push({file:st,errors:[W5]})}),je.splice(0)),q({acceptedFiles:je,fileRejections:Ze,type:"setFiles"}),p&&p(je,Ze,ee),Ze.length>0&&m&&m(Ze,ee),je.length>0&&g&&g(je,ee)},[q,l,n,s,i,a,p,g,m,k]),it=h.useCallback(function(H){H.preventDefault(),H.persist(),Mn(H),ne.current=[],ll(H)&&Promise.resolve(o(H)).then(function(ee){Sc(H)&&!b||ve(ee,H)}),q({type:"reset"})},[o,ve,b]),vn=h.useCallback(function(){if(W.current){q({type:"openDialog"}),j();var H={multiple:l,types:Q5(n)};window.showOpenFilePicker(H).then(function(ee){return o(ee)}).then(function(ee){ve(ee,null),q({type:"closeDialog"})}).catch(function(ee){X5(ee)?(P(ee),q({type:"closeDialog"})):J5(ee)&&(W.current=!1,M.current&&(M.current.value=null,M.current.click()))});return}M.current&&(q({type:"openDialog"}),j(),M.current.value=null,M.current.click())},[q,j,P,v,ve,n,l]),An=h.useCallback(function(H){!N.current||!N.current.isEqualNode(H.target)||(H.key===" "||H.key==="Enter"||H.keyCode===32||H.keyCode===13)&&(H.preventDefault(),vn())},[N,vn]),bo=h.useCallback(function(){q({type:"focus"})},[]),Ge=h.useCallback(function(){q({type:"blur"})},[]),yn=h.useCallback(function(){_||(q5()?setTimeout(vn,0):vn())},[_,vn]),nn=function(ee){return r?null:ee},Vr=function(ee){return C?null:nn(ee)},Ke=function(ee){return E?null:nn(ee)},Mn=function(ee){b&&ee.stopPropagation()},Gi=h.useMemo(function(){return function(){var H=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},ee=H.refKey,je=ee===void 0?"ref":ee,Ze=H.role,st=H.onKeyDown,Gr=H.onFocus,mt=H.onBlur,Eo=H.onClick,Co=H.onDragEnter,ko=H.onDragOver,jo=H.onDragLeave,$o=H.onDrop,ar=Ec(H,t4);return $e($e(Nf({onKeyDown:Vr(bn(st,An)),onFocus:Vr(bn(Gr,bo)),onBlur:Vr(bn(mt,Ge)),onClick:nn(bn(Eo,yn)),onDragEnter:Ke(bn(Co,ot)),onDragOver:Ke(bn(ko,Ae)),onDragLeave:Ke(bn(jo,Ue)),onDrop:Ke(bn($o,it)),role:typeof Ze=="string"&&Ze!==""?Ze:"button"},je,N),!r&&!C?{tabIndex:0}:{}),ar)}},[N,An,bo,Ge,yn,ot,Ae,Ue,it,C,E,r]),Ki=h.useCallback(function(H){H.stopPropagation()},[]),qi=h.useMemo(function(){return function(){var H=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},ee=H.refKey,je=ee===void 0?"ref":ee,Ze=H.onChange,st=H.onClick,Gr=Ec(H,n4),mt=Nf({accept:n,multiple:l,type:"file",style:{display:"none"},onChange:nn(bn(Ze,it)),onClick:nn(bn(st,Ki)),tabIndex:-1},je,M);return $e($e({},mt),Gr)}},[M,n,l,it,r]),So=L.length,Nt=So>0&&V5({files:L,accept:n,minSize:s,maxSize:i,multiple:l,maxFiles:a}),Na=So>0&&!Nt;return $e($e({},z),{},{isDragAccept:Nt,isDragReject:Na,isFocused:K&&!r,getRootProps:Gi,getInputProps:qi,rootRef:N,inputRef:M,open:nn(vn)})}function d4(e,t){switch(t.type){case"focus":return $e($e({},e),{},{isFocused:!0});case"blur":return $e($e({},e),{},{isFocused:!1});case"openDialog":return $e($e({},Pf),{},{isFileDialogActive:!0});case"closeDialog":return $e($e({},e),{},{isFileDialogActive:!1});case"setDraggedFiles":var n=t.isDragActive,r=t.draggedFiles;return $e($e({},e),{},{draggedFiles:r,isDragActive:n});case"setFiles":return $e($e({},e),{},{acceptedFiles:t.acceptedFiles,fileRejections:t.fileRejections});case"reset":return $e({},Pf);default:return e}}function Cv(){}function f4(e){let t;const n=new Set,r=(u,d)=>{const f=typeof u=="function"?u(t):u;if(f!==t){const p=t;t=d?f:Object.assign({},t,f),n.forEach(g=>g(t,p))}},o=()=>t,i=(u,d=o,f=Object.is)=>{console.warn("[DEPRECATED] Please use `subscribeWithSelector` middleware");let p=d(t);function g(){const m=d(t);if(!f(p,m)){const x=p;u(p=m,x)}}return n.add(g),()=>n.delete(g)},a={setState:r,getState:o,subscribe:(u,d,f)=>d||f?i(u,d,f):(n.add(u),()=>n.delete(u)),destroy:()=>n.clear()};return t=e(r,o,a),a}const p4=typeof window>"u"||!window.navigator||/ServerSideRendering|^Deno\//.test(window.navigator.userAgent),kv=p4?h.useEffect:h.useLayoutEffect;function h4(e){const t=typeof e=="function"?f4(e):e,n=(r=t.getState,o=Object.is)=>{const[,i]=h.useReducer(w=>w+1,0),s=t.getState(),l=h.useRef(s),a=h.useRef(r),u=h.useRef(o),d=h.useRef(!1),f=h.useRef();f.current===void 0&&(f.current=r(s));let p,g=!1;(l.current!==s||a.current!==r||u.current!==o||d.current)&&(p=r(s),g=!o(f.current,p)),kv(()=>{g&&(f.current=p),l.current=s,a.current=r,u.current=o,d.current=!1});const m=h.useRef(s);kv(()=>{const w=()=>{try{const y=t.getState(),_=a.current(y);u.current(f.current,_)||(l.current=y,f.current=_,i())}catch{d.current=!0,i()}},v=t.subscribe(w);return t.getState()!==m.current&&w(),v},[]);const x=g?p:f.current;return h.useDebugValue(x),x};return Object.assign(n,t),n[Symbol.iterator]=function(){console.warn("[useStore, api] = create() is deprecated and will be removed in v4");const r=[n,t];return{next(){const o=r.length<=0;return{value:r.shift(),done:o}}}},n}const m4=e=>(t,n,r)=>{const o=r.subscribe;return r.subscribe=(s,l,a)=>{let u=s;if(l){const d=(a==null?void 0:a.equalityFn)||Object.is;let f=s(r.getState());u=p=>{const g=s(p);if(!d(f,g)){const m=f;l(f=g,m)}},a!=null&&a.fireImmediately&&l(f,f)}return o(u)},e(t,n,r)};/*! * isobject * * Copyright (c) 2014-2017, Jon Schlinkert. @@ -92,49 +92,49 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho * * Copyright (c) 2014-2017, Jon Schlinkert. * Released under the MIT License. - */var m4=Uw;function jv(e){return m4(e)===!0&&Object.prototype.toString.call(e)==="[object Object]"}var g4=function(t){var n,r;return!(jv(t)===!1||(n=t.constructor,typeof n!="function")||(r=n.prototype,jv(r)===!1)||r.hasOwnProperty("isPrototypeOf")===!1)};/*! + */var g4=Uw;function jv(e){return g4(e)===!0&&Object.prototype.toString.call(e)==="[object Object]"}var v4=function(t){var n,r;return!(jv(t)===!1||(n=t.constructor,typeof n!="function")||(r=n.prototype,jv(r)===!1)||r.hasOwnProperty("isPrototypeOf")===!1)};/*! * is-extendable * * Copyright (c) 2015-2017, Jon Schlinkert. * Released under the MIT License. - */var v4=g4,ch=function(t){return v4(t)||typeof t=="function"||Array.isArray(t)};/*! + */var y4=v4,ch=function(t){return y4(t)||typeof t=="function"||Array.isArray(t)};/*! * for-in * * Copyright (c) 2014-2017, Jon Schlinkert. * Released under the MIT License. - */var y4=function(t,n,r){for(var o in t)if(n.call(r,t[o],o,t)===!1)break},x4=ch,w4=y4;function Hw(e,t){for(var n=arguments.length,r=0;++r * * Copyright (c) 2014-2015, Jon Schlinkert. * Licensed under the MIT License. - */var E4=function(e,t,n,r,o){if(!C4(e)||!t)return e;if(t=ll(t),n&&(t+="."+ll(n)),r&&(t+="."+ll(r)),o&&(t+="."+ll(o)),t in e)return e[t];for(var i=t.split("."),s=i.length,l=-1;e&&++l * * Copyright (c) 2015, Jon Schlinkert. * Licensed under the MIT License. - */var k4=function(e,t){if(e===null||typeof e>"u")throw new TypeError("expected first argument to be an object.");if(typeof t>"u"||typeof Symbol>"u"||typeof Object.getOwnPropertySymbols!="function")return e;for(var n=Object.prototype.propertyIsEnumerable,r=Object(e),o=arguments.length,i=0;++i"u")throw new TypeError("Cannot convert undefined or null to object");$v(e)||(e={});for(var t=1;t"u")throw new TypeError("expected first argument to be an object.");if(typeof t>"u"||typeof Symbol>"u"||typeof Object.getOwnPropertySymbols!="function")return e;for(var n=Object.prototype.propertyIsEnumerable,r=Object(e),o=arguments.length,i=0;++i"u")throw new TypeError("Cannot convert undefined or null to object");$v(e)||(e={});for(var t=1;t * * Copyright (c) 2015-2017, Jon Schlinkert. * Released under the MIT License. - */var A4=R4,M4=function(e,t,n){if(typeof e!="string")throw new TypeError("expected a string");typeof t=="function"&&(n=t,t=null),typeof t=="string"&&(t={sep:t});var r=A4({sep:"."},t),o=r.quotes||['"',"'","`"],i;r.brackets===!0?i={"<":">","(":")","[":"]","{":"}"}:r.brackets&&(i=r.brackets);var s=[],l=[],a=[""],u=r.sep,d=e.length,f=-1,p;function g(){if(i&&l.length)return i[l[l.length-1]]}for(;++f","(":")","[":"]","{":"}"}:r.brackets&&(i=r.brackets);var s=[],l=[],a=[""],u=r.sep,d=e.length,f=-1,p;function g(){if(i&&l.length)return i[l[l.length-1]]}for(;++f * * Copyright (c) 2015, Jon Schlinkert. * Licensed under the MIT License. - */var L4=function(t){return typeof t<"u"&&t!==null&&(typeof t=="object"||typeof t=="function")},Rv=L4,F4=function(t){Rv(t)||(t={});for(var n=arguments.length,r=1;r * * Copyright (c) 2014-2017, Jon Schlinkert. * Released under the MIT License. - */var U4=Uw;function Tv(e){return U4(e)===!0&&Object.prototype.toString.call(e)==="[object Object]"}var H4=function(t){var n,r;return!(Tv(t)===!1||(n=t.constructor,typeof n!="function")||(r=n.prototype,Tv(r)===!1)||r.hasOwnProperty("isPrototypeOf")===!1)};/*! + */var H4=Uw;function Tv(e){return H4(e)===!0&&Object.prototype.toString.call(e)==="[object Object]"}var W4=function(t){var n,r;return!(Tv(t)===!1||(n=t.constructor,typeof n!="function")||(r=n.prototype,Tv(r)===!1)||r.hasOwnProperty("isPrototypeOf")===!1)};/*! * is-extendable * * Copyright (c) 2015, Jon Schlinkert. * Licensed under the MIT License. - */var W4=function(t){return typeof t<"u"&&t!==null&&(typeof t=="object"||typeof t=="function")};/*! + */var V4=function(t){return typeof t<"u"&&t!==null&&(typeof t=="object"||typeof t=="function")};/*! * set-value * * Copyright (c) 2014-2015, 2017, Jon Schlinkert. * Released under the MIT License. - */var V4=M4,G4=F4,Nv=H4,Pv=W4,K4=function(e,t,n){if(!Pv(e)||(Array.isArray(t)&&(t=[].concat.apply([],t).join(".")),typeof t!="string"))return e;for(var r=V4(t,{sep:".",brackets:!0}).filter(q4),o=r.length,i=-1,s=e;++ie.filter(Boolean).join(".");function J4(e){const t=e.split(".");return[t.pop(),t.join(".")||void 0]}function Z4(e,t){return Object.entries(wD(e,t)).reduce((n,[,{value:r,disabled:o,key:i}])=>(n[i]=o?void 0:r,n),{})}function eL(e,t){const n=h.useRef();return(t?sa:_a)(e,n.current)||(n.current=e),n.current}function Ww(e,t){return h.useMemo(e,eL(t,!0))}function tL(e){const t=h.useRef(null),n=h.useRef(null),r=h.useRef(!0);return h.useLayoutEffect(()=>{e||(t.current.style.height="0px",t.current.style.overflow="hidden")},[]),h.useEffect(()=>{if(r.current){r.current=!1;return}let o;const i=t.current,s=()=>{e&&(i.style.removeProperty("height"),i.style.removeProperty("overflow"),n.current.scrollIntoView({behavior:"smooth",block:"nearest"}))};i.addEventListener("transitionend",s,{once:!0});const{height:l}=n.current.getBoundingClientRect();return i.style.height=l+"px",e||(i.style.overflow="hidden",o=window.setTimeout(()=>i.style.height="0px",50)),()=>{i.removeEventListener("transitionend",s),clearTimeout(o)}},[e]),{wrapperRef:t,contentRef:n}}const nL=e=>{const[t,n]=h.useState(e.getVisiblePaths());return h.useEffect(()=>{n(e.getVisiblePaths());const r=e.useStore.subscribe(e.getVisiblePaths,n,{equalityFn:_a});return()=>r()},[e]),t};function rL(e,t,n){return e.useStore(o=>{const i=te(te({},n),o.data);return Z4(i,t)},_a)}function Vw(e=3){const t=h.useRef(null),n=h.useRef(null),[r,o]=h.useState(!1),i=h.useCallback(()=>o(!0),[]),s=h.useCallback(()=>o(!1),[]);return h.useLayoutEffect(()=>{if(r){const{bottom:l,top:a,left:u}=t.current.getBoundingClientRect(),{height:d}=n.current.getBoundingClientRect(),f=l+d>window.innerHeight-40?"up":"down";n.current.style.position="fixed",n.current.style.zIndex="10000",n.current.style.left=u+"px",f==="down"?n.current.style.top=l+e+"px":n.current.style.bottom=window.innerHeight-a+e+"px"}},[e,r]),{popinRef:t,wrapperRef:n,shown:r,show:i,hide:s}}r5([o5]);const oL={rgb:"toRgb",hsl:"toHsl",hsv:"toHsv",hex:"toHex"};jt.extend({color:()=>e=>yt(e).isValid()});const iL=e=>jt().color().test(e);function Gw(e,{format:t,hasAlpha:n,isString:r}){const o=oL[t]+(r&&t!=="hex"?"String":""),i=e[o]();return typeof i=="object"&&!n?_D(i,["a"]):i}const Kw=(e,t)=>{const n=yt(e);if(!n.isValid())throw Error("Invalid color");return Gw(n,t)},sL=(e,t)=>Gw(yt(e),te(te({},t),{},{isString:!0,format:"hex"})),aL=({value:e})=>{const t=n5(e),n=t==="name"?"hex":t,r=typeof e=="object"?"a"in e:t==="hex"&&e.length===8||/^(rgba)|(hsla)|(hsva)/.test(e),o={format:n,hasAlpha:r,isString:typeof e=="string"};return{value:Kw(e,o),settings:o}};var lL=Object.freeze({__proto__:null,schema:iL,sanitize:Kw,format:sL,normalize:aL});const cL=Z("div",{position:"relative",boxSizing:"border-box",borderRadius:"$sm",overflow:"hidden",cursor:"pointer",height:"$rowHeight",width:"$rowHeight",backgroundColor:"#fff",backgroundImage:`url('data:image/svg+xml;charset=utf-8,')`,$inputStyle:"",$hover:"",zIndex:1,variants:{active:{true:{$inputStyle:"$accent1"}}},"&::before":{content:'""',position:"absolute",top:0,bottom:0,right:0,left:0,backgroundColor:"currentColor",zIndex:1}}),uL=Z("div",{position:"relative",display:"grid",gridTemplateColumns:"$sizes$rowHeight auto",columnGap:"$colGap",alignItems:"center"}),dL=Z("div",{width:"$colorPickerWidth",height:"$colorPickerHeight",".react-colorful":{width:"100%",height:"100%",boxShadow:"$level2",cursor:"crosshair"},".react-colorful__saturation":{borderRadius:"$sm $sm 0 0"},".react-colorful__alpha, .react-colorful__hue":{height:10},".react-colorful__last-control":{borderRadius:"0 0 $sm $sm"},".react-colorful__pointer":{height:12,width:12}});function Mv(e,t){return t!=="rgb"?yt(e).toRgb():e}function fL({value:e,displayValue:t,settings:n,onUpdate:r}){const{emitOnEditStart:o,emitOnEditEnd:i}=ht(),{format:s,hasAlpha:l}=n,{popinRef:a,wrapperRef:u,shown:d,show:f,hide:p}=Vw(),g=h.useRef(0),[m,x]=h.useState(()=>Mv(e,s)),w=l?d5:p5,v=()=>{x(Mv(e,s)),f(),o()},y=()=>{p(),i(),window.clearTimeout(g.current)},_=()=>{g.current=window.setTimeout(y,500)};return h.useEffect(()=>()=>window.clearTimeout(g.current),[]),S.createElement(S.Fragment,null,S.createElement(cL,{ref:a,active:d,onClick:()=>v(),style:{color:t}}),d&&S.createElement(th,null,S.createElement(dw,{onPointerUp:y}),S.createElement(dL,{ref:u,onMouseEnter:()=>window.clearTimeout(g.current),onMouseLeave:C=>C.buttons===0&&_()},S.createElement(w,{color:m,onChange:r}))))}function pL(){const{value:e,displayValue:t,label:n,onChange:r,onUpdate:o,settings:i}=ht();return S.createElement(tn,{input:!0},S.createElement(mn,null,n),S.createElement(uL,null,S.createElement(fL,{value:e,displayValue:t,onChange:r,onUpdate:o,settings:i}),S.createElement(eh,{value:t,onChange:r,onUpdate:o})))}var hL=te({component:pL},lL);function mL(){const{label:e,displayValue:t,onUpdate:n,settings:r}=ht();return S.createElement(tn,{input:!0},S.createElement(mn,null,e),S.createElement(rh,{value:t,settings:r,onUpdate:n}))}var gL=te({component:mL},xw(["x","y","z"]));const vL=Z("div",{$flexCenter:"",position:"relative",backgroundColor:"$elevation3",borderRadius:"$sm",cursor:"pointer",height:"$rowHeight",width:"$rowHeight",touchAction:"none",$draggable:"",$hover:"","&:active":{cursor:"none"},"&::after":{content:'""',backgroundColor:"$accent2",height:4,width:4,borderRadius:2}}),yL=Z("div",{$flexCenter:"",width:"$joystickWidth",height:"$joystickHeight",borderRadius:"$sm",boxShadow:"$level2",position:"fixed",zIndex:1e4,overflow:"hidden",$draggable:"",transform:"translate(-50%, -50%)",variants:{isOutOfBounds:{true:{backgroundColor:"$elevation1"},false:{backgroundColor:"$elevation3"}}},"> div":{position:"absolute",$flexCenter:"",borderStyle:"solid",borderWidth:1,borderColor:"$highlight1",backgroundColor:"$elevation3",width:"80%",height:"80%","&::after,&::before":{content:'""',position:"absolute",zindex:10,backgroundColor:"$highlight1"},"&::before":{width:"100%",height:1},"&::after":{height:"100%",width:1}},"> span":{position:"relative",zindex:100,width:10,height:10,backgroundColor:"$accent2",borderRadius:"50%"}});function xL({value:e,settings:t,onUpdate:n}){const r=h.useRef(),o=h.useRef(0),i=h.useRef(0),s=h.useRef(1),[l,a]=h.useState(!1),[u,d]=h.useState(!1),[f,p]=pw(),g=h.useRef(null),m=h.useRef(null);h.useLayoutEffect(()=>{if(l){const{top:I,left:U,width:z,height:q}=g.current.getBoundingClientRect();m.current.style.left=U+z/2+"px",m.current.style.top=I+q/2+"px"}},[l]);const{keys:[x,w],joystick:v}=t,y=v==="invertY"?1:-1,{[x]:{step:_},[w]:{step:C}}=t,E=Yn("sizes","joystickWidth"),b=Yn("sizes","joystickHeight"),k=parseFloat(E)*.8/2,j=parseFloat(b)*.8/2,P=h.useCallback(()=>{r.current||(d(!0),o.current&&p({x:o.current*k}),i.current&&p({y:i.current*-j}),r.current=window.setInterval(()=>{n(I=>{const U=_*o.current*s.current,z=y*C*i.current*s.current;return Array.isArray(I)?{[x]:I[0]+U,[w]:I[1]+z}:{[x]:I[x]+U,[w]:I[w]+z}})},16))},[k,j,n,p,_,C,x,w,y]),N=h.useCallback(()=>{window.clearTimeout(r.current),r.current=void 0,d(!1)},[]);h.useEffect(()=>{function I(U){s.current=Xx(U)}return window.addEventListener("keydown",I),window.addEventListener("keyup",I),()=>{window.clearTimeout(r.current),window.removeEventListener("keydown",I),window.removeEventListener("keyup",I)}},[]);const M=ka(({first:I,active:U,delta:[z,q],movement:[K,Y]})=>{I&&a(!0);const L=Br(K,-k,k),W=Br(Y,-j,j);o.current=Math.abs(K)>Math.abs(L)?Math.sign(K-L):0,i.current=Math.abs(Y)>Math.abs(W)?Math.sign(W-Y):0;let X=e[x],ne=e[w];U?(o.current||(X+=z*_*s.current,p({x:L})),i.current||(ne-=y*q*C*s.current,p({y:W})),o.current||i.current?P():N(),n({[x]:X,[w]:ne})):(a(!1),o.current=0,i.current=0,p({x:0,y:0}),N())});return S.createElement(vL,Le({ref:g},M()),l&&S.createElement(th,null,S.createElement(yL,{ref:m,isOutOfBounds:u},S.createElement("div",null),S.createElement("span",{ref:f}))))}const wL=Z("div",{display:"grid",columnGap:"$colGap",variants:{withJoystick:{true:{gridTemplateColumns:"$sizes$rowHeight auto"},false:{gridTemplateColumns:"auto"}}}});function _L(){const{label:e,displayValue:t,onUpdate:n,settings:r}=ht();return S.createElement(tn,{input:!0},S.createElement(mn,null,e),S.createElement(wL,{withJoystick:!!r.joystick},r.joystick&&S.createElement(xL,{value:t,settings:r,onUpdate:n}),S.createElement(rh,{value:t,settings:r,onUpdate:n})))}const bL=["joystick"],qw=xw(["x","y"]),SL=e=>{let{joystick:t=!0}=e,n=ge(e,bL);const{value:r,settings:o}=qw.normalize(n);return{value:r,settings:te(te({},o),{},{joystick:t})}};var EL=te(te({component:_L},qw),{},{normalize:SL});const CL=e=>{if(e!==void 0){if(e instanceof File)try{return URL.createObjectURL(e)}catch{return}if(typeof e=="string"&&e.indexOf("blob:")===0)return e;throw Error("Invalid image format [undefined | blob | File].")}},kL=(e,t)=>typeof t=="object"&&"image"in t,jL=({image:e})=>({value:e});var $L=Object.freeze({__proto__:null,sanitize:CL,schema:kL,normalize:jL});const RL=Z("div",{position:"relative",display:"grid",gridTemplateColumns:"$sizes$rowHeight auto 20px",columnGap:"$colGap",alignItems:"center"}),TL=Z("div",{$flexCenter:"",overflow:"hidden",height:"$rowHeight",background:"$elevation3",textAlign:"center",color:"inherit",borderRadius:"$sm",outline:"none",userSelect:"none",cursor:"pointer",$inputStyle:"",$hover:"",$focusWithin:"",$active:"$accent1 $elevation1",variants:{isDragAccept:{true:{$inputStyle:"$accent1",backgroundColor:"$elevation1"}}}}),NL=Z("div",{boxSizing:"border-box",borderRadius:"$sm",height:"$rowHeight",width:"$rowHeight",$inputStyle:"",backgroundSize:"cover",backgroundPosition:"center",variants:{hasImage:{true:{cursor:"pointer",$hover:"",$active:""}}}}),PL=Z("div",{$flexCenter:"",width:"$imagePreviewWidth",height:"$imagePreviewHeight",borderRadius:"$sm",boxShadow:"$level2",pointerEvents:"none",$inputStyle:"",backgroundSize:"cover",backgroundPosition:"center"}),OL=Z("div",{fontSize:"0.8em",height:"100%",padding:"$rowGap $md"}),AL=Z("div",{$flexCenter:"",top:"0",right:"0",marginRight:"$sm",height:"100%",cursor:"pointer",variants:{disabled:{true:{color:"$elevation3",cursor:"default"}}},"&::after,&::before":{content:'""',position:"absolute",height:2,width:10,borderRadius:1,backgroundColor:"currentColor"},"&::after":{transform:"rotate(45deg)"},"&::before":{transform:"rotate(-45deg)"}});function ML(){const{label:e,value:t,onUpdate:n,disabled:r}=ht(),{popinRef:o,wrapperRef:i,shown:s,show:l,hide:a}=Vw(),u=h.useCallback(m=>{m.length&&n(m[0])},[n]),d=h.useCallback(m=>{m.stopPropagation(),n(void 0)},[n]),{getRootProps:f,getInputProps:p,isDragAccept:g}=Bw({maxFiles:1,accept:"image/*",onDrop:u,disabled:r});return S.createElement(tn,{input:!0},S.createElement(mn,null,e),S.createElement(RL,null,S.createElement(NL,{ref:o,hasImage:!!t,onPointerDown:()=>!!t&&l(),onPointerUp:a,style:{backgroundImage:t?`url(${t})`:"none"}}),s&&!!t&&S.createElement(th,null,S.createElement(dw,{onPointerUp:a,style:{cursor:"pointer"}}),S.createElement(PL,{ref:i,style:{backgroundImage:`url(${t})`}})),S.createElement(TL,f({isDragAccept:g}),S.createElement("input",p()),S.createElement(OL,null,g?"drop image":"click or drop")),S.createElement(AL,{onClick:d,disabled:!t})))}var DL=te({component:ML},$L);const Dv=jt().number(),IL=(e,t)=>jt().array().length(2).every.number().test(e)&&jt().schema({min:Dv,max:Dv}).test(t),Ec=e=>({min:e[0],max:e[1]}),Yw=(e,{bounds:[t,n]},r)=>{const o=Array.isArray(e)?Ec(e):e,i={min:r[0],max:r[1]},{min:s,max:l}=te(te({},i),o);return[Br(Number(s),t,Math.max(t,l)),Br(Number(l),Math.min(n,s),n)]},LL=({value:e,min:t,max:n})=>{const r={min:t,max:n},o=yw(Ec(e),{min:r,max:r}),i=[t,n],s=te(te({},o),{},{bounds:i});return{value:Yw(Ec(e),s,e),settings:s}};var FL=Object.freeze({__proto__:null,schema:IL,format:Ec,sanitize:Yw,normalize:LL});const zL=["value","bounds","onDrag"],BL=["bounds"],UL=Z("div",{display:"grid",columnGap:"$colGap",gridTemplateColumns:"auto calc($sizes$numberInputMinWidth * 2 + $space$rowGap)"});function HL(e){let{value:t,bounds:[n,r],onDrag:o}=e,i=ge(e,zL);const s=h.useRef(null),l=h.useRef(null),a=h.useRef(null),u=h.useRef(0),d=Yn("sizes","scrubberWidth"),f=ka(({event:m,first:x,xy:[w],movement:[v],memo:y={}})=>{if(x){const{width:C,left:E}=s.current.getBoundingClientRect();u.current=C-parseFloat(d);const b=(m==null?void 0:m.target)===l.current||(m==null?void 0:m.target)===a.current;y.pos=xc((w-E)/C,n,r);const k=Math.abs(y.pos-t.min)-Math.abs(y.pos-t.max);y.key=k<0||k===0&&y.pos<=t.min?"min":"max",b&&(y.pos=t[y.key])}const _=y.pos+xc(v/u.current,0,r-n);return o({[y.key]:cI(_,i[y.key])}),y}),p=`calc(${yc(t.min,n,r)} * (100% - ${d} - 8px) + 4px)`,g=`calc(${1-yc(t.max,n,r)} * (100% - ${d} - 8px) + 4px)`;return S.createElement(mw,Le({ref:s},f()),S.createElement(hw,null,S.createElement(gw,{style:{left:p,right:g}})),S.createElement(bf,{position:"left",ref:l,style:{left:p}}),S.createElement(bf,{position:"right",ref:a,style:{right:g}}))}function WL(){const{label:e,displayValue:t,onUpdate:n,settings:r}=ht(),o=ge(r,BL);return S.createElement(S.Fragment,null,S.createElement(tn,{input:!0},S.createElement(mn,null,e),S.createElement(UL,null,S.createElement(HL,Le({value:t},r,{onDrag:n})),S.createElement(rh,{value:t,settings:o,onUpdate:n,innerLabelTrim:0}))))}var VL=te({component:WL},FL);const GL=()=>{const e=new Map;return{on:(t,n)=>{let r=e.get(t);r===void 0&&(r=new Set,e.set(t,r)),r.add(n)},off:(t,n)=>{const r=e.get(t);r!==void 0&&(r.delete(n),r.size===0&&e.delete(t))},emit:(t,...n)=>{const r=e.get(t);if(r!==void 0)for(const o of r)o(...n)}}},KL=["type","value"],qL=["onChange","transient","onEditStart","onEditEnd"],YL=function(){const t=p4(h4(()=>({data:{}}))),n=GL();this.storeId=xD(),this.useStore=t;const r={},o=new Set;this.getVisiblePaths=()=>{const s=this.getData(),l=Object.keys(s),a=[];Object.entries(r).forEach(([d,f])=>{f.render&&l.some(p=>p.indexOf(d)===0)&&!f.render(this.get)&&a.push(d+".")});const u=[];return o.forEach(d=>{d in s&&s[d].__refCount>0&&a.every(f=>d.indexOf(f)===-1)&&(!s[d].render||s[d].render(this.get))&&u.push(d)}),u},this.setOrderedPaths=s=>{s.forEach(l=>o.add(l))},this.orderPaths=s=>(this.setOrderedPaths(s),s),this.disposePaths=s=>{t.setState(l=>{const a=l.data;return s.forEach(u=>{if(u in a){const d=a[u];d.__refCount--,d.__refCount===0&&d.type in fn&&delete a[u]}}),{data:a}})},this.dispose=()=>{t.setState(()=>({data:{}}))},this.getFolderSettings=s=>r[s]||{},this.getData=()=>t.getState().data,this.addData=(s,l)=>{t.setState(a=>{const u=a.data;return Object.entries(s).forEach(([d,f])=>{let p=u[d];if(p){const{type:g,value:m}=f,x=ge(f,KL);g!==p.type?Hn(Re.INPUT_TYPE_OVERRIDE,g):((p.__refCount===0||l)&&Object.assign(p,x),p.__refCount++)}else u[d]=te(te({},f),{},{__refCount:1})}),{data:u}})},this.setValueAtPath=(s,l,a)=>{t.setState(u=>{const d=u.data;return ov(d[s],l,s,this,a),{data:d}})},this.setSettingsAtPath=(s,l)=>{t.setState(a=>{const u=a.data;return u[s].settings=te(te({},u[s].settings),l),{data:u}})},this.disableInputAtPath=(s,l)=>{t.setState(a=>{const u=a.data;return u[s].disabled=l,{data:u}})},this.set=(s,l)=>{t.setState(a=>{const u=a.data;return Object.entries(s).forEach(([d,f])=>{try{ov(u[d],f,void 0,void 0,l)}catch{}}),{data:u}})},this.getInput=s=>{try{return this.getData()[s]}catch{Hn(Re.PATH_DOESNT_EXIST,s)}},this.get=s=>{var l;return(l=this.getInput(s))===null||l===void 0?void 0:l.value},this.emitOnEditStart=s=>{n.emit(`onEditStart:${s}`,this.get(s),s,te(te({},this.getInput(s)),{},{get:this.get}))},this.emitOnEditEnd=s=>{n.emit(`onEditEnd:${s}`,this.get(s),s,te(te({},this.getInput(s)),{},{get:this.get}))},this.subscribeToEditStart=(s,l)=>{const a=`onEditStart:${s}`;return n.on(a,l),()=>n.off(a,l)},this.subscribeToEditEnd=(s,l)=>{const a=`onEditEnd:${s}`;return n.on(a,l),()=>n.off(a,l)};const i=(s,l,a)=>{const u={};return Object.entries(s).forEach(([d,f])=>{if(d==="")return Hn(Re.EMPTY_KEY);let p=uh(l,d);if(f.type===fn.FOLDER){const g=i(f.schema,p,a);Object.assign(u,g),p in r||(r[p]=f.settings)}else if(d in a)Hn(Re.DUPLICATE_KEYS,d,p,a[d].path);else{const g=jD(f,d,p,u);if(g){const{type:m,options:x,input:w}=g,{onChange:v,transient:y,onEditStart:_,onEditEnd:C}=x,E=ge(x,qL);u[p]=te(te(te({type:m},E),w),{},{fromPanel:!0}),a[d]={path:p,onChange:v,transient:y,onEditStart:_,onEditEnd:C}}else Hn(Re.UNKNOWN_INPUT,p,f)}}),u};this.getDataFromSchema=s=>{const l={};return[i(s,"",l),l]}},Qw=new YL,QL={collapsed:!1};function XL(e,t){return{type:fn.FOLDER,schema:e,settings:te(te({},QL),t)}}const Iv=e=>"__levaInput"in e,JL=(e,t)=>{const n={},r=t?t.toLowerCase():null;return e.forEach(o=>{const[i,s]=J4(o);(!r||i.toLowerCase().indexOf(r)>-1)&&X4(n,s,{[i]:{__levaInput:!0,path:o}})}),n},ZL=["type","label","path","valueKey","value","settings","setValue","disabled"];function eF(e){let{type:t,label:n,path:r,valueKey:o,value:i,settings:s,setValue:l,disabled:a}=e,u=ge(e,ZL);const{displayValue:d,onChange:f,onUpdate:p}=fw({type:t,value:i,settings:s,setValue:l}),g=vo[t].component;return g?S.createElement(nw.Provider,{value:te({key:o,path:r,id:""+r,label:n,displayValue:d,value:i,onChange:f,onUpdate:p,settings:s,setValue:l,disabled:a},u)},S.createElement(KD,{disabled:a},S.createElement(g,null))):(Hn(Re.NO_COMPONENT_FOR_TYPE,t,r),null)}const tF=Z("button",{display:"block",$reset:"",fontWeight:"$button",height:"$rowHeight",borderStyle:"none",borderRadius:"$sm",backgroundColor:"$elevation1",color:"$highlight1","&:not(:disabled)":{color:"$highlight3",backgroundColor:"$accent2",cursor:"pointer",$hover:"$accent3",$active:"$accent3 $accent1",$focus:""}});function nF({onClick:e,settings:t,label:n}){const r=Ca();return S.createElement(tn,null,S.createElement(tF,{disabled:t.disabled,onClick:()=>e(r.get)},n))}const rF=Z("div",{$flex:"",justifyContent:"flex-end",gap:"$colGap"}),oF=Z("button",{$reset:"",cursor:"pointer",borderRadius:"$xs","&:hover":{backgroundColor:"$elevation3"}}),iF=({label:e,opts:t})=>{let n=typeof e=="string"&&e.trim()===""?null:e,r=t;return typeof t.opts=="object"&&(r.label!==void 0&&(n=t.label),r=t.opts),{label:n,opts:r}};function sF(e){const{label:t,opts:n}=iF(e),r=Ca();return S.createElement(tn,{input:!!t},t&&S.createElement(mn,null,t),S.createElement(rF,null,Object.entries(n).map(([o,i])=>S.createElement(oF,{key:o,onClick:()=>i(r.get)},o))))}const aF=Z("canvas",{height:"$monitorHeight",width:"100%",display:"block",borderRadius:"$sm"}),Xw=100;function lF(e,t){e.push(t),e.length>Xw&&e.shift()}const cF=h.forwardRef(function({initialValue:e},t){const n=Yn("colors","highlight3"),r=Yn("colors","elevation2"),o=Yn("colors","highlight1"),[i,s]=h.useMemo(()=>[yt(o).alpha(.4).toRgbString(),yt(o).alpha(.1).toRgbString()],[o]),l=h.useRef([e]),a=h.useRef(e),u=h.useRef(e),d=h.useRef(),f=h.useCallback((m,x)=>{if(!m)return;const{width:w,height:v}=m,y=new Path2D,_=w/Xw,C=v*.05;for(let k=0;k({frame:m=>{(a.current===void 0||mu.current)&&(u.current=m),lF(l.current,m),d.current=requestAnimationFrame(()=>f(p.current,g.current))}}),[p,g,f]),h.useEffect(()=>()=>cancelAnimationFrame(d.current),[]),S.createElement(aF,{ref:p})}),Lv=e=>Number.isFinite(e)?e.toPrecision(2):e.toString(),uF=h.forwardRef(function({initialValue:e},t){const[n,r]=h.useState(Lv(e));return h.useImperativeHandle(t,()=>({frame:o=>r(Lv(o))}),[]),S.createElement("div",null,n)});function Fv(e){return typeof e=="function"?e():e.current}function dF({label:e,objectOrFn:t,settings:n}){const r=h.useRef(),o=h.useRef(Fv(t));return h.useEffect(()=>{const i=window.setInterval(()=>{var s;document.hidden||(s=r.current)===null||s===void 0||s.frame(Fv(t))},n.interval);return()=>window.clearInterval(i)},[t,n.interval]),S.createElement(tn,{input:!0},S.createElement(mn,{align:"top"},e),n.graph?S.createElement(cF,{ref:r,initialValue:o.current}):S.createElement(uF,{ref:r,initialValue:o.current}))}const fF=["type","label","key"],pF={[fn.BUTTON]:nF,[fn.BUTTON_GROUP]:sF,[fn.MONITOR]:dF},hF=S.memo(({path:e})=>{const[t,{set:n,setSettings:r,disable:o,storeId:i,emitOnEditStart:s,emitOnEditEnd:l}]=oI(e);if(!t)return null;const{type:a,label:u,key:d}=t,f=ge(t,fF);if(a in fn){const p=pF[a];return S.createElement(p,Le({label:u,path:e},f))}return a in vo?S.createElement(eF,Le({key:i+e,type:a,label:u,storeId:i,path:e,valueKey:d,setValue:n,setSettings:r,disable:o,emitOnEditStart:s,emitOnEditEnd:l},f)):(dD(Re.UNSUPPORTED_INPUT,a,e),null)});function mF({toggle:e,toggled:t,name:n}){return S.createElement(WD,{onClick:()=>e()},S.createElement(nh,{toggled:t}),S.createElement("div",null,n))}const gF=({name:e,path:t,tree:n})=>{const r=Ca(),o=uh(t,e),{collapsed:i,color:s}=r.getFolderSettings(o),[l,a]=h.useState(!i),u=h.useRef(null),d=Yn("colors","folderWidgetColor"),f=Yn("colors","folderTextColor");return h.useLayoutEffect(()=>{u.current.style.setProperty("--leva-colors-folderWidgetColor",s||d),u.current.style.setProperty("--leva-colors-folderTextColor",s||f)},[s,d,f]),S.createElement(wc,{ref:u},S.createElement(mF,{name:e,toggled:l,toggle:()=>a(p=>!p)}),S.createElement(Jw,{parent:o,tree:n,toggled:l}))},Jw=S.memo(({isRoot:e=!1,fill:t=!1,flat:n=!1,parent:r,tree:o,toggled:i})=>{const{wrapperRef:s,contentRef:l}=tL(i),a=Ca(),u=([f,p])=>{var g;return(Iv(p)?(g=a.getInput(p.path))===null||g===void 0?void 0:g.order:a.getFolderSettings(uh(r,f)).order)||0},d=Object.entries(o).sort((f,p)=>u(f)-u(p));return S.createElement(wf,{ref:s,isRoot:e,fill:t,flat:n},S.createElement(lw,{ref:l,isRoot:e,toggled:i},d.map(([f,p])=>Iv(p)?S.createElement(hF,{key:p.path,valueKey:p.valueKey,path:p.path}):S.createElement(gF,{key:f,name:f,path:r,tree:p}))))}),vF=Z("div",{position:"relative",fontFamily:"$mono",fontSize:"$root",color:"$rootText",backgroundColor:"$elevation1",variants:{fill:{false:{position:"fixed",top:"10px",right:"10px",zIndex:1e3,width:"$rootWidth"},true:{position:"relative",width:"100%"}},flat:{false:{borderRadius:"$lg",boxShadow:"$level1"}},oneLineLabels:{true:{[`${uw}`]:{gridTemplateColumns:"auto",gridAutoColumns:"minmax(max-content, 1fr)",gridAutoRows:"minmax($sizes$rowHeight), auto)",rowGap:0,columnGap:0,marginTop:"$rowGap"}}},hideTitleBar:{true:{$$titleBarHeight:"0px"},false:{$$titleBarHeight:"$sizes$titleBarHeight"}}},"&,*,*:after,*:before":{boxSizing:"border-box"},"*::selection":{backgroundColor:"$accent2"}}),Zw=40,Cc=Z("i",{$flexCenter:"",width:Zw,userSelect:"none",cursor:"pointer","> svg":{fill:"$highlight1",transition:"transform 350ms ease, fill 250ms ease"},"&:hover > svg":{fill:"$highlight3"},variants:{active:{true:{"> svg":{fill:"$highlight2"}}}}}),yF=Z("div",{display:"flex",alignItems:"stretch",justifyContent:"space-between",height:"$titleBarHeight",variants:{mode:{drag:{cursor:"grab"}}}}),xF=Z("div",{$flex:"",position:"relative",width:"100%",overflow:"hidden",transition:"height 250ms ease",color:"$highlight3",paddingLeft:"$md",[`> ${Cc}`]:{height:30},variants:{toggled:{true:{height:30},false:{height:0}}}}),wF=Z("input",{$reset:"",flex:1,position:"relative",height:30,width:"100%",backgroundColor:"transparent",fontSize:"10px",borderRadius:"$root","&:focus":{},"&::placeholder":{color:"$highlight2"}}),_F=Z("div",{touchAction:"none",$flexCenter:"",flex:1,"> svg":{fill:"$highlight1"},color:"$highlight1",variants:{drag:{true:{$draggable:"","> svg":{transition:"fill 250ms ease"},"&:hover":{color:"$highlight3"},"&:hover > svg":{fill:"$highlight3"}}},filterEnabled:{false:{paddingRight:Zw}}}}),bF=S.forwardRef(({setFilter:e,toggle:t},n)=>{const[r,o]=h.useState(""),i=h.useMemo(()=>Qx(e,250),[e]),s=()=>{e(""),o("")},l=a=>{const u=a.currentTarget.value;t(!0),o(u)};return h.useEffect(()=>{i(r)},[r,i]),S.createElement(S.Fragment,null,S.createElement(wF,{ref:n,value:r,placeholder:"[Open filter with CMD+SHIFT+L]",onPointerDown:a=>a.stopPropagation(),onChange:l}),S.createElement(Cc,{onClick:()=>s(),style:{visibility:r?"visible":"hidden"}},S.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:"14",width:"14",viewBox:"0 0 20 20",fill:"currentColor"},S.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zM8.707 7.293a1 1 0 00-1.414 1.414L8.586 10l-1.293 1.293a1 1 0 101.414 1.414L10 11.414l1.293 1.293a1 1 0 001.414-1.414L11.414 10l1.293-1.293a1 1 0 00-1.414-1.414L10 8.586 8.707 7.293z",clipRule:"evenodd"}))))});function SF({setFilter:e,onDrag:t,onDragStart:n,onDragEnd:r,toggle:o,toggled:i,title:s,drag:l,filterEnabled:a,from:u}){const[d,f]=h.useState(!1),p=h.useRef(null);h.useEffect(()=>{var m,x;d?(m=p.current)===null||m===void 0||m.focus():(x=p.current)===null||x===void 0||x.blur()},[d]);const g=ka(({offset:[m,x],first:w,last:v})=>{t({x:m,y:x}),w&&n({x:m,y:x}),v&&r({x:m,y:x})},{filterTaps:!0,from:({offset:[m,x]})=>[(u==null?void 0:u.x)||m,(u==null?void 0:u.y)||x]});return h.useEffect(()=>{const m=x=>{x.key==="L"&&x.shiftKey&&x.metaKey&&f(w=>!w)};return window.addEventListener("keydown",m),()=>window.removeEventListener("keydown",m)},[]),S.createElement(S.Fragment,null,S.createElement(yF,{mode:l?"drag":void 0},S.createElement(Cc,{active:!i,onClick:()=>o()},S.createElement(nh,{toggled:i,width:12,height:8})),S.createElement(_F,Le({},l?g():{},{drag:l,filterEnabled:a}),s===void 0&&l?S.createElement("svg",{width:"20",height:"10",viewBox:"0 0 28 14",xmlns:"http://www.w3.org/2000/svg"},S.createElement("circle",{cx:"2",cy:"2",r:"2"}),S.createElement("circle",{cx:"14",cy:"2",r:"2"}),S.createElement("circle",{cx:"26",cy:"2",r:"2"}),S.createElement("circle",{cx:"2",cy:"12",r:"2"}),S.createElement("circle",{cx:"14",cy:"12",r:"2"}),S.createElement("circle",{cx:"26",cy:"12",r:"2"})):s),a&&S.createElement(Cc,{active:d,onClick:()=>f(m=>!m)},S.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:"20",viewBox:"0 0 20 20"},S.createElement("path",{d:"M9 9a2 2 0 114 0 2 2 0 01-4 0z"}),S.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm1-13a4 4 0 00-3.446 6.032l-2.261 2.26a1 1 0 101.414 1.415l2.261-2.261A4 4 0 1011 5z",clipRule:"evenodd"})))),S.createElement(xF,{toggled:d},S.createElement(bF,{ref:p,setFilter:e,toggle:o})))}const EF=["store","hidden","theme","collapsed"];function CF(e){let{store:t,hidden:n=!1,theme:r,collapsed:o=!1}=e,i=ge(e,EF);const s=Ww(()=>LD(r),[r]),[l,a]=h.useState(!o),u=typeof o=="object"?!o.collapsed:l,d=h.useMemo(()=>typeof o=="object"?f=>{typeof f=="function"?o.onChange(!f(!o.collapsed)):o.onChange(!f)}:a,[o]);return!t||n?null:S.createElement(Zp.Provider,{value:s},S.createElement(kF,Le({store:t},i,{toggled:u,setToggle:d,rootClass:s.className})))}const kF=S.memo(({store:e,rootClass:t,fill:n=!1,flat:r=!1,neverHide:o=!1,oneLineLabels:i=!1,titleBar:s={title:void 0,drag:!0,filter:!0,position:void 0,onDrag:void 0,onDragStart:void 0,onDragEnd:void 0},hideCopyButton:l=!1,toggled:a,setToggle:u})=>{var d,f;const p=nL(e),[g,m]=h.useState(""),x=h.useMemo(()=>JL(p,g),[p,g]),[w,v]=pw(),y=o||p.length>0,_=typeof s=="object"&&s.title||void 0,C=typeof s=="object"&&(d=s.drag)!==null&&d!==void 0?d:!0,E=typeof s=="object"&&(f=s.filter)!==null&&f!==void 0?f:!0,b=typeof s=="object"&&s.position||void 0,k=typeof s=="object"&&s.onDrag||void 0,j=typeof s=="object"&&s.onDragStart||void 0,P=typeof s=="object"&&s.onDragEnd||void 0;return S.useEffect(()=>{v({x:b==null?void 0:b.x,y:b==null?void 0:b.y})},[b,v]),ID(),S.createElement(ow.Provider,{value:{hideCopyButton:l}},S.createElement(vF,{ref:w,className:t,fill:n,flat:r,oneLineLabels:i,hideTitleBar:!s,style:{display:y?"block":"none"}},s&&S.createElement(SF,{onDrag:N=>{v(N),k==null||k(N)},onDragStart:N=>j==null?void 0:j(N),onDragEnd:N=>P==null?void 0:P(N),setFilter:m,toggle:N=>u(M=>N??!M),toggled:a,title:_,drag:C,filterEnabled:E,from:b}),y&&S.createElement(rw.Provider,{value:e},S.createElement(Jw,{isRoot:!0,fill:n,flat:r,tree:x,toggled:a}))))}),jF=["isRoot"];let kc=!1,ro=null;function e_(e){let{isRoot:t=!1}=e,n=ge(e,jF);return h.useEffect(()=>(kc=!0,!t&&ro&&(ro.remove(),ro=null),()=>{t||(kc=!1)}),[t]),S.createElement(CF,Le({store:Qw},n))}function $F(e){h.useEffect(()=>{e&&!kc&&(ro||(ro=document.getElementById("leva__root")||Object.assign(document.createElement("div"),{id:"leva__root"}),document.body&&(document.body.appendChild(ro),RD(S.createElement(e_,{isRoot:!0}),ro))),kc=!0)},[e])}function RF(e,t,n,r,o){let i,s,l,a,u;return typeof e=="string"?(s=e,i=t,Array.isArray(n)?u=n:n&&("store"in n?(a=n,u=r):(l=n,Array.isArray(r)?u=r:(a=r,u=o)))):(i=e,Array.isArray(t)?u=t:(a=t,u=n)),{schema:i,folderName:s,folderSettings:l,hookSettings:a,deps:u||[]}}function od(e,t,n,r,o){const{folderName:i,schema:s,folderSettings:l,hookSettings:a,deps:u}=RF(e,t,n,r,o),d=typeof s=="function",f=h.useRef(!1),p=h.useRef(!0),g=Ww(()=>{f.current=!0;const M=typeof s=="function"?s():s;return i?{[i]:XL(M,l)}:M},u),m=!(a!=null&&a.store);$F(m);const[x]=h.useState(()=>(a==null?void 0:a.store)||Qw),[w,v]=h.useMemo(()=>x.getDataFromSchema(g),[x,g]),[y,_,C,E,b]=h.useMemo(()=>{const M=[],I=[],U={},z={},q={};return Object.values(v).forEach(({path:K,onChange:Y,onEditStart:L,onEditEnd:W,transient:X})=>{M.push(K),Y?(U[K]=Y,X||I.push(K)):I.push(K),L&&(z[K]=L),W&&(q[K]=W)}),[M,I,U,z,q]},[v]),k=h.useMemo(()=>x.orderPaths(y),[y,x]),j=rL(x,_,w),P=h.useCallback(M=>{const I=Object.entries(M).reduce((U,[z,q])=>Object.assign(U,{[v[z].path]:q}),{});x.set(I,!1)},[x,v]),N=h.useCallback(M=>x.get(v[M].path),[x,v]);return h.useEffect(()=>{const M=!p.current&&f.current;return x.addData(w,M),p.current=!1,f.current=!1,()=>x.disposePaths(k)},[x,k,w]),h.useEffect(()=>{const M=[];return Object.entries(C).forEach(([I,U])=>{U(x.get(I),I,te({initial:!0,get:x.get},x.getInput(I)));const z=x.useStore.subscribe(q=>{const K=q.data[I];return[K.disabled?void 0:K.value,K]},([q,K])=>U(q,I,te({initial:!1,get:x.get},K)),{equalityFn:_a});M.push(z)}),()=>M.forEach(I=>I())},[x,C]),h.useEffect(()=>{const M=[];return Object.entries(E).forEach(([I,U])=>M.push(x.subscribeToEditStart(I,U))),Object.entries(b).forEach(([I,U])=>M.push(x.subscribeToEditEnd(I,U))),()=>M.forEach(I=>I())},[E,b,x]),d?[j,P,N]:j}sr(hn.SELECT,_I);sr(hn.IMAGE,DL);sr(hn.NUMBER,dI);sr(hn.COLOR,hL);sr(hn.STRING,TI);sr(hn.BOOLEAN,II);sr(hn.INTERVAL,VL);sr(hn.VECTOR3D,gL);sr(hn.VECTOR2D,EL);const TF=window.innerWidth<=768,NF=()=>{const{groupSize:e}=od({groupSize:{value:2,min:2,max:4,step:1}}),{itemCount:t}=od({itemCount:{value:8,min:4,max:12,step:1}}),{columns:n}=od({columns:{value:4,min:2,max:4,step:1,disabled:TF}}),[r,o]=h.useState([]),[i,s]=h.useState([]),l=h.useCallback(()=>{const[a,u]=O3(t,e);o(a),s(u)},[s,t,e]);return h.useEffect(l,[t,e,l]),c.jsxs(c.Fragment,{children:[c.jsx(e_,{collapsed:!0,hideCopyButton:!0,titleBar:{position:{x:0,y:40},filter:!1,title:"Config"},theme:{colors:{highlight1:"white",highlight2:"white"}}}),c.jsxs("h3",{className:Gn.center,children:["Connect group of ",e," words by clicking on related words"]}),c.jsx(H3,{itemGroups:r,allItems:i,columns:n,groupSize:e}),c.jsx("div",{className:Gn.center,children:c.jsx("button",{className:Gn.reset,onClick:()=>l(),children:"Reset"})})]})},PF="_heading_g33np_1",OF="_stepper_g33np_5",AF="_step_g33np_5",MF="_active_g33np_33",DF="_complete_g33np_39",IF="_btn_g33np_65",on={heading:PF,stepper:OF,step:AF,active:MF,"step-number":"_step-number_g33np_33",complete:DF,btn:IF,"progress-container":"_progress-container_g33np_71","progress-bar":"_progress-bar_g33np_83","action-container":"_action-container_g33np_91"},LF=({stepConfig:e=[]})=>{var d;const[t,n]=h.useState(1),[r,o]=h.useState(!1),[i,s]=h.useState(0),l=h.useRef(null),a=(d=e[t-1])==null?void 0:d.Component,u=()=>{n(f=>f===e.length?(o(!0),f):f+1)};return h.useEffect(()=>(s(l.current.offsetWidth/2),window.addEventListener("resize",()=>{s(l.current.offsetWidth/2)}),window.removeEventListener("resize",()=>{s(l.current.offsetWidth/2)})),[]),e.length===0?c.jsx(c.Fragment,{}):c.jsxs(c.Fragment,{children:[c.jsxs("div",{className:on.stepper,children:[e.map((f,p)=>c.jsxs("div",{ref:l,className:`${on.step} ${t===p+1?on.active:""} ${t>p+1||r?on.complete:""}`,children:[c.jsx("div",{className:on["step-number"],children:t>p+1||r?c.jsx("span",{children:"✓"}):p+1}),c.jsx("div",{className:on["step-name"],children:f.name})]},f.name)),c.jsx("div",{className:on["progress-container"],style:{width:`calc(100% - ${i*2}px)`,marginLeft:i},children:c.jsx("div",{className:on["progress-bar"],style:{width:`${(t-1)/(e.length-1)*100}%`}})})]}),c.jsxs("div",{className:on["action-container"],children:[!r&&c.jsx(a,{}),r&&c.jsx("div",{children:"Order Delivered successfully!🎉"}),!r&&c.jsx("button",{className:on.btn,onClick:u,children:t===e.length?"Finish":"Next"})]})]})},FF=[{name:"Contact Details",Component:()=>c.jsx("div",{children:"Add contact details for further communications."})},{name:"Shipping Address",Component:()=>c.jsx("div",{children:"Add shipping address for successfull delivery."})},{name:"Payment",Component:()=>c.jsx("div",{children:"Complete Payment to complete the order."})},{name:"Delivered",Component:()=>c.jsx("div",{children:"Ready to get delivered!"})}],zF=()=>c.jsxs("div",{children:[c.jsx("h1",{className:on.heading,children:"Stepper Component"}),c.jsx(LF,{stepConfig:FF})]}),BF="_main_yhjgz_1",UF="_option_yhjgz_26",_i={main:BF,"select-dahi":"_select-dahi_yhjgz_7","inline-options":"_inline-options_yhjgz_14",option:UF,"option-selected":"_option-selected_yhjgz_44","option-disabled":"_option-disabled_yhjgz_50"};function HF({id:e,text:t,setOption:n,isDisabled:r,isSelected:o}){const i=h.useCallback(s=>{if(r)return;const a=s.target.getAttribute("data-option-id");a&&n(a)},[]);return c.jsx("button",{"data-option-id":e,onClick:i,className:`${_i.option} ${o?_i["option-selected"]:""} ${r?_i["option-disabled"]:""}`,children:t})}function WF({options:e}){const[t,n]=h.useState(e[0].id),r=h.useCallback(o=>n(o),[]);return c.jsx("div",{className:_i["inline-options"],children:e.map(o=>c.jsx(HF,{...o,isSelected:o.id===t,setOption:r},o.id))})}const VF=[{id:"1",text:"100ml"},{id:"2",text:"200ml"},{id:"3",text:"400ml"},{id:"4",text:"500ml",isDisabled:!0},{id:"5",text:"800ml"}];function GF(){return c.jsx("div",{className:_i.main,children:c.jsxs("div",{className:_i["select-dahi"],children:[c.jsx("h2",{children:"Select Size of Dahi"}),c.jsx(WF,{options:VF})]})})}const KF="_a_13gc8_1",qF="_d_13gc8_2",YF="_g_13gc8_3",QF="_b_13gc8_18",XF="_c_13gc8_19",JF="_e_13gc8_20",ZF="_f_13gc8_21",e8="_off_13gc8_54",t8="_container_13gc8_59",n8="_hours_13gc8_68",r8="_minutes_13gc8_72",o8="_seconds_13gc8_76",i8="_colons_13gc8_80",s8="_colon1_13gc8_89",a8="_colon2_13gc8_90",D={a:KF,d:qF,g:YF,b:QF,c:XF,e:JF,f:ZF,off:e8,container:t8,hours:n8,minutes:r8,seconds:o8,colons:i8,colon1:s8,colon2:a8},l8=c.jsxs("div",{children:[c.jsx("div",{className:D.a}),c.jsx("div",{className:D.b}),c.jsx("div",{className:D.c}),c.jsx("div",{className:`${D.d} ${D.off}`}),c.jsx("div",{className:D.e}),c.jsx("div",{className:D.f}),c.jsx("div",{className:D.g})]}),c8=c.jsxs("div",{children:[c.jsx("div",{className:`${D.a} ${D.off}`}),c.jsx("div",{className:D.b}),c.jsx("div",{className:`${D.c} ${D.off}`}),c.jsx("div",{className:`${D.d} ${D.off}`}),c.jsx("div",{className:`${D.e} ${D.off}`}),c.jsx("div",{className:D.f}),c.jsx("div",{className:`${D.g} ${D.off}`})]}),u8=c.jsxs("div",{children:[c.jsx("div",{className:D.a}),c.jsx("div",{className:D.b}),c.jsx("div",{className:`${D.c} ${D.off}`}),c.jsx("div",{className:D.d}),c.jsx("div",{className:D.e}),c.jsx("div",{className:`${D.f} ${D.off}`}),c.jsx("div",{className:D.g})]}),d8=c.jsxs("div",{children:[c.jsx("div",{className:D.a}),c.jsx("div",{className:D.b}),c.jsx("div",{className:`${D.c} ${D.off}`}),c.jsx("div",{className:D.d}),c.jsx("div",{className:`${D.e} ${D.off}`}),c.jsx("div",{className:D.f}),c.jsx("div",{className:D.g})]}),f8=c.jsxs("div",{children:[c.jsx("div",{className:`${D.a} ${D.off}`}),c.jsx("div",{className:D.b}),c.jsx("div",{className:D.c}),c.jsx("div",{className:D.d}),c.jsx("div",{className:`${D.e} ${D.off}`}),c.jsx("div",{className:D.f}),c.jsx("div",{className:`${D.g} ${D.off}`})]}),p8=c.jsxs("div",{children:[c.jsx("div",{className:D.a}),c.jsx("div",{className:`${D.b} ${D.off}`}),c.jsx("div",{className:D.c}),c.jsx("div",{className:D.d}),c.jsx("div",{className:`${D.e} ${D.off}`}),c.jsx("div",{className:D.f}),c.jsx("div",{className:D.g})]}),h8=c.jsxs("div",{children:[c.jsx("div",{className:D.a}),c.jsx("div",{className:`${D.b} ${D.off}`}),c.jsx("div",{className:D.c}),c.jsx("div",{className:D.d}),c.jsx("div",{className:D.e}),c.jsx("div",{className:D.f}),c.jsx("div",{className:D.g})]}),m8=c.jsxs("div",{children:[c.jsx("div",{className:D.a}),c.jsx("div",{className:D.b}),c.jsx("div",{className:`${D.c} ${D.off}`}),c.jsx("div",{className:`${D.d} ${D.off}`}),c.jsx("div",{className:`${D.e} ${D.off}`}),c.jsx("div",{className:D.f}),c.jsx("div",{className:`${D.g} ${D.off}`})]}),g8=c.jsxs("div",{children:[c.jsx("div",{className:D.a}),c.jsx("div",{className:D.b}),c.jsx("div",{className:D.c}),c.jsx("div",{className:D.d}),c.jsx("div",{className:D.e}),c.jsx("div",{className:D.f}),c.jsx("div",{className:D.g})]}),v8=c.jsxs("div",{children:[c.jsx("div",{className:D.a}),c.jsx("div",{className:D.b}),c.jsx("div",{className:D.c}),c.jsx("div",{className:D.d}),c.jsx("div",{className:`${D.e} ${D.off}`}),c.jsx("div",{className:D.f}),c.jsx("div",{className:D.g})]}),zv=c.jsxs("div",{className:D.colons,children:[c.jsx("div",{className:D.colon1}),c.jsx("div",{className:D.colon2})]}),gn=new Map;gn.set(0,l8);gn.set(1,c8);gn.set(2,u8);gn.set(3,d8);gn.set(4,f8);gn.set(5,p8);gn.set(6,h8);gn.set(7,m8);gn.set(8,g8);gn.set(9,v8);function y8(){let e=new Date;const[t,n]=h.useState(e.getHours()%12||12),[r,o]=h.useState(e.getMinutes()),[i,s]=h.useState(e.getSeconds()),l=()=>{let u=new Date;n(u.getHours()%12||12),o(u.getMinutes()),s(u.getSeconds())};setInterval(()=>l(),1e3);const a=u=>gn.get(u);return c.jsx(c.Fragment,{children:c.jsxs("div",{className:D.container,children:[c.jsxs("div",{className:D.hours,children:[a(t.toString().split("").length>1?+t.toString().split("")[0]:0),a(t.toString().split("").length>1?+t.toString().split("")[1]:t)]}),zv,c.jsxs("div",{className:D.minutes,children:[a(r.toString().split("").length>1?+r.toString().split("")[0]:0),a(r.toString().split("").length>1?+r.toString().split("")[1]:r)]}),zv,c.jsxs("div",{className:D.seconds,children:[a(i.toString().split("").length>1?+i.toString().split("")[0]:0),a(i.toString().split("").length>1?+i.toString().split("")[1]:i)]})]})})}const x8=[{id:1,text:"Hello world! How are you?",replies:[{id:2,text:"Hey, I am fine, wau?",replies:[]}]}],w8="_comment_10sns_1",_8="_comment_replies_10sns_17",Bv={comment:w8,comment_replies:_8},t_=({comments:e,addComment:t,deleteComment:n})=>{const[r,o]=h.useState(-1),[i,s]=h.useState(""),l=d=>{i&&(t(d,i),o(-1)),s("")},a=()=>{o(-1),s("")},u=(d,f)=>{d.key==="Enter"?l(f):d.key==="Escape"&&a()};return e.map(d=>c.jsxs("div",{children:[c.jsxs("div",{className:Bv.comment,children:[c.jsx("img",{src:"https://www.iconpacks.net/icons/2/free-user-icon-3296-thumb.png",alt:d.text}),c.jsxs("div",{children:[c.jsx("p",{children:d.text}),r===d.id&&c.jsx("input",{type:"text",placeholder:"Reply...",autoFocus:!0,value:i,onKeyDown:f=>u(f,d.id),onChange:f=>s(f.target.value)}),r===d.id?c.jsxs(c.Fragment,{children:[c.jsx("button",{onClick:()=>l(d.id),children:"Add"}),c.jsx("button",{onClick:a,children:"Cancel"})]}):c.jsxs(c.Fragment,{children:[c.jsx("button",{onClick:()=>o(d.id),children:"Reply"}),c.jsx("button",{onClick:()=>n(d.id),children:"Delete"})]})]})]}),c.jsx("div",{className:Bv.comment_replies,children:c.jsx(t_,{comments:d.replies,addComment:t,deleteComment:n})})]},d.id))},b8=()=>{const[e,t]=h.useState(""),[n,r]=h.useState(x8),o=(l,a)=>{a&&r(l===-1?u=>{const d=structuredClone(u);return d.unshift({id:Date.now(),text:a,replies:[]}),d}:u=>{const d=structuredClone(u);return n_(d,l,a),d})},i=l=>{r(a=>{const u=structuredClone(a);return r_(u,l),u})},s=l=>{l.key==="Enter"&&(o(-1,e),t("")),l.key==="Escape"&&t("")};return c.jsxs(c.Fragment,{children:[c.jsx("h1",{children:"Comments"}),c.jsxs("div",{style:{marginBottom:"1rem",display:"flex",gap:"1rem"},children:[c.jsx("input",{type:"text",placeholder:"Add comment...",onKeyDown:s,value:e,onChange:l=>t(l.target.value)}),c.jsx("button",{onClick:()=>{o(-1,e),t("")},children:"Add"})]}),c.jsx(t_,{comments:n,addComment:o,deleteComment:i})]})},n_=(e,t,n)=>{for(const r of e){if(r.id===t)return r.replies.unshift({id:Date.now(),text:n,replies:[]}),!0;if(n_(r.replies,t,n))return!0}return!1},r_=(e,t)=>{for(let n=0;n{switch(t.type){case"setCellOnClick":{let n=structuredClone(e);if(e.isGameOver)return n;const{payload:r}=t;let{activeCount:o,isLevelComplete:i,isLevelReadyForClick:s,life:l,isGameOver:a,userGrid:u}=n;const d=e.memoryGrid[r.rowIndex][r.colIndex],f=e.userGrid[r.rowIndex][r.colIndex];return d===1&&f===0?(u[r.rowIndex][r.colIndex]=1,o=o-1,o===0&&(i=!0,s=!1)):l=l-1,l===0&&(a=!0),{...n,isLevelComplete:i,isLevelReadyForClick:s,life:l,isGameOver:a,activeCount:o}}case"onNextLevel":{let n=structuredClone(e);n.level=n.level+1,n.rows===n.cols?n.rows=n.rows+1:n.cols=n.cols+1;const{grid:r,activeCount:o}=S8(n.rows,n.cols);return n.memoryGrid=r,n.userGrid=r,n.activeCount=o,n.isLevelComplete=!1,{...n}}case"setEmptyUserGrid":{let n=structuredClone(e);return n.userGrid=o_(n.rows,n.cols),n}case"setLevelReadyForClick":{let n=structuredClone(e);const{payload:r}=t;return n.isLevelReadyForClick=r,n}case"onReset":return i_}},Ra=h.createContext(),C8=({children:e})=>{const[t,n]=h.useReducer(E8,i_);return c.jsx(Ra.Provider,{value:{state:t,dispatch:n},children:e})},k8="_flexColumnCenter_1mbig_6",j8="_button_1mbig_12",$8="_container_1mbig_21",Is={"flex-row-center":"_flex-row-center_1mbig_1",flexColumnCenter:k8,button:j8,container:$8},R8=e=>c.jsx("div",{className:Is.container,children:e.children});function T8(){const{dispatch:e}=h.useContext(Ra),t=h.useCallback(function(){e({type:"onNextLevel"})},[e]);return c.jsxs(R8,{children:[c.jsx("header",{children:c.jsx("h1",{children:"Memory Game"})}),c.jsxs("div",{children:[c.jsxs("div",{style:{margin:"50px"},children:[c.jsx("p",{children:"Remember the colored boxes displayed and click on the boxes once the game starts"}),c.jsx("p",{children:"Difficulty will increase with each level"})]}),c.jsx("button",{style:{fontSize:"1.5rem"},onClick:t,className:Is.button,children:"Start"})]})]})}const N8=typeof window<"u",P8=N8?h.useLayoutEffect:h.useEffect,O8={x:0,y:0,width:0,height:0,top:0,left:0,bottom:0,right:0};function A8(){const[e,t]=h.useState(null),[n,r]=h.useState(O8),o=h.useMemo(()=>new window.ResizeObserver(s=>{if(s[0]){const{x:l,y:a,width:u,height:d,top:f,left:p,bottom:g,right:m}=s[0].contentRect;r({x:l,y:a,width:u,height:d,top:f,left:p,bottom:g,right:m})}}),[]),i=()=>{o.disconnect()};return P8(()=>{if(e)return o.observe(e),i},[e]),[t,n]}const M8="_grid_dm3n1_1",D8={grid:M8},I8="_cellDiv_6x8w8_1",L8={cellDiv:I8};function F8({rowIndex:e,colIndex:t,backgroundColor:n}){return c.jsx("div",{className:`${L8.cellDiv} cell`,"data-row-index":e,"data-col-index":t,style:{backgroundColor:n??"#FFF"}})}const z8=e=>{const t={gridTemplateRows:`repeat(${e.rows}, 1fr)`,gridTemplateColumns:`repeat(${e.cols}, 1fr)`,width:`${e.width-20}px`,height:`${(e.width-20)/e.cols*e.rows}px`,maxHeight:`${e.rows*100}px`,maxWidth:`${e.cols*100}px`};return c.jsx("div",{className:D8.grid,style:t,onClick:e.onClick,children:e.children})};function B8({userGrid:e,windowWidth:t}){const{dispatch:n,state:r}=h.useContext(Ra),o=window.innerHeight-230;t>o&&(t=o),h.useEffect(()=>{setTimeout(()=>{n({type:"setEmptyUserGrid"}),n({type:"setLevelReadyForClick",payload:!0})},3e3)},[n,r.level]);const i=h.useCallback(function(s){if(!r.isLevelReadyForClick)return;const l=s.target;if(l.classList.contains("cell")){const a=l.dataset.rowIndex,u=l.dataset.colIndex;n({type:"setCellOnClick",payload:{rowIndex:a,colIndex:u}})}},[n,r.isLevelReadyForClick]);return c.jsx(z8,{rows:e.length,cols:e[0].length,onClick:i,width:t,children:e.map((s,l)=>s.map((a,u)=>c.jsx(F8,{rowIndex:l,colIndex:u,backgroundColor:a?"yellow":void 0},l+""+u)))})}function U8(){const{dispatch:e,state:t}=h.useContext(Ra),[n,{width:r}]=A8(),o=h.useCallback(function(){e({type:"onNextLevel"})}),i=h.useCallback(function(){e({type:"onReset"})},[e]);return c.jsxs("div",{ref:n,style:{position:"relative"},className:Is.flexColumnCenter,children:[c.jsxs("h3",{children:["Level ",t.level]}),c.jsx(B8,{userGrid:t.userGrid,rows:t.rows,cols:t.cols,windowWidth:r}),c.jsxs("h1",{children:["Life Left : ",t.life]}),c.jsxs("h1",{children:[" ",t.isGameOver&&"Game Over"]}),t.isLevelComplete&&c.jsx("button",{onClick:o,className:Is.button,children:"Next"}),t.isGameOver&&c.jsx("button",{onClick:i,className:Is.button,children:"Home"})]})}function H8(){const{state:e}=h.useContext(Ra);return e.level===0?c.jsx(T8,{}):c.jsx(U8,{})}function W8(){return c.jsx(C8,{children:c.jsx(H8,{})})}const V8="_formContainer_muy2u_1",G8="_input_text_muy2u_5",K8="_chips_muy2u_12",q8="_remove_muy2u_20",ms={formContainer:V8,input_text:G8,chips:K8,remove:q8},Y8=()=>{const[e,t]=h.useState(""),[n,r]=h.useState([]),o=s=>{s.preventDefault(),e.trim()!==""&&r([...n,e]),t("")},i=s=>{r(n.filter((l,a)=>a!==s))};return c.jsxs(c.Fragment,{children:[c.jsx("form",{onSubmit:o,className:ms.formContainer,children:c.jsx("input",{type:"text",placeholder:"Type & hit Enter",className:ms.input_text,value:e,onChange:s=>t(s.target.value)})}),c.jsx("div",{className:ms.container,children:n.map((s,l)=>c.jsxs("span",{className:ms.chips,children:[s," ",c.jsx("button",{className:ms.remove,onClick:()=>i(l),children:"✕"})]},l))})]})},Q8="_container_w1r10_1",X8="_btn_w1r10_8",J8="_active_w1r10_19",Z8="_content_w1r10_23",cl={container:Q8,btn:X8,active:J8,content:Z8},ul=[{label:"Tab 1",content:"HTML elements tell the browser how to display the content. For example, you can use HTML to create static pages with text, headings, tables, lists, images, links, and more."},{label:"Tab 2",content:"Cascading Style Sheets is a style sheet language used for specifying the presentation and styling of a document written in a markup language such as HTML or XML. "},{label:"Tab 3",content:"JavaScript, often abbreviated as JS, is a programming language and core technology of the Web, alongside HTML and CSS. 99% of websites use JavaScript on the client side for webpage behavior. Web browsers have a dedicated JavaScript engine that executes the client code. "}],e6=()=>{const[e,t]=h.useState(0),n=r=>t(r);return c.jsx(c.Fragment,{children:c.jsxs("div",{className:cl.container,children:[ul.map((r,o)=>c.jsx("span",{onClick:()=>n(o),className:`${e===o?cl.active:""} ${cl.btn}`,children:r.label},o)),c.jsxs("div",{className:cl.content,children:[c.jsxs("h2",{children:["Content of ",ul[e].label,":"]}),ul[e]&&c.jsx("p",{children:ul[e].content})]})]})})},t6="_container_1u8l1_1",n6="_listContainer_1u8l1_6",r6="_userDetail_1u8l1_19",o6="_saveBtn_1u8l1_24",Wo={container:t6,listContainer:n6,userDetail:r6,saveBtn:o6};function i6(e){return Ii({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0V0z"}},{tag:"path",attr:{d:"M11 18c0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2 2 .9 2 2zm-2-8c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0-6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm6 4c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"}}]})(e)}const s6=()=>{const[e,t]=h.useState([]),n=async()=>{const a=await(await fetch("https://jsonplaceholder.typicode.com/users")).json();t(a)};h.useEffect(()=>{const l=localStorage.getItem("savedList");l?t(JSON.parse(l)):n()},[]);const r=(l,a)=>{l.dataTransfer.setData("itemIndex",a)},o=()=>{localStorage.setItem("savedList",JSON.stringify(e)),alert("List Saved Successfully")},i=l=>{l.preventDefault()},s=(l,a)=>{const u=parseInt(l.dataTransfer.getData("itemIndex"));if(a!==u){const d=[...e],f=d.splice(u,1)[0];d.splice(a,0,f),t(d)}};return c.jsxs("div",{className:Wo.container,children:[e.slice(0,5).map((l,a)=>c.jsxs("div",{draggable:!0,onDragStart:u=>r(u,a),onDragOver:i,onDrop:u=>s(u,a),className:Wo.listContainer,children:[c.jsx("span",{className:Wo.userDetail,children:l.id}),c.jsx("span",{className:Wo.userDetail,children:l.name}),c.jsx("span",{className:Wo.userDetail,children:l.website}),c.jsx(i6,{})]},a)),c.jsx("button",{className:Wo.saveBtn,onClick:o,children:"Save List"})]})},a6="_container_1iv6r_1",l6="_inputWrapper_1iv6r_5",c6="_box_1iv6r_19",u6="_circle_1iv6r_26",dl={container:a6,inputWrapper:l6,box:c6,circle:u6},gs=Math.min(window.innerWidth-120,window.innerHeight-200),d6=50,f6=()=>{const[e,t]=h.useState(1),n=(gs-d6)/e,r=o=>{if(+o.target.value>2e3){t(2e3);return}if(+o.target.value<1){t(1);return}t(+o.target.value)};return c.jsxs("div",{className:dl.container,children:[c.jsxs("div",{className:dl.inputWrapper,children:[c.jsx("label",{htmlFor:"circles",children:"Number of circles:"}),c.jsx("input",{type:"number",id:"circles",value:e,min:"0",max:"2000",onChange:r})]}),c.jsx("div",{className:dl.box,style:{height:gs,width:gs},children:Array.from({length:e},(o,i)=>i).map(o=>c.jsx("div",{className:dl.circle,style:{height:gs-o*n,width:gs-o*n}},o))})]})},p6=60,Ol=[12,1,2,3,4,5,6,7,8,9,10,11],h6=e=>({seconds:Ol.length/2*e.getSeconds(),minutes:Ol.length/2*e.getMinutes()+e.getSeconds()/10,hours:e.getMinutes()/2+e.getHours()%Ol.length*30}),m6="_clock_as1nw_10",g6="_ticks_as1nw_22",v6="_tick_as1nw_22",y6="_digits_as1nw_42",x6="_digit_as1nw_42",w6="_bgImg_as1nw_57",_6="_centerConnector_as1nw_64",b6="_secondsHand_as1nw_73",S6="_minutesHand_as1nw_74",E6="_hoursHand_as1nw_75",Cn={clock:m6,ticks:g6,tick:v6,digits:y6,digit:x6,bgImg:w6,centerConnector:_6,secondsHand:b6,minutesHand:S6,hoursHand:E6},s_=S.memo(()=>c.jsx("div",{className:Cn.digits,children:Ol.map((e,t)=>c.jsx("div",{className:Cn.digit,style:{left:`${50+Math.sin(Math.PI*2/12*t)*50}%`,top:`${50-Math.cos(Math.PI*2/12*t)*50}%`},children:e},e))}));s_.displayName="Digits";const a_=S.memo(()=>c.jsx("div",{className:Cn.ticks,children:Array.from({length:p6}).map((e,t)=>c.jsx("div",{className:Cn.tick,style:{left:`${50+Math.sin(Math.PI*2/60*t)*50}%`,top:`${50-Math.cos(Math.PI*2/60*t)*50}%`,rotate:`${t*6}deg`}},t))}));a_.displayName="Ticks";const C6=()=>{const[e,t]=h.useState({hours:0,minutes:0,seconds:0});return h.useEffect(()=>{const n=()=>{t(h6(new Date))};return n(),setInterval(n,1e3),()=>{clearInterval(n)}},[]),c.jsxs("div",{className:Cn.clock,style:{overflow:"hidden"},children:[c.jsx("img",{src:"https://images.unsplash.com/photo-1512428813834-c702c7702b78",alt:"",className:Cn.bgImg}),c.jsx(a_,{}),c.jsx(s_,{}),c.jsx("div",{className:Cn.centerConnector}),c.jsx("div",{className:Cn.hoursHand,style:{rotate:`${e.hours}deg`}}),c.jsx("div",{className:Cn.minutesHand,style:{rotate:`${e.minutes}deg`}}),c.jsx("div",{className:Cn.secondsHand,style:{rotate:`${e.seconds}deg`}})]})},k6={"transfer-list":c.jsx(x3,{}),counter:c.jsx(Pk,{}),accordion:c.jsx(RC,{}),"background-changer":c.jsx(xk,{}),"star-Rating":c.jsx(iT,{}),"light-dark-mode":c.jsx(C$,{}),"Guess-the-number":c.jsx(B2,{}),"telephone-formatter":c.jsx(ST,{}),"toast-popup":c.jsx(ZT,{}),"password-strength":c.jsx(jR,{}),"todo-list":c.jsx(aN,{}),"investment-calculator":c.jsx(w$,{}),stopwatch:c.jsx(aT,{}),progressbar:c.jsx(AR,{}),"infinite-scrolling":c.jsx(c$,{}),"feedback-modal":c.jsx(d2,{}),"file-explorer":c.jsx(b2,{}),"autocomplete-offline":c.jsx(LC,{}),"autocomplete-online":c.jsx(UC,{}),"tic-tac-toe":c.jsx(DT,{}),stack:c.jsx(eT,{}),"food-recipe":c.jsx(I2,{}),"match-pair":c.jsx(I$,{}),"password-generator":c.jsx(wR,{}),"column-table":c.jsx(Rk,{}),"table-colorizer":c.jsx(bT,{}),"25-5-clock":c.jsx(_N,{}),"bmi-calculator":c.jsx(ok,{}),"email-templates":c.jsx(Bk,{}),"expense-tracker":c.jsx(Yk,{}),pagination:c.jsx(sR,{}),"qr-code-generator":c.jsx(WR,{}),"quote-generator":c.jsx(QR,{}),"image-gallery":c.jsx(H2,{}),"word-count":c.jsx(jN,{}),"temperature-converter":c.jsx(OT,{}),"color-mixer":c.jsx(_k,{}),"string-transformers":c.jsx(fT,{}),"your-sport":c.jsx(MN,{}),"modal-popup":c.jsx(BN,{}),"emoji-picker":c.jsx(nP,{}),"programming-languages-multiverse":c.jsx(dP,{}),otp:c.jsx(hP,{}),"traffic-lights":c.jsx(xP,{}),"quiz-app":c.jsx(OP,{}),"chess-board":c.jsx(zP,{}),"nested-dropdown":c.jsx(q$,{}),"anagram-checker":c.jsx(YC,{}),calculator:c.jsx(ZP,{}),"water-balancer":c.jsx(f3,{}),timeline:c.jsx(k3,{}),"word-connect":c.jsx(NF,{}),stepper:c.jsx(zF,{}),"inline-options":c.jsx(GF,{}),"digital-clock":c.jsx(y8,{}),"nested-comments":c.jsx(b8,{}),"15puzzle":c.jsx(EC,{}),"memory-game":c.jsx(W8,{}),"chip-input":c.jsx(Y8,{}),tabs:c.jsx(e6,{}),"drag-drop":c.jsx(s6,{}),circles:c.jsx(f6,{}),"analog-clock":c.jsx(C6,{})};function j6(){var n;const e=OE(),t=(e==null?void 0:e.id)??"";return c.jsxs(c.Fragment,{children:[c.jsx(mk,{title:(n=sC.get(t))==null?void 0:n.title}),c.jsx("div",{className:"container",children:k6[t]})]})}const $6=KE([{path:"/:id",element:c.jsx(j6,{})}]);sd.createRoot(document.getElementById("root")).render(c.jsx(S.StrictMode,{children:c.jsx(nC,{router:$6})})); + */var G4=D4,K4=z4,Nv=W4,Pv=V4,q4=function(e,t,n){if(!Pv(e)||(Array.isArray(t)&&(t=[].concat.apply([],t).join(".")),typeof t!="string"))return e;for(var r=G4(t,{sep:".",brackets:!0}).filter(Y4),o=r.length,i=-1,s=e;++ie.filter(Boolean).join(".");function Z4(e){const t=e.split(".");return[t.pop(),t.join(".")||void 0]}function eL(e,t){return Object.entries(_D(e,t)).reduce((n,[,{value:r,disabled:o,key:i}])=>(n[i]=o?void 0:r,n),{})}function tL(e,t){const n=h.useRef();return(t?sa:ba)(e,n.current)||(n.current=e),n.current}function Ww(e,t){return h.useMemo(e,tL(t,!0))}function nL(e){const t=h.useRef(null),n=h.useRef(null),r=h.useRef(!0);return h.useLayoutEffect(()=>{e||(t.current.style.height="0px",t.current.style.overflow="hidden")},[]),h.useEffect(()=>{if(r.current){r.current=!1;return}let o;const i=t.current,s=()=>{e&&(i.style.removeProperty("height"),i.style.removeProperty("overflow"),n.current.scrollIntoView({behavior:"smooth",block:"nearest"}))};i.addEventListener("transitionend",s,{once:!0});const{height:l}=n.current.getBoundingClientRect();return i.style.height=l+"px",e||(i.style.overflow="hidden",o=window.setTimeout(()=>i.style.height="0px",50)),()=>{i.removeEventListener("transitionend",s),clearTimeout(o)}},[e]),{wrapperRef:t,contentRef:n}}const rL=e=>{const[t,n]=h.useState(e.getVisiblePaths());return h.useEffect(()=>{n(e.getVisiblePaths());const r=e.useStore.subscribe(e.getVisiblePaths,n,{equalityFn:ba});return()=>r()},[e]),t};function oL(e,t,n){return e.useStore(o=>{const i=te(te({},n),o.data);return eL(i,t)},ba)}function Vw(e=3){const t=h.useRef(null),n=h.useRef(null),[r,o]=h.useState(!1),i=h.useCallback(()=>o(!0),[]),s=h.useCallback(()=>o(!1),[]);return h.useLayoutEffect(()=>{if(r){const{bottom:l,top:a,left:u}=t.current.getBoundingClientRect(),{height:d}=n.current.getBoundingClientRect(),f=l+d>window.innerHeight-40?"up":"down";n.current.style.position="fixed",n.current.style.zIndex="10000",n.current.style.left=u+"px",f==="down"?n.current.style.top=l+e+"px":n.current.style.bottom=window.innerHeight-a+e+"px"}},[e,r]),{popinRef:t,wrapperRef:n,shown:r,show:i,hide:s}}o5([i5]);const iL={rgb:"toRgb",hsl:"toHsl",hsv:"toHsv",hex:"toHex"};jt.extend({color:()=>e=>yt(e).isValid()});const sL=e=>jt().color().test(e);function Gw(e,{format:t,hasAlpha:n,isString:r}){const o=iL[t]+(r&&t!=="hex"?"String":""),i=e[o]();return typeof i=="object"&&!n?bD(i,["a"]):i}const Kw=(e,t)=>{const n=yt(e);if(!n.isValid())throw Error("Invalid color");return Gw(n,t)},aL=(e,t)=>Gw(yt(e),te(te({},t),{},{isString:!0,format:"hex"})),lL=({value:e})=>{const t=r5(e),n=t==="name"?"hex":t,r=typeof e=="object"?"a"in e:t==="hex"&&e.length===8||/^(rgba)|(hsla)|(hsva)/.test(e),o={format:n,hasAlpha:r,isString:typeof e=="string"};return{value:Kw(e,o),settings:o}};var cL=Object.freeze({__proto__:null,schema:sL,sanitize:Kw,format:aL,normalize:lL});const uL=Z("div",{position:"relative",boxSizing:"border-box",borderRadius:"$sm",overflow:"hidden",cursor:"pointer",height:"$rowHeight",width:"$rowHeight",backgroundColor:"#fff",backgroundImage:`url('data:image/svg+xml;charset=utf-8,')`,$inputStyle:"",$hover:"",zIndex:1,variants:{active:{true:{$inputStyle:"$accent1"}}},"&::before":{content:'""',position:"absolute",top:0,bottom:0,right:0,left:0,backgroundColor:"currentColor",zIndex:1}}),dL=Z("div",{position:"relative",display:"grid",gridTemplateColumns:"$sizes$rowHeight auto",columnGap:"$colGap",alignItems:"center"}),fL=Z("div",{width:"$colorPickerWidth",height:"$colorPickerHeight",".react-colorful":{width:"100%",height:"100%",boxShadow:"$level2",cursor:"crosshair"},".react-colorful__saturation":{borderRadius:"$sm $sm 0 0"},".react-colorful__alpha, .react-colorful__hue":{height:10},".react-colorful__last-control":{borderRadius:"0 0 $sm $sm"},".react-colorful__pointer":{height:12,width:12}});function Mv(e,t){return t!=="rgb"?yt(e).toRgb():e}function pL({value:e,displayValue:t,settings:n,onUpdate:r}){const{emitOnEditStart:o,emitOnEditEnd:i}=ht(),{format:s,hasAlpha:l}=n,{popinRef:a,wrapperRef:u,shown:d,show:f,hide:p}=Vw(),g=h.useRef(0),[m,x]=h.useState(()=>Mv(e,s)),w=l?f5:h5,v=()=>{x(Mv(e,s)),f(),o()},y=()=>{p(),i(),window.clearTimeout(g.current)},_=()=>{g.current=window.setTimeout(y,500)};return h.useEffect(()=>()=>window.clearTimeout(g.current),[]),S.createElement(S.Fragment,null,S.createElement(uL,{ref:a,active:d,onClick:()=>v(),style:{color:t}}),d&&S.createElement(th,null,S.createElement(dw,{onPointerUp:y}),S.createElement(fL,{ref:u,onMouseEnter:()=>window.clearTimeout(g.current),onMouseLeave:C=>C.buttons===0&&_()},S.createElement(w,{color:m,onChange:r}))))}function hL(){const{value:e,displayValue:t,label:n,onChange:r,onUpdate:o,settings:i}=ht();return S.createElement(tn,{input:!0},S.createElement(mn,null,n),S.createElement(dL,null,S.createElement(pL,{value:e,displayValue:t,onChange:r,onUpdate:o,settings:i}),S.createElement(eh,{value:t,onChange:r,onUpdate:o})))}var mL=te({component:hL},cL);function gL(){const{label:e,displayValue:t,onUpdate:n,settings:r}=ht();return S.createElement(tn,{input:!0},S.createElement(mn,null,e),S.createElement(rh,{value:t,settings:r,onUpdate:n}))}var vL=te({component:gL},xw(["x","y","z"]));const yL=Z("div",{$flexCenter:"",position:"relative",backgroundColor:"$elevation3",borderRadius:"$sm",cursor:"pointer",height:"$rowHeight",width:"$rowHeight",touchAction:"none",$draggable:"",$hover:"","&:active":{cursor:"none"},"&::after":{content:'""',backgroundColor:"$accent2",height:4,width:4,borderRadius:2}}),xL=Z("div",{$flexCenter:"",width:"$joystickWidth",height:"$joystickHeight",borderRadius:"$sm",boxShadow:"$level2",position:"fixed",zIndex:1e4,overflow:"hidden",$draggable:"",transform:"translate(-50%, -50%)",variants:{isOutOfBounds:{true:{backgroundColor:"$elevation1"},false:{backgroundColor:"$elevation3"}}},"> div":{position:"absolute",$flexCenter:"",borderStyle:"solid",borderWidth:1,borderColor:"$highlight1",backgroundColor:"$elevation3",width:"80%",height:"80%","&::after,&::before":{content:'""',position:"absolute",zindex:10,backgroundColor:"$highlight1"},"&::before":{width:"100%",height:1},"&::after":{height:"100%",width:1}},"> span":{position:"relative",zindex:100,width:10,height:10,backgroundColor:"$accent2",borderRadius:"50%"}});function wL({value:e,settings:t,onUpdate:n}){const r=h.useRef(),o=h.useRef(0),i=h.useRef(0),s=h.useRef(1),[l,a]=h.useState(!1),[u,d]=h.useState(!1),[f,p]=pw(),g=h.useRef(null),m=h.useRef(null);h.useLayoutEffect(()=>{if(l){const{top:I,left:U,width:z,height:q}=g.current.getBoundingClientRect();m.current.style.left=U+z/2+"px",m.current.style.top=I+q/2+"px"}},[l]);const{keys:[x,w],joystick:v}=t,y=v==="invertY"?1:-1,{[x]:{step:_},[w]:{step:C}}=t,E=Yn("sizes","joystickWidth"),b=Yn("sizes","joystickHeight"),k=parseFloat(E)*.8/2,j=parseFloat(b)*.8/2,P=h.useCallback(()=>{r.current||(d(!0),o.current&&p({x:o.current*k}),i.current&&p({y:i.current*-j}),r.current=window.setInterval(()=>{n(I=>{const U=_*o.current*s.current,z=y*C*i.current*s.current;return Array.isArray(I)?{[x]:I[0]+U,[w]:I[1]+z}:{[x]:I[x]+U,[w]:I[w]+z}})},16))},[k,j,n,p,_,C,x,w,y]),N=h.useCallback(()=>{window.clearTimeout(r.current),r.current=void 0,d(!1)},[]);h.useEffect(()=>{function I(U){s.current=Xx(U)}return window.addEventListener("keydown",I),window.addEventListener("keyup",I),()=>{window.clearTimeout(r.current),window.removeEventListener("keydown",I),window.removeEventListener("keyup",I)}},[]);const M=ja(({first:I,active:U,delta:[z,q],movement:[K,Y]})=>{I&&a(!0);const L=Br(K,-k,k),W=Br(Y,-j,j);o.current=Math.abs(K)>Math.abs(L)?Math.sign(K-L):0,i.current=Math.abs(Y)>Math.abs(W)?Math.sign(W-Y):0;let X=e[x],ne=e[w];U?(o.current||(X+=z*_*s.current,p({x:L})),i.current||(ne-=y*q*C*s.current,p({y:W})),o.current||i.current?P():N(),n({[x]:X,[w]:ne})):(a(!1),o.current=0,i.current=0,p({x:0,y:0}),N())});return S.createElement(yL,Le({ref:g},M()),l&&S.createElement(th,null,S.createElement(xL,{ref:m,isOutOfBounds:u},S.createElement("div",null),S.createElement("span",{ref:f}))))}const _L=Z("div",{display:"grid",columnGap:"$colGap",variants:{withJoystick:{true:{gridTemplateColumns:"$sizes$rowHeight auto"},false:{gridTemplateColumns:"auto"}}}});function bL(){const{label:e,displayValue:t,onUpdate:n,settings:r}=ht();return S.createElement(tn,{input:!0},S.createElement(mn,null,e),S.createElement(_L,{withJoystick:!!r.joystick},r.joystick&&S.createElement(wL,{value:t,settings:r,onUpdate:n}),S.createElement(rh,{value:t,settings:r,onUpdate:n})))}const SL=["joystick"],qw=xw(["x","y"]),EL=e=>{let{joystick:t=!0}=e,n=ge(e,SL);const{value:r,settings:o}=qw.normalize(n);return{value:r,settings:te(te({},o),{},{joystick:t})}};var CL=te(te({component:bL},qw),{},{normalize:EL});const kL=e=>{if(e!==void 0){if(e instanceof File)try{return URL.createObjectURL(e)}catch{return}if(typeof e=="string"&&e.indexOf("blob:")===0)return e;throw Error("Invalid image format [undefined | blob | File].")}},jL=(e,t)=>typeof t=="object"&&"image"in t,$L=({image:e})=>({value:e});var RL=Object.freeze({__proto__:null,sanitize:kL,schema:jL,normalize:$L});const TL=Z("div",{position:"relative",display:"grid",gridTemplateColumns:"$sizes$rowHeight auto 20px",columnGap:"$colGap",alignItems:"center"}),NL=Z("div",{$flexCenter:"",overflow:"hidden",height:"$rowHeight",background:"$elevation3",textAlign:"center",color:"inherit",borderRadius:"$sm",outline:"none",userSelect:"none",cursor:"pointer",$inputStyle:"",$hover:"",$focusWithin:"",$active:"$accent1 $elevation1",variants:{isDragAccept:{true:{$inputStyle:"$accent1",backgroundColor:"$elevation1"}}}}),PL=Z("div",{boxSizing:"border-box",borderRadius:"$sm",height:"$rowHeight",width:"$rowHeight",$inputStyle:"",backgroundSize:"cover",backgroundPosition:"center",variants:{hasImage:{true:{cursor:"pointer",$hover:"",$active:""}}}}),OL=Z("div",{$flexCenter:"",width:"$imagePreviewWidth",height:"$imagePreviewHeight",borderRadius:"$sm",boxShadow:"$level2",pointerEvents:"none",$inputStyle:"",backgroundSize:"cover",backgroundPosition:"center"}),AL=Z("div",{fontSize:"0.8em",height:"100%",padding:"$rowGap $md"}),ML=Z("div",{$flexCenter:"",top:"0",right:"0",marginRight:"$sm",height:"100%",cursor:"pointer",variants:{disabled:{true:{color:"$elevation3",cursor:"default"}}},"&::after,&::before":{content:'""',position:"absolute",height:2,width:10,borderRadius:1,backgroundColor:"currentColor"},"&::after":{transform:"rotate(45deg)"},"&::before":{transform:"rotate(-45deg)"}});function DL(){const{label:e,value:t,onUpdate:n,disabled:r}=ht(),{popinRef:o,wrapperRef:i,shown:s,show:l,hide:a}=Vw(),u=h.useCallback(m=>{m.length&&n(m[0])},[n]),d=h.useCallback(m=>{m.stopPropagation(),n(void 0)},[n]),{getRootProps:f,getInputProps:p,isDragAccept:g}=Bw({maxFiles:1,accept:"image/*",onDrop:u,disabled:r});return S.createElement(tn,{input:!0},S.createElement(mn,null,e),S.createElement(TL,null,S.createElement(PL,{ref:o,hasImage:!!t,onPointerDown:()=>!!t&&l(),onPointerUp:a,style:{backgroundImage:t?`url(${t})`:"none"}}),s&&!!t&&S.createElement(th,null,S.createElement(dw,{onPointerUp:a,style:{cursor:"pointer"}}),S.createElement(OL,{ref:i,style:{backgroundImage:`url(${t})`}})),S.createElement(NL,f({isDragAccept:g}),S.createElement("input",p()),S.createElement(AL,null,g?"drop image":"click or drop")),S.createElement(ML,{onClick:d,disabled:!t})))}var IL=te({component:DL},RL);const Dv=jt().number(),LL=(e,t)=>jt().array().length(2).every.number().test(e)&&jt().schema({min:Dv,max:Dv}).test(t),Cc=e=>({min:e[0],max:e[1]}),Yw=(e,{bounds:[t,n]},r)=>{const o=Array.isArray(e)?Cc(e):e,i={min:r[0],max:r[1]},{min:s,max:l}=te(te({},i),o);return[Br(Number(s),t,Math.max(t,l)),Br(Number(l),Math.min(n,s),n)]},FL=({value:e,min:t,max:n})=>{const r={min:t,max:n},o=yw(Cc(e),{min:r,max:r}),i=[t,n],s=te(te({},o),{},{bounds:i});return{value:Yw(Cc(e),s,e),settings:s}};var zL=Object.freeze({__proto__:null,schema:LL,format:Cc,sanitize:Yw,normalize:FL});const BL=["value","bounds","onDrag"],UL=["bounds"],HL=Z("div",{display:"grid",columnGap:"$colGap",gridTemplateColumns:"auto calc($sizes$numberInputMinWidth * 2 + $space$rowGap)"});function WL(e){let{value:t,bounds:[n,r],onDrag:o}=e,i=ge(e,BL);const s=h.useRef(null),l=h.useRef(null),a=h.useRef(null),u=h.useRef(0),d=Yn("sizes","scrubberWidth"),f=ja(({event:m,first:x,xy:[w],movement:[v],memo:y={}})=>{if(x){const{width:C,left:E}=s.current.getBoundingClientRect();u.current=C-parseFloat(d);const b=(m==null?void 0:m.target)===l.current||(m==null?void 0:m.target)===a.current;y.pos=wc((w-E)/C,n,r);const k=Math.abs(y.pos-t.min)-Math.abs(y.pos-t.max);y.key=k<0||k===0&&y.pos<=t.min?"min":"max",b&&(y.pos=t[y.key])}const _=y.pos+wc(v/u.current,0,r-n);return o({[y.key]:uI(_,i[y.key])}),y}),p=`calc(${xc(t.min,n,r)} * (100% - ${d} - 8px) + 4px)`,g=`calc(${1-xc(t.max,n,r)} * (100% - ${d} - 8px) + 4px)`;return S.createElement(mw,Le({ref:s},f()),S.createElement(hw,null,S.createElement(gw,{style:{left:p,right:g}})),S.createElement(bf,{position:"left",ref:l,style:{left:p}}),S.createElement(bf,{position:"right",ref:a,style:{right:g}}))}function VL(){const{label:e,displayValue:t,onUpdate:n,settings:r}=ht(),o=ge(r,UL);return S.createElement(S.Fragment,null,S.createElement(tn,{input:!0},S.createElement(mn,null,e),S.createElement(HL,null,S.createElement(WL,Le({value:t},r,{onDrag:n})),S.createElement(rh,{value:t,settings:o,onUpdate:n,innerLabelTrim:0}))))}var GL=te({component:VL},zL);const KL=()=>{const e=new Map;return{on:(t,n)=>{let r=e.get(t);r===void 0&&(r=new Set,e.set(t,r)),r.add(n)},off:(t,n)=>{const r=e.get(t);r!==void 0&&(r.delete(n),r.size===0&&e.delete(t))},emit:(t,...n)=>{const r=e.get(t);if(r!==void 0)for(const o of r)o(...n)}}},qL=["type","value"],YL=["onChange","transient","onEditStart","onEditEnd"],QL=function(){const t=h4(m4(()=>({data:{}}))),n=KL();this.storeId=wD(),this.useStore=t;const r={},o=new Set;this.getVisiblePaths=()=>{const s=this.getData(),l=Object.keys(s),a=[];Object.entries(r).forEach(([d,f])=>{f.render&&l.some(p=>p.indexOf(d)===0)&&!f.render(this.get)&&a.push(d+".")});const u=[];return o.forEach(d=>{d in s&&s[d].__refCount>0&&a.every(f=>d.indexOf(f)===-1)&&(!s[d].render||s[d].render(this.get))&&u.push(d)}),u},this.setOrderedPaths=s=>{s.forEach(l=>o.add(l))},this.orderPaths=s=>(this.setOrderedPaths(s),s),this.disposePaths=s=>{t.setState(l=>{const a=l.data;return s.forEach(u=>{if(u in a){const d=a[u];d.__refCount--,d.__refCount===0&&d.type in fn&&delete a[u]}}),{data:a}})},this.dispose=()=>{t.setState(()=>({data:{}}))},this.getFolderSettings=s=>r[s]||{},this.getData=()=>t.getState().data,this.addData=(s,l)=>{t.setState(a=>{const u=a.data;return Object.entries(s).forEach(([d,f])=>{let p=u[d];if(p){const{type:g,value:m}=f,x=ge(f,qL);g!==p.type?Hn(Re.INPUT_TYPE_OVERRIDE,g):((p.__refCount===0||l)&&Object.assign(p,x),p.__refCount++)}else u[d]=te(te({},f),{},{__refCount:1})}),{data:u}})},this.setValueAtPath=(s,l,a)=>{t.setState(u=>{const d=u.data;return ov(d[s],l,s,this,a),{data:d}})},this.setSettingsAtPath=(s,l)=>{t.setState(a=>{const u=a.data;return u[s].settings=te(te({},u[s].settings),l),{data:u}})},this.disableInputAtPath=(s,l)=>{t.setState(a=>{const u=a.data;return u[s].disabled=l,{data:u}})},this.set=(s,l)=>{t.setState(a=>{const u=a.data;return Object.entries(s).forEach(([d,f])=>{try{ov(u[d],f,void 0,void 0,l)}catch{}}),{data:u}})},this.getInput=s=>{try{return this.getData()[s]}catch{Hn(Re.PATH_DOESNT_EXIST,s)}},this.get=s=>{var l;return(l=this.getInput(s))===null||l===void 0?void 0:l.value},this.emitOnEditStart=s=>{n.emit(`onEditStart:${s}`,this.get(s),s,te(te({},this.getInput(s)),{},{get:this.get}))},this.emitOnEditEnd=s=>{n.emit(`onEditEnd:${s}`,this.get(s),s,te(te({},this.getInput(s)),{},{get:this.get}))},this.subscribeToEditStart=(s,l)=>{const a=`onEditStart:${s}`;return n.on(a,l),()=>n.off(a,l)},this.subscribeToEditEnd=(s,l)=>{const a=`onEditEnd:${s}`;return n.on(a,l),()=>n.off(a,l)};const i=(s,l,a)=>{const u={};return Object.entries(s).forEach(([d,f])=>{if(d==="")return Hn(Re.EMPTY_KEY);let p=uh(l,d);if(f.type===fn.FOLDER){const g=i(f.schema,p,a);Object.assign(u,g),p in r||(r[p]=f.settings)}else if(d in a)Hn(Re.DUPLICATE_KEYS,d,p,a[d].path);else{const g=$D(f,d,p,u);if(g){const{type:m,options:x,input:w}=g,{onChange:v,transient:y,onEditStart:_,onEditEnd:C}=x,E=ge(x,YL);u[p]=te(te(te({type:m},E),w),{},{fromPanel:!0}),a[d]={path:p,onChange:v,transient:y,onEditStart:_,onEditEnd:C}}else Hn(Re.UNKNOWN_INPUT,p,f)}}),u};this.getDataFromSchema=s=>{const l={};return[i(s,"",l),l]}},Qw=new QL,XL={collapsed:!1};function JL(e,t){return{type:fn.FOLDER,schema:e,settings:te(te({},XL),t)}}const Iv=e=>"__levaInput"in e,ZL=(e,t)=>{const n={},r=t?t.toLowerCase():null;return e.forEach(o=>{const[i,s]=Z4(o);(!r||i.toLowerCase().indexOf(r)>-1)&&J4(n,s,{[i]:{__levaInput:!0,path:o}})}),n},eF=["type","label","path","valueKey","value","settings","setValue","disabled"];function tF(e){let{type:t,label:n,path:r,valueKey:o,value:i,settings:s,setValue:l,disabled:a}=e,u=ge(e,eF);const{displayValue:d,onChange:f,onUpdate:p}=fw({type:t,value:i,settings:s,setValue:l}),g=vo[t].component;return g?S.createElement(nw.Provider,{value:te({key:o,path:r,id:""+r,label:n,displayValue:d,value:i,onChange:f,onUpdate:p,settings:s,setValue:l,disabled:a},u)},S.createElement(qD,{disabled:a},S.createElement(g,null))):(Hn(Re.NO_COMPONENT_FOR_TYPE,t,r),null)}const nF=Z("button",{display:"block",$reset:"",fontWeight:"$button",height:"$rowHeight",borderStyle:"none",borderRadius:"$sm",backgroundColor:"$elevation1",color:"$highlight1","&:not(:disabled)":{color:"$highlight3",backgroundColor:"$accent2",cursor:"pointer",$hover:"$accent3",$active:"$accent3 $accent1",$focus:""}});function rF({onClick:e,settings:t,label:n}){const r=ka();return S.createElement(tn,null,S.createElement(nF,{disabled:t.disabled,onClick:()=>e(r.get)},n))}const oF=Z("div",{$flex:"",justifyContent:"flex-end",gap:"$colGap"}),iF=Z("button",{$reset:"",cursor:"pointer",borderRadius:"$xs","&:hover":{backgroundColor:"$elevation3"}}),sF=({label:e,opts:t})=>{let n=typeof e=="string"&&e.trim()===""?null:e,r=t;return typeof t.opts=="object"&&(r.label!==void 0&&(n=t.label),r=t.opts),{label:n,opts:r}};function aF(e){const{label:t,opts:n}=sF(e),r=ka();return S.createElement(tn,{input:!!t},t&&S.createElement(mn,null,t),S.createElement(oF,null,Object.entries(n).map(([o,i])=>S.createElement(iF,{key:o,onClick:()=>i(r.get)},o))))}const lF=Z("canvas",{height:"$monitorHeight",width:"100%",display:"block",borderRadius:"$sm"}),Xw=100;function cF(e,t){e.push(t),e.length>Xw&&e.shift()}const uF=h.forwardRef(function({initialValue:e},t){const n=Yn("colors","highlight3"),r=Yn("colors","elevation2"),o=Yn("colors","highlight1"),[i,s]=h.useMemo(()=>[yt(o).alpha(.4).toRgbString(),yt(o).alpha(.1).toRgbString()],[o]),l=h.useRef([e]),a=h.useRef(e),u=h.useRef(e),d=h.useRef(),f=h.useCallback((m,x)=>{if(!m)return;const{width:w,height:v}=m,y=new Path2D,_=w/Xw,C=v*.05;for(let k=0;k({frame:m=>{(a.current===void 0||mu.current)&&(u.current=m),cF(l.current,m),d.current=requestAnimationFrame(()=>f(p.current,g.current))}}),[p,g,f]),h.useEffect(()=>()=>cancelAnimationFrame(d.current),[]),S.createElement(lF,{ref:p})}),Lv=e=>Number.isFinite(e)?e.toPrecision(2):e.toString(),dF=h.forwardRef(function({initialValue:e},t){const[n,r]=h.useState(Lv(e));return h.useImperativeHandle(t,()=>({frame:o=>r(Lv(o))}),[]),S.createElement("div",null,n)});function Fv(e){return typeof e=="function"?e():e.current}function fF({label:e,objectOrFn:t,settings:n}){const r=h.useRef(),o=h.useRef(Fv(t));return h.useEffect(()=>{const i=window.setInterval(()=>{var s;document.hidden||(s=r.current)===null||s===void 0||s.frame(Fv(t))},n.interval);return()=>window.clearInterval(i)},[t,n.interval]),S.createElement(tn,{input:!0},S.createElement(mn,{align:"top"},e),n.graph?S.createElement(uF,{ref:r,initialValue:o.current}):S.createElement(dF,{ref:r,initialValue:o.current}))}const pF=["type","label","key"],hF={[fn.BUTTON]:rF,[fn.BUTTON_GROUP]:aF,[fn.MONITOR]:fF},mF=S.memo(({path:e})=>{const[t,{set:n,setSettings:r,disable:o,storeId:i,emitOnEditStart:s,emitOnEditEnd:l}]=iI(e);if(!t)return null;const{type:a,label:u,key:d}=t,f=ge(t,pF);if(a in fn){const p=hF[a];return S.createElement(p,Le({label:u,path:e},f))}return a in vo?S.createElement(tF,Le({key:i+e,type:a,label:u,storeId:i,path:e,valueKey:d,setValue:n,setSettings:r,disable:o,emitOnEditStart:s,emitOnEditEnd:l},f)):(fD(Re.UNSUPPORTED_INPUT,a,e),null)});function gF({toggle:e,toggled:t,name:n}){return S.createElement(VD,{onClick:()=>e()},S.createElement(nh,{toggled:t}),S.createElement("div",null,n))}const vF=({name:e,path:t,tree:n})=>{const r=ka(),o=uh(t,e),{collapsed:i,color:s}=r.getFolderSettings(o),[l,a]=h.useState(!i),u=h.useRef(null),d=Yn("colors","folderWidgetColor"),f=Yn("colors","folderTextColor");return h.useLayoutEffect(()=>{u.current.style.setProperty("--leva-colors-folderWidgetColor",s||d),u.current.style.setProperty("--leva-colors-folderTextColor",s||f)},[s,d,f]),S.createElement(_c,{ref:u},S.createElement(gF,{name:e,toggled:l,toggle:()=>a(p=>!p)}),S.createElement(Jw,{parent:o,tree:n,toggled:l}))},Jw=S.memo(({isRoot:e=!1,fill:t=!1,flat:n=!1,parent:r,tree:o,toggled:i})=>{const{wrapperRef:s,contentRef:l}=nL(i),a=ka(),u=([f,p])=>{var g;return(Iv(p)?(g=a.getInput(p.path))===null||g===void 0?void 0:g.order:a.getFolderSettings(uh(r,f)).order)||0},d=Object.entries(o).sort((f,p)=>u(f)-u(p));return S.createElement(wf,{ref:s,isRoot:e,fill:t,flat:n},S.createElement(lw,{ref:l,isRoot:e,toggled:i},d.map(([f,p])=>Iv(p)?S.createElement(mF,{key:p.path,valueKey:p.valueKey,path:p.path}):S.createElement(vF,{key:f,name:f,path:r,tree:p}))))}),yF=Z("div",{position:"relative",fontFamily:"$mono",fontSize:"$root",color:"$rootText",backgroundColor:"$elevation1",variants:{fill:{false:{position:"fixed",top:"10px",right:"10px",zIndex:1e3,width:"$rootWidth"},true:{position:"relative",width:"100%"}},flat:{false:{borderRadius:"$lg",boxShadow:"$level1"}},oneLineLabels:{true:{[`${uw}`]:{gridTemplateColumns:"auto",gridAutoColumns:"minmax(max-content, 1fr)",gridAutoRows:"minmax($sizes$rowHeight), auto)",rowGap:0,columnGap:0,marginTop:"$rowGap"}}},hideTitleBar:{true:{$$titleBarHeight:"0px"},false:{$$titleBarHeight:"$sizes$titleBarHeight"}}},"&,*,*:after,*:before":{boxSizing:"border-box"},"*::selection":{backgroundColor:"$accent2"}}),Zw=40,kc=Z("i",{$flexCenter:"",width:Zw,userSelect:"none",cursor:"pointer","> svg":{fill:"$highlight1",transition:"transform 350ms ease, fill 250ms ease"},"&:hover > svg":{fill:"$highlight3"},variants:{active:{true:{"> svg":{fill:"$highlight2"}}}}}),xF=Z("div",{display:"flex",alignItems:"stretch",justifyContent:"space-between",height:"$titleBarHeight",variants:{mode:{drag:{cursor:"grab"}}}}),wF=Z("div",{$flex:"",position:"relative",width:"100%",overflow:"hidden",transition:"height 250ms ease",color:"$highlight3",paddingLeft:"$md",[`> ${kc}`]:{height:30},variants:{toggled:{true:{height:30},false:{height:0}}}}),_F=Z("input",{$reset:"",flex:1,position:"relative",height:30,width:"100%",backgroundColor:"transparent",fontSize:"10px",borderRadius:"$root","&:focus":{},"&::placeholder":{color:"$highlight2"}}),bF=Z("div",{touchAction:"none",$flexCenter:"",flex:1,"> svg":{fill:"$highlight1"},color:"$highlight1",variants:{drag:{true:{$draggable:"","> svg":{transition:"fill 250ms ease"},"&:hover":{color:"$highlight3"},"&:hover > svg":{fill:"$highlight3"}}},filterEnabled:{false:{paddingRight:Zw}}}}),SF=S.forwardRef(({setFilter:e,toggle:t},n)=>{const[r,o]=h.useState(""),i=h.useMemo(()=>Qx(e,250),[e]),s=()=>{e(""),o("")},l=a=>{const u=a.currentTarget.value;t(!0),o(u)};return h.useEffect(()=>{i(r)},[r,i]),S.createElement(S.Fragment,null,S.createElement(_F,{ref:n,value:r,placeholder:"[Open filter with CMD+SHIFT+L]",onPointerDown:a=>a.stopPropagation(),onChange:l}),S.createElement(kc,{onClick:()=>s(),style:{visibility:r?"visible":"hidden"}},S.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:"14",width:"14",viewBox:"0 0 20 20",fill:"currentColor"},S.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zM8.707 7.293a1 1 0 00-1.414 1.414L8.586 10l-1.293 1.293a1 1 0 101.414 1.414L10 11.414l1.293 1.293a1 1 0 001.414-1.414L11.414 10l1.293-1.293a1 1 0 00-1.414-1.414L10 8.586 8.707 7.293z",clipRule:"evenodd"}))))});function EF({setFilter:e,onDrag:t,onDragStart:n,onDragEnd:r,toggle:o,toggled:i,title:s,drag:l,filterEnabled:a,from:u}){const[d,f]=h.useState(!1),p=h.useRef(null);h.useEffect(()=>{var m,x;d?(m=p.current)===null||m===void 0||m.focus():(x=p.current)===null||x===void 0||x.blur()},[d]);const g=ja(({offset:[m,x],first:w,last:v})=>{t({x:m,y:x}),w&&n({x:m,y:x}),v&&r({x:m,y:x})},{filterTaps:!0,from:({offset:[m,x]})=>[(u==null?void 0:u.x)||m,(u==null?void 0:u.y)||x]});return h.useEffect(()=>{const m=x=>{x.key==="L"&&x.shiftKey&&x.metaKey&&f(w=>!w)};return window.addEventListener("keydown",m),()=>window.removeEventListener("keydown",m)},[]),S.createElement(S.Fragment,null,S.createElement(xF,{mode:l?"drag":void 0},S.createElement(kc,{active:!i,onClick:()=>o()},S.createElement(nh,{toggled:i,width:12,height:8})),S.createElement(bF,Le({},l?g():{},{drag:l,filterEnabled:a}),s===void 0&&l?S.createElement("svg",{width:"20",height:"10",viewBox:"0 0 28 14",xmlns:"http://www.w3.org/2000/svg"},S.createElement("circle",{cx:"2",cy:"2",r:"2"}),S.createElement("circle",{cx:"14",cy:"2",r:"2"}),S.createElement("circle",{cx:"26",cy:"2",r:"2"}),S.createElement("circle",{cx:"2",cy:"12",r:"2"}),S.createElement("circle",{cx:"14",cy:"12",r:"2"}),S.createElement("circle",{cx:"26",cy:"12",r:"2"})):s),a&&S.createElement(kc,{active:d,onClick:()=>f(m=>!m)},S.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:"20",viewBox:"0 0 20 20"},S.createElement("path",{d:"M9 9a2 2 0 114 0 2 2 0 01-4 0z"}),S.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm1-13a4 4 0 00-3.446 6.032l-2.261 2.26a1 1 0 101.414 1.415l2.261-2.261A4 4 0 1011 5z",clipRule:"evenodd"})))),S.createElement(wF,{toggled:d},S.createElement(SF,{ref:p,setFilter:e,toggle:o})))}const CF=["store","hidden","theme","collapsed"];function kF(e){let{store:t,hidden:n=!1,theme:r,collapsed:o=!1}=e,i=ge(e,CF);const s=Ww(()=>FD(r),[r]),[l,a]=h.useState(!o),u=typeof o=="object"?!o.collapsed:l,d=h.useMemo(()=>typeof o=="object"?f=>{typeof f=="function"?o.onChange(!f(!o.collapsed)):o.onChange(!f)}:a,[o]);return!t||n?null:S.createElement(Zp.Provider,{value:s},S.createElement(jF,Le({store:t},i,{toggled:u,setToggle:d,rootClass:s.className})))}const jF=S.memo(({store:e,rootClass:t,fill:n=!1,flat:r=!1,neverHide:o=!1,oneLineLabels:i=!1,titleBar:s={title:void 0,drag:!0,filter:!0,position:void 0,onDrag:void 0,onDragStart:void 0,onDragEnd:void 0},hideCopyButton:l=!1,toggled:a,setToggle:u})=>{var d,f;const p=rL(e),[g,m]=h.useState(""),x=h.useMemo(()=>ZL(p,g),[p,g]),[w,v]=pw(),y=o||p.length>0,_=typeof s=="object"&&s.title||void 0,C=typeof s=="object"&&(d=s.drag)!==null&&d!==void 0?d:!0,E=typeof s=="object"&&(f=s.filter)!==null&&f!==void 0?f:!0,b=typeof s=="object"&&s.position||void 0,k=typeof s=="object"&&s.onDrag||void 0,j=typeof s=="object"&&s.onDragStart||void 0,P=typeof s=="object"&&s.onDragEnd||void 0;return S.useEffect(()=>{v({x:b==null?void 0:b.x,y:b==null?void 0:b.y})},[b,v]),LD(),S.createElement(ow.Provider,{value:{hideCopyButton:l}},S.createElement(yF,{ref:w,className:t,fill:n,flat:r,oneLineLabels:i,hideTitleBar:!s,style:{display:y?"block":"none"}},s&&S.createElement(EF,{onDrag:N=>{v(N),k==null||k(N)},onDragStart:N=>j==null?void 0:j(N),onDragEnd:N=>P==null?void 0:P(N),setFilter:m,toggle:N=>u(M=>N??!M),toggled:a,title:_,drag:C,filterEnabled:E,from:b}),y&&S.createElement(rw.Provider,{value:e},S.createElement(Jw,{isRoot:!0,fill:n,flat:r,tree:x,toggled:a}))))}),$F=["isRoot"];let jc=!1,ro=null;function e_(e){let{isRoot:t=!1}=e,n=ge(e,$F);return h.useEffect(()=>(jc=!0,!t&&ro&&(ro.remove(),ro=null),()=>{t||(jc=!1)}),[t]),S.createElement(kF,Le({store:Qw},n))}function RF(e){h.useEffect(()=>{e&&!jc&&(ro||(ro=document.getElementById("leva__root")||Object.assign(document.createElement("div"),{id:"leva__root"}),document.body&&(document.body.appendChild(ro),TD(S.createElement(e_,{isRoot:!0}),ro))),jc=!0)},[e])}function TF(e,t,n,r,o){let i,s,l,a,u;return typeof e=="string"?(s=e,i=t,Array.isArray(n)?u=n:n&&("store"in n?(a=n,u=r):(l=n,Array.isArray(r)?u=r:(a=r,u=o)))):(i=e,Array.isArray(t)?u=t:(a=t,u=n)),{schema:i,folderName:s,folderSettings:l,hookSettings:a,deps:u||[]}}function od(e,t,n,r,o){const{folderName:i,schema:s,folderSettings:l,hookSettings:a,deps:u}=TF(e,t,n,r,o),d=typeof s=="function",f=h.useRef(!1),p=h.useRef(!0),g=Ww(()=>{f.current=!0;const M=typeof s=="function"?s():s;return i?{[i]:JL(M,l)}:M},u),m=!(a!=null&&a.store);RF(m);const[x]=h.useState(()=>(a==null?void 0:a.store)||Qw),[w,v]=h.useMemo(()=>x.getDataFromSchema(g),[x,g]),[y,_,C,E,b]=h.useMemo(()=>{const M=[],I=[],U={},z={},q={};return Object.values(v).forEach(({path:K,onChange:Y,onEditStart:L,onEditEnd:W,transient:X})=>{M.push(K),Y?(U[K]=Y,X||I.push(K)):I.push(K),L&&(z[K]=L),W&&(q[K]=W)}),[M,I,U,z,q]},[v]),k=h.useMemo(()=>x.orderPaths(y),[y,x]),j=oL(x,_,w),P=h.useCallback(M=>{const I=Object.entries(M).reduce((U,[z,q])=>Object.assign(U,{[v[z].path]:q}),{});x.set(I,!1)},[x,v]),N=h.useCallback(M=>x.get(v[M].path),[x,v]);return h.useEffect(()=>{const M=!p.current&&f.current;return x.addData(w,M),p.current=!1,f.current=!1,()=>x.disposePaths(k)},[x,k,w]),h.useEffect(()=>{const M=[];return Object.entries(C).forEach(([I,U])=>{U(x.get(I),I,te({initial:!0,get:x.get},x.getInput(I)));const z=x.useStore.subscribe(q=>{const K=q.data[I];return[K.disabled?void 0:K.value,K]},([q,K])=>U(q,I,te({initial:!1,get:x.get},K)),{equalityFn:ba});M.push(z)}),()=>M.forEach(I=>I())},[x,C]),h.useEffect(()=>{const M=[];return Object.entries(E).forEach(([I,U])=>M.push(x.subscribeToEditStart(I,U))),Object.entries(b).forEach(([I,U])=>M.push(x.subscribeToEditEnd(I,U))),()=>M.forEach(I=>I())},[E,b,x]),d?[j,P,N]:j}sr(hn.SELECT,bI);sr(hn.IMAGE,IL);sr(hn.NUMBER,fI);sr(hn.COLOR,mL);sr(hn.STRING,NI);sr(hn.BOOLEAN,LI);sr(hn.INTERVAL,GL);sr(hn.VECTOR3D,vL);sr(hn.VECTOR2D,CL);const NF=window.innerWidth<=768,PF=()=>{const{groupSize:e}=od({groupSize:{value:2,min:2,max:4,step:1}}),{itemCount:t}=od({itemCount:{value:8,min:4,max:12,step:1}}),{columns:n}=od({columns:{value:4,min:2,max:4,step:1,disabled:NF}}),[r,o]=h.useState([]),[i,s]=h.useState([]),l=h.useCallback(()=>{const[a,u]=A3(t,e);o(a),s(u)},[s,t,e]);return h.useEffect(l,[t,e,l]),c.jsxs(c.Fragment,{children:[c.jsx(e_,{collapsed:!0,hideCopyButton:!0,titleBar:{position:{x:0,y:40},filter:!1,title:"Config"},theme:{colors:{highlight1:"white",highlight2:"white"}}}),c.jsxs("h3",{className:Gn.center,children:["Connect group of ",e," words by clicking on related words"]}),c.jsx(W3,{itemGroups:r,allItems:i,columns:n,groupSize:e}),c.jsx("div",{className:Gn.center,children:c.jsx("button",{className:Gn.reset,onClick:()=>l(),children:"Reset"})})]})},OF="_heading_g33np_1",AF="_stepper_g33np_5",MF="_step_g33np_5",DF="_active_g33np_33",IF="_complete_g33np_39",LF="_btn_g33np_65",on={heading:OF,stepper:AF,step:MF,active:DF,"step-number":"_step-number_g33np_33",complete:IF,btn:LF,"progress-container":"_progress-container_g33np_71","progress-bar":"_progress-bar_g33np_83","action-container":"_action-container_g33np_91"},FF=({stepConfig:e=[]})=>{var d;const[t,n]=h.useState(1),[r,o]=h.useState(!1),[i,s]=h.useState(0),l=h.useRef(null),a=(d=e[t-1])==null?void 0:d.Component,u=()=>{n(f=>f===e.length?(o(!0),f):f+1)};return h.useEffect(()=>(s(l.current.offsetWidth/2),window.addEventListener("resize",()=>{s(l.current.offsetWidth/2)}),window.removeEventListener("resize",()=>{s(l.current.offsetWidth/2)})),[]),e.length===0?c.jsx(c.Fragment,{}):c.jsxs(c.Fragment,{children:[c.jsxs("div",{className:on.stepper,children:[e.map((f,p)=>c.jsxs("div",{ref:l,className:`${on.step} ${t===p+1?on.active:""} ${t>p+1||r?on.complete:""}`,children:[c.jsx("div",{className:on["step-number"],children:t>p+1||r?c.jsx("span",{children:"✓"}):p+1}),c.jsx("div",{className:on["step-name"],children:f.name})]},f.name)),c.jsx("div",{className:on["progress-container"],style:{width:`calc(100% - ${i*2}px)`,marginLeft:i},children:c.jsx("div",{className:on["progress-bar"],style:{width:`${(t-1)/(e.length-1)*100}%`}})})]}),c.jsxs("div",{className:on["action-container"],children:[!r&&c.jsx(a,{}),r&&c.jsx("div",{children:"Order Delivered successfully!🎉"}),!r&&c.jsx("button",{className:on.btn,onClick:u,children:t===e.length?"Finish":"Next"})]})]})},zF=[{name:"Contact Details",Component:()=>c.jsx("div",{children:"Add contact details for further communications."})},{name:"Shipping Address",Component:()=>c.jsx("div",{children:"Add shipping address for successfull delivery."})},{name:"Payment",Component:()=>c.jsx("div",{children:"Complete Payment to complete the order."})},{name:"Delivered",Component:()=>c.jsx("div",{children:"Ready to get delivered!"})}],BF=()=>c.jsxs("div",{children:[c.jsx("h1",{className:on.heading,children:"Stepper Component"}),c.jsx(FF,{stepConfig:zF})]}),UF="_main_yhjgz_1",HF="_option_yhjgz_26",_i={main:UF,"select-dahi":"_select-dahi_yhjgz_7","inline-options":"_inline-options_yhjgz_14",option:HF,"option-selected":"_option-selected_yhjgz_44","option-disabled":"_option-disabled_yhjgz_50"};function WF({id:e,text:t,setOption:n,isDisabled:r,isSelected:o}){const i=h.useCallback(s=>{if(r)return;const a=s.target.getAttribute("data-option-id");a&&n(a)},[]);return c.jsx("button",{"data-option-id":e,onClick:i,className:`${_i.option} ${o?_i["option-selected"]:""} ${r?_i["option-disabled"]:""}`,children:t})}function VF({options:e}){const[t,n]=h.useState(e[0].id),r=h.useCallback(o=>n(o),[]);return c.jsx("div",{className:_i["inline-options"],children:e.map(o=>c.jsx(WF,{...o,isSelected:o.id===t,setOption:r},o.id))})}const GF=[{id:"1",text:"100ml"},{id:"2",text:"200ml"},{id:"3",text:"400ml"},{id:"4",text:"500ml",isDisabled:!0},{id:"5",text:"800ml"}];function KF(){return c.jsx("div",{className:_i.main,children:c.jsxs("div",{className:_i["select-dahi"],children:[c.jsx("h2",{children:"Select Size of Dahi"}),c.jsx(VF,{options:GF})]})})}const qF="_a_13gc8_1",YF="_d_13gc8_2",QF="_g_13gc8_3",XF="_b_13gc8_18",JF="_c_13gc8_19",ZF="_e_13gc8_20",e8="_f_13gc8_21",t8="_off_13gc8_54",n8="_container_13gc8_59",r8="_hours_13gc8_68",o8="_minutes_13gc8_72",i8="_seconds_13gc8_76",s8="_colons_13gc8_80",a8="_colon1_13gc8_89",l8="_colon2_13gc8_90",D={a:qF,d:YF,g:QF,b:XF,c:JF,e:ZF,f:e8,off:t8,container:n8,hours:r8,minutes:o8,seconds:i8,colons:s8,colon1:a8,colon2:l8},c8=c.jsxs("div",{children:[c.jsx("div",{className:D.a}),c.jsx("div",{className:D.b}),c.jsx("div",{className:D.c}),c.jsx("div",{className:`${D.d} ${D.off}`}),c.jsx("div",{className:D.e}),c.jsx("div",{className:D.f}),c.jsx("div",{className:D.g})]}),u8=c.jsxs("div",{children:[c.jsx("div",{className:`${D.a} ${D.off}`}),c.jsx("div",{className:D.b}),c.jsx("div",{className:`${D.c} ${D.off}`}),c.jsx("div",{className:`${D.d} ${D.off}`}),c.jsx("div",{className:`${D.e} ${D.off}`}),c.jsx("div",{className:D.f}),c.jsx("div",{className:`${D.g} ${D.off}`})]}),d8=c.jsxs("div",{children:[c.jsx("div",{className:D.a}),c.jsx("div",{className:D.b}),c.jsx("div",{className:`${D.c} ${D.off}`}),c.jsx("div",{className:D.d}),c.jsx("div",{className:D.e}),c.jsx("div",{className:`${D.f} ${D.off}`}),c.jsx("div",{className:D.g})]}),f8=c.jsxs("div",{children:[c.jsx("div",{className:D.a}),c.jsx("div",{className:D.b}),c.jsx("div",{className:`${D.c} ${D.off}`}),c.jsx("div",{className:D.d}),c.jsx("div",{className:`${D.e} ${D.off}`}),c.jsx("div",{className:D.f}),c.jsx("div",{className:D.g})]}),p8=c.jsxs("div",{children:[c.jsx("div",{className:`${D.a} ${D.off}`}),c.jsx("div",{className:D.b}),c.jsx("div",{className:D.c}),c.jsx("div",{className:D.d}),c.jsx("div",{className:`${D.e} ${D.off}`}),c.jsx("div",{className:D.f}),c.jsx("div",{className:`${D.g} ${D.off}`})]}),h8=c.jsxs("div",{children:[c.jsx("div",{className:D.a}),c.jsx("div",{className:`${D.b} ${D.off}`}),c.jsx("div",{className:D.c}),c.jsx("div",{className:D.d}),c.jsx("div",{className:`${D.e} ${D.off}`}),c.jsx("div",{className:D.f}),c.jsx("div",{className:D.g})]}),m8=c.jsxs("div",{children:[c.jsx("div",{className:D.a}),c.jsx("div",{className:`${D.b} ${D.off}`}),c.jsx("div",{className:D.c}),c.jsx("div",{className:D.d}),c.jsx("div",{className:D.e}),c.jsx("div",{className:D.f}),c.jsx("div",{className:D.g})]}),g8=c.jsxs("div",{children:[c.jsx("div",{className:D.a}),c.jsx("div",{className:D.b}),c.jsx("div",{className:`${D.c} ${D.off}`}),c.jsx("div",{className:`${D.d} ${D.off}`}),c.jsx("div",{className:`${D.e} ${D.off}`}),c.jsx("div",{className:D.f}),c.jsx("div",{className:`${D.g} ${D.off}`})]}),v8=c.jsxs("div",{children:[c.jsx("div",{className:D.a}),c.jsx("div",{className:D.b}),c.jsx("div",{className:D.c}),c.jsx("div",{className:D.d}),c.jsx("div",{className:D.e}),c.jsx("div",{className:D.f}),c.jsx("div",{className:D.g})]}),y8=c.jsxs("div",{children:[c.jsx("div",{className:D.a}),c.jsx("div",{className:D.b}),c.jsx("div",{className:D.c}),c.jsx("div",{className:D.d}),c.jsx("div",{className:`${D.e} ${D.off}`}),c.jsx("div",{className:D.f}),c.jsx("div",{className:D.g})]}),zv=c.jsxs("div",{className:D.colons,children:[c.jsx("div",{className:D.colon1}),c.jsx("div",{className:D.colon2})]}),gn=new Map;gn.set(0,c8);gn.set(1,u8);gn.set(2,d8);gn.set(3,f8);gn.set(4,p8);gn.set(5,h8);gn.set(6,m8);gn.set(7,g8);gn.set(8,v8);gn.set(9,y8);function x8(){let e=new Date;const[t,n]=h.useState(e.getHours()%12||12),[r,o]=h.useState(e.getMinutes()),[i,s]=h.useState(e.getSeconds()),l=()=>{let u=new Date;n(u.getHours()%12||12),o(u.getMinutes()),s(u.getSeconds())};setInterval(()=>l(),1e3);const a=u=>gn.get(u);return c.jsx(c.Fragment,{children:c.jsxs("div",{className:D.container,children:[c.jsxs("div",{className:D.hours,children:[a(t.toString().split("").length>1?+t.toString().split("")[0]:0),a(t.toString().split("").length>1?+t.toString().split("")[1]:t)]}),zv,c.jsxs("div",{className:D.minutes,children:[a(r.toString().split("").length>1?+r.toString().split("")[0]:0),a(r.toString().split("").length>1?+r.toString().split("")[1]:r)]}),zv,c.jsxs("div",{className:D.seconds,children:[a(i.toString().split("").length>1?+i.toString().split("")[0]:0),a(i.toString().split("").length>1?+i.toString().split("")[1]:i)]})]})})}const w8=[{id:1,text:"Hello world! How are you?",replies:[{id:2,text:"Hey, I am fine, wau?",replies:[]}]}],_8="_comment_10sns_1",b8="_comment_replies_10sns_17",Bv={comment:_8,comment_replies:b8},t_=({comments:e,addComment:t,deleteComment:n})=>{const[r,o]=h.useState(-1),[i,s]=h.useState(""),l=d=>{i&&(t(d,i),o(-1)),s("")},a=()=>{o(-1),s("")},u=(d,f)=>{d.key==="Enter"?l(f):d.key==="Escape"&&a()};return e.map(d=>c.jsxs("div",{children:[c.jsxs("div",{className:Bv.comment,children:[c.jsx("img",{src:"https://www.iconpacks.net/icons/2/free-user-icon-3296-thumb.png",alt:d.text}),c.jsxs("div",{children:[c.jsx("p",{children:d.text}),r===d.id&&c.jsx("input",{type:"text",placeholder:"Reply...",autoFocus:!0,value:i,onKeyDown:f=>u(f,d.id),onChange:f=>s(f.target.value)}),r===d.id?c.jsxs(c.Fragment,{children:[c.jsx("button",{onClick:()=>l(d.id),children:"Add"}),c.jsx("button",{onClick:a,children:"Cancel"})]}):c.jsxs(c.Fragment,{children:[c.jsx("button",{onClick:()=>o(d.id),children:"Reply"}),c.jsx("button",{onClick:()=>n(d.id),children:"Delete"})]})]})]}),c.jsx("div",{className:Bv.comment_replies,children:c.jsx(t_,{comments:d.replies,addComment:t,deleteComment:n})})]},d.id))},S8=()=>{const[e,t]=h.useState(""),[n,r]=h.useState(w8),o=(l,a)=>{a&&r(l===-1?u=>{const d=structuredClone(u);return d.unshift({id:Date.now(),text:a,replies:[]}),d}:u=>{const d=structuredClone(u);return n_(d,l,a),d})},i=l=>{r(a=>{const u=structuredClone(a);return r_(u,l),u})},s=l=>{l.key==="Enter"&&(o(-1,e),t("")),l.key==="Escape"&&t("")};return c.jsxs(c.Fragment,{children:[c.jsx("h1",{children:"Comments"}),c.jsxs("div",{style:{marginBottom:"1rem",display:"flex",gap:"1rem"},children:[c.jsx("input",{type:"text",placeholder:"Add comment...",onKeyDown:s,value:e,onChange:l=>t(l.target.value)}),c.jsx("button",{onClick:()=>{o(-1,e),t("")},children:"Add"})]}),c.jsx(t_,{comments:n,addComment:o,deleteComment:i})]})},n_=(e,t,n)=>{for(const r of e){if(r.id===t)return r.replies.unshift({id:Date.now(),text:n,replies:[]}),!0;if(n_(r.replies,t,n))return!0}return!1},r_=(e,t)=>{for(let n=0;n{switch(t.type){case"setCellOnClick":{let n=structuredClone(e);if(e.isGameOver)return n;const{payload:r}=t;let{activeCount:o,isLevelComplete:i,isLevelReadyForClick:s,life:l,isGameOver:a,userGrid:u}=n;const d=e.memoryGrid[r.rowIndex][r.colIndex],f=e.userGrid[r.rowIndex][r.colIndex];return d===1&&f===0?(u[r.rowIndex][r.colIndex]=1,o=o-1,o===0&&(i=!0,s=!1)):l=l-1,l===0&&(a=!0),{...n,isLevelComplete:i,isLevelReadyForClick:s,life:l,isGameOver:a,activeCount:o}}case"onNextLevel":{let n=structuredClone(e);n.level=n.level+1,n.rows===n.cols?n.rows=n.rows+1:n.cols=n.cols+1;const{grid:r,activeCount:o}=E8(n.rows,n.cols);return n.memoryGrid=r,n.userGrid=r,n.activeCount=o,n.isLevelComplete=!1,{...n}}case"setEmptyUserGrid":{let n=structuredClone(e);return n.userGrid=o_(n.rows,n.cols),n}case"setLevelReadyForClick":{let n=structuredClone(e);const{payload:r}=t;return n.isLevelReadyForClick=r,n}case"onReset":return i_}},Ta=h.createContext(),k8=({children:e})=>{const[t,n]=h.useReducer(C8,i_);return c.jsx(Ta.Provider,{value:{state:t,dispatch:n},children:e})},j8="_flexColumnCenter_1mbig_6",$8="_button_1mbig_12",R8="_container_1mbig_21",Is={"flex-row-center":"_flex-row-center_1mbig_1",flexColumnCenter:j8,button:$8,container:R8},T8=e=>c.jsx("div",{className:Is.container,children:e.children});function N8(){const{dispatch:e}=h.useContext(Ta),t=h.useCallback(function(){e({type:"onNextLevel"})},[e]);return c.jsxs(T8,{children:[c.jsx("header",{children:c.jsx("h1",{children:"Memory Game"})}),c.jsxs("div",{children:[c.jsxs("div",{style:{margin:"50px"},children:[c.jsx("p",{children:"Remember the colored boxes displayed and click on the boxes once the game starts"}),c.jsx("p",{children:"Difficulty will increase with each level"})]}),c.jsx("button",{style:{fontSize:"1.5rem"},onClick:t,className:Is.button,children:"Start"})]})]})}const P8=typeof window<"u",O8=P8?h.useLayoutEffect:h.useEffect,A8={x:0,y:0,width:0,height:0,top:0,left:0,bottom:0,right:0};function M8(){const[e,t]=h.useState(null),[n,r]=h.useState(A8),o=h.useMemo(()=>new window.ResizeObserver(s=>{if(s[0]){const{x:l,y:a,width:u,height:d,top:f,left:p,bottom:g,right:m}=s[0].contentRect;r({x:l,y:a,width:u,height:d,top:f,left:p,bottom:g,right:m})}}),[]),i=()=>{o.disconnect()};return O8(()=>{if(e)return o.observe(e),i},[e]),[t,n]}const D8="_grid_dm3n1_1",I8={grid:D8},L8="_cellDiv_6x8w8_1",F8={cellDiv:L8};function z8({rowIndex:e,colIndex:t,backgroundColor:n}){return c.jsx("div",{className:`${F8.cellDiv} cell`,"data-row-index":e,"data-col-index":t,style:{backgroundColor:n??"#FFF"}})}const B8=e=>{const t={gridTemplateRows:`repeat(${e.rows}, 1fr)`,gridTemplateColumns:`repeat(${e.cols}, 1fr)`,width:`${e.width-20}px`,height:`${(e.width-20)/e.cols*e.rows}px`,maxHeight:`${e.rows*100}px`,maxWidth:`${e.cols*100}px`};return c.jsx("div",{className:I8.grid,style:t,onClick:e.onClick,children:e.children})};function U8({userGrid:e,windowWidth:t}){const{dispatch:n,state:r}=h.useContext(Ta),o=window.innerHeight-230;t>o&&(t=o),h.useEffect(()=>{setTimeout(()=>{n({type:"setEmptyUserGrid"}),n({type:"setLevelReadyForClick",payload:!0})},3e3)},[n,r.level]);const i=h.useCallback(function(s){if(!r.isLevelReadyForClick)return;const l=s.target;if(l.classList.contains("cell")){const a=l.dataset.rowIndex,u=l.dataset.colIndex;n({type:"setCellOnClick",payload:{rowIndex:a,colIndex:u}})}},[n,r.isLevelReadyForClick]);return c.jsx(B8,{rows:e.length,cols:e[0].length,onClick:i,width:t,children:e.map((s,l)=>s.map((a,u)=>c.jsx(z8,{rowIndex:l,colIndex:u,backgroundColor:a?"yellow":void 0},l+""+u)))})}function H8(){const{dispatch:e,state:t}=h.useContext(Ta),[n,{width:r}]=M8(),o=h.useCallback(function(){e({type:"onNextLevel"})}),i=h.useCallback(function(){e({type:"onReset"})},[e]);return c.jsxs("div",{ref:n,style:{position:"relative"},className:Is.flexColumnCenter,children:[c.jsxs("h3",{children:["Level ",t.level]}),c.jsx(U8,{userGrid:t.userGrid,rows:t.rows,cols:t.cols,windowWidth:r}),c.jsxs("h1",{children:["Life Left : ",t.life]}),c.jsxs("h1",{children:[" ",t.isGameOver&&"Game Over"]}),t.isLevelComplete&&c.jsx("button",{onClick:o,className:Is.button,children:"Next"}),t.isGameOver&&c.jsx("button",{onClick:i,className:Is.button,children:"Home"})]})}function W8(){const{state:e}=h.useContext(Ta);return e.level===0?c.jsx(N8,{}):c.jsx(H8,{})}function V8(){return c.jsx(k8,{children:c.jsx(W8,{})})}const G8="_formContainer_muy2u_1",K8="_input_text_muy2u_5",q8="_chips_muy2u_12",Y8="_remove_muy2u_20",ms={formContainer:G8,input_text:K8,chips:q8,remove:Y8},Q8=()=>{const[e,t]=h.useState(""),[n,r]=h.useState([]),o=s=>{s.preventDefault(),e.trim()!==""&&r([...n,e]),t("")},i=s=>{r(n.filter((l,a)=>a!==s))};return c.jsxs(c.Fragment,{children:[c.jsx("form",{onSubmit:o,className:ms.formContainer,children:c.jsx("input",{type:"text",placeholder:"Type & hit Enter",className:ms.input_text,value:e,onChange:s=>t(s.target.value)})}),c.jsx("div",{className:ms.container,children:n.map((s,l)=>c.jsxs("span",{className:ms.chips,children:[s," ",c.jsx("button",{className:ms.remove,onClick:()=>i(l),children:"✕"})]},l))})]})},X8="_container_w1r10_1",J8="_btn_w1r10_8",Z8="_active_w1r10_19",e6="_content_w1r10_23",ul={container:X8,btn:J8,active:Z8,content:e6},dl=[{label:"Tab 1",content:"HTML elements tell the browser how to display the content. For example, you can use HTML to create static pages with text, headings, tables, lists, images, links, and more."},{label:"Tab 2",content:"Cascading Style Sheets is a style sheet language used for specifying the presentation and styling of a document written in a markup language such as HTML or XML. "},{label:"Tab 3",content:"JavaScript, often abbreviated as JS, is a programming language and core technology of the Web, alongside HTML and CSS. 99% of websites use JavaScript on the client side for webpage behavior. Web browsers have a dedicated JavaScript engine that executes the client code. "}],t6=()=>{const[e,t]=h.useState(0),n=r=>t(r);return c.jsx(c.Fragment,{children:c.jsxs("div",{className:ul.container,children:[dl.map((r,o)=>c.jsx("span",{onClick:()=>n(o),className:`${e===o?ul.active:""} ${ul.btn}`,children:r.label},o)),c.jsxs("div",{className:ul.content,children:[c.jsxs("h2",{children:["Content of ",dl[e].label,":"]}),dl[e]&&c.jsx("p",{children:dl[e].content})]})]})})},n6="_container_1u8l1_1",r6="_listContainer_1u8l1_6",o6="_userDetail_1u8l1_19",i6="_saveBtn_1u8l1_24",Wo={container:n6,listContainer:r6,userDetail:o6,saveBtn:i6};function s6(e){return Ii({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0V0z"}},{tag:"path",attr:{d:"M11 18c0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2 2 .9 2 2zm-2-8c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0-6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm6 4c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"}}]})(e)}const a6=()=>{const[e,t]=h.useState([]),n=async()=>{const a=await(await fetch("https://jsonplaceholder.typicode.com/users")).json();t(a)};h.useEffect(()=>{const l=localStorage.getItem("savedList");l?t(JSON.parse(l)):n()},[]);const r=(l,a)=>{l.dataTransfer.setData("itemIndex",a)},o=()=>{localStorage.setItem("savedList",JSON.stringify(e)),alert("List Saved Successfully")},i=l=>{l.preventDefault()},s=(l,a)=>{const u=parseInt(l.dataTransfer.getData("itemIndex"));if(a!==u){const d=[...e],f=d.splice(u,1)[0];d.splice(a,0,f),t(d)}};return c.jsxs("div",{className:Wo.container,children:[e.slice(0,5).map((l,a)=>c.jsxs("div",{draggable:!0,onDragStart:u=>r(u,a),onDragOver:i,onDrop:u=>s(u,a),className:Wo.listContainer,children:[c.jsx("span",{className:Wo.userDetail,children:l.id}),c.jsx("span",{className:Wo.userDetail,children:l.name}),c.jsx("span",{className:Wo.userDetail,children:l.website}),c.jsx(s6,{})]},a)),c.jsx("button",{className:Wo.saveBtn,onClick:o,children:"Save List"})]})},l6="_container_1iv6r_1",c6="_inputWrapper_1iv6r_5",u6="_box_1iv6r_19",d6="_circle_1iv6r_26",fl={container:l6,inputWrapper:c6,box:u6,circle:d6},gs=Math.min(window.innerWidth-120,window.innerHeight-200),f6=50,p6=()=>{const[e,t]=h.useState(1),n=(gs-f6)/e,r=o=>{if(+o.target.value>2e3){t(2e3);return}if(+o.target.value<1){t(1);return}t(+o.target.value)};return c.jsxs("div",{className:fl.container,children:[c.jsxs("div",{className:fl.inputWrapper,children:[c.jsx("label",{htmlFor:"circles",children:"Number of circles:"}),c.jsx("input",{type:"number",id:"circles",value:e,min:"0",max:"2000",onChange:r})]}),c.jsx("div",{className:fl.box,style:{height:gs,width:gs},children:Array.from({length:e},(o,i)=>i).map(o=>c.jsx("div",{className:fl.circle,style:{height:gs-o*n,width:gs-o*n}},o))})]})},h6=60,Al=[12,1,2,3,4,5,6,7,8,9,10,11],m6=e=>({seconds:Al.length/2*e.getSeconds(),minutes:Al.length/2*e.getMinutes()+e.getSeconds()/10,hours:e.getMinutes()/2+e.getHours()%Al.length*30}),g6="_clock_as1nw_10",v6="_ticks_as1nw_22",y6="_tick_as1nw_22",x6="_digits_as1nw_42",w6="_digit_as1nw_42",_6="_bgImg_as1nw_57",b6="_centerConnector_as1nw_64",S6="_secondsHand_as1nw_73",E6="_minutesHand_as1nw_74",C6="_hoursHand_as1nw_75",Cn={clock:g6,ticks:v6,tick:y6,digits:x6,digit:w6,bgImg:_6,centerConnector:b6,secondsHand:S6,minutesHand:E6,hoursHand:C6},s_=S.memo(()=>c.jsx("div",{className:Cn.digits,children:Al.map((e,t)=>c.jsx("div",{className:Cn.digit,style:{left:`${50+Math.sin(Math.PI*2/12*t)*50}%`,top:`${50-Math.cos(Math.PI*2/12*t)*50}%`},children:e},e))}));s_.displayName="Digits";const a_=S.memo(()=>c.jsx("div",{className:Cn.ticks,children:Array.from({length:h6}).map((e,t)=>c.jsx("div",{className:Cn.tick,style:{left:`${50+Math.sin(Math.PI*2/60*t)*50}%`,top:`${50-Math.cos(Math.PI*2/60*t)*50}%`,rotate:`${t*6}deg`}},t))}));a_.displayName="Ticks";const k6=()=>{const[e,t]=h.useState({hours:0,minutes:0,seconds:0});return h.useEffect(()=>{const n=()=>{t(m6(new Date))};return n(),setInterval(n,1e3),()=>{clearInterval(n)}},[]),c.jsxs("div",{className:Cn.clock,style:{overflow:"hidden"},children:[c.jsx("img",{src:"https://images.unsplash.com/photo-1512428813834-c702c7702b78",alt:"",className:Cn.bgImg}),c.jsx(a_,{}),c.jsx(s_,{}),c.jsx("div",{className:Cn.centerConnector}),c.jsx("div",{className:Cn.hoursHand,style:{rotate:`${e.hours}deg`}}),c.jsx("div",{className:Cn.minutesHand,style:{rotate:`${e.minutes}deg`}}),c.jsx("div",{className:Cn.secondsHand,style:{rotate:`${e.seconds}deg`}})]})},j6={"transfer-list":c.jsx(w3,{}),counter:c.jsx(Ok,{}),accordion:c.jsx(TC,{}),"background-changer":c.jsx(wk,{}),"star-Rating":c.jsx(sT,{}),"light-dark-mode":c.jsx(k$,{}),"Guess-the-number":c.jsx(U2,{}),"telephone-formatter":c.jsx(ET,{}),"toast-popup":c.jsx(eN,{}),"password-strength":c.jsx($R,{}),"todo-list":c.jsx(lN,{}),"investment-calculator":c.jsx(_$,{}),stopwatch:c.jsx(lT,{}),progressbar:c.jsx(MR,{}),"infinite-scrolling":c.jsx(u$,{}),"feedback-modal":c.jsx(f2,{}),"file-explorer":c.jsx(S2,{}),"autocomplete-offline":c.jsx(FC,{}),"autocomplete-online":c.jsx(HC,{}),"tic-tac-toe":c.jsx(IT,{}),stack:c.jsx(tT,{}),"food-recipe":c.jsx(L2,{}),"match-pair":c.jsx(L$,{}),"password-generator":c.jsx(_R,{}),"column-table":c.jsx(Tk,{}),"table-colorizer":c.jsx(ST,{}),"25-5-clock":c.jsx(bN,{}),"bmi-calculator":c.jsx(ik,{}),"email-templates":c.jsx(Uk,{}),"expense-tracker":c.jsx(Qk,{}),pagination:c.jsx(aR,{}),"qr-code-generator":c.jsx(VR,{}),"quote-generator":c.jsx(XR,{}),"image-gallery":c.jsx(W2,{}),"word-count":c.jsx($N,{}),"temperature-converter":c.jsx(AT,{}),"color-mixer":c.jsx(bk,{}),"string-transformers":c.jsx(pT,{}),"your-sport":c.jsx(DN,{}),"modal-popup":c.jsx(UN,{}),"emoji-picker":c.jsx(rP,{}),"programming-languages-multiverse":c.jsx(fP,{}),otp:c.jsx(mP,{}),"traffic-lights":c.jsx(wP,{}),"quiz-app":c.jsx(AP,{}),"chess-board":c.jsx(BP,{}),"nested-dropdown":c.jsx(Y$,{}),"anagram-checker":c.jsx(QC,{}),calculator:c.jsx(e3,{}),"water-balancer":c.jsx(p3,{}),timeline:c.jsx(j3,{}),"word-connect":c.jsx(PF,{}),stepper:c.jsx(BF,{}),"inline-options":c.jsx(KF,{}),"digital-clock":c.jsx(x8,{}),"nested-comments":c.jsx(S8,{}),"15puzzle":c.jsx(CC,{}),"memory-game":c.jsx(V8,{}),"chip-input":c.jsx(Q8,{}),tabs:c.jsx(t6,{}),"drag-drop":c.jsx(a6,{}),circles:c.jsx(p6,{}),"analog-clock":c.jsx(k6,{})};function $6(){var n;const e=OE(),t=(e==null?void 0:e.id)??"";return c.jsxs(c.Fragment,{children:[c.jsx(gk,{title:(n=aC.get(t))==null?void 0:n.title}),c.jsx("div",{className:"container",children:j6[t]})]})}const R6=KE([{path:"/:id",element:c.jsx($6,{})}]);sd.createRoot(document.getElementById("root")).render(c.jsx(S.StrictMode,{children:c.jsx(nC,{router:R6})})); diff --git a/docs/react/index.html b/docs/react/index.html index cc5bd9a5f..06561a6bd 100644 --- a/docs/react/index.html +++ b/docs/react/index.html @@ -14,7 +14,7 @@ name="description" content="Frontend Mini Challenges is a collection of frontend interview coding challenges" /> - + diff --git a/docs/vue/assets/css-NOfCHX53.png b/docs/vue/assets/css-NOfCHX53.png new file mode 100644 index 0000000000000000000000000000000000000000..d4a1f89eb264133113730e203c79e0ed414d495a GIT binary patch literal 32176 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 literal 0 HcmV?d00001 diff --git a/docs/vue/assets/index-nNzOKJ4L.js b/docs/vue/assets/index-y2aIRCCx.js similarity index 51% rename from docs/vue/assets/index-nNzOKJ4L.js rename to docs/vue/assets/index-y2aIRCCx.js index 9f41697ae..bb30789e3 100644 --- a/docs/vue/assets/index-nNzOKJ4L.js +++ b/docs/vue/assets/index-y2aIRCCx.js @@ -1,5 +1,5 @@ -(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))s(i);new MutationObserver(i=>{for(const o of i)if(o.type==="childList")for(const r of o.addedNodes)r.tagName==="LINK"&&r.rel==="modulepreload"&&s(r)}).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 s(i){if(i.ep)return;i.ep=!0;const o=n(i);fetch(i.href,o)}})();function As(e,t){const n=Object.create(null),s=e.split(",");for(let i=0;i!!n[i.toLowerCase()]:i=>!!n[i]}const ne={},Ht=[],Ge=()=>{},fr=()=>!1,Wn=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Is=e=>e.startsWith("onUpdate:"),me=Object.assign,Os=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},dr=Object.prototype.hasOwnProperty,q=(e,t)=>dr.call(e,t),H=Array.isArray,jt=e=>bn(e)==="[object Map]",Yt=e=>bn(e)==="[object Set]",si=e=>bn(e)==="[object Date]",V=e=>typeof e=="function",ae=e=>typeof e=="string",mt=e=>typeof e=="symbol",ee=e=>e!==null&&typeof e=="object",eo=e=>(ee(e)||V(e))&&V(e.then)&&V(e.catch),to=Object.prototype.toString,bn=e=>to.call(e),pr=e=>bn(e).slice(8,-1),no=e=>bn(e)==="[object Object]",$s=e=>ae(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,An=As(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Gn=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},hr=/-(\w)/g,Bt=Gn(e=>e.replace(hr,(t,n)=>n?n.toUpperCase():"")),mr=/\B([A-Z])/g,Qt=Gn(e=>e.replace(mr,"-$1").toLowerCase()),so=Gn(e=>e.charAt(0).toUpperCase()+e.slice(1)),rs=Gn(e=>e?`on${so(e)}`:""),Rt=(e,t)=>!Object.is(e,t),In=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},Un=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let ii;const gs=()=>ii||(ii=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Ze(e){if(H(e)){const t={};for(let n=0;n{if(n){const s=n.split(vr);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function nt(e){let t="";if(ae(e))t=e;else if(H(e))for(let n=0;nPt(n,t))}const ie=e=>ae(e)?e:e==null?"":H(e)||ee(e)&&(e.toString===to||!V(e.toString))?JSON.stringify(e,oo,2):String(e),oo=(e,t)=>t&&t.__v_isRef?oo(e,t.value):jt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,i],o)=>(n[ls(s,o)+" =>"]=i,n),{})}:Yt(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>ls(n))}:mt(t)?ls(t):ee(t)&&!H(t)&&!no(t)?String(t):t,ls=(e,t="")=>{var n;return mt(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};let $e;class Er{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=$e,!t&&$e&&(this.index=($e.scopes||($e.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=$e;try{return $e=this,t()}finally{$e=n}}}on(){$e=this}off(){$e=this.parent}stop(t){if(this._active){let n,s;for(n=0,s=this.effects.length;n{const t=new Set(e);return t.w=0,t.n=0,t},ro=e=>(e.w>)>0,lo=e=>(e.n>)>0,Mr=({deps:e})=>{if(e.length)for(let t=0;t{const{deps:t}=e;if(t.length){let n=0;for(let s=0;s{(c==="length"||!mt(c)&&c>=l)&&a.push(u)})}else switch(n!==void 0&&a.push(r.get(n)),t){case"add":H(e)?$s(n)&&a.push(r.get("length")):(a.push(r.get(Mt)),jt(e)&&a.push(r.get(_s)));break;case"delete":H(e)||(a.push(r.get(Mt)),jt(e)&&a.push(r.get(_s)));break;case"set":jt(e)&&a.push(r.get(Mt));break}if(a.length===1)a[0]&&ys(a[0]);else{const l=[];for(const u of a)u&&l.push(...u);ys(Ls(l))}}function ys(e,t){const n=H(e)?e:[...e];for(const s of n)s.computed&&ri(s);for(const s of n)s.computed||ri(s)}function ri(e,t){(e!==Ne||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}function Rr(e,t){var n;return(n=Dn.get(e))==null?void 0:n.get(t)}const Pr=As("__proto__,__v_isRef,__isVue"),uo=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(mt)),li=Tr();function Tr(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const s=W(this);for(let o=0,r=this.length;o{e[t]=function(...n){Xt();const s=W(this)[t].apply(this,n);return Zt(),s}}),e}function Ar(e){const t=W(this);return Ce(t,"has",e),t.hasOwnProperty(e)}class fo{constructor(t=!1,n=!1){this._isReadonly=t,this._shallow=n}get(t,n,s){const i=this._isReadonly,o=this._shallow;if(n==="__v_isReactive")return!i;if(n==="__v_isReadonly")return i;if(n==="__v_isShallow")return o;if(n==="__v_raw")return s===(i?o?Kr:go:o?mo:ho).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const r=H(t);if(!i){if(r&&q(li,n))return Reflect.get(li,n,s);if(n==="hasOwnProperty")return Ar}const a=Reflect.get(t,n,s);return(mt(n)?uo.has(n):Pr(n))||(i||Ce(t,"get",n),o)?a:be(a)?r&&$s(n)?a:a.value:ee(a)?i?_o(a):kn(a):a}}class po extends fo{constructor(t=!1){super(!1,t)}set(t,n,s,i){let o=t[n];if(!this._shallow){const l=Vt(o);if(!Bn(s)&&!Vt(s)&&(o=W(o),s=W(s)),!H(t)&&be(o)&&!be(s))return l?!1:(o.value=s,!0)}const r=H(t)&&$s(n)?Number(n)e,Jn=e=>Reflect.getPrototypeOf(e);function En(e,t,n=!1,s=!1){e=e.__v_raw;const i=W(e),o=W(t);n||(Rt(t,o)&&Ce(i,"get",t),Ce(i,"get",o));const{has:r}=Jn(i),a=s?Hs:n?Ds:hn;if(r.call(i,t))return a(e.get(t));if(r.call(i,o))return a(e.get(o));e!==i&&e.get(t)}function xn(e,t=!1){const n=this.__v_raw,s=W(n),i=W(e);return t||(Rt(e,i)&&Ce(s,"has",e),Ce(s,"has",i)),e===i?n.has(e):n.has(e)||n.has(i)}function Cn(e,t=!1){return e=e.__v_raw,!t&&Ce(W(e),"iterate",Mt),Reflect.get(e,"size",e)}function ai(e){e=W(e);const t=W(this);return Jn(t).has.call(t,e)||(t.add(e),st(t,"add",e,e)),this}function ci(e,t){t=W(t);const n=W(this),{has:s,get:i}=Jn(n);let o=s.call(n,e);o||(e=W(e),o=s.call(n,e));const r=i.call(n,e);return n.set(e,t),o?Rt(t,r)&&st(n,"set",e,t):st(n,"add",e,t),this}function ui(e){const t=W(this),{has:n,get:s}=Jn(t);let i=n.call(t,e);i||(e=W(e),i=n.call(t,e)),s&&s.call(t,e);const o=t.delete(e);return i&&st(t,"delete",e,void 0),o}function fi(){const e=W(this),t=e.size!==0,n=e.clear();return t&&st(e,"clear",void 0,void 0),n}function Mn(e,t){return function(s,i){const o=this,r=o.__v_raw,a=W(r),l=t?Hs:e?Ds:hn;return!e&&Ce(a,"iterate",Mt),r.forEach((u,c)=>s.call(i,l(u),l(c),o))}}function Sn(e,t,n){return function(...s){const i=this.__v_raw,o=W(i),r=jt(o),a=e==="entries"||e===Symbol.iterator&&r,l=e==="keys"&&r,u=i[e](...s),c=n?Hs:t?Ds:hn;return!t&&Ce(o,"iterate",l?_s:Mt),{next(){const{value:p,done:v}=u.next();return v?{value:p,done:v}:{value:a?[c(p[0]),c(p[1])]:c(p),done:v}},[Symbol.iterator](){return this}}}}function lt(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Lr(){const e={get(o){return En(this,o)},get size(){return Cn(this)},has:xn,add:ai,set:ci,delete:ui,clear:fi,forEach:Mn(!1,!1)},t={get(o){return En(this,o,!1,!0)},get size(){return Cn(this)},has:xn,add:ai,set:ci,delete:ui,clear:fi,forEach:Mn(!1,!0)},n={get(o){return En(this,o,!0)},get size(){return Cn(this,!0)},has(o){return xn.call(this,o,!0)},add:lt("add"),set:lt("set"),delete:lt("delete"),clear:lt("clear"),forEach:Mn(!0,!1)},s={get(o){return En(this,o,!0,!0)},get size(){return Cn(this,!0)},has(o){return xn.call(this,o,!0)},add:lt("add"),set:lt("set"),delete:lt("delete"),clear:lt("clear"),forEach:Mn(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(o=>{e[o]=Sn(o,!1,!1),n[o]=Sn(o,!0,!1),t[o]=Sn(o,!1,!0),s[o]=Sn(o,!0,!0)}),[e,n,t,s]}const[Fr,Hr,jr,Ur]=Lr();function js(e,t){const n=t?e?Ur:jr:e?Hr:Fr;return(s,i,o)=>i==="__v_isReactive"?!e:i==="__v_isReadonly"?e:i==="__v_raw"?s:Reflect.get(q(n,i)&&i in s?n:s,i,o)}const Dr={get:js(!1,!1)},Br={get:js(!1,!0)},Vr={get:js(!0,!1)},ho=new WeakMap,mo=new WeakMap,go=new WeakMap,Kr=new WeakMap;function zr(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function qr(e){return e.__v_skip||!Object.isExtensible(e)?0:zr(pr(e))}function kn(e){return Vt(e)?e:Us(e,!1,Or,Dr,ho)}function vo(e){return Us(e,!1,Nr,Br,mo)}function _o(e){return Us(e,!0,$r,Vr,go)}function Us(e,t,n,s,i){if(!ee(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=i.get(e);if(o)return o;const r=qr(e);if(r===0)return e;const a=new Proxy(e,r===2?s:n);return i.set(e,a),a}function Ut(e){return Vt(e)?Ut(e.__v_raw):!!(e&&e.__v_isReactive)}function Vt(e){return!!(e&&e.__v_isReadonly)}function Bn(e){return!!(e&&e.__v_isShallow)}function yo(e){return Ut(e)||Vt(e)}function W(e){const t=e&&e.__v_raw;return t?W(t):e}function bo(e){return jn(e,"__v_skip",!0),e}const hn=e=>ee(e)?kn(e):e,Ds=e=>ee(e)?_o(e):e;function ko(e){dt&&Ne&&(e=W(e),co(e.dep||(e.dep=Ls())))}function wo(e,t){e=W(e);const n=e.dep;n&&ys(n)}function be(e){return!!(e&&e.__v_isRef===!0)}function K(e){return Eo(e,!1)}function Wr(e){return Eo(e,!0)}function Eo(e,t){return be(e)?e:new Gr(e,t)}class Gr{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:W(t),this._value=n?t:hn(t)}get value(){return ko(this),this._value}set value(t){const n=this.__v_isShallow||Bn(t)||Vt(t);t=n?t:W(t),Rt(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:hn(t),wo(this))}}function se(e){return be(e)?e.value:e}const Jr={get:(e,t,n)=>se(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const i=e[t];return be(i)&&!be(n)?(i.value=n,!0):Reflect.set(e,t,n,s)}};function xo(e){return Ut(e)?e:new Proxy(e,Jr)}class Yr{constructor(t,n,s){this._object=t,this._key=n,this._defaultValue=s,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return Rr(W(this._object),this._key)}}class Qr{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function Xr(e,t,n){return be(e)?e:V(e)?new Qr(e):ee(e)&&arguments.length>1?Zr(e,t,n):K(e)}function Zr(e,t,n){const s=e[t];return be(s)?s:new Yr(e,t,n)}class el{constructor(t,n,s,i){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this._dirty=!0,this.effect=new Fs(t,()=>{this._dirty||(this._dirty=!0,wo(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!i,this.__v_isReadonly=s}get value(){const t=W(this);return ko(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function tl(e,t,n=!1){let s,i;const o=V(e);return o?(s=e,i=Ge):(s=e.get,i=e.set),new el(s,i,o||!i,n)}function pt(e,t,n,s){let i;try{i=s?e(...s):e()}catch(o){Yn(o,t,n)}return i}function He(e,t,n,s){if(V(e)){const o=pt(e,t,n,s);return o&&eo(o)&&o.catch(r=>{Yn(r,t,n)}),o}const i=[];for(let o=0;o>>1,i=_e[s],o=gn(i);oWe&&_e.splice(t,1)}function ol(e){H(e)?Dt.push(...e):(!Xe||!Xe.includes(e,e.allowRecurse?wt+1:wt))&&Dt.push(e),So()}function di(e,t,n=mn?We+1:0){for(;n<_e.length;n++){const s=_e[n];if(s&&s.pre){if(e&&s.id!==e.uid)continue;_e.splice(n,1),n--,s()}}}function Ro(e){if(Dt.length){const t=[...new Set(Dt)];if(Dt.length=0,Xe){Xe.push(...t);return}for(Xe=t,Xe.sort((n,s)=>gn(n)-gn(s)),wt=0;wte.id==null?1/0:e.id,rl=(e,t)=>{const n=gn(e)-gn(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function Po(e){bs=!1,mn=!0,_e.sort(rl);try{for(We=0;We<_e.length;We++){const t=_e[We];t&&t.active!==!1&&pt(t,null,14)}}finally{We=0,_e.length=0,Ro(),mn=!1,Bs=null,(_e.length||Dt.length)&&Po()}}function ll(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||ne;let i=n;const o=t.startsWith("update:"),r=o&&t.slice(7);if(r&&r in s){const c=`${r==="modelValue"?"model":r}Modifiers`,{number:p,trim:v}=s[c]||ne;v&&(i=n.map(k=>ae(k)?k.trim():k)),p&&(i=n.map(Un))}let a,l=s[a=rs(t)]||s[a=rs(Bt(t))];!l&&o&&(l=s[a=rs(Qt(t))]),l&&He(l,e,6,i);const u=s[a+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,He(u,e,6,i)}}function To(e,t,n=!1){const s=t.emitsCache,i=s.get(e);if(i!==void 0)return i;const o=e.emits;let r={},a=!1;if(!V(e)){const l=u=>{const c=To(u,t,!0);c&&(a=!0,me(r,c))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!o&&!a?(ee(e)&&s.set(e,null),null):(H(o)?o.forEach(l=>r[l]=null):me(r,o),ee(e)&&s.set(e,r),r)}function Qn(e,t){return!e||!Wn(t)?!1:(t=t.slice(2).replace(/Once$/,""),q(e,t[0].toLowerCase()+t.slice(1))||q(e,Qt(t))||q(e,t))}let Le=null,Xn=null;function Vn(e){const t=Le;return Le=e,Xn=e&&e.type.__scopeId||null,t}function Se(e){Xn=e}function Re(){Xn=null}function al(e,t=Le,n){if(!t||e._n)return e;const s=(...i)=>{s._d&&wi(-1);const o=Vn(t);let r;try{r=e(...i)}finally{Vn(o),s._d&&wi(1)}return r};return s._n=!0,s._c=!0,s._d=!0,s}function as(e){const{type:t,vnode:n,proxy:s,withProxy:i,props:o,propsOptions:[r],slots:a,attrs:l,emit:u,render:c,renderCache:p,data:v,setupState:k,ctx:P,inheritAttrs:A}=e;let D,L;const j=Vn(e);try{if(n.shapeFlag&4){const U=i||s,ue=U;D=qe(c.call(ue,U,p,o,k,v,P)),L=l}else{const U=t;D=qe(U.length>1?U(o,{attrs:l,slots:a,emit:u}):U(o,null)),L=t.props?l:cl(l)}}catch(U){un.length=0,Yn(U,e,1),D=he(Tt)}let G=D;if(L&&A!==!1){const U=Object.keys(L),{shapeFlag:ue}=G;U.length&&ue&7&&(r&&U.some(Is)&&(L=ul(L,r)),G=zt(G,L))}return n.dirs&&(G=zt(G),G.dirs=G.dirs?G.dirs.concat(n.dirs):n.dirs),n.transition&&(G.transition=n.transition),D=G,Vn(j),D}const cl=e=>{let t;for(const n in e)(n==="class"||n==="style"||Wn(n))&&((t||(t={}))[n]=e[n]);return t},ul=(e,t)=>{const n={};for(const s in e)(!Is(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function fl(e,t,n){const{props:s,children:i,component:o}=e,{props:r,children:a,patchFlag:l}=t,u=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return s?pi(s,r,u):!!r;if(l&8){const c=t.dynamicProps;for(let p=0;pe.__isSuspense;function ml(e,t){t&&t.pendingBranch?H(e)?t.effects.push(...e):t.effects.push(e):ol(e)}const Rn={};function ht(e,t,n){return Ao(e,t,n)}function Ao(e,t,{immediate:n,deep:s,flush:i,onTrack:o,onTrigger:r}=ne){var a;const l=Cr()===((a=ye)==null?void 0:a.scope)?ye:null;let u,c=!1,p=!1;if(be(e)?(u=()=>e.value,c=Bn(e)):Ut(e)?(u=()=>e,s=!0):H(e)?(p=!0,c=e.some(U=>Ut(U)||Bn(U)),u=()=>e.map(U=>{if(be(U))return U.value;if(Ut(U))return Ct(U);if(V(U))return pt(U,l,2)})):V(e)?t?u=()=>pt(e,l,2):u=()=>{if(!(l&&l.isUnmounted))return v&&v(),He(e,l,3,[k])}:u=Ge,t&&s){const U=u;u=()=>Ct(U())}let v,k=U=>{v=j.onStop=()=>{pt(U,l,4),v=j.onStop=void 0}},P;if(_n)if(k=Ge,t?n&&He(t,l,3,[u(),p?[]:void 0,k]):u(),i==="sync"){const U=ra();P=U.__watcherHandles||(U.__watcherHandles=[])}else return Ge;let A=p?new Array(e.length).fill(Rn):Rn;const D=()=>{if(j.active)if(t){const U=j.run();(s||c||(p?U.some((ue,ge)=>Rt(ue,A[ge])):Rt(U,A)))&&(v&&v(),He(t,l,3,[U,A===Rn?void 0:p&&A[0]===Rn?[]:A,k]),A=U)}else j.run()};D.allowRecurse=!!t;let L;i==="sync"?L=D:i==="post"?L=()=>Ee(D,l&&l.suspense):(D.pre=!0,l&&(D.id=l.uid),L=()=>Vs(D));const j=new Fs(u,L);t?n?D():A=j.run():i==="post"?Ee(j.run.bind(j),l&&l.suspense):j.run();const G=()=>{j.stop(),l&&l.scope&&Os(l.scope.effects,j)};return P&&P.push(G),G}function gl(e,t,n){const s=this.proxy,i=ae(e)?e.includes(".")?Io(s,e):()=>s[e]:e.bind(s,s);let o;V(t)?o=t:(o=t.handler,n=t);const r=ye;qt(this);const a=Ao(i,o.bind(s),n);return r?qt(r):St(),a}function Io(e,t){const n=t.split(".");return()=>{let s=e;for(let i=0;i{Ct(n,t)});else if(no(e))for(const n in e)Ct(e[n],t);return e}function de(e,t){const n=Le;if(n===null)return e;const s=ns(n)||n.proxy,i=e.dirs||(e.dirs=[]);for(let o=0;ome({name:e.name},t,{setup:e}))():e}const On=e=>!!e.type.__asyncLoader,Oo=e=>e.type.__isKeepAlive;function vl(e,t){$o(e,"a",t)}function _l(e,t){$o(e,"da",t)}function $o(e,t,n=ye){const s=e.__wdc||(e.__wdc=()=>{let i=n;for(;i;){if(i.isDeactivated)return;i=i.parent}return e()});if(Zn(t,s,n),n){let i=n.parent;for(;i&&i.parent;)Oo(i.parent.vnode)&&yl(s,t,n,i),i=i.parent}}function yl(e,t,n,s){const i=Zn(t,e,s,!0);No(()=>{Os(s[t],i)},n)}function Zn(e,t,n=ye,s=!1){if(n){const i=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...r)=>{if(n.isUnmounted)return;Xt(),qt(n);const a=He(t,n,e,r);return St(),Zt(),a});return s?i.unshift(o):i.push(o),o}}const it=e=>(t,n=ye)=>(!_n||e==="sp")&&Zn(e,(...s)=>t(...s),n),bl=it("bm"),kl=it("m"),wl=it("bu"),El=it("u"),xl=it("bum"),No=it("um"),Cl=it("sp"),Ml=it("rtg"),Sl=it("rtc");function Rl(e,t=ye){Zn("ec",e,t)}function Kt(e,t,n,s){let i;const o=n&&n[s];if(H(e)||ae(e)){i=new Array(e.length);for(let r=0,a=e.length;rt(r,a,void 0,o&&o[a]));else{const r=Object.keys(e);i=new Array(r.length);for(let a=0,l=r.length;ae?qo(e)?ns(e)||e.proxy:ks(e.parent):null,cn=me(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>ks(e.parent),$root:e=>ks(e.root),$emit:e=>e.emit,$options:e=>Ks(e),$forceUpdate:e=>e.f||(e.f=()=>Vs(e.update)),$nextTick:e=>e.n||(e.n=Mo.bind(e.proxy)),$watch:e=>gl.bind(e)}),cs=(e,t)=>e!==ne&&!e.__isScriptSetup&&q(e,t),Pl={get({_:e},t){const{ctx:n,setupState:s,data:i,props:o,accessCache:r,type:a,appContext:l}=e;let u;if(t[0]!=="$"){const k=r[t];if(k!==void 0)switch(k){case 1:return s[t];case 2:return i[t];case 4:return n[t];case 3:return o[t]}else{if(cs(s,t))return r[t]=1,s[t];if(i!==ne&&q(i,t))return r[t]=2,i[t];if((u=e.propsOptions[0])&&q(u,t))return r[t]=3,o[t];if(n!==ne&&q(n,t))return r[t]=4,n[t];ws&&(r[t]=0)}}const c=cn[t];let p,v;if(c)return t==="$attrs"&&Ce(e,"get",t),c(e);if((p=a.__cssModules)&&(p=p[t]))return p;if(n!==ne&&q(n,t))return r[t]=4,n[t];if(v=l.config.globalProperties,q(v,t))return v[t]},set({_:e},t,n){const{data:s,setupState:i,ctx:o}=e;return cs(i,t)?(i[t]=n,!0):s!==ne&&q(s,t)?(s[t]=n,!0):q(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:i,propsOptions:o}},r){let a;return!!n[r]||e!==ne&&q(e,r)||cs(t,r)||(a=o[0])&&q(a,r)||q(s,r)||q(cn,r)||q(i.config.globalProperties,r)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:q(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function hi(e){return H(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let ws=!0;function Tl(e){const t=Ks(e),n=e.proxy,s=e.ctx;ws=!1,t.beforeCreate&&mi(t.beforeCreate,e,"bc");const{data:i,computed:o,methods:r,watch:a,provide:l,inject:u,created:c,beforeMount:p,mounted:v,beforeUpdate:k,updated:P,activated:A,deactivated:D,beforeDestroy:L,beforeUnmount:j,destroyed:G,unmounted:U,render:ue,renderTracked:ge,renderTriggered:Ie,errorCaptured:Ue,serverPrefetch:At,expose:De,inheritAttrs:ot,components:_t,directives:Be,filters:tn}=t;if(u&&Al(u,s,null),r)for(const Z in r){const J=r[Z];V(J)&&(s[Z]=J.bind(n))}if(i){const Z=i.call(n,n);ee(Z)&&(e.data=kn(Z))}if(ws=!0,o)for(const Z in o){const J=o[Z],Ye=V(J)?J.bind(n,n):V(J.get)?J.get.bind(n,n):Ge,rt=!V(J)&&V(J.set)?J.set.bind(n):Ge,Ve=re({get:Ye,set:rt});Object.defineProperty(s,Z,{enumerable:!0,configurable:!0,get:()=>Ve.value,set:we=>Ve.value=we})}if(a)for(const Z in a)Lo(a[Z],s,n,Z);if(l){const Z=V(l)?l.call(n):l;Reflect.ownKeys(Z).forEach(J=>{$n(J,Z[J])})}c&&mi(c,e,"c");function fe(Z,J){H(J)?J.forEach(Ye=>Z(Ye.bind(n))):J&&Z(J.bind(n))}if(fe(bl,p),fe(kl,v),fe(wl,k),fe(El,P),fe(vl,A),fe(_l,D),fe(Rl,Ue),fe(Sl,ge),fe(Ml,Ie),fe(xl,j),fe(No,U),fe(Cl,At),H(De))if(De.length){const Z=e.exposed||(e.exposed={});De.forEach(J=>{Object.defineProperty(Z,J,{get:()=>n[J],set:Ye=>n[J]=Ye})})}else e.exposed||(e.exposed={});ue&&e.render===Ge&&(e.render=ue),ot!=null&&(e.inheritAttrs=ot),_t&&(e.components=_t),Be&&(e.directives=Be)}function Al(e,t,n=Ge){H(e)&&(e=Es(e));for(const s in e){const i=e[s];let o;ee(i)?"default"in i?o=Je(i.from||s,i.default,!0):o=Je(i.from||s):o=Je(i),be(o)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>o.value,set:r=>o.value=r}):t[s]=o}}function mi(e,t,n){He(H(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function Lo(e,t,n,s){const i=s.includes(".")?Io(n,s):()=>n[s];if(ae(e)){const o=t[e];V(o)&&ht(i,o)}else if(V(e))ht(i,e.bind(n));else if(ee(e))if(H(e))e.forEach(o=>Lo(o,t,n,s));else{const o=V(e.handler)?e.handler.bind(n):t[e.handler];V(o)&&ht(i,o,e)}}function Ks(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:i,optionsCache:o,config:{optionMergeStrategies:r}}=e.appContext,a=o.get(t);let l;return a?l=a:!i.length&&!n&&!s?l=t:(l={},i.length&&i.forEach(u=>Kn(l,u,r,!0)),Kn(l,t,r)),ee(t)&&o.set(t,l),l}function Kn(e,t,n,s=!1){const{mixins:i,extends:o}=t;o&&Kn(e,o,n,!0),i&&i.forEach(r=>Kn(e,r,n,!0));for(const r in t)if(!(s&&r==="expose")){const a=Il[r]||n&&n[r];e[r]=a?a(e[r],t[r]):t[r]}return e}const Il={data:gi,props:vi,emits:vi,methods:an,computed:an,beforeCreate:ke,created:ke,beforeMount:ke,mounted:ke,beforeUpdate:ke,updated:ke,beforeDestroy:ke,beforeUnmount:ke,destroyed:ke,unmounted:ke,activated:ke,deactivated:ke,errorCaptured:ke,serverPrefetch:ke,components:an,directives:an,watch:$l,provide:gi,inject:Ol};function gi(e,t){return t?e?function(){return me(V(e)?e.call(this,this):e,V(t)?t.call(this,this):t)}:t:e}function Ol(e,t){return an(Es(e),Es(t))}function Es(e){if(H(e)){const t={};for(let n=0;n1)return n&&V(t)?t.call(s&&s.proxy):t}}function Fl(e,t,n,s=!1){const i={},o={};jn(o,ts,1),e.propsDefaults=Object.create(null),Ho(e,t,i,o);for(const r in e.propsOptions[0])r in i||(i[r]=void 0);n?e.props=s?i:vo(i):e.type.props?e.props=i:e.props=o,e.attrs=o}function Hl(e,t,n,s){const{props:i,attrs:o,vnode:{patchFlag:r}}=e,a=W(i),[l]=e.propsOptions;let u=!1;if((s||r>0)&&!(r&16)){if(r&8){const c=e.vnode.dynamicProps;for(let p=0;p{l=!0;const[v,k]=jo(p,t,!0);me(r,v),k&&a.push(...k)};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}if(!o&&!l)return ee(e)&&s.set(e,Ht),Ht;if(H(o))for(let c=0;c-1,k[1]=A<0||P-1||q(k,"default"))&&a.push(p)}}}const u=[r,a];return ee(e)&&s.set(e,u),u}function _i(e){return e[0]!=="$"}function yi(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:e===null?"null":""}function bi(e,t){return yi(e)===yi(t)}function ki(e,t){return H(t)?t.findIndex(n=>bi(n,e)):V(t)&&bi(t,e)?0:-1}const Uo=e=>e[0]==="_"||e==="$stable",zs=e=>H(e)?e.map(qe):[qe(e)],jl=(e,t,n)=>{if(t._n)return t;const s=al((...i)=>zs(t(...i)),n);return s._c=!1,s},Do=(e,t,n)=>{const s=e._ctx;for(const i in e){if(Uo(i))continue;const o=e[i];if(V(o))t[i]=jl(i,o,s);else if(o!=null){const r=zs(o);t[i]=()=>r}}},Bo=(e,t)=>{const n=zs(t);e.slots.default=()=>n},Ul=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=W(t),jn(t,"_",n)):Do(t,e.slots={})}else e.slots={},t&&Bo(e,t);jn(e.slots,ts,1)},Dl=(e,t,n)=>{const{vnode:s,slots:i}=e;let o=!0,r=ne;if(s.shapeFlag&32){const a=t._;a?n&&a===1?o=!1:(me(i,t),!n&&a===1&&delete i._):(o=!t.$stable,Do(t,i)),r=t}else t&&(Bo(e,t),r={default:1});if(o)for(const a in i)!Uo(a)&&r[a]==null&&delete i[a]};function Cs(e,t,n,s,i=!1){if(H(e)){e.forEach((v,k)=>Cs(v,t&&(H(t)?t[k]:t),n,s,i));return}if(On(s)&&!i)return;const o=s.shapeFlag&4?ns(s.component)||s.component.proxy:s.el,r=i?null:o,{i:a,r:l}=e,u=t&&t.r,c=a.refs===ne?a.refs={}:a.refs,p=a.setupState;if(u!=null&&u!==l&&(ae(u)?(c[u]=null,q(p,u)&&(p[u]=null)):be(u)&&(u.value=null)),V(l))pt(l,a,12,[r,c]);else{const v=ae(l),k=be(l);if(v||k){const P=()=>{if(e.f){const A=v?q(p,l)?p[l]:c[l]:l.value;i?H(A)&&Os(A,o):H(A)?A.includes(o)||A.push(o):v?(c[l]=[o],q(p,l)&&(p[l]=c[l])):(l.value=[o],e.k&&(c[e.k]=l.value))}else v?(c[l]=r,q(p,l)&&(p[l]=r)):k&&(l.value=r,e.k&&(c[e.k]=r))};r?(P.id=-1,Ee(P,n)):P()}}}const Ee=ml;function Bl(e){return Vl(e)}function Vl(e,t){const n=gs();n.__VUE__=!0;const{insert:s,remove:i,patchProp:o,createElement:r,createText:a,createComment:l,setText:u,setElementText:c,parentNode:p,nextSibling:v,setScopeId:k=Ge,insertStaticContent:P}=e,A=(f,d,m,_=null,b=null,w=null,S=!1,x=null,C=!!d.dynamicChildren)=>{if(f===d)return;f&&!sn(f,d)&&(_=y(f),we(f,b,w,!0),f=null),d.patchFlag===-2&&(C=!1,d.dynamicChildren=null);const{type:E,ref:$,shapeFlag:T}=d;switch(E){case es:D(f,d,m,_);break;case Tt:L(f,d,m,_);break;case us:f==null&&j(d,m,_,S);break;case pe:_t(f,d,m,_,b,w,S,x,C);break;default:T&1?ue(f,d,m,_,b,w,S,x,C):T&6?Be(f,d,m,_,b,w,S,x,C):(T&64||T&128)&&E.process(f,d,m,_,b,w,S,x,C,M)}$!=null&&b&&Cs($,f&&f.ref,w,d||f,!d)},D=(f,d,m,_)=>{if(f==null)s(d.el=a(d.children),m,_);else{const b=d.el=f.el;d.children!==f.children&&u(b,d.children)}},L=(f,d,m,_)=>{f==null?s(d.el=l(d.children||""),m,_):d.el=f.el},j=(f,d,m,_)=>{[f.el,f.anchor]=P(f.children,d,m,_,f.el,f.anchor)},G=({el:f,anchor:d},m,_)=>{let b;for(;f&&f!==d;)b=v(f),s(f,m,_),f=b;s(d,m,_)},U=({el:f,anchor:d})=>{let m;for(;f&&f!==d;)m=v(f),i(f),f=m;i(d)},ue=(f,d,m,_,b,w,S,x,C)=>{S=S||d.type==="svg",f==null?ge(d,m,_,b,w,S,x,C):At(f,d,b,w,S,x,C)},ge=(f,d,m,_,b,w,S,x)=>{let C,E;const{type:$,props:T,shapeFlag:N,transition:B,dirs:z}=f;if(C=f.el=r(f.type,w,T&&T.is,T),N&8?c(C,f.children):N&16&&Ue(f.children,C,null,_,b,w&&$!=="foreignObject",S,x),z&&yt(f,null,_,"created"),Ie(C,f,f.scopeId,S,_),T){for(const X in T)X!=="value"&&!An(X)&&o(C,X,null,T[X],w,f.children,_,b,ve);"value"in T&&o(C,"value",null,T.value),(E=T.onVnodeBeforeMount)&&ze(E,_,f)}z&&yt(f,null,_,"beforeMount");const te=Kl(b,B);te&&B.beforeEnter(C),s(C,d,m),((E=T&&T.onVnodeMounted)||te||z)&&Ee(()=>{E&&ze(E,_,f),te&&B.enter(C),z&&yt(f,null,_,"mounted")},b)},Ie=(f,d,m,_,b)=>{if(m&&k(f,m),_)for(let w=0;w<_.length;w++)k(f,_[w]);if(b){let w=b.subTree;if(d===w){const S=b.vnode;Ie(f,S,S.scopeId,S.slotScopeIds,b.parent)}}},Ue=(f,d,m,_,b,w,S,x,C=0)=>{for(let E=C;E{const x=d.el=f.el;let{patchFlag:C,dynamicChildren:E,dirs:$}=d;C|=f.patchFlag&16;const T=f.props||ne,N=d.props||ne;let B;m&&bt(m,!1),(B=N.onVnodeBeforeUpdate)&&ze(B,m,d,f),$&&yt(d,f,m,"beforeUpdate"),m&&bt(m,!0);const z=b&&d.type!=="foreignObject";if(E?De(f.dynamicChildren,E,x,m,_,z,w):S||J(f,d,x,null,m,_,z,w,!1),C>0){if(C&16)ot(x,d,T,N,m,_,b);else if(C&2&&T.class!==N.class&&o(x,"class",null,N.class,b),C&4&&o(x,"style",T.style,N.style,b),C&8){const te=d.dynamicProps;for(let X=0;X{B&&ze(B,m,d,f),$&&yt(d,f,m,"updated")},_)},De=(f,d,m,_,b,w,S)=>{for(let x=0;x{if(m!==_){if(m!==ne)for(const x in m)!An(x)&&!(x in _)&&o(f,x,m[x],null,S,d.children,b,w,ve);for(const x in _){if(An(x))continue;const C=_[x],E=m[x];C!==E&&x!=="value"&&o(f,x,E,C,S,d.children,b,w,ve)}"value"in _&&o(f,"value",m.value,_.value)}},_t=(f,d,m,_,b,w,S,x,C)=>{const E=d.el=f?f.el:a(""),$=d.anchor=f?f.anchor:a("");let{patchFlag:T,dynamicChildren:N,slotScopeIds:B}=d;B&&(x=x?x.concat(B):B),f==null?(s(E,m,_),s($,m,_),Ue(d.children,m,$,b,w,S,x,C)):T>0&&T&64&&N&&f.dynamicChildren?(De(f.dynamicChildren,N,m,b,w,S,x),(d.key!=null||b&&d===b.subTree)&&Vo(f,d,!0)):J(f,d,m,$,b,w,S,x,C)},Be=(f,d,m,_,b,w,S,x,C)=>{d.slotScopeIds=x,f==null?d.shapeFlag&512?b.ctx.activate(d,m,_,S,C):tn(d,m,_,b,w,S,C):It(f,d,C)},tn=(f,d,m,_,b,w,S)=>{const x=f.component=Zl(f,_,b);if(Oo(f)&&(x.ctx.renderer=M),ea(x),x.asyncDep){if(b&&b.registerDep(x,fe),!f.el){const C=x.subTree=he(Tt);L(null,C,d,m)}return}fe(x,f,d,m,b,w,S)},It=(f,d,m)=>{const _=d.component=f.component;if(fl(f,d,m))if(_.asyncDep&&!_.asyncResolved){Z(_,d,m);return}else _.next=d,il(_.update),_.update();else d.el=f.el,_.vnode=d},fe=(f,d,m,_,b,w,S)=>{const x=()=>{if(f.isMounted){let{next:$,bu:T,u:N,parent:B,vnode:z}=f,te=$,X;bt(f,!1),$?($.el=z.el,Z(f,$,S)):$=z,T&&In(T),(X=$.props&&$.props.onVnodeBeforeUpdate)&&ze(X,B,$,z),bt(f,!0);const le=as(f),Oe=f.subTree;f.subTree=le,A(Oe,le,p(Oe.el),y(Oe),f,b,w),$.el=le.el,te===null&&dl(f,le.el),N&&Ee(N,b),(X=$.props&&$.props.onVnodeUpdated)&&Ee(()=>ze(X,B,$,z),b)}else{let $;const{el:T,props:N}=d,{bm:B,m:z,parent:te}=f,X=On(d);if(bt(f,!1),B&&In(B),!X&&($=N&&N.onVnodeBeforeMount)&&ze($,te,d),bt(f,!0),T&&Y){const le=()=>{f.subTree=as(f),Y(T,f.subTree,f,b,null)};X?d.type.__asyncLoader().then(()=>!f.isUnmounted&&le()):le()}else{const le=f.subTree=as(f);A(null,le,m,_,f,b,w),d.el=le.el}if(z&&Ee(z,b),!X&&($=N&&N.onVnodeMounted)){const le=d;Ee(()=>ze($,te,le),b)}(d.shapeFlag&256||te&&On(te.vnode)&&te.vnode.shapeFlag&256)&&f.a&&Ee(f.a,b),f.isMounted=!0,d=m=_=null}},C=f.effect=new Fs(x,()=>Vs(E),f.scope),E=f.update=()=>C.run();E.id=f.uid,bt(f,!0),E()},Z=(f,d,m)=>{d.component=f;const _=f.vnode.props;f.vnode=d,f.next=null,Hl(f,d.props,_,m),Dl(f,d.children,m),Xt(),di(f),Zt()},J=(f,d,m,_,b,w,S,x,C=!1)=>{const E=f&&f.children,$=f?f.shapeFlag:0,T=d.children,{patchFlag:N,shapeFlag:B}=d;if(N>0){if(N&128){rt(E,T,m,_,b,w,S,x,C);return}else if(N&256){Ye(E,T,m,_,b,w,S,x,C);return}}B&8?($&16&&ve(E,b,w),T!==E&&c(m,T)):$&16?B&16?rt(E,T,m,_,b,w,S,x,C):ve(E,b,w,!0):($&8&&c(m,""),B&16&&Ue(T,m,_,b,w,S,x,C))},Ye=(f,d,m,_,b,w,S,x,C)=>{f=f||Ht,d=d||Ht;const E=f.length,$=d.length,T=Math.min(E,$);let N;for(N=0;N$?ve(f,b,w,!0,!1,T):Ue(d,m,_,b,w,S,x,C,T)},rt=(f,d,m,_,b,w,S,x,C)=>{let E=0;const $=d.length;let T=f.length-1,N=$-1;for(;E<=T&&E<=N;){const B=f[E],z=d[E]=C?ut(d[E]):qe(d[E]);if(sn(B,z))A(B,z,m,null,b,w,S,x,C);else break;E++}for(;E<=T&&E<=N;){const B=f[T],z=d[N]=C?ut(d[N]):qe(d[N]);if(sn(B,z))A(B,z,m,null,b,w,S,x,C);else break;T--,N--}if(E>T){if(E<=N){const B=N+1,z=B<$?d[B].el:_;for(;E<=N;)A(null,d[E]=C?ut(d[E]):qe(d[E]),m,z,b,w,S,x,C),E++}}else if(E>N)for(;E<=T;)we(f[E],b,w,!0),E++;else{const B=E,z=E,te=new Map;for(E=z;E<=N;E++){const Me=d[E]=C?ut(d[E]):qe(d[E]);Me.key!=null&&te.set(Me.key,E)}let X,le=0;const Oe=N-z+1;let Nt=!1,ei=0;const nn=new Array(Oe);for(E=0;E=Oe){we(Me,b,w,!0);continue}let Ke;if(Me.key!=null)Ke=te.get(Me.key);else for(X=z;X<=N;X++)if(nn[X-z]===0&&sn(Me,d[X])){Ke=X;break}Ke===void 0?we(Me,b,w,!0):(nn[Ke-z]=E+1,Ke>=ei?ei=Ke:Nt=!0,A(Me,d[Ke],m,null,b,w,S,x,C),le++)}const ti=Nt?zl(nn):Ht;for(X=ti.length-1,E=Oe-1;E>=0;E--){const Me=z+E,Ke=d[Me],ni=Me+1<$?d[Me+1].el:_;nn[E]===0?A(null,Ke,m,ni,b,w,S,x,C):Nt&&(X<0||E!==ti[X]?Ve(Ke,m,ni,2):X--)}}},Ve=(f,d,m,_,b=null)=>{const{el:w,type:S,transition:x,children:C,shapeFlag:E}=f;if(E&6){Ve(f.component.subTree,d,m,_);return}if(E&128){f.suspense.move(d,m,_);return}if(E&64){S.move(f,d,m,M);return}if(S===pe){s(w,d,m);for(let T=0;Tx.enter(w),b);else{const{leave:T,delayLeave:N,afterLeave:B}=x,z=()=>s(w,d,m),te=()=>{T(w,()=>{z(),B&&B()})};N?N(w,z,te):te()}else s(w,d,m)},we=(f,d,m,_=!1,b=!1)=>{const{type:w,props:S,ref:x,children:C,dynamicChildren:E,shapeFlag:$,patchFlag:T,dirs:N}=f;if(x!=null&&Cs(x,null,m,f,!0),$&256){d.ctx.deactivate(f);return}const B=$&1&&N,z=!On(f);let te;if(z&&(te=S&&S.onVnodeBeforeUnmount)&&ze(te,d,f),$&6)wn(f.component,m,_);else{if($&128){f.suspense.unmount(m,_);return}B&&yt(f,null,d,"beforeUnmount"),$&64?f.type.remove(f,d,m,b,M,_):E&&(w!==pe||T>0&&T&64)?ve(E,d,m,!1,!0):(w===pe&&T&384||!b&&$&16)&&ve(C,d,m),_&&Ot(f)}(z&&(te=S&&S.onVnodeUnmounted)||B)&&Ee(()=>{te&&ze(te,d,f),B&&yt(f,null,d,"unmounted")},m)},Ot=f=>{const{type:d,el:m,anchor:_,transition:b}=f;if(d===pe){$t(m,_);return}if(d===us){U(f);return}const w=()=>{i(m),b&&!b.persisted&&b.afterLeave&&b.afterLeave()};if(f.shapeFlag&1&&b&&!b.persisted){const{leave:S,delayLeave:x}=b,C=()=>S(m,w);x?x(f.el,w,C):C()}else w()},$t=(f,d)=>{let m;for(;f!==d;)m=v(f),i(f),f=m;i(d)},wn=(f,d,m)=>{const{bum:_,scope:b,update:w,subTree:S,um:x}=f;_&&In(_),b.stop(),w&&(w.active=!1,we(S,f,d,m)),x&&Ee(x,d),Ee(()=>{f.isUnmounted=!0},d),d&&d.pendingBranch&&!d.isUnmounted&&f.asyncDep&&!f.asyncResolved&&f.suspenseId===d.pendingId&&(d.deps--,d.deps===0&&d.resolve())},ve=(f,d,m,_=!1,b=!1,w=0)=>{for(let S=w;Sf.shapeFlag&6?y(f.component.subTree):f.shapeFlag&128?f.suspense.next():v(f.anchor||f.el),R=(f,d,m)=>{f==null?d._vnode&&we(d._vnode,null,null,!0):A(d._vnode||null,f,d,null,null,null,m),di(),Ro(),d._vnode=f},M={p:A,um:we,m:Ve,r:Ot,mt:tn,mc:Ue,pc:J,pbc:De,n:y,o:e};let I,Y;return t&&([I,Y]=t(M)),{render:R,hydrate:I,createApp:Ll(R,I)}}function bt({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function Kl(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Vo(e,t,n=!1){const s=e.children,i=t.children;if(H(s)&&H(i))for(let o=0;o>1,e[n[a]]0&&(t[s]=n[o-1]),n[o]=s)}}for(o=n.length,r=n[o-1];o-- >0;)n[o]=r,r=t[r];return n}const ql=e=>e.__isTeleport,pe=Symbol.for("v-fgt"),es=Symbol.for("v-txt"),Tt=Symbol.for("v-cmt"),us=Symbol.for("v-stc"),un=[];let Fe=null;function O(e=!1){un.push(Fe=e?null:[])}function Wl(){un.pop(),Fe=un[un.length-1]||null}let vn=1;function wi(e){vn+=e}function Ko(e){return e.dynamicChildren=vn>0?Fe||Ht:null,Wl(),vn>0&&Fe&&Fe.push(e),e}function F(e,t,n,s,i,o){return Ko(h(e,t,n,s,i,o,!0))}function qs(e,t,n,s,i){return Ko(he(e,t,n,s,i,!0))}function Ms(e){return e?e.__v_isVNode===!0:!1}function sn(e,t){return e.type===t.type&&e.key===t.key}const ts="__vInternal",zo=({key:e})=>e??null,Nn=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?ae(e)||be(e)||V(e)?{i:Le,r:e,k:t,f:!!n}:e:null);function h(e,t=null,n=null,s=0,i=null,o=e===pe?0:1,r=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&zo(t),ref:t&&Nn(t),scopeId:Xn,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:s,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:Le};return a?(Ws(l,n),o&128&&e.normalize(l)):n&&(l.shapeFlag|=ae(n)?8:16),vn>0&&!r&&Fe&&(l.patchFlag>0||o&6)&&l.patchFlag!==32&&Fe.push(l),l}const he=Gl;function Gl(e,t=null,n=null,s=0,i=null,o=!1){if((!e||e===pl)&&(e=Tt),Ms(e)){const a=zt(e,t,!0);return n&&Ws(a,n),vn>0&&!o&&Fe&&(a.shapeFlag&6?Fe[Fe.indexOf(e)]=a:Fe.push(a)),a.patchFlag|=-2,a}if(ia(e)&&(e=e.__vccOpts),t){t=Jl(t);let{class:a,style:l}=t;a&&!ae(a)&&(t.class=nt(a)),ee(l)&&(yo(l)&&!H(l)&&(l=me({},l)),t.style=Ze(l))}const r=ae(e)?1:hl(e)?128:ql(e)?64:ee(e)?4:V(e)?2:0;return h(e,t,n,s,i,r,o,!0)}function Jl(e){return e?yo(e)||ts in e?me({},e):e:null}function zt(e,t,n=!1){const{props:s,ref:i,patchFlag:o,children:r}=e,a=t?Yl(s||{},t):s;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:a,key:a&&zo(a),ref:t&&t.ref?n&&i?H(i)?i.concat(Nn(t)):[i,Nn(t)]:Nn(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:r,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==pe?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&zt(e.ssContent),ssFallback:e.ssFallback&&zt(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function xe(e=" ",t=0){return he(es,null,e,t)}function et(e="",t=!1){return t?(O(),qs(Tt,null,e)):he(Tt,null,e)}function qe(e){return e==null||typeof e=="boolean"?he(Tt):H(e)?he(pe,null,e.slice()):typeof e=="object"?ut(e):he(es,null,String(e))}function ut(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:zt(e)}function Ws(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(H(t))n=16;else if(typeof t=="object")if(s&65){const i=t.default;i&&(i._c&&(i._d=!1),Ws(e,i()),i._c&&(i._d=!0));return}else{n=32;const i=t._;!i&&!(ts in t)?t._ctx=Le:i===3&&Le&&(Le.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else V(t)?(t={default:t,_ctx:Le},n=32):(t=String(t),s&64?(n=16,t=[xe(t)]):n=8);e.children=t,e.shapeFlag|=n}function Yl(...e){const t={};for(let n=0;nye=e),Gs=e=>{Lt.length>1?Lt.forEach(t=>t(e)):Lt[0](e)};const qt=e=>{Gs(e),e.scope.on()},St=()=>{ye&&ye.scope.off(),Gs(null)};function qo(e){return e.vnode.shapeFlag&4}let _n=!1;function ea(e,t=!1){_n=t;const{props:n,children:s}=e.vnode,i=qo(e);Fl(e,n,i,t),Ul(e,s);const o=i?ta(e,t):void 0;return _n=!1,o}function ta(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=bo(new Proxy(e.ctx,Pl));const{setup:s}=n;if(s){const i=e.setupContext=s.length>1?sa(e):null;qt(e),Xt();const o=pt(s,e,0,[e.props,i]);if(Zt(),St(),eo(o)){if(o.then(St,St),t)return o.then(r=>{xi(e,r,t)}).catch(r=>{Yn(r,e,0)});e.asyncDep=o}else xi(e,o,t)}else Wo(e,t)}function xi(e,t,n){V(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ee(t)&&(e.setupState=xo(t)),Wo(e,n)}let Ci;function Wo(e,t,n){const s=e.type;if(!e.render){if(!t&&Ci&&!s.render){const i=s.template||Ks(e).template;if(i){const{isCustomElement:o,compilerOptions:r}=e.appContext.config,{delimiters:a,compilerOptions:l}=s,u=me(me({isCustomElement:o,delimiters:a},r),l);s.render=Ci(i,u)}}e.render=s.render||Ge}{qt(e),Xt();try{Tl(e)}finally{Zt(),St()}}}function na(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,n){return Ce(e,"get","$attrs"),t[n]}}))}function sa(e){const t=n=>{e.exposed=n||{}};return{get attrs(){return na(e)},slots:e.slots,emit:e.emit,expose:t}}function ns(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(xo(bo(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in cn)return cn[n](e)},has(t,n){return n in t||n in cn}}))}function ia(e){return V(e)&&"__vccOpts"in e}const re=(e,t)=>tl(e,t,_n);function Go(e,t,n){const s=arguments.length;return s===2?ee(t)&&!H(t)?Ms(t)?he(e,null,[t]):he(e,t):he(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&Ms(n)&&(n=[n]),he(e,t,n))}const oa=Symbol.for("v-scx"),ra=()=>Je(oa),la="3.3.13",aa="http://www.w3.org/2000/svg",Et=typeof document<"u"?document:null,Mi=Et&&Et.createElement("template"),ca={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const i=t?Et.createElementNS(aa,e):Et.createElement(e,n?{is:n}:void 0);return e==="select"&&s&&s.multiple!=null&&i.setAttribute("multiple",s.multiple),i},createText:e=>Et.createTextNode(e),createComment:e=>Et.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Et.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,i,o){const r=n?n.previousSibling:t.lastChild;if(i&&(i===o||i.nextSibling))for(;t.insertBefore(i.cloneNode(!0),n),!(i===o||!(i=i.nextSibling)););else{Mi.innerHTML=s?`${e}`:e;const a=Mi.content;if(s){const l=a.firstChild;for(;l.firstChild;)a.appendChild(l.firstChild);a.removeChild(l)}t.insertBefore(a,n)}return[r?r.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},ua=Symbol("_vtc");function fa(e,t,n){const s=e[ua];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Js=Symbol("_vod"),Jo={beforeMount(e,{value:t},{transition:n}){e[Js]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):on(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:s}){!t!=!n&&(s?t?(s.beforeEnter(e),on(e,!0),s.enter(e)):s.leave(e,()=>{on(e,!1)}):on(e,t))},beforeUnmount(e,{value:t}){on(e,t)}};function on(e,t){e.style.display=t?e[Js]:"none"}const da=Symbol("");function pa(e,t,n){const s=e.style,i=ae(n);if(n&&!i){if(t&&!ae(t))for(const o in t)n[o]==null&&Ss(s,o,"");for(const o in n)Ss(s,o,n[o])}else{const o=s.display;if(i){if(t!==n){const r=s[da];r&&(n+=";"+r),s.cssText=n}}else t&&e.removeAttribute("style");Js in e&&(s.display=o)}}const Si=/\s*!important$/;function Ss(e,t,n){if(H(n))n.forEach(s=>Ss(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=ha(e,t);Si.test(n)?e.setProperty(Qt(s),n.replace(Si,""),"important"):e[s]=n}}const Ri=["Webkit","Moz","ms"],fs={};function ha(e,t){const n=fs[t];if(n)return n;let s=Bt(t);if(s!=="filter"&&s in e)return fs[t]=s;s=so(s);for(let i=0;ids||(ba.then(()=>ds=0),ds=Date.now());function wa(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;He(Ea(s,n.value),t,5,[s])};return n.value=e,n.attached=ka(),n}function Ea(e,t){if(H(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(s=>i=>!i._stopped&&s&&s(i))}else return t}const Ii=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,xa=(e,t,n,s,i=!1,o,r,a,l)=>{t==="class"?fa(e,s,i):t==="style"?pa(e,n,s):Wn(t)?Is(t)||_a(e,t,n,s,r):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Ca(e,t,s,i))?ga(e,t,s,o,r,a,l):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),ma(e,t,s,i))};function Ca(e,t,n,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in e&&Ii(t)&&V(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const i=e.tagName;if(i==="IMG"||i==="VIDEO"||i==="CANVAS"||i==="SOURCE")return!1}return Ii(t)&&ae(n)?!1:t in e}const vt=e=>{const t=e.props["onUpdate:modelValue"]||!1;return H(t)?n=>In(t,n):t};function Ma(e){e.target.composing=!0}function Oi(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Pe=Symbol("_assign"),Te={created(e,{modifiers:{lazy:t,trim:n,number:s}},i){e[Pe]=vt(i);const o=s||i.props&&i.props.type==="number";tt(e,t?"change":"input",r=>{if(r.target.composing)return;let a=e.value;n&&(a=a.trim()),o&&(a=Un(a)),e[Pe](a)}),n&&tt(e,"change",()=>{e.value=e.value.trim()}),t||(tt(e,"compositionstart",Ma),tt(e,"compositionend",Oi),tt(e,"change",Oi))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:s,number:i}},o){if(e[Pe]=vt(o),e.composing)return;const r=i||e.type==="number"?Un(e.value):e.value,a=t??"";r!==a&&(document.activeElement===e&&e.type!=="range"&&(n||s&&e.value.trim()===a)||(e.value=a))}},Yo={deep:!0,created(e,t,n){e[Pe]=vt(n),tt(e,"change",()=>{const s=e._modelValue,i=Wt(e),o=e.checked,r=e[Pe];if(H(s)){const a=Ns(s,i),l=a!==-1;if(o&&!l)r(s.concat(i));else if(!o&&l){const u=[...s];u.splice(a,1),r(u)}}else if(Yt(s)){const a=new Set(s);o?a.add(i):a.delete(i),r(a)}else r(Qo(e,o))})},mounted:$i,beforeUpdate(e,t,n){e[Pe]=vt(n),$i(e,t,n)}};function $i(e,{value:t,oldValue:n},s){e._modelValue=t,H(t)?e.checked=Ns(t,s.props.value)>-1:Yt(t)?e.checked=t.has(s.props.value):t!==n&&(e.checked=Pt(t,Qo(e,!0)))}const Sa={created(e,{value:t},n){e.checked=Pt(t,n.props.value),e[Pe]=vt(n),tt(e,"change",()=>{e[Pe](Wt(e))})},beforeUpdate(e,{value:t,oldValue:n},s){e[Pe]=vt(s),t!==n&&(e.checked=Pt(t,s.props.value))}},fn={deep:!0,created(e,{value:t,modifiers:{number:n}},s){const i=Yt(t);tt(e,"change",()=>{const o=Array.prototype.filter.call(e.options,r=>r.selected).map(r=>n?Un(Wt(r)):Wt(r));e[Pe](e.multiple?i?new Set(o):o:o[0])}),e[Pe]=vt(s)},mounted(e,{value:t}){Ni(e,t)},beforeUpdate(e,t,n){e[Pe]=vt(n)},updated(e,{value:t}){Ni(e,t)}};function Ni(e,t){const n=e.multiple;if(!(n&&!H(t)&&!Yt(t))){for(let s=0,i=e.options.length;s-1:o.selected=t.has(r);else if(Pt(Wt(o),t)){e.selectedIndex!==s&&(e.selectedIndex=s);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function Wt(e){return"_value"in e?e._value:e.value}function Qo(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const Ra={created(e,t,n){Pn(e,t,n,null,"created")},mounted(e,t,n){Pn(e,t,n,null,"mounted")},beforeUpdate(e,t,n,s){Pn(e,t,n,s,"beforeUpdate")},updated(e,t,n,s){Pn(e,t,n,s,"updated")}};function Pa(e,t){switch(e){case"SELECT":return fn;case"TEXTAREA":return Te;default:switch(t){case"checkbox":return Yo;case"radio":return Sa;default:return Te}}}function Pn(e,t,n,s,i){const r=Pa(e.tagName,n.props&&n.props.type)[i];r&&r(e,t,n,s)}const Ta=["ctrl","shift","alt","meta"],Aa={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>Ta.some(n=>e[`${n}Key`]&&!t.includes(n))},Ln=(e,t)=>{const n=e._withMods||(e._withMods={}),s=t.join(".");return n[s]||(n[s]=(i,...o)=>{for(let r=0;r{const t=Oa().createApp(...e),{mount:n}=t;return t.mount=s=>{const i=Na(s);if(!i)return;const o=t._component;!V(o)&&!o.render&&!o.template&&(o.template=i.innerHTML),i.innerHTML="";const r=n(i,!1,i instanceof SVGElement);return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),r},t};function Na(e){return ae(e)?document.querySelector(e):e}/*! +(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))s(i);new MutationObserver(i=>{for(const o of i)if(o.type==="childList")for(const r of o.addedNodes)r.tagName==="LINK"&&r.rel==="modulepreload"&&s(r)}).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 s(i){if(i.ep)return;i.ep=!0;const o=n(i);fetch(i.href,o)}})();function As(e,t){const n=Object.create(null),s=e.split(",");for(let i=0;i!!n[i.toLowerCase()]:i=>!!n[i]}const ne={},Ht=[],Ge=()=>{},fr=()=>!1,Gn=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Is=e=>e.startsWith("onUpdate:"),me=Object.assign,Os=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},dr=Object.prototype.hasOwnProperty,q=(e,t)=>dr.call(e,t),H=Array.isArray,jt=e=>bn(e)==="[object Map]",Yt=e=>bn(e)==="[object Set]",si=e=>bn(e)==="[object Date]",V=e=>typeof e=="function",ae=e=>typeof e=="string",mt=e=>typeof e=="symbol",ee=e=>e!==null&&typeof e=="object",eo=e=>(ee(e)||V(e))&&V(e.then)&&V(e.catch),to=Object.prototype.toString,bn=e=>to.call(e),pr=e=>bn(e).slice(8,-1),no=e=>bn(e)==="[object Object]",$s=e=>ae(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,In=As(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Jn=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},hr=/-(\w)/g,Bt=Jn(e=>e.replace(hr,(t,n)=>n?n.toUpperCase():"")),mr=/\B([A-Z])/g,Qt=Jn(e=>e.replace(mr,"-$1").toLowerCase()),so=Jn(e=>e.charAt(0).toUpperCase()+e.slice(1)),rs=Jn(e=>e?`on${so(e)}`:""),Rt=(e,t)=>!Object.is(e,t),On=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},Dn=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let ii;const gs=()=>ii||(ii=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Ze(e){if(H(e)){const t={};for(let n=0;n{if(n){const s=n.split(vr);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function nt(e){let t="";if(ae(e))t=e;else if(H(e))for(let n=0;nPt(n,t))}const ie=e=>ae(e)?e:e==null?"":H(e)||ee(e)&&(e.toString===to||!V(e.toString))?JSON.stringify(e,oo,2):String(e),oo=(e,t)=>t&&t.__v_isRef?oo(e,t.value):jt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,i],o)=>(n[ls(s,o)+" =>"]=i,n),{})}:Yt(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>ls(n))}:mt(t)?ls(t):ee(t)&&!H(t)&&!no(t)?String(t):t,ls=(e,t="")=>{var n;return mt(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};let $e;class Er{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=$e,!t&&$e&&(this.index=($e.scopes||($e.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=$e;try{return $e=this,t()}finally{$e=n}}}on(){$e=this}off(){$e=this.parent}stop(t){if(this._active){let n,s;for(n=0,s=this.effects.length;n{const t=new Set(e);return t.w=0,t.n=0,t},ro=e=>(e.w>)>0,lo=e=>(e.n>)>0,Sr=({deps:e})=>{if(e.length)for(let t=0;t{const{deps:t}=e;if(t.length){let n=0;for(let s=0;s{(c==="length"||!mt(c)&&c>=l)&&a.push(u)})}else switch(n!==void 0&&a.push(r.get(n)),t){case"add":H(e)?$s(n)&&a.push(r.get("length")):(a.push(r.get(St)),jt(e)&&a.push(r.get(_s)));break;case"delete":H(e)||(a.push(r.get(St)),jt(e)&&a.push(r.get(_s)));break;case"set":jt(e)&&a.push(r.get(St));break}if(a.length===1)a[0]&&ys(a[0]);else{const l=[];for(const u of a)u&&l.push(...u);ys(Ls(l))}}function ys(e,t){const n=H(e)?e:[...e];for(const s of n)s.computed&&ri(s);for(const s of n)s.computed||ri(s)}function ri(e,t){(e!==Ne||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}function Rr(e,t){var n;return(n=Bn.get(e))==null?void 0:n.get(t)}const Pr=As("__proto__,__v_isRef,__isVue"),uo=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(mt)),li=Tr();function Tr(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const s=W(this);for(let o=0,r=this.length;o{e[t]=function(...n){Xt();const s=W(this)[t].apply(this,n);return Zt(),s}}),e}function Ar(e){const t=W(this);return Ce(t,"has",e),t.hasOwnProperty(e)}class fo{constructor(t=!1,n=!1){this._isReadonly=t,this._shallow=n}get(t,n,s){const i=this._isReadonly,o=this._shallow;if(n==="__v_isReactive")return!i;if(n==="__v_isReadonly")return i;if(n==="__v_isShallow")return o;if(n==="__v_raw")return s===(i?o?Kr:go:o?mo:ho).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const r=H(t);if(!i){if(r&&q(li,n))return Reflect.get(li,n,s);if(n==="hasOwnProperty")return Ar}const a=Reflect.get(t,n,s);return(mt(n)?uo.has(n):Pr(n))||(i||Ce(t,"get",n),o)?a:be(a)?r&&$s(n)?a:a.value:ee(a)?i?_o(a):kn(a):a}}class po extends fo{constructor(t=!1){super(!1,t)}set(t,n,s,i){let o=t[n];if(!this._shallow){const l=Vt(o);if(!Vn(s)&&!Vt(s)&&(o=W(o),s=W(s)),!H(t)&&be(o)&&!be(s))return l?!1:(o.value=s,!0)}const r=H(t)&&$s(n)?Number(n)e,Yn=e=>Reflect.getPrototypeOf(e);function xn(e,t,n=!1,s=!1){e=e.__v_raw;const i=W(e),o=W(t);n||(Rt(t,o)&&Ce(i,"get",t),Ce(i,"get",o));const{has:r}=Yn(i),a=s?Hs:n?Ds:hn;if(r.call(i,t))return a(e.get(t));if(r.call(i,o))return a(e.get(o));e!==i&&e.get(t)}function Cn(e,t=!1){const n=this.__v_raw,s=W(n),i=W(e);return t||(Rt(e,i)&&Ce(s,"has",e),Ce(s,"has",i)),e===i?n.has(e):n.has(e)||n.has(i)}function Sn(e,t=!1){return e=e.__v_raw,!t&&Ce(W(e),"iterate",St),Reflect.get(e,"size",e)}function ai(e){e=W(e);const t=W(this);return Yn(t).has.call(t,e)||(t.add(e),st(t,"add",e,e)),this}function ci(e,t){t=W(t);const n=W(this),{has:s,get:i}=Yn(n);let o=s.call(n,e);o||(e=W(e),o=s.call(n,e));const r=i.call(n,e);return n.set(e,t),o?Rt(t,r)&&st(n,"set",e,t):st(n,"add",e,t),this}function ui(e){const t=W(this),{has:n,get:s}=Yn(t);let i=n.call(t,e);i||(e=W(e),i=n.call(t,e)),s&&s.call(t,e);const o=t.delete(e);return i&&st(t,"delete",e,void 0),o}function fi(){const e=W(this),t=e.size!==0,n=e.clear();return t&&st(e,"clear",void 0,void 0),n}function Mn(e,t){return function(s,i){const o=this,r=o.__v_raw,a=W(r),l=t?Hs:e?Ds:hn;return!e&&Ce(a,"iterate",St),r.forEach((u,c)=>s.call(i,l(u),l(c),o))}}function Rn(e,t,n){return function(...s){const i=this.__v_raw,o=W(i),r=jt(o),a=e==="entries"||e===Symbol.iterator&&r,l=e==="keys"&&r,u=i[e](...s),c=n?Hs:t?Ds:hn;return!t&&Ce(o,"iterate",l?_s:St),{next(){const{value:p,done:v}=u.next();return v?{value:p,done:v}:{value:a?[c(p[0]),c(p[1])]:c(p),done:v}},[Symbol.iterator](){return this}}}}function lt(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Lr(){const e={get(o){return xn(this,o)},get size(){return Sn(this)},has:Cn,add:ai,set:ci,delete:ui,clear:fi,forEach:Mn(!1,!1)},t={get(o){return xn(this,o,!1,!0)},get size(){return Sn(this)},has:Cn,add:ai,set:ci,delete:ui,clear:fi,forEach:Mn(!1,!0)},n={get(o){return xn(this,o,!0)},get size(){return Sn(this,!0)},has(o){return Cn.call(this,o,!0)},add:lt("add"),set:lt("set"),delete:lt("delete"),clear:lt("clear"),forEach:Mn(!0,!1)},s={get(o){return xn(this,o,!0,!0)},get size(){return Sn(this,!0)},has(o){return Cn.call(this,o,!0)},add:lt("add"),set:lt("set"),delete:lt("delete"),clear:lt("clear"),forEach:Mn(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(o=>{e[o]=Rn(o,!1,!1),n[o]=Rn(o,!0,!1),t[o]=Rn(o,!1,!0),s[o]=Rn(o,!0,!0)}),[e,n,t,s]}const[Fr,Hr,jr,Ur]=Lr();function js(e,t){const n=t?e?Ur:jr:e?Hr:Fr;return(s,i,o)=>i==="__v_isReactive"?!e:i==="__v_isReadonly"?e:i==="__v_raw"?s:Reflect.get(q(n,i)&&i in s?n:s,i,o)}const Dr={get:js(!1,!1)},Br={get:js(!1,!0)},Vr={get:js(!0,!1)},ho=new WeakMap,mo=new WeakMap,go=new WeakMap,Kr=new WeakMap;function zr(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function qr(e){return e.__v_skip||!Object.isExtensible(e)?0:zr(pr(e))}function kn(e){return Vt(e)?e:Us(e,!1,Or,Dr,ho)}function vo(e){return Us(e,!1,Nr,Br,mo)}function _o(e){return Us(e,!0,$r,Vr,go)}function Us(e,t,n,s,i){if(!ee(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=i.get(e);if(o)return o;const r=qr(e);if(r===0)return e;const a=new Proxy(e,r===2?s:n);return i.set(e,a),a}function Ut(e){return Vt(e)?Ut(e.__v_raw):!!(e&&e.__v_isReactive)}function Vt(e){return!!(e&&e.__v_isReadonly)}function Vn(e){return!!(e&&e.__v_isShallow)}function yo(e){return Ut(e)||Vt(e)}function W(e){const t=e&&e.__v_raw;return t?W(t):e}function bo(e){return Un(e,"__v_skip",!0),e}const hn=e=>ee(e)?kn(e):e,Ds=e=>ee(e)?_o(e):e;function ko(e){dt&&Ne&&(e=W(e),co(e.dep||(e.dep=Ls())))}function wo(e,t){e=W(e);const n=e.dep;n&&ys(n)}function be(e){return!!(e&&e.__v_isRef===!0)}function K(e){return Eo(e,!1)}function Wr(e){return Eo(e,!0)}function Eo(e,t){return be(e)?e:new Gr(e,t)}class Gr{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:W(t),this._value=n?t:hn(t)}get value(){return ko(this),this._value}set value(t){const n=this.__v_isShallow||Vn(t)||Vt(t);t=n?t:W(t),Rt(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:hn(t),wo(this))}}function se(e){return be(e)?e.value:e}const Jr={get:(e,t,n)=>se(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const i=e[t];return be(i)&&!be(n)?(i.value=n,!0):Reflect.set(e,t,n,s)}};function xo(e){return Ut(e)?e:new Proxy(e,Jr)}class Yr{constructor(t,n,s){this._object=t,this._key=n,this._defaultValue=s,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return Rr(W(this._object),this._key)}}class Qr{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function Xr(e,t,n){return be(e)?e:V(e)?new Qr(e):ee(e)&&arguments.length>1?Zr(e,t,n):K(e)}function Zr(e,t,n){const s=e[t];return be(s)?s:new Yr(e,t,n)}class el{constructor(t,n,s,i){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this._dirty=!0,this.effect=new Fs(t,()=>{this._dirty||(this._dirty=!0,wo(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!i,this.__v_isReadonly=s}get value(){const t=W(this);return ko(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function tl(e,t,n=!1){let s,i;const o=V(e);return o?(s=e,i=Ge):(s=e.get,i=e.set),new el(s,i,o||!i,n)}function pt(e,t,n,s){let i;try{i=s?e(...s):e()}catch(o){Qn(o,t,n)}return i}function He(e,t,n,s){if(V(e)){const o=pt(e,t,n,s);return o&&eo(o)&&o.catch(r=>{Qn(r,t,n)}),o}const i=[];for(let o=0;o>>1,i=_e[s],o=gn(i);oWe&&_e.splice(t,1)}function ol(e){H(e)?Dt.push(...e):(!Xe||!Xe.includes(e,e.allowRecurse?wt+1:wt))&&Dt.push(e),Mo()}function di(e,t,n=mn?We+1:0){for(;n<_e.length;n++){const s=_e[n];if(s&&s.pre){if(e&&s.id!==e.uid)continue;_e.splice(n,1),n--,s()}}}function Ro(e){if(Dt.length){const t=[...new Set(Dt)];if(Dt.length=0,Xe){Xe.push(...t);return}for(Xe=t,Xe.sort((n,s)=>gn(n)-gn(s)),wt=0;wte.id==null?1/0:e.id,rl=(e,t)=>{const n=gn(e)-gn(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function Po(e){bs=!1,mn=!0,_e.sort(rl);try{for(We=0;We<_e.length;We++){const t=_e[We];t&&t.active!==!1&&pt(t,null,14)}}finally{We=0,_e.length=0,Ro(),mn=!1,Bs=null,(_e.length||Dt.length)&&Po()}}function ll(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||ne;let i=n;const o=t.startsWith("update:"),r=o&&t.slice(7);if(r&&r in s){const c=`${r==="modelValue"?"model":r}Modifiers`,{number:p,trim:v}=s[c]||ne;v&&(i=n.map(k=>ae(k)?k.trim():k)),p&&(i=n.map(Dn))}let a,l=s[a=rs(t)]||s[a=rs(Bt(t))];!l&&o&&(l=s[a=rs(Qt(t))]),l&&He(l,e,6,i);const u=s[a+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,He(u,e,6,i)}}function To(e,t,n=!1){const s=t.emitsCache,i=s.get(e);if(i!==void 0)return i;const o=e.emits;let r={},a=!1;if(!V(e)){const l=u=>{const c=To(u,t,!0);c&&(a=!0,me(r,c))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!o&&!a?(ee(e)&&s.set(e,null),null):(H(o)?o.forEach(l=>r[l]=null):me(r,o),ee(e)&&s.set(e,r),r)}function Xn(e,t){return!e||!Gn(t)?!1:(t=t.slice(2).replace(/Once$/,""),q(e,t[0].toLowerCase()+t.slice(1))||q(e,Qt(t))||q(e,t))}let Le=null,Zn=null;function Kn(e){const t=Le;return Le=e,Zn=e&&e.type.__scopeId||null,t}function Me(e){Zn=e}function Re(){Zn=null}function al(e,t=Le,n){if(!t||e._n)return e;const s=(...i)=>{s._d&&wi(-1);const o=Kn(t);let r;try{r=e(...i)}finally{Kn(o),s._d&&wi(1)}return r};return s._n=!0,s._c=!0,s._d=!0,s}function as(e){const{type:t,vnode:n,proxy:s,withProxy:i,props:o,propsOptions:[r],slots:a,attrs:l,emit:u,render:c,renderCache:p,data:v,setupState:k,ctx:P,inheritAttrs:A}=e;let D,L;const j=Kn(e);try{if(n.shapeFlag&4){const U=i||s,ue=U;D=qe(c.call(ue,U,p,o,k,v,P)),L=l}else{const U=t;D=qe(U.length>1?U(o,{attrs:l,slots:a,emit:u}):U(o,null)),L=t.props?l:cl(l)}}catch(U){un.length=0,Qn(U,e,1),D=he(Tt)}let G=D;if(L&&A!==!1){const U=Object.keys(L),{shapeFlag:ue}=G;U.length&&ue&7&&(r&&U.some(Is)&&(L=ul(L,r)),G=zt(G,L))}return n.dirs&&(G=zt(G),G.dirs=G.dirs?G.dirs.concat(n.dirs):n.dirs),n.transition&&(G.transition=n.transition),D=G,Kn(j),D}const cl=e=>{let t;for(const n in e)(n==="class"||n==="style"||Gn(n))&&((t||(t={}))[n]=e[n]);return t},ul=(e,t)=>{const n={};for(const s in e)(!Is(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function fl(e,t,n){const{props:s,children:i,component:o}=e,{props:r,children:a,patchFlag:l}=t,u=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return s?pi(s,r,u):!!r;if(l&8){const c=t.dynamicProps;for(let p=0;pe.__isSuspense;function ml(e,t){t&&t.pendingBranch?H(e)?t.effects.push(...e):t.effects.push(e):ol(e)}const Pn={};function ht(e,t,n){return Ao(e,t,n)}function Ao(e,t,{immediate:n,deep:s,flush:i,onTrack:o,onTrigger:r}=ne){var a;const l=Cr()===((a=ye)==null?void 0:a.scope)?ye:null;let u,c=!1,p=!1;if(be(e)?(u=()=>e.value,c=Vn(e)):Ut(e)?(u=()=>e,s=!0):H(e)?(p=!0,c=e.some(U=>Ut(U)||Vn(U)),u=()=>e.map(U=>{if(be(U))return U.value;if(Ut(U))return Ct(U);if(V(U))return pt(U,l,2)})):V(e)?t?u=()=>pt(e,l,2):u=()=>{if(!(l&&l.isUnmounted))return v&&v(),He(e,l,3,[k])}:u=Ge,t&&s){const U=u;u=()=>Ct(U())}let v,k=U=>{v=j.onStop=()=>{pt(U,l,4),v=j.onStop=void 0}},P;if(_n)if(k=Ge,t?n&&He(t,l,3,[u(),p?[]:void 0,k]):u(),i==="sync"){const U=ra();P=U.__watcherHandles||(U.__watcherHandles=[])}else return Ge;let A=p?new Array(e.length).fill(Pn):Pn;const D=()=>{if(j.active)if(t){const U=j.run();(s||c||(p?U.some((ue,ge)=>Rt(ue,A[ge])):Rt(U,A)))&&(v&&v(),He(t,l,3,[U,A===Pn?void 0:p&&A[0]===Pn?[]:A,k]),A=U)}else j.run()};D.allowRecurse=!!t;let L;i==="sync"?L=D:i==="post"?L=()=>Ee(D,l&&l.suspense):(D.pre=!0,l&&(D.id=l.uid),L=()=>Vs(D));const j=new Fs(u,L);t?n?D():A=j.run():i==="post"?Ee(j.run.bind(j),l&&l.suspense):j.run();const G=()=>{j.stop(),l&&l.scope&&Os(l.scope.effects,j)};return P&&P.push(G),G}function gl(e,t,n){const s=this.proxy,i=ae(e)?e.includes(".")?Io(s,e):()=>s[e]:e.bind(s,s);let o;V(t)?o=t:(o=t.handler,n=t);const r=ye;qt(this);const a=Ao(i,o.bind(s),n);return r?qt(r):Mt(),a}function Io(e,t){const n=t.split(".");return()=>{let s=e;for(let i=0;i{Ct(n,t)});else if(no(e))for(const n in e)Ct(e[n],t);return e}function de(e,t){const n=Le;if(n===null)return e;const s=ss(n)||n.proxy,i=e.dirs||(e.dirs=[]);for(let o=0;ome({name:e.name},t,{setup:e}))():e}const $n=e=>!!e.type.__asyncLoader,Oo=e=>e.type.__isKeepAlive;function vl(e,t){$o(e,"a",t)}function _l(e,t){$o(e,"da",t)}function $o(e,t,n=ye){const s=e.__wdc||(e.__wdc=()=>{let i=n;for(;i;){if(i.isDeactivated)return;i=i.parent}return e()});if(es(t,s,n),n){let i=n.parent;for(;i&&i.parent;)Oo(i.parent.vnode)&&yl(s,t,n,i),i=i.parent}}function yl(e,t,n,s){const i=es(t,e,s,!0);No(()=>{Os(s[t],i)},n)}function es(e,t,n=ye,s=!1){if(n){const i=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...r)=>{if(n.isUnmounted)return;Xt(),qt(n);const a=He(t,n,e,r);return Mt(),Zt(),a});return s?i.unshift(o):i.push(o),o}}const it=e=>(t,n=ye)=>(!_n||e==="sp")&&es(e,(...s)=>t(...s),n),bl=it("bm"),kl=it("m"),wl=it("bu"),El=it("u"),xl=it("bum"),No=it("um"),Cl=it("sp"),Sl=it("rtg"),Ml=it("rtc");function Rl(e,t=ye){es("ec",e,t)}function Kt(e,t,n,s){let i;const o=n&&n[s];if(H(e)||ae(e)){i=new Array(e.length);for(let r=0,a=e.length;rt(r,a,void 0,o&&o[a]));else{const r=Object.keys(e);i=new Array(r.length);for(let a=0,l=r.length;ae?qo(e)?ss(e)||e.proxy:ks(e.parent):null,cn=me(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>ks(e.parent),$root:e=>ks(e.root),$emit:e=>e.emit,$options:e=>Ks(e),$forceUpdate:e=>e.f||(e.f=()=>Vs(e.update)),$nextTick:e=>e.n||(e.n=So.bind(e.proxy)),$watch:e=>gl.bind(e)}),cs=(e,t)=>e!==ne&&!e.__isScriptSetup&&q(e,t),Pl={get({_:e},t){const{ctx:n,setupState:s,data:i,props:o,accessCache:r,type:a,appContext:l}=e;let u;if(t[0]!=="$"){const k=r[t];if(k!==void 0)switch(k){case 1:return s[t];case 2:return i[t];case 4:return n[t];case 3:return o[t]}else{if(cs(s,t))return r[t]=1,s[t];if(i!==ne&&q(i,t))return r[t]=2,i[t];if((u=e.propsOptions[0])&&q(u,t))return r[t]=3,o[t];if(n!==ne&&q(n,t))return r[t]=4,n[t];ws&&(r[t]=0)}}const c=cn[t];let p,v;if(c)return t==="$attrs"&&Ce(e,"get",t),c(e);if((p=a.__cssModules)&&(p=p[t]))return p;if(n!==ne&&q(n,t))return r[t]=4,n[t];if(v=l.config.globalProperties,q(v,t))return v[t]},set({_:e},t,n){const{data:s,setupState:i,ctx:o}=e;return cs(i,t)?(i[t]=n,!0):s!==ne&&q(s,t)?(s[t]=n,!0):q(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:i,propsOptions:o}},r){let a;return!!n[r]||e!==ne&&q(e,r)||cs(t,r)||(a=o[0])&&q(a,r)||q(s,r)||q(cn,r)||q(i.config.globalProperties,r)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:q(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function hi(e){return H(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let ws=!0;function Tl(e){const t=Ks(e),n=e.proxy,s=e.ctx;ws=!1,t.beforeCreate&&mi(t.beforeCreate,e,"bc");const{data:i,computed:o,methods:r,watch:a,provide:l,inject:u,created:c,beforeMount:p,mounted:v,beforeUpdate:k,updated:P,activated:A,deactivated:D,beforeDestroy:L,beforeUnmount:j,destroyed:G,unmounted:U,render:ue,renderTracked:ge,renderTriggered:Ie,errorCaptured:Ue,serverPrefetch:At,expose:De,inheritAttrs:ot,components:_t,directives:Be,filters:tn}=t;if(u&&Al(u,s,null),r)for(const Z in r){const J=r[Z];V(J)&&(s[Z]=J.bind(n))}if(i){const Z=i.call(n,n);ee(Z)&&(e.data=kn(Z))}if(ws=!0,o)for(const Z in o){const J=o[Z],Ye=V(J)?J.bind(n,n):V(J.get)?J.get.bind(n,n):Ge,rt=!V(J)&&V(J.set)?J.set.bind(n):Ge,Ve=re({get:Ye,set:rt});Object.defineProperty(s,Z,{enumerable:!0,configurable:!0,get:()=>Ve.value,set:we=>Ve.value=we})}if(a)for(const Z in a)Lo(a[Z],s,n,Z);if(l){const Z=V(l)?l.call(n):l;Reflect.ownKeys(Z).forEach(J=>{Nn(J,Z[J])})}c&&mi(c,e,"c");function fe(Z,J){H(J)?J.forEach(Ye=>Z(Ye.bind(n))):J&&Z(J.bind(n))}if(fe(bl,p),fe(kl,v),fe(wl,k),fe(El,P),fe(vl,A),fe(_l,D),fe(Rl,Ue),fe(Ml,ge),fe(Sl,Ie),fe(xl,j),fe(No,U),fe(Cl,At),H(De))if(De.length){const Z=e.exposed||(e.exposed={});De.forEach(J=>{Object.defineProperty(Z,J,{get:()=>n[J],set:Ye=>n[J]=Ye})})}else e.exposed||(e.exposed={});ue&&e.render===Ge&&(e.render=ue),ot!=null&&(e.inheritAttrs=ot),_t&&(e.components=_t),Be&&(e.directives=Be)}function Al(e,t,n=Ge){H(e)&&(e=Es(e));for(const s in e){const i=e[s];let o;ee(i)?"default"in i?o=Je(i.from||s,i.default,!0):o=Je(i.from||s):o=Je(i),be(o)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>o.value,set:r=>o.value=r}):t[s]=o}}function mi(e,t,n){He(H(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function Lo(e,t,n,s){const i=s.includes(".")?Io(n,s):()=>n[s];if(ae(e)){const o=t[e];V(o)&&ht(i,o)}else if(V(e))ht(i,e.bind(n));else if(ee(e))if(H(e))e.forEach(o=>Lo(o,t,n,s));else{const o=V(e.handler)?e.handler.bind(n):t[e.handler];V(o)&&ht(i,o,e)}}function Ks(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:i,optionsCache:o,config:{optionMergeStrategies:r}}=e.appContext,a=o.get(t);let l;return a?l=a:!i.length&&!n&&!s?l=t:(l={},i.length&&i.forEach(u=>zn(l,u,r,!0)),zn(l,t,r)),ee(t)&&o.set(t,l),l}function zn(e,t,n,s=!1){const{mixins:i,extends:o}=t;o&&zn(e,o,n,!0),i&&i.forEach(r=>zn(e,r,n,!0));for(const r in t)if(!(s&&r==="expose")){const a=Il[r]||n&&n[r];e[r]=a?a(e[r],t[r]):t[r]}return e}const Il={data:gi,props:vi,emits:vi,methods:an,computed:an,beforeCreate:ke,created:ke,beforeMount:ke,mounted:ke,beforeUpdate:ke,updated:ke,beforeDestroy:ke,beforeUnmount:ke,destroyed:ke,unmounted:ke,activated:ke,deactivated:ke,errorCaptured:ke,serverPrefetch:ke,components:an,directives:an,watch:$l,provide:gi,inject:Ol};function gi(e,t){return t?e?function(){return me(V(e)?e.call(this,this):e,V(t)?t.call(this,this):t)}:t:e}function Ol(e,t){return an(Es(e),Es(t))}function Es(e){if(H(e)){const t={};for(let n=0;n1)return n&&V(t)?t.call(s&&s.proxy):t}}function Fl(e,t,n,s=!1){const i={},o={};Un(o,ns,1),e.propsDefaults=Object.create(null),Ho(e,t,i,o);for(const r in e.propsOptions[0])r in i||(i[r]=void 0);n?e.props=s?i:vo(i):e.type.props?e.props=i:e.props=o,e.attrs=o}function Hl(e,t,n,s){const{props:i,attrs:o,vnode:{patchFlag:r}}=e,a=W(i),[l]=e.propsOptions;let u=!1;if((s||r>0)&&!(r&16)){if(r&8){const c=e.vnode.dynamicProps;for(let p=0;p{l=!0;const[v,k]=jo(p,t,!0);me(r,v),k&&a.push(...k)};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}if(!o&&!l)return ee(e)&&s.set(e,Ht),Ht;if(H(o))for(let c=0;c-1,k[1]=A<0||P-1||q(k,"default"))&&a.push(p)}}}const u=[r,a];return ee(e)&&s.set(e,u),u}function _i(e){return e[0]!=="$"}function yi(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:e===null?"null":""}function bi(e,t){return yi(e)===yi(t)}function ki(e,t){return H(t)?t.findIndex(n=>bi(n,e)):V(t)&&bi(t,e)?0:-1}const Uo=e=>e[0]==="_"||e==="$stable",zs=e=>H(e)?e.map(qe):[qe(e)],jl=(e,t,n)=>{if(t._n)return t;const s=al((...i)=>zs(t(...i)),n);return s._c=!1,s},Do=(e,t,n)=>{const s=e._ctx;for(const i in e){if(Uo(i))continue;const o=e[i];if(V(o))t[i]=jl(i,o,s);else if(o!=null){const r=zs(o);t[i]=()=>r}}},Bo=(e,t)=>{const n=zs(t);e.slots.default=()=>n},Ul=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=W(t),Un(t,"_",n)):Do(t,e.slots={})}else e.slots={},t&&Bo(e,t);Un(e.slots,ns,1)},Dl=(e,t,n)=>{const{vnode:s,slots:i}=e;let o=!0,r=ne;if(s.shapeFlag&32){const a=t._;a?n&&a===1?o=!1:(me(i,t),!n&&a===1&&delete i._):(o=!t.$stable,Do(t,i)),r=t}else t&&(Bo(e,t),r={default:1});if(o)for(const a in i)!Uo(a)&&r[a]==null&&delete i[a]};function Cs(e,t,n,s,i=!1){if(H(e)){e.forEach((v,k)=>Cs(v,t&&(H(t)?t[k]:t),n,s,i));return}if($n(s)&&!i)return;const o=s.shapeFlag&4?ss(s.component)||s.component.proxy:s.el,r=i?null:o,{i:a,r:l}=e,u=t&&t.r,c=a.refs===ne?a.refs={}:a.refs,p=a.setupState;if(u!=null&&u!==l&&(ae(u)?(c[u]=null,q(p,u)&&(p[u]=null)):be(u)&&(u.value=null)),V(l))pt(l,a,12,[r,c]);else{const v=ae(l),k=be(l);if(v||k){const P=()=>{if(e.f){const A=v?q(p,l)?p[l]:c[l]:l.value;i?H(A)&&Os(A,o):H(A)?A.includes(o)||A.push(o):v?(c[l]=[o],q(p,l)&&(p[l]=c[l])):(l.value=[o],e.k&&(c[e.k]=l.value))}else v?(c[l]=r,q(p,l)&&(p[l]=r)):k&&(l.value=r,e.k&&(c[e.k]=r))};r?(P.id=-1,Ee(P,n)):P()}}}const Ee=ml;function Bl(e){return Vl(e)}function Vl(e,t){const n=gs();n.__VUE__=!0;const{insert:s,remove:i,patchProp:o,createElement:r,createText:a,createComment:l,setText:u,setElementText:c,parentNode:p,nextSibling:v,setScopeId:k=Ge,insertStaticContent:P}=e,A=(f,d,m,_=null,b=null,w=null,M=!1,x=null,C=!!d.dynamicChildren)=>{if(f===d)return;f&&!sn(f,d)&&(_=y(f),we(f,b,w,!0),f=null),d.patchFlag===-2&&(C=!1,d.dynamicChildren=null);const{type:E,ref:$,shapeFlag:T}=d;switch(E){case ts:D(f,d,m,_);break;case Tt:L(f,d,m,_);break;case us:f==null&&j(d,m,_,M);break;case pe:_t(f,d,m,_,b,w,M,x,C);break;default:T&1?ue(f,d,m,_,b,w,M,x,C):T&6?Be(f,d,m,_,b,w,M,x,C):(T&64||T&128)&&E.process(f,d,m,_,b,w,M,x,C,S)}$!=null&&b&&Cs($,f&&f.ref,w,d||f,!d)},D=(f,d,m,_)=>{if(f==null)s(d.el=a(d.children),m,_);else{const b=d.el=f.el;d.children!==f.children&&u(b,d.children)}},L=(f,d,m,_)=>{f==null?s(d.el=l(d.children||""),m,_):d.el=f.el},j=(f,d,m,_)=>{[f.el,f.anchor]=P(f.children,d,m,_,f.el,f.anchor)},G=({el:f,anchor:d},m,_)=>{let b;for(;f&&f!==d;)b=v(f),s(f,m,_),f=b;s(d,m,_)},U=({el:f,anchor:d})=>{let m;for(;f&&f!==d;)m=v(f),i(f),f=m;i(d)},ue=(f,d,m,_,b,w,M,x,C)=>{M=M||d.type==="svg",f==null?ge(d,m,_,b,w,M,x,C):At(f,d,b,w,M,x,C)},ge=(f,d,m,_,b,w,M,x)=>{let C,E;const{type:$,props:T,shapeFlag:N,transition:B,dirs:z}=f;if(C=f.el=r(f.type,w,T&&T.is,T),N&8?c(C,f.children):N&16&&Ue(f.children,C,null,_,b,w&&$!=="foreignObject",M,x),z&&yt(f,null,_,"created"),Ie(C,f,f.scopeId,M,_),T){for(const X in T)X!=="value"&&!In(X)&&o(C,X,null,T[X],w,f.children,_,b,ve);"value"in T&&o(C,"value",null,T.value),(E=T.onVnodeBeforeMount)&&ze(E,_,f)}z&&yt(f,null,_,"beforeMount");const te=Kl(b,B);te&&B.beforeEnter(C),s(C,d,m),((E=T&&T.onVnodeMounted)||te||z)&&Ee(()=>{E&&ze(E,_,f),te&&B.enter(C),z&&yt(f,null,_,"mounted")},b)},Ie=(f,d,m,_,b)=>{if(m&&k(f,m),_)for(let w=0;w<_.length;w++)k(f,_[w]);if(b){let w=b.subTree;if(d===w){const M=b.vnode;Ie(f,M,M.scopeId,M.slotScopeIds,b.parent)}}},Ue=(f,d,m,_,b,w,M,x,C=0)=>{for(let E=C;E{const x=d.el=f.el;let{patchFlag:C,dynamicChildren:E,dirs:$}=d;C|=f.patchFlag&16;const T=f.props||ne,N=d.props||ne;let B;m&&bt(m,!1),(B=N.onVnodeBeforeUpdate)&&ze(B,m,d,f),$&&yt(d,f,m,"beforeUpdate"),m&&bt(m,!0);const z=b&&d.type!=="foreignObject";if(E?De(f.dynamicChildren,E,x,m,_,z,w):M||J(f,d,x,null,m,_,z,w,!1),C>0){if(C&16)ot(x,d,T,N,m,_,b);else if(C&2&&T.class!==N.class&&o(x,"class",null,N.class,b),C&4&&o(x,"style",T.style,N.style,b),C&8){const te=d.dynamicProps;for(let X=0;X{B&&ze(B,m,d,f),$&&yt(d,f,m,"updated")},_)},De=(f,d,m,_,b,w,M)=>{for(let x=0;x{if(m!==_){if(m!==ne)for(const x in m)!In(x)&&!(x in _)&&o(f,x,m[x],null,M,d.children,b,w,ve);for(const x in _){if(In(x))continue;const C=_[x],E=m[x];C!==E&&x!=="value"&&o(f,x,E,C,M,d.children,b,w,ve)}"value"in _&&o(f,"value",m.value,_.value)}},_t=(f,d,m,_,b,w,M,x,C)=>{const E=d.el=f?f.el:a(""),$=d.anchor=f?f.anchor:a("");let{patchFlag:T,dynamicChildren:N,slotScopeIds:B}=d;B&&(x=x?x.concat(B):B),f==null?(s(E,m,_),s($,m,_),Ue(d.children,m,$,b,w,M,x,C)):T>0&&T&64&&N&&f.dynamicChildren?(De(f.dynamicChildren,N,m,b,w,M,x),(d.key!=null||b&&d===b.subTree)&&Vo(f,d,!0)):J(f,d,m,$,b,w,M,x,C)},Be=(f,d,m,_,b,w,M,x,C)=>{d.slotScopeIds=x,f==null?d.shapeFlag&512?b.ctx.activate(d,m,_,M,C):tn(d,m,_,b,w,M,C):It(f,d,C)},tn=(f,d,m,_,b,w,M)=>{const x=f.component=Zl(f,_,b);if(Oo(f)&&(x.ctx.renderer=S),ea(x),x.asyncDep){if(b&&b.registerDep(x,fe),!f.el){const C=x.subTree=he(Tt);L(null,C,d,m)}return}fe(x,f,d,m,b,w,M)},It=(f,d,m)=>{const _=d.component=f.component;if(fl(f,d,m))if(_.asyncDep&&!_.asyncResolved){Z(_,d,m);return}else _.next=d,il(_.update),_.update();else d.el=f.el,_.vnode=d},fe=(f,d,m,_,b,w,M)=>{const x=()=>{if(f.isMounted){let{next:$,bu:T,u:N,parent:B,vnode:z}=f,te=$,X;bt(f,!1),$?($.el=z.el,Z(f,$,M)):$=z,T&&On(T),(X=$.props&&$.props.onVnodeBeforeUpdate)&&ze(X,B,$,z),bt(f,!0);const le=as(f),Oe=f.subTree;f.subTree=le,A(Oe,le,p(Oe.el),y(Oe),f,b,w),$.el=le.el,te===null&&dl(f,le.el),N&&Ee(N,b),(X=$.props&&$.props.onVnodeUpdated)&&Ee(()=>ze(X,B,$,z),b)}else{let $;const{el:T,props:N}=d,{bm:B,m:z,parent:te}=f,X=$n(d);if(bt(f,!1),B&&On(B),!X&&($=N&&N.onVnodeBeforeMount)&&ze($,te,d),bt(f,!0),T&&Y){const le=()=>{f.subTree=as(f),Y(T,f.subTree,f,b,null)};X?d.type.__asyncLoader().then(()=>!f.isUnmounted&&le()):le()}else{const le=f.subTree=as(f);A(null,le,m,_,f,b,w),d.el=le.el}if(z&&Ee(z,b),!X&&($=N&&N.onVnodeMounted)){const le=d;Ee(()=>ze($,te,le),b)}(d.shapeFlag&256||te&&$n(te.vnode)&&te.vnode.shapeFlag&256)&&f.a&&Ee(f.a,b),f.isMounted=!0,d=m=_=null}},C=f.effect=new Fs(x,()=>Vs(E),f.scope),E=f.update=()=>C.run();E.id=f.uid,bt(f,!0),E()},Z=(f,d,m)=>{d.component=f;const _=f.vnode.props;f.vnode=d,f.next=null,Hl(f,d.props,_,m),Dl(f,d.children,m),Xt(),di(f),Zt()},J=(f,d,m,_,b,w,M,x,C=!1)=>{const E=f&&f.children,$=f?f.shapeFlag:0,T=d.children,{patchFlag:N,shapeFlag:B}=d;if(N>0){if(N&128){rt(E,T,m,_,b,w,M,x,C);return}else if(N&256){Ye(E,T,m,_,b,w,M,x,C);return}}B&8?($&16&&ve(E,b,w),T!==E&&c(m,T)):$&16?B&16?rt(E,T,m,_,b,w,M,x,C):ve(E,b,w,!0):($&8&&c(m,""),B&16&&Ue(T,m,_,b,w,M,x,C))},Ye=(f,d,m,_,b,w,M,x,C)=>{f=f||Ht,d=d||Ht;const E=f.length,$=d.length,T=Math.min(E,$);let N;for(N=0;N$?ve(f,b,w,!0,!1,T):Ue(d,m,_,b,w,M,x,C,T)},rt=(f,d,m,_,b,w,M,x,C)=>{let E=0;const $=d.length;let T=f.length-1,N=$-1;for(;E<=T&&E<=N;){const B=f[E],z=d[E]=C?ut(d[E]):qe(d[E]);if(sn(B,z))A(B,z,m,null,b,w,M,x,C);else break;E++}for(;E<=T&&E<=N;){const B=f[T],z=d[N]=C?ut(d[N]):qe(d[N]);if(sn(B,z))A(B,z,m,null,b,w,M,x,C);else break;T--,N--}if(E>T){if(E<=N){const B=N+1,z=B<$?d[B].el:_;for(;E<=N;)A(null,d[E]=C?ut(d[E]):qe(d[E]),m,z,b,w,M,x,C),E++}}else if(E>N)for(;E<=T;)we(f[E],b,w,!0),E++;else{const B=E,z=E,te=new Map;for(E=z;E<=N;E++){const Se=d[E]=C?ut(d[E]):qe(d[E]);Se.key!=null&&te.set(Se.key,E)}let X,le=0;const Oe=N-z+1;let Nt=!1,ei=0;const nn=new Array(Oe);for(E=0;E=Oe){we(Se,b,w,!0);continue}let Ke;if(Se.key!=null)Ke=te.get(Se.key);else for(X=z;X<=N;X++)if(nn[X-z]===0&&sn(Se,d[X])){Ke=X;break}Ke===void 0?we(Se,b,w,!0):(nn[Ke-z]=E+1,Ke>=ei?ei=Ke:Nt=!0,A(Se,d[Ke],m,null,b,w,M,x,C),le++)}const ti=Nt?zl(nn):Ht;for(X=ti.length-1,E=Oe-1;E>=0;E--){const Se=z+E,Ke=d[Se],ni=Se+1<$?d[Se+1].el:_;nn[E]===0?A(null,Ke,m,ni,b,w,M,x,C):Nt&&(X<0||E!==ti[X]?Ve(Ke,m,ni,2):X--)}}},Ve=(f,d,m,_,b=null)=>{const{el:w,type:M,transition:x,children:C,shapeFlag:E}=f;if(E&6){Ve(f.component.subTree,d,m,_);return}if(E&128){f.suspense.move(d,m,_);return}if(E&64){M.move(f,d,m,S);return}if(M===pe){s(w,d,m);for(let T=0;Tx.enter(w),b);else{const{leave:T,delayLeave:N,afterLeave:B}=x,z=()=>s(w,d,m),te=()=>{T(w,()=>{z(),B&&B()})};N?N(w,z,te):te()}else s(w,d,m)},we=(f,d,m,_=!1,b=!1)=>{const{type:w,props:M,ref:x,children:C,dynamicChildren:E,shapeFlag:$,patchFlag:T,dirs:N}=f;if(x!=null&&Cs(x,null,m,f,!0),$&256){d.ctx.deactivate(f);return}const B=$&1&&N,z=!$n(f);let te;if(z&&(te=M&&M.onVnodeBeforeUnmount)&&ze(te,d,f),$&6)En(f.component,m,_);else{if($&128){f.suspense.unmount(m,_);return}B&&yt(f,null,d,"beforeUnmount"),$&64?f.type.remove(f,d,m,b,S,_):E&&(w!==pe||T>0&&T&64)?ve(E,d,m,!1,!0):(w===pe&&T&384||!b&&$&16)&&ve(C,d,m),_&&Ot(f)}(z&&(te=M&&M.onVnodeUnmounted)||B)&&Ee(()=>{te&&ze(te,d,f),B&&yt(f,null,d,"unmounted")},m)},Ot=f=>{const{type:d,el:m,anchor:_,transition:b}=f;if(d===pe){$t(m,_);return}if(d===us){U(f);return}const w=()=>{i(m),b&&!b.persisted&&b.afterLeave&&b.afterLeave()};if(f.shapeFlag&1&&b&&!b.persisted){const{leave:M,delayLeave:x}=b,C=()=>M(m,w);x?x(f.el,w,C):C()}else w()},$t=(f,d)=>{let m;for(;f!==d;)m=v(f),i(f),f=m;i(d)},En=(f,d,m)=>{const{bum:_,scope:b,update:w,subTree:M,um:x}=f;_&&On(_),b.stop(),w&&(w.active=!1,we(M,f,d,m)),x&&Ee(x,d),Ee(()=>{f.isUnmounted=!0},d),d&&d.pendingBranch&&!d.isUnmounted&&f.asyncDep&&!f.asyncResolved&&f.suspenseId===d.pendingId&&(d.deps--,d.deps===0&&d.resolve())},ve=(f,d,m,_=!1,b=!1,w=0)=>{for(let M=w;Mf.shapeFlag&6?y(f.component.subTree):f.shapeFlag&128?f.suspense.next():v(f.anchor||f.el),R=(f,d,m)=>{f==null?d._vnode&&we(d._vnode,null,null,!0):A(d._vnode||null,f,d,null,null,null,m),di(),Ro(),d._vnode=f},S={p:A,um:we,m:Ve,r:Ot,mt:tn,mc:Ue,pc:J,pbc:De,n:y,o:e};let I,Y;return t&&([I,Y]=t(S)),{render:R,hydrate:I,createApp:Ll(R,I)}}function bt({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function Kl(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Vo(e,t,n=!1){const s=e.children,i=t.children;if(H(s)&&H(i))for(let o=0;o>1,e[n[a]]0&&(t[s]=n[o-1]),n[o]=s)}}for(o=n.length,r=n[o-1];o-- >0;)n[o]=r,r=t[r];return n}const ql=e=>e.__isTeleport,pe=Symbol.for("v-fgt"),ts=Symbol.for("v-txt"),Tt=Symbol.for("v-cmt"),us=Symbol.for("v-stc"),un=[];let Fe=null;function O(e=!1){un.push(Fe=e?null:[])}function Wl(){un.pop(),Fe=un[un.length-1]||null}let vn=1;function wi(e){vn+=e}function Ko(e){return e.dynamicChildren=vn>0?Fe||Ht:null,Wl(),vn>0&&Fe&&Fe.push(e),e}function F(e,t,n,s,i,o){return Ko(h(e,t,n,s,i,o,!0))}function qs(e,t,n,s,i){return Ko(he(e,t,n,s,i,!0))}function Ss(e){return e?e.__v_isVNode===!0:!1}function sn(e,t){return e.type===t.type&&e.key===t.key}const ns="__vInternal",zo=({key:e})=>e??null,Ln=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?ae(e)||be(e)||V(e)?{i:Le,r:e,k:t,f:!!n}:e:null);function h(e,t=null,n=null,s=0,i=null,o=e===pe?0:1,r=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&zo(t),ref:t&&Ln(t),scopeId:Zn,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:s,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:Le};return a?(Ws(l,n),o&128&&e.normalize(l)):n&&(l.shapeFlag|=ae(n)?8:16),vn>0&&!r&&Fe&&(l.patchFlag>0||o&6)&&l.patchFlag!==32&&Fe.push(l),l}const he=Gl;function Gl(e,t=null,n=null,s=0,i=null,o=!1){if((!e||e===pl)&&(e=Tt),Ss(e)){const a=zt(e,t,!0);return n&&Ws(a,n),vn>0&&!o&&Fe&&(a.shapeFlag&6?Fe[Fe.indexOf(e)]=a:Fe.push(a)),a.patchFlag|=-2,a}if(ia(e)&&(e=e.__vccOpts),t){t=Jl(t);let{class:a,style:l}=t;a&&!ae(a)&&(t.class=nt(a)),ee(l)&&(yo(l)&&!H(l)&&(l=me({},l)),t.style=Ze(l))}const r=ae(e)?1:hl(e)?128:ql(e)?64:ee(e)?4:V(e)?2:0;return h(e,t,n,s,i,r,o,!0)}function Jl(e){return e?yo(e)||ns in e?me({},e):e:null}function zt(e,t,n=!1){const{props:s,ref:i,patchFlag:o,children:r}=e,a=t?Yl(s||{},t):s;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:a,key:a&&zo(a),ref:t&&t.ref?n&&i?H(i)?i.concat(Ln(t)):[i,Ln(t)]:Ln(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:r,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==pe?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&zt(e.ssContent),ssFallback:e.ssFallback&&zt(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function xe(e=" ",t=0){return he(ts,null,e,t)}function et(e="",t=!1){return t?(O(),qs(Tt,null,e)):he(Tt,null,e)}function qe(e){return e==null||typeof e=="boolean"?he(Tt):H(e)?he(pe,null,e.slice()):typeof e=="object"?ut(e):he(ts,null,String(e))}function ut(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:zt(e)}function Ws(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(H(t))n=16;else if(typeof t=="object")if(s&65){const i=t.default;i&&(i._c&&(i._d=!1),Ws(e,i()),i._c&&(i._d=!0));return}else{n=32;const i=t._;!i&&!(ns in t)?t._ctx=Le:i===3&&Le&&(Le.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else V(t)?(t={default:t,_ctx:Le},n=32):(t=String(t),s&64?(n=16,t=[xe(t)]):n=8);e.children=t,e.shapeFlag|=n}function Yl(...e){const t={};for(let n=0;nye=e),Gs=e=>{Lt.length>1?Lt.forEach(t=>t(e)):Lt[0](e)};const qt=e=>{Gs(e),e.scope.on()},Mt=()=>{ye&&ye.scope.off(),Gs(null)};function qo(e){return e.vnode.shapeFlag&4}let _n=!1;function ea(e,t=!1){_n=t;const{props:n,children:s}=e.vnode,i=qo(e);Fl(e,n,i,t),Ul(e,s);const o=i?ta(e,t):void 0;return _n=!1,o}function ta(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=bo(new Proxy(e.ctx,Pl));const{setup:s}=n;if(s){const i=e.setupContext=s.length>1?sa(e):null;qt(e),Xt();const o=pt(s,e,0,[e.props,i]);if(Zt(),Mt(),eo(o)){if(o.then(Mt,Mt),t)return o.then(r=>{xi(e,r,t)}).catch(r=>{Qn(r,e,0)});e.asyncDep=o}else xi(e,o,t)}else Wo(e,t)}function xi(e,t,n){V(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ee(t)&&(e.setupState=xo(t)),Wo(e,n)}let Ci;function Wo(e,t,n){const s=e.type;if(!e.render){if(!t&&Ci&&!s.render){const i=s.template||Ks(e).template;if(i){const{isCustomElement:o,compilerOptions:r}=e.appContext.config,{delimiters:a,compilerOptions:l}=s,u=me(me({isCustomElement:o,delimiters:a},r),l);s.render=Ci(i,u)}}e.render=s.render||Ge}{qt(e),Xt();try{Tl(e)}finally{Zt(),Mt()}}}function na(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,n){return Ce(e,"get","$attrs"),t[n]}}))}function sa(e){const t=n=>{e.exposed=n||{}};return{get attrs(){return na(e)},slots:e.slots,emit:e.emit,expose:t}}function ss(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(xo(bo(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in cn)return cn[n](e)},has(t,n){return n in t||n in cn}}))}function ia(e){return V(e)&&"__vccOpts"in e}const re=(e,t)=>tl(e,t,_n);function Go(e,t,n){const s=arguments.length;return s===2?ee(t)&&!H(t)?Ss(t)?he(e,null,[t]):he(e,t):he(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&Ss(n)&&(n=[n]),he(e,t,n))}const oa=Symbol.for("v-scx"),ra=()=>Je(oa),la="3.3.13",aa="http://www.w3.org/2000/svg",Et=typeof document<"u"?document:null,Si=Et&&Et.createElement("template"),ca={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const i=t?Et.createElementNS(aa,e):Et.createElement(e,n?{is:n}:void 0);return e==="select"&&s&&s.multiple!=null&&i.setAttribute("multiple",s.multiple),i},createText:e=>Et.createTextNode(e),createComment:e=>Et.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Et.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,i,o){const r=n?n.previousSibling:t.lastChild;if(i&&(i===o||i.nextSibling))for(;t.insertBefore(i.cloneNode(!0),n),!(i===o||!(i=i.nextSibling)););else{Si.innerHTML=s?`${e}`:e;const a=Si.content;if(s){const l=a.firstChild;for(;l.firstChild;)a.appendChild(l.firstChild);a.removeChild(l)}t.insertBefore(a,n)}return[r?r.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},ua=Symbol("_vtc");function fa(e,t,n){const s=e[ua];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Js=Symbol("_vod"),Jo={beforeMount(e,{value:t},{transition:n}){e[Js]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):on(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:s}){!t!=!n&&(s?t?(s.beforeEnter(e),on(e,!0),s.enter(e)):s.leave(e,()=>{on(e,!1)}):on(e,t))},beforeUnmount(e,{value:t}){on(e,t)}};function on(e,t){e.style.display=t?e[Js]:"none"}const da=Symbol("");function pa(e,t,n){const s=e.style,i=ae(n);if(n&&!i){if(t&&!ae(t))for(const o in t)n[o]==null&&Ms(s,o,"");for(const o in n)Ms(s,o,n[o])}else{const o=s.display;if(i){if(t!==n){const r=s[da];r&&(n+=";"+r),s.cssText=n}}else t&&e.removeAttribute("style");Js in e&&(s.display=o)}}const Mi=/\s*!important$/;function Ms(e,t,n){if(H(n))n.forEach(s=>Ms(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=ha(e,t);Mi.test(n)?e.setProperty(Qt(s),n.replace(Mi,""),"important"):e[s]=n}}const Ri=["Webkit","Moz","ms"],fs={};function ha(e,t){const n=fs[t];if(n)return n;let s=Bt(t);if(s!=="filter"&&s in e)return fs[t]=s;s=so(s);for(let i=0;ids||(ba.then(()=>ds=0),ds=Date.now());function wa(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;He(Ea(s,n.value),t,5,[s])};return n.value=e,n.attached=ka(),n}function Ea(e,t){if(H(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(s=>i=>!i._stopped&&s&&s(i))}else return t}const Ii=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,xa=(e,t,n,s,i=!1,o,r,a,l)=>{t==="class"?fa(e,s,i):t==="style"?pa(e,n,s):Gn(t)?Is(t)||_a(e,t,n,s,r):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Ca(e,t,s,i))?ga(e,t,s,o,r,a,l):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),ma(e,t,s,i))};function Ca(e,t,n,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in e&&Ii(t)&&V(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const i=e.tagName;if(i==="IMG"||i==="VIDEO"||i==="CANVAS"||i==="SOURCE")return!1}return Ii(t)&&ae(n)?!1:t in e}const vt=e=>{const t=e.props["onUpdate:modelValue"]||!1;return H(t)?n=>On(t,n):t};function Sa(e){e.target.composing=!0}function Oi(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Pe=Symbol("_assign"),Te={created(e,{modifiers:{lazy:t,trim:n,number:s}},i){e[Pe]=vt(i);const o=s||i.props&&i.props.type==="number";tt(e,t?"change":"input",r=>{if(r.target.composing)return;let a=e.value;n&&(a=a.trim()),o&&(a=Dn(a)),e[Pe](a)}),n&&tt(e,"change",()=>{e.value=e.value.trim()}),t||(tt(e,"compositionstart",Sa),tt(e,"compositionend",Oi),tt(e,"change",Oi))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:s,number:i}},o){if(e[Pe]=vt(o),e.composing)return;const r=i||e.type==="number"?Dn(e.value):e.value,a=t??"";r!==a&&(document.activeElement===e&&e.type!=="range"&&(n||s&&e.value.trim()===a)||(e.value=a))}},Yo={deep:!0,created(e,t,n){e[Pe]=vt(n),tt(e,"change",()=>{const s=e._modelValue,i=Wt(e),o=e.checked,r=e[Pe];if(H(s)){const a=Ns(s,i),l=a!==-1;if(o&&!l)r(s.concat(i));else if(!o&&l){const u=[...s];u.splice(a,1),r(u)}}else if(Yt(s)){const a=new Set(s);o?a.add(i):a.delete(i),r(a)}else r(Qo(e,o))})},mounted:$i,beforeUpdate(e,t,n){e[Pe]=vt(n),$i(e,t,n)}};function $i(e,{value:t,oldValue:n},s){e._modelValue=t,H(t)?e.checked=Ns(t,s.props.value)>-1:Yt(t)?e.checked=t.has(s.props.value):t!==n&&(e.checked=Pt(t,Qo(e,!0)))}const Ma={created(e,{value:t},n){e.checked=Pt(t,n.props.value),e[Pe]=vt(n),tt(e,"change",()=>{e[Pe](Wt(e))})},beforeUpdate(e,{value:t,oldValue:n},s){e[Pe]=vt(s),t!==n&&(e.checked=Pt(t,s.props.value))}},fn={deep:!0,created(e,{value:t,modifiers:{number:n}},s){const i=Yt(t);tt(e,"change",()=>{const o=Array.prototype.filter.call(e.options,r=>r.selected).map(r=>n?Dn(Wt(r)):Wt(r));e[Pe](e.multiple?i?new Set(o):o:o[0])}),e[Pe]=vt(s)},mounted(e,{value:t}){Ni(e,t)},beforeUpdate(e,t,n){e[Pe]=vt(n)},updated(e,{value:t}){Ni(e,t)}};function Ni(e,t){const n=e.multiple;if(!(n&&!H(t)&&!Yt(t))){for(let s=0,i=e.options.length;s-1:o.selected=t.has(r);else if(Pt(Wt(o),t)){e.selectedIndex!==s&&(e.selectedIndex=s);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function Wt(e){return"_value"in e?e._value:e.value}function Qo(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const Ra={created(e,t,n){Tn(e,t,n,null,"created")},mounted(e,t,n){Tn(e,t,n,null,"mounted")},beforeUpdate(e,t,n,s){Tn(e,t,n,s,"beforeUpdate")},updated(e,t,n,s){Tn(e,t,n,s,"updated")}};function Pa(e,t){switch(e){case"SELECT":return fn;case"TEXTAREA":return Te;default:switch(t){case"checkbox":return Yo;case"radio":return Ma;default:return Te}}}function Tn(e,t,n,s,i){const r=Pa(e.tagName,n.props&&n.props.type)[i];r&&r(e,t,n,s)}const Ta=["ctrl","shift","alt","meta"],Aa={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>Ta.some(n=>e[`${n}Key`]&&!t.includes(n))},Fn=(e,t)=>{const n=e._withMods||(e._withMods={}),s=t.join(".");return n[s]||(n[s]=(i,...o)=>{for(let r=0;r{const t=Oa().createApp(...e),{mount:n}=t;return t.mount=s=>{const i=Na(s);if(!i)return;const o=t._component;!V(o)&&!o.render&&!o.template&&(o.template=i.innerHTML),i.innerHTML="";const r=n(i,!1,i instanceof SVGElement);return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),r},t};function Na(e){return ae(e)?document.querySelector(e):e}/*! * vue-router v4.2.5 * (c) 2023 Eduardo San Martin Morote * @license MIT - */const Ft=typeof window<"u";function La(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const Q=Object.assign;function ps(e,t){const n={};for(const s in t){const i=t[s];n[s]=je(i)?i.map(e):e(i)}return n}const dn=()=>{},je=Array.isArray,Fa=/\/$/,Ha=e=>e.replace(Fa,"");function hs(e,t,n="/"){let s,i={},o="",r="";const a=t.indexOf("#");let l=t.indexOf("?");return a=0&&(l=-1),l>-1&&(s=t.slice(0,l),o=t.slice(l+1,a>-1?a:t.length),i=e(o)),a>-1&&(s=s||t.slice(0,a),r=t.slice(a,t.length)),s=Ba(s??t,n),{fullPath:s+(o&&"?")+o+r,path:s,query:i,hash:r}}function ja(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Fi(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function Ua(e,t,n){const s=t.matched.length-1,i=n.matched.length-1;return s>-1&&s===i&&Gt(t.matched[s],n.matched[i])&&Xo(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Gt(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Xo(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!Da(e[n],t[n]))return!1;return!0}function Da(e,t){return je(e)?Hi(e,t):je(t)?Hi(t,e):e===t}function Hi(e,t){return je(t)?e.length===t.length&&e.every((n,s)=>n===t[s]):e.length===1&&e[0]===t}function Ba(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),s=e.split("/"),i=s[s.length-1];(i===".."||i===".")&&s.push("");let o=n.length-1,r,a;for(r=0;r1&&o--;else break;return n.slice(0,o).join("/")+"/"+s.slice(r-(r===s.length?1:0)).join("/")}var yn;(function(e){e.pop="pop",e.push="push"})(yn||(yn={}));var pn;(function(e){e.back="back",e.forward="forward",e.unknown=""})(pn||(pn={}));function Va(e){if(!e)if(Ft){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),Ha(e)}const Ka=/^[^#]+#/;function za(e,t){return e.replace(Ka,"#")+t}function qa(e,t){const n=document.documentElement.getBoundingClientRect(),s=e.getBoundingClientRect();return{behavior:t.behavior,left:s.left-n.left-(t.left||0),top:s.top-n.top-(t.top||0)}}const ss=()=>({left:window.pageXOffset,top:window.pageYOffset});function Wa(e){let t;if("el"in e){const n=e.el,s=typeof n=="string"&&n.startsWith("#"),i=typeof n=="string"?s?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!i)return;t=qa(i,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.pageXOffset,t.top!=null?t.top:window.pageYOffset)}function ji(e,t){return(history.state?history.state.position-t:-1)+e}const Rs=new Map;function Ga(e,t){Rs.set(e,t)}function Ja(e){const t=Rs.get(e);return Rs.delete(e),t}let Ya=()=>location.protocol+"//"+location.host;function Zo(e,t){const{pathname:n,search:s,hash:i}=t,o=e.indexOf("#");if(o>-1){let a=i.includes(e.slice(o))?e.slice(o).length:1,l=i.slice(a);return l[0]!=="/"&&(l="/"+l),Fi(l,"")}return Fi(n,e)+s+i}function Qa(e,t,n,s){let i=[],o=[],r=null;const a=({state:v})=>{const k=Zo(e,location),P=n.value,A=t.value;let D=0;if(v){if(n.value=k,t.value=v,r&&r===P){r=null;return}D=A?v.position-A.position:0}else s(k);i.forEach(L=>{L(n.value,P,{delta:D,type:yn.pop,direction:D?D>0?pn.forward:pn.back:pn.unknown})})};function l(){r=n.value}function u(v){i.push(v);const k=()=>{const P=i.indexOf(v);P>-1&&i.splice(P,1)};return o.push(k),k}function c(){const{history:v}=window;v.state&&v.replaceState(Q({},v.state,{scroll:ss()}),"")}function p(){for(const v of o)v();o=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",c)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",c,{passive:!0}),{pauseListeners:l,listen:u,destroy:p}}function Ui(e,t,n,s=!1,i=!1){return{back:e,current:t,forward:n,replaced:s,position:window.history.length,scroll:i?ss():null}}function Xa(e){const{history:t,location:n}=window,s={value:Zo(e,n)},i={value:t.state};i.value||o(s.value,{back:null,current:s.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function o(l,u,c){const p=e.indexOf("#"),v=p>-1?(n.host&&document.querySelector("base")?e:e.slice(p))+l:Ya()+e+l;try{t[c?"replaceState":"pushState"](u,"",v),i.value=u}catch(k){console.error(k),n[c?"replace":"assign"](v)}}function r(l,u){const c=Q({},t.state,Ui(i.value.back,l,i.value.forward,!0),u,{position:i.value.position});o(l,c,!0),s.value=l}function a(l,u){const c=Q({},i.value,t.state,{forward:l,scroll:ss()});o(c.current,c,!0);const p=Q({},Ui(s.value,l,null),{position:c.position+1},u);o(l,p,!1),s.value=l}return{location:s,state:i,push:a,replace:r}}function Za(e){e=Va(e);const t=Xa(e),n=Qa(e,t.state,t.location,t.replace);function s(o,r=!0){r||n.pauseListeners(),history.go(o)}const i=Q({location:"",base:e,go:s,createHref:za.bind(null,e)},t,n);return Object.defineProperty(i,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(i,"state",{enumerable:!0,get:()=>t.state.value}),i}function ec(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),Za(e)}function tc(e){return typeof e=="string"||e&&typeof e=="object"}function er(e){return typeof e=="string"||typeof e=="symbol"}const at={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},tr=Symbol("");var Di;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(Di||(Di={}));function Jt(e,t){return Q(new Error,{type:e,[tr]:!0},t)}function Qe(e,t){return e instanceof Error&&tr in e&&(t==null||!!(e.type&t))}const Bi="[^/]+?",nc={sensitive:!1,strict:!1,start:!0,end:!0},sc=/[.+*?^${}()[\]/\\]/g;function ic(e,t){const n=Q({},nc,t),s=[];let i=n.start?"^":"";const o=[];for(const u of e){const c=u.length?[]:[90];n.strict&&!u.length&&(i+="/");for(let p=0;pt.length?t.length===1&&t[0]===40+40?1:-1:0}function rc(e,t){let n=0;const s=e.score,i=t.score;for(;n0&&t[t.length-1]<0}const lc={type:0,value:""},ac=/[a-zA-Z0-9_]/;function cc(e){if(!e)return[[]];if(e==="/")return[[lc]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(k){throw new Error(`ERR (${n})/"${u}": ${k}`)}let n=0,s=n;const i=[];let o;function r(){o&&i.push(o),o=[]}let a=0,l,u="",c="";function p(){u&&(n===0?o.push({type:0,value:u}):n===1||n===2||n===3?(o.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${u}) must be alone in its segment. eg: '/:ids+.`),o.push({type:1,value:u,regexp:c,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),u="")}function v(){u+=l}for(;a{r(j)}:dn}function r(c){if(er(c)){const p=s.get(c);p&&(s.delete(c),n.splice(n.indexOf(p),1),p.children.forEach(r),p.alias.forEach(r))}else{const p=n.indexOf(c);p>-1&&(n.splice(p,1),c.record.name&&s.delete(c.record.name),c.children.forEach(r),c.alias.forEach(r))}}function a(){return n}function l(c){let p=0;for(;p=0&&(c.record.path!==n[p].record.path||!nr(c,n[p]));)p++;n.splice(p,0,c),c.record.name&&!zi(c)&&s.set(c.record.name,c)}function u(c,p){let v,k={},P,A;if("name"in c&&c.name){if(v=s.get(c.name),!v)throw Jt(1,{location:c});A=v.record.name,k=Q(Ki(p.params,v.keys.filter(j=>!j.optional).map(j=>j.name)),c.params&&Ki(c.params,v.keys.map(j=>j.name))),P=v.stringify(k)}else if("path"in c)P=c.path,v=n.find(j=>j.re.test(P)),v&&(k=v.parse(P),A=v.record.name);else{if(v=p.name?s.get(p.name):n.find(j=>j.re.test(p.path)),!v)throw Jt(1,{location:c,currentLocation:p});A=v.record.name,k=Q({},p.params,c.params),P=v.stringify(k)}const D=[];let L=v;for(;L;)D.unshift(L.record),L=L.parent;return{name:A,path:P,params:k,matched:D,meta:hc(D)}}return e.forEach(c=>o(c)),{addRoute:o,resolve:u,removeRoute:r,getRoutes:a,getRecordMatcher:i}}function Ki(e,t){const n={};for(const s of t)s in e&&(n[s]=e[s]);return n}function dc(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:pc(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function pc(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const s in e.components)t[s]=typeof n=="object"?n[s]:n;return t}function zi(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function hc(e){return e.reduce((t,n)=>Q(t,n.meta),{})}function qi(e,t){const n={};for(const s in e)n[s]=s in t?t[s]:e[s];return n}function nr(e,t){return t.children.some(n=>n===e||nr(e,n))}const sr=/#/g,mc=/&/g,gc=/\//g,vc=/=/g,_c=/\?/g,ir=/\+/g,yc=/%5B/g,bc=/%5D/g,or=/%5E/g,kc=/%60/g,rr=/%7B/g,wc=/%7C/g,lr=/%7D/g,Ec=/%20/g;function Ys(e){return encodeURI(""+e).replace(wc,"|").replace(yc,"[").replace(bc,"]")}function xc(e){return Ys(e).replace(rr,"{").replace(lr,"}").replace(or,"^")}function Ps(e){return Ys(e).replace(ir,"%2B").replace(Ec,"+").replace(sr,"%23").replace(mc,"%26").replace(kc,"`").replace(rr,"{").replace(lr,"}").replace(or,"^")}function Cc(e){return Ps(e).replace(vc,"%3D")}function Mc(e){return Ys(e).replace(sr,"%23").replace(_c,"%3F")}function Sc(e){return e==null?"":Mc(e).replace(gc,"%2F")}function qn(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function Rc(e){const t={};if(e===""||e==="?")return t;const s=(e[0]==="?"?e.slice(1):e).split("&");for(let i=0;io&&Ps(o)):[s&&Ps(s)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+n,o!=null&&(t+="="+o))})}return t}function Pc(e){const t={};for(const n in e){const s=e[n];s!==void 0&&(t[n]=je(s)?s.map(i=>i==null?null:""+i):s==null?s:""+s)}return t}const Tc=Symbol(""),Gi=Symbol(""),Qs=Symbol(""),Xs=Symbol(""),Ts=Symbol("");function rn(){let e=[];function t(s){return e.push(s),()=>{const i=e.indexOf(s);i>-1&&e.splice(i,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function ft(e,t,n,s,i){const o=s&&(s.enterCallbacks[i]=s.enterCallbacks[i]||[]);return()=>new Promise((r,a)=>{const l=p=>{p===!1?a(Jt(4,{from:n,to:t})):p instanceof Error?a(p):tc(p)?a(Jt(2,{from:t,to:p})):(o&&s.enterCallbacks[i]===o&&typeof p=="function"&&o.push(p),r())},u=e.call(s&&s.instances[i],t,n,l);let c=Promise.resolve(u);e.length<3&&(c=c.then(l)),c.catch(p=>a(p))})}function ms(e,t,n,s){const i=[];for(const o of e)for(const r in o.components){let a=o.components[r];if(!(t!=="beforeRouteEnter"&&!o.instances[r]))if(Ac(a)){const u=(a.__vccOpts||a)[t];u&&i.push(ft(u,n,s,o,r))}else{let l=a();i.push(()=>l.then(u=>{if(!u)return Promise.reject(new Error(`Couldn't resolve component "${r}" at "${o.path}"`));const c=La(u)?u.default:u;o.components[r]=c;const v=(c.__vccOpts||c)[t];return v&&ft(v,n,s,o,r)()}))}}return i}function Ac(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Ji(e){const t=Je(Qs),n=Je(Xs),s=re(()=>t.resolve(se(e.to))),i=re(()=>{const{matched:l}=s.value,{length:u}=l,c=l[u-1],p=n.matched;if(!c||!p.length)return-1;const v=p.findIndex(Gt.bind(null,c));if(v>-1)return v;const k=Yi(l[u-2]);return u>1&&Yi(c)===k&&p[p.length-1].path!==k?p.findIndex(Gt.bind(null,l[u-2])):v}),o=re(()=>i.value>-1&&Nc(n.params,s.value.params)),r=re(()=>i.value>-1&&i.value===n.matched.length-1&&Xo(n.params,s.value.params));function a(l={}){return $c(l)?t[se(e.replace)?"replace":"push"](se(e.to)).catch(dn):Promise.resolve()}return{route:s,href:re(()=>s.value.href),isActive:o,isExactActive:r,navigate:a}}const Ic=oe({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:Ji,setup(e,{slots:t}){const n=kn(Ji(e)),{options:s}=Je(Qs),i=re(()=>({[Qi(e.activeClass,s.linkActiveClass,"router-link-active")]:n.isActive,[Qi(e.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&t.default(n);return e.custom?o:Go("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:i.value},o)}}}),Oc=Ic;function $c(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function Nc(e,t){for(const n in t){const s=t[n],i=e[n];if(typeof s=="string"){if(s!==i)return!1}else if(!je(i)||i.length!==s.length||s.some((o,r)=>o!==i[r]))return!1}return!0}function Yi(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Qi=(e,t,n)=>e??t??n,Lc=oe({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const s=Je(Ts),i=re(()=>e.route||s.value),o=Je(Gi,0),r=re(()=>{let u=se(o);const{matched:c}=i.value;let p;for(;(p=c[u])&&!p.components;)u++;return u}),a=re(()=>i.value.matched[r.value]);$n(Gi,re(()=>r.value+1)),$n(Tc,a),$n(Ts,i);const l=K();return ht(()=>[l.value,a.value,e.name],([u,c,p],[v,k,P])=>{c&&(c.instances[p]=u,k&&k!==c&&u&&u===v&&(c.leaveGuards.size||(c.leaveGuards=k.leaveGuards),c.updateGuards.size||(c.updateGuards=k.updateGuards))),u&&c&&(!k||!Gt(c,k)||!v)&&(c.enterCallbacks[p]||[]).forEach(A=>A(u))},{flush:"post"}),()=>{const u=i.value,c=e.name,p=a.value,v=p&&p.components[c];if(!v)return Xi(n.default,{Component:v,route:u});const k=p.props[c],P=k?k===!0?u.params:typeof k=="function"?k(u):k:null,D=Go(v,Q({},P,t,{onVnodeUnmounted:L=>{L.component.isUnmounted&&(p.instances[c]=null)},ref:l}));return Xi(n.default,{Component:D,route:u})||D}}});function Xi(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const Zs=Lc;function Fc(e){const t=fc(e.routes,e),n=e.parseQuery||Rc,s=e.stringifyQuery||Wi,i=e.history,o=rn(),r=rn(),a=rn(),l=Wr(at);let u=at;Ft&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const c=ps.bind(null,y=>""+y),p=ps.bind(null,Sc),v=ps.bind(null,qn);function k(y,R){let M,I;return er(y)?(M=t.getRecordMatcher(y),I=R):I=y,t.addRoute(I,M)}function P(y){const R=t.getRecordMatcher(y);R&&t.removeRoute(R)}function A(){return t.getRoutes().map(y=>y.record)}function D(y){return!!t.getRecordMatcher(y)}function L(y,R){if(R=Q({},R||l.value),typeof y=="string"){const m=hs(n,y,R.path),_=t.resolve({path:m.path},R),b=i.createHref(m.fullPath);return Q(m,_,{params:v(_.params),hash:qn(m.hash),redirectedFrom:void 0,href:b})}let M;if("path"in y)M=Q({},y,{path:hs(n,y.path,R.path).path});else{const m=Q({},y.params);for(const _ in m)m[_]==null&&delete m[_];M=Q({},y,{params:p(m)}),R.params=p(R.params)}const I=t.resolve(M,R),Y=y.hash||"";I.params=c(v(I.params));const f=ja(s,Q({},y,{hash:xc(Y),path:I.path})),d=i.createHref(f);return Q({fullPath:f,hash:Y,query:s===Wi?Pc(y.query):y.query||{}},I,{redirectedFrom:void 0,href:d})}function j(y){return typeof y=="string"?hs(n,y,l.value.path):Q({},y)}function G(y,R){if(u!==y)return Jt(8,{from:R,to:y})}function U(y){return Ie(y)}function ue(y){return U(Q(j(y),{replace:!0}))}function ge(y){const R=y.matched[y.matched.length-1];if(R&&R.redirect){const{redirect:M}=R;let I=typeof M=="function"?M(y):M;return typeof I=="string"&&(I=I.includes("?")||I.includes("#")?I=j(I):{path:I},I.params={}),Q({query:y.query,hash:y.hash,params:"path"in I?{}:y.params},I)}}function Ie(y,R){const M=u=L(y),I=l.value,Y=y.state,f=y.force,d=y.replace===!0,m=ge(M);if(m)return Ie(Q(j(m),{state:typeof m=="object"?Q({},Y,m.state):Y,force:f,replace:d}),R||M);const _=M;_.redirectedFrom=R;let b;return!f&&Ua(s,I,M)&&(b=Jt(16,{to:_,from:I}),Ve(I,I,!0,!1)),(b?Promise.resolve(b):De(_,I)).catch(w=>Qe(w)?Qe(w,2)?w:rt(w):J(w,_,I)).then(w=>{if(w){if(Qe(w,2))return Ie(Q({replace:d},j(w.to),{state:typeof w.to=="object"?Q({},Y,w.to.state):Y,force:f}),R||_)}else w=_t(_,I,!0,d,Y);return ot(_,I,w),w})}function Ue(y,R){const M=G(y,R);return M?Promise.reject(M):Promise.resolve()}function At(y){const R=$t.values().next().value;return R&&typeof R.runWithContext=="function"?R.runWithContext(y):y()}function De(y,R){let M;const[I,Y,f]=Hc(y,R);M=ms(I.reverse(),"beforeRouteLeave",y,R);for(const m of I)m.leaveGuards.forEach(_=>{M.push(ft(_,y,R))});const d=Ue.bind(null,y,R);return M.push(d),ve(M).then(()=>{M=[];for(const m of o.list())M.push(ft(m,y,R));return M.push(d),ve(M)}).then(()=>{M=ms(Y,"beforeRouteUpdate",y,R);for(const m of Y)m.updateGuards.forEach(_=>{M.push(ft(_,y,R))});return M.push(d),ve(M)}).then(()=>{M=[];for(const m of f)if(m.beforeEnter)if(je(m.beforeEnter))for(const _ of m.beforeEnter)M.push(ft(_,y,R));else M.push(ft(m.beforeEnter,y,R));return M.push(d),ve(M)}).then(()=>(y.matched.forEach(m=>m.enterCallbacks={}),M=ms(f,"beforeRouteEnter",y,R),M.push(d),ve(M))).then(()=>{M=[];for(const m of r.list())M.push(ft(m,y,R));return M.push(d),ve(M)}).catch(m=>Qe(m,8)?m:Promise.reject(m))}function ot(y,R,M){a.list().forEach(I=>At(()=>I(y,R,M)))}function _t(y,R,M,I,Y){const f=G(y,R);if(f)return f;const d=R===at,m=Ft?history.state:{};M&&(I||d?i.replace(y.fullPath,Q({scroll:d&&m&&m.scroll},Y)):i.push(y.fullPath,Y)),l.value=y,Ve(y,R,M,d),rt()}let Be;function tn(){Be||(Be=i.listen((y,R,M)=>{if(!wn.listening)return;const I=L(y),Y=ge(I);if(Y){Ie(Q(Y,{replace:!0}),I).catch(dn);return}u=I;const f=l.value;Ft&&Ga(ji(f.fullPath,M.delta),ss()),De(I,f).catch(d=>Qe(d,12)?d:Qe(d,2)?(Ie(d.to,I).then(m=>{Qe(m,20)&&!M.delta&&M.type===yn.pop&&i.go(-1,!1)}).catch(dn),Promise.reject()):(M.delta&&i.go(-M.delta,!1),J(d,I,f))).then(d=>{d=d||_t(I,f,!1),d&&(M.delta&&!Qe(d,8)?i.go(-M.delta,!1):M.type===yn.pop&&Qe(d,20)&&i.go(-1,!1)),ot(I,f,d)}).catch(dn)}))}let It=rn(),fe=rn(),Z;function J(y,R,M){rt(y);const I=fe.list();return I.length?I.forEach(Y=>Y(y,R,M)):console.error(y),Promise.reject(y)}function Ye(){return Z&&l.value!==at?Promise.resolve():new Promise((y,R)=>{It.add([y,R])})}function rt(y){return Z||(Z=!y,tn(),It.list().forEach(([R,M])=>y?M(y):R()),It.reset()),y}function Ve(y,R,M,I){const{scrollBehavior:Y}=e;if(!Ft||!Y)return Promise.resolve();const f=!M&&Ja(ji(y.fullPath,0))||(I||!M)&&history.state&&history.state.scroll||null;return Mo().then(()=>Y(y,R,f)).then(d=>d&&Wa(d)).catch(d=>J(d,y,R))}const we=y=>i.go(y);let Ot;const $t=new Set,wn={currentRoute:l,listening:!0,addRoute:k,removeRoute:P,hasRoute:D,getRoutes:A,resolve:L,options:e,push:U,replace:ue,go:we,back:()=>we(-1),forward:()=>we(1),beforeEach:o.add,beforeResolve:r.add,afterEach:a.add,onError:fe.add,isReady:Ye,install(y){const R=this;y.component("RouterLink",Oc),y.component("RouterView",Zs),y.config.globalProperties.$router=R,Object.defineProperty(y.config.globalProperties,"$route",{enumerable:!0,get:()=>se(l)}),Ft&&!Ot&&l.value===at&&(Ot=!0,U(i.location).catch(Y=>{}));const M={};for(const Y in at)Object.defineProperty(M,Y,{get:()=>l.value[Y],enumerable:!0});y.provide(Qs,R),y.provide(Xs,vo(M)),y.provide(Ts,l);const I=y.unmount;$t.add(y),y.unmount=function(){$t.delete(y),$t.size<1&&(u=at,Be&&Be(),Be=null,l.value=at,Ot=!1,Z=!1),I()}}};function ve(y){return y.reduce((R,M)=>R.then(()=>At(M)),Promise.resolve())}return wn}function Hc(e,t){const n=[],s=[],i=[],o=Math.max(t.matched.length,e.matched.length);for(let r=0;rGt(u,a))?s.push(a):n.push(a));const l=e.matched[r];l&&(t.matched.find(u=>Gt(u,l))||i.push(l))}return[n,s,i]}function jc(){return Je(Xs)}const Uc=oe({__name:"App",setup(e){return(t,n)=>(O(),qs(se(Zs)))}}),Dc="/frontend-mini-challenges/vue/assets/logo-r_4QCHBg.png";var Bc={VITE_REACT_APP_URL:"http://localhost:6012/",VITE_NG_APP_URL:"http://localhost:6014/",VITE_PATH:"frontend-mini-challenges",VITE_HOST_URL:"http://localhost:6010/",VITE_JS_APP_URL:"http://localhost:6011/",VITE_VUE_APP_URL:"http://localhost:6013/",BASE_URL:"/frontend-mini-challenges/vue/",MODE:"production",DEV:!1,PROD:!0,SSR:!1};const Vc=e=>(Se("data-v-74cb20e7"),e=e(),Re(),e),Kc={class:"navbar"},zc={class:"left"},qc=["href"],Wc=["href"],Gc=["src"],Jc=Vc(()=>h("div",{class:"right"},[h("a",{href:"https://github.com/sadanandpai/frontend-mini-challenges/",target:"_blank"},[h("img",{src:"https://cdn-icons-png.flaticon.com/512/25/25231.png",alt:"github repo",class:"github"})])],-1)),Yc=oe({__name:"Navbar",props:{title:{type:String,required:!0}},setup(e){const{VITE_PATH:t,VITE_HOST_URL:n,DEV:s}=Bc,i=s?`${n}${t}/#/vue`:`/${t}/#/vue/`,o=s?`${n}${t}/`:`/${t}/`;return(r,a)=>(O(),F("nav",Kc,[h("div",zc,[h("a",{href:se(i),class:"back"}," < ",8,qc),h("a",{class:"logo",href:se(o)},[h("img",{src:se(Dc),alt:"logo"},null,8,Gc)],8,Wc)]),h("h1",null,ie(e.title),1),Jc]))}}),ce=(e,t)=>{const n=e.__vccOpts||e;for(const[s,i]of t)n[s]=i;return n},Qc=ce(Yc,[["__scopeId","data-v-74cb20e7"]]);var g=(e=>(e.Easy="easy",e.Medium="medium",e.Hard="hard",e))(g||{});const Zi=[g.Easy,g.Medium,g.Hard];function is(e){return new Map([...e.entries()].sort((t,n)=>{const s=Zi.indexOf(t[1].difficulty),i=Zi.indexOf(n[1].difficulty);return s-i}))}const Xc=new Map([["counter",{title:"Counter",link:"counter/",difficulty:g.Easy,developer:"sadanandpai",youtube:"https://youtu.be/9OIeUtXX3SA",tags:[]}],["bmi-calculator",{title:"BMI Calculator",link:"bmi-calculator/",difficulty:g.Easy,developer:"itsayopapi",tags:[]}],["dice-game",{title:"Dice Game",link:"dice-game/",difficulty:g.Easy,developer:"shivam200446",tags:[],isNew:!0}],["roll-dice",{title:"Roll dice",link:"roll-dice/",difficulty:g.Easy,developer:"babandakale",tags:[]}],["guess-the-number",{title:"Guess the number",link:"guess-the-number/",difficulty:g.Easy,developer:"sadanandpai",youtube:"https://youtu.be/L1Da3GWEGpY",tags:[]}],["string-transformers",{title:"String transformers",link:"string-transformers/",difficulty:g.Easy,developer:"sadanandpai",youtube:"https://youtu.be/crCZEJ6Lmgc",tags:[]}],["file-uploader",{title:"File Uploader",link:"file-uploader/",difficulty:g.Easy,developer:"avtech",tags:[],isNew:!0}],["telephone-formatter",{title:"Telephone formatter",link:"telephone-formatter/",difficulty:g.Easy,developer:"sadanandpai",youtube:"https://youtu.be/E85ldVqAGjw",tags:[]}],["dialog-popup",{title:"Dialog Popup",link:"dialog-popup/",difficulty:g.Easy,developer:"sahankatta",youtube:"https://youtu.be/aIzyEDi6zgU",tags:[]}],["light-dark-mode",{title:"Light & Dark mode",link:"light-dark-mode/",difficulty:g.Easy,developer:"sadanandpai",youtube:"https://youtu.be/hxcGGhjYNFE",tags:[]}],["skeleton-loader",{title:"Skeleton Loader",link:"skeleton-loader/",difficulty:g.Easy,developer:"sahankatta",youtube:"https://youtu.be/FEtTRjq1P6I",tags:[]}],["spinning-loader",{title:"Spinning Loader",link:"spinning-loader/",difficulty:g.Easy,developer:"DhanushNehru",tags:[]}],["music-kit",{title:"Music Kit",link:"music-kit/",difficulty:g.Easy,developer:"shivam200446",tags:[]}],["currency-converter",{title:"Currency Converter",link:"currency-converter/",difficulty:g.Easy,developer:"pranav514",tags:[],isNew:!0}],["accordion",{title:"Accordion",link:"accordion/",difficulty:g.Easy,developer:"rashidtvmr",youtube:"https://youtu.be/03KFXudVaoo",tags:[]}],["navigation-bar",{title:"Navigation Bar",link:"navigation-bar/",difficulty:g.Easy,developer:"christian-lee1398",youtube:"https://youtu.be/urA5ogzG0L0",tags:[]}],["Footer",{title:"Footer",link:"Footer/",difficulty:g.Easy,developer:"AbhineshJha",youtube:"https://youtu.be/FRRlFLfdvBE?si=HWn88BwJGTJvEBUD",tags:[],isNew:!0}],["rock-paper-scissor",{title:"Rock Paper Scissor",link:"rock-paper-scissor/",difficulty:g.Easy,developer:"AckermanLevi1",tags:[],isNew:!0}],["MadStory_generator",{title:"MadStory Generator",link:"MadStory_generator/",difficulty:g.Easy,developer:"hritik",tags:[]}],["multi-typing",{title:"Multi Typing",link:"multi-typing/",difficulty:g.Easy,developer:"noorulaink00",youtube:"https://youtu.be/YCDeOT7DRnI",tags:[]}],["bill-spilt",{title:"Bill Split",link:"bill-spilt/",difficulty:g.Easy,developer:"Sukomal07",youtube:"https://youtu.be/4H2DyrSJeYc",tags:[]}],["simon-game",{title:"Simon game",link:"simon-game/",difficulty:g.Easy,developer:"VishakhaSainani",tags:[],isNew:!0}],["blobmaker",{title:"Blob Maker",link:"blobmaker/",difficulty:g.Easy,developer:"AbhineshJha",tags:[]}],["fitness-tracker",{title:"Fitness Tracker",link:"fitness-tracker/",difficulty:g.Easy,developer:"CrypticRevenger",tags:[]}],["atm-simulator",{title:"ATM Simulator",link:"atm-simulator/",difficulty:g.Easy,developer:"Bratajit-03",tags:[],isNew:!0}],["finance-tracker",{title:"Finance Tracker",link:"finance-tracker/",difficulty:g.Medium,developer:"sujitmahapatra",tags:[]}],["meme-generator",{title:"Meme Generator",link:"meme-generator/",difficulty:g.Medium,developer:"noorulaink00",youtube:"https://youtu.be/LHo9Hi47MTo",tags:[]}],["weather-app",{title:"Weather App",link:"weather-app/",difficulty:g.Medium,developer:"shruti-sen2004",tags:[],isNew:!0}],["toast-popup",{title:"Toast Popup",link:"toast-popup/",difficulty:g.Medium,developer:"sadanandpai",youtube:"https://youtu.be/-p3N5bJXEK8",tags:[]}],["css-shapes",{title:"CSS Shapes",link:"css-shapes/",difficulty:g.Medium,developer:"sadanandpai",tags:[]}],["column-table",{title:"Column Table",link:"column-table/",difficulty:g.Medium,developer:"sadanandpai",tags:[]}],["password-strength",{title:"Password Strength",link:"password-strength/",difficulty:g.Medium,developer:"sadanandpai",tags:[]}],["star-rating",{title:"Star Rating",link:"star-rating/",difficulty:g.Medium,developer:"sadanandpai",tags:[]}],["star-rating-display",{title:"Star Rating Display",link:"star-rating-display/",difficulty:g.Medium,developer:"sadanandpai",tags:[]}],["pixel-art",{title:"Pixel Art",link:"pixel-art/",difficulty:g.Medium,developer:"sadanandpai",tags:[]}],["word-counter",{title:"Word Counter (online)",link:"word-counter/",difficulty:g.Medium,developer:"AckermanLevi1",tags:[]}],["color-spotter",{title:"Color Spotter",link:"color-spotter/",difficulty:g.Medium,developer:"sadanandpai",tags:[]}],["todo-list",{title:"Todo List",link:"todo-list/",difficulty:g.Medium,developer:"sadanandpai",tags:[]}],["gradient-generator",{title:"Gradient Generator",link:"gradient-generator/",difficulty:g.Medium,developer:"Sukomal07",tags:[],isNew:!0}],["transfer-list",{title:"Transfer List",link:"transfer-list/",difficulty:g.Medium,developer:"sadanandpai",tags:[]}],["lift-simulation",{title:"Lift Simulation",link:"lift-simulation/",difficulty:g.Medium,developer:"gauravsinhaweb",tags:[],isNew:!0}],["tic-tac-toe",{title:"Tic-Tac-Toe",link:"tic-tac-toe/",difficulty:g.Medium,developer:"sadanandpai",tags:[]}],["chess-board",{title:"Chess board",link:"chess-board/",difficulty:g.Medium,developer:"sadanandpai",tags:[]}],["chips-input",{title:"Chips Input",link:"chips-input/",difficulty:g.Medium,developer:"sadanandpai",tags:[]}],["infinite-scroll",{title:"Infinite Scroll",link:"infinite-scroll/",difficulty:g.Medium,developer:"srijanB7",tags:[]}],["password-generator",{title:"Password Generator",link:"password-generator/",difficulty:g.Medium,developer:"sadanandpai",tags:[]}],["analog-clock",{title:"Analog Clock",link:"analog-clock/",difficulty:g.Medium,developer:"sadanandpai",tags:[]}],["drag-and-drop-puzzle",{title:"Drag and Drop Puzzle",link:"drag-and-drop-puzzle/",difficulty:g.Medium,developer:"noorulaink00",tags:[],isNew:!0}],["basic-calculator",{title:"Basic calculator",link:"basic-calculator/",difficulty:g.Medium,developer:"sadanandpai",tags:[]}],["match-pair",{title:"Match Pair",link:"match-pair/",difficulty:g.Medium,developer:"sadanandpai",tags:[]}],["typing-speed-test",{title:"Typing Speed Test",link:"typing-speed-test/",difficulty:g.Medium,developer:"sadanandpai",tags:[]}],["count-down-timer",{title:"Countdown Timer",link:"count-down-timer/",difficulty:g.Medium,developer:"sadanandpai",tags:[]}],["otp-input",{title:"OTP Input",link:"otp-input/",difficulty:g.Medium,developer:"sadanandpai",tags:[]}],["quiz-app",{title:"Quiz App",link:"quiz-app/",difficulty:g.Medium,developer:"Kei-K23",tags:[],isNew:!0}],["sorting-visualizer",{title:"Sorting Visualizer",link:"sorting-visualizer/",difficulty:g.Medium,developer:"viditagrawal56",tags:[],isNew:!0}],["snake-game",{title:"Snake Game",link:"snake-game/",difficulty:g.Medium,developer:"Kei-K23",tags:[]}],["hangman-game",{title:"Hangman Game",link:"hangman-game/",difficulty:g.Medium,developer:"Kei-K23",tags:[],isNew:!0}],["area-selector",{title:"Area Selector",link:"area-selector/",difficulty:g.Medium,developer:"sadanandpai",tags:[]}],["25-5-clock",{title:"25-5 Clock",link:"25-5-clock/",difficulty:g.Medium,developer:"caesar003",tags:[]}],["carousel",{title:"Carousel",link:"carousel/",difficulty:g.Medium,developer:"sadanandpai",tags:[]}],["calendar",{title:"Calendar",link:"calendar/",difficulty:g.Medium,developer:"sadanandpai",tags:[]}],["progress-bar",{title:"Progress Bar",link:"progress-bar/",difficulty:g.Medium,developer:"sadanandpai",tags:[]}],["movie-info",{title:"Movie-info app (online)",link:"movie-info/",difficulty:g.Medium,developer:"AckermanLevi1",tags:[]}],["quiz-app-with-timer",{title:"Quiz App with Timer",link:"quiz-app-with-timer/",difficulty:g.Medium,developer:"Vivek-GuptaXCode",tags:[]}],["paginator",{title:"Paginator",link:"paginator/",difficulty:g.Hard,developer:"sadanandpai",tags:[]}],["connect-four",{title:"Connect Four",link:"connect-four/",difficulty:g.Hard,developer:"sadanandpai",tags:[]}],["comment-box",{title:"Comment box",link:"comment-box/",difficulty:g.Hard,developer:"sadanandpai",tags:[]}],["json-creator",{title:"JSON Creator",link:"json-creator/",difficulty:g.Hard,developer:"sadanandpai",tags:[]}],["array-methods",{title:"Array methods",link:"array-methods/",difficulty:g.Hard,developer:"sadanandpai",tags:[]}],["type-ahead",{title:"Typeahead / Autocomplete (offline)",link:"type-ahead/",difficulty:g.Hard,developer:"sadanandpai",tags:[]}],["type-ahead-online",{title:"Typeahead / Autocomplete (online)",link:"type-ahead-online/",difficulty:g.Hard,developer:"sadanandpai",tags:[]}]]);is(Xc);const Zc=new Map([["counter",{title:"Counter",link:"counter",difficulty:g.Easy,developer:"sadanandpai",tags:[]}],["programming-languages-multiverse",{title:"Programming Multiverse",link:"programming-languages-multiverse",difficulty:g.Easy,developer:"Sumitwarrior7",tags:[]}],["anagram-checker",{title:"Anagram Checker",link:"anagram-checker",difficulty:g.Easy,developer:"Manmit Tiwade",tags:[]}],["quote-generator",{title:"Quote Generator",link:"quote-generator",difficulty:g.Easy,developer:"viditagrawal56",tags:[]}],["image-gallery",{title:"Image Gallery",link:"image-gallery",difficulty:g.Easy,developer:"Bhushan1019",tags:[]}],["accordion",{title:"Accordion",link:"accordion",developer:"NikhilJHA01",difficulty:g.Easy,tags:[]}],["background-changer",{title:"Background Changer",link:"background-changer",developer:"AdityaSuryawanshi",difficulty:g.Easy,tags:[]}],["light-dark-mode",{title:"Light Dark Mode",link:"light-dark-mode",difficulty:g.Easy,developer:"NikhilJHA01",tags:[]}],["qr-code-generator",{title:"QR generator",link:"qr-code-generator",difficulty:g.Easy,developer:"Krishnakalani111",tags:[]}],["your-sport",{title:"Your Sport",link:"your-sport",difficulty:g.Easy,developer:"Sumitwarrior7",tags:[]}],["table-colorizer",{title:"Table Colorizer",link:"table-colorizer",difficulty:g.Easy,developer:"ravi02205",tags:[]}],["Guess-the-number",{title:"Guess the number",link:"Guess-the-number",difficulty:g.Easy,developer:"deepakrajkranti",tags:[]}],["pagination",{title:"Pagination",link:"pagination",difficulty:g.Easy,developer:"Pancratzia",tags:[]}],["stack",{title:"Stack",link:"stack",difficulty:g.Easy,developer:"kumaratul60",tags:[]}],["word-count",{title:"Word Count",link:"word-count",difficulty:g.Easy,developer:"Sumitwarrior7",tags:[]}],["temperature-converter",{title:"Temperature Converter",link:"temperature-converter",difficulty:g.Easy,developer:"Sumitwarrior7",tags:[]}],["star-Rating",{title:"Star Rating",link:"star-Rating",difficulty:g.Easy,developer:"NikhilJHA01",tags:[]}],["telephone-formatter",{title:"Telephone formatter",link:"telephone-formatter",difficulty:g.Easy,developer:"arpansaha13",tags:[]}],["string-transformers",{title:"String transformers",link:"string-transformers",difficulty:g.Easy,developer:"arpansaha13",tags:[]}],["tic-tac-toe",{title:"Tic Tac Toe",link:"tic-tac-toe",difficulty:g.Easy,developer:"rashidtvmr",tags:[]}],["expense-tracker",{title:"Expense Tracker",link:"expense-tracker",difficulty:g.Easy,developer:"harsh472000",tags:[]}],["25-5-clock",{title:"25-5 Clock",link:"25-5-clock",difficulty:g.Easy,developer:"caesar003",tags:[]}],["bmi-calculator",{title:"BMI Calculator",link:"bmi-calculator",difficulty:g.Easy,developer:"ashikjhonson",tags:[]}],["stepper",{title:"STEPPER",link:"stepper",difficulty:g.Easy,developer:"codechitra",tags:[],isNew:!0}],["calculator",{title:"Calculator",link:"calculator",difficulty:g.Medium,developer:"liza",tags:[]}],["color-mixer",{title:"Color Mixer",link:"color-mixer",difficulty:g.Medium,developer:"Sumitwarrior7",tags:[]}],["traffic-lights",{title:"Traffic Lights",link:"traffic-lights",difficulty:g.Medium,developer:"rishabhm05",tags:[]}],["email-templates",{title:"Email Templates",link:"email-templates",difficulty:g.Medium,developer:"sadanandpai",tags:[]}],["toast-popup",{title:"Toast Popup",link:"toast-popup",difficulty:g.Medium,developer:"deepu0",tags:[]}],["modal-popup",{title:"Modal Popup",link:"modal-popup",difficulty:g.Medium,developer:"rishabhm05",tags:[]}],["password-strength",{title:"Password Strength",link:"password-strength",difficulty:g.Medium,developer:"deepu0",tags:[]}],["timeline",{title:"Timeline",link:"timeline",difficulty:g.Medium,developer:"Vivek7038",tags:[],isNew:!0}],["column-table",{title:"Column Table",link:"column-table",difficulty:g.Medium,developer:"sadanandpai",tags:[]}],["todo-list",{title:"Todo List",link:"todo-list",difficulty:g.Medium,developer:"deepakrajkranti",tags:[]}],["emoji-picker",{title:"Emoji Picker",link:"emoji-picker",difficulty:g.Medium,developer:"jeevaramanathan",tags:[]}],["investment-calculator",{title:"Investment Calculator",link:"investment-calculator",difficulty:g.Medium,developer:"insharahAyyubi",tags:[]}],["stopwatch",{title:"Stopwatch",link:"stopwatch",difficulty:g.Medium,developer:"rashidtvmr",tags:[]}],["progressbar",{title:"Progressbar",link:"progressbar",difficulty:g.Medium,developer:"dhanu084",tags:[]}],["quiz-app",{title:"Quiz App",link:"quiz-app",difficulty:g.Medium,developer:"AbhilashMadi",tags:[]}],["chess-board",{title:"Chess Board",link:"chess-board",difficulty:g.Medium,developer:"AbhilashMadi",tags:[]}],["nested-dropdown",{title:"Nested Dropdown",link:"nested-dropdown",difficulty:g.Medium,developer:"AnkitKTrivedi",tags:[]}],["food-recipe",{title:"Food Recipe",link:"food-recipe",difficulty:g.Medium,developer:"Kei-K23",tags:[]}],["password-generator",{title:"Password Generator",link:"password-generator",difficulty:g.Medium,developer:"Kei-K23",tags:[]}],["transfer-list",{title:"Transfer List",link:"transfer-list",difficulty:g.Medium,developer:"DeePaK-HeeRaKaRi",tags:[]}],["infinite-scrolling",{title:"Infinite Scrolling (online)",link:"infinite-scrolling",difficulty:g.Medium,developer:"ayush-dutt-sharma",tags:[]}],["match-pair",{title:"Match Pair",link:"match-pair",difficulty:g.Medium,developer:"sadanandpai",tags:[]}],["word-connect",{title:"Word Connect",link:"word-connect",difficulty:g.Medium,developer:"sadanandpai",tags:[],isNew:!0}],["otp",{title:"OTP",link:"otp",difficulty:g.Medium,developer:"rishabhm05",tags:[]}],["file-explorer",{title:"File Explorer",link:"file-explorer",difficulty:g.Hard,developer:"sadanandpai",tags:[]}],["autocomplete-offline",{title:"Typeahead / Autocomplete (offline)",link:"autocomplete-offline",difficulty:g.Hard,developer:"deepu0",tags:[]}],["autocomplete-online",{title:"Typeahead / Autocomplete (online)",link:"autocomplete-online",difficulty:g.Hard,developer:"deepu0",tags:[]}],["water-balancer",{title:"Water Balancer",link:"water-balancer",difficulty:g.Hard,developer:"sadanandpai",tags:[],isNew:!0}],["inline-options",{title:"Inline Options",link:"inline-options",difficulty:g.Easy,developer:"takshch",tags:[]}],["digital-clock",{title:"Digital Clock",link:"digital-clock",difficulty:g.Medium,developer:"Syamsai-Polavarapu",tags:[],isNew:!0}],["nested-comments",{title:"Nested Comments",link:"nested-comments",difficulty:g.Medium,developer:"Akshay-Omkar",tags:[],isNew:!0}],["15puzzle",{title:"15 Puzzle",link:"15puzzle",difficulty:g.Medium,developer:"Bateusz",tags:[],isNew:!0}],["feedback-modal",{title:"Feedback Modal",link:"feedback-modal",difficulty:g.Medium,developer:"ssudipta",tags:[]}],["memory-game",{title:"Memory Game",link:"memory-game",difficulty:g.Medium,developer:"Akshat-Gupta",tags:[],isNew:!0}],["chip-input",{title:"Chips Input",link:"chip-input",difficulty:g.Medium,developer:"Akshay-Omkar",tags:[],isNew:!0}],["tabs",{title:"Tab",link:"tabs",difficulty:g.Easy,developer:"Akshay-Omkar",tags:[],isNew:!0}],["drag-drop",{title:"Drag-Drop",link:"drag-drop",difficulty:g.Medium,developer:"Akshay-Omkar",tags:[],isNew:!0}],["circles",{title:"Circles",link:"circles",difficulty:g.Medium,developer:"sadanandpai",tags:[],isNew:!0}],["analog-clock",{title:"Analog Clock",link:"analog-clock",difficulty:g.Medium,developer:"sadanandpai",tags:[],isNew:!0}]]);is(Zc);const eu=new Map([["counter",{title:"Counter",link:"/counter",difficulty:g.Easy,developer:"arpansaha13",tags:[]}],["accordion",{title:"Accordion",link:"/accordion",difficulty:g.Easy,developer:"arpansaha13",tags:[]}],["light-dark-mode",{title:"Light Dark Mode",link:"/light-dark-mode",difficulty:g.Easy,developer:"arpansaha13",tags:[]}],["table-colorizer",{title:"Table Colorizer",link:"/table-colorizer",difficulty:g.Easy,developer:"arpansaha13",tags:[]}],["guess-the-number",{title:"Guess the number",link:"/guess-the-number",difficulty:g.Easy,developer:"arpansaha13",tags:[]}],["pagination",{title:"Pagination",link:"/pagination",difficulty:g.Easy,developer:"arpansaha13",tags:[]}],["stack",{title:"Stack",link:"/stack",difficulty:g.Easy,developer:"jaydadhaniya",tags:[]}],["telephone-formatter",{title:"Telephone formatter",link:"/telephone-formatter",difficulty:g.Easy,developer:"arpansaha13",tags:[]}],["temprature-converter",{title:"Temprature Converter",link:"/temprature-converter",difficulty:g.Easy,developer:"bhumikkalola",tags:[]}],["tic-tac-toe",{title:"Tic Tac Toe",link:"/tic-tac-toe",difficulty:g.Medium,developer:"sadanandpai",tags:[]}],["toast-popup",{title:"Toast Popup",link:"/toast-popup",difficulty:g.Medium,developer:"arpansaha13",tags:[]}],["password-strength",{title:"Password Strength",link:"/password-strength",difficulty:g.Medium,developer:"jaydadhaniya",tags:[]}],["password-generator",{title:"Password Generator",link:"/password-generator",difficulty:g.Medium,developer:"bhumikkalola",tags:[]}],["stopwatch",{title:"Stopwatch",link:"/stopwatch",difficulty:g.Medium,developer:"Shardik04",tags:[]}]]),tu=is(eu),nu=new Map([["counter",{title:"Counter",link:"counter",difficulty:g.Easy,developer:"sadanandpai",tags:[],isNew:!0}],["guess-number",{title:"Guess Number",link:"guess-number",difficulty:g.Easy,developer:"pankajparkar",tags:[],isNew:!0}],["todo-list",{title:"Todo list",link:"todo-list",difficulty:g.Easy,developer:"pankajparkar",tags:[],isNew:!0}],["stack",{title:"Stack",link:"stack",difficulty:g.Easy,developer:"pankajparkar",tags:[],isNew:!0}],["tic-tac-toe",{title:"Tic tac toe",link:"tic-tac-toe",difficulty:g.Easy,developer:"pankajparkar",tags:[],isNew:!0}],["word-count",{title:"Word Count",link:"word-count",difficulty:g.Easy,developer:"pankajparkar",tags:[],isNew:!0}]]);is(nu);const su={class:"challenge-container"},iu=oe({__name:"challenge",setup(e){const t=jc(),n=K("");return ht(t,()=>{const s=t.path.split("/").filter(Boolean).pop();n.value=tu.get(s).title},{immediate:!0}),(s,i)=>(O(),F(pe,null,[he(Qc,{title:n.value},null,8,["title"]),h("div",su,[he(se(Zs))])],64))}}),ou=ce(iu,[["__scopeId","data-v-a04c5a36"]]),ru=e=>(Se("data-v-348dfed2"),e=e(),Re(),e),lu={class:"main"},au=ru(()=>h("label",{for:"step"},"Increment/Decrement by",-1)),cu=oe({__name:"index",setup(e){const t=K(0),n=K(1),s=()=>{t.value+=n.value},i=()=>{t.value-=n.value},o=()=>{t.value=0};return(r,a)=>(O(),F("main",lu,[h("h2",null,ie(t.value),1),h("section",null,[h("button",{onClick:i,"aria-label":"Decrement"}," - "),h("button",{onClick:s,"aria-label":"Increment"}," + ")]),h("section",null,[au,de(h("input",{type:"number",id:"step","onUpdate:modelValue":a[0]||(a[0]=l=>n.value=l),title:"Step value"},null,512),[[Te,n.value]])]),h("section",null,[h("button",{onClick:o},"Reset")])]))}}),uu=ce(cu,[["__scopeId","data-v-348dfed2"]]),fu=e=>(Se("data-v-d4985809"),e=e(),Re(),e),du={class:"container text-center"},pu=fu(()=>h("div",null,[h("label",{for:"phone"},"+(123) - 4567890")],-1)),hu=oe({__name:"index",setup(e){const t=K(""),n=s=>s.split("").filter(i=>Number.isInteger(+i)&&i!==" ").join("");return ht(t,s=>{const i=n(s);t.value=i.length>3?"+("+i.substring(0,3)+") - "+i.substring(3):i}),(s,i)=>(O(),F("div",du,[de(h("input",{type:"tel",id:"phone",maxlength:"16",placeholder:"Mobile number",autocomplete:"off",class:"field","onUpdate:modelValue":i[0]||(i[0]=o=>t.value=o)},null,512),[[Te,t.value]]),pu]))}}),mu=ce(hu,[["__scopeId","data-v-d4985809"]]),os=e=>(Se("data-v-5f86141c"),e=e(),Re(),e),gu={class:"app"},vu=os(()=>h("label",{for:"input"},"Guess a number between 0 and 100",-1)),_u={class:"widget"},yu=["disabled"],bu={class:"hint"},ku={key:0},wu=os(()=>h("b",null,"Less",-1)),Eu={key:1},xu=os(()=>h("b",null,"Higher",-1)),Cu={key:2},Mu=os(()=>h("b",null,"right",-1)),Su=oe({__name:"index",setup(e){const t=()=>Math.round(100*Math.random()),n=K(t()),s=K(!1),i=K(1),o=K("NONE"),r=l=>{l.preventDefault(),i.valuen.value?o.value="HIGH":(o.value="CORRECT",s.value=!0)},a=()=>{n.value=t(),o.value="NONE",s.value=!1,i.value=1};return(l,u)=>(O(),F("div",gu,[h("form",{onSubmit:r},[vu,de(h("input",{id:"input",type:"number",min:"0",max:"100","onUpdate:modelValue":u[0]||(u[0]=c=>i.value=c),placeholder:"Guess a number"},null,512),[[Te,i.value]]),h("div",_u,[h("button",{type:"button",onClick:a}," Reset "),h("button",{type:"submit",disabled:s.value}," Check ",8,yu)])],32),h("div",bu,[o.value==="LOW"?(O(),F("p",ku,[xe(" Your guess is "),wu,xe(" than the actual number ")])):o.value==="HIGH"?(O(),F("p",Eu,[xe(" Your guess is "),xu,xe(" than the actual number ")])):o.value==="CORRECT"?(O(),F("p",Cu,[xe(" Your guess is "),Mu])):et("",!0)])]))}}),Ru=ce(Su,[["__scopeId","data-v-5f86141c"]]),Pu=e=>(Se("data-v-cbde5945"),e=e(),Re(),e),Tu={class:"content"},Au=Pu(()=>h("p",{class:"text"},"Toggle the theme and see the change!",-1)),Iu={class:"current-theme"},Ou=oe({__name:"index",setup(e){const t=K(!1);return(n,s)=>(O(),F("main",{class:nt(t.value?"dark":"")},[h("div",Tu,[Au,h("button",{type:"button",onClick:s[0]||(s[0]=i=>t.value=!t.value)},"Toggle theme"),h("p",Iu,[xe("Current theme: "),h("span",null,ie(t.value?"Dark":"Light"),1)])])],2))}}),$u=ce(Ou,[["__scopeId","data-v-cbde5945"]]),ar=e=>(Se("data-v-3f23bc99"),e=e(),Re(),e),Nu={class:"container"},Lu={class:"input-box"},Fu=ar(()=>h("label",{for:"row-number"},"Row",-1)),Hu=["max"],ju=ar(()=>h("label",{for:"column-number"},"Column",-1)),Uu=["max"],Du={class:"table-box"},Bu={class:"row"},Vu=oe({__name:"index",setup(e){const t=K([[{content:1,colored:!1},{content:2,colored:!1},{content:3,colored:!1}],[{content:4,colored:!1},{content:5,colored:!1},{content:6,colored:!1}],[{content:7,colored:!1},{content:8,colored:!1},{content:9,colored:!1}]]),n=K(1),s=K(1);function i(){const a=n.value-1,l=s.value-1;t.value[a][l].colored=!0}function o(){const a=n.value-1,l=s.value-1;t.value[a][l].colored=!1}function r(){for(const a of t.value)for(const l of a)l.colored=!1}return(a,l)=>(O(),F("main",null,[h("div",Nu,[h("div",Lu,[h("div",null,[Fu,de(h("input",{id:"row-number",type:"number",inputmode:"numeric",min:"0",max:t.value.length,"onUpdate:modelValue":l[0]||(l[0]=u=>n.value=u)},null,8,Hu),[[Te,n.value]])]),h("div",null,[ju,de(h("input",{id:"column-number",type:"number",inputmode:"numeric",min:"0",max:t.value[0].length,"onUpdate:modelValue":l[1]||(l[1]=u=>s.value=u)},null,8,Uu),[[Te,s.value]])])]),h("div",{class:"button-box"},[h("button",{type:"button",onClick:i},"Color selected cell"),h("button",{type:"button",onClick:o},"Clear selected cell"),h("button",{type:"button",onClick:r},"Clear all cells")]),h("div",Du,[(O(!0),F(pe,null,Kt(t.value,u=>(O(),F("div",Bu,[(O(!0),F(pe,null,Kt(u,c=>(O(),F("div",{class:nt([c.colored?"colored":"","cell"])},ie(c.content),3))),256))]))),256))])])]))}}),Ku=ce(Vu,[["__scopeId","data-v-3f23bc99"]]),zu=e=>(Se("data-v-f7ffadb8"),e=e(),Re(),e),qu={class:"container"},Wu=zu(()=>h("thead",null,[h("tr",null,[h("th",null,"ID"),h("th",null,"Name")])],-1)),Gu={class:"button-box"},Ju=["disabled"],Yu=["disabled"],kt=5,Qu=oe({__name:"index",setup(e){const t=K([]);for(let l=1;l<=30;l++)t.value.push({id:l,name:"Item "+l});const n=re(()=>t.value.length),s=K(0),i=K(s.value+kt),o=re(()=>t.value.slice(s.value,i.value));function r(){s.value=Math.max(0,s.value-kt),i.value=s.value+kt}function a(){i.value=Math.min(n.value,i.value+kt),s.value=i.value-kt}return(l,u)=>(O(),F("main",null,[h("div",qu,[h("table",null,[Wu,h("tbody",null,[(O(!0),F(pe,null,Kt(o.value,c=>(O(),F("tr",null,[h("td",null,ie(c.id),1),h("td",null,ie(c.name),1)]))),256))])]),h("div",Gu,[h("button",{type:"button",disabled:s.value===0,onClick:r},"Prev",8,Ju),h("button",{type:"button",disabled:i.value===n.value,onClick:a},"Next",8,Yu)]),h("div",null,[h("p",null,"Showing data from "+ie(s.value)+" to "+ie(i.value),1),h("p",null,"Total: "+ie(n.value),1),h("p",null,"Pages: "+ie(n.value/kt),1),h("p",null,"Rows per page: "+ie(kt))])])]))}}),Xu=ce(Qu,[["__scopeId","data-v-f7ffadb8"]]),Zu={class:"accordion"},ef={key:0,class:"panel"},tf=oe({__name:"Accordion",props:{heading:{type:String,required:!0},content:{type:String,required:!0},modelValue:{type:Boolean,default:!1}},emits:["update:model-value"],setup(e,{emit:t}){const n=e,s=t,i=()=>{s("update:model-value",!n.modelValue)};return(o,r)=>(O(),F("div",Zu,[h("button",{type:"button",onClick:i},ie(e.heading),1),e.modelValue?(O(),F("div",ef,ie(e.content),1)):et("",!0)]))}}),nf=ce(tf,[["__scopeId","data-v-d917595f"]]),sf={class:"container"},of=oe({__name:"AccordionGroup",props:{data:{type:Array,required:!0},allowMultipleOpen:{type:Boolean,default:!0}},setup(e){const t=e,n=kn(Array(t.data.length).fill(!1)),s=K(null);function i(o,r){!t.allowMultipleOpen&&s.value!==null&&(n[s.value]=!1),s.value=r,n[r]=o}return ht(t,o=>{o.allowMultipleOpen||(n.fill(!1),s.value&&(n[s.value]=!0))}),(o,r)=>(O(),F("div",sf,[(O(!0),F(pe,null,Kt(e.data,(a,l)=>(O(),qs(nf,{heading:a.heading,content:a.content,modelValue:n[l],"onUpdate:modelValue":[u=>n[l]=u,u=>i(u,l)]},null,8,["heading","content","modelValue","onUpdate:modelValue"]))),256))]))}}),rf=ce(of,[["__scopeId","data-v-33bc9952"]]),lf=[{heading:"Lorem Ipsum 1",content:"Lorem ipsum dolor sit amet consectetur adipisicing elit. Soluta eligendi incidunt itaque dolor quis facere, vel animi laboriosam provident ipsum totam tenetur nisi iste asperiores ipsa, officia a tempora distinctio?"},{heading:"Lorem Ipsum 2",content:"Lorem ipsum dolor sit amet consectetur adipisicing elit. Dolor autem voluptates quae quaerat perferendis sed velit voluptatibus delectus repudiandae. Laborum nemo et repellat vero. Ut asperiores autem officiis molestiae qui, omnis eveniet repellat alias animi cupiditate itaque. Officiis eos nobis earum nam architecto amet alias officia, at consequatur nostrum ea voluptatum ipsam quod minus magnam vitae dicta magni veritatis sint!"},{heading:"Lorem Ipsum 3",content:"Lorem ipsum dolor sit amet consectetur adipisicing elit. Dolor autem voluptates quae quaerat perferendis sed velit voluptatibus delectus repudiandae. Laborum nemo et repellat vero. Ut asperiores autem officiis molestiae qui, omnis eveniet repellat alias animi cupiditate itaque. Officiis eos nobis earum!"},{heading:"Lorem Ipsum 4",content:"Lorem ipsum dolor sit amet consectetur adipisicing elit. Enim assumenda corporis soluta adipisci eius esse recusandae nulla est possimus earum obcaecati exercitationem cum, vel veniam, saepe debitis porro, necessitatibus deserunt. Cumque possimus aspernatur in architecto cum tenetur ea laboriosam, amet sit. Dolore laborum totam soluta quo numquam repellat obcaecati explicabo esse recusandae quibusdam nihil, ratione eaque, error adipisci amet nisi ullam. Dolore provident quas, ratione aut perspiciatis fugiat facilis ex recusandae asperiores porro suscipit et dicta, pariatur minus ab corrupti! Optio pariatur libero modi dolor quaerat eius officia vel, vero assumenda, minima eveniet aspernatur, maiores id mollitia itaque animi fugiat!"}],af=e=>(Se("data-v-a7dda4e5"),e=e(),Re(),e),cf={class:"checkbox"},uf=af(()=>h("label",{for:"allow-multiple-open"},"Allow multiple open accordion",-1)),ff=oe({__name:"index",setup(e){const t=K(!0);return(n,s)=>(O(),F("main",null,[h("div",cf,[de(h("input",{id:"allow-multiple-open",type:"checkbox","onUpdate:modelValue":s[0]||(s[0]=i=>t.value=i)},null,512),[[Yo,t.value]]),uf]),he(rf,{data:se(lf),allowMultipleOpen:t.value},null,8,["data","allowMultipleOpen"])]))}}),df=ce(ff,[["__scopeId","data-v-a7dda4e5"]]);var Fn=(e=>(e.LEFT="left",e.RIGHT="right",e))(Fn||{}),Hn=(e=>(e.TOP="top",e.BOTTOM="bottom",e))(Hn||{}),xt=(e=>(e.INFO="info",e.ERROR="error",e.WARNING="warning",e.SUCCESS="success",e))(xt||{});const pf=e=>(Se("data-v-08953fd9"),e=e(),Re(),e),hf=pf(()=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor"},[h("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M6 18L18 6M6 6l12 12"})],-1)),mf=[hf],gf=oe({__name:"toast",props:{vertical:{type:String,required:!0},horizontal:{type:String,required:!0},message:{type:String,required:!0},timeout:{type:Number,default:5e3},type:{type:String,default:xt.INFO},modelValue:{type:Boolean,default:!1}},emits:["update:model-value"],setup(e,{emit:t}){const n=e,s=t,i=Xr(n,"modelValue"),o=K(null),r=()=>{o.value!==null&&(clearTimeout(o.value),o.value=null),s("update:model-value",!1)};return ht(i,a=>{a&&(o.value=setTimeout(r,n.timeout))}),(a,l)=>(O(),F("div",{class:nt(["toast-fixed-screen",e.vertical])},[h("div",{class:nt(["toast-container",e.horizontal])},[de(h("div",{class:nt(["toast",e.type])},[h("p",null,ie(e.message),1),h("button",{type:"button",onClick:r},mf)],2),[[Jo,i.value]])],2)],2))}}),vf=ce(gf,[["__scopeId","data-v-08953fd9"]]),en=e=>(Se("data-v-a768b1a7"),e=e(),Re(),e),_f={class:"container"},yf={class:"field"},bf=en(()=>h("label",{for:"horizontal"},"Horizontal position",-1)),kf=["value"],wf=["value"],Ef={class:"field"},xf=en(()=>h("label",{for:"vertical"},"Vertical position",-1)),Cf=["value"],Mf=["value"],Sf={class:"field"},Rf=en(()=>h("label",{for:"type"},"Toast type",-1)),Pf=["value"],Tf=["value"],Af=["value"],If=["value"],Of={class:"field"},$f=en(()=>h("label",{for:"message"},"Message",-1)),Nf={class:"field"},Lf=en(()=>h("label",{for:"timeout"},"Toast timeout (in milliseconds)",-1)),Ff=en(()=>h("button",{class:"submit"},"Show toast",-1)),Hf=oe({__name:"index",setup(e){const t=K(Hn.BOTTOM),n=K(Fn.RIGHT),s=K(xt.INFO),i=K("This is a toast!!"),o=K(!1),r=K(5e3),a=l=>{l.preventDefault(),o.value=!0};return(l,u)=>(O(),F("main",null,[h("div",_f,[h("form",{class:"toast-form",onSubmit:a},[h("div",yf,[bf,de(h("select",{name:"horizontal",id:"horizontal","onUpdate:modelValue":u[0]||(u[0]=c=>n.value=c)},[h("option",{value:se(Fn).LEFT},"Left",8,kf),h("option",{value:se(Fn).RIGHT},"Right",8,wf)],512),[[fn,n.value]])]),h("div",Ef,[xf,de(h("select",{name:"vertical",id:"vertical","onUpdate:modelValue":u[1]||(u[1]=c=>t.value=c)},[h("option",{value:se(Hn).TOP},"Top",8,Cf),h("option",{value:se(Hn).BOTTOM},"Bottom",8,Mf)],512),[[fn,t.value]])]),h("div",Sf,[Rf,de(h("select",{name:"type",id:"type","onUpdate:modelValue":u[2]||(u[2]=c=>s.value=c)},[h("option",{value:se(xt).INFO},"Info",8,Pf),h("option",{value:se(xt).SUCCESS},"Success",8,Tf),h("option",{value:se(xt).ERROR},"Error",8,Af),h("option",{value:se(xt).WARNING},"Warning",8,If)],512),[[fn,s.value]])]),h("div",Of,[$f,de(h("input",{type:"text",name:"message",id:"message","onUpdate:modelValue":u[3]||(u[3]=c=>i.value=c),maxlength:"40"},null,512),[[Te,i.value]])]),h("div",Nf,[Lf,de(h("input",{type:"number",inputmode:"numeric",name:"timeout",id:"timeout",max:"30000","onUpdate:modelValue":u[4]||(u[4]=c=>r.value=c)},null,512),[[Te,r.value]])]),Ff],32),he(vf,{modelValue:o.value,"onUpdate:modelValue":u[5]||(u[5]=c=>o.value=c),type:s.value,timeout:r.value,horizontal:n.value,vertical:t.value,message:i.value},null,8,["modelValue","type","timeout","horizontal","vertical","message"])])]))}}),jf=ce(Hf,[["__scopeId","data-v-a768b1a7"]]),Ae=e=>(Se("data-v-50714ff9"),e=e(),Re(),e),Uf={class:"app"},Df=["type"],Bf=Ae(()=>h("label",{for:"showPassword",style:{"margin-left":"5px"}},"Show Password",-1)),Vf={key:0},Kf=Ae(()=>h("p",{class:"passStrengthText"},"Very weak",-1)),zf=Ae(()=>h("div",{style:{width:"50px",border:"1px solid red"}},null,-1)),qf=[Kf,zf],Wf={key:1},Gf=Ae(()=>h("p",{class:"passStrengthText"},"Weak",-1)),Jf=Ae(()=>h("div",{style:{width:"100px",border:"1px solid red"}},null,-1)),Yf=[Gf,Jf],Qf={key:2},Xf=Ae(()=>h("p",{class:"passStrengthText"},"Medium",-1)),Zf=Ae(()=>h("div",{style:{width:"150px",border:"1px solid orange"}},null,-1)),ed=[Xf,Zf],td={key:3},nd=Ae(()=>h("p",{class:"passStrengthText"},"Good",-1)),sd=Ae(()=>h("div",{style:{width:"200px",border:"1px solid blue"}},null,-1)),id=[nd,sd],od={key:4},rd=Ae(()=>h("p",{class:"passStrengthText"},"Strong",-1)),ld=Ae(()=>h("div",{style:{width:"250px",border:"1px solid green"}},null,-1)),ad=[rd,ld],cd=Ae(()=>h("h3",{class:"font-size-16 text-left"},"Create a password that:",-1)),ud={key:0,class:"checkMarkIcon"},fd={key:1,class:"crossMarkIcon"},dd={key:0,class:"checkMarkIcon"},pd={key:1,class:"crossMarkIcon"},hd={key:0,class:"checkMarkIcon"},md={key:1,class:"crossMarkIcon"},gd={key:0,class:"checkMarkIcon"},vd={key:1,class:"crossMarkIcon"},_d={key:0,class:"checkMarkIcon"},yd={key:1,class:"crossMarkIcon"},bd=oe({__name:"index",setup(e){const t=K(""),n=K(!1),s=re(()=>t.value.length),i=re(()=>{let c=0;return s.value>=4&&c++,t.value.match(/[a-z]/)&&t.value.match(/[A-Z]/)&&c++,t.value.match(/\d+/)&&c++,t.value.match(/.[!,@,#,$,%,^,&,*,?,_,~,-,(,)]/)&&c++,s.value>=8&&c++,s.value>=12&&c++,c}),o=re(()=>{let c=!1;return s.value>=8&&(c=!0),c}),r=re(()=>{let c=!1;return t.value.match(/[a-z]+/)!=null&&(c=!0),c}),a=re(()=>{let c=!1;return t.value.match(/[A-Z]+/)!=null&&(c=!0),c}),l=re(()=>{let c=!1;return t.value.match(/[0-9]+/)!=null&&(c=!0),c}),u=re(()=>{let c=!1;return t.value.match(/.[!,@,#,$,%,^,&,*,?,_,~,-,(,)]/)&&(c=!0),c});return(c,p)=>(O(),F("div",Uf,[h("form",null,[de(h("input",{id:"input","onUpdate:modelValue":p[0]||(p[0]=v=>t.value=v),type:n.value?"text":"password",placeholder:"Enter the password",style:{width:"100%"}},null,8,Df),[[Ra,t.value]]),h("div",null,[h("input",{type:"checkbox",id:"showPassword",onClick:p[1]||(p[1]=v=>n.value=!n.value)}),Bf])]),de(h("div",null,[i.value<=1?(O(),F("div",Vf,qf)):i.value==2?(O(),F("div",Wf,Yf)):i.value==3?(O(),F("div",Qf,ed)):i.value==4?(O(),F("div",td,id)):(O(),F("div",od,ad)),cd,h("ul",{class:"text-left",style:Ze([s.value?{"padding-inline-start":"0px !important"}:{"padding-inline-start":"22px !important"}])},[h("li",{style:Ze([s.value?{"list-style-type":"none"}:""])},[h("div",null,[o.value?(O(),F("span",ud,"✓")):o.value==!1?(O(),F("span",fd,"×")):et("",!0),xe(" contains at least 8 characters ")])],4),h("li",{style:Ze([s.value?{"list-style-type":"none"}:""])},[h("div",null,[r.value?(O(),F("span",dd,"✓")):r.value==!1?(O(),F("span",pd,"×")):et("",!0),xe(" contains at least one lowercase letter (a-z) ")])],4),h("li",{style:Ze([s.value?{"list-style-type":"none"}:""])},[h("div",null,[a.value?(O(),F("span",hd,"✓")):a.value==!1?(O(),F("span",md,"×")):et("",!0),xe(" contains at least one uppercase letter (A-Z) ")])],4),h("li",{style:Ze([s.value?{"list-style-type":"none"}:""])},[h("div",null,[l.value?(O(),F("span",gd,"✓")):l.value==!1?(O(),F("span",vd,"×")):et("",!0),xe(" contains at least one number (0-9) ")])],4),h("li",{style:Ze([s.value?{"list-style-type":"none"}:""])},[h("div",null,[u.value?(O(),F("span",_d,"✓")):u.value==!1?(O(),F("span",yd,"×")):et("",!0),xe(" contains at least one number symbol (!,@,#,$,%,^,&,*,?,_,~,-,(,)) ")])],4)],4)],512),[[Jo,t.value!==""]])]))}}),kd=ce(bd,[["__scopeId","data-v-50714ff9"]]),wd=e=>(Se("data-v-2e98431e"),e=e(),Re(),e),Ed={class:"app"},xd=wd(()=>h("hr",null,null,-1)),Cd={class:"text-center"},Md={class:"text-center"},Sd=oe({__name:"index",setup(e){const t=K([]),n=K(""),s=K("");function i(){t.value.length==5?s.value="Stack is full":n.value?(t.value.push(n.value),s.value=`${n.value} is pushed into the Stack`,n.value=""):s.value="Please enter value first"}function o(){t.value.length?(s.value=`${t.value.at(-1)} is popped from the Stack`,t.value.pop()):s.value="Stack is empty"}function r(){t.value.length?s.value=`Last element is ${t.value.at(-1)}`:s.value="Stack is empty"}function a(){t.value.length?s.value="Stack is not empty":s.value="Stack is empty"}function l(){t.value.length==5?s.value="Stack is full":s.value="Stack is not full"}function u(){t.value=[],s.value="Your stack is clear"}return(c,p)=>(O(),F("div",Ed,[h("div",null,[de(h("input",{"onUpdate:modelValue":p[0]||(p[0]=v=>n.value=v),placeholder:"Enter the value",style:{width:"100%"}},null,512),[[Te,n.value]]),h("div",{class:"action-buttons"},[h("button",{onClick:i},"Push"),h("button",{onClick:o},"Pop"),h("button",{onClick:r},"Peek"),h("button",{onClick:a},"IsEmpty"),h("button",{onClick:l},"IsFull"),h("button",{onClick:u},"Clear All")])]),xd,h("h4",Cd,ie(s.value),1),h("ul",Md,[(O(!0),F(pe,null,Kt(t.value,(v,k)=>(O(),F("li",{key:k},ie(v),1))),128))])]))}}),Rd=ce(Sd,[["__scopeId","data-v-2e98431e"]]),Pd={class:"app"},Td={class:"button-group"},Ad=oe({__name:"index",setup(e){const t=K(""),n={uppers:"QWERTYUIOPASDFGHJKLZXCVBNM",lowers:"qwertyuiopasdfghjklzxcvbnm",numbers:"1234567890",symbols:"!@#$%^&"},s=(o=8)=>{let r="";r+=i(n.uppers),r+=i(n.lowers),r+=i(n.numbers),r+=i(n.symbols);for(let a=r.length;ao.charAt(Math.floor(Math.random()*o.length));return(o,r)=>(O(),F("div",Pd,[h("form",null,[de(h("input",{id:"input","onUpdate:modelValue":r[0]||(r[0]=a=>t.value=a),style:{width:"100%"}},null,512),[[Te,t.value]]),h("div",Td,[h("button",{onClick:r[1]||(r[1]=Ln(a=>s(8),["prevent"]))},"Generate 08 characters password"),h("button",{onClick:r[2]||(r[2]=Ln(a=>s(10),["prevent"]))},"Generate 10 characters password"),h("button",{onClick:r[3]||(r[3]=Ln(a=>s(16),["prevent"]))},"Generate 16 characters password")])])]))}}),Id=ce(Ad,[["__scopeId","data-v-1ca79b9f"]]),Od={class:"stopwatch"},$d={class:"timer"},Nd={class:"flex-center"},Ld=["disabled"],Fd=["disabled"],Hd=["disabled"],jd=oe({__name:"index",setup(e){const t=K({hour:0,min:0,sec:0}),n=K(0),s=()=>{let{hour:l=0,min:u=0,sec:c=0}={...t.value};c<59?c=c+1:(u=u+1,c=0),u===60&&(u=0,l=l+1),t.value={min:u,hour:l,sec:c}},i=()=>{n.value||(n.value=setInterval(s,1e3))},o=()=>{n.value&&(clearInterval(n.value),n.value=0)},r=()=>{clearInterval(n.value),n.value=0,t.value={hour:0,min:0,sec:0}},a=re(()=>{if(!n)return!0;const{hour:l=0,min:u=0,sec:c=0}=t.value;return!(l>0||u>0||c>0)});return(l,u)=>(O(),F("div",Od,[h("div",$d,[h("span",null,ie(t.value.hour.toString().padStart(2,"0")),1),xe(" :  "),h("span",null,ie(t.value.min.toString().padStart(2,"0")),1),xe("  :  "),h("span",null,ie(t.value.sec.toString().padStart(2,"0")),1)]),h("div",Nd,[h("button",{onClick:i,disabled:!!n.value},"Start",8,Ld),h("button",{onClick:o,disabled:!n.value},"Stop",8,Fd),h("button",{onClick:r,disabled:a.value},"Reset",8,Hd)])]))}}),Ud=ce(jd,[["__scopeId","data-v-2997fb40"]]),cr=e=>(Se("data-v-90b1aadf"),e=e(),Re(),e),Dd={class:"app"},Bd={class:"input-tags"},Vd=cr(()=>h("option",{value:"celsius"},"Celsius",-1)),Kd=cr(()=>h("option",{value:"fahrenheit"},"Fahrenheit",-1)),zd=[Vd,Kd],qd={key:0,class:"text-center"},Wd=oe({__name:"index",setup(e){const t=K("celsius"),n=K(0),s=K(null);function i(){t.value==="celsius"?s.value=(n.value*9/5+32).toFixed(3):s.value=((n.value-32)*5/9).toFixed(3)}function o(){s.value!==null&&(s.value=null)}return(r,a)=>(O(),F("div",Dd,[h("div",null,[h("div",Bd,[de(h("input",{"onUpdate:modelValue":a[0]||(a[0]=l=>n.value=l),placeholder:"Enter the value",type:"number"},null,512),[[Te,n.value,void 0,{number:!0}]]),de(h("select",{"onUpdate:modelValue":a[1]||(a[1]=l=>t.value=l),class:"selected-value",onChange:o},zd,544),[[fn,t.value]]),h("button",{onClick:Ln(i,["prevent"])},"Convert")])]),s.value!==null?(O(),F("h4",qd," Converted Temperature:"+ie(s.value)+ie(t.value=="celsius"?"°C":"°F"),1)):et("",!0)]))}}),Gd=ce(Wd,[["__scopeId","data-v-90b1aadf"]]);function Tn(e,t){return e.every(n=>n===t)}function Jd(e,t,{row:n,col:s,diagonal:i,reverseDiagonal:o}){if(!t)return new Set;const r=new Set;return n!==!1&&e.forEach((a,l)=>{r.add(n*e.length+l)}),s!==!1&&e.forEach((a,l)=>{r.add(l*e.length+s)}),i&&e.map((a,l)=>a[l]).forEach((a,l)=>{r.add(l*e.length+l)}),o&&e.map((a,l)=>a[e.length-1-l]).forEach((a,l)=>{r.add(l*e.length+e.length-1-l)}),r}function Yd(e,t){const n=e[t.row][t.col],s=Tn(e[t.row],n),i=Tn(e.map(u=>u[t.col]),n),o=t.row===t.col&&Tn(e.map((u,c)=>u[c]),n),r=t.row+t.col===e.length-1&&Tn(e.map((u,c)=>u[e.length-1-c]),n),a=s||i||o||r,l=Jd(e,a,{row:s&&t.row,col:i&&t.col,diagonal:o,reverseDiagonal:r});return{winner:a&&n,winningPositions:l}}const Qd={class:"grid-container"},Xd=["onClick"],Zd={key:0,class:"winner"},ep={key:1,class:"winner"},ct=3,tp=oe({__name:"index",setup(e){let t=0;const n=ct*ct,s=["X","O"];let i=0;const o=K(Array.from(Array(ct),()=>new Array(ct).fill(null)));let r;function a(){return(t+1)%s.length}function l(c){const p=Math.floor(c/ct),v=c%ct;o.value[p][v]||r!=null&&r.winner||i===n||(o.value[p][v]=s[t],r=Yd(o.value,{row:p,col:v}),!r.winner&&(i+=1,t=a()))}function u(){o.value=Array.from(Array(ct),()=>new Array(ct).fill(null)),t=0,i=0,r=null}return(c,p)=>{var v;return O(),F(pe,null,[h("div",Qd,[(O(!0),F(pe,null,Kt(o.value.flat(),(k,P)=>{var A,D;return O(),F("button",{class:nt(["grid-item",{inactive:k||((A=se(r))==null?void 0:A.winner),highlight:(D=se(r))==null?void 0:D.winningPositions.has(P)}]),key:P,onClick:L=>l(P)},ie(k),11,Xd)}),128))]),h("button",{onClick:p[0]||(p[0]=k=>u()),class:"reset"},"Reset"),(v=se(r))!=null&&v.winner?(O(),F("p",Zd,ie(s[se(t)])+" wins!",1)):se(i)===n?(O(),F("p",ep,"It's a draw!")):et("",!0)],64)}}}),np=ce(tp,[["__scopeId","data-v-1bdda8e8"]]),sp=[{path:"/",component:ou,children:[{path:"/counter",component:uu},{path:"/telephone-formatter",component:mu},{path:"/guess-the-number",component:Ru},{path:"/light-dark-mode",component:$u},{path:"/table-colorizer",component:Ku},{path:"/pagination",component:Xu},{path:"/accordion",component:df},{path:"/toast-popup",component:jf},{path:"/password-strength",component:kd},{path:"/stack",component:Rd},{path:"/password-generator",component:Id},{path:"/stopwatch",component:Ud},{path:"/temprature-converter",component:Gd},{path:"/tic-tac-toe",component:np}]}],ip=Fc({history:ec(),routes:sp}),ur=$a(Uc);ur.use(ip);ur.mount("#app"); + */const Ft=typeof window<"u";function La(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const Q=Object.assign;function ps(e,t){const n={};for(const s in t){const i=t[s];n[s]=je(i)?i.map(e):e(i)}return n}const dn=()=>{},je=Array.isArray,Fa=/\/$/,Ha=e=>e.replace(Fa,"");function hs(e,t,n="/"){let s,i={},o="",r="";const a=t.indexOf("#");let l=t.indexOf("?");return a=0&&(l=-1),l>-1&&(s=t.slice(0,l),o=t.slice(l+1,a>-1?a:t.length),i=e(o)),a>-1&&(s=s||t.slice(0,a),r=t.slice(a,t.length)),s=Ba(s??t,n),{fullPath:s+(o&&"?")+o+r,path:s,query:i,hash:r}}function ja(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Fi(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function Ua(e,t,n){const s=t.matched.length-1,i=n.matched.length-1;return s>-1&&s===i&&Gt(t.matched[s],n.matched[i])&&Xo(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Gt(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Xo(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!Da(e[n],t[n]))return!1;return!0}function Da(e,t){return je(e)?Hi(e,t):je(t)?Hi(t,e):e===t}function Hi(e,t){return je(t)?e.length===t.length&&e.every((n,s)=>n===t[s]):e.length===1&&e[0]===t}function Ba(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),s=e.split("/"),i=s[s.length-1];(i===".."||i===".")&&s.push("");let o=n.length-1,r,a;for(r=0;r1&&o--;else break;return n.slice(0,o).join("/")+"/"+s.slice(r-(r===s.length?1:0)).join("/")}var yn;(function(e){e.pop="pop",e.push="push"})(yn||(yn={}));var pn;(function(e){e.back="back",e.forward="forward",e.unknown=""})(pn||(pn={}));function Va(e){if(!e)if(Ft){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),Ha(e)}const Ka=/^[^#]+#/;function za(e,t){return e.replace(Ka,"#")+t}function qa(e,t){const n=document.documentElement.getBoundingClientRect(),s=e.getBoundingClientRect();return{behavior:t.behavior,left:s.left-n.left-(t.left||0),top:s.top-n.top-(t.top||0)}}const is=()=>({left:window.pageXOffset,top:window.pageYOffset});function Wa(e){let t;if("el"in e){const n=e.el,s=typeof n=="string"&&n.startsWith("#"),i=typeof n=="string"?s?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!i)return;t=qa(i,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.pageXOffset,t.top!=null?t.top:window.pageYOffset)}function ji(e,t){return(history.state?history.state.position-t:-1)+e}const Rs=new Map;function Ga(e,t){Rs.set(e,t)}function Ja(e){const t=Rs.get(e);return Rs.delete(e),t}let Ya=()=>location.protocol+"//"+location.host;function Zo(e,t){const{pathname:n,search:s,hash:i}=t,o=e.indexOf("#");if(o>-1){let a=i.includes(e.slice(o))?e.slice(o).length:1,l=i.slice(a);return l[0]!=="/"&&(l="/"+l),Fi(l,"")}return Fi(n,e)+s+i}function Qa(e,t,n,s){let i=[],o=[],r=null;const a=({state:v})=>{const k=Zo(e,location),P=n.value,A=t.value;let D=0;if(v){if(n.value=k,t.value=v,r&&r===P){r=null;return}D=A?v.position-A.position:0}else s(k);i.forEach(L=>{L(n.value,P,{delta:D,type:yn.pop,direction:D?D>0?pn.forward:pn.back:pn.unknown})})};function l(){r=n.value}function u(v){i.push(v);const k=()=>{const P=i.indexOf(v);P>-1&&i.splice(P,1)};return o.push(k),k}function c(){const{history:v}=window;v.state&&v.replaceState(Q({},v.state,{scroll:is()}),"")}function p(){for(const v of o)v();o=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",c)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",c,{passive:!0}),{pauseListeners:l,listen:u,destroy:p}}function Ui(e,t,n,s=!1,i=!1){return{back:e,current:t,forward:n,replaced:s,position:window.history.length,scroll:i?is():null}}function Xa(e){const{history:t,location:n}=window,s={value:Zo(e,n)},i={value:t.state};i.value||o(s.value,{back:null,current:s.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function o(l,u,c){const p=e.indexOf("#"),v=p>-1?(n.host&&document.querySelector("base")?e:e.slice(p))+l:Ya()+e+l;try{t[c?"replaceState":"pushState"](u,"",v),i.value=u}catch(k){console.error(k),n[c?"replace":"assign"](v)}}function r(l,u){const c=Q({},t.state,Ui(i.value.back,l,i.value.forward,!0),u,{position:i.value.position});o(l,c,!0),s.value=l}function a(l,u){const c=Q({},i.value,t.state,{forward:l,scroll:is()});o(c.current,c,!0);const p=Q({},Ui(s.value,l,null),{position:c.position+1},u);o(l,p,!1),s.value=l}return{location:s,state:i,push:a,replace:r}}function Za(e){e=Va(e);const t=Xa(e),n=Qa(e,t.state,t.location,t.replace);function s(o,r=!0){r||n.pauseListeners(),history.go(o)}const i=Q({location:"",base:e,go:s,createHref:za.bind(null,e)},t,n);return Object.defineProperty(i,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(i,"state",{enumerable:!0,get:()=>t.state.value}),i}function ec(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),Za(e)}function tc(e){return typeof e=="string"||e&&typeof e=="object"}function er(e){return typeof e=="string"||typeof e=="symbol"}const at={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},tr=Symbol("");var Di;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(Di||(Di={}));function Jt(e,t){return Q(new Error,{type:e,[tr]:!0},t)}function Qe(e,t){return e instanceof Error&&tr in e&&(t==null||!!(e.type&t))}const Bi="[^/]+?",nc={sensitive:!1,strict:!1,start:!0,end:!0},sc=/[.+*?^${}()[\]/\\]/g;function ic(e,t){const n=Q({},nc,t),s=[];let i=n.start?"^":"";const o=[];for(const u of e){const c=u.length?[]:[90];n.strict&&!u.length&&(i+="/");for(let p=0;pt.length?t.length===1&&t[0]===40+40?1:-1:0}function rc(e,t){let n=0;const s=e.score,i=t.score;for(;n0&&t[t.length-1]<0}const lc={type:0,value:""},ac=/[a-zA-Z0-9_]/;function cc(e){if(!e)return[[]];if(e==="/")return[[lc]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(k){throw new Error(`ERR (${n})/"${u}": ${k}`)}let n=0,s=n;const i=[];let o;function r(){o&&i.push(o),o=[]}let a=0,l,u="",c="";function p(){u&&(n===0?o.push({type:0,value:u}):n===1||n===2||n===3?(o.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${u}) must be alone in its segment. eg: '/:ids+.`),o.push({type:1,value:u,regexp:c,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),u="")}function v(){u+=l}for(;a{r(j)}:dn}function r(c){if(er(c)){const p=s.get(c);p&&(s.delete(c),n.splice(n.indexOf(p),1),p.children.forEach(r),p.alias.forEach(r))}else{const p=n.indexOf(c);p>-1&&(n.splice(p,1),c.record.name&&s.delete(c.record.name),c.children.forEach(r),c.alias.forEach(r))}}function a(){return n}function l(c){let p=0;for(;p=0&&(c.record.path!==n[p].record.path||!nr(c,n[p]));)p++;n.splice(p,0,c),c.record.name&&!zi(c)&&s.set(c.record.name,c)}function u(c,p){let v,k={},P,A;if("name"in c&&c.name){if(v=s.get(c.name),!v)throw Jt(1,{location:c});A=v.record.name,k=Q(Ki(p.params,v.keys.filter(j=>!j.optional).map(j=>j.name)),c.params&&Ki(c.params,v.keys.map(j=>j.name))),P=v.stringify(k)}else if("path"in c)P=c.path,v=n.find(j=>j.re.test(P)),v&&(k=v.parse(P),A=v.record.name);else{if(v=p.name?s.get(p.name):n.find(j=>j.re.test(p.path)),!v)throw Jt(1,{location:c,currentLocation:p});A=v.record.name,k=Q({},p.params,c.params),P=v.stringify(k)}const D=[];let L=v;for(;L;)D.unshift(L.record),L=L.parent;return{name:A,path:P,params:k,matched:D,meta:hc(D)}}return e.forEach(c=>o(c)),{addRoute:o,resolve:u,removeRoute:r,getRoutes:a,getRecordMatcher:i}}function Ki(e,t){const n={};for(const s of t)s in e&&(n[s]=e[s]);return n}function dc(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:pc(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function pc(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const s in e.components)t[s]=typeof n=="object"?n[s]:n;return t}function zi(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function hc(e){return e.reduce((t,n)=>Q(t,n.meta),{})}function qi(e,t){const n={};for(const s in e)n[s]=s in t?t[s]:e[s];return n}function nr(e,t){return t.children.some(n=>n===e||nr(e,n))}const sr=/#/g,mc=/&/g,gc=/\//g,vc=/=/g,_c=/\?/g,ir=/\+/g,yc=/%5B/g,bc=/%5D/g,or=/%5E/g,kc=/%60/g,rr=/%7B/g,wc=/%7C/g,lr=/%7D/g,Ec=/%20/g;function Ys(e){return encodeURI(""+e).replace(wc,"|").replace(yc,"[").replace(bc,"]")}function xc(e){return Ys(e).replace(rr,"{").replace(lr,"}").replace(or,"^")}function Ps(e){return Ys(e).replace(ir,"%2B").replace(Ec,"+").replace(sr,"%23").replace(mc,"%26").replace(kc,"`").replace(rr,"{").replace(lr,"}").replace(or,"^")}function Cc(e){return Ps(e).replace(vc,"%3D")}function Sc(e){return Ys(e).replace(sr,"%23").replace(_c,"%3F")}function Mc(e){return e==null?"":Sc(e).replace(gc,"%2F")}function Wn(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function Rc(e){const t={};if(e===""||e==="?")return t;const s=(e[0]==="?"?e.slice(1):e).split("&");for(let i=0;io&&Ps(o)):[s&&Ps(s)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+n,o!=null&&(t+="="+o))})}return t}function Pc(e){const t={};for(const n in e){const s=e[n];s!==void 0&&(t[n]=je(s)?s.map(i=>i==null?null:""+i):s==null?s:""+s)}return t}const Tc=Symbol(""),Gi=Symbol(""),Qs=Symbol(""),Xs=Symbol(""),Ts=Symbol("");function rn(){let e=[];function t(s){return e.push(s),()=>{const i=e.indexOf(s);i>-1&&e.splice(i,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function ft(e,t,n,s,i){const o=s&&(s.enterCallbacks[i]=s.enterCallbacks[i]||[]);return()=>new Promise((r,a)=>{const l=p=>{p===!1?a(Jt(4,{from:n,to:t})):p instanceof Error?a(p):tc(p)?a(Jt(2,{from:t,to:p})):(o&&s.enterCallbacks[i]===o&&typeof p=="function"&&o.push(p),r())},u=e.call(s&&s.instances[i],t,n,l);let c=Promise.resolve(u);e.length<3&&(c=c.then(l)),c.catch(p=>a(p))})}function ms(e,t,n,s){const i=[];for(const o of e)for(const r in o.components){let a=o.components[r];if(!(t!=="beforeRouteEnter"&&!o.instances[r]))if(Ac(a)){const u=(a.__vccOpts||a)[t];u&&i.push(ft(u,n,s,o,r))}else{let l=a();i.push(()=>l.then(u=>{if(!u)return Promise.reject(new Error(`Couldn't resolve component "${r}" at "${o.path}"`));const c=La(u)?u.default:u;o.components[r]=c;const v=(c.__vccOpts||c)[t];return v&&ft(v,n,s,o,r)()}))}}return i}function Ac(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Ji(e){const t=Je(Qs),n=Je(Xs),s=re(()=>t.resolve(se(e.to))),i=re(()=>{const{matched:l}=s.value,{length:u}=l,c=l[u-1],p=n.matched;if(!c||!p.length)return-1;const v=p.findIndex(Gt.bind(null,c));if(v>-1)return v;const k=Yi(l[u-2]);return u>1&&Yi(c)===k&&p[p.length-1].path!==k?p.findIndex(Gt.bind(null,l[u-2])):v}),o=re(()=>i.value>-1&&Nc(n.params,s.value.params)),r=re(()=>i.value>-1&&i.value===n.matched.length-1&&Xo(n.params,s.value.params));function a(l={}){return $c(l)?t[se(e.replace)?"replace":"push"](se(e.to)).catch(dn):Promise.resolve()}return{route:s,href:re(()=>s.value.href),isActive:o,isExactActive:r,navigate:a}}const Ic=oe({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:Ji,setup(e,{slots:t}){const n=kn(Ji(e)),{options:s}=Je(Qs),i=re(()=>({[Qi(e.activeClass,s.linkActiveClass,"router-link-active")]:n.isActive,[Qi(e.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&t.default(n);return e.custom?o:Go("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:i.value},o)}}}),Oc=Ic;function $c(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function Nc(e,t){for(const n in t){const s=t[n],i=e[n];if(typeof s=="string"){if(s!==i)return!1}else if(!je(i)||i.length!==s.length||s.some((o,r)=>o!==i[r]))return!1}return!0}function Yi(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Qi=(e,t,n)=>e??t??n,Lc=oe({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const s=Je(Ts),i=re(()=>e.route||s.value),o=Je(Gi,0),r=re(()=>{let u=se(o);const{matched:c}=i.value;let p;for(;(p=c[u])&&!p.components;)u++;return u}),a=re(()=>i.value.matched[r.value]);Nn(Gi,re(()=>r.value+1)),Nn(Tc,a),Nn(Ts,i);const l=K();return ht(()=>[l.value,a.value,e.name],([u,c,p],[v,k,P])=>{c&&(c.instances[p]=u,k&&k!==c&&u&&u===v&&(c.leaveGuards.size||(c.leaveGuards=k.leaveGuards),c.updateGuards.size||(c.updateGuards=k.updateGuards))),u&&c&&(!k||!Gt(c,k)||!v)&&(c.enterCallbacks[p]||[]).forEach(A=>A(u))},{flush:"post"}),()=>{const u=i.value,c=e.name,p=a.value,v=p&&p.components[c];if(!v)return Xi(n.default,{Component:v,route:u});const k=p.props[c],P=k?k===!0?u.params:typeof k=="function"?k(u):k:null,D=Go(v,Q({},P,t,{onVnodeUnmounted:L=>{L.component.isUnmounted&&(p.instances[c]=null)},ref:l}));return Xi(n.default,{Component:D,route:u})||D}}});function Xi(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const Zs=Lc;function Fc(e){const t=fc(e.routes,e),n=e.parseQuery||Rc,s=e.stringifyQuery||Wi,i=e.history,o=rn(),r=rn(),a=rn(),l=Wr(at);let u=at;Ft&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const c=ps.bind(null,y=>""+y),p=ps.bind(null,Mc),v=ps.bind(null,Wn);function k(y,R){let S,I;return er(y)?(S=t.getRecordMatcher(y),I=R):I=y,t.addRoute(I,S)}function P(y){const R=t.getRecordMatcher(y);R&&t.removeRoute(R)}function A(){return t.getRoutes().map(y=>y.record)}function D(y){return!!t.getRecordMatcher(y)}function L(y,R){if(R=Q({},R||l.value),typeof y=="string"){const m=hs(n,y,R.path),_=t.resolve({path:m.path},R),b=i.createHref(m.fullPath);return Q(m,_,{params:v(_.params),hash:Wn(m.hash),redirectedFrom:void 0,href:b})}let S;if("path"in y)S=Q({},y,{path:hs(n,y.path,R.path).path});else{const m=Q({},y.params);for(const _ in m)m[_]==null&&delete m[_];S=Q({},y,{params:p(m)}),R.params=p(R.params)}const I=t.resolve(S,R),Y=y.hash||"";I.params=c(v(I.params));const f=ja(s,Q({},y,{hash:xc(Y),path:I.path})),d=i.createHref(f);return Q({fullPath:f,hash:Y,query:s===Wi?Pc(y.query):y.query||{}},I,{redirectedFrom:void 0,href:d})}function j(y){return typeof y=="string"?hs(n,y,l.value.path):Q({},y)}function G(y,R){if(u!==y)return Jt(8,{from:R,to:y})}function U(y){return Ie(y)}function ue(y){return U(Q(j(y),{replace:!0}))}function ge(y){const R=y.matched[y.matched.length-1];if(R&&R.redirect){const{redirect:S}=R;let I=typeof S=="function"?S(y):S;return typeof I=="string"&&(I=I.includes("?")||I.includes("#")?I=j(I):{path:I},I.params={}),Q({query:y.query,hash:y.hash,params:"path"in I?{}:y.params},I)}}function Ie(y,R){const S=u=L(y),I=l.value,Y=y.state,f=y.force,d=y.replace===!0,m=ge(S);if(m)return Ie(Q(j(m),{state:typeof m=="object"?Q({},Y,m.state):Y,force:f,replace:d}),R||S);const _=S;_.redirectedFrom=R;let b;return!f&&Ua(s,I,S)&&(b=Jt(16,{to:_,from:I}),Ve(I,I,!0,!1)),(b?Promise.resolve(b):De(_,I)).catch(w=>Qe(w)?Qe(w,2)?w:rt(w):J(w,_,I)).then(w=>{if(w){if(Qe(w,2))return Ie(Q({replace:d},j(w.to),{state:typeof w.to=="object"?Q({},Y,w.to.state):Y,force:f}),R||_)}else w=_t(_,I,!0,d,Y);return ot(_,I,w),w})}function Ue(y,R){const S=G(y,R);return S?Promise.reject(S):Promise.resolve()}function At(y){const R=$t.values().next().value;return R&&typeof R.runWithContext=="function"?R.runWithContext(y):y()}function De(y,R){let S;const[I,Y,f]=Hc(y,R);S=ms(I.reverse(),"beforeRouteLeave",y,R);for(const m of I)m.leaveGuards.forEach(_=>{S.push(ft(_,y,R))});const d=Ue.bind(null,y,R);return S.push(d),ve(S).then(()=>{S=[];for(const m of o.list())S.push(ft(m,y,R));return S.push(d),ve(S)}).then(()=>{S=ms(Y,"beforeRouteUpdate",y,R);for(const m of Y)m.updateGuards.forEach(_=>{S.push(ft(_,y,R))});return S.push(d),ve(S)}).then(()=>{S=[];for(const m of f)if(m.beforeEnter)if(je(m.beforeEnter))for(const _ of m.beforeEnter)S.push(ft(_,y,R));else S.push(ft(m.beforeEnter,y,R));return S.push(d),ve(S)}).then(()=>(y.matched.forEach(m=>m.enterCallbacks={}),S=ms(f,"beforeRouteEnter",y,R),S.push(d),ve(S))).then(()=>{S=[];for(const m of r.list())S.push(ft(m,y,R));return S.push(d),ve(S)}).catch(m=>Qe(m,8)?m:Promise.reject(m))}function ot(y,R,S){a.list().forEach(I=>At(()=>I(y,R,S)))}function _t(y,R,S,I,Y){const f=G(y,R);if(f)return f;const d=R===at,m=Ft?history.state:{};S&&(I||d?i.replace(y.fullPath,Q({scroll:d&&m&&m.scroll},Y)):i.push(y.fullPath,Y)),l.value=y,Ve(y,R,S,d),rt()}let Be;function tn(){Be||(Be=i.listen((y,R,S)=>{if(!En.listening)return;const I=L(y),Y=ge(I);if(Y){Ie(Q(Y,{replace:!0}),I).catch(dn);return}u=I;const f=l.value;Ft&&Ga(ji(f.fullPath,S.delta),is()),De(I,f).catch(d=>Qe(d,12)?d:Qe(d,2)?(Ie(d.to,I).then(m=>{Qe(m,20)&&!S.delta&&S.type===yn.pop&&i.go(-1,!1)}).catch(dn),Promise.reject()):(S.delta&&i.go(-S.delta,!1),J(d,I,f))).then(d=>{d=d||_t(I,f,!1),d&&(S.delta&&!Qe(d,8)?i.go(-S.delta,!1):S.type===yn.pop&&Qe(d,20)&&i.go(-1,!1)),ot(I,f,d)}).catch(dn)}))}let It=rn(),fe=rn(),Z;function J(y,R,S){rt(y);const I=fe.list();return I.length?I.forEach(Y=>Y(y,R,S)):console.error(y),Promise.reject(y)}function Ye(){return Z&&l.value!==at?Promise.resolve():new Promise((y,R)=>{It.add([y,R])})}function rt(y){return Z||(Z=!y,tn(),It.list().forEach(([R,S])=>y?S(y):R()),It.reset()),y}function Ve(y,R,S,I){const{scrollBehavior:Y}=e;if(!Ft||!Y)return Promise.resolve();const f=!S&&Ja(ji(y.fullPath,0))||(I||!S)&&history.state&&history.state.scroll||null;return So().then(()=>Y(y,R,f)).then(d=>d&&Wa(d)).catch(d=>J(d,y,R))}const we=y=>i.go(y);let Ot;const $t=new Set,En={currentRoute:l,listening:!0,addRoute:k,removeRoute:P,hasRoute:D,getRoutes:A,resolve:L,options:e,push:U,replace:ue,go:we,back:()=>we(-1),forward:()=>we(1),beforeEach:o.add,beforeResolve:r.add,afterEach:a.add,onError:fe.add,isReady:Ye,install(y){const R=this;y.component("RouterLink",Oc),y.component("RouterView",Zs),y.config.globalProperties.$router=R,Object.defineProperty(y.config.globalProperties,"$route",{enumerable:!0,get:()=>se(l)}),Ft&&!Ot&&l.value===at&&(Ot=!0,U(i.location).catch(Y=>{}));const S={};for(const Y in at)Object.defineProperty(S,Y,{get:()=>l.value[Y],enumerable:!0});y.provide(Qs,R),y.provide(Xs,vo(S)),y.provide(Ts,l);const I=y.unmount;$t.add(y),y.unmount=function(){$t.delete(y),$t.size<1&&(u=at,Be&&Be(),Be=null,l.value=at,Ot=!1,Z=!1),I()}}};function ve(y){return y.reduce((R,S)=>R.then(()=>At(S)),Promise.resolve())}return En}function Hc(e,t){const n=[],s=[],i=[],o=Math.max(t.matched.length,e.matched.length);for(let r=0;rGt(u,a))?s.push(a):n.push(a));const l=e.matched[r];l&&(t.matched.find(u=>Gt(u,l))||i.push(l))}return[n,s,i]}function jc(){return Je(Xs)}const Uc=oe({__name:"App",setup(e){return(t,n)=>(O(),qs(se(Zs)))}}),Dc="/frontend-mini-challenges/vue/assets/logo-r_4QCHBg.png";var Bc={VITE_REACT_APP_URL:"http://localhost:6013/",VITE_NG_APP_URL:"http://localhost:6015/",VITE_PATH:"frontend-mini-challenges",VITE_HOST_URL:"http://localhost:6010/",VITE_CSS_APP_URL:"http://localhost:6011/",VITE_JS_APP_URL:"http://localhost:6012/",VITE_VUE_APP_URL:"http://localhost:6014/",BASE_URL:"/frontend-mini-challenges/vue/",MODE:"production",DEV:!1,PROD:!0,SSR:!1};const Vc=e=>(Me("data-v-74cb20e7"),e=e(),Re(),e),Kc={class:"navbar"},zc={class:"left"},qc=["href"],Wc=["href"],Gc=["src"],Jc=Vc(()=>h("div",{class:"right"},[h("a",{href:"https://github.com/sadanandpai/frontend-mini-challenges/",target:"_blank"},[h("img",{src:"https://cdn-icons-png.flaticon.com/512/25/25231.png",alt:"github repo",class:"github"})])],-1)),Yc=oe({__name:"Navbar",props:{title:{type:String,required:!0}},setup(e){const{VITE_PATH:t,VITE_HOST_URL:n,DEV:s}=Bc,i=s?`${n}${t}/#/vue`:`/${t}/#/vue/`,o=s?`${n}${t}/`:`/${t}/`;return(r,a)=>(O(),F("nav",Kc,[h("div",zc,[h("a",{href:se(i),class:"back"}," < ",8,qc),h("a",{class:"logo",href:se(o)},[h("img",{src:se(Dc),alt:"logo"},null,8,Gc)],8,Wc)]),h("h1",null,ie(e.title),1),Jc]))}}),ce=(e,t)=>{const n=e.__vccOpts||e;for(const[s,i]of t)n[s]=i;return n},Qc=ce(Yc,[["__scopeId","data-v-74cb20e7"]]);var g=(e=>(e.Easy="easy",e.Medium="medium",e.Hard="hard",e))(g||{});const Zi=[g.Easy,g.Medium,g.Hard];function wn(e){return new Map([...e.entries()].sort((t,n)=>{const s=Zi.indexOf(t[1].difficulty),i=Zi.indexOf(n[1].difficulty);return s-i}))}const Xc=new Map([["shapes",{title:"Shapes",link:"shapes/",difficulty:g.Easy,developer:"sadanandpai",tags:[]}]]);wn(Xc);const Zc=new Map([["counter",{title:"Counter",link:"counter/",difficulty:g.Easy,developer:"sadanandpai",youtube:"https://youtu.be/9OIeUtXX3SA",tags:[]}],["bmi-calculator",{title:"BMI Calculator",link:"bmi-calculator/",difficulty:g.Easy,developer:"itsayopapi",tags:[]}],["dice-game",{title:"Dice Game",link:"dice-game/",difficulty:g.Easy,developer:"shivam200446",tags:[],isNew:!0}],["roll-dice",{title:"Roll dice",link:"roll-dice/",difficulty:g.Easy,developer:"babandakale",tags:[]}],["guess-the-number",{title:"Guess the number",link:"guess-the-number/",difficulty:g.Easy,developer:"sadanandpai",youtube:"https://youtu.be/L1Da3GWEGpY",tags:[]}],["string-transformers",{title:"String transformers",link:"string-transformers/",difficulty:g.Easy,developer:"sadanandpai",youtube:"https://youtu.be/crCZEJ6Lmgc",tags:[]}],["file-uploader",{title:"File Uploader",link:"file-uploader/",difficulty:g.Easy,developer:"avtech",tags:[],isNew:!0}],["telephone-formatter",{title:"Telephone formatter",link:"telephone-formatter/",difficulty:g.Easy,developer:"sadanandpai",youtube:"https://youtu.be/E85ldVqAGjw",tags:[]}],["dialog-popup",{title:"Dialog Popup",link:"dialog-popup/",difficulty:g.Easy,developer:"sahankatta",youtube:"https://youtu.be/aIzyEDi6zgU",tags:[]}],["light-dark-mode",{title:"Light & Dark mode",link:"light-dark-mode/",difficulty:g.Easy,developer:"sadanandpai",youtube:"https://youtu.be/hxcGGhjYNFE",tags:[]}],["skeleton-loader",{title:"Skeleton Loader",link:"skeleton-loader/",difficulty:g.Easy,developer:"sahankatta",youtube:"https://youtu.be/FEtTRjq1P6I",tags:[]}],["spinning-loader",{title:"Spinning Loader",link:"spinning-loader/",difficulty:g.Easy,developer:"DhanushNehru",tags:[]}],["music-kit",{title:"Music Kit",link:"music-kit/",difficulty:g.Easy,developer:"shivam200446",tags:[]}],["currency-converter",{title:"Currency Converter",link:"currency-converter/",difficulty:g.Easy,developer:"pranav514",tags:[],isNew:!0}],["accordion",{title:"Accordion",link:"accordion/",difficulty:g.Easy,developer:"rashidtvmr",youtube:"https://youtu.be/03KFXudVaoo",tags:[]}],["navigation-bar",{title:"Navigation Bar",link:"navigation-bar/",difficulty:g.Easy,developer:"christian-lee1398",youtube:"https://youtu.be/urA5ogzG0L0",tags:[]}],["Footer",{title:"Footer",link:"Footer/",difficulty:g.Easy,developer:"AbhineshJha",youtube:"https://youtu.be/FRRlFLfdvBE?si=HWn88BwJGTJvEBUD",tags:[],isNew:!0}],["rock-paper-scissor",{title:"Rock Paper Scissor",link:"rock-paper-scissor/",difficulty:g.Easy,developer:"AckermanLevi1",tags:[],isNew:!0}],["MadStory_generator",{title:"MadStory Generator",link:"MadStory_generator/",difficulty:g.Easy,developer:"hritik",tags:[]}],["multi-typing",{title:"Multi Typing",link:"multi-typing/",difficulty:g.Easy,developer:"noorulaink00",youtube:"https://youtu.be/YCDeOT7DRnI",tags:[]}],["bill-spilt",{title:"Bill Split",link:"bill-spilt/",difficulty:g.Easy,developer:"Sukomal07",youtube:"https://youtu.be/4H2DyrSJeYc",tags:[]}],["simon-game",{title:"Simon game",link:"simon-game/",difficulty:g.Easy,developer:"VishakhaSainani",tags:[],isNew:!0}],["blobmaker",{title:"Blob Maker",link:"blobmaker/",difficulty:g.Easy,developer:"AbhineshJha",tags:[]}],["fitness-tracker",{title:"Fitness Tracker",link:"fitness-tracker/",difficulty:g.Easy,developer:"CrypticRevenger",tags:[]}],["atm-simulator",{title:"ATM Simulator",link:"atm-simulator/",difficulty:g.Easy,developer:"Bratajit-03",tags:[],isNew:!0}],["finance-tracker",{title:"Finance Tracker",link:"finance-tracker/",difficulty:g.Medium,developer:"sujitmahapatra",tags:[]}],["meme-generator",{title:"Meme Generator",link:"meme-generator/",difficulty:g.Medium,developer:"noorulaink00",youtube:"https://youtu.be/LHo9Hi47MTo",tags:[]}],["weather-app",{title:"Weather App",link:"weather-app/",difficulty:g.Medium,developer:"shruti-sen2004",tags:[],isNew:!0}],["toast-popup",{title:"Toast Popup",link:"toast-popup/",difficulty:g.Medium,developer:"sadanandpai",youtube:"https://youtu.be/-p3N5bJXEK8",tags:[]}],["column-table",{title:"Column Table",link:"column-table/",difficulty:g.Medium,developer:"sadanandpai",tags:[]}],["password-strength",{title:"Password Strength",link:"password-strength/",difficulty:g.Medium,developer:"sadanandpai",tags:[]}],["star-rating",{title:"Star Rating",link:"star-rating/",difficulty:g.Medium,developer:"sadanandpai",tags:[]}],["star-rating-display",{title:"Star Rating Display",link:"star-rating-display/",difficulty:g.Medium,developer:"sadanandpai",tags:[]}],["pixel-art",{title:"Pixel Art",link:"pixel-art/",difficulty:g.Medium,developer:"sadanandpai",tags:[]}],["word-counter",{title:"Word Counter (online)",link:"word-counter/",difficulty:g.Medium,developer:"AckermanLevi1",tags:[]}],["color-spotter",{title:"Color Spotter",link:"color-spotter/",difficulty:g.Medium,developer:"sadanandpai",tags:[]}],["todo-list",{title:"Todo List",link:"todo-list/",difficulty:g.Medium,developer:"sadanandpai",tags:[]}],["gradient-generator",{title:"Gradient Generator",link:"gradient-generator/",difficulty:g.Medium,developer:"Sukomal07",tags:[],isNew:!0}],["transfer-list",{title:"Transfer List",link:"transfer-list/",difficulty:g.Medium,developer:"sadanandpai",tags:[]}],["lift-simulation",{title:"Lift Simulation",link:"lift-simulation/",difficulty:g.Medium,developer:"gauravsinhaweb",tags:[],isNew:!0}],["tic-tac-toe",{title:"Tic-Tac-Toe",link:"tic-tac-toe/",difficulty:g.Medium,developer:"sadanandpai",tags:[]}],["chess-board",{title:"Chess board",link:"chess-board/",difficulty:g.Medium,developer:"sadanandpai",tags:[]}],["chips-input",{title:"Chips Input",link:"chips-input/",difficulty:g.Medium,developer:"sadanandpai",tags:[]}],["infinite-scroll",{title:"Infinite Scroll",link:"infinite-scroll/",difficulty:g.Medium,developer:"srijanB7",tags:[]}],["password-generator",{title:"Password Generator",link:"password-generator/",difficulty:g.Medium,developer:"sadanandpai",tags:[]}],["analog-clock",{title:"Analog Clock",link:"analog-clock/",difficulty:g.Medium,developer:"sadanandpai",tags:[]}],["drag-and-drop-puzzle",{title:"Drag and Drop Puzzle",link:"drag-and-drop-puzzle/",difficulty:g.Medium,developer:"noorulaink00",tags:[],isNew:!0}],["basic-calculator",{title:"Basic calculator",link:"basic-calculator/",difficulty:g.Medium,developer:"sadanandpai",tags:[]}],["match-pair",{title:"Match Pair",link:"match-pair/",difficulty:g.Medium,developer:"sadanandpai",tags:[]}],["typing-speed-test",{title:"Typing Speed Test",link:"typing-speed-test/",difficulty:g.Medium,developer:"sadanandpai",tags:[]}],["count-down-timer",{title:"Countdown Timer",link:"count-down-timer/",difficulty:g.Medium,developer:"sadanandpai",tags:[]}],["otp-input",{title:"OTP Input",link:"otp-input/",difficulty:g.Medium,developer:"sadanandpai",tags:[]}],["quiz-app",{title:"Quiz App",link:"quiz-app/",difficulty:g.Medium,developer:"Kei-K23",tags:[],isNew:!0}],["sorting-visualizer",{title:"Sorting Visualizer",link:"sorting-visualizer/",difficulty:g.Medium,developer:"viditagrawal56",tags:[],isNew:!0}],["snake-game",{title:"Snake Game",link:"snake-game/",difficulty:g.Medium,developer:"Kei-K23",tags:[]}],["hangman-game",{title:"Hangman Game",link:"hangman-game/",difficulty:g.Medium,developer:"Kei-K23",tags:[],isNew:!0}],["area-selector",{title:"Area Selector",link:"area-selector/",difficulty:g.Medium,developer:"sadanandpai",tags:[]}],["25-5-clock",{title:"25-5 Clock",link:"25-5-clock/",difficulty:g.Medium,developer:"caesar003",tags:[]}],["carousel",{title:"Carousel",link:"carousel/",difficulty:g.Medium,developer:"sadanandpai",tags:[]}],["calendar",{title:"Calendar",link:"calendar/",difficulty:g.Medium,developer:"sadanandpai",tags:[]}],["progress-bar",{title:"Progress Bar",link:"progress-bar/",difficulty:g.Medium,developer:"sadanandpai",tags:[]}],["movie-info",{title:"Movie-info app (online)",link:"movie-info/",difficulty:g.Medium,developer:"AckermanLevi1",tags:[]}],["quiz-app-with-timer",{title:"Quiz App with Timer",link:"quiz-app-with-timer/",difficulty:g.Medium,developer:"Vivek-GuptaXCode",tags:[]}],["paginator",{title:"Paginator",link:"paginator/",difficulty:g.Hard,developer:"sadanandpai",tags:[]}],["connect-four",{title:"Connect Four",link:"connect-four/",difficulty:g.Hard,developer:"sadanandpai",tags:[]}],["comment-box",{title:"Comment box",link:"comment-box/",difficulty:g.Hard,developer:"sadanandpai",tags:[]}],["json-creator",{title:"JSON Creator",link:"json-creator/",difficulty:g.Hard,developer:"sadanandpai",tags:[]}],["array-methods",{title:"Array methods",link:"array-methods/",difficulty:g.Hard,developer:"sadanandpai",tags:[]}],["type-ahead",{title:"Typeahead / Autocomplete (offline)",link:"type-ahead/",difficulty:g.Hard,developer:"sadanandpai",tags:[]}],["type-ahead-online",{title:"Typeahead / Autocomplete (online)",link:"type-ahead-online/",difficulty:g.Hard,developer:"sadanandpai",tags:[]}]]);wn(Zc);const eu=new Map([["counter",{title:"Counter",link:"counter",difficulty:g.Easy,developer:"sadanandpai",tags:[]}],["programming-languages-multiverse",{title:"Programming Multiverse",link:"programming-languages-multiverse",difficulty:g.Easy,developer:"Sumitwarrior7",tags:[]}],["anagram-checker",{title:"Anagram Checker",link:"anagram-checker",difficulty:g.Easy,developer:"Manmit Tiwade",tags:[]}],["quote-generator",{title:"Quote Generator",link:"quote-generator",difficulty:g.Easy,developer:"viditagrawal56",tags:[]}],["image-gallery",{title:"Image Gallery",link:"image-gallery",difficulty:g.Easy,developer:"Bhushan1019",tags:[]}],["accordion",{title:"Accordion",link:"accordion",developer:"NikhilJHA01",difficulty:g.Easy,tags:[]}],["background-changer",{title:"Background Changer",link:"background-changer",developer:"AdityaSuryawanshi",difficulty:g.Easy,tags:[]}],["light-dark-mode",{title:"Light Dark Mode",link:"light-dark-mode",difficulty:g.Easy,developer:"NikhilJHA01",tags:[]}],["qr-code-generator",{title:"QR generator",link:"qr-code-generator",difficulty:g.Easy,developer:"Krishnakalani111",tags:[]}],["your-sport",{title:"Your Sport",link:"your-sport",difficulty:g.Easy,developer:"Sumitwarrior7",tags:[]}],["table-colorizer",{title:"Table Colorizer",link:"table-colorizer",difficulty:g.Easy,developer:"ravi02205",tags:[]}],["Guess-the-number",{title:"Guess the number",link:"Guess-the-number",difficulty:g.Easy,developer:"deepakrajkranti",tags:[]}],["pagination",{title:"Pagination",link:"pagination",difficulty:g.Easy,developer:"Pancratzia",tags:[]}],["stack",{title:"Stack",link:"stack",difficulty:g.Easy,developer:"kumaratul60",tags:[]}],["word-count",{title:"Word Count",link:"word-count",difficulty:g.Easy,developer:"Sumitwarrior7",tags:[]}],["temperature-converter",{title:"Temperature Converter",link:"temperature-converter",difficulty:g.Easy,developer:"Sumitwarrior7",tags:[]}],["star-Rating",{title:"Star Rating",link:"star-Rating",difficulty:g.Easy,developer:"NikhilJHA01",tags:[]}],["telephone-formatter",{title:"Telephone formatter",link:"telephone-formatter",difficulty:g.Easy,developer:"arpansaha13",tags:[]}],["string-transformers",{title:"String transformers",link:"string-transformers",difficulty:g.Easy,developer:"arpansaha13",tags:[]}],["tic-tac-toe",{title:"Tic Tac Toe",link:"tic-tac-toe",difficulty:g.Easy,developer:"rashidtvmr",tags:[]}],["expense-tracker",{title:"Expense Tracker",link:"expense-tracker",difficulty:g.Easy,developer:"harsh472000",tags:[]}],["25-5-clock",{title:"25-5 Clock",link:"25-5-clock",difficulty:g.Easy,developer:"caesar003",tags:[]}],["bmi-calculator",{title:"BMI Calculator",link:"bmi-calculator",difficulty:g.Easy,developer:"ashikjhonson",tags:[]}],["stepper",{title:"STEPPER",link:"stepper",difficulty:g.Easy,developer:"codechitra",tags:[],isNew:!0}],["calculator",{title:"Calculator",link:"calculator",difficulty:g.Medium,developer:"liza",tags:[]}],["color-mixer",{title:"Color Mixer",link:"color-mixer",difficulty:g.Medium,developer:"Sumitwarrior7",tags:[]}],["traffic-lights",{title:"Traffic Lights",link:"traffic-lights",difficulty:g.Medium,developer:"rishabhm05",tags:[]}],["email-templates",{title:"Email Templates",link:"email-templates",difficulty:g.Medium,developer:"sadanandpai",tags:[]}],["toast-popup",{title:"Toast Popup",link:"toast-popup",difficulty:g.Medium,developer:"deepu0",tags:[]}],["modal-popup",{title:"Modal Popup",link:"modal-popup",difficulty:g.Medium,developer:"rishabhm05",tags:[]}],["password-strength",{title:"Password Strength",link:"password-strength",difficulty:g.Medium,developer:"deepu0",tags:[]}],["timeline",{title:"Timeline",link:"timeline",difficulty:g.Medium,developer:"Vivek7038",tags:[],isNew:!0}],["column-table",{title:"Column Table",link:"column-table",difficulty:g.Medium,developer:"sadanandpai",tags:[]}],["todo-list",{title:"Todo List",link:"todo-list",difficulty:g.Medium,developer:"deepakrajkranti",tags:[]}],["emoji-picker",{title:"Emoji Picker",link:"emoji-picker",difficulty:g.Medium,developer:"jeevaramanathan",tags:[]}],["investment-calculator",{title:"Investment Calculator",link:"investment-calculator",difficulty:g.Medium,developer:"insharahAyyubi",tags:[]}],["stopwatch",{title:"Stopwatch",link:"stopwatch",difficulty:g.Medium,developer:"rashidtvmr",tags:[]}],["progressbar",{title:"Progressbar",link:"progressbar",difficulty:g.Medium,developer:"dhanu084",tags:[]}],["quiz-app",{title:"Quiz App",link:"quiz-app",difficulty:g.Medium,developer:"AbhilashMadi",tags:[]}],["chess-board",{title:"Chess Board",link:"chess-board",difficulty:g.Medium,developer:"AbhilashMadi",tags:[]}],["nested-dropdown",{title:"Nested Dropdown",link:"nested-dropdown",difficulty:g.Medium,developer:"AnkitKTrivedi",tags:[]}],["food-recipe",{title:"Food Recipe",link:"food-recipe",difficulty:g.Medium,developer:"Kei-K23",tags:[]}],["nested-comments",{title:"Nested Comments",link:"nested-comments",difficulty:g.Hard,developer:"Akshay-Omkar",tags:[],isNew:!0}],["password-generator",{title:"Password Generator",link:"password-generator",difficulty:g.Medium,developer:"Kei-K23",tags:[]}],["transfer-list",{title:"Transfer List",link:"transfer-list",difficulty:g.Medium,developer:"DeePaK-HeeRaKaRi",tags:[]}],["infinite-scrolling",{title:"Infinite Scrolling (online)",link:"infinite-scrolling",difficulty:g.Medium,developer:"ayush-dutt-sharma",tags:[]}],["match-pair",{title:"Match Pair",link:"match-pair",difficulty:g.Medium,developer:"sadanandpai",tags:[]}],["word-connect",{title:"Word Connect",link:"word-connect",difficulty:g.Hard,developer:"sadanandpai",tags:[],isNew:!0}],["otp",{title:"OTP",link:"otp",difficulty:g.Hard,developer:"rishabhm05",tags:[]}],["file-explorer",{title:"File Explorer",link:"file-explorer",difficulty:g.Hard,developer:"sadanandpai",tags:[]}],["autocomplete-offline",{title:"Typeahead / Autocomplete (offline)",link:"autocomplete-offline",difficulty:g.Hard,developer:"deepu0",tags:[]}],["autocomplete-online",{title:"Typeahead / Autocomplete (online)",link:"autocomplete-online",difficulty:g.Hard,developer:"deepu0",tags:[]}],["water-balancer",{title:"Water Balancer",link:"water-balancer",difficulty:g.Hard,developer:"sadanandpai",tags:[],isNew:!0}],["inline-options",{title:"Inline Options",link:"inline-options",difficulty:g.Easy,developer:"takshch",tags:[]}],["digital-clock",{title:"Digital Clock",link:"digital-clock",difficulty:g.Medium,developer:"Syamsai-Polavarapu",tags:[],isNew:!0}],["15puzzle",{title:"15 Puzzle",link:"15puzzle",difficulty:g.Medium,developer:"Bateusz",tags:[],isNew:!0}],["feedback-modal",{title:"Feedback Modal",link:"feedback-modal",difficulty:g.Medium,developer:"ssudipta",tags:[]}],["memory-game",{title:"Memory Game",link:"memory-game",difficulty:g.Medium,developer:"Akshat-Gupta",tags:[],isNew:!0}],["chip-input",{title:"Chips Input",link:"chip-input",difficulty:g.Medium,developer:"Akshay-Omkar",tags:[],isNew:!0}],["tabs",{title:"Tab",link:"tabs",difficulty:g.Easy,developer:"Akshay-Omkar",tags:[],isNew:!0}],["drag-drop",{title:"Drag-Drop",link:"drag-drop",difficulty:g.Medium,developer:"Akshay-Omkar",tags:[],isNew:!0}],["circles",{title:"Circles",link:"circles",difficulty:g.Medium,developer:"sadanandpai",tags:[],isNew:!0}],["analog-clock",{title:"Analog Clock",link:"analog-clock",difficulty:g.Medium,developer:"sadanandpai",tags:[],isNew:!0}]]);wn(eu);const tu=new Map([["counter",{title:"Counter",link:"/counter",difficulty:g.Easy,developer:"arpansaha13",tags:[]}],["accordion",{title:"Accordion",link:"/accordion",difficulty:g.Easy,developer:"arpansaha13",tags:[]}],["light-dark-mode",{title:"Light Dark Mode",link:"/light-dark-mode",difficulty:g.Easy,developer:"arpansaha13",tags:[]}],["table-colorizer",{title:"Table Colorizer",link:"/table-colorizer",difficulty:g.Easy,developer:"arpansaha13",tags:[]}],["guess-the-number",{title:"Guess the number",link:"/guess-the-number",difficulty:g.Easy,developer:"arpansaha13",tags:[]}],["pagination",{title:"Pagination",link:"/pagination",difficulty:g.Easy,developer:"arpansaha13",tags:[]}],["stack",{title:"Stack",link:"/stack",difficulty:g.Easy,developer:"jaydadhaniya",tags:[]}],["telephone-formatter",{title:"Telephone formatter",link:"/telephone-formatter",difficulty:g.Easy,developer:"arpansaha13",tags:[]}],["temprature-converter",{title:"Temprature Converter",link:"/temprature-converter",difficulty:g.Easy,developer:"bhumikkalola",tags:[]}],["tic-tac-toe",{title:"Tic Tac Toe",link:"/tic-tac-toe",difficulty:g.Medium,developer:"sadanandpai",tags:[]}],["toast-popup",{title:"Toast Popup",link:"/toast-popup",difficulty:g.Medium,developer:"arpansaha13",tags:[]}],["password-strength",{title:"Password Strength",link:"/password-strength",difficulty:g.Medium,developer:"jaydadhaniya",tags:[]}],["password-generator",{title:"Password Generator",link:"/password-generator",difficulty:g.Medium,developer:"bhumikkalola",tags:[]}],["stopwatch",{title:"Stopwatch",link:"/stopwatch",difficulty:g.Medium,developer:"Shardik04",tags:[]}]]),nu=wn(tu),su=new Map([["counter",{title:"Counter",link:"counter",difficulty:g.Easy,developer:"sadanandpai",tags:[],isNew:!0}],["guess-number",{title:"Guess Number",link:"guess-number",difficulty:g.Easy,developer:"pankajparkar",tags:[],isNew:!0}],["todo-list",{title:"Todo list",link:"todo-list",difficulty:g.Easy,developer:"pankajparkar",tags:[],isNew:!0}],["stack",{title:"Stack",link:"stack",difficulty:g.Easy,developer:"pankajparkar",tags:[],isNew:!0}],["tic-tac-toe",{title:"Tic tac toe",link:"tic-tac-toe",difficulty:g.Easy,developer:"pankajparkar",tags:[],isNew:!0}],["word-count",{title:"Word Count",link:"word-count",difficulty:g.Easy,developer:"pankajparkar",tags:[],isNew:!0}]]);wn(su);const iu={class:"challenge-container"},ou=oe({__name:"challenge",setup(e){const t=jc(),n=K("");return ht(t,()=>{const s=t.path.split("/").filter(Boolean).pop();n.value=nu.get(s).title},{immediate:!0}),(s,i)=>(O(),F(pe,null,[he(Qc,{title:n.value},null,8,["title"]),h("div",iu,[he(se(Zs))])],64))}}),ru=ce(ou,[["__scopeId","data-v-a04c5a36"]]),lu=e=>(Me("data-v-348dfed2"),e=e(),Re(),e),au={class:"main"},cu=lu(()=>h("label",{for:"step"},"Increment/Decrement by",-1)),uu=oe({__name:"index",setup(e){const t=K(0),n=K(1),s=()=>{t.value+=n.value},i=()=>{t.value-=n.value},o=()=>{t.value=0};return(r,a)=>(O(),F("main",au,[h("h2",null,ie(t.value),1),h("section",null,[h("button",{onClick:i,"aria-label":"Decrement"}," - "),h("button",{onClick:s,"aria-label":"Increment"}," + ")]),h("section",null,[cu,de(h("input",{type:"number",id:"step","onUpdate:modelValue":a[0]||(a[0]=l=>n.value=l),title:"Step value"},null,512),[[Te,n.value]])]),h("section",null,[h("button",{onClick:o},"Reset")])]))}}),fu=ce(uu,[["__scopeId","data-v-348dfed2"]]),du=e=>(Me("data-v-d4985809"),e=e(),Re(),e),pu={class:"container text-center"},hu=du(()=>h("div",null,[h("label",{for:"phone"},"+(123) - 4567890")],-1)),mu=oe({__name:"index",setup(e){const t=K(""),n=s=>s.split("").filter(i=>Number.isInteger(+i)&&i!==" ").join("");return ht(t,s=>{const i=n(s);t.value=i.length>3?"+("+i.substring(0,3)+") - "+i.substring(3):i}),(s,i)=>(O(),F("div",pu,[de(h("input",{type:"tel",id:"phone",maxlength:"16",placeholder:"Mobile number",autocomplete:"off",class:"field","onUpdate:modelValue":i[0]||(i[0]=o=>t.value=o)},null,512),[[Te,t.value]]),hu]))}}),gu=ce(mu,[["__scopeId","data-v-d4985809"]]),os=e=>(Me("data-v-5f86141c"),e=e(),Re(),e),vu={class:"app"},_u=os(()=>h("label",{for:"input"},"Guess a number between 0 and 100",-1)),yu={class:"widget"},bu=["disabled"],ku={class:"hint"},wu={key:0},Eu=os(()=>h("b",null,"Less",-1)),xu={key:1},Cu=os(()=>h("b",null,"Higher",-1)),Su={key:2},Mu=os(()=>h("b",null,"right",-1)),Ru=oe({__name:"index",setup(e){const t=()=>Math.round(100*Math.random()),n=K(t()),s=K(!1),i=K(1),o=K("NONE"),r=l=>{l.preventDefault(),i.valuen.value?o.value="HIGH":(o.value="CORRECT",s.value=!0)},a=()=>{n.value=t(),o.value="NONE",s.value=!1,i.value=1};return(l,u)=>(O(),F("div",vu,[h("form",{onSubmit:r},[_u,de(h("input",{id:"input",type:"number",min:"0",max:"100","onUpdate:modelValue":u[0]||(u[0]=c=>i.value=c),placeholder:"Guess a number"},null,512),[[Te,i.value]]),h("div",yu,[h("button",{type:"button",onClick:a}," Reset "),h("button",{type:"submit",disabled:s.value}," Check ",8,bu)])],32),h("div",ku,[o.value==="LOW"?(O(),F("p",wu,[xe(" Your guess is "),Eu,xe(" than the actual number ")])):o.value==="HIGH"?(O(),F("p",xu,[xe(" Your guess is "),Cu,xe(" than the actual number ")])):o.value==="CORRECT"?(O(),F("p",Su,[xe(" Your guess is "),Mu])):et("",!0)])]))}}),Pu=ce(Ru,[["__scopeId","data-v-5f86141c"]]),Tu=e=>(Me("data-v-cbde5945"),e=e(),Re(),e),Au={class:"content"},Iu=Tu(()=>h("p",{class:"text"},"Toggle the theme and see the change!",-1)),Ou={class:"current-theme"},$u=oe({__name:"index",setup(e){const t=K(!1);return(n,s)=>(O(),F("main",{class:nt(t.value?"dark":"")},[h("div",Au,[Iu,h("button",{type:"button",onClick:s[0]||(s[0]=i=>t.value=!t.value)},"Toggle theme"),h("p",Ou,[xe("Current theme: "),h("span",null,ie(t.value?"Dark":"Light"),1)])])],2))}}),Nu=ce($u,[["__scopeId","data-v-cbde5945"]]),ar=e=>(Me("data-v-3f23bc99"),e=e(),Re(),e),Lu={class:"container"},Fu={class:"input-box"},Hu=ar(()=>h("label",{for:"row-number"},"Row",-1)),ju=["max"],Uu=ar(()=>h("label",{for:"column-number"},"Column",-1)),Du=["max"],Bu={class:"table-box"},Vu={class:"row"},Ku=oe({__name:"index",setup(e){const t=K([[{content:1,colored:!1},{content:2,colored:!1},{content:3,colored:!1}],[{content:4,colored:!1},{content:5,colored:!1},{content:6,colored:!1}],[{content:7,colored:!1},{content:8,colored:!1},{content:9,colored:!1}]]),n=K(1),s=K(1);function i(){const a=n.value-1,l=s.value-1;t.value[a][l].colored=!0}function o(){const a=n.value-1,l=s.value-1;t.value[a][l].colored=!1}function r(){for(const a of t.value)for(const l of a)l.colored=!1}return(a,l)=>(O(),F("main",null,[h("div",Lu,[h("div",Fu,[h("div",null,[Hu,de(h("input",{id:"row-number",type:"number",inputmode:"numeric",min:"0",max:t.value.length,"onUpdate:modelValue":l[0]||(l[0]=u=>n.value=u)},null,8,ju),[[Te,n.value]])]),h("div",null,[Uu,de(h("input",{id:"column-number",type:"number",inputmode:"numeric",min:"0",max:t.value[0].length,"onUpdate:modelValue":l[1]||(l[1]=u=>s.value=u)},null,8,Du),[[Te,s.value]])])]),h("div",{class:"button-box"},[h("button",{type:"button",onClick:i},"Color selected cell"),h("button",{type:"button",onClick:o},"Clear selected cell"),h("button",{type:"button",onClick:r},"Clear all cells")]),h("div",Bu,[(O(!0),F(pe,null,Kt(t.value,u=>(O(),F("div",Vu,[(O(!0),F(pe,null,Kt(u,c=>(O(),F("div",{class:nt([c.colored?"colored":"","cell"])},ie(c.content),3))),256))]))),256))])])]))}}),zu=ce(Ku,[["__scopeId","data-v-3f23bc99"]]),qu=e=>(Me("data-v-f7ffadb8"),e=e(),Re(),e),Wu={class:"container"},Gu=qu(()=>h("thead",null,[h("tr",null,[h("th",null,"ID"),h("th",null,"Name")])],-1)),Ju={class:"button-box"},Yu=["disabled"],Qu=["disabled"],kt=5,Xu=oe({__name:"index",setup(e){const t=K([]);for(let l=1;l<=30;l++)t.value.push({id:l,name:"Item "+l});const n=re(()=>t.value.length),s=K(0),i=K(s.value+kt),o=re(()=>t.value.slice(s.value,i.value));function r(){s.value=Math.max(0,s.value-kt),i.value=s.value+kt}function a(){i.value=Math.min(n.value,i.value+kt),s.value=i.value-kt}return(l,u)=>(O(),F("main",null,[h("div",Wu,[h("table",null,[Gu,h("tbody",null,[(O(!0),F(pe,null,Kt(o.value,c=>(O(),F("tr",null,[h("td",null,ie(c.id),1),h("td",null,ie(c.name),1)]))),256))])]),h("div",Ju,[h("button",{type:"button",disabled:s.value===0,onClick:r},"Prev",8,Yu),h("button",{type:"button",disabled:i.value===n.value,onClick:a},"Next",8,Qu)]),h("div",null,[h("p",null,"Showing data from "+ie(s.value)+" to "+ie(i.value),1),h("p",null,"Total: "+ie(n.value),1),h("p",null,"Pages: "+ie(n.value/kt),1),h("p",null,"Rows per page: "+ie(kt))])])]))}}),Zu=ce(Xu,[["__scopeId","data-v-f7ffadb8"]]),ef={class:"accordion"},tf={key:0,class:"panel"},nf=oe({__name:"Accordion",props:{heading:{type:String,required:!0},content:{type:String,required:!0},modelValue:{type:Boolean,default:!1}},emits:["update:model-value"],setup(e,{emit:t}){const n=e,s=t,i=()=>{s("update:model-value",!n.modelValue)};return(o,r)=>(O(),F("div",ef,[h("button",{type:"button",onClick:i},ie(e.heading),1),e.modelValue?(O(),F("div",tf,ie(e.content),1)):et("",!0)]))}}),sf=ce(nf,[["__scopeId","data-v-d917595f"]]),of={class:"container"},rf=oe({__name:"AccordionGroup",props:{data:{type:Array,required:!0},allowMultipleOpen:{type:Boolean,default:!0}},setup(e){const t=e,n=kn(Array(t.data.length).fill(!1)),s=K(null);function i(o,r){!t.allowMultipleOpen&&s.value!==null&&(n[s.value]=!1),s.value=r,n[r]=o}return ht(t,o=>{o.allowMultipleOpen||(n.fill(!1),s.value&&(n[s.value]=!0))}),(o,r)=>(O(),F("div",of,[(O(!0),F(pe,null,Kt(e.data,(a,l)=>(O(),qs(sf,{heading:a.heading,content:a.content,modelValue:n[l],"onUpdate:modelValue":[u=>n[l]=u,u=>i(u,l)]},null,8,["heading","content","modelValue","onUpdate:modelValue"]))),256))]))}}),lf=ce(rf,[["__scopeId","data-v-33bc9952"]]),af=[{heading:"Lorem Ipsum 1",content:"Lorem ipsum dolor sit amet consectetur adipisicing elit. Soluta eligendi incidunt itaque dolor quis facere, vel animi laboriosam provident ipsum totam tenetur nisi iste asperiores ipsa, officia a tempora distinctio?"},{heading:"Lorem Ipsum 2",content:"Lorem ipsum dolor sit amet consectetur adipisicing elit. Dolor autem voluptates quae quaerat perferendis sed velit voluptatibus delectus repudiandae. Laborum nemo et repellat vero. Ut asperiores autem officiis molestiae qui, omnis eveniet repellat alias animi cupiditate itaque. Officiis eos nobis earum nam architecto amet alias officia, at consequatur nostrum ea voluptatum ipsam quod minus magnam vitae dicta magni veritatis sint!"},{heading:"Lorem Ipsum 3",content:"Lorem ipsum dolor sit amet consectetur adipisicing elit. Dolor autem voluptates quae quaerat perferendis sed velit voluptatibus delectus repudiandae. Laborum nemo et repellat vero. Ut asperiores autem officiis molestiae qui, omnis eveniet repellat alias animi cupiditate itaque. Officiis eos nobis earum!"},{heading:"Lorem Ipsum 4",content:"Lorem ipsum dolor sit amet consectetur adipisicing elit. Enim assumenda corporis soluta adipisci eius esse recusandae nulla est possimus earum obcaecati exercitationem cum, vel veniam, saepe debitis porro, necessitatibus deserunt. Cumque possimus aspernatur in architecto cum tenetur ea laboriosam, amet sit. Dolore laborum totam soluta quo numquam repellat obcaecati explicabo esse recusandae quibusdam nihil, ratione eaque, error adipisci amet nisi ullam. Dolore provident quas, ratione aut perspiciatis fugiat facilis ex recusandae asperiores porro suscipit et dicta, pariatur minus ab corrupti! Optio pariatur libero modi dolor quaerat eius officia vel, vero assumenda, minima eveniet aspernatur, maiores id mollitia itaque animi fugiat!"}],cf=e=>(Me("data-v-a7dda4e5"),e=e(),Re(),e),uf={class:"checkbox"},ff=cf(()=>h("label",{for:"allow-multiple-open"},"Allow multiple open accordion",-1)),df=oe({__name:"index",setup(e){const t=K(!0);return(n,s)=>(O(),F("main",null,[h("div",uf,[de(h("input",{id:"allow-multiple-open",type:"checkbox","onUpdate:modelValue":s[0]||(s[0]=i=>t.value=i)},null,512),[[Yo,t.value]]),ff]),he(lf,{data:se(af),allowMultipleOpen:t.value},null,8,["data","allowMultipleOpen"])]))}}),pf=ce(df,[["__scopeId","data-v-a7dda4e5"]]);var Hn=(e=>(e.LEFT="left",e.RIGHT="right",e))(Hn||{}),jn=(e=>(e.TOP="top",e.BOTTOM="bottom",e))(jn||{}),xt=(e=>(e.INFO="info",e.ERROR="error",e.WARNING="warning",e.SUCCESS="success",e))(xt||{});const hf=e=>(Me("data-v-08953fd9"),e=e(),Re(),e),mf=hf(()=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor"},[h("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M6 18L18 6M6 6l12 12"})],-1)),gf=[mf],vf=oe({__name:"toast",props:{vertical:{type:String,required:!0},horizontal:{type:String,required:!0},message:{type:String,required:!0},timeout:{type:Number,default:5e3},type:{type:String,default:xt.INFO},modelValue:{type:Boolean,default:!1}},emits:["update:model-value"],setup(e,{emit:t}){const n=e,s=t,i=Xr(n,"modelValue"),o=K(null),r=()=>{o.value!==null&&(clearTimeout(o.value),o.value=null),s("update:model-value",!1)};return ht(i,a=>{a&&(o.value=setTimeout(r,n.timeout))}),(a,l)=>(O(),F("div",{class:nt(["toast-fixed-screen",e.vertical])},[h("div",{class:nt(["toast-container",e.horizontal])},[de(h("div",{class:nt(["toast",e.type])},[h("p",null,ie(e.message),1),h("button",{type:"button",onClick:r},gf)],2),[[Jo,i.value]])],2)],2))}}),_f=ce(vf,[["__scopeId","data-v-08953fd9"]]),en=e=>(Me("data-v-a768b1a7"),e=e(),Re(),e),yf={class:"container"},bf={class:"field"},kf=en(()=>h("label",{for:"horizontal"},"Horizontal position",-1)),wf=["value"],Ef=["value"],xf={class:"field"},Cf=en(()=>h("label",{for:"vertical"},"Vertical position",-1)),Sf=["value"],Mf=["value"],Rf={class:"field"},Pf=en(()=>h("label",{for:"type"},"Toast type",-1)),Tf=["value"],Af=["value"],If=["value"],Of=["value"],$f={class:"field"},Nf=en(()=>h("label",{for:"message"},"Message",-1)),Lf={class:"field"},Ff=en(()=>h("label",{for:"timeout"},"Toast timeout (in milliseconds)",-1)),Hf=en(()=>h("button",{class:"submit"},"Show toast",-1)),jf=oe({__name:"index",setup(e){const t=K(jn.BOTTOM),n=K(Hn.RIGHT),s=K(xt.INFO),i=K("This is a toast!!"),o=K(!1),r=K(5e3),a=l=>{l.preventDefault(),o.value=!0};return(l,u)=>(O(),F("main",null,[h("div",yf,[h("form",{class:"toast-form",onSubmit:a},[h("div",bf,[kf,de(h("select",{name:"horizontal",id:"horizontal","onUpdate:modelValue":u[0]||(u[0]=c=>n.value=c)},[h("option",{value:se(Hn).LEFT},"Left",8,wf),h("option",{value:se(Hn).RIGHT},"Right",8,Ef)],512),[[fn,n.value]])]),h("div",xf,[Cf,de(h("select",{name:"vertical",id:"vertical","onUpdate:modelValue":u[1]||(u[1]=c=>t.value=c)},[h("option",{value:se(jn).TOP},"Top",8,Sf),h("option",{value:se(jn).BOTTOM},"Bottom",8,Mf)],512),[[fn,t.value]])]),h("div",Rf,[Pf,de(h("select",{name:"type",id:"type","onUpdate:modelValue":u[2]||(u[2]=c=>s.value=c)},[h("option",{value:se(xt).INFO},"Info",8,Tf),h("option",{value:se(xt).SUCCESS},"Success",8,Af),h("option",{value:se(xt).ERROR},"Error",8,If),h("option",{value:se(xt).WARNING},"Warning",8,Of)],512),[[fn,s.value]])]),h("div",$f,[Nf,de(h("input",{type:"text",name:"message",id:"message","onUpdate:modelValue":u[3]||(u[3]=c=>i.value=c),maxlength:"40"},null,512),[[Te,i.value]])]),h("div",Lf,[Ff,de(h("input",{type:"number",inputmode:"numeric",name:"timeout",id:"timeout",max:"30000","onUpdate:modelValue":u[4]||(u[4]=c=>r.value=c)},null,512),[[Te,r.value]])]),Hf],32),he(_f,{modelValue:o.value,"onUpdate:modelValue":u[5]||(u[5]=c=>o.value=c),type:s.value,timeout:r.value,horizontal:n.value,vertical:t.value,message:i.value},null,8,["modelValue","type","timeout","horizontal","vertical","message"])])]))}}),Uf=ce(jf,[["__scopeId","data-v-a768b1a7"]]),Ae=e=>(Me("data-v-50714ff9"),e=e(),Re(),e),Df={class:"app"},Bf=["type"],Vf=Ae(()=>h("label",{for:"showPassword",style:{"margin-left":"5px"}},"Show Password",-1)),Kf={key:0},zf=Ae(()=>h("p",{class:"passStrengthText"},"Very weak",-1)),qf=Ae(()=>h("div",{style:{width:"50px",border:"1px solid red"}},null,-1)),Wf=[zf,qf],Gf={key:1},Jf=Ae(()=>h("p",{class:"passStrengthText"},"Weak",-1)),Yf=Ae(()=>h("div",{style:{width:"100px",border:"1px solid red"}},null,-1)),Qf=[Jf,Yf],Xf={key:2},Zf=Ae(()=>h("p",{class:"passStrengthText"},"Medium",-1)),ed=Ae(()=>h("div",{style:{width:"150px",border:"1px solid orange"}},null,-1)),td=[Zf,ed],nd={key:3},sd=Ae(()=>h("p",{class:"passStrengthText"},"Good",-1)),id=Ae(()=>h("div",{style:{width:"200px",border:"1px solid blue"}},null,-1)),od=[sd,id],rd={key:4},ld=Ae(()=>h("p",{class:"passStrengthText"},"Strong",-1)),ad=Ae(()=>h("div",{style:{width:"250px",border:"1px solid green"}},null,-1)),cd=[ld,ad],ud=Ae(()=>h("h3",{class:"font-size-16 text-left"},"Create a password that:",-1)),fd={key:0,class:"checkMarkIcon"},dd={key:1,class:"crossMarkIcon"},pd={key:0,class:"checkMarkIcon"},hd={key:1,class:"crossMarkIcon"},md={key:0,class:"checkMarkIcon"},gd={key:1,class:"crossMarkIcon"},vd={key:0,class:"checkMarkIcon"},_d={key:1,class:"crossMarkIcon"},yd={key:0,class:"checkMarkIcon"},bd={key:1,class:"crossMarkIcon"},kd=oe({__name:"index",setup(e){const t=K(""),n=K(!1),s=re(()=>t.value.length),i=re(()=>{let c=0;return s.value>=4&&c++,t.value.match(/[a-z]/)&&t.value.match(/[A-Z]/)&&c++,t.value.match(/\d+/)&&c++,t.value.match(/.[!,@,#,$,%,^,&,*,?,_,~,-,(,)]/)&&c++,s.value>=8&&c++,s.value>=12&&c++,c}),o=re(()=>{let c=!1;return s.value>=8&&(c=!0),c}),r=re(()=>{let c=!1;return t.value.match(/[a-z]+/)!=null&&(c=!0),c}),a=re(()=>{let c=!1;return t.value.match(/[A-Z]+/)!=null&&(c=!0),c}),l=re(()=>{let c=!1;return t.value.match(/[0-9]+/)!=null&&(c=!0),c}),u=re(()=>{let c=!1;return t.value.match(/.[!,@,#,$,%,^,&,*,?,_,~,-,(,)]/)&&(c=!0),c});return(c,p)=>(O(),F("div",Df,[h("form",null,[de(h("input",{id:"input","onUpdate:modelValue":p[0]||(p[0]=v=>t.value=v),type:n.value?"text":"password",placeholder:"Enter the password",style:{width:"100%"}},null,8,Bf),[[Ra,t.value]]),h("div",null,[h("input",{type:"checkbox",id:"showPassword",onClick:p[1]||(p[1]=v=>n.value=!n.value)}),Vf])]),de(h("div",null,[i.value<=1?(O(),F("div",Kf,Wf)):i.value==2?(O(),F("div",Gf,Qf)):i.value==3?(O(),F("div",Xf,td)):i.value==4?(O(),F("div",nd,od)):(O(),F("div",rd,cd)),ud,h("ul",{class:"text-left",style:Ze([s.value?{"padding-inline-start":"0px !important"}:{"padding-inline-start":"22px !important"}])},[h("li",{style:Ze([s.value?{"list-style-type":"none"}:""])},[h("div",null,[o.value?(O(),F("span",fd,"✓")):o.value==!1?(O(),F("span",dd,"×")):et("",!0),xe(" contains at least 8 characters ")])],4),h("li",{style:Ze([s.value?{"list-style-type":"none"}:""])},[h("div",null,[r.value?(O(),F("span",pd,"✓")):r.value==!1?(O(),F("span",hd,"×")):et("",!0),xe(" contains at least one lowercase letter (a-z) ")])],4),h("li",{style:Ze([s.value?{"list-style-type":"none"}:""])},[h("div",null,[a.value?(O(),F("span",md,"✓")):a.value==!1?(O(),F("span",gd,"×")):et("",!0),xe(" contains at least one uppercase letter (A-Z) ")])],4),h("li",{style:Ze([s.value?{"list-style-type":"none"}:""])},[h("div",null,[l.value?(O(),F("span",vd,"✓")):l.value==!1?(O(),F("span",_d,"×")):et("",!0),xe(" contains at least one number (0-9) ")])],4),h("li",{style:Ze([s.value?{"list-style-type":"none"}:""])},[h("div",null,[u.value?(O(),F("span",yd,"✓")):u.value==!1?(O(),F("span",bd,"×")):et("",!0),xe(" contains at least one number symbol (!,@,#,$,%,^,&,*,?,_,~,-,(,)) ")])],4)],4)],512),[[Jo,t.value!==""]])]))}}),wd=ce(kd,[["__scopeId","data-v-50714ff9"]]),Ed=e=>(Me("data-v-2e98431e"),e=e(),Re(),e),xd={class:"app"},Cd=Ed(()=>h("hr",null,null,-1)),Sd={class:"text-center"},Md={class:"text-center"},Rd=oe({__name:"index",setup(e){const t=K([]),n=K(""),s=K("");function i(){t.value.length==5?s.value="Stack is full":n.value?(t.value.push(n.value),s.value=`${n.value} is pushed into the Stack`,n.value=""):s.value="Please enter value first"}function o(){t.value.length?(s.value=`${t.value.at(-1)} is popped from the Stack`,t.value.pop()):s.value="Stack is empty"}function r(){t.value.length?s.value=`Last element is ${t.value.at(-1)}`:s.value="Stack is empty"}function a(){t.value.length?s.value="Stack is not empty":s.value="Stack is empty"}function l(){t.value.length==5?s.value="Stack is full":s.value="Stack is not full"}function u(){t.value=[],s.value="Your stack is clear"}return(c,p)=>(O(),F("div",xd,[h("div",null,[de(h("input",{"onUpdate:modelValue":p[0]||(p[0]=v=>n.value=v),placeholder:"Enter the value",style:{width:"100%"}},null,512),[[Te,n.value]]),h("div",{class:"action-buttons"},[h("button",{onClick:i},"Push"),h("button",{onClick:o},"Pop"),h("button",{onClick:r},"Peek"),h("button",{onClick:a},"IsEmpty"),h("button",{onClick:l},"IsFull"),h("button",{onClick:u},"Clear All")])]),Cd,h("h4",Sd,ie(s.value),1),h("ul",Md,[(O(!0),F(pe,null,Kt(t.value,(v,k)=>(O(),F("li",{key:k},ie(v),1))),128))])]))}}),Pd=ce(Rd,[["__scopeId","data-v-2e98431e"]]),Td={class:"app"},Ad={class:"button-group"},Id=oe({__name:"index",setup(e){const t=K(""),n={uppers:"QWERTYUIOPASDFGHJKLZXCVBNM",lowers:"qwertyuiopasdfghjklzxcvbnm",numbers:"1234567890",symbols:"!@#$%^&"},s=(o=8)=>{let r="";r+=i(n.uppers),r+=i(n.lowers),r+=i(n.numbers),r+=i(n.symbols);for(let a=r.length;ao.charAt(Math.floor(Math.random()*o.length));return(o,r)=>(O(),F("div",Td,[h("form",null,[de(h("input",{id:"input","onUpdate:modelValue":r[0]||(r[0]=a=>t.value=a),style:{width:"100%"}},null,512),[[Te,t.value]]),h("div",Ad,[h("button",{onClick:r[1]||(r[1]=Fn(a=>s(8),["prevent"]))},"Generate 08 characters password"),h("button",{onClick:r[2]||(r[2]=Fn(a=>s(10),["prevent"]))},"Generate 10 characters password"),h("button",{onClick:r[3]||(r[3]=Fn(a=>s(16),["prevent"]))},"Generate 16 characters password")])])]))}}),Od=ce(Id,[["__scopeId","data-v-1ca79b9f"]]),$d={class:"stopwatch"},Nd={class:"timer"},Ld={class:"flex-center"},Fd=["disabled"],Hd=["disabled"],jd=["disabled"],Ud=oe({__name:"index",setup(e){const t=K({hour:0,min:0,sec:0}),n=K(0),s=()=>{let{hour:l=0,min:u=0,sec:c=0}={...t.value};c<59?c=c+1:(u=u+1,c=0),u===60&&(u=0,l=l+1),t.value={min:u,hour:l,sec:c}},i=()=>{n.value||(n.value=setInterval(s,1e3))},o=()=>{n.value&&(clearInterval(n.value),n.value=0)},r=()=>{clearInterval(n.value),n.value=0,t.value={hour:0,min:0,sec:0}},a=re(()=>{if(!n)return!0;const{hour:l=0,min:u=0,sec:c=0}=t.value;return!(l>0||u>0||c>0)});return(l,u)=>(O(),F("div",$d,[h("div",Nd,[h("span",null,ie(t.value.hour.toString().padStart(2,"0")),1),xe(" :  "),h("span",null,ie(t.value.min.toString().padStart(2,"0")),1),xe("  :  "),h("span",null,ie(t.value.sec.toString().padStart(2,"0")),1)]),h("div",Ld,[h("button",{onClick:i,disabled:!!n.value},"Start",8,Fd),h("button",{onClick:o,disabled:!n.value},"Stop",8,Hd),h("button",{onClick:r,disabled:a.value},"Reset",8,jd)])]))}}),Dd=ce(Ud,[["__scopeId","data-v-2997fb40"]]),cr=e=>(Me("data-v-90b1aadf"),e=e(),Re(),e),Bd={class:"app"},Vd={class:"input-tags"},Kd=cr(()=>h("option",{value:"celsius"},"Celsius",-1)),zd=cr(()=>h("option",{value:"fahrenheit"},"Fahrenheit",-1)),qd=[Kd,zd],Wd={key:0,class:"text-center"},Gd=oe({__name:"index",setup(e){const t=K("celsius"),n=K(0),s=K(null);function i(){t.value==="celsius"?s.value=(n.value*9/5+32).toFixed(3):s.value=((n.value-32)*5/9).toFixed(3)}function o(){s.value!==null&&(s.value=null)}return(r,a)=>(O(),F("div",Bd,[h("div",null,[h("div",Vd,[de(h("input",{"onUpdate:modelValue":a[0]||(a[0]=l=>n.value=l),placeholder:"Enter the value",type:"number"},null,512),[[Te,n.value,void 0,{number:!0}]]),de(h("select",{"onUpdate:modelValue":a[1]||(a[1]=l=>t.value=l),class:"selected-value",onChange:o},qd,544),[[fn,t.value]]),h("button",{onClick:Fn(i,["prevent"])},"Convert")])]),s.value!==null?(O(),F("h4",Wd," Converted Temperature:"+ie(s.value)+ie(t.value=="celsius"?"°C":"°F"),1)):et("",!0)]))}}),Jd=ce(Gd,[["__scopeId","data-v-90b1aadf"]]);function An(e,t){return e.every(n=>n===t)}function Yd(e,t,{row:n,col:s,diagonal:i,reverseDiagonal:o}){if(!t)return new Set;const r=new Set;return n!==!1&&e.forEach((a,l)=>{r.add(n*e.length+l)}),s!==!1&&e.forEach((a,l)=>{r.add(l*e.length+s)}),i&&e.map((a,l)=>a[l]).forEach((a,l)=>{r.add(l*e.length+l)}),o&&e.map((a,l)=>a[e.length-1-l]).forEach((a,l)=>{r.add(l*e.length+e.length-1-l)}),r}function Qd(e,t){const n=e[t.row][t.col],s=An(e[t.row],n),i=An(e.map(u=>u[t.col]),n),o=t.row===t.col&&An(e.map((u,c)=>u[c]),n),r=t.row+t.col===e.length-1&&An(e.map((u,c)=>u[e.length-1-c]),n),a=s||i||o||r,l=Yd(e,a,{row:s&&t.row,col:i&&t.col,diagonal:o,reverseDiagonal:r});return{winner:a&&n,winningPositions:l}}const Xd={class:"grid-container"},Zd=["onClick"],ep={key:0,class:"winner"},tp={key:1,class:"winner"},ct=3,np=oe({__name:"index",setup(e){let t=0;const n=ct*ct,s=["X","O"];let i=0;const o=K(Array.from(Array(ct),()=>new Array(ct).fill(null)));let r;function a(){return(t+1)%s.length}function l(c){const p=Math.floor(c/ct),v=c%ct;o.value[p][v]||r!=null&&r.winner||i===n||(o.value[p][v]=s[t],r=Qd(o.value,{row:p,col:v}),!r.winner&&(i+=1,t=a()))}function u(){o.value=Array.from(Array(ct),()=>new Array(ct).fill(null)),t=0,i=0,r=null}return(c,p)=>{var v;return O(),F(pe,null,[h("div",Xd,[(O(!0),F(pe,null,Kt(o.value.flat(),(k,P)=>{var A,D;return O(),F("button",{class:nt(["grid-item",{inactive:k||((A=se(r))==null?void 0:A.winner),highlight:(D=se(r))==null?void 0:D.winningPositions.has(P)}]),key:P,onClick:L=>l(P)},ie(k),11,Zd)}),128))]),h("button",{onClick:p[0]||(p[0]=k=>u()),class:"reset"},"Reset"),(v=se(r))!=null&&v.winner?(O(),F("p",ep,ie(s[se(t)])+" wins!",1)):se(i)===n?(O(),F("p",tp,"It's a draw!")):et("",!0)],64)}}}),sp=ce(np,[["__scopeId","data-v-1bdda8e8"]]),ip=[{path:"/",component:ru,children:[{path:"/counter",component:fu},{path:"/telephone-formatter",component:gu},{path:"/guess-the-number",component:Pu},{path:"/light-dark-mode",component:Nu},{path:"/table-colorizer",component:zu},{path:"/pagination",component:Zu},{path:"/accordion",component:pf},{path:"/toast-popup",component:Uf},{path:"/password-strength",component:wd},{path:"/stack",component:Pd},{path:"/password-generator",component:Od},{path:"/stopwatch",component:Dd},{path:"/temprature-converter",component:Jd},{path:"/tic-tac-toe",component:sp}]}],op=Fc({history:ec(),routes:ip}),ur=$a(Uc);ur.use(op);ur.mount("#app"); diff --git a/docs/vue/index.html b/docs/vue/index.html index 739221c25..49d58edcf 100644 --- a/docs/vue/index.html +++ b/docs/vue/index.html @@ -15,7 +15,7 @@ name="description" content="Frontend Mini Challenges is a collection of frontend interview coding challenges" /> - +